From 753de7a0d650554f6e0c7770009d8db5c9494f5a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Sep 2022 01:22:13 +0000 Subject: [PATCH 1/2] Bump @cyclonedx/cyclonedx-library from 1.4.2 to 1.5.1 Bumps [@cyclonedx/cyclonedx-library](https://github.com/CycloneDX/cyclonedx-javascript-library) from 1.4.2 to 1.5.1. - [Release notes](https://github.com/CycloneDX/cyclonedx-javascript-library/releases) - [Changelog](https://github.com/CycloneDX/cyclonedx-javascript-library/blob/main/HISTORY.md) - [Commits](https://github.com/CycloneDX/cyclonedx-javascript-library/compare/v1.4.2...v1.5.1) --- updated-dependencies: - dependency-name: "@cyclonedx/cyclonedx-library" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1d3d675..b222162 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@actions/core": "^1.9.1", "@actions/github": "^5.0.3", - "@cyclonedx/cyclonedx-library": "^1.4.2", + "@cyclonedx/cyclonedx-library": "^1.5.1", "@github/dependency-submission-toolkit": "^1.2.2" }, "devDependencies": { @@ -679,9 +679,9 @@ "dev": true }, "node_modules/@cyclonedx/cyclonedx-library": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@cyclonedx/cyclonedx-library/-/cyclonedx-library-1.4.2.tgz", - "integrity": "sha512-EI/2NNro+aXBUhM7f85DNeG68ki67W4BUqT/C36Losu/WC18prHpJDc545GhIrTqr4pTwMTsVxbTUz4/TacPHw==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@cyclonedx/cyclonedx-library/-/cyclonedx-library-1.5.1.tgz", + "integrity": "sha512-q8wVz62kYcUM4wdJAWKT5T3mSaL06qytRCRClsoaLEqKMd+fagecq4akBbsLRzohKt/xoKTSJosa8jJ5fASkeA==", "dependencies": { "packageurl-js": ">=0.0.6 <0.0.8 || ^1" }, @@ -7587,9 +7587,9 @@ "dev": true }, "@cyclonedx/cyclonedx-library": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@cyclonedx/cyclonedx-library/-/cyclonedx-library-1.4.2.tgz", - "integrity": "sha512-EI/2NNro+aXBUhM7f85DNeG68ki67W4BUqT/C36Losu/WC18prHpJDc545GhIrTqr4pTwMTsVxbTUz4/TacPHw==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@cyclonedx/cyclonedx-library/-/cyclonedx-library-1.5.1.tgz", + "integrity": "sha512-q8wVz62kYcUM4wdJAWKT5T3mSaL06qytRCRClsoaLEqKMd+fagecq4akBbsLRzohKt/xoKTSJosa8jJ5fASkeA==", "requires": { "packageurl-js": ">=0.0.6 <0.0.8 || ^1", "xmlbuilder2": "^3.0.2" diff --git a/package.json b/package.json index eb5508d..e635901 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dependencies": { "@actions/core": "^1.9.1", "@actions/github": "^5.0.3", - "@cyclonedx/cyclonedx-library": "^1.4.2", + "@cyclonedx/cyclonedx-library": "^1.5.1", "@github/dependency-submission-toolkit": "^1.2.2" }, "devDependencies": { From 9b9563c99a7bc88685e72c077777817e43b67b2f Mon Sep 17 00:00:00 2001 From: "David J. M. Karlsen" Date: Mon, 19 Sep 2022 09:48:11 +0200 Subject: [PATCH 2/2] Regen code --- dist/index.js | 143 +++++++++++++++++++++++++++++++--------------- dist/index.js.map | 2 +- 2 files changed, 99 insertions(+), 46 deletions(-) diff --git a/dist/index.js b/dist/index.js index 2984eb0..b9986e5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -55963,7 +55963,7 @@ class Component { this.copyright = op.copyright; this.externalReferences = op.externalReferences ?? new externalReference_1.ExternalReferenceRepository(); this.group = op.group; - this.hashes = op.hashes ?? new hash_1.HashRepository(); + this.hashes = op.hashes ?? new hash_1.HashDictionary(); this.licenses = op.licenses ?? new license_1.LicenseRepository(); this.publisher = op.publisher; this.purl = op.purl; @@ -56092,23 +56092,26 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function ( if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); }; -var _HashRepository_instances, _HashRepository_compareItems; +var _HashDictionary_instances, _HashDictionary_compareItems; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.HashRepository = void 0; -class HashRepository extends Map { +exports.HashRepository = exports.HashDictionary = void 0; +class HashDictionary extends Map { constructor() { super(...arguments); - _HashRepository_instances.add(this); + _HashDictionary_instances.add(this); } sorted() { - return Array.from(this.entries()).sort(__classPrivateFieldGet(this, _HashRepository_instances, "m", _HashRepository_compareItems)); + return Array.from(this.entries()).sort(__classPrivateFieldGet(this, _HashDictionary_instances, "m", _HashDictionary_compareItems)); } } -exports.HashRepository = HashRepository; -_HashRepository_instances = new WeakSet(), _HashRepository_compareItems = function _HashRepository_compareItems([a1, c1], [a2, c2]) { +exports.HashDictionary = HashDictionary; +_HashDictionary_instances = new WeakSet(), _HashDictionary_compareItems = function _HashDictionary_compareItems([a1, c1], [a2, c2]) { return a1.localeCompare(a2) || c1.localeCompare(c2); }; +class HashRepository extends HashDictionary { +} +exports.HashRepository = HashRepository; //# sourceMappingURL=hash.js.map /***/ }), @@ -56553,7 +56556,7 @@ class Tool { this.vendor = op.vendor; this.name = op.name; this.version = op.version; - this.hashes = op.hashes ?? new hash_1.HashRepository(); + this.hashes = op.hashes ?? new hash_1.HashDictionary(); this.externalReferences = op.externalReferences ?? new externalReference_1.ExternalReferenceRepository(); } compare(other) { @@ -57074,7 +57077,7 @@ class BomNormalizer extends Base { serialNumber: data.serialNumber, metadata: this._factory.makeForMetadata().normalize(data.metadata, options), components: data.components.size > 0 - ? this._factory.makeForComponent().normalizeRepository(data.components, options) + ? this._factory.makeForComponent().normalizeIterable(data.components, options) : [], dependencies: this._factory.spec.supportsDependencyGraph ? this._factory.makeForDependencyGraph().normalize(data, options) @@ -57089,10 +57092,10 @@ class MetadataNormalizer extends Base { return { timestamp: data.timestamp?.toISOString(), tools: data.tools.size > 0 - ? this._factory.makeForTool().normalizeRepository(data.tools, options) + ? this._factory.makeForTool().normalizeIterable(data.tools, options) : undefined, authors: data.authors.size > 0 - ? this._factory.makeForOrganizationalContact().normalizeRepository(data.authors, options) + ? this._factory.makeForOrganizationalContact().normalizeIterable(data.authors, options) : undefined, component: data.component === undefined ? undefined @@ -57108,20 +57111,24 @@ class MetadataNormalizer extends Base { } exports.MetadataNormalizer = MetadataNormalizer; class ToolNormalizer extends Base { + constructor() { + super(...arguments); + this.normalizeRepository = this.normalizeIterable; + } normalize(data, options) { return { vendor: data.vendor || undefined, name: data.name || undefined, version: data.version || undefined, hashes: data.hashes.size > 0 - ? this._factory.makeForHash().normalizeRepository(data.hashes, options) + ? this._factory.makeForHash().normalizeIterable(data.hashes, options) : undefined, externalReferences: this._factory.spec.supportsToolReferences && data.externalReferences.size > 0 - ? this._factory.makeForExternalReference().normalizeRepository(data.externalReferences, options) + ? this._factory.makeForExternalReference().normalizeIterable(data.externalReferences, options) : undefined }; } - normalizeRepository(data, options) { + normalizeIterable(data, options) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(t => this.normalize(t, options)); @@ -57129,6 +57136,10 @@ class ToolNormalizer extends Base { } exports.ToolNormalizer = ToolNormalizer; class HashNormalizer extends Base { + constructor() { + super(...arguments); + this.normalizeRepository = this.normalizeIterable; + } normalize([algorithm, content], options) { const spec = this._factory.spec; return spec.supportsHashAlgorithm(algorithm) && spec.supportsHashValue(content) @@ -57138,7 +57149,7 @@ class HashNormalizer extends Base { } : undefined; } - normalizeRepository(data, options) { + normalizeIterable(data, options) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(h => this.normalize(h, options)).filter(notUndefined_1.isNotUndefined); @@ -57146,6 +57157,10 @@ class HashNormalizer extends Base { } exports.HashNormalizer = HashNormalizer; class OrganizationalContactNormalizer extends Base { + constructor() { + super(...arguments); + this.normalizeRepository = this.normalizeIterable; + } normalize(data, options) { return { name: data.name || undefined, @@ -57155,7 +57170,7 @@ class OrganizationalContactNormalizer extends Base { phone: data.phone || undefined }; } - normalizeRepository(data, options) { + normalizeIterable(data, options) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(c => this.normalize(c, options)); @@ -57172,13 +57187,17 @@ class OrganizationalEntityNormalizer extends Base { ? urls : undefined, contact: data.contact.size > 0 - ? this._factory.makeForOrganizationalContact().normalizeRepository(data.contact, options) + ? this._factory.makeForOrganizationalContact().normalizeIterable(data.contact, options) : undefined }; } } exports.OrganizationalEntityNormalizer = OrganizationalEntityNormalizer; class ComponentNormalizer extends Base { + constructor() { + super(...arguments); + this.normalizeRepository = this.normalizeIterable; + } normalize(data, options) { const spec = this._factory.spec; const version = data.version ?? ''; @@ -57199,10 +57218,10 @@ class ComponentNormalizer extends Base { description: data.description || undefined, scope: data.scope, hashes: data.hashes.size > 0 - ? this._factory.makeForHash().normalizeRepository(data.hashes, options) + ? this._factory.makeForHash().normalizeIterable(data.hashes, options) : undefined, licenses: data.licenses.size > 0 - ? this._factory.makeForLicense().normalizeRepository(data.licenses, options) + ? this._factory.makeForLicense().normalizeIterable(data.licenses, options) : undefined, copyright: data.copyright || undefined, cpe: data.cpe || undefined, @@ -57211,18 +57230,18 @@ class ComponentNormalizer extends Base { ? undefined : this._factory.makeForSWID().normalize(data.swid, options), externalReferences: data.externalReferences.size > 0 - ? this._factory.makeForExternalReference().normalizeRepository(data.externalReferences, options) + ? this._factory.makeForExternalReference().normalizeIterable(data.externalReferences, options) : undefined, properties: spec.supportsProperties(data) && data.properties.size > 0 - ? this._factory.makeForProperty().normalizeRepository(data.properties, options) + ? this._factory.makeForProperty().normalizeIterable(data.properties, options) : undefined, components: data.components.size > 0 - ? this.normalizeRepository(data.components, options) + ? this.normalizeIterable(data.components, options) : undefined } : undefined; } - normalizeRepository(data, options) { + normalizeIterable(data, options) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(c => this.normalize(c, options)).filter(notUndefined_1.isNotUndefined); @@ -57233,6 +57252,7 @@ class LicenseNormalizer extends Base { constructor() { super(...arguments); _LicenseNormalizer_instances.add(this); + this.normalizeRepository = this.normalizeIterable; } normalize(data, options) { switch (true) { @@ -57246,7 +57266,7 @@ class LicenseNormalizer extends Base { throw new TypeError('Unexpected LicenseChoice'); } } - normalizeRepository(data, options) { + normalizeIterable(data, options) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(c => this.normalize(c, options)); @@ -57298,6 +57318,10 @@ class SWIDNormalizer extends Base { } exports.SWIDNormalizer = SWIDNormalizer; class ExternalReferenceNormalizer extends Base { + constructor() { + super(...arguments); + this.normalizeRepository = this.normalizeIterable; + } normalize(data, options) { return this._factory.spec.supportsExternalReferenceType(data.type) ? { @@ -57307,7 +57331,7 @@ class ExternalReferenceNormalizer extends Base { } : undefined; } - normalizeRepository(data, options) { + normalizeIterable(data, options) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(r => this.normalize(r, options)).filter(notUndefined_1.isNotUndefined); @@ -57325,13 +57349,17 @@ class AttachmentNormalizer extends Base { } exports.AttachmentNormalizer = AttachmentNormalizer; class PropertyNormalizer extends Base { + constructor() { + super(...arguments); + this.normalizeRepository = this.normalizeIterable; + } normalize(data, options) { return { name: data.name, value: data.value }; } - normalizeRepository(data, options) { + normalizeIterable(data, options) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(p => this.normalize(p, options)); @@ -57715,7 +57743,7 @@ class BomNormalizer extends Base { type: 'element', name: 'components', children: data.components.size > 0 - ? this._factory.makeForComponent().normalizeRepository(data.components, options, 'component') + ? this._factory.makeForComponent().normalizeIterable(data.components, options, 'component') : undefined }; return { @@ -57753,7 +57781,7 @@ class MetadataNormalizer extends Base { ? { type: 'element', name: 'tools', - children: this._factory.makeForTool().normalizeRepository(data.tools, options, 'tool') + children: this._factory.makeForTool().normalizeIterable(data.tools, options, 'tool') } : undefined; const authors = data.authors.size > 0 @@ -57761,7 +57789,7 @@ class MetadataNormalizer extends Base { type: 'element', name: 'authors', children: this._factory.makeForOrganizationalContact() - .normalizeRepository(data.authors, options, 'author') + .normalizeIterable(data.authors, options, 'author') } : undefined; return { @@ -57786,12 +57814,16 @@ class MetadataNormalizer extends Base { } exports.MetadataNormalizer = MetadataNormalizer; class ToolNormalizer extends Base { + constructor() { + super(...arguments); + this.normalizeRepository = this.normalizeIterable; + } normalize(data, options, elementName) { const hashes = data.hashes.size > 0 ? { type: 'element', name: 'hashes', - children: this._factory.makeForHash().normalizeRepository(data.hashes, options, 'hash') + children: this._factory.makeForHash().normalizeIterable(data.hashes, options, 'hash') } : undefined; const externalReferences = this._factory.spec.supportsToolReferences && data.externalReferences.size > 0 @@ -57799,7 +57831,7 @@ class ToolNormalizer extends Base { type: 'element', name: 'externalReferences', children: this._factory.makeForExternalReference() - .normalizeRepository(data.externalReferences, options, 'reference') + .normalizeIterable(data.externalReferences, options, 'reference') } : undefined; return { @@ -57814,7 +57846,7 @@ class ToolNormalizer extends Base { ].filter(notUndefined_1.isNotUndefined) }; } - normalizeRepository(data, options, elementName) { + normalizeIterable(data, options, elementName) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(t => this.normalize(t, options, elementName)); @@ -57822,6 +57854,10 @@ class ToolNormalizer extends Base { } exports.ToolNormalizer = ToolNormalizer; class HashNormalizer extends Base { + constructor() { + super(...arguments); + this.normalizeRepository = this.normalizeIterable; + } normalize([algorithm, content], options, elementName) { const spec = this._factory.spec; return spec.supportsHashAlgorithm(algorithm) && spec.supportsHashValue(content) @@ -57833,7 +57869,7 @@ class HashNormalizer extends Base { } : undefined; } - normalizeRepository(data, options, elementName) { + normalizeIterable(data, options, elementName) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(h => this.normalize(h, options, elementName)).filter(notUndefined_1.isNotUndefined); @@ -57841,6 +57877,10 @@ class HashNormalizer extends Base { } exports.HashNormalizer = HashNormalizer; class OrganizationalContactNormalizer extends Base { + constructor() { + super(...arguments); + this.normalizeRepository = this.normalizeIterable; + } normalize(data, options, elementName) { return { type: 'element', @@ -57852,7 +57892,7 @@ class OrganizationalContactNormalizer extends Base { ].filter(notUndefined_1.isNotUndefined) }; } - normalizeRepository(data, options, elementName) { + normalizeIterable(data, options, elementName) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(c => this.normalize(c, options, elementName)); @@ -57868,13 +57908,17 @@ class OrganizationalEntityNormalizer extends Base { makeOptionalTextElement(data.name, 'name'), ...makeTextElementIter(data.url, options, 'url') .filter(({ children: u }) => types_1.XmlSchema.isAnyURI(u)), - ...this._factory.makeForOrganizationalContact().normalizeRepository(data.contact, options, 'contact') + ...this._factory.makeForOrganizationalContact().normalizeIterable(data.contact, options, 'contact') ].filter(notUndefined_1.isNotUndefined) }; } } exports.OrganizationalEntityNormalizer = OrganizationalEntityNormalizer; class ComponentNormalizer extends Base { + constructor() { + super(...arguments); + this.normalizeRepository = this.normalizeIterable; + } normalize(data, options, elementName) { const spec = this._factory.spec; if (!spec.supportsComponentType(data.type)) { @@ -57890,14 +57934,14 @@ class ComponentNormalizer extends Base { ? { type: 'element', name: 'hashes', - children: this._factory.makeForHash().normalizeRepository(data.hashes, options, 'hash') + children: this._factory.makeForHash().normalizeIterable(data.hashes, options, 'hash') } : undefined; const licenses = data.licenses.size > 0 ? { type: 'element', name: 'licenses', - children: this._factory.makeForLicense().normalizeRepository(data.licenses, options) + children: this._factory.makeForLicense().normalizeIterable(data.licenses, options) } : undefined; const swid = data.swid === undefined @@ -57908,21 +57952,21 @@ class ComponentNormalizer extends Base { type: 'element', name: 'externalReferences', children: this._factory.makeForExternalReference() - .normalizeRepository(data.externalReferences, options, 'reference') + .normalizeIterable(data.externalReferences, options, 'reference') } : undefined; const properties = spec.supportsProperties(data) && data.properties.size > 0 ? { type: 'element', name: 'properties', - children: this._factory.makeForProperty().normalizeRepository(data.properties, options, 'property') + children: this._factory.makeForProperty().normalizeIterable(data.properties, options, 'property') } : undefined; const components = data.components.size > 0 ? { type: 'element', name: 'components', - children: this.normalizeRepository(data.components, options, 'component') + children: this.normalizeIterable(data.components, options, 'component') } : undefined; return { @@ -57953,7 +57997,7 @@ class ComponentNormalizer extends Base { ].filter(notUndefined_1.isNotUndefined) }; } - normalizeRepository(data, options, elementName) { + normalizeIterable(data, options, elementName) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(c => this.normalize(c, options, elementName)).filter(notUndefined_1.isNotUndefined); @@ -57964,6 +58008,7 @@ class LicenseNormalizer extends Base { constructor() { super(...arguments); _LicenseNormalizer_instances.add(this); + this.normalizeRepository = this.normalizeIterable; } normalize(data, options) { switch (true) { @@ -57977,7 +58022,7 @@ class LicenseNormalizer extends Base { throw new TypeError('Unexpected LicenseChoice'); } } - normalizeRepository(data, options) { + normalizeIterable(data, options) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(c => this.normalize(c, options)); @@ -58045,6 +58090,10 @@ class SWIDNormalizer extends Base { } exports.SWIDNormalizer = SWIDNormalizer; class ExternalReferenceNormalizer extends Base { + constructor() { + super(...arguments); + this.normalizeRepository = this.normalizeIterable; + } normalize(data, options, elementName) { const url = data.url.toString(); return this._factory.spec.supportsExternalReferenceType(data.type) && @@ -58062,7 +58111,7 @@ class ExternalReferenceNormalizer extends Base { } : undefined; } - normalizeRepository(data, options, elementName) { + normalizeIterable(data, options, elementName) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(r => this.normalize(r, options, elementName)).filter(notUndefined_1.isNotUndefined); @@ -58084,6 +58133,10 @@ class AttachmentNormalizer extends Base { } exports.AttachmentNormalizer = AttachmentNormalizer; class PropertyNormalizer extends Base { + constructor() { + super(...arguments); + this.normalizeRepository = this.normalizeIterable; + } normalize(data, options, elementName) { return { type: 'element', @@ -58094,7 +58147,7 @@ class PropertyNormalizer extends Base { children: data.value }; } - normalizeRepository(data, options, elementName) { + normalizeIterable(data, options, elementName) { return (options.sortLists ?? false ? data.sorted() : Array.from(data)).map(p => this.normalize(p, options, elementName)); diff --git a/dist/index.js.map b/dist/index.js.map index 8b63070..2fde91e 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACxJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5lBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjkSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACxIA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC/KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACrYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC/kCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/lBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACl+BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACppCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9hBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5zBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACp1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1VA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChiBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzsBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC13BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxoBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/fA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACt8CA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACldA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrsFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACtbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChqDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACvMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrLA;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACvQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7wBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACx0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjkDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACleA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACj1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3mDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5DA;;;;;;;;AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5KA;;;;;;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvFA;;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChcA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/kBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;AC3BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA;;;;;;;;;;;;;;;;;;;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AC7BA;AACA;;;;AEDA;AACA;AACA;AACA","sources":["../webpack://typescript-action/./lib/main.js","../webpack://typescript-action/./node_modules/@actions/core/lib/command.js","../webpack://typescript-action/./node_modules/@actions/core/lib/core.js","../webpack://typescript-action/./node_modules/@actions/core/lib/file-command.js","../webpack://typescript-action/./node_modules/@actions/core/lib/oidc-utils.js","../webpack://typescript-action/./node_modules/@actions/core/lib/path-utils.js","../webpack://typescript-action/./node_modules/@actions/core/lib/summary.js","../webpack://typescript-action/./node_modules/@actions/core/lib/utils.js","../webpack://typescript-action/./node_modules/@actions/github/lib/context.js","../webpack://typescript-action/./node_modules/@actions/github/lib/github.js","../webpack://typescript-action/./node_modules/@actions/github/lib/internal/utils.js","../webpack://typescript-action/./node_modules/@actions/github/lib/utils.js","../webpack://typescript-action/./node_modules/@actions/http-client/lib/auth.js","../webpack://typescript-action/./node_modules/@actions/http-client/lib/index.js","../webpack://typescript-action/./node_modules/@actions/http-client/lib/proxy.js","../webpack://typescript-action/./node_modules/@github/dependency-submission-toolkit/dist/index.js","../webpack://typescript-action/./node_modules/@github/dependency-submission-toolkit/dist/snapshot.js","../webpack://typescript-action/./node_modules/@github/dependency-submission-toolkit/dist/sourcemap-register.js","../webpack://typescript-action/./node_modules/@octokit/auth-token/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/core/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/endpoint/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/graphql/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/plugin-paginate-rest/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/plugin-request-log/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/request-error/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/request/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/rest/dist-node/index.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/index.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/AttrImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/CommentImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DOMException.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DOMImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/ElementImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/EventImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NodeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/RangeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/TextImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/WindowImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/index.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/interfaces.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/index.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/parser/index.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/parser/interfaces.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/serializer/index.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/util/Cast.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/util/EmptySet.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/util/Guard.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/util/index.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Base64.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Byte.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/ByteSequence.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/CodePoints.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/JSON.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/List.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Map.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Namespace.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Queue.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Set.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Stack.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/String.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/index.js","../webpack://typescript-action/./node_modules/@oozcitak/url/lib/URLAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/url/lib/interfaces.js","../webpack://typescript-action/./node_modules/@oozcitak/util/lib/CompareCache.js","../webpack://typescript-action/./node_modules/@oozcitak/util/lib/FixedSizeSet.js","../webpack://typescript-action/./node_modules/@oozcitak/util/lib/Lazy.js","../webpack://typescript-action/./node_modules/@oozcitak/util/lib/ObjectCache.js","../webpack://typescript-action/./node_modules/@oozcitak/util/lib/StringWalker.js","../webpack://typescript-action/./node_modules/@oozcitak/util/lib/index.js","../webpack://typescript-action/./node_modules/before-after-hook/index.js","../webpack://typescript-action/./node_modules/before-after-hook/lib/add.js","../webpack://typescript-action/./node_modules/before-after-hook/lib/register.js","../webpack://typescript-action/./node_modules/before-after-hook/lib/remove.js","../webpack://typescript-action/./node_modules/deprecation/dist-node/index.js","../webpack://typescript-action/./node_modules/is-plain-object/dist/is-plain-object.js","../webpack://typescript-action/./node_modules/node-fetch/lib/index.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/tr46/index.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/URL-impl.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/public-api.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/utils.js","../webpack://typescript-action/./node_modules/once/once.js","../webpack://typescript-action/./node_modules/packageurl-js/index.js","../webpack://typescript-action/./node_modules/packageurl-js/src/package-url.js","../webpack://typescript-action/./node_modules/tunnel/index.js","../webpack://typescript-action/./node_modules/tunnel/lib/tunnel.js","../webpack://typescript-action/./node_modules/universal-user-agent/dist-node/index.js","../webpack://typescript-action/./node_modules/uuid/dist/index.js","../webpack://typescript-action/./node_modules/uuid/dist/md5.js","../webpack://typescript-action/./node_modules/uuid/dist/nil.js","../webpack://typescript-action/./node_modules/uuid/dist/parse.js","../webpack://typescript-action/./node_modules/uuid/dist/regex.js","../webpack://typescript-action/./node_modules/uuid/dist/rng.js","../webpack://typescript-action/./node_modules/uuid/dist/sha1.js","../webpack://typescript-action/./node_modules/uuid/dist/stringify.js","../webpack://typescript-action/./node_modules/uuid/dist/v1.js","../webpack://typescript-action/./node_modules/uuid/dist/v3.js","../webpack://typescript-action/./node_modules/uuid/dist/v35.js","../webpack://typescript-action/./node_modules/uuid/dist/v4.js","../webpack://typescript-action/./node_modules/uuid/dist/v5.js","../webpack://typescript-action/./node_modules/uuid/dist/validate.js","../webpack://typescript-action/./node_modules/uuid/dist/version.js","../webpack://typescript-action/./node_modules/wrappy/wrappy.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/builder/dom.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/builder/index.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/index.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/interfaces.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/readers/BaseReader.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/readers/JSONReader.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/readers/ObjectReader.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/readers/XMLReader.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/readers/YAMLReader.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/readers/index.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/BaseWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/JSONWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/MapWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/ObjectWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/XMLWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/YAMLWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/index.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/index.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/common.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/dumper.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/exception.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/loader.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/mark.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/core.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_full.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/json.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/binary.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/bool.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/float.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/int.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/function.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/map.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/merge.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/null.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/omap.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/pairs.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/seq.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/set.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/str.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/timestamp.js","../webpack://typescript-action/./node_modules/@vercel/ncc/dist/ncc/@@notfound.js","../webpack://typescript-action/external node-commonjs \"assert\"","../webpack://typescript-action/external node-commonjs \"crypto\"","../webpack://typescript-action/external node-commonjs \"events\"","../webpack://typescript-action/external node-commonjs \"fs\"","../webpack://typescript-action/external node-commonjs \"http\"","../webpack://typescript-action/external node-commonjs \"https\"","../webpack://typescript-action/external node-commonjs \"net\"","../webpack://typescript-action/external node-commonjs \"os\"","../webpack://typescript-action/external node-commonjs \"path\"","../webpack://typescript-action/external node-commonjs \"punycode\"","../webpack://typescript-action/external node-commonjs \"stream\"","../webpack://typescript-action/external node-commonjs \"tls\"","../webpack://typescript-action/external node-commonjs \"url\"","../webpack://typescript-action/external node-commonjs \"util\"","../webpack://typescript-action/external node-commonjs \"zlib\"","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/builders/fromNodePackageJson.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/builders/index.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/enums/attachmentEncoding.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/enums/componentScope.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/enums/componentType.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/enums/externalReferenceType.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/enums/hashAlogorithm.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/enums/index.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/factories/fromNodePackageJson.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/factories/index.common.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/factories/index.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/factories/license.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/factories/packageUrl.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/helpers/notUndefined.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/helpers/packageJson.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/helpers/packageUrl.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/helpers/sortableSet.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/helpers/tree.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/index.common.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/index.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/attachment.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/bom.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/bomRef.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/component.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/externalReference.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/hash.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/index.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/license.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/metadata.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/organizationalContact.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/organizationalEntity.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/property.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/swid.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/tool.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/resources.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/baseSerializer.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/bomRefDiscriminator.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/index.common.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/index.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/json/index.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/json/normalize.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/json/types.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/jsonSerializer.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/types.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/xml/index.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/xml/normalize.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/xml/types.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/xmlBaseSerializer.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/xmlSerializer.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/spdx.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/spec.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/types/cpe.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/types/index.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/types/integer.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/types/mimeType.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/types/urn.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/libs/universal-node-xml/index.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/libs/universal-node-xml/stringifiers/helpers.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/libs/universal-node-xml/stringifiers/xmlbuilder2.js","../webpack://typescript-action/webpack/bootstrap","../webpack://typescript-action/webpack/runtime/compat","../webpack://typescript-action/webpack/before-startup","../webpack://typescript-action/webpack/startup","../webpack://typescript-action/webpack/after-startup"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.parseSbomFile = exports.map = exports.process = exports.run = exports.SBom = void 0;\nconst core = __importStar(require(\"@actions/core\"));\nconst github = __importStar(require(\"@actions/github\"));\nconst cdx = __importStar(require(\"@cyclonedx/cyclonedx-library\"));\nconst fs = __importStar(require(\"fs\"));\nconst snapshot_1 = require(\"@github/dependency-submission-toolkit/dist/snapshot\");\nconst dependency_submission_toolkit_1 = require(\"@github/dependency-submission-toolkit\");\nclass SBom extends cdx.Models.Bom {\n constructor() {\n super();\n this.dependencies = [];\n }\n}\nexports.SBom = SBom;\nfunction run() {\n return __awaiter(this, void 0, void 0, function* () {\n const sbomFiles = core.getMultilineInput('sbom-files');\n if (sbomFiles === null || sbomFiles === void 0 ? void 0 : sbomFiles.length) {\n for (const sbomFile of sbomFiles) {\n try {\n core.debug(`Processing ${sbomFile} ...`);\n yield process(sbomFile);\n }\n catch (error) {\n if (error instanceof Error)\n core.setFailed(error.message);\n }\n }\n }\n else {\n core.warning('No SBOM files to process');\n }\n });\n}\nexports.run = run;\nfunction process(sbomFile) {\n return __awaiter(this, void 0, void 0, function* () {\n const snapshot = map(parseSbomFile(sbomFile), sbomFile);\n try {\n yield (0, dependency_submission_toolkit_1.submitSnapshot)(snapshot, github === null || github === void 0 ? void 0 : github.context);\n }\n catch (error) {\n if (error instanceof Error)\n core.error(error.message);\n throw error;\n }\n });\n}\nexports.process = process;\nfunction map(sbom, sbomFilename) {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;\n //const bom: SBom = sbom as SBom\n const detectors = Array.from(sbom.metadata.tools.values()).map(tool => {\n var _a, _b, _c;\n return {\n name: (_a = tool.name) !== null && _a !== void 0 ? _a : 'unknown',\n version: (_b = tool.version) !== null && _b !== void 0 ? _b : 'unknown',\n url: ((_c = tool.externalReferences) === null || _c === void 0 ? void 0 : _c.values[0].url) || 'https://'\n };\n });\n const detector = (_a = detectors.pop()) !== null && _a !== void 0 ? _a : { name: '', url: '', version: '' };\n let scanned = (_b = sbom.metadata) === null || _b === void 0 ? void 0 : _b.timestamp;\n if (typeof sbom.metadata.timestamp === 'string') {\n scanned = new Date(sbom.metadata.timestamp);\n }\n const job = (0, snapshot_1.jobFromContext)(github.context);\n job.correlator += sbomFilename;\n const snap = new dependency_submission_toolkit_1.Snapshot(detector, github === null || github === void 0 ? void 0 : github.context, job, scanned);\n const buildTarget = new dependency_submission_toolkit_1.BuildTarget(sbomFilename ||\n ((_e = (_d = (_c = sbom.metadata) === null || _c === void 0 ? void 0 : _c.component) === null || _d === void 0 ? void 0 : _d.swid) === null || _e === void 0 ? void 0 : _e.version) ||\n ((_g = (_f = sbom.metadata) === null || _f === void 0 ? void 0 : _f.component) === null || _g === void 0 ? void 0 : _g.version) ||\n 'someName');\n snap.addManifest(buildTarget);\n const packageCache = new dependency_submission_toolkit_1.PackageCache();\n const deps = dependencyForPackage((_j = (_h = sbom.metadata.component) === null || _h === void 0 ? void 0 : _h.purl) === null || _j === void 0 ? void 0 : _j.toString(), sbom.dependencies);\n if (!deps.length && ((_k = sbom.dependencies) === null || _k === void 0 ? void 0 : _k.length) && sbom.components) {\n // main package url has not defined explicit dependencies in SBOM, add all components\n for (const c of sbom.components) {\n if (c.purl)\n deps.push((_l = c.purl) === null || _l === void 0 ? void 0 : _l.toString());\n }\n }\n for (const dep of deps) {\n const pkg = packageCache.lookupPackage(dep);\n pkg\n ? buildTarget.addDirectDependency(pkg)\n : buildTarget.addDirectDependency(packageCache.package(dep));\n addIndirectDeps(dep, sbom, packageCache, buildTarget);\n }\n return snap;\n}\nexports.map = map;\nfunction addIndirectDeps(dep, sbom, packageCache, buildTarget) {\n const indirectDeps = dependencyForPackage(dep, sbom.dependencies);\n for (const indirectDep of indirectDeps) {\n const inpkg = packageCache.lookupPackage(indirectDep);\n inpkg\n ? buildTarget.addIndirectDependency(inpkg)\n : buildTarget.addIndirectDependency(packageCache.package(indirectDep));\n addIndirectDeps(indirectDep, sbom, packageCache, buildTarget);\n }\n}\n/**\n * Find dependencies for a package url\n * @param purl Package URL\n * @param deps Dependencies as listed in SBOM\n * @returns List of package URLs, empty if no dependencies\n */\nfunction dependencyForPackage(purl, deps) {\n if (!purl)\n return [];\n const componentDeps = deps === null || deps === void 0 ? void 0 : deps.find(c => c.ref.toString() === purl);\n return (componentDeps === null || componentDeps === void 0 ? void 0 : componentDeps.dependsOn) || [];\n}\nfunction parseSbomFile(sbomFile) {\n return JSON.parse(fs.readFileSync(sbomFile, 'utf8'));\n}\nexports.parseSbomFile = parseSbomFile;\nrun();\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issue = exports.issueCommand = void 0;\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nexports.issueCommand = issueCommand;\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nexports.issue = issue;\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;\nconst command_1 = require(\"./command\");\nconst file_command_1 = require(\"./file-command\");\nconst utils_1 = require(\"./utils\");\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst uuid_1 = require(\"uuid\");\nconst oidc_utils_1 = require(\"./oidc-utils\");\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = utils_1.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n const delimiter = `ghadelimiter_${uuid_1.v4()}`;\n // These should realistically never happen, but just in case someone finds a way to exploit uuid generation let's not allow keys or values that contain the delimiter.\n if (name.includes(delimiter)) {\n throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n }\n if (convertedVal.includes(delimiter)) {\n throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n }\n const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;\n file_command_1.issueCommand('ENV', commandValue);\n }\n else {\n command_1.issueCommand('set-env', { name }, convertedVal);\n }\n}\nexports.exportVariable = exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */\nfunction setSecret(secret) {\n command_1.issueCommand('add-mask', {}, secret);\n}\nexports.setSecret = setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n file_command_1.issueCommand('PATH', inputPath);\n }\n else {\n command_1.issueCommand('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\nexports.addPath = addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\nexports.getInput = getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n return inputs;\n}\nexports.getMultilineInput = getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nexports.getBooleanInput = getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n process.stdout.write(os.EOL);\n command_1.issueCommand('set-output', { name }, value);\n}\nexports.setOutput = setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n command_1.issue('echo', enabled ? 'on' : 'off');\n}\nexports.setCommandEcho = setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\nexports.setFailed = setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\nexports.isDebug = isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n command_1.issueCommand('debug', {}, message);\n}\nexports.debug = debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.error = error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.warning = warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.notice = notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\nexports.info = info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n command_1.issue('group', name);\n}\nexports.startGroup = startGroup;\n/**\n * End an output group.\n */\nfunction endGroup() {\n command_1.issue('endgroup');\n}\nexports.endGroup = endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\nexports.group = group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n command_1.issueCommand('save-state', { name }, value);\n}\nexports.saveState = saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nexports.getState = getState;\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\nexports.getIDToken = getIDToken;\n/**\n * Summary exports\n */\nvar summary_1 = require(\"./summary\");\nObject.defineProperty(exports, \"summary\", { enumerable: true, get: function () { return summary_1.summary; } });\n/**\n * @deprecated use core.summary\n */\nvar summary_2 = require(\"./summary\");\nObject.defineProperty(exports, \"markdownSummary\", { enumerable: true, get: function () { return summary_2.markdownSummary; } });\n/**\n * Path exports\n */\nvar path_utils_1 = require(\"./path-utils\");\nObject.defineProperty(exports, \"toPosixPath\", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } });\nObject.defineProperty(exports, \"toWin32Path\", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } });\nObject.defineProperty(exports, \"toPlatformPath\", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } });\n//# sourceMappingURL=core.js.map","\"use strict\";\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issueCommand = void 0;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst fs = __importStar(require(\"fs\"));\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\nfunction issueCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nexports.issueCommand = issueCommand;\n//# sourceMappingURL=file-command.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OidcClient = void 0;\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst core_1 = require(\"./core\");\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.result.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n core_1.debug(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n core_1.setSecret(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;\nconst path = __importStar(require(\"path\"));\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */\nfunction toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, '/');\n}\nexports.toPosixPath = toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */\nfunction toWin32Path(pth) {\n return pth.replace(/[/]/g, '\\\\');\n}\nexports.toWin32Path = toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */\nfunction toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, path.sep);\n}\nexports.toPlatformPath = toPlatformPath;\n//# sourceMappingURL=path-utils.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;\nconst os_1 = require(\"os\");\nconst fs_1 = require(\"fs\");\nconst { access, appendFile, writeFile } = fs_1.promises;\nexports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';\nexports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';\nclass Summary {\n constructor() {\n this._buffer = '';\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */\n filePath() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._filePath) {\n return this._filePath;\n }\n const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) {\n throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n }\n try {\n yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);\n }\n catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */\n wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs)\n .map(([key, value]) => ` ${key}=\"${value}\"`)\n .join('');\n if (!content) {\n return `<${tag}${htmlAttrs}>`;\n }\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */\n write(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? writeFile : appendFile;\n yield writeFunc(filePath, this._buffer, { encoding: 'utf8' });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */\n clear() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.emptyBuffer().write({ overwrite: true });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */\n stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */\n isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */\n emptyBuffer() {\n this._buffer = '';\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */\n addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */\n addEOL() {\n return this.addRaw(os_1.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */\n addCodeBlock(code, lang) {\n const attrs = Object.assign({}, (lang && { lang }));\n const element = this.wrap('pre', this.wrap('code', code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */\n addList(items, ordered = false) {\n const tag = ordered ? 'ol' : 'ul';\n const listItems = items.map(item => this.wrap('li', item)).join('');\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */\n addTable(rows) {\n const tableBody = rows\n .map(row => {\n const cells = row\n .map(cell => {\n if (typeof cell === 'string') {\n return this.wrap('td', cell);\n }\n const { header, data, colspan, rowspan } = cell;\n const tag = header ? 'th' : 'td';\n const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan }));\n return this.wrap(tag, data, attrs);\n })\n .join('');\n return this.wrap('tr', cells);\n })\n .join('');\n const element = this.wrap('table', tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */\n addDetails(label, content) {\n const element = this.wrap('details', this.wrap('summary', label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */\n addImage(src, alt, options) {\n const { width, height } = options || {};\n const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height }));\n const element = this.wrap('img', null, Object.assign({ src, alt }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */\n addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag)\n ? tag\n : 'h1';\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addSeparator() {\n const element = this.wrap('hr', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addBreak() {\n const element = this.wrap('br', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */\n addQuote(text, cite) {\n const attrs = Object.assign({}, (cite && { cite }));\n const element = this.wrap('blockquote', text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */\n addLink(text, href) {\n const element = this.wrap('a', text, { href });\n return this.addRaw(element).addEOL();\n }\n}\nconst _summary = new Summary();\n/**\n * @deprecated use `core.summary`\n */\nexports.markdownSummary = _summary;\nexports.summary = _summary;\n//# sourceMappingURL=summary.js.map","\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toCommandProperties = exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\nexports.toCommandValue = toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nexports.toCommandProperties = toCommandProperties;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Context = void 0;\nconst fs_1 = require(\"fs\");\nconst os_1 = require(\"os\");\nclass Context {\n /**\n * Hydrate the context from the environment\n */\n constructor() {\n var _a, _b, _c;\n this.payload = {};\n if (process.env.GITHUB_EVENT_PATH) {\n if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) {\n this.payload = JSON.parse(fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' }));\n }\n else {\n const path = process.env.GITHUB_EVENT_PATH;\n process.stdout.write(`GITHUB_EVENT_PATH ${path} does not exist${os_1.EOL}`);\n }\n }\n this.eventName = process.env.GITHUB_EVENT_NAME;\n this.sha = process.env.GITHUB_SHA;\n this.ref = process.env.GITHUB_REF;\n this.workflow = process.env.GITHUB_WORKFLOW;\n this.action = process.env.GITHUB_ACTION;\n this.actor = process.env.GITHUB_ACTOR;\n this.job = process.env.GITHUB_JOB;\n this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);\n this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);\n this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;\n this.serverUrl = (_b = process.env.GITHUB_SERVER_URL) !== null && _b !== void 0 ? _b : `https://github.com`;\n this.graphqlUrl = (_c = process.env.GITHUB_GRAPHQL_URL) !== null && _c !== void 0 ? _c : `https://api.github.com/graphql`;\n }\n get issue() {\n const payload = this.payload;\n return Object.assign(Object.assign({}, this.repo), { number: (payload.issue || payload.pull_request || payload).number });\n }\n get repo() {\n if (process.env.GITHUB_REPOSITORY) {\n const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');\n return { owner, repo };\n }\n if (this.payload.repository) {\n return {\n owner: this.payload.repository.owner.login,\n repo: this.payload.repository.name\n };\n }\n throw new Error(\"context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'\");\n }\n}\nexports.Context = Context;\n//# sourceMappingURL=context.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getOctokit = exports.context = void 0;\nconst Context = __importStar(require(\"./context\"));\nconst utils_1 = require(\"./utils\");\nexports.context = new Context.Context();\n/**\n * Returns a hydrated octokit ready to use for GitHub Actions\n *\n * @param token the repo PAT or GITHUB_TOKEN\n * @param options other options to set\n */\nfunction getOctokit(token, options) {\n return new utils_1.GitHub(utils_1.getOctokitOptions(token, options));\n}\nexports.getOctokit = getOctokit;\n//# sourceMappingURL=github.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0;\nconst httpClient = __importStar(require(\"@actions/http-client\"));\nfunction getAuthString(token, options) {\n if (!token && !options.auth) {\n throw new Error('Parameter token or opts.auth is required');\n }\n else if (token && options.auth) {\n throw new Error('Parameters token and opts.auth may not both be specified');\n }\n return typeof options.auth === 'string' ? options.auth : `token ${token}`;\n}\nexports.getAuthString = getAuthString;\nfunction getProxyAgent(destinationUrl) {\n const hc = new httpClient.HttpClient();\n return hc.getAgent(destinationUrl);\n}\nexports.getProxyAgent = getProxyAgent;\nfunction getApiBaseUrl() {\n return process.env['GITHUB_API_URL'] || 'https://api.github.com';\n}\nexports.getApiBaseUrl = getApiBaseUrl;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getOctokitOptions = exports.GitHub = exports.context = void 0;\nconst Context = __importStar(require(\"./context\"));\nconst Utils = __importStar(require(\"./internal/utils\"));\n// octokit + plugins\nconst core_1 = require(\"@octokit/core\");\nconst plugin_rest_endpoint_methods_1 = require(\"@octokit/plugin-rest-endpoint-methods\");\nconst plugin_paginate_rest_1 = require(\"@octokit/plugin-paginate-rest\");\nexports.context = new Context.Context();\nconst baseUrl = Utils.getApiBaseUrl();\nconst defaults = {\n baseUrl,\n request: {\n agent: Utils.getProxyAgent(baseUrl)\n }\n};\nexports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(defaults);\n/**\n * Convience function to correctly format Octokit Options to pass into the constructor.\n *\n * @param token the repo PAT or GITHUB_TOKEN\n * @param options other options to set\n */\nfunction getOctokitOptions(token, options) {\n const opts = Object.assign({}, options || {}); // Shallow clone - don't mutate the object provided by the caller\n // Auth\n const auth = Utils.getAuthString(token, opts);\n if (auth) {\n opts.auth = auth;\n }\n return opts;\n}\nexports.getOctokitOptions = getOctokitOptions;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0;\nclass BasicCredentialHandler {\n constructor(username, password) {\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BasicCredentialHandler = BasicCredentialHandler;\nclass BearerCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BearerCredentialHandler = BearerCredentialHandler;\nclass PersonalAccessTokenCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;\n//# sourceMappingURL=auth.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;\nconst http = __importStar(require(\"http\"));\nconst https = __importStar(require(\"https\"));\nconst pm = __importStar(require(\"./proxy\"));\nconst tunnel = __importStar(require(\"tunnel\"));\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n const proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n }));\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n getJson(requestUrl, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n request(verb, requestUrl, data, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb)\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers) {\n if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (response.message.statusCode &&\n HttpRedirectCodes.includes(response.message.statusCode) &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === 'https:' &&\n parsedUrl.protocol !== parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (const header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode ||\n !HttpResponseRetryCodes.includes(response.message.statusCode)) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n } while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => {\n function callbackForResult(err, res) {\n if (err) {\n reject(err);\n }\n else if (!res) {\n // If `err` is not passed, then `res` must be passed.\n reject(new Error('Unknown error'));\n }\n else {\n resolve(res);\n }\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n if (typeof data === 'string') {\n if (!info.options.headers) {\n info.options.headers = {};\n }\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg) => {\n const res = new HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n for (const handler of this.handlers) {\n handler.prepareRequest(info.options);\n }\n }\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {}));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, ((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n })), { host: proxyUrl.hostname, port: proxyUrl.port })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return __awaiter(this, void 0, void 0, function* () {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === HttpCodes.NotFound) {\n resolve(response);\n }\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = `Failed request: (${statusCode})`;\n }\n const err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n }));\n });\n }\n}\nexports.HttpClient = HttpClient;\nconst lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkBypass = exports.getProxyUrl = void 0;\nfunction getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === 'https:';\n if (checkBypass(reqUrl)) {\n return undefined;\n }\n const proxyVar = (() => {\n if (usingSsl) {\n return process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n return process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n })();\n if (proxyVar) {\n return new URL(proxyVar);\n }\n else {\n return undefined;\n }\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n const upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n//# sourceMappingURL=proxy.js.map","require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 2973:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.BuildTarget = exports.Manifest = void 0;\n/**\n * Dependency.\n */\nclass Dependency {\n /**\n * constructor.\n *\n * @param {Package} depPackage\n * @param {DependencyRelationship} relationship\n * @param {DependencyScope} scope\n */\n constructor(depPackage, relationship, scope) {\n this.depPackage = depPackage;\n this.relationship = relationship;\n this.scope = scope;\n }\n /**\n * toJSON is a custom JSON-serializer. It will be called when JSON.stringify()\n * is called with this class or any object containing this class.\n *\n * @returns {object} with keys package_url, relationship, scope, and\n * dependency, per the Snapshot format\n */\n toJSON() {\n return {\n package_url: this.depPackage.packageURL.toString(),\n relationship: this.relationship,\n scope: this.scope,\n dependencies: this.depPackage.packageDependencyIDs\n };\n }\n}\n/**\n * Manifest defines the dependencies and the relationships of those dependencies.\n */\nclass Manifest {\n constructor(name, filePath) {\n this.resolved = {};\n this.name = name;\n if (filePath) {\n this.file = { source_location: filePath };\n }\n }\n /**\n * addIndirectDependency adds a package as an indirect dependency to the\n * manifest. Direct dependencies take precedence over indirect dependencies\n * if a package is added as both.\n *\n * @param {Package} pkg\n * @param {DependencyScope} scope\n */\n addDirectDependency(pkg, scope) {\n // will overwrite any previous indirect assignments\n this.resolved[pkg.packageID()] = new Dependency(pkg, 'direct', scope);\n }\n /**\n * addIndirectDependency adds a package as an indirect dependency to the\n * manifest. NOTE: if a dependency has been previously added as a direct\n * dependency, no change will happen (direct dependencies take precedence).\n *\n * @param {Package} pkg\n * @param {DependencyScope} scope dependency scope of the package\n */\n addIndirectDependency(pkg, scope) {\n var _a;\n var _b, _c;\n // nullish assignment to keep any previous assignments, including direct assignments\n (_a = (_b = this.resolved)[_c = pkg.packageID()]) !== null && _a !== void 0 ? _a : (_b[_c] = new Dependency(pkg, 'indirect', scope));\n }\n hasDependency(pkg) {\n return this.lookupDependency(pkg) !== undefined;\n }\n lookupDependency(pkg) {\n return this.resolved[pkg.packageID()];\n }\n countDependencies() {\n return Object.keys(this.resolved).length;\n }\n /**\n * filterDependencies. Given a predicate function (a function returning a\n * boolean for an input), return the packages that match the dependency\n * relationship. Used for getting filtered lists of direct/indirect packages,\n * runtime/development packages, etc.\n *\n * @param {Function} predicate\n * @returns {Array}\n */\n filterDependencies(predicate) {\n return Object.values(this.resolved).reduce((acc, dep) => {\n if (predicate(dep)) {\n acc.push(dep.depPackage);\n }\n return acc;\n }, []);\n }\n /**\n * directDependencies returns list of packages that are specified as direct dependencies\n */\n directDependencies() {\n return this.filterDependencies((dep) => dep.relationship === 'direct');\n }\n /**\n * indirectDependencies returns list of packages that are specified as indirect dependencies\n */\n indirectDependencies() {\n return this.filterDependencies((dep) => dep.relationship === 'indirect');\n }\n}\nexports.Manifest = Manifest;\n/**\n * The dependencies used in a code artifact or \"build target\" are more\n * accurately determined by the build process or commands used to generate the\n * build target, rather than static processing of package files. BuildTarget is\n * a specialized case of Manifest intended to assist in capturing this\n * association of build target and dependencies.\n *\n * @extends {Manifest}\n */\nclass BuildTarget extends Manifest {\n /**\n * addBuildDependency will add a package as a direct runtime dependency and all of\n * the package's transitive dependencies as indirect dependencies\n *\n * @param {Package} pkg package used to build the build target\n */\n addBuildDependency(pkg) {\n this.addDirectDependency(pkg, 'runtime');\n pkg.dependencies.forEach((transDep) => {\n this.addIndirectDependency(transDep, 'runtime');\n });\n }\n}\nexports.BuildTarget = BuildTarget;\n//# sourceMappingURL=manifest.js.map\n\n/***/ }),\n\n/***/ 2947:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.PackageCache = void 0;\nconst packageurl_js_1 = __nccwpck_require__(8915);\nconst package_1 = __nccwpck_require__(4590);\n/**\n * Use PackageCache to define packages and the relationships between packages. You may\n * think of PackageCache as the universe of possible packages to be used in Manifests\n * and BuildTargets. PackageCache is not serialized to the Dependency Submission API.\n */\nclass PackageCache {\n constructor() {\n this.database = {};\n }\n /**\n * 'cache.package()' will be the most commonly used method of PackageCache.\n * package(identifier) will create and add a new Package to the PackageCache if no\n * Packaging with a matching identifier exists in PackageCache, or return an existing\n * Package if a match is found. The mutation in this case is expected; do not\n * use package(identifier) to determine if a package is already added.\n * Instead, use hasPackage or lookupPackage.\n *\n *\n * @param {PackageURL | string} identifier PackageURL or string matching the Package URL format (https://github.com/package-url/purl-spec)\n * @returns {Package}\n */\n package(identifier) {\n const existingDep = this.lookupPackage(identifier);\n if (existingDep) {\n return existingDep;\n }\n const dep = new package_1.Package(identifier);\n this.addPackage(dep);\n return dep;\n }\n /**\n * Provided a \"matcher\" object with any of the string fields 'namespace',\n * 'name', or 'version', returns all packages matching fields specified by\n * the matcher stored by the PackageCache\n *\n * @param {Object} matcher\n * @returns {boolean}\n */\n packagesMatching(matcher) {\n return Object.values(this.database).filter((pkg) => pkg.matching(matcher));\n }\n /**\n * addPackage adds a package, even if it already exists in the cache.\n *\n * @param {Package} pkg\n */\n addPackage(pkg) {\n this.database[pkg.packageURL.toString()] = pkg;\n }\n /**\n * removePackage a removes a package from the cache\n *\n * @param {Package} pkg\n */\n removePackage(pkg) {\n delete this.database[pkg.packageURL.toString()];\n }\n /**\n * lookupPackage looks up and returns a package with a matching identifier,\n * if one exists.\n *\n * @param {PackageURL | string} identifier\n * @returns {Package | undefined}\n */\n lookupPackage(identifier) {\n if (typeof identifier === 'string') {\n const purl = packageurl_js_1.PackageURL.fromString(identifier);\n return this.database[purl.toString()];\n }\n else {\n return this.database[identifier.toString()];\n }\n }\n /**\n * hasPackage returns true if a package with a matching identifier exists.\n *\n * @param {PackageURL | string} identifier\n * @returns {boolean}\n */\n hasPackage(identifier) {\n return this.lookupPackage(identifier) !== undefined;\n }\n /**\n * countPackages returns the total number of packages tracked in the cache\n *\n * @returns {number}\n */\n countPackages() {\n return Object.values(this.database).length;\n }\n}\nexports.PackageCache = PackageCache;\n//# sourceMappingURL=package-cache.js.map\n\n/***/ }),\n\n/***/ 4590:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Package = void 0;\nconst packageurl_js_1 = __nccwpck_require__(8915);\n/**\n * Package is module that can be depended upon in manifest or build target. A\n * package is what you would download from a registry like NPM.\n * We consider all packages that are defined in the [Package URL spec](https://github.com/package-url/purl-spec/blob/1eae1e95d81fddf8ae7f06b4dfc7b5b5be0cc3e2/PURL-TYPES.rst) as being valid package types.\n */\nclass Package {\n /**\n * A Package can be constructed with a PackageURL or a string conforming to\n * the Package URL format (https://github.com/package-url/purl-spec)\n *\n * @param {PackageURL | string} pkg\n */\n constructor(pkg) {\n if (typeof pkg === 'string') {\n this.packageURL = packageurl_js_1.PackageURL.fromString(pkg);\n }\n else {\n this.packageURL = pkg;\n }\n this.dependencies = [];\n }\n /**\n * Associate a package child dependency with this package\n *\n * @param {Package} pkg\n * @returns {Package}\n */\n dependsOn(pkg) {\n this.dependencies.push(pkg);\n return this;\n }\n /**\n * Add multiple packages as dependencies.\n *\n * @param {Array} pkgs\n * @returns {Package}\n */\n dependsOnPackages(pkgs) {\n pkgs.forEach((pkg) => this.dependsOn(pkg));\n return this;\n }\n /**\n * packageDependencyIDs provides the list of package IDs of package dependencies\n */\n get packageDependencyIDs() {\n return this.dependencies.map((dep) => dep.packageID());\n }\n /**\n * packageID generates the unique package ID (currently, the Package URL)\n *\n * @returns {string}\n */\n packageID() {\n return this.packageURL.toString();\n }\n /**\n * namespace of the package\n *\n * @returns {string}\n */\n namespace() {\n var _a;\n return (_a = this.packageURL.namespace) !== null && _a !== void 0 ? _a : null;\n }\n /**\n * name of the package\n *\n * @returns {string}\n */\n name() {\n return this.packageURL.name;\n }\n /**\n * version of the package\n *\n * @returns {string}\n */\n version() {\n return this.packageURL.version || '';\n }\n /**\n * Provided a \"matcher\" object with any of the string fields 'namespace',\n * 'name', or 'version', returns true if the Package has values matching the\n * matcher.\n *\n * @param {Object} matcher\n * @returns {boolean}\n */\n matching(matcher) {\n // prettier-ignore\n return ((matcher.namespace === undefined ||\n this.packageURL.namespace === matcher.namespace) &&\n (matcher.name === undefined ||\n this.packageURL.name === matcher.name) &&\n (matcher.version === undefined ||\n this.packageURL.version === matcher.version));\n }\n}\nexports.Package = Package;\n//# sourceMappingURL=package.js.map\n\n/***/ }),\n\n/***/ 3767:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.submitSnapshot = exports.Snapshot = exports.jobFromContext = void 0;\nconst core = __importStar(__nccwpck_require__(2186));\nconst github = __importStar(__nccwpck_require__(5438));\nconst rest_1 = __nccwpck_require__(5375);\nconst request_error_1 = __nccwpck_require__(537);\n/**\n * jobFromContext creates a job from a @actions/github Context\n *\n * @param {Context} context\n * @returns {Job}\n */\nfunction jobFromContext(context) {\n return {\n correlator: context.job,\n id: context.runId.toString()\n };\n}\nexports.jobFromContext = jobFromContext;\n/**\n * Snapshot is the top-level container for Dependency Submission\n */\nclass Snapshot {\n /**\n * All constructor parameters of a Snapshot are optional, but can be specified for specific overrides\n *\n * @param {Detector} detector\n * @param {Context} context\n * @param {Job} job\n * @param {Date} date\n * @param {number} version\n */\n constructor(detector, context = github.context, job, date = new Date(), version = 0) {\n this.detector = detector;\n this.version = version;\n this.job = job || jobFromContext(context);\n this.sha = context.sha;\n this.ref = context.ref;\n this.scanned = date.toISOString();\n this.manifests = {};\n }\n /**\n * addManifest adds a manifest to the snapshot. At least one manifest must be added.\n *\n * @param {Manifest} manifest\n */\n addManifest(manifest) {\n this.manifests[manifest.name] = manifest;\n }\n /**\n * prettyJSON formats an intended version of the Snapshot (useful for debugging)\n *\n * @returns {string}\n */\n prettyJSON() {\n return JSON.stringify(this, undefined, 4);\n }\n}\nexports.Snapshot = Snapshot;\n/**\n * submitSnapshot submits a snapshot to the Dependency Submission API\n *\n * @param {Snapshot} snapshot\n * @param {Context} context\n */\nfunction submitSnapshot(snapshot, context = github.context) {\n return __awaiter(this, void 0, void 0, function* () {\n core.setOutput('snapshot', JSON.stringify(snapshot));\n core.notice('Submitting snapshot...');\n core.notice(snapshot.prettyJSON());\n const repo = context.repo;\n const githubToken = core.getInput('token') || (yield core.getIDToken());\n const octokit = new rest_1.Octokit({\n auth: githubToken\n });\n try {\n const response = yield octokit.request('POST /repos/{owner}/{repo}/dependency-graph/snapshots', {\n headers: {\n accept: 'application/vnd.github.foo-bar-preview+json'\n },\n owner: repo.owner,\n repo: repo.repo,\n data: JSON.stringify(snapshot)\n });\n core.notice('Snapshot successfully created at ' + response.data.created_at.toString());\n }\n catch (error) {\n if (error instanceof request_error_1.RequestError) {\n core.error(`HTTP Status ${error.status} for request ${error.request.method} ${error.request.url}`);\n if (error.response) {\n core.error(`Response body:\\n${JSON.stringify(error.response.data, undefined, 2)}`);\n }\n }\n if (error instanceof Error) {\n core.error(error.message);\n if (error.stack)\n core.error(error.stack);\n }\n throw new Error(`Failed to submit snapshot: ${error}`);\n }\n });\n}\nexports.submitSnapshot = submitSnapshot;\n//# sourceMappingURL=snapshot.js.map\n\n/***/ }),\n\n/***/ 7351:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.issue = exports.issueCommand = void 0;\nconst os = __importStar(__nccwpck_require__(2087));\nconst utils_1 = __nccwpck_require__(5278);\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nexports.issueCommand = issueCommand;\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nexports.issue = issue;\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map\n\n/***/ }),\n\n/***/ 2186:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;\nconst command_1 = __nccwpck_require__(7351);\nconst file_command_1 = __nccwpck_require__(717);\nconst utils_1 = __nccwpck_require__(5278);\nconst os = __importStar(__nccwpck_require__(2087));\nconst path = __importStar(__nccwpck_require__(5622));\nconst oidc_utils_1 = __nccwpck_require__(8041);\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = utils_1.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n const delimiter = '_GitHubActionsFileCommandDelimeter_';\n const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;\n file_command_1.issueCommand('ENV', commandValue);\n }\n else {\n command_1.issueCommand('set-env', { name }, convertedVal);\n }\n}\nexports.exportVariable = exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */\nfunction setSecret(secret) {\n command_1.issueCommand('add-mask', {}, secret);\n}\nexports.setSecret = setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n file_command_1.issueCommand('PATH', inputPath);\n }\n else {\n command_1.issueCommand('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\nexports.addPath = addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\nexports.getInput = getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n return inputs;\n}\nexports.getMultilineInput = getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nexports.getBooleanInput = getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n process.stdout.write(os.EOL);\n command_1.issueCommand('set-output', { name }, value);\n}\nexports.setOutput = setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n command_1.issue('echo', enabled ? 'on' : 'off');\n}\nexports.setCommandEcho = setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\nexports.setFailed = setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\nexports.isDebug = isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n command_1.issueCommand('debug', {}, message);\n}\nexports.debug = debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.error = error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.warning = warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.notice = notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\nexports.info = info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n command_1.issue('group', name);\n}\nexports.startGroup = startGroup;\n/**\n * End an output group.\n */\nfunction endGroup() {\n command_1.issue('endgroup');\n}\nexports.endGroup = endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\nexports.group = group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n command_1.issueCommand('save-state', { name }, value);\n}\nexports.saveState = saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nexports.getState = getState;\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\nexports.getIDToken = getIDToken;\n//# sourceMappingURL=core.js.map\n\n/***/ }),\n\n/***/ 717:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.issueCommand = void 0;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst fs = __importStar(__nccwpck_require__(5747));\nconst os = __importStar(__nccwpck_require__(2087));\nconst utils_1 = __nccwpck_require__(5278);\nfunction issueCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nexports.issueCommand = issueCommand;\n//# sourceMappingURL=file-command.js.map\n\n/***/ }),\n\n/***/ 8041:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.OidcClient = void 0;\nconst http_client_1 = __nccwpck_require__(9925);\nconst auth_1 = __nccwpck_require__(3702);\nconst core_1 = __nccwpck_require__(2186);\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.result.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n core_1.debug(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n core_1.setSecret(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map\n\n/***/ }),\n\n/***/ 5278:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.toCommandProperties = exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\nexports.toCommandValue = toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nexports.toCommandProperties = toCommandProperties;\n//# sourceMappingURL=utils.js.map\n\n/***/ }),\n\n/***/ 4087:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Context = void 0;\nconst fs_1 = __nccwpck_require__(5747);\nconst os_1 = __nccwpck_require__(2087);\nclass Context {\n /**\n * Hydrate the context from the environment\n */\n constructor() {\n var _a, _b, _c;\n this.payload = {};\n if (process.env.GITHUB_EVENT_PATH) {\n if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) {\n this.payload = JSON.parse(fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' }));\n }\n else {\n const path = process.env.GITHUB_EVENT_PATH;\n process.stdout.write(`GITHUB_EVENT_PATH ${path} does not exist${os_1.EOL}`);\n }\n }\n this.eventName = process.env.GITHUB_EVENT_NAME;\n this.sha = process.env.GITHUB_SHA;\n this.ref = process.env.GITHUB_REF;\n this.workflow = process.env.GITHUB_WORKFLOW;\n this.action = process.env.GITHUB_ACTION;\n this.actor = process.env.GITHUB_ACTOR;\n this.job = process.env.GITHUB_JOB;\n this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);\n this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);\n this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;\n this.serverUrl = (_b = process.env.GITHUB_SERVER_URL) !== null && _b !== void 0 ? _b : `https://github.com`;\n this.graphqlUrl = (_c = process.env.GITHUB_GRAPHQL_URL) !== null && _c !== void 0 ? _c : `https://api.github.com/graphql`;\n }\n get issue() {\n const payload = this.payload;\n return Object.assign(Object.assign({}, this.repo), { number: (payload.issue || payload.pull_request || payload).number });\n }\n get repo() {\n if (process.env.GITHUB_REPOSITORY) {\n const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');\n return { owner, repo };\n }\n if (this.payload.repository) {\n return {\n owner: this.payload.repository.owner.login,\n repo: this.payload.repository.name\n };\n }\n throw new Error(\"context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'\");\n }\n}\nexports.Context = Context;\n//# sourceMappingURL=context.js.map\n\n/***/ }),\n\n/***/ 5438:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getOctokit = exports.context = void 0;\nconst Context = __importStar(__nccwpck_require__(4087));\nconst utils_1 = __nccwpck_require__(3030);\nexports.context = new Context.Context();\n/**\n * Returns a hydrated octokit ready to use for GitHub Actions\n *\n * @param token the repo PAT or GITHUB_TOKEN\n * @param options other options to set\n */\nfunction getOctokit(token, options) {\n return new utils_1.GitHub(utils_1.getOctokitOptions(token, options));\n}\nexports.getOctokit = getOctokit;\n//# sourceMappingURL=github.js.map\n\n/***/ }),\n\n/***/ 7914:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0;\nconst httpClient = __importStar(__nccwpck_require__(9925));\nfunction getAuthString(token, options) {\n if (!token && !options.auth) {\n throw new Error('Parameter token or opts.auth is required');\n }\n else if (token && options.auth) {\n throw new Error('Parameters token and opts.auth may not both be specified');\n }\n return typeof options.auth === 'string' ? options.auth : `token ${token}`;\n}\nexports.getAuthString = getAuthString;\nfunction getProxyAgent(destinationUrl) {\n const hc = new httpClient.HttpClient();\n return hc.getAgent(destinationUrl);\n}\nexports.getProxyAgent = getProxyAgent;\nfunction getApiBaseUrl() {\n return process.env['GITHUB_API_URL'] || 'https://api.github.com';\n}\nexports.getApiBaseUrl = getApiBaseUrl;\n//# sourceMappingURL=utils.js.map\n\n/***/ }),\n\n/***/ 3030:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getOctokitOptions = exports.GitHub = exports.context = void 0;\nconst Context = __importStar(__nccwpck_require__(4087));\nconst Utils = __importStar(__nccwpck_require__(7914));\n// octokit + plugins\nconst core_1 = __nccwpck_require__(6762);\nconst plugin_rest_endpoint_methods_1 = __nccwpck_require__(3044);\nconst plugin_paginate_rest_1 = __nccwpck_require__(4193);\nexports.context = new Context.Context();\nconst baseUrl = Utils.getApiBaseUrl();\nconst defaults = {\n baseUrl,\n request: {\n agent: Utils.getProxyAgent(baseUrl)\n }\n};\nexports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(defaults);\n/**\n * Convience function to correctly format Octokit Options to pass into the constructor.\n *\n * @param token the repo PAT or GITHUB_TOKEN\n * @param options other options to set\n */\nfunction getOctokitOptions(token, options) {\n const opts = Object.assign({}, options || {}); // Shallow clone - don't mutate the object provided by the caller\n // Auth\n const auth = Utils.getAuthString(token, opts);\n if (auth) {\n opts.auth = auth;\n }\n return opts;\n}\nexports.getOctokitOptions = getOctokitOptions;\n//# sourceMappingURL=utils.js.map\n\n/***/ }),\n\n/***/ 3702:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nclass BasicCredentialHandler {\n constructor(username, password) {\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n options.headers['Authorization'] =\n 'Basic ' +\n Buffer.from(this.username + ':' + this.password).toString('base64');\n }\n // This handler cannot handle 401\n canHandleAuthentication(response) {\n return false;\n }\n handleAuthentication(httpClient, requestInfo, objs) {\n return null;\n }\n}\nexports.BasicCredentialHandler = BasicCredentialHandler;\nclass BearerCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n options.headers['Authorization'] = 'Bearer ' + this.token;\n }\n // This handler cannot handle 401\n canHandleAuthentication(response) {\n return false;\n }\n handleAuthentication(httpClient, requestInfo, objs) {\n return null;\n }\n}\nexports.BearerCredentialHandler = BearerCredentialHandler;\nclass PersonalAccessTokenCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n options.headers['Authorization'] =\n 'Basic ' + Buffer.from('PAT:' + this.token).toString('base64');\n }\n // This handler cannot handle 401\n canHandleAuthentication(response) {\n return false;\n }\n handleAuthentication(httpClient, requestInfo, objs) {\n return null;\n }\n}\nexports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;\n\n\n/***/ }),\n\n/***/ 9925:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst http = __nccwpck_require__(8605);\nconst https = __nccwpck_require__(7211);\nconst pm = __nccwpck_require__(6443);\nlet tunnel;\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n let proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject) => {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n async request(verb, requestUrl, data, headers) {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n while (numTries < maxTries) {\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (let i = 0; i < this.handlers.length; i++) {\n if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == 'https:' &&\n parsedUrl.protocol != parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (let header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return new Promise((resolve, reject) => {\n let callbackForResult = function (err, res) {\n if (err) {\n reject(err);\n }\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === 'string') {\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n let handleResult = (err, res) => {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg) => {\n let res = new HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error('Request timeout: ' + info.options.path), null);\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n this.handlers.forEach(handler => {\n handler.prepareRequest(info.options);\n });\n }\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = pm.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (!!agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (!!this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n if (useProxy) {\n // If using proxy, need tunnel\n if (!tunnel) {\n tunnel = __nccwpck_require__(4294);\n }\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }),\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject) => {\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == HttpCodes.NotFound) {\n resolve(response);\n }\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = 'Failed request: (' + statusCode + ')';\n }\n let err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n });\n }\n}\nexports.HttpClient = HttpClient;\n\n\n/***/ }),\n\n/***/ 6443:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nfunction getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === 'https:';\n let proxyUrl;\n if (checkBypass(reqUrl)) {\n return proxyUrl;\n }\n let proxyVar;\n if (usingSsl) {\n proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n if (proxyVar) {\n proxyUrl = new URL(proxyVar);\n }\n return proxyUrl;\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n let upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n\n\n/***/ }),\n\n/***/ 334:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nconst REGEX_IS_INSTALLATION_LEGACY = /^v1\\./;\nconst REGEX_IS_INSTALLATION = /^ghs_/;\nconst REGEX_IS_USER_TO_SERVER = /^ghu_/;\nasync function auth(token) {\n const isApp = token.split(/\\./).length === 3;\n const isInstallation = REGEX_IS_INSTALLATION_LEGACY.test(token) || REGEX_IS_INSTALLATION.test(token);\n const isUserToServer = REGEX_IS_USER_TO_SERVER.test(token);\n const tokenType = isApp ? \"app\" : isInstallation ? \"installation\" : isUserToServer ? \"user-to-server\" : \"oauth\";\n return {\n type: \"token\",\n token: token,\n tokenType\n };\n}\n\n/**\n * Prefix token for usage in the Authorization header\n *\n * @param token OAuth token or JSON Web Token\n */\nfunction withAuthorizationPrefix(token) {\n if (token.split(/\\./).length === 3) {\n return `bearer ${token}`;\n }\n\n return `token ${token}`;\n}\n\nasync function hook(token, request, route, parameters) {\n const endpoint = request.endpoint.merge(route, parameters);\n endpoint.headers.authorization = withAuthorizationPrefix(token);\n return request(endpoint);\n}\n\nconst createTokenAuth = function createTokenAuth(token) {\n if (!token) {\n throw new Error(\"[@octokit/auth-token] No token passed to createTokenAuth\");\n }\n\n if (typeof token !== \"string\") {\n throw new Error(\"[@octokit/auth-token] Token passed to createTokenAuth is not a string\");\n }\n\n token = token.replace(/^(token|bearer) +/i, \"\");\n return Object.assign(auth.bind(null, token), {\n hook: hook.bind(null, token)\n });\n};\n\nexports.createTokenAuth = createTokenAuth;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 6762:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nvar universalUserAgent = __nccwpck_require__(5030);\nvar beforeAfterHook = __nccwpck_require__(3682);\nvar request = __nccwpck_require__(6234);\nvar graphql = __nccwpck_require__(8467);\nvar authToken = __nccwpck_require__(334);\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nconst VERSION = \"3.6.0\";\n\nconst _excluded = [\"authStrategy\"];\nclass Octokit {\n constructor(options = {}) {\n const hook = new beforeAfterHook.Collection();\n const requestDefaults = {\n baseUrl: request.request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n // @ts-ignore internal usage only, no need to type\n hook: hook.bind(null, \"request\")\n }),\n mediaType: {\n previews: [],\n format: \"\"\n }\n }; // prepend default user agent with `options.userAgent` if set\n\n requestDefaults.headers[\"user-agent\"] = [options.userAgent, `octokit-core.js/${VERSION} ${universalUserAgent.getUserAgent()}`].filter(Boolean).join(\" \");\n\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n\n this.request = request.request.defaults(requestDefaults);\n this.graphql = graphql.withCustomRequest(this.request).defaults(requestDefaults);\n this.log = Object.assign({\n debug: () => {},\n info: () => {},\n warn: console.warn.bind(console),\n error: console.error.bind(console)\n }, options.log);\n this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance\n // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered.\n // (2) If only `options.auth` is set, use the default token authentication strategy.\n // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.\n // TODO: type `options.auth` based on `options.authStrategy`.\n\n if (!options.authStrategy) {\n if (!options.auth) {\n // (1)\n this.auth = async () => ({\n type: \"unauthenticated\"\n });\n } else {\n // (2)\n const auth = authToken.createTokenAuth(options.auth); // @ts-ignore ¯\\_(ツ)_/¯\n\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n } else {\n const {\n authStrategy\n } = options,\n otherOptions = _objectWithoutProperties(options, _excluded);\n\n const auth = authStrategy(Object.assign({\n request: this.request,\n log: this.log,\n // we pass the current octokit instance as well as its constructor options\n // to allow for authentication strategies that return a new octokit instance\n // that shares the same internal state as the current one. The original\n // requirement for this was the \"event-octokit\" authentication strategy\n // of https://github.com/probot/octokit-auth-probot.\n octokit: this,\n octokitOptions: otherOptions\n }, options.auth)); // @ts-ignore ¯\\_(ツ)_/¯\n\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n } // apply plugins\n // https://stackoverflow.com/a/16345172\n\n\n const classConstructor = this.constructor;\n classConstructor.plugins.forEach(plugin => {\n Object.assign(this, plugin(this, options));\n });\n }\n\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n\n if (typeof defaults === \"function\") {\n super(defaults(options));\n return;\n }\n\n super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`\n } : null));\n }\n\n };\n return OctokitWithDefaults;\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n\n\n static plugin(...newPlugins) {\n var _a;\n\n const currentPlugins = this.plugins;\n const NewOctokit = (_a = class extends this {}, _a.plugins = currentPlugins.concat(newPlugins.filter(plugin => !currentPlugins.includes(plugin))), _a);\n return NewOctokit;\n }\n\n}\nOctokit.VERSION = VERSION;\nOctokit.plugins = [];\n\nexports.Octokit = Octokit;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 9440:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nvar isPlainObject = __nccwpck_require__(3287);\nvar universalUserAgent = __nccwpck_require__(5030);\n\nfunction lowercaseKeys(object) {\n if (!object) {\n return {};\n }\n\n return Object.keys(object).reduce((newObj, key) => {\n newObj[key.toLowerCase()] = object[key];\n return newObj;\n }, {});\n}\n\nfunction mergeDeep(defaults, options) {\n const result = Object.assign({}, defaults);\n Object.keys(options).forEach(key => {\n if (isPlainObject.isPlainObject(options[key])) {\n if (!(key in defaults)) Object.assign(result, {\n [key]: options[key]\n });else result[key] = mergeDeep(defaults[key], options[key]);\n } else {\n Object.assign(result, {\n [key]: options[key]\n });\n }\n });\n return result;\n}\n\nfunction removeUndefinedProperties(obj) {\n for (const key in obj) {\n if (obj[key] === undefined) {\n delete obj[key];\n }\n }\n\n return obj;\n}\n\nfunction merge(defaults, route, options) {\n if (typeof route === \"string\") {\n let [method, url] = route.split(\" \");\n options = Object.assign(url ? {\n method,\n url\n } : {\n url: method\n }, options);\n } else {\n options = Object.assign({}, route);\n } // lowercase header names before merging with defaults to avoid duplicates\n\n\n options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging\n\n removeUndefinedProperties(options);\n removeUndefinedProperties(options.headers);\n const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten\n\n if (defaults && defaults.mediaType.previews.length) {\n mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews);\n }\n\n mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, \"\"));\n return mergedOptions;\n}\n\nfunction addQueryParameters(url, parameters) {\n const separator = /\\?/.test(url) ? \"&\" : \"?\";\n const names = Object.keys(parameters);\n\n if (names.length === 0) {\n return url;\n }\n\n return url + separator + names.map(name => {\n if (name === \"q\") {\n return \"q=\" + parameters.q.split(\"+\").map(encodeURIComponent).join(\"+\");\n }\n\n return `${name}=${encodeURIComponent(parameters[name])}`;\n }).join(\"&\");\n}\n\nconst urlVariableRegex = /\\{[^}]+\\}/g;\n\nfunction removeNonChars(variableName) {\n return variableName.replace(/^\\W+|\\W+$/g, \"\").split(/,/);\n}\n\nfunction extractUrlVariableNames(url) {\n const matches = url.match(urlVariableRegex);\n\n if (!matches) {\n return [];\n }\n\n return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);\n}\n\nfunction omit(object, keysToOmit) {\n return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => {\n obj[key] = object[key];\n return obj;\n }, {});\n}\n\n// Based on https://github.com/bramstein/url-template, licensed under BSD\n// TODO: create separate package.\n//\n// Copyright (c) 2012-2014, Bram Stein\n// All rights reserved.\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions\n// are met:\n// 1. Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// 2. Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// 3. The name of the author may not be used to endorse or promote products\n// derived from this software without specific prior written permission.\n// THIS SOFTWARE IS PROVIDED BY THE AUTHOR \"AS IS\" AND ANY EXPRESS OR IMPLIED\n// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n/* istanbul ignore file */\nfunction encodeReserved(str) {\n return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) {\n if (!/%[0-9A-Fa-f]/.test(part)) {\n part = encodeURI(part).replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n }\n\n return part;\n }).join(\"\");\n}\n\nfunction encodeUnreserved(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n\nfunction encodeValue(operator, value, key) {\n value = operator === \"+\" || operator === \"#\" ? encodeReserved(value) : encodeUnreserved(value);\n\n if (key) {\n return encodeUnreserved(key) + \"=\" + value;\n } else {\n return value;\n }\n}\n\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\n\nfunction isKeyOperator(operator) {\n return operator === \";\" || operator === \"&\" || operator === \"?\";\n}\n\nfunction getValues(context, operator, key, modifier) {\n var value = context[key],\n result = [];\n\n if (isDefined(value) && value !== \"\") {\n if (typeof value === \"string\" || typeof value === \"number\" || typeof value === \"boolean\") {\n value = value.toString();\n\n if (modifier && modifier !== \"*\") {\n value = value.substring(0, parseInt(modifier, 10));\n }\n\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n } else {\n if (modifier === \"*\") {\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n });\n } else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n result.push(encodeValue(operator, value[k], k));\n }\n });\n }\n } else {\n const tmp = [];\n\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n tmp.push(encodeValue(operator, value));\n });\n } else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n tmp.push(encodeUnreserved(k));\n tmp.push(encodeValue(operator, value[k].toString()));\n }\n });\n }\n\n if (isKeyOperator(operator)) {\n result.push(encodeUnreserved(key) + \"=\" + tmp.join(\",\"));\n } else if (tmp.length !== 0) {\n result.push(tmp.join(\",\"));\n }\n }\n }\n } else {\n if (operator === \";\") {\n if (isDefined(value)) {\n result.push(encodeUnreserved(key));\n }\n } else if (value === \"\" && (operator === \"&\" || operator === \"?\")) {\n result.push(encodeUnreserved(key) + \"=\");\n } else if (value === \"\") {\n result.push(\"\");\n }\n }\n\n return result;\n}\n\nfunction parseUrl(template) {\n return {\n expand: expand.bind(null, template)\n };\n}\n\nfunction expand(template, context) {\n var operators = [\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"];\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, function (_, expression, literal) {\n if (expression) {\n let operator = \"\";\n const values = [];\n\n if (operators.indexOf(expression.charAt(0)) !== -1) {\n operator = expression.charAt(0);\n expression = expression.substr(1);\n }\n\n expression.split(/,/g).forEach(function (variable) {\n var tmp = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(variable);\n values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));\n });\n\n if (operator && operator !== \"+\") {\n var separator = \",\";\n\n if (operator === \"?\") {\n separator = \"&\";\n } else if (operator !== \"#\") {\n separator = operator;\n }\n\n return (values.length !== 0 ? operator : \"\") + values.join(separator);\n } else {\n return values.join(\",\");\n }\n } else {\n return encodeReserved(literal);\n }\n });\n}\n\nfunction parse(options) {\n // https://fetch.spec.whatwg.org/#methods\n let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible\n\n let url = (options.url || \"/\").replace(/:([a-z]\\w+)/g, \"{$1}\");\n let headers = Object.assign({}, options.headers);\n let body;\n let parameters = omit(options, [\"method\", \"baseUrl\", \"url\", \"headers\", \"request\", \"mediaType\"]); // extract variable names from URL to calculate remaining variables later\n\n const urlVariableNames = extractUrlVariableNames(url);\n url = parseUrl(url).expand(parameters);\n\n if (!/^http/.test(url)) {\n url = options.baseUrl + url;\n }\n\n const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat(\"baseUrl\");\n const remainingParameters = omit(parameters, omittedParameters);\n const isBinaryRequest = /application\\/octet-stream/i.test(headers.accept);\n\n if (!isBinaryRequest) {\n if (options.mediaType.format) {\n // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw\n headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\\/vnd(\\.\\w+)(\\.v3)?(\\.\\w+)?(\\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(\",\");\n }\n\n if (options.mediaType.previews.length) {\n const previewsFromAcceptHeader = headers.accept.match(/[\\w-]+(?=-preview)/g) || [];\n headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => {\n const format = options.mediaType.format ? `.${options.mediaType.format}` : \"+json\";\n return `application/vnd.github.${preview}-preview${format}`;\n }).join(\",\");\n }\n } // for GET/HEAD requests, set URL query parameters from remaining parameters\n // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters\n\n\n if ([\"GET\", \"HEAD\"].includes(method)) {\n url = addQueryParameters(url, remainingParameters);\n } else {\n if (\"data\" in remainingParameters) {\n body = remainingParameters.data;\n } else {\n if (Object.keys(remainingParameters).length) {\n body = remainingParameters;\n } else {\n headers[\"content-length\"] = 0;\n }\n }\n } // default content-type for JSON if body is set\n\n\n if (!headers[\"content-type\"] && typeof body !== \"undefined\") {\n headers[\"content-type\"] = \"application/json; charset=utf-8\";\n } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.\n // fetch does not allow to set `content-length` header, but we can set body to an empty string\n\n\n if ([\"PATCH\", \"PUT\"].includes(method) && typeof body === \"undefined\") {\n body = \"\";\n } // Only return body/request keys if present\n\n\n return Object.assign({\n method,\n url,\n headers\n }, typeof body !== \"undefined\" ? {\n body\n } : null, options.request ? {\n request: options.request\n } : null);\n}\n\nfunction endpointWithDefaults(defaults, route, options) {\n return parse(merge(defaults, route, options));\n}\n\nfunction withDefaults(oldDefaults, newDefaults) {\n const DEFAULTS = merge(oldDefaults, newDefaults);\n const endpoint = endpointWithDefaults.bind(null, DEFAULTS);\n return Object.assign(endpoint, {\n DEFAULTS,\n defaults: withDefaults.bind(null, DEFAULTS),\n merge: merge.bind(null, DEFAULTS),\n parse\n });\n}\n\nconst VERSION = \"6.0.12\";\n\nconst userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url.\n// So we use RequestParameters and add method as additional required property.\n\nconst DEFAULTS = {\n method: \"GET\",\n baseUrl: \"https://api.github.com\",\n headers: {\n accept: \"application/vnd.github.v3+json\",\n \"user-agent\": userAgent\n },\n mediaType: {\n format: \"\",\n previews: []\n }\n};\n\nconst endpoint = withDefaults(null, DEFAULTS);\n\nexports.endpoint = endpoint;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 8467:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nvar request = __nccwpck_require__(6234);\nvar universalUserAgent = __nccwpck_require__(5030);\n\nconst VERSION = \"4.8.0\";\n\nfunction _buildMessageForResponseErrors(data) {\n return `Request failed due to following response errors:\\n` + data.errors.map(e => ` - ${e.message}`).join(\"\\n\");\n}\n\nclass GraphqlResponseError extends Error {\n constructor(request, headers, response) {\n super(_buildMessageForResponseErrors(response));\n this.request = request;\n this.headers = headers;\n this.response = response;\n this.name = \"GraphqlResponseError\"; // Expose the errors and response data in their shorthand properties.\n\n this.errors = response.errors;\n this.data = response.data; // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n\n}\n\nconst NON_VARIABLE_OPTIONS = [\"method\", \"baseUrl\", \"url\", \"headers\", \"request\", \"query\", \"mediaType\"];\nconst FORBIDDEN_VARIABLE_OPTIONS = [\"query\", \"method\", \"url\"];\nconst GHES_V3_SUFFIX_REGEX = /\\/api\\/v3\\/?$/;\nfunction graphql(request, query, options) {\n if (options) {\n if (typeof query === \"string\" && \"query\" in options) {\n return Promise.reject(new Error(`[@octokit/graphql] \"query\" cannot be used as variable name`));\n }\n\n for (const key in options) {\n if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue;\n return Promise.reject(new Error(`[@octokit/graphql] \"${key}\" cannot be used as variable name`));\n }\n }\n\n const parsedOptions = typeof query === \"string\" ? Object.assign({\n query\n }, options) : query;\n const requestOptions = Object.keys(parsedOptions).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = parsedOptions[key];\n return result;\n }\n\n if (!result.variables) {\n result.variables = {};\n }\n\n result.variables[key] = parsedOptions[key];\n return result;\n }, {}); // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix\n // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451\n\n const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl;\n\n if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {\n requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, \"/api/graphql\");\n }\n\n return request(requestOptions).then(response => {\n if (response.data.errors) {\n const headers = {};\n\n for (const key of Object.keys(response.headers)) {\n headers[key] = response.headers[key];\n }\n\n throw new GraphqlResponseError(requestOptions, headers, response.data);\n }\n\n return response.data.data;\n });\n}\n\nfunction withDefaults(request$1, newDefaults) {\n const newRequest = request$1.defaults(newDefaults);\n\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: request.request.endpoint\n });\n}\n\nconst graphql$1 = withDefaults(request.request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}`\n },\n method: \"POST\",\n url: \"/graphql\"\n});\nfunction withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\"\n });\n}\n\nexports.GraphqlResponseError = GraphqlResponseError;\nexports.graphql = graphql$1;\nexports.withCustomRequest = withCustomRequest;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 4193:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nconst VERSION = \"2.17.0\";\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\n/**\n * Some “list” response that can be paginated have a different response structure\n *\n * They have a `total_count` key in the response (search also has `incomplete_results`,\n * /installation/repositories also has `repository_selection`), as well as a key with\n * the list of the items which name varies from endpoint to endpoint.\n *\n * Octokit normalizes these responses so that paginated results are always returned following\n * the same structure. One challenge is that if the list response has only one page, no Link\n * header is provided, so this header alone is not sufficient to check wether a response is\n * paginated or not.\n *\n * We check if a \"total_count\" key is present in the response data, but also make sure that\n * a \"url\" property is not, as the \"Get the combined status for a specific ref\" endpoint would\n * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref\n */\nfunction normalizePaginatedListResponse(response) {\n // endpoints can respond with 204 if repository is empty\n if (!response.data) {\n return _objectSpread2(_objectSpread2({}, response), {}, {\n data: []\n });\n }\n\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization) return response; // keep the additional properties intact as there is currently no other way\n // to retrieve the same information.\n\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n\n response.data.total_count = totalCount;\n return response;\n}\n\nfunction iterator(octokit, route, parameters) {\n const options = typeof route === \"function\" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n async next() {\n if (!url) return {\n done: true\n };\n\n try {\n const response = await requestMethod({\n method,\n url,\n headers\n });\n const normalizedResponse = normalizePaginatedListResponse(response); // `response.headers.link` format:\n // '; rel=\"next\", ; rel=\"last\"'\n // sets `url` to undefined if \"next\" URL is not present or `link` header is not set\n\n url = ((normalizedResponse.headers.link || \"\").match(/<([^>]+)>;\\s*rel=\"next\"/) || [])[1];\n return {\n value: normalizedResponse\n };\n } catch (error) {\n if (error.status !== 409) throw error;\n url = \"\";\n return {\n value: {\n status: 200,\n headers: {},\n data: []\n }\n };\n }\n }\n\n })\n };\n}\n\nfunction paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = undefined;\n }\n\n return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);\n}\n\nfunction gather(octokit, results, iterator, mapFn) {\n return iterator.next().then(result => {\n if (result.done) {\n return results;\n }\n\n let earlyExit = false;\n\n function done() {\n earlyExit = true;\n }\n\n results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);\n\n if (earlyExit) {\n return results;\n }\n\n return gather(octokit, results, iterator, mapFn);\n });\n}\n\nconst composePaginateRest = Object.assign(paginate, {\n iterator\n});\n\nconst paginatingEndpoints = [\"GET /app/hook/deliveries\", \"GET /app/installations\", \"GET /applications/grants\", \"GET /authorizations\", \"GET /enterprises/{enterprise}/actions/permissions/organizations\", \"GET /enterprises/{enterprise}/actions/runner-groups\", \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations\", \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners\", \"GET /enterprises/{enterprise}/actions/runners\", \"GET /enterprises/{enterprise}/actions/runners/downloads\", \"GET /events\", \"GET /gists\", \"GET /gists/public\", \"GET /gists/starred\", \"GET /gists/{gist_id}/comments\", \"GET /gists/{gist_id}/commits\", \"GET /gists/{gist_id}/forks\", \"GET /installation/repositories\", \"GET /issues\", \"GET /marketplace_listing/plans\", \"GET /marketplace_listing/plans/{plan_id}/accounts\", \"GET /marketplace_listing/stubbed/plans\", \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\", \"GET /networks/{owner}/{repo}/events\", \"GET /notifications\", \"GET /organizations\", \"GET /orgs/{org}/actions/permissions/repositories\", \"GET /orgs/{org}/actions/runner-groups\", \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories\", \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners\", \"GET /orgs/{org}/actions/runners\", \"GET /orgs/{org}/actions/runners/downloads\", \"GET /orgs/{org}/actions/secrets\", \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\", \"GET /orgs/{org}/blocks\", \"GET /orgs/{org}/credential-authorizations\", \"GET /orgs/{org}/events\", \"GET /orgs/{org}/failed_invitations\", \"GET /orgs/{org}/hooks\", \"GET /orgs/{org}/hooks/{hook_id}/deliveries\", \"GET /orgs/{org}/installations\", \"GET /orgs/{org}/invitations\", \"GET /orgs/{org}/invitations/{invitation_id}/teams\", \"GET /orgs/{org}/issues\", \"GET /orgs/{org}/members\", \"GET /orgs/{org}/migrations\", \"GET /orgs/{org}/migrations/{migration_id}/repositories\", \"GET /orgs/{org}/outside_collaborators\", \"GET /orgs/{org}/packages\", \"GET /orgs/{org}/projects\", \"GET /orgs/{org}/public_members\", \"GET /orgs/{org}/repos\", \"GET /orgs/{org}/secret-scanning/alerts\", \"GET /orgs/{org}/team-sync/groups\", \"GET /orgs/{org}/teams\", \"GET /orgs/{org}/teams/{team_slug}/discussions\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\", \"GET /orgs/{org}/teams/{team_slug}/invitations\", \"GET /orgs/{org}/teams/{team_slug}/members\", \"GET /orgs/{org}/teams/{team_slug}/projects\", \"GET /orgs/{org}/teams/{team_slug}/repos\", \"GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings\", \"GET /orgs/{org}/teams/{team_slug}/teams\", \"GET /projects/columns/{column_id}/cards\", \"GET /projects/{project_id}/collaborators\", \"GET /projects/{project_id}/columns\", \"GET /repos/{owner}/{repo}/actions/artifacts\", \"GET /repos/{owner}/{repo}/actions/runners\", \"GET /repos/{owner}/{repo}/actions/runners/downloads\", \"GET /repos/{owner}/{repo}/actions/runs\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\", \"GET /repos/{owner}/{repo}/actions/secrets\", \"GET /repos/{owner}/{repo}/actions/workflows\", \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\", \"GET /repos/{owner}/{repo}/assignees\", \"GET /repos/{owner}/{repo}/autolinks\", \"GET /repos/{owner}/{repo}/branches\", \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\", \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\", \"GET /repos/{owner}/{repo}/code-scanning/alerts\", \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\", \"GET /repos/{owner}/{repo}/code-scanning/analyses\", \"GET /repos/{owner}/{repo}/collaborators\", \"GET /repos/{owner}/{repo}/comments\", \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/commits\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\", \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\", \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\", \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\", \"GET /repos/{owner}/{repo}/contributors\", \"GET /repos/{owner}/{repo}/deployments\", \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\", \"GET /repos/{owner}/{repo}/events\", \"GET /repos/{owner}/{repo}/forks\", \"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\", \"GET /repos/{owner}/{repo}/hooks\", \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\", \"GET /repos/{owner}/{repo}/invitations\", \"GET /repos/{owner}/{repo}/issues\", \"GET /repos/{owner}/{repo}/issues/comments\", \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/issues/events\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/events\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\", \"GET /repos/{owner}/{repo}/keys\", \"GET /repos/{owner}/{repo}/labels\", \"GET /repos/{owner}/{repo}/milestones\", \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\", \"GET /repos/{owner}/{repo}/notifications\", \"GET /repos/{owner}/{repo}/pages/builds\", \"GET /repos/{owner}/{repo}/projects\", \"GET /repos/{owner}/{repo}/pulls\", \"GET /repos/{owner}/{repo}/pulls/comments\", \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\", \"GET /repos/{owner}/{repo}/releases\", \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\", \"GET /repos/{owner}/{repo}/secret-scanning/alerts\", \"GET /repos/{owner}/{repo}/stargazers\", \"GET /repos/{owner}/{repo}/subscribers\", \"GET /repos/{owner}/{repo}/tags\", \"GET /repos/{owner}/{repo}/teams\", \"GET /repositories\", \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\", \"GET /scim/v2/enterprises/{enterprise}/Groups\", \"GET /scim/v2/enterprises/{enterprise}/Users\", \"GET /scim/v2/organizations/{org}/Users\", \"GET /search/code\", \"GET /search/commits\", \"GET /search/issues\", \"GET /search/labels\", \"GET /search/repositories\", \"GET /search/topics\", \"GET /search/users\", \"GET /teams/{team_id}/discussions\", \"GET /teams/{team_id}/discussions/{discussion_number}/comments\", \"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions\", \"GET /teams/{team_id}/discussions/{discussion_number}/reactions\", \"GET /teams/{team_id}/invitations\", \"GET /teams/{team_id}/members\", \"GET /teams/{team_id}/projects\", \"GET /teams/{team_id}/repos\", \"GET /teams/{team_id}/team-sync/group-mappings\", \"GET /teams/{team_id}/teams\", \"GET /user/blocks\", \"GET /user/emails\", \"GET /user/followers\", \"GET /user/following\", \"GET /user/gpg_keys\", \"GET /user/installations\", \"GET /user/installations/{installation_id}/repositories\", \"GET /user/issues\", \"GET /user/keys\", \"GET /user/marketplace_purchases\", \"GET /user/marketplace_purchases/stubbed\", \"GET /user/memberships/orgs\", \"GET /user/migrations\", \"GET /user/migrations/{migration_id}/repositories\", \"GET /user/orgs\", \"GET /user/packages\", \"GET /user/public_emails\", \"GET /user/repos\", \"GET /user/repository_invitations\", \"GET /user/starred\", \"GET /user/subscriptions\", \"GET /user/teams\", \"GET /users\", \"GET /users/{username}/events\", \"GET /users/{username}/events/orgs/{org}\", \"GET /users/{username}/events/public\", \"GET /users/{username}/followers\", \"GET /users/{username}/following\", \"GET /users/{username}/gists\", \"GET /users/{username}/gpg_keys\", \"GET /users/{username}/keys\", \"GET /users/{username}/orgs\", \"GET /users/{username}/packages\", \"GET /users/{username}/projects\", \"GET /users/{username}/received_events\", \"GET /users/{username}/received_events/public\", \"GET /users/{username}/repos\", \"GET /users/{username}/starred\", \"GET /users/{username}/subscriptions\"];\n\nfunction isPaginatingEndpoint(arg) {\n if (typeof arg === \"string\") {\n return paginatingEndpoints.includes(arg);\n } else {\n return false;\n }\n}\n\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\n\nfunction paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit)\n })\n };\n}\npaginateRest.VERSION = VERSION;\n\nexports.composePaginateRest = composePaginateRest;\nexports.isPaginatingEndpoint = isPaginatingEndpoint;\nexports.paginateRest = paginateRest;\nexports.paginatingEndpoints = paginatingEndpoints;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 8883:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nconst VERSION = \"1.0.4\";\n\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\n\nfunction requestLog(octokit) {\n octokit.hook.wrap(\"request\", (request, options) => {\n octokit.log.debug(\"request\", options);\n const start = Date.now();\n const requestOptions = octokit.request.endpoint.parse(options);\n const path = requestOptions.url.replace(options.baseUrl, \"\");\n return request(options).then(response => {\n octokit.log.info(`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`);\n return response;\n }).catch(error => {\n octokit.log.info(`${requestOptions.method} ${path} - ${error.status} in ${Date.now() - start}ms`);\n throw error;\n });\n });\n}\nrequestLog.VERSION = VERSION;\n\nexports.requestLog = requestLog;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 3044:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nconst Endpoints = {\n actions: {\n addSelectedRepoToOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\"],\n approveWorkflowRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve\"],\n cancelWorkflowRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel\"],\n createOrUpdateEnvironmentSecret: [\"PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n createRegistrationTokenForOrg: [\"POST /orgs/{org}/actions/runners/registration-token\"],\n createRegistrationTokenForRepo: [\"POST /repos/{owner}/{repo}/actions/runners/registration-token\"],\n createRemoveTokenForOrg: [\"POST /orgs/{org}/actions/runners/remove-token\"],\n createRemoveTokenForRepo: [\"POST /repos/{owner}/{repo}/actions/runners/remove-token\"],\n createWorkflowDispatch: [\"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches\"],\n deleteArtifact: [\"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n deleteEnvironmentSecret: [\"DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n deleteOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}\"],\n deleteRepoSecret: [\"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n deleteSelfHostedRunnerFromOrg: [\"DELETE /orgs/{org}/actions/runners/{runner_id}\"],\n deleteSelfHostedRunnerFromRepo: [\"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\"],\n deleteWorkflowRun: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n deleteWorkflowRunLogs: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs\"],\n disableSelectedRepositoryGithubActionsOrganization: [\"DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}\"],\n disableWorkflow: [\"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable\"],\n downloadArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}\"],\n downloadJobLogsForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\"],\n downloadWorkflowRunAttemptLogs: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs\"],\n downloadWorkflowRunLogs: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\"],\n enableSelectedRepositoryGithubActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/repositories/{repository_id}\"],\n enableWorkflow: [\"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable\"],\n getAllowedActionsOrganization: [\"GET /orgs/{org}/actions/permissions/selected-actions\"],\n getAllowedActionsRepository: [\"GET /repos/{owner}/{repo}/actions/permissions/selected-actions\"],\n getArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n getEnvironmentPublicKey: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key\"],\n getEnvironmentSecret: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n getGithubActionsPermissionsOrganization: [\"GET /orgs/{org}/actions/permissions\"],\n getGithubActionsPermissionsRepository: [\"GET /repos/{owner}/{repo}/actions/permissions\"],\n getJobForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/actions/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}\"],\n getPendingDeploymentsForRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\"],\n getRepoPermissions: [\"GET /repos/{owner}/{repo}/actions/permissions\", {}, {\n renamed: [\"actions\", \"getGithubActionsPermissionsRepository\"]\n }],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/actions/secrets/public-key\"],\n getRepoSecret: [\"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n getReviewsForRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals\"],\n getSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}\"],\n getSelfHostedRunnerForRepo: [\"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\"],\n getWorkflow: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}\"],\n getWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n getWorkflowRunAttempt: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}\"],\n getWorkflowRunUsage: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing\"],\n getWorkflowUsage: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing\"],\n listArtifactsForRepo: [\"GET /repos/{owner}/{repo}/actions/artifacts\"],\n listEnvironmentSecrets: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets\"],\n listJobsForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\"],\n listJobsForWorkflowRunAttempt: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs\"],\n listOrgSecrets: [\"GET /orgs/{org}/actions/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/actions/secrets\"],\n listRepoWorkflows: [\"GET /repos/{owner}/{repo}/actions/workflows\"],\n listRunnerApplicationsForOrg: [\"GET /orgs/{org}/actions/runners/downloads\"],\n listRunnerApplicationsForRepo: [\"GET /repos/{owner}/{repo}/actions/runners/downloads\"],\n listSelectedReposForOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\"],\n listSelectedRepositoriesEnabledGithubActionsOrganization: [\"GET /orgs/{org}/actions/permissions/repositories\"],\n listSelfHostedRunnersForOrg: [\"GET /orgs/{org}/actions/runners\"],\n listSelfHostedRunnersForRepo: [\"GET /repos/{owner}/{repo}/actions/runners\"],\n listWorkflowRunArtifacts: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\"],\n listWorkflowRuns: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\"],\n listWorkflowRunsForRepo: [\"GET /repos/{owner}/{repo}/actions/runs\"],\n removeSelectedRepoFromOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\"],\n reviewPendingDeploymentsForRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\"],\n setAllowedActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/selected-actions\"],\n setAllowedActionsRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions/selected-actions\"],\n setGithubActionsPermissionsOrganization: [\"PUT /orgs/{org}/actions/permissions\"],\n setGithubActionsPermissionsRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions\"],\n setSelectedReposForOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories\"],\n setSelectedRepositoriesEnabledGithubActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/repositories\"]\n },\n activity: {\n checkRepoIsStarredByAuthenticatedUser: [\"GET /user/starred/{owner}/{repo}\"],\n deleteRepoSubscription: [\"DELETE /repos/{owner}/{repo}/subscription\"],\n deleteThreadSubscription: [\"DELETE /notifications/threads/{thread_id}/subscription\"],\n getFeeds: [\"GET /feeds\"],\n getRepoSubscription: [\"GET /repos/{owner}/{repo}/subscription\"],\n getThread: [\"GET /notifications/threads/{thread_id}\"],\n getThreadSubscriptionForAuthenticatedUser: [\"GET /notifications/threads/{thread_id}/subscription\"],\n listEventsForAuthenticatedUser: [\"GET /users/{username}/events\"],\n listNotificationsForAuthenticatedUser: [\"GET /notifications\"],\n listOrgEventsForAuthenticatedUser: [\"GET /users/{username}/events/orgs/{org}\"],\n listPublicEvents: [\"GET /events\"],\n listPublicEventsForRepoNetwork: [\"GET /networks/{owner}/{repo}/events\"],\n listPublicEventsForUser: [\"GET /users/{username}/events/public\"],\n listPublicOrgEvents: [\"GET /orgs/{org}/events\"],\n listReceivedEventsForUser: [\"GET /users/{username}/received_events\"],\n listReceivedPublicEventsForUser: [\"GET /users/{username}/received_events/public\"],\n listRepoEvents: [\"GET /repos/{owner}/{repo}/events\"],\n listRepoNotificationsForAuthenticatedUser: [\"GET /repos/{owner}/{repo}/notifications\"],\n listReposStarredByAuthenticatedUser: [\"GET /user/starred\"],\n listReposStarredByUser: [\"GET /users/{username}/starred\"],\n listReposWatchedByUser: [\"GET /users/{username}/subscriptions\"],\n listStargazersForRepo: [\"GET /repos/{owner}/{repo}/stargazers\"],\n listWatchedReposForAuthenticatedUser: [\"GET /user/subscriptions\"],\n listWatchersForRepo: [\"GET /repos/{owner}/{repo}/subscribers\"],\n markNotificationsAsRead: [\"PUT /notifications\"],\n markRepoNotificationsAsRead: [\"PUT /repos/{owner}/{repo}/notifications\"],\n markThreadAsRead: [\"PATCH /notifications/threads/{thread_id}\"],\n setRepoSubscription: [\"PUT /repos/{owner}/{repo}/subscription\"],\n setThreadSubscription: [\"PUT /notifications/threads/{thread_id}/subscription\"],\n starRepoForAuthenticatedUser: [\"PUT /user/starred/{owner}/{repo}\"],\n unstarRepoForAuthenticatedUser: [\"DELETE /user/starred/{owner}/{repo}\"]\n },\n apps: {\n addRepoToInstallation: [\"PUT /user/installations/{installation_id}/repositories/{repository_id}\", {}, {\n renamed: [\"apps\", \"addRepoToInstallationForAuthenticatedUser\"]\n }],\n addRepoToInstallationForAuthenticatedUser: [\"PUT /user/installations/{installation_id}/repositories/{repository_id}\"],\n checkToken: [\"POST /applications/{client_id}/token\"],\n createContentAttachment: [\"POST /content_references/{content_reference_id}/attachments\", {\n mediaType: {\n previews: [\"corsair\"]\n }\n }],\n createContentAttachmentForRepo: [\"POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments\", {\n mediaType: {\n previews: [\"corsair\"]\n }\n }],\n createFromManifest: [\"POST /app-manifests/{code}/conversions\"],\n createInstallationAccessToken: [\"POST /app/installations/{installation_id}/access_tokens\"],\n deleteAuthorization: [\"DELETE /applications/{client_id}/grant\"],\n deleteInstallation: [\"DELETE /app/installations/{installation_id}\"],\n deleteToken: [\"DELETE /applications/{client_id}/token\"],\n getAuthenticated: [\"GET /app\"],\n getBySlug: [\"GET /apps/{app_slug}\"],\n getInstallation: [\"GET /app/installations/{installation_id}\"],\n getOrgInstallation: [\"GET /orgs/{org}/installation\"],\n getRepoInstallation: [\"GET /repos/{owner}/{repo}/installation\"],\n getSubscriptionPlanForAccount: [\"GET /marketplace_listing/accounts/{account_id}\"],\n getSubscriptionPlanForAccountStubbed: [\"GET /marketplace_listing/stubbed/accounts/{account_id}\"],\n getUserInstallation: [\"GET /users/{username}/installation\"],\n getWebhookConfigForApp: [\"GET /app/hook/config\"],\n getWebhookDelivery: [\"GET /app/hook/deliveries/{delivery_id}\"],\n listAccountsForPlan: [\"GET /marketplace_listing/plans/{plan_id}/accounts\"],\n listAccountsForPlanStubbed: [\"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\"],\n listInstallationReposForAuthenticatedUser: [\"GET /user/installations/{installation_id}/repositories\"],\n listInstallations: [\"GET /app/installations\"],\n listInstallationsForAuthenticatedUser: [\"GET /user/installations\"],\n listPlans: [\"GET /marketplace_listing/plans\"],\n listPlansStubbed: [\"GET /marketplace_listing/stubbed/plans\"],\n listReposAccessibleToInstallation: [\"GET /installation/repositories\"],\n listSubscriptionsForAuthenticatedUser: [\"GET /user/marketplace_purchases\"],\n listSubscriptionsForAuthenticatedUserStubbed: [\"GET /user/marketplace_purchases/stubbed\"],\n listWebhookDeliveries: [\"GET /app/hook/deliveries\"],\n redeliverWebhookDelivery: [\"POST /app/hook/deliveries/{delivery_id}/attempts\"],\n removeRepoFromInstallation: [\"DELETE /user/installations/{installation_id}/repositories/{repository_id}\", {}, {\n renamed: [\"apps\", \"removeRepoFromInstallationForAuthenticatedUser\"]\n }],\n removeRepoFromInstallationForAuthenticatedUser: [\"DELETE /user/installations/{installation_id}/repositories/{repository_id}\"],\n resetToken: [\"PATCH /applications/{client_id}/token\"],\n revokeInstallationAccessToken: [\"DELETE /installation/token\"],\n scopeToken: [\"POST /applications/{client_id}/token/scoped\"],\n suspendInstallation: [\"PUT /app/installations/{installation_id}/suspended\"],\n unsuspendInstallation: [\"DELETE /app/installations/{installation_id}/suspended\"],\n updateWebhookConfigForApp: [\"PATCH /app/hook/config\"]\n },\n billing: {\n getGithubActionsBillingOrg: [\"GET /orgs/{org}/settings/billing/actions\"],\n getGithubActionsBillingUser: [\"GET /users/{username}/settings/billing/actions\"],\n getGithubPackagesBillingOrg: [\"GET /orgs/{org}/settings/billing/packages\"],\n getGithubPackagesBillingUser: [\"GET /users/{username}/settings/billing/packages\"],\n getSharedStorageBillingOrg: [\"GET /orgs/{org}/settings/billing/shared-storage\"],\n getSharedStorageBillingUser: [\"GET /users/{username}/settings/billing/shared-storage\"]\n },\n checks: {\n create: [\"POST /repos/{owner}/{repo}/check-runs\"],\n createSuite: [\"POST /repos/{owner}/{repo}/check-suites\"],\n get: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}\"],\n getSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}\"],\n listAnnotations: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\"],\n listForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\"],\n listForSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\"],\n listSuitesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\"],\n rerequestRun: [\"POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest\"],\n rerequestSuite: [\"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest\"],\n setSuitesPreferences: [\"PATCH /repos/{owner}/{repo}/check-suites/preferences\"],\n update: [\"PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}\"]\n },\n codeScanning: {\n deleteAnalysis: [\"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}\"],\n getAlert: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\", {}, {\n renamedParameters: {\n alert_id: \"alert_number\"\n }\n }],\n getAnalysis: [\"GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}\"],\n getSarif: [\"GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}\"],\n listAlertInstances: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/code-scanning/alerts\"],\n listAlertsInstances: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\", {}, {\n renamed: [\"codeScanning\", \"listAlertInstances\"]\n }],\n listRecentAnalyses: [\"GET /repos/{owner}/{repo}/code-scanning/analyses\"],\n updateAlert: [\"PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\"],\n uploadSarif: [\"POST /repos/{owner}/{repo}/code-scanning/sarifs\"]\n },\n codesOfConduct: {\n getAllCodesOfConduct: [\"GET /codes_of_conduct\"],\n getConductCode: [\"GET /codes_of_conduct/{key}\"]\n },\n emojis: {\n get: [\"GET /emojis\"]\n },\n enterpriseAdmin: {\n disableSelectedOrganizationGithubActionsEnterprise: [\"DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\"],\n enableSelectedOrganizationGithubActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\"],\n getAllowedActionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions/selected-actions\"],\n getGithubActionsPermissionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions\"],\n listSelectedOrganizationsEnabledGithubActionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions/organizations\"],\n setAllowedActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/selected-actions\"],\n setGithubActionsPermissionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions\"],\n setSelectedOrganizationsEnabledGithubActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/organizations\"]\n },\n gists: {\n checkIsStarred: [\"GET /gists/{gist_id}/star\"],\n create: [\"POST /gists\"],\n createComment: [\"POST /gists/{gist_id}/comments\"],\n delete: [\"DELETE /gists/{gist_id}\"],\n deleteComment: [\"DELETE /gists/{gist_id}/comments/{comment_id}\"],\n fork: [\"POST /gists/{gist_id}/forks\"],\n get: [\"GET /gists/{gist_id}\"],\n getComment: [\"GET /gists/{gist_id}/comments/{comment_id}\"],\n getRevision: [\"GET /gists/{gist_id}/{sha}\"],\n list: [\"GET /gists\"],\n listComments: [\"GET /gists/{gist_id}/comments\"],\n listCommits: [\"GET /gists/{gist_id}/commits\"],\n listForUser: [\"GET /users/{username}/gists\"],\n listForks: [\"GET /gists/{gist_id}/forks\"],\n listPublic: [\"GET /gists/public\"],\n listStarred: [\"GET /gists/starred\"],\n star: [\"PUT /gists/{gist_id}/star\"],\n unstar: [\"DELETE /gists/{gist_id}/star\"],\n update: [\"PATCH /gists/{gist_id}\"],\n updateComment: [\"PATCH /gists/{gist_id}/comments/{comment_id}\"]\n },\n git: {\n createBlob: [\"POST /repos/{owner}/{repo}/git/blobs\"],\n createCommit: [\"POST /repos/{owner}/{repo}/git/commits\"],\n createRef: [\"POST /repos/{owner}/{repo}/git/refs\"],\n createTag: [\"POST /repos/{owner}/{repo}/git/tags\"],\n createTree: [\"POST /repos/{owner}/{repo}/git/trees\"],\n deleteRef: [\"DELETE /repos/{owner}/{repo}/git/refs/{ref}\"],\n getBlob: [\"GET /repos/{owner}/{repo}/git/blobs/{file_sha}\"],\n getCommit: [\"GET /repos/{owner}/{repo}/git/commits/{commit_sha}\"],\n getRef: [\"GET /repos/{owner}/{repo}/git/ref/{ref}\"],\n getTag: [\"GET /repos/{owner}/{repo}/git/tags/{tag_sha}\"],\n getTree: [\"GET /repos/{owner}/{repo}/git/trees/{tree_sha}\"],\n listMatchingRefs: [\"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\"],\n updateRef: [\"PATCH /repos/{owner}/{repo}/git/refs/{ref}\"]\n },\n gitignore: {\n getAllTemplates: [\"GET /gitignore/templates\"],\n getTemplate: [\"GET /gitignore/templates/{name}\"]\n },\n interactions: {\n getRestrictionsForAuthenticatedUser: [\"GET /user/interaction-limits\"],\n getRestrictionsForOrg: [\"GET /orgs/{org}/interaction-limits\"],\n getRestrictionsForRepo: [\"GET /repos/{owner}/{repo}/interaction-limits\"],\n getRestrictionsForYourPublicRepos: [\"GET /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"getRestrictionsForAuthenticatedUser\"]\n }],\n removeRestrictionsForAuthenticatedUser: [\"DELETE /user/interaction-limits\"],\n removeRestrictionsForOrg: [\"DELETE /orgs/{org}/interaction-limits\"],\n removeRestrictionsForRepo: [\"DELETE /repos/{owner}/{repo}/interaction-limits\"],\n removeRestrictionsForYourPublicRepos: [\"DELETE /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"removeRestrictionsForAuthenticatedUser\"]\n }],\n setRestrictionsForAuthenticatedUser: [\"PUT /user/interaction-limits\"],\n setRestrictionsForOrg: [\"PUT /orgs/{org}/interaction-limits\"],\n setRestrictionsForRepo: [\"PUT /repos/{owner}/{repo}/interaction-limits\"],\n setRestrictionsForYourPublicRepos: [\"PUT /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"setRestrictionsForAuthenticatedUser\"]\n }]\n },\n issues: {\n addAssignees: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees\"],\n addLabels: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n checkUserCanBeAssigned: [\"GET /repos/{owner}/{repo}/assignees/{assignee}\"],\n create: [\"POST /repos/{owner}/{repo}/issues\"],\n createComment: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n createLabel: [\"POST /repos/{owner}/{repo}/labels\"],\n createMilestone: [\"POST /repos/{owner}/{repo}/milestones\"],\n deleteComment: [\"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n deleteLabel: [\"DELETE /repos/{owner}/{repo}/labels/{name}\"],\n deleteMilestone: [\"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n get: [\"GET /repos/{owner}/{repo}/issues/{issue_number}\"],\n getComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n getEvent: [\"GET /repos/{owner}/{repo}/issues/events/{event_id}\"],\n getLabel: [\"GET /repos/{owner}/{repo}/labels/{name}\"],\n getMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n list: [\"GET /issues\"],\n listAssignees: [\"GET /repos/{owner}/{repo}/assignees\"],\n listComments: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n listCommentsForRepo: [\"GET /repos/{owner}/{repo}/issues/comments\"],\n listEvents: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/events\"],\n listEventsForRepo: [\"GET /repos/{owner}/{repo}/issues/events\"],\n listEventsForTimeline: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\"],\n listForAuthenticatedUser: [\"GET /user/issues\"],\n listForOrg: [\"GET /orgs/{org}/issues\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/issues\"],\n listLabelsForMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\"],\n listLabelsForRepo: [\"GET /repos/{owner}/{repo}/labels\"],\n listLabelsOnIssue: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n listMilestones: [\"GET /repos/{owner}/{repo}/milestones\"],\n lock: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n removeAllLabels: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n removeAssignees: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees\"],\n removeLabel: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}\"],\n setLabels: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n unlock: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n update: [\"PATCH /repos/{owner}/{repo}/issues/{issue_number}\"],\n updateComment: [\"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n updateLabel: [\"PATCH /repos/{owner}/{repo}/labels/{name}\"],\n updateMilestone: [\"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}\"]\n },\n licenses: {\n get: [\"GET /licenses/{license}\"],\n getAllCommonlyUsed: [\"GET /licenses\"],\n getForRepo: [\"GET /repos/{owner}/{repo}/license\"]\n },\n markdown: {\n render: [\"POST /markdown\"],\n renderRaw: [\"POST /markdown/raw\", {\n headers: {\n \"content-type\": \"text/plain; charset=utf-8\"\n }\n }]\n },\n meta: {\n get: [\"GET /meta\"],\n getOctocat: [\"GET /octocat\"],\n getZen: [\"GET /zen\"],\n root: [\"GET /\"]\n },\n migrations: {\n cancelImport: [\"DELETE /repos/{owner}/{repo}/import\"],\n deleteArchiveForAuthenticatedUser: [\"DELETE /user/migrations/{migration_id}/archive\"],\n deleteArchiveForOrg: [\"DELETE /orgs/{org}/migrations/{migration_id}/archive\"],\n downloadArchiveForOrg: [\"GET /orgs/{org}/migrations/{migration_id}/archive\"],\n getArchiveForAuthenticatedUser: [\"GET /user/migrations/{migration_id}/archive\"],\n getCommitAuthors: [\"GET /repos/{owner}/{repo}/import/authors\"],\n getImportStatus: [\"GET /repos/{owner}/{repo}/import\"],\n getLargeFiles: [\"GET /repos/{owner}/{repo}/import/large_files\"],\n getStatusForAuthenticatedUser: [\"GET /user/migrations/{migration_id}\"],\n getStatusForOrg: [\"GET /orgs/{org}/migrations/{migration_id}\"],\n listForAuthenticatedUser: [\"GET /user/migrations\"],\n listForOrg: [\"GET /orgs/{org}/migrations\"],\n listReposForAuthenticatedUser: [\"GET /user/migrations/{migration_id}/repositories\"],\n listReposForOrg: [\"GET /orgs/{org}/migrations/{migration_id}/repositories\"],\n listReposForUser: [\"GET /user/migrations/{migration_id}/repositories\", {}, {\n renamed: [\"migrations\", \"listReposForAuthenticatedUser\"]\n }],\n mapCommitAuthor: [\"PATCH /repos/{owner}/{repo}/import/authors/{author_id}\"],\n setLfsPreference: [\"PATCH /repos/{owner}/{repo}/import/lfs\"],\n startForAuthenticatedUser: [\"POST /user/migrations\"],\n startForOrg: [\"POST /orgs/{org}/migrations\"],\n startImport: [\"PUT /repos/{owner}/{repo}/import\"],\n unlockRepoForAuthenticatedUser: [\"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock\"],\n unlockRepoForOrg: [\"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock\"],\n updateImport: [\"PATCH /repos/{owner}/{repo}/import\"]\n },\n orgs: {\n blockUser: [\"PUT /orgs/{org}/blocks/{username}\"],\n cancelInvitation: [\"DELETE /orgs/{org}/invitations/{invitation_id}\"],\n checkBlockedUser: [\"GET /orgs/{org}/blocks/{username}\"],\n checkMembershipForUser: [\"GET /orgs/{org}/members/{username}\"],\n checkPublicMembershipForUser: [\"GET /orgs/{org}/public_members/{username}\"],\n convertMemberToOutsideCollaborator: [\"PUT /orgs/{org}/outside_collaborators/{username}\"],\n createInvitation: [\"POST /orgs/{org}/invitations\"],\n createWebhook: [\"POST /orgs/{org}/hooks\"],\n deleteWebhook: [\"DELETE /orgs/{org}/hooks/{hook_id}\"],\n get: [\"GET /orgs/{org}\"],\n getMembershipForAuthenticatedUser: [\"GET /user/memberships/orgs/{org}\"],\n getMembershipForUser: [\"GET /orgs/{org}/memberships/{username}\"],\n getWebhook: [\"GET /orgs/{org}/hooks/{hook_id}\"],\n getWebhookConfigForOrg: [\"GET /orgs/{org}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}\"],\n list: [\"GET /organizations\"],\n listAppInstallations: [\"GET /orgs/{org}/installations\"],\n listBlockedUsers: [\"GET /orgs/{org}/blocks\"],\n listFailedInvitations: [\"GET /orgs/{org}/failed_invitations\"],\n listForAuthenticatedUser: [\"GET /user/orgs\"],\n listForUser: [\"GET /users/{username}/orgs\"],\n listInvitationTeams: [\"GET /orgs/{org}/invitations/{invitation_id}/teams\"],\n listMembers: [\"GET /orgs/{org}/members\"],\n listMembershipsForAuthenticatedUser: [\"GET /user/memberships/orgs\"],\n listOutsideCollaborators: [\"GET /orgs/{org}/outside_collaborators\"],\n listPendingInvitations: [\"GET /orgs/{org}/invitations\"],\n listPublicMembers: [\"GET /orgs/{org}/public_members\"],\n listWebhookDeliveries: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /orgs/{org}/hooks\"],\n pingWebhook: [\"POST /orgs/{org}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\"],\n removeMember: [\"DELETE /orgs/{org}/members/{username}\"],\n removeMembershipForUser: [\"DELETE /orgs/{org}/memberships/{username}\"],\n removeOutsideCollaborator: [\"DELETE /orgs/{org}/outside_collaborators/{username}\"],\n removePublicMembershipForAuthenticatedUser: [\"DELETE /orgs/{org}/public_members/{username}\"],\n setMembershipForUser: [\"PUT /orgs/{org}/memberships/{username}\"],\n setPublicMembershipForAuthenticatedUser: [\"PUT /orgs/{org}/public_members/{username}\"],\n unblockUser: [\"DELETE /orgs/{org}/blocks/{username}\"],\n update: [\"PATCH /orgs/{org}\"],\n updateMembershipForAuthenticatedUser: [\"PATCH /user/memberships/orgs/{org}\"],\n updateWebhook: [\"PATCH /orgs/{org}/hooks/{hook_id}\"],\n updateWebhookConfigForOrg: [\"PATCH /orgs/{org}/hooks/{hook_id}/config\"]\n },\n packages: {\n deletePackageForAuthenticatedUser: [\"DELETE /user/packages/{package_type}/{package_name}\"],\n deletePackageForOrg: [\"DELETE /orgs/{org}/packages/{package_type}/{package_name}\"],\n deletePackageForUser: [\"DELETE /users/{username}/packages/{package_type}/{package_name}\"],\n deletePackageVersionForAuthenticatedUser: [\"DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n deletePackageVersionForOrg: [\"DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n deletePackageVersionForUser: [\"DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getAllPackageVersionsForAPackageOwnedByAnOrg: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\", {}, {\n renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByOrg\"]\n }],\n getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions\", {}, {\n renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByAuthenticatedUser\"]\n }],\n getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions\"],\n getAllPackageVersionsForPackageOwnedByOrg: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\"],\n getAllPackageVersionsForPackageOwnedByUser: [\"GET /users/{username}/packages/{package_type}/{package_name}/versions\"],\n getPackageForAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}\"],\n getPackageForOrganization: [\"GET /orgs/{org}/packages/{package_type}/{package_name}\"],\n getPackageForUser: [\"GET /users/{username}/packages/{package_type}/{package_name}\"],\n getPackageVersionForAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getPackageVersionForOrganization: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getPackageVersionForUser: [\"GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n listPackagesForAuthenticatedUser: [\"GET /user/packages\"],\n listPackagesForOrganization: [\"GET /orgs/{org}/packages\"],\n listPackagesForUser: [\"GET /users/{username}/packages\"],\n restorePackageForAuthenticatedUser: [\"POST /user/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageForOrg: [\"POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageForUser: [\"POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageVersionForAuthenticatedUser: [\"POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"],\n restorePackageVersionForOrg: [\"POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"],\n restorePackageVersionForUser: [\"POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"]\n },\n projects: {\n addCollaborator: [\"PUT /projects/{project_id}/collaborators/{username}\"],\n createCard: [\"POST /projects/columns/{column_id}/cards\"],\n createColumn: [\"POST /projects/{project_id}/columns\"],\n createForAuthenticatedUser: [\"POST /user/projects\"],\n createForOrg: [\"POST /orgs/{org}/projects\"],\n createForRepo: [\"POST /repos/{owner}/{repo}/projects\"],\n delete: [\"DELETE /projects/{project_id}\"],\n deleteCard: [\"DELETE /projects/columns/cards/{card_id}\"],\n deleteColumn: [\"DELETE /projects/columns/{column_id}\"],\n get: [\"GET /projects/{project_id}\"],\n getCard: [\"GET /projects/columns/cards/{card_id}\"],\n getColumn: [\"GET /projects/columns/{column_id}\"],\n getPermissionForUser: [\"GET /projects/{project_id}/collaborators/{username}/permission\"],\n listCards: [\"GET /projects/columns/{column_id}/cards\"],\n listCollaborators: [\"GET /projects/{project_id}/collaborators\"],\n listColumns: [\"GET /projects/{project_id}/columns\"],\n listForOrg: [\"GET /orgs/{org}/projects\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/projects\"],\n listForUser: [\"GET /users/{username}/projects\"],\n moveCard: [\"POST /projects/columns/cards/{card_id}/moves\"],\n moveColumn: [\"POST /projects/columns/{column_id}/moves\"],\n removeCollaborator: [\"DELETE /projects/{project_id}/collaborators/{username}\"],\n update: [\"PATCH /projects/{project_id}\"],\n updateCard: [\"PATCH /projects/columns/cards/{card_id}\"],\n updateColumn: [\"PATCH /projects/columns/{column_id}\"]\n },\n pulls: {\n checkIfMerged: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n create: [\"POST /repos/{owner}/{repo}/pulls\"],\n createReplyForReviewComment: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\"],\n createReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n createReviewComment: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\"],\n deletePendingReview: [\"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n deleteReviewComment: [\"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n dismissReview: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals\"],\n get: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}\"],\n getReview: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n getReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n list: [\"GET /repos/{owner}/{repo}/pulls\"],\n listCommentsForReview: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\"],\n listCommits: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\"],\n listFiles: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\"],\n listRequestedReviewers: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n listReviewComments: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\"],\n listReviewCommentsForRepo: [\"GET /repos/{owner}/{repo}/pulls/comments\"],\n listReviews: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n merge: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n removeRequestedReviewers: [\"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n requestReviewers: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n submitReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events\"],\n update: [\"PATCH /repos/{owner}/{repo}/pulls/{pull_number}\"],\n updateBranch: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch\"],\n updateReview: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n updateReviewComment: [\"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\"]\n },\n rateLimit: {\n get: [\"GET /rate_limit\"]\n },\n reactions: {\n createForCommitComment: [\"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions\"],\n createForIssue: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions\"],\n createForIssueComment: [\"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\"],\n createForPullRequestReviewComment: [\"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\"],\n createForRelease: [\"POST /repos/{owner}/{repo}/releases/{release_id}/reactions\"],\n createForTeamDiscussionCommentInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\"],\n createForTeamDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\"],\n deleteForCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}\"],\n deleteForIssue: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}\"],\n deleteForIssueComment: [\"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}\"],\n deleteForPullRequestComment: [\"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}\"],\n deleteForTeamDiscussion: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}\"],\n deleteForTeamDiscussionComment: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}\"],\n listForCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\"],\n listForIssue: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\"],\n listForIssueComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\"],\n listForPullRequestReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\"],\n listForTeamDiscussionCommentInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\"],\n listForTeamDiscussionInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\"]\n },\n repos: {\n acceptInvitation: [\"PATCH /user/repository_invitations/{invitation_id}\", {}, {\n renamed: [\"repos\", \"acceptInvitationForAuthenticatedUser\"]\n }],\n acceptInvitationForAuthenticatedUser: [\"PATCH /user/repository_invitations/{invitation_id}\"],\n addAppAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n addCollaborator: [\"PUT /repos/{owner}/{repo}/collaborators/{username}\"],\n addStatusCheckContexts: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n addTeamAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n addUserAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n checkCollaborator: [\"GET /repos/{owner}/{repo}/collaborators/{username}\"],\n checkVulnerabilityAlerts: [\"GET /repos/{owner}/{repo}/vulnerability-alerts\"],\n compareCommits: [\"GET /repos/{owner}/{repo}/compare/{base}...{head}\"],\n compareCommitsWithBasehead: [\"GET /repos/{owner}/{repo}/compare/{basehead}\"],\n createAutolink: [\"POST /repos/{owner}/{repo}/autolinks\"],\n createCommitComment: [\"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments\"],\n createCommitSignatureProtection: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"],\n createCommitStatus: [\"POST /repos/{owner}/{repo}/statuses/{sha}\"],\n createDeployKey: [\"POST /repos/{owner}/{repo}/keys\"],\n createDeployment: [\"POST /repos/{owner}/{repo}/deployments\"],\n createDeploymentStatus: [\"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\"],\n createDispatchEvent: [\"POST /repos/{owner}/{repo}/dispatches\"],\n createForAuthenticatedUser: [\"POST /user/repos\"],\n createFork: [\"POST /repos/{owner}/{repo}/forks\"],\n createInOrg: [\"POST /orgs/{org}/repos\"],\n createOrUpdateEnvironment: [\"PUT /repos/{owner}/{repo}/environments/{environment_name}\"],\n createOrUpdateFileContents: [\"PUT /repos/{owner}/{repo}/contents/{path}\"],\n createPagesSite: [\"POST /repos/{owner}/{repo}/pages\"],\n createRelease: [\"POST /repos/{owner}/{repo}/releases\"],\n createUsingTemplate: [\"POST /repos/{template_owner}/{template_repo}/generate\"],\n createWebhook: [\"POST /repos/{owner}/{repo}/hooks\"],\n declineInvitation: [\"DELETE /user/repository_invitations/{invitation_id}\", {}, {\n renamed: [\"repos\", \"declineInvitationForAuthenticatedUser\"]\n }],\n declineInvitationForAuthenticatedUser: [\"DELETE /user/repository_invitations/{invitation_id}\"],\n delete: [\"DELETE /repos/{owner}/{repo}\"],\n deleteAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\"],\n deleteAdminBranchProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n deleteAnEnvironment: [\"DELETE /repos/{owner}/{repo}/environments/{environment_name}\"],\n deleteAutolink: [\"DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}\"],\n deleteBranchProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\"],\n deleteCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}\"],\n deleteCommitSignatureProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"],\n deleteDeployKey: [\"DELETE /repos/{owner}/{repo}/keys/{key_id}\"],\n deleteDeployment: [\"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n deleteFile: [\"DELETE /repos/{owner}/{repo}/contents/{path}\"],\n deleteInvitation: [\"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}\"],\n deletePagesSite: [\"DELETE /repos/{owner}/{repo}/pages\"],\n deletePullRequestReviewProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n deleteRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}\"],\n deleteReleaseAsset: [\"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n deleteWebhook: [\"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\"],\n disableAutomatedSecurityFixes: [\"DELETE /repos/{owner}/{repo}/automated-security-fixes\"],\n disableLfsForRepo: [\"DELETE /repos/{owner}/{repo}/lfs\"],\n disableVulnerabilityAlerts: [\"DELETE /repos/{owner}/{repo}/vulnerability-alerts\"],\n downloadArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\", {}, {\n renamed: [\"repos\", \"downloadZipballArchive\"]\n }],\n downloadTarballArchive: [\"GET /repos/{owner}/{repo}/tarball/{ref}\"],\n downloadZipballArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\"],\n enableAutomatedSecurityFixes: [\"PUT /repos/{owner}/{repo}/automated-security-fixes\"],\n enableLfsForRepo: [\"PUT /repos/{owner}/{repo}/lfs\"],\n enableVulnerabilityAlerts: [\"PUT /repos/{owner}/{repo}/vulnerability-alerts\"],\n generateReleaseNotes: [\"POST /repos/{owner}/{repo}/releases/generate-notes\"],\n get: [\"GET /repos/{owner}/{repo}\"],\n getAccessRestrictions: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\"],\n getAdminBranchProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n getAllEnvironments: [\"GET /repos/{owner}/{repo}/environments\"],\n getAllStatusCheckContexts: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\"],\n getAllTopics: [\"GET /repos/{owner}/{repo}/topics\", {\n mediaType: {\n previews: [\"mercy\"]\n }\n }],\n getAppsWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\"],\n getAutolink: [\"GET /repos/{owner}/{repo}/autolinks/{autolink_id}\"],\n getBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}\"],\n getBranchProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection\"],\n getClones: [\"GET /repos/{owner}/{repo}/traffic/clones\"],\n getCodeFrequencyStats: [\"GET /repos/{owner}/{repo}/stats/code_frequency\"],\n getCollaboratorPermissionLevel: [\"GET /repos/{owner}/{repo}/collaborators/{username}/permission\"],\n getCombinedStatusForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/status\"],\n getCommit: [\"GET /repos/{owner}/{repo}/commits/{ref}\"],\n getCommitActivityStats: [\"GET /repos/{owner}/{repo}/stats/commit_activity\"],\n getCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}\"],\n getCommitSignatureProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"],\n getCommunityProfileMetrics: [\"GET /repos/{owner}/{repo}/community/profile\"],\n getContent: [\"GET /repos/{owner}/{repo}/contents/{path}\"],\n getContributorsStats: [\"GET /repos/{owner}/{repo}/stats/contributors\"],\n getDeployKey: [\"GET /repos/{owner}/{repo}/keys/{key_id}\"],\n getDeployment: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n getDeploymentStatus: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}\"],\n getEnvironment: [\"GET /repos/{owner}/{repo}/environments/{environment_name}\"],\n getLatestPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/latest\"],\n getLatestRelease: [\"GET /repos/{owner}/{repo}/releases/latest\"],\n getPages: [\"GET /repos/{owner}/{repo}/pages\"],\n getPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/{build_id}\"],\n getPagesHealthCheck: [\"GET /repos/{owner}/{repo}/pages/health\"],\n getParticipationStats: [\"GET /repos/{owner}/{repo}/stats/participation\"],\n getPullRequestReviewProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n getPunchCardStats: [\"GET /repos/{owner}/{repo}/stats/punch_card\"],\n getReadme: [\"GET /repos/{owner}/{repo}/readme\"],\n getReadmeInDirectory: [\"GET /repos/{owner}/{repo}/readme/{dir}\"],\n getRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}\"],\n getReleaseAsset: [\"GET /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n getReleaseByTag: [\"GET /repos/{owner}/{repo}/releases/tags/{tag}\"],\n getStatusChecksProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n getTeamsWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\"],\n getTopPaths: [\"GET /repos/{owner}/{repo}/traffic/popular/paths\"],\n getTopReferrers: [\"GET /repos/{owner}/{repo}/traffic/popular/referrers\"],\n getUsersWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\"],\n getViews: [\"GET /repos/{owner}/{repo}/traffic/views\"],\n getWebhook: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}\"],\n getWebhookConfigForRepo: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}\"],\n listAutolinks: [\"GET /repos/{owner}/{repo}/autolinks\"],\n listBranches: [\"GET /repos/{owner}/{repo}/branches\"],\n listBranchesForHeadCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\"],\n listCollaborators: [\"GET /repos/{owner}/{repo}/collaborators\"],\n listCommentsForCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\"],\n listCommitCommentsForRepo: [\"GET /repos/{owner}/{repo}/comments\"],\n listCommitStatusesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/statuses\"],\n listCommits: [\"GET /repos/{owner}/{repo}/commits\"],\n listContributors: [\"GET /repos/{owner}/{repo}/contributors\"],\n listDeployKeys: [\"GET /repos/{owner}/{repo}/keys\"],\n listDeploymentStatuses: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\"],\n listDeployments: [\"GET /repos/{owner}/{repo}/deployments\"],\n listForAuthenticatedUser: [\"GET /user/repos\"],\n listForOrg: [\"GET /orgs/{org}/repos\"],\n listForUser: [\"GET /users/{username}/repos\"],\n listForks: [\"GET /repos/{owner}/{repo}/forks\"],\n listInvitations: [\"GET /repos/{owner}/{repo}/invitations\"],\n listInvitationsForAuthenticatedUser: [\"GET /user/repository_invitations\"],\n listLanguages: [\"GET /repos/{owner}/{repo}/languages\"],\n listPagesBuilds: [\"GET /repos/{owner}/{repo}/pages/builds\"],\n listPublic: [\"GET /repositories\"],\n listPullRequestsAssociatedWithCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\"],\n listReleaseAssets: [\"GET /repos/{owner}/{repo}/releases/{release_id}/assets\"],\n listReleases: [\"GET /repos/{owner}/{repo}/releases\"],\n listTags: [\"GET /repos/{owner}/{repo}/tags\"],\n listTeams: [\"GET /repos/{owner}/{repo}/teams\"],\n listWebhookDeliveries: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /repos/{owner}/{repo}/hooks\"],\n merge: [\"POST /repos/{owner}/{repo}/merges\"],\n mergeUpstream: [\"POST /repos/{owner}/{repo}/merge-upstream\"],\n pingWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\"],\n removeAppAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n removeCollaborator: [\"DELETE /repos/{owner}/{repo}/collaborators/{username}\"],\n removeStatusCheckContexts: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n removeStatusCheckProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n removeTeamAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n removeUserAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n renameBranch: [\"POST /repos/{owner}/{repo}/branches/{branch}/rename\"],\n replaceAllTopics: [\"PUT /repos/{owner}/{repo}/topics\", {\n mediaType: {\n previews: [\"mercy\"]\n }\n }],\n requestPagesBuild: [\"POST /repos/{owner}/{repo}/pages/builds\"],\n setAdminBranchProtection: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n setAppAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n setStatusCheckContexts: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n setTeamAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n setUserAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n testPushWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\"],\n transfer: [\"POST /repos/{owner}/{repo}/transfer\"],\n update: [\"PATCH /repos/{owner}/{repo}\"],\n updateBranchProtection: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection\"],\n updateCommitComment: [\"PATCH /repos/{owner}/{repo}/comments/{comment_id}\"],\n updateInformationAboutPagesSite: [\"PUT /repos/{owner}/{repo}/pages\"],\n updateInvitation: [\"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}\"],\n updatePullRequestReviewProtection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n updateRelease: [\"PATCH /repos/{owner}/{repo}/releases/{release_id}\"],\n updateReleaseAsset: [\"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n updateStatusCheckPotection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\", {}, {\n renamed: [\"repos\", \"updateStatusCheckProtection\"]\n }],\n updateStatusCheckProtection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n updateWebhook: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\"],\n updateWebhookConfigForRepo: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config\"],\n uploadReleaseAsset: [\"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}\", {\n baseUrl: \"https://uploads.github.com\"\n }]\n },\n search: {\n code: [\"GET /search/code\"],\n commits: [\"GET /search/commits\"],\n issuesAndPullRequests: [\"GET /search/issues\"],\n labels: [\"GET /search/labels\"],\n repos: [\"GET /search/repositories\"],\n topics: [\"GET /search/topics\", {\n mediaType: {\n previews: [\"mercy\"]\n }\n }],\n users: [\"GET /search/users\"]\n },\n secretScanning: {\n getAlert: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\"],\n listAlertsForOrg: [\"GET /orgs/{org}/secret-scanning/alerts\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts\"],\n updateAlert: [\"PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\"]\n },\n teams: {\n addOrUpdateMembershipForUserInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n addOrUpdateProjectPermissionsInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n addOrUpdateRepoPermissionsInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n checkPermissionsForProjectInOrg: [\"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n checkPermissionsForRepoInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n create: [\"POST /orgs/{org}/teams\"],\n createDiscussionCommentInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\"],\n createDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions\"],\n deleteDiscussionCommentInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n deleteDiscussionInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n deleteInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}\"],\n getByName: [\"GET /orgs/{org}/teams/{team_slug}\"],\n getDiscussionCommentInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n getDiscussionInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n getMembershipForUserInOrg: [\"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n list: [\"GET /orgs/{org}/teams\"],\n listChildInOrg: [\"GET /orgs/{org}/teams/{team_slug}/teams\"],\n listDiscussionCommentsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\"],\n listDiscussionsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions\"],\n listForAuthenticatedUser: [\"GET /user/teams\"],\n listMembersInOrg: [\"GET /orgs/{org}/teams/{team_slug}/members\"],\n listPendingInvitationsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/invitations\"],\n listProjectsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/projects\"],\n listReposInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos\"],\n removeMembershipForUserInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n removeProjectInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n removeRepoInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n updateDiscussionCommentInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n updateDiscussionInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n updateInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}\"]\n },\n users: {\n addEmailForAuthenticated: [\"POST /user/emails\", {}, {\n renamed: [\"users\", \"addEmailForAuthenticatedUser\"]\n }],\n addEmailForAuthenticatedUser: [\"POST /user/emails\"],\n block: [\"PUT /user/blocks/{username}\"],\n checkBlocked: [\"GET /user/blocks/{username}\"],\n checkFollowingForUser: [\"GET /users/{username}/following/{target_user}\"],\n checkPersonIsFollowedByAuthenticated: [\"GET /user/following/{username}\"],\n createGpgKeyForAuthenticated: [\"POST /user/gpg_keys\", {}, {\n renamed: [\"users\", \"createGpgKeyForAuthenticatedUser\"]\n }],\n createGpgKeyForAuthenticatedUser: [\"POST /user/gpg_keys\"],\n createPublicSshKeyForAuthenticated: [\"POST /user/keys\", {}, {\n renamed: [\"users\", \"createPublicSshKeyForAuthenticatedUser\"]\n }],\n createPublicSshKeyForAuthenticatedUser: [\"POST /user/keys\"],\n deleteEmailForAuthenticated: [\"DELETE /user/emails\", {}, {\n renamed: [\"users\", \"deleteEmailForAuthenticatedUser\"]\n }],\n deleteEmailForAuthenticatedUser: [\"DELETE /user/emails\"],\n deleteGpgKeyForAuthenticated: [\"DELETE /user/gpg_keys/{gpg_key_id}\", {}, {\n renamed: [\"users\", \"deleteGpgKeyForAuthenticatedUser\"]\n }],\n deleteGpgKeyForAuthenticatedUser: [\"DELETE /user/gpg_keys/{gpg_key_id}\"],\n deletePublicSshKeyForAuthenticated: [\"DELETE /user/keys/{key_id}\", {}, {\n renamed: [\"users\", \"deletePublicSshKeyForAuthenticatedUser\"]\n }],\n deletePublicSshKeyForAuthenticatedUser: [\"DELETE /user/keys/{key_id}\"],\n follow: [\"PUT /user/following/{username}\"],\n getAuthenticated: [\"GET /user\"],\n getByUsername: [\"GET /users/{username}\"],\n getContextForUser: [\"GET /users/{username}/hovercard\"],\n getGpgKeyForAuthenticated: [\"GET /user/gpg_keys/{gpg_key_id}\", {}, {\n renamed: [\"users\", \"getGpgKeyForAuthenticatedUser\"]\n }],\n getGpgKeyForAuthenticatedUser: [\"GET /user/gpg_keys/{gpg_key_id}\"],\n getPublicSshKeyForAuthenticated: [\"GET /user/keys/{key_id}\", {}, {\n renamed: [\"users\", \"getPublicSshKeyForAuthenticatedUser\"]\n }],\n getPublicSshKeyForAuthenticatedUser: [\"GET /user/keys/{key_id}\"],\n list: [\"GET /users\"],\n listBlockedByAuthenticated: [\"GET /user/blocks\", {}, {\n renamed: [\"users\", \"listBlockedByAuthenticatedUser\"]\n }],\n listBlockedByAuthenticatedUser: [\"GET /user/blocks\"],\n listEmailsForAuthenticated: [\"GET /user/emails\", {}, {\n renamed: [\"users\", \"listEmailsForAuthenticatedUser\"]\n }],\n listEmailsForAuthenticatedUser: [\"GET /user/emails\"],\n listFollowedByAuthenticated: [\"GET /user/following\", {}, {\n renamed: [\"users\", \"listFollowedByAuthenticatedUser\"]\n }],\n listFollowedByAuthenticatedUser: [\"GET /user/following\"],\n listFollowersForAuthenticatedUser: [\"GET /user/followers\"],\n listFollowersForUser: [\"GET /users/{username}/followers\"],\n listFollowingForUser: [\"GET /users/{username}/following\"],\n listGpgKeysForAuthenticated: [\"GET /user/gpg_keys\", {}, {\n renamed: [\"users\", \"listGpgKeysForAuthenticatedUser\"]\n }],\n listGpgKeysForAuthenticatedUser: [\"GET /user/gpg_keys\"],\n listGpgKeysForUser: [\"GET /users/{username}/gpg_keys\"],\n listPublicEmailsForAuthenticated: [\"GET /user/public_emails\", {}, {\n renamed: [\"users\", \"listPublicEmailsForAuthenticatedUser\"]\n }],\n listPublicEmailsForAuthenticatedUser: [\"GET /user/public_emails\"],\n listPublicKeysForUser: [\"GET /users/{username}/keys\"],\n listPublicSshKeysForAuthenticated: [\"GET /user/keys\", {}, {\n renamed: [\"users\", \"listPublicSshKeysForAuthenticatedUser\"]\n }],\n listPublicSshKeysForAuthenticatedUser: [\"GET /user/keys\"],\n setPrimaryEmailVisibilityForAuthenticated: [\"PATCH /user/email/visibility\", {}, {\n renamed: [\"users\", \"setPrimaryEmailVisibilityForAuthenticatedUser\"]\n }],\n setPrimaryEmailVisibilityForAuthenticatedUser: [\"PATCH /user/email/visibility\"],\n unblock: [\"DELETE /user/blocks/{username}\"],\n unfollow: [\"DELETE /user/following/{username}\"],\n updateAuthenticated: [\"PATCH /user\"]\n }\n};\n\nconst VERSION = \"5.13.0\";\n\nfunction endpointsToMethods(octokit, endpointsMap) {\n const newMethods = {};\n\n for (const [scope, endpoints] of Object.entries(endpointsMap)) {\n for (const [methodName, endpoint] of Object.entries(endpoints)) {\n const [route, defaults, decorations] = endpoint;\n const [method, url] = route.split(/ /);\n const endpointDefaults = Object.assign({\n method,\n url\n }, defaults);\n\n if (!newMethods[scope]) {\n newMethods[scope] = {};\n }\n\n const scopeMethods = newMethods[scope];\n\n if (decorations) {\n scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);\n continue;\n }\n\n scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);\n }\n }\n\n return newMethods;\n}\n\nfunction decorate(octokit, scope, methodName, defaults, decorations) {\n const requestWithDefaults = octokit.request.defaults(defaults);\n /* istanbul ignore next */\n\n function withDecorations(...args) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n let options = requestWithDefaults.endpoint.merge(...args); // There are currently no other decorations than `.mapToData`\n\n if (decorations.mapToData) {\n options = Object.assign({}, options, {\n data: options[decorations.mapToData],\n [decorations.mapToData]: undefined\n });\n return requestWithDefaults(options);\n }\n\n if (decorations.renamed) {\n const [newScope, newMethodName] = decorations.renamed;\n octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`);\n }\n\n if (decorations.deprecated) {\n octokit.log.warn(decorations.deprecated);\n }\n\n if (decorations.renamedParameters) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n const options = requestWithDefaults.endpoint.merge(...args);\n\n for (const [name, alias] of Object.entries(decorations.renamedParameters)) {\n if (name in options) {\n octokit.log.warn(`\"${name}\" parameter is deprecated for \"octokit.${scope}.${methodName}()\". Use \"${alias}\" instead`);\n\n if (!(alias in options)) {\n options[alias] = options[name];\n }\n\n delete options[name];\n }\n }\n\n return requestWithDefaults(options);\n } // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n\n\n return requestWithDefaults(...args);\n }\n\n return Object.assign(withDecorations, requestWithDefaults);\n}\n\nfunction restEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, Endpoints);\n return {\n rest: api\n };\n}\nrestEndpointMethods.VERSION = VERSION;\nfunction legacyRestEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, Endpoints);\n return _objectSpread2(_objectSpread2({}, api), {}, {\n rest: api\n });\n}\nlegacyRestEndpointMethods.VERSION = VERSION;\n\nexports.legacyRestEndpointMethods = legacyRestEndpointMethods;\nexports.restEndpointMethods = restEndpointMethods;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 537:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar deprecation = __nccwpck_require__(8932);\nvar once = _interopDefault(__nccwpck_require__(1223));\n\nconst logOnceCode = once(deprecation => console.warn(deprecation));\nconst logOnceHeaders = once(deprecation => console.warn(deprecation));\n/**\n * Error with extra properties to help with debugging\n */\n\nclass RequestError extends Error {\n constructor(message, statusCode, options) {\n super(message); // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n\n this.name = \"HttpError\";\n this.status = statusCode;\n let headers;\n\n if (\"headers\" in options && typeof options.headers !== \"undefined\") {\n headers = options.headers;\n }\n\n if (\"response\" in options) {\n this.response = options.response;\n headers = options.response.headers;\n } // redact request credentials without mutating original request options\n\n\n const requestCopy = Object.assign({}, options.request);\n\n if (options.request.headers.authorization) {\n requestCopy.headers = Object.assign({}, options.request.headers, {\n authorization: options.request.headers.authorization.replace(/ .*$/, \" [REDACTED]\")\n });\n }\n\n requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit\n // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications\n .replace(/\\bclient_secret=\\w+/g, \"client_secret=[REDACTED]\") // OAuth tokens can be passed as URL query parameters, although it is not recommended\n // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header\n .replace(/\\baccess_token=\\w+/g, \"access_token=[REDACTED]\");\n this.request = requestCopy; // deprecations\n\n Object.defineProperty(this, \"code\", {\n get() {\n logOnceCode(new deprecation.Deprecation(\"[@octokit/request-error] `error.code` is deprecated, use `error.status`.\"));\n return statusCode;\n }\n\n });\n Object.defineProperty(this, \"headers\", {\n get() {\n logOnceHeaders(new deprecation.Deprecation(\"[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.\"));\n return headers || {};\n }\n\n });\n }\n\n}\n\nexports.RequestError = RequestError;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 6234:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar endpoint = __nccwpck_require__(9440);\nvar universalUserAgent = __nccwpck_require__(5030);\nvar isPlainObject = __nccwpck_require__(3287);\nvar nodeFetch = _interopDefault(__nccwpck_require__(467));\nvar requestError = __nccwpck_require__(537);\n\nconst VERSION = \"5.6.3\";\n\nfunction getBufferResponse(response) {\n return response.arrayBuffer();\n}\n\nfunction fetchWrapper(requestOptions) {\n const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console;\n\n if (isPlainObject.isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) {\n requestOptions.body = JSON.stringify(requestOptions.body);\n }\n\n let headers = {};\n let status;\n let url;\n const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch;\n return fetch(requestOptions.url, Object.assign({\n method: requestOptions.method,\n body: requestOptions.body,\n headers: requestOptions.headers,\n redirect: requestOptions.redirect\n }, // `requestOptions.request.agent` type is incompatible\n // see https://github.com/octokit/types.ts/pull/264\n requestOptions.request)).then(async response => {\n url = response.url;\n status = response.status;\n\n for (const keyAndValue of response.headers) {\n headers[keyAndValue[0]] = keyAndValue[1];\n }\n\n if (\"deprecation\" in headers) {\n const matches = headers.link && headers.link.match(/<([^>]+)>; rel=\"deprecation\"/);\n const deprecationLink = matches && matches.pop();\n log.warn(`[@octokit/request] \"${requestOptions.method} ${requestOptions.url}\" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : \"\"}`);\n }\n\n if (status === 204 || status === 205) {\n return;\n } // GitHub API returns 200 for HEAD requests\n\n\n if (requestOptions.method === \"HEAD\") {\n if (status < 400) {\n return;\n }\n\n throw new requestError.RequestError(response.statusText, status, {\n response: {\n url,\n status,\n headers,\n data: undefined\n },\n request: requestOptions\n });\n }\n\n if (status === 304) {\n throw new requestError.RequestError(\"Not modified\", status, {\n response: {\n url,\n status,\n headers,\n data: await getResponseData(response)\n },\n request: requestOptions\n });\n }\n\n if (status >= 400) {\n const data = await getResponseData(response);\n const error = new requestError.RequestError(toErrorMessage(data), status, {\n response: {\n url,\n status,\n headers,\n data\n },\n request: requestOptions\n });\n throw error;\n }\n\n return getResponseData(response);\n }).then(data => {\n return {\n status,\n url,\n headers,\n data\n };\n }).catch(error => {\n if (error instanceof requestError.RequestError) throw error;\n throw new requestError.RequestError(error.message, 500, {\n request: requestOptions\n });\n });\n}\n\nasync function getResponseData(response) {\n const contentType = response.headers.get(\"content-type\");\n\n if (/application\\/json/.test(contentType)) {\n return response.json();\n }\n\n if (!contentType || /^text\\/|charset=utf-8$/.test(contentType)) {\n return response.text();\n }\n\n return getBufferResponse(response);\n}\n\nfunction toErrorMessage(data) {\n if (typeof data === \"string\") return data; // istanbul ignore else - just in case\n\n if (\"message\" in data) {\n if (Array.isArray(data.errors)) {\n return `${data.message}: ${data.errors.map(JSON.stringify).join(\", \")}`;\n }\n\n return data.message;\n } // istanbul ignore next - just in case\n\n\n return `Unknown error: ${JSON.stringify(data)}`;\n}\n\nfunction withDefaults(oldEndpoint, newDefaults) {\n const endpoint = oldEndpoint.defaults(newDefaults);\n\n const newApi = function (route, parameters) {\n const endpointOptions = endpoint.merge(route, parameters);\n\n if (!endpointOptions.request || !endpointOptions.request.hook) {\n return fetchWrapper(endpoint.parse(endpointOptions));\n }\n\n const request = (route, parameters) => {\n return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));\n };\n\n Object.assign(request, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint)\n });\n return endpointOptions.request.hook(request, endpointOptions);\n };\n\n return Object.assign(newApi, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint)\n });\n}\n\nconst request = withDefaults(endpoint.endpoint, {\n headers: {\n \"user-agent\": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}`\n }\n});\n\nexports.request = request;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 5375:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nvar core = __nccwpck_require__(6762);\nvar pluginRequestLog = __nccwpck_require__(8883);\nvar pluginPaginateRest = __nccwpck_require__(4193);\nvar pluginRestEndpointMethods = __nccwpck_require__(3044);\n\nconst VERSION = \"18.12.0\";\n\nconst Octokit = core.Octokit.plugin(pluginRequestLog.requestLog, pluginRestEndpointMethods.legacyRestEndpointMethods, pluginPaginateRest.paginateRest).defaults({\n userAgent: `octokit-rest.js/${VERSION}`\n});\n\nexports.Octokit = Octokit;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 3682:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\nvar register = __nccwpck_require__(4670)\nvar addHook = __nccwpck_require__(5549)\nvar removeHook = __nccwpck_require__(6819)\n\n// bind with array of arguments: https://stackoverflow.com/a/21792913\nvar bind = Function.bind\nvar bindable = bind.bind(bind)\n\nfunction bindApi (hook, state, name) {\n var removeHookRef = bindable(removeHook, null).apply(null, name ? [state, name] : [state])\n hook.api = { remove: removeHookRef }\n hook.remove = removeHookRef\n\n ;['before', 'error', 'after', 'wrap'].forEach(function (kind) {\n var args = name ? [state, kind, name] : [state, kind]\n hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args)\n })\n}\n\nfunction HookSingular () {\n var singularHookName = 'h'\n var singularHookState = {\n registry: {}\n }\n var singularHook = register.bind(null, singularHookState, singularHookName)\n bindApi(singularHook, singularHookState, singularHookName)\n return singularHook\n}\n\nfunction HookCollection () {\n var state = {\n registry: {}\n }\n\n var hook = register.bind(null, state)\n bindApi(hook, state)\n\n return hook\n}\n\nvar collectionHookDeprecationMessageDisplayed = false\nfunction Hook () {\n if (!collectionHookDeprecationMessageDisplayed) {\n console.warn('[before-after-hook]: \"Hook()\" repurposing warning, use \"Hook.Collection()\". Read more: https://git.io/upgrade-before-after-hook-to-1.4')\n collectionHookDeprecationMessageDisplayed = true\n }\n return HookCollection()\n}\n\nHook.Singular = HookSingular.bind()\nHook.Collection = HookCollection.bind()\n\nmodule.exports = Hook\n// expose constructors as a named property for TypeScript\nmodule.exports.Hook = Hook\nmodule.exports.Singular = Hook.Singular\nmodule.exports.Collection = Hook.Collection\n\n\n/***/ }),\n\n/***/ 5549:\n/***/ ((module) => {\n\nmodule.exports = addHook;\n\nfunction addHook(state, kind, name, hook) {\n var orig = hook;\n if (!state.registry[name]) {\n state.registry[name] = [];\n }\n\n if (kind === \"before\") {\n hook = function (method, options) {\n return Promise.resolve()\n .then(orig.bind(null, options))\n .then(method.bind(null, options));\n };\n }\n\n if (kind === \"after\") {\n hook = function (method, options) {\n var result;\n return Promise.resolve()\n .then(method.bind(null, options))\n .then(function (result_) {\n result = result_;\n return orig(result, options);\n })\n .then(function () {\n return result;\n });\n };\n }\n\n if (kind === \"error\") {\n hook = function (method, options) {\n return Promise.resolve()\n .then(method.bind(null, options))\n .catch(function (error) {\n return orig(error, options);\n });\n };\n }\n\n state.registry[name].push({\n hook: hook,\n orig: orig,\n });\n}\n\n\n/***/ }),\n\n/***/ 4670:\n/***/ ((module) => {\n\nmodule.exports = register;\n\nfunction register(state, name, method, options) {\n if (typeof method !== \"function\") {\n throw new Error(\"method for before hook must be a function\");\n }\n\n if (!options) {\n options = {};\n }\n\n if (Array.isArray(name)) {\n return name.reverse().reduce(function (callback, name) {\n return register.bind(null, state, name, callback, options);\n }, method)();\n }\n\n return Promise.resolve().then(function () {\n if (!state.registry[name]) {\n return method(options);\n }\n\n return state.registry[name].reduce(function (method, registered) {\n return registered.hook.bind(null, method, options);\n }, method)();\n });\n}\n\n\n/***/ }),\n\n/***/ 6819:\n/***/ ((module) => {\n\nmodule.exports = removeHook;\n\nfunction removeHook(state, name, method) {\n if (!state.registry[name]) {\n return;\n }\n\n var index = state.registry[name]\n .map(function (registered) {\n return registered.orig;\n })\n .indexOf(method);\n\n if (index === -1) {\n return;\n }\n\n state.registry[name].splice(index, 1);\n}\n\n\n/***/ }),\n\n/***/ 8932:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nclass Deprecation extends Error {\n constructor(message) {\n super(message); // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n\n this.name = 'Deprecation';\n }\n\n}\n\nexports.Deprecation = Deprecation;\n\n\n/***/ }),\n\n/***/ 3287:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\n/*!\n * is-plain-object \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nfunction isObject(o) {\n return Object.prototype.toString.call(o) === '[object Object]';\n}\n\nfunction isPlainObject(o) {\n var ctor,prot;\n\n if (isObject(o) === false) return false;\n\n // If has modified constructor\n ctor = o.constructor;\n if (ctor === undefined) return true;\n\n // If has modified prototype\n prot = ctor.prototype;\n if (isObject(prot) === false) return false;\n\n // If constructor does not have an Object-specific method\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n }\n\n // Most likely a plain Object\n return true;\n}\n\nexports.isPlainObject = isPlainObject;\n\n\n/***/ }),\n\n/***/ 467:\n/***/ ((module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar Stream = _interopDefault(__nccwpck_require__(2413));\nvar http = _interopDefault(__nccwpck_require__(8605));\nvar Url = _interopDefault(__nccwpck_require__(8835));\nvar whatwgUrl = _interopDefault(__nccwpck_require__(3323));\nvar https = _interopDefault(__nccwpck_require__(7211));\nvar zlib = _interopDefault(__nccwpck_require__(8761));\n\n// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js\n\n// fix for \"Readable\" isn't a named export issue\nconst Readable = Stream.Readable;\n\nconst BUFFER = Symbol('buffer');\nconst TYPE = Symbol('type');\n\nclass Blob {\n\tconstructor() {\n\t\tthis[TYPE] = '';\n\n\t\tconst blobParts = arguments[0];\n\t\tconst options = arguments[1];\n\n\t\tconst buffers = [];\n\t\tlet size = 0;\n\n\t\tif (blobParts) {\n\t\t\tconst a = blobParts;\n\t\t\tconst length = Number(a.length);\n\t\t\tfor (let i = 0; i < length; i++) {\n\t\t\t\tconst element = a[i];\n\t\t\t\tlet buffer;\n\t\t\t\tif (element instanceof Buffer) {\n\t\t\t\t\tbuffer = element;\n\t\t\t\t} else if (ArrayBuffer.isView(element)) {\n\t\t\t\t\tbuffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength);\n\t\t\t\t} else if (element instanceof ArrayBuffer) {\n\t\t\t\t\tbuffer = Buffer.from(element);\n\t\t\t\t} else if (element instanceof Blob) {\n\t\t\t\t\tbuffer = element[BUFFER];\n\t\t\t\t} else {\n\t\t\t\t\tbuffer = Buffer.from(typeof element === 'string' ? element : String(element));\n\t\t\t\t}\n\t\t\t\tsize += buffer.length;\n\t\t\t\tbuffers.push(buffer);\n\t\t\t}\n\t\t}\n\n\t\tthis[BUFFER] = Buffer.concat(buffers);\n\n\t\tlet type = options && options.type !== undefined && String(options.type).toLowerCase();\n\t\tif (type && !/[^\\u0020-\\u007E]/.test(type)) {\n\t\t\tthis[TYPE] = type;\n\t\t}\n\t}\n\tget size() {\n\t\treturn this[BUFFER].length;\n\t}\n\tget type() {\n\t\treturn this[TYPE];\n\t}\n\ttext() {\n\t\treturn Promise.resolve(this[BUFFER].toString());\n\t}\n\tarrayBuffer() {\n\t\tconst buf = this[BUFFER];\n\t\tconst ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\treturn Promise.resolve(ab);\n\t}\n\tstream() {\n\t\tconst readable = new Readable();\n\t\treadable._read = function () {};\n\t\treadable.push(this[BUFFER]);\n\t\treadable.push(null);\n\t\treturn readable;\n\t}\n\ttoString() {\n\t\treturn '[object Blob]';\n\t}\n\tslice() {\n\t\tconst size = this.size;\n\n\t\tconst start = arguments[0];\n\t\tconst end = arguments[1];\n\t\tlet relativeStart, relativeEnd;\n\t\tif (start === undefined) {\n\t\t\trelativeStart = 0;\n\t\t} else if (start < 0) {\n\t\t\trelativeStart = Math.max(size + start, 0);\n\t\t} else {\n\t\t\trelativeStart = Math.min(start, size);\n\t\t}\n\t\tif (end === undefined) {\n\t\t\trelativeEnd = size;\n\t\t} else if (end < 0) {\n\t\t\trelativeEnd = Math.max(size + end, 0);\n\t\t} else {\n\t\t\trelativeEnd = Math.min(end, size);\n\t\t}\n\t\tconst span = Math.max(relativeEnd - relativeStart, 0);\n\n\t\tconst buffer = this[BUFFER];\n\t\tconst slicedBuffer = buffer.slice(relativeStart, relativeStart + span);\n\t\tconst blob = new Blob([], { type: arguments[2] });\n\t\tblob[BUFFER] = slicedBuffer;\n\t\treturn blob;\n\t}\n}\n\nObject.defineProperties(Blob.prototype, {\n\tsize: { enumerable: true },\n\ttype: { enumerable: true },\n\tslice: { enumerable: true }\n});\n\nObject.defineProperty(Blob.prototype, Symbol.toStringTag, {\n\tvalue: 'Blob',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * fetch-error.js\n *\n * FetchError interface for operational errors\n */\n\n/**\n * Create FetchError instance\n *\n * @param String message Error message for human\n * @param String type Error type for machine\n * @param String systemError For Node.js system error\n * @return FetchError\n */\nfunction FetchError(message, type, systemError) {\n Error.call(this, message);\n\n this.message = message;\n this.type = type;\n\n // when err.type is `system`, err.code contains system error code\n if (systemError) {\n this.code = this.errno = systemError.code;\n }\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nFetchError.prototype = Object.create(Error.prototype);\nFetchError.prototype.constructor = FetchError;\nFetchError.prototype.name = 'FetchError';\n\nlet convert;\ntry {\n\tconvert = __nccwpck_require__(2877).convert;\n} catch (e) {}\n\nconst INTERNALS = Symbol('Body internals');\n\n// fix an issue where \"PassThrough\" isn't a named export for node <10\nconst PassThrough = Stream.PassThrough;\n\n/**\n * Body mixin\n *\n * Ref: https://fetch.spec.whatwg.org/#body\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nfunction Body(body) {\n\tvar _this = this;\n\n\tvar _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n\t _ref$size = _ref.size;\n\n\tlet size = _ref$size === undefined ? 0 : _ref$size;\n\tvar _ref$timeout = _ref.timeout;\n\tlet timeout = _ref$timeout === undefined ? 0 : _ref$timeout;\n\n\tif (body == null) {\n\t\t// body is undefined or null\n\t\tbody = null;\n\t} else if (isURLSearchParams(body)) {\n\t\t// body is a URLSearchParams\n\t\tbody = Buffer.from(body.toString());\n\t} else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {\n\t\t// body is ArrayBuffer\n\t\tbody = Buffer.from(body);\n\t} else if (ArrayBuffer.isView(body)) {\n\t\t// body is ArrayBufferView\n\t\tbody = Buffer.from(body.buffer, body.byteOffset, body.byteLength);\n\t} else if (body instanceof Stream) ; else {\n\t\t// none of the above\n\t\t// coerce to string then buffer\n\t\tbody = Buffer.from(String(body));\n\t}\n\tthis[INTERNALS] = {\n\t\tbody,\n\t\tdisturbed: false,\n\t\terror: null\n\t};\n\tthis.size = size;\n\tthis.timeout = timeout;\n\n\tif (body instanceof Stream) {\n\t\tbody.on('error', function (err) {\n\t\t\tconst error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err);\n\t\t\t_this[INTERNALS].error = error;\n\t\t});\n\t}\n}\n\nBody.prototype = {\n\tget body() {\n\t\treturn this[INTERNALS].body;\n\t},\n\n\tget bodyUsed() {\n\t\treturn this[INTERNALS].disturbed;\n\t},\n\n\t/**\n * Decode response as ArrayBuffer\n *\n * @return Promise\n */\n\tarrayBuffer() {\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\t});\n\t},\n\n\t/**\n * Return raw response as Blob\n *\n * @return Promise\n */\n\tblob() {\n\t\tlet ct = this.headers && this.headers.get('content-type') || '';\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn Object.assign(\n\t\t\t// Prevent copying\n\t\t\tnew Blob([], {\n\t\t\t\ttype: ct.toLowerCase()\n\t\t\t}), {\n\t\t\t\t[BUFFER]: buf\n\t\t\t});\n\t\t});\n\t},\n\n\t/**\n * Decode response as json\n *\n * @return Promise\n */\n\tjson() {\n\t\tvar _this2 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\ttry {\n\t\t\t\treturn JSON.parse(buffer.toString());\n\t\t\t} catch (err) {\n\t\t\t\treturn Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));\n\t\t\t}\n\t\t});\n\t},\n\n\t/**\n * Decode response as text\n *\n * @return Promise\n */\n\ttext() {\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn buffer.toString();\n\t\t});\n\t},\n\n\t/**\n * Decode response as buffer (non-spec api)\n *\n * @return Promise\n */\n\tbuffer() {\n\t\treturn consumeBody.call(this);\n\t},\n\n\t/**\n * Decode response as text, while automatically detecting the encoding and\n * trying to decode to UTF-8 (non-spec api)\n *\n * @return Promise\n */\n\ttextConverted() {\n\t\tvar _this3 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn convertBody(buffer, _this3.headers);\n\t\t});\n\t}\n};\n\n// In browsers, all properties are enumerable.\nObject.defineProperties(Body.prototype, {\n\tbody: { enumerable: true },\n\tbodyUsed: { enumerable: true },\n\tarrayBuffer: { enumerable: true },\n\tblob: { enumerable: true },\n\tjson: { enumerable: true },\n\ttext: { enumerable: true }\n});\n\nBody.mixIn = function (proto) {\n\tfor (const name of Object.getOwnPropertyNames(Body.prototype)) {\n\t\t// istanbul ignore else: future proof\n\t\tif (!(name in proto)) {\n\t\t\tconst desc = Object.getOwnPropertyDescriptor(Body.prototype, name);\n\t\t\tObject.defineProperty(proto, name, desc);\n\t\t}\n\t}\n};\n\n/**\n * Consume and convert an entire Body to a Buffer.\n *\n * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body\n *\n * @return Promise\n */\nfunction consumeBody() {\n\tvar _this4 = this;\n\n\tif (this[INTERNALS].disturbed) {\n\t\treturn Body.Promise.reject(new TypeError(`body used already for: ${this.url}`));\n\t}\n\n\tthis[INTERNALS].disturbed = true;\n\n\tif (this[INTERNALS].error) {\n\t\treturn Body.Promise.reject(this[INTERNALS].error);\n\t}\n\n\tlet body = this.body;\n\n\t// body is null\n\tif (body === null) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is blob\n\tif (isBlob(body)) {\n\t\tbody = body.stream();\n\t}\n\n\t// body is buffer\n\tif (Buffer.isBuffer(body)) {\n\t\treturn Body.Promise.resolve(body);\n\t}\n\n\t// istanbul ignore if: should never happen\n\tif (!(body instanceof Stream)) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is stream\n\t// get ready to actually consume the body\n\tlet accum = [];\n\tlet accumBytes = 0;\n\tlet abort = false;\n\n\treturn new Body.Promise(function (resolve, reject) {\n\t\tlet resTimeout;\n\n\t\t// allow timeout on slow response body\n\t\tif (_this4.timeout) {\n\t\t\tresTimeout = setTimeout(function () {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout'));\n\t\t\t}, _this4.timeout);\n\t\t}\n\n\t\t// handle stream errors\n\t\tbody.on('error', function (err) {\n\t\t\tif (err.name === 'AbortError') {\n\t\t\t\t// if the request was aborted, reject with this Error\n\t\t\t\tabort = true;\n\t\t\t\treject(err);\n\t\t\t} else {\n\t\t\t\t// other errors, such as incorrect content-encoding\n\t\t\t\treject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\n\t\tbody.on('data', function (chunk) {\n\t\t\tif (abort || chunk === null) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (_this4.size && accumBytes + chunk.length > _this4.size) {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size'));\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\taccumBytes += chunk.length;\n\t\t\taccum.push(chunk);\n\t\t});\n\n\t\tbody.on('end', function () {\n\t\t\tif (abort) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tclearTimeout(resTimeout);\n\n\t\t\ttry {\n\t\t\t\tresolve(Buffer.concat(accum, accumBytes));\n\t\t\t} catch (err) {\n\t\t\t\t// handle streams that have accumulated too much data (issue #414)\n\t\t\t\treject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Detect buffer encoding and convert to target encoding\n * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding\n *\n * @param Buffer buffer Incoming buffer\n * @param String encoding Target encoding\n * @return String\n */\nfunction convertBody(buffer, headers) {\n\tif (typeof convert !== 'function') {\n\t\tthrow new Error('The package `encoding` must be installed to use the textConverted() function');\n\t}\n\n\tconst ct = headers.get('content-type');\n\tlet charset = 'utf-8';\n\tlet res, str;\n\n\t// header\n\tif (ct) {\n\t\tres = /charset=([^;]*)/i.exec(ct);\n\t}\n\n\t// no charset in content type, peek at response body for at most 1024 bytes\n\tstr = buffer.slice(0, 1024).toString();\n\n\t// html5\n\tif (!res && str) {\n\t\tres = / 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n\n\t\tthis[MAP] = Object.create(null);\n\n\t\tif (init instanceof Headers) {\n\t\t\tconst rawHeaders = init.raw();\n\t\t\tconst headerNames = Object.keys(rawHeaders);\n\n\t\t\tfor (const headerName of headerNames) {\n\t\t\t\tfor (const value of rawHeaders[headerName]) {\n\t\t\t\t\tthis.append(headerName, value);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\t// We don't worry about converting prop to ByteString here as append()\n\t\t// will handle it.\n\t\tif (init == null) ; else if (typeof init === 'object') {\n\t\t\tconst method = init[Symbol.iterator];\n\t\t\tif (method != null) {\n\t\t\t\tif (typeof method !== 'function') {\n\t\t\t\t\tthrow new TypeError('Header pairs must be iterable');\n\t\t\t\t}\n\n\t\t\t\t// sequence>\n\t\t\t\t// Note: per spec we have to first exhaust the lists then process them\n\t\t\t\tconst pairs = [];\n\t\t\t\tfor (const pair of init) {\n\t\t\t\t\tif (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be iterable');\n\t\t\t\t\t}\n\t\t\t\t\tpairs.push(Array.from(pair));\n\t\t\t\t}\n\n\t\t\t\tfor (const pair of pairs) {\n\t\t\t\t\tif (pair.length !== 2) {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be a name/value tuple');\n\t\t\t\t\t}\n\t\t\t\t\tthis.append(pair[0], pair[1]);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// record\n\t\t\t\tfor (const key of Object.keys(init)) {\n\t\t\t\t\tconst value = init[key];\n\t\t\t\t\tthis.append(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new TypeError('Provided initializer must be an object');\n\t\t}\n\t}\n\n\t/**\n * Return combined header value given name\n *\n * @param String name Header name\n * @return Mixed\n */\n\tget(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key === undefined) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this[MAP][key].join(', ');\n\t}\n\n\t/**\n * Iterate over all headers\n *\n * @param Function callback Executed for each item with parameters (value, name, thisArg)\n * @param Boolean thisArg `this` context for callback function\n * @return Void\n */\n\tforEach(callback) {\n\t\tlet thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\n\t\tlet pairs = getHeaders(this);\n\t\tlet i = 0;\n\t\twhile (i < pairs.length) {\n\t\t\tvar _pairs$i = pairs[i];\n\t\t\tconst name = _pairs$i[0],\n\t\t\t value = _pairs$i[1];\n\n\t\t\tcallback.call(thisArg, value, name, this);\n\t\t\tpairs = getHeaders(this);\n\t\t\ti++;\n\t\t}\n\t}\n\n\t/**\n * Overwrite header values given name\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tset(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tthis[MAP][key !== undefined ? key : name] = [value];\n\t}\n\n\t/**\n * Append a value onto existing header\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tappend(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tthis[MAP][key].push(value);\n\t\t} else {\n\t\t\tthis[MAP][name] = [value];\n\t\t}\n\t}\n\n\t/**\n * Check for header name existence\n *\n * @param String name Header name\n * @return Boolean\n */\n\thas(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\treturn find(this[MAP], name) !== undefined;\n\t}\n\n\t/**\n * Delete all header values given name\n *\n * @param String name Header name\n * @return Void\n */\n\tdelete(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tdelete this[MAP][key];\n\t\t}\n\t}\n\n\t/**\n * Return raw headers (non-spec api)\n *\n * @return Object\n */\n\traw() {\n\t\treturn this[MAP];\n\t}\n\n\t/**\n * Get an iterator on keys.\n *\n * @return Iterator\n */\n\tkeys() {\n\t\treturn createHeadersIterator(this, 'key');\n\t}\n\n\t/**\n * Get an iterator on values.\n *\n * @return Iterator\n */\n\tvalues() {\n\t\treturn createHeadersIterator(this, 'value');\n\t}\n\n\t/**\n * Get an iterator on entries.\n *\n * This is the default iterator of the Headers object.\n *\n * @return Iterator\n */\n\t[Symbol.iterator]() {\n\t\treturn createHeadersIterator(this, 'key+value');\n\t}\n}\nHeaders.prototype.entries = Headers.prototype[Symbol.iterator];\n\nObject.defineProperty(Headers.prototype, Symbol.toStringTag, {\n\tvalue: 'Headers',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Headers.prototype, {\n\tget: { enumerable: true },\n\tforEach: { enumerable: true },\n\tset: { enumerable: true },\n\tappend: { enumerable: true },\n\thas: { enumerable: true },\n\tdelete: { enumerable: true },\n\tkeys: { enumerable: true },\n\tvalues: { enumerable: true },\n\tentries: { enumerable: true }\n});\n\nfunction getHeaders(headers) {\n\tlet kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value';\n\n\tconst keys = Object.keys(headers[MAP]).sort();\n\treturn keys.map(kind === 'key' ? function (k) {\n\t\treturn k.toLowerCase();\n\t} : kind === 'value' ? function (k) {\n\t\treturn headers[MAP][k].join(', ');\n\t} : function (k) {\n\t\treturn [k.toLowerCase(), headers[MAP][k].join(', ')];\n\t});\n}\n\nconst INTERNAL = Symbol('internal');\n\nfunction createHeadersIterator(target, kind) {\n\tconst iterator = Object.create(HeadersIteratorPrototype);\n\titerator[INTERNAL] = {\n\t\ttarget,\n\t\tkind,\n\t\tindex: 0\n\t};\n\treturn iterator;\n}\n\nconst HeadersIteratorPrototype = Object.setPrototypeOf({\n\tnext() {\n\t\t// istanbul ignore if\n\t\tif (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) {\n\t\t\tthrow new TypeError('Value of `this` is not a HeadersIterator');\n\t\t}\n\n\t\tvar _INTERNAL = this[INTERNAL];\n\t\tconst target = _INTERNAL.target,\n\t\t kind = _INTERNAL.kind,\n\t\t index = _INTERNAL.index;\n\n\t\tconst values = getHeaders(target, kind);\n\t\tconst len = values.length;\n\t\tif (index >= len) {\n\t\t\treturn {\n\t\t\t\tvalue: undefined,\n\t\t\t\tdone: true\n\t\t\t};\n\t\t}\n\n\t\tthis[INTERNAL].index = index + 1;\n\n\t\treturn {\n\t\t\tvalue: values[index],\n\t\t\tdone: false\n\t\t};\n\t}\n}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));\n\nObject.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, {\n\tvalue: 'HeadersIterator',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * Export the Headers object in a form that Node.js can consume.\n *\n * @param Headers headers\n * @return Object\n */\nfunction exportNodeCompatibleHeaders(headers) {\n\tconst obj = Object.assign({ __proto__: null }, headers[MAP]);\n\n\t// http.request() only supports string as Host header. This hack makes\n\t// specifying custom Host header possible.\n\tconst hostHeaderKey = find(headers[MAP], 'Host');\n\tif (hostHeaderKey !== undefined) {\n\t\tobj[hostHeaderKey] = obj[hostHeaderKey][0];\n\t}\n\n\treturn obj;\n}\n\n/**\n * Create a Headers object from an object of headers, ignoring those that do\n * not conform to HTTP grammar productions.\n *\n * @param Object obj Object of headers\n * @return Headers\n */\nfunction createHeadersLenient(obj) {\n\tconst headers = new Headers();\n\tfor (const name of Object.keys(obj)) {\n\t\tif (invalidTokenRegex.test(name)) {\n\t\t\tcontinue;\n\t\t}\n\t\tif (Array.isArray(obj[name])) {\n\t\t\tfor (const val of obj[name]) {\n\t\t\t\tif (invalidHeaderCharRegex.test(val)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (headers[MAP][name] === undefined) {\n\t\t\t\t\theaders[MAP][name] = [val];\n\t\t\t\t} else {\n\t\t\t\t\theaders[MAP][name].push(val);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (!invalidHeaderCharRegex.test(obj[name])) {\n\t\t\theaders[MAP][name] = [obj[name]];\n\t\t}\n\t}\n\treturn headers;\n}\n\nconst INTERNALS$1 = Symbol('Response internals');\n\n// fix an issue where \"STATUS_CODES\" aren't a named export for node <10\nconst STATUS_CODES = http.STATUS_CODES;\n\n/**\n * Response class\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nclass Response {\n\tconstructor() {\n\t\tlet body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\t\tlet opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tBody.call(this, body, opts);\n\n\t\tconst status = opts.status || 200;\n\t\tconst headers = new Headers(opts.headers);\n\n\t\tif (body != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(body);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tthis[INTERNALS$1] = {\n\t\t\turl: opts.url,\n\t\t\tstatus,\n\t\t\tstatusText: opts.statusText || STATUS_CODES[status],\n\t\t\theaders,\n\t\t\tcounter: opts.counter\n\t\t};\n\t}\n\n\tget url() {\n\t\treturn this[INTERNALS$1].url || '';\n\t}\n\n\tget status() {\n\t\treturn this[INTERNALS$1].status;\n\t}\n\n\t/**\n * Convenience property representing if the request ended normally\n */\n\tget ok() {\n\t\treturn this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300;\n\t}\n\n\tget redirected() {\n\t\treturn this[INTERNALS$1].counter > 0;\n\t}\n\n\tget statusText() {\n\t\treturn this[INTERNALS$1].statusText;\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$1].headers;\n\t}\n\n\t/**\n * Clone this response\n *\n * @return Response\n */\n\tclone() {\n\t\treturn new Response(clone(this), {\n\t\t\turl: this.url,\n\t\t\tstatus: this.status,\n\t\t\tstatusText: this.statusText,\n\t\t\theaders: this.headers,\n\t\t\tok: this.ok,\n\t\t\tredirected: this.redirected\n\t\t});\n\t}\n}\n\nBody.mixIn(Response.prototype);\n\nObject.defineProperties(Response.prototype, {\n\turl: { enumerable: true },\n\tstatus: { enumerable: true },\n\tok: { enumerable: true },\n\tredirected: { enumerable: true },\n\tstatusText: { enumerable: true },\n\theaders: { enumerable: true },\n\tclone: { enumerable: true }\n});\n\nObject.defineProperty(Response.prototype, Symbol.toStringTag, {\n\tvalue: 'Response',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nconst INTERNALS$2 = Symbol('Request internals');\nconst URL = Url.URL || whatwgUrl.URL;\n\n// fix an issue where \"format\", \"parse\" aren't a named export for node <10\nconst parse_url = Url.parse;\nconst format_url = Url.format;\n\n/**\n * Wrapper around `new URL` to handle arbitrary URLs\n *\n * @param {string} urlStr\n * @return {void}\n */\nfunction parseURL(urlStr) {\n\t/*\n \tCheck whether the URL is absolute or not\n \t\tScheme: https://tools.ietf.org/html/rfc3986#section-3.1\n \tAbsolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\n */\n\tif (/^[a-zA-Z][a-zA-Z\\d+\\-.]*:/.exec(urlStr)) {\n\t\turlStr = new URL(urlStr).toString();\n\t}\n\n\t// Fallback to old implementation for arbitrary URLs\n\treturn parse_url(urlStr);\n}\n\nconst streamDestructionSupported = 'destroy' in Stream.Readable.prototype;\n\n/**\n * Check if a value is an instance of Request.\n *\n * @param Mixed input\n * @return Boolean\n */\nfunction isRequest(input) {\n\treturn typeof input === 'object' && typeof input[INTERNALS$2] === 'object';\n}\n\nfunction isAbortSignal(signal) {\n\tconst proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal);\n\treturn !!(proto && proto.constructor.name === 'AbortSignal');\n}\n\n/**\n * Request class\n *\n * @param Mixed input Url or Request instance\n * @param Object init Custom options\n * @return Void\n */\nclass Request {\n\tconstructor(input) {\n\t\tlet init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tlet parsedURL;\n\n\t\t// normalize input\n\t\tif (!isRequest(input)) {\n\t\t\tif (input && input.href) {\n\t\t\t\t// in order to support Node.js' Url objects; though WHATWG's URL objects\n\t\t\t\t// will fall into this branch also (since their `toString()` will return\n\t\t\t\t// `href` property anyway)\n\t\t\t\tparsedURL = parseURL(input.href);\n\t\t\t} else {\n\t\t\t\t// coerce input to a string before attempting to parse\n\t\t\t\tparsedURL = parseURL(`${input}`);\n\t\t\t}\n\t\t\tinput = {};\n\t\t} else {\n\t\t\tparsedURL = parseURL(input.url);\n\t\t}\n\n\t\tlet method = init.method || input.method || 'GET';\n\t\tmethod = method.toUpperCase();\n\n\t\tif ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) {\n\t\t\tthrow new TypeError('Request with GET/HEAD method cannot have body');\n\t\t}\n\n\t\tlet inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;\n\n\t\tBody.call(this, inputBody, {\n\t\t\ttimeout: init.timeout || input.timeout || 0,\n\t\t\tsize: init.size || input.size || 0\n\t\t});\n\n\t\tconst headers = new Headers(init.headers || input.headers || {});\n\n\t\tif (inputBody != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(inputBody);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tlet signal = isRequest(input) ? input.signal : null;\n\t\tif ('signal' in init) signal = init.signal;\n\n\t\tif (signal != null && !isAbortSignal(signal)) {\n\t\t\tthrow new TypeError('Expected signal to be an instanceof AbortSignal');\n\t\t}\n\n\t\tthis[INTERNALS$2] = {\n\t\t\tmethod,\n\t\t\tredirect: init.redirect || input.redirect || 'follow',\n\t\t\theaders,\n\t\t\tparsedURL,\n\t\t\tsignal\n\t\t};\n\n\t\t// node-fetch-only options\n\t\tthis.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20;\n\t\tthis.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true;\n\t\tthis.counter = init.counter || input.counter || 0;\n\t\tthis.agent = init.agent || input.agent;\n\t}\n\n\tget method() {\n\t\treturn this[INTERNALS$2].method;\n\t}\n\n\tget url() {\n\t\treturn format_url(this[INTERNALS$2].parsedURL);\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$2].headers;\n\t}\n\n\tget redirect() {\n\t\treturn this[INTERNALS$2].redirect;\n\t}\n\n\tget signal() {\n\t\treturn this[INTERNALS$2].signal;\n\t}\n\n\t/**\n * Clone this request\n *\n * @return Request\n */\n\tclone() {\n\t\treturn new Request(this);\n\t}\n}\n\nBody.mixIn(Request.prototype);\n\nObject.defineProperty(Request.prototype, Symbol.toStringTag, {\n\tvalue: 'Request',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Request.prototype, {\n\tmethod: { enumerable: true },\n\turl: { enumerable: true },\n\theaders: { enumerable: true },\n\tredirect: { enumerable: true },\n\tclone: { enumerable: true },\n\tsignal: { enumerable: true }\n});\n\n/**\n * Convert a Request to Node.js http request options.\n *\n * @param Request A Request instance\n * @return Object The options object to be passed to http.request\n */\nfunction getNodeRequestOptions(request) {\n\tconst parsedURL = request[INTERNALS$2].parsedURL;\n\tconst headers = new Headers(request[INTERNALS$2].headers);\n\n\t// fetch step 1.3\n\tif (!headers.has('Accept')) {\n\t\theaders.set('Accept', '*/*');\n\t}\n\n\t// Basic fetch\n\tif (!parsedURL.protocol || !parsedURL.hostname) {\n\t\tthrow new TypeError('Only absolute URLs are supported');\n\t}\n\n\tif (!/^https?:$/.test(parsedURL.protocol)) {\n\t\tthrow new TypeError('Only HTTP(S) protocols are supported');\n\t}\n\n\tif (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) {\n\t\tthrow new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8');\n\t}\n\n\t// HTTP-network-or-cache fetch steps 2.4-2.7\n\tlet contentLengthValue = null;\n\tif (request.body == null && /^(POST|PUT)$/i.test(request.method)) {\n\t\tcontentLengthValue = '0';\n\t}\n\tif (request.body != null) {\n\t\tconst totalBytes = getTotalBytes(request);\n\t\tif (typeof totalBytes === 'number') {\n\t\t\tcontentLengthValue = String(totalBytes);\n\t\t}\n\t}\n\tif (contentLengthValue) {\n\t\theaders.set('Content-Length', contentLengthValue);\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.11\n\tif (!headers.has('User-Agent')) {\n\t\theaders.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)');\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.15\n\tif (request.compress && !headers.has('Accept-Encoding')) {\n\t\theaders.set('Accept-Encoding', 'gzip,deflate');\n\t}\n\n\tlet agent = request.agent;\n\tif (typeof agent === 'function') {\n\t\tagent = agent(parsedURL);\n\t}\n\n\tif (!headers.has('Connection') && !agent) {\n\t\theaders.set('Connection', 'close');\n\t}\n\n\t// HTTP-network fetch step 4.2\n\t// chunked encoding is handled by Node.js\n\n\treturn Object.assign({}, parsedURL, {\n\t\tmethod: request.method,\n\t\theaders: exportNodeCompatibleHeaders(headers),\n\t\tagent\n\t});\n}\n\n/**\n * abort-error.js\n *\n * AbortError interface for cancelled requests\n */\n\n/**\n * Create AbortError instance\n *\n * @param String message Error message for human\n * @return AbortError\n */\nfunction AbortError(message) {\n Error.call(this, message);\n\n this.type = 'aborted';\n this.message = message;\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nAbortError.prototype = Object.create(Error.prototype);\nAbortError.prototype.constructor = AbortError;\nAbortError.prototype.name = 'AbortError';\n\nconst URL$1 = Url.URL || whatwgUrl.URL;\n\n// fix an issue where \"PassThrough\", \"resolve\" aren't a named export for node <10\nconst PassThrough$1 = Stream.PassThrough;\n\nconst isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) {\n\tconst orig = new URL$1(original).hostname;\n\tconst dest = new URL$1(destination).hostname;\n\n\treturn orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest);\n};\n\n/**\n * Fetch function\n *\n * @param Mixed url Absolute url or Request instance\n * @param Object opts Fetch options\n * @return Promise\n */\nfunction fetch(url, opts) {\n\n\t// allow custom promise\n\tif (!fetch.Promise) {\n\t\tthrow new Error('native promise missing, set fetch.Promise to your favorite alternative');\n\t}\n\n\tBody.Promise = fetch.Promise;\n\n\t// wrap http.request into fetch\n\treturn new fetch.Promise(function (resolve, reject) {\n\t\t// build request object\n\t\tconst request = new Request(url, opts);\n\t\tconst options = getNodeRequestOptions(request);\n\n\t\tconst send = (options.protocol === 'https:' ? https : http).request;\n\t\tconst signal = request.signal;\n\n\t\tlet response = null;\n\n\t\tconst abort = function abort() {\n\t\t\tlet error = new AbortError('The user aborted a request.');\n\t\t\treject(error);\n\t\t\tif (request.body && request.body instanceof Stream.Readable) {\n\t\t\t\trequest.body.destroy(error);\n\t\t\t}\n\t\t\tif (!response || !response.body) return;\n\t\t\tresponse.body.emit('error', error);\n\t\t};\n\n\t\tif (signal && signal.aborted) {\n\t\t\tabort();\n\t\t\treturn;\n\t\t}\n\n\t\tconst abortAndFinalize = function abortAndFinalize() {\n\t\t\tabort();\n\t\t\tfinalize();\n\t\t};\n\n\t\t// send request\n\t\tconst req = send(options);\n\t\tlet reqTimeout;\n\n\t\tif (signal) {\n\t\t\tsignal.addEventListener('abort', abortAndFinalize);\n\t\t}\n\n\t\tfunction finalize() {\n\t\t\treq.abort();\n\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\tclearTimeout(reqTimeout);\n\t\t}\n\n\t\tif (request.timeout) {\n\t\t\treq.once('socket', function (socket) {\n\t\t\t\treqTimeout = setTimeout(function () {\n\t\t\t\t\treject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout'));\n\t\t\t\t\tfinalize();\n\t\t\t\t}, request.timeout);\n\t\t\t});\n\t\t}\n\n\t\treq.on('error', function (err) {\n\t\t\treject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));\n\t\t\tfinalize();\n\t\t});\n\n\t\treq.on('response', function (res) {\n\t\t\tclearTimeout(reqTimeout);\n\n\t\t\tconst headers = createHeadersLenient(res.headers);\n\n\t\t\t// HTTP fetch step 5\n\t\t\tif (fetch.isRedirect(res.statusCode)) {\n\t\t\t\t// HTTP fetch step 5.2\n\t\t\t\tconst location = headers.get('Location');\n\n\t\t\t\t// HTTP fetch step 5.3\n\t\t\t\tlet locationURL = null;\n\t\t\t\ttry {\n\t\t\t\t\tlocationURL = location === null ? null : new URL$1(location, request.url).toString();\n\t\t\t\t} catch (err) {\n\t\t\t\t\t// error here can only be invalid URL in Location: header\n\t\t\t\t\t// do not throw when options.redirect == manual\n\t\t\t\t\t// let the user extract the errorneous redirect URL\n\t\t\t\t\tif (request.redirect !== 'manual') {\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// HTTP fetch step 5.5\n\t\t\t\tswitch (request.redirect) {\n\t\t\t\t\tcase 'error':\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\t// node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL.\n\t\t\t\t\t\tif (locationURL !== null) {\n\t\t\t\t\t\t\t// handle corrupted header\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\theaders.set('Location', locationURL);\n\t\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t\t// istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request\n\t\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'follow':\n\t\t\t\t\t\t// HTTP-redirect fetch step 2\n\t\t\t\t\t\tif (locationURL === null) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 5\n\t\t\t\t\t\tif (request.counter >= request.follow) {\n\t\t\t\t\t\t\treject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 6 (counter increment)\n\t\t\t\t\t\t// Create a new Request object.\n\t\t\t\t\t\tconst requestOpts = {\n\t\t\t\t\t\t\theaders: new Headers(request.headers),\n\t\t\t\t\t\t\tfollow: request.follow,\n\t\t\t\t\t\t\tcounter: request.counter + 1,\n\t\t\t\t\t\t\tagent: request.agent,\n\t\t\t\t\t\t\tcompress: request.compress,\n\t\t\t\t\t\t\tmethod: request.method,\n\t\t\t\t\t\t\tbody: request.body,\n\t\t\t\t\t\t\tsignal: request.signal,\n\t\t\t\t\t\t\ttimeout: request.timeout,\n\t\t\t\t\t\t\tsize: request.size\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tif (!isDomainOrSubdomain(request.url, locationURL)) {\n\t\t\t\t\t\t\tfor (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) {\n\t\t\t\t\t\t\t\trequestOpts.headers.delete(name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 9\n\t\t\t\t\t\tif (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) {\n\t\t\t\t\t\t\treject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 11\n\t\t\t\t\t\tif (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') {\n\t\t\t\t\t\t\trequestOpts.method = 'GET';\n\t\t\t\t\t\t\trequestOpts.body = undefined;\n\t\t\t\t\t\t\trequestOpts.headers.delete('content-length');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 15\n\t\t\t\t\t\tresolve(fetch(new Request(locationURL, requestOpts)));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// prepare response\n\t\t\tres.once('end', function () {\n\t\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\t});\n\t\t\tlet body = res.pipe(new PassThrough$1());\n\n\t\t\tconst response_options = {\n\t\t\t\turl: request.url,\n\t\t\t\tstatus: res.statusCode,\n\t\t\t\tstatusText: res.statusMessage,\n\t\t\t\theaders: headers,\n\t\t\t\tsize: request.size,\n\t\t\t\ttimeout: request.timeout,\n\t\t\t\tcounter: request.counter\n\t\t\t};\n\n\t\t\t// HTTP-network fetch step 12.1.1.3\n\t\t\tconst codings = headers.get('Content-Encoding');\n\n\t\t\t// HTTP-network fetch step 12.1.1.4: handle content codings\n\n\t\t\t// in following scenarios we ignore compression support\n\t\t\t// 1. compression support is disabled\n\t\t\t// 2. HEAD request\n\t\t\t// 3. no Content-Encoding header\n\t\t\t// 4. no content response (204)\n\t\t\t// 5. content not modified response (304)\n\t\t\tif (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) {\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For Node v6+\n\t\t\t// Be less strict when decoding compressed responses, since sometimes\n\t\t\t// servers send slightly invalid responses that are still accepted\n\t\t\t// by common browsers.\n\t\t\t// Always using Z_SYNC_FLUSH is what cURL does.\n\t\t\tconst zlibOptions = {\n\t\t\t\tflush: zlib.Z_SYNC_FLUSH,\n\t\t\t\tfinishFlush: zlib.Z_SYNC_FLUSH\n\t\t\t};\n\n\t\t\t// for gzip\n\t\t\tif (codings == 'gzip' || codings == 'x-gzip') {\n\t\t\t\tbody = body.pipe(zlib.createGunzip(zlibOptions));\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for deflate\n\t\t\tif (codings == 'deflate' || codings == 'x-deflate') {\n\t\t\t\t// handle the infamous raw deflate response from old servers\n\t\t\t\t// a hack for old IIS and Apache servers\n\t\t\t\tconst raw = res.pipe(new PassThrough$1());\n\t\t\t\traw.once('data', function (chunk) {\n\t\t\t\t\t// see http://stackoverflow.com/questions/37519828\n\t\t\t\t\tif ((chunk[0] & 0x0F) === 0x08) {\n\t\t\t\t\t\tbody = body.pipe(zlib.createInflate());\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbody = body.pipe(zlib.createInflateRaw());\n\t\t\t\t\t}\n\t\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\t\tresolve(response);\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for br\n\t\t\tif (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') {\n\t\t\t\tbody = body.pipe(zlib.createBrotliDecompress());\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// otherwise, use response as-is\n\t\t\tresponse = new Response(body, response_options);\n\t\t\tresolve(response);\n\t\t});\n\n\t\twriteToStream(req, request);\n\t});\n}\n/**\n * Redirect code matching\n *\n * @param Number code Status code\n * @return Boolean\n */\nfetch.isRedirect = function (code) {\n\treturn code === 301 || code === 302 || code === 303 || code === 307 || code === 308;\n};\n\n// expose Promise\nfetch.Promise = global.Promise;\n\nmodule.exports = exports = fetch;\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.default = exports;\nexports.Headers = Headers;\nexports.Request = Request;\nexports.Response = Response;\nexports.FetchError = FetchError;\n\n\n/***/ }),\n\n/***/ 2299:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nvar punycode = __nccwpck_require__(4213);\nvar mappingTable = __nccwpck_require__(8661);\n\nvar PROCESSING_OPTIONS = {\n TRANSITIONAL: 0,\n NONTRANSITIONAL: 1\n};\n\nfunction normalize(str) { // fix bug in v8\n return str.split('\\u0000').map(function (s) { return s.normalize('NFC'); }).join('\\u0000');\n}\n\nfunction findStatus(val) {\n var start = 0;\n var end = mappingTable.length - 1;\n\n while (start <= end) {\n var mid = Math.floor((start + end) / 2);\n\n var target = mappingTable[mid];\n if (target[0][0] <= val && target[0][1] >= val) {\n return target;\n } else if (target[0][0] > val) {\n end = mid - 1;\n } else {\n start = mid + 1;\n }\n }\n\n return null;\n}\n\nvar regexAstralSymbols = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n\nfunction countSymbols(string) {\n return string\n // replace every surrogate pair with a BMP symbol\n .replace(regexAstralSymbols, '_')\n // then get the length\n .length;\n}\n\nfunction mapChars(domain_name, useSTD3, processing_option) {\n var hasError = false;\n var processed = \"\";\n\n var len = countSymbols(domain_name);\n for (var i = 0; i < len; ++i) {\n var codePoint = domain_name.codePointAt(i);\n var status = findStatus(codePoint);\n\n switch (status[1]) {\n case \"disallowed\":\n hasError = true;\n processed += String.fromCodePoint(codePoint);\n break;\n case \"ignored\":\n break;\n case \"mapped\":\n processed += String.fromCodePoint.apply(String, status[2]);\n break;\n case \"deviation\":\n if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) {\n processed += String.fromCodePoint.apply(String, status[2]);\n } else {\n processed += String.fromCodePoint(codePoint);\n }\n break;\n case \"valid\":\n processed += String.fromCodePoint(codePoint);\n break;\n case \"disallowed_STD3_mapped\":\n if (useSTD3) {\n hasError = true;\n processed += String.fromCodePoint(codePoint);\n } else {\n processed += String.fromCodePoint.apply(String, status[2]);\n }\n break;\n case \"disallowed_STD3_valid\":\n if (useSTD3) {\n hasError = true;\n }\n\n processed += String.fromCodePoint(codePoint);\n break;\n }\n }\n\n return {\n string: processed,\n error: hasError\n };\n}\n\nvar combiningMarksRegex = /[\\u0300-\\u036F\\u0483-\\u0489\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u08E4-\\u0903\\u093A-\\u093C\\u093E-\\u094F\\u0951-\\u0957\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u0A01-\\u0A03\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AE2\\u0AE3\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B62\\u0B63\\u0B82\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C00-\\u0C03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0C81-\\u0C83\\u0CBC\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CE2\\u0CE3\\u0D01-\\u0D03\\u0D3E-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0D62\\u0D63\\u0D82\\u0D83\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102B-\\u103E\\u1056-\\u1059\\u105E-\\u1060\\u1062-\\u1064\\u1067-\\u106D\\u1071-\\u1074\\u1082-\\u108D\\u108F\\u109A-\\u109D\\u135D-\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B4-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u192B\\u1930-\\u193B\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A17-\\u1A1B\\u1A55-\\u1A5E\\u1A60-\\u1A7C\\u1A7F\\u1AB0-\\u1ABE\\u1B00-\\u1B04\\u1B34-\\u1B44\\u1B6B-\\u1B73\\u1B80-\\u1B82\\u1BA1-\\u1BAD\\u1BE6-\\u1BF3\\u1C24-\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE8\\u1CED\\u1CF2-\\u1CF4\\u1CF8\\u1CF9\\u1DC0-\\u1DF5\\u1DFC-\\u1DFF\\u20D0-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F-\\uA672\\uA674-\\uA67D\\uA69F\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA823-\\uA827\\uA880\\uA881\\uA8B4-\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA953\\uA980-\\uA983\\uA9B3-\\uA9C0\\uA9E5\\uAA29-\\uAA36\\uAA43\\uAA4C\\uAA4D\\uAA7B-\\uAA7D\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uAAEB-\\uAAEF\\uAAF5\\uAAF6\\uABE3-\\uABEA\\uABEC\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2D]|\\uD800[\\uDDFD\\uDEE0\\uDF76-\\uDF7A]|\\uD802[\\uDE01-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE0F\\uDE38-\\uDE3A\\uDE3F\\uDEE5\\uDEE6]|\\uD804[\\uDC00-\\uDC02\\uDC38-\\uDC46\\uDC7F-\\uDC82\\uDCB0-\\uDCBA\\uDD00-\\uDD02\\uDD27-\\uDD34\\uDD73\\uDD80-\\uDD82\\uDDB3-\\uDDC0\\uDE2C-\\uDE37\\uDEDF-\\uDEEA\\uDF01-\\uDF03\\uDF3C\\uDF3E-\\uDF44\\uDF47\\uDF48\\uDF4B-\\uDF4D\\uDF57\\uDF62\\uDF63\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDCB0-\\uDCC3\\uDDAF-\\uDDB5\\uDDB8-\\uDDC0\\uDE30-\\uDE40\\uDEAB-\\uDEB7]|\\uD81A[\\uDEF0-\\uDEF4\\uDF30-\\uDF36]|\\uD81B[\\uDF51-\\uDF7E\\uDF8F-\\uDF92]|\\uD82F[\\uDC9D\\uDC9E]|\\uD834[\\uDD65-\\uDD69\\uDD6D-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\uD83A[\\uDCD0-\\uDCD6]|\\uDB40[\\uDD00-\\uDDEF]/;\n\nfunction validateLabel(label, processing_option) {\n if (label.substr(0, 4) === \"xn--\") {\n label = punycode.toUnicode(label);\n processing_option = PROCESSING_OPTIONS.NONTRANSITIONAL;\n }\n\n var error = false;\n\n if (normalize(label) !== label ||\n (label[3] === \"-\" && label[4] === \"-\") ||\n label[0] === \"-\" || label[label.length - 1] === \"-\" ||\n label.indexOf(\".\") !== -1 ||\n label.search(combiningMarksRegex) === 0) {\n error = true;\n }\n\n var len = countSymbols(label);\n for (var i = 0; i < len; ++i) {\n var status = findStatus(label.codePointAt(i));\n if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== \"valid\") ||\n (processing === PROCESSING_OPTIONS.NONTRANSITIONAL &&\n status[1] !== \"valid\" && status[1] !== \"deviation\")) {\n error = true;\n break;\n }\n }\n\n return {\n label: label,\n error: error\n };\n}\n\nfunction processing(domain_name, useSTD3, processing_option) {\n var result = mapChars(domain_name, useSTD3, processing_option);\n result.string = normalize(result.string);\n\n var labels = result.string.split(\".\");\n for (var i = 0; i < labels.length; ++i) {\n try {\n var validation = validateLabel(labels[i]);\n labels[i] = validation.label;\n result.error = result.error || validation.error;\n } catch(e) {\n result.error = true;\n }\n }\n\n return {\n string: labels.join(\".\"),\n error: result.error\n };\n}\n\nmodule.exports.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) {\n var result = processing(domain_name, useSTD3, processing_option);\n var labels = result.string.split(\".\");\n labels = labels.map(function(l) {\n try {\n return punycode.toASCII(l);\n } catch(e) {\n result.error = true;\n return l;\n }\n });\n\n if (verifyDnsLength) {\n var total = labels.slice(0, labels.length - 1).join(\".\").length;\n if (total.length > 253 || total.length === 0) {\n result.error = true;\n }\n\n for (var i=0; i < labels.length; ++i) {\n if (labels.length > 63 || labels.length === 0) {\n result.error = true;\n break;\n }\n }\n }\n\n if (result.error) return null;\n return labels.join(\".\");\n};\n\nmodule.exports.toUnicode = function(domain_name, useSTD3) {\n var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL);\n\n return {\n domain: result.string,\n error: result.error\n };\n};\n\nmodule.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS;\n\n\n/***/ }),\n\n/***/ 5871:\n/***/ ((module) => {\n\n\"use strict\";\n\n\nvar conversions = {};\nmodule.exports = conversions;\n\nfunction sign(x) {\n return x < 0 ? -1 : 1;\n}\n\nfunction evenRound(x) {\n // Round x to the nearest integer, choosing the even integer if it lies halfway between two.\n if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. floor)\n return Math.floor(x);\n } else {\n return Math.round(x);\n }\n}\n\nfunction createNumberConversion(bitLength, typeOpts) {\n if (!typeOpts.unsigned) {\n --bitLength;\n }\n const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength);\n const upperBound = Math.pow(2, bitLength) - 1;\n\n const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength);\n const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1);\n\n return function(V, opts) {\n if (!opts) opts = {};\n\n let x = +V;\n\n if (opts.enforceRange) {\n if (!Number.isFinite(x)) {\n throw new TypeError(\"Argument is not a finite number\");\n }\n\n x = sign(x) * Math.floor(Math.abs(x));\n if (x < lowerBound || x > upperBound) {\n throw new TypeError(\"Argument is not in byte range\");\n }\n\n return x;\n }\n\n if (!isNaN(x) && opts.clamp) {\n x = evenRound(x);\n\n if (x < lowerBound) x = lowerBound;\n if (x > upperBound) x = upperBound;\n return x;\n }\n\n if (!Number.isFinite(x) || x === 0) {\n return 0;\n }\n\n x = sign(x) * Math.floor(Math.abs(x));\n x = x % moduloVal;\n\n if (!typeOpts.unsigned && x >= moduloBound) {\n return x - moduloVal;\n } else if (typeOpts.unsigned) {\n if (x < 0) {\n x += moduloVal;\n } else if (x === -0) { // don't return negative zero\n return 0;\n }\n }\n\n return x;\n }\n}\n\nconversions[\"void\"] = function () {\n return undefined;\n};\n\nconversions[\"boolean\"] = function (val) {\n return !!val;\n};\n\nconversions[\"byte\"] = createNumberConversion(8, { unsigned: false });\nconversions[\"octet\"] = createNumberConversion(8, { unsigned: true });\n\nconversions[\"short\"] = createNumberConversion(16, { unsigned: false });\nconversions[\"unsigned short\"] = createNumberConversion(16, { unsigned: true });\n\nconversions[\"long\"] = createNumberConversion(32, { unsigned: false });\nconversions[\"unsigned long\"] = createNumberConversion(32, { unsigned: true });\n\nconversions[\"long long\"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 });\nconversions[\"unsigned long long\"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 });\n\nconversions[\"double\"] = function (V) {\n const x = +V;\n\n if (!Number.isFinite(x)) {\n throw new TypeError(\"Argument is not a finite floating-point value\");\n }\n\n return x;\n};\n\nconversions[\"unrestricted double\"] = function (V) {\n const x = +V;\n\n if (isNaN(x)) {\n throw new TypeError(\"Argument is NaN\");\n }\n\n return x;\n};\n\n// not quite valid, but good enough for JS\nconversions[\"float\"] = conversions[\"double\"];\nconversions[\"unrestricted float\"] = conversions[\"unrestricted double\"];\n\nconversions[\"DOMString\"] = function (V, opts) {\n if (!opts) opts = {};\n\n if (opts.treatNullAsEmptyString && V === null) {\n return \"\";\n }\n\n return String(V);\n};\n\nconversions[\"ByteString\"] = function (V, opts) {\n const x = String(V);\n let c = undefined;\n for (let i = 0; (c = x.codePointAt(i)) !== undefined; ++i) {\n if (c > 255) {\n throw new TypeError(\"Argument is not a valid bytestring\");\n }\n }\n\n return x;\n};\n\nconversions[\"USVString\"] = function (V) {\n const S = String(V);\n const n = S.length;\n const U = [];\n for (let i = 0; i < n; ++i) {\n const c = S.charCodeAt(i);\n if (c < 0xD800 || c > 0xDFFF) {\n U.push(String.fromCodePoint(c));\n } else if (0xDC00 <= c && c <= 0xDFFF) {\n U.push(String.fromCodePoint(0xFFFD));\n } else {\n if (i === n - 1) {\n U.push(String.fromCodePoint(0xFFFD));\n } else {\n const d = S.charCodeAt(i + 1);\n if (0xDC00 <= d && d <= 0xDFFF) {\n const a = c & 0x3FF;\n const b = d & 0x3FF;\n U.push(String.fromCodePoint((2 << 15) + (2 << 9) * a + b));\n ++i;\n } else {\n U.push(String.fromCodePoint(0xFFFD));\n }\n }\n }\n }\n\n return U.join('');\n};\n\nconversions[\"Date\"] = function (V, opts) {\n if (!(V instanceof Date)) {\n throw new TypeError(\"Argument is not a Date object\");\n }\n if (isNaN(V)) {\n return undefined;\n }\n\n return V;\n};\n\nconversions[\"RegExp\"] = function (V, opts) {\n if (!(V instanceof RegExp)) {\n V = new RegExp(V);\n }\n\n return V;\n};\n\n\n/***/ }),\n\n/***/ 8262:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\nconst usm = __nccwpck_require__(33);\n\nexports.implementation = class URLImpl {\n constructor(constructorArgs) {\n const url = constructorArgs[0];\n const base = constructorArgs[1];\n\n let parsedBase = null;\n if (base !== undefined) {\n parsedBase = usm.basicURLParse(base);\n if (parsedBase === \"failure\") {\n throw new TypeError(\"Invalid base URL\");\n }\n }\n\n const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase });\n if (parsedURL === \"failure\") {\n throw new TypeError(\"Invalid URL\");\n }\n\n this._url = parsedURL;\n\n // TODO: query stuff\n }\n\n get href() {\n return usm.serializeURL(this._url);\n }\n\n set href(v) {\n const parsedURL = usm.basicURLParse(v);\n if (parsedURL === \"failure\") {\n throw new TypeError(\"Invalid URL\");\n }\n\n this._url = parsedURL;\n }\n\n get origin() {\n return usm.serializeURLOrigin(this._url);\n }\n\n get protocol() {\n return this._url.scheme + \":\";\n }\n\n set protocol(v) {\n usm.basicURLParse(v + \":\", { url: this._url, stateOverride: \"scheme start\" });\n }\n\n get username() {\n return this._url.username;\n }\n\n set username(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n usm.setTheUsername(this._url, v);\n }\n\n get password() {\n return this._url.password;\n }\n\n set password(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n usm.setThePassword(this._url, v);\n }\n\n get host() {\n const url = this._url;\n\n if (url.host === null) {\n return \"\";\n }\n\n if (url.port === null) {\n return usm.serializeHost(url.host);\n }\n\n return usm.serializeHost(url.host) + \":\" + usm.serializeInteger(url.port);\n }\n\n set host(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n usm.basicURLParse(v, { url: this._url, stateOverride: \"host\" });\n }\n\n get hostname() {\n if (this._url.host === null) {\n return \"\";\n }\n\n return usm.serializeHost(this._url.host);\n }\n\n set hostname(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n usm.basicURLParse(v, { url: this._url, stateOverride: \"hostname\" });\n }\n\n get port() {\n if (this._url.port === null) {\n return \"\";\n }\n\n return usm.serializeInteger(this._url.port);\n }\n\n set port(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n if (v === \"\") {\n this._url.port = null;\n } else {\n usm.basicURLParse(v, { url: this._url, stateOverride: \"port\" });\n }\n }\n\n get pathname() {\n if (this._url.cannotBeABaseURL) {\n return this._url.path[0];\n }\n\n if (this._url.path.length === 0) {\n return \"\";\n }\n\n return \"/\" + this._url.path.join(\"/\");\n }\n\n set pathname(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n this._url.path = [];\n usm.basicURLParse(v, { url: this._url, stateOverride: \"path start\" });\n }\n\n get search() {\n if (this._url.query === null || this._url.query === \"\") {\n return \"\";\n }\n\n return \"?\" + this._url.query;\n }\n\n set search(v) {\n // TODO: query stuff\n\n const url = this._url;\n\n if (v === \"\") {\n url.query = null;\n return;\n }\n\n const input = v[0] === \"?\" ? v.substring(1) : v;\n url.query = \"\";\n usm.basicURLParse(input, { url, stateOverride: \"query\" });\n }\n\n get hash() {\n if (this._url.fragment === null || this._url.fragment === \"\") {\n return \"\";\n }\n\n return \"#\" + this._url.fragment;\n }\n\n set hash(v) {\n if (v === \"\") {\n this._url.fragment = null;\n return;\n }\n\n const input = v[0] === \"#\" ? v.substring(1) : v;\n this._url.fragment = \"\";\n usm.basicURLParse(input, { url: this._url, stateOverride: \"fragment\" });\n }\n\n toJSON() {\n return this.href;\n }\n};\n\n\n/***/ }),\n\n/***/ 653:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nconst conversions = __nccwpck_require__(5871);\nconst utils = __nccwpck_require__(276);\nconst Impl = __nccwpck_require__(8262);\n\nconst impl = utils.implSymbol;\n\nfunction URL(url) {\n if (!this || this[impl] || !(this instanceof URL)) {\n throw new TypeError(\"Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.\");\n }\n if (arguments.length < 1) {\n throw new TypeError(\"Failed to construct 'URL': 1 argument required, but only \" + arguments.length + \" present.\");\n }\n const args = [];\n for (let i = 0; i < arguments.length && i < 2; ++i) {\n args[i] = arguments[i];\n }\n args[0] = conversions[\"USVString\"](args[0]);\n if (args[1] !== undefined) {\n args[1] = conversions[\"USVString\"](args[1]);\n }\n\n module.exports.setup(this, args);\n}\n\nURL.prototype.toJSON = function toJSON() {\n if (!this || !module.exports.is(this)) {\n throw new TypeError(\"Illegal invocation\");\n }\n const args = [];\n for (let i = 0; i < arguments.length && i < 0; ++i) {\n args[i] = arguments[i];\n }\n return this[impl].toJSON.apply(this[impl], args);\n};\nObject.defineProperty(URL.prototype, \"href\", {\n get() {\n return this[impl].href;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].href = V;\n },\n enumerable: true,\n configurable: true\n});\n\nURL.prototype.toString = function () {\n if (!this || !module.exports.is(this)) {\n throw new TypeError(\"Illegal invocation\");\n }\n return this.href;\n};\n\nObject.defineProperty(URL.prototype, \"origin\", {\n get() {\n return this[impl].origin;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"protocol\", {\n get() {\n return this[impl].protocol;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].protocol = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"username\", {\n get() {\n return this[impl].username;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].username = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"password\", {\n get() {\n return this[impl].password;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].password = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"host\", {\n get() {\n return this[impl].host;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].host = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"hostname\", {\n get() {\n return this[impl].hostname;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].hostname = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"port\", {\n get() {\n return this[impl].port;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].port = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"pathname\", {\n get() {\n return this[impl].pathname;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].pathname = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"search\", {\n get() {\n return this[impl].search;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].search = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"hash\", {\n get() {\n return this[impl].hash;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].hash = V;\n },\n enumerable: true,\n configurable: true\n});\n\n\nmodule.exports = {\n is(obj) {\n return !!obj && obj[impl] instanceof Impl.implementation;\n },\n create(constructorArgs, privateData) {\n let obj = Object.create(URL.prototype);\n this.setup(obj, constructorArgs, privateData);\n return obj;\n },\n setup(obj, constructorArgs, privateData) {\n if (!privateData) privateData = {};\n privateData.wrapper = obj;\n\n obj[impl] = new Impl.implementation(constructorArgs, privateData);\n obj[impl][utils.wrapperSymbol] = obj;\n },\n interface: URL,\n expose: {\n Window: { URL: URL },\n Worker: { URL: URL }\n }\n};\n\n\n\n/***/ }),\n\n/***/ 3323:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nexports.URL = __nccwpck_require__(653).interface;\nexports.serializeURL = __nccwpck_require__(33).serializeURL;\nexports.serializeURLOrigin = __nccwpck_require__(33).serializeURLOrigin;\nexports.basicURLParse = __nccwpck_require__(33).basicURLParse;\nexports.setTheUsername = __nccwpck_require__(33).setTheUsername;\nexports.setThePassword = __nccwpck_require__(33).setThePassword;\nexports.serializeHost = __nccwpck_require__(33).serializeHost;\nexports.serializeInteger = __nccwpck_require__(33).serializeInteger;\nexports.parseURL = __nccwpck_require__(33).parseURL;\n\n\n/***/ }),\n\n/***/ 33:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\n\"use strict\";\n\r\nconst punycode = __nccwpck_require__(4213);\r\nconst tr46 = __nccwpck_require__(2299);\r\n\r\nconst specialSchemes = {\r\n ftp: 21,\r\n file: null,\r\n gopher: 70,\r\n http: 80,\r\n https: 443,\r\n ws: 80,\r\n wss: 443\r\n};\r\n\r\nconst failure = Symbol(\"failure\");\r\n\r\nfunction countSymbols(str) {\r\n return punycode.ucs2.decode(str).length;\r\n}\r\n\r\nfunction at(input, idx) {\r\n const c = input[idx];\r\n return isNaN(c) ? undefined : String.fromCodePoint(c);\r\n}\r\n\r\nfunction isASCIIDigit(c) {\r\n return c >= 0x30 && c <= 0x39;\r\n}\r\n\r\nfunction isASCIIAlpha(c) {\r\n return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A);\r\n}\r\n\r\nfunction isASCIIAlphanumeric(c) {\r\n return isASCIIAlpha(c) || isASCIIDigit(c);\r\n}\r\n\r\nfunction isASCIIHex(c) {\r\n return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66);\r\n}\r\n\r\nfunction isSingleDot(buffer) {\r\n return buffer === \".\" || buffer.toLowerCase() === \"%2e\";\r\n}\r\n\r\nfunction isDoubleDot(buffer) {\r\n buffer = buffer.toLowerCase();\r\n return buffer === \"..\" || buffer === \"%2e.\" || buffer === \".%2e\" || buffer === \"%2e%2e\";\r\n}\r\n\r\nfunction isWindowsDriveLetterCodePoints(cp1, cp2) {\r\n return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124);\r\n}\r\n\r\nfunction isWindowsDriveLetterString(string) {\r\n return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === \":\" || string[1] === \"|\");\r\n}\r\n\r\nfunction isNormalizedWindowsDriveLetterString(string) {\r\n return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === \":\";\r\n}\r\n\r\nfunction containsForbiddenHostCodePoint(string) {\r\n return string.search(/\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|%|\\/|:|\\?|@|\\[|\\\\|\\]/) !== -1;\r\n}\r\n\r\nfunction containsForbiddenHostCodePointExcludingPercent(string) {\r\n return string.search(/\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|\\/|:|\\?|@|\\[|\\\\|\\]/) !== -1;\r\n}\r\n\r\nfunction isSpecialScheme(scheme) {\r\n return specialSchemes[scheme] !== undefined;\r\n}\r\n\r\nfunction isSpecial(url) {\r\n return isSpecialScheme(url.scheme);\r\n}\r\n\r\nfunction defaultPort(scheme) {\r\n return specialSchemes[scheme];\r\n}\r\n\r\nfunction percentEncode(c) {\r\n let hex = c.toString(16).toUpperCase();\r\n if (hex.length === 1) {\r\n hex = \"0\" + hex;\r\n }\r\n\r\n return \"%\" + hex;\r\n}\r\n\r\nfunction utf8PercentEncode(c) {\r\n const buf = new Buffer(c);\r\n\r\n let str = \"\";\r\n\r\n for (let i = 0; i < buf.length; ++i) {\r\n str += percentEncode(buf[i]);\r\n }\r\n\r\n return str;\r\n}\r\n\r\nfunction utf8PercentDecode(str) {\r\n const input = new Buffer(str);\r\n const output = [];\r\n for (let i = 0; i < input.length; ++i) {\r\n if (input[i] !== 37) {\r\n output.push(input[i]);\r\n } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) {\r\n output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16));\r\n i += 2;\r\n } else {\r\n output.push(input[i]);\r\n }\r\n }\r\n return new Buffer(output).toString();\r\n}\r\n\r\nfunction isC0ControlPercentEncode(c) {\r\n return c <= 0x1F || c > 0x7E;\r\n}\r\n\r\nconst extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]);\r\nfunction isPathPercentEncode(c) {\r\n return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c);\r\n}\r\n\r\nconst extraUserinfoPercentEncodeSet =\r\n new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]);\r\nfunction isUserinfoPercentEncode(c) {\r\n return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c);\r\n}\r\n\r\nfunction percentEncodeChar(c, encodeSetPredicate) {\r\n const cStr = String.fromCodePoint(c);\r\n\r\n if (encodeSetPredicate(c)) {\r\n return utf8PercentEncode(cStr);\r\n }\r\n\r\n return cStr;\r\n}\r\n\r\nfunction parseIPv4Number(input) {\r\n let R = 10;\r\n\r\n if (input.length >= 2 && input.charAt(0) === \"0\" && input.charAt(1).toLowerCase() === \"x\") {\r\n input = input.substring(2);\r\n R = 16;\r\n } else if (input.length >= 2 && input.charAt(0) === \"0\") {\r\n input = input.substring(1);\r\n R = 8;\r\n }\r\n\r\n if (input === \"\") {\r\n return 0;\r\n }\r\n\r\n const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/);\r\n if (regex.test(input)) {\r\n return failure;\r\n }\r\n\r\n return parseInt(input, R);\r\n}\r\n\r\nfunction parseIPv4(input) {\r\n const parts = input.split(\".\");\r\n if (parts[parts.length - 1] === \"\") {\r\n if (parts.length > 1) {\r\n parts.pop();\r\n }\r\n }\r\n\r\n if (parts.length > 4) {\r\n return input;\r\n }\r\n\r\n const numbers = [];\r\n for (const part of parts) {\r\n if (part === \"\") {\r\n return input;\r\n }\r\n const n = parseIPv4Number(part);\r\n if (n === failure) {\r\n return input;\r\n }\r\n\r\n numbers.push(n);\r\n }\r\n\r\n for (let i = 0; i < numbers.length - 1; ++i) {\r\n if (numbers[i] > 255) {\r\n return failure;\r\n }\r\n }\r\n if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) {\r\n return failure;\r\n }\r\n\r\n let ipv4 = numbers.pop();\r\n let counter = 0;\r\n\r\n for (const n of numbers) {\r\n ipv4 += n * Math.pow(256, 3 - counter);\r\n ++counter;\r\n }\r\n\r\n return ipv4;\r\n}\r\n\r\nfunction serializeIPv4(address) {\r\n let output = \"\";\r\n let n = address;\r\n\r\n for (let i = 1; i <= 4; ++i) {\r\n output = String(n % 256) + output;\r\n if (i !== 4) {\r\n output = \".\" + output;\r\n }\r\n n = Math.floor(n / 256);\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction parseIPv6(input) {\r\n const address = [0, 0, 0, 0, 0, 0, 0, 0];\r\n let pieceIndex = 0;\r\n let compress = null;\r\n let pointer = 0;\r\n\r\n input = punycode.ucs2.decode(input);\r\n\r\n if (input[pointer] === 58) {\r\n if (input[pointer + 1] !== 58) {\r\n return failure;\r\n }\r\n\r\n pointer += 2;\r\n ++pieceIndex;\r\n compress = pieceIndex;\r\n }\r\n\r\n while (pointer < input.length) {\r\n if (pieceIndex === 8) {\r\n return failure;\r\n }\r\n\r\n if (input[pointer] === 58) {\r\n if (compress !== null) {\r\n return failure;\r\n }\r\n ++pointer;\r\n ++pieceIndex;\r\n compress = pieceIndex;\r\n continue;\r\n }\r\n\r\n let value = 0;\r\n let length = 0;\r\n\r\n while (length < 4 && isASCIIHex(input[pointer])) {\r\n value = value * 0x10 + parseInt(at(input, pointer), 16);\r\n ++pointer;\r\n ++length;\r\n }\r\n\r\n if (input[pointer] === 46) {\r\n if (length === 0) {\r\n return failure;\r\n }\r\n\r\n pointer -= length;\r\n\r\n if (pieceIndex > 6) {\r\n return failure;\r\n }\r\n\r\n let numbersSeen = 0;\r\n\r\n while (input[pointer] !== undefined) {\r\n let ipv4Piece = null;\r\n\r\n if (numbersSeen > 0) {\r\n if (input[pointer] === 46 && numbersSeen < 4) {\r\n ++pointer;\r\n } else {\r\n return failure;\r\n }\r\n }\r\n\r\n if (!isASCIIDigit(input[pointer])) {\r\n return failure;\r\n }\r\n\r\n while (isASCIIDigit(input[pointer])) {\r\n const number = parseInt(at(input, pointer));\r\n if (ipv4Piece === null) {\r\n ipv4Piece = number;\r\n } else if (ipv4Piece === 0) {\r\n return failure;\r\n } else {\r\n ipv4Piece = ipv4Piece * 10 + number;\r\n }\r\n if (ipv4Piece > 255) {\r\n return failure;\r\n }\r\n ++pointer;\r\n }\r\n\r\n address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece;\r\n\r\n ++numbersSeen;\r\n\r\n if (numbersSeen === 2 || numbersSeen === 4) {\r\n ++pieceIndex;\r\n }\r\n }\r\n\r\n if (numbersSeen !== 4) {\r\n return failure;\r\n }\r\n\r\n break;\r\n } else if (input[pointer] === 58) {\r\n ++pointer;\r\n if (input[pointer] === undefined) {\r\n return failure;\r\n }\r\n } else if (input[pointer] !== undefined) {\r\n return failure;\r\n }\r\n\r\n address[pieceIndex] = value;\r\n ++pieceIndex;\r\n }\r\n\r\n if (compress !== null) {\r\n let swaps = pieceIndex - compress;\r\n pieceIndex = 7;\r\n while (pieceIndex !== 0 && swaps > 0) {\r\n const temp = address[compress + swaps - 1];\r\n address[compress + swaps - 1] = address[pieceIndex];\r\n address[pieceIndex] = temp;\r\n --pieceIndex;\r\n --swaps;\r\n }\r\n } else if (compress === null && pieceIndex !== 8) {\r\n return failure;\r\n }\r\n\r\n return address;\r\n}\r\n\r\nfunction serializeIPv6(address) {\r\n let output = \"\";\r\n const seqResult = findLongestZeroSequence(address);\r\n const compress = seqResult.idx;\r\n let ignore0 = false;\r\n\r\n for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) {\r\n if (ignore0 && address[pieceIndex] === 0) {\r\n continue;\r\n } else if (ignore0) {\r\n ignore0 = false;\r\n }\r\n\r\n if (compress === pieceIndex) {\r\n const separator = pieceIndex === 0 ? \"::\" : \":\";\r\n output += separator;\r\n ignore0 = true;\r\n continue;\r\n }\r\n\r\n output += address[pieceIndex].toString(16);\r\n\r\n if (pieceIndex !== 7) {\r\n output += \":\";\r\n }\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction parseHost(input, isSpecialArg) {\r\n if (input[0] === \"[\") {\r\n if (input[input.length - 1] !== \"]\") {\r\n return failure;\r\n }\r\n\r\n return parseIPv6(input.substring(1, input.length - 1));\r\n }\r\n\r\n if (!isSpecialArg) {\r\n return parseOpaqueHost(input);\r\n }\r\n\r\n const domain = utf8PercentDecode(input);\r\n const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false);\r\n if (asciiDomain === null) {\r\n return failure;\r\n }\r\n\r\n if (containsForbiddenHostCodePoint(asciiDomain)) {\r\n return failure;\r\n }\r\n\r\n const ipv4Host = parseIPv4(asciiDomain);\r\n if (typeof ipv4Host === \"number\" || ipv4Host === failure) {\r\n return ipv4Host;\r\n }\r\n\r\n return asciiDomain;\r\n}\r\n\r\nfunction parseOpaqueHost(input) {\r\n if (containsForbiddenHostCodePointExcludingPercent(input)) {\r\n return failure;\r\n }\r\n\r\n let output = \"\";\r\n const decoded = punycode.ucs2.decode(input);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n output += percentEncodeChar(decoded[i], isC0ControlPercentEncode);\r\n }\r\n return output;\r\n}\r\n\r\nfunction findLongestZeroSequence(arr) {\r\n let maxIdx = null;\r\n let maxLen = 1; // only find elements > 1\r\n let currStart = null;\r\n let currLen = 0;\r\n\r\n for (let i = 0; i < arr.length; ++i) {\r\n if (arr[i] !== 0) {\r\n if (currLen > maxLen) {\r\n maxIdx = currStart;\r\n maxLen = currLen;\r\n }\r\n\r\n currStart = null;\r\n currLen = 0;\r\n } else {\r\n if (currStart === null) {\r\n currStart = i;\r\n }\r\n ++currLen;\r\n }\r\n }\r\n\r\n // if trailing zeros\r\n if (currLen > maxLen) {\r\n maxIdx = currStart;\r\n maxLen = currLen;\r\n }\r\n\r\n return {\r\n idx: maxIdx,\r\n len: maxLen\r\n };\r\n}\r\n\r\nfunction serializeHost(host) {\r\n if (typeof host === \"number\") {\r\n return serializeIPv4(host);\r\n }\r\n\r\n // IPv6 serializer\r\n if (host instanceof Array) {\r\n return \"[\" + serializeIPv6(host) + \"]\";\r\n }\r\n\r\n return host;\r\n}\r\n\r\nfunction trimControlChars(url) {\r\n return url.replace(/^[\\u0000-\\u001F\\u0020]+|[\\u0000-\\u001F\\u0020]+$/g, \"\");\r\n}\r\n\r\nfunction trimTabAndNewline(url) {\r\n return url.replace(/\\u0009|\\u000A|\\u000D/g, \"\");\r\n}\r\n\r\nfunction shortenPath(url) {\r\n const path = url.path;\r\n if (path.length === 0) {\r\n return;\r\n }\r\n if (url.scheme === \"file\" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) {\r\n return;\r\n }\r\n\r\n path.pop();\r\n}\r\n\r\nfunction includesCredentials(url) {\r\n return url.username !== \"\" || url.password !== \"\";\r\n}\r\n\r\nfunction cannotHaveAUsernamePasswordPort(url) {\r\n return url.host === null || url.host === \"\" || url.cannotBeABaseURL || url.scheme === \"file\";\r\n}\r\n\r\nfunction isNormalizedWindowsDriveLetter(string) {\r\n return /^[A-Za-z]:$/.test(string);\r\n}\r\n\r\nfunction URLStateMachine(input, base, encodingOverride, url, stateOverride) {\r\n this.pointer = 0;\r\n this.input = input;\r\n this.base = base || null;\r\n this.encodingOverride = encodingOverride || \"utf-8\";\r\n this.stateOverride = stateOverride;\r\n this.url = url;\r\n this.failure = false;\r\n this.parseError = false;\r\n\r\n if (!this.url) {\r\n this.url = {\r\n scheme: \"\",\r\n username: \"\",\r\n password: \"\",\r\n host: null,\r\n port: null,\r\n path: [],\r\n query: null,\r\n fragment: null,\r\n\r\n cannotBeABaseURL: false\r\n };\r\n\r\n const res = trimControlChars(this.input);\r\n if (res !== this.input) {\r\n this.parseError = true;\r\n }\r\n this.input = res;\r\n }\r\n\r\n const res = trimTabAndNewline(this.input);\r\n if (res !== this.input) {\r\n this.parseError = true;\r\n }\r\n this.input = res;\r\n\r\n this.state = stateOverride || \"scheme start\";\r\n\r\n this.buffer = \"\";\r\n this.atFlag = false;\r\n this.arrFlag = false;\r\n this.passwordTokenSeenFlag = false;\r\n\r\n this.input = punycode.ucs2.decode(this.input);\r\n\r\n for (; this.pointer <= this.input.length; ++this.pointer) {\r\n const c = this.input[this.pointer];\r\n const cStr = isNaN(c) ? undefined : String.fromCodePoint(c);\r\n\r\n // exec state machine\r\n const ret = this[\"parse \" + this.state](c, cStr);\r\n if (!ret) {\r\n break; // terminate algorithm\r\n } else if (ret === failure) {\r\n this.failure = true;\r\n break;\r\n }\r\n }\r\n}\r\n\r\nURLStateMachine.prototype[\"parse scheme start\"] = function parseSchemeStart(c, cStr) {\r\n if (isASCIIAlpha(c)) {\r\n this.buffer += cStr.toLowerCase();\r\n this.state = \"scheme\";\r\n } else if (!this.stateOverride) {\r\n this.state = \"no scheme\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse scheme\"] = function parseScheme(c, cStr) {\r\n if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) {\r\n this.buffer += cStr.toLowerCase();\r\n } else if (c === 58) {\r\n if (this.stateOverride) {\r\n if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) {\r\n return false;\r\n }\r\n\r\n if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) {\r\n return false;\r\n }\r\n\r\n if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === \"file\") {\r\n return false;\r\n }\r\n\r\n if (this.url.scheme === \"file\" && (this.url.host === \"\" || this.url.host === null)) {\r\n return false;\r\n }\r\n }\r\n this.url.scheme = this.buffer;\r\n this.buffer = \"\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n if (this.url.scheme === \"file\") {\r\n if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file\";\r\n } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) {\r\n this.state = \"special relative or authority\";\r\n } else if (isSpecial(this.url)) {\r\n this.state = \"special authority slashes\";\r\n } else if (this.input[this.pointer + 1] === 47) {\r\n this.state = \"path or authority\";\r\n ++this.pointer;\r\n } else {\r\n this.url.cannotBeABaseURL = true;\r\n this.url.path.push(\"\");\r\n this.state = \"cannot-be-a-base-URL path\";\r\n }\r\n } else if (!this.stateOverride) {\r\n this.buffer = \"\";\r\n this.state = \"no scheme\";\r\n this.pointer = -1;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse no scheme\"] = function parseNoScheme(c) {\r\n if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) {\r\n return failure;\r\n } else if (this.base.cannotBeABaseURL && c === 35) {\r\n this.url.scheme = this.base.scheme;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.url.cannotBeABaseURL = true;\r\n this.state = \"fragment\";\r\n } else if (this.base.scheme === \"file\") {\r\n this.state = \"file\";\r\n --this.pointer;\r\n } else {\r\n this.state = \"relative\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special relative or authority\"] = function parseSpecialRelativeOrAuthority(c) {\r\n if (c === 47 && this.input[this.pointer + 1] === 47) {\r\n this.state = \"special authority ignore slashes\";\r\n ++this.pointer;\r\n } else {\r\n this.parseError = true;\r\n this.state = \"relative\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path or authority\"] = function parsePathOrAuthority(c) {\r\n if (c === 47) {\r\n this.state = \"authority\";\r\n } else {\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse relative\"] = function parseRelative(c) {\r\n this.url.scheme = this.base.scheme;\r\n if (isNaN(c)) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n } else if (c === 47) {\r\n this.state = \"relative slash\";\r\n } else if (c === 63) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else if (isSpecial(this.url) && c === 92) {\r\n this.parseError = true;\r\n this.state = \"relative slash\";\r\n } else {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice(0, this.base.path.length - 1);\r\n\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse relative slash\"] = function parseRelativeSlash(c) {\r\n if (isSpecial(this.url) && (c === 47 || c === 92)) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"special authority ignore slashes\";\r\n } else if (c === 47) {\r\n this.state = \"authority\";\r\n } else {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special authority slashes\"] = function parseSpecialAuthoritySlashes(c) {\r\n if (c === 47 && this.input[this.pointer + 1] === 47) {\r\n this.state = \"special authority ignore slashes\";\r\n ++this.pointer;\r\n } else {\r\n this.parseError = true;\r\n this.state = \"special authority ignore slashes\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special authority ignore slashes\"] = function parseSpecialAuthorityIgnoreSlashes(c) {\r\n if (c !== 47 && c !== 92) {\r\n this.state = \"authority\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse authority\"] = function parseAuthority(c, cStr) {\r\n if (c === 64) {\r\n this.parseError = true;\r\n if (this.atFlag) {\r\n this.buffer = \"%40\" + this.buffer;\r\n }\r\n this.atFlag = true;\r\n\r\n // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars\r\n const len = countSymbols(this.buffer);\r\n for (let pointer = 0; pointer < len; ++pointer) {\r\n const codePoint = this.buffer.codePointAt(pointer);\r\n\r\n if (codePoint === 58 && !this.passwordTokenSeenFlag) {\r\n this.passwordTokenSeenFlag = true;\r\n continue;\r\n }\r\n const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode);\r\n if (this.passwordTokenSeenFlag) {\r\n this.url.password += encodedCodePoints;\r\n } else {\r\n this.url.username += encodedCodePoints;\r\n }\r\n }\r\n this.buffer = \"\";\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92)) {\r\n if (this.atFlag && this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n this.pointer -= countSymbols(this.buffer) + 1;\r\n this.buffer = \"\";\r\n this.state = \"host\";\r\n } else {\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse hostname\"] =\r\nURLStateMachine.prototype[\"parse host\"] = function parseHostName(c, cStr) {\r\n if (this.stateOverride && this.url.scheme === \"file\") {\r\n --this.pointer;\r\n this.state = \"file host\";\r\n } else if (c === 58 && !this.arrFlag) {\r\n if (this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n const host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n\r\n this.url.host = host;\r\n this.buffer = \"\";\r\n this.state = \"port\";\r\n if (this.stateOverride === \"hostname\") {\r\n return false;\r\n }\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92)) {\r\n --this.pointer;\r\n if (isSpecial(this.url) && this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n } else if (this.stateOverride && this.buffer === \"\" &&\r\n (includesCredentials(this.url) || this.url.port !== null)) {\r\n this.parseError = true;\r\n return false;\r\n }\r\n\r\n const host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n\r\n this.url.host = host;\r\n this.buffer = \"\";\r\n this.state = \"path start\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n } else {\r\n if (c === 91) {\r\n this.arrFlag = true;\r\n } else if (c === 93) {\r\n this.arrFlag = false;\r\n }\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse port\"] = function parsePort(c, cStr) {\r\n if (isASCIIDigit(c)) {\r\n this.buffer += cStr;\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92) ||\r\n this.stateOverride) {\r\n if (this.buffer !== \"\") {\r\n const port = parseInt(this.buffer);\r\n if (port > Math.pow(2, 16) - 1) {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n this.url.port = port === defaultPort(this.url.scheme) ? null : port;\r\n this.buffer = \"\";\r\n }\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n this.state = \"path start\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nconst fileOtherwiseCodePoints = new Set([47, 92, 63, 35]);\r\n\r\nURLStateMachine.prototype[\"parse file\"] = function parseFile(c) {\r\n this.url.scheme = \"file\";\r\n\r\n if (c === 47 || c === 92) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file slash\";\r\n } else if (this.base !== null && this.base.scheme === \"file\") {\r\n if (isNaN(c)) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n } else if (c === 63) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else {\r\n if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points\r\n !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) ||\r\n (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points\r\n !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n shortenPath(this.url);\r\n } else {\r\n this.parseError = true;\r\n }\r\n\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n } else {\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse file slash\"] = function parseFileSlash(c) {\r\n if (c === 47 || c === 92) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file host\";\r\n } else {\r\n if (this.base !== null && this.base.scheme === \"file\") {\r\n if (isNormalizedWindowsDriveLetterString(this.base.path[0])) {\r\n this.url.path.push(this.base.path[0]);\r\n } else {\r\n this.url.host = this.base.host;\r\n }\r\n }\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse file host\"] = function parseFileHost(c, cStr) {\r\n if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) {\r\n --this.pointer;\r\n if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) {\r\n this.parseError = true;\r\n this.state = \"path\";\r\n } else if (this.buffer === \"\") {\r\n this.url.host = \"\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n this.state = \"path start\";\r\n } else {\r\n let host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n if (host === \"localhost\") {\r\n host = \"\";\r\n }\r\n this.url.host = host;\r\n\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n\r\n this.buffer = \"\";\r\n this.state = \"path start\";\r\n }\r\n } else {\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path start\"] = function parsePathStart(c) {\r\n if (isSpecial(this.url)) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"path\";\r\n\r\n if (c !== 47 && c !== 92) {\r\n --this.pointer;\r\n }\r\n } else if (!this.stateOverride && c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (!this.stateOverride && c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else if (c !== undefined) {\r\n this.state = \"path\";\r\n if (c !== 47) {\r\n --this.pointer;\r\n }\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path\"] = function parsePath(c) {\r\n if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) ||\r\n (!this.stateOverride && (c === 63 || c === 35))) {\r\n if (isSpecial(this.url) && c === 92) {\r\n this.parseError = true;\r\n }\r\n\r\n if (isDoubleDot(this.buffer)) {\r\n shortenPath(this.url);\r\n if (c !== 47 && !(isSpecial(this.url) && c === 92)) {\r\n this.url.path.push(\"\");\r\n }\r\n } else if (isSingleDot(this.buffer) && c !== 47 &&\r\n !(isSpecial(this.url) && c === 92)) {\r\n this.url.path.push(\"\");\r\n } else if (!isSingleDot(this.buffer)) {\r\n if (this.url.scheme === \"file\" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) {\r\n if (this.url.host !== \"\" && this.url.host !== null) {\r\n this.parseError = true;\r\n this.url.host = \"\";\r\n }\r\n this.buffer = this.buffer[0] + \":\";\r\n }\r\n this.url.path.push(this.buffer);\r\n }\r\n this.buffer = \"\";\r\n if (this.url.scheme === \"file\" && (c === undefined || c === 63 || c === 35)) {\r\n while (this.url.path.length > 1 && this.url.path[0] === \"\") {\r\n this.parseError = true;\r\n this.url.path.shift();\r\n }\r\n }\r\n if (c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n }\r\n if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n }\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.buffer += percentEncodeChar(c, isPathPercentEncode);\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse cannot-be-a-base-URL path\"] = function parseCannotBeABaseURLPath(c) {\r\n if (c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else {\r\n // TODO: Add: not a URL code point\r\n if (!isNaN(c) && c !== 37) {\r\n this.parseError = true;\r\n }\r\n\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n if (!isNaN(c)) {\r\n this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode);\r\n }\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse query\"] = function parseQuery(c, cStr) {\r\n if (isNaN(c) || (!this.stateOverride && c === 35)) {\r\n if (!isSpecial(this.url) || this.url.scheme === \"ws\" || this.url.scheme === \"wss\") {\r\n this.encodingOverride = \"utf-8\";\r\n }\r\n\r\n const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead\r\n for (let i = 0; i < buffer.length; ++i) {\r\n if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 ||\r\n buffer[i] === 0x3C || buffer[i] === 0x3E) {\r\n this.url.query += percentEncode(buffer[i]);\r\n } else {\r\n this.url.query += String.fromCodePoint(buffer[i]);\r\n }\r\n }\r\n\r\n this.buffer = \"\";\r\n if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n }\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse fragment\"] = function parseFragment(c) {\r\n if (isNaN(c)) { // do nothing\r\n } else if (c === 0x0) {\r\n this.parseError = true;\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode);\r\n }\r\n\r\n return true;\r\n};\r\n\r\nfunction serializeURL(url, excludeFragment) {\r\n let output = url.scheme + \":\";\r\n if (url.host !== null) {\r\n output += \"//\";\r\n\r\n if (url.username !== \"\" || url.password !== \"\") {\r\n output += url.username;\r\n if (url.password !== \"\") {\r\n output += \":\" + url.password;\r\n }\r\n output += \"@\";\r\n }\r\n\r\n output += serializeHost(url.host);\r\n\r\n if (url.port !== null) {\r\n output += \":\" + url.port;\r\n }\r\n } else if (url.host === null && url.scheme === \"file\") {\r\n output += \"//\";\r\n }\r\n\r\n if (url.cannotBeABaseURL) {\r\n output += url.path[0];\r\n } else {\r\n for (const string of url.path) {\r\n output += \"/\" + string;\r\n }\r\n }\r\n\r\n if (url.query !== null) {\r\n output += \"?\" + url.query;\r\n }\r\n\r\n if (!excludeFragment && url.fragment !== null) {\r\n output += \"#\" + url.fragment;\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction serializeOrigin(tuple) {\r\n let result = tuple.scheme + \"://\";\r\n result += serializeHost(tuple.host);\r\n\r\n if (tuple.port !== null) {\r\n result += \":\" + tuple.port;\r\n }\r\n\r\n return result;\r\n}\r\n\r\nmodule.exports.serializeURL = serializeURL;\r\n\r\nmodule.exports.serializeURLOrigin = function (url) {\r\n // https://url.spec.whatwg.org/#concept-url-origin\r\n switch (url.scheme) {\r\n case \"blob\":\r\n try {\r\n return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0]));\r\n } catch (e) {\r\n // serializing an opaque origin returns \"null\"\r\n return \"null\";\r\n }\r\n case \"ftp\":\r\n case \"gopher\":\r\n case \"http\":\r\n case \"https\":\r\n case \"ws\":\r\n case \"wss\":\r\n return serializeOrigin({\r\n scheme: url.scheme,\r\n host: url.host,\r\n port: url.port\r\n });\r\n case \"file\":\r\n // spec says \"exercise to the reader\", chrome says \"file://\"\r\n return \"file://\";\r\n default:\r\n // serializing an opaque origin returns \"null\"\r\n return \"null\";\r\n }\r\n};\r\n\r\nmodule.exports.basicURLParse = function (input, options) {\r\n if (options === undefined) {\r\n options = {};\r\n }\r\n\r\n const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride);\r\n if (usm.failure) {\r\n return \"failure\";\r\n }\r\n\r\n return usm.url;\r\n};\r\n\r\nmodule.exports.setTheUsername = function (url, username) {\r\n url.username = \"\";\r\n const decoded = punycode.ucs2.decode(username);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode);\r\n }\r\n};\r\n\r\nmodule.exports.setThePassword = function (url, password) {\r\n url.password = \"\";\r\n const decoded = punycode.ucs2.decode(password);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode);\r\n }\r\n};\r\n\r\nmodule.exports.serializeHost = serializeHost;\r\n\r\nmodule.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort;\r\n\r\nmodule.exports.serializeInteger = function (integer) {\r\n return String(integer);\r\n};\r\n\r\nmodule.exports.parseURL = function (input, options) {\r\n if (options === undefined) {\r\n options = {};\r\n }\r\n\r\n // We don't handle blobs, so this just delegates:\r\n return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride });\r\n};\r\n\n\n/***/ }),\n\n/***/ 276:\n/***/ ((module) => {\n\n\"use strict\";\n\n\nmodule.exports.mixin = function mixin(target, source) {\n const keys = Object.getOwnPropertyNames(source);\n for (let i = 0; i < keys.length; ++i) {\n Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i]));\n }\n};\n\nmodule.exports.wrapperSymbol = Symbol(\"wrapper\");\nmodule.exports.implSymbol = Symbol(\"impl\");\n\nmodule.exports.wrapperForImpl = function (impl) {\n return impl[module.exports.wrapperSymbol];\n};\n\nmodule.exports.implForWrapper = function (wrapper) {\n return wrapper[module.exports.implSymbol];\n};\n\n\n\n/***/ }),\n\n/***/ 1223:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\nvar wrappy = __nccwpck_require__(2940)\nmodule.exports = wrappy(once)\nmodule.exports.strict = wrappy(onceStrict)\n\nonce.proto = once(function () {\n Object.defineProperty(Function.prototype, 'once', {\n value: function () {\n return once(this)\n },\n configurable: true\n })\n\n Object.defineProperty(Function.prototype, 'onceStrict', {\n value: function () {\n return onceStrict(this)\n },\n configurable: true\n })\n})\n\nfunction once (fn) {\n var f = function () {\n if (f.called) return f.value\n f.called = true\n return f.value = fn.apply(this, arguments)\n }\n f.called = false\n return f\n}\n\nfunction onceStrict (fn) {\n var f = function () {\n if (f.called)\n throw new Error(f.onceError)\n f.called = true\n return f.value = fn.apply(this, arguments)\n }\n var name = fn.name || 'Function wrapped with `once`'\n f.onceError = name + \" shouldn't be called more than once\"\n f.called = false\n return f\n}\n\n\n/***/ }),\n\n/***/ 8915:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\n/*\nCopyright (c) the purl authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*/\n\nconst PackageURL = __nccwpck_require__(8749);\n\nmodule.exports = {\n PackageURL\n};\n\n\n/***/ }),\n\n/***/ 8749:\n/***/ ((module) => {\n\n/*\nCopyright (c) the purl authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*/\nclass PackageURL {\n\n constructor(type, namespace, name, version, qualifiers, subpath) {\n let required = { 'type': type, 'name': name };\n Object.keys(required).forEach(key => {\n if (!required[key]) {\n throw new Error('Invalid purl: \"' + key + '\" is a required field.');\n }\n });\n\n let strings = { 'type': type, 'namespace': namespace, 'name': name, 'versions': version, 'subpath': subpath };\n Object.keys(strings).forEach(key => {\n if (strings[key] && typeof strings[key] === 'string' || !strings[key]) {\n return;\n }\n throw new Error('Invalid purl: \"' + key + '\" argument must be a string.');\n });\n\n if (qualifiers) {\n if (typeof qualifiers !== 'object') {\n throw new Error('Invalid purl: \"qualifiers\" argument must be a dictionary.');\n }\n Object.keys(qualifiers).forEach(key => {\n if (!/^[a-z]+$/i.test(key) && !/[\\.-_]/.test(key)) {\n throw new Error('Invalid purl: qualifier \"' + key + '\" contains an illegal character.');\n }\n });\n }\n\n this.type = type;\n this.name = name;\n this.namespace = namespace;\n this.version = version;\n this.qualifiers = qualifiers;\n this.subpath = subpath;\n }\n\n _handlePyPi() {\n this.name = this.name.toLowerCase().replace(/_/g, '-');\n }\n\n toString() {\n var purl = ['pkg:', this.type, '/'];\n\n if (this.type === 'pypi') {\n this._handlePyPi();\n }\n\n if (this.namespace) {\n purl.push(\n encodeURIComponent(this.namespace)\n .replace('%3A', ':')\n .replace('%2F', '/')\n );\n purl.push('/');\n }\n\n purl.push(encodeURIComponent(this.name).replace('%3A', ':'));\n\n if (this.version) {\n purl.push('@');\n purl.push(encodeURIComponent(this.version).replace('%3A', ':'));\n }\n\n if (this.qualifiers) {\n purl.push('?');\n\n let qualifiers = this.qualifiers;\n let qualifierString = [];\n Object.keys(qualifiers).sort().forEach(key => {\n qualifierString.push(encodeURIComponent(key).replace('%3A', ':') + '=' + encodeURI(qualifiers[key]));\n });\n\n purl.push(qualifierString.join('&'));\n }\n\n if (this.subpath) {\n purl.push('#');\n purl.push(encodeURI(this.subpath));\n }\n\n return purl.join('');\n }\n\n static fromString(purl) {\n if (!purl || !typeof purl === 'string' || !purl.trim()) {\n throw new Error('A purl string argument is required.');\n }\n\n var [scheme, remainder] = purl.split(':');\n if (scheme !== 'pkg') {\n throw new Error('purl is missing the required \"pkg\" scheme component.');\n }\n // this strip '/, // and /// as possible in :// or :///\n // from https://gist.github.com/refo/47632c8a547f2d9b6517#file-remove-leading-slash\n remainder = remainder.trim().replace(/^\\/+/g, '');\n\n let type = remainder.split('/')[0];\n var remainder = remainder.split('/').slice(1).join('/');\n if (!type || !remainder) {\n throw new Error('purl is missing the required \"type\" component.');\n }\n\n let url = new URL(purl);\n\n let qualifiers = null;\n url.searchParams.forEach((value, key) => {\n if (!qualifiers) {\n qualifiers = {};\n }\n qualifiers[key] = value;\n });\n let subpath = url.hash;\n if (subpath.indexOf('#') === 0) {\n subpath = subpath.substring(1);\n }\n if (subpath.length === 0) {\n subpath = null;\n }\n\n if (url.username !== '' || url.password !== '') {\n throw new Error('Invalid purl: cannot contain a \"user:pass@host:port\"');\n }\n\n // this strip '/, // and /// as possible in :// or :///\n // from https://gist.github.com/refo/47632c8a547f2d9b6517#file-remove-leading-slash\n let path = url.pathname.trim().replace(/^\\/+/g, '');\n\n // version is optional - check for existence\n let version = null;\n if (path.includes('@')) {\n let index = path.indexOf('@');\n version = decodeURIComponent(path.substring(index + 1));\n remainder = path.substring(0, index);\n } else {\n remainder = path;\n }\n\n // The 'remainder' should now consist of an optional namespace and the name\n let remaining = remainder.split('/').slice(1);\n let name = null;\n let namespace = null;\n if (remaining.length > 1) {\n let nameIndex = remaining.length - 1;\n let namespaceComponents = remaining.slice(0, nameIndex);\n name = decodeURIComponent(remaining[nameIndex]);\n namespace = decodeURIComponent(namespaceComponents.join('/'));\n } else if (remaining.length === 1) {\n name = decodeURIComponent(remaining[0]);\n }\n\n if (name === '') {\n throw new Error('purl is missing the required \"name\" component.');\n }\n\n return new PackageURL(type, namespace, name, version, qualifiers, subpath);\n }\n\n};\n\nmodule.exports = PackageURL;\n\n\n/***/ }),\n\n/***/ 4294:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\nmodule.exports = __nccwpck_require__(4219);\n\n\n/***/ }),\n\n/***/ 4219:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nvar net = __nccwpck_require__(1631);\nvar tls = __nccwpck_require__(4016);\nvar http = __nccwpck_require__(8605);\nvar https = __nccwpck_require__(7211);\nvar events = __nccwpck_require__(8614);\nvar assert = __nccwpck_require__(2357);\nvar util = __nccwpck_require__(1669);\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n\n\n/***/ }),\n\n/***/ 5030:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nfunction getUserAgent() {\n if (typeof navigator === \"object\" && \"userAgent\" in navigator) {\n return navigator.userAgent;\n }\n\n if (typeof process === \"object\" && \"version\" in process) {\n return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;\n }\n\n return \"\";\n}\n\nexports.getUserAgent = getUserAgent;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 2940:\n/***/ ((module) => {\n\n// Returns a wrapper function that returns a wrapped callback\n// The wrapper function should do some stuff, and return a\n// presumably different callback function.\n// This makes sure that own properties are retained, so that\n// decorations and such are not lost along the way.\nmodule.exports = wrappy\nfunction wrappy (fn, cb) {\n if (fn && cb) return wrappy(fn)(cb)\n\n if (typeof fn !== 'function')\n throw new TypeError('need wrapper function')\n\n Object.keys(fn).forEach(function (k) {\n wrapper[k] = fn[k]\n })\n\n return wrapper\n\n function wrapper() {\n var args = new Array(arguments.length)\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i]\n }\n var ret = fn.apply(this, args)\n var cb = args[args.length-1]\n if (typeof ret === 'function' && ret !== cb) {\n Object.keys(cb).forEach(function (k) {\n ret[k] = cb[k]\n })\n }\n return ret\n }\n}\n\n\n/***/ }),\n\n/***/ 2877:\n/***/ ((module) => {\n\nmodule.exports = eval(\"require\")(\"encoding\");\n\n\n/***/ }),\n\n/***/ 8661:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = JSON.parse('[[[0,44],\"disallowed_STD3_valid\"],[[45,46],\"valid\"],[[47,47],\"disallowed_STD3_valid\"],[[48,57],\"valid\"],[[58,64],\"disallowed_STD3_valid\"],[[65,65],\"mapped\",[97]],[[66,66],\"mapped\",[98]],[[67,67],\"mapped\",[99]],[[68,68],\"mapped\",[100]],[[69,69],\"mapped\",[101]],[[70,70],\"mapped\",[102]],[[71,71],\"mapped\",[103]],[[72,72],\"mapped\",[104]],[[73,73],\"mapped\",[105]],[[74,74],\"mapped\",[106]],[[75,75],\"mapped\",[107]],[[76,76],\"mapped\",[108]],[[77,77],\"mapped\",[109]],[[78,78],\"mapped\",[110]],[[79,79],\"mapped\",[111]],[[80,80],\"mapped\",[112]],[[81,81],\"mapped\",[113]],[[82,82],\"mapped\",[114]],[[83,83],\"mapped\",[115]],[[84,84],\"mapped\",[116]],[[85,85],\"mapped\",[117]],[[86,86],\"mapped\",[118]],[[87,87],\"mapped\",[119]],[[88,88],\"mapped\",[120]],[[89,89],\"mapped\",[121]],[[90,90],\"mapped\",[122]],[[91,96],\"disallowed_STD3_valid\"],[[97,122],\"valid\"],[[123,127],\"disallowed_STD3_valid\"],[[128,159],\"disallowed\"],[[160,160],\"disallowed_STD3_mapped\",[32]],[[161,167],\"valid\",[],\"NV8\"],[[168,168],\"disallowed_STD3_mapped\",[32,776]],[[169,169],\"valid\",[],\"NV8\"],[[170,170],\"mapped\",[97]],[[171,172],\"valid\",[],\"NV8\"],[[173,173],\"ignored\"],[[174,174],\"valid\",[],\"NV8\"],[[175,175],\"disallowed_STD3_mapped\",[32,772]],[[176,177],\"valid\",[],\"NV8\"],[[178,178],\"mapped\",[50]],[[179,179],\"mapped\",[51]],[[180,180],\"disallowed_STD3_mapped\",[32,769]],[[181,181],\"mapped\",[956]],[[182,182],\"valid\",[],\"NV8\"],[[183,183],\"valid\"],[[184,184],\"disallowed_STD3_mapped\",[32,807]],[[185,185],\"mapped\",[49]],[[186,186],\"mapped\",[111]],[[187,187],\"valid\",[],\"NV8\"],[[188,188],\"mapped\",[49,8260,52]],[[189,189],\"mapped\",[49,8260,50]],[[190,190],\"mapped\",[51,8260,52]],[[191,191],\"valid\",[],\"NV8\"],[[192,192],\"mapped\",[224]],[[193,193],\"mapped\",[225]],[[194,194],\"mapped\",[226]],[[195,195],\"mapped\",[227]],[[196,196],\"mapped\",[228]],[[197,197],\"mapped\",[229]],[[198,198],\"mapped\",[230]],[[199,199],\"mapped\",[231]],[[200,200],\"mapped\",[232]],[[201,201],\"mapped\",[233]],[[202,202],\"mapped\",[234]],[[203,203],\"mapped\",[235]],[[204,204],\"mapped\",[236]],[[205,205],\"mapped\",[237]],[[206,206],\"mapped\",[238]],[[207,207],\"mapped\",[239]],[[208,208],\"mapped\",[240]],[[209,209],\"mapped\",[241]],[[210,210],\"mapped\",[242]],[[211,211],\"mapped\",[243]],[[212,212],\"mapped\",[244]],[[213,213],\"mapped\",[245]],[[214,214],\"mapped\",[246]],[[215,215],\"valid\",[],\"NV8\"],[[216,216],\"mapped\",[248]],[[217,217],\"mapped\",[249]],[[218,218],\"mapped\",[250]],[[219,219],\"mapped\",[251]],[[220,220],\"mapped\",[252]],[[221,221],\"mapped\",[253]],[[222,222],\"mapped\",[254]],[[223,223],\"deviation\",[115,115]],[[224,246],\"valid\"],[[247,247],\"valid\",[],\"NV8\"],[[248,255],\"valid\"],[[256,256],\"mapped\",[257]],[[257,257],\"valid\"],[[258,258],\"mapped\",[259]],[[259,259],\"valid\"],[[260,260],\"mapped\",[261]],[[261,261],\"valid\"],[[262,262],\"mapped\",[263]],[[263,263],\"valid\"],[[264,264],\"mapped\",[265]],[[265,265],\"valid\"],[[266,266],\"mapped\",[267]],[[267,267],\"valid\"],[[268,268],\"mapped\",[269]],[[269,269],\"valid\"],[[270,270],\"mapped\",[271]],[[271,271],\"valid\"],[[272,272],\"mapped\",[273]],[[273,273],\"valid\"],[[274,274],\"mapped\",[275]],[[275,275],\"valid\"],[[276,276],\"mapped\",[277]],[[277,277],\"valid\"],[[278,278],\"mapped\",[279]],[[279,279],\"valid\"],[[280,280],\"mapped\",[281]],[[281,281],\"valid\"],[[282,282],\"mapped\",[283]],[[283,283],\"valid\"],[[284,284],\"mapped\",[285]],[[285,285],\"valid\"],[[286,286],\"mapped\",[287]],[[287,287],\"valid\"],[[288,288],\"mapped\",[289]],[[289,289],\"valid\"],[[290,290],\"mapped\",[291]],[[291,291],\"valid\"],[[292,292],\"mapped\",[293]],[[293,293],\"valid\"],[[294,294],\"mapped\",[295]],[[295,295],\"valid\"],[[296,296],\"mapped\",[297]],[[297,297],\"valid\"],[[298,298],\"mapped\",[299]],[[299,299],\"valid\"],[[300,300],\"mapped\",[301]],[[301,301],\"valid\"],[[302,302],\"mapped\",[303]],[[303,303],\"valid\"],[[304,304],\"mapped\",[105,775]],[[305,305],\"valid\"],[[306,307],\"mapped\",[105,106]],[[308,308],\"mapped\",[309]],[[309,309],\"valid\"],[[310,310],\"mapped\",[311]],[[311,312],\"valid\"],[[313,313],\"mapped\",[314]],[[314,314],\"valid\"],[[315,315],\"mapped\",[316]],[[316,316],\"valid\"],[[317,317],\"mapped\",[318]],[[318,318],\"valid\"],[[319,320],\"mapped\",[108,183]],[[321,321],\"mapped\",[322]],[[322,322],\"valid\"],[[323,323],\"mapped\",[324]],[[324,324],\"valid\"],[[325,325],\"mapped\",[326]],[[326,326],\"valid\"],[[327,327],\"mapped\",[328]],[[328,328],\"valid\"],[[329,329],\"mapped\",[700,110]],[[330,330],\"mapped\",[331]],[[331,331],\"valid\"],[[332,332],\"mapped\",[333]],[[333,333],\"valid\"],[[334,334],\"mapped\",[335]],[[335,335],\"valid\"],[[336,336],\"mapped\",[337]],[[337,337],\"valid\"],[[338,338],\"mapped\",[339]],[[339,339],\"valid\"],[[340,340],\"mapped\",[341]],[[341,341],\"valid\"],[[342,342],\"mapped\",[343]],[[343,343],\"valid\"],[[344,344],\"mapped\",[345]],[[345,345],\"valid\"],[[346,346],\"mapped\",[347]],[[347,347],\"valid\"],[[348,348],\"mapped\",[349]],[[349,349],\"valid\"],[[350,350],\"mapped\",[351]],[[351,351],\"valid\"],[[352,352],\"mapped\",[353]],[[353,353],\"valid\"],[[354,354],\"mapped\",[355]],[[355,355],\"valid\"],[[356,356],\"mapped\",[357]],[[357,357],\"valid\"],[[358,358],\"mapped\",[359]],[[359,359],\"valid\"],[[360,360],\"mapped\",[361]],[[361,361],\"valid\"],[[362,362],\"mapped\",[363]],[[363,363],\"valid\"],[[364,364],\"mapped\",[365]],[[365,365],\"valid\"],[[366,366],\"mapped\",[367]],[[367,367],\"valid\"],[[368,368],\"mapped\",[369]],[[369,369],\"valid\"],[[370,370],\"mapped\",[371]],[[371,371],\"valid\"],[[372,372],\"mapped\",[373]],[[373,373],\"valid\"],[[374,374],\"mapped\",[375]],[[375,375],\"valid\"],[[376,376],\"mapped\",[255]],[[377,377],\"mapped\",[378]],[[378,378],\"valid\"],[[379,379],\"mapped\",[380]],[[380,380],\"valid\"],[[381,381],\"mapped\",[382]],[[382,382],\"valid\"],[[383,383],\"mapped\",[115]],[[384,384],\"valid\"],[[385,385],\"mapped\",[595]],[[386,386],\"mapped\",[387]],[[387,387],\"valid\"],[[388,388],\"mapped\",[389]],[[389,389],\"valid\"],[[390,390],\"mapped\",[596]],[[391,391],\"mapped\",[392]],[[392,392],\"valid\"],[[393,393],\"mapped\",[598]],[[394,394],\"mapped\",[599]],[[395,395],\"mapped\",[396]],[[396,397],\"valid\"],[[398,398],\"mapped\",[477]],[[399,399],\"mapped\",[601]],[[400,400],\"mapped\",[603]],[[401,401],\"mapped\",[402]],[[402,402],\"valid\"],[[403,403],\"mapped\",[608]],[[404,404],\"mapped\",[611]],[[405,405],\"valid\"],[[406,406],\"mapped\",[617]],[[407,407],\"mapped\",[616]],[[408,408],\"mapped\",[409]],[[409,411],\"valid\"],[[412,412],\"mapped\",[623]],[[413,413],\"mapped\",[626]],[[414,414],\"valid\"],[[415,415],\"mapped\",[629]],[[416,416],\"mapped\",[417]],[[417,417],\"valid\"],[[418,418],\"mapped\",[419]],[[419,419],\"valid\"],[[420,420],\"mapped\",[421]],[[421,421],\"valid\"],[[422,422],\"mapped\",[640]],[[423,423],\"mapped\",[424]],[[424,424],\"valid\"],[[425,425],\"mapped\",[643]],[[426,427],\"valid\"],[[428,428],\"mapped\",[429]],[[429,429],\"valid\"],[[430,430],\"mapped\",[648]],[[431,431],\"mapped\",[432]],[[432,432],\"valid\"],[[433,433],\"mapped\",[650]],[[434,434],\"mapped\",[651]],[[435,435],\"mapped\",[436]],[[436,436],\"valid\"],[[437,437],\"mapped\",[438]],[[438,438],\"valid\"],[[439,439],\"mapped\",[658]],[[440,440],\"mapped\",[441]],[[441,443],\"valid\"],[[444,444],\"mapped\",[445]],[[445,451],\"valid\"],[[452,454],\"mapped\",[100,382]],[[455,457],\"mapped\",[108,106]],[[458,460],\"mapped\",[110,106]],[[461,461],\"mapped\",[462]],[[462,462],\"valid\"],[[463,463],\"mapped\",[464]],[[464,464],\"valid\"],[[465,465],\"mapped\",[466]],[[466,466],\"valid\"],[[467,467],\"mapped\",[468]],[[468,468],\"valid\"],[[469,469],\"mapped\",[470]],[[470,470],\"valid\"],[[471,471],\"mapped\",[472]],[[472,472],\"valid\"],[[473,473],\"mapped\",[474]],[[474,474],\"valid\"],[[475,475],\"mapped\",[476]],[[476,477],\"valid\"],[[478,478],\"mapped\",[479]],[[479,479],\"valid\"],[[480,480],\"mapped\",[481]],[[481,481],\"valid\"],[[482,482],\"mapped\",[483]],[[483,483],\"valid\"],[[484,484],\"mapped\",[485]],[[485,485],\"valid\"],[[486,486],\"mapped\",[487]],[[487,487],\"valid\"],[[488,488],\"mapped\",[489]],[[489,489],\"valid\"],[[490,490],\"mapped\",[491]],[[491,491],\"valid\"],[[492,492],\"mapped\",[493]],[[493,493],\"valid\"],[[494,494],\"mapped\",[495]],[[495,496],\"valid\"],[[497,499],\"mapped\",[100,122]],[[500,500],\"mapped\",[501]],[[501,501],\"valid\"],[[502,502],\"mapped\",[405]],[[503,503],\"mapped\",[447]],[[504,504],\"mapped\",[505]],[[505,505],\"valid\"],[[506,506],\"mapped\",[507]],[[507,507],\"valid\"],[[508,508],\"mapped\",[509]],[[509,509],\"valid\"],[[510,510],\"mapped\",[511]],[[511,511],\"valid\"],[[512,512],\"mapped\",[513]],[[513,513],\"valid\"],[[514,514],\"mapped\",[515]],[[515,515],\"valid\"],[[516,516],\"mapped\",[517]],[[517,517],\"valid\"],[[518,518],\"mapped\",[519]],[[519,519],\"valid\"],[[520,520],\"mapped\",[521]],[[521,521],\"valid\"],[[522,522],\"mapped\",[523]],[[523,523],\"valid\"],[[524,524],\"mapped\",[525]],[[525,525],\"valid\"],[[526,526],\"mapped\",[527]],[[527,527],\"valid\"],[[528,528],\"mapped\",[529]],[[529,529],\"valid\"],[[530,530],\"mapped\",[531]],[[531,531],\"valid\"],[[532,532],\"mapped\",[533]],[[533,533],\"valid\"],[[534,534],\"mapped\",[535]],[[535,535],\"valid\"],[[536,536],\"mapped\",[537]],[[537,537],\"valid\"],[[538,538],\"mapped\",[539]],[[539,539],\"valid\"],[[540,540],\"mapped\",[541]],[[541,541],\"valid\"],[[542,542],\"mapped\",[543]],[[543,543],\"valid\"],[[544,544],\"mapped\",[414]],[[545,545],\"valid\"],[[546,546],\"mapped\",[547]],[[547,547],\"valid\"],[[548,548],\"mapped\",[549]],[[549,549],\"valid\"],[[550,550],\"mapped\",[551]],[[551,551],\"valid\"],[[552,552],\"mapped\",[553]],[[553,553],\"valid\"],[[554,554],\"mapped\",[555]],[[555,555],\"valid\"],[[556,556],\"mapped\",[557]],[[557,557],\"valid\"],[[558,558],\"mapped\",[559]],[[559,559],\"valid\"],[[560,560],\"mapped\",[561]],[[561,561],\"valid\"],[[562,562],\"mapped\",[563]],[[563,563],\"valid\"],[[564,566],\"valid\"],[[567,569],\"valid\"],[[570,570],\"mapped\",[11365]],[[571,571],\"mapped\",[572]],[[572,572],\"valid\"],[[573,573],\"mapped\",[410]],[[574,574],\"mapped\",[11366]],[[575,576],\"valid\"],[[577,577],\"mapped\",[578]],[[578,578],\"valid\"],[[579,579],\"mapped\",[384]],[[580,580],\"mapped\",[649]],[[581,581],\"mapped\",[652]],[[582,582],\"mapped\",[583]],[[583,583],\"valid\"],[[584,584],\"mapped\",[585]],[[585,585],\"valid\"],[[586,586],\"mapped\",[587]],[[587,587],\"valid\"],[[588,588],\"mapped\",[589]],[[589,589],\"valid\"],[[590,590],\"mapped\",[591]],[[591,591],\"valid\"],[[592,680],\"valid\"],[[681,685],\"valid\"],[[686,687],\"valid\"],[[688,688],\"mapped\",[104]],[[689,689],\"mapped\",[614]],[[690,690],\"mapped\",[106]],[[691,691],\"mapped\",[114]],[[692,692],\"mapped\",[633]],[[693,693],\"mapped\",[635]],[[694,694],\"mapped\",[641]],[[695,695],\"mapped\",[119]],[[696,696],\"mapped\",[121]],[[697,705],\"valid\"],[[706,709],\"valid\",[],\"NV8\"],[[710,721],\"valid\"],[[722,727],\"valid\",[],\"NV8\"],[[728,728],\"disallowed_STD3_mapped\",[32,774]],[[729,729],\"disallowed_STD3_mapped\",[32,775]],[[730,730],\"disallowed_STD3_mapped\",[32,778]],[[731,731],\"disallowed_STD3_mapped\",[32,808]],[[732,732],\"disallowed_STD3_mapped\",[32,771]],[[733,733],\"disallowed_STD3_mapped\",[32,779]],[[734,734],\"valid\",[],\"NV8\"],[[735,735],\"valid\",[],\"NV8\"],[[736,736],\"mapped\",[611]],[[737,737],\"mapped\",[108]],[[738,738],\"mapped\",[115]],[[739,739],\"mapped\",[120]],[[740,740],\"mapped\",[661]],[[741,745],\"valid\",[],\"NV8\"],[[746,747],\"valid\",[],\"NV8\"],[[748,748],\"valid\"],[[749,749],\"valid\",[],\"NV8\"],[[750,750],\"valid\"],[[751,767],\"valid\",[],\"NV8\"],[[768,831],\"valid\"],[[832,832],\"mapped\",[768]],[[833,833],\"mapped\",[769]],[[834,834],\"valid\"],[[835,835],\"mapped\",[787]],[[836,836],\"mapped\",[776,769]],[[837,837],\"mapped\",[953]],[[838,846],\"valid\"],[[847,847],\"ignored\"],[[848,855],\"valid\"],[[856,860],\"valid\"],[[861,863],\"valid\"],[[864,865],\"valid\"],[[866,866],\"valid\"],[[867,879],\"valid\"],[[880,880],\"mapped\",[881]],[[881,881],\"valid\"],[[882,882],\"mapped\",[883]],[[883,883],\"valid\"],[[884,884],\"mapped\",[697]],[[885,885],\"valid\"],[[886,886],\"mapped\",[887]],[[887,887],\"valid\"],[[888,889],\"disallowed\"],[[890,890],\"disallowed_STD3_mapped\",[32,953]],[[891,893],\"valid\"],[[894,894],\"disallowed_STD3_mapped\",[59]],[[895,895],\"mapped\",[1011]],[[896,899],\"disallowed\"],[[900,900],\"disallowed_STD3_mapped\",[32,769]],[[901,901],\"disallowed_STD3_mapped\",[32,776,769]],[[902,902],\"mapped\",[940]],[[903,903],\"mapped\",[183]],[[904,904],\"mapped\",[941]],[[905,905],\"mapped\",[942]],[[906,906],\"mapped\",[943]],[[907,907],\"disallowed\"],[[908,908],\"mapped\",[972]],[[909,909],\"disallowed\"],[[910,910],\"mapped\",[973]],[[911,911],\"mapped\",[974]],[[912,912],\"valid\"],[[913,913],\"mapped\",[945]],[[914,914],\"mapped\",[946]],[[915,915],\"mapped\",[947]],[[916,916],\"mapped\",[948]],[[917,917],\"mapped\",[949]],[[918,918],\"mapped\",[950]],[[919,919],\"mapped\",[951]],[[920,920],\"mapped\",[952]],[[921,921],\"mapped\",[953]],[[922,922],\"mapped\",[954]],[[923,923],\"mapped\",[955]],[[924,924],\"mapped\",[956]],[[925,925],\"mapped\",[957]],[[926,926],\"mapped\",[958]],[[927,927],\"mapped\",[959]],[[928,928],\"mapped\",[960]],[[929,929],\"mapped\",[961]],[[930,930],\"disallowed\"],[[931,931],\"mapped\",[963]],[[932,932],\"mapped\",[964]],[[933,933],\"mapped\",[965]],[[934,934],\"mapped\",[966]],[[935,935],\"mapped\",[967]],[[936,936],\"mapped\",[968]],[[937,937],\"mapped\",[969]],[[938,938],\"mapped\",[970]],[[939,939],\"mapped\",[971]],[[940,961],\"valid\"],[[962,962],\"deviation\",[963]],[[963,974],\"valid\"],[[975,975],\"mapped\",[983]],[[976,976],\"mapped\",[946]],[[977,977],\"mapped\",[952]],[[978,978],\"mapped\",[965]],[[979,979],\"mapped\",[973]],[[980,980],\"mapped\",[971]],[[981,981],\"mapped\",[966]],[[982,982],\"mapped\",[960]],[[983,983],\"valid\"],[[984,984],\"mapped\",[985]],[[985,985],\"valid\"],[[986,986],\"mapped\",[987]],[[987,987],\"valid\"],[[988,988],\"mapped\",[989]],[[989,989],\"valid\"],[[990,990],\"mapped\",[991]],[[991,991],\"valid\"],[[992,992],\"mapped\",[993]],[[993,993],\"valid\"],[[994,994],\"mapped\",[995]],[[995,995],\"valid\"],[[996,996],\"mapped\",[997]],[[997,997],\"valid\"],[[998,998],\"mapped\",[999]],[[999,999],\"valid\"],[[1000,1000],\"mapped\",[1001]],[[1001,1001],\"valid\"],[[1002,1002],\"mapped\",[1003]],[[1003,1003],\"valid\"],[[1004,1004],\"mapped\",[1005]],[[1005,1005],\"valid\"],[[1006,1006],\"mapped\",[1007]],[[1007,1007],\"valid\"],[[1008,1008],\"mapped\",[954]],[[1009,1009],\"mapped\",[961]],[[1010,1010],\"mapped\",[963]],[[1011,1011],\"valid\"],[[1012,1012],\"mapped\",[952]],[[1013,1013],\"mapped\",[949]],[[1014,1014],\"valid\",[],\"NV8\"],[[1015,1015],\"mapped\",[1016]],[[1016,1016],\"valid\"],[[1017,1017],\"mapped\",[963]],[[1018,1018],\"mapped\",[1019]],[[1019,1019],\"valid\"],[[1020,1020],\"valid\"],[[1021,1021],\"mapped\",[891]],[[1022,1022],\"mapped\",[892]],[[1023,1023],\"mapped\",[893]],[[1024,1024],\"mapped\",[1104]],[[1025,1025],\"mapped\",[1105]],[[1026,1026],\"mapped\",[1106]],[[1027,1027],\"mapped\",[1107]],[[1028,1028],\"mapped\",[1108]],[[1029,1029],\"mapped\",[1109]],[[1030,1030],\"mapped\",[1110]],[[1031,1031],\"mapped\",[1111]],[[1032,1032],\"mapped\",[1112]],[[1033,1033],\"mapped\",[1113]],[[1034,1034],\"mapped\",[1114]],[[1035,1035],\"mapped\",[1115]],[[1036,1036],\"mapped\",[1116]],[[1037,1037],\"mapped\",[1117]],[[1038,1038],\"mapped\",[1118]],[[1039,1039],\"mapped\",[1119]],[[1040,1040],\"mapped\",[1072]],[[1041,1041],\"mapped\",[1073]],[[1042,1042],\"mapped\",[1074]],[[1043,1043],\"mapped\",[1075]],[[1044,1044],\"mapped\",[1076]],[[1045,1045],\"mapped\",[1077]],[[1046,1046],\"mapped\",[1078]],[[1047,1047],\"mapped\",[1079]],[[1048,1048],\"mapped\",[1080]],[[1049,1049],\"mapped\",[1081]],[[1050,1050],\"mapped\",[1082]],[[1051,1051],\"mapped\",[1083]],[[1052,1052],\"mapped\",[1084]],[[1053,1053],\"mapped\",[1085]],[[1054,1054],\"mapped\",[1086]],[[1055,1055],\"mapped\",[1087]],[[1056,1056],\"mapped\",[1088]],[[1057,1057],\"mapped\",[1089]],[[1058,1058],\"mapped\",[1090]],[[1059,1059],\"mapped\",[1091]],[[1060,1060],\"mapped\",[1092]],[[1061,1061],\"mapped\",[1093]],[[1062,1062],\"mapped\",[1094]],[[1063,1063],\"mapped\",[1095]],[[1064,1064],\"mapped\",[1096]],[[1065,1065],\"mapped\",[1097]],[[1066,1066],\"mapped\",[1098]],[[1067,1067],\"mapped\",[1099]],[[1068,1068],\"mapped\",[1100]],[[1069,1069],\"mapped\",[1101]],[[1070,1070],\"mapped\",[1102]],[[1071,1071],\"mapped\",[1103]],[[1072,1103],\"valid\"],[[1104,1104],\"valid\"],[[1105,1116],\"valid\"],[[1117,1117],\"valid\"],[[1118,1119],\"valid\"],[[1120,1120],\"mapped\",[1121]],[[1121,1121],\"valid\"],[[1122,1122],\"mapped\",[1123]],[[1123,1123],\"valid\"],[[1124,1124],\"mapped\",[1125]],[[1125,1125],\"valid\"],[[1126,1126],\"mapped\",[1127]],[[1127,1127],\"valid\"],[[1128,1128],\"mapped\",[1129]],[[1129,1129],\"valid\"],[[1130,1130],\"mapped\",[1131]],[[1131,1131],\"valid\"],[[1132,1132],\"mapped\",[1133]],[[1133,1133],\"valid\"],[[1134,1134],\"mapped\",[1135]],[[1135,1135],\"valid\"],[[1136,1136],\"mapped\",[1137]],[[1137,1137],\"valid\"],[[1138,1138],\"mapped\",[1139]],[[1139,1139],\"valid\"],[[1140,1140],\"mapped\",[1141]],[[1141,1141],\"valid\"],[[1142,1142],\"mapped\",[1143]],[[1143,1143],\"valid\"],[[1144,1144],\"mapped\",[1145]],[[1145,1145],\"valid\"],[[1146,1146],\"mapped\",[1147]],[[1147,1147],\"valid\"],[[1148,1148],\"mapped\",[1149]],[[1149,1149],\"valid\"],[[1150,1150],\"mapped\",[1151]],[[1151,1151],\"valid\"],[[1152,1152],\"mapped\",[1153]],[[1153,1153],\"valid\"],[[1154,1154],\"valid\",[],\"NV8\"],[[1155,1158],\"valid\"],[[1159,1159],\"valid\"],[[1160,1161],\"valid\",[],\"NV8\"],[[1162,1162],\"mapped\",[1163]],[[1163,1163],\"valid\"],[[1164,1164],\"mapped\",[1165]],[[1165,1165],\"valid\"],[[1166,1166],\"mapped\",[1167]],[[1167,1167],\"valid\"],[[1168,1168],\"mapped\",[1169]],[[1169,1169],\"valid\"],[[1170,1170],\"mapped\",[1171]],[[1171,1171],\"valid\"],[[1172,1172],\"mapped\",[1173]],[[1173,1173],\"valid\"],[[1174,1174],\"mapped\",[1175]],[[1175,1175],\"valid\"],[[1176,1176],\"mapped\",[1177]],[[1177,1177],\"valid\"],[[1178,1178],\"mapped\",[1179]],[[1179,1179],\"valid\"],[[1180,1180],\"mapped\",[1181]],[[1181,1181],\"valid\"],[[1182,1182],\"mapped\",[1183]],[[1183,1183],\"valid\"],[[1184,1184],\"mapped\",[1185]],[[1185,1185],\"valid\"],[[1186,1186],\"mapped\",[1187]],[[1187,1187],\"valid\"],[[1188,1188],\"mapped\",[1189]],[[1189,1189],\"valid\"],[[1190,1190],\"mapped\",[1191]],[[1191,1191],\"valid\"],[[1192,1192],\"mapped\",[1193]],[[1193,1193],\"valid\"],[[1194,1194],\"mapped\",[1195]],[[1195,1195],\"valid\"],[[1196,1196],\"mapped\",[1197]],[[1197,1197],\"valid\"],[[1198,1198],\"mapped\",[1199]],[[1199,1199],\"valid\"],[[1200,1200],\"mapped\",[1201]],[[1201,1201],\"valid\"],[[1202,1202],\"mapped\",[1203]],[[1203,1203],\"valid\"],[[1204,1204],\"mapped\",[1205]],[[1205,1205],\"valid\"],[[1206,1206],\"mapped\",[1207]],[[1207,1207],\"valid\"],[[1208,1208],\"mapped\",[1209]],[[1209,1209],\"valid\"],[[1210,1210],\"mapped\",[1211]],[[1211,1211],\"valid\"],[[1212,1212],\"mapped\",[1213]],[[1213,1213],\"valid\"],[[1214,1214],\"mapped\",[1215]],[[1215,1215],\"valid\"],[[1216,1216],\"disallowed\"],[[1217,1217],\"mapped\",[1218]],[[1218,1218],\"valid\"],[[1219,1219],\"mapped\",[1220]],[[1220,1220],\"valid\"],[[1221,1221],\"mapped\",[1222]],[[1222,1222],\"valid\"],[[1223,1223],\"mapped\",[1224]],[[1224,1224],\"valid\"],[[1225,1225],\"mapped\",[1226]],[[1226,1226],\"valid\"],[[1227,1227],\"mapped\",[1228]],[[1228,1228],\"valid\"],[[1229,1229],\"mapped\",[1230]],[[1230,1230],\"valid\"],[[1231,1231],\"valid\"],[[1232,1232],\"mapped\",[1233]],[[1233,1233],\"valid\"],[[1234,1234],\"mapped\",[1235]],[[1235,1235],\"valid\"],[[1236,1236],\"mapped\",[1237]],[[1237,1237],\"valid\"],[[1238,1238],\"mapped\",[1239]],[[1239,1239],\"valid\"],[[1240,1240],\"mapped\",[1241]],[[1241,1241],\"valid\"],[[1242,1242],\"mapped\",[1243]],[[1243,1243],\"valid\"],[[1244,1244],\"mapped\",[1245]],[[1245,1245],\"valid\"],[[1246,1246],\"mapped\",[1247]],[[1247,1247],\"valid\"],[[1248,1248],\"mapped\",[1249]],[[1249,1249],\"valid\"],[[1250,1250],\"mapped\",[1251]],[[1251,1251],\"valid\"],[[1252,1252],\"mapped\",[1253]],[[1253,1253],\"valid\"],[[1254,1254],\"mapped\",[1255]],[[1255,1255],\"valid\"],[[1256,1256],\"mapped\",[1257]],[[1257,1257],\"valid\"],[[1258,1258],\"mapped\",[1259]],[[1259,1259],\"valid\"],[[1260,1260],\"mapped\",[1261]],[[1261,1261],\"valid\"],[[1262,1262],\"mapped\",[1263]],[[1263,1263],\"valid\"],[[1264,1264],\"mapped\",[1265]],[[1265,1265],\"valid\"],[[1266,1266],\"mapped\",[1267]],[[1267,1267],\"valid\"],[[1268,1268],\"mapped\",[1269]],[[1269,1269],\"valid\"],[[1270,1270],\"mapped\",[1271]],[[1271,1271],\"valid\"],[[1272,1272],\"mapped\",[1273]],[[1273,1273],\"valid\"],[[1274,1274],\"mapped\",[1275]],[[1275,1275],\"valid\"],[[1276,1276],\"mapped\",[1277]],[[1277,1277],\"valid\"],[[1278,1278],\"mapped\",[1279]],[[1279,1279],\"valid\"],[[1280,1280],\"mapped\",[1281]],[[1281,1281],\"valid\"],[[1282,1282],\"mapped\",[1283]],[[1283,1283],\"valid\"],[[1284,1284],\"mapped\",[1285]],[[1285,1285],\"valid\"],[[1286,1286],\"mapped\",[1287]],[[1287,1287],\"valid\"],[[1288,1288],\"mapped\",[1289]],[[1289,1289],\"valid\"],[[1290,1290],\"mapped\",[1291]],[[1291,1291],\"valid\"],[[1292,1292],\"mapped\",[1293]],[[1293,1293],\"valid\"],[[1294,1294],\"mapped\",[1295]],[[1295,1295],\"valid\"],[[1296,1296],\"mapped\",[1297]],[[1297,1297],\"valid\"],[[1298,1298],\"mapped\",[1299]],[[1299,1299],\"valid\"],[[1300,1300],\"mapped\",[1301]],[[1301,1301],\"valid\"],[[1302,1302],\"mapped\",[1303]],[[1303,1303],\"valid\"],[[1304,1304],\"mapped\",[1305]],[[1305,1305],\"valid\"],[[1306,1306],\"mapped\",[1307]],[[1307,1307],\"valid\"],[[1308,1308],\"mapped\",[1309]],[[1309,1309],\"valid\"],[[1310,1310],\"mapped\",[1311]],[[1311,1311],\"valid\"],[[1312,1312],\"mapped\",[1313]],[[1313,1313],\"valid\"],[[1314,1314],\"mapped\",[1315]],[[1315,1315],\"valid\"],[[1316,1316],\"mapped\",[1317]],[[1317,1317],\"valid\"],[[1318,1318],\"mapped\",[1319]],[[1319,1319],\"valid\"],[[1320,1320],\"mapped\",[1321]],[[1321,1321],\"valid\"],[[1322,1322],\"mapped\",[1323]],[[1323,1323],\"valid\"],[[1324,1324],\"mapped\",[1325]],[[1325,1325],\"valid\"],[[1326,1326],\"mapped\",[1327]],[[1327,1327],\"valid\"],[[1328,1328],\"disallowed\"],[[1329,1329],\"mapped\",[1377]],[[1330,1330],\"mapped\",[1378]],[[1331,1331],\"mapped\",[1379]],[[1332,1332],\"mapped\",[1380]],[[1333,1333],\"mapped\",[1381]],[[1334,1334],\"mapped\",[1382]],[[1335,1335],\"mapped\",[1383]],[[1336,1336],\"mapped\",[1384]],[[1337,1337],\"mapped\",[1385]],[[1338,1338],\"mapped\",[1386]],[[1339,1339],\"mapped\",[1387]],[[1340,1340],\"mapped\",[1388]],[[1341,1341],\"mapped\",[1389]],[[1342,1342],\"mapped\",[1390]],[[1343,1343],\"mapped\",[1391]],[[1344,1344],\"mapped\",[1392]],[[1345,1345],\"mapped\",[1393]],[[1346,1346],\"mapped\",[1394]],[[1347,1347],\"mapped\",[1395]],[[1348,1348],\"mapped\",[1396]],[[1349,1349],\"mapped\",[1397]],[[1350,1350],\"mapped\",[1398]],[[1351,1351],\"mapped\",[1399]],[[1352,1352],\"mapped\",[1400]],[[1353,1353],\"mapped\",[1401]],[[1354,1354],\"mapped\",[1402]],[[1355,1355],\"mapped\",[1403]],[[1356,1356],\"mapped\",[1404]],[[1357,1357],\"mapped\",[1405]],[[1358,1358],\"mapped\",[1406]],[[1359,1359],\"mapped\",[1407]],[[1360,1360],\"mapped\",[1408]],[[1361,1361],\"mapped\",[1409]],[[1362,1362],\"mapped\",[1410]],[[1363,1363],\"mapped\",[1411]],[[1364,1364],\"mapped\",[1412]],[[1365,1365],\"mapped\",[1413]],[[1366,1366],\"mapped\",[1414]],[[1367,1368],\"disallowed\"],[[1369,1369],\"valid\"],[[1370,1375],\"valid\",[],\"NV8\"],[[1376,1376],\"disallowed\"],[[1377,1414],\"valid\"],[[1415,1415],\"mapped\",[1381,1410]],[[1416,1416],\"disallowed\"],[[1417,1417],\"valid\",[],\"NV8\"],[[1418,1418],\"valid\",[],\"NV8\"],[[1419,1420],\"disallowed\"],[[1421,1422],\"valid\",[],\"NV8\"],[[1423,1423],\"valid\",[],\"NV8\"],[[1424,1424],\"disallowed\"],[[1425,1441],\"valid\"],[[1442,1442],\"valid\"],[[1443,1455],\"valid\"],[[1456,1465],\"valid\"],[[1466,1466],\"valid\"],[[1467,1469],\"valid\"],[[1470,1470],\"valid\",[],\"NV8\"],[[1471,1471],\"valid\"],[[1472,1472],\"valid\",[],\"NV8\"],[[1473,1474],\"valid\"],[[1475,1475],\"valid\",[],\"NV8\"],[[1476,1476],\"valid\"],[[1477,1477],\"valid\"],[[1478,1478],\"valid\",[],\"NV8\"],[[1479,1479],\"valid\"],[[1480,1487],\"disallowed\"],[[1488,1514],\"valid\"],[[1515,1519],\"disallowed\"],[[1520,1524],\"valid\"],[[1525,1535],\"disallowed\"],[[1536,1539],\"disallowed\"],[[1540,1540],\"disallowed\"],[[1541,1541],\"disallowed\"],[[1542,1546],\"valid\",[],\"NV8\"],[[1547,1547],\"valid\",[],\"NV8\"],[[1548,1548],\"valid\",[],\"NV8\"],[[1549,1551],\"valid\",[],\"NV8\"],[[1552,1557],\"valid\"],[[1558,1562],\"valid\"],[[1563,1563],\"valid\",[],\"NV8\"],[[1564,1564],\"disallowed\"],[[1565,1565],\"disallowed\"],[[1566,1566],\"valid\",[],\"NV8\"],[[1567,1567],\"valid\",[],\"NV8\"],[[1568,1568],\"valid\"],[[1569,1594],\"valid\"],[[1595,1599],\"valid\"],[[1600,1600],\"valid\",[],\"NV8\"],[[1601,1618],\"valid\"],[[1619,1621],\"valid\"],[[1622,1624],\"valid\"],[[1625,1630],\"valid\"],[[1631,1631],\"valid\"],[[1632,1641],\"valid\"],[[1642,1645],\"valid\",[],\"NV8\"],[[1646,1647],\"valid\"],[[1648,1652],\"valid\"],[[1653,1653],\"mapped\",[1575,1652]],[[1654,1654],\"mapped\",[1608,1652]],[[1655,1655],\"mapped\",[1735,1652]],[[1656,1656],\"mapped\",[1610,1652]],[[1657,1719],\"valid\"],[[1720,1721],\"valid\"],[[1722,1726],\"valid\"],[[1727,1727],\"valid\"],[[1728,1742],\"valid\"],[[1743,1743],\"valid\"],[[1744,1747],\"valid\"],[[1748,1748],\"valid\",[],\"NV8\"],[[1749,1756],\"valid\"],[[1757,1757],\"disallowed\"],[[1758,1758],\"valid\",[],\"NV8\"],[[1759,1768],\"valid\"],[[1769,1769],\"valid\",[],\"NV8\"],[[1770,1773],\"valid\"],[[1774,1775],\"valid\"],[[1776,1785],\"valid\"],[[1786,1790],\"valid\"],[[1791,1791],\"valid\"],[[1792,1805],\"valid\",[],\"NV8\"],[[1806,1806],\"disallowed\"],[[1807,1807],\"disallowed\"],[[1808,1836],\"valid\"],[[1837,1839],\"valid\"],[[1840,1866],\"valid\"],[[1867,1868],\"disallowed\"],[[1869,1871],\"valid\"],[[1872,1901],\"valid\"],[[1902,1919],\"valid\"],[[1920,1968],\"valid\"],[[1969,1969],\"valid\"],[[1970,1983],\"disallowed\"],[[1984,2037],\"valid\"],[[2038,2042],\"valid\",[],\"NV8\"],[[2043,2047],\"disallowed\"],[[2048,2093],\"valid\"],[[2094,2095],\"disallowed\"],[[2096,2110],\"valid\",[],\"NV8\"],[[2111,2111],\"disallowed\"],[[2112,2139],\"valid\"],[[2140,2141],\"disallowed\"],[[2142,2142],\"valid\",[],\"NV8\"],[[2143,2207],\"disallowed\"],[[2208,2208],\"valid\"],[[2209,2209],\"valid\"],[[2210,2220],\"valid\"],[[2221,2226],\"valid\"],[[2227,2228],\"valid\"],[[2229,2274],\"disallowed\"],[[2275,2275],\"valid\"],[[2276,2302],\"valid\"],[[2303,2303],\"valid\"],[[2304,2304],\"valid\"],[[2305,2307],\"valid\"],[[2308,2308],\"valid\"],[[2309,2361],\"valid\"],[[2362,2363],\"valid\"],[[2364,2381],\"valid\"],[[2382,2382],\"valid\"],[[2383,2383],\"valid\"],[[2384,2388],\"valid\"],[[2389,2389],\"valid\"],[[2390,2391],\"valid\"],[[2392,2392],\"mapped\",[2325,2364]],[[2393,2393],\"mapped\",[2326,2364]],[[2394,2394],\"mapped\",[2327,2364]],[[2395,2395],\"mapped\",[2332,2364]],[[2396,2396],\"mapped\",[2337,2364]],[[2397,2397],\"mapped\",[2338,2364]],[[2398,2398],\"mapped\",[2347,2364]],[[2399,2399],\"mapped\",[2351,2364]],[[2400,2403],\"valid\"],[[2404,2405],\"valid\",[],\"NV8\"],[[2406,2415],\"valid\"],[[2416,2416],\"valid\",[],\"NV8\"],[[2417,2418],\"valid\"],[[2419,2423],\"valid\"],[[2424,2424],\"valid\"],[[2425,2426],\"valid\"],[[2427,2428],\"valid\"],[[2429,2429],\"valid\"],[[2430,2431],\"valid\"],[[2432,2432],\"valid\"],[[2433,2435],\"valid\"],[[2436,2436],\"disallowed\"],[[2437,2444],\"valid\"],[[2445,2446],\"disallowed\"],[[2447,2448],\"valid\"],[[2449,2450],\"disallowed\"],[[2451,2472],\"valid\"],[[2473,2473],\"disallowed\"],[[2474,2480],\"valid\"],[[2481,2481],\"disallowed\"],[[2482,2482],\"valid\"],[[2483,2485],\"disallowed\"],[[2486,2489],\"valid\"],[[2490,2491],\"disallowed\"],[[2492,2492],\"valid\"],[[2493,2493],\"valid\"],[[2494,2500],\"valid\"],[[2501,2502],\"disallowed\"],[[2503,2504],\"valid\"],[[2505,2506],\"disallowed\"],[[2507,2509],\"valid\"],[[2510,2510],\"valid\"],[[2511,2518],\"disallowed\"],[[2519,2519],\"valid\"],[[2520,2523],\"disallowed\"],[[2524,2524],\"mapped\",[2465,2492]],[[2525,2525],\"mapped\",[2466,2492]],[[2526,2526],\"disallowed\"],[[2527,2527],\"mapped\",[2479,2492]],[[2528,2531],\"valid\"],[[2532,2533],\"disallowed\"],[[2534,2545],\"valid\"],[[2546,2554],\"valid\",[],\"NV8\"],[[2555,2555],\"valid\",[],\"NV8\"],[[2556,2560],\"disallowed\"],[[2561,2561],\"valid\"],[[2562,2562],\"valid\"],[[2563,2563],\"valid\"],[[2564,2564],\"disallowed\"],[[2565,2570],\"valid\"],[[2571,2574],\"disallowed\"],[[2575,2576],\"valid\"],[[2577,2578],\"disallowed\"],[[2579,2600],\"valid\"],[[2601,2601],\"disallowed\"],[[2602,2608],\"valid\"],[[2609,2609],\"disallowed\"],[[2610,2610],\"valid\"],[[2611,2611],\"mapped\",[2610,2620]],[[2612,2612],\"disallowed\"],[[2613,2613],\"valid\"],[[2614,2614],\"mapped\",[2616,2620]],[[2615,2615],\"disallowed\"],[[2616,2617],\"valid\"],[[2618,2619],\"disallowed\"],[[2620,2620],\"valid\"],[[2621,2621],\"disallowed\"],[[2622,2626],\"valid\"],[[2627,2630],\"disallowed\"],[[2631,2632],\"valid\"],[[2633,2634],\"disallowed\"],[[2635,2637],\"valid\"],[[2638,2640],\"disallowed\"],[[2641,2641],\"valid\"],[[2642,2648],\"disallowed\"],[[2649,2649],\"mapped\",[2582,2620]],[[2650,2650],\"mapped\",[2583,2620]],[[2651,2651],\"mapped\",[2588,2620]],[[2652,2652],\"valid\"],[[2653,2653],\"disallowed\"],[[2654,2654],\"mapped\",[2603,2620]],[[2655,2661],\"disallowed\"],[[2662,2676],\"valid\"],[[2677,2677],\"valid\"],[[2678,2688],\"disallowed\"],[[2689,2691],\"valid\"],[[2692,2692],\"disallowed\"],[[2693,2699],\"valid\"],[[2700,2700],\"valid\"],[[2701,2701],\"valid\"],[[2702,2702],\"disallowed\"],[[2703,2705],\"valid\"],[[2706,2706],\"disallowed\"],[[2707,2728],\"valid\"],[[2729,2729],\"disallowed\"],[[2730,2736],\"valid\"],[[2737,2737],\"disallowed\"],[[2738,2739],\"valid\"],[[2740,2740],\"disallowed\"],[[2741,2745],\"valid\"],[[2746,2747],\"disallowed\"],[[2748,2757],\"valid\"],[[2758,2758],\"disallowed\"],[[2759,2761],\"valid\"],[[2762,2762],\"disallowed\"],[[2763,2765],\"valid\"],[[2766,2767],\"disallowed\"],[[2768,2768],\"valid\"],[[2769,2783],\"disallowed\"],[[2784,2784],\"valid\"],[[2785,2787],\"valid\"],[[2788,2789],\"disallowed\"],[[2790,2799],\"valid\"],[[2800,2800],\"valid\",[],\"NV8\"],[[2801,2801],\"valid\",[],\"NV8\"],[[2802,2808],\"disallowed\"],[[2809,2809],\"valid\"],[[2810,2816],\"disallowed\"],[[2817,2819],\"valid\"],[[2820,2820],\"disallowed\"],[[2821,2828],\"valid\"],[[2829,2830],\"disallowed\"],[[2831,2832],\"valid\"],[[2833,2834],\"disallowed\"],[[2835,2856],\"valid\"],[[2857,2857],\"disallowed\"],[[2858,2864],\"valid\"],[[2865,2865],\"disallowed\"],[[2866,2867],\"valid\"],[[2868,2868],\"disallowed\"],[[2869,2869],\"valid\"],[[2870,2873],\"valid\"],[[2874,2875],\"disallowed\"],[[2876,2883],\"valid\"],[[2884,2884],\"valid\"],[[2885,2886],\"disallowed\"],[[2887,2888],\"valid\"],[[2889,2890],\"disallowed\"],[[2891,2893],\"valid\"],[[2894,2901],\"disallowed\"],[[2902,2903],\"valid\"],[[2904,2907],\"disallowed\"],[[2908,2908],\"mapped\",[2849,2876]],[[2909,2909],\"mapped\",[2850,2876]],[[2910,2910],\"disallowed\"],[[2911,2913],\"valid\"],[[2914,2915],\"valid\"],[[2916,2917],\"disallowed\"],[[2918,2927],\"valid\"],[[2928,2928],\"valid\",[],\"NV8\"],[[2929,2929],\"valid\"],[[2930,2935],\"valid\",[],\"NV8\"],[[2936,2945],\"disallowed\"],[[2946,2947],\"valid\"],[[2948,2948],\"disallowed\"],[[2949,2954],\"valid\"],[[2955,2957],\"disallowed\"],[[2958,2960],\"valid\"],[[2961,2961],\"disallowed\"],[[2962,2965],\"valid\"],[[2966,2968],\"disallowed\"],[[2969,2970],\"valid\"],[[2971,2971],\"disallowed\"],[[2972,2972],\"valid\"],[[2973,2973],\"disallowed\"],[[2974,2975],\"valid\"],[[2976,2978],\"disallowed\"],[[2979,2980],\"valid\"],[[2981,2983],\"disallowed\"],[[2984,2986],\"valid\"],[[2987,2989],\"disallowed\"],[[2990,2997],\"valid\"],[[2998,2998],\"valid\"],[[2999,3001],\"valid\"],[[3002,3005],\"disallowed\"],[[3006,3010],\"valid\"],[[3011,3013],\"disallowed\"],[[3014,3016],\"valid\"],[[3017,3017],\"disallowed\"],[[3018,3021],\"valid\"],[[3022,3023],\"disallowed\"],[[3024,3024],\"valid\"],[[3025,3030],\"disallowed\"],[[3031,3031],\"valid\"],[[3032,3045],\"disallowed\"],[[3046,3046],\"valid\"],[[3047,3055],\"valid\"],[[3056,3058],\"valid\",[],\"NV8\"],[[3059,3066],\"valid\",[],\"NV8\"],[[3067,3071],\"disallowed\"],[[3072,3072],\"valid\"],[[3073,3075],\"valid\"],[[3076,3076],\"disallowed\"],[[3077,3084],\"valid\"],[[3085,3085],\"disallowed\"],[[3086,3088],\"valid\"],[[3089,3089],\"disallowed\"],[[3090,3112],\"valid\"],[[3113,3113],\"disallowed\"],[[3114,3123],\"valid\"],[[3124,3124],\"valid\"],[[3125,3129],\"valid\"],[[3130,3132],\"disallowed\"],[[3133,3133],\"valid\"],[[3134,3140],\"valid\"],[[3141,3141],\"disallowed\"],[[3142,3144],\"valid\"],[[3145,3145],\"disallowed\"],[[3146,3149],\"valid\"],[[3150,3156],\"disallowed\"],[[3157,3158],\"valid\"],[[3159,3159],\"disallowed\"],[[3160,3161],\"valid\"],[[3162,3162],\"valid\"],[[3163,3167],\"disallowed\"],[[3168,3169],\"valid\"],[[3170,3171],\"valid\"],[[3172,3173],\"disallowed\"],[[3174,3183],\"valid\"],[[3184,3191],\"disallowed\"],[[3192,3199],\"valid\",[],\"NV8\"],[[3200,3200],\"disallowed\"],[[3201,3201],\"valid\"],[[3202,3203],\"valid\"],[[3204,3204],\"disallowed\"],[[3205,3212],\"valid\"],[[3213,3213],\"disallowed\"],[[3214,3216],\"valid\"],[[3217,3217],\"disallowed\"],[[3218,3240],\"valid\"],[[3241,3241],\"disallowed\"],[[3242,3251],\"valid\"],[[3252,3252],\"disallowed\"],[[3253,3257],\"valid\"],[[3258,3259],\"disallowed\"],[[3260,3261],\"valid\"],[[3262,3268],\"valid\"],[[3269,3269],\"disallowed\"],[[3270,3272],\"valid\"],[[3273,3273],\"disallowed\"],[[3274,3277],\"valid\"],[[3278,3284],\"disallowed\"],[[3285,3286],\"valid\"],[[3287,3293],\"disallowed\"],[[3294,3294],\"valid\"],[[3295,3295],\"disallowed\"],[[3296,3297],\"valid\"],[[3298,3299],\"valid\"],[[3300,3301],\"disallowed\"],[[3302,3311],\"valid\"],[[3312,3312],\"disallowed\"],[[3313,3314],\"valid\"],[[3315,3328],\"disallowed\"],[[3329,3329],\"valid\"],[[3330,3331],\"valid\"],[[3332,3332],\"disallowed\"],[[3333,3340],\"valid\"],[[3341,3341],\"disallowed\"],[[3342,3344],\"valid\"],[[3345,3345],\"disallowed\"],[[3346,3368],\"valid\"],[[3369,3369],\"valid\"],[[3370,3385],\"valid\"],[[3386,3386],\"valid\"],[[3387,3388],\"disallowed\"],[[3389,3389],\"valid\"],[[3390,3395],\"valid\"],[[3396,3396],\"valid\"],[[3397,3397],\"disallowed\"],[[3398,3400],\"valid\"],[[3401,3401],\"disallowed\"],[[3402,3405],\"valid\"],[[3406,3406],\"valid\"],[[3407,3414],\"disallowed\"],[[3415,3415],\"valid\"],[[3416,3422],\"disallowed\"],[[3423,3423],\"valid\"],[[3424,3425],\"valid\"],[[3426,3427],\"valid\"],[[3428,3429],\"disallowed\"],[[3430,3439],\"valid\"],[[3440,3445],\"valid\",[],\"NV8\"],[[3446,3448],\"disallowed\"],[[3449,3449],\"valid\",[],\"NV8\"],[[3450,3455],\"valid\"],[[3456,3457],\"disallowed\"],[[3458,3459],\"valid\"],[[3460,3460],\"disallowed\"],[[3461,3478],\"valid\"],[[3479,3481],\"disallowed\"],[[3482,3505],\"valid\"],[[3506,3506],\"disallowed\"],[[3507,3515],\"valid\"],[[3516,3516],\"disallowed\"],[[3517,3517],\"valid\"],[[3518,3519],\"disallowed\"],[[3520,3526],\"valid\"],[[3527,3529],\"disallowed\"],[[3530,3530],\"valid\"],[[3531,3534],\"disallowed\"],[[3535,3540],\"valid\"],[[3541,3541],\"disallowed\"],[[3542,3542],\"valid\"],[[3543,3543],\"disallowed\"],[[3544,3551],\"valid\"],[[3552,3557],\"disallowed\"],[[3558,3567],\"valid\"],[[3568,3569],\"disallowed\"],[[3570,3571],\"valid\"],[[3572,3572],\"valid\",[],\"NV8\"],[[3573,3584],\"disallowed\"],[[3585,3634],\"valid\"],[[3635,3635],\"mapped\",[3661,3634]],[[3636,3642],\"valid\"],[[3643,3646],\"disallowed\"],[[3647,3647],\"valid\",[],\"NV8\"],[[3648,3662],\"valid\"],[[3663,3663],\"valid\",[],\"NV8\"],[[3664,3673],\"valid\"],[[3674,3675],\"valid\",[],\"NV8\"],[[3676,3712],\"disallowed\"],[[3713,3714],\"valid\"],[[3715,3715],\"disallowed\"],[[3716,3716],\"valid\"],[[3717,3718],\"disallowed\"],[[3719,3720],\"valid\"],[[3721,3721],\"disallowed\"],[[3722,3722],\"valid\"],[[3723,3724],\"disallowed\"],[[3725,3725],\"valid\"],[[3726,3731],\"disallowed\"],[[3732,3735],\"valid\"],[[3736,3736],\"disallowed\"],[[3737,3743],\"valid\"],[[3744,3744],\"disallowed\"],[[3745,3747],\"valid\"],[[3748,3748],\"disallowed\"],[[3749,3749],\"valid\"],[[3750,3750],\"disallowed\"],[[3751,3751],\"valid\"],[[3752,3753],\"disallowed\"],[[3754,3755],\"valid\"],[[3756,3756],\"disallowed\"],[[3757,3762],\"valid\"],[[3763,3763],\"mapped\",[3789,3762]],[[3764,3769],\"valid\"],[[3770,3770],\"disallowed\"],[[3771,3773],\"valid\"],[[3774,3775],\"disallowed\"],[[3776,3780],\"valid\"],[[3781,3781],\"disallowed\"],[[3782,3782],\"valid\"],[[3783,3783],\"disallowed\"],[[3784,3789],\"valid\"],[[3790,3791],\"disallowed\"],[[3792,3801],\"valid\"],[[3802,3803],\"disallowed\"],[[3804,3804],\"mapped\",[3755,3737]],[[3805,3805],\"mapped\",[3755,3745]],[[3806,3807],\"valid\"],[[3808,3839],\"disallowed\"],[[3840,3840],\"valid\"],[[3841,3850],\"valid\",[],\"NV8\"],[[3851,3851],\"valid\"],[[3852,3852],\"mapped\",[3851]],[[3853,3863],\"valid\",[],\"NV8\"],[[3864,3865],\"valid\"],[[3866,3871],\"valid\",[],\"NV8\"],[[3872,3881],\"valid\"],[[3882,3892],\"valid\",[],\"NV8\"],[[3893,3893],\"valid\"],[[3894,3894],\"valid\",[],\"NV8\"],[[3895,3895],\"valid\"],[[3896,3896],\"valid\",[],\"NV8\"],[[3897,3897],\"valid\"],[[3898,3901],\"valid\",[],\"NV8\"],[[3902,3906],\"valid\"],[[3907,3907],\"mapped\",[3906,4023]],[[3908,3911],\"valid\"],[[3912,3912],\"disallowed\"],[[3913,3916],\"valid\"],[[3917,3917],\"mapped\",[3916,4023]],[[3918,3921],\"valid\"],[[3922,3922],\"mapped\",[3921,4023]],[[3923,3926],\"valid\"],[[3927,3927],\"mapped\",[3926,4023]],[[3928,3931],\"valid\"],[[3932,3932],\"mapped\",[3931,4023]],[[3933,3944],\"valid\"],[[3945,3945],\"mapped\",[3904,4021]],[[3946,3946],\"valid\"],[[3947,3948],\"valid\"],[[3949,3952],\"disallowed\"],[[3953,3954],\"valid\"],[[3955,3955],\"mapped\",[3953,3954]],[[3956,3956],\"valid\"],[[3957,3957],\"mapped\",[3953,3956]],[[3958,3958],\"mapped\",[4018,3968]],[[3959,3959],\"mapped\",[4018,3953,3968]],[[3960,3960],\"mapped\",[4019,3968]],[[3961,3961],\"mapped\",[4019,3953,3968]],[[3962,3968],\"valid\"],[[3969,3969],\"mapped\",[3953,3968]],[[3970,3972],\"valid\"],[[3973,3973],\"valid\",[],\"NV8\"],[[3974,3979],\"valid\"],[[3980,3983],\"valid\"],[[3984,3986],\"valid\"],[[3987,3987],\"mapped\",[3986,4023]],[[3988,3989],\"valid\"],[[3990,3990],\"valid\"],[[3991,3991],\"valid\"],[[3992,3992],\"disallowed\"],[[3993,3996],\"valid\"],[[3997,3997],\"mapped\",[3996,4023]],[[3998,4001],\"valid\"],[[4002,4002],\"mapped\",[4001,4023]],[[4003,4006],\"valid\"],[[4007,4007],\"mapped\",[4006,4023]],[[4008,4011],\"valid\"],[[4012,4012],\"mapped\",[4011,4023]],[[4013,4013],\"valid\"],[[4014,4016],\"valid\"],[[4017,4023],\"valid\"],[[4024,4024],\"valid\"],[[4025,4025],\"mapped\",[3984,4021]],[[4026,4028],\"valid\"],[[4029,4029],\"disallowed\"],[[4030,4037],\"valid\",[],\"NV8\"],[[4038,4038],\"valid\"],[[4039,4044],\"valid\",[],\"NV8\"],[[4045,4045],\"disallowed\"],[[4046,4046],\"valid\",[],\"NV8\"],[[4047,4047],\"valid\",[],\"NV8\"],[[4048,4049],\"valid\",[],\"NV8\"],[[4050,4052],\"valid\",[],\"NV8\"],[[4053,4056],\"valid\",[],\"NV8\"],[[4057,4058],\"valid\",[],\"NV8\"],[[4059,4095],\"disallowed\"],[[4096,4129],\"valid\"],[[4130,4130],\"valid\"],[[4131,4135],\"valid\"],[[4136,4136],\"valid\"],[[4137,4138],\"valid\"],[[4139,4139],\"valid\"],[[4140,4146],\"valid\"],[[4147,4149],\"valid\"],[[4150,4153],\"valid\"],[[4154,4159],\"valid\"],[[4160,4169],\"valid\"],[[4170,4175],\"valid\",[],\"NV8\"],[[4176,4185],\"valid\"],[[4186,4249],\"valid\"],[[4250,4253],\"valid\"],[[4254,4255],\"valid\",[],\"NV8\"],[[4256,4293],\"disallowed\"],[[4294,4294],\"disallowed\"],[[4295,4295],\"mapped\",[11559]],[[4296,4300],\"disallowed\"],[[4301,4301],\"mapped\",[11565]],[[4302,4303],\"disallowed\"],[[4304,4342],\"valid\"],[[4343,4344],\"valid\"],[[4345,4346],\"valid\"],[[4347,4347],\"valid\",[],\"NV8\"],[[4348,4348],\"mapped\",[4316]],[[4349,4351],\"valid\"],[[4352,4441],\"valid\",[],\"NV8\"],[[4442,4446],\"valid\",[],\"NV8\"],[[4447,4448],\"disallowed\"],[[4449,4514],\"valid\",[],\"NV8\"],[[4515,4519],\"valid\",[],\"NV8\"],[[4520,4601],\"valid\",[],\"NV8\"],[[4602,4607],\"valid\",[],\"NV8\"],[[4608,4614],\"valid\"],[[4615,4615],\"valid\"],[[4616,4678],\"valid\"],[[4679,4679],\"valid\"],[[4680,4680],\"valid\"],[[4681,4681],\"disallowed\"],[[4682,4685],\"valid\"],[[4686,4687],\"disallowed\"],[[4688,4694],\"valid\"],[[4695,4695],\"disallowed\"],[[4696,4696],\"valid\"],[[4697,4697],\"disallowed\"],[[4698,4701],\"valid\"],[[4702,4703],\"disallowed\"],[[4704,4742],\"valid\"],[[4743,4743],\"valid\"],[[4744,4744],\"valid\"],[[4745,4745],\"disallowed\"],[[4746,4749],\"valid\"],[[4750,4751],\"disallowed\"],[[4752,4782],\"valid\"],[[4783,4783],\"valid\"],[[4784,4784],\"valid\"],[[4785,4785],\"disallowed\"],[[4786,4789],\"valid\"],[[4790,4791],\"disallowed\"],[[4792,4798],\"valid\"],[[4799,4799],\"disallowed\"],[[4800,4800],\"valid\"],[[4801,4801],\"disallowed\"],[[4802,4805],\"valid\"],[[4806,4807],\"disallowed\"],[[4808,4814],\"valid\"],[[4815,4815],\"valid\"],[[4816,4822],\"valid\"],[[4823,4823],\"disallowed\"],[[4824,4846],\"valid\"],[[4847,4847],\"valid\"],[[4848,4878],\"valid\"],[[4879,4879],\"valid\"],[[4880,4880],\"valid\"],[[4881,4881],\"disallowed\"],[[4882,4885],\"valid\"],[[4886,4887],\"disallowed\"],[[4888,4894],\"valid\"],[[4895,4895],\"valid\"],[[4896,4934],\"valid\"],[[4935,4935],\"valid\"],[[4936,4954],\"valid\"],[[4955,4956],\"disallowed\"],[[4957,4958],\"valid\"],[[4959,4959],\"valid\"],[[4960,4960],\"valid\",[],\"NV8\"],[[4961,4988],\"valid\",[],\"NV8\"],[[4989,4991],\"disallowed\"],[[4992,5007],\"valid\"],[[5008,5017],\"valid\",[],\"NV8\"],[[5018,5023],\"disallowed\"],[[5024,5108],\"valid\"],[[5109,5109],\"valid\"],[[5110,5111],\"disallowed\"],[[5112,5112],\"mapped\",[5104]],[[5113,5113],\"mapped\",[5105]],[[5114,5114],\"mapped\",[5106]],[[5115,5115],\"mapped\",[5107]],[[5116,5116],\"mapped\",[5108]],[[5117,5117],\"mapped\",[5109]],[[5118,5119],\"disallowed\"],[[5120,5120],\"valid\",[],\"NV8\"],[[5121,5740],\"valid\"],[[5741,5742],\"valid\",[],\"NV8\"],[[5743,5750],\"valid\"],[[5751,5759],\"valid\"],[[5760,5760],\"disallowed\"],[[5761,5786],\"valid\"],[[5787,5788],\"valid\",[],\"NV8\"],[[5789,5791],\"disallowed\"],[[5792,5866],\"valid\"],[[5867,5872],\"valid\",[],\"NV8\"],[[5873,5880],\"valid\"],[[5881,5887],\"disallowed\"],[[5888,5900],\"valid\"],[[5901,5901],\"disallowed\"],[[5902,5908],\"valid\"],[[5909,5919],\"disallowed\"],[[5920,5940],\"valid\"],[[5941,5942],\"valid\",[],\"NV8\"],[[5943,5951],\"disallowed\"],[[5952,5971],\"valid\"],[[5972,5983],\"disallowed\"],[[5984,5996],\"valid\"],[[5997,5997],\"disallowed\"],[[5998,6000],\"valid\"],[[6001,6001],\"disallowed\"],[[6002,6003],\"valid\"],[[6004,6015],\"disallowed\"],[[6016,6067],\"valid\"],[[6068,6069],\"disallowed\"],[[6070,6099],\"valid\"],[[6100,6102],\"valid\",[],\"NV8\"],[[6103,6103],\"valid\"],[[6104,6107],\"valid\",[],\"NV8\"],[[6108,6108],\"valid\"],[[6109,6109],\"valid\"],[[6110,6111],\"disallowed\"],[[6112,6121],\"valid\"],[[6122,6127],\"disallowed\"],[[6128,6137],\"valid\",[],\"NV8\"],[[6138,6143],\"disallowed\"],[[6144,6149],\"valid\",[],\"NV8\"],[[6150,6150],\"disallowed\"],[[6151,6154],\"valid\",[],\"NV8\"],[[6155,6157],\"ignored\"],[[6158,6158],\"disallowed\"],[[6159,6159],\"disallowed\"],[[6160,6169],\"valid\"],[[6170,6175],\"disallowed\"],[[6176,6263],\"valid\"],[[6264,6271],\"disallowed\"],[[6272,6313],\"valid\"],[[6314,6314],\"valid\"],[[6315,6319],\"disallowed\"],[[6320,6389],\"valid\"],[[6390,6399],\"disallowed\"],[[6400,6428],\"valid\"],[[6429,6430],\"valid\"],[[6431,6431],\"disallowed\"],[[6432,6443],\"valid\"],[[6444,6447],\"disallowed\"],[[6448,6459],\"valid\"],[[6460,6463],\"disallowed\"],[[6464,6464],\"valid\",[],\"NV8\"],[[6465,6467],\"disallowed\"],[[6468,6469],\"valid\",[],\"NV8\"],[[6470,6509],\"valid\"],[[6510,6511],\"disallowed\"],[[6512,6516],\"valid\"],[[6517,6527],\"disallowed\"],[[6528,6569],\"valid\"],[[6570,6571],\"valid\"],[[6572,6575],\"disallowed\"],[[6576,6601],\"valid\"],[[6602,6607],\"disallowed\"],[[6608,6617],\"valid\"],[[6618,6618],\"valid\",[],\"XV8\"],[[6619,6621],\"disallowed\"],[[6622,6623],\"valid\",[],\"NV8\"],[[6624,6655],\"valid\",[],\"NV8\"],[[6656,6683],\"valid\"],[[6684,6685],\"disallowed\"],[[6686,6687],\"valid\",[],\"NV8\"],[[6688,6750],\"valid\"],[[6751,6751],\"disallowed\"],[[6752,6780],\"valid\"],[[6781,6782],\"disallowed\"],[[6783,6793],\"valid\"],[[6794,6799],\"disallowed\"],[[6800,6809],\"valid\"],[[6810,6815],\"disallowed\"],[[6816,6822],\"valid\",[],\"NV8\"],[[6823,6823],\"valid\"],[[6824,6829],\"valid\",[],\"NV8\"],[[6830,6831],\"disallowed\"],[[6832,6845],\"valid\"],[[6846,6846],\"valid\",[],\"NV8\"],[[6847,6911],\"disallowed\"],[[6912,6987],\"valid\"],[[6988,6991],\"disallowed\"],[[6992,7001],\"valid\"],[[7002,7018],\"valid\",[],\"NV8\"],[[7019,7027],\"valid\"],[[7028,7036],\"valid\",[],\"NV8\"],[[7037,7039],\"disallowed\"],[[7040,7082],\"valid\"],[[7083,7085],\"valid\"],[[7086,7097],\"valid\"],[[7098,7103],\"valid\"],[[7104,7155],\"valid\"],[[7156,7163],\"disallowed\"],[[7164,7167],\"valid\",[],\"NV8\"],[[7168,7223],\"valid\"],[[7224,7226],\"disallowed\"],[[7227,7231],\"valid\",[],\"NV8\"],[[7232,7241],\"valid\"],[[7242,7244],\"disallowed\"],[[7245,7293],\"valid\"],[[7294,7295],\"valid\",[],\"NV8\"],[[7296,7359],\"disallowed\"],[[7360,7367],\"valid\",[],\"NV8\"],[[7368,7375],\"disallowed\"],[[7376,7378],\"valid\"],[[7379,7379],\"valid\",[],\"NV8\"],[[7380,7410],\"valid\"],[[7411,7414],\"valid\"],[[7415,7415],\"disallowed\"],[[7416,7417],\"valid\"],[[7418,7423],\"disallowed\"],[[7424,7467],\"valid\"],[[7468,7468],\"mapped\",[97]],[[7469,7469],\"mapped\",[230]],[[7470,7470],\"mapped\",[98]],[[7471,7471],\"valid\"],[[7472,7472],\"mapped\",[100]],[[7473,7473],\"mapped\",[101]],[[7474,7474],\"mapped\",[477]],[[7475,7475],\"mapped\",[103]],[[7476,7476],\"mapped\",[104]],[[7477,7477],\"mapped\",[105]],[[7478,7478],\"mapped\",[106]],[[7479,7479],\"mapped\",[107]],[[7480,7480],\"mapped\",[108]],[[7481,7481],\"mapped\",[109]],[[7482,7482],\"mapped\",[110]],[[7483,7483],\"valid\"],[[7484,7484],\"mapped\",[111]],[[7485,7485],\"mapped\",[547]],[[7486,7486],\"mapped\",[112]],[[7487,7487],\"mapped\",[114]],[[7488,7488],\"mapped\",[116]],[[7489,7489],\"mapped\",[117]],[[7490,7490],\"mapped\",[119]],[[7491,7491],\"mapped\",[97]],[[7492,7492],\"mapped\",[592]],[[7493,7493],\"mapped\",[593]],[[7494,7494],\"mapped\",[7426]],[[7495,7495],\"mapped\",[98]],[[7496,7496],\"mapped\",[100]],[[7497,7497],\"mapped\",[101]],[[7498,7498],\"mapped\",[601]],[[7499,7499],\"mapped\",[603]],[[7500,7500],\"mapped\",[604]],[[7501,7501],\"mapped\",[103]],[[7502,7502],\"valid\"],[[7503,7503],\"mapped\",[107]],[[7504,7504],\"mapped\",[109]],[[7505,7505],\"mapped\",[331]],[[7506,7506],\"mapped\",[111]],[[7507,7507],\"mapped\",[596]],[[7508,7508],\"mapped\",[7446]],[[7509,7509],\"mapped\",[7447]],[[7510,7510],\"mapped\",[112]],[[7511,7511],\"mapped\",[116]],[[7512,7512],\"mapped\",[117]],[[7513,7513],\"mapped\",[7453]],[[7514,7514],\"mapped\",[623]],[[7515,7515],\"mapped\",[118]],[[7516,7516],\"mapped\",[7461]],[[7517,7517],\"mapped\",[946]],[[7518,7518],\"mapped\",[947]],[[7519,7519],\"mapped\",[948]],[[7520,7520],\"mapped\",[966]],[[7521,7521],\"mapped\",[967]],[[7522,7522],\"mapped\",[105]],[[7523,7523],\"mapped\",[114]],[[7524,7524],\"mapped\",[117]],[[7525,7525],\"mapped\",[118]],[[7526,7526],\"mapped\",[946]],[[7527,7527],\"mapped\",[947]],[[7528,7528],\"mapped\",[961]],[[7529,7529],\"mapped\",[966]],[[7530,7530],\"mapped\",[967]],[[7531,7531],\"valid\"],[[7532,7543],\"valid\"],[[7544,7544],\"mapped\",[1085]],[[7545,7578],\"valid\"],[[7579,7579],\"mapped\",[594]],[[7580,7580],\"mapped\",[99]],[[7581,7581],\"mapped\",[597]],[[7582,7582],\"mapped\",[240]],[[7583,7583],\"mapped\",[604]],[[7584,7584],\"mapped\",[102]],[[7585,7585],\"mapped\",[607]],[[7586,7586],\"mapped\",[609]],[[7587,7587],\"mapped\",[613]],[[7588,7588],\"mapped\",[616]],[[7589,7589],\"mapped\",[617]],[[7590,7590],\"mapped\",[618]],[[7591,7591],\"mapped\",[7547]],[[7592,7592],\"mapped\",[669]],[[7593,7593],\"mapped\",[621]],[[7594,7594],\"mapped\",[7557]],[[7595,7595],\"mapped\",[671]],[[7596,7596],\"mapped\",[625]],[[7597,7597],\"mapped\",[624]],[[7598,7598],\"mapped\",[626]],[[7599,7599],\"mapped\",[627]],[[7600,7600],\"mapped\",[628]],[[7601,7601],\"mapped\",[629]],[[7602,7602],\"mapped\",[632]],[[7603,7603],\"mapped\",[642]],[[7604,7604],\"mapped\",[643]],[[7605,7605],\"mapped\",[427]],[[7606,7606],\"mapped\",[649]],[[7607,7607],\"mapped\",[650]],[[7608,7608],\"mapped\",[7452]],[[7609,7609],\"mapped\",[651]],[[7610,7610],\"mapped\",[652]],[[7611,7611],\"mapped\",[122]],[[7612,7612],\"mapped\",[656]],[[7613,7613],\"mapped\",[657]],[[7614,7614],\"mapped\",[658]],[[7615,7615],\"mapped\",[952]],[[7616,7619],\"valid\"],[[7620,7626],\"valid\"],[[7627,7654],\"valid\"],[[7655,7669],\"valid\"],[[7670,7675],\"disallowed\"],[[7676,7676],\"valid\"],[[7677,7677],\"valid\"],[[7678,7679],\"valid\"],[[7680,7680],\"mapped\",[7681]],[[7681,7681],\"valid\"],[[7682,7682],\"mapped\",[7683]],[[7683,7683],\"valid\"],[[7684,7684],\"mapped\",[7685]],[[7685,7685],\"valid\"],[[7686,7686],\"mapped\",[7687]],[[7687,7687],\"valid\"],[[7688,7688],\"mapped\",[7689]],[[7689,7689],\"valid\"],[[7690,7690],\"mapped\",[7691]],[[7691,7691],\"valid\"],[[7692,7692],\"mapped\",[7693]],[[7693,7693],\"valid\"],[[7694,7694],\"mapped\",[7695]],[[7695,7695],\"valid\"],[[7696,7696],\"mapped\",[7697]],[[7697,7697],\"valid\"],[[7698,7698],\"mapped\",[7699]],[[7699,7699],\"valid\"],[[7700,7700],\"mapped\",[7701]],[[7701,7701],\"valid\"],[[7702,7702],\"mapped\",[7703]],[[7703,7703],\"valid\"],[[7704,7704],\"mapped\",[7705]],[[7705,7705],\"valid\"],[[7706,7706],\"mapped\",[7707]],[[7707,7707],\"valid\"],[[7708,7708],\"mapped\",[7709]],[[7709,7709],\"valid\"],[[7710,7710],\"mapped\",[7711]],[[7711,7711],\"valid\"],[[7712,7712],\"mapped\",[7713]],[[7713,7713],\"valid\"],[[7714,7714],\"mapped\",[7715]],[[7715,7715],\"valid\"],[[7716,7716],\"mapped\",[7717]],[[7717,7717],\"valid\"],[[7718,7718],\"mapped\",[7719]],[[7719,7719],\"valid\"],[[7720,7720],\"mapped\",[7721]],[[7721,7721],\"valid\"],[[7722,7722],\"mapped\",[7723]],[[7723,7723],\"valid\"],[[7724,7724],\"mapped\",[7725]],[[7725,7725],\"valid\"],[[7726,7726],\"mapped\",[7727]],[[7727,7727],\"valid\"],[[7728,7728],\"mapped\",[7729]],[[7729,7729],\"valid\"],[[7730,7730],\"mapped\",[7731]],[[7731,7731],\"valid\"],[[7732,7732],\"mapped\",[7733]],[[7733,7733],\"valid\"],[[7734,7734],\"mapped\",[7735]],[[7735,7735],\"valid\"],[[7736,7736],\"mapped\",[7737]],[[7737,7737],\"valid\"],[[7738,7738],\"mapped\",[7739]],[[7739,7739],\"valid\"],[[7740,7740],\"mapped\",[7741]],[[7741,7741],\"valid\"],[[7742,7742],\"mapped\",[7743]],[[7743,7743],\"valid\"],[[7744,7744],\"mapped\",[7745]],[[7745,7745],\"valid\"],[[7746,7746],\"mapped\",[7747]],[[7747,7747],\"valid\"],[[7748,7748],\"mapped\",[7749]],[[7749,7749],\"valid\"],[[7750,7750],\"mapped\",[7751]],[[7751,7751],\"valid\"],[[7752,7752],\"mapped\",[7753]],[[7753,7753],\"valid\"],[[7754,7754],\"mapped\",[7755]],[[7755,7755],\"valid\"],[[7756,7756],\"mapped\",[7757]],[[7757,7757],\"valid\"],[[7758,7758],\"mapped\",[7759]],[[7759,7759],\"valid\"],[[7760,7760],\"mapped\",[7761]],[[7761,7761],\"valid\"],[[7762,7762],\"mapped\",[7763]],[[7763,7763],\"valid\"],[[7764,7764],\"mapped\",[7765]],[[7765,7765],\"valid\"],[[7766,7766],\"mapped\",[7767]],[[7767,7767],\"valid\"],[[7768,7768],\"mapped\",[7769]],[[7769,7769],\"valid\"],[[7770,7770],\"mapped\",[7771]],[[7771,7771],\"valid\"],[[7772,7772],\"mapped\",[7773]],[[7773,7773],\"valid\"],[[7774,7774],\"mapped\",[7775]],[[7775,7775],\"valid\"],[[7776,7776],\"mapped\",[7777]],[[7777,7777],\"valid\"],[[7778,7778],\"mapped\",[7779]],[[7779,7779],\"valid\"],[[7780,7780],\"mapped\",[7781]],[[7781,7781],\"valid\"],[[7782,7782],\"mapped\",[7783]],[[7783,7783],\"valid\"],[[7784,7784],\"mapped\",[7785]],[[7785,7785],\"valid\"],[[7786,7786],\"mapped\",[7787]],[[7787,7787],\"valid\"],[[7788,7788],\"mapped\",[7789]],[[7789,7789],\"valid\"],[[7790,7790],\"mapped\",[7791]],[[7791,7791],\"valid\"],[[7792,7792],\"mapped\",[7793]],[[7793,7793],\"valid\"],[[7794,7794],\"mapped\",[7795]],[[7795,7795],\"valid\"],[[7796,7796],\"mapped\",[7797]],[[7797,7797],\"valid\"],[[7798,7798],\"mapped\",[7799]],[[7799,7799],\"valid\"],[[7800,7800],\"mapped\",[7801]],[[7801,7801],\"valid\"],[[7802,7802],\"mapped\",[7803]],[[7803,7803],\"valid\"],[[7804,7804],\"mapped\",[7805]],[[7805,7805],\"valid\"],[[7806,7806],\"mapped\",[7807]],[[7807,7807],\"valid\"],[[7808,7808],\"mapped\",[7809]],[[7809,7809],\"valid\"],[[7810,7810],\"mapped\",[7811]],[[7811,7811],\"valid\"],[[7812,7812],\"mapped\",[7813]],[[7813,7813],\"valid\"],[[7814,7814],\"mapped\",[7815]],[[7815,7815],\"valid\"],[[7816,7816],\"mapped\",[7817]],[[7817,7817],\"valid\"],[[7818,7818],\"mapped\",[7819]],[[7819,7819],\"valid\"],[[7820,7820],\"mapped\",[7821]],[[7821,7821],\"valid\"],[[7822,7822],\"mapped\",[7823]],[[7823,7823],\"valid\"],[[7824,7824],\"mapped\",[7825]],[[7825,7825],\"valid\"],[[7826,7826],\"mapped\",[7827]],[[7827,7827],\"valid\"],[[7828,7828],\"mapped\",[7829]],[[7829,7833],\"valid\"],[[7834,7834],\"mapped\",[97,702]],[[7835,7835],\"mapped\",[7777]],[[7836,7837],\"valid\"],[[7838,7838],\"mapped\",[115,115]],[[7839,7839],\"valid\"],[[7840,7840],\"mapped\",[7841]],[[7841,7841],\"valid\"],[[7842,7842],\"mapped\",[7843]],[[7843,7843],\"valid\"],[[7844,7844],\"mapped\",[7845]],[[7845,7845],\"valid\"],[[7846,7846],\"mapped\",[7847]],[[7847,7847],\"valid\"],[[7848,7848],\"mapped\",[7849]],[[7849,7849],\"valid\"],[[7850,7850],\"mapped\",[7851]],[[7851,7851],\"valid\"],[[7852,7852],\"mapped\",[7853]],[[7853,7853],\"valid\"],[[7854,7854],\"mapped\",[7855]],[[7855,7855],\"valid\"],[[7856,7856],\"mapped\",[7857]],[[7857,7857],\"valid\"],[[7858,7858],\"mapped\",[7859]],[[7859,7859],\"valid\"],[[7860,7860],\"mapped\",[7861]],[[7861,7861],\"valid\"],[[7862,7862],\"mapped\",[7863]],[[7863,7863],\"valid\"],[[7864,7864],\"mapped\",[7865]],[[7865,7865],\"valid\"],[[7866,7866],\"mapped\",[7867]],[[7867,7867],\"valid\"],[[7868,7868],\"mapped\",[7869]],[[7869,7869],\"valid\"],[[7870,7870],\"mapped\",[7871]],[[7871,7871],\"valid\"],[[7872,7872],\"mapped\",[7873]],[[7873,7873],\"valid\"],[[7874,7874],\"mapped\",[7875]],[[7875,7875],\"valid\"],[[7876,7876],\"mapped\",[7877]],[[7877,7877],\"valid\"],[[7878,7878],\"mapped\",[7879]],[[7879,7879],\"valid\"],[[7880,7880],\"mapped\",[7881]],[[7881,7881],\"valid\"],[[7882,7882],\"mapped\",[7883]],[[7883,7883],\"valid\"],[[7884,7884],\"mapped\",[7885]],[[7885,7885],\"valid\"],[[7886,7886],\"mapped\",[7887]],[[7887,7887],\"valid\"],[[7888,7888],\"mapped\",[7889]],[[7889,7889],\"valid\"],[[7890,7890],\"mapped\",[7891]],[[7891,7891],\"valid\"],[[7892,7892],\"mapped\",[7893]],[[7893,7893],\"valid\"],[[7894,7894],\"mapped\",[7895]],[[7895,7895],\"valid\"],[[7896,7896],\"mapped\",[7897]],[[7897,7897],\"valid\"],[[7898,7898],\"mapped\",[7899]],[[7899,7899],\"valid\"],[[7900,7900],\"mapped\",[7901]],[[7901,7901],\"valid\"],[[7902,7902],\"mapped\",[7903]],[[7903,7903],\"valid\"],[[7904,7904],\"mapped\",[7905]],[[7905,7905],\"valid\"],[[7906,7906],\"mapped\",[7907]],[[7907,7907],\"valid\"],[[7908,7908],\"mapped\",[7909]],[[7909,7909],\"valid\"],[[7910,7910],\"mapped\",[7911]],[[7911,7911],\"valid\"],[[7912,7912],\"mapped\",[7913]],[[7913,7913],\"valid\"],[[7914,7914],\"mapped\",[7915]],[[7915,7915],\"valid\"],[[7916,7916],\"mapped\",[7917]],[[7917,7917],\"valid\"],[[7918,7918],\"mapped\",[7919]],[[7919,7919],\"valid\"],[[7920,7920],\"mapped\",[7921]],[[7921,7921],\"valid\"],[[7922,7922],\"mapped\",[7923]],[[7923,7923],\"valid\"],[[7924,7924],\"mapped\",[7925]],[[7925,7925],\"valid\"],[[7926,7926],\"mapped\",[7927]],[[7927,7927],\"valid\"],[[7928,7928],\"mapped\",[7929]],[[7929,7929],\"valid\"],[[7930,7930],\"mapped\",[7931]],[[7931,7931],\"valid\"],[[7932,7932],\"mapped\",[7933]],[[7933,7933],\"valid\"],[[7934,7934],\"mapped\",[7935]],[[7935,7935],\"valid\"],[[7936,7943],\"valid\"],[[7944,7944],\"mapped\",[7936]],[[7945,7945],\"mapped\",[7937]],[[7946,7946],\"mapped\",[7938]],[[7947,7947],\"mapped\",[7939]],[[7948,7948],\"mapped\",[7940]],[[7949,7949],\"mapped\",[7941]],[[7950,7950],\"mapped\",[7942]],[[7951,7951],\"mapped\",[7943]],[[7952,7957],\"valid\"],[[7958,7959],\"disallowed\"],[[7960,7960],\"mapped\",[7952]],[[7961,7961],\"mapped\",[7953]],[[7962,7962],\"mapped\",[7954]],[[7963,7963],\"mapped\",[7955]],[[7964,7964],\"mapped\",[7956]],[[7965,7965],\"mapped\",[7957]],[[7966,7967],\"disallowed\"],[[7968,7975],\"valid\"],[[7976,7976],\"mapped\",[7968]],[[7977,7977],\"mapped\",[7969]],[[7978,7978],\"mapped\",[7970]],[[7979,7979],\"mapped\",[7971]],[[7980,7980],\"mapped\",[7972]],[[7981,7981],\"mapped\",[7973]],[[7982,7982],\"mapped\",[7974]],[[7983,7983],\"mapped\",[7975]],[[7984,7991],\"valid\"],[[7992,7992],\"mapped\",[7984]],[[7993,7993],\"mapped\",[7985]],[[7994,7994],\"mapped\",[7986]],[[7995,7995],\"mapped\",[7987]],[[7996,7996],\"mapped\",[7988]],[[7997,7997],\"mapped\",[7989]],[[7998,7998],\"mapped\",[7990]],[[7999,7999],\"mapped\",[7991]],[[8000,8005],\"valid\"],[[8006,8007],\"disallowed\"],[[8008,8008],\"mapped\",[8000]],[[8009,8009],\"mapped\",[8001]],[[8010,8010],\"mapped\",[8002]],[[8011,8011],\"mapped\",[8003]],[[8012,8012],\"mapped\",[8004]],[[8013,8013],\"mapped\",[8005]],[[8014,8015],\"disallowed\"],[[8016,8023],\"valid\"],[[8024,8024],\"disallowed\"],[[8025,8025],\"mapped\",[8017]],[[8026,8026],\"disallowed\"],[[8027,8027],\"mapped\",[8019]],[[8028,8028],\"disallowed\"],[[8029,8029],\"mapped\",[8021]],[[8030,8030],\"disallowed\"],[[8031,8031],\"mapped\",[8023]],[[8032,8039],\"valid\"],[[8040,8040],\"mapped\",[8032]],[[8041,8041],\"mapped\",[8033]],[[8042,8042],\"mapped\",[8034]],[[8043,8043],\"mapped\",[8035]],[[8044,8044],\"mapped\",[8036]],[[8045,8045],\"mapped\",[8037]],[[8046,8046],\"mapped\",[8038]],[[8047,8047],\"mapped\",[8039]],[[8048,8048],\"valid\"],[[8049,8049],\"mapped\",[940]],[[8050,8050],\"valid\"],[[8051,8051],\"mapped\",[941]],[[8052,8052],\"valid\"],[[8053,8053],\"mapped\",[942]],[[8054,8054],\"valid\"],[[8055,8055],\"mapped\",[943]],[[8056,8056],\"valid\"],[[8057,8057],\"mapped\",[972]],[[8058,8058],\"valid\"],[[8059,8059],\"mapped\",[973]],[[8060,8060],\"valid\"],[[8061,8061],\"mapped\",[974]],[[8062,8063],\"disallowed\"],[[8064,8064],\"mapped\",[7936,953]],[[8065,8065],\"mapped\",[7937,953]],[[8066,8066],\"mapped\",[7938,953]],[[8067,8067],\"mapped\",[7939,953]],[[8068,8068],\"mapped\",[7940,953]],[[8069,8069],\"mapped\",[7941,953]],[[8070,8070],\"mapped\",[7942,953]],[[8071,8071],\"mapped\",[7943,953]],[[8072,8072],\"mapped\",[7936,953]],[[8073,8073],\"mapped\",[7937,953]],[[8074,8074],\"mapped\",[7938,953]],[[8075,8075],\"mapped\",[7939,953]],[[8076,8076],\"mapped\",[7940,953]],[[8077,8077],\"mapped\",[7941,953]],[[8078,8078],\"mapped\",[7942,953]],[[8079,8079],\"mapped\",[7943,953]],[[8080,8080],\"mapped\",[7968,953]],[[8081,8081],\"mapped\",[7969,953]],[[8082,8082],\"mapped\",[7970,953]],[[8083,8083],\"mapped\",[7971,953]],[[8084,8084],\"mapped\",[7972,953]],[[8085,8085],\"mapped\",[7973,953]],[[8086,8086],\"mapped\",[7974,953]],[[8087,8087],\"mapped\",[7975,953]],[[8088,8088],\"mapped\",[7968,953]],[[8089,8089],\"mapped\",[7969,953]],[[8090,8090],\"mapped\",[7970,953]],[[8091,8091],\"mapped\",[7971,953]],[[8092,8092],\"mapped\",[7972,953]],[[8093,8093],\"mapped\",[7973,953]],[[8094,8094],\"mapped\",[7974,953]],[[8095,8095],\"mapped\",[7975,953]],[[8096,8096],\"mapped\",[8032,953]],[[8097,8097],\"mapped\",[8033,953]],[[8098,8098],\"mapped\",[8034,953]],[[8099,8099],\"mapped\",[8035,953]],[[8100,8100],\"mapped\",[8036,953]],[[8101,8101],\"mapped\",[8037,953]],[[8102,8102],\"mapped\",[8038,953]],[[8103,8103],\"mapped\",[8039,953]],[[8104,8104],\"mapped\",[8032,953]],[[8105,8105],\"mapped\",[8033,953]],[[8106,8106],\"mapped\",[8034,953]],[[8107,8107],\"mapped\",[8035,953]],[[8108,8108],\"mapped\",[8036,953]],[[8109,8109],\"mapped\",[8037,953]],[[8110,8110],\"mapped\",[8038,953]],[[8111,8111],\"mapped\",[8039,953]],[[8112,8113],\"valid\"],[[8114,8114],\"mapped\",[8048,953]],[[8115,8115],\"mapped\",[945,953]],[[8116,8116],\"mapped\",[940,953]],[[8117,8117],\"disallowed\"],[[8118,8118],\"valid\"],[[8119,8119],\"mapped\",[8118,953]],[[8120,8120],\"mapped\",[8112]],[[8121,8121],\"mapped\",[8113]],[[8122,8122],\"mapped\",[8048]],[[8123,8123],\"mapped\",[940]],[[8124,8124],\"mapped\",[945,953]],[[8125,8125],\"disallowed_STD3_mapped\",[32,787]],[[8126,8126],\"mapped\",[953]],[[8127,8127],\"disallowed_STD3_mapped\",[32,787]],[[8128,8128],\"disallowed_STD3_mapped\",[32,834]],[[8129,8129],\"disallowed_STD3_mapped\",[32,776,834]],[[8130,8130],\"mapped\",[8052,953]],[[8131,8131],\"mapped\",[951,953]],[[8132,8132],\"mapped\",[942,953]],[[8133,8133],\"disallowed\"],[[8134,8134],\"valid\"],[[8135,8135],\"mapped\",[8134,953]],[[8136,8136],\"mapped\",[8050]],[[8137,8137],\"mapped\",[941]],[[8138,8138],\"mapped\",[8052]],[[8139,8139],\"mapped\",[942]],[[8140,8140],\"mapped\",[951,953]],[[8141,8141],\"disallowed_STD3_mapped\",[32,787,768]],[[8142,8142],\"disallowed_STD3_mapped\",[32,787,769]],[[8143,8143],\"disallowed_STD3_mapped\",[32,787,834]],[[8144,8146],\"valid\"],[[8147,8147],\"mapped\",[912]],[[8148,8149],\"disallowed\"],[[8150,8151],\"valid\"],[[8152,8152],\"mapped\",[8144]],[[8153,8153],\"mapped\",[8145]],[[8154,8154],\"mapped\",[8054]],[[8155,8155],\"mapped\",[943]],[[8156,8156],\"disallowed\"],[[8157,8157],\"disallowed_STD3_mapped\",[32,788,768]],[[8158,8158],\"disallowed_STD3_mapped\",[32,788,769]],[[8159,8159],\"disallowed_STD3_mapped\",[32,788,834]],[[8160,8162],\"valid\"],[[8163,8163],\"mapped\",[944]],[[8164,8167],\"valid\"],[[8168,8168],\"mapped\",[8160]],[[8169,8169],\"mapped\",[8161]],[[8170,8170],\"mapped\",[8058]],[[8171,8171],\"mapped\",[973]],[[8172,8172],\"mapped\",[8165]],[[8173,8173],\"disallowed_STD3_mapped\",[32,776,768]],[[8174,8174],\"disallowed_STD3_mapped\",[32,776,769]],[[8175,8175],\"disallowed_STD3_mapped\",[96]],[[8176,8177],\"disallowed\"],[[8178,8178],\"mapped\",[8060,953]],[[8179,8179],\"mapped\",[969,953]],[[8180,8180],\"mapped\",[974,953]],[[8181,8181],\"disallowed\"],[[8182,8182],\"valid\"],[[8183,8183],\"mapped\",[8182,953]],[[8184,8184],\"mapped\",[8056]],[[8185,8185],\"mapped\",[972]],[[8186,8186],\"mapped\",[8060]],[[8187,8187],\"mapped\",[974]],[[8188,8188],\"mapped\",[969,953]],[[8189,8189],\"disallowed_STD3_mapped\",[32,769]],[[8190,8190],\"disallowed_STD3_mapped\",[32,788]],[[8191,8191],\"disallowed\"],[[8192,8202],\"disallowed_STD3_mapped\",[32]],[[8203,8203],\"ignored\"],[[8204,8205],\"deviation\",[]],[[8206,8207],\"disallowed\"],[[8208,8208],\"valid\",[],\"NV8\"],[[8209,8209],\"mapped\",[8208]],[[8210,8214],\"valid\",[],\"NV8\"],[[8215,8215],\"disallowed_STD3_mapped\",[32,819]],[[8216,8227],\"valid\",[],\"NV8\"],[[8228,8230],\"disallowed\"],[[8231,8231],\"valid\",[],\"NV8\"],[[8232,8238],\"disallowed\"],[[8239,8239],\"disallowed_STD3_mapped\",[32]],[[8240,8242],\"valid\",[],\"NV8\"],[[8243,8243],\"mapped\",[8242,8242]],[[8244,8244],\"mapped\",[8242,8242,8242]],[[8245,8245],\"valid\",[],\"NV8\"],[[8246,8246],\"mapped\",[8245,8245]],[[8247,8247],\"mapped\",[8245,8245,8245]],[[8248,8251],\"valid\",[],\"NV8\"],[[8252,8252],\"disallowed_STD3_mapped\",[33,33]],[[8253,8253],\"valid\",[],\"NV8\"],[[8254,8254],\"disallowed_STD3_mapped\",[32,773]],[[8255,8262],\"valid\",[],\"NV8\"],[[8263,8263],\"disallowed_STD3_mapped\",[63,63]],[[8264,8264],\"disallowed_STD3_mapped\",[63,33]],[[8265,8265],\"disallowed_STD3_mapped\",[33,63]],[[8266,8269],\"valid\",[],\"NV8\"],[[8270,8274],\"valid\",[],\"NV8\"],[[8275,8276],\"valid\",[],\"NV8\"],[[8277,8278],\"valid\",[],\"NV8\"],[[8279,8279],\"mapped\",[8242,8242,8242,8242]],[[8280,8286],\"valid\",[],\"NV8\"],[[8287,8287],\"disallowed_STD3_mapped\",[32]],[[8288,8288],\"ignored\"],[[8289,8291],\"disallowed\"],[[8292,8292],\"ignored\"],[[8293,8293],\"disallowed\"],[[8294,8297],\"disallowed\"],[[8298,8303],\"disallowed\"],[[8304,8304],\"mapped\",[48]],[[8305,8305],\"mapped\",[105]],[[8306,8307],\"disallowed\"],[[8308,8308],\"mapped\",[52]],[[8309,8309],\"mapped\",[53]],[[8310,8310],\"mapped\",[54]],[[8311,8311],\"mapped\",[55]],[[8312,8312],\"mapped\",[56]],[[8313,8313],\"mapped\",[57]],[[8314,8314],\"disallowed_STD3_mapped\",[43]],[[8315,8315],\"mapped\",[8722]],[[8316,8316],\"disallowed_STD3_mapped\",[61]],[[8317,8317],\"disallowed_STD3_mapped\",[40]],[[8318,8318],\"disallowed_STD3_mapped\",[41]],[[8319,8319],\"mapped\",[110]],[[8320,8320],\"mapped\",[48]],[[8321,8321],\"mapped\",[49]],[[8322,8322],\"mapped\",[50]],[[8323,8323],\"mapped\",[51]],[[8324,8324],\"mapped\",[52]],[[8325,8325],\"mapped\",[53]],[[8326,8326],\"mapped\",[54]],[[8327,8327],\"mapped\",[55]],[[8328,8328],\"mapped\",[56]],[[8329,8329],\"mapped\",[57]],[[8330,8330],\"disallowed_STD3_mapped\",[43]],[[8331,8331],\"mapped\",[8722]],[[8332,8332],\"disallowed_STD3_mapped\",[61]],[[8333,8333],\"disallowed_STD3_mapped\",[40]],[[8334,8334],\"disallowed_STD3_mapped\",[41]],[[8335,8335],\"disallowed\"],[[8336,8336],\"mapped\",[97]],[[8337,8337],\"mapped\",[101]],[[8338,8338],\"mapped\",[111]],[[8339,8339],\"mapped\",[120]],[[8340,8340],\"mapped\",[601]],[[8341,8341],\"mapped\",[104]],[[8342,8342],\"mapped\",[107]],[[8343,8343],\"mapped\",[108]],[[8344,8344],\"mapped\",[109]],[[8345,8345],\"mapped\",[110]],[[8346,8346],\"mapped\",[112]],[[8347,8347],\"mapped\",[115]],[[8348,8348],\"mapped\",[116]],[[8349,8351],\"disallowed\"],[[8352,8359],\"valid\",[],\"NV8\"],[[8360,8360],\"mapped\",[114,115]],[[8361,8362],\"valid\",[],\"NV8\"],[[8363,8363],\"valid\",[],\"NV8\"],[[8364,8364],\"valid\",[],\"NV8\"],[[8365,8367],\"valid\",[],\"NV8\"],[[8368,8369],\"valid\",[],\"NV8\"],[[8370,8373],\"valid\",[],\"NV8\"],[[8374,8376],\"valid\",[],\"NV8\"],[[8377,8377],\"valid\",[],\"NV8\"],[[8378,8378],\"valid\",[],\"NV8\"],[[8379,8381],\"valid\",[],\"NV8\"],[[8382,8382],\"valid\",[],\"NV8\"],[[8383,8399],\"disallowed\"],[[8400,8417],\"valid\",[],\"NV8\"],[[8418,8419],\"valid\",[],\"NV8\"],[[8420,8426],\"valid\",[],\"NV8\"],[[8427,8427],\"valid\",[],\"NV8\"],[[8428,8431],\"valid\",[],\"NV8\"],[[8432,8432],\"valid\",[],\"NV8\"],[[8433,8447],\"disallowed\"],[[8448,8448],\"disallowed_STD3_mapped\",[97,47,99]],[[8449,8449],\"disallowed_STD3_mapped\",[97,47,115]],[[8450,8450],\"mapped\",[99]],[[8451,8451],\"mapped\",[176,99]],[[8452,8452],\"valid\",[],\"NV8\"],[[8453,8453],\"disallowed_STD3_mapped\",[99,47,111]],[[8454,8454],\"disallowed_STD3_mapped\",[99,47,117]],[[8455,8455],\"mapped\",[603]],[[8456,8456],\"valid\",[],\"NV8\"],[[8457,8457],\"mapped\",[176,102]],[[8458,8458],\"mapped\",[103]],[[8459,8462],\"mapped\",[104]],[[8463,8463],\"mapped\",[295]],[[8464,8465],\"mapped\",[105]],[[8466,8467],\"mapped\",[108]],[[8468,8468],\"valid\",[],\"NV8\"],[[8469,8469],\"mapped\",[110]],[[8470,8470],\"mapped\",[110,111]],[[8471,8472],\"valid\",[],\"NV8\"],[[8473,8473],\"mapped\",[112]],[[8474,8474],\"mapped\",[113]],[[8475,8477],\"mapped\",[114]],[[8478,8479],\"valid\",[],\"NV8\"],[[8480,8480],\"mapped\",[115,109]],[[8481,8481],\"mapped\",[116,101,108]],[[8482,8482],\"mapped\",[116,109]],[[8483,8483],\"valid\",[],\"NV8\"],[[8484,8484],\"mapped\",[122]],[[8485,8485],\"valid\",[],\"NV8\"],[[8486,8486],\"mapped\",[969]],[[8487,8487],\"valid\",[],\"NV8\"],[[8488,8488],\"mapped\",[122]],[[8489,8489],\"valid\",[],\"NV8\"],[[8490,8490],\"mapped\",[107]],[[8491,8491],\"mapped\",[229]],[[8492,8492],\"mapped\",[98]],[[8493,8493],\"mapped\",[99]],[[8494,8494],\"valid\",[],\"NV8\"],[[8495,8496],\"mapped\",[101]],[[8497,8497],\"mapped\",[102]],[[8498,8498],\"disallowed\"],[[8499,8499],\"mapped\",[109]],[[8500,8500],\"mapped\",[111]],[[8501,8501],\"mapped\",[1488]],[[8502,8502],\"mapped\",[1489]],[[8503,8503],\"mapped\",[1490]],[[8504,8504],\"mapped\",[1491]],[[8505,8505],\"mapped\",[105]],[[8506,8506],\"valid\",[],\"NV8\"],[[8507,8507],\"mapped\",[102,97,120]],[[8508,8508],\"mapped\",[960]],[[8509,8510],\"mapped\",[947]],[[8511,8511],\"mapped\",[960]],[[8512,8512],\"mapped\",[8721]],[[8513,8516],\"valid\",[],\"NV8\"],[[8517,8518],\"mapped\",[100]],[[8519,8519],\"mapped\",[101]],[[8520,8520],\"mapped\",[105]],[[8521,8521],\"mapped\",[106]],[[8522,8523],\"valid\",[],\"NV8\"],[[8524,8524],\"valid\",[],\"NV8\"],[[8525,8525],\"valid\",[],\"NV8\"],[[8526,8526],\"valid\"],[[8527,8527],\"valid\",[],\"NV8\"],[[8528,8528],\"mapped\",[49,8260,55]],[[8529,8529],\"mapped\",[49,8260,57]],[[8530,8530],\"mapped\",[49,8260,49,48]],[[8531,8531],\"mapped\",[49,8260,51]],[[8532,8532],\"mapped\",[50,8260,51]],[[8533,8533],\"mapped\",[49,8260,53]],[[8534,8534],\"mapped\",[50,8260,53]],[[8535,8535],\"mapped\",[51,8260,53]],[[8536,8536],\"mapped\",[52,8260,53]],[[8537,8537],\"mapped\",[49,8260,54]],[[8538,8538],\"mapped\",[53,8260,54]],[[8539,8539],\"mapped\",[49,8260,56]],[[8540,8540],\"mapped\",[51,8260,56]],[[8541,8541],\"mapped\",[53,8260,56]],[[8542,8542],\"mapped\",[55,8260,56]],[[8543,8543],\"mapped\",[49,8260]],[[8544,8544],\"mapped\",[105]],[[8545,8545],\"mapped\",[105,105]],[[8546,8546],\"mapped\",[105,105,105]],[[8547,8547],\"mapped\",[105,118]],[[8548,8548],\"mapped\",[118]],[[8549,8549],\"mapped\",[118,105]],[[8550,8550],\"mapped\",[118,105,105]],[[8551,8551],\"mapped\",[118,105,105,105]],[[8552,8552],\"mapped\",[105,120]],[[8553,8553],\"mapped\",[120]],[[8554,8554],\"mapped\",[120,105]],[[8555,8555],\"mapped\",[120,105,105]],[[8556,8556],\"mapped\",[108]],[[8557,8557],\"mapped\",[99]],[[8558,8558],\"mapped\",[100]],[[8559,8559],\"mapped\",[109]],[[8560,8560],\"mapped\",[105]],[[8561,8561],\"mapped\",[105,105]],[[8562,8562],\"mapped\",[105,105,105]],[[8563,8563],\"mapped\",[105,118]],[[8564,8564],\"mapped\",[118]],[[8565,8565],\"mapped\",[118,105]],[[8566,8566],\"mapped\",[118,105,105]],[[8567,8567],\"mapped\",[118,105,105,105]],[[8568,8568],\"mapped\",[105,120]],[[8569,8569],\"mapped\",[120]],[[8570,8570],\"mapped\",[120,105]],[[8571,8571],\"mapped\",[120,105,105]],[[8572,8572],\"mapped\",[108]],[[8573,8573],\"mapped\",[99]],[[8574,8574],\"mapped\",[100]],[[8575,8575],\"mapped\",[109]],[[8576,8578],\"valid\",[],\"NV8\"],[[8579,8579],\"disallowed\"],[[8580,8580],\"valid\"],[[8581,8584],\"valid\",[],\"NV8\"],[[8585,8585],\"mapped\",[48,8260,51]],[[8586,8587],\"valid\",[],\"NV8\"],[[8588,8591],\"disallowed\"],[[8592,8682],\"valid\",[],\"NV8\"],[[8683,8691],\"valid\",[],\"NV8\"],[[8692,8703],\"valid\",[],\"NV8\"],[[8704,8747],\"valid\",[],\"NV8\"],[[8748,8748],\"mapped\",[8747,8747]],[[8749,8749],\"mapped\",[8747,8747,8747]],[[8750,8750],\"valid\",[],\"NV8\"],[[8751,8751],\"mapped\",[8750,8750]],[[8752,8752],\"mapped\",[8750,8750,8750]],[[8753,8799],\"valid\",[],\"NV8\"],[[8800,8800],\"disallowed_STD3_valid\"],[[8801,8813],\"valid\",[],\"NV8\"],[[8814,8815],\"disallowed_STD3_valid\"],[[8816,8945],\"valid\",[],\"NV8\"],[[8946,8959],\"valid\",[],\"NV8\"],[[8960,8960],\"valid\",[],\"NV8\"],[[8961,8961],\"valid\",[],\"NV8\"],[[8962,9000],\"valid\",[],\"NV8\"],[[9001,9001],\"mapped\",[12296]],[[9002,9002],\"mapped\",[12297]],[[9003,9082],\"valid\",[],\"NV8\"],[[9083,9083],\"valid\",[],\"NV8\"],[[9084,9084],\"valid\",[],\"NV8\"],[[9085,9114],\"valid\",[],\"NV8\"],[[9115,9166],\"valid\",[],\"NV8\"],[[9167,9168],\"valid\",[],\"NV8\"],[[9169,9179],\"valid\",[],\"NV8\"],[[9180,9191],\"valid\",[],\"NV8\"],[[9192,9192],\"valid\",[],\"NV8\"],[[9193,9203],\"valid\",[],\"NV8\"],[[9204,9210],\"valid\",[],\"NV8\"],[[9211,9215],\"disallowed\"],[[9216,9252],\"valid\",[],\"NV8\"],[[9253,9254],\"valid\",[],\"NV8\"],[[9255,9279],\"disallowed\"],[[9280,9290],\"valid\",[],\"NV8\"],[[9291,9311],\"disallowed\"],[[9312,9312],\"mapped\",[49]],[[9313,9313],\"mapped\",[50]],[[9314,9314],\"mapped\",[51]],[[9315,9315],\"mapped\",[52]],[[9316,9316],\"mapped\",[53]],[[9317,9317],\"mapped\",[54]],[[9318,9318],\"mapped\",[55]],[[9319,9319],\"mapped\",[56]],[[9320,9320],\"mapped\",[57]],[[9321,9321],\"mapped\",[49,48]],[[9322,9322],\"mapped\",[49,49]],[[9323,9323],\"mapped\",[49,50]],[[9324,9324],\"mapped\",[49,51]],[[9325,9325],\"mapped\",[49,52]],[[9326,9326],\"mapped\",[49,53]],[[9327,9327],\"mapped\",[49,54]],[[9328,9328],\"mapped\",[49,55]],[[9329,9329],\"mapped\",[49,56]],[[9330,9330],\"mapped\",[49,57]],[[9331,9331],\"mapped\",[50,48]],[[9332,9332],\"disallowed_STD3_mapped\",[40,49,41]],[[9333,9333],\"disallowed_STD3_mapped\",[40,50,41]],[[9334,9334],\"disallowed_STD3_mapped\",[40,51,41]],[[9335,9335],\"disallowed_STD3_mapped\",[40,52,41]],[[9336,9336],\"disallowed_STD3_mapped\",[40,53,41]],[[9337,9337],\"disallowed_STD3_mapped\",[40,54,41]],[[9338,9338],\"disallowed_STD3_mapped\",[40,55,41]],[[9339,9339],\"disallowed_STD3_mapped\",[40,56,41]],[[9340,9340],\"disallowed_STD3_mapped\",[40,57,41]],[[9341,9341],\"disallowed_STD3_mapped\",[40,49,48,41]],[[9342,9342],\"disallowed_STD3_mapped\",[40,49,49,41]],[[9343,9343],\"disallowed_STD3_mapped\",[40,49,50,41]],[[9344,9344],\"disallowed_STD3_mapped\",[40,49,51,41]],[[9345,9345],\"disallowed_STD3_mapped\",[40,49,52,41]],[[9346,9346],\"disallowed_STD3_mapped\",[40,49,53,41]],[[9347,9347],\"disallowed_STD3_mapped\",[40,49,54,41]],[[9348,9348],\"disallowed_STD3_mapped\",[40,49,55,41]],[[9349,9349],\"disallowed_STD3_mapped\",[40,49,56,41]],[[9350,9350],\"disallowed_STD3_mapped\",[40,49,57,41]],[[9351,9351],\"disallowed_STD3_mapped\",[40,50,48,41]],[[9352,9371],\"disallowed\"],[[9372,9372],\"disallowed_STD3_mapped\",[40,97,41]],[[9373,9373],\"disallowed_STD3_mapped\",[40,98,41]],[[9374,9374],\"disallowed_STD3_mapped\",[40,99,41]],[[9375,9375],\"disallowed_STD3_mapped\",[40,100,41]],[[9376,9376],\"disallowed_STD3_mapped\",[40,101,41]],[[9377,9377],\"disallowed_STD3_mapped\",[40,102,41]],[[9378,9378],\"disallowed_STD3_mapped\",[40,103,41]],[[9379,9379],\"disallowed_STD3_mapped\",[40,104,41]],[[9380,9380],\"disallowed_STD3_mapped\",[40,105,41]],[[9381,9381],\"disallowed_STD3_mapped\",[40,106,41]],[[9382,9382],\"disallowed_STD3_mapped\",[40,107,41]],[[9383,9383],\"disallowed_STD3_mapped\",[40,108,41]],[[9384,9384],\"disallowed_STD3_mapped\",[40,109,41]],[[9385,9385],\"disallowed_STD3_mapped\",[40,110,41]],[[9386,9386],\"disallowed_STD3_mapped\",[40,111,41]],[[9387,9387],\"disallowed_STD3_mapped\",[40,112,41]],[[9388,9388],\"disallowed_STD3_mapped\",[40,113,41]],[[9389,9389],\"disallowed_STD3_mapped\",[40,114,41]],[[9390,9390],\"disallowed_STD3_mapped\",[40,115,41]],[[9391,9391],\"disallowed_STD3_mapped\",[40,116,41]],[[9392,9392],\"disallowed_STD3_mapped\",[40,117,41]],[[9393,9393],\"disallowed_STD3_mapped\",[40,118,41]],[[9394,9394],\"disallowed_STD3_mapped\",[40,119,41]],[[9395,9395],\"disallowed_STD3_mapped\",[40,120,41]],[[9396,9396],\"disallowed_STD3_mapped\",[40,121,41]],[[9397,9397],\"disallowed_STD3_mapped\",[40,122,41]],[[9398,9398],\"mapped\",[97]],[[9399,9399],\"mapped\",[98]],[[9400,9400],\"mapped\",[99]],[[9401,9401],\"mapped\",[100]],[[9402,9402],\"mapped\",[101]],[[9403,9403],\"mapped\",[102]],[[9404,9404],\"mapped\",[103]],[[9405,9405],\"mapped\",[104]],[[9406,9406],\"mapped\",[105]],[[9407,9407],\"mapped\",[106]],[[9408,9408],\"mapped\",[107]],[[9409,9409],\"mapped\",[108]],[[9410,9410],\"mapped\",[109]],[[9411,9411],\"mapped\",[110]],[[9412,9412],\"mapped\",[111]],[[9413,9413],\"mapped\",[112]],[[9414,9414],\"mapped\",[113]],[[9415,9415],\"mapped\",[114]],[[9416,9416],\"mapped\",[115]],[[9417,9417],\"mapped\",[116]],[[9418,9418],\"mapped\",[117]],[[9419,9419],\"mapped\",[118]],[[9420,9420],\"mapped\",[119]],[[9421,9421],\"mapped\",[120]],[[9422,9422],\"mapped\",[121]],[[9423,9423],\"mapped\",[122]],[[9424,9424],\"mapped\",[97]],[[9425,9425],\"mapped\",[98]],[[9426,9426],\"mapped\",[99]],[[9427,9427],\"mapped\",[100]],[[9428,9428],\"mapped\",[101]],[[9429,9429],\"mapped\",[102]],[[9430,9430],\"mapped\",[103]],[[9431,9431],\"mapped\",[104]],[[9432,9432],\"mapped\",[105]],[[9433,9433],\"mapped\",[106]],[[9434,9434],\"mapped\",[107]],[[9435,9435],\"mapped\",[108]],[[9436,9436],\"mapped\",[109]],[[9437,9437],\"mapped\",[110]],[[9438,9438],\"mapped\",[111]],[[9439,9439],\"mapped\",[112]],[[9440,9440],\"mapped\",[113]],[[9441,9441],\"mapped\",[114]],[[9442,9442],\"mapped\",[115]],[[9443,9443],\"mapped\",[116]],[[9444,9444],\"mapped\",[117]],[[9445,9445],\"mapped\",[118]],[[9446,9446],\"mapped\",[119]],[[9447,9447],\"mapped\",[120]],[[9448,9448],\"mapped\",[121]],[[9449,9449],\"mapped\",[122]],[[9450,9450],\"mapped\",[48]],[[9451,9470],\"valid\",[],\"NV8\"],[[9471,9471],\"valid\",[],\"NV8\"],[[9472,9621],\"valid\",[],\"NV8\"],[[9622,9631],\"valid\",[],\"NV8\"],[[9632,9711],\"valid\",[],\"NV8\"],[[9712,9719],\"valid\",[],\"NV8\"],[[9720,9727],\"valid\",[],\"NV8\"],[[9728,9747],\"valid\",[],\"NV8\"],[[9748,9749],\"valid\",[],\"NV8\"],[[9750,9751],\"valid\",[],\"NV8\"],[[9752,9752],\"valid\",[],\"NV8\"],[[9753,9753],\"valid\",[],\"NV8\"],[[9754,9839],\"valid\",[],\"NV8\"],[[9840,9841],\"valid\",[],\"NV8\"],[[9842,9853],\"valid\",[],\"NV8\"],[[9854,9855],\"valid\",[],\"NV8\"],[[9856,9865],\"valid\",[],\"NV8\"],[[9866,9873],\"valid\",[],\"NV8\"],[[9874,9884],\"valid\",[],\"NV8\"],[[9885,9885],\"valid\",[],\"NV8\"],[[9886,9887],\"valid\",[],\"NV8\"],[[9888,9889],\"valid\",[],\"NV8\"],[[9890,9905],\"valid\",[],\"NV8\"],[[9906,9906],\"valid\",[],\"NV8\"],[[9907,9916],\"valid\",[],\"NV8\"],[[9917,9919],\"valid\",[],\"NV8\"],[[9920,9923],\"valid\",[],\"NV8\"],[[9924,9933],\"valid\",[],\"NV8\"],[[9934,9934],\"valid\",[],\"NV8\"],[[9935,9953],\"valid\",[],\"NV8\"],[[9954,9954],\"valid\",[],\"NV8\"],[[9955,9955],\"valid\",[],\"NV8\"],[[9956,9959],\"valid\",[],\"NV8\"],[[9960,9983],\"valid\",[],\"NV8\"],[[9984,9984],\"valid\",[],\"NV8\"],[[9985,9988],\"valid\",[],\"NV8\"],[[9989,9989],\"valid\",[],\"NV8\"],[[9990,9993],\"valid\",[],\"NV8\"],[[9994,9995],\"valid\",[],\"NV8\"],[[9996,10023],\"valid\",[],\"NV8\"],[[10024,10024],\"valid\",[],\"NV8\"],[[10025,10059],\"valid\",[],\"NV8\"],[[10060,10060],\"valid\",[],\"NV8\"],[[10061,10061],\"valid\",[],\"NV8\"],[[10062,10062],\"valid\",[],\"NV8\"],[[10063,10066],\"valid\",[],\"NV8\"],[[10067,10069],\"valid\",[],\"NV8\"],[[10070,10070],\"valid\",[],\"NV8\"],[[10071,10071],\"valid\",[],\"NV8\"],[[10072,10078],\"valid\",[],\"NV8\"],[[10079,10080],\"valid\",[],\"NV8\"],[[10081,10087],\"valid\",[],\"NV8\"],[[10088,10101],\"valid\",[],\"NV8\"],[[10102,10132],\"valid\",[],\"NV8\"],[[10133,10135],\"valid\",[],\"NV8\"],[[10136,10159],\"valid\",[],\"NV8\"],[[10160,10160],\"valid\",[],\"NV8\"],[[10161,10174],\"valid\",[],\"NV8\"],[[10175,10175],\"valid\",[],\"NV8\"],[[10176,10182],\"valid\",[],\"NV8\"],[[10183,10186],\"valid\",[],\"NV8\"],[[10187,10187],\"valid\",[],\"NV8\"],[[10188,10188],\"valid\",[],\"NV8\"],[[10189,10189],\"valid\",[],\"NV8\"],[[10190,10191],\"valid\",[],\"NV8\"],[[10192,10219],\"valid\",[],\"NV8\"],[[10220,10223],\"valid\",[],\"NV8\"],[[10224,10239],\"valid\",[],\"NV8\"],[[10240,10495],\"valid\",[],\"NV8\"],[[10496,10763],\"valid\",[],\"NV8\"],[[10764,10764],\"mapped\",[8747,8747,8747,8747]],[[10765,10867],\"valid\",[],\"NV8\"],[[10868,10868],\"disallowed_STD3_mapped\",[58,58,61]],[[10869,10869],\"disallowed_STD3_mapped\",[61,61]],[[10870,10870],\"disallowed_STD3_mapped\",[61,61,61]],[[10871,10971],\"valid\",[],\"NV8\"],[[10972,10972],\"mapped\",[10973,824]],[[10973,11007],\"valid\",[],\"NV8\"],[[11008,11021],\"valid\",[],\"NV8\"],[[11022,11027],\"valid\",[],\"NV8\"],[[11028,11034],\"valid\",[],\"NV8\"],[[11035,11039],\"valid\",[],\"NV8\"],[[11040,11043],\"valid\",[],\"NV8\"],[[11044,11084],\"valid\",[],\"NV8\"],[[11085,11087],\"valid\",[],\"NV8\"],[[11088,11092],\"valid\",[],\"NV8\"],[[11093,11097],\"valid\",[],\"NV8\"],[[11098,11123],\"valid\",[],\"NV8\"],[[11124,11125],\"disallowed\"],[[11126,11157],\"valid\",[],\"NV8\"],[[11158,11159],\"disallowed\"],[[11160,11193],\"valid\",[],\"NV8\"],[[11194,11196],\"disallowed\"],[[11197,11208],\"valid\",[],\"NV8\"],[[11209,11209],\"disallowed\"],[[11210,11217],\"valid\",[],\"NV8\"],[[11218,11243],\"disallowed\"],[[11244,11247],\"valid\",[],\"NV8\"],[[11248,11263],\"disallowed\"],[[11264,11264],\"mapped\",[11312]],[[11265,11265],\"mapped\",[11313]],[[11266,11266],\"mapped\",[11314]],[[11267,11267],\"mapped\",[11315]],[[11268,11268],\"mapped\",[11316]],[[11269,11269],\"mapped\",[11317]],[[11270,11270],\"mapped\",[11318]],[[11271,11271],\"mapped\",[11319]],[[11272,11272],\"mapped\",[11320]],[[11273,11273],\"mapped\",[11321]],[[11274,11274],\"mapped\",[11322]],[[11275,11275],\"mapped\",[11323]],[[11276,11276],\"mapped\",[11324]],[[11277,11277],\"mapped\",[11325]],[[11278,11278],\"mapped\",[11326]],[[11279,11279],\"mapped\",[11327]],[[11280,11280],\"mapped\",[11328]],[[11281,11281],\"mapped\",[11329]],[[11282,11282],\"mapped\",[11330]],[[11283,11283],\"mapped\",[11331]],[[11284,11284],\"mapped\",[11332]],[[11285,11285],\"mapped\",[11333]],[[11286,11286],\"mapped\",[11334]],[[11287,11287],\"mapped\",[11335]],[[11288,11288],\"mapped\",[11336]],[[11289,11289],\"mapped\",[11337]],[[11290,11290],\"mapped\",[11338]],[[11291,11291],\"mapped\",[11339]],[[11292,11292],\"mapped\",[11340]],[[11293,11293],\"mapped\",[11341]],[[11294,11294],\"mapped\",[11342]],[[11295,11295],\"mapped\",[11343]],[[11296,11296],\"mapped\",[11344]],[[11297,11297],\"mapped\",[11345]],[[11298,11298],\"mapped\",[11346]],[[11299,11299],\"mapped\",[11347]],[[11300,11300],\"mapped\",[11348]],[[11301,11301],\"mapped\",[11349]],[[11302,11302],\"mapped\",[11350]],[[11303,11303],\"mapped\",[11351]],[[11304,11304],\"mapped\",[11352]],[[11305,11305],\"mapped\",[11353]],[[11306,11306],\"mapped\",[11354]],[[11307,11307],\"mapped\",[11355]],[[11308,11308],\"mapped\",[11356]],[[11309,11309],\"mapped\",[11357]],[[11310,11310],\"mapped\",[11358]],[[11311,11311],\"disallowed\"],[[11312,11358],\"valid\"],[[11359,11359],\"disallowed\"],[[11360,11360],\"mapped\",[11361]],[[11361,11361],\"valid\"],[[11362,11362],\"mapped\",[619]],[[11363,11363],\"mapped\",[7549]],[[11364,11364],\"mapped\",[637]],[[11365,11366],\"valid\"],[[11367,11367],\"mapped\",[11368]],[[11368,11368],\"valid\"],[[11369,11369],\"mapped\",[11370]],[[11370,11370],\"valid\"],[[11371,11371],\"mapped\",[11372]],[[11372,11372],\"valid\"],[[11373,11373],\"mapped\",[593]],[[11374,11374],\"mapped\",[625]],[[11375,11375],\"mapped\",[592]],[[11376,11376],\"mapped\",[594]],[[11377,11377],\"valid\"],[[11378,11378],\"mapped\",[11379]],[[11379,11379],\"valid\"],[[11380,11380],\"valid\"],[[11381,11381],\"mapped\",[11382]],[[11382,11383],\"valid\"],[[11384,11387],\"valid\"],[[11388,11388],\"mapped\",[106]],[[11389,11389],\"mapped\",[118]],[[11390,11390],\"mapped\",[575]],[[11391,11391],\"mapped\",[576]],[[11392,11392],\"mapped\",[11393]],[[11393,11393],\"valid\"],[[11394,11394],\"mapped\",[11395]],[[11395,11395],\"valid\"],[[11396,11396],\"mapped\",[11397]],[[11397,11397],\"valid\"],[[11398,11398],\"mapped\",[11399]],[[11399,11399],\"valid\"],[[11400,11400],\"mapped\",[11401]],[[11401,11401],\"valid\"],[[11402,11402],\"mapped\",[11403]],[[11403,11403],\"valid\"],[[11404,11404],\"mapped\",[11405]],[[11405,11405],\"valid\"],[[11406,11406],\"mapped\",[11407]],[[11407,11407],\"valid\"],[[11408,11408],\"mapped\",[11409]],[[11409,11409],\"valid\"],[[11410,11410],\"mapped\",[11411]],[[11411,11411],\"valid\"],[[11412,11412],\"mapped\",[11413]],[[11413,11413],\"valid\"],[[11414,11414],\"mapped\",[11415]],[[11415,11415],\"valid\"],[[11416,11416],\"mapped\",[11417]],[[11417,11417],\"valid\"],[[11418,11418],\"mapped\",[11419]],[[11419,11419],\"valid\"],[[11420,11420],\"mapped\",[11421]],[[11421,11421],\"valid\"],[[11422,11422],\"mapped\",[11423]],[[11423,11423],\"valid\"],[[11424,11424],\"mapped\",[11425]],[[11425,11425],\"valid\"],[[11426,11426],\"mapped\",[11427]],[[11427,11427],\"valid\"],[[11428,11428],\"mapped\",[11429]],[[11429,11429],\"valid\"],[[11430,11430],\"mapped\",[11431]],[[11431,11431],\"valid\"],[[11432,11432],\"mapped\",[11433]],[[11433,11433],\"valid\"],[[11434,11434],\"mapped\",[11435]],[[11435,11435],\"valid\"],[[11436,11436],\"mapped\",[11437]],[[11437,11437],\"valid\"],[[11438,11438],\"mapped\",[11439]],[[11439,11439],\"valid\"],[[11440,11440],\"mapped\",[11441]],[[11441,11441],\"valid\"],[[11442,11442],\"mapped\",[11443]],[[11443,11443],\"valid\"],[[11444,11444],\"mapped\",[11445]],[[11445,11445],\"valid\"],[[11446,11446],\"mapped\",[11447]],[[11447,11447],\"valid\"],[[11448,11448],\"mapped\",[11449]],[[11449,11449],\"valid\"],[[11450,11450],\"mapped\",[11451]],[[11451,11451],\"valid\"],[[11452,11452],\"mapped\",[11453]],[[11453,11453],\"valid\"],[[11454,11454],\"mapped\",[11455]],[[11455,11455],\"valid\"],[[11456,11456],\"mapped\",[11457]],[[11457,11457],\"valid\"],[[11458,11458],\"mapped\",[11459]],[[11459,11459],\"valid\"],[[11460,11460],\"mapped\",[11461]],[[11461,11461],\"valid\"],[[11462,11462],\"mapped\",[11463]],[[11463,11463],\"valid\"],[[11464,11464],\"mapped\",[11465]],[[11465,11465],\"valid\"],[[11466,11466],\"mapped\",[11467]],[[11467,11467],\"valid\"],[[11468,11468],\"mapped\",[11469]],[[11469,11469],\"valid\"],[[11470,11470],\"mapped\",[11471]],[[11471,11471],\"valid\"],[[11472,11472],\"mapped\",[11473]],[[11473,11473],\"valid\"],[[11474,11474],\"mapped\",[11475]],[[11475,11475],\"valid\"],[[11476,11476],\"mapped\",[11477]],[[11477,11477],\"valid\"],[[11478,11478],\"mapped\",[11479]],[[11479,11479],\"valid\"],[[11480,11480],\"mapped\",[11481]],[[11481,11481],\"valid\"],[[11482,11482],\"mapped\",[11483]],[[11483,11483],\"valid\"],[[11484,11484],\"mapped\",[11485]],[[11485,11485],\"valid\"],[[11486,11486],\"mapped\",[11487]],[[11487,11487],\"valid\"],[[11488,11488],\"mapped\",[11489]],[[11489,11489],\"valid\"],[[11490,11490],\"mapped\",[11491]],[[11491,11492],\"valid\"],[[11493,11498],\"valid\",[],\"NV8\"],[[11499,11499],\"mapped\",[11500]],[[11500,11500],\"valid\"],[[11501,11501],\"mapped\",[11502]],[[11502,11505],\"valid\"],[[11506,11506],\"mapped\",[11507]],[[11507,11507],\"valid\"],[[11508,11512],\"disallowed\"],[[11513,11519],\"valid\",[],\"NV8\"],[[11520,11557],\"valid\"],[[11558,11558],\"disallowed\"],[[11559,11559],\"valid\"],[[11560,11564],\"disallowed\"],[[11565,11565],\"valid\"],[[11566,11567],\"disallowed\"],[[11568,11621],\"valid\"],[[11622,11623],\"valid\"],[[11624,11630],\"disallowed\"],[[11631,11631],\"mapped\",[11617]],[[11632,11632],\"valid\",[],\"NV8\"],[[11633,11646],\"disallowed\"],[[11647,11647],\"valid\"],[[11648,11670],\"valid\"],[[11671,11679],\"disallowed\"],[[11680,11686],\"valid\"],[[11687,11687],\"disallowed\"],[[11688,11694],\"valid\"],[[11695,11695],\"disallowed\"],[[11696,11702],\"valid\"],[[11703,11703],\"disallowed\"],[[11704,11710],\"valid\"],[[11711,11711],\"disallowed\"],[[11712,11718],\"valid\"],[[11719,11719],\"disallowed\"],[[11720,11726],\"valid\"],[[11727,11727],\"disallowed\"],[[11728,11734],\"valid\"],[[11735,11735],\"disallowed\"],[[11736,11742],\"valid\"],[[11743,11743],\"disallowed\"],[[11744,11775],\"valid\"],[[11776,11799],\"valid\",[],\"NV8\"],[[11800,11803],\"valid\",[],\"NV8\"],[[11804,11805],\"valid\",[],\"NV8\"],[[11806,11822],\"valid\",[],\"NV8\"],[[11823,11823],\"valid\"],[[11824,11824],\"valid\",[],\"NV8\"],[[11825,11825],\"valid\",[],\"NV8\"],[[11826,11835],\"valid\",[],\"NV8\"],[[11836,11842],\"valid\",[],\"NV8\"],[[11843,11903],\"disallowed\"],[[11904,11929],\"valid\",[],\"NV8\"],[[11930,11930],\"disallowed\"],[[11931,11934],\"valid\",[],\"NV8\"],[[11935,11935],\"mapped\",[27597]],[[11936,12018],\"valid\",[],\"NV8\"],[[12019,12019],\"mapped\",[40863]],[[12020,12031],\"disallowed\"],[[12032,12032],\"mapped\",[19968]],[[12033,12033],\"mapped\",[20008]],[[12034,12034],\"mapped\",[20022]],[[12035,12035],\"mapped\",[20031]],[[12036,12036],\"mapped\",[20057]],[[12037,12037],\"mapped\",[20101]],[[12038,12038],\"mapped\",[20108]],[[12039,12039],\"mapped\",[20128]],[[12040,12040],\"mapped\",[20154]],[[12041,12041],\"mapped\",[20799]],[[12042,12042],\"mapped\",[20837]],[[12043,12043],\"mapped\",[20843]],[[12044,12044],\"mapped\",[20866]],[[12045,12045],\"mapped\",[20886]],[[12046,12046],\"mapped\",[20907]],[[12047,12047],\"mapped\",[20960]],[[12048,12048],\"mapped\",[20981]],[[12049,12049],\"mapped\",[20992]],[[12050,12050],\"mapped\",[21147]],[[12051,12051],\"mapped\",[21241]],[[12052,12052],\"mapped\",[21269]],[[12053,12053],\"mapped\",[21274]],[[12054,12054],\"mapped\",[21304]],[[12055,12055],\"mapped\",[21313]],[[12056,12056],\"mapped\",[21340]],[[12057,12057],\"mapped\",[21353]],[[12058,12058],\"mapped\",[21378]],[[12059,12059],\"mapped\",[21430]],[[12060,12060],\"mapped\",[21448]],[[12061,12061],\"mapped\",[21475]],[[12062,12062],\"mapped\",[22231]],[[12063,12063],\"mapped\",[22303]],[[12064,12064],\"mapped\",[22763]],[[12065,12065],\"mapped\",[22786]],[[12066,12066],\"mapped\",[22794]],[[12067,12067],\"mapped\",[22805]],[[12068,12068],\"mapped\",[22823]],[[12069,12069],\"mapped\",[22899]],[[12070,12070],\"mapped\",[23376]],[[12071,12071],\"mapped\",[23424]],[[12072,12072],\"mapped\",[23544]],[[12073,12073],\"mapped\",[23567]],[[12074,12074],\"mapped\",[23586]],[[12075,12075],\"mapped\",[23608]],[[12076,12076],\"mapped\",[23662]],[[12077,12077],\"mapped\",[23665]],[[12078,12078],\"mapped\",[24027]],[[12079,12079],\"mapped\",[24037]],[[12080,12080],\"mapped\",[24049]],[[12081,12081],\"mapped\",[24062]],[[12082,12082],\"mapped\",[24178]],[[12083,12083],\"mapped\",[24186]],[[12084,12084],\"mapped\",[24191]],[[12085,12085],\"mapped\",[24308]],[[12086,12086],\"mapped\",[24318]],[[12087,12087],\"mapped\",[24331]],[[12088,12088],\"mapped\",[24339]],[[12089,12089],\"mapped\",[24400]],[[12090,12090],\"mapped\",[24417]],[[12091,12091],\"mapped\",[24435]],[[12092,12092],\"mapped\",[24515]],[[12093,12093],\"mapped\",[25096]],[[12094,12094],\"mapped\",[25142]],[[12095,12095],\"mapped\",[25163]],[[12096,12096],\"mapped\",[25903]],[[12097,12097],\"mapped\",[25908]],[[12098,12098],\"mapped\",[25991]],[[12099,12099],\"mapped\",[26007]],[[12100,12100],\"mapped\",[26020]],[[12101,12101],\"mapped\",[26041]],[[12102,12102],\"mapped\",[26080]],[[12103,12103],\"mapped\",[26085]],[[12104,12104],\"mapped\",[26352]],[[12105,12105],\"mapped\",[26376]],[[12106,12106],\"mapped\",[26408]],[[12107,12107],\"mapped\",[27424]],[[12108,12108],\"mapped\",[27490]],[[12109,12109],\"mapped\",[27513]],[[12110,12110],\"mapped\",[27571]],[[12111,12111],\"mapped\",[27595]],[[12112,12112],\"mapped\",[27604]],[[12113,12113],\"mapped\",[27611]],[[12114,12114],\"mapped\",[27663]],[[12115,12115],\"mapped\",[27668]],[[12116,12116],\"mapped\",[27700]],[[12117,12117],\"mapped\",[28779]],[[12118,12118],\"mapped\",[29226]],[[12119,12119],\"mapped\",[29238]],[[12120,12120],\"mapped\",[29243]],[[12121,12121],\"mapped\",[29247]],[[12122,12122],\"mapped\",[29255]],[[12123,12123],\"mapped\",[29273]],[[12124,12124],\"mapped\",[29275]],[[12125,12125],\"mapped\",[29356]],[[12126,12126],\"mapped\",[29572]],[[12127,12127],\"mapped\",[29577]],[[12128,12128],\"mapped\",[29916]],[[12129,12129],\"mapped\",[29926]],[[12130,12130],\"mapped\",[29976]],[[12131,12131],\"mapped\",[29983]],[[12132,12132],\"mapped\",[29992]],[[12133,12133],\"mapped\",[30000]],[[12134,12134],\"mapped\",[30091]],[[12135,12135],\"mapped\",[30098]],[[12136,12136],\"mapped\",[30326]],[[12137,12137],\"mapped\",[30333]],[[12138,12138],\"mapped\",[30382]],[[12139,12139],\"mapped\",[30399]],[[12140,12140],\"mapped\",[30446]],[[12141,12141],\"mapped\",[30683]],[[12142,12142],\"mapped\",[30690]],[[12143,12143],\"mapped\",[30707]],[[12144,12144],\"mapped\",[31034]],[[12145,12145],\"mapped\",[31160]],[[12146,12146],\"mapped\",[31166]],[[12147,12147],\"mapped\",[31348]],[[12148,12148],\"mapped\",[31435]],[[12149,12149],\"mapped\",[31481]],[[12150,12150],\"mapped\",[31859]],[[12151,12151],\"mapped\",[31992]],[[12152,12152],\"mapped\",[32566]],[[12153,12153],\"mapped\",[32593]],[[12154,12154],\"mapped\",[32650]],[[12155,12155],\"mapped\",[32701]],[[12156,12156],\"mapped\",[32769]],[[12157,12157],\"mapped\",[32780]],[[12158,12158],\"mapped\",[32786]],[[12159,12159],\"mapped\",[32819]],[[12160,12160],\"mapped\",[32895]],[[12161,12161],\"mapped\",[32905]],[[12162,12162],\"mapped\",[33251]],[[12163,12163],\"mapped\",[33258]],[[12164,12164],\"mapped\",[33267]],[[12165,12165],\"mapped\",[33276]],[[12166,12166],\"mapped\",[33292]],[[12167,12167],\"mapped\",[33307]],[[12168,12168],\"mapped\",[33311]],[[12169,12169],\"mapped\",[33390]],[[12170,12170],\"mapped\",[33394]],[[12171,12171],\"mapped\",[33400]],[[12172,12172],\"mapped\",[34381]],[[12173,12173],\"mapped\",[34411]],[[12174,12174],\"mapped\",[34880]],[[12175,12175],\"mapped\",[34892]],[[12176,12176],\"mapped\",[34915]],[[12177,12177],\"mapped\",[35198]],[[12178,12178],\"mapped\",[35211]],[[12179,12179],\"mapped\",[35282]],[[12180,12180],\"mapped\",[35328]],[[12181,12181],\"mapped\",[35895]],[[12182,12182],\"mapped\",[35910]],[[12183,12183],\"mapped\",[35925]],[[12184,12184],\"mapped\",[35960]],[[12185,12185],\"mapped\",[35997]],[[12186,12186],\"mapped\",[36196]],[[12187,12187],\"mapped\",[36208]],[[12188,12188],\"mapped\",[36275]],[[12189,12189],\"mapped\",[36523]],[[12190,12190],\"mapped\",[36554]],[[12191,12191],\"mapped\",[36763]],[[12192,12192],\"mapped\",[36784]],[[12193,12193],\"mapped\",[36789]],[[12194,12194],\"mapped\",[37009]],[[12195,12195],\"mapped\",[37193]],[[12196,12196],\"mapped\",[37318]],[[12197,12197],\"mapped\",[37324]],[[12198,12198],\"mapped\",[37329]],[[12199,12199],\"mapped\",[38263]],[[12200,12200],\"mapped\",[38272]],[[12201,12201],\"mapped\",[38428]],[[12202,12202],\"mapped\",[38582]],[[12203,12203],\"mapped\",[38585]],[[12204,12204],\"mapped\",[38632]],[[12205,12205],\"mapped\",[38737]],[[12206,12206],\"mapped\",[38750]],[[12207,12207],\"mapped\",[38754]],[[12208,12208],\"mapped\",[38761]],[[12209,12209],\"mapped\",[38859]],[[12210,12210],\"mapped\",[38893]],[[12211,12211],\"mapped\",[38899]],[[12212,12212],\"mapped\",[38913]],[[12213,12213],\"mapped\",[39080]],[[12214,12214],\"mapped\",[39131]],[[12215,12215],\"mapped\",[39135]],[[12216,12216],\"mapped\",[39318]],[[12217,12217],\"mapped\",[39321]],[[12218,12218],\"mapped\",[39340]],[[12219,12219],\"mapped\",[39592]],[[12220,12220],\"mapped\",[39640]],[[12221,12221],\"mapped\",[39647]],[[12222,12222],\"mapped\",[39717]],[[12223,12223],\"mapped\",[39727]],[[12224,12224],\"mapped\",[39730]],[[12225,12225],\"mapped\",[39740]],[[12226,12226],\"mapped\",[39770]],[[12227,12227],\"mapped\",[40165]],[[12228,12228],\"mapped\",[40565]],[[12229,12229],\"mapped\",[40575]],[[12230,12230],\"mapped\",[40613]],[[12231,12231],\"mapped\",[40635]],[[12232,12232],\"mapped\",[40643]],[[12233,12233],\"mapped\",[40653]],[[12234,12234],\"mapped\",[40657]],[[12235,12235],\"mapped\",[40697]],[[12236,12236],\"mapped\",[40701]],[[12237,12237],\"mapped\",[40718]],[[12238,12238],\"mapped\",[40723]],[[12239,12239],\"mapped\",[40736]],[[12240,12240],\"mapped\",[40763]],[[12241,12241],\"mapped\",[40778]],[[12242,12242],\"mapped\",[40786]],[[12243,12243],\"mapped\",[40845]],[[12244,12244],\"mapped\",[40860]],[[12245,12245],\"mapped\",[40864]],[[12246,12271],\"disallowed\"],[[12272,12283],\"disallowed\"],[[12284,12287],\"disallowed\"],[[12288,12288],\"disallowed_STD3_mapped\",[32]],[[12289,12289],\"valid\",[],\"NV8\"],[[12290,12290],\"mapped\",[46]],[[12291,12292],\"valid\",[],\"NV8\"],[[12293,12295],\"valid\"],[[12296,12329],\"valid\",[],\"NV8\"],[[12330,12333],\"valid\"],[[12334,12341],\"valid\",[],\"NV8\"],[[12342,12342],\"mapped\",[12306]],[[12343,12343],\"valid\",[],\"NV8\"],[[12344,12344],\"mapped\",[21313]],[[12345,12345],\"mapped\",[21316]],[[12346,12346],\"mapped\",[21317]],[[12347,12347],\"valid\",[],\"NV8\"],[[12348,12348],\"valid\"],[[12349,12349],\"valid\",[],\"NV8\"],[[12350,12350],\"valid\",[],\"NV8\"],[[12351,12351],\"valid\",[],\"NV8\"],[[12352,12352],\"disallowed\"],[[12353,12436],\"valid\"],[[12437,12438],\"valid\"],[[12439,12440],\"disallowed\"],[[12441,12442],\"valid\"],[[12443,12443],\"disallowed_STD3_mapped\",[32,12441]],[[12444,12444],\"disallowed_STD3_mapped\",[32,12442]],[[12445,12446],\"valid\"],[[12447,12447],\"mapped\",[12424,12426]],[[12448,12448],\"valid\",[],\"NV8\"],[[12449,12542],\"valid\"],[[12543,12543],\"mapped\",[12467,12488]],[[12544,12548],\"disallowed\"],[[12549,12588],\"valid\"],[[12589,12589],\"valid\"],[[12590,12592],\"disallowed\"],[[12593,12593],\"mapped\",[4352]],[[12594,12594],\"mapped\",[4353]],[[12595,12595],\"mapped\",[4522]],[[12596,12596],\"mapped\",[4354]],[[12597,12597],\"mapped\",[4524]],[[12598,12598],\"mapped\",[4525]],[[12599,12599],\"mapped\",[4355]],[[12600,12600],\"mapped\",[4356]],[[12601,12601],\"mapped\",[4357]],[[12602,12602],\"mapped\",[4528]],[[12603,12603],\"mapped\",[4529]],[[12604,12604],\"mapped\",[4530]],[[12605,12605],\"mapped\",[4531]],[[12606,12606],\"mapped\",[4532]],[[12607,12607],\"mapped\",[4533]],[[12608,12608],\"mapped\",[4378]],[[12609,12609],\"mapped\",[4358]],[[12610,12610],\"mapped\",[4359]],[[12611,12611],\"mapped\",[4360]],[[12612,12612],\"mapped\",[4385]],[[12613,12613],\"mapped\",[4361]],[[12614,12614],\"mapped\",[4362]],[[12615,12615],\"mapped\",[4363]],[[12616,12616],\"mapped\",[4364]],[[12617,12617],\"mapped\",[4365]],[[12618,12618],\"mapped\",[4366]],[[12619,12619],\"mapped\",[4367]],[[12620,12620],\"mapped\",[4368]],[[12621,12621],\"mapped\",[4369]],[[12622,12622],\"mapped\",[4370]],[[12623,12623],\"mapped\",[4449]],[[12624,12624],\"mapped\",[4450]],[[12625,12625],\"mapped\",[4451]],[[12626,12626],\"mapped\",[4452]],[[12627,12627],\"mapped\",[4453]],[[12628,12628],\"mapped\",[4454]],[[12629,12629],\"mapped\",[4455]],[[12630,12630],\"mapped\",[4456]],[[12631,12631],\"mapped\",[4457]],[[12632,12632],\"mapped\",[4458]],[[12633,12633],\"mapped\",[4459]],[[12634,12634],\"mapped\",[4460]],[[12635,12635],\"mapped\",[4461]],[[12636,12636],\"mapped\",[4462]],[[12637,12637],\"mapped\",[4463]],[[12638,12638],\"mapped\",[4464]],[[12639,12639],\"mapped\",[4465]],[[12640,12640],\"mapped\",[4466]],[[12641,12641],\"mapped\",[4467]],[[12642,12642],\"mapped\",[4468]],[[12643,12643],\"mapped\",[4469]],[[12644,12644],\"disallowed\"],[[12645,12645],\"mapped\",[4372]],[[12646,12646],\"mapped\",[4373]],[[12647,12647],\"mapped\",[4551]],[[12648,12648],\"mapped\",[4552]],[[12649,12649],\"mapped\",[4556]],[[12650,12650],\"mapped\",[4558]],[[12651,12651],\"mapped\",[4563]],[[12652,12652],\"mapped\",[4567]],[[12653,12653],\"mapped\",[4569]],[[12654,12654],\"mapped\",[4380]],[[12655,12655],\"mapped\",[4573]],[[12656,12656],\"mapped\",[4575]],[[12657,12657],\"mapped\",[4381]],[[12658,12658],\"mapped\",[4382]],[[12659,12659],\"mapped\",[4384]],[[12660,12660],\"mapped\",[4386]],[[12661,12661],\"mapped\",[4387]],[[12662,12662],\"mapped\",[4391]],[[12663,12663],\"mapped\",[4393]],[[12664,12664],\"mapped\",[4395]],[[12665,12665],\"mapped\",[4396]],[[12666,12666],\"mapped\",[4397]],[[12667,12667],\"mapped\",[4398]],[[12668,12668],\"mapped\",[4399]],[[12669,12669],\"mapped\",[4402]],[[12670,12670],\"mapped\",[4406]],[[12671,12671],\"mapped\",[4416]],[[12672,12672],\"mapped\",[4423]],[[12673,12673],\"mapped\",[4428]],[[12674,12674],\"mapped\",[4593]],[[12675,12675],\"mapped\",[4594]],[[12676,12676],\"mapped\",[4439]],[[12677,12677],\"mapped\",[4440]],[[12678,12678],\"mapped\",[4441]],[[12679,12679],\"mapped\",[4484]],[[12680,12680],\"mapped\",[4485]],[[12681,12681],\"mapped\",[4488]],[[12682,12682],\"mapped\",[4497]],[[12683,12683],\"mapped\",[4498]],[[12684,12684],\"mapped\",[4500]],[[12685,12685],\"mapped\",[4510]],[[12686,12686],\"mapped\",[4513]],[[12687,12687],\"disallowed\"],[[12688,12689],\"valid\",[],\"NV8\"],[[12690,12690],\"mapped\",[19968]],[[12691,12691],\"mapped\",[20108]],[[12692,12692],\"mapped\",[19977]],[[12693,12693],\"mapped\",[22235]],[[12694,12694],\"mapped\",[19978]],[[12695,12695],\"mapped\",[20013]],[[12696,12696],\"mapped\",[19979]],[[12697,12697],\"mapped\",[30002]],[[12698,12698],\"mapped\",[20057]],[[12699,12699],\"mapped\",[19993]],[[12700,12700],\"mapped\",[19969]],[[12701,12701],\"mapped\",[22825]],[[12702,12702],\"mapped\",[22320]],[[12703,12703],\"mapped\",[20154]],[[12704,12727],\"valid\"],[[12728,12730],\"valid\"],[[12731,12735],\"disallowed\"],[[12736,12751],\"valid\",[],\"NV8\"],[[12752,12771],\"valid\",[],\"NV8\"],[[12772,12783],\"disallowed\"],[[12784,12799],\"valid\"],[[12800,12800],\"disallowed_STD3_mapped\",[40,4352,41]],[[12801,12801],\"disallowed_STD3_mapped\",[40,4354,41]],[[12802,12802],\"disallowed_STD3_mapped\",[40,4355,41]],[[12803,12803],\"disallowed_STD3_mapped\",[40,4357,41]],[[12804,12804],\"disallowed_STD3_mapped\",[40,4358,41]],[[12805,12805],\"disallowed_STD3_mapped\",[40,4359,41]],[[12806,12806],\"disallowed_STD3_mapped\",[40,4361,41]],[[12807,12807],\"disallowed_STD3_mapped\",[40,4363,41]],[[12808,12808],\"disallowed_STD3_mapped\",[40,4364,41]],[[12809,12809],\"disallowed_STD3_mapped\",[40,4366,41]],[[12810,12810],\"disallowed_STD3_mapped\",[40,4367,41]],[[12811,12811],\"disallowed_STD3_mapped\",[40,4368,41]],[[12812,12812],\"disallowed_STD3_mapped\",[40,4369,41]],[[12813,12813],\"disallowed_STD3_mapped\",[40,4370,41]],[[12814,12814],\"disallowed_STD3_mapped\",[40,44032,41]],[[12815,12815],\"disallowed_STD3_mapped\",[40,45208,41]],[[12816,12816],\"disallowed_STD3_mapped\",[40,45796,41]],[[12817,12817],\"disallowed_STD3_mapped\",[40,46972,41]],[[12818,12818],\"disallowed_STD3_mapped\",[40,47560,41]],[[12819,12819],\"disallowed_STD3_mapped\",[40,48148,41]],[[12820,12820],\"disallowed_STD3_mapped\",[40,49324,41]],[[12821,12821],\"disallowed_STD3_mapped\",[40,50500,41]],[[12822,12822],\"disallowed_STD3_mapped\",[40,51088,41]],[[12823,12823],\"disallowed_STD3_mapped\",[40,52264,41]],[[12824,12824],\"disallowed_STD3_mapped\",[40,52852,41]],[[12825,12825],\"disallowed_STD3_mapped\",[40,53440,41]],[[12826,12826],\"disallowed_STD3_mapped\",[40,54028,41]],[[12827,12827],\"disallowed_STD3_mapped\",[40,54616,41]],[[12828,12828],\"disallowed_STD3_mapped\",[40,51452,41]],[[12829,12829],\"disallowed_STD3_mapped\",[40,50724,51204,41]],[[12830,12830],\"disallowed_STD3_mapped\",[40,50724,54980,41]],[[12831,12831],\"disallowed\"],[[12832,12832],\"disallowed_STD3_mapped\",[40,19968,41]],[[12833,12833],\"disallowed_STD3_mapped\",[40,20108,41]],[[12834,12834],\"disallowed_STD3_mapped\",[40,19977,41]],[[12835,12835],\"disallowed_STD3_mapped\",[40,22235,41]],[[12836,12836],\"disallowed_STD3_mapped\",[40,20116,41]],[[12837,12837],\"disallowed_STD3_mapped\",[40,20845,41]],[[12838,12838],\"disallowed_STD3_mapped\",[40,19971,41]],[[12839,12839],\"disallowed_STD3_mapped\",[40,20843,41]],[[12840,12840],\"disallowed_STD3_mapped\",[40,20061,41]],[[12841,12841],\"disallowed_STD3_mapped\",[40,21313,41]],[[12842,12842],\"disallowed_STD3_mapped\",[40,26376,41]],[[12843,12843],\"disallowed_STD3_mapped\",[40,28779,41]],[[12844,12844],\"disallowed_STD3_mapped\",[40,27700,41]],[[12845,12845],\"disallowed_STD3_mapped\",[40,26408,41]],[[12846,12846],\"disallowed_STD3_mapped\",[40,37329,41]],[[12847,12847],\"disallowed_STD3_mapped\",[40,22303,41]],[[12848,12848],\"disallowed_STD3_mapped\",[40,26085,41]],[[12849,12849],\"disallowed_STD3_mapped\",[40,26666,41]],[[12850,12850],\"disallowed_STD3_mapped\",[40,26377,41]],[[12851,12851],\"disallowed_STD3_mapped\",[40,31038,41]],[[12852,12852],\"disallowed_STD3_mapped\",[40,21517,41]],[[12853,12853],\"disallowed_STD3_mapped\",[40,29305,41]],[[12854,12854],\"disallowed_STD3_mapped\",[40,36001,41]],[[12855,12855],\"disallowed_STD3_mapped\",[40,31069,41]],[[12856,12856],\"disallowed_STD3_mapped\",[40,21172,41]],[[12857,12857],\"disallowed_STD3_mapped\",[40,20195,41]],[[12858,12858],\"disallowed_STD3_mapped\",[40,21628,41]],[[12859,12859],\"disallowed_STD3_mapped\",[40,23398,41]],[[12860,12860],\"disallowed_STD3_mapped\",[40,30435,41]],[[12861,12861],\"disallowed_STD3_mapped\",[40,20225,41]],[[12862,12862],\"disallowed_STD3_mapped\",[40,36039,41]],[[12863,12863],\"disallowed_STD3_mapped\",[40,21332,41]],[[12864,12864],\"disallowed_STD3_mapped\",[40,31085,41]],[[12865,12865],\"disallowed_STD3_mapped\",[40,20241,41]],[[12866,12866],\"disallowed_STD3_mapped\",[40,33258,41]],[[12867,12867],\"disallowed_STD3_mapped\",[40,33267,41]],[[12868,12868],\"mapped\",[21839]],[[12869,12869],\"mapped\",[24188]],[[12870,12870],\"mapped\",[25991]],[[12871,12871],\"mapped\",[31631]],[[12872,12879],\"valid\",[],\"NV8\"],[[12880,12880],\"mapped\",[112,116,101]],[[12881,12881],\"mapped\",[50,49]],[[12882,12882],\"mapped\",[50,50]],[[12883,12883],\"mapped\",[50,51]],[[12884,12884],\"mapped\",[50,52]],[[12885,12885],\"mapped\",[50,53]],[[12886,12886],\"mapped\",[50,54]],[[12887,12887],\"mapped\",[50,55]],[[12888,12888],\"mapped\",[50,56]],[[12889,12889],\"mapped\",[50,57]],[[12890,12890],\"mapped\",[51,48]],[[12891,12891],\"mapped\",[51,49]],[[12892,12892],\"mapped\",[51,50]],[[12893,12893],\"mapped\",[51,51]],[[12894,12894],\"mapped\",[51,52]],[[12895,12895],\"mapped\",[51,53]],[[12896,12896],\"mapped\",[4352]],[[12897,12897],\"mapped\",[4354]],[[12898,12898],\"mapped\",[4355]],[[12899,12899],\"mapped\",[4357]],[[12900,12900],\"mapped\",[4358]],[[12901,12901],\"mapped\",[4359]],[[12902,12902],\"mapped\",[4361]],[[12903,12903],\"mapped\",[4363]],[[12904,12904],\"mapped\",[4364]],[[12905,12905],\"mapped\",[4366]],[[12906,12906],\"mapped\",[4367]],[[12907,12907],\"mapped\",[4368]],[[12908,12908],\"mapped\",[4369]],[[12909,12909],\"mapped\",[4370]],[[12910,12910],\"mapped\",[44032]],[[12911,12911],\"mapped\",[45208]],[[12912,12912],\"mapped\",[45796]],[[12913,12913],\"mapped\",[46972]],[[12914,12914],\"mapped\",[47560]],[[12915,12915],\"mapped\",[48148]],[[12916,12916],\"mapped\",[49324]],[[12917,12917],\"mapped\",[50500]],[[12918,12918],\"mapped\",[51088]],[[12919,12919],\"mapped\",[52264]],[[12920,12920],\"mapped\",[52852]],[[12921,12921],\"mapped\",[53440]],[[12922,12922],\"mapped\",[54028]],[[12923,12923],\"mapped\",[54616]],[[12924,12924],\"mapped\",[52280,44256]],[[12925,12925],\"mapped\",[51452,51032]],[[12926,12926],\"mapped\",[50864]],[[12927,12927],\"valid\",[],\"NV8\"],[[12928,12928],\"mapped\",[19968]],[[12929,12929],\"mapped\",[20108]],[[12930,12930],\"mapped\",[19977]],[[12931,12931],\"mapped\",[22235]],[[12932,12932],\"mapped\",[20116]],[[12933,12933],\"mapped\",[20845]],[[12934,12934],\"mapped\",[19971]],[[12935,12935],\"mapped\",[20843]],[[12936,12936],\"mapped\",[20061]],[[12937,12937],\"mapped\",[21313]],[[12938,12938],\"mapped\",[26376]],[[12939,12939],\"mapped\",[28779]],[[12940,12940],\"mapped\",[27700]],[[12941,12941],\"mapped\",[26408]],[[12942,12942],\"mapped\",[37329]],[[12943,12943],\"mapped\",[22303]],[[12944,12944],\"mapped\",[26085]],[[12945,12945],\"mapped\",[26666]],[[12946,12946],\"mapped\",[26377]],[[12947,12947],\"mapped\",[31038]],[[12948,12948],\"mapped\",[21517]],[[12949,12949],\"mapped\",[29305]],[[12950,12950],\"mapped\",[36001]],[[12951,12951],\"mapped\",[31069]],[[12952,12952],\"mapped\",[21172]],[[12953,12953],\"mapped\",[31192]],[[12954,12954],\"mapped\",[30007]],[[12955,12955],\"mapped\",[22899]],[[12956,12956],\"mapped\",[36969]],[[12957,12957],\"mapped\",[20778]],[[12958,12958],\"mapped\",[21360]],[[12959,12959],\"mapped\",[27880]],[[12960,12960],\"mapped\",[38917]],[[12961,12961],\"mapped\",[20241]],[[12962,12962],\"mapped\",[20889]],[[12963,12963],\"mapped\",[27491]],[[12964,12964],\"mapped\",[19978]],[[12965,12965],\"mapped\",[20013]],[[12966,12966],\"mapped\",[19979]],[[12967,12967],\"mapped\",[24038]],[[12968,12968],\"mapped\",[21491]],[[12969,12969],\"mapped\",[21307]],[[12970,12970],\"mapped\",[23447]],[[12971,12971],\"mapped\",[23398]],[[12972,12972],\"mapped\",[30435]],[[12973,12973],\"mapped\",[20225]],[[12974,12974],\"mapped\",[36039]],[[12975,12975],\"mapped\",[21332]],[[12976,12976],\"mapped\",[22812]],[[12977,12977],\"mapped\",[51,54]],[[12978,12978],\"mapped\",[51,55]],[[12979,12979],\"mapped\",[51,56]],[[12980,12980],\"mapped\",[51,57]],[[12981,12981],\"mapped\",[52,48]],[[12982,12982],\"mapped\",[52,49]],[[12983,12983],\"mapped\",[52,50]],[[12984,12984],\"mapped\",[52,51]],[[12985,12985],\"mapped\",[52,52]],[[12986,12986],\"mapped\",[52,53]],[[12987,12987],\"mapped\",[52,54]],[[12988,12988],\"mapped\",[52,55]],[[12989,12989],\"mapped\",[52,56]],[[12990,12990],\"mapped\",[52,57]],[[12991,12991],\"mapped\",[53,48]],[[12992,12992],\"mapped\",[49,26376]],[[12993,12993],\"mapped\",[50,26376]],[[12994,12994],\"mapped\",[51,26376]],[[12995,12995],\"mapped\",[52,26376]],[[12996,12996],\"mapped\",[53,26376]],[[12997,12997],\"mapped\",[54,26376]],[[12998,12998],\"mapped\",[55,26376]],[[12999,12999],\"mapped\",[56,26376]],[[13000,13000],\"mapped\",[57,26376]],[[13001,13001],\"mapped\",[49,48,26376]],[[13002,13002],\"mapped\",[49,49,26376]],[[13003,13003],\"mapped\",[49,50,26376]],[[13004,13004],\"mapped\",[104,103]],[[13005,13005],\"mapped\",[101,114,103]],[[13006,13006],\"mapped\",[101,118]],[[13007,13007],\"mapped\",[108,116,100]],[[13008,13008],\"mapped\",[12450]],[[13009,13009],\"mapped\",[12452]],[[13010,13010],\"mapped\",[12454]],[[13011,13011],\"mapped\",[12456]],[[13012,13012],\"mapped\",[12458]],[[13013,13013],\"mapped\",[12459]],[[13014,13014],\"mapped\",[12461]],[[13015,13015],\"mapped\",[12463]],[[13016,13016],\"mapped\",[12465]],[[13017,13017],\"mapped\",[12467]],[[13018,13018],\"mapped\",[12469]],[[13019,13019],\"mapped\",[12471]],[[13020,13020],\"mapped\",[12473]],[[13021,13021],\"mapped\",[12475]],[[13022,13022],\"mapped\",[12477]],[[13023,13023],\"mapped\",[12479]],[[13024,13024],\"mapped\",[12481]],[[13025,13025],\"mapped\",[12484]],[[13026,13026],\"mapped\",[12486]],[[13027,13027],\"mapped\",[12488]],[[13028,13028],\"mapped\",[12490]],[[13029,13029],\"mapped\",[12491]],[[13030,13030],\"mapped\",[12492]],[[13031,13031],\"mapped\",[12493]],[[13032,13032],\"mapped\",[12494]],[[13033,13033],\"mapped\",[12495]],[[13034,13034],\"mapped\",[12498]],[[13035,13035],\"mapped\",[12501]],[[13036,13036],\"mapped\",[12504]],[[13037,13037],\"mapped\",[12507]],[[13038,13038],\"mapped\",[12510]],[[13039,13039],\"mapped\",[12511]],[[13040,13040],\"mapped\",[12512]],[[13041,13041],\"mapped\",[12513]],[[13042,13042],\"mapped\",[12514]],[[13043,13043],\"mapped\",[12516]],[[13044,13044],\"mapped\",[12518]],[[13045,13045],\"mapped\",[12520]],[[13046,13046],\"mapped\",[12521]],[[13047,13047],\"mapped\",[12522]],[[13048,13048],\"mapped\",[12523]],[[13049,13049],\"mapped\",[12524]],[[13050,13050],\"mapped\",[12525]],[[13051,13051],\"mapped\",[12527]],[[13052,13052],\"mapped\",[12528]],[[13053,13053],\"mapped\",[12529]],[[13054,13054],\"mapped\",[12530]],[[13055,13055],\"disallowed\"],[[13056,13056],\"mapped\",[12450,12497,12540,12488]],[[13057,13057],\"mapped\",[12450,12523,12501,12449]],[[13058,13058],\"mapped\",[12450,12531,12506,12450]],[[13059,13059],\"mapped\",[12450,12540,12523]],[[13060,13060],\"mapped\",[12452,12491,12531,12464]],[[13061,13061],\"mapped\",[12452,12531,12481]],[[13062,13062],\"mapped\",[12454,12457,12531]],[[13063,13063],\"mapped\",[12456,12473,12463,12540,12489]],[[13064,13064],\"mapped\",[12456,12540,12459,12540]],[[13065,13065],\"mapped\",[12458,12531,12473]],[[13066,13066],\"mapped\",[12458,12540,12512]],[[13067,13067],\"mapped\",[12459,12452,12522]],[[13068,13068],\"mapped\",[12459,12521,12483,12488]],[[13069,13069],\"mapped\",[12459,12525,12522,12540]],[[13070,13070],\"mapped\",[12460,12525,12531]],[[13071,13071],\"mapped\",[12460,12531,12510]],[[13072,13072],\"mapped\",[12462,12460]],[[13073,13073],\"mapped\",[12462,12491,12540]],[[13074,13074],\"mapped\",[12461,12517,12522,12540]],[[13075,13075],\"mapped\",[12462,12523,12480,12540]],[[13076,13076],\"mapped\",[12461,12525]],[[13077,13077],\"mapped\",[12461,12525,12464,12521,12512]],[[13078,13078],\"mapped\",[12461,12525,12513,12540,12488,12523]],[[13079,13079],\"mapped\",[12461,12525,12527,12483,12488]],[[13080,13080],\"mapped\",[12464,12521,12512]],[[13081,13081],\"mapped\",[12464,12521,12512,12488,12531]],[[13082,13082],\"mapped\",[12463,12523,12476,12452,12525]],[[13083,13083],\"mapped\",[12463,12525,12540,12493]],[[13084,13084],\"mapped\",[12465,12540,12473]],[[13085,13085],\"mapped\",[12467,12523,12490]],[[13086,13086],\"mapped\",[12467,12540,12509]],[[13087,13087],\"mapped\",[12469,12452,12463,12523]],[[13088,13088],\"mapped\",[12469,12531,12481,12540,12512]],[[13089,13089],\"mapped\",[12471,12522,12531,12464]],[[13090,13090],\"mapped\",[12475,12531,12481]],[[13091,13091],\"mapped\",[12475,12531,12488]],[[13092,13092],\"mapped\",[12480,12540,12473]],[[13093,13093],\"mapped\",[12487,12471]],[[13094,13094],\"mapped\",[12489,12523]],[[13095,13095],\"mapped\",[12488,12531]],[[13096,13096],\"mapped\",[12490,12494]],[[13097,13097],\"mapped\",[12494,12483,12488]],[[13098,13098],\"mapped\",[12495,12452,12484]],[[13099,13099],\"mapped\",[12497,12540,12475,12531,12488]],[[13100,13100],\"mapped\",[12497,12540,12484]],[[13101,13101],\"mapped\",[12496,12540,12524,12523]],[[13102,13102],\"mapped\",[12500,12450,12473,12488,12523]],[[13103,13103],\"mapped\",[12500,12463,12523]],[[13104,13104],\"mapped\",[12500,12467]],[[13105,13105],\"mapped\",[12499,12523]],[[13106,13106],\"mapped\",[12501,12449,12521,12483,12489]],[[13107,13107],\"mapped\",[12501,12451,12540,12488]],[[13108,13108],\"mapped\",[12502,12483,12471,12455,12523]],[[13109,13109],\"mapped\",[12501,12521,12531]],[[13110,13110],\"mapped\",[12504,12463,12479,12540,12523]],[[13111,13111],\"mapped\",[12506,12477]],[[13112,13112],\"mapped\",[12506,12491,12498]],[[13113,13113],\"mapped\",[12504,12523,12484]],[[13114,13114],\"mapped\",[12506,12531,12473]],[[13115,13115],\"mapped\",[12506,12540,12472]],[[13116,13116],\"mapped\",[12505,12540,12479]],[[13117,13117],\"mapped\",[12509,12452,12531,12488]],[[13118,13118],\"mapped\",[12508,12523,12488]],[[13119,13119],\"mapped\",[12507,12531]],[[13120,13120],\"mapped\",[12509,12531,12489]],[[13121,13121],\"mapped\",[12507,12540,12523]],[[13122,13122],\"mapped\",[12507,12540,12531]],[[13123,13123],\"mapped\",[12510,12452,12463,12525]],[[13124,13124],\"mapped\",[12510,12452,12523]],[[13125,13125],\"mapped\",[12510,12483,12495]],[[13126,13126],\"mapped\",[12510,12523,12463]],[[13127,13127],\"mapped\",[12510,12531,12471,12519,12531]],[[13128,13128],\"mapped\",[12511,12463,12525,12531]],[[13129,13129],\"mapped\",[12511,12522]],[[13130,13130],\"mapped\",[12511,12522,12496,12540,12523]],[[13131,13131],\"mapped\",[12513,12460]],[[13132,13132],\"mapped\",[12513,12460,12488,12531]],[[13133,13133],\"mapped\",[12513,12540,12488,12523]],[[13134,13134],\"mapped\",[12516,12540,12489]],[[13135,13135],\"mapped\",[12516,12540,12523]],[[13136,13136],\"mapped\",[12518,12450,12531]],[[13137,13137],\"mapped\",[12522,12483,12488,12523]],[[13138,13138],\"mapped\",[12522,12521]],[[13139,13139],\"mapped\",[12523,12500,12540]],[[13140,13140],\"mapped\",[12523,12540,12502,12523]],[[13141,13141],\"mapped\",[12524,12512]],[[13142,13142],\"mapped\",[12524,12531,12488,12466,12531]],[[13143,13143],\"mapped\",[12527,12483,12488]],[[13144,13144],\"mapped\",[48,28857]],[[13145,13145],\"mapped\",[49,28857]],[[13146,13146],\"mapped\",[50,28857]],[[13147,13147],\"mapped\",[51,28857]],[[13148,13148],\"mapped\",[52,28857]],[[13149,13149],\"mapped\",[53,28857]],[[13150,13150],\"mapped\",[54,28857]],[[13151,13151],\"mapped\",[55,28857]],[[13152,13152],\"mapped\",[56,28857]],[[13153,13153],\"mapped\",[57,28857]],[[13154,13154],\"mapped\",[49,48,28857]],[[13155,13155],\"mapped\",[49,49,28857]],[[13156,13156],\"mapped\",[49,50,28857]],[[13157,13157],\"mapped\",[49,51,28857]],[[13158,13158],\"mapped\",[49,52,28857]],[[13159,13159],\"mapped\",[49,53,28857]],[[13160,13160],\"mapped\",[49,54,28857]],[[13161,13161],\"mapped\",[49,55,28857]],[[13162,13162],\"mapped\",[49,56,28857]],[[13163,13163],\"mapped\",[49,57,28857]],[[13164,13164],\"mapped\",[50,48,28857]],[[13165,13165],\"mapped\",[50,49,28857]],[[13166,13166],\"mapped\",[50,50,28857]],[[13167,13167],\"mapped\",[50,51,28857]],[[13168,13168],\"mapped\",[50,52,28857]],[[13169,13169],\"mapped\",[104,112,97]],[[13170,13170],\"mapped\",[100,97]],[[13171,13171],\"mapped\",[97,117]],[[13172,13172],\"mapped\",[98,97,114]],[[13173,13173],\"mapped\",[111,118]],[[13174,13174],\"mapped\",[112,99]],[[13175,13175],\"mapped\",[100,109]],[[13176,13176],\"mapped\",[100,109,50]],[[13177,13177],\"mapped\",[100,109,51]],[[13178,13178],\"mapped\",[105,117]],[[13179,13179],\"mapped\",[24179,25104]],[[13180,13180],\"mapped\",[26157,21644]],[[13181,13181],\"mapped\",[22823,27491]],[[13182,13182],\"mapped\",[26126,27835]],[[13183,13183],\"mapped\",[26666,24335,20250,31038]],[[13184,13184],\"mapped\",[112,97]],[[13185,13185],\"mapped\",[110,97]],[[13186,13186],\"mapped\",[956,97]],[[13187,13187],\"mapped\",[109,97]],[[13188,13188],\"mapped\",[107,97]],[[13189,13189],\"mapped\",[107,98]],[[13190,13190],\"mapped\",[109,98]],[[13191,13191],\"mapped\",[103,98]],[[13192,13192],\"mapped\",[99,97,108]],[[13193,13193],\"mapped\",[107,99,97,108]],[[13194,13194],\"mapped\",[112,102]],[[13195,13195],\"mapped\",[110,102]],[[13196,13196],\"mapped\",[956,102]],[[13197,13197],\"mapped\",[956,103]],[[13198,13198],\"mapped\",[109,103]],[[13199,13199],\"mapped\",[107,103]],[[13200,13200],\"mapped\",[104,122]],[[13201,13201],\"mapped\",[107,104,122]],[[13202,13202],\"mapped\",[109,104,122]],[[13203,13203],\"mapped\",[103,104,122]],[[13204,13204],\"mapped\",[116,104,122]],[[13205,13205],\"mapped\",[956,108]],[[13206,13206],\"mapped\",[109,108]],[[13207,13207],\"mapped\",[100,108]],[[13208,13208],\"mapped\",[107,108]],[[13209,13209],\"mapped\",[102,109]],[[13210,13210],\"mapped\",[110,109]],[[13211,13211],\"mapped\",[956,109]],[[13212,13212],\"mapped\",[109,109]],[[13213,13213],\"mapped\",[99,109]],[[13214,13214],\"mapped\",[107,109]],[[13215,13215],\"mapped\",[109,109,50]],[[13216,13216],\"mapped\",[99,109,50]],[[13217,13217],\"mapped\",[109,50]],[[13218,13218],\"mapped\",[107,109,50]],[[13219,13219],\"mapped\",[109,109,51]],[[13220,13220],\"mapped\",[99,109,51]],[[13221,13221],\"mapped\",[109,51]],[[13222,13222],\"mapped\",[107,109,51]],[[13223,13223],\"mapped\",[109,8725,115]],[[13224,13224],\"mapped\",[109,8725,115,50]],[[13225,13225],\"mapped\",[112,97]],[[13226,13226],\"mapped\",[107,112,97]],[[13227,13227],\"mapped\",[109,112,97]],[[13228,13228],\"mapped\",[103,112,97]],[[13229,13229],\"mapped\",[114,97,100]],[[13230,13230],\"mapped\",[114,97,100,8725,115]],[[13231,13231],\"mapped\",[114,97,100,8725,115,50]],[[13232,13232],\"mapped\",[112,115]],[[13233,13233],\"mapped\",[110,115]],[[13234,13234],\"mapped\",[956,115]],[[13235,13235],\"mapped\",[109,115]],[[13236,13236],\"mapped\",[112,118]],[[13237,13237],\"mapped\",[110,118]],[[13238,13238],\"mapped\",[956,118]],[[13239,13239],\"mapped\",[109,118]],[[13240,13240],\"mapped\",[107,118]],[[13241,13241],\"mapped\",[109,118]],[[13242,13242],\"mapped\",[112,119]],[[13243,13243],\"mapped\",[110,119]],[[13244,13244],\"mapped\",[956,119]],[[13245,13245],\"mapped\",[109,119]],[[13246,13246],\"mapped\",[107,119]],[[13247,13247],\"mapped\",[109,119]],[[13248,13248],\"mapped\",[107,969]],[[13249,13249],\"mapped\",[109,969]],[[13250,13250],\"disallowed\"],[[13251,13251],\"mapped\",[98,113]],[[13252,13252],\"mapped\",[99,99]],[[13253,13253],\"mapped\",[99,100]],[[13254,13254],\"mapped\",[99,8725,107,103]],[[13255,13255],\"disallowed\"],[[13256,13256],\"mapped\",[100,98]],[[13257,13257],\"mapped\",[103,121]],[[13258,13258],\"mapped\",[104,97]],[[13259,13259],\"mapped\",[104,112]],[[13260,13260],\"mapped\",[105,110]],[[13261,13261],\"mapped\",[107,107]],[[13262,13262],\"mapped\",[107,109]],[[13263,13263],\"mapped\",[107,116]],[[13264,13264],\"mapped\",[108,109]],[[13265,13265],\"mapped\",[108,110]],[[13266,13266],\"mapped\",[108,111,103]],[[13267,13267],\"mapped\",[108,120]],[[13268,13268],\"mapped\",[109,98]],[[13269,13269],\"mapped\",[109,105,108]],[[13270,13270],\"mapped\",[109,111,108]],[[13271,13271],\"mapped\",[112,104]],[[13272,13272],\"disallowed\"],[[13273,13273],\"mapped\",[112,112,109]],[[13274,13274],\"mapped\",[112,114]],[[13275,13275],\"mapped\",[115,114]],[[13276,13276],\"mapped\",[115,118]],[[13277,13277],\"mapped\",[119,98]],[[13278,13278],\"mapped\",[118,8725,109]],[[13279,13279],\"mapped\",[97,8725,109]],[[13280,13280],\"mapped\",[49,26085]],[[13281,13281],\"mapped\",[50,26085]],[[13282,13282],\"mapped\",[51,26085]],[[13283,13283],\"mapped\",[52,26085]],[[13284,13284],\"mapped\",[53,26085]],[[13285,13285],\"mapped\",[54,26085]],[[13286,13286],\"mapped\",[55,26085]],[[13287,13287],\"mapped\",[56,26085]],[[13288,13288],\"mapped\",[57,26085]],[[13289,13289],\"mapped\",[49,48,26085]],[[13290,13290],\"mapped\",[49,49,26085]],[[13291,13291],\"mapped\",[49,50,26085]],[[13292,13292],\"mapped\",[49,51,26085]],[[13293,13293],\"mapped\",[49,52,26085]],[[13294,13294],\"mapped\",[49,53,26085]],[[13295,13295],\"mapped\",[49,54,26085]],[[13296,13296],\"mapped\",[49,55,26085]],[[13297,13297],\"mapped\",[49,56,26085]],[[13298,13298],\"mapped\",[49,57,26085]],[[13299,13299],\"mapped\",[50,48,26085]],[[13300,13300],\"mapped\",[50,49,26085]],[[13301,13301],\"mapped\",[50,50,26085]],[[13302,13302],\"mapped\",[50,51,26085]],[[13303,13303],\"mapped\",[50,52,26085]],[[13304,13304],\"mapped\",[50,53,26085]],[[13305,13305],\"mapped\",[50,54,26085]],[[13306,13306],\"mapped\",[50,55,26085]],[[13307,13307],\"mapped\",[50,56,26085]],[[13308,13308],\"mapped\",[50,57,26085]],[[13309,13309],\"mapped\",[51,48,26085]],[[13310,13310],\"mapped\",[51,49,26085]],[[13311,13311],\"mapped\",[103,97,108]],[[13312,19893],\"valid\"],[[19894,19903],\"disallowed\"],[[19904,19967],\"valid\",[],\"NV8\"],[[19968,40869],\"valid\"],[[40870,40891],\"valid\"],[[40892,40899],\"valid\"],[[40900,40907],\"valid\"],[[40908,40908],\"valid\"],[[40909,40917],\"valid\"],[[40918,40959],\"disallowed\"],[[40960,42124],\"valid\"],[[42125,42127],\"disallowed\"],[[42128,42145],\"valid\",[],\"NV8\"],[[42146,42147],\"valid\",[],\"NV8\"],[[42148,42163],\"valid\",[],\"NV8\"],[[42164,42164],\"valid\",[],\"NV8\"],[[42165,42176],\"valid\",[],\"NV8\"],[[42177,42177],\"valid\",[],\"NV8\"],[[42178,42180],\"valid\",[],\"NV8\"],[[42181,42181],\"valid\",[],\"NV8\"],[[42182,42182],\"valid\",[],\"NV8\"],[[42183,42191],\"disallowed\"],[[42192,42237],\"valid\"],[[42238,42239],\"valid\",[],\"NV8\"],[[42240,42508],\"valid\"],[[42509,42511],\"valid\",[],\"NV8\"],[[42512,42539],\"valid\"],[[42540,42559],\"disallowed\"],[[42560,42560],\"mapped\",[42561]],[[42561,42561],\"valid\"],[[42562,42562],\"mapped\",[42563]],[[42563,42563],\"valid\"],[[42564,42564],\"mapped\",[42565]],[[42565,42565],\"valid\"],[[42566,42566],\"mapped\",[42567]],[[42567,42567],\"valid\"],[[42568,42568],\"mapped\",[42569]],[[42569,42569],\"valid\"],[[42570,42570],\"mapped\",[42571]],[[42571,42571],\"valid\"],[[42572,42572],\"mapped\",[42573]],[[42573,42573],\"valid\"],[[42574,42574],\"mapped\",[42575]],[[42575,42575],\"valid\"],[[42576,42576],\"mapped\",[42577]],[[42577,42577],\"valid\"],[[42578,42578],\"mapped\",[42579]],[[42579,42579],\"valid\"],[[42580,42580],\"mapped\",[42581]],[[42581,42581],\"valid\"],[[42582,42582],\"mapped\",[42583]],[[42583,42583],\"valid\"],[[42584,42584],\"mapped\",[42585]],[[42585,42585],\"valid\"],[[42586,42586],\"mapped\",[42587]],[[42587,42587],\"valid\"],[[42588,42588],\"mapped\",[42589]],[[42589,42589],\"valid\"],[[42590,42590],\"mapped\",[42591]],[[42591,42591],\"valid\"],[[42592,42592],\"mapped\",[42593]],[[42593,42593],\"valid\"],[[42594,42594],\"mapped\",[42595]],[[42595,42595],\"valid\"],[[42596,42596],\"mapped\",[42597]],[[42597,42597],\"valid\"],[[42598,42598],\"mapped\",[42599]],[[42599,42599],\"valid\"],[[42600,42600],\"mapped\",[42601]],[[42601,42601],\"valid\"],[[42602,42602],\"mapped\",[42603]],[[42603,42603],\"valid\"],[[42604,42604],\"mapped\",[42605]],[[42605,42607],\"valid\"],[[42608,42611],\"valid\",[],\"NV8\"],[[42612,42619],\"valid\"],[[42620,42621],\"valid\"],[[42622,42622],\"valid\",[],\"NV8\"],[[42623,42623],\"valid\"],[[42624,42624],\"mapped\",[42625]],[[42625,42625],\"valid\"],[[42626,42626],\"mapped\",[42627]],[[42627,42627],\"valid\"],[[42628,42628],\"mapped\",[42629]],[[42629,42629],\"valid\"],[[42630,42630],\"mapped\",[42631]],[[42631,42631],\"valid\"],[[42632,42632],\"mapped\",[42633]],[[42633,42633],\"valid\"],[[42634,42634],\"mapped\",[42635]],[[42635,42635],\"valid\"],[[42636,42636],\"mapped\",[42637]],[[42637,42637],\"valid\"],[[42638,42638],\"mapped\",[42639]],[[42639,42639],\"valid\"],[[42640,42640],\"mapped\",[42641]],[[42641,42641],\"valid\"],[[42642,42642],\"mapped\",[42643]],[[42643,42643],\"valid\"],[[42644,42644],\"mapped\",[42645]],[[42645,42645],\"valid\"],[[42646,42646],\"mapped\",[42647]],[[42647,42647],\"valid\"],[[42648,42648],\"mapped\",[42649]],[[42649,42649],\"valid\"],[[42650,42650],\"mapped\",[42651]],[[42651,42651],\"valid\"],[[42652,42652],\"mapped\",[1098]],[[42653,42653],\"mapped\",[1100]],[[42654,42654],\"valid\"],[[42655,42655],\"valid\"],[[42656,42725],\"valid\"],[[42726,42735],\"valid\",[],\"NV8\"],[[42736,42737],\"valid\"],[[42738,42743],\"valid\",[],\"NV8\"],[[42744,42751],\"disallowed\"],[[42752,42774],\"valid\",[],\"NV8\"],[[42775,42778],\"valid\"],[[42779,42783],\"valid\"],[[42784,42785],\"valid\",[],\"NV8\"],[[42786,42786],\"mapped\",[42787]],[[42787,42787],\"valid\"],[[42788,42788],\"mapped\",[42789]],[[42789,42789],\"valid\"],[[42790,42790],\"mapped\",[42791]],[[42791,42791],\"valid\"],[[42792,42792],\"mapped\",[42793]],[[42793,42793],\"valid\"],[[42794,42794],\"mapped\",[42795]],[[42795,42795],\"valid\"],[[42796,42796],\"mapped\",[42797]],[[42797,42797],\"valid\"],[[42798,42798],\"mapped\",[42799]],[[42799,42801],\"valid\"],[[42802,42802],\"mapped\",[42803]],[[42803,42803],\"valid\"],[[42804,42804],\"mapped\",[42805]],[[42805,42805],\"valid\"],[[42806,42806],\"mapped\",[42807]],[[42807,42807],\"valid\"],[[42808,42808],\"mapped\",[42809]],[[42809,42809],\"valid\"],[[42810,42810],\"mapped\",[42811]],[[42811,42811],\"valid\"],[[42812,42812],\"mapped\",[42813]],[[42813,42813],\"valid\"],[[42814,42814],\"mapped\",[42815]],[[42815,42815],\"valid\"],[[42816,42816],\"mapped\",[42817]],[[42817,42817],\"valid\"],[[42818,42818],\"mapped\",[42819]],[[42819,42819],\"valid\"],[[42820,42820],\"mapped\",[42821]],[[42821,42821],\"valid\"],[[42822,42822],\"mapped\",[42823]],[[42823,42823],\"valid\"],[[42824,42824],\"mapped\",[42825]],[[42825,42825],\"valid\"],[[42826,42826],\"mapped\",[42827]],[[42827,42827],\"valid\"],[[42828,42828],\"mapped\",[42829]],[[42829,42829],\"valid\"],[[42830,42830],\"mapped\",[42831]],[[42831,42831],\"valid\"],[[42832,42832],\"mapped\",[42833]],[[42833,42833],\"valid\"],[[42834,42834],\"mapped\",[42835]],[[42835,42835],\"valid\"],[[42836,42836],\"mapped\",[42837]],[[42837,42837],\"valid\"],[[42838,42838],\"mapped\",[42839]],[[42839,42839],\"valid\"],[[42840,42840],\"mapped\",[42841]],[[42841,42841],\"valid\"],[[42842,42842],\"mapped\",[42843]],[[42843,42843],\"valid\"],[[42844,42844],\"mapped\",[42845]],[[42845,42845],\"valid\"],[[42846,42846],\"mapped\",[42847]],[[42847,42847],\"valid\"],[[42848,42848],\"mapped\",[42849]],[[42849,42849],\"valid\"],[[42850,42850],\"mapped\",[42851]],[[42851,42851],\"valid\"],[[42852,42852],\"mapped\",[42853]],[[42853,42853],\"valid\"],[[42854,42854],\"mapped\",[42855]],[[42855,42855],\"valid\"],[[42856,42856],\"mapped\",[42857]],[[42857,42857],\"valid\"],[[42858,42858],\"mapped\",[42859]],[[42859,42859],\"valid\"],[[42860,42860],\"mapped\",[42861]],[[42861,42861],\"valid\"],[[42862,42862],\"mapped\",[42863]],[[42863,42863],\"valid\"],[[42864,42864],\"mapped\",[42863]],[[42865,42872],\"valid\"],[[42873,42873],\"mapped\",[42874]],[[42874,42874],\"valid\"],[[42875,42875],\"mapped\",[42876]],[[42876,42876],\"valid\"],[[42877,42877],\"mapped\",[7545]],[[42878,42878],\"mapped\",[42879]],[[42879,42879],\"valid\"],[[42880,42880],\"mapped\",[42881]],[[42881,42881],\"valid\"],[[42882,42882],\"mapped\",[42883]],[[42883,42883],\"valid\"],[[42884,42884],\"mapped\",[42885]],[[42885,42885],\"valid\"],[[42886,42886],\"mapped\",[42887]],[[42887,42888],\"valid\"],[[42889,42890],\"valid\",[],\"NV8\"],[[42891,42891],\"mapped\",[42892]],[[42892,42892],\"valid\"],[[42893,42893],\"mapped\",[613]],[[42894,42894],\"valid\"],[[42895,42895],\"valid\"],[[42896,42896],\"mapped\",[42897]],[[42897,42897],\"valid\"],[[42898,42898],\"mapped\",[42899]],[[42899,42899],\"valid\"],[[42900,42901],\"valid\"],[[42902,42902],\"mapped\",[42903]],[[42903,42903],\"valid\"],[[42904,42904],\"mapped\",[42905]],[[42905,42905],\"valid\"],[[42906,42906],\"mapped\",[42907]],[[42907,42907],\"valid\"],[[42908,42908],\"mapped\",[42909]],[[42909,42909],\"valid\"],[[42910,42910],\"mapped\",[42911]],[[42911,42911],\"valid\"],[[42912,42912],\"mapped\",[42913]],[[42913,42913],\"valid\"],[[42914,42914],\"mapped\",[42915]],[[42915,42915],\"valid\"],[[42916,42916],\"mapped\",[42917]],[[42917,42917],\"valid\"],[[42918,42918],\"mapped\",[42919]],[[42919,42919],\"valid\"],[[42920,42920],\"mapped\",[42921]],[[42921,42921],\"valid\"],[[42922,42922],\"mapped\",[614]],[[42923,42923],\"mapped\",[604]],[[42924,42924],\"mapped\",[609]],[[42925,42925],\"mapped\",[620]],[[42926,42927],\"disallowed\"],[[42928,42928],\"mapped\",[670]],[[42929,42929],\"mapped\",[647]],[[42930,42930],\"mapped\",[669]],[[42931,42931],\"mapped\",[43859]],[[42932,42932],\"mapped\",[42933]],[[42933,42933],\"valid\"],[[42934,42934],\"mapped\",[42935]],[[42935,42935],\"valid\"],[[42936,42998],\"disallowed\"],[[42999,42999],\"valid\"],[[43000,43000],\"mapped\",[295]],[[43001,43001],\"mapped\",[339]],[[43002,43002],\"valid\"],[[43003,43007],\"valid\"],[[43008,43047],\"valid\"],[[43048,43051],\"valid\",[],\"NV8\"],[[43052,43055],\"disallowed\"],[[43056,43065],\"valid\",[],\"NV8\"],[[43066,43071],\"disallowed\"],[[43072,43123],\"valid\"],[[43124,43127],\"valid\",[],\"NV8\"],[[43128,43135],\"disallowed\"],[[43136,43204],\"valid\"],[[43205,43213],\"disallowed\"],[[43214,43215],\"valid\",[],\"NV8\"],[[43216,43225],\"valid\"],[[43226,43231],\"disallowed\"],[[43232,43255],\"valid\"],[[43256,43258],\"valid\",[],\"NV8\"],[[43259,43259],\"valid\"],[[43260,43260],\"valid\",[],\"NV8\"],[[43261,43261],\"valid\"],[[43262,43263],\"disallowed\"],[[43264,43309],\"valid\"],[[43310,43311],\"valid\",[],\"NV8\"],[[43312,43347],\"valid\"],[[43348,43358],\"disallowed\"],[[43359,43359],\"valid\",[],\"NV8\"],[[43360,43388],\"valid\",[],\"NV8\"],[[43389,43391],\"disallowed\"],[[43392,43456],\"valid\"],[[43457,43469],\"valid\",[],\"NV8\"],[[43470,43470],\"disallowed\"],[[43471,43481],\"valid\"],[[43482,43485],\"disallowed\"],[[43486,43487],\"valid\",[],\"NV8\"],[[43488,43518],\"valid\"],[[43519,43519],\"disallowed\"],[[43520,43574],\"valid\"],[[43575,43583],\"disallowed\"],[[43584,43597],\"valid\"],[[43598,43599],\"disallowed\"],[[43600,43609],\"valid\"],[[43610,43611],\"disallowed\"],[[43612,43615],\"valid\",[],\"NV8\"],[[43616,43638],\"valid\"],[[43639,43641],\"valid\",[],\"NV8\"],[[43642,43643],\"valid\"],[[43644,43647],\"valid\"],[[43648,43714],\"valid\"],[[43715,43738],\"disallowed\"],[[43739,43741],\"valid\"],[[43742,43743],\"valid\",[],\"NV8\"],[[43744,43759],\"valid\"],[[43760,43761],\"valid\",[],\"NV8\"],[[43762,43766],\"valid\"],[[43767,43776],\"disallowed\"],[[43777,43782],\"valid\"],[[43783,43784],\"disallowed\"],[[43785,43790],\"valid\"],[[43791,43792],\"disallowed\"],[[43793,43798],\"valid\"],[[43799,43807],\"disallowed\"],[[43808,43814],\"valid\"],[[43815,43815],\"disallowed\"],[[43816,43822],\"valid\"],[[43823,43823],\"disallowed\"],[[43824,43866],\"valid\"],[[43867,43867],\"valid\",[],\"NV8\"],[[43868,43868],\"mapped\",[42791]],[[43869,43869],\"mapped\",[43831]],[[43870,43870],\"mapped\",[619]],[[43871,43871],\"mapped\",[43858]],[[43872,43875],\"valid\"],[[43876,43877],\"valid\"],[[43878,43887],\"disallowed\"],[[43888,43888],\"mapped\",[5024]],[[43889,43889],\"mapped\",[5025]],[[43890,43890],\"mapped\",[5026]],[[43891,43891],\"mapped\",[5027]],[[43892,43892],\"mapped\",[5028]],[[43893,43893],\"mapped\",[5029]],[[43894,43894],\"mapped\",[5030]],[[43895,43895],\"mapped\",[5031]],[[43896,43896],\"mapped\",[5032]],[[43897,43897],\"mapped\",[5033]],[[43898,43898],\"mapped\",[5034]],[[43899,43899],\"mapped\",[5035]],[[43900,43900],\"mapped\",[5036]],[[43901,43901],\"mapped\",[5037]],[[43902,43902],\"mapped\",[5038]],[[43903,43903],\"mapped\",[5039]],[[43904,43904],\"mapped\",[5040]],[[43905,43905],\"mapped\",[5041]],[[43906,43906],\"mapped\",[5042]],[[43907,43907],\"mapped\",[5043]],[[43908,43908],\"mapped\",[5044]],[[43909,43909],\"mapped\",[5045]],[[43910,43910],\"mapped\",[5046]],[[43911,43911],\"mapped\",[5047]],[[43912,43912],\"mapped\",[5048]],[[43913,43913],\"mapped\",[5049]],[[43914,43914],\"mapped\",[5050]],[[43915,43915],\"mapped\",[5051]],[[43916,43916],\"mapped\",[5052]],[[43917,43917],\"mapped\",[5053]],[[43918,43918],\"mapped\",[5054]],[[43919,43919],\"mapped\",[5055]],[[43920,43920],\"mapped\",[5056]],[[43921,43921],\"mapped\",[5057]],[[43922,43922],\"mapped\",[5058]],[[43923,43923],\"mapped\",[5059]],[[43924,43924],\"mapped\",[5060]],[[43925,43925],\"mapped\",[5061]],[[43926,43926],\"mapped\",[5062]],[[43927,43927],\"mapped\",[5063]],[[43928,43928],\"mapped\",[5064]],[[43929,43929],\"mapped\",[5065]],[[43930,43930],\"mapped\",[5066]],[[43931,43931],\"mapped\",[5067]],[[43932,43932],\"mapped\",[5068]],[[43933,43933],\"mapped\",[5069]],[[43934,43934],\"mapped\",[5070]],[[43935,43935],\"mapped\",[5071]],[[43936,43936],\"mapped\",[5072]],[[43937,43937],\"mapped\",[5073]],[[43938,43938],\"mapped\",[5074]],[[43939,43939],\"mapped\",[5075]],[[43940,43940],\"mapped\",[5076]],[[43941,43941],\"mapped\",[5077]],[[43942,43942],\"mapped\",[5078]],[[43943,43943],\"mapped\",[5079]],[[43944,43944],\"mapped\",[5080]],[[43945,43945],\"mapped\",[5081]],[[43946,43946],\"mapped\",[5082]],[[43947,43947],\"mapped\",[5083]],[[43948,43948],\"mapped\",[5084]],[[43949,43949],\"mapped\",[5085]],[[43950,43950],\"mapped\",[5086]],[[43951,43951],\"mapped\",[5087]],[[43952,43952],\"mapped\",[5088]],[[43953,43953],\"mapped\",[5089]],[[43954,43954],\"mapped\",[5090]],[[43955,43955],\"mapped\",[5091]],[[43956,43956],\"mapped\",[5092]],[[43957,43957],\"mapped\",[5093]],[[43958,43958],\"mapped\",[5094]],[[43959,43959],\"mapped\",[5095]],[[43960,43960],\"mapped\",[5096]],[[43961,43961],\"mapped\",[5097]],[[43962,43962],\"mapped\",[5098]],[[43963,43963],\"mapped\",[5099]],[[43964,43964],\"mapped\",[5100]],[[43965,43965],\"mapped\",[5101]],[[43966,43966],\"mapped\",[5102]],[[43967,43967],\"mapped\",[5103]],[[43968,44010],\"valid\"],[[44011,44011],\"valid\",[],\"NV8\"],[[44012,44013],\"valid\"],[[44014,44015],\"disallowed\"],[[44016,44025],\"valid\"],[[44026,44031],\"disallowed\"],[[44032,55203],\"valid\"],[[55204,55215],\"disallowed\"],[[55216,55238],\"valid\",[],\"NV8\"],[[55239,55242],\"disallowed\"],[[55243,55291],\"valid\",[],\"NV8\"],[[55292,55295],\"disallowed\"],[[55296,57343],\"disallowed\"],[[57344,63743],\"disallowed\"],[[63744,63744],\"mapped\",[35912]],[[63745,63745],\"mapped\",[26356]],[[63746,63746],\"mapped\",[36554]],[[63747,63747],\"mapped\",[36040]],[[63748,63748],\"mapped\",[28369]],[[63749,63749],\"mapped\",[20018]],[[63750,63750],\"mapped\",[21477]],[[63751,63752],\"mapped\",[40860]],[[63753,63753],\"mapped\",[22865]],[[63754,63754],\"mapped\",[37329]],[[63755,63755],\"mapped\",[21895]],[[63756,63756],\"mapped\",[22856]],[[63757,63757],\"mapped\",[25078]],[[63758,63758],\"mapped\",[30313]],[[63759,63759],\"mapped\",[32645]],[[63760,63760],\"mapped\",[34367]],[[63761,63761],\"mapped\",[34746]],[[63762,63762],\"mapped\",[35064]],[[63763,63763],\"mapped\",[37007]],[[63764,63764],\"mapped\",[27138]],[[63765,63765],\"mapped\",[27931]],[[63766,63766],\"mapped\",[28889]],[[63767,63767],\"mapped\",[29662]],[[63768,63768],\"mapped\",[33853]],[[63769,63769],\"mapped\",[37226]],[[63770,63770],\"mapped\",[39409]],[[63771,63771],\"mapped\",[20098]],[[63772,63772],\"mapped\",[21365]],[[63773,63773],\"mapped\",[27396]],[[63774,63774],\"mapped\",[29211]],[[63775,63775],\"mapped\",[34349]],[[63776,63776],\"mapped\",[40478]],[[63777,63777],\"mapped\",[23888]],[[63778,63778],\"mapped\",[28651]],[[63779,63779],\"mapped\",[34253]],[[63780,63780],\"mapped\",[35172]],[[63781,63781],\"mapped\",[25289]],[[63782,63782],\"mapped\",[33240]],[[63783,63783],\"mapped\",[34847]],[[63784,63784],\"mapped\",[24266]],[[63785,63785],\"mapped\",[26391]],[[63786,63786],\"mapped\",[28010]],[[63787,63787],\"mapped\",[29436]],[[63788,63788],\"mapped\",[37070]],[[63789,63789],\"mapped\",[20358]],[[63790,63790],\"mapped\",[20919]],[[63791,63791],\"mapped\",[21214]],[[63792,63792],\"mapped\",[25796]],[[63793,63793],\"mapped\",[27347]],[[63794,63794],\"mapped\",[29200]],[[63795,63795],\"mapped\",[30439]],[[63796,63796],\"mapped\",[32769]],[[63797,63797],\"mapped\",[34310]],[[63798,63798],\"mapped\",[34396]],[[63799,63799],\"mapped\",[36335]],[[63800,63800],\"mapped\",[38706]],[[63801,63801],\"mapped\",[39791]],[[63802,63802],\"mapped\",[40442]],[[63803,63803],\"mapped\",[30860]],[[63804,63804],\"mapped\",[31103]],[[63805,63805],\"mapped\",[32160]],[[63806,63806],\"mapped\",[33737]],[[63807,63807],\"mapped\",[37636]],[[63808,63808],\"mapped\",[40575]],[[63809,63809],\"mapped\",[35542]],[[63810,63810],\"mapped\",[22751]],[[63811,63811],\"mapped\",[24324]],[[63812,63812],\"mapped\",[31840]],[[63813,63813],\"mapped\",[32894]],[[63814,63814],\"mapped\",[29282]],[[63815,63815],\"mapped\",[30922]],[[63816,63816],\"mapped\",[36034]],[[63817,63817],\"mapped\",[38647]],[[63818,63818],\"mapped\",[22744]],[[63819,63819],\"mapped\",[23650]],[[63820,63820],\"mapped\",[27155]],[[63821,63821],\"mapped\",[28122]],[[63822,63822],\"mapped\",[28431]],[[63823,63823],\"mapped\",[32047]],[[63824,63824],\"mapped\",[32311]],[[63825,63825],\"mapped\",[38475]],[[63826,63826],\"mapped\",[21202]],[[63827,63827],\"mapped\",[32907]],[[63828,63828],\"mapped\",[20956]],[[63829,63829],\"mapped\",[20940]],[[63830,63830],\"mapped\",[31260]],[[63831,63831],\"mapped\",[32190]],[[63832,63832],\"mapped\",[33777]],[[63833,63833],\"mapped\",[38517]],[[63834,63834],\"mapped\",[35712]],[[63835,63835],\"mapped\",[25295]],[[63836,63836],\"mapped\",[27138]],[[63837,63837],\"mapped\",[35582]],[[63838,63838],\"mapped\",[20025]],[[63839,63839],\"mapped\",[23527]],[[63840,63840],\"mapped\",[24594]],[[63841,63841],\"mapped\",[29575]],[[63842,63842],\"mapped\",[30064]],[[63843,63843],\"mapped\",[21271]],[[63844,63844],\"mapped\",[30971]],[[63845,63845],\"mapped\",[20415]],[[63846,63846],\"mapped\",[24489]],[[63847,63847],\"mapped\",[19981]],[[63848,63848],\"mapped\",[27852]],[[63849,63849],\"mapped\",[25976]],[[63850,63850],\"mapped\",[32034]],[[63851,63851],\"mapped\",[21443]],[[63852,63852],\"mapped\",[22622]],[[63853,63853],\"mapped\",[30465]],[[63854,63854],\"mapped\",[33865]],[[63855,63855],\"mapped\",[35498]],[[63856,63856],\"mapped\",[27578]],[[63857,63857],\"mapped\",[36784]],[[63858,63858],\"mapped\",[27784]],[[63859,63859],\"mapped\",[25342]],[[63860,63860],\"mapped\",[33509]],[[63861,63861],\"mapped\",[25504]],[[63862,63862],\"mapped\",[30053]],[[63863,63863],\"mapped\",[20142]],[[63864,63864],\"mapped\",[20841]],[[63865,63865],\"mapped\",[20937]],[[63866,63866],\"mapped\",[26753]],[[63867,63867],\"mapped\",[31975]],[[63868,63868],\"mapped\",[33391]],[[63869,63869],\"mapped\",[35538]],[[63870,63870],\"mapped\",[37327]],[[63871,63871],\"mapped\",[21237]],[[63872,63872],\"mapped\",[21570]],[[63873,63873],\"mapped\",[22899]],[[63874,63874],\"mapped\",[24300]],[[63875,63875],\"mapped\",[26053]],[[63876,63876],\"mapped\",[28670]],[[63877,63877],\"mapped\",[31018]],[[63878,63878],\"mapped\",[38317]],[[63879,63879],\"mapped\",[39530]],[[63880,63880],\"mapped\",[40599]],[[63881,63881],\"mapped\",[40654]],[[63882,63882],\"mapped\",[21147]],[[63883,63883],\"mapped\",[26310]],[[63884,63884],\"mapped\",[27511]],[[63885,63885],\"mapped\",[36706]],[[63886,63886],\"mapped\",[24180]],[[63887,63887],\"mapped\",[24976]],[[63888,63888],\"mapped\",[25088]],[[63889,63889],\"mapped\",[25754]],[[63890,63890],\"mapped\",[28451]],[[63891,63891],\"mapped\",[29001]],[[63892,63892],\"mapped\",[29833]],[[63893,63893],\"mapped\",[31178]],[[63894,63894],\"mapped\",[32244]],[[63895,63895],\"mapped\",[32879]],[[63896,63896],\"mapped\",[36646]],[[63897,63897],\"mapped\",[34030]],[[63898,63898],\"mapped\",[36899]],[[63899,63899],\"mapped\",[37706]],[[63900,63900],\"mapped\",[21015]],[[63901,63901],\"mapped\",[21155]],[[63902,63902],\"mapped\",[21693]],[[63903,63903],\"mapped\",[28872]],[[63904,63904],\"mapped\",[35010]],[[63905,63905],\"mapped\",[35498]],[[63906,63906],\"mapped\",[24265]],[[63907,63907],\"mapped\",[24565]],[[63908,63908],\"mapped\",[25467]],[[63909,63909],\"mapped\",[27566]],[[63910,63910],\"mapped\",[31806]],[[63911,63911],\"mapped\",[29557]],[[63912,63912],\"mapped\",[20196]],[[63913,63913],\"mapped\",[22265]],[[63914,63914],\"mapped\",[23527]],[[63915,63915],\"mapped\",[23994]],[[63916,63916],\"mapped\",[24604]],[[63917,63917],\"mapped\",[29618]],[[63918,63918],\"mapped\",[29801]],[[63919,63919],\"mapped\",[32666]],[[63920,63920],\"mapped\",[32838]],[[63921,63921],\"mapped\",[37428]],[[63922,63922],\"mapped\",[38646]],[[63923,63923],\"mapped\",[38728]],[[63924,63924],\"mapped\",[38936]],[[63925,63925],\"mapped\",[20363]],[[63926,63926],\"mapped\",[31150]],[[63927,63927],\"mapped\",[37300]],[[63928,63928],\"mapped\",[38584]],[[63929,63929],\"mapped\",[24801]],[[63930,63930],\"mapped\",[20102]],[[63931,63931],\"mapped\",[20698]],[[63932,63932],\"mapped\",[23534]],[[63933,63933],\"mapped\",[23615]],[[63934,63934],\"mapped\",[26009]],[[63935,63935],\"mapped\",[27138]],[[63936,63936],\"mapped\",[29134]],[[63937,63937],\"mapped\",[30274]],[[63938,63938],\"mapped\",[34044]],[[63939,63939],\"mapped\",[36988]],[[63940,63940],\"mapped\",[40845]],[[63941,63941],\"mapped\",[26248]],[[63942,63942],\"mapped\",[38446]],[[63943,63943],\"mapped\",[21129]],[[63944,63944],\"mapped\",[26491]],[[63945,63945],\"mapped\",[26611]],[[63946,63946],\"mapped\",[27969]],[[63947,63947],\"mapped\",[28316]],[[63948,63948],\"mapped\",[29705]],[[63949,63949],\"mapped\",[30041]],[[63950,63950],\"mapped\",[30827]],[[63951,63951],\"mapped\",[32016]],[[63952,63952],\"mapped\",[39006]],[[63953,63953],\"mapped\",[20845]],[[63954,63954],\"mapped\",[25134]],[[63955,63955],\"mapped\",[38520]],[[63956,63956],\"mapped\",[20523]],[[63957,63957],\"mapped\",[23833]],[[63958,63958],\"mapped\",[28138]],[[63959,63959],\"mapped\",[36650]],[[63960,63960],\"mapped\",[24459]],[[63961,63961],\"mapped\",[24900]],[[63962,63962],\"mapped\",[26647]],[[63963,63963],\"mapped\",[29575]],[[63964,63964],\"mapped\",[38534]],[[63965,63965],\"mapped\",[21033]],[[63966,63966],\"mapped\",[21519]],[[63967,63967],\"mapped\",[23653]],[[63968,63968],\"mapped\",[26131]],[[63969,63969],\"mapped\",[26446]],[[63970,63970],\"mapped\",[26792]],[[63971,63971],\"mapped\",[27877]],[[63972,63972],\"mapped\",[29702]],[[63973,63973],\"mapped\",[30178]],[[63974,63974],\"mapped\",[32633]],[[63975,63975],\"mapped\",[35023]],[[63976,63976],\"mapped\",[35041]],[[63977,63977],\"mapped\",[37324]],[[63978,63978],\"mapped\",[38626]],[[63979,63979],\"mapped\",[21311]],[[63980,63980],\"mapped\",[28346]],[[63981,63981],\"mapped\",[21533]],[[63982,63982],\"mapped\",[29136]],[[63983,63983],\"mapped\",[29848]],[[63984,63984],\"mapped\",[34298]],[[63985,63985],\"mapped\",[38563]],[[63986,63986],\"mapped\",[40023]],[[63987,63987],\"mapped\",[40607]],[[63988,63988],\"mapped\",[26519]],[[63989,63989],\"mapped\",[28107]],[[63990,63990],\"mapped\",[33256]],[[63991,63991],\"mapped\",[31435]],[[63992,63992],\"mapped\",[31520]],[[63993,63993],\"mapped\",[31890]],[[63994,63994],\"mapped\",[29376]],[[63995,63995],\"mapped\",[28825]],[[63996,63996],\"mapped\",[35672]],[[63997,63997],\"mapped\",[20160]],[[63998,63998],\"mapped\",[33590]],[[63999,63999],\"mapped\",[21050]],[[64000,64000],\"mapped\",[20999]],[[64001,64001],\"mapped\",[24230]],[[64002,64002],\"mapped\",[25299]],[[64003,64003],\"mapped\",[31958]],[[64004,64004],\"mapped\",[23429]],[[64005,64005],\"mapped\",[27934]],[[64006,64006],\"mapped\",[26292]],[[64007,64007],\"mapped\",[36667]],[[64008,64008],\"mapped\",[34892]],[[64009,64009],\"mapped\",[38477]],[[64010,64010],\"mapped\",[35211]],[[64011,64011],\"mapped\",[24275]],[[64012,64012],\"mapped\",[20800]],[[64013,64013],\"mapped\",[21952]],[[64014,64015],\"valid\"],[[64016,64016],\"mapped\",[22618]],[[64017,64017],\"valid\"],[[64018,64018],\"mapped\",[26228]],[[64019,64020],\"valid\"],[[64021,64021],\"mapped\",[20958]],[[64022,64022],\"mapped\",[29482]],[[64023,64023],\"mapped\",[30410]],[[64024,64024],\"mapped\",[31036]],[[64025,64025],\"mapped\",[31070]],[[64026,64026],\"mapped\",[31077]],[[64027,64027],\"mapped\",[31119]],[[64028,64028],\"mapped\",[38742]],[[64029,64029],\"mapped\",[31934]],[[64030,64030],\"mapped\",[32701]],[[64031,64031],\"valid\"],[[64032,64032],\"mapped\",[34322]],[[64033,64033],\"valid\"],[[64034,64034],\"mapped\",[35576]],[[64035,64036],\"valid\"],[[64037,64037],\"mapped\",[36920]],[[64038,64038],\"mapped\",[37117]],[[64039,64041],\"valid\"],[[64042,64042],\"mapped\",[39151]],[[64043,64043],\"mapped\",[39164]],[[64044,64044],\"mapped\",[39208]],[[64045,64045],\"mapped\",[40372]],[[64046,64046],\"mapped\",[37086]],[[64047,64047],\"mapped\",[38583]],[[64048,64048],\"mapped\",[20398]],[[64049,64049],\"mapped\",[20711]],[[64050,64050],\"mapped\",[20813]],[[64051,64051],\"mapped\",[21193]],[[64052,64052],\"mapped\",[21220]],[[64053,64053],\"mapped\",[21329]],[[64054,64054],\"mapped\",[21917]],[[64055,64055],\"mapped\",[22022]],[[64056,64056],\"mapped\",[22120]],[[64057,64057],\"mapped\",[22592]],[[64058,64058],\"mapped\",[22696]],[[64059,64059],\"mapped\",[23652]],[[64060,64060],\"mapped\",[23662]],[[64061,64061],\"mapped\",[24724]],[[64062,64062],\"mapped\",[24936]],[[64063,64063],\"mapped\",[24974]],[[64064,64064],\"mapped\",[25074]],[[64065,64065],\"mapped\",[25935]],[[64066,64066],\"mapped\",[26082]],[[64067,64067],\"mapped\",[26257]],[[64068,64068],\"mapped\",[26757]],[[64069,64069],\"mapped\",[28023]],[[64070,64070],\"mapped\",[28186]],[[64071,64071],\"mapped\",[28450]],[[64072,64072],\"mapped\",[29038]],[[64073,64073],\"mapped\",[29227]],[[64074,64074],\"mapped\",[29730]],[[64075,64075],\"mapped\",[30865]],[[64076,64076],\"mapped\",[31038]],[[64077,64077],\"mapped\",[31049]],[[64078,64078],\"mapped\",[31048]],[[64079,64079],\"mapped\",[31056]],[[64080,64080],\"mapped\",[31062]],[[64081,64081],\"mapped\",[31069]],[[64082,64082],\"mapped\",[31117]],[[64083,64083],\"mapped\",[31118]],[[64084,64084],\"mapped\",[31296]],[[64085,64085],\"mapped\",[31361]],[[64086,64086],\"mapped\",[31680]],[[64087,64087],\"mapped\",[32244]],[[64088,64088],\"mapped\",[32265]],[[64089,64089],\"mapped\",[32321]],[[64090,64090],\"mapped\",[32626]],[[64091,64091],\"mapped\",[32773]],[[64092,64092],\"mapped\",[33261]],[[64093,64094],\"mapped\",[33401]],[[64095,64095],\"mapped\",[33879]],[[64096,64096],\"mapped\",[35088]],[[64097,64097],\"mapped\",[35222]],[[64098,64098],\"mapped\",[35585]],[[64099,64099],\"mapped\",[35641]],[[64100,64100],\"mapped\",[36051]],[[64101,64101],\"mapped\",[36104]],[[64102,64102],\"mapped\",[36790]],[[64103,64103],\"mapped\",[36920]],[[64104,64104],\"mapped\",[38627]],[[64105,64105],\"mapped\",[38911]],[[64106,64106],\"mapped\",[38971]],[[64107,64107],\"mapped\",[24693]],[[64108,64108],\"mapped\",[148206]],[[64109,64109],\"mapped\",[33304]],[[64110,64111],\"disallowed\"],[[64112,64112],\"mapped\",[20006]],[[64113,64113],\"mapped\",[20917]],[[64114,64114],\"mapped\",[20840]],[[64115,64115],\"mapped\",[20352]],[[64116,64116],\"mapped\",[20805]],[[64117,64117],\"mapped\",[20864]],[[64118,64118],\"mapped\",[21191]],[[64119,64119],\"mapped\",[21242]],[[64120,64120],\"mapped\",[21917]],[[64121,64121],\"mapped\",[21845]],[[64122,64122],\"mapped\",[21913]],[[64123,64123],\"mapped\",[21986]],[[64124,64124],\"mapped\",[22618]],[[64125,64125],\"mapped\",[22707]],[[64126,64126],\"mapped\",[22852]],[[64127,64127],\"mapped\",[22868]],[[64128,64128],\"mapped\",[23138]],[[64129,64129],\"mapped\",[23336]],[[64130,64130],\"mapped\",[24274]],[[64131,64131],\"mapped\",[24281]],[[64132,64132],\"mapped\",[24425]],[[64133,64133],\"mapped\",[24493]],[[64134,64134],\"mapped\",[24792]],[[64135,64135],\"mapped\",[24910]],[[64136,64136],\"mapped\",[24840]],[[64137,64137],\"mapped\",[24974]],[[64138,64138],\"mapped\",[24928]],[[64139,64139],\"mapped\",[25074]],[[64140,64140],\"mapped\",[25140]],[[64141,64141],\"mapped\",[25540]],[[64142,64142],\"mapped\",[25628]],[[64143,64143],\"mapped\",[25682]],[[64144,64144],\"mapped\",[25942]],[[64145,64145],\"mapped\",[26228]],[[64146,64146],\"mapped\",[26391]],[[64147,64147],\"mapped\",[26395]],[[64148,64148],\"mapped\",[26454]],[[64149,64149],\"mapped\",[27513]],[[64150,64150],\"mapped\",[27578]],[[64151,64151],\"mapped\",[27969]],[[64152,64152],\"mapped\",[28379]],[[64153,64153],\"mapped\",[28363]],[[64154,64154],\"mapped\",[28450]],[[64155,64155],\"mapped\",[28702]],[[64156,64156],\"mapped\",[29038]],[[64157,64157],\"mapped\",[30631]],[[64158,64158],\"mapped\",[29237]],[[64159,64159],\"mapped\",[29359]],[[64160,64160],\"mapped\",[29482]],[[64161,64161],\"mapped\",[29809]],[[64162,64162],\"mapped\",[29958]],[[64163,64163],\"mapped\",[30011]],[[64164,64164],\"mapped\",[30237]],[[64165,64165],\"mapped\",[30239]],[[64166,64166],\"mapped\",[30410]],[[64167,64167],\"mapped\",[30427]],[[64168,64168],\"mapped\",[30452]],[[64169,64169],\"mapped\",[30538]],[[64170,64170],\"mapped\",[30528]],[[64171,64171],\"mapped\",[30924]],[[64172,64172],\"mapped\",[31409]],[[64173,64173],\"mapped\",[31680]],[[64174,64174],\"mapped\",[31867]],[[64175,64175],\"mapped\",[32091]],[[64176,64176],\"mapped\",[32244]],[[64177,64177],\"mapped\",[32574]],[[64178,64178],\"mapped\",[32773]],[[64179,64179],\"mapped\",[33618]],[[64180,64180],\"mapped\",[33775]],[[64181,64181],\"mapped\",[34681]],[[64182,64182],\"mapped\",[35137]],[[64183,64183],\"mapped\",[35206]],[[64184,64184],\"mapped\",[35222]],[[64185,64185],\"mapped\",[35519]],[[64186,64186],\"mapped\",[35576]],[[64187,64187],\"mapped\",[35531]],[[64188,64188],\"mapped\",[35585]],[[64189,64189],\"mapped\",[35582]],[[64190,64190],\"mapped\",[35565]],[[64191,64191],\"mapped\",[35641]],[[64192,64192],\"mapped\",[35722]],[[64193,64193],\"mapped\",[36104]],[[64194,64194],\"mapped\",[36664]],[[64195,64195],\"mapped\",[36978]],[[64196,64196],\"mapped\",[37273]],[[64197,64197],\"mapped\",[37494]],[[64198,64198],\"mapped\",[38524]],[[64199,64199],\"mapped\",[38627]],[[64200,64200],\"mapped\",[38742]],[[64201,64201],\"mapped\",[38875]],[[64202,64202],\"mapped\",[38911]],[[64203,64203],\"mapped\",[38923]],[[64204,64204],\"mapped\",[38971]],[[64205,64205],\"mapped\",[39698]],[[64206,64206],\"mapped\",[40860]],[[64207,64207],\"mapped\",[141386]],[[64208,64208],\"mapped\",[141380]],[[64209,64209],\"mapped\",[144341]],[[64210,64210],\"mapped\",[15261]],[[64211,64211],\"mapped\",[16408]],[[64212,64212],\"mapped\",[16441]],[[64213,64213],\"mapped\",[152137]],[[64214,64214],\"mapped\",[154832]],[[64215,64215],\"mapped\",[163539]],[[64216,64216],\"mapped\",[40771]],[[64217,64217],\"mapped\",[40846]],[[64218,64255],\"disallowed\"],[[64256,64256],\"mapped\",[102,102]],[[64257,64257],\"mapped\",[102,105]],[[64258,64258],\"mapped\",[102,108]],[[64259,64259],\"mapped\",[102,102,105]],[[64260,64260],\"mapped\",[102,102,108]],[[64261,64262],\"mapped\",[115,116]],[[64263,64274],\"disallowed\"],[[64275,64275],\"mapped\",[1396,1398]],[[64276,64276],\"mapped\",[1396,1381]],[[64277,64277],\"mapped\",[1396,1387]],[[64278,64278],\"mapped\",[1406,1398]],[[64279,64279],\"mapped\",[1396,1389]],[[64280,64284],\"disallowed\"],[[64285,64285],\"mapped\",[1497,1460]],[[64286,64286],\"valid\"],[[64287,64287],\"mapped\",[1522,1463]],[[64288,64288],\"mapped\",[1506]],[[64289,64289],\"mapped\",[1488]],[[64290,64290],\"mapped\",[1491]],[[64291,64291],\"mapped\",[1492]],[[64292,64292],\"mapped\",[1499]],[[64293,64293],\"mapped\",[1500]],[[64294,64294],\"mapped\",[1501]],[[64295,64295],\"mapped\",[1512]],[[64296,64296],\"mapped\",[1514]],[[64297,64297],\"disallowed_STD3_mapped\",[43]],[[64298,64298],\"mapped\",[1513,1473]],[[64299,64299],\"mapped\",[1513,1474]],[[64300,64300],\"mapped\",[1513,1468,1473]],[[64301,64301],\"mapped\",[1513,1468,1474]],[[64302,64302],\"mapped\",[1488,1463]],[[64303,64303],\"mapped\",[1488,1464]],[[64304,64304],\"mapped\",[1488,1468]],[[64305,64305],\"mapped\",[1489,1468]],[[64306,64306],\"mapped\",[1490,1468]],[[64307,64307],\"mapped\",[1491,1468]],[[64308,64308],\"mapped\",[1492,1468]],[[64309,64309],\"mapped\",[1493,1468]],[[64310,64310],\"mapped\",[1494,1468]],[[64311,64311],\"disallowed\"],[[64312,64312],\"mapped\",[1496,1468]],[[64313,64313],\"mapped\",[1497,1468]],[[64314,64314],\"mapped\",[1498,1468]],[[64315,64315],\"mapped\",[1499,1468]],[[64316,64316],\"mapped\",[1500,1468]],[[64317,64317],\"disallowed\"],[[64318,64318],\"mapped\",[1502,1468]],[[64319,64319],\"disallowed\"],[[64320,64320],\"mapped\",[1504,1468]],[[64321,64321],\"mapped\",[1505,1468]],[[64322,64322],\"disallowed\"],[[64323,64323],\"mapped\",[1507,1468]],[[64324,64324],\"mapped\",[1508,1468]],[[64325,64325],\"disallowed\"],[[64326,64326],\"mapped\",[1510,1468]],[[64327,64327],\"mapped\",[1511,1468]],[[64328,64328],\"mapped\",[1512,1468]],[[64329,64329],\"mapped\",[1513,1468]],[[64330,64330],\"mapped\",[1514,1468]],[[64331,64331],\"mapped\",[1493,1465]],[[64332,64332],\"mapped\",[1489,1471]],[[64333,64333],\"mapped\",[1499,1471]],[[64334,64334],\"mapped\",[1508,1471]],[[64335,64335],\"mapped\",[1488,1500]],[[64336,64337],\"mapped\",[1649]],[[64338,64341],\"mapped\",[1659]],[[64342,64345],\"mapped\",[1662]],[[64346,64349],\"mapped\",[1664]],[[64350,64353],\"mapped\",[1658]],[[64354,64357],\"mapped\",[1663]],[[64358,64361],\"mapped\",[1657]],[[64362,64365],\"mapped\",[1700]],[[64366,64369],\"mapped\",[1702]],[[64370,64373],\"mapped\",[1668]],[[64374,64377],\"mapped\",[1667]],[[64378,64381],\"mapped\",[1670]],[[64382,64385],\"mapped\",[1671]],[[64386,64387],\"mapped\",[1677]],[[64388,64389],\"mapped\",[1676]],[[64390,64391],\"mapped\",[1678]],[[64392,64393],\"mapped\",[1672]],[[64394,64395],\"mapped\",[1688]],[[64396,64397],\"mapped\",[1681]],[[64398,64401],\"mapped\",[1705]],[[64402,64405],\"mapped\",[1711]],[[64406,64409],\"mapped\",[1715]],[[64410,64413],\"mapped\",[1713]],[[64414,64415],\"mapped\",[1722]],[[64416,64419],\"mapped\",[1723]],[[64420,64421],\"mapped\",[1728]],[[64422,64425],\"mapped\",[1729]],[[64426,64429],\"mapped\",[1726]],[[64430,64431],\"mapped\",[1746]],[[64432,64433],\"mapped\",[1747]],[[64434,64449],\"valid\",[],\"NV8\"],[[64450,64466],\"disallowed\"],[[64467,64470],\"mapped\",[1709]],[[64471,64472],\"mapped\",[1735]],[[64473,64474],\"mapped\",[1734]],[[64475,64476],\"mapped\",[1736]],[[64477,64477],\"mapped\",[1735,1652]],[[64478,64479],\"mapped\",[1739]],[[64480,64481],\"mapped\",[1733]],[[64482,64483],\"mapped\",[1737]],[[64484,64487],\"mapped\",[1744]],[[64488,64489],\"mapped\",[1609]],[[64490,64491],\"mapped\",[1574,1575]],[[64492,64493],\"mapped\",[1574,1749]],[[64494,64495],\"mapped\",[1574,1608]],[[64496,64497],\"mapped\",[1574,1735]],[[64498,64499],\"mapped\",[1574,1734]],[[64500,64501],\"mapped\",[1574,1736]],[[64502,64504],\"mapped\",[1574,1744]],[[64505,64507],\"mapped\",[1574,1609]],[[64508,64511],\"mapped\",[1740]],[[64512,64512],\"mapped\",[1574,1580]],[[64513,64513],\"mapped\",[1574,1581]],[[64514,64514],\"mapped\",[1574,1605]],[[64515,64515],\"mapped\",[1574,1609]],[[64516,64516],\"mapped\",[1574,1610]],[[64517,64517],\"mapped\",[1576,1580]],[[64518,64518],\"mapped\",[1576,1581]],[[64519,64519],\"mapped\",[1576,1582]],[[64520,64520],\"mapped\",[1576,1605]],[[64521,64521],\"mapped\",[1576,1609]],[[64522,64522],\"mapped\",[1576,1610]],[[64523,64523],\"mapped\",[1578,1580]],[[64524,64524],\"mapped\",[1578,1581]],[[64525,64525],\"mapped\",[1578,1582]],[[64526,64526],\"mapped\",[1578,1605]],[[64527,64527],\"mapped\",[1578,1609]],[[64528,64528],\"mapped\",[1578,1610]],[[64529,64529],\"mapped\",[1579,1580]],[[64530,64530],\"mapped\",[1579,1605]],[[64531,64531],\"mapped\",[1579,1609]],[[64532,64532],\"mapped\",[1579,1610]],[[64533,64533],\"mapped\",[1580,1581]],[[64534,64534],\"mapped\",[1580,1605]],[[64535,64535],\"mapped\",[1581,1580]],[[64536,64536],\"mapped\",[1581,1605]],[[64537,64537],\"mapped\",[1582,1580]],[[64538,64538],\"mapped\",[1582,1581]],[[64539,64539],\"mapped\",[1582,1605]],[[64540,64540],\"mapped\",[1587,1580]],[[64541,64541],\"mapped\",[1587,1581]],[[64542,64542],\"mapped\",[1587,1582]],[[64543,64543],\"mapped\",[1587,1605]],[[64544,64544],\"mapped\",[1589,1581]],[[64545,64545],\"mapped\",[1589,1605]],[[64546,64546],\"mapped\",[1590,1580]],[[64547,64547],\"mapped\",[1590,1581]],[[64548,64548],\"mapped\",[1590,1582]],[[64549,64549],\"mapped\",[1590,1605]],[[64550,64550],\"mapped\",[1591,1581]],[[64551,64551],\"mapped\",[1591,1605]],[[64552,64552],\"mapped\",[1592,1605]],[[64553,64553],\"mapped\",[1593,1580]],[[64554,64554],\"mapped\",[1593,1605]],[[64555,64555],\"mapped\",[1594,1580]],[[64556,64556],\"mapped\",[1594,1605]],[[64557,64557],\"mapped\",[1601,1580]],[[64558,64558],\"mapped\",[1601,1581]],[[64559,64559],\"mapped\",[1601,1582]],[[64560,64560],\"mapped\",[1601,1605]],[[64561,64561],\"mapped\",[1601,1609]],[[64562,64562],\"mapped\",[1601,1610]],[[64563,64563],\"mapped\",[1602,1581]],[[64564,64564],\"mapped\",[1602,1605]],[[64565,64565],\"mapped\",[1602,1609]],[[64566,64566],\"mapped\",[1602,1610]],[[64567,64567],\"mapped\",[1603,1575]],[[64568,64568],\"mapped\",[1603,1580]],[[64569,64569],\"mapped\",[1603,1581]],[[64570,64570],\"mapped\",[1603,1582]],[[64571,64571],\"mapped\",[1603,1604]],[[64572,64572],\"mapped\",[1603,1605]],[[64573,64573],\"mapped\",[1603,1609]],[[64574,64574],\"mapped\",[1603,1610]],[[64575,64575],\"mapped\",[1604,1580]],[[64576,64576],\"mapped\",[1604,1581]],[[64577,64577],\"mapped\",[1604,1582]],[[64578,64578],\"mapped\",[1604,1605]],[[64579,64579],\"mapped\",[1604,1609]],[[64580,64580],\"mapped\",[1604,1610]],[[64581,64581],\"mapped\",[1605,1580]],[[64582,64582],\"mapped\",[1605,1581]],[[64583,64583],\"mapped\",[1605,1582]],[[64584,64584],\"mapped\",[1605,1605]],[[64585,64585],\"mapped\",[1605,1609]],[[64586,64586],\"mapped\",[1605,1610]],[[64587,64587],\"mapped\",[1606,1580]],[[64588,64588],\"mapped\",[1606,1581]],[[64589,64589],\"mapped\",[1606,1582]],[[64590,64590],\"mapped\",[1606,1605]],[[64591,64591],\"mapped\",[1606,1609]],[[64592,64592],\"mapped\",[1606,1610]],[[64593,64593],\"mapped\",[1607,1580]],[[64594,64594],\"mapped\",[1607,1605]],[[64595,64595],\"mapped\",[1607,1609]],[[64596,64596],\"mapped\",[1607,1610]],[[64597,64597],\"mapped\",[1610,1580]],[[64598,64598],\"mapped\",[1610,1581]],[[64599,64599],\"mapped\",[1610,1582]],[[64600,64600],\"mapped\",[1610,1605]],[[64601,64601],\"mapped\",[1610,1609]],[[64602,64602],\"mapped\",[1610,1610]],[[64603,64603],\"mapped\",[1584,1648]],[[64604,64604],\"mapped\",[1585,1648]],[[64605,64605],\"mapped\",[1609,1648]],[[64606,64606],\"disallowed_STD3_mapped\",[32,1612,1617]],[[64607,64607],\"disallowed_STD3_mapped\",[32,1613,1617]],[[64608,64608],\"disallowed_STD3_mapped\",[32,1614,1617]],[[64609,64609],\"disallowed_STD3_mapped\",[32,1615,1617]],[[64610,64610],\"disallowed_STD3_mapped\",[32,1616,1617]],[[64611,64611],\"disallowed_STD3_mapped\",[32,1617,1648]],[[64612,64612],\"mapped\",[1574,1585]],[[64613,64613],\"mapped\",[1574,1586]],[[64614,64614],\"mapped\",[1574,1605]],[[64615,64615],\"mapped\",[1574,1606]],[[64616,64616],\"mapped\",[1574,1609]],[[64617,64617],\"mapped\",[1574,1610]],[[64618,64618],\"mapped\",[1576,1585]],[[64619,64619],\"mapped\",[1576,1586]],[[64620,64620],\"mapped\",[1576,1605]],[[64621,64621],\"mapped\",[1576,1606]],[[64622,64622],\"mapped\",[1576,1609]],[[64623,64623],\"mapped\",[1576,1610]],[[64624,64624],\"mapped\",[1578,1585]],[[64625,64625],\"mapped\",[1578,1586]],[[64626,64626],\"mapped\",[1578,1605]],[[64627,64627],\"mapped\",[1578,1606]],[[64628,64628],\"mapped\",[1578,1609]],[[64629,64629],\"mapped\",[1578,1610]],[[64630,64630],\"mapped\",[1579,1585]],[[64631,64631],\"mapped\",[1579,1586]],[[64632,64632],\"mapped\",[1579,1605]],[[64633,64633],\"mapped\",[1579,1606]],[[64634,64634],\"mapped\",[1579,1609]],[[64635,64635],\"mapped\",[1579,1610]],[[64636,64636],\"mapped\",[1601,1609]],[[64637,64637],\"mapped\",[1601,1610]],[[64638,64638],\"mapped\",[1602,1609]],[[64639,64639],\"mapped\",[1602,1610]],[[64640,64640],\"mapped\",[1603,1575]],[[64641,64641],\"mapped\",[1603,1604]],[[64642,64642],\"mapped\",[1603,1605]],[[64643,64643],\"mapped\",[1603,1609]],[[64644,64644],\"mapped\",[1603,1610]],[[64645,64645],\"mapped\",[1604,1605]],[[64646,64646],\"mapped\",[1604,1609]],[[64647,64647],\"mapped\",[1604,1610]],[[64648,64648],\"mapped\",[1605,1575]],[[64649,64649],\"mapped\",[1605,1605]],[[64650,64650],\"mapped\",[1606,1585]],[[64651,64651],\"mapped\",[1606,1586]],[[64652,64652],\"mapped\",[1606,1605]],[[64653,64653],\"mapped\",[1606,1606]],[[64654,64654],\"mapped\",[1606,1609]],[[64655,64655],\"mapped\",[1606,1610]],[[64656,64656],\"mapped\",[1609,1648]],[[64657,64657],\"mapped\",[1610,1585]],[[64658,64658],\"mapped\",[1610,1586]],[[64659,64659],\"mapped\",[1610,1605]],[[64660,64660],\"mapped\",[1610,1606]],[[64661,64661],\"mapped\",[1610,1609]],[[64662,64662],\"mapped\",[1610,1610]],[[64663,64663],\"mapped\",[1574,1580]],[[64664,64664],\"mapped\",[1574,1581]],[[64665,64665],\"mapped\",[1574,1582]],[[64666,64666],\"mapped\",[1574,1605]],[[64667,64667],\"mapped\",[1574,1607]],[[64668,64668],\"mapped\",[1576,1580]],[[64669,64669],\"mapped\",[1576,1581]],[[64670,64670],\"mapped\",[1576,1582]],[[64671,64671],\"mapped\",[1576,1605]],[[64672,64672],\"mapped\",[1576,1607]],[[64673,64673],\"mapped\",[1578,1580]],[[64674,64674],\"mapped\",[1578,1581]],[[64675,64675],\"mapped\",[1578,1582]],[[64676,64676],\"mapped\",[1578,1605]],[[64677,64677],\"mapped\",[1578,1607]],[[64678,64678],\"mapped\",[1579,1605]],[[64679,64679],\"mapped\",[1580,1581]],[[64680,64680],\"mapped\",[1580,1605]],[[64681,64681],\"mapped\",[1581,1580]],[[64682,64682],\"mapped\",[1581,1605]],[[64683,64683],\"mapped\",[1582,1580]],[[64684,64684],\"mapped\",[1582,1605]],[[64685,64685],\"mapped\",[1587,1580]],[[64686,64686],\"mapped\",[1587,1581]],[[64687,64687],\"mapped\",[1587,1582]],[[64688,64688],\"mapped\",[1587,1605]],[[64689,64689],\"mapped\",[1589,1581]],[[64690,64690],\"mapped\",[1589,1582]],[[64691,64691],\"mapped\",[1589,1605]],[[64692,64692],\"mapped\",[1590,1580]],[[64693,64693],\"mapped\",[1590,1581]],[[64694,64694],\"mapped\",[1590,1582]],[[64695,64695],\"mapped\",[1590,1605]],[[64696,64696],\"mapped\",[1591,1581]],[[64697,64697],\"mapped\",[1592,1605]],[[64698,64698],\"mapped\",[1593,1580]],[[64699,64699],\"mapped\",[1593,1605]],[[64700,64700],\"mapped\",[1594,1580]],[[64701,64701],\"mapped\",[1594,1605]],[[64702,64702],\"mapped\",[1601,1580]],[[64703,64703],\"mapped\",[1601,1581]],[[64704,64704],\"mapped\",[1601,1582]],[[64705,64705],\"mapped\",[1601,1605]],[[64706,64706],\"mapped\",[1602,1581]],[[64707,64707],\"mapped\",[1602,1605]],[[64708,64708],\"mapped\",[1603,1580]],[[64709,64709],\"mapped\",[1603,1581]],[[64710,64710],\"mapped\",[1603,1582]],[[64711,64711],\"mapped\",[1603,1604]],[[64712,64712],\"mapped\",[1603,1605]],[[64713,64713],\"mapped\",[1604,1580]],[[64714,64714],\"mapped\",[1604,1581]],[[64715,64715],\"mapped\",[1604,1582]],[[64716,64716],\"mapped\",[1604,1605]],[[64717,64717],\"mapped\",[1604,1607]],[[64718,64718],\"mapped\",[1605,1580]],[[64719,64719],\"mapped\",[1605,1581]],[[64720,64720],\"mapped\",[1605,1582]],[[64721,64721],\"mapped\",[1605,1605]],[[64722,64722],\"mapped\",[1606,1580]],[[64723,64723],\"mapped\",[1606,1581]],[[64724,64724],\"mapped\",[1606,1582]],[[64725,64725],\"mapped\",[1606,1605]],[[64726,64726],\"mapped\",[1606,1607]],[[64727,64727],\"mapped\",[1607,1580]],[[64728,64728],\"mapped\",[1607,1605]],[[64729,64729],\"mapped\",[1607,1648]],[[64730,64730],\"mapped\",[1610,1580]],[[64731,64731],\"mapped\",[1610,1581]],[[64732,64732],\"mapped\",[1610,1582]],[[64733,64733],\"mapped\",[1610,1605]],[[64734,64734],\"mapped\",[1610,1607]],[[64735,64735],\"mapped\",[1574,1605]],[[64736,64736],\"mapped\",[1574,1607]],[[64737,64737],\"mapped\",[1576,1605]],[[64738,64738],\"mapped\",[1576,1607]],[[64739,64739],\"mapped\",[1578,1605]],[[64740,64740],\"mapped\",[1578,1607]],[[64741,64741],\"mapped\",[1579,1605]],[[64742,64742],\"mapped\",[1579,1607]],[[64743,64743],\"mapped\",[1587,1605]],[[64744,64744],\"mapped\",[1587,1607]],[[64745,64745],\"mapped\",[1588,1605]],[[64746,64746],\"mapped\",[1588,1607]],[[64747,64747],\"mapped\",[1603,1604]],[[64748,64748],\"mapped\",[1603,1605]],[[64749,64749],\"mapped\",[1604,1605]],[[64750,64750],\"mapped\",[1606,1605]],[[64751,64751],\"mapped\",[1606,1607]],[[64752,64752],\"mapped\",[1610,1605]],[[64753,64753],\"mapped\",[1610,1607]],[[64754,64754],\"mapped\",[1600,1614,1617]],[[64755,64755],\"mapped\",[1600,1615,1617]],[[64756,64756],\"mapped\",[1600,1616,1617]],[[64757,64757],\"mapped\",[1591,1609]],[[64758,64758],\"mapped\",[1591,1610]],[[64759,64759],\"mapped\",[1593,1609]],[[64760,64760],\"mapped\",[1593,1610]],[[64761,64761],\"mapped\",[1594,1609]],[[64762,64762],\"mapped\",[1594,1610]],[[64763,64763],\"mapped\",[1587,1609]],[[64764,64764],\"mapped\",[1587,1610]],[[64765,64765],\"mapped\",[1588,1609]],[[64766,64766],\"mapped\",[1588,1610]],[[64767,64767],\"mapped\",[1581,1609]],[[64768,64768],\"mapped\",[1581,1610]],[[64769,64769],\"mapped\",[1580,1609]],[[64770,64770],\"mapped\",[1580,1610]],[[64771,64771],\"mapped\",[1582,1609]],[[64772,64772],\"mapped\",[1582,1610]],[[64773,64773],\"mapped\",[1589,1609]],[[64774,64774],\"mapped\",[1589,1610]],[[64775,64775],\"mapped\",[1590,1609]],[[64776,64776],\"mapped\",[1590,1610]],[[64777,64777],\"mapped\",[1588,1580]],[[64778,64778],\"mapped\",[1588,1581]],[[64779,64779],\"mapped\",[1588,1582]],[[64780,64780],\"mapped\",[1588,1605]],[[64781,64781],\"mapped\",[1588,1585]],[[64782,64782],\"mapped\",[1587,1585]],[[64783,64783],\"mapped\",[1589,1585]],[[64784,64784],\"mapped\",[1590,1585]],[[64785,64785],\"mapped\",[1591,1609]],[[64786,64786],\"mapped\",[1591,1610]],[[64787,64787],\"mapped\",[1593,1609]],[[64788,64788],\"mapped\",[1593,1610]],[[64789,64789],\"mapped\",[1594,1609]],[[64790,64790],\"mapped\",[1594,1610]],[[64791,64791],\"mapped\",[1587,1609]],[[64792,64792],\"mapped\",[1587,1610]],[[64793,64793],\"mapped\",[1588,1609]],[[64794,64794],\"mapped\",[1588,1610]],[[64795,64795],\"mapped\",[1581,1609]],[[64796,64796],\"mapped\",[1581,1610]],[[64797,64797],\"mapped\",[1580,1609]],[[64798,64798],\"mapped\",[1580,1610]],[[64799,64799],\"mapped\",[1582,1609]],[[64800,64800],\"mapped\",[1582,1610]],[[64801,64801],\"mapped\",[1589,1609]],[[64802,64802],\"mapped\",[1589,1610]],[[64803,64803],\"mapped\",[1590,1609]],[[64804,64804],\"mapped\",[1590,1610]],[[64805,64805],\"mapped\",[1588,1580]],[[64806,64806],\"mapped\",[1588,1581]],[[64807,64807],\"mapped\",[1588,1582]],[[64808,64808],\"mapped\",[1588,1605]],[[64809,64809],\"mapped\",[1588,1585]],[[64810,64810],\"mapped\",[1587,1585]],[[64811,64811],\"mapped\",[1589,1585]],[[64812,64812],\"mapped\",[1590,1585]],[[64813,64813],\"mapped\",[1588,1580]],[[64814,64814],\"mapped\",[1588,1581]],[[64815,64815],\"mapped\",[1588,1582]],[[64816,64816],\"mapped\",[1588,1605]],[[64817,64817],\"mapped\",[1587,1607]],[[64818,64818],\"mapped\",[1588,1607]],[[64819,64819],\"mapped\",[1591,1605]],[[64820,64820],\"mapped\",[1587,1580]],[[64821,64821],\"mapped\",[1587,1581]],[[64822,64822],\"mapped\",[1587,1582]],[[64823,64823],\"mapped\",[1588,1580]],[[64824,64824],\"mapped\",[1588,1581]],[[64825,64825],\"mapped\",[1588,1582]],[[64826,64826],\"mapped\",[1591,1605]],[[64827,64827],\"mapped\",[1592,1605]],[[64828,64829],\"mapped\",[1575,1611]],[[64830,64831],\"valid\",[],\"NV8\"],[[64832,64847],\"disallowed\"],[[64848,64848],\"mapped\",[1578,1580,1605]],[[64849,64850],\"mapped\",[1578,1581,1580]],[[64851,64851],\"mapped\",[1578,1581,1605]],[[64852,64852],\"mapped\",[1578,1582,1605]],[[64853,64853],\"mapped\",[1578,1605,1580]],[[64854,64854],\"mapped\",[1578,1605,1581]],[[64855,64855],\"mapped\",[1578,1605,1582]],[[64856,64857],\"mapped\",[1580,1605,1581]],[[64858,64858],\"mapped\",[1581,1605,1610]],[[64859,64859],\"mapped\",[1581,1605,1609]],[[64860,64860],\"mapped\",[1587,1581,1580]],[[64861,64861],\"mapped\",[1587,1580,1581]],[[64862,64862],\"mapped\",[1587,1580,1609]],[[64863,64864],\"mapped\",[1587,1605,1581]],[[64865,64865],\"mapped\",[1587,1605,1580]],[[64866,64867],\"mapped\",[1587,1605,1605]],[[64868,64869],\"mapped\",[1589,1581,1581]],[[64870,64870],\"mapped\",[1589,1605,1605]],[[64871,64872],\"mapped\",[1588,1581,1605]],[[64873,64873],\"mapped\",[1588,1580,1610]],[[64874,64875],\"mapped\",[1588,1605,1582]],[[64876,64877],\"mapped\",[1588,1605,1605]],[[64878,64878],\"mapped\",[1590,1581,1609]],[[64879,64880],\"mapped\",[1590,1582,1605]],[[64881,64882],\"mapped\",[1591,1605,1581]],[[64883,64883],\"mapped\",[1591,1605,1605]],[[64884,64884],\"mapped\",[1591,1605,1610]],[[64885,64885],\"mapped\",[1593,1580,1605]],[[64886,64887],\"mapped\",[1593,1605,1605]],[[64888,64888],\"mapped\",[1593,1605,1609]],[[64889,64889],\"mapped\",[1594,1605,1605]],[[64890,64890],\"mapped\",[1594,1605,1610]],[[64891,64891],\"mapped\",[1594,1605,1609]],[[64892,64893],\"mapped\",[1601,1582,1605]],[[64894,64894],\"mapped\",[1602,1605,1581]],[[64895,64895],\"mapped\",[1602,1605,1605]],[[64896,64896],\"mapped\",[1604,1581,1605]],[[64897,64897],\"mapped\",[1604,1581,1610]],[[64898,64898],\"mapped\",[1604,1581,1609]],[[64899,64900],\"mapped\",[1604,1580,1580]],[[64901,64902],\"mapped\",[1604,1582,1605]],[[64903,64904],\"mapped\",[1604,1605,1581]],[[64905,64905],\"mapped\",[1605,1581,1580]],[[64906,64906],\"mapped\",[1605,1581,1605]],[[64907,64907],\"mapped\",[1605,1581,1610]],[[64908,64908],\"mapped\",[1605,1580,1581]],[[64909,64909],\"mapped\",[1605,1580,1605]],[[64910,64910],\"mapped\",[1605,1582,1580]],[[64911,64911],\"mapped\",[1605,1582,1605]],[[64912,64913],\"disallowed\"],[[64914,64914],\"mapped\",[1605,1580,1582]],[[64915,64915],\"mapped\",[1607,1605,1580]],[[64916,64916],\"mapped\",[1607,1605,1605]],[[64917,64917],\"mapped\",[1606,1581,1605]],[[64918,64918],\"mapped\",[1606,1581,1609]],[[64919,64920],\"mapped\",[1606,1580,1605]],[[64921,64921],\"mapped\",[1606,1580,1609]],[[64922,64922],\"mapped\",[1606,1605,1610]],[[64923,64923],\"mapped\",[1606,1605,1609]],[[64924,64925],\"mapped\",[1610,1605,1605]],[[64926,64926],\"mapped\",[1576,1582,1610]],[[64927,64927],\"mapped\",[1578,1580,1610]],[[64928,64928],\"mapped\",[1578,1580,1609]],[[64929,64929],\"mapped\",[1578,1582,1610]],[[64930,64930],\"mapped\",[1578,1582,1609]],[[64931,64931],\"mapped\",[1578,1605,1610]],[[64932,64932],\"mapped\",[1578,1605,1609]],[[64933,64933],\"mapped\",[1580,1605,1610]],[[64934,64934],\"mapped\",[1580,1581,1609]],[[64935,64935],\"mapped\",[1580,1605,1609]],[[64936,64936],\"mapped\",[1587,1582,1609]],[[64937,64937],\"mapped\",[1589,1581,1610]],[[64938,64938],\"mapped\",[1588,1581,1610]],[[64939,64939],\"mapped\",[1590,1581,1610]],[[64940,64940],\"mapped\",[1604,1580,1610]],[[64941,64941],\"mapped\",[1604,1605,1610]],[[64942,64942],\"mapped\",[1610,1581,1610]],[[64943,64943],\"mapped\",[1610,1580,1610]],[[64944,64944],\"mapped\",[1610,1605,1610]],[[64945,64945],\"mapped\",[1605,1605,1610]],[[64946,64946],\"mapped\",[1602,1605,1610]],[[64947,64947],\"mapped\",[1606,1581,1610]],[[64948,64948],\"mapped\",[1602,1605,1581]],[[64949,64949],\"mapped\",[1604,1581,1605]],[[64950,64950],\"mapped\",[1593,1605,1610]],[[64951,64951],\"mapped\",[1603,1605,1610]],[[64952,64952],\"mapped\",[1606,1580,1581]],[[64953,64953],\"mapped\",[1605,1582,1610]],[[64954,64954],\"mapped\",[1604,1580,1605]],[[64955,64955],\"mapped\",[1603,1605,1605]],[[64956,64956],\"mapped\",[1604,1580,1605]],[[64957,64957],\"mapped\",[1606,1580,1581]],[[64958,64958],\"mapped\",[1580,1581,1610]],[[64959,64959],\"mapped\",[1581,1580,1610]],[[64960,64960],\"mapped\",[1605,1580,1610]],[[64961,64961],\"mapped\",[1601,1605,1610]],[[64962,64962],\"mapped\",[1576,1581,1610]],[[64963,64963],\"mapped\",[1603,1605,1605]],[[64964,64964],\"mapped\",[1593,1580,1605]],[[64965,64965],\"mapped\",[1589,1605,1605]],[[64966,64966],\"mapped\",[1587,1582,1610]],[[64967,64967],\"mapped\",[1606,1580,1610]],[[64968,64975],\"disallowed\"],[[64976,65007],\"disallowed\"],[[65008,65008],\"mapped\",[1589,1604,1746]],[[65009,65009],\"mapped\",[1602,1604,1746]],[[65010,65010],\"mapped\",[1575,1604,1604,1607]],[[65011,65011],\"mapped\",[1575,1603,1576,1585]],[[65012,65012],\"mapped\",[1605,1581,1605,1583]],[[65013,65013],\"mapped\",[1589,1604,1593,1605]],[[65014,65014],\"mapped\",[1585,1587,1608,1604]],[[65015,65015],\"mapped\",[1593,1604,1610,1607]],[[65016,65016],\"mapped\",[1608,1587,1604,1605]],[[65017,65017],\"mapped\",[1589,1604,1609]],[[65018,65018],\"disallowed_STD3_mapped\",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],\"disallowed_STD3_mapped\",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],\"mapped\",[1585,1740,1575,1604]],[[65021,65021],\"valid\",[],\"NV8\"],[[65022,65023],\"disallowed\"],[[65024,65039],\"ignored\"],[[65040,65040],\"disallowed_STD3_mapped\",[44]],[[65041,65041],\"mapped\",[12289]],[[65042,65042],\"disallowed\"],[[65043,65043],\"disallowed_STD3_mapped\",[58]],[[65044,65044],\"disallowed_STD3_mapped\",[59]],[[65045,65045],\"disallowed_STD3_mapped\",[33]],[[65046,65046],\"disallowed_STD3_mapped\",[63]],[[65047,65047],\"mapped\",[12310]],[[65048,65048],\"mapped\",[12311]],[[65049,65049],\"disallowed\"],[[65050,65055],\"disallowed\"],[[65056,65059],\"valid\"],[[65060,65062],\"valid\"],[[65063,65069],\"valid\"],[[65070,65071],\"valid\"],[[65072,65072],\"disallowed\"],[[65073,65073],\"mapped\",[8212]],[[65074,65074],\"mapped\",[8211]],[[65075,65076],\"disallowed_STD3_mapped\",[95]],[[65077,65077],\"disallowed_STD3_mapped\",[40]],[[65078,65078],\"disallowed_STD3_mapped\",[41]],[[65079,65079],\"disallowed_STD3_mapped\",[123]],[[65080,65080],\"disallowed_STD3_mapped\",[125]],[[65081,65081],\"mapped\",[12308]],[[65082,65082],\"mapped\",[12309]],[[65083,65083],\"mapped\",[12304]],[[65084,65084],\"mapped\",[12305]],[[65085,65085],\"mapped\",[12298]],[[65086,65086],\"mapped\",[12299]],[[65087,65087],\"mapped\",[12296]],[[65088,65088],\"mapped\",[12297]],[[65089,65089],\"mapped\",[12300]],[[65090,65090],\"mapped\",[12301]],[[65091,65091],\"mapped\",[12302]],[[65092,65092],\"mapped\",[12303]],[[65093,65094],\"valid\",[],\"NV8\"],[[65095,65095],\"disallowed_STD3_mapped\",[91]],[[65096,65096],\"disallowed_STD3_mapped\",[93]],[[65097,65100],\"disallowed_STD3_mapped\",[32,773]],[[65101,65103],\"disallowed_STD3_mapped\",[95]],[[65104,65104],\"disallowed_STD3_mapped\",[44]],[[65105,65105],\"mapped\",[12289]],[[65106,65106],\"disallowed\"],[[65107,65107],\"disallowed\"],[[65108,65108],\"disallowed_STD3_mapped\",[59]],[[65109,65109],\"disallowed_STD3_mapped\",[58]],[[65110,65110],\"disallowed_STD3_mapped\",[63]],[[65111,65111],\"disallowed_STD3_mapped\",[33]],[[65112,65112],\"mapped\",[8212]],[[65113,65113],\"disallowed_STD3_mapped\",[40]],[[65114,65114],\"disallowed_STD3_mapped\",[41]],[[65115,65115],\"disallowed_STD3_mapped\",[123]],[[65116,65116],\"disallowed_STD3_mapped\",[125]],[[65117,65117],\"mapped\",[12308]],[[65118,65118],\"mapped\",[12309]],[[65119,65119],\"disallowed_STD3_mapped\",[35]],[[65120,65120],\"disallowed_STD3_mapped\",[38]],[[65121,65121],\"disallowed_STD3_mapped\",[42]],[[65122,65122],\"disallowed_STD3_mapped\",[43]],[[65123,65123],\"mapped\",[45]],[[65124,65124],\"disallowed_STD3_mapped\",[60]],[[65125,65125],\"disallowed_STD3_mapped\",[62]],[[65126,65126],\"disallowed_STD3_mapped\",[61]],[[65127,65127],\"disallowed\"],[[65128,65128],\"disallowed_STD3_mapped\",[92]],[[65129,65129],\"disallowed_STD3_mapped\",[36]],[[65130,65130],\"disallowed_STD3_mapped\",[37]],[[65131,65131],\"disallowed_STD3_mapped\",[64]],[[65132,65135],\"disallowed\"],[[65136,65136],\"disallowed_STD3_mapped\",[32,1611]],[[65137,65137],\"mapped\",[1600,1611]],[[65138,65138],\"disallowed_STD3_mapped\",[32,1612]],[[65139,65139],\"valid\"],[[65140,65140],\"disallowed_STD3_mapped\",[32,1613]],[[65141,65141],\"disallowed\"],[[65142,65142],\"disallowed_STD3_mapped\",[32,1614]],[[65143,65143],\"mapped\",[1600,1614]],[[65144,65144],\"disallowed_STD3_mapped\",[32,1615]],[[65145,65145],\"mapped\",[1600,1615]],[[65146,65146],\"disallowed_STD3_mapped\",[32,1616]],[[65147,65147],\"mapped\",[1600,1616]],[[65148,65148],\"disallowed_STD3_mapped\",[32,1617]],[[65149,65149],\"mapped\",[1600,1617]],[[65150,65150],\"disallowed_STD3_mapped\",[32,1618]],[[65151,65151],\"mapped\",[1600,1618]],[[65152,65152],\"mapped\",[1569]],[[65153,65154],\"mapped\",[1570]],[[65155,65156],\"mapped\",[1571]],[[65157,65158],\"mapped\",[1572]],[[65159,65160],\"mapped\",[1573]],[[65161,65164],\"mapped\",[1574]],[[65165,65166],\"mapped\",[1575]],[[65167,65170],\"mapped\",[1576]],[[65171,65172],\"mapped\",[1577]],[[65173,65176],\"mapped\",[1578]],[[65177,65180],\"mapped\",[1579]],[[65181,65184],\"mapped\",[1580]],[[65185,65188],\"mapped\",[1581]],[[65189,65192],\"mapped\",[1582]],[[65193,65194],\"mapped\",[1583]],[[65195,65196],\"mapped\",[1584]],[[65197,65198],\"mapped\",[1585]],[[65199,65200],\"mapped\",[1586]],[[65201,65204],\"mapped\",[1587]],[[65205,65208],\"mapped\",[1588]],[[65209,65212],\"mapped\",[1589]],[[65213,65216],\"mapped\",[1590]],[[65217,65220],\"mapped\",[1591]],[[65221,65224],\"mapped\",[1592]],[[65225,65228],\"mapped\",[1593]],[[65229,65232],\"mapped\",[1594]],[[65233,65236],\"mapped\",[1601]],[[65237,65240],\"mapped\",[1602]],[[65241,65244],\"mapped\",[1603]],[[65245,65248],\"mapped\",[1604]],[[65249,65252],\"mapped\",[1605]],[[65253,65256],\"mapped\",[1606]],[[65257,65260],\"mapped\",[1607]],[[65261,65262],\"mapped\",[1608]],[[65263,65264],\"mapped\",[1609]],[[65265,65268],\"mapped\",[1610]],[[65269,65270],\"mapped\",[1604,1570]],[[65271,65272],\"mapped\",[1604,1571]],[[65273,65274],\"mapped\",[1604,1573]],[[65275,65276],\"mapped\",[1604,1575]],[[65277,65278],\"disallowed\"],[[65279,65279],\"ignored\"],[[65280,65280],\"disallowed\"],[[65281,65281],\"disallowed_STD3_mapped\",[33]],[[65282,65282],\"disallowed_STD3_mapped\",[34]],[[65283,65283],\"disallowed_STD3_mapped\",[35]],[[65284,65284],\"disallowed_STD3_mapped\",[36]],[[65285,65285],\"disallowed_STD3_mapped\",[37]],[[65286,65286],\"disallowed_STD3_mapped\",[38]],[[65287,65287],\"disallowed_STD3_mapped\",[39]],[[65288,65288],\"disallowed_STD3_mapped\",[40]],[[65289,65289],\"disallowed_STD3_mapped\",[41]],[[65290,65290],\"disallowed_STD3_mapped\",[42]],[[65291,65291],\"disallowed_STD3_mapped\",[43]],[[65292,65292],\"disallowed_STD3_mapped\",[44]],[[65293,65293],\"mapped\",[45]],[[65294,65294],\"mapped\",[46]],[[65295,65295],\"disallowed_STD3_mapped\",[47]],[[65296,65296],\"mapped\",[48]],[[65297,65297],\"mapped\",[49]],[[65298,65298],\"mapped\",[50]],[[65299,65299],\"mapped\",[51]],[[65300,65300],\"mapped\",[52]],[[65301,65301],\"mapped\",[53]],[[65302,65302],\"mapped\",[54]],[[65303,65303],\"mapped\",[55]],[[65304,65304],\"mapped\",[56]],[[65305,65305],\"mapped\",[57]],[[65306,65306],\"disallowed_STD3_mapped\",[58]],[[65307,65307],\"disallowed_STD3_mapped\",[59]],[[65308,65308],\"disallowed_STD3_mapped\",[60]],[[65309,65309],\"disallowed_STD3_mapped\",[61]],[[65310,65310],\"disallowed_STD3_mapped\",[62]],[[65311,65311],\"disallowed_STD3_mapped\",[63]],[[65312,65312],\"disallowed_STD3_mapped\",[64]],[[65313,65313],\"mapped\",[97]],[[65314,65314],\"mapped\",[98]],[[65315,65315],\"mapped\",[99]],[[65316,65316],\"mapped\",[100]],[[65317,65317],\"mapped\",[101]],[[65318,65318],\"mapped\",[102]],[[65319,65319],\"mapped\",[103]],[[65320,65320],\"mapped\",[104]],[[65321,65321],\"mapped\",[105]],[[65322,65322],\"mapped\",[106]],[[65323,65323],\"mapped\",[107]],[[65324,65324],\"mapped\",[108]],[[65325,65325],\"mapped\",[109]],[[65326,65326],\"mapped\",[110]],[[65327,65327],\"mapped\",[111]],[[65328,65328],\"mapped\",[112]],[[65329,65329],\"mapped\",[113]],[[65330,65330],\"mapped\",[114]],[[65331,65331],\"mapped\",[115]],[[65332,65332],\"mapped\",[116]],[[65333,65333],\"mapped\",[117]],[[65334,65334],\"mapped\",[118]],[[65335,65335],\"mapped\",[119]],[[65336,65336],\"mapped\",[120]],[[65337,65337],\"mapped\",[121]],[[65338,65338],\"mapped\",[122]],[[65339,65339],\"disallowed_STD3_mapped\",[91]],[[65340,65340],\"disallowed_STD3_mapped\",[92]],[[65341,65341],\"disallowed_STD3_mapped\",[93]],[[65342,65342],\"disallowed_STD3_mapped\",[94]],[[65343,65343],\"disallowed_STD3_mapped\",[95]],[[65344,65344],\"disallowed_STD3_mapped\",[96]],[[65345,65345],\"mapped\",[97]],[[65346,65346],\"mapped\",[98]],[[65347,65347],\"mapped\",[99]],[[65348,65348],\"mapped\",[100]],[[65349,65349],\"mapped\",[101]],[[65350,65350],\"mapped\",[102]],[[65351,65351],\"mapped\",[103]],[[65352,65352],\"mapped\",[104]],[[65353,65353],\"mapped\",[105]],[[65354,65354],\"mapped\",[106]],[[65355,65355],\"mapped\",[107]],[[65356,65356],\"mapped\",[108]],[[65357,65357],\"mapped\",[109]],[[65358,65358],\"mapped\",[110]],[[65359,65359],\"mapped\",[111]],[[65360,65360],\"mapped\",[112]],[[65361,65361],\"mapped\",[113]],[[65362,65362],\"mapped\",[114]],[[65363,65363],\"mapped\",[115]],[[65364,65364],\"mapped\",[116]],[[65365,65365],\"mapped\",[117]],[[65366,65366],\"mapped\",[118]],[[65367,65367],\"mapped\",[119]],[[65368,65368],\"mapped\",[120]],[[65369,65369],\"mapped\",[121]],[[65370,65370],\"mapped\",[122]],[[65371,65371],\"disallowed_STD3_mapped\",[123]],[[65372,65372],\"disallowed_STD3_mapped\",[124]],[[65373,65373],\"disallowed_STD3_mapped\",[125]],[[65374,65374],\"disallowed_STD3_mapped\",[126]],[[65375,65375],\"mapped\",[10629]],[[65376,65376],\"mapped\",[10630]],[[65377,65377],\"mapped\",[46]],[[65378,65378],\"mapped\",[12300]],[[65379,65379],\"mapped\",[12301]],[[65380,65380],\"mapped\",[12289]],[[65381,65381],\"mapped\",[12539]],[[65382,65382],\"mapped\",[12530]],[[65383,65383],\"mapped\",[12449]],[[65384,65384],\"mapped\",[12451]],[[65385,65385],\"mapped\",[12453]],[[65386,65386],\"mapped\",[12455]],[[65387,65387],\"mapped\",[12457]],[[65388,65388],\"mapped\",[12515]],[[65389,65389],\"mapped\",[12517]],[[65390,65390],\"mapped\",[12519]],[[65391,65391],\"mapped\",[12483]],[[65392,65392],\"mapped\",[12540]],[[65393,65393],\"mapped\",[12450]],[[65394,65394],\"mapped\",[12452]],[[65395,65395],\"mapped\",[12454]],[[65396,65396],\"mapped\",[12456]],[[65397,65397],\"mapped\",[12458]],[[65398,65398],\"mapped\",[12459]],[[65399,65399],\"mapped\",[12461]],[[65400,65400],\"mapped\",[12463]],[[65401,65401],\"mapped\",[12465]],[[65402,65402],\"mapped\",[12467]],[[65403,65403],\"mapped\",[12469]],[[65404,65404],\"mapped\",[12471]],[[65405,65405],\"mapped\",[12473]],[[65406,65406],\"mapped\",[12475]],[[65407,65407],\"mapped\",[12477]],[[65408,65408],\"mapped\",[12479]],[[65409,65409],\"mapped\",[12481]],[[65410,65410],\"mapped\",[12484]],[[65411,65411],\"mapped\",[12486]],[[65412,65412],\"mapped\",[12488]],[[65413,65413],\"mapped\",[12490]],[[65414,65414],\"mapped\",[12491]],[[65415,65415],\"mapped\",[12492]],[[65416,65416],\"mapped\",[12493]],[[65417,65417],\"mapped\",[12494]],[[65418,65418],\"mapped\",[12495]],[[65419,65419],\"mapped\",[12498]],[[65420,65420],\"mapped\",[12501]],[[65421,65421],\"mapped\",[12504]],[[65422,65422],\"mapped\",[12507]],[[65423,65423],\"mapped\",[12510]],[[65424,65424],\"mapped\",[12511]],[[65425,65425],\"mapped\",[12512]],[[65426,65426],\"mapped\",[12513]],[[65427,65427],\"mapped\",[12514]],[[65428,65428],\"mapped\",[12516]],[[65429,65429],\"mapped\",[12518]],[[65430,65430],\"mapped\",[12520]],[[65431,65431],\"mapped\",[12521]],[[65432,65432],\"mapped\",[12522]],[[65433,65433],\"mapped\",[12523]],[[65434,65434],\"mapped\",[12524]],[[65435,65435],\"mapped\",[12525]],[[65436,65436],\"mapped\",[12527]],[[65437,65437],\"mapped\",[12531]],[[65438,65438],\"mapped\",[12441]],[[65439,65439],\"mapped\",[12442]],[[65440,65440],\"disallowed\"],[[65441,65441],\"mapped\",[4352]],[[65442,65442],\"mapped\",[4353]],[[65443,65443],\"mapped\",[4522]],[[65444,65444],\"mapped\",[4354]],[[65445,65445],\"mapped\",[4524]],[[65446,65446],\"mapped\",[4525]],[[65447,65447],\"mapped\",[4355]],[[65448,65448],\"mapped\",[4356]],[[65449,65449],\"mapped\",[4357]],[[65450,65450],\"mapped\",[4528]],[[65451,65451],\"mapped\",[4529]],[[65452,65452],\"mapped\",[4530]],[[65453,65453],\"mapped\",[4531]],[[65454,65454],\"mapped\",[4532]],[[65455,65455],\"mapped\",[4533]],[[65456,65456],\"mapped\",[4378]],[[65457,65457],\"mapped\",[4358]],[[65458,65458],\"mapped\",[4359]],[[65459,65459],\"mapped\",[4360]],[[65460,65460],\"mapped\",[4385]],[[65461,65461],\"mapped\",[4361]],[[65462,65462],\"mapped\",[4362]],[[65463,65463],\"mapped\",[4363]],[[65464,65464],\"mapped\",[4364]],[[65465,65465],\"mapped\",[4365]],[[65466,65466],\"mapped\",[4366]],[[65467,65467],\"mapped\",[4367]],[[65468,65468],\"mapped\",[4368]],[[65469,65469],\"mapped\",[4369]],[[65470,65470],\"mapped\",[4370]],[[65471,65473],\"disallowed\"],[[65474,65474],\"mapped\",[4449]],[[65475,65475],\"mapped\",[4450]],[[65476,65476],\"mapped\",[4451]],[[65477,65477],\"mapped\",[4452]],[[65478,65478],\"mapped\",[4453]],[[65479,65479],\"mapped\",[4454]],[[65480,65481],\"disallowed\"],[[65482,65482],\"mapped\",[4455]],[[65483,65483],\"mapped\",[4456]],[[65484,65484],\"mapped\",[4457]],[[65485,65485],\"mapped\",[4458]],[[65486,65486],\"mapped\",[4459]],[[65487,65487],\"mapped\",[4460]],[[65488,65489],\"disallowed\"],[[65490,65490],\"mapped\",[4461]],[[65491,65491],\"mapped\",[4462]],[[65492,65492],\"mapped\",[4463]],[[65493,65493],\"mapped\",[4464]],[[65494,65494],\"mapped\",[4465]],[[65495,65495],\"mapped\",[4466]],[[65496,65497],\"disallowed\"],[[65498,65498],\"mapped\",[4467]],[[65499,65499],\"mapped\",[4468]],[[65500,65500],\"mapped\",[4469]],[[65501,65503],\"disallowed\"],[[65504,65504],\"mapped\",[162]],[[65505,65505],\"mapped\",[163]],[[65506,65506],\"mapped\",[172]],[[65507,65507],\"disallowed_STD3_mapped\",[32,772]],[[65508,65508],\"mapped\",[166]],[[65509,65509],\"mapped\",[165]],[[65510,65510],\"mapped\",[8361]],[[65511,65511],\"disallowed\"],[[65512,65512],\"mapped\",[9474]],[[65513,65513],\"mapped\",[8592]],[[65514,65514],\"mapped\",[8593]],[[65515,65515],\"mapped\",[8594]],[[65516,65516],\"mapped\",[8595]],[[65517,65517],\"mapped\",[9632]],[[65518,65518],\"mapped\",[9675]],[[65519,65528],\"disallowed\"],[[65529,65531],\"disallowed\"],[[65532,65532],\"disallowed\"],[[65533,65533],\"disallowed\"],[[65534,65535],\"disallowed\"],[[65536,65547],\"valid\"],[[65548,65548],\"disallowed\"],[[65549,65574],\"valid\"],[[65575,65575],\"disallowed\"],[[65576,65594],\"valid\"],[[65595,65595],\"disallowed\"],[[65596,65597],\"valid\"],[[65598,65598],\"disallowed\"],[[65599,65613],\"valid\"],[[65614,65615],\"disallowed\"],[[65616,65629],\"valid\"],[[65630,65663],\"disallowed\"],[[65664,65786],\"valid\"],[[65787,65791],\"disallowed\"],[[65792,65794],\"valid\",[],\"NV8\"],[[65795,65798],\"disallowed\"],[[65799,65843],\"valid\",[],\"NV8\"],[[65844,65846],\"disallowed\"],[[65847,65855],\"valid\",[],\"NV8\"],[[65856,65930],\"valid\",[],\"NV8\"],[[65931,65932],\"valid\",[],\"NV8\"],[[65933,65935],\"disallowed\"],[[65936,65947],\"valid\",[],\"NV8\"],[[65948,65951],\"disallowed\"],[[65952,65952],\"valid\",[],\"NV8\"],[[65953,65999],\"disallowed\"],[[66000,66044],\"valid\",[],\"NV8\"],[[66045,66045],\"valid\"],[[66046,66175],\"disallowed\"],[[66176,66204],\"valid\"],[[66205,66207],\"disallowed\"],[[66208,66256],\"valid\"],[[66257,66271],\"disallowed\"],[[66272,66272],\"valid\"],[[66273,66299],\"valid\",[],\"NV8\"],[[66300,66303],\"disallowed\"],[[66304,66334],\"valid\"],[[66335,66335],\"valid\"],[[66336,66339],\"valid\",[],\"NV8\"],[[66340,66351],\"disallowed\"],[[66352,66368],\"valid\"],[[66369,66369],\"valid\",[],\"NV8\"],[[66370,66377],\"valid\"],[[66378,66378],\"valid\",[],\"NV8\"],[[66379,66383],\"disallowed\"],[[66384,66426],\"valid\"],[[66427,66431],\"disallowed\"],[[66432,66461],\"valid\"],[[66462,66462],\"disallowed\"],[[66463,66463],\"valid\",[],\"NV8\"],[[66464,66499],\"valid\"],[[66500,66503],\"disallowed\"],[[66504,66511],\"valid\"],[[66512,66517],\"valid\",[],\"NV8\"],[[66518,66559],\"disallowed\"],[[66560,66560],\"mapped\",[66600]],[[66561,66561],\"mapped\",[66601]],[[66562,66562],\"mapped\",[66602]],[[66563,66563],\"mapped\",[66603]],[[66564,66564],\"mapped\",[66604]],[[66565,66565],\"mapped\",[66605]],[[66566,66566],\"mapped\",[66606]],[[66567,66567],\"mapped\",[66607]],[[66568,66568],\"mapped\",[66608]],[[66569,66569],\"mapped\",[66609]],[[66570,66570],\"mapped\",[66610]],[[66571,66571],\"mapped\",[66611]],[[66572,66572],\"mapped\",[66612]],[[66573,66573],\"mapped\",[66613]],[[66574,66574],\"mapped\",[66614]],[[66575,66575],\"mapped\",[66615]],[[66576,66576],\"mapped\",[66616]],[[66577,66577],\"mapped\",[66617]],[[66578,66578],\"mapped\",[66618]],[[66579,66579],\"mapped\",[66619]],[[66580,66580],\"mapped\",[66620]],[[66581,66581],\"mapped\",[66621]],[[66582,66582],\"mapped\",[66622]],[[66583,66583],\"mapped\",[66623]],[[66584,66584],\"mapped\",[66624]],[[66585,66585],\"mapped\",[66625]],[[66586,66586],\"mapped\",[66626]],[[66587,66587],\"mapped\",[66627]],[[66588,66588],\"mapped\",[66628]],[[66589,66589],\"mapped\",[66629]],[[66590,66590],\"mapped\",[66630]],[[66591,66591],\"mapped\",[66631]],[[66592,66592],\"mapped\",[66632]],[[66593,66593],\"mapped\",[66633]],[[66594,66594],\"mapped\",[66634]],[[66595,66595],\"mapped\",[66635]],[[66596,66596],\"mapped\",[66636]],[[66597,66597],\"mapped\",[66637]],[[66598,66598],\"mapped\",[66638]],[[66599,66599],\"mapped\",[66639]],[[66600,66637],\"valid\"],[[66638,66717],\"valid\"],[[66718,66719],\"disallowed\"],[[66720,66729],\"valid\"],[[66730,66815],\"disallowed\"],[[66816,66855],\"valid\"],[[66856,66863],\"disallowed\"],[[66864,66915],\"valid\"],[[66916,66926],\"disallowed\"],[[66927,66927],\"valid\",[],\"NV8\"],[[66928,67071],\"disallowed\"],[[67072,67382],\"valid\"],[[67383,67391],\"disallowed\"],[[67392,67413],\"valid\"],[[67414,67423],\"disallowed\"],[[67424,67431],\"valid\"],[[67432,67583],\"disallowed\"],[[67584,67589],\"valid\"],[[67590,67591],\"disallowed\"],[[67592,67592],\"valid\"],[[67593,67593],\"disallowed\"],[[67594,67637],\"valid\"],[[67638,67638],\"disallowed\"],[[67639,67640],\"valid\"],[[67641,67643],\"disallowed\"],[[67644,67644],\"valid\"],[[67645,67646],\"disallowed\"],[[67647,67647],\"valid\"],[[67648,67669],\"valid\"],[[67670,67670],\"disallowed\"],[[67671,67679],\"valid\",[],\"NV8\"],[[67680,67702],\"valid\"],[[67703,67711],\"valid\",[],\"NV8\"],[[67712,67742],\"valid\"],[[67743,67750],\"disallowed\"],[[67751,67759],\"valid\",[],\"NV8\"],[[67760,67807],\"disallowed\"],[[67808,67826],\"valid\"],[[67827,67827],\"disallowed\"],[[67828,67829],\"valid\"],[[67830,67834],\"disallowed\"],[[67835,67839],\"valid\",[],\"NV8\"],[[67840,67861],\"valid\"],[[67862,67865],\"valid\",[],\"NV8\"],[[67866,67867],\"valid\",[],\"NV8\"],[[67868,67870],\"disallowed\"],[[67871,67871],\"valid\",[],\"NV8\"],[[67872,67897],\"valid\"],[[67898,67902],\"disallowed\"],[[67903,67903],\"valid\",[],\"NV8\"],[[67904,67967],\"disallowed\"],[[67968,68023],\"valid\"],[[68024,68027],\"disallowed\"],[[68028,68029],\"valid\",[],\"NV8\"],[[68030,68031],\"valid\"],[[68032,68047],\"valid\",[],\"NV8\"],[[68048,68049],\"disallowed\"],[[68050,68095],\"valid\",[],\"NV8\"],[[68096,68099],\"valid\"],[[68100,68100],\"disallowed\"],[[68101,68102],\"valid\"],[[68103,68107],\"disallowed\"],[[68108,68115],\"valid\"],[[68116,68116],\"disallowed\"],[[68117,68119],\"valid\"],[[68120,68120],\"disallowed\"],[[68121,68147],\"valid\"],[[68148,68151],\"disallowed\"],[[68152,68154],\"valid\"],[[68155,68158],\"disallowed\"],[[68159,68159],\"valid\"],[[68160,68167],\"valid\",[],\"NV8\"],[[68168,68175],\"disallowed\"],[[68176,68184],\"valid\",[],\"NV8\"],[[68185,68191],\"disallowed\"],[[68192,68220],\"valid\"],[[68221,68223],\"valid\",[],\"NV8\"],[[68224,68252],\"valid\"],[[68253,68255],\"valid\",[],\"NV8\"],[[68256,68287],\"disallowed\"],[[68288,68295],\"valid\"],[[68296,68296],\"valid\",[],\"NV8\"],[[68297,68326],\"valid\"],[[68327,68330],\"disallowed\"],[[68331,68342],\"valid\",[],\"NV8\"],[[68343,68351],\"disallowed\"],[[68352,68405],\"valid\"],[[68406,68408],\"disallowed\"],[[68409,68415],\"valid\",[],\"NV8\"],[[68416,68437],\"valid\"],[[68438,68439],\"disallowed\"],[[68440,68447],\"valid\",[],\"NV8\"],[[68448,68466],\"valid\"],[[68467,68471],\"disallowed\"],[[68472,68479],\"valid\",[],\"NV8\"],[[68480,68497],\"valid\"],[[68498,68504],\"disallowed\"],[[68505,68508],\"valid\",[],\"NV8\"],[[68509,68520],\"disallowed\"],[[68521,68527],\"valid\",[],\"NV8\"],[[68528,68607],\"disallowed\"],[[68608,68680],\"valid\"],[[68681,68735],\"disallowed\"],[[68736,68736],\"mapped\",[68800]],[[68737,68737],\"mapped\",[68801]],[[68738,68738],\"mapped\",[68802]],[[68739,68739],\"mapped\",[68803]],[[68740,68740],\"mapped\",[68804]],[[68741,68741],\"mapped\",[68805]],[[68742,68742],\"mapped\",[68806]],[[68743,68743],\"mapped\",[68807]],[[68744,68744],\"mapped\",[68808]],[[68745,68745],\"mapped\",[68809]],[[68746,68746],\"mapped\",[68810]],[[68747,68747],\"mapped\",[68811]],[[68748,68748],\"mapped\",[68812]],[[68749,68749],\"mapped\",[68813]],[[68750,68750],\"mapped\",[68814]],[[68751,68751],\"mapped\",[68815]],[[68752,68752],\"mapped\",[68816]],[[68753,68753],\"mapped\",[68817]],[[68754,68754],\"mapped\",[68818]],[[68755,68755],\"mapped\",[68819]],[[68756,68756],\"mapped\",[68820]],[[68757,68757],\"mapped\",[68821]],[[68758,68758],\"mapped\",[68822]],[[68759,68759],\"mapped\",[68823]],[[68760,68760],\"mapped\",[68824]],[[68761,68761],\"mapped\",[68825]],[[68762,68762],\"mapped\",[68826]],[[68763,68763],\"mapped\",[68827]],[[68764,68764],\"mapped\",[68828]],[[68765,68765],\"mapped\",[68829]],[[68766,68766],\"mapped\",[68830]],[[68767,68767],\"mapped\",[68831]],[[68768,68768],\"mapped\",[68832]],[[68769,68769],\"mapped\",[68833]],[[68770,68770],\"mapped\",[68834]],[[68771,68771],\"mapped\",[68835]],[[68772,68772],\"mapped\",[68836]],[[68773,68773],\"mapped\",[68837]],[[68774,68774],\"mapped\",[68838]],[[68775,68775],\"mapped\",[68839]],[[68776,68776],\"mapped\",[68840]],[[68777,68777],\"mapped\",[68841]],[[68778,68778],\"mapped\",[68842]],[[68779,68779],\"mapped\",[68843]],[[68780,68780],\"mapped\",[68844]],[[68781,68781],\"mapped\",[68845]],[[68782,68782],\"mapped\",[68846]],[[68783,68783],\"mapped\",[68847]],[[68784,68784],\"mapped\",[68848]],[[68785,68785],\"mapped\",[68849]],[[68786,68786],\"mapped\",[68850]],[[68787,68799],\"disallowed\"],[[68800,68850],\"valid\"],[[68851,68857],\"disallowed\"],[[68858,68863],\"valid\",[],\"NV8\"],[[68864,69215],\"disallowed\"],[[69216,69246],\"valid\",[],\"NV8\"],[[69247,69631],\"disallowed\"],[[69632,69702],\"valid\"],[[69703,69709],\"valid\",[],\"NV8\"],[[69710,69713],\"disallowed\"],[[69714,69733],\"valid\",[],\"NV8\"],[[69734,69743],\"valid\"],[[69744,69758],\"disallowed\"],[[69759,69759],\"valid\"],[[69760,69818],\"valid\"],[[69819,69820],\"valid\",[],\"NV8\"],[[69821,69821],\"disallowed\"],[[69822,69825],\"valid\",[],\"NV8\"],[[69826,69839],\"disallowed\"],[[69840,69864],\"valid\"],[[69865,69871],\"disallowed\"],[[69872,69881],\"valid\"],[[69882,69887],\"disallowed\"],[[69888,69940],\"valid\"],[[69941,69941],\"disallowed\"],[[69942,69951],\"valid\"],[[69952,69955],\"valid\",[],\"NV8\"],[[69956,69967],\"disallowed\"],[[69968,70003],\"valid\"],[[70004,70005],\"valid\",[],\"NV8\"],[[70006,70006],\"valid\"],[[70007,70015],\"disallowed\"],[[70016,70084],\"valid\"],[[70085,70088],\"valid\",[],\"NV8\"],[[70089,70089],\"valid\",[],\"NV8\"],[[70090,70092],\"valid\"],[[70093,70093],\"valid\",[],\"NV8\"],[[70094,70095],\"disallowed\"],[[70096,70105],\"valid\"],[[70106,70106],\"valid\"],[[70107,70107],\"valid\",[],\"NV8\"],[[70108,70108],\"valid\"],[[70109,70111],\"valid\",[],\"NV8\"],[[70112,70112],\"disallowed\"],[[70113,70132],\"valid\",[],\"NV8\"],[[70133,70143],\"disallowed\"],[[70144,70161],\"valid\"],[[70162,70162],\"disallowed\"],[[70163,70199],\"valid\"],[[70200,70205],\"valid\",[],\"NV8\"],[[70206,70271],\"disallowed\"],[[70272,70278],\"valid\"],[[70279,70279],\"disallowed\"],[[70280,70280],\"valid\"],[[70281,70281],\"disallowed\"],[[70282,70285],\"valid\"],[[70286,70286],\"disallowed\"],[[70287,70301],\"valid\"],[[70302,70302],\"disallowed\"],[[70303,70312],\"valid\"],[[70313,70313],\"valid\",[],\"NV8\"],[[70314,70319],\"disallowed\"],[[70320,70378],\"valid\"],[[70379,70383],\"disallowed\"],[[70384,70393],\"valid\"],[[70394,70399],\"disallowed\"],[[70400,70400],\"valid\"],[[70401,70403],\"valid\"],[[70404,70404],\"disallowed\"],[[70405,70412],\"valid\"],[[70413,70414],\"disallowed\"],[[70415,70416],\"valid\"],[[70417,70418],\"disallowed\"],[[70419,70440],\"valid\"],[[70441,70441],\"disallowed\"],[[70442,70448],\"valid\"],[[70449,70449],\"disallowed\"],[[70450,70451],\"valid\"],[[70452,70452],\"disallowed\"],[[70453,70457],\"valid\"],[[70458,70459],\"disallowed\"],[[70460,70468],\"valid\"],[[70469,70470],\"disallowed\"],[[70471,70472],\"valid\"],[[70473,70474],\"disallowed\"],[[70475,70477],\"valid\"],[[70478,70479],\"disallowed\"],[[70480,70480],\"valid\"],[[70481,70486],\"disallowed\"],[[70487,70487],\"valid\"],[[70488,70492],\"disallowed\"],[[70493,70499],\"valid\"],[[70500,70501],\"disallowed\"],[[70502,70508],\"valid\"],[[70509,70511],\"disallowed\"],[[70512,70516],\"valid\"],[[70517,70783],\"disallowed\"],[[70784,70853],\"valid\"],[[70854,70854],\"valid\",[],\"NV8\"],[[70855,70855],\"valid\"],[[70856,70863],\"disallowed\"],[[70864,70873],\"valid\"],[[70874,71039],\"disallowed\"],[[71040,71093],\"valid\"],[[71094,71095],\"disallowed\"],[[71096,71104],\"valid\"],[[71105,71113],\"valid\",[],\"NV8\"],[[71114,71127],\"valid\",[],\"NV8\"],[[71128,71133],\"valid\"],[[71134,71167],\"disallowed\"],[[71168,71232],\"valid\"],[[71233,71235],\"valid\",[],\"NV8\"],[[71236,71236],\"valid\"],[[71237,71247],\"disallowed\"],[[71248,71257],\"valid\"],[[71258,71295],\"disallowed\"],[[71296,71351],\"valid\"],[[71352,71359],\"disallowed\"],[[71360,71369],\"valid\"],[[71370,71423],\"disallowed\"],[[71424,71449],\"valid\"],[[71450,71452],\"disallowed\"],[[71453,71467],\"valid\"],[[71468,71471],\"disallowed\"],[[71472,71481],\"valid\"],[[71482,71487],\"valid\",[],\"NV8\"],[[71488,71839],\"disallowed\"],[[71840,71840],\"mapped\",[71872]],[[71841,71841],\"mapped\",[71873]],[[71842,71842],\"mapped\",[71874]],[[71843,71843],\"mapped\",[71875]],[[71844,71844],\"mapped\",[71876]],[[71845,71845],\"mapped\",[71877]],[[71846,71846],\"mapped\",[71878]],[[71847,71847],\"mapped\",[71879]],[[71848,71848],\"mapped\",[71880]],[[71849,71849],\"mapped\",[71881]],[[71850,71850],\"mapped\",[71882]],[[71851,71851],\"mapped\",[71883]],[[71852,71852],\"mapped\",[71884]],[[71853,71853],\"mapped\",[71885]],[[71854,71854],\"mapped\",[71886]],[[71855,71855],\"mapped\",[71887]],[[71856,71856],\"mapped\",[71888]],[[71857,71857],\"mapped\",[71889]],[[71858,71858],\"mapped\",[71890]],[[71859,71859],\"mapped\",[71891]],[[71860,71860],\"mapped\",[71892]],[[71861,71861],\"mapped\",[71893]],[[71862,71862],\"mapped\",[71894]],[[71863,71863],\"mapped\",[71895]],[[71864,71864],\"mapped\",[71896]],[[71865,71865],\"mapped\",[71897]],[[71866,71866],\"mapped\",[71898]],[[71867,71867],\"mapped\",[71899]],[[71868,71868],\"mapped\",[71900]],[[71869,71869],\"mapped\",[71901]],[[71870,71870],\"mapped\",[71902]],[[71871,71871],\"mapped\",[71903]],[[71872,71913],\"valid\"],[[71914,71922],\"valid\",[],\"NV8\"],[[71923,71934],\"disallowed\"],[[71935,71935],\"valid\"],[[71936,72383],\"disallowed\"],[[72384,72440],\"valid\"],[[72441,73727],\"disallowed\"],[[73728,74606],\"valid\"],[[74607,74648],\"valid\"],[[74649,74649],\"valid\"],[[74650,74751],\"disallowed\"],[[74752,74850],\"valid\",[],\"NV8\"],[[74851,74862],\"valid\",[],\"NV8\"],[[74863,74863],\"disallowed\"],[[74864,74867],\"valid\",[],\"NV8\"],[[74868,74868],\"valid\",[],\"NV8\"],[[74869,74879],\"disallowed\"],[[74880,75075],\"valid\"],[[75076,77823],\"disallowed\"],[[77824,78894],\"valid\"],[[78895,82943],\"disallowed\"],[[82944,83526],\"valid\"],[[83527,92159],\"disallowed\"],[[92160,92728],\"valid\"],[[92729,92735],\"disallowed\"],[[92736,92766],\"valid\"],[[92767,92767],\"disallowed\"],[[92768,92777],\"valid\"],[[92778,92781],\"disallowed\"],[[92782,92783],\"valid\",[],\"NV8\"],[[92784,92879],\"disallowed\"],[[92880,92909],\"valid\"],[[92910,92911],\"disallowed\"],[[92912,92916],\"valid\"],[[92917,92917],\"valid\",[],\"NV8\"],[[92918,92927],\"disallowed\"],[[92928,92982],\"valid\"],[[92983,92991],\"valid\",[],\"NV8\"],[[92992,92995],\"valid\"],[[92996,92997],\"valid\",[],\"NV8\"],[[92998,93007],\"disallowed\"],[[93008,93017],\"valid\"],[[93018,93018],\"disallowed\"],[[93019,93025],\"valid\",[],\"NV8\"],[[93026,93026],\"disallowed\"],[[93027,93047],\"valid\"],[[93048,93052],\"disallowed\"],[[93053,93071],\"valid\"],[[93072,93951],\"disallowed\"],[[93952,94020],\"valid\"],[[94021,94031],\"disallowed\"],[[94032,94078],\"valid\"],[[94079,94094],\"disallowed\"],[[94095,94111],\"valid\"],[[94112,110591],\"disallowed\"],[[110592,110593],\"valid\"],[[110594,113663],\"disallowed\"],[[113664,113770],\"valid\"],[[113771,113775],\"disallowed\"],[[113776,113788],\"valid\"],[[113789,113791],\"disallowed\"],[[113792,113800],\"valid\"],[[113801,113807],\"disallowed\"],[[113808,113817],\"valid\"],[[113818,113819],\"disallowed\"],[[113820,113820],\"valid\",[],\"NV8\"],[[113821,113822],\"valid\"],[[113823,113823],\"valid\",[],\"NV8\"],[[113824,113827],\"ignored\"],[[113828,118783],\"disallowed\"],[[118784,119029],\"valid\",[],\"NV8\"],[[119030,119039],\"disallowed\"],[[119040,119078],\"valid\",[],\"NV8\"],[[119079,119080],\"disallowed\"],[[119081,119081],\"valid\",[],\"NV8\"],[[119082,119133],\"valid\",[],\"NV8\"],[[119134,119134],\"mapped\",[119127,119141]],[[119135,119135],\"mapped\",[119128,119141]],[[119136,119136],\"mapped\",[119128,119141,119150]],[[119137,119137],\"mapped\",[119128,119141,119151]],[[119138,119138],\"mapped\",[119128,119141,119152]],[[119139,119139],\"mapped\",[119128,119141,119153]],[[119140,119140],\"mapped\",[119128,119141,119154]],[[119141,119154],\"valid\",[],\"NV8\"],[[119155,119162],\"disallowed\"],[[119163,119226],\"valid\",[],\"NV8\"],[[119227,119227],\"mapped\",[119225,119141]],[[119228,119228],\"mapped\",[119226,119141]],[[119229,119229],\"mapped\",[119225,119141,119150]],[[119230,119230],\"mapped\",[119226,119141,119150]],[[119231,119231],\"mapped\",[119225,119141,119151]],[[119232,119232],\"mapped\",[119226,119141,119151]],[[119233,119261],\"valid\",[],\"NV8\"],[[119262,119272],\"valid\",[],\"NV8\"],[[119273,119295],\"disallowed\"],[[119296,119365],\"valid\",[],\"NV8\"],[[119366,119551],\"disallowed\"],[[119552,119638],\"valid\",[],\"NV8\"],[[119639,119647],\"disallowed\"],[[119648,119665],\"valid\",[],\"NV8\"],[[119666,119807],\"disallowed\"],[[119808,119808],\"mapped\",[97]],[[119809,119809],\"mapped\",[98]],[[119810,119810],\"mapped\",[99]],[[119811,119811],\"mapped\",[100]],[[119812,119812],\"mapped\",[101]],[[119813,119813],\"mapped\",[102]],[[119814,119814],\"mapped\",[103]],[[119815,119815],\"mapped\",[104]],[[119816,119816],\"mapped\",[105]],[[119817,119817],\"mapped\",[106]],[[119818,119818],\"mapped\",[107]],[[119819,119819],\"mapped\",[108]],[[119820,119820],\"mapped\",[109]],[[119821,119821],\"mapped\",[110]],[[119822,119822],\"mapped\",[111]],[[119823,119823],\"mapped\",[112]],[[119824,119824],\"mapped\",[113]],[[119825,119825],\"mapped\",[114]],[[119826,119826],\"mapped\",[115]],[[119827,119827],\"mapped\",[116]],[[119828,119828],\"mapped\",[117]],[[119829,119829],\"mapped\",[118]],[[119830,119830],\"mapped\",[119]],[[119831,119831],\"mapped\",[120]],[[119832,119832],\"mapped\",[121]],[[119833,119833],\"mapped\",[122]],[[119834,119834],\"mapped\",[97]],[[119835,119835],\"mapped\",[98]],[[119836,119836],\"mapped\",[99]],[[119837,119837],\"mapped\",[100]],[[119838,119838],\"mapped\",[101]],[[119839,119839],\"mapped\",[102]],[[119840,119840],\"mapped\",[103]],[[119841,119841],\"mapped\",[104]],[[119842,119842],\"mapped\",[105]],[[119843,119843],\"mapped\",[106]],[[119844,119844],\"mapped\",[107]],[[119845,119845],\"mapped\",[108]],[[119846,119846],\"mapped\",[109]],[[119847,119847],\"mapped\",[110]],[[119848,119848],\"mapped\",[111]],[[119849,119849],\"mapped\",[112]],[[119850,119850],\"mapped\",[113]],[[119851,119851],\"mapped\",[114]],[[119852,119852],\"mapped\",[115]],[[119853,119853],\"mapped\",[116]],[[119854,119854],\"mapped\",[117]],[[119855,119855],\"mapped\",[118]],[[119856,119856],\"mapped\",[119]],[[119857,119857],\"mapped\",[120]],[[119858,119858],\"mapped\",[121]],[[119859,119859],\"mapped\",[122]],[[119860,119860],\"mapped\",[97]],[[119861,119861],\"mapped\",[98]],[[119862,119862],\"mapped\",[99]],[[119863,119863],\"mapped\",[100]],[[119864,119864],\"mapped\",[101]],[[119865,119865],\"mapped\",[102]],[[119866,119866],\"mapped\",[103]],[[119867,119867],\"mapped\",[104]],[[119868,119868],\"mapped\",[105]],[[119869,119869],\"mapped\",[106]],[[119870,119870],\"mapped\",[107]],[[119871,119871],\"mapped\",[108]],[[119872,119872],\"mapped\",[109]],[[119873,119873],\"mapped\",[110]],[[119874,119874],\"mapped\",[111]],[[119875,119875],\"mapped\",[112]],[[119876,119876],\"mapped\",[113]],[[119877,119877],\"mapped\",[114]],[[119878,119878],\"mapped\",[115]],[[119879,119879],\"mapped\",[116]],[[119880,119880],\"mapped\",[117]],[[119881,119881],\"mapped\",[118]],[[119882,119882],\"mapped\",[119]],[[119883,119883],\"mapped\",[120]],[[119884,119884],\"mapped\",[121]],[[119885,119885],\"mapped\",[122]],[[119886,119886],\"mapped\",[97]],[[119887,119887],\"mapped\",[98]],[[119888,119888],\"mapped\",[99]],[[119889,119889],\"mapped\",[100]],[[119890,119890],\"mapped\",[101]],[[119891,119891],\"mapped\",[102]],[[119892,119892],\"mapped\",[103]],[[119893,119893],\"disallowed\"],[[119894,119894],\"mapped\",[105]],[[119895,119895],\"mapped\",[106]],[[119896,119896],\"mapped\",[107]],[[119897,119897],\"mapped\",[108]],[[119898,119898],\"mapped\",[109]],[[119899,119899],\"mapped\",[110]],[[119900,119900],\"mapped\",[111]],[[119901,119901],\"mapped\",[112]],[[119902,119902],\"mapped\",[113]],[[119903,119903],\"mapped\",[114]],[[119904,119904],\"mapped\",[115]],[[119905,119905],\"mapped\",[116]],[[119906,119906],\"mapped\",[117]],[[119907,119907],\"mapped\",[118]],[[119908,119908],\"mapped\",[119]],[[119909,119909],\"mapped\",[120]],[[119910,119910],\"mapped\",[121]],[[119911,119911],\"mapped\",[122]],[[119912,119912],\"mapped\",[97]],[[119913,119913],\"mapped\",[98]],[[119914,119914],\"mapped\",[99]],[[119915,119915],\"mapped\",[100]],[[119916,119916],\"mapped\",[101]],[[119917,119917],\"mapped\",[102]],[[119918,119918],\"mapped\",[103]],[[119919,119919],\"mapped\",[104]],[[119920,119920],\"mapped\",[105]],[[119921,119921],\"mapped\",[106]],[[119922,119922],\"mapped\",[107]],[[119923,119923],\"mapped\",[108]],[[119924,119924],\"mapped\",[109]],[[119925,119925],\"mapped\",[110]],[[119926,119926],\"mapped\",[111]],[[119927,119927],\"mapped\",[112]],[[119928,119928],\"mapped\",[113]],[[119929,119929],\"mapped\",[114]],[[119930,119930],\"mapped\",[115]],[[119931,119931],\"mapped\",[116]],[[119932,119932],\"mapped\",[117]],[[119933,119933],\"mapped\",[118]],[[119934,119934],\"mapped\",[119]],[[119935,119935],\"mapped\",[120]],[[119936,119936],\"mapped\",[121]],[[119937,119937],\"mapped\",[122]],[[119938,119938],\"mapped\",[97]],[[119939,119939],\"mapped\",[98]],[[119940,119940],\"mapped\",[99]],[[119941,119941],\"mapped\",[100]],[[119942,119942],\"mapped\",[101]],[[119943,119943],\"mapped\",[102]],[[119944,119944],\"mapped\",[103]],[[119945,119945],\"mapped\",[104]],[[119946,119946],\"mapped\",[105]],[[119947,119947],\"mapped\",[106]],[[119948,119948],\"mapped\",[107]],[[119949,119949],\"mapped\",[108]],[[119950,119950],\"mapped\",[109]],[[119951,119951],\"mapped\",[110]],[[119952,119952],\"mapped\",[111]],[[119953,119953],\"mapped\",[112]],[[119954,119954],\"mapped\",[113]],[[119955,119955],\"mapped\",[114]],[[119956,119956],\"mapped\",[115]],[[119957,119957],\"mapped\",[116]],[[119958,119958],\"mapped\",[117]],[[119959,119959],\"mapped\",[118]],[[119960,119960],\"mapped\",[119]],[[119961,119961],\"mapped\",[120]],[[119962,119962],\"mapped\",[121]],[[119963,119963],\"mapped\",[122]],[[119964,119964],\"mapped\",[97]],[[119965,119965],\"disallowed\"],[[119966,119966],\"mapped\",[99]],[[119967,119967],\"mapped\",[100]],[[119968,119969],\"disallowed\"],[[119970,119970],\"mapped\",[103]],[[119971,119972],\"disallowed\"],[[119973,119973],\"mapped\",[106]],[[119974,119974],\"mapped\",[107]],[[119975,119976],\"disallowed\"],[[119977,119977],\"mapped\",[110]],[[119978,119978],\"mapped\",[111]],[[119979,119979],\"mapped\",[112]],[[119980,119980],\"mapped\",[113]],[[119981,119981],\"disallowed\"],[[119982,119982],\"mapped\",[115]],[[119983,119983],\"mapped\",[116]],[[119984,119984],\"mapped\",[117]],[[119985,119985],\"mapped\",[118]],[[119986,119986],\"mapped\",[119]],[[119987,119987],\"mapped\",[120]],[[119988,119988],\"mapped\",[121]],[[119989,119989],\"mapped\",[122]],[[119990,119990],\"mapped\",[97]],[[119991,119991],\"mapped\",[98]],[[119992,119992],\"mapped\",[99]],[[119993,119993],\"mapped\",[100]],[[119994,119994],\"disallowed\"],[[119995,119995],\"mapped\",[102]],[[119996,119996],\"disallowed\"],[[119997,119997],\"mapped\",[104]],[[119998,119998],\"mapped\",[105]],[[119999,119999],\"mapped\",[106]],[[120000,120000],\"mapped\",[107]],[[120001,120001],\"mapped\",[108]],[[120002,120002],\"mapped\",[109]],[[120003,120003],\"mapped\",[110]],[[120004,120004],\"disallowed\"],[[120005,120005],\"mapped\",[112]],[[120006,120006],\"mapped\",[113]],[[120007,120007],\"mapped\",[114]],[[120008,120008],\"mapped\",[115]],[[120009,120009],\"mapped\",[116]],[[120010,120010],\"mapped\",[117]],[[120011,120011],\"mapped\",[118]],[[120012,120012],\"mapped\",[119]],[[120013,120013],\"mapped\",[120]],[[120014,120014],\"mapped\",[121]],[[120015,120015],\"mapped\",[122]],[[120016,120016],\"mapped\",[97]],[[120017,120017],\"mapped\",[98]],[[120018,120018],\"mapped\",[99]],[[120019,120019],\"mapped\",[100]],[[120020,120020],\"mapped\",[101]],[[120021,120021],\"mapped\",[102]],[[120022,120022],\"mapped\",[103]],[[120023,120023],\"mapped\",[104]],[[120024,120024],\"mapped\",[105]],[[120025,120025],\"mapped\",[106]],[[120026,120026],\"mapped\",[107]],[[120027,120027],\"mapped\",[108]],[[120028,120028],\"mapped\",[109]],[[120029,120029],\"mapped\",[110]],[[120030,120030],\"mapped\",[111]],[[120031,120031],\"mapped\",[112]],[[120032,120032],\"mapped\",[113]],[[120033,120033],\"mapped\",[114]],[[120034,120034],\"mapped\",[115]],[[120035,120035],\"mapped\",[116]],[[120036,120036],\"mapped\",[117]],[[120037,120037],\"mapped\",[118]],[[120038,120038],\"mapped\",[119]],[[120039,120039],\"mapped\",[120]],[[120040,120040],\"mapped\",[121]],[[120041,120041],\"mapped\",[122]],[[120042,120042],\"mapped\",[97]],[[120043,120043],\"mapped\",[98]],[[120044,120044],\"mapped\",[99]],[[120045,120045],\"mapped\",[100]],[[120046,120046],\"mapped\",[101]],[[120047,120047],\"mapped\",[102]],[[120048,120048],\"mapped\",[103]],[[120049,120049],\"mapped\",[104]],[[120050,120050],\"mapped\",[105]],[[120051,120051],\"mapped\",[106]],[[120052,120052],\"mapped\",[107]],[[120053,120053],\"mapped\",[108]],[[120054,120054],\"mapped\",[109]],[[120055,120055],\"mapped\",[110]],[[120056,120056],\"mapped\",[111]],[[120057,120057],\"mapped\",[112]],[[120058,120058],\"mapped\",[113]],[[120059,120059],\"mapped\",[114]],[[120060,120060],\"mapped\",[115]],[[120061,120061],\"mapped\",[116]],[[120062,120062],\"mapped\",[117]],[[120063,120063],\"mapped\",[118]],[[120064,120064],\"mapped\",[119]],[[120065,120065],\"mapped\",[120]],[[120066,120066],\"mapped\",[121]],[[120067,120067],\"mapped\",[122]],[[120068,120068],\"mapped\",[97]],[[120069,120069],\"mapped\",[98]],[[120070,120070],\"disallowed\"],[[120071,120071],\"mapped\",[100]],[[120072,120072],\"mapped\",[101]],[[120073,120073],\"mapped\",[102]],[[120074,120074],\"mapped\",[103]],[[120075,120076],\"disallowed\"],[[120077,120077],\"mapped\",[106]],[[120078,120078],\"mapped\",[107]],[[120079,120079],\"mapped\",[108]],[[120080,120080],\"mapped\",[109]],[[120081,120081],\"mapped\",[110]],[[120082,120082],\"mapped\",[111]],[[120083,120083],\"mapped\",[112]],[[120084,120084],\"mapped\",[113]],[[120085,120085],\"disallowed\"],[[120086,120086],\"mapped\",[115]],[[120087,120087],\"mapped\",[116]],[[120088,120088],\"mapped\",[117]],[[120089,120089],\"mapped\",[118]],[[120090,120090],\"mapped\",[119]],[[120091,120091],\"mapped\",[120]],[[120092,120092],\"mapped\",[121]],[[120093,120093],\"disallowed\"],[[120094,120094],\"mapped\",[97]],[[120095,120095],\"mapped\",[98]],[[120096,120096],\"mapped\",[99]],[[120097,120097],\"mapped\",[100]],[[120098,120098],\"mapped\",[101]],[[120099,120099],\"mapped\",[102]],[[120100,120100],\"mapped\",[103]],[[120101,120101],\"mapped\",[104]],[[120102,120102],\"mapped\",[105]],[[120103,120103],\"mapped\",[106]],[[120104,120104],\"mapped\",[107]],[[120105,120105],\"mapped\",[108]],[[120106,120106],\"mapped\",[109]],[[120107,120107],\"mapped\",[110]],[[120108,120108],\"mapped\",[111]],[[120109,120109],\"mapped\",[112]],[[120110,120110],\"mapped\",[113]],[[120111,120111],\"mapped\",[114]],[[120112,120112],\"mapped\",[115]],[[120113,120113],\"mapped\",[116]],[[120114,120114],\"mapped\",[117]],[[120115,120115],\"mapped\",[118]],[[120116,120116],\"mapped\",[119]],[[120117,120117],\"mapped\",[120]],[[120118,120118],\"mapped\",[121]],[[120119,120119],\"mapped\",[122]],[[120120,120120],\"mapped\",[97]],[[120121,120121],\"mapped\",[98]],[[120122,120122],\"disallowed\"],[[120123,120123],\"mapped\",[100]],[[120124,120124],\"mapped\",[101]],[[120125,120125],\"mapped\",[102]],[[120126,120126],\"mapped\",[103]],[[120127,120127],\"disallowed\"],[[120128,120128],\"mapped\",[105]],[[120129,120129],\"mapped\",[106]],[[120130,120130],\"mapped\",[107]],[[120131,120131],\"mapped\",[108]],[[120132,120132],\"mapped\",[109]],[[120133,120133],\"disallowed\"],[[120134,120134],\"mapped\",[111]],[[120135,120137],\"disallowed\"],[[120138,120138],\"mapped\",[115]],[[120139,120139],\"mapped\",[116]],[[120140,120140],\"mapped\",[117]],[[120141,120141],\"mapped\",[118]],[[120142,120142],\"mapped\",[119]],[[120143,120143],\"mapped\",[120]],[[120144,120144],\"mapped\",[121]],[[120145,120145],\"disallowed\"],[[120146,120146],\"mapped\",[97]],[[120147,120147],\"mapped\",[98]],[[120148,120148],\"mapped\",[99]],[[120149,120149],\"mapped\",[100]],[[120150,120150],\"mapped\",[101]],[[120151,120151],\"mapped\",[102]],[[120152,120152],\"mapped\",[103]],[[120153,120153],\"mapped\",[104]],[[120154,120154],\"mapped\",[105]],[[120155,120155],\"mapped\",[106]],[[120156,120156],\"mapped\",[107]],[[120157,120157],\"mapped\",[108]],[[120158,120158],\"mapped\",[109]],[[120159,120159],\"mapped\",[110]],[[120160,120160],\"mapped\",[111]],[[120161,120161],\"mapped\",[112]],[[120162,120162],\"mapped\",[113]],[[120163,120163],\"mapped\",[114]],[[120164,120164],\"mapped\",[115]],[[120165,120165],\"mapped\",[116]],[[120166,120166],\"mapped\",[117]],[[120167,120167],\"mapped\",[118]],[[120168,120168],\"mapped\",[119]],[[120169,120169],\"mapped\",[120]],[[120170,120170],\"mapped\",[121]],[[120171,120171],\"mapped\",[122]],[[120172,120172],\"mapped\",[97]],[[120173,120173],\"mapped\",[98]],[[120174,120174],\"mapped\",[99]],[[120175,120175],\"mapped\",[100]],[[120176,120176],\"mapped\",[101]],[[120177,120177],\"mapped\",[102]],[[120178,120178],\"mapped\",[103]],[[120179,120179],\"mapped\",[104]],[[120180,120180],\"mapped\",[105]],[[120181,120181],\"mapped\",[106]],[[120182,120182],\"mapped\",[107]],[[120183,120183],\"mapped\",[108]],[[120184,120184],\"mapped\",[109]],[[120185,120185],\"mapped\",[110]],[[120186,120186],\"mapped\",[111]],[[120187,120187],\"mapped\",[112]],[[120188,120188],\"mapped\",[113]],[[120189,120189],\"mapped\",[114]],[[120190,120190],\"mapped\",[115]],[[120191,120191],\"mapped\",[116]],[[120192,120192],\"mapped\",[117]],[[120193,120193],\"mapped\",[118]],[[120194,120194],\"mapped\",[119]],[[120195,120195],\"mapped\",[120]],[[120196,120196],\"mapped\",[121]],[[120197,120197],\"mapped\",[122]],[[120198,120198],\"mapped\",[97]],[[120199,120199],\"mapped\",[98]],[[120200,120200],\"mapped\",[99]],[[120201,120201],\"mapped\",[100]],[[120202,120202],\"mapped\",[101]],[[120203,120203],\"mapped\",[102]],[[120204,120204],\"mapped\",[103]],[[120205,120205],\"mapped\",[104]],[[120206,120206],\"mapped\",[105]],[[120207,120207],\"mapped\",[106]],[[120208,120208],\"mapped\",[107]],[[120209,120209],\"mapped\",[108]],[[120210,120210],\"mapped\",[109]],[[120211,120211],\"mapped\",[110]],[[120212,120212],\"mapped\",[111]],[[120213,120213],\"mapped\",[112]],[[120214,120214],\"mapped\",[113]],[[120215,120215],\"mapped\",[114]],[[120216,120216],\"mapped\",[115]],[[120217,120217],\"mapped\",[116]],[[120218,120218],\"mapped\",[117]],[[120219,120219],\"mapped\",[118]],[[120220,120220],\"mapped\",[119]],[[120221,120221],\"mapped\",[120]],[[120222,120222],\"mapped\",[121]],[[120223,120223],\"mapped\",[122]],[[120224,120224],\"mapped\",[97]],[[120225,120225],\"mapped\",[98]],[[120226,120226],\"mapped\",[99]],[[120227,120227],\"mapped\",[100]],[[120228,120228],\"mapped\",[101]],[[120229,120229],\"mapped\",[102]],[[120230,120230],\"mapped\",[103]],[[120231,120231],\"mapped\",[104]],[[120232,120232],\"mapped\",[105]],[[120233,120233],\"mapped\",[106]],[[120234,120234],\"mapped\",[107]],[[120235,120235],\"mapped\",[108]],[[120236,120236],\"mapped\",[109]],[[120237,120237],\"mapped\",[110]],[[120238,120238],\"mapped\",[111]],[[120239,120239],\"mapped\",[112]],[[120240,120240],\"mapped\",[113]],[[120241,120241],\"mapped\",[114]],[[120242,120242],\"mapped\",[115]],[[120243,120243],\"mapped\",[116]],[[120244,120244],\"mapped\",[117]],[[120245,120245],\"mapped\",[118]],[[120246,120246],\"mapped\",[119]],[[120247,120247],\"mapped\",[120]],[[120248,120248],\"mapped\",[121]],[[120249,120249],\"mapped\",[122]],[[120250,120250],\"mapped\",[97]],[[120251,120251],\"mapped\",[98]],[[120252,120252],\"mapped\",[99]],[[120253,120253],\"mapped\",[100]],[[120254,120254],\"mapped\",[101]],[[120255,120255],\"mapped\",[102]],[[120256,120256],\"mapped\",[103]],[[120257,120257],\"mapped\",[104]],[[120258,120258],\"mapped\",[105]],[[120259,120259],\"mapped\",[106]],[[120260,120260],\"mapped\",[107]],[[120261,120261],\"mapped\",[108]],[[120262,120262],\"mapped\",[109]],[[120263,120263],\"mapped\",[110]],[[120264,120264],\"mapped\",[111]],[[120265,120265],\"mapped\",[112]],[[120266,120266],\"mapped\",[113]],[[120267,120267],\"mapped\",[114]],[[120268,120268],\"mapped\",[115]],[[120269,120269],\"mapped\",[116]],[[120270,120270],\"mapped\",[117]],[[120271,120271],\"mapped\",[118]],[[120272,120272],\"mapped\",[119]],[[120273,120273],\"mapped\",[120]],[[120274,120274],\"mapped\",[121]],[[120275,120275],\"mapped\",[122]],[[120276,120276],\"mapped\",[97]],[[120277,120277],\"mapped\",[98]],[[120278,120278],\"mapped\",[99]],[[120279,120279],\"mapped\",[100]],[[120280,120280],\"mapped\",[101]],[[120281,120281],\"mapped\",[102]],[[120282,120282],\"mapped\",[103]],[[120283,120283],\"mapped\",[104]],[[120284,120284],\"mapped\",[105]],[[120285,120285],\"mapped\",[106]],[[120286,120286],\"mapped\",[107]],[[120287,120287],\"mapped\",[108]],[[120288,120288],\"mapped\",[109]],[[120289,120289],\"mapped\",[110]],[[120290,120290],\"mapped\",[111]],[[120291,120291],\"mapped\",[112]],[[120292,120292],\"mapped\",[113]],[[120293,120293],\"mapped\",[114]],[[120294,120294],\"mapped\",[115]],[[120295,120295],\"mapped\",[116]],[[120296,120296],\"mapped\",[117]],[[120297,120297],\"mapped\",[118]],[[120298,120298],\"mapped\",[119]],[[120299,120299],\"mapped\",[120]],[[120300,120300],\"mapped\",[121]],[[120301,120301],\"mapped\",[122]],[[120302,120302],\"mapped\",[97]],[[120303,120303],\"mapped\",[98]],[[120304,120304],\"mapped\",[99]],[[120305,120305],\"mapped\",[100]],[[120306,120306],\"mapped\",[101]],[[120307,120307],\"mapped\",[102]],[[120308,120308],\"mapped\",[103]],[[120309,120309],\"mapped\",[104]],[[120310,120310],\"mapped\",[105]],[[120311,120311],\"mapped\",[106]],[[120312,120312],\"mapped\",[107]],[[120313,120313],\"mapped\",[108]],[[120314,120314],\"mapped\",[109]],[[120315,120315],\"mapped\",[110]],[[120316,120316],\"mapped\",[111]],[[120317,120317],\"mapped\",[112]],[[120318,120318],\"mapped\",[113]],[[120319,120319],\"mapped\",[114]],[[120320,120320],\"mapped\",[115]],[[120321,120321],\"mapped\",[116]],[[120322,120322],\"mapped\",[117]],[[120323,120323],\"mapped\",[118]],[[120324,120324],\"mapped\",[119]],[[120325,120325],\"mapped\",[120]],[[120326,120326],\"mapped\",[121]],[[120327,120327],\"mapped\",[122]],[[120328,120328],\"mapped\",[97]],[[120329,120329],\"mapped\",[98]],[[120330,120330],\"mapped\",[99]],[[120331,120331],\"mapped\",[100]],[[120332,120332],\"mapped\",[101]],[[120333,120333],\"mapped\",[102]],[[120334,120334],\"mapped\",[103]],[[120335,120335],\"mapped\",[104]],[[120336,120336],\"mapped\",[105]],[[120337,120337],\"mapped\",[106]],[[120338,120338],\"mapped\",[107]],[[120339,120339],\"mapped\",[108]],[[120340,120340],\"mapped\",[109]],[[120341,120341],\"mapped\",[110]],[[120342,120342],\"mapped\",[111]],[[120343,120343],\"mapped\",[112]],[[120344,120344],\"mapped\",[113]],[[120345,120345],\"mapped\",[114]],[[120346,120346],\"mapped\",[115]],[[120347,120347],\"mapped\",[116]],[[120348,120348],\"mapped\",[117]],[[120349,120349],\"mapped\",[118]],[[120350,120350],\"mapped\",[119]],[[120351,120351],\"mapped\",[120]],[[120352,120352],\"mapped\",[121]],[[120353,120353],\"mapped\",[122]],[[120354,120354],\"mapped\",[97]],[[120355,120355],\"mapped\",[98]],[[120356,120356],\"mapped\",[99]],[[120357,120357],\"mapped\",[100]],[[120358,120358],\"mapped\",[101]],[[120359,120359],\"mapped\",[102]],[[120360,120360],\"mapped\",[103]],[[120361,120361],\"mapped\",[104]],[[120362,120362],\"mapped\",[105]],[[120363,120363],\"mapped\",[106]],[[120364,120364],\"mapped\",[107]],[[120365,120365],\"mapped\",[108]],[[120366,120366],\"mapped\",[109]],[[120367,120367],\"mapped\",[110]],[[120368,120368],\"mapped\",[111]],[[120369,120369],\"mapped\",[112]],[[120370,120370],\"mapped\",[113]],[[120371,120371],\"mapped\",[114]],[[120372,120372],\"mapped\",[115]],[[120373,120373],\"mapped\",[116]],[[120374,120374],\"mapped\",[117]],[[120375,120375],\"mapped\",[118]],[[120376,120376],\"mapped\",[119]],[[120377,120377],\"mapped\",[120]],[[120378,120378],\"mapped\",[121]],[[120379,120379],\"mapped\",[122]],[[120380,120380],\"mapped\",[97]],[[120381,120381],\"mapped\",[98]],[[120382,120382],\"mapped\",[99]],[[120383,120383],\"mapped\",[100]],[[120384,120384],\"mapped\",[101]],[[120385,120385],\"mapped\",[102]],[[120386,120386],\"mapped\",[103]],[[120387,120387],\"mapped\",[104]],[[120388,120388],\"mapped\",[105]],[[120389,120389],\"mapped\",[106]],[[120390,120390],\"mapped\",[107]],[[120391,120391],\"mapped\",[108]],[[120392,120392],\"mapped\",[109]],[[120393,120393],\"mapped\",[110]],[[120394,120394],\"mapped\",[111]],[[120395,120395],\"mapped\",[112]],[[120396,120396],\"mapped\",[113]],[[120397,120397],\"mapped\",[114]],[[120398,120398],\"mapped\",[115]],[[120399,120399],\"mapped\",[116]],[[120400,120400],\"mapped\",[117]],[[120401,120401],\"mapped\",[118]],[[120402,120402],\"mapped\",[119]],[[120403,120403],\"mapped\",[120]],[[120404,120404],\"mapped\",[121]],[[120405,120405],\"mapped\",[122]],[[120406,120406],\"mapped\",[97]],[[120407,120407],\"mapped\",[98]],[[120408,120408],\"mapped\",[99]],[[120409,120409],\"mapped\",[100]],[[120410,120410],\"mapped\",[101]],[[120411,120411],\"mapped\",[102]],[[120412,120412],\"mapped\",[103]],[[120413,120413],\"mapped\",[104]],[[120414,120414],\"mapped\",[105]],[[120415,120415],\"mapped\",[106]],[[120416,120416],\"mapped\",[107]],[[120417,120417],\"mapped\",[108]],[[120418,120418],\"mapped\",[109]],[[120419,120419],\"mapped\",[110]],[[120420,120420],\"mapped\",[111]],[[120421,120421],\"mapped\",[112]],[[120422,120422],\"mapped\",[113]],[[120423,120423],\"mapped\",[114]],[[120424,120424],\"mapped\",[115]],[[120425,120425],\"mapped\",[116]],[[120426,120426],\"mapped\",[117]],[[120427,120427],\"mapped\",[118]],[[120428,120428],\"mapped\",[119]],[[120429,120429],\"mapped\",[120]],[[120430,120430],\"mapped\",[121]],[[120431,120431],\"mapped\",[122]],[[120432,120432],\"mapped\",[97]],[[120433,120433],\"mapped\",[98]],[[120434,120434],\"mapped\",[99]],[[120435,120435],\"mapped\",[100]],[[120436,120436],\"mapped\",[101]],[[120437,120437],\"mapped\",[102]],[[120438,120438],\"mapped\",[103]],[[120439,120439],\"mapped\",[104]],[[120440,120440],\"mapped\",[105]],[[120441,120441],\"mapped\",[106]],[[120442,120442],\"mapped\",[107]],[[120443,120443],\"mapped\",[108]],[[120444,120444],\"mapped\",[109]],[[120445,120445],\"mapped\",[110]],[[120446,120446],\"mapped\",[111]],[[120447,120447],\"mapped\",[112]],[[120448,120448],\"mapped\",[113]],[[120449,120449],\"mapped\",[114]],[[120450,120450],\"mapped\",[115]],[[120451,120451],\"mapped\",[116]],[[120452,120452],\"mapped\",[117]],[[120453,120453],\"mapped\",[118]],[[120454,120454],\"mapped\",[119]],[[120455,120455],\"mapped\",[120]],[[120456,120456],\"mapped\",[121]],[[120457,120457],\"mapped\",[122]],[[120458,120458],\"mapped\",[97]],[[120459,120459],\"mapped\",[98]],[[120460,120460],\"mapped\",[99]],[[120461,120461],\"mapped\",[100]],[[120462,120462],\"mapped\",[101]],[[120463,120463],\"mapped\",[102]],[[120464,120464],\"mapped\",[103]],[[120465,120465],\"mapped\",[104]],[[120466,120466],\"mapped\",[105]],[[120467,120467],\"mapped\",[106]],[[120468,120468],\"mapped\",[107]],[[120469,120469],\"mapped\",[108]],[[120470,120470],\"mapped\",[109]],[[120471,120471],\"mapped\",[110]],[[120472,120472],\"mapped\",[111]],[[120473,120473],\"mapped\",[112]],[[120474,120474],\"mapped\",[113]],[[120475,120475],\"mapped\",[114]],[[120476,120476],\"mapped\",[115]],[[120477,120477],\"mapped\",[116]],[[120478,120478],\"mapped\",[117]],[[120479,120479],\"mapped\",[118]],[[120480,120480],\"mapped\",[119]],[[120481,120481],\"mapped\",[120]],[[120482,120482],\"mapped\",[121]],[[120483,120483],\"mapped\",[122]],[[120484,120484],\"mapped\",[305]],[[120485,120485],\"mapped\",[567]],[[120486,120487],\"disallowed\"],[[120488,120488],\"mapped\",[945]],[[120489,120489],\"mapped\",[946]],[[120490,120490],\"mapped\",[947]],[[120491,120491],\"mapped\",[948]],[[120492,120492],\"mapped\",[949]],[[120493,120493],\"mapped\",[950]],[[120494,120494],\"mapped\",[951]],[[120495,120495],\"mapped\",[952]],[[120496,120496],\"mapped\",[953]],[[120497,120497],\"mapped\",[954]],[[120498,120498],\"mapped\",[955]],[[120499,120499],\"mapped\",[956]],[[120500,120500],\"mapped\",[957]],[[120501,120501],\"mapped\",[958]],[[120502,120502],\"mapped\",[959]],[[120503,120503],\"mapped\",[960]],[[120504,120504],\"mapped\",[961]],[[120505,120505],\"mapped\",[952]],[[120506,120506],\"mapped\",[963]],[[120507,120507],\"mapped\",[964]],[[120508,120508],\"mapped\",[965]],[[120509,120509],\"mapped\",[966]],[[120510,120510],\"mapped\",[967]],[[120511,120511],\"mapped\",[968]],[[120512,120512],\"mapped\",[969]],[[120513,120513],\"mapped\",[8711]],[[120514,120514],\"mapped\",[945]],[[120515,120515],\"mapped\",[946]],[[120516,120516],\"mapped\",[947]],[[120517,120517],\"mapped\",[948]],[[120518,120518],\"mapped\",[949]],[[120519,120519],\"mapped\",[950]],[[120520,120520],\"mapped\",[951]],[[120521,120521],\"mapped\",[952]],[[120522,120522],\"mapped\",[953]],[[120523,120523],\"mapped\",[954]],[[120524,120524],\"mapped\",[955]],[[120525,120525],\"mapped\",[956]],[[120526,120526],\"mapped\",[957]],[[120527,120527],\"mapped\",[958]],[[120528,120528],\"mapped\",[959]],[[120529,120529],\"mapped\",[960]],[[120530,120530],\"mapped\",[961]],[[120531,120532],\"mapped\",[963]],[[120533,120533],\"mapped\",[964]],[[120534,120534],\"mapped\",[965]],[[120535,120535],\"mapped\",[966]],[[120536,120536],\"mapped\",[967]],[[120537,120537],\"mapped\",[968]],[[120538,120538],\"mapped\",[969]],[[120539,120539],\"mapped\",[8706]],[[120540,120540],\"mapped\",[949]],[[120541,120541],\"mapped\",[952]],[[120542,120542],\"mapped\",[954]],[[120543,120543],\"mapped\",[966]],[[120544,120544],\"mapped\",[961]],[[120545,120545],\"mapped\",[960]],[[120546,120546],\"mapped\",[945]],[[120547,120547],\"mapped\",[946]],[[120548,120548],\"mapped\",[947]],[[120549,120549],\"mapped\",[948]],[[120550,120550],\"mapped\",[949]],[[120551,120551],\"mapped\",[950]],[[120552,120552],\"mapped\",[951]],[[120553,120553],\"mapped\",[952]],[[120554,120554],\"mapped\",[953]],[[120555,120555],\"mapped\",[954]],[[120556,120556],\"mapped\",[955]],[[120557,120557],\"mapped\",[956]],[[120558,120558],\"mapped\",[957]],[[120559,120559],\"mapped\",[958]],[[120560,120560],\"mapped\",[959]],[[120561,120561],\"mapped\",[960]],[[120562,120562],\"mapped\",[961]],[[120563,120563],\"mapped\",[952]],[[120564,120564],\"mapped\",[963]],[[120565,120565],\"mapped\",[964]],[[120566,120566],\"mapped\",[965]],[[120567,120567],\"mapped\",[966]],[[120568,120568],\"mapped\",[967]],[[120569,120569],\"mapped\",[968]],[[120570,120570],\"mapped\",[969]],[[120571,120571],\"mapped\",[8711]],[[120572,120572],\"mapped\",[945]],[[120573,120573],\"mapped\",[946]],[[120574,120574],\"mapped\",[947]],[[120575,120575],\"mapped\",[948]],[[120576,120576],\"mapped\",[949]],[[120577,120577],\"mapped\",[950]],[[120578,120578],\"mapped\",[951]],[[120579,120579],\"mapped\",[952]],[[120580,120580],\"mapped\",[953]],[[120581,120581],\"mapped\",[954]],[[120582,120582],\"mapped\",[955]],[[120583,120583],\"mapped\",[956]],[[120584,120584],\"mapped\",[957]],[[120585,120585],\"mapped\",[958]],[[120586,120586],\"mapped\",[959]],[[120587,120587],\"mapped\",[960]],[[120588,120588],\"mapped\",[961]],[[120589,120590],\"mapped\",[963]],[[120591,120591],\"mapped\",[964]],[[120592,120592],\"mapped\",[965]],[[120593,120593],\"mapped\",[966]],[[120594,120594],\"mapped\",[967]],[[120595,120595],\"mapped\",[968]],[[120596,120596],\"mapped\",[969]],[[120597,120597],\"mapped\",[8706]],[[120598,120598],\"mapped\",[949]],[[120599,120599],\"mapped\",[952]],[[120600,120600],\"mapped\",[954]],[[120601,120601],\"mapped\",[966]],[[120602,120602],\"mapped\",[961]],[[120603,120603],\"mapped\",[960]],[[120604,120604],\"mapped\",[945]],[[120605,120605],\"mapped\",[946]],[[120606,120606],\"mapped\",[947]],[[120607,120607],\"mapped\",[948]],[[120608,120608],\"mapped\",[949]],[[120609,120609],\"mapped\",[950]],[[120610,120610],\"mapped\",[951]],[[120611,120611],\"mapped\",[952]],[[120612,120612],\"mapped\",[953]],[[120613,120613],\"mapped\",[954]],[[120614,120614],\"mapped\",[955]],[[120615,120615],\"mapped\",[956]],[[120616,120616],\"mapped\",[957]],[[120617,120617],\"mapped\",[958]],[[120618,120618],\"mapped\",[959]],[[120619,120619],\"mapped\",[960]],[[120620,120620],\"mapped\",[961]],[[120621,120621],\"mapped\",[952]],[[120622,120622],\"mapped\",[963]],[[120623,120623],\"mapped\",[964]],[[120624,120624],\"mapped\",[965]],[[120625,120625],\"mapped\",[966]],[[120626,120626],\"mapped\",[967]],[[120627,120627],\"mapped\",[968]],[[120628,120628],\"mapped\",[969]],[[120629,120629],\"mapped\",[8711]],[[120630,120630],\"mapped\",[945]],[[120631,120631],\"mapped\",[946]],[[120632,120632],\"mapped\",[947]],[[120633,120633],\"mapped\",[948]],[[120634,120634],\"mapped\",[949]],[[120635,120635],\"mapped\",[950]],[[120636,120636],\"mapped\",[951]],[[120637,120637],\"mapped\",[952]],[[120638,120638],\"mapped\",[953]],[[120639,120639],\"mapped\",[954]],[[120640,120640],\"mapped\",[955]],[[120641,120641],\"mapped\",[956]],[[120642,120642],\"mapped\",[957]],[[120643,120643],\"mapped\",[958]],[[120644,120644],\"mapped\",[959]],[[120645,120645],\"mapped\",[960]],[[120646,120646],\"mapped\",[961]],[[120647,120648],\"mapped\",[963]],[[120649,120649],\"mapped\",[964]],[[120650,120650],\"mapped\",[965]],[[120651,120651],\"mapped\",[966]],[[120652,120652],\"mapped\",[967]],[[120653,120653],\"mapped\",[968]],[[120654,120654],\"mapped\",[969]],[[120655,120655],\"mapped\",[8706]],[[120656,120656],\"mapped\",[949]],[[120657,120657],\"mapped\",[952]],[[120658,120658],\"mapped\",[954]],[[120659,120659],\"mapped\",[966]],[[120660,120660],\"mapped\",[961]],[[120661,120661],\"mapped\",[960]],[[120662,120662],\"mapped\",[945]],[[120663,120663],\"mapped\",[946]],[[120664,120664],\"mapped\",[947]],[[120665,120665],\"mapped\",[948]],[[120666,120666],\"mapped\",[949]],[[120667,120667],\"mapped\",[950]],[[120668,120668],\"mapped\",[951]],[[120669,120669],\"mapped\",[952]],[[120670,120670],\"mapped\",[953]],[[120671,120671],\"mapped\",[954]],[[120672,120672],\"mapped\",[955]],[[120673,120673],\"mapped\",[956]],[[120674,120674],\"mapped\",[957]],[[120675,120675],\"mapped\",[958]],[[120676,120676],\"mapped\",[959]],[[120677,120677],\"mapped\",[960]],[[120678,120678],\"mapped\",[961]],[[120679,120679],\"mapped\",[952]],[[120680,120680],\"mapped\",[963]],[[120681,120681],\"mapped\",[964]],[[120682,120682],\"mapped\",[965]],[[120683,120683],\"mapped\",[966]],[[120684,120684],\"mapped\",[967]],[[120685,120685],\"mapped\",[968]],[[120686,120686],\"mapped\",[969]],[[120687,120687],\"mapped\",[8711]],[[120688,120688],\"mapped\",[945]],[[120689,120689],\"mapped\",[946]],[[120690,120690],\"mapped\",[947]],[[120691,120691],\"mapped\",[948]],[[120692,120692],\"mapped\",[949]],[[120693,120693],\"mapped\",[950]],[[120694,120694],\"mapped\",[951]],[[120695,120695],\"mapped\",[952]],[[120696,120696],\"mapped\",[953]],[[120697,120697],\"mapped\",[954]],[[120698,120698],\"mapped\",[955]],[[120699,120699],\"mapped\",[956]],[[120700,120700],\"mapped\",[957]],[[120701,120701],\"mapped\",[958]],[[120702,120702],\"mapped\",[959]],[[120703,120703],\"mapped\",[960]],[[120704,120704],\"mapped\",[961]],[[120705,120706],\"mapped\",[963]],[[120707,120707],\"mapped\",[964]],[[120708,120708],\"mapped\",[965]],[[120709,120709],\"mapped\",[966]],[[120710,120710],\"mapped\",[967]],[[120711,120711],\"mapped\",[968]],[[120712,120712],\"mapped\",[969]],[[120713,120713],\"mapped\",[8706]],[[120714,120714],\"mapped\",[949]],[[120715,120715],\"mapped\",[952]],[[120716,120716],\"mapped\",[954]],[[120717,120717],\"mapped\",[966]],[[120718,120718],\"mapped\",[961]],[[120719,120719],\"mapped\",[960]],[[120720,120720],\"mapped\",[945]],[[120721,120721],\"mapped\",[946]],[[120722,120722],\"mapped\",[947]],[[120723,120723],\"mapped\",[948]],[[120724,120724],\"mapped\",[949]],[[120725,120725],\"mapped\",[950]],[[120726,120726],\"mapped\",[951]],[[120727,120727],\"mapped\",[952]],[[120728,120728],\"mapped\",[953]],[[120729,120729],\"mapped\",[954]],[[120730,120730],\"mapped\",[955]],[[120731,120731],\"mapped\",[956]],[[120732,120732],\"mapped\",[957]],[[120733,120733],\"mapped\",[958]],[[120734,120734],\"mapped\",[959]],[[120735,120735],\"mapped\",[960]],[[120736,120736],\"mapped\",[961]],[[120737,120737],\"mapped\",[952]],[[120738,120738],\"mapped\",[963]],[[120739,120739],\"mapped\",[964]],[[120740,120740],\"mapped\",[965]],[[120741,120741],\"mapped\",[966]],[[120742,120742],\"mapped\",[967]],[[120743,120743],\"mapped\",[968]],[[120744,120744],\"mapped\",[969]],[[120745,120745],\"mapped\",[8711]],[[120746,120746],\"mapped\",[945]],[[120747,120747],\"mapped\",[946]],[[120748,120748],\"mapped\",[947]],[[120749,120749],\"mapped\",[948]],[[120750,120750],\"mapped\",[949]],[[120751,120751],\"mapped\",[950]],[[120752,120752],\"mapped\",[951]],[[120753,120753],\"mapped\",[952]],[[120754,120754],\"mapped\",[953]],[[120755,120755],\"mapped\",[954]],[[120756,120756],\"mapped\",[955]],[[120757,120757],\"mapped\",[956]],[[120758,120758],\"mapped\",[957]],[[120759,120759],\"mapped\",[958]],[[120760,120760],\"mapped\",[959]],[[120761,120761],\"mapped\",[960]],[[120762,120762],\"mapped\",[961]],[[120763,120764],\"mapped\",[963]],[[120765,120765],\"mapped\",[964]],[[120766,120766],\"mapped\",[965]],[[120767,120767],\"mapped\",[966]],[[120768,120768],\"mapped\",[967]],[[120769,120769],\"mapped\",[968]],[[120770,120770],\"mapped\",[969]],[[120771,120771],\"mapped\",[8706]],[[120772,120772],\"mapped\",[949]],[[120773,120773],\"mapped\",[952]],[[120774,120774],\"mapped\",[954]],[[120775,120775],\"mapped\",[966]],[[120776,120776],\"mapped\",[961]],[[120777,120777],\"mapped\",[960]],[[120778,120779],\"mapped\",[989]],[[120780,120781],\"disallowed\"],[[120782,120782],\"mapped\",[48]],[[120783,120783],\"mapped\",[49]],[[120784,120784],\"mapped\",[50]],[[120785,120785],\"mapped\",[51]],[[120786,120786],\"mapped\",[52]],[[120787,120787],\"mapped\",[53]],[[120788,120788],\"mapped\",[54]],[[120789,120789],\"mapped\",[55]],[[120790,120790],\"mapped\",[56]],[[120791,120791],\"mapped\",[57]],[[120792,120792],\"mapped\",[48]],[[120793,120793],\"mapped\",[49]],[[120794,120794],\"mapped\",[50]],[[120795,120795],\"mapped\",[51]],[[120796,120796],\"mapped\",[52]],[[120797,120797],\"mapped\",[53]],[[120798,120798],\"mapped\",[54]],[[120799,120799],\"mapped\",[55]],[[120800,120800],\"mapped\",[56]],[[120801,120801],\"mapped\",[57]],[[120802,120802],\"mapped\",[48]],[[120803,120803],\"mapped\",[49]],[[120804,120804],\"mapped\",[50]],[[120805,120805],\"mapped\",[51]],[[120806,120806],\"mapped\",[52]],[[120807,120807],\"mapped\",[53]],[[120808,120808],\"mapped\",[54]],[[120809,120809],\"mapped\",[55]],[[120810,120810],\"mapped\",[56]],[[120811,120811],\"mapped\",[57]],[[120812,120812],\"mapped\",[48]],[[120813,120813],\"mapped\",[49]],[[120814,120814],\"mapped\",[50]],[[120815,120815],\"mapped\",[51]],[[120816,120816],\"mapped\",[52]],[[120817,120817],\"mapped\",[53]],[[120818,120818],\"mapped\",[54]],[[120819,120819],\"mapped\",[55]],[[120820,120820],\"mapped\",[56]],[[120821,120821],\"mapped\",[57]],[[120822,120822],\"mapped\",[48]],[[120823,120823],\"mapped\",[49]],[[120824,120824],\"mapped\",[50]],[[120825,120825],\"mapped\",[51]],[[120826,120826],\"mapped\",[52]],[[120827,120827],\"mapped\",[53]],[[120828,120828],\"mapped\",[54]],[[120829,120829],\"mapped\",[55]],[[120830,120830],\"mapped\",[56]],[[120831,120831],\"mapped\",[57]],[[120832,121343],\"valid\",[],\"NV8\"],[[121344,121398],\"valid\"],[[121399,121402],\"valid\",[],\"NV8\"],[[121403,121452],\"valid\"],[[121453,121460],\"valid\",[],\"NV8\"],[[121461,121461],\"valid\"],[[121462,121475],\"valid\",[],\"NV8\"],[[121476,121476],\"valid\"],[[121477,121483],\"valid\",[],\"NV8\"],[[121484,121498],\"disallowed\"],[[121499,121503],\"valid\"],[[121504,121504],\"disallowed\"],[[121505,121519],\"valid\"],[[121520,124927],\"disallowed\"],[[124928,125124],\"valid\"],[[125125,125126],\"disallowed\"],[[125127,125135],\"valid\",[],\"NV8\"],[[125136,125142],\"valid\"],[[125143,126463],\"disallowed\"],[[126464,126464],\"mapped\",[1575]],[[126465,126465],\"mapped\",[1576]],[[126466,126466],\"mapped\",[1580]],[[126467,126467],\"mapped\",[1583]],[[126468,126468],\"disallowed\"],[[126469,126469],\"mapped\",[1608]],[[126470,126470],\"mapped\",[1586]],[[126471,126471],\"mapped\",[1581]],[[126472,126472],\"mapped\",[1591]],[[126473,126473],\"mapped\",[1610]],[[126474,126474],\"mapped\",[1603]],[[126475,126475],\"mapped\",[1604]],[[126476,126476],\"mapped\",[1605]],[[126477,126477],\"mapped\",[1606]],[[126478,126478],\"mapped\",[1587]],[[126479,126479],\"mapped\",[1593]],[[126480,126480],\"mapped\",[1601]],[[126481,126481],\"mapped\",[1589]],[[126482,126482],\"mapped\",[1602]],[[126483,126483],\"mapped\",[1585]],[[126484,126484],\"mapped\",[1588]],[[126485,126485],\"mapped\",[1578]],[[126486,126486],\"mapped\",[1579]],[[126487,126487],\"mapped\",[1582]],[[126488,126488],\"mapped\",[1584]],[[126489,126489],\"mapped\",[1590]],[[126490,126490],\"mapped\",[1592]],[[126491,126491],\"mapped\",[1594]],[[126492,126492],\"mapped\",[1646]],[[126493,126493],\"mapped\",[1722]],[[126494,126494],\"mapped\",[1697]],[[126495,126495],\"mapped\",[1647]],[[126496,126496],\"disallowed\"],[[126497,126497],\"mapped\",[1576]],[[126498,126498],\"mapped\",[1580]],[[126499,126499],\"disallowed\"],[[126500,126500],\"mapped\",[1607]],[[126501,126502],\"disallowed\"],[[126503,126503],\"mapped\",[1581]],[[126504,126504],\"disallowed\"],[[126505,126505],\"mapped\",[1610]],[[126506,126506],\"mapped\",[1603]],[[126507,126507],\"mapped\",[1604]],[[126508,126508],\"mapped\",[1605]],[[126509,126509],\"mapped\",[1606]],[[126510,126510],\"mapped\",[1587]],[[126511,126511],\"mapped\",[1593]],[[126512,126512],\"mapped\",[1601]],[[126513,126513],\"mapped\",[1589]],[[126514,126514],\"mapped\",[1602]],[[126515,126515],\"disallowed\"],[[126516,126516],\"mapped\",[1588]],[[126517,126517],\"mapped\",[1578]],[[126518,126518],\"mapped\",[1579]],[[126519,126519],\"mapped\",[1582]],[[126520,126520],\"disallowed\"],[[126521,126521],\"mapped\",[1590]],[[126522,126522],\"disallowed\"],[[126523,126523],\"mapped\",[1594]],[[126524,126529],\"disallowed\"],[[126530,126530],\"mapped\",[1580]],[[126531,126534],\"disallowed\"],[[126535,126535],\"mapped\",[1581]],[[126536,126536],\"disallowed\"],[[126537,126537],\"mapped\",[1610]],[[126538,126538],\"disallowed\"],[[126539,126539],\"mapped\",[1604]],[[126540,126540],\"disallowed\"],[[126541,126541],\"mapped\",[1606]],[[126542,126542],\"mapped\",[1587]],[[126543,126543],\"mapped\",[1593]],[[126544,126544],\"disallowed\"],[[126545,126545],\"mapped\",[1589]],[[126546,126546],\"mapped\",[1602]],[[126547,126547],\"disallowed\"],[[126548,126548],\"mapped\",[1588]],[[126549,126550],\"disallowed\"],[[126551,126551],\"mapped\",[1582]],[[126552,126552],\"disallowed\"],[[126553,126553],\"mapped\",[1590]],[[126554,126554],\"disallowed\"],[[126555,126555],\"mapped\",[1594]],[[126556,126556],\"disallowed\"],[[126557,126557],\"mapped\",[1722]],[[126558,126558],\"disallowed\"],[[126559,126559],\"mapped\",[1647]],[[126560,126560],\"disallowed\"],[[126561,126561],\"mapped\",[1576]],[[126562,126562],\"mapped\",[1580]],[[126563,126563],\"disallowed\"],[[126564,126564],\"mapped\",[1607]],[[126565,126566],\"disallowed\"],[[126567,126567],\"mapped\",[1581]],[[126568,126568],\"mapped\",[1591]],[[126569,126569],\"mapped\",[1610]],[[126570,126570],\"mapped\",[1603]],[[126571,126571],\"disallowed\"],[[126572,126572],\"mapped\",[1605]],[[126573,126573],\"mapped\",[1606]],[[126574,126574],\"mapped\",[1587]],[[126575,126575],\"mapped\",[1593]],[[126576,126576],\"mapped\",[1601]],[[126577,126577],\"mapped\",[1589]],[[126578,126578],\"mapped\",[1602]],[[126579,126579],\"disallowed\"],[[126580,126580],\"mapped\",[1588]],[[126581,126581],\"mapped\",[1578]],[[126582,126582],\"mapped\",[1579]],[[126583,126583],\"mapped\",[1582]],[[126584,126584],\"disallowed\"],[[126585,126585],\"mapped\",[1590]],[[126586,126586],\"mapped\",[1592]],[[126587,126587],\"mapped\",[1594]],[[126588,126588],\"mapped\",[1646]],[[126589,126589],\"disallowed\"],[[126590,126590],\"mapped\",[1697]],[[126591,126591],\"disallowed\"],[[126592,126592],\"mapped\",[1575]],[[126593,126593],\"mapped\",[1576]],[[126594,126594],\"mapped\",[1580]],[[126595,126595],\"mapped\",[1583]],[[126596,126596],\"mapped\",[1607]],[[126597,126597],\"mapped\",[1608]],[[126598,126598],\"mapped\",[1586]],[[126599,126599],\"mapped\",[1581]],[[126600,126600],\"mapped\",[1591]],[[126601,126601],\"mapped\",[1610]],[[126602,126602],\"disallowed\"],[[126603,126603],\"mapped\",[1604]],[[126604,126604],\"mapped\",[1605]],[[126605,126605],\"mapped\",[1606]],[[126606,126606],\"mapped\",[1587]],[[126607,126607],\"mapped\",[1593]],[[126608,126608],\"mapped\",[1601]],[[126609,126609],\"mapped\",[1589]],[[126610,126610],\"mapped\",[1602]],[[126611,126611],\"mapped\",[1585]],[[126612,126612],\"mapped\",[1588]],[[126613,126613],\"mapped\",[1578]],[[126614,126614],\"mapped\",[1579]],[[126615,126615],\"mapped\",[1582]],[[126616,126616],\"mapped\",[1584]],[[126617,126617],\"mapped\",[1590]],[[126618,126618],\"mapped\",[1592]],[[126619,126619],\"mapped\",[1594]],[[126620,126624],\"disallowed\"],[[126625,126625],\"mapped\",[1576]],[[126626,126626],\"mapped\",[1580]],[[126627,126627],\"mapped\",[1583]],[[126628,126628],\"disallowed\"],[[126629,126629],\"mapped\",[1608]],[[126630,126630],\"mapped\",[1586]],[[126631,126631],\"mapped\",[1581]],[[126632,126632],\"mapped\",[1591]],[[126633,126633],\"mapped\",[1610]],[[126634,126634],\"disallowed\"],[[126635,126635],\"mapped\",[1604]],[[126636,126636],\"mapped\",[1605]],[[126637,126637],\"mapped\",[1606]],[[126638,126638],\"mapped\",[1587]],[[126639,126639],\"mapped\",[1593]],[[126640,126640],\"mapped\",[1601]],[[126641,126641],\"mapped\",[1589]],[[126642,126642],\"mapped\",[1602]],[[126643,126643],\"mapped\",[1585]],[[126644,126644],\"mapped\",[1588]],[[126645,126645],\"mapped\",[1578]],[[126646,126646],\"mapped\",[1579]],[[126647,126647],\"mapped\",[1582]],[[126648,126648],\"mapped\",[1584]],[[126649,126649],\"mapped\",[1590]],[[126650,126650],\"mapped\",[1592]],[[126651,126651],\"mapped\",[1594]],[[126652,126703],\"disallowed\"],[[126704,126705],\"valid\",[],\"NV8\"],[[126706,126975],\"disallowed\"],[[126976,127019],\"valid\",[],\"NV8\"],[[127020,127023],\"disallowed\"],[[127024,127123],\"valid\",[],\"NV8\"],[[127124,127135],\"disallowed\"],[[127136,127150],\"valid\",[],\"NV8\"],[[127151,127152],\"disallowed\"],[[127153,127166],\"valid\",[],\"NV8\"],[[127167,127167],\"valid\",[],\"NV8\"],[[127168,127168],\"disallowed\"],[[127169,127183],\"valid\",[],\"NV8\"],[[127184,127184],\"disallowed\"],[[127185,127199],\"valid\",[],\"NV8\"],[[127200,127221],\"valid\",[],\"NV8\"],[[127222,127231],\"disallowed\"],[[127232,127232],\"disallowed\"],[[127233,127233],\"disallowed_STD3_mapped\",[48,44]],[[127234,127234],\"disallowed_STD3_mapped\",[49,44]],[[127235,127235],\"disallowed_STD3_mapped\",[50,44]],[[127236,127236],\"disallowed_STD3_mapped\",[51,44]],[[127237,127237],\"disallowed_STD3_mapped\",[52,44]],[[127238,127238],\"disallowed_STD3_mapped\",[53,44]],[[127239,127239],\"disallowed_STD3_mapped\",[54,44]],[[127240,127240],\"disallowed_STD3_mapped\",[55,44]],[[127241,127241],\"disallowed_STD3_mapped\",[56,44]],[[127242,127242],\"disallowed_STD3_mapped\",[57,44]],[[127243,127244],\"valid\",[],\"NV8\"],[[127245,127247],\"disallowed\"],[[127248,127248],\"disallowed_STD3_mapped\",[40,97,41]],[[127249,127249],\"disallowed_STD3_mapped\",[40,98,41]],[[127250,127250],\"disallowed_STD3_mapped\",[40,99,41]],[[127251,127251],\"disallowed_STD3_mapped\",[40,100,41]],[[127252,127252],\"disallowed_STD3_mapped\",[40,101,41]],[[127253,127253],\"disallowed_STD3_mapped\",[40,102,41]],[[127254,127254],\"disallowed_STD3_mapped\",[40,103,41]],[[127255,127255],\"disallowed_STD3_mapped\",[40,104,41]],[[127256,127256],\"disallowed_STD3_mapped\",[40,105,41]],[[127257,127257],\"disallowed_STD3_mapped\",[40,106,41]],[[127258,127258],\"disallowed_STD3_mapped\",[40,107,41]],[[127259,127259],\"disallowed_STD3_mapped\",[40,108,41]],[[127260,127260],\"disallowed_STD3_mapped\",[40,109,41]],[[127261,127261],\"disallowed_STD3_mapped\",[40,110,41]],[[127262,127262],\"disallowed_STD3_mapped\",[40,111,41]],[[127263,127263],\"disallowed_STD3_mapped\",[40,112,41]],[[127264,127264],\"disallowed_STD3_mapped\",[40,113,41]],[[127265,127265],\"disallowed_STD3_mapped\",[40,114,41]],[[127266,127266],\"disallowed_STD3_mapped\",[40,115,41]],[[127267,127267],\"disallowed_STD3_mapped\",[40,116,41]],[[127268,127268],\"disallowed_STD3_mapped\",[40,117,41]],[[127269,127269],\"disallowed_STD3_mapped\",[40,118,41]],[[127270,127270],\"disallowed_STD3_mapped\",[40,119,41]],[[127271,127271],\"disallowed_STD3_mapped\",[40,120,41]],[[127272,127272],\"disallowed_STD3_mapped\",[40,121,41]],[[127273,127273],\"disallowed_STD3_mapped\",[40,122,41]],[[127274,127274],\"mapped\",[12308,115,12309]],[[127275,127275],\"mapped\",[99]],[[127276,127276],\"mapped\",[114]],[[127277,127277],\"mapped\",[99,100]],[[127278,127278],\"mapped\",[119,122]],[[127279,127279],\"disallowed\"],[[127280,127280],\"mapped\",[97]],[[127281,127281],\"mapped\",[98]],[[127282,127282],\"mapped\",[99]],[[127283,127283],\"mapped\",[100]],[[127284,127284],\"mapped\",[101]],[[127285,127285],\"mapped\",[102]],[[127286,127286],\"mapped\",[103]],[[127287,127287],\"mapped\",[104]],[[127288,127288],\"mapped\",[105]],[[127289,127289],\"mapped\",[106]],[[127290,127290],\"mapped\",[107]],[[127291,127291],\"mapped\",[108]],[[127292,127292],\"mapped\",[109]],[[127293,127293],\"mapped\",[110]],[[127294,127294],\"mapped\",[111]],[[127295,127295],\"mapped\",[112]],[[127296,127296],\"mapped\",[113]],[[127297,127297],\"mapped\",[114]],[[127298,127298],\"mapped\",[115]],[[127299,127299],\"mapped\",[116]],[[127300,127300],\"mapped\",[117]],[[127301,127301],\"mapped\",[118]],[[127302,127302],\"mapped\",[119]],[[127303,127303],\"mapped\",[120]],[[127304,127304],\"mapped\",[121]],[[127305,127305],\"mapped\",[122]],[[127306,127306],\"mapped\",[104,118]],[[127307,127307],\"mapped\",[109,118]],[[127308,127308],\"mapped\",[115,100]],[[127309,127309],\"mapped\",[115,115]],[[127310,127310],\"mapped\",[112,112,118]],[[127311,127311],\"mapped\",[119,99]],[[127312,127318],\"valid\",[],\"NV8\"],[[127319,127319],\"valid\",[],\"NV8\"],[[127320,127326],\"valid\",[],\"NV8\"],[[127327,127327],\"valid\",[],\"NV8\"],[[127328,127337],\"valid\",[],\"NV8\"],[[127338,127338],\"mapped\",[109,99]],[[127339,127339],\"mapped\",[109,100]],[[127340,127343],\"disallowed\"],[[127344,127352],\"valid\",[],\"NV8\"],[[127353,127353],\"valid\",[],\"NV8\"],[[127354,127354],\"valid\",[],\"NV8\"],[[127355,127356],\"valid\",[],\"NV8\"],[[127357,127358],\"valid\",[],\"NV8\"],[[127359,127359],\"valid\",[],\"NV8\"],[[127360,127369],\"valid\",[],\"NV8\"],[[127370,127373],\"valid\",[],\"NV8\"],[[127374,127375],\"valid\",[],\"NV8\"],[[127376,127376],\"mapped\",[100,106]],[[127377,127386],\"valid\",[],\"NV8\"],[[127387,127461],\"disallowed\"],[[127462,127487],\"valid\",[],\"NV8\"],[[127488,127488],\"mapped\",[12411,12363]],[[127489,127489],\"mapped\",[12467,12467]],[[127490,127490],\"mapped\",[12469]],[[127491,127503],\"disallowed\"],[[127504,127504],\"mapped\",[25163]],[[127505,127505],\"mapped\",[23383]],[[127506,127506],\"mapped\",[21452]],[[127507,127507],\"mapped\",[12487]],[[127508,127508],\"mapped\",[20108]],[[127509,127509],\"mapped\",[22810]],[[127510,127510],\"mapped\",[35299]],[[127511,127511],\"mapped\",[22825]],[[127512,127512],\"mapped\",[20132]],[[127513,127513],\"mapped\",[26144]],[[127514,127514],\"mapped\",[28961]],[[127515,127515],\"mapped\",[26009]],[[127516,127516],\"mapped\",[21069]],[[127517,127517],\"mapped\",[24460]],[[127518,127518],\"mapped\",[20877]],[[127519,127519],\"mapped\",[26032]],[[127520,127520],\"mapped\",[21021]],[[127521,127521],\"mapped\",[32066]],[[127522,127522],\"mapped\",[29983]],[[127523,127523],\"mapped\",[36009]],[[127524,127524],\"mapped\",[22768]],[[127525,127525],\"mapped\",[21561]],[[127526,127526],\"mapped\",[28436]],[[127527,127527],\"mapped\",[25237]],[[127528,127528],\"mapped\",[25429]],[[127529,127529],\"mapped\",[19968]],[[127530,127530],\"mapped\",[19977]],[[127531,127531],\"mapped\",[36938]],[[127532,127532],\"mapped\",[24038]],[[127533,127533],\"mapped\",[20013]],[[127534,127534],\"mapped\",[21491]],[[127535,127535],\"mapped\",[25351]],[[127536,127536],\"mapped\",[36208]],[[127537,127537],\"mapped\",[25171]],[[127538,127538],\"mapped\",[31105]],[[127539,127539],\"mapped\",[31354]],[[127540,127540],\"mapped\",[21512]],[[127541,127541],\"mapped\",[28288]],[[127542,127542],\"mapped\",[26377]],[[127543,127543],\"mapped\",[26376]],[[127544,127544],\"mapped\",[30003]],[[127545,127545],\"mapped\",[21106]],[[127546,127546],\"mapped\",[21942]],[[127547,127551],\"disallowed\"],[[127552,127552],\"mapped\",[12308,26412,12309]],[[127553,127553],\"mapped\",[12308,19977,12309]],[[127554,127554],\"mapped\",[12308,20108,12309]],[[127555,127555],\"mapped\",[12308,23433,12309]],[[127556,127556],\"mapped\",[12308,28857,12309]],[[127557,127557],\"mapped\",[12308,25171,12309]],[[127558,127558],\"mapped\",[12308,30423,12309]],[[127559,127559],\"mapped\",[12308,21213,12309]],[[127560,127560],\"mapped\",[12308,25943,12309]],[[127561,127567],\"disallowed\"],[[127568,127568],\"mapped\",[24471]],[[127569,127569],\"mapped\",[21487]],[[127570,127743],\"disallowed\"],[[127744,127776],\"valid\",[],\"NV8\"],[[127777,127788],\"valid\",[],\"NV8\"],[[127789,127791],\"valid\",[],\"NV8\"],[[127792,127797],\"valid\",[],\"NV8\"],[[127798,127798],\"valid\",[],\"NV8\"],[[127799,127868],\"valid\",[],\"NV8\"],[[127869,127869],\"valid\",[],\"NV8\"],[[127870,127871],\"valid\",[],\"NV8\"],[[127872,127891],\"valid\",[],\"NV8\"],[[127892,127903],\"valid\",[],\"NV8\"],[[127904,127940],\"valid\",[],\"NV8\"],[[127941,127941],\"valid\",[],\"NV8\"],[[127942,127946],\"valid\",[],\"NV8\"],[[127947,127950],\"valid\",[],\"NV8\"],[[127951,127955],\"valid\",[],\"NV8\"],[[127956,127967],\"valid\",[],\"NV8\"],[[127968,127984],\"valid\",[],\"NV8\"],[[127985,127991],\"valid\",[],\"NV8\"],[[127992,127999],\"valid\",[],\"NV8\"],[[128000,128062],\"valid\",[],\"NV8\"],[[128063,128063],\"valid\",[],\"NV8\"],[[128064,128064],\"valid\",[],\"NV8\"],[[128065,128065],\"valid\",[],\"NV8\"],[[128066,128247],\"valid\",[],\"NV8\"],[[128248,128248],\"valid\",[],\"NV8\"],[[128249,128252],\"valid\",[],\"NV8\"],[[128253,128254],\"valid\",[],\"NV8\"],[[128255,128255],\"valid\",[],\"NV8\"],[[128256,128317],\"valid\",[],\"NV8\"],[[128318,128319],\"valid\",[],\"NV8\"],[[128320,128323],\"valid\",[],\"NV8\"],[[128324,128330],\"valid\",[],\"NV8\"],[[128331,128335],\"valid\",[],\"NV8\"],[[128336,128359],\"valid\",[],\"NV8\"],[[128360,128377],\"valid\",[],\"NV8\"],[[128378,128378],\"disallowed\"],[[128379,128419],\"valid\",[],\"NV8\"],[[128420,128420],\"disallowed\"],[[128421,128506],\"valid\",[],\"NV8\"],[[128507,128511],\"valid\",[],\"NV8\"],[[128512,128512],\"valid\",[],\"NV8\"],[[128513,128528],\"valid\",[],\"NV8\"],[[128529,128529],\"valid\",[],\"NV8\"],[[128530,128532],\"valid\",[],\"NV8\"],[[128533,128533],\"valid\",[],\"NV8\"],[[128534,128534],\"valid\",[],\"NV8\"],[[128535,128535],\"valid\",[],\"NV8\"],[[128536,128536],\"valid\",[],\"NV8\"],[[128537,128537],\"valid\",[],\"NV8\"],[[128538,128538],\"valid\",[],\"NV8\"],[[128539,128539],\"valid\",[],\"NV8\"],[[128540,128542],\"valid\",[],\"NV8\"],[[128543,128543],\"valid\",[],\"NV8\"],[[128544,128549],\"valid\",[],\"NV8\"],[[128550,128551],\"valid\",[],\"NV8\"],[[128552,128555],\"valid\",[],\"NV8\"],[[128556,128556],\"valid\",[],\"NV8\"],[[128557,128557],\"valid\",[],\"NV8\"],[[128558,128559],\"valid\",[],\"NV8\"],[[128560,128563],\"valid\",[],\"NV8\"],[[128564,128564],\"valid\",[],\"NV8\"],[[128565,128576],\"valid\",[],\"NV8\"],[[128577,128578],\"valid\",[],\"NV8\"],[[128579,128580],\"valid\",[],\"NV8\"],[[128581,128591],\"valid\",[],\"NV8\"],[[128592,128639],\"valid\",[],\"NV8\"],[[128640,128709],\"valid\",[],\"NV8\"],[[128710,128719],\"valid\",[],\"NV8\"],[[128720,128720],\"valid\",[],\"NV8\"],[[128721,128735],\"disallowed\"],[[128736,128748],\"valid\",[],\"NV8\"],[[128749,128751],\"disallowed\"],[[128752,128755],\"valid\",[],\"NV8\"],[[128756,128767],\"disallowed\"],[[128768,128883],\"valid\",[],\"NV8\"],[[128884,128895],\"disallowed\"],[[128896,128980],\"valid\",[],\"NV8\"],[[128981,129023],\"disallowed\"],[[129024,129035],\"valid\",[],\"NV8\"],[[129036,129039],\"disallowed\"],[[129040,129095],\"valid\",[],\"NV8\"],[[129096,129103],\"disallowed\"],[[129104,129113],\"valid\",[],\"NV8\"],[[129114,129119],\"disallowed\"],[[129120,129159],\"valid\",[],\"NV8\"],[[129160,129167],\"disallowed\"],[[129168,129197],\"valid\",[],\"NV8\"],[[129198,129295],\"disallowed\"],[[129296,129304],\"valid\",[],\"NV8\"],[[129305,129407],\"disallowed\"],[[129408,129412],\"valid\",[],\"NV8\"],[[129413,129471],\"disallowed\"],[[129472,129472],\"valid\",[],\"NV8\"],[[129473,131069],\"disallowed\"],[[131070,131071],\"disallowed\"],[[131072,173782],\"valid\"],[[173783,173823],\"disallowed\"],[[173824,177972],\"valid\"],[[177973,177983],\"disallowed\"],[[177984,178205],\"valid\"],[[178206,178207],\"disallowed\"],[[178208,183969],\"valid\"],[[183970,194559],\"disallowed\"],[[194560,194560],\"mapped\",[20029]],[[194561,194561],\"mapped\",[20024]],[[194562,194562],\"mapped\",[20033]],[[194563,194563],\"mapped\",[131362]],[[194564,194564],\"mapped\",[20320]],[[194565,194565],\"mapped\",[20398]],[[194566,194566],\"mapped\",[20411]],[[194567,194567],\"mapped\",[20482]],[[194568,194568],\"mapped\",[20602]],[[194569,194569],\"mapped\",[20633]],[[194570,194570],\"mapped\",[20711]],[[194571,194571],\"mapped\",[20687]],[[194572,194572],\"mapped\",[13470]],[[194573,194573],\"mapped\",[132666]],[[194574,194574],\"mapped\",[20813]],[[194575,194575],\"mapped\",[20820]],[[194576,194576],\"mapped\",[20836]],[[194577,194577],\"mapped\",[20855]],[[194578,194578],\"mapped\",[132380]],[[194579,194579],\"mapped\",[13497]],[[194580,194580],\"mapped\",[20839]],[[194581,194581],\"mapped\",[20877]],[[194582,194582],\"mapped\",[132427]],[[194583,194583],\"mapped\",[20887]],[[194584,194584],\"mapped\",[20900]],[[194585,194585],\"mapped\",[20172]],[[194586,194586],\"mapped\",[20908]],[[194587,194587],\"mapped\",[20917]],[[194588,194588],\"mapped\",[168415]],[[194589,194589],\"mapped\",[20981]],[[194590,194590],\"mapped\",[20995]],[[194591,194591],\"mapped\",[13535]],[[194592,194592],\"mapped\",[21051]],[[194593,194593],\"mapped\",[21062]],[[194594,194594],\"mapped\",[21106]],[[194595,194595],\"mapped\",[21111]],[[194596,194596],\"mapped\",[13589]],[[194597,194597],\"mapped\",[21191]],[[194598,194598],\"mapped\",[21193]],[[194599,194599],\"mapped\",[21220]],[[194600,194600],\"mapped\",[21242]],[[194601,194601],\"mapped\",[21253]],[[194602,194602],\"mapped\",[21254]],[[194603,194603],\"mapped\",[21271]],[[194604,194604],\"mapped\",[21321]],[[194605,194605],\"mapped\",[21329]],[[194606,194606],\"mapped\",[21338]],[[194607,194607],\"mapped\",[21363]],[[194608,194608],\"mapped\",[21373]],[[194609,194611],\"mapped\",[21375]],[[194612,194612],\"mapped\",[133676]],[[194613,194613],\"mapped\",[28784]],[[194614,194614],\"mapped\",[21450]],[[194615,194615],\"mapped\",[21471]],[[194616,194616],\"mapped\",[133987]],[[194617,194617],\"mapped\",[21483]],[[194618,194618],\"mapped\",[21489]],[[194619,194619],\"mapped\",[21510]],[[194620,194620],\"mapped\",[21662]],[[194621,194621],\"mapped\",[21560]],[[194622,194622],\"mapped\",[21576]],[[194623,194623],\"mapped\",[21608]],[[194624,194624],\"mapped\",[21666]],[[194625,194625],\"mapped\",[21750]],[[194626,194626],\"mapped\",[21776]],[[194627,194627],\"mapped\",[21843]],[[194628,194628],\"mapped\",[21859]],[[194629,194630],\"mapped\",[21892]],[[194631,194631],\"mapped\",[21913]],[[194632,194632],\"mapped\",[21931]],[[194633,194633],\"mapped\",[21939]],[[194634,194634],\"mapped\",[21954]],[[194635,194635],\"mapped\",[22294]],[[194636,194636],\"mapped\",[22022]],[[194637,194637],\"mapped\",[22295]],[[194638,194638],\"mapped\",[22097]],[[194639,194639],\"mapped\",[22132]],[[194640,194640],\"mapped\",[20999]],[[194641,194641],\"mapped\",[22766]],[[194642,194642],\"mapped\",[22478]],[[194643,194643],\"mapped\",[22516]],[[194644,194644],\"mapped\",[22541]],[[194645,194645],\"mapped\",[22411]],[[194646,194646],\"mapped\",[22578]],[[194647,194647],\"mapped\",[22577]],[[194648,194648],\"mapped\",[22700]],[[194649,194649],\"mapped\",[136420]],[[194650,194650],\"mapped\",[22770]],[[194651,194651],\"mapped\",[22775]],[[194652,194652],\"mapped\",[22790]],[[194653,194653],\"mapped\",[22810]],[[194654,194654],\"mapped\",[22818]],[[194655,194655],\"mapped\",[22882]],[[194656,194656],\"mapped\",[136872]],[[194657,194657],\"mapped\",[136938]],[[194658,194658],\"mapped\",[23020]],[[194659,194659],\"mapped\",[23067]],[[194660,194660],\"mapped\",[23079]],[[194661,194661],\"mapped\",[23000]],[[194662,194662],\"mapped\",[23142]],[[194663,194663],\"mapped\",[14062]],[[194664,194664],\"disallowed\"],[[194665,194665],\"mapped\",[23304]],[[194666,194667],\"mapped\",[23358]],[[194668,194668],\"mapped\",[137672]],[[194669,194669],\"mapped\",[23491]],[[194670,194670],\"mapped\",[23512]],[[194671,194671],\"mapped\",[23527]],[[194672,194672],\"mapped\",[23539]],[[194673,194673],\"mapped\",[138008]],[[194674,194674],\"mapped\",[23551]],[[194675,194675],\"mapped\",[23558]],[[194676,194676],\"disallowed\"],[[194677,194677],\"mapped\",[23586]],[[194678,194678],\"mapped\",[14209]],[[194679,194679],\"mapped\",[23648]],[[194680,194680],\"mapped\",[23662]],[[194681,194681],\"mapped\",[23744]],[[194682,194682],\"mapped\",[23693]],[[194683,194683],\"mapped\",[138724]],[[194684,194684],\"mapped\",[23875]],[[194685,194685],\"mapped\",[138726]],[[194686,194686],\"mapped\",[23918]],[[194687,194687],\"mapped\",[23915]],[[194688,194688],\"mapped\",[23932]],[[194689,194689],\"mapped\",[24033]],[[194690,194690],\"mapped\",[24034]],[[194691,194691],\"mapped\",[14383]],[[194692,194692],\"mapped\",[24061]],[[194693,194693],\"mapped\",[24104]],[[194694,194694],\"mapped\",[24125]],[[194695,194695],\"mapped\",[24169]],[[194696,194696],\"mapped\",[14434]],[[194697,194697],\"mapped\",[139651]],[[194698,194698],\"mapped\",[14460]],[[194699,194699],\"mapped\",[24240]],[[194700,194700],\"mapped\",[24243]],[[194701,194701],\"mapped\",[24246]],[[194702,194702],\"mapped\",[24266]],[[194703,194703],\"mapped\",[172946]],[[194704,194704],\"mapped\",[24318]],[[194705,194706],\"mapped\",[140081]],[[194707,194707],\"mapped\",[33281]],[[194708,194709],\"mapped\",[24354]],[[194710,194710],\"mapped\",[14535]],[[194711,194711],\"mapped\",[144056]],[[194712,194712],\"mapped\",[156122]],[[194713,194713],\"mapped\",[24418]],[[194714,194714],\"mapped\",[24427]],[[194715,194715],\"mapped\",[14563]],[[194716,194716],\"mapped\",[24474]],[[194717,194717],\"mapped\",[24525]],[[194718,194718],\"mapped\",[24535]],[[194719,194719],\"mapped\",[24569]],[[194720,194720],\"mapped\",[24705]],[[194721,194721],\"mapped\",[14650]],[[194722,194722],\"mapped\",[14620]],[[194723,194723],\"mapped\",[24724]],[[194724,194724],\"mapped\",[141012]],[[194725,194725],\"mapped\",[24775]],[[194726,194726],\"mapped\",[24904]],[[194727,194727],\"mapped\",[24908]],[[194728,194728],\"mapped\",[24910]],[[194729,194729],\"mapped\",[24908]],[[194730,194730],\"mapped\",[24954]],[[194731,194731],\"mapped\",[24974]],[[194732,194732],\"mapped\",[25010]],[[194733,194733],\"mapped\",[24996]],[[194734,194734],\"mapped\",[25007]],[[194735,194735],\"mapped\",[25054]],[[194736,194736],\"mapped\",[25074]],[[194737,194737],\"mapped\",[25078]],[[194738,194738],\"mapped\",[25104]],[[194739,194739],\"mapped\",[25115]],[[194740,194740],\"mapped\",[25181]],[[194741,194741],\"mapped\",[25265]],[[194742,194742],\"mapped\",[25300]],[[194743,194743],\"mapped\",[25424]],[[194744,194744],\"mapped\",[142092]],[[194745,194745],\"mapped\",[25405]],[[194746,194746],\"mapped\",[25340]],[[194747,194747],\"mapped\",[25448]],[[194748,194748],\"mapped\",[25475]],[[194749,194749],\"mapped\",[25572]],[[194750,194750],\"mapped\",[142321]],[[194751,194751],\"mapped\",[25634]],[[194752,194752],\"mapped\",[25541]],[[194753,194753],\"mapped\",[25513]],[[194754,194754],\"mapped\",[14894]],[[194755,194755],\"mapped\",[25705]],[[194756,194756],\"mapped\",[25726]],[[194757,194757],\"mapped\",[25757]],[[194758,194758],\"mapped\",[25719]],[[194759,194759],\"mapped\",[14956]],[[194760,194760],\"mapped\",[25935]],[[194761,194761],\"mapped\",[25964]],[[194762,194762],\"mapped\",[143370]],[[194763,194763],\"mapped\",[26083]],[[194764,194764],\"mapped\",[26360]],[[194765,194765],\"mapped\",[26185]],[[194766,194766],\"mapped\",[15129]],[[194767,194767],\"mapped\",[26257]],[[194768,194768],\"mapped\",[15112]],[[194769,194769],\"mapped\",[15076]],[[194770,194770],\"mapped\",[20882]],[[194771,194771],\"mapped\",[20885]],[[194772,194772],\"mapped\",[26368]],[[194773,194773],\"mapped\",[26268]],[[194774,194774],\"mapped\",[32941]],[[194775,194775],\"mapped\",[17369]],[[194776,194776],\"mapped\",[26391]],[[194777,194777],\"mapped\",[26395]],[[194778,194778],\"mapped\",[26401]],[[194779,194779],\"mapped\",[26462]],[[194780,194780],\"mapped\",[26451]],[[194781,194781],\"mapped\",[144323]],[[194782,194782],\"mapped\",[15177]],[[194783,194783],\"mapped\",[26618]],[[194784,194784],\"mapped\",[26501]],[[194785,194785],\"mapped\",[26706]],[[194786,194786],\"mapped\",[26757]],[[194787,194787],\"mapped\",[144493]],[[194788,194788],\"mapped\",[26766]],[[194789,194789],\"mapped\",[26655]],[[194790,194790],\"mapped\",[26900]],[[194791,194791],\"mapped\",[15261]],[[194792,194792],\"mapped\",[26946]],[[194793,194793],\"mapped\",[27043]],[[194794,194794],\"mapped\",[27114]],[[194795,194795],\"mapped\",[27304]],[[194796,194796],\"mapped\",[145059]],[[194797,194797],\"mapped\",[27355]],[[194798,194798],\"mapped\",[15384]],[[194799,194799],\"mapped\",[27425]],[[194800,194800],\"mapped\",[145575]],[[194801,194801],\"mapped\",[27476]],[[194802,194802],\"mapped\",[15438]],[[194803,194803],\"mapped\",[27506]],[[194804,194804],\"mapped\",[27551]],[[194805,194805],\"mapped\",[27578]],[[194806,194806],\"mapped\",[27579]],[[194807,194807],\"mapped\",[146061]],[[194808,194808],\"mapped\",[138507]],[[194809,194809],\"mapped\",[146170]],[[194810,194810],\"mapped\",[27726]],[[194811,194811],\"mapped\",[146620]],[[194812,194812],\"mapped\",[27839]],[[194813,194813],\"mapped\",[27853]],[[194814,194814],\"mapped\",[27751]],[[194815,194815],\"mapped\",[27926]],[[194816,194816],\"mapped\",[27966]],[[194817,194817],\"mapped\",[28023]],[[194818,194818],\"mapped\",[27969]],[[194819,194819],\"mapped\",[28009]],[[194820,194820],\"mapped\",[28024]],[[194821,194821],\"mapped\",[28037]],[[194822,194822],\"mapped\",[146718]],[[194823,194823],\"mapped\",[27956]],[[194824,194824],\"mapped\",[28207]],[[194825,194825],\"mapped\",[28270]],[[194826,194826],\"mapped\",[15667]],[[194827,194827],\"mapped\",[28363]],[[194828,194828],\"mapped\",[28359]],[[194829,194829],\"mapped\",[147153]],[[194830,194830],\"mapped\",[28153]],[[194831,194831],\"mapped\",[28526]],[[194832,194832],\"mapped\",[147294]],[[194833,194833],\"mapped\",[147342]],[[194834,194834],\"mapped\",[28614]],[[194835,194835],\"mapped\",[28729]],[[194836,194836],\"mapped\",[28702]],[[194837,194837],\"mapped\",[28699]],[[194838,194838],\"mapped\",[15766]],[[194839,194839],\"mapped\",[28746]],[[194840,194840],\"mapped\",[28797]],[[194841,194841],\"mapped\",[28791]],[[194842,194842],\"mapped\",[28845]],[[194843,194843],\"mapped\",[132389]],[[194844,194844],\"mapped\",[28997]],[[194845,194845],\"mapped\",[148067]],[[194846,194846],\"mapped\",[29084]],[[194847,194847],\"disallowed\"],[[194848,194848],\"mapped\",[29224]],[[194849,194849],\"mapped\",[29237]],[[194850,194850],\"mapped\",[29264]],[[194851,194851],\"mapped\",[149000]],[[194852,194852],\"mapped\",[29312]],[[194853,194853],\"mapped\",[29333]],[[194854,194854],\"mapped\",[149301]],[[194855,194855],\"mapped\",[149524]],[[194856,194856],\"mapped\",[29562]],[[194857,194857],\"mapped\",[29579]],[[194858,194858],\"mapped\",[16044]],[[194859,194859],\"mapped\",[29605]],[[194860,194861],\"mapped\",[16056]],[[194862,194862],\"mapped\",[29767]],[[194863,194863],\"mapped\",[29788]],[[194864,194864],\"mapped\",[29809]],[[194865,194865],\"mapped\",[29829]],[[194866,194866],\"mapped\",[29898]],[[194867,194867],\"mapped\",[16155]],[[194868,194868],\"mapped\",[29988]],[[194869,194869],\"mapped\",[150582]],[[194870,194870],\"mapped\",[30014]],[[194871,194871],\"mapped\",[150674]],[[194872,194872],\"mapped\",[30064]],[[194873,194873],\"mapped\",[139679]],[[194874,194874],\"mapped\",[30224]],[[194875,194875],\"mapped\",[151457]],[[194876,194876],\"mapped\",[151480]],[[194877,194877],\"mapped\",[151620]],[[194878,194878],\"mapped\",[16380]],[[194879,194879],\"mapped\",[16392]],[[194880,194880],\"mapped\",[30452]],[[194881,194881],\"mapped\",[151795]],[[194882,194882],\"mapped\",[151794]],[[194883,194883],\"mapped\",[151833]],[[194884,194884],\"mapped\",[151859]],[[194885,194885],\"mapped\",[30494]],[[194886,194887],\"mapped\",[30495]],[[194888,194888],\"mapped\",[30538]],[[194889,194889],\"mapped\",[16441]],[[194890,194890],\"mapped\",[30603]],[[194891,194891],\"mapped\",[16454]],[[194892,194892],\"mapped\",[16534]],[[194893,194893],\"mapped\",[152605]],[[194894,194894],\"mapped\",[30798]],[[194895,194895],\"mapped\",[30860]],[[194896,194896],\"mapped\",[30924]],[[194897,194897],\"mapped\",[16611]],[[194898,194898],\"mapped\",[153126]],[[194899,194899],\"mapped\",[31062]],[[194900,194900],\"mapped\",[153242]],[[194901,194901],\"mapped\",[153285]],[[194902,194902],\"mapped\",[31119]],[[194903,194903],\"mapped\",[31211]],[[194904,194904],\"mapped\",[16687]],[[194905,194905],\"mapped\",[31296]],[[194906,194906],\"mapped\",[31306]],[[194907,194907],\"mapped\",[31311]],[[194908,194908],\"mapped\",[153980]],[[194909,194910],\"mapped\",[154279]],[[194911,194911],\"disallowed\"],[[194912,194912],\"mapped\",[16898]],[[194913,194913],\"mapped\",[154539]],[[194914,194914],\"mapped\",[31686]],[[194915,194915],\"mapped\",[31689]],[[194916,194916],\"mapped\",[16935]],[[194917,194917],\"mapped\",[154752]],[[194918,194918],\"mapped\",[31954]],[[194919,194919],\"mapped\",[17056]],[[194920,194920],\"mapped\",[31976]],[[194921,194921],\"mapped\",[31971]],[[194922,194922],\"mapped\",[32000]],[[194923,194923],\"mapped\",[155526]],[[194924,194924],\"mapped\",[32099]],[[194925,194925],\"mapped\",[17153]],[[194926,194926],\"mapped\",[32199]],[[194927,194927],\"mapped\",[32258]],[[194928,194928],\"mapped\",[32325]],[[194929,194929],\"mapped\",[17204]],[[194930,194930],\"mapped\",[156200]],[[194931,194931],\"mapped\",[156231]],[[194932,194932],\"mapped\",[17241]],[[194933,194933],\"mapped\",[156377]],[[194934,194934],\"mapped\",[32634]],[[194935,194935],\"mapped\",[156478]],[[194936,194936],\"mapped\",[32661]],[[194937,194937],\"mapped\",[32762]],[[194938,194938],\"mapped\",[32773]],[[194939,194939],\"mapped\",[156890]],[[194940,194940],\"mapped\",[156963]],[[194941,194941],\"mapped\",[32864]],[[194942,194942],\"mapped\",[157096]],[[194943,194943],\"mapped\",[32880]],[[194944,194944],\"mapped\",[144223]],[[194945,194945],\"mapped\",[17365]],[[194946,194946],\"mapped\",[32946]],[[194947,194947],\"mapped\",[33027]],[[194948,194948],\"mapped\",[17419]],[[194949,194949],\"mapped\",[33086]],[[194950,194950],\"mapped\",[23221]],[[194951,194951],\"mapped\",[157607]],[[194952,194952],\"mapped\",[157621]],[[194953,194953],\"mapped\",[144275]],[[194954,194954],\"mapped\",[144284]],[[194955,194955],\"mapped\",[33281]],[[194956,194956],\"mapped\",[33284]],[[194957,194957],\"mapped\",[36766]],[[194958,194958],\"mapped\",[17515]],[[194959,194959],\"mapped\",[33425]],[[194960,194960],\"mapped\",[33419]],[[194961,194961],\"mapped\",[33437]],[[194962,194962],\"mapped\",[21171]],[[194963,194963],\"mapped\",[33457]],[[194964,194964],\"mapped\",[33459]],[[194965,194965],\"mapped\",[33469]],[[194966,194966],\"mapped\",[33510]],[[194967,194967],\"mapped\",[158524]],[[194968,194968],\"mapped\",[33509]],[[194969,194969],\"mapped\",[33565]],[[194970,194970],\"mapped\",[33635]],[[194971,194971],\"mapped\",[33709]],[[194972,194972],\"mapped\",[33571]],[[194973,194973],\"mapped\",[33725]],[[194974,194974],\"mapped\",[33767]],[[194975,194975],\"mapped\",[33879]],[[194976,194976],\"mapped\",[33619]],[[194977,194977],\"mapped\",[33738]],[[194978,194978],\"mapped\",[33740]],[[194979,194979],\"mapped\",[33756]],[[194980,194980],\"mapped\",[158774]],[[194981,194981],\"mapped\",[159083]],[[194982,194982],\"mapped\",[158933]],[[194983,194983],\"mapped\",[17707]],[[194984,194984],\"mapped\",[34033]],[[194985,194985],\"mapped\",[34035]],[[194986,194986],\"mapped\",[34070]],[[194987,194987],\"mapped\",[160714]],[[194988,194988],\"mapped\",[34148]],[[194989,194989],\"mapped\",[159532]],[[194990,194990],\"mapped\",[17757]],[[194991,194991],\"mapped\",[17761]],[[194992,194992],\"mapped\",[159665]],[[194993,194993],\"mapped\",[159954]],[[194994,194994],\"mapped\",[17771]],[[194995,194995],\"mapped\",[34384]],[[194996,194996],\"mapped\",[34396]],[[194997,194997],\"mapped\",[34407]],[[194998,194998],\"mapped\",[34409]],[[194999,194999],\"mapped\",[34473]],[[195000,195000],\"mapped\",[34440]],[[195001,195001],\"mapped\",[34574]],[[195002,195002],\"mapped\",[34530]],[[195003,195003],\"mapped\",[34681]],[[195004,195004],\"mapped\",[34600]],[[195005,195005],\"mapped\",[34667]],[[195006,195006],\"mapped\",[34694]],[[195007,195007],\"disallowed\"],[[195008,195008],\"mapped\",[34785]],[[195009,195009],\"mapped\",[34817]],[[195010,195010],\"mapped\",[17913]],[[195011,195011],\"mapped\",[34912]],[[195012,195012],\"mapped\",[34915]],[[195013,195013],\"mapped\",[161383]],[[195014,195014],\"mapped\",[35031]],[[195015,195015],\"mapped\",[35038]],[[195016,195016],\"mapped\",[17973]],[[195017,195017],\"mapped\",[35066]],[[195018,195018],\"mapped\",[13499]],[[195019,195019],\"mapped\",[161966]],[[195020,195020],\"mapped\",[162150]],[[195021,195021],\"mapped\",[18110]],[[195022,195022],\"mapped\",[18119]],[[195023,195023],\"mapped\",[35488]],[[195024,195024],\"mapped\",[35565]],[[195025,195025],\"mapped\",[35722]],[[195026,195026],\"mapped\",[35925]],[[195027,195027],\"mapped\",[162984]],[[195028,195028],\"mapped\",[36011]],[[195029,195029],\"mapped\",[36033]],[[195030,195030],\"mapped\",[36123]],[[195031,195031],\"mapped\",[36215]],[[195032,195032],\"mapped\",[163631]],[[195033,195033],\"mapped\",[133124]],[[195034,195034],\"mapped\",[36299]],[[195035,195035],\"mapped\",[36284]],[[195036,195036],\"mapped\",[36336]],[[195037,195037],\"mapped\",[133342]],[[195038,195038],\"mapped\",[36564]],[[195039,195039],\"mapped\",[36664]],[[195040,195040],\"mapped\",[165330]],[[195041,195041],\"mapped\",[165357]],[[195042,195042],\"mapped\",[37012]],[[195043,195043],\"mapped\",[37105]],[[195044,195044],\"mapped\",[37137]],[[195045,195045],\"mapped\",[165678]],[[195046,195046],\"mapped\",[37147]],[[195047,195047],\"mapped\",[37432]],[[195048,195048],\"mapped\",[37591]],[[195049,195049],\"mapped\",[37592]],[[195050,195050],\"mapped\",[37500]],[[195051,195051],\"mapped\",[37881]],[[195052,195052],\"mapped\",[37909]],[[195053,195053],\"mapped\",[166906]],[[195054,195054],\"mapped\",[38283]],[[195055,195055],\"mapped\",[18837]],[[195056,195056],\"mapped\",[38327]],[[195057,195057],\"mapped\",[167287]],[[195058,195058],\"mapped\",[18918]],[[195059,195059],\"mapped\",[38595]],[[195060,195060],\"mapped\",[23986]],[[195061,195061],\"mapped\",[38691]],[[195062,195062],\"mapped\",[168261]],[[195063,195063],\"mapped\",[168474]],[[195064,195064],\"mapped\",[19054]],[[195065,195065],\"mapped\",[19062]],[[195066,195066],\"mapped\",[38880]],[[195067,195067],\"mapped\",[168970]],[[195068,195068],\"mapped\",[19122]],[[195069,195069],\"mapped\",[169110]],[[195070,195071],\"mapped\",[38923]],[[195072,195072],\"mapped\",[38953]],[[195073,195073],\"mapped\",[169398]],[[195074,195074],\"mapped\",[39138]],[[195075,195075],\"mapped\",[19251]],[[195076,195076],\"mapped\",[39209]],[[195077,195077],\"mapped\",[39335]],[[195078,195078],\"mapped\",[39362]],[[195079,195079],\"mapped\",[39422]],[[195080,195080],\"mapped\",[19406]],[[195081,195081],\"mapped\",[170800]],[[195082,195082],\"mapped\",[39698]],[[195083,195083],\"mapped\",[40000]],[[195084,195084],\"mapped\",[40189]],[[195085,195085],\"mapped\",[19662]],[[195086,195086],\"mapped\",[19693]],[[195087,195087],\"mapped\",[40295]],[[195088,195088],\"mapped\",[172238]],[[195089,195089],\"mapped\",[19704]],[[195090,195090],\"mapped\",[172293]],[[195091,195091],\"mapped\",[172558]],[[195092,195092],\"mapped\",[172689]],[[195093,195093],\"mapped\",[40635]],[[195094,195094],\"mapped\",[19798]],[[195095,195095],\"mapped\",[40697]],[[195096,195096],\"mapped\",[40702]],[[195097,195097],\"mapped\",[40709]],[[195098,195098],\"mapped\",[40719]],[[195099,195099],\"mapped\",[40726]],[[195100,195100],\"mapped\",[40763]],[[195101,195101],\"mapped\",[173568]],[[195102,196605],\"disallowed\"],[[196606,196607],\"disallowed\"],[[196608,262141],\"disallowed\"],[[262142,262143],\"disallowed\"],[[262144,327677],\"disallowed\"],[[327678,327679],\"disallowed\"],[[327680,393213],\"disallowed\"],[[393214,393215],\"disallowed\"],[[393216,458749],\"disallowed\"],[[458750,458751],\"disallowed\"],[[458752,524285],\"disallowed\"],[[524286,524287],\"disallowed\"],[[524288,589821],\"disallowed\"],[[589822,589823],\"disallowed\"],[[589824,655357],\"disallowed\"],[[655358,655359],\"disallowed\"],[[655360,720893],\"disallowed\"],[[720894,720895],\"disallowed\"],[[720896,786429],\"disallowed\"],[[786430,786431],\"disallowed\"],[[786432,851965],\"disallowed\"],[[851966,851967],\"disallowed\"],[[851968,917501],\"disallowed\"],[[917502,917503],\"disallowed\"],[[917504,917504],\"disallowed\"],[[917505,917505],\"disallowed\"],[[917506,917535],\"disallowed\"],[[917536,917631],\"disallowed\"],[[917632,917759],\"disallowed\"],[[917760,917999],\"ignored\"],[[918000,983037],\"disallowed\"],[[983038,983039],\"disallowed\"],[[983040,1048573],\"disallowed\"],[[1048574,1048575],\"disallowed\"],[[1048576,1114109],\"disallowed\"],[[1114110,1114111],\"disallowed\"]]');\n\n/***/ }),\n\n/***/ 2357:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"assert\");\n\n/***/ }),\n\n/***/ 8614:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"events\");\n\n/***/ }),\n\n/***/ 5747:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"fs\");\n\n/***/ }),\n\n/***/ 8605:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"http\");\n\n/***/ }),\n\n/***/ 7211:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"https\");\n\n/***/ }),\n\n/***/ 1631:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"net\");\n\n/***/ }),\n\n/***/ 2087:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"os\");\n\n/***/ }),\n\n/***/ 5622:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"path\");\n\n/***/ }),\n\n/***/ 4213:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"punycode\");\n\n/***/ }),\n\n/***/ 2413:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"stream\");\n\n/***/ }),\n\n/***/ 4016:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"tls\");\n\n/***/ }),\n\n/***/ 8835:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"url\");\n\n/***/ }),\n\n/***/ 1669:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"util\");\n\n/***/ }),\n\n/***/ 8761:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"zlib\");\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __nccwpck_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\tvar threw = true;\n/******/ \t\ttry {\n/******/ \t\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __nccwpck_require__);\n/******/ \t\t\tthrew = false;\n/******/ \t\t} finally {\n/******/ \t\t\tif(threw) delete __webpack_module_cache__[moduleId];\n/******/ \t\t}\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat */\n/******/ \t\n/******/ \tif (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + \"/\";\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n// This entry need to be wrapped in an IIFE because it need to be in strict mode.\n(() => {\n\"use strict\";\nvar exports = __webpack_exports__;\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.submitSnapshot = exports.Snapshot = exports.Package = exports.PackageCache = exports.Manifest = exports.BuildTarget = void 0;\nconst package_cache_1 = __nccwpck_require__(2947);\nObject.defineProperty(exports, \"PackageCache\", ({ enumerable: true, get: function () { return package_cache_1.PackageCache; } }));\nconst manifest_1 = __nccwpck_require__(2973);\nObject.defineProperty(exports, \"Manifest\", ({ enumerable: true, get: function () { return manifest_1.Manifest; } }));\nObject.defineProperty(exports, \"BuildTarget\", ({ enumerable: true, get: function () { return manifest_1.BuildTarget; } }));\nconst package_1 = __nccwpck_require__(4590);\nObject.defineProperty(exports, \"Package\", ({ enumerable: true, get: function () { return package_1.Package; } }));\nconst snapshot_1 = __nccwpck_require__(3767);\nObject.defineProperty(exports, \"Snapshot\", ({ enumerable: true, get: function () { return snapshot_1.Snapshot; } }));\nObject.defineProperty(exports, \"submitSnapshot\", ({ enumerable: true, get: function () { return snapshot_1.submitSnapshot; } }));\n//# sourceMappingURL=index.js.map\n})();\n\nmodule.exports = __webpack_exports__;\n/******/ })()\n;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.submitSnapshot = exports.Snapshot = exports.jobFromContext = void 0;\nconst core = __importStar(require(\"@actions/core\"));\nconst github = __importStar(require(\"@actions/github\"));\nconst rest_1 = require(\"@octokit/rest\");\nconst request_error_1 = require(\"@octokit/request-error\");\n/**\n * jobFromContext creates a job from a @actions/github Context\n *\n * @param {Context} context\n * @returns {Job}\n */\nfunction jobFromContext(context) {\n return {\n correlator: context.job,\n id: context.runId.toString()\n };\n}\nexports.jobFromContext = jobFromContext;\n/**\n * Snapshot is the top-level container for Dependency Submission\n */\nclass Snapshot {\n /**\n * All constructor parameters of a Snapshot are optional, but can be specified for specific overrides\n *\n * @param {Detector} detector\n * @param {Context} context\n * @param {Job} job\n * @param {Date} date\n * @param {number} version\n */\n constructor(detector, context = github.context, job, date = new Date(), version = 0) {\n this.detector = detector;\n this.version = version;\n this.job = job || jobFromContext(context);\n this.sha = context.sha;\n this.ref = context.ref;\n this.scanned = date.toISOString();\n this.manifests = {};\n }\n /**\n * addManifest adds a manifest to the snapshot. At least one manifest must be added.\n *\n * @param {Manifest} manifest\n */\n addManifest(manifest) {\n this.manifests[manifest.name] = manifest;\n }\n /**\n * prettyJSON formats an intended version of the Snapshot (useful for debugging)\n *\n * @returns {string}\n */\n prettyJSON() {\n return JSON.stringify(this, undefined, 4);\n }\n}\nexports.Snapshot = Snapshot;\n/**\n * submitSnapshot submits a snapshot to the Dependency Submission API\n *\n * @param {Snapshot} snapshot\n * @param {Context} context\n */\nfunction submitSnapshot(snapshot, context = github.context) {\n return __awaiter(this, void 0, void 0, function* () {\n core.setOutput('snapshot', JSON.stringify(snapshot));\n core.notice('Submitting snapshot...');\n core.notice(snapshot.prettyJSON());\n const repo = context.repo;\n const githubToken = core.getInput('token') || (yield core.getIDToken());\n const octokit = new rest_1.Octokit({\n auth: githubToken\n });\n try {\n const response = yield octokit.request('POST /repos/{owner}/{repo}/dependency-graph/snapshots', {\n headers: {\n accept: 'application/vnd.github.foo-bar-preview+json'\n },\n owner: repo.owner,\n repo: repo.repo,\n data: JSON.stringify(snapshot)\n });\n core.notice('Snapshot successfully created at ' + response.data.created_at.toString());\n }\n catch (error) {\n if (error instanceof request_error_1.RequestError) {\n core.error(`HTTP Status ${error.status} for request ${error.request.method} ${error.request.url}`);\n if (error.response) {\n core.error(`Response body:\\n${JSON.stringify(error.response.data, undefined, 2)}`);\n }\n }\n if (error instanceof Error) {\n core.error(error.message);\n if (error.stack)\n core.error(error.stack);\n }\n throw new Error(`Failed to submit snapshot: ${error}`);\n }\n });\n}\nexports.submitSnapshot = submitSnapshot;\n//# sourceMappingURL=snapshot.js.map","(()=>{var e={650:e=>{var r=Object.prototype.toString;var n=typeof Buffer.alloc===\"function\"&&typeof Buffer.allocUnsafe===\"function\"&&typeof Buffer.from===\"function\";function isArrayBuffer(e){return r.call(e).slice(8,-1)===\"ArrayBuffer\"}function fromArrayBuffer(e,r,t){r>>>=0;var o=e.byteLength-r;if(o<0){throw new RangeError(\"'offset' is out of bounds\")}if(t===undefined){t=o}else{t>>>=0;if(t>o){throw new RangeError(\"'length' is out of bounds\")}}return n?Buffer.from(e.slice(r,r+t)):new Buffer(new Uint8Array(e.slice(r,r+t)))}function fromString(e,r){if(typeof r!==\"string\"||r===\"\"){r=\"utf8\"}if(!Buffer.isEncoding(r)){throw new TypeError('\"encoding\" must be a valid string encoding')}return n?Buffer.from(e,r):new Buffer(e,r)}function bufferFrom(e,r,t){if(typeof e===\"number\"){throw new TypeError('\"value\" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,r,t)}if(typeof e===\"string\"){return fromString(e,r)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},284:(e,r,n)=>{e=n.nmd(e);var t=n(596).SourceMapConsumer;var o=n(622);var i;try{i=n(747);if(!i.existsSync||!i.readFileSync){i=null}}catch(e){}var a=n(650);function dynamicRequire(e,r){return e.require(r)}var u=false;var s=false;var l=false;var c=\"auto\";var p={};var f={};var g=/^data:application\\/json[^,]+base64,/;var h=[];var d=[];function isInBrowser(){if(c===\"browser\")return true;if(c===\"node\")return false;return typeof window!==\"undefined\"&&typeof XMLHttpRequest===\"function\"&&!(window.require&&window.module&&window.process&&window.process.type===\"renderer\")}function hasGlobalProcessEventEmitter(){return typeof process===\"object\"&&process!==null&&typeof process.on===\"function\"}function handlerExec(e){return function(r){for(var n=0;n\"}var n=this.getLineNumber();if(n!=null){r+=\":\"+n;var t=this.getColumnNumber();if(t){r+=\":\"+t}}}var o=\"\";var i=this.getFunctionName();var a=true;var u=this.isConstructor();var s=!(this.isToplevel()||u);if(s){var l=this.getTypeName();if(l===\"[object Object]\"){l=\"null\"}var c=this.getMethodName();if(i){if(l&&i.indexOf(l)!=0){o+=l+\".\"}o+=i;if(c&&i.indexOf(\".\"+c)!=i.length-c.length-1){o+=\" [as \"+c+\"]\"}}else{o+=l+\".\"+(c||\"\")}}else if(u){o+=\"new \"+(i||\"\")}else if(i){o+=i}else{o+=r;a=false}if(a){o+=\" (\"+r+\")\"}return o}function cloneCallSite(e){var r={};Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(n){r[n]=/^(?:is|get)/.test(n)?function(){return e[n].call(e)}:e[n]}));r.toString=CallSiteToString;return r}function wrapCallSite(e,r){if(r===undefined){r={nextPosition:null,curPosition:null}}if(e.isNative()){r.curPosition=null;return e}var n=e.getFileName()||e.getScriptNameOrSourceURL();if(n){var t=e.getLineNumber();var o=e.getColumnNumber()-1;var i=/^v(10\\.1[6-9]|10\\.[2-9][0-9]|10\\.[0-9]{3,}|1[2-9]\\d*|[2-9]\\d|\\d{3,}|11\\.11)/;var a=i.test(process.version)?0:62;if(t===1&&o>a&&!isInBrowser()&&!e.isEval()){o-=a}var u=mapSourcePosition({source:n,line:t,column:o});r.curPosition=u;e=cloneCallSite(e);var s=e.getFunctionName;e.getFunctionName=function(){if(r.nextPosition==null){return s()}return r.nextPosition.name||s()};e.getFileName=function(){return u.source};e.getLineNumber=function(){return u.line};e.getColumnNumber=function(){return u.column+1};e.getScriptNameOrSourceURL=function(){return u.source};return e}var l=e.isEval()&&e.getEvalOrigin();if(l){l=mapEvalOrigin(l);e=cloneCallSite(e);e.getEvalOrigin=function(){return l};return e}return e}function prepareStackTrace(e,r){if(l){p={};f={}}var n=e.name||\"Error\";var t=e.message||\"\";var o=n+\": \"+t;var i={nextPosition:null,curPosition:null};var a=[];for(var u=r.length-1;u>=0;u--){a.push(\"\\n at \"+wrapCallSite(r[u],i));i.nextPosition=i.curPosition}i.curPosition=i.nextPosition=null;return o+a.reverse().join(\"\")}function getErrorSource(e){var r=/\\n at [^(]+ \\((.*):(\\d+):(\\d+)\\)/.exec(e.stack);if(r){var n=r[1];var t=+r[2];var o=+r[3];var a=p[n];if(!a&&i&&i.existsSync(n)){try{a=i.readFileSync(n,\"utf8\")}catch(e){a=\"\"}}if(a){var u=a.split(/(?:\\r\\n|\\r|\\n)/)[t-1];if(u){return n+\":\"+t+\"\\n\"+u+\"\\n\"+new Array(o).join(\" \")+\"^\"}}}return null}function printErrorAndExit(e){var r=getErrorSource(e);if(process.stderr._handle&&process.stderr._handle.setBlocking){process.stderr._handle.setBlocking(true)}if(r){console.error();console.error(r)}console.error(e.stack);process.exit(1)}function shimEmitUncaughtException(){var e=process.emit;process.emit=function(r){if(r===\"uncaughtException\"){var n=arguments[1]&&arguments[1].stack;var t=this.listeners(r).length>0;if(n&&!t){return printErrorAndExit(arguments[1])}}return e.apply(this,arguments)}}var S=h.slice(0);var _=d.slice(0);r.wrapCallSite=wrapCallSite;r.getErrorSource=getErrorSource;r.mapSourcePosition=mapSourcePosition;r.retrieveSourceMap=v;r.install=function(r){r=r||{};if(r.environment){c=r.environment;if([\"node\",\"browser\",\"auto\"].indexOf(c)===-1){throw new Error(\"environment \"+c+\" was unknown. Available options are {auto, browser, node}\")}}if(r.retrieveFile){if(r.overrideRetrieveFile){h.length=0}h.unshift(r.retrieveFile)}if(r.retrieveSourceMap){if(r.overrideRetrieveSourceMap){d.length=0}d.unshift(r.retrieveSourceMap)}if(r.hookRequire&&!isInBrowser()){var n=dynamicRequire(e,\"module\");var t=n.prototype._compile;if(!t.__sourceMapSupport){n.prototype._compile=function(e,r){p[r]=e;f[r]=undefined;return t.call(this,e,r)};n.prototype._compile.__sourceMapSupport=true}}if(!l){l=\"emptyCacheBetweenOperations\"in r?r.emptyCacheBetweenOperations:false}if(!u){u=true;Error.prepareStackTrace=prepareStackTrace}if(!s){var o=\"handleUncaughtExceptions\"in r?r.handleUncaughtExceptions:true;try{var i=dynamicRequire(e,\"worker_threads\");if(i.isMainThread===false){o=false}}catch(e){}if(o&&hasGlobalProcessEventEmitter()){s=true;shimEmitUncaughtException()}}};r.resetRetrieveHandlers=function(){h.length=0;d.length=0;h=S.slice(0);d=_.slice(0);v=handlerExec(d);m=handlerExec(h)}},837:(e,r,n)=>{var t=n(983);var o=Object.prototype.hasOwnProperty;var i=typeof Map!==\"undefined\";function ArraySet(){this._array=[];this._set=i?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,r){var n=new ArraySet;for(var t=0,o=e.length;t=0){return r}}else{var n=t.toSetString(e);if(o.call(this._set,n)){return this._set[n]}}throw new Error('\"'+e+'\" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e{var t=n(537);var o=5;var i=1<>1;return r?-n:n}r.encode=function base64VLQ_encode(e){var r=\"\";var n;var i=toVLQSigned(e);do{n=i&a;i>>>=o;if(i>0){n|=u}r+=t.encode(n)}while(i>0);return r};r.decode=function base64VLQ_decode(e,r,n){var i=e.length;var s=0;var l=0;var c,p;do{if(r>=i){throw new Error(\"Expected more digits in base 64 VLQ value.\")}p=t.decode(e.charCodeAt(r++));if(p===-1){throw new Error(\"Invalid base64 digit: \"+e.charAt(r-1))}c=!!(p&u);p&=a;s=s+(p<{var n=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\".split(\"\");r.encode=function(e){if(0<=e&&e{r.GREATEST_LOWER_BOUND=1;r.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,t,o,i,a){var u=Math.floor((n-e)/2)+e;var s=i(t,o[u],true);if(s===0){return u}else if(s>0){if(n-u>1){return recursiveSearch(u,n,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return n1){return recursiveSearch(e,u,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return u}else{return e<0?-1:e}}}r.search=function search(e,n,t,o){if(n.length===0){return-1}var i=recursiveSearch(-1,n.length,e,n,t,o||r.GREATEST_LOWER_BOUND);if(i<0){return-1}while(i-1>=0){if(t(n[i],n[i-1],true)!==0){break}--i}return i}},740:(e,r,n)=>{var t=n(983);function generatedPositionAfter(e,r){var n=e.generatedLine;var o=r.generatedLine;var i=e.generatedColumn;var a=r.generatedColumn;return o>n||o==n&&a>=i||t.compareByGeneratedPositionsInflated(e,r)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,r){this._array.forEach(e,r)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(t.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};r.H=MappingList},226:(e,r)=>{function swap(e,r,n){var t=e[r];e[r]=e[n];e[n]=t}function randomIntInRange(e,r){return Math.round(e+Math.random()*(r-e))}function doQuickSort(e,r,n,t){if(n{var t;var o=n(983);var i=n(164);var a=n(837).I;var u=n(215);var s=n(226).U;function SourceMapConsumer(e,r){var n=e;if(typeof e===\"string\"){n=o.parseSourceMapInput(e)}return n.sections!=null?new IndexedSourceMapConsumer(n,r):new BasicSourceMapConsumer(n,r)}SourceMapConsumer.fromSourceMap=function(e,r){return BasicSourceMapConsumer.fromSourceMap(e,r)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,\"_generatedMappings\",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,\"_originalMappings\",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,r){var n=e.charAt(r);return n===\";\"||n===\",\"};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){throw new Error(\"Subclasses must implement _parseMappings\")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,r,n){var t=r||null;var i=n||SourceMapConsumer.GENERATED_ORDER;var a;switch(i){case SourceMapConsumer.GENERATED_ORDER:a=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error(\"Unknown order of iteration.\")}var u=this.sourceRoot;a.map((function(e){var r=e.source===null?null:this._sources.at(e.source);r=o.computeSourceURL(u,r,this._sourceMapURL);return{source:r,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,t)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var r=o.getArg(e,\"line\");var n={source:o.getArg(e,\"source\"),originalLine:r,originalColumn:o.getArg(e,\"column\",0)};n.source=this._findSourceIndex(n.source);if(n.source<0){return[]}var t=[];var a=this._findMapping(n,this._originalMappings,\"originalLine\",\"originalColumn\",o.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(a>=0){var u=this._originalMappings[a];if(e.column===undefined){var s=u.originalLine;while(u&&u.originalLine===s){t.push({line:o.getArg(u,\"generatedLine\",null),column:o.getArg(u,\"generatedColumn\",null),lastColumn:o.getArg(u,\"lastGeneratedColumn\",null)});u=this._originalMappings[++a]}}else{var l=u.originalColumn;while(u&&u.originalLine===r&&u.originalColumn==l){t.push({line:o.getArg(u,\"generatedLine\",null),column:o.getArg(u,\"generatedColumn\",null),lastColumn:o.getArg(u,\"lastGeneratedColumn\",null)});u=this._originalMappings[++a]}}}return t};r.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,r){var n=e;if(typeof e===\"string\"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,\"version\");var i=o.getArg(n,\"sources\");var u=o.getArg(n,\"names\",[]);var s=o.getArg(n,\"sourceRoot\",null);var l=o.getArg(n,\"sourcesContent\",null);var c=o.getArg(n,\"mappings\");var p=o.getArg(n,\"file\",null);if(t!=this._version){throw new Error(\"Unsupported version: \"+t)}if(s){s=o.normalize(s)}i=i.map(String).map(o.normalize).map((function(e){return s&&o.isAbsolute(s)&&o.isAbsolute(e)?o.relative(s,e):e}));this._names=a.fromArray(u.map(String),true);this._sources=a.fromArray(i,true);this._absoluteSources=this._sources.toArray().map((function(e){return o.computeSourceURL(s,e,r)}));this.sourceRoot=s;this.sourcesContent=l;this._mappings=c;this._sourceMapURL=r;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var r=e;if(this.sourceRoot!=null){r=o.relative(this.sourceRoot,r)}if(this._sources.has(r)){return this._sources.indexOf(r)}var n;for(n=0;n1){v.source=l+_[1];l+=_[1];v.originalLine=i+_[2];i=v.originalLine;v.originalLine+=1;v.originalColumn=a+_[3];a=v.originalColumn;if(_.length>4){v.name=c+_[4];c+=_[4]}}m.push(v);if(typeof v.originalLine===\"number\"){d.push(v)}}}s(m,o.compareByGeneratedPositionsDeflated);this.__generatedMappings=m;s(d,o.compareByOriginalPositions);this.__originalMappings=d};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,r,n,t,o,a){if(e[n]<=0){throw new TypeError(\"Line must be greater than or equal to 1, got \"+e[n])}if(e[t]<0){throw new TypeError(\"Column must be greater than or equal to 0, got \"+e[t])}return i.search(e,r,o,a)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e=0){var t=this._generatedMappings[n];if(t.generatedLine===r.generatedLine){var i=o.getArg(t,\"source\",null);if(i!==null){i=this._sources.at(i);i=o.computeSourceURL(this.sourceRoot,i,this._sourceMapURL)}var a=o.getArg(t,\"name\",null);if(a!==null){a=this._names.at(a)}return{source:i,line:o.getArg(t,\"originalLine\",null),column:o.getArg(t,\"originalColumn\",null),name:a}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,r){if(!this.sourcesContent){return null}var n=this._findSourceIndex(e);if(n>=0){return this.sourcesContent[n]}var t=e;if(this.sourceRoot!=null){t=o.relative(this.sourceRoot,t)}var i;if(this.sourceRoot!=null&&(i=o.urlParse(this.sourceRoot))){var a=t.replace(/^file:\\/\\//,\"\");if(i.scheme==\"file\"&&this._sources.has(a)){return this.sourcesContent[this._sources.indexOf(a)]}if((!i.path||i.path==\"/\")&&this._sources.has(\"/\"+t)){return this.sourcesContent[this._sources.indexOf(\"/\"+t)]}}if(r){return null}else{throw new Error('\"'+t+'\" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var r=o.getArg(e,\"source\");r=this._findSourceIndex(r);if(r<0){return{line:null,column:null,lastColumn:null}}var n={source:r,originalLine:o.getArg(e,\"line\"),originalColumn:o.getArg(e,\"column\")};var t=this._findMapping(n,this._originalMappings,\"originalLine\",\"originalColumn\",o.compareByOriginalPositions,o.getArg(e,\"bias\",SourceMapConsumer.GREATEST_LOWER_BOUND));if(t>=0){var i=this._originalMappings[t];if(i.source===n.source){return{line:o.getArg(i,\"generatedLine\",null),column:o.getArg(i,\"generatedColumn\",null),lastColumn:o.getArg(i,\"lastGeneratedColumn\",null)}}}return{line:null,column:null,lastColumn:null}};t=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,r){var n=e;if(typeof e===\"string\"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,\"version\");var i=o.getArg(n,\"sections\");if(t!=this._version){throw new Error(\"Unsupported version: \"+t)}this._sources=new a;this._names=new a;var u={line:-1,column:0};this._sections=i.map((function(e){if(e.url){throw new Error(\"Support for url field in sections not implemented.\")}var n=o.getArg(e,\"offset\");var t=o.getArg(n,\"line\");var i=o.getArg(n,\"column\");if(t{var t=n(215);var o=n(983);var i=n(837).I;var a=n(740).H;function SourceMapGenerator(e){if(!e){e={}}this._file=o.getArg(e,\"file\",null);this._sourceRoot=o.getArg(e,\"sourceRoot\",null);this._skipValidation=o.getArg(e,\"skipValidation\",false);this._sources=new i;this._names=new i;this._mappings=new a;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var r=e.sourceRoot;var n=new SourceMapGenerator({file:e.file,sourceRoot:r});e.eachMapping((function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){t.source=e.source;if(r!=null){t.source=o.relative(r,t.source)}t.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){t.name=e.name}}n.addMapping(t)}));e.sources.forEach((function(t){var i=t;if(r!==null){i=o.relative(r,t)}if(!n._sources.has(i)){n._sources.add(i)}var a=e.sourceContentFor(t);if(a!=null){n.setSourceContent(t,a)}}));return n};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var r=o.getArg(e,\"generated\");var n=o.getArg(e,\"original\",null);var t=o.getArg(e,\"source\",null);var i=o.getArg(e,\"name\",null);if(!this._skipValidation){this._validateMapping(r,n,t,i)}if(t!=null){t=String(t);if(!this._sources.has(t)){this._sources.add(t)}}if(i!=null){i=String(i);if(!this._names.has(i)){this._names.add(i)}}this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:t,name:i})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,r){var n=e;if(this._sourceRoot!=null){n=o.relative(this._sourceRoot,n)}if(r!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[o.toSetString(n)]=r}else if(this._sourcesContents){delete this._sourcesContents[o.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,r,n){var t=r;if(r==null){if(e.file==null){throw new Error(\"SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, \"+'or the source map\\'s \"file\" property. Both were omitted.')}t=e.file}var a=this._sourceRoot;if(a!=null){t=o.relative(a,t)}var u=new i;var s=new i;this._mappings.unsortedForEach((function(r){if(r.source===t&&r.originalLine!=null){var i=e.originalPositionFor({line:r.originalLine,column:r.originalColumn});if(i.source!=null){r.source=i.source;if(n!=null){r.source=o.join(n,r.source)}if(a!=null){r.source=o.relative(a,r.source)}r.originalLine=i.line;r.originalColumn=i.column;if(i.name!=null){r.name=i.name}}}var l=r.source;if(l!=null&&!u.has(l)){u.add(l)}var c=r.name;if(c!=null&&!s.has(c)){s.add(c)}}),this);this._sources=u;this._names=s;e.sources.forEach((function(r){var t=e.sourceContentFor(r);if(t!=null){if(n!=null){r=o.join(n,r)}if(a!=null){r=o.relative(a,r)}this.setSourceContent(r,t)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,r,n,t){if(r&&typeof r.line!==\"number\"&&typeof r.column!==\"number\"){throw new Error(\"original.line and original.column are not numbers -- you probably meant to omit \"+\"the original mapping entirely and only map the generated position. If so, pass \"+\"null for the original mapping instead of an object with empty or null values.\")}if(e&&\"line\"in e&&\"column\"in e&&e.line>0&&e.column>=0&&!r&&!n&&!t){return}else if(e&&\"line\"in e&&\"column\"in e&&r&&\"line\"in r&&\"column\"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n){return}else{throw new Error(\"Invalid mapping: \"+JSON.stringify({generated:e,source:n,original:r,name:t}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var r=1;var n=0;var i=0;var a=0;var u=0;var s=\"\";var l;var c;var p;var f;var g=this._mappings.toArray();for(var h=0,d=g.length;h0){if(!o.compareByGeneratedPositionsInflated(c,g[h-1])){continue}l+=\",\"}}l+=t.encode(c.generatedColumn-e);e=c.generatedColumn;if(c.source!=null){f=this._sources.indexOf(c.source);l+=t.encode(f-u);u=f;l+=t.encode(c.originalLine-1-i);i=c.originalLine-1;l+=t.encode(c.originalColumn-n);n=c.originalColumn;if(c.name!=null){p=this._names.indexOf(c.name);l+=t.encode(p-a);a=p}}s+=l}return s};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,r){return e.map((function(e){if(!this._sourcesContents){return null}if(r!=null){e=o.relative(r,e)}var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};r.h=SourceMapGenerator},990:(e,r,n)=>{var t;var o=n(341).h;var i=n(983);var a=/(\\r?\\n)/;var u=10;var s=\"$$$isSourceNode$$$\";function SourceNode(e,r,n,t,o){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=r==null?null:r;this.source=n==null?null:n;this.name=o==null?null:o;this[s]=true;if(t!=null)this.add(t)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,r,n){var t=new SourceNode;var o=e.split(a);var u=0;var shiftNextLine=function(){var e=getNextLine();var r=getNextLine()||\"\";return e+r;function getNextLine(){return u=0;r--){this.prepend(e[r])}}else if(e[s]||typeof e===\"string\"){this.children.unshift(e)}else{throw new TypeError(\"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \"+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var r;for(var n=0,t=this.children.length;n0){r=[];for(n=0;n{function getArg(e,r,n){if(r in e){return e[r]}else if(arguments.length===3){return n}else{throw new Error('\"'+r+'\" is a required argument.')}}r.getArg=getArg;var n=/^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.-]*)(?::(\\d+))?(.*)$/;var t=/^data:.+\\,.+$/;function urlParse(e){var r=e.match(n);if(!r){return null}return{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}}r.urlParse=urlParse;function urlGenerate(e){var r=\"\";if(e.scheme){r+=e.scheme+\":\"}r+=\"//\";if(e.auth){r+=e.auth+\"@\"}if(e.host){r+=e.host}if(e.port){r+=\":\"+e.port}if(e.path){r+=e.path}return r}r.urlGenerate=urlGenerate;function normalize(e){var n=e;var t=urlParse(e);if(t){if(!t.path){return e}n=t.path}var o=r.isAbsolute(n);var i=n.split(/\\/+/);for(var a,u=0,s=i.length-1;s>=0;s--){a=i[s];if(a===\".\"){i.splice(s,1)}else if(a===\"..\"){u++}else if(u>0){if(a===\"\"){i.splice(s+1,u);u=0}else{i.splice(s,2);u--}}}n=i.join(\"/\");if(n===\"\"){n=o?\"/\":\".\"}if(t){t.path=n;return urlGenerate(t)}return n}r.normalize=normalize;function join(e,r){if(e===\"\"){e=\".\"}if(r===\"\"){r=\".\"}var n=urlParse(r);var o=urlParse(e);if(o){e=o.path||\"/\"}if(n&&!n.scheme){if(o){n.scheme=o.scheme}return urlGenerate(n)}if(n||r.match(t)){return r}if(o&&!o.host&&!o.path){o.host=r;return urlGenerate(o)}var i=r.charAt(0)===\"/\"?r:normalize(e.replace(/\\/+$/,\"\")+\"/\"+r);if(o){o.path=i;return urlGenerate(o)}return i}r.join=join;r.isAbsolute=function(e){return e.charAt(0)===\"/\"||n.test(e)};function relative(e,r){if(e===\"\"){e=\".\"}e=e.replace(/\\/$/,\"\");var n=0;while(r.indexOf(e+\"/\")!==0){var t=e.lastIndexOf(\"/\");if(t<0){return r}e=e.slice(0,t);if(e.match(/^([^\\/]+:\\/)?\\/*$/)){return r}++n}return Array(n+1).join(\"../\")+r.substr(e.length+1)}r.relative=relative;var o=function(){var e=Object.create(null);return!(\"__proto__\"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return\"$\"+e}return e}r.toSetString=o?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}r.fromSetString=o?identity:fromSetString;function isProtoString(e){if(!e){return false}var r=e.length;if(r<9){return false}if(e.charCodeAt(r-1)!==95||e.charCodeAt(r-2)!==95||e.charCodeAt(r-3)!==111||e.charCodeAt(r-4)!==116||e.charCodeAt(r-5)!==111||e.charCodeAt(r-6)!==114||e.charCodeAt(r-7)!==112||e.charCodeAt(r-8)!==95||e.charCodeAt(r-9)!==95){return false}for(var n=r-10;n>=0;n--){if(e.charCodeAt(n)!==36){return false}}return true}function compareByOriginalPositions(e,r,n){var t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0||n){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0){return t}t=e.generatedLine-r.generatedLine;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,r,n){var t=e.generatedLine-r.generatedLine;if(t!==0){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0||n){return t}t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,r){if(e===r){return 0}if(e===null){return 1}if(r===null){return-1}if(e>r){return 1}return-1}function compareByGeneratedPositionsInflated(e,r){var n=e.generatedLine-r.generatedLine;if(n!==0){return n}n=e.generatedColumn-r.generatedColumn;if(n!==0){return n}n=strcmp(e.source,r.source);if(n!==0){return n}n=e.originalLine-r.originalLine;if(n!==0){return n}n=e.originalColumn-r.originalColumn;if(n!==0){return n}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\\)]}'[^\\n]*\\n/,\"\"))}r.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,r,n){r=r||\"\";if(e){if(e[e.length-1]!==\"/\"&&r[0]!==\"/\"){e+=\"/\"}r=e+r}if(n){var t=urlParse(n);if(!t){throw new Error(\"sourceMapURL could not be parsed\")}if(t.path){var o=t.path.lastIndexOf(\"/\");if(o>=0){t.path=t.path.substring(0,o+1)}}r=join(urlGenerate(t),r)}return normalize(r)}r.computeSourceURL=computeSourceURL},596:(e,r,n)=>{n(341).h;r.SourceMapConsumer=n(327).SourceMapConsumer;n(990)},747:e=>{\"use strict\";e.exports=require(\"fs\")},622:e=>{\"use strict\";e.exports=require(\"path\")}};var r={};function __webpack_require__(n){var t=r[n];if(t!==undefined){return t.exports}var o=r[n]={id:n,loaded:false,exports:{}};var i=true;try{e[n](o,o.exports,__webpack_require__);i=false}finally{if(i)delete r[n]}o.loaded=true;return o.exports}(()=>{__webpack_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __webpack_require__!==\"undefined\")__webpack_require__.ab=__dirname+\"/\";var n={};(()=>{__webpack_require__(284).install()})();module.exports=n})();","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst REGEX_IS_INSTALLATION_LEGACY = /^v1\\./;\nconst REGEX_IS_INSTALLATION = /^ghs_/;\nconst REGEX_IS_USER_TO_SERVER = /^ghu_/;\nasync function auth(token) {\n const isApp = token.split(/\\./).length === 3;\n const isInstallation = REGEX_IS_INSTALLATION_LEGACY.test(token) || REGEX_IS_INSTALLATION.test(token);\n const isUserToServer = REGEX_IS_USER_TO_SERVER.test(token);\n const tokenType = isApp ? \"app\" : isInstallation ? \"installation\" : isUserToServer ? \"user-to-server\" : \"oauth\";\n return {\n type: \"token\",\n token: token,\n tokenType\n };\n}\n\n/**\n * Prefix token for usage in the Authorization header\n *\n * @param token OAuth token or JSON Web Token\n */\nfunction withAuthorizationPrefix(token) {\n if (token.split(/\\./).length === 3) {\n return `bearer ${token}`;\n }\n\n return `token ${token}`;\n}\n\nasync function hook(token, request, route, parameters) {\n const endpoint = request.endpoint.merge(route, parameters);\n endpoint.headers.authorization = withAuthorizationPrefix(token);\n return request(endpoint);\n}\n\nconst createTokenAuth = function createTokenAuth(token) {\n if (!token) {\n throw new Error(\"[@octokit/auth-token] No token passed to createTokenAuth\");\n }\n\n if (typeof token !== \"string\") {\n throw new Error(\"[@octokit/auth-token] Token passed to createTokenAuth is not a string\");\n }\n\n token = token.replace(/^(token|bearer) +/i, \"\");\n return Object.assign(auth.bind(null, token), {\n hook: hook.bind(null, token)\n });\n};\n\nexports.createTokenAuth = createTokenAuth;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar universalUserAgent = require('universal-user-agent');\nvar beforeAfterHook = require('before-after-hook');\nvar request = require('@octokit/request');\nvar graphql = require('@octokit/graphql');\nvar authToken = require('@octokit/auth-token');\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nconst VERSION = \"3.6.0\";\n\nconst _excluded = [\"authStrategy\"];\nclass Octokit {\n constructor(options = {}) {\n const hook = new beforeAfterHook.Collection();\n const requestDefaults = {\n baseUrl: request.request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n // @ts-ignore internal usage only, no need to type\n hook: hook.bind(null, \"request\")\n }),\n mediaType: {\n previews: [],\n format: \"\"\n }\n }; // prepend default user agent with `options.userAgent` if set\n\n requestDefaults.headers[\"user-agent\"] = [options.userAgent, `octokit-core.js/${VERSION} ${universalUserAgent.getUserAgent()}`].filter(Boolean).join(\" \");\n\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n\n this.request = request.request.defaults(requestDefaults);\n this.graphql = graphql.withCustomRequest(this.request).defaults(requestDefaults);\n this.log = Object.assign({\n debug: () => {},\n info: () => {},\n warn: console.warn.bind(console),\n error: console.error.bind(console)\n }, options.log);\n this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance\n // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered.\n // (2) If only `options.auth` is set, use the default token authentication strategy.\n // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.\n // TODO: type `options.auth` based on `options.authStrategy`.\n\n if (!options.authStrategy) {\n if (!options.auth) {\n // (1)\n this.auth = async () => ({\n type: \"unauthenticated\"\n });\n } else {\n // (2)\n const auth = authToken.createTokenAuth(options.auth); // @ts-ignore ¯\\_(ツ)_/¯\n\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n } else {\n const {\n authStrategy\n } = options,\n otherOptions = _objectWithoutProperties(options, _excluded);\n\n const auth = authStrategy(Object.assign({\n request: this.request,\n log: this.log,\n // we pass the current octokit instance as well as its constructor options\n // to allow for authentication strategies that return a new octokit instance\n // that shares the same internal state as the current one. The original\n // requirement for this was the \"event-octokit\" authentication strategy\n // of https://github.com/probot/octokit-auth-probot.\n octokit: this,\n octokitOptions: otherOptions\n }, options.auth)); // @ts-ignore ¯\\_(ツ)_/¯\n\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n } // apply plugins\n // https://stackoverflow.com/a/16345172\n\n\n const classConstructor = this.constructor;\n classConstructor.plugins.forEach(plugin => {\n Object.assign(this, plugin(this, options));\n });\n }\n\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n\n if (typeof defaults === \"function\") {\n super(defaults(options));\n return;\n }\n\n super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`\n } : null));\n }\n\n };\n return OctokitWithDefaults;\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n\n\n static plugin(...newPlugins) {\n var _a;\n\n const currentPlugins = this.plugins;\n const NewOctokit = (_a = class extends this {}, _a.plugins = currentPlugins.concat(newPlugins.filter(plugin => !currentPlugins.includes(plugin))), _a);\n return NewOctokit;\n }\n\n}\nOctokit.VERSION = VERSION;\nOctokit.plugins = [];\n\nexports.Octokit = Octokit;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar isPlainObject = require('is-plain-object');\nvar universalUserAgent = require('universal-user-agent');\n\nfunction lowercaseKeys(object) {\n if (!object) {\n return {};\n }\n\n return Object.keys(object).reduce((newObj, key) => {\n newObj[key.toLowerCase()] = object[key];\n return newObj;\n }, {});\n}\n\nfunction mergeDeep(defaults, options) {\n const result = Object.assign({}, defaults);\n Object.keys(options).forEach(key => {\n if (isPlainObject.isPlainObject(options[key])) {\n if (!(key in defaults)) Object.assign(result, {\n [key]: options[key]\n });else result[key] = mergeDeep(defaults[key], options[key]);\n } else {\n Object.assign(result, {\n [key]: options[key]\n });\n }\n });\n return result;\n}\n\nfunction removeUndefinedProperties(obj) {\n for (const key in obj) {\n if (obj[key] === undefined) {\n delete obj[key];\n }\n }\n\n return obj;\n}\n\nfunction merge(defaults, route, options) {\n if (typeof route === \"string\") {\n let [method, url] = route.split(\" \");\n options = Object.assign(url ? {\n method,\n url\n } : {\n url: method\n }, options);\n } else {\n options = Object.assign({}, route);\n } // lowercase header names before merging with defaults to avoid duplicates\n\n\n options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging\n\n removeUndefinedProperties(options);\n removeUndefinedProperties(options.headers);\n const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten\n\n if (defaults && defaults.mediaType.previews.length) {\n mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews);\n }\n\n mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, \"\"));\n return mergedOptions;\n}\n\nfunction addQueryParameters(url, parameters) {\n const separator = /\\?/.test(url) ? \"&\" : \"?\";\n const names = Object.keys(parameters);\n\n if (names.length === 0) {\n return url;\n }\n\n return url + separator + names.map(name => {\n if (name === \"q\") {\n return \"q=\" + parameters.q.split(\"+\").map(encodeURIComponent).join(\"+\");\n }\n\n return `${name}=${encodeURIComponent(parameters[name])}`;\n }).join(\"&\");\n}\n\nconst urlVariableRegex = /\\{[^}]+\\}/g;\n\nfunction removeNonChars(variableName) {\n return variableName.replace(/^\\W+|\\W+$/g, \"\").split(/,/);\n}\n\nfunction extractUrlVariableNames(url) {\n const matches = url.match(urlVariableRegex);\n\n if (!matches) {\n return [];\n }\n\n return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);\n}\n\nfunction omit(object, keysToOmit) {\n return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => {\n obj[key] = object[key];\n return obj;\n }, {});\n}\n\n// Based on https://github.com/bramstein/url-template, licensed under BSD\n// TODO: create separate package.\n//\n// Copyright (c) 2012-2014, Bram Stein\n// All rights reserved.\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions\n// are met:\n// 1. Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// 2. Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// 3. The name of the author may not be used to endorse or promote products\n// derived from this software without specific prior written permission.\n// THIS SOFTWARE IS PROVIDED BY THE AUTHOR \"AS IS\" AND ANY EXPRESS OR IMPLIED\n// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n/* istanbul ignore file */\nfunction encodeReserved(str) {\n return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) {\n if (!/%[0-9A-Fa-f]/.test(part)) {\n part = encodeURI(part).replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n }\n\n return part;\n }).join(\"\");\n}\n\nfunction encodeUnreserved(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n\nfunction encodeValue(operator, value, key) {\n value = operator === \"+\" || operator === \"#\" ? encodeReserved(value) : encodeUnreserved(value);\n\n if (key) {\n return encodeUnreserved(key) + \"=\" + value;\n } else {\n return value;\n }\n}\n\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\n\nfunction isKeyOperator(operator) {\n return operator === \";\" || operator === \"&\" || operator === \"?\";\n}\n\nfunction getValues(context, operator, key, modifier) {\n var value = context[key],\n result = [];\n\n if (isDefined(value) && value !== \"\") {\n if (typeof value === \"string\" || typeof value === \"number\" || typeof value === \"boolean\") {\n value = value.toString();\n\n if (modifier && modifier !== \"*\") {\n value = value.substring(0, parseInt(modifier, 10));\n }\n\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n } else {\n if (modifier === \"*\") {\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n });\n } else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n result.push(encodeValue(operator, value[k], k));\n }\n });\n }\n } else {\n const tmp = [];\n\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n tmp.push(encodeValue(operator, value));\n });\n } else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n tmp.push(encodeUnreserved(k));\n tmp.push(encodeValue(operator, value[k].toString()));\n }\n });\n }\n\n if (isKeyOperator(operator)) {\n result.push(encodeUnreserved(key) + \"=\" + tmp.join(\",\"));\n } else if (tmp.length !== 0) {\n result.push(tmp.join(\",\"));\n }\n }\n }\n } else {\n if (operator === \";\") {\n if (isDefined(value)) {\n result.push(encodeUnreserved(key));\n }\n } else if (value === \"\" && (operator === \"&\" || operator === \"?\")) {\n result.push(encodeUnreserved(key) + \"=\");\n } else if (value === \"\") {\n result.push(\"\");\n }\n }\n\n return result;\n}\n\nfunction parseUrl(template) {\n return {\n expand: expand.bind(null, template)\n };\n}\n\nfunction expand(template, context) {\n var operators = [\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"];\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, function (_, expression, literal) {\n if (expression) {\n let operator = \"\";\n const values = [];\n\n if (operators.indexOf(expression.charAt(0)) !== -1) {\n operator = expression.charAt(0);\n expression = expression.substr(1);\n }\n\n expression.split(/,/g).forEach(function (variable) {\n var tmp = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(variable);\n values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));\n });\n\n if (operator && operator !== \"+\") {\n var separator = \",\";\n\n if (operator === \"?\") {\n separator = \"&\";\n } else if (operator !== \"#\") {\n separator = operator;\n }\n\n return (values.length !== 0 ? operator : \"\") + values.join(separator);\n } else {\n return values.join(\",\");\n }\n } else {\n return encodeReserved(literal);\n }\n });\n}\n\nfunction parse(options) {\n // https://fetch.spec.whatwg.org/#methods\n let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible\n\n let url = (options.url || \"/\").replace(/:([a-z]\\w+)/g, \"{$1}\");\n let headers = Object.assign({}, options.headers);\n let body;\n let parameters = omit(options, [\"method\", \"baseUrl\", \"url\", \"headers\", \"request\", \"mediaType\"]); // extract variable names from URL to calculate remaining variables later\n\n const urlVariableNames = extractUrlVariableNames(url);\n url = parseUrl(url).expand(parameters);\n\n if (!/^http/.test(url)) {\n url = options.baseUrl + url;\n }\n\n const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat(\"baseUrl\");\n const remainingParameters = omit(parameters, omittedParameters);\n const isBinaryRequest = /application\\/octet-stream/i.test(headers.accept);\n\n if (!isBinaryRequest) {\n if (options.mediaType.format) {\n // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw\n headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\\/vnd(\\.\\w+)(\\.v3)?(\\.\\w+)?(\\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(\",\");\n }\n\n if (options.mediaType.previews.length) {\n const previewsFromAcceptHeader = headers.accept.match(/[\\w-]+(?=-preview)/g) || [];\n headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => {\n const format = options.mediaType.format ? `.${options.mediaType.format}` : \"+json\";\n return `application/vnd.github.${preview}-preview${format}`;\n }).join(\",\");\n }\n } // for GET/HEAD requests, set URL query parameters from remaining parameters\n // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters\n\n\n if ([\"GET\", \"HEAD\"].includes(method)) {\n url = addQueryParameters(url, remainingParameters);\n } else {\n if (\"data\" in remainingParameters) {\n body = remainingParameters.data;\n } else {\n if (Object.keys(remainingParameters).length) {\n body = remainingParameters;\n } else {\n headers[\"content-length\"] = 0;\n }\n }\n } // default content-type for JSON if body is set\n\n\n if (!headers[\"content-type\"] && typeof body !== \"undefined\") {\n headers[\"content-type\"] = \"application/json; charset=utf-8\";\n } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.\n // fetch does not allow to set `content-length` header, but we can set body to an empty string\n\n\n if ([\"PATCH\", \"PUT\"].includes(method) && typeof body === \"undefined\") {\n body = \"\";\n } // Only return body/request keys if present\n\n\n return Object.assign({\n method,\n url,\n headers\n }, typeof body !== \"undefined\" ? {\n body\n } : null, options.request ? {\n request: options.request\n } : null);\n}\n\nfunction endpointWithDefaults(defaults, route, options) {\n return parse(merge(defaults, route, options));\n}\n\nfunction withDefaults(oldDefaults, newDefaults) {\n const DEFAULTS = merge(oldDefaults, newDefaults);\n const endpoint = endpointWithDefaults.bind(null, DEFAULTS);\n return Object.assign(endpoint, {\n DEFAULTS,\n defaults: withDefaults.bind(null, DEFAULTS),\n merge: merge.bind(null, DEFAULTS),\n parse\n });\n}\n\nconst VERSION = \"6.0.12\";\n\nconst userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url.\n// So we use RequestParameters and add method as additional required property.\n\nconst DEFAULTS = {\n method: \"GET\",\n baseUrl: \"https://api.github.com\",\n headers: {\n accept: \"application/vnd.github.v3+json\",\n \"user-agent\": userAgent\n },\n mediaType: {\n format: \"\",\n previews: []\n }\n};\n\nconst endpoint = withDefaults(null, DEFAULTS);\n\nexports.endpoint = endpoint;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar request = require('@octokit/request');\nvar universalUserAgent = require('universal-user-agent');\n\nconst VERSION = \"4.8.0\";\n\nfunction _buildMessageForResponseErrors(data) {\n return `Request failed due to following response errors:\\n` + data.errors.map(e => ` - ${e.message}`).join(\"\\n\");\n}\n\nclass GraphqlResponseError extends Error {\n constructor(request, headers, response) {\n super(_buildMessageForResponseErrors(response));\n this.request = request;\n this.headers = headers;\n this.response = response;\n this.name = \"GraphqlResponseError\"; // Expose the errors and response data in their shorthand properties.\n\n this.errors = response.errors;\n this.data = response.data; // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n\n}\n\nconst NON_VARIABLE_OPTIONS = [\"method\", \"baseUrl\", \"url\", \"headers\", \"request\", \"query\", \"mediaType\"];\nconst FORBIDDEN_VARIABLE_OPTIONS = [\"query\", \"method\", \"url\"];\nconst GHES_V3_SUFFIX_REGEX = /\\/api\\/v3\\/?$/;\nfunction graphql(request, query, options) {\n if (options) {\n if (typeof query === \"string\" && \"query\" in options) {\n return Promise.reject(new Error(`[@octokit/graphql] \"query\" cannot be used as variable name`));\n }\n\n for (const key in options) {\n if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue;\n return Promise.reject(new Error(`[@octokit/graphql] \"${key}\" cannot be used as variable name`));\n }\n }\n\n const parsedOptions = typeof query === \"string\" ? Object.assign({\n query\n }, options) : query;\n const requestOptions = Object.keys(parsedOptions).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = parsedOptions[key];\n return result;\n }\n\n if (!result.variables) {\n result.variables = {};\n }\n\n result.variables[key] = parsedOptions[key];\n return result;\n }, {}); // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix\n // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451\n\n const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl;\n\n if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {\n requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, \"/api/graphql\");\n }\n\n return request(requestOptions).then(response => {\n if (response.data.errors) {\n const headers = {};\n\n for (const key of Object.keys(response.headers)) {\n headers[key] = response.headers[key];\n }\n\n throw new GraphqlResponseError(requestOptions, headers, response.data);\n }\n\n return response.data.data;\n });\n}\n\nfunction withDefaults(request$1, newDefaults) {\n const newRequest = request$1.defaults(newDefaults);\n\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: request.request.endpoint\n });\n}\n\nconst graphql$1 = withDefaults(request.request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}`\n },\n method: \"POST\",\n url: \"/graphql\"\n});\nfunction withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\"\n });\n}\n\nexports.GraphqlResponseError = GraphqlResponseError;\nexports.graphql = graphql$1;\nexports.withCustomRequest = withCustomRequest;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst VERSION = \"2.20.0\";\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\n/**\n * Some “list” response that can be paginated have a different response structure\n *\n * They have a `total_count` key in the response (search also has `incomplete_results`,\n * /installation/repositories also has `repository_selection`), as well as a key with\n * the list of the items which name varies from endpoint to endpoint.\n *\n * Octokit normalizes these responses so that paginated results are always returned following\n * the same structure. One challenge is that if the list response has only one page, no Link\n * header is provided, so this header alone is not sufficient to check wether a response is\n * paginated or not.\n *\n * We check if a \"total_count\" key is present in the response data, but also make sure that\n * a \"url\" property is not, as the \"Get the combined status for a specific ref\" endpoint would\n * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref\n */\nfunction normalizePaginatedListResponse(response) {\n // endpoints can respond with 204 if repository is empty\n if (!response.data) {\n return _objectSpread2(_objectSpread2({}, response), {}, {\n data: []\n });\n }\n\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization) return response; // keep the additional properties intact as there is currently no other way\n // to retrieve the same information.\n\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n\n response.data.total_count = totalCount;\n return response;\n}\n\nfunction iterator(octokit, route, parameters) {\n const options = typeof route === \"function\" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n async next() {\n if (!url) return {\n done: true\n };\n\n try {\n const response = await requestMethod({\n method,\n url,\n headers\n });\n const normalizedResponse = normalizePaginatedListResponse(response); // `response.headers.link` format:\n // '; rel=\"next\", ; rel=\"last\"'\n // sets `url` to undefined if \"next\" URL is not present or `link` header is not set\n\n url = ((normalizedResponse.headers.link || \"\").match(/<([^>]+)>;\\s*rel=\"next\"/) || [])[1];\n return {\n value: normalizedResponse\n };\n } catch (error) {\n if (error.status !== 409) throw error;\n url = \"\";\n return {\n value: {\n status: 200,\n headers: {},\n data: []\n }\n };\n }\n }\n\n })\n };\n}\n\nfunction paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = undefined;\n }\n\n return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);\n}\n\nfunction gather(octokit, results, iterator, mapFn) {\n return iterator.next().then(result => {\n if (result.done) {\n return results;\n }\n\n let earlyExit = false;\n\n function done() {\n earlyExit = true;\n }\n\n results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);\n\n if (earlyExit) {\n return results;\n }\n\n return gather(octokit, results, iterator, mapFn);\n });\n}\n\nconst composePaginateRest = Object.assign(paginate, {\n iterator\n});\n\nconst paginatingEndpoints = [\"GET /app/hook/deliveries\", \"GET /app/installations\", \"GET /applications/grants\", \"GET /authorizations\", \"GET /enterprises/{enterprise}/actions/permissions/organizations\", \"GET /enterprises/{enterprise}/actions/runner-groups\", \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations\", \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners\", \"GET /enterprises/{enterprise}/actions/runners\", \"GET /enterprises/{enterprise}/actions/runners/downloads\", \"GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels\", \"GET /enterprises/{enterprise}/secret-scanning/alerts\", \"GET /events\", \"GET /gists\", \"GET /gists/public\", \"GET /gists/starred\", \"GET /gists/{gist_id}/comments\", \"GET /gists/{gist_id}/commits\", \"GET /gists/{gist_id}/forks\", \"GET /installation/repositories\", \"GET /issues\", \"GET /marketplace_listing/plans\", \"GET /marketplace_listing/plans/{plan_id}/accounts\", \"GET /marketplace_listing/stubbed/plans\", \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\", \"GET /networks/{owner}/{repo}/events\", \"GET /notifications\", \"GET /organizations\", \"GET /organizations/{organization_id}/custom_roles\", \"GET /orgs/{org_id}/codespaces\", \"GET /orgs/{org}/actions/permissions/repositories\", \"GET /orgs/{org}/actions/runner-groups\", \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories\", \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners\", \"GET /orgs/{org}/actions/runners\", \"GET /orgs/{org}/actions/runners/downloads\", \"GET /orgs/{org}/actions/runners/{runner_id}/labels\", \"GET /orgs/{org}/actions/secrets\", \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\", \"GET /orgs/{org}/blocks\", \"GET /orgs/{org}/code-scanning/alerts\", \"GET /orgs/{org}/credential-authorizations\", \"GET /orgs/{org}/dependabot/secrets\", \"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories\", \"GET /orgs/{org}/events\", \"GET /orgs/{org}/external-groups\", \"GET /orgs/{org}/failed_invitations\", \"GET /orgs/{org}/hooks\", \"GET /orgs/{org}/hooks/{hook_id}/deliveries\", \"GET /orgs/{org}/installations\", \"GET /orgs/{org}/invitations\", \"GET /orgs/{org}/invitations/{invitation_id}/teams\", \"GET /orgs/{org}/issues\", \"GET /orgs/{org}/members\", \"GET /orgs/{org}/migrations\", \"GET /orgs/{org}/migrations/{migration_id}/repositories\", \"GET /orgs/{org}/outside_collaborators\", \"GET /orgs/{org}/packages\", \"GET /orgs/{org}/projects\", \"GET /orgs/{org}/public_members\", \"GET /orgs/{org}/repos\", \"GET /orgs/{org}/secret-scanning/alerts\", \"GET /orgs/{org}/team-sync/groups\", \"GET /orgs/{org}/teams\", \"GET /orgs/{org}/teams/{team_slug}/discussions\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\", \"GET /orgs/{org}/teams/{team_slug}/external-groups\", \"GET /orgs/{org}/teams/{team_slug}/invitations\", \"GET /orgs/{org}/teams/{team_slug}/members\", \"GET /orgs/{org}/teams/{team_slug}/projects\", \"GET /orgs/{org}/teams/{team_slug}/repos\", \"GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings\", \"GET /orgs/{org}/teams/{team_slug}/teams\", \"GET /projects/columns/{column_id}/cards\", \"GET /projects/{project_id}/collaborators\", \"GET /projects/{project_id}/columns\", \"GET /repos/{owner}/{repo}/actions/artifacts\", \"GET /repos/{owner}/{repo}/actions/runners\", \"GET /repos/{owner}/{repo}/actions/runners/downloads\", \"GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\", \"GET /repos/{owner}/{repo}/actions/runs\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\", \"GET /repos/{owner}/{repo}/actions/secrets\", \"GET /repos/{owner}/{repo}/actions/workflows\", \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\", \"GET /repos/{owner}/{repo}/assignees\", \"GET /repos/{owner}/{repo}/autolinks\", \"GET /repos/{owner}/{repo}/branches\", \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\", \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\", \"GET /repos/{owner}/{repo}/code-scanning/alerts\", \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\", \"GET /repos/{owner}/{repo}/code-scanning/analyses\", \"GET /repos/{owner}/{repo}/codespaces\", \"GET /repos/{owner}/{repo}/codespaces/devcontainers\", \"GET /repos/{owner}/{repo}/codespaces/secrets\", \"GET /repos/{owner}/{repo}/collaborators\", \"GET /repos/{owner}/{repo}/comments\", \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/commits\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\", \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\", \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\", \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\", \"GET /repos/{owner}/{repo}/contributors\", \"GET /repos/{owner}/{repo}/dependabot/secrets\", \"GET /repos/{owner}/{repo}/deployments\", \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\", \"GET /repos/{owner}/{repo}/events\", \"GET /repos/{owner}/{repo}/forks\", \"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\", \"GET /repos/{owner}/{repo}/hooks\", \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\", \"GET /repos/{owner}/{repo}/invitations\", \"GET /repos/{owner}/{repo}/issues\", \"GET /repos/{owner}/{repo}/issues/comments\", \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/issues/events\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/events\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\", \"GET /repos/{owner}/{repo}/keys\", \"GET /repos/{owner}/{repo}/labels\", \"GET /repos/{owner}/{repo}/milestones\", \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\", \"GET /repos/{owner}/{repo}/notifications\", \"GET /repos/{owner}/{repo}/pages/builds\", \"GET /repos/{owner}/{repo}/projects\", \"GET /repos/{owner}/{repo}/pulls\", \"GET /repos/{owner}/{repo}/pulls/comments\", \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\", \"GET /repos/{owner}/{repo}/releases\", \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\", \"GET /repos/{owner}/{repo}/releases/{release_id}/reactions\", \"GET /repos/{owner}/{repo}/secret-scanning/alerts\", \"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations\", \"GET /repos/{owner}/{repo}/stargazers\", \"GET /repos/{owner}/{repo}/subscribers\", \"GET /repos/{owner}/{repo}/tags\", \"GET /repos/{owner}/{repo}/tags/protection\", \"GET /repos/{owner}/{repo}/teams\", \"GET /repositories\", \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\", \"GET /scim/v2/enterprises/{enterprise}/Groups\", \"GET /scim/v2/enterprises/{enterprise}/Users\", \"GET /scim/v2/organizations/{org}/Users\", \"GET /search/code\", \"GET /search/commits\", \"GET /search/issues\", \"GET /search/labels\", \"GET /search/repositories\", \"GET /search/topics\", \"GET /search/users\", \"GET /teams/{team_id}/discussions\", \"GET /teams/{team_id}/discussions/{discussion_number}/comments\", \"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions\", \"GET /teams/{team_id}/discussions/{discussion_number}/reactions\", \"GET /teams/{team_id}/invitations\", \"GET /teams/{team_id}/members\", \"GET /teams/{team_id}/projects\", \"GET /teams/{team_id}/repos\", \"GET /teams/{team_id}/team-sync/group-mappings\", \"GET /teams/{team_id}/teams\", \"GET /user/blocks\", \"GET /user/codespaces\", \"GET /user/codespaces/secrets\", \"GET /user/codespaces/secrets/{secret_name}/repositories\", \"GET /user/emails\", \"GET /user/followers\", \"GET /user/following\", \"GET /user/gpg_keys\", \"GET /user/installations\", \"GET /user/installations/{installation_id}/repositories\", \"GET /user/issues\", \"GET /user/keys\", \"GET /user/marketplace_purchases\", \"GET /user/marketplace_purchases/stubbed\", \"GET /user/memberships/orgs\", \"GET /user/migrations\", \"GET /user/migrations/{migration_id}/repositories\", \"GET /user/orgs\", \"GET /user/packages\", \"GET /user/public_emails\", \"GET /user/repos\", \"GET /user/repository_invitations\", \"GET /user/starred\", \"GET /user/subscriptions\", \"GET /user/teams\", \"GET /users\", \"GET /users/{username}/events\", \"GET /users/{username}/events/orgs/{org}\", \"GET /users/{username}/events/public\", \"GET /users/{username}/followers\", \"GET /users/{username}/following\", \"GET /users/{username}/gists\", \"GET /users/{username}/gpg_keys\", \"GET /users/{username}/keys\", \"GET /users/{username}/orgs\", \"GET /users/{username}/packages\", \"GET /users/{username}/projects\", \"GET /users/{username}/received_events\", \"GET /users/{username}/received_events/public\", \"GET /users/{username}/repos\", \"GET /users/{username}/starred\", \"GET /users/{username}/subscriptions\"];\n\nfunction isPaginatingEndpoint(arg) {\n if (typeof arg === \"string\") {\n return paginatingEndpoints.includes(arg);\n } else {\n return false;\n }\n}\n\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\n\nfunction paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit)\n })\n };\n}\npaginateRest.VERSION = VERSION;\n\nexports.composePaginateRest = composePaginateRest;\nexports.isPaginatingEndpoint = isPaginatingEndpoint;\nexports.paginateRest = paginateRest;\nexports.paginatingEndpoints = paginatingEndpoints;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst VERSION = \"1.0.4\";\n\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\n\nfunction requestLog(octokit) {\n octokit.hook.wrap(\"request\", (request, options) => {\n octokit.log.debug(\"request\", options);\n const start = Date.now();\n const requestOptions = octokit.request.endpoint.parse(options);\n const path = requestOptions.url.replace(options.baseUrl, \"\");\n return request(options).then(response => {\n octokit.log.info(`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`);\n return response;\n }).catch(error => {\n octokit.log.info(`${requestOptions.method} ${path} - ${error.status} in ${Date.now() - start}ms`);\n throw error;\n });\n });\n}\nrequestLog.VERSION = VERSION;\n\nexports.requestLog = requestLog;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nconst Endpoints = {\n actions: {\n addCustomLabelsToSelfHostedRunnerForOrg: [\"POST /orgs/{org}/actions/runners/{runner_id}/labels\"],\n addCustomLabelsToSelfHostedRunnerForRepo: [\"POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\"],\n addSelectedRepoToOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\"],\n approveWorkflowRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve\"],\n cancelWorkflowRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel\"],\n createOrUpdateEnvironmentSecret: [\"PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n createRegistrationTokenForOrg: [\"POST /orgs/{org}/actions/runners/registration-token\"],\n createRegistrationTokenForRepo: [\"POST /repos/{owner}/{repo}/actions/runners/registration-token\"],\n createRemoveTokenForOrg: [\"POST /orgs/{org}/actions/runners/remove-token\"],\n createRemoveTokenForRepo: [\"POST /repos/{owner}/{repo}/actions/runners/remove-token\"],\n createWorkflowDispatch: [\"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches\"],\n deleteActionsCacheById: [\"DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}\"],\n deleteActionsCacheByKey: [\"DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}\"],\n deleteArtifact: [\"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n deleteEnvironmentSecret: [\"DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n deleteOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}\"],\n deleteRepoSecret: [\"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n deleteSelfHostedRunnerFromOrg: [\"DELETE /orgs/{org}/actions/runners/{runner_id}\"],\n deleteSelfHostedRunnerFromRepo: [\"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\"],\n deleteWorkflowRun: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n deleteWorkflowRunLogs: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs\"],\n disableSelectedRepositoryGithubActionsOrganization: [\"DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}\"],\n disableWorkflow: [\"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable\"],\n downloadArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}\"],\n downloadJobLogsForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\"],\n downloadWorkflowRunAttemptLogs: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs\"],\n downloadWorkflowRunLogs: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\"],\n enableSelectedRepositoryGithubActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/repositories/{repository_id}\"],\n enableWorkflow: [\"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable\"],\n getActionsCacheList: [\"GET /repos/{owner}/{repo}/actions/caches\"],\n getActionsCacheUsage: [\"GET /repos/{owner}/{repo}/actions/cache/usage\"],\n getActionsCacheUsageByRepoForOrg: [\"GET /orgs/{org}/actions/cache/usage-by-repository\"],\n getActionsCacheUsageForEnterprise: [\"GET /enterprises/{enterprise}/actions/cache/usage\"],\n getActionsCacheUsageForOrg: [\"GET /orgs/{org}/actions/cache/usage\"],\n getAllowedActionsOrganization: [\"GET /orgs/{org}/actions/permissions/selected-actions\"],\n getAllowedActionsRepository: [\"GET /repos/{owner}/{repo}/actions/permissions/selected-actions\"],\n getArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n getEnvironmentPublicKey: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key\"],\n getEnvironmentSecret: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n getGithubActionsDefaultWorkflowPermissionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions/workflow\"],\n getGithubActionsDefaultWorkflowPermissionsOrganization: [\"GET /orgs/{org}/actions/permissions/workflow\"],\n getGithubActionsDefaultWorkflowPermissionsRepository: [\"GET /repos/{owner}/{repo}/actions/permissions/workflow\"],\n getGithubActionsPermissionsOrganization: [\"GET /orgs/{org}/actions/permissions\"],\n getGithubActionsPermissionsRepository: [\"GET /repos/{owner}/{repo}/actions/permissions\"],\n getJobForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/actions/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}\"],\n getPendingDeploymentsForRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\"],\n getRepoPermissions: [\"GET /repos/{owner}/{repo}/actions/permissions\", {}, {\n renamed: [\"actions\", \"getGithubActionsPermissionsRepository\"]\n }],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/actions/secrets/public-key\"],\n getRepoSecret: [\"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n getReviewsForRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals\"],\n getSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}\"],\n getSelfHostedRunnerForRepo: [\"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\"],\n getWorkflow: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}\"],\n getWorkflowAccessToRepository: [\"GET /repos/{owner}/{repo}/actions/permissions/access\"],\n getWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n getWorkflowRunAttempt: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}\"],\n getWorkflowRunUsage: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing\"],\n getWorkflowUsage: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing\"],\n listArtifactsForRepo: [\"GET /repos/{owner}/{repo}/actions/artifacts\"],\n listEnvironmentSecrets: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets\"],\n listJobsForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\"],\n listJobsForWorkflowRunAttempt: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs\"],\n listLabelsForSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}/labels\"],\n listLabelsForSelfHostedRunnerForRepo: [\"GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\"],\n listOrgSecrets: [\"GET /orgs/{org}/actions/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/actions/secrets\"],\n listRepoWorkflows: [\"GET /repos/{owner}/{repo}/actions/workflows\"],\n listRunnerApplicationsForOrg: [\"GET /orgs/{org}/actions/runners/downloads\"],\n listRunnerApplicationsForRepo: [\"GET /repos/{owner}/{repo}/actions/runners/downloads\"],\n listSelectedReposForOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\"],\n listSelectedRepositoriesEnabledGithubActionsOrganization: [\"GET /orgs/{org}/actions/permissions/repositories\"],\n listSelfHostedRunnersForOrg: [\"GET /orgs/{org}/actions/runners\"],\n listSelfHostedRunnersForRepo: [\"GET /repos/{owner}/{repo}/actions/runners\"],\n listWorkflowRunArtifacts: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\"],\n listWorkflowRuns: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\"],\n listWorkflowRunsForRepo: [\"GET /repos/{owner}/{repo}/actions/runs\"],\n reRunJobForWorkflowRun: [\"POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun\"],\n reRunWorkflow: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun\"],\n reRunWorkflowFailedJobs: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs\"],\n removeAllCustomLabelsFromSelfHostedRunnerForOrg: [\"DELETE /orgs/{org}/actions/runners/{runner_id}/labels\"],\n removeAllCustomLabelsFromSelfHostedRunnerForRepo: [\"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\"],\n removeCustomLabelFromSelfHostedRunnerForOrg: [\"DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}\"],\n removeCustomLabelFromSelfHostedRunnerForRepo: [\"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}\"],\n removeSelectedRepoFromOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\"],\n reviewPendingDeploymentsForRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\"],\n setActionsOidcCustomIssuerPolicyForEnterprise: [\"PUT /enterprises/{enterprise}/actions/oidc/customization/issuer\"],\n setAllowedActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/selected-actions\"],\n setAllowedActionsRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions/selected-actions\"],\n setCustomLabelsForSelfHostedRunnerForOrg: [\"PUT /orgs/{org}/actions/runners/{runner_id}/labels\"],\n setCustomLabelsForSelfHostedRunnerForRepo: [\"PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\"],\n setGithubActionsDefaultWorkflowPermissionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/workflow\"],\n setGithubActionsDefaultWorkflowPermissionsOrganization: [\"PUT /orgs/{org}/actions/permissions/workflow\"],\n setGithubActionsDefaultWorkflowPermissionsRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions/workflow\"],\n setGithubActionsPermissionsOrganization: [\"PUT /orgs/{org}/actions/permissions\"],\n setGithubActionsPermissionsRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions\"],\n setSelectedReposForOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories\"],\n setSelectedRepositoriesEnabledGithubActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/repositories\"],\n setWorkflowAccessToRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions/access\"]\n },\n activity: {\n checkRepoIsStarredByAuthenticatedUser: [\"GET /user/starred/{owner}/{repo}\"],\n deleteRepoSubscription: [\"DELETE /repos/{owner}/{repo}/subscription\"],\n deleteThreadSubscription: [\"DELETE /notifications/threads/{thread_id}/subscription\"],\n getFeeds: [\"GET /feeds\"],\n getRepoSubscription: [\"GET /repos/{owner}/{repo}/subscription\"],\n getThread: [\"GET /notifications/threads/{thread_id}\"],\n getThreadSubscriptionForAuthenticatedUser: [\"GET /notifications/threads/{thread_id}/subscription\"],\n listEventsForAuthenticatedUser: [\"GET /users/{username}/events\"],\n listNotificationsForAuthenticatedUser: [\"GET /notifications\"],\n listOrgEventsForAuthenticatedUser: [\"GET /users/{username}/events/orgs/{org}\"],\n listPublicEvents: [\"GET /events\"],\n listPublicEventsForRepoNetwork: [\"GET /networks/{owner}/{repo}/events\"],\n listPublicEventsForUser: [\"GET /users/{username}/events/public\"],\n listPublicOrgEvents: [\"GET /orgs/{org}/events\"],\n listReceivedEventsForUser: [\"GET /users/{username}/received_events\"],\n listReceivedPublicEventsForUser: [\"GET /users/{username}/received_events/public\"],\n listRepoEvents: [\"GET /repos/{owner}/{repo}/events\"],\n listRepoNotificationsForAuthenticatedUser: [\"GET /repos/{owner}/{repo}/notifications\"],\n listReposStarredByAuthenticatedUser: [\"GET /user/starred\"],\n listReposStarredByUser: [\"GET /users/{username}/starred\"],\n listReposWatchedByUser: [\"GET /users/{username}/subscriptions\"],\n listStargazersForRepo: [\"GET /repos/{owner}/{repo}/stargazers\"],\n listWatchedReposForAuthenticatedUser: [\"GET /user/subscriptions\"],\n listWatchersForRepo: [\"GET /repos/{owner}/{repo}/subscribers\"],\n markNotificationsAsRead: [\"PUT /notifications\"],\n markRepoNotificationsAsRead: [\"PUT /repos/{owner}/{repo}/notifications\"],\n markThreadAsRead: [\"PATCH /notifications/threads/{thread_id}\"],\n setRepoSubscription: [\"PUT /repos/{owner}/{repo}/subscription\"],\n setThreadSubscription: [\"PUT /notifications/threads/{thread_id}/subscription\"],\n starRepoForAuthenticatedUser: [\"PUT /user/starred/{owner}/{repo}\"],\n unstarRepoForAuthenticatedUser: [\"DELETE /user/starred/{owner}/{repo}\"]\n },\n apps: {\n addRepoToInstallation: [\"PUT /user/installations/{installation_id}/repositories/{repository_id}\", {}, {\n renamed: [\"apps\", \"addRepoToInstallationForAuthenticatedUser\"]\n }],\n addRepoToInstallationForAuthenticatedUser: [\"PUT /user/installations/{installation_id}/repositories/{repository_id}\"],\n checkToken: [\"POST /applications/{client_id}/token\"],\n createFromManifest: [\"POST /app-manifests/{code}/conversions\"],\n createInstallationAccessToken: [\"POST /app/installations/{installation_id}/access_tokens\"],\n deleteAuthorization: [\"DELETE /applications/{client_id}/grant\"],\n deleteInstallation: [\"DELETE /app/installations/{installation_id}\"],\n deleteToken: [\"DELETE /applications/{client_id}/token\"],\n getAuthenticated: [\"GET /app\"],\n getBySlug: [\"GET /apps/{app_slug}\"],\n getInstallation: [\"GET /app/installations/{installation_id}\"],\n getOrgInstallation: [\"GET /orgs/{org}/installation\"],\n getRepoInstallation: [\"GET /repos/{owner}/{repo}/installation\"],\n getSubscriptionPlanForAccount: [\"GET /marketplace_listing/accounts/{account_id}\"],\n getSubscriptionPlanForAccountStubbed: [\"GET /marketplace_listing/stubbed/accounts/{account_id}\"],\n getUserInstallation: [\"GET /users/{username}/installation\"],\n getWebhookConfigForApp: [\"GET /app/hook/config\"],\n getWebhookDelivery: [\"GET /app/hook/deliveries/{delivery_id}\"],\n listAccountsForPlan: [\"GET /marketplace_listing/plans/{plan_id}/accounts\"],\n listAccountsForPlanStubbed: [\"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\"],\n listInstallationReposForAuthenticatedUser: [\"GET /user/installations/{installation_id}/repositories\"],\n listInstallations: [\"GET /app/installations\"],\n listInstallationsForAuthenticatedUser: [\"GET /user/installations\"],\n listPlans: [\"GET /marketplace_listing/plans\"],\n listPlansStubbed: [\"GET /marketplace_listing/stubbed/plans\"],\n listReposAccessibleToInstallation: [\"GET /installation/repositories\"],\n listSubscriptionsForAuthenticatedUser: [\"GET /user/marketplace_purchases\"],\n listSubscriptionsForAuthenticatedUserStubbed: [\"GET /user/marketplace_purchases/stubbed\"],\n listWebhookDeliveries: [\"GET /app/hook/deliveries\"],\n redeliverWebhookDelivery: [\"POST /app/hook/deliveries/{delivery_id}/attempts\"],\n removeRepoFromInstallation: [\"DELETE /user/installations/{installation_id}/repositories/{repository_id}\", {}, {\n renamed: [\"apps\", \"removeRepoFromInstallationForAuthenticatedUser\"]\n }],\n removeRepoFromInstallationForAuthenticatedUser: [\"DELETE /user/installations/{installation_id}/repositories/{repository_id}\"],\n resetToken: [\"PATCH /applications/{client_id}/token\"],\n revokeInstallationAccessToken: [\"DELETE /installation/token\"],\n scopeToken: [\"POST /applications/{client_id}/token/scoped\"],\n suspendInstallation: [\"PUT /app/installations/{installation_id}/suspended\"],\n unsuspendInstallation: [\"DELETE /app/installations/{installation_id}/suspended\"],\n updateWebhookConfigForApp: [\"PATCH /app/hook/config\"]\n },\n billing: {\n getGithubActionsBillingOrg: [\"GET /orgs/{org}/settings/billing/actions\"],\n getGithubActionsBillingUser: [\"GET /users/{username}/settings/billing/actions\"],\n getGithubAdvancedSecurityBillingGhe: [\"GET /enterprises/{enterprise}/settings/billing/advanced-security\"],\n getGithubAdvancedSecurityBillingOrg: [\"GET /orgs/{org}/settings/billing/advanced-security\"],\n getGithubPackagesBillingOrg: [\"GET /orgs/{org}/settings/billing/packages\"],\n getGithubPackagesBillingUser: [\"GET /users/{username}/settings/billing/packages\"],\n getSharedStorageBillingOrg: [\"GET /orgs/{org}/settings/billing/shared-storage\"],\n getSharedStorageBillingUser: [\"GET /users/{username}/settings/billing/shared-storage\"]\n },\n checks: {\n create: [\"POST /repos/{owner}/{repo}/check-runs\"],\n createSuite: [\"POST /repos/{owner}/{repo}/check-suites\"],\n get: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}\"],\n getSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}\"],\n listAnnotations: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\"],\n listForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\"],\n listForSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\"],\n listSuitesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\"],\n rerequestRun: [\"POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest\"],\n rerequestSuite: [\"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest\"],\n setSuitesPreferences: [\"PATCH /repos/{owner}/{repo}/check-suites/preferences\"],\n update: [\"PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}\"]\n },\n codeScanning: {\n deleteAnalysis: [\"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}\"],\n getAlert: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\", {}, {\n renamedParameters: {\n alert_id: \"alert_number\"\n }\n }],\n getAnalysis: [\"GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}\"],\n getSarif: [\"GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}\"],\n listAlertInstances: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\"],\n listAlertsForOrg: [\"GET /orgs/{org}/code-scanning/alerts\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/code-scanning/alerts\"],\n listAlertsInstances: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\", {}, {\n renamed: [\"codeScanning\", \"listAlertInstances\"]\n }],\n listRecentAnalyses: [\"GET /repos/{owner}/{repo}/code-scanning/analyses\"],\n updateAlert: [\"PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\"],\n uploadSarif: [\"POST /repos/{owner}/{repo}/code-scanning/sarifs\"]\n },\n codesOfConduct: {\n getAllCodesOfConduct: [\"GET /codes_of_conduct\"],\n getConductCode: [\"GET /codes_of_conduct/{key}\"]\n },\n codespaces: {\n addRepositoryForSecretForAuthenticatedUser: [\"PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}\"],\n codespaceMachinesForAuthenticatedUser: [\"GET /user/codespaces/{codespace_name}/machines\"],\n createForAuthenticatedUser: [\"POST /user/codespaces\"],\n createOrUpdateRepoSecret: [\"PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}\"],\n createOrUpdateSecretForAuthenticatedUser: [\"PUT /user/codespaces/secrets/{secret_name}\"],\n createWithPrForAuthenticatedUser: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces\"],\n createWithRepoForAuthenticatedUser: [\"POST /repos/{owner}/{repo}/codespaces\"],\n deleteForAuthenticatedUser: [\"DELETE /user/codespaces/{codespace_name}\"],\n deleteFromOrganization: [\"DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}\"],\n deleteRepoSecret: [\"DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}\"],\n deleteSecretForAuthenticatedUser: [\"DELETE /user/codespaces/secrets/{secret_name}\"],\n exportForAuthenticatedUser: [\"POST /user/codespaces/{codespace_name}/exports\"],\n getExportDetailsForAuthenticatedUser: [\"GET /user/codespaces/{codespace_name}/exports/{export_id}\"],\n getForAuthenticatedUser: [\"GET /user/codespaces/{codespace_name}\"],\n getPublicKeyForAuthenticatedUser: [\"GET /user/codespaces/secrets/public-key\"],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/codespaces/secrets/public-key\"],\n getRepoSecret: [\"GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}\"],\n getSecretForAuthenticatedUser: [\"GET /user/codespaces/secrets/{secret_name}\"],\n listDevcontainersInRepositoryForAuthenticatedUser: [\"GET /repos/{owner}/{repo}/codespaces/devcontainers\"],\n listForAuthenticatedUser: [\"GET /user/codespaces\"],\n listInOrganization: [\"GET /orgs/{org_id}/codespaces\"],\n listInRepositoryForAuthenticatedUser: [\"GET /repos/{owner}/{repo}/codespaces\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/codespaces/secrets\"],\n listRepositoriesForSecretForAuthenticatedUser: [\"GET /user/codespaces/secrets/{secret_name}/repositories\"],\n listSecretsForAuthenticatedUser: [\"GET /user/codespaces/secrets\"],\n removeRepositoryForSecretForAuthenticatedUser: [\"DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}\"],\n repoMachinesForAuthenticatedUser: [\"GET /repos/{owner}/{repo}/codespaces/machines\"],\n setRepositoriesForSecretForAuthenticatedUser: [\"PUT /user/codespaces/secrets/{secret_name}/repositories\"],\n startForAuthenticatedUser: [\"POST /user/codespaces/{codespace_name}/start\"],\n stopForAuthenticatedUser: [\"POST /user/codespaces/{codespace_name}/stop\"],\n stopInOrganization: [\"POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop\"],\n updateForAuthenticatedUser: [\"PATCH /user/codespaces/{codespace_name}\"]\n },\n dependabot: {\n addSelectedRepoToOrgSecret: [\"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}\"],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/dependabot/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\"PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}\"],\n deleteOrgSecret: [\"DELETE /orgs/{org}/dependabot/secrets/{secret_name}\"],\n deleteRepoSecret: [\"DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/dependabot/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/dependabot/secrets/{secret_name}\"],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/dependabot/secrets/public-key\"],\n getRepoSecret: [\"GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}\"],\n listOrgSecrets: [\"GET /orgs/{org}/dependabot/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/dependabot/secrets\"],\n listSelectedReposForOrgSecret: [\"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories\"],\n removeSelectedRepoFromOrgSecret: [\"DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}\"],\n setSelectedReposForOrgSecret: [\"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories\"]\n },\n dependencyGraph: {\n createRepositorySnapshot: [\"POST /repos/{owner}/{repo}/dependency-graph/snapshots\"],\n diffRange: [\"GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}\"]\n },\n emojis: {\n get: [\"GET /emojis\"]\n },\n enterpriseAdmin: {\n addCustomLabelsToSelfHostedRunnerForEnterprise: [\"POST /enterprises/{enterprise}/actions/runners/{runner_id}/labels\"],\n disableSelectedOrganizationGithubActionsEnterprise: [\"DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\"],\n enableSelectedOrganizationGithubActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\"],\n getAllowedActionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions/selected-actions\"],\n getGithubActionsPermissionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions\"],\n getServerStatistics: [\"GET /enterprise-installation/{enterprise_or_org}/server-statistics\"],\n listLabelsForSelfHostedRunnerForEnterprise: [\"GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels\"],\n listSelectedOrganizationsEnabledGithubActionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions/organizations\"],\n removeAllCustomLabelsFromSelfHostedRunnerForEnterprise: [\"DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels\"],\n removeCustomLabelFromSelfHostedRunnerForEnterprise: [\"DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}\"],\n setAllowedActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/selected-actions\"],\n setCustomLabelsForSelfHostedRunnerForEnterprise: [\"PUT /enterprises/{enterprise}/actions/runners/{runner_id}/labels\"],\n setGithubActionsPermissionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions\"],\n setSelectedOrganizationsEnabledGithubActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/organizations\"]\n },\n gists: {\n checkIsStarred: [\"GET /gists/{gist_id}/star\"],\n create: [\"POST /gists\"],\n createComment: [\"POST /gists/{gist_id}/comments\"],\n delete: [\"DELETE /gists/{gist_id}\"],\n deleteComment: [\"DELETE /gists/{gist_id}/comments/{comment_id}\"],\n fork: [\"POST /gists/{gist_id}/forks\"],\n get: [\"GET /gists/{gist_id}\"],\n getComment: [\"GET /gists/{gist_id}/comments/{comment_id}\"],\n getRevision: [\"GET /gists/{gist_id}/{sha}\"],\n list: [\"GET /gists\"],\n listComments: [\"GET /gists/{gist_id}/comments\"],\n listCommits: [\"GET /gists/{gist_id}/commits\"],\n listForUser: [\"GET /users/{username}/gists\"],\n listForks: [\"GET /gists/{gist_id}/forks\"],\n listPublic: [\"GET /gists/public\"],\n listStarred: [\"GET /gists/starred\"],\n star: [\"PUT /gists/{gist_id}/star\"],\n unstar: [\"DELETE /gists/{gist_id}/star\"],\n update: [\"PATCH /gists/{gist_id}\"],\n updateComment: [\"PATCH /gists/{gist_id}/comments/{comment_id}\"]\n },\n git: {\n createBlob: [\"POST /repos/{owner}/{repo}/git/blobs\"],\n createCommit: [\"POST /repos/{owner}/{repo}/git/commits\"],\n createRef: [\"POST /repos/{owner}/{repo}/git/refs\"],\n createTag: [\"POST /repos/{owner}/{repo}/git/tags\"],\n createTree: [\"POST /repos/{owner}/{repo}/git/trees\"],\n deleteRef: [\"DELETE /repos/{owner}/{repo}/git/refs/{ref}\"],\n getBlob: [\"GET /repos/{owner}/{repo}/git/blobs/{file_sha}\"],\n getCommit: [\"GET /repos/{owner}/{repo}/git/commits/{commit_sha}\"],\n getRef: [\"GET /repos/{owner}/{repo}/git/ref/{ref}\"],\n getTag: [\"GET /repos/{owner}/{repo}/git/tags/{tag_sha}\"],\n getTree: [\"GET /repos/{owner}/{repo}/git/trees/{tree_sha}\"],\n listMatchingRefs: [\"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\"],\n updateRef: [\"PATCH /repos/{owner}/{repo}/git/refs/{ref}\"]\n },\n gitignore: {\n getAllTemplates: [\"GET /gitignore/templates\"],\n getTemplate: [\"GET /gitignore/templates/{name}\"]\n },\n interactions: {\n getRestrictionsForAuthenticatedUser: [\"GET /user/interaction-limits\"],\n getRestrictionsForOrg: [\"GET /orgs/{org}/interaction-limits\"],\n getRestrictionsForRepo: [\"GET /repos/{owner}/{repo}/interaction-limits\"],\n getRestrictionsForYourPublicRepos: [\"GET /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"getRestrictionsForAuthenticatedUser\"]\n }],\n removeRestrictionsForAuthenticatedUser: [\"DELETE /user/interaction-limits\"],\n removeRestrictionsForOrg: [\"DELETE /orgs/{org}/interaction-limits\"],\n removeRestrictionsForRepo: [\"DELETE /repos/{owner}/{repo}/interaction-limits\"],\n removeRestrictionsForYourPublicRepos: [\"DELETE /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"removeRestrictionsForAuthenticatedUser\"]\n }],\n setRestrictionsForAuthenticatedUser: [\"PUT /user/interaction-limits\"],\n setRestrictionsForOrg: [\"PUT /orgs/{org}/interaction-limits\"],\n setRestrictionsForRepo: [\"PUT /repos/{owner}/{repo}/interaction-limits\"],\n setRestrictionsForYourPublicRepos: [\"PUT /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"setRestrictionsForAuthenticatedUser\"]\n }]\n },\n issues: {\n addAssignees: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees\"],\n addLabels: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n checkUserCanBeAssigned: [\"GET /repos/{owner}/{repo}/assignees/{assignee}\"],\n create: [\"POST /repos/{owner}/{repo}/issues\"],\n createComment: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n createLabel: [\"POST /repos/{owner}/{repo}/labels\"],\n createMilestone: [\"POST /repos/{owner}/{repo}/milestones\"],\n deleteComment: [\"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n deleteLabel: [\"DELETE /repos/{owner}/{repo}/labels/{name}\"],\n deleteMilestone: [\"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n get: [\"GET /repos/{owner}/{repo}/issues/{issue_number}\"],\n getComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n getEvent: [\"GET /repos/{owner}/{repo}/issues/events/{event_id}\"],\n getLabel: [\"GET /repos/{owner}/{repo}/labels/{name}\"],\n getMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n list: [\"GET /issues\"],\n listAssignees: [\"GET /repos/{owner}/{repo}/assignees\"],\n listComments: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n listCommentsForRepo: [\"GET /repos/{owner}/{repo}/issues/comments\"],\n listEvents: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/events\"],\n listEventsForRepo: [\"GET /repos/{owner}/{repo}/issues/events\"],\n listEventsForTimeline: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\"],\n listForAuthenticatedUser: [\"GET /user/issues\"],\n listForOrg: [\"GET /orgs/{org}/issues\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/issues\"],\n listLabelsForMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\"],\n listLabelsForRepo: [\"GET /repos/{owner}/{repo}/labels\"],\n listLabelsOnIssue: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n listMilestones: [\"GET /repos/{owner}/{repo}/milestones\"],\n lock: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n removeAllLabels: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n removeAssignees: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees\"],\n removeLabel: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}\"],\n setLabels: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n unlock: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n update: [\"PATCH /repos/{owner}/{repo}/issues/{issue_number}\"],\n updateComment: [\"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n updateLabel: [\"PATCH /repos/{owner}/{repo}/labels/{name}\"],\n updateMilestone: [\"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}\"]\n },\n licenses: {\n get: [\"GET /licenses/{license}\"],\n getAllCommonlyUsed: [\"GET /licenses\"],\n getForRepo: [\"GET /repos/{owner}/{repo}/license\"]\n },\n markdown: {\n render: [\"POST /markdown\"],\n renderRaw: [\"POST /markdown/raw\", {\n headers: {\n \"content-type\": \"text/plain; charset=utf-8\"\n }\n }]\n },\n meta: {\n get: [\"GET /meta\"],\n getOctocat: [\"GET /octocat\"],\n getZen: [\"GET /zen\"],\n root: [\"GET /\"]\n },\n migrations: {\n cancelImport: [\"DELETE /repos/{owner}/{repo}/import\"],\n deleteArchiveForAuthenticatedUser: [\"DELETE /user/migrations/{migration_id}/archive\"],\n deleteArchiveForOrg: [\"DELETE /orgs/{org}/migrations/{migration_id}/archive\"],\n downloadArchiveForOrg: [\"GET /orgs/{org}/migrations/{migration_id}/archive\"],\n getArchiveForAuthenticatedUser: [\"GET /user/migrations/{migration_id}/archive\"],\n getCommitAuthors: [\"GET /repos/{owner}/{repo}/import/authors\"],\n getImportStatus: [\"GET /repos/{owner}/{repo}/import\"],\n getLargeFiles: [\"GET /repos/{owner}/{repo}/import/large_files\"],\n getStatusForAuthenticatedUser: [\"GET /user/migrations/{migration_id}\"],\n getStatusForOrg: [\"GET /orgs/{org}/migrations/{migration_id}\"],\n listForAuthenticatedUser: [\"GET /user/migrations\"],\n listForOrg: [\"GET /orgs/{org}/migrations\"],\n listReposForAuthenticatedUser: [\"GET /user/migrations/{migration_id}/repositories\"],\n listReposForOrg: [\"GET /orgs/{org}/migrations/{migration_id}/repositories\"],\n listReposForUser: [\"GET /user/migrations/{migration_id}/repositories\", {}, {\n renamed: [\"migrations\", \"listReposForAuthenticatedUser\"]\n }],\n mapCommitAuthor: [\"PATCH /repos/{owner}/{repo}/import/authors/{author_id}\"],\n setLfsPreference: [\"PATCH /repos/{owner}/{repo}/import/lfs\"],\n startForAuthenticatedUser: [\"POST /user/migrations\"],\n startForOrg: [\"POST /orgs/{org}/migrations\"],\n startImport: [\"PUT /repos/{owner}/{repo}/import\"],\n unlockRepoForAuthenticatedUser: [\"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock\"],\n unlockRepoForOrg: [\"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock\"],\n updateImport: [\"PATCH /repos/{owner}/{repo}/import\"]\n },\n orgs: {\n blockUser: [\"PUT /orgs/{org}/blocks/{username}\"],\n cancelInvitation: [\"DELETE /orgs/{org}/invitations/{invitation_id}\"],\n checkBlockedUser: [\"GET /orgs/{org}/blocks/{username}\"],\n checkMembershipForUser: [\"GET /orgs/{org}/members/{username}\"],\n checkPublicMembershipForUser: [\"GET /orgs/{org}/public_members/{username}\"],\n convertMemberToOutsideCollaborator: [\"PUT /orgs/{org}/outside_collaborators/{username}\"],\n createInvitation: [\"POST /orgs/{org}/invitations\"],\n createWebhook: [\"POST /orgs/{org}/hooks\"],\n deleteWebhook: [\"DELETE /orgs/{org}/hooks/{hook_id}\"],\n get: [\"GET /orgs/{org}\"],\n getMembershipForAuthenticatedUser: [\"GET /user/memberships/orgs/{org}\"],\n getMembershipForUser: [\"GET /orgs/{org}/memberships/{username}\"],\n getWebhook: [\"GET /orgs/{org}/hooks/{hook_id}\"],\n getWebhookConfigForOrg: [\"GET /orgs/{org}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}\"],\n list: [\"GET /organizations\"],\n listAppInstallations: [\"GET /orgs/{org}/installations\"],\n listBlockedUsers: [\"GET /orgs/{org}/blocks\"],\n listCustomRoles: [\"GET /organizations/{organization_id}/custom_roles\"],\n listFailedInvitations: [\"GET /orgs/{org}/failed_invitations\"],\n listForAuthenticatedUser: [\"GET /user/orgs\"],\n listForUser: [\"GET /users/{username}/orgs\"],\n listInvitationTeams: [\"GET /orgs/{org}/invitations/{invitation_id}/teams\"],\n listMembers: [\"GET /orgs/{org}/members\"],\n listMembershipsForAuthenticatedUser: [\"GET /user/memberships/orgs\"],\n listOutsideCollaborators: [\"GET /orgs/{org}/outside_collaborators\"],\n listPendingInvitations: [\"GET /orgs/{org}/invitations\"],\n listPublicMembers: [\"GET /orgs/{org}/public_members\"],\n listWebhookDeliveries: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /orgs/{org}/hooks\"],\n pingWebhook: [\"POST /orgs/{org}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\"],\n removeMember: [\"DELETE /orgs/{org}/members/{username}\"],\n removeMembershipForUser: [\"DELETE /orgs/{org}/memberships/{username}\"],\n removeOutsideCollaborator: [\"DELETE /orgs/{org}/outside_collaborators/{username}\"],\n removePublicMembershipForAuthenticatedUser: [\"DELETE /orgs/{org}/public_members/{username}\"],\n setMembershipForUser: [\"PUT /orgs/{org}/memberships/{username}\"],\n setPublicMembershipForAuthenticatedUser: [\"PUT /orgs/{org}/public_members/{username}\"],\n unblockUser: [\"DELETE /orgs/{org}/blocks/{username}\"],\n update: [\"PATCH /orgs/{org}\"],\n updateMembershipForAuthenticatedUser: [\"PATCH /user/memberships/orgs/{org}\"],\n updateWebhook: [\"PATCH /orgs/{org}/hooks/{hook_id}\"],\n updateWebhookConfigForOrg: [\"PATCH /orgs/{org}/hooks/{hook_id}/config\"]\n },\n packages: {\n deletePackageForAuthenticatedUser: [\"DELETE /user/packages/{package_type}/{package_name}\"],\n deletePackageForOrg: [\"DELETE /orgs/{org}/packages/{package_type}/{package_name}\"],\n deletePackageForUser: [\"DELETE /users/{username}/packages/{package_type}/{package_name}\"],\n deletePackageVersionForAuthenticatedUser: [\"DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n deletePackageVersionForOrg: [\"DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n deletePackageVersionForUser: [\"DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getAllPackageVersionsForAPackageOwnedByAnOrg: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\", {}, {\n renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByOrg\"]\n }],\n getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions\", {}, {\n renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByAuthenticatedUser\"]\n }],\n getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions\"],\n getAllPackageVersionsForPackageOwnedByOrg: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\"],\n getAllPackageVersionsForPackageOwnedByUser: [\"GET /users/{username}/packages/{package_type}/{package_name}/versions\"],\n getPackageForAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}\"],\n getPackageForOrganization: [\"GET /orgs/{org}/packages/{package_type}/{package_name}\"],\n getPackageForUser: [\"GET /users/{username}/packages/{package_type}/{package_name}\"],\n getPackageVersionForAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getPackageVersionForOrganization: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getPackageVersionForUser: [\"GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n listPackagesForAuthenticatedUser: [\"GET /user/packages\"],\n listPackagesForOrganization: [\"GET /orgs/{org}/packages\"],\n listPackagesForUser: [\"GET /users/{username}/packages\"],\n restorePackageForAuthenticatedUser: [\"POST /user/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageForOrg: [\"POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageForUser: [\"POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageVersionForAuthenticatedUser: [\"POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"],\n restorePackageVersionForOrg: [\"POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"],\n restorePackageVersionForUser: [\"POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"]\n },\n projects: {\n addCollaborator: [\"PUT /projects/{project_id}/collaborators/{username}\"],\n createCard: [\"POST /projects/columns/{column_id}/cards\"],\n createColumn: [\"POST /projects/{project_id}/columns\"],\n createForAuthenticatedUser: [\"POST /user/projects\"],\n createForOrg: [\"POST /orgs/{org}/projects\"],\n createForRepo: [\"POST /repos/{owner}/{repo}/projects\"],\n delete: [\"DELETE /projects/{project_id}\"],\n deleteCard: [\"DELETE /projects/columns/cards/{card_id}\"],\n deleteColumn: [\"DELETE /projects/columns/{column_id}\"],\n get: [\"GET /projects/{project_id}\"],\n getCard: [\"GET /projects/columns/cards/{card_id}\"],\n getColumn: [\"GET /projects/columns/{column_id}\"],\n getPermissionForUser: [\"GET /projects/{project_id}/collaborators/{username}/permission\"],\n listCards: [\"GET /projects/columns/{column_id}/cards\"],\n listCollaborators: [\"GET /projects/{project_id}/collaborators\"],\n listColumns: [\"GET /projects/{project_id}/columns\"],\n listForOrg: [\"GET /orgs/{org}/projects\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/projects\"],\n listForUser: [\"GET /users/{username}/projects\"],\n moveCard: [\"POST /projects/columns/cards/{card_id}/moves\"],\n moveColumn: [\"POST /projects/columns/{column_id}/moves\"],\n removeCollaborator: [\"DELETE /projects/{project_id}/collaborators/{username}\"],\n update: [\"PATCH /projects/{project_id}\"],\n updateCard: [\"PATCH /projects/columns/cards/{card_id}\"],\n updateColumn: [\"PATCH /projects/columns/{column_id}\"]\n },\n pulls: {\n checkIfMerged: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n create: [\"POST /repos/{owner}/{repo}/pulls\"],\n createReplyForReviewComment: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\"],\n createReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n createReviewComment: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\"],\n deletePendingReview: [\"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n deleteReviewComment: [\"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n dismissReview: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals\"],\n get: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}\"],\n getReview: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n getReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n list: [\"GET /repos/{owner}/{repo}/pulls\"],\n listCommentsForReview: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\"],\n listCommits: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\"],\n listFiles: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\"],\n listRequestedReviewers: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n listReviewComments: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\"],\n listReviewCommentsForRepo: [\"GET /repos/{owner}/{repo}/pulls/comments\"],\n listReviews: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n merge: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n removeRequestedReviewers: [\"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n requestReviewers: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n submitReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events\"],\n update: [\"PATCH /repos/{owner}/{repo}/pulls/{pull_number}\"],\n updateBranch: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch\"],\n updateReview: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n updateReviewComment: [\"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\"]\n },\n rateLimit: {\n get: [\"GET /rate_limit\"]\n },\n reactions: {\n createForCommitComment: [\"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions\"],\n createForIssue: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions\"],\n createForIssueComment: [\"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\"],\n createForPullRequestReviewComment: [\"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\"],\n createForRelease: [\"POST /repos/{owner}/{repo}/releases/{release_id}/reactions\"],\n createForTeamDiscussionCommentInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\"],\n createForTeamDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\"],\n deleteForCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}\"],\n deleteForIssue: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}\"],\n deleteForIssueComment: [\"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}\"],\n deleteForPullRequestComment: [\"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}\"],\n deleteForRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}\"],\n deleteForTeamDiscussion: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}\"],\n deleteForTeamDiscussionComment: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}\"],\n listForCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\"],\n listForIssue: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\"],\n listForIssueComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\"],\n listForPullRequestReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\"],\n listForRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}/reactions\"],\n listForTeamDiscussionCommentInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\"],\n listForTeamDiscussionInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\"]\n },\n repos: {\n acceptInvitation: [\"PATCH /user/repository_invitations/{invitation_id}\", {}, {\n renamed: [\"repos\", \"acceptInvitationForAuthenticatedUser\"]\n }],\n acceptInvitationForAuthenticatedUser: [\"PATCH /user/repository_invitations/{invitation_id}\"],\n addAppAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n addCollaborator: [\"PUT /repos/{owner}/{repo}/collaborators/{username}\"],\n addStatusCheckContexts: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n addTeamAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n addUserAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n checkCollaborator: [\"GET /repos/{owner}/{repo}/collaborators/{username}\"],\n checkVulnerabilityAlerts: [\"GET /repos/{owner}/{repo}/vulnerability-alerts\"],\n codeownersErrors: [\"GET /repos/{owner}/{repo}/codeowners/errors\"],\n compareCommits: [\"GET /repos/{owner}/{repo}/compare/{base}...{head}\"],\n compareCommitsWithBasehead: [\"GET /repos/{owner}/{repo}/compare/{basehead}\"],\n createAutolink: [\"POST /repos/{owner}/{repo}/autolinks\"],\n createCommitComment: [\"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments\"],\n createCommitSignatureProtection: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"],\n createCommitStatus: [\"POST /repos/{owner}/{repo}/statuses/{sha}\"],\n createDeployKey: [\"POST /repos/{owner}/{repo}/keys\"],\n createDeployment: [\"POST /repos/{owner}/{repo}/deployments\"],\n createDeploymentStatus: [\"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\"],\n createDispatchEvent: [\"POST /repos/{owner}/{repo}/dispatches\"],\n createForAuthenticatedUser: [\"POST /user/repos\"],\n createFork: [\"POST /repos/{owner}/{repo}/forks\"],\n createInOrg: [\"POST /orgs/{org}/repos\"],\n createOrUpdateEnvironment: [\"PUT /repos/{owner}/{repo}/environments/{environment_name}\"],\n createOrUpdateFileContents: [\"PUT /repos/{owner}/{repo}/contents/{path}\"],\n createPagesSite: [\"POST /repos/{owner}/{repo}/pages\"],\n createRelease: [\"POST /repos/{owner}/{repo}/releases\"],\n createTagProtection: [\"POST /repos/{owner}/{repo}/tags/protection\"],\n createUsingTemplate: [\"POST /repos/{template_owner}/{template_repo}/generate\"],\n createWebhook: [\"POST /repos/{owner}/{repo}/hooks\"],\n declineInvitation: [\"DELETE /user/repository_invitations/{invitation_id}\", {}, {\n renamed: [\"repos\", \"declineInvitationForAuthenticatedUser\"]\n }],\n declineInvitationForAuthenticatedUser: [\"DELETE /user/repository_invitations/{invitation_id}\"],\n delete: [\"DELETE /repos/{owner}/{repo}\"],\n deleteAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\"],\n deleteAdminBranchProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n deleteAnEnvironment: [\"DELETE /repos/{owner}/{repo}/environments/{environment_name}\"],\n deleteAutolink: [\"DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}\"],\n deleteBranchProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\"],\n deleteCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}\"],\n deleteCommitSignatureProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"],\n deleteDeployKey: [\"DELETE /repos/{owner}/{repo}/keys/{key_id}\"],\n deleteDeployment: [\"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n deleteFile: [\"DELETE /repos/{owner}/{repo}/contents/{path}\"],\n deleteInvitation: [\"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}\"],\n deletePagesSite: [\"DELETE /repos/{owner}/{repo}/pages\"],\n deletePullRequestReviewProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n deleteRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}\"],\n deleteReleaseAsset: [\"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n deleteTagProtection: [\"DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}\"],\n deleteWebhook: [\"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\"],\n disableAutomatedSecurityFixes: [\"DELETE /repos/{owner}/{repo}/automated-security-fixes\"],\n disableLfsForRepo: [\"DELETE /repos/{owner}/{repo}/lfs\"],\n disableVulnerabilityAlerts: [\"DELETE /repos/{owner}/{repo}/vulnerability-alerts\"],\n downloadArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\", {}, {\n renamed: [\"repos\", \"downloadZipballArchive\"]\n }],\n downloadTarballArchive: [\"GET /repos/{owner}/{repo}/tarball/{ref}\"],\n downloadZipballArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\"],\n enableAutomatedSecurityFixes: [\"PUT /repos/{owner}/{repo}/automated-security-fixes\"],\n enableLfsForRepo: [\"PUT /repos/{owner}/{repo}/lfs\"],\n enableVulnerabilityAlerts: [\"PUT /repos/{owner}/{repo}/vulnerability-alerts\"],\n generateReleaseNotes: [\"POST /repos/{owner}/{repo}/releases/generate-notes\"],\n get: [\"GET /repos/{owner}/{repo}\"],\n getAccessRestrictions: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\"],\n getAdminBranchProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n getAllEnvironments: [\"GET /repos/{owner}/{repo}/environments\"],\n getAllStatusCheckContexts: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\"],\n getAllTopics: [\"GET /repos/{owner}/{repo}/topics\"],\n getAppsWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\"],\n getAutolink: [\"GET /repos/{owner}/{repo}/autolinks/{autolink_id}\"],\n getBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}\"],\n getBranchProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection\"],\n getClones: [\"GET /repos/{owner}/{repo}/traffic/clones\"],\n getCodeFrequencyStats: [\"GET /repos/{owner}/{repo}/stats/code_frequency\"],\n getCollaboratorPermissionLevel: [\"GET /repos/{owner}/{repo}/collaborators/{username}/permission\"],\n getCombinedStatusForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/status\"],\n getCommit: [\"GET /repos/{owner}/{repo}/commits/{ref}\"],\n getCommitActivityStats: [\"GET /repos/{owner}/{repo}/stats/commit_activity\"],\n getCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}\"],\n getCommitSignatureProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"],\n getCommunityProfileMetrics: [\"GET /repos/{owner}/{repo}/community/profile\"],\n getContent: [\"GET /repos/{owner}/{repo}/contents/{path}\"],\n getContributorsStats: [\"GET /repos/{owner}/{repo}/stats/contributors\"],\n getDeployKey: [\"GET /repos/{owner}/{repo}/keys/{key_id}\"],\n getDeployment: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n getDeploymentStatus: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}\"],\n getEnvironment: [\"GET /repos/{owner}/{repo}/environments/{environment_name}\"],\n getLatestPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/latest\"],\n getLatestRelease: [\"GET /repos/{owner}/{repo}/releases/latest\"],\n getPages: [\"GET /repos/{owner}/{repo}/pages\"],\n getPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/{build_id}\"],\n getPagesHealthCheck: [\"GET /repos/{owner}/{repo}/pages/health\"],\n getParticipationStats: [\"GET /repos/{owner}/{repo}/stats/participation\"],\n getPullRequestReviewProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n getPunchCardStats: [\"GET /repos/{owner}/{repo}/stats/punch_card\"],\n getReadme: [\"GET /repos/{owner}/{repo}/readme\"],\n getReadmeInDirectory: [\"GET /repos/{owner}/{repo}/readme/{dir}\"],\n getRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}\"],\n getReleaseAsset: [\"GET /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n getReleaseByTag: [\"GET /repos/{owner}/{repo}/releases/tags/{tag}\"],\n getStatusChecksProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n getTeamsWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\"],\n getTopPaths: [\"GET /repos/{owner}/{repo}/traffic/popular/paths\"],\n getTopReferrers: [\"GET /repos/{owner}/{repo}/traffic/popular/referrers\"],\n getUsersWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\"],\n getViews: [\"GET /repos/{owner}/{repo}/traffic/views\"],\n getWebhook: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}\"],\n getWebhookConfigForRepo: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}\"],\n listAutolinks: [\"GET /repos/{owner}/{repo}/autolinks\"],\n listBranches: [\"GET /repos/{owner}/{repo}/branches\"],\n listBranchesForHeadCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\"],\n listCollaborators: [\"GET /repos/{owner}/{repo}/collaborators\"],\n listCommentsForCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\"],\n listCommitCommentsForRepo: [\"GET /repos/{owner}/{repo}/comments\"],\n listCommitStatusesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/statuses\"],\n listCommits: [\"GET /repos/{owner}/{repo}/commits\"],\n listContributors: [\"GET /repos/{owner}/{repo}/contributors\"],\n listDeployKeys: [\"GET /repos/{owner}/{repo}/keys\"],\n listDeploymentStatuses: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\"],\n listDeployments: [\"GET /repos/{owner}/{repo}/deployments\"],\n listForAuthenticatedUser: [\"GET /user/repos\"],\n listForOrg: [\"GET /orgs/{org}/repos\"],\n listForUser: [\"GET /users/{username}/repos\"],\n listForks: [\"GET /repos/{owner}/{repo}/forks\"],\n listInvitations: [\"GET /repos/{owner}/{repo}/invitations\"],\n listInvitationsForAuthenticatedUser: [\"GET /user/repository_invitations\"],\n listLanguages: [\"GET /repos/{owner}/{repo}/languages\"],\n listPagesBuilds: [\"GET /repos/{owner}/{repo}/pages/builds\"],\n listPublic: [\"GET /repositories\"],\n listPullRequestsAssociatedWithCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\"],\n listReleaseAssets: [\"GET /repos/{owner}/{repo}/releases/{release_id}/assets\"],\n listReleases: [\"GET /repos/{owner}/{repo}/releases\"],\n listTagProtection: [\"GET /repos/{owner}/{repo}/tags/protection\"],\n listTags: [\"GET /repos/{owner}/{repo}/tags\"],\n listTeams: [\"GET /repos/{owner}/{repo}/teams\"],\n listWebhookDeliveries: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /repos/{owner}/{repo}/hooks\"],\n merge: [\"POST /repos/{owner}/{repo}/merges\"],\n mergeUpstream: [\"POST /repos/{owner}/{repo}/merge-upstream\"],\n pingWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\"],\n removeAppAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n removeCollaborator: [\"DELETE /repos/{owner}/{repo}/collaborators/{username}\"],\n removeStatusCheckContexts: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n removeStatusCheckProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n removeTeamAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n removeUserAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n renameBranch: [\"POST /repos/{owner}/{repo}/branches/{branch}/rename\"],\n replaceAllTopics: [\"PUT /repos/{owner}/{repo}/topics\"],\n requestPagesBuild: [\"POST /repos/{owner}/{repo}/pages/builds\"],\n setAdminBranchProtection: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n setAppAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n setStatusCheckContexts: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n setTeamAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n setUserAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n testPushWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\"],\n transfer: [\"POST /repos/{owner}/{repo}/transfer\"],\n update: [\"PATCH /repos/{owner}/{repo}\"],\n updateBranchProtection: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection\"],\n updateCommitComment: [\"PATCH /repos/{owner}/{repo}/comments/{comment_id}\"],\n updateInformationAboutPagesSite: [\"PUT /repos/{owner}/{repo}/pages\"],\n updateInvitation: [\"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}\"],\n updatePullRequestReviewProtection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n updateRelease: [\"PATCH /repos/{owner}/{repo}/releases/{release_id}\"],\n updateReleaseAsset: [\"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n updateStatusCheckPotection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\", {}, {\n renamed: [\"repos\", \"updateStatusCheckProtection\"]\n }],\n updateStatusCheckProtection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n updateWebhook: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\"],\n updateWebhookConfigForRepo: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config\"],\n uploadReleaseAsset: [\"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}\", {\n baseUrl: \"https://uploads.github.com\"\n }]\n },\n search: {\n code: [\"GET /search/code\"],\n commits: [\"GET /search/commits\"],\n issuesAndPullRequests: [\"GET /search/issues\"],\n labels: [\"GET /search/labels\"],\n repos: [\"GET /search/repositories\"],\n topics: [\"GET /search/topics\"],\n users: [\"GET /search/users\"]\n },\n secretScanning: {\n getAlert: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\"],\n listAlertsForEnterprise: [\"GET /enterprises/{enterprise}/secret-scanning/alerts\"],\n listAlertsForOrg: [\"GET /orgs/{org}/secret-scanning/alerts\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts\"],\n listLocationsForAlert: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations\"],\n updateAlert: [\"PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\"]\n },\n teams: {\n addOrUpdateMembershipForUserInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n addOrUpdateProjectPermissionsInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n addOrUpdateRepoPermissionsInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n checkPermissionsForProjectInOrg: [\"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n checkPermissionsForRepoInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n create: [\"POST /orgs/{org}/teams\"],\n createDiscussionCommentInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\"],\n createDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions\"],\n deleteDiscussionCommentInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n deleteDiscussionInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n deleteInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}\"],\n getByName: [\"GET /orgs/{org}/teams/{team_slug}\"],\n getDiscussionCommentInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n getDiscussionInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n getMembershipForUserInOrg: [\"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n list: [\"GET /orgs/{org}/teams\"],\n listChildInOrg: [\"GET /orgs/{org}/teams/{team_slug}/teams\"],\n listDiscussionCommentsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\"],\n listDiscussionsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions\"],\n listForAuthenticatedUser: [\"GET /user/teams\"],\n listMembersInOrg: [\"GET /orgs/{org}/teams/{team_slug}/members\"],\n listPendingInvitationsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/invitations\"],\n listProjectsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/projects\"],\n listReposInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos\"],\n removeMembershipForUserInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n removeProjectInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n removeRepoInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n updateDiscussionCommentInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n updateDiscussionInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n updateInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}\"]\n },\n users: {\n addEmailForAuthenticated: [\"POST /user/emails\", {}, {\n renamed: [\"users\", \"addEmailForAuthenticatedUser\"]\n }],\n addEmailForAuthenticatedUser: [\"POST /user/emails\"],\n block: [\"PUT /user/blocks/{username}\"],\n checkBlocked: [\"GET /user/blocks/{username}\"],\n checkFollowingForUser: [\"GET /users/{username}/following/{target_user}\"],\n checkPersonIsFollowedByAuthenticated: [\"GET /user/following/{username}\"],\n createGpgKeyForAuthenticated: [\"POST /user/gpg_keys\", {}, {\n renamed: [\"users\", \"createGpgKeyForAuthenticatedUser\"]\n }],\n createGpgKeyForAuthenticatedUser: [\"POST /user/gpg_keys\"],\n createPublicSshKeyForAuthenticated: [\"POST /user/keys\", {}, {\n renamed: [\"users\", \"createPublicSshKeyForAuthenticatedUser\"]\n }],\n createPublicSshKeyForAuthenticatedUser: [\"POST /user/keys\"],\n deleteEmailForAuthenticated: [\"DELETE /user/emails\", {}, {\n renamed: [\"users\", \"deleteEmailForAuthenticatedUser\"]\n }],\n deleteEmailForAuthenticatedUser: [\"DELETE /user/emails\"],\n deleteGpgKeyForAuthenticated: [\"DELETE /user/gpg_keys/{gpg_key_id}\", {}, {\n renamed: [\"users\", \"deleteGpgKeyForAuthenticatedUser\"]\n }],\n deleteGpgKeyForAuthenticatedUser: [\"DELETE /user/gpg_keys/{gpg_key_id}\"],\n deletePublicSshKeyForAuthenticated: [\"DELETE /user/keys/{key_id}\", {}, {\n renamed: [\"users\", \"deletePublicSshKeyForAuthenticatedUser\"]\n }],\n deletePublicSshKeyForAuthenticatedUser: [\"DELETE /user/keys/{key_id}\"],\n follow: [\"PUT /user/following/{username}\"],\n getAuthenticated: [\"GET /user\"],\n getByUsername: [\"GET /users/{username}\"],\n getContextForUser: [\"GET /users/{username}/hovercard\"],\n getGpgKeyForAuthenticated: [\"GET /user/gpg_keys/{gpg_key_id}\", {}, {\n renamed: [\"users\", \"getGpgKeyForAuthenticatedUser\"]\n }],\n getGpgKeyForAuthenticatedUser: [\"GET /user/gpg_keys/{gpg_key_id}\"],\n getPublicSshKeyForAuthenticated: [\"GET /user/keys/{key_id}\", {}, {\n renamed: [\"users\", \"getPublicSshKeyForAuthenticatedUser\"]\n }],\n getPublicSshKeyForAuthenticatedUser: [\"GET /user/keys/{key_id}\"],\n list: [\"GET /users\"],\n listBlockedByAuthenticated: [\"GET /user/blocks\", {}, {\n renamed: [\"users\", \"listBlockedByAuthenticatedUser\"]\n }],\n listBlockedByAuthenticatedUser: [\"GET /user/blocks\"],\n listEmailsForAuthenticated: [\"GET /user/emails\", {}, {\n renamed: [\"users\", \"listEmailsForAuthenticatedUser\"]\n }],\n listEmailsForAuthenticatedUser: [\"GET /user/emails\"],\n listFollowedByAuthenticated: [\"GET /user/following\", {}, {\n renamed: [\"users\", \"listFollowedByAuthenticatedUser\"]\n }],\n listFollowedByAuthenticatedUser: [\"GET /user/following\"],\n listFollowersForAuthenticatedUser: [\"GET /user/followers\"],\n listFollowersForUser: [\"GET /users/{username}/followers\"],\n listFollowingForUser: [\"GET /users/{username}/following\"],\n listGpgKeysForAuthenticated: [\"GET /user/gpg_keys\", {}, {\n renamed: [\"users\", \"listGpgKeysForAuthenticatedUser\"]\n }],\n listGpgKeysForAuthenticatedUser: [\"GET /user/gpg_keys\"],\n listGpgKeysForUser: [\"GET /users/{username}/gpg_keys\"],\n listPublicEmailsForAuthenticated: [\"GET /user/public_emails\", {}, {\n renamed: [\"users\", \"listPublicEmailsForAuthenticatedUser\"]\n }],\n listPublicEmailsForAuthenticatedUser: [\"GET /user/public_emails\"],\n listPublicKeysForUser: [\"GET /users/{username}/keys\"],\n listPublicSshKeysForAuthenticated: [\"GET /user/keys\", {}, {\n renamed: [\"users\", \"listPublicSshKeysForAuthenticatedUser\"]\n }],\n listPublicSshKeysForAuthenticatedUser: [\"GET /user/keys\"],\n setPrimaryEmailVisibilityForAuthenticated: [\"PATCH /user/email/visibility\", {}, {\n renamed: [\"users\", \"setPrimaryEmailVisibilityForAuthenticatedUser\"]\n }],\n setPrimaryEmailVisibilityForAuthenticatedUser: [\"PATCH /user/email/visibility\"],\n unblock: [\"DELETE /user/blocks/{username}\"],\n unfollow: [\"DELETE /user/following/{username}\"],\n updateAuthenticated: [\"PATCH /user\"]\n }\n};\n\nconst VERSION = \"5.16.0\";\n\nfunction endpointsToMethods(octokit, endpointsMap) {\n const newMethods = {};\n\n for (const [scope, endpoints] of Object.entries(endpointsMap)) {\n for (const [methodName, endpoint] of Object.entries(endpoints)) {\n const [route, defaults, decorations] = endpoint;\n const [method, url] = route.split(/ /);\n const endpointDefaults = Object.assign({\n method,\n url\n }, defaults);\n\n if (!newMethods[scope]) {\n newMethods[scope] = {};\n }\n\n const scopeMethods = newMethods[scope];\n\n if (decorations) {\n scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);\n continue;\n }\n\n scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);\n }\n }\n\n return newMethods;\n}\n\nfunction decorate(octokit, scope, methodName, defaults, decorations) {\n const requestWithDefaults = octokit.request.defaults(defaults);\n /* istanbul ignore next */\n\n function withDecorations(...args) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n let options = requestWithDefaults.endpoint.merge(...args); // There are currently no other decorations than `.mapToData`\n\n if (decorations.mapToData) {\n options = Object.assign({}, options, {\n data: options[decorations.mapToData],\n [decorations.mapToData]: undefined\n });\n return requestWithDefaults(options);\n }\n\n if (decorations.renamed) {\n const [newScope, newMethodName] = decorations.renamed;\n octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`);\n }\n\n if (decorations.deprecated) {\n octokit.log.warn(decorations.deprecated);\n }\n\n if (decorations.renamedParameters) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n const options = requestWithDefaults.endpoint.merge(...args);\n\n for (const [name, alias] of Object.entries(decorations.renamedParameters)) {\n if (name in options) {\n octokit.log.warn(`\"${name}\" parameter is deprecated for \"octokit.${scope}.${methodName}()\". Use \"${alias}\" instead`);\n\n if (!(alias in options)) {\n options[alias] = options[name];\n }\n\n delete options[name];\n }\n }\n\n return requestWithDefaults(options);\n } // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n\n\n return requestWithDefaults(...args);\n }\n\n return Object.assign(withDecorations, requestWithDefaults);\n}\n\nfunction restEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, Endpoints);\n return {\n rest: api\n };\n}\nrestEndpointMethods.VERSION = VERSION;\nfunction legacyRestEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, Endpoints);\n return _objectSpread2(_objectSpread2({}, api), {}, {\n rest: api\n });\n}\nlegacyRestEndpointMethods.VERSION = VERSION;\n\nexports.legacyRestEndpointMethods = legacyRestEndpointMethods;\nexports.restEndpointMethods = restEndpointMethods;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar deprecation = require('deprecation');\nvar once = _interopDefault(require('once'));\n\nconst logOnceCode = once(deprecation => console.warn(deprecation));\nconst logOnceHeaders = once(deprecation => console.warn(deprecation));\n/**\n * Error with extra properties to help with debugging\n */\n\nclass RequestError extends Error {\n constructor(message, statusCode, options) {\n super(message); // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n\n this.name = \"HttpError\";\n this.status = statusCode;\n let headers;\n\n if (\"headers\" in options && typeof options.headers !== \"undefined\") {\n headers = options.headers;\n }\n\n if (\"response\" in options) {\n this.response = options.response;\n headers = options.response.headers;\n } // redact request credentials without mutating original request options\n\n\n const requestCopy = Object.assign({}, options.request);\n\n if (options.request.headers.authorization) {\n requestCopy.headers = Object.assign({}, options.request.headers, {\n authorization: options.request.headers.authorization.replace(/ .*$/, \" [REDACTED]\")\n });\n }\n\n requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit\n // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications\n .replace(/\\bclient_secret=\\w+/g, \"client_secret=[REDACTED]\") // OAuth tokens can be passed as URL query parameters, although it is not recommended\n // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header\n .replace(/\\baccess_token=\\w+/g, \"access_token=[REDACTED]\");\n this.request = requestCopy; // deprecations\n\n Object.defineProperty(this, \"code\", {\n get() {\n logOnceCode(new deprecation.Deprecation(\"[@octokit/request-error] `error.code` is deprecated, use `error.status`.\"));\n return statusCode;\n }\n\n });\n Object.defineProperty(this, \"headers\", {\n get() {\n logOnceHeaders(new deprecation.Deprecation(\"[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.\"));\n return headers || {};\n }\n\n });\n }\n\n}\n\nexports.RequestError = RequestError;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar endpoint = require('@octokit/endpoint');\nvar universalUserAgent = require('universal-user-agent');\nvar isPlainObject = require('is-plain-object');\nvar nodeFetch = _interopDefault(require('node-fetch'));\nvar requestError = require('@octokit/request-error');\n\nconst VERSION = \"5.6.3\";\n\nfunction getBufferResponse(response) {\n return response.arrayBuffer();\n}\n\nfunction fetchWrapper(requestOptions) {\n const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console;\n\n if (isPlainObject.isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) {\n requestOptions.body = JSON.stringify(requestOptions.body);\n }\n\n let headers = {};\n let status;\n let url;\n const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch;\n return fetch(requestOptions.url, Object.assign({\n method: requestOptions.method,\n body: requestOptions.body,\n headers: requestOptions.headers,\n redirect: requestOptions.redirect\n }, // `requestOptions.request.agent` type is incompatible\n // see https://github.com/octokit/types.ts/pull/264\n requestOptions.request)).then(async response => {\n url = response.url;\n status = response.status;\n\n for (const keyAndValue of response.headers) {\n headers[keyAndValue[0]] = keyAndValue[1];\n }\n\n if (\"deprecation\" in headers) {\n const matches = headers.link && headers.link.match(/<([^>]+)>; rel=\"deprecation\"/);\n const deprecationLink = matches && matches.pop();\n log.warn(`[@octokit/request] \"${requestOptions.method} ${requestOptions.url}\" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : \"\"}`);\n }\n\n if (status === 204 || status === 205) {\n return;\n } // GitHub API returns 200 for HEAD requests\n\n\n if (requestOptions.method === \"HEAD\") {\n if (status < 400) {\n return;\n }\n\n throw new requestError.RequestError(response.statusText, status, {\n response: {\n url,\n status,\n headers,\n data: undefined\n },\n request: requestOptions\n });\n }\n\n if (status === 304) {\n throw new requestError.RequestError(\"Not modified\", status, {\n response: {\n url,\n status,\n headers,\n data: await getResponseData(response)\n },\n request: requestOptions\n });\n }\n\n if (status >= 400) {\n const data = await getResponseData(response);\n const error = new requestError.RequestError(toErrorMessage(data), status, {\n response: {\n url,\n status,\n headers,\n data\n },\n request: requestOptions\n });\n throw error;\n }\n\n return getResponseData(response);\n }).then(data => {\n return {\n status,\n url,\n headers,\n data\n };\n }).catch(error => {\n if (error instanceof requestError.RequestError) throw error;\n throw new requestError.RequestError(error.message, 500, {\n request: requestOptions\n });\n });\n}\n\nasync function getResponseData(response) {\n const contentType = response.headers.get(\"content-type\");\n\n if (/application\\/json/.test(contentType)) {\n return response.json();\n }\n\n if (!contentType || /^text\\/|charset=utf-8$/.test(contentType)) {\n return response.text();\n }\n\n return getBufferResponse(response);\n}\n\nfunction toErrorMessage(data) {\n if (typeof data === \"string\") return data; // istanbul ignore else - just in case\n\n if (\"message\" in data) {\n if (Array.isArray(data.errors)) {\n return `${data.message}: ${data.errors.map(JSON.stringify).join(\", \")}`;\n }\n\n return data.message;\n } // istanbul ignore next - just in case\n\n\n return `Unknown error: ${JSON.stringify(data)}`;\n}\n\nfunction withDefaults(oldEndpoint, newDefaults) {\n const endpoint = oldEndpoint.defaults(newDefaults);\n\n const newApi = function (route, parameters) {\n const endpointOptions = endpoint.merge(route, parameters);\n\n if (!endpointOptions.request || !endpointOptions.request.hook) {\n return fetchWrapper(endpoint.parse(endpointOptions));\n }\n\n const request = (route, parameters) => {\n return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));\n };\n\n Object.assign(request, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint)\n });\n return endpointOptions.request.hook(request, endpointOptions);\n };\n\n return Object.assign(newApi, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint)\n });\n}\n\nconst request = withDefaults(endpoint.endpoint, {\n headers: {\n \"user-agent\": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}`\n }\n});\n\nexports.request = request;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar core = require('@octokit/core');\nvar pluginRequestLog = require('@octokit/plugin-request-log');\nvar pluginPaginateRest = require('@octokit/plugin-paginate-rest');\nvar pluginRestEndpointMethods = require('@octokit/plugin-rest-endpoint-methods');\n\nconst VERSION = \"18.12.0\";\n\nconst Octokit = core.Octokit.plugin(pluginRequestLog.requestLog, pluginRestEndpointMethods.legacyRestEndpointMethods, pluginPaginateRest.paginateRest).defaults({\n userAgent: `octokit-rest.js/${VERSION}`\n});\n\nexports.Octokit = Octokit;\n//# sourceMappingURL=index.js.map\n","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EventAlgorithm_1 = require(\"./EventAlgorithm\");\n/**\n * Adds an algorithm to the given abort signal.\n *\n * @param algorithm - an algorithm\n * @param signal - abort signal\n */\nfunction abort_add(algorithm, signal) {\n /**\n * 1. If signal’s aborted flag is set, then return.\n * 2. Append algorithm to signal’s abort algorithms.\n */\n if (signal._abortedFlag)\n return;\n signal._abortAlgorithms.add(algorithm);\n}\nexports.abort_add = abort_add;\n/**\n * Removes an algorithm from the given abort signal.\n *\n * @param algorithm - an algorithm\n * @param signal - abort signal\n */\nfunction abort_remove(algorithm, signal) {\n /**\n * To remove an algorithm algorithm from an AbortSignal signal, remove\n * algorithm from signal’s abort algorithms.\n */\n signal._abortAlgorithms.delete(algorithm);\n}\nexports.abort_remove = abort_remove;\n/**\n * Signals abort on the given abort signal.\n *\n * @param signal - abort signal\n */\nfunction abort_signalAbort(signal) {\n var e_1, _a;\n /**\n * 1. If signal’s aborted flag is set, then return.\n * 2. Set signal’s aborted flag.\n * 3. For each algorithm in signal’s abort algorithms: run algorithm.\n * 4. Empty signal’s abort algorithms.\n * 5. Fire an event named abort at signal.\n */\n if (signal._abortedFlag)\n return;\n signal._abortedFlag = true;\n try {\n for (var _b = __values(signal._abortAlgorithms), _c = _b.next(); !_c.done; _c = _b.next()) {\n var algorithm = _c.value;\n algorithm.call(signal);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n signal._abortAlgorithms.clear();\n EventAlgorithm_1.event_fireAnEvent(\"abort\", signal);\n}\nexports.abort_signalAbort = abort_signalAbort;\n//# sourceMappingURL=AbortAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ElementAlgorithm_1 = require(\"./ElementAlgorithm\");\n/**\n * Changes the value of an existing attribute.\n *\n * @param attribute - an attribute node\n * @param value - attribute value\n */\nfunction attr_setAnExistingAttributeValue(attribute, value) {\n /**\n * 1. If attribute’s element is null, then set attribute’s value to value.\n * 2. Otherwise, change attribute from attribute’s element to value.\n */\n if (attribute._element === null) {\n attribute._value = value;\n }\n else {\n ElementAlgorithm_1.element_change(attribute, attribute._element, value);\n }\n}\nexports.attr_setAnExistingAttributeValue = attr_setAnExistingAttributeValue;\n//# sourceMappingURL=AttrAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\n/**\n * Defines the position of a boundary point relative to another.\n *\n * @param bp - a boundary point\n * @param relativeTo - a boundary point to compare to\n */\nfunction boundaryPoint_position(bp, relativeTo) {\n var nodeA = bp[0];\n var offsetA = bp[1];\n var nodeB = relativeTo[0];\n var offsetB = relativeTo[1];\n /**\n * 1. Assert: nodeA and nodeB have the same root.\n */\n console.assert(TreeAlgorithm_1.tree_rootNode(nodeA) === TreeAlgorithm_1.tree_rootNode(nodeB), \"Boundary points must share the same root node.\");\n /**\n * 2. If nodeA is nodeB, then return equal if offsetA is offsetB, before\n * if offsetA is less than offsetB, and after if offsetA is greater than\n * offsetB.\n */\n if (nodeA === nodeB) {\n if (offsetA === offsetB) {\n return interfaces_1.BoundaryPosition.Equal;\n }\n else if (offsetA < offsetB) {\n return interfaces_1.BoundaryPosition.Before;\n }\n else {\n return interfaces_1.BoundaryPosition.After;\n }\n }\n /**\n * 3. If nodeA is following nodeB, then if the position of (nodeB, offsetB)\n * relative to (nodeA, offsetA) is before, return after, and if it is after,\n * return before.\n */\n if (TreeAlgorithm_1.tree_isFollowing(nodeB, nodeA)) {\n var pos = boundaryPoint_position([nodeB, offsetB], [nodeA, offsetA]);\n if (pos === interfaces_1.BoundaryPosition.Before) {\n return interfaces_1.BoundaryPosition.After;\n }\n else if (pos === interfaces_1.BoundaryPosition.After) {\n return interfaces_1.BoundaryPosition.Before;\n }\n }\n /**\n * 4. If nodeA is an ancestor of nodeB:\n */\n if (TreeAlgorithm_1.tree_isAncestorOf(nodeB, nodeA)) {\n /**\n * 4.1. Let child be nodeB.\n * 4.2. While child is not a child of nodeA, set child to its parent.\n * 4.3. If child’s index is less than offsetA, then return after.\n */\n var child = nodeB;\n while (!TreeAlgorithm_1.tree_isChildOf(nodeA, child)) {\n /* istanbul ignore else */\n if (child._parent !== null) {\n child = child._parent;\n }\n }\n if (TreeAlgorithm_1.tree_index(child) < offsetA) {\n return interfaces_1.BoundaryPosition.After;\n }\n }\n /**\n * 5. Return before.\n */\n return interfaces_1.BoundaryPosition.Before;\n}\nexports.boundaryPoint_position = boundaryPoint_position;\n//# sourceMappingURL=BoundaryPointAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar util_1 = require(\"../util\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar MutationObserverAlgorithm_1 = require(\"./MutationObserverAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\n/**\n * Replaces character data.\n *\n * @param node - a character data node\n * @param offset - start offset\n * @param count - count of characters to replace\n * @param data - new data\n */\nfunction characterData_replaceData(node, offset, count, data) {\n var e_1, _a;\n /**\n * 1. Let length be node’s length.\n * 2. If offset is greater than length, then throw an \"IndexSizeError\"\n * DOMException.\n * 3. If offset plus count is greater than length, then set count to length\n * minus offset.\n */\n var length = TreeAlgorithm_1.tree_nodeLength(node);\n if (offset > length) {\n throw new DOMException_1.IndexSizeError(\"Offset exceeds character data length. Offset: \" + offset + \", Length: \" + length + \", Node is \" + node.nodeName + \".\");\n }\n if (offset + count > length) {\n count = length - offset;\n }\n /**\n * 4. Queue a mutation record of \"characterData\" for node with null, null,\n * node’s data, « », « », null, and null.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueMutationRecord(\"characterData\", node, null, null, node._data, [], [], null, null);\n }\n /**\n * 5. Insert data into node’s data after offset code units.\n * 6. Let delete offset be offset + data’s length.\n * 7. Starting from delete offset code units, remove count code units from\n * node’s data.\n */\n var newData = node._data.substring(0, offset) + data +\n node._data.substring(offset + count);\n node._data = newData;\n try {\n /**\n * 8. For each live range whose start node is node and start offset is\n * greater than offset but less than or equal to offset plus count, set its\n * start offset to offset.\n * 9. For each live range whose end node is node and end offset is greater\n * than offset but less than or equal to offset plus count, set its end\n * offset to offset.\n * 10. For each live range whose start node is node and start offset is\n * greater than offset plus count, increase its start offset by data’s\n * length and decrease it by count.\n * 11. For each live range whose end node is node and end offset is greater\n * than offset plus count, increase its end offset by data’s length and\n * decrease it by count.\n */\n for (var _b = __values(DOMImpl_1.dom.rangeList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var range = _c.value;\n if (range._start[0] === node && range._start[1] > offset && range._start[1] <= offset + count) {\n range._start[1] = offset;\n }\n if (range._end[0] === node && range._end[1] > offset && range._end[1] <= offset + count) {\n range._end[1] = offset;\n }\n if (range._start[0] === node && range._start[1] > offset + count) {\n range._start[1] += data.length - count;\n }\n if (range._end[0] === node && range._end[1] > offset + count) {\n range._end[1] += data.length - count;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n /**\n * 12. If node is a Text node and its parent is not null, run the child\n * text content change steps for node’s parent.\n */\n if (DOMImpl_1.dom.features.steps) {\n if (util_1.Guard.isTextNode(node) && node._parent !== null) {\n DOMAlgorithm_1.dom_runChildTextContentChangeSteps(node._parent);\n }\n }\n}\nexports.characterData_replaceData = characterData_replaceData;\n/**\n * Returns `count` number of characters from `node`'s data starting at\n * the given `offset`.\n *\n * @param node - a character data node\n * @param offset - start offset\n * @param count - count of characters to return\n */\nfunction characterData_substringData(node, offset, count) {\n /**\n * 1. Let length be node’s length.\n * 2. If offset is greater than length, then throw an \"IndexSizeError\"\n * DOMException.\n * 3. If offset plus count is greater than length, return a string whose\n * value is the code units from the offsetth code unit to the end of node’s\n * data, and then return.\n * 4. Return a string whose value is the code units from the offsetth code\n * unit to the offset+countth code unit in node’s data.\n */\n var length = TreeAlgorithm_1.tree_nodeLength(node);\n if (offset > length) {\n throw new DOMException_1.IndexSizeError(\"Offset exceeds character data length. Offset: \" + offset + \", Length: \" + length + \", Node is \" + node.nodeName + \".\");\n }\n if (offset + count > length) {\n return node._data.substr(offset);\n }\n else {\n return node._data.substr(offset, count);\n }\n}\nexports.characterData_substringData = characterData_substringData;\n//# sourceMappingURL=CharacterDataAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImplementationImpl_1 = require(\"../dom/DOMImplementationImpl\");\nvar WindowImpl_1 = require(\"../dom/WindowImpl\");\nvar XMLDocumentImpl_1 = require(\"../dom/XMLDocumentImpl\");\nvar DocumentImpl_1 = require(\"../dom/DocumentImpl\");\nvar AbortControllerImpl_1 = require(\"../dom/AbortControllerImpl\");\nvar AbortSignalImpl_1 = require(\"../dom/AbortSignalImpl\");\nvar DocumentTypeImpl_1 = require(\"../dom/DocumentTypeImpl\");\nvar ElementImpl_1 = require(\"../dom/ElementImpl\");\nvar DocumentFragmentImpl_1 = require(\"../dom/DocumentFragmentImpl\");\nvar ShadowRootImpl_1 = require(\"../dom/ShadowRootImpl\");\nvar AttrImpl_1 = require(\"../dom/AttrImpl\");\nvar TextImpl_1 = require(\"../dom/TextImpl\");\nvar CDATASectionImpl_1 = require(\"../dom/CDATASectionImpl\");\nvar CommentImpl_1 = require(\"../dom/CommentImpl\");\nvar ProcessingInstructionImpl_1 = require(\"../dom/ProcessingInstructionImpl\");\nvar HTMLCollectionImpl_1 = require(\"../dom/HTMLCollectionImpl\");\nvar NodeListImpl_1 = require(\"../dom/NodeListImpl\");\nvar NodeListStaticImpl_1 = require(\"../dom/NodeListStaticImpl\");\nvar NamedNodeMapImpl_1 = require(\"../dom/NamedNodeMapImpl\");\nvar RangeImpl_1 = require(\"../dom/RangeImpl\");\nvar NodeIteratorImpl_1 = require(\"../dom/NodeIteratorImpl\");\nvar TreeWalkerImpl_1 = require(\"../dom/TreeWalkerImpl\");\nvar NodeFilterImpl_1 = require(\"../dom/NodeFilterImpl\");\nvar MutationRecordImpl_1 = require(\"../dom/MutationRecordImpl\");\nvar DOMTokenListImpl_1 = require(\"../dom/DOMTokenListImpl\");\n/**\n * Creates a `DOMImplementation`.\n *\n * @param document - associated document\n */\nfunction create_domImplementation(document) {\n return DOMImplementationImpl_1.DOMImplementationImpl._create(document);\n}\nexports.create_domImplementation = create_domImplementation;\n/**\n * Creates a `Window` node.\n */\nfunction create_window() {\n return WindowImpl_1.WindowImpl._create();\n}\nexports.create_window = create_window;\n/**\n * Creates an `XMLDocument` node.\n */\nfunction create_xmlDocument() {\n return new XMLDocumentImpl_1.XMLDocumentImpl();\n}\nexports.create_xmlDocument = create_xmlDocument;\n/**\n * Creates a `Document` node.\n */\nfunction create_document() {\n return new DocumentImpl_1.DocumentImpl();\n}\nexports.create_document = create_document;\n/**\n * Creates an `AbortController`.\n */\nfunction create_abortController() {\n return new AbortControllerImpl_1.AbortControllerImpl();\n}\nexports.create_abortController = create_abortController;\n/**\n * Creates an `AbortSignal`.\n */\nfunction create_abortSignal() {\n return AbortSignalImpl_1.AbortSignalImpl._create();\n}\nexports.create_abortSignal = create_abortSignal;\n/**\n * Creates a `DocumentType` node.\n *\n * @param document - owner document\n * @param name - name of the node\n * @param publicId - `PUBLIC` identifier\n * @param systemId - `SYSTEM` identifier\n */\nfunction create_documentType(document, name, publicId, systemId) {\n return DocumentTypeImpl_1.DocumentTypeImpl._create(document, name, publicId, systemId);\n}\nexports.create_documentType = create_documentType;\n/**\n * Creates a new `Element` node.\n *\n * @param document - owner document\n * @param localName - local name\n * @param namespace - namespace\n * @param prefix - namespace prefix\n */\nfunction create_element(document, localName, namespace, prefix) {\n return ElementImpl_1.ElementImpl._create(document, localName, namespace, prefix);\n}\nexports.create_element = create_element;\n/**\n * Creates a new `HTMLElement` node.\n *\n * @param document - owner document\n * @param localName - local name\n * @param namespace - namespace\n * @param prefix - namespace prefix\n */\nfunction create_htmlElement(document, localName, namespace, prefix) {\n // TODO: Implement in HTML DOM\n return ElementImpl_1.ElementImpl._create(document, localName, namespace, prefix);\n}\nexports.create_htmlElement = create_htmlElement;\n/**\n * Creates a new `HTMLUnknownElement` node.\n *\n * @param document - owner document\n * @param localName - local name\n * @param namespace - namespace\n * @param prefix - namespace prefix\n */\nfunction create_htmlUnknownElement(document, localName, namespace, prefix) {\n // TODO: Implement in HTML DOM\n return ElementImpl_1.ElementImpl._create(document, localName, namespace, prefix);\n}\nexports.create_htmlUnknownElement = create_htmlUnknownElement;\n/**\n * Creates a new `DocumentFragment` node.\n *\n * @param document - owner document\n */\nfunction create_documentFragment(document) {\n return DocumentFragmentImpl_1.DocumentFragmentImpl._create(document);\n}\nexports.create_documentFragment = create_documentFragment;\n/**\n * Creates a new `ShadowRoot` node.\n *\n * @param document - owner document\n * @param host - shadow root's host element node\n */\nfunction create_shadowRoot(document, host) {\n return ShadowRootImpl_1.ShadowRootImpl._create(document, host);\n}\nexports.create_shadowRoot = create_shadowRoot;\n/**\n * Creates a new `Attr` node.\n *\n * @param document - owner document\n * @param localName - local name\n */\nfunction create_attr(document, localName) {\n return AttrImpl_1.AttrImpl._create(document, localName);\n}\nexports.create_attr = create_attr;\n/**\n * Creates a new `Text` node.\n *\n * @param document - owner document\n * @param data - node contents\n */\nfunction create_text(document, data) {\n return TextImpl_1.TextImpl._create(document, data);\n}\nexports.create_text = create_text;\n/**\n * Creates a new `CDATASection` node.\n *\n * @param document - owner document\n * @param data - node contents\n */\nfunction create_cdataSection(document, data) {\n return CDATASectionImpl_1.CDATASectionImpl._create(document, data);\n}\nexports.create_cdataSection = create_cdataSection;\n/**\n * Creates a new `Comment` node.\n *\n * @param document - owner document\n * @param data - node contents\n */\nfunction create_comment(document, data) {\n return CommentImpl_1.CommentImpl._create(document, data);\n}\nexports.create_comment = create_comment;\n/**\n * Creates a new `ProcessingInstruction` node.\n *\n * @param document - owner document\n * @param target - instruction target\n * @param data - node contents\n */\nfunction create_processingInstruction(document, target, data) {\n return ProcessingInstructionImpl_1.ProcessingInstructionImpl._create(document, target, data);\n}\nexports.create_processingInstruction = create_processingInstruction;\n/**\n * Creates a new `HTMLCollection`.\n *\n * @param root - root node\n * @param filter - node filter\n */\nfunction create_htmlCollection(root, filter) {\n if (filter === void 0) { filter = (function () { return true; }); }\n return HTMLCollectionImpl_1.HTMLCollectionImpl._create(root, filter);\n}\nexports.create_htmlCollection = create_htmlCollection;\n/**\n * Creates a new live `NodeList`.\n *\n * @param root - root node\n */\nfunction create_nodeList(root) {\n return NodeListImpl_1.NodeListImpl._create(root);\n}\nexports.create_nodeList = create_nodeList;\n/**\n * Creates a new static `NodeList`.\n *\n * @param root - root node\n * @param items - a list of items to initialize the list\n */\nfunction create_nodeListStatic(root, items) {\n return NodeListStaticImpl_1.NodeListStaticImpl._create(root, items);\n}\nexports.create_nodeListStatic = create_nodeListStatic;\n/**\n * Creates a new `NamedNodeMap`.\n *\n * @param element - parent element\n */\nfunction create_namedNodeMap(element) {\n return NamedNodeMapImpl_1.NamedNodeMapImpl._create(element);\n}\nexports.create_namedNodeMap = create_namedNodeMap;\n/**\n * Creates a new `Range`.\n *\n * @param start - start point\n * @param end - end point\n */\nfunction create_range(start, end) {\n return RangeImpl_1.RangeImpl._create(start, end);\n}\nexports.create_range = create_range;\n/**\n * Creates a new `NodeIterator`.\n *\n * @param root - iterator's root node\n * @param reference - reference node\n * @param pointerBeforeReference - whether the iterator is before or after the\n * reference node\n */\nfunction create_nodeIterator(root, reference, pointerBeforeReference) {\n return NodeIteratorImpl_1.NodeIteratorImpl._create(root, reference, pointerBeforeReference);\n}\nexports.create_nodeIterator = create_nodeIterator;\n/**\n * Creates a new `TreeWalker`.\n *\n * @param root - iterator's root node\n * @param current - current node\n */\nfunction create_treeWalker(root, current) {\n return TreeWalkerImpl_1.TreeWalkerImpl._create(root, current);\n}\nexports.create_treeWalker = create_treeWalker;\n/**\n * Creates a new `NodeFilter`.\n */\nfunction create_nodeFilter() {\n return NodeFilterImpl_1.NodeFilterImpl._create();\n}\nexports.create_nodeFilter = create_nodeFilter;\n/**\n * Creates a new `MutationRecord`.\n *\n * @param type - type of mutation: `\"attributes\"` for an attribute\n * mutation, `\"characterData\"` for a mutation to a CharacterData node\n * and `\"childList\"` for a mutation to the tree of nodes.\n * @param target - node affected by the mutation.\n * @param addedNodes - list of added nodes.\n * @param removedNodes - list of removed nodes.\n * @param previousSibling - previous sibling of added or removed nodes.\n * @param nextSibling - next sibling of added or removed nodes.\n * @param attributeName - local name of the changed attribute,\n * and `null` otherwise.\n * @param attributeNamespace - namespace of the changed attribute,\n * and `null` otherwise.\n * @param oldValue - value before mutation: attribute value for an attribute\n * mutation, node `data` for a mutation to a CharacterData node and `null`\n * for a mutation to the tree of nodes.\n */\nfunction create_mutationRecord(type, target, addedNodes, removedNodes, previousSibling, nextSibling, attributeName, attributeNamespace, oldValue) {\n return MutationRecordImpl_1.MutationRecordImpl._create(type, target, addedNodes, removedNodes, previousSibling, nextSibling, attributeName, attributeNamespace, oldValue);\n}\nexports.create_mutationRecord = create_mutationRecord;\n/**\n * Creates a new `DOMTokenList`.\n *\n * @param element - associated element\n * @param attribute - associated attribute\n */\nfunction create_domTokenList(element, attribute) {\n return DOMTokenListImpl_1.DOMTokenListImpl._create(element, attribute);\n}\nexports.create_domTokenList = create_domTokenList;\n//# sourceMappingURL=CreateAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar PotentialCustomElementName = /[a-z]([\\0-\\t\\x2D\\._a-z\\xB7\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u037D\\u037F-\\u1FFF\\u200C\\u200D\\u203F\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]|[\\uD800-\\uDB7F][\\uDC00-\\uDFFF])*-([\\0-\\t\\x2D\\._a-z\\xB7\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u037D\\u037F-\\u1FFF\\u200C\\u200D\\u203F\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]|[\\uD800-\\uDB7F][\\uDC00-\\uDFFF])*/;\nvar NamesWithHyphen = new Set(['annotation-xml', 'color-profile',\n 'font-face', 'font-face-src', 'font-face-uri', 'font-face-format',\n 'font-face-name', 'missing-glyph']);\nvar ElementNames = new Set(['article', 'aside', 'blockquote',\n 'body', 'div', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6',\n 'header', 'main', 'nav', 'p', 'section', 'span']);\nvar VoidElementNames = new Set(['area', 'base', 'basefont',\n 'bgsound', 'br', 'col', 'embed', 'frame', 'hr', 'img', 'input', 'keygen',\n 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr']);\nvar ShadowHostNames = new Set(['article', 'aside', 'blockquote', 'body',\n 'div', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'main',\n 'nav', 'p', 'section', 'span']);\n/**\n * Determines if the given string is a valid custom element name.\n *\n * @param name - a name string\n */\nfunction customElement_isValidCustomElementName(name) {\n if (!PotentialCustomElementName.test(name))\n return false;\n if (NamesWithHyphen.has(name))\n return false;\n return true;\n}\nexports.customElement_isValidCustomElementName = customElement_isValidCustomElementName;\n/**\n * Determines if the given string is a valid element name.\n *\n * @param name - a name string\n */\nfunction customElement_isValidElementName(name) {\n return (ElementNames.has(name));\n}\nexports.customElement_isValidElementName = customElement_isValidElementName;\n/**\n * Determines if the given string is a void element name.\n *\n * @param name - a name string\n */\nfunction customElement_isVoidElementName(name) {\n return (VoidElementNames.has(name));\n}\nexports.customElement_isVoidElementName = customElement_isVoidElementName;\n/**\n * Determines if the given string is a valid shadow host element name.\n *\n * @param name - a name string\n */\nfunction customElement_isValidShadowHostName(name) {\n return (ShadowHostNames.has(name));\n}\nexports.customElement_isValidShadowHostName = customElement_isValidShadowHostName;\n/**\n * Enqueues an upgrade reaction for a custom element.\n *\n * @param element - a custom element\n * @param definition - a custom element definition\n */\nfunction customElement_enqueueACustomElementUpgradeReaction(element, definition) {\n // TODO: Implement in HTML DOM\n}\nexports.customElement_enqueueACustomElementUpgradeReaction = customElement_enqueueACustomElementUpgradeReaction;\n/**\n * Enqueues a callback reaction for a custom element.\n *\n * @param element - a custom element\n * @param callbackName - name of the callback\n * @param args - callback arguments\n */\nfunction customElement_enqueueACustomElementCallbackReaction(element, callbackName, args) {\n // TODO: Implement in HTML DOM\n}\nexports.customElement_enqueueACustomElementCallbackReaction = customElement_enqueueACustomElementCallbackReaction;\n/**\n * Upgrade a custom element.\n *\n * @param element - a custom element\n */\nfunction customElement_upgrade(definition, element) {\n // TODO: Implement in HTML DOM\n}\nexports.customElement_upgrade = customElement_upgrade;\n/**\n * Tries to upgrade a custom element.\n *\n * @param element - a custom element\n */\nfunction customElement_tryToUpgrade(element) {\n // TODO: Implement in HTML DOM\n}\nexports.customElement_tryToUpgrade = customElement_tryToUpgrade;\n/**\n * Looks up a custom element definition.\n *\n * @param document - a document\n * @param namespace - element namespace\n * @param localName - element local name\n * @param is - an `is` value\n */\nfunction customElement_lookUpACustomElementDefinition(document, namespace, localName, is) {\n // TODO: Implement in HTML DOM\n return null;\n}\nexports.customElement_lookUpACustomElementDefinition = customElement_lookUpACustomElementDefinition;\n//# sourceMappingURL=CustomElementAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar util_1 = require(\"../util\");\nvar ShadowTreeAlgorithm_1 = require(\"./ShadowTreeAlgorithm\");\nvar supportedTokens = new Map();\n/**\n * Runs removing steps for node.\n *\n * @param removedNode - removed node\n * @param oldParent - old parent node\n */\nfunction dom_runRemovingSteps(removedNode, oldParent) {\n // No steps defined\n}\nexports.dom_runRemovingSteps = dom_runRemovingSteps;\n/**\n * Runs cloning steps for node.\n *\n * @param copy - node clone\n * @param node - node\n * @param document - document to own the cloned node\n * @param cloneChildrenFlag - whether child nodes are cloned\n */\nfunction dom_runCloningSteps(copy, node, document, cloneChildrenFlag) {\n // No steps defined\n}\nexports.dom_runCloningSteps = dom_runCloningSteps;\n/**\n * Runs adopting steps for node.\n *\n * @param node - node\n * @param oldDocument - old document\n */\nfunction dom_runAdoptingSteps(node, oldDocument) {\n // No steps defined\n}\nexports.dom_runAdoptingSteps = dom_runAdoptingSteps;\n/**\n * Runs attribute change steps for an element node.\n *\n * @param element - element node owning the attribute\n * @param localName - attribute's local name\n * @param oldValue - attribute's old value\n * @param value - attribute's new value\n * @param namespace - attribute's namespace\n */\nfunction dom_runAttributeChangeSteps(element, localName, oldValue, value, namespace) {\n var e_1, _a;\n // run default steps\n if (DOMImpl_1.dom.features.slots) {\n updateASlotablesName.call(element, element, localName, oldValue, value, namespace);\n updateASlotsName.call(element, element, localName, oldValue, value, namespace);\n }\n updateAnElementID.call(element, element, localName, value, namespace);\n try {\n // run custom steps\n for (var _b = __values(element._attributeChangeSteps), _c = _b.next(); !_c.done; _c = _b.next()) {\n var step = _c.value;\n step.call(element, element, localName, oldValue, value, namespace);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n}\nexports.dom_runAttributeChangeSteps = dom_runAttributeChangeSteps;\n/**\n * Runs insertion steps for a node.\n *\n * @param insertedNode - inserted node\n */\nfunction dom_runInsertionSteps(insertedNode) {\n // No steps defined\n}\nexports.dom_runInsertionSteps = dom_runInsertionSteps;\n/**\n * Runs pre-removing steps for a node iterator and node.\n *\n * @param nodeIterator - a node iterator\n * @param toBeRemoved - node to be removed\n */\nfunction dom_runNodeIteratorPreRemovingSteps(nodeIterator, toBeRemoved) {\n removeNodeIterator.call(nodeIterator, nodeIterator, toBeRemoved);\n}\nexports.dom_runNodeIteratorPreRemovingSteps = dom_runNodeIteratorPreRemovingSteps;\n/**\n * Determines if there are any supported tokens defined for the given\n * attribute name.\n *\n * @param attributeName - an attribute name\n */\nfunction dom_hasSupportedTokens(attributeName) {\n return supportedTokens.has(attributeName);\n}\nexports.dom_hasSupportedTokens = dom_hasSupportedTokens;\n/**\n * Returns the set of supported tokens defined for the given attribute name.\n *\n * @param attributeName - an attribute name\n */\nfunction dom_getSupportedTokens(attributeName) {\n return supportedTokens.get(attributeName) || new Set();\n}\nexports.dom_getSupportedTokens = dom_getSupportedTokens;\n/**\n * Runs event construction steps.\n *\n * @param event - an event\n */\nfunction dom_runEventConstructingSteps(event) {\n // No steps defined\n}\nexports.dom_runEventConstructingSteps = dom_runEventConstructingSteps;\n/**\n * Runs child text content change steps for a parent node.\n *\n * @param parent - parent node with text node child nodes\n */\nfunction dom_runChildTextContentChangeSteps(parent) {\n // No steps defined\n}\nexports.dom_runChildTextContentChangeSteps = dom_runChildTextContentChangeSteps;\n/**\n * Defines pre-removing steps for a node iterator.\n */\nfunction removeNodeIterator(nodeIterator, toBeRemovedNode) {\n /**\n * 1. If toBeRemovedNode is not an inclusive ancestor of nodeIterator’s\n * reference, or toBeRemovedNode is nodeIterator’s root, then return.\n */\n if (toBeRemovedNode === nodeIterator._root ||\n !TreeAlgorithm_1.tree_isAncestorOf(nodeIterator._reference, toBeRemovedNode, true)) {\n return;\n }\n /**\n * 2. If nodeIterator’s pointer before reference is true, then:\n */\n if (nodeIterator._pointerBeforeReference) {\n /**\n * 2.1. Let next be toBeRemovedNode’s first following node that is an\n * inclusive descendant of nodeIterator’s root and is not an inclusive\n * descendant of toBeRemovedNode, and null if there is no such node.\n */\n while (true) {\n var nextNode = TreeAlgorithm_1.tree_getFollowingNode(nodeIterator._root, toBeRemovedNode);\n if (nextNode !== null &&\n TreeAlgorithm_1.tree_isDescendantOf(nodeIterator._root, nextNode, true) &&\n !TreeAlgorithm_1.tree_isDescendantOf(toBeRemovedNode, nextNode, true)) {\n /**\n * 2.2. If next is non-null, then set nodeIterator’s reference to next\n * and return.\n */\n nodeIterator._reference = nextNode;\n return;\n }\n else if (nextNode === null) {\n /**\n * 2.3. Otherwise, set nodeIterator’s pointer before reference to false.\n */\n nodeIterator._pointerBeforeReference = false;\n return;\n }\n }\n }\n /**\n * 3. Set nodeIterator’s reference to toBeRemovedNode’s parent, if\n * toBeRemovedNode’s previous sibling is null, and to the inclusive\n * descendant of toBeRemovedNode’s previous sibling that appears last in\n * tree order otherwise.\n */\n if (toBeRemovedNode._previousSibling === null) {\n if (toBeRemovedNode._parent !== null) {\n nodeIterator._reference = toBeRemovedNode._parent;\n }\n }\n else {\n var referenceNode = toBeRemovedNode._previousSibling;\n var childNode = TreeAlgorithm_1.tree_getFirstDescendantNode(toBeRemovedNode._previousSibling, true, false);\n while (childNode !== null) {\n if (childNode !== null) {\n referenceNode = childNode;\n }\n // loop through to get the last descendant node\n childNode = TreeAlgorithm_1.tree_getNextDescendantNode(toBeRemovedNode._previousSibling, childNode, true, false);\n }\n nodeIterator._reference = referenceNode;\n }\n}\n/**\n * Defines attribute change steps to update a slot’s name.\n */\nfunction updateASlotsName(element, localName, oldValue, value, namespace) {\n /**\n * 1. If element is a slot, localName is name, and namespace is null, then:\n * 1.1. If value is oldValue, then return.\n * 1.2. If value is null and oldValue is the empty string, then return.\n * 1.3. If value is the empty string and oldValue is null, then return.\n * 1.4. If value is null or the empty string, then set element’s name to the\n * empty string.\n * 1.5. Otherwise, set element’s name to value.\n * 1.6. Run assign slotables for a tree with element’s root.\n */\n if (util_1.Guard.isSlot(element) && localName === \"name\" && namespace === null) {\n if (value === oldValue)\n return;\n if (value === null && oldValue === '')\n return;\n if (value === '' && oldValue === null)\n return;\n if ((value === null || value === '')) {\n element._name = '';\n }\n else {\n element._name = value;\n }\n ShadowTreeAlgorithm_1.shadowTree_assignSlotablesForATree(TreeAlgorithm_1.tree_rootNode(element));\n }\n}\n/**\n * Defines attribute change steps to update a slotable’s name.\n */\nfunction updateASlotablesName(element, localName, oldValue, value, namespace) {\n /**\n * 1. If localName is slot and namespace is null, then:\n * 1.1. If value is oldValue, then return.\n * 1.2. If value is null and oldValue is the empty string, then return.\n * 1.3. If value is the empty string and oldValue is null, then return.\n * 1.4. If value is null or the empty string, then set element’s name to\n * the empty string.\n * 1.5. Otherwise, set element’s name to value.\n * 1.6. If element is assigned, then run assign slotables for element’s\n * assigned slot.\n * 1.7. Run assign a slot for element.\n */\n if (util_1.Guard.isSlotable(element) && localName === \"slot\" && namespace === null) {\n if (value === oldValue)\n return;\n if (value === null && oldValue === '')\n return;\n if (value === '' && oldValue === null)\n return;\n if ((value === null || value === '')) {\n element._name = '';\n }\n else {\n element._name = value;\n }\n if (ShadowTreeAlgorithm_1.shadowTree_isAssigned(element)) {\n ShadowTreeAlgorithm_1.shadowTree_assignSlotables(element._assignedSlot);\n }\n ShadowTreeAlgorithm_1.shadowTree_assignASlot(element);\n }\n}\n/**\n * Defines attribute change steps to update an element's ID.\n */\nfunction updateAnElementID(element, localName, value, namespace) {\n /**\n * 1. If localName is id, namespace is null, and value is null or the empty\n * string, then unset element’s ID.\n * 2. Otherwise, if localName is id, namespace is null, then set element’s\n * ID to value.\n */\n if (localName === \"id\" && namespace === null) {\n if (!value)\n element._uniqueIdentifier = undefined;\n else\n element._uniqueIdentifier = value;\n }\n}\n//# sourceMappingURL=DOMAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar OrderedSetAlgorithm_1 = require(\"./OrderedSetAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\nvar ElementAlgorithm_1 = require(\"./ElementAlgorithm\");\n/**\n * Validates a given token against the supported tokens defined for the given\n * token lists' associated attribute.\n *\n * @param tokenList - a token list\n * @param token - a token\n */\nfunction tokenList_validationSteps(tokenList, token) {\n /**\n * 1. If the associated attribute’s local name does not define supported\n * tokens, throw a TypeError.\n * 2. Let lowercase token be a copy of token, in ASCII lowercase.\n * 3. If lowercase token is present in supported tokens, return true.\n * 4. Return false.\n */\n if (!DOMAlgorithm_1.dom_hasSupportedTokens(tokenList._attribute._localName)) {\n throw new TypeError(\"There are no supported tokens defined for attribute name: '\" + tokenList._attribute._localName + \"'.\");\n }\n return DOMAlgorithm_1.dom_getSupportedTokens(tokenList._attribute._localName).has(token.toLowerCase());\n}\nexports.tokenList_validationSteps = tokenList_validationSteps;\n/**\n * Updates the value of the token lists' associated attribute.\n *\n * @param tokenList - a token list\n */\nfunction tokenList_updateSteps(tokenList) {\n /**\n * 1. If the associated element does not have an associated attribute and\n * token set is empty, then return.\n * 2. Set an attribute value for the associated element using associated\n * attribute’s local name and the result of running the ordered set\n * serializer for token set.\n */\n if (!tokenList._element.hasAttribute(tokenList._attribute._localName) &&\n tokenList._tokenSet.size === 0) {\n return;\n }\n ElementAlgorithm_1.element_setAnAttributeValue(tokenList._element, tokenList._attribute._localName, OrderedSetAlgorithm_1.orderedSet_serialize(tokenList._tokenSet));\n}\nexports.tokenList_updateSteps = tokenList_updateSteps;\n/**\n * Gets the value of the token lists' associated attribute.\n *\n * @param tokenList - a token list\n */\nfunction tokenList_serializeSteps(tokenList) {\n /**\n * A DOMTokenList object’s serialize steps are to return the result of\n * running get an attribute value given the associated element and the\n * associated attribute’s local name.\n */\n return ElementAlgorithm_1.element_getAnAttributeValue(tokenList._element, tokenList._attribute._localName);\n}\nexports.tokenList_serializeSteps = tokenList_serializeSteps;\n//# sourceMappingURL=DOMTokenListAlgorithm.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar util_1 = require(\"../util\");\nvar util_2 = require(\"@oozcitak/util\");\nvar ElementImpl_1 = require(\"../dom/ElementImpl\");\nvar CustomElementAlgorithm_1 = require(\"./CustomElementAlgorithm\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar NamespaceAlgorithm_1 = require(\"./NamespaceAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\nvar ElementAlgorithm_1 = require(\"./ElementAlgorithm\");\nvar MutationAlgorithm_1 = require(\"./MutationAlgorithm\");\n/**\n * Returns an element interface for the given name and namespace.\n *\n * @param name - element name\n * @param namespace - namespace\n */\nfunction document_elementInterface(name, namespace) {\n return ElementImpl_1.ElementImpl;\n}\nexports.document_elementInterface = document_elementInterface;\n/**\n * Creates a new element node.\n * See: https://dom.spec.whatwg.org/#internal-createelementns-steps\n *\n * @param document - owner document\n * @param namespace - element namespace\n * @param qualifiedName - qualified name\n * @param options - element options\n */\nfunction document_internalCreateElementNS(document, namespace, qualifiedName, options) {\n /**\n * 1. Let namespace, prefix, and localName be the result of passing\n * namespace and qualifiedName to validate and extract.\n * 2. Let is be null.\n * 3. If options is a dictionary and options’s is is present, then set\n * is to it.\n * 4. Return the result of creating an element given document, localName,\n * namespace, prefix, is, and with the synchronous custom elements flag set.\n */\n var _a = __read(NamespaceAlgorithm_1.namespace_validateAndExtract(namespace, qualifiedName), 3), ns = _a[0], prefix = _a[1], localName = _a[2];\n var is = null;\n if (options !== undefined) {\n if (util_2.isString(options)) {\n is = options;\n }\n else {\n is = options.is;\n }\n }\n return ElementAlgorithm_1.element_createAnElement(document, localName, ns, prefix, is, true);\n}\nexports.document_internalCreateElementNS = document_internalCreateElementNS;\n/**\n * Removes `node` and its subtree from its document and changes\n * its owner document to `document` so that it can be inserted\n * into `document`.\n *\n * @param node - the node to move\n * @param document - document to receive the node and its subtree\n */\nfunction document_adopt(node, document) {\n var e_1, _a;\n // Optimize for common case of inserting a fresh node\n if (node._nodeDocument === document && node._parent === null) {\n return;\n }\n /**\n * 1. Let oldDocument be node’s node document.\n * 2. If node’s parent is not null, remove node from its parent.\n */\n var oldDocument = node._nodeDocument;\n if (node._parent)\n MutationAlgorithm_1.mutation_remove(node, node._parent);\n /**\n * 3. If document is not oldDocument, then:\n */\n if (document !== oldDocument) {\n /**\n * 3.1. For each inclusiveDescendant in node’s shadow-including inclusive\n * descendants:\n */\n var inclusiveDescendant = TreeAlgorithm_1.tree_getFirstDescendantNode(node, true, true);\n while (inclusiveDescendant !== null) {\n /**\n * 3.1.1. Set inclusiveDescendant’s node document to document.\n * 3.1.2. If inclusiveDescendant is an element, then set the node\n * document of each attribute in inclusiveDescendant’s attribute list\n * to document.\n */\n inclusiveDescendant._nodeDocument = document;\n if (util_1.Guard.isElementNode(inclusiveDescendant)) {\n try {\n for (var _b = (e_1 = void 0, __values(inclusiveDescendant._attributeList._asArray())), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n attr._nodeDocument = document;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n /**\n * 3.2. For each inclusiveDescendant in node's shadow-including\n * inclusive descendants that is custom, enqueue a custom\n * element callback reaction with inclusiveDescendant,\n * callback name \"adoptedCallback\", and an argument list\n * containing oldDocument and document.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isElementNode(inclusiveDescendant) &&\n inclusiveDescendant._customElementState === \"custom\") {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(inclusiveDescendant, \"adoptedCallback\", [oldDocument, document]);\n }\n }\n /**\n * 3.3. For each inclusiveDescendant in node’s shadow-including\n * inclusive descendants, in shadow-including tree order, run the\n * adopting steps with inclusiveDescendant and oldDocument.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runAdoptingSteps(inclusiveDescendant, oldDocument);\n }\n inclusiveDescendant = TreeAlgorithm_1.tree_getNextDescendantNode(node, inclusiveDescendant, true, true);\n }\n }\n}\nexports.document_adopt = document_adopt;\n//# sourceMappingURL=DocumentAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar util_1 = require(\"../util\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar CreateAlgorithm_1 = require(\"./CreateAlgorithm\");\nvar CustomElementAlgorithm_1 = require(\"./CustomElementAlgorithm\");\nvar MutationObserverAlgorithm_1 = require(\"./MutationObserverAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\nvar MutationAlgorithm_1 = require(\"./MutationAlgorithm\");\nvar DocumentAlgorithm_1 = require(\"./DocumentAlgorithm\");\n/**\n * Determines whether the element's attribute list contains the given\n * attribute.\n *\n * @param attribute - an attribute node\n * @param element - an element node\n */\nfunction element_has(attribute, element) {\n /**\n * An element has an attribute A if its attribute list contains A.\n */\n return element._attributeList._asArray().indexOf(attribute) !== -1;\n}\nexports.element_has = element_has;\n/**\n * Changes the value of an attribute node.\n *\n * @param attribute - an attribute node\n * @param element - an element node\n * @param value - attribute value\n */\nfunction element_change(attribute, element, value) {\n /**\n * 1. Queue an attribute mutation record for element with attribute’s\n * local name, attribute’s namespace, and attribute’s value.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueAttributeMutationRecord(element, attribute._localName, attribute._namespace, attribute._value);\n }\n /**\n * 2. If element is custom, then enqueue a custom element callback reaction\n * with element, callback name \"attributeChangedCallback\", and an argument\n * list containing attribute’s local name, attribute’s value, value, and\n * attribute’s namespace.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isCustomElementNode(element)) {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(element, \"attributeChangedCallback\", [attribute._localName, attribute._value, value, attribute._namespace]);\n }\n }\n /**\n * 3. Run the attribute change steps with element, attribute’s local name,\n * attribute’s value, value, and attribute’s namespace.\n * 4. Set attribute’s value to value.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runAttributeChangeSteps(element, attribute._localName, attribute._value, value, attribute._namespace);\n }\n attribute._value = value;\n}\nexports.element_change = element_change;\n/**\n * Appends an attribute to an element node.\n *\n * @param attribute - an attribute\n * @param element - an element to receive the attribute\n */\nfunction element_append(attribute, element) {\n /**\n * 1. Queue an attribute mutation record for element with attribute’s\n * local name, attribute’s namespace, and null.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueAttributeMutationRecord(element, attribute._localName, attribute._namespace, null);\n }\n /**\n * 2. If element is custom, then enqueue a custom element callback reaction\n * with element, callback name \"attributeChangedCallback\", and an argument\n * list containing attribute’s local name, null, attribute’s value, and\n * attribute’s namespace.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isCustomElementNode(element)) {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(element, \"attributeChangedCallback\", [attribute._localName, null, attribute._value, attribute._namespace]);\n }\n }\n /**\n * 3. Run the attribute change steps with element, attribute’s local name,\n * null, attribute’s value, and attribute’s namespace.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runAttributeChangeSteps(element, attribute._localName, null, attribute._value, attribute._namespace);\n }\n /**\n * 4. Append attribute to element’s attribute list.\n * 5. Set attribute’s element to element.\n */\n element._attributeList._asArray().push(attribute);\n attribute._element = element;\n // mark that the document has namespaces\n if (!element._nodeDocument._hasNamespaces && (attribute._namespace !== null ||\n attribute._namespacePrefix !== null || attribute._localName === \"xmlns\")) {\n element._nodeDocument._hasNamespaces = true;\n }\n}\nexports.element_append = element_append;\n/**\n * Removes an attribute from an element node.\n *\n * @param attribute - an attribute\n * @param element - an element to receive the attribute\n */\nfunction element_remove(attribute, element) {\n /**\n * 1. Queue an attribute mutation record for element with attribute’s\n * local name, attribute’s namespace, and attribute’s value.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueAttributeMutationRecord(element, attribute._localName, attribute._namespace, attribute._value);\n }\n /**\n * 2. If element is custom, then enqueue a custom element callback reaction\n * with element, callback name \"attributeChangedCallback\", and an argument\n * list containing attribute’s local name, attribute’s value, null,\n * and attribute’s namespace.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isCustomElementNode(element)) {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(element, \"attributeChangedCallback\", [attribute._localName, attribute._value, null, attribute._namespace]);\n }\n }\n /**\n * 3. Run the attribute change steps with element, attribute’s local name,\n * attribute’s value, null, and attribute’s namespace.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runAttributeChangeSteps(element, attribute._localName, attribute._value, null, attribute._namespace);\n }\n /**\n * 3. Remove attribute from element’s attribute list.\n * 5. Set attribute’s element to null.\n */\n var index = element._attributeList._asArray().indexOf(attribute);\n element._attributeList._asArray().splice(index, 1);\n attribute._element = null;\n}\nexports.element_remove = element_remove;\n/**\n * Replaces an attribute with another of an element node.\n *\n * @param oldAttr - old attribute\n * @param newAttr - new attribute\n * @param element - an element to receive the attribute\n */\nfunction element_replace(oldAttr, newAttr, element) {\n /**\n * 1. Queue an attribute mutation record for element with oldAttr’s\n * local name, oldAttr’s namespace, and oldAttr’s value.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueAttributeMutationRecord(element, oldAttr._localName, oldAttr._namespace, oldAttr._value);\n }\n /**\n * 2. If element is custom, then enqueue a custom element callback reaction\n * with element, callback name \"attributeChangedCallback\", and an argument\n * list containing oldAttr’s local name, oldAttr’s value, newAttr’s value,\n * and oldAttr’s namespace.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isCustomElementNode(element)) {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(element, \"attributeChangedCallback\", [oldAttr._localName, oldAttr._value, newAttr._value, oldAttr._namespace]);\n }\n }\n /**\n * 3. Run the attribute change steps with element, oldAttr’s local name,\n * oldAttr’s value, newAttr’s value, and oldAttr’s namespace.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runAttributeChangeSteps(element, oldAttr._localName, oldAttr._value, newAttr._value, oldAttr._namespace);\n }\n /**\n * 4. Replace oldAttr by newAttr in element’s attribute list.\n * 5. Set oldAttr’s element to null.\n * 6. Set newAttr’s element to element.\n */\n var index = element._attributeList._asArray().indexOf(oldAttr);\n if (index !== -1) {\n element._attributeList._asArray()[index] = newAttr;\n }\n oldAttr._element = null;\n newAttr._element = element;\n // mark that the document has namespaces\n if (!element._nodeDocument._hasNamespaces && (newAttr._namespace !== null ||\n newAttr._namespacePrefix !== null || newAttr._localName === \"xmlns\")) {\n element._nodeDocument._hasNamespaces = true;\n }\n}\nexports.element_replace = element_replace;\n/**\n * Retrieves an attribute with the given name from an element node.\n *\n * @param qualifiedName - an attribute name\n * @param element - an element to receive the attribute\n */\nfunction element_getAnAttributeByName(qualifiedName, element) {\n /**\n * 1. If element is in the HTML namespace and its node document is an HTML\n * document, then set qualifiedName to qualifiedName in ASCII lowercase.\n * 2. Return the first attribute in element’s attribute list whose qualified\n * name is qualifiedName, and null otherwise.\n */\n if (element._namespace === infra_1.namespace.HTML && element._nodeDocument._type === \"html\") {\n qualifiedName = qualifiedName.toLowerCase();\n }\n return element._attributeList._asArray().find(function (attr) { return attr._qualifiedName === qualifiedName; }) || null;\n}\nexports.element_getAnAttributeByName = element_getAnAttributeByName;\n/**\n * Retrieves an attribute with the given namespace and local name from an\n * element node.\n *\n * @param namespace - an attribute namespace\n * @param localName - an attribute local name\n * @param element - an element to receive the attribute\n */\nfunction element_getAnAttributeByNamespaceAndLocalName(namespace, localName, element) {\n /**\n * 1. If namespace is the empty string, set it to null.\n * 2. Return the attribute in element’s attribute list whose namespace is\n * namespace and local name is localName, if any, and null otherwise.\n */\n var ns = namespace || null;\n return element._attributeList._asArray().find(function (attr) { return attr._namespace === ns && attr._localName === localName; }) || null;\n}\nexports.element_getAnAttributeByNamespaceAndLocalName = element_getAnAttributeByNamespaceAndLocalName;\n/**\n * Retrieves an attribute's value with the given name namespace and local\n * name from an element node.\n *\n * @param element - an element to receive the attribute\n * @param localName - an attribute local name\n * @param namespace - an attribute namespace\n */\nfunction element_getAnAttributeValue(element, localName, namespace) {\n if (namespace === void 0) { namespace = ''; }\n /**\n * 1. Let attr be the result of getting an attribute given namespace,\n * localName, and element.\n * 2. If attr is null, then return the empty string.\n * 3. Return attr’s value.\n */\n var attr = element_getAnAttributeByNamespaceAndLocalName(namespace, localName, element);\n if (attr === null)\n return '';\n else\n return attr._value;\n}\nexports.element_getAnAttributeValue = element_getAnAttributeValue;\n/**\n * Sets an attribute of an element node.\n *\n * @param attr - an attribute\n * @param element - an element to receive the attribute\n */\nfunction element_setAnAttribute(attr, element) {\n /**\n * 1. If attr’s element is neither null nor element, throw an\n * \"InUseAttributeError\" DOMException.\n * 2. Let oldAttr be the result of getting an attribute given attr’s\n * namespace, attr’s local name, and element.\n * 3. If oldAttr is attr, return attr.\n * 4. If oldAttr is non-null, replace it by attr in element.\n * 5. Otherwise, append attr to element.\n * 6. Return oldAttr.\n */\n if (attr._element !== null && attr._element !== element)\n throw new DOMException_1.InUseAttributeError(\"This attribute already exists in the document: \" + attr._qualifiedName + \" as a child of \" + attr._element._qualifiedName + \".\");\n var oldAttr = element_getAnAttributeByNamespaceAndLocalName(attr._namespace || '', attr._localName, element);\n if (oldAttr === attr)\n return attr;\n if (oldAttr !== null) {\n element_replace(oldAttr, attr, element);\n }\n else {\n element_append(attr, element);\n }\n return oldAttr;\n}\nexports.element_setAnAttribute = element_setAnAttribute;\n/**\n * Sets an attribute's value of an element node.\n *\n * @param element - an element to receive the attribute\n * @param localName - an attribute local name\n * @param value - an attribute value\n * @param prefix - an attribute prefix\n * @param namespace - an attribute namespace\n */\nfunction element_setAnAttributeValue(element, localName, value, prefix, namespace) {\n if (prefix === void 0) { prefix = null; }\n if (namespace === void 0) { namespace = null; }\n /**\n * 1. If prefix is not given, set it to null.\n * 2. If namespace is not given, set it to null.\n * 3. Let attribute be the result of getting an attribute given namespace,\n * localName, and element.\n * 4. If attribute is null, create an attribute whose namespace is\n * namespace, namespace prefix is prefix, local name is localName, value\n * is value, and node document is element’s node document, then append this\n * attribute to element, and then return.\n * 5. Change attribute from element to value.\n */\n var attribute = element_getAnAttributeByNamespaceAndLocalName(namespace || '', localName, element);\n if (attribute === null) {\n var newAttr = CreateAlgorithm_1.create_attr(element._nodeDocument, localName);\n newAttr._namespace = namespace;\n newAttr._namespacePrefix = prefix;\n newAttr._value = value;\n element_append(newAttr, element);\n return;\n }\n element_change(attribute, element, value);\n}\nexports.element_setAnAttributeValue = element_setAnAttributeValue;\n/**\n * Removes an attribute with the given name from an element node.\n *\n * @param qualifiedName - an attribute name\n * @param element - an element to receive the attribute\n */\nfunction element_removeAnAttributeByName(qualifiedName, element) {\n /**\n * 1. Let attr be the result of getting an attribute given qualifiedName\n * and element.\n * 2. If attr is non-null, remove it from element.\n * 3. Return attr.\n */\n var attr = element_getAnAttributeByName(qualifiedName, element);\n if (attr !== null) {\n element_remove(attr, element);\n }\n return attr;\n}\nexports.element_removeAnAttributeByName = element_removeAnAttributeByName;\n/**\n * Removes an attribute with the given namespace and local name from an\n * element node.\n *\n * @param namespace - an attribute namespace\n * @param localName - an attribute local name\n * @param element - an element to receive the attribute\n */\nfunction element_removeAnAttributeByNamespaceAndLocalName(namespace, localName, element) {\n /**\n * 1. Let attr be the result of getting an attribute given namespace, localName, and element.\n * 2. If attr is non-null, remove it from element.\n * 3. Return attr.\n */\n var attr = element_getAnAttributeByNamespaceAndLocalName(namespace, localName, element);\n if (attr !== null) {\n element_remove(attr, element);\n }\n return attr;\n}\nexports.element_removeAnAttributeByNamespaceAndLocalName = element_removeAnAttributeByNamespaceAndLocalName;\n/**\n * Creates an element node.\n * See: https://dom.spec.whatwg.org/#concept-create-element.\n *\n * @param document - the document owning the element\n * @param localName - local name\n * @param namespace - element namespace\n * @param prefix - namespace prefix\n * @param is - the \"is\" value\n * @param synchronousCustomElementsFlag - synchronous custom elements flag\n */\nfunction element_createAnElement(document, localName, namespace, prefix, is, synchronousCustomElementsFlag) {\n if (prefix === void 0) { prefix = null; }\n if (is === void 0) { is = null; }\n if (synchronousCustomElementsFlag === void 0) { synchronousCustomElementsFlag = false; }\n /**\n * 1. If prefix was not given, let prefix be null.\n * 2. If is was not given, let is be null.\n * 3. Let result be null.\n */\n var result = null;\n if (!DOMImpl_1.dom.features.customElements) {\n result = CreateAlgorithm_1.create_element(document, localName, namespace, prefix);\n result._customElementState = \"uncustomized\";\n result._customElementDefinition = null;\n result._is = is;\n return result;\n }\n /**\n * 4. Let definition be the result of looking up a custom element definition\n * given document, namespace, localName, and is.\n */\n var definition = CustomElementAlgorithm_1.customElement_lookUpACustomElementDefinition(document, namespace, localName, is);\n if (definition !== null && definition.name !== definition.localName) {\n /**\n * 5. If definition is non-null, and definition’s name is not equal to\n * its local name (i.e., definition represents a customized built-in\n * element), then:\n * 5.1. Let interface be the element interface for localName and the HTML\n * namespace.\n * 5.2. Set result to a new element that implements interface, with no\n * attributes, namespace set to the HTML namespace, namespace prefix\n * set to prefix, local name set to localName, custom element state set\n * to \"undefined\", custom element definition set to null, is value set\n * to is, and node document set to document.\n * 5.3. If the synchronous custom elements flag is set, upgrade element\n * using definition.\n * 5.4. Otherwise, enqueue a custom element upgrade reaction given result\n * and definition.\n */\n var elemenInterface = DocumentAlgorithm_1.document_elementInterface(localName, infra_1.namespace.HTML);\n result = new elemenInterface();\n result._localName = localName;\n result._namespace = infra_1.namespace.HTML;\n result._namespacePrefix = prefix;\n result._customElementState = \"undefined\";\n result._customElementDefinition = null;\n result._is = is;\n result._nodeDocument = document;\n if (synchronousCustomElementsFlag) {\n CustomElementAlgorithm_1.customElement_upgrade(definition, result);\n }\n else {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementUpgradeReaction(result, definition);\n }\n }\n else if (definition !== null) {\n /**\n * 6. Otherwise, if definition is non-null, then:\n */\n if (synchronousCustomElementsFlag) {\n /**\n * 6.1. If the synchronous custom elements flag is set, then run these\n * steps while catching any exceptions:\n */\n try {\n /**\n * 6.1.1. Let C be definition’s constructor.\n * 6.1.2. Set result to the result of constructing C, with no arguments.\n * 6.1.3. Assert: result’s custom element state and custom element definition\n * are initialized.\n * 6.1.4. Assert: result’s namespace is the HTML namespace.\n * _Note:_ IDL enforces that result is an HTMLElement object, which all\n * use the HTML namespace.\n */\n var C = definition.constructor;\n var result_1 = new C();\n console.assert(result_1._customElementState !== undefined);\n console.assert(result_1._customElementDefinition !== undefined);\n console.assert(result_1._namespace === infra_1.namespace.HTML);\n /**\n * 6.1.5. If result’s attribute list is not empty, then throw a\n * \"NotSupportedError\" DOMException.\n * 6.1.6. If result has children, then throw a \"NotSupportedError\"\n * DOMException.\n * 6.1.7. If result’s parent is not null, then throw a\n * \"NotSupportedError\" DOMException.\n * 6.1.8. If result’s node document is not document, then throw a\n * \"NotSupportedError\" DOMException.\n * 6.1.9. If result’s local name is not equal to localName, then throw\n * a \"NotSupportedError\" DOMException.\n */\n if (result_1._attributeList.length !== 0)\n throw new DOMException_1.NotSupportedError(\"Custom element already has attributes.\");\n if (result_1._children.size !== 0)\n throw new DOMException_1.NotSupportedError(\"Custom element already has child nodes.\");\n if (result_1._parent !== null)\n throw new DOMException_1.NotSupportedError(\"Custom element already has a parent node.\");\n if (result_1._nodeDocument !== document)\n throw new DOMException_1.NotSupportedError(\"Custom element is already in a document.\");\n if (result_1._localName !== localName)\n throw new DOMException_1.NotSupportedError(\"Custom element has a different local name.\");\n /**\n * 6.1.10. Set result’s namespace prefix to prefix.\n * 6.1.11. Set result’s is value to null.\n */\n result_1._namespacePrefix = prefix;\n result_1._is = null;\n }\n catch (e) {\n /**\n * If any of these steps threw an exception, then:\n * - Report the exception.\n * - Set result to a new element that implements the HTMLUnknownElement\n * interface, with no attributes, namespace set to the HTML namespace,\n * namespace prefix set to prefix, local name set to localName, custom\n * element state set to \"failed\", custom element definition set to null,\n * is value set to null, and node document set to document.\n */\n // TODO: Report the exception\n result = CreateAlgorithm_1.create_htmlUnknownElement(document, localName, infra_1.namespace.HTML, prefix);\n result._customElementState = \"failed\";\n result._customElementDefinition = null;\n result._is = null;\n }\n }\n else {\n /**\n * 6.2. Otherwise:\n * 6.2.1. Set result to a new element that implements the HTMLElement\n * interface, with no attributes, namespace set to the HTML namespace,\n * namespace prefix set to prefix, local name set to localName, custom\n * element state set to \"undefined\", custom element definition set to\n * null, is value set to null, and node document set to document.\n * 6.2.2. Enqueue a custom element upgrade reaction given result and\n * definition.\n */\n result = CreateAlgorithm_1.create_htmlElement(document, localName, infra_1.namespace.HTML, prefix);\n result._customElementState = \"undefined\";\n result._customElementDefinition = null;\n result._is = null;\n CustomElementAlgorithm_1.customElement_enqueueACustomElementUpgradeReaction(result, definition);\n }\n }\n else {\n /**\n * 7. Otherwise:\n * 7.1. Let interface be the element interface for localName and\n * namespace.\n * 7.2. Set result to a new element that implements interface, with no\n * attributes, namespace set to namespace, namespace prefix set to prefix,\n * local name set to localName, custom element state set to\n * \"uncustomized\", custom element definition set to null, is value set to\n * is, and node document set to document.\n */\n var elementInterface = DocumentAlgorithm_1.document_elementInterface(localName, namespace);\n result = new elementInterface();\n result._localName = localName;\n result._namespace = namespace;\n result._namespacePrefix = prefix;\n result._customElementState = \"uncustomized\";\n result._customElementDefinition = null;\n result._is = is;\n result._nodeDocument = document;\n /**\n * 7.3. If namespace is the HTML namespace, and either localName is a\n * valid custom element name or is is non-null, then set result’s\n * custom element state to \"undefined\".\n */\n if (namespace === infra_1.namespace.HTML && (is !== null ||\n CustomElementAlgorithm_1.customElement_isValidCustomElementName(localName))) {\n result._customElementState = \"undefined\";\n }\n }\n /* istanbul ignore next */\n if (result === null) {\n throw new Error(\"Unable to create element.\");\n }\n /**\n * 8. Returns result\n */\n return result;\n}\nexports.element_createAnElement = element_createAnElement;\n/**\n * Inserts a new node adjacent to this element.\n *\n * @param element - a reference element\n * @param where - a string defining where to insert the element node.\n * - `beforebegin` before this element itself.\n * - `afterbegin` before the first child.\n * - `beforeend` after the last child.\n * - `afterend` after this element itself.\n * @param node - node to insert\n */\nfunction element_insertAdjacent(element, where, node) {\n /**\n * - \"beforebegin\"\n * If element’s parent is null, return null.\n * Return the result of pre-inserting node into element’s parent before\n * element.\n * - \"afterbegin\"\n * Return the result of pre-inserting node into element before element’s\n * first child.\n * - \"beforeend\"\n * Return the result of pre-inserting node into element before null.\n * - \"afterend\"\n * If element’s parent is null, return null.\n * Return the result of pre-inserting node into element’s parent before element’s next sibling.\n * - Otherwise\n * Throw a \"SyntaxError\" DOMException.\n */\n switch (where.toLowerCase()) {\n case 'beforebegin':\n if (element._parent === null)\n return null;\n return MutationAlgorithm_1.mutation_preInsert(node, element._parent, element);\n case 'afterbegin':\n return MutationAlgorithm_1.mutation_preInsert(node, element, element._firstChild);\n case 'beforeend':\n return MutationAlgorithm_1.mutation_preInsert(node, element, null);\n case 'afterend':\n if (element._parent === null)\n return null;\n return MutationAlgorithm_1.mutation_preInsert(node, element._parent, element._nextSibling);\n default:\n throw new DOMException_1.SyntaxError(\"Invalid 'where' argument. \\\"beforebegin\\\", \\\"afterbegin\\\", \\\"beforeend\\\" or \\\"afterend\\\" expected\");\n }\n}\nexports.element_insertAdjacent = element_insertAdjacent;\n//# sourceMappingURL=ElementAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar util_1 = require(\"../util\");\nvar CustomEventImpl_1 = require(\"../dom/CustomEventImpl\");\nvar EventImpl_1 = require(\"../dom/EventImpl\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar ShadowTreeAlgorithm_1 = require(\"./ShadowTreeAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\n/**\n * Sets the canceled flag of an event.\n *\n * @param event - an event\n */\nfunction event_setTheCanceledFlag(event) {\n if (event._cancelable && !event._inPassiveListenerFlag) {\n event._canceledFlag = true;\n }\n}\nexports.event_setTheCanceledFlag = event_setTheCanceledFlag;\n/**\n * Initializes the value of an event.\n *\n * @param event - an event to initialize\n * @param type - the type of event\n * @param bubbles - whether the event propagates in reverse\n * @param cancelable - whether the event can be cancelled\n */\nfunction event_initialize(event, type, bubbles, cancelable) {\n event._initializedFlag = true;\n event._stopPropagationFlag = false;\n event._stopImmediatePropagationFlag = false;\n event._canceledFlag = false;\n event._isTrusted = false;\n event._target = null;\n event._type = type;\n event._bubbles = bubbles;\n event._cancelable = cancelable;\n}\nexports.event_initialize = event_initialize;\n/**\n * Creates a new event.\n *\n * @param eventInterface - event interface\n * @param realm - realm\n */\nfunction event_createAnEvent(eventInterface, realm) {\n if (realm === void 0) { realm = undefined; }\n /**\n * 1. If realm is not given, then set it to null.\n * 2. Let dictionary be the result of converting the JavaScript value\n * undefined to the dictionary type accepted by eventInterface’s\n * constructor. (This dictionary type will either be EventInit or a\n * dictionary that inherits from it.)\n * 3. Let event be the result of running the inner event creation steps with\n * eventInterface, realm, the time of the occurrence that the event is\n * signaling, and dictionary.\n * 4. Initialize event’s isTrusted attribute to true.\n * 5. Return event.\n */\n if (realm === undefined)\n realm = null;\n var dictionary = {};\n var event = event_innerEventCreationSteps(eventInterface, realm, new Date(), dictionary);\n event._isTrusted = true;\n return event;\n}\nexports.event_createAnEvent = event_createAnEvent;\n/**\n * Performs event creation steps.\n *\n * @param eventInterface - event interface\n * @param realm - realm\n * @param time - time of occurrance\n * @param dictionary - event attributes\n *\n */\nfunction event_innerEventCreationSteps(eventInterface, realm, time, dictionary) {\n /**\n * 1. Let event be the result of creating a new object using eventInterface.\n * TODO: Implement realms\n * If realm is non-null, then use that Realm; otherwise, use the default\n * behavior defined in Web IDL.\n */\n var event = new eventInterface(\"\");\n /**\n * 2. Set event’s initialized flag.\n * 3. Initialize event’s timeStamp attribute to a DOMHighResTimeStamp\n * representing the high resolution time from the time origin to time.\n * 4. For each member → value in dictionary, if event has an attribute\n * whose identifier is member, then initialize that attribute to value.\n * 5. Run the event constructing steps with event.\n * 6. Return event.\n */\n event._initializedFlag = true;\n event._timeStamp = time.getTime();\n Object.assign(event, dictionary);\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runEventConstructingSteps(event);\n }\n return event;\n}\nexports.event_innerEventCreationSteps = event_innerEventCreationSteps;\n/**\n * Dispatches an event to an event target.\n *\n * @param event - the event to dispatch\n * @param target - event target\n * @param legacyTargetOverrideFlag - legacy target override flag\n * @param legacyOutputDidListenersThrowFlag - legacy output flag that returns\n * whether the event listener's callback threw an exception\n */\nfunction event_dispatch(event, target, legacyTargetOverrideFlag, legacyOutputDidListenersThrowFlag) {\n var e_1, _a, e_2, _b;\n if (legacyTargetOverrideFlag === void 0) { legacyTargetOverrideFlag = false; }\n if (legacyOutputDidListenersThrowFlag === void 0) { legacyOutputDidListenersThrowFlag = { value: false }; }\n var clearTargets = false;\n /**\n * 1. Set event's dispatch flag.\n */\n event._dispatchFlag = true;\n /**\n * 2. Let targetOverride be target, if legacy target override flag is not\n * given, and target's associated Document otherwise.\n *\n * _Note:_ legacy target override flag is only used by HTML and only when\n * target is a Window object.\n */\n var targetOverride = target;\n if (legacyTargetOverrideFlag) {\n var doc = target._associatedDocument;\n if (util_1.Guard.isDocumentNode(doc)) {\n targetOverride = doc;\n }\n }\n /**\n * 3. Let activationTarget be null.\n * 4. Let relatedTarget be the result of retargeting event's relatedTarget\n * against target.\n * 5. If target is not relatedTarget or target is event's relatedTarget,\n * then:\n */\n var activationTarget = null;\n var relatedTarget = TreeAlgorithm_1.tree_retarget(event._relatedTarget, target);\n if (target !== relatedTarget || target === event._relatedTarget) {\n /**\n * 5.1. Let touchTargets be a new list.\n * 5.2. For each touchTarget of event's touch target list, append the\n * result of retargeting touchTarget against target to touchTargets.\n * 5.3. Append to an event path with event, target, targetOverride,\n * relatedTarget, touchTargets, and false.\n * 5.4. Let isActivationEvent be true, if event is a MouseEvent object\n * and event's type attribute is \"click\", and false otherwise.\n * 5.5. If isActivationEvent is true and target has activation behavior,\n * then set activationTarget to target.\n * 5.6. Let slotable be target, if target is a slotable and is assigned,\n * and null otherwise.\n * 5.7. Let slot-in-closed-tree be false.\n * 5.8. Let parent be the result of invoking target's get the parent with\n * event.\n */\n var touchTargets = [];\n try {\n for (var _c = __values(event._touchTargetList), _d = _c.next(); !_d.done; _d = _c.next()) {\n var touchTarget = _d.value;\n touchTargets.push(TreeAlgorithm_1.tree_retarget(touchTarget, target));\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_1) throw e_1.error; }\n }\n event_appendToAnEventPath(event, target, targetOverride, relatedTarget, touchTargets, false);\n var isActivationEvent = (util_1.Guard.isMouseEvent(event) && event._type === \"click\");\n if (isActivationEvent && target._activationBehavior !== undefined) {\n activationTarget = target;\n }\n var slotable = (util_1.Guard.isSlotable(target) && ShadowTreeAlgorithm_1.shadowTree_isAssigned(target)) ?\n target : null;\n var slotInClosedTree = false;\n var parent = target._getTheParent(event);\n /**\n * 5.9. While parent is non-null:\n */\n while (parent !== null && util_1.Guard.isNode(parent)) {\n /**\n * 5.9.1 If slotable is non-null:\n * 5.9.1.1. Assert: parent is a slot.\n * 5.9.1.2. Set slotable to null.\n * 5.9.1.3. If parent's root is a shadow root whose mode is \"closed\",\n * then set slot-in-closed-tree to true.\n */\n if (slotable !== null) {\n if (!util_1.Guard.isSlot(parent)) {\n throw new Error(\"Parent node of a slotable should be a slot.\");\n }\n slotable = null;\n var root = TreeAlgorithm_1.tree_rootNode(parent, true);\n if (util_1.Guard.isShadowRoot(root) && root._mode === \"closed\") {\n slotInClosedTree = true;\n }\n }\n /**\n * 5.9.2 If parent is a slotable and is assigned, then set slotable to\n * parent.\n * 5.9.3. Let relatedTarget be the result of retargeting event's\n * relatedTarget against parent.\n * 5.9.4. Let touchTargets be a new list.\n * 5.9.4. For each touchTarget of event's touch target list, append the\n * result of retargeting touchTarget against parent to touchTargets.\n */\n if (util_1.Guard.isSlotable(parent) && ShadowTreeAlgorithm_1.shadowTree_isAssigned(parent)) {\n slotable = parent;\n }\n relatedTarget = TreeAlgorithm_1.tree_retarget(event._relatedTarget, parent);\n touchTargets = [];\n try {\n for (var _e = (e_2 = void 0, __values(event._touchTargetList)), _f = _e.next(); !_f.done; _f = _e.next()) {\n var touchTarget = _f.value;\n touchTargets.push(TreeAlgorithm_1.tree_retarget(touchTarget, parent));\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_b = _e.return)) _b.call(_e);\n }\n finally { if (e_2) throw e_2.error; }\n }\n /**\n * 5.9.6. If parent is a Window object, or parent is a node and target's\n * root is a shadow-including inclusive ancestor of parent, then:\n */\n if (util_1.Guard.isWindow(parent) || (util_1.Guard.isNode(parent) && util_1.Guard.isNode(target) &&\n TreeAlgorithm_1.tree_isAncestorOf(TreeAlgorithm_1.tree_rootNode(target, true), parent, true, true))) {\n /**\n * 5.9.6.1. If isActivationEvent is true, event's bubbles attribute\n * is true, activationTarget is null, and parent has activation\n * behavior, then set activationTarget to parent.\n * 5.9.6.2. Append to an event path with event, parent, null,\n * relatedTarget, touchTargets, and slot-in-closed-tree.\n */\n if (isActivationEvent && event._bubbles && activationTarget === null &&\n parent._activationBehavior) {\n activationTarget = parent;\n }\n event_appendToAnEventPath(event, parent, null, relatedTarget, touchTargets, slotInClosedTree);\n }\n else if (parent === relatedTarget) {\n /**\n * 5.9.7. Otherwise, if parent is relatedTarget,\n * then set parent to null.\n */\n parent = null;\n }\n else {\n /**\n * 5.9.8. Otherwise, set target to parent and then:\n * 5.9.8.1. If isActivationEvent is true, activationTarget is null,\n * and target has activation behavior, then set activationTarget\n * to target.\n * 5.9.8.2. Append to an event path with event, parent, target,\n * relatedTarget, touchTargets, and slot-in-closed-tree.\n */\n target = parent;\n if (isActivationEvent && activationTarget === null &&\n target._activationBehavior) {\n activationTarget = target;\n }\n event_appendToAnEventPath(event, parent, target, relatedTarget, touchTargets, slotInClosedTree);\n }\n /**\n * 5.9.9. If parent is non-null, then set parent to the result of\n * invoking parent's get the parent with event.\n * 5.9.10. Set slot-in-closed-tree to false.\n */\n if (parent !== null) {\n parent = parent._getTheParent(event);\n }\n slotInClosedTree = false;\n }\n /**\n * 5.10. Let clearTargetsStruct be the last struct in event's path whose\n * shadow-adjusted target is non-null.\n */\n var clearTargetsStruct = null;\n var path = event._path;\n for (var i = path.length - 1; i >= 0; i--) {\n var struct = path[i];\n if (struct.shadowAdjustedTarget !== null) {\n clearTargetsStruct = struct;\n break;\n }\n }\n /**\n * 5.11. Let clearTargets be true if clearTargetsStruct's shadow-adjusted\n * target, clearTargetsStruct's relatedTarget, or an EventTarget object\n * in clearTargetsStruct's touch target list is a node and its root is\n * a shadow root, and false otherwise.\n */\n if (clearTargetsStruct !== null) {\n if (util_1.Guard.isNode(clearTargetsStruct.shadowAdjustedTarget) &&\n util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(clearTargetsStruct.shadowAdjustedTarget, true))) {\n clearTargets = true;\n }\n else if (util_1.Guard.isNode(clearTargetsStruct.relatedTarget) &&\n util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(clearTargetsStruct.relatedTarget, true))) {\n clearTargets = true;\n }\n else {\n for (var j = 0; j < clearTargetsStruct.touchTargetList.length; j++) {\n var struct = clearTargetsStruct.touchTargetList[j];\n if (util_1.Guard.isNode(struct) &&\n util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(struct, true))) {\n clearTargets = true;\n break;\n }\n }\n }\n }\n /**\n * 5.12. If activationTarget is non-null and activationTarget has\n * legacy-pre-activation behavior, then run activationTarget's\n * legacy-pre-activation behavior.\n */\n if (activationTarget !== null &&\n activationTarget._legacyPreActivationBehavior !== undefined) {\n activationTarget._legacyPreActivationBehavior(event);\n }\n /**\n * 5.13. For each struct in event's path, in reverse order:\n */\n for (var i = path.length - 1; i >= 0; i--) {\n var struct = path[i];\n /**\n * 5.13.1. If struct's shadow-adjusted target is non-null, then set\n * event's eventPhase attribute to AT_TARGET.\n * 5.13.2. Otherwise, set event's eventPhase attribute to\n * CAPTURING_PHASE.\n * 5.13.3. Invoke with struct, event, \"capturing\", and\n * legacyOutputDidListenersThrowFlag if given.\n */\n if (struct.shadowAdjustedTarget !== null) {\n event._eventPhase = interfaces_1.EventPhase.AtTarget;\n }\n else {\n event._eventPhase = interfaces_1.EventPhase.Capturing;\n }\n event_invoke(struct, event, \"capturing\", legacyOutputDidListenersThrowFlag);\n }\n /**\n * 5.14. For each struct in event's path\n */\n for (var i = 0; i < path.length; i++) {\n var struct = path[i];\n /**\n * 5.14.1. If struct's shadow-adjusted target is non-null, then set\n * event's eventPhase attribute to AT_TARGET.\n * 5.14.2. Otherwise:\n * 5.14.2.1. If event's bubbles attribute is false, then continue.\n * 5.14.2.2. Set event's eventPhase attribute to BUBBLING_PHASE.\n * 5.14.3. Invoke with struct, event, \"bubbling\", and\n * legacyOutputDidListenersThrowFlag if given.\n */\n if (struct.shadowAdjustedTarget !== null) {\n event._eventPhase = interfaces_1.EventPhase.AtTarget;\n }\n else {\n if (!event._bubbles)\n continue;\n event._eventPhase = interfaces_1.EventPhase.Bubbling;\n }\n event_invoke(struct, event, \"bubbling\", legacyOutputDidListenersThrowFlag);\n }\n }\n /**\n * 6. Set event's eventPhase attribute to NONE.\n * 7. Set event's currentTarget attribute to null.\n * 8. Set event's path to the empty list.\n * 9. Unset event's dispatch flag, stop propagation flag, and stop\n * immediate propagation flag.\n */\n event._eventPhase = interfaces_1.EventPhase.None;\n event._currentTarget = null;\n event._path = [];\n event._dispatchFlag = false;\n event._stopPropagationFlag = false;\n event._stopImmediatePropagationFlag = false;\n /**\n * 10. If clearTargets, then:\n * 10.1. Set event's target to null.\n * 10.2. Set event's relatedTarget to null.\n * 10.3. Set event's touch target list to the empty list.\n */\n if (clearTargets) {\n event._target = null;\n event._relatedTarget = null;\n event._touchTargetList = [];\n }\n /**\n * 11. If activationTarget is non-null, then:\n * 11.1. If event's canceled flag is unset, then run activationTarget's\n * activation behavior with event.\n * 11.2. Otherwise, if activationTarget has legacy-canceled-activation\n * behavior, then run activationTarget's legacy-canceled-activation\n * behavior.\n */\n if (activationTarget !== null) {\n if (!event._canceledFlag && activationTarget._activationBehavior !== undefined) {\n activationTarget._activationBehavior(event);\n }\n else if (activationTarget._legacyCanceledActivationBehavior !== undefined) {\n activationTarget._legacyCanceledActivationBehavior(event);\n }\n }\n /**\n * 12. Return false if event's canceled flag is set, and true otherwise.\n */\n return !event._canceledFlag;\n}\nexports.event_dispatch = event_dispatch;\n/**\n * Appends a new struct to an event's path.\n *\n * @param event - an event\n * @param invocationTarget - the target of the invocation\n * @param shadowAdjustedTarget - shadow-root adjusted event target\n * @param relatedTarget - related event target\n * @param touchTargets - a list of touch targets\n * @param slotInClosedTree - if the target's parent is a closed shadow root\n */\nfunction event_appendToAnEventPath(event, invocationTarget, shadowAdjustedTarget, relatedTarget, touchTargets, slotInClosedTree) {\n /**\n * 1. Let invocationTargetInShadowTree be false.\n * 2. If invocationTarget is a node and its root is a shadow root, then\n * set invocationTargetInShadowTree to true.\n */\n var invocationTargetInShadowTree = false;\n if (util_1.Guard.isNode(invocationTarget) &&\n util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(invocationTarget))) {\n invocationTargetInShadowTree = true;\n }\n /**\n * 3. Let root-of-closed-tree be false.\n * 4. If invocationTarget is a shadow root whose mode is \"closed\", then\n * set root-of-closed-tree to true.\n */\n var rootOfClosedTree = false;\n if (util_1.Guard.isShadowRoot(invocationTarget) &&\n invocationTarget._mode === \"closed\") {\n rootOfClosedTree = true;\n }\n /**\n * 5. Append a new struct to event's path whose invocation target is\n * invocationTarget, invocation-target-in-shadow-tree is\n * invocationTargetInShadowTree, shadow-adjusted target is\n * shadowAdjustedTarget, relatedTarget is relatedTarget,\n * touch target list is touchTargets, root-of-closed-tree is\n * root-of-closed-tree, and slot-in-closed-tree is slot-in-closed-tree.\n */\n event._path.push({\n invocationTarget: invocationTarget,\n invocationTargetInShadowTree: invocationTargetInShadowTree,\n shadowAdjustedTarget: shadowAdjustedTarget,\n relatedTarget: relatedTarget,\n touchTargetList: touchTargets,\n rootOfClosedTree: rootOfClosedTree,\n slotInClosedTree: slotInClosedTree\n });\n}\nexports.event_appendToAnEventPath = event_appendToAnEventPath;\n/**\n * Invokes an event.\n *\n * @param struct - a struct defining event's path\n * @param event - the event to invoke\n * @param phase - event phase\n * @param legacyOutputDidListenersThrowFlag - legacy output flag that returns\n * whether the event listener's callback threw an exception\n */\nfunction event_invoke(struct, event, phase, legacyOutputDidListenersThrowFlag) {\n if (legacyOutputDidListenersThrowFlag === void 0) { legacyOutputDidListenersThrowFlag = { value: false }; }\n /**\n * 1. Set event's target to the shadow-adjusted target of the last struct\n * in event's path, that is either struct or preceding struct, whose\n * shadow-adjusted target is non-null.\n */\n var path = event._path;\n var index = -1;\n for (var i = 0; i < path.length; i++) {\n if (path[i] === struct) {\n index = i;\n break;\n }\n }\n if (index !== -1) {\n var item = path[index];\n if (item.shadowAdjustedTarget !== null) {\n event._target = item.shadowAdjustedTarget;\n }\n else if (index > 0) {\n item = path[index - 1];\n if (item.shadowAdjustedTarget !== null) {\n event._target = item.shadowAdjustedTarget;\n }\n }\n }\n /**\n * 2. Set event's relatedTarget to struct's relatedTarget.\n * 3. Set event's touch target list to struct's touch target list.\n * 4. If event's stop propagation flag is set, then return.\n * 5. Initialize event's currentTarget attribute to struct's invocation\n * target.\n * 6. Let listeners be a clone of event's currentTarget attribute value's\n * event listener list.\n *\n * _Note:_ This avoids event listeners added after this point from being\n * run. Note that removal still has an effect due to the removed field.\n */\n event._relatedTarget = struct.relatedTarget;\n event._touchTargetList = struct.touchTargetList;\n if (event._stopPropagationFlag)\n return;\n event._currentTarget = struct.invocationTarget;\n var currentTarget = event._currentTarget;\n var targetListeners = currentTarget._eventListenerList;\n var listeners = new (Array.bind.apply(Array, __spread([void 0], targetListeners)))();\n /**\n * 7. Let found be the result of running inner invoke with event, listeners,\n * phase, and legacyOutputDidListenersThrowFlag if given.\n */\n var found = event_innerInvoke(event, listeners, phase, struct, legacyOutputDidListenersThrowFlag);\n /**\n * 8. If found is false and event's isTrusted attribute is true, then:\n */\n if (!found && event._isTrusted) {\n /**\n * 8.1. Let originalEventType be event's type attribute value.\n * 8.2. If event's type attribute value is a match for any of the strings\n * in the first column in the following table, set event's type attribute\n * value to the string in the second column on the same row as the matching\n * string, and return otherwise.\n *\n * Event type | Legacy event type\n * -------------------------------------------------\n * \"animationend\" | \"webkitAnimationEnd\"\n * \"animationiteration\" | \"webkitAnimationIteration\"\n * \"animationstart\" | \"webkitAnimationStart\"\n * \"transitionend\" | \"webkitTransitionEnd\"\n */\n var originalEventType = event._type;\n if (originalEventType === \"animationend\") {\n event._type = \"webkitAnimationEnd\";\n }\n else if (originalEventType === \"animationiteration\") {\n event._type = \"webkitAnimationIteration\";\n }\n else if (originalEventType === \"animationstart\") {\n event._type = \"webkitAnimationStart\";\n }\n else if (originalEventType === \"transitionend\") {\n event._type = \"webkitTransitionEnd\";\n }\n /**\n * 8.3. Inner invoke with event, listeners, phase, and\n * legacyOutputDidListenersThrowFlag if given.\n * 8.4. Set event's type attribute value to originalEventType.\n */\n event_innerInvoke(event, listeners, phase, struct, legacyOutputDidListenersThrowFlag);\n event._type = originalEventType;\n }\n}\nexports.event_invoke = event_invoke;\n/**\n * Invokes an event.\n *\n * @param event - the event to invoke\n * @param listeners - event listeners\n * @param phase - event phase\n * @param struct - a struct defining event's path\n * @param legacyOutputDidListenersThrowFlag - legacy output flag that returns\n * whether the event listener's callback threw an exception\n */\nfunction event_innerInvoke(event, listeners, phase, struct, legacyOutputDidListenersThrowFlag) {\n if (legacyOutputDidListenersThrowFlag === void 0) { legacyOutputDidListenersThrowFlag = { value: false }; }\n /**\n * 1. Let found be false.\n * 2. For each listener in listeners, whose removed is false:\n */\n var found = false;\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n if (!listener.removed) {\n /**\n * 2.1. If event's type attribute value is not listener's type, then\n * continue.\n * 2.2. Set found to true.\n * 2.3. If phase is \"capturing\" and listener's capture is false, then\n * continue.\n * 2.4. If phase is \"bubbling\" and listener's capture is true, then\n * continue.\n */\n if (event._type !== listener.type)\n continue;\n found = true;\n if (phase === \"capturing\" && !listener.capture)\n continue;\n if (phase === \"bubbling\" && listener.capture)\n continue;\n /**\n * 2.5. If listener's once is true, then remove listener from event's\n * currentTarget attribute value's event listener list.\n */\n if (listener.once && event._currentTarget !== null) {\n var impl = event._currentTarget;\n var index = -1;\n for (var i_1 = 0; i_1 < impl._eventListenerList.length; i_1++) {\n if (impl._eventListenerList[i_1] === listener) {\n index = i_1;\n break;\n }\n }\n if (index !== -1) {\n impl._eventListenerList.splice(index, 1);\n }\n }\n /**\n * TODO: Implement realms\n *\n * 2.6. Let global be listener callback's associated Realm's global\n * object.\n */\n var globalObject = undefined;\n /**\n * 2.7. Let currentEvent be undefined.\n * 2.8. If global is a Window object, then:\n * 2.8.1. Set currentEvent to global's current event.\n * 2.8.2. If struct's invocation-target-in-shadow-tree is false, then\n * set global's current event to event.\n */\n var currentEvent = undefined;\n if (util_1.Guard.isWindow(globalObject)) {\n currentEvent = globalObject._currentEvent;\n if (struct.invocationTargetInShadowTree === false) {\n globalObject._currentEvent = event;\n }\n }\n /**\n * 2.9. If listener's passive is true, then set event's in passive\n * listener flag.\n * 2.10. Call a user object's operation with listener's callback,\n * \"handleEvent\", « event », and event's currentTarget attribute value.\n */\n if (listener.passive)\n event._inPassiveListenerFlag = true;\n try {\n listener.callback.handleEvent.call(event._currentTarget, event);\n }\n catch (err) {\n /**\n * If this throws an exception, then:\n * 2.10.1. Report the exception.\n * 2.10.2. Set legacyOutputDidListenersThrowFlag if given.\n *\n * _Note:_ The legacyOutputDidListenersThrowFlag is only used by\n * Indexed Database API.\n * TODO: Report the exception\n * See: https://html.spec.whatwg.org/multipage/webappapis.html#runtime-script-errors-in-documents\n */\n legacyOutputDidListenersThrowFlag.value = true;\n }\n /**\n * 2.11. Unset event's in passive listener flag.\n */\n if (listener.passive)\n event._inPassiveListenerFlag = false;\n /**\n * 2.12. If global is a Window object, then set global's current event\n * to currentEvent.\n */\n if (util_1.Guard.isWindow(globalObject)) {\n globalObject._currentEvent = currentEvent;\n }\n /**\n * 2.13. If event's stop immediate propagation flag is set, then return\n * found.\n */\n if (event._stopImmediatePropagationFlag)\n return found;\n }\n }\n /**\n * 3. Return found.\n */\n return found;\n}\nexports.event_innerInvoke = event_innerInvoke;\n/**\n * Fires an event at target.\n * @param e - event name\n * @param target - event target\n * @param eventConstructor - an event constructor, with a description of how\n * IDL attributes are to be initialized\n * @param idlAttributes - a dictionary describing how IDL attributes are\n * to be initialized\n * @param legacyTargetOverrideFlag - legacy target override flag\n */\nfunction event_fireAnEvent(e, target, eventConstructor, idlAttributes, legacyTargetOverrideFlag) {\n /**\n * 1. If eventConstructor is not given, then let eventConstructor be Event.\n */\n if (eventConstructor === undefined) {\n eventConstructor = EventImpl_1.EventImpl;\n }\n /**\n * 2. Let event be the result of creating an event given eventConstructor,\n * in the relevant Realm of target.\n */\n var event = event_createAnEvent(eventConstructor);\n /**\n * 3. Initialize event’s type attribute to e.\n */\n event._type = e;\n /**\n * 4. Initialize any other IDL attributes of event as described in the\n * invocation of this algorithm.\n * _Note:_ This also allows for the isTrusted attribute to be set to false.\n */\n if (idlAttributes) {\n for (var key in idlAttributes) {\n var idlObj = event;\n idlObj[key] = idlAttributes[key];\n }\n }\n /**\n * 5. Return the result of dispatching event at target, with legacy target\n * override flag set if set.\n */\n return event_dispatch(event, target, legacyTargetOverrideFlag);\n}\nexports.event_fireAnEvent = event_fireAnEvent;\n/**\n * Creates an event.\n *\n * @param eventInterface - the name of the event interface\n */\nfunction event_createLegacyEvent(eventInterface) {\n /**\n * 1. Let constructor be null.\n */\n var constructor = null;\n /**\n * TODO: Implement in HTML DOM\n * 2. If interface is an ASCII case-insensitive match for any of the strings\n * in the first column in the following table, then set constructor to the\n * interface in the second column on the same row as the matching string:\n *\n * String | Interface\n * -------|----------\n * \"beforeunloadevent\" | BeforeUnloadEvent\n * \"compositionevent\" | CompositionEvent\n * \"customevent\" | CustomEvent\n * \"devicemotionevent\" | DeviceMotionEvent\n * \"deviceorientationevent\" | DeviceOrientationEvent\n * \"dragevent\" | DragEvent\n * \"event\" | Event\n * \"events\" | Event\n * \"focusevent\" | FocusEvent\n * \"hashchangeevent\" | HashChangeEvent\n * \"htmlevents\" | Event\n * \"keyboardevent\" | KeyboardEvent\n * \"messageevent\" | MessageEvent\n * \"mouseevent\" | MouseEvent\n * \"mouseevents\" |\n * \"storageevent\" | StorageEvent\n * \"svgevents\" | Event\n * \"textevent\" | CompositionEvent\n * \"touchevent\" | TouchEvent\n * \"uievent\" | UIEvent\n * \"uievents\" | UIEvent\n */\n switch (eventInterface.toLowerCase()) {\n case \"beforeunloadevent\":\n break;\n case \"compositionevent\":\n break;\n case \"customevent\":\n constructor = CustomEventImpl_1.CustomEventImpl;\n break;\n case \"devicemotionevent\":\n break;\n case \"deviceorientationevent\":\n break;\n case \"dragevent\":\n break;\n case \"event\":\n case \"events\":\n constructor = EventImpl_1.EventImpl;\n break;\n case \"focusevent\":\n break;\n case \"hashchangeevent\":\n break;\n case \"htmlevents\":\n break;\n case \"keyboardevent\":\n break;\n case \"messageevent\":\n break;\n case \"mouseevent\":\n break;\n case \"mouseevents\":\n break;\n case \"storageevent\":\n break;\n case \"svgevents\":\n break;\n case \"textevent\":\n break;\n case \"touchevent\":\n break;\n case \"uievent\":\n break;\n case \"uievents\":\n break;\n }\n /**\n * 3. If constructor is null, then throw a \"NotSupportedError\" DOMException.\n */\n if (constructor === null) {\n throw new DOMException_1.NotSupportedError(\"Event constructor not found for interface \" + eventInterface + \".\");\n }\n /**\n * 4. If the interface indicated by constructor is not exposed on the\n * relevant global object of the context object, then throw a\n * \"NotSupportedError\" DOMException.\n * _Note:_ Typically user agents disable support for touch events in some\n * configurations, in which case this clause would be triggered for the\n * interface TouchEvent.\n */\n // TODO: Implement realms\n /**\n * 5. Let event be the result of creating an event given constructor.\n * 6. Initialize event’s type attribute to the empty string.\n * 7. Initialize event’s timeStamp attribute to a DOMHighResTimeStamp\n * representing the high resolution time from the time origin to now.\n * 8. Initialize event’s isTrusted attribute to false.\n * 9. Unset event’s initialized flag.\n */\n var event = new constructor(\"\");\n event._type = \"\";\n event._timeStamp = new Date().getTime();\n event._isTrusted = false;\n event._initializedFlag = false;\n /**\n * 10. Return event.\n */\n return event;\n}\nexports.event_createLegacyEvent = event_createLegacyEvent;\n/**\n * Getter of an event handler IDL attribute.\n *\n * @param eventTarget - event target\n * @param name - event name\n */\nfunction event_getterEventHandlerIDLAttribute(thisObj, name) {\n /**\n * 1. Let eventTarget be the result of determining the target of an event\n * handler given this object and name.\n * 2. If eventTarget is null, then return null.\n * 3. Return the result of getting the current value of the event handler\n * given eventTarget and name.\n */\n var eventTarget = event_determineTheTargetOfAnEventHandler(thisObj, name);\n if (eventTarget === null)\n return null;\n return event_getTheCurrentValueOfAnEventHandler(eventTarget, name);\n}\nexports.event_getterEventHandlerIDLAttribute = event_getterEventHandlerIDLAttribute;\n/**\n * Setter of an event handler IDL attribute.\n *\n * @param eventTarget - event target\n * @param name - event name\n * @param value - event handler\n */\nfunction event_setterEventHandlerIDLAttribute(thisObj, name, value) {\n /**\n * 1. Let eventTarget be the result of determining the target of an event\n * handler given this object and name.\n * 2. If eventTarget is null, then return.\n * 3. If the given value is null, then deactivate an event handler given\n * eventTarget and name.\n * 4. Otherwise:\n * 4.1. Let handlerMap be eventTarget's event handler map.\n * 4.2. Let eventHandler be handlerMap[name].\n * 4.3. Set eventHandler's value to the given value.\n * 4.4. Activate an event handler given eventTarget and name.\n */\n var eventTarget = event_determineTheTargetOfAnEventHandler(thisObj, name);\n if (eventTarget === null)\n return;\n if (value === null) {\n event_deactivateAnEventHandler(eventTarget, name);\n }\n else {\n var handlerMap = eventTarget._eventHandlerMap;\n var eventHandler = handlerMap[\"onabort\"];\n if (eventHandler !== undefined) {\n eventHandler.value = value;\n }\n event_activateAnEventHandler(eventTarget, name);\n }\n}\nexports.event_setterEventHandlerIDLAttribute = event_setterEventHandlerIDLAttribute;\n/**\n * Determines the target of an event handler.\n *\n * @param eventTarget - event target\n * @param name - event name\n */\nfunction event_determineTheTargetOfAnEventHandler(eventTarget, name) {\n // TODO: Implement in HTML DOM\n return null;\n}\nexports.event_determineTheTargetOfAnEventHandler = event_determineTheTargetOfAnEventHandler;\n/**\n * Gets the current value of an event handler.\n *\n * @param eventTarget - event target\n * @param name - event name\n */\nfunction event_getTheCurrentValueOfAnEventHandler(eventTarget, name) {\n // TODO: Implement in HTML DOM\n return null;\n}\nexports.event_getTheCurrentValueOfAnEventHandler = event_getTheCurrentValueOfAnEventHandler;\n/**\n * Activates an event handler.\n *\n * @param eventTarget - event target\n * @param name - event name\n */\nfunction event_activateAnEventHandler(eventTarget, name) {\n // TODO: Implement in HTML DOM\n}\nexports.event_activateAnEventHandler = event_activateAnEventHandler;\n/**\n * Deactivates an event handler.\n *\n * @param eventTarget - event target\n * @param name - event name\n */\nfunction event_deactivateAnEventHandler(eventTarget, name) {\n // TODO: Implement in HTML DOM\n}\nexports.event_deactivateAnEventHandler = event_deactivateAnEventHandler;\n//# sourceMappingURL=EventAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Flattens the given options argument.\n *\n * @param options - options argument\n */\nfunction eventTarget_flatten(options) {\n /**\n * 1. If options is a boolean, then return options.\n * 2. Return options’s capture.\n */\n if (util_1.isBoolean(options)) {\n return options;\n }\n else {\n return options.capture || false;\n }\n}\nexports.eventTarget_flatten = eventTarget_flatten;\n/**\n * Flattens the given options argument.\n *\n * @param options - options argument\n */\nfunction eventTarget_flattenMore(options) {\n /**\n * 1. Let capture be the result of flattening options.\n * 2. Let once and passive be false.\n * 3. If options is a dictionary, then set passive to options’s passive and\n * once to options’s once.\n * 4. Return capture, passive, and once.\n */\n var capture = eventTarget_flatten(options);\n var once = false;\n var passive = false;\n if (!util_1.isBoolean(options)) {\n once = options.once || false;\n passive = options.passive || false;\n }\n return [capture, passive, once];\n}\nexports.eventTarget_flattenMore = eventTarget_flattenMore;\n/**\n * Adds a new event listener.\n *\n * @param eventTarget - event target\n * @param listener - event listener\n */\nfunction eventTarget_addEventListener(eventTarget, listener) {\n /**\n * 1. If eventTarget is a ServiceWorkerGlobalScope object, its service\n * worker’s script resource’s has ever been evaluated flag is set, and\n * listener’s type matches the type attribute value of any of the service\n * worker events, then report a warning to the console that this might not\n * give the expected results. [SERVICE-WORKERS]\n */\n // TODO: service worker\n /**\n * 2. If listener’s callback is null, then return.\n */\n if (listener.callback === null)\n return;\n /**\n * 3. If eventTarget’s event listener list does not contain an event listener\n * whose type is listener’s type, callback is listener’s callback, and capture\n * is listener’s capture, then append listener to eventTarget’s event listener\n * list.\n */\n for (var i = 0; i < eventTarget._eventListenerList.length; i++) {\n var entry = eventTarget._eventListenerList[i];\n if (entry.type === listener.type && entry.callback.handleEvent === listener.callback.handleEvent\n && entry.capture === listener.capture) {\n return;\n }\n }\n eventTarget._eventListenerList.push(listener);\n}\nexports.eventTarget_addEventListener = eventTarget_addEventListener;\n/**\n * Removes an event listener.\n *\n * @param eventTarget - event target\n * @param listener - event listener\n */\nfunction eventTarget_removeEventListener(eventTarget, listener, index) {\n /**\n * 1. If eventTarget is a ServiceWorkerGlobalScope object and its service\n * worker’s set of event types to handle contains type, then report a\n * warning to the console that this might not give the expected results.\n * [SERVICE-WORKERS]\n */\n // TODO: service worker\n /**\n * 2. Set listener’s removed to true and remove listener from eventTarget’s\n * event listener list.\n */\n listener.removed = true;\n eventTarget._eventListenerList.splice(index, 1);\n}\nexports.eventTarget_removeEventListener = eventTarget_removeEventListener;\n/**\n * Removes all event listeners.\n *\n * @param eventTarget - event target\n */\nfunction eventTarget_removeAllEventListeners(eventTarget) {\n /**\n * To remove all event listeners, given an EventTarget object eventTarget,\n * for each listener of eventTarget’s event listener list, remove an event\n * listener with eventTarget and listener.\n */\n var e_1, _a;\n try {\n for (var _b = __values(eventTarget._eventListenerList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var e = _c.value;\n e.removed = true;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n eventTarget._eventListenerList.length = 0;\n}\nexports.eventTarget_removeAllEventListeners = eventTarget_removeAllEventListeners;\n//# sourceMappingURL=EventTargetAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar util_1 = require(\"../util\");\nvar util_2 = require(\"@oozcitak/util\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar CustomElementAlgorithm_1 = require(\"./CustomElementAlgorithm\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar NodeIteratorAlgorithm_1 = require(\"./NodeIteratorAlgorithm\");\nvar ShadowTreeAlgorithm_1 = require(\"./ShadowTreeAlgorithm\");\nvar MutationObserverAlgorithm_1 = require(\"./MutationObserverAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\nvar DocumentAlgorithm_1 = require(\"./DocumentAlgorithm\");\n/**\n * Ensures pre-insertion validity of a node into a parent before a\n * child.\n *\n * @param node - node to insert\n * @param parent - parent node to receive node\n * @param child - child node to insert node before\n */\nfunction mutation_ensurePreInsertionValidity(node, parent, child) {\n var e_1, _a, e_2, _b, e_3, _c, e_4, _d;\n var parentNodeType = parent._nodeType;\n var nodeNodeType = node._nodeType;\n var childNodeType = child ? child._nodeType : null;\n /**\n * 1. If parent is not a Document, DocumentFragment, or Element node,\n * throw a \"HierarchyRequestError\" DOMException.\n */\n if (parentNodeType !== interfaces_1.NodeType.Document &&\n parentNodeType !== interfaces_1.NodeType.DocumentFragment &&\n parentNodeType !== interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"Only document, document fragment and element nodes can contain child nodes. Parent node is \" + parent.nodeName + \".\");\n /**\n * 2. If node is a host-including inclusive ancestor of parent, throw a\n * \"HierarchyRequestError\" DOMException.\n */\n if (TreeAlgorithm_1.tree_isHostIncludingAncestorOf(parent, node, true))\n throw new DOMException_1.HierarchyRequestError(\"The node to be inserted cannot be an inclusive ancestor of parent node. Node is \" + node.nodeName + \", parent node is \" + parent.nodeName + \".\");\n /**\n * 3. If child is not null and its parent is not parent, then throw a\n * \"NotFoundError\" DOMException.\n */\n if (child !== null && child._parent !== parent)\n throw new DOMException_1.NotFoundError(\"The reference child node cannot be found under parent node. Child node is \" + child.nodeName + \", parent node is \" + parent.nodeName + \".\");\n /**\n * 4. If node is not a DocumentFragment, DocumentType, Element, Text,\n * ProcessingInstruction, or Comment node, throw a \"HierarchyRequestError\"\n * DOMException.\n */\n if (nodeNodeType !== interfaces_1.NodeType.DocumentFragment &&\n nodeNodeType !== interfaces_1.NodeType.DocumentType &&\n nodeNodeType !== interfaces_1.NodeType.Element &&\n nodeNodeType !== interfaces_1.NodeType.Text &&\n nodeNodeType !== interfaces_1.NodeType.ProcessingInstruction &&\n nodeNodeType !== interfaces_1.NodeType.CData &&\n nodeNodeType !== interfaces_1.NodeType.Comment)\n throw new DOMException_1.HierarchyRequestError(\"Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is \" + node.nodeName + \".\");\n /**\n * 5. If either node is a Text node and parent is a document, or node is a\n * doctype and parent is not a document, throw a \"HierarchyRequestError\"\n * DOMException.\n */\n if (nodeNodeType === interfaces_1.NodeType.Text &&\n parentNodeType === interfaces_1.NodeType.Document)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert a text node as a child of a document node. Node is \" + node.nodeName + \".\");\n if (nodeNodeType === interfaces_1.NodeType.DocumentType &&\n parentNodeType !== interfaces_1.NodeType.Document)\n throw new DOMException_1.HierarchyRequestError(\"A document type node can only be inserted under a document node. Parent node is \" + parent.nodeName + \".\");\n /**\n * 6. If parent is a document, and any of the statements below, switched on\n * node, are true, throw a \"HierarchyRequestError\" DOMException.\n * - DocumentFragment node\n * If node has more than one element child or has a Text node child.\n * Otherwise, if node has one element child and either parent has an element\n * child, child is a doctype, or child is not null and a doctype is\n * following child.\n * - element\n * parent has an element child, child is a doctype, or child is not null and\n * a doctype is following child.\n * - doctype\n * parent has a doctype child, child is non-null and an element is preceding\n * child, or child is null and parent has an element child.\n */\n if (parentNodeType === interfaces_1.NodeType.Document) {\n if (nodeNodeType === interfaces_1.NodeType.DocumentFragment) {\n var eleCount = 0;\n try {\n for (var _e = __values(node._children), _f = _e.next(); !_f.done; _f = _e.next()) {\n var childNode = _f.value;\n if (childNode._nodeType === interfaces_1.NodeType.Element)\n eleCount++;\n else if (childNode._nodeType === interfaces_1.NodeType.Text)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert text a node as a child of a document node. Node is \" + childNode.nodeName + \".\");\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_a = _e.return)) _a.call(_e);\n }\n finally { if (e_1) throw e_1.error; }\n }\n if (eleCount > 1) {\n throw new DOMException_1.HierarchyRequestError(\"A document node can only have one document element node. Document fragment to be inserted has \" + eleCount + \" element nodes.\");\n }\n else if (eleCount === 1) {\n try {\n for (var _g = __values(parent._children), _h = _g.next(); !_h.done; _h = _g.next()) {\n var ele = _h.value;\n if (ele._nodeType === interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"The document node already has a document element node.\");\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_h && !_h.done && (_b = _g.return)) _b.call(_g);\n }\n finally { if (e_2) throw e_2.error; }\n }\n if (child) {\n if (childNodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert an element node before a document type node.\");\n var doctypeChild = child._nextSibling;\n while (doctypeChild) {\n if (doctypeChild._nodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert an element node before a document type node.\");\n doctypeChild = doctypeChild._nextSibling;\n }\n }\n }\n }\n else if (nodeNodeType === interfaces_1.NodeType.Element) {\n try {\n for (var _j = __values(parent._children), _k = _j.next(); !_k.done; _k = _j.next()) {\n var ele = _k.value;\n if (ele._nodeType === interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"Document already has a document element node. Node is \" + node.nodeName + \".\");\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_k && !_k.done && (_c = _j.return)) _c.call(_j);\n }\n finally { if (e_3) throw e_3.error; }\n }\n if (child) {\n if (childNodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert an element node before a document type node. Node is \" + node.nodeName + \".\");\n var doctypeChild = child._nextSibling;\n while (doctypeChild) {\n if (doctypeChild._nodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert an element node before a document type node. Node is \" + node.nodeName + \".\");\n doctypeChild = doctypeChild._nextSibling;\n }\n }\n }\n else if (nodeNodeType === interfaces_1.NodeType.DocumentType) {\n try {\n for (var _l = __values(parent._children), _m = _l.next(); !_m.done; _m = _l.next()) {\n var ele = _m.value;\n if (ele._nodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Document already has a document type node. Node is \" + node.nodeName + \".\");\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_m && !_m.done && (_d = _l.return)) _d.call(_l);\n }\n finally { if (e_4) throw e_4.error; }\n }\n if (child) {\n var elementChild = child._previousSibling;\n while (elementChild) {\n if (elementChild._nodeType === interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert a document type node before an element node. Node is \" + node.nodeName + \".\");\n elementChild = elementChild._previousSibling;\n }\n }\n else {\n var elementChild = parent._firstChild;\n while (elementChild) {\n if (elementChild._nodeType === interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert a document type node before an element node. Node is \" + node.nodeName + \".\");\n elementChild = elementChild._nextSibling;\n }\n }\n }\n }\n}\nexports.mutation_ensurePreInsertionValidity = mutation_ensurePreInsertionValidity;\n/**\n * Ensures pre-insertion validity of a node into a parent before a\n * child, then adopts the node to the tree and inserts it.\n *\n * @param node - node to insert\n * @param parent - parent node to receive node\n * @param child - child node to insert node before\n */\nfunction mutation_preInsert(node, parent, child) {\n /**\n * 1. Ensure pre-insertion validity of node into parent before child.\n * 2. Let reference child be child.\n * 3. If reference child is node, set it to node’s next sibling.\n * 4. Adopt node into parent’s node document.\n * 5. Insert node into parent before reference child.\n * 6. Return node.\n */\n mutation_ensurePreInsertionValidity(node, parent, child);\n var referenceChild = child;\n if (referenceChild === node)\n referenceChild = node._nextSibling;\n DocumentAlgorithm_1.document_adopt(node, parent._nodeDocument);\n mutation_insert(node, parent, referenceChild);\n return node;\n}\nexports.mutation_preInsert = mutation_preInsert;\n/**\n * Inserts a node into a parent node before the given child node.\n *\n * @param node - node to insert\n * @param parent - parent node to receive node\n * @param child - child node to insert node before\n * @param suppressObservers - whether to notify observers\n */\nfunction mutation_insert(node, parent, child, suppressObservers) {\n var e_5, _a;\n // Optimized common case\n if (child === null && node._nodeType !== interfaces_1.NodeType.DocumentFragment) {\n mutation_insert_single(node, parent, suppressObservers);\n return;\n }\n /**\n * 1. Let count be the number of children of node if it is a\n * DocumentFragment node, and one otherwise.\n */\n var count = (node._nodeType === interfaces_1.NodeType.DocumentFragment ?\n node._children.size : 1);\n /**\n * 2. If child is non-null, then:\n */\n if (child !== null) {\n /**\n * 2.1. For each live range whose start node is parent and start\n * offset is greater than child's index, increase its start\n * offset by count.\n * 2.2. For each live range whose end node is parent and end\n * offset is greater than child's index, increase its end\n * offset by count.\n */\n if (DOMImpl_1.dom.rangeList.size !== 0) {\n var index_1 = TreeAlgorithm_1.tree_index(child);\n try {\n for (var _b = __values(DOMImpl_1.dom.rangeList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var range = _c.value;\n if (range._start[0] === parent && range._start[1] > index_1) {\n range._start[1] += count;\n }\n if (range._end[0] === parent && range._end[1] > index_1) {\n range._end[1] += count;\n }\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_5) throw e_5.error; }\n }\n }\n }\n /**\n * 3. Let nodes be node’s children, if node is a DocumentFragment node;\n * otherwise « node ».\n */\n var nodes = node._nodeType === interfaces_1.NodeType.DocumentFragment ? new (Array.bind.apply(Array, __spread([void 0], node._children)))() : [node];\n /**\n * 4. If node is a DocumentFragment node, remove its children with the\n * suppress observers flag set.\n */\n if (node._nodeType === interfaces_1.NodeType.DocumentFragment) {\n while (node._firstChild) {\n mutation_remove(node._firstChild, node, true);\n }\n }\n /**\n * 5. If node is a DocumentFragment node, then queue a tree mutation record\n * for node with « », nodes, null, and null.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n if (node._nodeType === interfaces_1.NodeType.DocumentFragment) {\n MutationObserverAlgorithm_1.observer_queueTreeMutationRecord(node, [], nodes, null, null);\n }\n }\n /**\n * 6. Let previousSibling be child’s previous sibling or parent’s last\n * child if child is null.\n */\n var previousSibling = (child ? child._previousSibling : parent._lastChild);\n var index = child === null ? -1 : TreeAlgorithm_1.tree_index(child);\n /**\n * 7. For each node in nodes, in tree order:\n */\n for (var i = 0; i < nodes.length; i++) {\n var node_1 = nodes[i];\n if (util_1.Guard.isElementNode(node_1)) {\n // set document element node\n if (util_1.Guard.isDocumentNode(parent)) {\n parent._documentElement = node_1;\n }\n // mark that the document has namespaces\n if (!node_1._nodeDocument._hasNamespaces && (node_1._namespace !== null ||\n node_1._namespacePrefix !== null)) {\n node_1._nodeDocument._hasNamespaces = true;\n }\n }\n /**\n * 7.1. If child is null, then append node to parent’s children.\n * 7.2. Otherwise, insert node into parent’s children before child’s\n * index.\n */\n node_1._parent = parent;\n if (child === null) {\n infra_1.set.append(parent._children, node_1);\n }\n else {\n infra_1.set.insert(parent._children, node_1, index);\n index++;\n }\n // assign siblings and children for quick lookups\n if (parent._firstChild === null) {\n node_1._previousSibling = null;\n node_1._nextSibling = null;\n parent._firstChild = node_1;\n parent._lastChild = node_1;\n }\n else {\n var prev = (child ? child._previousSibling : parent._lastChild);\n var next = (child ? child : null);\n node_1._previousSibling = prev;\n node_1._nextSibling = next;\n if (prev)\n prev._nextSibling = node_1;\n if (next)\n next._previousSibling = node_1;\n if (!prev)\n parent._firstChild = node_1;\n if (!next)\n parent._lastChild = node_1;\n }\n /**\n * 7.3. If parent is a shadow host and node is a slotable, then\n * assign a slot for node.\n */\n if (DOMImpl_1.dom.features.slots) {\n if (parent._shadowRoot !== null && util_1.Guard.isSlotable(node_1)) {\n ShadowTreeAlgorithm_1.shadowTree_assignASlot(node_1);\n }\n }\n /**\n * 7.4. If node is a Text node, run the child text content change\n * steps for parent.\n */\n if (DOMImpl_1.dom.features.steps) {\n if (util_1.Guard.isTextNode(node_1)) {\n DOMAlgorithm_1.dom_runChildTextContentChangeSteps(parent);\n }\n }\n /**\n * 7.5. If parent's root is a shadow root, and parent is a slot\n * whose assigned nodes is the empty list, then run signal\n * a slot change for parent.\n */\n if (DOMImpl_1.dom.features.slots) {\n if (util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(parent)) &&\n util_1.Guard.isSlot(parent) && util_2.isEmpty(parent._assignedNodes)) {\n ShadowTreeAlgorithm_1.shadowTree_signalASlotChange(parent);\n }\n }\n /**\n * 7.6. Run assign slotables for a tree with node's root.\n */\n if (DOMImpl_1.dom.features.slots) {\n ShadowTreeAlgorithm_1.shadowTree_assignSlotablesForATree(TreeAlgorithm_1.tree_rootNode(node_1));\n }\n /**\n * 7.7. For each shadow-including inclusive descendant\n * inclusiveDescendant of node, in shadow-including tree\n * order:\n */\n var inclusiveDescendant = TreeAlgorithm_1.tree_getFirstDescendantNode(node_1, true, true);\n while (inclusiveDescendant !== null) {\n /**\n * 7.7.1. Run the insertion steps with inclusiveDescendant.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runInsertionSteps(inclusiveDescendant);\n }\n if (DOMImpl_1.dom.features.customElements) {\n /**\n * 7.7.2. If inclusiveDescendant is connected, then:\n */\n if (util_1.Guard.isElementNode(inclusiveDescendant) &&\n ShadowTreeAlgorithm_1.shadowTree_isConnected(inclusiveDescendant)) {\n if (util_1.Guard.isCustomElementNode(inclusiveDescendant)) {\n /**\n * 7.7.2.1. If inclusiveDescendant is custom, then enqueue a custom\n * element callback reaction with inclusiveDescendant, callback name\n * \"connectedCallback\", and an empty argument list.\n */\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(inclusiveDescendant, \"connectedCallback\", []);\n }\n else {\n /**\n * 7.7.2.2. Otherwise, try to upgrade inclusiveDescendant.\n */\n CustomElementAlgorithm_1.customElement_tryToUpgrade(inclusiveDescendant);\n }\n }\n }\n inclusiveDescendant = TreeAlgorithm_1.tree_getNextDescendantNode(node_1, inclusiveDescendant, true, true);\n }\n }\n /**\n * 8. If suppress observers flag is unset, then queue a tree mutation record\n * for parent with nodes, « », previousSibling, and child.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n if (!suppressObservers) {\n MutationObserverAlgorithm_1.observer_queueTreeMutationRecord(parent, nodes, [], previousSibling, child);\n }\n }\n}\nexports.mutation_insert = mutation_insert;\n/**\n * Inserts a node into a parent node. Optimized routine for the common case where\n * node is not a document fragment node and it has no child nodes.\n *\n * @param node - node to insert\n * @param parent - parent node to receive node\n * @param suppressObservers - whether to notify observers\n */\nfunction mutation_insert_single(node, parent, suppressObservers) {\n /**\n * 1. Let count be the number of children of node if it is a\n * DocumentFragment node, and one otherwise.\n * 2. If child is non-null, then:\n * 2.1. For each live range whose start node is parent and start\n * offset is greater than child's index, increase its start\n * offset by count.\n * 2.2. For each live range whose end node is parent and end\n * offset is greater than child's index, increase its end\n * offset by count.\n * 3. Let nodes be node’s children, if node is a DocumentFragment node;\n * otherwise « node ».\n * 4. If node is a DocumentFragment node, remove its children with the\n * suppress observers flag set.\n * 5. If node is a DocumentFragment node, then queue a tree mutation record\n * for node with « », nodes, null, and null.\n */\n /**\n * 6. Let previousSibling be child’s previous sibling or parent’s last\n * child if child is null.\n */\n var previousSibling = parent._lastChild;\n // set document element node\n if (util_1.Guard.isElementNode(node)) {\n // set document element node\n if (util_1.Guard.isDocumentNode(parent)) {\n parent._documentElement = node;\n }\n // mark that the document has namespaces\n if (!node._nodeDocument._hasNamespaces && (node._namespace !== null ||\n node._namespacePrefix !== null)) {\n node._nodeDocument._hasNamespaces = true;\n }\n }\n /**\n * 7. For each node in nodes, in tree order:\n * 7.1. If child is null, then append node to parent’s children.\n * 7.2. Otherwise, insert node into parent’s children before child’s\n * index.\n */\n node._parent = parent;\n parent._children.add(node);\n // assign siblings and children for quick lookups\n if (parent._firstChild === null) {\n node._previousSibling = null;\n node._nextSibling = null;\n parent._firstChild = node;\n parent._lastChild = node;\n }\n else {\n var prev = parent._lastChild;\n node._previousSibling = prev;\n node._nextSibling = null;\n if (prev)\n prev._nextSibling = node;\n if (!prev)\n parent._firstChild = node;\n parent._lastChild = node;\n }\n /**\n * 7.3. If parent is a shadow host and node is a slotable, then\n * assign a slot for node.\n */\n if (DOMImpl_1.dom.features.slots) {\n if (parent._shadowRoot !== null && util_1.Guard.isSlotable(node)) {\n ShadowTreeAlgorithm_1.shadowTree_assignASlot(node);\n }\n }\n /**\n * 7.4. If node is a Text node, run the child text content change\n * steps for parent.\n */\n if (DOMImpl_1.dom.features.steps) {\n if (util_1.Guard.isTextNode(node)) {\n DOMAlgorithm_1.dom_runChildTextContentChangeSteps(parent);\n }\n }\n /**\n * 7.5. If parent's root is a shadow root, and parent is a slot\n * whose assigned nodes is the empty list, then run signal\n * a slot change for parent.\n */\n if (DOMImpl_1.dom.features.slots) {\n if (util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(parent)) &&\n util_1.Guard.isSlot(parent) && util_2.isEmpty(parent._assignedNodes)) {\n ShadowTreeAlgorithm_1.shadowTree_signalASlotChange(parent);\n }\n }\n /**\n * 7.6. Run assign slotables for a tree with node's root.\n */\n if (DOMImpl_1.dom.features.slots) {\n ShadowTreeAlgorithm_1.shadowTree_assignSlotablesForATree(TreeAlgorithm_1.tree_rootNode(node));\n }\n /**\n * 7.7. For each shadow-including inclusive descendant\n * inclusiveDescendant of node, in shadow-including tree\n * order:\n * 7.7.1. Run the insertion steps with inclusiveDescendant.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runInsertionSteps(node);\n }\n if (DOMImpl_1.dom.features.customElements) {\n /**\n * 7.7.2. If inclusiveDescendant is connected, then:\n */\n if (util_1.Guard.isElementNode(node) &&\n ShadowTreeAlgorithm_1.shadowTree_isConnected(node)) {\n if (util_1.Guard.isCustomElementNode(node)) {\n /**\n * 7.7.2.1. If inclusiveDescendant is custom, then enqueue a custom\n * element callback reaction with inclusiveDescendant, callback name\n * \"connectedCallback\", and an empty argument list.\n */\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(node, \"connectedCallback\", []);\n }\n else {\n /**\n * 7.7.2.2. Otherwise, try to upgrade inclusiveDescendant.\n */\n CustomElementAlgorithm_1.customElement_tryToUpgrade(node);\n }\n }\n }\n /**\n * 8. If suppress observers flag is unset, then queue a tree mutation record\n * for parent with nodes, « », previousSibling, and child.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n if (!suppressObservers) {\n MutationObserverAlgorithm_1.observer_queueTreeMutationRecord(parent, [node], [], previousSibling, null);\n }\n }\n}\n/**\n * Appends a node to the children of a parent node.\n *\n * @param node - a node\n * @param parent - the parent to receive node\n */\nfunction mutation_append(node, parent) {\n /**\n * To append a node to a parent, pre-insert node into parent before null.\n */\n return mutation_preInsert(node, parent, null);\n}\nexports.mutation_append = mutation_append;\n/**\n * Replaces a node with another node.\n *\n * @param child - child node to remove\n * @param node - node to insert\n * @param parent - parent node to receive node\n */\nfunction mutation_replace(child, node, parent) {\n var e_6, _a, e_7, _b, e_8, _c, e_9, _d;\n /**\n * 1. If parent is not a Document, DocumentFragment, or Element node,\n * throw a \"HierarchyRequestError\" DOMException.\n */\n if (parent._nodeType !== interfaces_1.NodeType.Document &&\n parent._nodeType !== interfaces_1.NodeType.DocumentFragment &&\n parent._nodeType !== interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"Only document, document fragment and element nodes can contain child nodes. Parent node is \" + parent.nodeName + \".\");\n /**\n * 2. If node is a host-including inclusive ancestor of parent, throw a\n * \"HierarchyRequestError\" DOMException.\n */\n if (TreeAlgorithm_1.tree_isHostIncludingAncestorOf(parent, node, true))\n throw new DOMException_1.HierarchyRequestError(\"The node to be inserted cannot be an ancestor of parent node. Node is \" + node.nodeName + \", parent node is \" + parent.nodeName + \".\");\n /**\n * 3. If child’s parent is not parent, then throw a \"NotFoundError\"\n * DOMException.\n */\n if (child._parent !== parent)\n throw new DOMException_1.NotFoundError(\"The reference child node cannot be found under parent node. Child node is \" + child.nodeName + \", parent node is \" + parent.nodeName + \".\");\n /**\n * 4. If node is not a DocumentFragment, DocumentType, Element, Text,\n * ProcessingInstruction, or Comment node, throw a \"HierarchyRequestError\"\n * DOMException.\n */\n if (node._nodeType !== interfaces_1.NodeType.DocumentFragment &&\n node._nodeType !== interfaces_1.NodeType.DocumentType &&\n node._nodeType !== interfaces_1.NodeType.Element &&\n node._nodeType !== interfaces_1.NodeType.Text &&\n node._nodeType !== interfaces_1.NodeType.ProcessingInstruction &&\n node._nodeType !== interfaces_1.NodeType.CData &&\n node._nodeType !== interfaces_1.NodeType.Comment)\n throw new DOMException_1.HierarchyRequestError(\"Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is \" + node.nodeName + \".\");\n /**\n * 5. If either node is a Text node and parent is a document, or node is a\n * doctype and parent is not a document, throw a \"HierarchyRequestError\"\n * DOMException.\n */\n if (node._nodeType === interfaces_1.NodeType.Text &&\n parent._nodeType === interfaces_1.NodeType.Document)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert a text node as a child of a document node. Node is \" + node.nodeName + \".\");\n if (node._nodeType === interfaces_1.NodeType.DocumentType &&\n parent._nodeType !== interfaces_1.NodeType.Document)\n throw new DOMException_1.HierarchyRequestError(\"A document type node can only be inserted under a document node. Parent node is \" + parent.nodeName + \".\");\n /**\n * 6. If parent is a document, and any of the statements below, switched on\n * node, are true, throw a \"HierarchyRequestError\" DOMException.\n * - DocumentFragment node\n * If node has more than one element child or has a Text node child.\n * Otherwise, if node has one element child and either parent has an element\n * child that is not child or a doctype is following child.\n * - element\n * parent has an element child that is not child or a doctype is\n * following child.\n * - doctype\n * parent has a doctype child that is not child, or an element is\n * preceding child.\n */\n if (parent._nodeType === interfaces_1.NodeType.Document) {\n if (node._nodeType === interfaces_1.NodeType.DocumentFragment) {\n var eleCount = 0;\n try {\n for (var _e = __values(node._children), _f = _e.next(); !_f.done; _f = _e.next()) {\n var childNode = _f.value;\n if (childNode._nodeType === interfaces_1.NodeType.Element)\n eleCount++;\n else if (childNode._nodeType === interfaces_1.NodeType.Text)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert text a node as a child of a document node. Node is \" + childNode.nodeName + \".\");\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_a = _e.return)) _a.call(_e);\n }\n finally { if (e_6) throw e_6.error; }\n }\n if (eleCount > 1) {\n throw new DOMException_1.HierarchyRequestError(\"A document node can only have one document element node. Document fragment to be inserted has \" + eleCount + \" element nodes.\");\n }\n else if (eleCount === 1) {\n try {\n for (var _g = __values(parent._children), _h = _g.next(); !_h.done; _h = _g.next()) {\n var ele = _h.value;\n if (ele._nodeType === interfaces_1.NodeType.Element && ele !== child)\n throw new DOMException_1.HierarchyRequestError(\"The document node already has a document element node.\");\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (_h && !_h.done && (_b = _g.return)) _b.call(_g);\n }\n finally { if (e_7) throw e_7.error; }\n }\n var doctypeChild = child._nextSibling;\n while (doctypeChild) {\n if (doctypeChild._nodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert an element node before a document type node.\");\n doctypeChild = doctypeChild._nextSibling;\n }\n }\n }\n else if (node._nodeType === interfaces_1.NodeType.Element) {\n try {\n for (var _j = __values(parent._children), _k = _j.next(); !_k.done; _k = _j.next()) {\n var ele = _k.value;\n if (ele._nodeType === interfaces_1.NodeType.Element && ele !== child)\n throw new DOMException_1.HierarchyRequestError(\"Document already has a document element node. Node is \" + node.nodeName + \".\");\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (_k && !_k.done && (_c = _j.return)) _c.call(_j);\n }\n finally { if (e_8) throw e_8.error; }\n }\n var doctypeChild = child._nextSibling;\n while (doctypeChild) {\n if (doctypeChild._nodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert an element node before a document type node. Node is \" + node.nodeName + \".\");\n doctypeChild = doctypeChild._nextSibling;\n }\n }\n else if (node._nodeType === interfaces_1.NodeType.DocumentType) {\n try {\n for (var _l = __values(parent._children), _m = _l.next(); !_m.done; _m = _l.next()) {\n var ele = _m.value;\n if (ele._nodeType === interfaces_1.NodeType.DocumentType && ele !== child)\n throw new DOMException_1.HierarchyRequestError(\"Document already has a document type node. Node is \" + node.nodeName + \".\");\n }\n }\n catch (e_9_1) { e_9 = { error: e_9_1 }; }\n finally {\n try {\n if (_m && !_m.done && (_d = _l.return)) _d.call(_l);\n }\n finally { if (e_9) throw e_9.error; }\n }\n var elementChild = child._previousSibling;\n while (elementChild) {\n if (elementChild._nodeType === interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert a document type node before an element node. Node is \" + node.nodeName + \".\");\n elementChild = elementChild._previousSibling;\n }\n }\n }\n /**\n * 7. Let reference child be child’s next sibling.\n * 8. If reference child is node, set it to node’s next sibling.\n * 8. Let previousSibling be child’s previous sibling.\n */\n var referenceChild = child._nextSibling;\n if (referenceChild === node)\n referenceChild = node._nextSibling;\n var previousSibling = child._previousSibling;\n /**\n * 10. Adopt node into parent’s node document.\n * 11. Let removedNodes be the empty list.\n */\n DocumentAlgorithm_1.document_adopt(node, parent._nodeDocument);\n var removedNodes = [];\n /**\n * 12. If child’s parent is not null, then:\n */\n if (child._parent !== null) {\n /**\n * 12.1. Set removedNodes to [child].\n * 12.2. Remove child from its parent with the suppress observers flag\n * set.\n */\n removedNodes.push(child);\n mutation_remove(child, child._parent, true);\n }\n /**\n * 13. Let nodes be node’s children if node is a DocumentFragment node;\n * otherwise [node].\n */\n var nodes = [];\n if (node._nodeType === interfaces_1.NodeType.DocumentFragment) {\n nodes = Array.from(node._children);\n }\n else {\n nodes.push(node);\n }\n /**\n * 14. Insert node into parent before reference child with the suppress\n * observers flag set.\n */\n mutation_insert(node, parent, referenceChild, true);\n /**\n * 15. Queue a tree mutation record for parent with nodes, removedNodes,\n * previousSibling, and reference child.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueTreeMutationRecord(parent, nodes, removedNodes, previousSibling, referenceChild);\n }\n /**\n * 16. Return child.\n */\n return child;\n}\nexports.mutation_replace = mutation_replace;\n/**\n * Replaces all nodes of a parent with the given node.\n *\n * @param node - node to insert\n * @param parent - parent node to receive node\n */\nfunction mutation_replaceAll(node, parent) {\n var e_10, _a;\n /**\n * 1. If node is not null, adopt node into parent’s node document.\n */\n if (node !== null) {\n DocumentAlgorithm_1.document_adopt(node, parent._nodeDocument);\n }\n /**\n * 2. Let removedNodes be parent’s children.\n */\n var removedNodes = Array.from(parent._children);\n /**\n * 3. Let addedNodes be the empty list.\n * 4. If node is DocumentFragment node, then set addedNodes to node’s\n * children.\n * 5. Otherwise, if node is non-null, set addedNodes to [node].\n */\n var addedNodes = [];\n if (node && node._nodeType === interfaces_1.NodeType.DocumentFragment) {\n addedNodes = Array.from(node._children);\n }\n else if (node !== null) {\n addedNodes.push(node);\n }\n try {\n /**\n * 6. Remove all parent’s children, in tree order, with the suppress\n * observers flag set.\n */\n for (var removedNodes_1 = __values(removedNodes), removedNodes_1_1 = removedNodes_1.next(); !removedNodes_1_1.done; removedNodes_1_1 = removedNodes_1.next()) {\n var childNode = removedNodes_1_1.value;\n mutation_remove(childNode, parent, true);\n }\n }\n catch (e_10_1) { e_10 = { error: e_10_1 }; }\n finally {\n try {\n if (removedNodes_1_1 && !removedNodes_1_1.done && (_a = removedNodes_1.return)) _a.call(removedNodes_1);\n }\n finally { if (e_10) throw e_10.error; }\n }\n /**\n * 7. If node is not null, then insert node into parent before null with the\n * suppress observers flag set.\n */\n if (node !== null) {\n mutation_insert(node, parent, null, true);\n }\n /**\n * 8. Queue a tree mutation record for parent with addedNodes, removedNodes,\n * null, and null.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueTreeMutationRecord(parent, addedNodes, removedNodes, null, null);\n }\n}\nexports.mutation_replaceAll = mutation_replaceAll;\n/**\n * Ensures pre-removal validity of a child node from a parent, then\n * removes it.\n *\n * @param child - child node to remove\n * @param parent - parent node\n */\nfunction mutation_preRemove(child, parent) {\n /**\n * 1. If child’s parent is not parent, then throw a \"NotFoundError\"\n * DOMException.\n * 2. Remove child from parent.\n * 3. Return child.\n */\n if (child._parent !== parent)\n throw new DOMException_1.NotFoundError(\"The child node cannot be found under parent node. Child node is \" + child.nodeName + \", parent node is \" + parent.nodeName + \".\");\n mutation_remove(child, parent);\n return child;\n}\nexports.mutation_preRemove = mutation_preRemove;\n/**\n * Removes a child node from its parent.\n *\n * @param node - node to remove\n * @param parent - parent node\n * @param suppressObservers - whether to notify observers\n */\nfunction mutation_remove(node, parent, suppressObservers) {\n var e_11, _a, e_12, _b, e_13, _c, e_14, _d;\n if (DOMImpl_1.dom.rangeList.size !== 0) {\n /**\n * 1. Let index be node’s index.\n */\n var index = TreeAlgorithm_1.tree_index(node);\n try {\n /**\n * 2. For each live range whose start node is an inclusive descendant of\n * node, set its start to (parent, index).\n * 3. For each live range whose end node is an inclusive descendant of\n * node, set its end to (parent, index).\n */\n for (var _e = __values(DOMImpl_1.dom.rangeList), _f = _e.next(); !_f.done; _f = _e.next()) {\n var range = _f.value;\n if (TreeAlgorithm_1.tree_isDescendantOf(node, range._start[0], true)) {\n range._start = [parent, index];\n }\n if (TreeAlgorithm_1.tree_isDescendantOf(node, range._end[0], true)) {\n range._end = [parent, index];\n }\n if (range._start[0] === parent && range._start[1] > index) {\n range._start[1]--;\n }\n if (range._end[0] === parent && range._end[1] > index) {\n range._end[1]--;\n }\n }\n }\n catch (e_11_1) { e_11 = { error: e_11_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_a = _e.return)) _a.call(_e);\n }\n finally { if (e_11) throw e_11.error; }\n }\n try {\n /**\n * 4. For each live range whose start node is parent and start offset is\n * greater than index, decrease its start offset by 1.\n * 5. For each live range whose end node is parent and end offset is greater\n * than index, decrease its end offset by 1.\n */\n for (var _g = __values(DOMImpl_1.dom.rangeList), _h = _g.next(); !_h.done; _h = _g.next()) {\n var range = _h.value;\n if (range._start[0] === parent && range._start[1] > index) {\n range._start[1] -= 1;\n }\n if (range._end[0] === parent && range._end[1] > index) {\n range._end[1] -= 1;\n }\n }\n }\n catch (e_12_1) { e_12 = { error: e_12_1 }; }\n finally {\n try {\n if (_h && !_h.done && (_b = _g.return)) _b.call(_g);\n }\n finally { if (e_12) throw e_12.error; }\n }\n }\n /**\n * 6. For each NodeIterator object iterator whose root’s node document is\n * node’s node document, run the NodeIterator pre-removing steps given node\n * and iterator.\n */\n if (DOMImpl_1.dom.features.steps) {\n try {\n for (var _j = __values(NodeIteratorAlgorithm_1.nodeIterator_iteratorList()), _k = _j.next(); !_k.done; _k = _j.next()) {\n var iterator = _k.value;\n if (iterator._root._nodeDocument === node._nodeDocument) {\n DOMAlgorithm_1.dom_runNodeIteratorPreRemovingSteps(iterator, node);\n }\n }\n }\n catch (e_13_1) { e_13 = { error: e_13_1 }; }\n finally {\n try {\n if (_k && !_k.done && (_c = _j.return)) _c.call(_j);\n }\n finally { if (e_13) throw e_13.error; }\n }\n }\n /**\n * 7. Let oldPreviousSibling be node’s previous sibling.\n * 8. Let oldNextSibling be node’s next sibling.\n */\n var oldPreviousSibling = node._previousSibling;\n var oldNextSibling = node._nextSibling;\n // set document element node\n if (util_1.Guard.isDocumentNode(parent) && util_1.Guard.isElementNode(node)) {\n parent._documentElement = null;\n }\n /**\n * 9. Remove node from its parent’s children.\n */\n node._parent = null;\n parent._children.delete(node);\n // assign siblings and children for quick lookups\n var prev = node._previousSibling;\n var next = node._nextSibling;\n node._previousSibling = null;\n node._nextSibling = null;\n if (prev)\n prev._nextSibling = next;\n if (next)\n next._previousSibling = prev;\n if (!prev)\n parent._firstChild = next;\n if (!next)\n parent._lastChild = prev;\n /**\n * 10. If node is assigned, then run assign slotables for node’s assigned\n * slot.\n */\n if (DOMImpl_1.dom.features.slots) {\n if (util_1.Guard.isSlotable(node) && node._assignedSlot !== null && ShadowTreeAlgorithm_1.shadowTree_isAssigned(node)) {\n ShadowTreeAlgorithm_1.shadowTree_assignSlotables(node._assignedSlot);\n }\n }\n /**\n * 11. If parent’s root is a shadow root, and parent is a slot whose\n * assigned nodes is the empty list, then run signal a slot change for\n * parent.\n */\n if (DOMImpl_1.dom.features.slots) {\n if (util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(parent)) &&\n util_1.Guard.isSlot(parent) && util_2.isEmpty(parent._assignedNodes)) {\n ShadowTreeAlgorithm_1.shadowTree_signalASlotChange(parent);\n }\n }\n /**\n * 12. If node has an inclusive descendant that is a slot, then:\n * 12.1. Run assign slotables for a tree with parent's root.\n * 12.2. Run assign slotables for a tree with node.\n */\n if (DOMImpl_1.dom.features.slots) {\n var descendant_1 = TreeAlgorithm_1.tree_getFirstDescendantNode(node, true, false, function (e) { return util_1.Guard.isSlot(e); });\n if (descendant_1 !== null) {\n ShadowTreeAlgorithm_1.shadowTree_assignSlotablesForATree(TreeAlgorithm_1.tree_rootNode(parent));\n ShadowTreeAlgorithm_1.shadowTree_assignSlotablesForATree(node);\n }\n }\n /**\n * 13. Run the removing steps with node and parent.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runRemovingSteps(node, parent);\n }\n /**\n * 14. If node is custom, then enqueue a custom element callback\n * reaction with node, callback name \"disconnectedCallback\",\n * and an empty argument list.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isCustomElementNode(node)) {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(node, \"disconnectedCallback\", []);\n }\n }\n /**\n * 15. For each shadow-including descendant descendant of node,\n * in shadow-including tree order, then:\n */\n var descendant = TreeAlgorithm_1.tree_getFirstDescendantNode(node, false, true);\n while (descendant !== null) {\n /**\n * 15.1. Run the removing steps with descendant.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runRemovingSteps(descendant, node);\n }\n /**\n * 15.2. If descendant is custom, then enqueue a custom element\n * callback reaction with descendant, callback name\n * \"disconnectedCallback\", and an empty argument list.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isCustomElementNode(descendant)) {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(descendant, \"disconnectedCallback\", []);\n }\n }\n descendant = TreeAlgorithm_1.tree_getNextDescendantNode(node, descendant, false, true);\n }\n /**\n * 16. For each inclusive ancestor inclusiveAncestor of parent, and\n * then for each registered of inclusiveAncestor's registered\n * observer list, if registered's options's subtree is true,\n * then append a new transient registered observer whose\n * observer is registered's observer, options is registered's\n * options, and source is registered to node's registered\n * observer list.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n var inclusiveAncestor = TreeAlgorithm_1.tree_getFirstAncestorNode(parent, true);\n while (inclusiveAncestor !== null) {\n try {\n for (var _l = (e_14 = void 0, __values(inclusiveAncestor._registeredObserverList)), _m = _l.next(); !_m.done; _m = _l.next()) {\n var registered = _m.value;\n if (registered.options.subtree) {\n node._registeredObserverList.push({\n observer: registered.observer,\n options: registered.options,\n source: registered\n });\n }\n }\n }\n catch (e_14_1) { e_14 = { error: e_14_1 }; }\n finally {\n try {\n if (_m && !_m.done && (_d = _l.return)) _d.call(_l);\n }\n finally { if (e_14) throw e_14.error; }\n }\n inclusiveAncestor = TreeAlgorithm_1.tree_getNextAncestorNode(parent, inclusiveAncestor, true);\n }\n }\n /**\n * 17. If suppress observers flag is unset, then queue a tree mutation\n * record for parent with « », « node », oldPreviousSibling, and\n * oldNextSibling.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n if (!suppressObservers) {\n MutationObserverAlgorithm_1.observer_queueTreeMutationRecord(parent, [], [node], oldPreviousSibling, oldNextSibling);\n }\n }\n /**\n * 18. If node is a Text node, then run the child text content change steps\n * for parent.\n */\n if (DOMImpl_1.dom.features.steps) {\n if (util_1.Guard.isTextNode(node)) {\n DOMAlgorithm_1.dom_runChildTextContentChangeSteps(parent);\n }\n }\n}\nexports.mutation_remove = mutation_remove;\n//# sourceMappingURL=MutationAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar util_1 = require(\"../util\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar CreateAlgorithm_1 = require(\"./CreateAlgorithm\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar EventAlgorithm_1 = require(\"./EventAlgorithm\");\n/**\n * Queues a mutation observer microtask to the surrounding agent’s mutation\n * observers.\n */\nfunction observer_queueAMutationObserverMicrotask() {\n /**\n * 1. If the surrounding agent’s mutation observer microtask queued is true,\n * then return.\n * 2. Set the surrounding agent’s mutation observer microtask queued to true.\n * 3. Queue a microtask to notify mutation observers.\n */\n var window = DOMImpl_1.dom.window;\n if (window._mutationObserverMicrotaskQueued)\n return;\n window._mutationObserverMicrotaskQueued = true;\n Promise.resolve().then(function () { observer_notifyMutationObservers(); });\n}\nexports.observer_queueAMutationObserverMicrotask = observer_queueAMutationObserverMicrotask;\n/**\n * Notifies the surrounding agent’s mutation observers.\n */\nfunction observer_notifyMutationObservers() {\n var e_1, _a, e_2, _b;\n /**\n * 1. Set the surrounding agent’s mutation observer microtask queued to false.\n * 2. Let notifySet be a clone of the surrounding agent’s mutation observers.\n * 3. Let signalSet be a clone of the surrounding agent’s signal slots.\n * 4. Empty the surrounding agent’s signal slots.\n */\n var window = DOMImpl_1.dom.window;\n window._mutationObserverMicrotaskQueued = false;\n var notifySet = infra_1.set.clone(window._mutationObservers);\n var signalSet = infra_1.set.clone(window._signalSlots);\n infra_1.set.empty(window._signalSlots);\n var _loop_1 = function (mo) {\n /**\n * 5.1. Let records be a clone of mo’s record queue.\n * 5.2. Empty mo’s record queue.\n */\n var records = infra_1.list.clone(mo._recordQueue);\n infra_1.list.empty(mo._recordQueue);\n /**\n * 5.3. For each node of mo’s node list, remove all transient registered\n * observers whose observer is mo from node’s registered observer list.\n */\n for (var i = 0; i < mo._nodeList.length; i++) {\n var node = mo._nodeList[i];\n infra_1.list.remove(node._registeredObserverList, function (observer) {\n return util_1.Guard.isTransientRegisteredObserver(observer) && observer.observer === mo;\n });\n }\n /**\n * 5.4. If records is not empty, then invoke mo’s callback with « records,\n * mo », and mo. If this throws an exception, then report the exception.\n */\n if (!infra_1.list.isEmpty(records)) {\n try {\n mo._callback.call(mo, records, mo);\n }\n catch (err) {\n // TODO: Report the exception\n }\n }\n };\n try {\n /**\n * 5. For each mo of notifySet:\n */\n for (var notifySet_1 = __values(notifySet), notifySet_1_1 = notifySet_1.next(); !notifySet_1_1.done; notifySet_1_1 = notifySet_1.next()) {\n var mo = notifySet_1_1.value;\n _loop_1(mo);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (notifySet_1_1 && !notifySet_1_1.done && (_a = notifySet_1.return)) _a.call(notifySet_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n /**\n * 6. For each slot of signalSet, fire an event named slotchange, with its\n * bubbles attribute set to true, at slot.\n */\n if (DOMImpl_1.dom.features.slots) {\n try {\n for (var signalSet_1 = __values(signalSet), signalSet_1_1 = signalSet_1.next(); !signalSet_1_1.done; signalSet_1_1 = signalSet_1.next()) {\n var slot = signalSet_1_1.value;\n EventAlgorithm_1.event_fireAnEvent(\"slotchange\", slot, undefined, { bubbles: true });\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (signalSet_1_1 && !signalSet_1_1.done && (_b = signalSet_1.return)) _b.call(signalSet_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n}\nexports.observer_notifyMutationObservers = observer_notifyMutationObservers;\n/**\n * Queues a mutation record of the given type for target.\n *\n * @param type - mutation record type\n * @param target - target node\n * @param name - name before mutation\n * @param namespace - namespace before mutation\n * @param oldValue - attribute value before mutation\n * @param addedNodes - a list od added nodes\n * @param removedNodes - a list of removed nodes\n * @param previousSibling - previous sibling of target before mutation\n * @param nextSibling - next sibling of target before mutation\n */\nfunction observer_queueMutationRecord(type, target, name, namespace, oldValue, addedNodes, removedNodes, previousSibling, nextSibling) {\n var e_3, _a;\n /**\n * 1. Let interestedObservers be an empty map.\n * 2. Let nodes be the inclusive ancestors of target.\n * 3. For each node in nodes, and then for each registered of node’s\n * registered observer list:\n */\n var interestedObservers = new Map();\n var node = TreeAlgorithm_1.tree_getFirstAncestorNode(target, true);\n while (node !== null) {\n for (var i = 0; i < node._registeredObserverList.length; i++) {\n var registered = node._registeredObserverList[i];\n /**\n * 3.1. Let options be registered’s options.\n * 3.2. If none of the following are true\n * - node is not target and options’s subtree is false\n * - type is \"attributes\" and options’s attributes is not true\n * - type is \"attributes\", options’s attributeFilter is present, and\n * options’s attributeFilter does not contain name or namespace is\n * non-null\n * - type is \"characterData\" and options’s characterData is not true\n * - type is \"childList\" and options’s childList is false\n */\n var options = registered.options;\n if (node !== target && !options.subtree)\n continue;\n if (type === \"attributes\" && !options.attributes)\n continue;\n if (type === \"attributes\" && options.attributeFilter &&\n (!options.attributeFilter.indexOf(name || '') || namespace !== null))\n continue;\n if (type === \"characterData\" && !options.characterData)\n continue;\n if (type === \"childList\" && !options.childList)\n continue;\n /**\n * then:\n * 3.2.1. Let mo be registered’s observer.\n * 3.2.2. If interestedObservers[mo] does not exist, then set\n * interestedObservers[mo] to null.\n * 3.2.3. If either type is \"attributes\" and options’s attributeOldValue\n * is true, or type is \"characterData\" and options’s\n * characterDataOldValue is true, then set interestedObservers[mo]\n * to oldValue.\n */\n var mo = registered.observer;\n if (!interestedObservers.has(mo)) {\n interestedObservers.set(mo, null);\n }\n if ((type === \"attributes\" && options.attributeOldValue) ||\n (type === \"characterData\" && options.characterDataOldValue)) {\n interestedObservers.set(mo, oldValue);\n }\n }\n node = TreeAlgorithm_1.tree_getNextAncestorNode(target, node, true);\n }\n try {\n /**\n * 4. For each observer → mappedOldValue of interestedObservers:\n */\n for (var interestedObservers_1 = __values(interestedObservers), interestedObservers_1_1 = interestedObservers_1.next(); !interestedObservers_1_1.done; interestedObservers_1_1 = interestedObservers_1.next()) {\n var _b = __read(interestedObservers_1_1.value, 2), observer = _b[0], mappedOldValue = _b[1];\n /**\n * 4.1. Let record be a new MutationRecord object with its type set to\n * type, target set to target, attributeName set to name,\n * attributeNamespace set to namespace, oldValue set to mappedOldValue,\n * addedNodes set to addedNodes, removedNodes set to removedNodes,\n * previousSibling set to previousSibling, and nextSibling set to\n * nextSibling.\n * 4.2. Enqueue record to observer’s record queue.\n */\n var record = CreateAlgorithm_1.create_mutationRecord(type, target, CreateAlgorithm_1.create_nodeListStatic(target, addedNodes), CreateAlgorithm_1.create_nodeListStatic(target, removedNodes), previousSibling, nextSibling, name, namespace, mappedOldValue);\n var queue = observer._recordQueue;\n queue.push(record);\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (interestedObservers_1_1 && !interestedObservers_1_1.done && (_a = interestedObservers_1.return)) _a.call(interestedObservers_1);\n }\n finally { if (e_3) throw e_3.error; }\n }\n /**\n * 5. Queue a mutation observer microtask.\n */\n observer_queueAMutationObserverMicrotask();\n}\nexports.observer_queueMutationRecord = observer_queueMutationRecord;\n/**\n * Queues a tree mutation record for target.\n *\n * @param target - target node\n * @param addedNodes - a list od added nodes\n * @param removedNodes - a list of removed nodes\n * @param previousSibling - previous sibling of target before mutation\n * @param nextSibling - next sibling of target before mutation\n */\nfunction observer_queueTreeMutationRecord(target, addedNodes, removedNodes, previousSibling, nextSibling) {\n /**\n * To queue a tree mutation record for target with addedNodes, removedNodes,\n * previousSibling, and nextSibling, queue a mutation record of \"childList\"\n * for target with null, null, null, addedNodes, removedNodes,\n * previousSibling, and nextSibling.\n */\n observer_queueMutationRecord(\"childList\", target, null, null, null, addedNodes, removedNodes, previousSibling, nextSibling);\n}\nexports.observer_queueTreeMutationRecord = observer_queueTreeMutationRecord;\n/**\n * Queues an attribute mutation record for target.\n *\n * @param target - target node\n * @param name - name before mutation\n * @param namespace - namespace before mutation\n * @param oldValue - attribute value before mutation\n */\nfunction observer_queueAttributeMutationRecord(target, name, namespace, oldValue) {\n /**\n * To queue an attribute mutation record for target with name, namespace,\n * and oldValue, queue a mutation record of \"attributes\" for target with\n * name, namespace, oldValue, « », « », null, and null.\n */\n observer_queueMutationRecord(\"attributes\", target, name, namespace, oldValue, [], [], null, null);\n}\nexports.observer_queueAttributeMutationRecord = observer_queueAttributeMutationRecord;\n//# sourceMappingURL=MutationObserverAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar XMLAlgorithm_1 = require(\"./XMLAlgorithm\");\n/**\n * Validates the given qualified name.\n *\n * @param qualifiedName - qualified name\n */\nfunction namespace_validate(qualifiedName) {\n /**\n * To validate a qualifiedName, throw an \"InvalidCharacterError\"\n * DOMException if qualifiedName does not match the Name or QName\n * production.\n */\n if (!XMLAlgorithm_1.xml_isName(qualifiedName))\n throw new DOMException_1.InvalidCharacterError(\"Invalid XML name: \" + qualifiedName);\n if (!XMLAlgorithm_1.xml_isQName(qualifiedName))\n throw new DOMException_1.InvalidCharacterError(\"Invalid XML qualified name: \" + qualifiedName + \".\");\n}\nexports.namespace_validate = namespace_validate;\n/**\n * Validates and extracts a namespace, prefix and localName from the\n * given namespace and qualified name.\n * See: https://dom.spec.whatwg.org/#validate-and-extract.\n *\n * @param namespace - namespace\n * @param qualifiedName - qualified name\n *\n * @returns a tuple with `namespace`, `prefix` and `localName`.\n */\nfunction namespace_validateAndExtract(namespace, qualifiedName) {\n /**\n * 1. If namespace is the empty string, set it to null.\n * 2. Validate qualifiedName.\n * 3. Let prefix be null.\n * 4. Let localName be qualifiedName.\n * 5. If qualifiedName contains a \":\" (U+003E), then split the string on it\n * and set prefix to the part before and localName to the part after.\n * 6. If prefix is non-null and namespace is null, then throw a\n * \"NamespaceError\" DOMException.\n * 7. If prefix is \"xml\" and namespace is not the XML namespace, then throw\n * a \"NamespaceError\" DOMException.\n * 8. If either qualifiedName or prefix is \"xmlns\" and namespace is not the\n * XMLNS namespace, then throw a \"NamespaceError\" DOMException.\n * 9. If namespace is the XMLNS namespace and neither qualifiedName nor\n * prefix is \"xmlns\", then throw a \"NamespaceError\" DOMException.\n * 10. Return namespace, prefix, and localName.\n */\n if (!namespace)\n namespace = null;\n namespace_validate(qualifiedName);\n var parts = qualifiedName.split(':');\n var prefix = (parts.length === 2 ? parts[0] : null);\n var localName = (parts.length === 2 ? parts[1] : qualifiedName);\n if (prefix && namespace === null)\n throw new DOMException_1.NamespaceError(\"Qualified name includes a prefix but the namespace is null.\");\n if (prefix === \"xml\" && namespace !== infra_1.namespace.XML)\n throw new DOMException_1.NamespaceError(\"Qualified name includes the \\\"xml\\\" prefix but the namespace is not the XML namespace.\");\n if (namespace !== infra_1.namespace.XMLNS &&\n (prefix === \"xmlns\" || qualifiedName === \"xmlns\"))\n throw new DOMException_1.NamespaceError(\"Qualified name includes the \\\"xmlns\\\" prefix but the namespace is not the XMLNS namespace.\");\n if (namespace === infra_1.namespace.XMLNS &&\n (prefix !== \"xmlns\" && qualifiedName !== \"xmlns\"))\n throw new DOMException_1.NamespaceError(\"Qualified name does not include the \\\"xmlns\\\" prefix but the namespace is the XMLNS namespace.\");\n return [namespace, prefix, localName];\n}\nexports.namespace_validateAndExtract = namespace_validateAndExtract;\n/**\n * Extracts a prefix and localName from the given qualified name.\n *\n * @param qualifiedName - qualified name\n *\n * @returns an tuple with `prefix` and `localName`.\n */\nfunction namespace_extractQName(qualifiedName) {\n namespace_validate(qualifiedName);\n var parts = qualifiedName.split(':');\n var prefix = (parts.length === 2 ? parts[0] : null);\n var localName = (parts.length === 2 ? parts[1] : qualifiedName);\n return [prefix, localName];\n}\nexports.namespace_extractQName = namespace_extractQName;\n//# sourceMappingURL=NamespaceAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar util_1 = require(\"../util\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar CreateAlgorithm_1 = require(\"./CreateAlgorithm\");\nvar OrderedSetAlgorithm_1 = require(\"./OrderedSetAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\nvar MutationAlgorithm_1 = require(\"./MutationAlgorithm\");\nvar ElementAlgorithm_1 = require(\"./ElementAlgorithm\");\n/**\n * Replaces the contents of the given node with a single text node.\n *\n * @param string - node contents\n * @param parent - a node\n */\nfunction node_stringReplaceAll(str, parent) {\n /**\n * 1. Let node be null.\n * 2. If string is not the empty string, then set node to a new Text node\n * whose data is string and node document is parent’s node document.\n * 3. Replace all with node within parent.\n */\n var node = null;\n if (str !== '') {\n node = CreateAlgorithm_1.create_text(parent._nodeDocument, str);\n }\n MutationAlgorithm_1.mutation_replaceAll(node, parent);\n}\nexports.node_stringReplaceAll = node_stringReplaceAll;\n/**\n * Clones a node.\n *\n * @param node - a node to clone\n * @param document - the document to own the cloned node\n * @param cloneChildrenFlag - whether to clone node's children\n */\nfunction node_clone(node, document, cloneChildrenFlag) {\n var e_1, _a, e_2, _b;\n if (document === void 0) { document = null; }\n if (cloneChildrenFlag === void 0) { cloneChildrenFlag = false; }\n /**\n * 1. If document is not given, let document be node’s node document.\n */\n if (document === null)\n document = node._nodeDocument;\n var copy;\n if (util_1.Guard.isElementNode(node)) {\n /**\n * 2. If node is an element, then:\n * 2.1. Let copy be the result of creating an element, given document,\n * node’s local name, node’s namespace, node’s namespace prefix,\n * and node’s is value, with the synchronous custom elements flag unset.\n * 2.2. For each attribute in node’s attribute list:\n * 2.2.1. Let copyAttribute be a clone of attribute.\n * 2.2.2. Append copyAttribute to copy.\n */\n copy = ElementAlgorithm_1.element_createAnElement(document, node._localName, node._namespace, node._namespacePrefix, node._is, false);\n try {\n for (var _c = __values(node._attributeList), _d = _c.next(); !_d.done; _d = _c.next()) {\n var attribute = _d.value;\n var copyAttribute = node_clone(attribute, document);\n ElementAlgorithm_1.element_append(copyAttribute, copy);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n else {\n /**\n * 3. Otherwise, let copy be a node that implements the same interfaces as\n * node, and fulfills these additional requirements, switching on node:\n * - Document\n * Set copy’s encoding, content type, URL, origin, type, and mode, to those\n * of node.\n * - DocumentType\n * Set copy’s name, public ID, and system ID, to those of node.\n * - Attr\n * Set copy’s namespace, namespace prefix, local name, and value, to\n * those of node.\n * - Text\n * - Comment\n * Set copy’s data, to that of node.\n * - ProcessingInstruction\n * Set copy’s target and data to those of node.\n * - Any other node\n */\n if (util_1.Guard.isDocumentNode(node)) {\n var doc = CreateAlgorithm_1.create_document();\n doc._encoding = node._encoding;\n doc._contentType = node._contentType;\n doc._URL = node._URL;\n doc._origin = node._origin;\n doc._type = node._type;\n doc._mode = node._mode;\n copy = doc;\n }\n else if (util_1.Guard.isDocumentTypeNode(node)) {\n var doctype = CreateAlgorithm_1.create_documentType(document, node._name, node._publicId, node._systemId);\n copy = doctype;\n }\n else if (util_1.Guard.isAttrNode(node)) {\n var attr = CreateAlgorithm_1.create_attr(document, node.localName);\n attr._namespace = node._namespace;\n attr._namespacePrefix = node._namespacePrefix;\n attr._value = node._value;\n copy = attr;\n }\n else if (util_1.Guard.isExclusiveTextNode(node)) {\n copy = CreateAlgorithm_1.create_text(document, node._data);\n }\n else if (util_1.Guard.isCDATASectionNode(node)) {\n copy = CreateAlgorithm_1.create_cdataSection(document, node._data);\n }\n else if (util_1.Guard.isCommentNode(node)) {\n copy = CreateAlgorithm_1.create_comment(document, node._data);\n }\n else if (util_1.Guard.isProcessingInstructionNode(node)) {\n copy = CreateAlgorithm_1.create_processingInstruction(document, node._target, node._data);\n }\n else if (util_1.Guard.isDocumentFragmentNode(node)) {\n copy = CreateAlgorithm_1.create_documentFragment(document);\n }\n else {\n copy = Object.create(node);\n }\n }\n /**\n * 4. Set copy’s node document and document to copy, if copy is a document,\n * and set copy’s node document to document otherwise.\n */\n if (util_1.Guard.isDocumentNode(copy)) {\n copy._nodeDocument = copy;\n document = copy;\n }\n else {\n copy._nodeDocument = document;\n }\n /**\n * 5. Run any cloning steps defined for node in other applicable\n * specifications and pass copy, node, document and the clone children flag\n * if set, as parameters.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runCloningSteps(copy, node, document, cloneChildrenFlag);\n }\n /**\n * 6. If the clone children flag is set, clone all the children of node and\n * append them to copy, with document as specified and the clone children\n * flag being set.\n */\n if (cloneChildrenFlag) {\n try {\n for (var _e = __values(node._children), _f = _e.next(); !_f.done; _f = _e.next()) {\n var child = _f.value;\n var childCopy = node_clone(child, document, true);\n MutationAlgorithm_1.mutation_append(childCopy, copy);\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_b = _e.return)) _b.call(_e);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n /**\n * 7. Return copy.\n */\n return copy;\n}\nexports.node_clone = node_clone;\n/**\n * Determines if two nodes can be considered equal.\n *\n * @param a - node to compare\n * @param b - node to compare\n */\nfunction node_equals(a, b) {\n var e_3, _a, e_4, _b;\n /**\n * 1. A and B’s nodeType attribute value is identical.\n */\n if (a._nodeType !== b._nodeType)\n return false;\n /**\n * 2. The following are also equal, depending on A:\n * - DocumentType\n * Its name, public ID, and system ID.\n * - Element\n * Its namespace, namespace prefix, local name, and its attribute list’s size.\n * - Attr\n * Its namespace, local name, and value.\n * - ProcessingInstruction\n * Its target and data.\n * - Text\n * - Comment\n * Its data.\n */\n if (util_1.Guard.isDocumentTypeNode(a) && util_1.Guard.isDocumentTypeNode(b)) {\n if (a._name !== b._name || a._publicId !== b._publicId ||\n a._systemId !== b._systemId)\n return false;\n }\n else if (util_1.Guard.isElementNode(a) && util_1.Guard.isElementNode(b)) {\n if (a._namespace !== b._namespace || a._namespacePrefix !== b._namespacePrefix ||\n a._localName !== b._localName ||\n a._attributeList.length !== b._attributeList.length)\n return false;\n }\n else if (util_1.Guard.isAttrNode(a) && util_1.Guard.isAttrNode(b)) {\n if (a._namespace !== b._namespace || a._localName !== b._localName ||\n a._value !== b._value)\n return false;\n }\n else if (util_1.Guard.isProcessingInstructionNode(a) && util_1.Guard.isProcessingInstructionNode(b)) {\n if (a._target !== b._target || a._data !== b._data)\n return false;\n }\n else if (util_1.Guard.isCharacterDataNode(a) && util_1.Guard.isCharacterDataNode(b)) {\n if (a._data !== b._data)\n return false;\n }\n /**\n * 3. If A is an element, each attribute in its attribute list has an attribute\n * that equals an attribute in B’s attribute list.\n */\n if (util_1.Guard.isElementNode(a) && util_1.Guard.isElementNode(b)) {\n var attrMap = {};\n try {\n for (var _c = __values(a._attributeList), _d = _c.next(); !_d.done; _d = _c.next()) {\n var attrA = _d.value;\n attrMap[attrA._localName] = attrA;\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_3) throw e_3.error; }\n }\n try {\n for (var _e = __values(b._attributeList), _f = _e.next(); !_f.done; _f = _e.next()) {\n var attrB = _f.value;\n var attrA = attrMap[attrB._localName];\n if (!attrA)\n return false;\n if (!node_equals(attrA, attrB))\n return false;\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_b = _e.return)) _b.call(_e);\n }\n finally { if (e_4) throw e_4.error; }\n }\n }\n /**\n * 4. A and B have the same number of children.\n * 5. Each child of A equals the child of B at the identical index.\n */\n if (a._children.size !== b._children.size)\n return false;\n var itA = a._children[Symbol.iterator]();\n var itB = b._children[Symbol.iterator]();\n var resultA = itA.next();\n var resultB = itB.next();\n while (!resultA.done && !resultB.done) {\n var child1 = resultA.value;\n var child2 = resultB.value;\n if (!node_equals(child1, child2))\n return false;\n resultA = itA.next();\n resultB = itB.next();\n }\n return true;\n}\nexports.node_equals = node_equals;\n/**\n * Returns a collection of elements with the given qualified name which are\n * descendants of the given root node.\n * See: https://dom.spec.whatwg.org/#concept-getelementsbytagname\n *\n * @param qualifiedName - qualified name\n * @param root - root node\n */\nfunction node_listOfElementsWithQualifiedName(qualifiedName, root) {\n /**\n * 1. If qualifiedName is \"*\" (U+002A), return a HTMLCollection rooted at\n * root, whose filter matches only descendant elements.\n * 2. Otherwise, if root’s node document is an HTML document, return a\n * HTMLCollection rooted at root, whose filter matches the following\n * descendant elements:\n * 2.1. Whose namespace is the HTML namespace and whose qualified name is\n * qualifiedName, in ASCII lowercase.\n * 2.2. Whose namespace is not the HTML namespace and whose qualified name\n * is qualifiedName.\n * 3. Otherwise, return a HTMLCollection rooted at root, whose filter\n * matches descendant elements whose qualified name is qualifiedName.\n */\n if (qualifiedName === \"*\") {\n return CreateAlgorithm_1.create_htmlCollection(root);\n }\n else if (root._nodeDocument._type === \"html\") {\n return CreateAlgorithm_1.create_htmlCollection(root, function (ele) {\n if (ele._namespace === infra_1.namespace.HTML &&\n ele._qualifiedName === qualifiedName.toLowerCase()) {\n return true;\n }\n else if (ele._namespace !== infra_1.namespace.HTML &&\n ele._qualifiedName === qualifiedName) {\n return true;\n }\n else {\n return false;\n }\n });\n }\n else {\n return CreateAlgorithm_1.create_htmlCollection(root, function (ele) {\n return (ele._qualifiedName === qualifiedName);\n });\n }\n}\nexports.node_listOfElementsWithQualifiedName = node_listOfElementsWithQualifiedName;\n/**\n * Returns a collection of elements with the given namespace which are\n * descendants of the given root node.\n * See: https://dom.spec.whatwg.org/#concept-getelementsbytagnamens\n *\n * @param namespace - element namespace\n * @param localName - local name\n * @param root - root node\n */\nfunction node_listOfElementsWithNamespace(namespace, localName, root) {\n /**\n * 1. If namespace is the empty string, set it to null.\n * 2. If both namespace and localName are \"*\" (U+002A), return a\n * HTMLCollection rooted at root, whose filter matches descendant elements.\n * 3. Otherwise, if namespace is \"*\" (U+002A), return a HTMLCollection\n * rooted at root, whose filter matches descendant elements whose local\n * name is localName.\n * 4. Otherwise, if localName is \"*\" (U+002A), return a HTMLCollection\n * rooted at root, whose filter matches descendant elements whose\n * namespace is namespace.\n * 5. Otherwise, return a HTMLCollection rooted at root, whose filter\n * matches descendant elements whose namespace is namespace and local\n * name is localName.\n */\n if (namespace === '')\n namespace = null;\n if (namespace === \"*\" && localName === \"*\") {\n return CreateAlgorithm_1.create_htmlCollection(root);\n }\n else if (namespace === \"*\") {\n return CreateAlgorithm_1.create_htmlCollection(root, function (ele) {\n return (ele._localName === localName);\n });\n }\n else if (localName === \"*\") {\n return CreateAlgorithm_1.create_htmlCollection(root, function (ele) {\n return (ele._namespace === namespace);\n });\n }\n else {\n return CreateAlgorithm_1.create_htmlCollection(root, function (ele) {\n return (ele._localName === localName && ele._namespace === namespace);\n });\n }\n}\nexports.node_listOfElementsWithNamespace = node_listOfElementsWithNamespace;\n/**\n * Returns a collection of elements with the given class names which are\n * descendants of the given root node.\n * See: https://dom.spec.whatwg.org/#concept-getelementsbyclassname\n *\n * @param namespace - element namespace\n * @param localName - local name\n * @param root - root node\n */\nfunction node_listOfElementsWithClassNames(classNames, root) {\n /**\n * 1. Let classes be the result of running the ordered set parser\n * on classNames.\n * 2. If classes is the empty set, return an empty HTMLCollection.\n * 3. Return a HTMLCollection rooted at root, whose filter matches\n * descendant elements that have all their classes in classes.\n * The comparisons for the classes must be done in an ASCII case-insensitive\n * manner if root’s node document’s mode is \"quirks\", and in a\n * case-sensitive manner otherwise.\n */\n var classes = OrderedSetAlgorithm_1.orderedSet_parse(classNames);\n if (classes.size === 0) {\n return CreateAlgorithm_1.create_htmlCollection(root, function () { return false; });\n }\n var caseSensitive = (root._nodeDocument._mode !== \"quirks\");\n return CreateAlgorithm_1.create_htmlCollection(root, function (ele) {\n var eleClasses = ele.classList;\n return OrderedSetAlgorithm_1.orderedSet_contains(eleClasses._tokenSet, classes, caseSensitive);\n });\n}\nexports.node_listOfElementsWithClassNames = node_listOfElementsWithClassNames;\n/**\n * Searches for a namespace prefix associated with the given namespace\n * starting from the given element through its ancestors.\n *\n * @param element - an element node to start searching at\n * @param namespace - namespace to search for\n */\nfunction node_locateANamespacePrefix(element, namespace) {\n /**\n * 1. If element’s namespace is namespace and its namespace prefix is not\n * null, then return its namespace prefix.\n */\n if (element._namespace === namespace && element._namespacePrefix !== null) {\n return element._namespacePrefix;\n }\n /**\n * 2. If element has an attribute whose namespace prefix is \"xmlns\" and\n * value is namespace, then return element’s first such attribute’s\n * local name.\n */\n for (var i = 0; i < element._attributeList.length; i++) {\n var attr = element._attributeList[i];\n if (attr._namespacePrefix === \"xmlns\" && attr._value === namespace) {\n return attr._localName;\n }\n }\n /**\n * 3. If element’s parent element is not null, then return the result of\n * running locate a namespace prefix on that element using namespace.\n */\n if (element._parent && util_1.Guard.isElementNode(element._parent)) {\n return node_locateANamespacePrefix(element._parent, namespace);\n }\n /**\n * 4. Return null.\n */\n return null;\n}\nexports.node_locateANamespacePrefix = node_locateANamespacePrefix;\n/**\n * Searches for a namespace associated with the given namespace prefix\n * starting from the given node through its ancestors.\n *\n * @param node - a node to start searching at\n * @param prefix - namespace prefix to search for\n */\nfunction node_locateANamespace(node, prefix) {\n if (util_1.Guard.isElementNode(node)) {\n /**\n * 1. If its namespace is not null and its namespace prefix is prefix,\n * then return namespace.\n */\n if (node._namespace !== null && node._namespacePrefix === prefix) {\n return node._namespace;\n }\n /**\n * 2. If it has an attribute whose namespace is the XMLNS namespace,\n * namespace prefix is \"xmlns\", and local name is prefix, or if prefix\n * is null and it has an attribute whose namespace is the XMLNS namespace,\n * namespace prefix is null, and local name is \"xmlns\", then return its\n * value if it is not the empty string, and null otherwise.\n */\n for (var i = 0; i < node._attributeList.length; i++) {\n var attr = node._attributeList[i];\n if (attr._namespace === infra_1.namespace.XMLNS &&\n attr._namespacePrefix === \"xmlns\" &&\n attr._localName === prefix) {\n return attr._value || null;\n }\n if (prefix === null && attr._namespace === infra_1.namespace.XMLNS &&\n attr._namespacePrefix === null && attr._localName === \"xmlns\") {\n return attr._value || null;\n }\n }\n /**\n * 3. If its parent element is null, then return null.\n */\n if (node.parentElement === null)\n return null;\n /**\n * 4. Return the result of running locate a namespace on its parent\n * element using prefix.\n */\n return node_locateANamespace(node.parentElement, prefix);\n }\n else if (util_1.Guard.isDocumentNode(node)) {\n /**\n * 1. If its document element is null, then return null.\n * 2. Return the result of running locate a namespace on its document\n * element using prefix.\n */\n if (node.documentElement === null)\n return null;\n return node_locateANamespace(node.documentElement, prefix);\n }\n else if (util_1.Guard.isDocumentTypeNode(node) || util_1.Guard.isDocumentFragmentNode(node)) {\n return null;\n }\n else if (util_1.Guard.isAttrNode(node)) {\n /**\n * 1. If its element is null, then return null.\n * 2. Return the result of running locate a namespace on its element\n * using prefix.\n */\n if (node._element === null)\n return null;\n return node_locateANamespace(node._element, prefix);\n }\n else {\n /**\n * 1. If its parent element is null, then return null.\n * 2. Return the result of running locate a namespace on its parent\n * element using prefix.\n */\n if (!node._parent || !util_1.Guard.isElementNode(node._parent))\n return null;\n return node_locateANamespace(node._parent, prefix);\n }\n}\nexports.node_locateANamespace = node_locateANamespace;\n//# sourceMappingURL=NodeAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar TraversalAlgorithm_1 = require(\"./TraversalAlgorithm\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\n/**\n * Returns the next or previous node in the subtree, or `null` if\n * there are none.\n *\n * @param iterator - the `NodeIterator` instance\n * @param forward- `true` to return the next node, or `false` to\n * return the previous node.\n */\nfunction nodeIterator_traverse(iterator, forward) {\n /**\n * 1. Let node be iterator’s reference.\n * 2. Let beforeNode be iterator’s pointer before reference.\n */\n var node = iterator._reference;\n var beforeNode = iterator._pointerBeforeReference;\n /**\n * 3. While true:\n */\n while (true) {\n /**\n * 3.1. Branch on direction:\n */\n if (forward) {\n /**\n * - next\n */\n if (!beforeNode) {\n /**\n * If beforeNode is false, then set node to the first node following\n * node in iterator’s iterator collection. If there is no such node,\n * then return null.\n */\n var nextNode = TreeAlgorithm_1.tree_getFollowingNode(iterator._root, node);\n if (nextNode) {\n node = nextNode;\n }\n else {\n return null;\n }\n }\n else {\n /**\n * If beforeNode is true, then set it to false.\n */\n beforeNode = false;\n }\n }\n else {\n /**\n * - previous\n */\n if (beforeNode) {\n /**\n * If beforeNode is true, then set node to the first node preceding\n * node in iterator’s iterator collection. If there is no such node,\n * then return null.\n */\n var prevNode = TreeAlgorithm_1.tree_getPrecedingNode(iterator.root, node);\n if (prevNode) {\n node = prevNode;\n }\n else {\n return null;\n }\n }\n else {\n /**\n * If beforeNode is false, then set it to true.\n */\n beforeNode = true;\n }\n }\n /**\n * 3.2. Let result be the result of filtering node within iterator.\n * 3.3. If result is FILTER_ACCEPT, then break.\n */\n var result = TraversalAlgorithm_1.traversal_filter(iterator, node);\n if (result === interfaces_1.FilterResult.Accept) {\n break;\n }\n }\n /**\n * 4. Set iterator’s reference to node.\n * 5. Set iterator’s pointer before reference to beforeNode.\n * 6. Return node.\n */\n iterator._reference = node;\n iterator._pointerBeforeReference = beforeNode;\n return node;\n}\nexports.nodeIterator_traverse = nodeIterator_traverse;\n/**\n * Gets the global iterator list.\n */\nfunction nodeIterator_iteratorList() {\n return DOMImpl_1.dom.window._iteratorList;\n}\nexports.nodeIterator_iteratorList = nodeIterator_iteratorList;\n//# sourceMappingURL=NodeIteratorAlgorithm.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar infra_1 = require(\"@oozcitak/infra\");\n/**\n * Converts a whitespace separated string into an array of tokens.\n *\n * @param value - a string of whitespace separated tokens\n */\nfunction orderedSet_parse(value) {\n /**\n * 1. Let inputTokens be the result of splitting input on ASCII whitespace.\n * 2. Let tokens be a new ordered set.\n * 3. For each token in inputTokens, append token to tokens.\n * 4. Return tokens.\n */\n var inputTokens = infra_1.string.splitAStringOnASCIIWhitespace(value);\n return new Set(inputTokens);\n}\nexports.orderedSet_parse = orderedSet_parse;\n/**\n * Converts an array of tokens into a space separated string.\n *\n * @param tokens - an array of token strings\n */\nfunction orderedSet_serialize(tokens) {\n /**\n * The ordered set serializer takes a set and returns the concatenation of\n * set using U+0020 SPACE.\n */\n return __spread(tokens).join(' ');\n}\nexports.orderedSet_serialize = orderedSet_serialize;\n/**\n * Removes duplicate tokens and convert all whitespace characters\n * to space.\n *\n * @param value - a string of whitespace separated tokens\n */\nfunction orderedSet_sanitize(value) {\n return orderedSet_serialize(orderedSet_parse(value));\n}\nexports.orderedSet_sanitize = orderedSet_sanitize;\n/**\n * Determines whether a set contains the other.\n *\n * @param set1 - a set\n * @param set1 - a set that is contained in set1\n * @param caseSensitive - whether matches are case-sensitive\n */\nfunction orderedSet_contains(set1, set2, caseSensitive) {\n var e_1, _a, e_2, _b;\n try {\n for (var set2_1 = __values(set2), set2_1_1 = set2_1.next(); !set2_1_1.done; set2_1_1 = set2_1.next()) {\n var val2 = set2_1_1.value;\n var found = false;\n try {\n for (var set1_1 = (e_2 = void 0, __values(set1)), set1_1_1 = set1_1.next(); !set1_1_1.done; set1_1_1 = set1_1.next()) {\n var val1 = set1_1_1.value;\n if (caseSensitive) {\n if (val1 === val2) {\n found = true;\n break;\n }\n }\n else {\n if (val1.toUpperCase() === val2.toUpperCase()) {\n found = true;\n break;\n }\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (set1_1_1 && !set1_1_1.done && (_b = set1_1.return)) _b.call(set1_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n if (!found)\n return false;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (set2_1_1 && !set2_1_1.done && (_a = set2_1.return)) _a.call(set2_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return true;\n}\nexports.orderedSet_contains = orderedSet_contains;\n//# sourceMappingURL=OrderedSetAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar CreateAlgorithm_1 = require(\"./CreateAlgorithm\");\n/**\n * Converts the given nodes or strings into a node (if `nodes` has\n * only one element) or a document fragment.\n *\n * @param nodes - the array of nodes or strings,\n * @param document - owner document\n */\nfunction parentNode_convertNodesIntoANode(nodes, document) {\n var e_1, _a;\n /**\n * 1. Let node be null.\n * 2. Replace each string in nodes with a new Text node whose data is the\n * string and node document is document.\n */\n var node = null;\n for (var i = 0; i < nodes.length; i++) {\n var item = nodes[i];\n if (util_1.isString(item)) {\n var text = CreateAlgorithm_1.create_text(document, item);\n nodes[i] = text;\n }\n }\n /**\n * 3. If nodes contains one node, set node to that node.\n * 4. Otherwise, set node to a new DocumentFragment whose node document is\n * document, and then append each node in nodes, if any, to it.\n */\n if (nodes.length === 1) {\n node = nodes[0];\n }\n else {\n node = CreateAlgorithm_1.create_documentFragment(document);\n var ns = node;\n try {\n for (var nodes_1 = __values(nodes), nodes_1_1 = nodes_1.next(); !nodes_1_1.done; nodes_1_1 = nodes_1.next()) {\n var item = nodes_1_1.value;\n ns.appendChild(item);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (nodes_1_1 && !nodes_1_1.done && (_a = nodes_1.return)) _a.call(nodes_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n /**\n * 5. Return node.\n */\n return node;\n}\nexports.parentNode_convertNodesIntoANode = parentNode_convertNodesIntoANode;\n//# sourceMappingURL=ParentNodeAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar util_1 = require(\"../util\");\nvar CreateAlgorithm_1 = require(\"./CreateAlgorithm\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar BoundaryPointAlgorithm_1 = require(\"./BoundaryPointAlgorithm\");\nvar CharacterDataAlgorithm_1 = require(\"./CharacterDataAlgorithm\");\nvar NodeAlgorithm_1 = require(\"./NodeAlgorithm\");\nvar MutationAlgorithm_1 = require(\"./MutationAlgorithm\");\nvar TextAlgorithm_1 = require(\"./TextAlgorithm\");\n/**\n * Determines if the node's start boundary point is at its end boundary\n * point.\n *\n * @param range - a range\n */\nfunction range_collapsed(range) {\n /**\n * A range is collapsed if its start node is its end node and its start offset is its end offset.\n */\n return (range._startNode === range._endNode && range._startOffset === range._endOffset);\n}\nexports.range_collapsed = range_collapsed;\n/**\n * Gets the root node of a range.\n *\n * @param range - a range\n */\nfunction range_root(range) {\n /**\n * The root of a live range is the root of its start node.\n */\n return TreeAlgorithm_1.tree_rootNode(range._startNode);\n}\nexports.range_root = range_root;\n/**\n * Determines if a node is fully contained in a range.\n *\n * @param node - a node\n * @param range - a range\n */\nfunction range_isContained(node, range) {\n /**\n * A node node is contained in a live range range if node’s root is range’s\n * root, and (node, 0) is after range’s start, and (node, node’s length) is\n * before range’s end.\n */\n return (TreeAlgorithm_1.tree_rootNode(node) === range_root(range) &&\n BoundaryPointAlgorithm_1.boundaryPoint_position([node, 0], range._start) === interfaces_1.BoundaryPosition.After &&\n BoundaryPointAlgorithm_1.boundaryPoint_position([node, TreeAlgorithm_1.tree_nodeLength(node)], range._end) === interfaces_1.BoundaryPosition.Before);\n}\nexports.range_isContained = range_isContained;\n/**\n * Determines if a node is partially contained in a range.\n *\n * @param node - a node\n * @param range - a range\n */\nfunction range_isPartiallyContained(node, range) {\n /**\n * A node is partially contained in a live range if it’s an inclusive\n * ancestor of the live range’s start node but not its end node,\n * or vice versa.\n */\n var startCheck = TreeAlgorithm_1.tree_isAncestorOf(range._startNode, node, true);\n var endCheck = TreeAlgorithm_1.tree_isAncestorOf(range._endNode, node, true);\n return (startCheck && !endCheck) || (!startCheck && endCheck);\n}\nexports.range_isPartiallyContained = range_isPartiallyContained;\n/**\n * Sets the start boundary point of a range.\n *\n * @param range - a range\n * @param node - a node\n * @param offset - an offset into node\n */\nfunction range_setTheStart(range, node, offset) {\n /**\n * 1. If node is a doctype, then throw an \"InvalidNodeTypeError\" DOMException.\n * 2. If offset is greater than node’s length, then throw an \"IndexSizeError\"\n * DOMException.\n * 3. Let bp be the boundary point (node, offset).\n * 4. If these steps were invoked as \"set the start\"\n * 4.1. If bp is after the range’s end, or if range’s root is not equal to\n * node’s root, set range’s end to bp.\n * 4.2. Set range’s start to bp.\n */\n if (util_1.Guard.isDocumentTypeNode(node)) {\n throw new DOMException_1.InvalidNodeTypeError();\n }\n if (offset > TreeAlgorithm_1.tree_nodeLength(node)) {\n throw new DOMException_1.IndexSizeError();\n }\n var bp = [node, offset];\n if (range_root(range) !== TreeAlgorithm_1.tree_rootNode(node) ||\n BoundaryPointAlgorithm_1.boundaryPoint_position(bp, range._end) === interfaces_1.BoundaryPosition.After) {\n range._end = bp;\n }\n range._start = bp;\n}\nexports.range_setTheStart = range_setTheStart;\n/**\n * Sets the end boundary point of a range.\n *\n * @param range - a range\n * @param node - a node\n * @param offset - an offset into node\n */\nfunction range_setTheEnd(range, node, offset) {\n /**\n * 1. If node is a doctype, then throw an \"InvalidNodeTypeError\" DOMException.\n * 2. If offset is greater than node’s length, then throw an \"IndexSizeError\"\n * DOMException.\n * 3. Let bp be the boundary point (node, offset).\n * 4. If these steps were invoked as \"set the end\"\n * 4.1. If bp is before the range’s start, or if range’s root is not equal\n * to node’s root, set range’s start to bp.\n * 4.2. Set range’s end to bp.\n */\n if (util_1.Guard.isDocumentTypeNode(node)) {\n throw new DOMException_1.InvalidNodeTypeError();\n }\n if (offset > TreeAlgorithm_1.tree_nodeLength(node)) {\n throw new DOMException_1.IndexSizeError();\n }\n var bp = [node, offset];\n if (range_root(range) !== TreeAlgorithm_1.tree_rootNode(node) ||\n BoundaryPointAlgorithm_1.boundaryPoint_position(bp, range._start) === interfaces_1.BoundaryPosition.Before) {\n range._start = bp;\n }\n range._end = bp;\n}\nexports.range_setTheEnd = range_setTheEnd;\n/**\n * Selects a node.\n *\n * @param range - a range\n * @param node - a node\n */\nfunction range_select(node, range) {\n /**\n * 1. Let parent be node’s parent.\n * 2. If parent is null, then throw an \"InvalidNodeTypeError\" DOMException.\n */\n var parent = node._parent;\n if (parent === null)\n throw new DOMException_1.InvalidNodeTypeError();\n /**\n * 3. Let index be node’s index.\n * 4. Set range’s start to boundary point (parent, index).\n * 5. Set range’s end to boundary point (parent, index plus 1).\n */\n var index = TreeAlgorithm_1.tree_index(node);\n range._start = [parent, index];\n range._end = [parent, index + 1];\n}\nexports.range_select = range_select;\n/**\n * EXtracts the contents of range as a document fragment.\n *\n * @param range - a range\n */\nfunction range_extract(range) {\n var e_1, _a, e_2, _b, e_3, _c;\n /**\n * 1. Let fragment be a new DocumentFragment node whose node document is\n * range’s start node’s node document.\n * 2. If range is collapsed, then return fragment.\n */\n var fragment = CreateAlgorithm_1.create_documentFragment(range._startNode._nodeDocument);\n if (range_collapsed(range))\n return fragment;\n /**\n * 3. Let original start node, original start offset, original end node,\n * and original end offset be range’s start node, start offset, end node,\n * and end offset, respectively.\n */\n var originalStartNode = range._startNode;\n var originalStartOffset = range._startOffset;\n var originalEndNode = range._endNode;\n var originalEndOffset = range._endOffset;\n /**\n * 4. If original start node is original end node, and they are a Text,\n * ProcessingInstruction, or Comment node:\n * 4.1. Let clone be a clone of original start node.\n * 4.2. Set the data of clone to the result of substringing data with node\n * original start node, offset original start offset, and count original end\n * offset minus original start offset.\n * 4.3. Append clone to fragment.\n * 4.4. Replace data with node original start node, offset original start\n * offset, count original end offset minus original start offset, and data\n * the empty string.\n * 4.5. Return fragment.\n */\n if (originalStartNode === originalEndNode &&\n util_1.Guard.isCharacterDataNode(originalStartNode)) {\n var clone = NodeAlgorithm_1.node_clone(originalStartNode);\n clone._data = CharacterDataAlgorithm_1.characterData_substringData(originalStartNode, originalStartOffset, originalEndOffset - originalStartOffset);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n CharacterDataAlgorithm_1.characterData_replaceData(originalStartNode, originalStartOffset, originalEndOffset - originalStartOffset, '');\n return fragment;\n }\n /**\n * 5. Let common ancestor be original start node.\n * 6. While common ancestor is not an inclusive ancestor of original end\n * node, set common ancestor to its own parent.\n */\n var commonAncestor = originalStartNode;\n while (!TreeAlgorithm_1.tree_isAncestorOf(originalEndNode, commonAncestor, true)) {\n if (commonAncestor._parent === null) {\n throw new Error(\"Parent node is null.\");\n }\n commonAncestor = commonAncestor._parent;\n }\n /**\n * 7. Let first partially contained child be null.\n * 8. If original start node is not an inclusive ancestor of original end\n * node, set first partially contained child to the first child of common\n * ancestor that is partially contained in range.\n */\n var firstPartiallyContainedChild = null;\n if (!TreeAlgorithm_1.tree_isAncestorOf(originalEndNode, originalStartNode, true)) {\n try {\n for (var _d = __values(commonAncestor._children), _e = _d.next(); !_e.done; _e = _d.next()) {\n var node = _e.value;\n if (range_isPartiallyContained(node, range)) {\n firstPartiallyContainedChild = node;\n break;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n /**\n * 9. Let last partially contained child be null.\n * 10. If original end node is not an inclusive ancestor of original start\n * node, set last partially contained child to the last child of common\n * ancestor that is partially contained in range.\n */\n var lastPartiallyContainedChild = null;\n if (!TreeAlgorithm_1.tree_isAncestorOf(originalStartNode, originalEndNode, true)) {\n var children = __spread(commonAncestor._children);\n for (var i = children.length - 1; i > 0; i--) {\n var node = children[i];\n if (range_isPartiallyContained(node, range)) {\n lastPartiallyContainedChild = node;\n break;\n }\n }\n }\n /**\n * 11. Let contained children be a list of all children of common ancestor\n * that are contained in range, in tree order.\n * 12. If any member of contained children is a doctype, then throw a\n * \"HierarchyRequestError\" DOMException.\n */\n var containedChildren = [];\n try {\n for (var _f = __values(commonAncestor._children), _g = _f.next(); !_g.done; _g = _f.next()) {\n var child = _g.value;\n if (range_isContained(child, range)) {\n if (util_1.Guard.isDocumentTypeNode(child)) {\n throw new DOMException_1.HierarchyRequestError();\n }\n containedChildren.push(child);\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_g && !_g.done && (_b = _f.return)) _b.call(_f);\n }\n finally { if (e_2) throw e_2.error; }\n }\n var newNode;\n var newOffset;\n if (TreeAlgorithm_1.tree_isAncestorOf(originalEndNode, originalStartNode, true)) {\n /**\n * 13. If original start node is an inclusive ancestor of original end node,\n * set new node to original start node and new offset to original start\n * offset.\n */\n newNode = originalStartNode;\n newOffset = originalStartOffset;\n }\n else {\n /**\n * 14. Otherwise:\n * 14.1. Let reference node equal original start node.\n * 14.2. While reference node’s parent is not null and is not an inclusive\n * ancestor of original end node, set reference node to its parent.\n * 14.3. Set new node to the parent of reference node, and new offset to\n * one plus reference node’s index.\n */\n var referenceNode = originalStartNode;\n while (referenceNode._parent !== null &&\n !TreeAlgorithm_1.tree_isAncestorOf(originalEndNode, referenceNode._parent)) {\n referenceNode = referenceNode._parent;\n }\n /* istanbul ignore next */\n if (referenceNode._parent === null) {\n /**\n * If reference node’s parent is null, it would be the root of range,\n * so would be an inclusive ancestor of original end node, and we could\n * not reach this point.\n */\n throw new Error(\"Parent node is null.\");\n }\n newNode = referenceNode._parent;\n newOffset = 1 + TreeAlgorithm_1.tree_index(referenceNode);\n }\n if (util_1.Guard.isCharacterDataNode(firstPartiallyContainedChild)) {\n /**\n * 15. If first partially contained child is a Text, ProcessingInstruction,\n * or Comment node:\n * 15.1. Let clone be a clone of original start node.\n * 15.2. Set the data of clone to the result of substringing data with\n * node original start node, offset original start offset, and count\n * original start node’s length minus original start offset.\n * 15.3. Append clone to fragment.\n * 15.4. Replace data with node original start node, offset original\n * start offset, count original start node’s length minus original start\n * offset, and data the empty string.\n */\n var clone = NodeAlgorithm_1.node_clone(originalStartNode);\n clone._data = CharacterDataAlgorithm_1.characterData_substringData(originalStartNode, originalStartOffset, TreeAlgorithm_1.tree_nodeLength(originalStartNode) - originalStartOffset);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n CharacterDataAlgorithm_1.characterData_replaceData(originalStartNode, originalStartOffset, TreeAlgorithm_1.tree_nodeLength(originalStartNode) - originalStartOffset, '');\n }\n else if (firstPartiallyContainedChild !== null) {\n /**\n * 16. Otherwise, if first partially contained child is not null:\n * 16.1. Let clone be a clone of first partially contained child.\n * 16.2. Append clone to fragment.\n * 16.3. Let subrange be a new live range whose start is (original start\n * node, original start offset) and whose end is (first partially\n * contained child, first partially contained child’s length).\n * 16.4. Let subfragment be the result of extracting subrange.\n * 16.5. Append subfragment to clone.\n */\n var clone = NodeAlgorithm_1.node_clone(firstPartiallyContainedChild);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n var subrange = CreateAlgorithm_1.create_range([originalStartNode, originalStartOffset], [firstPartiallyContainedChild, TreeAlgorithm_1.tree_nodeLength(firstPartiallyContainedChild)]);\n var subfragment = range_extract(subrange);\n MutationAlgorithm_1.mutation_append(subfragment, clone);\n }\n try {\n /**\n * 17. For each contained child in contained children, append contained\n * child to fragment.\n */\n for (var containedChildren_1 = __values(containedChildren), containedChildren_1_1 = containedChildren_1.next(); !containedChildren_1_1.done; containedChildren_1_1 = containedChildren_1.next()) {\n var child = containedChildren_1_1.value;\n MutationAlgorithm_1.mutation_append(child, fragment);\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (containedChildren_1_1 && !containedChildren_1_1.done && (_c = containedChildren_1.return)) _c.call(containedChildren_1);\n }\n finally { if (e_3) throw e_3.error; }\n }\n if (util_1.Guard.isCharacterDataNode(lastPartiallyContainedChild)) {\n /**\n * 18. If last partially contained child is a Text, ProcessingInstruction,\n * or Comment node:\n * 18.1. Let clone be a clone of original end node.\n * 18.2. Set the data of clone to the result of substringing data with\n * node original end node, offset 0, and count original end offset.\n * 18.3. Append clone to fragment.\n * 18.4. Replace data with node original end node, offset 0, count\n * original end offset, and data the empty string.\n */\n var clone = NodeAlgorithm_1.node_clone(originalEndNode);\n clone._data = CharacterDataAlgorithm_1.characterData_substringData(originalEndNode, 0, originalEndOffset);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n CharacterDataAlgorithm_1.characterData_replaceData(originalEndNode, 0, originalEndOffset, '');\n }\n else if (lastPartiallyContainedChild !== null) {\n /**\n * 19. Otherwise, if last partially contained child is not null:\n * 19.1. Let clone be a clone of last partially contained child.\n * 19.2. Append clone to fragment.\n * 19.3. Let subrange be a new live range whose start is (last partially\n * contained child, 0) and whose end is (original end node, original\n * end offset).\n * 19.4. Let subfragment be the result of extracting subrange.\n * 19.5. Append subfragment to clone.\n */\n var clone = NodeAlgorithm_1.node_clone(lastPartiallyContainedChild);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n var subrange = CreateAlgorithm_1.create_range([lastPartiallyContainedChild, 0], [originalEndNode, originalEndOffset]);\n var subfragment = range_extract(subrange);\n MutationAlgorithm_1.mutation_append(subfragment, clone);\n }\n /**\n * 20. Set range’s start and end to (new node, new offset).\n */\n range._start = [newNode, newOffset];\n range._end = [newNode, newOffset];\n /**\n * 21. Return fragment.\n */\n return fragment;\n}\nexports.range_extract = range_extract;\n/**\n * Clones the contents of range as a document fragment.\n *\n * @param range - a range\n */\nfunction range_cloneTheContents(range) {\n var e_4, _a, e_5, _b, e_6, _c;\n /**\n * 1. Let fragment be a new DocumentFragment node whose node document\n * is range’s start node’s node document.\n * 2. If range is collapsed, then return fragment.\n */\n var fragment = CreateAlgorithm_1.create_documentFragment(range._startNode._nodeDocument);\n if (range_collapsed(range))\n return fragment;\n /**\n * 3. Let original start node, original start offset, original end node,\n * and original end offset be range’s start node, start offset, end node,\n * and end offset, respectively.\n * 4. If original start node is original end node, and they are a Text,\n * ProcessingInstruction, or Comment node:\n * 4.1. Let clone be a clone of original start node.\n * 4.2. Set the data of clone to the result of substringing data with node\n * original start node, offset original start offset, and count original end\n * offset minus original start offset.\n * 4.3. Append clone to fragment.\n * 4.5. Return fragment.\n */\n var originalStartNode = range._startNode;\n var originalStartOffset = range._startOffset;\n var originalEndNode = range._endNode;\n var originalEndOffset = range._endOffset;\n if (originalStartNode === originalEndNode &&\n util_1.Guard.isCharacterDataNode(originalStartNode)) {\n var clone = NodeAlgorithm_1.node_clone(originalStartNode);\n clone._data = CharacterDataAlgorithm_1.characterData_substringData(originalStartNode, originalStartOffset, originalEndOffset - originalStartOffset);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n }\n /**\n * 5. Let common ancestor be original start node.\n * 6. While common ancestor is not an inclusive ancestor of original end\n * node, set common ancestor to its own parent.\n */\n var commonAncestor = originalStartNode;\n while (!TreeAlgorithm_1.tree_isAncestorOf(originalEndNode, commonAncestor, true)) {\n if (commonAncestor._parent === null) {\n throw new Error(\"Parent node is null.\");\n }\n commonAncestor = commonAncestor._parent;\n }\n /**\n * 7. Let first partially contained child be null.\n * 8. If original start node is not an inclusive ancestor of original end\n * node, set first partially contained child to the first child of common\n * ancestor that is partially contained in range.\n */\n var firstPartiallyContainedChild = null;\n if (!TreeAlgorithm_1.tree_isAncestorOf(originalEndNode, originalStartNode, true)) {\n try {\n for (var _d = __values(commonAncestor._children), _e = _d.next(); !_e.done; _e = _d.next()) {\n var node = _e.value;\n if (range_isPartiallyContained(node, range)) {\n firstPartiallyContainedChild = node;\n break;\n }\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_4) throw e_4.error; }\n }\n }\n /**\n * 9. Let last partially contained child be null.\n * 10. If original end node is not an inclusive ancestor of original start\n * node, set last partially contained child to the last child of common\n * ancestor that is partially contained in range.\n */\n var lastPartiallyContainedChild = null;\n if (!TreeAlgorithm_1.tree_isAncestorOf(originalStartNode, originalEndNode, true)) {\n var children = __spread(commonAncestor._children);\n for (var i = children.length - 1; i > 0; i--) {\n var node = children[i];\n if (range_isPartiallyContained(node, range)) {\n lastPartiallyContainedChild = node;\n break;\n }\n }\n }\n /**\n * 11. Let contained children be a list of all children of common ancestor\n * that are contained in range, in tree order.\n * 12. If any member of contained children is a doctype, then throw a\n * \"HierarchyRequestError\" DOMException.\n */\n var containedChildren = [];\n try {\n for (var _f = __values(commonAncestor._children), _g = _f.next(); !_g.done; _g = _f.next()) {\n var child = _g.value;\n if (range_isContained(child, range)) {\n if (util_1.Guard.isDocumentTypeNode(child)) {\n throw new DOMException_1.HierarchyRequestError();\n }\n containedChildren.push(child);\n }\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_g && !_g.done && (_b = _f.return)) _b.call(_f);\n }\n finally { if (e_5) throw e_5.error; }\n }\n if (util_1.Guard.isCharacterDataNode(firstPartiallyContainedChild)) {\n /**\n * 13. If first partially contained child is a Text, ProcessingInstruction,\n * or Comment node:\n * 13.1. Let clone be a clone of original start node.\n * 13.2. Set the data of clone to the result of substringing data with\n * node original start node, offset original start offset, and count\n * original start node’s length minus original start offset.\n * 13.3. Append clone to fragment.\n */\n var clone = NodeAlgorithm_1.node_clone(originalStartNode);\n clone._data = CharacterDataAlgorithm_1.characterData_substringData(originalStartNode, originalStartOffset, TreeAlgorithm_1.tree_nodeLength(originalStartNode) - originalStartOffset);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n }\n else if (firstPartiallyContainedChild !== null) {\n /**\n * 14. Otherwise, if first partially contained child is not null:\n * 14.1. Let clone be a clone of first partially contained child.\n * 14.2. Append clone to fragment.\n * 14.3. Let subrange be a new live range whose start is (original start\n * node, original start offset) and whose end is (first partially\n * contained child, first partially contained child’s length).\n * 14.4. Let subfragment be the result of cloning the contents of\n * subrange.\n * 14.5. Append subfragment to clone.\n */\n var clone = NodeAlgorithm_1.node_clone(firstPartiallyContainedChild);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n var subrange = CreateAlgorithm_1.create_range([originalStartNode, originalStartOffset], [firstPartiallyContainedChild, TreeAlgorithm_1.tree_nodeLength(firstPartiallyContainedChild)]);\n var subfragment = range_cloneTheContents(subrange);\n MutationAlgorithm_1.mutation_append(subfragment, clone);\n }\n try {\n /**\n * 15. For each contained child in contained children, append contained\n * child to fragment.\n * 15.1. Let clone be a clone of contained child with the clone children\n * flag set.\n * 15.2. Append clone to fragment.\n */\n for (var containedChildren_2 = __values(containedChildren), containedChildren_2_1 = containedChildren_2.next(); !containedChildren_2_1.done; containedChildren_2_1 = containedChildren_2.next()) {\n var child = containedChildren_2_1.value;\n var clone = NodeAlgorithm_1.node_clone(child);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (containedChildren_2_1 && !containedChildren_2_1.done && (_c = containedChildren_2.return)) _c.call(containedChildren_2);\n }\n finally { if (e_6) throw e_6.error; }\n }\n if (util_1.Guard.isCharacterDataNode(lastPartiallyContainedChild)) {\n /**\n * 16. If last partially contained child is a Text, ProcessingInstruction,\n * or Comment node:\n * 16.1. Let clone be a clone of original end node.\n * 16.2. Set the data of clone to the result of substringing data with\n * node original end node, offset 0, and count original end offset.\n * 16.3. Append clone to fragment.\n */\n var clone = NodeAlgorithm_1.node_clone(originalEndNode);\n clone._data = CharacterDataAlgorithm_1.characterData_substringData(originalEndNode, 0, originalEndOffset);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n }\n else if (lastPartiallyContainedChild !== null) {\n /**\n * 17. Otherwise, if last partially contained child is not null:\n * 17.1. Let clone be a clone of last partially contained child.\n * 17.2. Append clone to fragment.\n * 17.3. Let subrange be a new live range whose start is (last partially\n * contained child, 0) and whose end is (original end node, original\n * end offset).\n * 17.4. Let subfragment be the result of cloning the contents of subrange.\n * 17.5. Append subfragment to clone.\n */\n var clone = NodeAlgorithm_1.node_clone(lastPartiallyContainedChild);\n fragment.append(clone);\n var subrange = CreateAlgorithm_1.create_range([lastPartiallyContainedChild, 0], [originalEndNode, originalEndOffset]);\n var subfragment = range_extract(subrange);\n MutationAlgorithm_1.mutation_append(subfragment, clone);\n }\n /**\n * 18. Return fragment.\n */\n return fragment;\n}\nexports.range_cloneTheContents = range_cloneTheContents;\n/**\n * Inserts a node into a range at the start boundary point.\n *\n * @param node - node to insert\n * @param range - a range\n */\nfunction range_insert(node, range) {\n var e_7, _a;\n /**\n * 1. If range’s start node is a ProcessingInstruction or Comment node, is a\n * Text node whose parent is null, or is node, then throw a\n * \"HierarchyRequestError\" DOMException.\n */\n if (util_1.Guard.isProcessingInstructionNode(range._startNode) ||\n util_1.Guard.isCommentNode(range._startNode) ||\n (util_1.Guard.isTextNode(range._startNode) && range._startNode._parent === null) ||\n range._startNode === node) {\n throw new DOMException_1.HierarchyRequestError();\n }\n /**\n * 2. Let referenceNode be null.\n * 3. If range’s start node is a Text node, set referenceNode to that Text\n * node.\n * 4. Otherwise, set referenceNode to the child of start node whose index is\n * start offset, and null if there is no such child.\n */\n var referenceNode = null;\n if (util_1.Guard.isTextNode(range._startNode)) {\n referenceNode = range._startNode;\n }\n else {\n var index = 0;\n try {\n for (var _b = __values(range._startNode._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var child = _c.value;\n if (index === range._startOffset) {\n referenceNode = child;\n break;\n }\n index++;\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_7) throw e_7.error; }\n }\n }\n /**\n * 5. Let parent be range’s start node if referenceNode is null, and\n * referenceNode’s parent otherwise.\n */\n var parent;\n if (referenceNode === null) {\n parent = range._startNode;\n }\n else {\n if (referenceNode._parent === null) {\n throw new Error(\"Parent node is null.\");\n }\n parent = referenceNode._parent;\n }\n /**\n * 6. Ensure pre-insertion validity of node into parent before referenceNode.\n */\n MutationAlgorithm_1.mutation_ensurePreInsertionValidity(node, parent, referenceNode);\n /**\n * 7. If range’s start node is a Text node, set referenceNode to the result\n * of splitting it with offset range’s start offset.\n */\n if (util_1.Guard.isTextNode(range._startNode)) {\n referenceNode = TextAlgorithm_1.text_split(range._startNode, range._startOffset);\n }\n /**\n * 8. If node is referenceNode, set referenceNode to its next sibling.\n */\n if (node === referenceNode) {\n referenceNode = node._nextSibling;\n }\n /**\n * 9. If node’s parent is not null, remove node from its parent.\n */\n if (node._parent !== null) {\n MutationAlgorithm_1.mutation_remove(node, node._parent);\n }\n /**\n * 10. Let newOffset be parent’s length if referenceNode is null, and\n * referenceNode’s index otherwise.\n */\n var newOffset = (referenceNode === null ?\n TreeAlgorithm_1.tree_nodeLength(parent) : TreeAlgorithm_1.tree_index(referenceNode));\n /**\n * 11. Increase newOffset by node’s length if node is a DocumentFragment\n * node, and one otherwise.\n */\n if (util_1.Guard.isDocumentFragmentNode(node)) {\n newOffset += TreeAlgorithm_1.tree_nodeLength(node);\n }\n else {\n newOffset++;\n }\n /**\n * 12. Pre-insert node into parent before referenceNode.\n */\n MutationAlgorithm_1.mutation_preInsert(node, parent, referenceNode);\n /**\n * 13. If range is collapsed, then set range’s end to (parent, newOffset).\n */\n if (range_collapsed(range)) {\n range._end = [parent, newOffset];\n }\n}\nexports.range_insert = range_insert;\n/**\n * Traverses through all contained nodes of a range.\n *\n * @param range - a range\n */\nfunction range_getContainedNodes(range) {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var container = range.commonAncestorContainer;\n var currentNode = TreeAlgorithm_1.tree_getFirstDescendantNode(container);\n return {\n next: function () {\n while (currentNode && !range_isContained(currentNode, range)) {\n currentNode = TreeAlgorithm_1.tree_getNextDescendantNode(container, currentNode);\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = TreeAlgorithm_1.tree_getNextDescendantNode(container, currentNode);\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.range_getContainedNodes = range_getContainedNodes;\n/**\n * Traverses through all partially contained nodes of a range.\n *\n * @param range - a range\n */\nfunction range_getPartiallyContainedNodes(range) {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var container = range.commonAncestorContainer;\n var currentNode = TreeAlgorithm_1.tree_getFirstDescendantNode(container);\n return {\n next: function () {\n while (currentNode && !range_isPartiallyContained(currentNode, range)) {\n currentNode = TreeAlgorithm_1.tree_getNextDescendantNode(container, currentNode);\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = TreeAlgorithm_1.tree_getNextDescendantNode(container, currentNode);\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.range_getPartiallyContainedNodes = range_getPartiallyContainedNodes;\n//# sourceMappingURL=RangeAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMException_1 = require(\"../dom/DOMException\");\n/**\n * Matches elements with the given selectors.\n *\n * @param selectors - selectors\n * @param node - the node to match against\n */\nfunction selectors_scopeMatchASelectorsString(selectors, node) {\n /**\n * TODO: Selectors\n * 1. Let s be the result of parse a selector selectors. [SELECTORS4]\n * 2. If s is failure, then throw a \"SyntaxError\" DOMException.\n * 3. Return the result of match a selector against a tree with s and node’s\n * root using scoping root node. [SELECTORS4].\n */\n throw new DOMException_1.NotSupportedError();\n}\nexports.selectors_scopeMatchASelectorsString = selectors_scopeMatchASelectorsString;\n//# sourceMappingURL=SelectorsAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar util_1 = require(\"../util\");\nvar util_2 = require(\"@oozcitak/util\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar MutationObserverAlgorithm_1 = require(\"./MutationObserverAlgorithm\");\n/**\n * Signals a slot change to the given slot.\n *\n * @param slot - a slot\n */\nfunction shadowTree_signalASlotChange(slot) {\n /**\n * 1. Append slot to slot’s relevant agent’s signal slots.\n * 2. Queue a mutation observer microtask.\n */\n var window = DOMImpl_1.dom.window;\n window._signalSlots.add(slot);\n MutationObserverAlgorithm_1.observer_queueAMutationObserverMicrotask();\n}\nexports.shadowTree_signalASlotChange = shadowTree_signalASlotChange;\n/**\n * Determines whether a the shadow tree of the given element node is\n * connected to a document node.\n *\n * @param element - an element node of the shadow tree\n */\nfunction shadowTree_isConnected(element) {\n /**\n * An element is connected if its shadow-including root is a document.\n */\n return util_1.Guard.isDocumentNode(TreeAlgorithm_1.tree_rootNode(element, true));\n}\nexports.shadowTree_isConnected = shadowTree_isConnected;\n/**\n * Determines whether a slotable is assigned.\n *\n * @param slotable - a slotable\n */\nfunction shadowTree_isAssigned(slotable) {\n /**\n * A slotable is assigned if its assigned slot is non-null.\n */\n return (slotable._assignedSlot !== null);\n}\nexports.shadowTree_isAssigned = shadowTree_isAssigned;\n/**\n * Finds a slot for the given slotable.\n *\n * @param slotable - a slotable\n * @param openFlag - `true` to search open shadow tree's only\n */\nfunction shadowTree_findASlot(slotable, openFlag) {\n if (openFlag === void 0) { openFlag = false; }\n /**\n * 1. If slotable’s parent is null, then return null.\n * 2. Let shadow be slotable’s parent’s shadow root.\n * 3. If shadow is null, then return null.\n * 4. If the open flag is set and shadow’s mode is not \"open\", then\n * return null.\n * 5. Return the first slot in tree order in shadow’s descendants whose name\n * is slotable’s name, if any, and null otherwise.\n */\n var node = util_1.Cast.asNode(slotable);\n var parent = node._parent;\n if (parent === null)\n return null;\n var shadow = parent._shadowRoot || null;\n if (shadow === null)\n return null;\n if (openFlag && shadow._mode !== \"open\")\n return null;\n var child = TreeAlgorithm_1.tree_getFirstDescendantNode(shadow, false, true, function (e) { return util_1.Guard.isSlot(e); });\n while (child !== null) {\n if (child._name === slotable._name)\n return child;\n child = TreeAlgorithm_1.tree_getNextDescendantNode(shadow, child, false, true, function (e) { return util_1.Guard.isSlot(e); });\n }\n return null;\n}\nexports.shadowTree_findASlot = shadowTree_findASlot;\n/**\n * Finds slotables for the given slot.\n *\n * @param slot - a slot\n */\nfunction shadowTree_findSlotables(slot) {\n var e_1, _a;\n /**\n * 1. Let result be an empty list.\n * 2. If slot’s root is not a shadow root, then return result.\n */\n var result = [];\n var root = TreeAlgorithm_1.tree_rootNode(slot);\n if (!util_1.Guard.isShadowRoot(root))\n return result;\n /**\n * 3. Let host be slot’s root’s host.\n * 4. For each slotable child of host, slotable, in tree order:\n */\n var host = root._host;\n try {\n for (var _b = __values(host._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var slotable = _c.value;\n if (util_1.Guard.isSlotable(slotable)) {\n /**\n * 4.1. Let foundSlot be the result of finding a slot given slotable.\n * 4.2. If foundSlot is slot, then append slotable to result.\n */\n var foundSlot = shadowTree_findASlot(slotable);\n if (foundSlot === slot) {\n result.push(slotable);\n }\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n /**\n * 5. Return result.\n */\n return result;\n}\nexports.shadowTree_findSlotables = shadowTree_findSlotables;\n/**\n * Finds slotables for the given slot.\n *\n * @param slot - a slot\n */\nfunction shadowTree_findFlattenedSlotables(slot) {\n var e_2, _a, e_3, _b;\n /**\n * 1. Let result be an empty list.\n * 2. If slot’s root is not a shadow root, then return result.\n */\n var result = [];\n var root = TreeAlgorithm_1.tree_rootNode(slot);\n if (!util_1.Guard.isShadowRoot(root))\n return result;\n /**\n * 3. Let slotables be the result of finding slotables given slot.\n * 4. If slotables is the empty list, then append each slotable child of\n * slot, in tree order, to slotables.\n */\n var slotables = shadowTree_findSlotables(slot);\n if (util_2.isEmpty(slotables)) {\n try {\n for (var _c = __values(slot._children), _d = _c.next(); !_d.done; _d = _c.next()) {\n var slotable = _d.value;\n if (util_1.Guard.isSlotable(slotable)) {\n slotables.push(slotable);\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n try {\n /**\n * 5. For each node in slotables:\n */\n for (var slotables_1 = __values(slotables), slotables_1_1 = slotables_1.next(); !slotables_1_1.done; slotables_1_1 = slotables_1.next()) {\n var node = slotables_1_1.value;\n /**\n * 5.1. If node is a slot whose root is a shadow root, then:\n */\n if (util_1.Guard.isSlot(node) && util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(node))) {\n /**\n * 5.1.1. Let temporaryResult be the result of finding flattened slotables given node.\n * 5.1.2. Append each slotable in temporaryResult, in order, to result.\n */\n var temporaryResult = shadowTree_findFlattenedSlotables(node);\n result.push.apply(result, __spread(temporaryResult));\n }\n else {\n /**\n * 5.2. Otherwise, append node to result.\n */\n result.push(node);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (slotables_1_1 && !slotables_1_1.done && (_b = slotables_1.return)) _b.call(slotables_1);\n }\n finally { if (e_3) throw e_3.error; }\n }\n /**\n * 6. Return result.\n */\n return result;\n}\nexports.shadowTree_findFlattenedSlotables = shadowTree_findFlattenedSlotables;\n/**\n * Assigns slotables to the given slot.\n *\n * @param slot - a slot\n */\nfunction shadowTree_assignSlotables(slot) {\n var e_4, _a;\n /**\n * 1. Let slotables be the result of finding slotables for slot.\n * 2. If slotables and slot’s assigned nodes are not identical, then run\n * signal a slot change for slot.\n */\n var slotables = shadowTree_findSlotables(slot);\n if (slotables.length === slot._assignedNodes.length) {\n var nodesIdentical = true;\n for (var i = 0; i < slotables.length; i++) {\n if (slotables[i] !== slot._assignedNodes[i]) {\n nodesIdentical = false;\n break;\n }\n }\n if (!nodesIdentical) {\n shadowTree_signalASlotChange(slot);\n }\n }\n /**\n * 3. Set slot’s assigned nodes to slotables.\n * 4. For each slotable in slotables, set slotable’s assigned slot to slot.\n */\n slot._assignedNodes = slotables;\n try {\n for (var slotables_2 = __values(slotables), slotables_2_1 = slotables_2.next(); !slotables_2_1.done; slotables_2_1 = slotables_2.next()) {\n var slotable = slotables_2_1.value;\n slotable._assignedSlot = slot;\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (slotables_2_1 && !slotables_2_1.done && (_a = slotables_2.return)) _a.call(slotables_2);\n }\n finally { if (e_4) throw e_4.error; }\n }\n}\nexports.shadowTree_assignSlotables = shadowTree_assignSlotables;\n/**\n * Assigns slotables to all nodes of a tree.\n *\n * @param root - root node\n */\nfunction shadowTree_assignSlotablesForATree(root) {\n /**\n * To assign slotables for a tree, given a node root, run assign slotables\n * for each slot slot in root’s inclusive descendants, in tree order.\n */\n var descendant = TreeAlgorithm_1.tree_getFirstDescendantNode(root, true, false, function (e) { return util_1.Guard.isSlot(e); });\n while (descendant !== null) {\n shadowTree_assignSlotables(descendant);\n descendant = TreeAlgorithm_1.tree_getNextDescendantNode(root, descendant, true, false, function (e) { return util_1.Guard.isSlot(e); });\n }\n}\nexports.shadowTree_assignSlotablesForATree = shadowTree_assignSlotablesForATree;\n/**\n * Assigns a slot to a slotables.\n *\n * @param slotable - a slotable\n */\nfunction shadowTree_assignASlot(slotable) {\n /**\n * 1. Let slot be the result of finding a slot with slotable.\n * 2. If slot is non-null, then run assign slotables for slot.\n */\n var slot = shadowTree_findASlot(slotable);\n if (slot !== null) {\n shadowTree_assignSlotables(slot);\n }\n}\nexports.shadowTree_assignASlot = shadowTree_assignASlot;\n//# sourceMappingURL=ShadowTreeAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar util_1 = require(\"../util\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar CreateAlgorithm_1 = require(\"./CreateAlgorithm\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar CharacterDataAlgorithm_1 = require(\"./CharacterDataAlgorithm\");\nvar MutationAlgorithm_1 = require(\"./MutationAlgorithm\");\n/**\n * Returns node with its adjacent text and cdata node siblings.\n *\n * @param node - a node\n * @param self - whether to include node itself\n */\nfunction text_contiguousTextNodes(node, self) {\n var _a;\n if (self === void 0) { self = false; }\n /**\n * The contiguous Text nodes of a node node are node, node’s previous\n * sibling Text node, if any, and its contiguous Text nodes, and node’s next\n * sibling Text node, if any, and its contiguous Text nodes, avoiding any\n * duplicates.\n */\n return _a = {},\n _a[Symbol.iterator] = function () {\n var currentNode = node;\n while (currentNode && util_1.Guard.isTextNode(currentNode._previousSibling)) {\n currentNode = currentNode._previousSibling;\n }\n return {\n next: function () {\n if (currentNode && (!self && currentNode === node)) {\n if (util_1.Guard.isTextNode(currentNode._nextSibling)) {\n currentNode = currentNode._nextSibling;\n }\n else {\n currentNode = null;\n }\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n if (util_1.Guard.isTextNode(currentNode._nextSibling)) {\n currentNode = currentNode._nextSibling;\n }\n else {\n currentNode = null;\n }\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.text_contiguousTextNodes = text_contiguousTextNodes;\n/**\n * Returns node with its adjacent text node siblings.\n *\n * @param node - a node\n * @param self - whether to include node itself\n */\nfunction text_contiguousExclusiveTextNodes(node, self) {\n var _a;\n if (self === void 0) { self = false; }\n /**\n * The contiguous exclusive Text nodes of a node node are node, node’s\n * previous sibling exclusive Text node, if any, and its contiguous\n * exclusive Text nodes, and node’s next sibling exclusive Text node,\n * if any, and its contiguous exclusive Text nodes, avoiding any duplicates.\n */\n return _a = {},\n _a[Symbol.iterator] = function () {\n var currentNode = node;\n while (currentNode && util_1.Guard.isExclusiveTextNode(currentNode._previousSibling)) {\n currentNode = currentNode._previousSibling;\n }\n return {\n next: function () {\n if (currentNode && (!self && currentNode === node)) {\n if (util_1.Guard.isExclusiveTextNode(currentNode._nextSibling)) {\n currentNode = currentNode._nextSibling;\n }\n else {\n currentNode = null;\n }\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n if (util_1.Guard.isExclusiveTextNode(currentNode._nextSibling)) {\n currentNode = currentNode._nextSibling;\n }\n else {\n currentNode = null;\n }\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.text_contiguousExclusiveTextNodes = text_contiguousExclusiveTextNodes;\n/**\n * Returns the concatenation of the data of all the Text node descendants of\n * node, in tree order.\n *\n * @param node - a node\n */\nfunction text_descendantTextContent(node) {\n /**\n * The descendant text content of a node node is the concatenation of the\n * data of all the Text node descendants of node, in tree order.\n */\n var contents = '';\n var text = TreeAlgorithm_1.tree_getFirstDescendantNode(node, false, false, function (e) { return util_1.Guard.isTextNode(e); });\n while (text !== null) {\n contents += text._data;\n text = TreeAlgorithm_1.tree_getNextDescendantNode(node, text, false, false, function (e) { return util_1.Guard.isTextNode(e); });\n }\n return contents;\n}\nexports.text_descendantTextContent = text_descendantTextContent;\n/**\n * Splits data at the given offset and returns the remainder as a text\n * node.\n *\n * @param node - a text node\n * @param offset - the offset at which to split the nodes.\n */\nfunction text_split(node, offset) {\n var e_1, _a;\n /**\n * 1. Let length be node’s length.\n * 2. If offset is greater than length, then throw an \"IndexSizeError\"\n * DOMException.\n */\n var length = node._data.length;\n if (offset > length) {\n throw new DOMException_1.IndexSizeError();\n }\n /**\n * 3. Let count be length minus offset.\n * 4. Let new data be the result of substringing data with node node,\n * offset offset, and count count.\n * 5. Let new node be a new Text node, with the same node document as node.\n * Set new node’s data to new data.\n * 6. Let parent be node’s parent.\n * 7. If parent is not null, then:\n */\n var count = length - offset;\n var newData = CharacterDataAlgorithm_1.characterData_substringData(node, offset, count);\n var newNode = CreateAlgorithm_1.create_text(node._nodeDocument, newData);\n var parent = node._parent;\n if (parent !== null) {\n /**\n * 7.1. Insert new node into parent before node’s next sibling.\n */\n MutationAlgorithm_1.mutation_insert(newNode, parent, node._nextSibling);\n try {\n /**\n * 7.2. For each live range whose start node is node and start offset is\n * greater than offset, set its start node to new node and decrease its\n * start offset by offset.\n * 7.3. For each live range whose end node is node and end offset is greater\n * than offset, set its end node to new node and decrease its end offset\n * by offset.\n * 7.4. For each live range whose start node is parent and start offset is\n * equal to the index of node plus 1, increase its start offset by 1.\n * 7.5. For each live range whose end node is parent and end offset is equal\n * to the index of node plus 1, increase its end offset by 1.\n */\n for (var _b = __values(DOMImpl_1.dom.rangeList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var range = _c.value;\n if (range._start[0] === node && range._start[1] > offset) {\n range._start[0] = newNode;\n range._start[1] -= offset;\n }\n if (range._end[0] === node && range._end[1] > offset) {\n range._end[0] = newNode;\n range._end[1] -= offset;\n }\n var index = TreeAlgorithm_1.tree_index(node);\n if (range._start[0] === parent && range._start[1] === index + 1) {\n range._start[1]++;\n }\n if (range._end[0] === parent && range._end[1] === index + 1) {\n range._end[1]++;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n /**\n * 8. Replace data with node node, offset offset, count count, and data\n * the empty string.\n * 9. Return new node.\n */\n CharacterDataAlgorithm_1.characterData_replaceData(node, offset, count, '');\n return newNode;\n}\nexports.text_split = text_split;\n//# sourceMappingURL=TextAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar DOMException_1 = require(\"../dom/DOMException\");\n/**\n * Applies the filter to the given node and returns the result.\n *\n * @param traverser - the `NodeIterator` or `TreeWalker` instance\n * @param node - the node to filter\n */\nfunction traversal_filter(traverser, node) {\n /**\n * 1. If traverser’s active flag is set, then throw an \"InvalidStateError\"\n * DOMException.\n */\n if (traverser._activeFlag) {\n throw new DOMException_1.InvalidStateError();\n }\n /**\n * 2. Let n be node’s nodeType attribute value − 1.\n */\n var n = node._nodeType - 1;\n /**\n * 3. If the nth bit (where 0 is the least significant bit) of traverser’s\n * whatToShow is not set, then return FILTER_SKIP.\n */\n var mask = 1 << n;\n if ((traverser.whatToShow & mask) === 0) {\n return interfaces_1.FilterResult.Skip;\n }\n /**\n * 4. If traverser’s filter is null, then return FILTER_ACCEPT.\n */\n if (!traverser.filter) {\n return interfaces_1.FilterResult.Accept;\n }\n /**\n * 5. Set traverser’s active flag.\n */\n traverser._activeFlag = true;\n /**\n * 6. Let result be the return value of call a user object’s operation with\n * traverser’s filter, \"acceptNode\", and « node ». If this throws an\n * exception, then unset traverser’s active flag and rethrow the exception.\n */\n var result = interfaces_1.FilterResult.Reject;\n try {\n result = traverser.filter.acceptNode(node);\n }\n catch (err) {\n traverser._activeFlag = false;\n throw err;\n }\n /**\n * 7. Unset traverser’s active flag.\n * 8. Return result.\n */\n traverser._activeFlag = false;\n return result;\n}\nexports.traversal_filter = traversal_filter;\n//# sourceMappingURL=TraversalAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../util\");\nvar interfaces_1 = require(\"../dom/interfaces\");\n/**\n * Gets the next descendant of the given node of the tree rooted at `root`\n * in depth-first pre-order.\n *\n * @param root - root node of the tree\n * @param node - a node\n * @param shadow - whether to visit shadow tree nodes\n */\nfunction _getNextDescendantNode(root, node, shadow) {\n if (shadow === void 0) { shadow = false; }\n // traverse shadow tree\n if (shadow && util_1.Guard.isElementNode(node) && util_1.Guard.isShadowRoot(node.shadowRoot)) {\n if (node.shadowRoot._firstChild)\n return node.shadowRoot._firstChild;\n }\n // traverse child nodes\n if (node._firstChild)\n return node._firstChild;\n if (node === root)\n return null;\n // traverse siblings\n if (node._nextSibling)\n return node._nextSibling;\n // traverse parent's next sibling\n var parent = node._parent;\n while (parent && parent !== root) {\n if (parent._nextSibling)\n return parent._nextSibling;\n parent = parent._parent;\n }\n return null;\n}\nfunction _emptyIterator() {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n return {\n next: function () {\n return { done: true, value: null };\n }\n };\n },\n _a;\n}\n/**\n * Returns the first descendant node of the tree rooted at `node` in\n * depth-first pre-order.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param shadow - whether to visit shadow tree nodes\n * @param filter - a function to filter nodes\n */\nfunction tree_getFirstDescendantNode(node, self, shadow, filter) {\n if (self === void 0) { self = false; }\n if (shadow === void 0) { shadow = false; }\n var firstNode = (self ? node : _getNextDescendantNode(node, node, shadow));\n while (firstNode && filter && !filter(firstNode)) {\n firstNode = _getNextDescendantNode(node, firstNode, shadow);\n }\n return firstNode;\n}\nexports.tree_getFirstDescendantNode = tree_getFirstDescendantNode;\n/**\n * Returns the next descendant node of the tree rooted at `node` in\n * depth-first pre-order.\n *\n * @param node - root node of the tree\n * @param currentNode - current descendant node\n * @param self - whether to include `node` in traversal\n * @param shadow - whether to visit shadow tree nodes\n * @param filter - a function to filter nodes\n */\nfunction tree_getNextDescendantNode(node, currentNode, self, shadow, filter) {\n if (self === void 0) { self = false; }\n if (shadow === void 0) { shadow = false; }\n var nextNode = _getNextDescendantNode(node, currentNode, shadow);\n while (nextNode && filter && !filter(nextNode)) {\n nextNode = _getNextDescendantNode(node, nextNode, shadow);\n }\n return nextNode;\n}\nexports.tree_getNextDescendantNode = tree_getNextDescendantNode;\n/**\n * Traverses through all descendant nodes of the tree rooted at\n * `node` in depth-first pre-order.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param shadow - whether to visit shadow tree nodes\n * @param filter - a function to filter nodes\n */\nfunction tree_getDescendantNodes(node, self, shadow, filter) {\n var _a;\n if (self === void 0) { self = false; }\n if (shadow === void 0) { shadow = false; }\n if (!self && node._children.size === 0) {\n return _emptyIterator();\n }\n return _a = {},\n _a[Symbol.iterator] = function () {\n var currentNode = (self ? node : _getNextDescendantNode(node, node, shadow));\n return {\n next: function () {\n while (currentNode && filter && !filter(currentNode)) {\n currentNode = _getNextDescendantNode(node, currentNode, shadow);\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = _getNextDescendantNode(node, currentNode, shadow);\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.tree_getDescendantNodes = tree_getDescendantNodes;\n/**\n * Traverses through all descendant element nodes of the tree rooted at\n * `node` in depth-first preorder.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param shadow - whether to visit shadow tree nodes\n * @param filter - a function to filter nodes\n */\nfunction tree_getDescendantElements(node, self, shadow, filter) {\n var _a;\n if (self === void 0) { self = false; }\n if (shadow === void 0) { shadow = false; }\n if (!self && node._children.size === 0) {\n return _emptyIterator();\n }\n return _a = {},\n _a[Symbol.iterator] = function () {\n var it = tree_getDescendantNodes(node, self, shadow, function (e) { return util_1.Guard.isElementNode(e); })[Symbol.iterator]();\n var currentNode = it.next().value;\n return {\n next: function () {\n while (currentNode && filter && !filter(currentNode)) {\n currentNode = it.next().value;\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = it.next().value;\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.tree_getDescendantElements = tree_getDescendantElements;\n/**\n * Traverses through all sibling nodes of `node`.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param filter - a function to filter nodes\n */\nfunction tree_getSiblingNodes(node, self, filter) {\n var _a;\n if (self === void 0) { self = false; }\n if (!node._parent || node._parent._children.size === 0) {\n return _emptyIterator();\n }\n return _a = {},\n _a[Symbol.iterator] = function () {\n var currentNode = node._parent ? node._parent._firstChild : null;\n return {\n next: function () {\n while (currentNode && (filter && !filter(currentNode) || (!self && currentNode === node))) {\n currentNode = currentNode._nextSibling;\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = currentNode._nextSibling;\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.tree_getSiblingNodes = tree_getSiblingNodes;\n/**\n * Gets the first ancestor of `node` in reverse tree order.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param filter - a function to filter nodes\n */\nfunction tree_getFirstAncestorNode(node, self, filter) {\n if (self === void 0) { self = false; }\n var firstNode = self ? node : node._parent;\n while (firstNode && filter && !filter(firstNode)) {\n firstNode = firstNode._parent;\n }\n return firstNode;\n}\nexports.tree_getFirstAncestorNode = tree_getFirstAncestorNode;\n/**\n * Gets the first ancestor of `node` in reverse tree order.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param filter - a function to filter nodes\n */\nfunction tree_getNextAncestorNode(node, currentNode, self, filter) {\n if (self === void 0) { self = false; }\n var nextNode = currentNode._parent;\n while (nextNode && filter && !filter(nextNode)) {\n nextNode = nextNode._parent;\n }\n return nextNode;\n}\nexports.tree_getNextAncestorNode = tree_getNextAncestorNode;\n/**\n * Traverses through all ancestor nodes `node` in reverse tree order.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param filter - a function to filter nodes\n */\nfunction tree_getAncestorNodes(node, self, filter) {\n var _a;\n if (self === void 0) { self = false; }\n if (!self && !node._parent) {\n return _emptyIterator();\n }\n return _a = {},\n _a[Symbol.iterator] = function () {\n var currentNode = tree_getFirstAncestorNode(node, self, filter);\n return {\n next: function () {\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = tree_getNextAncestorNode(node, currentNode, self, filter);\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.tree_getAncestorNodes = tree_getAncestorNodes;\n/**\n * Returns the common ancestor of the given nodes.\n *\n * @param nodeA - a node\n * @param nodeB - a node\n */\nfunction tree_getCommonAncestor(nodeA, nodeB) {\n if (nodeA === nodeB) {\n return nodeA._parent;\n }\n // lists of parent nodes\n var parentsA = [];\n var parentsB = [];\n var pA = tree_getFirstAncestorNode(nodeA, true);\n while (pA !== null) {\n parentsA.push(pA);\n pA = tree_getNextAncestorNode(nodeA, pA, true);\n }\n var pB = tree_getFirstAncestorNode(nodeB, true);\n while (pB !== null) {\n parentsB.push(pB);\n pB = tree_getNextAncestorNode(nodeB, pB, true);\n }\n // walk through parents backwards until they differ\n var pos1 = parentsA.length;\n var pos2 = parentsB.length;\n var parent = null;\n for (var i = Math.min(pos1, pos2); i > 0; i--) {\n var parent1 = parentsA[--pos1];\n var parent2 = parentsB[--pos2];\n if (parent1 !== parent2) {\n break;\n }\n parent = parent1;\n }\n return parent;\n}\nexports.tree_getCommonAncestor = tree_getCommonAncestor;\n/**\n * Returns the node following `node` in depth-first preorder.\n *\n * @param root - root of the subtree\n * @param node - a node\n */\nfunction tree_getFollowingNode(root, node) {\n if (node._firstChild) {\n return node._firstChild;\n }\n else if (node._nextSibling) {\n return node._nextSibling;\n }\n else {\n while (true) {\n var parent = node._parent;\n if (parent === null || parent === root) {\n return null;\n }\n else if (parent._nextSibling) {\n return parent._nextSibling;\n }\n else {\n node = parent;\n }\n }\n }\n}\nexports.tree_getFollowingNode = tree_getFollowingNode;\n/**\n * Returns the node preceding `node` in depth-first preorder.\n *\n * @param root - root of the subtree\n * @param node - a node\n */\nfunction tree_getPrecedingNode(root, node) {\n if (node === root) {\n return null;\n }\n if (node._previousSibling) {\n node = node._previousSibling;\n if (node._lastChild) {\n return node._lastChild;\n }\n else {\n return node;\n }\n }\n else {\n return node._parent;\n }\n}\nexports.tree_getPrecedingNode = tree_getPrecedingNode;\n/**\n * Determines if the node tree is constrained. A node tree is\n * constrained as follows, expressed as a relationship between the\n * type of node and its allowed children:\n * - Document (In tree order)\n * * Zero or more nodes each of which is ProcessingInstruction\n * or Comment.\n * * Optionally one DocumentType node.\n * * Zero or more nodes each of which is ProcessingInstruction\n * or Comment.\n * * Optionally one Element node.\n * * Zero or more nodes each of which is ProcessingInstruction\n * or Comment.\n * - DocumentFragment, Element\n * * Zero or more nodes each of which is Element, Text,\n * ProcessingInstruction, or Comment.\n * - DocumentType, Text, ProcessingInstruction, Comment\n * * None.\n *\n * @param node - the root of the tree\n */\nfunction tree_isConstrained(node) {\n var e_1, _a, e_2, _b, e_3, _c;\n switch (node._nodeType) {\n case interfaces_1.NodeType.Document:\n var hasDocType = false;\n var hasElement = false;\n try {\n for (var _d = __values(node._children), _e = _d.next(); !_e.done; _e = _d.next()) {\n var childNode = _e.value;\n switch (childNode._nodeType) {\n case interfaces_1.NodeType.ProcessingInstruction:\n case interfaces_1.NodeType.Comment:\n break;\n case interfaces_1.NodeType.DocumentType:\n if (hasDocType || hasElement)\n return false;\n hasDocType = true;\n break;\n case interfaces_1.NodeType.Element:\n if (hasElement)\n return false;\n hasElement = true;\n break;\n default:\n return false;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_1) throw e_1.error; }\n }\n break;\n case interfaces_1.NodeType.DocumentFragment:\n case interfaces_1.NodeType.Element:\n try {\n for (var _f = __values(node._children), _g = _f.next(); !_g.done; _g = _f.next()) {\n var childNode = _g.value;\n switch (childNode._nodeType) {\n case interfaces_1.NodeType.Element:\n case interfaces_1.NodeType.Text:\n case interfaces_1.NodeType.ProcessingInstruction:\n case interfaces_1.NodeType.CData:\n case interfaces_1.NodeType.Comment:\n break;\n default:\n return false;\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_g && !_g.done && (_b = _f.return)) _b.call(_f);\n }\n finally { if (e_2) throw e_2.error; }\n }\n break;\n case interfaces_1.NodeType.DocumentType:\n case interfaces_1.NodeType.Text:\n case interfaces_1.NodeType.ProcessingInstruction:\n case interfaces_1.NodeType.CData:\n case interfaces_1.NodeType.Comment:\n return (!node.hasChildNodes());\n }\n try {\n for (var _h = __values(node._children), _j = _h.next(); !_j.done; _j = _h.next()) {\n var childNode = _j.value;\n // recursively check child nodes\n if (!tree_isConstrained(childNode))\n return false;\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_j && !_j.done && (_c = _h.return)) _c.call(_h);\n }\n finally { if (e_3) throw e_3.error; }\n }\n return true;\n}\nexports.tree_isConstrained = tree_isConstrained;\n/**\n * Returns the length of a node.\n *\n * @param node - a node to check\n */\nfunction tree_nodeLength(node) {\n /**\n * To determine the length of a node node, switch on node:\n * - DocumentType\n * Zero.\n * - Text\n * - ProcessingInstruction\n * - Comment\n * Its data’s length.\n * - Any other node\n * Its number of children.\n */\n if (util_1.Guard.isDocumentTypeNode(node)) {\n return 0;\n }\n else if (util_1.Guard.isCharacterDataNode(node)) {\n return node._data.length;\n }\n else {\n return node._children.size;\n }\n}\nexports.tree_nodeLength = tree_nodeLength;\n/**\n * Determines if a node is empty.\n *\n * @param node - a node to check\n */\nfunction tree_isEmpty(node) {\n /**\n * A node is considered empty if its length is zero.\n */\n return (tree_nodeLength(node) === 0);\n}\nexports.tree_isEmpty = tree_isEmpty;\n/**\n * Returns the root node of a tree. The root of an object is itself,\n * if its parent is `null`, or else it is the root of its parent.\n * The root of a tree is any object participating in that tree\n * whose parent is `null`.\n *\n * @param node - a node of the tree\n * @param shadow - `true` to return shadow-including root, otherwise\n * `false`\n */\nfunction tree_rootNode(node, shadow) {\n if (shadow === void 0) { shadow = false; }\n /**\n * The root of an object is itself, if its parent is null, or else it is the\n * root of its parent. The root of a tree is any object participating in\n * that tree whose parent is null.\n */\n if (shadow) {\n var root = tree_rootNode(node, false);\n if (util_1.Guard.isShadowRoot(root))\n return tree_rootNode(root._host, true);\n else\n return root;\n }\n else {\n if (!node._parent)\n return node;\n else\n return tree_rootNode(node._parent);\n }\n}\nexports.tree_rootNode = tree_rootNode;\n/**\n * Determines whether `other` is a descendant of `node`. An object\n * A is called a descendant of an object B, if either A is a child\n * of B or A is a child of an object C that is a descendant of B.\n *\n * @param node - a node\n * @param other - the node to check\n * @param self - if `true`, traversal includes `node` itself\n * @param shadow - if `true`, traversal includes the\n * node's and its descendant's shadow trees as well.\n */\nfunction tree_isDescendantOf(node, other, self, shadow) {\n if (self === void 0) { self = false; }\n if (shadow === void 0) { shadow = false; }\n /**\n * An object A is called a descendant of an object B, if either A is a\n * child of B or A is a child of an object C that is a descendant of B.\n *\n * An inclusive descendant is an object or one of its descendants.\n */\n var child = tree_getFirstDescendantNode(node, self, shadow);\n while (child !== null) {\n if (child === other) {\n return true;\n }\n child = tree_getNextDescendantNode(node, child, self, shadow);\n }\n return false;\n}\nexports.tree_isDescendantOf = tree_isDescendantOf;\n/**\n * Determines whether `other` is an ancestor of `node`. An object A\n * is called an ancestor of an object B if and only if B is a\n * descendant of A.\n *\n * @param node - a node\n * @param other - the node to check\n * @param self - if `true`, traversal includes `node` itself\n * @param shadow - if `true`, traversal includes the\n * node's and its descendant's shadow trees as well.\n */\nfunction tree_isAncestorOf(node, other, self, shadow) {\n if (self === void 0) { self = false; }\n if (shadow === void 0) { shadow = false; }\n var ancestor = self ? node : shadow && util_1.Guard.isShadowRoot(node) ?\n node._host : node._parent;\n while (ancestor !== null) {\n if (ancestor === other)\n return true;\n ancestor = shadow && util_1.Guard.isShadowRoot(ancestor) ?\n ancestor._host : ancestor._parent;\n }\n return false;\n}\nexports.tree_isAncestorOf = tree_isAncestorOf;\n/**\n * Determines whether `other` is a host-including ancestor of `node`. An\n * object A is a host-including inclusive ancestor of an object B, if either\n * A is an inclusive ancestor of B, or if B’s root has a non-null host and\n * A is a host-including inclusive ancestor of B’s root’s host.\n *\n * @param node - a node\n * @param other - the node to check\n * @param self - if `true`, traversal includes `node` itself\n */\nfunction tree_isHostIncludingAncestorOf(node, other, self) {\n if (self === void 0) { self = false; }\n if (tree_isAncestorOf(node, other, self))\n return true;\n var root = tree_rootNode(node);\n if (util_1.Guard.isDocumentFragmentNode(root) && root._host !== null &&\n tree_isHostIncludingAncestorOf(root._host, other, self))\n return true;\n return false;\n}\nexports.tree_isHostIncludingAncestorOf = tree_isHostIncludingAncestorOf;\n/**\n * Determines whether `other` is a sibling of `node`. An object A is\n * called a sibling of an object B, if and only if B and A share\n * the same non-null parent.\n *\n * @param node - a node\n * @param other - the node to check\n * @param self - if `true`, traversal includes `node` itself\n */\nfunction tree_isSiblingOf(node, other, self) {\n if (self === void 0) { self = false; }\n /**\n * An object A is called a sibling of an object B, if and only if B and A\n * share the same non-null parent.\n *\n * An inclusive sibling is an object or one of its siblings.\n */\n if (node === other) {\n if (self)\n return true;\n }\n else {\n return (node._parent !== null && node._parent === other._parent);\n }\n return false;\n}\nexports.tree_isSiblingOf = tree_isSiblingOf;\n/**\n * Determines whether `other` is preceding `node`. An object A is\n * preceding an object B if A and B are in the same tree and A comes\n * before B in tree order.\n *\n * @param node - a node\n * @param other - the node to check\n */\nfunction tree_isPreceding(node, other) {\n /**\n * An object A is preceding an object B if A and B are in the same tree and\n * A comes before B in tree order.\n */\n var nodePos = tree_treePosition(node);\n var otherPos = tree_treePosition(other);\n if (nodePos === -1 || otherPos === -1)\n return false;\n else if (tree_rootNode(node) !== tree_rootNode(other))\n return false;\n else\n return otherPos < nodePos;\n}\nexports.tree_isPreceding = tree_isPreceding;\n/**\n * Determines whether `other` is following `node`. An object A is\n * following an object B if A and B are in the same tree and A comes\n * after B in tree order.\n *\n * @param node - a node\n * @param other - the node to check\n */\nfunction tree_isFollowing(node, other) {\n /**\n * An object A is following an object B if A and B are in the same tree and\n * A comes after B in tree order.\n */\n var nodePos = tree_treePosition(node);\n var otherPos = tree_treePosition(other);\n if (nodePos === -1 || otherPos === -1)\n return false;\n else if (tree_rootNode(node) !== tree_rootNode(other))\n return false;\n else\n return otherPos > nodePos;\n}\nexports.tree_isFollowing = tree_isFollowing;\n/**\n * Determines whether `other` is the parent node of `node`.\n *\n * @param node - a node\n * @param other - the node to check\n */\nfunction tree_isParentOf(node, other) {\n /**\n * An object that participates in a tree has a parent, which is either\n * null or an object, and has children, which is an ordered set of objects.\n * An object A whose parent is object B is a child of B.\n */\n return (node._parent === other);\n}\nexports.tree_isParentOf = tree_isParentOf;\n/**\n * Determines whether `other` is a child node of `node`.\n *\n * @param node - a node\n * @param other - the node to check\n */\nfunction tree_isChildOf(node, other) {\n /**\n * An object that participates in a tree has a parent, which is either\n * null or an object, and has children, which is an ordered set of objects.\n * An object A whose parent is object B is a child of B.\n */\n return (other._parent === node);\n}\nexports.tree_isChildOf = tree_isChildOf;\n/**\n * Returns the previous sibling node of `node` or null if it has no\n * preceding sibling.\n *\n * @param node\n */\nfunction tree_previousSibling(node) {\n /**\n * The previous sibling of an object is its first preceding sibling or null\n * if it has no preceding sibling.\n */\n return node._previousSibling;\n}\nexports.tree_previousSibling = tree_previousSibling;\n/**\n * Returns the next sibling node of `node` or null if it has no\n * following sibling.\n *\n * @param node\n */\nfunction tree_nextSibling(node) {\n /**\n * The next sibling of an object is its first following sibling or null\n * if it has no following sibling.\n */\n return node._nextSibling;\n}\nexports.tree_nextSibling = tree_nextSibling;\n/**\n * Returns the first child node of `node` or null if it has no\n * children.\n *\n * @param node\n */\nfunction tree_firstChild(node) {\n /**\n * The first child of an object is its first child or null if it has no\n * children.\n */\n return node._firstChild;\n}\nexports.tree_firstChild = tree_firstChild;\n/**\n * Returns the last child node of `node` or null if it has no\n * children.\n *\n * @param node\n */\nfunction tree_lastChild(node) {\n /**\n * The last child of an object is its last child or null if it has no\n * children.\n */\n return node._lastChild;\n}\nexports.tree_lastChild = tree_lastChild;\n/**\n * Returns the zero-based index of `node` when counted preorder in\n * the tree rooted at `root`. Returns `-1` if `node` is not in\n * the tree.\n *\n * @param node - the node to get the index of\n */\nfunction tree_treePosition(node) {\n var root = tree_rootNode(node);\n var pos = 0;\n var childNode = tree_getFirstDescendantNode(root);\n while (childNode !== null) {\n pos++;\n if (childNode === node)\n return pos;\n childNode = tree_getNextDescendantNode(root, childNode);\n }\n return -1;\n}\nexports.tree_treePosition = tree_treePosition;\n/**\n * Determines the index of `node`. The index of an object is its number of\n * preceding siblings, or 0 if it has none.\n *\n * @param node - a node\n * @param other - the node to check\n */\nfunction tree_index(node) {\n /**\n * The index of an object is its number of preceding siblings, or 0 if it\n * has none.\n */\n var n = 0;\n while (node._previousSibling !== null) {\n n++;\n node = node._previousSibling;\n }\n return n;\n}\nexports.tree_index = tree_index;\n/**\n * Retargets an object against another object.\n *\n * @param a - an object to retarget\n * @param b - an object to retarget against\n */\nfunction tree_retarget(a, b) {\n /**\n * To retarget an object A against an object B, repeat these steps until\n * they return an object:\n * 1. If one of the following is true\n * - A is not a node\n * - A's root is not a shadow root\n * - B is a node and A's root is a shadow-including inclusive ancestor\n * of B\n * then return A.\n * 2. Set A to A's root's host.\n */\n while (true) {\n if (!a || !util_1.Guard.isNode(a)) {\n return a;\n }\n var rootOfA = tree_rootNode(a);\n if (!util_1.Guard.isShadowRoot(rootOfA)) {\n return a;\n }\n if (b && util_1.Guard.isNode(b) && tree_isAncestorOf(rootOfA, b, true, true)) {\n return a;\n }\n a = rootOfA.host;\n }\n}\nexports.tree_retarget = tree_retarget;\n//# sourceMappingURL=TreeAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar TraversalAlgorithm_1 = require(\"./TraversalAlgorithm\");\n/**\n * Returns the first or last child node, or `null` if there are none.\n *\n * @param walker - the `TreeWalker` instance\n * @param first - `true` to return the first child node, or `false` to\n * return the last child node.\n */\nfunction treeWalker_traverseChildren(walker, first) {\n /**\n * 1. Let node be walker’s current.\n * 2. Set node to node’s first child if type is first, and node’s last child\n * if type is last.\n * 3. While node is non-null:\n */\n var node = (first ? walker._current._firstChild : walker._current._lastChild);\n while (node !== null) {\n /**\n * 3.1. Let result be the result of filtering node within walker.\n */\n var result = TraversalAlgorithm_1.traversal_filter(walker, node);\n if (result === interfaces_1.FilterResult.Accept) {\n /**\n * 3.2. If result is FILTER_ACCEPT, then set walker’s current to node and\n * return node.\n */\n walker._current = node;\n return node;\n }\n else if (result === interfaces_1.FilterResult.Skip) {\n /**\n * 3.3. If result is FILTER_SKIP, then:\n * 3.3.1. Let child be node’s first child if type is first, and node’s\n * last child if type is last.\n * 3.3.2. If child is non-null, then set node to child and continue.\n */\n var child = (first ? node._firstChild : node._lastChild);\n if (child !== null) {\n node = child;\n continue;\n }\n }\n /**\n * 3.4. While node is non-null:\n */\n while (node !== null) {\n /**\n * 3.4.1. Let sibling be node’s next sibling if type is first, and\n * node’s previous sibling if type is last.\n * 3.4.2. If sibling is non-null, then set node to sibling and break.\n */\n var sibling = (first ? node._nextSibling : node._previousSibling);\n if (sibling !== null) {\n node = sibling;\n break;\n }\n /**\n * 3.4.3. Let parent be node’s parent.\n * 3.4.4. If parent is null, walker’s root, or walker’s current, then\n * return null.\n */\n var parent = node._parent;\n if (parent === null || parent === walker._root || parent === walker._current) {\n return null;\n }\n /**\n * 3.4.5. Set node to parent.\n */\n node = parent;\n }\n }\n /**\n * 5. Return null\n */\n return null;\n}\nexports.treeWalker_traverseChildren = treeWalker_traverseChildren;\n/**\n * Returns the next or previous sibling node, or `null` if there are none.\n *\n * @param walker - the `TreeWalker` instance\n * @param next - `true` to return the next sibling node, or `false` to\n * return the previous sibling node.\n */\nfunction treeWalker_traverseSiblings(walker, next) {\n /**\n * 1. Let node be walker’s current.\n * 2. If node is root, then return null.\n * 3. While node is non-null:\n */\n var node = walker._current;\n if (node === walker._root)\n return null;\n while (true) {\n /**\n * 3.1. Let sibling be node’s next sibling if type is next, and node’s\n * previous sibling if type is previous.\n * 3.2. While sibling is non-null:\n */\n var sibling = (next ? node._nextSibling : node._previousSibling);\n while (sibling !== null) {\n /**\n * 3.2.1. Set node to sibling.\n * 3.2.2. Let result be the result of filtering node within walker.\n * 3.2.3. If result is FILTER_ACCEPT, then set walker’s current to node\n * and return node.\n */\n node = sibling;\n var result = TraversalAlgorithm_1.traversal_filter(walker, node);\n if (result === interfaces_1.FilterResult.Accept) {\n walker._current = node;\n return node;\n }\n /**\n * 3.2.4. Set sibling to node’s first child if type is next, and node’s\n * last child if type is previous.\n * 3.2.5. If result is FILTER_REJECT or sibling is null, then set\n * sibling to node’s next sibling if type is next, and node’s previous\n * sibling if type is previous.\n */\n sibling = (next ? node._firstChild : node._lastChild);\n if (result === interfaces_1.FilterResult.Reject || sibling === null) {\n sibling = (next ? node._nextSibling : node._previousSibling);\n }\n }\n /**\n * 3.3. Set node to node’s parent.\n * 3.4. If node is null or walker’s root, then return null.\n */\n node = node._parent;\n if (node === null || node === walker._root) {\n return null;\n }\n /**\n * 3.5. If the return value of filtering node within walker is FILTER_ACCEPT,\n * then return null.\n */\n if (TraversalAlgorithm_1.traversal_filter(walker, node) === interfaces_1.FilterResult.Accept) {\n return null;\n }\n }\n}\nexports.treeWalker_traverseSiblings = treeWalker_traverseSiblings;\n//# sourceMappingURL=TreeWalkerAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Defines a WebIDL `Const` property on the given object.\n *\n * @param o - object on which to add the property\n * @param name - property name\n * @param value - property value\n */\nfunction idl_defineConst(o, name, value) {\n Object.defineProperty(o, name, { writable: false, enumerable: true, configurable: false, value: value });\n}\nexports.idl_defineConst = idl_defineConst;\n//# sourceMappingURL=WebIDLAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Determines if the given string is valid for a `\"Name\"` construct.\n *\n * @param name - name string to test\n */\nfunction xml_isName(name) {\n for (var i = 0; i < name.length; i++) {\n var n = name.charCodeAt(i);\n // NameStartChar\n if ((n >= 97 && n <= 122) || // [a-z]\n (n >= 65 && n <= 90) || // [A-Z]\n n === 58 || n === 95 || // ':' or '_'\n (n >= 0xC0 && n <= 0xD6) ||\n (n >= 0xD8 && n <= 0xF6) ||\n (n >= 0xF8 && n <= 0x2FF) ||\n (n >= 0x370 && n <= 0x37D) ||\n (n >= 0x37F && n <= 0x1FFF) ||\n (n >= 0x200C && n <= 0x200D) ||\n (n >= 0x2070 && n <= 0x218F) ||\n (n >= 0x2C00 && n <= 0x2FEF) ||\n (n >= 0x3001 && n <= 0xD7FF) ||\n (n >= 0xF900 && n <= 0xFDCF) ||\n (n >= 0xFDF0 && n <= 0xFFFD)) {\n continue;\n }\n else if (i !== 0 &&\n (n === 45 || n === 46 || // '-' or '.'\n (n >= 48 && n <= 57) || // [0-9]\n (n === 0xB7) ||\n (n >= 0x0300 && n <= 0x036F) ||\n (n >= 0x203F && n <= 0x2040))) {\n continue;\n }\n if (n >= 0xD800 && n <= 0xDBFF && i < name.length - 1) {\n var n2 = name.charCodeAt(i + 1);\n if (n2 >= 0xDC00 && n2 <= 0xDFFF) {\n n = (n - 0xD800) * 0x400 + n2 - 0xDC00 + 0x10000;\n i++;\n if (n >= 0x10000 && n <= 0xEFFFF) {\n continue;\n }\n }\n }\n return false;\n }\n return true;\n}\nexports.xml_isName = xml_isName;\n/**\n * Determines if the given string is valid for a `\"QName\"` construct.\n *\n * @param name - name string to test\n */\nfunction xml_isQName(name) {\n var colonFound = false;\n for (var i = 0; i < name.length; i++) {\n var n = name.charCodeAt(i);\n // NameStartChar\n if ((n >= 97 && n <= 122) || // [a-z]\n (n >= 65 && n <= 90) || // [A-Z]\n n === 95 || // '_'\n (n >= 0xC0 && n <= 0xD6) ||\n (n >= 0xD8 && n <= 0xF6) ||\n (n >= 0xF8 && n <= 0x2FF) ||\n (n >= 0x370 && n <= 0x37D) ||\n (n >= 0x37F && n <= 0x1FFF) ||\n (n >= 0x200C && n <= 0x200D) ||\n (n >= 0x2070 && n <= 0x218F) ||\n (n >= 0x2C00 && n <= 0x2FEF) ||\n (n >= 0x3001 && n <= 0xD7FF) ||\n (n >= 0xF900 && n <= 0xFDCF) ||\n (n >= 0xFDF0 && n <= 0xFFFD)) {\n continue;\n }\n else if (i !== 0 &&\n (n === 45 || n === 46 || // '-' or '.'\n (n >= 48 && n <= 57) || // [0-9]\n (n === 0xB7) ||\n (n >= 0x0300 && n <= 0x036F) ||\n (n >= 0x203F && n <= 0x2040))) {\n continue;\n }\n else if (i !== 0 && n === 58) { // :\n if (colonFound)\n return false; // multiple colons in qname\n if (i === name.length - 1)\n return false; // colon at the end of qname\n colonFound = true;\n continue;\n }\n if (n >= 0xD800 && n <= 0xDBFF && i < name.length - 1) {\n var n2 = name.charCodeAt(i + 1);\n if (n2 >= 0xDC00 && n2 <= 0xDFFF) {\n n = (n - 0xD800) * 0x400 + n2 - 0xDC00 + 0x10000;\n i++;\n if (n >= 0x10000 && n <= 0xEFFFF) {\n continue;\n }\n }\n }\n return false;\n }\n return true;\n}\nexports.xml_isQName = xml_isQName;\n/**\n * Determines if the given string contains legal characters.\n *\n * @param chars - sequence of characters to test\n */\nfunction xml_isLegalChar(chars) {\n for (var i = 0; i < chars.length; i++) {\n var n = chars.charCodeAt(i);\n // #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]\n if (n === 0x9 || n === 0xA || n === 0xD ||\n (n >= 0x20 && n <= 0xD7FF) ||\n (n >= 0xE000 && n <= 0xFFFD)) {\n continue;\n }\n if (n >= 0xD800 && n <= 0xDBFF && i < chars.length - 1) {\n var n2 = chars.charCodeAt(i + 1);\n if (n2 >= 0xDC00 && n2 <= 0xDFFF) {\n n = (n - 0xD800) * 0x400 + n2 - 0xDC00 + 0x10000;\n i++;\n if (n >= 0x10000 && n <= 0x10FFFF) {\n continue;\n }\n }\n }\n return false;\n }\n return true;\n}\nexports.xml_isLegalChar = xml_isLegalChar;\n/**\n * Determines if the given string contains legal characters for a public\n * identifier.\n *\n * @param chars - sequence of characters to test\n */\nfunction xml_isPubidChar(chars) {\n for (var i = 0; i < chars.length; i++) {\n // PubId chars are all in the ASCII range, no need to check surrogates\n var n = chars.charCodeAt(i);\n // #x20 | #xD | #xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]\n if ((n >= 97 && n <= 122) || // [a-z]\n (n >= 65 && n <= 90) || // [A-Z]\n (n >= 39 && n <= 59) || // ['()*+,-./] | [0-9] | [:;]\n n === 0x20 || n === 0xD || n === 0xA || // #x20 | #xD | #xA\n (n >= 35 && n <= 37) || // [#$%]\n n === 33 || // !\n n === 61 || n === 63 || n === 64 || n === 95) { // [=?@_]\n continue;\n }\n else {\n return false;\n }\n }\n return true;\n}\nexports.xml_isPubidChar = xml_isPubidChar;\n//# sourceMappingURL=XMLAlgorithm.js.map","\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./AbortAlgorithm\"));\n__export(require(\"./AttrAlgorithm\"));\n__export(require(\"./BoundaryPointAlgorithm\"));\n__export(require(\"./CharacterDataAlgorithm\"));\n__export(require(\"./CreateAlgorithm\"));\n__export(require(\"./CustomElementAlgorithm\"));\n__export(require(\"./DocumentAlgorithm\"));\n__export(require(\"./DOMAlgorithm\"));\n__export(require(\"./DOMTokenListAlgorithm\"));\n__export(require(\"./ElementAlgorithm\"));\n__export(require(\"./EventAlgorithm\"));\n__export(require(\"./EventTargetAlgorithm\"));\n__export(require(\"./MutationAlgorithm\"));\n__export(require(\"./MutationObserverAlgorithm\"));\n__export(require(\"./NamespaceAlgorithm\"));\n__export(require(\"./NodeAlgorithm\"));\n__export(require(\"./NodeIteratorAlgorithm\"));\n__export(require(\"./OrderedSetAlgorithm\"));\n__export(require(\"./ParentNodeAlgorithm\"));\n__export(require(\"./RangeAlgorithm\"));\n__export(require(\"./SelectorsAlgorithm\"));\n__export(require(\"./ShadowTreeAlgorithm\"));\n__export(require(\"./TextAlgorithm\"));\n__export(require(\"./TraversalAlgorithm\"));\n__export(require(\"./TreeAlgorithm\"));\n__export(require(\"./TreeWalkerAlgorithm\"));\n__export(require(\"./WebIDLAlgorithm\"));\n__export(require(\"./XMLAlgorithm\"));\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a controller that allows to abort DOM requests.\n */\nvar AbortControllerImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `AbortController`.\n */\n function AbortControllerImpl() {\n /**\n * 1. Let signal be a new AbortSignal object.\n * 2. Let controller be a new AbortController object whose signal is signal.\n * 3. Return controller.\n */\n this._signal = algorithm_1.create_abortSignal();\n }\n Object.defineProperty(AbortControllerImpl.prototype, \"signal\", {\n /** @inheritdoc */\n get: function () { return this._signal; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n AbortControllerImpl.prototype.abort = function () {\n algorithm_1.abort_signalAbort(this._signal);\n };\n return AbortControllerImpl;\n}());\nexports.AbortControllerImpl = AbortControllerImpl;\n//# sourceMappingURL=AbortControllerImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EventTargetImpl_1 = require(\"./EventTargetImpl\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a signal object that communicates with a DOM request and abort\n * it through an AbortController.\n */\nvar AbortSignalImpl = /** @class */ (function (_super) {\n __extends(AbortSignalImpl, _super);\n /**\n * Initializes a new instance of `AbortSignal`.\n */\n function AbortSignalImpl() {\n var _this = _super.call(this) || this;\n _this._abortedFlag = false;\n _this._abortAlgorithms = new Set();\n return _this;\n }\n Object.defineProperty(AbortSignalImpl.prototype, \"aborted\", {\n /** @inheritdoc */\n get: function () { return this._abortedFlag; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbortSignalImpl.prototype, \"onabort\", {\n /** @inheritdoc */\n get: function () {\n return algorithm_1.event_getterEventHandlerIDLAttribute(this, \"onabort\");\n },\n set: function (val) {\n algorithm_1.event_setterEventHandlerIDLAttribute(this, \"onabort\", val);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new `AbortSignal`.\n */\n AbortSignalImpl._create = function () {\n return new AbortSignalImpl();\n };\n return AbortSignalImpl;\n}(EventTargetImpl_1.EventTargetImpl));\nexports.AbortSignalImpl = AbortSignalImpl;\n//# sourceMappingURL=AbortSignalImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents an abstract range with a start and end boundary point.\n */\nvar AbstractRangeImpl = /** @class */ (function () {\n function AbstractRangeImpl() {\n }\n Object.defineProperty(AbstractRangeImpl.prototype, \"_startNode\", {\n get: function () { return this._start[0]; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"_startOffset\", {\n get: function () { return this._start[1]; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"_endNode\", {\n get: function () { return this._end[0]; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"_endOffset\", {\n get: function () { return this._end[1]; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"_collapsed\", {\n get: function () {\n return (this._start[0] === this._end[0] &&\n this._start[1] === this._end[1]);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"startContainer\", {\n /** @inheritdoc */\n get: function () { return this._startNode; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"startOffset\", {\n /** @inheritdoc */\n get: function () { return this._startOffset; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"endContainer\", {\n /** @inheritdoc */\n get: function () { return this._endNode; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"endOffset\", {\n /** @inheritdoc */\n get: function () { return this._endOffset; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"collapsed\", {\n /** @inheritdoc */\n get: function () { return this._collapsed; },\n enumerable: true,\n configurable: true\n });\n return AbstractRangeImpl;\n}());\nexports.AbstractRangeImpl = AbstractRangeImpl;\n//# sourceMappingURL=AbstractRangeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar NodeImpl_1 = require(\"./NodeImpl\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents an attribute of an element node.\n */\nvar AttrImpl = /** @class */ (function (_super) {\n __extends(AttrImpl, _super);\n /**\n * Initializes a new instance of `Attr`.\n *\n * @param localName - local name\n */\n function AttrImpl(localName) {\n var _this = _super.call(this) || this;\n _this._namespace = null;\n _this._namespacePrefix = null;\n _this._element = null;\n _this._value = '';\n _this._localName = localName;\n return _this;\n }\n Object.defineProperty(AttrImpl.prototype, \"ownerElement\", {\n /** @inheritdoc */\n get: function () { return this._element; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AttrImpl.prototype, \"namespaceURI\", {\n /** @inheritdoc */\n get: function () { return this._namespace; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AttrImpl.prototype, \"prefix\", {\n /** @inheritdoc */\n get: function () { return this._namespacePrefix; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AttrImpl.prototype, \"localName\", {\n /** @inheritdoc */\n get: function () { return this._localName; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AttrImpl.prototype, \"name\", {\n /** @inheritdoc */\n get: function () { return this._qualifiedName; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AttrImpl.prototype, \"value\", {\n /** @inheritdoc */\n get: function () { return this._value; },\n set: function (value) {\n /**\n * The value attribute’s setter must set an existing attribute value with\n * context object and the given value.\n */\n algorithm_1.attr_setAnExistingAttributeValue(this, value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AttrImpl.prototype, \"_qualifiedName\", {\n /**\n * Returns the qualified name.\n */\n get: function () {\n /**\n * An attribute’s qualified name is its local name if its namespace prefix\n * is null, and its namespace prefix, followed by \":\", followed by its\n * local name, otherwise.\n */\n return (this._namespacePrefix !== null ?\n this._namespacePrefix + ':' + this._localName :\n this._localName);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates an `Attr`.\n *\n * @param document - owner document\n * @param localName - local name\n */\n AttrImpl._create = function (document, localName) {\n var node = new AttrImpl(localName);\n node._nodeDocument = document;\n return node;\n };\n return AttrImpl;\n}(NodeImpl_1.NodeImpl));\nexports.AttrImpl = AttrImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(AttrImpl.prototype, \"_nodeType\", interfaces_1.NodeType.Attribute);\nWebIDLAlgorithm_1.idl_defineConst(AttrImpl.prototype, \"specified\", true);\n//# sourceMappingURL=AttrImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar TextImpl_1 = require(\"./TextImpl\");\nvar interfaces_1 = require(\"./interfaces\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a CDATA node.\n */\nvar CDATASectionImpl = /** @class */ (function (_super) {\n __extends(CDATASectionImpl, _super);\n /**\n * Initializes a new instance of `CDATASection`.\n *\n * @param data - node contents\n */\n function CDATASectionImpl(data) {\n return _super.call(this, data) || this;\n }\n /**\n * Creates a new `CDATASection`.\n *\n * @param document - owner document\n * @param data - node contents\n */\n CDATASectionImpl._create = function (document, data) {\n if (data === void 0) { data = ''; }\n var node = new CDATASectionImpl(data);\n node._nodeDocument = document;\n return node;\n };\n return CDATASectionImpl;\n}(TextImpl_1.TextImpl));\nexports.CDATASectionImpl = CDATASectionImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(CDATASectionImpl.prototype, \"_nodeType\", interfaces_1.NodeType.CData);\n//# sourceMappingURL=CDATASectionImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar NodeImpl_1 = require(\"./NodeImpl\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a generic text node.\n */\nvar CharacterDataImpl = /** @class */ (function (_super) {\n __extends(CharacterDataImpl, _super);\n /**\n * Initializes a new instance of `CharacterData`.\n *\n * @param data - the text content\n */\n function CharacterDataImpl(data) {\n var _this = _super.call(this) || this;\n _this._data = data;\n return _this;\n }\n Object.defineProperty(CharacterDataImpl.prototype, \"data\", {\n /** @inheritdoc */\n get: function () { return this._data; },\n set: function (value) {\n algorithm_1.characterData_replaceData(this, 0, this._data.length, value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CharacterDataImpl.prototype, \"length\", {\n /** @inheritdoc */\n get: function () { return this._data.length; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n CharacterDataImpl.prototype.substringData = function (offset, count) {\n /**\n * The substringData(offset, count) method, when invoked, must return the\n * result of running substring data with node context object, offset offset, and count count.\n */\n return algorithm_1.characterData_substringData(this, offset, count);\n };\n /** @inheritdoc */\n CharacterDataImpl.prototype.appendData = function (data) {\n /**\n * The appendData(data) method, when invoked, must replace data with node\n * context object, offset context object’s length, count 0, and data data.\n */\n return algorithm_1.characterData_replaceData(this, this._data.length, 0, data);\n };\n /** @inheritdoc */\n CharacterDataImpl.prototype.insertData = function (offset, data) {\n /**\n * The insertData(offset, data) method, when invoked, must replace data with\n * node context object, offset offset, count 0, and data data.\n */\n algorithm_1.characterData_replaceData(this, offset, 0, data);\n };\n /** @inheritdoc */\n CharacterDataImpl.prototype.deleteData = function (offset, count) {\n /**\n * The deleteData(offset, count) method, when invoked, must replace data\n * with node context object, offset offset, count count, and data the\n * empty string.\n */\n algorithm_1.characterData_replaceData(this, offset, count, '');\n };\n /** @inheritdoc */\n CharacterDataImpl.prototype.replaceData = function (offset, count, data) {\n /**\n * The replaceData(offset, count, data) method, when invoked, must replace\n * data with node context object, offset offset, count count, and data data.\n */\n algorithm_1.characterData_replaceData(this, offset, count, data);\n };\n Object.defineProperty(CharacterDataImpl.prototype, \"previousElementSibling\", {\n // MIXIN: NonDocumentTypeChildNode\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: NonDocumentTypeChildNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CharacterDataImpl.prototype, \"nextElementSibling\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: NonDocumentTypeChildNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n // MIXIN: ChildNode\n /* istanbul ignore next */\n CharacterDataImpl.prototype.before = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n CharacterDataImpl.prototype.after = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n CharacterDataImpl.prototype.replaceWith = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n CharacterDataImpl.prototype.remove = function () { throw new Error(\"Mixin: ChildNode not implemented.\"); };\n return CharacterDataImpl;\n}(NodeImpl_1.NodeImpl));\nexports.CharacterDataImpl = CharacterDataImpl;\n//# sourceMappingURL=CharacterDataImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a mixin that extends child nodes that can have siblings\n * including doctypes. This mixin is implemented by {@link Element},\n * {@link CharacterData} and {@link DocumentType}.\n */\nvar ChildNodeImpl = /** @class */ (function () {\n function ChildNodeImpl() {\n }\n /** @inheritdoc */\n ChildNodeImpl.prototype.before = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n /**\n * 1. Let parent be context object’s parent.\n * 2. If parent is null, then return.\n */\n var context = util_1.Cast.asNode(this);\n var parent = context._parent;\n if (parent === null)\n return;\n /**\n * 3. Let viablePreviousSibling be context object’s first preceding\n * sibling not in nodes, and null otherwise.\n */\n var viablePreviousSibling = context._previousSibling;\n var flag = true;\n while (flag && viablePreviousSibling) {\n flag = false;\n for (var i = 0; i < nodes.length; i++) {\n var child = nodes[i];\n if (child === viablePreviousSibling) {\n viablePreviousSibling = viablePreviousSibling._previousSibling;\n flag = true;\n break;\n }\n }\n }\n /**\n * 4. Let node be the result of converting nodes into a node, given nodes\n * and context object’s node document.\n */\n var node = algorithm_1.parentNode_convertNodesIntoANode(nodes, context._nodeDocument);\n /**\n * 5. If viablePreviousSibling is null, set it to parent’s first child,\n * and to viablePreviousSibling’s next sibling otherwise.\n */\n if (viablePreviousSibling === null)\n viablePreviousSibling = parent._firstChild;\n else\n viablePreviousSibling = viablePreviousSibling._nextSibling;\n /**\n * 6. Pre-insert node into parent before viablePreviousSibling.\n */\n algorithm_1.mutation_preInsert(node, parent, viablePreviousSibling);\n };\n /** @inheritdoc */\n ChildNodeImpl.prototype.after = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n /**\n * 1. Let parent be context object’s parent.\n * 2. If parent is null, then return.\n */\n var context = util_1.Cast.asNode(this);\n var parent = context._parent;\n if (!parent)\n return;\n /**\n * 3. Let viableNextSibling be context object’s first following sibling not\n * in nodes, and null otherwise.\n */\n var viableNextSibling = context._nextSibling;\n var flag = true;\n while (flag && viableNextSibling) {\n flag = false;\n for (var i = 0; i < nodes.length; i++) {\n var child = nodes[i];\n if (child === viableNextSibling) {\n viableNextSibling = viableNextSibling._nextSibling;\n flag = true;\n break;\n }\n }\n }\n /**\n * 4. Let node be the result of converting nodes into a node, given nodes\n * and context object’s node document.\n */\n var node = algorithm_1.parentNode_convertNodesIntoANode(nodes, context._nodeDocument);\n /**\n * 5. Pre-insert node into parent before viableNextSibling.\n */\n algorithm_1.mutation_preInsert(node, parent, viableNextSibling);\n };\n /** @inheritdoc */\n ChildNodeImpl.prototype.replaceWith = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n /**\n * 1. Let parent be context object’s parent.\n * 2. If parent is null, then return.\n */\n var context = util_1.Cast.asNode(this);\n var parent = context._parent;\n if (!parent)\n return;\n /**\n * 3. Let viableNextSibling be context object’s first following sibling not\n * in nodes, and null otherwise.\n */\n var viableNextSibling = context._nextSibling;\n var flag = true;\n while (flag && viableNextSibling) {\n flag = false;\n for (var i = 0; i < nodes.length; i++) {\n var child = nodes[i];\n if (child === viableNextSibling) {\n viableNextSibling = viableNextSibling._nextSibling;\n flag = true;\n break;\n }\n }\n }\n /**\n * 4. Let node be the result of converting nodes into a node, given nodes\n * and context object’s node document.\n */\n var node = algorithm_1.parentNode_convertNodesIntoANode(nodes, context._nodeDocument);\n /**\n * 5. If context object’s parent is parent, replace the context object with\n * node within parent.\n * _Note:_ Context object could have been inserted into node.\n * 6. Otherwise, pre-insert node into parent before viableNextSibling.\n */\n if (context._parent === parent)\n algorithm_1.mutation_replace(context, node, parent);\n else\n algorithm_1.mutation_preInsert(node, parent, viableNextSibling);\n };\n /** @inheritdoc */\n ChildNodeImpl.prototype.remove = function () {\n /**\n * 1. If context object’s parent is null, then return.\n * 2. Remove the context object from context object’s parent.\n */\n var context = util_1.Cast.asNode(this);\n var parent = context._parent;\n if (!parent)\n return;\n algorithm_1.mutation_remove(context, parent);\n };\n return ChildNodeImpl;\n}());\nexports.ChildNodeImpl = ChildNodeImpl;\n//# sourceMappingURL=ChildNodeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar CharacterDataImpl_1 = require(\"./CharacterDataImpl\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a comment node.\n */\nvar CommentImpl = /** @class */ (function (_super) {\n __extends(CommentImpl, _super);\n /**\n * Initializes a new instance of `Comment`.\n *\n * @param data - the text content\n */\n function CommentImpl(data) {\n if (data === void 0) { data = ''; }\n return _super.call(this, data) || this;\n }\n /**\n * Creates a new `Comment`.\n *\n * @param document - owner document\n * @param data - node contents\n */\n CommentImpl._create = function (document, data) {\n if (data === void 0) { data = ''; }\n var node = new CommentImpl(data);\n node._nodeDocument = document;\n return node;\n };\n return CommentImpl;\n}(CharacterDataImpl_1.CharacterDataImpl));\nexports.CommentImpl = CommentImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(CommentImpl.prototype, \"_nodeType\", interfaces_1.NodeType.Comment);\n//# sourceMappingURL=CommentImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EventImpl_1 = require(\"./EventImpl\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents and event that carries custom data.\n */\nvar CustomEventImpl = /** @class */ (function (_super) {\n __extends(CustomEventImpl, _super);\n /**\n * Initializes a new instance of `CustomEvent`.\n */\n function CustomEventImpl(type, eventInit) {\n var _this = _super.call(this, type, eventInit) || this;\n _this._detail = null;\n _this._detail = (eventInit && eventInit.detail) || null;\n return _this;\n }\n Object.defineProperty(CustomEventImpl.prototype, \"detail\", {\n /** @inheritdoc */\n get: function () { return this._detail; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n CustomEventImpl.prototype.initCustomEvent = function (type, bubbles, cancelable, detail) {\n if (bubbles === void 0) { bubbles = false; }\n if (cancelable === void 0) { cancelable = false; }\n if (detail === void 0) { detail = null; }\n /**\n * 1. If the context object’s dispatch flag is set, then return.\n */\n if (this._dispatchFlag)\n return;\n /**\n * 2. Initialize the context object with type, bubbles, and cancelable.\n */\n algorithm_1.event_initialize(this, type, bubbles, cancelable);\n /**\n * 3. Set the context object’s detail attribute to detail.\n */\n this._detail = detail;\n };\n return CustomEventImpl;\n}(EventImpl_1.EventImpl));\nexports.CustomEventImpl = CustomEventImpl;\n//# sourceMappingURL=CustomEventImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents the base class of `Error` objects used by this module.\n */\nvar DOMException = /** @class */ (function (_super) {\n __extends(DOMException, _super);\n /**\n *\n * @param name - message name\n * @param message - error message\n */\n function DOMException(name, message) {\n if (message === void 0) { message = \"\"; }\n var _this = _super.call(this, message) || this;\n _this.name = name;\n return _this;\n }\n return DOMException;\n}(Error));\nexports.DOMException = DOMException;\nvar DOMStringSizeError = /** @class */ (function (_super) {\n __extends(DOMStringSizeError, _super);\n /**\n * @param message - error message\n */\n function DOMStringSizeError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"DOMStringSizeError\", message) || this;\n }\n return DOMStringSizeError;\n}(DOMException));\nexports.DOMStringSizeError = DOMStringSizeError;\nvar WrongDocumentError = /** @class */ (function (_super) {\n __extends(WrongDocumentError, _super);\n /**\n * @param message - error message\n */\n function WrongDocumentError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"WrongDocumentError\", \"The object is in the wrong document. \" + message) || this;\n }\n return WrongDocumentError;\n}(DOMException));\nexports.WrongDocumentError = WrongDocumentError;\nvar NoDataAllowedError = /** @class */ (function (_super) {\n __extends(NoDataAllowedError, _super);\n /**\n * @param message - error message\n */\n function NoDataAllowedError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NoDataAllowedError\", message) || this;\n }\n return NoDataAllowedError;\n}(DOMException));\nexports.NoDataAllowedError = NoDataAllowedError;\nvar NoModificationAllowedError = /** @class */ (function (_super) {\n __extends(NoModificationAllowedError, _super);\n /**\n * @param message - error message\n */\n function NoModificationAllowedError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NoModificationAllowedError\", \"The object can not be modified. \" + message) || this;\n }\n return NoModificationAllowedError;\n}(DOMException));\nexports.NoModificationAllowedError = NoModificationAllowedError;\nvar NotSupportedError = /** @class */ (function (_super) {\n __extends(NotSupportedError, _super);\n /**\n * @param message - error message\n */\n function NotSupportedError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NotSupportedError\", \"The operation is not supported. \" + message) || this;\n }\n return NotSupportedError;\n}(DOMException));\nexports.NotSupportedError = NotSupportedError;\nvar InUseAttributeError = /** @class */ (function (_super) {\n __extends(InUseAttributeError, _super);\n /**\n * @param message - error message\n */\n function InUseAttributeError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"InUseAttributeError\", message) || this;\n }\n return InUseAttributeError;\n}(DOMException));\nexports.InUseAttributeError = InUseAttributeError;\nvar InvalidStateError = /** @class */ (function (_super) {\n __extends(InvalidStateError, _super);\n /**\n * @param message - error message\n */\n function InvalidStateError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"InvalidStateError\", \"The object is in an invalid state. \" + message) || this;\n }\n return InvalidStateError;\n}(DOMException));\nexports.InvalidStateError = InvalidStateError;\nvar InvalidModificationError = /** @class */ (function (_super) {\n __extends(InvalidModificationError, _super);\n /**\n * @param message - error message\n */\n function InvalidModificationError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"InvalidModificationError\", \"The object can not be modified in this way. \" + message) || this;\n }\n return InvalidModificationError;\n}(DOMException));\nexports.InvalidModificationError = InvalidModificationError;\nvar NamespaceError = /** @class */ (function (_super) {\n __extends(NamespaceError, _super);\n /**\n * @param message - error message\n */\n function NamespaceError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NamespaceError\", \"The operation is not allowed by Namespaces in XML. [XMLNS] \" + message) || this;\n }\n return NamespaceError;\n}(DOMException));\nexports.NamespaceError = NamespaceError;\nvar InvalidAccessError = /** @class */ (function (_super) {\n __extends(InvalidAccessError, _super);\n /**\n * @param message - error message\n */\n function InvalidAccessError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"InvalidAccessError\", \"The object does not support the operation or argument. \" + message) || this;\n }\n return InvalidAccessError;\n}(DOMException));\nexports.InvalidAccessError = InvalidAccessError;\nvar ValidationError = /** @class */ (function (_super) {\n __extends(ValidationError, _super);\n /**\n * @param message - error message\n */\n function ValidationError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"ValidationError\", message) || this;\n }\n return ValidationError;\n}(DOMException));\nexports.ValidationError = ValidationError;\nvar TypeMismatchError = /** @class */ (function (_super) {\n __extends(TypeMismatchError, _super);\n /**\n * @param message - error message\n */\n function TypeMismatchError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"TypeMismatchError\", message) || this;\n }\n return TypeMismatchError;\n}(DOMException));\nexports.TypeMismatchError = TypeMismatchError;\nvar SecurityError = /** @class */ (function (_super) {\n __extends(SecurityError, _super);\n /**\n * @param message - error message\n */\n function SecurityError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"SecurityError\", \"The operation is insecure. \" + message) || this;\n }\n return SecurityError;\n}(DOMException));\nexports.SecurityError = SecurityError;\nvar NetworkError = /** @class */ (function (_super) {\n __extends(NetworkError, _super);\n /**\n * @param message - error message\n */\n function NetworkError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NetworkError\", \"A network error occurred. \" + message) || this;\n }\n return NetworkError;\n}(DOMException));\nexports.NetworkError = NetworkError;\nvar AbortError = /** @class */ (function (_super) {\n __extends(AbortError, _super);\n /**\n * @param message - error message\n */\n function AbortError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"AbortError\", \"The operation was aborted. \" + message) || this;\n }\n return AbortError;\n}(DOMException));\nexports.AbortError = AbortError;\nvar URLMismatchError = /** @class */ (function (_super) {\n __extends(URLMismatchError, _super);\n /**\n * @param message - error message\n */\n function URLMismatchError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"URLMismatchError\", \"The given URL does not match another URL. \" + message) || this;\n }\n return URLMismatchError;\n}(DOMException));\nexports.URLMismatchError = URLMismatchError;\nvar QuotaExceededError = /** @class */ (function (_super) {\n __extends(QuotaExceededError, _super);\n /**\n * @param message - error message\n */\n function QuotaExceededError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"QuotaExceededError\", \"The quota has been exceeded. \" + message) || this;\n }\n return QuotaExceededError;\n}(DOMException));\nexports.QuotaExceededError = QuotaExceededError;\nvar TimeoutError = /** @class */ (function (_super) {\n __extends(TimeoutError, _super);\n /**\n * @param message - error message\n */\n function TimeoutError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"TimeoutError\", \"The operation timed out. \" + message) || this;\n }\n return TimeoutError;\n}(DOMException));\nexports.TimeoutError = TimeoutError;\nvar InvalidNodeTypeError = /** @class */ (function (_super) {\n __extends(InvalidNodeTypeError, _super);\n /**\n * @param message - error message\n */\n function InvalidNodeTypeError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"InvalidNodeTypeError\", \"The supplied node is incorrect or has an incorrect ancestor for this operation. \" + message) || this;\n }\n return InvalidNodeTypeError;\n}(DOMException));\nexports.InvalidNodeTypeError = InvalidNodeTypeError;\nvar DataCloneError = /** @class */ (function (_super) {\n __extends(DataCloneError, _super);\n /**\n * @param message - error message\n */\n function DataCloneError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"DataCloneError\", \"The object can not be cloned. \" + message) || this;\n }\n return DataCloneError;\n}(DOMException));\nexports.DataCloneError = DataCloneError;\nvar NotImplementedError = /** @class */ (function (_super) {\n __extends(NotImplementedError, _super);\n /**\n * @param message - error message\n */\n function NotImplementedError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NotImplementedError\", \"The DOM method is not implemented by this module. \" + message) || this;\n }\n return NotImplementedError;\n}(DOMException));\nexports.NotImplementedError = NotImplementedError;\nvar HierarchyRequestError = /** @class */ (function (_super) {\n __extends(HierarchyRequestError, _super);\n /**\n * @param message - error message\n */\n function HierarchyRequestError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"HierarchyRequestError\", \"The operation would yield an incorrect node tree. \" + message) || this;\n }\n return HierarchyRequestError;\n}(DOMException));\nexports.HierarchyRequestError = HierarchyRequestError;\nvar NotFoundError = /** @class */ (function (_super) {\n __extends(NotFoundError, _super);\n /**\n * @param message - error message\n */\n function NotFoundError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NotFoundError\", \"The object can not be found here. \" + message) || this;\n }\n return NotFoundError;\n}(DOMException));\nexports.NotFoundError = NotFoundError;\nvar IndexSizeError = /** @class */ (function (_super) {\n __extends(IndexSizeError, _super);\n /**\n * @param message - error message\n */\n function IndexSizeError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"IndexSizeError\", \"The index is not in the allowed range. \" + message) || this;\n }\n return IndexSizeError;\n}(DOMException));\nexports.IndexSizeError = IndexSizeError;\nvar SyntaxError = /** @class */ (function (_super) {\n __extends(SyntaxError, _super);\n /**\n * @param message - error message\n */\n function SyntaxError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"SyntaxError\", \"The string did not match the expected pattern. \" + message) || this;\n }\n return SyntaxError;\n}(DOMException));\nexports.SyntaxError = SyntaxError;\nvar InvalidCharacterError = /** @class */ (function (_super) {\n __extends(InvalidCharacterError, _super);\n /**\n * @param message - error message\n */\n function InvalidCharacterError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"InvalidCharacterError\", \"The string contains invalid characters. \" + message) || this;\n }\n return InvalidCharacterError;\n}(DOMException));\nexports.InvalidCharacterError = InvalidCharacterError;\n//# sourceMappingURL=DOMException.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar CreateAlgorithm_1 = require(\"../algorithm/CreateAlgorithm\");\n/**\n * Represents an object implementing DOM algorithms.\n */\nvar DOMImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `DOM`.\n */\n function DOMImpl() {\n this._features = {\n mutationObservers: true,\n customElements: true,\n slots: true,\n steps: true\n };\n this._window = null;\n this._compareCache = new util_1.CompareCache();\n this._rangeList = new util_1.FixedSizeSet();\n }\n /**\n * Sets DOM algorithm features.\n *\n * @param features - DOM features supported by algorithms. All features are\n * enabled by default unless explicity disabled.\n */\n DOMImpl.prototype.setFeatures = function (features) {\n if (features === undefined)\n features = true;\n if (util_1.isObject(features)) {\n for (var key in features) {\n this._features[key] = features[key] || false;\n }\n }\n else {\n // enable/disable all features\n for (var key in this._features) {\n this._features[key] = features;\n }\n }\n };\n Object.defineProperty(DOMImpl.prototype, \"features\", {\n /**\n * Gets DOM algorithm features.\n */\n get: function () { return this._features; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DOMImpl.prototype, \"window\", {\n /**\n * Gets the DOM window.\n */\n get: function () {\n if (this._window === null) {\n this._window = CreateAlgorithm_1.create_window();\n }\n return this._window;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DOMImpl.prototype, \"compareCache\", {\n /**\n * Gets the global node compare cache.\n */\n get: function () { return this._compareCache; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DOMImpl.prototype, \"rangeList\", {\n /**\n * Gets the global range list.\n */\n get: function () { return this._rangeList; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DOMImpl, \"instance\", {\n /**\n * Returns the instance of `DOM`.\n */\n get: function () {\n if (!DOMImpl._instance) {\n DOMImpl._instance = new DOMImpl();\n }\n return DOMImpl._instance;\n },\n enumerable: true,\n configurable: true\n });\n return DOMImpl;\n}());\n/**\n * Represents an object implementing DOM algorithms.\n */\nexports.dom = DOMImpl.instance;\n//# sourceMappingURL=DOMImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents an object providing methods which are not dependent on\n * any particular document.\n */\nvar DOMImplementationImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `DOMImplementation`.\n *\n * @param document - the associated document\n */\n function DOMImplementationImpl(document) {\n this._associatedDocument = document || DOMImpl_1.dom.window.document;\n }\n /** @inheritdoc */\n DOMImplementationImpl.prototype.createDocumentType = function (qualifiedName, publicId, systemId) {\n /**\n * 1. Validate qualifiedName.\n * 2. Return a new doctype, with qualifiedName as its name, publicId as its\n * public ID, and systemId as its system ID, and with its node document set\n * to the associated document of the context object.\n */\n algorithm_1.namespace_validate(qualifiedName);\n return algorithm_1.create_documentType(this._associatedDocument, qualifiedName, publicId, systemId);\n };\n /** @inheritdoc */\n DOMImplementationImpl.prototype.createDocument = function (namespace, qualifiedName, doctype) {\n if (doctype === void 0) { doctype = null; }\n /**\n * 1. Let document be a new XMLDocument.\n */\n var document = algorithm_1.create_xmlDocument();\n /**\n * 2. Let element be null.\n * 3. If qualifiedName is not the empty string, then set element to\n * the result of running the internal createElementNS steps, given document,\n * namespace, qualifiedName, and an empty dictionary.\n */\n var element = null;\n if (qualifiedName) {\n element = algorithm_1.document_internalCreateElementNS(document, namespace, qualifiedName);\n }\n /**\n * 4. If doctype is non-null, append doctype to document.\n * 5. If element is non-null, append element to document.\n */\n if (doctype)\n document.appendChild(doctype);\n if (element)\n document.appendChild(element);\n /**\n * 6. document’s origin is context object’s associated document’s origin.\n */\n document._origin = this._associatedDocument._origin;\n /**\n * 7. document’s content type is determined by namespace:\n * - HTML namespace\n * application/xhtml+xml\n * - SVG namespace\n * image/svg+xml\n * - Any other namespace\n * application/xml\n */\n if (namespace === infra_1.namespace.HTML)\n document._contentType = \"application/xhtml+xml\";\n else if (namespace === infra_1.namespace.SVG)\n document._contentType = \"image/svg+xml\";\n else\n document._contentType = \"application/xml\";\n /**\n * 8. Return document.\n */\n return document;\n };\n /** @inheritdoc */\n DOMImplementationImpl.prototype.createHTMLDocument = function (title) {\n /**\n * 1. Let doc be a new document that is an HTML document.\n * 2. Set doc’s content type to \"text/html\".\n */\n var doc = algorithm_1.create_document();\n doc._type = \"html\";\n doc._contentType = \"text/html\";\n /**\n * 3. Append a new doctype, with \"html\" as its name and with its node\n * document set to doc, to doc.\n */\n doc.appendChild(algorithm_1.create_documentType(doc, \"html\", \"\", \"\"));\n /**\n * 4. Append the result of creating an element given doc, html, and the\n * HTML namespace, to doc.\n */\n var htmlElement = algorithm_1.element_createAnElement(doc, \"html\", infra_1.namespace.HTML);\n doc.appendChild(htmlElement);\n /**\n * 5. Append the result of creating an element given doc, head, and the\n * HTML namespace, to the html element created earlier.\n */\n var headElement = algorithm_1.element_createAnElement(doc, \"head\", infra_1.namespace.HTML);\n htmlElement.appendChild(headElement);\n /**\n * 6. If title is given:\n * 6.1. Append the result of creating an element given doc, title, and\n * the HTML namespace, to the head element created earlier.\n * 6.2. Append a new Text node, with its data set to title (which could\n * be the empty string) and its node document set to doc, to the title\n * element created earlier.\n */\n if (title !== undefined) {\n var titleElement = algorithm_1.element_createAnElement(doc, \"title\", infra_1.namespace.HTML);\n headElement.appendChild(titleElement);\n var textElement = algorithm_1.create_text(doc, title);\n titleElement.appendChild(textElement);\n }\n /**\n * 7. Append the result of creating an element given doc, body, and the\n * HTML namespace, to the html element created earlier.\n */\n var bodyElement = algorithm_1.element_createAnElement(doc, \"body\", infra_1.namespace.HTML);\n htmlElement.appendChild(bodyElement);\n /**\n * 8. doc’s origin is context object’s associated document’s origin.\n */\n doc._origin = this._associatedDocument._origin;\n /**\n * 9. Return doc.\n */\n return doc;\n };\n /** @inheritdoc */\n DOMImplementationImpl.prototype.hasFeature = function () { return true; };\n /**\n * Creates a new `DOMImplementation`.\n *\n * @param document - owner document\n */\n DOMImplementationImpl._create = function (document) {\n return new DOMImplementationImpl(document);\n };\n return DOMImplementationImpl;\n}());\nexports.DOMImplementationImpl = DOMImplementationImpl;\nWebIDLAlgorithm_1.idl_defineConst(DOMImplementationImpl.prototype, \"_ID\", \"@oozcitak/dom\");\n//# sourceMappingURL=DOMImplementationImpl.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar DOMException_1 = require(\"./DOMException\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a token set.\n */\nvar DOMTokenListImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `DOMTokenList`.\n *\n * @param element - associated element\n * @param attribute - associated attribute\n */\n function DOMTokenListImpl(element, attribute) {\n /**\n * 1. Let element be associated element.\n * 2. Let localName be associated attribute’s local name.\n * 3. Let value be the result of getting an attribute value given element\n * and localName.\n * 4. Run the attribute change steps for element, localName, value, value,\n * and null.\n */\n this._element = element;\n this._attribute = attribute;\n this._tokenSet = new Set();\n var localName = attribute._localName;\n var value = algorithm_1.element_getAnAttributeValue(element, localName);\n // define a closure to be called when the associated attribute's value changes\n var thisObj = this;\n function updateTokenSet(element, localName, oldValue, value, namespace) {\n /**\n * 1. If localName is associated attribute’s local name, namespace is null,\n * and value is null, then empty token set.\n * 2. Otherwise, if localName is associated attribute’s local name,\n * namespace is null, then set token set to value, parsed.\n */\n if (localName === thisObj._attribute._localName && namespace === null) {\n if (!value)\n thisObj._tokenSet.clear();\n else\n thisObj._tokenSet = algorithm_1.orderedSet_parse(value);\n }\n }\n // add the closure to the associated element's attribute change steps\n this._element._attributeChangeSteps.push(updateTokenSet);\n if (DOMImpl_1.dom.features.steps) {\n algorithm_1.dom_runAttributeChangeSteps(element, localName, value, value, null);\n }\n }\n Object.defineProperty(DOMTokenListImpl.prototype, \"length\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The length attribute' getter must return context object’s token set’s\n * size.\n */\n return this._tokenSet.size;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n DOMTokenListImpl.prototype.item = function (index) {\n var e_1, _a;\n /**\n * 1. If index is equal to or greater than context object’s token set’s\n * size, then return null.\n * 2. Return context object’s token set[index].\n */\n var i = 0;\n try {\n for (var _b = __values(this._tokenSet), _c = _b.next(); !_c.done; _c = _b.next()) {\n var token = _c.value;\n if (i === index)\n return token;\n i++;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return null;\n };\n /** @inheritdoc */\n DOMTokenListImpl.prototype.contains = function (token) {\n /**\n * The contains(token) method, when invoked, must return true if context\n * object’s token set[token] exists, and false otherwise.\n */\n return this._tokenSet.has(token);\n };\n /** @inheritdoc */\n DOMTokenListImpl.prototype.add = function () {\n var e_2, _a;\n var tokens = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n tokens[_i] = arguments[_i];\n }\n try {\n /**\n * 1. For each token in tokens:\n * 1.1. If token is the empty string, then throw a \"SyntaxError\"\n * DOMException.\n * 1.2. If token contains any ASCII whitespace, then throw an\n * \"InvalidCharacterError\" DOMException.\n * 2. For each token in tokens, append token to context object’s token set.\n * 3. Run the update steps.\n */\n for (var tokens_1 = __values(tokens), tokens_1_1 = tokens_1.next(); !tokens_1_1.done; tokens_1_1 = tokens_1.next()) {\n var token = tokens_1_1.value;\n if (token === '') {\n throw new DOMException_1.SyntaxError(\"Cannot add an empty token.\");\n }\n else if (infra_1.codePoint.ASCIIWhiteSpace.test(token)) {\n throw new DOMException_1.InvalidCharacterError(\"Token cannot contain whitespace.\");\n }\n else {\n this._tokenSet.add(token);\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (tokens_1_1 && !tokens_1_1.done && (_a = tokens_1.return)) _a.call(tokens_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n algorithm_1.tokenList_updateSteps(this);\n };\n /** @inheritdoc */\n DOMTokenListImpl.prototype.remove = function () {\n var e_3, _a;\n var tokens = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n tokens[_i] = arguments[_i];\n }\n try {\n /**\n * 1. For each token in tokens:\n * 1.1. If token is the empty string, then throw a \"SyntaxError\"\n * DOMException.\n * 1.2. If token contains any ASCII whitespace, then throw an\n * \"InvalidCharacterError\" DOMException.\n * 2. For each token in tokens, remove token from context object’s token set.\n * 3. Run the update steps.\n */\n for (var tokens_2 = __values(tokens), tokens_2_1 = tokens_2.next(); !tokens_2_1.done; tokens_2_1 = tokens_2.next()) {\n var token = tokens_2_1.value;\n if (token === '') {\n throw new DOMException_1.SyntaxError(\"Cannot remove an empty token.\");\n }\n else if (infra_1.codePoint.ASCIIWhiteSpace.test(token)) {\n throw new DOMException_1.InvalidCharacterError(\"Token cannot contain whitespace.\");\n }\n else {\n this._tokenSet.delete(token);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (tokens_2_1 && !tokens_2_1.done && (_a = tokens_2.return)) _a.call(tokens_2);\n }\n finally { if (e_3) throw e_3.error; }\n }\n algorithm_1.tokenList_updateSteps(this);\n };\n /** @inheritdoc */\n DOMTokenListImpl.prototype.toggle = function (token, force) {\n if (force === void 0) { force = undefined; }\n /**\n * 1. If token is the empty string, then throw a \"SyntaxError\" DOMException.\n * 2. If token contains any ASCII whitespace, then throw an\n * \"InvalidCharacterError\" DOMException.\n */\n if (token === '') {\n throw new DOMException_1.SyntaxError(\"Cannot toggle an empty token.\");\n }\n else if (infra_1.codePoint.ASCIIWhiteSpace.test(token)) {\n throw new DOMException_1.InvalidCharacterError(\"Token cannot contain whitespace.\");\n }\n /**\n * 3. If context object’s token set[token] exists, then:\n */\n if (this._tokenSet.has(token)) {\n /**\n * 3.1. If force is either not given or is false, then remove token from\n * context object’s token set, run the update steps and return false.\n * 3.2. Return true.\n */\n if (force === undefined || force === false) {\n this._tokenSet.delete(token);\n algorithm_1.tokenList_updateSteps(this);\n return false;\n }\n return true;\n }\n /**\n * 4. Otherwise, if force not given or is true, append token to context\n * object’s token set, run the update steps, and return true.\n */\n if (force === undefined || force === true) {\n this._tokenSet.add(token);\n algorithm_1.tokenList_updateSteps(this);\n return true;\n }\n /**\n * 5. Return false.\n */\n return false;\n };\n /** @inheritdoc */\n DOMTokenListImpl.prototype.replace = function (token, newToken) {\n /**\n * 1. If either token or newToken is the empty string, then throw a\n * \"SyntaxError\" DOMException.\n * 2. If either token or newToken contains any ASCII whitespace, then throw\n * an \"InvalidCharacterError\" DOMException.\n */\n if (token === '' || newToken === '') {\n throw new DOMException_1.SyntaxError(\"Cannot replace an empty token.\");\n }\n else if (infra_1.codePoint.ASCIIWhiteSpace.test(token) || infra_1.codePoint.ASCIIWhiteSpace.test(newToken)) {\n throw new DOMException_1.InvalidCharacterError(\"Token cannot contain whitespace.\");\n }\n /**\n * 3. If context object’s token set does not contain token, then return\n * false.\n */\n if (!this._tokenSet.has(token))\n return false;\n /**\n * 4. Replace token in context object’s token set with newToken.\n * 5. Run the update steps.\n * 6. Return true.\n */\n infra_1.set.replace(this._tokenSet, token, newToken);\n algorithm_1.tokenList_updateSteps(this);\n return true;\n };\n /** @inheritdoc */\n DOMTokenListImpl.prototype.supports = function (token) {\n /**\n * 1. Let result be the return value of validation steps called with token.\n * 2. Return result.\n */\n return algorithm_1.tokenList_validationSteps(this, token);\n };\n Object.defineProperty(DOMTokenListImpl.prototype, \"value\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The value attribute must return the result of running context object’s\n * serialize steps.\n */\n return algorithm_1.tokenList_serializeSteps(this);\n },\n set: function (value) {\n /**\n * Setting the value attribute must set an attribute value for the\n * associated element using associated attribute’s local name and the given\n * value.\n */\n algorithm_1.element_setAnAttributeValue(this._element, this._attribute._localName, value);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns an iterator for the token set.\n */\n DOMTokenListImpl.prototype[Symbol.iterator] = function () {\n var it = this._tokenSet[Symbol.iterator]();\n return {\n next: function () {\n return it.next();\n }\n };\n };\n /**\n * Creates a new `DOMTokenList`.\n *\n * @param element - associated element\n * @param attribute - associated attribute\n */\n DOMTokenListImpl._create = function (element, attribute) {\n return new DOMTokenListImpl(element, attribute);\n };\n return DOMTokenListImpl;\n}());\nexports.DOMTokenListImpl = DOMTokenListImpl;\n//# sourceMappingURL=DOMTokenListImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar NodeImpl_1 = require(\"./NodeImpl\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a document fragment in the XML tree.\n */\nvar DocumentFragmentImpl = /** @class */ (function (_super) {\n __extends(DocumentFragmentImpl, _super);\n /**\n * Initializes a new instance of `DocumentFragment`.\n *\n * @param host - shadow root's host element\n */\n function DocumentFragmentImpl(host) {\n if (host === void 0) { host = null; }\n var _this = _super.call(this) || this;\n _this._children = new Set();\n _this._host = host;\n return _this;\n }\n // MIXIN: NonElementParentNode\n /* istanbul ignore next */\n DocumentFragmentImpl.prototype.getElementById = function (elementId) { throw new Error(\"Mixin: NonElementParentNode not implemented.\"); };\n Object.defineProperty(DocumentFragmentImpl.prototype, \"children\", {\n // MIXIN: ParentNode\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentFragmentImpl.prototype, \"firstElementChild\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentFragmentImpl.prototype, \"lastElementChild\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentFragmentImpl.prototype, \"childElementCount\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n /* istanbul ignore next */\n DocumentFragmentImpl.prototype.prepend = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ParentNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentFragmentImpl.prototype.append = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ParentNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentFragmentImpl.prototype.querySelector = function (selectors) { throw new Error(\"Mixin: ParentNode not implemented.\"); };\n /* istanbul ignore next */\n DocumentFragmentImpl.prototype.querySelectorAll = function (selectors) { throw new Error(\"Mixin: ParentNode not implemented.\"); };\n /**\n * Creates a new `DocumentFragment`.\n *\n * @param document - owner document\n * @param host - shadow root's host element\n */\n DocumentFragmentImpl._create = function (document, host) {\n if (host === void 0) { host = null; }\n var node = new DocumentFragmentImpl(host);\n node._nodeDocument = document;\n return node;\n };\n return DocumentFragmentImpl;\n}(NodeImpl_1.NodeImpl));\nexports.DocumentFragmentImpl = DocumentFragmentImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(DocumentFragmentImpl.prototype, \"_nodeType\", interfaces_1.NodeType.DocumentFragment);\n//# sourceMappingURL=DocumentFragmentImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar interfaces_1 = require(\"./interfaces\");\nvar DOMException_1 = require(\"./DOMException\");\nvar NodeImpl_1 = require(\"./NodeImpl\");\nvar util_1 = require(\"../util\");\nvar util_2 = require(\"@oozcitak/util\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar URLAlgorithm_1 = require(\"@oozcitak/url/lib/URLAlgorithm\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a document node.\n */\nvar DocumentImpl = /** @class */ (function (_super) {\n __extends(DocumentImpl, _super);\n /**\n * Initializes a new instance of `Document`.\n */\n function DocumentImpl() {\n var _this = _super.call(this) || this;\n _this._children = new Set();\n _this._encoding = {\n name: \"UTF-8\",\n labels: [\"unicode-1-1-utf-8\", \"utf-8\", \"utf8\"]\n };\n _this._contentType = 'application/xml';\n _this._URL = {\n scheme: \"about\",\n username: \"\",\n password: \"\",\n host: null,\n port: null,\n path: [\"blank\"],\n query: null,\n fragment: null,\n _cannotBeABaseURLFlag: true,\n _blobURLEntry: null\n };\n _this._origin = null;\n _this._type = \"xml\";\n _this._mode = \"no-quirks\";\n _this._documentElement = null;\n _this._hasNamespaces = false;\n _this._nodeDocumentOverwrite = null;\n return _this;\n }\n Object.defineProperty(DocumentImpl.prototype, \"_nodeDocument\", {\n get: function () { return this._nodeDocumentOverwrite || this; },\n set: function (val) { this._nodeDocumentOverwrite = val; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"implementation\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The implementation attribute’s getter must return the DOMImplementation\n * object that is associated with the document.\n */\n return this._implementation || (this._implementation = algorithm_1.create_domImplementation(this));\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"URL\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The URL attribute’s getter and documentURI attribute’s getter must return\n * the URL, serialized.\n * See: https://url.spec.whatwg.org/#concept-url-serializer\n */\n return URLAlgorithm_1.urlSerializer(this._URL);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"documentURI\", {\n /** @inheritdoc */\n get: function () { return this.URL; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"origin\", {\n /** @inheritdoc */\n get: function () {\n return \"null\";\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"compatMode\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The compatMode attribute’s getter must return \"BackCompat\" if context\n * object’s mode is \"quirks\", and \"CSS1Compat\" otherwise.\n */\n return this._mode === \"quirks\" ? \"BackCompat\" : \"CSS1Compat\";\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"characterSet\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The characterSet attribute’s getter, charset attribute’s getter, and\n * inputEncoding attribute’s getter, must return context object’s\n * encoding’s name.\n */\n return this._encoding.name;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"charset\", {\n /** @inheritdoc */\n get: function () { return this._encoding.name; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"inputEncoding\", {\n /** @inheritdoc */\n get: function () { return this._encoding.name; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"contentType\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The contentType attribute’s getter must return the content type.\n */\n return this._contentType;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"doctype\", {\n /** @inheritdoc */\n get: function () {\n var e_1, _a;\n try {\n /**\n * The doctype attribute’s getter must return the child of the document\n * that is a doctype, and null otherwise.\n */\n for (var _b = __values(this._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var child = _c.value;\n if (util_1.Guard.isDocumentTypeNode(child))\n return child;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"documentElement\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The documentElement attribute’s getter must return the document element.\n */\n return this._documentElement;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n DocumentImpl.prototype.getElementsByTagName = function (qualifiedName) {\n /**\n * The getElementsByTagName(qualifiedName) method, when invoked, must return\n * the list of elements with qualified name qualifiedName for the context object.\n */\n return algorithm_1.node_listOfElementsWithQualifiedName(qualifiedName, this);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.getElementsByTagNameNS = function (namespace, localName) {\n /**\n * The getElementsByTagNameNS(namespace, localName) method, when invoked,\n * must return the list of elements with namespace namespace and local name\n * localName for the context object.\n */\n return algorithm_1.node_listOfElementsWithNamespace(namespace, localName, this);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.getElementsByClassName = function (classNames) {\n /**\n * The getElementsByClassName(classNames) method, when invoked, must return\n * the list of elements with class names classNames for the context object.\n */\n return algorithm_1.node_listOfElementsWithClassNames(classNames, this);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createElement = function (localName, options) {\n /**\n * 1. If localName does not match the Name production, then throw an\n * \"InvalidCharacterError\" DOMException.\n * 2. If the context object is an HTML document, then set localName to\n * localName in ASCII lowercase.\n * 3. Let is be null.\n * 4. If options is a dictionary and options’s is is present, then set is\n * to it.\n * 5. Let namespace be the HTML namespace, if the context object is an\n * HTML document or context object’s content type is\n * \"application/xhtml+xml\", and null otherwise.\n * 6. Return the result of creating an element given the context object,\n * localName, namespace, null, is, and with the synchronous custom elements\n * flag set.\n */\n if (!algorithm_1.xml_isName(localName))\n throw new DOMException_1.InvalidCharacterError();\n if (this._type === \"html\")\n localName = localName.toLowerCase();\n var is = null;\n if (options !== undefined) {\n if (util_2.isString(options)) {\n is = options;\n }\n else {\n is = options.is;\n }\n }\n var namespace = (this._type === \"html\" || this._contentType === \"application/xhtml+xml\") ?\n infra_1.namespace.HTML : null;\n return algorithm_1.element_createAnElement(this, localName, namespace, null, is, true);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createElementNS = function (namespace, qualifiedName, options) {\n /**\n * The createElementNS(namespace, qualifiedName, options) method, when\n * invoked, must return the result of running the internal createElementNS\n * steps, given context object, namespace, qualifiedName, and options.\n */\n return algorithm_1.document_internalCreateElementNS(this, namespace, qualifiedName, options);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createDocumentFragment = function () {\n /**\n * The createDocumentFragment() method, when invoked, must return a new\n * DocumentFragment node with its node document set to the context object.\n */\n return algorithm_1.create_documentFragment(this);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createTextNode = function (data) {\n /**\n * The createTextNode(data) method, when invoked, must return a new Text\n * node with its data set to data and node document set to the context object.\n */\n return algorithm_1.create_text(this, data);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createCDATASection = function (data) {\n /**\n * 1. If context object is an HTML document, then throw a\n * \"NotSupportedError\" DOMException.\n * 2. If data contains the string \"]]>\", then throw an\n * \"InvalidCharacterError\" DOMException.\n * 3. Return a new CDATASection node with its data set to data and node\n * document set to the context object.\n */\n if (this._type === \"html\")\n throw new DOMException_1.NotSupportedError();\n if (data.indexOf(']]>') !== -1)\n throw new DOMException_1.InvalidCharacterError();\n return algorithm_1.create_cdataSection(this, data);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createComment = function (data) {\n /**\n * The createComment(data) method, when invoked, must return a new Comment\n * node with its data set to data and node document set to the context object.\n */\n return algorithm_1.create_comment(this, data);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createProcessingInstruction = function (target, data) {\n /**\n * 1. If target does not match the Name production, then throw an\n * \"InvalidCharacterError\" DOMException.\n * 2. If data contains the string \"?>\", then throw an\n * \"InvalidCharacterError\" DOMException.\n * 3. Return a new ProcessingInstruction node, with target set to target,\n * data set to data, and node document set to the context object.\n */\n if (!algorithm_1.xml_isName(target))\n throw new DOMException_1.InvalidCharacterError();\n if (data.indexOf(\"?>\") !== -1)\n throw new DOMException_1.InvalidCharacterError();\n return algorithm_1.create_processingInstruction(this, target, data);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.importNode = function (node, deep) {\n if (deep === void 0) { deep = false; }\n /**\n * 1. If node is a document or shadow root, then throw a \"NotSupportedError\" DOMException.\n */\n if (util_1.Guard.isDocumentNode(node) || util_1.Guard.isShadowRoot(node))\n throw new DOMException_1.NotSupportedError();\n /**\n * 2. Return a clone of node, with context object and the clone children flag set if deep is true.\n */\n return algorithm_1.node_clone(node, this, deep);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.adoptNode = function (node) {\n /**\n * 1. If node is a document, then throw a \"NotSupportedError\" DOMException.\n */\n if (util_1.Guard.isDocumentNode(node))\n throw new DOMException_1.NotSupportedError();\n /**\n * 2. If node is a shadow root, then throw a \"HierarchyRequestError\" DOMException.\n */\n if (util_1.Guard.isShadowRoot(node))\n throw new DOMException_1.HierarchyRequestError();\n /**\n * 3. Adopt node into the context object.\n * 4. Return node.\n */\n algorithm_1.document_adopt(node, this);\n return node;\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createAttribute = function (localName) {\n /**\n * 1. If localName does not match the Name production in XML, then throw\n * an \"InvalidCharacterError\" DOMException.\n * 2. If the context object is an HTML document, then set localName to\n * localName in ASCII lowercase.\n * 3. Return a new attribute whose local name is localName and node document\n * is context object.\n */\n if (!algorithm_1.xml_isName(localName))\n throw new DOMException_1.InvalidCharacterError();\n if (this._type === \"html\") {\n localName = localName.toLowerCase();\n }\n var attr = algorithm_1.create_attr(this, localName);\n return attr;\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createAttributeNS = function (namespace, qualifiedName) {\n /**\n * 1. Let namespace, prefix, and localName be the result of passing\n * namespace and qualifiedName to validate and extract.\n * 2. Return a new attribute whose namespace is namespace, namespace prefix\n * is prefix, local name is localName, and node document is context object.\n */\n var _a = __read(algorithm_1.namespace_validateAndExtract(namespace, qualifiedName), 3), ns = _a[0], prefix = _a[1], localName = _a[2];\n var attr = algorithm_1.create_attr(this, localName);\n attr._namespace = ns;\n attr._namespacePrefix = prefix;\n return attr;\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createEvent = function (eventInterface) {\n return algorithm_1.event_createLegacyEvent(eventInterface);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createRange = function () {\n /**\n * The createRange() method, when invoked, must return a new live range\n * with (context object, 0) as its start and end.\n */\n var range = algorithm_1.create_range();\n range._start = [this, 0];\n range._end = [this, 0];\n return range;\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createNodeIterator = function (root, whatToShow, filter) {\n if (whatToShow === void 0) { whatToShow = interfaces_1.WhatToShow.All; }\n if (filter === void 0) { filter = null; }\n /**\n * 1. Let iterator be a new NodeIterator object.\n * 2. Set iterator’s root and iterator’s reference to root.\n * 3. Set iterator’s pointer before reference to true.\n * 4. Set iterator’s whatToShow to whatToShow.\n * 5. Set iterator’s filter to filter.\n * 6. Return iterator.\n */\n var iterator = algorithm_1.create_nodeIterator(root, root, true);\n iterator._whatToShow = whatToShow;\n iterator._iteratorCollection = algorithm_1.create_nodeList(root);\n if (util_2.isFunction(filter)) {\n iterator._filter = algorithm_1.create_nodeFilter();\n iterator._filter.acceptNode = filter;\n }\n else {\n iterator._filter = filter;\n }\n return iterator;\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createTreeWalker = function (root, whatToShow, filter) {\n if (whatToShow === void 0) { whatToShow = interfaces_1.WhatToShow.All; }\n if (filter === void 0) { filter = null; }\n /**\n * 1. Let walker be a new TreeWalker object.\n * 2. Set walker’s root and walker’s current to root.\n * 3. Set walker’s whatToShow to whatToShow.\n * 4. Set walker’s filter to filter.\n * 5. Return walker.\n */\n var walker = algorithm_1.create_treeWalker(root, root);\n walker._whatToShow = whatToShow;\n if (util_2.isFunction(filter)) {\n walker._filter = algorithm_1.create_nodeFilter();\n walker._filter.acceptNode = filter;\n }\n else {\n walker._filter = filter;\n }\n return walker;\n };\n /**\n * Gets the parent event target for the given event.\n *\n * @param event - an event\n */\n DocumentImpl.prototype._getTheParent = function (event) {\n /**\n * TODO: Implement realms\n * A document’s get the parent algorithm, given an event, returns null if\n * event’s type attribute value is \"load\" or document does not have a\n * browsing context, and the document’s relevant global object otherwise.\n */\n if (event._type === \"load\") {\n return null;\n }\n else {\n return DOMImpl_1.dom.window;\n }\n };\n // MIXIN: NonElementParentNode\n /* istanbul ignore next */\n DocumentImpl.prototype.getElementById = function (elementId) { throw new Error(\"Mixin: NonElementParentNode not implemented.\"); };\n Object.defineProperty(DocumentImpl.prototype, \"children\", {\n // MIXIN: DocumentOrShadowRoot\n // No elements\n // MIXIN: ParentNode\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"firstElementChild\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"lastElementChild\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"childElementCount\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n /* istanbul ignore next */\n DocumentImpl.prototype.prepend = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ParentNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentImpl.prototype.append = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ParentNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentImpl.prototype.querySelector = function (selectors) { throw new Error(\"Mixin: ParentNode not implemented.\"); };\n /* istanbul ignore next */\n DocumentImpl.prototype.querySelectorAll = function (selectors) { throw new Error(\"Mixin: ParentNode not implemented.\"); };\n return DocumentImpl;\n}(NodeImpl_1.NodeImpl));\nexports.DocumentImpl = DocumentImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(DocumentImpl.prototype, \"_nodeType\", interfaces_1.NodeType.Document);\n//# sourceMappingURL=DocumentImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a mixin for an interface to be used to share APIs between\n * documents and shadow roots. This mixin is implemented by\n * {@link Document} and {@link ShadowRoot}.\n *\n * _Note:_ The DocumentOrShadowRoot mixin is expected to be used by other\n * standards that want to define APIs shared between documents and shadow roots.\n */\nvar DocumentOrShadowRootImpl = /** @class */ (function () {\n function DocumentOrShadowRootImpl() {\n }\n return DocumentOrShadowRootImpl;\n}());\nexports.DocumentOrShadowRootImpl = DocumentOrShadowRootImpl;\n//# sourceMappingURL=DocumentOrShadowRootImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar NodeImpl_1 = require(\"./NodeImpl\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents an object providing methods which are not dependent on\n * any particular document\n */\nvar DocumentTypeImpl = /** @class */ (function (_super) {\n __extends(DocumentTypeImpl, _super);\n /**\n * Initializes a new instance of `DocumentType`.\n *\n * @param name - name of the node\n * @param publicId - `PUBLIC` identifier\n * @param systemId - `SYSTEM` identifier\n */\n function DocumentTypeImpl(name, publicId, systemId) {\n var _this = _super.call(this) || this;\n _this._name = '';\n _this._publicId = '';\n _this._systemId = '';\n _this._name = name;\n _this._publicId = publicId;\n _this._systemId = systemId;\n return _this;\n }\n Object.defineProperty(DocumentTypeImpl.prototype, \"name\", {\n /** @inheritdoc */\n get: function () { return this._name; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentTypeImpl.prototype, \"publicId\", {\n /** @inheritdoc */\n get: function () { return this._publicId; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentTypeImpl.prototype, \"systemId\", {\n /** @inheritdoc */\n get: function () { return this._systemId; },\n enumerable: true,\n configurable: true\n });\n // MIXIN: ChildNode\n /* istanbul ignore next */\n DocumentTypeImpl.prototype.before = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentTypeImpl.prototype.after = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentTypeImpl.prototype.replaceWith = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentTypeImpl.prototype.remove = function () { throw new Error(\"Mixin: ChildNode not implemented.\"); };\n /**\n * Creates a new `DocumentType`.\n *\n * @param document - owner document\n * @param name - name of the node\n * @param publicId - `PUBLIC` identifier\n * @param systemId - `SYSTEM` identifier\n */\n DocumentTypeImpl._create = function (document, name, publicId, systemId) {\n if (publicId === void 0) { publicId = ''; }\n if (systemId === void 0) { systemId = ''; }\n var node = new DocumentTypeImpl(name, publicId, systemId);\n node._nodeDocument = document;\n return node;\n };\n return DocumentTypeImpl;\n}(NodeImpl_1.NodeImpl));\nexports.DocumentTypeImpl = DocumentTypeImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(DocumentTypeImpl.prototype, \"_nodeType\", interfaces_1.NodeType.DocumentType);\n//# sourceMappingURL=DocumentTypeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar NodeImpl_1 = require(\"./NodeImpl\");\nvar DOMException_1 = require(\"./DOMException\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents an element node.\n */\nvar ElementImpl = /** @class */ (function (_super) {\n __extends(ElementImpl, _super);\n /**\n * Initializes a new instance of `Element`.\n */\n function ElementImpl() {\n var _this = _super.call(this) || this;\n _this._children = new Set();\n _this._namespace = null;\n _this._namespacePrefix = null;\n _this._localName = \"\";\n _this._customElementState = \"undefined\";\n _this._customElementDefinition = null;\n _this._is = null;\n _this._shadowRoot = null;\n _this._attributeList = algorithm_1.create_namedNodeMap(_this);\n _this._attributeChangeSteps = [];\n _this._name = '';\n _this._assignedSlot = null;\n return _this;\n }\n Object.defineProperty(ElementImpl.prototype, \"namespaceURI\", {\n /** @inheritdoc */\n get: function () { return this._namespace; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"prefix\", {\n /** @inheritdoc */\n get: function () { return this._namespacePrefix; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"localName\", {\n /** @inheritdoc */\n get: function () { return this._localName; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"tagName\", {\n /** @inheritdoc */\n get: function () { return this._htmlUppercasedQualifiedName; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"id\", {\n /** @inheritdoc */\n get: function () {\n return algorithm_1.element_getAnAttributeValue(this, \"id\");\n },\n set: function (value) {\n algorithm_1.element_setAnAttributeValue(this, \"id\", value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"className\", {\n /** @inheritdoc */\n get: function () {\n return algorithm_1.element_getAnAttributeValue(this, \"class\");\n },\n set: function (value) {\n algorithm_1.element_setAnAttributeValue(this, \"class\", value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"classList\", {\n /** @inheritdoc */\n get: function () {\n var attr = algorithm_1.element_getAnAttributeByName(\"class\", this);\n if (attr === null) {\n attr = algorithm_1.create_attr(this._nodeDocument, \"class\");\n }\n return algorithm_1.create_domTokenList(this, attr);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"slot\", {\n /** @inheritdoc */\n get: function () {\n return algorithm_1.element_getAnAttributeValue(this, \"slot\");\n },\n set: function (value) {\n algorithm_1.element_setAnAttributeValue(this, \"slot\", value);\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n ElementImpl.prototype.hasAttributes = function () {\n return this._attributeList.length !== 0;\n };\n Object.defineProperty(ElementImpl.prototype, \"attributes\", {\n /** @inheritdoc */\n get: function () { return this._attributeList; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n ElementImpl.prototype.getAttributeNames = function () {\n var e_1, _a;\n /**\n * The getAttributeNames() method, when invoked, must return the qualified\n * names of the attributes in context object’s attribute list, in order,\n * and a new list otherwise.\n */\n var names = [];\n try {\n for (var _b = __values(this._attributeList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n names.push(attr._qualifiedName);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return names;\n };\n /** @inheritdoc */\n ElementImpl.prototype.getAttribute = function (qualifiedName) {\n /**\n * 1. Let attr be the result of getting an attribute given qualifiedName\n * and the context object.\n * 2. If attr is null, return null.\n * 3. Return attr’s value.\n */\n var attr = algorithm_1.element_getAnAttributeByName(qualifiedName, this);\n return (attr ? attr._value : null);\n };\n /** @inheritdoc */\n ElementImpl.prototype.getAttributeNS = function (namespace, localName) {\n /**\n * 1. Let attr be the result of getting an attribute given namespace,\n * localName, and the context object.\n * 2. If attr is null, return null.\n * 3. Return attr’s value.\n */\n var attr = algorithm_1.element_getAnAttributeByNamespaceAndLocalName(namespace, localName, this);\n return (attr ? attr._value : null);\n };\n /** @inheritdoc */\n ElementImpl.prototype.setAttribute = function (qualifiedName, value) {\n /**\n * 1. If qualifiedName does not match the Name production in XML, then\n * throw an \"InvalidCharacterError\" DOMException.\n */\n if (!algorithm_1.xml_isName(qualifiedName))\n throw new DOMException_1.InvalidCharacterError();\n /**\n * 2. If the context object is in the HTML namespace and its node document\n * is an HTML document, then set qualifiedName to qualifiedName in ASCII\n * lowercase.\n */\n if (this._namespace === infra_1.namespace.HTML && this._nodeDocument._type === \"html\") {\n qualifiedName = qualifiedName.toLowerCase();\n }\n /**\n * 3. Let attribute be the first attribute in context object’s attribute\n * list whose qualified name is qualifiedName, and null otherwise.\n */\n var attribute = null;\n for (var i = 0; i < this._attributeList.length; i++) {\n var attr = this._attributeList[i];\n if (attr._qualifiedName === qualifiedName) {\n attribute = attr;\n break;\n }\n }\n /**\n * 4. If attribute is null, create an attribute whose local name is\n * qualifiedName, value is value, and node document is context object’s\n * node document, then append this attribute to context object, and\n * then return.\n */\n if (attribute === null) {\n attribute = algorithm_1.create_attr(this._nodeDocument, qualifiedName);\n attribute._value = value;\n algorithm_1.element_append(attribute, this);\n return;\n }\n /**\n * 5. Change attribute from context object to value.\n */\n algorithm_1.element_change(attribute, this, value);\n };\n /** @inheritdoc */\n ElementImpl.prototype.setAttributeNS = function (namespace, qualifiedName, value) {\n /**\n * 1. Let namespace, prefix, and localName be the result of passing\n * namespace and qualifiedName to validate and extract.\n * 2. Set an attribute value for the context object using localName, value,\n * and also prefix and namespace.\n */\n var _a = __read(algorithm_1.namespace_validateAndExtract(namespace, qualifiedName), 3), ns = _a[0], prefix = _a[1], localName = _a[2];\n algorithm_1.element_setAnAttributeValue(this, localName, value, prefix, ns);\n };\n /** @inheritdoc */\n ElementImpl.prototype.removeAttribute = function (qualifiedName) {\n /**\n * The removeAttribute(qualifiedName) method, when invoked, must remove an\n * attribute given qualifiedName and the context object, and then return\n * undefined.\n */\n algorithm_1.element_removeAnAttributeByName(qualifiedName, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.removeAttributeNS = function (namespace, localName) {\n /**\n * The removeAttributeNS(namespace, localName) method, when invoked, must\n * remove an attribute given namespace, localName, and context object, and\n * then return undefined.\n */\n algorithm_1.element_removeAnAttributeByNamespaceAndLocalName(namespace, localName, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.hasAttribute = function (qualifiedName) {\n /**\n * 1. If the context object is in the HTML namespace and its node document\n * is an HTML document, then set qualifiedName to qualifiedName in ASCII\n * lowercase.\n * 2. Return true if the context object has an attribute whose qualified\n * name is qualifiedName, and false otherwise.\n */\n if (this._namespace === infra_1.namespace.HTML && this._nodeDocument._type === \"html\") {\n qualifiedName = qualifiedName.toLowerCase();\n }\n for (var i = 0; i < this._attributeList.length; i++) {\n var attr = this._attributeList[i];\n if (attr._qualifiedName === qualifiedName) {\n return true;\n }\n }\n return false;\n };\n /** @inheritdoc */\n ElementImpl.prototype.toggleAttribute = function (qualifiedName, force) {\n /**\n * 1. If qualifiedName does not match the Name production in XML, then\n * throw an \"InvalidCharacterError\" DOMException.\n */\n if (!algorithm_1.xml_isName(qualifiedName))\n throw new DOMException_1.InvalidCharacterError();\n /**\n * 2. If the context object is in the HTML namespace and its node document\n * is an HTML document, then set qualifiedName to qualifiedName in ASCII\n * lowercase.\n */\n if (this._namespace === infra_1.namespace.HTML && this._nodeDocument._type === \"html\") {\n qualifiedName = qualifiedName.toLowerCase();\n }\n /**\n * 3. Let attribute be the first attribute in the context object’s attribute\n * list whose qualified name is qualifiedName, and null otherwise.\n */\n var attribute = null;\n for (var i = 0; i < this._attributeList.length; i++) {\n var attr = this._attributeList[i];\n if (attr._qualifiedName === qualifiedName) {\n attribute = attr;\n break;\n }\n }\n if (attribute === null) {\n /**\n * 4. If attribute is null, then:\n * 4.1. If force is not given or is true, create an attribute whose local\n * name is qualifiedName, value is the empty string, and node document is\n * the context object’s node document, then append this attribute to the\n * context object, and then return true.\n * 4.2. Return false.\n */\n if (force === undefined || force === true) {\n attribute = algorithm_1.create_attr(this._nodeDocument, qualifiedName);\n attribute._value = '';\n algorithm_1.element_append(attribute, this);\n return true;\n }\n return false;\n }\n else if (force === undefined || force === false) {\n /**\n * 5. Otherwise, if force is not given or is false, remove an attribute\n * given qualifiedName and the context object, and then return false.\n */\n algorithm_1.element_removeAnAttributeByName(qualifiedName, this);\n return false;\n }\n /**\n * 6. Return true.\n */\n return true;\n };\n /** @inheritdoc */\n ElementImpl.prototype.hasAttributeNS = function (namespace, localName) {\n /**\n * 1. If namespace is the empty string, set it to null.\n * 2. Return true if the context object has an attribute whose namespace is\n * namespace and local name is localName, and false otherwise.\n */\n var ns = namespace || null;\n for (var i = 0; i < this._attributeList.length; i++) {\n var attr = this._attributeList[i];\n if (attr._namespace === ns && attr._localName === localName) {\n return true;\n }\n }\n return false;\n };\n /** @inheritdoc */\n ElementImpl.prototype.getAttributeNode = function (qualifiedName) {\n /**\n * The getAttributeNode(qualifiedName) method, when invoked, must return the\n * result of getting an attribute given qualifiedName and context object.\n */\n return algorithm_1.element_getAnAttributeByName(qualifiedName, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.getAttributeNodeNS = function (namespace, localName) {\n /**\n * The getAttributeNodeNS(namespace, localName) method, when invoked, must\n * return the result of getting an attribute given namespace, localName, and\n * the context object.\n */\n return algorithm_1.element_getAnAttributeByNamespaceAndLocalName(namespace, localName, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.setAttributeNode = function (attr) {\n /**\n * The setAttributeNode(attr) and setAttributeNodeNS(attr) methods, when\n * invoked, must return the result of setting an attribute given attr and\n * the context object.\n */\n return algorithm_1.element_setAnAttribute(attr, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.setAttributeNodeNS = function (attr) {\n return algorithm_1.element_setAnAttribute(attr, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.removeAttributeNode = function (attr) {\n /**\n * 1. If context object’s attribute list does not contain attr, then throw\n * a \"NotFoundError\" DOMException.\n * 2. Remove attr from context object.\n * 3. Return attr.\n */\n var found = false;\n for (var i = 0; i < this._attributeList.length; i++) {\n var attribute = this._attributeList[i];\n if (attribute === attr) {\n found = true;\n break;\n }\n }\n if (!found)\n throw new DOMException_1.NotFoundError();\n algorithm_1.element_remove(attr, this);\n return attr;\n };\n /** @inheritdoc */\n ElementImpl.prototype.attachShadow = function (init) {\n /**\n * 1. If context object’s namespace is not the HTML namespace, then throw a\n * \"NotSupportedError\" DOMException.\n */\n if (this._namespace !== infra_1.namespace.HTML)\n throw new DOMException_1.NotSupportedError();\n /**\n * 2. If context object’s local name is not a valid custom element name,\n * \"article\", \"aside\", \"blockquote\", \"body\", \"div\", \"footer\", \"h1\", \"h2\",\n * \"h3\", \"h4\", \"h5\", \"h6\", \"header\", \"main\" \"nav\", \"p\", \"section\",\n * or \"span\", then throw a \"NotSupportedError\" DOMException.\n */\n if (!algorithm_1.customElement_isValidCustomElementName(this._localName) &&\n !algorithm_1.customElement_isValidShadowHostName(this._localName))\n throw new DOMException_1.NotSupportedError();\n /**\n * 3. If context object’s local name is a valid custom element name,\n * or context object’s is value is not null, then:\n * 3.1. Let definition be the result of looking up a custom element\n * definition given context object’s node document, its namespace, its\n * local name, and its is value.\n * 3.2. If definition is not null and definition’s disable shadow is true,\n * then throw a \"NotSupportedError\" DOMException.\n */\n if (algorithm_1.customElement_isValidCustomElementName(this._localName) || this._is !== null) {\n var definition = algorithm_1.customElement_lookUpACustomElementDefinition(this._nodeDocument, this._namespace, this._localName, this._is);\n if (definition !== null && definition.disableShadow === true) {\n throw new DOMException_1.NotSupportedError();\n }\n }\n /**\n * 4. If context object is a shadow host, then throw an \"NotSupportedError\"\n * DOMException.\n */\n if (this._shadowRoot !== null)\n throw new DOMException_1.NotSupportedError();\n /**\n * 5. Let shadow be a new shadow root whose node document is context\n * object’s node document, host is context object, and mode is init’s mode.\n * 6. Set context object’s shadow root to shadow.\n * 7. Return shadow.\n */\n var shadow = algorithm_1.create_shadowRoot(this._nodeDocument, this);\n shadow._mode = init.mode;\n this._shadowRoot = shadow;\n return shadow;\n };\n Object.defineProperty(ElementImpl.prototype, \"shadowRoot\", {\n /** @inheritdoc */\n get: function () {\n /**\n * 1. Let shadow be context object’s shadow root.\n * 2. If shadow is null or its mode is \"closed\", then return null.\n * 3. Return shadow.\n */\n var shadow = this._shadowRoot;\n if (shadow === null || shadow.mode === \"closed\")\n return null;\n else\n return shadow;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n ElementImpl.prototype.closest = function (selectors) {\n /**\n * TODO: Selectors\n * 1. Let s be the result of parse a selector from selectors. [SELECTORS4]\n * 2. If s is failure, throw a \"SyntaxError\" DOMException.\n * 3. Let elements be context object’s inclusive ancestors that are\n * elements, in reverse tree order.\n * 4. For each element in elements, if match a selector against an element,\n * using s, element, and :scope element context object, returns success,\n * return element. [SELECTORS4]\n * 5. Return null.\n */\n throw new DOMException_1.NotImplementedError();\n };\n /** @inheritdoc */\n ElementImpl.prototype.matches = function (selectors) {\n /**\n * TODO: Selectors\n * 1. Let s be the result of parse a selector from selectors. [SELECTORS4]\n * 2. If s is failure, throw a \"SyntaxError\" DOMException.\n * 3. Return true if the result of match a selector against an element,\n * using s, element, and :scope element context object, returns success,\n * and false otherwise. [SELECTORS4]\n */\n throw new DOMException_1.NotImplementedError();\n };\n /** @inheritdoc */\n ElementImpl.prototype.webkitMatchesSelector = function (selectors) {\n return this.matches(selectors);\n };\n /** @inheritdoc */\n ElementImpl.prototype.getElementsByTagName = function (qualifiedName) {\n /**\n * The getElementsByTagName(qualifiedName) method, when invoked, must return\n * the list of elements with qualified name qualifiedName for context\n * object.\n */\n return algorithm_1.node_listOfElementsWithQualifiedName(qualifiedName, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.getElementsByTagNameNS = function (namespace, localName) {\n /**\n * The getElementsByTagNameNS(namespace, localName) method, when invoked,\n * must return the list of elements with namespace namespace and local name\n * localName for context object.\n */\n return algorithm_1.node_listOfElementsWithNamespace(namespace, localName, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.getElementsByClassName = function (classNames) {\n /**\n * The getElementsByClassName(classNames) method, when invoked, must return\n * the list of elements with class names classNames for context object.\n */\n return algorithm_1.node_listOfElementsWithClassNames(classNames, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.insertAdjacentElement = function (where, element) {\n /**\n * The insertAdjacentElement(where, element) method, when invoked, must\n * return the result of running insert adjacent, given context object,\n * where, and element.\n */\n return algorithm_1.element_insertAdjacent(this, where, element);\n };\n /** @inheritdoc */\n ElementImpl.prototype.insertAdjacentText = function (where, data) {\n /**\n * 1. Let text be a new Text node whose data is data and node document is\n * context object’s node document.\n * 2. Run insert adjacent, given context object, where, and text.\n */\n var text = algorithm_1.create_text(this._nodeDocument, data);\n algorithm_1.element_insertAdjacent(this, where, text);\n };\n Object.defineProperty(ElementImpl.prototype, \"_qualifiedName\", {\n /**\n * Returns the qualified name.\n */\n get: function () {\n /**\n * An element’s qualified name is its local name if its namespace prefix is\n * null, and its namespace prefix, followed by \":\", followed by its\n * local name, otherwise.\n */\n return (this._namespacePrefix ?\n this._namespacePrefix + ':' + this._localName :\n this._localName);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"_htmlUppercasedQualifiedName\", {\n /**\n * Returns the upper-cased qualified name for a html element.\n */\n get: function () {\n /**\n * 1. Let qualifiedName be context object’s qualified name.\n * 2. If the context object is in the HTML namespace and its node document\n * is an HTML document, then set qualifiedName to qualifiedName in ASCII\n * uppercase.\n * 3. Return qualifiedName.\n */\n var qualifiedName = this._qualifiedName;\n if (this._namespace === infra_1.namespace.HTML && this._nodeDocument._type === \"html\") {\n qualifiedName = qualifiedName.toUpperCase();\n }\n return qualifiedName;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"children\", {\n // MIXIN: ParentNode\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"firstElementChild\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"lastElementChild\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"childElementCount\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n /* istanbul ignore next */\n ElementImpl.prototype.prepend = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ParentNode not implemented.\");\n };\n /* istanbul ignore next */\n ElementImpl.prototype.append = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ParentNode not implemented.\");\n };\n /* istanbul ignore next */\n ElementImpl.prototype.querySelector = function (selectors) { throw new Error(\"Mixin: ParentNode not implemented.\"); };\n /* istanbul ignore next */\n ElementImpl.prototype.querySelectorAll = function (selectors) { throw new Error(\"Mixin: ParentNode not implemented.\"); };\n Object.defineProperty(ElementImpl.prototype, \"previousElementSibling\", {\n // MIXIN: NonDocumentTypeChildNode\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: NonDocumentTypeChildNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"nextElementSibling\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: NonDocumentTypeChildNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n // MIXIN: ChildNode\n /* istanbul ignore next */\n ElementImpl.prototype.before = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n ElementImpl.prototype.after = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n ElementImpl.prototype.replaceWith = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n ElementImpl.prototype.remove = function () { throw new Error(\"Mixin: ChildNode not implemented.\"); };\n Object.defineProperty(ElementImpl.prototype, \"assignedSlot\", {\n // MIXIN: Slotable\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: Slotable not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new `Element`.\n *\n * @param document - owner document\n * @param localName - local name\n * @param namespace - namespace\n * @param prefix - namespace prefix\n */\n ElementImpl._create = function (document, localName, namespace, namespacePrefix) {\n if (namespace === void 0) { namespace = null; }\n if (namespacePrefix === void 0) { namespacePrefix = null; }\n var node = new ElementImpl();\n node._localName = localName;\n node._namespace = namespace;\n node._namespacePrefix = namespacePrefix;\n node._nodeDocument = document;\n return node;\n };\n return ElementImpl;\n}(NodeImpl_1.NodeImpl));\nexports.ElementImpl = ElementImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(ElementImpl.prototype, \"_nodeType\", interfaces_1.NodeType.Element);\n//# sourceMappingURL=ElementImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a DOM event.\n */\nvar EventImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `Event`.\n */\n function EventImpl(type, eventInit) {\n this._target = null;\n this._relatedTarget = null;\n this._touchTargetList = [];\n this._path = [];\n this._currentTarget = null;\n this._eventPhase = interfaces_1.EventPhase.None;\n this._stopPropagationFlag = false;\n this._stopImmediatePropagationFlag = false;\n this._canceledFlag = false;\n this._inPassiveListenerFlag = false;\n this._composedFlag = false;\n this._initializedFlag = false;\n this._dispatchFlag = false;\n this._isTrusted = false;\n this._bubbles = false;\n this._cancelable = false;\n /**\n * When a constructor of the Event interface, or of an interface that\n * inherits from the Event interface, is invoked, these steps must be run,\n * given the arguments type and eventInitDict:\n * 1. Let event be the result of running the inner event creation steps with\n * this interface, null, now, and eventInitDict.\n * 2. Initialize event’s type attribute to type.\n * 3. Return event.\n */\n this._type = type;\n if (eventInit) {\n this._bubbles = eventInit.bubbles || false;\n this._cancelable = eventInit.cancelable || false;\n this._composedFlag = eventInit.composed || false;\n }\n this._initializedFlag = true;\n this._timeStamp = new Date().getTime();\n }\n Object.defineProperty(EventImpl.prototype, \"type\", {\n /** @inheritdoc */\n get: function () { return this._type; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"target\", {\n /** @inheritdoc */\n get: function () { return this._target; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"srcElement\", {\n /** @inheritdoc */\n get: function () { return this._target; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"currentTarget\", {\n /** @inheritdoc */\n get: function () { return this._currentTarget; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n EventImpl.prototype.composedPath = function () {\n /**\n * 1. Let composedPath be an empty list.\n * 2. Let path be the context object’s path.\n * 3. If path is empty, then return composedPath.\n * 4. Let currentTarget be the context object’s currentTarget attribute\n * value.\n * 5. Append currentTarget to composedPath.\n * 6. Let currentTargetIndex be 0.\n * 7. Let currentTargetHiddenSubtreeLevel be 0.\n */\n var composedPath = [];\n var path = this._path;\n if (path.length === 0)\n return composedPath;\n var currentTarget = this._currentTarget;\n if (currentTarget === null) {\n throw new Error(\"Event currentTarget is null.\");\n }\n composedPath.push(currentTarget);\n var currentTargetIndex = 0;\n var currentTargetHiddenSubtreeLevel = 0;\n /**\n * 8. Let index be path’s size − 1.\n * 9. While index is greater than or equal to 0:\n */\n var index = path.length - 1;\n while (index >= 0) {\n /**\n * 9.1. If path[index]'s root-of-closed-tree is true, then increase\n * currentTargetHiddenSubtreeLevel by 1.\n * 9.2. If path[index]'s invocation target is currentTarget, then set\n * currentTargetIndex to index and break.\n * 9.3. If path[index]'s slot-in-closed-tree is true, then decrease\n * currentTargetHiddenSubtreeLevel by 1.\n * 9.4. Decrease index by 1.\n */\n if (path[index].rootOfClosedTree) {\n currentTargetHiddenSubtreeLevel++;\n }\n if (path[index].invocationTarget === currentTarget) {\n currentTargetIndex = index;\n break;\n }\n if (path[index].slotInClosedTree) {\n currentTargetHiddenSubtreeLevel--;\n }\n index--;\n }\n /**\n * 10. Let currentHiddenLevel and maxHiddenLevel be\n * currentTargetHiddenSubtreeLevel.\n */\n var currentHiddenLevel = currentTargetHiddenSubtreeLevel;\n var maxHiddenLevel = currentTargetHiddenSubtreeLevel;\n /**\n * 11. Set index to currentTargetIndex − 1.\n * 12. While index is greater than or equal to 0:\n */\n index = currentTargetIndex - 1;\n while (index >= 0) {\n /**\n * 12.1. If path[index]'s root-of-closed-tree is true, then increase\n * currentHiddenLevel by 1.\n * 12.2. If currentHiddenLevel is less than or equal to maxHiddenLevel,\n * then prepend path[index]'s invocation target to composedPath.\n */\n if (path[index].rootOfClosedTree) {\n currentHiddenLevel++;\n }\n if (currentHiddenLevel <= maxHiddenLevel) {\n composedPath.unshift(path[index].invocationTarget);\n }\n /**\n * 12.3. If path[index]'s slot-in-closed-tree is true, then:\n */\n if (path[index].slotInClosedTree) {\n /**\n * 12.3.1. Decrease currentHiddenLevel by 1.\n * 12.3.2. If currentHiddenLevel is less than maxHiddenLevel, then set\n * maxHiddenLevel to currentHiddenLevel.\n */\n currentHiddenLevel--;\n if (currentHiddenLevel < maxHiddenLevel) {\n maxHiddenLevel = currentHiddenLevel;\n }\n }\n /**\n * 12.4. Decrease index by 1.\n */\n index--;\n }\n /**\n * 13. Set currentHiddenLevel and maxHiddenLevel to\n * currentTargetHiddenSubtreeLevel.\n */\n currentHiddenLevel = currentTargetHiddenSubtreeLevel;\n maxHiddenLevel = currentTargetHiddenSubtreeLevel;\n /**\n * 14. Set index to currentTargetIndex + 1.\n * 15. While index is less than path’s size:\n */\n index = currentTargetIndex + 1;\n while (index < path.length) {\n /**\n * 15.1. If path[index]'s slot-in-closed-tree is true, then increase\n * currentHiddenLevel by 1.\n * 15.2. If currentHiddenLevel is less than or equal to maxHiddenLevel,\n * then append path[index]'s invocation target to composedPath.\n */\n if (path[index].slotInClosedTree) {\n currentHiddenLevel++;\n }\n if (currentHiddenLevel <= maxHiddenLevel) {\n composedPath.push(path[index].invocationTarget);\n }\n /**\n * 15.3. If path[index]'s root-of-closed-tree is true, then:\n */\n if (path[index].rootOfClosedTree) {\n /**\n * 15.3.1. Decrease currentHiddenLevel by 1.\n * 15.3.2. If currentHiddenLevel is less than maxHiddenLevel, then set\n * maxHiddenLevel to currentHiddenLevel.\n */\n currentHiddenLevel--;\n if (currentHiddenLevel < maxHiddenLevel) {\n maxHiddenLevel = currentHiddenLevel;\n }\n }\n /**\n * 15.4. Increase index by 1.\n */\n index++;\n }\n /**\n * 16. Return composedPath.\n */\n return composedPath;\n };\n Object.defineProperty(EventImpl.prototype, \"eventPhase\", {\n /** @inheritdoc */\n get: function () { return this._eventPhase; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n EventImpl.prototype.stopPropagation = function () { this._stopPropagationFlag = true; };\n Object.defineProperty(EventImpl.prototype, \"cancelBubble\", {\n /** @inheritdoc */\n get: function () { return this._stopPropagationFlag; },\n set: function (value) { if (value)\n this.stopPropagation(); },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n EventImpl.prototype.stopImmediatePropagation = function () {\n this._stopPropagationFlag = true;\n this._stopImmediatePropagationFlag = true;\n };\n Object.defineProperty(EventImpl.prototype, \"bubbles\", {\n /** @inheritdoc */\n get: function () { return this._bubbles; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"cancelable\", {\n /** @inheritdoc */\n get: function () { return this._cancelable; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"returnValue\", {\n /** @inheritdoc */\n get: function () { return !this._canceledFlag; },\n set: function (value) {\n if (!value) {\n algorithm_1.event_setTheCanceledFlag(this);\n }\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n EventImpl.prototype.preventDefault = function () {\n algorithm_1.event_setTheCanceledFlag(this);\n };\n Object.defineProperty(EventImpl.prototype, \"defaultPrevented\", {\n /** @inheritdoc */\n get: function () { return this._canceledFlag; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"composed\", {\n /** @inheritdoc */\n get: function () { return this._composedFlag; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"isTrusted\", {\n /** @inheritdoc */\n get: function () { return this._isTrusted; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"timeStamp\", {\n /** @inheritdoc */\n get: function () { return this._timeStamp; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n EventImpl.prototype.initEvent = function (type, bubbles, cancelable) {\n if (bubbles === void 0) { bubbles = false; }\n if (cancelable === void 0) { cancelable = false; }\n /**\n * 1. If the context object’s dispatch flag is set, then return.\n */\n if (this._dispatchFlag)\n return;\n /**\n * 2. Initialize the context object with type, bubbles, and cancelable.\n */\n algorithm_1.event_initialize(this, type, bubbles, cancelable);\n };\n EventImpl.NONE = 0;\n EventImpl.CAPTURING_PHASE = 1;\n EventImpl.AT_TARGET = 2;\n EventImpl.BUBBLING_PHASE = 3;\n return EventImpl;\n}());\nexports.EventImpl = EventImpl;\n/**\n * Define constants on prototype.\n */\nWebIDLAlgorithm_1.idl_defineConst(EventImpl.prototype, \"NONE\", 0);\nWebIDLAlgorithm_1.idl_defineConst(EventImpl.prototype, \"CAPTURING_PHASE\", 1);\nWebIDLAlgorithm_1.idl_defineConst(EventImpl.prototype, \"AT_TARGET\", 2);\nWebIDLAlgorithm_1.idl_defineConst(EventImpl.prototype, \"BUBBLING_PHASE\", 3);\n//# sourceMappingURL=EventImpl.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMException_1 = require(\"./DOMException\");\nvar util_1 = require(\"../util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a target to which an event can be dispatched.\n */\nvar EventTargetImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `EventTarget`.\n */\n function EventTargetImpl() {\n }\n Object.defineProperty(EventTargetImpl.prototype, \"_eventListenerList\", {\n get: function () {\n return this.__eventListenerList || (this.__eventListenerList = []);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventTargetImpl.prototype, \"_eventHandlerMap\", {\n get: function () {\n return this.__eventHandlerMap || (this.__eventHandlerMap = {});\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n EventTargetImpl.prototype.addEventListener = function (type, callback, options) {\n if (options === void 0) { options = { passive: false, once: false, capture: false }; }\n /**\n * 1. Let capture, passive, and once be the result of flattening more options.\n */\n var _a = __read(algorithm_1.eventTarget_flattenMore(options), 3), capture = _a[0], passive = _a[1], once = _a[2];\n // convert callback function to EventListener, return if null\n var listenerCallback;\n if (!callback) {\n return;\n }\n else if (util_1.Guard.isEventListener(callback)) {\n listenerCallback = callback;\n }\n else {\n listenerCallback = { handleEvent: callback };\n }\n /**\n * 2. Add an event listener with the context object and an event listener\n * whose type is type, callback is callback, capture is capture, passive is\n * passive, and once is once.\n */\n algorithm_1.eventTarget_addEventListener(this, {\n type: type,\n callback: listenerCallback,\n capture: capture,\n passive: passive,\n once: once,\n removed: false\n });\n };\n /** @inheritdoc */\n EventTargetImpl.prototype.removeEventListener = function (type, callback, options) {\n /**\n * TODO: Implement realms\n * 1. If the context object’s relevant global object is a\n * ServiceWorkerGlobalScope object and its associated service worker’s\n * script resource’s has ever been evaluated flag is set, then throw\n * a TypeError. [SERVICE-WORKERS]\n */\n if (options === void 0) { options = { capture: false }; }\n /**\n * 2. Let capture be the result of flattening options.\n */\n var capture = algorithm_1.eventTarget_flatten(options);\n if (!callback)\n return;\n /**\n * 3. If the context object’s event listener list contains an event listener\n * whose type is type, callback is callback, and capture is capture, then\n * remove an event listener with the context object and that event listener.\n */\n for (var i = 0; i < this._eventListenerList.length; i++) {\n var entry = this._eventListenerList[i];\n if (entry.type !== type || entry.capture !== capture)\n continue;\n if (util_1.Guard.isEventListener(callback) && entry.callback === callback) {\n algorithm_1.eventTarget_removeEventListener(this, entry, i);\n break;\n }\n else if (callback && entry.callback.handleEvent === callback) {\n algorithm_1.eventTarget_removeEventListener(this, entry, i);\n break;\n }\n }\n };\n /** @inheritdoc */\n EventTargetImpl.prototype.dispatchEvent = function (event) {\n /**\n * 1. If event’s dispatch flag is set, or if its initialized flag is not\n * set, then throw an \"InvalidStateError\" DOMException.\n * 2. Initialize event’s isTrusted attribute to false.\n * 3. Return the result of dispatching event to the context object.\n */\n if (event._dispatchFlag || !event._initializedFlag) {\n throw new DOMException_1.InvalidStateError();\n }\n event._isTrusted = false;\n return algorithm_1.event_dispatch(event, this);\n };\n /** @inheritdoc */\n EventTargetImpl.prototype._getTheParent = function (event) {\n return null;\n };\n return EventTargetImpl;\n}());\nexports.EventTargetImpl = EventTargetImpl;\n//# sourceMappingURL=EventTargetImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"../algorithm\");\nvar util_1 = require(\"../util\");\nvar util_2 = require(\"@oozcitak/util\");\n/**\n * Represents a collection of elements.\n */\nvar HTMLCollectionImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `HTMLCollection`.\n *\n * @param root - root node\n * @param filter - node filter\n */\n function HTMLCollectionImpl(root, filter) {\n this._live = true;\n this._root = root;\n this._filter = filter;\n return new Proxy(this, this);\n }\n Object.defineProperty(HTMLCollectionImpl.prototype, \"length\", {\n /** @inheritdoc */\n get: function () {\n var _this = this;\n /**\n * The length attribute’s getter must return the number of nodes\n * represented by the collection.\n */\n var count = 0;\n var node = algorithm_1.tree_getFirstDescendantNode(this._root, false, false, function (e) { return util_1.Guard.isElementNode(e) && _this._filter(e); });\n while (node !== null) {\n count++;\n node = algorithm_1.tree_getNextDescendantNode(this._root, node, false, false, function (e) { return util_1.Guard.isElementNode(e) && _this._filter(e); });\n }\n return count;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n HTMLCollectionImpl.prototype.item = function (index) {\n var _this = this;\n /**\n * The item(index) method, when invoked, must return the indexth element\n * in the collection. If there is no indexth element in the collection,\n * then the method must return null.\n */\n var i = 0;\n var node = algorithm_1.tree_getFirstDescendantNode(this._root, false, false, function (e) { return util_1.Guard.isElementNode(e) && _this._filter(e); });\n while (node !== null) {\n if (i === index)\n return node;\n else\n i++;\n node = algorithm_1.tree_getNextDescendantNode(this._root, node, false, false, function (e) { return util_1.Guard.isElementNode(e) && _this._filter(e); });\n }\n return null;\n };\n /** @inheritdoc */\n HTMLCollectionImpl.prototype.namedItem = function (key) {\n var _this = this;\n /**\n * 1. If key is the empty string, return null.\n * 2. Return the first element in the collection for which at least one of\n * the following is true:\n * - it has an ID which is key;\n * - it is in the HTML namespace and has a name attribute whose value is key;\n * or null if there is no such element.\n */\n if (key === '')\n return null;\n var ele = algorithm_1.tree_getFirstDescendantNode(this._root, false, false, function (e) { return util_1.Guard.isElementNode(e) && _this._filter(e); });\n while (ele != null) {\n if (ele._uniqueIdentifier === key) {\n return ele;\n }\n else if (ele._namespace === infra_1.namespace.HTML) {\n for (var i = 0; i < ele._attributeList.length; i++) {\n var attr = ele._attributeList[i];\n if (attr._localName === \"name\" && attr._namespace === null &&\n attr._namespacePrefix === null && attr._value === key)\n return ele;\n }\n }\n ele = algorithm_1.tree_getNextDescendantNode(this._root, ele, false, false, function (e) { return util_1.Guard.isElementNode(e) && _this._filter(e); });\n }\n return null;\n };\n /** @inheritdoc */\n HTMLCollectionImpl.prototype[Symbol.iterator] = function () {\n var root = this._root;\n var filter = this._filter;\n var currentNode = algorithm_1.tree_getFirstDescendantNode(root, false, false, function (e) { return util_1.Guard.isElementNode(e) && filter(e); });\n return {\n next: function () {\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = algorithm_1.tree_getNextDescendantNode(root, currentNode, false, false, function (e) { return util_1.Guard.isElementNode(e) && filter(e); });\n return result;\n }\n }\n };\n };\n /**\n * Implements a proxy get trap to provide array-like access.\n */\n HTMLCollectionImpl.prototype.get = function (target, key, receiver) {\n if (!util_2.isString(key) || HTMLCollectionImpl.reservedNames.indexOf(key) !== -1) {\n return Reflect.get(target, key, receiver);\n }\n var index = Number(key);\n if (isNaN(index)) {\n return target.namedItem(key) || undefined;\n }\n else {\n return target.item(index) || undefined;\n }\n };\n /**\n * Implements a proxy set trap to provide array-like access.\n */\n HTMLCollectionImpl.prototype.set = function (target, key, value, receiver) {\n if (!util_2.isString(key) || HTMLCollectionImpl.reservedNames.indexOf(key) !== -1) {\n return Reflect.set(target, key, value, receiver);\n }\n var index = Number(key);\n var node = isNaN(index) ?\n target.namedItem(key) || undefined : target.item(index) || undefined;\n if (node && node._parent) {\n algorithm_1.mutation_replace(node, value, node._parent);\n return true;\n }\n else {\n return false;\n }\n };\n /**\n * Creates a new `HTMLCollection`.\n *\n * @param root - root node\n * @param filter - node filter\n */\n HTMLCollectionImpl._create = function (root, filter) {\n if (filter === void 0) { filter = (function () { return true; }); }\n return new HTMLCollectionImpl(root, filter);\n };\n HTMLCollectionImpl.reservedNames = ['_root', '_live', '_filter', 'length',\n 'item', 'namedItem', 'get', 'set'];\n return HTMLCollectionImpl;\n}());\nexports.HTMLCollectionImpl = HTMLCollectionImpl;\n//# sourceMappingURL=HTMLCollectionImpl.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar util_1 = require(\"../util\");\nvar infra_1 = require(\"@oozcitak/infra\");\n/**\n * Represents an object that can be used to observe mutations to the tree of\n * nodes.\n */\nvar MutationObserverImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `MutationObserver`.\n *\n * @param callback - the callback function\n */\n function MutationObserverImpl(callback) {\n this._nodeList = [];\n this._recordQueue = [];\n /**\n * 1. Let mo be a new MutationObserver object whose callback is callback.\n * 2. Append mo to mo’s relevant agent’s mutation observers.\n * 3. Return mo.\n */\n this._callback = callback;\n var window = DOMImpl_1.dom.window;\n infra_1.set.append(window._mutationObservers, this);\n }\n /** @inheritdoc */\n MutationObserverImpl.prototype.observe = function (target, options) {\n var e_1, _a;\n options = options || {\n childList: false,\n subtree: false\n };\n /**\n * 1. If either options’s attributeOldValue or attributeFilter is present\n * and options’s attributes is omitted, then set options’s attributes\n * to true.\n * 2. If options’s characterDataOldValue is present and options’s\n * characterData is omitted, then set options’s characterData to true.\n * 3. If none of options’s childList, attributes, and characterData is\n * true, then throw a TypeError.\n * 4. If options’s attributeOldValue is true and options’s attributes is\n * false, then throw a TypeError.\n * 5. If options’s attributeFilter is present and options’s attributes is\n * false, then throw a TypeError.\n * 6. If options’s characterDataOldValue is true and options’s characterData\n * is false, then throw a TypeError.\n */\n if ((options.attributeOldValue !== undefined || options.attributeFilter !== undefined) &&\n options.attributes === undefined) {\n options.attributes = true;\n }\n if (options.characterDataOldValue !== undefined && options.characterData === undefined) {\n options.characterData = true;\n }\n if (!options.childList && !options.attributes && !options.characterData) {\n throw new TypeError();\n }\n if (options.attributeOldValue && !options.attributes) {\n throw new TypeError();\n }\n if (options.attributeFilter !== undefined && !options.attributes) {\n throw new TypeError();\n }\n if (options.characterDataOldValue && !options.characterData) {\n throw new TypeError();\n }\n /**\n * 7. For each registered of target’s registered observer list, if\n * registered’s observer is the context object:\n */\n var isRegistered = false;\n var coptions = options;\n var _loop_1 = function (registered) {\n var e_2, _a;\n if (registered.observer === this_1) {\n isRegistered = true;\n try {\n /**\n * 7.1. For each node of the context object’s node list, remove all\n * transient registered observers whose source is registered from node’s\n * registered observer list.\n */\n for (var _b = (e_2 = void 0, __values(this_1._nodeList)), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node = _c.value;\n infra_1.list.remove(node._registeredObserverList, function (ob) {\n return util_1.Guard.isTransientRegisteredObserver(ob) && ob.source === registered;\n });\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_2) throw e_2.error; }\n }\n /**\n * 7.2. Set registered’s options to options.\n */\n registered.options = coptions;\n }\n };\n var this_1 = this;\n try {\n for (var _b = __values(target._registeredObserverList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var registered = _c.value;\n _loop_1(registered);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n /**\n * 8. Otherwise:\n * 8.1. Append a new registered observer whose observer is the context\n * object and options is options to target’s registered observer list.\n * 8.2. Append target to the context object’s node list.\n */\n if (!isRegistered) {\n target._registeredObserverList.push({ observer: this, options: options });\n this._nodeList.push(target);\n }\n };\n /** @inheritdoc */\n MutationObserverImpl.prototype.disconnect = function () {\n var e_3, _a;\n var _this = this;\n try {\n /**\n * 1. For each node of the context object’s node list, remove any\n * registered observer from node’s registered observer list for which the\n * context object is the observer.\n */\n for (var _b = __values(this._nodeList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node = _c.value;\n infra_1.list.remove((node)._registeredObserverList, function (ob) {\n return ob.observer === _this;\n });\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_3) throw e_3.error; }\n }\n /**\n * 2. Empty the context object’s record queue.\n */\n this._recordQueue = [];\n };\n /** @inheritdoc */\n MutationObserverImpl.prototype.takeRecords = function () {\n /**\n * 1. Let records be a clone of the context object’s record queue.\n * 2. Empty the context object’s record queue.\n * 3. Return records.\n */\n var records = this._recordQueue;\n this._recordQueue = [];\n return records;\n };\n return MutationObserverImpl;\n}());\nexports.MutationObserverImpl = MutationObserverImpl;\n//# sourceMappingURL=MutationObserverImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a mutation record.\n */\nvar MutationRecordImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `MutationRecord`.\n *\n * @param type - type of mutation: `\"attributes\"` for an attribute\n * mutation, `\"characterData\"` for a mutation to a CharacterData node\n * and `\"childList\"` for a mutation to the tree of nodes.\n * @param target - node affected by the mutation.\n * @param addedNodes - list of added nodes.\n * @param removedNodes - list of removed nodes.\n * @param previousSibling - previous sibling of added or removed nodes.\n * @param nextSibling - next sibling of added or removed nodes.\n * @param attributeName - local name of the changed attribute,\n * and `null` otherwise.\n * @param attributeNamespace - namespace of the changed attribute,\n * and `null` otherwise.\n * @param oldValue - value before mutation: attribute value for an attribute\n * mutation, node `data` for a mutation to a CharacterData node and `null`\n * for a mutation to the tree of nodes.\n */\n function MutationRecordImpl(type, target, addedNodes, removedNodes, previousSibling, nextSibling, attributeName, attributeNamespace, oldValue) {\n this._type = type;\n this._target = target;\n this._addedNodes = addedNodes;\n this._removedNodes = removedNodes;\n this._previousSibling = previousSibling;\n this._nextSibling = nextSibling;\n this._attributeName = attributeName;\n this._attributeNamespace = attributeNamespace;\n this._oldValue = oldValue;\n }\n Object.defineProperty(MutationRecordImpl.prototype, \"type\", {\n /** @inheritdoc */\n get: function () { return this._type; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"target\", {\n /** @inheritdoc */\n get: function () { return this._target; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"addedNodes\", {\n /** @inheritdoc */\n get: function () { return this._addedNodes; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"removedNodes\", {\n /** @inheritdoc */\n get: function () { return this._removedNodes; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"previousSibling\", {\n /** @inheritdoc */\n get: function () { return this._previousSibling; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"nextSibling\", {\n /** @inheritdoc */\n get: function () { return this._nextSibling; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"attributeName\", {\n /** @inheritdoc */\n get: function () { return this._attributeName; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"attributeNamespace\", {\n /** @inheritdoc */\n get: function () { return this._attributeNamespace; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"oldValue\", {\n /** @inheritdoc */\n get: function () { return this._oldValue; },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new `MutationRecord`.\n *\n * @param type - type of mutation: `\"attributes\"` for an attribute\n * mutation, `\"characterData\"` for a mutation to a CharacterData node\n * and `\"childList\"` for a mutation to the tree of nodes.\n * @param target - node affected by the mutation.\n * @param addedNodes - list of added nodes.\n * @param removedNodes - list of removed nodes.\n * @param previousSibling - previous sibling of added or removed nodes.\n * @param nextSibling - next sibling of added or removed nodes.\n * @param attributeName - local name of the changed attribute,\n * and `null` otherwise.\n * @param attributeNamespace - namespace of the changed attribute,\n * and `null` otherwise.\n * @param oldValue - value before mutation: attribute value for an attribute\n * mutation, node `data` for a mutation to a CharacterData node and `null`\n * for a mutation to the tree of nodes.\n */\n MutationRecordImpl._create = function (type, target, addedNodes, removedNodes, previousSibling, nextSibling, attributeName, attributeNamespace, oldValue) {\n return new MutationRecordImpl(type, target, addedNodes, removedNodes, previousSibling, nextSibling, attributeName, attributeNamespace, oldValue);\n };\n return MutationRecordImpl;\n}());\nexports.MutationRecordImpl = MutationRecordImpl;\n//# sourceMappingURL=MutationRecordImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMException_1 = require(\"./DOMException\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a collection of attributes.\n */\nvar NamedNodeMapImpl = /** @class */ (function (_super) {\n __extends(NamedNodeMapImpl, _super);\n /**\n * Initializes a new instance of `NamedNodeMap`.\n *\n * @param element - parent element\n */\n function NamedNodeMapImpl(element) {\n var _this = _super.call(this) || this;\n _this._element = element;\n // TODO: This workaround is needed to extend Array in ES5\n Object.setPrototypeOf(_this, NamedNodeMapImpl.prototype);\n return _this;\n }\n NamedNodeMapImpl.prototype._asArray = function () { return this; };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.item = function (index) {\n /**\n * 1. If index is equal to or greater than context object’s attribute list’s\n * size, then return null.\n * 2. Otherwise, return context object’s attribute list[index].\n *\n */\n return this[index] || null;\n };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.getNamedItem = function (qualifiedName) {\n /**\n * The getNamedItem(qualifiedName) method, when invoked, must return the\n * result of getting an attribute given qualifiedName and element.\n */\n return algorithm_1.element_getAnAttributeByName(qualifiedName, this._element);\n };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.getNamedItemNS = function (namespace, localName) {\n /**\n * The getNamedItemNS(namespace, localName) method, when invoked, must\n * return the result of getting an attribute given namespace, localName,\n * and element.\n */\n return algorithm_1.element_getAnAttributeByNamespaceAndLocalName(namespace || '', localName, this._element);\n };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.setNamedItem = function (attr) {\n /**\n * The setNamedItem(attr) and setNamedItemNS(attr) methods, when invoked,\n * must return the result of setting an attribute given attr and element.\n */\n return algorithm_1.element_setAnAttribute(attr, this._element);\n };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.setNamedItemNS = function (attr) {\n return algorithm_1.element_setAnAttribute(attr, this._element);\n };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.removeNamedItem = function (qualifiedName) {\n /**\n * 1. Let attr be the result of removing an attribute given qualifiedName\n * and element.\n * 2. If attr is null, then throw a \"NotFoundError\" DOMException.\n * 3. Return attr.\n */\n var attr = algorithm_1.element_removeAnAttributeByName(qualifiedName, this._element);\n if (attr === null)\n throw new DOMException_1.NotFoundError();\n return attr;\n };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.removeNamedItemNS = function (namespace, localName) {\n /**\n * 1. Let attr be the result of removing an attribute given namespace,\n * localName, and element.\n * 2. If attr is null, then throw a \"NotFoundError\" DOMException.\n * 3. Return attr.\n */\n var attr = algorithm_1.element_removeAnAttributeByNamespaceAndLocalName(namespace || '', localName, this._element);\n if (attr === null)\n throw new DOMException_1.NotFoundError();\n return attr;\n };\n /**\n * Creates a new `NamedNodeMap`.\n *\n * @param element - parent element\n */\n NamedNodeMapImpl._create = function (element) {\n return new NamedNodeMapImpl(element);\n };\n return NamedNodeMapImpl;\n}(Array));\nexports.NamedNodeMapImpl = NamedNodeMapImpl;\n//# sourceMappingURL=NamedNodeMapImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a node filter.\n */\nvar NodeFilterImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `NodeFilter`.\n */\n function NodeFilterImpl() {\n }\n /**\n * Callback function.\n */\n NodeFilterImpl.prototype.acceptNode = function (node) {\n return interfaces_1.FilterResult.Accept;\n };\n /**\n * Creates a new `NodeFilter`.\n */\n NodeFilterImpl._create = function () {\n return new NodeFilterImpl();\n };\n NodeFilterImpl.FILTER_ACCEPT = 1;\n NodeFilterImpl.FILTER_REJECT = 2;\n NodeFilterImpl.FILTER_SKIP = 3;\n NodeFilterImpl.SHOW_ALL = 0xffffffff;\n NodeFilterImpl.SHOW_ELEMENT = 0x1;\n NodeFilterImpl.SHOW_ATTRIBUTE = 0x2;\n NodeFilterImpl.SHOW_TEXT = 0x4;\n NodeFilterImpl.SHOW_CDATA_SECTION = 0x8;\n NodeFilterImpl.SHOW_ENTITY_REFERENCE = 0x10;\n NodeFilterImpl.SHOW_ENTITY = 0x20;\n NodeFilterImpl.SHOW_PROCESSING_INSTRUCTION = 0x40;\n NodeFilterImpl.SHOW_COMMENT = 0x80;\n NodeFilterImpl.SHOW_DOCUMENT = 0x100;\n NodeFilterImpl.SHOW_DOCUMENT_TYPE = 0x200;\n NodeFilterImpl.SHOW_DOCUMENT_FRAGMENT = 0x400;\n NodeFilterImpl.SHOW_NOTATION = 0x800;\n return NodeFilterImpl;\n}());\nexports.NodeFilterImpl = NodeFilterImpl;\n/**\n * Define constants on prototype.\n */\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"FILTER_ACCEPT\", 1);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"FILTER_REJECT\", 2);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"FILTER_SKIP\", 3);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_ALL\", 0xffffffff);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_ELEMENT\", 0x1);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_ATTRIBUTE\", 0x2);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_TEXT\", 0x4);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_CDATA_SECTION\", 0x8);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_ENTITY_REFERENCE\", 0x10);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_ENTITY\", 0x20);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_PROCESSING_INSTRUCTION\", 0x40);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_COMMENT\", 0x80);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_DOCUMENT\", 0x100);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_DOCUMENT_TYPE\", 0x200);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_DOCUMENT_FRAGMENT\", 0x400);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_NOTATION\", 0x800);\n//# sourceMappingURL=NodeFilterImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar interfaces_1 = require(\"./interfaces\");\nvar EventTargetImpl_1 = require(\"./EventTargetImpl\");\nvar util_1 = require(\"../util\");\nvar DOMException_1 = require(\"./DOMException\");\nvar algorithm_1 = require(\"../algorithm\");\nvar URLAlgorithm_1 = require(\"@oozcitak/url/lib/URLAlgorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a generic XML node.\n */\nvar NodeImpl = /** @class */ (function (_super) {\n __extends(NodeImpl, _super);\n /**\n * Initializes a new instance of `Node`.\n */\n function NodeImpl() {\n var _this = _super.call(this) || this;\n _this._parent = null;\n _this._firstChild = null;\n _this._lastChild = null;\n _this._previousSibling = null;\n _this._nextSibling = null;\n return _this;\n }\n Object.defineProperty(NodeImpl.prototype, \"_childNodes\", {\n get: function () {\n return this.__childNodes || (this.__childNodes = algorithm_1.create_nodeList(this));\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"_nodeDocument\", {\n get: function () { return this._nodeDocumentOverride || DOMImpl_1.dom.window._associatedDocument; },\n set: function (val) { this._nodeDocumentOverride = val; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"_registeredObserverList\", {\n get: function () {\n return this.__registeredObserverList || (this.__registeredObserverList = []);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"nodeType\", {\n /** @inheritdoc */\n get: function () { return this._nodeType; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"nodeName\", {\n /**\n * Returns a string appropriate for the type of node.\n */\n get: function () {\n if (util_1.Guard.isElementNode(this)) {\n return this._htmlUppercasedQualifiedName;\n }\n else if (util_1.Guard.isAttrNode(this)) {\n return this._qualifiedName;\n }\n else if (util_1.Guard.isExclusiveTextNode(this)) {\n return \"#text\";\n }\n else if (util_1.Guard.isCDATASectionNode(this)) {\n return \"#cdata-section\";\n }\n else if (util_1.Guard.isProcessingInstructionNode(this)) {\n return this._target;\n }\n else if (util_1.Guard.isCommentNode(this)) {\n return \"#comment\";\n }\n else if (util_1.Guard.isDocumentNode(this)) {\n return \"#document\";\n }\n else if (util_1.Guard.isDocumentTypeNode(this)) {\n return this._name;\n }\n else if (util_1.Guard.isDocumentFragmentNode(this)) {\n return \"#document-fragment\";\n }\n else {\n return \"\";\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"baseURI\", {\n /**\n * Gets the absolute base URL of the node.\n */\n get: function () {\n /**\n * The baseURI attribute’s getter must return node document’s document\n * base URL, serialized.\n * TODO: Implement in HTML DOM\n * https://html.spec.whatwg.org/multipage/urls-and-fetching.html#document-base-url\n */\n return URLAlgorithm_1.urlSerializer(this._nodeDocument._URL);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"isConnected\", {\n /**\n * Returns whether the node is rooted to a document node.\n */\n get: function () {\n /**\n * The isConnected attribute’s getter must return true, if context object\n * is connected, and false otherwise.\n */\n return util_1.Guard.isElementNode(this) && algorithm_1.shadowTree_isConnected(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"ownerDocument\", {\n /**\n * Returns the parent document.\n */\n get: function () {\n /**\n * The ownerDocument attribute’s getter must return null, if the context\n * object is a document, and the context object’s node document otherwise.\n * _Note:_ The node document of a document is that document itself. All\n * nodes have a node document at all times.\n */\n if (this._nodeType === interfaces_1.NodeType.Document)\n return null;\n else\n return this._nodeDocument;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns the root node.\n *\n * @param options - if options has `composed = true` this function\n * returns the node's shadow-including root, otherwise it returns\n * the node's root node.\n */\n NodeImpl.prototype.getRootNode = function (options) {\n /**\n * The getRootNode(options) method, when invoked, must return context\n * object’s shadow-including root if options’s composed is true,\n * and context object’s root otherwise.\n */\n return algorithm_1.tree_rootNode(this, !!options && options.composed);\n };\n Object.defineProperty(NodeImpl.prototype, \"parentNode\", {\n /**\n * Returns the parent node.\n */\n get: function () {\n /**\n * The parentNode attribute’s getter must return the context object’s parent.\n * _Note:_ An Attr node has no parent.\n */\n if (this._nodeType === interfaces_1.NodeType.Attribute) {\n return null;\n }\n else {\n return this._parent;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"parentElement\", {\n /**\n * Returns the parent element.\n */\n get: function () {\n /**\n * The parentElement attribute’s getter must return the context object’s\n * parent element.\n */\n if (this._parent && util_1.Guard.isElementNode(this._parent)) {\n return this._parent;\n }\n else {\n return null;\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Determines whether a node has any children.\n */\n NodeImpl.prototype.hasChildNodes = function () {\n /**\n * The hasChildNodes() method, when invoked, must return true if the context\n * object has children, and false otherwise.\n */\n return (this._firstChild !== null);\n };\n Object.defineProperty(NodeImpl.prototype, \"childNodes\", {\n /**\n * Returns a {@link NodeList} of child nodes.\n */\n get: function () {\n /**\n * The childNodes attribute’s getter must return a NodeList rooted at the\n * context object matching only children.\n */\n return this._childNodes;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"firstChild\", {\n /**\n * Returns the first child node.\n */\n get: function () {\n /**\n * The firstChild attribute’s getter must return the context object’s first\n * child.\n */\n return this._firstChild;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"lastChild\", {\n /**\n * Returns the last child node.\n */\n get: function () {\n /**\n * The lastChild attribute’s getter must return the context object’s last\n * child.\n */\n return this._lastChild;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"previousSibling\", {\n /**\n * Returns the previous sibling node.\n */\n get: function () {\n /**\n * The previousSibling attribute’s getter must return the context object’s\n * previous sibling.\n * _Note:_ An Attr node has no siblings.\n */\n return this._previousSibling;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"nextSibling\", {\n /**\n * Returns the next sibling node.\n */\n get: function () {\n /**\n * The nextSibling attribute’s getter must return the context object’s\n * next sibling.\n */\n return this._nextSibling;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"nodeValue\", {\n /**\n * Gets or sets the data associated with a {@link CharacterData} node or the\n * value of an {@link @Attr} node. For other node types returns `null`.\n */\n get: function () {\n if (util_1.Guard.isAttrNode(this)) {\n return this._value;\n }\n else if (util_1.Guard.isCharacterDataNode(this)) {\n return this._data;\n }\n else {\n return null;\n }\n },\n set: function (value) {\n if (value === null) {\n value = '';\n }\n if (util_1.Guard.isAttrNode(this)) {\n algorithm_1.attr_setAnExistingAttributeValue(this, value);\n }\n else if (util_1.Guard.isCharacterDataNode(this)) {\n algorithm_1.characterData_replaceData(this, 0, this._data.length, value);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"textContent\", {\n /**\n * Returns the concatenation of data of all the {@link Text}\n * node descendants in tree order. When set, replaces the text\n * contents of the node with the given value.\n */\n get: function () {\n if (util_1.Guard.isDocumentFragmentNode(this) || util_1.Guard.isElementNode(this)) {\n return algorithm_1.text_descendantTextContent(this);\n }\n else if (util_1.Guard.isAttrNode(this)) {\n return this._value;\n }\n else if (util_1.Guard.isCharacterDataNode(this)) {\n return this._data;\n }\n else {\n return null;\n }\n },\n set: function (value) {\n if (value === null) {\n value = '';\n }\n if (util_1.Guard.isDocumentFragmentNode(this) || util_1.Guard.isElementNode(this)) {\n algorithm_1.node_stringReplaceAll(value, this);\n }\n else if (util_1.Guard.isAttrNode(this)) {\n algorithm_1.attr_setAnExistingAttributeValue(this, value);\n }\n else if (util_1.Guard.isCharacterDataNode(this)) {\n algorithm_1.characterData_replaceData(this, 0, algorithm_1.tree_nodeLength(this), value);\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Puts all {@link Text} nodes in the full depth of the sub-tree\n * underneath this node into a \"normal\" form where only markup\n * (e.g., tags, comments, processing instructions, CDATA sections,\n * and entity references) separates {@link Text} nodes, i.e., there\n * are no adjacent Text nodes.\n */\n NodeImpl.prototype.normalize = function () {\n var e_1, _a, e_2, _b;\n /**\n * The normalize() method, when invoked, must run these steps for each\n * descendant exclusive Text node node of context object:\n */\n var descendantNodes = [];\n var node = algorithm_1.tree_getFirstDescendantNode(this, false, false, function (e) { return util_1.Guard.isExclusiveTextNode(e); });\n while (node !== null) {\n descendantNodes.push(node);\n node = algorithm_1.tree_getNextDescendantNode(this, node, false, false, function (e) { return util_1.Guard.isExclusiveTextNode(e); });\n }\n for (var i = 0; i < descendantNodes.length; i++) {\n var node_1 = descendantNodes[i];\n if (node_1._parent === null)\n continue;\n /**\n * 1. Let length be node’s length.\n * 2. If length is zero, then remove node and continue with the next\n * exclusive Text node, if any.\n */\n var length = algorithm_1.tree_nodeLength(node_1);\n if (length === 0) {\n algorithm_1.mutation_remove(node_1, node_1._parent);\n continue;\n }\n /**\n * 3. Let data be the concatenation of the data of node’s contiguous\n * exclusive Text nodes (excluding itself), in tree order.\n */\n var textSiblings = [];\n var data = '';\n try {\n for (var _c = (e_1 = void 0, __values(algorithm_1.text_contiguousExclusiveTextNodes(node_1))), _d = _c.next(); !_d.done; _d = _c.next()) {\n var sibling = _d.value;\n textSiblings.push(sibling);\n data += sibling._data;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_1) throw e_1.error; }\n }\n /**\n * 4. Replace data with node node, offset length, count 0, and data data.\n */\n algorithm_1.characterData_replaceData(node_1, length, 0, data);\n /**\n * 5. Let currentNode be node’s next sibling.\n * 6. While currentNode is an exclusive Text node:\n */\n if (DOMImpl_1.dom.rangeList.size !== 0) {\n var currentNode = node_1._nextSibling;\n while (currentNode !== null && util_1.Guard.isExclusiveTextNode(currentNode)) {\n /**\n * 6.1. For each live range whose start node is currentNode, add length\n * to its start offset and set its start node to node.\n * 6.2. For each live range whose end node is currentNode, add length to\n * its end offset and set its end node to node.\n * 6.3. For each live range whose start node is currentNode’s parent and\n * start offset is currentNode’s index, set its start node to node and\n * its start offset to length.\n * 6.4. For each live range whose end node is currentNode’s parent and\n * end offset is currentNode’s index, set its end node to node and its\n * end offset to length.\n */\n var cn = currentNode;\n var index = algorithm_1.tree_index(cn);\n try {\n for (var _e = (e_2 = void 0, __values(DOMImpl_1.dom.rangeList)), _f = _e.next(); !_f.done; _f = _e.next()) {\n var range = _f.value;\n if (range._start[0] === cn) {\n range._start[0] = node_1;\n range._start[1] += length;\n }\n if (range._end[0] === cn) {\n range._end[0] = node_1;\n range._end[1] += length;\n }\n if (range._start[0] === cn._parent && range._start[1] === index) {\n range._start[0] = node_1;\n range._start[1] = length;\n }\n if (range._end[0] === cn._parent && range._end[1] === index) {\n range._end[0] = node_1;\n range._end[1] = length;\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_b = _e.return)) _b.call(_e);\n }\n finally { if (e_2) throw e_2.error; }\n }\n /**\n * 6.5. Add currentNode’s length to length.\n * 6.6. Set currentNode to its next sibling.\n */\n length += algorithm_1.tree_nodeLength(currentNode);\n currentNode = currentNode._nextSibling;\n }\n }\n /**\n * 7. Remove node’s contiguous exclusive Text nodes (excluding itself),\n * in tree order.\n */\n for (var i_1 = 0; i_1 < textSiblings.length; i_1++) {\n var sibling = textSiblings[i_1];\n if (sibling._parent === null)\n continue;\n algorithm_1.mutation_remove(sibling, sibling._parent);\n }\n }\n };\n /**\n * Returns a duplicate of this node, i.e., serves as a generic copy\n * constructor for nodes. The duplicate node has no parent\n * ({@link parentNode} returns `null`).\n *\n * @param deep - if `true`, recursively clone the subtree under the\n * specified node. If `false`, clone only the node itself (and its\n * attributes, if it is an {@link Element}).\n */\n NodeImpl.prototype.cloneNode = function (deep) {\n if (deep === void 0) { deep = false; }\n /**\n * 1. If context object is a shadow root, then throw a \"NotSupportedError\"\n * DOMException.\n * 2. Return a clone of the context object, with the clone children flag set\n * if deep is true.\n */\n if (util_1.Guard.isShadowRoot(this))\n throw new DOMException_1.NotSupportedError();\n return algorithm_1.node_clone(this, null, deep);\n };\n /**\n * Determines if the given node is equal to this one.\n *\n * @param node - the node to compare with\n */\n NodeImpl.prototype.isEqualNode = function (node) {\n if (node === void 0) { node = null; }\n /**\n * The isEqualNode(otherNode) method, when invoked, must return true if\n * otherNode is non-null and context object equals otherNode, and false\n * otherwise.\n */\n return (node !== null && algorithm_1.node_equals(this, node));\n };\n /**\n * Determines if the given node is reference equal to this one.\n *\n * @param node - the node to compare with\n */\n NodeImpl.prototype.isSameNode = function (node) {\n if (node === void 0) { node = null; }\n /**\n * The isSameNode(otherNode) method, when invoked, must return true if\n * otherNode is context object, and false otherwise.\n */\n return (this === node);\n };\n /**\n * Returns a bitmask indicating the position of the given `node`\n * relative to this node.\n */\n NodeImpl.prototype.compareDocumentPosition = function (other) {\n /**\n * 1. If context object is other, then return zero.\n * 2. Let node1 be other and node2 be context object.\n * 3. Let attr1 and attr2 be null.\n * attr1’s element.\n */\n if (other === this)\n return 0;\n var node1 = other;\n var node2 = this;\n var attr1 = null;\n var attr2 = null;\n /**\n * 4. If node1 is an attribute, then set attr1 to node1 and node1 to\n * attr1’s element.\n */\n if (util_1.Guard.isAttrNode(node1)) {\n attr1 = node1;\n node1 = attr1._element;\n }\n /**\n * 5. If node2 is an attribute, then:\n */\n if (util_1.Guard.isAttrNode(node2)) {\n /**\n * 5.1. Set attr2 to node2 and node2 to attr2’s element.\n */\n attr2 = node2;\n node2 = attr2._element;\n /**\n * 5.2. If attr1 and node1 are non-null, and node2 is node1, then:\n */\n if (attr1 && node1 && (node1 === node2)) {\n /**\n * 5.2. For each attr in node2’s attribute list:\n */\n for (var i = 0; i < node2._attributeList.length; i++) {\n var attr = node2._attributeList[i];\n /**\n * 5.2.1. If attr equals attr1, then return the result of adding\n * DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC and\n * DOCUMENT_POSITION_PRECEDING.\n * 5.2.2. If attr equals attr2, then return the result of adding\n * DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC and\n * DOCUMENT_POSITION_FOLLOWING.\n */\n if (algorithm_1.node_equals(attr, attr1)) {\n return interfaces_1.Position.ImplementationSpecific | interfaces_1.Position.Preceding;\n }\n else if (algorithm_1.node_equals(attr, attr2)) {\n return interfaces_1.Position.ImplementationSpecific | interfaces_1.Position.Following;\n }\n }\n }\n }\n /**\n * 6. If node1 or node2 is null, or node1’s root is not node2’s root, then\n * return the result of adding DOCUMENT_POSITION_DISCONNECTED,\n * DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, and either\n * DOCUMENT_POSITION_PRECEDING or DOCUMENT_POSITION_FOLLOWING,\n * with the constraint that this is to be consistent, together.\n */\n if (node1 === null || node2 === null ||\n algorithm_1.tree_rootNode(node1) !== algorithm_1.tree_rootNode(node2)) {\n // nodes are disconnected\n // return a random result but cache the value for consistency\n return interfaces_1.Position.Disconnected | interfaces_1.Position.ImplementationSpecific |\n (DOMImpl_1.dom.compareCache.check(this, other) ? interfaces_1.Position.Preceding : interfaces_1.Position.Following);\n }\n /**\n * 7. If node1 is an ancestor of node2 and attr1 is null, or node1 is node2\n * and attr2 is non-null, then return the result of adding\n * DOCUMENT_POSITION_CONTAINS to DOCUMENT_POSITION_PRECEDING.\n */\n if ((!attr1 && algorithm_1.tree_isAncestorOf(node2, node1)) ||\n (attr2 && (node1 === node2))) {\n return interfaces_1.Position.Contains | interfaces_1.Position.Preceding;\n }\n /**\n * 8. If node1 is a descendant of node2 and attr2 is null, or node1 is node2\n * and attr1 is non-null, then return the result of adding\n * DOCUMENT_POSITION_CONTAINED_BY to DOCUMENT_POSITION_FOLLOWING.\n */\n if ((!attr2 && algorithm_1.tree_isDescendantOf(node2, node1)) ||\n (attr1 && (node1 === node2))) {\n return interfaces_1.Position.ContainedBy | interfaces_1.Position.Following;\n }\n /**\n * 9. If node1 is preceding node2, then return DOCUMENT_POSITION_PRECEDING.\n */\n if (algorithm_1.tree_isPreceding(node2, node1))\n return interfaces_1.Position.Preceding;\n /**\n * 10. Return DOCUMENT_POSITION_FOLLOWING.\n */\n return interfaces_1.Position.Following;\n };\n /**\n * Returns `true` if given node is an inclusive descendant of this\n * node, and `false` otherwise (including when other node is `null`).\n *\n * @param other - the node to check\n */\n NodeImpl.prototype.contains = function (other) {\n /**\n * The contains(other) method, when invoked, must return true if other is an\n * inclusive descendant of context object, and false otherwise (including\n * when other is null).\n */\n if (other === null)\n return false;\n return algorithm_1.tree_isDescendantOf(this, other, true);\n };\n /**\n * Returns the prefix for a given namespace URI, if present, and\n * `null` if not.\n *\n * @param namespace - the namespace to search\n */\n NodeImpl.prototype.lookupPrefix = function (namespace) {\n /**\n * 1. If namespace is null or the empty string, then return null.\n * 2. Switch on the context object:\n */\n if (!namespace)\n return null;\n if (util_1.Guard.isElementNode(this)) {\n /**\n * Return the result of locating a namespace prefix for it using\n * namespace.\n */\n return algorithm_1.node_locateANamespacePrefix(this, namespace);\n }\n else if (util_1.Guard.isDocumentNode(this)) {\n /**\n * Return the result of locating a namespace prefix for its document\n * element, if its document element is non-null, and null otherwise.\n */\n if (this.documentElement === null) {\n return null;\n }\n else {\n return algorithm_1.node_locateANamespacePrefix(this.documentElement, namespace);\n }\n }\n else if (util_1.Guard.isDocumentTypeNode(this) || util_1.Guard.isDocumentFragmentNode(this)) {\n return null;\n }\n else if (util_1.Guard.isAttrNode(this)) {\n /**\n * Return the result of locating a namespace prefix for its element,\n * if its element is non-null, and null otherwise.\n */\n if (this._element === null) {\n return null;\n }\n else {\n return algorithm_1.node_locateANamespacePrefix(this._element, namespace);\n }\n }\n else {\n /**\n * Return the result of locating a namespace prefix for its parent\n * element, if its parent element is non-null, and null otherwise.\n */\n if (this._parent !== null && util_1.Guard.isElementNode(this._parent)) {\n return algorithm_1.node_locateANamespacePrefix(this._parent, namespace);\n }\n else {\n return null;\n }\n }\n };\n /**\n * Returns the namespace URI for a given prefix if present, and `null`\n * if not.\n *\n * @param prefix - the prefix to search\n */\n NodeImpl.prototype.lookupNamespaceURI = function (prefix) {\n /**\n * 1. If prefix is the empty string, then set it to null.\n * 2. Return the result of running locate a namespace for the context object\n * using prefix.\n */\n return algorithm_1.node_locateANamespace(this, prefix || null);\n };\n /**\n * Returns `true` if the namespace is the default namespace on this\n * node or `false` if not.\n *\n * @param namespace - the namespace to check\n */\n NodeImpl.prototype.isDefaultNamespace = function (namespace) {\n /**\n * 1. If namespace is the empty string, then set it to null.\n * 2. Let defaultNamespace be the result of running locate a namespace for\n * context object using null.\n * 3. Return true if defaultNamespace is the same as namespace, and false otherwise.\n */\n if (!namespace)\n namespace = null;\n var defaultNamespace = algorithm_1.node_locateANamespace(this, null);\n return (defaultNamespace === namespace);\n };\n /**\n * Inserts the node `newChild` before the existing child node\n * `refChild`. If `refChild` is `null`, inserts `newChild` at the end\n * of the list of children.\n *\n * If `newChild` is a {@link DocumentFragment} object, all of its\n * children are inserted, in the same order, before `refChild`.\n *\n * If `newChild` is already in the tree, it is first removed.\n *\n * @param newChild - the node to insert\n * @param refChild - the node before which the new node must be\n * inserted\n *\n * @returns the newly inserted child node\n */\n NodeImpl.prototype.insertBefore = function (newChild, refChild) {\n /**\n * The insertBefore(node, child) method, when invoked, must return the\n * result of pre-inserting node into context object before child.\n */\n return algorithm_1.mutation_preInsert(newChild, this, refChild);\n };\n /**\n * Adds the node `newChild` to the end of the list of children of this\n * node, and returns it. If `newChild` is already in the tree, it is\n * first removed.\n *\n * If `newChild` is a {@link DocumentFragment} object, the entire\n * contents of the document fragment are moved into the child list of\n * this node.\n *\n * @param newChild - the node to add\n *\n * @returns the newly inserted child node\n */\n NodeImpl.prototype.appendChild = function (newChild) {\n /**\n * The appendChild(node) method, when invoked, must return the result of\n * appending node to context object.\n */\n return algorithm_1.mutation_append(newChild, this);\n };\n /**\n * Replaces the child node `oldChild` with `newChild` in the list of\n * children, and returns the `oldChild` node. If `newChild` is already\n * in the tree, it is first removed.\n *\n * @param newChild - the new node to put in the child list\n * @param oldChild - the node being replaced in the list\n *\n * @returns the removed child node\n */\n NodeImpl.prototype.replaceChild = function (newChild, oldChild) {\n /**\n * The replaceChild(node, child) method, when invoked, must return the\n * result of replacing child with node within context object.\n */\n return algorithm_1.mutation_replace(oldChild, newChild, this);\n };\n /**\n * Removes the child node indicated by `oldChild` from the list of\n * children, and returns it.\n *\n * @param oldChild - the node being removed from the list\n *\n * @returns the removed child node\n */\n NodeImpl.prototype.removeChild = function (oldChild) {\n /**\n * The removeChild(child) method, when invoked, must return the result of\n * pre-removing child from context object.\n */\n return algorithm_1.mutation_preRemove(oldChild, this);\n };\n /**\n * Gets the parent event target for the given event.\n *\n * @param event - an event\n */\n NodeImpl.prototype._getTheParent = function (event) {\n /**\n * A node’s get the parent algorithm, given an event, returns the node’s\n * assigned slot, if node is assigned, and node’s parent otherwise.\n */\n if (util_1.Guard.isSlotable(this) && algorithm_1.shadowTree_isAssigned(this)) {\n return this._assignedSlot;\n }\n else {\n return this._parent;\n }\n };\n NodeImpl.ELEMENT_NODE = 1;\n NodeImpl.ATTRIBUTE_NODE = 2;\n NodeImpl.TEXT_NODE = 3;\n NodeImpl.CDATA_SECTION_NODE = 4;\n NodeImpl.ENTITY_REFERENCE_NODE = 5;\n NodeImpl.ENTITY_NODE = 6;\n NodeImpl.PROCESSING_INSTRUCTION_NODE = 7;\n NodeImpl.COMMENT_NODE = 8;\n NodeImpl.DOCUMENT_NODE = 9;\n NodeImpl.DOCUMENT_TYPE_NODE = 10;\n NodeImpl.DOCUMENT_FRAGMENT_NODE = 11;\n NodeImpl.NOTATION_NODE = 12;\n NodeImpl.DOCUMENT_POSITION_DISCONNECTED = 0x01;\n NodeImpl.DOCUMENT_POSITION_PRECEDING = 0x02;\n NodeImpl.DOCUMENT_POSITION_FOLLOWING = 0x04;\n NodeImpl.DOCUMENT_POSITION_CONTAINS = 0x08;\n NodeImpl.DOCUMENT_POSITION_CONTAINED_BY = 0x10;\n NodeImpl.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;\n return NodeImpl;\n}(EventTargetImpl_1.EventTargetImpl));\nexports.NodeImpl = NodeImpl;\n/**\n * A performance tweak to share an empty set between all node classes. This will\n * be overwritten by element, document and document fragment nodes to supply an\n * actual set of nodes.\n */\nNodeImpl.prototype._children = new util_1.EmptySet();\n/**\n * Define constants on prototype.\n */\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"ELEMENT_NODE\", 1);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"ATTRIBUTE_NODE\", 2);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"TEXT_NODE\", 3);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"CDATA_SECTION_NODE\", 4);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"ENTITY_REFERENCE_NODE\", 5);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"ENTITY_NODE\", 6);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"PROCESSING_INSTRUCTION_NODE\", 7);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"COMMENT_NODE\", 8);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_NODE\", 9);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_TYPE_NODE\", 10);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_FRAGMENT_NODE\", 11);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"NOTATION_NODE\", 12);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_POSITION_DISCONNECTED\", 0x01);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_POSITION_PRECEDING\", 0x02);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_POSITION_FOLLOWING\", 0x04);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_POSITION_CONTAINS\", 0x08);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_POSITION_CONTAINED_BY\", 0x10);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC\", 0x20);\n//# sourceMappingURL=NodeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar TraverserImpl_1 = require(\"./TraverserImpl\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents an object which can be used to iterate through the nodes\n * of a subtree.\n */\nvar NodeIteratorImpl = /** @class */ (function (_super) {\n __extends(NodeIteratorImpl, _super);\n /**\n * Initializes a new instance of `NodeIterator`.\n */\n function NodeIteratorImpl(root, reference, pointerBeforeReference) {\n var _this = _super.call(this, root) || this;\n _this._iteratorCollection = undefined;\n _this._reference = reference;\n _this._pointerBeforeReference = pointerBeforeReference;\n algorithm_1.nodeIterator_iteratorList().add(_this);\n return _this;\n }\n Object.defineProperty(NodeIteratorImpl.prototype, \"referenceNode\", {\n /** @inheritdoc */\n get: function () { return this._reference; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeIteratorImpl.prototype, \"pointerBeforeReferenceNode\", {\n /** @inheritdoc */\n get: function () { return this._pointerBeforeReference; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n NodeIteratorImpl.prototype.nextNode = function () {\n /**\n * The nextNode() method, when invoked, must return the result of\n * traversing with the context object and next.\n */\n return algorithm_1.nodeIterator_traverse(this, true);\n };\n /** @inheritdoc */\n NodeIteratorImpl.prototype.previousNode = function () {\n /**\n * The previousNode() method, when invoked, must return the result of\n * traversing with the context object and previous.\n */\n return algorithm_1.nodeIterator_traverse(this, false);\n };\n /** @inheritdoc */\n NodeIteratorImpl.prototype.detach = function () {\n /**\n * The detach() method, when invoked, must do nothing.\n *\n * since JS lacks weak references, we still use detach\n */\n algorithm_1.nodeIterator_iteratorList().delete(this);\n };\n /**\n * Creates a new `NodeIterator`.\n *\n * @param root - iterator's root node\n * @param reference - reference node\n * @param pointerBeforeReference - whether the iterator is before or after the\n * reference node\n */\n NodeIteratorImpl._create = function (root, reference, pointerBeforeReference) {\n return new NodeIteratorImpl(root, reference, pointerBeforeReference);\n };\n return NodeIteratorImpl;\n}(TraverserImpl_1.TraverserImpl));\nexports.NodeIteratorImpl = NodeIteratorImpl;\n//# sourceMappingURL=NodeIteratorImpl.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar util_1 = require(\"@oozcitak/util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents an ordered set of nodes.\n */\nvar NodeListImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `NodeList`.\n *\n * @param root - root node\n */\n function NodeListImpl(root) {\n this._live = true;\n this._filter = null;\n this._length = 0;\n this._root = root;\n return new Proxy(this, this);\n }\n Object.defineProperty(NodeListImpl.prototype, \"length\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The length attribute must return the number of nodes represented\n * by the collection.\n */\n return this._root._children.size;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n NodeListImpl.prototype.item = function (index) {\n /**\n * The item(index) method must return the indexth node in the collection.\n * If there is no indexth node in the collection, then the method must\n * return null.\n */\n if (index < 0 || index > this.length - 1)\n return null;\n if (index < this.length / 2) {\n var i = 0;\n var node = this._root._firstChild;\n while (node !== null && i !== index) {\n node = node._nextSibling;\n i++;\n }\n return node;\n }\n else {\n var i = this.length - 1;\n var node = this._root._lastChild;\n while (node !== null && i !== index) {\n node = node._previousSibling;\n i--;\n }\n return node;\n }\n };\n /** @inheritdoc */\n NodeListImpl.prototype.keys = function () {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var index = 0;\n return {\n next: function () {\n if (index === this.length) {\n return { done: true, value: null };\n }\n else {\n return { done: false, value: index++ };\n }\n }.bind(this)\n };\n }.bind(this),\n _a;\n };\n /** @inheritdoc */\n NodeListImpl.prototype.values = function () {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var it = this[Symbol.iterator]();\n return {\n next: function () {\n return it.next();\n }\n };\n }.bind(this),\n _a;\n };\n /** @inheritdoc */\n NodeListImpl.prototype.entries = function () {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var it = this[Symbol.iterator]();\n var index = 0;\n return {\n next: function () {\n var itResult = it.next();\n if (itResult.done) {\n return { done: true, value: null };\n }\n else {\n return { done: false, value: [index++, itResult.value] };\n }\n }\n };\n }.bind(this),\n _a;\n };\n /** @inheritdoc */\n NodeListImpl.prototype[Symbol.iterator] = function () {\n return this._root._children[Symbol.iterator]();\n };\n /** @inheritdoc */\n NodeListImpl.prototype.forEach = function (callback, thisArg) {\n var e_1, _a;\n if (thisArg === undefined) {\n thisArg = DOMImpl_1.dom.window;\n }\n var index = 0;\n try {\n for (var _b = __values(this._root._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node = _c.value;\n callback.call(thisArg, node, index++, this);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n };\n /**\n * Implements a proxy get trap to provide array-like access.\n */\n NodeListImpl.prototype.get = function (target, key, receiver) {\n if (!util_1.isString(key)) {\n return Reflect.get(target, key, receiver);\n }\n var index = Number(key);\n if (isNaN(index)) {\n return Reflect.get(target, key, receiver);\n }\n return target.item(index) || undefined;\n };\n /**\n * Implements a proxy set trap to provide array-like access.\n */\n NodeListImpl.prototype.set = function (target, key, value, receiver) {\n if (!util_1.isString(key)) {\n return Reflect.set(target, key, value, receiver);\n }\n var index = Number(key);\n if (isNaN(index)) {\n return Reflect.set(target, key, value, receiver);\n }\n var node = target.item(index) || undefined;\n if (!node)\n return false;\n if (node._parent) {\n algorithm_1.mutation_replace(node, value, node._parent);\n return true;\n }\n else {\n return false;\n }\n };\n /**\n * Creates a new `NodeList`.\n *\n * @param root - root node\n */\n NodeListImpl._create = function (root) {\n return new NodeListImpl(root);\n };\n return NodeListImpl;\n}());\nexports.NodeListImpl = NodeListImpl;\n//# sourceMappingURL=NodeListImpl.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Represents an ordered list of nodes.\n * This is a static implementation of `NodeList`.\n */\nvar NodeListStaticImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `NodeList`.\n *\n * @param root - root node\n */\n function NodeListStaticImpl(root) {\n this._live = false;\n this._items = [];\n this._length = 0;\n this._root = root;\n this._items = [];\n this._filter = function (node) { return true; };\n return new Proxy(this, this);\n }\n Object.defineProperty(NodeListStaticImpl.prototype, \"length\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The length attribute must return the number of nodes represented by\n * the collection.\n */\n return this._items.length;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n NodeListStaticImpl.prototype.item = function (index) {\n /**\n * The item(index) method must return the indexth node in the collection.\n * If there is no indexth node in the collection, then the method must\n * return null.\n */\n if (index < 0 || index > this.length - 1)\n return null;\n return this._items[index];\n };\n /** @inheritdoc */\n NodeListStaticImpl.prototype.keys = function () {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var index = 0;\n return {\n next: function () {\n if (index === this.length) {\n return { done: true, value: null };\n }\n else {\n return { done: false, value: index++ };\n }\n }.bind(this)\n };\n }.bind(this),\n _a;\n };\n /** @inheritdoc */\n NodeListStaticImpl.prototype.values = function () {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var it = this[Symbol.iterator]();\n return {\n next: function () {\n return it.next();\n }\n };\n }.bind(this),\n _a;\n };\n /** @inheritdoc */\n NodeListStaticImpl.prototype.entries = function () {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var it = this[Symbol.iterator]();\n var index = 0;\n return {\n next: function () {\n var itResult = it.next();\n if (itResult.done) {\n return { done: true, value: null };\n }\n else {\n return { done: false, value: [index++, itResult.value] };\n }\n }\n };\n }.bind(this),\n _a;\n };\n /** @inheritdoc */\n NodeListStaticImpl.prototype[Symbol.iterator] = function () {\n var it = this._items[Symbol.iterator]();\n return {\n next: function () {\n return it.next();\n }\n };\n };\n /** @inheritdoc */\n NodeListStaticImpl.prototype.forEach = function (callback, thisArg) {\n var e_1, _a;\n if (thisArg === undefined) {\n thisArg = DOMImpl_1.dom.window;\n }\n var index = 0;\n try {\n for (var _b = __values(this._items), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node = _c.value;\n callback.call(thisArg, node, index++, this);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n };\n /**\n * Implements a proxy get trap to provide array-like access.\n */\n NodeListStaticImpl.prototype.get = function (target, key, receiver) {\n if (!util_1.isString(key)) {\n return Reflect.get(target, key, receiver);\n }\n var index = Number(key);\n if (isNaN(index)) {\n return Reflect.get(target, key, receiver);\n }\n return target._items[index] || undefined;\n };\n /**\n * Implements a proxy set trap to provide array-like access.\n */\n NodeListStaticImpl.prototype.set = function (target, key, value, receiver) {\n if (!util_1.isString(key)) {\n return Reflect.set(target, key, value, receiver);\n }\n var index = Number(key);\n if (isNaN(index)) {\n return Reflect.set(target, key, value, receiver);\n }\n if (index >= 0 && index < target._items.length) {\n target._items[index] = value;\n return true;\n }\n else {\n return false;\n }\n };\n /**\n * Creates a new `NodeList`.\n *\n * @param root - root node\n * @param items - a list of items to initialize the list\n */\n NodeListStaticImpl._create = function (root, items) {\n var list = new NodeListStaticImpl(root);\n list._items = items;\n return list;\n };\n return NodeListStaticImpl;\n}());\nexports.NodeListStaticImpl = NodeListStaticImpl;\n//# sourceMappingURL=NodeListStaticImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../util\");\n/**\n * Represents a mixin that extends child nodes that can have siblings\n * other than doctypes. This mixin is implemented by {@link Element} and\n * {@link CharacterData}.\n */\nvar NonDocumentTypeChildNodeImpl = /** @class */ (function () {\n function NonDocumentTypeChildNodeImpl() {\n }\n Object.defineProperty(NonDocumentTypeChildNodeImpl.prototype, \"previousElementSibling\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The previousElementSibling attribute’s getter must return the first\n * preceding sibling that is an element, and null otherwise.\n */\n var node = util_1.Cast.asNode(this)._previousSibling;\n while (node) {\n if (util_1.Guard.isElementNode(node))\n return node;\n else\n node = node._previousSibling;\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NonDocumentTypeChildNodeImpl.prototype, \"nextElementSibling\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The nextElementSibling attribute’s getter must return the first\n * following sibling that is an element, and null otherwise.\n */\n var node = util_1.Cast.asNode(this)._nextSibling;\n while (node) {\n if (util_1.Guard.isElementNode(node))\n return node;\n else\n node = node._nextSibling;\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n return NonDocumentTypeChildNodeImpl;\n}());\nexports.NonDocumentTypeChildNodeImpl = NonDocumentTypeChildNodeImpl;\n//# sourceMappingURL=NonDocumentTypeChildNodeImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a mixin that extends non-element parent nodes. This mixin\n * is implemented by {@link Document} and {@link DocumentFragment}.\n */\nvar NonElementParentNodeImpl = /** @class */ (function () {\n function NonElementParentNodeImpl() {\n }\n /** @inheritdoc */\n NonElementParentNodeImpl.prototype.getElementById = function (id) {\n /**\n * The getElementById(elementId) method, when invoked, must return the first\n * element, in tree order, within the context object’s descendants,\n * whose ID is elementId, and null if there is no such element otherwise.\n */\n var ele = algorithm_1.tree_getFirstDescendantNode(util_1.Cast.asNode(this), false, false, function (e) { return util_1.Guard.isElementNode(e); });\n while (ele !== null) {\n if (ele._uniqueIdentifier === id) {\n return ele;\n }\n ele = algorithm_1.tree_getNextDescendantNode(util_1.Cast.asNode(this), ele, false, false, function (e) { return util_1.Guard.isElementNode(e); });\n }\n return null;\n };\n return NonElementParentNodeImpl;\n}());\nexports.NonElementParentNodeImpl = NonElementParentNodeImpl;\n//# sourceMappingURL=NonElementParentNodeImpl.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a mixin that extends parent nodes that can have children.\n * This mixin is implemented by {@link Element}, {@link Document} and\n * {@link DocumentFragment}.\n */\nvar ParentNodeImpl = /** @class */ (function () {\n function ParentNodeImpl() {\n }\n Object.defineProperty(ParentNodeImpl.prototype, \"children\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The children attribute’s getter must return an HTMLCollection collection\n * rooted at context object matching only element children.\n */\n return algorithm_1.create_htmlCollection(util_1.Cast.asNode(this));\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ParentNodeImpl.prototype, \"firstElementChild\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The firstElementChild attribute’s getter must return the first child\n * that is an element, and null otherwise.\n */\n var node = util_1.Cast.asNode(this)._firstChild;\n while (node) {\n if (util_1.Guard.isElementNode(node))\n return node;\n else\n node = node._nextSibling;\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ParentNodeImpl.prototype, \"lastElementChild\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The lastElementChild attribute’s getter must return the last child that\n * is an element, and null otherwise.\n */\n var node = util_1.Cast.asNode(this)._lastChild;\n while (node) {\n if (util_1.Guard.isElementNode(node))\n return node;\n else\n node = node._previousSibling;\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ParentNodeImpl.prototype, \"childElementCount\", {\n /** @inheritdoc */\n get: function () {\n var e_1, _a;\n /**\n * The childElementCount attribute’s getter must return the number of\n * children of context object that are elements.\n */\n var count = 0;\n try {\n for (var _b = __values(util_1.Cast.asNode(this)._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n if (util_1.Guard.isElementNode(childNode))\n count++;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return count;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n ParentNodeImpl.prototype.prepend = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n /**\n * 1. Let node be the result of converting nodes into a node given nodes\n * and context object’s node document.\n * 2. Pre-insert node into context object before the context object’s first\n * child.\n */\n var node = util_1.Cast.asNode(this);\n var childNode = algorithm_1.parentNode_convertNodesIntoANode(nodes, node._nodeDocument);\n algorithm_1.mutation_preInsert(childNode, node, node._firstChild);\n };\n /** @inheritdoc */\n ParentNodeImpl.prototype.append = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n /**\n * 1. Let node be the result of converting nodes into a node given nodes\n * and context object’s node document.\n * 2. Append node to context object.\n */\n var node = util_1.Cast.asNode(this);\n var childNode = algorithm_1.parentNode_convertNodesIntoANode(nodes, node._nodeDocument);\n algorithm_1.mutation_append(childNode, node);\n };\n /** @inheritdoc */\n ParentNodeImpl.prototype.querySelector = function (selectors) {\n /**\n * The querySelector(selectors) method, when invoked, must return the first\n * result of running scope-match a selectors string selectors against\n * context object, if the result is not an empty list, and null otherwise.\n */\n var node = util_1.Cast.asNode(this);\n var result = algorithm_1.selectors_scopeMatchASelectorsString(selectors, node);\n return (result.length === 0 ? null : result[0]);\n };\n /** @inheritdoc */\n ParentNodeImpl.prototype.querySelectorAll = function (selectors) {\n /**\n * The querySelectorAll(selectors) method, when invoked, must return the\n * static result of running scope-match a selectors string selectors against\n * context object.\n */\n var node = util_1.Cast.asNode(this);\n var result = algorithm_1.selectors_scopeMatchASelectorsString(selectors, node);\n return algorithm_1.create_nodeListStatic(node, result);\n };\n return ParentNodeImpl;\n}());\nexports.ParentNodeImpl = ParentNodeImpl;\n//# sourceMappingURL=ParentNodeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar CharacterDataImpl_1 = require(\"./CharacterDataImpl\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a processing instruction node.\n */\nvar ProcessingInstructionImpl = /** @class */ (function (_super) {\n __extends(ProcessingInstructionImpl, _super);\n /**\n * Initializes a new instance of `ProcessingInstruction`.\n */\n function ProcessingInstructionImpl(target, data) {\n var _this = _super.call(this, data) || this;\n _this._target = target;\n return _this;\n }\n Object.defineProperty(ProcessingInstructionImpl.prototype, \"target\", {\n /**\n * Gets the target of the {@link ProcessingInstruction} node.\n */\n get: function () { return this._target; },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new `ProcessingInstruction`.\n *\n * @param document - owner document\n * @param target - instruction target\n * @param data - node contents\n */\n ProcessingInstructionImpl._create = function (document, target, data) {\n var node = new ProcessingInstructionImpl(target, data);\n node._nodeDocument = document;\n return node;\n };\n return ProcessingInstructionImpl;\n}(CharacterDataImpl_1.CharacterDataImpl));\nexports.ProcessingInstructionImpl = ProcessingInstructionImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(ProcessingInstructionImpl.prototype, \"_nodeType\", interfaces_1.NodeType.ProcessingInstruction);\n//# sourceMappingURL=ProcessingInstructionImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar interfaces_1 = require(\"./interfaces\");\nvar AbstractRangeImpl_1 = require(\"./AbstractRangeImpl\");\nvar DOMException_1 = require(\"./DOMException\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\nvar util_1 = require(\"../util\");\n/**\n * Represents a live range.\n */\nvar RangeImpl = /** @class */ (function (_super) {\n __extends(RangeImpl, _super);\n /**\n * Initializes a new instance of `Range`.\n */\n function RangeImpl() {\n var _this = _super.call(this) || this;\n /**\n * The Range() constructor, when invoked, must return a new live range with\n * (current global object’s associated Document, 0) as its start and end.\n */\n var doc = DOMImpl_1.dom.window._associatedDocument;\n _this._start = [doc, 0];\n _this._end = [doc, 0];\n DOMImpl_1.dom.rangeList.add(_this);\n return _this;\n }\n Object.defineProperty(RangeImpl.prototype, \"commonAncestorContainer\", {\n /** @inheritdoc */\n get: function () {\n /**\n * 1. Let container be start node.\n * 2. While container is not an inclusive ancestor of end node, let\n * container be container’s parent.\n * 3. Return container.\n */\n var container = this._start[0];\n while (!algorithm_1.tree_isAncestorOf(this._end[0], container, true)) {\n if (container._parent === null) {\n throw new Error(\"Parent node is null.\");\n }\n container = container._parent;\n }\n return container;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n RangeImpl.prototype.setStart = function (node, offset) {\n /**\n * The setStart(node, offset) method, when invoked, must set the start of\n * context object to boundary point (node, offset).\n */\n algorithm_1.range_setTheStart(this, node, offset);\n };\n /** @inheritdoc */\n RangeImpl.prototype.setEnd = function (node, offset) {\n /**\n * The setEnd(node, offset) method, when invoked, must set the end of\n * context object to boundary point (node, offset).\n */\n algorithm_1.range_setTheEnd(this, node, offset);\n };\n /** @inheritdoc */\n RangeImpl.prototype.setStartBefore = function (node) {\n /**\n * 1. Let parent be node’s parent.\n * 2. If parent is null, then throw an \"InvalidNodeTypeError\" DOMException.\n * 3. Set the start of the context object to boundary point\n * (parent, node’s index).\n */\n var parent = node._parent;\n if (parent === null)\n throw new DOMException_1.InvalidNodeTypeError();\n algorithm_1.range_setTheStart(this, parent, algorithm_1.tree_index(node));\n };\n /** @inheritdoc */\n RangeImpl.prototype.setStartAfter = function (node) {\n /**\n * 1. Let parent be node’s parent.\n * 2. If parent is null, then throw an \"InvalidNodeTypeError\" DOMException.\n * 3. Set the start of the context object to boundary point\n * (parent, node’s index plus 1).\n */\n var parent = node._parent;\n if (parent === null)\n throw new DOMException_1.InvalidNodeTypeError();\n algorithm_1.range_setTheStart(this, parent, algorithm_1.tree_index(node) + 1);\n };\n /** @inheritdoc */\n RangeImpl.prototype.setEndBefore = function (node) {\n /**\n * 1. Let parent be node’s parent.\n * 2. If parent is null, then throw an \"InvalidNodeTypeError\" DOMException.\n * 3. Set the end of the context object to boundary point\n * (parent, node’s index).\n */\n var parent = node._parent;\n if (parent === null)\n throw new DOMException_1.InvalidNodeTypeError();\n algorithm_1.range_setTheEnd(this, parent, algorithm_1.tree_index(node));\n };\n /** @inheritdoc */\n RangeImpl.prototype.setEndAfter = function (node) {\n /**\n * 1. Let parent be node’s parent.\n * 2. If parent is null, then throw an \"InvalidNodeTypeError\" DOMException.\n * 3. Set the end of the context object to boundary point\n * (parent, node’s index plus 1).\n */\n var parent = node._parent;\n if (parent === null)\n throw new DOMException_1.InvalidNodeTypeError();\n algorithm_1.range_setTheEnd(this, parent, algorithm_1.tree_index(node) + 1);\n };\n /** @inheritdoc */\n RangeImpl.prototype.collapse = function (toStart) {\n /**\n * The collapse(toStart) method, when invoked, must if toStart is true,\n * set end to start, and set start to end otherwise.\n */\n if (toStart) {\n this._end = this._start;\n }\n else {\n this._start = this._end;\n }\n };\n /** @inheritdoc */\n RangeImpl.prototype.selectNode = function (node) {\n /**\n * The selectNode(node) method, when invoked, must select node within\n * context object.\n */\n algorithm_1.range_select(node, this);\n };\n /** @inheritdoc */\n RangeImpl.prototype.selectNodeContents = function (node) {\n /**\n * 1. If node is a doctype, throw an \"InvalidNodeTypeError\" DOMException.\n * 2. Let length be the length of node.\n * 3. Set start to the boundary point (node, 0).\n * 4. Set end to the boundary point (node, length).\n */\n if (util_1.Guard.isDocumentTypeNode(node))\n throw new DOMException_1.InvalidNodeTypeError();\n var length = algorithm_1.tree_nodeLength(node);\n this._start = [node, 0];\n this._end = [node, length];\n };\n /** @inheritdoc */\n RangeImpl.prototype.compareBoundaryPoints = function (how, sourceRange) {\n /**\n * 1. If how is not one of\n * - START_TO_START,\n * - START_TO_END,\n * - END_TO_END, and\n * - END_TO_START,\n * then throw a \"NotSupportedError\" DOMException.\n */\n if (how !== interfaces_1.HowToCompare.StartToStart && how !== interfaces_1.HowToCompare.StartToEnd &&\n how !== interfaces_1.HowToCompare.EndToEnd && how !== interfaces_1.HowToCompare.EndToStart)\n throw new DOMException_1.NotSupportedError();\n /**\n * 2. If context object’s root is not the same as sourceRange’s root,\n * then throw a \"WrongDocumentError\" DOMException.\n */\n if (algorithm_1.range_root(this) !== algorithm_1.range_root(sourceRange))\n throw new DOMException_1.WrongDocumentError();\n /**\n * 3. If how is:\n * - START_TO_START:\n * Let this point be the context object’s start. Let other point be\n * sourceRange’s start.\n * - START_TO_END:\n * Let this point be the context object’s end. Let other point be\n * sourceRange’s start.\n * - END_TO_END:\n * Let this point be the context object’s end. Let other point be\n * sourceRange’s end.\n * - END_TO_START:\n * Let this point be the context object’s start. Let other point be\n * sourceRange’s end.\n */\n var thisPoint;\n var otherPoint;\n switch (how) {\n case interfaces_1.HowToCompare.StartToStart:\n thisPoint = this._start;\n otherPoint = sourceRange._start;\n break;\n case interfaces_1.HowToCompare.StartToEnd:\n thisPoint = this._end;\n otherPoint = sourceRange._start;\n break;\n case interfaces_1.HowToCompare.EndToEnd:\n thisPoint = this._end;\n otherPoint = sourceRange._end;\n break;\n case interfaces_1.HowToCompare.EndToStart:\n thisPoint = this._start;\n otherPoint = sourceRange._end;\n break;\n /* istanbul ignore next */\n default:\n throw new DOMException_1.NotSupportedError();\n }\n /**\n * 4. If the position of this point relative to other point is\n * - before\n * Return −1.\n * - equal\n * Return 0.\n * - after\n * Return 1.\n */\n var position = algorithm_1.boundaryPoint_position(thisPoint, otherPoint);\n if (position === interfaces_1.BoundaryPosition.Before) {\n return -1;\n }\n else if (position === interfaces_1.BoundaryPosition.After) {\n return 1;\n }\n else {\n return 0;\n }\n };\n /** @inheritdoc */\n RangeImpl.prototype.deleteContents = function () {\n var e_1, _a, e_2, _b;\n /**\n * 1. If the context object is collapsed, then return.\n * 2. Let original start node, original start offset, original end node,\n * and original end offset be the context object’s start node,\n * start offset, end node, and end offset, respectively.\n */\n if (algorithm_1.range_collapsed(this))\n return;\n var originalStartNode = this._startNode;\n var originalStartOffset = this._startOffset;\n var originalEndNode = this._endNode;\n var originalEndOffset = this._endOffset;\n /**\n * 3. If original start node and original end node are the same, and they\n * are a Text, ProcessingInstruction, or Comment node, replace data with\n * node original start node, offset original start offset, count original\n * end offset minus original start offset, and data the empty string,\n * and then return.\n */\n if (originalStartNode === originalEndNode &&\n util_1.Guard.isCharacterDataNode(originalStartNode)) {\n algorithm_1.characterData_replaceData(originalStartNode, originalStartOffset, originalEndOffset - originalStartOffset, '');\n return;\n }\n /**\n * 4. Let nodes to remove be a list of all the nodes that are contained in\n * the context object, in tree order, omitting any node whose parent is also\n * contained in the context object.\n */\n var nodesToRemove = [];\n try {\n for (var _c = __values(algorithm_1.range_getContainedNodes(this)), _d = _c.next(); !_d.done; _d = _c.next()) {\n var node = _d.value;\n var parent = node._parent;\n if (parent !== null && algorithm_1.range_isContained(parent, this)) {\n continue;\n }\n nodesToRemove.push(node);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_1) throw e_1.error; }\n }\n var newNode;\n var newOffset;\n if (algorithm_1.tree_isAncestorOf(originalEndNode, originalStartNode, true)) {\n /**\n * 5. If original start node is an inclusive ancestor of original end\n * node, set new node to original start node and new offset to original\n * start offset.\n */\n newNode = originalStartNode;\n newOffset = originalStartOffset;\n }\n else {\n /**\n * 6. Otherwise:\n * 6.1. Let reference node equal original start node.\n * 6.2. While reference node’s parent is not null and is not an inclusive\n * ancestor of original end node, set reference node to its parent.\n * 6.3. Set new node to the parent of reference node, and new offset to\n * one plus the index of reference node.\n */\n var referenceNode = originalStartNode;\n while (referenceNode._parent !== null &&\n !algorithm_1.tree_isAncestorOf(originalEndNode, referenceNode._parent, true)) {\n referenceNode = referenceNode._parent;\n }\n /* istanbul ignore next */\n if (referenceNode._parent === null) {\n throw new Error(\"Parent node is null.\");\n }\n newNode = referenceNode._parent;\n newOffset = algorithm_1.tree_index(referenceNode) + 1;\n }\n /**\n * 7. If original start node is a Text, ProcessingInstruction, or Comment\n * node, replace data with node original start node, offset original start\n * offset, count original start node’s length minus original start offset,\n * data the empty string.\n */\n if (util_1.Guard.isCharacterDataNode(originalStartNode)) {\n algorithm_1.characterData_replaceData(originalStartNode, originalStartOffset, algorithm_1.tree_nodeLength(originalStartNode) - originalStartOffset, '');\n }\n try {\n /**\n * 8. For each node in nodes to remove, in tree order, remove node from its\n * parent.\n */\n for (var nodesToRemove_1 = __values(nodesToRemove), nodesToRemove_1_1 = nodesToRemove_1.next(); !nodesToRemove_1_1.done; nodesToRemove_1_1 = nodesToRemove_1.next()) {\n var node = nodesToRemove_1_1.value;\n /* istanbul ignore else */\n if (node._parent) {\n algorithm_1.mutation_remove(node, node._parent);\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (nodesToRemove_1_1 && !nodesToRemove_1_1.done && (_b = nodesToRemove_1.return)) _b.call(nodesToRemove_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n /**\n * 9. If original end node is a Text, ProcessingInstruction, or Comment\n * node, replace data with node original end node, offset 0, count original\n * end offset and data the empty string.\n */\n if (util_1.Guard.isCharacterDataNode(originalEndNode)) {\n algorithm_1.characterData_replaceData(originalEndNode, 0, originalEndOffset, '');\n }\n /**\n * 10. Set start and end to (new node, new offset).\n */\n this._start = [newNode, newOffset];\n this._end = [newNode, newOffset];\n };\n /** @inheritdoc */\n RangeImpl.prototype.extractContents = function () {\n /**\n * The extractContents() method, when invoked, must return the result of\n * extracting the context object.\n */\n return algorithm_1.range_extract(this);\n };\n /** @inheritdoc */\n RangeImpl.prototype.cloneContents = function () {\n /**\n * The cloneContents() method, when invoked, must return the result of\n * cloning the contents of the context object.\n */\n return algorithm_1.range_cloneTheContents(this);\n };\n /** @inheritdoc */\n RangeImpl.prototype.insertNode = function (node) {\n /**\n * The insertNode(node) method, when invoked, must insert node into the\n * context object.\n */\n return algorithm_1.range_insert(node, this);\n };\n /** @inheritdoc */\n RangeImpl.prototype.surroundContents = function (newParent) {\n var e_3, _a;\n try {\n /**\n * 1. If a non-Text node is partially contained in the context object, then\n * throw an \"InvalidStateError\" DOMException.\n */\n for (var _b = __values(algorithm_1.range_getPartiallyContainedNodes(this)), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node = _c.value;\n if (!util_1.Guard.isTextNode(node)) {\n throw new DOMException_1.InvalidStateError();\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_3) throw e_3.error; }\n }\n /**\n * 2. If newParent is a Document, DocumentType, or DocumentFragment node,\n * then throw an \"InvalidNodeTypeError\" DOMException.\n */\n if (util_1.Guard.isDocumentNode(newParent) ||\n util_1.Guard.isDocumentTypeNode(newParent) ||\n util_1.Guard.isDocumentFragmentNode(newParent)) {\n throw new DOMException_1.InvalidNodeTypeError();\n }\n /**\n * 3. Let fragment be the result of extracting the context object.\n */\n var fragment = algorithm_1.range_extract(this);\n /**\n * 4. If newParent has children, then replace all with null within newParent.\n */\n if ((newParent)._children.size !== 0) {\n algorithm_1.mutation_replaceAll(null, newParent);\n }\n /**\n * 5. Insert newParent into the context object.\n * 6. Append fragment to newParent.\n */\n algorithm_1.range_insert(newParent, this);\n algorithm_1.mutation_append(fragment, newParent);\n /**\n * 7. Select newParent within the context object.\n */\n algorithm_1.range_select(newParent, this);\n };\n /** @inheritdoc */\n RangeImpl.prototype.cloneRange = function () {\n /**\n * The cloneRange() method, when invoked, must return a new live range with\n * the same start and end as the context object.\n */\n return algorithm_1.create_range(this._start, this._end);\n };\n /** @inheritdoc */\n RangeImpl.prototype.detach = function () {\n /**\n * The detach() method, when invoked, must do nothing.\n *\n * since JS lacks weak references, we still use detach\n */\n DOMImpl_1.dom.rangeList.delete(this);\n };\n /** @inheritdoc */\n RangeImpl.prototype.isPointInRange = function (node, offset) {\n /**\n * 1. If node’s root is different from the context object’s root, return false.\n */\n if (algorithm_1.tree_rootNode(node) !== algorithm_1.range_root(this)) {\n return false;\n }\n /**\n * 2. If node is a doctype, then throw an \"InvalidNodeTypeError\" DOMException.\n * 3. If offset is greater than node’s length, then throw an\n * \"IndexSizeError\" DOMException.\n */\n if (util_1.Guard.isDocumentTypeNode(node))\n throw new DOMException_1.InvalidNodeTypeError();\n if (offset > algorithm_1.tree_nodeLength(node))\n throw new DOMException_1.IndexSizeError();\n /**\n * 4. If (node, offset) is before start or after end, return false.\n */\n var bp = [node, offset];\n if (algorithm_1.boundaryPoint_position(bp, this._start) === interfaces_1.BoundaryPosition.Before ||\n algorithm_1.boundaryPoint_position(bp, this._end) === interfaces_1.BoundaryPosition.After) {\n return false;\n }\n /**\n * 5. Return true.\n */\n return true;\n };\n /** @inheritdoc */\n RangeImpl.prototype.comparePoint = function (node, offset) {\n /**\n * 1. If node’s root is different from the context object’s root, then throw\n * a \"WrongDocumentError\" DOMException.\n * 2. If node is a doctype, then throw an \"InvalidNodeTypeError\" DOMException.\n * 3. If offset is greater than node’s length, then throw an\n * \"IndexSizeError\" DOMException.\n */\n if (algorithm_1.tree_rootNode(node) !== algorithm_1.range_root(this))\n throw new DOMException_1.WrongDocumentError();\n if (util_1.Guard.isDocumentTypeNode(node))\n throw new DOMException_1.InvalidNodeTypeError();\n if (offset > algorithm_1.tree_nodeLength(node))\n throw new DOMException_1.IndexSizeError();\n /**\n * 4. If (node, offset) is before start, return −1.\n * 5. If (node, offset) is after end, return 1.\n * 6. Return 0.\n */\n var bp = [node, offset];\n if (algorithm_1.boundaryPoint_position(bp, this._start) === interfaces_1.BoundaryPosition.Before) {\n return -1;\n }\n else if (algorithm_1.boundaryPoint_position(bp, this._end) === interfaces_1.BoundaryPosition.After) {\n return 1;\n }\n else {\n return 0;\n }\n };\n /** @inheritdoc */\n RangeImpl.prototype.intersectsNode = function (node) {\n /**\n * 1. If node’s root is different from the context object’s root, return false.\n */\n if (algorithm_1.tree_rootNode(node) !== algorithm_1.range_root(this)) {\n return false;\n }\n /**\n * 2. Let parent be node’s parent.\n * 3. If parent is null, return true.\n */\n var parent = node._parent;\n if (parent === null)\n return true;\n /**\n * 4. Let offset be node’s index.\n */\n var offset = algorithm_1.tree_index(node);\n /**\n * 5. If (parent, offset) is before end and (parent, offset plus 1) is\n * after start, return true.\n */\n if (algorithm_1.boundaryPoint_position([parent, offset], this._end) === interfaces_1.BoundaryPosition.Before &&\n algorithm_1.boundaryPoint_position([parent, offset + 1], this._start) === interfaces_1.BoundaryPosition.After) {\n return true;\n }\n /**\n * 6. Return false.\n */\n return false;\n };\n RangeImpl.prototype.toString = function () {\n var e_4, _a;\n /**\n * 1. Let s be the empty string.\n */\n var s = '';\n /**\n * 2. If the context object’s start node is the context object’s end node\n * and it is a Text node, then return the substring of that Text node’s data\n * beginning at the context object’s start offset and ending at the context\n * object’s end offset.\n */\n if (this._startNode === this._endNode && util_1.Guard.isTextNode(this._startNode)) {\n return this._startNode._data.substring(this._startOffset, this._endOffset);\n }\n /**\n * 3. If the context object’s start node is a Text node, then append the\n * substring of that node’s data from the context object’s start offset\n * until the end to s.\n */\n if (util_1.Guard.isTextNode(this._startNode)) {\n s += this._startNode._data.substring(this._startOffset);\n }\n try {\n /**\n * 4. Append the concatenation of the data of all Text nodes that are\n * contained in the context object, in tree order, to s.\n */\n for (var _b = __values(algorithm_1.range_getContainedNodes(this)), _c = _b.next(); !_c.done; _c = _b.next()) {\n var child = _c.value;\n if (util_1.Guard.isTextNode(child)) {\n s += child._data;\n }\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_4) throw e_4.error; }\n }\n /**\n * 5. If the context object’s end node is a Text node, then append the\n * substring of that node’s data from its start until the context object’s\n * end offset to s.\n */\n if (util_1.Guard.isTextNode(this._endNode)) {\n s += this._endNode._data.substring(0, this._endOffset);\n }\n /**\n * 6. Return s.\n */\n return s;\n };\n /**\n * Creates a new `Range`.\n *\n * @param start - start point\n * @param end - end point\n */\n RangeImpl._create = function (start, end) {\n var range = new RangeImpl();\n if (start)\n range._start = start;\n if (end)\n range._end = end;\n return range;\n };\n RangeImpl.START_TO_START = 0;\n RangeImpl.START_TO_END = 1;\n RangeImpl.END_TO_END = 2;\n RangeImpl.END_TO_START = 3;\n return RangeImpl;\n}(AbstractRangeImpl_1.AbstractRangeImpl));\nexports.RangeImpl = RangeImpl;\n/**\n * Define constants on prototype.\n */\nWebIDLAlgorithm_1.idl_defineConst(RangeImpl.prototype, \"START_TO_START\", 0);\nWebIDLAlgorithm_1.idl_defineConst(RangeImpl.prototype, \"START_TO_END\", 1);\nWebIDLAlgorithm_1.idl_defineConst(RangeImpl.prototype, \"END_TO_END\", 2);\nWebIDLAlgorithm_1.idl_defineConst(RangeImpl.prototype, \"END_TO_START\", 3);\n//# sourceMappingURL=RangeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DocumentFragmentImpl_1 = require(\"./DocumentFragmentImpl\");\nvar util_1 = require(\"@oozcitak/util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a shadow root.\n */\nvar ShadowRootImpl = /** @class */ (function (_super) {\n __extends(ShadowRootImpl, _super);\n /**\n * Initializes a new instance of `ShadowRoot`.\n *\n * @param host - shadow root's host element\n * @param mode - shadow root's mode\n */\n function ShadowRootImpl(host, mode) {\n var _this = _super.call(this) || this;\n _this._host = host;\n _this._mode = mode;\n return _this;\n }\n Object.defineProperty(ShadowRootImpl.prototype, \"mode\", {\n /** @inheritdoc */\n get: function () { return this._mode; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ShadowRootImpl.prototype, \"host\", {\n /** @inheritdoc */\n get: function () { return this._host; },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the parent event target for the given event.\n *\n * @param event - an event\n */\n ShadowRootImpl.prototype._getTheParent = function (event) {\n /**\n * A shadow root’s get the parent algorithm, given an event, returns null\n * if event’s composed flag is unset and shadow root is the root of\n * event’s path’s first struct’s invocation target, and shadow root’s host\n * otherwise.\n */\n if (!event._composedFlag && !util_1.isEmpty(event._path) &&\n algorithm_1.tree_rootNode(event._path[0].invocationTarget) === this) {\n return null;\n }\n else {\n return this._host;\n }\n };\n // MIXIN: DocumentOrShadowRoot\n // No elements\n /**\n * Creates a new `ShadowRoot`.\n *\n * @param document - owner document\n * @param host - shadow root's host element\n */\n ShadowRootImpl._create = function (document, host) {\n return new ShadowRootImpl(host, \"closed\");\n };\n return ShadowRootImpl;\n}(DocumentFragmentImpl_1.DocumentFragmentImpl));\nexports.ShadowRootImpl = ShadowRootImpl;\n//# sourceMappingURL=ShadowRootImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a mixin that allows nodes to become the contents of\n * a element. This mixin is implemented by {@link Element} and\n * {@link Text}.\n */\nvar SlotableImpl = /** @class */ (function () {\n function SlotableImpl() {\n }\n Object.defineProperty(SlotableImpl.prototype, \"_name\", {\n get: function () { return this.__name || ''; },\n set: function (val) { this.__name = val; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SlotableImpl.prototype, \"_assignedSlot\", {\n get: function () { return this.__assignedSlot || null; },\n set: function (val) { this.__assignedSlot = val; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SlotableImpl.prototype, \"assignedSlot\", {\n /** @inheritdoc */\n get: function () {\n return algorithm_1.shadowTree_findASlot(this, true);\n },\n enumerable: true,\n configurable: true\n });\n return SlotableImpl;\n}());\nexports.SlotableImpl = SlotableImpl;\n//# sourceMappingURL=SlotableImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar AbstractRangeImpl_1 = require(\"./AbstractRangeImpl\");\nvar DOMException_1 = require(\"./DOMException\");\nvar util_1 = require(\"../util\");\n/**\n * Represents a static range.\n */\nvar StaticRangeImpl = /** @class */ (function (_super) {\n __extends(StaticRangeImpl, _super);\n /**\n * Initializes a new instance of `StaticRange`.\n */\n function StaticRangeImpl(init) {\n var _this = _super.call(this) || this;\n /**\n * 1. If init’s startContainer or endContainer is a DocumentType or Attr\n * node, then throw an \"InvalidNodeTypeError\" DOMException.\n * 2. Let staticRange be a new StaticRange object.\n * 3. Set staticRange’s start to (init’s startContainer, init’s startOffset)\n * and end to (init’s endContainer, init’s endOffset).\n * 4. Return staticRange.\n */\n if (util_1.Guard.isDocumentTypeNode(init.startContainer) || util_1.Guard.isAttrNode(init.startContainer) ||\n util_1.Guard.isDocumentTypeNode(init.endContainer) || util_1.Guard.isAttrNode(init.endContainer)) {\n throw new DOMException_1.InvalidNodeTypeError();\n }\n _this._start = [init.startContainer, init.startOffset];\n _this._end = [init.endContainer, init.endOffset];\n return _this;\n }\n return StaticRangeImpl;\n}(AbstractRangeImpl_1.AbstractRangeImpl));\nexports.StaticRangeImpl = StaticRangeImpl;\n//# sourceMappingURL=StaticRangeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar CharacterDataImpl_1 = require(\"./CharacterDataImpl\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a text node.\n */\nvar TextImpl = /** @class */ (function (_super) {\n __extends(TextImpl, _super);\n /**\n * Initializes a new instance of `Text`.\n *\n * @param data - the text content\n */\n function TextImpl(data) {\n if (data === void 0) { data = ''; }\n var _this = _super.call(this, data) || this;\n _this._name = '';\n _this._assignedSlot = null;\n return _this;\n }\n Object.defineProperty(TextImpl.prototype, \"wholeText\", {\n /** @inheritdoc */\n get: function () {\n var e_1, _a;\n /**\n * The wholeText attribute’s getter must return the concatenation of the\n * data of the contiguous Text nodes of the context object, in tree order.\n */\n var text = '';\n try {\n for (var _b = __values(algorithm_1.text_contiguousTextNodes(this, true)), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node = _c.value;\n text = text + node._data;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return text;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n TextImpl.prototype.splitText = function (offset) {\n /**\n * The splitText(offset) method, when invoked, must split context object\n * with offset offset.\n */\n return algorithm_1.text_split(this, offset);\n };\n Object.defineProperty(TextImpl.prototype, \"assignedSlot\", {\n // MIXIN: Slotable\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: Slotable not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a `Text`.\n *\n * @param document - owner document\n * @param data - the text content\n */\n TextImpl._create = function (document, data) {\n if (data === void 0) { data = ''; }\n var node = new TextImpl(data);\n node._nodeDocument = document;\n return node;\n };\n return TextImpl;\n}(CharacterDataImpl_1.CharacterDataImpl));\nexports.TextImpl = TextImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(TextImpl.prototype, \"_nodeType\", interfaces_1.NodeType.Text);\n//# sourceMappingURL=TextImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\n/**\n * Represents an object which can be used to iterate through the nodes\n * of a subtree.\n */\nvar TraverserImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `Traverser`.\n *\n * @param root - root node\n */\n function TraverserImpl(root) {\n this._activeFlag = false;\n this._root = root;\n this._whatToShow = interfaces_1.WhatToShow.All;\n this._filter = null;\n }\n Object.defineProperty(TraverserImpl.prototype, \"root\", {\n /** @inheritdoc */\n get: function () { return this._root; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(TraverserImpl.prototype, \"whatToShow\", {\n /** @inheritdoc */\n get: function () { return this._whatToShow; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(TraverserImpl.prototype, \"filter\", {\n /** @inheritdoc */\n get: function () { return this._filter; },\n enumerable: true,\n configurable: true\n });\n return TraverserImpl;\n}());\nexports.TraverserImpl = TraverserImpl;\n//# sourceMappingURL=TraverserImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar TraverserImpl_1 = require(\"./TraverserImpl\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents the nodes of a subtree and a position within them.\n */\nvar TreeWalkerImpl = /** @class */ (function (_super) {\n __extends(TreeWalkerImpl, _super);\n /**\n * Initializes a new instance of `TreeWalker`.\n */\n function TreeWalkerImpl(root, current) {\n var _this = _super.call(this, root) || this;\n _this._current = current;\n return _this;\n }\n Object.defineProperty(TreeWalkerImpl.prototype, \"currentNode\", {\n /** @inheritdoc */\n get: function () { return this._current; },\n set: function (value) { this._current = value; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n TreeWalkerImpl.prototype.parentNode = function () {\n /**\n * 1. Let node be the context object’s current.\n * 2. While node is non-null and is not the context object’s root:\n */\n var node = this._current;\n while (node !== null && node !== this._root) {\n /**\n * 2.1. Set node to node’s parent.\n * 2.2. If node is non-null and filtering node within the context object\n * returns FILTER_ACCEPT, then set the context object’s current to node\n * and return node.\n */\n node = node._parent;\n if (node !== null &&\n algorithm_1.traversal_filter(this, node) === interfaces_1.FilterResult.Accept) {\n this._current = node;\n return node;\n }\n }\n /**\n * 3. Return null.\n */\n return null;\n };\n /** @inheritdoc */\n TreeWalkerImpl.prototype.firstChild = function () {\n /**\n * The firstChild() method, when invoked, must traverse children with the\n * context object and first.\n */\n return algorithm_1.treeWalker_traverseChildren(this, true);\n };\n /** @inheritdoc */\n TreeWalkerImpl.prototype.lastChild = function () {\n /**\n * The lastChild() method, when invoked, must traverse children with the\n * context object and last.\n */\n return algorithm_1.treeWalker_traverseChildren(this, false);\n };\n /** @inheritdoc */\n TreeWalkerImpl.prototype.nextSibling = function () {\n /**\n * The nextSibling() method, when invoked, must traverse siblings with the\n * context object and next.\n */\n return algorithm_1.treeWalker_traverseSiblings(this, true);\n };\n /** @inheritdoc */\n TreeWalkerImpl.prototype.previousNode = function () {\n /**\n * 1. Let node be the context object’s current.\n * 2. While node is not the context object’s root:\n */\n var node = this._current;\n while (node !== this._root) {\n /**\n * 2.1. Let sibling be node’s previous sibling.\n * 2.2. While sibling is non-null:\n */\n var sibling = node._previousSibling;\n while (sibling) {\n /**\n * 2.2.1. Set node to sibling.\n * 2.2.2. Let result be the result of filtering node within the context\n * object.\n */\n node = sibling;\n var result = algorithm_1.traversal_filter(this, node);\n /**\n * 2.2.3. While result is not FILTER_REJECT and node has a child:\n */\n while (result !== interfaces_1.FilterResult.Reject && node._lastChild) {\n /**\n * 2.2.3.1. Set node to node’s last child.\n * 2.2.3.2. Set result to the result of filtering node within the\n * context object.\n */\n node = node._lastChild;\n result = algorithm_1.traversal_filter(this, node);\n }\n /**\n * 2.2.4. If result is FILTER_ACCEPT, then set the context object’s\n * current to node and return node.\n */\n if (result === interfaces_1.FilterResult.Accept) {\n this._current = node;\n return node;\n }\n /**\n * 2.2.5. Set sibling to node’s previous sibling.\n */\n sibling = node._previousSibling;\n }\n /**\n * 2.3. If node is the context object’s root or node’s parent is null,\n * then return null.\n */\n if (node === this._root || node._parent === null) {\n return null;\n }\n /**\n * 2.4. Set node to node’s parent.\n */\n node = node._parent;\n /**\n * 2.5. If the return value of filtering node within the context object is\n * FILTER_ACCEPT, then set the context object’s current to node and\n * return node.\n */\n if (algorithm_1.traversal_filter(this, node) === interfaces_1.FilterResult.Accept) {\n this._current = node;\n return node;\n }\n }\n /**\n * 3. Return null.\n */\n return null;\n };\n /** @inheritdoc */\n TreeWalkerImpl.prototype.previousSibling = function () {\n /**\n * The previousSibling() method, when invoked, must traverse siblings with\n * the context object and previous.\n */\n return algorithm_1.treeWalker_traverseSiblings(this, false);\n };\n /** @inheritdoc */\n TreeWalkerImpl.prototype.nextNode = function () {\n /**\n * 1. Let node be the context object’s current.\n * 2. Let result be FILTER_ACCEPT.\n * 3. While true:\n */\n var node = this._current;\n var result = interfaces_1.FilterResult.Accept;\n while (true) {\n /**\n * 3.1. While result is not FILTER_REJECT and node has a child:\n */\n while (result !== interfaces_1.FilterResult.Reject && node._firstChild) {\n /**\n * 3.1.1. Set node to its first child.\n * 3.1.2. Set result to the result of filtering node within the context\n * object.\n * 3.1.3. If result is FILTER_ACCEPT, then set the context object’s\n * current to node and return node.\n */\n node = node._firstChild;\n result = algorithm_1.traversal_filter(this, node);\n if (result === interfaces_1.FilterResult.Accept) {\n this._current = node;\n return node;\n }\n }\n /**\n * 3.2. Let sibling be null.\n * 3.3. Let temporary be node.\n * 3.4. While temporary is non-null:\n */\n var sibling = null;\n var temporary = node;\n while (temporary !== null) {\n /**\n * 3.4.1. If temporary is the context object’s root, then return null.\n */\n if (temporary === this._root) {\n return null;\n }\n /**\n * 3.4.2. Set sibling to temporary’s next sibling.\n * 3.4.3. If sibling is non-null, then break.\n */\n sibling = temporary._nextSibling;\n if (sibling !== null) {\n node = sibling;\n break;\n }\n /**\n * 3.4.4. Set temporary to temporary’s parent.\n */\n temporary = temporary._parent;\n }\n /**\n * 3.5. Set result to the result of filtering node within the context object.\n * 3.6. If result is FILTER_ACCEPT, then set the context object’s current\n * to node and return node.\n */\n result = algorithm_1.traversal_filter(this, node);\n if (result === interfaces_1.FilterResult.Accept) {\n this._current = node;\n return node;\n }\n }\n };\n /**\n * Creates a new `TreeWalker`.\n *\n * @param root - iterator's root node\n * @param current - current node\n */\n TreeWalkerImpl._create = function (root, current) {\n return new TreeWalkerImpl(root, current);\n };\n return TreeWalkerImpl;\n}(TraverserImpl_1.TraverserImpl));\nexports.TreeWalkerImpl = TreeWalkerImpl;\n//# sourceMappingURL=TreeWalkerImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EventTargetImpl_1 = require(\"./EventTargetImpl\");\nvar util_1 = require(\"@oozcitak/util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a window containing a DOM document.\n */\nvar WindowImpl = /** @class */ (function (_super) {\n __extends(WindowImpl, _super);\n /**\n * Initializes a new instance of `Window`.\n */\n function WindowImpl() {\n var _this = _super.call(this) || this;\n _this._signalSlots = new Set();\n _this._mutationObserverMicrotaskQueued = false;\n _this._mutationObservers = new Set();\n _this._iteratorList = new util_1.FixedSizeSet();\n _this._associatedDocument = algorithm_1.create_document();\n return _this;\n }\n Object.defineProperty(WindowImpl.prototype, \"document\", {\n /** @inheritdoc */\n get: function () { return this._associatedDocument; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WindowImpl.prototype, \"event\", {\n /** @inheritdoc */\n get: function () { return this._currentEvent; },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new window with a blank document.\n */\n WindowImpl._create = function () {\n return new WindowImpl();\n };\n return WindowImpl;\n}(EventTargetImpl_1.EventTargetImpl));\nexports.WindowImpl = WindowImpl;\n//# sourceMappingURL=WindowImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DocumentImpl_1 = require(\"./DocumentImpl\");\n/**\n * Represents an XML document.\n */\nvar XMLDocumentImpl = /** @class */ (function (_super) {\n __extends(XMLDocumentImpl, _super);\n /**\n * Initializes a new instance of `XMLDocument`.\n */\n function XMLDocumentImpl() {\n return _super.call(this) || this;\n }\n return XMLDocumentImpl;\n}(DocumentImpl_1.DocumentImpl));\nexports.XMLDocumentImpl = XMLDocumentImpl;\n//# sourceMappingURL=XMLDocumentImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\n// Import implementation classes\nvar AbortControllerImpl_1 = require(\"./AbortControllerImpl\");\nexports.AbortController = AbortControllerImpl_1.AbortControllerImpl;\nvar AbortSignalImpl_1 = require(\"./AbortSignalImpl\");\nexports.AbortSignal = AbortSignalImpl_1.AbortSignalImpl;\nvar AbstractRangeImpl_1 = require(\"./AbstractRangeImpl\");\nexports.AbstractRange = AbstractRangeImpl_1.AbstractRangeImpl;\nvar AttrImpl_1 = require(\"./AttrImpl\");\nexports.Attr = AttrImpl_1.AttrImpl;\nvar CDATASectionImpl_1 = require(\"./CDATASectionImpl\");\nexports.CDATASection = CDATASectionImpl_1.CDATASectionImpl;\nvar CharacterDataImpl_1 = require(\"./CharacterDataImpl\");\nexports.CharacterData = CharacterDataImpl_1.CharacterDataImpl;\nvar ChildNodeImpl_1 = require(\"./ChildNodeImpl\");\nvar CommentImpl_1 = require(\"./CommentImpl\");\nexports.Comment = CommentImpl_1.CommentImpl;\nvar CustomEventImpl_1 = require(\"./CustomEventImpl\");\nexports.CustomEvent = CustomEventImpl_1.CustomEventImpl;\nvar DocumentFragmentImpl_1 = require(\"./DocumentFragmentImpl\");\nexports.DocumentFragment = DocumentFragmentImpl_1.DocumentFragmentImpl;\nvar DocumentImpl_1 = require(\"./DocumentImpl\");\nexports.Document = DocumentImpl_1.DocumentImpl;\nvar DocumentOrShadowRootImpl_1 = require(\"./DocumentOrShadowRootImpl\");\nvar DocumentTypeImpl_1 = require(\"./DocumentTypeImpl\");\nexports.DocumentType = DocumentTypeImpl_1.DocumentTypeImpl;\nvar DOMImpl_1 = require(\"./DOMImpl\");\nexports.dom = DOMImpl_1.dom;\nvar DOMImplementationImpl_1 = require(\"./DOMImplementationImpl\");\nexports.DOMImplementation = DOMImplementationImpl_1.DOMImplementationImpl;\nvar DOMTokenListImpl_1 = require(\"./DOMTokenListImpl\");\nexports.DOMTokenList = DOMTokenListImpl_1.DOMTokenListImpl;\nvar ElementImpl_1 = require(\"./ElementImpl\");\nexports.Element = ElementImpl_1.ElementImpl;\nvar EventImpl_1 = require(\"./EventImpl\");\nexports.Event = EventImpl_1.EventImpl;\nvar EventTargetImpl_1 = require(\"./EventTargetImpl\");\nexports.EventTarget = EventTargetImpl_1.EventTargetImpl;\nvar HTMLCollectionImpl_1 = require(\"./HTMLCollectionImpl\");\nexports.HTMLCollection = HTMLCollectionImpl_1.HTMLCollectionImpl;\nvar MutationObserverImpl_1 = require(\"./MutationObserverImpl\");\nexports.MutationObserver = MutationObserverImpl_1.MutationObserverImpl;\nvar MutationRecordImpl_1 = require(\"./MutationRecordImpl\");\nexports.MutationRecord = MutationRecordImpl_1.MutationRecordImpl;\nvar NamedNodeMapImpl_1 = require(\"./NamedNodeMapImpl\");\nexports.NamedNodeMap = NamedNodeMapImpl_1.NamedNodeMapImpl;\nvar NodeFilterImpl_1 = require(\"./NodeFilterImpl\");\nexports.NodeFilter = NodeFilterImpl_1.NodeFilterImpl;\nvar NodeImpl_1 = require(\"./NodeImpl\");\nexports.Node = NodeImpl_1.NodeImpl;\nvar NodeIteratorImpl_1 = require(\"./NodeIteratorImpl\");\nexports.NodeIterator = NodeIteratorImpl_1.NodeIteratorImpl;\nvar NodeListImpl_1 = require(\"./NodeListImpl\");\nexports.NodeList = NodeListImpl_1.NodeListImpl;\nvar NodeListStaticImpl_1 = require(\"./NodeListStaticImpl\");\nexports.NodeListStatic = NodeListStaticImpl_1.NodeListStaticImpl;\nvar NonDocumentTypeChildNodeImpl_1 = require(\"./NonDocumentTypeChildNodeImpl\");\nvar NonElementParentNodeImpl_1 = require(\"./NonElementParentNodeImpl\");\nvar ParentNodeImpl_1 = require(\"./ParentNodeImpl\");\nvar ProcessingInstructionImpl_1 = require(\"./ProcessingInstructionImpl\");\nexports.ProcessingInstruction = ProcessingInstructionImpl_1.ProcessingInstructionImpl;\nvar RangeImpl_1 = require(\"./RangeImpl\");\nexports.Range = RangeImpl_1.RangeImpl;\nvar ShadowRootImpl_1 = require(\"./ShadowRootImpl\");\nexports.ShadowRoot = ShadowRootImpl_1.ShadowRootImpl;\nvar SlotableImpl_1 = require(\"./SlotableImpl\");\nvar StaticRangeImpl_1 = require(\"./StaticRangeImpl\");\nexports.StaticRange = StaticRangeImpl_1.StaticRangeImpl;\nvar TextImpl_1 = require(\"./TextImpl\");\nexports.Text = TextImpl_1.TextImpl;\nvar TraverserImpl_1 = require(\"./TraverserImpl\");\nexports.Traverser = TraverserImpl_1.TraverserImpl;\nvar TreeWalkerImpl_1 = require(\"./TreeWalkerImpl\");\nexports.TreeWalker = TreeWalkerImpl_1.TreeWalkerImpl;\nvar WindowImpl_1 = require(\"./WindowImpl\");\nexports.Window = WindowImpl_1.WindowImpl;\nvar XMLDocumentImpl_1 = require(\"./XMLDocumentImpl\");\nexports.XMLDocument = XMLDocumentImpl_1.XMLDocumentImpl;\n// Apply mixins\n// ChildNode\nutil_1.applyMixin(ElementImpl_1.ElementImpl, ChildNodeImpl_1.ChildNodeImpl);\nutil_1.applyMixin(CharacterDataImpl_1.CharacterDataImpl, ChildNodeImpl_1.ChildNodeImpl);\nutil_1.applyMixin(DocumentTypeImpl_1.DocumentTypeImpl, ChildNodeImpl_1.ChildNodeImpl);\n// DocumentOrShadowRoot\nutil_1.applyMixin(DocumentImpl_1.DocumentImpl, DocumentOrShadowRootImpl_1.DocumentOrShadowRootImpl);\nutil_1.applyMixin(ShadowRootImpl_1.ShadowRootImpl, DocumentOrShadowRootImpl_1.DocumentOrShadowRootImpl);\n// NonDocumentTypeChildNode\nutil_1.applyMixin(ElementImpl_1.ElementImpl, NonDocumentTypeChildNodeImpl_1.NonDocumentTypeChildNodeImpl);\nutil_1.applyMixin(CharacterDataImpl_1.CharacterDataImpl, NonDocumentTypeChildNodeImpl_1.NonDocumentTypeChildNodeImpl);\n// NonElementParentNode\nutil_1.applyMixin(DocumentImpl_1.DocumentImpl, NonElementParentNodeImpl_1.NonElementParentNodeImpl);\nutil_1.applyMixin(DocumentFragmentImpl_1.DocumentFragmentImpl, NonElementParentNodeImpl_1.NonElementParentNodeImpl);\n// ParentNode\nutil_1.applyMixin(DocumentImpl_1.DocumentImpl, ParentNodeImpl_1.ParentNodeImpl);\nutil_1.applyMixin(DocumentFragmentImpl_1.DocumentFragmentImpl, ParentNodeImpl_1.ParentNodeImpl);\nutil_1.applyMixin(ElementImpl_1.ElementImpl, ParentNodeImpl_1.ParentNodeImpl);\n// Slotable\nutil_1.applyMixin(TextImpl_1.TextImpl, SlotableImpl_1.SlotableImpl);\nutil_1.applyMixin(ElementImpl_1.ElementImpl, SlotableImpl_1.SlotableImpl);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Defines the position of a boundary point relative to another.\n */\nvar BoundaryPosition;\n(function (BoundaryPosition) {\n BoundaryPosition[BoundaryPosition[\"Before\"] = 0] = \"Before\";\n BoundaryPosition[BoundaryPosition[\"Equal\"] = 1] = \"Equal\";\n BoundaryPosition[BoundaryPosition[\"After\"] = 2] = \"After\";\n})(BoundaryPosition = exports.BoundaryPosition || (exports.BoundaryPosition = {}));\n/**\n * Defines the event phase.\n */\nvar EventPhase;\n(function (EventPhase) {\n EventPhase[EventPhase[\"None\"] = 0] = \"None\";\n EventPhase[EventPhase[\"Capturing\"] = 1] = \"Capturing\";\n EventPhase[EventPhase[\"AtTarget\"] = 2] = \"AtTarget\";\n EventPhase[EventPhase[\"Bubbling\"] = 3] = \"Bubbling\";\n})(EventPhase = exports.EventPhase || (exports.EventPhase = {}));\n/**\n * Defines the type of a node object.\n */\nvar NodeType;\n(function (NodeType) {\n NodeType[NodeType[\"Element\"] = 1] = \"Element\";\n NodeType[NodeType[\"Attribute\"] = 2] = \"Attribute\";\n NodeType[NodeType[\"Text\"] = 3] = \"Text\";\n NodeType[NodeType[\"CData\"] = 4] = \"CData\";\n NodeType[NodeType[\"EntityReference\"] = 5] = \"EntityReference\";\n NodeType[NodeType[\"Entity\"] = 6] = \"Entity\";\n NodeType[NodeType[\"ProcessingInstruction\"] = 7] = \"ProcessingInstruction\";\n NodeType[NodeType[\"Comment\"] = 8] = \"Comment\";\n NodeType[NodeType[\"Document\"] = 9] = \"Document\";\n NodeType[NodeType[\"DocumentType\"] = 10] = \"DocumentType\";\n NodeType[NodeType[\"DocumentFragment\"] = 11] = \"DocumentFragment\";\n NodeType[NodeType[\"Notation\"] = 12] = \"Notation\"; // historical\n})(NodeType = exports.NodeType || (exports.NodeType = {}));\n/**\n * Defines the position of a node in the document relative to another\n * node.\n */\nvar Position;\n(function (Position) {\n Position[Position[\"Disconnected\"] = 1] = \"Disconnected\";\n Position[Position[\"Preceding\"] = 2] = \"Preceding\";\n Position[Position[\"Following\"] = 4] = \"Following\";\n Position[Position[\"Contains\"] = 8] = \"Contains\";\n Position[Position[\"ContainedBy\"] = 16] = \"ContainedBy\";\n Position[Position[\"ImplementationSpecific\"] = 32] = \"ImplementationSpecific\";\n})(Position = exports.Position || (exports.Position = {}));\n/**\n * Defines the return value of a filter callback.\n */\nvar FilterResult;\n(function (FilterResult) {\n FilterResult[FilterResult[\"Accept\"] = 1] = \"Accept\";\n FilterResult[FilterResult[\"Reject\"] = 2] = \"Reject\";\n FilterResult[FilterResult[\"Skip\"] = 3] = \"Skip\";\n})(FilterResult = exports.FilterResult || (exports.FilterResult = {}));\n/**\n * Defines what to show in node filter.\n */\nvar WhatToShow;\n(function (WhatToShow) {\n WhatToShow[WhatToShow[\"All\"] = 4294967295] = \"All\";\n WhatToShow[WhatToShow[\"Element\"] = 1] = \"Element\";\n WhatToShow[WhatToShow[\"Attribute\"] = 2] = \"Attribute\";\n WhatToShow[WhatToShow[\"Text\"] = 4] = \"Text\";\n WhatToShow[WhatToShow[\"CDataSection\"] = 8] = \"CDataSection\";\n WhatToShow[WhatToShow[\"EntityReference\"] = 16] = \"EntityReference\";\n WhatToShow[WhatToShow[\"Entity\"] = 32] = \"Entity\";\n WhatToShow[WhatToShow[\"ProcessingInstruction\"] = 64] = \"ProcessingInstruction\";\n WhatToShow[WhatToShow[\"Comment\"] = 128] = \"Comment\";\n WhatToShow[WhatToShow[\"Document\"] = 256] = \"Document\";\n WhatToShow[WhatToShow[\"DocumentType\"] = 512] = \"DocumentType\";\n WhatToShow[WhatToShow[\"DocumentFragment\"] = 1024] = \"DocumentFragment\";\n WhatToShow[WhatToShow[\"Notation\"] = 2048] = \"Notation\";\n})(WhatToShow = exports.WhatToShow || (exports.WhatToShow = {}));\n/**\n * Defines how boundary points are compared.\n */\nvar HowToCompare;\n(function (HowToCompare) {\n HowToCompare[HowToCompare[\"StartToStart\"] = 0] = \"StartToStart\";\n HowToCompare[HowToCompare[\"StartToEnd\"] = 1] = \"StartToEnd\";\n HowToCompare[HowToCompare[\"EndToEnd\"] = 2] = \"EndToEnd\";\n HowToCompare[HowToCompare[\"EndToStart\"] = 3] = \"EndToStart\";\n})(HowToCompare = exports.HowToCompare || (exports.HowToCompare = {}));\n//# sourceMappingURL=interfaces.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dom_1 = require(\"./dom\");\ndom_1.dom.setFeatures(true);\nvar dom_2 = require(\"./dom\");\nexports.DOMImplementation = dom_2.DOMImplementation;\nvar parser_1 = require(\"./parser\");\nexports.DOMParser = parser_1.DOMParser;\nvar serializer_1 = require(\"./serializer\");\nexports.XMLSerializer = serializer_1.XMLSerializer;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar algorithm_1 = require(\"../algorithm\");\nvar XMLParserImpl_1 = require(\"./XMLParserImpl\");\n/**\n * Represents a parser for XML and HTML content.\n *\n * See: https://w3c.github.io/DOM-Parsing/#the-domparser-interface\n */\nvar DOMParserImpl = /** @class */ (function () {\n function DOMParserImpl() {\n }\n /** @inheritdoc */\n DOMParserImpl.prototype.parseFromString = function (source, mimeType) {\n if (mimeType === \"text/html\")\n throw new Error('HTML parser not implemented.');\n try {\n var parser = new XMLParserImpl_1.XMLParserImpl();\n var doc = parser.parse(source);\n doc._contentType = mimeType;\n return doc;\n }\n catch (e) {\n var errorNS = \"http://www.mozilla.org/newlayout/xml/parsererror.xml\";\n var doc = algorithm_1.create_xmlDocument();\n var root = doc.createElementNS(errorNS, \"parsererror\");\n var ele = doc.createElementNS(errorNS, \"error\");\n ele.setAttribute(\"message\", e.message);\n root.appendChild(ele);\n doc.appendChild(root);\n return doc;\n }\n };\n return DOMParserImpl;\n}());\nexports.DOMParserImpl = DOMParserImpl;\n//# sourceMappingURL=DOMParserImpl.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar XMLStringLexer_1 = require(\"./XMLStringLexer\");\nvar interfaces_1 = require(\"./interfaces\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"../algorithm\");\nvar LocalNameSet_1 = require(\"../serializer/LocalNameSet\");\n/**\n * Represents a parser for XML content.\n *\n * See: https://html.spec.whatwg.org/#xml-parser\n */\nvar XMLParserImpl = /** @class */ (function () {\n function XMLParserImpl() {\n }\n /**\n * Parses XML content.\n *\n * @param source - a string containing XML content\n */\n XMLParserImpl.prototype.parse = function (source) {\n var e_1, _a, e_2, _b;\n var lexer = new XMLStringLexer_1.XMLStringLexer(source, { skipWhitespaceOnlyText: true });\n var doc = algorithm_1.create_document();\n var context = doc;\n var token = lexer.nextToken();\n while (token.type !== interfaces_1.TokenType.EOF) {\n switch (token.type) {\n case interfaces_1.TokenType.Declaration:\n var declaration = token;\n if (declaration.version !== \"1.0\") {\n throw new Error(\"Invalid xml version: \" + declaration.version);\n }\n break;\n case interfaces_1.TokenType.DocType:\n var doctype = token;\n if (!algorithm_1.xml_isPubidChar(doctype.pubId)) {\n throw new Error(\"DocType public identifier does not match PubidChar construct.\");\n }\n if (!algorithm_1.xml_isLegalChar(doctype.sysId) ||\n (doctype.sysId.indexOf('\"') !== -1 && doctype.sysId.indexOf(\"'\") !== -1)) {\n throw new Error(\"DocType system identifier contains invalid characters.\");\n }\n context.appendChild(doc.implementation.createDocumentType(doctype.name, doctype.pubId, doctype.sysId));\n break;\n case interfaces_1.TokenType.CDATA:\n var cdata = token;\n if (!algorithm_1.xml_isLegalChar(cdata.data) ||\n cdata.data.indexOf(\"]]>\") !== -1) {\n throw new Error(\"CDATA contains invalid characters.\");\n }\n context.appendChild(doc.createCDATASection(cdata.data));\n break;\n case interfaces_1.TokenType.Comment:\n var comment = token;\n if (!algorithm_1.xml_isLegalChar(comment.data) ||\n comment.data.indexOf(\"--\") !== -1 || comment.data.endsWith(\"-\")) {\n throw new Error(\"Comment data contains invalid characters.\");\n }\n context.appendChild(doc.createComment(comment.data));\n break;\n case interfaces_1.TokenType.PI:\n var pi = token;\n if (pi.target.indexOf(\":\") !== -1 || (/^xml$/i).test(pi.target)) {\n throw new Error(\"Processing instruction target contains invalid characters.\");\n }\n if (!algorithm_1.xml_isLegalChar(pi.data) || pi.data.indexOf(\"?>\") !== -1) {\n throw new Error(\"Processing instruction data contains invalid characters.\");\n }\n context.appendChild(doc.createProcessingInstruction(pi.target, pi.data));\n break;\n case interfaces_1.TokenType.Text:\n var text = token;\n if (!algorithm_1.xml_isLegalChar(text.data)) {\n throw new Error(\"Text data contains invalid characters.\");\n }\n context.appendChild(doc.createTextNode(this._decodeText(text.data)));\n break;\n case interfaces_1.TokenType.Element:\n var element = token;\n // inherit namespace from parent\n var _c = __read(algorithm_1.namespace_extractQName(element.name), 2), prefix = _c[0], localName = _c[1];\n if (localName.indexOf(\":\") !== -1 || !algorithm_1.xml_isName(localName)) {\n throw new Error(\"Node local name contains invalid characters.\");\n }\n if (prefix === \"xmlns\") {\n throw new Error(\"An element cannot have the 'xmlns' prefix.\");\n }\n var namespace = context.lookupNamespaceURI(prefix);\n // override namespace if there is a namespace declaration\n // attribute\n // also lookup namespace declaration attributes\n var nsDeclarations = {};\n try {\n for (var _d = (e_1 = void 0, __values(element.attributes)), _e = _d.next(); !_e.done; _e = _d.next()) {\n var _f = __read(_e.value, 2), attName = _f[0], attValue = _f[1];\n if (attName === \"xmlns\") {\n namespace = attValue;\n }\n else {\n var _g = __read(algorithm_1.namespace_extractQName(attName), 2), attPrefix = _g[0], attLocalName = _g[1];\n if (attPrefix === \"xmlns\") {\n if (attLocalName === prefix) {\n namespace = attValue;\n }\n nsDeclarations[attLocalName] = attValue;\n }\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_1) throw e_1.error; }\n }\n // create the DOM element node\n var elementNode = (namespace !== null ?\n doc.createElementNS(namespace, element.name) :\n doc.createElement(element.name));\n context.appendChild(elementNode);\n // assign attributes\n var localNameSet = new LocalNameSet_1.LocalNameSet();\n try {\n for (var _h = (e_2 = void 0, __values(element.attributes)), _j = _h.next(); !_j.done; _j = _h.next()) {\n var _k = __read(_j.value, 2), attName = _k[0], attValue = _k[1];\n var _l = __read(algorithm_1.namespace_extractQName(attName), 2), attPrefix = _l[0], attLocalName = _l[1];\n var attNamespace = null;\n if (attPrefix === \"xmlns\" || (attPrefix === null && attLocalName === \"xmlns\")) {\n // namespace declaration attribute\n attNamespace = infra_1.namespace.XMLNS;\n }\n else {\n attNamespace = elementNode.lookupNamespaceURI(attPrefix);\n if (attNamespace !== null && elementNode.isDefaultNamespace(attNamespace)) {\n attNamespace = null;\n }\n else if (attNamespace === null && attPrefix !== null) {\n attNamespace = nsDeclarations[attPrefix] || null;\n }\n }\n if (localNameSet.has(attNamespace, attLocalName)) {\n throw new Error(\"Element contains duplicate attributes.\");\n }\n localNameSet.set(attNamespace, attLocalName);\n if (attNamespace === infra_1.namespace.XMLNS) {\n if (attValue === infra_1.namespace.XMLNS) {\n throw new Error(\"XMLNS namespace is reserved.\");\n }\n }\n if (attLocalName.indexOf(\":\") !== -1 || !algorithm_1.xml_isName(attLocalName)) {\n throw new Error(\"Attribute local name contains invalid characters.\");\n }\n if (attPrefix === \"xmlns\" && attValue === \"\") {\n throw new Error(\"Empty XML namespace is not allowed.\");\n }\n if (attNamespace !== null)\n elementNode.setAttributeNS(attNamespace, attName, this._decodeAttributeValue(attValue));\n else\n elementNode.setAttribute(attName, this._decodeAttributeValue(attValue));\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_j && !_j.done && (_b = _h.return)) _b.call(_h);\n }\n finally { if (e_2) throw e_2.error; }\n }\n if (!element.selfClosing) {\n context = elementNode;\n }\n break;\n case interfaces_1.TokenType.ClosingTag:\n var closingTag = token;\n if (closingTag.name !== context.nodeName) {\n throw new Error('Closing tag name does not match opening tag name.');\n }\n /* istanbul ignore else */\n if (context._parent) {\n context = context._parent;\n }\n break;\n }\n token = lexer.nextToken();\n }\n return doc;\n };\n /**\n * Decodes serialized text.\n *\n * @param text - text value to serialize\n */\n XMLParserImpl.prototype._decodeText = function (text) {\n return text == null ? text : text.replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/&/g, '&');\n };\n /**\n * Decodes serialized attribute value.\n *\n * @param text - attribute value to serialize\n */\n XMLParserImpl.prototype._decodeAttributeValue = function (text) {\n return text == null ? text : text.replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/&/g, '&');\n };\n return XMLParserImpl;\n}());\nexports.XMLParserImpl = XMLParserImpl;\n//# sourceMappingURL=XMLParserImpl.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\n/**\n * Represents a lexer for XML content in a string.\n */\nvar XMLStringLexer = /** @class */ (function () {\n /**\n * Initializes a new instance of `XMLStringLexer`.\n *\n * @param str - the string to tokenize and lex\n * @param options - lexer options\n */\n function XMLStringLexer(str, options) {\n this._options = {\n skipWhitespaceOnlyText: false\n };\n this.err = { line: -1, col: -1, index: -1, str: \"\" };\n this._str = str;\n this._index = 0;\n this._length = str.length;\n if (options) {\n this._options.skipWhitespaceOnlyText = options.skipWhitespaceOnlyText || false;\n }\n }\n /**\n * Returns the next token.\n */\n XMLStringLexer.prototype.nextToken = function () {\n if (this.eof()) {\n return { type: interfaces_1.TokenType.EOF };\n }\n var token = (this.skipIfStartsWith('<') ? this.openBracket() : this.text());\n if (this._options.skipWhitespaceOnlyText) {\n if (token.type === interfaces_1.TokenType.Text &&\n XMLStringLexer.isWhiteSpaceToken(token)) {\n token = this.nextToken();\n }\n }\n return token;\n };\n /**\n * Branches from an opening bracket (`<`).\n */\n XMLStringLexer.prototype.openBracket = function () {\n if (this.skipIfStartsWith('?')) {\n if (this.skipIfStartsWith('xml')) {\n if (XMLStringLexer.isSpace(this._str[this._index])) {\n return this.declaration();\n }\n else {\n // a processing instruction starting with xml. e.g. \n this.seek(-3);\n return this.pi();\n }\n }\n else {\n return this.pi();\n }\n }\n else if (this.skipIfStartsWith('!')) {\n if (this.skipIfStartsWith('--')) {\n return this.comment();\n }\n else if (this.skipIfStartsWith('[CDATA[')) {\n return this.cdata();\n }\n else if (this.skipIfStartsWith('DOCTYPE')) {\n return this.doctype();\n }\n else {\n this.throwError(\"Invalid '!' in opening tag.\");\n }\n }\n else if (this.skipIfStartsWith('/')) {\n return this.closeTag();\n }\n else {\n return this.openTag();\n }\n };\n /**\n * Produces an XML declaration token.\n */\n XMLStringLexer.prototype.declaration = function () {\n var version = '';\n var encoding = '';\n var standalone = '';\n while (!this.eof()) {\n this.skipSpace();\n if (this.skipIfStartsWith('?>')) {\n return { type: interfaces_1.TokenType.Declaration, version: version, encoding: encoding, standalone: standalone };\n }\n else {\n // attribute name\n var _a = __read(this.attribute(), 2), attName = _a[0], attValue = _a[1];\n if (attName === 'version')\n version = attValue;\n else if (attName === 'encoding')\n encoding = attValue;\n else if (attName === 'standalone')\n standalone = attValue;\n else\n this.throwError('Invalid attribute name: ' + attName);\n }\n }\n this.throwError('Missing declaration end symbol `?>`');\n };\n /**\n * Produces a doc type token.\n */\n XMLStringLexer.prototype.doctype = function () {\n var pubId = '';\n var sysId = '';\n // name\n this.skipSpace();\n var name = this.takeUntil2('[', '>', true);\n this.skipSpace();\n if (this.skipIfStartsWith('PUBLIC')) {\n pubId = this.quotedString();\n sysId = this.quotedString();\n }\n else if (this.skipIfStartsWith('SYSTEM')) {\n sysId = this.quotedString();\n }\n // skip internal subset\n this.skipSpace();\n if (this.skipIfStartsWith('[')) {\n // skip internal subset nodes\n this.skipUntil(']');\n if (!this.skipIfStartsWith(']')) {\n this.throwError('Missing end bracket of DTD internal subset');\n }\n }\n this.skipSpace();\n if (!this.skipIfStartsWith('>')) {\n this.throwError('Missing doctype end symbol `>`');\n }\n return { type: interfaces_1.TokenType.DocType, name: name, pubId: pubId, sysId: sysId };\n };\n /**\n * Produces a processing instruction token.\n */\n XMLStringLexer.prototype.pi = function () {\n var target = this.takeUntilStartsWith('?>', true);\n if (this.eof()) {\n this.throwError('Missing processing instruction end symbol `?>`');\n }\n this.skipSpace();\n if (this.skipIfStartsWith('?>')) {\n return { type: interfaces_1.TokenType.PI, target: target, data: '' };\n }\n var data = this.takeUntilStartsWith('?>');\n if (this.eof()) {\n this.throwError('Missing processing instruction end symbol `?>`');\n }\n this.seek(2);\n return { type: interfaces_1.TokenType.PI, target: target, data: data };\n };\n /**\n * Produces a text token.\n *\n */\n XMLStringLexer.prototype.text = function () {\n var data = this.takeUntil('<');\n return { type: interfaces_1.TokenType.Text, data: data };\n };\n /**\n * Produces a comment token.\n *\n */\n XMLStringLexer.prototype.comment = function () {\n var data = this.takeUntilStartsWith('-->');\n if (this.eof()) {\n this.throwError('Missing comment end symbol `-->`');\n }\n this.seek(3);\n return { type: interfaces_1.TokenType.Comment, data: data };\n };\n /**\n * Produces a CDATA token.\n *\n */\n XMLStringLexer.prototype.cdata = function () {\n var data = this.takeUntilStartsWith(']]>');\n if (this.eof()) {\n this.throwError('Missing CDATA end symbol `]>`');\n }\n this.seek(3);\n return { type: interfaces_1.TokenType.CDATA, data: data };\n };\n /**\n * Produces an element token.\n */\n XMLStringLexer.prototype.openTag = function () {\n // element name\n this.skipSpace();\n var name = this.takeUntil2('>', '/', true);\n this.skipSpace();\n if (this.skipIfStartsWith('>')) {\n return { type: interfaces_1.TokenType.Element, name: name, attributes: [], selfClosing: false };\n }\n else if (this.skipIfStartsWith('/>')) {\n return { type: interfaces_1.TokenType.Element, name: name, attributes: [], selfClosing: true };\n }\n // attributes\n var attributes = [];\n while (!this.eof()) {\n // end tag\n this.skipSpace();\n if (this.skipIfStartsWith('>')) {\n return { type: interfaces_1.TokenType.Element, name: name, attributes: attributes, selfClosing: false };\n }\n else if (this.skipIfStartsWith('/>')) {\n return { type: interfaces_1.TokenType.Element, name: name, attributes: attributes, selfClosing: true };\n }\n var attr = this.attribute();\n attributes.push(attr);\n }\n this.throwError('Missing opening element tag end symbol `>`');\n };\n /**\n * Produces a closing tag token.\n *\n */\n XMLStringLexer.prototype.closeTag = function () {\n this.skipSpace();\n var name = this.takeUntil('>', true);\n this.skipSpace();\n if (!this.skipIfStartsWith('>')) {\n this.throwError('Missing closing element tag end symbol `>`');\n }\n return { type: interfaces_1.TokenType.ClosingTag, name: name };\n };\n /**\n * Reads an attribute name, value pair\n */\n XMLStringLexer.prototype.attribute = function () {\n // attribute name\n this.skipSpace();\n var name = this.takeUntil('=', true);\n this.skipSpace();\n if (!this.skipIfStartsWith('=')) {\n this.throwError('Missing equals sign before attribute value');\n }\n // attribute value\n var value = this.quotedString();\n return [name, value];\n };\n /**\n * Reads a string between double or single quotes.\n */\n XMLStringLexer.prototype.quotedString = function () {\n this.skipSpace();\n var startQuote = this.take(1);\n if (!XMLStringLexer.isQuote(startQuote)) {\n this.throwError('Missing start quote character before quoted value');\n }\n var value = this.takeUntil(startQuote);\n if (!this.skipIfStartsWith(startQuote)) {\n this.throwError('Missing end quote character after quoted value');\n }\n return value;\n };\n /**\n * Determines if the current index is at or past the end of input string.\n */\n XMLStringLexer.prototype.eof = function () { return this._index >= this._length; };\n /**\n * Skips the length of the given string if the string from current position\n * starts with the given string.\n *\n * @param str - the string to match\n */\n XMLStringLexer.prototype.skipIfStartsWith = function (str) {\n var strLength = str.length;\n if (strLength === 1) {\n if (this._str[this._index] === str) {\n this._index++;\n return true;\n }\n else {\n return false;\n }\n }\n for (var i = 0; i < strLength; i++) {\n if (this._str[this._index + i] !== str[i])\n return false;\n }\n this._index += strLength;\n return true;\n };\n /**\n * Seeks a number of character codes.\n *\n * @param count - number of characters to skip\n */\n XMLStringLexer.prototype.seek = function (count) {\n this._index += count;\n if (this._index < 0)\n this._index = 0;\n if (this._index > this._length)\n this._index = this._length;\n };\n /**\n * Skips space characters.\n */\n XMLStringLexer.prototype.skipSpace = function () {\n while (!this.eof() && (XMLStringLexer.isSpace(this._str[this._index]))) {\n this._index++;\n }\n };\n /**\n * Takes a given number of characters.\n *\n * @param count - character count\n */\n XMLStringLexer.prototype.take = function (count) {\n if (count === 1) {\n return this._str[this._index++];\n }\n var startIndex = this._index;\n this.seek(count);\n return this._str.slice(startIndex, this._index);\n };\n /**\n * Takes characters until the next character matches `char`.\n *\n * @param char - a character to match\n * @param space - whether a space character stops iteration\n */\n XMLStringLexer.prototype.takeUntil = function (char, space) {\n if (space === void 0) { space = false; }\n var startIndex = this._index;\n while (this._index < this._length) {\n var c = this._str[this._index];\n if (c !== char && (!space || !XMLStringLexer.isSpace(c))) {\n this._index++;\n }\n else {\n break;\n }\n }\n return this._str.slice(startIndex, this._index);\n };\n /**\n * Takes characters until the next character matches `char1` or `char1`.\n *\n * @param char1 - a character to match\n * @param char2 - a character to match\n * @param space - whether a space character stops iteration\n */\n XMLStringLexer.prototype.takeUntil2 = function (char1, char2, space) {\n if (space === void 0) { space = false; }\n var startIndex = this._index;\n while (this._index < this._length) {\n var c = this._str[this._index];\n if (c !== char1 && c !== char2 && (!space || !XMLStringLexer.isSpace(c))) {\n this._index++;\n }\n else {\n break;\n }\n }\n return this._str.slice(startIndex, this._index);\n };\n /**\n * Takes characters until the next characters matches `str`.\n *\n * @param str - a string to match\n * @param space - whether a space character stops iteration\n */\n XMLStringLexer.prototype.takeUntilStartsWith = function (str, space) {\n if (space === void 0) { space = false; }\n var startIndex = this._index;\n var strLength = str.length;\n while (this._index < this._length) {\n var match = true;\n for (var i = 0; i < strLength; i++) {\n var c = this._str[this._index + i];\n var char = str[i];\n if (space && XMLStringLexer.isSpace(c)) {\n return this._str.slice(startIndex, this._index);\n }\n else if (c !== char) {\n this._index++;\n match = false;\n break;\n }\n }\n if (match)\n return this._str.slice(startIndex, this._index);\n }\n this._index = this._length;\n return this._str.slice(startIndex);\n };\n /**\n * Skips characters until the next character matches `char`.\n *\n * @param char - a character to match\n */\n XMLStringLexer.prototype.skipUntil = function (char) {\n while (this._index < this._length) {\n var c = this._str[this._index];\n if (c !== char) {\n this._index++;\n }\n else {\n break;\n }\n }\n };\n /**\n * Determines if the given token is entirely whitespace.\n *\n * @param token - the token to check\n */\n XMLStringLexer.isWhiteSpaceToken = function (token) {\n var str = token.data;\n for (var i = 0; i < str.length; i++) {\n var c = str[i];\n if (c !== ' ' && c !== '\\n' && c !== '\\r' && c !== '\\t' && c !== '\\f')\n return false;\n }\n return true;\n };\n /**\n * Determines if the given character is whitespace.\n *\n * @param char - the character to check\n */\n XMLStringLexer.isSpace = function (char) {\n return char === ' ' || char === '\\n' || char === '\\r' || char === '\\t';\n };\n /**\n * Determines if the given character is a quote character.\n *\n * @param char - the character to check\n */\n XMLStringLexer.isQuote = function (char) {\n return (char === '\"' || char === '\\'');\n };\n /**\n * Throws a parser error and records the line and column numbers in the parsed\n * string.\n *\n * @param msg - error message\n */\n XMLStringLexer.prototype.throwError = function (msg) {\n var regexp = /\\r\\n|\\r|\\n/g;\n var match = null;\n var line = 0;\n var firstNewLineIndex = 0;\n var lastNewlineIndex = this._str.length;\n while ((match = regexp.exec(this._str)) !== null) {\n if (match === null)\n break;\n line++;\n if (match.index < this._index)\n firstNewLineIndex = regexp.lastIndex;\n if (match.index > this._index) {\n lastNewlineIndex = match.index;\n break;\n }\n }\n this.err = {\n line: line,\n col: this._index - firstNewLineIndex,\n index: this._index,\n str: this._str.substring(firstNewLineIndex, lastNewlineIndex)\n };\n throw new Error(msg + \"\\nIndex: \" + this.err.index +\n \"\\nLn: \" + this.err.line + \", Col: \" + this.err.col +\n \"\\nInput: \" + this.err.str);\n };\n /**\n * Returns an iterator for the lexer.\n */\n XMLStringLexer.prototype[Symbol.iterator] = function () {\n this._index = 0;\n return {\n next: function () {\n var token = this.nextToken();\n if (token.type === interfaces_1.TokenType.EOF) {\n return { done: true, value: null };\n }\n else {\n return { done: false, value: token };\n }\n }.bind(this)\n };\n };\n return XMLStringLexer;\n}());\nexports.XMLStringLexer = XMLStringLexer;\n//# sourceMappingURL=XMLStringLexer.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Export classes\nvar DOMParserImpl_1 = require(\"./DOMParserImpl\");\nexports.DOMParser = DOMParserImpl_1.DOMParserImpl;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Defines the type of a token.\n */\nvar TokenType;\n(function (TokenType) {\n TokenType[TokenType[\"EOF\"] = 0] = \"EOF\";\n TokenType[TokenType[\"Declaration\"] = 1] = \"Declaration\";\n TokenType[TokenType[\"DocType\"] = 2] = \"DocType\";\n TokenType[TokenType[\"Element\"] = 3] = \"Element\";\n TokenType[TokenType[\"Text\"] = 4] = \"Text\";\n TokenType[TokenType[\"CDATA\"] = 5] = \"CDATA\";\n TokenType[TokenType[\"PI\"] = 6] = \"PI\";\n TokenType[TokenType[\"Comment\"] = 7] = \"Comment\";\n TokenType[TokenType[\"ClosingTag\"] = 8] = \"ClosingTag\";\n})(TokenType = exports.TokenType || (exports.TokenType = {}));\n//# sourceMappingURL=interfaces.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a set of unique attribute namespaceURI and localName pairs.\n * This set will contain tuples of unique attribute namespaceURI and\n * localName pairs, and is populated as each attr is processed. This set is\n * used to [optionally] enforce the well-formed constraint that an element\n * cannot have two attributes with the same namespaceURI and localName.\n * This can occur when two otherwise identical attributes on the same\n * element differ only by their prefix values.\n */\nvar LocalNameSet = /** @class */ (function () {\n function LocalNameSet() {\n // tuple storage\n this._items = {};\n this._nullItems = {};\n }\n /**\n * Adds or replaces a tuple.\n *\n * @param ns - namespace URI\n * @param localName - attribute local name\n */\n LocalNameSet.prototype.set = function (ns, localName) {\n if (ns === null) {\n this._nullItems[localName] = true;\n }\n else if (this._items[ns]) {\n this._items[ns][localName] = true;\n }\n else {\n this._items[ns] = {};\n this._items[ns][localName] = true;\n }\n };\n /**\n * Determines if the given tuple exists in the set.\n *\n * @param ns - namespace URI\n * @param localName - attribute local name\n */\n LocalNameSet.prototype.has = function (ns, localName) {\n if (ns === null) {\n return this._nullItems[localName] === true;\n }\n else if (this._items[ns]) {\n return this._items[ns][localName] === true;\n }\n else {\n return false;\n }\n };\n return LocalNameSet;\n}());\nexports.LocalNameSet = LocalNameSet;\n//# sourceMappingURL=LocalNameSet.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * A namespace prefix map is a map that associates namespaceURI and namespace\n * prefix lists, where namespaceURI values are the map's unique keys (which can\n * include the null value representing no namespace), and ordered lists of\n * associated prefix values are the map's key values. The namespace prefix map\n * will be populated by previously seen namespaceURIs and all their previously\n * encountered prefix associations for a given node and its ancestors.\n *\n * _Note:_ The last seen prefix for a given namespaceURI is at the end of its\n * respective list. The list is searched to find potentially matching prefixes,\n * and if no matches are found for the given namespaceURI, then the last prefix\n * in the list is used. See copy a namespace prefix map and retrieve a preferred\n * prefix string for additional details.\n *\n * See: https://w3c.github.io/DOM-Parsing/#the-namespace-prefix-map\n */\nvar NamespacePrefixMap = /** @class */ (function () {\n function NamespacePrefixMap() {\n this._items = {};\n this._nullItems = [];\n }\n /**\n * Creates a copy of the map.\n */\n NamespacePrefixMap.prototype.copy = function () {\n /**\n * To copy a namespace prefix map map means to copy the map's keys into a\n * new empty namespace prefix map, and to copy each of the values in the\n * namespace prefix list associated with each keys' value into a new list\n * which should be associated with the respective key in the new map.\n */\n var mapCopy = new NamespacePrefixMap();\n for (var key in this._items) {\n mapCopy._items[key] = this._items[key].slice(0);\n }\n mapCopy._nullItems = this._nullItems.slice(0);\n return mapCopy;\n };\n /**\n * Retrieves a preferred prefix string from the namespace prefix map.\n *\n * @param preferredPrefix - preferred prefix string\n * @param ns - namespace\n */\n NamespacePrefixMap.prototype.get = function (preferredPrefix, ns) {\n /**\n * 1. Let candidates list be the result of retrieving a list from map where\n * there exists a key in map that matches the value of ns or if there is no\n * such key, then stop running these steps, and return the null value.\n */\n var candidatesList = ns === null ? this._nullItems : (this._items[ns] || null);\n if (candidatesList === null) {\n return null;\n }\n /**\n * 2. Otherwise, for each prefix value prefix in candidates list, iterating\n * from beginning to end:\n *\n * _Note:_ There will always be at least one prefix value in the list.\n */\n var prefix = null;\n for (var i = 0; i < candidatesList.length; i++) {\n prefix = candidatesList[i];\n /**\n * 2.1. If prefix matches preferred prefix, then stop running these steps\n * and return prefix.\n */\n if (prefix === preferredPrefix) {\n return prefix;\n }\n }\n /**\n * 2.2. If prefix is the last item in the candidates list, then stop\n * running these steps and return prefix.\n */\n return prefix;\n };\n /**\n * Checks if a prefix string is found in the namespace prefix map associated\n * with the given namespace.\n *\n * @param prefix - prefix string\n * @param ns - namespace\n */\n NamespacePrefixMap.prototype.has = function (prefix, ns) {\n /**\n * 1. Let candidates list be the result of retrieving a list from map where\n * there exists a key in map that matches the value of ns or if there is\n * no such key, then stop running these steps, and return false.\n */\n var candidatesList = ns === null ? this._nullItems : (this._items[ns] || null);\n if (candidatesList === null) {\n return false;\n }\n /**\n * 2. If the value of prefix occurs at least once in candidates list,\n * return true, otherwise return false.\n */\n return (candidatesList.indexOf(prefix) !== -1);\n };\n /**\n * Checks if a prefix string is found in the namespace prefix map.\n *\n * @param prefix - prefix string\n */\n NamespacePrefixMap.prototype.hasPrefix = function (prefix) {\n if (this._nullItems.indexOf(prefix) !== -1)\n return true;\n for (var key in this._items) {\n if (this._items[key].indexOf(prefix) !== -1)\n return true;\n }\n return false;\n };\n /**\n * Adds a prefix string associated with a namespace to the prefix map.\n *\n * @param prefix - prefix string\n * @param ns - namespace\n */\n NamespacePrefixMap.prototype.set = function (prefix, ns) {\n /**\n * 1. Let candidates list be the result of retrieving a list from map where\n * there exists a key in map that matches the value of ns or if there is\n * no such key, then let candidates list be null.\n */\n var candidatesList = ns === null ? this._nullItems : (this._items[ns] || null);\n /**\n * 2. If candidates list is null, then create a new list with prefix as the\n * only item in the list, and associate that list with a new key ns in map.\n * 3. Otherwise, append prefix to the end of candidates list.\n *\n * _Note:_ The steps in retrieve a preferred prefix string use the list to\n * track the most recently used (MRU) prefix associated with a given\n * namespace, which will be the prefix at the end of the list. This list\n * may contain duplicates of the same prefix value seen earlier\n * (and that's OK).\n */\n if (ns !== null && candidatesList === null) {\n this._items[ns] = [prefix];\n }\n else {\n candidatesList.push(prefix);\n }\n };\n return NamespacePrefixMap;\n}());\nexports.NamespacePrefixMap = NamespacePrefixMap;\n//# sourceMappingURL=NamespacePrefixMap.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar LocalNameSet_1 = require(\"./LocalNameSet\");\nvar NamespacePrefixMap_1 = require(\"./NamespacePrefixMap\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents an XML serializer.\n *\n * Implements: https://www.w3.org/TR/DOM-Parsing/#serializing\n */\nvar XMLSerializerImpl = /** @class */ (function () {\n function XMLSerializerImpl() {\n }\n /** @inheritdoc */\n XMLSerializerImpl.prototype.serializeToString = function (root) {\n /**\n * The serializeToString(root) method must produce an XML serialization\n * of root passing a value of false for the require well-formed parameter,\n * and return the result.\n */\n return this._xmlSerialization(root, false);\n };\n /**\n * Produces an XML serialization of the given node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._xmlSerialization = function (node, requireWellFormed) {\n // To increase performance, use a namespace-aware serializer only if the\n // document has namespaced elements\n if (node._nodeDocument === undefined || node._nodeDocument._hasNamespaces) {\n /** From: https://w3c.github.io/DOM-Parsing/#xml-serialization\n *\n * 1. Let namespace be a context namespace with value null.\n * The context namespace tracks the XML serialization algorithm's current\n * default namespace. The context namespace is changed when either an Element\n * Node has a default namespace declaration, or the algorithm generates a\n * default namespace declaration for the Element Node to match its own\n * namespace. The algorithm assumes no namespace (null) to start.\n * 2. Let prefix map be a new namespace prefix map.\n * 3. Add the XML namespace with prefix value \"xml\" to prefix map.\n * 4. Let prefix index be a generated namespace prefix index with value 1.\n * The generated namespace prefix index is used to generate a new unique\n * prefix value when no suitable existing namespace prefix is available to\n * serialize a node's namespaceURI (or the namespaceURI of one of node's\n * attributes). See the generate a prefix algorithm.\n */\n var namespace = null;\n var prefixMap = new NamespacePrefixMap_1.NamespacePrefixMap();\n prefixMap.set(\"xml\", infra_1.namespace.XML);\n var prefixIndex = { value: 1 };\n /**\n * 5. Return the result of running the XML serialization algorithm on node\n * passing the context namespace namespace, namespace prefix map prefix map,\n * generated namespace prefix index reference to prefix index, and the\n * flag require well-formed. If an exception occurs during the execution\n * of the algorithm, then catch that exception and throw an\n * \"InvalidStateError\" DOMException.\n */\n try {\n return this._serializeNodeNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n }\n catch (_a) {\n throw new DOMException_1.InvalidStateError();\n }\n }\n else {\n try {\n return this._serializeNode(node, requireWellFormed);\n }\n catch (_b) {\n throw new DOMException_1.InvalidStateError();\n }\n }\n };\n /**\n * Produces an XML serialization of a node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeNodeNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n switch (node.nodeType) {\n case interfaces_1.NodeType.Element:\n return this._serializeElementNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n case interfaces_1.NodeType.Document:\n return this._serializeDocumentNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n case interfaces_1.NodeType.Comment:\n return this._serializeComment(node, requireWellFormed);\n case interfaces_1.NodeType.Text:\n return this._serializeText(node, requireWellFormed);\n case interfaces_1.NodeType.DocumentFragment:\n return this._serializeDocumentFragmentNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n case interfaces_1.NodeType.DocumentType:\n return this._serializeDocumentType(node, requireWellFormed);\n case interfaces_1.NodeType.ProcessingInstruction:\n return this._serializeProcessingInstruction(node, requireWellFormed);\n case interfaces_1.NodeType.CData:\n return this._serializeCData(node, requireWellFormed);\n default:\n throw new Error(\"Unknown node type: \" + node.nodeType);\n }\n };\n /**\n * Produces an XML serialization of a node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeNode = function (node, requireWellFormed) {\n switch (node.nodeType) {\n case interfaces_1.NodeType.Element:\n return this._serializeElement(node, requireWellFormed);\n case interfaces_1.NodeType.Document:\n return this._serializeDocument(node, requireWellFormed);\n case interfaces_1.NodeType.Comment:\n return this._serializeComment(node, requireWellFormed);\n case interfaces_1.NodeType.Text:\n return this._serializeText(node, requireWellFormed);\n case interfaces_1.NodeType.DocumentFragment:\n return this._serializeDocumentFragment(node, requireWellFormed);\n case interfaces_1.NodeType.DocumentType:\n return this._serializeDocumentType(node, requireWellFormed);\n case interfaces_1.NodeType.ProcessingInstruction:\n return this._serializeProcessingInstruction(node, requireWellFormed);\n case interfaces_1.NodeType.CData:\n return this._serializeCData(node, requireWellFormed);\n default:\n throw new Error(\"Unknown node type: \" + node.nodeType);\n }\n };\n /**\n * Produces an XML serialization of an element node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeElementNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n var e_1, _a;\n /**\n * From: https://w3c.github.io/DOM-Parsing/#xml-serializing-an-element-node\n *\n * 1. If the require well-formed flag is set (its value is true), and this\n * node's localName attribute contains the character \":\" (U+003A COLON) or\n * does not match the XML Name production, then throw an exception; the\n * serialization of this node would not be a well-formed element.\n */\n if (requireWellFormed && (node.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(node.localName))) {\n throw new Error(\"Node local name contains invalid characters (well-formed required).\");\n }\n /**\n * 2. Let markup be the string \"<\" (U+003C LESS-THAN SIGN).\n * 3. Let qualified name be an empty string.\n * 4. Let skip end tag be a boolean flag with value false.\n * 5. Let ignore namespace definition attribute be a boolean flag with value\n * false.\n * 6. Given prefix map, copy a namespace prefix map and let map be the\n * result.\n * 7. Let local prefixes map be an empty map. The map has unique Node prefix\n * strings as its keys, with corresponding namespaceURI Node values as the\n * map's key values (in this map, the null namespace is represented by the\n * empty string).\n *\n * _Note:_ This map is local to each element. It is used to ensure there\n * are no conflicting prefixes should a new namespace prefix attribute need\n * to be generated. It is also used to enable skipping of duplicate prefix\n * definitions when writing an element's attributes: the map allows the\n * algorithm to distinguish between a prefix in the namespace prefix map\n * that might be locally-defined (to the current Element) and one that is\n * not.\n * 8. Let local default namespace be the result of recording the namespace\n * information for node given map and local prefixes map.\n *\n * _Note:_ The above step will update map with any found namespace prefix\n * definitions, add the found prefix definitions to the local prefixes map\n * and return a local default namespace value defined by a default namespace\n * attribute if one exists. Otherwise it returns null.\n * 9. Let inherited ns be a copy of namespace.\n * 10. Let ns be the value of node's namespaceURI attribute.\n */\n var markup = \"<\";\n var qualifiedName = '';\n var skipEndTag = false;\n var ignoreNamespaceDefinitionAttribute = false;\n var map = prefixMap.copy();\n var localPrefixesMap = {};\n var localDefaultNamespace = this._recordNamespaceInformation(node, map, localPrefixesMap);\n var inheritedNS = namespace;\n var ns = node.namespaceURI;\n /** 11. If inherited ns is equal to ns, then: */\n if (inheritedNS === ns) {\n /**\n * 11.1. If local default namespace is not null, then set ignore\n * namespace definition attribute to true.\n */\n if (localDefaultNamespace !== null) {\n ignoreNamespaceDefinitionAttribute = true;\n }\n /**\n * 11.2. If ns is the XML namespace, then append to qualified name the\n * concatenation of the string \"xml:\" and the value of node's localName.\n * 11.3. Otherwise, append to qualified name the value of node's\n * localName. The node's prefix if it exists, is dropped.\n */\n if (ns === infra_1.namespace.XML) {\n qualifiedName = 'xml:' + node.localName;\n }\n else {\n qualifiedName = node.localName;\n }\n /** 11.4. Append the value of qualified name to markup. */\n markup += qualifiedName;\n }\n else {\n /**\n * 12. Otherwise, inherited ns is not equal to ns (the node's own\n * namespace is different from the context namespace of its parent).\n * Run these sub-steps:\n *\n * 12.1. Let prefix be the value of node's prefix attribute.\n * 12.2. Let candidate prefix be the result of retrieving a preferred\n * prefix string prefix from map given namespace ns. The above may return\n * null if no namespace key ns exists in map.\n */\n var prefix = node.prefix;\n /**\n * We don't need to run \"retrieving a preferred prefix string\" algorithm if\n * the element has no prefix and its namespace matches to the default\n * namespace.\n * See: https://github.com/web-platform-tests/wpt/pull/16703\n */\n var candidatePrefix = null;\n if (prefix !== null || ns !== localDefaultNamespace) {\n candidatePrefix = map.get(prefix, ns);\n }\n /**\n * 12.3. If the value of prefix matches \"xmlns\", then run the following\n * steps:\n */\n if (prefix === \"xmlns\") {\n /**\n * 12.3.1. If the require well-formed flag is set, then throw an error.\n * An Element with prefix \"xmlns\" will not legally round-trip in a\n * conforming XML parser.\n */\n if (requireWellFormed) {\n throw new Error(\"An element cannot have the 'xmlns' prefix (well-formed required).\");\n }\n /**\n * 12.3.2. Let candidate prefix be the value of prefix.\n */\n candidatePrefix = prefix;\n }\n /**\n * 12.4.Found a suitable namespace prefix: if candidate prefix is not\n * null (a namespace prefix is defined which maps to ns), then:\n */\n if (candidatePrefix !== null) {\n /**\n * The following may serialize a different prefix than the Element's\n * existing prefix if it already had one. However, the retrieving a\n * preferred prefix string algorithm already tried to match the\n * existing prefix if possible.\n *\n * 12.4.1. Append to qualified name the concatenation of candidate\n * prefix, \":\" (U+003A COLON), and node's localName. There exists on\n * this node or the node's ancestry a namespace prefix definition that\n * defines the node's namespace.\n * 12.4.2. If the local default namespace is not null (there exists a\n * locally-defined default namespace declaration attribute) and its\n * value is not the XML namespace, then let inherited ns get the value\n * of local default namespace unless the local default namespace is the\n * empty string in which case let it get null (the context namespace\n * is changed to the declared default, rather than this node's own\n * namespace).\n *\n * _Note:_ Any default namespace definitions or namespace prefixes that\n * define the XML namespace are omitted when serializing this node's\n * attributes.\n */\n qualifiedName = candidatePrefix + ':' + node.localName;\n if (localDefaultNamespace !== null && localDefaultNamespace !== infra_1.namespace.XML) {\n inheritedNS = localDefaultNamespace || null;\n }\n /**\n * 12.4.3. Append the value of qualified name to markup.\n */\n markup += qualifiedName;\n /** 12.5. Otherwise, if prefix is not null, then: */\n }\n else if (prefix !== null) {\n /**\n * _Note:_ By this step, there is no namespace or prefix mapping\n * declaration in this node (or any parent node visited by this\n * algorithm) that defines prefix otherwise the step labelled Found\n * a suitable namespace prefix would have been followed. The sub-steps\n * that follow will create a new namespace prefix declaration for prefix\n * and ensure that prefix does not conflict with an existing namespace\n * prefix declaration of the same localName in node's attribute list.\n *\n * 12.5.1. If the local prefixes map contains a key matching prefix,\n * then let prefix be the result of generating a prefix providing as\n * input map, ns, and prefix index.\n */\n if (prefix in localPrefixesMap) {\n prefix = this._generatePrefix(ns, map, prefixIndex);\n }\n /**\n * 12.5.2. Add prefix to map given namespace ns.\n * 12.5.3. Append to qualified name the concatenation of prefix, \":\"\n * (U+003A COLON), and node's localName.\n * 12.5.4. Append the value of qualified name to markup.\n */\n map.set(prefix, ns);\n qualifiedName += prefix + ':' + node.localName;\n markup += qualifiedName;\n /**\n * 12.5.5. Append the following to markup, in the order listed:\n *\n * _Note:_ The following serializes a namespace prefix declaration for\n * prefix which was just added to the map.\n *\n * 12.5.5.1. \" \" (U+0020 SPACE);\n * 12.5.5.2. The string \"xmlns:\";\n * 12.5.5.3. The value of prefix;\n * 12.5.5.4. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 12.5.5.5. The result of serializing an attribute value given ns and\n * the require well-formed flag as input;\n * 12.5.5.6. \"\"\" (U+0022 QUOTATION MARK).\n */\n markup += \" xmlns:\" + prefix + \"=\\\"\" +\n this._serializeAttributeValue(ns, requireWellFormed) + \"\\\"\";\n /**\n * 12.5.5.7. If local default namespace is not null (there exists a\n * locally-defined default namespace declaration attribute), then\n * let inherited ns get the value of local default namespace unless the\n * local default namespace is the empty string in which case let it get\n * null.\n */\n if (localDefaultNamespace !== null) {\n inheritedNS = localDefaultNamespace || null;\n }\n /**\n * 12.6. Otherwise, if local default namespace is null, or local\n * default namespace is not null and its value is not equal to ns, then:\n */\n }\n else if (localDefaultNamespace === null ||\n (localDefaultNamespace !== null && localDefaultNamespace !== ns)) {\n /**\n * _Note:_ At this point, the namespace for this node still needs to be\n * serialized, but there's no prefix (or candidate prefix) available; the\n * following uses the default namespace declaration to define the\n * namespace--optionally replacing an existing default declaration\n * if present.\n *\n * 12.6.1. Set the ignore namespace definition attribute flag to true.\n * 12.6.2. Append to qualified name the value of node's localName.\n * 12.6.3. Let the value of inherited ns be ns.\n *\n * _Note:_ The new default namespace will be used in the serialization\n * to define this node's namespace and act as the context namespace for\n * its children.\n */\n ignoreNamespaceDefinitionAttribute = true;\n qualifiedName += node.localName;\n inheritedNS = ns;\n /**\n * 12.6.4. Append the value of qualified name to markup.\n */\n markup += qualifiedName;\n /**\n * 12.6.5. Append the following to markup, in the order listed:\n *\n * _Note:_ The following serializes the new (or replacement) default\n * namespace definition.\n *\n * 12.6.5.1. \" \" (U+0020 SPACE);\n * 12.6.5.2. The string \"xmlns\";\n * 12.6.5.3. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 12.6.5.4. The result of serializing an attribute value given ns\n * and the require well-formed flag as input;\n * 12.6.5.5. \"\"\" (U+0022 QUOTATION MARK).\n */\n markup += \" xmlns\" + \"=\\\"\" +\n this._serializeAttributeValue(ns, requireWellFormed) + \"\\\"\";\n /**\n * 12.7. Otherwise, the node has a local default namespace that matches\n * ns. Append to qualified name the value of node's localName, let the\n * value of inherited ns be ns, and append the value of qualified name\n * to markup.\n */\n }\n else {\n qualifiedName += node.localName;\n inheritedNS = ns;\n markup += qualifiedName;\n }\n }\n /**\n * 13. Append to markup the result of the XML serialization of node's\n * attributes given map, prefix index, local prefixes map, ignore namespace\n * definition attribute flag, and require well-formed flag.\n */\n markup += this._serializeAttributesNS(node, map, prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, requireWellFormed);\n /**\n * 14. If ns is the HTML namespace, and the node's list of children is\n * empty, and the node's localName matches any one of the following void\n * elements: \"area\", \"base\", \"basefont\", \"bgsound\", \"br\", \"col\", \"embed\",\n * \"frame\", \"hr\", \"img\", \"input\", \"keygen\", \"link\", \"menuitem\", \"meta\",\n * \"param\", \"source\", \"track\", \"wbr\"; then append the following to markup,\n * in the order listed:\n * 14.1. \" \" (U+0020 SPACE);\n * 14.2. \"/\" (U+002F SOLIDUS).\n * and set the skip end tag flag to true.\n * 15. If ns is not the HTML namespace, and the node's list of children is\n * empty, then append \"/\" (U+002F SOLIDUS) to markup and set the skip end\n * tag flag to true.\n * 16. Append \">\" (U+003E GREATER-THAN SIGN) to markup.\n */\n var isHTML = (ns === infra_1.namespace.HTML);\n if (isHTML && node.childNodes.length === 0 &&\n XMLSerializerImpl._VoidElementNames.has(node.localName)) {\n markup += \" /\";\n skipEndTag = true;\n }\n else if (!isHTML && node.childNodes.length === 0) {\n markup += \"/\";\n skipEndTag = true;\n }\n markup += \">\";\n /**\n * 17. If the value of skip end tag is true, then return the value of markup\n * and skip the remaining steps. The node is a leaf-node.\n */\n if (skipEndTag)\n return markup;\n /**\n * 18. If ns is the HTML namespace, and the node's localName matches the\n * string \"template\", then this is a template element. Append to markup the\n * result of XML serializing a DocumentFragment node given the template\n * element's template contents (a DocumentFragment), providing inherited\n * ns, map, prefix index, and the require well-formed flag.\n *\n * _Note:_ This allows template content to round-trip, given the rules for\n * parsing XHTML documents.\n *\n * 19. Otherwise, append to markup the result of running the XML\n * serialization algorithm on each of node's children, in tree order,\n * providing inherited ns, map, prefix index, and the require well-formed\n * flag.\n */\n if (isHTML && node.localName === \"template\") {\n // TODO: serialize template contents\n }\n else {\n try {\n for (var _b = __values(node._children || node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n markup += this._serializeNodeNS(childNode, inheritedNS, map, prefixIndex, requireWellFormed);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n /**\n * 20. Append the following to markup, in the order listed:\n * 20.1. \"\" (U+003E GREATER-THAN SIGN).\n */\n markup += \"\";\n /**\n * 21. Return the value of markup.\n */\n return markup;\n };\n /**\n * Produces an XML serialization of a document node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeDocumentNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n var e_2, _a;\n /**\n * If the require well-formed flag is set (its value is true), and this node\n * has no documentElement (the documentElement attribute's value is null),\n * then throw an exception; the serialization of this node would not be a\n * well-formed document.\n */\n if (requireWellFormed && node.documentElement === null) {\n throw new Error(\"Missing document element (well-formed required).\");\n }\n /**\n * Otherwise, run the following steps:\n * 1. Let serialized document be an empty string.\n * 2. For each child child of node, in tree order, run the XML\n * serialization algorithm on the child passing along the provided\n * arguments, and append the result to serialized document.\n *\n * _Note:_ This will serialize any number of ProcessingInstruction and\n * Comment nodes both before and after the Document's documentElement node,\n * including at most one DocumentType node. (Text nodes are not allowed as\n * children of the Document.)\n *\n * 3. Return the value of serialized document.\n */\n var serializedDocument = \"\";\n try {\n for (var _b = __values(node._children || node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n serializedDocument += this._serializeNodeNS(childNode, namespace, prefixMap, prefixIndex, requireWellFormed);\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_2) throw e_2.error; }\n }\n return serializedDocument;\n };\n /**\n * Produces an XML serialization of a comment node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeComment = function (node, requireWellFormed) {\n /**\n * If the require well-formed flag is set (its value is true), and node's\n * data contains characters that are not matched by the XML Char production\n * or contains \"--\" (two adjacent U+002D HYPHEN-MINUS characters) or that\n * ends with a \"-\" (U+002D HYPHEN-MINUS) character, then throw an exception;\n * the serialization of this node's data would not be well-formed.\n */\n if (requireWellFormed && (!algorithm_1.xml_isLegalChar(node.data) ||\n node.data.indexOf(\"--\") !== -1 || node.data.endsWith(\"-\"))) {\n throw new Error(\"Comment data contains invalid characters (well-formed required).\");\n }\n /**\n * Otherwise, return the concatenation of \"\".\n */\n return \"\";\n };\n /**\n * Produces an XML serialization of a text node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n * @param level - current depth of the XML tree\n */\n XMLSerializerImpl.prototype._serializeText = function (node, requireWellFormed) {\n /**\n * 1. If the require well-formed flag is set (its value is true), and\n * node's data contains characters that are not matched by the XML Char\n * production, then throw an exception; the serialization of this node's\n * data would not be well-formed.\n */\n if (requireWellFormed && !algorithm_1.xml_isLegalChar(node.data)) {\n throw new Error(\"Text data contains invalid characters (well-formed required).\");\n }\n /**\n * 2. Let markup be the value of node's data.\n * 3. Replace any occurrences of \"&\" in markup by \"&\".\n * 4. Replace any occurrences of \"<\" in markup by \"<\".\n * 5. Replace any occurrences of \">\" in markup by \">\".\n * 6. Return the value of markup.\n */\n var result = \"\";\n for (var i = 0; i < node.data.length; i++) {\n var c = node.data[i];\n if (c === \"&\")\n result += \"&\";\n else if (c === \"<\")\n result += \"<\";\n else if (c === \">\")\n result += \">\";\n else\n result += c;\n }\n return result;\n };\n /**\n * Produces an XML serialization of a document fragment node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeDocumentFragmentNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n var e_3, _a;\n /**\n * 1. Let markup the empty string.\n * 2. For each child child of node, in tree order, run the XML serialization\n * algorithm on the child given namespace, prefix map, a reference to prefix\n * index, and flag require well-formed. Concatenate the result to markup.\n * 3. Return the value of markup.\n */\n var markup = \"\";\n try {\n for (var _b = __values(node._children || node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n markup += this._serializeNodeNS(childNode, namespace, prefixMap, prefixIndex, requireWellFormed);\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_3) throw e_3.error; }\n }\n return markup;\n };\n /**\n * Produces an XML serialization of a document type node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeDocumentType = function (node, requireWellFormed) {\n /**\n * 1. If the require well-formed flag is true and the node's publicId\n * attribute contains characters that are not matched by the XML PubidChar\n * production, then throw an exception; the serialization of this node\n * would not be a well-formed document type declaration.\n */\n if (requireWellFormed && !algorithm_1.xml_isPubidChar(node.publicId)) {\n throw new Error(\"DocType public identifier does not match PubidChar construct (well-formed required).\");\n }\n /**\n * 2. If the require well-formed flag is true and the node's systemId\n * attribute contains characters that are not matched by the XML Char\n * production or that contains both a \"\"\" (U+0022 QUOTATION MARK) and a\n * \"'\" (U+0027 APOSTROPHE), then throw an exception; the serialization\n * of this node would not be a well-formed document type declaration.\n */\n if (requireWellFormed &&\n (!algorithm_1.xml_isLegalChar(node.systemId) ||\n (node.systemId.indexOf('\"') !== -1 && node.systemId.indexOf(\"'\") !== -1))) {\n throw new Error(\"DocType system identifier contains invalid characters (well-formed required).\");\n }\n /**\n * 3. Let markup be an empty string.\n * 4. Append the string \"\" (U+003E GREATER-THAN SIGN) to markup.\n * 11. Return the value of markup.\n */\n return node.publicId && node.systemId ?\n \"\"\n : node.publicId ?\n \"\"\n : node.systemId ?\n \"\"\n :\n \"\";\n };\n /**\n * Produces an XML serialization of a processing instruction node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeProcessingInstruction = function (node, requireWellFormed) {\n /**\n * 1. If the require well-formed flag is set (its value is true), and node's\n * target contains a \":\" (U+003A COLON) character or is an ASCII\n * case-insensitive match for the string \"xml\", then throw an exception;\n * the serialization of this node's target would not be well-formed.\n */\n if (requireWellFormed && (node.target.indexOf(\":\") !== -1 || (/^xml$/i).test(node.target))) {\n throw new Error(\"Processing instruction target contains invalid characters (well-formed required).\");\n }\n /**\n * 2. If the require well-formed flag is set (its value is true), and node's\n * data contains characters that are not matched by the XML Char production\n * or contains the string \"?>\" (U+003F QUESTION MARK,\n * U+003E GREATER-THAN SIGN), then throw an exception; the serialization of\n * this node's data would not be well-formed.\n */\n if (requireWellFormed && (!algorithm_1.xml_isLegalChar(node.data) ||\n node.data.indexOf(\"?>\") !== -1)) {\n throw new Error(\"Processing instruction data contains invalid characters (well-formed required).\");\n }\n /**\n * 3. Let markup be the concatenation of the following, in the order listed:\n * 3.1. \"\" (U+003F QUESTION MARK, U+003E GREATER-THAN SIGN).\n * 4. Return the value of markup.\n */\n return \"\";\n };\n /**\n * Produces an XML serialization of a CDATA node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeCData = function (node, requireWellFormed) {\n if (requireWellFormed && (node.data.indexOf(\"]]>\") !== -1)) {\n throw new Error(\"CDATA contains invalid characters (well-formed required).\");\n }\n return \"\";\n };\n /**\n * Produces an XML serialization of the attributes of an element node.\n *\n * @param node - node to serialize\n * @param map - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param localPrefixesMap - local prefixes map\n * @param ignoreNamespaceDefinitionAttribute - whether to ignore namespace\n * attributes\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeAttributesNS = function (node, map, prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, requireWellFormed) {\n var e_4, _a;\n /**\n * 1. Let result be the empty string.\n * 2. Let localname set be a new empty namespace localname set. This\n * localname set will contain tuples of unique attribute namespaceURI and\n * localName pairs, and is populated as each attr is processed. This set is\n * used to [optionally] enforce the well-formed constraint that an element\n * cannot have two attributes with the same namespaceURI and localName.\n * This can occur when two otherwise identical attributes on the same\n * element differ only by their prefix values.\n */\n var result = \"\";\n var localNameSet = requireWellFormed ? new LocalNameSet_1.LocalNameSet() : undefined;\n try {\n /**\n * 3. Loop: For each attribute attr in element's attributes, in the order\n * they are specified in the element's attribute list:\n */\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n // Optimize common case\n if (!ignoreNamespaceDefinitionAttribute && !requireWellFormed && attr.namespaceURI === null) {\n result += \" \" + attr.localName + \"=\\\"\" +\n this._serializeAttributeValue(attr.value, requireWellFormed) + \"\\\"\";\n continue;\n }\n /**\n * 3.1. If the require well-formed flag is set (its value is true), and the\n * localname set contains a tuple whose values match those of a new tuple\n * consisting of attr's namespaceURI attribute and localName attribute,\n * then throw an exception; the serialization of this attr would fail to\n * produce a well-formed element serialization.\n */\n if (requireWellFormed && localNameSet && localNameSet.has(attr.namespaceURI, attr.localName)) {\n throw new Error(\"Element contains duplicate attributes (well-formed required).\");\n }\n /**\n * 3.2. Create a new tuple consisting of attr's namespaceURI attribute and\n * localName attribute, and add it to the localname set.\n * 3.3. Let attribute namespace be the value of attr's namespaceURI value.\n * 3.4. Let candidate prefix be null.\n */\n if (requireWellFormed && localNameSet)\n localNameSet.set(attr.namespaceURI, attr.localName);\n var attributeNamespace = attr.namespaceURI;\n var candidatePrefix = null;\n /** 3.5. If attribute namespace is not null, then run these sub-steps: */\n if (attributeNamespace !== null) {\n /**\n * 3.5.1. Let candidate prefix be the result of retrieving a preferred\n * prefix string from map given namespace attribute namespace with\n * preferred prefix being attr's prefix value.\n */\n candidatePrefix = map.get(attr.prefix, attributeNamespace);\n /**\n * 3.5.2. If the value of attribute namespace is the XMLNS namespace,\n * then run these steps:\n */\n if (attributeNamespace === infra_1.namespace.XMLNS) {\n /**\n * 3.5.2.1. If any of the following are true, then stop running these\n * steps and goto Loop to visit the next attribute:\n * - the attr's value is the XML namespace;\n * _Note:_ The XML namespace cannot be redeclared and survive\n * round-tripping (unless it defines the prefix \"xml\"). To avoid this\n * problem, this algorithm always prefixes elements in the XML\n * namespace with \"xml\" and drops any related definitions as seen\n * in the above condition.\n * - the attr's prefix is null and the ignore namespace definition\n * attribute flag is true (the Element's default namespace attribute\n * should be skipped);\n * - the attr's prefix is not null and either\n * * the attr's localName is not a key contained in the local\n * prefixes map, or\n * * the attr's localName is present in the local prefixes map but\n * the value of the key does not match attr's value\n * and furthermore that the attr's localName (as the prefix to find)\n * is found in the namespace prefix map given the namespace consisting\n * of the attr's value (the current namespace prefix definition was\n * exactly defined previously--on an ancestor element not the current\n * element whose attributes are being processed).\n */\n if (attr.value === infra_1.namespace.XML ||\n (attr.prefix === null && ignoreNamespaceDefinitionAttribute) ||\n (attr.prefix !== null && (!(attr.localName in localPrefixesMap) ||\n localPrefixesMap[attr.localName] !== attr.value) &&\n map.has(attr.localName, attr.value)))\n continue;\n /**\n * 3.5.2.2. If the require well-formed flag is set (its value is true),\n * and the value of attr's value attribute matches the XMLNS\n * namespace, then throw an exception; the serialization of this\n * attribute would produce invalid XML because the XMLNS namespace\n * is reserved and cannot be applied as an element's namespace via\n * XML parsing.\n *\n * _Note:_ DOM APIs do allow creation of elements in the XMLNS\n * namespace but with strict qualifications.\n */\n if (requireWellFormed && attr.value === infra_1.namespace.XMLNS) {\n throw new Error(\"XMLNS namespace is reserved (well-formed required).\");\n }\n /**\n * 3.5.2.3. If the require well-formed flag is set (its value is true),\n * and the value of attr's value attribute is the empty string, then\n * throw an exception; namespace prefix declarations cannot be used\n * to undeclare a namespace (use a default namespace declaration\n * instead).\n */\n if (requireWellFormed && attr.value === '') {\n throw new Error(\"Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).\");\n }\n /**\n * 3.5.2.4. the attr's prefix matches the string \"xmlns\", then let\n * candidate prefix be the string \"xmlns\".\n */\n if (attr.prefix === 'xmlns')\n candidatePrefix = 'xmlns';\n /**\n * 3.5.3. Otherwise, the attribute namespace is not the XMLNS namespace.\n * Run these steps:\n *\n * _Note:_ The (candidatePrefix === null) check is not in the spec.\n * We deviate from the spec here. Otherwise a prefix is generated for\n * all attributes with namespaces.\n */\n }\n else if (candidatePrefix === null) {\n if (attr.prefix !== null &&\n (!map.hasPrefix(attr.prefix) ||\n map.has(attr.prefix, attributeNamespace))) {\n /**\n * Check if we can use the attribute's own prefix.\n * We deviate from the spec here.\n * TODO: This is not an efficient way of searching for prefixes.\n * Follow developments to the spec.\n */\n candidatePrefix = attr.prefix;\n }\n else {\n /**\n * 3.5.3.1. Let candidate prefix be the result of generating a prefix\n * providing map, attribute namespace, and prefix index as input.\n */\n candidatePrefix = this._generatePrefix(attributeNamespace, map, prefixIndex);\n }\n /**\n * 3.5.3.2. Append the following to result, in the order listed:\n * 3.5.3.2.1. \" \" (U+0020 SPACE);\n * 3.5.3.2.2. The string \"xmlns:\";\n * 3.5.3.2.3. The value of candidate prefix;\n * 3.5.3.2.4. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 3.5.3.2.5. The result of serializing an attribute value given\n * attribute namespace and the require well-formed flag as input;\n * 3.5.3.2.6. \"\"\" (U+0022 QUOTATION MARK).\n */\n result += \" xmlns:\" + candidatePrefix + \"=\\\"\" +\n this._serializeAttributeValue(attributeNamespace, requireWellFormed) + \"\\\"\";\n }\n }\n /**\n * 3.6. Append a \" \" (U+0020 SPACE) to result.\n * 3.7. If candidate prefix is not null, then append to result the\n * concatenation of candidate prefix with \":\" (U+003A COLON).\n */\n result += \" \";\n if (candidatePrefix !== null) {\n result += candidatePrefix + ':';\n }\n /**\n * 3.8. If the require well-formed flag is set (its value is true), and\n * this attr's localName attribute contains the character\n * \":\" (U+003A COLON) or does not match the XML Name production or\n * equals \"xmlns\" and attribute namespace is null, then throw an\n * exception; the serialization of this attr would not be a\n * well-formed attribute.\n */\n if (requireWellFormed && (attr.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(attr.localName) ||\n (attr.localName === \"xmlns\" && attributeNamespace === null))) {\n throw new Error(\"Attribute local name contains invalid characters (well-formed required).\");\n }\n /**\n * 3.9. Append the following strings to result, in the order listed:\n * 3.9.1. The value of attr's localName;\n * 3.9.2. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 3.9.3. The result of serializing an attribute value given attr's value\n * attribute and the require well-formed flag as input;\n * 3.9.4. \"\"\" (U+0022 QUOTATION MARK).\n */\n result += attr.localName + \"=\\\"\" +\n this._serializeAttributeValue(attr.value, requireWellFormed) + \"\\\"\";\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_4) throw e_4.error; }\n }\n /**\n * 4. Return the value of result.\n */\n return result;\n };\n /**\n * Records namespace information for the given element and returns the\n * default namespace attribute value.\n *\n * @param node - element node to process\n * @param map - namespace prefix map\n * @param localPrefixesMap - local prefixes map\n */\n XMLSerializerImpl.prototype._recordNamespaceInformation = function (node, map, localPrefixesMap) {\n var e_5, _a;\n /**\n * 1. Let default namespace attr value be null.\n */\n var defaultNamespaceAttrValue = null;\n try {\n /**\n * 2. Main: For each attribute attr in element's attributes, in the order\n * they are specified in the element's attribute list:\n */\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n /**\n * _Note:_ The following conditional steps find namespace prefixes. Only\n * attributes in the XMLNS namespace are considered (e.g., attributes made\n * to look like namespace declarations via\n * setAttribute(\"xmlns:pretend-prefix\", \"pretend-namespace\") are not\n * included).\n */\n /** 2.1. Let attribute namespace be the value of attr's namespaceURI value. */\n var attributeNamespace = attr.namespaceURI;\n /** 2.2. Let attribute prefix be the value of attr's prefix. */\n var attributePrefix = attr.prefix;\n /** 2.3. If the attribute namespace is the XMLNS namespace, then: */\n if (attributeNamespace === infra_1.namespace.XMLNS) {\n /**\n * 2.3.1. If attribute prefix is null, then attr is a default namespace\n * declaration. Set the default namespace attr value to attr's value and\n * stop running these steps, returning to Main to visit the next\n * attribute.\n */\n if (attributePrefix === null) {\n defaultNamespaceAttrValue = attr.value;\n continue;\n /**\n * 2.3.2. Otherwise, the attribute prefix is not null and attr is a\n * namespace prefix definition. Run the following steps:\n */\n }\n else {\n /** 2.3.2.1. Let prefix definition be the value of attr's localName. */\n var prefixDefinition = attr.localName;\n /** 2.3.2.2. Let namespace definition be the value of attr's value. */\n var namespaceDefinition = attr.value;\n /**\n * 2.3.2.3. If namespace definition is the XML namespace, then stop\n * running these steps, and return to Main to visit the next\n * attribute.\n *\n * _Note:_ XML namespace definitions in prefixes are completely\n * ignored (in order to avoid unnecessary work when there might be\n * prefix conflicts). XML namespaced elements are always handled\n * uniformly by prefixing (and overriding if necessary) the element's\n * localname with the reserved \"xml\" prefix.\n */\n if (namespaceDefinition === infra_1.namespace.XML) {\n continue;\n }\n /**\n * 2.3.2.4. If namespace definition is the empty string (the\n * declarative form of having no namespace), then let namespace\n * definition be null instead.\n */\n if (namespaceDefinition === '') {\n namespaceDefinition = null;\n }\n /**\n * 2.3.2.5. If prefix definition is found in map given the namespace\n * namespace definition, then stop running these steps, and return to\n * Main to visit the next attribute.\n *\n * _Note:_ This step avoids adding duplicate prefix definitions for\n * the same namespace in the map. This has the side-effect of avoiding\n * later serialization of duplicate namespace prefix declarations in\n * any descendant nodes.\n */\n if (map.has(prefixDefinition, namespaceDefinition)) {\n continue;\n }\n /**\n * 2.3.2.6. Add the prefix prefix definition to map given namespace\n * namespace definition.\n */\n map.set(prefixDefinition, namespaceDefinition);\n /**\n * 2.3.2.7. Add the value of prefix definition as a new key to the\n * local prefixes map, with the namespace definition as the key's\n * value replacing the value of null with the empty string if\n * applicable.\n */\n localPrefixesMap[prefixDefinition] = namespaceDefinition || '';\n }\n }\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_5) throw e_5.error; }\n }\n /**\n * 3. Return the value of default namespace attr value.\n *\n * _Note:_ The empty string is a legitimate return value and is not\n * converted to null.\n */\n return defaultNamespaceAttrValue;\n };\n /**\n * Generates a new prefix for the given namespace.\n *\n * @param newNamespace - a namespace to generate prefix for\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n */\n XMLSerializerImpl.prototype._generatePrefix = function (newNamespace, prefixMap, prefixIndex) {\n /**\n * 1. Let generated prefix be the concatenation of the string \"ns\" and the\n * current numerical value of prefix index.\n * 2. Let the value of prefix index be incremented by one.\n * 3. Add to map the generated prefix given the new namespace namespace.\n * 4. Return the value of generated prefix.\n */\n var generatedPrefix = \"ns\" + prefixIndex.value;\n prefixIndex.value++;\n prefixMap.set(generatedPrefix, newNamespace);\n return generatedPrefix;\n };\n /**\n * Produces an XML serialization of an attribute value.\n *\n * @param value - attribute value\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeAttributeValue = function (value, requireWellFormed) {\n /**\n * From: https://w3c.github.io/DOM-Parsing/#dfn-serializing-an-attribute-value\n *\n * 1. If the require well-formed flag is set (its value is true), and\n * attribute value contains characters that are not matched by the XML Char\n * production, then throw an exception; the serialization of this attribute\n * value would fail to produce a well-formed element serialization.\n */\n if (requireWellFormed && value !== null && !algorithm_1.xml_isLegalChar(value)) {\n throw new Error(\"Invalid characters in attribute value.\");\n }\n /**\n * 2. If attribute value is null, then return the empty string.\n */\n if (value === null)\n return \"\";\n /**\n * 3. Otherwise, attribute value is a string. Return the value of attribute\n * value, first replacing any occurrences of the following:\n * - \"&\" with \"&\"\n * - \"\"\" with \""\"\n * - \"<\" with \"<\"\n * - \">\" with \">\"\n * NOTE\n * This matches behavior present in browsers, and goes above and beyond the\n * grammar requirement in the XML specification's AttValue production by\n * also replacing \">\" characters.\n */\n var result = \"\";\n for (var i = 0; i < value.length; i++) {\n var c = value[i];\n if (c === \"\\\"\")\n result += \""\";\n else if (c === \"&\")\n result += \"&\";\n else if (c === \"<\")\n result += \"<\";\n else if (c === \">\")\n result += \">\";\n else\n result += c;\n }\n return result;\n };\n /**\n * Produces an XML serialization of an element node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeElement = function (node, requireWellFormed) {\n var e_6, _a;\n /**\n * From: https://w3c.github.io/DOM-Parsing/#xml-serializing-an-element-node\n *\n * 1. If the require well-formed flag is set (its value is true), and this\n * node's localName attribute contains the character \":\" (U+003A COLON) or\n * does not match the XML Name production, then throw an exception; the\n * serialization of this node would not be a well-formed element.\n */\n if (requireWellFormed && (node.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(node.localName))) {\n throw new Error(\"Node local name contains invalid characters (well-formed required).\");\n }\n /**\n * 2. Let markup be the string \"<\" (U+003C LESS-THAN SIGN).\n * 3. Let qualified name be an empty string.\n * 4. Let skip end tag be a boolean flag with value false.\n * 5. Let ignore namespace definition attribute be a boolean flag with value\n * false.\n * 6. Given prefix map, copy a namespace prefix map and let map be the\n * result.\n * 7. Let local prefixes map be an empty map. The map has unique Node prefix\n * strings as its keys, with corresponding namespaceURI Node values as the\n * map's key values (in this map, the null namespace is represented by the\n * empty string).\n *\n * _Note:_ This map is local to each element. It is used to ensure there\n * are no conflicting prefixes should a new namespace prefix attribute need\n * to be generated. It is also used to enable skipping of duplicate prefix\n * definitions when writing an element's attributes: the map allows the\n * algorithm to distinguish between a prefix in the namespace prefix map\n * that might be locally-defined (to the current Element) and one that is\n * not.\n * 8. Let local default namespace be the result of recording the namespace\n * information for node given map and local prefixes map.\n *\n * _Note:_ The above step will update map with any found namespace prefix\n * definitions, add the found prefix definitions to the local prefixes map\n * and return a local default namespace value defined by a default namespace\n * attribute if one exists. Otherwise it returns null.\n * 9. Let inherited ns be a copy of namespace.\n * 10. Let ns be the value of node's namespaceURI attribute.\n */\n var skipEndTag = false;\n /** 11. If inherited ns is equal to ns, then: */\n /**\n * 11.1. If local default namespace is not null, then set ignore\n * namespace definition attribute to true.\n * 11.2. If ns is the XML namespace, then append to qualified name the\n * concatenation of the string \"xml:\" and the value of node's localName.\n * 11.3. Otherwise, append to qualified name the value of node's\n * localName. The node's prefix if it exists, is dropped.\n */\n var qualifiedName = node.localName;\n /** 11.4. Append the value of qualified name to markup. */\n var markup = \"<\" + qualifiedName;\n /**\n * 13. Append to markup the result of the XML serialization of node's\n * attributes given map, prefix index, local prefixes map, ignore namespace\n * definition attribute flag, and require well-formed flag.\n */\n markup += this._serializeAttributes(node, requireWellFormed);\n /**\n * 14. If ns is the HTML namespace, and the node's list of children is\n * empty, and the node's localName matches any one of the following void\n * elements: \"area\", \"base\", \"basefont\", \"bgsound\", \"br\", \"col\", \"embed\",\n * \"frame\", \"hr\", \"img\", \"input\", \"keygen\", \"link\", \"menuitem\", \"meta\",\n * \"param\", \"source\", \"track\", \"wbr\"; then append the following to markup,\n * in the order listed:\n * 14.1. \" \" (U+0020 SPACE);\n * 14.2. \"/\" (U+002F SOLIDUS).\n * and set the skip end tag flag to true.\n * 15. If ns is not the HTML namespace, and the node's list of children is\n * empty, then append \"/\" (U+002F SOLIDUS) to markup and set the skip end\n * tag flag to true.\n * 16. Append \">\" (U+003E GREATER-THAN SIGN) to markup.\n */\n if (node._children.size === 0) {\n markup += \"/\";\n skipEndTag = true;\n }\n markup += \">\";\n /**\n * 17. If the value of skip end tag is true, then return the value of markup\n * and skip the remaining steps. The node is a leaf-node.\n */\n if (skipEndTag)\n return markup;\n try {\n /**\n * 18. If ns is the HTML namespace, and the node's localName matches the\n * string \"template\", then this is a template element. Append to markup the\n * result of XML serializing a DocumentFragment node given the template\n * element's template contents (a DocumentFragment), providing inherited\n * ns, map, prefix index, and the require well-formed flag.\n *\n * _Note:_ This allows template content to round-trip, given the rules for\n * parsing XHTML documents.\n *\n * 19. Otherwise, append to markup the result of running the XML\n * serialization algorithm on each of node's children, in tree order,\n * providing inherited ns, map, prefix index, and the require well-formed\n * flag.\n */\n for (var _b = __values(node._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n markup += this._serializeNode(childNode, requireWellFormed);\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_6) throw e_6.error; }\n }\n /**\n * 20. Append the following to markup, in the order listed:\n * 20.1. \"\" (U+003E GREATER-THAN SIGN).\n */\n markup += \"\";\n /**\n * 21. Return the value of markup.\n */\n return markup;\n };\n /**\n * Produces an XML serialization of a document node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeDocument = function (node, requireWellFormed) {\n var e_7, _a;\n /**\n * If the require well-formed flag is set (its value is true), and this node\n * has no documentElement (the documentElement attribute's value is null),\n * then throw an exception; the serialization of this node would not be a\n * well-formed document.\n */\n if (requireWellFormed && node.documentElement === null) {\n throw new Error(\"Missing document element (well-formed required).\");\n }\n /**\n * Otherwise, run the following steps:\n * 1. Let serialized document be an empty string.\n * 2. For each child child of node, in tree order, run the XML\n * serialization algorithm on the child passing along the provided\n * arguments, and append the result to serialized document.\n *\n * _Note:_ This will serialize any number of ProcessingInstruction and\n * Comment nodes both before and after the Document's documentElement node,\n * including at most one DocumentType node. (Text nodes are not allowed as\n * children of the Document.)\n *\n * 3. Return the value of serialized document.\n */\n var serializedDocument = \"\";\n try {\n for (var _b = __values(node._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n serializedDocument += this._serializeNode(childNode, requireWellFormed);\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_7) throw e_7.error; }\n }\n return serializedDocument;\n };\n /**\n * Produces an XML serialization of a document fragment node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeDocumentFragment = function (node, requireWellFormed) {\n var e_8, _a;\n /**\n * 1. Let markup the empty string.\n * 2. For each child child of node, in tree order, run the XML serialization\n * algorithm on the child given namespace, prefix map, a reference to prefix\n * index, and flag require well-formed. Concatenate the result to markup.\n * 3. Return the value of markup.\n */\n var markup = \"\";\n try {\n for (var _b = __values(node._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n markup += this._serializeNode(childNode, requireWellFormed);\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_8) throw e_8.error; }\n }\n return markup;\n };\n /**\n * Produces an XML serialization of the attributes of an element node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeAttributes = function (node, requireWellFormed) {\n var e_9, _a;\n /**\n * 1. Let result be the empty string.\n * 2. Let localname set be a new empty namespace localname set. This\n * localname set will contain tuples of unique attribute namespaceURI and\n * localName pairs, and is populated as each attr is processed. This set is\n * used to [optionally] enforce the well-formed constraint that an element\n * cannot have two attributes with the same namespaceURI and localName.\n * This can occur when two otherwise identical attributes on the same\n * element differ only by their prefix values.\n */\n var result = \"\";\n var localNameSet = requireWellFormed ? {} : undefined;\n try {\n /**\n * 3. Loop: For each attribute attr in element's attributes, in the order\n * they are specified in the element's attribute list:\n */\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n /**\n * 3.1. If the require well-formed flag is set (its value is true), and the\n * localname set contains a tuple whose values match those of a new tuple\n * consisting of attr's namespaceURI attribute and localName attribute,\n * then throw an exception; the serialization of this attr would fail to\n * produce a well-formed element serialization.\n */\n if (requireWellFormed && localNameSet && (attr.localName in localNameSet)) {\n throw new Error(\"Element contains duplicate attributes (well-formed required).\");\n }\n /**\n * 3.2. Create a new tuple consisting of attr's namespaceURI attribute and\n * localName attribute, and add it to the localname set.\n * 3.3. Let attribute namespace be the value of attr's namespaceURI value.\n * 3.4. Let candidate prefix be null.\n */\n if (requireWellFormed && localNameSet)\n localNameSet[attr.localName] = true;\n /** 3.5. If attribute namespace is not null, then run these sub-steps: */\n /**\n * 3.6. Append a \" \" (U+0020 SPACE) to result.\n * 3.7. If candidate prefix is not null, then append to result the\n * concatenation of candidate prefix with \":\" (U+003A COLON).\n */\n /**\n * 3.8. If the require well-formed flag is set (its value is true), and\n * this attr's localName attribute contains the character\n * \":\" (U+003A COLON) or does not match the XML Name production or\n * equals \"xmlns\" and attribute namespace is null, then throw an\n * exception; the serialization of this attr would not be a\n * well-formed attribute.\n */\n if (requireWellFormed && (attr.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(attr.localName))) {\n throw new Error(\"Attribute local name contains invalid characters (well-formed required).\");\n }\n /**\n * 3.9. Append the following strings to result, in the order listed:\n * 3.9.1. The value of attr's localName;\n * 3.9.2. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 3.9.3. The result of serializing an attribute value given attr's value\n * attribute and the require well-formed flag as input;\n * 3.9.4. \"\"\" (U+0022 QUOTATION MARK).\n */\n result += \" \" + attr.localName + \"=\\\"\" +\n this._serializeAttributeValue(attr.value, requireWellFormed) + \"\\\"\";\n }\n }\n catch (e_9_1) { e_9 = { error: e_9_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_9) throw e_9.error; }\n }\n /**\n * 4. Return the value of result.\n */\n return result;\n };\n XMLSerializerImpl._VoidElementNames = new Set(['area', 'base', 'basefont',\n 'bgsound', 'br', 'col', 'embed', 'frame', 'hr', 'img', 'input', 'keygen',\n 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr']);\n return XMLSerializerImpl;\n}());\nexports.XMLSerializerImpl = XMLSerializerImpl;\n//# sourceMappingURL=XMLSerializerImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Export classes\nvar XMLSerializerImpl_1 = require(\"./XMLSerializerImpl\");\nexports.XMLSerializer = XMLSerializerImpl_1.XMLSerializerImpl;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Guard_1 = require(\"./Guard\");\n/**\n * Contains type casts for DOM objects.\n */\nvar Cast = /** @class */ (function () {\n function Cast() {\n }\n /**\n * Casts the given object to a `Node`.\n *\n * @param a - the object to cast\n */\n Cast.asNode = function (a) {\n if (Guard_1.Guard.isNode(a)) {\n return a;\n }\n else {\n throw new Error(\"Invalid object. Node expected.\");\n }\n };\n return Cast;\n}());\nexports.Cast = Cast;\n//# sourceMappingURL=Cast.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EmptySet = /** @class */ (function () {\n function EmptySet() {\n }\n Object.defineProperty(EmptySet.prototype, \"size\", {\n get: function () {\n return 0;\n },\n enumerable: true,\n configurable: true\n });\n EmptySet.prototype.add = function (value) {\n throw new Error(\"Cannot add to an empty set.\");\n };\n EmptySet.prototype.clear = function () {\n // no-op\n };\n EmptySet.prototype.delete = function (value) {\n return false;\n };\n EmptySet.prototype.forEach = function (callbackfn, thisArg) {\n // no-op\n };\n EmptySet.prototype.has = function (value) {\n return false;\n };\n EmptySet.prototype[Symbol.iterator] = function () {\n return new EmptySetIterator();\n };\n EmptySet.prototype.entries = function () {\n return new EmptySetIterator();\n };\n EmptySet.prototype.keys = function () {\n return new EmptySetIterator();\n };\n EmptySet.prototype.values = function () {\n return new EmptySetIterator();\n };\n Object.defineProperty(EmptySet.prototype, Symbol.toStringTag, {\n get: function () {\n return \"EmptySet\";\n },\n enumerable: true,\n configurable: true\n });\n return EmptySet;\n}());\nexports.EmptySet = EmptySet;\nvar EmptySetIterator = /** @class */ (function () {\n function EmptySetIterator() {\n }\n EmptySetIterator.prototype[Symbol.iterator] = function () {\n return this;\n };\n EmptySetIterator.prototype.next = function () {\n return { done: true, value: null };\n };\n return EmptySetIterator;\n}());\n//# sourceMappingURL=EmptySet.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../dom/interfaces\");\n/**\n * Contains user-defined type guards for DOM objects.\n */\nvar Guard = /** @class */ (function () {\n function Guard() {\n }\n /**\n * Determines if the given object is a `Node`.\n *\n * @param a - the object to check\n */\n Guard.isNode = function (a) {\n return (!!a && a._nodeType !== undefined);\n };\n /**\n * Determines if the given object is a `Document`.\n *\n * @param a - the object to check\n */\n Guard.isDocumentNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.Document);\n };\n /**\n * Determines if the given object is a `DocumentType`.\n *\n * @param a - the object to check\n */\n Guard.isDocumentTypeNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.DocumentType);\n };\n /**\n * Determines if the given object is a `DocumentFragment`.\n *\n * @param a - the object to check\n */\n Guard.isDocumentFragmentNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.DocumentFragment);\n };\n /**\n * Determines if the given object is a `Attr`.\n *\n * @param a - the object to check\n */\n Guard.isAttrNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.Attribute);\n };\n /**\n * Determines if the given node is a `CharacterData` node.\n *\n * @param a - the object to check\n */\n Guard.isCharacterDataNode = function (a) {\n if (!Guard.isNode(a))\n return false;\n var type = a._nodeType;\n return (type === interfaces_1.NodeType.Text ||\n type === interfaces_1.NodeType.ProcessingInstruction ||\n type === interfaces_1.NodeType.Comment ||\n type === interfaces_1.NodeType.CData);\n };\n /**\n * Determines if the given object is a `Text` or a `CDATASection`.\n *\n * @param a - the object to check\n */\n Guard.isTextNode = function (a) {\n return (Guard.isNode(a) && (a._nodeType === interfaces_1.NodeType.Text || a._nodeType === interfaces_1.NodeType.CData));\n };\n /**\n * Determines if the given object is a `Text`.\n *\n * @param a - the object to check\n */\n Guard.isExclusiveTextNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.Text);\n };\n /**\n * Determines if the given object is a `CDATASection`.\n *\n * @param a - the object to check\n */\n Guard.isCDATASectionNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.CData);\n };\n /**\n * Determines if the given object is a `Comment`.\n *\n * @param a - the object to check\n */\n Guard.isCommentNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.Comment);\n };\n /**\n * Determines if the given object is a `ProcessingInstruction`.\n *\n * @param a - the object to check\n */\n Guard.isProcessingInstructionNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.ProcessingInstruction);\n };\n /**\n * Determines if the given object is an `Element`.\n *\n * @param a - the object to check\n */\n Guard.isElementNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.Element);\n };\n /**\n * Determines if the given object is a custom `Element`.\n *\n * @param a - the object to check\n */\n Guard.isCustomElementNode = function (a) {\n return (Guard.isElementNode(a) && a._customElementState === \"custom\");\n };\n /**\n * Determines if the given object is a `ShadowRoot`.\n *\n * @param a - the object to check\n */\n Guard.isShadowRoot = function (a) {\n return (!!a && a.host !== undefined);\n };\n /**\n * Determines if the given object is a `MouseEvent`.\n *\n * @param a - the object to check\n */\n Guard.isMouseEvent = function (a) {\n return (!!a && a.screenX !== undefined && a.screenY != undefined);\n };\n /**\n * Determines if the given object is a slotable.\n *\n * Element and Text nodes are slotables. A slotable has an associated name\n * (a string).\n *\n * @param a - the object to check\n */\n Guard.isSlotable = function (a) {\n return (!!a && a._name !== undefined && a._assignedSlot !== undefined &&\n (Guard.isTextNode(a) || Guard.isElementNode(a)));\n };\n /**\n * Determines if the given object is a slot.\n *\n * @param a - the object to check\n */\n Guard.isSlot = function (a) {\n return (!!a && a._name !== undefined && a._assignedNodes !== undefined &&\n Guard.isElementNode(a));\n };\n /**\n * Determines if the given object is a `Window`.\n *\n * @param a - the object to check\n */\n Guard.isWindow = function (a) {\n return (!!a && a.navigator !== undefined);\n };\n /**\n * Determines if the given object is an `EventListener`.\n *\n * @param a - the object to check\n */\n Guard.isEventListener = function (a) {\n return (!!a && a.handleEvent !== undefined);\n };\n /**\n * Determines if the given object is a `RegisteredObserver`.\n *\n * @param a - the object to check\n */\n Guard.isRegisteredObserver = function (a) {\n return (!!a && a.observer !== undefined && a.options !== undefined);\n };\n /**\n * Determines if the given object is a `TransientRegisteredObserver`.\n *\n * @param a - the object to check\n */\n Guard.isTransientRegisteredObserver = function (a) {\n return (!!a && a.source !== undefined && Guard.isRegisteredObserver(a));\n };\n return Guard;\n}());\nexports.Guard = Guard;\n//# sourceMappingURL=Guard.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Cast_1 = require(\"./Cast\");\nexports.Cast = Cast_1.Cast;\nvar Guard_1 = require(\"./Guard\");\nexports.Guard = Guard_1.Guard;\nvar EmptySet_1 = require(\"./EmptySet\");\nexports.EmptySet = EmptySet_1.EmptySet;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar CodePoints_1 = require(\"./CodePoints\");\n/**\n * Base-64 encodes the given string.\n *\n * @param input - a string\n */\nfunction forgivingBase64Encode(input) {\n /**\n * To forgiving-base64 encode given a byte sequence data, apply the base64\n * algorithm defined in section 4 of RFC 4648 to data and return the result.\n * [RFC4648]\n */\n return Buffer.from(input).toString('base64');\n}\nexports.forgivingBase64Encode = forgivingBase64Encode;\n/**\n * Decodes a base-64 string.\n *\n * @param input - a string\n */\nfunction forgivingBase64Decode(input) {\n if (input === \"\")\n return \"\";\n /**\n * 1. Remove all ASCII whitespace from data.\n */\n input = input.replace(CodePoints_1.ASCIIWhiteSpace, '');\n /**\n * 2. If data’s length divides by 4 leaving no remainder, then:\n * 2.1. If data ends with one or two U+003D (=) code points, then remove them from data.\n */\n if (input.length % 4 === 0) {\n if (input.endsWith(\"==\")) {\n input = input.substr(0, input.length - 2);\n }\n else if (input.endsWith(\"=\")) {\n input = input.substr(0, input.length - 1);\n }\n }\n /**\n * 3. If data’s length divides by 4 leaving a remainder of 1, then return failure.\n */\n if (input.length % 4 === 1)\n return null;\n /**\n * 4. If data contains a code point that is not one of\n * - U+002B (+)\n * - U+002F (/)\n * - ASCII alphanumeric\n * then return failure.\n */\n if (!/[0-9A-Za-z+/]/.test(input))\n return null;\n /**\n * 5. Let output be an empty byte sequence.\n * 6. Let buffer be an empty buffer that can have bits appended to it.\n * 7. Let position be a position variable for data, initially pointing at the\n * start of data.\n * 8. While position does not point past the end of data:\n * 8.1. Find the code point pointed to by position in the second column of\n * Table 1: The Base 64 Alphabet of RFC 4648. Let n be the number given in the\n * first cell of the same row. [RFC4648]\n * 8.2. Append the six bits corresponding to n, most significant bit first,\n * to buffer.\n * 8.3. If buffer has accumulated 24 bits, interpret them as three 8-bit\n * big-endian numbers. Append three bytes with values equal to those numbers\n * to output, in the same order, and then empty buffer.\n * 8.4. Advance position by 1.\n * 9. If buffer is not empty, it contains either 12 or 18 bits. If it contains\n * 12 bits, then discard the last four and interpret the remaining eight as an\n * 8-bit big-endian number. If it contains 18 bits, then discard the last two\n * and interpret the remaining 16 as two 8-bit big-endian numbers. Append the\n * one or two bytes with values equal to those one or two numbers to output,\n * in the same order.\n * 10. Return output.\n */\n return Buffer.from(input, 'base64').toString('utf8');\n}\nexports.forgivingBase64Decode = forgivingBase64Decode;\n//# sourceMappingURL=Base64.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Determines if the given number is an ASCII byte.\n *\n * @param byte - a byte\n */\nfunction isASCIIByte(byte) {\n /**\n * An ASCII byte is a byte in the range 0x00 (NUL) to 0x7F (DEL), inclusive.\n */\n return byte >= 0x00 && byte <= 0x7F;\n}\nexports.isASCIIByte = isASCIIByte;\n//# sourceMappingURL=Byte.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Returns the count of bytes in a sequence.\n *\n * @param list - a byte sequence\n */\nfunction length(list) {\n /**\n * A byte sequence’s length is the number of bytes it contains.\n */\n return list.length;\n}\nexports.length = length;\n/**\n * Converts each byte to lowercase.\n *\n * @param list - a byte sequence\n */\nfunction byteLowercase(list) {\n /**\n * To byte-lowercase a byte sequence, increase each byte it contains, in the\n * range 0x41 (A) to 0x5A (Z), inclusive, by 0x20.\n */\n for (var i = 0; i < list.length; i++) {\n var c = list[i];\n if (c >= 0x41 && c <= 0x5A) {\n list[i] = c + 0x20;\n }\n }\n}\nexports.byteLowercase = byteLowercase;\n/**\n * Converts each byte to uppercase.\n *\n * @param list - a byte sequence\n */\nfunction byteUppercase(list) {\n /**\n * To byte-uppercase a byte sequence, subtract each byte it contains, in the\n * range 0x61 (a) to 0x7A (z), inclusive, by 0x20.\n */\n for (var i = 0; i < list.length; i++) {\n var c = list[i];\n if (c >= 0x61 && c <= 0x7A) {\n list[i] = c - 0x20;\n }\n }\n}\nexports.byteUppercase = byteUppercase;\n/**\n * Compares two byte sequences.\n *\n * @param listA - a byte sequence\n * @param listB - a byte sequence\n */\nfunction byteCaseInsensitiveMatch(listA, listB) {\n /**\n * A byte sequence A is a byte-case-insensitive match for a byte sequence B,\n * if the byte-lowercase of A is the byte-lowercase of B.\n */\n if (listA.length !== listB.length)\n return false;\n for (var i = 0; i < listA.length; i++) {\n var a = listA[i];\n var b = listB[i];\n if (a >= 0x41 && a <= 0x5A)\n a += 0x20;\n if (b >= 0x41 && b <= 0x5A)\n b += 0x20;\n if (a !== b)\n return false;\n }\n return true;\n}\nexports.byteCaseInsensitiveMatch = byteCaseInsensitiveMatch;\n/**\n * Determines if `listA` starts with `listB`.\n *\n * @param listA - a byte sequence\n * @param listB - a byte sequence\n */\nfunction startsWith(listA, listB) {\n /**\n * 1. Let i be 0.\n * 2. While true:\n * 2.1. Let aByte be the ith byte of a if i is less than a’s length; otherwise null.\n * 2.3. Let bByte be the ith byte of b if i is less than b’s length; otherwise null.\n * 2.4. If bByte is null, then return true.\n * 2.5. Return false if aByte is not bByte.\n * 2.6. Set i to i + 1.\n */\n var i = 0;\n while (true) {\n if (i >= listA.length)\n return false;\n if (i >= listB.length)\n return true;\n if (listA[i] !== listB[i])\n return false;\n i++;\n }\n}\nexports.startsWith = startsWith;\n/**\n * Determines if `listA` is less than `listB`.\n *\n * @param listA - a byte sequence\n * @param listB - a byte sequence\n */\nfunction byteLessThan(listA, listB) {\n /**\n * 1. If b starts with a, then return false.\n * 2. If a starts with b, then return true.\n * 3. Let n be the smallest index such that the nth byte of a is different\n * from the nth byte of b. (There has to be such an index, since neither byte\n * sequence starts with the other.)\n * 4. If the nth byte of a is less than the nth byte of b, then return true.\n * 5. Return false.\n */\n var i = 0;\n while (true) {\n if (i >= listA.length)\n return false;\n if (i >= listB.length)\n return true;\n var a = listA[i];\n var b = listB[i];\n if (a < b)\n return true;\n else if (a > b)\n return false;\n i++;\n }\n}\nexports.byteLessThan = byteLessThan;\n/**\n * Decodes a byte sequence into a string.\n *\n * @param list - a byte sequence\n */\nfunction isomorphicDecode(list) {\n /**\n * To isomorphic decode a byte sequence input, return a string whose length is\n * equal to input’s length and whose code points have the same values as\n * input’s bytes, in the same order.\n */\n return String.fromCodePoint.apply(String, __spread(list));\n}\nexports.isomorphicDecode = isomorphicDecode;\n//# sourceMappingURL=ByteSequence.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * A surrogate is a code point that is in the range U+D800 to U+DFFF, inclusive.\n */\nexports.Surrogate = /[\\uD800-\\uDFFF]/;\n/**\n * A scalar value is a code point that is not a surrogate.\n */\nexports.ScalarValue = /[\\uD800-\\uDFFF]/;\n/**\n * A noncharacter is a code point that is in the range U+FDD0 to U+FDEF,\n * inclusive, or U+FFFE, U+FFFF, U+1FFFE, U+1FFFF, U+2FFFE, U+2FFFF, U+3FFFE,\n * U+3FFFF, U+4FFFE, U+4FFFF, U+5FFFE, U+5FFFF, U+6FFFE, U+6FFFF, U+7FFFE,\n * U+7FFFF, U+8FFFE, U+8FFFF, U+9FFFE, U+9FFFF, U+AFFFE, U+AFFFF, U+BFFFE,\n * U+BFFFF, U+CFFFE, U+CFFFF, U+DFFFE, U+DFFFF, U+EFFFE, U+EFFFF, U+FFFFE,\n * U+FFFFF, U+10FFFE, or U+10FFFF.\n */\nexports.NonCharacter = /[\\uFDD0-\\uFDEF\\uFFFE\\uFFFF]|[\\uD83F\\uD87F\\uD8BF\\uD8FF\\uD93F\\uD97F\\uD9BF\\uD9FF\\uDA3F\\uDA7F\\uDABF\\uDAFF\\uDB3F\\uDB7F\\uDBBF\\uDBFF][\\uDFFE\\uDFFF]/;\n/**\n * An ASCII code point is a code point in the range U+0000 NULL to U+007F\n * DELETE, inclusive.\n */\nexports.ASCIICodePoint = /[\\u0000-\\u007F]/;\n/**\n * An ASCII tab or newline is U+0009 TAB, U+000A LF, or U+000D CR.\n */\nexports.ASCIITabOrNewLine = /[\\t\\n\\r]/;\n/**\n * ASCII whitespace is U+0009 TAB, U+000A LF, U+000C FF, U+000D CR, or\n * U+0020 SPACE.\n */\nexports.ASCIIWhiteSpace = /[\\t\\n\\f\\r ]/;\n/**\n * A C0 control is a code point in the range U+0000 NULL to U+001F\n * INFORMATION SEPARATOR ONE, inclusive.\n */\nexports.C0Control = /[\\u0000-\\u001F]/;\n/**\n * A C0 control or space is a C0 control or U+0020 SPACE.\n */\nexports.C0ControlOrSpace = /[\\u0000-\\u001F ]/;\n/**\n * A control is a C0 control or a code point in the range U+007F DELETE to\n * U+009F APPLICATION PROGRAM COMMAND, inclusive.\n */\nexports.Control = /[\\u0000-\\u001F\\u007F-\\u009F]/;\n/**\n * An ASCII digit is a code point in the range U+0030 (0) to U+0039 (9),\n * inclusive.\n */\nexports.ASCIIDigit = /[0-9]/;\n/**\n * An ASCII upper hex digit is an ASCII digit or a code point in the range\n * U+0041 (A) to U+0046 (F), inclusive.\n */\nexports.ASCIIUpperHexDigit = /[0-9A-F]/;\n/**\n * An ASCII lower hex digit is an ASCII digit or a code point in the range\n * U+0061 (a) to U+0066 (f), inclusive.\n */\nexports.ASCIILowerHexDigit = /[0-9a-f]/;\n/**\n * An ASCII hex digit is an ASCII upper hex digit or ASCII lower hex digit.\n */\nexports.ASCIIHexDigit = /[0-9A-Fa-f]/;\n/**\n * An ASCII upper alpha is a code point in the range U+0041 (A) to U+005A (Z),\n * inclusive.\n */\nexports.ASCIIUpperAlpha = /[A-Z]/;\n/**\n * An ASCII lower alpha is a code point in the range U+0061 (a) to U+007A (z),\n * inclusive.\n */\nexports.ASCIILowerAlpha = /[a-z]/;\n/**\n * An ASCII alpha is an ASCII upper alpha or ASCII lower alpha.\n */\nexports.ASCIIAlpha = /[A-Za-z]/;\n/**\n * An ASCII alphanumeric is an ASCII digit or ASCII alpha.\n */\nexports.ASCIIAlphanumeric = /[0-9A-Za-z]/;\n//# sourceMappingURL=CodePoints.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Parses the given byte sequence representing a JSON string into an object.\n *\n * @param bytes - a byte sequence\n */\nfunction parseJSONFromBytes(bytes) {\n /**\n * 1. Let jsonText be the result of running UTF-8 decode on bytes. [ENCODING]\n * 2. Return ? Call(%JSONParse%, undefined, « jsonText »).\n */\n var jsonText = util_1.utf8Decode(bytes);\n return JSON.parse.call(undefined, jsonText);\n}\nexports.parseJSONFromBytes = parseJSONFromBytes;\n/**\n * Serialize the given JavaScript value into a byte sequence.\n *\n * @param value - a JavaScript value\n */\nfunction serializeJSONToBytes(value) {\n /**\n * 1. Let jsonString be ? Call(%JSONStringify%, undefined, « value »).\n * 2. Return the result of running UTF-8 encode on jsonString. [ENCODING]\n */\n var jsonString = JSON.stringify.call(undefined, value);\n return util_1.utf8Encode(jsonString);\n}\nexports.serializeJSONToBytes = serializeJSONToBytes;\n/**\n * Parses the given JSON string into a Realm-independent JavaScript value.\n *\n * @param jsonText - a JSON string\n */\nfunction parseJSONIntoInfraValues(jsonText) {\n /**\n * 1. Let jsValue be ? Call(%JSONParse%, undefined, « jsonText »).\n * 2. Return the result of converting a JSON-derived JavaScript value to an\n * Infra value, given jsValue.\n */\n var jsValue = JSON.parse.call(undefined, jsonText);\n return convertAJSONDerivedJavaScriptValueToAnInfraValue(jsValue);\n}\nexports.parseJSONIntoInfraValues = parseJSONIntoInfraValues;\n/**\n * Parses the value into a Realm-independent JavaScript value.\n *\n * @param jsValue - a JavaScript value\n */\nfunction convertAJSONDerivedJavaScriptValueToAnInfraValue(jsValue) {\n var e_1, _a;\n /**\n * 1. If Type(jsValue) is Null, String, or Number, then return jsValue.\n */\n if (jsValue === null || util_1.isString(jsValue) || util_1.isNumber(jsValue))\n return jsValue;\n /**\n * 2. If IsArray(jsValue) is true, then:\n * 2.1. Let result be an empty list.\n * 2.2. Let length be ! ToLength(! Get(jsValue, \"length\")).\n * 2.3. For each index of the range 0 to length − 1, inclusive:\n * 2.3.1. Let indexName be ! ToString(index).\n * 2.3.2. Let jsValueAtIndex be ! Get(jsValue, indexName).\n * 2.3.3. Let infraValueAtIndex be the result of converting a JSON-derived\n * JavaScript value to an Infra value, given jsValueAtIndex.\n * 2.3.4. Append infraValueAtIndex to result.\n * 2.8. Return result.\n */\n if (util_1.isArray(jsValue)) {\n var result = new Array();\n try {\n for (var jsValue_1 = __values(jsValue), jsValue_1_1 = jsValue_1.next(); !jsValue_1_1.done; jsValue_1_1 = jsValue_1.next()) {\n var jsValueAtIndex = jsValue_1_1.value;\n result.push(convertAJSONDerivedJavaScriptValueToAnInfraValue(jsValueAtIndex));\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (jsValue_1_1 && !jsValue_1_1.done && (_a = jsValue_1.return)) _a.call(jsValue_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return result;\n }\n else if (util_1.isObject(jsValue)) {\n /**\n * 3. Let result be an empty ordered map.\n * 4. For each key of ! jsValue.[[OwnPropertyKeys]]():\n * 4.1. Let jsValueAtKey be ! Get(jsValue, key).\n * 4.2. Let infraValueAtKey be the result of converting a JSON-derived\n * JavaScript value to an Infra value, given jsValueAtKey.\n * 4.3. Set result[key] to infraValueAtKey.\n * 5. Return result.\n */\n var result = new Map();\n for (var key in jsValue) {\n /* istanbul ignore else */\n if (jsValue.hasOwnProperty(key)) {\n var jsValueAtKey = jsValue[key];\n result.set(key, convertAJSONDerivedJavaScriptValueToAnInfraValue(jsValueAtKey));\n }\n }\n return result;\n }\n /* istanbul ignore next */\n return jsValue;\n}\nexports.convertAJSONDerivedJavaScriptValueToAnInfraValue = convertAJSONDerivedJavaScriptValueToAnInfraValue;\n//# sourceMappingURL=JSON.js.map","\"use strict\";\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Adds the given item to the end of the list.\n *\n * @param list - a list\n * @param item - an item\n */\nfunction append(list, item) {\n list.push(item);\n}\nexports.append = append;\n/**\n * Extends a list by appending all items from another list.\n *\n * @param listA - a list to extend\n * @param listB - a list containing items to append to `listA`\n */\nfunction extend(listA, listB) {\n listA.push.apply(listA, __spread(listB));\n}\nexports.extend = extend;\n/**\n * Inserts the given item to the start of the list.\n *\n * @param list - a list\n * @param item - an item\n */\nfunction prepend(list, item) {\n list.unshift(item);\n}\nexports.prepend = prepend;\n/**\n * Replaces the given item or all items matching condition with a new item.\n *\n * @param list - a list\n * @param conditionOrItem - an item to replace or a condition matching items\n * to replace\n * @param item - an item\n */\nfunction replace(list, conditionOrItem, newItem) {\n var e_1, _a;\n var i = 0;\n try {\n for (var list_1 = __values(list), list_1_1 = list_1.next(); !list_1_1.done; list_1_1 = list_1.next()) {\n var oldItem = list_1_1.value;\n if (util_1.isFunction(conditionOrItem)) {\n if (!!conditionOrItem.call(null, oldItem)) {\n list[i] = newItem;\n }\n }\n else if (oldItem === conditionOrItem) {\n list[i] = newItem;\n return;\n }\n i++;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (list_1_1 && !list_1_1.done && (_a = list_1.return)) _a.call(list_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n}\nexports.replace = replace;\n/**\n * Inserts the given item before the given index.\n *\n * @param list - a list\n * @param item - an item\n */\nfunction insert(list, item, index) {\n list.splice(index, 0, item);\n}\nexports.insert = insert;\n/**\n * Removes the given item or all items matching condition.\n *\n * @param list - a list\n * @param conditionOrItem - an item to remove or a condition matching items\n * to remove\n */\nfunction remove(list, conditionOrItem) {\n var i = list.length;\n while (i--) {\n var oldItem = list[i];\n if (util_1.isFunction(conditionOrItem)) {\n if (!!conditionOrItem.call(null, oldItem)) {\n list.splice(i, 1);\n }\n }\n else if (oldItem === conditionOrItem) {\n list.splice(i, 1);\n return;\n }\n }\n}\nexports.remove = remove;\n/**\n * Removes all items from the list.\n */\nfunction empty(list) {\n list.length = 0;\n}\nexports.empty = empty;\n/**\n * Determines if the list contains the given item or any items matching\n * condition.\n *\n * @param list - a list\n * @param conditionOrItem - an item to a condition to match\n */\nfunction contains(list, conditionOrItem) {\n var e_2, _a;\n try {\n for (var list_2 = __values(list), list_2_1 = list_2.next(); !list_2_1.done; list_2_1 = list_2.next()) {\n var oldItem = list_2_1.value;\n if (util_1.isFunction(conditionOrItem)) {\n if (!!conditionOrItem.call(null, oldItem)) {\n return true;\n }\n }\n else if (oldItem === conditionOrItem) {\n return true;\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (list_2_1 && !list_2_1.done && (_a = list_2.return)) _a.call(list_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n return false;\n}\nexports.contains = contains;\n/**\n * Returns the count of items in the list matching the given condition.\n *\n * @param list - a list\n * @param condition - an optional condition to match\n */\nfunction size(list, condition) {\n var e_3, _a;\n if (condition === undefined) {\n return list.length;\n }\n else {\n var count = 0;\n try {\n for (var list_3 = __values(list), list_3_1 = list_3.next(); !list_3_1.done; list_3_1 = list_3.next()) {\n var item = list_3_1.value;\n if (!!condition.call(null, item)) {\n count++;\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (list_3_1 && !list_3_1.done && (_a = list_3.return)) _a.call(list_3);\n }\n finally { if (e_3) throw e_3.error; }\n }\n return count;\n }\n}\nexports.size = size;\n/**\n * Determines if the list is empty.\n *\n * @param list - a list\n */\nfunction isEmpty(list) {\n return list.length === 0;\n}\nexports.isEmpty = isEmpty;\n/**\n * Returns an iterator for the items of the list.\n *\n * @param list - a list\n * @param condition - an optional condition to match\n */\nfunction forEach(list, condition) {\n var list_4, list_4_1, item, e_4_1;\n var e_4, _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!(condition === undefined)) return [3 /*break*/, 2];\n return [5 /*yield**/, __values(list)];\n case 1:\n _b.sent();\n return [3 /*break*/, 9];\n case 2:\n _b.trys.push([2, 7, 8, 9]);\n list_4 = __values(list), list_4_1 = list_4.next();\n _b.label = 3;\n case 3:\n if (!!list_4_1.done) return [3 /*break*/, 6];\n item = list_4_1.value;\n if (!!!condition.call(null, item)) return [3 /*break*/, 5];\n return [4 /*yield*/, item];\n case 4:\n _b.sent();\n _b.label = 5;\n case 5:\n list_4_1 = list_4.next();\n return [3 /*break*/, 3];\n case 6: return [3 /*break*/, 9];\n case 7:\n e_4_1 = _b.sent();\n e_4 = { error: e_4_1 };\n return [3 /*break*/, 9];\n case 8:\n try {\n if (list_4_1 && !list_4_1.done && (_a = list_4.return)) _a.call(list_4);\n }\n finally { if (e_4) throw e_4.error; }\n return [7 /*endfinally*/];\n case 9: return [2 /*return*/];\n }\n });\n}\nexports.forEach = forEach;\n/**\n * Creates and returns a shallow clone of list.\n *\n * @param list - a list\n */\nfunction clone(list) {\n return new (Array.bind.apply(Array, __spread([void 0], list)))();\n}\nexports.clone = clone;\n/**\n * Returns a new list containing items from the list sorted in ascending\n * order.\n *\n * @param list - a list\n * @param lessThanAlgo - a function that returns `true` if its first argument\n * is less than its second argument, and `false` otherwise.\n */\nfunction sortInAscendingOrder(list, lessThanAlgo) {\n return list.sort(function (itemA, itemB) {\n return lessThanAlgo.call(null, itemA, itemB) ? -1 : 1;\n });\n}\nexports.sortInAscendingOrder = sortInAscendingOrder;\n/**\n * Returns a new list containing items from the list sorted in descending\n * order.\n *\n * @param list - a list\n * @param lessThanAlgo - a function that returns `true` if its first argument\n * is less than its second argument, and `false` otherwise.\n */\nfunction sortInDescendingOrder(list, lessThanAlgo) {\n return list.sort(function (itemA, itemB) {\n return lessThanAlgo.call(null, itemA, itemB) ? 1 : -1;\n });\n}\nexports.sortInDescendingOrder = sortInDescendingOrder;\n//# sourceMappingURL=List.js.map","\"use strict\";\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Gets the value corresponding to the given key.\n *\n * @param map - a map\n * @param key - a key\n */\nfunction get(map, key) {\n return map.get(key);\n}\nexports.get = get;\n/**\n * Sets the value corresponding to the given key.\n *\n * @param map - a map\n * @param key - a key\n * @param val - a value\n */\nfunction set(map, key, val) {\n map.set(key, val);\n}\nexports.set = set;\n/**\n * Removes the item with the given key or all items matching condition.\n *\n * @param map - a map\n * @param conditionOrItem - the key of an item to remove or a condition matching\n * items to remove\n */\nfunction remove(map, conditionOrItem) {\n var e_1, _a, e_2, _b;\n if (!util_1.isFunction(conditionOrItem)) {\n map.delete(conditionOrItem);\n }\n else {\n var toRemove = [];\n try {\n for (var map_1 = __values(map), map_1_1 = map_1.next(); !map_1_1.done; map_1_1 = map_1.next()) {\n var item = map_1_1.value;\n if (!!conditionOrItem.call(null, item)) {\n toRemove.push(item[0]);\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (map_1_1 && !map_1_1.done && (_a = map_1.return)) _a.call(map_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n try {\n for (var toRemove_1 = __values(toRemove), toRemove_1_1 = toRemove_1.next(); !toRemove_1_1.done; toRemove_1_1 = toRemove_1.next()) {\n var key = toRemove_1_1.value;\n map.delete(key);\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (toRemove_1_1 && !toRemove_1_1.done && (_b = toRemove_1.return)) _b.call(toRemove_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n}\nexports.remove = remove;\n/**\n * Determines if the map contains a value with the given key.\n *\n * @param map - a map\n * @param conditionOrItem - the key of an item to match or a condition matching\n * items\n */\nfunction contains(map, conditionOrItem) {\n var e_3, _a;\n if (!util_1.isFunction(conditionOrItem)) {\n return map.has(conditionOrItem);\n }\n else {\n try {\n for (var map_2 = __values(map), map_2_1 = map_2.next(); !map_2_1.done; map_2_1 = map_2.next()) {\n var item = map_2_1.value;\n if (!!conditionOrItem.call(null, item)) {\n return true;\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (map_2_1 && !map_2_1.done && (_a = map_2.return)) _a.call(map_2);\n }\n finally { if (e_3) throw e_3.error; }\n }\n return false;\n }\n}\nexports.contains = contains;\n/**\n * Gets the keys of the map.\n *\n * @param map - a map\n */\nfunction keys(map) {\n return new Set(map.keys());\n}\nexports.keys = keys;\n/**\n * Gets the values of the map.\n *\n * @param map - a map\n */\nfunction values(map) {\n return __spread(map.values());\n}\nexports.values = values;\n/**\n * Gets the size of the map.\n *\n * @param map - a map\n * @param condition - an optional condition to match\n */\nfunction size(map, condition) {\n var e_4, _a;\n if (condition === undefined) {\n return map.size;\n }\n else {\n var count = 0;\n try {\n for (var map_3 = __values(map), map_3_1 = map_3.next(); !map_3_1.done; map_3_1 = map_3.next()) {\n var item = map_3_1.value;\n if (!!condition.call(null, item)) {\n count++;\n }\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (map_3_1 && !map_3_1.done && (_a = map_3.return)) _a.call(map_3);\n }\n finally { if (e_4) throw e_4.error; }\n }\n return count;\n }\n}\nexports.size = size;\n/**\n * Determines if the map is empty.\n *\n * @param map - a map\n */\nfunction isEmpty(map) {\n return map.size === 0;\n}\nexports.isEmpty = isEmpty;\n/**\n * Returns an iterator for the items of the map.\n *\n * @param map - a map\n * @param condition - an optional condition to match\n */\nfunction forEach(map, condition) {\n var map_4, map_4_1, item, e_5_1;\n var e_5, _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!(condition === undefined)) return [3 /*break*/, 2];\n return [5 /*yield**/, __values(map)];\n case 1:\n _b.sent();\n return [3 /*break*/, 9];\n case 2:\n _b.trys.push([2, 7, 8, 9]);\n map_4 = __values(map), map_4_1 = map_4.next();\n _b.label = 3;\n case 3:\n if (!!map_4_1.done) return [3 /*break*/, 6];\n item = map_4_1.value;\n if (!!!condition.call(null, item)) return [3 /*break*/, 5];\n return [4 /*yield*/, item];\n case 4:\n _b.sent();\n _b.label = 5;\n case 5:\n map_4_1 = map_4.next();\n return [3 /*break*/, 3];\n case 6: return [3 /*break*/, 9];\n case 7:\n e_5_1 = _b.sent();\n e_5 = { error: e_5_1 };\n return [3 /*break*/, 9];\n case 8:\n try {\n if (map_4_1 && !map_4_1.done && (_a = map_4.return)) _a.call(map_4);\n }\n finally { if (e_5) throw e_5.error; }\n return [7 /*endfinally*/];\n case 9: return [2 /*return*/];\n }\n });\n}\nexports.forEach = forEach;\n/**\n * Creates and returns a shallow clone of map.\n *\n * @param map - a map\n */\nfunction clone(map) {\n return new Map(map);\n}\nexports.clone = clone;\n/**\n * Returns a new map containing items from the map sorted in ascending\n * order.\n *\n * @param map - a map\n * @param lessThanAlgo - a function that returns `true` if its first argument\n * is less than its second argument, and `false` otherwise.\n */\nfunction sortInAscendingOrder(map, lessThanAlgo) {\n var list = new (Array.bind.apply(Array, __spread([void 0], map)))();\n list.sort(function (itemA, itemB) {\n return lessThanAlgo.call(null, itemA, itemB) ? -1 : 1;\n });\n return new Map(list);\n}\nexports.sortInAscendingOrder = sortInAscendingOrder;\n/**\n * Returns a new map containing items from the map sorted in descending\n * order.\n *\n * @param map - a map\n * @param lessThanAlgo - a function that returns `true` if its first argument\n * is less than its second argument, and `false` otherwise.\n */\nfunction sortInDescendingOrder(map, lessThanAlgo) {\n var list = new (Array.bind.apply(Array, __spread([void 0], map)))();\n list.sort(function (itemA, itemB) {\n return lessThanAlgo.call(null, itemA, itemB) ? 1 : -1;\n });\n return new Map(list);\n}\nexports.sortInDescendingOrder = sortInDescendingOrder;\n//# sourceMappingURL=Map.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HTML = \"http://www.w3.org/1999/xhtml\";\nexports.XML = \"http://www.w3.org/XML/1998/namespace\";\nexports.XMLNS = \"http://www.w3.org/2000/xmlns/\";\nexports.MathML = \"http://www.w3.org/1998/Math/MathML\";\nexports.SVG = \"http://www.w3.org/2000/svg\";\nexports.XLink = \"http://www.w3.org/1999/xlink\";\n//# sourceMappingURL=Namespace.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Appends the given item to the queue.\n *\n * @param list - a list\n * @param item - an item\n */\nfunction enqueue(list, item) {\n list.push(item);\n}\nexports.enqueue = enqueue;\n/**\n * Removes and returns an item from the queue.\n *\n * @param list - a list\n */\nfunction dequeue(list) {\n return list.shift() || null;\n}\nexports.dequeue = dequeue;\n//# sourceMappingURL=Queue.js.map","\"use strict\";\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Adds the given item to the end of the set.\n *\n * @param set - a set\n * @param item - an item\n */\nfunction append(set, item) {\n set.add(item);\n}\nexports.append = append;\n/**\n * Extends a set by appending all items from another set.\n *\n * @param setA - a list to extend\n * @param setB - a list containing items to append to `setA`\n */\nfunction extend(setA, setB) {\n setB.forEach(setA.add, setA);\n}\nexports.extend = extend;\n/**\n * Inserts the given item to the start of the set.\n *\n * @param set - a set\n * @param item - an item\n */\nfunction prepend(set, item) {\n var cloned = new Set(set);\n set.clear();\n set.add(item);\n cloned.forEach(set.add, set);\n}\nexports.prepend = prepend;\n/**\n * Replaces the given item or all items matching condition with a new item.\n *\n * @param set - a set\n * @param conditionOrItem - an item to replace or a condition matching items\n * to replace\n * @param item - an item\n */\nfunction replace(set, conditionOrItem, newItem) {\n var e_1, _a;\n var newSet = new Set();\n try {\n for (var set_1 = __values(set), set_1_1 = set_1.next(); !set_1_1.done; set_1_1 = set_1.next()) {\n var oldItem = set_1_1.value;\n if (util_1.isFunction(conditionOrItem)) {\n if (!!conditionOrItem.call(null, oldItem)) {\n newSet.add(newItem);\n }\n else {\n newSet.add(oldItem);\n }\n }\n else if (oldItem === conditionOrItem) {\n newSet.add(newItem);\n }\n else {\n newSet.add(oldItem);\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (set_1_1 && !set_1_1.done && (_a = set_1.return)) _a.call(set_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n set.clear();\n newSet.forEach(set.add, set);\n}\nexports.replace = replace;\n/**\n * Inserts the given item before the given index.\n *\n * @param set - a set\n * @param item - an item\n */\nfunction insert(set, item, index) {\n var e_2, _a;\n var newSet = new Set();\n var i = 0;\n try {\n for (var set_2 = __values(set), set_2_1 = set_2.next(); !set_2_1.done; set_2_1 = set_2.next()) {\n var oldItem = set_2_1.value;\n if (i === index)\n newSet.add(item);\n newSet.add(oldItem);\n i++;\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (set_2_1 && !set_2_1.done && (_a = set_2.return)) _a.call(set_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n set.clear();\n newSet.forEach(set.add, set);\n}\nexports.insert = insert;\n/**\n * Removes the given item or all items matching condition.\n *\n * @param set - a set\n * @param conditionOrItem - an item to remove or a condition matching items\n * to remove\n */\nfunction remove(set, conditionOrItem) {\n var e_3, _a, e_4, _b;\n if (!util_1.isFunction(conditionOrItem)) {\n set.delete(conditionOrItem);\n }\n else {\n var toRemove = [];\n try {\n for (var set_3 = __values(set), set_3_1 = set_3.next(); !set_3_1.done; set_3_1 = set_3.next()) {\n var item = set_3_1.value;\n if (!!conditionOrItem.call(null, item)) {\n toRemove.push(item);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (set_3_1 && !set_3_1.done && (_a = set_3.return)) _a.call(set_3);\n }\n finally { if (e_3) throw e_3.error; }\n }\n try {\n for (var toRemove_1 = __values(toRemove), toRemove_1_1 = toRemove_1.next(); !toRemove_1_1.done; toRemove_1_1 = toRemove_1.next()) {\n var oldItem = toRemove_1_1.value;\n set.delete(oldItem);\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (toRemove_1_1 && !toRemove_1_1.done && (_b = toRemove_1.return)) _b.call(toRemove_1);\n }\n finally { if (e_4) throw e_4.error; }\n }\n }\n}\nexports.remove = remove;\n/**\n * Removes all items from the set.\n */\nfunction empty(set) {\n set.clear();\n}\nexports.empty = empty;\n/**\n * Determines if the set contains the given item or any items matching\n * condition.\n *\n * @param set - a set\n * @param conditionOrItem - an item to a condition to match\n */\nfunction contains(set, conditionOrItem) {\n var e_5, _a;\n if (!util_1.isFunction(conditionOrItem)) {\n return set.has(conditionOrItem);\n }\n else {\n try {\n for (var set_4 = __values(set), set_4_1 = set_4.next(); !set_4_1.done; set_4_1 = set_4.next()) {\n var oldItem = set_4_1.value;\n if (!!conditionOrItem.call(null, oldItem)) {\n return true;\n }\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (set_4_1 && !set_4_1.done && (_a = set_4.return)) _a.call(set_4);\n }\n finally { if (e_5) throw e_5.error; }\n }\n }\n return false;\n}\nexports.contains = contains;\n/**\n * Returns the count of items in the set matching the given condition.\n *\n * @param set - a set\n * @param condition - an optional condition to match\n */\nfunction size(set, condition) {\n var e_6, _a;\n if (condition === undefined) {\n return set.size;\n }\n else {\n var count = 0;\n try {\n for (var set_5 = __values(set), set_5_1 = set_5.next(); !set_5_1.done; set_5_1 = set_5.next()) {\n var item = set_5_1.value;\n if (!!condition.call(null, item)) {\n count++;\n }\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (set_5_1 && !set_5_1.done && (_a = set_5.return)) _a.call(set_5);\n }\n finally { if (e_6) throw e_6.error; }\n }\n return count;\n }\n}\nexports.size = size;\n/**\n * Determines if the set is empty.\n *\n * @param set - a set\n */\nfunction isEmpty(set) {\n return set.size === 0;\n}\nexports.isEmpty = isEmpty;\n/**\n * Returns an iterator for the items of the set.\n *\n * @param set - a set\n * @param condition - an optional condition to match\n */\nfunction forEach(set, condition) {\n var set_6, set_6_1, item, e_7_1;\n var e_7, _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!(condition === undefined)) return [3 /*break*/, 2];\n return [5 /*yield**/, __values(set)];\n case 1:\n _b.sent();\n return [3 /*break*/, 9];\n case 2:\n _b.trys.push([2, 7, 8, 9]);\n set_6 = __values(set), set_6_1 = set_6.next();\n _b.label = 3;\n case 3:\n if (!!set_6_1.done) return [3 /*break*/, 6];\n item = set_6_1.value;\n if (!!!condition.call(null, item)) return [3 /*break*/, 5];\n return [4 /*yield*/, item];\n case 4:\n _b.sent();\n _b.label = 5;\n case 5:\n set_6_1 = set_6.next();\n return [3 /*break*/, 3];\n case 6: return [3 /*break*/, 9];\n case 7:\n e_7_1 = _b.sent();\n e_7 = { error: e_7_1 };\n return [3 /*break*/, 9];\n case 8:\n try {\n if (set_6_1 && !set_6_1.done && (_a = set_6.return)) _a.call(set_6);\n }\n finally { if (e_7) throw e_7.error; }\n return [7 /*endfinally*/];\n case 9: return [2 /*return*/];\n }\n });\n}\nexports.forEach = forEach;\n/**\n * Creates and returns a shallow clone of set.\n *\n * @param set - a set\n */\nfunction clone(set) {\n return new Set(set);\n}\nexports.clone = clone;\n/**\n * Returns a new set containing items from the set sorted in ascending\n * order.\n *\n * @param set - a set\n * @param lessThanAlgo - a function that returns `true` if its first argument\n * is less than its second argument, and `false` otherwise.\n */\nfunction sortInAscendingOrder(set, lessThanAlgo) {\n var list = new (Array.bind.apply(Array, __spread([void 0], set)))();\n list.sort(function (itemA, itemB) {\n return lessThanAlgo.call(null, itemA, itemB) ? -1 : 1;\n });\n return new Set(list);\n}\nexports.sortInAscendingOrder = sortInAscendingOrder;\n/**\n * Returns a new set containing items from the set sorted in descending\n * order.\n *\n * @param set - a set\n * @param lessThanAlgo - a function that returns `true` if its first argument\n * is less than its second argument, and `false` otherwise.\n */\nfunction sortInDescendingOrder(set, lessThanAlgo) {\n var list = new (Array.bind.apply(Array, __spread([void 0], set)))();\n list.sort(function (itemA, itemB) {\n return lessThanAlgo.call(null, itemA, itemB) ? 1 : -1;\n });\n return new Set(list);\n}\nexports.sortInDescendingOrder = sortInDescendingOrder;\n/**\n * Determines if a set is a subset of another set.\n *\n * @param subset - a set\n * @param superset - a superset possibly containing all items from `subset`.\n */\nfunction isSubsetOf(subset, superset) {\n var e_8, _a;\n try {\n for (var subset_1 = __values(subset), subset_1_1 = subset_1.next(); !subset_1_1.done; subset_1_1 = subset_1.next()) {\n var item = subset_1_1.value;\n if (!superset.has(item))\n return false;\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (subset_1_1 && !subset_1_1.done && (_a = subset_1.return)) _a.call(subset_1);\n }\n finally { if (e_8) throw e_8.error; }\n }\n return true;\n}\nexports.isSubsetOf = isSubsetOf;\n/**\n * Determines if a set is a superset of another set.\n *\n * @param superset - a set\n * @param subset - a subset possibly contained within `superset`.\n */\nfunction isSupersetOf(superset, subset) {\n return isSubsetOf(subset, superset);\n}\nexports.isSupersetOf = isSupersetOf;\n/**\n * Returns a new set with items that are contained in both sets.\n *\n * @param setA - a set\n * @param setB - a set\n */\nfunction intersection(setA, setB) {\n var e_9, _a;\n var newSet = new Set();\n try {\n for (var setA_1 = __values(setA), setA_1_1 = setA_1.next(); !setA_1_1.done; setA_1_1 = setA_1.next()) {\n var item = setA_1_1.value;\n if (setB.has(item))\n newSet.add(item);\n }\n }\n catch (e_9_1) { e_9 = { error: e_9_1 }; }\n finally {\n try {\n if (setA_1_1 && !setA_1_1.done && (_a = setA_1.return)) _a.call(setA_1);\n }\n finally { if (e_9) throw e_9.error; }\n }\n return newSet;\n}\nexports.intersection = intersection;\n/**\n * Returns a new set with items from both sets.\n *\n * @param setA - a set\n * @param setB - a set\n */\nfunction union(setA, setB) {\n var newSet = new Set(setA);\n setB.forEach(newSet.add, newSet);\n return newSet;\n}\nexports.union = union;\n/**\n * Returns a set of integers from `n` to `m` inclusive.\n *\n * @param n - starting number\n * @param m - ending number\n */\nfunction range(n, m) {\n var newSet = new Set();\n for (var i = n; i <= m; i++) {\n newSet.add(i);\n }\n return newSet;\n}\nexports.range = range;\n//# sourceMappingURL=Set.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Pushes the given item to the stack.\n *\n * @param list - a list\n * @param item - an item\n */\nfunction push(list, item) {\n list.push(item);\n}\nexports.push = push;\n/**\n * Pops and returns an item from the stack.\n *\n * @param list - a list\n */\nfunction pop(list) {\n return list.pop() || null;\n}\nexports.pop = pop;\n//# sourceMappingURL=Stack.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar CodePoints_1 = require(\"./CodePoints\");\nvar ByteSequence_1 = require(\"./ByteSequence\");\nvar Byte_1 = require(\"./Byte\");\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Determines if the string `a` is a code unit prefix of string `b`.\n *\n * @param a - a string\n * @param b - a string\n */\nfunction isCodeUnitPrefix(a, b) {\n /**\n * 1. Let i be 0.\n * 2. While true:\n * 2.1. Let aCodeUnit be the ith code unit of a if i is less than a’s length;\n * otherwise null.\n * 2.2. Let bCodeUnit be the ith code unit of b if i is less than b’s length;\n * otherwise null.\n * 2.3. If bCodeUnit is null, then return true.\n * 2.4. Return false if aCodeUnit is different from bCodeUnit.\n * 2.5. Set i to i + 1.\n */\n var i = 0;\n while (true) {\n var aCodeUnit = i < a.length ? a.charCodeAt(i) : null;\n var bCodeUnit = i < b.length ? b.charCodeAt(i) : null;\n if (aCodeUnit === null)\n return true;\n if (aCodeUnit !== bCodeUnit)\n return false;\n i++;\n }\n}\nexports.isCodeUnitPrefix = isCodeUnitPrefix;\n/**\n * Determines if the string `a` is a code unit less than string `b`.\n *\n * @param a - a string\n * @param b - a string\n */\nfunction isCodeUnitLessThan(a, b) {\n /**\n * 1. If b is a code unit prefix of a, then return false.\n * 2. If a is a code unit prefix of b, then return true.\n * 3. Let n be the smallest index such that the nth code unit of a is\n * different from the nth code unit of b. (There has to be such an index,\n * since neither string is a prefix of the other.)\n * 4. If the nth code unit of a is less than the nth code unit of b, then\n * return true.\n * 5. Return false.\n */\n if (isCodeUnitPrefix(b, a))\n return false;\n if (isCodeUnitPrefix(a, b))\n return true;\n for (var i = 0; i < Math.min(a.length, b.length); i++) {\n var aCodeUnit = a.charCodeAt(i);\n var bCodeUnit = b.charCodeAt(i);\n if (aCodeUnit === bCodeUnit)\n continue;\n return (aCodeUnit < bCodeUnit);\n }\n /* istanbul ignore next */\n return false;\n}\nexports.isCodeUnitLessThan = isCodeUnitLessThan;\n/**\n * Isomorphic encodes the given string.\n *\n * @param str - a string\n */\nfunction isomorphicEncode(str) {\n var e_1, _a;\n /**\n * 1. Assert: input contains no code points greater than U+00FF.\n * 2. Return a byte sequence whose length is equal to input’s length and whose\n * bytes have the same values as input’s code points, in the same order.\n */\n var codePoints = Array.from(str);\n var bytes = new Uint8Array(codePoints.length);\n var i = 0;\n try {\n for (var str_1 = __values(str), str_1_1 = str_1.next(); !str_1_1.done; str_1_1 = str_1.next()) {\n var codePoint = str_1_1.value;\n var byte = codePoint.codePointAt(0);\n console.assert(byte !== undefined && byte <= 0x00FF, \"isomorphicEncode requires string bytes to be less than or equal to 0x00FF.\");\n if (byte !== undefined && byte <= 0x00FF) {\n bytes[i++] = byte;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (str_1_1 && !str_1_1.done && (_a = str_1.return)) _a.call(str_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return bytes;\n}\nexports.isomorphicEncode = isomorphicEncode;\n/**\n * Determines if the given string is An ASCII string.\n *\n * @param str - a string\n */\nfunction isASCIIString(str) {\n /**\n * An ASCII string is a string whose code points are all ASCII code points.\n */\n return /^[\\u0000-\\u007F]*$/.test(str);\n}\nexports.isASCIIString = isASCIIString;\n/**\n * Converts all uppercase ASCII code points to lowercase.\n *\n * @param str - a string\n */\nfunction asciiLowercase(str) {\n var e_2, _a;\n /**\n * To ASCII lowercase a string, replace all ASCII upper alphas in the string\n * with their corresponding code point in ASCII lower alpha.\n */\n var result = \"\";\n try {\n for (var str_2 = __values(str), str_2_1 = str_2.next(); !str_2_1.done; str_2_1 = str_2.next()) {\n var c = str_2_1.value;\n var code = c.codePointAt(0);\n if (code !== undefined && code >= 0x41 && code <= 0x5A) {\n result += String.fromCodePoint(code + 0x20);\n }\n else {\n result += c;\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (str_2_1 && !str_2_1.done && (_a = str_2.return)) _a.call(str_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n return result;\n}\nexports.asciiLowercase = asciiLowercase;\n/**\n * Converts all uppercase ASCII code points to uppercase.\n *\n * @param str - a string\n */\nfunction asciiUppercase(str) {\n var e_3, _a;\n /**\n * To ASCII uppercase a string, replace all ASCII lower alphas in the string\n * with their corresponding code point in ASCII upper alpha.\n */\n var result = \"\";\n try {\n for (var str_3 = __values(str), str_3_1 = str_3.next(); !str_3_1.done; str_3_1 = str_3.next()) {\n var c = str_3_1.value;\n var code = c.codePointAt(0);\n if (code !== undefined && code >= 0x61 && code <= 0x7A) {\n result += String.fromCodePoint(code - 0x20);\n }\n else {\n result += c;\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (str_3_1 && !str_3_1.done && (_a = str_3.return)) _a.call(str_3);\n }\n finally { if (e_3) throw e_3.error; }\n }\n return result;\n}\nexports.asciiUppercase = asciiUppercase;\n/**\n * Compares two ASCII strings case-insensitively.\n *\n * @param a - a string\n * @param b - a string\n */\nfunction asciiCaseInsensitiveMatch(a, b) {\n /**\n * A string A is an ASCII case-insensitive match for a string B, if the ASCII\n * lowercase of A is the ASCII lowercase of B.\n */\n return asciiLowercase(a) === asciiLowercase(b);\n}\nexports.asciiCaseInsensitiveMatch = asciiCaseInsensitiveMatch;\n/**\n * ASCII encodes a string.\n *\n * @param str - a string\n */\nfunction asciiEncode(str) {\n /**\n * 1. Assert: input is an ASCII string.\n * 2. Return the isomorphic encoding of input.\n */\n console.assert(isASCIIString(str), \"asciiEncode requires an ASCII string.\");\n return isomorphicEncode(str);\n}\nexports.asciiEncode = asciiEncode;\n/**\n * ASCII decodes a byte sequence.\n *\n * @param bytes - a byte sequence\n */\nfunction asciiDecode(bytes) {\n var e_4, _a;\n try {\n /**\n * 1. Assert: All bytes in input are ASCII bytes.\n * 2. Return the isomorphic decoding of input.\n */\n for (var bytes_1 = __values(bytes), bytes_1_1 = bytes_1.next(); !bytes_1_1.done; bytes_1_1 = bytes_1.next()) {\n var byte = bytes_1_1.value;\n console.assert(Byte_1.isASCIIByte(byte), \"asciiDecode requires an ASCII byte sequence.\");\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (bytes_1_1 && !bytes_1_1.done && (_a = bytes_1.return)) _a.call(bytes_1);\n }\n finally { if (e_4) throw e_4.error; }\n }\n return ByteSequence_1.isomorphicDecode(bytes);\n}\nexports.asciiDecode = asciiDecode;\n/**\n * Strips newline characters from a string.\n *\n * @param str - a string\n */\nfunction stripNewlines(str) {\n /**\n * To strip newlines from a string, remove any U+000A LF and U+000D CR code\n * points from the string.\n */\n return str.replace(/[\\n\\r]/g, \"\");\n}\nexports.stripNewlines = stripNewlines;\n/**\n * Normalizes newline characters in a string by converting consecutive\n * carriage-return newline characters and also single carriage return characters\n * into a single newline.\n *\n * @param str - a string\n */\nfunction normalizeNewlines(str) {\n /**\n * To normalize newlines in a string, replace every U+000D CR U+000A LF code\n * point pair with a single U+000A LF code point, and then replace every\n * remaining U+000D CR code point with a U+000A LF code point.\n */\n return str.replace(/\\r\\n/g, \"\\n\").replace(/\\r/g, \"\\n\");\n}\nexports.normalizeNewlines = normalizeNewlines;\n/**\n * Removes leading and trailing whitespace characters from a string.\n *\n * @param str - a string\n */\nfunction stripLeadingAndTrailingASCIIWhitespace(str) {\n /**\n * To strip leading and trailing ASCII whitespace from a string, remove all\n * ASCII whitespace that are at the start or the end of the string.\n */\n return str.replace(/^[\\t\\n\\f\\r ]+/, \"\").replace(/[\\t\\n\\f\\r ]+$/, \"\");\n}\nexports.stripLeadingAndTrailingASCIIWhitespace = stripLeadingAndTrailingASCIIWhitespace;\n/**\n * Removes consecutive newline characters from a string.\n *\n * @param str - a string\n */\nfunction stripAndCollapseASCIIWhitespace(str) {\n /**\n * To strip and collapse ASCII whitespace in a string, replace any sequence of\n * one or more consecutive code points that are ASCII whitespace in the string\n * with a single U+0020 SPACE code point, and then remove any leading and\n * trailing ASCII whitespace from that string.\n */\n return stripLeadingAndTrailingASCIIWhitespace(str.replace(/[\\t\\n\\f\\r ]{2,}/g, \" \"));\n}\nexports.stripAndCollapseASCIIWhitespace = stripAndCollapseASCIIWhitespace;\n/**\n * Collects a sequence of code points matching a given condition from the input\n * string.\n *\n * @param condition - a condition to match\n * @param input - a string\n * @param options - starting position\n */\nfunction collectASequenceOfCodePoints(condition, input, options) {\n /**\n * 1. Let result be the empty string.\n * 2. While position doesn’t point past the end of input and the code point at\n * position within input meets the condition condition:\n * 2.1. Append that code point to the end of result.\n * 2.2. Advance position by 1.\n * 3. Return result.\n */\n if (!util_1.isArray(input))\n return collectASequenceOfCodePoints(condition, Array.from(input), options);\n var result = \"\";\n while (options.position < input.length && !!condition.call(null, input[options.position])) {\n result += input[options.position];\n options.position++;\n }\n return result;\n}\nexports.collectASequenceOfCodePoints = collectASequenceOfCodePoints;\n/**\n * Skips over ASCII whitespace.\n *\n * @param input - input string\n * @param options - starting position\n */\nfunction skipASCIIWhitespace(input, options) {\n /**\n * To skip ASCII whitespace within a string input given a position variable\n * position, collect a sequence of code points that are ASCII whitespace from\n * input given position. The collected code points are not used, but position\n * is still updated.\n */\n collectASequenceOfCodePoints(function (str) { return CodePoints_1.ASCIIWhiteSpace.test(str); }, input, options);\n}\nexports.skipASCIIWhitespace = skipASCIIWhitespace;\n/**\n * Solits a string at the given delimiter.\n *\n * @param input - input string\n * @param delimiter - a delimiter string\n */\nfunction strictlySplit(input, delimiter) {\n /**\n * 1. Let position be a position variable for input, initially pointing at the\n * start of input.\n * 2. Let tokens be a list of strings, initially empty.\n * 3. Let token be the result of collecting a sequence of code points that are\n * not equal to delimiter from input, given position.\n * 4. Append token to tokens.\n * 5. While position is not past the end of input:\n * 5.1. Assert: the code point at position within input is delimiter.\n * 5.2. Advance position by 1.\n * 5.3. Let token be the result of collecting a sequence of code points that\n * are not equal to delimiter from input, given position.\n * 5.4. Append token to tokens.\n * 6. Return tokens.\n */\n if (!util_1.isArray(input))\n return strictlySplit(Array.from(input), delimiter);\n var options = { position: 0 };\n var tokens = [];\n var token = collectASequenceOfCodePoints(function (str) { return delimiter !== str; }, input, options);\n tokens.push(token);\n while (options.position < input.length) {\n console.assert(input[options.position] === delimiter, \"strictlySplit found no delimiter in input string.\");\n options.position++;\n token = collectASequenceOfCodePoints(function (str) { return delimiter !== str; }, input, options);\n tokens.push(token);\n }\n return tokens;\n}\nexports.strictlySplit = strictlySplit;\n/**\n * Splits a string on ASCII whitespace.\n *\n * @param input - a string\n */\nfunction splitAStringOnASCIIWhitespace(input) {\n /**\n * 1. Let position be a position variable for input, initially pointing at the\n * start of input.\n * 2. Let tokens be a list of strings, initially empty.\n * 3. Skip ASCII whitespace within input given position.\n * 4. While position is not past the end of input:\n * 4.1. Let token be the result of collecting a sequence of code points that\n * are not ASCII whitespace from input, given position.\n * 4.2. Append token to tokens.\n * 4.3. Skip ASCII whitespace within input given position.\n * 5. Return tokens.\n */\n if (!util_1.isArray(input))\n return splitAStringOnASCIIWhitespace(Array.from(input));\n var options = { position: 0 };\n var tokens = [];\n skipASCIIWhitespace(input, options);\n while (options.position < input.length) {\n var token = collectASequenceOfCodePoints(function (str) { return !CodePoints_1.ASCIIWhiteSpace.test(str); }, input, options);\n tokens.push(token);\n skipASCIIWhitespace(input, options);\n }\n return tokens;\n}\nexports.splitAStringOnASCIIWhitespace = splitAStringOnASCIIWhitespace;\n/**\n * Splits a string on commas.\n *\n * @param input - a string\n */\nfunction splitAStringOnCommas(input) {\n /**\n * 1. Let position be a position variable for input, initially pointing at the\n * start of input.\n * 2. Let tokens be a list of strings, initially empty.\n * 3. While position is not past the end of input:\n * 3.1. Let token be the result of collecting a sequence of code points that\n * are not U+002C (,) from input, given position.\n * 3.2. Strip leading and trailing ASCII whitespace from token.\n * 3.3. Append token to tokens.\n * 3.4. If position is not past the end of input, then:\n * 3.4.1. Assert: the code point at position within input is U+002C (,).\n * 3.4.2. Advance position by 1.\n * 4. Return tokens.\n */\n if (!util_1.isArray(input))\n return splitAStringOnCommas(Array.from(input));\n var options = { position: 0 };\n var tokens = [];\n while (options.position < input.length) {\n var token = collectASequenceOfCodePoints(function (str) { return str !== ','; }, input, options);\n tokens.push(stripLeadingAndTrailingASCIIWhitespace(token));\n if (options.position < input.length) {\n console.assert(input[options.position] === ',', \"splitAStringOnCommas found no delimiter in input string.\");\n options.position++;\n }\n }\n return tokens;\n}\nexports.splitAStringOnCommas = splitAStringOnCommas;\n/**\n * Concatenates a list of strings with the given separator.\n *\n * @param list - a list of strings\n * @param separator - a separator string\n */\nfunction concatenate(list, separator) {\n if (separator === void 0) { separator = \"\"; }\n /**\n * 1. If list is empty, then return the empty string.\n * 2. If separator is not given, then set separator to the empty string.\n * 3. Return a string whose contents are list’s items, in order, separated\n * from each other by separator.\n */\n if (list.length === 0)\n return \"\";\n return list.join(separator);\n}\nexports.concatenate = concatenate;\n//# sourceMappingURL=String.js.map","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar base64 = __importStar(require(\"./Base64\"));\nexports.base64 = base64;\nvar byte = __importStar(require(\"./Byte\"));\nexports.byte = byte;\nvar byteSequence = __importStar(require(\"./ByteSequence\"));\nexports.byteSequence = byteSequence;\nvar codePoint = __importStar(require(\"./CodePoints\"));\nexports.codePoint = codePoint;\nvar json = __importStar(require(\"./JSON\"));\nexports.json = json;\nvar list = __importStar(require(\"./List\"));\nexports.list = list;\nvar map = __importStar(require(\"./Map\"));\nexports.map = map;\nvar namespace = __importStar(require(\"./Namespace\"));\nexports.namespace = namespace;\nvar queue = __importStar(require(\"./Queue\"));\nexports.queue = queue;\nvar set = __importStar(require(\"./Set\"));\nexports.set = set;\nvar stack = __importStar(require(\"./Stack\"));\nexports.stack = stack;\nvar string = __importStar(require(\"./String\"));\nexports.string = string;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar interfaces_1 = require(\"./interfaces\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar url_1 = require(\"url\");\nvar _validationErrorCallback;\n/**\n * Default ports for a special URL scheme.\n */\nvar _defaultPorts = {\n \"ftp\": 21,\n \"file\": null,\n \"http\": 80,\n \"https\": 443,\n \"ws\": 80,\n \"wss\": 443\n};\n/**\n * The C0 control percent-encode set are the C0 controls and all code points\n * greater than U+007E (~).\n */\nvar _c0ControlPercentEncodeSet = /[\\0-\\x1F\\x7F-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\n/**\n * The fragment percent-encode set is the C0 control percent-encode set and\n * U+0020 SPACE, U+0022 (\"), U+003C (<), U+003E (>), and U+0060 (`).\n */\nvar _fragmentPercentEncodeSet = /[ \"<>`]|[\\0-\\x1F\\x7F-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\n/**\n * The path percent-encode set is the fragment percent-encode set and\n * U+0023 (#), U+003F (?), U+007B ({), and U+007D (}).\n */\nvar _pathPercentEncodeSet = /[ \"<>`#?{}]|[\\0-\\x1F\\x7F-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\n/**\n * The userinfo percent-encode set is the path percent-encode set and\n * U+002F (/), U+003A (:), U+003B (;), U+003D (=), U+0040 (@), U+005B ([),\n * U+005C (\\), U+005D (]), U+005E (^), and U+007C (|).\n */\nvar _userInfoPercentEncodeSet = /[ \"<>`#?{}/:;=@\\[\\]\\\\\\^\\|]|[\\0-\\x1F\\x7F-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\n/**\n * The URL code points are ASCII alphanumeric, U+0021 (!), U+0024 ($),\n * U+0026 (&), U+0027 ('), U+0028 LEFT PARENTHESIS, U+0029 RIGHT PARENTHESIS,\n * U+002A (*), U+002B (+), U+002C (,), U+002D (-), U+002E (.), U+002F (/),\n * U+003A (:), U+003B (;), U+003D (=), U+003F (?), U+0040 (@), U+005F (_),\n * U+007E (~), and code points in the range U+00A0 to U+10FFFD, inclusive,\n * excluding surrogates and noncharacters.\n */\nvar _urlCodePoints = /[0-9A-Za-z!\\$&-\\/:;=\\?@_~\\xA0-\\uD7FF\\uE000-\\uFDCF\\uFDF0-\\uFFFD]|[\\uD800-\\uD83E\\uD840-\\uD87E\\uD880-\\uD8BE\\uD8C0-\\uD8FE\\uD900-\\uD93E\\uD940-\\uD97E\\uD980-\\uD9BE\\uD9C0-\\uD9FE\\uDA00-\\uDA3E\\uDA40-\\uDA7E\\uDA80-\\uDABE\\uDAC0-\\uDAFE\\uDB00-\\uDB3E\\uDB40-\\uDB7E\\uDB80-\\uDBBE\\uDBC0-\\uDBFE][\\uDC00-\\uDFFF]|[\\uD83F\\uD87F\\uD8BF\\uD8FF\\uD93F\\uD97F\\uD9BF\\uD9FF\\uDA3F\\uDA7F\\uDABF\\uDAFF\\uDB3F\\uDB7F\\uDBBF\\uDBFF][\\uDC00-\\uDFFD]/;\n/**\n * A forbidden host code point is U+0000 NULL, U+0009 TAB, U+000A LF,\n * U+000D CR, U+0020 SPACE, U+0023 (#), U+0025 (%), U+002F (/), U+003A (:),\n * U+003F (?), U+0040 (@), U+005B ([), U+005C (\\), or U+005D (]).\n */\nvar _forbiddenHostCodePoint = /[\\0\\t\\f\\r #%/:?@\\[\\\\\\]]/;\n/**\n * Sets the callback function for validation errors.\n *\n * @param validationErrorCallback - a callback function to be called when a\n * validation error occurs\n */\nfunction setValidationErrorCallback(validationErrorCallback) {\n _validationErrorCallback = validationErrorCallback;\n}\nexports.setValidationErrorCallback = setValidationErrorCallback;\n/**\n * Generates a validation error.\n *\n * @param message - error message\n */\nfunction validationError(message) {\n if (_validationErrorCallback !== undefined) {\n _validationErrorCallback.call(null, \"Validation Error: \" + message);\n }\n}\n/**\n * Creates a new URL.\n */\nfunction newURL() {\n return {\n scheme: '',\n username: '',\n password: '',\n host: null,\n port: null,\n path: [],\n query: null,\n fragment: null,\n _cannotBeABaseURLFlag: false,\n _blobURLEntry: null\n };\n}\nexports.newURL = newURL;\n/**\n * Determines if the scheme is a special scheme.\n *\n * @param scheme - a scheme\n */\nfunction isSpecialScheme(scheme) {\n return (scheme in _defaultPorts);\n}\nexports.isSpecialScheme = isSpecialScheme;\n/**\n * Determines if the URL has a special scheme.\n *\n * @param url - an URL\n */\nfunction isSpecial(url) {\n return isSpecialScheme(url.scheme);\n}\nexports.isSpecial = isSpecial;\n/**\n * Returns the default port for a special scheme.\n *\n * @param scheme - a scheme\n */\nfunction defaultPort(scheme) {\n return _defaultPorts[scheme] || null;\n}\nexports.defaultPort = defaultPort;\n/**\n * Determines if the URL has credentials.\n *\n * @param url - an URL\n */\nfunction includesCredentials(url) {\n return url.username !== '' || url.password !== '';\n}\nexports.includesCredentials = includesCredentials;\n/**\n * Determines if an URL cannot have credentials.\n *\n * @param url - an URL\n */\nfunction cannotHaveAUsernamePasswordPort(url) {\n /**\n * A URL cannot have a username/password/port if its host is null or the\n * empty string, its cannot-be-a-base-URL flag is set, or its scheme is\n * \"file\".\n */\n return (url.host === null || url.host === \"\" || url._cannotBeABaseURLFlag ||\n url.scheme === \"file\");\n}\nexports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort;\n/**\n * Serializes an URL into a string.\n *\n * @param url - an URL\n */\nfunction urlSerializer(url, excludeFragmentFlag) {\n var e_1, _a;\n if (excludeFragmentFlag === void 0) { excludeFragmentFlag = false; }\n /**\n * 1. Let output be url’s scheme and U+003A (:) concatenated.\n */\n var output = url.scheme + ':';\n /**\n * 2. If url’s host is non-null:\n */\n if (url.host !== null) {\n /**\n * 2.1. Append \"//\" to output.\n */\n output += '//';\n /**\n * 2.2. If url includes credentials, then:\n */\n if (includesCredentials(url)) {\n /**\n * 2.2.1. Append url’s username to output.\n * 2.2.2. If url’s password is not the empty string, then append U+003A (:),\n * followed by url’s password, to output.\n * 2.2.3. Append U+0040 (@) to output.\n */\n output += url.username;\n if (url.password !== '') {\n output += ':' + url.password;\n }\n output += '@';\n }\n /**\n * 2.3. Append url’s host, serialized, to output.\n * 2.4. If url’s port is non-null, append U+003A (:) followed by url’s port,\n * serialized, to output.\n */\n output += hostSerializer(url.host);\n if (url.port !== null) {\n output += ':' + url.port;\n }\n }\n else if (url.host === null && url.scheme === \"file\") {\n /**\n * 3. Otherwise, if url’s host is null and url’s scheme is \"file\", append \"//\" to output.\n */\n output += '//';\n }\n /**\n * 4. If url’s cannot-be-a-base-URL flag is set, append url’s path[0] to\n * output.\n * 5. Otherwise, then for each string in url’s path, append U+002F (/)\n * followed by the string to output.\n */\n if (url._cannotBeABaseURLFlag) {\n output += url.path[0];\n }\n else {\n try {\n for (var _b = __values(url.path), _c = _b.next(); !_c.done; _c = _b.next()) {\n var str = _c.value;\n output += '/' + str;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n /**\n * 6. If url’s query is non-null, append U+003F (?), followed by url’s\n * query, to output.\n * 7. If the exclude fragment flag is unset and url’s fragment is non-null,\n * append U+0023 (#), followed by url’s fragment, to output.\n * 8. Return output.\n */\n if (url.query !== null) {\n output += '?' + url.query;\n }\n if (!excludeFragmentFlag && url.fragment !== null) {\n output += '#' + url.fragment;\n }\n return output;\n}\nexports.urlSerializer = urlSerializer;\n/**\n * Serializes a host into a string.\n *\n * @param host - a host\n */\nfunction hostSerializer(host) {\n /**\n * 1. If host is an IPv4 address, return the result of running the IPv4\n * serializer on host.\n * 2. Otherwise, if host is an IPv6 address, return U+005B ([), followed\n * by the result of running the IPv6 serializer on host, followed by\n * U+005D (]).\n * 3. Otherwise, host is a domain, opaque host, or empty host, return host.\n */\n if (util_1.isNumber(host)) {\n return iPv4Serializer(host);\n }\n else if (util_1.isArray(host)) {\n return '[' + iPv6Serializer(host) + ']';\n }\n else {\n return host;\n }\n}\nexports.hostSerializer = hostSerializer;\n/**\n * Serializes an IPv4 address into a string.\n *\n * @param address - an IPv4 address\n */\nfunction iPv4Serializer(address) {\n /**\n * 1. Let output be the empty string.\n * 2. Let n be the value of address.\n * 3. For each i in the range 1 to 4, inclusive:\n * 3.1. Prepend n % 256, serialized, to output.\n * 3.2. If i is not 4, then prepend U+002E (.) to output.\n * 3.3. Set n to floor(n / 256).\n * 4. Return output.\n */\n var output = \"\";\n var n = address;\n for (var i = 1; i <= 4; i++) {\n output = (n % 256).toString() + output;\n if (i !== 4) {\n output = '.' + output;\n }\n n = Math.floor(n / 256);\n }\n return output;\n}\nexports.iPv4Serializer = iPv4Serializer;\n/**\n * Serializes an IPv6 address into a string.\n *\n * @param address - an IPv6 address represented as a list of eight numbers\n */\nfunction iPv6Serializer(address) {\n /**\n * 1. Let output be the empty string.\n * 2. Let compress be an index to the first IPv6 piece in the first longest\n * sequences of address’s IPv6 pieces that are 0.\n * In 0:f:0:0:f:f:0:0 it would point to the second 0.\n * 3. If there is no sequence of address’s IPv6 pieces that are 0 that is\n * longer than 1, then set compress to null.\n */\n var output = \"\";\n var compress = null;\n var lastIndex = -1;\n var count = 0;\n var lastCount = 0;\n for (var i = 0; i < 8; i++) {\n if (address[i] !== 0)\n continue;\n count = 1;\n for (var j = i + 1; j < 8; j++) {\n if (address[j] !== 0)\n break;\n count++;\n continue;\n }\n if (count > lastCount) {\n lastCount = count;\n lastIndex = i;\n }\n }\n if (lastCount > 1)\n compress = lastIndex;\n /**\n * 4. Let ignore0 be false.\n * 5. For each pieceIndex in the range 0 to 7, inclusive:\n */\n var ignore0 = false;\n for (var pieceIndex = 0; pieceIndex < 8; pieceIndex++) {\n /**\n * 5.1. If ignore0 is true and address[pieceIndex] is 0, then continue.\n * 5.2. Otherwise, if ignore0 is true, set ignore0 to false.\n * 5.3. If compress is pieceIndex, then:\n */\n if (ignore0 && address[pieceIndex] === 0)\n continue;\n if (ignore0)\n ignore0 = false;\n if (compress === pieceIndex) {\n /**\n * 5.3.1. Let separator be \"::\" if pieceIndex is 0, and U+003A (:) otherwise.\n * 5.3.2. Append separator to output.\n * 5.3.3. Set ignore0 to true and continue.\n */\n output += (pieceIndex === 0 ? '::' : ':');\n ignore0 = true;\n continue;\n }\n /**\n * 5.4. Append address[pieceIndex], represented as the shortest possible\n * lowercase hexadecimal number, to output.\n * 5.5. If pieceIndex is not 7, then append U+003A (:) to output.\n */\n output += address[pieceIndex].toString(16);\n if (pieceIndex !== 7)\n output += ':';\n }\n /**\n * 6. Return output.\n */\n return output;\n}\nexports.iPv6Serializer = iPv6Serializer;\n/**\n * Parses an URL string.\n *\n * @param input - input string\n * @param baseURL - base URL\n * @param encodingOverride - encoding override\n */\nfunction urlParser(input, baseURL, encodingOverride) {\n /**\n * 1. Let url be the result of running the basic URL parser on input with\n * base, and encoding override as provided.\n * 2. If url is failure, return failure.\n * 3. If url’s scheme is not \"blob\", return url.\n * 4. Set url’s blob URL entry to the result of resolving the blob URL url,\n * if that did not return failure, and null otherwise.\n * 5. Return url.\n */\n var url = basicURLParser(input, baseURL, encodingOverride);\n if (url === null)\n return null;\n if (url.scheme !== \"blob\")\n return url;\n var entry = resolveABlobURL(url);\n if (entry !== null) {\n url._blobURLEntry = entry;\n }\n else {\n url._blobURLEntry = null;\n }\n return url;\n}\nexports.urlParser = urlParser;\n/**\n * Parses an URL string.\n *\n * @param input - input string\n * @param baseURL - base URL\n * @param encodingOverride - encoding override\n */\nfunction basicURLParser(input, baseURL, encodingOverride, url, stateOverride) {\n var e_2, _a, e_3, _b;\n /**\n * 1. If url is not given:\n * 1.1. Set url to a new URL.\n * 1.2. If input contains any leading or trailing C0 control or space,\n * validation error.\n * 1.3. Remove any leading and trailing C0 control or space from input.\n */\n if (url === undefined) {\n url = newURL();\n // leading\n var leadingControlOrSpace = /^[\\u0000-\\u001F\\u0020]+/;\n var trailingControlOrSpace = /[\\u0000-\\u001F\\u0020]+$/;\n if (leadingControlOrSpace.test(input) || trailingControlOrSpace.test(input)) {\n validationError(\"Input string contains leading or trailing control characters or space.\");\n }\n input = input.replace(leadingControlOrSpace, '');\n input = input.replace(trailingControlOrSpace, '');\n }\n /**\n * 2. If input contains any ASCII tab or newline, validation error.\n * 3. Remove all ASCII tab or newline from input.\n */\n var tabOrNewline = /[\\u0009\\u000A\\u000D]/g;\n if (tabOrNewline.test(input)) {\n validationError(\"Input string contains tab or newline characters.\");\n }\n input = input.replace(tabOrNewline, '');\n /**\n * 4. Let state be state override if given, or scheme start state otherwise.\n * 5. If base is not given, set it to null.\n * 6. Let encoding be UTF-8.\n * 7. If encoding override is given, set encoding to the result of getting\n * an output encoding from encoding override.\n */\n var state = (stateOverride === undefined ? interfaces_1.ParserState.SchemeStart : stateOverride);\n if (baseURL === undefined)\n baseURL = null;\n var encoding = (encodingOverride === undefined ||\n encodingOverride === \"replacement\" || encodingOverride === \"UTF-16BE\" ||\n encodingOverride === \"UTF-16LE\" ? \"UTF-8\" : encodingOverride);\n /**\n * 8. Let buffer be the empty string.\n * 9. Let the @ flag, [] flag, and passwordTokenSeenFlag be unset.\n * 10. Let pointer be a pointer to first code point in input.\n */\n var buffer = \"\";\n var atFlag = false;\n var arrayFlag = false;\n var passwordTokenSeenFlag = false;\n var EOF = \"\";\n var walker = new util_1.StringWalker(input);\n /**\n * 11. Keep running the following state machine by switching on state. If\n * after a run pointer points to the EOF code point, go to the next step.\n * Otherwise, increase pointer by one and continue with the state machine.\n */\n while (true) {\n switch (state) {\n case interfaces_1.ParserState.SchemeStart:\n /**\n * 1. If c is an ASCII alpha, append c, lowercased, to buffer, and set\n * state to scheme state.\n * 2. Otherwise, if state override is not given, set state to no scheme\n * state, and decrease pointer by one.\n * 3. Otherwise, validation error, return failure.\n */\n if (infra_1.codePoint.ASCIIAlpha.test(walker.c())) {\n buffer += walker.c().toLowerCase();\n state = interfaces_1.ParserState.Scheme;\n }\n else if (stateOverride === undefined) {\n state = interfaces_1.ParserState.NoScheme;\n walker.pointer--;\n }\n else {\n validationError(\"Invalid scheme start character.\");\n return null;\n }\n break;\n case interfaces_1.ParserState.Scheme:\n /**\n * 1. If c is an ASCII alphanumeric, U+002B (+), U+002D (-), or U+002E\n * (.), append c, lowercased, to buffer.\n */\n if (infra_1.codePoint.ASCIIAlphanumeric.test(walker.c()) ||\n walker.c() === '+' || walker.c() === '-' || walker.c() === '.') {\n buffer += walker.c().toLowerCase();\n }\n else if (walker.c() === ':') {\n /**\n * 2. Otherwise, if c is U+003A (:), then:\n * 2.1. If state override is given, then:\n * 2.1.1. If url’s scheme is a special scheme and buffer is not a\n * special scheme, then return.\n * 2.1.2. If url’s scheme is not a special scheme and buffer is a\n * special scheme, then return.\n * 2.1.3. If url includes credentials or has a non-null port, and\n * buffer is \"file\", then return.\n * 2.1.4. If url’s scheme is \"file\" and its host is an empty host or\n * null, then return.\n */\n if (stateOverride !== undefined) {\n if (isSpecialScheme(url.scheme) && !isSpecialScheme(buffer))\n return url;\n if (!isSpecialScheme(url.scheme) && isSpecialScheme(buffer))\n return url;\n if ((includesCredentials(url) || url.port !== null) && buffer === \"file\")\n return url;\n if (url.scheme === \"file\" && (url.host === \"\" || url.host === null))\n return url;\n }\n /**\n * 2.2. Set url’s scheme to buffer.\n */\n url.scheme = buffer;\n /**\n * 2.3. If state override is given, then:\n * 2.3.1. If url’s port is url’s scheme’s default port, then set\n * url’s port to null.\n * 2.3.2. Return.\n */\n if (stateOverride !== undefined) {\n if (url.port === defaultPort(url.scheme)) {\n url.port = null;\n }\n return url;\n }\n /**\n * 2.4. Set buffer to the empty string.\n */\n buffer = \"\";\n if (url.scheme === \"file\") {\n /**\n * 2.5. If url’s scheme is \"file\", then:\n * 2.5.1. If remaining does not start with \"//\", validation error.\n * 2.5.2. Set state to file state.\n */\n if (!walker.remaining().startsWith(\"//\")) {\n validationError(\"Invalid file URL scheme, '//' expected.\");\n }\n state = interfaces_1.ParserState.File;\n }\n else if (isSpecial(url) && baseURL !== null && baseURL.scheme === url.scheme) {\n /**\n * 2.6. Otherwise, if url is special, base is non-null, and base’s\n * scheme is equal to url’s scheme, set state to special relative\n * or authority state.\n */\n state = interfaces_1.ParserState.SpecialRelativeOrAuthority;\n }\n else if (isSpecial(url)) {\n /**\n * 2.7. Otherwise, if url is special, set state to special\n * authority slashes state.\n */\n state = interfaces_1.ParserState.SpecialAuthoritySlashes;\n }\n else if (walker.remaining().startsWith(\"/\")) {\n /**\n * 2.8. Otherwise, if remaining starts with an U+002F (/), set state\n * to path or authority state and increase pointer by one.\n */\n state = interfaces_1.ParserState.PathOrAuthority;\n walker.pointer++;\n }\n else {\n /**\n * 2.9. Otherwise, set url’s cannot-be-a-base-URL flag, append an\n * empty string to url’s path, and set state to\n * cannot-be-a-base-URL path state.\n */\n url._cannotBeABaseURLFlag = true;\n url.path.push(\"\");\n state = interfaces_1.ParserState.CannotBeABaseURLPath;\n }\n }\n else if (stateOverride === undefined) {\n /**\n * 3. Otherwise, if state override is not given, set buffer to the\n * empty string, state to no scheme state, and start over (from the\n * first code point in input).\n */\n buffer = \"\";\n state = interfaces_1.ParserState.NoScheme;\n walker.pointer = 0;\n continue;\n }\n else {\n /**\n * 4. Otherwise, validation error, return failure.\n */\n validationError(\"Invalid input string.\");\n return null;\n }\n break;\n case interfaces_1.ParserState.NoScheme:\n /**\n * 1. If base is null, or base’s cannot-be-a-base-URL flag is set\n * and c is not U+0023 (#), validation error, return failure.\n * 2. Otherwise, if base’s cannot-be-a-base-URL flag is set and\n * c is U+0023 (#), set url’s scheme to base’s scheme, url’s path to\n * a copy of base’s path, url’s query to base’s query, url’s\n * fragment to the empty string, set url’s cannot-be-a-base-URL\n * flag, and set state to fragment state.\n * 3. Otherwise, if base’s scheme is not \"file\", set state to\n * relative state and decrease pointer by one.\n * 4. Otherwise, set state to file state and decrease pointer by one.\n */\n if (baseURL === null || (baseURL._cannotBeABaseURLFlag && walker.c() !== '#')) {\n validationError(\"Invalid input string.\");\n return null;\n }\n else if (baseURL._cannotBeABaseURLFlag && walker.c() === '#') {\n url.scheme = baseURL.scheme;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = baseURL.query;\n url.fragment = \"\";\n url._cannotBeABaseURLFlag = true;\n state = interfaces_1.ParserState.Fragment;\n }\n else if (baseURL.scheme !== \"file\") {\n state = interfaces_1.ParserState.Relative;\n walker.pointer--;\n }\n else {\n state = interfaces_1.ParserState.File;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.SpecialRelativeOrAuthority:\n /**\n * If c is U+002F (/) and remaining starts with U+002F (/), then set\n * state to special authority ignore slashes state and increase\n * pointer by one.\n * Otherwise, validation error, set state to relative state and\n * decrease pointer by one.\n */\n if (walker.c() === '/' && walker.remaining().startsWith('/')) {\n state = interfaces_1.ParserState.SpecialAuthorityIgnoreSlashes;\n walker.pointer++;\n }\n else {\n validationError(\"Invalid input string.\");\n state = interfaces_1.ParserState.Relative;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.PathOrAuthority:\n /**\n * If c is U+002F (/), then set state to authority state.\n * Otherwise, set state to path state, and decrease pointer by one.\n */\n if (walker.c() === '/') {\n state = interfaces_1.ParserState.Authority;\n }\n else {\n state = interfaces_1.ParserState.Path;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.Relative:\n /**\n * Set url’s scheme to base’s scheme, and then, switching on c:\n */\n if (baseURL === null) {\n throw new Error(\"Invalid parser state. Base URL is null.\");\n }\n url.scheme = baseURL.scheme;\n switch (walker.c()) {\n case EOF: // EOF\n /**\n * Set url’s username to base’s username, url’s password to base’s\n * password, url’s host to base’s host, url’s port to base’s port,\n * url’s path to a copy of base’s path, and url’s query to base’s\n * query.\n */\n url.username = baseURL.username;\n url.password = baseURL.password;\n url.host = baseURL.host;\n url.port = baseURL.port;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = baseURL.query;\n break;\n case '/':\n /**\n * Set state to relative slash state.\n */\n state = interfaces_1.ParserState.RelativeSlash;\n break;\n case '?':\n /**\n * Set url’s username to base’s username, url’s password to base’s\n * password, url’s host to base’s host, url’s port to base’s port,\n * url’s path to a copy of base’s path, url’s query to the empty\n * string, and state to query state.\n */\n url.username = baseURL.username;\n url.password = baseURL.password;\n url.host = baseURL.host;\n url.port = baseURL.port;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = \"\";\n state = interfaces_1.ParserState.Query;\n break;\n case '#':\n /**\n * Set url’s username to base’s username, url’s password to base’s\n * password, url’s host to base’s host, url’s port to base’s port,\n * url’s path to a copy of base’s path, url’s query to base’s\n * query, url’s fragment to the empty string, and state to\n * fragment state.\n */\n url.username = baseURL.username;\n url.password = baseURL.password;\n url.host = baseURL.host;\n url.port = baseURL.port;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = baseURL.query;\n url.fragment = \"\";\n state = interfaces_1.ParserState.Fragment;\n break;\n default:\n /**\n * If url is special and c is U+005C (\\), validation error,\n * set state to relative slash state.\n * Otherwise, run these steps:\n * 1. Set url’s username to base’s username, url’s password to\n * base’s password, url’s host to base’s host, url’s port to\n * base’s port, url’s path to a copy of base’s path, and then\n * remove url’s path’s last item, if any.\n * 2. Set state to path state, and decrease pointer by one.\n */\n if (isSpecial(url) && walker.c() === '\\\\') {\n validationError(\"Invalid input string.\");\n state = interfaces_1.ParserState.RelativeSlash;\n }\n else {\n url.username = baseURL.username;\n url.password = baseURL.password;\n url.host = baseURL.host;\n url.port = baseURL.port;\n url.path = infra_1.list.clone(baseURL.path);\n if (url.path.length !== 0)\n url.path.splice(url.path.length - 1, 1);\n state = interfaces_1.ParserState.Path;\n walker.pointer--;\n }\n break;\n }\n break;\n case interfaces_1.ParserState.RelativeSlash:\n /**\n * 1. If url is special and c is U+002F (/) or U+005C (\\), then:\n * 1.1. If c is U+005C (\\), validation error.\n * 1.2. Set state to special authority ignore slashes state.\n * 2. Otherwise, if c is U+002F (/), then set state to authority state.\n * 3. Otherwise, set url’s username to base’s username, url’s password\n * to base’s password, url’s host to base’s host, url’s port to base’s\n * port, state to path state, and then, decrease pointer by one.\n */\n if (isSpecial(url) && (walker.c() === '/' || walker.c() === '\\\\')) {\n if (walker.c() === '\\\\') {\n validationError(\"Invalid input string.\");\n }\n state = interfaces_1.ParserState.SpecialAuthorityIgnoreSlashes;\n }\n else if (walker.c() === '/') {\n state = interfaces_1.ParserState.Authority;\n }\n else {\n if (baseURL === null) {\n throw new Error(\"Invalid parser state. Base URL is null.\");\n }\n url.username = baseURL.username;\n url.password = baseURL.password;\n url.host = baseURL.host;\n url.port = baseURL.port;\n state = interfaces_1.ParserState.Path;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.SpecialAuthoritySlashes:\n /**\n * If c is U+002F (/) and remaining starts with U+002F (/), then set\n * state to special authority ignore slashes state and increase\n * pointer by one.\n * Otherwise, validation error, set state to special authority ignore\n * slashes state, and decrease pointer by one.\n */\n if (walker.c() === '/' && walker.remaining().startsWith('/')) {\n state = interfaces_1.ParserState.SpecialAuthorityIgnoreSlashes;\n walker.pointer++;\n }\n else {\n validationError(\"Expected '//'.\");\n state = interfaces_1.ParserState.SpecialAuthorityIgnoreSlashes;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.SpecialAuthorityIgnoreSlashes:\n /**\n * If c is neither U+002F (/) nor U+005C (\\), then set state to\n * authority state and decrease pointer by one.\n * Otherwise, validation error.\n */\n if (walker.c() !== '/' && walker.c() !== '\\\\') {\n state = interfaces_1.ParserState.Authority;\n walker.pointer--;\n }\n else {\n validationError(\"Unexpected '/' or '\\\\'.\");\n }\n break;\n case interfaces_1.ParserState.Authority:\n /**\n * 1. If c is U+0040 (@), then:\n */\n if (walker.c() === '@') {\n /**\n * 1.1. Validation error.\n * 1.2. If the @ flag is set, prepend \"%40\" to buffer.\n * 1.3. Set the @ flag.\n * 1.4. For each codePoint in buffer:\n */\n validationError(\"Unexpected '@'.\");\n if (atFlag)\n buffer = '%40' + buffer;\n atFlag = true;\n try {\n for (var buffer_1 = (e_2 = void 0, __values(buffer)), buffer_1_1 = buffer_1.next(); !buffer_1_1.done; buffer_1_1 = buffer_1.next()) {\n var codePoint = buffer_1_1.value;\n /**\n * 1.4.1. If codePoint is U+003A (:) and passwordTokenSeenFlag is\n * unset, then set passwordTokenSeenFlag and continue.\n * 1.4.2. Let encodedCodePoints be the result of running UTF-8\n * percent encode codePoint using the userinfo percent-encode set.\n * 1.4.3. If passwordTokenSeenFlag is set, then append\n * encodedCodePoints to url’s password.\n * 1.4.4. Otherwise, append encodedCodePoints to url’s username.\n */\n if (codePoint === ':' && !passwordTokenSeenFlag) {\n passwordTokenSeenFlag = true;\n continue;\n }\n var encodedCodePoints = utf8PercentEncode(codePoint, _userInfoPercentEncodeSet);\n if (passwordTokenSeenFlag) {\n url.password += encodedCodePoints;\n }\n else {\n url.username += encodedCodePoints;\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (buffer_1_1 && !buffer_1_1.done && (_a = buffer_1.return)) _a.call(buffer_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n /**\n * 1.5. Set buffer to the empty string.\n */\n buffer = \"\";\n }\n else if (walker.c() === EOF || walker.c() === '/' || walker.c() === '?' || walker.c() === '#' ||\n (isSpecial(url) && walker.c() === '\\\\')) {\n /**\n * 2. Otherwise, if one of the following is true\n * - c is the EOF code point, U+002F (/), U+003F (?), or U+0023 (#)\n * - url is special and c is U+005C (\\)\n * then:\n * 2.1. If @ flag is set and buffer is the empty string, validation\n * error, return failure.\n * 2.2. Decrease pointer by the number of code points in buffer plus\n * one, set buffer to the empty string, and set state to host state.\n */\n if (atFlag && buffer === \"\") {\n validationError(\"Invalid input string.\");\n return null;\n }\n walker.pointer -= (buffer.length + 1);\n buffer = \"\";\n state = interfaces_1.ParserState.Host;\n }\n else {\n /**\n * 3. Otherwise, append c to buffer.\n */\n buffer += walker.c();\n }\n break;\n case interfaces_1.ParserState.Host:\n case interfaces_1.ParserState.Hostname:\n if (stateOverride !== undefined && url.scheme === \"file\") {\n /**\n * 1. If state override is given and url’s scheme is \"file\", then\n * decrease pointer by one and set state to file host state.\n */\n walker.pointer--;\n state = interfaces_1.ParserState.FileHost;\n }\n else if (walker.c() === ':' && !arrayFlag) {\n /**\n * 2. Otherwise, if c is U+003A (:) and the [] flag is unset, then:\n * 2.1. If buffer is the empty string, validation error, return\n * failure.\n * 2.2. Let host be the result of host parsing buffer with url is\n * not special.\n * 2.3. If host is failure, then return failure.\n * 2.4. Set url’s host to host, buffer to the empty string, and\n * state to port state.\n * 2.5. If state override is given and state override is hostname\n * state, then return.\n */\n if (buffer === \"\") {\n validationError(\"Invalid input string.\");\n return null;\n }\n var host = hostParser(buffer, !isSpecial(url));\n if (host === null)\n return null;\n url.host = host;\n buffer = \"\";\n state = interfaces_1.ParserState.Port;\n if (stateOverride === interfaces_1.ParserState.Hostname)\n return url;\n }\n else if (walker.c() === EOF || walker.c() === '/' || walker.c() === '?' || walker.c() === '#' ||\n (isSpecial(url) && walker.c() === '\\\\')) {\n /**\n * 3. Otherwise, if one of the following is true\n * - c is the EOF code point, U+002F (/), U+003F (?), or U+0023 (#)\n * - url is special and c is U+005C (\\)\n * then decrease pointer by one, and then:\n * 3.1. If url is special and buffer is the empty string, validation\n * error, return failure.\n * 3.2. Otherwise, if state override is given, buffer is the empty\n * string, and either url includes credentials or url’s port is\n * non-null, validation error, return.\n * 3.3. Let host be the result of host parsing buffer with url is\n * not special.\n * 3.4. If host is failure, then return failure.\n * 3.5. Set url’s host to host, buffer to the empty string, and\n * state to path start state.\n * 3.6. If state override is given, then return.\n */\n walker.pointer--;\n if (isSpecial(url) && buffer === \"\") {\n validationError(\"Invalid input string.\");\n return null;\n }\n else if (stateOverride !== undefined && buffer === \"\" &&\n (includesCredentials(url) || url.port !== null)) {\n validationError(\"Invalid input string.\");\n return url;\n }\n var host = hostParser(buffer, !isSpecial(url));\n if (host === null)\n return null;\n url.host = host;\n buffer = \"\";\n state = interfaces_1.ParserState.PathStart;\n if (stateOverride !== undefined)\n return url;\n }\n else {\n /**\n * 4. Otherwise:\n * 4.1. If c is U+005B ([), then set the [] flag.\n * 4.2. If c is U+005D (]), then unset the [] flag.\n * 4.3. Append c to buffer.\n */\n if (walker.c() === '[')\n arrayFlag = true;\n if (walker.c() === ']')\n arrayFlag = false;\n buffer += walker.c();\n }\n break;\n case interfaces_1.ParserState.Port:\n if (infra_1.codePoint.ASCIIDigit.test(walker.c())) {\n /**\n * 1. If c is an ASCII digit, append c to buffer.\n */\n buffer += walker.c();\n }\n else if (walker.c() === EOF || walker.c() === '/' || walker.c() === '?' || walker.c() === '#' ||\n (isSpecial(url) && walker.c() === '\\\\') || stateOverride) {\n /**\n * 2. Otherwise, if one of the following is true\n * - c is the EOF code point, U+002F (/), U+003F (?), or U+0023 (#)\n * - url is special and c is U+005C (\\)\n * - state override is given\n * then:\n */\n if (buffer !== \"\") {\n /**\n * 2.1. If buffer is not the empty string, then:\n * 2.1.1. Let port be the mathematical integer value that is\n * represented by buffer in radix-10 using ASCII digits for digits\n * with values 0 through 9.\n * 2.1.2. If port is greater than 2**16 − 1, validation error,\n * return failure.\n * 2.1.3. Set url’s port to null, if port is url’s scheme’s default\n * port, and to port otherwise.\n * 2.1.4. Set buffer to the empty string.\n */\n if (buffer !== \"\") {\n var port = parseInt(buffer, 10);\n if (port > Math.pow(2, 16) - 1) {\n validationError(\"Invalid port number.\");\n return null;\n }\n url.port = (port === defaultPort(url.scheme) ? null : port);\n buffer = \"\";\n }\n }\n /**\n * 2.2. If state override is given, then return.\n * 2.3. Set state to path start state, and decrease pointer by one.\n */\n if (stateOverride !== undefined) {\n return url;\n }\n state = interfaces_1.ParserState.PathStart;\n walker.pointer--;\n }\n else {\n /**\n * 3. Otherwise, validation error, return failure.\n */\n validationError(\"Invalid input string.\");\n return null;\n }\n break;\n case interfaces_1.ParserState.File:\n /**\n * 1. Set url’s scheme to \"file\".\n */\n url.scheme = \"file\";\n if (walker.c() === '/' || walker.c() === '\\\\') {\n /**\n * 2. If c is U+002F (/) or U+005C (\\), then:\n * 2.1. If c is U+005C (\\), validation error.\n * 2.2. Set state to file slash state.\n */\n if (walker.c() === '\\\\') {\n validationError(\"Invalid input string.\");\n }\n state = interfaces_1.ParserState.FileSlash;\n }\n else if (baseURL !== null && baseURL.scheme === \"file\") {\n /**\n * 3. Otherwise, if base is non-null and base’s scheme is \"file\",\n * switch on c:\n */\n switch (walker.c()) {\n case EOF:\n /**\n * Set url’s host to base’s host, url’s path to a copy of base’s\n * path, and url’s query to base’s query.\n */\n url.host = baseURL.host;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = baseURL.query;\n break;\n case '?':\n /**\n * Set url’s host to base’s host, url’s path to a copy of base’s\n * path, url’s query to the empty string, and state to query\n * state.\n */\n url.host = baseURL.host;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = \"\";\n state = interfaces_1.ParserState.Query;\n break;\n case '#':\n /**\n * Set url’s host to base’s host, url’s path to a copy of base’s\n * path, url’s query to base’s query, url’s fragment to the\n * empty string, and state to fragment state.\n */\n url.host = baseURL.host;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = baseURL.query;\n url.fragment = \"\";\n state = interfaces_1.ParserState.Fragment;\n break;\n default:\n /**\n * 1. If the substring from pointer in input does not start\n * with a Windows drive letter, then set url’s host to base’s\n * host, url’s path to a copy of base’s path, and then shorten\n * url’s path.\n * _Note:_ is a (platform-independent) Windows drive letter\n * quirk.\n * 2. Otherwise, validation error.\n * 3. Set state to path state, and decrease pointer by one.\n */\n if (!startsWithAWindowsDriveLetter(walker.substring())) {\n url.host = baseURL.host;\n url.path = infra_1.list.clone(baseURL.path);\n shorten(url);\n }\n else {\n validationError(\"Unexpected windows drive letter in input string.\");\n }\n state = interfaces_1.ParserState.Path;\n walker.pointer--;\n break;\n }\n }\n else {\n /**\n * 4. Otherwise, set state to path state, and decrease pointer by\n * one.\n */\n state = interfaces_1.ParserState.Path;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.FileSlash:\n if (walker.c() === '/' || walker.c() === '\\\\') {\n /**\n * 1. If c is U+002F (/) or U+005C (\\), then:\n * 1.1. If c is U+005C (\\), validation error.\n * 1.2. Set state to file host state.\n */\n if (walker.c() === '\\\\') {\n validationError(\"Invalid input string.\");\n }\n state = interfaces_1.ParserState.FileHost;\n }\n else {\n /**\n * 2. Otherwise:\n * 2.1. If base is non-null, base’s scheme is \"file\", and the\n * substring from pointer in input does not start with a Windows\n * drive letter, then:\n * 2.1.1. If base’s path[0] is a normalized Windows drive letter,\n * then append base’s path[0] to url’s path.\n * _Note:_ is a (platform-independent) Windows drive letter\n * quirk. Both url’s and base’s host are null under these conditions\n * and therefore not copied.\n * 2.1.2. Otherwise, set url’s host to base’s host.\n * 2.2. Set state to path state, and decrease pointer by one.\n */\n if (baseURL !== null && baseURL.scheme === \"file\" &&\n !startsWithAWindowsDriveLetter(walker.substring())) {\n if (isNormalizedWindowsDriveLetter(baseURL.path[0])) {\n url.path.push(baseURL.path[0]);\n }\n else {\n url.host = baseURL.host;\n }\n }\n state = interfaces_1.ParserState.Path;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.FileHost:\n if (walker.c() === EOF || walker.c() === '/' || walker.c() === '\\\\' ||\n walker.c() === '?' || walker.c() === '#') {\n /**\n * 1. If c is the EOF code point, U+002F (/), U+005C (\\), U+003F (?),\n * or U+0023 (#), then decrease pointer by one and then:\n */\n walker.pointer--;\n if (stateOverride === undefined && isWindowsDriveLetter(buffer)) {\n /**\n * 1.1. If state override is not given and buffer is a Windows drive\n * letter, validation error, set state to path state.\n * _Note:_ is a (platform-independent) Windows drive letter\n * quirk. buffer is not reset here and instead used in the path state.\n */\n validationError(\"Unexpected windows drive letter in input string.\");\n state = interfaces_1.ParserState.Path;\n }\n else if (buffer === \"\") {\n /**\n * 1.2. Otherwise, if buffer is the empty string, then:\n * 1.2.1. Set url’s host to the empty string.\n * 1.2.2. If state override is given, then return.\n * 1.2.3. Set state to path start state.\n */\n url.host = \"\";\n if (stateOverride !== undefined)\n return url;\n state = interfaces_1.ParserState.PathStart;\n }\n else {\n /**\n * 1.3. Otherwise, run these steps:\n * 1.3.1. Let host be the result of host parsing buffer with url\n * is not special.\n * 1.3.2. If host is failure, then return failure.\n * 1.3.3. If host is \"localhost\", then set host to the empty\n * string.\n * 1.3.4. Set url’s host to host.\n * 1.3.5. If state override is given, then return.\n * 1.3.6. Set buffer to the empty string and state to path start\n * state.\n */\n var host = hostParser(buffer, !isSpecial(url));\n if (host === null)\n return null;\n if (host === \"localhost\")\n host = \"\";\n url.host = host;\n if (stateOverride !== undefined)\n return url;\n buffer = \"\";\n state = interfaces_1.ParserState.PathStart;\n }\n }\n else {\n /**\n * 2. Otherwise, append c to buffer.\n */\n buffer += walker.c();\n }\n break;\n case interfaces_1.ParserState.PathStart:\n if (isSpecial(url)) {\n /**\n * 1. If url is special, then:\n * 1.1. If c is U+005C (\\), validation error.\n * 1.2. Set state to path state.\n * 1.3. If c is neither U+002F (/) nor U+005C (\\), then decrease\n * pointer by one.\n */\n if (walker.c() === '\\\\') {\n validationError(\"Invalid input string.\");\n }\n state = interfaces_1.ParserState.Path;\n if (walker.c() !== '/' && walker.c() !== '\\\\')\n walker.pointer--;\n }\n else if (stateOverride === undefined && walker.c() === '?') {\n /**\n * 2. Otherwise, if state override is not given and c is U+003F (?),\n * set url’s query to the empty string and state to query state.\n */\n url.query = \"\";\n state = interfaces_1.ParserState.Query;\n }\n else if (stateOverride === undefined && walker.c() === '#') {\n /**\n * 3. Otherwise, if state override is not given and c is U+0023 (#),\n * set url’s fragment to the empty string and state to fragment\n * state.\n */\n url.fragment = \"\";\n state = interfaces_1.ParserState.Fragment;\n }\n else if (walker.c() !== EOF) {\n /**\n * 4. Otherwise, if c is not the EOF code point:\n * 4.1. Set state to path state.\n * 4.2. If c is not U+002F (/), then decrease pointer by one.\n */\n state = interfaces_1.ParserState.Path;\n if (walker.c() !== '/')\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.Path:\n if ((walker.c() === EOF || walker.c() === '/') ||\n (isSpecial(url) && walker.c() === '\\\\') ||\n (stateOverride === undefined && (walker.c() === '?' || walker.c() === '#'))) {\n /**\n * 1. If one of the following is true\n * - c is the EOF code point or U+002F (/)\n * - url is special and c is U+005C (\\)\n * - state override is not given and c is U+003F (?) or U+0023 (#)\n * then:\n */\n if (isSpecial(url) && walker.c() === '\\\\') {\n /**\n * 1.1 If url is special and c is U+005C (\\), validation error.\n */\n validationError(\"Invalid input string.\");\n }\n if (isDoubleDotPathSegment(buffer)) {\n /**\n * 1.2. If buffer is a double-dot path segment, shorten url’s path,\n * and then if neither c is U+002F (/), nor url is special and c is\n * U+005C (\\), append the empty string to url’s path.\n */\n shorten(url);\n if (walker.c() !== '/' && !(isSpecial(url) && walker.c() === '\\\\')) {\n url.path.push(\"\");\n }\n }\n else if (isSingleDotPathSegment(buffer) && walker.c() !== '/' &&\n !(isSpecial(url) && walker.c() === '\\\\')) {\n /**\n * 1.3. Otherwise, if buffer is a single-dot path segment and if\n * neither c is U+002F (/), nor url is special and c is U+005C (\\),\n * append the empty string to url’s path.\n */\n url.path.push(\"\");\n }\n else if (!isSingleDotPathSegment(buffer)) {\n /**\n * 1.4. Otherwise, if buffer is not a single-dot path segment, then:\n */\n if (url.scheme === \"file\" && url.path.length === 0 &&\n isWindowsDriveLetter(buffer)) {\n /**\n * 1.4.1. If url’s scheme is \"file\", url’s path is empty, and\n * buffer is a Windows drive letter, then:\n * 1.4.1.1. If url’s host is neither the empty string nor null,\n * validation error, set url’s host to the empty string.\n * 1.4.1.2. Replace the second code point in buffer with U+003A (:).\n * _Note:_ is a (platform-independent) Windows drive letter quirk.\n */\n if (url.host !== null && url.host !== \"\") {\n validationError(\"Invalid input string.\");\n url.host = \"\";\n }\n var bufferCodePoints = Array.from(buffer);\n buffer = bufferCodePoints.slice(0, 1) + ':' + bufferCodePoints.slice(2);\n }\n /**\n * 1.4.2. Append buffer to url’s path.\n */\n url.path.push(buffer);\n }\n /**\n * 1.5. Set buffer to the empty string.\n */\n buffer = \"\";\n /**\n * 1.6. If url’s scheme is \"file\" and c is the EOF code point,\n * U+003F (?), or U+0023 (#), then while url’s path’s size is\n * greater than 1 and url’s path[0] is the empty string, validation\n * error, remove the first item from url’s path.\n */\n if (url.scheme === \"file\" && (walker.c() === EOF || walker.c() === '?' || walker.c() === '#')) {\n while (url.path.length > 1 && url.path[0] === \"\") {\n validationError(\"Invalid input string.\");\n url.path.splice(0, 1);\n }\n }\n /**\n * 1.7. If c is U+003F (?), then set url’s query to the empty string\n * and state to query state.\n * 1.8. If c is U+0023 (#), then set url’s fragment to the empty\n * string and state to fragment state.\n */\n if (walker.c() === '?') {\n url.query = \"\";\n state = interfaces_1.ParserState.Query;\n }\n if (walker.c() === '#') {\n url.fragment = \"\";\n state = interfaces_1.ParserState.Fragment;\n }\n }\n else {\n /**\n * 2. Otherwise, run these steps:\n * 2.1. If c is not a URL code point and not U+0025 (%), validation\n * error.\n * 2.2. If c is U+0025 (%) and remaining does not start with two\n * ASCII hex digits, validation error.\n * 2.3. UTF-8 percent encode c using the path percent-encode set,\n * and append the result to buffer.\n */\n if (!_urlCodePoints.test(walker.c()) && walker.c() !== '%') {\n validationError(\"Character is not a URL code point or a percent encoded character.\");\n }\n if (walker.c() === '%' && !/^[0-9a-fA-F][0-9a-fA-F]/.test(walker.remaining())) {\n validationError(\"Percent encoded character must be followed by two hex digits.\");\n }\n buffer += utf8PercentEncode(walker.c(), _pathPercentEncodeSet);\n }\n break;\n case interfaces_1.ParserState.CannotBeABaseURLPath:\n /**\n * 1. If c is U+003F (?), then set url’s query to the empty string and\n * state to query state.\n * 2. Otherwise, if c is U+0023 (#), then set url’s fragment to the\n * empty string and state to fragment state.\n * 3. Otherwise:\n * 3.1. If c is not the EOF code point, not a URL code point, and not\n * U+0025 (%), validation error.\n * 3.2. If c is U+0025 (%) and remaining does not start with two ASCII\n * hex digits, validation error.\n * 3.3. If c is not the EOF code point, UTF-8 percent encode c using\n * the C0 control percent-encode set, and append the result to url’s\n * path[0].\n */\n if (walker.c() === '?') {\n url.query = \"\";\n state = interfaces_1.ParserState.Query;\n }\n else if (walker.c() === '#') {\n url.fragment = \"\";\n state = interfaces_1.ParserState.Fragment;\n }\n else {\n if (walker.c() !== EOF && !_urlCodePoints.test(walker.c()) && walker.c() !== '%') {\n validationError(\"Character is not a URL code point or a percent encoded character.\");\n }\n if (walker.c() === '%' && !/^[0-9a-fA-F][0-9a-fA-F]/.test(walker.remaining())) {\n validationError(\"Percent encoded character must be followed by two hex digits.\");\n }\n if (walker.c() !== EOF) {\n url.path[0] += utf8PercentEncode(walker.c(), _c0ControlPercentEncodeSet);\n }\n }\n break;\n case interfaces_1.ParserState.Query:\n /**\n * 1. If encoding is not UTF-8 and one of the following is true\n * - url is not special\n * - url’s scheme is \"ws\" or \"wss\"\n * then set encoding to UTF-8.\n */\n if (encoding !== \"UTF-8\" && (!isSpecial(url) ||\n url.scheme === \"ws\" || url.scheme === \"wss\")) {\n encoding = \"UTF-8\";\n }\n if (stateOverride === undefined && walker.c() === '#') {\n /**\n * 2. If state override is not given and c is U+0023 (#), then set\n * url’s fragment to the empty string and state to fragment state.\n */\n url.fragment = \"\";\n state = interfaces_1.ParserState.Fragment;\n }\n else if (walker.c() !== EOF) {\n /**\n * 3. Otherwise, if c is not the EOF code point:\n * 3.1. If c is not a URL code point and not U+0025 (%), validation\n * error.\n */\n if (!_urlCodePoints.test(walker.c()) && walker.c() !== '%') {\n validationError(\"Character is not a URL code point or a percent encoded character.\");\n }\n /**\n * 3.2. If c is U+0025 (%) and remaining does not start with two\n * ASCII hex digits, validation error.\n */\n if (walker.c() === '%' && !/^[0-9a-fA-F][0-9a-fA-F]/.test(walker.remaining())) {\n validationError(\"Percent encoded character must be followed by two hex digits.\");\n }\n /**\n * 3.3. Let bytes be the result of encoding c using encoding.\n */\n if (encoding.toUpperCase() !== \"UTF-8\") {\n throw new Error(\"Only UTF-8 encoding is supported.\");\n }\n var bytes = util_1.utf8Encode(walker.c());\n /**\n * 3.4. If bytes starts with `&#` and ends with 0x3B (;), then:\n */\n if (bytes.length >= 3 && bytes[0] === 38 && bytes[1] === 35 &&\n bytes[bytes.length - 1] === 59) {\n /**\n * 3.4.1. Replace `&#` at the start of bytes with `%26%23`.\n * 3.4.2. Replace 0x3B (;) at the end of bytes with `%3B`.\n * 3.4.4. Append bytes, isomorphic decoded, to url’s query.\n * _Note:_ can happen when encoding code points using a\n * non-UTF-8 encoding.\n */\n bytes = bytes.subarray(2, bytes.length - 1);\n url.query += \"%26%23\" + infra_1.byteSequence.isomorphicDecode(bytes) + \"%3B\";\n }\n else {\n try {\n /**\n * 3.5. Otherwise, for each byte in bytes:\n * 3.5.1. If one of the following is true\n * - byte is less than 0x21 (!)\n * - byte is greater than 0x7E (~)\n * - byte is 0x22 (\"), 0x23 (#), 0x3C (<), or 0x3E (>)\n * - byte is 0x27 (') and url is special\n * then append byte, percent encoded, to url’s query.\n * 3.5.2. Otherwise, append a code point whose value is byte to\n * url’s query.\n */\n for (var bytes_1 = (e_3 = void 0, __values(bytes)), bytes_1_1 = bytes_1.next(); !bytes_1_1.done; bytes_1_1 = bytes_1.next()) {\n var byte = bytes_1_1.value;\n if (byte < 0x21 || byte > 0x7E || byte === 0x22 ||\n byte === 0x23 || byte === 0x3C || byte === 0x3E ||\n (byte === 0x27 && isSpecial(url))) {\n url.query += percentEncode(byte);\n }\n else {\n url.query += String.fromCharCode(byte);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (bytes_1_1 && !bytes_1_1.done && (_b = bytes_1.return)) _b.call(bytes_1);\n }\n finally { if (e_3) throw e_3.error; }\n }\n }\n }\n break;\n case interfaces_1.ParserState.Fragment:\n /**\n * Switching on c:\n * - The EOF code point\n * Do nothing.\n * - U+0000 NULL\n * Validation error.\n * - Otherwise\n * 1. If c is not a URL code point and not U+0025 (%), validation\n * error.\n * 2. If c is U+0025 (%) and remaining does not start with two ASCII\n * hex digits, validation error.\n * 3. UTF-8 percent encode c using the fragment percent-encode set and\n * append the result to url’s fragment.\n */\n if (walker.c() === EOF) {\n //\n }\n else if (walker.c() === \"\\u0000\") {\n validationError(\"NULL character in input string.\");\n }\n else {\n if (!_urlCodePoints.test(walker.c()) && walker.c() !== '%') {\n validationError(\"Unexpected character in fragment string.\");\n }\n if (walker.c() === '%' && !/^[A-Za-z0-9][A-Za-z0-9]/.test(walker.remaining())) {\n validationError(\"Unexpected character in fragment string.\");\n }\n url.fragment += utf8PercentEncode(walker.c(), _fragmentPercentEncodeSet);\n }\n break;\n }\n if (walker.eof)\n break;\n else\n walker.pointer++;\n }\n /**\n * 12. Return url.\n */\n return url;\n}\nexports.basicURLParser = basicURLParser;\n/**\n * Sets a URL's username.\n *\n * @param url - a URL\n * @param username - username string\n */\nfunction setTheUsername(url, username) {\n var e_4, _a;\n /**\n * 1. Set url’s username to the empty string.\n * 2. For each code point in username, UTF-8 percent encode it using the\n * userinfo percent-encode set, and append the result to url’s username.\n */\n var result = \"\";\n try {\n for (var username_1 = __values(username), username_1_1 = username_1.next(); !username_1_1.done; username_1_1 = username_1.next()) {\n var codePoint = username_1_1.value;\n result += utf8PercentEncode(codePoint, _userInfoPercentEncodeSet);\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (username_1_1 && !username_1_1.done && (_a = username_1.return)) _a.call(username_1);\n }\n finally { if (e_4) throw e_4.error; }\n }\n url.username = result;\n}\nexports.setTheUsername = setTheUsername;\n/**\n * Sets a URL's password.\n *\n * @param url - a URL\n * @param username - password string\n */\nfunction setThePassword(url, password) {\n var e_5, _a;\n /**\n * 1. Set url’s password to the empty string.\n * 2. For each code point in password, UTF-8 percent encode it using the\n * userinfo percent-encode set, and append the result to url’s password.\n */\n var result = \"\";\n try {\n for (var password_1 = __values(password), password_1_1 = password_1.next(); !password_1_1.done; password_1_1 = password_1.next()) {\n var codePoint = password_1_1.value;\n result += utf8PercentEncode(codePoint, _userInfoPercentEncodeSet);\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (password_1_1 && !password_1_1.done && (_a = password_1.return)) _a.call(password_1);\n }\n finally { if (e_5) throw e_5.error; }\n }\n url.password = result;\n}\nexports.setThePassword = setThePassword;\n/**\n * Determines if the string represents a single dot path.\n *\n * @param str - a string\n */\nfunction isSingleDotPathSegment(str) {\n return str === '.' || str.toLowerCase() === \"%2e\";\n}\nexports.isSingleDotPathSegment = isSingleDotPathSegment;\n/**\n * Determines if the string represents a double dot path.\n *\n * @param str - a string\n */\nfunction isDoubleDotPathSegment(str) {\n var lowerStr = str.toLowerCase();\n return lowerStr === \"..\" || lowerStr === \".%2e\" ||\n lowerStr === \"%2e.\" || lowerStr === \"%2e%2e\";\n}\nexports.isDoubleDotPathSegment = isDoubleDotPathSegment;\n/**\n * Shorten's URL's path.\n *\n * @param url - an URL\n */\nfunction shorten(url) {\n /**\n * 1. Let path be url’s path.\n * 2. If path is empty, then return.\n * 3. If url’s scheme is \"file\", path’s size is 1, and path[0] is a\n * normalized Windows drive letter, then return.\n * 4. Remove path’s last item.\n */\n var path = url.path;\n if (path.length === 0)\n return;\n if (url.scheme === \"file\" && path.length === 1 &&\n isNormalizedWindowsDriveLetter(path[0]))\n return;\n url.path.splice(url.path.length - 1, 1);\n}\nexports.shorten = shorten;\n/**\n * Determines if a string is a normalized Windows drive letter.\n *\n * @param str - a string\n */\nfunction isNormalizedWindowsDriveLetter(str) {\n /**\n * A normalized Windows drive letter is a Windows drive letter of which the\n * second code point is U+003A (:).\n */\n return str.length >= 2 && infra_1.codePoint.ASCIIAlpha.test(str[0]) &&\n str[1] === ':';\n}\nexports.isNormalizedWindowsDriveLetter = isNormalizedWindowsDriveLetter;\n/**\n * Determines if a string is a Windows drive letter.\n *\n * @param str - a string\n */\nfunction isWindowsDriveLetter(str) {\n /**\n * A Windows drive letter is two code points, of which the first is an ASCII\n * alpha and the second is either U+003A (:) or U+007C (|).\n */\n return str.length >= 2 && infra_1.codePoint.ASCIIAlpha.test(str[0]) &&\n (str[1] === ':' || str[1] === '|');\n}\nexports.isWindowsDriveLetter = isWindowsDriveLetter;\n/**\n * Determines if a string starts with a Windows drive letter.\n *\n * @param str - a string\n */\nfunction startsWithAWindowsDriveLetter(str) {\n /**\n * A string starts with a Windows drive letter if all of the following are\n * true:\n * - its length is greater than or equal to 2\n * - its first two code points are a Windows drive letter\n * - its length is 2 or its third code point is U+002F (/), U+005C (\\),\n * U+003F (?), or U+0023 (#).\n */\n return str.length >= 2 && isWindowsDriveLetter(str) &&\n (str.length === 2 || (str[2] === '/' || str[2] === '\\\\' ||\n str[2] === '?' || str[2] === '#'));\n}\nexports.startsWithAWindowsDriveLetter = startsWithAWindowsDriveLetter;\n/**\n * Parses a host string.\n *\n * @param input - input string\n * @param isNotSpecial - `true` if the source URL is not special; otherwise\n * `false`.\n */\nfunction hostParser(input, isNotSpecial) {\n if (isNotSpecial === void 0) { isNotSpecial = false; }\n /**\n * 1. If isNotSpecial is not given, then set isNotSpecial to false.\n * 2. If input starts with U+005B ([), then:\n * 2.1. If input does not end with U+005D (]), validation error, return\n * failure.\n * 2.2. Return the result of IPv6 parsing input with its leading U+005B ([)\n * and trailing U+005D (]) removed.\n */\n if (input.startsWith('[')) {\n if (!input.endsWith(']')) {\n validationError(\"Expected ']' after '['.\");\n return null;\n }\n return iPv6Parser(input.substring(1, input.length - 1));\n }\n /**\n * 3. If isNotSpecial is true, then return the result of opaque-host parsing\n * input.\n */\n if (isNotSpecial) {\n return opaqueHostParser(input);\n }\n /**\n * 4. Let domain be the result of running UTF-8 decode without BOM on the\n * string percent decoding of input.\n * _Note:_ Alternatively UTF-8 decode without BOM or fail can be used,\n * coupled with an early return for failure, as domain to ASCII fails\n * on U+FFFD REPLACEMENT CHARACTER.\n */\n var domain = util_1.utf8Decode(stringPercentDecode(input));\n /**\n * 5. Let asciiDomain be the result of running domain to ASCII on domain.\n * 6. If asciiDomain is failure, validation error, return failure.\n * 7. If asciiDomain contains a forbidden host code point, validation error,\n * return failure.\n */\n var asciiDomain = domainToASCII(domain);\n if (asciiDomain === null) {\n validationError(\"Invalid domain.\");\n return null;\n }\n if (_forbiddenHostCodePoint.test(asciiDomain)) {\n validationError(\"Invalid domain.\");\n return null;\n }\n /**\n * 8. Let ipv4Host be the result of IPv4 parsing asciiDomain.\n * 9. If ipv4Host is an IPv4 address or failure, return ipv4Host.\n * 10. Return asciiDomain.\n */\n var ipv4Host = iPv4Parser(asciiDomain);\n if (ipv4Host === null || util_1.isNumber(ipv4Host))\n return ipv4Host;\n return asciiDomain;\n}\nexports.hostParser = hostParser;\n/**\n * Parses a string containing an IP v4 address.\n *\n * @param input - input string\n * @param isNotSpecial - `true` if the source URL is not special; otherwise\n * `false`.\n */\nfunction iPv4NumberParser(input, validationErrorFlag) {\n if (validationErrorFlag === void 0) { validationErrorFlag = { value: false }; }\n /**\n * 1. Let R be 10.\n */\n var R = 10;\n if (input.startsWith(\"0x\") || input.startsWith(\"0X\")) {\n /**\n * 2. If input contains at least two code points and the first two code\n * points are either \"0x\" or \"0X\", then:\n * 2.1. Set validationErrorFlag.\n * 2.2. Remove the first two code points from input.\n * 2.3. Set R to 16.\n */\n validationErrorFlag.value = true;\n input = input.substr(2);\n R = 16;\n }\n else if (input.length >= 2 && input[0] === '0') {\n /**\n * 3. Otherwise, if input contains at least two code points and the first\n * code point is U+0030 (0), then:\n * 3.1. Set validationErrorFlag.\n * 3.2. Remove the first code point from input.\n * 3.3. Set R to 8.\n */\n validationErrorFlag.value = true;\n input = input.substr(1);\n R = 8;\n }\n /**\n * 4. If input is the empty string, then return zero.\n * 5. If input contains a code point that is not a radix-R digit, then\n * return failure.\n */\n if (input === \"\")\n return 0;\n var radixRDigits = (R === 10 ? /^[0-9]+$/ : (R === 16 ? /^[0-9A-Fa-f]+$/ : /^[0-7]+$/));\n if (!radixRDigits.test(input))\n return null;\n /**\n * 6. Return the mathematical integer value that is represented by input in\n * radix-R notation, using ASCII hex digits for digits with values\n * 0 through 15.\n */\n return parseInt(input, R);\n}\nexports.iPv4NumberParser = iPv4NumberParser;\n/**\n * Parses a string containing an IP v4 address.\n *\n * @param input - input string\n */\nfunction iPv4Parser(input) {\n var e_6, _a, e_7, _b;\n /**\n * 1. Let validationErrorFlag be unset.\n * 2. Let parts be input split on U+002E (.).\n */\n var validationErrorFlag = { value: false };\n var parts = input.split('.');\n /**\n * 3. If the last item in parts is the empty string, then:\n * 3.1. Set validationErrorFlag.\n * 3.2. If parts has more than one item, then remove the last item from\n * parts.\n */\n if (parts[parts.length - 1] === \"\") {\n validationErrorFlag.value = true;\n if (parts.length > 1)\n parts.pop();\n }\n /**\n * 4. If parts has more than four items, return input.\n */\n if (parts.length > 4)\n return input;\n /**\n * 5. Let numbers be the empty list.\n * 6. For each part in parts:\n * 6.1. If part is the empty string, return input.\n * 6.2. Let n be the result of parsing part using validationErrorFlag.\n * 6.3. If n is failure, return input.\n * 6.4. Append n to numbers.\n */\n var numbers = [];\n try {\n for (var parts_1 = __values(parts), parts_1_1 = parts_1.next(); !parts_1_1.done; parts_1_1 = parts_1.next()) {\n var part = parts_1_1.value;\n if (part === \"\")\n return input;\n var n = iPv4NumberParser(part, validationErrorFlag);\n if (n === null)\n return input;\n numbers.push(n);\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (parts_1_1 && !parts_1_1.done && (_a = parts_1.return)) _a.call(parts_1);\n }\n finally { if (e_6) throw e_6.error; }\n }\n /**\n * 7. If validationErrorFlag is set, validation error.\n * 8. If any item in numbers is greater than 255, validation error.\n * 9. If any but the last item in numbers is greater than 255, return\n * failure.\n * 10. If the last item in numbers is greater than or equal to\n * 256**(5 − the number of items in numbers), validation error, return failure.\n */\n if (validationErrorFlag.value)\n validationError(\"Invalid IP v4 address.\");\n for (var i = 0; i < numbers.length; i++) {\n var item = numbers[i];\n if (item > 255) {\n validationError(\"Invalid IP v4 address.\");\n if (i < numbers.length - 1)\n return null;\n }\n }\n if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) {\n validationError(\"Invalid IP v4 address.\");\n return null;\n }\n /**\n * 11. Let ipv4 be the last item in numbers.\n * 12. Remove the last item from numbers.\n */\n var ipv4 = numbers[numbers.length - 1];\n numbers.pop();\n /**\n * 13. Let counter be zero.\n * 14. For each n in numbers:\n * 14.2. Increment ipv4 by n × 256**(3 − counter).\n * 14.2. Increment counter by 1.\n */\n var counter = 0;\n try {\n for (var numbers_1 = __values(numbers), numbers_1_1 = numbers_1.next(); !numbers_1_1.done; numbers_1_1 = numbers_1.next()) {\n var n = numbers_1_1.value;\n ipv4 += n * Math.pow(256, 3 - counter);\n counter++;\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (numbers_1_1 && !numbers_1_1.done && (_b = numbers_1.return)) _b.call(numbers_1);\n }\n finally { if (e_7) throw e_7.error; }\n }\n /**\n * 15. Return ipv4.\n */\n return ipv4;\n}\nexports.iPv4Parser = iPv4Parser;\n/**\n * Parses a string containing an IP v6 address.\n *\n * @param input - input string\n */\nfunction iPv6Parser(input) {\n var _a;\n /**\n * 1. Let address be a new IPv6 address whose IPv6 pieces are all 0.\n * 2. Let pieceIndex be 0.\n * 3. Let compress be null.\n * 4. Let pointer be a pointer into input, initially 0 (pointing to the\n * first code point).\n */\n var EOF = \"\";\n var address = [0, 0, 0, 0, 0, 0, 0, 0];\n var pieceIndex = 0;\n var compress = null;\n var walker = new util_1.StringWalker(input);\n /**\n * 5. If c is U+003A (:), then:\n * 5.1. If remaining does not start with U+003A (:), validation error,\n * return failure.\n * 5.2. Increase pointer by 2.\n * 5.3. Increase pieceIndex by 1 and then set compress to pieceIndex.\n */\n if (walker.c() === ':') {\n if (!walker.remaining().startsWith(':')) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n walker.pointer += 2;\n pieceIndex += 1;\n compress = pieceIndex;\n }\n /**\n * 6. While c is not the EOF code point:\n */\n while (walker.c() !== EOF) {\n /**\n * 6.1. If pieceIndex is 8, validation error, return failure.\n */\n if (pieceIndex === 8) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n /**\n * 6.2. If c is U+003A (:), then:\n * 6.2.1. If compress is non-null, validation error, return failure.\n * 6.2.2. Increase pointer and pieceIndex by 1, set compress to pieceIndex,\n * and then continue.\n */\n if (walker.c() === ':') {\n if (compress !== null) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n walker.pointer++;\n pieceIndex++;\n compress = pieceIndex;\n continue;\n }\n /**\n * 6.3. Let value and length be 0.\n * 6.4. While length is less than 4 and c is an ASCII hex digit, set value\n * to value × 0x10 + c interpreted as hexadecimal number, and increase\n * pointer and length by 1.\n */\n var value = 0;\n var length = 0;\n while (length < 4 && infra_1.codePoint.ASCIIHexDigit.test(walker.c())) {\n value = value * 0x10 + parseInt(walker.c(), 16);\n walker.pointer++;\n length++;\n }\n /**\n * 6.5. If c is U+002E (.), then:\n */\n if (walker.c() === '.') {\n /**\n * 6.5.1. If length is 0, validation error, return failure.\n * 6.5.2. Decrease pointer by length.\n * 6.5.3. If pieceIndex is greater than 6, validation error, return\n * failure.\n * 6.5.4. Let numbersSeen be 0.\n */\n if (length === 0) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n walker.pointer -= length;\n if (pieceIndex > 6) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n var numbersSeen = 0;\n /**\n * 6.5.5. While c is not the EOF code point:\n */\n while (walker.c() !== EOF) {\n /**\n * 6.5.5.1. Let ipv4Piece be null.\n */\n var ipv4Piece = null;\n /**\n * 6.5.5.2. If numbersSeen is greater than 0, then:\n * 6.5.5.2.1. If c is a U+002E (.) and numbersSeen is less than 4, then\n * increase pointer by 1.\n * 6.5.5.2.1. Otherwise, validation error, return failure.\n */\n if (numbersSeen > 0) {\n if (walker.c() === '.' && numbersSeen < 4) {\n walker.pointer++;\n }\n else {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n }\n /**\n * 6.5.5.3. If c is not an ASCII digit, validation error, return\n * failure.\n */\n if (!infra_1.codePoint.ASCIIDigit.test(walker.c())) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n /**\n * 6.5.5.4. While c is an ASCII digit:\n */\n while (infra_1.codePoint.ASCIIDigit.test(walker.c())) {\n /**\n * 6.5.5.4.1. Let number be c interpreted as decimal number.\n */\n var number = parseInt(walker.c(), 10);\n /**\n * 6.5.5.4.2. If ipv4Piece is null, then set ipv4Piece to number.\n * Otherwise, if ipv4Piece is 0, validation error, return failure.\n * Otherwise, set ipv4Piece to ipv4Piece × 10 + number.\n */\n if (ipv4Piece === null) {\n ipv4Piece = number;\n }\n else if (ipv4Piece === 0) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n else {\n ipv4Piece = ipv4Piece * 10 + number;\n }\n /**\n * 6.5.5.4.3. If ipv4Piece is greater than 255, validation error, return failure.\n * 6.5.5.4.4. Increase pointer by 1.\n */\n if (ipv4Piece > 255) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n walker.pointer++;\n }\n /**\n * 6.5.5.5. Set address[pieceIndex] to address[pieceIndex] × 0x100 + ipv4Piece.\n * 6.5.5.6. Increase numbersSeen by 1.\n * 6.5.5.7. If numbersSeen is 2 or 4, then increase pieceIndex by 1.\n */\n if (ipv4Piece === null) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece;\n numbersSeen++;\n if (numbersSeen === 2 || numbersSeen === 4)\n pieceIndex++;\n }\n /**\n * 6.5.6. If numbersSeen is not 4, validation error, return failure.\n */\n if (numbersSeen !== 4) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n /**\n * 6.5.7. Break.\n */\n break;\n }\n else if (walker.c() === ':') {\n /**\n * 6.6. Otherwise, if c is U+003A (:):\n * 6.6.1. Increase pointer by 1.\n * 6.6.2. If c is the EOF code point, validation error, return failure.\n */\n walker.pointer++;\n if (walker.c() === EOF) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n }\n else if (walker.c() !== EOF) {\n /**\n * 6.7. Otherwise, if c is not the EOF code point, validation error,\n * return failure.\n */\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n /**\n * 6.8. Set address[pieceIndex] to value.\n * 6.9. Increase pieceIndex by 1.\n */\n address[pieceIndex] = value;\n pieceIndex++;\n }\n /**\n * 7. If compress is non-null, then:\n * 7.1. Let swaps be pieceIndex − compress.\n * 7.2. Set pieceIndex to 7.\n * 7.3. While pieceIndex is not 0 and swaps is greater than 0, swap\n * address[pieceIndex] with address[compress + swaps − 1], and then decrease\n * both pieceIndex and swaps by 1.\n */\n if (compress !== null) {\n var swaps = pieceIndex - compress;\n pieceIndex = 7;\n while (pieceIndex !== 0 && swaps > 0) {\n _a = __read([address[compress + swaps - 1], address[pieceIndex]], 2), address[pieceIndex] = _a[0], address[compress + swaps - 1] = _a[1];\n pieceIndex--;\n swaps--;\n }\n }\n else if (compress === null && pieceIndex !== 8) {\n /**\n * 8. Otherwise, if compress is null and pieceIndex is not 8,\n * validation error, return failure.\n */\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n /**\n * 9. Return address.\n */\n return address;\n}\nexports.iPv6Parser = iPv6Parser;\n/**\n * Parses an opaque host string.\n *\n * @param input - a string\n */\nfunction opaqueHostParser(input) {\n var e_8, _a;\n /**\n * 1. If input contains a forbidden host code point excluding U+0025 (%),\n * validation error, return failure.\n * 2. Let output be the empty string.\n * 3. For each code point in input, UTF-8 percent encode it using the C0\n * control percent-encode set, and append the result to output.\n * 4. Return output.\n */\n var forbiddenChars = /[\\x00\\t\\f\\r #/:?@\\[\\\\\\]]/;\n if (forbiddenChars.test(input)) {\n validationError(\"Invalid host string.\");\n return null;\n }\n var output = \"\";\n try {\n for (var input_1 = __values(input), input_1_1 = input_1.next(); !input_1_1.done; input_1_1 = input_1.next()) {\n var codePoint = input_1_1.value;\n output += utf8PercentEncode(codePoint, _c0ControlPercentEncodeSet);\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (input_1_1 && !input_1_1.done && (_a = input_1.return)) _a.call(input_1);\n }\n finally { if (e_8) throw e_8.error; }\n }\n return output;\n}\nexports.opaqueHostParser = opaqueHostParser;\n/**\n * Resolves a Blob URL from the user agent's Blob URL store.\n * function is not implemented.\n * See: https://w3c.github.io/FileAPI/#blob-url-resolve\n *\n * @param url - an url\n */\nfunction resolveABlobURL(url) {\n return null;\n}\nexports.resolveABlobURL = resolveABlobURL;\n/**\n * Percent encodes a byte.\n *\n * @param value - a byte\n */\nfunction percentEncode(value) {\n /**\n * To percent encode a byte into a percent-encoded byte, return a string\n * consisting of U+0025 (%), followed by two ASCII upper hex digits\n * representing byte.\n */\n return '%' + ('00' + value.toString(16).toUpperCase()).slice(-2);\n}\nexports.percentEncode = percentEncode;\n/**\n * Percent decodes a byte sequence input.\n *\n * @param input - a byte sequence\n */\nfunction percentDecode(input) {\n var isHexDigit = function (byte) {\n return (byte >= 0x30 && byte <= 0x39) || (byte >= 0x41 && byte <= 0x46) ||\n (byte >= 0x61 && byte <= 0x66);\n };\n /**\n * 1. Let output be an empty byte sequence.\n * 2. For each byte byte in input:\n */\n var output = new Uint8Array(input.length);\n var n = 0;\n for (var i = 0; i < input.length; i++) {\n var byte = input[i];\n /**\n * 2.1. If byte is not 0x25 (%), then append byte to output.\n * 2.2. Otherwise, if byte is 0x25 (%) and the next two bytes after byte\n * in input are not in the ranges 0x30 (0) to 0x39 (9), 0x41 (A)\n * to 0x46 (F), and 0x61 (a) to 0x66 (f), all inclusive, append byte\n * to output.\n * 2.3. Otherwise:\n * 2.3.1. Let bytePoint be the two bytes after byte in input, decoded,\n * and then interpreted as hexadecimal number.\n * 2.3.2. Append a byte whose value is bytePoint to output.\n * 2.3.3. Skip the next two bytes in input.\n */\n if (byte !== 0x25) {\n output[n] = byte;\n n++;\n }\n else if (byte === 0x25 && i >= input.length - 2) {\n output[n] = byte;\n n++;\n }\n else if (byte === 0x25 && (!isHexDigit(input[i + 1]) || !isHexDigit(input[i + 2]))) {\n output[n] = byte;\n n++;\n }\n else {\n var bytePoint = parseInt(util_1.utf8Decode(Uint8Array.of(input[i + 1], input[i + 2])), 16);\n output[n] = bytePoint;\n n++;\n i += 2;\n }\n }\n return output.subarray(0, n);\n}\nexports.percentDecode = percentDecode;\n/**\n * String percent decodes a string.\n *\n * @param input - a string\n */\nfunction stringPercentDecode(input) {\n /**\n * 1. Let bytes be the UTF-8 encoding of input.\n * 2. Return the percent decoding of bytes.\n */\n return percentDecode(util_1.utf8Encode(input));\n}\nexports.stringPercentDecode = stringPercentDecode;\n/**\n * UTF-8 percent encodes a code point, using a percent encode set.\n *\n * @param codePoint - a code point\n * @param percentEncodeSet - a percent encode set\n */\nfunction utf8PercentEncode(codePoint, percentEncodeSet) {\n var e_9, _a;\n /**\n * 1. If codePoint is not in percentEncodeSet, then return codePoint.\n * 2. Let bytes be the result of running UTF-8 encode on codePoint.\n * 3. Percent encode each byte in bytes, and then return the results\n * concatenated, in the same order.\n */\n if (!percentEncodeSet.test(codePoint))\n return codePoint;\n var bytes = util_1.utf8Encode(codePoint);\n var result = \"\";\n try {\n for (var bytes_2 = __values(bytes), bytes_2_1 = bytes_2.next(); !bytes_2_1.done; bytes_2_1 = bytes_2.next()) {\n var byte = bytes_2_1.value;\n result += percentEncode(byte);\n }\n }\n catch (e_9_1) { e_9 = { error: e_9_1 }; }\n finally {\n try {\n if (bytes_2_1 && !bytes_2_1.done && (_a = bytes_2.return)) _a.call(bytes_2);\n }\n finally { if (e_9) throw e_9.error; }\n }\n return result;\n}\nexports.utf8PercentEncode = utf8PercentEncode;\n/**\n * Determines if two hosts are considered equal.\n *\n * @param hostA - a host\n * @param hostB - a host\n */\nfunction hostEquals(hostA, hostB) {\n return hostA === hostB;\n}\nexports.hostEquals = hostEquals;\n/**\n * Determines if two URLs are considered equal.\n *\n * @param urlA - a URL\n * @param urlB - a URL\n * @param excludeFragmentsFlag - whether to ignore fragments while comparing\n */\nfunction urlEquals(urlA, urlB, excludeFragmentsFlag) {\n if (excludeFragmentsFlag === void 0) { excludeFragmentsFlag = false; }\n /**\n * 1. Let serializedA be the result of serializing A, with the exclude\n * fragment flag set if the exclude fragments flag is set.\n * 2. Let serializedB be the result of serializing B, with the exclude\n * fragment flag set if the exclude fragments flag is set.\n * 3. Return true if serializedA is serializedB, and false otherwise.\n */\n return urlSerializer(urlA, excludeFragmentsFlag) ===\n urlSerializer(urlB, excludeFragmentsFlag);\n}\nexports.urlEquals = urlEquals;\n/**\n * Parses an `application/x-www-form-urlencoded` string.\n *\n * @param input - a string\n */\nfunction urlEncodedStringParser(input) {\n /**\n * The application/x-www-form-urlencoded string parser takes a string input,\n * UTF-8 encodes it, and then returns the result of\n * application/x-www-form-urlencoded parsing it.\n */\n return urlEncodedParser(util_1.utf8Encode(input));\n}\nexports.urlEncodedStringParser = urlEncodedStringParser;\n/**\n * Parses `application/x-www-form-urlencoded` bytes.\n *\n * @param input - a byte sequence\n */\nfunction urlEncodedParser(input) {\n var e_10, _a, e_11, _b;\n /**\n * 1. Let sequences be the result of splitting input on 0x26 (&).\n */\n var sequences = [];\n var currentSequence = [];\n try {\n for (var input_2 = __values(input), input_2_1 = input_2.next(); !input_2_1.done; input_2_1 = input_2.next()) {\n var byte = input_2_1.value;\n if (byte === 0x26) {\n sequences.push(Uint8Array.from(currentSequence));\n currentSequence = [];\n }\n else {\n currentSequence.push(byte);\n }\n }\n }\n catch (e_10_1) { e_10 = { error: e_10_1 }; }\n finally {\n try {\n if (input_2_1 && !input_2_1.done && (_a = input_2.return)) _a.call(input_2);\n }\n finally { if (e_10) throw e_10.error; }\n }\n if (currentSequence.length !== 0) {\n sequences.push(Uint8Array.from(currentSequence));\n }\n /**\n * 2. Let output be an initially empty list of name-value tuples where both name and value hold a string.\n */\n var output = [];\n try {\n /**\n * 3. For each byte sequence bytes in sequences:\n */\n for (var sequences_1 = __values(sequences), sequences_1_1 = sequences_1.next(); !sequences_1_1.done; sequences_1_1 = sequences_1.next()) {\n var bytes = sequences_1_1.value;\n /**\n * 3.1. If bytes is the empty byte sequence, then continue.\n */\n if (bytes.length === 0)\n continue;\n /**\n * 3.2. If bytes contains a 0x3D (=), then let name be the bytes from the\n * start of bytes up to but excluding its first 0x3D (=), and let value be\n * the bytes, if any, after the first 0x3D (=) up to the end of bytes.\n * If 0x3D (=) is the first byte, then name will be the empty byte\n * sequence. If it is the last, then value will be the empty byte sequence.\n * 3.3. Otherwise, let name have the value of bytes and let value be the\n * empty byte sequence.\n */\n var index = bytes.indexOf(0x3D);\n var name = (index !== -1 ? bytes.slice(0, index) : bytes);\n var value = (index !== -1 ? bytes.slice(index + 1) : new Uint8Array());\n /**\n * 3.4. Replace any 0x2B (+) in name and value with 0x20 (SP).\n */\n for (var i = 0; i < name.length; i++)\n if (name[i] === 0x2B)\n name[i] = 0x20;\n for (var i = 0; i < value.length; i++)\n if (value[i] === 0x2B)\n value[i] = 0x20;\n /**\n * 3.5. Let nameString and valueString be the result of running UTF-8\n * decode without BOM on the percent decoding of name and value,\n * respectively.\n */\n var nameString = util_1.utf8Decode(name);\n var valueString = util_1.utf8Decode(value);\n /**\n * 3.6. Append (nameString, valueString) to output.\n */\n output.push([nameString, valueString]);\n }\n }\n catch (e_11_1) { e_11 = { error: e_11_1 }; }\n finally {\n try {\n if (sequences_1_1 && !sequences_1_1.done && (_b = sequences_1.return)) _b.call(sequences_1);\n }\n finally { if (e_11) throw e_11.error; }\n }\n /**\n * 4. Return output.\n */\n return output;\n}\nexports.urlEncodedParser = urlEncodedParser;\n/**\n * Serializes `application/x-www-form-urlencoded` bytes.\n *\n * @param input - a byte sequence\n */\nfunction urlEncodedByteSerializer(input) {\n var e_12, _a;\n /**\n * 1. Let output be the empty string.\n * 2. For each byte in input, depending on byte:\n * 0x20 (SP)\n * Append U+002B (+) to output.\n *\n * 0x2A (*)\n * 0x2D (-)\n * 0x2E (.)\n * 0x30 (0) to 0x39 (9)\n * 0x41 (A) to 0x5A (Z)\n * 0x5F (_)\n * 0x61 (a) to 0x7A (z)\n * Append a code point whose value is byte to output.\n *\n * Otherwise\n * Append byte, percent encoded, to output.\n * 3. Return output.\n */\n var output = \"\";\n try {\n for (var input_3 = __values(input), input_3_1 = input_3.next(); !input_3_1.done; input_3_1 = input_3.next()) {\n var byte = input_3_1.value;\n if (byte === 0x20) {\n output += '+';\n }\n else if (byte === 0x2A || byte === 0x2D || byte === 0x2E ||\n (byte >= 0x30 && byte <= 0x39) || (byte >= 0x41 && byte <= 0x5A) ||\n byte === 0x5F || (byte >= 0x61 && byte <= 0x7A)) {\n output += String.fromCodePoint(byte);\n }\n else {\n output += percentEncode(byte);\n }\n }\n }\n catch (e_12_1) { e_12 = { error: e_12_1 }; }\n finally {\n try {\n if (input_3_1 && !input_3_1.done && (_a = input_3.return)) _a.call(input_3);\n }\n finally { if (e_12) throw e_12.error; }\n }\n return output;\n}\nexports.urlEncodedByteSerializer = urlEncodedByteSerializer;\n/**\n * Serializes `application/x-www-form-urlencoded` tuples.\n *\n * @param input - input tuple of name/value pairs\n * @param encodingOverride: encoding override\n */\nfunction urlEncodedSerializer(tuples, encodingOverride) {\n var e_13, _a;\n /**\n * 1. Let encoding be UTF-8.\n * 2. If encoding override is given, set encoding to the result of getting\n * an output encoding from encoding override.\n */\n var encoding = (encodingOverride === undefined ||\n encodingOverride === \"replacement\" || encodingOverride === \"UTF-16BE\" ||\n encodingOverride === \"UTF-16LE\" ? \"UTF-8\" : encodingOverride);\n if (encoding.toUpperCase() !== \"UTF-8\") {\n throw new Error(\"Only UTF-8 encoding is supported.\");\n }\n /**\n * 3. Let output be the empty string.\n */\n var output = \"\";\n try {\n /**\n * 4. For each tuple in tuples:\n */\n for (var tuples_1 = __values(tuples), tuples_1_1 = tuples_1.next(); !tuples_1_1.done; tuples_1_1 = tuples_1.next()) {\n var tuple = tuples_1_1.value;\n /**\n * 4.1. Let name be the result of serializing the result of encoding\n * tuple’s name, using encoding.\n */\n var name = urlEncodedByteSerializer(util_1.utf8Encode(tuple[0]));\n /**\n * 4.2. Let value be tuple’s value.\n */\n var value = tuple[1];\n /**\n * TODO:\n * 4.3. If value is a file, then set value to value’s filename.\n */\n /**\n * 4.4. Set value to the result of serializing the result of encoding\n * value, using encoding.\n */\n value = urlEncodedByteSerializer(util_1.utf8Encode(value));\n /**\n * 4.5. If tuple is not the first pair in tuples, then append U+0026 (&)\n * to output.\n */\n if (output !== \"\")\n output += '&';\n /**\n * 4.6. Append name, followed by U+003D (=), followed by value, to output.\n */\n output += name + '=' + value;\n }\n }\n catch (e_13_1) { e_13 = { error: e_13_1 }; }\n finally {\n try {\n if (tuples_1_1 && !tuples_1_1.done && (_a = tuples_1.return)) _a.call(tuples_1);\n }\n finally { if (e_13) throw e_13.error; }\n }\n /**\n * 5. Return output.\n */\n return output;\n}\nexports.urlEncodedSerializer = urlEncodedSerializer;\n/**\n * Returns a URL's origin.\n *\n * @param url - a URL\n */\nfunction origin(url) {\n /**\n * A URL’s origin is the origin returned by running these steps, switching\n * on URL’s scheme:\n * \"blob\"\n * 1. If URL’s blob URL entry is non-null, then return URL’s blob URL\n * entry’s environment’s origin.\n * 2. Let url be the result of parsing URL’s path[0].\n * 3. Return a new opaque origin, if url is failure, and url’s origin\n * otherwise.\n * \"ftp\"\n * \"http\"\n * \"https\"\n * \"ws\"\n * \"wss\"\n * Return a tuple consisting of URL’s scheme, URL’s host, URL’s port, and\n * null.\n * \"file\"\n * Unfortunate as it is, is left as an exercise to the reader. When in\n * doubt, return a new opaque origin.\n * Otherwise\n * Return a new opaque origin.\n */\n switch (url.scheme) {\n case \"blob\":\n if (url._blobURLEntry !== null) {\n // TODO: return URL’s blob URL entry’s environment’s origin.\n }\n var parsedURL = basicURLParser(url.path[0]);\n if (parsedURL === null)\n return interfaces_1.OpaqueOrigin;\n else\n return origin(parsedURL);\n case \"ftp\":\n case \"http\":\n case \"https\":\n case \"ws\":\n case \"wss\":\n return [url.scheme, url.host === null ? \"\" : url.host, url.port, null];\n case \"file\":\n return interfaces_1.OpaqueOrigin;\n default:\n return interfaces_1.OpaqueOrigin;\n }\n}\nexports.origin = origin;\n/**\n * Converts a domain string to ASCII.\n *\n * @param domain - a domain string\n */\nfunction domainToASCII(domain, beStrict) {\n if (beStrict === void 0) { beStrict = false; }\n /**\n * 1. If beStrict is not given, set it to false.\n * 2. Let result be the result of running Unicode ToASCII with domain_name\n * set to domain, UseSTD3ASCIIRules set to beStrict, CheckHyphens set to\n * false, CheckBidi set to true, CheckJoiners set to true,\n * Transitional_Processing set to false, and VerifyDnsLength set to beStrict.\n * 3. If result is a failure value, validation error, return failure.\n * 4. Return result.\n */\n // Use node.js function\n var result = url_1.domainToASCII(domain);\n if (result === \"\") {\n validationError(\"Invalid domain name.\");\n return null;\n }\n return result;\n}\nexports.domainToASCII = domainToASCII;\n/**\n * Converts a domain string to Unicode.\n *\n * @param domain - a domain string\n */\nfunction domainToUnicode(domain, beStrict) {\n if (beStrict === void 0) { beStrict = false; }\n /**\n * 1. Let result be the result of running Unicode ToUnicode with domain_name\n * set to domain, CheckHyphens set to false, CheckBidi set to true,\n * CheckJoiners set to true, UseSTD3ASCIIRules set to false, and\n * Transitional_Processing set to false.\n * 2. Signify validation errors for any returned errors, and then,\n * return result.\n */\n // Use node.js function\n var result = url_1.domainToUnicode(domain);\n if (result === \"\") {\n validationError(\"Invalid domain name.\");\n }\n return result;\n}\nexports.domainToUnicode = domainToUnicode;\n/**\n * Serializes an origin.\n * function is from the HTML spec:\n * https://html.spec.whatwg.org/#ascii-serialisation-of-an-origin\n *\n * @param origin - an origin\n */\nfunction asciiSerializationOfAnOrigin(origin) {\n /**\n * 1. If origin is an opaque origin, then return \"null\".\n * 2. Otherwise, let result be origin's scheme.\n * 3. Append \"://\" to result.\n * 4. Append origin's host, serialized, to result.\n * 5. If origin's port is non-null, append a U+003A COLON character (:),\n * and origin's port, serialized, to result.\n * 6. Return result.\n */\n if (origin[0] === \"\" && origin[1] === \"\" && origin[2] === null && origin[3] === null) {\n return \"null\";\n }\n var result = origin[0] + \"://\" + hostSerializer(origin[1]);\n if (origin[2] !== null)\n result += \":\" + origin[2].toString();\n return result;\n}\nexports.asciiSerializationOfAnOrigin = asciiSerializationOfAnOrigin;\n//# sourceMappingURL=URLAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents the state of the URL parser.\n */\nvar ParserState;\n(function (ParserState) {\n ParserState[ParserState[\"SchemeStart\"] = 0] = \"SchemeStart\";\n ParserState[ParserState[\"Scheme\"] = 1] = \"Scheme\";\n ParserState[ParserState[\"NoScheme\"] = 2] = \"NoScheme\";\n ParserState[ParserState[\"SpecialRelativeOrAuthority\"] = 3] = \"SpecialRelativeOrAuthority\";\n ParserState[ParserState[\"PathOrAuthority\"] = 4] = \"PathOrAuthority\";\n ParserState[ParserState[\"Relative\"] = 5] = \"Relative\";\n ParserState[ParserState[\"RelativeSlash\"] = 6] = \"RelativeSlash\";\n ParserState[ParserState[\"SpecialAuthoritySlashes\"] = 7] = \"SpecialAuthoritySlashes\";\n ParserState[ParserState[\"SpecialAuthorityIgnoreSlashes\"] = 8] = \"SpecialAuthorityIgnoreSlashes\";\n ParserState[ParserState[\"Authority\"] = 9] = \"Authority\";\n ParserState[ParserState[\"Host\"] = 10] = \"Host\";\n ParserState[ParserState[\"Hostname\"] = 11] = \"Hostname\";\n ParserState[ParserState[\"Port\"] = 12] = \"Port\";\n ParserState[ParserState[\"File\"] = 13] = \"File\";\n ParserState[ParserState[\"FileSlash\"] = 14] = \"FileSlash\";\n ParserState[ParserState[\"FileHost\"] = 15] = \"FileHost\";\n ParserState[ParserState[\"PathStart\"] = 16] = \"PathStart\";\n ParserState[ParserState[\"Path\"] = 17] = \"Path\";\n ParserState[ParserState[\"CannotBeABaseURLPath\"] = 18] = \"CannotBeABaseURLPath\";\n ParserState[ParserState[\"Query\"] = 19] = \"Query\";\n ParserState[ParserState[\"Fragment\"] = 20] = \"Fragment\";\n})(ParserState = exports.ParserState || (exports.ParserState = {}));\nexports.OpaqueOrigin = [\"\", \"\", null, null];\n//# sourceMappingURL=interfaces.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a cache for storing order between equal objects.\n *\n * This cache is used when an algorithm compares two objects and finds them to\n * be equal but still needs to establish an order between those two objects.\n * When two such objects `a` and `b` are passed to the `check` method, a random\n * number is generated with `Math.random()`. If the random number is less than\n * `0.5` it is assumed that `a < b` otherwise `a > b`. The random number along\n * with `a` and `b` is stored in the cache, so that subsequent checks result\n * in the same consistent result.\n *\n * The cache has a size limit which is defined on initialization.\n */\nvar CompareCache = /** @class */ (function () {\n /**\n * Initializes a new instance of `CompareCache`.\n *\n * @param limit - maximum number of items to keep in the cache. When the limit\n * is exceeded the first item is removed from the cache.\n */\n function CompareCache(limit) {\n if (limit === void 0) { limit = 1000; }\n this._items = new Map();\n this._limit = limit;\n }\n /**\n * Compares and caches the given objects. Returns `true` if `objA < objB` and\n * `false` otherwise.\n *\n * @param objA - an item to compare\n * @param objB - an item to compare\n */\n CompareCache.prototype.check = function (objA, objB) {\n if (this._items.get(objA) === objB)\n return true;\n else if (this._items.get(objB) === objA)\n return false;\n var result = (Math.random() < 0.5);\n if (result) {\n this._items.set(objA, objB);\n }\n else {\n this._items.set(objB, objA);\n }\n if (this._items.size > this._limit) {\n var it_1 = this._items.keys().next();\n /* istanbul ignore else */\n if (!it_1.done) {\n this._items.delete(it_1.value);\n }\n }\n return result;\n };\n return CompareCache;\n}());\nexports.CompareCache = CompareCache;\n//# sourceMappingURL=CompareCache.js.map","\"use strict\";\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a set of objects with a size limit.\n */\nvar FixedSizeSet = /** @class */ (function () {\n /**\n * Initializes a new instance of `FixedSizeSet`.\n *\n * @param limit - maximum number of items to keep in the set. When the limit\n * is exceeded the first item is removed from the set.\n */\n function FixedSizeSet(limit) {\n if (limit === void 0) { limit = 1000; }\n this._items = new Set();\n this._limit = limit;\n }\n /**\n * Adds a new item to the set.\n *\n * @param item - an item\n */\n FixedSizeSet.prototype.add = function (item) {\n this._items.add(item);\n if (this._items.size > this._limit) {\n var it_1 = this._items.values().next();\n /* istanbul ignore else */\n if (!it_1.done) {\n this._items.delete(it_1.value);\n }\n }\n return this;\n };\n /**\n * Removes an item from the set.\n *\n * @param item - an item\n */\n FixedSizeSet.prototype.delete = function (item) {\n return this._items.delete(item);\n };\n /**\n * Determines if an item is in the set.\n *\n * @param item - an item\n */\n FixedSizeSet.prototype.has = function (item) {\n return this._items.has(item);\n };\n /**\n * Removes all items from the set.\n */\n FixedSizeSet.prototype.clear = function () {\n this._items.clear();\n };\n Object.defineProperty(FixedSizeSet.prototype, \"size\", {\n /**\n * Gets the number of items in the set.\n */\n get: function () { return this._items.size; },\n enumerable: true,\n configurable: true\n });\n /**\n * Applies the given callback function to all elements of the set.\n */\n FixedSizeSet.prototype.forEach = function (callback, thisArg) {\n var _this = this;\n this._items.forEach(function (e) { return callback.call(thisArg, e, e, _this); });\n };\n /**\n * Iterates through the items in the set.\n */\n FixedSizeSet.prototype.keys = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items.keys())];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n /**\n * Iterates through the items in the set.\n */\n FixedSizeSet.prototype.values = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items.values())];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n /**\n * Iterates through the items in the set.\n */\n FixedSizeSet.prototype.entries = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items.entries())];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n /**\n * Iterates through the items in the set.\n */\n FixedSizeSet.prototype[Symbol.iterator] = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items)];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n Object.defineProperty(FixedSizeSet.prototype, Symbol.toStringTag, {\n /**\n * Returns the string tag of the set.\n */\n get: function () {\n return \"FixedSizeSet\";\n },\n enumerable: true,\n configurable: true\n });\n return FixedSizeSet;\n}());\nexports.FixedSizeSet = FixedSizeSet;\n//# sourceMappingURL=FixedSizeSet.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents an object with lazy initialization.\n */\nvar Lazy = /** @class */ (function () {\n /**\n * Initializes a new instance of `Lazy`.\n *\n * @param initFunc - initializer function\n */\n function Lazy(initFunc) {\n this._initialized = false;\n this._value = undefined;\n this._initFunc = initFunc;\n }\n Object.defineProperty(Lazy.prototype, \"value\", {\n /**\n * Gets the value of the object.\n */\n get: function () {\n if (!this._initialized) {\n this._value = this._initFunc();\n this._initialized = true;\n }\n return this._value;\n },\n enumerable: true,\n configurable: true\n });\n return Lazy;\n}());\nexports.Lazy = Lazy;\n//# sourceMappingURL=Lazy.js.map","\"use strict\";\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a cache of objects with a size limit.\n */\nvar ObjectCache = /** @class */ (function () {\n /**\n * Initializes a new instance of `ObjectCache`.\n *\n * @param limit - maximum number of items to keep in the cache. When the limit\n * is exceeded the first item is removed from the cache.\n */\n function ObjectCache(limit) {\n if (limit === void 0) { limit = 1000; }\n this._items = new Map();\n this._limit = limit;\n }\n /**\n * Gets an item from the cache.\n *\n * @param key - object key\n */\n ObjectCache.prototype.get = function (key) {\n return this._items.get(key);\n };\n /**\n * Adds a new item to the cache.\n *\n * @param key - object key\n * @param value - object value\n */\n ObjectCache.prototype.set = function (key, value) {\n this._items.set(key, value);\n if (this._items.size > this._limit) {\n var it_1 = this._items.keys().next();\n /* istanbul ignore else */\n if (!it_1.done) {\n this._items.delete(it_1.value);\n }\n }\n };\n /**\n * Removes an item from the cache.\n *\n * @param item - an item\n */\n ObjectCache.prototype.delete = function (key) {\n return this._items.delete(key);\n };\n /**\n * Determines if an item is in the cache.\n *\n * @param item - an item\n */\n ObjectCache.prototype.has = function (key) {\n return this._items.has(key);\n };\n /**\n * Removes all items from the cache.\n */\n ObjectCache.prototype.clear = function () {\n this._items.clear();\n };\n Object.defineProperty(ObjectCache.prototype, \"size\", {\n /**\n * Gets the number of items in the cache.\n */\n get: function () { return this._items.size; },\n enumerable: true,\n configurable: true\n });\n /**\n * Applies the given callback function to all elements of the cache.\n */\n ObjectCache.prototype.forEach = function (callback, thisArg) {\n this._items.forEach(function (v, k) { return callback.call(thisArg, k, v); });\n };\n /**\n * Iterates through the items in the set.\n */\n ObjectCache.prototype.keys = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items.keys())];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n /**\n * Iterates through the items in the set.\n */\n ObjectCache.prototype.values = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items.values())];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n /**\n * Iterates through the items in the set.\n */\n ObjectCache.prototype.entries = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items.entries())];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n /**\n * Iterates through the items in the set.\n */\n ObjectCache.prototype[Symbol.iterator] = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items)];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n Object.defineProperty(ObjectCache.prototype, Symbol.toStringTag, {\n /**\n * Returns the string tag of the cache.\n */\n get: function () {\n return \"ObjectCache\";\n },\n enumerable: true,\n configurable: true\n });\n return ObjectCache;\n}());\nexports.ObjectCache = ObjectCache;\n//# sourceMappingURL=ObjectCache.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Walks through the code points of a string.\n */\nvar StringWalker = /** @class */ (function () {\n /**\n * Initializes a new `StringWalker`.\n *\n * @param input - input string\n */\n function StringWalker(input) {\n this._pointer = 0;\n this._chars = Array.from(input);\n this._length = this._chars.length;\n }\n Object.defineProperty(StringWalker.prototype, \"eof\", {\n /**\n * Determines if the current position is beyond the end of string.\n */\n get: function () { return this._pointer >= this._length; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(StringWalker.prototype, \"length\", {\n /**\n * Returns the number of code points in the input string.\n */\n get: function () { return this._length; },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns the current code point. Returns `-1` if the position is beyond\n * the end of string.\n */\n StringWalker.prototype.codePoint = function () {\n if (this._codePoint === undefined) {\n if (this.eof) {\n this._codePoint = -1;\n }\n else {\n var cp = this._chars[this._pointer].codePointAt(0);\n /* istanbul ignore else */\n if (cp !== undefined) {\n this._codePoint = cp;\n }\n else {\n this._codePoint = -1;\n }\n }\n }\n return this._codePoint;\n };\n /**\n * Returns the current character. Returns an empty string if the position is\n * beyond the end of string.\n */\n StringWalker.prototype.c = function () {\n if (this._c === undefined) {\n this._c = (this.eof ? \"\" : this._chars[this._pointer]);\n }\n return this._c;\n };\n /**\n * Returns the remaining string.\n */\n StringWalker.prototype.remaining = function () {\n if (this._remaining === undefined) {\n this._remaining = (this.eof ?\n \"\" : this._chars.slice(this._pointer + 1).join(''));\n }\n return this._remaining;\n };\n /**\n * Returns the substring from the current character to the end of string.\n */\n StringWalker.prototype.substring = function () {\n if (this._substring === undefined) {\n this._substring = (this.eof ?\n \"\" : this._chars.slice(this._pointer).join(''));\n }\n return this._substring;\n };\n Object.defineProperty(StringWalker.prototype, \"pointer\", {\n /**\n * Gets or sets the current position.\n */\n get: function () { return this._pointer; },\n set: function (val) {\n if (val === this._pointer)\n return;\n this._pointer = val;\n this._codePoint = undefined;\n this._c = undefined;\n this._remaining = undefined;\n this._substring = undefined;\n },\n enumerable: true,\n configurable: true\n });\n return StringWalker;\n}());\nexports.StringWalker = StringWalker;\n//# sourceMappingURL=StringWalker.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar FixedSizeSet_1 = require(\"./FixedSizeSet\");\nexports.FixedSizeSet = FixedSizeSet_1.FixedSizeSet;\nvar ObjectCache_1 = require(\"./ObjectCache\");\nexports.ObjectCache = ObjectCache_1.ObjectCache;\nvar CompareCache_1 = require(\"./CompareCache\");\nexports.CompareCache = CompareCache_1.CompareCache;\nvar Lazy_1 = require(\"./Lazy\");\nexports.Lazy = Lazy_1.Lazy;\nvar StringWalker_1 = require(\"./StringWalker\");\nexports.StringWalker = StringWalker_1.StringWalker;\n/**\n * Applies the mixin to a given class.\n *\n * @param baseClass - class to receive the mixin\n * @param mixinClass - mixin class\n * @param overrides - an array with names of function overrides. Base class\n * functions whose names are in this array will be kept by prepending an\n * underscore to their names.\n */\nfunction applyMixin(baseClass, mixinClass) {\n var overrides = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n overrides[_i - 2] = arguments[_i];\n }\n Object.getOwnPropertyNames(mixinClass.prototype).forEach(function (name) {\n if (name !== \"constructor\") {\n if (overrides.indexOf(name) !== -1) {\n var orgPropDesc = Object.getOwnPropertyDescriptor(baseClass.prototype, name);\n /* istanbul ignore else */\n if (orgPropDesc) {\n Object.defineProperty(baseClass.prototype, \"_\" + name, orgPropDesc);\n }\n }\n var propDesc = Object.getOwnPropertyDescriptor(mixinClass.prototype, name);\n /* istanbul ignore else */\n if (propDesc) {\n Object.defineProperty(baseClass.prototype, name, propDesc);\n }\n }\n });\n}\nexports.applyMixin = applyMixin;\n/**\n * Applies default values to the given object.\n *\n * @param obj - an object\n * @param defaults - an object with default values\n * @param overwrite - if set to `true` defaults object always overwrites object\n * values, whether they are `undefined` or not.\n */\nfunction applyDefaults(obj, defaults, overwrite) {\n if (overwrite === void 0) { overwrite = false; }\n var result = clone(obj || {});\n forEachObject(defaults, function (key, val) {\n if (isPlainObject(val)) {\n result[key] = applyDefaults(result[key], val, overwrite);\n }\n else if (overwrite || result[key] === undefined) {\n result[key] = val;\n }\n });\n return result;\n}\nexports.applyDefaults = applyDefaults;\n/**\n * Iterates over items of an array or set.\n *\n * @param arr - array or set to iterate\n * @param callback - a callback function which receives each array item as its\n * single argument\n * @param thisArg - the value of this inside callback\n */\nfunction forEachArray(arr, callback, thisArg) {\n arr.forEach(callback, thisArg);\n}\nexports.forEachArray = forEachArray;\n/**\n * Iterates over key/value pairs of a map or object.\n *\n * @param obj - map or object to iterate\n * @param callback - a callback function which receives object key as its first\n * argument and object value as its second argument\n * @param thisArg - the value of this inside callback\n */\nfunction forEachObject(obj, callback, thisArg) {\n if (isMap(obj)) {\n obj.forEach(function (value, key) { return callback.call(thisArg, key, value); });\n }\n else {\n for (var key in obj) {\n /* istanbul ignore else */\n if (obj.hasOwnProperty(key)) {\n callback.call(thisArg, key, obj[key]);\n }\n }\n }\n}\nexports.forEachObject = forEachObject;\n/**\n * Returns the number of entries in an array or set.\n *\n * @param arr - array or set\n */\nfunction arrayLength(obj) {\n if (isSet(obj)) {\n return obj.size;\n }\n else {\n return obj.length;\n }\n}\nexports.arrayLength = arrayLength;\n/**\n * Returns the number of entries in a map or object.\n *\n * @param obj - map or object\n */\nfunction objectLength(obj) {\n if (isMap(obj)) {\n return obj.size;\n }\n else {\n return Object.keys(obj).length;\n }\n}\nexports.objectLength = objectLength;\n/**\n * Gets the value of a key from a map or object.\n *\n * @param obj - map or object\n * @param key - the key to retrieve\n */\nfunction getObjectValue(obj, key) {\n if (isMap(obj)) {\n return obj.get(key);\n }\n else {\n return obj[key];\n }\n}\nexports.getObjectValue = getObjectValue;\n/**\n * Removes a property from a map or object.\n *\n * @param obj - map or object\n * @param key - the key to remove\n */\nfunction removeObjectValue(obj, key) {\n if (isMap(obj)) {\n obj.delete(key);\n }\n else {\n delete obj[key];\n }\n}\nexports.removeObjectValue = removeObjectValue;\n/**\n * Deep clones the given object.\n *\n * @param obj - an object\n */\nfunction clone(obj) {\n var e_1, _a;\n if (isFunction(obj)) {\n return obj;\n }\n else if (isArray(obj)) {\n var result = [];\n try {\n for (var obj_1 = __values(obj), obj_1_1 = obj_1.next(); !obj_1_1.done; obj_1_1 = obj_1.next()) {\n var item = obj_1_1.value;\n result.push(clone(item));\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (obj_1_1 && !obj_1_1.done && (_a = obj_1.return)) _a.call(obj_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return result;\n }\n else if (isObject(obj)) {\n var result = {};\n for (var key in obj) {\n /* istanbul ignore next */\n if (obj.hasOwnProperty(key)) {\n var val = obj[key];\n result[key] = clone(val);\n }\n }\n return result;\n }\n else {\n return obj;\n }\n}\nexports.clone = clone;\n/**\n * Type guard for boolean types\n *\n * @param x - a variable to type check\n */\nfunction isBoolean(x) {\n return typeof x === \"boolean\";\n}\nexports.isBoolean = isBoolean;\n/**\n * Type guard for numeric types\n *\n * @param x - a variable to type check\n */\nfunction isNumber(x) {\n return typeof x === \"number\";\n}\nexports.isNumber = isNumber;\n/**\n * Type guard for strings\n *\n * @param x - a variable to type check\n */\nfunction isString(x) {\n return typeof x === \"string\";\n}\nexports.isString = isString;\n/**\n * Type guard for function objects\n *\n * @param x - a variable to type check\n */\nfunction isFunction(x) {\n return !!x && Object.prototype.toString.call(x) === '[object Function]';\n}\nexports.isFunction = isFunction;\n/**\n * Type guard for JS objects\n *\n * _Note:_ Functions are objects too\n *\n * @param x - a variable to type check\n */\nfunction isObject(x) {\n var type = typeof x;\n return !!x && (type === 'function' || type === 'object');\n}\nexports.isObject = isObject;\n/**\n * Type guard for arrays\n *\n * @param x - a variable to type check\n */\nfunction isArray(x) {\n return Array.isArray(x);\n}\nexports.isArray = isArray;\n/**\n * Type guard for sets.\n *\n * @param x - a variable to check\n */\nfunction isSet(x) {\n return x instanceof Set;\n}\nexports.isSet = isSet;\n/**\n * Type guard for maps.\n *\n * @param x - a variable to check\n */\nfunction isMap(x) {\n return x instanceof Map;\n}\nexports.isMap = isMap;\n/**\n * Determines if `x` is an empty Array or an Object with no own properties.\n *\n * @param x - a variable to check\n */\nfunction isEmpty(x) {\n if (isArray(x)) {\n return !x.length;\n }\n else if (isSet(x)) {\n return !x.size;\n }\n else if (isMap(x)) {\n return !x.size;\n }\n else if (isObject(x)) {\n for (var key in x) {\n if (x.hasOwnProperty(key)) {\n return false;\n }\n }\n return true;\n }\n return false;\n}\nexports.isEmpty = isEmpty;\n/**\n * Determines if `x` is a plain Object.\n *\n * @param x - a variable to check\n */\nfunction isPlainObject(x) {\n if (isObject(x)) {\n var proto = Object.getPrototypeOf(x);\n var ctor = proto.constructor;\n return proto && ctor &&\n (typeof ctor === 'function') && (ctor instanceof ctor) &&\n (Function.prototype.toString.call(ctor) === Function.prototype.toString.call(Object));\n }\n return false;\n}\nexports.isPlainObject = isPlainObject;\n/**\n * Determines if `x` is an iterable Object.\n *\n * @param x - a variable to check\n */\nfunction isIterable(x) {\n return x && (typeof x[Symbol.iterator] === 'function');\n}\nexports.isIterable = isIterable;\n/**\n * Gets the primitive value of an object.\n */\nfunction getValue(obj) {\n if (isFunction(obj.valueOf)) {\n return obj.valueOf();\n }\n else {\n return obj;\n }\n}\nexports.getValue = getValue;\n/**\n * UTF-8 encodes the given string.\n *\n * @param input - a string\n */\nfunction utf8Encode(input) {\n var bytes = new Uint8Array(input.length * 4);\n var byteIndex = 0;\n for (var i = 0; i < input.length; i++) {\n var char = input.charCodeAt(i);\n if (char < 128) {\n bytes[byteIndex++] = char;\n continue;\n }\n else if (char < 2048) {\n bytes[byteIndex++] = char >> 6 | 192;\n }\n else {\n if (char > 0xd7ff && char < 0xdc00) {\n if (++i >= input.length) {\n throw new Error(\"Incomplete surrogate pair.\");\n }\n var c2 = input.charCodeAt(i);\n if (c2 < 0xdc00 || c2 > 0xdfff) {\n throw new Error(\"Invalid surrogate character.\");\n }\n char = 0x10000 + ((char & 0x03ff) << 10) + (c2 & 0x03ff);\n bytes[byteIndex++] = char >> 18 | 240;\n bytes[byteIndex++] = char >> 12 & 63 | 128;\n }\n else {\n bytes[byteIndex++] = char >> 12 | 224;\n }\n bytes[byteIndex++] = char >> 6 & 63 | 128;\n }\n bytes[byteIndex++] = char & 63 | 128;\n }\n return bytes.subarray(0, byteIndex);\n}\nexports.utf8Encode = utf8Encode;\n/**\n * UTF-8 decodes the given byte sequence into a string.\n *\n * @param bytes - a byte sequence\n */\nfunction utf8Decode(bytes) {\n var result = \"\";\n var i = 0;\n while (i < bytes.length) {\n var c = bytes[i++];\n if (c > 127) {\n if (c > 191 && c < 224) {\n if (i >= bytes.length) {\n throw new Error(\"Incomplete 2-byte sequence.\");\n }\n c = (c & 31) << 6 | bytes[i++] & 63;\n }\n else if (c > 223 && c < 240) {\n if (i + 1 >= bytes.length) {\n throw new Error(\"Incomplete 3-byte sequence.\");\n }\n c = (c & 15) << 12 | (bytes[i++] & 63) << 6 | bytes[i++] & 63;\n }\n else if (c > 239 && c < 248) {\n if (i + 2 >= bytes.length) {\n throw new Error(\"Incomplete 4-byte sequence.\");\n }\n c = (c & 7) << 18 | (bytes[i++] & 63) << 12 | (bytes[i++] & 63) << 6 | bytes[i++] & 63;\n }\n else {\n throw new Error(\"Unknown multi-byte start.\");\n }\n }\n if (c <= 0xffff) {\n result += String.fromCharCode(c);\n }\n else if (c <= 0x10ffff) {\n c -= 0x10000;\n result += String.fromCharCode(c >> 10 | 0xd800);\n result += String.fromCharCode(c & 0x3FF | 0xdc00);\n }\n else {\n throw new Error(\"Code point exceeds UTF-16 limit.\");\n }\n }\n return result;\n}\nexports.utf8Decode = utf8Decode;\n//# sourceMappingURL=index.js.map","var register = require('./lib/register')\nvar addHook = require('./lib/add')\nvar removeHook = require('./lib/remove')\n\n// bind with array of arguments: https://stackoverflow.com/a/21792913\nvar bind = Function.bind\nvar bindable = bind.bind(bind)\n\nfunction bindApi (hook, state, name) {\n var removeHookRef = bindable(removeHook, null).apply(null, name ? [state, name] : [state])\n hook.api = { remove: removeHookRef }\n hook.remove = removeHookRef\n\n ;['before', 'error', 'after', 'wrap'].forEach(function (kind) {\n var args = name ? [state, kind, name] : [state, kind]\n hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args)\n })\n}\n\nfunction HookSingular () {\n var singularHookName = 'h'\n var singularHookState = {\n registry: {}\n }\n var singularHook = register.bind(null, singularHookState, singularHookName)\n bindApi(singularHook, singularHookState, singularHookName)\n return singularHook\n}\n\nfunction HookCollection () {\n var state = {\n registry: {}\n }\n\n var hook = register.bind(null, state)\n bindApi(hook, state)\n\n return hook\n}\n\nvar collectionHookDeprecationMessageDisplayed = false\nfunction Hook () {\n if (!collectionHookDeprecationMessageDisplayed) {\n console.warn('[before-after-hook]: \"Hook()\" repurposing warning, use \"Hook.Collection()\". Read more: https://git.io/upgrade-before-after-hook-to-1.4')\n collectionHookDeprecationMessageDisplayed = true\n }\n return HookCollection()\n}\n\nHook.Singular = HookSingular.bind()\nHook.Collection = HookCollection.bind()\n\nmodule.exports = Hook\n// expose constructors as a named property for TypeScript\nmodule.exports.Hook = Hook\nmodule.exports.Singular = Hook.Singular\nmodule.exports.Collection = Hook.Collection\n","module.exports = addHook;\n\nfunction addHook(state, kind, name, hook) {\n var orig = hook;\n if (!state.registry[name]) {\n state.registry[name] = [];\n }\n\n if (kind === \"before\") {\n hook = function (method, options) {\n return Promise.resolve()\n .then(orig.bind(null, options))\n .then(method.bind(null, options));\n };\n }\n\n if (kind === \"after\") {\n hook = function (method, options) {\n var result;\n return Promise.resolve()\n .then(method.bind(null, options))\n .then(function (result_) {\n result = result_;\n return orig(result, options);\n })\n .then(function () {\n return result;\n });\n };\n }\n\n if (kind === \"error\") {\n hook = function (method, options) {\n return Promise.resolve()\n .then(method.bind(null, options))\n .catch(function (error) {\n return orig(error, options);\n });\n };\n }\n\n state.registry[name].push({\n hook: hook,\n orig: orig,\n });\n}\n","module.exports = register;\n\nfunction register(state, name, method, options) {\n if (typeof method !== \"function\") {\n throw new Error(\"method for before hook must be a function\");\n }\n\n if (!options) {\n options = {};\n }\n\n if (Array.isArray(name)) {\n return name.reverse().reduce(function (callback, name) {\n return register.bind(null, state, name, callback, options);\n }, method)();\n }\n\n return Promise.resolve().then(function () {\n if (!state.registry[name]) {\n return method(options);\n }\n\n return state.registry[name].reduce(function (method, registered) {\n return registered.hook.bind(null, method, options);\n }, method)();\n });\n}\n","module.exports = removeHook;\n\nfunction removeHook(state, name, method) {\n if (!state.registry[name]) {\n return;\n }\n\n var index = state.registry[name]\n .map(function (registered) {\n return registered.orig;\n })\n .indexOf(method);\n\n if (index === -1) {\n return;\n }\n\n state.registry[name].splice(index, 1);\n}\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nclass Deprecation extends Error {\n constructor(message) {\n super(message); // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n\n this.name = 'Deprecation';\n }\n\n}\n\nexports.Deprecation = Deprecation;\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n/*!\n * is-plain-object \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nfunction isObject(o) {\n return Object.prototype.toString.call(o) === '[object Object]';\n}\n\nfunction isPlainObject(o) {\n var ctor,prot;\n\n if (isObject(o) === false) return false;\n\n // If has modified constructor\n ctor = o.constructor;\n if (ctor === undefined) return true;\n\n // If has modified prototype\n prot = ctor.prototype;\n if (isObject(prot) === false) return false;\n\n // If constructor does not have an Object-specific method\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n }\n\n // Most likely a plain Object\n return true;\n}\n\nexports.isPlainObject = isPlainObject;\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar Stream = _interopDefault(require('stream'));\nvar http = _interopDefault(require('http'));\nvar Url = _interopDefault(require('url'));\nvar whatwgUrl = _interopDefault(require('whatwg-url'));\nvar https = _interopDefault(require('https'));\nvar zlib = _interopDefault(require('zlib'));\n\n// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js\n\n// fix for \"Readable\" isn't a named export issue\nconst Readable = Stream.Readable;\n\nconst BUFFER = Symbol('buffer');\nconst TYPE = Symbol('type');\n\nclass Blob {\n\tconstructor() {\n\t\tthis[TYPE] = '';\n\n\t\tconst blobParts = arguments[0];\n\t\tconst options = arguments[1];\n\n\t\tconst buffers = [];\n\t\tlet size = 0;\n\n\t\tif (blobParts) {\n\t\t\tconst a = blobParts;\n\t\t\tconst length = Number(a.length);\n\t\t\tfor (let i = 0; i < length; i++) {\n\t\t\t\tconst element = a[i];\n\t\t\t\tlet buffer;\n\t\t\t\tif (element instanceof Buffer) {\n\t\t\t\t\tbuffer = element;\n\t\t\t\t} else if (ArrayBuffer.isView(element)) {\n\t\t\t\t\tbuffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength);\n\t\t\t\t} else if (element instanceof ArrayBuffer) {\n\t\t\t\t\tbuffer = Buffer.from(element);\n\t\t\t\t} else if (element instanceof Blob) {\n\t\t\t\t\tbuffer = element[BUFFER];\n\t\t\t\t} else {\n\t\t\t\t\tbuffer = Buffer.from(typeof element === 'string' ? element : String(element));\n\t\t\t\t}\n\t\t\t\tsize += buffer.length;\n\t\t\t\tbuffers.push(buffer);\n\t\t\t}\n\t\t}\n\n\t\tthis[BUFFER] = Buffer.concat(buffers);\n\n\t\tlet type = options && options.type !== undefined && String(options.type).toLowerCase();\n\t\tif (type && !/[^\\u0020-\\u007E]/.test(type)) {\n\t\t\tthis[TYPE] = type;\n\t\t}\n\t}\n\tget size() {\n\t\treturn this[BUFFER].length;\n\t}\n\tget type() {\n\t\treturn this[TYPE];\n\t}\n\ttext() {\n\t\treturn Promise.resolve(this[BUFFER].toString());\n\t}\n\tarrayBuffer() {\n\t\tconst buf = this[BUFFER];\n\t\tconst ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\treturn Promise.resolve(ab);\n\t}\n\tstream() {\n\t\tconst readable = new Readable();\n\t\treadable._read = function () {};\n\t\treadable.push(this[BUFFER]);\n\t\treadable.push(null);\n\t\treturn readable;\n\t}\n\ttoString() {\n\t\treturn '[object Blob]';\n\t}\n\tslice() {\n\t\tconst size = this.size;\n\n\t\tconst start = arguments[0];\n\t\tconst end = arguments[1];\n\t\tlet relativeStart, relativeEnd;\n\t\tif (start === undefined) {\n\t\t\trelativeStart = 0;\n\t\t} else if (start < 0) {\n\t\t\trelativeStart = Math.max(size + start, 0);\n\t\t} else {\n\t\t\trelativeStart = Math.min(start, size);\n\t\t}\n\t\tif (end === undefined) {\n\t\t\trelativeEnd = size;\n\t\t} else if (end < 0) {\n\t\t\trelativeEnd = Math.max(size + end, 0);\n\t\t} else {\n\t\t\trelativeEnd = Math.min(end, size);\n\t\t}\n\t\tconst span = Math.max(relativeEnd - relativeStart, 0);\n\n\t\tconst buffer = this[BUFFER];\n\t\tconst slicedBuffer = buffer.slice(relativeStart, relativeStart + span);\n\t\tconst blob = new Blob([], { type: arguments[2] });\n\t\tblob[BUFFER] = slicedBuffer;\n\t\treturn blob;\n\t}\n}\n\nObject.defineProperties(Blob.prototype, {\n\tsize: { enumerable: true },\n\ttype: { enumerable: true },\n\tslice: { enumerable: true }\n});\n\nObject.defineProperty(Blob.prototype, Symbol.toStringTag, {\n\tvalue: 'Blob',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * fetch-error.js\n *\n * FetchError interface for operational errors\n */\n\n/**\n * Create FetchError instance\n *\n * @param String message Error message for human\n * @param String type Error type for machine\n * @param String systemError For Node.js system error\n * @return FetchError\n */\nfunction FetchError(message, type, systemError) {\n Error.call(this, message);\n\n this.message = message;\n this.type = type;\n\n // when err.type is `system`, err.code contains system error code\n if (systemError) {\n this.code = this.errno = systemError.code;\n }\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nFetchError.prototype = Object.create(Error.prototype);\nFetchError.prototype.constructor = FetchError;\nFetchError.prototype.name = 'FetchError';\n\nlet convert;\ntry {\n\tconvert = require('encoding').convert;\n} catch (e) {}\n\nconst INTERNALS = Symbol('Body internals');\n\n// fix an issue where \"PassThrough\" isn't a named export for node <10\nconst PassThrough = Stream.PassThrough;\n\n/**\n * Body mixin\n *\n * Ref: https://fetch.spec.whatwg.org/#body\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nfunction Body(body) {\n\tvar _this = this;\n\n\tvar _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n\t _ref$size = _ref.size;\n\n\tlet size = _ref$size === undefined ? 0 : _ref$size;\n\tvar _ref$timeout = _ref.timeout;\n\tlet timeout = _ref$timeout === undefined ? 0 : _ref$timeout;\n\n\tif (body == null) {\n\t\t// body is undefined or null\n\t\tbody = null;\n\t} else if (isURLSearchParams(body)) {\n\t\t// body is a URLSearchParams\n\t\tbody = Buffer.from(body.toString());\n\t} else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {\n\t\t// body is ArrayBuffer\n\t\tbody = Buffer.from(body);\n\t} else if (ArrayBuffer.isView(body)) {\n\t\t// body is ArrayBufferView\n\t\tbody = Buffer.from(body.buffer, body.byteOffset, body.byteLength);\n\t} else if (body instanceof Stream) ; else {\n\t\t// none of the above\n\t\t// coerce to string then buffer\n\t\tbody = Buffer.from(String(body));\n\t}\n\tthis[INTERNALS] = {\n\t\tbody,\n\t\tdisturbed: false,\n\t\terror: null\n\t};\n\tthis.size = size;\n\tthis.timeout = timeout;\n\n\tif (body instanceof Stream) {\n\t\tbody.on('error', function (err) {\n\t\t\tconst error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err);\n\t\t\t_this[INTERNALS].error = error;\n\t\t});\n\t}\n}\n\nBody.prototype = {\n\tget body() {\n\t\treturn this[INTERNALS].body;\n\t},\n\n\tget bodyUsed() {\n\t\treturn this[INTERNALS].disturbed;\n\t},\n\n\t/**\n * Decode response as ArrayBuffer\n *\n * @return Promise\n */\n\tarrayBuffer() {\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\t});\n\t},\n\n\t/**\n * Return raw response as Blob\n *\n * @return Promise\n */\n\tblob() {\n\t\tlet ct = this.headers && this.headers.get('content-type') || '';\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn Object.assign(\n\t\t\t// Prevent copying\n\t\t\tnew Blob([], {\n\t\t\t\ttype: ct.toLowerCase()\n\t\t\t}), {\n\t\t\t\t[BUFFER]: buf\n\t\t\t});\n\t\t});\n\t},\n\n\t/**\n * Decode response as json\n *\n * @return Promise\n */\n\tjson() {\n\t\tvar _this2 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\ttry {\n\t\t\t\treturn JSON.parse(buffer.toString());\n\t\t\t} catch (err) {\n\t\t\t\treturn Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));\n\t\t\t}\n\t\t});\n\t},\n\n\t/**\n * Decode response as text\n *\n * @return Promise\n */\n\ttext() {\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn buffer.toString();\n\t\t});\n\t},\n\n\t/**\n * Decode response as buffer (non-spec api)\n *\n * @return Promise\n */\n\tbuffer() {\n\t\treturn consumeBody.call(this);\n\t},\n\n\t/**\n * Decode response as text, while automatically detecting the encoding and\n * trying to decode to UTF-8 (non-spec api)\n *\n * @return Promise\n */\n\ttextConverted() {\n\t\tvar _this3 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn convertBody(buffer, _this3.headers);\n\t\t});\n\t}\n};\n\n// In browsers, all properties are enumerable.\nObject.defineProperties(Body.prototype, {\n\tbody: { enumerable: true },\n\tbodyUsed: { enumerable: true },\n\tarrayBuffer: { enumerable: true },\n\tblob: { enumerable: true },\n\tjson: { enumerable: true },\n\ttext: { enumerable: true }\n});\n\nBody.mixIn = function (proto) {\n\tfor (const name of Object.getOwnPropertyNames(Body.prototype)) {\n\t\t// istanbul ignore else: future proof\n\t\tif (!(name in proto)) {\n\t\t\tconst desc = Object.getOwnPropertyDescriptor(Body.prototype, name);\n\t\t\tObject.defineProperty(proto, name, desc);\n\t\t}\n\t}\n};\n\n/**\n * Consume and convert an entire Body to a Buffer.\n *\n * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body\n *\n * @return Promise\n */\nfunction consumeBody() {\n\tvar _this4 = this;\n\n\tif (this[INTERNALS].disturbed) {\n\t\treturn Body.Promise.reject(new TypeError(`body used already for: ${this.url}`));\n\t}\n\n\tthis[INTERNALS].disturbed = true;\n\n\tif (this[INTERNALS].error) {\n\t\treturn Body.Promise.reject(this[INTERNALS].error);\n\t}\n\n\tlet body = this.body;\n\n\t// body is null\n\tif (body === null) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is blob\n\tif (isBlob(body)) {\n\t\tbody = body.stream();\n\t}\n\n\t// body is buffer\n\tif (Buffer.isBuffer(body)) {\n\t\treturn Body.Promise.resolve(body);\n\t}\n\n\t// istanbul ignore if: should never happen\n\tif (!(body instanceof Stream)) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is stream\n\t// get ready to actually consume the body\n\tlet accum = [];\n\tlet accumBytes = 0;\n\tlet abort = false;\n\n\treturn new Body.Promise(function (resolve, reject) {\n\t\tlet resTimeout;\n\n\t\t// allow timeout on slow response body\n\t\tif (_this4.timeout) {\n\t\t\tresTimeout = setTimeout(function () {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout'));\n\t\t\t}, _this4.timeout);\n\t\t}\n\n\t\t// handle stream errors\n\t\tbody.on('error', function (err) {\n\t\t\tif (err.name === 'AbortError') {\n\t\t\t\t// if the request was aborted, reject with this Error\n\t\t\t\tabort = true;\n\t\t\t\treject(err);\n\t\t\t} else {\n\t\t\t\t// other errors, such as incorrect content-encoding\n\t\t\t\treject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\n\t\tbody.on('data', function (chunk) {\n\t\t\tif (abort || chunk === null) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (_this4.size && accumBytes + chunk.length > _this4.size) {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size'));\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\taccumBytes += chunk.length;\n\t\t\taccum.push(chunk);\n\t\t});\n\n\t\tbody.on('end', function () {\n\t\t\tif (abort) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tclearTimeout(resTimeout);\n\n\t\t\ttry {\n\t\t\t\tresolve(Buffer.concat(accum, accumBytes));\n\t\t\t} catch (err) {\n\t\t\t\t// handle streams that have accumulated too much data (issue #414)\n\t\t\t\treject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Detect buffer encoding and convert to target encoding\n * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding\n *\n * @param Buffer buffer Incoming buffer\n * @param String encoding Target encoding\n * @return String\n */\nfunction convertBody(buffer, headers) {\n\tif (typeof convert !== 'function') {\n\t\tthrow new Error('The package `encoding` must be installed to use the textConverted() function');\n\t}\n\n\tconst ct = headers.get('content-type');\n\tlet charset = 'utf-8';\n\tlet res, str;\n\n\t// header\n\tif (ct) {\n\t\tres = /charset=([^;]*)/i.exec(ct);\n\t}\n\n\t// no charset in content type, peek at response body for at most 1024 bytes\n\tstr = buffer.slice(0, 1024).toString();\n\n\t// html5\n\tif (!res && str) {\n\t\tres = / 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n\n\t\tthis[MAP] = Object.create(null);\n\n\t\tif (init instanceof Headers) {\n\t\t\tconst rawHeaders = init.raw();\n\t\t\tconst headerNames = Object.keys(rawHeaders);\n\n\t\t\tfor (const headerName of headerNames) {\n\t\t\t\tfor (const value of rawHeaders[headerName]) {\n\t\t\t\t\tthis.append(headerName, value);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\t// We don't worry about converting prop to ByteString here as append()\n\t\t// will handle it.\n\t\tif (init == null) ; else if (typeof init === 'object') {\n\t\t\tconst method = init[Symbol.iterator];\n\t\t\tif (method != null) {\n\t\t\t\tif (typeof method !== 'function') {\n\t\t\t\t\tthrow new TypeError('Header pairs must be iterable');\n\t\t\t\t}\n\n\t\t\t\t// sequence>\n\t\t\t\t// Note: per spec we have to first exhaust the lists then process them\n\t\t\t\tconst pairs = [];\n\t\t\t\tfor (const pair of init) {\n\t\t\t\t\tif (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be iterable');\n\t\t\t\t\t}\n\t\t\t\t\tpairs.push(Array.from(pair));\n\t\t\t\t}\n\n\t\t\t\tfor (const pair of pairs) {\n\t\t\t\t\tif (pair.length !== 2) {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be a name/value tuple');\n\t\t\t\t\t}\n\t\t\t\t\tthis.append(pair[0], pair[1]);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// record\n\t\t\t\tfor (const key of Object.keys(init)) {\n\t\t\t\t\tconst value = init[key];\n\t\t\t\t\tthis.append(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new TypeError('Provided initializer must be an object');\n\t\t}\n\t}\n\n\t/**\n * Return combined header value given name\n *\n * @param String name Header name\n * @return Mixed\n */\n\tget(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key === undefined) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this[MAP][key].join(', ');\n\t}\n\n\t/**\n * Iterate over all headers\n *\n * @param Function callback Executed for each item with parameters (value, name, thisArg)\n * @param Boolean thisArg `this` context for callback function\n * @return Void\n */\n\tforEach(callback) {\n\t\tlet thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\n\t\tlet pairs = getHeaders(this);\n\t\tlet i = 0;\n\t\twhile (i < pairs.length) {\n\t\t\tvar _pairs$i = pairs[i];\n\t\t\tconst name = _pairs$i[0],\n\t\t\t value = _pairs$i[1];\n\n\t\t\tcallback.call(thisArg, value, name, this);\n\t\t\tpairs = getHeaders(this);\n\t\t\ti++;\n\t\t}\n\t}\n\n\t/**\n * Overwrite header values given name\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tset(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tthis[MAP][key !== undefined ? key : name] = [value];\n\t}\n\n\t/**\n * Append a value onto existing header\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tappend(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tthis[MAP][key].push(value);\n\t\t} else {\n\t\t\tthis[MAP][name] = [value];\n\t\t}\n\t}\n\n\t/**\n * Check for header name existence\n *\n * @param String name Header name\n * @return Boolean\n */\n\thas(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\treturn find(this[MAP], name) !== undefined;\n\t}\n\n\t/**\n * Delete all header values given name\n *\n * @param String name Header name\n * @return Void\n */\n\tdelete(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tdelete this[MAP][key];\n\t\t}\n\t}\n\n\t/**\n * Return raw headers (non-spec api)\n *\n * @return Object\n */\n\traw() {\n\t\treturn this[MAP];\n\t}\n\n\t/**\n * Get an iterator on keys.\n *\n * @return Iterator\n */\n\tkeys() {\n\t\treturn createHeadersIterator(this, 'key');\n\t}\n\n\t/**\n * Get an iterator on values.\n *\n * @return Iterator\n */\n\tvalues() {\n\t\treturn createHeadersIterator(this, 'value');\n\t}\n\n\t/**\n * Get an iterator on entries.\n *\n * This is the default iterator of the Headers object.\n *\n * @return Iterator\n */\n\t[Symbol.iterator]() {\n\t\treturn createHeadersIterator(this, 'key+value');\n\t}\n}\nHeaders.prototype.entries = Headers.prototype[Symbol.iterator];\n\nObject.defineProperty(Headers.prototype, Symbol.toStringTag, {\n\tvalue: 'Headers',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Headers.prototype, {\n\tget: { enumerable: true },\n\tforEach: { enumerable: true },\n\tset: { enumerable: true },\n\tappend: { enumerable: true },\n\thas: { enumerable: true },\n\tdelete: { enumerable: true },\n\tkeys: { enumerable: true },\n\tvalues: { enumerable: true },\n\tentries: { enumerable: true }\n});\n\nfunction getHeaders(headers) {\n\tlet kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value';\n\n\tconst keys = Object.keys(headers[MAP]).sort();\n\treturn keys.map(kind === 'key' ? function (k) {\n\t\treturn k.toLowerCase();\n\t} : kind === 'value' ? function (k) {\n\t\treturn headers[MAP][k].join(', ');\n\t} : function (k) {\n\t\treturn [k.toLowerCase(), headers[MAP][k].join(', ')];\n\t});\n}\n\nconst INTERNAL = Symbol('internal');\n\nfunction createHeadersIterator(target, kind) {\n\tconst iterator = Object.create(HeadersIteratorPrototype);\n\titerator[INTERNAL] = {\n\t\ttarget,\n\t\tkind,\n\t\tindex: 0\n\t};\n\treturn iterator;\n}\n\nconst HeadersIteratorPrototype = Object.setPrototypeOf({\n\tnext() {\n\t\t// istanbul ignore if\n\t\tif (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) {\n\t\t\tthrow new TypeError('Value of `this` is not a HeadersIterator');\n\t\t}\n\n\t\tvar _INTERNAL = this[INTERNAL];\n\t\tconst target = _INTERNAL.target,\n\t\t kind = _INTERNAL.kind,\n\t\t index = _INTERNAL.index;\n\n\t\tconst values = getHeaders(target, kind);\n\t\tconst len = values.length;\n\t\tif (index >= len) {\n\t\t\treturn {\n\t\t\t\tvalue: undefined,\n\t\t\t\tdone: true\n\t\t\t};\n\t\t}\n\n\t\tthis[INTERNAL].index = index + 1;\n\n\t\treturn {\n\t\t\tvalue: values[index],\n\t\t\tdone: false\n\t\t};\n\t}\n}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));\n\nObject.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, {\n\tvalue: 'HeadersIterator',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * Export the Headers object in a form that Node.js can consume.\n *\n * @param Headers headers\n * @return Object\n */\nfunction exportNodeCompatibleHeaders(headers) {\n\tconst obj = Object.assign({ __proto__: null }, headers[MAP]);\n\n\t// http.request() only supports string as Host header. This hack makes\n\t// specifying custom Host header possible.\n\tconst hostHeaderKey = find(headers[MAP], 'Host');\n\tif (hostHeaderKey !== undefined) {\n\t\tobj[hostHeaderKey] = obj[hostHeaderKey][0];\n\t}\n\n\treturn obj;\n}\n\n/**\n * Create a Headers object from an object of headers, ignoring those that do\n * not conform to HTTP grammar productions.\n *\n * @param Object obj Object of headers\n * @return Headers\n */\nfunction createHeadersLenient(obj) {\n\tconst headers = new Headers();\n\tfor (const name of Object.keys(obj)) {\n\t\tif (invalidTokenRegex.test(name)) {\n\t\t\tcontinue;\n\t\t}\n\t\tif (Array.isArray(obj[name])) {\n\t\t\tfor (const val of obj[name]) {\n\t\t\t\tif (invalidHeaderCharRegex.test(val)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (headers[MAP][name] === undefined) {\n\t\t\t\t\theaders[MAP][name] = [val];\n\t\t\t\t} else {\n\t\t\t\t\theaders[MAP][name].push(val);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (!invalidHeaderCharRegex.test(obj[name])) {\n\t\t\theaders[MAP][name] = [obj[name]];\n\t\t}\n\t}\n\treturn headers;\n}\n\nconst INTERNALS$1 = Symbol('Response internals');\n\n// fix an issue where \"STATUS_CODES\" aren't a named export for node <10\nconst STATUS_CODES = http.STATUS_CODES;\n\n/**\n * Response class\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nclass Response {\n\tconstructor() {\n\t\tlet body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\t\tlet opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tBody.call(this, body, opts);\n\n\t\tconst status = opts.status || 200;\n\t\tconst headers = new Headers(opts.headers);\n\n\t\tif (body != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(body);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tthis[INTERNALS$1] = {\n\t\t\turl: opts.url,\n\t\t\tstatus,\n\t\t\tstatusText: opts.statusText || STATUS_CODES[status],\n\t\t\theaders,\n\t\t\tcounter: opts.counter\n\t\t};\n\t}\n\n\tget url() {\n\t\treturn this[INTERNALS$1].url || '';\n\t}\n\n\tget status() {\n\t\treturn this[INTERNALS$1].status;\n\t}\n\n\t/**\n * Convenience property representing if the request ended normally\n */\n\tget ok() {\n\t\treturn this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300;\n\t}\n\n\tget redirected() {\n\t\treturn this[INTERNALS$1].counter > 0;\n\t}\n\n\tget statusText() {\n\t\treturn this[INTERNALS$1].statusText;\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$1].headers;\n\t}\n\n\t/**\n * Clone this response\n *\n * @return Response\n */\n\tclone() {\n\t\treturn new Response(clone(this), {\n\t\t\turl: this.url,\n\t\t\tstatus: this.status,\n\t\t\tstatusText: this.statusText,\n\t\t\theaders: this.headers,\n\t\t\tok: this.ok,\n\t\t\tredirected: this.redirected\n\t\t});\n\t}\n}\n\nBody.mixIn(Response.prototype);\n\nObject.defineProperties(Response.prototype, {\n\turl: { enumerable: true },\n\tstatus: { enumerable: true },\n\tok: { enumerable: true },\n\tredirected: { enumerable: true },\n\tstatusText: { enumerable: true },\n\theaders: { enumerable: true },\n\tclone: { enumerable: true }\n});\n\nObject.defineProperty(Response.prototype, Symbol.toStringTag, {\n\tvalue: 'Response',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nconst INTERNALS$2 = Symbol('Request internals');\nconst URL = Url.URL || whatwgUrl.URL;\n\n// fix an issue where \"format\", \"parse\" aren't a named export for node <10\nconst parse_url = Url.parse;\nconst format_url = Url.format;\n\n/**\n * Wrapper around `new URL` to handle arbitrary URLs\n *\n * @param {string} urlStr\n * @return {void}\n */\nfunction parseURL(urlStr) {\n\t/*\n \tCheck whether the URL is absolute or not\n \t\tScheme: https://tools.ietf.org/html/rfc3986#section-3.1\n \tAbsolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\n */\n\tif (/^[a-zA-Z][a-zA-Z\\d+\\-.]*:/.exec(urlStr)) {\n\t\turlStr = new URL(urlStr).toString();\n\t}\n\n\t// Fallback to old implementation for arbitrary URLs\n\treturn parse_url(urlStr);\n}\n\nconst streamDestructionSupported = 'destroy' in Stream.Readable.prototype;\n\n/**\n * Check if a value is an instance of Request.\n *\n * @param Mixed input\n * @return Boolean\n */\nfunction isRequest(input) {\n\treturn typeof input === 'object' && typeof input[INTERNALS$2] === 'object';\n}\n\nfunction isAbortSignal(signal) {\n\tconst proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal);\n\treturn !!(proto && proto.constructor.name === 'AbortSignal');\n}\n\n/**\n * Request class\n *\n * @param Mixed input Url or Request instance\n * @param Object init Custom options\n * @return Void\n */\nclass Request {\n\tconstructor(input) {\n\t\tlet init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tlet parsedURL;\n\n\t\t// normalize input\n\t\tif (!isRequest(input)) {\n\t\t\tif (input && input.href) {\n\t\t\t\t// in order to support Node.js' Url objects; though WHATWG's URL objects\n\t\t\t\t// will fall into this branch also (since their `toString()` will return\n\t\t\t\t// `href` property anyway)\n\t\t\t\tparsedURL = parseURL(input.href);\n\t\t\t} else {\n\t\t\t\t// coerce input to a string before attempting to parse\n\t\t\t\tparsedURL = parseURL(`${input}`);\n\t\t\t}\n\t\t\tinput = {};\n\t\t} else {\n\t\t\tparsedURL = parseURL(input.url);\n\t\t}\n\n\t\tlet method = init.method || input.method || 'GET';\n\t\tmethod = method.toUpperCase();\n\n\t\tif ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) {\n\t\t\tthrow new TypeError('Request with GET/HEAD method cannot have body');\n\t\t}\n\n\t\tlet inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;\n\n\t\tBody.call(this, inputBody, {\n\t\t\ttimeout: init.timeout || input.timeout || 0,\n\t\t\tsize: init.size || input.size || 0\n\t\t});\n\n\t\tconst headers = new Headers(init.headers || input.headers || {});\n\n\t\tif (inputBody != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(inputBody);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tlet signal = isRequest(input) ? input.signal : null;\n\t\tif ('signal' in init) signal = init.signal;\n\n\t\tif (signal != null && !isAbortSignal(signal)) {\n\t\t\tthrow new TypeError('Expected signal to be an instanceof AbortSignal');\n\t\t}\n\n\t\tthis[INTERNALS$2] = {\n\t\t\tmethod,\n\t\t\tredirect: init.redirect || input.redirect || 'follow',\n\t\t\theaders,\n\t\t\tparsedURL,\n\t\t\tsignal\n\t\t};\n\n\t\t// node-fetch-only options\n\t\tthis.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20;\n\t\tthis.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true;\n\t\tthis.counter = init.counter || input.counter || 0;\n\t\tthis.agent = init.agent || input.agent;\n\t}\n\n\tget method() {\n\t\treturn this[INTERNALS$2].method;\n\t}\n\n\tget url() {\n\t\treturn format_url(this[INTERNALS$2].parsedURL);\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$2].headers;\n\t}\n\n\tget redirect() {\n\t\treturn this[INTERNALS$2].redirect;\n\t}\n\n\tget signal() {\n\t\treturn this[INTERNALS$2].signal;\n\t}\n\n\t/**\n * Clone this request\n *\n * @return Request\n */\n\tclone() {\n\t\treturn new Request(this);\n\t}\n}\n\nBody.mixIn(Request.prototype);\n\nObject.defineProperty(Request.prototype, Symbol.toStringTag, {\n\tvalue: 'Request',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Request.prototype, {\n\tmethod: { enumerable: true },\n\turl: { enumerable: true },\n\theaders: { enumerable: true },\n\tredirect: { enumerable: true },\n\tclone: { enumerable: true },\n\tsignal: { enumerable: true }\n});\n\n/**\n * Convert a Request to Node.js http request options.\n *\n * @param Request A Request instance\n * @return Object The options object to be passed to http.request\n */\nfunction getNodeRequestOptions(request) {\n\tconst parsedURL = request[INTERNALS$2].parsedURL;\n\tconst headers = new Headers(request[INTERNALS$2].headers);\n\n\t// fetch step 1.3\n\tif (!headers.has('Accept')) {\n\t\theaders.set('Accept', '*/*');\n\t}\n\n\t// Basic fetch\n\tif (!parsedURL.protocol || !parsedURL.hostname) {\n\t\tthrow new TypeError('Only absolute URLs are supported');\n\t}\n\n\tif (!/^https?:$/.test(parsedURL.protocol)) {\n\t\tthrow new TypeError('Only HTTP(S) protocols are supported');\n\t}\n\n\tif (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) {\n\t\tthrow new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8');\n\t}\n\n\t// HTTP-network-or-cache fetch steps 2.4-2.7\n\tlet contentLengthValue = null;\n\tif (request.body == null && /^(POST|PUT)$/i.test(request.method)) {\n\t\tcontentLengthValue = '0';\n\t}\n\tif (request.body != null) {\n\t\tconst totalBytes = getTotalBytes(request);\n\t\tif (typeof totalBytes === 'number') {\n\t\t\tcontentLengthValue = String(totalBytes);\n\t\t}\n\t}\n\tif (contentLengthValue) {\n\t\theaders.set('Content-Length', contentLengthValue);\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.11\n\tif (!headers.has('User-Agent')) {\n\t\theaders.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)');\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.15\n\tif (request.compress && !headers.has('Accept-Encoding')) {\n\t\theaders.set('Accept-Encoding', 'gzip,deflate');\n\t}\n\n\tlet agent = request.agent;\n\tif (typeof agent === 'function') {\n\t\tagent = agent(parsedURL);\n\t}\n\n\tif (!headers.has('Connection') && !agent) {\n\t\theaders.set('Connection', 'close');\n\t}\n\n\t// HTTP-network fetch step 4.2\n\t// chunked encoding is handled by Node.js\n\n\treturn Object.assign({}, parsedURL, {\n\t\tmethod: request.method,\n\t\theaders: exportNodeCompatibleHeaders(headers),\n\t\tagent\n\t});\n}\n\n/**\n * abort-error.js\n *\n * AbortError interface for cancelled requests\n */\n\n/**\n * Create AbortError instance\n *\n * @param String message Error message for human\n * @return AbortError\n */\nfunction AbortError(message) {\n Error.call(this, message);\n\n this.type = 'aborted';\n this.message = message;\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nAbortError.prototype = Object.create(Error.prototype);\nAbortError.prototype.constructor = AbortError;\nAbortError.prototype.name = 'AbortError';\n\nconst URL$1 = Url.URL || whatwgUrl.URL;\n\n// fix an issue where \"PassThrough\", \"resolve\" aren't a named export for node <10\nconst PassThrough$1 = Stream.PassThrough;\n\nconst isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) {\n\tconst orig = new URL$1(original).hostname;\n\tconst dest = new URL$1(destination).hostname;\n\n\treturn orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest);\n};\n\n/**\n * Fetch function\n *\n * @param Mixed url Absolute url or Request instance\n * @param Object opts Fetch options\n * @return Promise\n */\nfunction fetch(url, opts) {\n\n\t// allow custom promise\n\tif (!fetch.Promise) {\n\t\tthrow new Error('native promise missing, set fetch.Promise to your favorite alternative');\n\t}\n\n\tBody.Promise = fetch.Promise;\n\n\t// wrap http.request into fetch\n\treturn new fetch.Promise(function (resolve, reject) {\n\t\t// build request object\n\t\tconst request = new Request(url, opts);\n\t\tconst options = getNodeRequestOptions(request);\n\n\t\tconst send = (options.protocol === 'https:' ? https : http).request;\n\t\tconst signal = request.signal;\n\n\t\tlet response = null;\n\n\t\tconst abort = function abort() {\n\t\t\tlet error = new AbortError('The user aborted a request.');\n\t\t\treject(error);\n\t\t\tif (request.body && request.body instanceof Stream.Readable) {\n\t\t\t\trequest.body.destroy(error);\n\t\t\t}\n\t\t\tif (!response || !response.body) return;\n\t\t\tresponse.body.emit('error', error);\n\t\t};\n\n\t\tif (signal && signal.aborted) {\n\t\t\tabort();\n\t\t\treturn;\n\t\t}\n\n\t\tconst abortAndFinalize = function abortAndFinalize() {\n\t\t\tabort();\n\t\t\tfinalize();\n\t\t};\n\n\t\t// send request\n\t\tconst req = send(options);\n\t\tlet reqTimeout;\n\n\t\tif (signal) {\n\t\t\tsignal.addEventListener('abort', abortAndFinalize);\n\t\t}\n\n\t\tfunction finalize() {\n\t\t\treq.abort();\n\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\tclearTimeout(reqTimeout);\n\t\t}\n\n\t\tif (request.timeout) {\n\t\t\treq.once('socket', function (socket) {\n\t\t\t\treqTimeout = setTimeout(function () {\n\t\t\t\t\treject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout'));\n\t\t\t\t\tfinalize();\n\t\t\t\t}, request.timeout);\n\t\t\t});\n\t\t}\n\n\t\treq.on('error', function (err) {\n\t\t\treject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));\n\t\t\tfinalize();\n\t\t});\n\n\t\treq.on('response', function (res) {\n\t\t\tclearTimeout(reqTimeout);\n\n\t\t\tconst headers = createHeadersLenient(res.headers);\n\n\t\t\t// HTTP fetch step 5\n\t\t\tif (fetch.isRedirect(res.statusCode)) {\n\t\t\t\t// HTTP fetch step 5.2\n\t\t\t\tconst location = headers.get('Location');\n\n\t\t\t\t// HTTP fetch step 5.3\n\t\t\t\tlet locationURL = null;\n\t\t\t\ttry {\n\t\t\t\t\tlocationURL = location === null ? null : new URL$1(location, request.url).toString();\n\t\t\t\t} catch (err) {\n\t\t\t\t\t// error here can only be invalid URL in Location: header\n\t\t\t\t\t// do not throw when options.redirect == manual\n\t\t\t\t\t// let the user extract the errorneous redirect URL\n\t\t\t\t\tif (request.redirect !== 'manual') {\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// HTTP fetch step 5.5\n\t\t\t\tswitch (request.redirect) {\n\t\t\t\t\tcase 'error':\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\t// node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL.\n\t\t\t\t\t\tif (locationURL !== null) {\n\t\t\t\t\t\t\t// handle corrupted header\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\theaders.set('Location', locationURL);\n\t\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t\t// istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request\n\t\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'follow':\n\t\t\t\t\t\t// HTTP-redirect fetch step 2\n\t\t\t\t\t\tif (locationURL === null) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 5\n\t\t\t\t\t\tif (request.counter >= request.follow) {\n\t\t\t\t\t\t\treject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 6 (counter increment)\n\t\t\t\t\t\t// Create a new Request object.\n\t\t\t\t\t\tconst requestOpts = {\n\t\t\t\t\t\t\theaders: new Headers(request.headers),\n\t\t\t\t\t\t\tfollow: request.follow,\n\t\t\t\t\t\t\tcounter: request.counter + 1,\n\t\t\t\t\t\t\tagent: request.agent,\n\t\t\t\t\t\t\tcompress: request.compress,\n\t\t\t\t\t\t\tmethod: request.method,\n\t\t\t\t\t\t\tbody: request.body,\n\t\t\t\t\t\t\tsignal: request.signal,\n\t\t\t\t\t\t\ttimeout: request.timeout,\n\t\t\t\t\t\t\tsize: request.size\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tif (!isDomainOrSubdomain(request.url, locationURL)) {\n\t\t\t\t\t\t\tfor (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) {\n\t\t\t\t\t\t\t\trequestOpts.headers.delete(name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 9\n\t\t\t\t\t\tif (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) {\n\t\t\t\t\t\t\treject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 11\n\t\t\t\t\t\tif (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') {\n\t\t\t\t\t\t\trequestOpts.method = 'GET';\n\t\t\t\t\t\t\trequestOpts.body = undefined;\n\t\t\t\t\t\t\trequestOpts.headers.delete('content-length');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 15\n\t\t\t\t\t\tresolve(fetch(new Request(locationURL, requestOpts)));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// prepare response\n\t\t\tres.once('end', function () {\n\t\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\t});\n\t\t\tlet body = res.pipe(new PassThrough$1());\n\n\t\t\tconst response_options = {\n\t\t\t\turl: request.url,\n\t\t\t\tstatus: res.statusCode,\n\t\t\t\tstatusText: res.statusMessage,\n\t\t\t\theaders: headers,\n\t\t\t\tsize: request.size,\n\t\t\t\ttimeout: request.timeout,\n\t\t\t\tcounter: request.counter\n\t\t\t};\n\n\t\t\t// HTTP-network fetch step 12.1.1.3\n\t\t\tconst codings = headers.get('Content-Encoding');\n\n\t\t\t// HTTP-network fetch step 12.1.1.4: handle content codings\n\n\t\t\t// in following scenarios we ignore compression support\n\t\t\t// 1. compression support is disabled\n\t\t\t// 2. HEAD request\n\t\t\t// 3. no Content-Encoding header\n\t\t\t// 4. no content response (204)\n\t\t\t// 5. content not modified response (304)\n\t\t\tif (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) {\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For Node v6+\n\t\t\t// Be less strict when decoding compressed responses, since sometimes\n\t\t\t// servers send slightly invalid responses that are still accepted\n\t\t\t// by common browsers.\n\t\t\t// Always using Z_SYNC_FLUSH is what cURL does.\n\t\t\tconst zlibOptions = {\n\t\t\t\tflush: zlib.Z_SYNC_FLUSH,\n\t\t\t\tfinishFlush: zlib.Z_SYNC_FLUSH\n\t\t\t};\n\n\t\t\t// for gzip\n\t\t\tif (codings == 'gzip' || codings == 'x-gzip') {\n\t\t\t\tbody = body.pipe(zlib.createGunzip(zlibOptions));\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for deflate\n\t\t\tif (codings == 'deflate' || codings == 'x-deflate') {\n\t\t\t\t// handle the infamous raw deflate response from old servers\n\t\t\t\t// a hack for old IIS and Apache servers\n\t\t\t\tconst raw = res.pipe(new PassThrough$1());\n\t\t\t\traw.once('data', function (chunk) {\n\t\t\t\t\t// see http://stackoverflow.com/questions/37519828\n\t\t\t\t\tif ((chunk[0] & 0x0F) === 0x08) {\n\t\t\t\t\t\tbody = body.pipe(zlib.createInflate());\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbody = body.pipe(zlib.createInflateRaw());\n\t\t\t\t\t}\n\t\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\t\tresolve(response);\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for br\n\t\t\tif (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') {\n\t\t\t\tbody = body.pipe(zlib.createBrotliDecompress());\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// otherwise, use response as-is\n\t\t\tresponse = new Response(body, response_options);\n\t\t\tresolve(response);\n\t\t});\n\n\t\twriteToStream(req, request);\n\t});\n}\n/**\n * Redirect code matching\n *\n * @param Number code Status code\n * @return Boolean\n */\nfetch.isRedirect = function (code) {\n\treturn code === 301 || code === 302 || code === 303 || code === 307 || code === 308;\n};\n\n// expose Promise\nfetch.Promise = global.Promise;\n\nmodule.exports = exports = fetch;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = exports;\nexports.Headers = Headers;\nexports.Request = Request;\nexports.Response = Response;\nexports.FetchError = FetchError;\n","\"use strict\";\n\nvar punycode = require(\"punycode\");\nvar mappingTable = require(\"./lib/mappingTable.json\");\n\nvar PROCESSING_OPTIONS = {\n TRANSITIONAL: 0,\n NONTRANSITIONAL: 1\n};\n\nfunction normalize(str) { // fix bug in v8\n return str.split('\\u0000').map(function (s) { return s.normalize('NFC'); }).join('\\u0000');\n}\n\nfunction findStatus(val) {\n var start = 0;\n var end = mappingTable.length - 1;\n\n while (start <= end) {\n var mid = Math.floor((start + end) / 2);\n\n var target = mappingTable[mid];\n if (target[0][0] <= val && target[0][1] >= val) {\n return target;\n } else if (target[0][0] > val) {\n end = mid - 1;\n } else {\n start = mid + 1;\n }\n }\n\n return null;\n}\n\nvar regexAstralSymbols = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n\nfunction countSymbols(string) {\n return string\n // replace every surrogate pair with a BMP symbol\n .replace(regexAstralSymbols, '_')\n // then get the length\n .length;\n}\n\nfunction mapChars(domain_name, useSTD3, processing_option) {\n var hasError = false;\n var processed = \"\";\n\n var len = countSymbols(domain_name);\n for (var i = 0; i < len; ++i) {\n var codePoint = domain_name.codePointAt(i);\n var status = findStatus(codePoint);\n\n switch (status[1]) {\n case \"disallowed\":\n hasError = true;\n processed += String.fromCodePoint(codePoint);\n break;\n case \"ignored\":\n break;\n case \"mapped\":\n processed += String.fromCodePoint.apply(String, status[2]);\n break;\n case \"deviation\":\n if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) {\n processed += String.fromCodePoint.apply(String, status[2]);\n } else {\n processed += String.fromCodePoint(codePoint);\n }\n break;\n case \"valid\":\n processed += String.fromCodePoint(codePoint);\n break;\n case \"disallowed_STD3_mapped\":\n if (useSTD3) {\n hasError = true;\n processed += String.fromCodePoint(codePoint);\n } else {\n processed += String.fromCodePoint.apply(String, status[2]);\n }\n break;\n case \"disallowed_STD3_valid\":\n if (useSTD3) {\n hasError = true;\n }\n\n processed += String.fromCodePoint(codePoint);\n break;\n }\n }\n\n return {\n string: processed,\n error: hasError\n };\n}\n\nvar combiningMarksRegex = /[\\u0300-\\u036F\\u0483-\\u0489\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u08E4-\\u0903\\u093A-\\u093C\\u093E-\\u094F\\u0951-\\u0957\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u0A01-\\u0A03\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AE2\\u0AE3\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B62\\u0B63\\u0B82\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C00-\\u0C03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0C81-\\u0C83\\u0CBC\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CE2\\u0CE3\\u0D01-\\u0D03\\u0D3E-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0D62\\u0D63\\u0D82\\u0D83\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102B-\\u103E\\u1056-\\u1059\\u105E-\\u1060\\u1062-\\u1064\\u1067-\\u106D\\u1071-\\u1074\\u1082-\\u108D\\u108F\\u109A-\\u109D\\u135D-\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B4-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u192B\\u1930-\\u193B\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A17-\\u1A1B\\u1A55-\\u1A5E\\u1A60-\\u1A7C\\u1A7F\\u1AB0-\\u1ABE\\u1B00-\\u1B04\\u1B34-\\u1B44\\u1B6B-\\u1B73\\u1B80-\\u1B82\\u1BA1-\\u1BAD\\u1BE6-\\u1BF3\\u1C24-\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE8\\u1CED\\u1CF2-\\u1CF4\\u1CF8\\u1CF9\\u1DC0-\\u1DF5\\u1DFC-\\u1DFF\\u20D0-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F-\\uA672\\uA674-\\uA67D\\uA69F\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA823-\\uA827\\uA880\\uA881\\uA8B4-\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA953\\uA980-\\uA983\\uA9B3-\\uA9C0\\uA9E5\\uAA29-\\uAA36\\uAA43\\uAA4C\\uAA4D\\uAA7B-\\uAA7D\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uAAEB-\\uAAEF\\uAAF5\\uAAF6\\uABE3-\\uABEA\\uABEC\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2D]|\\uD800[\\uDDFD\\uDEE0\\uDF76-\\uDF7A]|\\uD802[\\uDE01-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE0F\\uDE38-\\uDE3A\\uDE3F\\uDEE5\\uDEE6]|\\uD804[\\uDC00-\\uDC02\\uDC38-\\uDC46\\uDC7F-\\uDC82\\uDCB0-\\uDCBA\\uDD00-\\uDD02\\uDD27-\\uDD34\\uDD73\\uDD80-\\uDD82\\uDDB3-\\uDDC0\\uDE2C-\\uDE37\\uDEDF-\\uDEEA\\uDF01-\\uDF03\\uDF3C\\uDF3E-\\uDF44\\uDF47\\uDF48\\uDF4B-\\uDF4D\\uDF57\\uDF62\\uDF63\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDCB0-\\uDCC3\\uDDAF-\\uDDB5\\uDDB8-\\uDDC0\\uDE30-\\uDE40\\uDEAB-\\uDEB7]|\\uD81A[\\uDEF0-\\uDEF4\\uDF30-\\uDF36]|\\uD81B[\\uDF51-\\uDF7E\\uDF8F-\\uDF92]|\\uD82F[\\uDC9D\\uDC9E]|\\uD834[\\uDD65-\\uDD69\\uDD6D-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\uD83A[\\uDCD0-\\uDCD6]|\\uDB40[\\uDD00-\\uDDEF]/;\n\nfunction validateLabel(label, processing_option) {\n if (label.substr(0, 4) === \"xn--\") {\n label = punycode.toUnicode(label);\n processing_option = PROCESSING_OPTIONS.NONTRANSITIONAL;\n }\n\n var error = false;\n\n if (normalize(label) !== label ||\n (label[3] === \"-\" && label[4] === \"-\") ||\n label[0] === \"-\" || label[label.length - 1] === \"-\" ||\n label.indexOf(\".\") !== -1 ||\n label.search(combiningMarksRegex) === 0) {\n error = true;\n }\n\n var len = countSymbols(label);\n for (var i = 0; i < len; ++i) {\n var status = findStatus(label.codePointAt(i));\n if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== \"valid\") ||\n (processing === PROCESSING_OPTIONS.NONTRANSITIONAL &&\n status[1] !== \"valid\" && status[1] !== \"deviation\")) {\n error = true;\n break;\n }\n }\n\n return {\n label: label,\n error: error\n };\n}\n\nfunction processing(domain_name, useSTD3, processing_option) {\n var result = mapChars(domain_name, useSTD3, processing_option);\n result.string = normalize(result.string);\n\n var labels = result.string.split(\".\");\n for (var i = 0; i < labels.length; ++i) {\n try {\n var validation = validateLabel(labels[i]);\n labels[i] = validation.label;\n result.error = result.error || validation.error;\n } catch(e) {\n result.error = true;\n }\n }\n\n return {\n string: labels.join(\".\"),\n error: result.error\n };\n}\n\nmodule.exports.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) {\n var result = processing(domain_name, useSTD3, processing_option);\n var labels = result.string.split(\".\");\n labels = labels.map(function(l) {\n try {\n return punycode.toASCII(l);\n } catch(e) {\n result.error = true;\n return l;\n }\n });\n\n if (verifyDnsLength) {\n var total = labels.slice(0, labels.length - 1).join(\".\").length;\n if (total.length > 253 || total.length === 0) {\n result.error = true;\n }\n\n for (var i=0; i < labels.length; ++i) {\n if (labels.length > 63 || labels.length === 0) {\n result.error = true;\n break;\n }\n }\n }\n\n if (result.error) return null;\n return labels.join(\".\");\n};\n\nmodule.exports.toUnicode = function(domain_name, useSTD3) {\n var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL);\n\n return {\n domain: result.string,\n error: result.error\n };\n};\n\nmodule.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS;\n","\"use strict\";\n\nvar conversions = {};\nmodule.exports = conversions;\n\nfunction sign(x) {\n return x < 0 ? -1 : 1;\n}\n\nfunction evenRound(x) {\n // Round x to the nearest integer, choosing the even integer if it lies halfway between two.\n if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. floor)\n return Math.floor(x);\n } else {\n return Math.round(x);\n }\n}\n\nfunction createNumberConversion(bitLength, typeOpts) {\n if (!typeOpts.unsigned) {\n --bitLength;\n }\n const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength);\n const upperBound = Math.pow(2, bitLength) - 1;\n\n const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength);\n const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1);\n\n return function(V, opts) {\n if (!opts) opts = {};\n\n let x = +V;\n\n if (opts.enforceRange) {\n if (!Number.isFinite(x)) {\n throw new TypeError(\"Argument is not a finite number\");\n }\n\n x = sign(x) * Math.floor(Math.abs(x));\n if (x < lowerBound || x > upperBound) {\n throw new TypeError(\"Argument is not in byte range\");\n }\n\n return x;\n }\n\n if (!isNaN(x) && opts.clamp) {\n x = evenRound(x);\n\n if (x < lowerBound) x = lowerBound;\n if (x > upperBound) x = upperBound;\n return x;\n }\n\n if (!Number.isFinite(x) || x === 0) {\n return 0;\n }\n\n x = sign(x) * Math.floor(Math.abs(x));\n x = x % moduloVal;\n\n if (!typeOpts.unsigned && x >= moduloBound) {\n return x - moduloVal;\n } else if (typeOpts.unsigned) {\n if (x < 0) {\n x += moduloVal;\n } else if (x === -0) { // don't return negative zero\n return 0;\n }\n }\n\n return x;\n }\n}\n\nconversions[\"void\"] = function () {\n return undefined;\n};\n\nconversions[\"boolean\"] = function (val) {\n return !!val;\n};\n\nconversions[\"byte\"] = createNumberConversion(8, { unsigned: false });\nconversions[\"octet\"] = createNumberConversion(8, { unsigned: true });\n\nconversions[\"short\"] = createNumberConversion(16, { unsigned: false });\nconversions[\"unsigned short\"] = createNumberConversion(16, { unsigned: true });\n\nconversions[\"long\"] = createNumberConversion(32, { unsigned: false });\nconversions[\"unsigned long\"] = createNumberConversion(32, { unsigned: true });\n\nconversions[\"long long\"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 });\nconversions[\"unsigned long long\"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 });\n\nconversions[\"double\"] = function (V) {\n const x = +V;\n\n if (!Number.isFinite(x)) {\n throw new TypeError(\"Argument is not a finite floating-point value\");\n }\n\n return x;\n};\n\nconversions[\"unrestricted double\"] = function (V) {\n const x = +V;\n\n if (isNaN(x)) {\n throw new TypeError(\"Argument is NaN\");\n }\n\n return x;\n};\n\n// not quite valid, but good enough for JS\nconversions[\"float\"] = conversions[\"double\"];\nconversions[\"unrestricted float\"] = conversions[\"unrestricted double\"];\n\nconversions[\"DOMString\"] = function (V, opts) {\n if (!opts) opts = {};\n\n if (opts.treatNullAsEmptyString && V === null) {\n return \"\";\n }\n\n return String(V);\n};\n\nconversions[\"ByteString\"] = function (V, opts) {\n const x = String(V);\n let c = undefined;\n for (let i = 0; (c = x.codePointAt(i)) !== undefined; ++i) {\n if (c > 255) {\n throw new TypeError(\"Argument is not a valid bytestring\");\n }\n }\n\n return x;\n};\n\nconversions[\"USVString\"] = function (V) {\n const S = String(V);\n const n = S.length;\n const U = [];\n for (let i = 0; i < n; ++i) {\n const c = S.charCodeAt(i);\n if (c < 0xD800 || c > 0xDFFF) {\n U.push(String.fromCodePoint(c));\n } else if (0xDC00 <= c && c <= 0xDFFF) {\n U.push(String.fromCodePoint(0xFFFD));\n } else {\n if (i === n - 1) {\n U.push(String.fromCodePoint(0xFFFD));\n } else {\n const d = S.charCodeAt(i + 1);\n if (0xDC00 <= d && d <= 0xDFFF) {\n const a = c & 0x3FF;\n const b = d & 0x3FF;\n U.push(String.fromCodePoint((2 << 15) + (2 << 9) * a + b));\n ++i;\n } else {\n U.push(String.fromCodePoint(0xFFFD));\n }\n }\n }\n }\n\n return U.join('');\n};\n\nconversions[\"Date\"] = function (V, opts) {\n if (!(V instanceof Date)) {\n throw new TypeError(\"Argument is not a Date object\");\n }\n if (isNaN(V)) {\n return undefined;\n }\n\n return V;\n};\n\nconversions[\"RegExp\"] = function (V, opts) {\n if (!(V instanceof RegExp)) {\n V = new RegExp(V);\n }\n\n return V;\n};\n","\"use strict\";\nconst usm = require(\"./url-state-machine\");\n\nexports.implementation = class URLImpl {\n constructor(constructorArgs) {\n const url = constructorArgs[0];\n const base = constructorArgs[1];\n\n let parsedBase = null;\n if (base !== undefined) {\n parsedBase = usm.basicURLParse(base);\n if (parsedBase === \"failure\") {\n throw new TypeError(\"Invalid base URL\");\n }\n }\n\n const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase });\n if (parsedURL === \"failure\") {\n throw new TypeError(\"Invalid URL\");\n }\n\n this._url = parsedURL;\n\n // TODO: query stuff\n }\n\n get href() {\n return usm.serializeURL(this._url);\n }\n\n set href(v) {\n const parsedURL = usm.basicURLParse(v);\n if (parsedURL === \"failure\") {\n throw new TypeError(\"Invalid URL\");\n }\n\n this._url = parsedURL;\n }\n\n get origin() {\n return usm.serializeURLOrigin(this._url);\n }\n\n get protocol() {\n return this._url.scheme + \":\";\n }\n\n set protocol(v) {\n usm.basicURLParse(v + \":\", { url: this._url, stateOverride: \"scheme start\" });\n }\n\n get username() {\n return this._url.username;\n }\n\n set username(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n usm.setTheUsername(this._url, v);\n }\n\n get password() {\n return this._url.password;\n }\n\n set password(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n usm.setThePassword(this._url, v);\n }\n\n get host() {\n const url = this._url;\n\n if (url.host === null) {\n return \"\";\n }\n\n if (url.port === null) {\n return usm.serializeHost(url.host);\n }\n\n return usm.serializeHost(url.host) + \":\" + usm.serializeInteger(url.port);\n }\n\n set host(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n usm.basicURLParse(v, { url: this._url, stateOverride: \"host\" });\n }\n\n get hostname() {\n if (this._url.host === null) {\n return \"\";\n }\n\n return usm.serializeHost(this._url.host);\n }\n\n set hostname(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n usm.basicURLParse(v, { url: this._url, stateOverride: \"hostname\" });\n }\n\n get port() {\n if (this._url.port === null) {\n return \"\";\n }\n\n return usm.serializeInteger(this._url.port);\n }\n\n set port(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n if (v === \"\") {\n this._url.port = null;\n } else {\n usm.basicURLParse(v, { url: this._url, stateOverride: \"port\" });\n }\n }\n\n get pathname() {\n if (this._url.cannotBeABaseURL) {\n return this._url.path[0];\n }\n\n if (this._url.path.length === 0) {\n return \"\";\n }\n\n return \"/\" + this._url.path.join(\"/\");\n }\n\n set pathname(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n this._url.path = [];\n usm.basicURLParse(v, { url: this._url, stateOverride: \"path start\" });\n }\n\n get search() {\n if (this._url.query === null || this._url.query === \"\") {\n return \"\";\n }\n\n return \"?\" + this._url.query;\n }\n\n set search(v) {\n // TODO: query stuff\n\n const url = this._url;\n\n if (v === \"\") {\n url.query = null;\n return;\n }\n\n const input = v[0] === \"?\" ? v.substring(1) : v;\n url.query = \"\";\n usm.basicURLParse(input, { url, stateOverride: \"query\" });\n }\n\n get hash() {\n if (this._url.fragment === null || this._url.fragment === \"\") {\n return \"\";\n }\n\n return \"#\" + this._url.fragment;\n }\n\n set hash(v) {\n if (v === \"\") {\n this._url.fragment = null;\n return;\n }\n\n const input = v[0] === \"#\" ? v.substring(1) : v;\n this._url.fragment = \"\";\n usm.basicURLParse(input, { url: this._url, stateOverride: \"fragment\" });\n }\n\n toJSON() {\n return this.href;\n }\n};\n","\"use strict\";\n\nconst conversions = require(\"webidl-conversions\");\nconst utils = require(\"./utils.js\");\nconst Impl = require(\".//URL-impl.js\");\n\nconst impl = utils.implSymbol;\n\nfunction URL(url) {\n if (!this || this[impl] || !(this instanceof URL)) {\n throw new TypeError(\"Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.\");\n }\n if (arguments.length < 1) {\n throw new TypeError(\"Failed to construct 'URL': 1 argument required, but only \" + arguments.length + \" present.\");\n }\n const args = [];\n for (let i = 0; i < arguments.length && i < 2; ++i) {\n args[i] = arguments[i];\n }\n args[0] = conversions[\"USVString\"](args[0]);\n if (args[1] !== undefined) {\n args[1] = conversions[\"USVString\"](args[1]);\n }\n\n module.exports.setup(this, args);\n}\n\nURL.prototype.toJSON = function toJSON() {\n if (!this || !module.exports.is(this)) {\n throw new TypeError(\"Illegal invocation\");\n }\n const args = [];\n for (let i = 0; i < arguments.length && i < 0; ++i) {\n args[i] = arguments[i];\n }\n return this[impl].toJSON.apply(this[impl], args);\n};\nObject.defineProperty(URL.prototype, \"href\", {\n get() {\n return this[impl].href;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].href = V;\n },\n enumerable: true,\n configurable: true\n});\n\nURL.prototype.toString = function () {\n if (!this || !module.exports.is(this)) {\n throw new TypeError(\"Illegal invocation\");\n }\n return this.href;\n};\n\nObject.defineProperty(URL.prototype, \"origin\", {\n get() {\n return this[impl].origin;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"protocol\", {\n get() {\n return this[impl].protocol;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].protocol = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"username\", {\n get() {\n return this[impl].username;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].username = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"password\", {\n get() {\n return this[impl].password;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].password = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"host\", {\n get() {\n return this[impl].host;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].host = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"hostname\", {\n get() {\n return this[impl].hostname;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].hostname = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"port\", {\n get() {\n return this[impl].port;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].port = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"pathname\", {\n get() {\n return this[impl].pathname;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].pathname = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"search\", {\n get() {\n return this[impl].search;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].search = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"hash\", {\n get() {\n return this[impl].hash;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].hash = V;\n },\n enumerable: true,\n configurable: true\n});\n\n\nmodule.exports = {\n is(obj) {\n return !!obj && obj[impl] instanceof Impl.implementation;\n },\n create(constructorArgs, privateData) {\n let obj = Object.create(URL.prototype);\n this.setup(obj, constructorArgs, privateData);\n return obj;\n },\n setup(obj, constructorArgs, privateData) {\n if (!privateData) privateData = {};\n privateData.wrapper = obj;\n\n obj[impl] = new Impl.implementation(constructorArgs, privateData);\n obj[impl][utils.wrapperSymbol] = obj;\n },\n interface: URL,\n expose: {\n Window: { URL: URL },\n Worker: { URL: URL }\n }\n};\n\n","\"use strict\";\n\nexports.URL = require(\"./URL\").interface;\nexports.serializeURL = require(\"./url-state-machine\").serializeURL;\nexports.serializeURLOrigin = require(\"./url-state-machine\").serializeURLOrigin;\nexports.basicURLParse = require(\"./url-state-machine\").basicURLParse;\nexports.setTheUsername = require(\"./url-state-machine\").setTheUsername;\nexports.setThePassword = require(\"./url-state-machine\").setThePassword;\nexports.serializeHost = require(\"./url-state-machine\").serializeHost;\nexports.serializeInteger = require(\"./url-state-machine\").serializeInteger;\nexports.parseURL = require(\"./url-state-machine\").parseURL;\n","\"use strict\";\r\nconst punycode = require(\"punycode\");\r\nconst tr46 = require(\"tr46\");\r\n\r\nconst specialSchemes = {\r\n ftp: 21,\r\n file: null,\r\n gopher: 70,\r\n http: 80,\r\n https: 443,\r\n ws: 80,\r\n wss: 443\r\n};\r\n\r\nconst failure = Symbol(\"failure\");\r\n\r\nfunction countSymbols(str) {\r\n return punycode.ucs2.decode(str).length;\r\n}\r\n\r\nfunction at(input, idx) {\r\n const c = input[idx];\r\n return isNaN(c) ? undefined : String.fromCodePoint(c);\r\n}\r\n\r\nfunction isASCIIDigit(c) {\r\n return c >= 0x30 && c <= 0x39;\r\n}\r\n\r\nfunction isASCIIAlpha(c) {\r\n return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A);\r\n}\r\n\r\nfunction isASCIIAlphanumeric(c) {\r\n return isASCIIAlpha(c) || isASCIIDigit(c);\r\n}\r\n\r\nfunction isASCIIHex(c) {\r\n return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66);\r\n}\r\n\r\nfunction isSingleDot(buffer) {\r\n return buffer === \".\" || buffer.toLowerCase() === \"%2e\";\r\n}\r\n\r\nfunction isDoubleDot(buffer) {\r\n buffer = buffer.toLowerCase();\r\n return buffer === \"..\" || buffer === \"%2e.\" || buffer === \".%2e\" || buffer === \"%2e%2e\";\r\n}\r\n\r\nfunction isWindowsDriveLetterCodePoints(cp1, cp2) {\r\n return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124);\r\n}\r\n\r\nfunction isWindowsDriveLetterString(string) {\r\n return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === \":\" || string[1] === \"|\");\r\n}\r\n\r\nfunction isNormalizedWindowsDriveLetterString(string) {\r\n return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === \":\";\r\n}\r\n\r\nfunction containsForbiddenHostCodePoint(string) {\r\n return string.search(/\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|%|\\/|:|\\?|@|\\[|\\\\|\\]/) !== -1;\r\n}\r\n\r\nfunction containsForbiddenHostCodePointExcludingPercent(string) {\r\n return string.search(/\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|\\/|:|\\?|@|\\[|\\\\|\\]/) !== -1;\r\n}\r\n\r\nfunction isSpecialScheme(scheme) {\r\n return specialSchemes[scheme] !== undefined;\r\n}\r\n\r\nfunction isSpecial(url) {\r\n return isSpecialScheme(url.scheme);\r\n}\r\n\r\nfunction defaultPort(scheme) {\r\n return specialSchemes[scheme];\r\n}\r\n\r\nfunction percentEncode(c) {\r\n let hex = c.toString(16).toUpperCase();\r\n if (hex.length === 1) {\r\n hex = \"0\" + hex;\r\n }\r\n\r\n return \"%\" + hex;\r\n}\r\n\r\nfunction utf8PercentEncode(c) {\r\n const buf = new Buffer(c);\r\n\r\n let str = \"\";\r\n\r\n for (let i = 0; i < buf.length; ++i) {\r\n str += percentEncode(buf[i]);\r\n }\r\n\r\n return str;\r\n}\r\n\r\nfunction utf8PercentDecode(str) {\r\n const input = new Buffer(str);\r\n const output = [];\r\n for (let i = 0; i < input.length; ++i) {\r\n if (input[i] !== 37) {\r\n output.push(input[i]);\r\n } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) {\r\n output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16));\r\n i += 2;\r\n } else {\r\n output.push(input[i]);\r\n }\r\n }\r\n return new Buffer(output).toString();\r\n}\r\n\r\nfunction isC0ControlPercentEncode(c) {\r\n return c <= 0x1F || c > 0x7E;\r\n}\r\n\r\nconst extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]);\r\nfunction isPathPercentEncode(c) {\r\n return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c);\r\n}\r\n\r\nconst extraUserinfoPercentEncodeSet =\r\n new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]);\r\nfunction isUserinfoPercentEncode(c) {\r\n return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c);\r\n}\r\n\r\nfunction percentEncodeChar(c, encodeSetPredicate) {\r\n const cStr = String.fromCodePoint(c);\r\n\r\n if (encodeSetPredicate(c)) {\r\n return utf8PercentEncode(cStr);\r\n }\r\n\r\n return cStr;\r\n}\r\n\r\nfunction parseIPv4Number(input) {\r\n let R = 10;\r\n\r\n if (input.length >= 2 && input.charAt(0) === \"0\" && input.charAt(1).toLowerCase() === \"x\") {\r\n input = input.substring(2);\r\n R = 16;\r\n } else if (input.length >= 2 && input.charAt(0) === \"0\") {\r\n input = input.substring(1);\r\n R = 8;\r\n }\r\n\r\n if (input === \"\") {\r\n return 0;\r\n }\r\n\r\n const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/);\r\n if (regex.test(input)) {\r\n return failure;\r\n }\r\n\r\n return parseInt(input, R);\r\n}\r\n\r\nfunction parseIPv4(input) {\r\n const parts = input.split(\".\");\r\n if (parts[parts.length - 1] === \"\") {\r\n if (parts.length > 1) {\r\n parts.pop();\r\n }\r\n }\r\n\r\n if (parts.length > 4) {\r\n return input;\r\n }\r\n\r\n const numbers = [];\r\n for (const part of parts) {\r\n if (part === \"\") {\r\n return input;\r\n }\r\n const n = parseIPv4Number(part);\r\n if (n === failure) {\r\n return input;\r\n }\r\n\r\n numbers.push(n);\r\n }\r\n\r\n for (let i = 0; i < numbers.length - 1; ++i) {\r\n if (numbers[i] > 255) {\r\n return failure;\r\n }\r\n }\r\n if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) {\r\n return failure;\r\n }\r\n\r\n let ipv4 = numbers.pop();\r\n let counter = 0;\r\n\r\n for (const n of numbers) {\r\n ipv4 += n * Math.pow(256, 3 - counter);\r\n ++counter;\r\n }\r\n\r\n return ipv4;\r\n}\r\n\r\nfunction serializeIPv4(address) {\r\n let output = \"\";\r\n let n = address;\r\n\r\n for (let i = 1; i <= 4; ++i) {\r\n output = String(n % 256) + output;\r\n if (i !== 4) {\r\n output = \".\" + output;\r\n }\r\n n = Math.floor(n / 256);\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction parseIPv6(input) {\r\n const address = [0, 0, 0, 0, 0, 0, 0, 0];\r\n let pieceIndex = 0;\r\n let compress = null;\r\n let pointer = 0;\r\n\r\n input = punycode.ucs2.decode(input);\r\n\r\n if (input[pointer] === 58) {\r\n if (input[pointer + 1] !== 58) {\r\n return failure;\r\n }\r\n\r\n pointer += 2;\r\n ++pieceIndex;\r\n compress = pieceIndex;\r\n }\r\n\r\n while (pointer < input.length) {\r\n if (pieceIndex === 8) {\r\n return failure;\r\n }\r\n\r\n if (input[pointer] === 58) {\r\n if (compress !== null) {\r\n return failure;\r\n }\r\n ++pointer;\r\n ++pieceIndex;\r\n compress = pieceIndex;\r\n continue;\r\n }\r\n\r\n let value = 0;\r\n let length = 0;\r\n\r\n while (length < 4 && isASCIIHex(input[pointer])) {\r\n value = value * 0x10 + parseInt(at(input, pointer), 16);\r\n ++pointer;\r\n ++length;\r\n }\r\n\r\n if (input[pointer] === 46) {\r\n if (length === 0) {\r\n return failure;\r\n }\r\n\r\n pointer -= length;\r\n\r\n if (pieceIndex > 6) {\r\n return failure;\r\n }\r\n\r\n let numbersSeen = 0;\r\n\r\n while (input[pointer] !== undefined) {\r\n let ipv4Piece = null;\r\n\r\n if (numbersSeen > 0) {\r\n if (input[pointer] === 46 && numbersSeen < 4) {\r\n ++pointer;\r\n } else {\r\n return failure;\r\n }\r\n }\r\n\r\n if (!isASCIIDigit(input[pointer])) {\r\n return failure;\r\n }\r\n\r\n while (isASCIIDigit(input[pointer])) {\r\n const number = parseInt(at(input, pointer));\r\n if (ipv4Piece === null) {\r\n ipv4Piece = number;\r\n } else if (ipv4Piece === 0) {\r\n return failure;\r\n } else {\r\n ipv4Piece = ipv4Piece * 10 + number;\r\n }\r\n if (ipv4Piece > 255) {\r\n return failure;\r\n }\r\n ++pointer;\r\n }\r\n\r\n address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece;\r\n\r\n ++numbersSeen;\r\n\r\n if (numbersSeen === 2 || numbersSeen === 4) {\r\n ++pieceIndex;\r\n }\r\n }\r\n\r\n if (numbersSeen !== 4) {\r\n return failure;\r\n }\r\n\r\n break;\r\n } else if (input[pointer] === 58) {\r\n ++pointer;\r\n if (input[pointer] === undefined) {\r\n return failure;\r\n }\r\n } else if (input[pointer] !== undefined) {\r\n return failure;\r\n }\r\n\r\n address[pieceIndex] = value;\r\n ++pieceIndex;\r\n }\r\n\r\n if (compress !== null) {\r\n let swaps = pieceIndex - compress;\r\n pieceIndex = 7;\r\n while (pieceIndex !== 0 && swaps > 0) {\r\n const temp = address[compress + swaps - 1];\r\n address[compress + swaps - 1] = address[pieceIndex];\r\n address[pieceIndex] = temp;\r\n --pieceIndex;\r\n --swaps;\r\n }\r\n } else if (compress === null && pieceIndex !== 8) {\r\n return failure;\r\n }\r\n\r\n return address;\r\n}\r\n\r\nfunction serializeIPv6(address) {\r\n let output = \"\";\r\n const seqResult = findLongestZeroSequence(address);\r\n const compress = seqResult.idx;\r\n let ignore0 = false;\r\n\r\n for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) {\r\n if (ignore0 && address[pieceIndex] === 0) {\r\n continue;\r\n } else if (ignore0) {\r\n ignore0 = false;\r\n }\r\n\r\n if (compress === pieceIndex) {\r\n const separator = pieceIndex === 0 ? \"::\" : \":\";\r\n output += separator;\r\n ignore0 = true;\r\n continue;\r\n }\r\n\r\n output += address[pieceIndex].toString(16);\r\n\r\n if (pieceIndex !== 7) {\r\n output += \":\";\r\n }\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction parseHost(input, isSpecialArg) {\r\n if (input[0] === \"[\") {\r\n if (input[input.length - 1] !== \"]\") {\r\n return failure;\r\n }\r\n\r\n return parseIPv6(input.substring(1, input.length - 1));\r\n }\r\n\r\n if (!isSpecialArg) {\r\n return parseOpaqueHost(input);\r\n }\r\n\r\n const domain = utf8PercentDecode(input);\r\n const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false);\r\n if (asciiDomain === null) {\r\n return failure;\r\n }\r\n\r\n if (containsForbiddenHostCodePoint(asciiDomain)) {\r\n return failure;\r\n }\r\n\r\n const ipv4Host = parseIPv4(asciiDomain);\r\n if (typeof ipv4Host === \"number\" || ipv4Host === failure) {\r\n return ipv4Host;\r\n }\r\n\r\n return asciiDomain;\r\n}\r\n\r\nfunction parseOpaqueHost(input) {\r\n if (containsForbiddenHostCodePointExcludingPercent(input)) {\r\n return failure;\r\n }\r\n\r\n let output = \"\";\r\n const decoded = punycode.ucs2.decode(input);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n output += percentEncodeChar(decoded[i], isC0ControlPercentEncode);\r\n }\r\n return output;\r\n}\r\n\r\nfunction findLongestZeroSequence(arr) {\r\n let maxIdx = null;\r\n let maxLen = 1; // only find elements > 1\r\n let currStart = null;\r\n let currLen = 0;\r\n\r\n for (let i = 0; i < arr.length; ++i) {\r\n if (arr[i] !== 0) {\r\n if (currLen > maxLen) {\r\n maxIdx = currStart;\r\n maxLen = currLen;\r\n }\r\n\r\n currStart = null;\r\n currLen = 0;\r\n } else {\r\n if (currStart === null) {\r\n currStart = i;\r\n }\r\n ++currLen;\r\n }\r\n }\r\n\r\n // if trailing zeros\r\n if (currLen > maxLen) {\r\n maxIdx = currStart;\r\n maxLen = currLen;\r\n }\r\n\r\n return {\r\n idx: maxIdx,\r\n len: maxLen\r\n };\r\n}\r\n\r\nfunction serializeHost(host) {\r\n if (typeof host === \"number\") {\r\n return serializeIPv4(host);\r\n }\r\n\r\n // IPv6 serializer\r\n if (host instanceof Array) {\r\n return \"[\" + serializeIPv6(host) + \"]\";\r\n }\r\n\r\n return host;\r\n}\r\n\r\nfunction trimControlChars(url) {\r\n return url.replace(/^[\\u0000-\\u001F\\u0020]+|[\\u0000-\\u001F\\u0020]+$/g, \"\");\r\n}\r\n\r\nfunction trimTabAndNewline(url) {\r\n return url.replace(/\\u0009|\\u000A|\\u000D/g, \"\");\r\n}\r\n\r\nfunction shortenPath(url) {\r\n const path = url.path;\r\n if (path.length === 0) {\r\n return;\r\n }\r\n if (url.scheme === \"file\" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) {\r\n return;\r\n }\r\n\r\n path.pop();\r\n}\r\n\r\nfunction includesCredentials(url) {\r\n return url.username !== \"\" || url.password !== \"\";\r\n}\r\n\r\nfunction cannotHaveAUsernamePasswordPort(url) {\r\n return url.host === null || url.host === \"\" || url.cannotBeABaseURL || url.scheme === \"file\";\r\n}\r\n\r\nfunction isNormalizedWindowsDriveLetter(string) {\r\n return /^[A-Za-z]:$/.test(string);\r\n}\r\n\r\nfunction URLStateMachine(input, base, encodingOverride, url, stateOverride) {\r\n this.pointer = 0;\r\n this.input = input;\r\n this.base = base || null;\r\n this.encodingOverride = encodingOverride || \"utf-8\";\r\n this.stateOverride = stateOverride;\r\n this.url = url;\r\n this.failure = false;\r\n this.parseError = false;\r\n\r\n if (!this.url) {\r\n this.url = {\r\n scheme: \"\",\r\n username: \"\",\r\n password: \"\",\r\n host: null,\r\n port: null,\r\n path: [],\r\n query: null,\r\n fragment: null,\r\n\r\n cannotBeABaseURL: false\r\n };\r\n\r\n const res = trimControlChars(this.input);\r\n if (res !== this.input) {\r\n this.parseError = true;\r\n }\r\n this.input = res;\r\n }\r\n\r\n const res = trimTabAndNewline(this.input);\r\n if (res !== this.input) {\r\n this.parseError = true;\r\n }\r\n this.input = res;\r\n\r\n this.state = stateOverride || \"scheme start\";\r\n\r\n this.buffer = \"\";\r\n this.atFlag = false;\r\n this.arrFlag = false;\r\n this.passwordTokenSeenFlag = false;\r\n\r\n this.input = punycode.ucs2.decode(this.input);\r\n\r\n for (; this.pointer <= this.input.length; ++this.pointer) {\r\n const c = this.input[this.pointer];\r\n const cStr = isNaN(c) ? undefined : String.fromCodePoint(c);\r\n\r\n // exec state machine\r\n const ret = this[\"parse \" + this.state](c, cStr);\r\n if (!ret) {\r\n break; // terminate algorithm\r\n } else if (ret === failure) {\r\n this.failure = true;\r\n break;\r\n }\r\n }\r\n}\r\n\r\nURLStateMachine.prototype[\"parse scheme start\"] = function parseSchemeStart(c, cStr) {\r\n if (isASCIIAlpha(c)) {\r\n this.buffer += cStr.toLowerCase();\r\n this.state = \"scheme\";\r\n } else if (!this.stateOverride) {\r\n this.state = \"no scheme\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse scheme\"] = function parseScheme(c, cStr) {\r\n if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) {\r\n this.buffer += cStr.toLowerCase();\r\n } else if (c === 58) {\r\n if (this.stateOverride) {\r\n if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) {\r\n return false;\r\n }\r\n\r\n if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) {\r\n return false;\r\n }\r\n\r\n if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === \"file\") {\r\n return false;\r\n }\r\n\r\n if (this.url.scheme === \"file\" && (this.url.host === \"\" || this.url.host === null)) {\r\n return false;\r\n }\r\n }\r\n this.url.scheme = this.buffer;\r\n this.buffer = \"\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n if (this.url.scheme === \"file\") {\r\n if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file\";\r\n } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) {\r\n this.state = \"special relative or authority\";\r\n } else if (isSpecial(this.url)) {\r\n this.state = \"special authority slashes\";\r\n } else if (this.input[this.pointer + 1] === 47) {\r\n this.state = \"path or authority\";\r\n ++this.pointer;\r\n } else {\r\n this.url.cannotBeABaseURL = true;\r\n this.url.path.push(\"\");\r\n this.state = \"cannot-be-a-base-URL path\";\r\n }\r\n } else if (!this.stateOverride) {\r\n this.buffer = \"\";\r\n this.state = \"no scheme\";\r\n this.pointer = -1;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse no scheme\"] = function parseNoScheme(c) {\r\n if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) {\r\n return failure;\r\n } else if (this.base.cannotBeABaseURL && c === 35) {\r\n this.url.scheme = this.base.scheme;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.url.cannotBeABaseURL = true;\r\n this.state = \"fragment\";\r\n } else if (this.base.scheme === \"file\") {\r\n this.state = \"file\";\r\n --this.pointer;\r\n } else {\r\n this.state = \"relative\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special relative or authority\"] = function parseSpecialRelativeOrAuthority(c) {\r\n if (c === 47 && this.input[this.pointer + 1] === 47) {\r\n this.state = \"special authority ignore slashes\";\r\n ++this.pointer;\r\n } else {\r\n this.parseError = true;\r\n this.state = \"relative\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path or authority\"] = function parsePathOrAuthority(c) {\r\n if (c === 47) {\r\n this.state = \"authority\";\r\n } else {\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse relative\"] = function parseRelative(c) {\r\n this.url.scheme = this.base.scheme;\r\n if (isNaN(c)) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n } else if (c === 47) {\r\n this.state = \"relative slash\";\r\n } else if (c === 63) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else if (isSpecial(this.url) && c === 92) {\r\n this.parseError = true;\r\n this.state = \"relative slash\";\r\n } else {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice(0, this.base.path.length - 1);\r\n\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse relative slash\"] = function parseRelativeSlash(c) {\r\n if (isSpecial(this.url) && (c === 47 || c === 92)) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"special authority ignore slashes\";\r\n } else if (c === 47) {\r\n this.state = \"authority\";\r\n } else {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special authority slashes\"] = function parseSpecialAuthoritySlashes(c) {\r\n if (c === 47 && this.input[this.pointer + 1] === 47) {\r\n this.state = \"special authority ignore slashes\";\r\n ++this.pointer;\r\n } else {\r\n this.parseError = true;\r\n this.state = \"special authority ignore slashes\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special authority ignore slashes\"] = function parseSpecialAuthorityIgnoreSlashes(c) {\r\n if (c !== 47 && c !== 92) {\r\n this.state = \"authority\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse authority\"] = function parseAuthority(c, cStr) {\r\n if (c === 64) {\r\n this.parseError = true;\r\n if (this.atFlag) {\r\n this.buffer = \"%40\" + this.buffer;\r\n }\r\n this.atFlag = true;\r\n\r\n // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars\r\n const len = countSymbols(this.buffer);\r\n for (let pointer = 0; pointer < len; ++pointer) {\r\n const codePoint = this.buffer.codePointAt(pointer);\r\n\r\n if (codePoint === 58 && !this.passwordTokenSeenFlag) {\r\n this.passwordTokenSeenFlag = true;\r\n continue;\r\n }\r\n const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode);\r\n if (this.passwordTokenSeenFlag) {\r\n this.url.password += encodedCodePoints;\r\n } else {\r\n this.url.username += encodedCodePoints;\r\n }\r\n }\r\n this.buffer = \"\";\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92)) {\r\n if (this.atFlag && this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n this.pointer -= countSymbols(this.buffer) + 1;\r\n this.buffer = \"\";\r\n this.state = \"host\";\r\n } else {\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse hostname\"] =\r\nURLStateMachine.prototype[\"parse host\"] = function parseHostName(c, cStr) {\r\n if (this.stateOverride && this.url.scheme === \"file\") {\r\n --this.pointer;\r\n this.state = \"file host\";\r\n } else if (c === 58 && !this.arrFlag) {\r\n if (this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n const host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n\r\n this.url.host = host;\r\n this.buffer = \"\";\r\n this.state = \"port\";\r\n if (this.stateOverride === \"hostname\") {\r\n return false;\r\n }\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92)) {\r\n --this.pointer;\r\n if (isSpecial(this.url) && this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n } else if (this.stateOverride && this.buffer === \"\" &&\r\n (includesCredentials(this.url) || this.url.port !== null)) {\r\n this.parseError = true;\r\n return false;\r\n }\r\n\r\n const host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n\r\n this.url.host = host;\r\n this.buffer = \"\";\r\n this.state = \"path start\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n } else {\r\n if (c === 91) {\r\n this.arrFlag = true;\r\n } else if (c === 93) {\r\n this.arrFlag = false;\r\n }\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse port\"] = function parsePort(c, cStr) {\r\n if (isASCIIDigit(c)) {\r\n this.buffer += cStr;\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92) ||\r\n this.stateOverride) {\r\n if (this.buffer !== \"\") {\r\n const port = parseInt(this.buffer);\r\n if (port > Math.pow(2, 16) - 1) {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n this.url.port = port === defaultPort(this.url.scheme) ? null : port;\r\n this.buffer = \"\";\r\n }\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n this.state = \"path start\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nconst fileOtherwiseCodePoints = new Set([47, 92, 63, 35]);\r\n\r\nURLStateMachine.prototype[\"parse file\"] = function parseFile(c) {\r\n this.url.scheme = \"file\";\r\n\r\n if (c === 47 || c === 92) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file slash\";\r\n } else if (this.base !== null && this.base.scheme === \"file\") {\r\n if (isNaN(c)) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n } else if (c === 63) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else {\r\n if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points\r\n !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) ||\r\n (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points\r\n !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n shortenPath(this.url);\r\n } else {\r\n this.parseError = true;\r\n }\r\n\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n } else {\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse file slash\"] = function parseFileSlash(c) {\r\n if (c === 47 || c === 92) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file host\";\r\n } else {\r\n if (this.base !== null && this.base.scheme === \"file\") {\r\n if (isNormalizedWindowsDriveLetterString(this.base.path[0])) {\r\n this.url.path.push(this.base.path[0]);\r\n } else {\r\n this.url.host = this.base.host;\r\n }\r\n }\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse file host\"] = function parseFileHost(c, cStr) {\r\n if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) {\r\n --this.pointer;\r\n if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) {\r\n this.parseError = true;\r\n this.state = \"path\";\r\n } else if (this.buffer === \"\") {\r\n this.url.host = \"\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n this.state = \"path start\";\r\n } else {\r\n let host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n if (host === \"localhost\") {\r\n host = \"\";\r\n }\r\n this.url.host = host;\r\n\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n\r\n this.buffer = \"\";\r\n this.state = \"path start\";\r\n }\r\n } else {\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path start\"] = function parsePathStart(c) {\r\n if (isSpecial(this.url)) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"path\";\r\n\r\n if (c !== 47 && c !== 92) {\r\n --this.pointer;\r\n }\r\n } else if (!this.stateOverride && c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (!this.stateOverride && c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else if (c !== undefined) {\r\n this.state = \"path\";\r\n if (c !== 47) {\r\n --this.pointer;\r\n }\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path\"] = function parsePath(c) {\r\n if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) ||\r\n (!this.stateOverride && (c === 63 || c === 35))) {\r\n if (isSpecial(this.url) && c === 92) {\r\n this.parseError = true;\r\n }\r\n\r\n if (isDoubleDot(this.buffer)) {\r\n shortenPath(this.url);\r\n if (c !== 47 && !(isSpecial(this.url) && c === 92)) {\r\n this.url.path.push(\"\");\r\n }\r\n } else if (isSingleDot(this.buffer) && c !== 47 &&\r\n !(isSpecial(this.url) && c === 92)) {\r\n this.url.path.push(\"\");\r\n } else if (!isSingleDot(this.buffer)) {\r\n if (this.url.scheme === \"file\" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) {\r\n if (this.url.host !== \"\" && this.url.host !== null) {\r\n this.parseError = true;\r\n this.url.host = \"\";\r\n }\r\n this.buffer = this.buffer[0] + \":\";\r\n }\r\n this.url.path.push(this.buffer);\r\n }\r\n this.buffer = \"\";\r\n if (this.url.scheme === \"file\" && (c === undefined || c === 63 || c === 35)) {\r\n while (this.url.path.length > 1 && this.url.path[0] === \"\") {\r\n this.parseError = true;\r\n this.url.path.shift();\r\n }\r\n }\r\n if (c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n }\r\n if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n }\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.buffer += percentEncodeChar(c, isPathPercentEncode);\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse cannot-be-a-base-URL path\"] = function parseCannotBeABaseURLPath(c) {\r\n if (c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else {\r\n // TODO: Add: not a URL code point\r\n if (!isNaN(c) && c !== 37) {\r\n this.parseError = true;\r\n }\r\n\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n if (!isNaN(c)) {\r\n this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode);\r\n }\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse query\"] = function parseQuery(c, cStr) {\r\n if (isNaN(c) || (!this.stateOverride && c === 35)) {\r\n if (!isSpecial(this.url) || this.url.scheme === \"ws\" || this.url.scheme === \"wss\") {\r\n this.encodingOverride = \"utf-8\";\r\n }\r\n\r\n const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead\r\n for (let i = 0; i < buffer.length; ++i) {\r\n if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 ||\r\n buffer[i] === 0x3C || buffer[i] === 0x3E) {\r\n this.url.query += percentEncode(buffer[i]);\r\n } else {\r\n this.url.query += String.fromCodePoint(buffer[i]);\r\n }\r\n }\r\n\r\n this.buffer = \"\";\r\n if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n }\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse fragment\"] = function parseFragment(c) {\r\n if (isNaN(c)) { // do nothing\r\n } else if (c === 0x0) {\r\n this.parseError = true;\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode);\r\n }\r\n\r\n return true;\r\n};\r\n\r\nfunction serializeURL(url, excludeFragment) {\r\n let output = url.scheme + \":\";\r\n if (url.host !== null) {\r\n output += \"//\";\r\n\r\n if (url.username !== \"\" || url.password !== \"\") {\r\n output += url.username;\r\n if (url.password !== \"\") {\r\n output += \":\" + url.password;\r\n }\r\n output += \"@\";\r\n }\r\n\r\n output += serializeHost(url.host);\r\n\r\n if (url.port !== null) {\r\n output += \":\" + url.port;\r\n }\r\n } else if (url.host === null && url.scheme === \"file\") {\r\n output += \"//\";\r\n }\r\n\r\n if (url.cannotBeABaseURL) {\r\n output += url.path[0];\r\n } else {\r\n for (const string of url.path) {\r\n output += \"/\" + string;\r\n }\r\n }\r\n\r\n if (url.query !== null) {\r\n output += \"?\" + url.query;\r\n }\r\n\r\n if (!excludeFragment && url.fragment !== null) {\r\n output += \"#\" + url.fragment;\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction serializeOrigin(tuple) {\r\n let result = tuple.scheme + \"://\";\r\n result += serializeHost(tuple.host);\r\n\r\n if (tuple.port !== null) {\r\n result += \":\" + tuple.port;\r\n }\r\n\r\n return result;\r\n}\r\n\r\nmodule.exports.serializeURL = serializeURL;\r\n\r\nmodule.exports.serializeURLOrigin = function (url) {\r\n // https://url.spec.whatwg.org/#concept-url-origin\r\n switch (url.scheme) {\r\n case \"blob\":\r\n try {\r\n return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0]));\r\n } catch (e) {\r\n // serializing an opaque origin returns \"null\"\r\n return \"null\";\r\n }\r\n case \"ftp\":\r\n case \"gopher\":\r\n case \"http\":\r\n case \"https\":\r\n case \"ws\":\r\n case \"wss\":\r\n return serializeOrigin({\r\n scheme: url.scheme,\r\n host: url.host,\r\n port: url.port\r\n });\r\n case \"file\":\r\n // spec says \"exercise to the reader\", chrome says \"file://\"\r\n return \"file://\";\r\n default:\r\n // serializing an opaque origin returns \"null\"\r\n return \"null\";\r\n }\r\n};\r\n\r\nmodule.exports.basicURLParse = function (input, options) {\r\n if (options === undefined) {\r\n options = {};\r\n }\r\n\r\n const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride);\r\n if (usm.failure) {\r\n return \"failure\";\r\n }\r\n\r\n return usm.url;\r\n};\r\n\r\nmodule.exports.setTheUsername = function (url, username) {\r\n url.username = \"\";\r\n const decoded = punycode.ucs2.decode(username);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode);\r\n }\r\n};\r\n\r\nmodule.exports.setThePassword = function (url, password) {\r\n url.password = \"\";\r\n const decoded = punycode.ucs2.decode(password);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode);\r\n }\r\n};\r\n\r\nmodule.exports.serializeHost = serializeHost;\r\n\r\nmodule.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort;\r\n\r\nmodule.exports.serializeInteger = function (integer) {\r\n return String(integer);\r\n};\r\n\r\nmodule.exports.parseURL = function (input, options) {\r\n if (options === undefined) {\r\n options = {};\r\n }\r\n\r\n // We don't handle blobs, so this just delegates:\r\n return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride });\r\n};\r\n","\"use strict\";\n\nmodule.exports.mixin = function mixin(target, source) {\n const keys = Object.getOwnPropertyNames(source);\n for (let i = 0; i < keys.length; ++i) {\n Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i]));\n }\n};\n\nmodule.exports.wrapperSymbol = Symbol(\"wrapper\");\nmodule.exports.implSymbol = Symbol(\"impl\");\n\nmodule.exports.wrapperForImpl = function (impl) {\n return impl[module.exports.wrapperSymbol];\n};\n\nmodule.exports.implForWrapper = function (wrapper) {\n return wrapper[module.exports.implSymbol];\n};\n\n","var wrappy = require('wrappy')\nmodule.exports = wrappy(once)\nmodule.exports.strict = wrappy(onceStrict)\n\nonce.proto = once(function () {\n Object.defineProperty(Function.prototype, 'once', {\n value: function () {\n return once(this)\n },\n configurable: true\n })\n\n Object.defineProperty(Function.prototype, 'onceStrict', {\n value: function () {\n return onceStrict(this)\n },\n configurable: true\n })\n})\n\nfunction once (fn) {\n var f = function () {\n if (f.called) return f.value\n f.called = true\n return f.value = fn.apply(this, arguments)\n }\n f.called = false\n return f\n}\n\nfunction onceStrict (fn) {\n var f = function () {\n if (f.called)\n throw new Error(f.onceError)\n f.called = true\n return f.value = fn.apply(this, arguments)\n }\n var name = fn.name || 'Function wrapped with `once`'\n f.onceError = name + \" shouldn't be called more than once\"\n f.called = false\n return f\n}\n","/*\nCopyright (c) the purl authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*/\n\nconst PackageURL = require('./src/package-url');\n\nmodule.exports = {\n PackageURL\n};\n","/*\nCopyright (c) the purl authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*/\nclass PackageURL {\n\n constructor(type, namespace, name, version, qualifiers, subpath) {\n let required = { 'type': type, 'name': name };\n Object.keys(required).forEach(key => {\n if (!required[key]) {\n throw new Error('Invalid purl: \"' + key + '\" is a required field.');\n }\n });\n\n let strings = { 'type': type, 'namespace': namespace, 'name': name, 'versions': version, 'subpath': subpath };\n Object.keys(strings).forEach(key => {\n if (strings[key] && typeof strings[key] === 'string' || !strings[key]) {\n return;\n }\n throw new Error('Invalid purl: \"' + key + '\" argument must be a string.');\n });\n\n if (qualifiers) {\n if (typeof qualifiers !== 'object') {\n throw new Error('Invalid purl: \"qualifiers\" argument must be a dictionary.');\n }\n Object.keys(qualifiers).forEach(key => {\n if (!/^[a-z]+$/i.test(key) && !/[\\.-_]/.test(key)) {\n throw new Error('Invalid purl: qualifier \"' + key + '\" contains an illegal character.');\n }\n });\n }\n\n this.type = type;\n this.name = name;\n this.namespace = namespace;\n this.version = version;\n this.qualifiers = qualifiers;\n this.subpath = subpath;\n }\n\n _handlePyPi() {\n this.name = this.name.toLowerCase().replace(/_/g, '-');\n }\n\n toString() {\n var purl = ['pkg:', this.type, '/'];\n\n if (this.type === 'pypi') {\n this._handlePyPi();\n }\n\n if (this.namespace) {\n purl.push(\n encodeURIComponent(this.namespace)\n .replace('%3A', ':')\n .replace('%2F', '/')\n );\n purl.push('/');\n }\n\n purl.push(encodeURIComponent(this.name).replace('%3A', ':'));\n\n if (this.version) {\n purl.push('@');\n purl.push(encodeURIComponent(this.version).replace('%3A', ':'));\n }\n\n if (this.qualifiers) {\n purl.push('?');\n\n let qualifiers = this.qualifiers;\n let qualifierString = [];\n Object.keys(qualifiers).sort().forEach(key => {\n qualifierString.push(encodeURIComponent(key).replace('%3A', ':') + '=' + encodeURI(qualifiers[key]));\n });\n\n purl.push(qualifierString.join('&'));\n }\n\n if (this.subpath) {\n purl.push('#');\n purl.push(encodeURI(this.subpath));\n }\n\n return purl.join('');\n }\n\n static fromString(purl) {\n if (!purl || !typeof purl === 'string' || !purl.trim()) {\n throw new Error('A purl string argument is required.');\n }\n\n var [scheme, remainder] = purl.split(':');\n if (scheme !== 'pkg') {\n throw new Error('purl is missing the required \"pkg\" scheme component.');\n }\n // this strip '/, // and /// as possible in :// or :///\n // from https://gist.github.com/refo/47632c8a547f2d9b6517#file-remove-leading-slash\n remainder = remainder.trim().replace(/^\\/+/g, '');\n\n let type = remainder.split('/')[0];\n var remainder = remainder.split('/').slice(1).join('/');\n if (!type || !remainder) {\n throw new Error('purl is missing the required \"type\" component.');\n }\n\n let url = new URL(purl);\n\n let qualifiers = null;\n url.searchParams.forEach((value, key) => {\n if (!qualifiers) {\n qualifiers = {};\n }\n qualifiers[key] = value;\n });\n let subpath = url.hash;\n if (subpath.indexOf('#') === 0) {\n subpath = subpath.substring(1);\n }\n if (subpath.length === 0) {\n subpath = null;\n }\n\n if (url.username !== '' || url.password !== '') {\n throw new Error('Invalid purl: cannot contain a \"user:pass@host:port\"');\n }\n\n // this strip '/, // and /// as possible in :// or :///\n // from https://gist.github.com/refo/47632c8a547f2d9b6517#file-remove-leading-slash\n let path = url.pathname.trim().replace(/^\\/+/g, '');\n\n // version is optional - check for existence\n let version = null;\n if (path.includes('@')) {\n let index = path.indexOf('@');\n version = decodeURIComponent(path.substring(index + 1));\n remainder = path.substring(0, index);\n } else {\n remainder = path;\n }\n\n // The 'remainder' should now consist of an optional namespace and the name\n let remaining = remainder.split('/').slice(1);\n let name = null;\n let namespace = null;\n if (remaining.length > 1) {\n let nameIndex = remaining.length - 1;\n let namespaceComponents = remaining.slice(0, nameIndex);\n name = decodeURIComponent(remaining[nameIndex]);\n namespace = decodeURIComponent(namespaceComponents.join('/'));\n } else if (remaining.length === 1) {\n name = decodeURIComponent(remaining[0]);\n }\n\n if (name === '') {\n throw new Error('purl is missing the required \"name\" component.');\n }\n\n return new PackageURL(type, namespace, name, version, qualifiers, subpath);\n }\n\n};\n\nmodule.exports = PackageURL;\n","module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction getUserAgent() {\n if (typeof navigator === \"object\" && \"userAgent\" in navigator) {\n return navigator.userAgent;\n }\n\n if (typeof process === \"object\" && \"version\" in process) {\n return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;\n }\n\n return \"\";\n}\n\nexports.getUserAgent = getUserAgent;\n//# sourceMappingURL=index.js.map\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"v1\", {\n enumerable: true,\n get: function () {\n return _v.default;\n }\n});\nObject.defineProperty(exports, \"v3\", {\n enumerable: true,\n get: function () {\n return _v2.default;\n }\n});\nObject.defineProperty(exports, \"v4\", {\n enumerable: true,\n get: function () {\n return _v3.default;\n }\n});\nObject.defineProperty(exports, \"v5\", {\n enumerable: true,\n get: function () {\n return _v4.default;\n }\n});\nObject.defineProperty(exports, \"NIL\", {\n enumerable: true,\n get: function () {\n return _nil.default;\n }\n});\nObject.defineProperty(exports, \"version\", {\n enumerable: true,\n get: function () {\n return _version.default;\n }\n});\nObject.defineProperty(exports, \"validate\", {\n enumerable: true,\n get: function () {\n return _validate.default;\n }\n});\nObject.defineProperty(exports, \"stringify\", {\n enumerable: true,\n get: function () {\n return _stringify.default;\n }\n});\nObject.defineProperty(exports, \"parse\", {\n enumerable: true,\n get: function () {\n return _parse.default;\n }\n});\n\nvar _v = _interopRequireDefault(require(\"./v1.js\"));\n\nvar _v2 = _interopRequireDefault(require(\"./v3.js\"));\n\nvar _v3 = _interopRequireDefault(require(\"./v4.js\"));\n\nvar _v4 = _interopRequireDefault(require(\"./v5.js\"));\n\nvar _nil = _interopRequireDefault(require(\"./nil.js\"));\n\nvar _version = _interopRequireDefault(require(\"./version.js\"));\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('md5').update(bytes).digest();\n}\n\nvar _default = md5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = '00000000-0000-0000-0000-000000000000';\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction parse(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nvar _default = parse;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = rng;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\n\nfunction rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n _crypto.default.randomFillSync(rnds8Pool);\n\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('sha1').update(bytes).digest();\n}\n\nvar _default = sha1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nvar _default = stringify;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || _rng.default)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || (0, _stringify.default)(b);\n}\n\nvar _default = v1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _md = _interopRequireDefault(require(\"./md5.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v3 = (0, _v.default)('v3', 0x30, _md.default);\nvar _default = v3;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _default;\nexports.URL = exports.DNS = void 0;\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nconst DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexports.DNS = DNS;\nconst URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexports.URL = URL;\n\nfunction _default(name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = (0, _parse.default)(namespace);\n }\n\n if (namespace.length !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.default)(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction v4(options, buf, offset) {\n options = options || {};\n\n const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.default)(rnds);\n}\n\nvar _default = v4;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _sha = _interopRequireDefault(require(\"./sha1.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v5 = (0, _v.default)('v5', 0x50, _sha.default);\nvar _default = v5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _regex = _interopRequireDefault(require(\"./regex.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && _regex.default.test(uuid);\n}\n\nvar _default = validate;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction version(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.substr(14, 1), 16);\n}\n\nvar _default = version;\nexports.default = _default;","// Returns a wrapper function that returns a wrapped callback\n// The wrapper function should do some stuff, and return a\n// presumably different callback function.\n// This makes sure that own properties are retained, so that\n// decorations and such are not lost along the way.\nmodule.exports = wrappy\nfunction wrappy (fn, cb) {\n if (fn && cb) return wrappy(fn)(cb)\n\n if (typeof fn !== 'function')\n throw new TypeError('need wrapper function')\n\n Object.keys(fn).forEach(function (k) {\n wrapper[k] = fn[k]\n })\n\n return wrapper\n\n function wrapper() {\n var args = new Array(arguments.length)\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i]\n }\n var ret = fn.apply(this, args)\n var cb = args[args.length-1]\n if (typeof ret === 'function' && ret !== cb) {\n Object.keys(cb).forEach(function (k) {\n ret[k] = cb[k]\n })\n }\n return ret\n }\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../interfaces\");\nvar util_1 = require(\"@oozcitak/util\");\nvar util_2 = require(\"@oozcitak/dom/lib/util\");\nvar _1 = require(\".\");\nvar dom_1 = require(\"../builder/dom\");\n/** @inheritdoc */\nfunction builder(p1, p2) {\n var options = formatBuilderOptions(isXMLBuilderCreateOptions(p1) ? p1 : interfaces_1.DefaultBuilderOptions);\n var nodes = util_2.Guard.isNode(p1) || util_1.isArray(p1) ? p1 : p2;\n if (nodes === undefined) {\n throw new Error(\"Invalid arguments.\");\n }\n if (util_1.isArray(nodes)) {\n var builders = [];\n for (var i = 0; i < nodes.length; i++) {\n var builder_1 = new _1.XMLBuilderImpl(nodes[i]);\n builder_1.set(options);\n builders.push(builder_1);\n }\n return builders;\n }\n else {\n var builder_2 = new _1.XMLBuilderImpl(nodes);\n builder_2.set(options);\n return builder_2;\n }\n}\nexports.builder = builder;\n/** @inheritdoc */\nfunction create(p1, p2) {\n var options = formatBuilderOptions(p1 === undefined || isXMLBuilderCreateOptions(p1) ?\n p1 : interfaces_1.DefaultBuilderOptions);\n var contents = isXMLBuilderCreateOptions(p1) ? p2 : p1;\n var doc = dom_1.createDocument();\n setOptions(doc, options);\n var builder = new _1.XMLBuilderImpl(doc);\n if (contents !== undefined) {\n // parse contents\n builder.ele(contents);\n }\n return builder;\n}\nexports.create = create;\n/** @inheritdoc */\nfunction fragment(p1, p2) {\n var options = formatBuilderOptions(p1 === undefined || isXMLBuilderCreateOptions(p1) ?\n p1 : interfaces_1.DefaultBuilderOptions);\n var contents = isXMLBuilderCreateOptions(p1) ? p2 : p1;\n var doc = dom_1.createDocument();\n setOptions(doc, options, true);\n var builder = new _1.XMLBuilderImpl(doc.createDocumentFragment());\n if (contents !== undefined) {\n // parse contents\n builder.ele(contents);\n }\n return builder;\n}\nexports.fragment = fragment;\n/** @inheritdoc */\nfunction convert(p1, p2, p3) {\n var builderOptions;\n var contents;\n var convertOptions;\n if (isXMLBuilderCreateOptions(p1) && p2 !== undefined) {\n builderOptions = p1;\n contents = p2;\n convertOptions = p3;\n }\n else {\n builderOptions = interfaces_1.DefaultBuilderOptions;\n contents = p1;\n convertOptions = p2 || undefined;\n }\n return create(builderOptions, contents).end(convertOptions);\n}\nexports.convert = convert;\nfunction isXMLBuilderCreateOptions(obj) {\n if (!util_1.isPlainObject(obj))\n return false;\n for (var key in obj) {\n /* istanbul ignore else */\n if (obj.hasOwnProperty(key)) {\n if (!interfaces_1.XMLBuilderOptionKeys.has(key))\n return false;\n }\n }\n return true;\n}\nfunction formatBuilderOptions(createOptions) {\n if (createOptions === void 0) { createOptions = {}; }\n var options = util_1.applyDefaults(createOptions, interfaces_1.DefaultBuilderOptions);\n if (options.convert.att.length === 0 ||\n options.convert.ins.length === 0 ||\n options.convert.text.length === 0 ||\n options.convert.cdata.length === 0 ||\n options.convert.comment.length === 0) {\n throw new Error(\"JS object converter strings cannot be zero length.\");\n }\n return options;\n}\nfunction setOptions(doc, options, isFragment) {\n var docWithSettings = doc;\n docWithSettings._xmlBuilderOptions = options;\n docWithSettings._isFragment = isFragment;\n}\n//# sourceMappingURL=BuilderFunctions.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar _1 = require(\".\");\n/**\n * Creates an XML builder which serializes the document in chunks.\n *\n * @param options - callback builder options\n *\n * @returns callback builder\n */\nfunction createCB(options) {\n return new _1.XMLBuilderCBImpl(options);\n}\nexports.createCB = createCB;\n/**\n * Creates an XML builder which serializes the fragment in chunks.\n *\n * @param options - callback builder options\n *\n * @returns callback builder\n */\nfunction fragmentCB(options) {\n return new _1.XMLBuilderCBImpl(options, true);\n}\nexports.fragmentCB = fragmentCB;\n//# sourceMappingURL=BuilderFunctionsCB.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../interfaces\");\nvar util_1 = require(\"@oozcitak/util\");\nvar BuilderFunctions_1 = require(\"./BuilderFunctions\");\nvar algorithm_1 = require(\"@oozcitak/dom/lib/algorithm\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar NamespacePrefixMap_1 = require(\"@oozcitak/dom/lib/serializer/NamespacePrefixMap\");\nvar LocalNameSet_1 = require(\"@oozcitak/dom/lib/serializer/LocalNameSet\");\nvar util_2 = require(\"@oozcitak/dom/lib/util\");\nvar XMLCBWriter_1 = require(\"../writers/XMLCBWriter\");\nvar JSONCBWriter_1 = require(\"../writers/JSONCBWriter\");\nvar YAMLCBWriter_1 = require(\"../writers/YAMLCBWriter\");\nvar events_1 = require(\"events\");\n/**\n * Represents a readable XML document stream.\n */\nvar XMLBuilderCBImpl = /** @class */ (function (_super) {\n __extends(XMLBuilderCBImpl, _super);\n /**\n * Initializes a new instance of `XMLStream`.\n *\n * @param options - stream writer options\n * @param fragment - whether to create fragment stream or a document stream\n *\n * @returns XML stream\n */\n function XMLBuilderCBImpl(options, fragment) {\n if (fragment === void 0) { fragment = false; }\n var _this = _super.call(this) || this;\n _this._hasDeclaration = false;\n _this._docTypeName = \"\";\n _this._hasDocumentElement = false;\n _this._currentElementSerialized = false;\n _this._openTags = [];\n _this._ended = false;\n _this._fragment = fragment;\n // provide default options\n _this._options = util_1.applyDefaults(options || {}, interfaces_1.DefaultXMLBuilderCBOptions);\n _this._builderOptions = {\n defaultNamespace: _this._options.defaultNamespace,\n namespaceAlias: _this._options.namespaceAlias\n };\n if (_this._options.format === \"json\") {\n _this._writer = new JSONCBWriter_1.JSONCBWriter(_this._options);\n }\n else if (_this._options.format === \"yaml\") {\n _this._writer = new YAMLCBWriter_1.YAMLCBWriter(_this._options);\n }\n else {\n _this._writer = new XMLCBWriter_1.XMLCBWriter(_this._options);\n }\n // automatically create listeners for callbacks passed via options\n if (_this._options.data !== undefined) {\n _this.on(\"data\", _this._options.data);\n }\n if (_this._options.end !== undefined) {\n _this.on(\"end\", _this._options.end);\n }\n if (_this._options.error !== undefined) {\n _this.on(\"error\", _this._options.error);\n }\n _this._prefixMap = new NamespacePrefixMap_1.NamespacePrefixMap();\n _this._prefixMap.set(\"xml\", infra_1.namespace.XML);\n _this._prefixIndex = { value: 1 };\n _this._push(_this._writer.frontMatter());\n return _this;\n }\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.ele = function (p1, p2, p3) {\n var e_1, _a;\n // parse if JS object or XML or JSON string\n if (util_1.isObject(p1) || (util_1.isString(p1) && (/^\\s*/g, '>');\n this._push(this._writer.text(markup));\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.ins = function (target, content) {\n if (content === void 0) { content = ''; }\n this._serializeOpenTag(true);\n var node;\n try {\n node = BuilderFunctions_1.fragment(this._builderOptions).ins(target, content).first().node;\n }\n catch (err) {\n /* istanbul ignore next */\n this.emit(\"error\", err);\n /* istanbul ignore next */\n return this;\n }\n if (this._options.wellFormed && (node.target.indexOf(\":\") !== -1 || (/^xml$/i).test(node.target))) {\n this.emit(\"error\", new Error(\"Processing instruction target contains invalid characters (well-formed required).\"));\n return this;\n }\n if (this._options.wellFormed && !algorithm_1.xml_isLegalChar(node.data)) {\n this.emit(\"error\", Error(\"Processing instruction data contains invalid characters (well-formed required).\"));\n return this;\n }\n this._push(this._writer.instruction(node.target, node.data));\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.dat = function (content) {\n this._serializeOpenTag(true);\n var node;\n try {\n node = BuilderFunctions_1.fragment(this._builderOptions).dat(content).first().node;\n }\n catch (err) {\n this.emit(\"error\", err);\n return this;\n }\n this._push(this._writer.cdata(node.data));\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.dec = function (options) {\n if (options === void 0) { options = { version: \"1.0\" }; }\n if (this._fragment) {\n this.emit(\"error\", Error(\"Cannot insert an XML declaration into a document fragment.\"));\n return this;\n }\n if (this._hasDeclaration) {\n this.emit(\"error\", Error(\"XML declaration is already inserted.\"));\n return this;\n }\n this._push(this._writer.declaration(options.version || \"1.0\", options.encoding, options.standalone));\n this._hasDeclaration = true;\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.dtd = function (options) {\n if (this._fragment) {\n this.emit(\"error\", Error(\"Cannot insert a DocType declaration into a document fragment.\"));\n return this;\n }\n if (this._docTypeName !== \"\") {\n this.emit(\"error\", new Error(\"DocType declaration is already inserted.\"));\n return this;\n }\n if (this._hasDocumentElement) {\n this.emit(\"error\", new Error(\"Cannot insert DocType declaration after document element.\"));\n return this;\n }\n var node;\n try {\n node = BuilderFunctions_1.create().dtd(options).first().node;\n }\n catch (err) {\n this.emit(\"error\", err);\n return this;\n }\n if (this._options.wellFormed && !algorithm_1.xml_isPubidChar(node.publicId)) {\n this.emit(\"error\", new Error(\"DocType public identifier does not match PubidChar construct (well-formed required).\"));\n return this;\n }\n if (this._options.wellFormed &&\n (!algorithm_1.xml_isLegalChar(node.systemId) ||\n (node.systemId.indexOf('\"') !== -1 && node.systemId.indexOf(\"'\") !== -1))) {\n this.emit(\"error\", new Error(\"DocType system identifier contains invalid characters (well-formed required).\"));\n return this;\n }\n this._docTypeName = options.name;\n this._push(this._writer.docType(options.name, node.publicId, node.systemId));\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.import = function (node) {\n var e_2, _a;\n var frag = BuilderFunctions_1.fragment().set(this._options);\n try {\n frag.import(node);\n }\n catch (err) {\n this.emit(\"error\", err);\n return this;\n }\n try {\n for (var _b = __values(frag.node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node_1 = _c.value;\n this._fromNode(node_1);\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_2) throw e_2.error; }\n }\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.up = function () {\n this._serializeOpenTag(false);\n this._serializeCloseTag();\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.end = function () {\n this._serializeOpenTag(false);\n while (this._openTags.length > 0) {\n this._serializeCloseTag();\n }\n this._push(null);\n return this;\n };\n /**\n * Serializes the opening tag of an element node.\n *\n * @param hasChildren - whether the element node has child nodes\n */\n XMLBuilderCBImpl.prototype._serializeOpenTag = function (hasChildren) {\n if (this._currentElementSerialized)\n return;\n if (this._currentElement === undefined)\n return;\n var node = this._currentElement.node;\n if (this._options.wellFormed && (node.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(node.localName))) {\n this.emit(\"error\", new Error(\"Node local name contains invalid characters (well-formed required).\"));\n return;\n }\n var qualifiedName = \"\";\n var ignoreNamespaceDefinitionAttribute = false;\n var map = this._prefixMap.copy();\n var localPrefixesMap = {};\n var localDefaultNamespace = this._recordNamespaceInformation(node, map, localPrefixesMap);\n var inheritedNS = this._openTags.length === 0 ? null : this._openTags[this._openTags.length - 1][1];\n var ns = node.namespaceURI;\n if (ns === null)\n ns = inheritedNS;\n if (inheritedNS === ns) {\n if (localDefaultNamespace !== null) {\n ignoreNamespaceDefinitionAttribute = true;\n }\n if (ns === infra_1.namespace.XML) {\n qualifiedName = \"xml:\" + node.localName;\n }\n else {\n qualifiedName = node.localName;\n }\n this._writer.beginElement(qualifiedName);\n this._push(this._writer.openTagBegin(qualifiedName));\n }\n else {\n var prefix = node.prefix;\n var candidatePrefix = null;\n if (prefix !== null || ns !== localDefaultNamespace) {\n candidatePrefix = map.get(prefix, ns);\n }\n if (prefix === \"xmlns\") {\n if (this._options.wellFormed) {\n this.emit(\"error\", new Error(\"An element cannot have the 'xmlns' prefix (well-formed required).\"));\n return;\n }\n candidatePrefix = prefix;\n }\n if (candidatePrefix !== null) {\n qualifiedName = candidatePrefix + ':' + node.localName;\n if (localDefaultNamespace !== null && localDefaultNamespace !== infra_1.namespace.XML) {\n inheritedNS = localDefaultNamespace || null;\n }\n this._writer.beginElement(qualifiedName);\n this._push(this._writer.openTagBegin(qualifiedName));\n }\n else if (prefix !== null) {\n if (prefix in localPrefixesMap) {\n prefix = this._generatePrefix(ns, map, this._prefixIndex);\n }\n map.set(prefix, ns);\n qualifiedName += prefix + ':' + node.localName;\n this._writer.beginElement(qualifiedName);\n this._push(this._writer.openTagBegin(qualifiedName));\n this._push(this._writer.attribute(\"xmlns:\" + prefix, this._serializeAttributeValue(ns, this._options.wellFormed)));\n if (localDefaultNamespace !== null) {\n inheritedNS = localDefaultNamespace || null;\n }\n }\n else if (localDefaultNamespace === null ||\n (localDefaultNamespace !== null && localDefaultNamespace !== ns)) {\n ignoreNamespaceDefinitionAttribute = true;\n qualifiedName += node.localName;\n inheritedNS = ns;\n this._writer.beginElement(qualifiedName);\n this._push(this._writer.openTagBegin(qualifiedName));\n this._push(this._writer.attribute(\"xmlns\", this._serializeAttributeValue(ns, this._options.wellFormed)));\n }\n else {\n qualifiedName += node.localName;\n inheritedNS = ns;\n this._writer.beginElement(qualifiedName);\n this._push(this._writer.openTagBegin(qualifiedName));\n }\n }\n this._serializeAttributes(node, map, this._prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, this._options.wellFormed);\n var isHTML = (ns === infra_1.namespace.HTML);\n if (isHTML && !hasChildren &&\n XMLBuilderCBImpl._VoidElementNames.has(node.localName)) {\n this._push(this._writer.openTagEnd(qualifiedName, true, true));\n this._writer.endElement(qualifiedName);\n }\n else if (!isHTML && !hasChildren) {\n this._push(this._writer.openTagEnd(qualifiedName, true, false));\n this._writer.endElement(qualifiedName);\n }\n else {\n this._push(this._writer.openTagEnd(qualifiedName, false, false));\n }\n this._currentElementSerialized = true;\n /**\n * Save qualified name, original inherited ns, original prefix map, and\n * hasChildren flag.\n */\n this._openTags.push([qualifiedName, inheritedNS, this._prefixMap, hasChildren]);\n /**\n * New values of inherited namespace and prefix map will be used while\n * serializing child nodes. They will be returned to their original values\n * when this node is closed using the _openTags array item we saved above.\n */\n if (this._isPrefixMapModified(this._prefixMap, map)) {\n this._prefixMap = map;\n }\n /**\n * Calls following this will either serialize child nodes or close this tag.\n */\n this._writer.level++;\n };\n /**\n * Serializes the closing tag of an element node.\n */\n XMLBuilderCBImpl.prototype._serializeCloseTag = function () {\n this._writer.level--;\n var lastEle = this._openTags.pop();\n /* istanbul ignore next */\n if (lastEle === undefined) {\n this.emit(\"error\", new Error(\"Last element is undefined.\"));\n return;\n }\n var _a = __read(lastEle, 4), qualifiedName = _a[0], ns = _a[1], map = _a[2], hasChildren = _a[3];\n /**\n * Restore original values of inherited namespace and prefix map.\n */\n this._prefixMap = map;\n if (!hasChildren)\n return;\n this._push(this._writer.closeTag(qualifiedName));\n this._writer.endElement(qualifiedName);\n };\n /**\n * Pushes data to internal buffer.\n *\n * @param data - data\n */\n XMLBuilderCBImpl.prototype._push = function (data) {\n if (data === null) {\n this._ended = true;\n this.emit(\"end\");\n }\n else if (this._ended) {\n this.emit(\"error\", new Error(\"Cannot push to ended stream.\"));\n }\n else if (data.length !== 0) {\n this._writer.hasData = true;\n this.emit(\"data\", data, this._writer.level);\n }\n };\n /**\n * Reads and serializes an XML tree.\n *\n * @param node - root node\n */\n XMLBuilderCBImpl.prototype._fromNode = function (node) {\n var e_3, _a, e_4, _b;\n if (util_2.Guard.isElementNode(node)) {\n var name = node.prefix ? node.prefix + \":\" + node.localName : node.localName;\n if (node.namespaceURI !== null) {\n this.ele(node.namespaceURI, name);\n }\n else {\n this.ele(name);\n }\n try {\n for (var _c = __values(node.attributes), _d = _c.next(); !_d.done; _d = _c.next()) {\n var attr = _d.value;\n var name_1 = attr.prefix ? attr.prefix + \":\" + attr.localName : attr.localName;\n if (attr.namespaceURI !== null) {\n this.att(attr.namespaceURI, name_1, attr.value);\n }\n else {\n this.att(name_1, attr.value);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_3) throw e_3.error; }\n }\n try {\n for (var _e = __values(node.childNodes), _f = _e.next(); !_f.done; _f = _e.next()) {\n var child = _f.value;\n this._fromNode(child);\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_b = _e.return)) _b.call(_e);\n }\n finally { if (e_4) throw e_4.error; }\n }\n this.up();\n }\n else if (util_2.Guard.isExclusiveTextNode(node) && node.data) {\n this.txt(node.data);\n }\n else if (util_2.Guard.isCommentNode(node)) {\n this.com(node.data);\n }\n else if (util_2.Guard.isCDATASectionNode(node)) {\n this.dat(node.data);\n }\n else if (util_2.Guard.isProcessingInstructionNode(node)) {\n this.ins(node.target, node.data);\n }\n };\n /**\n * Produces an XML serialization of the attributes of an element node.\n *\n * @param node - node to serialize\n * @param map - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param localPrefixesMap - local prefixes map\n * @param ignoreNamespaceDefinitionAttribute - whether to ignore namespace\n * attributes\n * @param requireWellFormed - whether to check conformance\n */\n XMLBuilderCBImpl.prototype._serializeAttributes = function (node, map, prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, requireWellFormed) {\n var e_5, _a;\n var localNameSet = requireWellFormed ? new LocalNameSet_1.LocalNameSet() : undefined;\n try {\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n // Optimize common case\n if (!requireWellFormed && !ignoreNamespaceDefinitionAttribute && attr.namespaceURI === null) {\n this._push(this._writer.attribute(attr.localName, this._serializeAttributeValue(attr.value, this._options.wellFormed)));\n continue;\n }\n if (requireWellFormed && localNameSet && localNameSet.has(attr.namespaceURI, attr.localName)) {\n this.emit(\"error\", new Error(\"Element contains duplicate attributes (well-formed required).\"));\n return;\n }\n if (requireWellFormed && localNameSet)\n localNameSet.set(attr.namespaceURI, attr.localName);\n var attributeNamespace = attr.namespaceURI;\n var candidatePrefix = null;\n if (attributeNamespace !== null) {\n candidatePrefix = map.get(attr.prefix, attributeNamespace);\n if (attributeNamespace === infra_1.namespace.XMLNS) {\n if (attr.value === infra_1.namespace.XML ||\n (attr.prefix === null && ignoreNamespaceDefinitionAttribute) ||\n (attr.prefix !== null && (!(attr.localName in localPrefixesMap) ||\n localPrefixesMap[attr.localName] !== attr.value) &&\n map.has(attr.localName, attr.value)))\n continue;\n if (requireWellFormed && attr.value === infra_1.namespace.XMLNS) {\n this.emit(\"error\", new Error(\"XMLNS namespace is reserved (well-formed required).\"));\n return;\n }\n if (requireWellFormed && attr.value === '') {\n this.emit(\"error\", new Error(\"Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).\"));\n return;\n }\n if (attr.prefix === 'xmlns')\n candidatePrefix = 'xmlns';\n /**\n * _Note:_ The (candidatePrefix === null) check is not in the spec.\n * We deviate from the spec here. Otherwise a prefix is generated for\n * all attributes with namespaces.\n */\n }\n else if (candidatePrefix === null) {\n if (attr.prefix !== null &&\n (!map.hasPrefix(attr.prefix) ||\n map.has(attr.prefix, attributeNamespace))) {\n /**\n * Check if we can use the attribute's own prefix.\n * We deviate from the spec here.\n * TODO: This is not an efficient way of searching for prefixes.\n * Follow developments to the spec.\n */\n candidatePrefix = attr.prefix;\n }\n else {\n candidatePrefix = this._generatePrefix(attributeNamespace, map, prefixIndex);\n }\n this._push(this._writer.attribute(\"xmlns:\" + candidatePrefix, this._serializeAttributeValue(attributeNamespace, this._options.wellFormed)));\n }\n }\n if (requireWellFormed && (attr.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(attr.localName) ||\n (attr.localName === \"xmlns\" && attributeNamespace === null))) {\n this.emit(\"error\", new Error(\"Attribute local name contains invalid characters (well-formed required).\"));\n return;\n }\n this._push(this._writer.attribute((candidatePrefix !== null ? candidatePrefix + \":\" : \"\") + attr.localName, this._serializeAttributeValue(attr.value, this._options.wellFormed)));\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_5) throw e_5.error; }\n }\n };\n /**\n * Produces an XML serialization of an attribute value.\n *\n * @param value - attribute value\n * @param requireWellFormed - whether to check conformance\n */\n XMLBuilderCBImpl.prototype._serializeAttributeValue = function (value, requireWellFormed) {\n if (requireWellFormed && value !== null && !algorithm_1.xml_isLegalChar(value)) {\n this.emit(\"error\", new Error(\"Invalid characters in attribute value.\"));\n return \"\";\n }\n if (value === null)\n return \"\";\n return value.replace(/(?!&(lt|gt|amp|apos|quot);)&/g, '&')\n .replace(//g, '>')\n .replace(/\"/g, '"');\n };\n /**\n * Records namespace information for the given element and returns the\n * default namespace attribute value.\n *\n * @param node - element node to process\n * @param map - namespace prefix map\n * @param localPrefixesMap - local prefixes map\n */\n XMLBuilderCBImpl.prototype._recordNamespaceInformation = function (node, map, localPrefixesMap) {\n var e_6, _a;\n var defaultNamespaceAttrValue = null;\n try {\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n var attributeNamespace = attr.namespaceURI;\n var attributePrefix = attr.prefix;\n if (attributeNamespace === infra_1.namespace.XMLNS) {\n if (attributePrefix === null) {\n defaultNamespaceAttrValue = attr.value;\n continue;\n }\n else {\n var prefixDefinition = attr.localName;\n var namespaceDefinition = attr.value;\n if (namespaceDefinition === infra_1.namespace.XML) {\n continue;\n }\n if (namespaceDefinition === '') {\n namespaceDefinition = null;\n }\n if (map.has(prefixDefinition, namespaceDefinition)) {\n continue;\n }\n map.set(prefixDefinition, namespaceDefinition);\n localPrefixesMap[prefixDefinition] = namespaceDefinition || '';\n }\n }\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_6) throw e_6.error; }\n }\n return defaultNamespaceAttrValue;\n };\n /**\n * Generates a new prefix for the given namespace.\n *\n * @param newNamespace - a namespace to generate prefix for\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n */\n XMLBuilderCBImpl.prototype._generatePrefix = function (newNamespace, prefixMap, prefixIndex) {\n var generatedPrefix = \"ns\" + prefixIndex.value;\n prefixIndex.value++;\n prefixMap.set(generatedPrefix, newNamespace);\n return generatedPrefix;\n };\n /**\n * Determines if the namespace prefix map was modified from its original.\n *\n * @param originalMap - original namespace prefix map\n * @param newMap - new namespace prefix map\n */\n XMLBuilderCBImpl.prototype._isPrefixMapModified = function (originalMap, newMap) {\n var items1 = originalMap._items;\n var items2 = newMap._items;\n var nullItems1 = originalMap._nullItems;\n var nullItems2 = newMap._nullItems;\n for (var key in items2) {\n var arr1 = items1[key];\n if (arr1 === undefined)\n return true;\n var arr2 = items2[key];\n if (arr1.length !== arr2.length)\n return true;\n for (var i = 0; i < arr1.length; i++) {\n if (arr1[i] !== arr2[i])\n return true;\n }\n }\n if (nullItems1.length !== nullItems2.length)\n return true;\n for (var i = 0; i < nullItems1.length; i++) {\n if (nullItems1[i] !== nullItems2[i])\n return true;\n }\n return false;\n };\n XMLBuilderCBImpl._VoidElementNames = new Set(['area', 'base', 'basefont',\n 'bgsound', 'br', 'col', 'embed', 'frame', 'hr', 'img', 'input', 'keygen',\n 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr']);\n return XMLBuilderCBImpl;\n}(events_1.EventEmitter));\nexports.XMLBuilderCBImpl = XMLBuilderCBImpl;\n//# sourceMappingURL=XMLBuilderCBImpl.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../interfaces\");\nvar util_1 = require(\"@oozcitak/util\");\nvar writers_1 = require(\"../writers\");\nvar interfaces_2 = require(\"@oozcitak/dom/lib/dom/interfaces\");\nvar util_2 = require(\"@oozcitak/dom/lib/util\");\nvar algorithm_1 = require(\"@oozcitak/dom/lib/algorithm\");\nvar dom_1 = require(\"./dom\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar readers_1 = require(\"../readers\");\n/**\n * Represents a wrapper that extends XML nodes to implement easy to use and\n * chainable document builder methods.\n */\nvar XMLBuilderImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `XMLBuilderNodeImpl`.\n *\n * @param domNode - the DOM node to wrap\n */\n function XMLBuilderImpl(domNode) {\n this._domNode = domNode;\n }\n Object.defineProperty(XMLBuilderImpl.prototype, \"node\", {\n /** @inheritdoc */\n get: function () { return this._domNode; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(XMLBuilderImpl.prototype, \"options\", {\n /** @inheritdoc */\n get: function () { return this._options; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n XMLBuilderImpl.prototype.set = function (options) {\n this._options = util_1.applyDefaults(util_1.applyDefaults(this._options, options, true), // apply user settings\n interfaces_1.DefaultBuilderOptions); // provide defaults\n return this;\n };\n /** @inheritdoc */\n XMLBuilderImpl.prototype.ele = function (p1, p2, p3) {\n var _a, _b, _c;\n var namespace;\n var name;\n var attributes;\n if (util_1.isObject(p1)) {\n // ele(obj: ExpandObject)\n return new readers_1.ObjectReader(this._options).parse(this, p1);\n }\n else if (p1 !== null && /^\\s* 0) {\n if (namespace === undefined)\n namespace = name.slice(atIndex + 1);\n name = name.slice(0, atIndex);\n }\n if (namespace === undefined) {\n // look-up default namespace\n namespace = (ele ? this._options.defaultNamespace.ele : this._options.defaultNamespace.att);\n }\n else if (namespace !== null && namespace[0] === \"@\") {\n // look-up namespace aliases\n var alias = namespace.slice(1);\n namespace = this._options.namespaceAlias[alias];\n if (namespace === undefined) {\n throw new Error(\"Namespace alias `\" + alias + \"` is not defined. \" + this._debugInfo());\n }\n }\n return [namespace, name];\n };\n /**\n * Updates the element's namespace.\n *\n * @param ns - new namespace\n */\n XMLBuilderImpl.prototype._updateNamespace = function (ns) {\n var e_2, _a, e_3, _b;\n var ele = this._domNode;\n if (util_2.Guard.isElementNode(ele) && ns !== null && ele.namespaceURI !== ns) {\n var _c = __read(algorithm_1.namespace_extractQName(ele.prefix ? ele.prefix + ':' + ele.localName : ele.localName), 2), elePrefix = _c[0], eleLocalName = _c[1];\n // re-create the element node if its namespace changed\n // we can't simply change the namespaceURI since its read-only\n var newEle = algorithm_1.create_element(this._doc, eleLocalName, ns, elePrefix);\n try {\n for (var _d = __values(ele.attributes), _e = _d.next(); !_e.done; _e = _d.next()) {\n var attr = _e.value;\n var attrQName = attr.prefix ? attr.prefix + ':' + attr.localName : attr.localName;\n var _f = __read(algorithm_1.namespace_extractQName(attrQName), 1), attrPrefix = _f[0];\n var newAttrNS = attr.namespaceURI;\n if (newAttrNS === null && attrPrefix !== null) {\n newAttrNS = ele.lookupNamespaceURI(attrPrefix);\n }\n if (newAttrNS === null) {\n newEle.setAttribute(attrQName, attr.value);\n }\n else {\n newEle.setAttributeNS(newAttrNS, attrQName, attr.value);\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_2) throw e_2.error; }\n }\n // replace the new node in parent node\n var parent = ele.parentNode;\n /* istanbul ignore next */\n if (parent === null) {\n throw new Error(\"Parent node is null.\" + this._debugInfo());\n }\n parent.replaceChild(newEle, ele);\n this._domNode = newEle;\n try {\n // check child nodes\n for (var _g = __values(ele.childNodes), _h = _g.next(); !_h.done; _h = _g.next()) {\n var childNode = _h.value;\n var newChildNode = childNode.cloneNode(true);\n newEle.appendChild(newChildNode);\n if (util_2.Guard.isElementNode(newChildNode)) {\n var _j = __read(algorithm_1.namespace_extractQName(newChildNode.prefix ? newChildNode.prefix + ':' + newChildNode.localName : newChildNode.localName), 1), newChildNodePrefix = _j[0];\n var newChildNodeNS = newEle.lookupNamespaceURI(newChildNodePrefix);\n new XMLBuilderImpl(newChildNode)._updateNamespace(newChildNodeNS);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_h && !_h.done && (_b = _g.return)) _b.call(_g);\n }\n finally { if (e_3) throw e_3.error; }\n }\n }\n };\n Object.defineProperty(XMLBuilderImpl.prototype, \"_doc\", {\n /**\n * Returns the document owning this node.\n */\n get: function () {\n var node = this.node;\n if (util_2.Guard.isDocumentNode(node)) {\n return node;\n }\n else {\n var docNode = node.ownerDocument;\n /* istanbul ignore next */\n if (!docNode)\n throw new Error(\"Owner document is null. \" + this._debugInfo());\n return docNode;\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns debug information for this node.\n *\n * @param name - node name\n */\n XMLBuilderImpl.prototype._debugInfo = function (name) {\n var node = this.node;\n var parentNode = node.parentNode;\n name = name || node.nodeName;\n var parentName = parentNode ? parentNode.nodeName : '';\n if (!parentName) {\n return \"node: <\" + name + \">\";\n }\n else {\n return \"node: <\" + name + \">, parent: <\" + parentName + \">\";\n }\n };\n Object.defineProperty(XMLBuilderImpl.prototype, \"_options\", {\n /**\n * Gets or sets builder options.\n */\n get: function () {\n var doc = this._doc;\n /* istanbul ignore next */\n if (doc._xmlBuilderOptions === undefined) {\n throw new Error(\"Builder options is not set.\");\n }\n return doc._xmlBuilderOptions;\n },\n set: function (value) {\n var doc = this._doc;\n doc._xmlBuilderOptions = value;\n },\n enumerable: true,\n configurable: true\n });\n return XMLBuilderImpl;\n}());\nexports.XMLBuilderImpl = XMLBuilderImpl;\n//# sourceMappingURL=XMLBuilderImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dom_1 = require(\"@oozcitak/dom\");\nvar dom_2 = require(\"@oozcitak/dom/lib/dom\");\nvar util_1 = require(\"@oozcitak/util\");\ndom_2.dom.setFeatures(false);\n/**\n * Creates an XML document without any child nodes.\n */\nfunction createDocument() {\n var impl = new dom_1.DOMImplementation();\n var doc = impl.createDocument(null, 'root', null);\n /* istanbul ignore else */\n if (doc.documentElement) {\n doc.removeChild(doc.documentElement);\n }\n return doc;\n}\nexports.createDocument = createDocument;\n/**\n * Sanitizes input strings with user supplied replacement characters.\n *\n * @param str - input string\n * @param replacement - replacement character or function\n */\nfunction sanitizeInput(str, replacement) {\n if (str == null) {\n return str;\n }\n else if (replacement === undefined) {\n return str + \"\";\n }\n else {\n var result = \"\";\n str = str + \"\";\n for (var i = 0; i < str.length; i++) {\n var n = str.charCodeAt(i);\n // #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]\n if (n === 0x9 || n === 0xA || n === 0xD ||\n (n >= 0x20 && n <= 0xD7FF) ||\n (n >= 0xE000 && n <= 0xFFFD)) {\n // valid character - not surrogate pair\n result += str.charAt(i);\n }\n else if (n >= 0xD800 && n <= 0xDBFF && i < str.length - 1) {\n var n2 = str.charCodeAt(i + 1);\n if (n2 >= 0xDC00 && n2 <= 0xDFFF) {\n // valid surrogate pair\n n = (n - 0xD800) * 0x400 + n2 - 0xDC00 + 0x10000;\n result += String.fromCodePoint(n);\n i++;\n }\n else {\n // invalid lone surrogate\n result += util_1.isString(replacement) ? replacement : replacement(str.charAt(i), i, str);\n }\n }\n else {\n // invalid character\n result += util_1.isString(replacement) ? replacement : replacement(str.charAt(i), i, str);\n }\n }\n return result;\n }\n}\nexports.sanitizeInput = sanitizeInput;\n//# sourceMappingURL=dom.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar XMLBuilderImpl_1 = require(\"./XMLBuilderImpl\");\nexports.XMLBuilderImpl = XMLBuilderImpl_1.XMLBuilderImpl;\nvar XMLBuilderCBImpl_1 = require(\"./XMLBuilderCBImpl\");\nexports.XMLBuilderCBImpl = XMLBuilderCBImpl_1.XMLBuilderCBImpl;\nvar BuilderFunctions_1 = require(\"./BuilderFunctions\");\nexports.builder = BuilderFunctions_1.builder;\nexports.create = BuilderFunctions_1.create;\nexports.fragment = BuilderFunctions_1.fragment;\nexports.convert = BuilderFunctions_1.convert;\nvar BuilderFunctionsCB_1 = require(\"./BuilderFunctionsCB\");\nexports.createCB = BuilderFunctionsCB_1.createCB;\nexports.fragmentCB = BuilderFunctionsCB_1.fragmentCB;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar builder_1 = require(\"./builder\");\nexports.builder = builder_1.builder;\nexports.create = builder_1.create;\nexports.fragment = builder_1.fragment;\nexports.convert = builder_1.convert;\nexports.createCB = builder_1.createCB;\nexports.fragmentCB = builder_1.fragmentCB;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Defines default values for builder options.\n */\nexports.DefaultBuilderOptions = {\n version: \"1.0\",\n encoding: undefined,\n standalone: undefined,\n keepNullNodes: false,\n keepNullAttributes: false,\n ignoreConverters: false,\n convert: {\n att: \"@\",\n ins: \"?\",\n text: \"#\",\n cdata: \"$\",\n comment: \"!\"\n },\n defaultNamespace: {\n ele: undefined,\n att: undefined\n },\n namespaceAlias: {\n html: \"http://www.w3.org/1999/xhtml\",\n xml: \"http://www.w3.org/XML/1998/namespace\",\n xmlns: \"http://www.w3.org/2000/xmlns/\",\n mathml: \"http://www.w3.org/1998/Math/MathML\",\n svg: \"http://www.w3.org/2000/svg\",\n xlink: \"http://www.w3.org/1999/xlink\"\n },\n invalidCharReplacement: undefined,\n parser: undefined\n};\n/**\n * Contains keys of `XMLBuilderOptions`.\n */\nexports.XMLBuilderOptionKeys = new Set(Object.keys(exports.DefaultBuilderOptions));\n/**\n * Defines default values for builder options.\n */\nexports.DefaultXMLBuilderCBOptions = {\n format: \"xml\",\n wellFormed: false,\n prettyPrint: false,\n indent: \" \",\n newline: \"\\n\",\n offset: 0,\n width: 0,\n allowEmptyTags: false,\n spaceBeforeSlash: false,\n keepNullNodes: false,\n keepNullAttributes: false,\n ignoreConverters: false,\n convert: {\n att: \"@\",\n ins: \"?\",\n text: \"#\",\n cdata: \"$\",\n comment: \"!\"\n },\n defaultNamespace: {\n ele: undefined,\n att: undefined\n },\n namespaceAlias: {\n html: \"http://www.w3.org/1999/xhtml\",\n xml: \"http://www.w3.org/XML/1998/namespace\",\n xmlns: \"http://www.w3.org/2000/xmlns/\",\n mathml: \"http://www.w3.org/1998/Math/MathML\",\n svg: \"http://www.w3.org/2000/svg\",\n xlink: \"http://www.w3.org/1999/xlink\"\n }\n};\n//# sourceMappingURL=interfaces.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dom_1 = require(\"../builder/dom\");\n/**\n * Parses XML nodes.\n */\nvar BaseReader = /** @class */ (function () {\n /**\n * Initializes a new instance of `BaseReader`.\n *\n * @param builderOptions - XML builder options\n */\n function BaseReader(builderOptions) {\n this._builderOptions = builderOptions;\n if (builderOptions.parser) {\n Object.assign(this, builderOptions.parser);\n }\n }\n BaseReader.prototype._docType = function (parent, name, publicId, systemId) {\n return parent.dtd({ name: name, pubID: publicId, sysID: systemId });\n };\n BaseReader.prototype._comment = function (parent, data) {\n return parent.com(data);\n };\n BaseReader.prototype._text = function (parent, data) {\n return parent.txt(data);\n };\n BaseReader.prototype._instruction = function (parent, target, data) {\n return parent.ins(target, data);\n };\n BaseReader.prototype._cdata = function (parent, data) {\n return parent.dat(data);\n };\n BaseReader.prototype._element = function (parent, namespace, name) {\n return (namespace === undefined ? parent.ele(name) : parent.ele(namespace, name));\n };\n BaseReader.prototype._attribute = function (parent, namespace, name, value) {\n return (namespace === undefined ? parent.att(name, value) : parent.att(namespace, name, value));\n };\n BaseReader.prototype._sanitize = function (str) {\n return dom_1.sanitizeInput(str, this._builderOptions.invalidCharReplacement);\n };\n /**\n * Decodes serialized text.\n *\n * @param text - text value to serialize\n */\n BaseReader.prototype._decodeText = function (text) {\n if (text == null)\n return text;\n return text.replace(/&(quot|amp|apos|lt|gt);/g, function (_match, tag) {\n return BaseReader._entityTable[tag];\n }).replace(/&#(?:x([a-fA-F0-9]+)|([0-9]+));/g, function (_match, hexStr, numStr) {\n return String.fromCodePoint(parseInt(hexStr || numStr, hexStr ? 16 : 10));\n });\n };\n /**\n * Decodes serialized attribute value.\n *\n * @param text - attribute value to serialize\n */\n BaseReader.prototype._decodeAttributeValue = function (text) {\n return this._decodeText(text);\n };\n /**\n * Main parser function which parses the given object and returns an XMLBuilder.\n *\n * @param node - node to recieve parsed content\n * @param obj - object to parse\n */\n BaseReader.prototype.parse = function (node, obj) {\n return this._parse(node, obj);\n };\n /**\n * Creates a DocType node.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param name - node name\n * @param publicId - public identifier\n * @param systemId - system identifier\n */\n BaseReader.prototype.docType = function (parent, name, publicId, systemId) {\n return this._docType(parent, name, publicId, systemId);\n };\n /**\n * Creates a comment node.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param parent - parent node\n * @param data - node data\n */\n BaseReader.prototype.comment = function (parent, data) {\n return this._comment(parent, data);\n };\n /**\n * Creates a text node.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param parent - parent node\n * @param data - node data\n */\n BaseReader.prototype.text = function (parent, data) {\n return this._text(parent, data);\n };\n /**\n * Creates a processing instruction node.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param parent - parent node\n * @param target - instruction target\n * @param data - node data\n */\n BaseReader.prototype.instruction = function (parent, target, data) {\n return this._instruction(parent, target, data);\n };\n /**\n * Creates a CData section node.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param parent - parent node\n * @param data - node data\n */\n BaseReader.prototype.cdata = function (parent, data) {\n return this._cdata(parent, data);\n };\n /**\n * Creates an element node.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param parent - parent node\n * @param namespace - node namespace\n * @param name - node name\n */\n BaseReader.prototype.element = function (parent, namespace, name) {\n return this._element(parent, namespace, name);\n };\n /**\n * Creates an attribute or namespace declaration.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param parent - parent node\n * @param namespace - node namespace\n * @param name - node name\n * @param value - node value\n */\n BaseReader.prototype.attribute = function (parent, namespace, name, value) {\n return this._attribute(parent, namespace, name, value);\n };\n /**\n * Sanitizes input strings.\n *\n * @param str - input string\n */\n BaseReader.prototype.sanitize = function (str) {\n return this._sanitize(str);\n };\n BaseReader._entityTable = {\n \"lt\": \"<\",\n \"gt\": \">\",\n \"amp\": \"&\",\n \"quot\": '\"',\n \"apos\": \"'\",\n };\n return BaseReader;\n}());\nexports.BaseReader = BaseReader;\n//# sourceMappingURL=BaseReader.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ObjectReader_1 = require(\"./ObjectReader\");\nvar BaseReader_1 = require(\"./BaseReader\");\n/**\n * Parses XML nodes from a JSON string.\n */\nvar JSONReader = /** @class */ (function (_super) {\n __extends(JSONReader, _super);\n function JSONReader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Parses the given document representation.\n *\n * @param node - node receive parsed XML nodes\n * @param str - JSON string to parse\n */\n JSONReader.prototype._parse = function (node, str) {\n return new ObjectReader_1.ObjectReader(this._builderOptions).parse(node, JSON.parse(str));\n };\n return JSONReader;\n}(BaseReader_1.BaseReader));\nexports.JSONReader = JSONReader;\n//# sourceMappingURL=JSONReader.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar BaseReader_1 = require(\"./BaseReader\");\n/**\n * Parses XML nodes from objects and arrays.\n * ES6 maps and sets are also supoorted.\n */\nvar ObjectReader = /** @class */ (function (_super) {\n __extends(ObjectReader, _super);\n function ObjectReader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Parses the given document representation.\n *\n * @param node - node receive parsed XML nodes\n * @param obj - object to parse\n */\n ObjectReader.prototype._parse = function (node, obj) {\n var _this = this;\n var options = this._builderOptions;\n var lastChild = null;\n if (util_1.isFunction(obj)) {\n // evaluate if function\n lastChild = this.parse(node, obj.apply(this));\n }\n else if (util_1.isArray(obj) || util_1.isSet(obj)) {\n util_1.forEachArray(obj, function (item) { return lastChild = _this.parse(node, item); }, this);\n }\n else if (util_1.isMap(obj) || util_1.isObject(obj)) {\n // expand if object\n util_1.forEachObject(obj, function (key, val) {\n if (util_1.isFunction(val)) {\n // evaluate if function\n val = val.apply(_this);\n }\n if (!options.ignoreConverters && key.indexOf(options.convert.att) === 0) {\n // assign attributes\n if (key === options.convert.att) {\n if (util_1.isArray(val) || util_1.isSet(val)) {\n throw new Error(\"Invalid attribute: \" + val.toString() + \". \" + node._debugInfo());\n }\n else /* if (isMap(val) || isObject(val)) */ {\n util_1.forEachObject(val, function (attrKey, attrVal) {\n lastChild = _this.attribute(node, undefined, _this.sanitize(attrKey), _this._decodeAttributeValue(_this.sanitize(attrVal))) || lastChild;\n });\n }\n }\n else {\n lastChild = _this.attribute(node, undefined, _this.sanitize(key.substr(options.convert.att.length)), _this._decodeAttributeValue(_this.sanitize(val))) || lastChild;\n }\n }\n else if (!options.ignoreConverters && key.indexOf(options.convert.text) === 0) {\n // text node\n if (util_1.isMap(val) || util_1.isObject(val)) {\n // if the key is #text expand child nodes under this node to support mixed content\n lastChild = _this.parse(node, val);\n }\n else {\n lastChild = _this.text(node, _this._decodeText(_this.sanitize(val))) || lastChild;\n }\n }\n else if (!options.ignoreConverters && key.indexOf(options.convert.cdata) === 0) {\n // cdata node\n if (util_1.isArray(val) || util_1.isSet(val)) {\n util_1.forEachArray(val, function (item) { return lastChild = _this.cdata(node, _this.sanitize(item)) || lastChild; }, _this);\n }\n else {\n lastChild = _this.cdata(node, _this.sanitize(val)) || lastChild;\n }\n }\n else if (!options.ignoreConverters && key.indexOf(options.convert.comment) === 0) {\n // comment node\n if (util_1.isArray(val) || util_1.isSet(val)) {\n util_1.forEachArray(val, function (item) { return lastChild = _this.comment(node, _this.sanitize(item)) || lastChild; }, _this);\n }\n else {\n lastChild = _this.comment(node, _this.sanitize(val)) || lastChild;\n }\n }\n else if (!options.ignoreConverters && key.indexOf(options.convert.ins) === 0) {\n // processing instruction\n if (util_1.isString(val)) {\n var insIndex = val.indexOf(' ');\n var insTarget = (insIndex === -1 ? val : val.substr(0, insIndex));\n var insValue = (insIndex === -1 ? '' : val.substr(insIndex + 1));\n lastChild = _this.instruction(node, _this.sanitize(insTarget), _this.sanitize(insValue)) || lastChild;\n }\n else if (util_1.isArray(val) || util_1.isSet(val)) {\n util_1.forEachArray(val, function (item) {\n var insIndex = item.indexOf(' ');\n var insTarget = (insIndex === -1 ? item : item.substr(0, insIndex));\n var insValue = (insIndex === -1 ? '' : item.substr(insIndex + 1));\n lastChild = _this.instruction(node, _this.sanitize(insTarget), _this.sanitize(insValue)) || lastChild;\n }, _this);\n }\n else /* if (isMap(target) || isObject(target)) */ {\n util_1.forEachObject(val, function (insTarget, insValue) { return lastChild = _this.instruction(node, _this.sanitize(insTarget), _this.sanitize(insValue)) || lastChild; }, _this);\n }\n }\n else if ((util_1.isArray(val) || util_1.isSet(val)) && util_1.isEmpty(val)) {\n // skip empty arrays\n }\n else if ((util_1.isMap(val) || util_1.isObject(val)) && util_1.isEmpty(val)) {\n // empty objects produce one node\n lastChild = _this.element(node, undefined, _this.sanitize(key)) || lastChild;\n }\n else if (!options.keepNullNodes && (val == null)) {\n // skip null and undefined nodes\n }\n else if (util_1.isArray(val) || util_1.isSet(val)) {\n // expand list by creating child nodes\n util_1.forEachArray(val, function (item) {\n var childNode = {};\n childNode[key] = item;\n lastChild = _this.parse(node, childNode);\n }, _this);\n }\n else if (util_1.isMap(val) || util_1.isObject(val)) {\n // create a parent node\n var parent = _this.element(node, undefined, _this.sanitize(key));\n if (parent) {\n lastChild = parent;\n // expand child nodes under parent\n _this.parse(parent, val);\n }\n }\n else if (val != null && val !== '') {\n // leaf element node with a single text node\n var parent = _this.element(node, undefined, _this.sanitize(key));\n if (parent) {\n lastChild = parent;\n _this.text(parent, _this._decodeText(_this.sanitize(val)));\n }\n }\n else {\n // leaf element node\n lastChild = _this.element(node, undefined, _this.sanitize(key)) || lastChild;\n }\n }, this);\n }\n else if (!options.keepNullNodes && (obj == null)) {\n // skip null and undefined nodes\n }\n else {\n // text node\n lastChild = this.text(node, this._decodeText(this.sanitize(obj))) || lastChild;\n }\n return lastChild || node;\n };\n return ObjectReader;\n}(BaseReader_1.BaseReader));\nexports.ObjectReader = ObjectReader;\n//# sourceMappingURL=ObjectReader.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar XMLStringLexer_1 = require(\"@oozcitak/dom/lib/parser/XMLStringLexer\");\nvar interfaces_1 = require(\"@oozcitak/dom/lib/parser/interfaces\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"@oozcitak/dom/lib/algorithm\");\nvar BaseReader_1 = require(\"./BaseReader\");\n/**\n * Parses XML nodes from an XML document string.\n */\nvar XMLReader = /** @class */ (function (_super) {\n __extends(XMLReader, _super);\n function XMLReader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Parses the given document representation.\n *\n * @param node - node receive parsed XML nodes\n * @param str - XML document string to parse\n */\n XMLReader.prototype._parse = function (node, str) {\n var e_1, _a, e_2, _b;\n var lexer = new XMLStringLexer_1.XMLStringLexer(str, { skipWhitespaceOnlyText: true });\n var lastChild = node;\n var context = node;\n var token = lexer.nextToken();\n while (token.type !== interfaces_1.TokenType.EOF) {\n switch (token.type) {\n case interfaces_1.TokenType.Declaration:\n var declaration = token;\n var version = this.sanitize(declaration.version);\n if (version !== \"1.0\") {\n throw new Error(\"Invalid xml version: \" + version);\n }\n var builderOptions = {\n version: version\n };\n if (declaration.encoding) {\n builderOptions.encoding = this.sanitize(declaration.encoding);\n }\n if (declaration.standalone) {\n builderOptions.standalone = (this.sanitize(declaration.standalone) === \"yes\");\n }\n context.set(builderOptions);\n break;\n case interfaces_1.TokenType.DocType:\n var doctype = token;\n context = this.docType(context, this.sanitize(doctype.name), this.sanitize(doctype.pubId), this.sanitize(doctype.sysId)) || context;\n break;\n case interfaces_1.TokenType.CDATA:\n var cdata = token;\n context = this.cdata(context, this.sanitize(cdata.data)) || context;\n break;\n case interfaces_1.TokenType.Comment:\n var comment = token;\n context = this.comment(context, this.sanitize(comment.data)) || context;\n break;\n case interfaces_1.TokenType.PI:\n var pi = token;\n context = this.instruction(context, this.sanitize(pi.target), this.sanitize(pi.data)) || context;\n break;\n case interfaces_1.TokenType.Text:\n var text = token;\n context = this.text(context, this._decodeText(this.sanitize(text.data))) || context;\n break;\n case interfaces_1.TokenType.Element:\n var element = token;\n var elementName = this.sanitize(element.name);\n // inherit namespace from parent\n var _c = __read(algorithm_1.namespace_extractQName(elementName), 1), prefix = _c[0];\n var namespace = context.node.lookupNamespaceURI(prefix);\n // override namespace if there is a namespace declaration\n // attribute\n // also lookup namespace declaration attributes\n var nsDeclarations = {};\n try {\n for (var _d = (e_1 = void 0, __values(element.attributes)), _e = _d.next(); !_e.done; _e = _d.next()) {\n var _f = __read(_e.value, 2), attName = _f[0], attValue = _f[1];\n attName = this.sanitize(attName);\n attValue = this.sanitize(attValue);\n if (attName === \"xmlns\") {\n namespace = attValue;\n }\n else {\n var _g = __read(algorithm_1.namespace_extractQName(attName), 2), attPrefix = _g[0], attLocalName = _g[1];\n if (attPrefix === \"xmlns\") {\n if (attLocalName === prefix) {\n namespace = attValue;\n }\n nsDeclarations[attLocalName] = attValue;\n }\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_1) throw e_1.error; }\n }\n // create the DOM element node\n var elementNode = (namespace !== null ?\n this.element(context, namespace, elementName) :\n this.element(context, undefined, elementName));\n if (elementNode === undefined)\n break;\n if (context.node === node.node)\n lastChild = elementNode;\n try {\n // assign attributes\n for (var _h = (e_2 = void 0, __values(element.attributes)), _j = _h.next(); !_j.done; _j = _h.next()) {\n var _k = __read(_j.value, 2), attName = _k[0], attValue = _k[1];\n attName = this.sanitize(attName);\n attValue = this.sanitize(attValue);\n var _l = __read(algorithm_1.namespace_extractQName(attName), 2), attPrefix = _l[0], attLocalName = _l[1];\n var attNamespace = null;\n if (attPrefix === \"xmlns\" || (attPrefix === null && attLocalName === \"xmlns\")) {\n // namespace declaration attribute\n attNamespace = infra_1.namespace.XMLNS;\n }\n else {\n attNamespace = elementNode.node.lookupNamespaceURI(attPrefix);\n if (attNamespace !== null && elementNode.node.isDefaultNamespace(attNamespace)) {\n attNamespace = null;\n }\n else if (attNamespace === null && attPrefix !== null) {\n attNamespace = nsDeclarations[attPrefix] || null;\n }\n }\n if (attNamespace !== null)\n this.attribute(elementNode, attNamespace, attName, this._decodeAttributeValue(attValue));\n else\n this.attribute(elementNode, undefined, attName, this._decodeAttributeValue(attValue));\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_j && !_j.done && (_b = _h.return)) _b.call(_h);\n }\n finally { if (e_2) throw e_2.error; }\n }\n if (!element.selfClosing) {\n context = elementNode;\n }\n break;\n case interfaces_1.TokenType.ClosingTag:\n /* istanbul ignore else */\n if (context.node.parentNode) {\n context = context.up();\n }\n break;\n }\n token = lexer.nextToken();\n }\n return lastChild;\n };\n return XMLReader;\n}(BaseReader_1.BaseReader));\nexports.XMLReader = XMLReader;\n//# sourceMappingURL=XMLReader.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ObjectReader_1 = require(\"./ObjectReader\");\nvar BaseReader_1 = require(\"./BaseReader\");\nvar js_yaml_1 = require(\"js-yaml\");\n/**\n * Parses XML nodes from a YAML string.\n */\nvar YAMLReader = /** @class */ (function (_super) {\n __extends(YAMLReader, _super);\n function YAMLReader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Parses the given document representation.\n *\n * @param node - node receive parsed XML nodes\n * @param str - YAML string to parse\n */\n YAMLReader.prototype._parse = function (node, str) {\n var result = js_yaml_1.safeLoad(str);\n /* istanbul ignore next */\n if (result === undefined) {\n throw new Error(\"Unable to parse YAML document.\");\n }\n return new ObjectReader_1.ObjectReader(this._builderOptions).parse(node, result);\n };\n return YAMLReader;\n}(BaseReader_1.BaseReader));\nexports.YAMLReader = YAMLReader;\n//# sourceMappingURL=YAMLReader.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar XMLReader_1 = require(\"./XMLReader\");\nexports.XMLReader = XMLReader_1.XMLReader;\nvar ObjectReader_1 = require(\"./ObjectReader\");\nexports.ObjectReader = ObjectReader_1.ObjectReader;\nvar JSONReader_1 = require(\"./JSONReader\");\nexports.JSONReader = JSONReader_1.JSONReader;\nvar YAMLReader_1 = require(\"./YAMLReader\");\nexports.YAMLReader = YAMLReader_1.YAMLReader;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Pre-serializes XML nodes.\n */\nvar BaseCBWriter = /** @class */ (function () {\n /**\n * Initializes a new instance of `BaseCBWriter`.\n *\n * @param builderOptions - XML builder options\n */\n function BaseCBWriter(builderOptions) {\n /**\n * Gets the current depth of the XML tree.\n */\n this.level = 0;\n this._builderOptions = builderOptions;\n this._writerOptions = builderOptions;\n }\n return BaseCBWriter;\n}());\nexports.BaseCBWriter = BaseCBWriter;\n//# sourceMappingURL=BaseCBWriter.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"@oozcitak/dom/lib/dom/interfaces\");\nvar LocalNameSet_1 = require(\"@oozcitak/dom/lib/serializer/LocalNameSet\");\nvar NamespacePrefixMap_1 = require(\"@oozcitak/dom/lib/serializer/NamespacePrefixMap\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"@oozcitak/dom/lib/algorithm\");\n/**\n * Pre-serializes XML nodes.\n */\nvar BaseWriter = /** @class */ (function () {\n /**\n * Initializes a new instance of `BaseWriter`.\n *\n * @param builderOptions - XML builder options\n */\n function BaseWriter(builderOptions) {\n /**\n * Gets the current depth of the XML tree.\n */\n this.level = 0;\n this._builderOptions = builderOptions;\n }\n /**\n * Used by derived classes to serialize the XML declaration.\n *\n * @param version - a version number string\n * @param encoding - encoding declaration\n * @param standalone - standalone document declaration\n */\n BaseWriter.prototype.declaration = function (version, encoding, standalone) { };\n /**\n * Used by derived classes to serialize a DocType node.\n *\n * @param name - node name\n * @param publicId - public identifier\n * @param systemId - system identifier\n */\n BaseWriter.prototype.docType = function (name, publicId, systemId) { };\n /**\n * Used by derived classes to serialize a comment node.\n *\n * @param data - node data\n */\n BaseWriter.prototype.comment = function (data) { };\n /**\n * Used by derived classes to serialize a text node.\n *\n * @param data - node data\n */\n BaseWriter.prototype.text = function (data) { };\n /**\n * Used by derived classes to serialize a processing instruction node.\n *\n * @param target - instruction target\n * @param data - node data\n */\n BaseWriter.prototype.instruction = function (target, data) { };\n /**\n * Used by derived classes to serialize a CData section node.\n *\n * @param data - node data\n */\n BaseWriter.prototype.cdata = function (data) { };\n /**\n * Used by derived classes to serialize the beginning of the opening tag of an\n * element node.\n *\n * @param name - node name\n */\n BaseWriter.prototype.openTagBegin = function (name) { };\n /**\n * Used by derived classes to serialize the ending of the opening tag of an\n * element node.\n *\n * @param name - node name\n * @param selfClosing - whether the element node is self closing\n * @param voidElement - whether the element node is a HTML void element\n */\n BaseWriter.prototype.openTagEnd = function (name, selfClosing, voidElement) { };\n /**\n * Used by derived classes to serialize the closing tag of an element node.\n *\n * @param name - node name\n */\n BaseWriter.prototype.closeTag = function (name) { };\n /**\n * Used by derived classes to serialize attributes or namespace declarations.\n *\n * @param attributes - attribute array\n */\n BaseWriter.prototype.attributes = function (attributes) {\n var e_1, _a;\n try {\n for (var attributes_1 = __values(attributes), attributes_1_1 = attributes_1.next(); !attributes_1_1.done; attributes_1_1 = attributes_1.next()) {\n var attr = attributes_1_1.value;\n this.attribute(attr[1] === null ? attr[2] : attr[1] + ':' + attr[2], attr[3]);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (attributes_1_1 && !attributes_1_1.done && (_a = attributes_1.return)) _a.call(attributes_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n };\n /**\n * Used by derived classes to serialize an attribute or namespace declaration.\n *\n * @param name - node name\n * @param value - node value\n */\n BaseWriter.prototype.attribute = function (name, value) { };\n /**\n * Used by derived classes to perform any pre-processing steps before starting\n * serializing an element node.\n *\n * @param name - node name\n */\n BaseWriter.prototype.beginElement = function (name) { };\n /**\n * Used by derived classes to perform any post-processing steps after\n * completing serializing an element node.\n *\n * @param name - node name\n */\n BaseWriter.prototype.endElement = function (name) { };\n /**\n * Produces an XML serialization of the given node. The pre-serializer inserts\n * namespace declarations where necessary and produces qualified names for\n * nodes and attributes.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype.serializeNode = function (node, requireWellFormed) {\n var hasNamespaces = (node._nodeDocument !== undefined && node._nodeDocument._hasNamespaces);\n this.level = 0;\n this.currentNode = node;\n if (hasNamespaces) {\n /** From: https://w3c.github.io/DOM-Parsing/#xml-serialization\n *\n * 1. Let namespace be a context namespace with value null.\n * The context namespace tracks the XML serialization algorithm's current\n * default namespace. The context namespace is changed when either an Element\n * Node has a default namespace declaration, or the algorithm generates a\n * default namespace declaration for the Element Node to match its own\n * namespace. The algorithm assumes no namespace (null) to start.\n * 2. Let prefix map be a new namespace prefix map.\n * 3. Add the XML namespace with prefix value \"xml\" to prefix map.\n * 4. Let prefix index be a generated namespace prefix index with value 1.\n * The generated namespace prefix index is used to generate a new unique\n * prefix value when no suitable existing namespace prefix is available to\n * serialize a node's namespaceURI (or the namespaceURI of one of node's\n * attributes). See the generate a prefix algorithm.\n */\n var namespace = null;\n var prefixMap = new NamespacePrefixMap_1.NamespacePrefixMap();\n prefixMap.set(\"xml\", infra_1.namespace.XML);\n var prefixIndex = { value: 1 };\n /**\n * 5. Return the result of running the XML serialization algorithm on node\n * passing the context namespace namespace, namespace prefix map prefix map,\n * generated namespace prefix index reference to prefix index, and the\n * flag require well-formed. If an exception occurs during the execution\n * of the algorithm, then catch that exception and throw an\n * \"InvalidStateError\" DOMException.\n */\n this._serializeNodeNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n }\n else {\n this._serializeNode(node, requireWellFormed);\n }\n };\n /**\n * Produces an XML serialization of a node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeNodeNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n this.currentNode = node;\n switch (node.nodeType) {\n case interfaces_1.NodeType.Element:\n this._serializeElementNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n break;\n case interfaces_1.NodeType.Document:\n this._serializeDocumentNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n break;\n case interfaces_1.NodeType.Comment:\n this._serializeComment(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.Text:\n this._serializeText(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.DocumentFragment:\n this._serializeDocumentFragmentNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n break;\n case interfaces_1.NodeType.DocumentType:\n this._serializeDocumentType(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.ProcessingInstruction:\n this._serializeProcessingInstruction(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.CData:\n this._serializeCData(node, requireWellFormed);\n break;\n default:\n throw new Error(\"Unknown node type: \" + node.nodeType);\n }\n };\n /**\n * Produces an XML serialization of a node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeNode = function (node, requireWellFormed) {\n this.currentNode = node;\n switch (node.nodeType) {\n case interfaces_1.NodeType.Element:\n this._serializeElement(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.Document:\n this._serializeDocument(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.Comment:\n this._serializeComment(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.Text:\n this._serializeText(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.DocumentFragment:\n this._serializeDocumentFragment(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.DocumentType:\n this._serializeDocumentType(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.ProcessingInstruction:\n this._serializeProcessingInstruction(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.CData:\n this._serializeCData(node, requireWellFormed);\n break;\n default:\n throw new Error(\"Unknown node type: \" + node.nodeType);\n }\n };\n /**\n * Produces an XML serialization of an element node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeElementNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n var e_2, _a;\n var attributes = [];\n /**\n * From: https://w3c.github.io/DOM-Parsing/#xml-serializing-an-element-node\n *\n * 1. If the require well-formed flag is set (its value is true), and this\n * node's localName attribute contains the character \":\" (U+003A COLON) or\n * does not match the XML Name production, then throw an exception; the\n * serialization of this node would not be a well-formed element.\n */\n if (requireWellFormed && (node.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(node.localName))) {\n throw new Error(\"Node local name contains invalid characters (well-formed required).\");\n }\n /**\n * 2. Let markup be the string \"<\" (U+003C LESS-THAN SIGN).\n * 3. Let qualified name be an empty string.\n * 4. Let skip end tag be a boolean flag with value false.\n * 5. Let ignore namespace definition attribute be a boolean flag with value\n * false.\n * 6. Given prefix map, copy a namespace prefix map and let map be the\n * result.\n * 7. Let local prefixes map be an empty map. The map has unique Node prefix\n * strings as its keys, with corresponding namespaceURI Node values as the\n * map's key values (in this map, the null namespace is represented by the\n * empty string).\n *\n * _Note:_ This map is local to each element. It is used to ensure there\n * are no conflicting prefixes should a new namespace prefix attribute need\n * to be generated. It is also used to enable skipping of duplicate prefix\n * definitions when writing an element's attributes: the map allows the\n * algorithm to distinguish between a prefix in the namespace prefix map\n * that might be locally-defined (to the current Element) and one that is\n * not.\n * 8. Let local default namespace be the result of recording the namespace\n * information for node given map and local prefixes map.\n *\n * _Note:_ The above step will update map with any found namespace prefix\n * definitions, add the found prefix definitions to the local prefixes map\n * and return a local default namespace value defined by a default namespace\n * attribute if one exists. Otherwise it returns null.\n * 9. Let inherited ns be a copy of namespace.\n * 10. Let ns be the value of node's namespaceURI attribute.\n */\n var qualifiedName = '';\n var skipEndTag = false;\n var ignoreNamespaceDefinitionAttribute = false;\n var map = prefixMap.copy();\n var localPrefixesMap = {};\n var localDefaultNamespace = this._recordNamespaceInformation(node, map, localPrefixesMap);\n var inheritedNS = namespace;\n var ns = node.namespaceURI;\n /** 11. If inherited ns is equal to ns, then: */\n if (inheritedNS === ns) {\n /**\n * 11.1. If local default namespace is not null, then set ignore\n * namespace definition attribute to true.\n */\n if (localDefaultNamespace !== null) {\n ignoreNamespaceDefinitionAttribute = true;\n }\n /**\n * 11.2. If ns is the XML namespace, then append to qualified name the\n * concatenation of the string \"xml:\" and the value of node's localName.\n * 11.3. Otherwise, append to qualified name the value of node's\n * localName. The node's prefix if it exists, is dropped.\n */\n if (ns === infra_1.namespace.XML) {\n qualifiedName = 'xml:' + node.localName;\n }\n else {\n qualifiedName = node.localName;\n }\n /** 11.4. Append the value of qualified name to markup. */\n this.beginElement(qualifiedName);\n this.openTagBegin(qualifiedName);\n }\n else {\n /**\n * 12. Otherwise, inherited ns is not equal to ns (the node's own\n * namespace is different from the context namespace of its parent).\n * Run these sub-steps:\n *\n * 12.1. Let prefix be the value of node's prefix attribute.\n * 12.2. Let candidate prefix be the result of retrieving a preferred\n * prefix string prefix from map given namespace ns. The above may return\n * null if no namespace key ns exists in map.\n */\n var prefix = node.prefix;\n /**\n * We don't need to run \"retrieving a preferred prefix string\" algorithm if\n * the element has no prefix and its namespace matches to the default\n * namespace.\n * See: https://github.com/web-platform-tests/wpt/pull/16703\n */\n var candidatePrefix = null;\n if (prefix !== null || ns !== localDefaultNamespace) {\n candidatePrefix = map.get(prefix, ns);\n }\n /**\n * 12.3. If the value of prefix matches \"xmlns\", then run the following\n * steps:\n */\n if (prefix === \"xmlns\") {\n /**\n * 12.3.1. If the require well-formed flag is set, then throw an error.\n * An Element with prefix \"xmlns\" will not legally round-trip in a\n * conforming XML parser.\n */\n if (requireWellFormed) {\n throw new Error(\"An element cannot have the 'xmlns' prefix (well-formed required).\");\n }\n /**\n * 12.3.2. Let candidate prefix be the value of prefix.\n */\n candidatePrefix = prefix;\n }\n /**\n * 12.4.Found a suitable namespace prefix: if candidate prefix is not\n * null (a namespace prefix is defined which maps to ns), then:\n */\n if (candidatePrefix !== null) {\n /**\n * The following may serialize a different prefix than the Element's\n * existing prefix if it already had one. However, the retrieving a\n * preferred prefix string algorithm already tried to match the\n * existing prefix if possible.\n *\n * 12.4.1. Append to qualified name the concatenation of candidate\n * prefix, \":\" (U+003A COLON), and node's localName. There exists on\n * this node or the node's ancestry a namespace prefix definition that\n * defines the node's namespace.\n * 12.4.2. If the local default namespace is not null (there exists a\n * locally-defined default namespace declaration attribute) and its\n * value is not the XML namespace, then let inherited ns get the value\n * of local default namespace unless the local default namespace is the\n * empty string in which case let it get null (the context namespace\n * is changed to the declared default, rather than this node's own\n * namespace).\n *\n * _Note:_ Any default namespace definitions or namespace prefixes that\n * define the XML namespace are omitted when serializing this node's\n * attributes.\n */\n qualifiedName = candidatePrefix + ':' + node.localName;\n if (localDefaultNamespace !== null && localDefaultNamespace !== infra_1.namespace.XML) {\n inheritedNS = localDefaultNamespace || null;\n }\n /**\n * 12.4.3. Append the value of qualified name to markup.\n */\n this.beginElement(qualifiedName);\n this.openTagBegin(qualifiedName);\n /** 12.5. Otherwise, if prefix is not null, then: */\n }\n else if (prefix !== null) {\n /**\n * _Note:_ By this step, there is no namespace or prefix mapping\n * declaration in this node (or any parent node visited by this\n * algorithm) that defines prefix otherwise the step labelled Found\n * a suitable namespace prefix would have been followed. The sub-steps\n * that follow will create a new namespace prefix declaration for prefix\n * and ensure that prefix does not conflict with an existing namespace\n * prefix declaration of the same localName in node's attribute list.\n *\n * 12.5.1. If the local prefixes map contains a key matching prefix,\n * then let prefix be the result of generating a prefix providing as\n * input map, ns, and prefix index.\n */\n if (prefix in localPrefixesMap) {\n prefix = this._generatePrefix(ns, map, prefixIndex);\n }\n /**\n * 12.5.2. Add prefix to map given namespace ns.\n * 12.5.3. Append to qualified name the concatenation of prefix, \":\"\n * (U+003A COLON), and node's localName.\n * 12.5.4. Append the value of qualified name to markup.\n */\n map.set(prefix, ns);\n qualifiedName += prefix + ':' + node.localName;\n this.beginElement(qualifiedName);\n this.openTagBegin(qualifiedName);\n /**\n * 12.5.5. Append the following to markup, in the order listed:\n *\n * _Note:_ The following serializes a namespace prefix declaration for\n * prefix which was just added to the map.\n *\n * 12.5.5.1. \" \" (U+0020 SPACE);\n * 12.5.5.2. The string \"xmlns:\";\n * 12.5.5.3. The value of prefix;\n * 12.5.5.4. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 12.5.5.5. The result of serializing an attribute value given ns and\n * the require well-formed flag as input;\n * 12.5.5.6. \"\"\" (U+0022 QUOTATION MARK).\n */\n attributes.push([null, 'xmlns', prefix,\n this._serializeAttributeValue(ns, requireWellFormed)]);\n /**\n * 12.5.5.7. If local default namespace is not null (there exists a\n * locally-defined default namespace declaration attribute), then\n * let inherited ns get the value of local default namespace unless the\n * local default namespace is the empty string in which case let it get\n * null.\n */\n if (localDefaultNamespace !== null) {\n inheritedNS = localDefaultNamespace || null;\n }\n /**\n * 12.6. Otherwise, if local default namespace is null, or local\n * default namespace is not null and its value is not equal to ns, then:\n */\n }\n else if (localDefaultNamespace === null ||\n (localDefaultNamespace !== null && localDefaultNamespace !== ns)) {\n /**\n * _Note:_ At this point, the namespace for this node still needs to be\n * serialized, but there's no prefix (or candidate prefix) available; the\n * following uses the default namespace declaration to define the\n * namespace--optionally replacing an existing default declaration\n * if present.\n *\n * 12.6.1. Set the ignore namespace definition attribute flag to true.\n * 12.6.2. Append to qualified name the value of node's localName.\n * 12.6.3. Let the value of inherited ns be ns.\n *\n * _Note:_ The new default namespace will be used in the serialization\n * to define this node's namespace and act as the context namespace for\n * its children.\n */\n ignoreNamespaceDefinitionAttribute = true;\n qualifiedName += node.localName;\n inheritedNS = ns;\n /**\n * 12.6.4. Append the value of qualified name to markup.\n */\n this.beginElement(qualifiedName);\n this.openTagBegin(qualifiedName);\n /**\n * 12.6.5. Append the following to markup, in the order listed:\n *\n * _Note:_ The following serializes the new (or replacement) default\n * namespace definition.\n *\n * 12.6.5.1. \" \" (U+0020 SPACE);\n * 12.6.5.2. The string \"xmlns\";\n * 12.6.5.3. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 12.6.5.4. The result of serializing an attribute value given ns\n * and the require well-formed flag as input;\n * 12.6.5.5. \"\"\" (U+0022 QUOTATION MARK).\n */\n attributes.push([null, null, 'xmlns',\n this._serializeAttributeValue(ns, requireWellFormed)]);\n /**\n * 12.7. Otherwise, the node has a local default namespace that matches\n * ns. Append to qualified name the value of node's localName, let the\n * value of inherited ns be ns, and append the value of qualified name\n * to markup.\n */\n }\n else {\n qualifiedName += node.localName;\n inheritedNS = ns;\n this.beginElement(qualifiedName);\n this.openTagBegin(qualifiedName);\n }\n }\n /**\n * 13. Append to markup the result of the XML serialization of node's\n * attributes given map, prefix index, local prefixes map, ignore namespace\n * definition attribute flag, and require well-formed flag.\n */\n attributes.push.apply(attributes, __spread(this._serializeAttributesNS(node, map, prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, requireWellFormed)));\n this.attributes(attributes);\n /**\n * 14. If ns is the HTML namespace, and the node's list of children is\n * empty, and the node's localName matches any one of the following void\n * elements: \"area\", \"base\", \"basefont\", \"bgsound\", \"br\", \"col\", \"embed\",\n * \"frame\", \"hr\", \"img\", \"input\", \"keygen\", \"link\", \"menuitem\", \"meta\",\n * \"param\", \"source\", \"track\", \"wbr\"; then append the following to markup,\n * in the order listed:\n * 14.1. \" \" (U+0020 SPACE);\n * 14.2. \"/\" (U+002F SOLIDUS).\n * and set the skip end tag flag to true.\n * 15. If ns is not the HTML namespace, and the node's list of children is\n * empty, then append \"/\" (U+002F SOLIDUS) to markup and set the skip end\n * tag flag to true.\n * 16. Append \">\" (U+003E GREATER-THAN SIGN) to markup.\n */\n var isHTML = (ns === infra_1.namespace.HTML);\n if (isHTML && node.childNodes.length === 0 &&\n BaseWriter._VoidElementNames.has(node.localName)) {\n this.openTagEnd(qualifiedName, true, true);\n this.endElement(qualifiedName);\n skipEndTag = true;\n }\n else if (!isHTML && node.childNodes.length === 0) {\n this.openTagEnd(qualifiedName, true, false);\n this.endElement(qualifiedName);\n skipEndTag = true;\n }\n else {\n this.openTagEnd(qualifiedName, false, false);\n }\n /**\n * 17. If the value of skip end tag is true, then return the value of markup\n * and skip the remaining steps. The node is a leaf-node.\n */\n if (skipEndTag)\n return;\n /**\n * 18. If ns is the HTML namespace, and the node's localName matches the\n * string \"template\", then this is a template element. Append to markup the\n * result of XML serializing a DocumentFragment node given the template\n * element's template contents (a DocumentFragment), providing inherited\n * ns, map, prefix index, and the require well-formed flag.\n *\n * _Note:_ This allows template content to round-trip, given the rules for\n * parsing XHTML documents.\n *\n * 19. Otherwise, append to markup the result of running the XML\n * serialization algorithm on each of node's children, in tree order,\n * providing inherited ns, map, prefix index, and the require well-formed\n * flag.\n */\n if (isHTML && node.localName === \"template\") {\n // TODO: serialize template contents\n }\n else {\n try {\n for (var _b = __values(node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n this.level++;\n this._serializeNodeNS(childNode, inheritedNS, map, prefixIndex, requireWellFormed);\n this.level--;\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n /**\n * 20. Append the following to markup, in the order listed:\n * 20.1. \"\" (U+003E GREATER-THAN SIGN).\n * 21. Return the value of markup.\n */\n this.closeTag(qualifiedName);\n this.endElement(qualifiedName);\n };\n /**\n * Produces an XML serialization of an element node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeElement = function (node, requireWellFormed) {\n var e_3, _a;\n /**\n * From: https://w3c.github.io/DOM-Parsing/#xml-serializing-an-element-node\n *\n * 1. If the require well-formed flag is set (its value is true), and this\n * node's localName attribute contains the character \":\" (U+003A COLON) or\n * does not match the XML Name production, then throw an exception; the\n * serialization of this node would not be a well-formed element.\n */\n if (requireWellFormed && (node.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(node.localName))) {\n throw new Error(\"Node local name contains invalid characters (well-formed required).\");\n }\n /**\n * 2. Let markup be the string \"<\" (U+003C LESS-THAN SIGN).\n * 3. Let qualified name be an empty string.\n * 4. Let skip end tag be a boolean flag with value false.\n * 5. Let ignore namespace definition attribute be a boolean flag with value\n * false.\n * 6. Given prefix map, copy a namespace prefix map and let map be the\n * result.\n * 7. Let local prefixes map be an empty map. The map has unique Node prefix\n * strings as its keys, with corresponding namespaceURI Node values as the\n * map's key values (in this map, the null namespace is represented by the\n * empty string).\n *\n * _Note:_ This map is local to each element. It is used to ensure there\n * are no conflicting prefixes should a new namespace prefix attribute need\n * to be generated. It is also used to enable skipping of duplicate prefix\n * definitions when writing an element's attributes: the map allows the\n * algorithm to distinguish between a prefix in the namespace prefix map\n * that might be locally-defined (to the current Element) and one that is\n * not.\n * 8. Let local default namespace be the result of recording the namespace\n * information for node given map and local prefixes map.\n *\n * _Note:_ The above step will update map with any found namespace prefix\n * definitions, add the found prefix definitions to the local prefixes map\n * and return a local default namespace value defined by a default namespace\n * attribute if one exists. Otherwise it returns null.\n * 9. Let inherited ns be a copy of namespace.\n * 10. Let ns be the value of node's namespaceURI attribute.\n */\n var skipEndTag = false;\n /** 11. If inherited ns is equal to ns, then: */\n /**\n * 11.1. If local default namespace is not null, then set ignore\n * namespace definition attribute to true.\n */\n /**\n * 11.2. If ns is the XML namespace, then append to qualified name the\n * concatenation of the string \"xml:\" and the value of node's localName.\n * 11.3. Otherwise, append to qualified name the value of node's\n * localName. The node's prefix if it exists, is dropped.\n */\n var qualifiedName = node.localName;\n /** 11.4. Append the value of qualified name to markup. */\n this.beginElement(qualifiedName);\n this.openTagBegin(qualifiedName);\n /**\n * 13. Append to markup the result of the XML serialization of node's\n * attributes given map, prefix index, local prefixes map, ignore namespace\n * definition attribute flag, and require well-formed flag.\n */\n var attributes = this._serializeAttributes(node, requireWellFormed);\n this.attributes(attributes);\n /**\n * 14. If ns is the HTML namespace, and the node's list of children is\n * empty, and the node's localName matches any one of the following void\n * elements: \"area\", \"base\", \"basefont\", \"bgsound\", \"br\", \"col\", \"embed\",\n * \"frame\", \"hr\", \"img\", \"input\", \"keygen\", \"link\", \"menuitem\", \"meta\",\n * \"param\", \"source\", \"track\", \"wbr\"; then append the following to markup,\n * in the order listed:\n * 14.1. \" \" (U+0020 SPACE);\n * 14.2. \"/\" (U+002F SOLIDUS).\n * and set the skip end tag flag to true.\n * 15. If ns is not the HTML namespace, and the node's list of children is\n * empty, then append \"/\" (U+002F SOLIDUS) to markup and set the skip end\n * tag flag to true.\n * 16. Append \">\" (U+003E GREATER-THAN SIGN) to markup.\n */\n if (!node.hasChildNodes()) {\n this.openTagEnd(qualifiedName, true, false);\n this.endElement(qualifiedName);\n skipEndTag = true;\n }\n else {\n this.openTagEnd(qualifiedName, false, false);\n }\n /**\n * 17. If the value of skip end tag is true, then return the value of markup\n * and skip the remaining steps. The node is a leaf-node.\n */\n if (skipEndTag)\n return;\n try {\n /**\n * 18. If ns is the HTML namespace, and the node's localName matches the\n * string \"template\", then this is a template element. Append to markup the\n * result of XML serializing a DocumentFragment node given the template\n * element's template contents (a DocumentFragment), providing inherited\n * ns, map, prefix index, and the require well-formed flag.\n *\n * _Note:_ This allows template content to round-trip, given the rules for\n * parsing XHTML documents.\n *\n * 19. Otherwise, append to markup the result of running the XML\n * serialization algorithm on each of node's children, in tree order,\n * providing inherited ns, map, prefix index, and the require well-formed\n * flag.\n */\n for (var _b = __values(node._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n this.level++;\n this._serializeNode(childNode, requireWellFormed);\n this.level--;\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_3) throw e_3.error; }\n }\n /**\n * 20. Append the following to markup, in the order listed:\n * 20.1. \"\" (U+003E GREATER-THAN SIGN).\n * 21. Return the value of markup.\n */\n this.closeTag(qualifiedName);\n this.endElement(qualifiedName);\n };\n /**\n * Produces an XML serialization of a document node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeDocumentNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n var e_4, _a;\n /**\n * If the require well-formed flag is set (its value is true), and this node\n * has no documentElement (the documentElement attribute's value is null),\n * then throw an exception; the serialization of this node would not be a\n * well-formed document.\n */\n if (requireWellFormed && node.documentElement === null) {\n throw new Error(\"Missing document element (well-formed required).\");\n }\n try {\n /**\n * Otherwise, run the following steps:\n * 1. Let serialized document be an empty string.\n * 2. For each child child of node, in tree order, run the XML\n * serialization algorithm on the child passing along the provided\n * arguments, and append the result to serialized document.\n *\n * _Note:_ This will serialize any number of ProcessingInstruction and\n * Comment nodes both before and after the Document's documentElement node,\n * including at most one DocumentType node. (Text nodes are not allowed as\n * children of the Document.)\n *\n * 3. Return the value of serialized document.\n */\n for (var _b = __values(node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n this._serializeNodeNS(childNode, namespace, prefixMap, prefixIndex, requireWellFormed);\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_4) throw e_4.error; }\n }\n };\n /**\n * Produces an XML serialization of a document node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeDocument = function (node, requireWellFormed) {\n var e_5, _a;\n /**\n * If the require well-formed flag is set (its value is true), and this node\n * has no documentElement (the documentElement attribute's value is null),\n * then throw an exception; the serialization of this node would not be a\n * well-formed document.\n */\n if (requireWellFormed && node.documentElement === null) {\n throw new Error(\"Missing document element (well-formed required).\");\n }\n try {\n /**\n * Otherwise, run the following steps:\n * 1. Let serialized document be an empty string.\n * 2. For each child child of node, in tree order, run the XML\n * serialization algorithm on the child passing along the provided\n * arguments, and append the result to serialized document.\n *\n * _Note:_ This will serialize any number of ProcessingInstruction and\n * Comment nodes both before and after the Document's documentElement node,\n * including at most one DocumentType node. (Text nodes are not allowed as\n * children of the Document.)\n *\n * 3. Return the value of serialized document.\n */\n for (var _b = __values(node._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n this._serializeNode(childNode, requireWellFormed);\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_5) throw e_5.error; }\n }\n };\n /**\n * Produces an XML serialization of a comment node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeComment = function (node, requireWellFormed) {\n /**\n * If the require well-formed flag is set (its value is true), and node's\n * data contains characters that are not matched by the XML Char production\n * or contains \"--\" (two adjacent U+002D HYPHEN-MINUS characters) or that\n * ends with a \"-\" (U+002D HYPHEN-MINUS) character, then throw an exception;\n * the serialization of this node's data would not be well-formed.\n */\n if (requireWellFormed && (!algorithm_1.xml_isLegalChar(node.data) ||\n node.data.indexOf(\"--\") !== -1 || node.data.endsWith(\"-\"))) {\n throw new Error(\"Comment data contains invalid characters (well-formed required).\");\n }\n /**\n * Otherwise, return the concatenation of \"\".\n */\n this.comment(node.data);\n };\n /**\n * Produces an XML serialization of a text node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n * @param level - current depth of the XML tree\n */\n BaseWriter.prototype._serializeText = function (node, requireWellFormed) {\n /**\n * 1. If the require well-formed flag is set (its value is true), and\n * node's data contains characters that are not matched by the XML Char\n * production, then throw an exception; the serialization of this node's\n * data would not be well-formed.\n */\n if (requireWellFormed && !algorithm_1.xml_isLegalChar(node.data)) {\n throw new Error(\"Text data contains invalid characters (well-formed required).\");\n }\n /**\n * 2. Let markup be the value of node's data.\n * 3. Replace any occurrences of \"&\" in markup by \"&\".\n * 4. Replace any occurrences of \"<\" in markup by \"<\".\n * 5. Replace any occurrences of \">\" in markup by \">\".\n * 6. Return the value of markup.\n */\n var markup = node.data.replace(/(?!&([^&;]*);)&/g, '&')\n .replace(//g, '>');\n this.text(markup);\n };\n /**\n * Produces an XML serialization of a document fragment node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeDocumentFragmentNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n var e_6, _a;\n try {\n /**\n * 1. Let markup the empty string.\n * 2. For each child child of node, in tree order, run the XML serialization\n * algorithm on the child given namespace, prefix map, a reference to prefix\n * index, and flag require well-formed. Concatenate the result to markup.\n * 3. Return the value of markup.\n */\n for (var _b = __values(node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n this._serializeNodeNS(childNode, namespace, prefixMap, prefixIndex, requireWellFormed);\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_6) throw e_6.error; }\n }\n };\n /**\n * Produces an XML serialization of a document fragment node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeDocumentFragment = function (node, requireWellFormed) {\n var e_7, _a;\n try {\n /**\n * 1. Let markup the empty string.\n * 2. For each child child of node, in tree order, run the XML serialization\n * algorithm on the child given namespace, prefix map, a reference to prefix\n * index, and flag require well-formed. Concatenate the result to markup.\n * 3. Return the value of markup.\n */\n for (var _b = __values(node._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n this._serializeNode(childNode, requireWellFormed);\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_7) throw e_7.error; }\n }\n };\n /**\n * Produces an XML serialization of a document type node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeDocumentType = function (node, requireWellFormed) {\n /**\n * 1. If the require well-formed flag is true and the node's publicId\n * attribute contains characters that are not matched by the XML PubidChar\n * production, then throw an exception; the serialization of this node\n * would not be a well-formed document type declaration.\n */\n if (requireWellFormed && !algorithm_1.xml_isPubidChar(node.publicId)) {\n throw new Error(\"DocType public identifier does not match PubidChar construct (well-formed required).\");\n }\n /**\n * 2. If the require well-formed flag is true and the node's systemId\n * attribute contains characters that are not matched by the XML Char\n * production or that contains both a \"\"\" (U+0022 QUOTATION MARK) and a\n * \"'\" (U+0027 APOSTROPHE), then throw an exception; the serialization\n * of this node would not be a well-formed document type declaration.\n */\n if (requireWellFormed &&\n (!algorithm_1.xml_isLegalChar(node.systemId) ||\n (node.systemId.indexOf('\"') !== -1 && node.systemId.indexOf(\"'\") !== -1))) {\n throw new Error(\"DocType system identifier contains invalid characters (well-formed required).\");\n }\n /**\n * 3. Let markup be an empty string.\n * 4. Append the string \"\" (U+003E GREATER-THAN SIGN) to markup.\n * 11. Return the value of markup.\n */\n this.docType(node.name, node.publicId, node.systemId);\n };\n /**\n * Produces an XML serialization of a processing instruction node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeProcessingInstruction = function (node, requireWellFormed) {\n /**\n * 1. If the require well-formed flag is set (its value is true), and node's\n * target contains a \":\" (U+003A COLON) character or is an ASCII\n * case-insensitive match for the string \"xml\", then throw an exception;\n * the serialization of this node's target would not be well-formed.\n */\n if (requireWellFormed && (node.target.indexOf(\":\") !== -1 || (/^xml$/i).test(node.target))) {\n throw new Error(\"Processing instruction target contains invalid characters (well-formed required).\");\n }\n /**\n * 2. If the require well-formed flag is set (its value is true), and node's\n * data contains characters that are not matched by the XML Char production\n * or contains the string \"?>\" (U+003F QUESTION MARK,\n * U+003E GREATER-THAN SIGN), then throw an exception; the serialization of\n * this node's data would not be well-formed.\n */\n if (requireWellFormed && (!algorithm_1.xml_isLegalChar(node.data) ||\n node.data.indexOf(\"?>\") !== -1)) {\n throw new Error(\"Processing instruction data contains invalid characters (well-formed required).\");\n }\n /**\n * 3. Let markup be the concatenation of the following, in the order listed:\n * 3.1. \"\" (U+003F QUESTION MARK, U+003E GREATER-THAN SIGN).\n * 4. Return the value of markup.\n */\n this.instruction(node.target, node.data);\n };\n /**\n * Produces an XML serialization of a CDATA node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeCData = function (node, requireWellFormed) {\n if (requireWellFormed && (node.data.indexOf(\"]]>\") !== -1)) {\n throw new Error(\"CDATA contains invalid characters (well-formed required).\");\n }\n this.cdata(node.data);\n };\n /**\n * Produces an XML serialization of the attributes of an element node.\n *\n * @param node - node to serialize\n * @param map - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param localPrefixesMap - local prefixes map\n * @param ignoreNamespaceDefinitionAttribute - whether to ignore namespace\n * attributes\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeAttributesNS = function (node, map, prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, requireWellFormed) {\n var e_8, _a;\n /**\n * 1. Let result be the empty string.\n * 2. Let localname set be a new empty namespace localname set. This\n * localname set will contain tuples of unique attribute namespaceURI and\n * localName pairs, and is populated as each attr is processed. This set is\n * used to [optionally] enforce the well-formed constraint that an element\n * cannot have two attributes with the same namespaceURI and localName.\n * This can occur when two otherwise identical attributes on the same\n * element differ only by their prefix values.\n */\n var result = [];\n var localNameSet = requireWellFormed ? new LocalNameSet_1.LocalNameSet() : undefined;\n try {\n /**\n * 3. Loop: For each attribute attr in element's attributes, in the order\n * they are specified in the element's attribute list:\n */\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n // Optimize common case\n if (!requireWellFormed && !ignoreNamespaceDefinitionAttribute && attr.namespaceURI === null) {\n result.push([null, null, attr.localName,\n this._serializeAttributeValue(attr.value, requireWellFormed)]);\n continue;\n }\n /**\n * 3.1. If the require well-formed flag is set (its value is true), and the\n * localname set contains a tuple whose values match those of a new tuple\n * consisting of attr's namespaceURI attribute and localName attribute,\n * then throw an exception; the serialization of this attr would fail to\n * produce a well-formed element serialization.\n */\n if (requireWellFormed && localNameSet && localNameSet.has(attr.namespaceURI, attr.localName)) {\n throw new Error(\"Element contains duplicate attributes (well-formed required).\");\n }\n /**\n * 3.2. Create a new tuple consisting of attr's namespaceURI attribute and\n * localName attribute, and add it to the localname set.\n * 3.3. Let attribute namespace be the value of attr's namespaceURI value.\n * 3.4. Let candidate prefix be null.\n */\n if (requireWellFormed && localNameSet)\n localNameSet.set(attr.namespaceURI, attr.localName);\n var attributeNamespace = attr.namespaceURI;\n var candidatePrefix = null;\n /** 3.5. If attribute namespace is not null, then run these sub-steps: */\n if (attributeNamespace !== null) {\n /**\n * 3.5.1. Let candidate prefix be the result of retrieving a preferred\n * prefix string from map given namespace attribute namespace with\n * preferred prefix being attr's prefix value.\n */\n candidatePrefix = map.get(attr.prefix, attributeNamespace);\n /**\n * 3.5.2. If the value of attribute namespace is the XMLNS namespace,\n * then run these steps:\n */\n if (attributeNamespace === infra_1.namespace.XMLNS) {\n /**\n * 3.5.2.1. If any of the following are true, then stop running these\n * steps and goto Loop to visit the next attribute:\n * - the attr's value is the XML namespace;\n * _Note:_ The XML namespace cannot be redeclared and survive\n * round-tripping (unless it defines the prefix \"xml\"). To avoid this\n * problem, this algorithm always prefixes elements in the XML\n * namespace with \"xml\" and drops any related definitions as seen\n * in the above condition.\n * - the attr's prefix is null and the ignore namespace definition\n * attribute flag is true (the Element's default namespace attribute\n * should be skipped);\n * - the attr's prefix is not null and either\n * * the attr's localName is not a key contained in the local\n * prefixes map, or\n * * the attr's localName is present in the local prefixes map but\n * the value of the key does not match attr's value\n * and furthermore that the attr's localName (as the prefix to find)\n * is found in the namespace prefix map given the namespace consisting\n * of the attr's value (the current namespace prefix definition was\n * exactly defined previously--on an ancestor element not the current\n * element whose attributes are being processed).\n */\n if (attr.value === infra_1.namespace.XML ||\n (attr.prefix === null && ignoreNamespaceDefinitionAttribute) ||\n (attr.prefix !== null && (!(attr.localName in localPrefixesMap) ||\n localPrefixesMap[attr.localName] !== attr.value) &&\n map.has(attr.localName, attr.value)))\n continue;\n /**\n * 3.5.2.2. If the require well-formed flag is set (its value is true),\n * and the value of attr's value attribute matches the XMLNS\n * namespace, then throw an exception; the serialization of this\n * attribute would produce invalid XML because the XMLNS namespace\n * is reserved and cannot be applied as an element's namespace via\n * XML parsing.\n *\n * _Note:_ DOM APIs do allow creation of elements in the XMLNS\n * namespace but with strict qualifications.\n */\n if (requireWellFormed && attr.value === infra_1.namespace.XMLNS) {\n throw new Error(\"XMLNS namespace is reserved (well-formed required).\");\n }\n /**\n * 3.5.2.3. If the require well-formed flag is set (its value is true),\n * and the value of attr's value attribute is the empty string, then\n * throw an exception; namespace prefix declarations cannot be used\n * to undeclare a namespace (use a default namespace declaration\n * instead).\n */\n if (requireWellFormed && attr.value === '') {\n throw new Error(\"Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).\");\n }\n /**\n * 3.5.2.4. the attr's prefix matches the string \"xmlns\", then let\n * candidate prefix be the string \"xmlns\".\n */\n if (attr.prefix === 'xmlns')\n candidatePrefix = 'xmlns';\n /**\n * 3.5.3. Otherwise, the attribute namespace is not the XMLNS namespace.\n * Run these steps:\n *\n * _Note:_ The (candidatePrefix === null) check is not in the spec.\n * We deviate from the spec here. Otherwise a prefix is generated for\n * all attributes with namespaces.\n */\n }\n else if (candidatePrefix === null) {\n if (attr.prefix !== null &&\n (!map.hasPrefix(attr.prefix) ||\n map.has(attr.prefix, attributeNamespace))) {\n /**\n * Check if we can use the attribute's own prefix.\n * We deviate from the spec here.\n * TODO: This is not an efficient way of searching for prefixes.\n * Follow developments to the spec.\n */\n candidatePrefix = attr.prefix;\n }\n else {\n /**\n * 3.5.3.1. Let candidate prefix be the result of generating a prefix\n * providing map, attribute namespace, and prefix index as input.\n */\n candidatePrefix = this._generatePrefix(attributeNamespace, map, prefixIndex);\n }\n /**\n * 3.5.3.2. Append the following to result, in the order listed:\n * 3.5.3.2.1. \" \" (U+0020 SPACE);\n * 3.5.3.2.2. The string \"xmlns:\";\n * 3.5.3.2.3. The value of candidate prefix;\n * 3.5.3.2.4. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 3.5.3.2.5. The result of serializing an attribute value given\n * attribute namespace and the require well-formed flag as input;\n * 3.5.3.2.6. \"\"\" (U+0022 QUOTATION MARK).\n */\n result.push([null, \"xmlns\", candidatePrefix,\n this._serializeAttributeValue(attributeNamespace, requireWellFormed)]);\n }\n }\n /**\n * 3.6. Append a \" \" (U+0020 SPACE) to result.\n * 3.7. If candidate prefix is not null, then append to result the\n * concatenation of candidate prefix with \":\" (U+003A COLON).\n */\n var attrName = '';\n if (candidatePrefix !== null) {\n attrName = candidatePrefix;\n }\n /**\n * 3.8. If the require well-formed flag is set (its value is true), and\n * this attr's localName attribute contains the character\n * \":\" (U+003A COLON) or does not match the XML Name production or\n * equals \"xmlns\" and attribute namespace is null, then throw an\n * exception; the serialization of this attr would not be a\n * well-formed attribute.\n */\n if (requireWellFormed && (attr.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(attr.localName) ||\n (attr.localName === \"xmlns\" && attributeNamespace === null))) {\n throw new Error(\"Attribute local name contains invalid characters (well-formed required).\");\n }\n /**\n * 3.9. Append the following strings to result, in the order listed:\n * 3.9.1. The value of attr's localName;\n * 3.9.2. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 3.9.3. The result of serializing an attribute value given attr's value\n * attribute and the require well-formed flag as input;\n * 3.9.4. \"\"\" (U+0022 QUOTATION MARK).\n */\n result.push([attributeNamespace, candidatePrefix, attr.localName,\n this._serializeAttributeValue(attr.value, requireWellFormed)]);\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_8) throw e_8.error; }\n }\n /**\n * 4. Return the value of result.\n */\n return result;\n };\n /**\n * Produces an XML serialization of the attributes of an element node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeAttributes = function (node, requireWellFormed) {\n var e_9, _a;\n /**\n * 1. Let result be the empty string.\n * 2. Let localname set be a new empty namespace localname set. This\n * localname set will contain tuples of unique attribute namespaceURI and\n * localName pairs, and is populated as each attr is processed. This set is\n * used to [optionally] enforce the well-formed constraint that an element\n * cannot have two attributes with the same namespaceURI and localName.\n * This can occur when two otherwise identical attributes on the same\n * element differ only by their prefix values.\n */\n var result = [];\n var localNameSet = requireWellFormed ? {} : undefined;\n try {\n /**\n * 3. Loop: For each attribute attr in element's attributes, in the order\n * they are specified in the element's attribute list:\n */\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n // Optimize common case\n if (!requireWellFormed) {\n result.push([null, null, attr.localName,\n this._serializeAttributeValue(attr.value, requireWellFormed)]);\n continue;\n }\n /**\n * 3.1. If the require well-formed flag is set (its value is true), and the\n * localname set contains a tuple whose values match those of a new tuple\n * consisting of attr's namespaceURI attribute and localName attribute,\n * then throw an exception; the serialization of this attr would fail to\n * produce a well-formed element serialization.\n */\n if (requireWellFormed && localNameSet && (attr.localName in localNameSet)) {\n throw new Error(\"Element contains duplicate attributes (well-formed required).\");\n }\n /**\n * 3.2. Create a new tuple consisting of attr's namespaceURI attribute and\n * localName attribute, and add it to the localname set.\n * 3.3. Let attribute namespace be the value of attr's namespaceURI value.\n * 3.4. Let candidate prefix be null.\n */\n /* istanbul ignore else */\n if (requireWellFormed && localNameSet)\n localNameSet[attr.localName] = true;\n /** 3.5. If attribute namespace is not null, then run these sub-steps: */\n /**\n * 3.6. Append a \" \" (U+0020 SPACE) to result.\n * 3.7. If candidate prefix is not null, then append to result the\n * concatenation of candidate prefix with \":\" (U+003A COLON).\n */\n /**\n * 3.8. If the require well-formed flag is set (its value is true), and\n * this attr's localName attribute contains the character\n * \":\" (U+003A COLON) or does not match the XML Name production or\n * equals \"xmlns\" and attribute namespace is null, then throw an\n * exception; the serialization of this attr would not be a\n * well-formed attribute.\n */\n if (requireWellFormed && (attr.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(attr.localName))) {\n throw new Error(\"Attribute local name contains invalid characters (well-formed required).\");\n }\n /**\n * 3.9. Append the following strings to result, in the order listed:\n * 3.9.1. The value of attr's localName;\n * 3.9.2. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 3.9.3. The result of serializing an attribute value given attr's value\n * attribute and the require well-formed flag as input;\n * 3.9.4. \"\"\" (U+0022 QUOTATION MARK).\n */\n result.push([null, null, attr.localName,\n this._serializeAttributeValue(attr.value, requireWellFormed)]);\n }\n }\n catch (e_9_1) { e_9 = { error: e_9_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_9) throw e_9.error; }\n }\n /**\n * 4. Return the value of result.\n */\n return result;\n };\n /**\n * Records namespace information for the given element and returns the\n * default namespace attribute value.\n *\n * @param node - element node to process\n * @param map - namespace prefix map\n * @param localPrefixesMap - local prefixes map\n */\n BaseWriter.prototype._recordNamespaceInformation = function (node, map, localPrefixesMap) {\n var e_10, _a;\n /**\n * 1. Let default namespace attr value be null.\n */\n var defaultNamespaceAttrValue = null;\n try {\n /**\n * 2. Main: For each attribute attr in element's attributes, in the order\n * they are specified in the element's attribute list:\n */\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n /**\n * _Note:_ The following conditional steps find namespace prefixes. Only\n * attributes in the XMLNS namespace are considered (e.g., attributes made\n * to look like namespace declarations via\n * setAttribute(\"xmlns:pretend-prefix\", \"pretend-namespace\") are not\n * included).\n */\n /** 2.1. Let attribute namespace be the value of attr's namespaceURI value. */\n var attributeNamespace = attr.namespaceURI;\n /** 2.2. Let attribute prefix be the value of attr's prefix. */\n var attributePrefix = attr.prefix;\n /** 2.3. If the attribute namespace is the XMLNS namespace, then: */\n if (attributeNamespace === infra_1.namespace.XMLNS) {\n /**\n * 2.3.1. If attribute prefix is null, then attr is a default namespace\n * declaration. Set the default namespace attr value to attr's value and\n * stop running these steps, returning to Main to visit the next\n * attribute.\n */\n if (attributePrefix === null) {\n defaultNamespaceAttrValue = attr.value;\n continue;\n /**\n * 2.3.2. Otherwise, the attribute prefix is not null and attr is a\n * namespace prefix definition. Run the following steps:\n */\n }\n else {\n /** 2.3.2.1. Let prefix definition be the value of attr's localName. */\n var prefixDefinition = attr.localName;\n /** 2.3.2.2. Let namespace definition be the value of attr's value. */\n var namespaceDefinition = attr.value;\n /**\n * 2.3.2.3. If namespace definition is the XML namespace, then stop\n * running these steps, and return to Main to visit the next\n * attribute.\n *\n * _Note:_ XML namespace definitions in prefixes are completely\n * ignored (in order to avoid unnecessary work when there might be\n * prefix conflicts). XML namespaced elements are always handled\n * uniformly by prefixing (and overriding if necessary) the element's\n * localname with the reserved \"xml\" prefix.\n */\n if (namespaceDefinition === infra_1.namespace.XML) {\n continue;\n }\n /**\n * 2.3.2.4. If namespace definition is the empty string (the\n * declarative form of having no namespace), then let namespace\n * definition be null instead.\n */\n if (namespaceDefinition === '') {\n namespaceDefinition = null;\n }\n /**\n * 2.3.2.5. If prefix definition is found in map given the namespace\n * namespace definition, then stop running these steps, and return to\n * Main to visit the next attribute.\n *\n * _Note:_ This step avoids adding duplicate prefix definitions for\n * the same namespace in the map. This has the side-effect of avoiding\n * later serialization of duplicate namespace prefix declarations in\n * any descendant nodes.\n */\n if (map.has(prefixDefinition, namespaceDefinition)) {\n continue;\n }\n /**\n * 2.3.2.6. Add the prefix prefix definition to map given namespace\n * namespace definition.\n */\n map.set(prefixDefinition, namespaceDefinition);\n /**\n * 2.3.2.7. Add the value of prefix definition as a new key to the\n * local prefixes map, with the namespace definition as the key's\n * value replacing the value of null with the empty string if\n * applicable.\n */\n localPrefixesMap[prefixDefinition] = namespaceDefinition || '';\n }\n }\n }\n }\n catch (e_10_1) { e_10 = { error: e_10_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_10) throw e_10.error; }\n }\n /**\n * 3. Return the value of default namespace attr value.\n *\n * _Note:_ The empty string is a legitimate return value and is not\n * converted to null.\n */\n return defaultNamespaceAttrValue;\n };\n /**\n * Generates a new prefix for the given namespace.\n *\n * @param newNamespace - a namespace to generate prefix for\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n */\n BaseWriter.prototype._generatePrefix = function (newNamespace, prefixMap, prefixIndex) {\n /**\n * 1. Let generated prefix be the concatenation of the string \"ns\" and the\n * current numerical value of prefix index.\n * 2. Let the value of prefix index be incremented by one.\n * 3. Add to map the generated prefix given the new namespace namespace.\n * 4. Return the value of generated prefix.\n */\n var generatedPrefix = \"ns\" + prefixIndex.value.toString();\n prefixIndex.value++;\n prefixMap.set(generatedPrefix, newNamespace);\n return generatedPrefix;\n };\n /**\n * Produces an XML serialization of an attribute value.\n *\n * @param value - attribute value\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeAttributeValue = function (value, requireWellFormed) {\n /**\n * From: https://w3c.github.io/DOM-Parsing/#dfn-serializing-an-attribute-value\n *\n * 1. If the require well-formed flag is set (its value is true), and\n * attribute value contains characters that are not matched by the XML Char\n * production, then throw an exception; the serialization of this attribute\n * value would fail to produce a well-formed element serialization.\n */\n if (requireWellFormed && value !== null && !algorithm_1.xml_isLegalChar(value)) {\n throw new Error(\"Invalid characters in attribute value.\");\n }\n /**\n * 2. If attribute value is null, then return the empty string.\n */\n if (value === null)\n return \"\";\n /**\n * 3. Otherwise, attribute value is a string. Return the value of attribute\n * value, first replacing any occurrences of the following:\n * - \"&\" with \"&\"\n * - \"\"\" with \""\"\n * - \"<\" with \"<\"\n * - \">\" with \">\"\n * NOTE\n * This matches behavior present in browsers, and goes above and beyond the\n * grammar requirement in the XML specification's AttValue production by\n * also replacing \">\" characters.\n */\n return value.replace(/(?!&([^&;]*);)&/g, '&')\n .replace(//g, '>')\n .replace(/\"/g, '"');\n };\n BaseWriter._VoidElementNames = new Set(['area', 'base', 'basefont',\n 'bgsound', 'br', 'col', 'embed', 'frame', 'hr', 'img', 'input', 'keygen',\n 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr']);\n return BaseWriter;\n}());\nexports.BaseWriter = BaseWriter;\n//# sourceMappingURL=BaseWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BaseCBWriter_1 = require(\"./BaseCBWriter\");\n/**\n * Serializes XML nodes.\n */\nvar JSONCBWriter = /** @class */ (function (_super) {\n __extends(JSONCBWriter, _super);\n /**\n * Initializes a new instance of `JSONCBWriter`.\n *\n * @param builderOptions - XML builder options\n */\n function JSONCBWriter(builderOptions) {\n var _this = _super.call(this, builderOptions) || this;\n _this._hasChildren = [];\n _this._additionalLevel = 0;\n return _this;\n }\n /** @inheritdoc */\n JSONCBWriter.prototype.frontMatter = function () {\n return \"\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.declaration = function (version, encoding, standalone) {\n return \"\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.docType = function (name, publicId, systemId) {\n return \"\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.comment = function (data) {\n // { \"!\": \"hello\" }\n return this._comma() + this._beginLine() + \"{\" + this._sep() +\n this._key(this._builderOptions.convert.comment) + this._sep() +\n this._val(data) + this._sep() + \"}\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.text = function (data) {\n // { \"#\": \"hello\" }\n return this._comma() + this._beginLine() + \"{\" + this._sep() +\n this._key(this._builderOptions.convert.text) + this._sep() +\n this._val(data) + this._sep() + \"}\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.instruction = function (target, data) {\n // { \"?\": \"target hello\" }\n return this._comma() + this._beginLine() + \"{\" + this._sep() +\n this._key(this._builderOptions.convert.ins) + this._sep() +\n this._val(data ? target + \" \" + data : target) + this._sep() + \"}\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.cdata = function (data) {\n // { \"$\": \"hello\" }\n return this._comma() + this._beginLine() + \"{\" + this._sep() +\n this._key(this._builderOptions.convert.cdata) + this._sep() +\n this._val(data) + this._sep() + \"}\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.attribute = function (name, value) {\n // { \"@name\": \"val\" }\n return this._comma() + this._beginLine(1) + \"{\" + this._sep() +\n this._key(this._builderOptions.convert.att + name) + this._sep() +\n this._val(value) + this._sep() + \"}\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.openTagBegin = function (name) {\n // { \"node\": { \"#\": [\n var str = this._comma() + this._beginLine() + \"{\" + this._sep() + this._key(name) + this._sep() + \"{\";\n this._additionalLevel++;\n this.hasData = true;\n str += this._beginLine() + this._key(this._builderOptions.convert.text) + this._sep() + \"[\";\n this._hasChildren.push(false);\n return str;\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.openTagEnd = function (name, selfClosing, voidElement) {\n if (selfClosing) {\n var str = this._sep() + \"]\";\n this._additionalLevel--;\n str += this._beginLine() + \"}\" + this._sep() + \"}\";\n return str;\n }\n else {\n return \"\";\n }\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.closeTag = function (name) {\n // ] } }\n var str = this._beginLine() + \"]\";\n this._additionalLevel--;\n str += this._beginLine() + \"}\" + this._sep() + \"}\";\n return str;\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.beginElement = function (name) { };\n /** @inheritdoc */\n JSONCBWriter.prototype.endElement = function (name) { this._hasChildren.pop(); };\n /**\n * Produces characters to be prepended to a line of string in pretty-print\n * mode.\n */\n JSONCBWriter.prototype._beginLine = function (additionalOffset) {\n if (additionalOffset === void 0) { additionalOffset = 0; }\n if (this._writerOptions.prettyPrint) {\n return (this.hasData ? this._writerOptions.newline : \"\") +\n this._indent(this._writerOptions.offset + this.level + additionalOffset);\n }\n else {\n return \"\";\n }\n };\n /**\n * Produces an indentation string.\n *\n * @param level - depth of the tree\n */\n JSONCBWriter.prototype._indent = function (level) {\n if (level + this._additionalLevel <= 0) {\n return \"\";\n }\n else {\n return this._writerOptions.indent.repeat(level + this._additionalLevel);\n }\n };\n /**\n * Produces a comma before a child node if it has previous siblings.\n */\n JSONCBWriter.prototype._comma = function () {\n var str = (this._hasChildren[this._hasChildren.length - 1] ? \",\" : \"\");\n if (this._hasChildren.length > 0) {\n this._hasChildren[this._hasChildren.length - 1] = true;\n }\n return str;\n };\n /**\n * Produces a separator string.\n */\n JSONCBWriter.prototype._sep = function () {\n return (this._writerOptions.prettyPrint ? \" \" : \"\");\n };\n /**\n * Produces a JSON key string delimited with double quotes.\n */\n JSONCBWriter.prototype._key = function (key) {\n return \"\\\"\" + key + \"\\\":\";\n };\n /**\n * Produces a JSON value string delimited with double quotes.\n */\n JSONCBWriter.prototype._val = function (val) {\n return JSON.stringify(val);\n };\n return JSONCBWriter;\n}(BaseCBWriter_1.BaseCBWriter));\nexports.JSONCBWriter = JSONCBWriter;\n//# sourceMappingURL=JSONCBWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ObjectWriter_1 = require(\"./ObjectWriter\");\nvar util_1 = require(\"@oozcitak/util\");\nvar BaseWriter_1 = require(\"./BaseWriter\");\n/**\n * Serializes XML nodes into a JSON string.\n */\nvar JSONWriter = /** @class */ (function (_super) {\n __extends(JSONWriter, _super);\n /**\n * Initializes a new instance of `JSONWriter`.\n *\n * @param builderOptions - XML builder options\n * @param writerOptions - serialization options\n */\n function JSONWriter(builderOptions, writerOptions) {\n var _this = _super.call(this, builderOptions) || this;\n // provide default options\n _this._writerOptions = util_1.applyDefaults(writerOptions, {\n wellFormed: false,\n prettyPrint: false,\n indent: ' ',\n newline: '\\n',\n offset: 0,\n group: false,\n verbose: false\n });\n return _this;\n }\n /**\n * Produces an XML serialization of the given node.\n *\n * @param node - node to serialize\n * @param writerOptions - serialization options\n */\n JSONWriter.prototype.serialize = function (node) {\n // convert to object\n var objectWriterOptions = util_1.applyDefaults(this._writerOptions, {\n format: \"object\",\n wellFormed: false\n });\n var objectWriter = new ObjectWriter_1.ObjectWriter(this._builderOptions, objectWriterOptions);\n var val = objectWriter.serialize(node);\n // recursively convert object into JSON string\n return this._beginLine(this._writerOptions, 0) + this._convertObject(val, this._writerOptions);\n };\n /**\n * Produces an XML serialization of the given object.\n *\n * @param obj - object to serialize\n * @param options - serialization options\n * @param level - depth of the XML tree\n */\n JSONWriter.prototype._convertObject = function (obj, options, level) {\n var e_1, _a;\n var _this = this;\n if (level === void 0) { level = 0; }\n var markup = '';\n var isLeaf = this._isLeafNode(obj);\n if (util_1.isArray(obj)) {\n markup += '[';\n var len = obj.length;\n var i = 0;\n try {\n for (var obj_1 = __values(obj), obj_1_1 = obj_1.next(); !obj_1_1.done; obj_1_1 = obj_1.next()) {\n var val = obj_1_1.value;\n markup += this._endLine(options, level + 1) +\n this._beginLine(options, level + 1) +\n this._convertObject(val, options, level + 1);\n if (i < len - 1) {\n markup += ',';\n }\n i++;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (obj_1_1 && !obj_1_1.done && (_a = obj_1.return)) _a.call(obj_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n markup += this._endLine(options, level) + this._beginLine(options, level);\n markup += ']';\n }\n else if (util_1.isObject(obj)) {\n markup += '{';\n var len_1 = util_1.objectLength(obj);\n var i_1 = 0;\n util_1.forEachObject(obj, function (key, val) {\n if (isLeaf && options.prettyPrint) {\n markup += ' ';\n }\n else {\n markup += _this._endLine(options, level + 1) + _this._beginLine(options, level + 1);\n }\n markup += _this._key(key);\n if (options.prettyPrint) {\n markup += ' ';\n }\n markup += _this._convertObject(val, options, level + 1);\n if (i_1 < len_1 - 1) {\n markup += ',';\n }\n i_1++;\n }, this);\n if (isLeaf && options.prettyPrint) {\n markup += ' ';\n }\n else {\n markup += this._endLine(options, level) + this._beginLine(options, level);\n }\n markup += '}';\n }\n else {\n markup += this._val(obj);\n }\n return markup;\n };\n /**\n * Produces characters to be prepended to a line of string in pretty-print\n * mode.\n *\n * @param options - serialization options\n * @param level - current depth of the XML tree\n */\n JSONWriter.prototype._beginLine = function (options, level) {\n if (!options.prettyPrint) {\n return '';\n }\n else {\n var indentLevel = options.offset + level + 1;\n if (indentLevel > 0) {\n return new Array(indentLevel).join(options.indent);\n }\n }\n return '';\n };\n /**\n * Produces characters to be appended to a line of string in pretty-print\n * mode.\n *\n * @param options - serialization options\n * @param level - current depth of the XML tree\n */\n JSONWriter.prototype._endLine = function (options, level) {\n if (!options.prettyPrint) {\n return '';\n }\n else {\n return options.newline;\n }\n };\n /**\n * Produces a JSON key string delimited with double quotes.\n */\n JSONWriter.prototype._key = function (key) {\n return \"\\\"\" + key + \"\\\":\";\n };\n /**\n * Produces a JSON value string delimited with double quotes.\n */\n JSONWriter.prototype._val = function (val) {\n return JSON.stringify(val);\n };\n /**\n * Determines if an object is a leaf node.\n *\n * @param obj\n */\n JSONWriter.prototype._isLeafNode = function (obj) {\n return this._descendantCount(obj) <= 1;\n };\n /**\n * Counts the number of descendants of the given object.\n *\n * @param obj\n * @param count\n */\n JSONWriter.prototype._descendantCount = function (obj, count) {\n var _this = this;\n if (count === void 0) { count = 0; }\n if (util_1.isArray(obj)) {\n util_1.forEachArray(obj, function (val) { return count += _this._descendantCount(val, count); }, this);\n }\n else if (util_1.isObject(obj)) {\n util_1.forEachObject(obj, function (key, val) { return count += _this._descendantCount(val, count); }, this);\n }\n else {\n count++;\n }\n return count;\n };\n return JSONWriter;\n}(BaseWriter_1.BaseWriter));\nexports.JSONWriter = JSONWriter;\n//# sourceMappingURL=JSONWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar ObjectWriter_1 = require(\"./ObjectWriter\");\nvar BaseWriter_1 = require(\"./BaseWriter\");\n/**\n * Serializes XML nodes into ES6 maps and arrays.\n */\nvar MapWriter = /** @class */ (function (_super) {\n __extends(MapWriter, _super);\n /**\n * Initializes a new instance of `MapWriter`.\n *\n * @param builderOptions - XML builder options\n * @param writerOptions - serialization options\n */\n function MapWriter(builderOptions, writerOptions) {\n var _this = _super.call(this, builderOptions) || this;\n // provide default options\n _this._writerOptions = util_1.applyDefaults(writerOptions, {\n format: \"map\",\n wellFormed: false,\n group: false,\n verbose: false\n });\n return _this;\n }\n /**\n * Produces an XML serialization of the given node.\n *\n * @param node - node to serialize\n */\n MapWriter.prototype.serialize = function (node) {\n // convert to object\n var objectWriterOptions = util_1.applyDefaults(this._writerOptions, {\n format: \"object\",\n wellFormed: false,\n verbose: false\n });\n var objectWriter = new ObjectWriter_1.ObjectWriter(this._builderOptions, objectWriterOptions);\n var val = objectWriter.serialize(node);\n // recursively convert object into Map\n return this._convertObject(val);\n };\n /**\n * Recursively converts a JS object into an ES5 map.\n *\n * @param obj - a JS object\n */\n MapWriter.prototype._convertObject = function (obj) {\n if (util_1.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n obj[i] = this._convertObject(obj[i]);\n }\n return obj;\n }\n else if (util_1.isObject(obj)) {\n var map = new Map();\n for (var key in obj) {\n map.set(key, this._convertObject(obj[key]));\n }\n return map;\n }\n else {\n return obj;\n }\n };\n return MapWriter;\n}(BaseWriter_1.BaseWriter));\nexports.MapWriter = MapWriter;\n//# sourceMappingURL=MapWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar interfaces_1 = require(\"@oozcitak/dom/lib/dom/interfaces\");\nvar BaseWriter_1 = require(\"./BaseWriter\");\n/**\n * Serializes XML nodes into objects and arrays.\n */\nvar ObjectWriter = /** @class */ (function (_super) {\n __extends(ObjectWriter, _super);\n /**\n * Initializes a new instance of `ObjectWriter`.\n *\n * @param builderOptions - XML builder options\n * @param writerOptions - serialization options\n */\n function ObjectWriter(builderOptions, writerOptions) {\n var _this = _super.call(this, builderOptions) || this;\n _this._writerOptions = util_1.applyDefaults(writerOptions, {\n format: \"object\",\n wellFormed: false,\n group: false,\n verbose: false\n });\n return _this;\n }\n /**\n * Produces an XML serialization of the given node.\n *\n * @param node - node to serialize\n */\n ObjectWriter.prototype.serialize = function (node) {\n this._currentList = [];\n this._currentIndex = 0;\n this._listRegister = [this._currentList];\n /**\n * First pass, serialize nodes\n * This creates a list of nodes grouped under node types while preserving\n * insertion order. For example:\n * [\n * root: [\n * node: [\n * { \"@\" : { \"att1\": \"val1\", \"att2\": \"val2\" }\n * { \"#\": \"node text\" }\n * { childNode: [] }\n * { \"#\": \"more text\" }\n * ],\n * node: [\n * { \"@\" : { \"att\": \"val\" }\n * { \"#\": [ \"text line1\", \"text line2\" ] }\n * ]\n * ]\n * ]\n */\n this.serializeNode(node, this._writerOptions.wellFormed);\n /**\n * Second pass, process node lists. Above example becomes:\n * {\n * root: {\n * node: [\n * {\n * \"@att1\": \"val1\",\n * \"@att2\": \"val2\",\n * \"#1\": \"node text\",\n * childNode: {},\n * \"#2\": \"more text\"\n * },\n * {\n * \"@att\": \"val\",\n * \"#\": [ \"text line1\", \"text line2\" ]\n * }\n * ]\n * }\n * }\n */\n return this._process(this._currentList, this._writerOptions);\n };\n ObjectWriter.prototype._process = function (items, options) {\n var _a, _b, _c, _d, _e, _f, _g;\n if (items.length === 0)\n return {};\n // determine if there are non-unique element names\n var namesSeen = {};\n var hasNonUniqueNames = false;\n var textCount = 0;\n var commentCount = 0;\n var instructionCount = 0;\n var cdataCount = 0;\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var key = Object.keys(item)[0];\n switch (key) {\n case \"@\":\n continue;\n case \"#\":\n textCount++;\n break;\n case \"!\":\n commentCount++;\n break;\n case \"?\":\n instructionCount++;\n break;\n case \"$\":\n cdataCount++;\n break;\n default:\n if (namesSeen[key]) {\n hasNonUniqueNames = true;\n }\n else {\n namesSeen[key] = true;\n }\n break;\n }\n }\n var defAttrKey = this._getAttrKey();\n var defTextKey = this._getNodeKey(interfaces_1.NodeType.Text);\n var defCommentKey = this._getNodeKey(interfaces_1.NodeType.Comment);\n var defInstructionKey = this._getNodeKey(interfaces_1.NodeType.ProcessingInstruction);\n var defCdataKey = this._getNodeKey(interfaces_1.NodeType.CData);\n if (textCount === 1 && items.length === 1 && util_1.isString(items[0][\"#\"])) {\n // special case of an element node with a single text node\n return items[0][\"#\"];\n }\n else if (hasNonUniqueNames) {\n var obj = {};\n // process attributes first\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var key = Object.keys(item)[0];\n if (key === \"@\") {\n var attrs = item[\"@\"];\n var attrKeys = Object.keys(attrs);\n if (attrKeys.length === 1) {\n obj[defAttrKey + attrKeys[0]] = attrs[attrKeys[0]];\n }\n else {\n obj[defAttrKey] = item[\"@\"];\n }\n }\n }\n // list contains element nodes with non-unique names\n // return an array with mixed content notation\n var result = [];\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var key = Object.keys(item)[0];\n switch (key) {\n case \"@\":\n // attributes were processed above\n break;\n case \"#\":\n result.push((_a = {}, _a[defTextKey] = item[\"#\"], _a));\n break;\n case \"!\":\n result.push((_b = {}, _b[defCommentKey] = item[\"!\"], _b));\n break;\n case \"?\":\n result.push((_c = {}, _c[defInstructionKey] = item[\"?\"], _c));\n break;\n case \"$\":\n result.push((_d = {}, _d[defCdataKey] = item[\"$\"], _d));\n break;\n default:\n // element node\n var ele = item;\n if (ele[key].length !== 0 && util_1.isArray(ele[key][0])) {\n // group of element nodes\n var eleGroup = [];\n var listOfLists = ele[key];\n for (var i_1 = 0; i_1 < listOfLists.length; i_1++) {\n eleGroup.push(this._process(listOfLists[i_1], options));\n }\n result.push((_e = {}, _e[key] = eleGroup, _e));\n }\n else {\n // single element node\n if (options.verbose) {\n result.push((_f = {}, _f[key] = [this._process(ele[key], options)], _f));\n }\n else {\n result.push((_g = {}, _g[key] = this._process(ele[key], options), _g));\n }\n }\n break;\n }\n }\n obj[defTextKey] = result;\n return obj;\n }\n else {\n // all element nodes have unique names\n // return an object while prefixing data node keys\n var textId = 1;\n var commentId = 1;\n var instructionId = 1;\n var cdataId = 1;\n var obj = {};\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var key = Object.keys(item)[0];\n switch (key) {\n case \"@\":\n var attrs = item[\"@\"];\n var attrKeys = Object.keys(attrs);\n if (!options.group || attrKeys.length === 1) {\n for (var attrName in attrs) {\n obj[defAttrKey + attrName] = attrs[attrName];\n }\n }\n else {\n obj[defAttrKey] = attrs;\n }\n break;\n case \"#\":\n textId = this._processSpecItem(item[\"#\"], obj, options.group, defTextKey, textCount, textId);\n break;\n case \"!\":\n commentId = this._processSpecItem(item[\"!\"], obj, options.group, defCommentKey, commentCount, commentId);\n break;\n case \"?\":\n instructionId = this._processSpecItem(item[\"?\"], obj, options.group, defInstructionKey, instructionCount, instructionId);\n break;\n case \"$\":\n cdataId = this._processSpecItem(item[\"$\"], obj, options.group, defCdataKey, cdataCount, cdataId);\n break;\n default:\n // element node\n var ele = item;\n if (ele[key].length !== 0 && util_1.isArray(ele[key][0])) {\n // group of element nodes\n var eleGroup = [];\n var listOfLists = ele[key];\n for (var i_2 = 0; i_2 < listOfLists.length; i_2++) {\n eleGroup.push(this._process(listOfLists[i_2], options));\n }\n obj[key] = eleGroup;\n }\n else {\n // single element node\n if (options.verbose) {\n obj[key] = [this._process(ele[key], options)];\n }\n else {\n obj[key] = this._process(ele[key], options);\n }\n }\n break;\n }\n }\n return obj;\n }\n };\n ObjectWriter.prototype._processSpecItem = function (item, obj, group, defKey, count, id) {\n var e_1, _a;\n if (!group && util_1.isArray(item) && count + item.length > 2) {\n try {\n for (var item_1 = __values(item), item_1_1 = item_1.next(); !item_1_1.done; item_1_1 = item_1.next()) {\n var subItem = item_1_1.value;\n var key = defKey + (id++).toString();\n obj[key] = subItem;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (item_1_1 && !item_1_1.done && (_a = item_1.return)) _a.call(item_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n else {\n var key = count > 1 ? defKey + (id++).toString() : defKey;\n obj[key] = item;\n }\n return id;\n };\n /** @inheritdoc */\n ObjectWriter.prototype.beginElement = function (name) {\n var _a, _b;\n var childItems = [];\n if (this._currentList.length === 0) {\n this._currentList.push((_a = {}, _a[name] = childItems, _a));\n }\n else {\n var lastItem = this._currentList[this._currentList.length - 1];\n if (this._isElementNode(lastItem, name)) {\n if (lastItem[name].length !== 0 && util_1.isArray(lastItem[name][0])) {\n var listOfLists = lastItem[name];\n listOfLists.push(childItems);\n }\n else {\n lastItem[name] = [lastItem[name], childItems];\n }\n }\n else {\n this._currentList.push((_b = {}, _b[name] = childItems, _b));\n }\n }\n this._currentIndex++;\n if (this._listRegister.length > this._currentIndex) {\n this._listRegister[this._currentIndex] = childItems;\n }\n else {\n this._listRegister.push(childItems);\n }\n this._currentList = childItems;\n };\n /** @inheritdoc */\n ObjectWriter.prototype.endElement = function () {\n this._currentList = this._listRegister[--this._currentIndex];\n };\n /** @inheritdoc */\n ObjectWriter.prototype.attribute = function (name, value) {\n var _a, _b;\n if (this._currentList.length === 0) {\n this._currentList.push({ \"@\": (_a = {}, _a[name] = value, _a) });\n }\n else {\n var lastItem = this._currentList[this._currentList.length - 1];\n /* istanbul ignore else */\n if (this._isAttrNode(lastItem)) {\n lastItem[\"@\"][name] = value;\n }\n else {\n this._currentList.push({ \"@\": (_b = {}, _b[name] = value, _b) });\n }\n }\n };\n /** @inheritdoc */\n ObjectWriter.prototype.comment = function (data) {\n if (this._currentList.length === 0) {\n this._currentList.push({ \"!\": data });\n }\n else {\n var lastItem = this._currentList[this._currentList.length - 1];\n if (this._isCommentNode(lastItem)) {\n if (util_1.isArray(lastItem[\"!\"])) {\n lastItem[\"!\"].push(data);\n }\n else {\n lastItem[\"!\"] = [lastItem[\"!\"], data];\n }\n }\n else {\n this._currentList.push({ \"!\": data });\n }\n }\n };\n /** @inheritdoc */\n ObjectWriter.prototype.text = function (data) {\n if (this._currentList.length === 0) {\n this._currentList.push({ \"#\": data });\n }\n else {\n var lastItem = this._currentList[this._currentList.length - 1];\n if (this._isTextNode(lastItem)) {\n if (util_1.isArray(lastItem[\"#\"])) {\n lastItem[\"#\"].push(data);\n }\n else {\n lastItem[\"#\"] = [lastItem[\"#\"], data];\n }\n }\n else {\n this._currentList.push({ \"#\": data });\n }\n }\n };\n /** @inheritdoc */\n ObjectWriter.prototype.instruction = function (target, data) {\n var value = (data === \"\" ? target : target + \" \" + data);\n if (this._currentList.length === 0) {\n this._currentList.push({ \"?\": value });\n }\n else {\n var lastItem = this._currentList[this._currentList.length - 1];\n if (this._isInstructionNode(lastItem)) {\n if (util_1.isArray(lastItem[\"?\"])) {\n lastItem[\"?\"].push(value);\n }\n else {\n lastItem[\"?\"] = [lastItem[\"?\"], value];\n }\n }\n else {\n this._currentList.push({ \"?\": value });\n }\n }\n };\n /** @inheritdoc */\n ObjectWriter.prototype.cdata = function (data) {\n if (this._currentList.length === 0) {\n this._currentList.push({ \"$\": data });\n }\n else {\n var lastItem = this._currentList[this._currentList.length - 1];\n if (this._isCDATANode(lastItem)) {\n if (util_1.isArray(lastItem[\"$\"])) {\n lastItem[\"$\"].push(data);\n }\n else {\n lastItem[\"$\"] = [lastItem[\"$\"], data];\n }\n }\n else {\n this._currentList.push({ \"$\": data });\n }\n }\n };\n ObjectWriter.prototype._isAttrNode = function (x) {\n return \"@\" in x;\n };\n ObjectWriter.prototype._isTextNode = function (x) {\n return \"#\" in x;\n };\n ObjectWriter.prototype._isCommentNode = function (x) {\n return \"!\" in x;\n };\n ObjectWriter.prototype._isInstructionNode = function (x) {\n return \"?\" in x;\n };\n ObjectWriter.prototype._isCDATANode = function (x) {\n return \"$\" in x;\n };\n ObjectWriter.prototype._isElementNode = function (x, name) {\n return name in x;\n };\n /**\n * Returns an object key for an attribute or namespace declaration.\n */\n ObjectWriter.prototype._getAttrKey = function () {\n return this._builderOptions.convert.att;\n };\n /**\n * Returns an object key for the given node type.\n *\n * @param nodeType - node type to get a key for\n */\n ObjectWriter.prototype._getNodeKey = function (nodeType) {\n switch (nodeType) {\n case interfaces_1.NodeType.Comment:\n return this._builderOptions.convert.comment;\n case interfaces_1.NodeType.Text:\n return this._builderOptions.convert.text;\n case interfaces_1.NodeType.ProcessingInstruction:\n return this._builderOptions.convert.ins;\n case interfaces_1.NodeType.CData:\n return this._builderOptions.convert.cdata;\n /* istanbul ignore next */\n default:\n throw new Error(\"Invalid node type.\");\n }\n };\n return ObjectWriter;\n}(BaseWriter_1.BaseWriter));\nexports.ObjectWriter = ObjectWriter;\n//# sourceMappingURL=ObjectWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BaseCBWriter_1 = require(\"./BaseCBWriter\");\n/**\n * Serializes XML nodes.\n */\nvar XMLCBWriter = /** @class */ (function (_super) {\n __extends(XMLCBWriter, _super);\n /**\n * Initializes a new instance of `XMLCBWriter`.\n *\n * @param builderOptions - XML builder options\n */\n function XMLCBWriter(builderOptions) {\n var _this = _super.call(this, builderOptions) || this;\n _this._lineLength = 0;\n return _this;\n }\n /** @inheritdoc */\n XMLCBWriter.prototype.frontMatter = function () {\n return \"\";\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.declaration = function (version, encoding, standalone) {\n var markup = this._beginLine() + \"\";\n return markup;\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.docType = function (name, publicId, systemId) {\n var markup = this._beginLine();\n if (publicId && systemId) {\n markup += \"\";\n }\n else if (publicId) {\n markup += \"\";\n }\n else if (systemId) {\n markup += \"\";\n }\n else {\n markup += \"\";\n }\n return markup;\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.comment = function (data) {\n return this._beginLine() + \"\";\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.text = function (data) {\n return this._beginLine() + data;\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.instruction = function (target, data) {\n if (data) {\n return this._beginLine() + \"\";\n }\n else {\n return this._beginLine() + \"\";\n }\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.cdata = function (data) {\n return this._beginLine() + \"\";\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.openTagBegin = function (name) {\n this._lineLength += 1 + name.length;\n return this._beginLine() + \"<\" + name;\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.openTagEnd = function (name, selfClosing, voidElement) {\n if (voidElement) {\n return \" />\";\n }\n else if (selfClosing) {\n if (this._writerOptions.allowEmptyTags) {\n return \">\";\n }\n else if (this._writerOptions.spaceBeforeSlash) {\n return \" />\";\n }\n else {\n return \"/>\";\n }\n }\n else {\n return \">\";\n }\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.closeTag = function (name) {\n return this._beginLine() + \"\";\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.attribute = function (name, value) {\n var str = name + \"=\\\"\" + value + \"\\\"\";\n if (this._writerOptions.prettyPrint && this._writerOptions.width > 0 &&\n this._lineLength + 1 + str.length > this._writerOptions.width) {\n str = this._beginLine() + this._indent(1) + str;\n this._lineLength = str.length;\n return str;\n }\n else {\n this._lineLength += 1 + str.length;\n return \" \" + str;\n }\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.beginElement = function (name) { };\n /** @inheritdoc */\n XMLCBWriter.prototype.endElement = function (name) { };\n /**\n * Produces characters to be prepended to a line of string in pretty-print\n * mode.\n */\n XMLCBWriter.prototype._beginLine = function () {\n if (this._writerOptions.prettyPrint) {\n var str = (this.hasData ? this._writerOptions.newline : \"\") +\n this._indent(this._writerOptions.offset + this.level);\n this._lineLength = str.length;\n return str;\n }\n else {\n return \"\";\n }\n };\n /**\n * Produces an indentation string.\n *\n * @param level - depth of the tree\n */\n XMLCBWriter.prototype._indent = function (level) {\n if (level <= 0) {\n return \"\";\n }\n else {\n return this._writerOptions.indent.repeat(level);\n }\n };\n return XMLCBWriter;\n}(BaseCBWriter_1.BaseCBWriter));\nexports.XMLCBWriter = XMLCBWriter;\n//# sourceMappingURL=XMLCBWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar interfaces_1 = require(\"@oozcitak/dom/lib/dom/interfaces\");\nvar BaseWriter_1 = require(\"./BaseWriter\");\nvar util_2 = require(\"@oozcitak/dom/lib/util\");\n/**\n * Serializes XML nodes into strings.\n */\nvar XMLWriter = /** @class */ (function (_super) {\n __extends(XMLWriter, _super);\n /**\n * Initializes a new instance of `XMLWriter`.\n *\n * @param builderOptions - XML builder options\n * @param writerOptions - serialization options\n */\n function XMLWriter(builderOptions, writerOptions) {\n var _this = _super.call(this, builderOptions) || this;\n _this._indentation = {};\n _this._lengthToLastNewline = 0;\n // provide default options\n _this._writerOptions = util_1.applyDefaults(writerOptions, {\n wellFormed: false,\n headless: false,\n prettyPrint: false,\n indent: \" \",\n newline: \"\\n\",\n offset: 0,\n width: 0,\n allowEmptyTags: false,\n indentTextOnlyNodes: false,\n spaceBeforeSlash: false\n });\n return _this;\n }\n /**\n * Produces an XML serialization of the given node.\n *\n * @param node - node to serialize\n */\n XMLWriter.prototype.serialize = function (node) {\n this._refs = { suppressPretty: false, emptyNode: false, markup: \"\" };\n // Serialize XML declaration\n if (node.nodeType === interfaces_1.NodeType.Document && !this._writerOptions.headless) {\n this.declaration(this._builderOptions.version, this._builderOptions.encoding, this._builderOptions.standalone);\n }\n // recursively serialize node\n this.serializeNode(node, this._writerOptions.wellFormed);\n // remove trailing newline\n if (this._writerOptions.prettyPrint &&\n this._refs.markup.slice(-this._writerOptions.newline.length) === this._writerOptions.newline) {\n this._refs.markup = this._refs.markup.slice(0, -this._writerOptions.newline.length);\n }\n return this._refs.markup;\n };\n /** @inheritdoc */\n XMLWriter.prototype.declaration = function (version, encoding, standalone) {\n this._beginLine();\n this._refs.markup += \"\";\n this._endLine();\n };\n /** @inheritdoc */\n XMLWriter.prototype.docType = function (name, publicId, systemId) {\n this._beginLine();\n if (publicId && systemId) {\n this._refs.markup += \"\";\n }\n else if (publicId) {\n this._refs.markup += \"\";\n }\n else if (systemId) {\n this._refs.markup += \"\";\n }\n else {\n this._refs.markup += \"\";\n }\n this._endLine();\n };\n /** @inheritdoc */\n XMLWriter.prototype.openTagBegin = function (name) {\n this._beginLine();\n this._refs.markup += \"<\" + name;\n };\n /** @inheritdoc */\n XMLWriter.prototype.openTagEnd = function (name, selfClosing, voidElement) {\n // do not indent text only elements or elements with empty text nodes\n this._refs.suppressPretty = false;\n this._refs.emptyNode = false;\n if (this._writerOptions.prettyPrint && !selfClosing && !voidElement) {\n var textOnlyNode = true;\n var emptyNode = true;\n var childNode = this.currentNode.firstChild;\n var cdataCount = 0;\n var textCount = 0;\n while (childNode) {\n if (util_2.Guard.isExclusiveTextNode(childNode)) {\n textCount++;\n }\n else if (util_2.Guard.isCDATASectionNode(childNode)) {\n cdataCount++;\n }\n else {\n textOnlyNode = false;\n emptyNode = false;\n break;\n }\n if (childNode.data !== '') {\n emptyNode = false;\n }\n childNode = childNode.nextSibling;\n }\n this._refs.suppressPretty = !this._writerOptions.indentTextOnlyNodes && textOnlyNode && ((cdataCount <= 1 && textCount === 0) || cdataCount === 0);\n this._refs.emptyNode = emptyNode;\n }\n if ((voidElement || selfClosing || this._refs.emptyNode) && this._writerOptions.allowEmptyTags) {\n this._refs.markup += \">\";\n }\n else {\n this._refs.markup += voidElement ? \" />\" :\n (selfClosing || this._refs.emptyNode) ? (this._writerOptions.spaceBeforeSlash ? \" />\" : \"/>\") : \">\";\n }\n this._endLine();\n };\n /** @inheritdoc */\n XMLWriter.prototype.closeTag = function (name) {\n if (!this._refs.emptyNode) {\n this._beginLine();\n this._refs.markup += \"\";\n }\n this._refs.suppressPretty = false;\n this._refs.emptyNode = false;\n this._endLine();\n };\n /** @inheritdoc */\n XMLWriter.prototype.attribute = function (name, value) {\n var str = name + \"=\\\"\" + value + \"\\\"\";\n if (this._writerOptions.prettyPrint && this._writerOptions.width > 0 &&\n this._refs.markup.length - this._lengthToLastNewline + 1 + str.length > this._writerOptions.width) {\n this._endLine();\n this._beginLine();\n this._refs.markup += this._indent(1) + str;\n }\n else {\n this._refs.markup += \" \" + str;\n }\n };\n /** @inheritdoc */\n XMLWriter.prototype.text = function (data) {\n if (data !== '') {\n this._beginLine();\n this._refs.markup += data;\n this._endLine();\n }\n };\n /** @inheritdoc */\n XMLWriter.prototype.cdata = function (data) {\n if (data !== '') {\n this._beginLine();\n this._refs.markup += \"\";\n this._endLine();\n }\n };\n /** @inheritdoc */\n XMLWriter.prototype.comment = function (data) {\n this._beginLine();\n this._refs.markup += \"\";\n this._endLine();\n };\n /** @inheritdoc */\n XMLWriter.prototype.instruction = function (target, data) {\n this._beginLine();\n this._refs.markup += \"\";\n this._endLine();\n };\n /**\n * Produces characters to be prepended to a line of string in pretty-print\n * mode.\n */\n XMLWriter.prototype._beginLine = function () {\n if (this._writerOptions.prettyPrint && !this._refs.suppressPretty) {\n this._refs.markup += this._indent(this._writerOptions.offset + this.level);\n }\n };\n /**\n * Produces characters to be appended to a line of string in pretty-print\n * mode.\n */\n XMLWriter.prototype._endLine = function () {\n if (this._writerOptions.prettyPrint && !this._refs.suppressPretty) {\n this._refs.markup += this._writerOptions.newline;\n this._lengthToLastNewline = this._refs.markup.length;\n }\n };\n /**\n * Produces an indentation string.\n *\n * @param level - depth of the tree\n */\n XMLWriter.prototype._indent = function (level) {\n if (level <= 0) {\n return \"\";\n }\n else if (this._indentation[level] !== undefined) {\n return this._indentation[level];\n }\n else {\n var str = this._writerOptions.indent.repeat(level);\n this._indentation[level] = str;\n return str;\n }\n };\n return XMLWriter;\n}(BaseWriter_1.BaseWriter));\nexports.XMLWriter = XMLWriter;\n//# sourceMappingURL=XMLWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BaseCBWriter_1 = require(\"./BaseCBWriter\");\n/**\n * Serializes XML nodes.\n */\nvar YAMLCBWriter = /** @class */ (function (_super) {\n __extends(YAMLCBWriter, _super);\n /**\n * Initializes a new instance of `BaseCBWriter`.\n *\n * @param builderOptions - XML builder options\n */\n function YAMLCBWriter(builderOptions) {\n var _this = _super.call(this, builderOptions) || this;\n _this._rootWritten = false;\n _this._additionalLevel = 0;\n if (builderOptions.indent.length < 2) {\n throw new Error(\"YAML indententation string must be at least two characters long.\");\n }\n if (builderOptions.offset < 0) {\n throw new Error(\"YAML offset should be zero or a positive number.\");\n }\n return _this;\n }\n /** @inheritdoc */\n YAMLCBWriter.prototype.frontMatter = function () {\n return this._beginLine() + \"---\";\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.declaration = function (version, encoding, standalone) {\n return \"\";\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.docType = function (name, publicId, systemId) {\n return \"\";\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.comment = function (data) {\n // \"!\": \"hello\"\n return this._beginLine() +\n this._key(this._builderOptions.convert.comment) + \" \" +\n this._val(data);\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.text = function (data) {\n // \"#\": \"hello\"\n return this._beginLine() +\n this._key(this._builderOptions.convert.text) + \" \" +\n this._val(data);\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.instruction = function (target, data) {\n // \"?\": \"target hello\"\n return this._beginLine() +\n this._key(this._builderOptions.convert.ins) + \" \" +\n this._val(data ? target + \" \" + data : target);\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.cdata = function (data) {\n // \"$\": \"hello\"\n return this._beginLine() +\n this._key(this._builderOptions.convert.cdata) + \" \" +\n this._val(data);\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.attribute = function (name, value) {\n // \"@name\": \"val\"\n this._additionalLevel++;\n var str = this._beginLine() +\n this._key(this._builderOptions.convert.att + name) + \" \" +\n this._val(value);\n this._additionalLevel--;\n return str;\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.openTagBegin = function (name) {\n // \"node\":\n // \"#\":\n // -\n var str = this._beginLine() + this._key(name);\n if (!this._rootWritten) {\n this._rootWritten = true;\n }\n this.hasData = true;\n this._additionalLevel++;\n str += this._beginLine(true) + this._key(this._builderOptions.convert.text);\n return str;\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.openTagEnd = function (name, selfClosing, voidElement) {\n if (selfClosing) {\n return \" \" + this._val(\"\");\n }\n return \"\";\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.closeTag = function (name) {\n this._additionalLevel--;\n return \"\";\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.beginElement = function (name) { };\n /** @inheritdoc */\n YAMLCBWriter.prototype.endElement = function (name) { };\n /**\n * Produces characters to be prepended to a line of string in pretty-print\n * mode.\n */\n YAMLCBWriter.prototype._beginLine = function (suppressArray) {\n if (suppressArray === void 0) { suppressArray = false; }\n return (this.hasData ? this._writerOptions.newline : \"\") +\n this._indent(this._writerOptions.offset + this.level, suppressArray);\n };\n /**\n * Produces an indentation string.\n *\n * @param level - depth of the tree\n * @param suppressArray - whether the suppress array marker\n */\n YAMLCBWriter.prototype._indent = function (level, suppressArray) {\n if (level + this._additionalLevel <= 0) {\n return \"\";\n }\n else {\n var chars = this._writerOptions.indent.repeat(level + this._additionalLevel);\n if (!suppressArray && this._rootWritten) {\n return chars.substr(0, chars.length - 2) + '-' + chars.substr(-1, 1);\n }\n return chars;\n }\n };\n /**\n * Produces a YAML key string delimited with double quotes.\n */\n YAMLCBWriter.prototype._key = function (key) {\n return \"\\\"\" + key + \"\\\":\";\n };\n /**\n * Produces a YAML value string delimited with double quotes.\n */\n YAMLCBWriter.prototype._val = function (val) {\n return JSON.stringify(val);\n };\n return YAMLCBWriter;\n}(BaseCBWriter_1.BaseCBWriter));\nexports.YAMLCBWriter = YAMLCBWriter;\n//# sourceMappingURL=YAMLCBWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ObjectWriter_1 = require(\"./ObjectWriter\");\nvar util_1 = require(\"@oozcitak/util\");\nvar BaseWriter_1 = require(\"./BaseWriter\");\n/**\n * Serializes XML nodes into a YAML string.\n */\nvar YAMLWriter = /** @class */ (function (_super) {\n __extends(YAMLWriter, _super);\n /**\n * Initializes a new instance of `YAMLWriter`.\n *\n * @param builderOptions - XML builder options\n * @param writerOptions - serialization options\n */\n function YAMLWriter(builderOptions, writerOptions) {\n var _this = _super.call(this, builderOptions) || this;\n // provide default options\n _this._writerOptions = util_1.applyDefaults(writerOptions, {\n wellFormed: false,\n indent: ' ',\n newline: '\\n',\n offset: 0,\n group: false,\n verbose: false\n });\n if (_this._writerOptions.indent.length < 2) {\n throw new Error(\"YAML indententation string must be at least two characters long.\");\n }\n if (_this._writerOptions.offset < 0) {\n throw new Error(\"YAML offset should be zero or a positive number.\");\n }\n return _this;\n }\n /**\n * Produces an XML serialization of the given node.\n *\n * @param node - node to serialize\n * @param writerOptions - serialization options\n */\n YAMLWriter.prototype.serialize = function (node) {\n // convert to object\n var objectWriterOptions = util_1.applyDefaults(this._writerOptions, {\n format: \"object\",\n wellFormed: false\n });\n var objectWriter = new ObjectWriter_1.ObjectWriter(this._builderOptions, objectWriterOptions);\n var val = objectWriter.serialize(node);\n var markup = this._beginLine(this._writerOptions, 0) + '---' + this._endLine(this._writerOptions) +\n this._convertObject(val, this._writerOptions, 0);\n // remove trailing newline\n /* istanbul ignore else */\n if (markup.slice(-this._writerOptions.newline.length) === this._writerOptions.newline) {\n markup = markup.slice(0, -this._writerOptions.newline.length);\n }\n return markup;\n };\n /**\n * Produces an XML serialization of the given object.\n *\n * @param obj - object to serialize\n * @param options - serialization options\n * @param level - depth of the XML tree\n * @param indentLeaf - indents leaf nodes\n */\n YAMLWriter.prototype._convertObject = function (obj, options, level, suppressIndent) {\n var e_1, _a;\n var _this = this;\n if (suppressIndent === void 0) { suppressIndent = false; }\n var markup = '';\n if (util_1.isArray(obj)) {\n try {\n for (var obj_1 = __values(obj), obj_1_1 = obj_1.next(); !obj_1_1.done; obj_1_1 = obj_1.next()) {\n var val = obj_1_1.value;\n markup += this._beginLine(options, level, true);\n if (!util_1.isObject(val)) {\n markup += this._val(val) + this._endLine(options);\n }\n else if (util_1.isEmpty(val)) {\n markup += '\"\"' + this._endLine(options);\n }\n else {\n markup += this._convertObject(val, options, level, true);\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (obj_1_1 && !obj_1_1.done && (_a = obj_1.return)) _a.call(obj_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n else /* if (isObject(obj)) */ {\n util_1.forEachObject(obj, function (key, val) {\n if (suppressIndent) {\n markup += _this._key(key);\n suppressIndent = false;\n }\n else {\n markup += _this._beginLine(options, level) + _this._key(key);\n }\n if (!util_1.isObject(val)) {\n markup += ' ' + _this._val(val) + _this._endLine(options);\n }\n else if (util_1.isEmpty(val)) {\n markup += ' \"\"' + _this._endLine(options);\n }\n else {\n markup += _this._endLine(options) +\n _this._convertObject(val, options, level + 1);\n }\n }, this);\n }\n return markup;\n };\n /**\n * Produces characters to be prepended to a line of string in pretty-print\n * mode.\n *\n * @param options - serialization options\n * @param level - current depth of the XML tree\n * @param isArray - whether this line is an array item\n */\n YAMLWriter.prototype._beginLine = function (options, level, isArray) {\n if (isArray === void 0) { isArray = false; }\n var indentLevel = options.offset + level + 1;\n var chars = new Array(indentLevel).join(options.indent);\n if (isArray) {\n return chars.substr(0, chars.length - 2) + '-' + chars.substr(-1, 1);\n }\n else {\n return chars;\n }\n };\n /**\n * Produces characters to be appended to a line of string in pretty-print\n * mode.\n *\n * @param options - serialization options\n */\n YAMLWriter.prototype._endLine = function (options) {\n return options.newline;\n };\n /**\n * Produces a YAML key string delimited with double quotes.\n */\n YAMLWriter.prototype._key = function (key) {\n return \"\\\"\" + key + \"\\\":\";\n };\n /**\n * Produces a YAML value string delimited with double quotes.\n */\n YAMLWriter.prototype._val = function (val) {\n return JSON.stringify(val);\n };\n return YAMLWriter;\n}(BaseWriter_1.BaseWriter));\nexports.YAMLWriter = YAMLWriter;\n//# sourceMappingURL=YAMLWriter.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar MapWriter_1 = require(\"./MapWriter\");\nexports.MapWriter = MapWriter_1.MapWriter;\nvar XMLWriter_1 = require(\"./XMLWriter\");\nexports.XMLWriter = XMLWriter_1.XMLWriter;\nvar ObjectWriter_1 = require(\"./ObjectWriter\");\nexports.ObjectWriter = ObjectWriter_1.ObjectWriter;\nvar JSONWriter_1 = require(\"./JSONWriter\");\nexports.JSONWriter = JSONWriter_1.JSONWriter;\nvar YAMLWriter_1 = require(\"./YAMLWriter\");\nexports.YAMLWriter = YAMLWriter_1.YAMLWriter;\n//# sourceMappingURL=index.js.map","'use strict';\n\n\nvar yaml = require('./lib/js-yaml.js');\n\n\nmodule.exports = yaml;\n","'use strict';\n\n\nvar loader = require('./js-yaml/loader');\nvar dumper = require('./js-yaml/dumper');\n\n\nfunction deprecated(name) {\n return function () {\n throw new Error('Function ' + name + ' is deprecated and cannot be used.');\n };\n}\n\n\nmodule.exports.Type = require('./js-yaml/type');\nmodule.exports.Schema = require('./js-yaml/schema');\nmodule.exports.FAILSAFE_SCHEMA = require('./js-yaml/schema/failsafe');\nmodule.exports.JSON_SCHEMA = require('./js-yaml/schema/json');\nmodule.exports.CORE_SCHEMA = require('./js-yaml/schema/core');\nmodule.exports.DEFAULT_SAFE_SCHEMA = require('./js-yaml/schema/default_safe');\nmodule.exports.DEFAULT_FULL_SCHEMA = require('./js-yaml/schema/default_full');\nmodule.exports.load = loader.load;\nmodule.exports.loadAll = loader.loadAll;\nmodule.exports.safeLoad = loader.safeLoad;\nmodule.exports.safeLoadAll = loader.safeLoadAll;\nmodule.exports.dump = dumper.dump;\nmodule.exports.safeDump = dumper.safeDump;\nmodule.exports.YAMLException = require('./js-yaml/exception');\n\n// Deprecated schema names from JS-YAML 2.0.x\nmodule.exports.MINIMAL_SCHEMA = require('./js-yaml/schema/failsafe');\nmodule.exports.SAFE_SCHEMA = require('./js-yaml/schema/default_safe');\nmodule.exports.DEFAULT_SCHEMA = require('./js-yaml/schema/default_full');\n\n// Deprecated functions from JS-YAML 1.x.x\nmodule.exports.scan = deprecated('scan');\nmodule.exports.parse = deprecated('parse');\nmodule.exports.compose = deprecated('compose');\nmodule.exports.addConstructor = deprecated('addConstructor');\n","'use strict';\n\n\nfunction isNothing(subject) {\n return (typeof subject === 'undefined') || (subject === null);\n}\n\n\nfunction isObject(subject) {\n return (typeof subject === 'object') && (subject !== null);\n}\n\n\nfunction toArray(sequence) {\n if (Array.isArray(sequence)) return sequence;\n else if (isNothing(sequence)) return [];\n\n return [ sequence ];\n}\n\n\nfunction extend(target, source) {\n var index, length, key, sourceKeys;\n\n if (source) {\n sourceKeys = Object.keys(source);\n\n for (index = 0, length = sourceKeys.length; index < length; index += 1) {\n key = sourceKeys[index];\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\n\nfunction repeat(string, count) {\n var result = '', cycle;\n\n for (cycle = 0; cycle < count; cycle += 1) {\n result += string;\n }\n\n return result;\n}\n\n\nfunction isNegativeZero(number) {\n return (number === 0) && (Number.NEGATIVE_INFINITY === 1 / number);\n}\n\n\nmodule.exports.isNothing = isNothing;\nmodule.exports.isObject = isObject;\nmodule.exports.toArray = toArray;\nmodule.exports.repeat = repeat;\nmodule.exports.isNegativeZero = isNegativeZero;\nmodule.exports.extend = extend;\n","'use strict';\n\n/*eslint-disable no-use-before-define*/\n\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar DEFAULT_FULL_SCHEMA = require('./schema/default_full');\nvar DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');\n\nvar _toString = Object.prototype.toString;\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar CHAR_TAB = 0x09; /* Tab */\nvar CHAR_LINE_FEED = 0x0A; /* LF */\nvar CHAR_CARRIAGE_RETURN = 0x0D; /* CR */\nvar CHAR_SPACE = 0x20; /* Space */\nvar CHAR_EXCLAMATION = 0x21; /* ! */\nvar CHAR_DOUBLE_QUOTE = 0x22; /* \" */\nvar CHAR_SHARP = 0x23; /* # */\nvar CHAR_PERCENT = 0x25; /* % */\nvar CHAR_AMPERSAND = 0x26; /* & */\nvar CHAR_SINGLE_QUOTE = 0x27; /* ' */\nvar CHAR_ASTERISK = 0x2A; /* * */\nvar CHAR_COMMA = 0x2C; /* , */\nvar CHAR_MINUS = 0x2D; /* - */\nvar CHAR_COLON = 0x3A; /* : */\nvar CHAR_EQUALS = 0x3D; /* = */\nvar CHAR_GREATER_THAN = 0x3E; /* > */\nvar CHAR_QUESTION = 0x3F; /* ? */\nvar CHAR_COMMERCIAL_AT = 0x40; /* @ */\nvar CHAR_LEFT_SQUARE_BRACKET = 0x5B; /* [ */\nvar CHAR_RIGHT_SQUARE_BRACKET = 0x5D; /* ] */\nvar CHAR_GRAVE_ACCENT = 0x60; /* ` */\nvar CHAR_LEFT_CURLY_BRACKET = 0x7B; /* { */\nvar CHAR_VERTICAL_LINE = 0x7C; /* | */\nvar CHAR_RIGHT_CURLY_BRACKET = 0x7D; /* } */\n\nvar ESCAPE_SEQUENCES = {};\n\nESCAPE_SEQUENCES[0x00] = '\\\\0';\nESCAPE_SEQUENCES[0x07] = '\\\\a';\nESCAPE_SEQUENCES[0x08] = '\\\\b';\nESCAPE_SEQUENCES[0x09] = '\\\\t';\nESCAPE_SEQUENCES[0x0A] = '\\\\n';\nESCAPE_SEQUENCES[0x0B] = '\\\\v';\nESCAPE_SEQUENCES[0x0C] = '\\\\f';\nESCAPE_SEQUENCES[0x0D] = '\\\\r';\nESCAPE_SEQUENCES[0x1B] = '\\\\e';\nESCAPE_SEQUENCES[0x22] = '\\\\\"';\nESCAPE_SEQUENCES[0x5C] = '\\\\\\\\';\nESCAPE_SEQUENCES[0x85] = '\\\\N';\nESCAPE_SEQUENCES[0xA0] = '\\\\_';\nESCAPE_SEQUENCES[0x2028] = '\\\\L';\nESCAPE_SEQUENCES[0x2029] = '\\\\P';\n\nvar DEPRECATED_BOOLEANS_SYNTAX = [\n 'y', 'Y', 'yes', 'Yes', 'YES', 'on', 'On', 'ON',\n 'n', 'N', 'no', 'No', 'NO', 'off', 'Off', 'OFF'\n];\n\nfunction compileStyleMap(schema, map) {\n var result, keys, index, length, tag, style, type;\n\n if (map === null) return {};\n\n result = {};\n keys = Object.keys(map);\n\n for (index = 0, length = keys.length; index < length; index += 1) {\n tag = keys[index];\n style = String(map[tag]);\n\n if (tag.slice(0, 2) === '!!') {\n tag = 'tag:yaml.org,2002:' + tag.slice(2);\n }\n type = schema.compiledTypeMap['fallback'][tag];\n\n if (type && _hasOwnProperty.call(type.styleAliases, style)) {\n style = type.styleAliases[style];\n }\n\n result[tag] = style;\n }\n\n return result;\n}\n\nfunction encodeHex(character) {\n var string, handle, length;\n\n string = character.toString(16).toUpperCase();\n\n if (character <= 0xFF) {\n handle = 'x';\n length = 2;\n } else if (character <= 0xFFFF) {\n handle = 'u';\n length = 4;\n } else if (character <= 0xFFFFFFFF) {\n handle = 'U';\n length = 8;\n } else {\n throw new YAMLException('code point within a string may not be greater than 0xFFFFFFFF');\n }\n\n return '\\\\' + handle + common.repeat('0', length - string.length) + string;\n}\n\nfunction State(options) {\n this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;\n this.indent = Math.max(1, (options['indent'] || 2));\n this.noArrayIndent = options['noArrayIndent'] || false;\n this.skipInvalid = options['skipInvalid'] || false;\n this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);\n this.styleMap = compileStyleMap(this.schema, options['styles'] || null);\n this.sortKeys = options['sortKeys'] || false;\n this.lineWidth = options['lineWidth'] || 80;\n this.noRefs = options['noRefs'] || false;\n this.noCompatMode = options['noCompatMode'] || false;\n this.condenseFlow = options['condenseFlow'] || false;\n\n this.implicitTypes = this.schema.compiledImplicit;\n this.explicitTypes = this.schema.compiledExplicit;\n\n this.tag = null;\n this.result = '';\n\n this.duplicates = [];\n this.usedDuplicates = null;\n}\n\n// Indents every line in a string. Empty lines (\\n only) are not indented.\nfunction indentString(string, spaces) {\n var ind = common.repeat(' ', spaces),\n position = 0,\n next = -1,\n result = '',\n line,\n length = string.length;\n\n while (position < length) {\n next = string.indexOf('\\n', position);\n if (next === -1) {\n line = string.slice(position);\n position = length;\n } else {\n line = string.slice(position, next + 1);\n position = next + 1;\n }\n\n if (line.length && line !== '\\n') result += ind;\n\n result += line;\n }\n\n return result;\n}\n\nfunction generateNextLine(state, level) {\n return '\\n' + common.repeat(' ', state.indent * level);\n}\n\nfunction testImplicitResolving(state, str) {\n var index, length, type;\n\n for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {\n type = state.implicitTypes[index];\n\n if (type.resolve(str)) {\n return true;\n }\n }\n\n return false;\n}\n\n// [33] s-white ::= s-space | s-tab\nfunction isWhitespace(c) {\n return c === CHAR_SPACE || c === CHAR_TAB;\n}\n\n// Returns true if the character can be printed without escaping.\n// From YAML 1.2: \"any allowed characters known to be non-printable\n// should also be escaped. [However,] This isn’t mandatory\"\n// Derived from nb-char - \\t - #x85 - #xA0 - #x2028 - #x2029.\nfunction isPrintable(c) {\n return (0x00020 <= c && c <= 0x00007E)\n || ((0x000A1 <= c && c <= 0x00D7FF) && c !== 0x2028 && c !== 0x2029)\n || ((0x0E000 <= c && c <= 0x00FFFD) && c !== 0xFEFF /* BOM */)\n || (0x10000 <= c && c <= 0x10FFFF);\n}\n\n// [34] ns-char ::= nb-char - s-white\n// [27] nb-char ::= c-printable - b-char - c-byte-order-mark\n// [26] b-char ::= b-line-feed | b-carriage-return\n// [24] b-line-feed ::= #xA /* LF */\n// [25] b-carriage-return ::= #xD /* CR */\n// [3] c-byte-order-mark ::= #xFEFF\nfunction isNsChar(c) {\n return isPrintable(c) && !isWhitespace(c)\n // byte-order-mark\n && c !== 0xFEFF\n // b-char\n && c !== CHAR_CARRIAGE_RETURN\n && c !== CHAR_LINE_FEED;\n}\n\n// Simplified test for values allowed after the first character in plain style.\nfunction isPlainSafe(c, prev) {\n // Uses a subset of nb-char - c-flow-indicator - \":\" - \"#\"\n // where nb-char ::= c-printable - b-char - c-byte-order-mark.\n return isPrintable(c) && c !== 0xFEFF\n // - c-flow-indicator\n && c !== CHAR_COMMA\n && c !== CHAR_LEFT_SQUARE_BRACKET\n && c !== CHAR_RIGHT_SQUARE_BRACKET\n && c !== CHAR_LEFT_CURLY_BRACKET\n && c !== CHAR_RIGHT_CURLY_BRACKET\n // - \":\" - \"#\"\n // /* An ns-char preceding */ \"#\"\n && c !== CHAR_COLON\n && ((c !== CHAR_SHARP) || (prev && isNsChar(prev)));\n}\n\n// Simplified test for values allowed as the first character in plain style.\nfunction isPlainSafeFirst(c) {\n // Uses a subset of ns-char - c-indicator\n // where ns-char = nb-char - s-white.\n return isPrintable(c) && c !== 0xFEFF\n && !isWhitespace(c) // - s-white\n // - (c-indicator ::=\n // “-” | “?” | “:” | “,” | “[” | “]” | “{” | “}”\n && c !== CHAR_MINUS\n && c !== CHAR_QUESTION\n && c !== CHAR_COLON\n && c !== CHAR_COMMA\n && c !== CHAR_LEFT_SQUARE_BRACKET\n && c !== CHAR_RIGHT_SQUARE_BRACKET\n && c !== CHAR_LEFT_CURLY_BRACKET\n && c !== CHAR_RIGHT_CURLY_BRACKET\n // | “#” | “&” | “*” | “!” | “|” | “=” | “>” | “'” | “\"”\n && c !== CHAR_SHARP\n && c !== CHAR_AMPERSAND\n && c !== CHAR_ASTERISK\n && c !== CHAR_EXCLAMATION\n && c !== CHAR_VERTICAL_LINE\n && c !== CHAR_EQUALS\n && c !== CHAR_GREATER_THAN\n && c !== CHAR_SINGLE_QUOTE\n && c !== CHAR_DOUBLE_QUOTE\n // | “%” | “@” | “`”)\n && c !== CHAR_PERCENT\n && c !== CHAR_COMMERCIAL_AT\n && c !== CHAR_GRAVE_ACCENT;\n}\n\n// Determines whether block indentation indicator is required.\nfunction needIndentIndicator(string) {\n var leadingSpaceRe = /^\\n* /;\n return leadingSpaceRe.test(string);\n}\n\nvar STYLE_PLAIN = 1,\n STYLE_SINGLE = 2,\n STYLE_LITERAL = 3,\n STYLE_FOLDED = 4,\n STYLE_DOUBLE = 5;\n\n// Determines which scalar styles are possible and returns the preferred style.\n// lineWidth = -1 => no limit.\n// Pre-conditions: str.length > 0.\n// Post-conditions:\n// STYLE_PLAIN or STYLE_SINGLE => no \\n are in the string.\n// STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1).\n// STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth != -1).\nfunction chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType) {\n var i;\n var char, prev_char;\n var hasLineBreak = false;\n var hasFoldableLine = false; // only checked if shouldTrackWidth\n var shouldTrackWidth = lineWidth !== -1;\n var previousLineBreak = -1; // count the first line correctly\n var plain = isPlainSafeFirst(string.charCodeAt(0))\n && !isWhitespace(string.charCodeAt(string.length - 1));\n\n if (singleLineOnly) {\n // Case: no block styles.\n // Check for disallowed characters to rule out plain and single.\n for (i = 0; i < string.length; i++) {\n char = string.charCodeAt(i);\n if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n prev_char = i > 0 ? string.charCodeAt(i - 1) : null;\n plain = plain && isPlainSafe(char, prev_char);\n }\n } else {\n // Case: block styles permitted.\n for (i = 0; i < string.length; i++) {\n char = string.charCodeAt(i);\n if (char === CHAR_LINE_FEED) {\n hasLineBreak = true;\n // Check if any line can be folded.\n if (shouldTrackWidth) {\n hasFoldableLine = hasFoldableLine ||\n // Foldable line = too long, and not more-indented.\n (i - previousLineBreak - 1 > lineWidth &&\n string[previousLineBreak + 1] !== ' ');\n previousLineBreak = i;\n }\n } else if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n prev_char = i > 0 ? string.charCodeAt(i - 1) : null;\n plain = plain && isPlainSafe(char, prev_char);\n }\n // in case the end is missing a \\n\n hasFoldableLine = hasFoldableLine || (shouldTrackWidth &&\n (i - previousLineBreak - 1 > lineWidth &&\n string[previousLineBreak + 1] !== ' '));\n }\n // Although every style can represent \\n without escaping, prefer block styles\n // for multiline, since they're more readable and they don't add empty lines.\n // Also prefer folding a super-long line.\n if (!hasLineBreak && !hasFoldableLine) {\n // Strings interpretable as another type have to be quoted;\n // e.g. the string 'true' vs. the boolean true.\n return plain && !testAmbiguousType(string)\n ? STYLE_PLAIN : STYLE_SINGLE;\n }\n // Edge case: block indentation indicator can only have one digit.\n if (indentPerLevel > 9 && needIndentIndicator(string)) {\n return STYLE_DOUBLE;\n }\n // At this point we know block styles are valid.\n // Prefer literal style unless we want to fold.\n return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;\n}\n\n// Note: line breaking/folding is implemented for only the folded style.\n// NB. We drop the last trailing newline (if any) of a returned block scalar\n// since the dumper adds its own newline. This always works:\n// • No ending newline => unaffected; already using strip \"-\" chomping.\n// • Ending newline => removed then restored.\n// Importantly, this keeps the \"+\" chomp indicator from gaining an extra line.\nfunction writeScalar(state, string, level, iskey) {\n state.dump = (function () {\n if (string.length === 0) {\n return \"''\";\n }\n if (!state.noCompatMode &&\n DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1) {\n return \"'\" + string + \"'\";\n }\n\n var indent = state.indent * Math.max(1, level); // no 0-indent scalars\n // As indentation gets deeper, let the width decrease monotonically\n // to the lower bound min(state.lineWidth, 40).\n // Note that this implies\n // state.lineWidth ≤ 40 + state.indent: width is fixed at the lower bound.\n // state.lineWidth > 40 + state.indent: width decreases until the lower bound.\n // This behaves better than a constant minimum width which disallows narrower options,\n // or an indent threshold which causes the width to suddenly increase.\n var lineWidth = state.lineWidth === -1\n ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);\n\n // Without knowing if keys are implicit/explicit, assume implicit for safety.\n var singleLineOnly = iskey\n // No block styles in flow mode.\n || (state.flowLevel > -1 && level >= state.flowLevel);\n function testAmbiguity(string) {\n return testImplicitResolving(state, string);\n }\n\n switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth, testAmbiguity)) {\n case STYLE_PLAIN:\n return string;\n case STYLE_SINGLE:\n return \"'\" + string.replace(/'/g, \"''\") + \"'\";\n case STYLE_LITERAL:\n return '|' + blockHeader(string, state.indent)\n + dropEndingNewline(indentString(string, indent));\n case STYLE_FOLDED:\n return '>' + blockHeader(string, state.indent)\n + dropEndingNewline(indentString(foldString(string, lineWidth), indent));\n case STYLE_DOUBLE:\n return '\"' + escapeString(string, lineWidth) + '\"';\n default:\n throw new YAMLException('impossible error: invalid scalar style');\n }\n }());\n}\n\n// Pre-conditions: string is valid for a block scalar, 1 <= indentPerLevel <= 9.\nfunction blockHeader(string, indentPerLevel) {\n var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : '';\n\n // note the special case: the string '\\n' counts as a \"trailing\" empty line.\n var clip = string[string.length - 1] === '\\n';\n var keep = clip && (string[string.length - 2] === '\\n' || string === '\\n');\n var chomp = keep ? '+' : (clip ? '' : '-');\n\n return indentIndicator + chomp + '\\n';\n}\n\n// (See the note for writeScalar.)\nfunction dropEndingNewline(string) {\n return string[string.length - 1] === '\\n' ? string.slice(0, -1) : string;\n}\n\n// Note: a long line without a suitable break point will exceed the width limit.\n// Pre-conditions: every char in str isPrintable, str.length > 0, width > 0.\nfunction foldString(string, width) {\n // In folded style, $k$ consecutive newlines output as $k+1$ newlines—\n // unless they're before or after a more-indented line, or at the very\n // beginning or end, in which case $k$ maps to $k$.\n // Therefore, parse each chunk as newline(s) followed by a content line.\n var lineRe = /(\\n+)([^\\n]*)/g;\n\n // first line (possibly an empty line)\n var result = (function () {\n var nextLF = string.indexOf('\\n');\n nextLF = nextLF !== -1 ? nextLF : string.length;\n lineRe.lastIndex = nextLF;\n return foldLine(string.slice(0, nextLF), width);\n }());\n // If we haven't reached the first content line yet, don't add an extra \\n.\n var prevMoreIndented = string[0] === '\\n' || string[0] === ' ';\n var moreIndented;\n\n // rest of the lines\n var match;\n while ((match = lineRe.exec(string))) {\n var prefix = match[1], line = match[2];\n moreIndented = (line[0] === ' ');\n result += prefix\n + (!prevMoreIndented && !moreIndented && line !== ''\n ? '\\n' : '')\n + foldLine(line, width);\n prevMoreIndented = moreIndented;\n }\n\n return result;\n}\n\n// Greedy line breaking.\n// Picks the longest line under the limit each time,\n// otherwise settles for the shortest line over the limit.\n// NB. More-indented lines *cannot* be folded, as that would add an extra \\n.\nfunction foldLine(line, width) {\n if (line === '' || line[0] === ' ') return line;\n\n // Since a more-indented line adds a \\n, breaks can't be followed by a space.\n var breakRe = / [^ ]/g; // note: the match index will always be <= length-2.\n var match;\n // start is an inclusive index. end, curr, and next are exclusive.\n var start = 0, end, curr = 0, next = 0;\n var result = '';\n\n // Invariants: 0 <= start <= length-1.\n // 0 <= curr <= next <= max(0, length-2). curr - start <= width.\n // Inside the loop:\n // A match implies length >= 2, so curr and next are <= length-2.\n while ((match = breakRe.exec(line))) {\n next = match.index;\n // maintain invariant: curr - start <= width\n if (next - start > width) {\n end = (curr > start) ? curr : next; // derive end <= length-2\n result += '\\n' + line.slice(start, end);\n // skip the space that was output as \\n\n start = end + 1; // derive start <= length-1\n }\n curr = next;\n }\n\n // By the invariants, start <= length-1, so there is something left over.\n // It is either the whole string or a part starting from non-whitespace.\n result += '\\n';\n // Insert a break if the remainder is too long and there is a break available.\n if (line.length - start > width && curr > start) {\n result += line.slice(start, curr) + '\\n' + line.slice(curr + 1);\n } else {\n result += line.slice(start);\n }\n\n return result.slice(1); // drop extra \\n joiner\n}\n\n// Escapes a double-quoted string.\nfunction escapeString(string) {\n var result = '';\n var char, nextChar;\n var escapeSeq;\n\n for (var i = 0; i < string.length; i++) {\n char = string.charCodeAt(i);\n // Check for surrogate pairs (reference Unicode 3.0 section \"3.7 Surrogates\").\n if (char >= 0xD800 && char <= 0xDBFF/* high surrogate */) {\n nextChar = string.charCodeAt(i + 1);\n if (nextChar >= 0xDC00 && nextChar <= 0xDFFF/* low surrogate */) {\n // Combine the surrogate pair and store it escaped.\n result += encodeHex((char - 0xD800) * 0x400 + nextChar - 0xDC00 + 0x10000);\n // Advance index one extra since we already used that char here.\n i++; continue;\n }\n }\n escapeSeq = ESCAPE_SEQUENCES[char];\n result += !escapeSeq && isPrintable(char)\n ? string[i]\n : escapeSeq || encodeHex(char);\n }\n\n return result;\n}\n\nfunction writeFlowSequence(state, level, object) {\n var _result = '',\n _tag = state.tag,\n index,\n length;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n // Write only valid elements.\n if (writeNode(state, level, object[index], false, false)) {\n if (index !== 0) _result += ',' + (!state.condenseFlow ? ' ' : '');\n _result += state.dump;\n }\n }\n\n state.tag = _tag;\n state.dump = '[' + _result + ']';\n}\n\nfunction writeBlockSequence(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n index,\n length;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n // Write only valid elements.\n if (writeNode(state, level + 1, object[index], true, true)) {\n if (!compact || index !== 0) {\n _result += generateNextLine(state, level);\n }\n\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n _result += '-';\n } else {\n _result += '- ';\n }\n\n _result += state.dump;\n }\n }\n\n state.tag = _tag;\n state.dump = _result || '[]'; // Empty sequence if no valid values.\n}\n\nfunction writeFlowMapping(state, level, object) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n pairBuffer;\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n\n pairBuffer = '';\n if (index !== 0) pairBuffer += ', ';\n\n if (state.condenseFlow) pairBuffer += '\"';\n\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n\n if (!writeNode(state, level, objectKey, false, false)) {\n continue; // Skip this pair because of invalid key;\n }\n\n if (state.dump.length > 1024) pairBuffer += '? ';\n\n pairBuffer += state.dump + (state.condenseFlow ? '\"' : '') + ':' + (state.condenseFlow ? '' : ' ');\n\n if (!writeNode(state, level, objectValue, false, false)) {\n continue; // Skip this pair because of invalid value.\n }\n\n pairBuffer += state.dump;\n\n // Both key and value are valid.\n _result += pairBuffer;\n }\n\n state.tag = _tag;\n state.dump = '{' + _result + '}';\n}\n\nfunction writeBlockMapping(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n explicitPair,\n pairBuffer;\n\n // Allow sorting keys so that the output file is deterministic\n if (state.sortKeys === true) {\n // Default sorting\n objectKeyList.sort();\n } else if (typeof state.sortKeys === 'function') {\n // Custom sort function\n objectKeyList.sort(state.sortKeys);\n } else if (state.sortKeys) {\n // Something is wrong\n throw new YAMLException('sortKeys must be a boolean or a function');\n }\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n pairBuffer = '';\n\n if (!compact || index !== 0) {\n pairBuffer += generateNextLine(state, level);\n }\n\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n\n if (!writeNode(state, level + 1, objectKey, true, true, true)) {\n continue; // Skip this pair because of invalid key.\n }\n\n explicitPair = (state.tag !== null && state.tag !== '?') ||\n (state.dump && state.dump.length > 1024);\n\n if (explicitPair) {\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += '?';\n } else {\n pairBuffer += '? ';\n }\n }\n\n pairBuffer += state.dump;\n\n if (explicitPair) {\n pairBuffer += generateNextLine(state, level);\n }\n\n if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {\n continue; // Skip this pair because of invalid value.\n }\n\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += ':';\n } else {\n pairBuffer += ': ';\n }\n\n pairBuffer += state.dump;\n\n // Both key and value are valid.\n _result += pairBuffer;\n }\n\n state.tag = _tag;\n state.dump = _result || '{}'; // Empty mapping if no valid pairs.\n}\n\nfunction detectType(state, object, explicit) {\n var _result, typeList, index, length, type, style;\n\n typeList = explicit ? state.explicitTypes : state.implicitTypes;\n\n for (index = 0, length = typeList.length; index < length; index += 1) {\n type = typeList[index];\n\n if ((type.instanceOf || type.predicate) &&\n (!type.instanceOf || ((typeof object === 'object') && (object instanceof type.instanceOf))) &&\n (!type.predicate || type.predicate(object))) {\n\n state.tag = explicit ? type.tag : '?';\n\n if (type.represent) {\n style = state.styleMap[type.tag] || type.defaultStyle;\n\n if (_toString.call(type.represent) === '[object Function]') {\n _result = type.represent(object, style);\n } else if (_hasOwnProperty.call(type.represent, style)) {\n _result = type.represent[style](object, style);\n } else {\n throw new YAMLException('!<' + type.tag + '> tag resolver accepts not \"' + style + '\" style');\n }\n\n state.dump = _result;\n }\n\n return true;\n }\n }\n\n return false;\n}\n\n// Serializes `object` and writes it to global `result`.\n// Returns true on success, or false on invalid object.\n//\nfunction writeNode(state, level, object, block, compact, iskey) {\n state.tag = null;\n state.dump = object;\n\n if (!detectType(state, object, false)) {\n detectType(state, object, true);\n }\n\n var type = _toString.call(state.dump);\n\n if (block) {\n block = (state.flowLevel < 0 || state.flowLevel > level);\n }\n\n var objectOrArray = type === '[object Object]' || type === '[object Array]',\n duplicateIndex,\n duplicate;\n\n if (objectOrArray) {\n duplicateIndex = state.duplicates.indexOf(object);\n duplicate = duplicateIndex !== -1;\n }\n\n if ((state.tag !== null && state.tag !== '?') || duplicate || (state.indent !== 2 && level > 0)) {\n compact = false;\n }\n\n if (duplicate && state.usedDuplicates[duplicateIndex]) {\n state.dump = '*ref_' + duplicateIndex;\n } else {\n if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {\n state.usedDuplicates[duplicateIndex] = true;\n }\n if (type === '[object Object]') {\n if (block && (Object.keys(state.dump).length !== 0)) {\n writeBlockMapping(state, level, state.dump, compact);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowMapping(state, level, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object Array]') {\n var arrayLevel = (state.noArrayIndent && (level > 0)) ? level - 1 : level;\n if (block && (state.dump.length !== 0)) {\n writeBlockSequence(state, arrayLevel, state.dump, compact);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowSequence(state, arrayLevel, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object String]') {\n if (state.tag !== '?') {\n writeScalar(state, state.dump, level, iskey);\n }\n } else {\n if (state.skipInvalid) return false;\n throw new YAMLException('unacceptable kind of an object to dump ' + type);\n }\n\n if (state.tag !== null && state.tag !== '?') {\n state.dump = '!<' + state.tag + '> ' + state.dump;\n }\n }\n\n return true;\n}\n\nfunction getDuplicateReferences(object, state) {\n var objects = [],\n duplicatesIndexes = [],\n index,\n length;\n\n inspectNode(object, objects, duplicatesIndexes);\n\n for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) {\n state.duplicates.push(objects[duplicatesIndexes[index]]);\n }\n state.usedDuplicates = new Array(length);\n}\n\nfunction inspectNode(object, objects, duplicatesIndexes) {\n var objectKeyList,\n index,\n length;\n\n if (object !== null && typeof object === 'object') {\n index = objects.indexOf(object);\n if (index !== -1) {\n if (duplicatesIndexes.indexOf(index) === -1) {\n duplicatesIndexes.push(index);\n }\n } else {\n objects.push(object);\n\n if (Array.isArray(object)) {\n for (index = 0, length = object.length; index < length; index += 1) {\n inspectNode(object[index], objects, duplicatesIndexes);\n }\n } else {\n objectKeyList = Object.keys(object);\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);\n }\n }\n }\n }\n}\n\nfunction dump(input, options) {\n options = options || {};\n\n var state = new State(options);\n\n if (!state.noRefs) getDuplicateReferences(input, state);\n\n if (writeNode(state, 0, input, true, true)) return state.dump + '\\n';\n\n return '';\n}\n\nfunction safeDump(input, options) {\n return dump(input, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));\n}\n\nmodule.exports.dump = dump;\nmodule.exports.safeDump = safeDump;\n","// YAML error class. http://stackoverflow.com/questions/8458984\n//\n'use strict';\n\nfunction YAMLException(reason, mark) {\n // Super constructor\n Error.call(this);\n\n this.name = 'YAMLException';\n this.reason = reason;\n this.mark = mark;\n this.message = (this.reason || '(unknown reason)') + (this.mark ? ' ' + this.mark.toString() : '');\n\n // Include stack trace in error object\n if (Error.captureStackTrace) {\n // Chrome and NodeJS\n Error.captureStackTrace(this, this.constructor);\n } else {\n // FF, IE 10+ and Safari 6+. Fallback for others\n this.stack = (new Error()).stack || '';\n }\n}\n\n\n// Inherit from Error\nYAMLException.prototype = Object.create(Error.prototype);\nYAMLException.prototype.constructor = YAMLException;\n\n\nYAMLException.prototype.toString = function toString(compact) {\n var result = this.name + ': ';\n\n result += this.reason || '(unknown reason)';\n\n if (!compact && this.mark) {\n result += ' ' + this.mark.toString();\n }\n\n return result;\n};\n\n\nmodule.exports = YAMLException;\n","'use strict';\n\n/*eslint-disable max-len,no-use-before-define*/\n\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar Mark = require('./mark');\nvar DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');\nvar DEFAULT_FULL_SCHEMA = require('./schema/default_full');\n\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\n\nvar CONTEXT_FLOW_IN = 1;\nvar CONTEXT_FLOW_OUT = 2;\nvar CONTEXT_BLOCK_IN = 3;\nvar CONTEXT_BLOCK_OUT = 4;\n\n\nvar CHOMPING_CLIP = 1;\nvar CHOMPING_STRIP = 2;\nvar CHOMPING_KEEP = 3;\n\n\nvar PATTERN_NON_PRINTABLE = /[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F\\x7F-\\x84\\x86-\\x9F\\uFFFE\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\nvar PATTERN_NON_ASCII_LINE_BREAKS = /[\\x85\\u2028\\u2029]/;\nvar PATTERN_FLOW_INDICATORS = /[,\\[\\]\\{\\}]/;\nvar PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\\-]+!)$/i;\nvar PATTERN_TAG_URI = /^(?:!|[^,\\[\\]\\{\\}])(?:%[0-9a-f]{2}|[0-9a-z\\-#;\\/\\?:@&=\\+\\$,_\\.!~\\*'\\(\\)\\[\\]])*$/i;\n\n\nfunction _class(obj) { return Object.prototype.toString.call(obj); }\n\nfunction is_EOL(c) {\n return (c === 0x0A/* LF */) || (c === 0x0D/* CR */);\n}\n\nfunction is_WHITE_SPACE(c) {\n return (c === 0x09/* Tab */) || (c === 0x20/* Space */);\n}\n\nfunction is_WS_OR_EOL(c) {\n return (c === 0x09/* Tab */) ||\n (c === 0x20/* Space */) ||\n (c === 0x0A/* LF */) ||\n (c === 0x0D/* CR */);\n}\n\nfunction is_FLOW_INDICATOR(c) {\n return c === 0x2C/* , */ ||\n c === 0x5B/* [ */ ||\n c === 0x5D/* ] */ ||\n c === 0x7B/* { */ ||\n c === 0x7D/* } */;\n}\n\nfunction fromHexCode(c) {\n var lc;\n\n if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {\n return c - 0x30;\n }\n\n /*eslint-disable no-bitwise*/\n lc = c | 0x20;\n\n if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) {\n return lc - 0x61 + 10;\n }\n\n return -1;\n}\n\nfunction escapedHexLen(c) {\n if (c === 0x78/* x */) { return 2; }\n if (c === 0x75/* u */) { return 4; }\n if (c === 0x55/* U */) { return 8; }\n return 0;\n}\n\nfunction fromDecimalCode(c) {\n if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {\n return c - 0x30;\n }\n\n return -1;\n}\n\nfunction simpleEscapeSequence(c) {\n /* eslint-disable indent */\n return (c === 0x30/* 0 */) ? '\\x00' :\n (c === 0x61/* a */) ? '\\x07' :\n (c === 0x62/* b */) ? '\\x08' :\n (c === 0x74/* t */) ? '\\x09' :\n (c === 0x09/* Tab */) ? '\\x09' :\n (c === 0x6E/* n */) ? '\\x0A' :\n (c === 0x76/* v */) ? '\\x0B' :\n (c === 0x66/* f */) ? '\\x0C' :\n (c === 0x72/* r */) ? '\\x0D' :\n (c === 0x65/* e */) ? '\\x1B' :\n (c === 0x20/* Space */) ? ' ' :\n (c === 0x22/* \" */) ? '\\x22' :\n (c === 0x2F/* / */) ? '/' :\n (c === 0x5C/* \\ */) ? '\\x5C' :\n (c === 0x4E/* N */) ? '\\x85' :\n (c === 0x5F/* _ */) ? '\\xA0' :\n (c === 0x4C/* L */) ? '\\u2028' :\n (c === 0x50/* P */) ? '\\u2029' : '';\n}\n\nfunction charFromCodepoint(c) {\n if (c <= 0xFFFF) {\n return String.fromCharCode(c);\n }\n // Encode UTF-16 surrogate pair\n // https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF\n return String.fromCharCode(\n ((c - 0x010000) >> 10) + 0xD800,\n ((c - 0x010000) & 0x03FF) + 0xDC00\n );\n}\n\nvar simpleEscapeCheck = new Array(256); // integer, for fast access\nvar simpleEscapeMap = new Array(256);\nfor (var i = 0; i < 256; i++) {\n simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;\n simpleEscapeMap[i] = simpleEscapeSequence(i);\n}\n\n\nfunction State(input, options) {\n this.input = input;\n\n this.filename = options['filename'] || null;\n this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;\n this.onWarning = options['onWarning'] || null;\n this.legacy = options['legacy'] || false;\n this.json = options['json'] || false;\n this.listener = options['listener'] || null;\n\n this.implicitTypes = this.schema.compiledImplicit;\n this.typeMap = this.schema.compiledTypeMap;\n\n this.length = input.length;\n this.position = 0;\n this.line = 0;\n this.lineStart = 0;\n this.lineIndent = 0;\n\n this.documents = [];\n\n /*\n this.version;\n this.checkLineBreaks;\n this.tagMap;\n this.anchorMap;\n this.tag;\n this.anchor;\n this.kind;\n this.result;*/\n\n}\n\n\nfunction generateError(state, message) {\n return new YAMLException(\n message,\n new Mark(state.filename, state.input, state.position, state.line, (state.position - state.lineStart)));\n}\n\nfunction throwError(state, message) {\n throw generateError(state, message);\n}\n\nfunction throwWarning(state, message) {\n if (state.onWarning) {\n state.onWarning.call(null, generateError(state, message));\n }\n}\n\n\nvar directiveHandlers = {\n\n YAML: function handleYamlDirective(state, name, args) {\n\n var match, major, minor;\n\n if (state.version !== null) {\n throwError(state, 'duplication of %YAML directive');\n }\n\n if (args.length !== 1) {\n throwError(state, 'YAML directive accepts exactly one argument');\n }\n\n match = /^([0-9]+)\\.([0-9]+)$/.exec(args[0]);\n\n if (match === null) {\n throwError(state, 'ill-formed argument of the YAML directive');\n }\n\n major = parseInt(match[1], 10);\n minor = parseInt(match[2], 10);\n\n if (major !== 1) {\n throwError(state, 'unacceptable YAML version of the document');\n }\n\n state.version = args[0];\n state.checkLineBreaks = (minor < 2);\n\n if (minor !== 1 && minor !== 2) {\n throwWarning(state, 'unsupported YAML version of the document');\n }\n },\n\n TAG: function handleTagDirective(state, name, args) {\n\n var handle, prefix;\n\n if (args.length !== 2) {\n throwError(state, 'TAG directive accepts exactly two arguments');\n }\n\n handle = args[0];\n prefix = args[1];\n\n if (!PATTERN_TAG_HANDLE.test(handle)) {\n throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');\n }\n\n if (_hasOwnProperty.call(state.tagMap, handle)) {\n throwError(state, 'there is a previously declared suffix for \"' + handle + '\" tag handle');\n }\n\n if (!PATTERN_TAG_URI.test(prefix)) {\n throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');\n }\n\n state.tagMap[handle] = prefix;\n }\n};\n\n\nfunction captureSegment(state, start, end, checkJson) {\n var _position, _length, _character, _result;\n\n if (start < end) {\n _result = state.input.slice(start, end);\n\n if (checkJson) {\n for (_position = 0, _length = _result.length; _position < _length; _position += 1) {\n _character = _result.charCodeAt(_position);\n if (!(_character === 0x09 ||\n (0x20 <= _character && _character <= 0x10FFFF))) {\n throwError(state, 'expected valid JSON character');\n }\n }\n } else if (PATTERN_NON_PRINTABLE.test(_result)) {\n throwError(state, 'the stream contains non-printable characters');\n }\n\n state.result += _result;\n }\n}\n\nfunction mergeMappings(state, destination, source, overridableKeys) {\n var sourceKeys, key, index, quantity;\n\n if (!common.isObject(source)) {\n throwError(state, 'cannot merge mappings; the provided source object is unacceptable');\n }\n\n sourceKeys = Object.keys(source);\n\n for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {\n key = sourceKeys[index];\n\n if (!_hasOwnProperty.call(destination, key)) {\n destination[key] = source[key];\n overridableKeys[key] = true;\n }\n }\n}\n\nfunction storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) {\n var index, quantity;\n\n // The output is a plain object here, so keys can only be strings.\n // We need to convert keyNode to a string, but doing so can hang the process\n // (deeply nested arrays that explode exponentially using aliases).\n if (Array.isArray(keyNode)) {\n keyNode = Array.prototype.slice.call(keyNode);\n\n for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {\n if (Array.isArray(keyNode[index])) {\n throwError(state, 'nested arrays are not supported inside keys');\n }\n\n if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') {\n keyNode[index] = '[object Object]';\n }\n }\n }\n\n // Avoid code execution in load() via toString property\n // (still use its own toString for arrays, timestamps,\n // and whatever user schema extensions happen to have @@toStringTag)\n if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') {\n keyNode = '[object Object]';\n }\n\n\n keyNode = String(keyNode);\n\n if (_result === null) {\n _result = {};\n }\n\n if (keyTag === 'tag:yaml.org,2002:merge') {\n if (Array.isArray(valueNode)) {\n for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {\n mergeMappings(state, _result, valueNode[index], overridableKeys);\n }\n } else {\n mergeMappings(state, _result, valueNode, overridableKeys);\n }\n } else {\n if (!state.json &&\n !_hasOwnProperty.call(overridableKeys, keyNode) &&\n _hasOwnProperty.call(_result, keyNode)) {\n state.line = startLine || state.line;\n state.position = startPos || state.position;\n throwError(state, 'duplicated mapping key');\n }\n _result[keyNode] = valueNode;\n delete overridableKeys[keyNode];\n }\n\n return _result;\n}\n\nfunction readLineBreak(state) {\n var ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x0A/* LF */) {\n state.position++;\n } else if (ch === 0x0D/* CR */) {\n state.position++;\n if (state.input.charCodeAt(state.position) === 0x0A/* LF */) {\n state.position++;\n }\n } else {\n throwError(state, 'a line break is expected');\n }\n\n state.line += 1;\n state.lineStart = state.position;\n}\n\nfunction skipSeparationSpace(state, allowComments, checkIndent) {\n var lineBreaks = 0,\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (allowComments && ch === 0x23/* # */) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0);\n }\n\n if (is_EOL(ch)) {\n readLineBreak(state);\n\n ch = state.input.charCodeAt(state.position);\n lineBreaks++;\n state.lineIndent = 0;\n\n while (ch === 0x20/* Space */) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n } else {\n break;\n }\n }\n\n if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {\n throwWarning(state, 'deficient indentation');\n }\n\n return lineBreaks;\n}\n\nfunction testDocumentSeparator(state) {\n var _position = state.position,\n ch;\n\n ch = state.input.charCodeAt(_position);\n\n // Condition state.position === state.lineStart is tested\n // in parent on each call, for efficiency. No needs to test here again.\n if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) &&\n ch === state.input.charCodeAt(_position + 1) &&\n ch === state.input.charCodeAt(_position + 2)) {\n\n _position += 3;\n\n ch = state.input.charCodeAt(_position);\n\n if (ch === 0 || is_WS_OR_EOL(ch)) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction writeFoldedLines(state, count) {\n if (count === 1) {\n state.result += ' ';\n } else if (count > 1) {\n state.result += common.repeat('\\n', count - 1);\n }\n}\n\n\nfunction readPlainScalar(state, nodeIndent, withinFlowCollection) {\n var preceding,\n following,\n captureStart,\n captureEnd,\n hasPendingContent,\n _line,\n _lineStart,\n _lineIndent,\n _kind = state.kind,\n _result = state.result,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (is_WS_OR_EOL(ch) ||\n is_FLOW_INDICATOR(ch) ||\n ch === 0x23/* # */ ||\n ch === 0x26/* & */ ||\n ch === 0x2A/* * */ ||\n ch === 0x21/* ! */ ||\n ch === 0x7C/* | */ ||\n ch === 0x3E/* > */ ||\n ch === 0x27/* ' */ ||\n ch === 0x22/* \" */ ||\n ch === 0x25/* % */ ||\n ch === 0x40/* @ */ ||\n ch === 0x60/* ` */) {\n return false;\n }\n\n if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following) ||\n withinFlowCollection && is_FLOW_INDICATOR(following)) {\n return false;\n }\n }\n\n state.kind = 'scalar';\n state.result = '';\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n\n while (ch !== 0) {\n if (ch === 0x3A/* : */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following) ||\n withinFlowCollection && is_FLOW_INDICATOR(following)) {\n break;\n }\n\n } else if (ch === 0x23/* # */) {\n preceding = state.input.charCodeAt(state.position - 1);\n\n if (is_WS_OR_EOL(preceding)) {\n break;\n }\n\n } else if ((state.position === state.lineStart && testDocumentSeparator(state)) ||\n withinFlowCollection && is_FLOW_INDICATOR(ch)) {\n break;\n\n } else if (is_EOL(ch)) {\n _line = state.line;\n _lineStart = state.lineStart;\n _lineIndent = state.lineIndent;\n skipSeparationSpace(state, false, -1);\n\n if (state.lineIndent >= nodeIndent) {\n hasPendingContent = true;\n ch = state.input.charCodeAt(state.position);\n continue;\n } else {\n state.position = captureEnd;\n state.line = _line;\n state.lineStart = _lineStart;\n state.lineIndent = _lineIndent;\n break;\n }\n }\n\n if (hasPendingContent) {\n captureSegment(state, captureStart, captureEnd, false);\n writeFoldedLines(state, state.line - _line);\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n }\n\n if (!is_WHITE_SPACE(ch)) {\n captureEnd = state.position + 1;\n }\n\n ch = state.input.charCodeAt(++state.position);\n }\n\n captureSegment(state, captureStart, captureEnd, false);\n\n if (state.result) {\n return true;\n }\n\n state.kind = _kind;\n state.result = _result;\n return false;\n}\n\nfunction readSingleQuotedScalar(state, nodeIndent) {\n var ch,\n captureStart, captureEnd;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x27/* ' */) {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x27/* ' */) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x27/* ' */) {\n captureStart = state.position;\n state.position++;\n captureEnd = state.position;\n } else {\n return true;\n }\n\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a single quoted scalar');\n\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a single quoted scalar');\n}\n\nfunction readDoubleQuotedScalar(state, nodeIndent) {\n var captureStart,\n captureEnd,\n hexLength,\n hexResult,\n tmp,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x22/* \" */) {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x22/* \" */) {\n captureSegment(state, captureStart, state.position, true);\n state.position++;\n return true;\n\n } else if (ch === 0x5C/* \\ */) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n\n if (is_EOL(ch)) {\n skipSeparationSpace(state, false, nodeIndent);\n\n // TODO: rework to inline fn with no type cast?\n } else if (ch < 256 && simpleEscapeCheck[ch]) {\n state.result += simpleEscapeMap[ch];\n state.position++;\n\n } else if ((tmp = escapedHexLen(ch)) > 0) {\n hexLength = tmp;\n hexResult = 0;\n\n for (; hexLength > 0; hexLength--) {\n ch = state.input.charCodeAt(++state.position);\n\n if ((tmp = fromHexCode(ch)) >= 0) {\n hexResult = (hexResult << 4) + tmp;\n\n } else {\n throwError(state, 'expected hexadecimal character');\n }\n }\n\n state.result += charFromCodepoint(hexResult);\n\n state.position++;\n\n } else {\n throwError(state, 'unknown escape sequence');\n }\n\n captureStart = captureEnd = state.position;\n\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a double quoted scalar');\n\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a double quoted scalar');\n}\n\nfunction readFlowCollection(state, nodeIndent) {\n var readNext = true,\n _line,\n _tag = state.tag,\n _result,\n _anchor = state.anchor,\n following,\n terminator,\n isPair,\n isExplicitPair,\n isMapping,\n overridableKeys = {},\n keyNode,\n keyTag,\n valueNode,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x5B/* [ */) {\n terminator = 0x5D;/* ] */\n isMapping = false;\n _result = [];\n } else if (ch === 0x7B/* { */) {\n terminator = 0x7D;/* } */\n isMapping = true;\n _result = {};\n } else {\n return false;\n }\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(++state.position);\n\n while (ch !== 0) {\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === terminator) {\n state.position++;\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = isMapping ? 'mapping' : 'sequence';\n state.result = _result;\n return true;\n } else if (!readNext) {\n throwError(state, 'missed comma between flow collection entries');\n }\n\n keyTag = keyNode = valueNode = null;\n isPair = isExplicitPair = false;\n\n if (ch === 0x3F/* ? */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following)) {\n isPair = isExplicitPair = true;\n state.position++;\n skipSeparationSpace(state, true, nodeIndent);\n }\n }\n\n _line = state.line;\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n keyTag = state.tag;\n keyNode = state.result;\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) {\n isPair = true;\n ch = state.input.charCodeAt(++state.position);\n skipSeparationSpace(state, true, nodeIndent);\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n valueNode = state.result;\n }\n\n if (isMapping) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode);\n } else if (isPair) {\n _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode));\n } else {\n _result.push(keyNode);\n }\n\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x2C/* , */) {\n readNext = true;\n ch = state.input.charCodeAt(++state.position);\n } else {\n readNext = false;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a flow collection');\n}\n\nfunction readBlockScalar(state, nodeIndent) {\n var captureStart,\n folding,\n chomping = CHOMPING_CLIP,\n didReadContent = false,\n detectedIndent = false,\n textIndent = nodeIndent,\n emptyLines = 0,\n atMoreIndented = false,\n tmp,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x7C/* | */) {\n folding = false;\n } else if (ch === 0x3E/* > */) {\n folding = true;\n } else {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n\n while (ch !== 0) {\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x2B/* + */ || ch === 0x2D/* - */) {\n if (CHOMPING_CLIP === chomping) {\n chomping = (ch === 0x2B/* + */) ? CHOMPING_KEEP : CHOMPING_STRIP;\n } else {\n throwError(state, 'repeat of a chomping mode identifier');\n }\n\n } else if ((tmp = fromDecimalCode(ch)) >= 0) {\n if (tmp === 0) {\n throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');\n } else if (!detectedIndent) {\n textIndent = nodeIndent + tmp - 1;\n detectedIndent = true;\n } else {\n throwError(state, 'repeat of an indentation width identifier');\n }\n\n } else {\n break;\n }\n }\n\n if (is_WHITE_SPACE(ch)) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (is_WHITE_SPACE(ch));\n\n if (ch === 0x23/* # */) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (!is_EOL(ch) && (ch !== 0));\n }\n }\n\n while (ch !== 0) {\n readLineBreak(state);\n state.lineIndent = 0;\n\n ch = state.input.charCodeAt(state.position);\n\n while ((!detectedIndent || state.lineIndent < textIndent) &&\n (ch === 0x20/* Space */)) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (!detectedIndent && state.lineIndent > textIndent) {\n textIndent = state.lineIndent;\n }\n\n if (is_EOL(ch)) {\n emptyLines++;\n continue;\n }\n\n // End of the scalar.\n if (state.lineIndent < textIndent) {\n\n // Perform the chomping.\n if (chomping === CHOMPING_KEEP) {\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n } else if (chomping === CHOMPING_CLIP) {\n if (didReadContent) { // i.e. only if the scalar is not empty.\n state.result += '\\n';\n }\n }\n\n // Break this `while` cycle and go to the funciton's epilogue.\n break;\n }\n\n // Folded style: use fancy rules to handle line breaks.\n if (folding) {\n\n // Lines starting with white space characters (more-indented lines) are not folded.\n if (is_WHITE_SPACE(ch)) {\n atMoreIndented = true;\n // except for the first content line (cf. Example 8.1)\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n\n // End of more-indented block.\n } else if (atMoreIndented) {\n atMoreIndented = false;\n state.result += common.repeat('\\n', emptyLines + 1);\n\n // Just one line break - perceive as the same line.\n } else if (emptyLines === 0) {\n if (didReadContent) { // i.e. only if we have already read some scalar content.\n state.result += ' ';\n }\n\n // Several line breaks - perceive as different lines.\n } else {\n state.result += common.repeat('\\n', emptyLines);\n }\n\n // Literal style: just add exact number of line breaks between content lines.\n } else {\n // Keep all line breaks except the header line break.\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n }\n\n didReadContent = true;\n detectedIndent = true;\n emptyLines = 0;\n captureStart = state.position;\n\n while (!is_EOL(ch) && (ch !== 0)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n captureSegment(state, captureStart, state.position, false);\n }\n\n return true;\n}\n\nfunction readBlockSequence(state, nodeIndent) {\n var _line,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = [],\n following,\n detected = false,\n ch;\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n\n if (ch !== 0x2D/* - */) {\n break;\n }\n\n following = state.input.charCodeAt(state.position + 1);\n\n if (!is_WS_OR_EOL(following)) {\n break;\n }\n\n detected = true;\n state.position++;\n\n if (skipSeparationSpace(state, true, -1)) {\n if (state.lineIndent <= nodeIndent) {\n _result.push(null);\n ch = state.input.charCodeAt(state.position);\n continue;\n }\n }\n\n _line = state.line;\n composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);\n _result.push(state.result);\n skipSeparationSpace(state, true, -1);\n\n ch = state.input.charCodeAt(state.position);\n\n if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {\n throwError(state, 'bad indentation of a sequence entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'sequence';\n state.result = _result;\n return true;\n }\n return false;\n}\n\nfunction readBlockMapping(state, nodeIndent, flowIndent) {\n var following,\n allowCompact,\n _line,\n _pos,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = {},\n overridableKeys = {},\n keyTag = null,\n keyNode = null,\n valueNode = null,\n atExplicitKey = false,\n detected = false,\n ch;\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n following = state.input.charCodeAt(state.position + 1);\n _line = state.line; // Save the current line.\n _pos = state.position;\n\n //\n // Explicit notation case. There are two separate blocks:\n // first for the key (denoted by \"?\") and second for the value (denoted by \":\")\n //\n if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) {\n\n if (ch === 0x3F/* ? */) {\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);\n keyTag = keyNode = valueNode = null;\n }\n\n detected = true;\n atExplicitKey = true;\n allowCompact = true;\n\n } else if (atExplicitKey) {\n // i.e. 0x3A/* : */ === character after the explicit key.\n atExplicitKey = false;\n allowCompact = true;\n\n } else {\n throwError(state, 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line');\n }\n\n state.position += 1;\n ch = following;\n\n //\n // Implicit notation case. Flow-style node as the key first, then \":\", and the value.\n //\n } else if (composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {\n\n if (state.line === _line) {\n ch = state.input.charCodeAt(state.position);\n\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (ch === 0x3A/* : */) {\n ch = state.input.charCodeAt(++state.position);\n\n if (!is_WS_OR_EOL(ch)) {\n throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');\n }\n\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);\n keyTag = keyNode = valueNode = null;\n }\n\n detected = true;\n atExplicitKey = false;\n allowCompact = false;\n keyTag = state.tag;\n keyNode = state.result;\n\n } else if (detected) {\n throwError(state, 'can not read an implicit mapping pair; a colon is missed');\n\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true; // Keep the result of `composeNode`.\n }\n\n } else if (detected) {\n throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');\n\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true; // Keep the result of `composeNode`.\n }\n\n } else {\n break; // Reading is done. Go to the epilogue.\n }\n\n //\n // Common reading code for both explicit and implicit notations.\n //\n if (state.line === _line || state.lineIndent > nodeIndent) {\n if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {\n if (atExplicitKey) {\n keyNode = state.result;\n } else {\n valueNode = state.result;\n }\n }\n\n if (!atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _pos);\n keyTag = keyNode = valueNode = null;\n }\n\n skipSeparationSpace(state, true, -1);\n ch = state.input.charCodeAt(state.position);\n }\n\n if (state.lineIndent > nodeIndent && (ch !== 0)) {\n throwError(state, 'bad indentation of a mapping entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n\n //\n // Epilogue.\n //\n\n // Special case: last mapping's node contains only the key in explicit notation.\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);\n }\n\n // Expose the resulting mapping.\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'mapping';\n state.result = _result;\n }\n\n return detected;\n}\n\nfunction readTagProperty(state) {\n var _position,\n isVerbatim = false,\n isNamed = false,\n tagHandle,\n tagName,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x21/* ! */) return false;\n\n if (state.tag !== null) {\n throwError(state, 'duplication of a tag property');\n }\n\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x3C/* < */) {\n isVerbatim = true;\n ch = state.input.charCodeAt(++state.position);\n\n } else if (ch === 0x21/* ! */) {\n isNamed = true;\n tagHandle = '!!';\n ch = state.input.charCodeAt(++state.position);\n\n } else {\n tagHandle = '!';\n }\n\n _position = state.position;\n\n if (isVerbatim) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (ch !== 0 && ch !== 0x3E/* > */);\n\n if (state.position < state.length) {\n tagName = state.input.slice(_position, state.position);\n ch = state.input.charCodeAt(++state.position);\n } else {\n throwError(state, 'unexpected end of the stream within a verbatim tag');\n }\n } else {\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n\n if (ch === 0x21/* ! */) {\n if (!isNamed) {\n tagHandle = state.input.slice(_position - 1, state.position + 1);\n\n if (!PATTERN_TAG_HANDLE.test(tagHandle)) {\n throwError(state, 'named tag handle cannot contain such characters');\n }\n\n isNamed = true;\n _position = state.position + 1;\n } else {\n throwError(state, 'tag suffix cannot contain exclamation marks');\n }\n }\n\n ch = state.input.charCodeAt(++state.position);\n }\n\n tagName = state.input.slice(_position, state.position);\n\n if (PATTERN_FLOW_INDICATORS.test(tagName)) {\n throwError(state, 'tag suffix cannot contain flow indicator characters');\n }\n }\n\n if (tagName && !PATTERN_TAG_URI.test(tagName)) {\n throwError(state, 'tag name cannot contain such characters: ' + tagName);\n }\n\n if (isVerbatim) {\n state.tag = tagName;\n\n } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {\n state.tag = state.tagMap[tagHandle] + tagName;\n\n } else if (tagHandle === '!') {\n state.tag = '!' + tagName;\n\n } else if (tagHandle === '!!') {\n state.tag = 'tag:yaml.org,2002:' + tagName;\n\n } else {\n throwError(state, 'undeclared tag handle \"' + tagHandle + '\"');\n }\n\n return true;\n}\n\nfunction readAnchorProperty(state) {\n var _position,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x26/* & */) return false;\n\n if (state.anchor !== null) {\n throwError(state, 'duplication of an anchor property');\n }\n\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (state.position === _position) {\n throwError(state, 'name of an anchor node must contain at least one character');\n }\n\n state.anchor = state.input.slice(_position, state.position);\n return true;\n}\n\nfunction readAlias(state) {\n var _position, alias,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x2A/* * */) return false;\n\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (state.position === _position) {\n throwError(state, 'name of an alias node must contain at least one character');\n }\n\n alias = state.input.slice(_position, state.position);\n\n if (!state.anchorMap.hasOwnProperty(alias)) {\n throwError(state, 'unidentified alias \"' + alias + '\"');\n }\n\n state.result = state.anchorMap[alias];\n skipSeparationSpace(state, true, -1);\n return true;\n}\n\nfunction composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {\n var allowBlockStyles,\n allowBlockScalars,\n allowBlockCollections,\n indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n }\n }\n\n if (indentStatus === 1) {\n while (readTagProperty(state) || readAnchorProperty(state)) {\n if (skipSeparationSpace(state, true, -1)) {\n atNewLine = true;\n allowBlockCollections = allowBlockStyles;\n\n if (state.lineIndent > parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n } else {\n allowBlockCollections = false;\n }\n }\n }\n\n if (allowBlockCollections) {\n allowBlockCollections = atNewLine || allowCompact;\n }\n\n if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {\n if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {\n flowIndent = parentIndent;\n } else {\n flowIndent = parentIndent + 1;\n }\n\n blockIndent = state.position - state.lineStart;\n\n if (indentStatus === 1) {\n if (allowBlockCollections &&\n (readBlockSequence(state, blockIndent) ||\n readBlockMapping(state, blockIndent, flowIndent)) ||\n readFlowCollection(state, flowIndent)) {\n hasContent = true;\n } else {\n if ((allowBlockScalars && readBlockScalar(state, flowIndent)) ||\n readSingleQuotedScalar(state, flowIndent) ||\n readDoubleQuotedScalar(state, flowIndent)) {\n hasContent = true;\n\n } else if (readAlias(state)) {\n hasContent = true;\n\n if (state.tag !== null || state.anchor !== null) {\n throwError(state, 'alias node should not have any properties');\n }\n\n } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {\n hasContent = true;\n\n if (state.tag === null) {\n state.tag = '?';\n }\n }\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n } else if (indentStatus === 0) {\n // Special case: block sequences are allowed to have same indentation level as the parent.\n // http://www.yaml.org/spec/1.2/spec.html#id2799784\n hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);\n }\n }\n\n if (state.tag !== null && state.tag !== '!') {\n if (state.tag === '?') {\n // Implicit resolving is not allowed for non-scalar types, and '?'\n // non-specific tag is only automatically assigned to plain scalars.\n //\n // We only need to check kind conformity in case user explicitly assigns '?'\n // tag, for example like this: \"! [0]\"\n //\n if (state.result !== null && state.kind !== 'scalar') {\n throwError(state, 'unacceptable node kind for ! tag; it should be \"scalar\", not \"' + state.kind + '\"');\n }\n\n for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {\n type = state.implicitTypes[typeIndex];\n\n if (type.resolve(state.result)) { // `state.result` updated in resolver if matched\n state.result = type.construct(state.result);\n state.tag = type.tag;\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n break;\n }\n }\n } else if (_hasOwnProperty.call(state.typeMap[state.kind || 'fallback'], state.tag)) {\n type = state.typeMap[state.kind || 'fallback'][state.tag];\n\n if (state.result !== null && type.kind !== state.kind) {\n throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be \"' + type.kind + '\", not \"' + state.kind + '\"');\n }\n\n if (!type.resolve(state.result)) { // `state.result` updated in resolver if matched\n throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');\n } else {\n state.result = type.construct(state.result);\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n } else {\n throwError(state, 'unknown tag !<' + state.tag + '>');\n }\n }\n\n if (state.listener !== null) {\n state.listener('close', state);\n }\n return state.tag !== null || state.anchor !== null || hasContent;\n}\n\nfunction readDocument(state) {\n var documentStart = state.position,\n _position,\n directiveName,\n directiveArgs,\n hasDirectives = false,\n ch;\n\n state.version = null;\n state.checkLineBreaks = state.legacy;\n state.tagMap = {};\n state.anchorMap = {};\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n skipSeparationSpace(state, true, -1);\n\n ch = state.input.charCodeAt(state.position);\n\n if (state.lineIndent > 0 || ch !== 0x25/* % */) {\n break;\n }\n\n hasDirectives = true;\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n directiveName = state.input.slice(_position, state.position);\n directiveArgs = [];\n\n if (directiveName.length < 1) {\n throwError(state, 'directive name must not be less than one character in length');\n }\n\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (ch === 0x23/* # */) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (ch !== 0 && !is_EOL(ch));\n break;\n }\n\n if (is_EOL(ch)) break;\n\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n directiveArgs.push(state.input.slice(_position, state.position));\n }\n\n if (ch !== 0) readLineBreak(state);\n\n if (_hasOwnProperty.call(directiveHandlers, directiveName)) {\n directiveHandlers[directiveName](state, directiveName, directiveArgs);\n } else {\n throwWarning(state, 'unknown document directive \"' + directiveName + '\"');\n }\n }\n\n skipSeparationSpace(state, true, -1);\n\n if (state.lineIndent === 0 &&\n state.input.charCodeAt(state.position) === 0x2D/* - */ &&\n state.input.charCodeAt(state.position + 1) === 0x2D/* - */ &&\n state.input.charCodeAt(state.position + 2) === 0x2D/* - */) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n\n } else if (hasDirectives) {\n throwError(state, 'directives end mark is expected');\n }\n\n composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);\n skipSeparationSpace(state, true, -1);\n\n if (state.checkLineBreaks &&\n PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {\n throwWarning(state, 'non-ASCII line breaks are interpreted as content');\n }\n\n state.documents.push(state.result);\n\n if (state.position === state.lineStart && testDocumentSeparator(state)) {\n\n if (state.input.charCodeAt(state.position) === 0x2E/* . */) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n }\n return;\n }\n\n if (state.position < (state.length - 1)) {\n throwError(state, 'end of the stream or a document separator is expected');\n } else {\n return;\n }\n}\n\n\nfunction loadDocuments(input, options) {\n input = String(input);\n options = options || {};\n\n if (input.length !== 0) {\n\n // Add tailing `\\n` if not exists\n if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ &&\n input.charCodeAt(input.length - 1) !== 0x0D/* CR */) {\n input += '\\n';\n }\n\n // Strip BOM\n if (input.charCodeAt(0) === 0xFEFF) {\n input = input.slice(1);\n }\n }\n\n var state = new State(input, options);\n\n var nullpos = input.indexOf('\\0');\n\n if (nullpos !== -1) {\n state.position = nullpos;\n throwError(state, 'null byte is not allowed in input');\n }\n\n // Use 0 as string terminator. That significantly simplifies bounds check.\n state.input += '\\0';\n\n while (state.input.charCodeAt(state.position) === 0x20/* Space */) {\n state.lineIndent += 1;\n state.position += 1;\n }\n\n while (state.position < (state.length - 1)) {\n readDocument(state);\n }\n\n return state.documents;\n}\n\n\nfunction loadAll(input, iterator, options) {\n if (iterator !== null && typeof iterator === 'object' && typeof options === 'undefined') {\n options = iterator;\n iterator = null;\n }\n\n var documents = loadDocuments(input, options);\n\n if (typeof iterator !== 'function') {\n return documents;\n }\n\n for (var index = 0, length = documents.length; index < length; index += 1) {\n iterator(documents[index]);\n }\n}\n\n\nfunction load(input, options) {\n var documents = loadDocuments(input, options);\n\n if (documents.length === 0) {\n /*eslint-disable no-undefined*/\n return undefined;\n } else if (documents.length === 1) {\n return documents[0];\n }\n throw new YAMLException('expected a single document in the stream, but found more');\n}\n\n\nfunction safeLoadAll(input, iterator, options) {\n if (typeof iterator === 'object' && iterator !== null && typeof options === 'undefined') {\n options = iterator;\n iterator = null;\n }\n\n return loadAll(input, iterator, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));\n}\n\n\nfunction safeLoad(input, options) {\n return load(input, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));\n}\n\n\nmodule.exports.loadAll = loadAll;\nmodule.exports.load = load;\nmodule.exports.safeLoadAll = safeLoadAll;\nmodule.exports.safeLoad = safeLoad;\n","'use strict';\n\n\nvar common = require('./common');\n\n\nfunction Mark(name, buffer, position, line, column) {\n this.name = name;\n this.buffer = buffer;\n this.position = position;\n this.line = line;\n this.column = column;\n}\n\n\nMark.prototype.getSnippet = function getSnippet(indent, maxLength) {\n var head, start, tail, end, snippet;\n\n if (!this.buffer) return null;\n\n indent = indent || 4;\n maxLength = maxLength || 75;\n\n head = '';\n start = this.position;\n\n while (start > 0 && '\\x00\\r\\n\\x85\\u2028\\u2029'.indexOf(this.buffer.charAt(start - 1)) === -1) {\n start -= 1;\n if (this.position - start > (maxLength / 2 - 1)) {\n head = ' ... ';\n start += 5;\n break;\n }\n }\n\n tail = '';\n end = this.position;\n\n while (end < this.buffer.length && '\\x00\\r\\n\\x85\\u2028\\u2029'.indexOf(this.buffer.charAt(end)) === -1) {\n end += 1;\n if (end - this.position > (maxLength / 2 - 1)) {\n tail = ' ... ';\n end -= 5;\n break;\n }\n }\n\n snippet = this.buffer.slice(start, end);\n\n return common.repeat(' ', indent) + head + snippet + tail + '\\n' +\n common.repeat(' ', indent + this.position - start + head.length) + '^';\n};\n\n\nMark.prototype.toString = function toString(compact) {\n var snippet, where = '';\n\n if (this.name) {\n where += 'in \"' + this.name + '\" ';\n }\n\n where += 'at line ' + (this.line + 1) + ', column ' + (this.column + 1);\n\n if (!compact) {\n snippet = this.getSnippet();\n\n if (snippet) {\n where += ':\\n' + snippet;\n }\n }\n\n return where;\n};\n\n\nmodule.exports = Mark;\n","'use strict';\n\n/*eslint-disable max-len*/\n\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar Type = require('./type');\n\n\nfunction compileList(schema, name, result) {\n var exclude = [];\n\n schema.include.forEach(function (includedSchema) {\n result = compileList(includedSchema, name, result);\n });\n\n schema[name].forEach(function (currentType) {\n result.forEach(function (previousType, previousIndex) {\n if (previousType.tag === currentType.tag && previousType.kind === currentType.kind) {\n exclude.push(previousIndex);\n }\n });\n\n result.push(currentType);\n });\n\n return result.filter(function (type, index) {\n return exclude.indexOf(index) === -1;\n });\n}\n\n\nfunction compileMap(/* lists... */) {\n var result = {\n scalar: {},\n sequence: {},\n mapping: {},\n fallback: {}\n }, index, length;\n\n function collectType(type) {\n result[type.kind][type.tag] = result['fallback'][type.tag] = type;\n }\n\n for (index = 0, length = arguments.length; index < length; index += 1) {\n arguments[index].forEach(collectType);\n }\n return result;\n}\n\n\nfunction Schema(definition) {\n this.include = definition.include || [];\n this.implicit = definition.implicit || [];\n this.explicit = definition.explicit || [];\n\n this.implicit.forEach(function (type) {\n if (type.loadKind && type.loadKind !== 'scalar') {\n throw new YAMLException('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.');\n }\n });\n\n this.compiledImplicit = compileList(this, 'implicit', []);\n this.compiledExplicit = compileList(this, 'explicit', []);\n this.compiledTypeMap = compileMap(this.compiledImplicit, this.compiledExplicit);\n}\n\n\nSchema.DEFAULT = null;\n\n\nSchema.create = function createSchema() {\n var schemas, types;\n\n switch (arguments.length) {\n case 1:\n schemas = Schema.DEFAULT;\n types = arguments[0];\n break;\n\n case 2:\n schemas = arguments[0];\n types = arguments[1];\n break;\n\n default:\n throw new YAMLException('Wrong number of arguments for Schema.create function');\n }\n\n schemas = common.toArray(schemas);\n types = common.toArray(types);\n\n if (!schemas.every(function (schema) { return schema instanceof Schema; })) {\n throw new YAMLException('Specified list of super schemas (or a single Schema object) contains a non-Schema object.');\n }\n\n if (!types.every(function (type) { return type instanceof Type; })) {\n throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.');\n }\n\n return new Schema({\n include: schemas,\n explicit: types\n });\n};\n\n\nmodule.exports = Schema;\n","// Standard YAML's Core schema.\n// http://www.yaml.org/spec/1.2/spec.html#id2804923\n//\n// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.\n// So, Core schema has no distinctions from JSON schema is JS-YAML.\n\n\n'use strict';\n\n\nvar Schema = require('../schema');\n\n\nmodule.exports = new Schema({\n include: [\n require('./json')\n ]\n});\n","// JS-YAML's default schema for `load` function.\n// It is not described in the YAML specification.\n//\n// This schema is based on JS-YAML's default safe schema and includes\n// JavaScript-specific types: !!js/undefined, !!js/regexp and !!js/function.\n//\n// Also this schema is used as default base schema at `Schema.create` function.\n\n\n'use strict';\n\n\nvar Schema = require('../schema');\n\n\nmodule.exports = Schema.DEFAULT = new Schema({\n include: [\n require('./default_safe')\n ],\n explicit: [\n require('../type/js/undefined'),\n require('../type/js/regexp'),\n require('../type/js/function')\n ]\n});\n","// JS-YAML's default schema for `safeLoad` function.\n// It is not described in the YAML specification.\n//\n// This schema is based on standard YAML's Core schema and includes most of\n// extra types described at YAML tag repository. (http://yaml.org/type/)\n\n\n'use strict';\n\n\nvar Schema = require('../schema');\n\n\nmodule.exports = new Schema({\n include: [\n require('./core')\n ],\n implicit: [\n require('../type/timestamp'),\n require('../type/merge')\n ],\n explicit: [\n require('../type/binary'),\n require('../type/omap'),\n require('../type/pairs'),\n require('../type/set')\n ]\n});\n","// Standard YAML's Failsafe schema.\n// http://www.yaml.org/spec/1.2/spec.html#id2802346\n\n\n'use strict';\n\n\nvar Schema = require('../schema');\n\n\nmodule.exports = new Schema({\n explicit: [\n require('../type/str'),\n require('../type/seq'),\n require('../type/map')\n ]\n});\n","// Standard YAML's JSON schema.\n// http://www.yaml.org/spec/1.2/spec.html#id2803231\n//\n// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.\n// So, this schema is not such strict as defined in the YAML specification.\n// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.\n\n\n'use strict';\n\n\nvar Schema = require('../schema');\n\n\nmodule.exports = new Schema({\n include: [\n require('./failsafe')\n ],\n implicit: [\n require('../type/null'),\n require('../type/bool'),\n require('../type/int'),\n require('../type/float')\n ]\n});\n","'use strict';\n\nvar YAMLException = require('./exception');\n\nvar TYPE_CONSTRUCTOR_OPTIONS = [\n 'kind',\n 'resolve',\n 'construct',\n 'instanceOf',\n 'predicate',\n 'represent',\n 'defaultStyle',\n 'styleAliases'\n];\n\nvar YAML_NODE_KINDS = [\n 'scalar',\n 'sequence',\n 'mapping'\n];\n\nfunction compileStyleAliases(map) {\n var result = {};\n\n if (map !== null) {\n Object.keys(map).forEach(function (style) {\n map[style].forEach(function (alias) {\n result[String(alias)] = style;\n });\n });\n }\n\n return result;\n}\n\nfunction Type(tag, options) {\n options = options || {};\n\n Object.keys(options).forEach(function (name) {\n if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {\n throw new YAMLException('Unknown option \"' + name + '\" is met in definition of \"' + tag + '\" YAML type.');\n }\n });\n\n // TODO: Add tag format check.\n this.tag = tag;\n this.kind = options['kind'] || null;\n this.resolve = options['resolve'] || function () { return true; };\n this.construct = options['construct'] || function (data) { return data; };\n this.instanceOf = options['instanceOf'] || null;\n this.predicate = options['predicate'] || null;\n this.represent = options['represent'] || null;\n this.defaultStyle = options['defaultStyle'] || null;\n this.styleAliases = compileStyleAliases(options['styleAliases'] || null);\n\n if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {\n throw new YAMLException('Unknown kind \"' + this.kind + '\" is specified for \"' + tag + '\" YAML type.');\n }\n}\n\nmodule.exports = Type;\n",null,"'use strict';\n\nvar Type = require('../type');\n\nfunction resolveYamlBoolean(data) {\n if (data === null) return false;\n\n var max = data.length;\n\n return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) ||\n (max === 5 && (data === 'false' || data === 'False' || data === 'FALSE'));\n}\n\nfunction constructYamlBoolean(data) {\n return data === 'true' ||\n data === 'True' ||\n data === 'TRUE';\n}\n\nfunction isBoolean(object) {\n return Object.prototype.toString.call(object) === '[object Boolean]';\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:bool', {\n kind: 'scalar',\n resolve: resolveYamlBoolean,\n construct: constructYamlBoolean,\n predicate: isBoolean,\n represent: {\n lowercase: function (object) { return object ? 'true' : 'false'; },\n uppercase: function (object) { return object ? 'TRUE' : 'FALSE'; },\n camelcase: function (object) { return object ? 'True' : 'False'; }\n },\n defaultStyle: 'lowercase'\n});\n","'use strict';\n\nvar common = require('../common');\nvar Type = require('../type');\n\nvar YAML_FLOAT_PATTERN = new RegExp(\n // 2.5e4, 2.5 and integers\n '^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' +\n // .2e4, .2\n // special case, seems not from spec\n '|\\\\.[0-9_]+(?:[eE][-+]?[0-9]+)?' +\n // 20:59\n '|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*' +\n // .inf\n '|[-+]?\\\\.(?:inf|Inf|INF)' +\n // .nan\n '|\\\\.(?:nan|NaN|NAN))$');\n\nfunction resolveYamlFloat(data) {\n if (data === null) return false;\n\n if (!YAML_FLOAT_PATTERN.test(data) ||\n // Quick hack to not allow integers end with `_`\n // Probably should update regexp & check speed\n data[data.length - 1] === '_') {\n return false;\n }\n\n return true;\n}\n\nfunction constructYamlFloat(data) {\n var value, sign, base, digits;\n\n value = data.replace(/_/g, '').toLowerCase();\n sign = value[0] === '-' ? -1 : 1;\n digits = [];\n\n if ('+-'.indexOf(value[0]) >= 0) {\n value = value.slice(1);\n }\n\n if (value === '.inf') {\n return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;\n\n } else if (value === '.nan') {\n return NaN;\n\n } else if (value.indexOf(':') >= 0) {\n value.split(':').forEach(function (v) {\n digits.unshift(parseFloat(v, 10));\n });\n\n value = 0.0;\n base = 1;\n\n digits.forEach(function (d) {\n value += d * base;\n base *= 60;\n });\n\n return sign * value;\n\n }\n return sign * parseFloat(value, 10);\n}\n\n\nvar SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;\n\nfunction representYamlFloat(object, style) {\n var res;\n\n if (isNaN(object)) {\n switch (style) {\n case 'lowercase': return '.nan';\n case 'uppercase': return '.NAN';\n case 'camelcase': return '.NaN';\n }\n } else if (Number.POSITIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase': return '.inf';\n case 'uppercase': return '.INF';\n case 'camelcase': return '.Inf';\n }\n } else if (Number.NEGATIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase': return '-.inf';\n case 'uppercase': return '-.INF';\n case 'camelcase': return '-.Inf';\n }\n } else if (common.isNegativeZero(object)) {\n return '-0.0';\n }\n\n res = object.toString(10);\n\n // JS stringifier can build scientific format without dots: 5e-100,\n // while YAML requres dot: 5.e-100. Fix it with simple hack\n\n return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res;\n}\n\nfunction isFloat(object) {\n return (Object.prototype.toString.call(object) === '[object Number]') &&\n (object % 1 !== 0 || common.isNegativeZero(object));\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:float', {\n kind: 'scalar',\n resolve: resolveYamlFloat,\n construct: constructYamlFloat,\n predicate: isFloat,\n represent: representYamlFloat,\n defaultStyle: 'lowercase'\n});\n","'use strict';\n\nvar common = require('../common');\nvar Type = require('../type');\n\nfunction isHexCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||\n ((0x41/* A */ <= c) && (c <= 0x46/* F */)) ||\n ((0x61/* a */ <= c) && (c <= 0x66/* f */));\n}\n\nfunction isOctCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x37/* 7 */));\n}\n\nfunction isDecCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */));\n}\n\nfunction resolveYamlInteger(data) {\n if (data === null) return false;\n\n var max = data.length,\n index = 0,\n hasDigits = false,\n ch;\n\n if (!max) return false;\n\n ch = data[index];\n\n // sign\n if (ch === '-' || ch === '+') {\n ch = data[++index];\n }\n\n if (ch === '0') {\n // 0\n if (index + 1 === max) return true;\n ch = data[++index];\n\n // base 2, base 8, base 16\n\n if (ch === 'b') {\n // base 2\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (ch !== '0' && ch !== '1') return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n\n\n if (ch === 'x') {\n // base 16\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isHexCode(data.charCodeAt(index))) return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n\n // base 8\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isOctCode(data.charCodeAt(index))) return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n\n // base 10 (except 0) or base 60\n\n // value should not start with `_`;\n if (ch === '_') return false;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (ch === ':') break;\n if (!isDecCode(data.charCodeAt(index))) {\n return false;\n }\n hasDigits = true;\n }\n\n // Should have digits and should not end with `_`\n if (!hasDigits || ch === '_') return false;\n\n // if !base60 - done;\n if (ch !== ':') return true;\n\n // base60 almost not used, no needs to optimize\n return /^(:[0-5]?[0-9])+$/.test(data.slice(index));\n}\n\nfunction constructYamlInteger(data) {\n var value = data, sign = 1, ch, base, digits = [];\n\n if (value.indexOf('_') !== -1) {\n value = value.replace(/_/g, '');\n }\n\n ch = value[0];\n\n if (ch === '-' || ch === '+') {\n if (ch === '-') sign = -1;\n value = value.slice(1);\n ch = value[0];\n }\n\n if (value === '0') return 0;\n\n if (ch === '0') {\n if (value[1] === 'b') return sign * parseInt(value.slice(2), 2);\n if (value[1] === 'x') return sign * parseInt(value, 16);\n return sign * parseInt(value, 8);\n }\n\n if (value.indexOf(':') !== -1) {\n value.split(':').forEach(function (v) {\n digits.unshift(parseInt(v, 10));\n });\n\n value = 0;\n base = 1;\n\n digits.forEach(function (d) {\n value += (d * base);\n base *= 60;\n });\n\n return sign * value;\n\n }\n\n return sign * parseInt(value, 10);\n}\n\nfunction isInteger(object) {\n return (Object.prototype.toString.call(object)) === '[object Number]' &&\n (object % 1 === 0 && !common.isNegativeZero(object));\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:int', {\n kind: 'scalar',\n resolve: resolveYamlInteger,\n construct: constructYamlInteger,\n predicate: isInteger,\n represent: {\n binary: function (obj) { return obj >= 0 ? '0b' + obj.toString(2) : '-0b' + obj.toString(2).slice(1); },\n octal: function (obj) { return obj >= 0 ? '0' + obj.toString(8) : '-0' + obj.toString(8).slice(1); },\n decimal: function (obj) { return obj.toString(10); },\n /* eslint-disable max-len */\n hexadecimal: function (obj) { return obj >= 0 ? '0x' + obj.toString(16).toUpperCase() : '-0x' + obj.toString(16).toUpperCase().slice(1); }\n },\n defaultStyle: 'decimal',\n styleAliases: {\n binary: [ 2, 'bin' ],\n octal: [ 8, 'oct' ],\n decimal: [ 10, 'dec' ],\n hexadecimal: [ 16, 'hex' ]\n }\n});\n",null,"'use strict';\n\nvar Type = require('../../type');\n\nfunction resolveJavascriptRegExp(data) {\n if (data === null) return false;\n if (data.length === 0) return false;\n\n var regexp = data,\n tail = /\\/([gim]*)$/.exec(data),\n modifiers = '';\n\n // if regexp starts with '/' it can have modifiers and must be properly closed\n // `/foo/gim` - modifiers tail can be maximum 3 chars\n if (regexp[0] === '/') {\n if (tail) modifiers = tail[1];\n\n if (modifiers.length > 3) return false;\n // if expression starts with /, is should be properly terminated\n if (regexp[regexp.length - modifiers.length - 1] !== '/') return false;\n }\n\n return true;\n}\n\nfunction constructJavascriptRegExp(data) {\n var regexp = data,\n tail = /\\/([gim]*)$/.exec(data),\n modifiers = '';\n\n // `/foo/gim` - tail can be maximum 4 chars\n if (regexp[0] === '/') {\n if (tail) modifiers = tail[1];\n regexp = regexp.slice(1, regexp.length - modifiers.length - 1);\n }\n\n return new RegExp(regexp, modifiers);\n}\n\nfunction representJavascriptRegExp(object /*, style*/) {\n var result = '/' + object.source + '/';\n\n if (object.global) result += 'g';\n if (object.multiline) result += 'm';\n if (object.ignoreCase) result += 'i';\n\n return result;\n}\n\nfunction isRegExp(object) {\n return Object.prototype.toString.call(object) === '[object RegExp]';\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:js/regexp', {\n kind: 'scalar',\n resolve: resolveJavascriptRegExp,\n construct: constructJavascriptRegExp,\n predicate: isRegExp,\n represent: representJavascriptRegExp\n});\n","'use strict';\n\nvar Type = require('../../type');\n\nfunction resolveJavascriptUndefined() {\n return true;\n}\n\nfunction constructJavascriptUndefined() {\n /*eslint-disable no-undefined*/\n return undefined;\n}\n\nfunction representJavascriptUndefined() {\n return '';\n}\n\nfunction isUndefined(object) {\n return typeof object === 'undefined';\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:js/undefined', {\n kind: 'scalar',\n resolve: resolveJavascriptUndefined,\n construct: constructJavascriptUndefined,\n predicate: isUndefined,\n represent: representJavascriptUndefined\n});\n","'use strict';\n\nvar Type = require('../type');\n\nmodule.exports = new Type('tag:yaml.org,2002:map', {\n kind: 'mapping',\n construct: function (data) { return data !== null ? data : {}; }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nfunction resolveYamlMerge(data) {\n return data === '<<' || data === null;\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:merge', {\n kind: 'scalar',\n resolve: resolveYamlMerge\n});\n","'use strict';\n\nvar Type = require('../type');\n\nfunction resolveYamlNull(data) {\n if (data === null) return true;\n\n var max = data.length;\n\n return (max === 1 && data === '~') ||\n (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL'));\n}\n\nfunction constructYamlNull() {\n return null;\n}\n\nfunction isNull(object) {\n return object === null;\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:null', {\n kind: 'scalar',\n resolve: resolveYamlNull,\n construct: constructYamlNull,\n predicate: isNull,\n represent: {\n canonical: function () { return '~'; },\n lowercase: function () { return 'null'; },\n uppercase: function () { return 'NULL'; },\n camelcase: function () { return 'Null'; }\n },\n defaultStyle: 'lowercase'\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nvar _toString = Object.prototype.toString;\n\nfunction resolveYamlOmap(data) {\n if (data === null) return true;\n\n var objectKeys = [], index, length, pair, pairKey, pairHasKey,\n object = data;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n pairHasKey = false;\n\n if (_toString.call(pair) !== '[object Object]') return false;\n\n for (pairKey in pair) {\n if (_hasOwnProperty.call(pair, pairKey)) {\n if (!pairHasKey) pairHasKey = true;\n else return false;\n }\n }\n\n if (!pairHasKey) return false;\n\n if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);\n else return false;\n }\n\n return true;\n}\n\nfunction constructYamlOmap(data) {\n return data !== null ? data : [];\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:omap', {\n kind: 'sequence',\n resolve: resolveYamlOmap,\n construct: constructYamlOmap\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar _toString = Object.prototype.toString;\n\nfunction resolveYamlPairs(data) {\n if (data === null) return true;\n\n var index, length, pair, keys, result,\n object = data;\n\n result = new Array(object.length);\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n\n if (_toString.call(pair) !== '[object Object]') return false;\n\n keys = Object.keys(pair);\n\n if (keys.length !== 1) return false;\n\n result[index] = [ keys[0], pair[keys[0]] ];\n }\n\n return true;\n}\n\nfunction constructYamlPairs(data) {\n if (data === null) return [];\n\n var index, length, pair, keys, result,\n object = data;\n\n result = new Array(object.length);\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n\n keys = Object.keys(pair);\n\n result[index] = [ keys[0], pair[keys[0]] ];\n }\n\n return result;\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:pairs', {\n kind: 'sequence',\n resolve: resolveYamlPairs,\n construct: constructYamlPairs\n});\n","'use strict';\n\nvar Type = require('../type');\n\nmodule.exports = new Type('tag:yaml.org,2002:seq', {\n kind: 'sequence',\n construct: function (data) { return data !== null ? data : []; }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction resolveYamlSet(data) {\n if (data === null) return true;\n\n var key, object = data;\n\n for (key in object) {\n if (_hasOwnProperty.call(object, key)) {\n if (object[key] !== null) return false;\n }\n }\n\n return true;\n}\n\nfunction constructYamlSet(data) {\n return data !== null ? data : {};\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:set', {\n kind: 'mapping',\n resolve: resolveYamlSet,\n construct: constructYamlSet\n});\n","'use strict';\n\nvar Type = require('../type');\n\nmodule.exports = new Type('tag:yaml.org,2002:str', {\n kind: 'scalar',\n construct: function (data) { return data !== null ? data : ''; }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar YAML_DATE_REGEXP = new RegExp(\n '^([0-9][0-9][0-9][0-9])' + // [1] year\n '-([0-9][0-9])' + // [2] month\n '-([0-9][0-9])$'); // [3] day\n\nvar YAML_TIMESTAMP_REGEXP = new RegExp(\n '^([0-9][0-9][0-9][0-9])' + // [1] year\n '-([0-9][0-9]?)' + // [2] month\n '-([0-9][0-9]?)' + // [3] day\n '(?:[Tt]|[ \\\\t]+)' + // ...\n '([0-9][0-9]?)' + // [4] hour\n ':([0-9][0-9])' + // [5] minute\n ':([0-9][0-9])' + // [6] second\n '(?:\\\\.([0-9]*))?' + // [7] fraction\n '(?:[ \\\\t]*(Z|([-+])([0-9][0-9]?)' + // [8] tz [9] tz_sign [10] tz_hour\n '(?::([0-9][0-9]))?))?$'); // [11] tz_minute\n\nfunction resolveYamlTimestamp(data) {\n if (data === null) return false;\n if (YAML_DATE_REGEXP.exec(data) !== null) return true;\n if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true;\n return false;\n}\n\nfunction constructYamlTimestamp(data) {\n var match, year, month, day, hour, minute, second, fraction = 0,\n delta = null, tz_hour, tz_minute, date;\n\n match = YAML_DATE_REGEXP.exec(data);\n if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);\n\n if (match === null) throw new Error('Date resolve error');\n\n // match: [1] year [2] month [3] day\n\n year = +(match[1]);\n month = +(match[2]) - 1; // JS month starts with 0\n day = +(match[3]);\n\n if (!match[4]) { // no hour\n return new Date(Date.UTC(year, month, day));\n }\n\n // match: [4] hour [5] minute [6] second [7] fraction\n\n hour = +(match[4]);\n minute = +(match[5]);\n second = +(match[6]);\n\n if (match[7]) {\n fraction = match[7].slice(0, 3);\n while (fraction.length < 3) { // milli-seconds\n fraction += '0';\n }\n fraction = +fraction;\n }\n\n // match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute\n\n if (match[9]) {\n tz_hour = +(match[10]);\n tz_minute = +(match[11] || 0);\n delta = (tz_hour * 60 + tz_minute) * 60000; // delta in mili-seconds\n if (match[9] === '-') delta = -delta;\n }\n\n date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));\n\n if (delta) date.setTime(date.getTime() - delta);\n\n return date;\n}\n\nfunction representYamlTimestamp(object /*, style*/) {\n return object.toISOString();\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:timestamp', {\n kind: 'scalar',\n resolve: resolveYamlTimestamp,\n construct: constructYamlTimestamp,\n instanceOf: Date,\n represent: representYamlTimestamp\n});\n",null,"module.exports = require(\"assert\");","module.exports = require(\"crypto\");","module.exports = require(\"events\");","module.exports = require(\"fs\");","module.exports = require(\"http\");","module.exports = require(\"https\");","module.exports = require(\"net\");","module.exports = require(\"os\");","module.exports = require(\"path\");","module.exports = require(\"punycode\");","module.exports = require(\"stream\");","module.exports = require(\"tls\");","module.exports = require(\"url\");","module.exports = require(\"util\");","module.exports = require(\"zlib\");","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _ToolBuilder_extRefFactory, _ComponentBuilder_extRefFactory, _ComponentBuilder_licenseFactory;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ComponentBuilder = exports.ToolBuilder = void 0;\nconst Enums = __importStar(require(\"../enums\"));\nconst packageJson_1 = require(\"../helpers/packageJson\");\nconst Models = __importStar(require(\"../models\"));\nclass ToolBuilder {\n constructor(extRefFactory) {\n _ToolBuilder_extRefFactory.set(this, void 0);\n __classPrivateFieldSet(this, _ToolBuilder_extRefFactory, extRefFactory, \"f\");\n }\n get extRefFactory() {\n return __classPrivateFieldGet(this, _ToolBuilder_extRefFactory, \"f\");\n }\n makeTool(data) {\n const [name, vendor] = typeof data.name === 'string'\n ? (0, packageJson_1.splitNameGroup)(data.name)\n : [];\n return new Models.Tool({\n vendor,\n name,\n version: (typeof data.version === 'string')\n ? data.version\n : undefined,\n externalReferences: new Models.ExternalReferenceRepository(__classPrivateFieldGet(this, _ToolBuilder_extRefFactory, \"f\").makeExternalReferences(data))\n });\n }\n}\nexports.ToolBuilder = ToolBuilder;\n_ToolBuilder_extRefFactory = new WeakMap();\nclass ComponentBuilder {\n constructor(extRefFactory, licenseFactory) {\n _ComponentBuilder_extRefFactory.set(this, void 0);\n _ComponentBuilder_licenseFactory.set(this, void 0);\n __classPrivateFieldSet(this, _ComponentBuilder_extRefFactory, extRefFactory, \"f\");\n __classPrivateFieldSet(this, _ComponentBuilder_licenseFactory, licenseFactory, \"f\");\n }\n get extRefFactory() {\n return __classPrivateFieldGet(this, _ComponentBuilder_extRefFactory, \"f\");\n }\n get licenseFactory() {\n return __classPrivateFieldGet(this, _ComponentBuilder_licenseFactory, \"f\");\n }\n makeComponent(data, type = Enums.ComponentType.Library) {\n if (typeof data.name !== 'string') {\n return undefined;\n }\n const [name, group] = (0, packageJson_1.splitNameGroup)(data.name);\n if (name.length <= 0) {\n return undefined;\n }\n const author = typeof data.author === 'string'\n ? data.author\n : (typeof data.author?.name === 'string'\n ? data.author.name\n : undefined);\n const description = typeof data.description === 'string'\n ? data.description\n : undefined;\n const version = typeof data.version === 'string'\n ? data.version\n : undefined;\n const externalReferences = __classPrivateFieldGet(this, _ComponentBuilder_extRefFactory, \"f\").makeExternalReferences(data);\n const license = typeof data.license === 'string'\n ? __classPrivateFieldGet(this, _ComponentBuilder_licenseFactory, \"f\").makeFromString(data.license)\n : undefined;\n return new Models.Component(type, name, {\n author,\n description,\n externalReferences: new Models.ExternalReferenceRepository(externalReferences),\n group,\n licenses: new Models.LicenseRepository(license === undefined\n ? []\n : [license]),\n version\n });\n }\n}\nexports.ComponentBuilder = ComponentBuilder;\n_ComponentBuilder_extRefFactory = new WeakMap(), _ComponentBuilder_licenseFactory = new WeakMap();\n//# sourceMappingURL=fromNodePackageJson.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FromPackageJson = exports.FromNodePackageJson = void 0;\nexports.FromNodePackageJson = __importStar(require(\"./fromNodePackageJson.node\"));\nexports.FromPackageJson = __importStar(require(\"./fromNodePackageJson.node\"));\n//# sourceMappingURL=index.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AttachmentEncoding = void 0;\nvar AttachmentEncoding;\n(function (AttachmentEncoding) {\n AttachmentEncoding[\"Base64\"] = \"base64\";\n})(AttachmentEncoding = exports.AttachmentEncoding || (exports.AttachmentEncoding = {}));\n//# sourceMappingURL=attachmentEncoding.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ComponentScope = void 0;\nvar ComponentScope;\n(function (ComponentScope) {\n ComponentScope[\"Required\"] = \"required\";\n ComponentScope[\"Optional\"] = \"optional\";\n ComponentScope[\"Excluded\"] = \"excluded\";\n})(ComponentScope = exports.ComponentScope || (exports.ComponentScope = {}));\n//# sourceMappingURL=componentScope.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ComponentType = void 0;\nvar ComponentType;\n(function (ComponentType) {\n ComponentType[\"Application\"] = \"application\";\n ComponentType[\"Framework\"] = \"framework\";\n ComponentType[\"Library\"] = \"library\";\n ComponentType[\"Container\"] = \"container\";\n ComponentType[\"OperatingSystem\"] = \"operating-system\";\n ComponentType[\"Device\"] = \"device\";\n ComponentType[\"Firmware\"] = \"firmware\";\n ComponentType[\"File\"] = \"file\";\n})(ComponentType = exports.ComponentType || (exports.ComponentType = {}));\n//# sourceMappingURL=componentType.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ExternalReferenceType = void 0;\nvar ExternalReferenceType;\n(function (ExternalReferenceType) {\n ExternalReferenceType[\"VCS\"] = \"vcs\";\n ExternalReferenceType[\"IssueTracker\"] = \"issue-tracker\";\n ExternalReferenceType[\"Website\"] = \"website\";\n ExternalReferenceType[\"Advisories\"] = \"advisories\";\n ExternalReferenceType[\"BOM\"] = \"bom\";\n ExternalReferenceType[\"MailingList\"] = \"mailing-list\";\n ExternalReferenceType[\"Social\"] = \"social\";\n ExternalReferenceType[\"Chat\"] = \"chat\";\n ExternalReferenceType[\"Documentation\"] = \"documentation\";\n ExternalReferenceType[\"Support\"] = \"support\";\n ExternalReferenceType[\"Distribution\"] = \"distribution\";\n ExternalReferenceType[\"License\"] = \"license\";\n ExternalReferenceType[\"BuildMeta\"] = \"build-meta\";\n ExternalReferenceType[\"BuildSystem\"] = \"build-system\";\n ExternalReferenceType[\"ReleaseNotes\"] = \"release-notes\";\n ExternalReferenceType[\"Other\"] = \"other\";\n})(ExternalReferenceType = exports.ExternalReferenceType || (exports.ExternalReferenceType = {}));\n//# sourceMappingURL=externalReferenceType.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HashAlgorithm = void 0;\nvar HashAlgorithm;\n(function (HashAlgorithm) {\n HashAlgorithm[\"MD5\"] = \"MD5\";\n HashAlgorithm[\"SHA-1\"] = \"SHA-1\";\n HashAlgorithm[\"SHA-256\"] = \"SHA-256\";\n HashAlgorithm[\"SHA-384\"] = \"SHA-384\";\n HashAlgorithm[\"SHA-512\"] = \"SHA-512\";\n HashAlgorithm[\"SHA3-256\"] = \"SHA3-256\";\n HashAlgorithm[\"SHA3-384\"] = \"SHA3-384\";\n HashAlgorithm[\"SHA3-512\"] = \"SHA3-512\";\n HashAlgorithm[\"BLAKE2b-256\"] = \"BLAKE2b-256\";\n HashAlgorithm[\"BLAKE2b-384\"] = \"BLAKE2b-384\";\n HashAlgorithm[\"BLAKE2b-512\"] = \"BLAKE2b-512\";\n HashAlgorithm[\"BLAKE3\"] = \"BLAKE3\";\n})(HashAlgorithm = exports.HashAlgorithm || (exports.HashAlgorithm = {}));\n//# sourceMappingURL=hashAlogorithm.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./attachmentEncoding\"), exports);\n__exportStar(require(\"./componentScope\"), exports);\n__exportStar(require(\"./componentType\"), exports);\n__exportStar(require(\"./externalReferenceType\"), exports);\n__exportStar(require(\"./hashAlogorithm\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _PackageUrlFactory_instances, _PackageUrlFactory_finalizeQualifiers;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PackageUrlFactory = exports.ExternalReferenceFactory = void 0;\nconst Enums = __importStar(require(\"../enums\"));\nconst notUndefined_1 = require(\"../helpers/notUndefined\");\nconst packageUrl_1 = require(\"../helpers/packageUrl\");\nconst Models = __importStar(require(\"../models\"));\nconst packageUrl_2 = require(\"./packageUrl\");\nclass ExternalReferenceFactory {\n makeExternalReferences(data) {\n const refs = [];\n try {\n refs.push(this.makeVcs(data));\n }\n catch { }\n try {\n refs.push(this.makeHomepage(data));\n }\n catch { }\n try {\n refs.push(this.makeIssueTracker(data));\n }\n catch { }\n return refs.filter(notUndefined_1.isNotUndefined);\n }\n makeVcs(data) {\n const repository = data.repository;\n let url;\n let comment;\n if (typeof repository === 'object') {\n url = repository.url;\n comment = 'as detected from PackageJson property \"repository.url\"';\n if (typeof repository.directory === 'string' && typeof url === 'string' && url.length > 0) {\n url += '#' + repository.directory;\n comment += ' and \"repository.directory\"';\n }\n }\n else {\n url = repository;\n comment = 'as detected from PackageJson property \"repository\"';\n }\n return typeof url === 'string' && url.length > 0\n ? new Models.ExternalReference(url, Enums.ExternalReferenceType.VCS, { comment })\n : undefined;\n }\n makeHomepage(data) {\n const url = data.homepage;\n return typeof url === 'string' && url.length > 0\n ? new Models.ExternalReference(url, Enums.ExternalReferenceType.Website, { comment: 'as detected from PackageJson property \"homepage\"' })\n : undefined;\n }\n makeIssueTracker(data) {\n const bugs = data.bugs;\n let url;\n let comment;\n if (typeof bugs === 'object') {\n url = bugs.url;\n comment = 'as detected from PackageJson property \"bugs.url\"';\n }\n else {\n url = bugs;\n comment = 'as detected from PackageJson property \"bugs\"';\n }\n return typeof url === 'string' && url.length > 0\n ? new Models.ExternalReference(url, Enums.ExternalReferenceType.IssueTracker, { comment })\n : undefined;\n }\n}\nexports.ExternalReferenceFactory = ExternalReferenceFactory;\nconst npmDefaultRegistryMatcher = /^https?:\\/\\/registry\\.npmjs\\.org/;\nclass PackageUrlFactory extends packageUrl_2.PackageUrlFactory {\n constructor() {\n super(...arguments);\n _PackageUrlFactory_instances.add(this);\n }\n makeFromComponent(component, sort = false) {\n const purl = super.makeFromComponent(component, sort);\n return purl === undefined\n ? undefined\n : __classPrivateFieldGet(this, _PackageUrlFactory_instances, \"m\", _PackageUrlFactory_finalizeQualifiers).call(this, purl);\n }\n}\nexports.PackageUrlFactory = PackageUrlFactory;\n_PackageUrlFactory_instances = new WeakSet(), _PackageUrlFactory_finalizeQualifiers = function _PackageUrlFactory_finalizeQualifiers(purl) {\n const qualifiers = new Map(Object.entries(purl.qualifiers ?? {}));\n const downloadUrl = qualifiers.get(packageUrl_1.PackageUrlQualifierNames.DownloadURL);\n if (downloadUrl !== undefined) {\n qualifiers.delete(packageUrl_1.PackageUrlQualifierNames.VcsUrl);\n if (npmDefaultRegistryMatcher.test(downloadUrl)) {\n qualifiers.delete(packageUrl_1.PackageUrlQualifierNames.DownloadURL);\n }\n }\n if (!qualifiers.has(packageUrl_1.PackageUrlQualifierNames.DownloadURL) && !qualifiers.has(packageUrl_1.PackageUrlQualifierNames.VcsUrl)) {\n qualifiers.delete(packageUrl_1.PackageUrlQualifierNames.Checksum);\n }\n purl.qualifiers = qualifiers.size > 0\n ? Object.fromEntries(qualifiers.entries())\n : undefined;\n return purl;\n};\n//# sourceMappingURL=fromNodePackageJson.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./license\"), exports);\n__exportStar(require(\"./packageUrl\"), exports);\n//# sourceMappingURL=index.common.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FromPackageJson = exports.FromNodePackageJson = void 0;\n__exportStar(require(\"./index.common\"), exports);\nexports.FromNodePackageJson = __importStar(require(\"./fromNodePackageJson.node\"));\nexports.FromPackageJson = __importStar(require(\"./fromNodePackageJson.node\"));\n//# sourceMappingURL=index.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LicenseFactory = void 0;\nconst models_1 = require(\"../models\");\nconst spdx_1 = require(\"../spdx\");\nclass LicenseFactory {\n makeFromString(value) {\n try {\n return this.makeExpression(value);\n }\n catch {\n return this.makeDisjunctive(value);\n }\n }\n makeExpression(value) {\n return new models_1.LicenseExpression(value);\n }\n makeDisjunctive(value) {\n try {\n return this.makeDisjunctiveWithId(value);\n }\n catch {\n return this.makeDisjunctiveWithName(value);\n }\n }\n makeDisjunctiveWithId(value) {\n const spdxId = (0, spdx_1.fixupSpdxId)(String(value));\n if (undefined === spdxId) {\n throw new RangeError('Unsupported SPDX id');\n }\n return new models_1.SpdxLicense(spdxId);\n }\n makeDisjunctiveWithName(value) {\n return new models_1.NamedLicense(String(value));\n }\n}\nexports.LicenseFactory = LicenseFactory;\n//# sourceMappingURL=license.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _PackageUrlFactory_type;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PackageUrlFactory = void 0;\nconst packageurl_js_1 = require(\"packageurl-js\");\nconst enums_1 = require(\"../enums\");\nconst packageUrl_1 = require(\"../helpers/packageUrl\");\nclass PackageUrlFactory {\n constructor(type) {\n _PackageUrlFactory_type.set(this, void 0);\n __classPrivateFieldSet(this, _PackageUrlFactory_type, type, \"f\");\n }\n get type() {\n return __classPrivateFieldGet(this, _PackageUrlFactory_type, \"f\");\n }\n makeFromComponent(component, sort = false) {\n const qualifiers = {};\n let subpath;\n const extRefs = sort\n ? component.externalReferences.sorted()\n : component.externalReferences;\n for (const extRef of extRefs) {\n const url = extRef.url.toString();\n if (url.length <= 0) {\n continue;\n }\n switch (extRef.type) {\n case enums_1.ExternalReferenceType.VCS:\n [qualifiers[packageUrl_1.PackageUrlQualifierNames.VcsUrl], subpath] = url.split('#', 2);\n break;\n case enums_1.ExternalReferenceType.Distribution:\n qualifiers[packageUrl_1.PackageUrlQualifierNames.DownloadURL] = url;\n break;\n }\n }\n const hashes = component.hashes;\n if (hashes.size > 0) {\n qualifiers[packageUrl_1.PackageUrlQualifierNames.Checksum] = Array.from(sort\n ? hashes.sorted()\n : hashes, ([hashAlgo, hashCont]) => `${hashAlgo.toLowerCase()}:${hashCont.toLowerCase()}`).join(',');\n }\n try {\n return new packageurl_js_1.PackageURL(__classPrivateFieldGet(this, _PackageUrlFactory_type, \"f\"), component.group, component.name, component.version, qualifiers, subpath);\n }\n catch {\n return undefined;\n }\n }\n}\nexports.PackageUrlFactory = PackageUrlFactory;\n_PackageUrlFactory_type = new WeakMap();\n//# sourceMappingURL=packageUrl.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isNotUndefined = void 0;\nfunction isNotUndefined(value) {\n return value !== undefined;\n}\nexports.isNotUndefined = isNotUndefined;\n//# sourceMappingURL=notUndefined.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.splitNameGroup = void 0;\nfunction splitNameGroup(data) {\n return data[0] === '@'\n ? data.split('/', 2).reverse()\n : [data];\n}\nexports.splitNameGroup = splitNameGroup;\n//# sourceMappingURL=packageJson.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PackageUrlQualifierNames = void 0;\nvar PackageUrlQualifierNames;\n(function (PackageUrlQualifierNames) {\n PackageUrlQualifierNames[\"DownloadURL\"] = \"download_url\";\n PackageUrlQualifierNames[\"VcsUrl\"] = \"vcs_url\";\n PackageUrlQualifierNames[\"Checksum\"] = \"checksum\";\n})(PackageUrlQualifierNames = exports.PackageUrlQualifierNames || (exports.PackageUrlQualifierNames = {}));\n//# sourceMappingURL=packageUrl.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SortableSet = void 0;\nclass SortableSet extends Set {\n sorted() {\n return Array.from(this).sort((a, b) => a.compare(b));\n }\n}\nexports.SortableSet = SortableSet;\n//# sourceMappingURL=sortableSet.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.treeIteratorSymbol = void 0;\nexports.treeIteratorSymbol = Symbol('iterator of a tree/nesting-like structure');\n//# sourceMappingURL=tree.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Types = exports.Spec = exports.SPDX = exports.Models = exports.Enums = void 0;\nexports.Enums = __importStar(require(\"./enums\"));\nexports.Models = __importStar(require(\"./models\"));\nexports.SPDX = __importStar(require(\"./spdx\"));\nexports.Spec = __importStar(require(\"./spec\"));\nexports.Types = __importStar(require(\"./types\"));\n//# sourceMappingURL=index.common.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports._Resources = exports.Serialize = exports.Factories = exports.Builders = void 0;\n__exportStar(require(\"./index.common\"), exports);\nexports.Builders = __importStar(require(\"./builders/index.node\"));\nexports.Factories = __importStar(require(\"./factories/index.node\"));\nexports.Serialize = __importStar(require(\"./serialize/index.node\"));\nexports._Resources = __importStar(require(\"./resources.node\"));\n//# sourceMappingURL=index.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Attachment = void 0;\nclass Attachment {\n constructor(content, op = {}) {\n this.contentType = op.contentType;\n this.content = content;\n this.encoding = op.encoding;\n }\n}\nexports.Attachment = Attachment;\n//# sourceMappingURL=attachment.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar _Bom_version, _Bom_serialNumber;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Bom = void 0;\nconst types_1 = require(\"../types\");\nconst component_1 = require(\"./component\");\nconst metadata_1 = require(\"./metadata\");\nclass Bom {\n constructor(op = {}) {\n _Bom_version.set(this, 1);\n _Bom_serialNumber.set(this, void 0);\n this.metadata = op.metadata ?? new metadata_1.Metadata();\n this.components = op.components ?? new component_1.ComponentRepository();\n this.version = op.version ?? this.version;\n this.serialNumber = op.serialNumber;\n }\n get version() {\n return __classPrivateFieldGet(this, _Bom_version, \"f\");\n }\n set version(value) {\n if (!(0, types_1.isPositiveInteger)(value)) {\n throw new TypeError('Not PositiveInteger');\n }\n __classPrivateFieldSet(this, _Bom_version, value, \"f\");\n }\n get serialNumber() {\n return __classPrivateFieldGet(this, _Bom_serialNumber, \"f\");\n }\n set serialNumber(value) {\n if (value !== undefined && !(0, types_1.isUrnUuid)(value)) {\n throw new TypeError('Not UrnUuid nor undefined');\n }\n __classPrivateFieldSet(this, _Bom_serialNumber, value, \"f\");\n }\n}\nexports.Bom = Bom;\n_Bom_version = new WeakMap(), _Bom_serialNumber = new WeakMap();\n//# sourceMappingURL=bom.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BomRefRepository = exports.BomRef = void 0;\nclass BomRef {\n constructor(value) {\n this.value = value;\n }\n compare(other) {\n return this.toString().localeCompare(other.toString());\n }\n toString() {\n return this.value ?? '';\n }\n}\nexports.BomRef = BomRef;\nclass BomRefRepository extends Set {\n}\nexports.BomRefRepository = BomRefRepository;\n//# sourceMappingURL=bomRef.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _Component_bomRef, _Component_cpe;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ComponentRepository = exports.Component = void 0;\nconst sortableSet_1 = require(\"../helpers/sortableSet\");\nconst tree_1 = require(\"../helpers/tree\");\nconst types_1 = require(\"../types\");\nconst bomRef_1 = require(\"./bomRef\");\nconst externalReference_1 = require(\"./externalReference\");\nconst hash_1 = require(\"./hash\");\nconst license_1 = require(\"./license\");\nconst property_1 = require(\"./property\");\nclass Component {\n constructor(type, name, op = {}) {\n _Component_bomRef.set(this, void 0);\n _Component_cpe.set(this, void 0);\n __classPrivateFieldSet(this, _Component_bomRef, new bomRef_1.BomRef(op.bomRef), \"f\");\n this.type = type;\n this.name = name;\n this.supplier = op.supplier;\n this.author = op.author;\n this.copyright = op.copyright;\n this.externalReferences = op.externalReferences ?? new externalReference_1.ExternalReferenceRepository();\n this.group = op.group;\n this.hashes = op.hashes ?? new hash_1.HashRepository();\n this.licenses = op.licenses ?? new license_1.LicenseRepository();\n this.publisher = op.publisher;\n this.purl = op.purl;\n this.scope = op.scope;\n this.swid = op.swid;\n this.version = op.version;\n this.description = op.description;\n this.dependencies = op.dependencies ?? new bomRef_1.BomRefRepository();\n this.components = op.components ?? new ComponentRepository();\n this.cpe = op.cpe;\n this.properties = op.properties ?? new property_1.PropertyRepository();\n }\n get bomRef() {\n return __classPrivateFieldGet(this, _Component_bomRef, \"f\");\n }\n get cpe() {\n return __classPrivateFieldGet(this, _Component_cpe, \"f\");\n }\n set cpe(value) {\n if (value !== undefined && !(0, types_1.isCPE)(value)) {\n throw new TypeError('Not CPE nor undefined');\n }\n __classPrivateFieldSet(this, _Component_cpe, value, \"f\");\n }\n compare(other) {\n const bomRefCompare = this.bomRef.compare(other.bomRef);\n if (bomRefCompare !== 0) {\n return bomRefCompare;\n }\n if (this.purl !== undefined && other.purl !== undefined) {\n return this.purl.toString().localeCompare(other.purl.toString());\n }\n if (__classPrivateFieldGet(this, _Component_cpe, \"f\") !== undefined && __classPrivateFieldGet(other, _Component_cpe, \"f\") !== undefined) {\n return __classPrivateFieldGet(this, _Component_cpe, \"f\").toString().localeCompare(__classPrivateFieldGet(other, _Component_cpe, \"f\").toString());\n }\n return (this.group ?? '').localeCompare(other.group ?? '') ||\n this.name.localeCompare(other.name) ||\n (this.version ?? '').localeCompare(other.version ?? '');\n }\n}\nexports.Component = Component;\n_Component_bomRef = new WeakMap(), _Component_cpe = new WeakMap();\nclass ComponentRepository extends sortableSet_1.SortableSet {\n *[tree_1.treeIteratorSymbol]() {\n for (const component of this) {\n yield component;\n yield* component.components[tree_1.treeIteratorSymbol]();\n }\n }\n}\nexports.ComponentRepository = ComponentRepository;\n//# sourceMappingURL=component.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ExternalReferenceRepository = exports.ExternalReference = void 0;\nconst sortableSet_1 = require(\"../helpers/sortableSet\");\nclass ExternalReference {\n constructor(url, type, op = {}) {\n this.url = url;\n this.type = type;\n this.comment = op.comment;\n }\n compare(other) {\n return this.type.localeCompare(other.type) ||\n this.url.toString().localeCompare(other.url.toString());\n }\n}\nexports.ExternalReference = ExternalReference;\nclass ExternalReferenceRepository extends sortableSet_1.SortableSet {\n}\nexports.ExternalReferenceRepository = ExternalReferenceRepository;\n//# sourceMappingURL=externalReference.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _HashRepository_instances, _HashRepository_compareItems;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HashRepository = void 0;\nclass HashRepository extends Map {\n constructor() {\n super(...arguments);\n _HashRepository_instances.add(this);\n }\n sorted() {\n return Array.from(this.entries()).sort(__classPrivateFieldGet(this, _HashRepository_instances, \"m\", _HashRepository_compareItems));\n }\n}\nexports.HashRepository = HashRepository;\n_HashRepository_instances = new WeakSet(), _HashRepository_compareItems = function _HashRepository_compareItems([a1, c1], [a2, c2]) {\n return a1.localeCompare(a2) ||\n c1.localeCompare(c2);\n};\n//# sourceMappingURL=hash.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./attachment\"), exports);\n__exportStar(require(\"./bom\"), exports);\n__exportStar(require(\"./bomRef\"), exports);\n__exportStar(require(\"./component\"), exports);\n__exportStar(require(\"./externalReference\"), exports);\n__exportStar(require(\"./hash\"), exports);\n__exportStar(require(\"./license\"), exports);\n__exportStar(require(\"./metadata\"), exports);\n__exportStar(require(\"./organizationalContact\"), exports);\n__exportStar(require(\"./organizationalEntity\"), exports);\n__exportStar(require(\"./property\"), exports);\n__exportStar(require(\"./swid\"), exports);\n__exportStar(require(\"./tool\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar _LicenseExpression_expression, _SpdxLicense_id, _LicenseRepository_instances, _LicenseRepository_compareItems;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LicenseRepository = exports.SpdxLicense = exports.NamedLicense = exports.LicenseExpression = void 0;\nconst spdx_1 = require(\"../spdx\");\nclass LicenseExpression {\n constructor(expression) {\n _LicenseExpression_expression.set(this, void 0);\n this.expression = expression;\n }\n static isEligibleExpression(expression) {\n return typeof expression === 'string' &&\n expression.length >= 8 &&\n expression[0] === '(' &&\n expression[expression.length - 1] === ')';\n }\n get expression() {\n return __classPrivateFieldGet(this, _LicenseExpression_expression, \"f\");\n }\n set expression(value) {\n if (!LicenseExpression.isEligibleExpression(value)) {\n throw new RangeError('Not eligible expression');\n }\n __classPrivateFieldSet(this, _LicenseExpression_expression, value, \"f\");\n }\n compare(other) {\n return __classPrivateFieldGet(this, _LicenseExpression_expression, \"f\").localeCompare(__classPrivateFieldGet(other, _LicenseExpression_expression, \"f\"));\n }\n}\nexports.LicenseExpression = LicenseExpression;\n_LicenseExpression_expression = new WeakMap();\nclass NamedLicense {\n constructor(name, op = {}) {\n this.name = name;\n this.text = op.text;\n this.url = op.url;\n }\n compare(other) {\n return this.name.localeCompare(other.name);\n }\n}\nexports.NamedLicense = NamedLicense;\nclass SpdxLicense {\n constructor(id, op = {}) {\n _SpdxLicense_id.set(this, void 0);\n this.id = id;\n this.text = op.text;\n this.url = op.url;\n }\n get id() {\n return __classPrivateFieldGet(this, _SpdxLicense_id, \"f\");\n }\n set id(value) {\n if (!(0, spdx_1.isSupportedSpdxId)(value)) {\n throw new RangeError('Unknown SPDX id');\n }\n __classPrivateFieldSet(this, _SpdxLicense_id, value, \"f\");\n }\n compare(other) {\n return __classPrivateFieldGet(this, _SpdxLicense_id, \"f\").localeCompare(__classPrivateFieldGet(other, _SpdxLicense_id, \"f\"));\n }\n}\nexports.SpdxLicense = SpdxLicense;\n_SpdxLicense_id = new WeakMap();\nclass LicenseRepository extends Set {\n constructor() {\n super(...arguments);\n _LicenseRepository_instances.add(this);\n }\n sorted() {\n return Array.from(this).sort(__classPrivateFieldGet(this, _LicenseRepository_instances, \"m\", _LicenseRepository_compareItems));\n }\n}\nexports.LicenseRepository = LicenseRepository;\n_LicenseRepository_instances = new WeakSet(), _LicenseRepository_compareItems = function _LicenseRepository_compareItems(a, b) {\n if (a.constructor === b.constructor) {\n return a.compare(b);\n }\n return a.constructor.name.localeCompare(b.constructor.name);\n};\n//# sourceMappingURL=license.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Metadata = void 0;\nconst organizationalContact_1 = require(\"./organizationalContact\");\nconst tool_1 = require(\"./tool\");\nclass Metadata {\n constructor(op = {}) {\n this.timestamp = op.timestamp;\n this.tools = op.tools ?? new tool_1.ToolRepository();\n this.authors = op.authors ?? new organizationalContact_1.OrganizationalContactRepository();\n this.component = op.component;\n this.manufacture = op.manufacture;\n this.supplier = op.supplier;\n }\n}\nexports.Metadata = Metadata;\n//# sourceMappingURL=metadata.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationalContactRepository = exports.OrganizationalContact = void 0;\nconst sortableSet_1 = require(\"../helpers/sortableSet\");\nclass OrganizationalContact {\n constructor(op = {}) {\n this.name = op.name;\n this.email = op.email;\n this.phone = op.phone;\n }\n compare(other) {\n return (this.name ?? '').localeCompare(other.name ?? '') ||\n (this.email ?? '').localeCompare(other.email ?? '') ||\n (this.phone ?? '').localeCompare(other.phone ?? '');\n }\n}\nexports.OrganizationalContact = OrganizationalContact;\nclass OrganizationalContactRepository extends sortableSet_1.SortableSet {\n}\nexports.OrganizationalContactRepository = OrganizationalContactRepository;\n//# sourceMappingURL=organizationalContact.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationalEntity = void 0;\nconst organizationalContact_1 = require(\"./organizationalContact\");\nclass OrganizationalEntity {\n constructor(op = {}) {\n this.name = op.name;\n this.url = op.url ?? new Set();\n this.contact = op.contact ?? new organizationalContact_1.OrganizationalContactRepository();\n }\n}\nexports.OrganizationalEntity = OrganizationalEntity;\n//# sourceMappingURL=organizationalEntity.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PropertyRepository = exports.Property = void 0;\nconst sortableSet_1 = require(\"../helpers/sortableSet\");\nclass Property {\n constructor(name, value) {\n this.name = name;\n this.value = value;\n }\n compare(other) {\n return this.name.localeCompare(other.name) ||\n this.value.localeCompare(other.value);\n }\n}\nexports.Property = Property;\nclass PropertyRepository extends sortableSet_1.SortableSet {\n}\nexports.PropertyRepository = PropertyRepository;\n//# sourceMappingURL=property.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar _SWID_tagVersion;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SWID = void 0;\nconst types_1 = require(\"../types\");\nclass SWID {\n constructor(tagId, name, op = {}) {\n _SWID_tagVersion.set(this, void 0);\n this.tagId = tagId;\n this.name = name;\n this.version = op.version;\n this.patch = op.patch;\n this.text = op.text;\n this.url = op.url;\n this.tagVersion = op.tagVersion;\n }\n get tagVersion() {\n return __classPrivateFieldGet(this, _SWID_tagVersion, \"f\");\n }\n set tagVersion(value) {\n if (value !== undefined && !(0, types_1.isNonNegativeInteger)(value)) {\n throw new TypeError('Not NonNegativeInteger nor undefined');\n }\n __classPrivateFieldSet(this, _SWID_tagVersion, value, \"f\");\n }\n}\nexports.SWID = SWID;\n_SWID_tagVersion = new WeakMap();\n//# sourceMappingURL=swid.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ToolRepository = exports.Tool = void 0;\nconst sortableSet_1 = require(\"../helpers/sortableSet\");\nconst externalReference_1 = require(\"./externalReference\");\nconst hash_1 = require(\"./hash\");\nclass Tool {\n constructor(op = {}) {\n this.vendor = op.vendor;\n this.name = op.name;\n this.version = op.version;\n this.hashes = op.hashes ?? new hash_1.HashRepository();\n this.externalReferences = op.externalReferences ?? new externalReference_1.ExternalReferenceRepository();\n }\n compare(other) {\n return (this.vendor ?? '').localeCompare(other.vendor ?? '') ||\n (this.name ?? '').localeCompare(other.name ?? '') ||\n (this.version ?? '').localeCompare(other.version ?? '');\n }\n}\nexports.Tool = Tool;\nclass ToolRepository extends sortableSet_1.SortableSet {\n}\nexports.ToolRepository = ToolRepository;\n//# sourceMappingURL=tool.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FILES = exports.ROOT = void 0;\nconst path_1 = __importDefault(require(\"path\"));\nconst spec_1 = require(\"./spec\");\nexports.ROOT = path_1.default.resolve(__dirname, '..', 'res');\nexports.FILES = Object.freeze({\n CDX: Object.freeze({\n XML_SCHEMA: Object.freeze(Object.fromEntries([\n [spec_1.Version.v1dot0, path_1.default.resolve(exports.ROOT, 'bom-1.0.SNAPSHOT.xsd')],\n [spec_1.Version.v1dot1, path_1.default.resolve(exports.ROOT, 'bom-1.1.SNAPSHOT.xsd')],\n [spec_1.Version.v1dot2, path_1.default.resolve(exports.ROOT, 'bom-1.2.SNAPSHOT.xsd')],\n [spec_1.Version.v1dot3, path_1.default.resolve(exports.ROOT, 'bom-1.3.SNAPSHOT.xsd')],\n [spec_1.Version.v1dot4, path_1.default.resolve(exports.ROOT, 'bom-1.4.SNAPSHOT.xsd')]\n ])),\n JSON_SCHEMA: Object.freeze(Object.fromEntries([\n [spec_1.Version.v1dot2, path_1.default.resolve(exports.ROOT, 'bom-1.2.SNAPSHOT.schema.json')],\n [spec_1.Version.v1dot3, path_1.default.resolve(exports.ROOT, 'bom-1.3.SNAPSHOT.schema.json')],\n [spec_1.Version.v1dot4, path_1.default.resolve(exports.ROOT, 'bom-1.4.SNAPSHOT.schema.json')]\n ])),\n JSON_STRICT_SCHEMA: Object.freeze(Object.fromEntries([\n [spec_1.Version.v1dot2, path_1.default.resolve(exports.ROOT, 'bom-1.2-strict.SNAPSHOT.schema.json')],\n [spec_1.Version.v1dot3, path_1.default.resolve(exports.ROOT, 'bom-1.3-strict.SNAPSHOT.schema.json')]\n ]))\n }),\n SPDX: Object.freeze({\n XML_SCHEMA: path_1.default.resolve(exports.ROOT, 'spdx.SNAPSHOT.xsd'),\n JSON_SCHEMA: path_1.default.resolve(exports.ROOT, 'spdx.SNAPSHOT.schema.json')\n }),\n JSF: Object.freeze({\n JSON_SCHEMA: path_1.default.resolve(exports.ROOT, 'jsf-0.82.SNAPSHOT.schema.json')\n })\n});\n//# sourceMappingURL=resources.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _BaseSerializer_instances, _BaseSerializer_getAllBomRefs;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BaseSerializer = void 0;\nconst bomRefDiscriminator_1 = require(\"./bomRefDiscriminator\");\nclass BaseSerializer {\n constructor() {\n _BaseSerializer_instances.add(this);\n }\n serialize(bom, options) {\n const bomRefDiscriminator = new bomRefDiscriminator_1.BomRefDiscriminator(__classPrivateFieldGet(this, _BaseSerializer_instances, \"m\", _BaseSerializer_getAllBomRefs).call(this, bom));\n try {\n bomRefDiscriminator.discriminate();\n const normalized = this._normalize(bom, options);\n return this._serialize(normalized, options);\n }\n finally {\n bomRefDiscriminator.reset();\n }\n }\n}\nexports.BaseSerializer = BaseSerializer;\n_BaseSerializer_instances = new WeakSet(), _BaseSerializer_getAllBomRefs = function _BaseSerializer_getAllBomRefs(bom) {\n const bomRefs = new Set();\n function iterComponents(cs) {\n for (const { bomRef, components } of cs) {\n bomRefs.add(bomRef);\n iterComponents(components);\n }\n }\n if (bom.metadata.component !== undefined) {\n bomRefs.add(bom.metadata.component.bomRef);\n iterComponents(bom.metadata.component.components);\n }\n iterComponents(bom.components);\n return bomRefs.values();\n};\n//# sourceMappingURL=baseSerializer.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _BomRefDiscriminator_instances, _BomRefDiscriminator_originalValues, _BomRefDiscriminator_prefix, _BomRefDiscriminator_makeUniqueId;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BomRefDiscriminator = void 0;\nclass BomRefDiscriminator {\n constructor(bomRefs, prefix = 'BomRef') {\n _BomRefDiscriminator_instances.add(this);\n _BomRefDiscriminator_originalValues.set(this, void 0);\n _BomRefDiscriminator_prefix.set(this, void 0);\n __classPrivateFieldSet(this, _BomRefDiscriminator_originalValues, new Map(Array.from(bomRefs).map(ref => [ref, ref.value])), \"f\");\n __classPrivateFieldSet(this, _BomRefDiscriminator_prefix, prefix, \"f\");\n }\n get prefix() {\n return __classPrivateFieldGet(this, _BomRefDiscriminator_prefix, \"f\");\n }\n [(_BomRefDiscriminator_originalValues = new WeakMap(), _BomRefDiscriminator_prefix = new WeakMap(), _BomRefDiscriminator_instances = new WeakSet(), Symbol.iterator)]() {\n return __classPrivateFieldGet(this, _BomRefDiscriminator_originalValues, \"f\").keys();\n }\n discriminate() {\n const knownRefValues = new Set();\n for (const [bomRef] of __classPrivateFieldGet(this, _BomRefDiscriminator_originalValues, \"f\")) {\n let value = bomRef.value;\n if (value === undefined || knownRefValues.has(value)) {\n value = __classPrivateFieldGet(this, _BomRefDiscriminator_instances, \"m\", _BomRefDiscriminator_makeUniqueId).call(this);\n bomRef.value = value;\n }\n knownRefValues.add(value);\n }\n }\n reset() {\n for (const [bomRef, originalValue] of __classPrivateFieldGet(this, _BomRefDiscriminator_originalValues, \"f\")) {\n bomRef.value = originalValue;\n }\n }\n}\nexports.BomRefDiscriminator = BomRefDiscriminator;\n_BomRefDiscriminator_makeUniqueId = function _BomRefDiscriminator_makeUniqueId() {\n return `${__classPrivateFieldGet(this, _BomRefDiscriminator_prefix, \"f\")}${Math.random().toString(32).substring(1)}${Math.random().toString(32).substring(1)}`;\n};\n//# sourceMappingURL=bomRefDiscriminator.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.XML = exports.JSON = exports.Types = void 0;\n__exportStar(require(\"./bomRefDiscriminator\"), exports);\nexports.Types = __importStar(require(\"./types\"));\n__exportStar(require(\"./baseSerializer\"), exports);\nexports.JSON = __importStar(require(\"./json\"));\n__exportStar(require(\"./jsonSerializer\"), exports);\nexports.XML = __importStar(require(\"./xml\"));\n__exportStar(require(\"./xmlBaseSerializer\"), exports);\n//# sourceMappingURL=index.common.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./index.common\"), exports);\n__exportStar(require(\"./xmlSerializer.node\"), exports);\n//# sourceMappingURL=index.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Types = exports.Normalize = void 0;\nexports.Normalize = __importStar(require(\"./normalize\"));\nexports.Types = __importStar(require(\"./types\"));\n//# sourceMappingURL=index.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _Factory_spec, _LicenseNormalizer_instances, _LicenseNormalizer_normalizeNamedLicense, _LicenseNormalizer_normalizeSpdxLicense, _LicenseNormalizer_normalizeLicenseExpression, _DependencyGraphNormalizer_instances, _DependencyGraphNormalizer_normalizeDependency;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DependencyGraphNormalizer = exports.PropertyNormalizer = exports.AttachmentNormalizer = exports.ExternalReferenceNormalizer = exports.SWIDNormalizer = exports.LicenseNormalizer = exports.ComponentNormalizer = exports.OrganizationalEntityNormalizer = exports.OrganizationalContactNormalizer = exports.HashNormalizer = exports.ToolNormalizer = exports.MetadataNormalizer = exports.BomNormalizer = exports.Factory = void 0;\nconst notUndefined_1 = require(\"../../helpers/notUndefined\");\nconst tree_1 = require(\"../../helpers/tree\");\nconst Models = __importStar(require(\"../../models\"));\nconst spec_1 = require(\"../../spec\");\nconst types_1 = require(\"./types\");\nclass Factory {\n constructor(spec) {\n _Factory_spec.set(this, void 0);\n __classPrivateFieldSet(this, _Factory_spec, spec, \"f\");\n }\n get spec() {\n return __classPrivateFieldGet(this, _Factory_spec, \"f\");\n }\n makeForBom() {\n return new BomNormalizer(this);\n }\n makeForMetadata() {\n return new MetadataNormalizer(this);\n }\n makeForComponent() {\n return new ComponentNormalizer(this);\n }\n makeForTool() {\n return new ToolNormalizer(this);\n }\n makeForOrganizationalContact() {\n return new OrganizationalContactNormalizer(this);\n }\n makeForOrganizationalEntity() {\n return new OrganizationalEntityNormalizer(this);\n }\n makeForHash() {\n return new HashNormalizer(this);\n }\n makeForLicense() {\n return new LicenseNormalizer(this);\n }\n makeForSWID() {\n return new SWIDNormalizer(this);\n }\n makeForExternalReference() {\n return new ExternalReferenceNormalizer(this);\n }\n makeForAttachment() {\n return new AttachmentNormalizer(this);\n }\n makeForProperty() {\n return new PropertyNormalizer(this);\n }\n makeForDependencyGraph() {\n return new DependencyGraphNormalizer(this);\n }\n}\nexports.Factory = Factory;\n_Factory_spec = new WeakMap();\nconst schemaUrl = new Map([\n [spec_1.Version.v1dot2, 'http://cyclonedx.org/schema/bom-1.2b.schema.json'],\n [spec_1.Version.v1dot3, 'http://cyclonedx.org/schema/bom-1.3a.schema.json'],\n [spec_1.Version.v1dot4, 'http://cyclonedx.org/schema/bom-1.4.schema.json']\n]);\nclass Base {\n constructor(factory) {\n this._factory = factory;\n }\n get factory() {\n return this._factory;\n }\n}\nclass BomNormalizer extends Base {\n normalize(data, options) {\n return {\n $schema: schemaUrl.get(this._factory.spec.version),\n bomFormat: 'CycloneDX',\n specVersion: this._factory.spec.version,\n version: data.version,\n serialNumber: data.serialNumber,\n metadata: this._factory.makeForMetadata().normalize(data.metadata, options),\n components: data.components.size > 0\n ? this._factory.makeForComponent().normalizeRepository(data.components, options)\n : [],\n dependencies: this._factory.spec.supportsDependencyGraph\n ? this._factory.makeForDependencyGraph().normalize(data, options)\n : undefined\n };\n }\n}\nexports.BomNormalizer = BomNormalizer;\nclass MetadataNormalizer extends Base {\n normalize(data, options) {\n const orgEntityNormalizer = this._factory.makeForOrganizationalEntity();\n return {\n timestamp: data.timestamp?.toISOString(),\n tools: data.tools.size > 0\n ? this._factory.makeForTool().normalizeRepository(data.tools, options)\n : undefined,\n authors: data.authors.size > 0\n ? this._factory.makeForOrganizationalContact().normalizeRepository(data.authors, options)\n : undefined,\n component: data.component === undefined\n ? undefined\n : this._factory.makeForComponent().normalize(data.component, options),\n manufacture: data.manufacture === undefined\n ? undefined\n : orgEntityNormalizer.normalize(data.manufacture, options),\n supplier: data.supplier === undefined\n ? undefined\n : orgEntityNormalizer.normalize(data.supplier, options)\n };\n }\n}\nexports.MetadataNormalizer = MetadataNormalizer;\nclass ToolNormalizer extends Base {\n normalize(data, options) {\n return {\n vendor: data.vendor || undefined,\n name: data.name || undefined,\n version: data.version || undefined,\n hashes: data.hashes.size > 0\n ? this._factory.makeForHash().normalizeRepository(data.hashes, options)\n : undefined,\n externalReferences: this._factory.spec.supportsToolReferences && data.externalReferences.size > 0\n ? this._factory.makeForExternalReference().normalizeRepository(data.externalReferences, options)\n : undefined\n };\n }\n normalizeRepository(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(t => this.normalize(t, options));\n }\n}\nexports.ToolNormalizer = ToolNormalizer;\nclass HashNormalizer extends Base {\n normalize([algorithm, content], options) {\n const spec = this._factory.spec;\n return spec.supportsHashAlgorithm(algorithm) && spec.supportsHashValue(content)\n ? {\n alg: algorithm,\n content\n }\n : undefined;\n }\n normalizeRepository(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(h => this.normalize(h, options)).filter(notUndefined_1.isNotUndefined);\n }\n}\nexports.HashNormalizer = HashNormalizer;\nclass OrganizationalContactNormalizer extends Base {\n normalize(data, options) {\n return {\n name: data.name || undefined,\n email: types_1.JsonSchema.isIdnEmail(data.email)\n ? data.email\n : undefined,\n phone: data.phone || undefined\n };\n }\n normalizeRepository(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(c => this.normalize(c, options));\n }\n}\nexports.OrganizationalContactNormalizer = OrganizationalContactNormalizer;\nclass OrganizationalEntityNormalizer extends Base {\n normalize(data, options) {\n const urls = normalizeStringableIter(data.url, options)\n .filter(types_1.JsonSchema.isIriReference);\n return {\n name: data.name || undefined,\n url: urls.length > 0\n ? urls\n : undefined,\n contact: data.contact.size > 0\n ? this._factory.makeForOrganizationalContact().normalizeRepository(data.contact, options)\n : undefined\n };\n }\n}\nexports.OrganizationalEntityNormalizer = OrganizationalEntityNormalizer;\nclass ComponentNormalizer extends Base {\n normalize(data, options) {\n const spec = this._factory.spec;\n const version = data.version ?? '';\n return spec.supportsComponentType(data.type)\n ? {\n type: data.type,\n name: data.name,\n group: data.group || undefined,\n version: version.length > 0 || spec.requiresComponentVersion\n ? version\n : undefined,\n 'bom-ref': data.bomRef.value || undefined,\n supplier: data.supplier === undefined\n ? undefined\n : this._factory.makeForOrganizationalEntity().normalize(data.supplier, options),\n author: data.author || undefined,\n publisher: data.publisher || undefined,\n description: data.description || undefined,\n scope: data.scope,\n hashes: data.hashes.size > 0\n ? this._factory.makeForHash().normalizeRepository(data.hashes, options)\n : undefined,\n licenses: data.licenses.size > 0\n ? this._factory.makeForLicense().normalizeRepository(data.licenses, options)\n : undefined,\n copyright: data.copyright || undefined,\n cpe: data.cpe || undefined,\n purl: data.purl?.toString(),\n swid: data.swid === undefined\n ? undefined\n : this._factory.makeForSWID().normalize(data.swid, options),\n externalReferences: data.externalReferences.size > 0\n ? this._factory.makeForExternalReference().normalizeRepository(data.externalReferences, options)\n : undefined,\n properties: spec.supportsProperties(data) && data.properties.size > 0\n ? this._factory.makeForProperty().normalizeRepository(data.properties, options)\n : undefined,\n components: data.components.size > 0\n ? this.normalizeRepository(data.components, options)\n : undefined\n }\n : undefined;\n }\n normalizeRepository(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(c => this.normalize(c, options)).filter(notUndefined_1.isNotUndefined);\n }\n}\nexports.ComponentNormalizer = ComponentNormalizer;\nclass LicenseNormalizer extends Base {\n constructor() {\n super(...arguments);\n _LicenseNormalizer_instances.add(this);\n }\n normalize(data, options) {\n switch (true) {\n case data instanceof Models.NamedLicense:\n return __classPrivateFieldGet(this, _LicenseNormalizer_instances, \"m\", _LicenseNormalizer_normalizeNamedLicense).call(this, data, options);\n case data instanceof Models.SpdxLicense:\n return __classPrivateFieldGet(this, _LicenseNormalizer_instances, \"m\", _LicenseNormalizer_normalizeSpdxLicense).call(this, data, options);\n case data instanceof Models.LicenseExpression:\n return __classPrivateFieldGet(this, _LicenseNormalizer_instances, \"m\", _LicenseNormalizer_normalizeLicenseExpression).call(this, data);\n default:\n throw new TypeError('Unexpected LicenseChoice');\n }\n }\n normalizeRepository(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(c => this.normalize(c, options));\n }\n}\nexports.LicenseNormalizer = LicenseNormalizer;\n_LicenseNormalizer_instances = new WeakSet(), _LicenseNormalizer_normalizeNamedLicense = function _LicenseNormalizer_normalizeNamedLicense(data, options) {\n return {\n license: {\n name: data.name,\n text: data.text === undefined\n ? undefined\n : this._factory.makeForAttachment().normalize(data.text, options),\n url: data.url?.toString()\n }\n };\n}, _LicenseNormalizer_normalizeSpdxLicense = function _LicenseNormalizer_normalizeSpdxLicense(data, options) {\n return {\n license: {\n id: data.id,\n text: data.text === undefined\n ? undefined\n : this._factory.makeForAttachment().normalize(data.text, options),\n url: data.url?.toString()\n }\n };\n}, _LicenseNormalizer_normalizeLicenseExpression = function _LicenseNormalizer_normalizeLicenseExpression(data) {\n return {\n expression: data.expression\n };\n};\nclass SWIDNormalizer extends Base {\n normalize(data, options) {\n const url = data.url?.toString();\n return {\n tagId: data.tagId,\n name: data.name,\n version: data.version || undefined,\n tagVersion: data.tagVersion,\n patch: data.patch,\n text: data.text === undefined\n ? undefined\n : this._factory.makeForAttachment().normalize(data.text, options),\n url: types_1.JsonSchema.isIriReference(url)\n ? url\n : undefined\n };\n }\n}\nexports.SWIDNormalizer = SWIDNormalizer;\nclass ExternalReferenceNormalizer extends Base {\n normalize(data, options) {\n return this._factory.spec.supportsExternalReferenceType(data.type)\n ? {\n url: data.url.toString(),\n type: data.type,\n comment: data.comment || undefined\n }\n : undefined;\n }\n normalizeRepository(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(r => this.normalize(r, options)).filter(notUndefined_1.isNotUndefined);\n }\n}\nexports.ExternalReferenceNormalizer = ExternalReferenceNormalizer;\nclass AttachmentNormalizer extends Base {\n normalize(data, options) {\n return {\n content: data.content,\n contentType: data.contentType || undefined,\n encoding: data.encoding\n };\n }\n}\nexports.AttachmentNormalizer = AttachmentNormalizer;\nclass PropertyNormalizer extends Base {\n normalize(data, options) {\n return {\n name: data.name,\n value: data.value\n };\n }\n normalizeRepository(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(p => this.normalize(p, options));\n }\n}\nexports.PropertyNormalizer = PropertyNormalizer;\nclass DependencyGraphNormalizer extends Base {\n constructor() {\n super(...arguments);\n _DependencyGraphNormalizer_instances.add(this);\n }\n normalize(data, options) {\n const allRefs = new Map();\n if (data.metadata.component !== undefined) {\n allRefs.set(data.metadata.component.bomRef, data.metadata.component.dependencies);\n for (const component of data.metadata.component.components[tree_1.treeIteratorSymbol]()) {\n allRefs.set(component.bomRef, component.dependencies);\n }\n }\n for (const component of data.components[tree_1.treeIteratorSymbol]()) {\n allRefs.set(component.bomRef, component.dependencies);\n }\n const normalized = [];\n for (const [ref, deps] of allRefs) {\n const dep = __classPrivateFieldGet(this, _DependencyGraphNormalizer_instances, \"m\", _DependencyGraphNormalizer_normalizeDependency).call(this, ref, deps, allRefs, options);\n if ((0, notUndefined_1.isNotUndefined)(dep)) {\n normalized.push(dep);\n }\n }\n if (options.sortLists ?? false) {\n normalized.sort(({ ref: a }, { ref: b }) => a.localeCompare(b));\n }\n return normalized;\n }\n}\nexports.DependencyGraphNormalizer = DependencyGraphNormalizer;\n_DependencyGraphNormalizer_instances = new WeakSet(), _DependencyGraphNormalizer_normalizeDependency = function _DependencyGraphNormalizer_normalizeDependency(ref, deps, allRefs, options) {\n const bomRef = ref.toString();\n if (bomRef.length === 0) {\n return undefined;\n }\n const dependsOn = normalizeStringableIter(Array.from(deps).filter(d => allRefs.has(d) && d !== ref), options).filter(d => d.length > 0);\n return {\n ref: bomRef,\n dependsOn: dependsOn.length > 0\n ? dependsOn\n : undefined\n };\n};\nfunction normalizeStringableIter(data, options) {\n const r = Array.from(data, d => d.toString());\n if (options.sortLists ?? false) {\n r.sort((a, b) => a.localeCompare(b));\n }\n return r;\n}\n//# sourceMappingURL=normalize.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.JsonSchema = void 0;\nvar JsonSchema;\n(function (JsonSchema) {\n function isIriReference(value) {\n return typeof value === 'string' &&\n value.length > 0;\n }\n JsonSchema.isIriReference = isIriReference;\n function isIdnEmail(value) {\n return typeof value === 'string' &&\n value.length > 0;\n }\n JsonSchema.isIdnEmail = isIdnEmail;\n})(JsonSchema = exports.JsonSchema || (exports.JsonSchema = {}));\n//# sourceMappingURL=types.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _JsonSerializer_normalizerFactory;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.JsonSerializer = void 0;\nconst spec_1 = require(\"../spec\");\nconst baseSerializer_1 = require(\"./baseSerializer\");\nclass JsonSerializer extends baseSerializer_1.BaseSerializer {\n constructor(normalizerFactory) {\n if (!normalizerFactory.spec.supportsFormat(spec_1.Format.JSON)) {\n throw new spec_1.UnsupportedFormatError('Spec does not support JSON format.');\n }\n super();\n _JsonSerializer_normalizerFactory.set(this, void 0);\n __classPrivateFieldSet(this, _JsonSerializer_normalizerFactory, normalizerFactory, \"f\");\n }\n get normalizerFactory() {\n return __classPrivateFieldGet(this, _JsonSerializer_normalizerFactory, \"f\");\n }\n _normalize(bom, options = {}) {\n return __classPrivateFieldGet(this, _JsonSerializer_normalizerFactory, \"f\").makeForBom()\n .normalize(bom, options);\n }\n _serialize(bom, { space } = {}) {\n return JSON.stringify(bom, null, space);\n }\n}\nexports.JsonSerializer = JsonSerializer;\n_JsonSerializer_normalizerFactory = new WeakMap();\n//# sourceMappingURL=jsonSerializer.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=types.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Types = exports.Normalize = void 0;\nexports.Normalize = __importStar(require(\"./normalize\"));\nexports.Types = __importStar(require(\"./types\"));\n//# sourceMappingURL=index.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _Factory_spec, _LicenseNormalizer_instances, _LicenseNormalizer_normalizeNamedLicense, _LicenseNormalizer_normalizeSpdxLicense, _LicenseNormalizer_normalizeLicenseExpression, _DependencyGraphNormalizer_instances, _DependencyGraphNormalizer_normalizeDependency;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DependencyGraphNormalizer = exports.PropertyNormalizer = exports.AttachmentNormalizer = exports.ExternalReferenceNormalizer = exports.SWIDNormalizer = exports.LicenseNormalizer = exports.ComponentNormalizer = exports.OrganizationalEntityNormalizer = exports.OrganizationalContactNormalizer = exports.HashNormalizer = exports.ToolNormalizer = exports.MetadataNormalizer = exports.BomNormalizer = exports.Factory = void 0;\nconst notUndefined_1 = require(\"../../helpers/notUndefined\");\nconst tree_1 = require(\"../../helpers/tree\");\nconst Models = __importStar(require(\"../../models\"));\nconst spec_1 = require(\"../../spec\");\nconst types_1 = require(\"./types\");\nclass Factory {\n constructor(spec) {\n _Factory_spec.set(this, void 0);\n __classPrivateFieldSet(this, _Factory_spec, spec, \"f\");\n }\n get spec() {\n return __classPrivateFieldGet(this, _Factory_spec, \"f\");\n }\n makeForBom() {\n return new BomNormalizer(this);\n }\n makeForMetadata() {\n return new MetadataNormalizer(this);\n }\n makeForComponent() {\n return new ComponentNormalizer(this);\n }\n makeForTool() {\n return new ToolNormalizer(this);\n }\n makeForOrganizationalContact() {\n return new OrganizationalContactNormalizer(this);\n }\n makeForOrganizationalEntity() {\n return new OrganizationalEntityNormalizer(this);\n }\n makeForHash() {\n return new HashNormalizer(this);\n }\n makeForLicense() {\n return new LicenseNormalizer(this);\n }\n makeForSWID() {\n return new SWIDNormalizer(this);\n }\n makeForExternalReference() {\n return new ExternalReferenceNormalizer(this);\n }\n makeForAttachment() {\n return new AttachmentNormalizer(this);\n }\n makeForProperty() {\n return new PropertyNormalizer(this);\n }\n makeForDependencyGraph() {\n return new DependencyGraphNormalizer(this);\n }\n}\nexports.Factory = Factory;\n_Factory_spec = new WeakMap();\nconst xmlNamespace = new Map([\n [spec_1.Version.v1dot2, 'http://cyclonedx.org/schema/bom/1.2'],\n [spec_1.Version.v1dot3, 'http://cyclonedx.org/schema/bom/1.3'],\n [spec_1.Version.v1dot4, 'http://cyclonedx.org/schema/bom/1.4']\n]);\nclass Base {\n constructor(factory) {\n this._factory = factory;\n }\n get factory() {\n return this._factory;\n }\n}\nclass BomNormalizer extends Base {\n normalize(data, options) {\n const components = {\n type: 'element',\n name: 'components',\n children: data.components.size > 0\n ? this._factory.makeForComponent().normalizeRepository(data.components, options, 'component')\n : undefined\n };\n return {\n type: 'element',\n name: 'bom',\n namespace: xmlNamespace.get(this._factory.spec.version),\n attributes: {\n version: data.version,\n serialNumber: data.serialNumber\n },\n children: [\n data.metadata\n ? this._factory.makeForMetadata().normalize(data.metadata, options, 'metadata')\n : undefined,\n components,\n this._factory.spec.supportsDependencyGraph\n ? this._factory.makeForDependencyGraph().normalize(data, options, 'dependencies')\n : undefined\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n}\nexports.BomNormalizer = BomNormalizer;\nclass MetadataNormalizer extends Base {\n normalize(data, options, elementName) {\n const orgEntityNormalizer = this._factory.makeForOrganizationalEntity();\n const timestamp = data.timestamp === undefined\n ? undefined\n : {\n type: 'element',\n name: 'timestamp',\n children: data.timestamp.toISOString()\n };\n const tools = data.tools.size > 0\n ? {\n type: 'element',\n name: 'tools',\n children: this._factory.makeForTool().normalizeRepository(data.tools, options, 'tool')\n }\n : undefined;\n const authors = data.authors.size > 0\n ? {\n type: 'element',\n name: 'authors',\n children: this._factory.makeForOrganizationalContact()\n .normalizeRepository(data.authors, options, 'author')\n }\n : undefined;\n return {\n type: 'element',\n name: elementName,\n children: [\n timestamp,\n tools,\n authors,\n data.component === undefined\n ? undefined\n : this._factory.makeForComponent().normalize(data.component, options, 'component'),\n data.manufacture === undefined\n ? undefined\n : orgEntityNormalizer.normalize(data.manufacture, options, 'manufacture'),\n data.supplier === undefined\n ? undefined\n : orgEntityNormalizer.normalize(data.supplier, options, 'supplier')\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n}\nexports.MetadataNormalizer = MetadataNormalizer;\nclass ToolNormalizer extends Base {\n normalize(data, options, elementName) {\n const hashes = data.hashes.size > 0\n ? {\n type: 'element',\n name: 'hashes',\n children: this._factory.makeForHash().normalizeRepository(data.hashes, options, 'hash')\n }\n : undefined;\n const externalReferences = this._factory.spec.supportsToolReferences && data.externalReferences.size > 0\n ? {\n type: 'element',\n name: 'externalReferences',\n children: this._factory.makeForExternalReference()\n .normalizeRepository(data.externalReferences, options, 'reference')\n }\n : undefined;\n return {\n type: 'element',\n name: elementName,\n children: [\n makeOptionalTextElement(data.vendor, 'vendor'),\n makeOptionalTextElement(data.name, 'name'),\n makeOptionalTextElement(data.version, 'version'),\n hashes,\n externalReferences\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n normalizeRepository(data, options, elementName) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(t => this.normalize(t, options, elementName));\n }\n}\nexports.ToolNormalizer = ToolNormalizer;\nclass HashNormalizer extends Base {\n normalize([algorithm, content], options, elementName) {\n const spec = this._factory.spec;\n return spec.supportsHashAlgorithm(algorithm) && spec.supportsHashValue(content)\n ? {\n type: 'element',\n name: elementName,\n attributes: { alg: algorithm },\n children: content\n }\n : undefined;\n }\n normalizeRepository(data, options, elementName) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(h => this.normalize(h, options, elementName)).filter(notUndefined_1.isNotUndefined);\n }\n}\nexports.HashNormalizer = HashNormalizer;\nclass OrganizationalContactNormalizer extends Base {\n normalize(data, options, elementName) {\n return {\n type: 'element',\n name: elementName,\n children: [\n makeOptionalTextElement(data.name, 'name'),\n makeOptionalTextElement(data.email, 'email'),\n makeOptionalTextElement(data.phone, 'phone')\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n normalizeRepository(data, options, elementName) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(c => this.normalize(c, options, elementName));\n }\n}\nexports.OrganizationalContactNormalizer = OrganizationalContactNormalizer;\nclass OrganizationalEntityNormalizer extends Base {\n normalize(data, options, elementName) {\n return {\n type: 'element',\n name: elementName,\n children: [\n makeOptionalTextElement(data.name, 'name'),\n ...makeTextElementIter(data.url, options, 'url')\n .filter(({ children: u }) => types_1.XmlSchema.isAnyURI(u)),\n ...this._factory.makeForOrganizationalContact().normalizeRepository(data.contact, options, 'contact')\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n}\nexports.OrganizationalEntityNormalizer = OrganizationalEntityNormalizer;\nclass ComponentNormalizer extends Base {\n normalize(data, options, elementName) {\n const spec = this._factory.spec;\n if (!spec.supportsComponentType(data.type)) {\n return undefined;\n }\n const supplier = data.supplier === undefined\n ? undefined\n : this._factory.makeForOrganizationalEntity().normalize(data.supplier, options, 'supplier');\n const version = (spec.requiresComponentVersion\n ? makeTextElement\n : makeOptionalTextElement)(data.version ?? '', 'version');\n const hashes = data.hashes.size > 0\n ? {\n type: 'element',\n name: 'hashes',\n children: this._factory.makeForHash().normalizeRepository(data.hashes, options, 'hash')\n }\n : undefined;\n const licenses = data.licenses.size > 0\n ? {\n type: 'element',\n name: 'licenses',\n children: this._factory.makeForLicense().normalizeRepository(data.licenses, options)\n }\n : undefined;\n const swid = data.swid === undefined\n ? undefined\n : this._factory.makeForSWID().normalize(data.swid, options, 'swid');\n const extRefs = data.externalReferences.size > 0\n ? {\n type: 'element',\n name: 'externalReferences',\n children: this._factory.makeForExternalReference()\n .normalizeRepository(data.externalReferences, options, 'reference')\n }\n : undefined;\n const properties = spec.supportsProperties(data) && data.properties.size > 0\n ? {\n type: 'element',\n name: 'properties',\n children: this._factory.makeForProperty().normalizeRepository(data.properties, options, 'property')\n }\n : undefined;\n const components = data.components.size > 0\n ? {\n type: 'element',\n name: 'components',\n children: this.normalizeRepository(data.components, options, 'component')\n }\n : undefined;\n return {\n type: 'element',\n name: elementName,\n attributes: {\n type: data.type,\n 'bom-ref': data.bomRef.value\n },\n children: [\n supplier,\n makeOptionalTextElement(data.author, 'author'),\n makeOptionalTextElement(data.publisher, 'publisher'),\n makeOptionalTextElement(data.group, 'group'),\n makeTextElement(data.name, 'name'),\n version,\n makeOptionalTextElement(data.description, 'description'),\n makeOptionalTextElement(data.scope, 'scope'),\n hashes,\n licenses,\n makeOptionalTextElement(data.copyright, 'copyright'),\n makeOptionalTextElement(data.cpe, 'cpe'),\n makeOptionalTextElement(data.purl, 'purl'),\n swid,\n extRefs,\n properties,\n components\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n normalizeRepository(data, options, elementName) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(c => this.normalize(c, options, elementName)).filter(notUndefined_1.isNotUndefined);\n }\n}\nexports.ComponentNormalizer = ComponentNormalizer;\nclass LicenseNormalizer extends Base {\n constructor() {\n super(...arguments);\n _LicenseNormalizer_instances.add(this);\n }\n normalize(data, options) {\n switch (true) {\n case data instanceof Models.NamedLicense:\n return __classPrivateFieldGet(this, _LicenseNormalizer_instances, \"m\", _LicenseNormalizer_normalizeNamedLicense).call(this, data, options);\n case data instanceof Models.SpdxLicense:\n return __classPrivateFieldGet(this, _LicenseNormalizer_instances, \"m\", _LicenseNormalizer_normalizeSpdxLicense).call(this, data, options);\n case data instanceof Models.LicenseExpression:\n return __classPrivateFieldGet(this, _LicenseNormalizer_instances, \"m\", _LicenseNormalizer_normalizeLicenseExpression).call(this, data);\n default:\n throw new TypeError('Unexpected LicenseChoice');\n }\n }\n normalizeRepository(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(c => this.normalize(c, options));\n }\n}\nexports.LicenseNormalizer = LicenseNormalizer;\n_LicenseNormalizer_instances = new WeakSet(), _LicenseNormalizer_normalizeNamedLicense = function _LicenseNormalizer_normalizeNamedLicense(data, options) {\n const url = data.url?.toString();\n return {\n type: 'element',\n name: 'license',\n children: [\n makeTextElement(data.name, 'name'),\n data.text === undefined\n ? undefined\n : this._factory.makeForAttachment().normalize(data.text, options, 'text'),\n types_1.XmlSchema.isAnyURI(url)\n ? makeTextElement(url, 'url')\n : undefined\n ].filter(notUndefined_1.isNotUndefined)\n };\n}, _LicenseNormalizer_normalizeSpdxLicense = function _LicenseNormalizer_normalizeSpdxLicense(data, options) {\n const url = data.url?.toString();\n return {\n type: 'element',\n name: 'license',\n children: [\n makeTextElement(data.id, 'id'),\n data.text === undefined\n ? undefined\n : this._factory.makeForAttachment().normalize(data.text, options, 'text'),\n types_1.XmlSchema.isAnyURI(url)\n ? makeTextElement(url, 'url')\n : undefined\n ].filter(notUndefined_1.isNotUndefined)\n };\n}, _LicenseNormalizer_normalizeLicenseExpression = function _LicenseNormalizer_normalizeLicenseExpression(data) {\n return makeTextElement(data.expression, 'expression');\n};\nclass SWIDNormalizer extends Base {\n normalize(data, options, elementName) {\n const url = data.url?.toString();\n return {\n type: 'element',\n name: elementName,\n attributes: {\n tagId: data.tagId,\n name: data.name,\n version: data.version || undefined,\n tagVersion: data.tagVersion,\n patch: data.patch === undefined\n ? undefined\n : (data.patch ? 'true' : 'false')\n },\n children: [\n data.text === undefined\n ? undefined\n : this._factory.makeForAttachment().normalize(data.text, options, 'text'),\n types_1.XmlSchema.isAnyURI(url)\n ? makeTextElement(url, 'url')\n : undefined\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n}\nexports.SWIDNormalizer = SWIDNormalizer;\nclass ExternalReferenceNormalizer extends Base {\n normalize(data, options, elementName) {\n const url = data.url.toString();\n return this._factory.spec.supportsExternalReferenceType(data.type) &&\n types_1.XmlSchema.isAnyURI(url)\n ? {\n type: 'element',\n name: elementName,\n attributes: {\n type: data.type\n },\n children: [\n makeTextElement(url, 'url'),\n makeOptionalTextElement(data.comment, 'comment')\n ].filter(notUndefined_1.isNotUndefined)\n }\n : undefined;\n }\n normalizeRepository(data, options, elementName) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(r => this.normalize(r, options, elementName)).filter(notUndefined_1.isNotUndefined);\n }\n}\nexports.ExternalReferenceNormalizer = ExternalReferenceNormalizer;\nclass AttachmentNormalizer extends Base {\n normalize(data, options, elementName) {\n return {\n type: 'element',\n name: elementName,\n attributes: {\n 'content-type': data.contentType || undefined,\n encoding: data.encoding || undefined\n },\n children: data.content\n };\n }\n}\nexports.AttachmentNormalizer = AttachmentNormalizer;\nclass PropertyNormalizer extends Base {\n normalize(data, options, elementName) {\n return {\n type: 'element',\n name: elementName,\n attributes: {\n name: data.name\n },\n children: data.value\n };\n }\n normalizeRepository(data, options, elementName) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(p => this.normalize(p, options, elementName));\n }\n}\nexports.PropertyNormalizer = PropertyNormalizer;\nclass DependencyGraphNormalizer extends Base {\n constructor() {\n super(...arguments);\n _DependencyGraphNormalizer_instances.add(this);\n }\n normalize(data, options, elementName) {\n const allRefs = new Map();\n if (data.metadata.component !== undefined) {\n allRefs.set(data.metadata.component.bomRef, data.metadata.component.dependencies);\n for (const component of data.metadata.component.components[tree_1.treeIteratorSymbol]()) {\n allRefs.set(component.bomRef, component.dependencies);\n }\n }\n for (const component of data.components[tree_1.treeIteratorSymbol]()) {\n allRefs.set(component.bomRef, component.dependencies);\n }\n const normalized = [];\n for (const [ref, deps] of allRefs) {\n const dep = __classPrivateFieldGet(this, _DependencyGraphNormalizer_instances, \"m\", _DependencyGraphNormalizer_normalizeDependency).call(this, ref, deps, allRefs, options);\n if ((0, notUndefined_1.isNotUndefined)(dep)) {\n normalized.push(dep);\n }\n }\n if (options.sortLists ?? false) {\n normalized.sort(({ attributes: { ref: a } }, { attributes: { ref: b } }) => a.localeCompare(b));\n }\n return {\n type: 'element',\n name: elementName,\n children: normalized\n };\n }\n}\nexports.DependencyGraphNormalizer = DependencyGraphNormalizer;\n_DependencyGraphNormalizer_instances = new WeakSet(), _DependencyGraphNormalizer_normalizeDependency = function _DependencyGraphNormalizer_normalizeDependency(ref, deps, allRefs, options) {\n const bomRef = ref.toString();\n if (bomRef.length === 0) {\n return undefined;\n }\n const dependsOn = Array.from(deps).filter(d => allRefs.has(d) && d !== ref)\n .map(d => d.toString()).filter(d => d.length > 0);\n if (options.sortLists ?? false) {\n dependsOn.sort((a, b) => a.localeCompare(b));\n }\n return {\n type: 'element',\n name: 'dependency',\n attributes: { ref: bomRef },\n children: dependsOn.map(d => ({\n type: 'element',\n name: 'dependency',\n attributes: { ref: d }\n }))\n };\n};\nfunction makeOptionalTextElement(data, elementName) {\n const s = data?.toString() ?? '';\n return s.length > 0\n ? makeTextElement(s, elementName)\n : undefined;\n}\nfunction makeTextElement(data, elementName) {\n return {\n type: 'element',\n name: elementName,\n children: data.toString()\n };\n}\nfunction makeTextElementIter(data, options, elementName) {\n const r = Array.from(data, d => makeTextElement(d, elementName));\n if (options.sortLists ?? false) {\n r.sort(({ children: a }, { children: b }) => a.localeCompare(b));\n }\n return r;\n}\n//# sourceMappingURL=normalize.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.XmlSchema = void 0;\nvar XmlSchema;\n(function (XmlSchema) {\n const _anyUriSchemePattern = /^[a-z][a-z0-9+\\-.]*$/i;\n function isAnyURI(value) {\n if (typeof value !== 'string') {\n return false;\n }\n if (value.length === 0) {\n return false;\n }\n const fragmentPos = value.indexOf('#');\n let beforeFragment;\n if (fragmentPos >= 0) {\n if (value.includes('#', fragmentPos + 1)) {\n return false;\n }\n beforeFragment = value.slice(undefined, fragmentPos);\n }\n else {\n beforeFragment = value;\n }\n const schemePos = beforeFragment.indexOf(':');\n if (schemePos >= 0) {\n if (!_anyUriSchemePattern.test(beforeFragment.slice(undefined, schemePos))) {\n return false;\n }\n }\n return true;\n }\n XmlSchema.isAnyURI = isAnyURI;\n})(XmlSchema = exports.XmlSchema || (exports.XmlSchema = {}));\n//# sourceMappingURL=types.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _XmlBaseSerializer_normalizerFactory;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.XmlBaseSerializer = void 0;\nconst spec_1 = require(\"../spec\");\nconst baseSerializer_1 = require(\"./baseSerializer\");\nclass XmlBaseSerializer extends baseSerializer_1.BaseSerializer {\n constructor(normalizerFactory) {\n if (!normalizerFactory.spec.supportsFormat(spec_1.Format.JSON)) {\n throw new spec_1.UnsupportedFormatError('Spec does not support JSON format.');\n }\n super();\n _XmlBaseSerializer_normalizerFactory.set(this, void 0);\n __classPrivateFieldSet(this, _XmlBaseSerializer_normalizerFactory, normalizerFactory, \"f\");\n }\n get normalizerFactory() {\n return __classPrivateFieldGet(this, _XmlBaseSerializer_normalizerFactory, \"f\");\n }\n _normalize(bom, options = {}) {\n return __classPrivateFieldGet(this, _XmlBaseSerializer_normalizerFactory, \"f\").makeForBom()\n .normalize(bom, options);\n }\n}\nexports.XmlBaseSerializer = XmlBaseSerializer;\n_XmlBaseSerializer_normalizerFactory = new WeakMap();\n//# sourceMappingURL=xmlBaseSerializer.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.XmlSerializer = void 0;\nconst universal_node_xml_1 = require(\"../../libs/universal-node-xml\");\nconst xmlBaseSerializer_1 = require(\"./xmlBaseSerializer\");\nclass XmlSerializer extends xmlBaseSerializer_1.XmlBaseSerializer {\n _serialize(normalizedBom, options = {}) {\n return (0, universal_node_xml_1.stringifyFallback)(normalizedBom, options);\n }\n}\nexports.XmlSerializer = XmlSerializer;\n//# sourceMappingURL=xmlSerializer.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fixupSpdxId = exports.isSupportedSpdxId = void 0;\nconst spdx_SNAPSHOT_schema_json_1 = require(\"../res/spdx.SNAPSHOT.schema.json\");\nconst spdxIds = new Set(spdx_SNAPSHOT_schema_json_1.enum);\nconst spdxLowerToActual = new Map(spdx_SNAPSHOT_schema_json_1.enum.map(spdxId => [spdxId.toLowerCase(), spdxId]));\nfunction isSupportedSpdxId(value) {\n return spdxIds.has(value);\n}\nexports.isSupportedSpdxId = isSupportedSpdxId;\nfunction fixupSpdxId(value) {\n return typeof value === 'string' && value.length > 0\n ? spdxLowerToActual.get(value.toLowerCase())\n : undefined;\n}\nexports.fixupSpdxId = fixupSpdxId;\n//# sourceMappingURL=spdx.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _Spec_version, _Spec_formats, _Spec_componentTypes, _Spec_hashAlgorithms, _Spec_hashValuePattern, _Spec_externalReferenceTypes, _Spec_supportsDependencyGraph, _Spec_supportsToolReferences, _Spec_requiresComponentVersion, _Spec_supportsProperties;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SpecVersionDict = exports.Spec1dot4 = exports.Spec1dot3 = exports.Spec1dot2 = exports.UnsupportedFormatError = exports.Format = exports.Version = void 0;\nconst enums_1 = require(\"./enums\");\nvar Version;\n(function (Version) {\n Version[\"v1dot0\"] = \"1.0\";\n Version[\"v1dot1\"] = \"1.1\";\n Version[\"v1dot2\"] = \"1.2\";\n Version[\"v1dot3\"] = \"1.3\";\n Version[\"v1dot4\"] = \"1.4\";\n})(Version = exports.Version || (exports.Version = {}));\nvar Format;\n(function (Format) {\n Format[\"XML\"] = \"xml\";\n Format[\"JSON\"] = \"json\";\n})(Format = exports.Format || (exports.Format = {}));\nclass UnsupportedFormatError extends Error {\n}\nexports.UnsupportedFormatError = UnsupportedFormatError;\nclass Spec {\n constructor(version, formats, componentTypes, hashAlgorithms, hashValuePattern, externalReferenceTypes, supportsDependencyGraph, supportsToolReferences, requiresComponentVersion, supportsProperties) {\n _Spec_version.set(this, void 0);\n _Spec_formats.set(this, void 0);\n _Spec_componentTypes.set(this, void 0);\n _Spec_hashAlgorithms.set(this, void 0);\n _Spec_hashValuePattern.set(this, void 0);\n _Spec_externalReferenceTypes.set(this, void 0);\n _Spec_supportsDependencyGraph.set(this, void 0);\n _Spec_supportsToolReferences.set(this, void 0);\n _Spec_requiresComponentVersion.set(this, void 0);\n _Spec_supportsProperties.set(this, void 0);\n __classPrivateFieldSet(this, _Spec_version, version, \"f\");\n __classPrivateFieldSet(this, _Spec_formats, new Set(formats), \"f\");\n __classPrivateFieldSet(this, _Spec_componentTypes, new Set(componentTypes), \"f\");\n __classPrivateFieldSet(this, _Spec_hashAlgorithms, new Set(hashAlgorithms), \"f\");\n __classPrivateFieldSet(this, _Spec_hashValuePattern, hashValuePattern, \"f\");\n __classPrivateFieldSet(this, _Spec_externalReferenceTypes, new Set(externalReferenceTypes), \"f\");\n __classPrivateFieldSet(this, _Spec_supportsDependencyGraph, supportsDependencyGraph, \"f\");\n __classPrivateFieldSet(this, _Spec_supportsToolReferences, supportsToolReferences, \"f\");\n __classPrivateFieldSet(this, _Spec_requiresComponentVersion, requiresComponentVersion, \"f\");\n __classPrivateFieldSet(this, _Spec_supportsProperties, supportsProperties, \"f\");\n }\n get version() {\n return __classPrivateFieldGet(this, _Spec_version, \"f\");\n }\n supportsFormat(f) {\n return __classPrivateFieldGet(this, _Spec_formats, \"f\").has(f);\n }\n supportsComponentType(ct) {\n return __classPrivateFieldGet(this, _Spec_componentTypes, \"f\").has(ct);\n }\n supportsHashAlgorithm(ha) {\n return __classPrivateFieldGet(this, _Spec_hashAlgorithms, \"f\").has(ha);\n }\n supportsHashValue(hv) {\n return typeof hv === 'string' &&\n __classPrivateFieldGet(this, _Spec_hashValuePattern, \"f\").test(hv);\n }\n supportsExternalReferenceType(ert) {\n return __classPrivateFieldGet(this, _Spec_externalReferenceTypes, \"f\").has(ert);\n }\n get supportsDependencyGraph() {\n return __classPrivateFieldGet(this, _Spec_supportsDependencyGraph, \"f\");\n }\n get supportsToolReferences() {\n return __classPrivateFieldGet(this, _Spec_supportsToolReferences, \"f\");\n }\n get requiresComponentVersion() {\n return __classPrivateFieldGet(this, _Spec_requiresComponentVersion, \"f\");\n }\n supportsProperties() {\n return __classPrivateFieldGet(this, _Spec_supportsProperties, \"f\");\n }\n}\n_Spec_version = new WeakMap(), _Spec_formats = new WeakMap(), _Spec_componentTypes = new WeakMap(), _Spec_hashAlgorithms = new WeakMap(), _Spec_hashValuePattern = new WeakMap(), _Spec_externalReferenceTypes = new WeakMap(), _Spec_supportsDependencyGraph = new WeakMap(), _Spec_supportsToolReferences = new WeakMap(), _Spec_requiresComponentVersion = new WeakMap(), _Spec_supportsProperties = new WeakMap();\nexports.Spec1dot2 = Object.freeze(new Spec(Version.v1dot2, [\n Format.XML,\n Format.JSON\n], [\n enums_1.ComponentType.Application,\n enums_1.ComponentType.Framework,\n enums_1.ComponentType.Library,\n enums_1.ComponentType.Container,\n enums_1.ComponentType.OperatingSystem,\n enums_1.ComponentType.Device,\n enums_1.ComponentType.Firmware,\n enums_1.ComponentType.File\n], [\n enums_1.HashAlgorithm.MD5,\n enums_1.HashAlgorithm['SHA-1'],\n enums_1.HashAlgorithm['SHA-256'],\n enums_1.HashAlgorithm['SHA-384'],\n enums_1.HashAlgorithm['SHA-512'],\n enums_1.HashAlgorithm['SHA3-256'],\n enums_1.HashAlgorithm['SHA3-384'],\n enums_1.HashAlgorithm['SHA3-512'],\n enums_1.HashAlgorithm['BLAKE2b-256'],\n enums_1.HashAlgorithm['BLAKE2b-384'],\n enums_1.HashAlgorithm['BLAKE2b-512'],\n enums_1.HashAlgorithm.BLAKE3\n], /^([a-fA-F0-9]{32})$|^([a-fA-F0-9]{40})$|^([a-fA-F0-9]{64})$|^([a-fA-F0-9]{96})$|^([a-fA-F0-9]{128})$/, [\n enums_1.ExternalReferenceType.VCS,\n enums_1.ExternalReferenceType.IssueTracker,\n enums_1.ExternalReferenceType.Website,\n enums_1.ExternalReferenceType.Advisories,\n enums_1.ExternalReferenceType.BOM,\n enums_1.ExternalReferenceType.MailingList,\n enums_1.ExternalReferenceType.Social,\n enums_1.ExternalReferenceType.Chat,\n enums_1.ExternalReferenceType.Documentation,\n enums_1.ExternalReferenceType.Support,\n enums_1.ExternalReferenceType.Distribution,\n enums_1.ExternalReferenceType.License,\n enums_1.ExternalReferenceType.BuildMeta,\n enums_1.ExternalReferenceType.BuildSystem,\n enums_1.ExternalReferenceType.Other\n], true, false, true, false));\nexports.Spec1dot3 = Object.freeze(new Spec(Version.v1dot3, [\n Format.XML,\n Format.JSON\n], [\n enums_1.ComponentType.Application,\n enums_1.ComponentType.Framework,\n enums_1.ComponentType.Library,\n enums_1.ComponentType.Container,\n enums_1.ComponentType.OperatingSystem,\n enums_1.ComponentType.Device,\n enums_1.ComponentType.Firmware,\n enums_1.ComponentType.File\n], [\n enums_1.HashAlgorithm.MD5,\n enums_1.HashAlgorithm['SHA-1'],\n enums_1.HashAlgorithm['SHA-256'],\n enums_1.HashAlgorithm['SHA-384'],\n enums_1.HashAlgorithm['SHA-512'],\n enums_1.HashAlgorithm['SHA3-256'],\n enums_1.HashAlgorithm['SHA3-384'],\n enums_1.HashAlgorithm['SHA3-512'],\n enums_1.HashAlgorithm['BLAKE2b-256'],\n enums_1.HashAlgorithm['BLAKE2b-384'],\n enums_1.HashAlgorithm['BLAKE2b-512'],\n enums_1.HashAlgorithm.BLAKE3\n], /^([a-fA-F0-9]{32})$|^([a-fA-F0-9]{40})$|^([a-fA-F0-9]{64})$|^([a-fA-F0-9]{96})$|^([a-fA-F0-9]{128})$/, [\n enums_1.ExternalReferenceType.VCS,\n enums_1.ExternalReferenceType.IssueTracker,\n enums_1.ExternalReferenceType.Website,\n enums_1.ExternalReferenceType.Advisories,\n enums_1.ExternalReferenceType.BOM,\n enums_1.ExternalReferenceType.MailingList,\n enums_1.ExternalReferenceType.Social,\n enums_1.ExternalReferenceType.Chat,\n enums_1.ExternalReferenceType.Documentation,\n enums_1.ExternalReferenceType.Support,\n enums_1.ExternalReferenceType.Distribution,\n enums_1.ExternalReferenceType.License,\n enums_1.ExternalReferenceType.BuildMeta,\n enums_1.ExternalReferenceType.BuildSystem,\n enums_1.ExternalReferenceType.Other\n], true, false, true, true));\nexports.Spec1dot4 = Object.freeze(new Spec(Version.v1dot4, [\n Format.XML,\n Format.JSON\n], [\n enums_1.ComponentType.Application,\n enums_1.ComponentType.Framework,\n enums_1.ComponentType.Library,\n enums_1.ComponentType.Container,\n enums_1.ComponentType.OperatingSystem,\n enums_1.ComponentType.Device,\n enums_1.ComponentType.Firmware,\n enums_1.ComponentType.File\n], [\n enums_1.HashAlgorithm.MD5,\n enums_1.HashAlgorithm['SHA-1'],\n enums_1.HashAlgorithm['SHA-256'],\n enums_1.HashAlgorithm['SHA-384'],\n enums_1.HashAlgorithm['SHA-512'],\n enums_1.HashAlgorithm['SHA3-256'],\n enums_1.HashAlgorithm['SHA3-384'],\n enums_1.HashAlgorithm['SHA3-512'],\n enums_1.HashAlgorithm['BLAKE2b-256'],\n enums_1.HashAlgorithm['BLAKE2b-384'],\n enums_1.HashAlgorithm['BLAKE2b-512'],\n enums_1.HashAlgorithm.BLAKE3\n], /^([a-fA-F0-9]{32})$|^([a-fA-F0-9]{40})$|^([a-fA-F0-9]{64})$|^([a-fA-F0-9]{96})$|^([a-fA-F0-9]{128})$/, [\n enums_1.ExternalReferenceType.VCS,\n enums_1.ExternalReferenceType.IssueTracker,\n enums_1.ExternalReferenceType.Website,\n enums_1.ExternalReferenceType.Advisories,\n enums_1.ExternalReferenceType.BOM,\n enums_1.ExternalReferenceType.MailingList,\n enums_1.ExternalReferenceType.Social,\n enums_1.ExternalReferenceType.Chat,\n enums_1.ExternalReferenceType.Documentation,\n enums_1.ExternalReferenceType.Support,\n enums_1.ExternalReferenceType.Distribution,\n enums_1.ExternalReferenceType.License,\n enums_1.ExternalReferenceType.BuildMeta,\n enums_1.ExternalReferenceType.BuildSystem,\n enums_1.ExternalReferenceType.ReleaseNotes,\n enums_1.ExternalReferenceType.Other\n], true, true, false, true));\nexports.SpecVersionDict = Object.freeze(Object.fromEntries([\n [Version.v1dot2, exports.Spec1dot2],\n [Version.v1dot3, exports.Spec1dot3],\n [Version.v1dot4, exports.Spec1dot4]\n]));\n//# sourceMappingURL=spec.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isCPE = void 0;\nconst cpePattern = /^([c][pP][eE]:\\/[AHOaho]?(:[A-Za-z0-9\\._\\-~%]*){0,6})$|^(cpe:2\\.3:[aho\\*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#$$%&'\\(\\)\\+,\\/:;<=>@\\[\\]\\^`\\{\\|}~]))+(\\?*|\\*?))|[\\*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\\*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#$$%&'\\(\\)\\+,\\/:;<=>@\\[\\]\\^`\\{\\|}~]))+(\\?*|\\*?))|[\\*\\-])){4})$/;\nfunction isCPE(value) {\n return typeof value === 'string' &&\n cpePattern.test(value);\n}\nexports.isCPE = isCPE;\n//# sourceMappingURL=cpe.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./cpe\"), exports);\n__exportStar(require(\"./integer\"), exports);\n__exportStar(require(\"./mimeType\"), exports);\n__exportStar(require(\"./urn\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isPositiveInteger = exports.isNonNegativeInteger = exports.isInteger = void 0;\nfunction isInteger(value) {\n return Number.isInteger(value);\n}\nexports.isInteger = isInteger;\nfunction isNonNegativeInteger(value) {\n return isInteger(value) &&\n value >= 0;\n}\nexports.isNonNegativeInteger = isNonNegativeInteger;\nfunction isPositiveInteger(value) {\n return isInteger(value) &&\n value > 0;\n}\nexports.isPositiveInteger = isPositiveInteger;\n//# sourceMappingURL=integer.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isMimeType = void 0;\nconst mimeTypePattern = /^[-+a-z0-9.]+\\/[-+a-z0-9.]+$/;\nfunction isMimeType(value) {\n return typeof value === 'string' &&\n mimeTypePattern.test(value);\n}\nexports.isMimeType = isMimeType;\n//# sourceMappingURL=mimeType.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isUrnUuid = void 0;\nconst urnUuidPattern = /^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;\nfunction isUrnUuid(value) {\n return typeof value === 'string' &&\n urnUuidPattern.test(value);\n}\nexports.isUrnUuid = isUrnUuid;\n//# sourceMappingURL=urn.js.map",null,"\nmodule.exports.getNS = function (element) {\n const ns = (element.namespace ?? element.attributes?.xmlns)?.toString() ?? ''\n return ns.length > 0\n ? ns\n : null\n}\n\nmodule.exports.makeIndent = function (space) {\n if (typeof space === 'number') {\n return ' '.repeat(Math.max(0, space))\n }\n if (typeof space === 'string') {\n return space\n }\n return ''\n}\n","'use strict'\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\n\nconst { create } = require('xmlbuilder2')\nconst { getNS, makeIndent } = require('./helpers')\n\nmodule.exports = typeof create === 'function'\n ? stringify\n : undefined\n\nfunction stringify (element, { space } = {}) {\n const indent = makeIndent(space)\n const doc = create({ encoding: 'UTF-8' })\n addEle(doc, element)\n return doc.end({\n format: 'xml',\n newline: '\\n',\n prettyPrint: indent.length > 0,\n indent\n })\n}\n\nfunction addEle (parent, element, parentNS = null) {\n if (element.type !== 'element') { return }\n const ns = getNS(element) ?? parentNS\n const ele = parent.ele(ns, element.name, element.attributes)\n if (typeof element.children === 'string' || typeof element.children === 'number') {\n ele.txt(element.children.toString())\n } else if (Array.isArray(element.children)) {\n for (const child of element.children) {\n addEle(ele, child, ns)\n }\n }\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + \"/\";","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(3109);\n",""],"names":[],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"index.js","mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACxJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5lBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjkSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACxIA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC/KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACrYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC/kCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/lBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACl+BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACppCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9hBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5zBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACp1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1VA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChiBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzsBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC13BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxoBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/fA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACt8CA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACldA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrsFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACtbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChqDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACvMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrLA;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACvQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7wBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACx0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjkDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACleA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACj1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3mDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5DA;;;;;;;;AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5KA;;;;;;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvFA;;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;AC3BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA;;;;;;;;;;;;;;;;;;;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AC7BA;AACA;;;;AEDA;AACA;AACA;AACA","sources":["../webpack://typescript-action/./lib/main.js","../webpack://typescript-action/./node_modules/@actions/core/lib/command.js","../webpack://typescript-action/./node_modules/@actions/core/lib/core.js","../webpack://typescript-action/./node_modules/@actions/core/lib/file-command.js","../webpack://typescript-action/./node_modules/@actions/core/lib/oidc-utils.js","../webpack://typescript-action/./node_modules/@actions/core/lib/path-utils.js","../webpack://typescript-action/./node_modules/@actions/core/lib/summary.js","../webpack://typescript-action/./node_modules/@actions/core/lib/utils.js","../webpack://typescript-action/./node_modules/@actions/github/lib/context.js","../webpack://typescript-action/./node_modules/@actions/github/lib/github.js","../webpack://typescript-action/./node_modules/@actions/github/lib/internal/utils.js","../webpack://typescript-action/./node_modules/@actions/github/lib/utils.js","../webpack://typescript-action/./node_modules/@actions/http-client/lib/auth.js","../webpack://typescript-action/./node_modules/@actions/http-client/lib/index.js","../webpack://typescript-action/./node_modules/@actions/http-client/lib/proxy.js","../webpack://typescript-action/./node_modules/@github/dependency-submission-toolkit/dist/index.js","../webpack://typescript-action/./node_modules/@github/dependency-submission-toolkit/dist/snapshot.js","../webpack://typescript-action/./node_modules/@github/dependency-submission-toolkit/dist/sourcemap-register.js","../webpack://typescript-action/./node_modules/@octokit/auth-token/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/core/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/endpoint/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/graphql/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/plugin-paginate-rest/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/plugin-request-log/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/request-error/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/request/dist-node/index.js","../webpack://typescript-action/./node_modules/@octokit/rest/dist-node/index.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/algorithm/index.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/AttrImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/CommentImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DOMException.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DOMImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/ElementImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/EventImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NodeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/RangeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/TextImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/WindowImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/index.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/dom/interfaces.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/index.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/parser/index.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/parser/interfaces.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/serializer/index.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/util/Cast.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/util/EmptySet.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/util/Guard.js","../webpack://typescript-action/./node_modules/@oozcitak/dom/lib/util/index.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Base64.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Byte.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/ByteSequence.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/CodePoints.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/JSON.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/List.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Map.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Namespace.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Queue.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Set.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/Stack.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/String.js","../webpack://typescript-action/./node_modules/@oozcitak/infra/lib/index.js","../webpack://typescript-action/./node_modules/@oozcitak/url/lib/URLAlgorithm.js","../webpack://typescript-action/./node_modules/@oozcitak/url/lib/interfaces.js","../webpack://typescript-action/./node_modules/@oozcitak/util/lib/CompareCache.js","../webpack://typescript-action/./node_modules/@oozcitak/util/lib/FixedSizeSet.js","../webpack://typescript-action/./node_modules/@oozcitak/util/lib/Lazy.js","../webpack://typescript-action/./node_modules/@oozcitak/util/lib/ObjectCache.js","../webpack://typescript-action/./node_modules/@oozcitak/util/lib/StringWalker.js","../webpack://typescript-action/./node_modules/@oozcitak/util/lib/index.js","../webpack://typescript-action/./node_modules/before-after-hook/index.js","../webpack://typescript-action/./node_modules/before-after-hook/lib/add.js","../webpack://typescript-action/./node_modules/before-after-hook/lib/register.js","../webpack://typescript-action/./node_modules/before-after-hook/lib/remove.js","../webpack://typescript-action/./node_modules/deprecation/dist-node/index.js","../webpack://typescript-action/./node_modules/is-plain-object/dist/is-plain-object.js","../webpack://typescript-action/./node_modules/node-fetch/lib/index.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/tr46/index.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/URL-impl.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/public-api.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js","../webpack://typescript-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/utils.js","../webpack://typescript-action/./node_modules/once/once.js","../webpack://typescript-action/./node_modules/packageurl-js/index.js","../webpack://typescript-action/./node_modules/packageurl-js/src/package-url.js","../webpack://typescript-action/./node_modules/tunnel/index.js","../webpack://typescript-action/./node_modules/tunnel/lib/tunnel.js","../webpack://typescript-action/./node_modules/universal-user-agent/dist-node/index.js","../webpack://typescript-action/./node_modules/uuid/dist/index.js","../webpack://typescript-action/./node_modules/uuid/dist/md5.js","../webpack://typescript-action/./node_modules/uuid/dist/nil.js","../webpack://typescript-action/./node_modules/uuid/dist/parse.js","../webpack://typescript-action/./node_modules/uuid/dist/regex.js","../webpack://typescript-action/./node_modules/uuid/dist/rng.js","../webpack://typescript-action/./node_modules/uuid/dist/sha1.js","../webpack://typescript-action/./node_modules/uuid/dist/stringify.js","../webpack://typescript-action/./node_modules/uuid/dist/v1.js","../webpack://typescript-action/./node_modules/uuid/dist/v3.js","../webpack://typescript-action/./node_modules/uuid/dist/v35.js","../webpack://typescript-action/./node_modules/uuid/dist/v4.js","../webpack://typescript-action/./node_modules/uuid/dist/v5.js","../webpack://typescript-action/./node_modules/uuid/dist/validate.js","../webpack://typescript-action/./node_modules/uuid/dist/version.js","../webpack://typescript-action/./node_modules/wrappy/wrappy.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/builder/dom.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/builder/index.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/index.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/interfaces.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/readers/BaseReader.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/readers/JSONReader.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/readers/ObjectReader.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/readers/XMLReader.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/readers/YAMLReader.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/readers/index.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/BaseWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/JSONWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/MapWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/ObjectWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/XMLWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/YAMLWriter.js","../webpack://typescript-action/./node_modules/xmlbuilder2/lib/writers/index.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/index.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/common.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/dumper.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/exception.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/loader.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/mark.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/core.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_full.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/json.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/binary.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/bool.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/float.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/int.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/function.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/map.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/merge.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/null.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/omap.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/pairs.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/seq.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/set.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/str.js","../webpack://typescript-action/./node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/timestamp.js","../webpack://typescript-action/./node_modules/@vercel/ncc/dist/ncc/@@notfound.js","../webpack://typescript-action/external node-commonjs \"assert\"","../webpack://typescript-action/external node-commonjs \"crypto\"","../webpack://typescript-action/external node-commonjs \"events\"","../webpack://typescript-action/external node-commonjs \"fs\"","../webpack://typescript-action/external node-commonjs \"http\"","../webpack://typescript-action/external node-commonjs \"https\"","../webpack://typescript-action/external node-commonjs \"net\"","../webpack://typescript-action/external node-commonjs \"os\"","../webpack://typescript-action/external node-commonjs \"path\"","../webpack://typescript-action/external node-commonjs \"punycode\"","../webpack://typescript-action/external node-commonjs \"stream\"","../webpack://typescript-action/external node-commonjs \"tls\"","../webpack://typescript-action/external node-commonjs \"url\"","../webpack://typescript-action/external node-commonjs \"util\"","../webpack://typescript-action/external node-commonjs \"zlib\"","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/builders/fromNodePackageJson.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/builders/index.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/enums/attachmentEncoding.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/enums/componentScope.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/enums/componentType.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/enums/externalReferenceType.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/enums/hashAlogorithm.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/enums/index.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/factories/fromNodePackageJson.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/factories/index.common.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/factories/index.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/factories/license.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/factories/packageUrl.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/helpers/notUndefined.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/helpers/packageJson.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/helpers/packageUrl.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/helpers/sortableSet.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/helpers/tree.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/index.common.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/index.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/attachment.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/bom.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/bomRef.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/component.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/externalReference.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/hash.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/index.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/license.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/metadata.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/organizationalContact.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/organizationalEntity.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/property.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/swid.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/models/tool.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/resources.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/baseSerializer.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/bomRefDiscriminator.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/index.common.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/index.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/json/index.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/json/normalize.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/json/types.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/jsonSerializer.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/types.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/xml/index.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/xml/normalize.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/xml/types.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/xmlBaseSerializer.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/serialize/xmlSerializer.node.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/spdx.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/spec.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/types/cpe.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/types/index.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/types/integer.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/types/mimeType.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/dist.node/types/urn.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/libs/universal-node-xml/index.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/libs/universal-node-xml/stringifiers/helpers.js","../webpack://typescript-action/./node_modules/@cyclonedx/cyclonedx-library/libs/universal-node-xml/stringifiers/xmlbuilder2.js","../webpack://typescript-action/webpack/bootstrap","../webpack://typescript-action/webpack/runtime/compat","../webpack://typescript-action/webpack/before-startup","../webpack://typescript-action/webpack/startup","../webpack://typescript-action/webpack/after-startup"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.parseSbomFile = exports.map = exports.process = exports.run = exports.SBom = void 0;\nconst core = __importStar(require(\"@actions/core\"));\nconst github = __importStar(require(\"@actions/github\"));\nconst cdx = __importStar(require(\"@cyclonedx/cyclonedx-library\"));\nconst fs = __importStar(require(\"fs\"));\nconst snapshot_1 = require(\"@github/dependency-submission-toolkit/dist/snapshot\");\nconst dependency_submission_toolkit_1 = require(\"@github/dependency-submission-toolkit\");\nclass SBom extends cdx.Models.Bom {\n constructor() {\n super();\n this.dependencies = [];\n }\n}\nexports.SBom = SBom;\nfunction run() {\n return __awaiter(this, void 0, void 0, function* () {\n const sbomFiles = core.getMultilineInput('sbom-files');\n if (sbomFiles === null || sbomFiles === void 0 ? void 0 : sbomFiles.length) {\n for (const sbomFile of sbomFiles) {\n try {\n core.debug(`Processing ${sbomFile} ...`);\n yield process(sbomFile);\n }\n catch (error) {\n if (error instanceof Error)\n core.setFailed(error.message);\n }\n }\n }\n else {\n core.warning('No SBOM files to process');\n }\n });\n}\nexports.run = run;\nfunction process(sbomFile) {\n return __awaiter(this, void 0, void 0, function* () {\n const snapshot = map(parseSbomFile(sbomFile), sbomFile);\n try {\n yield (0, dependency_submission_toolkit_1.submitSnapshot)(snapshot, github === null || github === void 0 ? void 0 : github.context);\n }\n catch (error) {\n if (error instanceof Error)\n core.error(error.message);\n throw error;\n }\n });\n}\nexports.process = process;\nfunction map(sbom, sbomFilename) {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;\n //const bom: SBom = sbom as SBom\n const detectors = Array.from(sbom.metadata.tools.values()).map(tool => {\n var _a, _b, _c;\n return {\n name: (_a = tool.name) !== null && _a !== void 0 ? _a : 'unknown',\n version: (_b = tool.version) !== null && _b !== void 0 ? _b : 'unknown',\n url: ((_c = tool.externalReferences) === null || _c === void 0 ? void 0 : _c.values[0].url) || 'https://'\n };\n });\n const detector = (_a = detectors.pop()) !== null && _a !== void 0 ? _a : { name: '', url: '', version: '' };\n let scanned = (_b = sbom.metadata) === null || _b === void 0 ? void 0 : _b.timestamp;\n if (typeof sbom.metadata.timestamp === 'string') {\n scanned = new Date(sbom.metadata.timestamp);\n }\n const job = (0, snapshot_1.jobFromContext)(github.context);\n job.correlator += sbomFilename;\n const snap = new dependency_submission_toolkit_1.Snapshot(detector, github === null || github === void 0 ? void 0 : github.context, job, scanned);\n const buildTarget = new dependency_submission_toolkit_1.BuildTarget(sbomFilename ||\n ((_e = (_d = (_c = sbom.metadata) === null || _c === void 0 ? void 0 : _c.component) === null || _d === void 0 ? void 0 : _d.swid) === null || _e === void 0 ? void 0 : _e.version) ||\n ((_g = (_f = sbom.metadata) === null || _f === void 0 ? void 0 : _f.component) === null || _g === void 0 ? void 0 : _g.version) ||\n 'someName');\n snap.addManifest(buildTarget);\n const packageCache = new dependency_submission_toolkit_1.PackageCache();\n const deps = dependencyForPackage((_j = (_h = sbom.metadata.component) === null || _h === void 0 ? void 0 : _h.purl) === null || _j === void 0 ? void 0 : _j.toString(), sbom.dependencies);\n if (!deps.length && ((_k = sbom.dependencies) === null || _k === void 0 ? void 0 : _k.length) && sbom.components) {\n // main package url has not defined explicit dependencies in SBOM, add all components\n for (const c of sbom.components) {\n if (c.purl)\n deps.push((_l = c.purl) === null || _l === void 0 ? void 0 : _l.toString());\n }\n }\n for (const dep of deps) {\n const pkg = packageCache.lookupPackage(dep);\n pkg\n ? buildTarget.addDirectDependency(pkg)\n : buildTarget.addDirectDependency(packageCache.package(dep));\n addIndirectDeps(dep, sbom, packageCache, buildTarget);\n }\n return snap;\n}\nexports.map = map;\nfunction addIndirectDeps(dep, sbom, packageCache, buildTarget) {\n const indirectDeps = dependencyForPackage(dep, sbom.dependencies);\n for (const indirectDep of indirectDeps) {\n const inpkg = packageCache.lookupPackage(indirectDep);\n inpkg\n ? buildTarget.addIndirectDependency(inpkg)\n : buildTarget.addIndirectDependency(packageCache.package(indirectDep));\n addIndirectDeps(indirectDep, sbom, packageCache, buildTarget);\n }\n}\n/**\n * Find dependencies for a package url\n * @param purl Package URL\n * @param deps Dependencies as listed in SBOM\n * @returns List of package URLs, empty if no dependencies\n */\nfunction dependencyForPackage(purl, deps) {\n if (!purl)\n return [];\n const componentDeps = deps === null || deps === void 0 ? void 0 : deps.find(c => c.ref.toString() === purl);\n return (componentDeps === null || componentDeps === void 0 ? void 0 : componentDeps.dependsOn) || [];\n}\nfunction parseSbomFile(sbomFile) {\n return JSON.parse(fs.readFileSync(sbomFile, 'utf8'));\n}\nexports.parseSbomFile = parseSbomFile;\nrun();\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issue = exports.issueCommand = void 0;\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nexports.issueCommand = issueCommand;\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nexports.issue = issue;\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;\nconst command_1 = require(\"./command\");\nconst file_command_1 = require(\"./file-command\");\nconst utils_1 = require(\"./utils\");\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst uuid_1 = require(\"uuid\");\nconst oidc_utils_1 = require(\"./oidc-utils\");\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = utils_1.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n const delimiter = `ghadelimiter_${uuid_1.v4()}`;\n // These should realistically never happen, but just in case someone finds a way to exploit uuid generation let's not allow keys or values that contain the delimiter.\n if (name.includes(delimiter)) {\n throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n }\n if (convertedVal.includes(delimiter)) {\n throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n }\n const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;\n file_command_1.issueCommand('ENV', commandValue);\n }\n else {\n command_1.issueCommand('set-env', { name }, convertedVal);\n }\n}\nexports.exportVariable = exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */\nfunction setSecret(secret) {\n command_1.issueCommand('add-mask', {}, secret);\n}\nexports.setSecret = setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n file_command_1.issueCommand('PATH', inputPath);\n }\n else {\n command_1.issueCommand('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\nexports.addPath = addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\nexports.getInput = getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n return inputs;\n}\nexports.getMultilineInput = getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nexports.getBooleanInput = getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n process.stdout.write(os.EOL);\n command_1.issueCommand('set-output', { name }, value);\n}\nexports.setOutput = setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n command_1.issue('echo', enabled ? 'on' : 'off');\n}\nexports.setCommandEcho = setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\nexports.setFailed = setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\nexports.isDebug = isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n command_1.issueCommand('debug', {}, message);\n}\nexports.debug = debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.error = error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.warning = warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.notice = notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\nexports.info = info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n command_1.issue('group', name);\n}\nexports.startGroup = startGroup;\n/**\n * End an output group.\n */\nfunction endGroup() {\n command_1.issue('endgroup');\n}\nexports.endGroup = endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\nexports.group = group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n command_1.issueCommand('save-state', { name }, value);\n}\nexports.saveState = saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nexports.getState = getState;\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\nexports.getIDToken = getIDToken;\n/**\n * Summary exports\n */\nvar summary_1 = require(\"./summary\");\nObject.defineProperty(exports, \"summary\", { enumerable: true, get: function () { return summary_1.summary; } });\n/**\n * @deprecated use core.summary\n */\nvar summary_2 = require(\"./summary\");\nObject.defineProperty(exports, \"markdownSummary\", { enumerable: true, get: function () { return summary_2.markdownSummary; } });\n/**\n * Path exports\n */\nvar path_utils_1 = require(\"./path-utils\");\nObject.defineProperty(exports, \"toPosixPath\", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } });\nObject.defineProperty(exports, \"toWin32Path\", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } });\nObject.defineProperty(exports, \"toPlatformPath\", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } });\n//# sourceMappingURL=core.js.map","\"use strict\";\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issueCommand = void 0;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst fs = __importStar(require(\"fs\"));\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\nfunction issueCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nexports.issueCommand = issueCommand;\n//# sourceMappingURL=file-command.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OidcClient = void 0;\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst core_1 = require(\"./core\");\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.result.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n core_1.debug(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n core_1.setSecret(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;\nconst path = __importStar(require(\"path\"));\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */\nfunction toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, '/');\n}\nexports.toPosixPath = toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */\nfunction toWin32Path(pth) {\n return pth.replace(/[/]/g, '\\\\');\n}\nexports.toWin32Path = toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */\nfunction toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, path.sep);\n}\nexports.toPlatformPath = toPlatformPath;\n//# sourceMappingURL=path-utils.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;\nconst os_1 = require(\"os\");\nconst fs_1 = require(\"fs\");\nconst { access, appendFile, writeFile } = fs_1.promises;\nexports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';\nexports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';\nclass Summary {\n constructor() {\n this._buffer = '';\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */\n filePath() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._filePath) {\n return this._filePath;\n }\n const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) {\n throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n }\n try {\n yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);\n }\n catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */\n wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs)\n .map(([key, value]) => ` ${key}=\"${value}\"`)\n .join('');\n if (!content) {\n return `<${tag}${htmlAttrs}>`;\n }\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */\n write(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? writeFile : appendFile;\n yield writeFunc(filePath, this._buffer, { encoding: 'utf8' });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */\n clear() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.emptyBuffer().write({ overwrite: true });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */\n stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */\n isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */\n emptyBuffer() {\n this._buffer = '';\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */\n addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */\n addEOL() {\n return this.addRaw(os_1.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */\n addCodeBlock(code, lang) {\n const attrs = Object.assign({}, (lang && { lang }));\n const element = this.wrap('pre', this.wrap('code', code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */\n addList(items, ordered = false) {\n const tag = ordered ? 'ol' : 'ul';\n const listItems = items.map(item => this.wrap('li', item)).join('');\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */\n addTable(rows) {\n const tableBody = rows\n .map(row => {\n const cells = row\n .map(cell => {\n if (typeof cell === 'string') {\n return this.wrap('td', cell);\n }\n const { header, data, colspan, rowspan } = cell;\n const tag = header ? 'th' : 'td';\n const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan }));\n return this.wrap(tag, data, attrs);\n })\n .join('');\n return this.wrap('tr', cells);\n })\n .join('');\n const element = this.wrap('table', tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */\n addDetails(label, content) {\n const element = this.wrap('details', this.wrap('summary', label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */\n addImage(src, alt, options) {\n const { width, height } = options || {};\n const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height }));\n const element = this.wrap('img', null, Object.assign({ src, alt }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */\n addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag)\n ? tag\n : 'h1';\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addSeparator() {\n const element = this.wrap('hr', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addBreak() {\n const element = this.wrap('br', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */\n addQuote(text, cite) {\n const attrs = Object.assign({}, (cite && { cite }));\n const element = this.wrap('blockquote', text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */\n addLink(text, href) {\n const element = this.wrap('a', text, { href });\n return this.addRaw(element).addEOL();\n }\n}\nconst _summary = new Summary();\n/**\n * @deprecated use `core.summary`\n */\nexports.markdownSummary = _summary;\nexports.summary = _summary;\n//# sourceMappingURL=summary.js.map","\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toCommandProperties = exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\nexports.toCommandValue = toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nexports.toCommandProperties = toCommandProperties;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Context = void 0;\nconst fs_1 = require(\"fs\");\nconst os_1 = require(\"os\");\nclass Context {\n /**\n * Hydrate the context from the environment\n */\n constructor() {\n var _a, _b, _c;\n this.payload = {};\n if (process.env.GITHUB_EVENT_PATH) {\n if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) {\n this.payload = JSON.parse(fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' }));\n }\n else {\n const path = process.env.GITHUB_EVENT_PATH;\n process.stdout.write(`GITHUB_EVENT_PATH ${path} does not exist${os_1.EOL}`);\n }\n }\n this.eventName = process.env.GITHUB_EVENT_NAME;\n this.sha = process.env.GITHUB_SHA;\n this.ref = process.env.GITHUB_REF;\n this.workflow = process.env.GITHUB_WORKFLOW;\n this.action = process.env.GITHUB_ACTION;\n this.actor = process.env.GITHUB_ACTOR;\n this.job = process.env.GITHUB_JOB;\n this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);\n this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);\n this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;\n this.serverUrl = (_b = process.env.GITHUB_SERVER_URL) !== null && _b !== void 0 ? _b : `https://github.com`;\n this.graphqlUrl = (_c = process.env.GITHUB_GRAPHQL_URL) !== null && _c !== void 0 ? _c : `https://api.github.com/graphql`;\n }\n get issue() {\n const payload = this.payload;\n return Object.assign(Object.assign({}, this.repo), { number: (payload.issue || payload.pull_request || payload).number });\n }\n get repo() {\n if (process.env.GITHUB_REPOSITORY) {\n const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');\n return { owner, repo };\n }\n if (this.payload.repository) {\n return {\n owner: this.payload.repository.owner.login,\n repo: this.payload.repository.name\n };\n }\n throw new Error(\"context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'\");\n }\n}\nexports.Context = Context;\n//# sourceMappingURL=context.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getOctokit = exports.context = void 0;\nconst Context = __importStar(require(\"./context\"));\nconst utils_1 = require(\"./utils\");\nexports.context = new Context.Context();\n/**\n * Returns a hydrated octokit ready to use for GitHub Actions\n *\n * @param token the repo PAT or GITHUB_TOKEN\n * @param options other options to set\n */\nfunction getOctokit(token, options) {\n return new utils_1.GitHub(utils_1.getOctokitOptions(token, options));\n}\nexports.getOctokit = getOctokit;\n//# sourceMappingURL=github.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0;\nconst httpClient = __importStar(require(\"@actions/http-client\"));\nfunction getAuthString(token, options) {\n if (!token && !options.auth) {\n throw new Error('Parameter token or opts.auth is required');\n }\n else if (token && options.auth) {\n throw new Error('Parameters token and opts.auth may not both be specified');\n }\n return typeof options.auth === 'string' ? options.auth : `token ${token}`;\n}\nexports.getAuthString = getAuthString;\nfunction getProxyAgent(destinationUrl) {\n const hc = new httpClient.HttpClient();\n return hc.getAgent(destinationUrl);\n}\nexports.getProxyAgent = getProxyAgent;\nfunction getApiBaseUrl() {\n return process.env['GITHUB_API_URL'] || 'https://api.github.com';\n}\nexports.getApiBaseUrl = getApiBaseUrl;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getOctokitOptions = exports.GitHub = exports.context = void 0;\nconst Context = __importStar(require(\"./context\"));\nconst Utils = __importStar(require(\"./internal/utils\"));\n// octokit + plugins\nconst core_1 = require(\"@octokit/core\");\nconst plugin_rest_endpoint_methods_1 = require(\"@octokit/plugin-rest-endpoint-methods\");\nconst plugin_paginate_rest_1 = require(\"@octokit/plugin-paginate-rest\");\nexports.context = new Context.Context();\nconst baseUrl = Utils.getApiBaseUrl();\nconst defaults = {\n baseUrl,\n request: {\n agent: Utils.getProxyAgent(baseUrl)\n }\n};\nexports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(defaults);\n/**\n * Convience function to correctly format Octokit Options to pass into the constructor.\n *\n * @param token the repo PAT or GITHUB_TOKEN\n * @param options other options to set\n */\nfunction getOctokitOptions(token, options) {\n const opts = Object.assign({}, options || {}); // Shallow clone - don't mutate the object provided by the caller\n // Auth\n const auth = Utils.getAuthString(token, opts);\n if (auth) {\n opts.auth = auth;\n }\n return opts;\n}\nexports.getOctokitOptions = getOctokitOptions;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0;\nclass BasicCredentialHandler {\n constructor(username, password) {\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BasicCredentialHandler = BasicCredentialHandler;\nclass BearerCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BearerCredentialHandler = BearerCredentialHandler;\nclass PersonalAccessTokenCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;\n//# sourceMappingURL=auth.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;\nconst http = __importStar(require(\"http\"));\nconst https = __importStar(require(\"https\"));\nconst pm = __importStar(require(\"./proxy\"));\nconst tunnel = __importStar(require(\"tunnel\"));\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n const proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n }));\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n getJson(requestUrl, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n request(verb, requestUrl, data, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb)\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers) {\n if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (response.message.statusCode &&\n HttpRedirectCodes.includes(response.message.statusCode) &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === 'https:' &&\n parsedUrl.protocol !== parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (const header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode ||\n !HttpResponseRetryCodes.includes(response.message.statusCode)) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n } while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => {\n function callbackForResult(err, res) {\n if (err) {\n reject(err);\n }\n else if (!res) {\n // If `err` is not passed, then `res` must be passed.\n reject(new Error('Unknown error'));\n }\n else {\n resolve(res);\n }\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n if (typeof data === 'string') {\n if (!info.options.headers) {\n info.options.headers = {};\n }\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg) => {\n const res = new HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n for (const handler of this.handlers) {\n handler.prepareRequest(info.options);\n }\n }\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {}));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, ((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n })), { host: proxyUrl.hostname, port: proxyUrl.port })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return __awaiter(this, void 0, void 0, function* () {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === HttpCodes.NotFound) {\n resolve(response);\n }\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = `Failed request: (${statusCode})`;\n }\n const err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n }));\n });\n }\n}\nexports.HttpClient = HttpClient;\nconst lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkBypass = exports.getProxyUrl = void 0;\nfunction getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === 'https:';\n if (checkBypass(reqUrl)) {\n return undefined;\n }\n const proxyVar = (() => {\n if (usingSsl) {\n return process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n return process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n })();\n if (proxyVar) {\n return new URL(proxyVar);\n }\n else {\n return undefined;\n }\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n const upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n//# sourceMappingURL=proxy.js.map","require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 2973:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.BuildTarget = exports.Manifest = void 0;\n/**\n * Dependency.\n */\nclass Dependency {\n /**\n * constructor.\n *\n * @param {Package} depPackage\n * @param {DependencyRelationship} relationship\n * @param {DependencyScope} scope\n */\n constructor(depPackage, relationship, scope) {\n this.depPackage = depPackage;\n this.relationship = relationship;\n this.scope = scope;\n }\n /**\n * toJSON is a custom JSON-serializer. It will be called when JSON.stringify()\n * is called with this class or any object containing this class.\n *\n * @returns {object} with keys package_url, relationship, scope, and\n * dependency, per the Snapshot format\n */\n toJSON() {\n return {\n package_url: this.depPackage.packageURL.toString(),\n relationship: this.relationship,\n scope: this.scope,\n dependencies: this.depPackage.packageDependencyIDs\n };\n }\n}\n/**\n * Manifest defines the dependencies and the relationships of those dependencies.\n */\nclass Manifest {\n constructor(name, filePath) {\n this.resolved = {};\n this.name = name;\n if (filePath) {\n this.file = { source_location: filePath };\n }\n }\n /**\n * addIndirectDependency adds a package as an indirect dependency to the\n * manifest. Direct dependencies take precedence over indirect dependencies\n * if a package is added as both.\n *\n * @param {Package} pkg\n * @param {DependencyScope} scope\n */\n addDirectDependency(pkg, scope) {\n // will overwrite any previous indirect assignments\n this.resolved[pkg.packageID()] = new Dependency(pkg, 'direct', scope);\n }\n /**\n * addIndirectDependency adds a package as an indirect dependency to the\n * manifest. NOTE: if a dependency has been previously added as a direct\n * dependency, no change will happen (direct dependencies take precedence).\n *\n * @param {Package} pkg\n * @param {DependencyScope} scope dependency scope of the package\n */\n addIndirectDependency(pkg, scope) {\n var _a;\n var _b, _c;\n // nullish assignment to keep any previous assignments, including direct assignments\n (_a = (_b = this.resolved)[_c = pkg.packageID()]) !== null && _a !== void 0 ? _a : (_b[_c] = new Dependency(pkg, 'indirect', scope));\n }\n hasDependency(pkg) {\n return this.lookupDependency(pkg) !== undefined;\n }\n lookupDependency(pkg) {\n return this.resolved[pkg.packageID()];\n }\n countDependencies() {\n return Object.keys(this.resolved).length;\n }\n /**\n * filterDependencies. Given a predicate function (a function returning a\n * boolean for an input), return the packages that match the dependency\n * relationship. Used for getting filtered lists of direct/indirect packages,\n * runtime/development packages, etc.\n *\n * @param {Function} predicate\n * @returns {Array}\n */\n filterDependencies(predicate) {\n return Object.values(this.resolved).reduce((acc, dep) => {\n if (predicate(dep)) {\n acc.push(dep.depPackage);\n }\n return acc;\n }, []);\n }\n /**\n * directDependencies returns list of packages that are specified as direct dependencies\n */\n directDependencies() {\n return this.filterDependencies((dep) => dep.relationship === 'direct');\n }\n /**\n * indirectDependencies returns list of packages that are specified as indirect dependencies\n */\n indirectDependencies() {\n return this.filterDependencies((dep) => dep.relationship === 'indirect');\n }\n}\nexports.Manifest = Manifest;\n/**\n * The dependencies used in a code artifact or \"build target\" are more\n * accurately determined by the build process or commands used to generate the\n * build target, rather than static processing of package files. BuildTarget is\n * a specialized case of Manifest intended to assist in capturing this\n * association of build target and dependencies.\n *\n * @extends {Manifest}\n */\nclass BuildTarget extends Manifest {\n /**\n * addBuildDependency will add a package as a direct runtime dependency and all of\n * the package's transitive dependencies as indirect dependencies\n *\n * @param {Package} pkg package used to build the build target\n */\n addBuildDependency(pkg) {\n this.addDirectDependency(pkg, 'runtime');\n pkg.dependencies.forEach((transDep) => {\n this.addIndirectDependency(transDep, 'runtime');\n });\n }\n}\nexports.BuildTarget = BuildTarget;\n//# sourceMappingURL=manifest.js.map\n\n/***/ }),\n\n/***/ 2947:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.PackageCache = void 0;\nconst packageurl_js_1 = __nccwpck_require__(8915);\nconst package_1 = __nccwpck_require__(4590);\n/**\n * Use PackageCache to define packages and the relationships between packages. You may\n * think of PackageCache as the universe of possible packages to be used in Manifests\n * and BuildTargets. PackageCache is not serialized to the Dependency Submission API.\n */\nclass PackageCache {\n constructor() {\n this.database = {};\n }\n /**\n * 'cache.package()' will be the most commonly used method of PackageCache.\n * package(identifier) will create and add a new Package to the PackageCache if no\n * Packaging with a matching identifier exists in PackageCache, or return an existing\n * Package if a match is found. The mutation in this case is expected; do not\n * use package(identifier) to determine if a package is already added.\n * Instead, use hasPackage or lookupPackage.\n *\n *\n * @param {PackageURL | string} identifier PackageURL or string matching the Package URL format (https://github.com/package-url/purl-spec)\n * @returns {Package}\n */\n package(identifier) {\n const existingDep = this.lookupPackage(identifier);\n if (existingDep) {\n return existingDep;\n }\n const dep = new package_1.Package(identifier);\n this.addPackage(dep);\n return dep;\n }\n /**\n * Provided a \"matcher\" object with any of the string fields 'namespace',\n * 'name', or 'version', returns all packages matching fields specified by\n * the matcher stored by the PackageCache\n *\n * @param {Object} matcher\n * @returns {boolean}\n */\n packagesMatching(matcher) {\n return Object.values(this.database).filter((pkg) => pkg.matching(matcher));\n }\n /**\n * addPackage adds a package, even if it already exists in the cache.\n *\n * @param {Package} pkg\n */\n addPackage(pkg) {\n this.database[pkg.packageURL.toString()] = pkg;\n }\n /**\n * removePackage a removes a package from the cache\n *\n * @param {Package} pkg\n */\n removePackage(pkg) {\n delete this.database[pkg.packageURL.toString()];\n }\n /**\n * lookupPackage looks up and returns a package with a matching identifier,\n * if one exists.\n *\n * @param {PackageURL | string} identifier\n * @returns {Package | undefined}\n */\n lookupPackage(identifier) {\n if (typeof identifier === 'string') {\n const purl = packageurl_js_1.PackageURL.fromString(identifier);\n return this.database[purl.toString()];\n }\n else {\n return this.database[identifier.toString()];\n }\n }\n /**\n * hasPackage returns true if a package with a matching identifier exists.\n *\n * @param {PackageURL | string} identifier\n * @returns {boolean}\n */\n hasPackage(identifier) {\n return this.lookupPackage(identifier) !== undefined;\n }\n /**\n * countPackages returns the total number of packages tracked in the cache\n *\n * @returns {number}\n */\n countPackages() {\n return Object.values(this.database).length;\n }\n}\nexports.PackageCache = PackageCache;\n//# sourceMappingURL=package-cache.js.map\n\n/***/ }),\n\n/***/ 4590:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Package = void 0;\nconst packageurl_js_1 = __nccwpck_require__(8915);\n/**\n * Package is module that can be depended upon in manifest or build target. A\n * package is what you would download from a registry like NPM.\n * We consider all packages that are defined in the [Package URL spec](https://github.com/package-url/purl-spec/blob/1eae1e95d81fddf8ae7f06b4dfc7b5b5be0cc3e2/PURL-TYPES.rst) as being valid package types.\n */\nclass Package {\n /**\n * A Package can be constructed with a PackageURL or a string conforming to\n * the Package URL format (https://github.com/package-url/purl-spec)\n *\n * @param {PackageURL | string} pkg\n */\n constructor(pkg) {\n if (typeof pkg === 'string') {\n this.packageURL = packageurl_js_1.PackageURL.fromString(pkg);\n }\n else {\n this.packageURL = pkg;\n }\n this.dependencies = [];\n }\n /**\n * Associate a package child dependency with this package\n *\n * @param {Package} pkg\n * @returns {Package}\n */\n dependsOn(pkg) {\n this.dependencies.push(pkg);\n return this;\n }\n /**\n * Add multiple packages as dependencies.\n *\n * @param {Array} pkgs\n * @returns {Package}\n */\n dependsOnPackages(pkgs) {\n pkgs.forEach((pkg) => this.dependsOn(pkg));\n return this;\n }\n /**\n * packageDependencyIDs provides the list of package IDs of package dependencies\n */\n get packageDependencyIDs() {\n return this.dependencies.map((dep) => dep.packageID());\n }\n /**\n * packageID generates the unique package ID (currently, the Package URL)\n *\n * @returns {string}\n */\n packageID() {\n return this.packageURL.toString();\n }\n /**\n * namespace of the package\n *\n * @returns {string}\n */\n namespace() {\n var _a;\n return (_a = this.packageURL.namespace) !== null && _a !== void 0 ? _a : null;\n }\n /**\n * name of the package\n *\n * @returns {string}\n */\n name() {\n return this.packageURL.name;\n }\n /**\n * version of the package\n *\n * @returns {string}\n */\n version() {\n return this.packageURL.version || '';\n }\n /**\n * Provided a \"matcher\" object with any of the string fields 'namespace',\n * 'name', or 'version', returns true if the Package has values matching the\n * matcher.\n *\n * @param {Object} matcher\n * @returns {boolean}\n */\n matching(matcher) {\n // prettier-ignore\n return ((matcher.namespace === undefined ||\n this.packageURL.namespace === matcher.namespace) &&\n (matcher.name === undefined ||\n this.packageURL.name === matcher.name) &&\n (matcher.version === undefined ||\n this.packageURL.version === matcher.version));\n }\n}\nexports.Package = Package;\n//# sourceMappingURL=package.js.map\n\n/***/ }),\n\n/***/ 3767:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.submitSnapshot = exports.Snapshot = exports.jobFromContext = void 0;\nconst core = __importStar(__nccwpck_require__(2186));\nconst github = __importStar(__nccwpck_require__(5438));\nconst rest_1 = __nccwpck_require__(5375);\nconst request_error_1 = __nccwpck_require__(537);\n/**\n * jobFromContext creates a job from a @actions/github Context\n *\n * @param {Context} context\n * @returns {Job}\n */\nfunction jobFromContext(context) {\n return {\n correlator: context.job,\n id: context.runId.toString()\n };\n}\nexports.jobFromContext = jobFromContext;\n/**\n * Snapshot is the top-level container for Dependency Submission\n */\nclass Snapshot {\n /**\n * All constructor parameters of a Snapshot are optional, but can be specified for specific overrides\n *\n * @param {Detector} detector\n * @param {Context} context\n * @param {Job} job\n * @param {Date} date\n * @param {number} version\n */\n constructor(detector, context = github.context, job, date = new Date(), version = 0) {\n this.detector = detector;\n this.version = version;\n this.job = job || jobFromContext(context);\n this.sha = context.sha;\n this.ref = context.ref;\n this.scanned = date.toISOString();\n this.manifests = {};\n }\n /**\n * addManifest adds a manifest to the snapshot. At least one manifest must be added.\n *\n * @param {Manifest} manifest\n */\n addManifest(manifest) {\n this.manifests[manifest.name] = manifest;\n }\n /**\n * prettyJSON formats an intended version of the Snapshot (useful for debugging)\n *\n * @returns {string}\n */\n prettyJSON() {\n return JSON.stringify(this, undefined, 4);\n }\n}\nexports.Snapshot = Snapshot;\n/**\n * submitSnapshot submits a snapshot to the Dependency Submission API\n *\n * @param {Snapshot} snapshot\n * @param {Context} context\n */\nfunction submitSnapshot(snapshot, context = github.context) {\n return __awaiter(this, void 0, void 0, function* () {\n core.setOutput('snapshot', JSON.stringify(snapshot));\n core.notice('Submitting snapshot...');\n core.notice(snapshot.prettyJSON());\n const repo = context.repo;\n const githubToken = core.getInput('token') || (yield core.getIDToken());\n const octokit = new rest_1.Octokit({\n auth: githubToken\n });\n try {\n const response = yield octokit.request('POST /repos/{owner}/{repo}/dependency-graph/snapshots', {\n headers: {\n accept: 'application/vnd.github.foo-bar-preview+json'\n },\n owner: repo.owner,\n repo: repo.repo,\n data: JSON.stringify(snapshot)\n });\n core.notice('Snapshot successfully created at ' + response.data.created_at.toString());\n }\n catch (error) {\n if (error instanceof request_error_1.RequestError) {\n core.error(`HTTP Status ${error.status} for request ${error.request.method} ${error.request.url}`);\n if (error.response) {\n core.error(`Response body:\\n${JSON.stringify(error.response.data, undefined, 2)}`);\n }\n }\n if (error instanceof Error) {\n core.error(error.message);\n if (error.stack)\n core.error(error.stack);\n }\n throw new Error(`Failed to submit snapshot: ${error}`);\n }\n });\n}\nexports.submitSnapshot = submitSnapshot;\n//# sourceMappingURL=snapshot.js.map\n\n/***/ }),\n\n/***/ 7351:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.issue = exports.issueCommand = void 0;\nconst os = __importStar(__nccwpck_require__(2087));\nconst utils_1 = __nccwpck_require__(5278);\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nexports.issueCommand = issueCommand;\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nexports.issue = issue;\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map\n\n/***/ }),\n\n/***/ 2186:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;\nconst command_1 = __nccwpck_require__(7351);\nconst file_command_1 = __nccwpck_require__(717);\nconst utils_1 = __nccwpck_require__(5278);\nconst os = __importStar(__nccwpck_require__(2087));\nconst path = __importStar(__nccwpck_require__(5622));\nconst oidc_utils_1 = __nccwpck_require__(8041);\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = utils_1.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n const delimiter = '_GitHubActionsFileCommandDelimeter_';\n const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;\n file_command_1.issueCommand('ENV', commandValue);\n }\n else {\n command_1.issueCommand('set-env', { name }, convertedVal);\n }\n}\nexports.exportVariable = exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */\nfunction setSecret(secret) {\n command_1.issueCommand('add-mask', {}, secret);\n}\nexports.setSecret = setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n file_command_1.issueCommand('PATH', inputPath);\n }\n else {\n command_1.issueCommand('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\nexports.addPath = addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\nexports.getInput = getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n return inputs;\n}\nexports.getMultilineInput = getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nexports.getBooleanInput = getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n process.stdout.write(os.EOL);\n command_1.issueCommand('set-output', { name }, value);\n}\nexports.setOutput = setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n command_1.issue('echo', enabled ? 'on' : 'off');\n}\nexports.setCommandEcho = setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\nexports.setFailed = setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\nexports.isDebug = isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n command_1.issueCommand('debug', {}, message);\n}\nexports.debug = debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.error = error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.warning = warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.notice = notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\nexports.info = info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n command_1.issue('group', name);\n}\nexports.startGroup = startGroup;\n/**\n * End an output group.\n */\nfunction endGroup() {\n command_1.issue('endgroup');\n}\nexports.endGroup = endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\nexports.group = group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n command_1.issueCommand('save-state', { name }, value);\n}\nexports.saveState = saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nexports.getState = getState;\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\nexports.getIDToken = getIDToken;\n//# sourceMappingURL=core.js.map\n\n/***/ }),\n\n/***/ 717:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.issueCommand = void 0;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst fs = __importStar(__nccwpck_require__(5747));\nconst os = __importStar(__nccwpck_require__(2087));\nconst utils_1 = __nccwpck_require__(5278);\nfunction issueCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nexports.issueCommand = issueCommand;\n//# sourceMappingURL=file-command.js.map\n\n/***/ }),\n\n/***/ 8041:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.OidcClient = void 0;\nconst http_client_1 = __nccwpck_require__(9925);\nconst auth_1 = __nccwpck_require__(3702);\nconst core_1 = __nccwpck_require__(2186);\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.result.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n core_1.debug(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n core_1.setSecret(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map\n\n/***/ }),\n\n/***/ 5278:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.toCommandProperties = exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\nexports.toCommandValue = toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nexports.toCommandProperties = toCommandProperties;\n//# sourceMappingURL=utils.js.map\n\n/***/ }),\n\n/***/ 4087:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Context = void 0;\nconst fs_1 = __nccwpck_require__(5747);\nconst os_1 = __nccwpck_require__(2087);\nclass Context {\n /**\n * Hydrate the context from the environment\n */\n constructor() {\n var _a, _b, _c;\n this.payload = {};\n if (process.env.GITHUB_EVENT_PATH) {\n if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) {\n this.payload = JSON.parse(fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' }));\n }\n else {\n const path = process.env.GITHUB_EVENT_PATH;\n process.stdout.write(`GITHUB_EVENT_PATH ${path} does not exist${os_1.EOL}`);\n }\n }\n this.eventName = process.env.GITHUB_EVENT_NAME;\n this.sha = process.env.GITHUB_SHA;\n this.ref = process.env.GITHUB_REF;\n this.workflow = process.env.GITHUB_WORKFLOW;\n this.action = process.env.GITHUB_ACTION;\n this.actor = process.env.GITHUB_ACTOR;\n this.job = process.env.GITHUB_JOB;\n this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);\n this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);\n this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;\n this.serverUrl = (_b = process.env.GITHUB_SERVER_URL) !== null && _b !== void 0 ? _b : `https://github.com`;\n this.graphqlUrl = (_c = process.env.GITHUB_GRAPHQL_URL) !== null && _c !== void 0 ? _c : `https://api.github.com/graphql`;\n }\n get issue() {\n const payload = this.payload;\n return Object.assign(Object.assign({}, this.repo), { number: (payload.issue || payload.pull_request || payload).number });\n }\n get repo() {\n if (process.env.GITHUB_REPOSITORY) {\n const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');\n return { owner, repo };\n }\n if (this.payload.repository) {\n return {\n owner: this.payload.repository.owner.login,\n repo: this.payload.repository.name\n };\n }\n throw new Error(\"context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'\");\n }\n}\nexports.Context = Context;\n//# sourceMappingURL=context.js.map\n\n/***/ }),\n\n/***/ 5438:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getOctokit = exports.context = void 0;\nconst Context = __importStar(__nccwpck_require__(4087));\nconst utils_1 = __nccwpck_require__(3030);\nexports.context = new Context.Context();\n/**\n * Returns a hydrated octokit ready to use for GitHub Actions\n *\n * @param token the repo PAT or GITHUB_TOKEN\n * @param options other options to set\n */\nfunction getOctokit(token, options) {\n return new utils_1.GitHub(utils_1.getOctokitOptions(token, options));\n}\nexports.getOctokit = getOctokit;\n//# sourceMappingURL=github.js.map\n\n/***/ }),\n\n/***/ 7914:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0;\nconst httpClient = __importStar(__nccwpck_require__(9925));\nfunction getAuthString(token, options) {\n if (!token && !options.auth) {\n throw new Error('Parameter token or opts.auth is required');\n }\n else if (token && options.auth) {\n throw new Error('Parameters token and opts.auth may not both be specified');\n }\n return typeof options.auth === 'string' ? options.auth : `token ${token}`;\n}\nexports.getAuthString = getAuthString;\nfunction getProxyAgent(destinationUrl) {\n const hc = new httpClient.HttpClient();\n return hc.getAgent(destinationUrl);\n}\nexports.getProxyAgent = getProxyAgent;\nfunction getApiBaseUrl() {\n return process.env['GITHUB_API_URL'] || 'https://api.github.com';\n}\nexports.getApiBaseUrl = getApiBaseUrl;\n//# sourceMappingURL=utils.js.map\n\n/***/ }),\n\n/***/ 3030:\n/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {\n\n\"use strict\";\n\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getOctokitOptions = exports.GitHub = exports.context = void 0;\nconst Context = __importStar(__nccwpck_require__(4087));\nconst Utils = __importStar(__nccwpck_require__(7914));\n// octokit + plugins\nconst core_1 = __nccwpck_require__(6762);\nconst plugin_rest_endpoint_methods_1 = __nccwpck_require__(3044);\nconst plugin_paginate_rest_1 = __nccwpck_require__(4193);\nexports.context = new Context.Context();\nconst baseUrl = Utils.getApiBaseUrl();\nconst defaults = {\n baseUrl,\n request: {\n agent: Utils.getProxyAgent(baseUrl)\n }\n};\nexports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(defaults);\n/**\n * Convience function to correctly format Octokit Options to pass into the constructor.\n *\n * @param token the repo PAT or GITHUB_TOKEN\n * @param options other options to set\n */\nfunction getOctokitOptions(token, options) {\n const opts = Object.assign({}, options || {}); // Shallow clone - don't mutate the object provided by the caller\n // Auth\n const auth = Utils.getAuthString(token, opts);\n if (auth) {\n opts.auth = auth;\n }\n return opts;\n}\nexports.getOctokitOptions = getOctokitOptions;\n//# sourceMappingURL=utils.js.map\n\n/***/ }),\n\n/***/ 3702:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nclass BasicCredentialHandler {\n constructor(username, password) {\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n options.headers['Authorization'] =\n 'Basic ' +\n Buffer.from(this.username + ':' + this.password).toString('base64');\n }\n // This handler cannot handle 401\n canHandleAuthentication(response) {\n return false;\n }\n handleAuthentication(httpClient, requestInfo, objs) {\n return null;\n }\n}\nexports.BasicCredentialHandler = BasicCredentialHandler;\nclass BearerCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n options.headers['Authorization'] = 'Bearer ' + this.token;\n }\n // This handler cannot handle 401\n canHandleAuthentication(response) {\n return false;\n }\n handleAuthentication(httpClient, requestInfo, objs) {\n return null;\n }\n}\nexports.BearerCredentialHandler = BearerCredentialHandler;\nclass PersonalAccessTokenCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n options.headers['Authorization'] =\n 'Basic ' + Buffer.from('PAT:' + this.token).toString('base64');\n }\n // This handler cannot handle 401\n canHandleAuthentication(response) {\n return false;\n }\n handleAuthentication(httpClient, requestInfo, objs) {\n return null;\n }\n}\nexports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;\n\n\n/***/ }),\n\n/***/ 9925:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst http = __nccwpck_require__(8605);\nconst https = __nccwpck_require__(7211);\nconst pm = __nccwpck_require__(6443);\nlet tunnel;\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n let proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject) => {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n async request(verb, requestUrl, data, headers) {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n while (numTries < maxTries) {\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (let i = 0; i < this.handlers.length; i++) {\n if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == 'https:' &&\n parsedUrl.protocol != parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (let header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return new Promise((resolve, reject) => {\n let callbackForResult = function (err, res) {\n if (err) {\n reject(err);\n }\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === 'string') {\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n let handleResult = (err, res) => {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg) => {\n let res = new HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error('Request timeout: ' + info.options.path), null);\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n this.handlers.forEach(handler => {\n handler.prepareRequest(info.options);\n });\n }\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = pm.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (!!agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (!!this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n if (useProxy) {\n // If using proxy, need tunnel\n if (!tunnel) {\n tunnel = __nccwpck_require__(4294);\n }\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }),\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject) => {\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == HttpCodes.NotFound) {\n resolve(response);\n }\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = 'Failed request: (' + statusCode + ')';\n }\n let err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n });\n }\n}\nexports.HttpClient = HttpClient;\n\n\n/***/ }),\n\n/***/ 6443:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nfunction getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === 'https:';\n let proxyUrl;\n if (checkBypass(reqUrl)) {\n return proxyUrl;\n }\n let proxyVar;\n if (usingSsl) {\n proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n if (proxyVar) {\n proxyUrl = new URL(proxyVar);\n }\n return proxyUrl;\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n let upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n\n\n/***/ }),\n\n/***/ 334:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nconst REGEX_IS_INSTALLATION_LEGACY = /^v1\\./;\nconst REGEX_IS_INSTALLATION = /^ghs_/;\nconst REGEX_IS_USER_TO_SERVER = /^ghu_/;\nasync function auth(token) {\n const isApp = token.split(/\\./).length === 3;\n const isInstallation = REGEX_IS_INSTALLATION_LEGACY.test(token) || REGEX_IS_INSTALLATION.test(token);\n const isUserToServer = REGEX_IS_USER_TO_SERVER.test(token);\n const tokenType = isApp ? \"app\" : isInstallation ? \"installation\" : isUserToServer ? \"user-to-server\" : \"oauth\";\n return {\n type: \"token\",\n token: token,\n tokenType\n };\n}\n\n/**\n * Prefix token for usage in the Authorization header\n *\n * @param token OAuth token or JSON Web Token\n */\nfunction withAuthorizationPrefix(token) {\n if (token.split(/\\./).length === 3) {\n return `bearer ${token}`;\n }\n\n return `token ${token}`;\n}\n\nasync function hook(token, request, route, parameters) {\n const endpoint = request.endpoint.merge(route, parameters);\n endpoint.headers.authorization = withAuthorizationPrefix(token);\n return request(endpoint);\n}\n\nconst createTokenAuth = function createTokenAuth(token) {\n if (!token) {\n throw new Error(\"[@octokit/auth-token] No token passed to createTokenAuth\");\n }\n\n if (typeof token !== \"string\") {\n throw new Error(\"[@octokit/auth-token] Token passed to createTokenAuth is not a string\");\n }\n\n token = token.replace(/^(token|bearer) +/i, \"\");\n return Object.assign(auth.bind(null, token), {\n hook: hook.bind(null, token)\n });\n};\n\nexports.createTokenAuth = createTokenAuth;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 6762:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nvar universalUserAgent = __nccwpck_require__(5030);\nvar beforeAfterHook = __nccwpck_require__(3682);\nvar request = __nccwpck_require__(6234);\nvar graphql = __nccwpck_require__(8467);\nvar authToken = __nccwpck_require__(334);\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nconst VERSION = \"3.6.0\";\n\nconst _excluded = [\"authStrategy\"];\nclass Octokit {\n constructor(options = {}) {\n const hook = new beforeAfterHook.Collection();\n const requestDefaults = {\n baseUrl: request.request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n // @ts-ignore internal usage only, no need to type\n hook: hook.bind(null, \"request\")\n }),\n mediaType: {\n previews: [],\n format: \"\"\n }\n }; // prepend default user agent with `options.userAgent` if set\n\n requestDefaults.headers[\"user-agent\"] = [options.userAgent, `octokit-core.js/${VERSION} ${universalUserAgent.getUserAgent()}`].filter(Boolean).join(\" \");\n\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n\n this.request = request.request.defaults(requestDefaults);\n this.graphql = graphql.withCustomRequest(this.request).defaults(requestDefaults);\n this.log = Object.assign({\n debug: () => {},\n info: () => {},\n warn: console.warn.bind(console),\n error: console.error.bind(console)\n }, options.log);\n this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance\n // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered.\n // (2) If only `options.auth` is set, use the default token authentication strategy.\n // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.\n // TODO: type `options.auth` based on `options.authStrategy`.\n\n if (!options.authStrategy) {\n if (!options.auth) {\n // (1)\n this.auth = async () => ({\n type: \"unauthenticated\"\n });\n } else {\n // (2)\n const auth = authToken.createTokenAuth(options.auth); // @ts-ignore ¯\\_(ツ)_/¯\n\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n } else {\n const {\n authStrategy\n } = options,\n otherOptions = _objectWithoutProperties(options, _excluded);\n\n const auth = authStrategy(Object.assign({\n request: this.request,\n log: this.log,\n // we pass the current octokit instance as well as its constructor options\n // to allow for authentication strategies that return a new octokit instance\n // that shares the same internal state as the current one. The original\n // requirement for this was the \"event-octokit\" authentication strategy\n // of https://github.com/probot/octokit-auth-probot.\n octokit: this,\n octokitOptions: otherOptions\n }, options.auth)); // @ts-ignore ¯\\_(ツ)_/¯\n\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n } // apply plugins\n // https://stackoverflow.com/a/16345172\n\n\n const classConstructor = this.constructor;\n classConstructor.plugins.forEach(plugin => {\n Object.assign(this, plugin(this, options));\n });\n }\n\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n\n if (typeof defaults === \"function\") {\n super(defaults(options));\n return;\n }\n\n super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`\n } : null));\n }\n\n };\n return OctokitWithDefaults;\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n\n\n static plugin(...newPlugins) {\n var _a;\n\n const currentPlugins = this.plugins;\n const NewOctokit = (_a = class extends this {}, _a.plugins = currentPlugins.concat(newPlugins.filter(plugin => !currentPlugins.includes(plugin))), _a);\n return NewOctokit;\n }\n\n}\nOctokit.VERSION = VERSION;\nOctokit.plugins = [];\n\nexports.Octokit = Octokit;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 9440:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nvar isPlainObject = __nccwpck_require__(3287);\nvar universalUserAgent = __nccwpck_require__(5030);\n\nfunction lowercaseKeys(object) {\n if (!object) {\n return {};\n }\n\n return Object.keys(object).reduce((newObj, key) => {\n newObj[key.toLowerCase()] = object[key];\n return newObj;\n }, {});\n}\n\nfunction mergeDeep(defaults, options) {\n const result = Object.assign({}, defaults);\n Object.keys(options).forEach(key => {\n if (isPlainObject.isPlainObject(options[key])) {\n if (!(key in defaults)) Object.assign(result, {\n [key]: options[key]\n });else result[key] = mergeDeep(defaults[key], options[key]);\n } else {\n Object.assign(result, {\n [key]: options[key]\n });\n }\n });\n return result;\n}\n\nfunction removeUndefinedProperties(obj) {\n for (const key in obj) {\n if (obj[key] === undefined) {\n delete obj[key];\n }\n }\n\n return obj;\n}\n\nfunction merge(defaults, route, options) {\n if (typeof route === \"string\") {\n let [method, url] = route.split(\" \");\n options = Object.assign(url ? {\n method,\n url\n } : {\n url: method\n }, options);\n } else {\n options = Object.assign({}, route);\n } // lowercase header names before merging with defaults to avoid duplicates\n\n\n options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging\n\n removeUndefinedProperties(options);\n removeUndefinedProperties(options.headers);\n const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten\n\n if (defaults && defaults.mediaType.previews.length) {\n mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews);\n }\n\n mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, \"\"));\n return mergedOptions;\n}\n\nfunction addQueryParameters(url, parameters) {\n const separator = /\\?/.test(url) ? \"&\" : \"?\";\n const names = Object.keys(parameters);\n\n if (names.length === 0) {\n return url;\n }\n\n return url + separator + names.map(name => {\n if (name === \"q\") {\n return \"q=\" + parameters.q.split(\"+\").map(encodeURIComponent).join(\"+\");\n }\n\n return `${name}=${encodeURIComponent(parameters[name])}`;\n }).join(\"&\");\n}\n\nconst urlVariableRegex = /\\{[^}]+\\}/g;\n\nfunction removeNonChars(variableName) {\n return variableName.replace(/^\\W+|\\W+$/g, \"\").split(/,/);\n}\n\nfunction extractUrlVariableNames(url) {\n const matches = url.match(urlVariableRegex);\n\n if (!matches) {\n return [];\n }\n\n return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);\n}\n\nfunction omit(object, keysToOmit) {\n return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => {\n obj[key] = object[key];\n return obj;\n }, {});\n}\n\n// Based on https://github.com/bramstein/url-template, licensed under BSD\n// TODO: create separate package.\n//\n// Copyright (c) 2012-2014, Bram Stein\n// All rights reserved.\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions\n// are met:\n// 1. Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// 2. Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// 3. The name of the author may not be used to endorse or promote products\n// derived from this software without specific prior written permission.\n// THIS SOFTWARE IS PROVIDED BY THE AUTHOR \"AS IS\" AND ANY EXPRESS OR IMPLIED\n// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n/* istanbul ignore file */\nfunction encodeReserved(str) {\n return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) {\n if (!/%[0-9A-Fa-f]/.test(part)) {\n part = encodeURI(part).replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n }\n\n return part;\n }).join(\"\");\n}\n\nfunction encodeUnreserved(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n\nfunction encodeValue(operator, value, key) {\n value = operator === \"+\" || operator === \"#\" ? encodeReserved(value) : encodeUnreserved(value);\n\n if (key) {\n return encodeUnreserved(key) + \"=\" + value;\n } else {\n return value;\n }\n}\n\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\n\nfunction isKeyOperator(operator) {\n return operator === \";\" || operator === \"&\" || operator === \"?\";\n}\n\nfunction getValues(context, operator, key, modifier) {\n var value = context[key],\n result = [];\n\n if (isDefined(value) && value !== \"\") {\n if (typeof value === \"string\" || typeof value === \"number\" || typeof value === \"boolean\") {\n value = value.toString();\n\n if (modifier && modifier !== \"*\") {\n value = value.substring(0, parseInt(modifier, 10));\n }\n\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n } else {\n if (modifier === \"*\") {\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n });\n } else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n result.push(encodeValue(operator, value[k], k));\n }\n });\n }\n } else {\n const tmp = [];\n\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n tmp.push(encodeValue(operator, value));\n });\n } else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n tmp.push(encodeUnreserved(k));\n tmp.push(encodeValue(operator, value[k].toString()));\n }\n });\n }\n\n if (isKeyOperator(operator)) {\n result.push(encodeUnreserved(key) + \"=\" + tmp.join(\",\"));\n } else if (tmp.length !== 0) {\n result.push(tmp.join(\",\"));\n }\n }\n }\n } else {\n if (operator === \";\") {\n if (isDefined(value)) {\n result.push(encodeUnreserved(key));\n }\n } else if (value === \"\" && (operator === \"&\" || operator === \"?\")) {\n result.push(encodeUnreserved(key) + \"=\");\n } else if (value === \"\") {\n result.push(\"\");\n }\n }\n\n return result;\n}\n\nfunction parseUrl(template) {\n return {\n expand: expand.bind(null, template)\n };\n}\n\nfunction expand(template, context) {\n var operators = [\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"];\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, function (_, expression, literal) {\n if (expression) {\n let operator = \"\";\n const values = [];\n\n if (operators.indexOf(expression.charAt(0)) !== -1) {\n operator = expression.charAt(0);\n expression = expression.substr(1);\n }\n\n expression.split(/,/g).forEach(function (variable) {\n var tmp = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(variable);\n values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));\n });\n\n if (operator && operator !== \"+\") {\n var separator = \",\";\n\n if (operator === \"?\") {\n separator = \"&\";\n } else if (operator !== \"#\") {\n separator = operator;\n }\n\n return (values.length !== 0 ? operator : \"\") + values.join(separator);\n } else {\n return values.join(\",\");\n }\n } else {\n return encodeReserved(literal);\n }\n });\n}\n\nfunction parse(options) {\n // https://fetch.spec.whatwg.org/#methods\n let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible\n\n let url = (options.url || \"/\").replace(/:([a-z]\\w+)/g, \"{$1}\");\n let headers = Object.assign({}, options.headers);\n let body;\n let parameters = omit(options, [\"method\", \"baseUrl\", \"url\", \"headers\", \"request\", \"mediaType\"]); // extract variable names from URL to calculate remaining variables later\n\n const urlVariableNames = extractUrlVariableNames(url);\n url = parseUrl(url).expand(parameters);\n\n if (!/^http/.test(url)) {\n url = options.baseUrl + url;\n }\n\n const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat(\"baseUrl\");\n const remainingParameters = omit(parameters, omittedParameters);\n const isBinaryRequest = /application\\/octet-stream/i.test(headers.accept);\n\n if (!isBinaryRequest) {\n if (options.mediaType.format) {\n // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw\n headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\\/vnd(\\.\\w+)(\\.v3)?(\\.\\w+)?(\\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(\",\");\n }\n\n if (options.mediaType.previews.length) {\n const previewsFromAcceptHeader = headers.accept.match(/[\\w-]+(?=-preview)/g) || [];\n headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => {\n const format = options.mediaType.format ? `.${options.mediaType.format}` : \"+json\";\n return `application/vnd.github.${preview}-preview${format}`;\n }).join(\",\");\n }\n } // for GET/HEAD requests, set URL query parameters from remaining parameters\n // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters\n\n\n if ([\"GET\", \"HEAD\"].includes(method)) {\n url = addQueryParameters(url, remainingParameters);\n } else {\n if (\"data\" in remainingParameters) {\n body = remainingParameters.data;\n } else {\n if (Object.keys(remainingParameters).length) {\n body = remainingParameters;\n } else {\n headers[\"content-length\"] = 0;\n }\n }\n } // default content-type for JSON if body is set\n\n\n if (!headers[\"content-type\"] && typeof body !== \"undefined\") {\n headers[\"content-type\"] = \"application/json; charset=utf-8\";\n } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.\n // fetch does not allow to set `content-length` header, but we can set body to an empty string\n\n\n if ([\"PATCH\", \"PUT\"].includes(method) && typeof body === \"undefined\") {\n body = \"\";\n } // Only return body/request keys if present\n\n\n return Object.assign({\n method,\n url,\n headers\n }, typeof body !== \"undefined\" ? {\n body\n } : null, options.request ? {\n request: options.request\n } : null);\n}\n\nfunction endpointWithDefaults(defaults, route, options) {\n return parse(merge(defaults, route, options));\n}\n\nfunction withDefaults(oldDefaults, newDefaults) {\n const DEFAULTS = merge(oldDefaults, newDefaults);\n const endpoint = endpointWithDefaults.bind(null, DEFAULTS);\n return Object.assign(endpoint, {\n DEFAULTS,\n defaults: withDefaults.bind(null, DEFAULTS),\n merge: merge.bind(null, DEFAULTS),\n parse\n });\n}\n\nconst VERSION = \"6.0.12\";\n\nconst userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url.\n// So we use RequestParameters and add method as additional required property.\n\nconst DEFAULTS = {\n method: \"GET\",\n baseUrl: \"https://api.github.com\",\n headers: {\n accept: \"application/vnd.github.v3+json\",\n \"user-agent\": userAgent\n },\n mediaType: {\n format: \"\",\n previews: []\n }\n};\n\nconst endpoint = withDefaults(null, DEFAULTS);\n\nexports.endpoint = endpoint;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 8467:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nvar request = __nccwpck_require__(6234);\nvar universalUserAgent = __nccwpck_require__(5030);\n\nconst VERSION = \"4.8.0\";\n\nfunction _buildMessageForResponseErrors(data) {\n return `Request failed due to following response errors:\\n` + data.errors.map(e => ` - ${e.message}`).join(\"\\n\");\n}\n\nclass GraphqlResponseError extends Error {\n constructor(request, headers, response) {\n super(_buildMessageForResponseErrors(response));\n this.request = request;\n this.headers = headers;\n this.response = response;\n this.name = \"GraphqlResponseError\"; // Expose the errors and response data in their shorthand properties.\n\n this.errors = response.errors;\n this.data = response.data; // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n\n}\n\nconst NON_VARIABLE_OPTIONS = [\"method\", \"baseUrl\", \"url\", \"headers\", \"request\", \"query\", \"mediaType\"];\nconst FORBIDDEN_VARIABLE_OPTIONS = [\"query\", \"method\", \"url\"];\nconst GHES_V3_SUFFIX_REGEX = /\\/api\\/v3\\/?$/;\nfunction graphql(request, query, options) {\n if (options) {\n if (typeof query === \"string\" && \"query\" in options) {\n return Promise.reject(new Error(`[@octokit/graphql] \"query\" cannot be used as variable name`));\n }\n\n for (const key in options) {\n if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue;\n return Promise.reject(new Error(`[@octokit/graphql] \"${key}\" cannot be used as variable name`));\n }\n }\n\n const parsedOptions = typeof query === \"string\" ? Object.assign({\n query\n }, options) : query;\n const requestOptions = Object.keys(parsedOptions).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = parsedOptions[key];\n return result;\n }\n\n if (!result.variables) {\n result.variables = {};\n }\n\n result.variables[key] = parsedOptions[key];\n return result;\n }, {}); // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix\n // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451\n\n const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl;\n\n if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {\n requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, \"/api/graphql\");\n }\n\n return request(requestOptions).then(response => {\n if (response.data.errors) {\n const headers = {};\n\n for (const key of Object.keys(response.headers)) {\n headers[key] = response.headers[key];\n }\n\n throw new GraphqlResponseError(requestOptions, headers, response.data);\n }\n\n return response.data.data;\n });\n}\n\nfunction withDefaults(request$1, newDefaults) {\n const newRequest = request$1.defaults(newDefaults);\n\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: request.request.endpoint\n });\n}\n\nconst graphql$1 = withDefaults(request.request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}`\n },\n method: \"POST\",\n url: \"/graphql\"\n});\nfunction withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\"\n });\n}\n\nexports.GraphqlResponseError = GraphqlResponseError;\nexports.graphql = graphql$1;\nexports.withCustomRequest = withCustomRequest;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 4193:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nconst VERSION = \"2.17.0\";\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\n/**\n * Some “list” response that can be paginated have a different response structure\n *\n * They have a `total_count` key in the response (search also has `incomplete_results`,\n * /installation/repositories also has `repository_selection`), as well as a key with\n * the list of the items which name varies from endpoint to endpoint.\n *\n * Octokit normalizes these responses so that paginated results are always returned following\n * the same structure. One challenge is that if the list response has only one page, no Link\n * header is provided, so this header alone is not sufficient to check wether a response is\n * paginated or not.\n *\n * We check if a \"total_count\" key is present in the response data, but also make sure that\n * a \"url\" property is not, as the \"Get the combined status for a specific ref\" endpoint would\n * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref\n */\nfunction normalizePaginatedListResponse(response) {\n // endpoints can respond with 204 if repository is empty\n if (!response.data) {\n return _objectSpread2(_objectSpread2({}, response), {}, {\n data: []\n });\n }\n\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization) return response; // keep the additional properties intact as there is currently no other way\n // to retrieve the same information.\n\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n\n response.data.total_count = totalCount;\n return response;\n}\n\nfunction iterator(octokit, route, parameters) {\n const options = typeof route === \"function\" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n async next() {\n if (!url) return {\n done: true\n };\n\n try {\n const response = await requestMethod({\n method,\n url,\n headers\n });\n const normalizedResponse = normalizePaginatedListResponse(response); // `response.headers.link` format:\n // '; rel=\"next\", ; rel=\"last\"'\n // sets `url` to undefined if \"next\" URL is not present or `link` header is not set\n\n url = ((normalizedResponse.headers.link || \"\").match(/<([^>]+)>;\\s*rel=\"next\"/) || [])[1];\n return {\n value: normalizedResponse\n };\n } catch (error) {\n if (error.status !== 409) throw error;\n url = \"\";\n return {\n value: {\n status: 200,\n headers: {},\n data: []\n }\n };\n }\n }\n\n })\n };\n}\n\nfunction paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = undefined;\n }\n\n return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);\n}\n\nfunction gather(octokit, results, iterator, mapFn) {\n return iterator.next().then(result => {\n if (result.done) {\n return results;\n }\n\n let earlyExit = false;\n\n function done() {\n earlyExit = true;\n }\n\n results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);\n\n if (earlyExit) {\n return results;\n }\n\n return gather(octokit, results, iterator, mapFn);\n });\n}\n\nconst composePaginateRest = Object.assign(paginate, {\n iterator\n});\n\nconst paginatingEndpoints = [\"GET /app/hook/deliveries\", \"GET /app/installations\", \"GET /applications/grants\", \"GET /authorizations\", \"GET /enterprises/{enterprise}/actions/permissions/organizations\", \"GET /enterprises/{enterprise}/actions/runner-groups\", \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations\", \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners\", \"GET /enterprises/{enterprise}/actions/runners\", \"GET /enterprises/{enterprise}/actions/runners/downloads\", \"GET /events\", \"GET /gists\", \"GET /gists/public\", \"GET /gists/starred\", \"GET /gists/{gist_id}/comments\", \"GET /gists/{gist_id}/commits\", \"GET /gists/{gist_id}/forks\", \"GET /installation/repositories\", \"GET /issues\", \"GET /marketplace_listing/plans\", \"GET /marketplace_listing/plans/{plan_id}/accounts\", \"GET /marketplace_listing/stubbed/plans\", \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\", \"GET /networks/{owner}/{repo}/events\", \"GET /notifications\", \"GET /organizations\", \"GET /orgs/{org}/actions/permissions/repositories\", \"GET /orgs/{org}/actions/runner-groups\", \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories\", \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners\", \"GET /orgs/{org}/actions/runners\", \"GET /orgs/{org}/actions/runners/downloads\", \"GET /orgs/{org}/actions/secrets\", \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\", \"GET /orgs/{org}/blocks\", \"GET /orgs/{org}/credential-authorizations\", \"GET /orgs/{org}/events\", \"GET /orgs/{org}/failed_invitations\", \"GET /orgs/{org}/hooks\", \"GET /orgs/{org}/hooks/{hook_id}/deliveries\", \"GET /orgs/{org}/installations\", \"GET /orgs/{org}/invitations\", \"GET /orgs/{org}/invitations/{invitation_id}/teams\", \"GET /orgs/{org}/issues\", \"GET /orgs/{org}/members\", \"GET /orgs/{org}/migrations\", \"GET /orgs/{org}/migrations/{migration_id}/repositories\", \"GET /orgs/{org}/outside_collaborators\", \"GET /orgs/{org}/packages\", \"GET /orgs/{org}/projects\", \"GET /orgs/{org}/public_members\", \"GET /orgs/{org}/repos\", \"GET /orgs/{org}/secret-scanning/alerts\", \"GET /orgs/{org}/team-sync/groups\", \"GET /orgs/{org}/teams\", \"GET /orgs/{org}/teams/{team_slug}/discussions\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\", \"GET /orgs/{org}/teams/{team_slug}/invitations\", \"GET /orgs/{org}/teams/{team_slug}/members\", \"GET /orgs/{org}/teams/{team_slug}/projects\", \"GET /orgs/{org}/teams/{team_slug}/repos\", \"GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings\", \"GET /orgs/{org}/teams/{team_slug}/teams\", \"GET /projects/columns/{column_id}/cards\", \"GET /projects/{project_id}/collaborators\", \"GET /projects/{project_id}/columns\", \"GET /repos/{owner}/{repo}/actions/artifacts\", \"GET /repos/{owner}/{repo}/actions/runners\", \"GET /repos/{owner}/{repo}/actions/runners/downloads\", \"GET /repos/{owner}/{repo}/actions/runs\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\", \"GET /repos/{owner}/{repo}/actions/secrets\", \"GET /repos/{owner}/{repo}/actions/workflows\", \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\", \"GET /repos/{owner}/{repo}/assignees\", \"GET /repos/{owner}/{repo}/autolinks\", \"GET /repos/{owner}/{repo}/branches\", \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\", \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\", \"GET /repos/{owner}/{repo}/code-scanning/alerts\", \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\", \"GET /repos/{owner}/{repo}/code-scanning/analyses\", \"GET /repos/{owner}/{repo}/collaborators\", \"GET /repos/{owner}/{repo}/comments\", \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/commits\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\", \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\", \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\", \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\", \"GET /repos/{owner}/{repo}/contributors\", \"GET /repos/{owner}/{repo}/deployments\", \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\", \"GET /repos/{owner}/{repo}/events\", \"GET /repos/{owner}/{repo}/forks\", \"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\", \"GET /repos/{owner}/{repo}/hooks\", \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\", \"GET /repos/{owner}/{repo}/invitations\", \"GET /repos/{owner}/{repo}/issues\", \"GET /repos/{owner}/{repo}/issues/comments\", \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/issues/events\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/events\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\", \"GET /repos/{owner}/{repo}/keys\", \"GET /repos/{owner}/{repo}/labels\", \"GET /repos/{owner}/{repo}/milestones\", \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\", \"GET /repos/{owner}/{repo}/notifications\", \"GET /repos/{owner}/{repo}/pages/builds\", \"GET /repos/{owner}/{repo}/projects\", \"GET /repos/{owner}/{repo}/pulls\", \"GET /repos/{owner}/{repo}/pulls/comments\", \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\", \"GET /repos/{owner}/{repo}/releases\", \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\", \"GET /repos/{owner}/{repo}/secret-scanning/alerts\", \"GET /repos/{owner}/{repo}/stargazers\", \"GET /repos/{owner}/{repo}/subscribers\", \"GET /repos/{owner}/{repo}/tags\", \"GET /repos/{owner}/{repo}/teams\", \"GET /repositories\", \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\", \"GET /scim/v2/enterprises/{enterprise}/Groups\", \"GET /scim/v2/enterprises/{enterprise}/Users\", \"GET /scim/v2/organizations/{org}/Users\", \"GET /search/code\", \"GET /search/commits\", \"GET /search/issues\", \"GET /search/labels\", \"GET /search/repositories\", \"GET /search/topics\", \"GET /search/users\", \"GET /teams/{team_id}/discussions\", \"GET /teams/{team_id}/discussions/{discussion_number}/comments\", \"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions\", \"GET /teams/{team_id}/discussions/{discussion_number}/reactions\", \"GET /teams/{team_id}/invitations\", \"GET /teams/{team_id}/members\", \"GET /teams/{team_id}/projects\", \"GET /teams/{team_id}/repos\", \"GET /teams/{team_id}/team-sync/group-mappings\", \"GET /teams/{team_id}/teams\", \"GET /user/blocks\", \"GET /user/emails\", \"GET /user/followers\", \"GET /user/following\", \"GET /user/gpg_keys\", \"GET /user/installations\", \"GET /user/installations/{installation_id}/repositories\", \"GET /user/issues\", \"GET /user/keys\", \"GET /user/marketplace_purchases\", \"GET /user/marketplace_purchases/stubbed\", \"GET /user/memberships/orgs\", \"GET /user/migrations\", \"GET /user/migrations/{migration_id}/repositories\", \"GET /user/orgs\", \"GET /user/packages\", \"GET /user/public_emails\", \"GET /user/repos\", \"GET /user/repository_invitations\", \"GET /user/starred\", \"GET /user/subscriptions\", \"GET /user/teams\", \"GET /users\", \"GET /users/{username}/events\", \"GET /users/{username}/events/orgs/{org}\", \"GET /users/{username}/events/public\", \"GET /users/{username}/followers\", \"GET /users/{username}/following\", \"GET /users/{username}/gists\", \"GET /users/{username}/gpg_keys\", \"GET /users/{username}/keys\", \"GET /users/{username}/orgs\", \"GET /users/{username}/packages\", \"GET /users/{username}/projects\", \"GET /users/{username}/received_events\", \"GET /users/{username}/received_events/public\", \"GET /users/{username}/repos\", \"GET /users/{username}/starred\", \"GET /users/{username}/subscriptions\"];\n\nfunction isPaginatingEndpoint(arg) {\n if (typeof arg === \"string\") {\n return paginatingEndpoints.includes(arg);\n } else {\n return false;\n }\n}\n\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\n\nfunction paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit)\n })\n };\n}\npaginateRest.VERSION = VERSION;\n\nexports.composePaginateRest = composePaginateRest;\nexports.isPaginatingEndpoint = isPaginatingEndpoint;\nexports.paginateRest = paginateRest;\nexports.paginatingEndpoints = paginatingEndpoints;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 8883:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nconst VERSION = \"1.0.4\";\n\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\n\nfunction requestLog(octokit) {\n octokit.hook.wrap(\"request\", (request, options) => {\n octokit.log.debug(\"request\", options);\n const start = Date.now();\n const requestOptions = octokit.request.endpoint.parse(options);\n const path = requestOptions.url.replace(options.baseUrl, \"\");\n return request(options).then(response => {\n octokit.log.info(`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`);\n return response;\n }).catch(error => {\n octokit.log.info(`${requestOptions.method} ${path} - ${error.status} in ${Date.now() - start}ms`);\n throw error;\n });\n });\n}\nrequestLog.VERSION = VERSION;\n\nexports.requestLog = requestLog;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 3044:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nconst Endpoints = {\n actions: {\n addSelectedRepoToOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\"],\n approveWorkflowRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve\"],\n cancelWorkflowRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel\"],\n createOrUpdateEnvironmentSecret: [\"PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n createRegistrationTokenForOrg: [\"POST /orgs/{org}/actions/runners/registration-token\"],\n createRegistrationTokenForRepo: [\"POST /repos/{owner}/{repo}/actions/runners/registration-token\"],\n createRemoveTokenForOrg: [\"POST /orgs/{org}/actions/runners/remove-token\"],\n createRemoveTokenForRepo: [\"POST /repos/{owner}/{repo}/actions/runners/remove-token\"],\n createWorkflowDispatch: [\"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches\"],\n deleteArtifact: [\"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n deleteEnvironmentSecret: [\"DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n deleteOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}\"],\n deleteRepoSecret: [\"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n deleteSelfHostedRunnerFromOrg: [\"DELETE /orgs/{org}/actions/runners/{runner_id}\"],\n deleteSelfHostedRunnerFromRepo: [\"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\"],\n deleteWorkflowRun: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n deleteWorkflowRunLogs: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs\"],\n disableSelectedRepositoryGithubActionsOrganization: [\"DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}\"],\n disableWorkflow: [\"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable\"],\n downloadArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}\"],\n downloadJobLogsForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\"],\n downloadWorkflowRunAttemptLogs: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs\"],\n downloadWorkflowRunLogs: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\"],\n enableSelectedRepositoryGithubActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/repositories/{repository_id}\"],\n enableWorkflow: [\"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable\"],\n getAllowedActionsOrganization: [\"GET /orgs/{org}/actions/permissions/selected-actions\"],\n getAllowedActionsRepository: [\"GET /repos/{owner}/{repo}/actions/permissions/selected-actions\"],\n getArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n getEnvironmentPublicKey: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key\"],\n getEnvironmentSecret: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n getGithubActionsPermissionsOrganization: [\"GET /orgs/{org}/actions/permissions\"],\n getGithubActionsPermissionsRepository: [\"GET /repos/{owner}/{repo}/actions/permissions\"],\n getJobForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/actions/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}\"],\n getPendingDeploymentsForRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\"],\n getRepoPermissions: [\"GET /repos/{owner}/{repo}/actions/permissions\", {}, {\n renamed: [\"actions\", \"getGithubActionsPermissionsRepository\"]\n }],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/actions/secrets/public-key\"],\n getRepoSecret: [\"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n getReviewsForRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals\"],\n getSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}\"],\n getSelfHostedRunnerForRepo: [\"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\"],\n getWorkflow: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}\"],\n getWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n getWorkflowRunAttempt: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}\"],\n getWorkflowRunUsage: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing\"],\n getWorkflowUsage: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing\"],\n listArtifactsForRepo: [\"GET /repos/{owner}/{repo}/actions/artifacts\"],\n listEnvironmentSecrets: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets\"],\n listJobsForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\"],\n listJobsForWorkflowRunAttempt: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs\"],\n listOrgSecrets: [\"GET /orgs/{org}/actions/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/actions/secrets\"],\n listRepoWorkflows: [\"GET /repos/{owner}/{repo}/actions/workflows\"],\n listRunnerApplicationsForOrg: [\"GET /orgs/{org}/actions/runners/downloads\"],\n listRunnerApplicationsForRepo: [\"GET /repos/{owner}/{repo}/actions/runners/downloads\"],\n listSelectedReposForOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\"],\n listSelectedRepositoriesEnabledGithubActionsOrganization: [\"GET /orgs/{org}/actions/permissions/repositories\"],\n listSelfHostedRunnersForOrg: [\"GET /orgs/{org}/actions/runners\"],\n listSelfHostedRunnersForRepo: [\"GET /repos/{owner}/{repo}/actions/runners\"],\n listWorkflowRunArtifacts: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\"],\n listWorkflowRuns: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\"],\n listWorkflowRunsForRepo: [\"GET /repos/{owner}/{repo}/actions/runs\"],\n removeSelectedRepoFromOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\"],\n reviewPendingDeploymentsForRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\"],\n setAllowedActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/selected-actions\"],\n setAllowedActionsRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions/selected-actions\"],\n setGithubActionsPermissionsOrganization: [\"PUT /orgs/{org}/actions/permissions\"],\n setGithubActionsPermissionsRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions\"],\n setSelectedReposForOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories\"],\n setSelectedRepositoriesEnabledGithubActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/repositories\"]\n },\n activity: {\n checkRepoIsStarredByAuthenticatedUser: [\"GET /user/starred/{owner}/{repo}\"],\n deleteRepoSubscription: [\"DELETE /repos/{owner}/{repo}/subscription\"],\n deleteThreadSubscription: [\"DELETE /notifications/threads/{thread_id}/subscription\"],\n getFeeds: [\"GET /feeds\"],\n getRepoSubscription: [\"GET /repos/{owner}/{repo}/subscription\"],\n getThread: [\"GET /notifications/threads/{thread_id}\"],\n getThreadSubscriptionForAuthenticatedUser: [\"GET /notifications/threads/{thread_id}/subscription\"],\n listEventsForAuthenticatedUser: [\"GET /users/{username}/events\"],\n listNotificationsForAuthenticatedUser: [\"GET /notifications\"],\n listOrgEventsForAuthenticatedUser: [\"GET /users/{username}/events/orgs/{org}\"],\n listPublicEvents: [\"GET /events\"],\n listPublicEventsForRepoNetwork: [\"GET /networks/{owner}/{repo}/events\"],\n listPublicEventsForUser: [\"GET /users/{username}/events/public\"],\n listPublicOrgEvents: [\"GET /orgs/{org}/events\"],\n listReceivedEventsForUser: [\"GET /users/{username}/received_events\"],\n listReceivedPublicEventsForUser: [\"GET /users/{username}/received_events/public\"],\n listRepoEvents: [\"GET /repos/{owner}/{repo}/events\"],\n listRepoNotificationsForAuthenticatedUser: [\"GET /repos/{owner}/{repo}/notifications\"],\n listReposStarredByAuthenticatedUser: [\"GET /user/starred\"],\n listReposStarredByUser: [\"GET /users/{username}/starred\"],\n listReposWatchedByUser: [\"GET /users/{username}/subscriptions\"],\n listStargazersForRepo: [\"GET /repos/{owner}/{repo}/stargazers\"],\n listWatchedReposForAuthenticatedUser: [\"GET /user/subscriptions\"],\n listWatchersForRepo: [\"GET /repos/{owner}/{repo}/subscribers\"],\n markNotificationsAsRead: [\"PUT /notifications\"],\n markRepoNotificationsAsRead: [\"PUT /repos/{owner}/{repo}/notifications\"],\n markThreadAsRead: [\"PATCH /notifications/threads/{thread_id}\"],\n setRepoSubscription: [\"PUT /repos/{owner}/{repo}/subscription\"],\n setThreadSubscription: [\"PUT /notifications/threads/{thread_id}/subscription\"],\n starRepoForAuthenticatedUser: [\"PUT /user/starred/{owner}/{repo}\"],\n unstarRepoForAuthenticatedUser: [\"DELETE /user/starred/{owner}/{repo}\"]\n },\n apps: {\n addRepoToInstallation: [\"PUT /user/installations/{installation_id}/repositories/{repository_id}\", {}, {\n renamed: [\"apps\", \"addRepoToInstallationForAuthenticatedUser\"]\n }],\n addRepoToInstallationForAuthenticatedUser: [\"PUT /user/installations/{installation_id}/repositories/{repository_id}\"],\n checkToken: [\"POST /applications/{client_id}/token\"],\n createContentAttachment: [\"POST /content_references/{content_reference_id}/attachments\", {\n mediaType: {\n previews: [\"corsair\"]\n }\n }],\n createContentAttachmentForRepo: [\"POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments\", {\n mediaType: {\n previews: [\"corsair\"]\n }\n }],\n createFromManifest: [\"POST /app-manifests/{code}/conversions\"],\n createInstallationAccessToken: [\"POST /app/installations/{installation_id}/access_tokens\"],\n deleteAuthorization: [\"DELETE /applications/{client_id}/grant\"],\n deleteInstallation: [\"DELETE /app/installations/{installation_id}\"],\n deleteToken: [\"DELETE /applications/{client_id}/token\"],\n getAuthenticated: [\"GET /app\"],\n getBySlug: [\"GET /apps/{app_slug}\"],\n getInstallation: [\"GET /app/installations/{installation_id}\"],\n getOrgInstallation: [\"GET /orgs/{org}/installation\"],\n getRepoInstallation: [\"GET /repos/{owner}/{repo}/installation\"],\n getSubscriptionPlanForAccount: [\"GET /marketplace_listing/accounts/{account_id}\"],\n getSubscriptionPlanForAccountStubbed: [\"GET /marketplace_listing/stubbed/accounts/{account_id}\"],\n getUserInstallation: [\"GET /users/{username}/installation\"],\n getWebhookConfigForApp: [\"GET /app/hook/config\"],\n getWebhookDelivery: [\"GET /app/hook/deliveries/{delivery_id}\"],\n listAccountsForPlan: [\"GET /marketplace_listing/plans/{plan_id}/accounts\"],\n listAccountsForPlanStubbed: [\"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\"],\n listInstallationReposForAuthenticatedUser: [\"GET /user/installations/{installation_id}/repositories\"],\n listInstallations: [\"GET /app/installations\"],\n listInstallationsForAuthenticatedUser: [\"GET /user/installations\"],\n listPlans: [\"GET /marketplace_listing/plans\"],\n listPlansStubbed: [\"GET /marketplace_listing/stubbed/plans\"],\n listReposAccessibleToInstallation: [\"GET /installation/repositories\"],\n listSubscriptionsForAuthenticatedUser: [\"GET /user/marketplace_purchases\"],\n listSubscriptionsForAuthenticatedUserStubbed: [\"GET /user/marketplace_purchases/stubbed\"],\n listWebhookDeliveries: [\"GET /app/hook/deliveries\"],\n redeliverWebhookDelivery: [\"POST /app/hook/deliveries/{delivery_id}/attempts\"],\n removeRepoFromInstallation: [\"DELETE /user/installations/{installation_id}/repositories/{repository_id}\", {}, {\n renamed: [\"apps\", \"removeRepoFromInstallationForAuthenticatedUser\"]\n }],\n removeRepoFromInstallationForAuthenticatedUser: [\"DELETE /user/installations/{installation_id}/repositories/{repository_id}\"],\n resetToken: [\"PATCH /applications/{client_id}/token\"],\n revokeInstallationAccessToken: [\"DELETE /installation/token\"],\n scopeToken: [\"POST /applications/{client_id}/token/scoped\"],\n suspendInstallation: [\"PUT /app/installations/{installation_id}/suspended\"],\n unsuspendInstallation: [\"DELETE /app/installations/{installation_id}/suspended\"],\n updateWebhookConfigForApp: [\"PATCH /app/hook/config\"]\n },\n billing: {\n getGithubActionsBillingOrg: [\"GET /orgs/{org}/settings/billing/actions\"],\n getGithubActionsBillingUser: [\"GET /users/{username}/settings/billing/actions\"],\n getGithubPackagesBillingOrg: [\"GET /orgs/{org}/settings/billing/packages\"],\n getGithubPackagesBillingUser: [\"GET /users/{username}/settings/billing/packages\"],\n getSharedStorageBillingOrg: [\"GET /orgs/{org}/settings/billing/shared-storage\"],\n getSharedStorageBillingUser: [\"GET /users/{username}/settings/billing/shared-storage\"]\n },\n checks: {\n create: [\"POST /repos/{owner}/{repo}/check-runs\"],\n createSuite: [\"POST /repos/{owner}/{repo}/check-suites\"],\n get: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}\"],\n getSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}\"],\n listAnnotations: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\"],\n listForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\"],\n listForSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\"],\n listSuitesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\"],\n rerequestRun: [\"POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest\"],\n rerequestSuite: [\"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest\"],\n setSuitesPreferences: [\"PATCH /repos/{owner}/{repo}/check-suites/preferences\"],\n update: [\"PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}\"]\n },\n codeScanning: {\n deleteAnalysis: [\"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}\"],\n getAlert: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\", {}, {\n renamedParameters: {\n alert_id: \"alert_number\"\n }\n }],\n getAnalysis: [\"GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}\"],\n getSarif: [\"GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}\"],\n listAlertInstances: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/code-scanning/alerts\"],\n listAlertsInstances: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\", {}, {\n renamed: [\"codeScanning\", \"listAlertInstances\"]\n }],\n listRecentAnalyses: [\"GET /repos/{owner}/{repo}/code-scanning/analyses\"],\n updateAlert: [\"PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\"],\n uploadSarif: [\"POST /repos/{owner}/{repo}/code-scanning/sarifs\"]\n },\n codesOfConduct: {\n getAllCodesOfConduct: [\"GET /codes_of_conduct\"],\n getConductCode: [\"GET /codes_of_conduct/{key}\"]\n },\n emojis: {\n get: [\"GET /emojis\"]\n },\n enterpriseAdmin: {\n disableSelectedOrganizationGithubActionsEnterprise: [\"DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\"],\n enableSelectedOrganizationGithubActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\"],\n getAllowedActionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions/selected-actions\"],\n getGithubActionsPermissionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions\"],\n listSelectedOrganizationsEnabledGithubActionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions/organizations\"],\n setAllowedActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/selected-actions\"],\n setGithubActionsPermissionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions\"],\n setSelectedOrganizationsEnabledGithubActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/organizations\"]\n },\n gists: {\n checkIsStarred: [\"GET /gists/{gist_id}/star\"],\n create: [\"POST /gists\"],\n createComment: [\"POST /gists/{gist_id}/comments\"],\n delete: [\"DELETE /gists/{gist_id}\"],\n deleteComment: [\"DELETE /gists/{gist_id}/comments/{comment_id}\"],\n fork: [\"POST /gists/{gist_id}/forks\"],\n get: [\"GET /gists/{gist_id}\"],\n getComment: [\"GET /gists/{gist_id}/comments/{comment_id}\"],\n getRevision: [\"GET /gists/{gist_id}/{sha}\"],\n list: [\"GET /gists\"],\n listComments: [\"GET /gists/{gist_id}/comments\"],\n listCommits: [\"GET /gists/{gist_id}/commits\"],\n listForUser: [\"GET /users/{username}/gists\"],\n listForks: [\"GET /gists/{gist_id}/forks\"],\n listPublic: [\"GET /gists/public\"],\n listStarred: [\"GET /gists/starred\"],\n star: [\"PUT /gists/{gist_id}/star\"],\n unstar: [\"DELETE /gists/{gist_id}/star\"],\n update: [\"PATCH /gists/{gist_id}\"],\n updateComment: [\"PATCH /gists/{gist_id}/comments/{comment_id}\"]\n },\n git: {\n createBlob: [\"POST /repos/{owner}/{repo}/git/blobs\"],\n createCommit: [\"POST /repos/{owner}/{repo}/git/commits\"],\n createRef: [\"POST /repos/{owner}/{repo}/git/refs\"],\n createTag: [\"POST /repos/{owner}/{repo}/git/tags\"],\n createTree: [\"POST /repos/{owner}/{repo}/git/trees\"],\n deleteRef: [\"DELETE /repos/{owner}/{repo}/git/refs/{ref}\"],\n getBlob: [\"GET /repos/{owner}/{repo}/git/blobs/{file_sha}\"],\n getCommit: [\"GET /repos/{owner}/{repo}/git/commits/{commit_sha}\"],\n getRef: [\"GET /repos/{owner}/{repo}/git/ref/{ref}\"],\n getTag: [\"GET /repos/{owner}/{repo}/git/tags/{tag_sha}\"],\n getTree: [\"GET /repos/{owner}/{repo}/git/trees/{tree_sha}\"],\n listMatchingRefs: [\"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\"],\n updateRef: [\"PATCH /repos/{owner}/{repo}/git/refs/{ref}\"]\n },\n gitignore: {\n getAllTemplates: [\"GET /gitignore/templates\"],\n getTemplate: [\"GET /gitignore/templates/{name}\"]\n },\n interactions: {\n getRestrictionsForAuthenticatedUser: [\"GET /user/interaction-limits\"],\n getRestrictionsForOrg: [\"GET /orgs/{org}/interaction-limits\"],\n getRestrictionsForRepo: [\"GET /repos/{owner}/{repo}/interaction-limits\"],\n getRestrictionsForYourPublicRepos: [\"GET /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"getRestrictionsForAuthenticatedUser\"]\n }],\n removeRestrictionsForAuthenticatedUser: [\"DELETE /user/interaction-limits\"],\n removeRestrictionsForOrg: [\"DELETE /orgs/{org}/interaction-limits\"],\n removeRestrictionsForRepo: [\"DELETE /repos/{owner}/{repo}/interaction-limits\"],\n removeRestrictionsForYourPublicRepos: [\"DELETE /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"removeRestrictionsForAuthenticatedUser\"]\n }],\n setRestrictionsForAuthenticatedUser: [\"PUT /user/interaction-limits\"],\n setRestrictionsForOrg: [\"PUT /orgs/{org}/interaction-limits\"],\n setRestrictionsForRepo: [\"PUT /repos/{owner}/{repo}/interaction-limits\"],\n setRestrictionsForYourPublicRepos: [\"PUT /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"setRestrictionsForAuthenticatedUser\"]\n }]\n },\n issues: {\n addAssignees: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees\"],\n addLabels: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n checkUserCanBeAssigned: [\"GET /repos/{owner}/{repo}/assignees/{assignee}\"],\n create: [\"POST /repos/{owner}/{repo}/issues\"],\n createComment: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n createLabel: [\"POST /repos/{owner}/{repo}/labels\"],\n createMilestone: [\"POST /repos/{owner}/{repo}/milestones\"],\n deleteComment: [\"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n deleteLabel: [\"DELETE /repos/{owner}/{repo}/labels/{name}\"],\n deleteMilestone: [\"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n get: [\"GET /repos/{owner}/{repo}/issues/{issue_number}\"],\n getComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n getEvent: [\"GET /repos/{owner}/{repo}/issues/events/{event_id}\"],\n getLabel: [\"GET /repos/{owner}/{repo}/labels/{name}\"],\n getMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n list: [\"GET /issues\"],\n listAssignees: [\"GET /repos/{owner}/{repo}/assignees\"],\n listComments: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n listCommentsForRepo: [\"GET /repos/{owner}/{repo}/issues/comments\"],\n listEvents: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/events\"],\n listEventsForRepo: [\"GET /repos/{owner}/{repo}/issues/events\"],\n listEventsForTimeline: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\"],\n listForAuthenticatedUser: [\"GET /user/issues\"],\n listForOrg: [\"GET /orgs/{org}/issues\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/issues\"],\n listLabelsForMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\"],\n listLabelsForRepo: [\"GET /repos/{owner}/{repo}/labels\"],\n listLabelsOnIssue: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n listMilestones: [\"GET /repos/{owner}/{repo}/milestones\"],\n lock: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n removeAllLabels: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n removeAssignees: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees\"],\n removeLabel: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}\"],\n setLabels: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n unlock: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n update: [\"PATCH /repos/{owner}/{repo}/issues/{issue_number}\"],\n updateComment: [\"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n updateLabel: [\"PATCH /repos/{owner}/{repo}/labels/{name}\"],\n updateMilestone: [\"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}\"]\n },\n licenses: {\n get: [\"GET /licenses/{license}\"],\n getAllCommonlyUsed: [\"GET /licenses\"],\n getForRepo: [\"GET /repos/{owner}/{repo}/license\"]\n },\n markdown: {\n render: [\"POST /markdown\"],\n renderRaw: [\"POST /markdown/raw\", {\n headers: {\n \"content-type\": \"text/plain; charset=utf-8\"\n }\n }]\n },\n meta: {\n get: [\"GET /meta\"],\n getOctocat: [\"GET /octocat\"],\n getZen: [\"GET /zen\"],\n root: [\"GET /\"]\n },\n migrations: {\n cancelImport: [\"DELETE /repos/{owner}/{repo}/import\"],\n deleteArchiveForAuthenticatedUser: [\"DELETE /user/migrations/{migration_id}/archive\"],\n deleteArchiveForOrg: [\"DELETE /orgs/{org}/migrations/{migration_id}/archive\"],\n downloadArchiveForOrg: [\"GET /orgs/{org}/migrations/{migration_id}/archive\"],\n getArchiveForAuthenticatedUser: [\"GET /user/migrations/{migration_id}/archive\"],\n getCommitAuthors: [\"GET /repos/{owner}/{repo}/import/authors\"],\n getImportStatus: [\"GET /repos/{owner}/{repo}/import\"],\n getLargeFiles: [\"GET /repos/{owner}/{repo}/import/large_files\"],\n getStatusForAuthenticatedUser: [\"GET /user/migrations/{migration_id}\"],\n getStatusForOrg: [\"GET /orgs/{org}/migrations/{migration_id}\"],\n listForAuthenticatedUser: [\"GET /user/migrations\"],\n listForOrg: [\"GET /orgs/{org}/migrations\"],\n listReposForAuthenticatedUser: [\"GET /user/migrations/{migration_id}/repositories\"],\n listReposForOrg: [\"GET /orgs/{org}/migrations/{migration_id}/repositories\"],\n listReposForUser: [\"GET /user/migrations/{migration_id}/repositories\", {}, {\n renamed: [\"migrations\", \"listReposForAuthenticatedUser\"]\n }],\n mapCommitAuthor: [\"PATCH /repos/{owner}/{repo}/import/authors/{author_id}\"],\n setLfsPreference: [\"PATCH /repos/{owner}/{repo}/import/lfs\"],\n startForAuthenticatedUser: [\"POST /user/migrations\"],\n startForOrg: [\"POST /orgs/{org}/migrations\"],\n startImport: [\"PUT /repos/{owner}/{repo}/import\"],\n unlockRepoForAuthenticatedUser: [\"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock\"],\n unlockRepoForOrg: [\"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock\"],\n updateImport: [\"PATCH /repos/{owner}/{repo}/import\"]\n },\n orgs: {\n blockUser: [\"PUT /orgs/{org}/blocks/{username}\"],\n cancelInvitation: [\"DELETE /orgs/{org}/invitations/{invitation_id}\"],\n checkBlockedUser: [\"GET /orgs/{org}/blocks/{username}\"],\n checkMembershipForUser: [\"GET /orgs/{org}/members/{username}\"],\n checkPublicMembershipForUser: [\"GET /orgs/{org}/public_members/{username}\"],\n convertMemberToOutsideCollaborator: [\"PUT /orgs/{org}/outside_collaborators/{username}\"],\n createInvitation: [\"POST /orgs/{org}/invitations\"],\n createWebhook: [\"POST /orgs/{org}/hooks\"],\n deleteWebhook: [\"DELETE /orgs/{org}/hooks/{hook_id}\"],\n get: [\"GET /orgs/{org}\"],\n getMembershipForAuthenticatedUser: [\"GET /user/memberships/orgs/{org}\"],\n getMembershipForUser: [\"GET /orgs/{org}/memberships/{username}\"],\n getWebhook: [\"GET /orgs/{org}/hooks/{hook_id}\"],\n getWebhookConfigForOrg: [\"GET /orgs/{org}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}\"],\n list: [\"GET /organizations\"],\n listAppInstallations: [\"GET /orgs/{org}/installations\"],\n listBlockedUsers: [\"GET /orgs/{org}/blocks\"],\n listFailedInvitations: [\"GET /orgs/{org}/failed_invitations\"],\n listForAuthenticatedUser: [\"GET /user/orgs\"],\n listForUser: [\"GET /users/{username}/orgs\"],\n listInvitationTeams: [\"GET /orgs/{org}/invitations/{invitation_id}/teams\"],\n listMembers: [\"GET /orgs/{org}/members\"],\n listMembershipsForAuthenticatedUser: [\"GET /user/memberships/orgs\"],\n listOutsideCollaborators: [\"GET /orgs/{org}/outside_collaborators\"],\n listPendingInvitations: [\"GET /orgs/{org}/invitations\"],\n listPublicMembers: [\"GET /orgs/{org}/public_members\"],\n listWebhookDeliveries: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /orgs/{org}/hooks\"],\n pingWebhook: [\"POST /orgs/{org}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\"],\n removeMember: [\"DELETE /orgs/{org}/members/{username}\"],\n removeMembershipForUser: [\"DELETE /orgs/{org}/memberships/{username}\"],\n removeOutsideCollaborator: [\"DELETE /orgs/{org}/outside_collaborators/{username}\"],\n removePublicMembershipForAuthenticatedUser: [\"DELETE /orgs/{org}/public_members/{username}\"],\n setMembershipForUser: [\"PUT /orgs/{org}/memberships/{username}\"],\n setPublicMembershipForAuthenticatedUser: [\"PUT /orgs/{org}/public_members/{username}\"],\n unblockUser: [\"DELETE /orgs/{org}/blocks/{username}\"],\n update: [\"PATCH /orgs/{org}\"],\n updateMembershipForAuthenticatedUser: [\"PATCH /user/memberships/orgs/{org}\"],\n updateWebhook: [\"PATCH /orgs/{org}/hooks/{hook_id}\"],\n updateWebhookConfigForOrg: [\"PATCH /orgs/{org}/hooks/{hook_id}/config\"]\n },\n packages: {\n deletePackageForAuthenticatedUser: [\"DELETE /user/packages/{package_type}/{package_name}\"],\n deletePackageForOrg: [\"DELETE /orgs/{org}/packages/{package_type}/{package_name}\"],\n deletePackageForUser: [\"DELETE /users/{username}/packages/{package_type}/{package_name}\"],\n deletePackageVersionForAuthenticatedUser: [\"DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n deletePackageVersionForOrg: [\"DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n deletePackageVersionForUser: [\"DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getAllPackageVersionsForAPackageOwnedByAnOrg: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\", {}, {\n renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByOrg\"]\n }],\n getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions\", {}, {\n renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByAuthenticatedUser\"]\n }],\n getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions\"],\n getAllPackageVersionsForPackageOwnedByOrg: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\"],\n getAllPackageVersionsForPackageOwnedByUser: [\"GET /users/{username}/packages/{package_type}/{package_name}/versions\"],\n getPackageForAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}\"],\n getPackageForOrganization: [\"GET /orgs/{org}/packages/{package_type}/{package_name}\"],\n getPackageForUser: [\"GET /users/{username}/packages/{package_type}/{package_name}\"],\n getPackageVersionForAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getPackageVersionForOrganization: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getPackageVersionForUser: [\"GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n listPackagesForAuthenticatedUser: [\"GET /user/packages\"],\n listPackagesForOrganization: [\"GET /orgs/{org}/packages\"],\n listPackagesForUser: [\"GET /users/{username}/packages\"],\n restorePackageForAuthenticatedUser: [\"POST /user/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageForOrg: [\"POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageForUser: [\"POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageVersionForAuthenticatedUser: [\"POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"],\n restorePackageVersionForOrg: [\"POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"],\n restorePackageVersionForUser: [\"POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"]\n },\n projects: {\n addCollaborator: [\"PUT /projects/{project_id}/collaborators/{username}\"],\n createCard: [\"POST /projects/columns/{column_id}/cards\"],\n createColumn: [\"POST /projects/{project_id}/columns\"],\n createForAuthenticatedUser: [\"POST /user/projects\"],\n createForOrg: [\"POST /orgs/{org}/projects\"],\n createForRepo: [\"POST /repos/{owner}/{repo}/projects\"],\n delete: [\"DELETE /projects/{project_id}\"],\n deleteCard: [\"DELETE /projects/columns/cards/{card_id}\"],\n deleteColumn: [\"DELETE /projects/columns/{column_id}\"],\n get: [\"GET /projects/{project_id}\"],\n getCard: [\"GET /projects/columns/cards/{card_id}\"],\n getColumn: [\"GET /projects/columns/{column_id}\"],\n getPermissionForUser: [\"GET /projects/{project_id}/collaborators/{username}/permission\"],\n listCards: [\"GET /projects/columns/{column_id}/cards\"],\n listCollaborators: [\"GET /projects/{project_id}/collaborators\"],\n listColumns: [\"GET /projects/{project_id}/columns\"],\n listForOrg: [\"GET /orgs/{org}/projects\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/projects\"],\n listForUser: [\"GET /users/{username}/projects\"],\n moveCard: [\"POST /projects/columns/cards/{card_id}/moves\"],\n moveColumn: [\"POST /projects/columns/{column_id}/moves\"],\n removeCollaborator: [\"DELETE /projects/{project_id}/collaborators/{username}\"],\n update: [\"PATCH /projects/{project_id}\"],\n updateCard: [\"PATCH /projects/columns/cards/{card_id}\"],\n updateColumn: [\"PATCH /projects/columns/{column_id}\"]\n },\n pulls: {\n checkIfMerged: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n create: [\"POST /repos/{owner}/{repo}/pulls\"],\n createReplyForReviewComment: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\"],\n createReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n createReviewComment: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\"],\n deletePendingReview: [\"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n deleteReviewComment: [\"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n dismissReview: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals\"],\n get: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}\"],\n getReview: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n getReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n list: [\"GET /repos/{owner}/{repo}/pulls\"],\n listCommentsForReview: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\"],\n listCommits: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\"],\n listFiles: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\"],\n listRequestedReviewers: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n listReviewComments: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\"],\n listReviewCommentsForRepo: [\"GET /repos/{owner}/{repo}/pulls/comments\"],\n listReviews: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n merge: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n removeRequestedReviewers: [\"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n requestReviewers: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n submitReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events\"],\n update: [\"PATCH /repos/{owner}/{repo}/pulls/{pull_number}\"],\n updateBranch: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch\"],\n updateReview: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n updateReviewComment: [\"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\"]\n },\n rateLimit: {\n get: [\"GET /rate_limit\"]\n },\n reactions: {\n createForCommitComment: [\"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions\"],\n createForIssue: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions\"],\n createForIssueComment: [\"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\"],\n createForPullRequestReviewComment: [\"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\"],\n createForRelease: [\"POST /repos/{owner}/{repo}/releases/{release_id}/reactions\"],\n createForTeamDiscussionCommentInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\"],\n createForTeamDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\"],\n deleteForCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}\"],\n deleteForIssue: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}\"],\n deleteForIssueComment: [\"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}\"],\n deleteForPullRequestComment: [\"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}\"],\n deleteForTeamDiscussion: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}\"],\n deleteForTeamDiscussionComment: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}\"],\n listForCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\"],\n listForIssue: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\"],\n listForIssueComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\"],\n listForPullRequestReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\"],\n listForTeamDiscussionCommentInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\"],\n listForTeamDiscussionInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\"]\n },\n repos: {\n acceptInvitation: [\"PATCH /user/repository_invitations/{invitation_id}\", {}, {\n renamed: [\"repos\", \"acceptInvitationForAuthenticatedUser\"]\n }],\n acceptInvitationForAuthenticatedUser: [\"PATCH /user/repository_invitations/{invitation_id}\"],\n addAppAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n addCollaborator: [\"PUT /repos/{owner}/{repo}/collaborators/{username}\"],\n addStatusCheckContexts: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n addTeamAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n addUserAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n checkCollaborator: [\"GET /repos/{owner}/{repo}/collaborators/{username}\"],\n checkVulnerabilityAlerts: [\"GET /repos/{owner}/{repo}/vulnerability-alerts\"],\n compareCommits: [\"GET /repos/{owner}/{repo}/compare/{base}...{head}\"],\n compareCommitsWithBasehead: [\"GET /repos/{owner}/{repo}/compare/{basehead}\"],\n createAutolink: [\"POST /repos/{owner}/{repo}/autolinks\"],\n createCommitComment: [\"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments\"],\n createCommitSignatureProtection: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"],\n createCommitStatus: [\"POST /repos/{owner}/{repo}/statuses/{sha}\"],\n createDeployKey: [\"POST /repos/{owner}/{repo}/keys\"],\n createDeployment: [\"POST /repos/{owner}/{repo}/deployments\"],\n createDeploymentStatus: [\"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\"],\n createDispatchEvent: [\"POST /repos/{owner}/{repo}/dispatches\"],\n createForAuthenticatedUser: [\"POST /user/repos\"],\n createFork: [\"POST /repos/{owner}/{repo}/forks\"],\n createInOrg: [\"POST /orgs/{org}/repos\"],\n createOrUpdateEnvironment: [\"PUT /repos/{owner}/{repo}/environments/{environment_name}\"],\n createOrUpdateFileContents: [\"PUT /repos/{owner}/{repo}/contents/{path}\"],\n createPagesSite: [\"POST /repos/{owner}/{repo}/pages\"],\n createRelease: [\"POST /repos/{owner}/{repo}/releases\"],\n createUsingTemplate: [\"POST /repos/{template_owner}/{template_repo}/generate\"],\n createWebhook: [\"POST /repos/{owner}/{repo}/hooks\"],\n declineInvitation: [\"DELETE /user/repository_invitations/{invitation_id}\", {}, {\n renamed: [\"repos\", \"declineInvitationForAuthenticatedUser\"]\n }],\n declineInvitationForAuthenticatedUser: [\"DELETE /user/repository_invitations/{invitation_id}\"],\n delete: [\"DELETE /repos/{owner}/{repo}\"],\n deleteAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\"],\n deleteAdminBranchProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n deleteAnEnvironment: [\"DELETE /repos/{owner}/{repo}/environments/{environment_name}\"],\n deleteAutolink: [\"DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}\"],\n deleteBranchProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\"],\n deleteCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}\"],\n deleteCommitSignatureProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"],\n deleteDeployKey: [\"DELETE /repos/{owner}/{repo}/keys/{key_id}\"],\n deleteDeployment: [\"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n deleteFile: [\"DELETE /repos/{owner}/{repo}/contents/{path}\"],\n deleteInvitation: [\"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}\"],\n deletePagesSite: [\"DELETE /repos/{owner}/{repo}/pages\"],\n deletePullRequestReviewProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n deleteRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}\"],\n deleteReleaseAsset: [\"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n deleteWebhook: [\"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\"],\n disableAutomatedSecurityFixes: [\"DELETE /repos/{owner}/{repo}/automated-security-fixes\"],\n disableLfsForRepo: [\"DELETE /repos/{owner}/{repo}/lfs\"],\n disableVulnerabilityAlerts: [\"DELETE /repos/{owner}/{repo}/vulnerability-alerts\"],\n downloadArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\", {}, {\n renamed: [\"repos\", \"downloadZipballArchive\"]\n }],\n downloadTarballArchive: [\"GET /repos/{owner}/{repo}/tarball/{ref}\"],\n downloadZipballArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\"],\n enableAutomatedSecurityFixes: [\"PUT /repos/{owner}/{repo}/automated-security-fixes\"],\n enableLfsForRepo: [\"PUT /repos/{owner}/{repo}/lfs\"],\n enableVulnerabilityAlerts: [\"PUT /repos/{owner}/{repo}/vulnerability-alerts\"],\n generateReleaseNotes: [\"POST /repos/{owner}/{repo}/releases/generate-notes\"],\n get: [\"GET /repos/{owner}/{repo}\"],\n getAccessRestrictions: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\"],\n getAdminBranchProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n getAllEnvironments: [\"GET /repos/{owner}/{repo}/environments\"],\n getAllStatusCheckContexts: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\"],\n getAllTopics: [\"GET /repos/{owner}/{repo}/topics\", {\n mediaType: {\n previews: [\"mercy\"]\n }\n }],\n getAppsWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\"],\n getAutolink: [\"GET /repos/{owner}/{repo}/autolinks/{autolink_id}\"],\n getBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}\"],\n getBranchProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection\"],\n getClones: [\"GET /repos/{owner}/{repo}/traffic/clones\"],\n getCodeFrequencyStats: [\"GET /repos/{owner}/{repo}/stats/code_frequency\"],\n getCollaboratorPermissionLevel: [\"GET /repos/{owner}/{repo}/collaborators/{username}/permission\"],\n getCombinedStatusForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/status\"],\n getCommit: [\"GET /repos/{owner}/{repo}/commits/{ref}\"],\n getCommitActivityStats: [\"GET /repos/{owner}/{repo}/stats/commit_activity\"],\n getCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}\"],\n getCommitSignatureProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"],\n getCommunityProfileMetrics: [\"GET /repos/{owner}/{repo}/community/profile\"],\n getContent: [\"GET /repos/{owner}/{repo}/contents/{path}\"],\n getContributorsStats: [\"GET /repos/{owner}/{repo}/stats/contributors\"],\n getDeployKey: [\"GET /repos/{owner}/{repo}/keys/{key_id}\"],\n getDeployment: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n getDeploymentStatus: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}\"],\n getEnvironment: [\"GET /repos/{owner}/{repo}/environments/{environment_name}\"],\n getLatestPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/latest\"],\n getLatestRelease: [\"GET /repos/{owner}/{repo}/releases/latest\"],\n getPages: [\"GET /repos/{owner}/{repo}/pages\"],\n getPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/{build_id}\"],\n getPagesHealthCheck: [\"GET /repos/{owner}/{repo}/pages/health\"],\n getParticipationStats: [\"GET /repos/{owner}/{repo}/stats/participation\"],\n getPullRequestReviewProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n getPunchCardStats: [\"GET /repos/{owner}/{repo}/stats/punch_card\"],\n getReadme: [\"GET /repos/{owner}/{repo}/readme\"],\n getReadmeInDirectory: [\"GET /repos/{owner}/{repo}/readme/{dir}\"],\n getRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}\"],\n getReleaseAsset: [\"GET /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n getReleaseByTag: [\"GET /repos/{owner}/{repo}/releases/tags/{tag}\"],\n getStatusChecksProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n getTeamsWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\"],\n getTopPaths: [\"GET /repos/{owner}/{repo}/traffic/popular/paths\"],\n getTopReferrers: [\"GET /repos/{owner}/{repo}/traffic/popular/referrers\"],\n getUsersWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\"],\n getViews: [\"GET /repos/{owner}/{repo}/traffic/views\"],\n getWebhook: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}\"],\n getWebhookConfigForRepo: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}\"],\n listAutolinks: [\"GET /repos/{owner}/{repo}/autolinks\"],\n listBranches: [\"GET /repos/{owner}/{repo}/branches\"],\n listBranchesForHeadCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\"],\n listCollaborators: [\"GET /repos/{owner}/{repo}/collaborators\"],\n listCommentsForCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\"],\n listCommitCommentsForRepo: [\"GET /repos/{owner}/{repo}/comments\"],\n listCommitStatusesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/statuses\"],\n listCommits: [\"GET /repos/{owner}/{repo}/commits\"],\n listContributors: [\"GET /repos/{owner}/{repo}/contributors\"],\n listDeployKeys: [\"GET /repos/{owner}/{repo}/keys\"],\n listDeploymentStatuses: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\"],\n listDeployments: [\"GET /repos/{owner}/{repo}/deployments\"],\n listForAuthenticatedUser: [\"GET /user/repos\"],\n listForOrg: [\"GET /orgs/{org}/repos\"],\n listForUser: [\"GET /users/{username}/repos\"],\n listForks: [\"GET /repos/{owner}/{repo}/forks\"],\n listInvitations: [\"GET /repos/{owner}/{repo}/invitations\"],\n listInvitationsForAuthenticatedUser: [\"GET /user/repository_invitations\"],\n listLanguages: [\"GET /repos/{owner}/{repo}/languages\"],\n listPagesBuilds: [\"GET /repos/{owner}/{repo}/pages/builds\"],\n listPublic: [\"GET /repositories\"],\n listPullRequestsAssociatedWithCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\"],\n listReleaseAssets: [\"GET /repos/{owner}/{repo}/releases/{release_id}/assets\"],\n listReleases: [\"GET /repos/{owner}/{repo}/releases\"],\n listTags: [\"GET /repos/{owner}/{repo}/tags\"],\n listTeams: [\"GET /repos/{owner}/{repo}/teams\"],\n listWebhookDeliveries: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /repos/{owner}/{repo}/hooks\"],\n merge: [\"POST /repos/{owner}/{repo}/merges\"],\n mergeUpstream: [\"POST /repos/{owner}/{repo}/merge-upstream\"],\n pingWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\"],\n removeAppAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n removeCollaborator: [\"DELETE /repos/{owner}/{repo}/collaborators/{username}\"],\n removeStatusCheckContexts: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n removeStatusCheckProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n removeTeamAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n removeUserAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n renameBranch: [\"POST /repos/{owner}/{repo}/branches/{branch}/rename\"],\n replaceAllTopics: [\"PUT /repos/{owner}/{repo}/topics\", {\n mediaType: {\n previews: [\"mercy\"]\n }\n }],\n requestPagesBuild: [\"POST /repos/{owner}/{repo}/pages/builds\"],\n setAdminBranchProtection: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n setAppAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n setStatusCheckContexts: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n setTeamAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n setUserAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n testPushWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\"],\n transfer: [\"POST /repos/{owner}/{repo}/transfer\"],\n update: [\"PATCH /repos/{owner}/{repo}\"],\n updateBranchProtection: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection\"],\n updateCommitComment: [\"PATCH /repos/{owner}/{repo}/comments/{comment_id}\"],\n updateInformationAboutPagesSite: [\"PUT /repos/{owner}/{repo}/pages\"],\n updateInvitation: [\"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}\"],\n updatePullRequestReviewProtection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n updateRelease: [\"PATCH /repos/{owner}/{repo}/releases/{release_id}\"],\n updateReleaseAsset: [\"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n updateStatusCheckPotection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\", {}, {\n renamed: [\"repos\", \"updateStatusCheckProtection\"]\n }],\n updateStatusCheckProtection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n updateWebhook: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\"],\n updateWebhookConfigForRepo: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config\"],\n uploadReleaseAsset: [\"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}\", {\n baseUrl: \"https://uploads.github.com\"\n }]\n },\n search: {\n code: [\"GET /search/code\"],\n commits: [\"GET /search/commits\"],\n issuesAndPullRequests: [\"GET /search/issues\"],\n labels: [\"GET /search/labels\"],\n repos: [\"GET /search/repositories\"],\n topics: [\"GET /search/topics\", {\n mediaType: {\n previews: [\"mercy\"]\n }\n }],\n users: [\"GET /search/users\"]\n },\n secretScanning: {\n getAlert: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\"],\n listAlertsForOrg: [\"GET /orgs/{org}/secret-scanning/alerts\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts\"],\n updateAlert: [\"PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\"]\n },\n teams: {\n addOrUpdateMembershipForUserInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n addOrUpdateProjectPermissionsInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n addOrUpdateRepoPermissionsInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n checkPermissionsForProjectInOrg: [\"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n checkPermissionsForRepoInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n create: [\"POST /orgs/{org}/teams\"],\n createDiscussionCommentInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\"],\n createDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions\"],\n deleteDiscussionCommentInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n deleteDiscussionInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n deleteInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}\"],\n getByName: [\"GET /orgs/{org}/teams/{team_slug}\"],\n getDiscussionCommentInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n getDiscussionInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n getMembershipForUserInOrg: [\"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n list: [\"GET /orgs/{org}/teams\"],\n listChildInOrg: [\"GET /orgs/{org}/teams/{team_slug}/teams\"],\n listDiscussionCommentsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\"],\n listDiscussionsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions\"],\n listForAuthenticatedUser: [\"GET /user/teams\"],\n listMembersInOrg: [\"GET /orgs/{org}/teams/{team_slug}/members\"],\n listPendingInvitationsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/invitations\"],\n listProjectsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/projects\"],\n listReposInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos\"],\n removeMembershipForUserInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n removeProjectInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n removeRepoInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n updateDiscussionCommentInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n updateDiscussionInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n updateInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}\"]\n },\n users: {\n addEmailForAuthenticated: [\"POST /user/emails\", {}, {\n renamed: [\"users\", \"addEmailForAuthenticatedUser\"]\n }],\n addEmailForAuthenticatedUser: [\"POST /user/emails\"],\n block: [\"PUT /user/blocks/{username}\"],\n checkBlocked: [\"GET /user/blocks/{username}\"],\n checkFollowingForUser: [\"GET /users/{username}/following/{target_user}\"],\n checkPersonIsFollowedByAuthenticated: [\"GET /user/following/{username}\"],\n createGpgKeyForAuthenticated: [\"POST /user/gpg_keys\", {}, {\n renamed: [\"users\", \"createGpgKeyForAuthenticatedUser\"]\n }],\n createGpgKeyForAuthenticatedUser: [\"POST /user/gpg_keys\"],\n createPublicSshKeyForAuthenticated: [\"POST /user/keys\", {}, {\n renamed: [\"users\", \"createPublicSshKeyForAuthenticatedUser\"]\n }],\n createPublicSshKeyForAuthenticatedUser: [\"POST /user/keys\"],\n deleteEmailForAuthenticated: [\"DELETE /user/emails\", {}, {\n renamed: [\"users\", \"deleteEmailForAuthenticatedUser\"]\n }],\n deleteEmailForAuthenticatedUser: [\"DELETE /user/emails\"],\n deleteGpgKeyForAuthenticated: [\"DELETE /user/gpg_keys/{gpg_key_id}\", {}, {\n renamed: [\"users\", \"deleteGpgKeyForAuthenticatedUser\"]\n }],\n deleteGpgKeyForAuthenticatedUser: [\"DELETE /user/gpg_keys/{gpg_key_id}\"],\n deletePublicSshKeyForAuthenticated: [\"DELETE /user/keys/{key_id}\", {}, {\n renamed: [\"users\", \"deletePublicSshKeyForAuthenticatedUser\"]\n }],\n deletePublicSshKeyForAuthenticatedUser: [\"DELETE /user/keys/{key_id}\"],\n follow: [\"PUT /user/following/{username}\"],\n getAuthenticated: [\"GET /user\"],\n getByUsername: [\"GET /users/{username}\"],\n getContextForUser: [\"GET /users/{username}/hovercard\"],\n getGpgKeyForAuthenticated: [\"GET /user/gpg_keys/{gpg_key_id}\", {}, {\n renamed: [\"users\", \"getGpgKeyForAuthenticatedUser\"]\n }],\n getGpgKeyForAuthenticatedUser: [\"GET /user/gpg_keys/{gpg_key_id}\"],\n getPublicSshKeyForAuthenticated: [\"GET /user/keys/{key_id}\", {}, {\n renamed: [\"users\", \"getPublicSshKeyForAuthenticatedUser\"]\n }],\n getPublicSshKeyForAuthenticatedUser: [\"GET /user/keys/{key_id}\"],\n list: [\"GET /users\"],\n listBlockedByAuthenticated: [\"GET /user/blocks\", {}, {\n renamed: [\"users\", \"listBlockedByAuthenticatedUser\"]\n }],\n listBlockedByAuthenticatedUser: [\"GET /user/blocks\"],\n listEmailsForAuthenticated: [\"GET /user/emails\", {}, {\n renamed: [\"users\", \"listEmailsForAuthenticatedUser\"]\n }],\n listEmailsForAuthenticatedUser: [\"GET /user/emails\"],\n listFollowedByAuthenticated: [\"GET /user/following\", {}, {\n renamed: [\"users\", \"listFollowedByAuthenticatedUser\"]\n }],\n listFollowedByAuthenticatedUser: [\"GET /user/following\"],\n listFollowersForAuthenticatedUser: [\"GET /user/followers\"],\n listFollowersForUser: [\"GET /users/{username}/followers\"],\n listFollowingForUser: [\"GET /users/{username}/following\"],\n listGpgKeysForAuthenticated: [\"GET /user/gpg_keys\", {}, {\n renamed: [\"users\", \"listGpgKeysForAuthenticatedUser\"]\n }],\n listGpgKeysForAuthenticatedUser: [\"GET /user/gpg_keys\"],\n listGpgKeysForUser: [\"GET /users/{username}/gpg_keys\"],\n listPublicEmailsForAuthenticated: [\"GET /user/public_emails\", {}, {\n renamed: [\"users\", \"listPublicEmailsForAuthenticatedUser\"]\n }],\n listPublicEmailsForAuthenticatedUser: [\"GET /user/public_emails\"],\n listPublicKeysForUser: [\"GET /users/{username}/keys\"],\n listPublicSshKeysForAuthenticated: [\"GET /user/keys\", {}, {\n renamed: [\"users\", \"listPublicSshKeysForAuthenticatedUser\"]\n }],\n listPublicSshKeysForAuthenticatedUser: [\"GET /user/keys\"],\n setPrimaryEmailVisibilityForAuthenticated: [\"PATCH /user/email/visibility\", {}, {\n renamed: [\"users\", \"setPrimaryEmailVisibilityForAuthenticatedUser\"]\n }],\n setPrimaryEmailVisibilityForAuthenticatedUser: [\"PATCH /user/email/visibility\"],\n unblock: [\"DELETE /user/blocks/{username}\"],\n unfollow: [\"DELETE /user/following/{username}\"],\n updateAuthenticated: [\"PATCH /user\"]\n }\n};\n\nconst VERSION = \"5.13.0\";\n\nfunction endpointsToMethods(octokit, endpointsMap) {\n const newMethods = {};\n\n for (const [scope, endpoints] of Object.entries(endpointsMap)) {\n for (const [methodName, endpoint] of Object.entries(endpoints)) {\n const [route, defaults, decorations] = endpoint;\n const [method, url] = route.split(/ /);\n const endpointDefaults = Object.assign({\n method,\n url\n }, defaults);\n\n if (!newMethods[scope]) {\n newMethods[scope] = {};\n }\n\n const scopeMethods = newMethods[scope];\n\n if (decorations) {\n scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);\n continue;\n }\n\n scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);\n }\n }\n\n return newMethods;\n}\n\nfunction decorate(octokit, scope, methodName, defaults, decorations) {\n const requestWithDefaults = octokit.request.defaults(defaults);\n /* istanbul ignore next */\n\n function withDecorations(...args) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n let options = requestWithDefaults.endpoint.merge(...args); // There are currently no other decorations than `.mapToData`\n\n if (decorations.mapToData) {\n options = Object.assign({}, options, {\n data: options[decorations.mapToData],\n [decorations.mapToData]: undefined\n });\n return requestWithDefaults(options);\n }\n\n if (decorations.renamed) {\n const [newScope, newMethodName] = decorations.renamed;\n octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`);\n }\n\n if (decorations.deprecated) {\n octokit.log.warn(decorations.deprecated);\n }\n\n if (decorations.renamedParameters) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n const options = requestWithDefaults.endpoint.merge(...args);\n\n for (const [name, alias] of Object.entries(decorations.renamedParameters)) {\n if (name in options) {\n octokit.log.warn(`\"${name}\" parameter is deprecated for \"octokit.${scope}.${methodName}()\". Use \"${alias}\" instead`);\n\n if (!(alias in options)) {\n options[alias] = options[name];\n }\n\n delete options[name];\n }\n }\n\n return requestWithDefaults(options);\n } // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n\n\n return requestWithDefaults(...args);\n }\n\n return Object.assign(withDecorations, requestWithDefaults);\n}\n\nfunction restEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, Endpoints);\n return {\n rest: api\n };\n}\nrestEndpointMethods.VERSION = VERSION;\nfunction legacyRestEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, Endpoints);\n return _objectSpread2(_objectSpread2({}, api), {}, {\n rest: api\n });\n}\nlegacyRestEndpointMethods.VERSION = VERSION;\n\nexports.legacyRestEndpointMethods = legacyRestEndpointMethods;\nexports.restEndpointMethods = restEndpointMethods;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 537:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar deprecation = __nccwpck_require__(8932);\nvar once = _interopDefault(__nccwpck_require__(1223));\n\nconst logOnceCode = once(deprecation => console.warn(deprecation));\nconst logOnceHeaders = once(deprecation => console.warn(deprecation));\n/**\n * Error with extra properties to help with debugging\n */\n\nclass RequestError extends Error {\n constructor(message, statusCode, options) {\n super(message); // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n\n this.name = \"HttpError\";\n this.status = statusCode;\n let headers;\n\n if (\"headers\" in options && typeof options.headers !== \"undefined\") {\n headers = options.headers;\n }\n\n if (\"response\" in options) {\n this.response = options.response;\n headers = options.response.headers;\n } // redact request credentials without mutating original request options\n\n\n const requestCopy = Object.assign({}, options.request);\n\n if (options.request.headers.authorization) {\n requestCopy.headers = Object.assign({}, options.request.headers, {\n authorization: options.request.headers.authorization.replace(/ .*$/, \" [REDACTED]\")\n });\n }\n\n requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit\n // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications\n .replace(/\\bclient_secret=\\w+/g, \"client_secret=[REDACTED]\") // OAuth tokens can be passed as URL query parameters, although it is not recommended\n // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header\n .replace(/\\baccess_token=\\w+/g, \"access_token=[REDACTED]\");\n this.request = requestCopy; // deprecations\n\n Object.defineProperty(this, \"code\", {\n get() {\n logOnceCode(new deprecation.Deprecation(\"[@octokit/request-error] `error.code` is deprecated, use `error.status`.\"));\n return statusCode;\n }\n\n });\n Object.defineProperty(this, \"headers\", {\n get() {\n logOnceHeaders(new deprecation.Deprecation(\"[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.\"));\n return headers || {};\n }\n\n });\n }\n\n}\n\nexports.RequestError = RequestError;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 6234:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar endpoint = __nccwpck_require__(9440);\nvar universalUserAgent = __nccwpck_require__(5030);\nvar isPlainObject = __nccwpck_require__(3287);\nvar nodeFetch = _interopDefault(__nccwpck_require__(467));\nvar requestError = __nccwpck_require__(537);\n\nconst VERSION = \"5.6.3\";\n\nfunction getBufferResponse(response) {\n return response.arrayBuffer();\n}\n\nfunction fetchWrapper(requestOptions) {\n const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console;\n\n if (isPlainObject.isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) {\n requestOptions.body = JSON.stringify(requestOptions.body);\n }\n\n let headers = {};\n let status;\n let url;\n const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch;\n return fetch(requestOptions.url, Object.assign({\n method: requestOptions.method,\n body: requestOptions.body,\n headers: requestOptions.headers,\n redirect: requestOptions.redirect\n }, // `requestOptions.request.agent` type is incompatible\n // see https://github.com/octokit/types.ts/pull/264\n requestOptions.request)).then(async response => {\n url = response.url;\n status = response.status;\n\n for (const keyAndValue of response.headers) {\n headers[keyAndValue[0]] = keyAndValue[1];\n }\n\n if (\"deprecation\" in headers) {\n const matches = headers.link && headers.link.match(/<([^>]+)>; rel=\"deprecation\"/);\n const deprecationLink = matches && matches.pop();\n log.warn(`[@octokit/request] \"${requestOptions.method} ${requestOptions.url}\" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : \"\"}`);\n }\n\n if (status === 204 || status === 205) {\n return;\n } // GitHub API returns 200 for HEAD requests\n\n\n if (requestOptions.method === \"HEAD\") {\n if (status < 400) {\n return;\n }\n\n throw new requestError.RequestError(response.statusText, status, {\n response: {\n url,\n status,\n headers,\n data: undefined\n },\n request: requestOptions\n });\n }\n\n if (status === 304) {\n throw new requestError.RequestError(\"Not modified\", status, {\n response: {\n url,\n status,\n headers,\n data: await getResponseData(response)\n },\n request: requestOptions\n });\n }\n\n if (status >= 400) {\n const data = await getResponseData(response);\n const error = new requestError.RequestError(toErrorMessage(data), status, {\n response: {\n url,\n status,\n headers,\n data\n },\n request: requestOptions\n });\n throw error;\n }\n\n return getResponseData(response);\n }).then(data => {\n return {\n status,\n url,\n headers,\n data\n };\n }).catch(error => {\n if (error instanceof requestError.RequestError) throw error;\n throw new requestError.RequestError(error.message, 500, {\n request: requestOptions\n });\n });\n}\n\nasync function getResponseData(response) {\n const contentType = response.headers.get(\"content-type\");\n\n if (/application\\/json/.test(contentType)) {\n return response.json();\n }\n\n if (!contentType || /^text\\/|charset=utf-8$/.test(contentType)) {\n return response.text();\n }\n\n return getBufferResponse(response);\n}\n\nfunction toErrorMessage(data) {\n if (typeof data === \"string\") return data; // istanbul ignore else - just in case\n\n if (\"message\" in data) {\n if (Array.isArray(data.errors)) {\n return `${data.message}: ${data.errors.map(JSON.stringify).join(\", \")}`;\n }\n\n return data.message;\n } // istanbul ignore next - just in case\n\n\n return `Unknown error: ${JSON.stringify(data)}`;\n}\n\nfunction withDefaults(oldEndpoint, newDefaults) {\n const endpoint = oldEndpoint.defaults(newDefaults);\n\n const newApi = function (route, parameters) {\n const endpointOptions = endpoint.merge(route, parameters);\n\n if (!endpointOptions.request || !endpointOptions.request.hook) {\n return fetchWrapper(endpoint.parse(endpointOptions));\n }\n\n const request = (route, parameters) => {\n return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));\n };\n\n Object.assign(request, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint)\n });\n return endpointOptions.request.hook(request, endpointOptions);\n };\n\n return Object.assign(newApi, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint)\n });\n}\n\nconst request = withDefaults(endpoint.endpoint, {\n headers: {\n \"user-agent\": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}`\n }\n});\n\nexports.request = request;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 5375:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nvar core = __nccwpck_require__(6762);\nvar pluginRequestLog = __nccwpck_require__(8883);\nvar pluginPaginateRest = __nccwpck_require__(4193);\nvar pluginRestEndpointMethods = __nccwpck_require__(3044);\n\nconst VERSION = \"18.12.0\";\n\nconst Octokit = core.Octokit.plugin(pluginRequestLog.requestLog, pluginRestEndpointMethods.legacyRestEndpointMethods, pluginPaginateRest.paginateRest).defaults({\n userAgent: `octokit-rest.js/${VERSION}`\n});\n\nexports.Octokit = Octokit;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 3682:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\nvar register = __nccwpck_require__(4670)\nvar addHook = __nccwpck_require__(5549)\nvar removeHook = __nccwpck_require__(6819)\n\n// bind with array of arguments: https://stackoverflow.com/a/21792913\nvar bind = Function.bind\nvar bindable = bind.bind(bind)\n\nfunction bindApi (hook, state, name) {\n var removeHookRef = bindable(removeHook, null).apply(null, name ? [state, name] : [state])\n hook.api = { remove: removeHookRef }\n hook.remove = removeHookRef\n\n ;['before', 'error', 'after', 'wrap'].forEach(function (kind) {\n var args = name ? [state, kind, name] : [state, kind]\n hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args)\n })\n}\n\nfunction HookSingular () {\n var singularHookName = 'h'\n var singularHookState = {\n registry: {}\n }\n var singularHook = register.bind(null, singularHookState, singularHookName)\n bindApi(singularHook, singularHookState, singularHookName)\n return singularHook\n}\n\nfunction HookCollection () {\n var state = {\n registry: {}\n }\n\n var hook = register.bind(null, state)\n bindApi(hook, state)\n\n return hook\n}\n\nvar collectionHookDeprecationMessageDisplayed = false\nfunction Hook () {\n if (!collectionHookDeprecationMessageDisplayed) {\n console.warn('[before-after-hook]: \"Hook()\" repurposing warning, use \"Hook.Collection()\". Read more: https://git.io/upgrade-before-after-hook-to-1.4')\n collectionHookDeprecationMessageDisplayed = true\n }\n return HookCollection()\n}\n\nHook.Singular = HookSingular.bind()\nHook.Collection = HookCollection.bind()\n\nmodule.exports = Hook\n// expose constructors as a named property for TypeScript\nmodule.exports.Hook = Hook\nmodule.exports.Singular = Hook.Singular\nmodule.exports.Collection = Hook.Collection\n\n\n/***/ }),\n\n/***/ 5549:\n/***/ ((module) => {\n\nmodule.exports = addHook;\n\nfunction addHook(state, kind, name, hook) {\n var orig = hook;\n if (!state.registry[name]) {\n state.registry[name] = [];\n }\n\n if (kind === \"before\") {\n hook = function (method, options) {\n return Promise.resolve()\n .then(orig.bind(null, options))\n .then(method.bind(null, options));\n };\n }\n\n if (kind === \"after\") {\n hook = function (method, options) {\n var result;\n return Promise.resolve()\n .then(method.bind(null, options))\n .then(function (result_) {\n result = result_;\n return orig(result, options);\n })\n .then(function () {\n return result;\n });\n };\n }\n\n if (kind === \"error\") {\n hook = function (method, options) {\n return Promise.resolve()\n .then(method.bind(null, options))\n .catch(function (error) {\n return orig(error, options);\n });\n };\n }\n\n state.registry[name].push({\n hook: hook,\n orig: orig,\n });\n}\n\n\n/***/ }),\n\n/***/ 4670:\n/***/ ((module) => {\n\nmodule.exports = register;\n\nfunction register(state, name, method, options) {\n if (typeof method !== \"function\") {\n throw new Error(\"method for before hook must be a function\");\n }\n\n if (!options) {\n options = {};\n }\n\n if (Array.isArray(name)) {\n return name.reverse().reduce(function (callback, name) {\n return register.bind(null, state, name, callback, options);\n }, method)();\n }\n\n return Promise.resolve().then(function () {\n if (!state.registry[name]) {\n return method(options);\n }\n\n return state.registry[name].reduce(function (method, registered) {\n return registered.hook.bind(null, method, options);\n }, method)();\n });\n}\n\n\n/***/ }),\n\n/***/ 6819:\n/***/ ((module) => {\n\nmodule.exports = removeHook;\n\nfunction removeHook(state, name, method) {\n if (!state.registry[name]) {\n return;\n }\n\n var index = state.registry[name]\n .map(function (registered) {\n return registered.orig;\n })\n .indexOf(method);\n\n if (index === -1) {\n return;\n }\n\n state.registry[name].splice(index, 1);\n}\n\n\n/***/ }),\n\n/***/ 8932:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nclass Deprecation extends Error {\n constructor(message) {\n super(message); // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n\n this.name = 'Deprecation';\n }\n\n}\n\nexports.Deprecation = Deprecation;\n\n\n/***/ }),\n\n/***/ 3287:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\n/*!\n * is-plain-object \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nfunction isObject(o) {\n return Object.prototype.toString.call(o) === '[object Object]';\n}\n\nfunction isPlainObject(o) {\n var ctor,prot;\n\n if (isObject(o) === false) return false;\n\n // If has modified constructor\n ctor = o.constructor;\n if (ctor === undefined) return true;\n\n // If has modified prototype\n prot = ctor.prototype;\n if (isObject(prot) === false) return false;\n\n // If constructor does not have an Object-specific method\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n }\n\n // Most likely a plain Object\n return true;\n}\n\nexports.isPlainObject = isPlainObject;\n\n\n/***/ }),\n\n/***/ 467:\n/***/ ((module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar Stream = _interopDefault(__nccwpck_require__(2413));\nvar http = _interopDefault(__nccwpck_require__(8605));\nvar Url = _interopDefault(__nccwpck_require__(8835));\nvar whatwgUrl = _interopDefault(__nccwpck_require__(3323));\nvar https = _interopDefault(__nccwpck_require__(7211));\nvar zlib = _interopDefault(__nccwpck_require__(8761));\n\n// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js\n\n// fix for \"Readable\" isn't a named export issue\nconst Readable = Stream.Readable;\n\nconst BUFFER = Symbol('buffer');\nconst TYPE = Symbol('type');\n\nclass Blob {\n\tconstructor() {\n\t\tthis[TYPE] = '';\n\n\t\tconst blobParts = arguments[0];\n\t\tconst options = arguments[1];\n\n\t\tconst buffers = [];\n\t\tlet size = 0;\n\n\t\tif (blobParts) {\n\t\t\tconst a = blobParts;\n\t\t\tconst length = Number(a.length);\n\t\t\tfor (let i = 0; i < length; i++) {\n\t\t\t\tconst element = a[i];\n\t\t\t\tlet buffer;\n\t\t\t\tif (element instanceof Buffer) {\n\t\t\t\t\tbuffer = element;\n\t\t\t\t} else if (ArrayBuffer.isView(element)) {\n\t\t\t\t\tbuffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength);\n\t\t\t\t} else if (element instanceof ArrayBuffer) {\n\t\t\t\t\tbuffer = Buffer.from(element);\n\t\t\t\t} else if (element instanceof Blob) {\n\t\t\t\t\tbuffer = element[BUFFER];\n\t\t\t\t} else {\n\t\t\t\t\tbuffer = Buffer.from(typeof element === 'string' ? element : String(element));\n\t\t\t\t}\n\t\t\t\tsize += buffer.length;\n\t\t\t\tbuffers.push(buffer);\n\t\t\t}\n\t\t}\n\n\t\tthis[BUFFER] = Buffer.concat(buffers);\n\n\t\tlet type = options && options.type !== undefined && String(options.type).toLowerCase();\n\t\tif (type && !/[^\\u0020-\\u007E]/.test(type)) {\n\t\t\tthis[TYPE] = type;\n\t\t}\n\t}\n\tget size() {\n\t\treturn this[BUFFER].length;\n\t}\n\tget type() {\n\t\treturn this[TYPE];\n\t}\n\ttext() {\n\t\treturn Promise.resolve(this[BUFFER].toString());\n\t}\n\tarrayBuffer() {\n\t\tconst buf = this[BUFFER];\n\t\tconst ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\treturn Promise.resolve(ab);\n\t}\n\tstream() {\n\t\tconst readable = new Readable();\n\t\treadable._read = function () {};\n\t\treadable.push(this[BUFFER]);\n\t\treadable.push(null);\n\t\treturn readable;\n\t}\n\ttoString() {\n\t\treturn '[object Blob]';\n\t}\n\tslice() {\n\t\tconst size = this.size;\n\n\t\tconst start = arguments[0];\n\t\tconst end = arguments[1];\n\t\tlet relativeStart, relativeEnd;\n\t\tif (start === undefined) {\n\t\t\trelativeStart = 0;\n\t\t} else if (start < 0) {\n\t\t\trelativeStart = Math.max(size + start, 0);\n\t\t} else {\n\t\t\trelativeStart = Math.min(start, size);\n\t\t}\n\t\tif (end === undefined) {\n\t\t\trelativeEnd = size;\n\t\t} else if (end < 0) {\n\t\t\trelativeEnd = Math.max(size + end, 0);\n\t\t} else {\n\t\t\trelativeEnd = Math.min(end, size);\n\t\t}\n\t\tconst span = Math.max(relativeEnd - relativeStart, 0);\n\n\t\tconst buffer = this[BUFFER];\n\t\tconst slicedBuffer = buffer.slice(relativeStart, relativeStart + span);\n\t\tconst blob = new Blob([], { type: arguments[2] });\n\t\tblob[BUFFER] = slicedBuffer;\n\t\treturn blob;\n\t}\n}\n\nObject.defineProperties(Blob.prototype, {\n\tsize: { enumerable: true },\n\ttype: { enumerable: true },\n\tslice: { enumerable: true }\n});\n\nObject.defineProperty(Blob.prototype, Symbol.toStringTag, {\n\tvalue: 'Blob',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * fetch-error.js\n *\n * FetchError interface for operational errors\n */\n\n/**\n * Create FetchError instance\n *\n * @param String message Error message for human\n * @param String type Error type for machine\n * @param String systemError For Node.js system error\n * @return FetchError\n */\nfunction FetchError(message, type, systemError) {\n Error.call(this, message);\n\n this.message = message;\n this.type = type;\n\n // when err.type is `system`, err.code contains system error code\n if (systemError) {\n this.code = this.errno = systemError.code;\n }\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nFetchError.prototype = Object.create(Error.prototype);\nFetchError.prototype.constructor = FetchError;\nFetchError.prototype.name = 'FetchError';\n\nlet convert;\ntry {\n\tconvert = __nccwpck_require__(2877).convert;\n} catch (e) {}\n\nconst INTERNALS = Symbol('Body internals');\n\n// fix an issue where \"PassThrough\" isn't a named export for node <10\nconst PassThrough = Stream.PassThrough;\n\n/**\n * Body mixin\n *\n * Ref: https://fetch.spec.whatwg.org/#body\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nfunction Body(body) {\n\tvar _this = this;\n\n\tvar _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n\t _ref$size = _ref.size;\n\n\tlet size = _ref$size === undefined ? 0 : _ref$size;\n\tvar _ref$timeout = _ref.timeout;\n\tlet timeout = _ref$timeout === undefined ? 0 : _ref$timeout;\n\n\tif (body == null) {\n\t\t// body is undefined or null\n\t\tbody = null;\n\t} else if (isURLSearchParams(body)) {\n\t\t// body is a URLSearchParams\n\t\tbody = Buffer.from(body.toString());\n\t} else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {\n\t\t// body is ArrayBuffer\n\t\tbody = Buffer.from(body);\n\t} else if (ArrayBuffer.isView(body)) {\n\t\t// body is ArrayBufferView\n\t\tbody = Buffer.from(body.buffer, body.byteOffset, body.byteLength);\n\t} else if (body instanceof Stream) ; else {\n\t\t// none of the above\n\t\t// coerce to string then buffer\n\t\tbody = Buffer.from(String(body));\n\t}\n\tthis[INTERNALS] = {\n\t\tbody,\n\t\tdisturbed: false,\n\t\terror: null\n\t};\n\tthis.size = size;\n\tthis.timeout = timeout;\n\n\tif (body instanceof Stream) {\n\t\tbody.on('error', function (err) {\n\t\t\tconst error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err);\n\t\t\t_this[INTERNALS].error = error;\n\t\t});\n\t}\n}\n\nBody.prototype = {\n\tget body() {\n\t\treturn this[INTERNALS].body;\n\t},\n\n\tget bodyUsed() {\n\t\treturn this[INTERNALS].disturbed;\n\t},\n\n\t/**\n * Decode response as ArrayBuffer\n *\n * @return Promise\n */\n\tarrayBuffer() {\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\t});\n\t},\n\n\t/**\n * Return raw response as Blob\n *\n * @return Promise\n */\n\tblob() {\n\t\tlet ct = this.headers && this.headers.get('content-type') || '';\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn Object.assign(\n\t\t\t// Prevent copying\n\t\t\tnew Blob([], {\n\t\t\t\ttype: ct.toLowerCase()\n\t\t\t}), {\n\t\t\t\t[BUFFER]: buf\n\t\t\t});\n\t\t});\n\t},\n\n\t/**\n * Decode response as json\n *\n * @return Promise\n */\n\tjson() {\n\t\tvar _this2 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\ttry {\n\t\t\t\treturn JSON.parse(buffer.toString());\n\t\t\t} catch (err) {\n\t\t\t\treturn Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));\n\t\t\t}\n\t\t});\n\t},\n\n\t/**\n * Decode response as text\n *\n * @return Promise\n */\n\ttext() {\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn buffer.toString();\n\t\t});\n\t},\n\n\t/**\n * Decode response as buffer (non-spec api)\n *\n * @return Promise\n */\n\tbuffer() {\n\t\treturn consumeBody.call(this);\n\t},\n\n\t/**\n * Decode response as text, while automatically detecting the encoding and\n * trying to decode to UTF-8 (non-spec api)\n *\n * @return Promise\n */\n\ttextConverted() {\n\t\tvar _this3 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn convertBody(buffer, _this3.headers);\n\t\t});\n\t}\n};\n\n// In browsers, all properties are enumerable.\nObject.defineProperties(Body.prototype, {\n\tbody: { enumerable: true },\n\tbodyUsed: { enumerable: true },\n\tarrayBuffer: { enumerable: true },\n\tblob: { enumerable: true },\n\tjson: { enumerable: true },\n\ttext: { enumerable: true }\n});\n\nBody.mixIn = function (proto) {\n\tfor (const name of Object.getOwnPropertyNames(Body.prototype)) {\n\t\t// istanbul ignore else: future proof\n\t\tif (!(name in proto)) {\n\t\t\tconst desc = Object.getOwnPropertyDescriptor(Body.prototype, name);\n\t\t\tObject.defineProperty(proto, name, desc);\n\t\t}\n\t}\n};\n\n/**\n * Consume and convert an entire Body to a Buffer.\n *\n * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body\n *\n * @return Promise\n */\nfunction consumeBody() {\n\tvar _this4 = this;\n\n\tif (this[INTERNALS].disturbed) {\n\t\treturn Body.Promise.reject(new TypeError(`body used already for: ${this.url}`));\n\t}\n\n\tthis[INTERNALS].disturbed = true;\n\n\tif (this[INTERNALS].error) {\n\t\treturn Body.Promise.reject(this[INTERNALS].error);\n\t}\n\n\tlet body = this.body;\n\n\t// body is null\n\tif (body === null) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is blob\n\tif (isBlob(body)) {\n\t\tbody = body.stream();\n\t}\n\n\t// body is buffer\n\tif (Buffer.isBuffer(body)) {\n\t\treturn Body.Promise.resolve(body);\n\t}\n\n\t// istanbul ignore if: should never happen\n\tif (!(body instanceof Stream)) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is stream\n\t// get ready to actually consume the body\n\tlet accum = [];\n\tlet accumBytes = 0;\n\tlet abort = false;\n\n\treturn new Body.Promise(function (resolve, reject) {\n\t\tlet resTimeout;\n\n\t\t// allow timeout on slow response body\n\t\tif (_this4.timeout) {\n\t\t\tresTimeout = setTimeout(function () {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout'));\n\t\t\t}, _this4.timeout);\n\t\t}\n\n\t\t// handle stream errors\n\t\tbody.on('error', function (err) {\n\t\t\tif (err.name === 'AbortError') {\n\t\t\t\t// if the request was aborted, reject with this Error\n\t\t\t\tabort = true;\n\t\t\t\treject(err);\n\t\t\t} else {\n\t\t\t\t// other errors, such as incorrect content-encoding\n\t\t\t\treject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\n\t\tbody.on('data', function (chunk) {\n\t\t\tif (abort || chunk === null) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (_this4.size && accumBytes + chunk.length > _this4.size) {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size'));\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\taccumBytes += chunk.length;\n\t\t\taccum.push(chunk);\n\t\t});\n\n\t\tbody.on('end', function () {\n\t\t\tif (abort) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tclearTimeout(resTimeout);\n\n\t\t\ttry {\n\t\t\t\tresolve(Buffer.concat(accum, accumBytes));\n\t\t\t} catch (err) {\n\t\t\t\t// handle streams that have accumulated too much data (issue #414)\n\t\t\t\treject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Detect buffer encoding and convert to target encoding\n * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding\n *\n * @param Buffer buffer Incoming buffer\n * @param String encoding Target encoding\n * @return String\n */\nfunction convertBody(buffer, headers) {\n\tif (typeof convert !== 'function') {\n\t\tthrow new Error('The package `encoding` must be installed to use the textConverted() function');\n\t}\n\n\tconst ct = headers.get('content-type');\n\tlet charset = 'utf-8';\n\tlet res, str;\n\n\t// header\n\tif (ct) {\n\t\tres = /charset=([^;]*)/i.exec(ct);\n\t}\n\n\t// no charset in content type, peek at response body for at most 1024 bytes\n\tstr = buffer.slice(0, 1024).toString();\n\n\t// html5\n\tif (!res && str) {\n\t\tres = / 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n\n\t\tthis[MAP] = Object.create(null);\n\n\t\tif (init instanceof Headers) {\n\t\t\tconst rawHeaders = init.raw();\n\t\t\tconst headerNames = Object.keys(rawHeaders);\n\n\t\t\tfor (const headerName of headerNames) {\n\t\t\t\tfor (const value of rawHeaders[headerName]) {\n\t\t\t\t\tthis.append(headerName, value);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\t// We don't worry about converting prop to ByteString here as append()\n\t\t// will handle it.\n\t\tif (init == null) ; else if (typeof init === 'object') {\n\t\t\tconst method = init[Symbol.iterator];\n\t\t\tif (method != null) {\n\t\t\t\tif (typeof method !== 'function') {\n\t\t\t\t\tthrow new TypeError('Header pairs must be iterable');\n\t\t\t\t}\n\n\t\t\t\t// sequence>\n\t\t\t\t// Note: per spec we have to first exhaust the lists then process them\n\t\t\t\tconst pairs = [];\n\t\t\t\tfor (const pair of init) {\n\t\t\t\t\tif (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be iterable');\n\t\t\t\t\t}\n\t\t\t\t\tpairs.push(Array.from(pair));\n\t\t\t\t}\n\n\t\t\t\tfor (const pair of pairs) {\n\t\t\t\t\tif (pair.length !== 2) {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be a name/value tuple');\n\t\t\t\t\t}\n\t\t\t\t\tthis.append(pair[0], pair[1]);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// record\n\t\t\t\tfor (const key of Object.keys(init)) {\n\t\t\t\t\tconst value = init[key];\n\t\t\t\t\tthis.append(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new TypeError('Provided initializer must be an object');\n\t\t}\n\t}\n\n\t/**\n * Return combined header value given name\n *\n * @param String name Header name\n * @return Mixed\n */\n\tget(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key === undefined) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this[MAP][key].join(', ');\n\t}\n\n\t/**\n * Iterate over all headers\n *\n * @param Function callback Executed for each item with parameters (value, name, thisArg)\n * @param Boolean thisArg `this` context for callback function\n * @return Void\n */\n\tforEach(callback) {\n\t\tlet thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\n\t\tlet pairs = getHeaders(this);\n\t\tlet i = 0;\n\t\twhile (i < pairs.length) {\n\t\t\tvar _pairs$i = pairs[i];\n\t\t\tconst name = _pairs$i[0],\n\t\t\t value = _pairs$i[1];\n\n\t\t\tcallback.call(thisArg, value, name, this);\n\t\t\tpairs = getHeaders(this);\n\t\t\ti++;\n\t\t}\n\t}\n\n\t/**\n * Overwrite header values given name\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tset(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tthis[MAP][key !== undefined ? key : name] = [value];\n\t}\n\n\t/**\n * Append a value onto existing header\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tappend(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tthis[MAP][key].push(value);\n\t\t} else {\n\t\t\tthis[MAP][name] = [value];\n\t\t}\n\t}\n\n\t/**\n * Check for header name existence\n *\n * @param String name Header name\n * @return Boolean\n */\n\thas(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\treturn find(this[MAP], name) !== undefined;\n\t}\n\n\t/**\n * Delete all header values given name\n *\n * @param String name Header name\n * @return Void\n */\n\tdelete(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tdelete this[MAP][key];\n\t\t}\n\t}\n\n\t/**\n * Return raw headers (non-spec api)\n *\n * @return Object\n */\n\traw() {\n\t\treturn this[MAP];\n\t}\n\n\t/**\n * Get an iterator on keys.\n *\n * @return Iterator\n */\n\tkeys() {\n\t\treturn createHeadersIterator(this, 'key');\n\t}\n\n\t/**\n * Get an iterator on values.\n *\n * @return Iterator\n */\n\tvalues() {\n\t\treturn createHeadersIterator(this, 'value');\n\t}\n\n\t/**\n * Get an iterator on entries.\n *\n * This is the default iterator of the Headers object.\n *\n * @return Iterator\n */\n\t[Symbol.iterator]() {\n\t\treturn createHeadersIterator(this, 'key+value');\n\t}\n}\nHeaders.prototype.entries = Headers.prototype[Symbol.iterator];\n\nObject.defineProperty(Headers.prototype, Symbol.toStringTag, {\n\tvalue: 'Headers',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Headers.prototype, {\n\tget: { enumerable: true },\n\tforEach: { enumerable: true },\n\tset: { enumerable: true },\n\tappend: { enumerable: true },\n\thas: { enumerable: true },\n\tdelete: { enumerable: true },\n\tkeys: { enumerable: true },\n\tvalues: { enumerable: true },\n\tentries: { enumerable: true }\n});\n\nfunction getHeaders(headers) {\n\tlet kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value';\n\n\tconst keys = Object.keys(headers[MAP]).sort();\n\treturn keys.map(kind === 'key' ? function (k) {\n\t\treturn k.toLowerCase();\n\t} : kind === 'value' ? function (k) {\n\t\treturn headers[MAP][k].join(', ');\n\t} : function (k) {\n\t\treturn [k.toLowerCase(), headers[MAP][k].join(', ')];\n\t});\n}\n\nconst INTERNAL = Symbol('internal');\n\nfunction createHeadersIterator(target, kind) {\n\tconst iterator = Object.create(HeadersIteratorPrototype);\n\titerator[INTERNAL] = {\n\t\ttarget,\n\t\tkind,\n\t\tindex: 0\n\t};\n\treturn iterator;\n}\n\nconst HeadersIteratorPrototype = Object.setPrototypeOf({\n\tnext() {\n\t\t// istanbul ignore if\n\t\tif (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) {\n\t\t\tthrow new TypeError('Value of `this` is not a HeadersIterator');\n\t\t}\n\n\t\tvar _INTERNAL = this[INTERNAL];\n\t\tconst target = _INTERNAL.target,\n\t\t kind = _INTERNAL.kind,\n\t\t index = _INTERNAL.index;\n\n\t\tconst values = getHeaders(target, kind);\n\t\tconst len = values.length;\n\t\tif (index >= len) {\n\t\t\treturn {\n\t\t\t\tvalue: undefined,\n\t\t\t\tdone: true\n\t\t\t};\n\t\t}\n\n\t\tthis[INTERNAL].index = index + 1;\n\n\t\treturn {\n\t\t\tvalue: values[index],\n\t\t\tdone: false\n\t\t};\n\t}\n}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));\n\nObject.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, {\n\tvalue: 'HeadersIterator',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * Export the Headers object in a form that Node.js can consume.\n *\n * @param Headers headers\n * @return Object\n */\nfunction exportNodeCompatibleHeaders(headers) {\n\tconst obj = Object.assign({ __proto__: null }, headers[MAP]);\n\n\t// http.request() only supports string as Host header. This hack makes\n\t// specifying custom Host header possible.\n\tconst hostHeaderKey = find(headers[MAP], 'Host');\n\tif (hostHeaderKey !== undefined) {\n\t\tobj[hostHeaderKey] = obj[hostHeaderKey][0];\n\t}\n\n\treturn obj;\n}\n\n/**\n * Create a Headers object from an object of headers, ignoring those that do\n * not conform to HTTP grammar productions.\n *\n * @param Object obj Object of headers\n * @return Headers\n */\nfunction createHeadersLenient(obj) {\n\tconst headers = new Headers();\n\tfor (const name of Object.keys(obj)) {\n\t\tif (invalidTokenRegex.test(name)) {\n\t\t\tcontinue;\n\t\t}\n\t\tif (Array.isArray(obj[name])) {\n\t\t\tfor (const val of obj[name]) {\n\t\t\t\tif (invalidHeaderCharRegex.test(val)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (headers[MAP][name] === undefined) {\n\t\t\t\t\theaders[MAP][name] = [val];\n\t\t\t\t} else {\n\t\t\t\t\theaders[MAP][name].push(val);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (!invalidHeaderCharRegex.test(obj[name])) {\n\t\t\theaders[MAP][name] = [obj[name]];\n\t\t}\n\t}\n\treturn headers;\n}\n\nconst INTERNALS$1 = Symbol('Response internals');\n\n// fix an issue where \"STATUS_CODES\" aren't a named export for node <10\nconst STATUS_CODES = http.STATUS_CODES;\n\n/**\n * Response class\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nclass Response {\n\tconstructor() {\n\t\tlet body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\t\tlet opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tBody.call(this, body, opts);\n\n\t\tconst status = opts.status || 200;\n\t\tconst headers = new Headers(opts.headers);\n\n\t\tif (body != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(body);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tthis[INTERNALS$1] = {\n\t\t\turl: opts.url,\n\t\t\tstatus,\n\t\t\tstatusText: opts.statusText || STATUS_CODES[status],\n\t\t\theaders,\n\t\t\tcounter: opts.counter\n\t\t};\n\t}\n\n\tget url() {\n\t\treturn this[INTERNALS$1].url || '';\n\t}\n\n\tget status() {\n\t\treturn this[INTERNALS$1].status;\n\t}\n\n\t/**\n * Convenience property representing if the request ended normally\n */\n\tget ok() {\n\t\treturn this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300;\n\t}\n\n\tget redirected() {\n\t\treturn this[INTERNALS$1].counter > 0;\n\t}\n\n\tget statusText() {\n\t\treturn this[INTERNALS$1].statusText;\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$1].headers;\n\t}\n\n\t/**\n * Clone this response\n *\n * @return Response\n */\n\tclone() {\n\t\treturn new Response(clone(this), {\n\t\t\turl: this.url,\n\t\t\tstatus: this.status,\n\t\t\tstatusText: this.statusText,\n\t\t\theaders: this.headers,\n\t\t\tok: this.ok,\n\t\t\tredirected: this.redirected\n\t\t});\n\t}\n}\n\nBody.mixIn(Response.prototype);\n\nObject.defineProperties(Response.prototype, {\n\turl: { enumerable: true },\n\tstatus: { enumerable: true },\n\tok: { enumerable: true },\n\tredirected: { enumerable: true },\n\tstatusText: { enumerable: true },\n\theaders: { enumerable: true },\n\tclone: { enumerable: true }\n});\n\nObject.defineProperty(Response.prototype, Symbol.toStringTag, {\n\tvalue: 'Response',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nconst INTERNALS$2 = Symbol('Request internals');\nconst URL = Url.URL || whatwgUrl.URL;\n\n// fix an issue where \"format\", \"parse\" aren't a named export for node <10\nconst parse_url = Url.parse;\nconst format_url = Url.format;\n\n/**\n * Wrapper around `new URL` to handle arbitrary URLs\n *\n * @param {string} urlStr\n * @return {void}\n */\nfunction parseURL(urlStr) {\n\t/*\n \tCheck whether the URL is absolute or not\n \t\tScheme: https://tools.ietf.org/html/rfc3986#section-3.1\n \tAbsolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\n */\n\tif (/^[a-zA-Z][a-zA-Z\\d+\\-.]*:/.exec(urlStr)) {\n\t\turlStr = new URL(urlStr).toString();\n\t}\n\n\t// Fallback to old implementation for arbitrary URLs\n\treturn parse_url(urlStr);\n}\n\nconst streamDestructionSupported = 'destroy' in Stream.Readable.prototype;\n\n/**\n * Check if a value is an instance of Request.\n *\n * @param Mixed input\n * @return Boolean\n */\nfunction isRequest(input) {\n\treturn typeof input === 'object' && typeof input[INTERNALS$2] === 'object';\n}\n\nfunction isAbortSignal(signal) {\n\tconst proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal);\n\treturn !!(proto && proto.constructor.name === 'AbortSignal');\n}\n\n/**\n * Request class\n *\n * @param Mixed input Url or Request instance\n * @param Object init Custom options\n * @return Void\n */\nclass Request {\n\tconstructor(input) {\n\t\tlet init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tlet parsedURL;\n\n\t\t// normalize input\n\t\tif (!isRequest(input)) {\n\t\t\tif (input && input.href) {\n\t\t\t\t// in order to support Node.js' Url objects; though WHATWG's URL objects\n\t\t\t\t// will fall into this branch also (since their `toString()` will return\n\t\t\t\t// `href` property anyway)\n\t\t\t\tparsedURL = parseURL(input.href);\n\t\t\t} else {\n\t\t\t\t// coerce input to a string before attempting to parse\n\t\t\t\tparsedURL = parseURL(`${input}`);\n\t\t\t}\n\t\t\tinput = {};\n\t\t} else {\n\t\t\tparsedURL = parseURL(input.url);\n\t\t}\n\n\t\tlet method = init.method || input.method || 'GET';\n\t\tmethod = method.toUpperCase();\n\n\t\tif ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) {\n\t\t\tthrow new TypeError('Request with GET/HEAD method cannot have body');\n\t\t}\n\n\t\tlet inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;\n\n\t\tBody.call(this, inputBody, {\n\t\t\ttimeout: init.timeout || input.timeout || 0,\n\t\t\tsize: init.size || input.size || 0\n\t\t});\n\n\t\tconst headers = new Headers(init.headers || input.headers || {});\n\n\t\tif (inputBody != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(inputBody);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tlet signal = isRequest(input) ? input.signal : null;\n\t\tif ('signal' in init) signal = init.signal;\n\n\t\tif (signal != null && !isAbortSignal(signal)) {\n\t\t\tthrow new TypeError('Expected signal to be an instanceof AbortSignal');\n\t\t}\n\n\t\tthis[INTERNALS$2] = {\n\t\t\tmethod,\n\t\t\tredirect: init.redirect || input.redirect || 'follow',\n\t\t\theaders,\n\t\t\tparsedURL,\n\t\t\tsignal\n\t\t};\n\n\t\t// node-fetch-only options\n\t\tthis.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20;\n\t\tthis.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true;\n\t\tthis.counter = init.counter || input.counter || 0;\n\t\tthis.agent = init.agent || input.agent;\n\t}\n\n\tget method() {\n\t\treturn this[INTERNALS$2].method;\n\t}\n\n\tget url() {\n\t\treturn format_url(this[INTERNALS$2].parsedURL);\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$2].headers;\n\t}\n\n\tget redirect() {\n\t\treturn this[INTERNALS$2].redirect;\n\t}\n\n\tget signal() {\n\t\treturn this[INTERNALS$2].signal;\n\t}\n\n\t/**\n * Clone this request\n *\n * @return Request\n */\n\tclone() {\n\t\treturn new Request(this);\n\t}\n}\n\nBody.mixIn(Request.prototype);\n\nObject.defineProperty(Request.prototype, Symbol.toStringTag, {\n\tvalue: 'Request',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Request.prototype, {\n\tmethod: { enumerable: true },\n\turl: { enumerable: true },\n\theaders: { enumerable: true },\n\tredirect: { enumerable: true },\n\tclone: { enumerable: true },\n\tsignal: { enumerable: true }\n});\n\n/**\n * Convert a Request to Node.js http request options.\n *\n * @param Request A Request instance\n * @return Object The options object to be passed to http.request\n */\nfunction getNodeRequestOptions(request) {\n\tconst parsedURL = request[INTERNALS$2].parsedURL;\n\tconst headers = new Headers(request[INTERNALS$2].headers);\n\n\t// fetch step 1.3\n\tif (!headers.has('Accept')) {\n\t\theaders.set('Accept', '*/*');\n\t}\n\n\t// Basic fetch\n\tif (!parsedURL.protocol || !parsedURL.hostname) {\n\t\tthrow new TypeError('Only absolute URLs are supported');\n\t}\n\n\tif (!/^https?:$/.test(parsedURL.protocol)) {\n\t\tthrow new TypeError('Only HTTP(S) protocols are supported');\n\t}\n\n\tif (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) {\n\t\tthrow new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8');\n\t}\n\n\t// HTTP-network-or-cache fetch steps 2.4-2.7\n\tlet contentLengthValue = null;\n\tif (request.body == null && /^(POST|PUT)$/i.test(request.method)) {\n\t\tcontentLengthValue = '0';\n\t}\n\tif (request.body != null) {\n\t\tconst totalBytes = getTotalBytes(request);\n\t\tif (typeof totalBytes === 'number') {\n\t\t\tcontentLengthValue = String(totalBytes);\n\t\t}\n\t}\n\tif (contentLengthValue) {\n\t\theaders.set('Content-Length', contentLengthValue);\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.11\n\tif (!headers.has('User-Agent')) {\n\t\theaders.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)');\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.15\n\tif (request.compress && !headers.has('Accept-Encoding')) {\n\t\theaders.set('Accept-Encoding', 'gzip,deflate');\n\t}\n\n\tlet agent = request.agent;\n\tif (typeof agent === 'function') {\n\t\tagent = agent(parsedURL);\n\t}\n\n\tif (!headers.has('Connection') && !agent) {\n\t\theaders.set('Connection', 'close');\n\t}\n\n\t// HTTP-network fetch step 4.2\n\t// chunked encoding is handled by Node.js\n\n\treturn Object.assign({}, parsedURL, {\n\t\tmethod: request.method,\n\t\theaders: exportNodeCompatibleHeaders(headers),\n\t\tagent\n\t});\n}\n\n/**\n * abort-error.js\n *\n * AbortError interface for cancelled requests\n */\n\n/**\n * Create AbortError instance\n *\n * @param String message Error message for human\n * @return AbortError\n */\nfunction AbortError(message) {\n Error.call(this, message);\n\n this.type = 'aborted';\n this.message = message;\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nAbortError.prototype = Object.create(Error.prototype);\nAbortError.prototype.constructor = AbortError;\nAbortError.prototype.name = 'AbortError';\n\nconst URL$1 = Url.URL || whatwgUrl.URL;\n\n// fix an issue where \"PassThrough\", \"resolve\" aren't a named export for node <10\nconst PassThrough$1 = Stream.PassThrough;\n\nconst isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) {\n\tconst orig = new URL$1(original).hostname;\n\tconst dest = new URL$1(destination).hostname;\n\n\treturn orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest);\n};\n\n/**\n * Fetch function\n *\n * @param Mixed url Absolute url or Request instance\n * @param Object opts Fetch options\n * @return Promise\n */\nfunction fetch(url, opts) {\n\n\t// allow custom promise\n\tif (!fetch.Promise) {\n\t\tthrow new Error('native promise missing, set fetch.Promise to your favorite alternative');\n\t}\n\n\tBody.Promise = fetch.Promise;\n\n\t// wrap http.request into fetch\n\treturn new fetch.Promise(function (resolve, reject) {\n\t\t// build request object\n\t\tconst request = new Request(url, opts);\n\t\tconst options = getNodeRequestOptions(request);\n\n\t\tconst send = (options.protocol === 'https:' ? https : http).request;\n\t\tconst signal = request.signal;\n\n\t\tlet response = null;\n\n\t\tconst abort = function abort() {\n\t\t\tlet error = new AbortError('The user aborted a request.');\n\t\t\treject(error);\n\t\t\tif (request.body && request.body instanceof Stream.Readable) {\n\t\t\t\trequest.body.destroy(error);\n\t\t\t}\n\t\t\tif (!response || !response.body) return;\n\t\t\tresponse.body.emit('error', error);\n\t\t};\n\n\t\tif (signal && signal.aborted) {\n\t\t\tabort();\n\t\t\treturn;\n\t\t}\n\n\t\tconst abortAndFinalize = function abortAndFinalize() {\n\t\t\tabort();\n\t\t\tfinalize();\n\t\t};\n\n\t\t// send request\n\t\tconst req = send(options);\n\t\tlet reqTimeout;\n\n\t\tif (signal) {\n\t\t\tsignal.addEventListener('abort', abortAndFinalize);\n\t\t}\n\n\t\tfunction finalize() {\n\t\t\treq.abort();\n\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\tclearTimeout(reqTimeout);\n\t\t}\n\n\t\tif (request.timeout) {\n\t\t\treq.once('socket', function (socket) {\n\t\t\t\treqTimeout = setTimeout(function () {\n\t\t\t\t\treject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout'));\n\t\t\t\t\tfinalize();\n\t\t\t\t}, request.timeout);\n\t\t\t});\n\t\t}\n\n\t\treq.on('error', function (err) {\n\t\t\treject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));\n\t\t\tfinalize();\n\t\t});\n\n\t\treq.on('response', function (res) {\n\t\t\tclearTimeout(reqTimeout);\n\n\t\t\tconst headers = createHeadersLenient(res.headers);\n\n\t\t\t// HTTP fetch step 5\n\t\t\tif (fetch.isRedirect(res.statusCode)) {\n\t\t\t\t// HTTP fetch step 5.2\n\t\t\t\tconst location = headers.get('Location');\n\n\t\t\t\t// HTTP fetch step 5.3\n\t\t\t\tlet locationURL = null;\n\t\t\t\ttry {\n\t\t\t\t\tlocationURL = location === null ? null : new URL$1(location, request.url).toString();\n\t\t\t\t} catch (err) {\n\t\t\t\t\t// error here can only be invalid URL in Location: header\n\t\t\t\t\t// do not throw when options.redirect == manual\n\t\t\t\t\t// let the user extract the errorneous redirect URL\n\t\t\t\t\tif (request.redirect !== 'manual') {\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// HTTP fetch step 5.5\n\t\t\t\tswitch (request.redirect) {\n\t\t\t\t\tcase 'error':\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\t// node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL.\n\t\t\t\t\t\tif (locationURL !== null) {\n\t\t\t\t\t\t\t// handle corrupted header\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\theaders.set('Location', locationURL);\n\t\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t\t// istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request\n\t\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'follow':\n\t\t\t\t\t\t// HTTP-redirect fetch step 2\n\t\t\t\t\t\tif (locationURL === null) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 5\n\t\t\t\t\t\tif (request.counter >= request.follow) {\n\t\t\t\t\t\t\treject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 6 (counter increment)\n\t\t\t\t\t\t// Create a new Request object.\n\t\t\t\t\t\tconst requestOpts = {\n\t\t\t\t\t\t\theaders: new Headers(request.headers),\n\t\t\t\t\t\t\tfollow: request.follow,\n\t\t\t\t\t\t\tcounter: request.counter + 1,\n\t\t\t\t\t\t\tagent: request.agent,\n\t\t\t\t\t\t\tcompress: request.compress,\n\t\t\t\t\t\t\tmethod: request.method,\n\t\t\t\t\t\t\tbody: request.body,\n\t\t\t\t\t\t\tsignal: request.signal,\n\t\t\t\t\t\t\ttimeout: request.timeout,\n\t\t\t\t\t\t\tsize: request.size\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tif (!isDomainOrSubdomain(request.url, locationURL)) {\n\t\t\t\t\t\t\tfor (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) {\n\t\t\t\t\t\t\t\trequestOpts.headers.delete(name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 9\n\t\t\t\t\t\tif (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) {\n\t\t\t\t\t\t\treject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 11\n\t\t\t\t\t\tif (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') {\n\t\t\t\t\t\t\trequestOpts.method = 'GET';\n\t\t\t\t\t\t\trequestOpts.body = undefined;\n\t\t\t\t\t\t\trequestOpts.headers.delete('content-length');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 15\n\t\t\t\t\t\tresolve(fetch(new Request(locationURL, requestOpts)));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// prepare response\n\t\t\tres.once('end', function () {\n\t\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\t});\n\t\t\tlet body = res.pipe(new PassThrough$1());\n\n\t\t\tconst response_options = {\n\t\t\t\turl: request.url,\n\t\t\t\tstatus: res.statusCode,\n\t\t\t\tstatusText: res.statusMessage,\n\t\t\t\theaders: headers,\n\t\t\t\tsize: request.size,\n\t\t\t\ttimeout: request.timeout,\n\t\t\t\tcounter: request.counter\n\t\t\t};\n\n\t\t\t// HTTP-network fetch step 12.1.1.3\n\t\t\tconst codings = headers.get('Content-Encoding');\n\n\t\t\t// HTTP-network fetch step 12.1.1.4: handle content codings\n\n\t\t\t// in following scenarios we ignore compression support\n\t\t\t// 1. compression support is disabled\n\t\t\t// 2. HEAD request\n\t\t\t// 3. no Content-Encoding header\n\t\t\t// 4. no content response (204)\n\t\t\t// 5. content not modified response (304)\n\t\t\tif (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) {\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For Node v6+\n\t\t\t// Be less strict when decoding compressed responses, since sometimes\n\t\t\t// servers send slightly invalid responses that are still accepted\n\t\t\t// by common browsers.\n\t\t\t// Always using Z_SYNC_FLUSH is what cURL does.\n\t\t\tconst zlibOptions = {\n\t\t\t\tflush: zlib.Z_SYNC_FLUSH,\n\t\t\t\tfinishFlush: zlib.Z_SYNC_FLUSH\n\t\t\t};\n\n\t\t\t// for gzip\n\t\t\tif (codings == 'gzip' || codings == 'x-gzip') {\n\t\t\t\tbody = body.pipe(zlib.createGunzip(zlibOptions));\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for deflate\n\t\t\tif (codings == 'deflate' || codings == 'x-deflate') {\n\t\t\t\t// handle the infamous raw deflate response from old servers\n\t\t\t\t// a hack for old IIS and Apache servers\n\t\t\t\tconst raw = res.pipe(new PassThrough$1());\n\t\t\t\traw.once('data', function (chunk) {\n\t\t\t\t\t// see http://stackoverflow.com/questions/37519828\n\t\t\t\t\tif ((chunk[0] & 0x0F) === 0x08) {\n\t\t\t\t\t\tbody = body.pipe(zlib.createInflate());\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbody = body.pipe(zlib.createInflateRaw());\n\t\t\t\t\t}\n\t\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\t\tresolve(response);\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for br\n\t\t\tif (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') {\n\t\t\t\tbody = body.pipe(zlib.createBrotliDecompress());\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// otherwise, use response as-is\n\t\t\tresponse = new Response(body, response_options);\n\t\t\tresolve(response);\n\t\t});\n\n\t\twriteToStream(req, request);\n\t});\n}\n/**\n * Redirect code matching\n *\n * @param Number code Status code\n * @return Boolean\n */\nfetch.isRedirect = function (code) {\n\treturn code === 301 || code === 302 || code === 303 || code === 307 || code === 308;\n};\n\n// expose Promise\nfetch.Promise = global.Promise;\n\nmodule.exports = exports = fetch;\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.default = exports;\nexports.Headers = Headers;\nexports.Request = Request;\nexports.Response = Response;\nexports.FetchError = FetchError;\n\n\n/***/ }),\n\n/***/ 2299:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nvar punycode = __nccwpck_require__(4213);\nvar mappingTable = __nccwpck_require__(8661);\n\nvar PROCESSING_OPTIONS = {\n TRANSITIONAL: 0,\n NONTRANSITIONAL: 1\n};\n\nfunction normalize(str) { // fix bug in v8\n return str.split('\\u0000').map(function (s) { return s.normalize('NFC'); }).join('\\u0000');\n}\n\nfunction findStatus(val) {\n var start = 0;\n var end = mappingTable.length - 1;\n\n while (start <= end) {\n var mid = Math.floor((start + end) / 2);\n\n var target = mappingTable[mid];\n if (target[0][0] <= val && target[0][1] >= val) {\n return target;\n } else if (target[0][0] > val) {\n end = mid - 1;\n } else {\n start = mid + 1;\n }\n }\n\n return null;\n}\n\nvar regexAstralSymbols = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n\nfunction countSymbols(string) {\n return string\n // replace every surrogate pair with a BMP symbol\n .replace(regexAstralSymbols, '_')\n // then get the length\n .length;\n}\n\nfunction mapChars(domain_name, useSTD3, processing_option) {\n var hasError = false;\n var processed = \"\";\n\n var len = countSymbols(domain_name);\n for (var i = 0; i < len; ++i) {\n var codePoint = domain_name.codePointAt(i);\n var status = findStatus(codePoint);\n\n switch (status[1]) {\n case \"disallowed\":\n hasError = true;\n processed += String.fromCodePoint(codePoint);\n break;\n case \"ignored\":\n break;\n case \"mapped\":\n processed += String.fromCodePoint.apply(String, status[2]);\n break;\n case \"deviation\":\n if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) {\n processed += String.fromCodePoint.apply(String, status[2]);\n } else {\n processed += String.fromCodePoint(codePoint);\n }\n break;\n case \"valid\":\n processed += String.fromCodePoint(codePoint);\n break;\n case \"disallowed_STD3_mapped\":\n if (useSTD3) {\n hasError = true;\n processed += String.fromCodePoint(codePoint);\n } else {\n processed += String.fromCodePoint.apply(String, status[2]);\n }\n break;\n case \"disallowed_STD3_valid\":\n if (useSTD3) {\n hasError = true;\n }\n\n processed += String.fromCodePoint(codePoint);\n break;\n }\n }\n\n return {\n string: processed,\n error: hasError\n };\n}\n\nvar combiningMarksRegex = /[\\u0300-\\u036F\\u0483-\\u0489\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u08E4-\\u0903\\u093A-\\u093C\\u093E-\\u094F\\u0951-\\u0957\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u0A01-\\u0A03\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AE2\\u0AE3\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B62\\u0B63\\u0B82\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C00-\\u0C03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0C81-\\u0C83\\u0CBC\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CE2\\u0CE3\\u0D01-\\u0D03\\u0D3E-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0D62\\u0D63\\u0D82\\u0D83\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102B-\\u103E\\u1056-\\u1059\\u105E-\\u1060\\u1062-\\u1064\\u1067-\\u106D\\u1071-\\u1074\\u1082-\\u108D\\u108F\\u109A-\\u109D\\u135D-\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B4-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u192B\\u1930-\\u193B\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A17-\\u1A1B\\u1A55-\\u1A5E\\u1A60-\\u1A7C\\u1A7F\\u1AB0-\\u1ABE\\u1B00-\\u1B04\\u1B34-\\u1B44\\u1B6B-\\u1B73\\u1B80-\\u1B82\\u1BA1-\\u1BAD\\u1BE6-\\u1BF3\\u1C24-\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE8\\u1CED\\u1CF2-\\u1CF4\\u1CF8\\u1CF9\\u1DC0-\\u1DF5\\u1DFC-\\u1DFF\\u20D0-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F-\\uA672\\uA674-\\uA67D\\uA69F\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA823-\\uA827\\uA880\\uA881\\uA8B4-\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA953\\uA980-\\uA983\\uA9B3-\\uA9C0\\uA9E5\\uAA29-\\uAA36\\uAA43\\uAA4C\\uAA4D\\uAA7B-\\uAA7D\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uAAEB-\\uAAEF\\uAAF5\\uAAF6\\uABE3-\\uABEA\\uABEC\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2D]|\\uD800[\\uDDFD\\uDEE0\\uDF76-\\uDF7A]|\\uD802[\\uDE01-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE0F\\uDE38-\\uDE3A\\uDE3F\\uDEE5\\uDEE6]|\\uD804[\\uDC00-\\uDC02\\uDC38-\\uDC46\\uDC7F-\\uDC82\\uDCB0-\\uDCBA\\uDD00-\\uDD02\\uDD27-\\uDD34\\uDD73\\uDD80-\\uDD82\\uDDB3-\\uDDC0\\uDE2C-\\uDE37\\uDEDF-\\uDEEA\\uDF01-\\uDF03\\uDF3C\\uDF3E-\\uDF44\\uDF47\\uDF48\\uDF4B-\\uDF4D\\uDF57\\uDF62\\uDF63\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDCB0-\\uDCC3\\uDDAF-\\uDDB5\\uDDB8-\\uDDC0\\uDE30-\\uDE40\\uDEAB-\\uDEB7]|\\uD81A[\\uDEF0-\\uDEF4\\uDF30-\\uDF36]|\\uD81B[\\uDF51-\\uDF7E\\uDF8F-\\uDF92]|\\uD82F[\\uDC9D\\uDC9E]|\\uD834[\\uDD65-\\uDD69\\uDD6D-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\uD83A[\\uDCD0-\\uDCD6]|\\uDB40[\\uDD00-\\uDDEF]/;\n\nfunction validateLabel(label, processing_option) {\n if (label.substr(0, 4) === \"xn--\") {\n label = punycode.toUnicode(label);\n processing_option = PROCESSING_OPTIONS.NONTRANSITIONAL;\n }\n\n var error = false;\n\n if (normalize(label) !== label ||\n (label[3] === \"-\" && label[4] === \"-\") ||\n label[0] === \"-\" || label[label.length - 1] === \"-\" ||\n label.indexOf(\".\") !== -1 ||\n label.search(combiningMarksRegex) === 0) {\n error = true;\n }\n\n var len = countSymbols(label);\n for (var i = 0; i < len; ++i) {\n var status = findStatus(label.codePointAt(i));\n if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== \"valid\") ||\n (processing === PROCESSING_OPTIONS.NONTRANSITIONAL &&\n status[1] !== \"valid\" && status[1] !== \"deviation\")) {\n error = true;\n break;\n }\n }\n\n return {\n label: label,\n error: error\n };\n}\n\nfunction processing(domain_name, useSTD3, processing_option) {\n var result = mapChars(domain_name, useSTD3, processing_option);\n result.string = normalize(result.string);\n\n var labels = result.string.split(\".\");\n for (var i = 0; i < labels.length; ++i) {\n try {\n var validation = validateLabel(labels[i]);\n labels[i] = validation.label;\n result.error = result.error || validation.error;\n } catch(e) {\n result.error = true;\n }\n }\n\n return {\n string: labels.join(\".\"),\n error: result.error\n };\n}\n\nmodule.exports.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) {\n var result = processing(domain_name, useSTD3, processing_option);\n var labels = result.string.split(\".\");\n labels = labels.map(function(l) {\n try {\n return punycode.toASCII(l);\n } catch(e) {\n result.error = true;\n return l;\n }\n });\n\n if (verifyDnsLength) {\n var total = labels.slice(0, labels.length - 1).join(\".\").length;\n if (total.length > 253 || total.length === 0) {\n result.error = true;\n }\n\n for (var i=0; i < labels.length; ++i) {\n if (labels.length > 63 || labels.length === 0) {\n result.error = true;\n break;\n }\n }\n }\n\n if (result.error) return null;\n return labels.join(\".\");\n};\n\nmodule.exports.toUnicode = function(domain_name, useSTD3) {\n var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL);\n\n return {\n domain: result.string,\n error: result.error\n };\n};\n\nmodule.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS;\n\n\n/***/ }),\n\n/***/ 5871:\n/***/ ((module) => {\n\n\"use strict\";\n\n\nvar conversions = {};\nmodule.exports = conversions;\n\nfunction sign(x) {\n return x < 0 ? -1 : 1;\n}\n\nfunction evenRound(x) {\n // Round x to the nearest integer, choosing the even integer if it lies halfway between two.\n if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. floor)\n return Math.floor(x);\n } else {\n return Math.round(x);\n }\n}\n\nfunction createNumberConversion(bitLength, typeOpts) {\n if (!typeOpts.unsigned) {\n --bitLength;\n }\n const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength);\n const upperBound = Math.pow(2, bitLength) - 1;\n\n const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength);\n const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1);\n\n return function(V, opts) {\n if (!opts) opts = {};\n\n let x = +V;\n\n if (opts.enforceRange) {\n if (!Number.isFinite(x)) {\n throw new TypeError(\"Argument is not a finite number\");\n }\n\n x = sign(x) * Math.floor(Math.abs(x));\n if (x < lowerBound || x > upperBound) {\n throw new TypeError(\"Argument is not in byte range\");\n }\n\n return x;\n }\n\n if (!isNaN(x) && opts.clamp) {\n x = evenRound(x);\n\n if (x < lowerBound) x = lowerBound;\n if (x > upperBound) x = upperBound;\n return x;\n }\n\n if (!Number.isFinite(x) || x === 0) {\n return 0;\n }\n\n x = sign(x) * Math.floor(Math.abs(x));\n x = x % moduloVal;\n\n if (!typeOpts.unsigned && x >= moduloBound) {\n return x - moduloVal;\n } else if (typeOpts.unsigned) {\n if (x < 0) {\n x += moduloVal;\n } else if (x === -0) { // don't return negative zero\n return 0;\n }\n }\n\n return x;\n }\n}\n\nconversions[\"void\"] = function () {\n return undefined;\n};\n\nconversions[\"boolean\"] = function (val) {\n return !!val;\n};\n\nconversions[\"byte\"] = createNumberConversion(8, { unsigned: false });\nconversions[\"octet\"] = createNumberConversion(8, { unsigned: true });\n\nconversions[\"short\"] = createNumberConversion(16, { unsigned: false });\nconversions[\"unsigned short\"] = createNumberConversion(16, { unsigned: true });\n\nconversions[\"long\"] = createNumberConversion(32, { unsigned: false });\nconversions[\"unsigned long\"] = createNumberConversion(32, { unsigned: true });\n\nconversions[\"long long\"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 });\nconversions[\"unsigned long long\"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 });\n\nconversions[\"double\"] = function (V) {\n const x = +V;\n\n if (!Number.isFinite(x)) {\n throw new TypeError(\"Argument is not a finite floating-point value\");\n }\n\n return x;\n};\n\nconversions[\"unrestricted double\"] = function (V) {\n const x = +V;\n\n if (isNaN(x)) {\n throw new TypeError(\"Argument is NaN\");\n }\n\n return x;\n};\n\n// not quite valid, but good enough for JS\nconversions[\"float\"] = conversions[\"double\"];\nconversions[\"unrestricted float\"] = conversions[\"unrestricted double\"];\n\nconversions[\"DOMString\"] = function (V, opts) {\n if (!opts) opts = {};\n\n if (opts.treatNullAsEmptyString && V === null) {\n return \"\";\n }\n\n return String(V);\n};\n\nconversions[\"ByteString\"] = function (V, opts) {\n const x = String(V);\n let c = undefined;\n for (let i = 0; (c = x.codePointAt(i)) !== undefined; ++i) {\n if (c > 255) {\n throw new TypeError(\"Argument is not a valid bytestring\");\n }\n }\n\n return x;\n};\n\nconversions[\"USVString\"] = function (V) {\n const S = String(V);\n const n = S.length;\n const U = [];\n for (let i = 0; i < n; ++i) {\n const c = S.charCodeAt(i);\n if (c < 0xD800 || c > 0xDFFF) {\n U.push(String.fromCodePoint(c));\n } else if (0xDC00 <= c && c <= 0xDFFF) {\n U.push(String.fromCodePoint(0xFFFD));\n } else {\n if (i === n - 1) {\n U.push(String.fromCodePoint(0xFFFD));\n } else {\n const d = S.charCodeAt(i + 1);\n if (0xDC00 <= d && d <= 0xDFFF) {\n const a = c & 0x3FF;\n const b = d & 0x3FF;\n U.push(String.fromCodePoint((2 << 15) + (2 << 9) * a + b));\n ++i;\n } else {\n U.push(String.fromCodePoint(0xFFFD));\n }\n }\n }\n }\n\n return U.join('');\n};\n\nconversions[\"Date\"] = function (V, opts) {\n if (!(V instanceof Date)) {\n throw new TypeError(\"Argument is not a Date object\");\n }\n if (isNaN(V)) {\n return undefined;\n }\n\n return V;\n};\n\nconversions[\"RegExp\"] = function (V, opts) {\n if (!(V instanceof RegExp)) {\n V = new RegExp(V);\n }\n\n return V;\n};\n\n\n/***/ }),\n\n/***/ 8262:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\nconst usm = __nccwpck_require__(33);\n\nexports.implementation = class URLImpl {\n constructor(constructorArgs) {\n const url = constructorArgs[0];\n const base = constructorArgs[1];\n\n let parsedBase = null;\n if (base !== undefined) {\n parsedBase = usm.basicURLParse(base);\n if (parsedBase === \"failure\") {\n throw new TypeError(\"Invalid base URL\");\n }\n }\n\n const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase });\n if (parsedURL === \"failure\") {\n throw new TypeError(\"Invalid URL\");\n }\n\n this._url = parsedURL;\n\n // TODO: query stuff\n }\n\n get href() {\n return usm.serializeURL(this._url);\n }\n\n set href(v) {\n const parsedURL = usm.basicURLParse(v);\n if (parsedURL === \"failure\") {\n throw new TypeError(\"Invalid URL\");\n }\n\n this._url = parsedURL;\n }\n\n get origin() {\n return usm.serializeURLOrigin(this._url);\n }\n\n get protocol() {\n return this._url.scheme + \":\";\n }\n\n set protocol(v) {\n usm.basicURLParse(v + \":\", { url: this._url, stateOverride: \"scheme start\" });\n }\n\n get username() {\n return this._url.username;\n }\n\n set username(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n usm.setTheUsername(this._url, v);\n }\n\n get password() {\n return this._url.password;\n }\n\n set password(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n usm.setThePassword(this._url, v);\n }\n\n get host() {\n const url = this._url;\n\n if (url.host === null) {\n return \"\";\n }\n\n if (url.port === null) {\n return usm.serializeHost(url.host);\n }\n\n return usm.serializeHost(url.host) + \":\" + usm.serializeInteger(url.port);\n }\n\n set host(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n usm.basicURLParse(v, { url: this._url, stateOverride: \"host\" });\n }\n\n get hostname() {\n if (this._url.host === null) {\n return \"\";\n }\n\n return usm.serializeHost(this._url.host);\n }\n\n set hostname(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n usm.basicURLParse(v, { url: this._url, stateOverride: \"hostname\" });\n }\n\n get port() {\n if (this._url.port === null) {\n return \"\";\n }\n\n return usm.serializeInteger(this._url.port);\n }\n\n set port(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n if (v === \"\") {\n this._url.port = null;\n } else {\n usm.basicURLParse(v, { url: this._url, stateOverride: \"port\" });\n }\n }\n\n get pathname() {\n if (this._url.cannotBeABaseURL) {\n return this._url.path[0];\n }\n\n if (this._url.path.length === 0) {\n return \"\";\n }\n\n return \"/\" + this._url.path.join(\"/\");\n }\n\n set pathname(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n this._url.path = [];\n usm.basicURLParse(v, { url: this._url, stateOverride: \"path start\" });\n }\n\n get search() {\n if (this._url.query === null || this._url.query === \"\") {\n return \"\";\n }\n\n return \"?\" + this._url.query;\n }\n\n set search(v) {\n // TODO: query stuff\n\n const url = this._url;\n\n if (v === \"\") {\n url.query = null;\n return;\n }\n\n const input = v[0] === \"?\" ? v.substring(1) : v;\n url.query = \"\";\n usm.basicURLParse(input, { url, stateOverride: \"query\" });\n }\n\n get hash() {\n if (this._url.fragment === null || this._url.fragment === \"\") {\n return \"\";\n }\n\n return \"#\" + this._url.fragment;\n }\n\n set hash(v) {\n if (v === \"\") {\n this._url.fragment = null;\n return;\n }\n\n const input = v[0] === \"#\" ? v.substring(1) : v;\n this._url.fragment = \"\";\n usm.basicURLParse(input, { url: this._url, stateOverride: \"fragment\" });\n }\n\n toJSON() {\n return this.href;\n }\n};\n\n\n/***/ }),\n\n/***/ 653:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nconst conversions = __nccwpck_require__(5871);\nconst utils = __nccwpck_require__(276);\nconst Impl = __nccwpck_require__(8262);\n\nconst impl = utils.implSymbol;\n\nfunction URL(url) {\n if (!this || this[impl] || !(this instanceof URL)) {\n throw new TypeError(\"Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.\");\n }\n if (arguments.length < 1) {\n throw new TypeError(\"Failed to construct 'URL': 1 argument required, but only \" + arguments.length + \" present.\");\n }\n const args = [];\n for (let i = 0; i < arguments.length && i < 2; ++i) {\n args[i] = arguments[i];\n }\n args[0] = conversions[\"USVString\"](args[0]);\n if (args[1] !== undefined) {\n args[1] = conversions[\"USVString\"](args[1]);\n }\n\n module.exports.setup(this, args);\n}\n\nURL.prototype.toJSON = function toJSON() {\n if (!this || !module.exports.is(this)) {\n throw new TypeError(\"Illegal invocation\");\n }\n const args = [];\n for (let i = 0; i < arguments.length && i < 0; ++i) {\n args[i] = arguments[i];\n }\n return this[impl].toJSON.apply(this[impl], args);\n};\nObject.defineProperty(URL.prototype, \"href\", {\n get() {\n return this[impl].href;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].href = V;\n },\n enumerable: true,\n configurable: true\n});\n\nURL.prototype.toString = function () {\n if (!this || !module.exports.is(this)) {\n throw new TypeError(\"Illegal invocation\");\n }\n return this.href;\n};\n\nObject.defineProperty(URL.prototype, \"origin\", {\n get() {\n return this[impl].origin;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"protocol\", {\n get() {\n return this[impl].protocol;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].protocol = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"username\", {\n get() {\n return this[impl].username;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].username = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"password\", {\n get() {\n return this[impl].password;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].password = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"host\", {\n get() {\n return this[impl].host;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].host = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"hostname\", {\n get() {\n return this[impl].hostname;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].hostname = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"port\", {\n get() {\n return this[impl].port;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].port = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"pathname\", {\n get() {\n return this[impl].pathname;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].pathname = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"search\", {\n get() {\n return this[impl].search;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].search = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"hash\", {\n get() {\n return this[impl].hash;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].hash = V;\n },\n enumerable: true,\n configurable: true\n});\n\n\nmodule.exports = {\n is(obj) {\n return !!obj && obj[impl] instanceof Impl.implementation;\n },\n create(constructorArgs, privateData) {\n let obj = Object.create(URL.prototype);\n this.setup(obj, constructorArgs, privateData);\n return obj;\n },\n setup(obj, constructorArgs, privateData) {\n if (!privateData) privateData = {};\n privateData.wrapper = obj;\n\n obj[impl] = new Impl.implementation(constructorArgs, privateData);\n obj[impl][utils.wrapperSymbol] = obj;\n },\n interface: URL,\n expose: {\n Window: { URL: URL },\n Worker: { URL: URL }\n }\n};\n\n\n\n/***/ }),\n\n/***/ 3323:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nexports.URL = __nccwpck_require__(653).interface;\nexports.serializeURL = __nccwpck_require__(33).serializeURL;\nexports.serializeURLOrigin = __nccwpck_require__(33).serializeURLOrigin;\nexports.basicURLParse = __nccwpck_require__(33).basicURLParse;\nexports.setTheUsername = __nccwpck_require__(33).setTheUsername;\nexports.setThePassword = __nccwpck_require__(33).setThePassword;\nexports.serializeHost = __nccwpck_require__(33).serializeHost;\nexports.serializeInteger = __nccwpck_require__(33).serializeInteger;\nexports.parseURL = __nccwpck_require__(33).parseURL;\n\n\n/***/ }),\n\n/***/ 33:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\n\"use strict\";\n\r\nconst punycode = __nccwpck_require__(4213);\r\nconst tr46 = __nccwpck_require__(2299);\r\n\r\nconst specialSchemes = {\r\n ftp: 21,\r\n file: null,\r\n gopher: 70,\r\n http: 80,\r\n https: 443,\r\n ws: 80,\r\n wss: 443\r\n};\r\n\r\nconst failure = Symbol(\"failure\");\r\n\r\nfunction countSymbols(str) {\r\n return punycode.ucs2.decode(str).length;\r\n}\r\n\r\nfunction at(input, idx) {\r\n const c = input[idx];\r\n return isNaN(c) ? undefined : String.fromCodePoint(c);\r\n}\r\n\r\nfunction isASCIIDigit(c) {\r\n return c >= 0x30 && c <= 0x39;\r\n}\r\n\r\nfunction isASCIIAlpha(c) {\r\n return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A);\r\n}\r\n\r\nfunction isASCIIAlphanumeric(c) {\r\n return isASCIIAlpha(c) || isASCIIDigit(c);\r\n}\r\n\r\nfunction isASCIIHex(c) {\r\n return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66);\r\n}\r\n\r\nfunction isSingleDot(buffer) {\r\n return buffer === \".\" || buffer.toLowerCase() === \"%2e\";\r\n}\r\n\r\nfunction isDoubleDot(buffer) {\r\n buffer = buffer.toLowerCase();\r\n return buffer === \"..\" || buffer === \"%2e.\" || buffer === \".%2e\" || buffer === \"%2e%2e\";\r\n}\r\n\r\nfunction isWindowsDriveLetterCodePoints(cp1, cp2) {\r\n return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124);\r\n}\r\n\r\nfunction isWindowsDriveLetterString(string) {\r\n return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === \":\" || string[1] === \"|\");\r\n}\r\n\r\nfunction isNormalizedWindowsDriveLetterString(string) {\r\n return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === \":\";\r\n}\r\n\r\nfunction containsForbiddenHostCodePoint(string) {\r\n return string.search(/\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|%|\\/|:|\\?|@|\\[|\\\\|\\]/) !== -1;\r\n}\r\n\r\nfunction containsForbiddenHostCodePointExcludingPercent(string) {\r\n return string.search(/\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|\\/|:|\\?|@|\\[|\\\\|\\]/) !== -1;\r\n}\r\n\r\nfunction isSpecialScheme(scheme) {\r\n return specialSchemes[scheme] !== undefined;\r\n}\r\n\r\nfunction isSpecial(url) {\r\n return isSpecialScheme(url.scheme);\r\n}\r\n\r\nfunction defaultPort(scheme) {\r\n return specialSchemes[scheme];\r\n}\r\n\r\nfunction percentEncode(c) {\r\n let hex = c.toString(16).toUpperCase();\r\n if (hex.length === 1) {\r\n hex = \"0\" + hex;\r\n }\r\n\r\n return \"%\" + hex;\r\n}\r\n\r\nfunction utf8PercentEncode(c) {\r\n const buf = new Buffer(c);\r\n\r\n let str = \"\";\r\n\r\n for (let i = 0; i < buf.length; ++i) {\r\n str += percentEncode(buf[i]);\r\n }\r\n\r\n return str;\r\n}\r\n\r\nfunction utf8PercentDecode(str) {\r\n const input = new Buffer(str);\r\n const output = [];\r\n for (let i = 0; i < input.length; ++i) {\r\n if (input[i] !== 37) {\r\n output.push(input[i]);\r\n } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) {\r\n output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16));\r\n i += 2;\r\n } else {\r\n output.push(input[i]);\r\n }\r\n }\r\n return new Buffer(output).toString();\r\n}\r\n\r\nfunction isC0ControlPercentEncode(c) {\r\n return c <= 0x1F || c > 0x7E;\r\n}\r\n\r\nconst extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]);\r\nfunction isPathPercentEncode(c) {\r\n return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c);\r\n}\r\n\r\nconst extraUserinfoPercentEncodeSet =\r\n new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]);\r\nfunction isUserinfoPercentEncode(c) {\r\n return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c);\r\n}\r\n\r\nfunction percentEncodeChar(c, encodeSetPredicate) {\r\n const cStr = String.fromCodePoint(c);\r\n\r\n if (encodeSetPredicate(c)) {\r\n return utf8PercentEncode(cStr);\r\n }\r\n\r\n return cStr;\r\n}\r\n\r\nfunction parseIPv4Number(input) {\r\n let R = 10;\r\n\r\n if (input.length >= 2 && input.charAt(0) === \"0\" && input.charAt(1).toLowerCase() === \"x\") {\r\n input = input.substring(2);\r\n R = 16;\r\n } else if (input.length >= 2 && input.charAt(0) === \"0\") {\r\n input = input.substring(1);\r\n R = 8;\r\n }\r\n\r\n if (input === \"\") {\r\n return 0;\r\n }\r\n\r\n const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/);\r\n if (regex.test(input)) {\r\n return failure;\r\n }\r\n\r\n return parseInt(input, R);\r\n}\r\n\r\nfunction parseIPv4(input) {\r\n const parts = input.split(\".\");\r\n if (parts[parts.length - 1] === \"\") {\r\n if (parts.length > 1) {\r\n parts.pop();\r\n }\r\n }\r\n\r\n if (parts.length > 4) {\r\n return input;\r\n }\r\n\r\n const numbers = [];\r\n for (const part of parts) {\r\n if (part === \"\") {\r\n return input;\r\n }\r\n const n = parseIPv4Number(part);\r\n if (n === failure) {\r\n return input;\r\n }\r\n\r\n numbers.push(n);\r\n }\r\n\r\n for (let i = 0; i < numbers.length - 1; ++i) {\r\n if (numbers[i] > 255) {\r\n return failure;\r\n }\r\n }\r\n if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) {\r\n return failure;\r\n }\r\n\r\n let ipv4 = numbers.pop();\r\n let counter = 0;\r\n\r\n for (const n of numbers) {\r\n ipv4 += n * Math.pow(256, 3 - counter);\r\n ++counter;\r\n }\r\n\r\n return ipv4;\r\n}\r\n\r\nfunction serializeIPv4(address) {\r\n let output = \"\";\r\n let n = address;\r\n\r\n for (let i = 1; i <= 4; ++i) {\r\n output = String(n % 256) + output;\r\n if (i !== 4) {\r\n output = \".\" + output;\r\n }\r\n n = Math.floor(n / 256);\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction parseIPv6(input) {\r\n const address = [0, 0, 0, 0, 0, 0, 0, 0];\r\n let pieceIndex = 0;\r\n let compress = null;\r\n let pointer = 0;\r\n\r\n input = punycode.ucs2.decode(input);\r\n\r\n if (input[pointer] === 58) {\r\n if (input[pointer + 1] !== 58) {\r\n return failure;\r\n }\r\n\r\n pointer += 2;\r\n ++pieceIndex;\r\n compress = pieceIndex;\r\n }\r\n\r\n while (pointer < input.length) {\r\n if (pieceIndex === 8) {\r\n return failure;\r\n }\r\n\r\n if (input[pointer] === 58) {\r\n if (compress !== null) {\r\n return failure;\r\n }\r\n ++pointer;\r\n ++pieceIndex;\r\n compress = pieceIndex;\r\n continue;\r\n }\r\n\r\n let value = 0;\r\n let length = 0;\r\n\r\n while (length < 4 && isASCIIHex(input[pointer])) {\r\n value = value * 0x10 + parseInt(at(input, pointer), 16);\r\n ++pointer;\r\n ++length;\r\n }\r\n\r\n if (input[pointer] === 46) {\r\n if (length === 0) {\r\n return failure;\r\n }\r\n\r\n pointer -= length;\r\n\r\n if (pieceIndex > 6) {\r\n return failure;\r\n }\r\n\r\n let numbersSeen = 0;\r\n\r\n while (input[pointer] !== undefined) {\r\n let ipv4Piece = null;\r\n\r\n if (numbersSeen > 0) {\r\n if (input[pointer] === 46 && numbersSeen < 4) {\r\n ++pointer;\r\n } else {\r\n return failure;\r\n }\r\n }\r\n\r\n if (!isASCIIDigit(input[pointer])) {\r\n return failure;\r\n }\r\n\r\n while (isASCIIDigit(input[pointer])) {\r\n const number = parseInt(at(input, pointer));\r\n if (ipv4Piece === null) {\r\n ipv4Piece = number;\r\n } else if (ipv4Piece === 0) {\r\n return failure;\r\n } else {\r\n ipv4Piece = ipv4Piece * 10 + number;\r\n }\r\n if (ipv4Piece > 255) {\r\n return failure;\r\n }\r\n ++pointer;\r\n }\r\n\r\n address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece;\r\n\r\n ++numbersSeen;\r\n\r\n if (numbersSeen === 2 || numbersSeen === 4) {\r\n ++pieceIndex;\r\n }\r\n }\r\n\r\n if (numbersSeen !== 4) {\r\n return failure;\r\n }\r\n\r\n break;\r\n } else if (input[pointer] === 58) {\r\n ++pointer;\r\n if (input[pointer] === undefined) {\r\n return failure;\r\n }\r\n } else if (input[pointer] !== undefined) {\r\n return failure;\r\n }\r\n\r\n address[pieceIndex] = value;\r\n ++pieceIndex;\r\n }\r\n\r\n if (compress !== null) {\r\n let swaps = pieceIndex - compress;\r\n pieceIndex = 7;\r\n while (pieceIndex !== 0 && swaps > 0) {\r\n const temp = address[compress + swaps - 1];\r\n address[compress + swaps - 1] = address[pieceIndex];\r\n address[pieceIndex] = temp;\r\n --pieceIndex;\r\n --swaps;\r\n }\r\n } else if (compress === null && pieceIndex !== 8) {\r\n return failure;\r\n }\r\n\r\n return address;\r\n}\r\n\r\nfunction serializeIPv6(address) {\r\n let output = \"\";\r\n const seqResult = findLongestZeroSequence(address);\r\n const compress = seqResult.idx;\r\n let ignore0 = false;\r\n\r\n for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) {\r\n if (ignore0 && address[pieceIndex] === 0) {\r\n continue;\r\n } else if (ignore0) {\r\n ignore0 = false;\r\n }\r\n\r\n if (compress === pieceIndex) {\r\n const separator = pieceIndex === 0 ? \"::\" : \":\";\r\n output += separator;\r\n ignore0 = true;\r\n continue;\r\n }\r\n\r\n output += address[pieceIndex].toString(16);\r\n\r\n if (pieceIndex !== 7) {\r\n output += \":\";\r\n }\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction parseHost(input, isSpecialArg) {\r\n if (input[0] === \"[\") {\r\n if (input[input.length - 1] !== \"]\") {\r\n return failure;\r\n }\r\n\r\n return parseIPv6(input.substring(1, input.length - 1));\r\n }\r\n\r\n if (!isSpecialArg) {\r\n return parseOpaqueHost(input);\r\n }\r\n\r\n const domain = utf8PercentDecode(input);\r\n const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false);\r\n if (asciiDomain === null) {\r\n return failure;\r\n }\r\n\r\n if (containsForbiddenHostCodePoint(asciiDomain)) {\r\n return failure;\r\n }\r\n\r\n const ipv4Host = parseIPv4(asciiDomain);\r\n if (typeof ipv4Host === \"number\" || ipv4Host === failure) {\r\n return ipv4Host;\r\n }\r\n\r\n return asciiDomain;\r\n}\r\n\r\nfunction parseOpaqueHost(input) {\r\n if (containsForbiddenHostCodePointExcludingPercent(input)) {\r\n return failure;\r\n }\r\n\r\n let output = \"\";\r\n const decoded = punycode.ucs2.decode(input);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n output += percentEncodeChar(decoded[i], isC0ControlPercentEncode);\r\n }\r\n return output;\r\n}\r\n\r\nfunction findLongestZeroSequence(arr) {\r\n let maxIdx = null;\r\n let maxLen = 1; // only find elements > 1\r\n let currStart = null;\r\n let currLen = 0;\r\n\r\n for (let i = 0; i < arr.length; ++i) {\r\n if (arr[i] !== 0) {\r\n if (currLen > maxLen) {\r\n maxIdx = currStart;\r\n maxLen = currLen;\r\n }\r\n\r\n currStart = null;\r\n currLen = 0;\r\n } else {\r\n if (currStart === null) {\r\n currStart = i;\r\n }\r\n ++currLen;\r\n }\r\n }\r\n\r\n // if trailing zeros\r\n if (currLen > maxLen) {\r\n maxIdx = currStart;\r\n maxLen = currLen;\r\n }\r\n\r\n return {\r\n idx: maxIdx,\r\n len: maxLen\r\n };\r\n}\r\n\r\nfunction serializeHost(host) {\r\n if (typeof host === \"number\") {\r\n return serializeIPv4(host);\r\n }\r\n\r\n // IPv6 serializer\r\n if (host instanceof Array) {\r\n return \"[\" + serializeIPv6(host) + \"]\";\r\n }\r\n\r\n return host;\r\n}\r\n\r\nfunction trimControlChars(url) {\r\n return url.replace(/^[\\u0000-\\u001F\\u0020]+|[\\u0000-\\u001F\\u0020]+$/g, \"\");\r\n}\r\n\r\nfunction trimTabAndNewline(url) {\r\n return url.replace(/\\u0009|\\u000A|\\u000D/g, \"\");\r\n}\r\n\r\nfunction shortenPath(url) {\r\n const path = url.path;\r\n if (path.length === 0) {\r\n return;\r\n }\r\n if (url.scheme === \"file\" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) {\r\n return;\r\n }\r\n\r\n path.pop();\r\n}\r\n\r\nfunction includesCredentials(url) {\r\n return url.username !== \"\" || url.password !== \"\";\r\n}\r\n\r\nfunction cannotHaveAUsernamePasswordPort(url) {\r\n return url.host === null || url.host === \"\" || url.cannotBeABaseURL || url.scheme === \"file\";\r\n}\r\n\r\nfunction isNormalizedWindowsDriveLetter(string) {\r\n return /^[A-Za-z]:$/.test(string);\r\n}\r\n\r\nfunction URLStateMachine(input, base, encodingOverride, url, stateOverride) {\r\n this.pointer = 0;\r\n this.input = input;\r\n this.base = base || null;\r\n this.encodingOverride = encodingOverride || \"utf-8\";\r\n this.stateOverride = stateOverride;\r\n this.url = url;\r\n this.failure = false;\r\n this.parseError = false;\r\n\r\n if (!this.url) {\r\n this.url = {\r\n scheme: \"\",\r\n username: \"\",\r\n password: \"\",\r\n host: null,\r\n port: null,\r\n path: [],\r\n query: null,\r\n fragment: null,\r\n\r\n cannotBeABaseURL: false\r\n };\r\n\r\n const res = trimControlChars(this.input);\r\n if (res !== this.input) {\r\n this.parseError = true;\r\n }\r\n this.input = res;\r\n }\r\n\r\n const res = trimTabAndNewline(this.input);\r\n if (res !== this.input) {\r\n this.parseError = true;\r\n }\r\n this.input = res;\r\n\r\n this.state = stateOverride || \"scheme start\";\r\n\r\n this.buffer = \"\";\r\n this.atFlag = false;\r\n this.arrFlag = false;\r\n this.passwordTokenSeenFlag = false;\r\n\r\n this.input = punycode.ucs2.decode(this.input);\r\n\r\n for (; this.pointer <= this.input.length; ++this.pointer) {\r\n const c = this.input[this.pointer];\r\n const cStr = isNaN(c) ? undefined : String.fromCodePoint(c);\r\n\r\n // exec state machine\r\n const ret = this[\"parse \" + this.state](c, cStr);\r\n if (!ret) {\r\n break; // terminate algorithm\r\n } else if (ret === failure) {\r\n this.failure = true;\r\n break;\r\n }\r\n }\r\n}\r\n\r\nURLStateMachine.prototype[\"parse scheme start\"] = function parseSchemeStart(c, cStr) {\r\n if (isASCIIAlpha(c)) {\r\n this.buffer += cStr.toLowerCase();\r\n this.state = \"scheme\";\r\n } else if (!this.stateOverride) {\r\n this.state = \"no scheme\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse scheme\"] = function parseScheme(c, cStr) {\r\n if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) {\r\n this.buffer += cStr.toLowerCase();\r\n } else if (c === 58) {\r\n if (this.stateOverride) {\r\n if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) {\r\n return false;\r\n }\r\n\r\n if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) {\r\n return false;\r\n }\r\n\r\n if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === \"file\") {\r\n return false;\r\n }\r\n\r\n if (this.url.scheme === \"file\" && (this.url.host === \"\" || this.url.host === null)) {\r\n return false;\r\n }\r\n }\r\n this.url.scheme = this.buffer;\r\n this.buffer = \"\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n if (this.url.scheme === \"file\") {\r\n if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file\";\r\n } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) {\r\n this.state = \"special relative or authority\";\r\n } else if (isSpecial(this.url)) {\r\n this.state = \"special authority slashes\";\r\n } else if (this.input[this.pointer + 1] === 47) {\r\n this.state = \"path or authority\";\r\n ++this.pointer;\r\n } else {\r\n this.url.cannotBeABaseURL = true;\r\n this.url.path.push(\"\");\r\n this.state = \"cannot-be-a-base-URL path\";\r\n }\r\n } else if (!this.stateOverride) {\r\n this.buffer = \"\";\r\n this.state = \"no scheme\";\r\n this.pointer = -1;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse no scheme\"] = function parseNoScheme(c) {\r\n if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) {\r\n return failure;\r\n } else if (this.base.cannotBeABaseURL && c === 35) {\r\n this.url.scheme = this.base.scheme;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.url.cannotBeABaseURL = true;\r\n this.state = \"fragment\";\r\n } else if (this.base.scheme === \"file\") {\r\n this.state = \"file\";\r\n --this.pointer;\r\n } else {\r\n this.state = \"relative\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special relative or authority\"] = function parseSpecialRelativeOrAuthority(c) {\r\n if (c === 47 && this.input[this.pointer + 1] === 47) {\r\n this.state = \"special authority ignore slashes\";\r\n ++this.pointer;\r\n } else {\r\n this.parseError = true;\r\n this.state = \"relative\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path or authority\"] = function parsePathOrAuthority(c) {\r\n if (c === 47) {\r\n this.state = \"authority\";\r\n } else {\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse relative\"] = function parseRelative(c) {\r\n this.url.scheme = this.base.scheme;\r\n if (isNaN(c)) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n } else if (c === 47) {\r\n this.state = \"relative slash\";\r\n } else if (c === 63) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else if (isSpecial(this.url) && c === 92) {\r\n this.parseError = true;\r\n this.state = \"relative slash\";\r\n } else {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice(0, this.base.path.length - 1);\r\n\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse relative slash\"] = function parseRelativeSlash(c) {\r\n if (isSpecial(this.url) && (c === 47 || c === 92)) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"special authority ignore slashes\";\r\n } else if (c === 47) {\r\n this.state = \"authority\";\r\n } else {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special authority slashes\"] = function parseSpecialAuthoritySlashes(c) {\r\n if (c === 47 && this.input[this.pointer + 1] === 47) {\r\n this.state = \"special authority ignore slashes\";\r\n ++this.pointer;\r\n } else {\r\n this.parseError = true;\r\n this.state = \"special authority ignore slashes\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special authority ignore slashes\"] = function parseSpecialAuthorityIgnoreSlashes(c) {\r\n if (c !== 47 && c !== 92) {\r\n this.state = \"authority\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse authority\"] = function parseAuthority(c, cStr) {\r\n if (c === 64) {\r\n this.parseError = true;\r\n if (this.atFlag) {\r\n this.buffer = \"%40\" + this.buffer;\r\n }\r\n this.atFlag = true;\r\n\r\n // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars\r\n const len = countSymbols(this.buffer);\r\n for (let pointer = 0; pointer < len; ++pointer) {\r\n const codePoint = this.buffer.codePointAt(pointer);\r\n\r\n if (codePoint === 58 && !this.passwordTokenSeenFlag) {\r\n this.passwordTokenSeenFlag = true;\r\n continue;\r\n }\r\n const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode);\r\n if (this.passwordTokenSeenFlag) {\r\n this.url.password += encodedCodePoints;\r\n } else {\r\n this.url.username += encodedCodePoints;\r\n }\r\n }\r\n this.buffer = \"\";\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92)) {\r\n if (this.atFlag && this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n this.pointer -= countSymbols(this.buffer) + 1;\r\n this.buffer = \"\";\r\n this.state = \"host\";\r\n } else {\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse hostname\"] =\r\nURLStateMachine.prototype[\"parse host\"] = function parseHostName(c, cStr) {\r\n if (this.stateOverride && this.url.scheme === \"file\") {\r\n --this.pointer;\r\n this.state = \"file host\";\r\n } else if (c === 58 && !this.arrFlag) {\r\n if (this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n const host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n\r\n this.url.host = host;\r\n this.buffer = \"\";\r\n this.state = \"port\";\r\n if (this.stateOverride === \"hostname\") {\r\n return false;\r\n }\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92)) {\r\n --this.pointer;\r\n if (isSpecial(this.url) && this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n } else if (this.stateOverride && this.buffer === \"\" &&\r\n (includesCredentials(this.url) || this.url.port !== null)) {\r\n this.parseError = true;\r\n return false;\r\n }\r\n\r\n const host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n\r\n this.url.host = host;\r\n this.buffer = \"\";\r\n this.state = \"path start\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n } else {\r\n if (c === 91) {\r\n this.arrFlag = true;\r\n } else if (c === 93) {\r\n this.arrFlag = false;\r\n }\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse port\"] = function parsePort(c, cStr) {\r\n if (isASCIIDigit(c)) {\r\n this.buffer += cStr;\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92) ||\r\n this.stateOverride) {\r\n if (this.buffer !== \"\") {\r\n const port = parseInt(this.buffer);\r\n if (port > Math.pow(2, 16) - 1) {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n this.url.port = port === defaultPort(this.url.scheme) ? null : port;\r\n this.buffer = \"\";\r\n }\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n this.state = \"path start\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nconst fileOtherwiseCodePoints = new Set([47, 92, 63, 35]);\r\n\r\nURLStateMachine.prototype[\"parse file\"] = function parseFile(c) {\r\n this.url.scheme = \"file\";\r\n\r\n if (c === 47 || c === 92) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file slash\";\r\n } else if (this.base !== null && this.base.scheme === \"file\") {\r\n if (isNaN(c)) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n } else if (c === 63) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else {\r\n if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points\r\n !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) ||\r\n (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points\r\n !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n shortenPath(this.url);\r\n } else {\r\n this.parseError = true;\r\n }\r\n\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n } else {\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse file slash\"] = function parseFileSlash(c) {\r\n if (c === 47 || c === 92) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file host\";\r\n } else {\r\n if (this.base !== null && this.base.scheme === \"file\") {\r\n if (isNormalizedWindowsDriveLetterString(this.base.path[0])) {\r\n this.url.path.push(this.base.path[0]);\r\n } else {\r\n this.url.host = this.base.host;\r\n }\r\n }\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse file host\"] = function parseFileHost(c, cStr) {\r\n if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) {\r\n --this.pointer;\r\n if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) {\r\n this.parseError = true;\r\n this.state = \"path\";\r\n } else if (this.buffer === \"\") {\r\n this.url.host = \"\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n this.state = \"path start\";\r\n } else {\r\n let host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n if (host === \"localhost\") {\r\n host = \"\";\r\n }\r\n this.url.host = host;\r\n\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n\r\n this.buffer = \"\";\r\n this.state = \"path start\";\r\n }\r\n } else {\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path start\"] = function parsePathStart(c) {\r\n if (isSpecial(this.url)) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"path\";\r\n\r\n if (c !== 47 && c !== 92) {\r\n --this.pointer;\r\n }\r\n } else if (!this.stateOverride && c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (!this.stateOverride && c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else if (c !== undefined) {\r\n this.state = \"path\";\r\n if (c !== 47) {\r\n --this.pointer;\r\n }\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path\"] = function parsePath(c) {\r\n if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) ||\r\n (!this.stateOverride && (c === 63 || c === 35))) {\r\n if (isSpecial(this.url) && c === 92) {\r\n this.parseError = true;\r\n }\r\n\r\n if (isDoubleDot(this.buffer)) {\r\n shortenPath(this.url);\r\n if (c !== 47 && !(isSpecial(this.url) && c === 92)) {\r\n this.url.path.push(\"\");\r\n }\r\n } else if (isSingleDot(this.buffer) && c !== 47 &&\r\n !(isSpecial(this.url) && c === 92)) {\r\n this.url.path.push(\"\");\r\n } else if (!isSingleDot(this.buffer)) {\r\n if (this.url.scheme === \"file\" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) {\r\n if (this.url.host !== \"\" && this.url.host !== null) {\r\n this.parseError = true;\r\n this.url.host = \"\";\r\n }\r\n this.buffer = this.buffer[0] + \":\";\r\n }\r\n this.url.path.push(this.buffer);\r\n }\r\n this.buffer = \"\";\r\n if (this.url.scheme === \"file\" && (c === undefined || c === 63 || c === 35)) {\r\n while (this.url.path.length > 1 && this.url.path[0] === \"\") {\r\n this.parseError = true;\r\n this.url.path.shift();\r\n }\r\n }\r\n if (c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n }\r\n if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n }\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.buffer += percentEncodeChar(c, isPathPercentEncode);\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse cannot-be-a-base-URL path\"] = function parseCannotBeABaseURLPath(c) {\r\n if (c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else {\r\n // TODO: Add: not a URL code point\r\n if (!isNaN(c) && c !== 37) {\r\n this.parseError = true;\r\n }\r\n\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n if (!isNaN(c)) {\r\n this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode);\r\n }\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse query\"] = function parseQuery(c, cStr) {\r\n if (isNaN(c) || (!this.stateOverride && c === 35)) {\r\n if (!isSpecial(this.url) || this.url.scheme === \"ws\" || this.url.scheme === \"wss\") {\r\n this.encodingOverride = \"utf-8\";\r\n }\r\n\r\n const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead\r\n for (let i = 0; i < buffer.length; ++i) {\r\n if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 ||\r\n buffer[i] === 0x3C || buffer[i] === 0x3E) {\r\n this.url.query += percentEncode(buffer[i]);\r\n } else {\r\n this.url.query += String.fromCodePoint(buffer[i]);\r\n }\r\n }\r\n\r\n this.buffer = \"\";\r\n if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n }\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse fragment\"] = function parseFragment(c) {\r\n if (isNaN(c)) { // do nothing\r\n } else if (c === 0x0) {\r\n this.parseError = true;\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode);\r\n }\r\n\r\n return true;\r\n};\r\n\r\nfunction serializeURL(url, excludeFragment) {\r\n let output = url.scheme + \":\";\r\n if (url.host !== null) {\r\n output += \"//\";\r\n\r\n if (url.username !== \"\" || url.password !== \"\") {\r\n output += url.username;\r\n if (url.password !== \"\") {\r\n output += \":\" + url.password;\r\n }\r\n output += \"@\";\r\n }\r\n\r\n output += serializeHost(url.host);\r\n\r\n if (url.port !== null) {\r\n output += \":\" + url.port;\r\n }\r\n } else if (url.host === null && url.scheme === \"file\") {\r\n output += \"//\";\r\n }\r\n\r\n if (url.cannotBeABaseURL) {\r\n output += url.path[0];\r\n } else {\r\n for (const string of url.path) {\r\n output += \"/\" + string;\r\n }\r\n }\r\n\r\n if (url.query !== null) {\r\n output += \"?\" + url.query;\r\n }\r\n\r\n if (!excludeFragment && url.fragment !== null) {\r\n output += \"#\" + url.fragment;\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction serializeOrigin(tuple) {\r\n let result = tuple.scheme + \"://\";\r\n result += serializeHost(tuple.host);\r\n\r\n if (tuple.port !== null) {\r\n result += \":\" + tuple.port;\r\n }\r\n\r\n return result;\r\n}\r\n\r\nmodule.exports.serializeURL = serializeURL;\r\n\r\nmodule.exports.serializeURLOrigin = function (url) {\r\n // https://url.spec.whatwg.org/#concept-url-origin\r\n switch (url.scheme) {\r\n case \"blob\":\r\n try {\r\n return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0]));\r\n } catch (e) {\r\n // serializing an opaque origin returns \"null\"\r\n return \"null\";\r\n }\r\n case \"ftp\":\r\n case \"gopher\":\r\n case \"http\":\r\n case \"https\":\r\n case \"ws\":\r\n case \"wss\":\r\n return serializeOrigin({\r\n scheme: url.scheme,\r\n host: url.host,\r\n port: url.port\r\n });\r\n case \"file\":\r\n // spec says \"exercise to the reader\", chrome says \"file://\"\r\n return \"file://\";\r\n default:\r\n // serializing an opaque origin returns \"null\"\r\n return \"null\";\r\n }\r\n};\r\n\r\nmodule.exports.basicURLParse = function (input, options) {\r\n if (options === undefined) {\r\n options = {};\r\n }\r\n\r\n const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride);\r\n if (usm.failure) {\r\n return \"failure\";\r\n }\r\n\r\n return usm.url;\r\n};\r\n\r\nmodule.exports.setTheUsername = function (url, username) {\r\n url.username = \"\";\r\n const decoded = punycode.ucs2.decode(username);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode);\r\n }\r\n};\r\n\r\nmodule.exports.setThePassword = function (url, password) {\r\n url.password = \"\";\r\n const decoded = punycode.ucs2.decode(password);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode);\r\n }\r\n};\r\n\r\nmodule.exports.serializeHost = serializeHost;\r\n\r\nmodule.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort;\r\n\r\nmodule.exports.serializeInteger = function (integer) {\r\n return String(integer);\r\n};\r\n\r\nmodule.exports.parseURL = function (input, options) {\r\n if (options === undefined) {\r\n options = {};\r\n }\r\n\r\n // We don't handle blobs, so this just delegates:\r\n return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride });\r\n};\r\n\n\n/***/ }),\n\n/***/ 276:\n/***/ ((module) => {\n\n\"use strict\";\n\n\nmodule.exports.mixin = function mixin(target, source) {\n const keys = Object.getOwnPropertyNames(source);\n for (let i = 0; i < keys.length; ++i) {\n Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i]));\n }\n};\n\nmodule.exports.wrapperSymbol = Symbol(\"wrapper\");\nmodule.exports.implSymbol = Symbol(\"impl\");\n\nmodule.exports.wrapperForImpl = function (impl) {\n return impl[module.exports.wrapperSymbol];\n};\n\nmodule.exports.implForWrapper = function (wrapper) {\n return wrapper[module.exports.implSymbol];\n};\n\n\n\n/***/ }),\n\n/***/ 1223:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\nvar wrappy = __nccwpck_require__(2940)\nmodule.exports = wrappy(once)\nmodule.exports.strict = wrappy(onceStrict)\n\nonce.proto = once(function () {\n Object.defineProperty(Function.prototype, 'once', {\n value: function () {\n return once(this)\n },\n configurable: true\n })\n\n Object.defineProperty(Function.prototype, 'onceStrict', {\n value: function () {\n return onceStrict(this)\n },\n configurable: true\n })\n})\n\nfunction once (fn) {\n var f = function () {\n if (f.called) return f.value\n f.called = true\n return f.value = fn.apply(this, arguments)\n }\n f.called = false\n return f\n}\n\nfunction onceStrict (fn) {\n var f = function () {\n if (f.called)\n throw new Error(f.onceError)\n f.called = true\n return f.value = fn.apply(this, arguments)\n }\n var name = fn.name || 'Function wrapped with `once`'\n f.onceError = name + \" shouldn't be called more than once\"\n f.called = false\n return f\n}\n\n\n/***/ }),\n\n/***/ 8915:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\n/*\nCopyright (c) the purl authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*/\n\nconst PackageURL = __nccwpck_require__(8749);\n\nmodule.exports = {\n PackageURL\n};\n\n\n/***/ }),\n\n/***/ 8749:\n/***/ ((module) => {\n\n/*\nCopyright (c) the purl authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*/\nclass PackageURL {\n\n constructor(type, namespace, name, version, qualifiers, subpath) {\n let required = { 'type': type, 'name': name };\n Object.keys(required).forEach(key => {\n if (!required[key]) {\n throw new Error('Invalid purl: \"' + key + '\" is a required field.');\n }\n });\n\n let strings = { 'type': type, 'namespace': namespace, 'name': name, 'versions': version, 'subpath': subpath };\n Object.keys(strings).forEach(key => {\n if (strings[key] && typeof strings[key] === 'string' || !strings[key]) {\n return;\n }\n throw new Error('Invalid purl: \"' + key + '\" argument must be a string.');\n });\n\n if (qualifiers) {\n if (typeof qualifiers !== 'object') {\n throw new Error('Invalid purl: \"qualifiers\" argument must be a dictionary.');\n }\n Object.keys(qualifiers).forEach(key => {\n if (!/^[a-z]+$/i.test(key) && !/[\\.-_]/.test(key)) {\n throw new Error('Invalid purl: qualifier \"' + key + '\" contains an illegal character.');\n }\n });\n }\n\n this.type = type;\n this.name = name;\n this.namespace = namespace;\n this.version = version;\n this.qualifiers = qualifiers;\n this.subpath = subpath;\n }\n\n _handlePyPi() {\n this.name = this.name.toLowerCase().replace(/_/g, '-');\n }\n\n toString() {\n var purl = ['pkg:', this.type, '/'];\n\n if (this.type === 'pypi') {\n this._handlePyPi();\n }\n\n if (this.namespace) {\n purl.push(\n encodeURIComponent(this.namespace)\n .replace('%3A', ':')\n .replace('%2F', '/')\n );\n purl.push('/');\n }\n\n purl.push(encodeURIComponent(this.name).replace('%3A', ':'));\n\n if (this.version) {\n purl.push('@');\n purl.push(encodeURIComponent(this.version).replace('%3A', ':'));\n }\n\n if (this.qualifiers) {\n purl.push('?');\n\n let qualifiers = this.qualifiers;\n let qualifierString = [];\n Object.keys(qualifiers).sort().forEach(key => {\n qualifierString.push(encodeURIComponent(key).replace('%3A', ':') + '=' + encodeURI(qualifiers[key]));\n });\n\n purl.push(qualifierString.join('&'));\n }\n\n if (this.subpath) {\n purl.push('#');\n purl.push(encodeURI(this.subpath));\n }\n\n return purl.join('');\n }\n\n static fromString(purl) {\n if (!purl || !typeof purl === 'string' || !purl.trim()) {\n throw new Error('A purl string argument is required.');\n }\n\n var [scheme, remainder] = purl.split(':');\n if (scheme !== 'pkg') {\n throw new Error('purl is missing the required \"pkg\" scheme component.');\n }\n // this strip '/, // and /// as possible in :// or :///\n // from https://gist.github.com/refo/47632c8a547f2d9b6517#file-remove-leading-slash\n remainder = remainder.trim().replace(/^\\/+/g, '');\n\n let type = remainder.split('/')[0];\n var remainder = remainder.split('/').slice(1).join('/');\n if (!type || !remainder) {\n throw new Error('purl is missing the required \"type\" component.');\n }\n\n let url = new URL(purl);\n\n let qualifiers = null;\n url.searchParams.forEach((value, key) => {\n if (!qualifiers) {\n qualifiers = {};\n }\n qualifiers[key] = value;\n });\n let subpath = url.hash;\n if (subpath.indexOf('#') === 0) {\n subpath = subpath.substring(1);\n }\n if (subpath.length === 0) {\n subpath = null;\n }\n\n if (url.username !== '' || url.password !== '') {\n throw new Error('Invalid purl: cannot contain a \"user:pass@host:port\"');\n }\n\n // this strip '/, // and /// as possible in :// or :///\n // from https://gist.github.com/refo/47632c8a547f2d9b6517#file-remove-leading-slash\n let path = url.pathname.trim().replace(/^\\/+/g, '');\n\n // version is optional - check for existence\n let version = null;\n if (path.includes('@')) {\n let index = path.indexOf('@');\n version = decodeURIComponent(path.substring(index + 1));\n remainder = path.substring(0, index);\n } else {\n remainder = path;\n }\n\n // The 'remainder' should now consist of an optional namespace and the name\n let remaining = remainder.split('/').slice(1);\n let name = null;\n let namespace = null;\n if (remaining.length > 1) {\n let nameIndex = remaining.length - 1;\n let namespaceComponents = remaining.slice(0, nameIndex);\n name = decodeURIComponent(remaining[nameIndex]);\n namespace = decodeURIComponent(namespaceComponents.join('/'));\n } else if (remaining.length === 1) {\n name = decodeURIComponent(remaining[0]);\n }\n\n if (name === '') {\n throw new Error('purl is missing the required \"name\" component.');\n }\n\n return new PackageURL(type, namespace, name, version, qualifiers, subpath);\n }\n\n};\n\nmodule.exports = PackageURL;\n\n\n/***/ }),\n\n/***/ 4294:\n/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {\n\nmodule.exports = __nccwpck_require__(4219);\n\n\n/***/ }),\n\n/***/ 4219:\n/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {\n\n\"use strict\";\n\n\nvar net = __nccwpck_require__(1631);\nvar tls = __nccwpck_require__(4016);\nvar http = __nccwpck_require__(8605);\nvar https = __nccwpck_require__(7211);\nvar events = __nccwpck_require__(8614);\nvar assert = __nccwpck_require__(2357);\nvar util = __nccwpck_require__(1669);\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n\n\n/***/ }),\n\n/***/ 5030:\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n\nfunction getUserAgent() {\n if (typeof navigator === \"object\" && \"userAgent\" in navigator) {\n return navigator.userAgent;\n }\n\n if (typeof process === \"object\" && \"version\" in process) {\n return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;\n }\n\n return \"\";\n}\n\nexports.getUserAgent = getUserAgent;\n//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 2940:\n/***/ ((module) => {\n\n// Returns a wrapper function that returns a wrapped callback\n// The wrapper function should do some stuff, and return a\n// presumably different callback function.\n// This makes sure that own properties are retained, so that\n// decorations and such are not lost along the way.\nmodule.exports = wrappy\nfunction wrappy (fn, cb) {\n if (fn && cb) return wrappy(fn)(cb)\n\n if (typeof fn !== 'function')\n throw new TypeError('need wrapper function')\n\n Object.keys(fn).forEach(function (k) {\n wrapper[k] = fn[k]\n })\n\n return wrapper\n\n function wrapper() {\n var args = new Array(arguments.length)\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i]\n }\n var ret = fn.apply(this, args)\n var cb = args[args.length-1]\n if (typeof ret === 'function' && ret !== cb) {\n Object.keys(cb).forEach(function (k) {\n ret[k] = cb[k]\n })\n }\n return ret\n }\n}\n\n\n/***/ }),\n\n/***/ 2877:\n/***/ ((module) => {\n\nmodule.exports = eval(\"require\")(\"encoding\");\n\n\n/***/ }),\n\n/***/ 8661:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = JSON.parse('[[[0,44],\"disallowed_STD3_valid\"],[[45,46],\"valid\"],[[47,47],\"disallowed_STD3_valid\"],[[48,57],\"valid\"],[[58,64],\"disallowed_STD3_valid\"],[[65,65],\"mapped\",[97]],[[66,66],\"mapped\",[98]],[[67,67],\"mapped\",[99]],[[68,68],\"mapped\",[100]],[[69,69],\"mapped\",[101]],[[70,70],\"mapped\",[102]],[[71,71],\"mapped\",[103]],[[72,72],\"mapped\",[104]],[[73,73],\"mapped\",[105]],[[74,74],\"mapped\",[106]],[[75,75],\"mapped\",[107]],[[76,76],\"mapped\",[108]],[[77,77],\"mapped\",[109]],[[78,78],\"mapped\",[110]],[[79,79],\"mapped\",[111]],[[80,80],\"mapped\",[112]],[[81,81],\"mapped\",[113]],[[82,82],\"mapped\",[114]],[[83,83],\"mapped\",[115]],[[84,84],\"mapped\",[116]],[[85,85],\"mapped\",[117]],[[86,86],\"mapped\",[118]],[[87,87],\"mapped\",[119]],[[88,88],\"mapped\",[120]],[[89,89],\"mapped\",[121]],[[90,90],\"mapped\",[122]],[[91,96],\"disallowed_STD3_valid\"],[[97,122],\"valid\"],[[123,127],\"disallowed_STD3_valid\"],[[128,159],\"disallowed\"],[[160,160],\"disallowed_STD3_mapped\",[32]],[[161,167],\"valid\",[],\"NV8\"],[[168,168],\"disallowed_STD3_mapped\",[32,776]],[[169,169],\"valid\",[],\"NV8\"],[[170,170],\"mapped\",[97]],[[171,172],\"valid\",[],\"NV8\"],[[173,173],\"ignored\"],[[174,174],\"valid\",[],\"NV8\"],[[175,175],\"disallowed_STD3_mapped\",[32,772]],[[176,177],\"valid\",[],\"NV8\"],[[178,178],\"mapped\",[50]],[[179,179],\"mapped\",[51]],[[180,180],\"disallowed_STD3_mapped\",[32,769]],[[181,181],\"mapped\",[956]],[[182,182],\"valid\",[],\"NV8\"],[[183,183],\"valid\"],[[184,184],\"disallowed_STD3_mapped\",[32,807]],[[185,185],\"mapped\",[49]],[[186,186],\"mapped\",[111]],[[187,187],\"valid\",[],\"NV8\"],[[188,188],\"mapped\",[49,8260,52]],[[189,189],\"mapped\",[49,8260,50]],[[190,190],\"mapped\",[51,8260,52]],[[191,191],\"valid\",[],\"NV8\"],[[192,192],\"mapped\",[224]],[[193,193],\"mapped\",[225]],[[194,194],\"mapped\",[226]],[[195,195],\"mapped\",[227]],[[196,196],\"mapped\",[228]],[[197,197],\"mapped\",[229]],[[198,198],\"mapped\",[230]],[[199,199],\"mapped\",[231]],[[200,200],\"mapped\",[232]],[[201,201],\"mapped\",[233]],[[202,202],\"mapped\",[234]],[[203,203],\"mapped\",[235]],[[204,204],\"mapped\",[236]],[[205,205],\"mapped\",[237]],[[206,206],\"mapped\",[238]],[[207,207],\"mapped\",[239]],[[208,208],\"mapped\",[240]],[[209,209],\"mapped\",[241]],[[210,210],\"mapped\",[242]],[[211,211],\"mapped\",[243]],[[212,212],\"mapped\",[244]],[[213,213],\"mapped\",[245]],[[214,214],\"mapped\",[246]],[[215,215],\"valid\",[],\"NV8\"],[[216,216],\"mapped\",[248]],[[217,217],\"mapped\",[249]],[[218,218],\"mapped\",[250]],[[219,219],\"mapped\",[251]],[[220,220],\"mapped\",[252]],[[221,221],\"mapped\",[253]],[[222,222],\"mapped\",[254]],[[223,223],\"deviation\",[115,115]],[[224,246],\"valid\"],[[247,247],\"valid\",[],\"NV8\"],[[248,255],\"valid\"],[[256,256],\"mapped\",[257]],[[257,257],\"valid\"],[[258,258],\"mapped\",[259]],[[259,259],\"valid\"],[[260,260],\"mapped\",[261]],[[261,261],\"valid\"],[[262,262],\"mapped\",[263]],[[263,263],\"valid\"],[[264,264],\"mapped\",[265]],[[265,265],\"valid\"],[[266,266],\"mapped\",[267]],[[267,267],\"valid\"],[[268,268],\"mapped\",[269]],[[269,269],\"valid\"],[[270,270],\"mapped\",[271]],[[271,271],\"valid\"],[[272,272],\"mapped\",[273]],[[273,273],\"valid\"],[[274,274],\"mapped\",[275]],[[275,275],\"valid\"],[[276,276],\"mapped\",[277]],[[277,277],\"valid\"],[[278,278],\"mapped\",[279]],[[279,279],\"valid\"],[[280,280],\"mapped\",[281]],[[281,281],\"valid\"],[[282,282],\"mapped\",[283]],[[283,283],\"valid\"],[[284,284],\"mapped\",[285]],[[285,285],\"valid\"],[[286,286],\"mapped\",[287]],[[287,287],\"valid\"],[[288,288],\"mapped\",[289]],[[289,289],\"valid\"],[[290,290],\"mapped\",[291]],[[291,291],\"valid\"],[[292,292],\"mapped\",[293]],[[293,293],\"valid\"],[[294,294],\"mapped\",[295]],[[295,295],\"valid\"],[[296,296],\"mapped\",[297]],[[297,297],\"valid\"],[[298,298],\"mapped\",[299]],[[299,299],\"valid\"],[[300,300],\"mapped\",[301]],[[301,301],\"valid\"],[[302,302],\"mapped\",[303]],[[303,303],\"valid\"],[[304,304],\"mapped\",[105,775]],[[305,305],\"valid\"],[[306,307],\"mapped\",[105,106]],[[308,308],\"mapped\",[309]],[[309,309],\"valid\"],[[310,310],\"mapped\",[311]],[[311,312],\"valid\"],[[313,313],\"mapped\",[314]],[[314,314],\"valid\"],[[315,315],\"mapped\",[316]],[[316,316],\"valid\"],[[317,317],\"mapped\",[318]],[[318,318],\"valid\"],[[319,320],\"mapped\",[108,183]],[[321,321],\"mapped\",[322]],[[322,322],\"valid\"],[[323,323],\"mapped\",[324]],[[324,324],\"valid\"],[[325,325],\"mapped\",[326]],[[326,326],\"valid\"],[[327,327],\"mapped\",[328]],[[328,328],\"valid\"],[[329,329],\"mapped\",[700,110]],[[330,330],\"mapped\",[331]],[[331,331],\"valid\"],[[332,332],\"mapped\",[333]],[[333,333],\"valid\"],[[334,334],\"mapped\",[335]],[[335,335],\"valid\"],[[336,336],\"mapped\",[337]],[[337,337],\"valid\"],[[338,338],\"mapped\",[339]],[[339,339],\"valid\"],[[340,340],\"mapped\",[341]],[[341,341],\"valid\"],[[342,342],\"mapped\",[343]],[[343,343],\"valid\"],[[344,344],\"mapped\",[345]],[[345,345],\"valid\"],[[346,346],\"mapped\",[347]],[[347,347],\"valid\"],[[348,348],\"mapped\",[349]],[[349,349],\"valid\"],[[350,350],\"mapped\",[351]],[[351,351],\"valid\"],[[352,352],\"mapped\",[353]],[[353,353],\"valid\"],[[354,354],\"mapped\",[355]],[[355,355],\"valid\"],[[356,356],\"mapped\",[357]],[[357,357],\"valid\"],[[358,358],\"mapped\",[359]],[[359,359],\"valid\"],[[360,360],\"mapped\",[361]],[[361,361],\"valid\"],[[362,362],\"mapped\",[363]],[[363,363],\"valid\"],[[364,364],\"mapped\",[365]],[[365,365],\"valid\"],[[366,366],\"mapped\",[367]],[[367,367],\"valid\"],[[368,368],\"mapped\",[369]],[[369,369],\"valid\"],[[370,370],\"mapped\",[371]],[[371,371],\"valid\"],[[372,372],\"mapped\",[373]],[[373,373],\"valid\"],[[374,374],\"mapped\",[375]],[[375,375],\"valid\"],[[376,376],\"mapped\",[255]],[[377,377],\"mapped\",[378]],[[378,378],\"valid\"],[[379,379],\"mapped\",[380]],[[380,380],\"valid\"],[[381,381],\"mapped\",[382]],[[382,382],\"valid\"],[[383,383],\"mapped\",[115]],[[384,384],\"valid\"],[[385,385],\"mapped\",[595]],[[386,386],\"mapped\",[387]],[[387,387],\"valid\"],[[388,388],\"mapped\",[389]],[[389,389],\"valid\"],[[390,390],\"mapped\",[596]],[[391,391],\"mapped\",[392]],[[392,392],\"valid\"],[[393,393],\"mapped\",[598]],[[394,394],\"mapped\",[599]],[[395,395],\"mapped\",[396]],[[396,397],\"valid\"],[[398,398],\"mapped\",[477]],[[399,399],\"mapped\",[601]],[[400,400],\"mapped\",[603]],[[401,401],\"mapped\",[402]],[[402,402],\"valid\"],[[403,403],\"mapped\",[608]],[[404,404],\"mapped\",[611]],[[405,405],\"valid\"],[[406,406],\"mapped\",[617]],[[407,407],\"mapped\",[616]],[[408,408],\"mapped\",[409]],[[409,411],\"valid\"],[[412,412],\"mapped\",[623]],[[413,413],\"mapped\",[626]],[[414,414],\"valid\"],[[415,415],\"mapped\",[629]],[[416,416],\"mapped\",[417]],[[417,417],\"valid\"],[[418,418],\"mapped\",[419]],[[419,419],\"valid\"],[[420,420],\"mapped\",[421]],[[421,421],\"valid\"],[[422,422],\"mapped\",[640]],[[423,423],\"mapped\",[424]],[[424,424],\"valid\"],[[425,425],\"mapped\",[643]],[[426,427],\"valid\"],[[428,428],\"mapped\",[429]],[[429,429],\"valid\"],[[430,430],\"mapped\",[648]],[[431,431],\"mapped\",[432]],[[432,432],\"valid\"],[[433,433],\"mapped\",[650]],[[434,434],\"mapped\",[651]],[[435,435],\"mapped\",[436]],[[436,436],\"valid\"],[[437,437],\"mapped\",[438]],[[438,438],\"valid\"],[[439,439],\"mapped\",[658]],[[440,440],\"mapped\",[441]],[[441,443],\"valid\"],[[444,444],\"mapped\",[445]],[[445,451],\"valid\"],[[452,454],\"mapped\",[100,382]],[[455,457],\"mapped\",[108,106]],[[458,460],\"mapped\",[110,106]],[[461,461],\"mapped\",[462]],[[462,462],\"valid\"],[[463,463],\"mapped\",[464]],[[464,464],\"valid\"],[[465,465],\"mapped\",[466]],[[466,466],\"valid\"],[[467,467],\"mapped\",[468]],[[468,468],\"valid\"],[[469,469],\"mapped\",[470]],[[470,470],\"valid\"],[[471,471],\"mapped\",[472]],[[472,472],\"valid\"],[[473,473],\"mapped\",[474]],[[474,474],\"valid\"],[[475,475],\"mapped\",[476]],[[476,477],\"valid\"],[[478,478],\"mapped\",[479]],[[479,479],\"valid\"],[[480,480],\"mapped\",[481]],[[481,481],\"valid\"],[[482,482],\"mapped\",[483]],[[483,483],\"valid\"],[[484,484],\"mapped\",[485]],[[485,485],\"valid\"],[[486,486],\"mapped\",[487]],[[487,487],\"valid\"],[[488,488],\"mapped\",[489]],[[489,489],\"valid\"],[[490,490],\"mapped\",[491]],[[491,491],\"valid\"],[[492,492],\"mapped\",[493]],[[493,493],\"valid\"],[[494,494],\"mapped\",[495]],[[495,496],\"valid\"],[[497,499],\"mapped\",[100,122]],[[500,500],\"mapped\",[501]],[[501,501],\"valid\"],[[502,502],\"mapped\",[405]],[[503,503],\"mapped\",[447]],[[504,504],\"mapped\",[505]],[[505,505],\"valid\"],[[506,506],\"mapped\",[507]],[[507,507],\"valid\"],[[508,508],\"mapped\",[509]],[[509,509],\"valid\"],[[510,510],\"mapped\",[511]],[[511,511],\"valid\"],[[512,512],\"mapped\",[513]],[[513,513],\"valid\"],[[514,514],\"mapped\",[515]],[[515,515],\"valid\"],[[516,516],\"mapped\",[517]],[[517,517],\"valid\"],[[518,518],\"mapped\",[519]],[[519,519],\"valid\"],[[520,520],\"mapped\",[521]],[[521,521],\"valid\"],[[522,522],\"mapped\",[523]],[[523,523],\"valid\"],[[524,524],\"mapped\",[525]],[[525,525],\"valid\"],[[526,526],\"mapped\",[527]],[[527,527],\"valid\"],[[528,528],\"mapped\",[529]],[[529,529],\"valid\"],[[530,530],\"mapped\",[531]],[[531,531],\"valid\"],[[532,532],\"mapped\",[533]],[[533,533],\"valid\"],[[534,534],\"mapped\",[535]],[[535,535],\"valid\"],[[536,536],\"mapped\",[537]],[[537,537],\"valid\"],[[538,538],\"mapped\",[539]],[[539,539],\"valid\"],[[540,540],\"mapped\",[541]],[[541,541],\"valid\"],[[542,542],\"mapped\",[543]],[[543,543],\"valid\"],[[544,544],\"mapped\",[414]],[[545,545],\"valid\"],[[546,546],\"mapped\",[547]],[[547,547],\"valid\"],[[548,548],\"mapped\",[549]],[[549,549],\"valid\"],[[550,550],\"mapped\",[551]],[[551,551],\"valid\"],[[552,552],\"mapped\",[553]],[[553,553],\"valid\"],[[554,554],\"mapped\",[555]],[[555,555],\"valid\"],[[556,556],\"mapped\",[557]],[[557,557],\"valid\"],[[558,558],\"mapped\",[559]],[[559,559],\"valid\"],[[560,560],\"mapped\",[561]],[[561,561],\"valid\"],[[562,562],\"mapped\",[563]],[[563,563],\"valid\"],[[564,566],\"valid\"],[[567,569],\"valid\"],[[570,570],\"mapped\",[11365]],[[571,571],\"mapped\",[572]],[[572,572],\"valid\"],[[573,573],\"mapped\",[410]],[[574,574],\"mapped\",[11366]],[[575,576],\"valid\"],[[577,577],\"mapped\",[578]],[[578,578],\"valid\"],[[579,579],\"mapped\",[384]],[[580,580],\"mapped\",[649]],[[581,581],\"mapped\",[652]],[[582,582],\"mapped\",[583]],[[583,583],\"valid\"],[[584,584],\"mapped\",[585]],[[585,585],\"valid\"],[[586,586],\"mapped\",[587]],[[587,587],\"valid\"],[[588,588],\"mapped\",[589]],[[589,589],\"valid\"],[[590,590],\"mapped\",[591]],[[591,591],\"valid\"],[[592,680],\"valid\"],[[681,685],\"valid\"],[[686,687],\"valid\"],[[688,688],\"mapped\",[104]],[[689,689],\"mapped\",[614]],[[690,690],\"mapped\",[106]],[[691,691],\"mapped\",[114]],[[692,692],\"mapped\",[633]],[[693,693],\"mapped\",[635]],[[694,694],\"mapped\",[641]],[[695,695],\"mapped\",[119]],[[696,696],\"mapped\",[121]],[[697,705],\"valid\"],[[706,709],\"valid\",[],\"NV8\"],[[710,721],\"valid\"],[[722,727],\"valid\",[],\"NV8\"],[[728,728],\"disallowed_STD3_mapped\",[32,774]],[[729,729],\"disallowed_STD3_mapped\",[32,775]],[[730,730],\"disallowed_STD3_mapped\",[32,778]],[[731,731],\"disallowed_STD3_mapped\",[32,808]],[[732,732],\"disallowed_STD3_mapped\",[32,771]],[[733,733],\"disallowed_STD3_mapped\",[32,779]],[[734,734],\"valid\",[],\"NV8\"],[[735,735],\"valid\",[],\"NV8\"],[[736,736],\"mapped\",[611]],[[737,737],\"mapped\",[108]],[[738,738],\"mapped\",[115]],[[739,739],\"mapped\",[120]],[[740,740],\"mapped\",[661]],[[741,745],\"valid\",[],\"NV8\"],[[746,747],\"valid\",[],\"NV8\"],[[748,748],\"valid\"],[[749,749],\"valid\",[],\"NV8\"],[[750,750],\"valid\"],[[751,767],\"valid\",[],\"NV8\"],[[768,831],\"valid\"],[[832,832],\"mapped\",[768]],[[833,833],\"mapped\",[769]],[[834,834],\"valid\"],[[835,835],\"mapped\",[787]],[[836,836],\"mapped\",[776,769]],[[837,837],\"mapped\",[953]],[[838,846],\"valid\"],[[847,847],\"ignored\"],[[848,855],\"valid\"],[[856,860],\"valid\"],[[861,863],\"valid\"],[[864,865],\"valid\"],[[866,866],\"valid\"],[[867,879],\"valid\"],[[880,880],\"mapped\",[881]],[[881,881],\"valid\"],[[882,882],\"mapped\",[883]],[[883,883],\"valid\"],[[884,884],\"mapped\",[697]],[[885,885],\"valid\"],[[886,886],\"mapped\",[887]],[[887,887],\"valid\"],[[888,889],\"disallowed\"],[[890,890],\"disallowed_STD3_mapped\",[32,953]],[[891,893],\"valid\"],[[894,894],\"disallowed_STD3_mapped\",[59]],[[895,895],\"mapped\",[1011]],[[896,899],\"disallowed\"],[[900,900],\"disallowed_STD3_mapped\",[32,769]],[[901,901],\"disallowed_STD3_mapped\",[32,776,769]],[[902,902],\"mapped\",[940]],[[903,903],\"mapped\",[183]],[[904,904],\"mapped\",[941]],[[905,905],\"mapped\",[942]],[[906,906],\"mapped\",[943]],[[907,907],\"disallowed\"],[[908,908],\"mapped\",[972]],[[909,909],\"disallowed\"],[[910,910],\"mapped\",[973]],[[911,911],\"mapped\",[974]],[[912,912],\"valid\"],[[913,913],\"mapped\",[945]],[[914,914],\"mapped\",[946]],[[915,915],\"mapped\",[947]],[[916,916],\"mapped\",[948]],[[917,917],\"mapped\",[949]],[[918,918],\"mapped\",[950]],[[919,919],\"mapped\",[951]],[[920,920],\"mapped\",[952]],[[921,921],\"mapped\",[953]],[[922,922],\"mapped\",[954]],[[923,923],\"mapped\",[955]],[[924,924],\"mapped\",[956]],[[925,925],\"mapped\",[957]],[[926,926],\"mapped\",[958]],[[927,927],\"mapped\",[959]],[[928,928],\"mapped\",[960]],[[929,929],\"mapped\",[961]],[[930,930],\"disallowed\"],[[931,931],\"mapped\",[963]],[[932,932],\"mapped\",[964]],[[933,933],\"mapped\",[965]],[[934,934],\"mapped\",[966]],[[935,935],\"mapped\",[967]],[[936,936],\"mapped\",[968]],[[937,937],\"mapped\",[969]],[[938,938],\"mapped\",[970]],[[939,939],\"mapped\",[971]],[[940,961],\"valid\"],[[962,962],\"deviation\",[963]],[[963,974],\"valid\"],[[975,975],\"mapped\",[983]],[[976,976],\"mapped\",[946]],[[977,977],\"mapped\",[952]],[[978,978],\"mapped\",[965]],[[979,979],\"mapped\",[973]],[[980,980],\"mapped\",[971]],[[981,981],\"mapped\",[966]],[[982,982],\"mapped\",[960]],[[983,983],\"valid\"],[[984,984],\"mapped\",[985]],[[985,985],\"valid\"],[[986,986],\"mapped\",[987]],[[987,987],\"valid\"],[[988,988],\"mapped\",[989]],[[989,989],\"valid\"],[[990,990],\"mapped\",[991]],[[991,991],\"valid\"],[[992,992],\"mapped\",[993]],[[993,993],\"valid\"],[[994,994],\"mapped\",[995]],[[995,995],\"valid\"],[[996,996],\"mapped\",[997]],[[997,997],\"valid\"],[[998,998],\"mapped\",[999]],[[999,999],\"valid\"],[[1000,1000],\"mapped\",[1001]],[[1001,1001],\"valid\"],[[1002,1002],\"mapped\",[1003]],[[1003,1003],\"valid\"],[[1004,1004],\"mapped\",[1005]],[[1005,1005],\"valid\"],[[1006,1006],\"mapped\",[1007]],[[1007,1007],\"valid\"],[[1008,1008],\"mapped\",[954]],[[1009,1009],\"mapped\",[961]],[[1010,1010],\"mapped\",[963]],[[1011,1011],\"valid\"],[[1012,1012],\"mapped\",[952]],[[1013,1013],\"mapped\",[949]],[[1014,1014],\"valid\",[],\"NV8\"],[[1015,1015],\"mapped\",[1016]],[[1016,1016],\"valid\"],[[1017,1017],\"mapped\",[963]],[[1018,1018],\"mapped\",[1019]],[[1019,1019],\"valid\"],[[1020,1020],\"valid\"],[[1021,1021],\"mapped\",[891]],[[1022,1022],\"mapped\",[892]],[[1023,1023],\"mapped\",[893]],[[1024,1024],\"mapped\",[1104]],[[1025,1025],\"mapped\",[1105]],[[1026,1026],\"mapped\",[1106]],[[1027,1027],\"mapped\",[1107]],[[1028,1028],\"mapped\",[1108]],[[1029,1029],\"mapped\",[1109]],[[1030,1030],\"mapped\",[1110]],[[1031,1031],\"mapped\",[1111]],[[1032,1032],\"mapped\",[1112]],[[1033,1033],\"mapped\",[1113]],[[1034,1034],\"mapped\",[1114]],[[1035,1035],\"mapped\",[1115]],[[1036,1036],\"mapped\",[1116]],[[1037,1037],\"mapped\",[1117]],[[1038,1038],\"mapped\",[1118]],[[1039,1039],\"mapped\",[1119]],[[1040,1040],\"mapped\",[1072]],[[1041,1041],\"mapped\",[1073]],[[1042,1042],\"mapped\",[1074]],[[1043,1043],\"mapped\",[1075]],[[1044,1044],\"mapped\",[1076]],[[1045,1045],\"mapped\",[1077]],[[1046,1046],\"mapped\",[1078]],[[1047,1047],\"mapped\",[1079]],[[1048,1048],\"mapped\",[1080]],[[1049,1049],\"mapped\",[1081]],[[1050,1050],\"mapped\",[1082]],[[1051,1051],\"mapped\",[1083]],[[1052,1052],\"mapped\",[1084]],[[1053,1053],\"mapped\",[1085]],[[1054,1054],\"mapped\",[1086]],[[1055,1055],\"mapped\",[1087]],[[1056,1056],\"mapped\",[1088]],[[1057,1057],\"mapped\",[1089]],[[1058,1058],\"mapped\",[1090]],[[1059,1059],\"mapped\",[1091]],[[1060,1060],\"mapped\",[1092]],[[1061,1061],\"mapped\",[1093]],[[1062,1062],\"mapped\",[1094]],[[1063,1063],\"mapped\",[1095]],[[1064,1064],\"mapped\",[1096]],[[1065,1065],\"mapped\",[1097]],[[1066,1066],\"mapped\",[1098]],[[1067,1067],\"mapped\",[1099]],[[1068,1068],\"mapped\",[1100]],[[1069,1069],\"mapped\",[1101]],[[1070,1070],\"mapped\",[1102]],[[1071,1071],\"mapped\",[1103]],[[1072,1103],\"valid\"],[[1104,1104],\"valid\"],[[1105,1116],\"valid\"],[[1117,1117],\"valid\"],[[1118,1119],\"valid\"],[[1120,1120],\"mapped\",[1121]],[[1121,1121],\"valid\"],[[1122,1122],\"mapped\",[1123]],[[1123,1123],\"valid\"],[[1124,1124],\"mapped\",[1125]],[[1125,1125],\"valid\"],[[1126,1126],\"mapped\",[1127]],[[1127,1127],\"valid\"],[[1128,1128],\"mapped\",[1129]],[[1129,1129],\"valid\"],[[1130,1130],\"mapped\",[1131]],[[1131,1131],\"valid\"],[[1132,1132],\"mapped\",[1133]],[[1133,1133],\"valid\"],[[1134,1134],\"mapped\",[1135]],[[1135,1135],\"valid\"],[[1136,1136],\"mapped\",[1137]],[[1137,1137],\"valid\"],[[1138,1138],\"mapped\",[1139]],[[1139,1139],\"valid\"],[[1140,1140],\"mapped\",[1141]],[[1141,1141],\"valid\"],[[1142,1142],\"mapped\",[1143]],[[1143,1143],\"valid\"],[[1144,1144],\"mapped\",[1145]],[[1145,1145],\"valid\"],[[1146,1146],\"mapped\",[1147]],[[1147,1147],\"valid\"],[[1148,1148],\"mapped\",[1149]],[[1149,1149],\"valid\"],[[1150,1150],\"mapped\",[1151]],[[1151,1151],\"valid\"],[[1152,1152],\"mapped\",[1153]],[[1153,1153],\"valid\"],[[1154,1154],\"valid\",[],\"NV8\"],[[1155,1158],\"valid\"],[[1159,1159],\"valid\"],[[1160,1161],\"valid\",[],\"NV8\"],[[1162,1162],\"mapped\",[1163]],[[1163,1163],\"valid\"],[[1164,1164],\"mapped\",[1165]],[[1165,1165],\"valid\"],[[1166,1166],\"mapped\",[1167]],[[1167,1167],\"valid\"],[[1168,1168],\"mapped\",[1169]],[[1169,1169],\"valid\"],[[1170,1170],\"mapped\",[1171]],[[1171,1171],\"valid\"],[[1172,1172],\"mapped\",[1173]],[[1173,1173],\"valid\"],[[1174,1174],\"mapped\",[1175]],[[1175,1175],\"valid\"],[[1176,1176],\"mapped\",[1177]],[[1177,1177],\"valid\"],[[1178,1178],\"mapped\",[1179]],[[1179,1179],\"valid\"],[[1180,1180],\"mapped\",[1181]],[[1181,1181],\"valid\"],[[1182,1182],\"mapped\",[1183]],[[1183,1183],\"valid\"],[[1184,1184],\"mapped\",[1185]],[[1185,1185],\"valid\"],[[1186,1186],\"mapped\",[1187]],[[1187,1187],\"valid\"],[[1188,1188],\"mapped\",[1189]],[[1189,1189],\"valid\"],[[1190,1190],\"mapped\",[1191]],[[1191,1191],\"valid\"],[[1192,1192],\"mapped\",[1193]],[[1193,1193],\"valid\"],[[1194,1194],\"mapped\",[1195]],[[1195,1195],\"valid\"],[[1196,1196],\"mapped\",[1197]],[[1197,1197],\"valid\"],[[1198,1198],\"mapped\",[1199]],[[1199,1199],\"valid\"],[[1200,1200],\"mapped\",[1201]],[[1201,1201],\"valid\"],[[1202,1202],\"mapped\",[1203]],[[1203,1203],\"valid\"],[[1204,1204],\"mapped\",[1205]],[[1205,1205],\"valid\"],[[1206,1206],\"mapped\",[1207]],[[1207,1207],\"valid\"],[[1208,1208],\"mapped\",[1209]],[[1209,1209],\"valid\"],[[1210,1210],\"mapped\",[1211]],[[1211,1211],\"valid\"],[[1212,1212],\"mapped\",[1213]],[[1213,1213],\"valid\"],[[1214,1214],\"mapped\",[1215]],[[1215,1215],\"valid\"],[[1216,1216],\"disallowed\"],[[1217,1217],\"mapped\",[1218]],[[1218,1218],\"valid\"],[[1219,1219],\"mapped\",[1220]],[[1220,1220],\"valid\"],[[1221,1221],\"mapped\",[1222]],[[1222,1222],\"valid\"],[[1223,1223],\"mapped\",[1224]],[[1224,1224],\"valid\"],[[1225,1225],\"mapped\",[1226]],[[1226,1226],\"valid\"],[[1227,1227],\"mapped\",[1228]],[[1228,1228],\"valid\"],[[1229,1229],\"mapped\",[1230]],[[1230,1230],\"valid\"],[[1231,1231],\"valid\"],[[1232,1232],\"mapped\",[1233]],[[1233,1233],\"valid\"],[[1234,1234],\"mapped\",[1235]],[[1235,1235],\"valid\"],[[1236,1236],\"mapped\",[1237]],[[1237,1237],\"valid\"],[[1238,1238],\"mapped\",[1239]],[[1239,1239],\"valid\"],[[1240,1240],\"mapped\",[1241]],[[1241,1241],\"valid\"],[[1242,1242],\"mapped\",[1243]],[[1243,1243],\"valid\"],[[1244,1244],\"mapped\",[1245]],[[1245,1245],\"valid\"],[[1246,1246],\"mapped\",[1247]],[[1247,1247],\"valid\"],[[1248,1248],\"mapped\",[1249]],[[1249,1249],\"valid\"],[[1250,1250],\"mapped\",[1251]],[[1251,1251],\"valid\"],[[1252,1252],\"mapped\",[1253]],[[1253,1253],\"valid\"],[[1254,1254],\"mapped\",[1255]],[[1255,1255],\"valid\"],[[1256,1256],\"mapped\",[1257]],[[1257,1257],\"valid\"],[[1258,1258],\"mapped\",[1259]],[[1259,1259],\"valid\"],[[1260,1260],\"mapped\",[1261]],[[1261,1261],\"valid\"],[[1262,1262],\"mapped\",[1263]],[[1263,1263],\"valid\"],[[1264,1264],\"mapped\",[1265]],[[1265,1265],\"valid\"],[[1266,1266],\"mapped\",[1267]],[[1267,1267],\"valid\"],[[1268,1268],\"mapped\",[1269]],[[1269,1269],\"valid\"],[[1270,1270],\"mapped\",[1271]],[[1271,1271],\"valid\"],[[1272,1272],\"mapped\",[1273]],[[1273,1273],\"valid\"],[[1274,1274],\"mapped\",[1275]],[[1275,1275],\"valid\"],[[1276,1276],\"mapped\",[1277]],[[1277,1277],\"valid\"],[[1278,1278],\"mapped\",[1279]],[[1279,1279],\"valid\"],[[1280,1280],\"mapped\",[1281]],[[1281,1281],\"valid\"],[[1282,1282],\"mapped\",[1283]],[[1283,1283],\"valid\"],[[1284,1284],\"mapped\",[1285]],[[1285,1285],\"valid\"],[[1286,1286],\"mapped\",[1287]],[[1287,1287],\"valid\"],[[1288,1288],\"mapped\",[1289]],[[1289,1289],\"valid\"],[[1290,1290],\"mapped\",[1291]],[[1291,1291],\"valid\"],[[1292,1292],\"mapped\",[1293]],[[1293,1293],\"valid\"],[[1294,1294],\"mapped\",[1295]],[[1295,1295],\"valid\"],[[1296,1296],\"mapped\",[1297]],[[1297,1297],\"valid\"],[[1298,1298],\"mapped\",[1299]],[[1299,1299],\"valid\"],[[1300,1300],\"mapped\",[1301]],[[1301,1301],\"valid\"],[[1302,1302],\"mapped\",[1303]],[[1303,1303],\"valid\"],[[1304,1304],\"mapped\",[1305]],[[1305,1305],\"valid\"],[[1306,1306],\"mapped\",[1307]],[[1307,1307],\"valid\"],[[1308,1308],\"mapped\",[1309]],[[1309,1309],\"valid\"],[[1310,1310],\"mapped\",[1311]],[[1311,1311],\"valid\"],[[1312,1312],\"mapped\",[1313]],[[1313,1313],\"valid\"],[[1314,1314],\"mapped\",[1315]],[[1315,1315],\"valid\"],[[1316,1316],\"mapped\",[1317]],[[1317,1317],\"valid\"],[[1318,1318],\"mapped\",[1319]],[[1319,1319],\"valid\"],[[1320,1320],\"mapped\",[1321]],[[1321,1321],\"valid\"],[[1322,1322],\"mapped\",[1323]],[[1323,1323],\"valid\"],[[1324,1324],\"mapped\",[1325]],[[1325,1325],\"valid\"],[[1326,1326],\"mapped\",[1327]],[[1327,1327],\"valid\"],[[1328,1328],\"disallowed\"],[[1329,1329],\"mapped\",[1377]],[[1330,1330],\"mapped\",[1378]],[[1331,1331],\"mapped\",[1379]],[[1332,1332],\"mapped\",[1380]],[[1333,1333],\"mapped\",[1381]],[[1334,1334],\"mapped\",[1382]],[[1335,1335],\"mapped\",[1383]],[[1336,1336],\"mapped\",[1384]],[[1337,1337],\"mapped\",[1385]],[[1338,1338],\"mapped\",[1386]],[[1339,1339],\"mapped\",[1387]],[[1340,1340],\"mapped\",[1388]],[[1341,1341],\"mapped\",[1389]],[[1342,1342],\"mapped\",[1390]],[[1343,1343],\"mapped\",[1391]],[[1344,1344],\"mapped\",[1392]],[[1345,1345],\"mapped\",[1393]],[[1346,1346],\"mapped\",[1394]],[[1347,1347],\"mapped\",[1395]],[[1348,1348],\"mapped\",[1396]],[[1349,1349],\"mapped\",[1397]],[[1350,1350],\"mapped\",[1398]],[[1351,1351],\"mapped\",[1399]],[[1352,1352],\"mapped\",[1400]],[[1353,1353],\"mapped\",[1401]],[[1354,1354],\"mapped\",[1402]],[[1355,1355],\"mapped\",[1403]],[[1356,1356],\"mapped\",[1404]],[[1357,1357],\"mapped\",[1405]],[[1358,1358],\"mapped\",[1406]],[[1359,1359],\"mapped\",[1407]],[[1360,1360],\"mapped\",[1408]],[[1361,1361],\"mapped\",[1409]],[[1362,1362],\"mapped\",[1410]],[[1363,1363],\"mapped\",[1411]],[[1364,1364],\"mapped\",[1412]],[[1365,1365],\"mapped\",[1413]],[[1366,1366],\"mapped\",[1414]],[[1367,1368],\"disallowed\"],[[1369,1369],\"valid\"],[[1370,1375],\"valid\",[],\"NV8\"],[[1376,1376],\"disallowed\"],[[1377,1414],\"valid\"],[[1415,1415],\"mapped\",[1381,1410]],[[1416,1416],\"disallowed\"],[[1417,1417],\"valid\",[],\"NV8\"],[[1418,1418],\"valid\",[],\"NV8\"],[[1419,1420],\"disallowed\"],[[1421,1422],\"valid\",[],\"NV8\"],[[1423,1423],\"valid\",[],\"NV8\"],[[1424,1424],\"disallowed\"],[[1425,1441],\"valid\"],[[1442,1442],\"valid\"],[[1443,1455],\"valid\"],[[1456,1465],\"valid\"],[[1466,1466],\"valid\"],[[1467,1469],\"valid\"],[[1470,1470],\"valid\",[],\"NV8\"],[[1471,1471],\"valid\"],[[1472,1472],\"valid\",[],\"NV8\"],[[1473,1474],\"valid\"],[[1475,1475],\"valid\",[],\"NV8\"],[[1476,1476],\"valid\"],[[1477,1477],\"valid\"],[[1478,1478],\"valid\",[],\"NV8\"],[[1479,1479],\"valid\"],[[1480,1487],\"disallowed\"],[[1488,1514],\"valid\"],[[1515,1519],\"disallowed\"],[[1520,1524],\"valid\"],[[1525,1535],\"disallowed\"],[[1536,1539],\"disallowed\"],[[1540,1540],\"disallowed\"],[[1541,1541],\"disallowed\"],[[1542,1546],\"valid\",[],\"NV8\"],[[1547,1547],\"valid\",[],\"NV8\"],[[1548,1548],\"valid\",[],\"NV8\"],[[1549,1551],\"valid\",[],\"NV8\"],[[1552,1557],\"valid\"],[[1558,1562],\"valid\"],[[1563,1563],\"valid\",[],\"NV8\"],[[1564,1564],\"disallowed\"],[[1565,1565],\"disallowed\"],[[1566,1566],\"valid\",[],\"NV8\"],[[1567,1567],\"valid\",[],\"NV8\"],[[1568,1568],\"valid\"],[[1569,1594],\"valid\"],[[1595,1599],\"valid\"],[[1600,1600],\"valid\",[],\"NV8\"],[[1601,1618],\"valid\"],[[1619,1621],\"valid\"],[[1622,1624],\"valid\"],[[1625,1630],\"valid\"],[[1631,1631],\"valid\"],[[1632,1641],\"valid\"],[[1642,1645],\"valid\",[],\"NV8\"],[[1646,1647],\"valid\"],[[1648,1652],\"valid\"],[[1653,1653],\"mapped\",[1575,1652]],[[1654,1654],\"mapped\",[1608,1652]],[[1655,1655],\"mapped\",[1735,1652]],[[1656,1656],\"mapped\",[1610,1652]],[[1657,1719],\"valid\"],[[1720,1721],\"valid\"],[[1722,1726],\"valid\"],[[1727,1727],\"valid\"],[[1728,1742],\"valid\"],[[1743,1743],\"valid\"],[[1744,1747],\"valid\"],[[1748,1748],\"valid\",[],\"NV8\"],[[1749,1756],\"valid\"],[[1757,1757],\"disallowed\"],[[1758,1758],\"valid\",[],\"NV8\"],[[1759,1768],\"valid\"],[[1769,1769],\"valid\",[],\"NV8\"],[[1770,1773],\"valid\"],[[1774,1775],\"valid\"],[[1776,1785],\"valid\"],[[1786,1790],\"valid\"],[[1791,1791],\"valid\"],[[1792,1805],\"valid\",[],\"NV8\"],[[1806,1806],\"disallowed\"],[[1807,1807],\"disallowed\"],[[1808,1836],\"valid\"],[[1837,1839],\"valid\"],[[1840,1866],\"valid\"],[[1867,1868],\"disallowed\"],[[1869,1871],\"valid\"],[[1872,1901],\"valid\"],[[1902,1919],\"valid\"],[[1920,1968],\"valid\"],[[1969,1969],\"valid\"],[[1970,1983],\"disallowed\"],[[1984,2037],\"valid\"],[[2038,2042],\"valid\",[],\"NV8\"],[[2043,2047],\"disallowed\"],[[2048,2093],\"valid\"],[[2094,2095],\"disallowed\"],[[2096,2110],\"valid\",[],\"NV8\"],[[2111,2111],\"disallowed\"],[[2112,2139],\"valid\"],[[2140,2141],\"disallowed\"],[[2142,2142],\"valid\",[],\"NV8\"],[[2143,2207],\"disallowed\"],[[2208,2208],\"valid\"],[[2209,2209],\"valid\"],[[2210,2220],\"valid\"],[[2221,2226],\"valid\"],[[2227,2228],\"valid\"],[[2229,2274],\"disallowed\"],[[2275,2275],\"valid\"],[[2276,2302],\"valid\"],[[2303,2303],\"valid\"],[[2304,2304],\"valid\"],[[2305,2307],\"valid\"],[[2308,2308],\"valid\"],[[2309,2361],\"valid\"],[[2362,2363],\"valid\"],[[2364,2381],\"valid\"],[[2382,2382],\"valid\"],[[2383,2383],\"valid\"],[[2384,2388],\"valid\"],[[2389,2389],\"valid\"],[[2390,2391],\"valid\"],[[2392,2392],\"mapped\",[2325,2364]],[[2393,2393],\"mapped\",[2326,2364]],[[2394,2394],\"mapped\",[2327,2364]],[[2395,2395],\"mapped\",[2332,2364]],[[2396,2396],\"mapped\",[2337,2364]],[[2397,2397],\"mapped\",[2338,2364]],[[2398,2398],\"mapped\",[2347,2364]],[[2399,2399],\"mapped\",[2351,2364]],[[2400,2403],\"valid\"],[[2404,2405],\"valid\",[],\"NV8\"],[[2406,2415],\"valid\"],[[2416,2416],\"valid\",[],\"NV8\"],[[2417,2418],\"valid\"],[[2419,2423],\"valid\"],[[2424,2424],\"valid\"],[[2425,2426],\"valid\"],[[2427,2428],\"valid\"],[[2429,2429],\"valid\"],[[2430,2431],\"valid\"],[[2432,2432],\"valid\"],[[2433,2435],\"valid\"],[[2436,2436],\"disallowed\"],[[2437,2444],\"valid\"],[[2445,2446],\"disallowed\"],[[2447,2448],\"valid\"],[[2449,2450],\"disallowed\"],[[2451,2472],\"valid\"],[[2473,2473],\"disallowed\"],[[2474,2480],\"valid\"],[[2481,2481],\"disallowed\"],[[2482,2482],\"valid\"],[[2483,2485],\"disallowed\"],[[2486,2489],\"valid\"],[[2490,2491],\"disallowed\"],[[2492,2492],\"valid\"],[[2493,2493],\"valid\"],[[2494,2500],\"valid\"],[[2501,2502],\"disallowed\"],[[2503,2504],\"valid\"],[[2505,2506],\"disallowed\"],[[2507,2509],\"valid\"],[[2510,2510],\"valid\"],[[2511,2518],\"disallowed\"],[[2519,2519],\"valid\"],[[2520,2523],\"disallowed\"],[[2524,2524],\"mapped\",[2465,2492]],[[2525,2525],\"mapped\",[2466,2492]],[[2526,2526],\"disallowed\"],[[2527,2527],\"mapped\",[2479,2492]],[[2528,2531],\"valid\"],[[2532,2533],\"disallowed\"],[[2534,2545],\"valid\"],[[2546,2554],\"valid\",[],\"NV8\"],[[2555,2555],\"valid\",[],\"NV8\"],[[2556,2560],\"disallowed\"],[[2561,2561],\"valid\"],[[2562,2562],\"valid\"],[[2563,2563],\"valid\"],[[2564,2564],\"disallowed\"],[[2565,2570],\"valid\"],[[2571,2574],\"disallowed\"],[[2575,2576],\"valid\"],[[2577,2578],\"disallowed\"],[[2579,2600],\"valid\"],[[2601,2601],\"disallowed\"],[[2602,2608],\"valid\"],[[2609,2609],\"disallowed\"],[[2610,2610],\"valid\"],[[2611,2611],\"mapped\",[2610,2620]],[[2612,2612],\"disallowed\"],[[2613,2613],\"valid\"],[[2614,2614],\"mapped\",[2616,2620]],[[2615,2615],\"disallowed\"],[[2616,2617],\"valid\"],[[2618,2619],\"disallowed\"],[[2620,2620],\"valid\"],[[2621,2621],\"disallowed\"],[[2622,2626],\"valid\"],[[2627,2630],\"disallowed\"],[[2631,2632],\"valid\"],[[2633,2634],\"disallowed\"],[[2635,2637],\"valid\"],[[2638,2640],\"disallowed\"],[[2641,2641],\"valid\"],[[2642,2648],\"disallowed\"],[[2649,2649],\"mapped\",[2582,2620]],[[2650,2650],\"mapped\",[2583,2620]],[[2651,2651],\"mapped\",[2588,2620]],[[2652,2652],\"valid\"],[[2653,2653],\"disallowed\"],[[2654,2654],\"mapped\",[2603,2620]],[[2655,2661],\"disallowed\"],[[2662,2676],\"valid\"],[[2677,2677],\"valid\"],[[2678,2688],\"disallowed\"],[[2689,2691],\"valid\"],[[2692,2692],\"disallowed\"],[[2693,2699],\"valid\"],[[2700,2700],\"valid\"],[[2701,2701],\"valid\"],[[2702,2702],\"disallowed\"],[[2703,2705],\"valid\"],[[2706,2706],\"disallowed\"],[[2707,2728],\"valid\"],[[2729,2729],\"disallowed\"],[[2730,2736],\"valid\"],[[2737,2737],\"disallowed\"],[[2738,2739],\"valid\"],[[2740,2740],\"disallowed\"],[[2741,2745],\"valid\"],[[2746,2747],\"disallowed\"],[[2748,2757],\"valid\"],[[2758,2758],\"disallowed\"],[[2759,2761],\"valid\"],[[2762,2762],\"disallowed\"],[[2763,2765],\"valid\"],[[2766,2767],\"disallowed\"],[[2768,2768],\"valid\"],[[2769,2783],\"disallowed\"],[[2784,2784],\"valid\"],[[2785,2787],\"valid\"],[[2788,2789],\"disallowed\"],[[2790,2799],\"valid\"],[[2800,2800],\"valid\",[],\"NV8\"],[[2801,2801],\"valid\",[],\"NV8\"],[[2802,2808],\"disallowed\"],[[2809,2809],\"valid\"],[[2810,2816],\"disallowed\"],[[2817,2819],\"valid\"],[[2820,2820],\"disallowed\"],[[2821,2828],\"valid\"],[[2829,2830],\"disallowed\"],[[2831,2832],\"valid\"],[[2833,2834],\"disallowed\"],[[2835,2856],\"valid\"],[[2857,2857],\"disallowed\"],[[2858,2864],\"valid\"],[[2865,2865],\"disallowed\"],[[2866,2867],\"valid\"],[[2868,2868],\"disallowed\"],[[2869,2869],\"valid\"],[[2870,2873],\"valid\"],[[2874,2875],\"disallowed\"],[[2876,2883],\"valid\"],[[2884,2884],\"valid\"],[[2885,2886],\"disallowed\"],[[2887,2888],\"valid\"],[[2889,2890],\"disallowed\"],[[2891,2893],\"valid\"],[[2894,2901],\"disallowed\"],[[2902,2903],\"valid\"],[[2904,2907],\"disallowed\"],[[2908,2908],\"mapped\",[2849,2876]],[[2909,2909],\"mapped\",[2850,2876]],[[2910,2910],\"disallowed\"],[[2911,2913],\"valid\"],[[2914,2915],\"valid\"],[[2916,2917],\"disallowed\"],[[2918,2927],\"valid\"],[[2928,2928],\"valid\",[],\"NV8\"],[[2929,2929],\"valid\"],[[2930,2935],\"valid\",[],\"NV8\"],[[2936,2945],\"disallowed\"],[[2946,2947],\"valid\"],[[2948,2948],\"disallowed\"],[[2949,2954],\"valid\"],[[2955,2957],\"disallowed\"],[[2958,2960],\"valid\"],[[2961,2961],\"disallowed\"],[[2962,2965],\"valid\"],[[2966,2968],\"disallowed\"],[[2969,2970],\"valid\"],[[2971,2971],\"disallowed\"],[[2972,2972],\"valid\"],[[2973,2973],\"disallowed\"],[[2974,2975],\"valid\"],[[2976,2978],\"disallowed\"],[[2979,2980],\"valid\"],[[2981,2983],\"disallowed\"],[[2984,2986],\"valid\"],[[2987,2989],\"disallowed\"],[[2990,2997],\"valid\"],[[2998,2998],\"valid\"],[[2999,3001],\"valid\"],[[3002,3005],\"disallowed\"],[[3006,3010],\"valid\"],[[3011,3013],\"disallowed\"],[[3014,3016],\"valid\"],[[3017,3017],\"disallowed\"],[[3018,3021],\"valid\"],[[3022,3023],\"disallowed\"],[[3024,3024],\"valid\"],[[3025,3030],\"disallowed\"],[[3031,3031],\"valid\"],[[3032,3045],\"disallowed\"],[[3046,3046],\"valid\"],[[3047,3055],\"valid\"],[[3056,3058],\"valid\",[],\"NV8\"],[[3059,3066],\"valid\",[],\"NV8\"],[[3067,3071],\"disallowed\"],[[3072,3072],\"valid\"],[[3073,3075],\"valid\"],[[3076,3076],\"disallowed\"],[[3077,3084],\"valid\"],[[3085,3085],\"disallowed\"],[[3086,3088],\"valid\"],[[3089,3089],\"disallowed\"],[[3090,3112],\"valid\"],[[3113,3113],\"disallowed\"],[[3114,3123],\"valid\"],[[3124,3124],\"valid\"],[[3125,3129],\"valid\"],[[3130,3132],\"disallowed\"],[[3133,3133],\"valid\"],[[3134,3140],\"valid\"],[[3141,3141],\"disallowed\"],[[3142,3144],\"valid\"],[[3145,3145],\"disallowed\"],[[3146,3149],\"valid\"],[[3150,3156],\"disallowed\"],[[3157,3158],\"valid\"],[[3159,3159],\"disallowed\"],[[3160,3161],\"valid\"],[[3162,3162],\"valid\"],[[3163,3167],\"disallowed\"],[[3168,3169],\"valid\"],[[3170,3171],\"valid\"],[[3172,3173],\"disallowed\"],[[3174,3183],\"valid\"],[[3184,3191],\"disallowed\"],[[3192,3199],\"valid\",[],\"NV8\"],[[3200,3200],\"disallowed\"],[[3201,3201],\"valid\"],[[3202,3203],\"valid\"],[[3204,3204],\"disallowed\"],[[3205,3212],\"valid\"],[[3213,3213],\"disallowed\"],[[3214,3216],\"valid\"],[[3217,3217],\"disallowed\"],[[3218,3240],\"valid\"],[[3241,3241],\"disallowed\"],[[3242,3251],\"valid\"],[[3252,3252],\"disallowed\"],[[3253,3257],\"valid\"],[[3258,3259],\"disallowed\"],[[3260,3261],\"valid\"],[[3262,3268],\"valid\"],[[3269,3269],\"disallowed\"],[[3270,3272],\"valid\"],[[3273,3273],\"disallowed\"],[[3274,3277],\"valid\"],[[3278,3284],\"disallowed\"],[[3285,3286],\"valid\"],[[3287,3293],\"disallowed\"],[[3294,3294],\"valid\"],[[3295,3295],\"disallowed\"],[[3296,3297],\"valid\"],[[3298,3299],\"valid\"],[[3300,3301],\"disallowed\"],[[3302,3311],\"valid\"],[[3312,3312],\"disallowed\"],[[3313,3314],\"valid\"],[[3315,3328],\"disallowed\"],[[3329,3329],\"valid\"],[[3330,3331],\"valid\"],[[3332,3332],\"disallowed\"],[[3333,3340],\"valid\"],[[3341,3341],\"disallowed\"],[[3342,3344],\"valid\"],[[3345,3345],\"disallowed\"],[[3346,3368],\"valid\"],[[3369,3369],\"valid\"],[[3370,3385],\"valid\"],[[3386,3386],\"valid\"],[[3387,3388],\"disallowed\"],[[3389,3389],\"valid\"],[[3390,3395],\"valid\"],[[3396,3396],\"valid\"],[[3397,3397],\"disallowed\"],[[3398,3400],\"valid\"],[[3401,3401],\"disallowed\"],[[3402,3405],\"valid\"],[[3406,3406],\"valid\"],[[3407,3414],\"disallowed\"],[[3415,3415],\"valid\"],[[3416,3422],\"disallowed\"],[[3423,3423],\"valid\"],[[3424,3425],\"valid\"],[[3426,3427],\"valid\"],[[3428,3429],\"disallowed\"],[[3430,3439],\"valid\"],[[3440,3445],\"valid\",[],\"NV8\"],[[3446,3448],\"disallowed\"],[[3449,3449],\"valid\",[],\"NV8\"],[[3450,3455],\"valid\"],[[3456,3457],\"disallowed\"],[[3458,3459],\"valid\"],[[3460,3460],\"disallowed\"],[[3461,3478],\"valid\"],[[3479,3481],\"disallowed\"],[[3482,3505],\"valid\"],[[3506,3506],\"disallowed\"],[[3507,3515],\"valid\"],[[3516,3516],\"disallowed\"],[[3517,3517],\"valid\"],[[3518,3519],\"disallowed\"],[[3520,3526],\"valid\"],[[3527,3529],\"disallowed\"],[[3530,3530],\"valid\"],[[3531,3534],\"disallowed\"],[[3535,3540],\"valid\"],[[3541,3541],\"disallowed\"],[[3542,3542],\"valid\"],[[3543,3543],\"disallowed\"],[[3544,3551],\"valid\"],[[3552,3557],\"disallowed\"],[[3558,3567],\"valid\"],[[3568,3569],\"disallowed\"],[[3570,3571],\"valid\"],[[3572,3572],\"valid\",[],\"NV8\"],[[3573,3584],\"disallowed\"],[[3585,3634],\"valid\"],[[3635,3635],\"mapped\",[3661,3634]],[[3636,3642],\"valid\"],[[3643,3646],\"disallowed\"],[[3647,3647],\"valid\",[],\"NV8\"],[[3648,3662],\"valid\"],[[3663,3663],\"valid\",[],\"NV8\"],[[3664,3673],\"valid\"],[[3674,3675],\"valid\",[],\"NV8\"],[[3676,3712],\"disallowed\"],[[3713,3714],\"valid\"],[[3715,3715],\"disallowed\"],[[3716,3716],\"valid\"],[[3717,3718],\"disallowed\"],[[3719,3720],\"valid\"],[[3721,3721],\"disallowed\"],[[3722,3722],\"valid\"],[[3723,3724],\"disallowed\"],[[3725,3725],\"valid\"],[[3726,3731],\"disallowed\"],[[3732,3735],\"valid\"],[[3736,3736],\"disallowed\"],[[3737,3743],\"valid\"],[[3744,3744],\"disallowed\"],[[3745,3747],\"valid\"],[[3748,3748],\"disallowed\"],[[3749,3749],\"valid\"],[[3750,3750],\"disallowed\"],[[3751,3751],\"valid\"],[[3752,3753],\"disallowed\"],[[3754,3755],\"valid\"],[[3756,3756],\"disallowed\"],[[3757,3762],\"valid\"],[[3763,3763],\"mapped\",[3789,3762]],[[3764,3769],\"valid\"],[[3770,3770],\"disallowed\"],[[3771,3773],\"valid\"],[[3774,3775],\"disallowed\"],[[3776,3780],\"valid\"],[[3781,3781],\"disallowed\"],[[3782,3782],\"valid\"],[[3783,3783],\"disallowed\"],[[3784,3789],\"valid\"],[[3790,3791],\"disallowed\"],[[3792,3801],\"valid\"],[[3802,3803],\"disallowed\"],[[3804,3804],\"mapped\",[3755,3737]],[[3805,3805],\"mapped\",[3755,3745]],[[3806,3807],\"valid\"],[[3808,3839],\"disallowed\"],[[3840,3840],\"valid\"],[[3841,3850],\"valid\",[],\"NV8\"],[[3851,3851],\"valid\"],[[3852,3852],\"mapped\",[3851]],[[3853,3863],\"valid\",[],\"NV8\"],[[3864,3865],\"valid\"],[[3866,3871],\"valid\",[],\"NV8\"],[[3872,3881],\"valid\"],[[3882,3892],\"valid\",[],\"NV8\"],[[3893,3893],\"valid\"],[[3894,3894],\"valid\",[],\"NV8\"],[[3895,3895],\"valid\"],[[3896,3896],\"valid\",[],\"NV8\"],[[3897,3897],\"valid\"],[[3898,3901],\"valid\",[],\"NV8\"],[[3902,3906],\"valid\"],[[3907,3907],\"mapped\",[3906,4023]],[[3908,3911],\"valid\"],[[3912,3912],\"disallowed\"],[[3913,3916],\"valid\"],[[3917,3917],\"mapped\",[3916,4023]],[[3918,3921],\"valid\"],[[3922,3922],\"mapped\",[3921,4023]],[[3923,3926],\"valid\"],[[3927,3927],\"mapped\",[3926,4023]],[[3928,3931],\"valid\"],[[3932,3932],\"mapped\",[3931,4023]],[[3933,3944],\"valid\"],[[3945,3945],\"mapped\",[3904,4021]],[[3946,3946],\"valid\"],[[3947,3948],\"valid\"],[[3949,3952],\"disallowed\"],[[3953,3954],\"valid\"],[[3955,3955],\"mapped\",[3953,3954]],[[3956,3956],\"valid\"],[[3957,3957],\"mapped\",[3953,3956]],[[3958,3958],\"mapped\",[4018,3968]],[[3959,3959],\"mapped\",[4018,3953,3968]],[[3960,3960],\"mapped\",[4019,3968]],[[3961,3961],\"mapped\",[4019,3953,3968]],[[3962,3968],\"valid\"],[[3969,3969],\"mapped\",[3953,3968]],[[3970,3972],\"valid\"],[[3973,3973],\"valid\",[],\"NV8\"],[[3974,3979],\"valid\"],[[3980,3983],\"valid\"],[[3984,3986],\"valid\"],[[3987,3987],\"mapped\",[3986,4023]],[[3988,3989],\"valid\"],[[3990,3990],\"valid\"],[[3991,3991],\"valid\"],[[3992,3992],\"disallowed\"],[[3993,3996],\"valid\"],[[3997,3997],\"mapped\",[3996,4023]],[[3998,4001],\"valid\"],[[4002,4002],\"mapped\",[4001,4023]],[[4003,4006],\"valid\"],[[4007,4007],\"mapped\",[4006,4023]],[[4008,4011],\"valid\"],[[4012,4012],\"mapped\",[4011,4023]],[[4013,4013],\"valid\"],[[4014,4016],\"valid\"],[[4017,4023],\"valid\"],[[4024,4024],\"valid\"],[[4025,4025],\"mapped\",[3984,4021]],[[4026,4028],\"valid\"],[[4029,4029],\"disallowed\"],[[4030,4037],\"valid\",[],\"NV8\"],[[4038,4038],\"valid\"],[[4039,4044],\"valid\",[],\"NV8\"],[[4045,4045],\"disallowed\"],[[4046,4046],\"valid\",[],\"NV8\"],[[4047,4047],\"valid\",[],\"NV8\"],[[4048,4049],\"valid\",[],\"NV8\"],[[4050,4052],\"valid\",[],\"NV8\"],[[4053,4056],\"valid\",[],\"NV8\"],[[4057,4058],\"valid\",[],\"NV8\"],[[4059,4095],\"disallowed\"],[[4096,4129],\"valid\"],[[4130,4130],\"valid\"],[[4131,4135],\"valid\"],[[4136,4136],\"valid\"],[[4137,4138],\"valid\"],[[4139,4139],\"valid\"],[[4140,4146],\"valid\"],[[4147,4149],\"valid\"],[[4150,4153],\"valid\"],[[4154,4159],\"valid\"],[[4160,4169],\"valid\"],[[4170,4175],\"valid\",[],\"NV8\"],[[4176,4185],\"valid\"],[[4186,4249],\"valid\"],[[4250,4253],\"valid\"],[[4254,4255],\"valid\",[],\"NV8\"],[[4256,4293],\"disallowed\"],[[4294,4294],\"disallowed\"],[[4295,4295],\"mapped\",[11559]],[[4296,4300],\"disallowed\"],[[4301,4301],\"mapped\",[11565]],[[4302,4303],\"disallowed\"],[[4304,4342],\"valid\"],[[4343,4344],\"valid\"],[[4345,4346],\"valid\"],[[4347,4347],\"valid\",[],\"NV8\"],[[4348,4348],\"mapped\",[4316]],[[4349,4351],\"valid\"],[[4352,4441],\"valid\",[],\"NV8\"],[[4442,4446],\"valid\",[],\"NV8\"],[[4447,4448],\"disallowed\"],[[4449,4514],\"valid\",[],\"NV8\"],[[4515,4519],\"valid\",[],\"NV8\"],[[4520,4601],\"valid\",[],\"NV8\"],[[4602,4607],\"valid\",[],\"NV8\"],[[4608,4614],\"valid\"],[[4615,4615],\"valid\"],[[4616,4678],\"valid\"],[[4679,4679],\"valid\"],[[4680,4680],\"valid\"],[[4681,4681],\"disallowed\"],[[4682,4685],\"valid\"],[[4686,4687],\"disallowed\"],[[4688,4694],\"valid\"],[[4695,4695],\"disallowed\"],[[4696,4696],\"valid\"],[[4697,4697],\"disallowed\"],[[4698,4701],\"valid\"],[[4702,4703],\"disallowed\"],[[4704,4742],\"valid\"],[[4743,4743],\"valid\"],[[4744,4744],\"valid\"],[[4745,4745],\"disallowed\"],[[4746,4749],\"valid\"],[[4750,4751],\"disallowed\"],[[4752,4782],\"valid\"],[[4783,4783],\"valid\"],[[4784,4784],\"valid\"],[[4785,4785],\"disallowed\"],[[4786,4789],\"valid\"],[[4790,4791],\"disallowed\"],[[4792,4798],\"valid\"],[[4799,4799],\"disallowed\"],[[4800,4800],\"valid\"],[[4801,4801],\"disallowed\"],[[4802,4805],\"valid\"],[[4806,4807],\"disallowed\"],[[4808,4814],\"valid\"],[[4815,4815],\"valid\"],[[4816,4822],\"valid\"],[[4823,4823],\"disallowed\"],[[4824,4846],\"valid\"],[[4847,4847],\"valid\"],[[4848,4878],\"valid\"],[[4879,4879],\"valid\"],[[4880,4880],\"valid\"],[[4881,4881],\"disallowed\"],[[4882,4885],\"valid\"],[[4886,4887],\"disallowed\"],[[4888,4894],\"valid\"],[[4895,4895],\"valid\"],[[4896,4934],\"valid\"],[[4935,4935],\"valid\"],[[4936,4954],\"valid\"],[[4955,4956],\"disallowed\"],[[4957,4958],\"valid\"],[[4959,4959],\"valid\"],[[4960,4960],\"valid\",[],\"NV8\"],[[4961,4988],\"valid\",[],\"NV8\"],[[4989,4991],\"disallowed\"],[[4992,5007],\"valid\"],[[5008,5017],\"valid\",[],\"NV8\"],[[5018,5023],\"disallowed\"],[[5024,5108],\"valid\"],[[5109,5109],\"valid\"],[[5110,5111],\"disallowed\"],[[5112,5112],\"mapped\",[5104]],[[5113,5113],\"mapped\",[5105]],[[5114,5114],\"mapped\",[5106]],[[5115,5115],\"mapped\",[5107]],[[5116,5116],\"mapped\",[5108]],[[5117,5117],\"mapped\",[5109]],[[5118,5119],\"disallowed\"],[[5120,5120],\"valid\",[],\"NV8\"],[[5121,5740],\"valid\"],[[5741,5742],\"valid\",[],\"NV8\"],[[5743,5750],\"valid\"],[[5751,5759],\"valid\"],[[5760,5760],\"disallowed\"],[[5761,5786],\"valid\"],[[5787,5788],\"valid\",[],\"NV8\"],[[5789,5791],\"disallowed\"],[[5792,5866],\"valid\"],[[5867,5872],\"valid\",[],\"NV8\"],[[5873,5880],\"valid\"],[[5881,5887],\"disallowed\"],[[5888,5900],\"valid\"],[[5901,5901],\"disallowed\"],[[5902,5908],\"valid\"],[[5909,5919],\"disallowed\"],[[5920,5940],\"valid\"],[[5941,5942],\"valid\",[],\"NV8\"],[[5943,5951],\"disallowed\"],[[5952,5971],\"valid\"],[[5972,5983],\"disallowed\"],[[5984,5996],\"valid\"],[[5997,5997],\"disallowed\"],[[5998,6000],\"valid\"],[[6001,6001],\"disallowed\"],[[6002,6003],\"valid\"],[[6004,6015],\"disallowed\"],[[6016,6067],\"valid\"],[[6068,6069],\"disallowed\"],[[6070,6099],\"valid\"],[[6100,6102],\"valid\",[],\"NV8\"],[[6103,6103],\"valid\"],[[6104,6107],\"valid\",[],\"NV8\"],[[6108,6108],\"valid\"],[[6109,6109],\"valid\"],[[6110,6111],\"disallowed\"],[[6112,6121],\"valid\"],[[6122,6127],\"disallowed\"],[[6128,6137],\"valid\",[],\"NV8\"],[[6138,6143],\"disallowed\"],[[6144,6149],\"valid\",[],\"NV8\"],[[6150,6150],\"disallowed\"],[[6151,6154],\"valid\",[],\"NV8\"],[[6155,6157],\"ignored\"],[[6158,6158],\"disallowed\"],[[6159,6159],\"disallowed\"],[[6160,6169],\"valid\"],[[6170,6175],\"disallowed\"],[[6176,6263],\"valid\"],[[6264,6271],\"disallowed\"],[[6272,6313],\"valid\"],[[6314,6314],\"valid\"],[[6315,6319],\"disallowed\"],[[6320,6389],\"valid\"],[[6390,6399],\"disallowed\"],[[6400,6428],\"valid\"],[[6429,6430],\"valid\"],[[6431,6431],\"disallowed\"],[[6432,6443],\"valid\"],[[6444,6447],\"disallowed\"],[[6448,6459],\"valid\"],[[6460,6463],\"disallowed\"],[[6464,6464],\"valid\",[],\"NV8\"],[[6465,6467],\"disallowed\"],[[6468,6469],\"valid\",[],\"NV8\"],[[6470,6509],\"valid\"],[[6510,6511],\"disallowed\"],[[6512,6516],\"valid\"],[[6517,6527],\"disallowed\"],[[6528,6569],\"valid\"],[[6570,6571],\"valid\"],[[6572,6575],\"disallowed\"],[[6576,6601],\"valid\"],[[6602,6607],\"disallowed\"],[[6608,6617],\"valid\"],[[6618,6618],\"valid\",[],\"XV8\"],[[6619,6621],\"disallowed\"],[[6622,6623],\"valid\",[],\"NV8\"],[[6624,6655],\"valid\",[],\"NV8\"],[[6656,6683],\"valid\"],[[6684,6685],\"disallowed\"],[[6686,6687],\"valid\",[],\"NV8\"],[[6688,6750],\"valid\"],[[6751,6751],\"disallowed\"],[[6752,6780],\"valid\"],[[6781,6782],\"disallowed\"],[[6783,6793],\"valid\"],[[6794,6799],\"disallowed\"],[[6800,6809],\"valid\"],[[6810,6815],\"disallowed\"],[[6816,6822],\"valid\",[],\"NV8\"],[[6823,6823],\"valid\"],[[6824,6829],\"valid\",[],\"NV8\"],[[6830,6831],\"disallowed\"],[[6832,6845],\"valid\"],[[6846,6846],\"valid\",[],\"NV8\"],[[6847,6911],\"disallowed\"],[[6912,6987],\"valid\"],[[6988,6991],\"disallowed\"],[[6992,7001],\"valid\"],[[7002,7018],\"valid\",[],\"NV8\"],[[7019,7027],\"valid\"],[[7028,7036],\"valid\",[],\"NV8\"],[[7037,7039],\"disallowed\"],[[7040,7082],\"valid\"],[[7083,7085],\"valid\"],[[7086,7097],\"valid\"],[[7098,7103],\"valid\"],[[7104,7155],\"valid\"],[[7156,7163],\"disallowed\"],[[7164,7167],\"valid\",[],\"NV8\"],[[7168,7223],\"valid\"],[[7224,7226],\"disallowed\"],[[7227,7231],\"valid\",[],\"NV8\"],[[7232,7241],\"valid\"],[[7242,7244],\"disallowed\"],[[7245,7293],\"valid\"],[[7294,7295],\"valid\",[],\"NV8\"],[[7296,7359],\"disallowed\"],[[7360,7367],\"valid\",[],\"NV8\"],[[7368,7375],\"disallowed\"],[[7376,7378],\"valid\"],[[7379,7379],\"valid\",[],\"NV8\"],[[7380,7410],\"valid\"],[[7411,7414],\"valid\"],[[7415,7415],\"disallowed\"],[[7416,7417],\"valid\"],[[7418,7423],\"disallowed\"],[[7424,7467],\"valid\"],[[7468,7468],\"mapped\",[97]],[[7469,7469],\"mapped\",[230]],[[7470,7470],\"mapped\",[98]],[[7471,7471],\"valid\"],[[7472,7472],\"mapped\",[100]],[[7473,7473],\"mapped\",[101]],[[7474,7474],\"mapped\",[477]],[[7475,7475],\"mapped\",[103]],[[7476,7476],\"mapped\",[104]],[[7477,7477],\"mapped\",[105]],[[7478,7478],\"mapped\",[106]],[[7479,7479],\"mapped\",[107]],[[7480,7480],\"mapped\",[108]],[[7481,7481],\"mapped\",[109]],[[7482,7482],\"mapped\",[110]],[[7483,7483],\"valid\"],[[7484,7484],\"mapped\",[111]],[[7485,7485],\"mapped\",[547]],[[7486,7486],\"mapped\",[112]],[[7487,7487],\"mapped\",[114]],[[7488,7488],\"mapped\",[116]],[[7489,7489],\"mapped\",[117]],[[7490,7490],\"mapped\",[119]],[[7491,7491],\"mapped\",[97]],[[7492,7492],\"mapped\",[592]],[[7493,7493],\"mapped\",[593]],[[7494,7494],\"mapped\",[7426]],[[7495,7495],\"mapped\",[98]],[[7496,7496],\"mapped\",[100]],[[7497,7497],\"mapped\",[101]],[[7498,7498],\"mapped\",[601]],[[7499,7499],\"mapped\",[603]],[[7500,7500],\"mapped\",[604]],[[7501,7501],\"mapped\",[103]],[[7502,7502],\"valid\"],[[7503,7503],\"mapped\",[107]],[[7504,7504],\"mapped\",[109]],[[7505,7505],\"mapped\",[331]],[[7506,7506],\"mapped\",[111]],[[7507,7507],\"mapped\",[596]],[[7508,7508],\"mapped\",[7446]],[[7509,7509],\"mapped\",[7447]],[[7510,7510],\"mapped\",[112]],[[7511,7511],\"mapped\",[116]],[[7512,7512],\"mapped\",[117]],[[7513,7513],\"mapped\",[7453]],[[7514,7514],\"mapped\",[623]],[[7515,7515],\"mapped\",[118]],[[7516,7516],\"mapped\",[7461]],[[7517,7517],\"mapped\",[946]],[[7518,7518],\"mapped\",[947]],[[7519,7519],\"mapped\",[948]],[[7520,7520],\"mapped\",[966]],[[7521,7521],\"mapped\",[967]],[[7522,7522],\"mapped\",[105]],[[7523,7523],\"mapped\",[114]],[[7524,7524],\"mapped\",[117]],[[7525,7525],\"mapped\",[118]],[[7526,7526],\"mapped\",[946]],[[7527,7527],\"mapped\",[947]],[[7528,7528],\"mapped\",[961]],[[7529,7529],\"mapped\",[966]],[[7530,7530],\"mapped\",[967]],[[7531,7531],\"valid\"],[[7532,7543],\"valid\"],[[7544,7544],\"mapped\",[1085]],[[7545,7578],\"valid\"],[[7579,7579],\"mapped\",[594]],[[7580,7580],\"mapped\",[99]],[[7581,7581],\"mapped\",[597]],[[7582,7582],\"mapped\",[240]],[[7583,7583],\"mapped\",[604]],[[7584,7584],\"mapped\",[102]],[[7585,7585],\"mapped\",[607]],[[7586,7586],\"mapped\",[609]],[[7587,7587],\"mapped\",[613]],[[7588,7588],\"mapped\",[616]],[[7589,7589],\"mapped\",[617]],[[7590,7590],\"mapped\",[618]],[[7591,7591],\"mapped\",[7547]],[[7592,7592],\"mapped\",[669]],[[7593,7593],\"mapped\",[621]],[[7594,7594],\"mapped\",[7557]],[[7595,7595],\"mapped\",[671]],[[7596,7596],\"mapped\",[625]],[[7597,7597],\"mapped\",[624]],[[7598,7598],\"mapped\",[626]],[[7599,7599],\"mapped\",[627]],[[7600,7600],\"mapped\",[628]],[[7601,7601],\"mapped\",[629]],[[7602,7602],\"mapped\",[632]],[[7603,7603],\"mapped\",[642]],[[7604,7604],\"mapped\",[643]],[[7605,7605],\"mapped\",[427]],[[7606,7606],\"mapped\",[649]],[[7607,7607],\"mapped\",[650]],[[7608,7608],\"mapped\",[7452]],[[7609,7609],\"mapped\",[651]],[[7610,7610],\"mapped\",[652]],[[7611,7611],\"mapped\",[122]],[[7612,7612],\"mapped\",[656]],[[7613,7613],\"mapped\",[657]],[[7614,7614],\"mapped\",[658]],[[7615,7615],\"mapped\",[952]],[[7616,7619],\"valid\"],[[7620,7626],\"valid\"],[[7627,7654],\"valid\"],[[7655,7669],\"valid\"],[[7670,7675],\"disallowed\"],[[7676,7676],\"valid\"],[[7677,7677],\"valid\"],[[7678,7679],\"valid\"],[[7680,7680],\"mapped\",[7681]],[[7681,7681],\"valid\"],[[7682,7682],\"mapped\",[7683]],[[7683,7683],\"valid\"],[[7684,7684],\"mapped\",[7685]],[[7685,7685],\"valid\"],[[7686,7686],\"mapped\",[7687]],[[7687,7687],\"valid\"],[[7688,7688],\"mapped\",[7689]],[[7689,7689],\"valid\"],[[7690,7690],\"mapped\",[7691]],[[7691,7691],\"valid\"],[[7692,7692],\"mapped\",[7693]],[[7693,7693],\"valid\"],[[7694,7694],\"mapped\",[7695]],[[7695,7695],\"valid\"],[[7696,7696],\"mapped\",[7697]],[[7697,7697],\"valid\"],[[7698,7698],\"mapped\",[7699]],[[7699,7699],\"valid\"],[[7700,7700],\"mapped\",[7701]],[[7701,7701],\"valid\"],[[7702,7702],\"mapped\",[7703]],[[7703,7703],\"valid\"],[[7704,7704],\"mapped\",[7705]],[[7705,7705],\"valid\"],[[7706,7706],\"mapped\",[7707]],[[7707,7707],\"valid\"],[[7708,7708],\"mapped\",[7709]],[[7709,7709],\"valid\"],[[7710,7710],\"mapped\",[7711]],[[7711,7711],\"valid\"],[[7712,7712],\"mapped\",[7713]],[[7713,7713],\"valid\"],[[7714,7714],\"mapped\",[7715]],[[7715,7715],\"valid\"],[[7716,7716],\"mapped\",[7717]],[[7717,7717],\"valid\"],[[7718,7718],\"mapped\",[7719]],[[7719,7719],\"valid\"],[[7720,7720],\"mapped\",[7721]],[[7721,7721],\"valid\"],[[7722,7722],\"mapped\",[7723]],[[7723,7723],\"valid\"],[[7724,7724],\"mapped\",[7725]],[[7725,7725],\"valid\"],[[7726,7726],\"mapped\",[7727]],[[7727,7727],\"valid\"],[[7728,7728],\"mapped\",[7729]],[[7729,7729],\"valid\"],[[7730,7730],\"mapped\",[7731]],[[7731,7731],\"valid\"],[[7732,7732],\"mapped\",[7733]],[[7733,7733],\"valid\"],[[7734,7734],\"mapped\",[7735]],[[7735,7735],\"valid\"],[[7736,7736],\"mapped\",[7737]],[[7737,7737],\"valid\"],[[7738,7738],\"mapped\",[7739]],[[7739,7739],\"valid\"],[[7740,7740],\"mapped\",[7741]],[[7741,7741],\"valid\"],[[7742,7742],\"mapped\",[7743]],[[7743,7743],\"valid\"],[[7744,7744],\"mapped\",[7745]],[[7745,7745],\"valid\"],[[7746,7746],\"mapped\",[7747]],[[7747,7747],\"valid\"],[[7748,7748],\"mapped\",[7749]],[[7749,7749],\"valid\"],[[7750,7750],\"mapped\",[7751]],[[7751,7751],\"valid\"],[[7752,7752],\"mapped\",[7753]],[[7753,7753],\"valid\"],[[7754,7754],\"mapped\",[7755]],[[7755,7755],\"valid\"],[[7756,7756],\"mapped\",[7757]],[[7757,7757],\"valid\"],[[7758,7758],\"mapped\",[7759]],[[7759,7759],\"valid\"],[[7760,7760],\"mapped\",[7761]],[[7761,7761],\"valid\"],[[7762,7762],\"mapped\",[7763]],[[7763,7763],\"valid\"],[[7764,7764],\"mapped\",[7765]],[[7765,7765],\"valid\"],[[7766,7766],\"mapped\",[7767]],[[7767,7767],\"valid\"],[[7768,7768],\"mapped\",[7769]],[[7769,7769],\"valid\"],[[7770,7770],\"mapped\",[7771]],[[7771,7771],\"valid\"],[[7772,7772],\"mapped\",[7773]],[[7773,7773],\"valid\"],[[7774,7774],\"mapped\",[7775]],[[7775,7775],\"valid\"],[[7776,7776],\"mapped\",[7777]],[[7777,7777],\"valid\"],[[7778,7778],\"mapped\",[7779]],[[7779,7779],\"valid\"],[[7780,7780],\"mapped\",[7781]],[[7781,7781],\"valid\"],[[7782,7782],\"mapped\",[7783]],[[7783,7783],\"valid\"],[[7784,7784],\"mapped\",[7785]],[[7785,7785],\"valid\"],[[7786,7786],\"mapped\",[7787]],[[7787,7787],\"valid\"],[[7788,7788],\"mapped\",[7789]],[[7789,7789],\"valid\"],[[7790,7790],\"mapped\",[7791]],[[7791,7791],\"valid\"],[[7792,7792],\"mapped\",[7793]],[[7793,7793],\"valid\"],[[7794,7794],\"mapped\",[7795]],[[7795,7795],\"valid\"],[[7796,7796],\"mapped\",[7797]],[[7797,7797],\"valid\"],[[7798,7798],\"mapped\",[7799]],[[7799,7799],\"valid\"],[[7800,7800],\"mapped\",[7801]],[[7801,7801],\"valid\"],[[7802,7802],\"mapped\",[7803]],[[7803,7803],\"valid\"],[[7804,7804],\"mapped\",[7805]],[[7805,7805],\"valid\"],[[7806,7806],\"mapped\",[7807]],[[7807,7807],\"valid\"],[[7808,7808],\"mapped\",[7809]],[[7809,7809],\"valid\"],[[7810,7810],\"mapped\",[7811]],[[7811,7811],\"valid\"],[[7812,7812],\"mapped\",[7813]],[[7813,7813],\"valid\"],[[7814,7814],\"mapped\",[7815]],[[7815,7815],\"valid\"],[[7816,7816],\"mapped\",[7817]],[[7817,7817],\"valid\"],[[7818,7818],\"mapped\",[7819]],[[7819,7819],\"valid\"],[[7820,7820],\"mapped\",[7821]],[[7821,7821],\"valid\"],[[7822,7822],\"mapped\",[7823]],[[7823,7823],\"valid\"],[[7824,7824],\"mapped\",[7825]],[[7825,7825],\"valid\"],[[7826,7826],\"mapped\",[7827]],[[7827,7827],\"valid\"],[[7828,7828],\"mapped\",[7829]],[[7829,7833],\"valid\"],[[7834,7834],\"mapped\",[97,702]],[[7835,7835],\"mapped\",[7777]],[[7836,7837],\"valid\"],[[7838,7838],\"mapped\",[115,115]],[[7839,7839],\"valid\"],[[7840,7840],\"mapped\",[7841]],[[7841,7841],\"valid\"],[[7842,7842],\"mapped\",[7843]],[[7843,7843],\"valid\"],[[7844,7844],\"mapped\",[7845]],[[7845,7845],\"valid\"],[[7846,7846],\"mapped\",[7847]],[[7847,7847],\"valid\"],[[7848,7848],\"mapped\",[7849]],[[7849,7849],\"valid\"],[[7850,7850],\"mapped\",[7851]],[[7851,7851],\"valid\"],[[7852,7852],\"mapped\",[7853]],[[7853,7853],\"valid\"],[[7854,7854],\"mapped\",[7855]],[[7855,7855],\"valid\"],[[7856,7856],\"mapped\",[7857]],[[7857,7857],\"valid\"],[[7858,7858],\"mapped\",[7859]],[[7859,7859],\"valid\"],[[7860,7860],\"mapped\",[7861]],[[7861,7861],\"valid\"],[[7862,7862],\"mapped\",[7863]],[[7863,7863],\"valid\"],[[7864,7864],\"mapped\",[7865]],[[7865,7865],\"valid\"],[[7866,7866],\"mapped\",[7867]],[[7867,7867],\"valid\"],[[7868,7868],\"mapped\",[7869]],[[7869,7869],\"valid\"],[[7870,7870],\"mapped\",[7871]],[[7871,7871],\"valid\"],[[7872,7872],\"mapped\",[7873]],[[7873,7873],\"valid\"],[[7874,7874],\"mapped\",[7875]],[[7875,7875],\"valid\"],[[7876,7876],\"mapped\",[7877]],[[7877,7877],\"valid\"],[[7878,7878],\"mapped\",[7879]],[[7879,7879],\"valid\"],[[7880,7880],\"mapped\",[7881]],[[7881,7881],\"valid\"],[[7882,7882],\"mapped\",[7883]],[[7883,7883],\"valid\"],[[7884,7884],\"mapped\",[7885]],[[7885,7885],\"valid\"],[[7886,7886],\"mapped\",[7887]],[[7887,7887],\"valid\"],[[7888,7888],\"mapped\",[7889]],[[7889,7889],\"valid\"],[[7890,7890],\"mapped\",[7891]],[[7891,7891],\"valid\"],[[7892,7892],\"mapped\",[7893]],[[7893,7893],\"valid\"],[[7894,7894],\"mapped\",[7895]],[[7895,7895],\"valid\"],[[7896,7896],\"mapped\",[7897]],[[7897,7897],\"valid\"],[[7898,7898],\"mapped\",[7899]],[[7899,7899],\"valid\"],[[7900,7900],\"mapped\",[7901]],[[7901,7901],\"valid\"],[[7902,7902],\"mapped\",[7903]],[[7903,7903],\"valid\"],[[7904,7904],\"mapped\",[7905]],[[7905,7905],\"valid\"],[[7906,7906],\"mapped\",[7907]],[[7907,7907],\"valid\"],[[7908,7908],\"mapped\",[7909]],[[7909,7909],\"valid\"],[[7910,7910],\"mapped\",[7911]],[[7911,7911],\"valid\"],[[7912,7912],\"mapped\",[7913]],[[7913,7913],\"valid\"],[[7914,7914],\"mapped\",[7915]],[[7915,7915],\"valid\"],[[7916,7916],\"mapped\",[7917]],[[7917,7917],\"valid\"],[[7918,7918],\"mapped\",[7919]],[[7919,7919],\"valid\"],[[7920,7920],\"mapped\",[7921]],[[7921,7921],\"valid\"],[[7922,7922],\"mapped\",[7923]],[[7923,7923],\"valid\"],[[7924,7924],\"mapped\",[7925]],[[7925,7925],\"valid\"],[[7926,7926],\"mapped\",[7927]],[[7927,7927],\"valid\"],[[7928,7928],\"mapped\",[7929]],[[7929,7929],\"valid\"],[[7930,7930],\"mapped\",[7931]],[[7931,7931],\"valid\"],[[7932,7932],\"mapped\",[7933]],[[7933,7933],\"valid\"],[[7934,7934],\"mapped\",[7935]],[[7935,7935],\"valid\"],[[7936,7943],\"valid\"],[[7944,7944],\"mapped\",[7936]],[[7945,7945],\"mapped\",[7937]],[[7946,7946],\"mapped\",[7938]],[[7947,7947],\"mapped\",[7939]],[[7948,7948],\"mapped\",[7940]],[[7949,7949],\"mapped\",[7941]],[[7950,7950],\"mapped\",[7942]],[[7951,7951],\"mapped\",[7943]],[[7952,7957],\"valid\"],[[7958,7959],\"disallowed\"],[[7960,7960],\"mapped\",[7952]],[[7961,7961],\"mapped\",[7953]],[[7962,7962],\"mapped\",[7954]],[[7963,7963],\"mapped\",[7955]],[[7964,7964],\"mapped\",[7956]],[[7965,7965],\"mapped\",[7957]],[[7966,7967],\"disallowed\"],[[7968,7975],\"valid\"],[[7976,7976],\"mapped\",[7968]],[[7977,7977],\"mapped\",[7969]],[[7978,7978],\"mapped\",[7970]],[[7979,7979],\"mapped\",[7971]],[[7980,7980],\"mapped\",[7972]],[[7981,7981],\"mapped\",[7973]],[[7982,7982],\"mapped\",[7974]],[[7983,7983],\"mapped\",[7975]],[[7984,7991],\"valid\"],[[7992,7992],\"mapped\",[7984]],[[7993,7993],\"mapped\",[7985]],[[7994,7994],\"mapped\",[7986]],[[7995,7995],\"mapped\",[7987]],[[7996,7996],\"mapped\",[7988]],[[7997,7997],\"mapped\",[7989]],[[7998,7998],\"mapped\",[7990]],[[7999,7999],\"mapped\",[7991]],[[8000,8005],\"valid\"],[[8006,8007],\"disallowed\"],[[8008,8008],\"mapped\",[8000]],[[8009,8009],\"mapped\",[8001]],[[8010,8010],\"mapped\",[8002]],[[8011,8011],\"mapped\",[8003]],[[8012,8012],\"mapped\",[8004]],[[8013,8013],\"mapped\",[8005]],[[8014,8015],\"disallowed\"],[[8016,8023],\"valid\"],[[8024,8024],\"disallowed\"],[[8025,8025],\"mapped\",[8017]],[[8026,8026],\"disallowed\"],[[8027,8027],\"mapped\",[8019]],[[8028,8028],\"disallowed\"],[[8029,8029],\"mapped\",[8021]],[[8030,8030],\"disallowed\"],[[8031,8031],\"mapped\",[8023]],[[8032,8039],\"valid\"],[[8040,8040],\"mapped\",[8032]],[[8041,8041],\"mapped\",[8033]],[[8042,8042],\"mapped\",[8034]],[[8043,8043],\"mapped\",[8035]],[[8044,8044],\"mapped\",[8036]],[[8045,8045],\"mapped\",[8037]],[[8046,8046],\"mapped\",[8038]],[[8047,8047],\"mapped\",[8039]],[[8048,8048],\"valid\"],[[8049,8049],\"mapped\",[940]],[[8050,8050],\"valid\"],[[8051,8051],\"mapped\",[941]],[[8052,8052],\"valid\"],[[8053,8053],\"mapped\",[942]],[[8054,8054],\"valid\"],[[8055,8055],\"mapped\",[943]],[[8056,8056],\"valid\"],[[8057,8057],\"mapped\",[972]],[[8058,8058],\"valid\"],[[8059,8059],\"mapped\",[973]],[[8060,8060],\"valid\"],[[8061,8061],\"mapped\",[974]],[[8062,8063],\"disallowed\"],[[8064,8064],\"mapped\",[7936,953]],[[8065,8065],\"mapped\",[7937,953]],[[8066,8066],\"mapped\",[7938,953]],[[8067,8067],\"mapped\",[7939,953]],[[8068,8068],\"mapped\",[7940,953]],[[8069,8069],\"mapped\",[7941,953]],[[8070,8070],\"mapped\",[7942,953]],[[8071,8071],\"mapped\",[7943,953]],[[8072,8072],\"mapped\",[7936,953]],[[8073,8073],\"mapped\",[7937,953]],[[8074,8074],\"mapped\",[7938,953]],[[8075,8075],\"mapped\",[7939,953]],[[8076,8076],\"mapped\",[7940,953]],[[8077,8077],\"mapped\",[7941,953]],[[8078,8078],\"mapped\",[7942,953]],[[8079,8079],\"mapped\",[7943,953]],[[8080,8080],\"mapped\",[7968,953]],[[8081,8081],\"mapped\",[7969,953]],[[8082,8082],\"mapped\",[7970,953]],[[8083,8083],\"mapped\",[7971,953]],[[8084,8084],\"mapped\",[7972,953]],[[8085,8085],\"mapped\",[7973,953]],[[8086,8086],\"mapped\",[7974,953]],[[8087,8087],\"mapped\",[7975,953]],[[8088,8088],\"mapped\",[7968,953]],[[8089,8089],\"mapped\",[7969,953]],[[8090,8090],\"mapped\",[7970,953]],[[8091,8091],\"mapped\",[7971,953]],[[8092,8092],\"mapped\",[7972,953]],[[8093,8093],\"mapped\",[7973,953]],[[8094,8094],\"mapped\",[7974,953]],[[8095,8095],\"mapped\",[7975,953]],[[8096,8096],\"mapped\",[8032,953]],[[8097,8097],\"mapped\",[8033,953]],[[8098,8098],\"mapped\",[8034,953]],[[8099,8099],\"mapped\",[8035,953]],[[8100,8100],\"mapped\",[8036,953]],[[8101,8101],\"mapped\",[8037,953]],[[8102,8102],\"mapped\",[8038,953]],[[8103,8103],\"mapped\",[8039,953]],[[8104,8104],\"mapped\",[8032,953]],[[8105,8105],\"mapped\",[8033,953]],[[8106,8106],\"mapped\",[8034,953]],[[8107,8107],\"mapped\",[8035,953]],[[8108,8108],\"mapped\",[8036,953]],[[8109,8109],\"mapped\",[8037,953]],[[8110,8110],\"mapped\",[8038,953]],[[8111,8111],\"mapped\",[8039,953]],[[8112,8113],\"valid\"],[[8114,8114],\"mapped\",[8048,953]],[[8115,8115],\"mapped\",[945,953]],[[8116,8116],\"mapped\",[940,953]],[[8117,8117],\"disallowed\"],[[8118,8118],\"valid\"],[[8119,8119],\"mapped\",[8118,953]],[[8120,8120],\"mapped\",[8112]],[[8121,8121],\"mapped\",[8113]],[[8122,8122],\"mapped\",[8048]],[[8123,8123],\"mapped\",[940]],[[8124,8124],\"mapped\",[945,953]],[[8125,8125],\"disallowed_STD3_mapped\",[32,787]],[[8126,8126],\"mapped\",[953]],[[8127,8127],\"disallowed_STD3_mapped\",[32,787]],[[8128,8128],\"disallowed_STD3_mapped\",[32,834]],[[8129,8129],\"disallowed_STD3_mapped\",[32,776,834]],[[8130,8130],\"mapped\",[8052,953]],[[8131,8131],\"mapped\",[951,953]],[[8132,8132],\"mapped\",[942,953]],[[8133,8133],\"disallowed\"],[[8134,8134],\"valid\"],[[8135,8135],\"mapped\",[8134,953]],[[8136,8136],\"mapped\",[8050]],[[8137,8137],\"mapped\",[941]],[[8138,8138],\"mapped\",[8052]],[[8139,8139],\"mapped\",[942]],[[8140,8140],\"mapped\",[951,953]],[[8141,8141],\"disallowed_STD3_mapped\",[32,787,768]],[[8142,8142],\"disallowed_STD3_mapped\",[32,787,769]],[[8143,8143],\"disallowed_STD3_mapped\",[32,787,834]],[[8144,8146],\"valid\"],[[8147,8147],\"mapped\",[912]],[[8148,8149],\"disallowed\"],[[8150,8151],\"valid\"],[[8152,8152],\"mapped\",[8144]],[[8153,8153],\"mapped\",[8145]],[[8154,8154],\"mapped\",[8054]],[[8155,8155],\"mapped\",[943]],[[8156,8156],\"disallowed\"],[[8157,8157],\"disallowed_STD3_mapped\",[32,788,768]],[[8158,8158],\"disallowed_STD3_mapped\",[32,788,769]],[[8159,8159],\"disallowed_STD3_mapped\",[32,788,834]],[[8160,8162],\"valid\"],[[8163,8163],\"mapped\",[944]],[[8164,8167],\"valid\"],[[8168,8168],\"mapped\",[8160]],[[8169,8169],\"mapped\",[8161]],[[8170,8170],\"mapped\",[8058]],[[8171,8171],\"mapped\",[973]],[[8172,8172],\"mapped\",[8165]],[[8173,8173],\"disallowed_STD3_mapped\",[32,776,768]],[[8174,8174],\"disallowed_STD3_mapped\",[32,776,769]],[[8175,8175],\"disallowed_STD3_mapped\",[96]],[[8176,8177],\"disallowed\"],[[8178,8178],\"mapped\",[8060,953]],[[8179,8179],\"mapped\",[969,953]],[[8180,8180],\"mapped\",[974,953]],[[8181,8181],\"disallowed\"],[[8182,8182],\"valid\"],[[8183,8183],\"mapped\",[8182,953]],[[8184,8184],\"mapped\",[8056]],[[8185,8185],\"mapped\",[972]],[[8186,8186],\"mapped\",[8060]],[[8187,8187],\"mapped\",[974]],[[8188,8188],\"mapped\",[969,953]],[[8189,8189],\"disallowed_STD3_mapped\",[32,769]],[[8190,8190],\"disallowed_STD3_mapped\",[32,788]],[[8191,8191],\"disallowed\"],[[8192,8202],\"disallowed_STD3_mapped\",[32]],[[8203,8203],\"ignored\"],[[8204,8205],\"deviation\",[]],[[8206,8207],\"disallowed\"],[[8208,8208],\"valid\",[],\"NV8\"],[[8209,8209],\"mapped\",[8208]],[[8210,8214],\"valid\",[],\"NV8\"],[[8215,8215],\"disallowed_STD3_mapped\",[32,819]],[[8216,8227],\"valid\",[],\"NV8\"],[[8228,8230],\"disallowed\"],[[8231,8231],\"valid\",[],\"NV8\"],[[8232,8238],\"disallowed\"],[[8239,8239],\"disallowed_STD3_mapped\",[32]],[[8240,8242],\"valid\",[],\"NV8\"],[[8243,8243],\"mapped\",[8242,8242]],[[8244,8244],\"mapped\",[8242,8242,8242]],[[8245,8245],\"valid\",[],\"NV8\"],[[8246,8246],\"mapped\",[8245,8245]],[[8247,8247],\"mapped\",[8245,8245,8245]],[[8248,8251],\"valid\",[],\"NV8\"],[[8252,8252],\"disallowed_STD3_mapped\",[33,33]],[[8253,8253],\"valid\",[],\"NV8\"],[[8254,8254],\"disallowed_STD3_mapped\",[32,773]],[[8255,8262],\"valid\",[],\"NV8\"],[[8263,8263],\"disallowed_STD3_mapped\",[63,63]],[[8264,8264],\"disallowed_STD3_mapped\",[63,33]],[[8265,8265],\"disallowed_STD3_mapped\",[33,63]],[[8266,8269],\"valid\",[],\"NV8\"],[[8270,8274],\"valid\",[],\"NV8\"],[[8275,8276],\"valid\",[],\"NV8\"],[[8277,8278],\"valid\",[],\"NV8\"],[[8279,8279],\"mapped\",[8242,8242,8242,8242]],[[8280,8286],\"valid\",[],\"NV8\"],[[8287,8287],\"disallowed_STD3_mapped\",[32]],[[8288,8288],\"ignored\"],[[8289,8291],\"disallowed\"],[[8292,8292],\"ignored\"],[[8293,8293],\"disallowed\"],[[8294,8297],\"disallowed\"],[[8298,8303],\"disallowed\"],[[8304,8304],\"mapped\",[48]],[[8305,8305],\"mapped\",[105]],[[8306,8307],\"disallowed\"],[[8308,8308],\"mapped\",[52]],[[8309,8309],\"mapped\",[53]],[[8310,8310],\"mapped\",[54]],[[8311,8311],\"mapped\",[55]],[[8312,8312],\"mapped\",[56]],[[8313,8313],\"mapped\",[57]],[[8314,8314],\"disallowed_STD3_mapped\",[43]],[[8315,8315],\"mapped\",[8722]],[[8316,8316],\"disallowed_STD3_mapped\",[61]],[[8317,8317],\"disallowed_STD3_mapped\",[40]],[[8318,8318],\"disallowed_STD3_mapped\",[41]],[[8319,8319],\"mapped\",[110]],[[8320,8320],\"mapped\",[48]],[[8321,8321],\"mapped\",[49]],[[8322,8322],\"mapped\",[50]],[[8323,8323],\"mapped\",[51]],[[8324,8324],\"mapped\",[52]],[[8325,8325],\"mapped\",[53]],[[8326,8326],\"mapped\",[54]],[[8327,8327],\"mapped\",[55]],[[8328,8328],\"mapped\",[56]],[[8329,8329],\"mapped\",[57]],[[8330,8330],\"disallowed_STD3_mapped\",[43]],[[8331,8331],\"mapped\",[8722]],[[8332,8332],\"disallowed_STD3_mapped\",[61]],[[8333,8333],\"disallowed_STD3_mapped\",[40]],[[8334,8334],\"disallowed_STD3_mapped\",[41]],[[8335,8335],\"disallowed\"],[[8336,8336],\"mapped\",[97]],[[8337,8337],\"mapped\",[101]],[[8338,8338],\"mapped\",[111]],[[8339,8339],\"mapped\",[120]],[[8340,8340],\"mapped\",[601]],[[8341,8341],\"mapped\",[104]],[[8342,8342],\"mapped\",[107]],[[8343,8343],\"mapped\",[108]],[[8344,8344],\"mapped\",[109]],[[8345,8345],\"mapped\",[110]],[[8346,8346],\"mapped\",[112]],[[8347,8347],\"mapped\",[115]],[[8348,8348],\"mapped\",[116]],[[8349,8351],\"disallowed\"],[[8352,8359],\"valid\",[],\"NV8\"],[[8360,8360],\"mapped\",[114,115]],[[8361,8362],\"valid\",[],\"NV8\"],[[8363,8363],\"valid\",[],\"NV8\"],[[8364,8364],\"valid\",[],\"NV8\"],[[8365,8367],\"valid\",[],\"NV8\"],[[8368,8369],\"valid\",[],\"NV8\"],[[8370,8373],\"valid\",[],\"NV8\"],[[8374,8376],\"valid\",[],\"NV8\"],[[8377,8377],\"valid\",[],\"NV8\"],[[8378,8378],\"valid\",[],\"NV8\"],[[8379,8381],\"valid\",[],\"NV8\"],[[8382,8382],\"valid\",[],\"NV8\"],[[8383,8399],\"disallowed\"],[[8400,8417],\"valid\",[],\"NV8\"],[[8418,8419],\"valid\",[],\"NV8\"],[[8420,8426],\"valid\",[],\"NV8\"],[[8427,8427],\"valid\",[],\"NV8\"],[[8428,8431],\"valid\",[],\"NV8\"],[[8432,8432],\"valid\",[],\"NV8\"],[[8433,8447],\"disallowed\"],[[8448,8448],\"disallowed_STD3_mapped\",[97,47,99]],[[8449,8449],\"disallowed_STD3_mapped\",[97,47,115]],[[8450,8450],\"mapped\",[99]],[[8451,8451],\"mapped\",[176,99]],[[8452,8452],\"valid\",[],\"NV8\"],[[8453,8453],\"disallowed_STD3_mapped\",[99,47,111]],[[8454,8454],\"disallowed_STD3_mapped\",[99,47,117]],[[8455,8455],\"mapped\",[603]],[[8456,8456],\"valid\",[],\"NV8\"],[[8457,8457],\"mapped\",[176,102]],[[8458,8458],\"mapped\",[103]],[[8459,8462],\"mapped\",[104]],[[8463,8463],\"mapped\",[295]],[[8464,8465],\"mapped\",[105]],[[8466,8467],\"mapped\",[108]],[[8468,8468],\"valid\",[],\"NV8\"],[[8469,8469],\"mapped\",[110]],[[8470,8470],\"mapped\",[110,111]],[[8471,8472],\"valid\",[],\"NV8\"],[[8473,8473],\"mapped\",[112]],[[8474,8474],\"mapped\",[113]],[[8475,8477],\"mapped\",[114]],[[8478,8479],\"valid\",[],\"NV8\"],[[8480,8480],\"mapped\",[115,109]],[[8481,8481],\"mapped\",[116,101,108]],[[8482,8482],\"mapped\",[116,109]],[[8483,8483],\"valid\",[],\"NV8\"],[[8484,8484],\"mapped\",[122]],[[8485,8485],\"valid\",[],\"NV8\"],[[8486,8486],\"mapped\",[969]],[[8487,8487],\"valid\",[],\"NV8\"],[[8488,8488],\"mapped\",[122]],[[8489,8489],\"valid\",[],\"NV8\"],[[8490,8490],\"mapped\",[107]],[[8491,8491],\"mapped\",[229]],[[8492,8492],\"mapped\",[98]],[[8493,8493],\"mapped\",[99]],[[8494,8494],\"valid\",[],\"NV8\"],[[8495,8496],\"mapped\",[101]],[[8497,8497],\"mapped\",[102]],[[8498,8498],\"disallowed\"],[[8499,8499],\"mapped\",[109]],[[8500,8500],\"mapped\",[111]],[[8501,8501],\"mapped\",[1488]],[[8502,8502],\"mapped\",[1489]],[[8503,8503],\"mapped\",[1490]],[[8504,8504],\"mapped\",[1491]],[[8505,8505],\"mapped\",[105]],[[8506,8506],\"valid\",[],\"NV8\"],[[8507,8507],\"mapped\",[102,97,120]],[[8508,8508],\"mapped\",[960]],[[8509,8510],\"mapped\",[947]],[[8511,8511],\"mapped\",[960]],[[8512,8512],\"mapped\",[8721]],[[8513,8516],\"valid\",[],\"NV8\"],[[8517,8518],\"mapped\",[100]],[[8519,8519],\"mapped\",[101]],[[8520,8520],\"mapped\",[105]],[[8521,8521],\"mapped\",[106]],[[8522,8523],\"valid\",[],\"NV8\"],[[8524,8524],\"valid\",[],\"NV8\"],[[8525,8525],\"valid\",[],\"NV8\"],[[8526,8526],\"valid\"],[[8527,8527],\"valid\",[],\"NV8\"],[[8528,8528],\"mapped\",[49,8260,55]],[[8529,8529],\"mapped\",[49,8260,57]],[[8530,8530],\"mapped\",[49,8260,49,48]],[[8531,8531],\"mapped\",[49,8260,51]],[[8532,8532],\"mapped\",[50,8260,51]],[[8533,8533],\"mapped\",[49,8260,53]],[[8534,8534],\"mapped\",[50,8260,53]],[[8535,8535],\"mapped\",[51,8260,53]],[[8536,8536],\"mapped\",[52,8260,53]],[[8537,8537],\"mapped\",[49,8260,54]],[[8538,8538],\"mapped\",[53,8260,54]],[[8539,8539],\"mapped\",[49,8260,56]],[[8540,8540],\"mapped\",[51,8260,56]],[[8541,8541],\"mapped\",[53,8260,56]],[[8542,8542],\"mapped\",[55,8260,56]],[[8543,8543],\"mapped\",[49,8260]],[[8544,8544],\"mapped\",[105]],[[8545,8545],\"mapped\",[105,105]],[[8546,8546],\"mapped\",[105,105,105]],[[8547,8547],\"mapped\",[105,118]],[[8548,8548],\"mapped\",[118]],[[8549,8549],\"mapped\",[118,105]],[[8550,8550],\"mapped\",[118,105,105]],[[8551,8551],\"mapped\",[118,105,105,105]],[[8552,8552],\"mapped\",[105,120]],[[8553,8553],\"mapped\",[120]],[[8554,8554],\"mapped\",[120,105]],[[8555,8555],\"mapped\",[120,105,105]],[[8556,8556],\"mapped\",[108]],[[8557,8557],\"mapped\",[99]],[[8558,8558],\"mapped\",[100]],[[8559,8559],\"mapped\",[109]],[[8560,8560],\"mapped\",[105]],[[8561,8561],\"mapped\",[105,105]],[[8562,8562],\"mapped\",[105,105,105]],[[8563,8563],\"mapped\",[105,118]],[[8564,8564],\"mapped\",[118]],[[8565,8565],\"mapped\",[118,105]],[[8566,8566],\"mapped\",[118,105,105]],[[8567,8567],\"mapped\",[118,105,105,105]],[[8568,8568],\"mapped\",[105,120]],[[8569,8569],\"mapped\",[120]],[[8570,8570],\"mapped\",[120,105]],[[8571,8571],\"mapped\",[120,105,105]],[[8572,8572],\"mapped\",[108]],[[8573,8573],\"mapped\",[99]],[[8574,8574],\"mapped\",[100]],[[8575,8575],\"mapped\",[109]],[[8576,8578],\"valid\",[],\"NV8\"],[[8579,8579],\"disallowed\"],[[8580,8580],\"valid\"],[[8581,8584],\"valid\",[],\"NV8\"],[[8585,8585],\"mapped\",[48,8260,51]],[[8586,8587],\"valid\",[],\"NV8\"],[[8588,8591],\"disallowed\"],[[8592,8682],\"valid\",[],\"NV8\"],[[8683,8691],\"valid\",[],\"NV8\"],[[8692,8703],\"valid\",[],\"NV8\"],[[8704,8747],\"valid\",[],\"NV8\"],[[8748,8748],\"mapped\",[8747,8747]],[[8749,8749],\"mapped\",[8747,8747,8747]],[[8750,8750],\"valid\",[],\"NV8\"],[[8751,8751],\"mapped\",[8750,8750]],[[8752,8752],\"mapped\",[8750,8750,8750]],[[8753,8799],\"valid\",[],\"NV8\"],[[8800,8800],\"disallowed_STD3_valid\"],[[8801,8813],\"valid\",[],\"NV8\"],[[8814,8815],\"disallowed_STD3_valid\"],[[8816,8945],\"valid\",[],\"NV8\"],[[8946,8959],\"valid\",[],\"NV8\"],[[8960,8960],\"valid\",[],\"NV8\"],[[8961,8961],\"valid\",[],\"NV8\"],[[8962,9000],\"valid\",[],\"NV8\"],[[9001,9001],\"mapped\",[12296]],[[9002,9002],\"mapped\",[12297]],[[9003,9082],\"valid\",[],\"NV8\"],[[9083,9083],\"valid\",[],\"NV8\"],[[9084,9084],\"valid\",[],\"NV8\"],[[9085,9114],\"valid\",[],\"NV8\"],[[9115,9166],\"valid\",[],\"NV8\"],[[9167,9168],\"valid\",[],\"NV8\"],[[9169,9179],\"valid\",[],\"NV8\"],[[9180,9191],\"valid\",[],\"NV8\"],[[9192,9192],\"valid\",[],\"NV8\"],[[9193,9203],\"valid\",[],\"NV8\"],[[9204,9210],\"valid\",[],\"NV8\"],[[9211,9215],\"disallowed\"],[[9216,9252],\"valid\",[],\"NV8\"],[[9253,9254],\"valid\",[],\"NV8\"],[[9255,9279],\"disallowed\"],[[9280,9290],\"valid\",[],\"NV8\"],[[9291,9311],\"disallowed\"],[[9312,9312],\"mapped\",[49]],[[9313,9313],\"mapped\",[50]],[[9314,9314],\"mapped\",[51]],[[9315,9315],\"mapped\",[52]],[[9316,9316],\"mapped\",[53]],[[9317,9317],\"mapped\",[54]],[[9318,9318],\"mapped\",[55]],[[9319,9319],\"mapped\",[56]],[[9320,9320],\"mapped\",[57]],[[9321,9321],\"mapped\",[49,48]],[[9322,9322],\"mapped\",[49,49]],[[9323,9323],\"mapped\",[49,50]],[[9324,9324],\"mapped\",[49,51]],[[9325,9325],\"mapped\",[49,52]],[[9326,9326],\"mapped\",[49,53]],[[9327,9327],\"mapped\",[49,54]],[[9328,9328],\"mapped\",[49,55]],[[9329,9329],\"mapped\",[49,56]],[[9330,9330],\"mapped\",[49,57]],[[9331,9331],\"mapped\",[50,48]],[[9332,9332],\"disallowed_STD3_mapped\",[40,49,41]],[[9333,9333],\"disallowed_STD3_mapped\",[40,50,41]],[[9334,9334],\"disallowed_STD3_mapped\",[40,51,41]],[[9335,9335],\"disallowed_STD3_mapped\",[40,52,41]],[[9336,9336],\"disallowed_STD3_mapped\",[40,53,41]],[[9337,9337],\"disallowed_STD3_mapped\",[40,54,41]],[[9338,9338],\"disallowed_STD3_mapped\",[40,55,41]],[[9339,9339],\"disallowed_STD3_mapped\",[40,56,41]],[[9340,9340],\"disallowed_STD3_mapped\",[40,57,41]],[[9341,9341],\"disallowed_STD3_mapped\",[40,49,48,41]],[[9342,9342],\"disallowed_STD3_mapped\",[40,49,49,41]],[[9343,9343],\"disallowed_STD3_mapped\",[40,49,50,41]],[[9344,9344],\"disallowed_STD3_mapped\",[40,49,51,41]],[[9345,9345],\"disallowed_STD3_mapped\",[40,49,52,41]],[[9346,9346],\"disallowed_STD3_mapped\",[40,49,53,41]],[[9347,9347],\"disallowed_STD3_mapped\",[40,49,54,41]],[[9348,9348],\"disallowed_STD3_mapped\",[40,49,55,41]],[[9349,9349],\"disallowed_STD3_mapped\",[40,49,56,41]],[[9350,9350],\"disallowed_STD3_mapped\",[40,49,57,41]],[[9351,9351],\"disallowed_STD3_mapped\",[40,50,48,41]],[[9352,9371],\"disallowed\"],[[9372,9372],\"disallowed_STD3_mapped\",[40,97,41]],[[9373,9373],\"disallowed_STD3_mapped\",[40,98,41]],[[9374,9374],\"disallowed_STD3_mapped\",[40,99,41]],[[9375,9375],\"disallowed_STD3_mapped\",[40,100,41]],[[9376,9376],\"disallowed_STD3_mapped\",[40,101,41]],[[9377,9377],\"disallowed_STD3_mapped\",[40,102,41]],[[9378,9378],\"disallowed_STD3_mapped\",[40,103,41]],[[9379,9379],\"disallowed_STD3_mapped\",[40,104,41]],[[9380,9380],\"disallowed_STD3_mapped\",[40,105,41]],[[9381,9381],\"disallowed_STD3_mapped\",[40,106,41]],[[9382,9382],\"disallowed_STD3_mapped\",[40,107,41]],[[9383,9383],\"disallowed_STD3_mapped\",[40,108,41]],[[9384,9384],\"disallowed_STD3_mapped\",[40,109,41]],[[9385,9385],\"disallowed_STD3_mapped\",[40,110,41]],[[9386,9386],\"disallowed_STD3_mapped\",[40,111,41]],[[9387,9387],\"disallowed_STD3_mapped\",[40,112,41]],[[9388,9388],\"disallowed_STD3_mapped\",[40,113,41]],[[9389,9389],\"disallowed_STD3_mapped\",[40,114,41]],[[9390,9390],\"disallowed_STD3_mapped\",[40,115,41]],[[9391,9391],\"disallowed_STD3_mapped\",[40,116,41]],[[9392,9392],\"disallowed_STD3_mapped\",[40,117,41]],[[9393,9393],\"disallowed_STD3_mapped\",[40,118,41]],[[9394,9394],\"disallowed_STD3_mapped\",[40,119,41]],[[9395,9395],\"disallowed_STD3_mapped\",[40,120,41]],[[9396,9396],\"disallowed_STD3_mapped\",[40,121,41]],[[9397,9397],\"disallowed_STD3_mapped\",[40,122,41]],[[9398,9398],\"mapped\",[97]],[[9399,9399],\"mapped\",[98]],[[9400,9400],\"mapped\",[99]],[[9401,9401],\"mapped\",[100]],[[9402,9402],\"mapped\",[101]],[[9403,9403],\"mapped\",[102]],[[9404,9404],\"mapped\",[103]],[[9405,9405],\"mapped\",[104]],[[9406,9406],\"mapped\",[105]],[[9407,9407],\"mapped\",[106]],[[9408,9408],\"mapped\",[107]],[[9409,9409],\"mapped\",[108]],[[9410,9410],\"mapped\",[109]],[[9411,9411],\"mapped\",[110]],[[9412,9412],\"mapped\",[111]],[[9413,9413],\"mapped\",[112]],[[9414,9414],\"mapped\",[113]],[[9415,9415],\"mapped\",[114]],[[9416,9416],\"mapped\",[115]],[[9417,9417],\"mapped\",[116]],[[9418,9418],\"mapped\",[117]],[[9419,9419],\"mapped\",[118]],[[9420,9420],\"mapped\",[119]],[[9421,9421],\"mapped\",[120]],[[9422,9422],\"mapped\",[121]],[[9423,9423],\"mapped\",[122]],[[9424,9424],\"mapped\",[97]],[[9425,9425],\"mapped\",[98]],[[9426,9426],\"mapped\",[99]],[[9427,9427],\"mapped\",[100]],[[9428,9428],\"mapped\",[101]],[[9429,9429],\"mapped\",[102]],[[9430,9430],\"mapped\",[103]],[[9431,9431],\"mapped\",[104]],[[9432,9432],\"mapped\",[105]],[[9433,9433],\"mapped\",[106]],[[9434,9434],\"mapped\",[107]],[[9435,9435],\"mapped\",[108]],[[9436,9436],\"mapped\",[109]],[[9437,9437],\"mapped\",[110]],[[9438,9438],\"mapped\",[111]],[[9439,9439],\"mapped\",[112]],[[9440,9440],\"mapped\",[113]],[[9441,9441],\"mapped\",[114]],[[9442,9442],\"mapped\",[115]],[[9443,9443],\"mapped\",[116]],[[9444,9444],\"mapped\",[117]],[[9445,9445],\"mapped\",[118]],[[9446,9446],\"mapped\",[119]],[[9447,9447],\"mapped\",[120]],[[9448,9448],\"mapped\",[121]],[[9449,9449],\"mapped\",[122]],[[9450,9450],\"mapped\",[48]],[[9451,9470],\"valid\",[],\"NV8\"],[[9471,9471],\"valid\",[],\"NV8\"],[[9472,9621],\"valid\",[],\"NV8\"],[[9622,9631],\"valid\",[],\"NV8\"],[[9632,9711],\"valid\",[],\"NV8\"],[[9712,9719],\"valid\",[],\"NV8\"],[[9720,9727],\"valid\",[],\"NV8\"],[[9728,9747],\"valid\",[],\"NV8\"],[[9748,9749],\"valid\",[],\"NV8\"],[[9750,9751],\"valid\",[],\"NV8\"],[[9752,9752],\"valid\",[],\"NV8\"],[[9753,9753],\"valid\",[],\"NV8\"],[[9754,9839],\"valid\",[],\"NV8\"],[[9840,9841],\"valid\",[],\"NV8\"],[[9842,9853],\"valid\",[],\"NV8\"],[[9854,9855],\"valid\",[],\"NV8\"],[[9856,9865],\"valid\",[],\"NV8\"],[[9866,9873],\"valid\",[],\"NV8\"],[[9874,9884],\"valid\",[],\"NV8\"],[[9885,9885],\"valid\",[],\"NV8\"],[[9886,9887],\"valid\",[],\"NV8\"],[[9888,9889],\"valid\",[],\"NV8\"],[[9890,9905],\"valid\",[],\"NV8\"],[[9906,9906],\"valid\",[],\"NV8\"],[[9907,9916],\"valid\",[],\"NV8\"],[[9917,9919],\"valid\",[],\"NV8\"],[[9920,9923],\"valid\",[],\"NV8\"],[[9924,9933],\"valid\",[],\"NV8\"],[[9934,9934],\"valid\",[],\"NV8\"],[[9935,9953],\"valid\",[],\"NV8\"],[[9954,9954],\"valid\",[],\"NV8\"],[[9955,9955],\"valid\",[],\"NV8\"],[[9956,9959],\"valid\",[],\"NV8\"],[[9960,9983],\"valid\",[],\"NV8\"],[[9984,9984],\"valid\",[],\"NV8\"],[[9985,9988],\"valid\",[],\"NV8\"],[[9989,9989],\"valid\",[],\"NV8\"],[[9990,9993],\"valid\",[],\"NV8\"],[[9994,9995],\"valid\",[],\"NV8\"],[[9996,10023],\"valid\",[],\"NV8\"],[[10024,10024],\"valid\",[],\"NV8\"],[[10025,10059],\"valid\",[],\"NV8\"],[[10060,10060],\"valid\",[],\"NV8\"],[[10061,10061],\"valid\",[],\"NV8\"],[[10062,10062],\"valid\",[],\"NV8\"],[[10063,10066],\"valid\",[],\"NV8\"],[[10067,10069],\"valid\",[],\"NV8\"],[[10070,10070],\"valid\",[],\"NV8\"],[[10071,10071],\"valid\",[],\"NV8\"],[[10072,10078],\"valid\",[],\"NV8\"],[[10079,10080],\"valid\",[],\"NV8\"],[[10081,10087],\"valid\",[],\"NV8\"],[[10088,10101],\"valid\",[],\"NV8\"],[[10102,10132],\"valid\",[],\"NV8\"],[[10133,10135],\"valid\",[],\"NV8\"],[[10136,10159],\"valid\",[],\"NV8\"],[[10160,10160],\"valid\",[],\"NV8\"],[[10161,10174],\"valid\",[],\"NV8\"],[[10175,10175],\"valid\",[],\"NV8\"],[[10176,10182],\"valid\",[],\"NV8\"],[[10183,10186],\"valid\",[],\"NV8\"],[[10187,10187],\"valid\",[],\"NV8\"],[[10188,10188],\"valid\",[],\"NV8\"],[[10189,10189],\"valid\",[],\"NV8\"],[[10190,10191],\"valid\",[],\"NV8\"],[[10192,10219],\"valid\",[],\"NV8\"],[[10220,10223],\"valid\",[],\"NV8\"],[[10224,10239],\"valid\",[],\"NV8\"],[[10240,10495],\"valid\",[],\"NV8\"],[[10496,10763],\"valid\",[],\"NV8\"],[[10764,10764],\"mapped\",[8747,8747,8747,8747]],[[10765,10867],\"valid\",[],\"NV8\"],[[10868,10868],\"disallowed_STD3_mapped\",[58,58,61]],[[10869,10869],\"disallowed_STD3_mapped\",[61,61]],[[10870,10870],\"disallowed_STD3_mapped\",[61,61,61]],[[10871,10971],\"valid\",[],\"NV8\"],[[10972,10972],\"mapped\",[10973,824]],[[10973,11007],\"valid\",[],\"NV8\"],[[11008,11021],\"valid\",[],\"NV8\"],[[11022,11027],\"valid\",[],\"NV8\"],[[11028,11034],\"valid\",[],\"NV8\"],[[11035,11039],\"valid\",[],\"NV8\"],[[11040,11043],\"valid\",[],\"NV8\"],[[11044,11084],\"valid\",[],\"NV8\"],[[11085,11087],\"valid\",[],\"NV8\"],[[11088,11092],\"valid\",[],\"NV8\"],[[11093,11097],\"valid\",[],\"NV8\"],[[11098,11123],\"valid\",[],\"NV8\"],[[11124,11125],\"disallowed\"],[[11126,11157],\"valid\",[],\"NV8\"],[[11158,11159],\"disallowed\"],[[11160,11193],\"valid\",[],\"NV8\"],[[11194,11196],\"disallowed\"],[[11197,11208],\"valid\",[],\"NV8\"],[[11209,11209],\"disallowed\"],[[11210,11217],\"valid\",[],\"NV8\"],[[11218,11243],\"disallowed\"],[[11244,11247],\"valid\",[],\"NV8\"],[[11248,11263],\"disallowed\"],[[11264,11264],\"mapped\",[11312]],[[11265,11265],\"mapped\",[11313]],[[11266,11266],\"mapped\",[11314]],[[11267,11267],\"mapped\",[11315]],[[11268,11268],\"mapped\",[11316]],[[11269,11269],\"mapped\",[11317]],[[11270,11270],\"mapped\",[11318]],[[11271,11271],\"mapped\",[11319]],[[11272,11272],\"mapped\",[11320]],[[11273,11273],\"mapped\",[11321]],[[11274,11274],\"mapped\",[11322]],[[11275,11275],\"mapped\",[11323]],[[11276,11276],\"mapped\",[11324]],[[11277,11277],\"mapped\",[11325]],[[11278,11278],\"mapped\",[11326]],[[11279,11279],\"mapped\",[11327]],[[11280,11280],\"mapped\",[11328]],[[11281,11281],\"mapped\",[11329]],[[11282,11282],\"mapped\",[11330]],[[11283,11283],\"mapped\",[11331]],[[11284,11284],\"mapped\",[11332]],[[11285,11285],\"mapped\",[11333]],[[11286,11286],\"mapped\",[11334]],[[11287,11287],\"mapped\",[11335]],[[11288,11288],\"mapped\",[11336]],[[11289,11289],\"mapped\",[11337]],[[11290,11290],\"mapped\",[11338]],[[11291,11291],\"mapped\",[11339]],[[11292,11292],\"mapped\",[11340]],[[11293,11293],\"mapped\",[11341]],[[11294,11294],\"mapped\",[11342]],[[11295,11295],\"mapped\",[11343]],[[11296,11296],\"mapped\",[11344]],[[11297,11297],\"mapped\",[11345]],[[11298,11298],\"mapped\",[11346]],[[11299,11299],\"mapped\",[11347]],[[11300,11300],\"mapped\",[11348]],[[11301,11301],\"mapped\",[11349]],[[11302,11302],\"mapped\",[11350]],[[11303,11303],\"mapped\",[11351]],[[11304,11304],\"mapped\",[11352]],[[11305,11305],\"mapped\",[11353]],[[11306,11306],\"mapped\",[11354]],[[11307,11307],\"mapped\",[11355]],[[11308,11308],\"mapped\",[11356]],[[11309,11309],\"mapped\",[11357]],[[11310,11310],\"mapped\",[11358]],[[11311,11311],\"disallowed\"],[[11312,11358],\"valid\"],[[11359,11359],\"disallowed\"],[[11360,11360],\"mapped\",[11361]],[[11361,11361],\"valid\"],[[11362,11362],\"mapped\",[619]],[[11363,11363],\"mapped\",[7549]],[[11364,11364],\"mapped\",[637]],[[11365,11366],\"valid\"],[[11367,11367],\"mapped\",[11368]],[[11368,11368],\"valid\"],[[11369,11369],\"mapped\",[11370]],[[11370,11370],\"valid\"],[[11371,11371],\"mapped\",[11372]],[[11372,11372],\"valid\"],[[11373,11373],\"mapped\",[593]],[[11374,11374],\"mapped\",[625]],[[11375,11375],\"mapped\",[592]],[[11376,11376],\"mapped\",[594]],[[11377,11377],\"valid\"],[[11378,11378],\"mapped\",[11379]],[[11379,11379],\"valid\"],[[11380,11380],\"valid\"],[[11381,11381],\"mapped\",[11382]],[[11382,11383],\"valid\"],[[11384,11387],\"valid\"],[[11388,11388],\"mapped\",[106]],[[11389,11389],\"mapped\",[118]],[[11390,11390],\"mapped\",[575]],[[11391,11391],\"mapped\",[576]],[[11392,11392],\"mapped\",[11393]],[[11393,11393],\"valid\"],[[11394,11394],\"mapped\",[11395]],[[11395,11395],\"valid\"],[[11396,11396],\"mapped\",[11397]],[[11397,11397],\"valid\"],[[11398,11398],\"mapped\",[11399]],[[11399,11399],\"valid\"],[[11400,11400],\"mapped\",[11401]],[[11401,11401],\"valid\"],[[11402,11402],\"mapped\",[11403]],[[11403,11403],\"valid\"],[[11404,11404],\"mapped\",[11405]],[[11405,11405],\"valid\"],[[11406,11406],\"mapped\",[11407]],[[11407,11407],\"valid\"],[[11408,11408],\"mapped\",[11409]],[[11409,11409],\"valid\"],[[11410,11410],\"mapped\",[11411]],[[11411,11411],\"valid\"],[[11412,11412],\"mapped\",[11413]],[[11413,11413],\"valid\"],[[11414,11414],\"mapped\",[11415]],[[11415,11415],\"valid\"],[[11416,11416],\"mapped\",[11417]],[[11417,11417],\"valid\"],[[11418,11418],\"mapped\",[11419]],[[11419,11419],\"valid\"],[[11420,11420],\"mapped\",[11421]],[[11421,11421],\"valid\"],[[11422,11422],\"mapped\",[11423]],[[11423,11423],\"valid\"],[[11424,11424],\"mapped\",[11425]],[[11425,11425],\"valid\"],[[11426,11426],\"mapped\",[11427]],[[11427,11427],\"valid\"],[[11428,11428],\"mapped\",[11429]],[[11429,11429],\"valid\"],[[11430,11430],\"mapped\",[11431]],[[11431,11431],\"valid\"],[[11432,11432],\"mapped\",[11433]],[[11433,11433],\"valid\"],[[11434,11434],\"mapped\",[11435]],[[11435,11435],\"valid\"],[[11436,11436],\"mapped\",[11437]],[[11437,11437],\"valid\"],[[11438,11438],\"mapped\",[11439]],[[11439,11439],\"valid\"],[[11440,11440],\"mapped\",[11441]],[[11441,11441],\"valid\"],[[11442,11442],\"mapped\",[11443]],[[11443,11443],\"valid\"],[[11444,11444],\"mapped\",[11445]],[[11445,11445],\"valid\"],[[11446,11446],\"mapped\",[11447]],[[11447,11447],\"valid\"],[[11448,11448],\"mapped\",[11449]],[[11449,11449],\"valid\"],[[11450,11450],\"mapped\",[11451]],[[11451,11451],\"valid\"],[[11452,11452],\"mapped\",[11453]],[[11453,11453],\"valid\"],[[11454,11454],\"mapped\",[11455]],[[11455,11455],\"valid\"],[[11456,11456],\"mapped\",[11457]],[[11457,11457],\"valid\"],[[11458,11458],\"mapped\",[11459]],[[11459,11459],\"valid\"],[[11460,11460],\"mapped\",[11461]],[[11461,11461],\"valid\"],[[11462,11462],\"mapped\",[11463]],[[11463,11463],\"valid\"],[[11464,11464],\"mapped\",[11465]],[[11465,11465],\"valid\"],[[11466,11466],\"mapped\",[11467]],[[11467,11467],\"valid\"],[[11468,11468],\"mapped\",[11469]],[[11469,11469],\"valid\"],[[11470,11470],\"mapped\",[11471]],[[11471,11471],\"valid\"],[[11472,11472],\"mapped\",[11473]],[[11473,11473],\"valid\"],[[11474,11474],\"mapped\",[11475]],[[11475,11475],\"valid\"],[[11476,11476],\"mapped\",[11477]],[[11477,11477],\"valid\"],[[11478,11478],\"mapped\",[11479]],[[11479,11479],\"valid\"],[[11480,11480],\"mapped\",[11481]],[[11481,11481],\"valid\"],[[11482,11482],\"mapped\",[11483]],[[11483,11483],\"valid\"],[[11484,11484],\"mapped\",[11485]],[[11485,11485],\"valid\"],[[11486,11486],\"mapped\",[11487]],[[11487,11487],\"valid\"],[[11488,11488],\"mapped\",[11489]],[[11489,11489],\"valid\"],[[11490,11490],\"mapped\",[11491]],[[11491,11492],\"valid\"],[[11493,11498],\"valid\",[],\"NV8\"],[[11499,11499],\"mapped\",[11500]],[[11500,11500],\"valid\"],[[11501,11501],\"mapped\",[11502]],[[11502,11505],\"valid\"],[[11506,11506],\"mapped\",[11507]],[[11507,11507],\"valid\"],[[11508,11512],\"disallowed\"],[[11513,11519],\"valid\",[],\"NV8\"],[[11520,11557],\"valid\"],[[11558,11558],\"disallowed\"],[[11559,11559],\"valid\"],[[11560,11564],\"disallowed\"],[[11565,11565],\"valid\"],[[11566,11567],\"disallowed\"],[[11568,11621],\"valid\"],[[11622,11623],\"valid\"],[[11624,11630],\"disallowed\"],[[11631,11631],\"mapped\",[11617]],[[11632,11632],\"valid\",[],\"NV8\"],[[11633,11646],\"disallowed\"],[[11647,11647],\"valid\"],[[11648,11670],\"valid\"],[[11671,11679],\"disallowed\"],[[11680,11686],\"valid\"],[[11687,11687],\"disallowed\"],[[11688,11694],\"valid\"],[[11695,11695],\"disallowed\"],[[11696,11702],\"valid\"],[[11703,11703],\"disallowed\"],[[11704,11710],\"valid\"],[[11711,11711],\"disallowed\"],[[11712,11718],\"valid\"],[[11719,11719],\"disallowed\"],[[11720,11726],\"valid\"],[[11727,11727],\"disallowed\"],[[11728,11734],\"valid\"],[[11735,11735],\"disallowed\"],[[11736,11742],\"valid\"],[[11743,11743],\"disallowed\"],[[11744,11775],\"valid\"],[[11776,11799],\"valid\",[],\"NV8\"],[[11800,11803],\"valid\",[],\"NV8\"],[[11804,11805],\"valid\",[],\"NV8\"],[[11806,11822],\"valid\",[],\"NV8\"],[[11823,11823],\"valid\"],[[11824,11824],\"valid\",[],\"NV8\"],[[11825,11825],\"valid\",[],\"NV8\"],[[11826,11835],\"valid\",[],\"NV8\"],[[11836,11842],\"valid\",[],\"NV8\"],[[11843,11903],\"disallowed\"],[[11904,11929],\"valid\",[],\"NV8\"],[[11930,11930],\"disallowed\"],[[11931,11934],\"valid\",[],\"NV8\"],[[11935,11935],\"mapped\",[27597]],[[11936,12018],\"valid\",[],\"NV8\"],[[12019,12019],\"mapped\",[40863]],[[12020,12031],\"disallowed\"],[[12032,12032],\"mapped\",[19968]],[[12033,12033],\"mapped\",[20008]],[[12034,12034],\"mapped\",[20022]],[[12035,12035],\"mapped\",[20031]],[[12036,12036],\"mapped\",[20057]],[[12037,12037],\"mapped\",[20101]],[[12038,12038],\"mapped\",[20108]],[[12039,12039],\"mapped\",[20128]],[[12040,12040],\"mapped\",[20154]],[[12041,12041],\"mapped\",[20799]],[[12042,12042],\"mapped\",[20837]],[[12043,12043],\"mapped\",[20843]],[[12044,12044],\"mapped\",[20866]],[[12045,12045],\"mapped\",[20886]],[[12046,12046],\"mapped\",[20907]],[[12047,12047],\"mapped\",[20960]],[[12048,12048],\"mapped\",[20981]],[[12049,12049],\"mapped\",[20992]],[[12050,12050],\"mapped\",[21147]],[[12051,12051],\"mapped\",[21241]],[[12052,12052],\"mapped\",[21269]],[[12053,12053],\"mapped\",[21274]],[[12054,12054],\"mapped\",[21304]],[[12055,12055],\"mapped\",[21313]],[[12056,12056],\"mapped\",[21340]],[[12057,12057],\"mapped\",[21353]],[[12058,12058],\"mapped\",[21378]],[[12059,12059],\"mapped\",[21430]],[[12060,12060],\"mapped\",[21448]],[[12061,12061],\"mapped\",[21475]],[[12062,12062],\"mapped\",[22231]],[[12063,12063],\"mapped\",[22303]],[[12064,12064],\"mapped\",[22763]],[[12065,12065],\"mapped\",[22786]],[[12066,12066],\"mapped\",[22794]],[[12067,12067],\"mapped\",[22805]],[[12068,12068],\"mapped\",[22823]],[[12069,12069],\"mapped\",[22899]],[[12070,12070],\"mapped\",[23376]],[[12071,12071],\"mapped\",[23424]],[[12072,12072],\"mapped\",[23544]],[[12073,12073],\"mapped\",[23567]],[[12074,12074],\"mapped\",[23586]],[[12075,12075],\"mapped\",[23608]],[[12076,12076],\"mapped\",[23662]],[[12077,12077],\"mapped\",[23665]],[[12078,12078],\"mapped\",[24027]],[[12079,12079],\"mapped\",[24037]],[[12080,12080],\"mapped\",[24049]],[[12081,12081],\"mapped\",[24062]],[[12082,12082],\"mapped\",[24178]],[[12083,12083],\"mapped\",[24186]],[[12084,12084],\"mapped\",[24191]],[[12085,12085],\"mapped\",[24308]],[[12086,12086],\"mapped\",[24318]],[[12087,12087],\"mapped\",[24331]],[[12088,12088],\"mapped\",[24339]],[[12089,12089],\"mapped\",[24400]],[[12090,12090],\"mapped\",[24417]],[[12091,12091],\"mapped\",[24435]],[[12092,12092],\"mapped\",[24515]],[[12093,12093],\"mapped\",[25096]],[[12094,12094],\"mapped\",[25142]],[[12095,12095],\"mapped\",[25163]],[[12096,12096],\"mapped\",[25903]],[[12097,12097],\"mapped\",[25908]],[[12098,12098],\"mapped\",[25991]],[[12099,12099],\"mapped\",[26007]],[[12100,12100],\"mapped\",[26020]],[[12101,12101],\"mapped\",[26041]],[[12102,12102],\"mapped\",[26080]],[[12103,12103],\"mapped\",[26085]],[[12104,12104],\"mapped\",[26352]],[[12105,12105],\"mapped\",[26376]],[[12106,12106],\"mapped\",[26408]],[[12107,12107],\"mapped\",[27424]],[[12108,12108],\"mapped\",[27490]],[[12109,12109],\"mapped\",[27513]],[[12110,12110],\"mapped\",[27571]],[[12111,12111],\"mapped\",[27595]],[[12112,12112],\"mapped\",[27604]],[[12113,12113],\"mapped\",[27611]],[[12114,12114],\"mapped\",[27663]],[[12115,12115],\"mapped\",[27668]],[[12116,12116],\"mapped\",[27700]],[[12117,12117],\"mapped\",[28779]],[[12118,12118],\"mapped\",[29226]],[[12119,12119],\"mapped\",[29238]],[[12120,12120],\"mapped\",[29243]],[[12121,12121],\"mapped\",[29247]],[[12122,12122],\"mapped\",[29255]],[[12123,12123],\"mapped\",[29273]],[[12124,12124],\"mapped\",[29275]],[[12125,12125],\"mapped\",[29356]],[[12126,12126],\"mapped\",[29572]],[[12127,12127],\"mapped\",[29577]],[[12128,12128],\"mapped\",[29916]],[[12129,12129],\"mapped\",[29926]],[[12130,12130],\"mapped\",[29976]],[[12131,12131],\"mapped\",[29983]],[[12132,12132],\"mapped\",[29992]],[[12133,12133],\"mapped\",[30000]],[[12134,12134],\"mapped\",[30091]],[[12135,12135],\"mapped\",[30098]],[[12136,12136],\"mapped\",[30326]],[[12137,12137],\"mapped\",[30333]],[[12138,12138],\"mapped\",[30382]],[[12139,12139],\"mapped\",[30399]],[[12140,12140],\"mapped\",[30446]],[[12141,12141],\"mapped\",[30683]],[[12142,12142],\"mapped\",[30690]],[[12143,12143],\"mapped\",[30707]],[[12144,12144],\"mapped\",[31034]],[[12145,12145],\"mapped\",[31160]],[[12146,12146],\"mapped\",[31166]],[[12147,12147],\"mapped\",[31348]],[[12148,12148],\"mapped\",[31435]],[[12149,12149],\"mapped\",[31481]],[[12150,12150],\"mapped\",[31859]],[[12151,12151],\"mapped\",[31992]],[[12152,12152],\"mapped\",[32566]],[[12153,12153],\"mapped\",[32593]],[[12154,12154],\"mapped\",[32650]],[[12155,12155],\"mapped\",[32701]],[[12156,12156],\"mapped\",[32769]],[[12157,12157],\"mapped\",[32780]],[[12158,12158],\"mapped\",[32786]],[[12159,12159],\"mapped\",[32819]],[[12160,12160],\"mapped\",[32895]],[[12161,12161],\"mapped\",[32905]],[[12162,12162],\"mapped\",[33251]],[[12163,12163],\"mapped\",[33258]],[[12164,12164],\"mapped\",[33267]],[[12165,12165],\"mapped\",[33276]],[[12166,12166],\"mapped\",[33292]],[[12167,12167],\"mapped\",[33307]],[[12168,12168],\"mapped\",[33311]],[[12169,12169],\"mapped\",[33390]],[[12170,12170],\"mapped\",[33394]],[[12171,12171],\"mapped\",[33400]],[[12172,12172],\"mapped\",[34381]],[[12173,12173],\"mapped\",[34411]],[[12174,12174],\"mapped\",[34880]],[[12175,12175],\"mapped\",[34892]],[[12176,12176],\"mapped\",[34915]],[[12177,12177],\"mapped\",[35198]],[[12178,12178],\"mapped\",[35211]],[[12179,12179],\"mapped\",[35282]],[[12180,12180],\"mapped\",[35328]],[[12181,12181],\"mapped\",[35895]],[[12182,12182],\"mapped\",[35910]],[[12183,12183],\"mapped\",[35925]],[[12184,12184],\"mapped\",[35960]],[[12185,12185],\"mapped\",[35997]],[[12186,12186],\"mapped\",[36196]],[[12187,12187],\"mapped\",[36208]],[[12188,12188],\"mapped\",[36275]],[[12189,12189],\"mapped\",[36523]],[[12190,12190],\"mapped\",[36554]],[[12191,12191],\"mapped\",[36763]],[[12192,12192],\"mapped\",[36784]],[[12193,12193],\"mapped\",[36789]],[[12194,12194],\"mapped\",[37009]],[[12195,12195],\"mapped\",[37193]],[[12196,12196],\"mapped\",[37318]],[[12197,12197],\"mapped\",[37324]],[[12198,12198],\"mapped\",[37329]],[[12199,12199],\"mapped\",[38263]],[[12200,12200],\"mapped\",[38272]],[[12201,12201],\"mapped\",[38428]],[[12202,12202],\"mapped\",[38582]],[[12203,12203],\"mapped\",[38585]],[[12204,12204],\"mapped\",[38632]],[[12205,12205],\"mapped\",[38737]],[[12206,12206],\"mapped\",[38750]],[[12207,12207],\"mapped\",[38754]],[[12208,12208],\"mapped\",[38761]],[[12209,12209],\"mapped\",[38859]],[[12210,12210],\"mapped\",[38893]],[[12211,12211],\"mapped\",[38899]],[[12212,12212],\"mapped\",[38913]],[[12213,12213],\"mapped\",[39080]],[[12214,12214],\"mapped\",[39131]],[[12215,12215],\"mapped\",[39135]],[[12216,12216],\"mapped\",[39318]],[[12217,12217],\"mapped\",[39321]],[[12218,12218],\"mapped\",[39340]],[[12219,12219],\"mapped\",[39592]],[[12220,12220],\"mapped\",[39640]],[[12221,12221],\"mapped\",[39647]],[[12222,12222],\"mapped\",[39717]],[[12223,12223],\"mapped\",[39727]],[[12224,12224],\"mapped\",[39730]],[[12225,12225],\"mapped\",[39740]],[[12226,12226],\"mapped\",[39770]],[[12227,12227],\"mapped\",[40165]],[[12228,12228],\"mapped\",[40565]],[[12229,12229],\"mapped\",[40575]],[[12230,12230],\"mapped\",[40613]],[[12231,12231],\"mapped\",[40635]],[[12232,12232],\"mapped\",[40643]],[[12233,12233],\"mapped\",[40653]],[[12234,12234],\"mapped\",[40657]],[[12235,12235],\"mapped\",[40697]],[[12236,12236],\"mapped\",[40701]],[[12237,12237],\"mapped\",[40718]],[[12238,12238],\"mapped\",[40723]],[[12239,12239],\"mapped\",[40736]],[[12240,12240],\"mapped\",[40763]],[[12241,12241],\"mapped\",[40778]],[[12242,12242],\"mapped\",[40786]],[[12243,12243],\"mapped\",[40845]],[[12244,12244],\"mapped\",[40860]],[[12245,12245],\"mapped\",[40864]],[[12246,12271],\"disallowed\"],[[12272,12283],\"disallowed\"],[[12284,12287],\"disallowed\"],[[12288,12288],\"disallowed_STD3_mapped\",[32]],[[12289,12289],\"valid\",[],\"NV8\"],[[12290,12290],\"mapped\",[46]],[[12291,12292],\"valid\",[],\"NV8\"],[[12293,12295],\"valid\"],[[12296,12329],\"valid\",[],\"NV8\"],[[12330,12333],\"valid\"],[[12334,12341],\"valid\",[],\"NV8\"],[[12342,12342],\"mapped\",[12306]],[[12343,12343],\"valid\",[],\"NV8\"],[[12344,12344],\"mapped\",[21313]],[[12345,12345],\"mapped\",[21316]],[[12346,12346],\"mapped\",[21317]],[[12347,12347],\"valid\",[],\"NV8\"],[[12348,12348],\"valid\"],[[12349,12349],\"valid\",[],\"NV8\"],[[12350,12350],\"valid\",[],\"NV8\"],[[12351,12351],\"valid\",[],\"NV8\"],[[12352,12352],\"disallowed\"],[[12353,12436],\"valid\"],[[12437,12438],\"valid\"],[[12439,12440],\"disallowed\"],[[12441,12442],\"valid\"],[[12443,12443],\"disallowed_STD3_mapped\",[32,12441]],[[12444,12444],\"disallowed_STD3_mapped\",[32,12442]],[[12445,12446],\"valid\"],[[12447,12447],\"mapped\",[12424,12426]],[[12448,12448],\"valid\",[],\"NV8\"],[[12449,12542],\"valid\"],[[12543,12543],\"mapped\",[12467,12488]],[[12544,12548],\"disallowed\"],[[12549,12588],\"valid\"],[[12589,12589],\"valid\"],[[12590,12592],\"disallowed\"],[[12593,12593],\"mapped\",[4352]],[[12594,12594],\"mapped\",[4353]],[[12595,12595],\"mapped\",[4522]],[[12596,12596],\"mapped\",[4354]],[[12597,12597],\"mapped\",[4524]],[[12598,12598],\"mapped\",[4525]],[[12599,12599],\"mapped\",[4355]],[[12600,12600],\"mapped\",[4356]],[[12601,12601],\"mapped\",[4357]],[[12602,12602],\"mapped\",[4528]],[[12603,12603],\"mapped\",[4529]],[[12604,12604],\"mapped\",[4530]],[[12605,12605],\"mapped\",[4531]],[[12606,12606],\"mapped\",[4532]],[[12607,12607],\"mapped\",[4533]],[[12608,12608],\"mapped\",[4378]],[[12609,12609],\"mapped\",[4358]],[[12610,12610],\"mapped\",[4359]],[[12611,12611],\"mapped\",[4360]],[[12612,12612],\"mapped\",[4385]],[[12613,12613],\"mapped\",[4361]],[[12614,12614],\"mapped\",[4362]],[[12615,12615],\"mapped\",[4363]],[[12616,12616],\"mapped\",[4364]],[[12617,12617],\"mapped\",[4365]],[[12618,12618],\"mapped\",[4366]],[[12619,12619],\"mapped\",[4367]],[[12620,12620],\"mapped\",[4368]],[[12621,12621],\"mapped\",[4369]],[[12622,12622],\"mapped\",[4370]],[[12623,12623],\"mapped\",[4449]],[[12624,12624],\"mapped\",[4450]],[[12625,12625],\"mapped\",[4451]],[[12626,12626],\"mapped\",[4452]],[[12627,12627],\"mapped\",[4453]],[[12628,12628],\"mapped\",[4454]],[[12629,12629],\"mapped\",[4455]],[[12630,12630],\"mapped\",[4456]],[[12631,12631],\"mapped\",[4457]],[[12632,12632],\"mapped\",[4458]],[[12633,12633],\"mapped\",[4459]],[[12634,12634],\"mapped\",[4460]],[[12635,12635],\"mapped\",[4461]],[[12636,12636],\"mapped\",[4462]],[[12637,12637],\"mapped\",[4463]],[[12638,12638],\"mapped\",[4464]],[[12639,12639],\"mapped\",[4465]],[[12640,12640],\"mapped\",[4466]],[[12641,12641],\"mapped\",[4467]],[[12642,12642],\"mapped\",[4468]],[[12643,12643],\"mapped\",[4469]],[[12644,12644],\"disallowed\"],[[12645,12645],\"mapped\",[4372]],[[12646,12646],\"mapped\",[4373]],[[12647,12647],\"mapped\",[4551]],[[12648,12648],\"mapped\",[4552]],[[12649,12649],\"mapped\",[4556]],[[12650,12650],\"mapped\",[4558]],[[12651,12651],\"mapped\",[4563]],[[12652,12652],\"mapped\",[4567]],[[12653,12653],\"mapped\",[4569]],[[12654,12654],\"mapped\",[4380]],[[12655,12655],\"mapped\",[4573]],[[12656,12656],\"mapped\",[4575]],[[12657,12657],\"mapped\",[4381]],[[12658,12658],\"mapped\",[4382]],[[12659,12659],\"mapped\",[4384]],[[12660,12660],\"mapped\",[4386]],[[12661,12661],\"mapped\",[4387]],[[12662,12662],\"mapped\",[4391]],[[12663,12663],\"mapped\",[4393]],[[12664,12664],\"mapped\",[4395]],[[12665,12665],\"mapped\",[4396]],[[12666,12666],\"mapped\",[4397]],[[12667,12667],\"mapped\",[4398]],[[12668,12668],\"mapped\",[4399]],[[12669,12669],\"mapped\",[4402]],[[12670,12670],\"mapped\",[4406]],[[12671,12671],\"mapped\",[4416]],[[12672,12672],\"mapped\",[4423]],[[12673,12673],\"mapped\",[4428]],[[12674,12674],\"mapped\",[4593]],[[12675,12675],\"mapped\",[4594]],[[12676,12676],\"mapped\",[4439]],[[12677,12677],\"mapped\",[4440]],[[12678,12678],\"mapped\",[4441]],[[12679,12679],\"mapped\",[4484]],[[12680,12680],\"mapped\",[4485]],[[12681,12681],\"mapped\",[4488]],[[12682,12682],\"mapped\",[4497]],[[12683,12683],\"mapped\",[4498]],[[12684,12684],\"mapped\",[4500]],[[12685,12685],\"mapped\",[4510]],[[12686,12686],\"mapped\",[4513]],[[12687,12687],\"disallowed\"],[[12688,12689],\"valid\",[],\"NV8\"],[[12690,12690],\"mapped\",[19968]],[[12691,12691],\"mapped\",[20108]],[[12692,12692],\"mapped\",[19977]],[[12693,12693],\"mapped\",[22235]],[[12694,12694],\"mapped\",[19978]],[[12695,12695],\"mapped\",[20013]],[[12696,12696],\"mapped\",[19979]],[[12697,12697],\"mapped\",[30002]],[[12698,12698],\"mapped\",[20057]],[[12699,12699],\"mapped\",[19993]],[[12700,12700],\"mapped\",[19969]],[[12701,12701],\"mapped\",[22825]],[[12702,12702],\"mapped\",[22320]],[[12703,12703],\"mapped\",[20154]],[[12704,12727],\"valid\"],[[12728,12730],\"valid\"],[[12731,12735],\"disallowed\"],[[12736,12751],\"valid\",[],\"NV8\"],[[12752,12771],\"valid\",[],\"NV8\"],[[12772,12783],\"disallowed\"],[[12784,12799],\"valid\"],[[12800,12800],\"disallowed_STD3_mapped\",[40,4352,41]],[[12801,12801],\"disallowed_STD3_mapped\",[40,4354,41]],[[12802,12802],\"disallowed_STD3_mapped\",[40,4355,41]],[[12803,12803],\"disallowed_STD3_mapped\",[40,4357,41]],[[12804,12804],\"disallowed_STD3_mapped\",[40,4358,41]],[[12805,12805],\"disallowed_STD3_mapped\",[40,4359,41]],[[12806,12806],\"disallowed_STD3_mapped\",[40,4361,41]],[[12807,12807],\"disallowed_STD3_mapped\",[40,4363,41]],[[12808,12808],\"disallowed_STD3_mapped\",[40,4364,41]],[[12809,12809],\"disallowed_STD3_mapped\",[40,4366,41]],[[12810,12810],\"disallowed_STD3_mapped\",[40,4367,41]],[[12811,12811],\"disallowed_STD3_mapped\",[40,4368,41]],[[12812,12812],\"disallowed_STD3_mapped\",[40,4369,41]],[[12813,12813],\"disallowed_STD3_mapped\",[40,4370,41]],[[12814,12814],\"disallowed_STD3_mapped\",[40,44032,41]],[[12815,12815],\"disallowed_STD3_mapped\",[40,45208,41]],[[12816,12816],\"disallowed_STD3_mapped\",[40,45796,41]],[[12817,12817],\"disallowed_STD3_mapped\",[40,46972,41]],[[12818,12818],\"disallowed_STD3_mapped\",[40,47560,41]],[[12819,12819],\"disallowed_STD3_mapped\",[40,48148,41]],[[12820,12820],\"disallowed_STD3_mapped\",[40,49324,41]],[[12821,12821],\"disallowed_STD3_mapped\",[40,50500,41]],[[12822,12822],\"disallowed_STD3_mapped\",[40,51088,41]],[[12823,12823],\"disallowed_STD3_mapped\",[40,52264,41]],[[12824,12824],\"disallowed_STD3_mapped\",[40,52852,41]],[[12825,12825],\"disallowed_STD3_mapped\",[40,53440,41]],[[12826,12826],\"disallowed_STD3_mapped\",[40,54028,41]],[[12827,12827],\"disallowed_STD3_mapped\",[40,54616,41]],[[12828,12828],\"disallowed_STD3_mapped\",[40,51452,41]],[[12829,12829],\"disallowed_STD3_mapped\",[40,50724,51204,41]],[[12830,12830],\"disallowed_STD3_mapped\",[40,50724,54980,41]],[[12831,12831],\"disallowed\"],[[12832,12832],\"disallowed_STD3_mapped\",[40,19968,41]],[[12833,12833],\"disallowed_STD3_mapped\",[40,20108,41]],[[12834,12834],\"disallowed_STD3_mapped\",[40,19977,41]],[[12835,12835],\"disallowed_STD3_mapped\",[40,22235,41]],[[12836,12836],\"disallowed_STD3_mapped\",[40,20116,41]],[[12837,12837],\"disallowed_STD3_mapped\",[40,20845,41]],[[12838,12838],\"disallowed_STD3_mapped\",[40,19971,41]],[[12839,12839],\"disallowed_STD3_mapped\",[40,20843,41]],[[12840,12840],\"disallowed_STD3_mapped\",[40,20061,41]],[[12841,12841],\"disallowed_STD3_mapped\",[40,21313,41]],[[12842,12842],\"disallowed_STD3_mapped\",[40,26376,41]],[[12843,12843],\"disallowed_STD3_mapped\",[40,28779,41]],[[12844,12844],\"disallowed_STD3_mapped\",[40,27700,41]],[[12845,12845],\"disallowed_STD3_mapped\",[40,26408,41]],[[12846,12846],\"disallowed_STD3_mapped\",[40,37329,41]],[[12847,12847],\"disallowed_STD3_mapped\",[40,22303,41]],[[12848,12848],\"disallowed_STD3_mapped\",[40,26085,41]],[[12849,12849],\"disallowed_STD3_mapped\",[40,26666,41]],[[12850,12850],\"disallowed_STD3_mapped\",[40,26377,41]],[[12851,12851],\"disallowed_STD3_mapped\",[40,31038,41]],[[12852,12852],\"disallowed_STD3_mapped\",[40,21517,41]],[[12853,12853],\"disallowed_STD3_mapped\",[40,29305,41]],[[12854,12854],\"disallowed_STD3_mapped\",[40,36001,41]],[[12855,12855],\"disallowed_STD3_mapped\",[40,31069,41]],[[12856,12856],\"disallowed_STD3_mapped\",[40,21172,41]],[[12857,12857],\"disallowed_STD3_mapped\",[40,20195,41]],[[12858,12858],\"disallowed_STD3_mapped\",[40,21628,41]],[[12859,12859],\"disallowed_STD3_mapped\",[40,23398,41]],[[12860,12860],\"disallowed_STD3_mapped\",[40,30435,41]],[[12861,12861],\"disallowed_STD3_mapped\",[40,20225,41]],[[12862,12862],\"disallowed_STD3_mapped\",[40,36039,41]],[[12863,12863],\"disallowed_STD3_mapped\",[40,21332,41]],[[12864,12864],\"disallowed_STD3_mapped\",[40,31085,41]],[[12865,12865],\"disallowed_STD3_mapped\",[40,20241,41]],[[12866,12866],\"disallowed_STD3_mapped\",[40,33258,41]],[[12867,12867],\"disallowed_STD3_mapped\",[40,33267,41]],[[12868,12868],\"mapped\",[21839]],[[12869,12869],\"mapped\",[24188]],[[12870,12870],\"mapped\",[25991]],[[12871,12871],\"mapped\",[31631]],[[12872,12879],\"valid\",[],\"NV8\"],[[12880,12880],\"mapped\",[112,116,101]],[[12881,12881],\"mapped\",[50,49]],[[12882,12882],\"mapped\",[50,50]],[[12883,12883],\"mapped\",[50,51]],[[12884,12884],\"mapped\",[50,52]],[[12885,12885],\"mapped\",[50,53]],[[12886,12886],\"mapped\",[50,54]],[[12887,12887],\"mapped\",[50,55]],[[12888,12888],\"mapped\",[50,56]],[[12889,12889],\"mapped\",[50,57]],[[12890,12890],\"mapped\",[51,48]],[[12891,12891],\"mapped\",[51,49]],[[12892,12892],\"mapped\",[51,50]],[[12893,12893],\"mapped\",[51,51]],[[12894,12894],\"mapped\",[51,52]],[[12895,12895],\"mapped\",[51,53]],[[12896,12896],\"mapped\",[4352]],[[12897,12897],\"mapped\",[4354]],[[12898,12898],\"mapped\",[4355]],[[12899,12899],\"mapped\",[4357]],[[12900,12900],\"mapped\",[4358]],[[12901,12901],\"mapped\",[4359]],[[12902,12902],\"mapped\",[4361]],[[12903,12903],\"mapped\",[4363]],[[12904,12904],\"mapped\",[4364]],[[12905,12905],\"mapped\",[4366]],[[12906,12906],\"mapped\",[4367]],[[12907,12907],\"mapped\",[4368]],[[12908,12908],\"mapped\",[4369]],[[12909,12909],\"mapped\",[4370]],[[12910,12910],\"mapped\",[44032]],[[12911,12911],\"mapped\",[45208]],[[12912,12912],\"mapped\",[45796]],[[12913,12913],\"mapped\",[46972]],[[12914,12914],\"mapped\",[47560]],[[12915,12915],\"mapped\",[48148]],[[12916,12916],\"mapped\",[49324]],[[12917,12917],\"mapped\",[50500]],[[12918,12918],\"mapped\",[51088]],[[12919,12919],\"mapped\",[52264]],[[12920,12920],\"mapped\",[52852]],[[12921,12921],\"mapped\",[53440]],[[12922,12922],\"mapped\",[54028]],[[12923,12923],\"mapped\",[54616]],[[12924,12924],\"mapped\",[52280,44256]],[[12925,12925],\"mapped\",[51452,51032]],[[12926,12926],\"mapped\",[50864]],[[12927,12927],\"valid\",[],\"NV8\"],[[12928,12928],\"mapped\",[19968]],[[12929,12929],\"mapped\",[20108]],[[12930,12930],\"mapped\",[19977]],[[12931,12931],\"mapped\",[22235]],[[12932,12932],\"mapped\",[20116]],[[12933,12933],\"mapped\",[20845]],[[12934,12934],\"mapped\",[19971]],[[12935,12935],\"mapped\",[20843]],[[12936,12936],\"mapped\",[20061]],[[12937,12937],\"mapped\",[21313]],[[12938,12938],\"mapped\",[26376]],[[12939,12939],\"mapped\",[28779]],[[12940,12940],\"mapped\",[27700]],[[12941,12941],\"mapped\",[26408]],[[12942,12942],\"mapped\",[37329]],[[12943,12943],\"mapped\",[22303]],[[12944,12944],\"mapped\",[26085]],[[12945,12945],\"mapped\",[26666]],[[12946,12946],\"mapped\",[26377]],[[12947,12947],\"mapped\",[31038]],[[12948,12948],\"mapped\",[21517]],[[12949,12949],\"mapped\",[29305]],[[12950,12950],\"mapped\",[36001]],[[12951,12951],\"mapped\",[31069]],[[12952,12952],\"mapped\",[21172]],[[12953,12953],\"mapped\",[31192]],[[12954,12954],\"mapped\",[30007]],[[12955,12955],\"mapped\",[22899]],[[12956,12956],\"mapped\",[36969]],[[12957,12957],\"mapped\",[20778]],[[12958,12958],\"mapped\",[21360]],[[12959,12959],\"mapped\",[27880]],[[12960,12960],\"mapped\",[38917]],[[12961,12961],\"mapped\",[20241]],[[12962,12962],\"mapped\",[20889]],[[12963,12963],\"mapped\",[27491]],[[12964,12964],\"mapped\",[19978]],[[12965,12965],\"mapped\",[20013]],[[12966,12966],\"mapped\",[19979]],[[12967,12967],\"mapped\",[24038]],[[12968,12968],\"mapped\",[21491]],[[12969,12969],\"mapped\",[21307]],[[12970,12970],\"mapped\",[23447]],[[12971,12971],\"mapped\",[23398]],[[12972,12972],\"mapped\",[30435]],[[12973,12973],\"mapped\",[20225]],[[12974,12974],\"mapped\",[36039]],[[12975,12975],\"mapped\",[21332]],[[12976,12976],\"mapped\",[22812]],[[12977,12977],\"mapped\",[51,54]],[[12978,12978],\"mapped\",[51,55]],[[12979,12979],\"mapped\",[51,56]],[[12980,12980],\"mapped\",[51,57]],[[12981,12981],\"mapped\",[52,48]],[[12982,12982],\"mapped\",[52,49]],[[12983,12983],\"mapped\",[52,50]],[[12984,12984],\"mapped\",[52,51]],[[12985,12985],\"mapped\",[52,52]],[[12986,12986],\"mapped\",[52,53]],[[12987,12987],\"mapped\",[52,54]],[[12988,12988],\"mapped\",[52,55]],[[12989,12989],\"mapped\",[52,56]],[[12990,12990],\"mapped\",[52,57]],[[12991,12991],\"mapped\",[53,48]],[[12992,12992],\"mapped\",[49,26376]],[[12993,12993],\"mapped\",[50,26376]],[[12994,12994],\"mapped\",[51,26376]],[[12995,12995],\"mapped\",[52,26376]],[[12996,12996],\"mapped\",[53,26376]],[[12997,12997],\"mapped\",[54,26376]],[[12998,12998],\"mapped\",[55,26376]],[[12999,12999],\"mapped\",[56,26376]],[[13000,13000],\"mapped\",[57,26376]],[[13001,13001],\"mapped\",[49,48,26376]],[[13002,13002],\"mapped\",[49,49,26376]],[[13003,13003],\"mapped\",[49,50,26376]],[[13004,13004],\"mapped\",[104,103]],[[13005,13005],\"mapped\",[101,114,103]],[[13006,13006],\"mapped\",[101,118]],[[13007,13007],\"mapped\",[108,116,100]],[[13008,13008],\"mapped\",[12450]],[[13009,13009],\"mapped\",[12452]],[[13010,13010],\"mapped\",[12454]],[[13011,13011],\"mapped\",[12456]],[[13012,13012],\"mapped\",[12458]],[[13013,13013],\"mapped\",[12459]],[[13014,13014],\"mapped\",[12461]],[[13015,13015],\"mapped\",[12463]],[[13016,13016],\"mapped\",[12465]],[[13017,13017],\"mapped\",[12467]],[[13018,13018],\"mapped\",[12469]],[[13019,13019],\"mapped\",[12471]],[[13020,13020],\"mapped\",[12473]],[[13021,13021],\"mapped\",[12475]],[[13022,13022],\"mapped\",[12477]],[[13023,13023],\"mapped\",[12479]],[[13024,13024],\"mapped\",[12481]],[[13025,13025],\"mapped\",[12484]],[[13026,13026],\"mapped\",[12486]],[[13027,13027],\"mapped\",[12488]],[[13028,13028],\"mapped\",[12490]],[[13029,13029],\"mapped\",[12491]],[[13030,13030],\"mapped\",[12492]],[[13031,13031],\"mapped\",[12493]],[[13032,13032],\"mapped\",[12494]],[[13033,13033],\"mapped\",[12495]],[[13034,13034],\"mapped\",[12498]],[[13035,13035],\"mapped\",[12501]],[[13036,13036],\"mapped\",[12504]],[[13037,13037],\"mapped\",[12507]],[[13038,13038],\"mapped\",[12510]],[[13039,13039],\"mapped\",[12511]],[[13040,13040],\"mapped\",[12512]],[[13041,13041],\"mapped\",[12513]],[[13042,13042],\"mapped\",[12514]],[[13043,13043],\"mapped\",[12516]],[[13044,13044],\"mapped\",[12518]],[[13045,13045],\"mapped\",[12520]],[[13046,13046],\"mapped\",[12521]],[[13047,13047],\"mapped\",[12522]],[[13048,13048],\"mapped\",[12523]],[[13049,13049],\"mapped\",[12524]],[[13050,13050],\"mapped\",[12525]],[[13051,13051],\"mapped\",[12527]],[[13052,13052],\"mapped\",[12528]],[[13053,13053],\"mapped\",[12529]],[[13054,13054],\"mapped\",[12530]],[[13055,13055],\"disallowed\"],[[13056,13056],\"mapped\",[12450,12497,12540,12488]],[[13057,13057],\"mapped\",[12450,12523,12501,12449]],[[13058,13058],\"mapped\",[12450,12531,12506,12450]],[[13059,13059],\"mapped\",[12450,12540,12523]],[[13060,13060],\"mapped\",[12452,12491,12531,12464]],[[13061,13061],\"mapped\",[12452,12531,12481]],[[13062,13062],\"mapped\",[12454,12457,12531]],[[13063,13063],\"mapped\",[12456,12473,12463,12540,12489]],[[13064,13064],\"mapped\",[12456,12540,12459,12540]],[[13065,13065],\"mapped\",[12458,12531,12473]],[[13066,13066],\"mapped\",[12458,12540,12512]],[[13067,13067],\"mapped\",[12459,12452,12522]],[[13068,13068],\"mapped\",[12459,12521,12483,12488]],[[13069,13069],\"mapped\",[12459,12525,12522,12540]],[[13070,13070],\"mapped\",[12460,12525,12531]],[[13071,13071],\"mapped\",[12460,12531,12510]],[[13072,13072],\"mapped\",[12462,12460]],[[13073,13073],\"mapped\",[12462,12491,12540]],[[13074,13074],\"mapped\",[12461,12517,12522,12540]],[[13075,13075],\"mapped\",[12462,12523,12480,12540]],[[13076,13076],\"mapped\",[12461,12525]],[[13077,13077],\"mapped\",[12461,12525,12464,12521,12512]],[[13078,13078],\"mapped\",[12461,12525,12513,12540,12488,12523]],[[13079,13079],\"mapped\",[12461,12525,12527,12483,12488]],[[13080,13080],\"mapped\",[12464,12521,12512]],[[13081,13081],\"mapped\",[12464,12521,12512,12488,12531]],[[13082,13082],\"mapped\",[12463,12523,12476,12452,12525]],[[13083,13083],\"mapped\",[12463,12525,12540,12493]],[[13084,13084],\"mapped\",[12465,12540,12473]],[[13085,13085],\"mapped\",[12467,12523,12490]],[[13086,13086],\"mapped\",[12467,12540,12509]],[[13087,13087],\"mapped\",[12469,12452,12463,12523]],[[13088,13088],\"mapped\",[12469,12531,12481,12540,12512]],[[13089,13089],\"mapped\",[12471,12522,12531,12464]],[[13090,13090],\"mapped\",[12475,12531,12481]],[[13091,13091],\"mapped\",[12475,12531,12488]],[[13092,13092],\"mapped\",[12480,12540,12473]],[[13093,13093],\"mapped\",[12487,12471]],[[13094,13094],\"mapped\",[12489,12523]],[[13095,13095],\"mapped\",[12488,12531]],[[13096,13096],\"mapped\",[12490,12494]],[[13097,13097],\"mapped\",[12494,12483,12488]],[[13098,13098],\"mapped\",[12495,12452,12484]],[[13099,13099],\"mapped\",[12497,12540,12475,12531,12488]],[[13100,13100],\"mapped\",[12497,12540,12484]],[[13101,13101],\"mapped\",[12496,12540,12524,12523]],[[13102,13102],\"mapped\",[12500,12450,12473,12488,12523]],[[13103,13103],\"mapped\",[12500,12463,12523]],[[13104,13104],\"mapped\",[12500,12467]],[[13105,13105],\"mapped\",[12499,12523]],[[13106,13106],\"mapped\",[12501,12449,12521,12483,12489]],[[13107,13107],\"mapped\",[12501,12451,12540,12488]],[[13108,13108],\"mapped\",[12502,12483,12471,12455,12523]],[[13109,13109],\"mapped\",[12501,12521,12531]],[[13110,13110],\"mapped\",[12504,12463,12479,12540,12523]],[[13111,13111],\"mapped\",[12506,12477]],[[13112,13112],\"mapped\",[12506,12491,12498]],[[13113,13113],\"mapped\",[12504,12523,12484]],[[13114,13114],\"mapped\",[12506,12531,12473]],[[13115,13115],\"mapped\",[12506,12540,12472]],[[13116,13116],\"mapped\",[12505,12540,12479]],[[13117,13117],\"mapped\",[12509,12452,12531,12488]],[[13118,13118],\"mapped\",[12508,12523,12488]],[[13119,13119],\"mapped\",[12507,12531]],[[13120,13120],\"mapped\",[12509,12531,12489]],[[13121,13121],\"mapped\",[12507,12540,12523]],[[13122,13122],\"mapped\",[12507,12540,12531]],[[13123,13123],\"mapped\",[12510,12452,12463,12525]],[[13124,13124],\"mapped\",[12510,12452,12523]],[[13125,13125],\"mapped\",[12510,12483,12495]],[[13126,13126],\"mapped\",[12510,12523,12463]],[[13127,13127],\"mapped\",[12510,12531,12471,12519,12531]],[[13128,13128],\"mapped\",[12511,12463,12525,12531]],[[13129,13129],\"mapped\",[12511,12522]],[[13130,13130],\"mapped\",[12511,12522,12496,12540,12523]],[[13131,13131],\"mapped\",[12513,12460]],[[13132,13132],\"mapped\",[12513,12460,12488,12531]],[[13133,13133],\"mapped\",[12513,12540,12488,12523]],[[13134,13134],\"mapped\",[12516,12540,12489]],[[13135,13135],\"mapped\",[12516,12540,12523]],[[13136,13136],\"mapped\",[12518,12450,12531]],[[13137,13137],\"mapped\",[12522,12483,12488,12523]],[[13138,13138],\"mapped\",[12522,12521]],[[13139,13139],\"mapped\",[12523,12500,12540]],[[13140,13140],\"mapped\",[12523,12540,12502,12523]],[[13141,13141],\"mapped\",[12524,12512]],[[13142,13142],\"mapped\",[12524,12531,12488,12466,12531]],[[13143,13143],\"mapped\",[12527,12483,12488]],[[13144,13144],\"mapped\",[48,28857]],[[13145,13145],\"mapped\",[49,28857]],[[13146,13146],\"mapped\",[50,28857]],[[13147,13147],\"mapped\",[51,28857]],[[13148,13148],\"mapped\",[52,28857]],[[13149,13149],\"mapped\",[53,28857]],[[13150,13150],\"mapped\",[54,28857]],[[13151,13151],\"mapped\",[55,28857]],[[13152,13152],\"mapped\",[56,28857]],[[13153,13153],\"mapped\",[57,28857]],[[13154,13154],\"mapped\",[49,48,28857]],[[13155,13155],\"mapped\",[49,49,28857]],[[13156,13156],\"mapped\",[49,50,28857]],[[13157,13157],\"mapped\",[49,51,28857]],[[13158,13158],\"mapped\",[49,52,28857]],[[13159,13159],\"mapped\",[49,53,28857]],[[13160,13160],\"mapped\",[49,54,28857]],[[13161,13161],\"mapped\",[49,55,28857]],[[13162,13162],\"mapped\",[49,56,28857]],[[13163,13163],\"mapped\",[49,57,28857]],[[13164,13164],\"mapped\",[50,48,28857]],[[13165,13165],\"mapped\",[50,49,28857]],[[13166,13166],\"mapped\",[50,50,28857]],[[13167,13167],\"mapped\",[50,51,28857]],[[13168,13168],\"mapped\",[50,52,28857]],[[13169,13169],\"mapped\",[104,112,97]],[[13170,13170],\"mapped\",[100,97]],[[13171,13171],\"mapped\",[97,117]],[[13172,13172],\"mapped\",[98,97,114]],[[13173,13173],\"mapped\",[111,118]],[[13174,13174],\"mapped\",[112,99]],[[13175,13175],\"mapped\",[100,109]],[[13176,13176],\"mapped\",[100,109,50]],[[13177,13177],\"mapped\",[100,109,51]],[[13178,13178],\"mapped\",[105,117]],[[13179,13179],\"mapped\",[24179,25104]],[[13180,13180],\"mapped\",[26157,21644]],[[13181,13181],\"mapped\",[22823,27491]],[[13182,13182],\"mapped\",[26126,27835]],[[13183,13183],\"mapped\",[26666,24335,20250,31038]],[[13184,13184],\"mapped\",[112,97]],[[13185,13185],\"mapped\",[110,97]],[[13186,13186],\"mapped\",[956,97]],[[13187,13187],\"mapped\",[109,97]],[[13188,13188],\"mapped\",[107,97]],[[13189,13189],\"mapped\",[107,98]],[[13190,13190],\"mapped\",[109,98]],[[13191,13191],\"mapped\",[103,98]],[[13192,13192],\"mapped\",[99,97,108]],[[13193,13193],\"mapped\",[107,99,97,108]],[[13194,13194],\"mapped\",[112,102]],[[13195,13195],\"mapped\",[110,102]],[[13196,13196],\"mapped\",[956,102]],[[13197,13197],\"mapped\",[956,103]],[[13198,13198],\"mapped\",[109,103]],[[13199,13199],\"mapped\",[107,103]],[[13200,13200],\"mapped\",[104,122]],[[13201,13201],\"mapped\",[107,104,122]],[[13202,13202],\"mapped\",[109,104,122]],[[13203,13203],\"mapped\",[103,104,122]],[[13204,13204],\"mapped\",[116,104,122]],[[13205,13205],\"mapped\",[956,108]],[[13206,13206],\"mapped\",[109,108]],[[13207,13207],\"mapped\",[100,108]],[[13208,13208],\"mapped\",[107,108]],[[13209,13209],\"mapped\",[102,109]],[[13210,13210],\"mapped\",[110,109]],[[13211,13211],\"mapped\",[956,109]],[[13212,13212],\"mapped\",[109,109]],[[13213,13213],\"mapped\",[99,109]],[[13214,13214],\"mapped\",[107,109]],[[13215,13215],\"mapped\",[109,109,50]],[[13216,13216],\"mapped\",[99,109,50]],[[13217,13217],\"mapped\",[109,50]],[[13218,13218],\"mapped\",[107,109,50]],[[13219,13219],\"mapped\",[109,109,51]],[[13220,13220],\"mapped\",[99,109,51]],[[13221,13221],\"mapped\",[109,51]],[[13222,13222],\"mapped\",[107,109,51]],[[13223,13223],\"mapped\",[109,8725,115]],[[13224,13224],\"mapped\",[109,8725,115,50]],[[13225,13225],\"mapped\",[112,97]],[[13226,13226],\"mapped\",[107,112,97]],[[13227,13227],\"mapped\",[109,112,97]],[[13228,13228],\"mapped\",[103,112,97]],[[13229,13229],\"mapped\",[114,97,100]],[[13230,13230],\"mapped\",[114,97,100,8725,115]],[[13231,13231],\"mapped\",[114,97,100,8725,115,50]],[[13232,13232],\"mapped\",[112,115]],[[13233,13233],\"mapped\",[110,115]],[[13234,13234],\"mapped\",[956,115]],[[13235,13235],\"mapped\",[109,115]],[[13236,13236],\"mapped\",[112,118]],[[13237,13237],\"mapped\",[110,118]],[[13238,13238],\"mapped\",[956,118]],[[13239,13239],\"mapped\",[109,118]],[[13240,13240],\"mapped\",[107,118]],[[13241,13241],\"mapped\",[109,118]],[[13242,13242],\"mapped\",[112,119]],[[13243,13243],\"mapped\",[110,119]],[[13244,13244],\"mapped\",[956,119]],[[13245,13245],\"mapped\",[109,119]],[[13246,13246],\"mapped\",[107,119]],[[13247,13247],\"mapped\",[109,119]],[[13248,13248],\"mapped\",[107,969]],[[13249,13249],\"mapped\",[109,969]],[[13250,13250],\"disallowed\"],[[13251,13251],\"mapped\",[98,113]],[[13252,13252],\"mapped\",[99,99]],[[13253,13253],\"mapped\",[99,100]],[[13254,13254],\"mapped\",[99,8725,107,103]],[[13255,13255],\"disallowed\"],[[13256,13256],\"mapped\",[100,98]],[[13257,13257],\"mapped\",[103,121]],[[13258,13258],\"mapped\",[104,97]],[[13259,13259],\"mapped\",[104,112]],[[13260,13260],\"mapped\",[105,110]],[[13261,13261],\"mapped\",[107,107]],[[13262,13262],\"mapped\",[107,109]],[[13263,13263],\"mapped\",[107,116]],[[13264,13264],\"mapped\",[108,109]],[[13265,13265],\"mapped\",[108,110]],[[13266,13266],\"mapped\",[108,111,103]],[[13267,13267],\"mapped\",[108,120]],[[13268,13268],\"mapped\",[109,98]],[[13269,13269],\"mapped\",[109,105,108]],[[13270,13270],\"mapped\",[109,111,108]],[[13271,13271],\"mapped\",[112,104]],[[13272,13272],\"disallowed\"],[[13273,13273],\"mapped\",[112,112,109]],[[13274,13274],\"mapped\",[112,114]],[[13275,13275],\"mapped\",[115,114]],[[13276,13276],\"mapped\",[115,118]],[[13277,13277],\"mapped\",[119,98]],[[13278,13278],\"mapped\",[118,8725,109]],[[13279,13279],\"mapped\",[97,8725,109]],[[13280,13280],\"mapped\",[49,26085]],[[13281,13281],\"mapped\",[50,26085]],[[13282,13282],\"mapped\",[51,26085]],[[13283,13283],\"mapped\",[52,26085]],[[13284,13284],\"mapped\",[53,26085]],[[13285,13285],\"mapped\",[54,26085]],[[13286,13286],\"mapped\",[55,26085]],[[13287,13287],\"mapped\",[56,26085]],[[13288,13288],\"mapped\",[57,26085]],[[13289,13289],\"mapped\",[49,48,26085]],[[13290,13290],\"mapped\",[49,49,26085]],[[13291,13291],\"mapped\",[49,50,26085]],[[13292,13292],\"mapped\",[49,51,26085]],[[13293,13293],\"mapped\",[49,52,26085]],[[13294,13294],\"mapped\",[49,53,26085]],[[13295,13295],\"mapped\",[49,54,26085]],[[13296,13296],\"mapped\",[49,55,26085]],[[13297,13297],\"mapped\",[49,56,26085]],[[13298,13298],\"mapped\",[49,57,26085]],[[13299,13299],\"mapped\",[50,48,26085]],[[13300,13300],\"mapped\",[50,49,26085]],[[13301,13301],\"mapped\",[50,50,26085]],[[13302,13302],\"mapped\",[50,51,26085]],[[13303,13303],\"mapped\",[50,52,26085]],[[13304,13304],\"mapped\",[50,53,26085]],[[13305,13305],\"mapped\",[50,54,26085]],[[13306,13306],\"mapped\",[50,55,26085]],[[13307,13307],\"mapped\",[50,56,26085]],[[13308,13308],\"mapped\",[50,57,26085]],[[13309,13309],\"mapped\",[51,48,26085]],[[13310,13310],\"mapped\",[51,49,26085]],[[13311,13311],\"mapped\",[103,97,108]],[[13312,19893],\"valid\"],[[19894,19903],\"disallowed\"],[[19904,19967],\"valid\",[],\"NV8\"],[[19968,40869],\"valid\"],[[40870,40891],\"valid\"],[[40892,40899],\"valid\"],[[40900,40907],\"valid\"],[[40908,40908],\"valid\"],[[40909,40917],\"valid\"],[[40918,40959],\"disallowed\"],[[40960,42124],\"valid\"],[[42125,42127],\"disallowed\"],[[42128,42145],\"valid\",[],\"NV8\"],[[42146,42147],\"valid\",[],\"NV8\"],[[42148,42163],\"valid\",[],\"NV8\"],[[42164,42164],\"valid\",[],\"NV8\"],[[42165,42176],\"valid\",[],\"NV8\"],[[42177,42177],\"valid\",[],\"NV8\"],[[42178,42180],\"valid\",[],\"NV8\"],[[42181,42181],\"valid\",[],\"NV8\"],[[42182,42182],\"valid\",[],\"NV8\"],[[42183,42191],\"disallowed\"],[[42192,42237],\"valid\"],[[42238,42239],\"valid\",[],\"NV8\"],[[42240,42508],\"valid\"],[[42509,42511],\"valid\",[],\"NV8\"],[[42512,42539],\"valid\"],[[42540,42559],\"disallowed\"],[[42560,42560],\"mapped\",[42561]],[[42561,42561],\"valid\"],[[42562,42562],\"mapped\",[42563]],[[42563,42563],\"valid\"],[[42564,42564],\"mapped\",[42565]],[[42565,42565],\"valid\"],[[42566,42566],\"mapped\",[42567]],[[42567,42567],\"valid\"],[[42568,42568],\"mapped\",[42569]],[[42569,42569],\"valid\"],[[42570,42570],\"mapped\",[42571]],[[42571,42571],\"valid\"],[[42572,42572],\"mapped\",[42573]],[[42573,42573],\"valid\"],[[42574,42574],\"mapped\",[42575]],[[42575,42575],\"valid\"],[[42576,42576],\"mapped\",[42577]],[[42577,42577],\"valid\"],[[42578,42578],\"mapped\",[42579]],[[42579,42579],\"valid\"],[[42580,42580],\"mapped\",[42581]],[[42581,42581],\"valid\"],[[42582,42582],\"mapped\",[42583]],[[42583,42583],\"valid\"],[[42584,42584],\"mapped\",[42585]],[[42585,42585],\"valid\"],[[42586,42586],\"mapped\",[42587]],[[42587,42587],\"valid\"],[[42588,42588],\"mapped\",[42589]],[[42589,42589],\"valid\"],[[42590,42590],\"mapped\",[42591]],[[42591,42591],\"valid\"],[[42592,42592],\"mapped\",[42593]],[[42593,42593],\"valid\"],[[42594,42594],\"mapped\",[42595]],[[42595,42595],\"valid\"],[[42596,42596],\"mapped\",[42597]],[[42597,42597],\"valid\"],[[42598,42598],\"mapped\",[42599]],[[42599,42599],\"valid\"],[[42600,42600],\"mapped\",[42601]],[[42601,42601],\"valid\"],[[42602,42602],\"mapped\",[42603]],[[42603,42603],\"valid\"],[[42604,42604],\"mapped\",[42605]],[[42605,42607],\"valid\"],[[42608,42611],\"valid\",[],\"NV8\"],[[42612,42619],\"valid\"],[[42620,42621],\"valid\"],[[42622,42622],\"valid\",[],\"NV8\"],[[42623,42623],\"valid\"],[[42624,42624],\"mapped\",[42625]],[[42625,42625],\"valid\"],[[42626,42626],\"mapped\",[42627]],[[42627,42627],\"valid\"],[[42628,42628],\"mapped\",[42629]],[[42629,42629],\"valid\"],[[42630,42630],\"mapped\",[42631]],[[42631,42631],\"valid\"],[[42632,42632],\"mapped\",[42633]],[[42633,42633],\"valid\"],[[42634,42634],\"mapped\",[42635]],[[42635,42635],\"valid\"],[[42636,42636],\"mapped\",[42637]],[[42637,42637],\"valid\"],[[42638,42638],\"mapped\",[42639]],[[42639,42639],\"valid\"],[[42640,42640],\"mapped\",[42641]],[[42641,42641],\"valid\"],[[42642,42642],\"mapped\",[42643]],[[42643,42643],\"valid\"],[[42644,42644],\"mapped\",[42645]],[[42645,42645],\"valid\"],[[42646,42646],\"mapped\",[42647]],[[42647,42647],\"valid\"],[[42648,42648],\"mapped\",[42649]],[[42649,42649],\"valid\"],[[42650,42650],\"mapped\",[42651]],[[42651,42651],\"valid\"],[[42652,42652],\"mapped\",[1098]],[[42653,42653],\"mapped\",[1100]],[[42654,42654],\"valid\"],[[42655,42655],\"valid\"],[[42656,42725],\"valid\"],[[42726,42735],\"valid\",[],\"NV8\"],[[42736,42737],\"valid\"],[[42738,42743],\"valid\",[],\"NV8\"],[[42744,42751],\"disallowed\"],[[42752,42774],\"valid\",[],\"NV8\"],[[42775,42778],\"valid\"],[[42779,42783],\"valid\"],[[42784,42785],\"valid\",[],\"NV8\"],[[42786,42786],\"mapped\",[42787]],[[42787,42787],\"valid\"],[[42788,42788],\"mapped\",[42789]],[[42789,42789],\"valid\"],[[42790,42790],\"mapped\",[42791]],[[42791,42791],\"valid\"],[[42792,42792],\"mapped\",[42793]],[[42793,42793],\"valid\"],[[42794,42794],\"mapped\",[42795]],[[42795,42795],\"valid\"],[[42796,42796],\"mapped\",[42797]],[[42797,42797],\"valid\"],[[42798,42798],\"mapped\",[42799]],[[42799,42801],\"valid\"],[[42802,42802],\"mapped\",[42803]],[[42803,42803],\"valid\"],[[42804,42804],\"mapped\",[42805]],[[42805,42805],\"valid\"],[[42806,42806],\"mapped\",[42807]],[[42807,42807],\"valid\"],[[42808,42808],\"mapped\",[42809]],[[42809,42809],\"valid\"],[[42810,42810],\"mapped\",[42811]],[[42811,42811],\"valid\"],[[42812,42812],\"mapped\",[42813]],[[42813,42813],\"valid\"],[[42814,42814],\"mapped\",[42815]],[[42815,42815],\"valid\"],[[42816,42816],\"mapped\",[42817]],[[42817,42817],\"valid\"],[[42818,42818],\"mapped\",[42819]],[[42819,42819],\"valid\"],[[42820,42820],\"mapped\",[42821]],[[42821,42821],\"valid\"],[[42822,42822],\"mapped\",[42823]],[[42823,42823],\"valid\"],[[42824,42824],\"mapped\",[42825]],[[42825,42825],\"valid\"],[[42826,42826],\"mapped\",[42827]],[[42827,42827],\"valid\"],[[42828,42828],\"mapped\",[42829]],[[42829,42829],\"valid\"],[[42830,42830],\"mapped\",[42831]],[[42831,42831],\"valid\"],[[42832,42832],\"mapped\",[42833]],[[42833,42833],\"valid\"],[[42834,42834],\"mapped\",[42835]],[[42835,42835],\"valid\"],[[42836,42836],\"mapped\",[42837]],[[42837,42837],\"valid\"],[[42838,42838],\"mapped\",[42839]],[[42839,42839],\"valid\"],[[42840,42840],\"mapped\",[42841]],[[42841,42841],\"valid\"],[[42842,42842],\"mapped\",[42843]],[[42843,42843],\"valid\"],[[42844,42844],\"mapped\",[42845]],[[42845,42845],\"valid\"],[[42846,42846],\"mapped\",[42847]],[[42847,42847],\"valid\"],[[42848,42848],\"mapped\",[42849]],[[42849,42849],\"valid\"],[[42850,42850],\"mapped\",[42851]],[[42851,42851],\"valid\"],[[42852,42852],\"mapped\",[42853]],[[42853,42853],\"valid\"],[[42854,42854],\"mapped\",[42855]],[[42855,42855],\"valid\"],[[42856,42856],\"mapped\",[42857]],[[42857,42857],\"valid\"],[[42858,42858],\"mapped\",[42859]],[[42859,42859],\"valid\"],[[42860,42860],\"mapped\",[42861]],[[42861,42861],\"valid\"],[[42862,42862],\"mapped\",[42863]],[[42863,42863],\"valid\"],[[42864,42864],\"mapped\",[42863]],[[42865,42872],\"valid\"],[[42873,42873],\"mapped\",[42874]],[[42874,42874],\"valid\"],[[42875,42875],\"mapped\",[42876]],[[42876,42876],\"valid\"],[[42877,42877],\"mapped\",[7545]],[[42878,42878],\"mapped\",[42879]],[[42879,42879],\"valid\"],[[42880,42880],\"mapped\",[42881]],[[42881,42881],\"valid\"],[[42882,42882],\"mapped\",[42883]],[[42883,42883],\"valid\"],[[42884,42884],\"mapped\",[42885]],[[42885,42885],\"valid\"],[[42886,42886],\"mapped\",[42887]],[[42887,42888],\"valid\"],[[42889,42890],\"valid\",[],\"NV8\"],[[42891,42891],\"mapped\",[42892]],[[42892,42892],\"valid\"],[[42893,42893],\"mapped\",[613]],[[42894,42894],\"valid\"],[[42895,42895],\"valid\"],[[42896,42896],\"mapped\",[42897]],[[42897,42897],\"valid\"],[[42898,42898],\"mapped\",[42899]],[[42899,42899],\"valid\"],[[42900,42901],\"valid\"],[[42902,42902],\"mapped\",[42903]],[[42903,42903],\"valid\"],[[42904,42904],\"mapped\",[42905]],[[42905,42905],\"valid\"],[[42906,42906],\"mapped\",[42907]],[[42907,42907],\"valid\"],[[42908,42908],\"mapped\",[42909]],[[42909,42909],\"valid\"],[[42910,42910],\"mapped\",[42911]],[[42911,42911],\"valid\"],[[42912,42912],\"mapped\",[42913]],[[42913,42913],\"valid\"],[[42914,42914],\"mapped\",[42915]],[[42915,42915],\"valid\"],[[42916,42916],\"mapped\",[42917]],[[42917,42917],\"valid\"],[[42918,42918],\"mapped\",[42919]],[[42919,42919],\"valid\"],[[42920,42920],\"mapped\",[42921]],[[42921,42921],\"valid\"],[[42922,42922],\"mapped\",[614]],[[42923,42923],\"mapped\",[604]],[[42924,42924],\"mapped\",[609]],[[42925,42925],\"mapped\",[620]],[[42926,42927],\"disallowed\"],[[42928,42928],\"mapped\",[670]],[[42929,42929],\"mapped\",[647]],[[42930,42930],\"mapped\",[669]],[[42931,42931],\"mapped\",[43859]],[[42932,42932],\"mapped\",[42933]],[[42933,42933],\"valid\"],[[42934,42934],\"mapped\",[42935]],[[42935,42935],\"valid\"],[[42936,42998],\"disallowed\"],[[42999,42999],\"valid\"],[[43000,43000],\"mapped\",[295]],[[43001,43001],\"mapped\",[339]],[[43002,43002],\"valid\"],[[43003,43007],\"valid\"],[[43008,43047],\"valid\"],[[43048,43051],\"valid\",[],\"NV8\"],[[43052,43055],\"disallowed\"],[[43056,43065],\"valid\",[],\"NV8\"],[[43066,43071],\"disallowed\"],[[43072,43123],\"valid\"],[[43124,43127],\"valid\",[],\"NV8\"],[[43128,43135],\"disallowed\"],[[43136,43204],\"valid\"],[[43205,43213],\"disallowed\"],[[43214,43215],\"valid\",[],\"NV8\"],[[43216,43225],\"valid\"],[[43226,43231],\"disallowed\"],[[43232,43255],\"valid\"],[[43256,43258],\"valid\",[],\"NV8\"],[[43259,43259],\"valid\"],[[43260,43260],\"valid\",[],\"NV8\"],[[43261,43261],\"valid\"],[[43262,43263],\"disallowed\"],[[43264,43309],\"valid\"],[[43310,43311],\"valid\",[],\"NV8\"],[[43312,43347],\"valid\"],[[43348,43358],\"disallowed\"],[[43359,43359],\"valid\",[],\"NV8\"],[[43360,43388],\"valid\",[],\"NV8\"],[[43389,43391],\"disallowed\"],[[43392,43456],\"valid\"],[[43457,43469],\"valid\",[],\"NV8\"],[[43470,43470],\"disallowed\"],[[43471,43481],\"valid\"],[[43482,43485],\"disallowed\"],[[43486,43487],\"valid\",[],\"NV8\"],[[43488,43518],\"valid\"],[[43519,43519],\"disallowed\"],[[43520,43574],\"valid\"],[[43575,43583],\"disallowed\"],[[43584,43597],\"valid\"],[[43598,43599],\"disallowed\"],[[43600,43609],\"valid\"],[[43610,43611],\"disallowed\"],[[43612,43615],\"valid\",[],\"NV8\"],[[43616,43638],\"valid\"],[[43639,43641],\"valid\",[],\"NV8\"],[[43642,43643],\"valid\"],[[43644,43647],\"valid\"],[[43648,43714],\"valid\"],[[43715,43738],\"disallowed\"],[[43739,43741],\"valid\"],[[43742,43743],\"valid\",[],\"NV8\"],[[43744,43759],\"valid\"],[[43760,43761],\"valid\",[],\"NV8\"],[[43762,43766],\"valid\"],[[43767,43776],\"disallowed\"],[[43777,43782],\"valid\"],[[43783,43784],\"disallowed\"],[[43785,43790],\"valid\"],[[43791,43792],\"disallowed\"],[[43793,43798],\"valid\"],[[43799,43807],\"disallowed\"],[[43808,43814],\"valid\"],[[43815,43815],\"disallowed\"],[[43816,43822],\"valid\"],[[43823,43823],\"disallowed\"],[[43824,43866],\"valid\"],[[43867,43867],\"valid\",[],\"NV8\"],[[43868,43868],\"mapped\",[42791]],[[43869,43869],\"mapped\",[43831]],[[43870,43870],\"mapped\",[619]],[[43871,43871],\"mapped\",[43858]],[[43872,43875],\"valid\"],[[43876,43877],\"valid\"],[[43878,43887],\"disallowed\"],[[43888,43888],\"mapped\",[5024]],[[43889,43889],\"mapped\",[5025]],[[43890,43890],\"mapped\",[5026]],[[43891,43891],\"mapped\",[5027]],[[43892,43892],\"mapped\",[5028]],[[43893,43893],\"mapped\",[5029]],[[43894,43894],\"mapped\",[5030]],[[43895,43895],\"mapped\",[5031]],[[43896,43896],\"mapped\",[5032]],[[43897,43897],\"mapped\",[5033]],[[43898,43898],\"mapped\",[5034]],[[43899,43899],\"mapped\",[5035]],[[43900,43900],\"mapped\",[5036]],[[43901,43901],\"mapped\",[5037]],[[43902,43902],\"mapped\",[5038]],[[43903,43903],\"mapped\",[5039]],[[43904,43904],\"mapped\",[5040]],[[43905,43905],\"mapped\",[5041]],[[43906,43906],\"mapped\",[5042]],[[43907,43907],\"mapped\",[5043]],[[43908,43908],\"mapped\",[5044]],[[43909,43909],\"mapped\",[5045]],[[43910,43910],\"mapped\",[5046]],[[43911,43911],\"mapped\",[5047]],[[43912,43912],\"mapped\",[5048]],[[43913,43913],\"mapped\",[5049]],[[43914,43914],\"mapped\",[5050]],[[43915,43915],\"mapped\",[5051]],[[43916,43916],\"mapped\",[5052]],[[43917,43917],\"mapped\",[5053]],[[43918,43918],\"mapped\",[5054]],[[43919,43919],\"mapped\",[5055]],[[43920,43920],\"mapped\",[5056]],[[43921,43921],\"mapped\",[5057]],[[43922,43922],\"mapped\",[5058]],[[43923,43923],\"mapped\",[5059]],[[43924,43924],\"mapped\",[5060]],[[43925,43925],\"mapped\",[5061]],[[43926,43926],\"mapped\",[5062]],[[43927,43927],\"mapped\",[5063]],[[43928,43928],\"mapped\",[5064]],[[43929,43929],\"mapped\",[5065]],[[43930,43930],\"mapped\",[5066]],[[43931,43931],\"mapped\",[5067]],[[43932,43932],\"mapped\",[5068]],[[43933,43933],\"mapped\",[5069]],[[43934,43934],\"mapped\",[5070]],[[43935,43935],\"mapped\",[5071]],[[43936,43936],\"mapped\",[5072]],[[43937,43937],\"mapped\",[5073]],[[43938,43938],\"mapped\",[5074]],[[43939,43939],\"mapped\",[5075]],[[43940,43940],\"mapped\",[5076]],[[43941,43941],\"mapped\",[5077]],[[43942,43942],\"mapped\",[5078]],[[43943,43943],\"mapped\",[5079]],[[43944,43944],\"mapped\",[5080]],[[43945,43945],\"mapped\",[5081]],[[43946,43946],\"mapped\",[5082]],[[43947,43947],\"mapped\",[5083]],[[43948,43948],\"mapped\",[5084]],[[43949,43949],\"mapped\",[5085]],[[43950,43950],\"mapped\",[5086]],[[43951,43951],\"mapped\",[5087]],[[43952,43952],\"mapped\",[5088]],[[43953,43953],\"mapped\",[5089]],[[43954,43954],\"mapped\",[5090]],[[43955,43955],\"mapped\",[5091]],[[43956,43956],\"mapped\",[5092]],[[43957,43957],\"mapped\",[5093]],[[43958,43958],\"mapped\",[5094]],[[43959,43959],\"mapped\",[5095]],[[43960,43960],\"mapped\",[5096]],[[43961,43961],\"mapped\",[5097]],[[43962,43962],\"mapped\",[5098]],[[43963,43963],\"mapped\",[5099]],[[43964,43964],\"mapped\",[5100]],[[43965,43965],\"mapped\",[5101]],[[43966,43966],\"mapped\",[5102]],[[43967,43967],\"mapped\",[5103]],[[43968,44010],\"valid\"],[[44011,44011],\"valid\",[],\"NV8\"],[[44012,44013],\"valid\"],[[44014,44015],\"disallowed\"],[[44016,44025],\"valid\"],[[44026,44031],\"disallowed\"],[[44032,55203],\"valid\"],[[55204,55215],\"disallowed\"],[[55216,55238],\"valid\",[],\"NV8\"],[[55239,55242],\"disallowed\"],[[55243,55291],\"valid\",[],\"NV8\"],[[55292,55295],\"disallowed\"],[[55296,57343],\"disallowed\"],[[57344,63743],\"disallowed\"],[[63744,63744],\"mapped\",[35912]],[[63745,63745],\"mapped\",[26356]],[[63746,63746],\"mapped\",[36554]],[[63747,63747],\"mapped\",[36040]],[[63748,63748],\"mapped\",[28369]],[[63749,63749],\"mapped\",[20018]],[[63750,63750],\"mapped\",[21477]],[[63751,63752],\"mapped\",[40860]],[[63753,63753],\"mapped\",[22865]],[[63754,63754],\"mapped\",[37329]],[[63755,63755],\"mapped\",[21895]],[[63756,63756],\"mapped\",[22856]],[[63757,63757],\"mapped\",[25078]],[[63758,63758],\"mapped\",[30313]],[[63759,63759],\"mapped\",[32645]],[[63760,63760],\"mapped\",[34367]],[[63761,63761],\"mapped\",[34746]],[[63762,63762],\"mapped\",[35064]],[[63763,63763],\"mapped\",[37007]],[[63764,63764],\"mapped\",[27138]],[[63765,63765],\"mapped\",[27931]],[[63766,63766],\"mapped\",[28889]],[[63767,63767],\"mapped\",[29662]],[[63768,63768],\"mapped\",[33853]],[[63769,63769],\"mapped\",[37226]],[[63770,63770],\"mapped\",[39409]],[[63771,63771],\"mapped\",[20098]],[[63772,63772],\"mapped\",[21365]],[[63773,63773],\"mapped\",[27396]],[[63774,63774],\"mapped\",[29211]],[[63775,63775],\"mapped\",[34349]],[[63776,63776],\"mapped\",[40478]],[[63777,63777],\"mapped\",[23888]],[[63778,63778],\"mapped\",[28651]],[[63779,63779],\"mapped\",[34253]],[[63780,63780],\"mapped\",[35172]],[[63781,63781],\"mapped\",[25289]],[[63782,63782],\"mapped\",[33240]],[[63783,63783],\"mapped\",[34847]],[[63784,63784],\"mapped\",[24266]],[[63785,63785],\"mapped\",[26391]],[[63786,63786],\"mapped\",[28010]],[[63787,63787],\"mapped\",[29436]],[[63788,63788],\"mapped\",[37070]],[[63789,63789],\"mapped\",[20358]],[[63790,63790],\"mapped\",[20919]],[[63791,63791],\"mapped\",[21214]],[[63792,63792],\"mapped\",[25796]],[[63793,63793],\"mapped\",[27347]],[[63794,63794],\"mapped\",[29200]],[[63795,63795],\"mapped\",[30439]],[[63796,63796],\"mapped\",[32769]],[[63797,63797],\"mapped\",[34310]],[[63798,63798],\"mapped\",[34396]],[[63799,63799],\"mapped\",[36335]],[[63800,63800],\"mapped\",[38706]],[[63801,63801],\"mapped\",[39791]],[[63802,63802],\"mapped\",[40442]],[[63803,63803],\"mapped\",[30860]],[[63804,63804],\"mapped\",[31103]],[[63805,63805],\"mapped\",[32160]],[[63806,63806],\"mapped\",[33737]],[[63807,63807],\"mapped\",[37636]],[[63808,63808],\"mapped\",[40575]],[[63809,63809],\"mapped\",[35542]],[[63810,63810],\"mapped\",[22751]],[[63811,63811],\"mapped\",[24324]],[[63812,63812],\"mapped\",[31840]],[[63813,63813],\"mapped\",[32894]],[[63814,63814],\"mapped\",[29282]],[[63815,63815],\"mapped\",[30922]],[[63816,63816],\"mapped\",[36034]],[[63817,63817],\"mapped\",[38647]],[[63818,63818],\"mapped\",[22744]],[[63819,63819],\"mapped\",[23650]],[[63820,63820],\"mapped\",[27155]],[[63821,63821],\"mapped\",[28122]],[[63822,63822],\"mapped\",[28431]],[[63823,63823],\"mapped\",[32047]],[[63824,63824],\"mapped\",[32311]],[[63825,63825],\"mapped\",[38475]],[[63826,63826],\"mapped\",[21202]],[[63827,63827],\"mapped\",[32907]],[[63828,63828],\"mapped\",[20956]],[[63829,63829],\"mapped\",[20940]],[[63830,63830],\"mapped\",[31260]],[[63831,63831],\"mapped\",[32190]],[[63832,63832],\"mapped\",[33777]],[[63833,63833],\"mapped\",[38517]],[[63834,63834],\"mapped\",[35712]],[[63835,63835],\"mapped\",[25295]],[[63836,63836],\"mapped\",[27138]],[[63837,63837],\"mapped\",[35582]],[[63838,63838],\"mapped\",[20025]],[[63839,63839],\"mapped\",[23527]],[[63840,63840],\"mapped\",[24594]],[[63841,63841],\"mapped\",[29575]],[[63842,63842],\"mapped\",[30064]],[[63843,63843],\"mapped\",[21271]],[[63844,63844],\"mapped\",[30971]],[[63845,63845],\"mapped\",[20415]],[[63846,63846],\"mapped\",[24489]],[[63847,63847],\"mapped\",[19981]],[[63848,63848],\"mapped\",[27852]],[[63849,63849],\"mapped\",[25976]],[[63850,63850],\"mapped\",[32034]],[[63851,63851],\"mapped\",[21443]],[[63852,63852],\"mapped\",[22622]],[[63853,63853],\"mapped\",[30465]],[[63854,63854],\"mapped\",[33865]],[[63855,63855],\"mapped\",[35498]],[[63856,63856],\"mapped\",[27578]],[[63857,63857],\"mapped\",[36784]],[[63858,63858],\"mapped\",[27784]],[[63859,63859],\"mapped\",[25342]],[[63860,63860],\"mapped\",[33509]],[[63861,63861],\"mapped\",[25504]],[[63862,63862],\"mapped\",[30053]],[[63863,63863],\"mapped\",[20142]],[[63864,63864],\"mapped\",[20841]],[[63865,63865],\"mapped\",[20937]],[[63866,63866],\"mapped\",[26753]],[[63867,63867],\"mapped\",[31975]],[[63868,63868],\"mapped\",[33391]],[[63869,63869],\"mapped\",[35538]],[[63870,63870],\"mapped\",[37327]],[[63871,63871],\"mapped\",[21237]],[[63872,63872],\"mapped\",[21570]],[[63873,63873],\"mapped\",[22899]],[[63874,63874],\"mapped\",[24300]],[[63875,63875],\"mapped\",[26053]],[[63876,63876],\"mapped\",[28670]],[[63877,63877],\"mapped\",[31018]],[[63878,63878],\"mapped\",[38317]],[[63879,63879],\"mapped\",[39530]],[[63880,63880],\"mapped\",[40599]],[[63881,63881],\"mapped\",[40654]],[[63882,63882],\"mapped\",[21147]],[[63883,63883],\"mapped\",[26310]],[[63884,63884],\"mapped\",[27511]],[[63885,63885],\"mapped\",[36706]],[[63886,63886],\"mapped\",[24180]],[[63887,63887],\"mapped\",[24976]],[[63888,63888],\"mapped\",[25088]],[[63889,63889],\"mapped\",[25754]],[[63890,63890],\"mapped\",[28451]],[[63891,63891],\"mapped\",[29001]],[[63892,63892],\"mapped\",[29833]],[[63893,63893],\"mapped\",[31178]],[[63894,63894],\"mapped\",[32244]],[[63895,63895],\"mapped\",[32879]],[[63896,63896],\"mapped\",[36646]],[[63897,63897],\"mapped\",[34030]],[[63898,63898],\"mapped\",[36899]],[[63899,63899],\"mapped\",[37706]],[[63900,63900],\"mapped\",[21015]],[[63901,63901],\"mapped\",[21155]],[[63902,63902],\"mapped\",[21693]],[[63903,63903],\"mapped\",[28872]],[[63904,63904],\"mapped\",[35010]],[[63905,63905],\"mapped\",[35498]],[[63906,63906],\"mapped\",[24265]],[[63907,63907],\"mapped\",[24565]],[[63908,63908],\"mapped\",[25467]],[[63909,63909],\"mapped\",[27566]],[[63910,63910],\"mapped\",[31806]],[[63911,63911],\"mapped\",[29557]],[[63912,63912],\"mapped\",[20196]],[[63913,63913],\"mapped\",[22265]],[[63914,63914],\"mapped\",[23527]],[[63915,63915],\"mapped\",[23994]],[[63916,63916],\"mapped\",[24604]],[[63917,63917],\"mapped\",[29618]],[[63918,63918],\"mapped\",[29801]],[[63919,63919],\"mapped\",[32666]],[[63920,63920],\"mapped\",[32838]],[[63921,63921],\"mapped\",[37428]],[[63922,63922],\"mapped\",[38646]],[[63923,63923],\"mapped\",[38728]],[[63924,63924],\"mapped\",[38936]],[[63925,63925],\"mapped\",[20363]],[[63926,63926],\"mapped\",[31150]],[[63927,63927],\"mapped\",[37300]],[[63928,63928],\"mapped\",[38584]],[[63929,63929],\"mapped\",[24801]],[[63930,63930],\"mapped\",[20102]],[[63931,63931],\"mapped\",[20698]],[[63932,63932],\"mapped\",[23534]],[[63933,63933],\"mapped\",[23615]],[[63934,63934],\"mapped\",[26009]],[[63935,63935],\"mapped\",[27138]],[[63936,63936],\"mapped\",[29134]],[[63937,63937],\"mapped\",[30274]],[[63938,63938],\"mapped\",[34044]],[[63939,63939],\"mapped\",[36988]],[[63940,63940],\"mapped\",[40845]],[[63941,63941],\"mapped\",[26248]],[[63942,63942],\"mapped\",[38446]],[[63943,63943],\"mapped\",[21129]],[[63944,63944],\"mapped\",[26491]],[[63945,63945],\"mapped\",[26611]],[[63946,63946],\"mapped\",[27969]],[[63947,63947],\"mapped\",[28316]],[[63948,63948],\"mapped\",[29705]],[[63949,63949],\"mapped\",[30041]],[[63950,63950],\"mapped\",[30827]],[[63951,63951],\"mapped\",[32016]],[[63952,63952],\"mapped\",[39006]],[[63953,63953],\"mapped\",[20845]],[[63954,63954],\"mapped\",[25134]],[[63955,63955],\"mapped\",[38520]],[[63956,63956],\"mapped\",[20523]],[[63957,63957],\"mapped\",[23833]],[[63958,63958],\"mapped\",[28138]],[[63959,63959],\"mapped\",[36650]],[[63960,63960],\"mapped\",[24459]],[[63961,63961],\"mapped\",[24900]],[[63962,63962],\"mapped\",[26647]],[[63963,63963],\"mapped\",[29575]],[[63964,63964],\"mapped\",[38534]],[[63965,63965],\"mapped\",[21033]],[[63966,63966],\"mapped\",[21519]],[[63967,63967],\"mapped\",[23653]],[[63968,63968],\"mapped\",[26131]],[[63969,63969],\"mapped\",[26446]],[[63970,63970],\"mapped\",[26792]],[[63971,63971],\"mapped\",[27877]],[[63972,63972],\"mapped\",[29702]],[[63973,63973],\"mapped\",[30178]],[[63974,63974],\"mapped\",[32633]],[[63975,63975],\"mapped\",[35023]],[[63976,63976],\"mapped\",[35041]],[[63977,63977],\"mapped\",[37324]],[[63978,63978],\"mapped\",[38626]],[[63979,63979],\"mapped\",[21311]],[[63980,63980],\"mapped\",[28346]],[[63981,63981],\"mapped\",[21533]],[[63982,63982],\"mapped\",[29136]],[[63983,63983],\"mapped\",[29848]],[[63984,63984],\"mapped\",[34298]],[[63985,63985],\"mapped\",[38563]],[[63986,63986],\"mapped\",[40023]],[[63987,63987],\"mapped\",[40607]],[[63988,63988],\"mapped\",[26519]],[[63989,63989],\"mapped\",[28107]],[[63990,63990],\"mapped\",[33256]],[[63991,63991],\"mapped\",[31435]],[[63992,63992],\"mapped\",[31520]],[[63993,63993],\"mapped\",[31890]],[[63994,63994],\"mapped\",[29376]],[[63995,63995],\"mapped\",[28825]],[[63996,63996],\"mapped\",[35672]],[[63997,63997],\"mapped\",[20160]],[[63998,63998],\"mapped\",[33590]],[[63999,63999],\"mapped\",[21050]],[[64000,64000],\"mapped\",[20999]],[[64001,64001],\"mapped\",[24230]],[[64002,64002],\"mapped\",[25299]],[[64003,64003],\"mapped\",[31958]],[[64004,64004],\"mapped\",[23429]],[[64005,64005],\"mapped\",[27934]],[[64006,64006],\"mapped\",[26292]],[[64007,64007],\"mapped\",[36667]],[[64008,64008],\"mapped\",[34892]],[[64009,64009],\"mapped\",[38477]],[[64010,64010],\"mapped\",[35211]],[[64011,64011],\"mapped\",[24275]],[[64012,64012],\"mapped\",[20800]],[[64013,64013],\"mapped\",[21952]],[[64014,64015],\"valid\"],[[64016,64016],\"mapped\",[22618]],[[64017,64017],\"valid\"],[[64018,64018],\"mapped\",[26228]],[[64019,64020],\"valid\"],[[64021,64021],\"mapped\",[20958]],[[64022,64022],\"mapped\",[29482]],[[64023,64023],\"mapped\",[30410]],[[64024,64024],\"mapped\",[31036]],[[64025,64025],\"mapped\",[31070]],[[64026,64026],\"mapped\",[31077]],[[64027,64027],\"mapped\",[31119]],[[64028,64028],\"mapped\",[38742]],[[64029,64029],\"mapped\",[31934]],[[64030,64030],\"mapped\",[32701]],[[64031,64031],\"valid\"],[[64032,64032],\"mapped\",[34322]],[[64033,64033],\"valid\"],[[64034,64034],\"mapped\",[35576]],[[64035,64036],\"valid\"],[[64037,64037],\"mapped\",[36920]],[[64038,64038],\"mapped\",[37117]],[[64039,64041],\"valid\"],[[64042,64042],\"mapped\",[39151]],[[64043,64043],\"mapped\",[39164]],[[64044,64044],\"mapped\",[39208]],[[64045,64045],\"mapped\",[40372]],[[64046,64046],\"mapped\",[37086]],[[64047,64047],\"mapped\",[38583]],[[64048,64048],\"mapped\",[20398]],[[64049,64049],\"mapped\",[20711]],[[64050,64050],\"mapped\",[20813]],[[64051,64051],\"mapped\",[21193]],[[64052,64052],\"mapped\",[21220]],[[64053,64053],\"mapped\",[21329]],[[64054,64054],\"mapped\",[21917]],[[64055,64055],\"mapped\",[22022]],[[64056,64056],\"mapped\",[22120]],[[64057,64057],\"mapped\",[22592]],[[64058,64058],\"mapped\",[22696]],[[64059,64059],\"mapped\",[23652]],[[64060,64060],\"mapped\",[23662]],[[64061,64061],\"mapped\",[24724]],[[64062,64062],\"mapped\",[24936]],[[64063,64063],\"mapped\",[24974]],[[64064,64064],\"mapped\",[25074]],[[64065,64065],\"mapped\",[25935]],[[64066,64066],\"mapped\",[26082]],[[64067,64067],\"mapped\",[26257]],[[64068,64068],\"mapped\",[26757]],[[64069,64069],\"mapped\",[28023]],[[64070,64070],\"mapped\",[28186]],[[64071,64071],\"mapped\",[28450]],[[64072,64072],\"mapped\",[29038]],[[64073,64073],\"mapped\",[29227]],[[64074,64074],\"mapped\",[29730]],[[64075,64075],\"mapped\",[30865]],[[64076,64076],\"mapped\",[31038]],[[64077,64077],\"mapped\",[31049]],[[64078,64078],\"mapped\",[31048]],[[64079,64079],\"mapped\",[31056]],[[64080,64080],\"mapped\",[31062]],[[64081,64081],\"mapped\",[31069]],[[64082,64082],\"mapped\",[31117]],[[64083,64083],\"mapped\",[31118]],[[64084,64084],\"mapped\",[31296]],[[64085,64085],\"mapped\",[31361]],[[64086,64086],\"mapped\",[31680]],[[64087,64087],\"mapped\",[32244]],[[64088,64088],\"mapped\",[32265]],[[64089,64089],\"mapped\",[32321]],[[64090,64090],\"mapped\",[32626]],[[64091,64091],\"mapped\",[32773]],[[64092,64092],\"mapped\",[33261]],[[64093,64094],\"mapped\",[33401]],[[64095,64095],\"mapped\",[33879]],[[64096,64096],\"mapped\",[35088]],[[64097,64097],\"mapped\",[35222]],[[64098,64098],\"mapped\",[35585]],[[64099,64099],\"mapped\",[35641]],[[64100,64100],\"mapped\",[36051]],[[64101,64101],\"mapped\",[36104]],[[64102,64102],\"mapped\",[36790]],[[64103,64103],\"mapped\",[36920]],[[64104,64104],\"mapped\",[38627]],[[64105,64105],\"mapped\",[38911]],[[64106,64106],\"mapped\",[38971]],[[64107,64107],\"mapped\",[24693]],[[64108,64108],\"mapped\",[148206]],[[64109,64109],\"mapped\",[33304]],[[64110,64111],\"disallowed\"],[[64112,64112],\"mapped\",[20006]],[[64113,64113],\"mapped\",[20917]],[[64114,64114],\"mapped\",[20840]],[[64115,64115],\"mapped\",[20352]],[[64116,64116],\"mapped\",[20805]],[[64117,64117],\"mapped\",[20864]],[[64118,64118],\"mapped\",[21191]],[[64119,64119],\"mapped\",[21242]],[[64120,64120],\"mapped\",[21917]],[[64121,64121],\"mapped\",[21845]],[[64122,64122],\"mapped\",[21913]],[[64123,64123],\"mapped\",[21986]],[[64124,64124],\"mapped\",[22618]],[[64125,64125],\"mapped\",[22707]],[[64126,64126],\"mapped\",[22852]],[[64127,64127],\"mapped\",[22868]],[[64128,64128],\"mapped\",[23138]],[[64129,64129],\"mapped\",[23336]],[[64130,64130],\"mapped\",[24274]],[[64131,64131],\"mapped\",[24281]],[[64132,64132],\"mapped\",[24425]],[[64133,64133],\"mapped\",[24493]],[[64134,64134],\"mapped\",[24792]],[[64135,64135],\"mapped\",[24910]],[[64136,64136],\"mapped\",[24840]],[[64137,64137],\"mapped\",[24974]],[[64138,64138],\"mapped\",[24928]],[[64139,64139],\"mapped\",[25074]],[[64140,64140],\"mapped\",[25140]],[[64141,64141],\"mapped\",[25540]],[[64142,64142],\"mapped\",[25628]],[[64143,64143],\"mapped\",[25682]],[[64144,64144],\"mapped\",[25942]],[[64145,64145],\"mapped\",[26228]],[[64146,64146],\"mapped\",[26391]],[[64147,64147],\"mapped\",[26395]],[[64148,64148],\"mapped\",[26454]],[[64149,64149],\"mapped\",[27513]],[[64150,64150],\"mapped\",[27578]],[[64151,64151],\"mapped\",[27969]],[[64152,64152],\"mapped\",[28379]],[[64153,64153],\"mapped\",[28363]],[[64154,64154],\"mapped\",[28450]],[[64155,64155],\"mapped\",[28702]],[[64156,64156],\"mapped\",[29038]],[[64157,64157],\"mapped\",[30631]],[[64158,64158],\"mapped\",[29237]],[[64159,64159],\"mapped\",[29359]],[[64160,64160],\"mapped\",[29482]],[[64161,64161],\"mapped\",[29809]],[[64162,64162],\"mapped\",[29958]],[[64163,64163],\"mapped\",[30011]],[[64164,64164],\"mapped\",[30237]],[[64165,64165],\"mapped\",[30239]],[[64166,64166],\"mapped\",[30410]],[[64167,64167],\"mapped\",[30427]],[[64168,64168],\"mapped\",[30452]],[[64169,64169],\"mapped\",[30538]],[[64170,64170],\"mapped\",[30528]],[[64171,64171],\"mapped\",[30924]],[[64172,64172],\"mapped\",[31409]],[[64173,64173],\"mapped\",[31680]],[[64174,64174],\"mapped\",[31867]],[[64175,64175],\"mapped\",[32091]],[[64176,64176],\"mapped\",[32244]],[[64177,64177],\"mapped\",[32574]],[[64178,64178],\"mapped\",[32773]],[[64179,64179],\"mapped\",[33618]],[[64180,64180],\"mapped\",[33775]],[[64181,64181],\"mapped\",[34681]],[[64182,64182],\"mapped\",[35137]],[[64183,64183],\"mapped\",[35206]],[[64184,64184],\"mapped\",[35222]],[[64185,64185],\"mapped\",[35519]],[[64186,64186],\"mapped\",[35576]],[[64187,64187],\"mapped\",[35531]],[[64188,64188],\"mapped\",[35585]],[[64189,64189],\"mapped\",[35582]],[[64190,64190],\"mapped\",[35565]],[[64191,64191],\"mapped\",[35641]],[[64192,64192],\"mapped\",[35722]],[[64193,64193],\"mapped\",[36104]],[[64194,64194],\"mapped\",[36664]],[[64195,64195],\"mapped\",[36978]],[[64196,64196],\"mapped\",[37273]],[[64197,64197],\"mapped\",[37494]],[[64198,64198],\"mapped\",[38524]],[[64199,64199],\"mapped\",[38627]],[[64200,64200],\"mapped\",[38742]],[[64201,64201],\"mapped\",[38875]],[[64202,64202],\"mapped\",[38911]],[[64203,64203],\"mapped\",[38923]],[[64204,64204],\"mapped\",[38971]],[[64205,64205],\"mapped\",[39698]],[[64206,64206],\"mapped\",[40860]],[[64207,64207],\"mapped\",[141386]],[[64208,64208],\"mapped\",[141380]],[[64209,64209],\"mapped\",[144341]],[[64210,64210],\"mapped\",[15261]],[[64211,64211],\"mapped\",[16408]],[[64212,64212],\"mapped\",[16441]],[[64213,64213],\"mapped\",[152137]],[[64214,64214],\"mapped\",[154832]],[[64215,64215],\"mapped\",[163539]],[[64216,64216],\"mapped\",[40771]],[[64217,64217],\"mapped\",[40846]],[[64218,64255],\"disallowed\"],[[64256,64256],\"mapped\",[102,102]],[[64257,64257],\"mapped\",[102,105]],[[64258,64258],\"mapped\",[102,108]],[[64259,64259],\"mapped\",[102,102,105]],[[64260,64260],\"mapped\",[102,102,108]],[[64261,64262],\"mapped\",[115,116]],[[64263,64274],\"disallowed\"],[[64275,64275],\"mapped\",[1396,1398]],[[64276,64276],\"mapped\",[1396,1381]],[[64277,64277],\"mapped\",[1396,1387]],[[64278,64278],\"mapped\",[1406,1398]],[[64279,64279],\"mapped\",[1396,1389]],[[64280,64284],\"disallowed\"],[[64285,64285],\"mapped\",[1497,1460]],[[64286,64286],\"valid\"],[[64287,64287],\"mapped\",[1522,1463]],[[64288,64288],\"mapped\",[1506]],[[64289,64289],\"mapped\",[1488]],[[64290,64290],\"mapped\",[1491]],[[64291,64291],\"mapped\",[1492]],[[64292,64292],\"mapped\",[1499]],[[64293,64293],\"mapped\",[1500]],[[64294,64294],\"mapped\",[1501]],[[64295,64295],\"mapped\",[1512]],[[64296,64296],\"mapped\",[1514]],[[64297,64297],\"disallowed_STD3_mapped\",[43]],[[64298,64298],\"mapped\",[1513,1473]],[[64299,64299],\"mapped\",[1513,1474]],[[64300,64300],\"mapped\",[1513,1468,1473]],[[64301,64301],\"mapped\",[1513,1468,1474]],[[64302,64302],\"mapped\",[1488,1463]],[[64303,64303],\"mapped\",[1488,1464]],[[64304,64304],\"mapped\",[1488,1468]],[[64305,64305],\"mapped\",[1489,1468]],[[64306,64306],\"mapped\",[1490,1468]],[[64307,64307],\"mapped\",[1491,1468]],[[64308,64308],\"mapped\",[1492,1468]],[[64309,64309],\"mapped\",[1493,1468]],[[64310,64310],\"mapped\",[1494,1468]],[[64311,64311],\"disallowed\"],[[64312,64312],\"mapped\",[1496,1468]],[[64313,64313],\"mapped\",[1497,1468]],[[64314,64314],\"mapped\",[1498,1468]],[[64315,64315],\"mapped\",[1499,1468]],[[64316,64316],\"mapped\",[1500,1468]],[[64317,64317],\"disallowed\"],[[64318,64318],\"mapped\",[1502,1468]],[[64319,64319],\"disallowed\"],[[64320,64320],\"mapped\",[1504,1468]],[[64321,64321],\"mapped\",[1505,1468]],[[64322,64322],\"disallowed\"],[[64323,64323],\"mapped\",[1507,1468]],[[64324,64324],\"mapped\",[1508,1468]],[[64325,64325],\"disallowed\"],[[64326,64326],\"mapped\",[1510,1468]],[[64327,64327],\"mapped\",[1511,1468]],[[64328,64328],\"mapped\",[1512,1468]],[[64329,64329],\"mapped\",[1513,1468]],[[64330,64330],\"mapped\",[1514,1468]],[[64331,64331],\"mapped\",[1493,1465]],[[64332,64332],\"mapped\",[1489,1471]],[[64333,64333],\"mapped\",[1499,1471]],[[64334,64334],\"mapped\",[1508,1471]],[[64335,64335],\"mapped\",[1488,1500]],[[64336,64337],\"mapped\",[1649]],[[64338,64341],\"mapped\",[1659]],[[64342,64345],\"mapped\",[1662]],[[64346,64349],\"mapped\",[1664]],[[64350,64353],\"mapped\",[1658]],[[64354,64357],\"mapped\",[1663]],[[64358,64361],\"mapped\",[1657]],[[64362,64365],\"mapped\",[1700]],[[64366,64369],\"mapped\",[1702]],[[64370,64373],\"mapped\",[1668]],[[64374,64377],\"mapped\",[1667]],[[64378,64381],\"mapped\",[1670]],[[64382,64385],\"mapped\",[1671]],[[64386,64387],\"mapped\",[1677]],[[64388,64389],\"mapped\",[1676]],[[64390,64391],\"mapped\",[1678]],[[64392,64393],\"mapped\",[1672]],[[64394,64395],\"mapped\",[1688]],[[64396,64397],\"mapped\",[1681]],[[64398,64401],\"mapped\",[1705]],[[64402,64405],\"mapped\",[1711]],[[64406,64409],\"mapped\",[1715]],[[64410,64413],\"mapped\",[1713]],[[64414,64415],\"mapped\",[1722]],[[64416,64419],\"mapped\",[1723]],[[64420,64421],\"mapped\",[1728]],[[64422,64425],\"mapped\",[1729]],[[64426,64429],\"mapped\",[1726]],[[64430,64431],\"mapped\",[1746]],[[64432,64433],\"mapped\",[1747]],[[64434,64449],\"valid\",[],\"NV8\"],[[64450,64466],\"disallowed\"],[[64467,64470],\"mapped\",[1709]],[[64471,64472],\"mapped\",[1735]],[[64473,64474],\"mapped\",[1734]],[[64475,64476],\"mapped\",[1736]],[[64477,64477],\"mapped\",[1735,1652]],[[64478,64479],\"mapped\",[1739]],[[64480,64481],\"mapped\",[1733]],[[64482,64483],\"mapped\",[1737]],[[64484,64487],\"mapped\",[1744]],[[64488,64489],\"mapped\",[1609]],[[64490,64491],\"mapped\",[1574,1575]],[[64492,64493],\"mapped\",[1574,1749]],[[64494,64495],\"mapped\",[1574,1608]],[[64496,64497],\"mapped\",[1574,1735]],[[64498,64499],\"mapped\",[1574,1734]],[[64500,64501],\"mapped\",[1574,1736]],[[64502,64504],\"mapped\",[1574,1744]],[[64505,64507],\"mapped\",[1574,1609]],[[64508,64511],\"mapped\",[1740]],[[64512,64512],\"mapped\",[1574,1580]],[[64513,64513],\"mapped\",[1574,1581]],[[64514,64514],\"mapped\",[1574,1605]],[[64515,64515],\"mapped\",[1574,1609]],[[64516,64516],\"mapped\",[1574,1610]],[[64517,64517],\"mapped\",[1576,1580]],[[64518,64518],\"mapped\",[1576,1581]],[[64519,64519],\"mapped\",[1576,1582]],[[64520,64520],\"mapped\",[1576,1605]],[[64521,64521],\"mapped\",[1576,1609]],[[64522,64522],\"mapped\",[1576,1610]],[[64523,64523],\"mapped\",[1578,1580]],[[64524,64524],\"mapped\",[1578,1581]],[[64525,64525],\"mapped\",[1578,1582]],[[64526,64526],\"mapped\",[1578,1605]],[[64527,64527],\"mapped\",[1578,1609]],[[64528,64528],\"mapped\",[1578,1610]],[[64529,64529],\"mapped\",[1579,1580]],[[64530,64530],\"mapped\",[1579,1605]],[[64531,64531],\"mapped\",[1579,1609]],[[64532,64532],\"mapped\",[1579,1610]],[[64533,64533],\"mapped\",[1580,1581]],[[64534,64534],\"mapped\",[1580,1605]],[[64535,64535],\"mapped\",[1581,1580]],[[64536,64536],\"mapped\",[1581,1605]],[[64537,64537],\"mapped\",[1582,1580]],[[64538,64538],\"mapped\",[1582,1581]],[[64539,64539],\"mapped\",[1582,1605]],[[64540,64540],\"mapped\",[1587,1580]],[[64541,64541],\"mapped\",[1587,1581]],[[64542,64542],\"mapped\",[1587,1582]],[[64543,64543],\"mapped\",[1587,1605]],[[64544,64544],\"mapped\",[1589,1581]],[[64545,64545],\"mapped\",[1589,1605]],[[64546,64546],\"mapped\",[1590,1580]],[[64547,64547],\"mapped\",[1590,1581]],[[64548,64548],\"mapped\",[1590,1582]],[[64549,64549],\"mapped\",[1590,1605]],[[64550,64550],\"mapped\",[1591,1581]],[[64551,64551],\"mapped\",[1591,1605]],[[64552,64552],\"mapped\",[1592,1605]],[[64553,64553],\"mapped\",[1593,1580]],[[64554,64554],\"mapped\",[1593,1605]],[[64555,64555],\"mapped\",[1594,1580]],[[64556,64556],\"mapped\",[1594,1605]],[[64557,64557],\"mapped\",[1601,1580]],[[64558,64558],\"mapped\",[1601,1581]],[[64559,64559],\"mapped\",[1601,1582]],[[64560,64560],\"mapped\",[1601,1605]],[[64561,64561],\"mapped\",[1601,1609]],[[64562,64562],\"mapped\",[1601,1610]],[[64563,64563],\"mapped\",[1602,1581]],[[64564,64564],\"mapped\",[1602,1605]],[[64565,64565],\"mapped\",[1602,1609]],[[64566,64566],\"mapped\",[1602,1610]],[[64567,64567],\"mapped\",[1603,1575]],[[64568,64568],\"mapped\",[1603,1580]],[[64569,64569],\"mapped\",[1603,1581]],[[64570,64570],\"mapped\",[1603,1582]],[[64571,64571],\"mapped\",[1603,1604]],[[64572,64572],\"mapped\",[1603,1605]],[[64573,64573],\"mapped\",[1603,1609]],[[64574,64574],\"mapped\",[1603,1610]],[[64575,64575],\"mapped\",[1604,1580]],[[64576,64576],\"mapped\",[1604,1581]],[[64577,64577],\"mapped\",[1604,1582]],[[64578,64578],\"mapped\",[1604,1605]],[[64579,64579],\"mapped\",[1604,1609]],[[64580,64580],\"mapped\",[1604,1610]],[[64581,64581],\"mapped\",[1605,1580]],[[64582,64582],\"mapped\",[1605,1581]],[[64583,64583],\"mapped\",[1605,1582]],[[64584,64584],\"mapped\",[1605,1605]],[[64585,64585],\"mapped\",[1605,1609]],[[64586,64586],\"mapped\",[1605,1610]],[[64587,64587],\"mapped\",[1606,1580]],[[64588,64588],\"mapped\",[1606,1581]],[[64589,64589],\"mapped\",[1606,1582]],[[64590,64590],\"mapped\",[1606,1605]],[[64591,64591],\"mapped\",[1606,1609]],[[64592,64592],\"mapped\",[1606,1610]],[[64593,64593],\"mapped\",[1607,1580]],[[64594,64594],\"mapped\",[1607,1605]],[[64595,64595],\"mapped\",[1607,1609]],[[64596,64596],\"mapped\",[1607,1610]],[[64597,64597],\"mapped\",[1610,1580]],[[64598,64598],\"mapped\",[1610,1581]],[[64599,64599],\"mapped\",[1610,1582]],[[64600,64600],\"mapped\",[1610,1605]],[[64601,64601],\"mapped\",[1610,1609]],[[64602,64602],\"mapped\",[1610,1610]],[[64603,64603],\"mapped\",[1584,1648]],[[64604,64604],\"mapped\",[1585,1648]],[[64605,64605],\"mapped\",[1609,1648]],[[64606,64606],\"disallowed_STD3_mapped\",[32,1612,1617]],[[64607,64607],\"disallowed_STD3_mapped\",[32,1613,1617]],[[64608,64608],\"disallowed_STD3_mapped\",[32,1614,1617]],[[64609,64609],\"disallowed_STD3_mapped\",[32,1615,1617]],[[64610,64610],\"disallowed_STD3_mapped\",[32,1616,1617]],[[64611,64611],\"disallowed_STD3_mapped\",[32,1617,1648]],[[64612,64612],\"mapped\",[1574,1585]],[[64613,64613],\"mapped\",[1574,1586]],[[64614,64614],\"mapped\",[1574,1605]],[[64615,64615],\"mapped\",[1574,1606]],[[64616,64616],\"mapped\",[1574,1609]],[[64617,64617],\"mapped\",[1574,1610]],[[64618,64618],\"mapped\",[1576,1585]],[[64619,64619],\"mapped\",[1576,1586]],[[64620,64620],\"mapped\",[1576,1605]],[[64621,64621],\"mapped\",[1576,1606]],[[64622,64622],\"mapped\",[1576,1609]],[[64623,64623],\"mapped\",[1576,1610]],[[64624,64624],\"mapped\",[1578,1585]],[[64625,64625],\"mapped\",[1578,1586]],[[64626,64626],\"mapped\",[1578,1605]],[[64627,64627],\"mapped\",[1578,1606]],[[64628,64628],\"mapped\",[1578,1609]],[[64629,64629],\"mapped\",[1578,1610]],[[64630,64630],\"mapped\",[1579,1585]],[[64631,64631],\"mapped\",[1579,1586]],[[64632,64632],\"mapped\",[1579,1605]],[[64633,64633],\"mapped\",[1579,1606]],[[64634,64634],\"mapped\",[1579,1609]],[[64635,64635],\"mapped\",[1579,1610]],[[64636,64636],\"mapped\",[1601,1609]],[[64637,64637],\"mapped\",[1601,1610]],[[64638,64638],\"mapped\",[1602,1609]],[[64639,64639],\"mapped\",[1602,1610]],[[64640,64640],\"mapped\",[1603,1575]],[[64641,64641],\"mapped\",[1603,1604]],[[64642,64642],\"mapped\",[1603,1605]],[[64643,64643],\"mapped\",[1603,1609]],[[64644,64644],\"mapped\",[1603,1610]],[[64645,64645],\"mapped\",[1604,1605]],[[64646,64646],\"mapped\",[1604,1609]],[[64647,64647],\"mapped\",[1604,1610]],[[64648,64648],\"mapped\",[1605,1575]],[[64649,64649],\"mapped\",[1605,1605]],[[64650,64650],\"mapped\",[1606,1585]],[[64651,64651],\"mapped\",[1606,1586]],[[64652,64652],\"mapped\",[1606,1605]],[[64653,64653],\"mapped\",[1606,1606]],[[64654,64654],\"mapped\",[1606,1609]],[[64655,64655],\"mapped\",[1606,1610]],[[64656,64656],\"mapped\",[1609,1648]],[[64657,64657],\"mapped\",[1610,1585]],[[64658,64658],\"mapped\",[1610,1586]],[[64659,64659],\"mapped\",[1610,1605]],[[64660,64660],\"mapped\",[1610,1606]],[[64661,64661],\"mapped\",[1610,1609]],[[64662,64662],\"mapped\",[1610,1610]],[[64663,64663],\"mapped\",[1574,1580]],[[64664,64664],\"mapped\",[1574,1581]],[[64665,64665],\"mapped\",[1574,1582]],[[64666,64666],\"mapped\",[1574,1605]],[[64667,64667],\"mapped\",[1574,1607]],[[64668,64668],\"mapped\",[1576,1580]],[[64669,64669],\"mapped\",[1576,1581]],[[64670,64670],\"mapped\",[1576,1582]],[[64671,64671],\"mapped\",[1576,1605]],[[64672,64672],\"mapped\",[1576,1607]],[[64673,64673],\"mapped\",[1578,1580]],[[64674,64674],\"mapped\",[1578,1581]],[[64675,64675],\"mapped\",[1578,1582]],[[64676,64676],\"mapped\",[1578,1605]],[[64677,64677],\"mapped\",[1578,1607]],[[64678,64678],\"mapped\",[1579,1605]],[[64679,64679],\"mapped\",[1580,1581]],[[64680,64680],\"mapped\",[1580,1605]],[[64681,64681],\"mapped\",[1581,1580]],[[64682,64682],\"mapped\",[1581,1605]],[[64683,64683],\"mapped\",[1582,1580]],[[64684,64684],\"mapped\",[1582,1605]],[[64685,64685],\"mapped\",[1587,1580]],[[64686,64686],\"mapped\",[1587,1581]],[[64687,64687],\"mapped\",[1587,1582]],[[64688,64688],\"mapped\",[1587,1605]],[[64689,64689],\"mapped\",[1589,1581]],[[64690,64690],\"mapped\",[1589,1582]],[[64691,64691],\"mapped\",[1589,1605]],[[64692,64692],\"mapped\",[1590,1580]],[[64693,64693],\"mapped\",[1590,1581]],[[64694,64694],\"mapped\",[1590,1582]],[[64695,64695],\"mapped\",[1590,1605]],[[64696,64696],\"mapped\",[1591,1581]],[[64697,64697],\"mapped\",[1592,1605]],[[64698,64698],\"mapped\",[1593,1580]],[[64699,64699],\"mapped\",[1593,1605]],[[64700,64700],\"mapped\",[1594,1580]],[[64701,64701],\"mapped\",[1594,1605]],[[64702,64702],\"mapped\",[1601,1580]],[[64703,64703],\"mapped\",[1601,1581]],[[64704,64704],\"mapped\",[1601,1582]],[[64705,64705],\"mapped\",[1601,1605]],[[64706,64706],\"mapped\",[1602,1581]],[[64707,64707],\"mapped\",[1602,1605]],[[64708,64708],\"mapped\",[1603,1580]],[[64709,64709],\"mapped\",[1603,1581]],[[64710,64710],\"mapped\",[1603,1582]],[[64711,64711],\"mapped\",[1603,1604]],[[64712,64712],\"mapped\",[1603,1605]],[[64713,64713],\"mapped\",[1604,1580]],[[64714,64714],\"mapped\",[1604,1581]],[[64715,64715],\"mapped\",[1604,1582]],[[64716,64716],\"mapped\",[1604,1605]],[[64717,64717],\"mapped\",[1604,1607]],[[64718,64718],\"mapped\",[1605,1580]],[[64719,64719],\"mapped\",[1605,1581]],[[64720,64720],\"mapped\",[1605,1582]],[[64721,64721],\"mapped\",[1605,1605]],[[64722,64722],\"mapped\",[1606,1580]],[[64723,64723],\"mapped\",[1606,1581]],[[64724,64724],\"mapped\",[1606,1582]],[[64725,64725],\"mapped\",[1606,1605]],[[64726,64726],\"mapped\",[1606,1607]],[[64727,64727],\"mapped\",[1607,1580]],[[64728,64728],\"mapped\",[1607,1605]],[[64729,64729],\"mapped\",[1607,1648]],[[64730,64730],\"mapped\",[1610,1580]],[[64731,64731],\"mapped\",[1610,1581]],[[64732,64732],\"mapped\",[1610,1582]],[[64733,64733],\"mapped\",[1610,1605]],[[64734,64734],\"mapped\",[1610,1607]],[[64735,64735],\"mapped\",[1574,1605]],[[64736,64736],\"mapped\",[1574,1607]],[[64737,64737],\"mapped\",[1576,1605]],[[64738,64738],\"mapped\",[1576,1607]],[[64739,64739],\"mapped\",[1578,1605]],[[64740,64740],\"mapped\",[1578,1607]],[[64741,64741],\"mapped\",[1579,1605]],[[64742,64742],\"mapped\",[1579,1607]],[[64743,64743],\"mapped\",[1587,1605]],[[64744,64744],\"mapped\",[1587,1607]],[[64745,64745],\"mapped\",[1588,1605]],[[64746,64746],\"mapped\",[1588,1607]],[[64747,64747],\"mapped\",[1603,1604]],[[64748,64748],\"mapped\",[1603,1605]],[[64749,64749],\"mapped\",[1604,1605]],[[64750,64750],\"mapped\",[1606,1605]],[[64751,64751],\"mapped\",[1606,1607]],[[64752,64752],\"mapped\",[1610,1605]],[[64753,64753],\"mapped\",[1610,1607]],[[64754,64754],\"mapped\",[1600,1614,1617]],[[64755,64755],\"mapped\",[1600,1615,1617]],[[64756,64756],\"mapped\",[1600,1616,1617]],[[64757,64757],\"mapped\",[1591,1609]],[[64758,64758],\"mapped\",[1591,1610]],[[64759,64759],\"mapped\",[1593,1609]],[[64760,64760],\"mapped\",[1593,1610]],[[64761,64761],\"mapped\",[1594,1609]],[[64762,64762],\"mapped\",[1594,1610]],[[64763,64763],\"mapped\",[1587,1609]],[[64764,64764],\"mapped\",[1587,1610]],[[64765,64765],\"mapped\",[1588,1609]],[[64766,64766],\"mapped\",[1588,1610]],[[64767,64767],\"mapped\",[1581,1609]],[[64768,64768],\"mapped\",[1581,1610]],[[64769,64769],\"mapped\",[1580,1609]],[[64770,64770],\"mapped\",[1580,1610]],[[64771,64771],\"mapped\",[1582,1609]],[[64772,64772],\"mapped\",[1582,1610]],[[64773,64773],\"mapped\",[1589,1609]],[[64774,64774],\"mapped\",[1589,1610]],[[64775,64775],\"mapped\",[1590,1609]],[[64776,64776],\"mapped\",[1590,1610]],[[64777,64777],\"mapped\",[1588,1580]],[[64778,64778],\"mapped\",[1588,1581]],[[64779,64779],\"mapped\",[1588,1582]],[[64780,64780],\"mapped\",[1588,1605]],[[64781,64781],\"mapped\",[1588,1585]],[[64782,64782],\"mapped\",[1587,1585]],[[64783,64783],\"mapped\",[1589,1585]],[[64784,64784],\"mapped\",[1590,1585]],[[64785,64785],\"mapped\",[1591,1609]],[[64786,64786],\"mapped\",[1591,1610]],[[64787,64787],\"mapped\",[1593,1609]],[[64788,64788],\"mapped\",[1593,1610]],[[64789,64789],\"mapped\",[1594,1609]],[[64790,64790],\"mapped\",[1594,1610]],[[64791,64791],\"mapped\",[1587,1609]],[[64792,64792],\"mapped\",[1587,1610]],[[64793,64793],\"mapped\",[1588,1609]],[[64794,64794],\"mapped\",[1588,1610]],[[64795,64795],\"mapped\",[1581,1609]],[[64796,64796],\"mapped\",[1581,1610]],[[64797,64797],\"mapped\",[1580,1609]],[[64798,64798],\"mapped\",[1580,1610]],[[64799,64799],\"mapped\",[1582,1609]],[[64800,64800],\"mapped\",[1582,1610]],[[64801,64801],\"mapped\",[1589,1609]],[[64802,64802],\"mapped\",[1589,1610]],[[64803,64803],\"mapped\",[1590,1609]],[[64804,64804],\"mapped\",[1590,1610]],[[64805,64805],\"mapped\",[1588,1580]],[[64806,64806],\"mapped\",[1588,1581]],[[64807,64807],\"mapped\",[1588,1582]],[[64808,64808],\"mapped\",[1588,1605]],[[64809,64809],\"mapped\",[1588,1585]],[[64810,64810],\"mapped\",[1587,1585]],[[64811,64811],\"mapped\",[1589,1585]],[[64812,64812],\"mapped\",[1590,1585]],[[64813,64813],\"mapped\",[1588,1580]],[[64814,64814],\"mapped\",[1588,1581]],[[64815,64815],\"mapped\",[1588,1582]],[[64816,64816],\"mapped\",[1588,1605]],[[64817,64817],\"mapped\",[1587,1607]],[[64818,64818],\"mapped\",[1588,1607]],[[64819,64819],\"mapped\",[1591,1605]],[[64820,64820],\"mapped\",[1587,1580]],[[64821,64821],\"mapped\",[1587,1581]],[[64822,64822],\"mapped\",[1587,1582]],[[64823,64823],\"mapped\",[1588,1580]],[[64824,64824],\"mapped\",[1588,1581]],[[64825,64825],\"mapped\",[1588,1582]],[[64826,64826],\"mapped\",[1591,1605]],[[64827,64827],\"mapped\",[1592,1605]],[[64828,64829],\"mapped\",[1575,1611]],[[64830,64831],\"valid\",[],\"NV8\"],[[64832,64847],\"disallowed\"],[[64848,64848],\"mapped\",[1578,1580,1605]],[[64849,64850],\"mapped\",[1578,1581,1580]],[[64851,64851],\"mapped\",[1578,1581,1605]],[[64852,64852],\"mapped\",[1578,1582,1605]],[[64853,64853],\"mapped\",[1578,1605,1580]],[[64854,64854],\"mapped\",[1578,1605,1581]],[[64855,64855],\"mapped\",[1578,1605,1582]],[[64856,64857],\"mapped\",[1580,1605,1581]],[[64858,64858],\"mapped\",[1581,1605,1610]],[[64859,64859],\"mapped\",[1581,1605,1609]],[[64860,64860],\"mapped\",[1587,1581,1580]],[[64861,64861],\"mapped\",[1587,1580,1581]],[[64862,64862],\"mapped\",[1587,1580,1609]],[[64863,64864],\"mapped\",[1587,1605,1581]],[[64865,64865],\"mapped\",[1587,1605,1580]],[[64866,64867],\"mapped\",[1587,1605,1605]],[[64868,64869],\"mapped\",[1589,1581,1581]],[[64870,64870],\"mapped\",[1589,1605,1605]],[[64871,64872],\"mapped\",[1588,1581,1605]],[[64873,64873],\"mapped\",[1588,1580,1610]],[[64874,64875],\"mapped\",[1588,1605,1582]],[[64876,64877],\"mapped\",[1588,1605,1605]],[[64878,64878],\"mapped\",[1590,1581,1609]],[[64879,64880],\"mapped\",[1590,1582,1605]],[[64881,64882],\"mapped\",[1591,1605,1581]],[[64883,64883],\"mapped\",[1591,1605,1605]],[[64884,64884],\"mapped\",[1591,1605,1610]],[[64885,64885],\"mapped\",[1593,1580,1605]],[[64886,64887],\"mapped\",[1593,1605,1605]],[[64888,64888],\"mapped\",[1593,1605,1609]],[[64889,64889],\"mapped\",[1594,1605,1605]],[[64890,64890],\"mapped\",[1594,1605,1610]],[[64891,64891],\"mapped\",[1594,1605,1609]],[[64892,64893],\"mapped\",[1601,1582,1605]],[[64894,64894],\"mapped\",[1602,1605,1581]],[[64895,64895],\"mapped\",[1602,1605,1605]],[[64896,64896],\"mapped\",[1604,1581,1605]],[[64897,64897],\"mapped\",[1604,1581,1610]],[[64898,64898],\"mapped\",[1604,1581,1609]],[[64899,64900],\"mapped\",[1604,1580,1580]],[[64901,64902],\"mapped\",[1604,1582,1605]],[[64903,64904],\"mapped\",[1604,1605,1581]],[[64905,64905],\"mapped\",[1605,1581,1580]],[[64906,64906],\"mapped\",[1605,1581,1605]],[[64907,64907],\"mapped\",[1605,1581,1610]],[[64908,64908],\"mapped\",[1605,1580,1581]],[[64909,64909],\"mapped\",[1605,1580,1605]],[[64910,64910],\"mapped\",[1605,1582,1580]],[[64911,64911],\"mapped\",[1605,1582,1605]],[[64912,64913],\"disallowed\"],[[64914,64914],\"mapped\",[1605,1580,1582]],[[64915,64915],\"mapped\",[1607,1605,1580]],[[64916,64916],\"mapped\",[1607,1605,1605]],[[64917,64917],\"mapped\",[1606,1581,1605]],[[64918,64918],\"mapped\",[1606,1581,1609]],[[64919,64920],\"mapped\",[1606,1580,1605]],[[64921,64921],\"mapped\",[1606,1580,1609]],[[64922,64922],\"mapped\",[1606,1605,1610]],[[64923,64923],\"mapped\",[1606,1605,1609]],[[64924,64925],\"mapped\",[1610,1605,1605]],[[64926,64926],\"mapped\",[1576,1582,1610]],[[64927,64927],\"mapped\",[1578,1580,1610]],[[64928,64928],\"mapped\",[1578,1580,1609]],[[64929,64929],\"mapped\",[1578,1582,1610]],[[64930,64930],\"mapped\",[1578,1582,1609]],[[64931,64931],\"mapped\",[1578,1605,1610]],[[64932,64932],\"mapped\",[1578,1605,1609]],[[64933,64933],\"mapped\",[1580,1605,1610]],[[64934,64934],\"mapped\",[1580,1581,1609]],[[64935,64935],\"mapped\",[1580,1605,1609]],[[64936,64936],\"mapped\",[1587,1582,1609]],[[64937,64937],\"mapped\",[1589,1581,1610]],[[64938,64938],\"mapped\",[1588,1581,1610]],[[64939,64939],\"mapped\",[1590,1581,1610]],[[64940,64940],\"mapped\",[1604,1580,1610]],[[64941,64941],\"mapped\",[1604,1605,1610]],[[64942,64942],\"mapped\",[1610,1581,1610]],[[64943,64943],\"mapped\",[1610,1580,1610]],[[64944,64944],\"mapped\",[1610,1605,1610]],[[64945,64945],\"mapped\",[1605,1605,1610]],[[64946,64946],\"mapped\",[1602,1605,1610]],[[64947,64947],\"mapped\",[1606,1581,1610]],[[64948,64948],\"mapped\",[1602,1605,1581]],[[64949,64949],\"mapped\",[1604,1581,1605]],[[64950,64950],\"mapped\",[1593,1605,1610]],[[64951,64951],\"mapped\",[1603,1605,1610]],[[64952,64952],\"mapped\",[1606,1580,1581]],[[64953,64953],\"mapped\",[1605,1582,1610]],[[64954,64954],\"mapped\",[1604,1580,1605]],[[64955,64955],\"mapped\",[1603,1605,1605]],[[64956,64956],\"mapped\",[1604,1580,1605]],[[64957,64957],\"mapped\",[1606,1580,1581]],[[64958,64958],\"mapped\",[1580,1581,1610]],[[64959,64959],\"mapped\",[1581,1580,1610]],[[64960,64960],\"mapped\",[1605,1580,1610]],[[64961,64961],\"mapped\",[1601,1605,1610]],[[64962,64962],\"mapped\",[1576,1581,1610]],[[64963,64963],\"mapped\",[1603,1605,1605]],[[64964,64964],\"mapped\",[1593,1580,1605]],[[64965,64965],\"mapped\",[1589,1605,1605]],[[64966,64966],\"mapped\",[1587,1582,1610]],[[64967,64967],\"mapped\",[1606,1580,1610]],[[64968,64975],\"disallowed\"],[[64976,65007],\"disallowed\"],[[65008,65008],\"mapped\",[1589,1604,1746]],[[65009,65009],\"mapped\",[1602,1604,1746]],[[65010,65010],\"mapped\",[1575,1604,1604,1607]],[[65011,65011],\"mapped\",[1575,1603,1576,1585]],[[65012,65012],\"mapped\",[1605,1581,1605,1583]],[[65013,65013],\"mapped\",[1589,1604,1593,1605]],[[65014,65014],\"mapped\",[1585,1587,1608,1604]],[[65015,65015],\"mapped\",[1593,1604,1610,1607]],[[65016,65016],\"mapped\",[1608,1587,1604,1605]],[[65017,65017],\"mapped\",[1589,1604,1609]],[[65018,65018],\"disallowed_STD3_mapped\",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],\"disallowed_STD3_mapped\",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],\"mapped\",[1585,1740,1575,1604]],[[65021,65021],\"valid\",[],\"NV8\"],[[65022,65023],\"disallowed\"],[[65024,65039],\"ignored\"],[[65040,65040],\"disallowed_STD3_mapped\",[44]],[[65041,65041],\"mapped\",[12289]],[[65042,65042],\"disallowed\"],[[65043,65043],\"disallowed_STD3_mapped\",[58]],[[65044,65044],\"disallowed_STD3_mapped\",[59]],[[65045,65045],\"disallowed_STD3_mapped\",[33]],[[65046,65046],\"disallowed_STD3_mapped\",[63]],[[65047,65047],\"mapped\",[12310]],[[65048,65048],\"mapped\",[12311]],[[65049,65049],\"disallowed\"],[[65050,65055],\"disallowed\"],[[65056,65059],\"valid\"],[[65060,65062],\"valid\"],[[65063,65069],\"valid\"],[[65070,65071],\"valid\"],[[65072,65072],\"disallowed\"],[[65073,65073],\"mapped\",[8212]],[[65074,65074],\"mapped\",[8211]],[[65075,65076],\"disallowed_STD3_mapped\",[95]],[[65077,65077],\"disallowed_STD3_mapped\",[40]],[[65078,65078],\"disallowed_STD3_mapped\",[41]],[[65079,65079],\"disallowed_STD3_mapped\",[123]],[[65080,65080],\"disallowed_STD3_mapped\",[125]],[[65081,65081],\"mapped\",[12308]],[[65082,65082],\"mapped\",[12309]],[[65083,65083],\"mapped\",[12304]],[[65084,65084],\"mapped\",[12305]],[[65085,65085],\"mapped\",[12298]],[[65086,65086],\"mapped\",[12299]],[[65087,65087],\"mapped\",[12296]],[[65088,65088],\"mapped\",[12297]],[[65089,65089],\"mapped\",[12300]],[[65090,65090],\"mapped\",[12301]],[[65091,65091],\"mapped\",[12302]],[[65092,65092],\"mapped\",[12303]],[[65093,65094],\"valid\",[],\"NV8\"],[[65095,65095],\"disallowed_STD3_mapped\",[91]],[[65096,65096],\"disallowed_STD3_mapped\",[93]],[[65097,65100],\"disallowed_STD3_mapped\",[32,773]],[[65101,65103],\"disallowed_STD3_mapped\",[95]],[[65104,65104],\"disallowed_STD3_mapped\",[44]],[[65105,65105],\"mapped\",[12289]],[[65106,65106],\"disallowed\"],[[65107,65107],\"disallowed\"],[[65108,65108],\"disallowed_STD3_mapped\",[59]],[[65109,65109],\"disallowed_STD3_mapped\",[58]],[[65110,65110],\"disallowed_STD3_mapped\",[63]],[[65111,65111],\"disallowed_STD3_mapped\",[33]],[[65112,65112],\"mapped\",[8212]],[[65113,65113],\"disallowed_STD3_mapped\",[40]],[[65114,65114],\"disallowed_STD3_mapped\",[41]],[[65115,65115],\"disallowed_STD3_mapped\",[123]],[[65116,65116],\"disallowed_STD3_mapped\",[125]],[[65117,65117],\"mapped\",[12308]],[[65118,65118],\"mapped\",[12309]],[[65119,65119],\"disallowed_STD3_mapped\",[35]],[[65120,65120],\"disallowed_STD3_mapped\",[38]],[[65121,65121],\"disallowed_STD3_mapped\",[42]],[[65122,65122],\"disallowed_STD3_mapped\",[43]],[[65123,65123],\"mapped\",[45]],[[65124,65124],\"disallowed_STD3_mapped\",[60]],[[65125,65125],\"disallowed_STD3_mapped\",[62]],[[65126,65126],\"disallowed_STD3_mapped\",[61]],[[65127,65127],\"disallowed\"],[[65128,65128],\"disallowed_STD3_mapped\",[92]],[[65129,65129],\"disallowed_STD3_mapped\",[36]],[[65130,65130],\"disallowed_STD3_mapped\",[37]],[[65131,65131],\"disallowed_STD3_mapped\",[64]],[[65132,65135],\"disallowed\"],[[65136,65136],\"disallowed_STD3_mapped\",[32,1611]],[[65137,65137],\"mapped\",[1600,1611]],[[65138,65138],\"disallowed_STD3_mapped\",[32,1612]],[[65139,65139],\"valid\"],[[65140,65140],\"disallowed_STD3_mapped\",[32,1613]],[[65141,65141],\"disallowed\"],[[65142,65142],\"disallowed_STD3_mapped\",[32,1614]],[[65143,65143],\"mapped\",[1600,1614]],[[65144,65144],\"disallowed_STD3_mapped\",[32,1615]],[[65145,65145],\"mapped\",[1600,1615]],[[65146,65146],\"disallowed_STD3_mapped\",[32,1616]],[[65147,65147],\"mapped\",[1600,1616]],[[65148,65148],\"disallowed_STD3_mapped\",[32,1617]],[[65149,65149],\"mapped\",[1600,1617]],[[65150,65150],\"disallowed_STD3_mapped\",[32,1618]],[[65151,65151],\"mapped\",[1600,1618]],[[65152,65152],\"mapped\",[1569]],[[65153,65154],\"mapped\",[1570]],[[65155,65156],\"mapped\",[1571]],[[65157,65158],\"mapped\",[1572]],[[65159,65160],\"mapped\",[1573]],[[65161,65164],\"mapped\",[1574]],[[65165,65166],\"mapped\",[1575]],[[65167,65170],\"mapped\",[1576]],[[65171,65172],\"mapped\",[1577]],[[65173,65176],\"mapped\",[1578]],[[65177,65180],\"mapped\",[1579]],[[65181,65184],\"mapped\",[1580]],[[65185,65188],\"mapped\",[1581]],[[65189,65192],\"mapped\",[1582]],[[65193,65194],\"mapped\",[1583]],[[65195,65196],\"mapped\",[1584]],[[65197,65198],\"mapped\",[1585]],[[65199,65200],\"mapped\",[1586]],[[65201,65204],\"mapped\",[1587]],[[65205,65208],\"mapped\",[1588]],[[65209,65212],\"mapped\",[1589]],[[65213,65216],\"mapped\",[1590]],[[65217,65220],\"mapped\",[1591]],[[65221,65224],\"mapped\",[1592]],[[65225,65228],\"mapped\",[1593]],[[65229,65232],\"mapped\",[1594]],[[65233,65236],\"mapped\",[1601]],[[65237,65240],\"mapped\",[1602]],[[65241,65244],\"mapped\",[1603]],[[65245,65248],\"mapped\",[1604]],[[65249,65252],\"mapped\",[1605]],[[65253,65256],\"mapped\",[1606]],[[65257,65260],\"mapped\",[1607]],[[65261,65262],\"mapped\",[1608]],[[65263,65264],\"mapped\",[1609]],[[65265,65268],\"mapped\",[1610]],[[65269,65270],\"mapped\",[1604,1570]],[[65271,65272],\"mapped\",[1604,1571]],[[65273,65274],\"mapped\",[1604,1573]],[[65275,65276],\"mapped\",[1604,1575]],[[65277,65278],\"disallowed\"],[[65279,65279],\"ignored\"],[[65280,65280],\"disallowed\"],[[65281,65281],\"disallowed_STD3_mapped\",[33]],[[65282,65282],\"disallowed_STD3_mapped\",[34]],[[65283,65283],\"disallowed_STD3_mapped\",[35]],[[65284,65284],\"disallowed_STD3_mapped\",[36]],[[65285,65285],\"disallowed_STD3_mapped\",[37]],[[65286,65286],\"disallowed_STD3_mapped\",[38]],[[65287,65287],\"disallowed_STD3_mapped\",[39]],[[65288,65288],\"disallowed_STD3_mapped\",[40]],[[65289,65289],\"disallowed_STD3_mapped\",[41]],[[65290,65290],\"disallowed_STD3_mapped\",[42]],[[65291,65291],\"disallowed_STD3_mapped\",[43]],[[65292,65292],\"disallowed_STD3_mapped\",[44]],[[65293,65293],\"mapped\",[45]],[[65294,65294],\"mapped\",[46]],[[65295,65295],\"disallowed_STD3_mapped\",[47]],[[65296,65296],\"mapped\",[48]],[[65297,65297],\"mapped\",[49]],[[65298,65298],\"mapped\",[50]],[[65299,65299],\"mapped\",[51]],[[65300,65300],\"mapped\",[52]],[[65301,65301],\"mapped\",[53]],[[65302,65302],\"mapped\",[54]],[[65303,65303],\"mapped\",[55]],[[65304,65304],\"mapped\",[56]],[[65305,65305],\"mapped\",[57]],[[65306,65306],\"disallowed_STD3_mapped\",[58]],[[65307,65307],\"disallowed_STD3_mapped\",[59]],[[65308,65308],\"disallowed_STD3_mapped\",[60]],[[65309,65309],\"disallowed_STD3_mapped\",[61]],[[65310,65310],\"disallowed_STD3_mapped\",[62]],[[65311,65311],\"disallowed_STD3_mapped\",[63]],[[65312,65312],\"disallowed_STD3_mapped\",[64]],[[65313,65313],\"mapped\",[97]],[[65314,65314],\"mapped\",[98]],[[65315,65315],\"mapped\",[99]],[[65316,65316],\"mapped\",[100]],[[65317,65317],\"mapped\",[101]],[[65318,65318],\"mapped\",[102]],[[65319,65319],\"mapped\",[103]],[[65320,65320],\"mapped\",[104]],[[65321,65321],\"mapped\",[105]],[[65322,65322],\"mapped\",[106]],[[65323,65323],\"mapped\",[107]],[[65324,65324],\"mapped\",[108]],[[65325,65325],\"mapped\",[109]],[[65326,65326],\"mapped\",[110]],[[65327,65327],\"mapped\",[111]],[[65328,65328],\"mapped\",[112]],[[65329,65329],\"mapped\",[113]],[[65330,65330],\"mapped\",[114]],[[65331,65331],\"mapped\",[115]],[[65332,65332],\"mapped\",[116]],[[65333,65333],\"mapped\",[117]],[[65334,65334],\"mapped\",[118]],[[65335,65335],\"mapped\",[119]],[[65336,65336],\"mapped\",[120]],[[65337,65337],\"mapped\",[121]],[[65338,65338],\"mapped\",[122]],[[65339,65339],\"disallowed_STD3_mapped\",[91]],[[65340,65340],\"disallowed_STD3_mapped\",[92]],[[65341,65341],\"disallowed_STD3_mapped\",[93]],[[65342,65342],\"disallowed_STD3_mapped\",[94]],[[65343,65343],\"disallowed_STD3_mapped\",[95]],[[65344,65344],\"disallowed_STD3_mapped\",[96]],[[65345,65345],\"mapped\",[97]],[[65346,65346],\"mapped\",[98]],[[65347,65347],\"mapped\",[99]],[[65348,65348],\"mapped\",[100]],[[65349,65349],\"mapped\",[101]],[[65350,65350],\"mapped\",[102]],[[65351,65351],\"mapped\",[103]],[[65352,65352],\"mapped\",[104]],[[65353,65353],\"mapped\",[105]],[[65354,65354],\"mapped\",[106]],[[65355,65355],\"mapped\",[107]],[[65356,65356],\"mapped\",[108]],[[65357,65357],\"mapped\",[109]],[[65358,65358],\"mapped\",[110]],[[65359,65359],\"mapped\",[111]],[[65360,65360],\"mapped\",[112]],[[65361,65361],\"mapped\",[113]],[[65362,65362],\"mapped\",[114]],[[65363,65363],\"mapped\",[115]],[[65364,65364],\"mapped\",[116]],[[65365,65365],\"mapped\",[117]],[[65366,65366],\"mapped\",[118]],[[65367,65367],\"mapped\",[119]],[[65368,65368],\"mapped\",[120]],[[65369,65369],\"mapped\",[121]],[[65370,65370],\"mapped\",[122]],[[65371,65371],\"disallowed_STD3_mapped\",[123]],[[65372,65372],\"disallowed_STD3_mapped\",[124]],[[65373,65373],\"disallowed_STD3_mapped\",[125]],[[65374,65374],\"disallowed_STD3_mapped\",[126]],[[65375,65375],\"mapped\",[10629]],[[65376,65376],\"mapped\",[10630]],[[65377,65377],\"mapped\",[46]],[[65378,65378],\"mapped\",[12300]],[[65379,65379],\"mapped\",[12301]],[[65380,65380],\"mapped\",[12289]],[[65381,65381],\"mapped\",[12539]],[[65382,65382],\"mapped\",[12530]],[[65383,65383],\"mapped\",[12449]],[[65384,65384],\"mapped\",[12451]],[[65385,65385],\"mapped\",[12453]],[[65386,65386],\"mapped\",[12455]],[[65387,65387],\"mapped\",[12457]],[[65388,65388],\"mapped\",[12515]],[[65389,65389],\"mapped\",[12517]],[[65390,65390],\"mapped\",[12519]],[[65391,65391],\"mapped\",[12483]],[[65392,65392],\"mapped\",[12540]],[[65393,65393],\"mapped\",[12450]],[[65394,65394],\"mapped\",[12452]],[[65395,65395],\"mapped\",[12454]],[[65396,65396],\"mapped\",[12456]],[[65397,65397],\"mapped\",[12458]],[[65398,65398],\"mapped\",[12459]],[[65399,65399],\"mapped\",[12461]],[[65400,65400],\"mapped\",[12463]],[[65401,65401],\"mapped\",[12465]],[[65402,65402],\"mapped\",[12467]],[[65403,65403],\"mapped\",[12469]],[[65404,65404],\"mapped\",[12471]],[[65405,65405],\"mapped\",[12473]],[[65406,65406],\"mapped\",[12475]],[[65407,65407],\"mapped\",[12477]],[[65408,65408],\"mapped\",[12479]],[[65409,65409],\"mapped\",[12481]],[[65410,65410],\"mapped\",[12484]],[[65411,65411],\"mapped\",[12486]],[[65412,65412],\"mapped\",[12488]],[[65413,65413],\"mapped\",[12490]],[[65414,65414],\"mapped\",[12491]],[[65415,65415],\"mapped\",[12492]],[[65416,65416],\"mapped\",[12493]],[[65417,65417],\"mapped\",[12494]],[[65418,65418],\"mapped\",[12495]],[[65419,65419],\"mapped\",[12498]],[[65420,65420],\"mapped\",[12501]],[[65421,65421],\"mapped\",[12504]],[[65422,65422],\"mapped\",[12507]],[[65423,65423],\"mapped\",[12510]],[[65424,65424],\"mapped\",[12511]],[[65425,65425],\"mapped\",[12512]],[[65426,65426],\"mapped\",[12513]],[[65427,65427],\"mapped\",[12514]],[[65428,65428],\"mapped\",[12516]],[[65429,65429],\"mapped\",[12518]],[[65430,65430],\"mapped\",[12520]],[[65431,65431],\"mapped\",[12521]],[[65432,65432],\"mapped\",[12522]],[[65433,65433],\"mapped\",[12523]],[[65434,65434],\"mapped\",[12524]],[[65435,65435],\"mapped\",[12525]],[[65436,65436],\"mapped\",[12527]],[[65437,65437],\"mapped\",[12531]],[[65438,65438],\"mapped\",[12441]],[[65439,65439],\"mapped\",[12442]],[[65440,65440],\"disallowed\"],[[65441,65441],\"mapped\",[4352]],[[65442,65442],\"mapped\",[4353]],[[65443,65443],\"mapped\",[4522]],[[65444,65444],\"mapped\",[4354]],[[65445,65445],\"mapped\",[4524]],[[65446,65446],\"mapped\",[4525]],[[65447,65447],\"mapped\",[4355]],[[65448,65448],\"mapped\",[4356]],[[65449,65449],\"mapped\",[4357]],[[65450,65450],\"mapped\",[4528]],[[65451,65451],\"mapped\",[4529]],[[65452,65452],\"mapped\",[4530]],[[65453,65453],\"mapped\",[4531]],[[65454,65454],\"mapped\",[4532]],[[65455,65455],\"mapped\",[4533]],[[65456,65456],\"mapped\",[4378]],[[65457,65457],\"mapped\",[4358]],[[65458,65458],\"mapped\",[4359]],[[65459,65459],\"mapped\",[4360]],[[65460,65460],\"mapped\",[4385]],[[65461,65461],\"mapped\",[4361]],[[65462,65462],\"mapped\",[4362]],[[65463,65463],\"mapped\",[4363]],[[65464,65464],\"mapped\",[4364]],[[65465,65465],\"mapped\",[4365]],[[65466,65466],\"mapped\",[4366]],[[65467,65467],\"mapped\",[4367]],[[65468,65468],\"mapped\",[4368]],[[65469,65469],\"mapped\",[4369]],[[65470,65470],\"mapped\",[4370]],[[65471,65473],\"disallowed\"],[[65474,65474],\"mapped\",[4449]],[[65475,65475],\"mapped\",[4450]],[[65476,65476],\"mapped\",[4451]],[[65477,65477],\"mapped\",[4452]],[[65478,65478],\"mapped\",[4453]],[[65479,65479],\"mapped\",[4454]],[[65480,65481],\"disallowed\"],[[65482,65482],\"mapped\",[4455]],[[65483,65483],\"mapped\",[4456]],[[65484,65484],\"mapped\",[4457]],[[65485,65485],\"mapped\",[4458]],[[65486,65486],\"mapped\",[4459]],[[65487,65487],\"mapped\",[4460]],[[65488,65489],\"disallowed\"],[[65490,65490],\"mapped\",[4461]],[[65491,65491],\"mapped\",[4462]],[[65492,65492],\"mapped\",[4463]],[[65493,65493],\"mapped\",[4464]],[[65494,65494],\"mapped\",[4465]],[[65495,65495],\"mapped\",[4466]],[[65496,65497],\"disallowed\"],[[65498,65498],\"mapped\",[4467]],[[65499,65499],\"mapped\",[4468]],[[65500,65500],\"mapped\",[4469]],[[65501,65503],\"disallowed\"],[[65504,65504],\"mapped\",[162]],[[65505,65505],\"mapped\",[163]],[[65506,65506],\"mapped\",[172]],[[65507,65507],\"disallowed_STD3_mapped\",[32,772]],[[65508,65508],\"mapped\",[166]],[[65509,65509],\"mapped\",[165]],[[65510,65510],\"mapped\",[8361]],[[65511,65511],\"disallowed\"],[[65512,65512],\"mapped\",[9474]],[[65513,65513],\"mapped\",[8592]],[[65514,65514],\"mapped\",[8593]],[[65515,65515],\"mapped\",[8594]],[[65516,65516],\"mapped\",[8595]],[[65517,65517],\"mapped\",[9632]],[[65518,65518],\"mapped\",[9675]],[[65519,65528],\"disallowed\"],[[65529,65531],\"disallowed\"],[[65532,65532],\"disallowed\"],[[65533,65533],\"disallowed\"],[[65534,65535],\"disallowed\"],[[65536,65547],\"valid\"],[[65548,65548],\"disallowed\"],[[65549,65574],\"valid\"],[[65575,65575],\"disallowed\"],[[65576,65594],\"valid\"],[[65595,65595],\"disallowed\"],[[65596,65597],\"valid\"],[[65598,65598],\"disallowed\"],[[65599,65613],\"valid\"],[[65614,65615],\"disallowed\"],[[65616,65629],\"valid\"],[[65630,65663],\"disallowed\"],[[65664,65786],\"valid\"],[[65787,65791],\"disallowed\"],[[65792,65794],\"valid\",[],\"NV8\"],[[65795,65798],\"disallowed\"],[[65799,65843],\"valid\",[],\"NV8\"],[[65844,65846],\"disallowed\"],[[65847,65855],\"valid\",[],\"NV8\"],[[65856,65930],\"valid\",[],\"NV8\"],[[65931,65932],\"valid\",[],\"NV8\"],[[65933,65935],\"disallowed\"],[[65936,65947],\"valid\",[],\"NV8\"],[[65948,65951],\"disallowed\"],[[65952,65952],\"valid\",[],\"NV8\"],[[65953,65999],\"disallowed\"],[[66000,66044],\"valid\",[],\"NV8\"],[[66045,66045],\"valid\"],[[66046,66175],\"disallowed\"],[[66176,66204],\"valid\"],[[66205,66207],\"disallowed\"],[[66208,66256],\"valid\"],[[66257,66271],\"disallowed\"],[[66272,66272],\"valid\"],[[66273,66299],\"valid\",[],\"NV8\"],[[66300,66303],\"disallowed\"],[[66304,66334],\"valid\"],[[66335,66335],\"valid\"],[[66336,66339],\"valid\",[],\"NV8\"],[[66340,66351],\"disallowed\"],[[66352,66368],\"valid\"],[[66369,66369],\"valid\",[],\"NV8\"],[[66370,66377],\"valid\"],[[66378,66378],\"valid\",[],\"NV8\"],[[66379,66383],\"disallowed\"],[[66384,66426],\"valid\"],[[66427,66431],\"disallowed\"],[[66432,66461],\"valid\"],[[66462,66462],\"disallowed\"],[[66463,66463],\"valid\",[],\"NV8\"],[[66464,66499],\"valid\"],[[66500,66503],\"disallowed\"],[[66504,66511],\"valid\"],[[66512,66517],\"valid\",[],\"NV8\"],[[66518,66559],\"disallowed\"],[[66560,66560],\"mapped\",[66600]],[[66561,66561],\"mapped\",[66601]],[[66562,66562],\"mapped\",[66602]],[[66563,66563],\"mapped\",[66603]],[[66564,66564],\"mapped\",[66604]],[[66565,66565],\"mapped\",[66605]],[[66566,66566],\"mapped\",[66606]],[[66567,66567],\"mapped\",[66607]],[[66568,66568],\"mapped\",[66608]],[[66569,66569],\"mapped\",[66609]],[[66570,66570],\"mapped\",[66610]],[[66571,66571],\"mapped\",[66611]],[[66572,66572],\"mapped\",[66612]],[[66573,66573],\"mapped\",[66613]],[[66574,66574],\"mapped\",[66614]],[[66575,66575],\"mapped\",[66615]],[[66576,66576],\"mapped\",[66616]],[[66577,66577],\"mapped\",[66617]],[[66578,66578],\"mapped\",[66618]],[[66579,66579],\"mapped\",[66619]],[[66580,66580],\"mapped\",[66620]],[[66581,66581],\"mapped\",[66621]],[[66582,66582],\"mapped\",[66622]],[[66583,66583],\"mapped\",[66623]],[[66584,66584],\"mapped\",[66624]],[[66585,66585],\"mapped\",[66625]],[[66586,66586],\"mapped\",[66626]],[[66587,66587],\"mapped\",[66627]],[[66588,66588],\"mapped\",[66628]],[[66589,66589],\"mapped\",[66629]],[[66590,66590],\"mapped\",[66630]],[[66591,66591],\"mapped\",[66631]],[[66592,66592],\"mapped\",[66632]],[[66593,66593],\"mapped\",[66633]],[[66594,66594],\"mapped\",[66634]],[[66595,66595],\"mapped\",[66635]],[[66596,66596],\"mapped\",[66636]],[[66597,66597],\"mapped\",[66637]],[[66598,66598],\"mapped\",[66638]],[[66599,66599],\"mapped\",[66639]],[[66600,66637],\"valid\"],[[66638,66717],\"valid\"],[[66718,66719],\"disallowed\"],[[66720,66729],\"valid\"],[[66730,66815],\"disallowed\"],[[66816,66855],\"valid\"],[[66856,66863],\"disallowed\"],[[66864,66915],\"valid\"],[[66916,66926],\"disallowed\"],[[66927,66927],\"valid\",[],\"NV8\"],[[66928,67071],\"disallowed\"],[[67072,67382],\"valid\"],[[67383,67391],\"disallowed\"],[[67392,67413],\"valid\"],[[67414,67423],\"disallowed\"],[[67424,67431],\"valid\"],[[67432,67583],\"disallowed\"],[[67584,67589],\"valid\"],[[67590,67591],\"disallowed\"],[[67592,67592],\"valid\"],[[67593,67593],\"disallowed\"],[[67594,67637],\"valid\"],[[67638,67638],\"disallowed\"],[[67639,67640],\"valid\"],[[67641,67643],\"disallowed\"],[[67644,67644],\"valid\"],[[67645,67646],\"disallowed\"],[[67647,67647],\"valid\"],[[67648,67669],\"valid\"],[[67670,67670],\"disallowed\"],[[67671,67679],\"valid\",[],\"NV8\"],[[67680,67702],\"valid\"],[[67703,67711],\"valid\",[],\"NV8\"],[[67712,67742],\"valid\"],[[67743,67750],\"disallowed\"],[[67751,67759],\"valid\",[],\"NV8\"],[[67760,67807],\"disallowed\"],[[67808,67826],\"valid\"],[[67827,67827],\"disallowed\"],[[67828,67829],\"valid\"],[[67830,67834],\"disallowed\"],[[67835,67839],\"valid\",[],\"NV8\"],[[67840,67861],\"valid\"],[[67862,67865],\"valid\",[],\"NV8\"],[[67866,67867],\"valid\",[],\"NV8\"],[[67868,67870],\"disallowed\"],[[67871,67871],\"valid\",[],\"NV8\"],[[67872,67897],\"valid\"],[[67898,67902],\"disallowed\"],[[67903,67903],\"valid\",[],\"NV8\"],[[67904,67967],\"disallowed\"],[[67968,68023],\"valid\"],[[68024,68027],\"disallowed\"],[[68028,68029],\"valid\",[],\"NV8\"],[[68030,68031],\"valid\"],[[68032,68047],\"valid\",[],\"NV8\"],[[68048,68049],\"disallowed\"],[[68050,68095],\"valid\",[],\"NV8\"],[[68096,68099],\"valid\"],[[68100,68100],\"disallowed\"],[[68101,68102],\"valid\"],[[68103,68107],\"disallowed\"],[[68108,68115],\"valid\"],[[68116,68116],\"disallowed\"],[[68117,68119],\"valid\"],[[68120,68120],\"disallowed\"],[[68121,68147],\"valid\"],[[68148,68151],\"disallowed\"],[[68152,68154],\"valid\"],[[68155,68158],\"disallowed\"],[[68159,68159],\"valid\"],[[68160,68167],\"valid\",[],\"NV8\"],[[68168,68175],\"disallowed\"],[[68176,68184],\"valid\",[],\"NV8\"],[[68185,68191],\"disallowed\"],[[68192,68220],\"valid\"],[[68221,68223],\"valid\",[],\"NV8\"],[[68224,68252],\"valid\"],[[68253,68255],\"valid\",[],\"NV8\"],[[68256,68287],\"disallowed\"],[[68288,68295],\"valid\"],[[68296,68296],\"valid\",[],\"NV8\"],[[68297,68326],\"valid\"],[[68327,68330],\"disallowed\"],[[68331,68342],\"valid\",[],\"NV8\"],[[68343,68351],\"disallowed\"],[[68352,68405],\"valid\"],[[68406,68408],\"disallowed\"],[[68409,68415],\"valid\",[],\"NV8\"],[[68416,68437],\"valid\"],[[68438,68439],\"disallowed\"],[[68440,68447],\"valid\",[],\"NV8\"],[[68448,68466],\"valid\"],[[68467,68471],\"disallowed\"],[[68472,68479],\"valid\",[],\"NV8\"],[[68480,68497],\"valid\"],[[68498,68504],\"disallowed\"],[[68505,68508],\"valid\",[],\"NV8\"],[[68509,68520],\"disallowed\"],[[68521,68527],\"valid\",[],\"NV8\"],[[68528,68607],\"disallowed\"],[[68608,68680],\"valid\"],[[68681,68735],\"disallowed\"],[[68736,68736],\"mapped\",[68800]],[[68737,68737],\"mapped\",[68801]],[[68738,68738],\"mapped\",[68802]],[[68739,68739],\"mapped\",[68803]],[[68740,68740],\"mapped\",[68804]],[[68741,68741],\"mapped\",[68805]],[[68742,68742],\"mapped\",[68806]],[[68743,68743],\"mapped\",[68807]],[[68744,68744],\"mapped\",[68808]],[[68745,68745],\"mapped\",[68809]],[[68746,68746],\"mapped\",[68810]],[[68747,68747],\"mapped\",[68811]],[[68748,68748],\"mapped\",[68812]],[[68749,68749],\"mapped\",[68813]],[[68750,68750],\"mapped\",[68814]],[[68751,68751],\"mapped\",[68815]],[[68752,68752],\"mapped\",[68816]],[[68753,68753],\"mapped\",[68817]],[[68754,68754],\"mapped\",[68818]],[[68755,68755],\"mapped\",[68819]],[[68756,68756],\"mapped\",[68820]],[[68757,68757],\"mapped\",[68821]],[[68758,68758],\"mapped\",[68822]],[[68759,68759],\"mapped\",[68823]],[[68760,68760],\"mapped\",[68824]],[[68761,68761],\"mapped\",[68825]],[[68762,68762],\"mapped\",[68826]],[[68763,68763],\"mapped\",[68827]],[[68764,68764],\"mapped\",[68828]],[[68765,68765],\"mapped\",[68829]],[[68766,68766],\"mapped\",[68830]],[[68767,68767],\"mapped\",[68831]],[[68768,68768],\"mapped\",[68832]],[[68769,68769],\"mapped\",[68833]],[[68770,68770],\"mapped\",[68834]],[[68771,68771],\"mapped\",[68835]],[[68772,68772],\"mapped\",[68836]],[[68773,68773],\"mapped\",[68837]],[[68774,68774],\"mapped\",[68838]],[[68775,68775],\"mapped\",[68839]],[[68776,68776],\"mapped\",[68840]],[[68777,68777],\"mapped\",[68841]],[[68778,68778],\"mapped\",[68842]],[[68779,68779],\"mapped\",[68843]],[[68780,68780],\"mapped\",[68844]],[[68781,68781],\"mapped\",[68845]],[[68782,68782],\"mapped\",[68846]],[[68783,68783],\"mapped\",[68847]],[[68784,68784],\"mapped\",[68848]],[[68785,68785],\"mapped\",[68849]],[[68786,68786],\"mapped\",[68850]],[[68787,68799],\"disallowed\"],[[68800,68850],\"valid\"],[[68851,68857],\"disallowed\"],[[68858,68863],\"valid\",[],\"NV8\"],[[68864,69215],\"disallowed\"],[[69216,69246],\"valid\",[],\"NV8\"],[[69247,69631],\"disallowed\"],[[69632,69702],\"valid\"],[[69703,69709],\"valid\",[],\"NV8\"],[[69710,69713],\"disallowed\"],[[69714,69733],\"valid\",[],\"NV8\"],[[69734,69743],\"valid\"],[[69744,69758],\"disallowed\"],[[69759,69759],\"valid\"],[[69760,69818],\"valid\"],[[69819,69820],\"valid\",[],\"NV8\"],[[69821,69821],\"disallowed\"],[[69822,69825],\"valid\",[],\"NV8\"],[[69826,69839],\"disallowed\"],[[69840,69864],\"valid\"],[[69865,69871],\"disallowed\"],[[69872,69881],\"valid\"],[[69882,69887],\"disallowed\"],[[69888,69940],\"valid\"],[[69941,69941],\"disallowed\"],[[69942,69951],\"valid\"],[[69952,69955],\"valid\",[],\"NV8\"],[[69956,69967],\"disallowed\"],[[69968,70003],\"valid\"],[[70004,70005],\"valid\",[],\"NV8\"],[[70006,70006],\"valid\"],[[70007,70015],\"disallowed\"],[[70016,70084],\"valid\"],[[70085,70088],\"valid\",[],\"NV8\"],[[70089,70089],\"valid\",[],\"NV8\"],[[70090,70092],\"valid\"],[[70093,70093],\"valid\",[],\"NV8\"],[[70094,70095],\"disallowed\"],[[70096,70105],\"valid\"],[[70106,70106],\"valid\"],[[70107,70107],\"valid\",[],\"NV8\"],[[70108,70108],\"valid\"],[[70109,70111],\"valid\",[],\"NV8\"],[[70112,70112],\"disallowed\"],[[70113,70132],\"valid\",[],\"NV8\"],[[70133,70143],\"disallowed\"],[[70144,70161],\"valid\"],[[70162,70162],\"disallowed\"],[[70163,70199],\"valid\"],[[70200,70205],\"valid\",[],\"NV8\"],[[70206,70271],\"disallowed\"],[[70272,70278],\"valid\"],[[70279,70279],\"disallowed\"],[[70280,70280],\"valid\"],[[70281,70281],\"disallowed\"],[[70282,70285],\"valid\"],[[70286,70286],\"disallowed\"],[[70287,70301],\"valid\"],[[70302,70302],\"disallowed\"],[[70303,70312],\"valid\"],[[70313,70313],\"valid\",[],\"NV8\"],[[70314,70319],\"disallowed\"],[[70320,70378],\"valid\"],[[70379,70383],\"disallowed\"],[[70384,70393],\"valid\"],[[70394,70399],\"disallowed\"],[[70400,70400],\"valid\"],[[70401,70403],\"valid\"],[[70404,70404],\"disallowed\"],[[70405,70412],\"valid\"],[[70413,70414],\"disallowed\"],[[70415,70416],\"valid\"],[[70417,70418],\"disallowed\"],[[70419,70440],\"valid\"],[[70441,70441],\"disallowed\"],[[70442,70448],\"valid\"],[[70449,70449],\"disallowed\"],[[70450,70451],\"valid\"],[[70452,70452],\"disallowed\"],[[70453,70457],\"valid\"],[[70458,70459],\"disallowed\"],[[70460,70468],\"valid\"],[[70469,70470],\"disallowed\"],[[70471,70472],\"valid\"],[[70473,70474],\"disallowed\"],[[70475,70477],\"valid\"],[[70478,70479],\"disallowed\"],[[70480,70480],\"valid\"],[[70481,70486],\"disallowed\"],[[70487,70487],\"valid\"],[[70488,70492],\"disallowed\"],[[70493,70499],\"valid\"],[[70500,70501],\"disallowed\"],[[70502,70508],\"valid\"],[[70509,70511],\"disallowed\"],[[70512,70516],\"valid\"],[[70517,70783],\"disallowed\"],[[70784,70853],\"valid\"],[[70854,70854],\"valid\",[],\"NV8\"],[[70855,70855],\"valid\"],[[70856,70863],\"disallowed\"],[[70864,70873],\"valid\"],[[70874,71039],\"disallowed\"],[[71040,71093],\"valid\"],[[71094,71095],\"disallowed\"],[[71096,71104],\"valid\"],[[71105,71113],\"valid\",[],\"NV8\"],[[71114,71127],\"valid\",[],\"NV8\"],[[71128,71133],\"valid\"],[[71134,71167],\"disallowed\"],[[71168,71232],\"valid\"],[[71233,71235],\"valid\",[],\"NV8\"],[[71236,71236],\"valid\"],[[71237,71247],\"disallowed\"],[[71248,71257],\"valid\"],[[71258,71295],\"disallowed\"],[[71296,71351],\"valid\"],[[71352,71359],\"disallowed\"],[[71360,71369],\"valid\"],[[71370,71423],\"disallowed\"],[[71424,71449],\"valid\"],[[71450,71452],\"disallowed\"],[[71453,71467],\"valid\"],[[71468,71471],\"disallowed\"],[[71472,71481],\"valid\"],[[71482,71487],\"valid\",[],\"NV8\"],[[71488,71839],\"disallowed\"],[[71840,71840],\"mapped\",[71872]],[[71841,71841],\"mapped\",[71873]],[[71842,71842],\"mapped\",[71874]],[[71843,71843],\"mapped\",[71875]],[[71844,71844],\"mapped\",[71876]],[[71845,71845],\"mapped\",[71877]],[[71846,71846],\"mapped\",[71878]],[[71847,71847],\"mapped\",[71879]],[[71848,71848],\"mapped\",[71880]],[[71849,71849],\"mapped\",[71881]],[[71850,71850],\"mapped\",[71882]],[[71851,71851],\"mapped\",[71883]],[[71852,71852],\"mapped\",[71884]],[[71853,71853],\"mapped\",[71885]],[[71854,71854],\"mapped\",[71886]],[[71855,71855],\"mapped\",[71887]],[[71856,71856],\"mapped\",[71888]],[[71857,71857],\"mapped\",[71889]],[[71858,71858],\"mapped\",[71890]],[[71859,71859],\"mapped\",[71891]],[[71860,71860],\"mapped\",[71892]],[[71861,71861],\"mapped\",[71893]],[[71862,71862],\"mapped\",[71894]],[[71863,71863],\"mapped\",[71895]],[[71864,71864],\"mapped\",[71896]],[[71865,71865],\"mapped\",[71897]],[[71866,71866],\"mapped\",[71898]],[[71867,71867],\"mapped\",[71899]],[[71868,71868],\"mapped\",[71900]],[[71869,71869],\"mapped\",[71901]],[[71870,71870],\"mapped\",[71902]],[[71871,71871],\"mapped\",[71903]],[[71872,71913],\"valid\"],[[71914,71922],\"valid\",[],\"NV8\"],[[71923,71934],\"disallowed\"],[[71935,71935],\"valid\"],[[71936,72383],\"disallowed\"],[[72384,72440],\"valid\"],[[72441,73727],\"disallowed\"],[[73728,74606],\"valid\"],[[74607,74648],\"valid\"],[[74649,74649],\"valid\"],[[74650,74751],\"disallowed\"],[[74752,74850],\"valid\",[],\"NV8\"],[[74851,74862],\"valid\",[],\"NV8\"],[[74863,74863],\"disallowed\"],[[74864,74867],\"valid\",[],\"NV8\"],[[74868,74868],\"valid\",[],\"NV8\"],[[74869,74879],\"disallowed\"],[[74880,75075],\"valid\"],[[75076,77823],\"disallowed\"],[[77824,78894],\"valid\"],[[78895,82943],\"disallowed\"],[[82944,83526],\"valid\"],[[83527,92159],\"disallowed\"],[[92160,92728],\"valid\"],[[92729,92735],\"disallowed\"],[[92736,92766],\"valid\"],[[92767,92767],\"disallowed\"],[[92768,92777],\"valid\"],[[92778,92781],\"disallowed\"],[[92782,92783],\"valid\",[],\"NV8\"],[[92784,92879],\"disallowed\"],[[92880,92909],\"valid\"],[[92910,92911],\"disallowed\"],[[92912,92916],\"valid\"],[[92917,92917],\"valid\",[],\"NV8\"],[[92918,92927],\"disallowed\"],[[92928,92982],\"valid\"],[[92983,92991],\"valid\",[],\"NV8\"],[[92992,92995],\"valid\"],[[92996,92997],\"valid\",[],\"NV8\"],[[92998,93007],\"disallowed\"],[[93008,93017],\"valid\"],[[93018,93018],\"disallowed\"],[[93019,93025],\"valid\",[],\"NV8\"],[[93026,93026],\"disallowed\"],[[93027,93047],\"valid\"],[[93048,93052],\"disallowed\"],[[93053,93071],\"valid\"],[[93072,93951],\"disallowed\"],[[93952,94020],\"valid\"],[[94021,94031],\"disallowed\"],[[94032,94078],\"valid\"],[[94079,94094],\"disallowed\"],[[94095,94111],\"valid\"],[[94112,110591],\"disallowed\"],[[110592,110593],\"valid\"],[[110594,113663],\"disallowed\"],[[113664,113770],\"valid\"],[[113771,113775],\"disallowed\"],[[113776,113788],\"valid\"],[[113789,113791],\"disallowed\"],[[113792,113800],\"valid\"],[[113801,113807],\"disallowed\"],[[113808,113817],\"valid\"],[[113818,113819],\"disallowed\"],[[113820,113820],\"valid\",[],\"NV8\"],[[113821,113822],\"valid\"],[[113823,113823],\"valid\",[],\"NV8\"],[[113824,113827],\"ignored\"],[[113828,118783],\"disallowed\"],[[118784,119029],\"valid\",[],\"NV8\"],[[119030,119039],\"disallowed\"],[[119040,119078],\"valid\",[],\"NV8\"],[[119079,119080],\"disallowed\"],[[119081,119081],\"valid\",[],\"NV8\"],[[119082,119133],\"valid\",[],\"NV8\"],[[119134,119134],\"mapped\",[119127,119141]],[[119135,119135],\"mapped\",[119128,119141]],[[119136,119136],\"mapped\",[119128,119141,119150]],[[119137,119137],\"mapped\",[119128,119141,119151]],[[119138,119138],\"mapped\",[119128,119141,119152]],[[119139,119139],\"mapped\",[119128,119141,119153]],[[119140,119140],\"mapped\",[119128,119141,119154]],[[119141,119154],\"valid\",[],\"NV8\"],[[119155,119162],\"disallowed\"],[[119163,119226],\"valid\",[],\"NV8\"],[[119227,119227],\"mapped\",[119225,119141]],[[119228,119228],\"mapped\",[119226,119141]],[[119229,119229],\"mapped\",[119225,119141,119150]],[[119230,119230],\"mapped\",[119226,119141,119150]],[[119231,119231],\"mapped\",[119225,119141,119151]],[[119232,119232],\"mapped\",[119226,119141,119151]],[[119233,119261],\"valid\",[],\"NV8\"],[[119262,119272],\"valid\",[],\"NV8\"],[[119273,119295],\"disallowed\"],[[119296,119365],\"valid\",[],\"NV8\"],[[119366,119551],\"disallowed\"],[[119552,119638],\"valid\",[],\"NV8\"],[[119639,119647],\"disallowed\"],[[119648,119665],\"valid\",[],\"NV8\"],[[119666,119807],\"disallowed\"],[[119808,119808],\"mapped\",[97]],[[119809,119809],\"mapped\",[98]],[[119810,119810],\"mapped\",[99]],[[119811,119811],\"mapped\",[100]],[[119812,119812],\"mapped\",[101]],[[119813,119813],\"mapped\",[102]],[[119814,119814],\"mapped\",[103]],[[119815,119815],\"mapped\",[104]],[[119816,119816],\"mapped\",[105]],[[119817,119817],\"mapped\",[106]],[[119818,119818],\"mapped\",[107]],[[119819,119819],\"mapped\",[108]],[[119820,119820],\"mapped\",[109]],[[119821,119821],\"mapped\",[110]],[[119822,119822],\"mapped\",[111]],[[119823,119823],\"mapped\",[112]],[[119824,119824],\"mapped\",[113]],[[119825,119825],\"mapped\",[114]],[[119826,119826],\"mapped\",[115]],[[119827,119827],\"mapped\",[116]],[[119828,119828],\"mapped\",[117]],[[119829,119829],\"mapped\",[118]],[[119830,119830],\"mapped\",[119]],[[119831,119831],\"mapped\",[120]],[[119832,119832],\"mapped\",[121]],[[119833,119833],\"mapped\",[122]],[[119834,119834],\"mapped\",[97]],[[119835,119835],\"mapped\",[98]],[[119836,119836],\"mapped\",[99]],[[119837,119837],\"mapped\",[100]],[[119838,119838],\"mapped\",[101]],[[119839,119839],\"mapped\",[102]],[[119840,119840],\"mapped\",[103]],[[119841,119841],\"mapped\",[104]],[[119842,119842],\"mapped\",[105]],[[119843,119843],\"mapped\",[106]],[[119844,119844],\"mapped\",[107]],[[119845,119845],\"mapped\",[108]],[[119846,119846],\"mapped\",[109]],[[119847,119847],\"mapped\",[110]],[[119848,119848],\"mapped\",[111]],[[119849,119849],\"mapped\",[112]],[[119850,119850],\"mapped\",[113]],[[119851,119851],\"mapped\",[114]],[[119852,119852],\"mapped\",[115]],[[119853,119853],\"mapped\",[116]],[[119854,119854],\"mapped\",[117]],[[119855,119855],\"mapped\",[118]],[[119856,119856],\"mapped\",[119]],[[119857,119857],\"mapped\",[120]],[[119858,119858],\"mapped\",[121]],[[119859,119859],\"mapped\",[122]],[[119860,119860],\"mapped\",[97]],[[119861,119861],\"mapped\",[98]],[[119862,119862],\"mapped\",[99]],[[119863,119863],\"mapped\",[100]],[[119864,119864],\"mapped\",[101]],[[119865,119865],\"mapped\",[102]],[[119866,119866],\"mapped\",[103]],[[119867,119867],\"mapped\",[104]],[[119868,119868],\"mapped\",[105]],[[119869,119869],\"mapped\",[106]],[[119870,119870],\"mapped\",[107]],[[119871,119871],\"mapped\",[108]],[[119872,119872],\"mapped\",[109]],[[119873,119873],\"mapped\",[110]],[[119874,119874],\"mapped\",[111]],[[119875,119875],\"mapped\",[112]],[[119876,119876],\"mapped\",[113]],[[119877,119877],\"mapped\",[114]],[[119878,119878],\"mapped\",[115]],[[119879,119879],\"mapped\",[116]],[[119880,119880],\"mapped\",[117]],[[119881,119881],\"mapped\",[118]],[[119882,119882],\"mapped\",[119]],[[119883,119883],\"mapped\",[120]],[[119884,119884],\"mapped\",[121]],[[119885,119885],\"mapped\",[122]],[[119886,119886],\"mapped\",[97]],[[119887,119887],\"mapped\",[98]],[[119888,119888],\"mapped\",[99]],[[119889,119889],\"mapped\",[100]],[[119890,119890],\"mapped\",[101]],[[119891,119891],\"mapped\",[102]],[[119892,119892],\"mapped\",[103]],[[119893,119893],\"disallowed\"],[[119894,119894],\"mapped\",[105]],[[119895,119895],\"mapped\",[106]],[[119896,119896],\"mapped\",[107]],[[119897,119897],\"mapped\",[108]],[[119898,119898],\"mapped\",[109]],[[119899,119899],\"mapped\",[110]],[[119900,119900],\"mapped\",[111]],[[119901,119901],\"mapped\",[112]],[[119902,119902],\"mapped\",[113]],[[119903,119903],\"mapped\",[114]],[[119904,119904],\"mapped\",[115]],[[119905,119905],\"mapped\",[116]],[[119906,119906],\"mapped\",[117]],[[119907,119907],\"mapped\",[118]],[[119908,119908],\"mapped\",[119]],[[119909,119909],\"mapped\",[120]],[[119910,119910],\"mapped\",[121]],[[119911,119911],\"mapped\",[122]],[[119912,119912],\"mapped\",[97]],[[119913,119913],\"mapped\",[98]],[[119914,119914],\"mapped\",[99]],[[119915,119915],\"mapped\",[100]],[[119916,119916],\"mapped\",[101]],[[119917,119917],\"mapped\",[102]],[[119918,119918],\"mapped\",[103]],[[119919,119919],\"mapped\",[104]],[[119920,119920],\"mapped\",[105]],[[119921,119921],\"mapped\",[106]],[[119922,119922],\"mapped\",[107]],[[119923,119923],\"mapped\",[108]],[[119924,119924],\"mapped\",[109]],[[119925,119925],\"mapped\",[110]],[[119926,119926],\"mapped\",[111]],[[119927,119927],\"mapped\",[112]],[[119928,119928],\"mapped\",[113]],[[119929,119929],\"mapped\",[114]],[[119930,119930],\"mapped\",[115]],[[119931,119931],\"mapped\",[116]],[[119932,119932],\"mapped\",[117]],[[119933,119933],\"mapped\",[118]],[[119934,119934],\"mapped\",[119]],[[119935,119935],\"mapped\",[120]],[[119936,119936],\"mapped\",[121]],[[119937,119937],\"mapped\",[122]],[[119938,119938],\"mapped\",[97]],[[119939,119939],\"mapped\",[98]],[[119940,119940],\"mapped\",[99]],[[119941,119941],\"mapped\",[100]],[[119942,119942],\"mapped\",[101]],[[119943,119943],\"mapped\",[102]],[[119944,119944],\"mapped\",[103]],[[119945,119945],\"mapped\",[104]],[[119946,119946],\"mapped\",[105]],[[119947,119947],\"mapped\",[106]],[[119948,119948],\"mapped\",[107]],[[119949,119949],\"mapped\",[108]],[[119950,119950],\"mapped\",[109]],[[119951,119951],\"mapped\",[110]],[[119952,119952],\"mapped\",[111]],[[119953,119953],\"mapped\",[112]],[[119954,119954],\"mapped\",[113]],[[119955,119955],\"mapped\",[114]],[[119956,119956],\"mapped\",[115]],[[119957,119957],\"mapped\",[116]],[[119958,119958],\"mapped\",[117]],[[119959,119959],\"mapped\",[118]],[[119960,119960],\"mapped\",[119]],[[119961,119961],\"mapped\",[120]],[[119962,119962],\"mapped\",[121]],[[119963,119963],\"mapped\",[122]],[[119964,119964],\"mapped\",[97]],[[119965,119965],\"disallowed\"],[[119966,119966],\"mapped\",[99]],[[119967,119967],\"mapped\",[100]],[[119968,119969],\"disallowed\"],[[119970,119970],\"mapped\",[103]],[[119971,119972],\"disallowed\"],[[119973,119973],\"mapped\",[106]],[[119974,119974],\"mapped\",[107]],[[119975,119976],\"disallowed\"],[[119977,119977],\"mapped\",[110]],[[119978,119978],\"mapped\",[111]],[[119979,119979],\"mapped\",[112]],[[119980,119980],\"mapped\",[113]],[[119981,119981],\"disallowed\"],[[119982,119982],\"mapped\",[115]],[[119983,119983],\"mapped\",[116]],[[119984,119984],\"mapped\",[117]],[[119985,119985],\"mapped\",[118]],[[119986,119986],\"mapped\",[119]],[[119987,119987],\"mapped\",[120]],[[119988,119988],\"mapped\",[121]],[[119989,119989],\"mapped\",[122]],[[119990,119990],\"mapped\",[97]],[[119991,119991],\"mapped\",[98]],[[119992,119992],\"mapped\",[99]],[[119993,119993],\"mapped\",[100]],[[119994,119994],\"disallowed\"],[[119995,119995],\"mapped\",[102]],[[119996,119996],\"disallowed\"],[[119997,119997],\"mapped\",[104]],[[119998,119998],\"mapped\",[105]],[[119999,119999],\"mapped\",[106]],[[120000,120000],\"mapped\",[107]],[[120001,120001],\"mapped\",[108]],[[120002,120002],\"mapped\",[109]],[[120003,120003],\"mapped\",[110]],[[120004,120004],\"disallowed\"],[[120005,120005],\"mapped\",[112]],[[120006,120006],\"mapped\",[113]],[[120007,120007],\"mapped\",[114]],[[120008,120008],\"mapped\",[115]],[[120009,120009],\"mapped\",[116]],[[120010,120010],\"mapped\",[117]],[[120011,120011],\"mapped\",[118]],[[120012,120012],\"mapped\",[119]],[[120013,120013],\"mapped\",[120]],[[120014,120014],\"mapped\",[121]],[[120015,120015],\"mapped\",[122]],[[120016,120016],\"mapped\",[97]],[[120017,120017],\"mapped\",[98]],[[120018,120018],\"mapped\",[99]],[[120019,120019],\"mapped\",[100]],[[120020,120020],\"mapped\",[101]],[[120021,120021],\"mapped\",[102]],[[120022,120022],\"mapped\",[103]],[[120023,120023],\"mapped\",[104]],[[120024,120024],\"mapped\",[105]],[[120025,120025],\"mapped\",[106]],[[120026,120026],\"mapped\",[107]],[[120027,120027],\"mapped\",[108]],[[120028,120028],\"mapped\",[109]],[[120029,120029],\"mapped\",[110]],[[120030,120030],\"mapped\",[111]],[[120031,120031],\"mapped\",[112]],[[120032,120032],\"mapped\",[113]],[[120033,120033],\"mapped\",[114]],[[120034,120034],\"mapped\",[115]],[[120035,120035],\"mapped\",[116]],[[120036,120036],\"mapped\",[117]],[[120037,120037],\"mapped\",[118]],[[120038,120038],\"mapped\",[119]],[[120039,120039],\"mapped\",[120]],[[120040,120040],\"mapped\",[121]],[[120041,120041],\"mapped\",[122]],[[120042,120042],\"mapped\",[97]],[[120043,120043],\"mapped\",[98]],[[120044,120044],\"mapped\",[99]],[[120045,120045],\"mapped\",[100]],[[120046,120046],\"mapped\",[101]],[[120047,120047],\"mapped\",[102]],[[120048,120048],\"mapped\",[103]],[[120049,120049],\"mapped\",[104]],[[120050,120050],\"mapped\",[105]],[[120051,120051],\"mapped\",[106]],[[120052,120052],\"mapped\",[107]],[[120053,120053],\"mapped\",[108]],[[120054,120054],\"mapped\",[109]],[[120055,120055],\"mapped\",[110]],[[120056,120056],\"mapped\",[111]],[[120057,120057],\"mapped\",[112]],[[120058,120058],\"mapped\",[113]],[[120059,120059],\"mapped\",[114]],[[120060,120060],\"mapped\",[115]],[[120061,120061],\"mapped\",[116]],[[120062,120062],\"mapped\",[117]],[[120063,120063],\"mapped\",[118]],[[120064,120064],\"mapped\",[119]],[[120065,120065],\"mapped\",[120]],[[120066,120066],\"mapped\",[121]],[[120067,120067],\"mapped\",[122]],[[120068,120068],\"mapped\",[97]],[[120069,120069],\"mapped\",[98]],[[120070,120070],\"disallowed\"],[[120071,120071],\"mapped\",[100]],[[120072,120072],\"mapped\",[101]],[[120073,120073],\"mapped\",[102]],[[120074,120074],\"mapped\",[103]],[[120075,120076],\"disallowed\"],[[120077,120077],\"mapped\",[106]],[[120078,120078],\"mapped\",[107]],[[120079,120079],\"mapped\",[108]],[[120080,120080],\"mapped\",[109]],[[120081,120081],\"mapped\",[110]],[[120082,120082],\"mapped\",[111]],[[120083,120083],\"mapped\",[112]],[[120084,120084],\"mapped\",[113]],[[120085,120085],\"disallowed\"],[[120086,120086],\"mapped\",[115]],[[120087,120087],\"mapped\",[116]],[[120088,120088],\"mapped\",[117]],[[120089,120089],\"mapped\",[118]],[[120090,120090],\"mapped\",[119]],[[120091,120091],\"mapped\",[120]],[[120092,120092],\"mapped\",[121]],[[120093,120093],\"disallowed\"],[[120094,120094],\"mapped\",[97]],[[120095,120095],\"mapped\",[98]],[[120096,120096],\"mapped\",[99]],[[120097,120097],\"mapped\",[100]],[[120098,120098],\"mapped\",[101]],[[120099,120099],\"mapped\",[102]],[[120100,120100],\"mapped\",[103]],[[120101,120101],\"mapped\",[104]],[[120102,120102],\"mapped\",[105]],[[120103,120103],\"mapped\",[106]],[[120104,120104],\"mapped\",[107]],[[120105,120105],\"mapped\",[108]],[[120106,120106],\"mapped\",[109]],[[120107,120107],\"mapped\",[110]],[[120108,120108],\"mapped\",[111]],[[120109,120109],\"mapped\",[112]],[[120110,120110],\"mapped\",[113]],[[120111,120111],\"mapped\",[114]],[[120112,120112],\"mapped\",[115]],[[120113,120113],\"mapped\",[116]],[[120114,120114],\"mapped\",[117]],[[120115,120115],\"mapped\",[118]],[[120116,120116],\"mapped\",[119]],[[120117,120117],\"mapped\",[120]],[[120118,120118],\"mapped\",[121]],[[120119,120119],\"mapped\",[122]],[[120120,120120],\"mapped\",[97]],[[120121,120121],\"mapped\",[98]],[[120122,120122],\"disallowed\"],[[120123,120123],\"mapped\",[100]],[[120124,120124],\"mapped\",[101]],[[120125,120125],\"mapped\",[102]],[[120126,120126],\"mapped\",[103]],[[120127,120127],\"disallowed\"],[[120128,120128],\"mapped\",[105]],[[120129,120129],\"mapped\",[106]],[[120130,120130],\"mapped\",[107]],[[120131,120131],\"mapped\",[108]],[[120132,120132],\"mapped\",[109]],[[120133,120133],\"disallowed\"],[[120134,120134],\"mapped\",[111]],[[120135,120137],\"disallowed\"],[[120138,120138],\"mapped\",[115]],[[120139,120139],\"mapped\",[116]],[[120140,120140],\"mapped\",[117]],[[120141,120141],\"mapped\",[118]],[[120142,120142],\"mapped\",[119]],[[120143,120143],\"mapped\",[120]],[[120144,120144],\"mapped\",[121]],[[120145,120145],\"disallowed\"],[[120146,120146],\"mapped\",[97]],[[120147,120147],\"mapped\",[98]],[[120148,120148],\"mapped\",[99]],[[120149,120149],\"mapped\",[100]],[[120150,120150],\"mapped\",[101]],[[120151,120151],\"mapped\",[102]],[[120152,120152],\"mapped\",[103]],[[120153,120153],\"mapped\",[104]],[[120154,120154],\"mapped\",[105]],[[120155,120155],\"mapped\",[106]],[[120156,120156],\"mapped\",[107]],[[120157,120157],\"mapped\",[108]],[[120158,120158],\"mapped\",[109]],[[120159,120159],\"mapped\",[110]],[[120160,120160],\"mapped\",[111]],[[120161,120161],\"mapped\",[112]],[[120162,120162],\"mapped\",[113]],[[120163,120163],\"mapped\",[114]],[[120164,120164],\"mapped\",[115]],[[120165,120165],\"mapped\",[116]],[[120166,120166],\"mapped\",[117]],[[120167,120167],\"mapped\",[118]],[[120168,120168],\"mapped\",[119]],[[120169,120169],\"mapped\",[120]],[[120170,120170],\"mapped\",[121]],[[120171,120171],\"mapped\",[122]],[[120172,120172],\"mapped\",[97]],[[120173,120173],\"mapped\",[98]],[[120174,120174],\"mapped\",[99]],[[120175,120175],\"mapped\",[100]],[[120176,120176],\"mapped\",[101]],[[120177,120177],\"mapped\",[102]],[[120178,120178],\"mapped\",[103]],[[120179,120179],\"mapped\",[104]],[[120180,120180],\"mapped\",[105]],[[120181,120181],\"mapped\",[106]],[[120182,120182],\"mapped\",[107]],[[120183,120183],\"mapped\",[108]],[[120184,120184],\"mapped\",[109]],[[120185,120185],\"mapped\",[110]],[[120186,120186],\"mapped\",[111]],[[120187,120187],\"mapped\",[112]],[[120188,120188],\"mapped\",[113]],[[120189,120189],\"mapped\",[114]],[[120190,120190],\"mapped\",[115]],[[120191,120191],\"mapped\",[116]],[[120192,120192],\"mapped\",[117]],[[120193,120193],\"mapped\",[118]],[[120194,120194],\"mapped\",[119]],[[120195,120195],\"mapped\",[120]],[[120196,120196],\"mapped\",[121]],[[120197,120197],\"mapped\",[122]],[[120198,120198],\"mapped\",[97]],[[120199,120199],\"mapped\",[98]],[[120200,120200],\"mapped\",[99]],[[120201,120201],\"mapped\",[100]],[[120202,120202],\"mapped\",[101]],[[120203,120203],\"mapped\",[102]],[[120204,120204],\"mapped\",[103]],[[120205,120205],\"mapped\",[104]],[[120206,120206],\"mapped\",[105]],[[120207,120207],\"mapped\",[106]],[[120208,120208],\"mapped\",[107]],[[120209,120209],\"mapped\",[108]],[[120210,120210],\"mapped\",[109]],[[120211,120211],\"mapped\",[110]],[[120212,120212],\"mapped\",[111]],[[120213,120213],\"mapped\",[112]],[[120214,120214],\"mapped\",[113]],[[120215,120215],\"mapped\",[114]],[[120216,120216],\"mapped\",[115]],[[120217,120217],\"mapped\",[116]],[[120218,120218],\"mapped\",[117]],[[120219,120219],\"mapped\",[118]],[[120220,120220],\"mapped\",[119]],[[120221,120221],\"mapped\",[120]],[[120222,120222],\"mapped\",[121]],[[120223,120223],\"mapped\",[122]],[[120224,120224],\"mapped\",[97]],[[120225,120225],\"mapped\",[98]],[[120226,120226],\"mapped\",[99]],[[120227,120227],\"mapped\",[100]],[[120228,120228],\"mapped\",[101]],[[120229,120229],\"mapped\",[102]],[[120230,120230],\"mapped\",[103]],[[120231,120231],\"mapped\",[104]],[[120232,120232],\"mapped\",[105]],[[120233,120233],\"mapped\",[106]],[[120234,120234],\"mapped\",[107]],[[120235,120235],\"mapped\",[108]],[[120236,120236],\"mapped\",[109]],[[120237,120237],\"mapped\",[110]],[[120238,120238],\"mapped\",[111]],[[120239,120239],\"mapped\",[112]],[[120240,120240],\"mapped\",[113]],[[120241,120241],\"mapped\",[114]],[[120242,120242],\"mapped\",[115]],[[120243,120243],\"mapped\",[116]],[[120244,120244],\"mapped\",[117]],[[120245,120245],\"mapped\",[118]],[[120246,120246],\"mapped\",[119]],[[120247,120247],\"mapped\",[120]],[[120248,120248],\"mapped\",[121]],[[120249,120249],\"mapped\",[122]],[[120250,120250],\"mapped\",[97]],[[120251,120251],\"mapped\",[98]],[[120252,120252],\"mapped\",[99]],[[120253,120253],\"mapped\",[100]],[[120254,120254],\"mapped\",[101]],[[120255,120255],\"mapped\",[102]],[[120256,120256],\"mapped\",[103]],[[120257,120257],\"mapped\",[104]],[[120258,120258],\"mapped\",[105]],[[120259,120259],\"mapped\",[106]],[[120260,120260],\"mapped\",[107]],[[120261,120261],\"mapped\",[108]],[[120262,120262],\"mapped\",[109]],[[120263,120263],\"mapped\",[110]],[[120264,120264],\"mapped\",[111]],[[120265,120265],\"mapped\",[112]],[[120266,120266],\"mapped\",[113]],[[120267,120267],\"mapped\",[114]],[[120268,120268],\"mapped\",[115]],[[120269,120269],\"mapped\",[116]],[[120270,120270],\"mapped\",[117]],[[120271,120271],\"mapped\",[118]],[[120272,120272],\"mapped\",[119]],[[120273,120273],\"mapped\",[120]],[[120274,120274],\"mapped\",[121]],[[120275,120275],\"mapped\",[122]],[[120276,120276],\"mapped\",[97]],[[120277,120277],\"mapped\",[98]],[[120278,120278],\"mapped\",[99]],[[120279,120279],\"mapped\",[100]],[[120280,120280],\"mapped\",[101]],[[120281,120281],\"mapped\",[102]],[[120282,120282],\"mapped\",[103]],[[120283,120283],\"mapped\",[104]],[[120284,120284],\"mapped\",[105]],[[120285,120285],\"mapped\",[106]],[[120286,120286],\"mapped\",[107]],[[120287,120287],\"mapped\",[108]],[[120288,120288],\"mapped\",[109]],[[120289,120289],\"mapped\",[110]],[[120290,120290],\"mapped\",[111]],[[120291,120291],\"mapped\",[112]],[[120292,120292],\"mapped\",[113]],[[120293,120293],\"mapped\",[114]],[[120294,120294],\"mapped\",[115]],[[120295,120295],\"mapped\",[116]],[[120296,120296],\"mapped\",[117]],[[120297,120297],\"mapped\",[118]],[[120298,120298],\"mapped\",[119]],[[120299,120299],\"mapped\",[120]],[[120300,120300],\"mapped\",[121]],[[120301,120301],\"mapped\",[122]],[[120302,120302],\"mapped\",[97]],[[120303,120303],\"mapped\",[98]],[[120304,120304],\"mapped\",[99]],[[120305,120305],\"mapped\",[100]],[[120306,120306],\"mapped\",[101]],[[120307,120307],\"mapped\",[102]],[[120308,120308],\"mapped\",[103]],[[120309,120309],\"mapped\",[104]],[[120310,120310],\"mapped\",[105]],[[120311,120311],\"mapped\",[106]],[[120312,120312],\"mapped\",[107]],[[120313,120313],\"mapped\",[108]],[[120314,120314],\"mapped\",[109]],[[120315,120315],\"mapped\",[110]],[[120316,120316],\"mapped\",[111]],[[120317,120317],\"mapped\",[112]],[[120318,120318],\"mapped\",[113]],[[120319,120319],\"mapped\",[114]],[[120320,120320],\"mapped\",[115]],[[120321,120321],\"mapped\",[116]],[[120322,120322],\"mapped\",[117]],[[120323,120323],\"mapped\",[118]],[[120324,120324],\"mapped\",[119]],[[120325,120325],\"mapped\",[120]],[[120326,120326],\"mapped\",[121]],[[120327,120327],\"mapped\",[122]],[[120328,120328],\"mapped\",[97]],[[120329,120329],\"mapped\",[98]],[[120330,120330],\"mapped\",[99]],[[120331,120331],\"mapped\",[100]],[[120332,120332],\"mapped\",[101]],[[120333,120333],\"mapped\",[102]],[[120334,120334],\"mapped\",[103]],[[120335,120335],\"mapped\",[104]],[[120336,120336],\"mapped\",[105]],[[120337,120337],\"mapped\",[106]],[[120338,120338],\"mapped\",[107]],[[120339,120339],\"mapped\",[108]],[[120340,120340],\"mapped\",[109]],[[120341,120341],\"mapped\",[110]],[[120342,120342],\"mapped\",[111]],[[120343,120343],\"mapped\",[112]],[[120344,120344],\"mapped\",[113]],[[120345,120345],\"mapped\",[114]],[[120346,120346],\"mapped\",[115]],[[120347,120347],\"mapped\",[116]],[[120348,120348],\"mapped\",[117]],[[120349,120349],\"mapped\",[118]],[[120350,120350],\"mapped\",[119]],[[120351,120351],\"mapped\",[120]],[[120352,120352],\"mapped\",[121]],[[120353,120353],\"mapped\",[122]],[[120354,120354],\"mapped\",[97]],[[120355,120355],\"mapped\",[98]],[[120356,120356],\"mapped\",[99]],[[120357,120357],\"mapped\",[100]],[[120358,120358],\"mapped\",[101]],[[120359,120359],\"mapped\",[102]],[[120360,120360],\"mapped\",[103]],[[120361,120361],\"mapped\",[104]],[[120362,120362],\"mapped\",[105]],[[120363,120363],\"mapped\",[106]],[[120364,120364],\"mapped\",[107]],[[120365,120365],\"mapped\",[108]],[[120366,120366],\"mapped\",[109]],[[120367,120367],\"mapped\",[110]],[[120368,120368],\"mapped\",[111]],[[120369,120369],\"mapped\",[112]],[[120370,120370],\"mapped\",[113]],[[120371,120371],\"mapped\",[114]],[[120372,120372],\"mapped\",[115]],[[120373,120373],\"mapped\",[116]],[[120374,120374],\"mapped\",[117]],[[120375,120375],\"mapped\",[118]],[[120376,120376],\"mapped\",[119]],[[120377,120377],\"mapped\",[120]],[[120378,120378],\"mapped\",[121]],[[120379,120379],\"mapped\",[122]],[[120380,120380],\"mapped\",[97]],[[120381,120381],\"mapped\",[98]],[[120382,120382],\"mapped\",[99]],[[120383,120383],\"mapped\",[100]],[[120384,120384],\"mapped\",[101]],[[120385,120385],\"mapped\",[102]],[[120386,120386],\"mapped\",[103]],[[120387,120387],\"mapped\",[104]],[[120388,120388],\"mapped\",[105]],[[120389,120389],\"mapped\",[106]],[[120390,120390],\"mapped\",[107]],[[120391,120391],\"mapped\",[108]],[[120392,120392],\"mapped\",[109]],[[120393,120393],\"mapped\",[110]],[[120394,120394],\"mapped\",[111]],[[120395,120395],\"mapped\",[112]],[[120396,120396],\"mapped\",[113]],[[120397,120397],\"mapped\",[114]],[[120398,120398],\"mapped\",[115]],[[120399,120399],\"mapped\",[116]],[[120400,120400],\"mapped\",[117]],[[120401,120401],\"mapped\",[118]],[[120402,120402],\"mapped\",[119]],[[120403,120403],\"mapped\",[120]],[[120404,120404],\"mapped\",[121]],[[120405,120405],\"mapped\",[122]],[[120406,120406],\"mapped\",[97]],[[120407,120407],\"mapped\",[98]],[[120408,120408],\"mapped\",[99]],[[120409,120409],\"mapped\",[100]],[[120410,120410],\"mapped\",[101]],[[120411,120411],\"mapped\",[102]],[[120412,120412],\"mapped\",[103]],[[120413,120413],\"mapped\",[104]],[[120414,120414],\"mapped\",[105]],[[120415,120415],\"mapped\",[106]],[[120416,120416],\"mapped\",[107]],[[120417,120417],\"mapped\",[108]],[[120418,120418],\"mapped\",[109]],[[120419,120419],\"mapped\",[110]],[[120420,120420],\"mapped\",[111]],[[120421,120421],\"mapped\",[112]],[[120422,120422],\"mapped\",[113]],[[120423,120423],\"mapped\",[114]],[[120424,120424],\"mapped\",[115]],[[120425,120425],\"mapped\",[116]],[[120426,120426],\"mapped\",[117]],[[120427,120427],\"mapped\",[118]],[[120428,120428],\"mapped\",[119]],[[120429,120429],\"mapped\",[120]],[[120430,120430],\"mapped\",[121]],[[120431,120431],\"mapped\",[122]],[[120432,120432],\"mapped\",[97]],[[120433,120433],\"mapped\",[98]],[[120434,120434],\"mapped\",[99]],[[120435,120435],\"mapped\",[100]],[[120436,120436],\"mapped\",[101]],[[120437,120437],\"mapped\",[102]],[[120438,120438],\"mapped\",[103]],[[120439,120439],\"mapped\",[104]],[[120440,120440],\"mapped\",[105]],[[120441,120441],\"mapped\",[106]],[[120442,120442],\"mapped\",[107]],[[120443,120443],\"mapped\",[108]],[[120444,120444],\"mapped\",[109]],[[120445,120445],\"mapped\",[110]],[[120446,120446],\"mapped\",[111]],[[120447,120447],\"mapped\",[112]],[[120448,120448],\"mapped\",[113]],[[120449,120449],\"mapped\",[114]],[[120450,120450],\"mapped\",[115]],[[120451,120451],\"mapped\",[116]],[[120452,120452],\"mapped\",[117]],[[120453,120453],\"mapped\",[118]],[[120454,120454],\"mapped\",[119]],[[120455,120455],\"mapped\",[120]],[[120456,120456],\"mapped\",[121]],[[120457,120457],\"mapped\",[122]],[[120458,120458],\"mapped\",[97]],[[120459,120459],\"mapped\",[98]],[[120460,120460],\"mapped\",[99]],[[120461,120461],\"mapped\",[100]],[[120462,120462],\"mapped\",[101]],[[120463,120463],\"mapped\",[102]],[[120464,120464],\"mapped\",[103]],[[120465,120465],\"mapped\",[104]],[[120466,120466],\"mapped\",[105]],[[120467,120467],\"mapped\",[106]],[[120468,120468],\"mapped\",[107]],[[120469,120469],\"mapped\",[108]],[[120470,120470],\"mapped\",[109]],[[120471,120471],\"mapped\",[110]],[[120472,120472],\"mapped\",[111]],[[120473,120473],\"mapped\",[112]],[[120474,120474],\"mapped\",[113]],[[120475,120475],\"mapped\",[114]],[[120476,120476],\"mapped\",[115]],[[120477,120477],\"mapped\",[116]],[[120478,120478],\"mapped\",[117]],[[120479,120479],\"mapped\",[118]],[[120480,120480],\"mapped\",[119]],[[120481,120481],\"mapped\",[120]],[[120482,120482],\"mapped\",[121]],[[120483,120483],\"mapped\",[122]],[[120484,120484],\"mapped\",[305]],[[120485,120485],\"mapped\",[567]],[[120486,120487],\"disallowed\"],[[120488,120488],\"mapped\",[945]],[[120489,120489],\"mapped\",[946]],[[120490,120490],\"mapped\",[947]],[[120491,120491],\"mapped\",[948]],[[120492,120492],\"mapped\",[949]],[[120493,120493],\"mapped\",[950]],[[120494,120494],\"mapped\",[951]],[[120495,120495],\"mapped\",[952]],[[120496,120496],\"mapped\",[953]],[[120497,120497],\"mapped\",[954]],[[120498,120498],\"mapped\",[955]],[[120499,120499],\"mapped\",[956]],[[120500,120500],\"mapped\",[957]],[[120501,120501],\"mapped\",[958]],[[120502,120502],\"mapped\",[959]],[[120503,120503],\"mapped\",[960]],[[120504,120504],\"mapped\",[961]],[[120505,120505],\"mapped\",[952]],[[120506,120506],\"mapped\",[963]],[[120507,120507],\"mapped\",[964]],[[120508,120508],\"mapped\",[965]],[[120509,120509],\"mapped\",[966]],[[120510,120510],\"mapped\",[967]],[[120511,120511],\"mapped\",[968]],[[120512,120512],\"mapped\",[969]],[[120513,120513],\"mapped\",[8711]],[[120514,120514],\"mapped\",[945]],[[120515,120515],\"mapped\",[946]],[[120516,120516],\"mapped\",[947]],[[120517,120517],\"mapped\",[948]],[[120518,120518],\"mapped\",[949]],[[120519,120519],\"mapped\",[950]],[[120520,120520],\"mapped\",[951]],[[120521,120521],\"mapped\",[952]],[[120522,120522],\"mapped\",[953]],[[120523,120523],\"mapped\",[954]],[[120524,120524],\"mapped\",[955]],[[120525,120525],\"mapped\",[956]],[[120526,120526],\"mapped\",[957]],[[120527,120527],\"mapped\",[958]],[[120528,120528],\"mapped\",[959]],[[120529,120529],\"mapped\",[960]],[[120530,120530],\"mapped\",[961]],[[120531,120532],\"mapped\",[963]],[[120533,120533],\"mapped\",[964]],[[120534,120534],\"mapped\",[965]],[[120535,120535],\"mapped\",[966]],[[120536,120536],\"mapped\",[967]],[[120537,120537],\"mapped\",[968]],[[120538,120538],\"mapped\",[969]],[[120539,120539],\"mapped\",[8706]],[[120540,120540],\"mapped\",[949]],[[120541,120541],\"mapped\",[952]],[[120542,120542],\"mapped\",[954]],[[120543,120543],\"mapped\",[966]],[[120544,120544],\"mapped\",[961]],[[120545,120545],\"mapped\",[960]],[[120546,120546],\"mapped\",[945]],[[120547,120547],\"mapped\",[946]],[[120548,120548],\"mapped\",[947]],[[120549,120549],\"mapped\",[948]],[[120550,120550],\"mapped\",[949]],[[120551,120551],\"mapped\",[950]],[[120552,120552],\"mapped\",[951]],[[120553,120553],\"mapped\",[952]],[[120554,120554],\"mapped\",[953]],[[120555,120555],\"mapped\",[954]],[[120556,120556],\"mapped\",[955]],[[120557,120557],\"mapped\",[956]],[[120558,120558],\"mapped\",[957]],[[120559,120559],\"mapped\",[958]],[[120560,120560],\"mapped\",[959]],[[120561,120561],\"mapped\",[960]],[[120562,120562],\"mapped\",[961]],[[120563,120563],\"mapped\",[952]],[[120564,120564],\"mapped\",[963]],[[120565,120565],\"mapped\",[964]],[[120566,120566],\"mapped\",[965]],[[120567,120567],\"mapped\",[966]],[[120568,120568],\"mapped\",[967]],[[120569,120569],\"mapped\",[968]],[[120570,120570],\"mapped\",[969]],[[120571,120571],\"mapped\",[8711]],[[120572,120572],\"mapped\",[945]],[[120573,120573],\"mapped\",[946]],[[120574,120574],\"mapped\",[947]],[[120575,120575],\"mapped\",[948]],[[120576,120576],\"mapped\",[949]],[[120577,120577],\"mapped\",[950]],[[120578,120578],\"mapped\",[951]],[[120579,120579],\"mapped\",[952]],[[120580,120580],\"mapped\",[953]],[[120581,120581],\"mapped\",[954]],[[120582,120582],\"mapped\",[955]],[[120583,120583],\"mapped\",[956]],[[120584,120584],\"mapped\",[957]],[[120585,120585],\"mapped\",[958]],[[120586,120586],\"mapped\",[959]],[[120587,120587],\"mapped\",[960]],[[120588,120588],\"mapped\",[961]],[[120589,120590],\"mapped\",[963]],[[120591,120591],\"mapped\",[964]],[[120592,120592],\"mapped\",[965]],[[120593,120593],\"mapped\",[966]],[[120594,120594],\"mapped\",[967]],[[120595,120595],\"mapped\",[968]],[[120596,120596],\"mapped\",[969]],[[120597,120597],\"mapped\",[8706]],[[120598,120598],\"mapped\",[949]],[[120599,120599],\"mapped\",[952]],[[120600,120600],\"mapped\",[954]],[[120601,120601],\"mapped\",[966]],[[120602,120602],\"mapped\",[961]],[[120603,120603],\"mapped\",[960]],[[120604,120604],\"mapped\",[945]],[[120605,120605],\"mapped\",[946]],[[120606,120606],\"mapped\",[947]],[[120607,120607],\"mapped\",[948]],[[120608,120608],\"mapped\",[949]],[[120609,120609],\"mapped\",[950]],[[120610,120610],\"mapped\",[951]],[[120611,120611],\"mapped\",[952]],[[120612,120612],\"mapped\",[953]],[[120613,120613],\"mapped\",[954]],[[120614,120614],\"mapped\",[955]],[[120615,120615],\"mapped\",[956]],[[120616,120616],\"mapped\",[957]],[[120617,120617],\"mapped\",[958]],[[120618,120618],\"mapped\",[959]],[[120619,120619],\"mapped\",[960]],[[120620,120620],\"mapped\",[961]],[[120621,120621],\"mapped\",[952]],[[120622,120622],\"mapped\",[963]],[[120623,120623],\"mapped\",[964]],[[120624,120624],\"mapped\",[965]],[[120625,120625],\"mapped\",[966]],[[120626,120626],\"mapped\",[967]],[[120627,120627],\"mapped\",[968]],[[120628,120628],\"mapped\",[969]],[[120629,120629],\"mapped\",[8711]],[[120630,120630],\"mapped\",[945]],[[120631,120631],\"mapped\",[946]],[[120632,120632],\"mapped\",[947]],[[120633,120633],\"mapped\",[948]],[[120634,120634],\"mapped\",[949]],[[120635,120635],\"mapped\",[950]],[[120636,120636],\"mapped\",[951]],[[120637,120637],\"mapped\",[952]],[[120638,120638],\"mapped\",[953]],[[120639,120639],\"mapped\",[954]],[[120640,120640],\"mapped\",[955]],[[120641,120641],\"mapped\",[956]],[[120642,120642],\"mapped\",[957]],[[120643,120643],\"mapped\",[958]],[[120644,120644],\"mapped\",[959]],[[120645,120645],\"mapped\",[960]],[[120646,120646],\"mapped\",[961]],[[120647,120648],\"mapped\",[963]],[[120649,120649],\"mapped\",[964]],[[120650,120650],\"mapped\",[965]],[[120651,120651],\"mapped\",[966]],[[120652,120652],\"mapped\",[967]],[[120653,120653],\"mapped\",[968]],[[120654,120654],\"mapped\",[969]],[[120655,120655],\"mapped\",[8706]],[[120656,120656],\"mapped\",[949]],[[120657,120657],\"mapped\",[952]],[[120658,120658],\"mapped\",[954]],[[120659,120659],\"mapped\",[966]],[[120660,120660],\"mapped\",[961]],[[120661,120661],\"mapped\",[960]],[[120662,120662],\"mapped\",[945]],[[120663,120663],\"mapped\",[946]],[[120664,120664],\"mapped\",[947]],[[120665,120665],\"mapped\",[948]],[[120666,120666],\"mapped\",[949]],[[120667,120667],\"mapped\",[950]],[[120668,120668],\"mapped\",[951]],[[120669,120669],\"mapped\",[952]],[[120670,120670],\"mapped\",[953]],[[120671,120671],\"mapped\",[954]],[[120672,120672],\"mapped\",[955]],[[120673,120673],\"mapped\",[956]],[[120674,120674],\"mapped\",[957]],[[120675,120675],\"mapped\",[958]],[[120676,120676],\"mapped\",[959]],[[120677,120677],\"mapped\",[960]],[[120678,120678],\"mapped\",[961]],[[120679,120679],\"mapped\",[952]],[[120680,120680],\"mapped\",[963]],[[120681,120681],\"mapped\",[964]],[[120682,120682],\"mapped\",[965]],[[120683,120683],\"mapped\",[966]],[[120684,120684],\"mapped\",[967]],[[120685,120685],\"mapped\",[968]],[[120686,120686],\"mapped\",[969]],[[120687,120687],\"mapped\",[8711]],[[120688,120688],\"mapped\",[945]],[[120689,120689],\"mapped\",[946]],[[120690,120690],\"mapped\",[947]],[[120691,120691],\"mapped\",[948]],[[120692,120692],\"mapped\",[949]],[[120693,120693],\"mapped\",[950]],[[120694,120694],\"mapped\",[951]],[[120695,120695],\"mapped\",[952]],[[120696,120696],\"mapped\",[953]],[[120697,120697],\"mapped\",[954]],[[120698,120698],\"mapped\",[955]],[[120699,120699],\"mapped\",[956]],[[120700,120700],\"mapped\",[957]],[[120701,120701],\"mapped\",[958]],[[120702,120702],\"mapped\",[959]],[[120703,120703],\"mapped\",[960]],[[120704,120704],\"mapped\",[961]],[[120705,120706],\"mapped\",[963]],[[120707,120707],\"mapped\",[964]],[[120708,120708],\"mapped\",[965]],[[120709,120709],\"mapped\",[966]],[[120710,120710],\"mapped\",[967]],[[120711,120711],\"mapped\",[968]],[[120712,120712],\"mapped\",[969]],[[120713,120713],\"mapped\",[8706]],[[120714,120714],\"mapped\",[949]],[[120715,120715],\"mapped\",[952]],[[120716,120716],\"mapped\",[954]],[[120717,120717],\"mapped\",[966]],[[120718,120718],\"mapped\",[961]],[[120719,120719],\"mapped\",[960]],[[120720,120720],\"mapped\",[945]],[[120721,120721],\"mapped\",[946]],[[120722,120722],\"mapped\",[947]],[[120723,120723],\"mapped\",[948]],[[120724,120724],\"mapped\",[949]],[[120725,120725],\"mapped\",[950]],[[120726,120726],\"mapped\",[951]],[[120727,120727],\"mapped\",[952]],[[120728,120728],\"mapped\",[953]],[[120729,120729],\"mapped\",[954]],[[120730,120730],\"mapped\",[955]],[[120731,120731],\"mapped\",[956]],[[120732,120732],\"mapped\",[957]],[[120733,120733],\"mapped\",[958]],[[120734,120734],\"mapped\",[959]],[[120735,120735],\"mapped\",[960]],[[120736,120736],\"mapped\",[961]],[[120737,120737],\"mapped\",[952]],[[120738,120738],\"mapped\",[963]],[[120739,120739],\"mapped\",[964]],[[120740,120740],\"mapped\",[965]],[[120741,120741],\"mapped\",[966]],[[120742,120742],\"mapped\",[967]],[[120743,120743],\"mapped\",[968]],[[120744,120744],\"mapped\",[969]],[[120745,120745],\"mapped\",[8711]],[[120746,120746],\"mapped\",[945]],[[120747,120747],\"mapped\",[946]],[[120748,120748],\"mapped\",[947]],[[120749,120749],\"mapped\",[948]],[[120750,120750],\"mapped\",[949]],[[120751,120751],\"mapped\",[950]],[[120752,120752],\"mapped\",[951]],[[120753,120753],\"mapped\",[952]],[[120754,120754],\"mapped\",[953]],[[120755,120755],\"mapped\",[954]],[[120756,120756],\"mapped\",[955]],[[120757,120757],\"mapped\",[956]],[[120758,120758],\"mapped\",[957]],[[120759,120759],\"mapped\",[958]],[[120760,120760],\"mapped\",[959]],[[120761,120761],\"mapped\",[960]],[[120762,120762],\"mapped\",[961]],[[120763,120764],\"mapped\",[963]],[[120765,120765],\"mapped\",[964]],[[120766,120766],\"mapped\",[965]],[[120767,120767],\"mapped\",[966]],[[120768,120768],\"mapped\",[967]],[[120769,120769],\"mapped\",[968]],[[120770,120770],\"mapped\",[969]],[[120771,120771],\"mapped\",[8706]],[[120772,120772],\"mapped\",[949]],[[120773,120773],\"mapped\",[952]],[[120774,120774],\"mapped\",[954]],[[120775,120775],\"mapped\",[966]],[[120776,120776],\"mapped\",[961]],[[120777,120777],\"mapped\",[960]],[[120778,120779],\"mapped\",[989]],[[120780,120781],\"disallowed\"],[[120782,120782],\"mapped\",[48]],[[120783,120783],\"mapped\",[49]],[[120784,120784],\"mapped\",[50]],[[120785,120785],\"mapped\",[51]],[[120786,120786],\"mapped\",[52]],[[120787,120787],\"mapped\",[53]],[[120788,120788],\"mapped\",[54]],[[120789,120789],\"mapped\",[55]],[[120790,120790],\"mapped\",[56]],[[120791,120791],\"mapped\",[57]],[[120792,120792],\"mapped\",[48]],[[120793,120793],\"mapped\",[49]],[[120794,120794],\"mapped\",[50]],[[120795,120795],\"mapped\",[51]],[[120796,120796],\"mapped\",[52]],[[120797,120797],\"mapped\",[53]],[[120798,120798],\"mapped\",[54]],[[120799,120799],\"mapped\",[55]],[[120800,120800],\"mapped\",[56]],[[120801,120801],\"mapped\",[57]],[[120802,120802],\"mapped\",[48]],[[120803,120803],\"mapped\",[49]],[[120804,120804],\"mapped\",[50]],[[120805,120805],\"mapped\",[51]],[[120806,120806],\"mapped\",[52]],[[120807,120807],\"mapped\",[53]],[[120808,120808],\"mapped\",[54]],[[120809,120809],\"mapped\",[55]],[[120810,120810],\"mapped\",[56]],[[120811,120811],\"mapped\",[57]],[[120812,120812],\"mapped\",[48]],[[120813,120813],\"mapped\",[49]],[[120814,120814],\"mapped\",[50]],[[120815,120815],\"mapped\",[51]],[[120816,120816],\"mapped\",[52]],[[120817,120817],\"mapped\",[53]],[[120818,120818],\"mapped\",[54]],[[120819,120819],\"mapped\",[55]],[[120820,120820],\"mapped\",[56]],[[120821,120821],\"mapped\",[57]],[[120822,120822],\"mapped\",[48]],[[120823,120823],\"mapped\",[49]],[[120824,120824],\"mapped\",[50]],[[120825,120825],\"mapped\",[51]],[[120826,120826],\"mapped\",[52]],[[120827,120827],\"mapped\",[53]],[[120828,120828],\"mapped\",[54]],[[120829,120829],\"mapped\",[55]],[[120830,120830],\"mapped\",[56]],[[120831,120831],\"mapped\",[57]],[[120832,121343],\"valid\",[],\"NV8\"],[[121344,121398],\"valid\"],[[121399,121402],\"valid\",[],\"NV8\"],[[121403,121452],\"valid\"],[[121453,121460],\"valid\",[],\"NV8\"],[[121461,121461],\"valid\"],[[121462,121475],\"valid\",[],\"NV8\"],[[121476,121476],\"valid\"],[[121477,121483],\"valid\",[],\"NV8\"],[[121484,121498],\"disallowed\"],[[121499,121503],\"valid\"],[[121504,121504],\"disallowed\"],[[121505,121519],\"valid\"],[[121520,124927],\"disallowed\"],[[124928,125124],\"valid\"],[[125125,125126],\"disallowed\"],[[125127,125135],\"valid\",[],\"NV8\"],[[125136,125142],\"valid\"],[[125143,126463],\"disallowed\"],[[126464,126464],\"mapped\",[1575]],[[126465,126465],\"mapped\",[1576]],[[126466,126466],\"mapped\",[1580]],[[126467,126467],\"mapped\",[1583]],[[126468,126468],\"disallowed\"],[[126469,126469],\"mapped\",[1608]],[[126470,126470],\"mapped\",[1586]],[[126471,126471],\"mapped\",[1581]],[[126472,126472],\"mapped\",[1591]],[[126473,126473],\"mapped\",[1610]],[[126474,126474],\"mapped\",[1603]],[[126475,126475],\"mapped\",[1604]],[[126476,126476],\"mapped\",[1605]],[[126477,126477],\"mapped\",[1606]],[[126478,126478],\"mapped\",[1587]],[[126479,126479],\"mapped\",[1593]],[[126480,126480],\"mapped\",[1601]],[[126481,126481],\"mapped\",[1589]],[[126482,126482],\"mapped\",[1602]],[[126483,126483],\"mapped\",[1585]],[[126484,126484],\"mapped\",[1588]],[[126485,126485],\"mapped\",[1578]],[[126486,126486],\"mapped\",[1579]],[[126487,126487],\"mapped\",[1582]],[[126488,126488],\"mapped\",[1584]],[[126489,126489],\"mapped\",[1590]],[[126490,126490],\"mapped\",[1592]],[[126491,126491],\"mapped\",[1594]],[[126492,126492],\"mapped\",[1646]],[[126493,126493],\"mapped\",[1722]],[[126494,126494],\"mapped\",[1697]],[[126495,126495],\"mapped\",[1647]],[[126496,126496],\"disallowed\"],[[126497,126497],\"mapped\",[1576]],[[126498,126498],\"mapped\",[1580]],[[126499,126499],\"disallowed\"],[[126500,126500],\"mapped\",[1607]],[[126501,126502],\"disallowed\"],[[126503,126503],\"mapped\",[1581]],[[126504,126504],\"disallowed\"],[[126505,126505],\"mapped\",[1610]],[[126506,126506],\"mapped\",[1603]],[[126507,126507],\"mapped\",[1604]],[[126508,126508],\"mapped\",[1605]],[[126509,126509],\"mapped\",[1606]],[[126510,126510],\"mapped\",[1587]],[[126511,126511],\"mapped\",[1593]],[[126512,126512],\"mapped\",[1601]],[[126513,126513],\"mapped\",[1589]],[[126514,126514],\"mapped\",[1602]],[[126515,126515],\"disallowed\"],[[126516,126516],\"mapped\",[1588]],[[126517,126517],\"mapped\",[1578]],[[126518,126518],\"mapped\",[1579]],[[126519,126519],\"mapped\",[1582]],[[126520,126520],\"disallowed\"],[[126521,126521],\"mapped\",[1590]],[[126522,126522],\"disallowed\"],[[126523,126523],\"mapped\",[1594]],[[126524,126529],\"disallowed\"],[[126530,126530],\"mapped\",[1580]],[[126531,126534],\"disallowed\"],[[126535,126535],\"mapped\",[1581]],[[126536,126536],\"disallowed\"],[[126537,126537],\"mapped\",[1610]],[[126538,126538],\"disallowed\"],[[126539,126539],\"mapped\",[1604]],[[126540,126540],\"disallowed\"],[[126541,126541],\"mapped\",[1606]],[[126542,126542],\"mapped\",[1587]],[[126543,126543],\"mapped\",[1593]],[[126544,126544],\"disallowed\"],[[126545,126545],\"mapped\",[1589]],[[126546,126546],\"mapped\",[1602]],[[126547,126547],\"disallowed\"],[[126548,126548],\"mapped\",[1588]],[[126549,126550],\"disallowed\"],[[126551,126551],\"mapped\",[1582]],[[126552,126552],\"disallowed\"],[[126553,126553],\"mapped\",[1590]],[[126554,126554],\"disallowed\"],[[126555,126555],\"mapped\",[1594]],[[126556,126556],\"disallowed\"],[[126557,126557],\"mapped\",[1722]],[[126558,126558],\"disallowed\"],[[126559,126559],\"mapped\",[1647]],[[126560,126560],\"disallowed\"],[[126561,126561],\"mapped\",[1576]],[[126562,126562],\"mapped\",[1580]],[[126563,126563],\"disallowed\"],[[126564,126564],\"mapped\",[1607]],[[126565,126566],\"disallowed\"],[[126567,126567],\"mapped\",[1581]],[[126568,126568],\"mapped\",[1591]],[[126569,126569],\"mapped\",[1610]],[[126570,126570],\"mapped\",[1603]],[[126571,126571],\"disallowed\"],[[126572,126572],\"mapped\",[1605]],[[126573,126573],\"mapped\",[1606]],[[126574,126574],\"mapped\",[1587]],[[126575,126575],\"mapped\",[1593]],[[126576,126576],\"mapped\",[1601]],[[126577,126577],\"mapped\",[1589]],[[126578,126578],\"mapped\",[1602]],[[126579,126579],\"disallowed\"],[[126580,126580],\"mapped\",[1588]],[[126581,126581],\"mapped\",[1578]],[[126582,126582],\"mapped\",[1579]],[[126583,126583],\"mapped\",[1582]],[[126584,126584],\"disallowed\"],[[126585,126585],\"mapped\",[1590]],[[126586,126586],\"mapped\",[1592]],[[126587,126587],\"mapped\",[1594]],[[126588,126588],\"mapped\",[1646]],[[126589,126589],\"disallowed\"],[[126590,126590],\"mapped\",[1697]],[[126591,126591],\"disallowed\"],[[126592,126592],\"mapped\",[1575]],[[126593,126593],\"mapped\",[1576]],[[126594,126594],\"mapped\",[1580]],[[126595,126595],\"mapped\",[1583]],[[126596,126596],\"mapped\",[1607]],[[126597,126597],\"mapped\",[1608]],[[126598,126598],\"mapped\",[1586]],[[126599,126599],\"mapped\",[1581]],[[126600,126600],\"mapped\",[1591]],[[126601,126601],\"mapped\",[1610]],[[126602,126602],\"disallowed\"],[[126603,126603],\"mapped\",[1604]],[[126604,126604],\"mapped\",[1605]],[[126605,126605],\"mapped\",[1606]],[[126606,126606],\"mapped\",[1587]],[[126607,126607],\"mapped\",[1593]],[[126608,126608],\"mapped\",[1601]],[[126609,126609],\"mapped\",[1589]],[[126610,126610],\"mapped\",[1602]],[[126611,126611],\"mapped\",[1585]],[[126612,126612],\"mapped\",[1588]],[[126613,126613],\"mapped\",[1578]],[[126614,126614],\"mapped\",[1579]],[[126615,126615],\"mapped\",[1582]],[[126616,126616],\"mapped\",[1584]],[[126617,126617],\"mapped\",[1590]],[[126618,126618],\"mapped\",[1592]],[[126619,126619],\"mapped\",[1594]],[[126620,126624],\"disallowed\"],[[126625,126625],\"mapped\",[1576]],[[126626,126626],\"mapped\",[1580]],[[126627,126627],\"mapped\",[1583]],[[126628,126628],\"disallowed\"],[[126629,126629],\"mapped\",[1608]],[[126630,126630],\"mapped\",[1586]],[[126631,126631],\"mapped\",[1581]],[[126632,126632],\"mapped\",[1591]],[[126633,126633],\"mapped\",[1610]],[[126634,126634],\"disallowed\"],[[126635,126635],\"mapped\",[1604]],[[126636,126636],\"mapped\",[1605]],[[126637,126637],\"mapped\",[1606]],[[126638,126638],\"mapped\",[1587]],[[126639,126639],\"mapped\",[1593]],[[126640,126640],\"mapped\",[1601]],[[126641,126641],\"mapped\",[1589]],[[126642,126642],\"mapped\",[1602]],[[126643,126643],\"mapped\",[1585]],[[126644,126644],\"mapped\",[1588]],[[126645,126645],\"mapped\",[1578]],[[126646,126646],\"mapped\",[1579]],[[126647,126647],\"mapped\",[1582]],[[126648,126648],\"mapped\",[1584]],[[126649,126649],\"mapped\",[1590]],[[126650,126650],\"mapped\",[1592]],[[126651,126651],\"mapped\",[1594]],[[126652,126703],\"disallowed\"],[[126704,126705],\"valid\",[],\"NV8\"],[[126706,126975],\"disallowed\"],[[126976,127019],\"valid\",[],\"NV8\"],[[127020,127023],\"disallowed\"],[[127024,127123],\"valid\",[],\"NV8\"],[[127124,127135],\"disallowed\"],[[127136,127150],\"valid\",[],\"NV8\"],[[127151,127152],\"disallowed\"],[[127153,127166],\"valid\",[],\"NV8\"],[[127167,127167],\"valid\",[],\"NV8\"],[[127168,127168],\"disallowed\"],[[127169,127183],\"valid\",[],\"NV8\"],[[127184,127184],\"disallowed\"],[[127185,127199],\"valid\",[],\"NV8\"],[[127200,127221],\"valid\",[],\"NV8\"],[[127222,127231],\"disallowed\"],[[127232,127232],\"disallowed\"],[[127233,127233],\"disallowed_STD3_mapped\",[48,44]],[[127234,127234],\"disallowed_STD3_mapped\",[49,44]],[[127235,127235],\"disallowed_STD3_mapped\",[50,44]],[[127236,127236],\"disallowed_STD3_mapped\",[51,44]],[[127237,127237],\"disallowed_STD3_mapped\",[52,44]],[[127238,127238],\"disallowed_STD3_mapped\",[53,44]],[[127239,127239],\"disallowed_STD3_mapped\",[54,44]],[[127240,127240],\"disallowed_STD3_mapped\",[55,44]],[[127241,127241],\"disallowed_STD3_mapped\",[56,44]],[[127242,127242],\"disallowed_STD3_mapped\",[57,44]],[[127243,127244],\"valid\",[],\"NV8\"],[[127245,127247],\"disallowed\"],[[127248,127248],\"disallowed_STD3_mapped\",[40,97,41]],[[127249,127249],\"disallowed_STD3_mapped\",[40,98,41]],[[127250,127250],\"disallowed_STD3_mapped\",[40,99,41]],[[127251,127251],\"disallowed_STD3_mapped\",[40,100,41]],[[127252,127252],\"disallowed_STD3_mapped\",[40,101,41]],[[127253,127253],\"disallowed_STD3_mapped\",[40,102,41]],[[127254,127254],\"disallowed_STD3_mapped\",[40,103,41]],[[127255,127255],\"disallowed_STD3_mapped\",[40,104,41]],[[127256,127256],\"disallowed_STD3_mapped\",[40,105,41]],[[127257,127257],\"disallowed_STD3_mapped\",[40,106,41]],[[127258,127258],\"disallowed_STD3_mapped\",[40,107,41]],[[127259,127259],\"disallowed_STD3_mapped\",[40,108,41]],[[127260,127260],\"disallowed_STD3_mapped\",[40,109,41]],[[127261,127261],\"disallowed_STD3_mapped\",[40,110,41]],[[127262,127262],\"disallowed_STD3_mapped\",[40,111,41]],[[127263,127263],\"disallowed_STD3_mapped\",[40,112,41]],[[127264,127264],\"disallowed_STD3_mapped\",[40,113,41]],[[127265,127265],\"disallowed_STD3_mapped\",[40,114,41]],[[127266,127266],\"disallowed_STD3_mapped\",[40,115,41]],[[127267,127267],\"disallowed_STD3_mapped\",[40,116,41]],[[127268,127268],\"disallowed_STD3_mapped\",[40,117,41]],[[127269,127269],\"disallowed_STD3_mapped\",[40,118,41]],[[127270,127270],\"disallowed_STD3_mapped\",[40,119,41]],[[127271,127271],\"disallowed_STD3_mapped\",[40,120,41]],[[127272,127272],\"disallowed_STD3_mapped\",[40,121,41]],[[127273,127273],\"disallowed_STD3_mapped\",[40,122,41]],[[127274,127274],\"mapped\",[12308,115,12309]],[[127275,127275],\"mapped\",[99]],[[127276,127276],\"mapped\",[114]],[[127277,127277],\"mapped\",[99,100]],[[127278,127278],\"mapped\",[119,122]],[[127279,127279],\"disallowed\"],[[127280,127280],\"mapped\",[97]],[[127281,127281],\"mapped\",[98]],[[127282,127282],\"mapped\",[99]],[[127283,127283],\"mapped\",[100]],[[127284,127284],\"mapped\",[101]],[[127285,127285],\"mapped\",[102]],[[127286,127286],\"mapped\",[103]],[[127287,127287],\"mapped\",[104]],[[127288,127288],\"mapped\",[105]],[[127289,127289],\"mapped\",[106]],[[127290,127290],\"mapped\",[107]],[[127291,127291],\"mapped\",[108]],[[127292,127292],\"mapped\",[109]],[[127293,127293],\"mapped\",[110]],[[127294,127294],\"mapped\",[111]],[[127295,127295],\"mapped\",[112]],[[127296,127296],\"mapped\",[113]],[[127297,127297],\"mapped\",[114]],[[127298,127298],\"mapped\",[115]],[[127299,127299],\"mapped\",[116]],[[127300,127300],\"mapped\",[117]],[[127301,127301],\"mapped\",[118]],[[127302,127302],\"mapped\",[119]],[[127303,127303],\"mapped\",[120]],[[127304,127304],\"mapped\",[121]],[[127305,127305],\"mapped\",[122]],[[127306,127306],\"mapped\",[104,118]],[[127307,127307],\"mapped\",[109,118]],[[127308,127308],\"mapped\",[115,100]],[[127309,127309],\"mapped\",[115,115]],[[127310,127310],\"mapped\",[112,112,118]],[[127311,127311],\"mapped\",[119,99]],[[127312,127318],\"valid\",[],\"NV8\"],[[127319,127319],\"valid\",[],\"NV8\"],[[127320,127326],\"valid\",[],\"NV8\"],[[127327,127327],\"valid\",[],\"NV8\"],[[127328,127337],\"valid\",[],\"NV8\"],[[127338,127338],\"mapped\",[109,99]],[[127339,127339],\"mapped\",[109,100]],[[127340,127343],\"disallowed\"],[[127344,127352],\"valid\",[],\"NV8\"],[[127353,127353],\"valid\",[],\"NV8\"],[[127354,127354],\"valid\",[],\"NV8\"],[[127355,127356],\"valid\",[],\"NV8\"],[[127357,127358],\"valid\",[],\"NV8\"],[[127359,127359],\"valid\",[],\"NV8\"],[[127360,127369],\"valid\",[],\"NV8\"],[[127370,127373],\"valid\",[],\"NV8\"],[[127374,127375],\"valid\",[],\"NV8\"],[[127376,127376],\"mapped\",[100,106]],[[127377,127386],\"valid\",[],\"NV8\"],[[127387,127461],\"disallowed\"],[[127462,127487],\"valid\",[],\"NV8\"],[[127488,127488],\"mapped\",[12411,12363]],[[127489,127489],\"mapped\",[12467,12467]],[[127490,127490],\"mapped\",[12469]],[[127491,127503],\"disallowed\"],[[127504,127504],\"mapped\",[25163]],[[127505,127505],\"mapped\",[23383]],[[127506,127506],\"mapped\",[21452]],[[127507,127507],\"mapped\",[12487]],[[127508,127508],\"mapped\",[20108]],[[127509,127509],\"mapped\",[22810]],[[127510,127510],\"mapped\",[35299]],[[127511,127511],\"mapped\",[22825]],[[127512,127512],\"mapped\",[20132]],[[127513,127513],\"mapped\",[26144]],[[127514,127514],\"mapped\",[28961]],[[127515,127515],\"mapped\",[26009]],[[127516,127516],\"mapped\",[21069]],[[127517,127517],\"mapped\",[24460]],[[127518,127518],\"mapped\",[20877]],[[127519,127519],\"mapped\",[26032]],[[127520,127520],\"mapped\",[21021]],[[127521,127521],\"mapped\",[32066]],[[127522,127522],\"mapped\",[29983]],[[127523,127523],\"mapped\",[36009]],[[127524,127524],\"mapped\",[22768]],[[127525,127525],\"mapped\",[21561]],[[127526,127526],\"mapped\",[28436]],[[127527,127527],\"mapped\",[25237]],[[127528,127528],\"mapped\",[25429]],[[127529,127529],\"mapped\",[19968]],[[127530,127530],\"mapped\",[19977]],[[127531,127531],\"mapped\",[36938]],[[127532,127532],\"mapped\",[24038]],[[127533,127533],\"mapped\",[20013]],[[127534,127534],\"mapped\",[21491]],[[127535,127535],\"mapped\",[25351]],[[127536,127536],\"mapped\",[36208]],[[127537,127537],\"mapped\",[25171]],[[127538,127538],\"mapped\",[31105]],[[127539,127539],\"mapped\",[31354]],[[127540,127540],\"mapped\",[21512]],[[127541,127541],\"mapped\",[28288]],[[127542,127542],\"mapped\",[26377]],[[127543,127543],\"mapped\",[26376]],[[127544,127544],\"mapped\",[30003]],[[127545,127545],\"mapped\",[21106]],[[127546,127546],\"mapped\",[21942]],[[127547,127551],\"disallowed\"],[[127552,127552],\"mapped\",[12308,26412,12309]],[[127553,127553],\"mapped\",[12308,19977,12309]],[[127554,127554],\"mapped\",[12308,20108,12309]],[[127555,127555],\"mapped\",[12308,23433,12309]],[[127556,127556],\"mapped\",[12308,28857,12309]],[[127557,127557],\"mapped\",[12308,25171,12309]],[[127558,127558],\"mapped\",[12308,30423,12309]],[[127559,127559],\"mapped\",[12308,21213,12309]],[[127560,127560],\"mapped\",[12308,25943,12309]],[[127561,127567],\"disallowed\"],[[127568,127568],\"mapped\",[24471]],[[127569,127569],\"mapped\",[21487]],[[127570,127743],\"disallowed\"],[[127744,127776],\"valid\",[],\"NV8\"],[[127777,127788],\"valid\",[],\"NV8\"],[[127789,127791],\"valid\",[],\"NV8\"],[[127792,127797],\"valid\",[],\"NV8\"],[[127798,127798],\"valid\",[],\"NV8\"],[[127799,127868],\"valid\",[],\"NV8\"],[[127869,127869],\"valid\",[],\"NV8\"],[[127870,127871],\"valid\",[],\"NV8\"],[[127872,127891],\"valid\",[],\"NV8\"],[[127892,127903],\"valid\",[],\"NV8\"],[[127904,127940],\"valid\",[],\"NV8\"],[[127941,127941],\"valid\",[],\"NV8\"],[[127942,127946],\"valid\",[],\"NV8\"],[[127947,127950],\"valid\",[],\"NV8\"],[[127951,127955],\"valid\",[],\"NV8\"],[[127956,127967],\"valid\",[],\"NV8\"],[[127968,127984],\"valid\",[],\"NV8\"],[[127985,127991],\"valid\",[],\"NV8\"],[[127992,127999],\"valid\",[],\"NV8\"],[[128000,128062],\"valid\",[],\"NV8\"],[[128063,128063],\"valid\",[],\"NV8\"],[[128064,128064],\"valid\",[],\"NV8\"],[[128065,128065],\"valid\",[],\"NV8\"],[[128066,128247],\"valid\",[],\"NV8\"],[[128248,128248],\"valid\",[],\"NV8\"],[[128249,128252],\"valid\",[],\"NV8\"],[[128253,128254],\"valid\",[],\"NV8\"],[[128255,128255],\"valid\",[],\"NV8\"],[[128256,128317],\"valid\",[],\"NV8\"],[[128318,128319],\"valid\",[],\"NV8\"],[[128320,128323],\"valid\",[],\"NV8\"],[[128324,128330],\"valid\",[],\"NV8\"],[[128331,128335],\"valid\",[],\"NV8\"],[[128336,128359],\"valid\",[],\"NV8\"],[[128360,128377],\"valid\",[],\"NV8\"],[[128378,128378],\"disallowed\"],[[128379,128419],\"valid\",[],\"NV8\"],[[128420,128420],\"disallowed\"],[[128421,128506],\"valid\",[],\"NV8\"],[[128507,128511],\"valid\",[],\"NV8\"],[[128512,128512],\"valid\",[],\"NV8\"],[[128513,128528],\"valid\",[],\"NV8\"],[[128529,128529],\"valid\",[],\"NV8\"],[[128530,128532],\"valid\",[],\"NV8\"],[[128533,128533],\"valid\",[],\"NV8\"],[[128534,128534],\"valid\",[],\"NV8\"],[[128535,128535],\"valid\",[],\"NV8\"],[[128536,128536],\"valid\",[],\"NV8\"],[[128537,128537],\"valid\",[],\"NV8\"],[[128538,128538],\"valid\",[],\"NV8\"],[[128539,128539],\"valid\",[],\"NV8\"],[[128540,128542],\"valid\",[],\"NV8\"],[[128543,128543],\"valid\",[],\"NV8\"],[[128544,128549],\"valid\",[],\"NV8\"],[[128550,128551],\"valid\",[],\"NV8\"],[[128552,128555],\"valid\",[],\"NV8\"],[[128556,128556],\"valid\",[],\"NV8\"],[[128557,128557],\"valid\",[],\"NV8\"],[[128558,128559],\"valid\",[],\"NV8\"],[[128560,128563],\"valid\",[],\"NV8\"],[[128564,128564],\"valid\",[],\"NV8\"],[[128565,128576],\"valid\",[],\"NV8\"],[[128577,128578],\"valid\",[],\"NV8\"],[[128579,128580],\"valid\",[],\"NV8\"],[[128581,128591],\"valid\",[],\"NV8\"],[[128592,128639],\"valid\",[],\"NV8\"],[[128640,128709],\"valid\",[],\"NV8\"],[[128710,128719],\"valid\",[],\"NV8\"],[[128720,128720],\"valid\",[],\"NV8\"],[[128721,128735],\"disallowed\"],[[128736,128748],\"valid\",[],\"NV8\"],[[128749,128751],\"disallowed\"],[[128752,128755],\"valid\",[],\"NV8\"],[[128756,128767],\"disallowed\"],[[128768,128883],\"valid\",[],\"NV8\"],[[128884,128895],\"disallowed\"],[[128896,128980],\"valid\",[],\"NV8\"],[[128981,129023],\"disallowed\"],[[129024,129035],\"valid\",[],\"NV8\"],[[129036,129039],\"disallowed\"],[[129040,129095],\"valid\",[],\"NV8\"],[[129096,129103],\"disallowed\"],[[129104,129113],\"valid\",[],\"NV8\"],[[129114,129119],\"disallowed\"],[[129120,129159],\"valid\",[],\"NV8\"],[[129160,129167],\"disallowed\"],[[129168,129197],\"valid\",[],\"NV8\"],[[129198,129295],\"disallowed\"],[[129296,129304],\"valid\",[],\"NV8\"],[[129305,129407],\"disallowed\"],[[129408,129412],\"valid\",[],\"NV8\"],[[129413,129471],\"disallowed\"],[[129472,129472],\"valid\",[],\"NV8\"],[[129473,131069],\"disallowed\"],[[131070,131071],\"disallowed\"],[[131072,173782],\"valid\"],[[173783,173823],\"disallowed\"],[[173824,177972],\"valid\"],[[177973,177983],\"disallowed\"],[[177984,178205],\"valid\"],[[178206,178207],\"disallowed\"],[[178208,183969],\"valid\"],[[183970,194559],\"disallowed\"],[[194560,194560],\"mapped\",[20029]],[[194561,194561],\"mapped\",[20024]],[[194562,194562],\"mapped\",[20033]],[[194563,194563],\"mapped\",[131362]],[[194564,194564],\"mapped\",[20320]],[[194565,194565],\"mapped\",[20398]],[[194566,194566],\"mapped\",[20411]],[[194567,194567],\"mapped\",[20482]],[[194568,194568],\"mapped\",[20602]],[[194569,194569],\"mapped\",[20633]],[[194570,194570],\"mapped\",[20711]],[[194571,194571],\"mapped\",[20687]],[[194572,194572],\"mapped\",[13470]],[[194573,194573],\"mapped\",[132666]],[[194574,194574],\"mapped\",[20813]],[[194575,194575],\"mapped\",[20820]],[[194576,194576],\"mapped\",[20836]],[[194577,194577],\"mapped\",[20855]],[[194578,194578],\"mapped\",[132380]],[[194579,194579],\"mapped\",[13497]],[[194580,194580],\"mapped\",[20839]],[[194581,194581],\"mapped\",[20877]],[[194582,194582],\"mapped\",[132427]],[[194583,194583],\"mapped\",[20887]],[[194584,194584],\"mapped\",[20900]],[[194585,194585],\"mapped\",[20172]],[[194586,194586],\"mapped\",[20908]],[[194587,194587],\"mapped\",[20917]],[[194588,194588],\"mapped\",[168415]],[[194589,194589],\"mapped\",[20981]],[[194590,194590],\"mapped\",[20995]],[[194591,194591],\"mapped\",[13535]],[[194592,194592],\"mapped\",[21051]],[[194593,194593],\"mapped\",[21062]],[[194594,194594],\"mapped\",[21106]],[[194595,194595],\"mapped\",[21111]],[[194596,194596],\"mapped\",[13589]],[[194597,194597],\"mapped\",[21191]],[[194598,194598],\"mapped\",[21193]],[[194599,194599],\"mapped\",[21220]],[[194600,194600],\"mapped\",[21242]],[[194601,194601],\"mapped\",[21253]],[[194602,194602],\"mapped\",[21254]],[[194603,194603],\"mapped\",[21271]],[[194604,194604],\"mapped\",[21321]],[[194605,194605],\"mapped\",[21329]],[[194606,194606],\"mapped\",[21338]],[[194607,194607],\"mapped\",[21363]],[[194608,194608],\"mapped\",[21373]],[[194609,194611],\"mapped\",[21375]],[[194612,194612],\"mapped\",[133676]],[[194613,194613],\"mapped\",[28784]],[[194614,194614],\"mapped\",[21450]],[[194615,194615],\"mapped\",[21471]],[[194616,194616],\"mapped\",[133987]],[[194617,194617],\"mapped\",[21483]],[[194618,194618],\"mapped\",[21489]],[[194619,194619],\"mapped\",[21510]],[[194620,194620],\"mapped\",[21662]],[[194621,194621],\"mapped\",[21560]],[[194622,194622],\"mapped\",[21576]],[[194623,194623],\"mapped\",[21608]],[[194624,194624],\"mapped\",[21666]],[[194625,194625],\"mapped\",[21750]],[[194626,194626],\"mapped\",[21776]],[[194627,194627],\"mapped\",[21843]],[[194628,194628],\"mapped\",[21859]],[[194629,194630],\"mapped\",[21892]],[[194631,194631],\"mapped\",[21913]],[[194632,194632],\"mapped\",[21931]],[[194633,194633],\"mapped\",[21939]],[[194634,194634],\"mapped\",[21954]],[[194635,194635],\"mapped\",[22294]],[[194636,194636],\"mapped\",[22022]],[[194637,194637],\"mapped\",[22295]],[[194638,194638],\"mapped\",[22097]],[[194639,194639],\"mapped\",[22132]],[[194640,194640],\"mapped\",[20999]],[[194641,194641],\"mapped\",[22766]],[[194642,194642],\"mapped\",[22478]],[[194643,194643],\"mapped\",[22516]],[[194644,194644],\"mapped\",[22541]],[[194645,194645],\"mapped\",[22411]],[[194646,194646],\"mapped\",[22578]],[[194647,194647],\"mapped\",[22577]],[[194648,194648],\"mapped\",[22700]],[[194649,194649],\"mapped\",[136420]],[[194650,194650],\"mapped\",[22770]],[[194651,194651],\"mapped\",[22775]],[[194652,194652],\"mapped\",[22790]],[[194653,194653],\"mapped\",[22810]],[[194654,194654],\"mapped\",[22818]],[[194655,194655],\"mapped\",[22882]],[[194656,194656],\"mapped\",[136872]],[[194657,194657],\"mapped\",[136938]],[[194658,194658],\"mapped\",[23020]],[[194659,194659],\"mapped\",[23067]],[[194660,194660],\"mapped\",[23079]],[[194661,194661],\"mapped\",[23000]],[[194662,194662],\"mapped\",[23142]],[[194663,194663],\"mapped\",[14062]],[[194664,194664],\"disallowed\"],[[194665,194665],\"mapped\",[23304]],[[194666,194667],\"mapped\",[23358]],[[194668,194668],\"mapped\",[137672]],[[194669,194669],\"mapped\",[23491]],[[194670,194670],\"mapped\",[23512]],[[194671,194671],\"mapped\",[23527]],[[194672,194672],\"mapped\",[23539]],[[194673,194673],\"mapped\",[138008]],[[194674,194674],\"mapped\",[23551]],[[194675,194675],\"mapped\",[23558]],[[194676,194676],\"disallowed\"],[[194677,194677],\"mapped\",[23586]],[[194678,194678],\"mapped\",[14209]],[[194679,194679],\"mapped\",[23648]],[[194680,194680],\"mapped\",[23662]],[[194681,194681],\"mapped\",[23744]],[[194682,194682],\"mapped\",[23693]],[[194683,194683],\"mapped\",[138724]],[[194684,194684],\"mapped\",[23875]],[[194685,194685],\"mapped\",[138726]],[[194686,194686],\"mapped\",[23918]],[[194687,194687],\"mapped\",[23915]],[[194688,194688],\"mapped\",[23932]],[[194689,194689],\"mapped\",[24033]],[[194690,194690],\"mapped\",[24034]],[[194691,194691],\"mapped\",[14383]],[[194692,194692],\"mapped\",[24061]],[[194693,194693],\"mapped\",[24104]],[[194694,194694],\"mapped\",[24125]],[[194695,194695],\"mapped\",[24169]],[[194696,194696],\"mapped\",[14434]],[[194697,194697],\"mapped\",[139651]],[[194698,194698],\"mapped\",[14460]],[[194699,194699],\"mapped\",[24240]],[[194700,194700],\"mapped\",[24243]],[[194701,194701],\"mapped\",[24246]],[[194702,194702],\"mapped\",[24266]],[[194703,194703],\"mapped\",[172946]],[[194704,194704],\"mapped\",[24318]],[[194705,194706],\"mapped\",[140081]],[[194707,194707],\"mapped\",[33281]],[[194708,194709],\"mapped\",[24354]],[[194710,194710],\"mapped\",[14535]],[[194711,194711],\"mapped\",[144056]],[[194712,194712],\"mapped\",[156122]],[[194713,194713],\"mapped\",[24418]],[[194714,194714],\"mapped\",[24427]],[[194715,194715],\"mapped\",[14563]],[[194716,194716],\"mapped\",[24474]],[[194717,194717],\"mapped\",[24525]],[[194718,194718],\"mapped\",[24535]],[[194719,194719],\"mapped\",[24569]],[[194720,194720],\"mapped\",[24705]],[[194721,194721],\"mapped\",[14650]],[[194722,194722],\"mapped\",[14620]],[[194723,194723],\"mapped\",[24724]],[[194724,194724],\"mapped\",[141012]],[[194725,194725],\"mapped\",[24775]],[[194726,194726],\"mapped\",[24904]],[[194727,194727],\"mapped\",[24908]],[[194728,194728],\"mapped\",[24910]],[[194729,194729],\"mapped\",[24908]],[[194730,194730],\"mapped\",[24954]],[[194731,194731],\"mapped\",[24974]],[[194732,194732],\"mapped\",[25010]],[[194733,194733],\"mapped\",[24996]],[[194734,194734],\"mapped\",[25007]],[[194735,194735],\"mapped\",[25054]],[[194736,194736],\"mapped\",[25074]],[[194737,194737],\"mapped\",[25078]],[[194738,194738],\"mapped\",[25104]],[[194739,194739],\"mapped\",[25115]],[[194740,194740],\"mapped\",[25181]],[[194741,194741],\"mapped\",[25265]],[[194742,194742],\"mapped\",[25300]],[[194743,194743],\"mapped\",[25424]],[[194744,194744],\"mapped\",[142092]],[[194745,194745],\"mapped\",[25405]],[[194746,194746],\"mapped\",[25340]],[[194747,194747],\"mapped\",[25448]],[[194748,194748],\"mapped\",[25475]],[[194749,194749],\"mapped\",[25572]],[[194750,194750],\"mapped\",[142321]],[[194751,194751],\"mapped\",[25634]],[[194752,194752],\"mapped\",[25541]],[[194753,194753],\"mapped\",[25513]],[[194754,194754],\"mapped\",[14894]],[[194755,194755],\"mapped\",[25705]],[[194756,194756],\"mapped\",[25726]],[[194757,194757],\"mapped\",[25757]],[[194758,194758],\"mapped\",[25719]],[[194759,194759],\"mapped\",[14956]],[[194760,194760],\"mapped\",[25935]],[[194761,194761],\"mapped\",[25964]],[[194762,194762],\"mapped\",[143370]],[[194763,194763],\"mapped\",[26083]],[[194764,194764],\"mapped\",[26360]],[[194765,194765],\"mapped\",[26185]],[[194766,194766],\"mapped\",[15129]],[[194767,194767],\"mapped\",[26257]],[[194768,194768],\"mapped\",[15112]],[[194769,194769],\"mapped\",[15076]],[[194770,194770],\"mapped\",[20882]],[[194771,194771],\"mapped\",[20885]],[[194772,194772],\"mapped\",[26368]],[[194773,194773],\"mapped\",[26268]],[[194774,194774],\"mapped\",[32941]],[[194775,194775],\"mapped\",[17369]],[[194776,194776],\"mapped\",[26391]],[[194777,194777],\"mapped\",[26395]],[[194778,194778],\"mapped\",[26401]],[[194779,194779],\"mapped\",[26462]],[[194780,194780],\"mapped\",[26451]],[[194781,194781],\"mapped\",[144323]],[[194782,194782],\"mapped\",[15177]],[[194783,194783],\"mapped\",[26618]],[[194784,194784],\"mapped\",[26501]],[[194785,194785],\"mapped\",[26706]],[[194786,194786],\"mapped\",[26757]],[[194787,194787],\"mapped\",[144493]],[[194788,194788],\"mapped\",[26766]],[[194789,194789],\"mapped\",[26655]],[[194790,194790],\"mapped\",[26900]],[[194791,194791],\"mapped\",[15261]],[[194792,194792],\"mapped\",[26946]],[[194793,194793],\"mapped\",[27043]],[[194794,194794],\"mapped\",[27114]],[[194795,194795],\"mapped\",[27304]],[[194796,194796],\"mapped\",[145059]],[[194797,194797],\"mapped\",[27355]],[[194798,194798],\"mapped\",[15384]],[[194799,194799],\"mapped\",[27425]],[[194800,194800],\"mapped\",[145575]],[[194801,194801],\"mapped\",[27476]],[[194802,194802],\"mapped\",[15438]],[[194803,194803],\"mapped\",[27506]],[[194804,194804],\"mapped\",[27551]],[[194805,194805],\"mapped\",[27578]],[[194806,194806],\"mapped\",[27579]],[[194807,194807],\"mapped\",[146061]],[[194808,194808],\"mapped\",[138507]],[[194809,194809],\"mapped\",[146170]],[[194810,194810],\"mapped\",[27726]],[[194811,194811],\"mapped\",[146620]],[[194812,194812],\"mapped\",[27839]],[[194813,194813],\"mapped\",[27853]],[[194814,194814],\"mapped\",[27751]],[[194815,194815],\"mapped\",[27926]],[[194816,194816],\"mapped\",[27966]],[[194817,194817],\"mapped\",[28023]],[[194818,194818],\"mapped\",[27969]],[[194819,194819],\"mapped\",[28009]],[[194820,194820],\"mapped\",[28024]],[[194821,194821],\"mapped\",[28037]],[[194822,194822],\"mapped\",[146718]],[[194823,194823],\"mapped\",[27956]],[[194824,194824],\"mapped\",[28207]],[[194825,194825],\"mapped\",[28270]],[[194826,194826],\"mapped\",[15667]],[[194827,194827],\"mapped\",[28363]],[[194828,194828],\"mapped\",[28359]],[[194829,194829],\"mapped\",[147153]],[[194830,194830],\"mapped\",[28153]],[[194831,194831],\"mapped\",[28526]],[[194832,194832],\"mapped\",[147294]],[[194833,194833],\"mapped\",[147342]],[[194834,194834],\"mapped\",[28614]],[[194835,194835],\"mapped\",[28729]],[[194836,194836],\"mapped\",[28702]],[[194837,194837],\"mapped\",[28699]],[[194838,194838],\"mapped\",[15766]],[[194839,194839],\"mapped\",[28746]],[[194840,194840],\"mapped\",[28797]],[[194841,194841],\"mapped\",[28791]],[[194842,194842],\"mapped\",[28845]],[[194843,194843],\"mapped\",[132389]],[[194844,194844],\"mapped\",[28997]],[[194845,194845],\"mapped\",[148067]],[[194846,194846],\"mapped\",[29084]],[[194847,194847],\"disallowed\"],[[194848,194848],\"mapped\",[29224]],[[194849,194849],\"mapped\",[29237]],[[194850,194850],\"mapped\",[29264]],[[194851,194851],\"mapped\",[149000]],[[194852,194852],\"mapped\",[29312]],[[194853,194853],\"mapped\",[29333]],[[194854,194854],\"mapped\",[149301]],[[194855,194855],\"mapped\",[149524]],[[194856,194856],\"mapped\",[29562]],[[194857,194857],\"mapped\",[29579]],[[194858,194858],\"mapped\",[16044]],[[194859,194859],\"mapped\",[29605]],[[194860,194861],\"mapped\",[16056]],[[194862,194862],\"mapped\",[29767]],[[194863,194863],\"mapped\",[29788]],[[194864,194864],\"mapped\",[29809]],[[194865,194865],\"mapped\",[29829]],[[194866,194866],\"mapped\",[29898]],[[194867,194867],\"mapped\",[16155]],[[194868,194868],\"mapped\",[29988]],[[194869,194869],\"mapped\",[150582]],[[194870,194870],\"mapped\",[30014]],[[194871,194871],\"mapped\",[150674]],[[194872,194872],\"mapped\",[30064]],[[194873,194873],\"mapped\",[139679]],[[194874,194874],\"mapped\",[30224]],[[194875,194875],\"mapped\",[151457]],[[194876,194876],\"mapped\",[151480]],[[194877,194877],\"mapped\",[151620]],[[194878,194878],\"mapped\",[16380]],[[194879,194879],\"mapped\",[16392]],[[194880,194880],\"mapped\",[30452]],[[194881,194881],\"mapped\",[151795]],[[194882,194882],\"mapped\",[151794]],[[194883,194883],\"mapped\",[151833]],[[194884,194884],\"mapped\",[151859]],[[194885,194885],\"mapped\",[30494]],[[194886,194887],\"mapped\",[30495]],[[194888,194888],\"mapped\",[30538]],[[194889,194889],\"mapped\",[16441]],[[194890,194890],\"mapped\",[30603]],[[194891,194891],\"mapped\",[16454]],[[194892,194892],\"mapped\",[16534]],[[194893,194893],\"mapped\",[152605]],[[194894,194894],\"mapped\",[30798]],[[194895,194895],\"mapped\",[30860]],[[194896,194896],\"mapped\",[30924]],[[194897,194897],\"mapped\",[16611]],[[194898,194898],\"mapped\",[153126]],[[194899,194899],\"mapped\",[31062]],[[194900,194900],\"mapped\",[153242]],[[194901,194901],\"mapped\",[153285]],[[194902,194902],\"mapped\",[31119]],[[194903,194903],\"mapped\",[31211]],[[194904,194904],\"mapped\",[16687]],[[194905,194905],\"mapped\",[31296]],[[194906,194906],\"mapped\",[31306]],[[194907,194907],\"mapped\",[31311]],[[194908,194908],\"mapped\",[153980]],[[194909,194910],\"mapped\",[154279]],[[194911,194911],\"disallowed\"],[[194912,194912],\"mapped\",[16898]],[[194913,194913],\"mapped\",[154539]],[[194914,194914],\"mapped\",[31686]],[[194915,194915],\"mapped\",[31689]],[[194916,194916],\"mapped\",[16935]],[[194917,194917],\"mapped\",[154752]],[[194918,194918],\"mapped\",[31954]],[[194919,194919],\"mapped\",[17056]],[[194920,194920],\"mapped\",[31976]],[[194921,194921],\"mapped\",[31971]],[[194922,194922],\"mapped\",[32000]],[[194923,194923],\"mapped\",[155526]],[[194924,194924],\"mapped\",[32099]],[[194925,194925],\"mapped\",[17153]],[[194926,194926],\"mapped\",[32199]],[[194927,194927],\"mapped\",[32258]],[[194928,194928],\"mapped\",[32325]],[[194929,194929],\"mapped\",[17204]],[[194930,194930],\"mapped\",[156200]],[[194931,194931],\"mapped\",[156231]],[[194932,194932],\"mapped\",[17241]],[[194933,194933],\"mapped\",[156377]],[[194934,194934],\"mapped\",[32634]],[[194935,194935],\"mapped\",[156478]],[[194936,194936],\"mapped\",[32661]],[[194937,194937],\"mapped\",[32762]],[[194938,194938],\"mapped\",[32773]],[[194939,194939],\"mapped\",[156890]],[[194940,194940],\"mapped\",[156963]],[[194941,194941],\"mapped\",[32864]],[[194942,194942],\"mapped\",[157096]],[[194943,194943],\"mapped\",[32880]],[[194944,194944],\"mapped\",[144223]],[[194945,194945],\"mapped\",[17365]],[[194946,194946],\"mapped\",[32946]],[[194947,194947],\"mapped\",[33027]],[[194948,194948],\"mapped\",[17419]],[[194949,194949],\"mapped\",[33086]],[[194950,194950],\"mapped\",[23221]],[[194951,194951],\"mapped\",[157607]],[[194952,194952],\"mapped\",[157621]],[[194953,194953],\"mapped\",[144275]],[[194954,194954],\"mapped\",[144284]],[[194955,194955],\"mapped\",[33281]],[[194956,194956],\"mapped\",[33284]],[[194957,194957],\"mapped\",[36766]],[[194958,194958],\"mapped\",[17515]],[[194959,194959],\"mapped\",[33425]],[[194960,194960],\"mapped\",[33419]],[[194961,194961],\"mapped\",[33437]],[[194962,194962],\"mapped\",[21171]],[[194963,194963],\"mapped\",[33457]],[[194964,194964],\"mapped\",[33459]],[[194965,194965],\"mapped\",[33469]],[[194966,194966],\"mapped\",[33510]],[[194967,194967],\"mapped\",[158524]],[[194968,194968],\"mapped\",[33509]],[[194969,194969],\"mapped\",[33565]],[[194970,194970],\"mapped\",[33635]],[[194971,194971],\"mapped\",[33709]],[[194972,194972],\"mapped\",[33571]],[[194973,194973],\"mapped\",[33725]],[[194974,194974],\"mapped\",[33767]],[[194975,194975],\"mapped\",[33879]],[[194976,194976],\"mapped\",[33619]],[[194977,194977],\"mapped\",[33738]],[[194978,194978],\"mapped\",[33740]],[[194979,194979],\"mapped\",[33756]],[[194980,194980],\"mapped\",[158774]],[[194981,194981],\"mapped\",[159083]],[[194982,194982],\"mapped\",[158933]],[[194983,194983],\"mapped\",[17707]],[[194984,194984],\"mapped\",[34033]],[[194985,194985],\"mapped\",[34035]],[[194986,194986],\"mapped\",[34070]],[[194987,194987],\"mapped\",[160714]],[[194988,194988],\"mapped\",[34148]],[[194989,194989],\"mapped\",[159532]],[[194990,194990],\"mapped\",[17757]],[[194991,194991],\"mapped\",[17761]],[[194992,194992],\"mapped\",[159665]],[[194993,194993],\"mapped\",[159954]],[[194994,194994],\"mapped\",[17771]],[[194995,194995],\"mapped\",[34384]],[[194996,194996],\"mapped\",[34396]],[[194997,194997],\"mapped\",[34407]],[[194998,194998],\"mapped\",[34409]],[[194999,194999],\"mapped\",[34473]],[[195000,195000],\"mapped\",[34440]],[[195001,195001],\"mapped\",[34574]],[[195002,195002],\"mapped\",[34530]],[[195003,195003],\"mapped\",[34681]],[[195004,195004],\"mapped\",[34600]],[[195005,195005],\"mapped\",[34667]],[[195006,195006],\"mapped\",[34694]],[[195007,195007],\"disallowed\"],[[195008,195008],\"mapped\",[34785]],[[195009,195009],\"mapped\",[34817]],[[195010,195010],\"mapped\",[17913]],[[195011,195011],\"mapped\",[34912]],[[195012,195012],\"mapped\",[34915]],[[195013,195013],\"mapped\",[161383]],[[195014,195014],\"mapped\",[35031]],[[195015,195015],\"mapped\",[35038]],[[195016,195016],\"mapped\",[17973]],[[195017,195017],\"mapped\",[35066]],[[195018,195018],\"mapped\",[13499]],[[195019,195019],\"mapped\",[161966]],[[195020,195020],\"mapped\",[162150]],[[195021,195021],\"mapped\",[18110]],[[195022,195022],\"mapped\",[18119]],[[195023,195023],\"mapped\",[35488]],[[195024,195024],\"mapped\",[35565]],[[195025,195025],\"mapped\",[35722]],[[195026,195026],\"mapped\",[35925]],[[195027,195027],\"mapped\",[162984]],[[195028,195028],\"mapped\",[36011]],[[195029,195029],\"mapped\",[36033]],[[195030,195030],\"mapped\",[36123]],[[195031,195031],\"mapped\",[36215]],[[195032,195032],\"mapped\",[163631]],[[195033,195033],\"mapped\",[133124]],[[195034,195034],\"mapped\",[36299]],[[195035,195035],\"mapped\",[36284]],[[195036,195036],\"mapped\",[36336]],[[195037,195037],\"mapped\",[133342]],[[195038,195038],\"mapped\",[36564]],[[195039,195039],\"mapped\",[36664]],[[195040,195040],\"mapped\",[165330]],[[195041,195041],\"mapped\",[165357]],[[195042,195042],\"mapped\",[37012]],[[195043,195043],\"mapped\",[37105]],[[195044,195044],\"mapped\",[37137]],[[195045,195045],\"mapped\",[165678]],[[195046,195046],\"mapped\",[37147]],[[195047,195047],\"mapped\",[37432]],[[195048,195048],\"mapped\",[37591]],[[195049,195049],\"mapped\",[37592]],[[195050,195050],\"mapped\",[37500]],[[195051,195051],\"mapped\",[37881]],[[195052,195052],\"mapped\",[37909]],[[195053,195053],\"mapped\",[166906]],[[195054,195054],\"mapped\",[38283]],[[195055,195055],\"mapped\",[18837]],[[195056,195056],\"mapped\",[38327]],[[195057,195057],\"mapped\",[167287]],[[195058,195058],\"mapped\",[18918]],[[195059,195059],\"mapped\",[38595]],[[195060,195060],\"mapped\",[23986]],[[195061,195061],\"mapped\",[38691]],[[195062,195062],\"mapped\",[168261]],[[195063,195063],\"mapped\",[168474]],[[195064,195064],\"mapped\",[19054]],[[195065,195065],\"mapped\",[19062]],[[195066,195066],\"mapped\",[38880]],[[195067,195067],\"mapped\",[168970]],[[195068,195068],\"mapped\",[19122]],[[195069,195069],\"mapped\",[169110]],[[195070,195071],\"mapped\",[38923]],[[195072,195072],\"mapped\",[38953]],[[195073,195073],\"mapped\",[169398]],[[195074,195074],\"mapped\",[39138]],[[195075,195075],\"mapped\",[19251]],[[195076,195076],\"mapped\",[39209]],[[195077,195077],\"mapped\",[39335]],[[195078,195078],\"mapped\",[39362]],[[195079,195079],\"mapped\",[39422]],[[195080,195080],\"mapped\",[19406]],[[195081,195081],\"mapped\",[170800]],[[195082,195082],\"mapped\",[39698]],[[195083,195083],\"mapped\",[40000]],[[195084,195084],\"mapped\",[40189]],[[195085,195085],\"mapped\",[19662]],[[195086,195086],\"mapped\",[19693]],[[195087,195087],\"mapped\",[40295]],[[195088,195088],\"mapped\",[172238]],[[195089,195089],\"mapped\",[19704]],[[195090,195090],\"mapped\",[172293]],[[195091,195091],\"mapped\",[172558]],[[195092,195092],\"mapped\",[172689]],[[195093,195093],\"mapped\",[40635]],[[195094,195094],\"mapped\",[19798]],[[195095,195095],\"mapped\",[40697]],[[195096,195096],\"mapped\",[40702]],[[195097,195097],\"mapped\",[40709]],[[195098,195098],\"mapped\",[40719]],[[195099,195099],\"mapped\",[40726]],[[195100,195100],\"mapped\",[40763]],[[195101,195101],\"mapped\",[173568]],[[195102,196605],\"disallowed\"],[[196606,196607],\"disallowed\"],[[196608,262141],\"disallowed\"],[[262142,262143],\"disallowed\"],[[262144,327677],\"disallowed\"],[[327678,327679],\"disallowed\"],[[327680,393213],\"disallowed\"],[[393214,393215],\"disallowed\"],[[393216,458749],\"disallowed\"],[[458750,458751],\"disallowed\"],[[458752,524285],\"disallowed\"],[[524286,524287],\"disallowed\"],[[524288,589821],\"disallowed\"],[[589822,589823],\"disallowed\"],[[589824,655357],\"disallowed\"],[[655358,655359],\"disallowed\"],[[655360,720893],\"disallowed\"],[[720894,720895],\"disallowed\"],[[720896,786429],\"disallowed\"],[[786430,786431],\"disallowed\"],[[786432,851965],\"disallowed\"],[[851966,851967],\"disallowed\"],[[851968,917501],\"disallowed\"],[[917502,917503],\"disallowed\"],[[917504,917504],\"disallowed\"],[[917505,917505],\"disallowed\"],[[917506,917535],\"disallowed\"],[[917536,917631],\"disallowed\"],[[917632,917759],\"disallowed\"],[[917760,917999],\"ignored\"],[[918000,983037],\"disallowed\"],[[983038,983039],\"disallowed\"],[[983040,1048573],\"disallowed\"],[[1048574,1048575],\"disallowed\"],[[1048576,1114109],\"disallowed\"],[[1114110,1114111],\"disallowed\"]]');\n\n/***/ }),\n\n/***/ 2357:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"assert\");\n\n/***/ }),\n\n/***/ 8614:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"events\");\n\n/***/ }),\n\n/***/ 5747:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"fs\");\n\n/***/ }),\n\n/***/ 8605:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"http\");\n\n/***/ }),\n\n/***/ 7211:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"https\");\n\n/***/ }),\n\n/***/ 1631:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"net\");\n\n/***/ }),\n\n/***/ 2087:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"os\");\n\n/***/ }),\n\n/***/ 5622:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"path\");\n\n/***/ }),\n\n/***/ 4213:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"punycode\");\n\n/***/ }),\n\n/***/ 2413:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"stream\");\n\n/***/ }),\n\n/***/ 4016:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"tls\");\n\n/***/ }),\n\n/***/ 8835:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"url\");\n\n/***/ }),\n\n/***/ 1669:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"util\");\n\n/***/ }),\n\n/***/ 8761:\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = require(\"zlib\");\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __nccwpck_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\tvar threw = true;\n/******/ \t\ttry {\n/******/ \t\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __nccwpck_require__);\n/******/ \t\t\tthrew = false;\n/******/ \t\t} finally {\n/******/ \t\t\tif(threw) delete __webpack_module_cache__[moduleId];\n/******/ \t\t}\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat */\n/******/ \t\n/******/ \tif (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + \"/\";\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n// This entry need to be wrapped in an IIFE because it need to be in strict mode.\n(() => {\n\"use strict\";\nvar exports = __webpack_exports__;\n\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.submitSnapshot = exports.Snapshot = exports.Package = exports.PackageCache = exports.Manifest = exports.BuildTarget = void 0;\nconst package_cache_1 = __nccwpck_require__(2947);\nObject.defineProperty(exports, \"PackageCache\", ({ enumerable: true, get: function () { return package_cache_1.PackageCache; } }));\nconst manifest_1 = __nccwpck_require__(2973);\nObject.defineProperty(exports, \"Manifest\", ({ enumerable: true, get: function () { return manifest_1.Manifest; } }));\nObject.defineProperty(exports, \"BuildTarget\", ({ enumerable: true, get: function () { return manifest_1.BuildTarget; } }));\nconst package_1 = __nccwpck_require__(4590);\nObject.defineProperty(exports, \"Package\", ({ enumerable: true, get: function () { return package_1.Package; } }));\nconst snapshot_1 = __nccwpck_require__(3767);\nObject.defineProperty(exports, \"Snapshot\", ({ enumerable: true, get: function () { return snapshot_1.Snapshot; } }));\nObject.defineProperty(exports, \"submitSnapshot\", ({ enumerable: true, get: function () { return snapshot_1.submitSnapshot; } }));\n//# sourceMappingURL=index.js.map\n})();\n\nmodule.exports = __webpack_exports__;\n/******/ })()\n;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.submitSnapshot = exports.Snapshot = exports.jobFromContext = void 0;\nconst core = __importStar(require(\"@actions/core\"));\nconst github = __importStar(require(\"@actions/github\"));\nconst rest_1 = require(\"@octokit/rest\");\nconst request_error_1 = require(\"@octokit/request-error\");\n/**\n * jobFromContext creates a job from a @actions/github Context\n *\n * @param {Context} context\n * @returns {Job}\n */\nfunction jobFromContext(context) {\n return {\n correlator: context.job,\n id: context.runId.toString()\n };\n}\nexports.jobFromContext = jobFromContext;\n/**\n * Snapshot is the top-level container for Dependency Submission\n */\nclass Snapshot {\n /**\n * All constructor parameters of a Snapshot are optional, but can be specified for specific overrides\n *\n * @param {Detector} detector\n * @param {Context} context\n * @param {Job} job\n * @param {Date} date\n * @param {number} version\n */\n constructor(detector, context = github.context, job, date = new Date(), version = 0) {\n this.detector = detector;\n this.version = version;\n this.job = job || jobFromContext(context);\n this.sha = context.sha;\n this.ref = context.ref;\n this.scanned = date.toISOString();\n this.manifests = {};\n }\n /**\n * addManifest adds a manifest to the snapshot. At least one manifest must be added.\n *\n * @param {Manifest} manifest\n */\n addManifest(manifest) {\n this.manifests[manifest.name] = manifest;\n }\n /**\n * prettyJSON formats an intended version of the Snapshot (useful for debugging)\n *\n * @returns {string}\n */\n prettyJSON() {\n return JSON.stringify(this, undefined, 4);\n }\n}\nexports.Snapshot = Snapshot;\n/**\n * submitSnapshot submits a snapshot to the Dependency Submission API\n *\n * @param {Snapshot} snapshot\n * @param {Context} context\n */\nfunction submitSnapshot(snapshot, context = github.context) {\n return __awaiter(this, void 0, void 0, function* () {\n core.setOutput('snapshot', JSON.stringify(snapshot));\n core.notice('Submitting snapshot...');\n core.notice(snapshot.prettyJSON());\n const repo = context.repo;\n const githubToken = core.getInput('token') || (yield core.getIDToken());\n const octokit = new rest_1.Octokit({\n auth: githubToken\n });\n try {\n const response = yield octokit.request('POST /repos/{owner}/{repo}/dependency-graph/snapshots', {\n headers: {\n accept: 'application/vnd.github.foo-bar-preview+json'\n },\n owner: repo.owner,\n repo: repo.repo,\n data: JSON.stringify(snapshot)\n });\n core.notice('Snapshot successfully created at ' + response.data.created_at.toString());\n }\n catch (error) {\n if (error instanceof request_error_1.RequestError) {\n core.error(`HTTP Status ${error.status} for request ${error.request.method} ${error.request.url}`);\n if (error.response) {\n core.error(`Response body:\\n${JSON.stringify(error.response.data, undefined, 2)}`);\n }\n }\n if (error instanceof Error) {\n core.error(error.message);\n if (error.stack)\n core.error(error.stack);\n }\n throw new Error(`Failed to submit snapshot: ${error}`);\n }\n });\n}\nexports.submitSnapshot = submitSnapshot;\n//# sourceMappingURL=snapshot.js.map","(()=>{var e={650:e=>{var r=Object.prototype.toString;var n=typeof Buffer.alloc===\"function\"&&typeof Buffer.allocUnsafe===\"function\"&&typeof Buffer.from===\"function\";function isArrayBuffer(e){return r.call(e).slice(8,-1)===\"ArrayBuffer\"}function fromArrayBuffer(e,r,t){r>>>=0;var o=e.byteLength-r;if(o<0){throw new RangeError(\"'offset' is out of bounds\")}if(t===undefined){t=o}else{t>>>=0;if(t>o){throw new RangeError(\"'length' is out of bounds\")}}return n?Buffer.from(e.slice(r,r+t)):new Buffer(new Uint8Array(e.slice(r,r+t)))}function fromString(e,r){if(typeof r!==\"string\"||r===\"\"){r=\"utf8\"}if(!Buffer.isEncoding(r)){throw new TypeError('\"encoding\" must be a valid string encoding')}return n?Buffer.from(e,r):new Buffer(e,r)}function bufferFrom(e,r,t){if(typeof e===\"number\"){throw new TypeError('\"value\" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,r,t)}if(typeof e===\"string\"){return fromString(e,r)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},284:(e,r,n)=>{e=n.nmd(e);var t=n(596).SourceMapConsumer;var o=n(622);var i;try{i=n(747);if(!i.existsSync||!i.readFileSync){i=null}}catch(e){}var a=n(650);function dynamicRequire(e,r){return e.require(r)}var u=false;var s=false;var l=false;var c=\"auto\";var p={};var f={};var g=/^data:application\\/json[^,]+base64,/;var h=[];var d=[];function isInBrowser(){if(c===\"browser\")return true;if(c===\"node\")return false;return typeof window!==\"undefined\"&&typeof XMLHttpRequest===\"function\"&&!(window.require&&window.module&&window.process&&window.process.type===\"renderer\")}function hasGlobalProcessEventEmitter(){return typeof process===\"object\"&&process!==null&&typeof process.on===\"function\"}function handlerExec(e){return function(r){for(var n=0;n\"}var n=this.getLineNumber();if(n!=null){r+=\":\"+n;var t=this.getColumnNumber();if(t){r+=\":\"+t}}}var o=\"\";var i=this.getFunctionName();var a=true;var u=this.isConstructor();var s=!(this.isToplevel()||u);if(s){var l=this.getTypeName();if(l===\"[object Object]\"){l=\"null\"}var c=this.getMethodName();if(i){if(l&&i.indexOf(l)!=0){o+=l+\".\"}o+=i;if(c&&i.indexOf(\".\"+c)!=i.length-c.length-1){o+=\" [as \"+c+\"]\"}}else{o+=l+\".\"+(c||\"\")}}else if(u){o+=\"new \"+(i||\"\")}else if(i){o+=i}else{o+=r;a=false}if(a){o+=\" (\"+r+\")\"}return o}function cloneCallSite(e){var r={};Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(n){r[n]=/^(?:is|get)/.test(n)?function(){return e[n].call(e)}:e[n]}));r.toString=CallSiteToString;return r}function wrapCallSite(e,r){if(r===undefined){r={nextPosition:null,curPosition:null}}if(e.isNative()){r.curPosition=null;return e}var n=e.getFileName()||e.getScriptNameOrSourceURL();if(n){var t=e.getLineNumber();var o=e.getColumnNumber()-1;var i=/^v(10\\.1[6-9]|10\\.[2-9][0-9]|10\\.[0-9]{3,}|1[2-9]\\d*|[2-9]\\d|\\d{3,}|11\\.11)/;var a=i.test(process.version)?0:62;if(t===1&&o>a&&!isInBrowser()&&!e.isEval()){o-=a}var u=mapSourcePosition({source:n,line:t,column:o});r.curPosition=u;e=cloneCallSite(e);var s=e.getFunctionName;e.getFunctionName=function(){if(r.nextPosition==null){return s()}return r.nextPosition.name||s()};e.getFileName=function(){return u.source};e.getLineNumber=function(){return u.line};e.getColumnNumber=function(){return u.column+1};e.getScriptNameOrSourceURL=function(){return u.source};return e}var l=e.isEval()&&e.getEvalOrigin();if(l){l=mapEvalOrigin(l);e=cloneCallSite(e);e.getEvalOrigin=function(){return l};return e}return e}function prepareStackTrace(e,r){if(l){p={};f={}}var n=e.name||\"Error\";var t=e.message||\"\";var o=n+\": \"+t;var i={nextPosition:null,curPosition:null};var a=[];for(var u=r.length-1;u>=0;u--){a.push(\"\\n at \"+wrapCallSite(r[u],i));i.nextPosition=i.curPosition}i.curPosition=i.nextPosition=null;return o+a.reverse().join(\"\")}function getErrorSource(e){var r=/\\n at [^(]+ \\((.*):(\\d+):(\\d+)\\)/.exec(e.stack);if(r){var n=r[1];var t=+r[2];var o=+r[3];var a=p[n];if(!a&&i&&i.existsSync(n)){try{a=i.readFileSync(n,\"utf8\")}catch(e){a=\"\"}}if(a){var u=a.split(/(?:\\r\\n|\\r|\\n)/)[t-1];if(u){return n+\":\"+t+\"\\n\"+u+\"\\n\"+new Array(o).join(\" \")+\"^\"}}}return null}function printErrorAndExit(e){var r=getErrorSource(e);if(process.stderr._handle&&process.stderr._handle.setBlocking){process.stderr._handle.setBlocking(true)}if(r){console.error();console.error(r)}console.error(e.stack);process.exit(1)}function shimEmitUncaughtException(){var e=process.emit;process.emit=function(r){if(r===\"uncaughtException\"){var n=arguments[1]&&arguments[1].stack;var t=this.listeners(r).length>0;if(n&&!t){return printErrorAndExit(arguments[1])}}return e.apply(this,arguments)}}var S=h.slice(0);var _=d.slice(0);r.wrapCallSite=wrapCallSite;r.getErrorSource=getErrorSource;r.mapSourcePosition=mapSourcePosition;r.retrieveSourceMap=v;r.install=function(r){r=r||{};if(r.environment){c=r.environment;if([\"node\",\"browser\",\"auto\"].indexOf(c)===-1){throw new Error(\"environment \"+c+\" was unknown. Available options are {auto, browser, node}\")}}if(r.retrieveFile){if(r.overrideRetrieveFile){h.length=0}h.unshift(r.retrieveFile)}if(r.retrieveSourceMap){if(r.overrideRetrieveSourceMap){d.length=0}d.unshift(r.retrieveSourceMap)}if(r.hookRequire&&!isInBrowser()){var n=dynamicRequire(e,\"module\");var t=n.prototype._compile;if(!t.__sourceMapSupport){n.prototype._compile=function(e,r){p[r]=e;f[r]=undefined;return t.call(this,e,r)};n.prototype._compile.__sourceMapSupport=true}}if(!l){l=\"emptyCacheBetweenOperations\"in r?r.emptyCacheBetweenOperations:false}if(!u){u=true;Error.prepareStackTrace=prepareStackTrace}if(!s){var o=\"handleUncaughtExceptions\"in r?r.handleUncaughtExceptions:true;try{var i=dynamicRequire(e,\"worker_threads\");if(i.isMainThread===false){o=false}}catch(e){}if(o&&hasGlobalProcessEventEmitter()){s=true;shimEmitUncaughtException()}}};r.resetRetrieveHandlers=function(){h.length=0;d.length=0;h=S.slice(0);d=_.slice(0);v=handlerExec(d);m=handlerExec(h)}},837:(e,r,n)=>{var t=n(983);var o=Object.prototype.hasOwnProperty;var i=typeof Map!==\"undefined\";function ArraySet(){this._array=[];this._set=i?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,r){var n=new ArraySet;for(var t=0,o=e.length;t=0){return r}}else{var n=t.toSetString(e);if(o.call(this._set,n)){return this._set[n]}}throw new Error('\"'+e+'\" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e{var t=n(537);var o=5;var i=1<>1;return r?-n:n}r.encode=function base64VLQ_encode(e){var r=\"\";var n;var i=toVLQSigned(e);do{n=i&a;i>>>=o;if(i>0){n|=u}r+=t.encode(n)}while(i>0);return r};r.decode=function base64VLQ_decode(e,r,n){var i=e.length;var s=0;var l=0;var c,p;do{if(r>=i){throw new Error(\"Expected more digits in base 64 VLQ value.\")}p=t.decode(e.charCodeAt(r++));if(p===-1){throw new Error(\"Invalid base64 digit: \"+e.charAt(r-1))}c=!!(p&u);p&=a;s=s+(p<{var n=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\".split(\"\");r.encode=function(e){if(0<=e&&e{r.GREATEST_LOWER_BOUND=1;r.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,t,o,i,a){var u=Math.floor((n-e)/2)+e;var s=i(t,o[u],true);if(s===0){return u}else if(s>0){if(n-u>1){return recursiveSearch(u,n,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return n1){return recursiveSearch(e,u,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return u}else{return e<0?-1:e}}}r.search=function search(e,n,t,o){if(n.length===0){return-1}var i=recursiveSearch(-1,n.length,e,n,t,o||r.GREATEST_LOWER_BOUND);if(i<0){return-1}while(i-1>=0){if(t(n[i],n[i-1],true)!==0){break}--i}return i}},740:(e,r,n)=>{var t=n(983);function generatedPositionAfter(e,r){var n=e.generatedLine;var o=r.generatedLine;var i=e.generatedColumn;var a=r.generatedColumn;return o>n||o==n&&a>=i||t.compareByGeneratedPositionsInflated(e,r)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,r){this._array.forEach(e,r)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(t.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};r.H=MappingList},226:(e,r)=>{function swap(e,r,n){var t=e[r];e[r]=e[n];e[n]=t}function randomIntInRange(e,r){return Math.round(e+Math.random()*(r-e))}function doQuickSort(e,r,n,t){if(n{var t;var o=n(983);var i=n(164);var a=n(837).I;var u=n(215);var s=n(226).U;function SourceMapConsumer(e,r){var n=e;if(typeof e===\"string\"){n=o.parseSourceMapInput(e)}return n.sections!=null?new IndexedSourceMapConsumer(n,r):new BasicSourceMapConsumer(n,r)}SourceMapConsumer.fromSourceMap=function(e,r){return BasicSourceMapConsumer.fromSourceMap(e,r)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,\"_generatedMappings\",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,\"_originalMappings\",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,r){var n=e.charAt(r);return n===\";\"||n===\",\"};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){throw new Error(\"Subclasses must implement _parseMappings\")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,r,n){var t=r||null;var i=n||SourceMapConsumer.GENERATED_ORDER;var a;switch(i){case SourceMapConsumer.GENERATED_ORDER:a=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error(\"Unknown order of iteration.\")}var u=this.sourceRoot;a.map((function(e){var r=e.source===null?null:this._sources.at(e.source);r=o.computeSourceURL(u,r,this._sourceMapURL);return{source:r,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,t)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var r=o.getArg(e,\"line\");var n={source:o.getArg(e,\"source\"),originalLine:r,originalColumn:o.getArg(e,\"column\",0)};n.source=this._findSourceIndex(n.source);if(n.source<0){return[]}var t=[];var a=this._findMapping(n,this._originalMappings,\"originalLine\",\"originalColumn\",o.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(a>=0){var u=this._originalMappings[a];if(e.column===undefined){var s=u.originalLine;while(u&&u.originalLine===s){t.push({line:o.getArg(u,\"generatedLine\",null),column:o.getArg(u,\"generatedColumn\",null),lastColumn:o.getArg(u,\"lastGeneratedColumn\",null)});u=this._originalMappings[++a]}}else{var l=u.originalColumn;while(u&&u.originalLine===r&&u.originalColumn==l){t.push({line:o.getArg(u,\"generatedLine\",null),column:o.getArg(u,\"generatedColumn\",null),lastColumn:o.getArg(u,\"lastGeneratedColumn\",null)});u=this._originalMappings[++a]}}}return t};r.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,r){var n=e;if(typeof e===\"string\"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,\"version\");var i=o.getArg(n,\"sources\");var u=o.getArg(n,\"names\",[]);var s=o.getArg(n,\"sourceRoot\",null);var l=o.getArg(n,\"sourcesContent\",null);var c=o.getArg(n,\"mappings\");var p=o.getArg(n,\"file\",null);if(t!=this._version){throw new Error(\"Unsupported version: \"+t)}if(s){s=o.normalize(s)}i=i.map(String).map(o.normalize).map((function(e){return s&&o.isAbsolute(s)&&o.isAbsolute(e)?o.relative(s,e):e}));this._names=a.fromArray(u.map(String),true);this._sources=a.fromArray(i,true);this._absoluteSources=this._sources.toArray().map((function(e){return o.computeSourceURL(s,e,r)}));this.sourceRoot=s;this.sourcesContent=l;this._mappings=c;this._sourceMapURL=r;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var r=e;if(this.sourceRoot!=null){r=o.relative(this.sourceRoot,r)}if(this._sources.has(r)){return this._sources.indexOf(r)}var n;for(n=0;n1){v.source=l+_[1];l+=_[1];v.originalLine=i+_[2];i=v.originalLine;v.originalLine+=1;v.originalColumn=a+_[3];a=v.originalColumn;if(_.length>4){v.name=c+_[4];c+=_[4]}}m.push(v);if(typeof v.originalLine===\"number\"){d.push(v)}}}s(m,o.compareByGeneratedPositionsDeflated);this.__generatedMappings=m;s(d,o.compareByOriginalPositions);this.__originalMappings=d};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,r,n,t,o,a){if(e[n]<=0){throw new TypeError(\"Line must be greater than or equal to 1, got \"+e[n])}if(e[t]<0){throw new TypeError(\"Column must be greater than or equal to 0, got \"+e[t])}return i.search(e,r,o,a)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e=0){var t=this._generatedMappings[n];if(t.generatedLine===r.generatedLine){var i=o.getArg(t,\"source\",null);if(i!==null){i=this._sources.at(i);i=o.computeSourceURL(this.sourceRoot,i,this._sourceMapURL)}var a=o.getArg(t,\"name\",null);if(a!==null){a=this._names.at(a)}return{source:i,line:o.getArg(t,\"originalLine\",null),column:o.getArg(t,\"originalColumn\",null),name:a}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,r){if(!this.sourcesContent){return null}var n=this._findSourceIndex(e);if(n>=0){return this.sourcesContent[n]}var t=e;if(this.sourceRoot!=null){t=o.relative(this.sourceRoot,t)}var i;if(this.sourceRoot!=null&&(i=o.urlParse(this.sourceRoot))){var a=t.replace(/^file:\\/\\//,\"\");if(i.scheme==\"file\"&&this._sources.has(a)){return this.sourcesContent[this._sources.indexOf(a)]}if((!i.path||i.path==\"/\")&&this._sources.has(\"/\"+t)){return this.sourcesContent[this._sources.indexOf(\"/\"+t)]}}if(r){return null}else{throw new Error('\"'+t+'\" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var r=o.getArg(e,\"source\");r=this._findSourceIndex(r);if(r<0){return{line:null,column:null,lastColumn:null}}var n={source:r,originalLine:o.getArg(e,\"line\"),originalColumn:o.getArg(e,\"column\")};var t=this._findMapping(n,this._originalMappings,\"originalLine\",\"originalColumn\",o.compareByOriginalPositions,o.getArg(e,\"bias\",SourceMapConsumer.GREATEST_LOWER_BOUND));if(t>=0){var i=this._originalMappings[t];if(i.source===n.source){return{line:o.getArg(i,\"generatedLine\",null),column:o.getArg(i,\"generatedColumn\",null),lastColumn:o.getArg(i,\"lastGeneratedColumn\",null)}}}return{line:null,column:null,lastColumn:null}};t=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,r){var n=e;if(typeof e===\"string\"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,\"version\");var i=o.getArg(n,\"sections\");if(t!=this._version){throw new Error(\"Unsupported version: \"+t)}this._sources=new a;this._names=new a;var u={line:-1,column:0};this._sections=i.map((function(e){if(e.url){throw new Error(\"Support for url field in sections not implemented.\")}var n=o.getArg(e,\"offset\");var t=o.getArg(n,\"line\");var i=o.getArg(n,\"column\");if(t{var t=n(215);var o=n(983);var i=n(837).I;var a=n(740).H;function SourceMapGenerator(e){if(!e){e={}}this._file=o.getArg(e,\"file\",null);this._sourceRoot=o.getArg(e,\"sourceRoot\",null);this._skipValidation=o.getArg(e,\"skipValidation\",false);this._sources=new i;this._names=new i;this._mappings=new a;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var r=e.sourceRoot;var n=new SourceMapGenerator({file:e.file,sourceRoot:r});e.eachMapping((function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){t.source=e.source;if(r!=null){t.source=o.relative(r,t.source)}t.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){t.name=e.name}}n.addMapping(t)}));e.sources.forEach((function(t){var i=t;if(r!==null){i=o.relative(r,t)}if(!n._sources.has(i)){n._sources.add(i)}var a=e.sourceContentFor(t);if(a!=null){n.setSourceContent(t,a)}}));return n};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var r=o.getArg(e,\"generated\");var n=o.getArg(e,\"original\",null);var t=o.getArg(e,\"source\",null);var i=o.getArg(e,\"name\",null);if(!this._skipValidation){this._validateMapping(r,n,t,i)}if(t!=null){t=String(t);if(!this._sources.has(t)){this._sources.add(t)}}if(i!=null){i=String(i);if(!this._names.has(i)){this._names.add(i)}}this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:t,name:i})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,r){var n=e;if(this._sourceRoot!=null){n=o.relative(this._sourceRoot,n)}if(r!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[o.toSetString(n)]=r}else if(this._sourcesContents){delete this._sourcesContents[o.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,r,n){var t=r;if(r==null){if(e.file==null){throw new Error(\"SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, \"+'or the source map\\'s \"file\" property. Both were omitted.')}t=e.file}var a=this._sourceRoot;if(a!=null){t=o.relative(a,t)}var u=new i;var s=new i;this._mappings.unsortedForEach((function(r){if(r.source===t&&r.originalLine!=null){var i=e.originalPositionFor({line:r.originalLine,column:r.originalColumn});if(i.source!=null){r.source=i.source;if(n!=null){r.source=o.join(n,r.source)}if(a!=null){r.source=o.relative(a,r.source)}r.originalLine=i.line;r.originalColumn=i.column;if(i.name!=null){r.name=i.name}}}var l=r.source;if(l!=null&&!u.has(l)){u.add(l)}var c=r.name;if(c!=null&&!s.has(c)){s.add(c)}}),this);this._sources=u;this._names=s;e.sources.forEach((function(r){var t=e.sourceContentFor(r);if(t!=null){if(n!=null){r=o.join(n,r)}if(a!=null){r=o.relative(a,r)}this.setSourceContent(r,t)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,r,n,t){if(r&&typeof r.line!==\"number\"&&typeof r.column!==\"number\"){throw new Error(\"original.line and original.column are not numbers -- you probably meant to omit \"+\"the original mapping entirely and only map the generated position. If so, pass \"+\"null for the original mapping instead of an object with empty or null values.\")}if(e&&\"line\"in e&&\"column\"in e&&e.line>0&&e.column>=0&&!r&&!n&&!t){return}else if(e&&\"line\"in e&&\"column\"in e&&r&&\"line\"in r&&\"column\"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n){return}else{throw new Error(\"Invalid mapping: \"+JSON.stringify({generated:e,source:n,original:r,name:t}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var r=1;var n=0;var i=0;var a=0;var u=0;var s=\"\";var l;var c;var p;var f;var g=this._mappings.toArray();for(var h=0,d=g.length;h0){if(!o.compareByGeneratedPositionsInflated(c,g[h-1])){continue}l+=\",\"}}l+=t.encode(c.generatedColumn-e);e=c.generatedColumn;if(c.source!=null){f=this._sources.indexOf(c.source);l+=t.encode(f-u);u=f;l+=t.encode(c.originalLine-1-i);i=c.originalLine-1;l+=t.encode(c.originalColumn-n);n=c.originalColumn;if(c.name!=null){p=this._names.indexOf(c.name);l+=t.encode(p-a);a=p}}s+=l}return s};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,r){return e.map((function(e){if(!this._sourcesContents){return null}if(r!=null){e=o.relative(r,e)}var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};r.h=SourceMapGenerator},990:(e,r,n)=>{var t;var o=n(341).h;var i=n(983);var a=/(\\r?\\n)/;var u=10;var s=\"$$$isSourceNode$$$\";function SourceNode(e,r,n,t,o){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=r==null?null:r;this.source=n==null?null:n;this.name=o==null?null:o;this[s]=true;if(t!=null)this.add(t)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,r,n){var t=new SourceNode;var o=e.split(a);var u=0;var shiftNextLine=function(){var e=getNextLine();var r=getNextLine()||\"\";return e+r;function getNextLine(){return u=0;r--){this.prepend(e[r])}}else if(e[s]||typeof e===\"string\"){this.children.unshift(e)}else{throw new TypeError(\"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \"+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var r;for(var n=0,t=this.children.length;n0){r=[];for(n=0;n{function getArg(e,r,n){if(r in e){return e[r]}else if(arguments.length===3){return n}else{throw new Error('\"'+r+'\" is a required argument.')}}r.getArg=getArg;var n=/^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.-]*)(?::(\\d+))?(.*)$/;var t=/^data:.+\\,.+$/;function urlParse(e){var r=e.match(n);if(!r){return null}return{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}}r.urlParse=urlParse;function urlGenerate(e){var r=\"\";if(e.scheme){r+=e.scheme+\":\"}r+=\"//\";if(e.auth){r+=e.auth+\"@\"}if(e.host){r+=e.host}if(e.port){r+=\":\"+e.port}if(e.path){r+=e.path}return r}r.urlGenerate=urlGenerate;function normalize(e){var n=e;var t=urlParse(e);if(t){if(!t.path){return e}n=t.path}var o=r.isAbsolute(n);var i=n.split(/\\/+/);for(var a,u=0,s=i.length-1;s>=0;s--){a=i[s];if(a===\".\"){i.splice(s,1)}else if(a===\"..\"){u++}else if(u>0){if(a===\"\"){i.splice(s+1,u);u=0}else{i.splice(s,2);u--}}}n=i.join(\"/\");if(n===\"\"){n=o?\"/\":\".\"}if(t){t.path=n;return urlGenerate(t)}return n}r.normalize=normalize;function join(e,r){if(e===\"\"){e=\".\"}if(r===\"\"){r=\".\"}var n=urlParse(r);var o=urlParse(e);if(o){e=o.path||\"/\"}if(n&&!n.scheme){if(o){n.scheme=o.scheme}return urlGenerate(n)}if(n||r.match(t)){return r}if(o&&!o.host&&!o.path){o.host=r;return urlGenerate(o)}var i=r.charAt(0)===\"/\"?r:normalize(e.replace(/\\/+$/,\"\")+\"/\"+r);if(o){o.path=i;return urlGenerate(o)}return i}r.join=join;r.isAbsolute=function(e){return e.charAt(0)===\"/\"||n.test(e)};function relative(e,r){if(e===\"\"){e=\".\"}e=e.replace(/\\/$/,\"\");var n=0;while(r.indexOf(e+\"/\")!==0){var t=e.lastIndexOf(\"/\");if(t<0){return r}e=e.slice(0,t);if(e.match(/^([^\\/]+:\\/)?\\/*$/)){return r}++n}return Array(n+1).join(\"../\")+r.substr(e.length+1)}r.relative=relative;var o=function(){var e=Object.create(null);return!(\"__proto__\"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return\"$\"+e}return e}r.toSetString=o?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}r.fromSetString=o?identity:fromSetString;function isProtoString(e){if(!e){return false}var r=e.length;if(r<9){return false}if(e.charCodeAt(r-1)!==95||e.charCodeAt(r-2)!==95||e.charCodeAt(r-3)!==111||e.charCodeAt(r-4)!==116||e.charCodeAt(r-5)!==111||e.charCodeAt(r-6)!==114||e.charCodeAt(r-7)!==112||e.charCodeAt(r-8)!==95||e.charCodeAt(r-9)!==95){return false}for(var n=r-10;n>=0;n--){if(e.charCodeAt(n)!==36){return false}}return true}function compareByOriginalPositions(e,r,n){var t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0||n){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0){return t}t=e.generatedLine-r.generatedLine;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,r,n){var t=e.generatedLine-r.generatedLine;if(t!==0){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0||n){return t}t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,r){if(e===r){return 0}if(e===null){return 1}if(r===null){return-1}if(e>r){return 1}return-1}function compareByGeneratedPositionsInflated(e,r){var n=e.generatedLine-r.generatedLine;if(n!==0){return n}n=e.generatedColumn-r.generatedColumn;if(n!==0){return n}n=strcmp(e.source,r.source);if(n!==0){return n}n=e.originalLine-r.originalLine;if(n!==0){return n}n=e.originalColumn-r.originalColumn;if(n!==0){return n}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\\)]}'[^\\n]*\\n/,\"\"))}r.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,r,n){r=r||\"\";if(e){if(e[e.length-1]!==\"/\"&&r[0]!==\"/\"){e+=\"/\"}r=e+r}if(n){var t=urlParse(n);if(!t){throw new Error(\"sourceMapURL could not be parsed\")}if(t.path){var o=t.path.lastIndexOf(\"/\");if(o>=0){t.path=t.path.substring(0,o+1)}}r=join(urlGenerate(t),r)}return normalize(r)}r.computeSourceURL=computeSourceURL},596:(e,r,n)=>{n(341).h;r.SourceMapConsumer=n(327).SourceMapConsumer;n(990)},747:e=>{\"use strict\";e.exports=require(\"fs\")},622:e=>{\"use strict\";e.exports=require(\"path\")}};var r={};function __webpack_require__(n){var t=r[n];if(t!==undefined){return t.exports}var o=r[n]={id:n,loaded:false,exports:{}};var i=true;try{e[n](o,o.exports,__webpack_require__);i=false}finally{if(i)delete r[n]}o.loaded=true;return o.exports}(()=>{__webpack_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __webpack_require__!==\"undefined\")__webpack_require__.ab=__dirname+\"/\";var n={};(()=>{__webpack_require__(284).install()})();module.exports=n})();","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst REGEX_IS_INSTALLATION_LEGACY = /^v1\\./;\nconst REGEX_IS_INSTALLATION = /^ghs_/;\nconst REGEX_IS_USER_TO_SERVER = /^ghu_/;\nasync function auth(token) {\n const isApp = token.split(/\\./).length === 3;\n const isInstallation = REGEX_IS_INSTALLATION_LEGACY.test(token) || REGEX_IS_INSTALLATION.test(token);\n const isUserToServer = REGEX_IS_USER_TO_SERVER.test(token);\n const tokenType = isApp ? \"app\" : isInstallation ? \"installation\" : isUserToServer ? \"user-to-server\" : \"oauth\";\n return {\n type: \"token\",\n token: token,\n tokenType\n };\n}\n\n/**\n * Prefix token for usage in the Authorization header\n *\n * @param token OAuth token or JSON Web Token\n */\nfunction withAuthorizationPrefix(token) {\n if (token.split(/\\./).length === 3) {\n return `bearer ${token}`;\n }\n\n return `token ${token}`;\n}\n\nasync function hook(token, request, route, parameters) {\n const endpoint = request.endpoint.merge(route, parameters);\n endpoint.headers.authorization = withAuthorizationPrefix(token);\n return request(endpoint);\n}\n\nconst createTokenAuth = function createTokenAuth(token) {\n if (!token) {\n throw new Error(\"[@octokit/auth-token] No token passed to createTokenAuth\");\n }\n\n if (typeof token !== \"string\") {\n throw new Error(\"[@octokit/auth-token] Token passed to createTokenAuth is not a string\");\n }\n\n token = token.replace(/^(token|bearer) +/i, \"\");\n return Object.assign(auth.bind(null, token), {\n hook: hook.bind(null, token)\n });\n};\n\nexports.createTokenAuth = createTokenAuth;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar universalUserAgent = require('universal-user-agent');\nvar beforeAfterHook = require('before-after-hook');\nvar request = require('@octokit/request');\nvar graphql = require('@octokit/graphql');\nvar authToken = require('@octokit/auth-token');\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nconst VERSION = \"3.6.0\";\n\nconst _excluded = [\"authStrategy\"];\nclass Octokit {\n constructor(options = {}) {\n const hook = new beforeAfterHook.Collection();\n const requestDefaults = {\n baseUrl: request.request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n // @ts-ignore internal usage only, no need to type\n hook: hook.bind(null, \"request\")\n }),\n mediaType: {\n previews: [],\n format: \"\"\n }\n }; // prepend default user agent with `options.userAgent` if set\n\n requestDefaults.headers[\"user-agent\"] = [options.userAgent, `octokit-core.js/${VERSION} ${universalUserAgent.getUserAgent()}`].filter(Boolean).join(\" \");\n\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n\n this.request = request.request.defaults(requestDefaults);\n this.graphql = graphql.withCustomRequest(this.request).defaults(requestDefaults);\n this.log = Object.assign({\n debug: () => {},\n info: () => {},\n warn: console.warn.bind(console),\n error: console.error.bind(console)\n }, options.log);\n this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance\n // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered.\n // (2) If only `options.auth` is set, use the default token authentication strategy.\n // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.\n // TODO: type `options.auth` based on `options.authStrategy`.\n\n if (!options.authStrategy) {\n if (!options.auth) {\n // (1)\n this.auth = async () => ({\n type: \"unauthenticated\"\n });\n } else {\n // (2)\n const auth = authToken.createTokenAuth(options.auth); // @ts-ignore ¯\\_(ツ)_/¯\n\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n } else {\n const {\n authStrategy\n } = options,\n otherOptions = _objectWithoutProperties(options, _excluded);\n\n const auth = authStrategy(Object.assign({\n request: this.request,\n log: this.log,\n // we pass the current octokit instance as well as its constructor options\n // to allow for authentication strategies that return a new octokit instance\n // that shares the same internal state as the current one. The original\n // requirement for this was the \"event-octokit\" authentication strategy\n // of https://github.com/probot/octokit-auth-probot.\n octokit: this,\n octokitOptions: otherOptions\n }, options.auth)); // @ts-ignore ¯\\_(ツ)_/¯\n\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n } // apply plugins\n // https://stackoverflow.com/a/16345172\n\n\n const classConstructor = this.constructor;\n classConstructor.plugins.forEach(plugin => {\n Object.assign(this, plugin(this, options));\n });\n }\n\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n\n if (typeof defaults === \"function\") {\n super(defaults(options));\n return;\n }\n\n super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`\n } : null));\n }\n\n };\n return OctokitWithDefaults;\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n\n\n static plugin(...newPlugins) {\n var _a;\n\n const currentPlugins = this.plugins;\n const NewOctokit = (_a = class extends this {}, _a.plugins = currentPlugins.concat(newPlugins.filter(plugin => !currentPlugins.includes(plugin))), _a);\n return NewOctokit;\n }\n\n}\nOctokit.VERSION = VERSION;\nOctokit.plugins = [];\n\nexports.Octokit = Octokit;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar isPlainObject = require('is-plain-object');\nvar universalUserAgent = require('universal-user-agent');\n\nfunction lowercaseKeys(object) {\n if (!object) {\n return {};\n }\n\n return Object.keys(object).reduce((newObj, key) => {\n newObj[key.toLowerCase()] = object[key];\n return newObj;\n }, {});\n}\n\nfunction mergeDeep(defaults, options) {\n const result = Object.assign({}, defaults);\n Object.keys(options).forEach(key => {\n if (isPlainObject.isPlainObject(options[key])) {\n if (!(key in defaults)) Object.assign(result, {\n [key]: options[key]\n });else result[key] = mergeDeep(defaults[key], options[key]);\n } else {\n Object.assign(result, {\n [key]: options[key]\n });\n }\n });\n return result;\n}\n\nfunction removeUndefinedProperties(obj) {\n for (const key in obj) {\n if (obj[key] === undefined) {\n delete obj[key];\n }\n }\n\n return obj;\n}\n\nfunction merge(defaults, route, options) {\n if (typeof route === \"string\") {\n let [method, url] = route.split(\" \");\n options = Object.assign(url ? {\n method,\n url\n } : {\n url: method\n }, options);\n } else {\n options = Object.assign({}, route);\n } // lowercase header names before merging with defaults to avoid duplicates\n\n\n options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging\n\n removeUndefinedProperties(options);\n removeUndefinedProperties(options.headers);\n const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten\n\n if (defaults && defaults.mediaType.previews.length) {\n mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews);\n }\n\n mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, \"\"));\n return mergedOptions;\n}\n\nfunction addQueryParameters(url, parameters) {\n const separator = /\\?/.test(url) ? \"&\" : \"?\";\n const names = Object.keys(parameters);\n\n if (names.length === 0) {\n return url;\n }\n\n return url + separator + names.map(name => {\n if (name === \"q\") {\n return \"q=\" + parameters.q.split(\"+\").map(encodeURIComponent).join(\"+\");\n }\n\n return `${name}=${encodeURIComponent(parameters[name])}`;\n }).join(\"&\");\n}\n\nconst urlVariableRegex = /\\{[^}]+\\}/g;\n\nfunction removeNonChars(variableName) {\n return variableName.replace(/^\\W+|\\W+$/g, \"\").split(/,/);\n}\n\nfunction extractUrlVariableNames(url) {\n const matches = url.match(urlVariableRegex);\n\n if (!matches) {\n return [];\n }\n\n return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);\n}\n\nfunction omit(object, keysToOmit) {\n return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => {\n obj[key] = object[key];\n return obj;\n }, {});\n}\n\n// Based on https://github.com/bramstein/url-template, licensed under BSD\n// TODO: create separate package.\n//\n// Copyright (c) 2012-2014, Bram Stein\n// All rights reserved.\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions\n// are met:\n// 1. Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// 2. Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// 3. The name of the author may not be used to endorse or promote products\n// derived from this software without specific prior written permission.\n// THIS SOFTWARE IS PROVIDED BY THE AUTHOR \"AS IS\" AND ANY EXPRESS OR IMPLIED\n// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n/* istanbul ignore file */\nfunction encodeReserved(str) {\n return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) {\n if (!/%[0-9A-Fa-f]/.test(part)) {\n part = encodeURI(part).replace(/%5B/g, \"[\").replace(/%5D/g, \"]\");\n }\n\n return part;\n }).join(\"\");\n}\n\nfunction encodeUnreserved(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n\nfunction encodeValue(operator, value, key) {\n value = operator === \"+\" || operator === \"#\" ? encodeReserved(value) : encodeUnreserved(value);\n\n if (key) {\n return encodeUnreserved(key) + \"=\" + value;\n } else {\n return value;\n }\n}\n\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\n\nfunction isKeyOperator(operator) {\n return operator === \";\" || operator === \"&\" || operator === \"?\";\n}\n\nfunction getValues(context, operator, key, modifier) {\n var value = context[key],\n result = [];\n\n if (isDefined(value) && value !== \"\") {\n if (typeof value === \"string\" || typeof value === \"number\" || typeof value === \"boolean\") {\n value = value.toString();\n\n if (modifier && modifier !== \"*\") {\n value = value.substring(0, parseInt(modifier, 10));\n }\n\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n } else {\n if (modifier === \"*\") {\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n });\n } else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n result.push(encodeValue(operator, value[k], k));\n }\n });\n }\n } else {\n const tmp = [];\n\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n tmp.push(encodeValue(operator, value));\n });\n } else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n tmp.push(encodeUnreserved(k));\n tmp.push(encodeValue(operator, value[k].toString()));\n }\n });\n }\n\n if (isKeyOperator(operator)) {\n result.push(encodeUnreserved(key) + \"=\" + tmp.join(\",\"));\n } else if (tmp.length !== 0) {\n result.push(tmp.join(\",\"));\n }\n }\n }\n } else {\n if (operator === \";\") {\n if (isDefined(value)) {\n result.push(encodeUnreserved(key));\n }\n } else if (value === \"\" && (operator === \"&\" || operator === \"?\")) {\n result.push(encodeUnreserved(key) + \"=\");\n } else if (value === \"\") {\n result.push(\"\");\n }\n }\n\n return result;\n}\n\nfunction parseUrl(template) {\n return {\n expand: expand.bind(null, template)\n };\n}\n\nfunction expand(template, context) {\n var operators = [\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"];\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, function (_, expression, literal) {\n if (expression) {\n let operator = \"\";\n const values = [];\n\n if (operators.indexOf(expression.charAt(0)) !== -1) {\n operator = expression.charAt(0);\n expression = expression.substr(1);\n }\n\n expression.split(/,/g).forEach(function (variable) {\n var tmp = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(variable);\n values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3]));\n });\n\n if (operator && operator !== \"+\") {\n var separator = \",\";\n\n if (operator === \"?\") {\n separator = \"&\";\n } else if (operator !== \"#\") {\n separator = operator;\n }\n\n return (values.length !== 0 ? operator : \"\") + values.join(separator);\n } else {\n return values.join(\",\");\n }\n } else {\n return encodeReserved(literal);\n }\n });\n}\n\nfunction parse(options) {\n // https://fetch.spec.whatwg.org/#methods\n let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible\n\n let url = (options.url || \"/\").replace(/:([a-z]\\w+)/g, \"{$1}\");\n let headers = Object.assign({}, options.headers);\n let body;\n let parameters = omit(options, [\"method\", \"baseUrl\", \"url\", \"headers\", \"request\", \"mediaType\"]); // extract variable names from URL to calculate remaining variables later\n\n const urlVariableNames = extractUrlVariableNames(url);\n url = parseUrl(url).expand(parameters);\n\n if (!/^http/.test(url)) {\n url = options.baseUrl + url;\n }\n\n const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat(\"baseUrl\");\n const remainingParameters = omit(parameters, omittedParameters);\n const isBinaryRequest = /application\\/octet-stream/i.test(headers.accept);\n\n if (!isBinaryRequest) {\n if (options.mediaType.format) {\n // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw\n headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\\/vnd(\\.\\w+)(\\.v3)?(\\.\\w+)?(\\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(\",\");\n }\n\n if (options.mediaType.previews.length) {\n const previewsFromAcceptHeader = headers.accept.match(/[\\w-]+(?=-preview)/g) || [];\n headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => {\n const format = options.mediaType.format ? `.${options.mediaType.format}` : \"+json\";\n return `application/vnd.github.${preview}-preview${format}`;\n }).join(\",\");\n }\n } // for GET/HEAD requests, set URL query parameters from remaining parameters\n // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters\n\n\n if ([\"GET\", \"HEAD\"].includes(method)) {\n url = addQueryParameters(url, remainingParameters);\n } else {\n if (\"data\" in remainingParameters) {\n body = remainingParameters.data;\n } else {\n if (Object.keys(remainingParameters).length) {\n body = remainingParameters;\n } else {\n headers[\"content-length\"] = 0;\n }\n }\n } // default content-type for JSON if body is set\n\n\n if (!headers[\"content-type\"] && typeof body !== \"undefined\") {\n headers[\"content-type\"] = \"application/json; charset=utf-8\";\n } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.\n // fetch does not allow to set `content-length` header, but we can set body to an empty string\n\n\n if ([\"PATCH\", \"PUT\"].includes(method) && typeof body === \"undefined\") {\n body = \"\";\n } // Only return body/request keys if present\n\n\n return Object.assign({\n method,\n url,\n headers\n }, typeof body !== \"undefined\" ? {\n body\n } : null, options.request ? {\n request: options.request\n } : null);\n}\n\nfunction endpointWithDefaults(defaults, route, options) {\n return parse(merge(defaults, route, options));\n}\n\nfunction withDefaults(oldDefaults, newDefaults) {\n const DEFAULTS = merge(oldDefaults, newDefaults);\n const endpoint = endpointWithDefaults.bind(null, DEFAULTS);\n return Object.assign(endpoint, {\n DEFAULTS,\n defaults: withDefaults.bind(null, DEFAULTS),\n merge: merge.bind(null, DEFAULTS),\n parse\n });\n}\n\nconst VERSION = \"6.0.12\";\n\nconst userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url.\n// So we use RequestParameters and add method as additional required property.\n\nconst DEFAULTS = {\n method: \"GET\",\n baseUrl: \"https://api.github.com\",\n headers: {\n accept: \"application/vnd.github.v3+json\",\n \"user-agent\": userAgent\n },\n mediaType: {\n format: \"\",\n previews: []\n }\n};\n\nconst endpoint = withDefaults(null, DEFAULTS);\n\nexports.endpoint = endpoint;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar request = require('@octokit/request');\nvar universalUserAgent = require('universal-user-agent');\n\nconst VERSION = \"4.8.0\";\n\nfunction _buildMessageForResponseErrors(data) {\n return `Request failed due to following response errors:\\n` + data.errors.map(e => ` - ${e.message}`).join(\"\\n\");\n}\n\nclass GraphqlResponseError extends Error {\n constructor(request, headers, response) {\n super(_buildMessageForResponseErrors(response));\n this.request = request;\n this.headers = headers;\n this.response = response;\n this.name = \"GraphqlResponseError\"; // Expose the errors and response data in their shorthand properties.\n\n this.errors = response.errors;\n this.data = response.data; // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n\n}\n\nconst NON_VARIABLE_OPTIONS = [\"method\", \"baseUrl\", \"url\", \"headers\", \"request\", \"query\", \"mediaType\"];\nconst FORBIDDEN_VARIABLE_OPTIONS = [\"query\", \"method\", \"url\"];\nconst GHES_V3_SUFFIX_REGEX = /\\/api\\/v3\\/?$/;\nfunction graphql(request, query, options) {\n if (options) {\n if (typeof query === \"string\" && \"query\" in options) {\n return Promise.reject(new Error(`[@octokit/graphql] \"query\" cannot be used as variable name`));\n }\n\n for (const key in options) {\n if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue;\n return Promise.reject(new Error(`[@octokit/graphql] \"${key}\" cannot be used as variable name`));\n }\n }\n\n const parsedOptions = typeof query === \"string\" ? Object.assign({\n query\n }, options) : query;\n const requestOptions = Object.keys(parsedOptions).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = parsedOptions[key];\n return result;\n }\n\n if (!result.variables) {\n result.variables = {};\n }\n\n result.variables[key] = parsedOptions[key];\n return result;\n }, {}); // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix\n // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451\n\n const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl;\n\n if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {\n requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, \"/api/graphql\");\n }\n\n return request(requestOptions).then(response => {\n if (response.data.errors) {\n const headers = {};\n\n for (const key of Object.keys(response.headers)) {\n headers[key] = response.headers[key];\n }\n\n throw new GraphqlResponseError(requestOptions, headers, response.data);\n }\n\n return response.data.data;\n });\n}\n\nfunction withDefaults(request$1, newDefaults) {\n const newRequest = request$1.defaults(newDefaults);\n\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: request.request.endpoint\n });\n}\n\nconst graphql$1 = withDefaults(request.request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}`\n },\n method: \"POST\",\n url: \"/graphql\"\n});\nfunction withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\"\n });\n}\n\nexports.GraphqlResponseError = GraphqlResponseError;\nexports.graphql = graphql$1;\nexports.withCustomRequest = withCustomRequest;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst VERSION = \"2.20.0\";\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\n/**\n * Some “list” response that can be paginated have a different response structure\n *\n * They have a `total_count` key in the response (search also has `incomplete_results`,\n * /installation/repositories also has `repository_selection`), as well as a key with\n * the list of the items which name varies from endpoint to endpoint.\n *\n * Octokit normalizes these responses so that paginated results are always returned following\n * the same structure. One challenge is that if the list response has only one page, no Link\n * header is provided, so this header alone is not sufficient to check wether a response is\n * paginated or not.\n *\n * We check if a \"total_count\" key is present in the response data, but also make sure that\n * a \"url\" property is not, as the \"Get the combined status for a specific ref\" endpoint would\n * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref\n */\nfunction normalizePaginatedListResponse(response) {\n // endpoints can respond with 204 if repository is empty\n if (!response.data) {\n return _objectSpread2(_objectSpread2({}, response), {}, {\n data: []\n });\n }\n\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization) return response; // keep the additional properties intact as there is currently no other way\n // to retrieve the same information.\n\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n\n response.data.total_count = totalCount;\n return response;\n}\n\nfunction iterator(octokit, route, parameters) {\n const options = typeof route === \"function\" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n async next() {\n if (!url) return {\n done: true\n };\n\n try {\n const response = await requestMethod({\n method,\n url,\n headers\n });\n const normalizedResponse = normalizePaginatedListResponse(response); // `response.headers.link` format:\n // '; rel=\"next\", ; rel=\"last\"'\n // sets `url` to undefined if \"next\" URL is not present or `link` header is not set\n\n url = ((normalizedResponse.headers.link || \"\").match(/<([^>]+)>;\\s*rel=\"next\"/) || [])[1];\n return {\n value: normalizedResponse\n };\n } catch (error) {\n if (error.status !== 409) throw error;\n url = \"\";\n return {\n value: {\n status: 200,\n headers: {},\n data: []\n }\n };\n }\n }\n\n })\n };\n}\n\nfunction paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = undefined;\n }\n\n return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);\n}\n\nfunction gather(octokit, results, iterator, mapFn) {\n return iterator.next().then(result => {\n if (result.done) {\n return results;\n }\n\n let earlyExit = false;\n\n function done() {\n earlyExit = true;\n }\n\n results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);\n\n if (earlyExit) {\n return results;\n }\n\n return gather(octokit, results, iterator, mapFn);\n });\n}\n\nconst composePaginateRest = Object.assign(paginate, {\n iterator\n});\n\nconst paginatingEndpoints = [\"GET /app/hook/deliveries\", \"GET /app/installations\", \"GET /applications/grants\", \"GET /authorizations\", \"GET /enterprises/{enterprise}/actions/permissions/organizations\", \"GET /enterprises/{enterprise}/actions/runner-groups\", \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations\", \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners\", \"GET /enterprises/{enterprise}/actions/runners\", \"GET /enterprises/{enterprise}/actions/runners/downloads\", \"GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels\", \"GET /enterprises/{enterprise}/secret-scanning/alerts\", \"GET /events\", \"GET /gists\", \"GET /gists/public\", \"GET /gists/starred\", \"GET /gists/{gist_id}/comments\", \"GET /gists/{gist_id}/commits\", \"GET /gists/{gist_id}/forks\", \"GET /installation/repositories\", \"GET /issues\", \"GET /marketplace_listing/plans\", \"GET /marketplace_listing/plans/{plan_id}/accounts\", \"GET /marketplace_listing/stubbed/plans\", \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\", \"GET /networks/{owner}/{repo}/events\", \"GET /notifications\", \"GET /organizations\", \"GET /organizations/{organization_id}/custom_roles\", \"GET /orgs/{org_id}/codespaces\", \"GET /orgs/{org}/actions/permissions/repositories\", \"GET /orgs/{org}/actions/runner-groups\", \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories\", \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners\", \"GET /orgs/{org}/actions/runners\", \"GET /orgs/{org}/actions/runners/downloads\", \"GET /orgs/{org}/actions/runners/{runner_id}/labels\", \"GET /orgs/{org}/actions/secrets\", \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\", \"GET /orgs/{org}/blocks\", \"GET /orgs/{org}/code-scanning/alerts\", \"GET /orgs/{org}/credential-authorizations\", \"GET /orgs/{org}/dependabot/secrets\", \"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories\", \"GET /orgs/{org}/events\", \"GET /orgs/{org}/external-groups\", \"GET /orgs/{org}/failed_invitations\", \"GET /orgs/{org}/hooks\", \"GET /orgs/{org}/hooks/{hook_id}/deliveries\", \"GET /orgs/{org}/installations\", \"GET /orgs/{org}/invitations\", \"GET /orgs/{org}/invitations/{invitation_id}/teams\", \"GET /orgs/{org}/issues\", \"GET /orgs/{org}/members\", \"GET /orgs/{org}/migrations\", \"GET /orgs/{org}/migrations/{migration_id}/repositories\", \"GET /orgs/{org}/outside_collaborators\", \"GET /orgs/{org}/packages\", \"GET /orgs/{org}/projects\", \"GET /orgs/{org}/public_members\", \"GET /orgs/{org}/repos\", \"GET /orgs/{org}/secret-scanning/alerts\", \"GET /orgs/{org}/team-sync/groups\", \"GET /orgs/{org}/teams\", \"GET /orgs/{org}/teams/{team_slug}/discussions\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\", \"GET /orgs/{org}/teams/{team_slug}/external-groups\", \"GET /orgs/{org}/teams/{team_slug}/invitations\", \"GET /orgs/{org}/teams/{team_slug}/members\", \"GET /orgs/{org}/teams/{team_slug}/projects\", \"GET /orgs/{org}/teams/{team_slug}/repos\", \"GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings\", \"GET /orgs/{org}/teams/{team_slug}/teams\", \"GET /projects/columns/{column_id}/cards\", \"GET /projects/{project_id}/collaborators\", \"GET /projects/{project_id}/columns\", \"GET /repos/{owner}/{repo}/actions/artifacts\", \"GET /repos/{owner}/{repo}/actions/runners\", \"GET /repos/{owner}/{repo}/actions/runners/downloads\", \"GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\", \"GET /repos/{owner}/{repo}/actions/runs\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\", \"GET /repos/{owner}/{repo}/actions/secrets\", \"GET /repos/{owner}/{repo}/actions/workflows\", \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\", \"GET /repos/{owner}/{repo}/assignees\", \"GET /repos/{owner}/{repo}/autolinks\", \"GET /repos/{owner}/{repo}/branches\", \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\", \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\", \"GET /repos/{owner}/{repo}/code-scanning/alerts\", \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\", \"GET /repos/{owner}/{repo}/code-scanning/analyses\", \"GET /repos/{owner}/{repo}/codespaces\", \"GET /repos/{owner}/{repo}/codespaces/devcontainers\", \"GET /repos/{owner}/{repo}/codespaces/secrets\", \"GET /repos/{owner}/{repo}/collaborators\", \"GET /repos/{owner}/{repo}/comments\", \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/commits\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\", \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\", \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\", \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\", \"GET /repos/{owner}/{repo}/contributors\", \"GET /repos/{owner}/{repo}/dependabot/secrets\", \"GET /repos/{owner}/{repo}/deployments\", \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\", \"GET /repos/{owner}/{repo}/events\", \"GET /repos/{owner}/{repo}/forks\", \"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\", \"GET /repos/{owner}/{repo}/hooks\", \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\", \"GET /repos/{owner}/{repo}/invitations\", \"GET /repos/{owner}/{repo}/issues\", \"GET /repos/{owner}/{repo}/issues/comments\", \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/issues/events\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/events\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\", \"GET /repos/{owner}/{repo}/keys\", \"GET /repos/{owner}/{repo}/labels\", \"GET /repos/{owner}/{repo}/milestones\", \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\", \"GET /repos/{owner}/{repo}/notifications\", \"GET /repos/{owner}/{repo}/pages/builds\", \"GET /repos/{owner}/{repo}/projects\", \"GET /repos/{owner}/{repo}/pulls\", \"GET /repos/{owner}/{repo}/pulls/comments\", \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\", \"GET /repos/{owner}/{repo}/releases\", \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\", \"GET /repos/{owner}/{repo}/releases/{release_id}/reactions\", \"GET /repos/{owner}/{repo}/secret-scanning/alerts\", \"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations\", \"GET /repos/{owner}/{repo}/stargazers\", \"GET /repos/{owner}/{repo}/subscribers\", \"GET /repos/{owner}/{repo}/tags\", \"GET /repos/{owner}/{repo}/tags/protection\", \"GET /repos/{owner}/{repo}/teams\", \"GET /repositories\", \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\", \"GET /scim/v2/enterprises/{enterprise}/Groups\", \"GET /scim/v2/enterprises/{enterprise}/Users\", \"GET /scim/v2/organizations/{org}/Users\", \"GET /search/code\", \"GET /search/commits\", \"GET /search/issues\", \"GET /search/labels\", \"GET /search/repositories\", \"GET /search/topics\", \"GET /search/users\", \"GET /teams/{team_id}/discussions\", \"GET /teams/{team_id}/discussions/{discussion_number}/comments\", \"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions\", \"GET /teams/{team_id}/discussions/{discussion_number}/reactions\", \"GET /teams/{team_id}/invitations\", \"GET /teams/{team_id}/members\", \"GET /teams/{team_id}/projects\", \"GET /teams/{team_id}/repos\", \"GET /teams/{team_id}/team-sync/group-mappings\", \"GET /teams/{team_id}/teams\", \"GET /user/blocks\", \"GET /user/codespaces\", \"GET /user/codespaces/secrets\", \"GET /user/codespaces/secrets/{secret_name}/repositories\", \"GET /user/emails\", \"GET /user/followers\", \"GET /user/following\", \"GET /user/gpg_keys\", \"GET /user/installations\", \"GET /user/installations/{installation_id}/repositories\", \"GET /user/issues\", \"GET /user/keys\", \"GET /user/marketplace_purchases\", \"GET /user/marketplace_purchases/stubbed\", \"GET /user/memberships/orgs\", \"GET /user/migrations\", \"GET /user/migrations/{migration_id}/repositories\", \"GET /user/orgs\", \"GET /user/packages\", \"GET /user/public_emails\", \"GET /user/repos\", \"GET /user/repository_invitations\", \"GET /user/starred\", \"GET /user/subscriptions\", \"GET /user/teams\", \"GET /users\", \"GET /users/{username}/events\", \"GET /users/{username}/events/orgs/{org}\", \"GET /users/{username}/events/public\", \"GET /users/{username}/followers\", \"GET /users/{username}/following\", \"GET /users/{username}/gists\", \"GET /users/{username}/gpg_keys\", \"GET /users/{username}/keys\", \"GET /users/{username}/orgs\", \"GET /users/{username}/packages\", \"GET /users/{username}/projects\", \"GET /users/{username}/received_events\", \"GET /users/{username}/received_events/public\", \"GET /users/{username}/repos\", \"GET /users/{username}/starred\", \"GET /users/{username}/subscriptions\"];\n\nfunction isPaginatingEndpoint(arg) {\n if (typeof arg === \"string\") {\n return paginatingEndpoints.includes(arg);\n } else {\n return false;\n }\n}\n\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\n\nfunction paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit)\n })\n };\n}\npaginateRest.VERSION = VERSION;\n\nexports.composePaginateRest = composePaginateRest;\nexports.isPaginatingEndpoint = isPaginatingEndpoint;\nexports.paginateRest = paginateRest;\nexports.paginatingEndpoints = paginatingEndpoints;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst VERSION = \"1.0.4\";\n\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\n\nfunction requestLog(octokit) {\n octokit.hook.wrap(\"request\", (request, options) => {\n octokit.log.debug(\"request\", options);\n const start = Date.now();\n const requestOptions = octokit.request.endpoint.parse(options);\n const path = requestOptions.url.replace(options.baseUrl, \"\");\n return request(options).then(response => {\n octokit.log.info(`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`);\n return response;\n }).catch(error => {\n octokit.log.info(`${requestOptions.method} ${path} - ${error.status} in ${Date.now() - start}ms`);\n throw error;\n });\n });\n}\nrequestLog.VERSION = VERSION;\n\nexports.requestLog = requestLog;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nconst Endpoints = {\n actions: {\n addCustomLabelsToSelfHostedRunnerForOrg: [\"POST /orgs/{org}/actions/runners/{runner_id}/labels\"],\n addCustomLabelsToSelfHostedRunnerForRepo: [\"POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\"],\n addSelectedRepoToOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\"],\n approveWorkflowRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve\"],\n cancelWorkflowRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel\"],\n createOrUpdateEnvironmentSecret: [\"PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n createRegistrationTokenForOrg: [\"POST /orgs/{org}/actions/runners/registration-token\"],\n createRegistrationTokenForRepo: [\"POST /repos/{owner}/{repo}/actions/runners/registration-token\"],\n createRemoveTokenForOrg: [\"POST /orgs/{org}/actions/runners/remove-token\"],\n createRemoveTokenForRepo: [\"POST /repos/{owner}/{repo}/actions/runners/remove-token\"],\n createWorkflowDispatch: [\"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches\"],\n deleteActionsCacheById: [\"DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}\"],\n deleteActionsCacheByKey: [\"DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}\"],\n deleteArtifact: [\"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n deleteEnvironmentSecret: [\"DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n deleteOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}\"],\n deleteRepoSecret: [\"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n deleteSelfHostedRunnerFromOrg: [\"DELETE /orgs/{org}/actions/runners/{runner_id}\"],\n deleteSelfHostedRunnerFromRepo: [\"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\"],\n deleteWorkflowRun: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n deleteWorkflowRunLogs: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs\"],\n disableSelectedRepositoryGithubActionsOrganization: [\"DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}\"],\n disableWorkflow: [\"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable\"],\n downloadArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}\"],\n downloadJobLogsForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\"],\n downloadWorkflowRunAttemptLogs: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs\"],\n downloadWorkflowRunLogs: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\"],\n enableSelectedRepositoryGithubActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/repositories/{repository_id}\"],\n enableWorkflow: [\"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable\"],\n getActionsCacheList: [\"GET /repos/{owner}/{repo}/actions/caches\"],\n getActionsCacheUsage: [\"GET /repos/{owner}/{repo}/actions/cache/usage\"],\n getActionsCacheUsageByRepoForOrg: [\"GET /orgs/{org}/actions/cache/usage-by-repository\"],\n getActionsCacheUsageForEnterprise: [\"GET /enterprises/{enterprise}/actions/cache/usage\"],\n getActionsCacheUsageForOrg: [\"GET /orgs/{org}/actions/cache/usage\"],\n getAllowedActionsOrganization: [\"GET /orgs/{org}/actions/permissions/selected-actions\"],\n getAllowedActionsRepository: [\"GET /repos/{owner}/{repo}/actions/permissions/selected-actions\"],\n getArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n getEnvironmentPublicKey: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key\"],\n getEnvironmentSecret: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n getGithubActionsDefaultWorkflowPermissionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions/workflow\"],\n getGithubActionsDefaultWorkflowPermissionsOrganization: [\"GET /orgs/{org}/actions/permissions/workflow\"],\n getGithubActionsDefaultWorkflowPermissionsRepository: [\"GET /repos/{owner}/{repo}/actions/permissions/workflow\"],\n getGithubActionsPermissionsOrganization: [\"GET /orgs/{org}/actions/permissions\"],\n getGithubActionsPermissionsRepository: [\"GET /repos/{owner}/{repo}/actions/permissions\"],\n getJobForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/actions/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}\"],\n getPendingDeploymentsForRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\"],\n getRepoPermissions: [\"GET /repos/{owner}/{repo}/actions/permissions\", {}, {\n renamed: [\"actions\", \"getGithubActionsPermissionsRepository\"]\n }],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/actions/secrets/public-key\"],\n getRepoSecret: [\"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n getReviewsForRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals\"],\n getSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}\"],\n getSelfHostedRunnerForRepo: [\"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\"],\n getWorkflow: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}\"],\n getWorkflowAccessToRepository: [\"GET /repos/{owner}/{repo}/actions/permissions/access\"],\n getWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n getWorkflowRunAttempt: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}\"],\n getWorkflowRunUsage: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing\"],\n getWorkflowUsage: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing\"],\n listArtifactsForRepo: [\"GET /repos/{owner}/{repo}/actions/artifacts\"],\n listEnvironmentSecrets: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets\"],\n listJobsForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\"],\n listJobsForWorkflowRunAttempt: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs\"],\n listLabelsForSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}/labels\"],\n listLabelsForSelfHostedRunnerForRepo: [\"GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\"],\n listOrgSecrets: [\"GET /orgs/{org}/actions/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/actions/secrets\"],\n listRepoWorkflows: [\"GET /repos/{owner}/{repo}/actions/workflows\"],\n listRunnerApplicationsForOrg: [\"GET /orgs/{org}/actions/runners/downloads\"],\n listRunnerApplicationsForRepo: [\"GET /repos/{owner}/{repo}/actions/runners/downloads\"],\n listSelectedReposForOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\"],\n listSelectedRepositoriesEnabledGithubActionsOrganization: [\"GET /orgs/{org}/actions/permissions/repositories\"],\n listSelfHostedRunnersForOrg: [\"GET /orgs/{org}/actions/runners\"],\n listSelfHostedRunnersForRepo: [\"GET /repos/{owner}/{repo}/actions/runners\"],\n listWorkflowRunArtifacts: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\"],\n listWorkflowRuns: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\"],\n listWorkflowRunsForRepo: [\"GET /repos/{owner}/{repo}/actions/runs\"],\n reRunJobForWorkflowRun: [\"POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun\"],\n reRunWorkflow: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun\"],\n reRunWorkflowFailedJobs: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs\"],\n removeAllCustomLabelsFromSelfHostedRunnerForOrg: [\"DELETE /orgs/{org}/actions/runners/{runner_id}/labels\"],\n removeAllCustomLabelsFromSelfHostedRunnerForRepo: [\"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\"],\n removeCustomLabelFromSelfHostedRunnerForOrg: [\"DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}\"],\n removeCustomLabelFromSelfHostedRunnerForRepo: [\"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}\"],\n removeSelectedRepoFromOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\"],\n reviewPendingDeploymentsForRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\"],\n setActionsOidcCustomIssuerPolicyForEnterprise: [\"PUT /enterprises/{enterprise}/actions/oidc/customization/issuer\"],\n setAllowedActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/selected-actions\"],\n setAllowedActionsRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions/selected-actions\"],\n setCustomLabelsForSelfHostedRunnerForOrg: [\"PUT /orgs/{org}/actions/runners/{runner_id}/labels\"],\n setCustomLabelsForSelfHostedRunnerForRepo: [\"PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels\"],\n setGithubActionsDefaultWorkflowPermissionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/workflow\"],\n setGithubActionsDefaultWorkflowPermissionsOrganization: [\"PUT /orgs/{org}/actions/permissions/workflow\"],\n setGithubActionsDefaultWorkflowPermissionsRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions/workflow\"],\n setGithubActionsPermissionsOrganization: [\"PUT /orgs/{org}/actions/permissions\"],\n setGithubActionsPermissionsRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions\"],\n setSelectedReposForOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories\"],\n setSelectedRepositoriesEnabledGithubActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/repositories\"],\n setWorkflowAccessToRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions/access\"]\n },\n activity: {\n checkRepoIsStarredByAuthenticatedUser: [\"GET /user/starred/{owner}/{repo}\"],\n deleteRepoSubscription: [\"DELETE /repos/{owner}/{repo}/subscription\"],\n deleteThreadSubscription: [\"DELETE /notifications/threads/{thread_id}/subscription\"],\n getFeeds: [\"GET /feeds\"],\n getRepoSubscription: [\"GET /repos/{owner}/{repo}/subscription\"],\n getThread: [\"GET /notifications/threads/{thread_id}\"],\n getThreadSubscriptionForAuthenticatedUser: [\"GET /notifications/threads/{thread_id}/subscription\"],\n listEventsForAuthenticatedUser: [\"GET /users/{username}/events\"],\n listNotificationsForAuthenticatedUser: [\"GET /notifications\"],\n listOrgEventsForAuthenticatedUser: [\"GET /users/{username}/events/orgs/{org}\"],\n listPublicEvents: [\"GET /events\"],\n listPublicEventsForRepoNetwork: [\"GET /networks/{owner}/{repo}/events\"],\n listPublicEventsForUser: [\"GET /users/{username}/events/public\"],\n listPublicOrgEvents: [\"GET /orgs/{org}/events\"],\n listReceivedEventsForUser: [\"GET /users/{username}/received_events\"],\n listReceivedPublicEventsForUser: [\"GET /users/{username}/received_events/public\"],\n listRepoEvents: [\"GET /repos/{owner}/{repo}/events\"],\n listRepoNotificationsForAuthenticatedUser: [\"GET /repos/{owner}/{repo}/notifications\"],\n listReposStarredByAuthenticatedUser: [\"GET /user/starred\"],\n listReposStarredByUser: [\"GET /users/{username}/starred\"],\n listReposWatchedByUser: [\"GET /users/{username}/subscriptions\"],\n listStargazersForRepo: [\"GET /repos/{owner}/{repo}/stargazers\"],\n listWatchedReposForAuthenticatedUser: [\"GET /user/subscriptions\"],\n listWatchersForRepo: [\"GET /repos/{owner}/{repo}/subscribers\"],\n markNotificationsAsRead: [\"PUT /notifications\"],\n markRepoNotificationsAsRead: [\"PUT /repos/{owner}/{repo}/notifications\"],\n markThreadAsRead: [\"PATCH /notifications/threads/{thread_id}\"],\n setRepoSubscription: [\"PUT /repos/{owner}/{repo}/subscription\"],\n setThreadSubscription: [\"PUT /notifications/threads/{thread_id}/subscription\"],\n starRepoForAuthenticatedUser: [\"PUT /user/starred/{owner}/{repo}\"],\n unstarRepoForAuthenticatedUser: [\"DELETE /user/starred/{owner}/{repo}\"]\n },\n apps: {\n addRepoToInstallation: [\"PUT /user/installations/{installation_id}/repositories/{repository_id}\", {}, {\n renamed: [\"apps\", \"addRepoToInstallationForAuthenticatedUser\"]\n }],\n addRepoToInstallationForAuthenticatedUser: [\"PUT /user/installations/{installation_id}/repositories/{repository_id}\"],\n checkToken: [\"POST /applications/{client_id}/token\"],\n createFromManifest: [\"POST /app-manifests/{code}/conversions\"],\n createInstallationAccessToken: [\"POST /app/installations/{installation_id}/access_tokens\"],\n deleteAuthorization: [\"DELETE /applications/{client_id}/grant\"],\n deleteInstallation: [\"DELETE /app/installations/{installation_id}\"],\n deleteToken: [\"DELETE /applications/{client_id}/token\"],\n getAuthenticated: [\"GET /app\"],\n getBySlug: [\"GET /apps/{app_slug}\"],\n getInstallation: [\"GET /app/installations/{installation_id}\"],\n getOrgInstallation: [\"GET /orgs/{org}/installation\"],\n getRepoInstallation: [\"GET /repos/{owner}/{repo}/installation\"],\n getSubscriptionPlanForAccount: [\"GET /marketplace_listing/accounts/{account_id}\"],\n getSubscriptionPlanForAccountStubbed: [\"GET /marketplace_listing/stubbed/accounts/{account_id}\"],\n getUserInstallation: [\"GET /users/{username}/installation\"],\n getWebhookConfigForApp: [\"GET /app/hook/config\"],\n getWebhookDelivery: [\"GET /app/hook/deliveries/{delivery_id}\"],\n listAccountsForPlan: [\"GET /marketplace_listing/plans/{plan_id}/accounts\"],\n listAccountsForPlanStubbed: [\"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\"],\n listInstallationReposForAuthenticatedUser: [\"GET /user/installations/{installation_id}/repositories\"],\n listInstallations: [\"GET /app/installations\"],\n listInstallationsForAuthenticatedUser: [\"GET /user/installations\"],\n listPlans: [\"GET /marketplace_listing/plans\"],\n listPlansStubbed: [\"GET /marketplace_listing/stubbed/plans\"],\n listReposAccessibleToInstallation: [\"GET /installation/repositories\"],\n listSubscriptionsForAuthenticatedUser: [\"GET /user/marketplace_purchases\"],\n listSubscriptionsForAuthenticatedUserStubbed: [\"GET /user/marketplace_purchases/stubbed\"],\n listWebhookDeliveries: [\"GET /app/hook/deliveries\"],\n redeliverWebhookDelivery: [\"POST /app/hook/deliveries/{delivery_id}/attempts\"],\n removeRepoFromInstallation: [\"DELETE /user/installations/{installation_id}/repositories/{repository_id}\", {}, {\n renamed: [\"apps\", \"removeRepoFromInstallationForAuthenticatedUser\"]\n }],\n removeRepoFromInstallationForAuthenticatedUser: [\"DELETE /user/installations/{installation_id}/repositories/{repository_id}\"],\n resetToken: [\"PATCH /applications/{client_id}/token\"],\n revokeInstallationAccessToken: [\"DELETE /installation/token\"],\n scopeToken: [\"POST /applications/{client_id}/token/scoped\"],\n suspendInstallation: [\"PUT /app/installations/{installation_id}/suspended\"],\n unsuspendInstallation: [\"DELETE /app/installations/{installation_id}/suspended\"],\n updateWebhookConfigForApp: [\"PATCH /app/hook/config\"]\n },\n billing: {\n getGithubActionsBillingOrg: [\"GET /orgs/{org}/settings/billing/actions\"],\n getGithubActionsBillingUser: [\"GET /users/{username}/settings/billing/actions\"],\n getGithubAdvancedSecurityBillingGhe: [\"GET /enterprises/{enterprise}/settings/billing/advanced-security\"],\n getGithubAdvancedSecurityBillingOrg: [\"GET /orgs/{org}/settings/billing/advanced-security\"],\n getGithubPackagesBillingOrg: [\"GET /orgs/{org}/settings/billing/packages\"],\n getGithubPackagesBillingUser: [\"GET /users/{username}/settings/billing/packages\"],\n getSharedStorageBillingOrg: [\"GET /orgs/{org}/settings/billing/shared-storage\"],\n getSharedStorageBillingUser: [\"GET /users/{username}/settings/billing/shared-storage\"]\n },\n checks: {\n create: [\"POST /repos/{owner}/{repo}/check-runs\"],\n createSuite: [\"POST /repos/{owner}/{repo}/check-suites\"],\n get: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}\"],\n getSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}\"],\n listAnnotations: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\"],\n listForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\"],\n listForSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\"],\n listSuitesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\"],\n rerequestRun: [\"POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest\"],\n rerequestSuite: [\"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest\"],\n setSuitesPreferences: [\"PATCH /repos/{owner}/{repo}/check-suites/preferences\"],\n update: [\"PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}\"]\n },\n codeScanning: {\n deleteAnalysis: [\"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}\"],\n getAlert: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\", {}, {\n renamedParameters: {\n alert_id: \"alert_number\"\n }\n }],\n getAnalysis: [\"GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}\"],\n getSarif: [\"GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}\"],\n listAlertInstances: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\"],\n listAlertsForOrg: [\"GET /orgs/{org}/code-scanning/alerts\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/code-scanning/alerts\"],\n listAlertsInstances: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\", {}, {\n renamed: [\"codeScanning\", \"listAlertInstances\"]\n }],\n listRecentAnalyses: [\"GET /repos/{owner}/{repo}/code-scanning/analyses\"],\n updateAlert: [\"PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\"],\n uploadSarif: [\"POST /repos/{owner}/{repo}/code-scanning/sarifs\"]\n },\n codesOfConduct: {\n getAllCodesOfConduct: [\"GET /codes_of_conduct\"],\n getConductCode: [\"GET /codes_of_conduct/{key}\"]\n },\n codespaces: {\n addRepositoryForSecretForAuthenticatedUser: [\"PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}\"],\n codespaceMachinesForAuthenticatedUser: [\"GET /user/codespaces/{codespace_name}/machines\"],\n createForAuthenticatedUser: [\"POST /user/codespaces\"],\n createOrUpdateRepoSecret: [\"PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}\"],\n createOrUpdateSecretForAuthenticatedUser: [\"PUT /user/codespaces/secrets/{secret_name}\"],\n createWithPrForAuthenticatedUser: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces\"],\n createWithRepoForAuthenticatedUser: [\"POST /repos/{owner}/{repo}/codespaces\"],\n deleteForAuthenticatedUser: [\"DELETE /user/codespaces/{codespace_name}\"],\n deleteFromOrganization: [\"DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}\"],\n deleteRepoSecret: [\"DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}\"],\n deleteSecretForAuthenticatedUser: [\"DELETE /user/codespaces/secrets/{secret_name}\"],\n exportForAuthenticatedUser: [\"POST /user/codespaces/{codespace_name}/exports\"],\n getExportDetailsForAuthenticatedUser: [\"GET /user/codespaces/{codespace_name}/exports/{export_id}\"],\n getForAuthenticatedUser: [\"GET /user/codespaces/{codespace_name}\"],\n getPublicKeyForAuthenticatedUser: [\"GET /user/codespaces/secrets/public-key\"],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/codespaces/secrets/public-key\"],\n getRepoSecret: [\"GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}\"],\n getSecretForAuthenticatedUser: [\"GET /user/codespaces/secrets/{secret_name}\"],\n listDevcontainersInRepositoryForAuthenticatedUser: [\"GET /repos/{owner}/{repo}/codespaces/devcontainers\"],\n listForAuthenticatedUser: [\"GET /user/codespaces\"],\n listInOrganization: [\"GET /orgs/{org_id}/codespaces\"],\n listInRepositoryForAuthenticatedUser: [\"GET /repos/{owner}/{repo}/codespaces\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/codespaces/secrets\"],\n listRepositoriesForSecretForAuthenticatedUser: [\"GET /user/codespaces/secrets/{secret_name}/repositories\"],\n listSecretsForAuthenticatedUser: [\"GET /user/codespaces/secrets\"],\n removeRepositoryForSecretForAuthenticatedUser: [\"DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}\"],\n repoMachinesForAuthenticatedUser: [\"GET /repos/{owner}/{repo}/codespaces/machines\"],\n setRepositoriesForSecretForAuthenticatedUser: [\"PUT /user/codespaces/secrets/{secret_name}/repositories\"],\n startForAuthenticatedUser: [\"POST /user/codespaces/{codespace_name}/start\"],\n stopForAuthenticatedUser: [\"POST /user/codespaces/{codespace_name}/stop\"],\n stopInOrganization: [\"POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop\"],\n updateForAuthenticatedUser: [\"PATCH /user/codespaces/{codespace_name}\"]\n },\n dependabot: {\n addSelectedRepoToOrgSecret: [\"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}\"],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/dependabot/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\"PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}\"],\n deleteOrgSecret: [\"DELETE /orgs/{org}/dependabot/secrets/{secret_name}\"],\n deleteRepoSecret: [\"DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/dependabot/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/dependabot/secrets/{secret_name}\"],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/dependabot/secrets/public-key\"],\n getRepoSecret: [\"GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}\"],\n listOrgSecrets: [\"GET /orgs/{org}/dependabot/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/dependabot/secrets\"],\n listSelectedReposForOrgSecret: [\"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories\"],\n removeSelectedRepoFromOrgSecret: [\"DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}\"],\n setSelectedReposForOrgSecret: [\"PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories\"]\n },\n dependencyGraph: {\n createRepositorySnapshot: [\"POST /repos/{owner}/{repo}/dependency-graph/snapshots\"],\n diffRange: [\"GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}\"]\n },\n emojis: {\n get: [\"GET /emojis\"]\n },\n enterpriseAdmin: {\n addCustomLabelsToSelfHostedRunnerForEnterprise: [\"POST /enterprises/{enterprise}/actions/runners/{runner_id}/labels\"],\n disableSelectedOrganizationGithubActionsEnterprise: [\"DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\"],\n enableSelectedOrganizationGithubActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\"],\n getAllowedActionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions/selected-actions\"],\n getGithubActionsPermissionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions\"],\n getServerStatistics: [\"GET /enterprise-installation/{enterprise_or_org}/server-statistics\"],\n listLabelsForSelfHostedRunnerForEnterprise: [\"GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels\"],\n listSelectedOrganizationsEnabledGithubActionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions/organizations\"],\n removeAllCustomLabelsFromSelfHostedRunnerForEnterprise: [\"DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels\"],\n removeCustomLabelFromSelfHostedRunnerForEnterprise: [\"DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}\"],\n setAllowedActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/selected-actions\"],\n setCustomLabelsForSelfHostedRunnerForEnterprise: [\"PUT /enterprises/{enterprise}/actions/runners/{runner_id}/labels\"],\n setGithubActionsPermissionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions\"],\n setSelectedOrganizationsEnabledGithubActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/organizations\"]\n },\n gists: {\n checkIsStarred: [\"GET /gists/{gist_id}/star\"],\n create: [\"POST /gists\"],\n createComment: [\"POST /gists/{gist_id}/comments\"],\n delete: [\"DELETE /gists/{gist_id}\"],\n deleteComment: [\"DELETE /gists/{gist_id}/comments/{comment_id}\"],\n fork: [\"POST /gists/{gist_id}/forks\"],\n get: [\"GET /gists/{gist_id}\"],\n getComment: [\"GET /gists/{gist_id}/comments/{comment_id}\"],\n getRevision: [\"GET /gists/{gist_id}/{sha}\"],\n list: [\"GET /gists\"],\n listComments: [\"GET /gists/{gist_id}/comments\"],\n listCommits: [\"GET /gists/{gist_id}/commits\"],\n listForUser: [\"GET /users/{username}/gists\"],\n listForks: [\"GET /gists/{gist_id}/forks\"],\n listPublic: [\"GET /gists/public\"],\n listStarred: [\"GET /gists/starred\"],\n star: [\"PUT /gists/{gist_id}/star\"],\n unstar: [\"DELETE /gists/{gist_id}/star\"],\n update: [\"PATCH /gists/{gist_id}\"],\n updateComment: [\"PATCH /gists/{gist_id}/comments/{comment_id}\"]\n },\n git: {\n createBlob: [\"POST /repos/{owner}/{repo}/git/blobs\"],\n createCommit: [\"POST /repos/{owner}/{repo}/git/commits\"],\n createRef: [\"POST /repos/{owner}/{repo}/git/refs\"],\n createTag: [\"POST /repos/{owner}/{repo}/git/tags\"],\n createTree: [\"POST /repos/{owner}/{repo}/git/trees\"],\n deleteRef: [\"DELETE /repos/{owner}/{repo}/git/refs/{ref}\"],\n getBlob: [\"GET /repos/{owner}/{repo}/git/blobs/{file_sha}\"],\n getCommit: [\"GET /repos/{owner}/{repo}/git/commits/{commit_sha}\"],\n getRef: [\"GET /repos/{owner}/{repo}/git/ref/{ref}\"],\n getTag: [\"GET /repos/{owner}/{repo}/git/tags/{tag_sha}\"],\n getTree: [\"GET /repos/{owner}/{repo}/git/trees/{tree_sha}\"],\n listMatchingRefs: [\"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\"],\n updateRef: [\"PATCH /repos/{owner}/{repo}/git/refs/{ref}\"]\n },\n gitignore: {\n getAllTemplates: [\"GET /gitignore/templates\"],\n getTemplate: [\"GET /gitignore/templates/{name}\"]\n },\n interactions: {\n getRestrictionsForAuthenticatedUser: [\"GET /user/interaction-limits\"],\n getRestrictionsForOrg: [\"GET /orgs/{org}/interaction-limits\"],\n getRestrictionsForRepo: [\"GET /repos/{owner}/{repo}/interaction-limits\"],\n getRestrictionsForYourPublicRepos: [\"GET /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"getRestrictionsForAuthenticatedUser\"]\n }],\n removeRestrictionsForAuthenticatedUser: [\"DELETE /user/interaction-limits\"],\n removeRestrictionsForOrg: [\"DELETE /orgs/{org}/interaction-limits\"],\n removeRestrictionsForRepo: [\"DELETE /repos/{owner}/{repo}/interaction-limits\"],\n removeRestrictionsForYourPublicRepos: [\"DELETE /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"removeRestrictionsForAuthenticatedUser\"]\n }],\n setRestrictionsForAuthenticatedUser: [\"PUT /user/interaction-limits\"],\n setRestrictionsForOrg: [\"PUT /orgs/{org}/interaction-limits\"],\n setRestrictionsForRepo: [\"PUT /repos/{owner}/{repo}/interaction-limits\"],\n setRestrictionsForYourPublicRepos: [\"PUT /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"setRestrictionsForAuthenticatedUser\"]\n }]\n },\n issues: {\n addAssignees: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees\"],\n addLabels: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n checkUserCanBeAssigned: [\"GET /repos/{owner}/{repo}/assignees/{assignee}\"],\n create: [\"POST /repos/{owner}/{repo}/issues\"],\n createComment: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n createLabel: [\"POST /repos/{owner}/{repo}/labels\"],\n createMilestone: [\"POST /repos/{owner}/{repo}/milestones\"],\n deleteComment: [\"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n deleteLabel: [\"DELETE /repos/{owner}/{repo}/labels/{name}\"],\n deleteMilestone: [\"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n get: [\"GET /repos/{owner}/{repo}/issues/{issue_number}\"],\n getComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n getEvent: [\"GET /repos/{owner}/{repo}/issues/events/{event_id}\"],\n getLabel: [\"GET /repos/{owner}/{repo}/labels/{name}\"],\n getMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n list: [\"GET /issues\"],\n listAssignees: [\"GET /repos/{owner}/{repo}/assignees\"],\n listComments: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n listCommentsForRepo: [\"GET /repos/{owner}/{repo}/issues/comments\"],\n listEvents: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/events\"],\n listEventsForRepo: [\"GET /repos/{owner}/{repo}/issues/events\"],\n listEventsForTimeline: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\"],\n listForAuthenticatedUser: [\"GET /user/issues\"],\n listForOrg: [\"GET /orgs/{org}/issues\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/issues\"],\n listLabelsForMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\"],\n listLabelsForRepo: [\"GET /repos/{owner}/{repo}/labels\"],\n listLabelsOnIssue: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n listMilestones: [\"GET /repos/{owner}/{repo}/milestones\"],\n lock: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n removeAllLabels: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n removeAssignees: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees\"],\n removeLabel: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}\"],\n setLabels: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n unlock: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n update: [\"PATCH /repos/{owner}/{repo}/issues/{issue_number}\"],\n updateComment: [\"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n updateLabel: [\"PATCH /repos/{owner}/{repo}/labels/{name}\"],\n updateMilestone: [\"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}\"]\n },\n licenses: {\n get: [\"GET /licenses/{license}\"],\n getAllCommonlyUsed: [\"GET /licenses\"],\n getForRepo: [\"GET /repos/{owner}/{repo}/license\"]\n },\n markdown: {\n render: [\"POST /markdown\"],\n renderRaw: [\"POST /markdown/raw\", {\n headers: {\n \"content-type\": \"text/plain; charset=utf-8\"\n }\n }]\n },\n meta: {\n get: [\"GET /meta\"],\n getOctocat: [\"GET /octocat\"],\n getZen: [\"GET /zen\"],\n root: [\"GET /\"]\n },\n migrations: {\n cancelImport: [\"DELETE /repos/{owner}/{repo}/import\"],\n deleteArchiveForAuthenticatedUser: [\"DELETE /user/migrations/{migration_id}/archive\"],\n deleteArchiveForOrg: [\"DELETE /orgs/{org}/migrations/{migration_id}/archive\"],\n downloadArchiveForOrg: [\"GET /orgs/{org}/migrations/{migration_id}/archive\"],\n getArchiveForAuthenticatedUser: [\"GET /user/migrations/{migration_id}/archive\"],\n getCommitAuthors: [\"GET /repos/{owner}/{repo}/import/authors\"],\n getImportStatus: [\"GET /repos/{owner}/{repo}/import\"],\n getLargeFiles: [\"GET /repos/{owner}/{repo}/import/large_files\"],\n getStatusForAuthenticatedUser: [\"GET /user/migrations/{migration_id}\"],\n getStatusForOrg: [\"GET /orgs/{org}/migrations/{migration_id}\"],\n listForAuthenticatedUser: [\"GET /user/migrations\"],\n listForOrg: [\"GET /orgs/{org}/migrations\"],\n listReposForAuthenticatedUser: [\"GET /user/migrations/{migration_id}/repositories\"],\n listReposForOrg: [\"GET /orgs/{org}/migrations/{migration_id}/repositories\"],\n listReposForUser: [\"GET /user/migrations/{migration_id}/repositories\", {}, {\n renamed: [\"migrations\", \"listReposForAuthenticatedUser\"]\n }],\n mapCommitAuthor: [\"PATCH /repos/{owner}/{repo}/import/authors/{author_id}\"],\n setLfsPreference: [\"PATCH /repos/{owner}/{repo}/import/lfs\"],\n startForAuthenticatedUser: [\"POST /user/migrations\"],\n startForOrg: [\"POST /orgs/{org}/migrations\"],\n startImport: [\"PUT /repos/{owner}/{repo}/import\"],\n unlockRepoForAuthenticatedUser: [\"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock\"],\n unlockRepoForOrg: [\"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock\"],\n updateImport: [\"PATCH /repos/{owner}/{repo}/import\"]\n },\n orgs: {\n blockUser: [\"PUT /orgs/{org}/blocks/{username}\"],\n cancelInvitation: [\"DELETE /orgs/{org}/invitations/{invitation_id}\"],\n checkBlockedUser: [\"GET /orgs/{org}/blocks/{username}\"],\n checkMembershipForUser: [\"GET /orgs/{org}/members/{username}\"],\n checkPublicMembershipForUser: [\"GET /orgs/{org}/public_members/{username}\"],\n convertMemberToOutsideCollaborator: [\"PUT /orgs/{org}/outside_collaborators/{username}\"],\n createInvitation: [\"POST /orgs/{org}/invitations\"],\n createWebhook: [\"POST /orgs/{org}/hooks\"],\n deleteWebhook: [\"DELETE /orgs/{org}/hooks/{hook_id}\"],\n get: [\"GET /orgs/{org}\"],\n getMembershipForAuthenticatedUser: [\"GET /user/memberships/orgs/{org}\"],\n getMembershipForUser: [\"GET /orgs/{org}/memberships/{username}\"],\n getWebhook: [\"GET /orgs/{org}/hooks/{hook_id}\"],\n getWebhookConfigForOrg: [\"GET /orgs/{org}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}\"],\n list: [\"GET /organizations\"],\n listAppInstallations: [\"GET /orgs/{org}/installations\"],\n listBlockedUsers: [\"GET /orgs/{org}/blocks\"],\n listCustomRoles: [\"GET /organizations/{organization_id}/custom_roles\"],\n listFailedInvitations: [\"GET /orgs/{org}/failed_invitations\"],\n listForAuthenticatedUser: [\"GET /user/orgs\"],\n listForUser: [\"GET /users/{username}/orgs\"],\n listInvitationTeams: [\"GET /orgs/{org}/invitations/{invitation_id}/teams\"],\n listMembers: [\"GET /orgs/{org}/members\"],\n listMembershipsForAuthenticatedUser: [\"GET /user/memberships/orgs\"],\n listOutsideCollaborators: [\"GET /orgs/{org}/outside_collaborators\"],\n listPendingInvitations: [\"GET /orgs/{org}/invitations\"],\n listPublicMembers: [\"GET /orgs/{org}/public_members\"],\n listWebhookDeliveries: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /orgs/{org}/hooks\"],\n pingWebhook: [\"POST /orgs/{org}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\"],\n removeMember: [\"DELETE /orgs/{org}/members/{username}\"],\n removeMembershipForUser: [\"DELETE /orgs/{org}/memberships/{username}\"],\n removeOutsideCollaborator: [\"DELETE /orgs/{org}/outside_collaborators/{username}\"],\n removePublicMembershipForAuthenticatedUser: [\"DELETE /orgs/{org}/public_members/{username}\"],\n setMembershipForUser: [\"PUT /orgs/{org}/memberships/{username}\"],\n setPublicMembershipForAuthenticatedUser: [\"PUT /orgs/{org}/public_members/{username}\"],\n unblockUser: [\"DELETE /orgs/{org}/blocks/{username}\"],\n update: [\"PATCH /orgs/{org}\"],\n updateMembershipForAuthenticatedUser: [\"PATCH /user/memberships/orgs/{org}\"],\n updateWebhook: [\"PATCH /orgs/{org}/hooks/{hook_id}\"],\n updateWebhookConfigForOrg: [\"PATCH /orgs/{org}/hooks/{hook_id}/config\"]\n },\n packages: {\n deletePackageForAuthenticatedUser: [\"DELETE /user/packages/{package_type}/{package_name}\"],\n deletePackageForOrg: [\"DELETE /orgs/{org}/packages/{package_type}/{package_name}\"],\n deletePackageForUser: [\"DELETE /users/{username}/packages/{package_type}/{package_name}\"],\n deletePackageVersionForAuthenticatedUser: [\"DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n deletePackageVersionForOrg: [\"DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n deletePackageVersionForUser: [\"DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getAllPackageVersionsForAPackageOwnedByAnOrg: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\", {}, {\n renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByOrg\"]\n }],\n getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions\", {}, {\n renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByAuthenticatedUser\"]\n }],\n getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions\"],\n getAllPackageVersionsForPackageOwnedByOrg: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\"],\n getAllPackageVersionsForPackageOwnedByUser: [\"GET /users/{username}/packages/{package_type}/{package_name}/versions\"],\n getPackageForAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}\"],\n getPackageForOrganization: [\"GET /orgs/{org}/packages/{package_type}/{package_name}\"],\n getPackageForUser: [\"GET /users/{username}/packages/{package_type}/{package_name}\"],\n getPackageVersionForAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getPackageVersionForOrganization: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getPackageVersionForUser: [\"GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n listPackagesForAuthenticatedUser: [\"GET /user/packages\"],\n listPackagesForOrganization: [\"GET /orgs/{org}/packages\"],\n listPackagesForUser: [\"GET /users/{username}/packages\"],\n restorePackageForAuthenticatedUser: [\"POST /user/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageForOrg: [\"POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageForUser: [\"POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageVersionForAuthenticatedUser: [\"POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"],\n restorePackageVersionForOrg: [\"POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"],\n restorePackageVersionForUser: [\"POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"]\n },\n projects: {\n addCollaborator: [\"PUT /projects/{project_id}/collaborators/{username}\"],\n createCard: [\"POST /projects/columns/{column_id}/cards\"],\n createColumn: [\"POST /projects/{project_id}/columns\"],\n createForAuthenticatedUser: [\"POST /user/projects\"],\n createForOrg: [\"POST /orgs/{org}/projects\"],\n createForRepo: [\"POST /repos/{owner}/{repo}/projects\"],\n delete: [\"DELETE /projects/{project_id}\"],\n deleteCard: [\"DELETE /projects/columns/cards/{card_id}\"],\n deleteColumn: [\"DELETE /projects/columns/{column_id}\"],\n get: [\"GET /projects/{project_id}\"],\n getCard: [\"GET /projects/columns/cards/{card_id}\"],\n getColumn: [\"GET /projects/columns/{column_id}\"],\n getPermissionForUser: [\"GET /projects/{project_id}/collaborators/{username}/permission\"],\n listCards: [\"GET /projects/columns/{column_id}/cards\"],\n listCollaborators: [\"GET /projects/{project_id}/collaborators\"],\n listColumns: [\"GET /projects/{project_id}/columns\"],\n listForOrg: [\"GET /orgs/{org}/projects\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/projects\"],\n listForUser: [\"GET /users/{username}/projects\"],\n moveCard: [\"POST /projects/columns/cards/{card_id}/moves\"],\n moveColumn: [\"POST /projects/columns/{column_id}/moves\"],\n removeCollaborator: [\"DELETE /projects/{project_id}/collaborators/{username}\"],\n update: [\"PATCH /projects/{project_id}\"],\n updateCard: [\"PATCH /projects/columns/cards/{card_id}\"],\n updateColumn: [\"PATCH /projects/columns/{column_id}\"]\n },\n pulls: {\n checkIfMerged: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n create: [\"POST /repos/{owner}/{repo}/pulls\"],\n createReplyForReviewComment: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\"],\n createReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n createReviewComment: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\"],\n deletePendingReview: [\"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n deleteReviewComment: [\"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n dismissReview: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals\"],\n get: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}\"],\n getReview: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n getReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n list: [\"GET /repos/{owner}/{repo}/pulls\"],\n listCommentsForReview: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\"],\n listCommits: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\"],\n listFiles: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\"],\n listRequestedReviewers: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n listReviewComments: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\"],\n listReviewCommentsForRepo: [\"GET /repos/{owner}/{repo}/pulls/comments\"],\n listReviews: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n merge: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n removeRequestedReviewers: [\"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n requestReviewers: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n submitReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events\"],\n update: [\"PATCH /repos/{owner}/{repo}/pulls/{pull_number}\"],\n updateBranch: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch\"],\n updateReview: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n updateReviewComment: [\"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\"]\n },\n rateLimit: {\n get: [\"GET /rate_limit\"]\n },\n reactions: {\n createForCommitComment: [\"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions\"],\n createForIssue: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions\"],\n createForIssueComment: [\"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\"],\n createForPullRequestReviewComment: [\"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\"],\n createForRelease: [\"POST /repos/{owner}/{repo}/releases/{release_id}/reactions\"],\n createForTeamDiscussionCommentInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\"],\n createForTeamDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\"],\n deleteForCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}\"],\n deleteForIssue: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}\"],\n deleteForIssueComment: [\"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}\"],\n deleteForPullRequestComment: [\"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}\"],\n deleteForRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}\"],\n deleteForTeamDiscussion: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}\"],\n deleteForTeamDiscussionComment: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}\"],\n listForCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\"],\n listForIssue: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\"],\n listForIssueComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\"],\n listForPullRequestReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\"],\n listForRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}/reactions\"],\n listForTeamDiscussionCommentInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\"],\n listForTeamDiscussionInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\"]\n },\n repos: {\n acceptInvitation: [\"PATCH /user/repository_invitations/{invitation_id}\", {}, {\n renamed: [\"repos\", \"acceptInvitationForAuthenticatedUser\"]\n }],\n acceptInvitationForAuthenticatedUser: [\"PATCH /user/repository_invitations/{invitation_id}\"],\n addAppAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n addCollaborator: [\"PUT /repos/{owner}/{repo}/collaborators/{username}\"],\n addStatusCheckContexts: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n addTeamAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n addUserAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n checkCollaborator: [\"GET /repos/{owner}/{repo}/collaborators/{username}\"],\n checkVulnerabilityAlerts: [\"GET /repos/{owner}/{repo}/vulnerability-alerts\"],\n codeownersErrors: [\"GET /repos/{owner}/{repo}/codeowners/errors\"],\n compareCommits: [\"GET /repos/{owner}/{repo}/compare/{base}...{head}\"],\n compareCommitsWithBasehead: [\"GET /repos/{owner}/{repo}/compare/{basehead}\"],\n createAutolink: [\"POST /repos/{owner}/{repo}/autolinks\"],\n createCommitComment: [\"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments\"],\n createCommitSignatureProtection: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"],\n createCommitStatus: [\"POST /repos/{owner}/{repo}/statuses/{sha}\"],\n createDeployKey: [\"POST /repos/{owner}/{repo}/keys\"],\n createDeployment: [\"POST /repos/{owner}/{repo}/deployments\"],\n createDeploymentStatus: [\"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\"],\n createDispatchEvent: [\"POST /repos/{owner}/{repo}/dispatches\"],\n createForAuthenticatedUser: [\"POST /user/repos\"],\n createFork: [\"POST /repos/{owner}/{repo}/forks\"],\n createInOrg: [\"POST /orgs/{org}/repos\"],\n createOrUpdateEnvironment: [\"PUT /repos/{owner}/{repo}/environments/{environment_name}\"],\n createOrUpdateFileContents: [\"PUT /repos/{owner}/{repo}/contents/{path}\"],\n createPagesSite: [\"POST /repos/{owner}/{repo}/pages\"],\n createRelease: [\"POST /repos/{owner}/{repo}/releases\"],\n createTagProtection: [\"POST /repos/{owner}/{repo}/tags/protection\"],\n createUsingTemplate: [\"POST /repos/{template_owner}/{template_repo}/generate\"],\n createWebhook: [\"POST /repos/{owner}/{repo}/hooks\"],\n declineInvitation: [\"DELETE /user/repository_invitations/{invitation_id}\", {}, {\n renamed: [\"repos\", \"declineInvitationForAuthenticatedUser\"]\n }],\n declineInvitationForAuthenticatedUser: [\"DELETE /user/repository_invitations/{invitation_id}\"],\n delete: [\"DELETE /repos/{owner}/{repo}\"],\n deleteAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\"],\n deleteAdminBranchProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n deleteAnEnvironment: [\"DELETE /repos/{owner}/{repo}/environments/{environment_name}\"],\n deleteAutolink: [\"DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}\"],\n deleteBranchProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\"],\n deleteCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}\"],\n deleteCommitSignatureProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"],\n deleteDeployKey: [\"DELETE /repos/{owner}/{repo}/keys/{key_id}\"],\n deleteDeployment: [\"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n deleteFile: [\"DELETE /repos/{owner}/{repo}/contents/{path}\"],\n deleteInvitation: [\"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}\"],\n deletePagesSite: [\"DELETE /repos/{owner}/{repo}/pages\"],\n deletePullRequestReviewProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n deleteRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}\"],\n deleteReleaseAsset: [\"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n deleteTagProtection: [\"DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}\"],\n deleteWebhook: [\"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\"],\n disableAutomatedSecurityFixes: [\"DELETE /repos/{owner}/{repo}/automated-security-fixes\"],\n disableLfsForRepo: [\"DELETE /repos/{owner}/{repo}/lfs\"],\n disableVulnerabilityAlerts: [\"DELETE /repos/{owner}/{repo}/vulnerability-alerts\"],\n downloadArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\", {}, {\n renamed: [\"repos\", \"downloadZipballArchive\"]\n }],\n downloadTarballArchive: [\"GET /repos/{owner}/{repo}/tarball/{ref}\"],\n downloadZipballArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\"],\n enableAutomatedSecurityFixes: [\"PUT /repos/{owner}/{repo}/automated-security-fixes\"],\n enableLfsForRepo: [\"PUT /repos/{owner}/{repo}/lfs\"],\n enableVulnerabilityAlerts: [\"PUT /repos/{owner}/{repo}/vulnerability-alerts\"],\n generateReleaseNotes: [\"POST /repos/{owner}/{repo}/releases/generate-notes\"],\n get: [\"GET /repos/{owner}/{repo}\"],\n getAccessRestrictions: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\"],\n getAdminBranchProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n getAllEnvironments: [\"GET /repos/{owner}/{repo}/environments\"],\n getAllStatusCheckContexts: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\"],\n getAllTopics: [\"GET /repos/{owner}/{repo}/topics\"],\n getAppsWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\"],\n getAutolink: [\"GET /repos/{owner}/{repo}/autolinks/{autolink_id}\"],\n getBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}\"],\n getBranchProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection\"],\n getClones: [\"GET /repos/{owner}/{repo}/traffic/clones\"],\n getCodeFrequencyStats: [\"GET /repos/{owner}/{repo}/stats/code_frequency\"],\n getCollaboratorPermissionLevel: [\"GET /repos/{owner}/{repo}/collaborators/{username}/permission\"],\n getCombinedStatusForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/status\"],\n getCommit: [\"GET /repos/{owner}/{repo}/commits/{ref}\"],\n getCommitActivityStats: [\"GET /repos/{owner}/{repo}/stats/commit_activity\"],\n getCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}\"],\n getCommitSignatureProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\"],\n getCommunityProfileMetrics: [\"GET /repos/{owner}/{repo}/community/profile\"],\n getContent: [\"GET /repos/{owner}/{repo}/contents/{path}\"],\n getContributorsStats: [\"GET /repos/{owner}/{repo}/stats/contributors\"],\n getDeployKey: [\"GET /repos/{owner}/{repo}/keys/{key_id}\"],\n getDeployment: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n getDeploymentStatus: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}\"],\n getEnvironment: [\"GET /repos/{owner}/{repo}/environments/{environment_name}\"],\n getLatestPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/latest\"],\n getLatestRelease: [\"GET /repos/{owner}/{repo}/releases/latest\"],\n getPages: [\"GET /repos/{owner}/{repo}/pages\"],\n getPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/{build_id}\"],\n getPagesHealthCheck: [\"GET /repos/{owner}/{repo}/pages/health\"],\n getParticipationStats: [\"GET /repos/{owner}/{repo}/stats/participation\"],\n getPullRequestReviewProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n getPunchCardStats: [\"GET /repos/{owner}/{repo}/stats/punch_card\"],\n getReadme: [\"GET /repos/{owner}/{repo}/readme\"],\n getReadmeInDirectory: [\"GET /repos/{owner}/{repo}/readme/{dir}\"],\n getRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}\"],\n getReleaseAsset: [\"GET /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n getReleaseByTag: [\"GET /repos/{owner}/{repo}/releases/tags/{tag}\"],\n getStatusChecksProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n getTeamsWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\"],\n getTopPaths: [\"GET /repos/{owner}/{repo}/traffic/popular/paths\"],\n getTopReferrers: [\"GET /repos/{owner}/{repo}/traffic/popular/referrers\"],\n getUsersWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\"],\n getViews: [\"GET /repos/{owner}/{repo}/traffic/views\"],\n getWebhook: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}\"],\n getWebhookConfigForRepo: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}\"],\n listAutolinks: [\"GET /repos/{owner}/{repo}/autolinks\"],\n listBranches: [\"GET /repos/{owner}/{repo}/branches\"],\n listBranchesForHeadCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\"],\n listCollaborators: [\"GET /repos/{owner}/{repo}/collaborators\"],\n listCommentsForCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\"],\n listCommitCommentsForRepo: [\"GET /repos/{owner}/{repo}/comments\"],\n listCommitStatusesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/statuses\"],\n listCommits: [\"GET /repos/{owner}/{repo}/commits\"],\n listContributors: [\"GET /repos/{owner}/{repo}/contributors\"],\n listDeployKeys: [\"GET /repos/{owner}/{repo}/keys\"],\n listDeploymentStatuses: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\"],\n listDeployments: [\"GET /repos/{owner}/{repo}/deployments\"],\n listForAuthenticatedUser: [\"GET /user/repos\"],\n listForOrg: [\"GET /orgs/{org}/repos\"],\n listForUser: [\"GET /users/{username}/repos\"],\n listForks: [\"GET /repos/{owner}/{repo}/forks\"],\n listInvitations: [\"GET /repos/{owner}/{repo}/invitations\"],\n listInvitationsForAuthenticatedUser: [\"GET /user/repository_invitations\"],\n listLanguages: [\"GET /repos/{owner}/{repo}/languages\"],\n listPagesBuilds: [\"GET /repos/{owner}/{repo}/pages/builds\"],\n listPublic: [\"GET /repositories\"],\n listPullRequestsAssociatedWithCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\"],\n listReleaseAssets: [\"GET /repos/{owner}/{repo}/releases/{release_id}/assets\"],\n listReleases: [\"GET /repos/{owner}/{repo}/releases\"],\n listTagProtection: [\"GET /repos/{owner}/{repo}/tags/protection\"],\n listTags: [\"GET /repos/{owner}/{repo}/tags\"],\n listTeams: [\"GET /repos/{owner}/{repo}/teams\"],\n listWebhookDeliveries: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /repos/{owner}/{repo}/hooks\"],\n merge: [\"POST /repos/{owner}/{repo}/merges\"],\n mergeUpstream: [\"POST /repos/{owner}/{repo}/merge-upstream\"],\n pingWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\"],\n removeAppAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n removeCollaborator: [\"DELETE /repos/{owner}/{repo}/collaborators/{username}\"],\n removeStatusCheckContexts: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n removeStatusCheckProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n removeTeamAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n removeUserAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n renameBranch: [\"POST /repos/{owner}/{repo}/branches/{branch}/rename\"],\n replaceAllTopics: [\"PUT /repos/{owner}/{repo}/topics\"],\n requestPagesBuild: [\"POST /repos/{owner}/{repo}/pages/builds\"],\n setAdminBranchProtection: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n setAppAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n setStatusCheckContexts: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n setTeamAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n setUserAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n testPushWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\"],\n transfer: [\"POST /repos/{owner}/{repo}/transfer\"],\n update: [\"PATCH /repos/{owner}/{repo}\"],\n updateBranchProtection: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection\"],\n updateCommitComment: [\"PATCH /repos/{owner}/{repo}/comments/{comment_id}\"],\n updateInformationAboutPagesSite: [\"PUT /repos/{owner}/{repo}/pages\"],\n updateInvitation: [\"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}\"],\n updatePullRequestReviewProtection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n updateRelease: [\"PATCH /repos/{owner}/{repo}/releases/{release_id}\"],\n updateReleaseAsset: [\"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n updateStatusCheckPotection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\", {}, {\n renamed: [\"repos\", \"updateStatusCheckProtection\"]\n }],\n updateStatusCheckProtection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n updateWebhook: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\"],\n updateWebhookConfigForRepo: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config\"],\n uploadReleaseAsset: [\"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}\", {\n baseUrl: \"https://uploads.github.com\"\n }]\n },\n search: {\n code: [\"GET /search/code\"],\n commits: [\"GET /search/commits\"],\n issuesAndPullRequests: [\"GET /search/issues\"],\n labels: [\"GET /search/labels\"],\n repos: [\"GET /search/repositories\"],\n topics: [\"GET /search/topics\"],\n users: [\"GET /search/users\"]\n },\n secretScanning: {\n getAlert: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\"],\n listAlertsForEnterprise: [\"GET /enterprises/{enterprise}/secret-scanning/alerts\"],\n listAlertsForOrg: [\"GET /orgs/{org}/secret-scanning/alerts\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts\"],\n listLocationsForAlert: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations\"],\n updateAlert: [\"PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\"]\n },\n teams: {\n addOrUpdateMembershipForUserInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n addOrUpdateProjectPermissionsInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n addOrUpdateRepoPermissionsInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n checkPermissionsForProjectInOrg: [\"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n checkPermissionsForRepoInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n create: [\"POST /orgs/{org}/teams\"],\n createDiscussionCommentInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\"],\n createDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions\"],\n deleteDiscussionCommentInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n deleteDiscussionInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n deleteInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}\"],\n getByName: [\"GET /orgs/{org}/teams/{team_slug}\"],\n getDiscussionCommentInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n getDiscussionInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n getMembershipForUserInOrg: [\"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n list: [\"GET /orgs/{org}/teams\"],\n listChildInOrg: [\"GET /orgs/{org}/teams/{team_slug}/teams\"],\n listDiscussionCommentsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\"],\n listDiscussionsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions\"],\n listForAuthenticatedUser: [\"GET /user/teams\"],\n listMembersInOrg: [\"GET /orgs/{org}/teams/{team_slug}/members\"],\n listPendingInvitationsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/invitations\"],\n listProjectsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/projects\"],\n listReposInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos\"],\n removeMembershipForUserInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n removeProjectInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n removeRepoInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n updateDiscussionCommentInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n updateDiscussionInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n updateInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}\"]\n },\n users: {\n addEmailForAuthenticated: [\"POST /user/emails\", {}, {\n renamed: [\"users\", \"addEmailForAuthenticatedUser\"]\n }],\n addEmailForAuthenticatedUser: [\"POST /user/emails\"],\n block: [\"PUT /user/blocks/{username}\"],\n checkBlocked: [\"GET /user/blocks/{username}\"],\n checkFollowingForUser: [\"GET /users/{username}/following/{target_user}\"],\n checkPersonIsFollowedByAuthenticated: [\"GET /user/following/{username}\"],\n createGpgKeyForAuthenticated: [\"POST /user/gpg_keys\", {}, {\n renamed: [\"users\", \"createGpgKeyForAuthenticatedUser\"]\n }],\n createGpgKeyForAuthenticatedUser: [\"POST /user/gpg_keys\"],\n createPublicSshKeyForAuthenticated: [\"POST /user/keys\", {}, {\n renamed: [\"users\", \"createPublicSshKeyForAuthenticatedUser\"]\n }],\n createPublicSshKeyForAuthenticatedUser: [\"POST /user/keys\"],\n deleteEmailForAuthenticated: [\"DELETE /user/emails\", {}, {\n renamed: [\"users\", \"deleteEmailForAuthenticatedUser\"]\n }],\n deleteEmailForAuthenticatedUser: [\"DELETE /user/emails\"],\n deleteGpgKeyForAuthenticated: [\"DELETE /user/gpg_keys/{gpg_key_id}\", {}, {\n renamed: [\"users\", \"deleteGpgKeyForAuthenticatedUser\"]\n }],\n deleteGpgKeyForAuthenticatedUser: [\"DELETE /user/gpg_keys/{gpg_key_id}\"],\n deletePublicSshKeyForAuthenticated: [\"DELETE /user/keys/{key_id}\", {}, {\n renamed: [\"users\", \"deletePublicSshKeyForAuthenticatedUser\"]\n }],\n deletePublicSshKeyForAuthenticatedUser: [\"DELETE /user/keys/{key_id}\"],\n follow: [\"PUT /user/following/{username}\"],\n getAuthenticated: [\"GET /user\"],\n getByUsername: [\"GET /users/{username}\"],\n getContextForUser: [\"GET /users/{username}/hovercard\"],\n getGpgKeyForAuthenticated: [\"GET /user/gpg_keys/{gpg_key_id}\", {}, {\n renamed: [\"users\", \"getGpgKeyForAuthenticatedUser\"]\n }],\n getGpgKeyForAuthenticatedUser: [\"GET /user/gpg_keys/{gpg_key_id}\"],\n getPublicSshKeyForAuthenticated: [\"GET /user/keys/{key_id}\", {}, {\n renamed: [\"users\", \"getPublicSshKeyForAuthenticatedUser\"]\n }],\n getPublicSshKeyForAuthenticatedUser: [\"GET /user/keys/{key_id}\"],\n list: [\"GET /users\"],\n listBlockedByAuthenticated: [\"GET /user/blocks\", {}, {\n renamed: [\"users\", \"listBlockedByAuthenticatedUser\"]\n }],\n listBlockedByAuthenticatedUser: [\"GET /user/blocks\"],\n listEmailsForAuthenticated: [\"GET /user/emails\", {}, {\n renamed: [\"users\", \"listEmailsForAuthenticatedUser\"]\n }],\n listEmailsForAuthenticatedUser: [\"GET /user/emails\"],\n listFollowedByAuthenticated: [\"GET /user/following\", {}, {\n renamed: [\"users\", \"listFollowedByAuthenticatedUser\"]\n }],\n listFollowedByAuthenticatedUser: [\"GET /user/following\"],\n listFollowersForAuthenticatedUser: [\"GET /user/followers\"],\n listFollowersForUser: [\"GET /users/{username}/followers\"],\n listFollowingForUser: [\"GET /users/{username}/following\"],\n listGpgKeysForAuthenticated: [\"GET /user/gpg_keys\", {}, {\n renamed: [\"users\", \"listGpgKeysForAuthenticatedUser\"]\n }],\n listGpgKeysForAuthenticatedUser: [\"GET /user/gpg_keys\"],\n listGpgKeysForUser: [\"GET /users/{username}/gpg_keys\"],\n listPublicEmailsForAuthenticated: [\"GET /user/public_emails\", {}, {\n renamed: [\"users\", \"listPublicEmailsForAuthenticatedUser\"]\n }],\n listPublicEmailsForAuthenticatedUser: [\"GET /user/public_emails\"],\n listPublicKeysForUser: [\"GET /users/{username}/keys\"],\n listPublicSshKeysForAuthenticated: [\"GET /user/keys\", {}, {\n renamed: [\"users\", \"listPublicSshKeysForAuthenticatedUser\"]\n }],\n listPublicSshKeysForAuthenticatedUser: [\"GET /user/keys\"],\n setPrimaryEmailVisibilityForAuthenticated: [\"PATCH /user/email/visibility\", {}, {\n renamed: [\"users\", \"setPrimaryEmailVisibilityForAuthenticatedUser\"]\n }],\n setPrimaryEmailVisibilityForAuthenticatedUser: [\"PATCH /user/email/visibility\"],\n unblock: [\"DELETE /user/blocks/{username}\"],\n unfollow: [\"DELETE /user/following/{username}\"],\n updateAuthenticated: [\"PATCH /user\"]\n }\n};\n\nconst VERSION = \"5.16.0\";\n\nfunction endpointsToMethods(octokit, endpointsMap) {\n const newMethods = {};\n\n for (const [scope, endpoints] of Object.entries(endpointsMap)) {\n for (const [methodName, endpoint] of Object.entries(endpoints)) {\n const [route, defaults, decorations] = endpoint;\n const [method, url] = route.split(/ /);\n const endpointDefaults = Object.assign({\n method,\n url\n }, defaults);\n\n if (!newMethods[scope]) {\n newMethods[scope] = {};\n }\n\n const scopeMethods = newMethods[scope];\n\n if (decorations) {\n scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);\n continue;\n }\n\n scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);\n }\n }\n\n return newMethods;\n}\n\nfunction decorate(octokit, scope, methodName, defaults, decorations) {\n const requestWithDefaults = octokit.request.defaults(defaults);\n /* istanbul ignore next */\n\n function withDecorations(...args) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n let options = requestWithDefaults.endpoint.merge(...args); // There are currently no other decorations than `.mapToData`\n\n if (decorations.mapToData) {\n options = Object.assign({}, options, {\n data: options[decorations.mapToData],\n [decorations.mapToData]: undefined\n });\n return requestWithDefaults(options);\n }\n\n if (decorations.renamed) {\n const [newScope, newMethodName] = decorations.renamed;\n octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`);\n }\n\n if (decorations.deprecated) {\n octokit.log.warn(decorations.deprecated);\n }\n\n if (decorations.renamedParameters) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n const options = requestWithDefaults.endpoint.merge(...args);\n\n for (const [name, alias] of Object.entries(decorations.renamedParameters)) {\n if (name in options) {\n octokit.log.warn(`\"${name}\" parameter is deprecated for \"octokit.${scope}.${methodName}()\". Use \"${alias}\" instead`);\n\n if (!(alias in options)) {\n options[alias] = options[name];\n }\n\n delete options[name];\n }\n }\n\n return requestWithDefaults(options);\n } // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n\n\n return requestWithDefaults(...args);\n }\n\n return Object.assign(withDecorations, requestWithDefaults);\n}\n\nfunction restEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, Endpoints);\n return {\n rest: api\n };\n}\nrestEndpointMethods.VERSION = VERSION;\nfunction legacyRestEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, Endpoints);\n return _objectSpread2(_objectSpread2({}, api), {}, {\n rest: api\n });\n}\nlegacyRestEndpointMethods.VERSION = VERSION;\n\nexports.legacyRestEndpointMethods = legacyRestEndpointMethods;\nexports.restEndpointMethods = restEndpointMethods;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar deprecation = require('deprecation');\nvar once = _interopDefault(require('once'));\n\nconst logOnceCode = once(deprecation => console.warn(deprecation));\nconst logOnceHeaders = once(deprecation => console.warn(deprecation));\n/**\n * Error with extra properties to help with debugging\n */\n\nclass RequestError extends Error {\n constructor(message, statusCode, options) {\n super(message); // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n\n this.name = \"HttpError\";\n this.status = statusCode;\n let headers;\n\n if (\"headers\" in options && typeof options.headers !== \"undefined\") {\n headers = options.headers;\n }\n\n if (\"response\" in options) {\n this.response = options.response;\n headers = options.response.headers;\n } // redact request credentials without mutating original request options\n\n\n const requestCopy = Object.assign({}, options.request);\n\n if (options.request.headers.authorization) {\n requestCopy.headers = Object.assign({}, options.request.headers, {\n authorization: options.request.headers.authorization.replace(/ .*$/, \" [REDACTED]\")\n });\n }\n\n requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit\n // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications\n .replace(/\\bclient_secret=\\w+/g, \"client_secret=[REDACTED]\") // OAuth tokens can be passed as URL query parameters, although it is not recommended\n // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header\n .replace(/\\baccess_token=\\w+/g, \"access_token=[REDACTED]\");\n this.request = requestCopy; // deprecations\n\n Object.defineProperty(this, \"code\", {\n get() {\n logOnceCode(new deprecation.Deprecation(\"[@octokit/request-error] `error.code` is deprecated, use `error.status`.\"));\n return statusCode;\n }\n\n });\n Object.defineProperty(this, \"headers\", {\n get() {\n logOnceHeaders(new deprecation.Deprecation(\"[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.\"));\n return headers || {};\n }\n\n });\n }\n\n}\n\nexports.RequestError = RequestError;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar endpoint = require('@octokit/endpoint');\nvar universalUserAgent = require('universal-user-agent');\nvar isPlainObject = require('is-plain-object');\nvar nodeFetch = _interopDefault(require('node-fetch'));\nvar requestError = require('@octokit/request-error');\n\nconst VERSION = \"5.6.3\";\n\nfunction getBufferResponse(response) {\n return response.arrayBuffer();\n}\n\nfunction fetchWrapper(requestOptions) {\n const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console;\n\n if (isPlainObject.isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) {\n requestOptions.body = JSON.stringify(requestOptions.body);\n }\n\n let headers = {};\n let status;\n let url;\n const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch;\n return fetch(requestOptions.url, Object.assign({\n method: requestOptions.method,\n body: requestOptions.body,\n headers: requestOptions.headers,\n redirect: requestOptions.redirect\n }, // `requestOptions.request.agent` type is incompatible\n // see https://github.com/octokit/types.ts/pull/264\n requestOptions.request)).then(async response => {\n url = response.url;\n status = response.status;\n\n for (const keyAndValue of response.headers) {\n headers[keyAndValue[0]] = keyAndValue[1];\n }\n\n if (\"deprecation\" in headers) {\n const matches = headers.link && headers.link.match(/<([^>]+)>; rel=\"deprecation\"/);\n const deprecationLink = matches && matches.pop();\n log.warn(`[@octokit/request] \"${requestOptions.method} ${requestOptions.url}\" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : \"\"}`);\n }\n\n if (status === 204 || status === 205) {\n return;\n } // GitHub API returns 200 for HEAD requests\n\n\n if (requestOptions.method === \"HEAD\") {\n if (status < 400) {\n return;\n }\n\n throw new requestError.RequestError(response.statusText, status, {\n response: {\n url,\n status,\n headers,\n data: undefined\n },\n request: requestOptions\n });\n }\n\n if (status === 304) {\n throw new requestError.RequestError(\"Not modified\", status, {\n response: {\n url,\n status,\n headers,\n data: await getResponseData(response)\n },\n request: requestOptions\n });\n }\n\n if (status >= 400) {\n const data = await getResponseData(response);\n const error = new requestError.RequestError(toErrorMessage(data), status, {\n response: {\n url,\n status,\n headers,\n data\n },\n request: requestOptions\n });\n throw error;\n }\n\n return getResponseData(response);\n }).then(data => {\n return {\n status,\n url,\n headers,\n data\n };\n }).catch(error => {\n if (error instanceof requestError.RequestError) throw error;\n throw new requestError.RequestError(error.message, 500, {\n request: requestOptions\n });\n });\n}\n\nasync function getResponseData(response) {\n const contentType = response.headers.get(\"content-type\");\n\n if (/application\\/json/.test(contentType)) {\n return response.json();\n }\n\n if (!contentType || /^text\\/|charset=utf-8$/.test(contentType)) {\n return response.text();\n }\n\n return getBufferResponse(response);\n}\n\nfunction toErrorMessage(data) {\n if (typeof data === \"string\") return data; // istanbul ignore else - just in case\n\n if (\"message\" in data) {\n if (Array.isArray(data.errors)) {\n return `${data.message}: ${data.errors.map(JSON.stringify).join(\", \")}`;\n }\n\n return data.message;\n } // istanbul ignore next - just in case\n\n\n return `Unknown error: ${JSON.stringify(data)}`;\n}\n\nfunction withDefaults(oldEndpoint, newDefaults) {\n const endpoint = oldEndpoint.defaults(newDefaults);\n\n const newApi = function (route, parameters) {\n const endpointOptions = endpoint.merge(route, parameters);\n\n if (!endpointOptions.request || !endpointOptions.request.hook) {\n return fetchWrapper(endpoint.parse(endpointOptions));\n }\n\n const request = (route, parameters) => {\n return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));\n };\n\n Object.assign(request, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint)\n });\n return endpointOptions.request.hook(request, endpointOptions);\n };\n\n return Object.assign(newApi, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint)\n });\n}\n\nconst request = withDefaults(endpoint.endpoint, {\n headers: {\n \"user-agent\": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}`\n }\n});\n\nexports.request = request;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar core = require('@octokit/core');\nvar pluginRequestLog = require('@octokit/plugin-request-log');\nvar pluginPaginateRest = require('@octokit/plugin-paginate-rest');\nvar pluginRestEndpointMethods = require('@octokit/plugin-rest-endpoint-methods');\n\nconst VERSION = \"18.12.0\";\n\nconst Octokit = core.Octokit.plugin(pluginRequestLog.requestLog, pluginRestEndpointMethods.legacyRestEndpointMethods, pluginPaginateRest.paginateRest).defaults({\n userAgent: `octokit-rest.js/${VERSION}`\n});\n\nexports.Octokit = Octokit;\n//# sourceMappingURL=index.js.map\n","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EventAlgorithm_1 = require(\"./EventAlgorithm\");\n/**\n * Adds an algorithm to the given abort signal.\n *\n * @param algorithm - an algorithm\n * @param signal - abort signal\n */\nfunction abort_add(algorithm, signal) {\n /**\n * 1. If signal’s aborted flag is set, then return.\n * 2. Append algorithm to signal’s abort algorithms.\n */\n if (signal._abortedFlag)\n return;\n signal._abortAlgorithms.add(algorithm);\n}\nexports.abort_add = abort_add;\n/**\n * Removes an algorithm from the given abort signal.\n *\n * @param algorithm - an algorithm\n * @param signal - abort signal\n */\nfunction abort_remove(algorithm, signal) {\n /**\n * To remove an algorithm algorithm from an AbortSignal signal, remove\n * algorithm from signal’s abort algorithms.\n */\n signal._abortAlgorithms.delete(algorithm);\n}\nexports.abort_remove = abort_remove;\n/**\n * Signals abort on the given abort signal.\n *\n * @param signal - abort signal\n */\nfunction abort_signalAbort(signal) {\n var e_1, _a;\n /**\n * 1. If signal’s aborted flag is set, then return.\n * 2. Set signal’s aborted flag.\n * 3. For each algorithm in signal’s abort algorithms: run algorithm.\n * 4. Empty signal’s abort algorithms.\n * 5. Fire an event named abort at signal.\n */\n if (signal._abortedFlag)\n return;\n signal._abortedFlag = true;\n try {\n for (var _b = __values(signal._abortAlgorithms), _c = _b.next(); !_c.done; _c = _b.next()) {\n var algorithm = _c.value;\n algorithm.call(signal);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n signal._abortAlgorithms.clear();\n EventAlgorithm_1.event_fireAnEvent(\"abort\", signal);\n}\nexports.abort_signalAbort = abort_signalAbort;\n//# sourceMappingURL=AbortAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ElementAlgorithm_1 = require(\"./ElementAlgorithm\");\n/**\n * Changes the value of an existing attribute.\n *\n * @param attribute - an attribute node\n * @param value - attribute value\n */\nfunction attr_setAnExistingAttributeValue(attribute, value) {\n /**\n * 1. If attribute’s element is null, then set attribute’s value to value.\n * 2. Otherwise, change attribute from attribute’s element to value.\n */\n if (attribute._element === null) {\n attribute._value = value;\n }\n else {\n ElementAlgorithm_1.element_change(attribute, attribute._element, value);\n }\n}\nexports.attr_setAnExistingAttributeValue = attr_setAnExistingAttributeValue;\n//# sourceMappingURL=AttrAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\n/**\n * Defines the position of a boundary point relative to another.\n *\n * @param bp - a boundary point\n * @param relativeTo - a boundary point to compare to\n */\nfunction boundaryPoint_position(bp, relativeTo) {\n var nodeA = bp[0];\n var offsetA = bp[1];\n var nodeB = relativeTo[0];\n var offsetB = relativeTo[1];\n /**\n * 1. Assert: nodeA and nodeB have the same root.\n */\n console.assert(TreeAlgorithm_1.tree_rootNode(nodeA) === TreeAlgorithm_1.tree_rootNode(nodeB), \"Boundary points must share the same root node.\");\n /**\n * 2. If nodeA is nodeB, then return equal if offsetA is offsetB, before\n * if offsetA is less than offsetB, and after if offsetA is greater than\n * offsetB.\n */\n if (nodeA === nodeB) {\n if (offsetA === offsetB) {\n return interfaces_1.BoundaryPosition.Equal;\n }\n else if (offsetA < offsetB) {\n return interfaces_1.BoundaryPosition.Before;\n }\n else {\n return interfaces_1.BoundaryPosition.After;\n }\n }\n /**\n * 3. If nodeA is following nodeB, then if the position of (nodeB, offsetB)\n * relative to (nodeA, offsetA) is before, return after, and if it is after,\n * return before.\n */\n if (TreeAlgorithm_1.tree_isFollowing(nodeB, nodeA)) {\n var pos = boundaryPoint_position([nodeB, offsetB], [nodeA, offsetA]);\n if (pos === interfaces_1.BoundaryPosition.Before) {\n return interfaces_1.BoundaryPosition.After;\n }\n else if (pos === interfaces_1.BoundaryPosition.After) {\n return interfaces_1.BoundaryPosition.Before;\n }\n }\n /**\n * 4. If nodeA is an ancestor of nodeB:\n */\n if (TreeAlgorithm_1.tree_isAncestorOf(nodeB, nodeA)) {\n /**\n * 4.1. Let child be nodeB.\n * 4.2. While child is not a child of nodeA, set child to its parent.\n * 4.3. If child’s index is less than offsetA, then return after.\n */\n var child = nodeB;\n while (!TreeAlgorithm_1.tree_isChildOf(nodeA, child)) {\n /* istanbul ignore else */\n if (child._parent !== null) {\n child = child._parent;\n }\n }\n if (TreeAlgorithm_1.tree_index(child) < offsetA) {\n return interfaces_1.BoundaryPosition.After;\n }\n }\n /**\n * 5. Return before.\n */\n return interfaces_1.BoundaryPosition.Before;\n}\nexports.boundaryPoint_position = boundaryPoint_position;\n//# sourceMappingURL=BoundaryPointAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar util_1 = require(\"../util\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar MutationObserverAlgorithm_1 = require(\"./MutationObserverAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\n/**\n * Replaces character data.\n *\n * @param node - a character data node\n * @param offset - start offset\n * @param count - count of characters to replace\n * @param data - new data\n */\nfunction characterData_replaceData(node, offset, count, data) {\n var e_1, _a;\n /**\n * 1. Let length be node’s length.\n * 2. If offset is greater than length, then throw an \"IndexSizeError\"\n * DOMException.\n * 3. If offset plus count is greater than length, then set count to length\n * minus offset.\n */\n var length = TreeAlgorithm_1.tree_nodeLength(node);\n if (offset > length) {\n throw new DOMException_1.IndexSizeError(\"Offset exceeds character data length. Offset: \" + offset + \", Length: \" + length + \", Node is \" + node.nodeName + \".\");\n }\n if (offset + count > length) {\n count = length - offset;\n }\n /**\n * 4. Queue a mutation record of \"characterData\" for node with null, null,\n * node’s data, « », « », null, and null.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueMutationRecord(\"characterData\", node, null, null, node._data, [], [], null, null);\n }\n /**\n * 5. Insert data into node’s data after offset code units.\n * 6. Let delete offset be offset + data’s length.\n * 7. Starting from delete offset code units, remove count code units from\n * node’s data.\n */\n var newData = node._data.substring(0, offset) + data +\n node._data.substring(offset + count);\n node._data = newData;\n try {\n /**\n * 8. For each live range whose start node is node and start offset is\n * greater than offset but less than or equal to offset plus count, set its\n * start offset to offset.\n * 9. For each live range whose end node is node and end offset is greater\n * than offset but less than or equal to offset plus count, set its end\n * offset to offset.\n * 10. For each live range whose start node is node and start offset is\n * greater than offset plus count, increase its start offset by data’s\n * length and decrease it by count.\n * 11. For each live range whose end node is node and end offset is greater\n * than offset plus count, increase its end offset by data’s length and\n * decrease it by count.\n */\n for (var _b = __values(DOMImpl_1.dom.rangeList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var range = _c.value;\n if (range._start[0] === node && range._start[1] > offset && range._start[1] <= offset + count) {\n range._start[1] = offset;\n }\n if (range._end[0] === node && range._end[1] > offset && range._end[1] <= offset + count) {\n range._end[1] = offset;\n }\n if (range._start[0] === node && range._start[1] > offset + count) {\n range._start[1] += data.length - count;\n }\n if (range._end[0] === node && range._end[1] > offset + count) {\n range._end[1] += data.length - count;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n /**\n * 12. If node is a Text node and its parent is not null, run the child\n * text content change steps for node’s parent.\n */\n if (DOMImpl_1.dom.features.steps) {\n if (util_1.Guard.isTextNode(node) && node._parent !== null) {\n DOMAlgorithm_1.dom_runChildTextContentChangeSteps(node._parent);\n }\n }\n}\nexports.characterData_replaceData = characterData_replaceData;\n/**\n * Returns `count` number of characters from `node`'s data starting at\n * the given `offset`.\n *\n * @param node - a character data node\n * @param offset - start offset\n * @param count - count of characters to return\n */\nfunction characterData_substringData(node, offset, count) {\n /**\n * 1. Let length be node’s length.\n * 2. If offset is greater than length, then throw an \"IndexSizeError\"\n * DOMException.\n * 3. If offset plus count is greater than length, return a string whose\n * value is the code units from the offsetth code unit to the end of node’s\n * data, and then return.\n * 4. Return a string whose value is the code units from the offsetth code\n * unit to the offset+countth code unit in node’s data.\n */\n var length = TreeAlgorithm_1.tree_nodeLength(node);\n if (offset > length) {\n throw new DOMException_1.IndexSizeError(\"Offset exceeds character data length. Offset: \" + offset + \", Length: \" + length + \", Node is \" + node.nodeName + \".\");\n }\n if (offset + count > length) {\n return node._data.substr(offset);\n }\n else {\n return node._data.substr(offset, count);\n }\n}\nexports.characterData_substringData = characterData_substringData;\n//# sourceMappingURL=CharacterDataAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImplementationImpl_1 = require(\"../dom/DOMImplementationImpl\");\nvar WindowImpl_1 = require(\"../dom/WindowImpl\");\nvar XMLDocumentImpl_1 = require(\"../dom/XMLDocumentImpl\");\nvar DocumentImpl_1 = require(\"../dom/DocumentImpl\");\nvar AbortControllerImpl_1 = require(\"../dom/AbortControllerImpl\");\nvar AbortSignalImpl_1 = require(\"../dom/AbortSignalImpl\");\nvar DocumentTypeImpl_1 = require(\"../dom/DocumentTypeImpl\");\nvar ElementImpl_1 = require(\"../dom/ElementImpl\");\nvar DocumentFragmentImpl_1 = require(\"../dom/DocumentFragmentImpl\");\nvar ShadowRootImpl_1 = require(\"../dom/ShadowRootImpl\");\nvar AttrImpl_1 = require(\"../dom/AttrImpl\");\nvar TextImpl_1 = require(\"../dom/TextImpl\");\nvar CDATASectionImpl_1 = require(\"../dom/CDATASectionImpl\");\nvar CommentImpl_1 = require(\"../dom/CommentImpl\");\nvar ProcessingInstructionImpl_1 = require(\"../dom/ProcessingInstructionImpl\");\nvar HTMLCollectionImpl_1 = require(\"../dom/HTMLCollectionImpl\");\nvar NodeListImpl_1 = require(\"../dom/NodeListImpl\");\nvar NodeListStaticImpl_1 = require(\"../dom/NodeListStaticImpl\");\nvar NamedNodeMapImpl_1 = require(\"../dom/NamedNodeMapImpl\");\nvar RangeImpl_1 = require(\"../dom/RangeImpl\");\nvar NodeIteratorImpl_1 = require(\"../dom/NodeIteratorImpl\");\nvar TreeWalkerImpl_1 = require(\"../dom/TreeWalkerImpl\");\nvar NodeFilterImpl_1 = require(\"../dom/NodeFilterImpl\");\nvar MutationRecordImpl_1 = require(\"../dom/MutationRecordImpl\");\nvar DOMTokenListImpl_1 = require(\"../dom/DOMTokenListImpl\");\n/**\n * Creates a `DOMImplementation`.\n *\n * @param document - associated document\n */\nfunction create_domImplementation(document) {\n return DOMImplementationImpl_1.DOMImplementationImpl._create(document);\n}\nexports.create_domImplementation = create_domImplementation;\n/**\n * Creates a `Window` node.\n */\nfunction create_window() {\n return WindowImpl_1.WindowImpl._create();\n}\nexports.create_window = create_window;\n/**\n * Creates an `XMLDocument` node.\n */\nfunction create_xmlDocument() {\n return new XMLDocumentImpl_1.XMLDocumentImpl();\n}\nexports.create_xmlDocument = create_xmlDocument;\n/**\n * Creates a `Document` node.\n */\nfunction create_document() {\n return new DocumentImpl_1.DocumentImpl();\n}\nexports.create_document = create_document;\n/**\n * Creates an `AbortController`.\n */\nfunction create_abortController() {\n return new AbortControllerImpl_1.AbortControllerImpl();\n}\nexports.create_abortController = create_abortController;\n/**\n * Creates an `AbortSignal`.\n */\nfunction create_abortSignal() {\n return AbortSignalImpl_1.AbortSignalImpl._create();\n}\nexports.create_abortSignal = create_abortSignal;\n/**\n * Creates a `DocumentType` node.\n *\n * @param document - owner document\n * @param name - name of the node\n * @param publicId - `PUBLIC` identifier\n * @param systemId - `SYSTEM` identifier\n */\nfunction create_documentType(document, name, publicId, systemId) {\n return DocumentTypeImpl_1.DocumentTypeImpl._create(document, name, publicId, systemId);\n}\nexports.create_documentType = create_documentType;\n/**\n * Creates a new `Element` node.\n *\n * @param document - owner document\n * @param localName - local name\n * @param namespace - namespace\n * @param prefix - namespace prefix\n */\nfunction create_element(document, localName, namespace, prefix) {\n return ElementImpl_1.ElementImpl._create(document, localName, namespace, prefix);\n}\nexports.create_element = create_element;\n/**\n * Creates a new `HTMLElement` node.\n *\n * @param document - owner document\n * @param localName - local name\n * @param namespace - namespace\n * @param prefix - namespace prefix\n */\nfunction create_htmlElement(document, localName, namespace, prefix) {\n // TODO: Implement in HTML DOM\n return ElementImpl_1.ElementImpl._create(document, localName, namespace, prefix);\n}\nexports.create_htmlElement = create_htmlElement;\n/**\n * Creates a new `HTMLUnknownElement` node.\n *\n * @param document - owner document\n * @param localName - local name\n * @param namespace - namespace\n * @param prefix - namespace prefix\n */\nfunction create_htmlUnknownElement(document, localName, namespace, prefix) {\n // TODO: Implement in HTML DOM\n return ElementImpl_1.ElementImpl._create(document, localName, namespace, prefix);\n}\nexports.create_htmlUnknownElement = create_htmlUnknownElement;\n/**\n * Creates a new `DocumentFragment` node.\n *\n * @param document - owner document\n */\nfunction create_documentFragment(document) {\n return DocumentFragmentImpl_1.DocumentFragmentImpl._create(document);\n}\nexports.create_documentFragment = create_documentFragment;\n/**\n * Creates a new `ShadowRoot` node.\n *\n * @param document - owner document\n * @param host - shadow root's host element node\n */\nfunction create_shadowRoot(document, host) {\n return ShadowRootImpl_1.ShadowRootImpl._create(document, host);\n}\nexports.create_shadowRoot = create_shadowRoot;\n/**\n * Creates a new `Attr` node.\n *\n * @param document - owner document\n * @param localName - local name\n */\nfunction create_attr(document, localName) {\n return AttrImpl_1.AttrImpl._create(document, localName);\n}\nexports.create_attr = create_attr;\n/**\n * Creates a new `Text` node.\n *\n * @param document - owner document\n * @param data - node contents\n */\nfunction create_text(document, data) {\n return TextImpl_1.TextImpl._create(document, data);\n}\nexports.create_text = create_text;\n/**\n * Creates a new `CDATASection` node.\n *\n * @param document - owner document\n * @param data - node contents\n */\nfunction create_cdataSection(document, data) {\n return CDATASectionImpl_1.CDATASectionImpl._create(document, data);\n}\nexports.create_cdataSection = create_cdataSection;\n/**\n * Creates a new `Comment` node.\n *\n * @param document - owner document\n * @param data - node contents\n */\nfunction create_comment(document, data) {\n return CommentImpl_1.CommentImpl._create(document, data);\n}\nexports.create_comment = create_comment;\n/**\n * Creates a new `ProcessingInstruction` node.\n *\n * @param document - owner document\n * @param target - instruction target\n * @param data - node contents\n */\nfunction create_processingInstruction(document, target, data) {\n return ProcessingInstructionImpl_1.ProcessingInstructionImpl._create(document, target, data);\n}\nexports.create_processingInstruction = create_processingInstruction;\n/**\n * Creates a new `HTMLCollection`.\n *\n * @param root - root node\n * @param filter - node filter\n */\nfunction create_htmlCollection(root, filter) {\n if (filter === void 0) { filter = (function () { return true; }); }\n return HTMLCollectionImpl_1.HTMLCollectionImpl._create(root, filter);\n}\nexports.create_htmlCollection = create_htmlCollection;\n/**\n * Creates a new live `NodeList`.\n *\n * @param root - root node\n */\nfunction create_nodeList(root) {\n return NodeListImpl_1.NodeListImpl._create(root);\n}\nexports.create_nodeList = create_nodeList;\n/**\n * Creates a new static `NodeList`.\n *\n * @param root - root node\n * @param items - a list of items to initialize the list\n */\nfunction create_nodeListStatic(root, items) {\n return NodeListStaticImpl_1.NodeListStaticImpl._create(root, items);\n}\nexports.create_nodeListStatic = create_nodeListStatic;\n/**\n * Creates a new `NamedNodeMap`.\n *\n * @param element - parent element\n */\nfunction create_namedNodeMap(element) {\n return NamedNodeMapImpl_1.NamedNodeMapImpl._create(element);\n}\nexports.create_namedNodeMap = create_namedNodeMap;\n/**\n * Creates a new `Range`.\n *\n * @param start - start point\n * @param end - end point\n */\nfunction create_range(start, end) {\n return RangeImpl_1.RangeImpl._create(start, end);\n}\nexports.create_range = create_range;\n/**\n * Creates a new `NodeIterator`.\n *\n * @param root - iterator's root node\n * @param reference - reference node\n * @param pointerBeforeReference - whether the iterator is before or after the\n * reference node\n */\nfunction create_nodeIterator(root, reference, pointerBeforeReference) {\n return NodeIteratorImpl_1.NodeIteratorImpl._create(root, reference, pointerBeforeReference);\n}\nexports.create_nodeIterator = create_nodeIterator;\n/**\n * Creates a new `TreeWalker`.\n *\n * @param root - iterator's root node\n * @param current - current node\n */\nfunction create_treeWalker(root, current) {\n return TreeWalkerImpl_1.TreeWalkerImpl._create(root, current);\n}\nexports.create_treeWalker = create_treeWalker;\n/**\n * Creates a new `NodeFilter`.\n */\nfunction create_nodeFilter() {\n return NodeFilterImpl_1.NodeFilterImpl._create();\n}\nexports.create_nodeFilter = create_nodeFilter;\n/**\n * Creates a new `MutationRecord`.\n *\n * @param type - type of mutation: `\"attributes\"` for an attribute\n * mutation, `\"characterData\"` for a mutation to a CharacterData node\n * and `\"childList\"` for a mutation to the tree of nodes.\n * @param target - node affected by the mutation.\n * @param addedNodes - list of added nodes.\n * @param removedNodes - list of removed nodes.\n * @param previousSibling - previous sibling of added or removed nodes.\n * @param nextSibling - next sibling of added or removed nodes.\n * @param attributeName - local name of the changed attribute,\n * and `null` otherwise.\n * @param attributeNamespace - namespace of the changed attribute,\n * and `null` otherwise.\n * @param oldValue - value before mutation: attribute value for an attribute\n * mutation, node `data` for a mutation to a CharacterData node and `null`\n * for a mutation to the tree of nodes.\n */\nfunction create_mutationRecord(type, target, addedNodes, removedNodes, previousSibling, nextSibling, attributeName, attributeNamespace, oldValue) {\n return MutationRecordImpl_1.MutationRecordImpl._create(type, target, addedNodes, removedNodes, previousSibling, nextSibling, attributeName, attributeNamespace, oldValue);\n}\nexports.create_mutationRecord = create_mutationRecord;\n/**\n * Creates a new `DOMTokenList`.\n *\n * @param element - associated element\n * @param attribute - associated attribute\n */\nfunction create_domTokenList(element, attribute) {\n return DOMTokenListImpl_1.DOMTokenListImpl._create(element, attribute);\n}\nexports.create_domTokenList = create_domTokenList;\n//# sourceMappingURL=CreateAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar PotentialCustomElementName = /[a-z]([\\0-\\t\\x2D\\._a-z\\xB7\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u037D\\u037F-\\u1FFF\\u200C\\u200D\\u203F\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]|[\\uD800-\\uDB7F][\\uDC00-\\uDFFF])*-([\\0-\\t\\x2D\\._a-z\\xB7\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u037D\\u037F-\\u1FFF\\u200C\\u200D\\u203F\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]|[\\uD800-\\uDB7F][\\uDC00-\\uDFFF])*/;\nvar NamesWithHyphen = new Set(['annotation-xml', 'color-profile',\n 'font-face', 'font-face-src', 'font-face-uri', 'font-face-format',\n 'font-face-name', 'missing-glyph']);\nvar ElementNames = new Set(['article', 'aside', 'blockquote',\n 'body', 'div', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6',\n 'header', 'main', 'nav', 'p', 'section', 'span']);\nvar VoidElementNames = new Set(['area', 'base', 'basefont',\n 'bgsound', 'br', 'col', 'embed', 'frame', 'hr', 'img', 'input', 'keygen',\n 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr']);\nvar ShadowHostNames = new Set(['article', 'aside', 'blockquote', 'body',\n 'div', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'main',\n 'nav', 'p', 'section', 'span']);\n/**\n * Determines if the given string is a valid custom element name.\n *\n * @param name - a name string\n */\nfunction customElement_isValidCustomElementName(name) {\n if (!PotentialCustomElementName.test(name))\n return false;\n if (NamesWithHyphen.has(name))\n return false;\n return true;\n}\nexports.customElement_isValidCustomElementName = customElement_isValidCustomElementName;\n/**\n * Determines if the given string is a valid element name.\n *\n * @param name - a name string\n */\nfunction customElement_isValidElementName(name) {\n return (ElementNames.has(name));\n}\nexports.customElement_isValidElementName = customElement_isValidElementName;\n/**\n * Determines if the given string is a void element name.\n *\n * @param name - a name string\n */\nfunction customElement_isVoidElementName(name) {\n return (VoidElementNames.has(name));\n}\nexports.customElement_isVoidElementName = customElement_isVoidElementName;\n/**\n * Determines if the given string is a valid shadow host element name.\n *\n * @param name - a name string\n */\nfunction customElement_isValidShadowHostName(name) {\n return (ShadowHostNames.has(name));\n}\nexports.customElement_isValidShadowHostName = customElement_isValidShadowHostName;\n/**\n * Enqueues an upgrade reaction for a custom element.\n *\n * @param element - a custom element\n * @param definition - a custom element definition\n */\nfunction customElement_enqueueACustomElementUpgradeReaction(element, definition) {\n // TODO: Implement in HTML DOM\n}\nexports.customElement_enqueueACustomElementUpgradeReaction = customElement_enqueueACustomElementUpgradeReaction;\n/**\n * Enqueues a callback reaction for a custom element.\n *\n * @param element - a custom element\n * @param callbackName - name of the callback\n * @param args - callback arguments\n */\nfunction customElement_enqueueACustomElementCallbackReaction(element, callbackName, args) {\n // TODO: Implement in HTML DOM\n}\nexports.customElement_enqueueACustomElementCallbackReaction = customElement_enqueueACustomElementCallbackReaction;\n/**\n * Upgrade a custom element.\n *\n * @param element - a custom element\n */\nfunction customElement_upgrade(definition, element) {\n // TODO: Implement in HTML DOM\n}\nexports.customElement_upgrade = customElement_upgrade;\n/**\n * Tries to upgrade a custom element.\n *\n * @param element - a custom element\n */\nfunction customElement_tryToUpgrade(element) {\n // TODO: Implement in HTML DOM\n}\nexports.customElement_tryToUpgrade = customElement_tryToUpgrade;\n/**\n * Looks up a custom element definition.\n *\n * @param document - a document\n * @param namespace - element namespace\n * @param localName - element local name\n * @param is - an `is` value\n */\nfunction customElement_lookUpACustomElementDefinition(document, namespace, localName, is) {\n // TODO: Implement in HTML DOM\n return null;\n}\nexports.customElement_lookUpACustomElementDefinition = customElement_lookUpACustomElementDefinition;\n//# sourceMappingURL=CustomElementAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar util_1 = require(\"../util\");\nvar ShadowTreeAlgorithm_1 = require(\"./ShadowTreeAlgorithm\");\nvar supportedTokens = new Map();\n/**\n * Runs removing steps for node.\n *\n * @param removedNode - removed node\n * @param oldParent - old parent node\n */\nfunction dom_runRemovingSteps(removedNode, oldParent) {\n // No steps defined\n}\nexports.dom_runRemovingSteps = dom_runRemovingSteps;\n/**\n * Runs cloning steps for node.\n *\n * @param copy - node clone\n * @param node - node\n * @param document - document to own the cloned node\n * @param cloneChildrenFlag - whether child nodes are cloned\n */\nfunction dom_runCloningSteps(copy, node, document, cloneChildrenFlag) {\n // No steps defined\n}\nexports.dom_runCloningSteps = dom_runCloningSteps;\n/**\n * Runs adopting steps for node.\n *\n * @param node - node\n * @param oldDocument - old document\n */\nfunction dom_runAdoptingSteps(node, oldDocument) {\n // No steps defined\n}\nexports.dom_runAdoptingSteps = dom_runAdoptingSteps;\n/**\n * Runs attribute change steps for an element node.\n *\n * @param element - element node owning the attribute\n * @param localName - attribute's local name\n * @param oldValue - attribute's old value\n * @param value - attribute's new value\n * @param namespace - attribute's namespace\n */\nfunction dom_runAttributeChangeSteps(element, localName, oldValue, value, namespace) {\n var e_1, _a;\n // run default steps\n if (DOMImpl_1.dom.features.slots) {\n updateASlotablesName.call(element, element, localName, oldValue, value, namespace);\n updateASlotsName.call(element, element, localName, oldValue, value, namespace);\n }\n updateAnElementID.call(element, element, localName, value, namespace);\n try {\n // run custom steps\n for (var _b = __values(element._attributeChangeSteps), _c = _b.next(); !_c.done; _c = _b.next()) {\n var step = _c.value;\n step.call(element, element, localName, oldValue, value, namespace);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n}\nexports.dom_runAttributeChangeSteps = dom_runAttributeChangeSteps;\n/**\n * Runs insertion steps for a node.\n *\n * @param insertedNode - inserted node\n */\nfunction dom_runInsertionSteps(insertedNode) {\n // No steps defined\n}\nexports.dom_runInsertionSteps = dom_runInsertionSteps;\n/**\n * Runs pre-removing steps for a node iterator and node.\n *\n * @param nodeIterator - a node iterator\n * @param toBeRemoved - node to be removed\n */\nfunction dom_runNodeIteratorPreRemovingSteps(nodeIterator, toBeRemoved) {\n removeNodeIterator.call(nodeIterator, nodeIterator, toBeRemoved);\n}\nexports.dom_runNodeIteratorPreRemovingSteps = dom_runNodeIteratorPreRemovingSteps;\n/**\n * Determines if there are any supported tokens defined for the given\n * attribute name.\n *\n * @param attributeName - an attribute name\n */\nfunction dom_hasSupportedTokens(attributeName) {\n return supportedTokens.has(attributeName);\n}\nexports.dom_hasSupportedTokens = dom_hasSupportedTokens;\n/**\n * Returns the set of supported tokens defined for the given attribute name.\n *\n * @param attributeName - an attribute name\n */\nfunction dom_getSupportedTokens(attributeName) {\n return supportedTokens.get(attributeName) || new Set();\n}\nexports.dom_getSupportedTokens = dom_getSupportedTokens;\n/**\n * Runs event construction steps.\n *\n * @param event - an event\n */\nfunction dom_runEventConstructingSteps(event) {\n // No steps defined\n}\nexports.dom_runEventConstructingSteps = dom_runEventConstructingSteps;\n/**\n * Runs child text content change steps for a parent node.\n *\n * @param parent - parent node with text node child nodes\n */\nfunction dom_runChildTextContentChangeSteps(parent) {\n // No steps defined\n}\nexports.dom_runChildTextContentChangeSteps = dom_runChildTextContentChangeSteps;\n/**\n * Defines pre-removing steps for a node iterator.\n */\nfunction removeNodeIterator(nodeIterator, toBeRemovedNode) {\n /**\n * 1. If toBeRemovedNode is not an inclusive ancestor of nodeIterator’s\n * reference, or toBeRemovedNode is nodeIterator’s root, then return.\n */\n if (toBeRemovedNode === nodeIterator._root ||\n !TreeAlgorithm_1.tree_isAncestorOf(nodeIterator._reference, toBeRemovedNode, true)) {\n return;\n }\n /**\n * 2. If nodeIterator’s pointer before reference is true, then:\n */\n if (nodeIterator._pointerBeforeReference) {\n /**\n * 2.1. Let next be toBeRemovedNode’s first following node that is an\n * inclusive descendant of nodeIterator’s root and is not an inclusive\n * descendant of toBeRemovedNode, and null if there is no such node.\n */\n while (true) {\n var nextNode = TreeAlgorithm_1.tree_getFollowingNode(nodeIterator._root, toBeRemovedNode);\n if (nextNode !== null &&\n TreeAlgorithm_1.tree_isDescendantOf(nodeIterator._root, nextNode, true) &&\n !TreeAlgorithm_1.tree_isDescendantOf(toBeRemovedNode, nextNode, true)) {\n /**\n * 2.2. If next is non-null, then set nodeIterator’s reference to next\n * and return.\n */\n nodeIterator._reference = nextNode;\n return;\n }\n else if (nextNode === null) {\n /**\n * 2.3. Otherwise, set nodeIterator’s pointer before reference to false.\n */\n nodeIterator._pointerBeforeReference = false;\n return;\n }\n }\n }\n /**\n * 3. Set nodeIterator’s reference to toBeRemovedNode’s parent, if\n * toBeRemovedNode’s previous sibling is null, and to the inclusive\n * descendant of toBeRemovedNode’s previous sibling that appears last in\n * tree order otherwise.\n */\n if (toBeRemovedNode._previousSibling === null) {\n if (toBeRemovedNode._parent !== null) {\n nodeIterator._reference = toBeRemovedNode._parent;\n }\n }\n else {\n var referenceNode = toBeRemovedNode._previousSibling;\n var childNode = TreeAlgorithm_1.tree_getFirstDescendantNode(toBeRemovedNode._previousSibling, true, false);\n while (childNode !== null) {\n if (childNode !== null) {\n referenceNode = childNode;\n }\n // loop through to get the last descendant node\n childNode = TreeAlgorithm_1.tree_getNextDescendantNode(toBeRemovedNode._previousSibling, childNode, true, false);\n }\n nodeIterator._reference = referenceNode;\n }\n}\n/**\n * Defines attribute change steps to update a slot’s name.\n */\nfunction updateASlotsName(element, localName, oldValue, value, namespace) {\n /**\n * 1. If element is a slot, localName is name, and namespace is null, then:\n * 1.1. If value is oldValue, then return.\n * 1.2. If value is null and oldValue is the empty string, then return.\n * 1.3. If value is the empty string and oldValue is null, then return.\n * 1.4. If value is null or the empty string, then set element’s name to the\n * empty string.\n * 1.5. Otherwise, set element’s name to value.\n * 1.6. Run assign slotables for a tree with element’s root.\n */\n if (util_1.Guard.isSlot(element) && localName === \"name\" && namespace === null) {\n if (value === oldValue)\n return;\n if (value === null && oldValue === '')\n return;\n if (value === '' && oldValue === null)\n return;\n if ((value === null || value === '')) {\n element._name = '';\n }\n else {\n element._name = value;\n }\n ShadowTreeAlgorithm_1.shadowTree_assignSlotablesForATree(TreeAlgorithm_1.tree_rootNode(element));\n }\n}\n/**\n * Defines attribute change steps to update a slotable’s name.\n */\nfunction updateASlotablesName(element, localName, oldValue, value, namespace) {\n /**\n * 1. If localName is slot and namespace is null, then:\n * 1.1. If value is oldValue, then return.\n * 1.2. If value is null and oldValue is the empty string, then return.\n * 1.3. If value is the empty string and oldValue is null, then return.\n * 1.4. If value is null or the empty string, then set element’s name to\n * the empty string.\n * 1.5. Otherwise, set element’s name to value.\n * 1.6. If element is assigned, then run assign slotables for element’s\n * assigned slot.\n * 1.7. Run assign a slot for element.\n */\n if (util_1.Guard.isSlotable(element) && localName === \"slot\" && namespace === null) {\n if (value === oldValue)\n return;\n if (value === null && oldValue === '')\n return;\n if (value === '' && oldValue === null)\n return;\n if ((value === null || value === '')) {\n element._name = '';\n }\n else {\n element._name = value;\n }\n if (ShadowTreeAlgorithm_1.shadowTree_isAssigned(element)) {\n ShadowTreeAlgorithm_1.shadowTree_assignSlotables(element._assignedSlot);\n }\n ShadowTreeAlgorithm_1.shadowTree_assignASlot(element);\n }\n}\n/**\n * Defines attribute change steps to update an element's ID.\n */\nfunction updateAnElementID(element, localName, value, namespace) {\n /**\n * 1. If localName is id, namespace is null, and value is null or the empty\n * string, then unset element’s ID.\n * 2. Otherwise, if localName is id, namespace is null, then set element’s\n * ID to value.\n */\n if (localName === \"id\" && namespace === null) {\n if (!value)\n element._uniqueIdentifier = undefined;\n else\n element._uniqueIdentifier = value;\n }\n}\n//# sourceMappingURL=DOMAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar OrderedSetAlgorithm_1 = require(\"./OrderedSetAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\nvar ElementAlgorithm_1 = require(\"./ElementAlgorithm\");\n/**\n * Validates a given token against the supported tokens defined for the given\n * token lists' associated attribute.\n *\n * @param tokenList - a token list\n * @param token - a token\n */\nfunction tokenList_validationSteps(tokenList, token) {\n /**\n * 1. If the associated attribute’s local name does not define supported\n * tokens, throw a TypeError.\n * 2. Let lowercase token be a copy of token, in ASCII lowercase.\n * 3. If lowercase token is present in supported tokens, return true.\n * 4. Return false.\n */\n if (!DOMAlgorithm_1.dom_hasSupportedTokens(tokenList._attribute._localName)) {\n throw new TypeError(\"There are no supported tokens defined for attribute name: '\" + tokenList._attribute._localName + \"'.\");\n }\n return DOMAlgorithm_1.dom_getSupportedTokens(tokenList._attribute._localName).has(token.toLowerCase());\n}\nexports.tokenList_validationSteps = tokenList_validationSteps;\n/**\n * Updates the value of the token lists' associated attribute.\n *\n * @param tokenList - a token list\n */\nfunction tokenList_updateSteps(tokenList) {\n /**\n * 1. If the associated element does not have an associated attribute and\n * token set is empty, then return.\n * 2. Set an attribute value for the associated element using associated\n * attribute’s local name and the result of running the ordered set\n * serializer for token set.\n */\n if (!tokenList._element.hasAttribute(tokenList._attribute._localName) &&\n tokenList._tokenSet.size === 0) {\n return;\n }\n ElementAlgorithm_1.element_setAnAttributeValue(tokenList._element, tokenList._attribute._localName, OrderedSetAlgorithm_1.orderedSet_serialize(tokenList._tokenSet));\n}\nexports.tokenList_updateSteps = tokenList_updateSteps;\n/**\n * Gets the value of the token lists' associated attribute.\n *\n * @param tokenList - a token list\n */\nfunction tokenList_serializeSteps(tokenList) {\n /**\n * A DOMTokenList object’s serialize steps are to return the result of\n * running get an attribute value given the associated element and the\n * associated attribute’s local name.\n */\n return ElementAlgorithm_1.element_getAnAttributeValue(tokenList._element, tokenList._attribute._localName);\n}\nexports.tokenList_serializeSteps = tokenList_serializeSteps;\n//# sourceMappingURL=DOMTokenListAlgorithm.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar util_1 = require(\"../util\");\nvar util_2 = require(\"@oozcitak/util\");\nvar ElementImpl_1 = require(\"../dom/ElementImpl\");\nvar CustomElementAlgorithm_1 = require(\"./CustomElementAlgorithm\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar NamespaceAlgorithm_1 = require(\"./NamespaceAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\nvar ElementAlgorithm_1 = require(\"./ElementAlgorithm\");\nvar MutationAlgorithm_1 = require(\"./MutationAlgorithm\");\n/**\n * Returns an element interface for the given name and namespace.\n *\n * @param name - element name\n * @param namespace - namespace\n */\nfunction document_elementInterface(name, namespace) {\n return ElementImpl_1.ElementImpl;\n}\nexports.document_elementInterface = document_elementInterface;\n/**\n * Creates a new element node.\n * See: https://dom.spec.whatwg.org/#internal-createelementns-steps\n *\n * @param document - owner document\n * @param namespace - element namespace\n * @param qualifiedName - qualified name\n * @param options - element options\n */\nfunction document_internalCreateElementNS(document, namespace, qualifiedName, options) {\n /**\n * 1. Let namespace, prefix, and localName be the result of passing\n * namespace and qualifiedName to validate and extract.\n * 2. Let is be null.\n * 3. If options is a dictionary and options’s is is present, then set\n * is to it.\n * 4. Return the result of creating an element given document, localName,\n * namespace, prefix, is, and with the synchronous custom elements flag set.\n */\n var _a = __read(NamespaceAlgorithm_1.namespace_validateAndExtract(namespace, qualifiedName), 3), ns = _a[0], prefix = _a[1], localName = _a[2];\n var is = null;\n if (options !== undefined) {\n if (util_2.isString(options)) {\n is = options;\n }\n else {\n is = options.is;\n }\n }\n return ElementAlgorithm_1.element_createAnElement(document, localName, ns, prefix, is, true);\n}\nexports.document_internalCreateElementNS = document_internalCreateElementNS;\n/**\n * Removes `node` and its subtree from its document and changes\n * its owner document to `document` so that it can be inserted\n * into `document`.\n *\n * @param node - the node to move\n * @param document - document to receive the node and its subtree\n */\nfunction document_adopt(node, document) {\n var e_1, _a;\n // Optimize for common case of inserting a fresh node\n if (node._nodeDocument === document && node._parent === null) {\n return;\n }\n /**\n * 1. Let oldDocument be node’s node document.\n * 2. If node’s parent is not null, remove node from its parent.\n */\n var oldDocument = node._nodeDocument;\n if (node._parent)\n MutationAlgorithm_1.mutation_remove(node, node._parent);\n /**\n * 3. If document is not oldDocument, then:\n */\n if (document !== oldDocument) {\n /**\n * 3.1. For each inclusiveDescendant in node’s shadow-including inclusive\n * descendants:\n */\n var inclusiveDescendant = TreeAlgorithm_1.tree_getFirstDescendantNode(node, true, true);\n while (inclusiveDescendant !== null) {\n /**\n * 3.1.1. Set inclusiveDescendant’s node document to document.\n * 3.1.2. If inclusiveDescendant is an element, then set the node\n * document of each attribute in inclusiveDescendant’s attribute list\n * to document.\n */\n inclusiveDescendant._nodeDocument = document;\n if (util_1.Guard.isElementNode(inclusiveDescendant)) {\n try {\n for (var _b = (e_1 = void 0, __values(inclusiveDescendant._attributeList._asArray())), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n attr._nodeDocument = document;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n /**\n * 3.2. For each inclusiveDescendant in node's shadow-including\n * inclusive descendants that is custom, enqueue a custom\n * element callback reaction with inclusiveDescendant,\n * callback name \"adoptedCallback\", and an argument list\n * containing oldDocument and document.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isElementNode(inclusiveDescendant) &&\n inclusiveDescendant._customElementState === \"custom\") {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(inclusiveDescendant, \"adoptedCallback\", [oldDocument, document]);\n }\n }\n /**\n * 3.3. For each inclusiveDescendant in node’s shadow-including\n * inclusive descendants, in shadow-including tree order, run the\n * adopting steps with inclusiveDescendant and oldDocument.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runAdoptingSteps(inclusiveDescendant, oldDocument);\n }\n inclusiveDescendant = TreeAlgorithm_1.tree_getNextDescendantNode(node, inclusiveDescendant, true, true);\n }\n }\n}\nexports.document_adopt = document_adopt;\n//# sourceMappingURL=DocumentAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar util_1 = require(\"../util\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar CreateAlgorithm_1 = require(\"./CreateAlgorithm\");\nvar CustomElementAlgorithm_1 = require(\"./CustomElementAlgorithm\");\nvar MutationObserverAlgorithm_1 = require(\"./MutationObserverAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\nvar MutationAlgorithm_1 = require(\"./MutationAlgorithm\");\nvar DocumentAlgorithm_1 = require(\"./DocumentAlgorithm\");\n/**\n * Determines whether the element's attribute list contains the given\n * attribute.\n *\n * @param attribute - an attribute node\n * @param element - an element node\n */\nfunction element_has(attribute, element) {\n /**\n * An element has an attribute A if its attribute list contains A.\n */\n return element._attributeList._asArray().indexOf(attribute) !== -1;\n}\nexports.element_has = element_has;\n/**\n * Changes the value of an attribute node.\n *\n * @param attribute - an attribute node\n * @param element - an element node\n * @param value - attribute value\n */\nfunction element_change(attribute, element, value) {\n /**\n * 1. Queue an attribute mutation record for element with attribute’s\n * local name, attribute’s namespace, and attribute’s value.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueAttributeMutationRecord(element, attribute._localName, attribute._namespace, attribute._value);\n }\n /**\n * 2. If element is custom, then enqueue a custom element callback reaction\n * with element, callback name \"attributeChangedCallback\", and an argument\n * list containing attribute’s local name, attribute’s value, value, and\n * attribute’s namespace.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isCustomElementNode(element)) {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(element, \"attributeChangedCallback\", [attribute._localName, attribute._value, value, attribute._namespace]);\n }\n }\n /**\n * 3. Run the attribute change steps with element, attribute’s local name,\n * attribute’s value, value, and attribute’s namespace.\n * 4. Set attribute’s value to value.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runAttributeChangeSteps(element, attribute._localName, attribute._value, value, attribute._namespace);\n }\n attribute._value = value;\n}\nexports.element_change = element_change;\n/**\n * Appends an attribute to an element node.\n *\n * @param attribute - an attribute\n * @param element - an element to receive the attribute\n */\nfunction element_append(attribute, element) {\n /**\n * 1. Queue an attribute mutation record for element with attribute’s\n * local name, attribute’s namespace, and null.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueAttributeMutationRecord(element, attribute._localName, attribute._namespace, null);\n }\n /**\n * 2. If element is custom, then enqueue a custom element callback reaction\n * with element, callback name \"attributeChangedCallback\", and an argument\n * list containing attribute’s local name, null, attribute’s value, and\n * attribute’s namespace.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isCustomElementNode(element)) {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(element, \"attributeChangedCallback\", [attribute._localName, null, attribute._value, attribute._namespace]);\n }\n }\n /**\n * 3. Run the attribute change steps with element, attribute’s local name,\n * null, attribute’s value, and attribute’s namespace.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runAttributeChangeSteps(element, attribute._localName, null, attribute._value, attribute._namespace);\n }\n /**\n * 4. Append attribute to element’s attribute list.\n * 5. Set attribute’s element to element.\n */\n element._attributeList._asArray().push(attribute);\n attribute._element = element;\n // mark that the document has namespaces\n if (!element._nodeDocument._hasNamespaces && (attribute._namespace !== null ||\n attribute._namespacePrefix !== null || attribute._localName === \"xmlns\")) {\n element._nodeDocument._hasNamespaces = true;\n }\n}\nexports.element_append = element_append;\n/**\n * Removes an attribute from an element node.\n *\n * @param attribute - an attribute\n * @param element - an element to receive the attribute\n */\nfunction element_remove(attribute, element) {\n /**\n * 1. Queue an attribute mutation record for element with attribute’s\n * local name, attribute’s namespace, and attribute’s value.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueAttributeMutationRecord(element, attribute._localName, attribute._namespace, attribute._value);\n }\n /**\n * 2. If element is custom, then enqueue a custom element callback reaction\n * with element, callback name \"attributeChangedCallback\", and an argument\n * list containing attribute’s local name, attribute’s value, null,\n * and attribute’s namespace.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isCustomElementNode(element)) {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(element, \"attributeChangedCallback\", [attribute._localName, attribute._value, null, attribute._namespace]);\n }\n }\n /**\n * 3. Run the attribute change steps with element, attribute’s local name,\n * attribute’s value, null, and attribute’s namespace.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runAttributeChangeSteps(element, attribute._localName, attribute._value, null, attribute._namespace);\n }\n /**\n * 3. Remove attribute from element’s attribute list.\n * 5. Set attribute’s element to null.\n */\n var index = element._attributeList._asArray().indexOf(attribute);\n element._attributeList._asArray().splice(index, 1);\n attribute._element = null;\n}\nexports.element_remove = element_remove;\n/**\n * Replaces an attribute with another of an element node.\n *\n * @param oldAttr - old attribute\n * @param newAttr - new attribute\n * @param element - an element to receive the attribute\n */\nfunction element_replace(oldAttr, newAttr, element) {\n /**\n * 1. Queue an attribute mutation record for element with oldAttr’s\n * local name, oldAttr’s namespace, and oldAttr’s value.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueAttributeMutationRecord(element, oldAttr._localName, oldAttr._namespace, oldAttr._value);\n }\n /**\n * 2. If element is custom, then enqueue a custom element callback reaction\n * with element, callback name \"attributeChangedCallback\", and an argument\n * list containing oldAttr’s local name, oldAttr’s value, newAttr’s value,\n * and oldAttr’s namespace.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isCustomElementNode(element)) {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(element, \"attributeChangedCallback\", [oldAttr._localName, oldAttr._value, newAttr._value, oldAttr._namespace]);\n }\n }\n /**\n * 3. Run the attribute change steps with element, oldAttr’s local name,\n * oldAttr’s value, newAttr’s value, and oldAttr’s namespace.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runAttributeChangeSteps(element, oldAttr._localName, oldAttr._value, newAttr._value, oldAttr._namespace);\n }\n /**\n * 4. Replace oldAttr by newAttr in element’s attribute list.\n * 5. Set oldAttr’s element to null.\n * 6. Set newAttr’s element to element.\n */\n var index = element._attributeList._asArray().indexOf(oldAttr);\n if (index !== -1) {\n element._attributeList._asArray()[index] = newAttr;\n }\n oldAttr._element = null;\n newAttr._element = element;\n // mark that the document has namespaces\n if (!element._nodeDocument._hasNamespaces && (newAttr._namespace !== null ||\n newAttr._namespacePrefix !== null || newAttr._localName === \"xmlns\")) {\n element._nodeDocument._hasNamespaces = true;\n }\n}\nexports.element_replace = element_replace;\n/**\n * Retrieves an attribute with the given name from an element node.\n *\n * @param qualifiedName - an attribute name\n * @param element - an element to receive the attribute\n */\nfunction element_getAnAttributeByName(qualifiedName, element) {\n /**\n * 1. If element is in the HTML namespace and its node document is an HTML\n * document, then set qualifiedName to qualifiedName in ASCII lowercase.\n * 2. Return the first attribute in element’s attribute list whose qualified\n * name is qualifiedName, and null otherwise.\n */\n if (element._namespace === infra_1.namespace.HTML && element._nodeDocument._type === \"html\") {\n qualifiedName = qualifiedName.toLowerCase();\n }\n return element._attributeList._asArray().find(function (attr) { return attr._qualifiedName === qualifiedName; }) || null;\n}\nexports.element_getAnAttributeByName = element_getAnAttributeByName;\n/**\n * Retrieves an attribute with the given namespace and local name from an\n * element node.\n *\n * @param namespace - an attribute namespace\n * @param localName - an attribute local name\n * @param element - an element to receive the attribute\n */\nfunction element_getAnAttributeByNamespaceAndLocalName(namespace, localName, element) {\n /**\n * 1. If namespace is the empty string, set it to null.\n * 2. Return the attribute in element’s attribute list whose namespace is\n * namespace and local name is localName, if any, and null otherwise.\n */\n var ns = namespace || null;\n return element._attributeList._asArray().find(function (attr) { return attr._namespace === ns && attr._localName === localName; }) || null;\n}\nexports.element_getAnAttributeByNamespaceAndLocalName = element_getAnAttributeByNamespaceAndLocalName;\n/**\n * Retrieves an attribute's value with the given name namespace and local\n * name from an element node.\n *\n * @param element - an element to receive the attribute\n * @param localName - an attribute local name\n * @param namespace - an attribute namespace\n */\nfunction element_getAnAttributeValue(element, localName, namespace) {\n if (namespace === void 0) { namespace = ''; }\n /**\n * 1. Let attr be the result of getting an attribute given namespace,\n * localName, and element.\n * 2. If attr is null, then return the empty string.\n * 3. Return attr’s value.\n */\n var attr = element_getAnAttributeByNamespaceAndLocalName(namespace, localName, element);\n if (attr === null)\n return '';\n else\n return attr._value;\n}\nexports.element_getAnAttributeValue = element_getAnAttributeValue;\n/**\n * Sets an attribute of an element node.\n *\n * @param attr - an attribute\n * @param element - an element to receive the attribute\n */\nfunction element_setAnAttribute(attr, element) {\n /**\n * 1. If attr’s element is neither null nor element, throw an\n * \"InUseAttributeError\" DOMException.\n * 2. Let oldAttr be the result of getting an attribute given attr’s\n * namespace, attr’s local name, and element.\n * 3. If oldAttr is attr, return attr.\n * 4. If oldAttr is non-null, replace it by attr in element.\n * 5. Otherwise, append attr to element.\n * 6. Return oldAttr.\n */\n if (attr._element !== null && attr._element !== element)\n throw new DOMException_1.InUseAttributeError(\"This attribute already exists in the document: \" + attr._qualifiedName + \" as a child of \" + attr._element._qualifiedName + \".\");\n var oldAttr = element_getAnAttributeByNamespaceAndLocalName(attr._namespace || '', attr._localName, element);\n if (oldAttr === attr)\n return attr;\n if (oldAttr !== null) {\n element_replace(oldAttr, attr, element);\n }\n else {\n element_append(attr, element);\n }\n return oldAttr;\n}\nexports.element_setAnAttribute = element_setAnAttribute;\n/**\n * Sets an attribute's value of an element node.\n *\n * @param element - an element to receive the attribute\n * @param localName - an attribute local name\n * @param value - an attribute value\n * @param prefix - an attribute prefix\n * @param namespace - an attribute namespace\n */\nfunction element_setAnAttributeValue(element, localName, value, prefix, namespace) {\n if (prefix === void 0) { prefix = null; }\n if (namespace === void 0) { namespace = null; }\n /**\n * 1. If prefix is not given, set it to null.\n * 2. If namespace is not given, set it to null.\n * 3. Let attribute be the result of getting an attribute given namespace,\n * localName, and element.\n * 4. If attribute is null, create an attribute whose namespace is\n * namespace, namespace prefix is prefix, local name is localName, value\n * is value, and node document is element’s node document, then append this\n * attribute to element, and then return.\n * 5. Change attribute from element to value.\n */\n var attribute = element_getAnAttributeByNamespaceAndLocalName(namespace || '', localName, element);\n if (attribute === null) {\n var newAttr = CreateAlgorithm_1.create_attr(element._nodeDocument, localName);\n newAttr._namespace = namespace;\n newAttr._namespacePrefix = prefix;\n newAttr._value = value;\n element_append(newAttr, element);\n return;\n }\n element_change(attribute, element, value);\n}\nexports.element_setAnAttributeValue = element_setAnAttributeValue;\n/**\n * Removes an attribute with the given name from an element node.\n *\n * @param qualifiedName - an attribute name\n * @param element - an element to receive the attribute\n */\nfunction element_removeAnAttributeByName(qualifiedName, element) {\n /**\n * 1. Let attr be the result of getting an attribute given qualifiedName\n * and element.\n * 2. If attr is non-null, remove it from element.\n * 3. Return attr.\n */\n var attr = element_getAnAttributeByName(qualifiedName, element);\n if (attr !== null) {\n element_remove(attr, element);\n }\n return attr;\n}\nexports.element_removeAnAttributeByName = element_removeAnAttributeByName;\n/**\n * Removes an attribute with the given namespace and local name from an\n * element node.\n *\n * @param namespace - an attribute namespace\n * @param localName - an attribute local name\n * @param element - an element to receive the attribute\n */\nfunction element_removeAnAttributeByNamespaceAndLocalName(namespace, localName, element) {\n /**\n * 1. Let attr be the result of getting an attribute given namespace, localName, and element.\n * 2. If attr is non-null, remove it from element.\n * 3. Return attr.\n */\n var attr = element_getAnAttributeByNamespaceAndLocalName(namespace, localName, element);\n if (attr !== null) {\n element_remove(attr, element);\n }\n return attr;\n}\nexports.element_removeAnAttributeByNamespaceAndLocalName = element_removeAnAttributeByNamespaceAndLocalName;\n/**\n * Creates an element node.\n * See: https://dom.spec.whatwg.org/#concept-create-element.\n *\n * @param document - the document owning the element\n * @param localName - local name\n * @param namespace - element namespace\n * @param prefix - namespace prefix\n * @param is - the \"is\" value\n * @param synchronousCustomElementsFlag - synchronous custom elements flag\n */\nfunction element_createAnElement(document, localName, namespace, prefix, is, synchronousCustomElementsFlag) {\n if (prefix === void 0) { prefix = null; }\n if (is === void 0) { is = null; }\n if (synchronousCustomElementsFlag === void 0) { synchronousCustomElementsFlag = false; }\n /**\n * 1. If prefix was not given, let prefix be null.\n * 2. If is was not given, let is be null.\n * 3. Let result be null.\n */\n var result = null;\n if (!DOMImpl_1.dom.features.customElements) {\n result = CreateAlgorithm_1.create_element(document, localName, namespace, prefix);\n result._customElementState = \"uncustomized\";\n result._customElementDefinition = null;\n result._is = is;\n return result;\n }\n /**\n * 4. Let definition be the result of looking up a custom element definition\n * given document, namespace, localName, and is.\n */\n var definition = CustomElementAlgorithm_1.customElement_lookUpACustomElementDefinition(document, namespace, localName, is);\n if (definition !== null && definition.name !== definition.localName) {\n /**\n * 5. If definition is non-null, and definition’s name is not equal to\n * its local name (i.e., definition represents a customized built-in\n * element), then:\n * 5.1. Let interface be the element interface for localName and the HTML\n * namespace.\n * 5.2. Set result to a new element that implements interface, with no\n * attributes, namespace set to the HTML namespace, namespace prefix\n * set to prefix, local name set to localName, custom element state set\n * to \"undefined\", custom element definition set to null, is value set\n * to is, and node document set to document.\n * 5.3. If the synchronous custom elements flag is set, upgrade element\n * using definition.\n * 5.4. Otherwise, enqueue a custom element upgrade reaction given result\n * and definition.\n */\n var elemenInterface = DocumentAlgorithm_1.document_elementInterface(localName, infra_1.namespace.HTML);\n result = new elemenInterface();\n result._localName = localName;\n result._namespace = infra_1.namespace.HTML;\n result._namespacePrefix = prefix;\n result._customElementState = \"undefined\";\n result._customElementDefinition = null;\n result._is = is;\n result._nodeDocument = document;\n if (synchronousCustomElementsFlag) {\n CustomElementAlgorithm_1.customElement_upgrade(definition, result);\n }\n else {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementUpgradeReaction(result, definition);\n }\n }\n else if (definition !== null) {\n /**\n * 6. Otherwise, if definition is non-null, then:\n */\n if (synchronousCustomElementsFlag) {\n /**\n * 6.1. If the synchronous custom elements flag is set, then run these\n * steps while catching any exceptions:\n */\n try {\n /**\n * 6.1.1. Let C be definition’s constructor.\n * 6.1.2. Set result to the result of constructing C, with no arguments.\n * 6.1.3. Assert: result’s custom element state and custom element definition\n * are initialized.\n * 6.1.4. Assert: result’s namespace is the HTML namespace.\n * _Note:_ IDL enforces that result is an HTMLElement object, which all\n * use the HTML namespace.\n */\n var C = definition.constructor;\n var result_1 = new C();\n console.assert(result_1._customElementState !== undefined);\n console.assert(result_1._customElementDefinition !== undefined);\n console.assert(result_1._namespace === infra_1.namespace.HTML);\n /**\n * 6.1.5. If result’s attribute list is not empty, then throw a\n * \"NotSupportedError\" DOMException.\n * 6.1.6. If result has children, then throw a \"NotSupportedError\"\n * DOMException.\n * 6.1.7. If result’s parent is not null, then throw a\n * \"NotSupportedError\" DOMException.\n * 6.1.8. If result’s node document is not document, then throw a\n * \"NotSupportedError\" DOMException.\n * 6.1.9. If result’s local name is not equal to localName, then throw\n * a \"NotSupportedError\" DOMException.\n */\n if (result_1._attributeList.length !== 0)\n throw new DOMException_1.NotSupportedError(\"Custom element already has attributes.\");\n if (result_1._children.size !== 0)\n throw new DOMException_1.NotSupportedError(\"Custom element already has child nodes.\");\n if (result_1._parent !== null)\n throw new DOMException_1.NotSupportedError(\"Custom element already has a parent node.\");\n if (result_1._nodeDocument !== document)\n throw new DOMException_1.NotSupportedError(\"Custom element is already in a document.\");\n if (result_1._localName !== localName)\n throw new DOMException_1.NotSupportedError(\"Custom element has a different local name.\");\n /**\n * 6.1.10. Set result’s namespace prefix to prefix.\n * 6.1.11. Set result’s is value to null.\n */\n result_1._namespacePrefix = prefix;\n result_1._is = null;\n }\n catch (e) {\n /**\n * If any of these steps threw an exception, then:\n * - Report the exception.\n * - Set result to a new element that implements the HTMLUnknownElement\n * interface, with no attributes, namespace set to the HTML namespace,\n * namespace prefix set to prefix, local name set to localName, custom\n * element state set to \"failed\", custom element definition set to null,\n * is value set to null, and node document set to document.\n */\n // TODO: Report the exception\n result = CreateAlgorithm_1.create_htmlUnknownElement(document, localName, infra_1.namespace.HTML, prefix);\n result._customElementState = \"failed\";\n result._customElementDefinition = null;\n result._is = null;\n }\n }\n else {\n /**\n * 6.2. Otherwise:\n * 6.2.1. Set result to a new element that implements the HTMLElement\n * interface, with no attributes, namespace set to the HTML namespace,\n * namespace prefix set to prefix, local name set to localName, custom\n * element state set to \"undefined\", custom element definition set to\n * null, is value set to null, and node document set to document.\n * 6.2.2. Enqueue a custom element upgrade reaction given result and\n * definition.\n */\n result = CreateAlgorithm_1.create_htmlElement(document, localName, infra_1.namespace.HTML, prefix);\n result._customElementState = \"undefined\";\n result._customElementDefinition = null;\n result._is = null;\n CustomElementAlgorithm_1.customElement_enqueueACustomElementUpgradeReaction(result, definition);\n }\n }\n else {\n /**\n * 7. Otherwise:\n * 7.1. Let interface be the element interface for localName and\n * namespace.\n * 7.2. Set result to a new element that implements interface, with no\n * attributes, namespace set to namespace, namespace prefix set to prefix,\n * local name set to localName, custom element state set to\n * \"uncustomized\", custom element definition set to null, is value set to\n * is, and node document set to document.\n */\n var elementInterface = DocumentAlgorithm_1.document_elementInterface(localName, namespace);\n result = new elementInterface();\n result._localName = localName;\n result._namespace = namespace;\n result._namespacePrefix = prefix;\n result._customElementState = \"uncustomized\";\n result._customElementDefinition = null;\n result._is = is;\n result._nodeDocument = document;\n /**\n * 7.3. If namespace is the HTML namespace, and either localName is a\n * valid custom element name or is is non-null, then set result’s\n * custom element state to \"undefined\".\n */\n if (namespace === infra_1.namespace.HTML && (is !== null ||\n CustomElementAlgorithm_1.customElement_isValidCustomElementName(localName))) {\n result._customElementState = \"undefined\";\n }\n }\n /* istanbul ignore next */\n if (result === null) {\n throw new Error(\"Unable to create element.\");\n }\n /**\n * 8. Returns result\n */\n return result;\n}\nexports.element_createAnElement = element_createAnElement;\n/**\n * Inserts a new node adjacent to this element.\n *\n * @param element - a reference element\n * @param where - a string defining where to insert the element node.\n * - `beforebegin` before this element itself.\n * - `afterbegin` before the first child.\n * - `beforeend` after the last child.\n * - `afterend` after this element itself.\n * @param node - node to insert\n */\nfunction element_insertAdjacent(element, where, node) {\n /**\n * - \"beforebegin\"\n * If element’s parent is null, return null.\n * Return the result of pre-inserting node into element’s parent before\n * element.\n * - \"afterbegin\"\n * Return the result of pre-inserting node into element before element’s\n * first child.\n * - \"beforeend\"\n * Return the result of pre-inserting node into element before null.\n * - \"afterend\"\n * If element’s parent is null, return null.\n * Return the result of pre-inserting node into element’s parent before element’s next sibling.\n * - Otherwise\n * Throw a \"SyntaxError\" DOMException.\n */\n switch (where.toLowerCase()) {\n case 'beforebegin':\n if (element._parent === null)\n return null;\n return MutationAlgorithm_1.mutation_preInsert(node, element._parent, element);\n case 'afterbegin':\n return MutationAlgorithm_1.mutation_preInsert(node, element, element._firstChild);\n case 'beforeend':\n return MutationAlgorithm_1.mutation_preInsert(node, element, null);\n case 'afterend':\n if (element._parent === null)\n return null;\n return MutationAlgorithm_1.mutation_preInsert(node, element._parent, element._nextSibling);\n default:\n throw new DOMException_1.SyntaxError(\"Invalid 'where' argument. \\\"beforebegin\\\", \\\"afterbegin\\\", \\\"beforeend\\\" or \\\"afterend\\\" expected\");\n }\n}\nexports.element_insertAdjacent = element_insertAdjacent;\n//# sourceMappingURL=ElementAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar util_1 = require(\"../util\");\nvar CustomEventImpl_1 = require(\"../dom/CustomEventImpl\");\nvar EventImpl_1 = require(\"../dom/EventImpl\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar ShadowTreeAlgorithm_1 = require(\"./ShadowTreeAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\n/**\n * Sets the canceled flag of an event.\n *\n * @param event - an event\n */\nfunction event_setTheCanceledFlag(event) {\n if (event._cancelable && !event._inPassiveListenerFlag) {\n event._canceledFlag = true;\n }\n}\nexports.event_setTheCanceledFlag = event_setTheCanceledFlag;\n/**\n * Initializes the value of an event.\n *\n * @param event - an event to initialize\n * @param type - the type of event\n * @param bubbles - whether the event propagates in reverse\n * @param cancelable - whether the event can be cancelled\n */\nfunction event_initialize(event, type, bubbles, cancelable) {\n event._initializedFlag = true;\n event._stopPropagationFlag = false;\n event._stopImmediatePropagationFlag = false;\n event._canceledFlag = false;\n event._isTrusted = false;\n event._target = null;\n event._type = type;\n event._bubbles = bubbles;\n event._cancelable = cancelable;\n}\nexports.event_initialize = event_initialize;\n/**\n * Creates a new event.\n *\n * @param eventInterface - event interface\n * @param realm - realm\n */\nfunction event_createAnEvent(eventInterface, realm) {\n if (realm === void 0) { realm = undefined; }\n /**\n * 1. If realm is not given, then set it to null.\n * 2. Let dictionary be the result of converting the JavaScript value\n * undefined to the dictionary type accepted by eventInterface’s\n * constructor. (This dictionary type will either be EventInit or a\n * dictionary that inherits from it.)\n * 3. Let event be the result of running the inner event creation steps with\n * eventInterface, realm, the time of the occurrence that the event is\n * signaling, and dictionary.\n * 4. Initialize event’s isTrusted attribute to true.\n * 5. Return event.\n */\n if (realm === undefined)\n realm = null;\n var dictionary = {};\n var event = event_innerEventCreationSteps(eventInterface, realm, new Date(), dictionary);\n event._isTrusted = true;\n return event;\n}\nexports.event_createAnEvent = event_createAnEvent;\n/**\n * Performs event creation steps.\n *\n * @param eventInterface - event interface\n * @param realm - realm\n * @param time - time of occurrance\n * @param dictionary - event attributes\n *\n */\nfunction event_innerEventCreationSteps(eventInterface, realm, time, dictionary) {\n /**\n * 1. Let event be the result of creating a new object using eventInterface.\n * TODO: Implement realms\n * If realm is non-null, then use that Realm; otherwise, use the default\n * behavior defined in Web IDL.\n */\n var event = new eventInterface(\"\");\n /**\n * 2. Set event’s initialized flag.\n * 3. Initialize event’s timeStamp attribute to a DOMHighResTimeStamp\n * representing the high resolution time from the time origin to time.\n * 4. For each member → value in dictionary, if event has an attribute\n * whose identifier is member, then initialize that attribute to value.\n * 5. Run the event constructing steps with event.\n * 6. Return event.\n */\n event._initializedFlag = true;\n event._timeStamp = time.getTime();\n Object.assign(event, dictionary);\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runEventConstructingSteps(event);\n }\n return event;\n}\nexports.event_innerEventCreationSteps = event_innerEventCreationSteps;\n/**\n * Dispatches an event to an event target.\n *\n * @param event - the event to dispatch\n * @param target - event target\n * @param legacyTargetOverrideFlag - legacy target override flag\n * @param legacyOutputDidListenersThrowFlag - legacy output flag that returns\n * whether the event listener's callback threw an exception\n */\nfunction event_dispatch(event, target, legacyTargetOverrideFlag, legacyOutputDidListenersThrowFlag) {\n var e_1, _a, e_2, _b;\n if (legacyTargetOverrideFlag === void 0) { legacyTargetOverrideFlag = false; }\n if (legacyOutputDidListenersThrowFlag === void 0) { legacyOutputDidListenersThrowFlag = { value: false }; }\n var clearTargets = false;\n /**\n * 1. Set event's dispatch flag.\n */\n event._dispatchFlag = true;\n /**\n * 2. Let targetOverride be target, if legacy target override flag is not\n * given, and target's associated Document otherwise.\n *\n * _Note:_ legacy target override flag is only used by HTML and only when\n * target is a Window object.\n */\n var targetOverride = target;\n if (legacyTargetOverrideFlag) {\n var doc = target._associatedDocument;\n if (util_1.Guard.isDocumentNode(doc)) {\n targetOverride = doc;\n }\n }\n /**\n * 3. Let activationTarget be null.\n * 4. Let relatedTarget be the result of retargeting event's relatedTarget\n * against target.\n * 5. If target is not relatedTarget or target is event's relatedTarget,\n * then:\n */\n var activationTarget = null;\n var relatedTarget = TreeAlgorithm_1.tree_retarget(event._relatedTarget, target);\n if (target !== relatedTarget || target === event._relatedTarget) {\n /**\n * 5.1. Let touchTargets be a new list.\n * 5.2. For each touchTarget of event's touch target list, append the\n * result of retargeting touchTarget against target to touchTargets.\n * 5.3. Append to an event path with event, target, targetOverride,\n * relatedTarget, touchTargets, and false.\n * 5.4. Let isActivationEvent be true, if event is a MouseEvent object\n * and event's type attribute is \"click\", and false otherwise.\n * 5.5. If isActivationEvent is true and target has activation behavior,\n * then set activationTarget to target.\n * 5.6. Let slotable be target, if target is a slotable and is assigned,\n * and null otherwise.\n * 5.7. Let slot-in-closed-tree be false.\n * 5.8. Let parent be the result of invoking target's get the parent with\n * event.\n */\n var touchTargets = [];\n try {\n for (var _c = __values(event._touchTargetList), _d = _c.next(); !_d.done; _d = _c.next()) {\n var touchTarget = _d.value;\n touchTargets.push(TreeAlgorithm_1.tree_retarget(touchTarget, target));\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_1) throw e_1.error; }\n }\n event_appendToAnEventPath(event, target, targetOverride, relatedTarget, touchTargets, false);\n var isActivationEvent = (util_1.Guard.isMouseEvent(event) && event._type === \"click\");\n if (isActivationEvent && target._activationBehavior !== undefined) {\n activationTarget = target;\n }\n var slotable = (util_1.Guard.isSlotable(target) && ShadowTreeAlgorithm_1.shadowTree_isAssigned(target)) ?\n target : null;\n var slotInClosedTree = false;\n var parent = target._getTheParent(event);\n /**\n * 5.9. While parent is non-null:\n */\n while (parent !== null && util_1.Guard.isNode(parent)) {\n /**\n * 5.9.1 If slotable is non-null:\n * 5.9.1.1. Assert: parent is a slot.\n * 5.9.1.2. Set slotable to null.\n * 5.9.1.3. If parent's root is a shadow root whose mode is \"closed\",\n * then set slot-in-closed-tree to true.\n */\n if (slotable !== null) {\n if (!util_1.Guard.isSlot(parent)) {\n throw new Error(\"Parent node of a slotable should be a slot.\");\n }\n slotable = null;\n var root = TreeAlgorithm_1.tree_rootNode(parent, true);\n if (util_1.Guard.isShadowRoot(root) && root._mode === \"closed\") {\n slotInClosedTree = true;\n }\n }\n /**\n * 5.9.2 If parent is a slotable and is assigned, then set slotable to\n * parent.\n * 5.9.3. Let relatedTarget be the result of retargeting event's\n * relatedTarget against parent.\n * 5.9.4. Let touchTargets be a new list.\n * 5.9.4. For each touchTarget of event's touch target list, append the\n * result of retargeting touchTarget against parent to touchTargets.\n */\n if (util_1.Guard.isSlotable(parent) && ShadowTreeAlgorithm_1.shadowTree_isAssigned(parent)) {\n slotable = parent;\n }\n relatedTarget = TreeAlgorithm_1.tree_retarget(event._relatedTarget, parent);\n touchTargets = [];\n try {\n for (var _e = (e_2 = void 0, __values(event._touchTargetList)), _f = _e.next(); !_f.done; _f = _e.next()) {\n var touchTarget = _f.value;\n touchTargets.push(TreeAlgorithm_1.tree_retarget(touchTarget, parent));\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_b = _e.return)) _b.call(_e);\n }\n finally { if (e_2) throw e_2.error; }\n }\n /**\n * 5.9.6. If parent is a Window object, or parent is a node and target's\n * root is a shadow-including inclusive ancestor of parent, then:\n */\n if (util_1.Guard.isWindow(parent) || (util_1.Guard.isNode(parent) && util_1.Guard.isNode(target) &&\n TreeAlgorithm_1.tree_isAncestorOf(TreeAlgorithm_1.tree_rootNode(target, true), parent, true, true))) {\n /**\n * 5.9.6.1. If isActivationEvent is true, event's bubbles attribute\n * is true, activationTarget is null, and parent has activation\n * behavior, then set activationTarget to parent.\n * 5.9.6.2. Append to an event path with event, parent, null,\n * relatedTarget, touchTargets, and slot-in-closed-tree.\n */\n if (isActivationEvent && event._bubbles && activationTarget === null &&\n parent._activationBehavior) {\n activationTarget = parent;\n }\n event_appendToAnEventPath(event, parent, null, relatedTarget, touchTargets, slotInClosedTree);\n }\n else if (parent === relatedTarget) {\n /**\n * 5.9.7. Otherwise, if parent is relatedTarget,\n * then set parent to null.\n */\n parent = null;\n }\n else {\n /**\n * 5.9.8. Otherwise, set target to parent and then:\n * 5.9.8.1. If isActivationEvent is true, activationTarget is null,\n * and target has activation behavior, then set activationTarget\n * to target.\n * 5.9.8.2. Append to an event path with event, parent, target,\n * relatedTarget, touchTargets, and slot-in-closed-tree.\n */\n target = parent;\n if (isActivationEvent && activationTarget === null &&\n target._activationBehavior) {\n activationTarget = target;\n }\n event_appendToAnEventPath(event, parent, target, relatedTarget, touchTargets, slotInClosedTree);\n }\n /**\n * 5.9.9. If parent is non-null, then set parent to the result of\n * invoking parent's get the parent with event.\n * 5.9.10. Set slot-in-closed-tree to false.\n */\n if (parent !== null) {\n parent = parent._getTheParent(event);\n }\n slotInClosedTree = false;\n }\n /**\n * 5.10. Let clearTargetsStruct be the last struct in event's path whose\n * shadow-adjusted target is non-null.\n */\n var clearTargetsStruct = null;\n var path = event._path;\n for (var i = path.length - 1; i >= 0; i--) {\n var struct = path[i];\n if (struct.shadowAdjustedTarget !== null) {\n clearTargetsStruct = struct;\n break;\n }\n }\n /**\n * 5.11. Let clearTargets be true if clearTargetsStruct's shadow-adjusted\n * target, clearTargetsStruct's relatedTarget, or an EventTarget object\n * in clearTargetsStruct's touch target list is a node and its root is\n * a shadow root, and false otherwise.\n */\n if (clearTargetsStruct !== null) {\n if (util_1.Guard.isNode(clearTargetsStruct.shadowAdjustedTarget) &&\n util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(clearTargetsStruct.shadowAdjustedTarget, true))) {\n clearTargets = true;\n }\n else if (util_1.Guard.isNode(clearTargetsStruct.relatedTarget) &&\n util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(clearTargetsStruct.relatedTarget, true))) {\n clearTargets = true;\n }\n else {\n for (var j = 0; j < clearTargetsStruct.touchTargetList.length; j++) {\n var struct = clearTargetsStruct.touchTargetList[j];\n if (util_1.Guard.isNode(struct) &&\n util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(struct, true))) {\n clearTargets = true;\n break;\n }\n }\n }\n }\n /**\n * 5.12. If activationTarget is non-null and activationTarget has\n * legacy-pre-activation behavior, then run activationTarget's\n * legacy-pre-activation behavior.\n */\n if (activationTarget !== null &&\n activationTarget._legacyPreActivationBehavior !== undefined) {\n activationTarget._legacyPreActivationBehavior(event);\n }\n /**\n * 5.13. For each struct in event's path, in reverse order:\n */\n for (var i = path.length - 1; i >= 0; i--) {\n var struct = path[i];\n /**\n * 5.13.1. If struct's shadow-adjusted target is non-null, then set\n * event's eventPhase attribute to AT_TARGET.\n * 5.13.2. Otherwise, set event's eventPhase attribute to\n * CAPTURING_PHASE.\n * 5.13.3. Invoke with struct, event, \"capturing\", and\n * legacyOutputDidListenersThrowFlag if given.\n */\n if (struct.shadowAdjustedTarget !== null) {\n event._eventPhase = interfaces_1.EventPhase.AtTarget;\n }\n else {\n event._eventPhase = interfaces_1.EventPhase.Capturing;\n }\n event_invoke(struct, event, \"capturing\", legacyOutputDidListenersThrowFlag);\n }\n /**\n * 5.14. For each struct in event's path\n */\n for (var i = 0; i < path.length; i++) {\n var struct = path[i];\n /**\n * 5.14.1. If struct's shadow-adjusted target is non-null, then set\n * event's eventPhase attribute to AT_TARGET.\n * 5.14.2. Otherwise:\n * 5.14.2.1. If event's bubbles attribute is false, then continue.\n * 5.14.2.2. Set event's eventPhase attribute to BUBBLING_PHASE.\n * 5.14.3. Invoke with struct, event, \"bubbling\", and\n * legacyOutputDidListenersThrowFlag if given.\n */\n if (struct.shadowAdjustedTarget !== null) {\n event._eventPhase = interfaces_1.EventPhase.AtTarget;\n }\n else {\n if (!event._bubbles)\n continue;\n event._eventPhase = interfaces_1.EventPhase.Bubbling;\n }\n event_invoke(struct, event, \"bubbling\", legacyOutputDidListenersThrowFlag);\n }\n }\n /**\n * 6. Set event's eventPhase attribute to NONE.\n * 7. Set event's currentTarget attribute to null.\n * 8. Set event's path to the empty list.\n * 9. Unset event's dispatch flag, stop propagation flag, and stop\n * immediate propagation flag.\n */\n event._eventPhase = interfaces_1.EventPhase.None;\n event._currentTarget = null;\n event._path = [];\n event._dispatchFlag = false;\n event._stopPropagationFlag = false;\n event._stopImmediatePropagationFlag = false;\n /**\n * 10. If clearTargets, then:\n * 10.1. Set event's target to null.\n * 10.2. Set event's relatedTarget to null.\n * 10.3. Set event's touch target list to the empty list.\n */\n if (clearTargets) {\n event._target = null;\n event._relatedTarget = null;\n event._touchTargetList = [];\n }\n /**\n * 11. If activationTarget is non-null, then:\n * 11.1. If event's canceled flag is unset, then run activationTarget's\n * activation behavior with event.\n * 11.2. Otherwise, if activationTarget has legacy-canceled-activation\n * behavior, then run activationTarget's legacy-canceled-activation\n * behavior.\n */\n if (activationTarget !== null) {\n if (!event._canceledFlag && activationTarget._activationBehavior !== undefined) {\n activationTarget._activationBehavior(event);\n }\n else if (activationTarget._legacyCanceledActivationBehavior !== undefined) {\n activationTarget._legacyCanceledActivationBehavior(event);\n }\n }\n /**\n * 12. Return false if event's canceled flag is set, and true otherwise.\n */\n return !event._canceledFlag;\n}\nexports.event_dispatch = event_dispatch;\n/**\n * Appends a new struct to an event's path.\n *\n * @param event - an event\n * @param invocationTarget - the target of the invocation\n * @param shadowAdjustedTarget - shadow-root adjusted event target\n * @param relatedTarget - related event target\n * @param touchTargets - a list of touch targets\n * @param slotInClosedTree - if the target's parent is a closed shadow root\n */\nfunction event_appendToAnEventPath(event, invocationTarget, shadowAdjustedTarget, relatedTarget, touchTargets, slotInClosedTree) {\n /**\n * 1. Let invocationTargetInShadowTree be false.\n * 2. If invocationTarget is a node and its root is a shadow root, then\n * set invocationTargetInShadowTree to true.\n */\n var invocationTargetInShadowTree = false;\n if (util_1.Guard.isNode(invocationTarget) &&\n util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(invocationTarget))) {\n invocationTargetInShadowTree = true;\n }\n /**\n * 3. Let root-of-closed-tree be false.\n * 4. If invocationTarget is a shadow root whose mode is \"closed\", then\n * set root-of-closed-tree to true.\n */\n var rootOfClosedTree = false;\n if (util_1.Guard.isShadowRoot(invocationTarget) &&\n invocationTarget._mode === \"closed\") {\n rootOfClosedTree = true;\n }\n /**\n * 5. Append a new struct to event's path whose invocation target is\n * invocationTarget, invocation-target-in-shadow-tree is\n * invocationTargetInShadowTree, shadow-adjusted target is\n * shadowAdjustedTarget, relatedTarget is relatedTarget,\n * touch target list is touchTargets, root-of-closed-tree is\n * root-of-closed-tree, and slot-in-closed-tree is slot-in-closed-tree.\n */\n event._path.push({\n invocationTarget: invocationTarget,\n invocationTargetInShadowTree: invocationTargetInShadowTree,\n shadowAdjustedTarget: shadowAdjustedTarget,\n relatedTarget: relatedTarget,\n touchTargetList: touchTargets,\n rootOfClosedTree: rootOfClosedTree,\n slotInClosedTree: slotInClosedTree\n });\n}\nexports.event_appendToAnEventPath = event_appendToAnEventPath;\n/**\n * Invokes an event.\n *\n * @param struct - a struct defining event's path\n * @param event - the event to invoke\n * @param phase - event phase\n * @param legacyOutputDidListenersThrowFlag - legacy output flag that returns\n * whether the event listener's callback threw an exception\n */\nfunction event_invoke(struct, event, phase, legacyOutputDidListenersThrowFlag) {\n if (legacyOutputDidListenersThrowFlag === void 0) { legacyOutputDidListenersThrowFlag = { value: false }; }\n /**\n * 1. Set event's target to the shadow-adjusted target of the last struct\n * in event's path, that is either struct or preceding struct, whose\n * shadow-adjusted target is non-null.\n */\n var path = event._path;\n var index = -1;\n for (var i = 0; i < path.length; i++) {\n if (path[i] === struct) {\n index = i;\n break;\n }\n }\n if (index !== -1) {\n var item = path[index];\n if (item.shadowAdjustedTarget !== null) {\n event._target = item.shadowAdjustedTarget;\n }\n else if (index > 0) {\n item = path[index - 1];\n if (item.shadowAdjustedTarget !== null) {\n event._target = item.shadowAdjustedTarget;\n }\n }\n }\n /**\n * 2. Set event's relatedTarget to struct's relatedTarget.\n * 3. Set event's touch target list to struct's touch target list.\n * 4. If event's stop propagation flag is set, then return.\n * 5. Initialize event's currentTarget attribute to struct's invocation\n * target.\n * 6. Let listeners be a clone of event's currentTarget attribute value's\n * event listener list.\n *\n * _Note:_ This avoids event listeners added after this point from being\n * run. Note that removal still has an effect due to the removed field.\n */\n event._relatedTarget = struct.relatedTarget;\n event._touchTargetList = struct.touchTargetList;\n if (event._stopPropagationFlag)\n return;\n event._currentTarget = struct.invocationTarget;\n var currentTarget = event._currentTarget;\n var targetListeners = currentTarget._eventListenerList;\n var listeners = new (Array.bind.apply(Array, __spread([void 0], targetListeners)))();\n /**\n * 7. Let found be the result of running inner invoke with event, listeners,\n * phase, and legacyOutputDidListenersThrowFlag if given.\n */\n var found = event_innerInvoke(event, listeners, phase, struct, legacyOutputDidListenersThrowFlag);\n /**\n * 8. If found is false and event's isTrusted attribute is true, then:\n */\n if (!found && event._isTrusted) {\n /**\n * 8.1. Let originalEventType be event's type attribute value.\n * 8.2. If event's type attribute value is a match for any of the strings\n * in the first column in the following table, set event's type attribute\n * value to the string in the second column on the same row as the matching\n * string, and return otherwise.\n *\n * Event type | Legacy event type\n * -------------------------------------------------\n * \"animationend\" | \"webkitAnimationEnd\"\n * \"animationiteration\" | \"webkitAnimationIteration\"\n * \"animationstart\" | \"webkitAnimationStart\"\n * \"transitionend\" | \"webkitTransitionEnd\"\n */\n var originalEventType = event._type;\n if (originalEventType === \"animationend\") {\n event._type = \"webkitAnimationEnd\";\n }\n else if (originalEventType === \"animationiteration\") {\n event._type = \"webkitAnimationIteration\";\n }\n else if (originalEventType === \"animationstart\") {\n event._type = \"webkitAnimationStart\";\n }\n else if (originalEventType === \"transitionend\") {\n event._type = \"webkitTransitionEnd\";\n }\n /**\n * 8.3. Inner invoke with event, listeners, phase, and\n * legacyOutputDidListenersThrowFlag if given.\n * 8.4. Set event's type attribute value to originalEventType.\n */\n event_innerInvoke(event, listeners, phase, struct, legacyOutputDidListenersThrowFlag);\n event._type = originalEventType;\n }\n}\nexports.event_invoke = event_invoke;\n/**\n * Invokes an event.\n *\n * @param event - the event to invoke\n * @param listeners - event listeners\n * @param phase - event phase\n * @param struct - a struct defining event's path\n * @param legacyOutputDidListenersThrowFlag - legacy output flag that returns\n * whether the event listener's callback threw an exception\n */\nfunction event_innerInvoke(event, listeners, phase, struct, legacyOutputDidListenersThrowFlag) {\n if (legacyOutputDidListenersThrowFlag === void 0) { legacyOutputDidListenersThrowFlag = { value: false }; }\n /**\n * 1. Let found be false.\n * 2. For each listener in listeners, whose removed is false:\n */\n var found = false;\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n if (!listener.removed) {\n /**\n * 2.1. If event's type attribute value is not listener's type, then\n * continue.\n * 2.2. Set found to true.\n * 2.3. If phase is \"capturing\" and listener's capture is false, then\n * continue.\n * 2.4. If phase is \"bubbling\" and listener's capture is true, then\n * continue.\n */\n if (event._type !== listener.type)\n continue;\n found = true;\n if (phase === \"capturing\" && !listener.capture)\n continue;\n if (phase === \"bubbling\" && listener.capture)\n continue;\n /**\n * 2.5. If listener's once is true, then remove listener from event's\n * currentTarget attribute value's event listener list.\n */\n if (listener.once && event._currentTarget !== null) {\n var impl = event._currentTarget;\n var index = -1;\n for (var i_1 = 0; i_1 < impl._eventListenerList.length; i_1++) {\n if (impl._eventListenerList[i_1] === listener) {\n index = i_1;\n break;\n }\n }\n if (index !== -1) {\n impl._eventListenerList.splice(index, 1);\n }\n }\n /**\n * TODO: Implement realms\n *\n * 2.6. Let global be listener callback's associated Realm's global\n * object.\n */\n var globalObject = undefined;\n /**\n * 2.7. Let currentEvent be undefined.\n * 2.8. If global is a Window object, then:\n * 2.8.1. Set currentEvent to global's current event.\n * 2.8.2. If struct's invocation-target-in-shadow-tree is false, then\n * set global's current event to event.\n */\n var currentEvent = undefined;\n if (util_1.Guard.isWindow(globalObject)) {\n currentEvent = globalObject._currentEvent;\n if (struct.invocationTargetInShadowTree === false) {\n globalObject._currentEvent = event;\n }\n }\n /**\n * 2.9. If listener's passive is true, then set event's in passive\n * listener flag.\n * 2.10. Call a user object's operation with listener's callback,\n * \"handleEvent\", « event », and event's currentTarget attribute value.\n */\n if (listener.passive)\n event._inPassiveListenerFlag = true;\n try {\n listener.callback.handleEvent.call(event._currentTarget, event);\n }\n catch (err) {\n /**\n * If this throws an exception, then:\n * 2.10.1. Report the exception.\n * 2.10.2. Set legacyOutputDidListenersThrowFlag if given.\n *\n * _Note:_ The legacyOutputDidListenersThrowFlag is only used by\n * Indexed Database API.\n * TODO: Report the exception\n * See: https://html.spec.whatwg.org/multipage/webappapis.html#runtime-script-errors-in-documents\n */\n legacyOutputDidListenersThrowFlag.value = true;\n }\n /**\n * 2.11. Unset event's in passive listener flag.\n */\n if (listener.passive)\n event._inPassiveListenerFlag = false;\n /**\n * 2.12. If global is a Window object, then set global's current event\n * to currentEvent.\n */\n if (util_1.Guard.isWindow(globalObject)) {\n globalObject._currentEvent = currentEvent;\n }\n /**\n * 2.13. If event's stop immediate propagation flag is set, then return\n * found.\n */\n if (event._stopImmediatePropagationFlag)\n return found;\n }\n }\n /**\n * 3. Return found.\n */\n return found;\n}\nexports.event_innerInvoke = event_innerInvoke;\n/**\n * Fires an event at target.\n * @param e - event name\n * @param target - event target\n * @param eventConstructor - an event constructor, with a description of how\n * IDL attributes are to be initialized\n * @param idlAttributes - a dictionary describing how IDL attributes are\n * to be initialized\n * @param legacyTargetOverrideFlag - legacy target override flag\n */\nfunction event_fireAnEvent(e, target, eventConstructor, idlAttributes, legacyTargetOverrideFlag) {\n /**\n * 1. If eventConstructor is not given, then let eventConstructor be Event.\n */\n if (eventConstructor === undefined) {\n eventConstructor = EventImpl_1.EventImpl;\n }\n /**\n * 2. Let event be the result of creating an event given eventConstructor,\n * in the relevant Realm of target.\n */\n var event = event_createAnEvent(eventConstructor);\n /**\n * 3. Initialize event’s type attribute to e.\n */\n event._type = e;\n /**\n * 4. Initialize any other IDL attributes of event as described in the\n * invocation of this algorithm.\n * _Note:_ This also allows for the isTrusted attribute to be set to false.\n */\n if (idlAttributes) {\n for (var key in idlAttributes) {\n var idlObj = event;\n idlObj[key] = idlAttributes[key];\n }\n }\n /**\n * 5. Return the result of dispatching event at target, with legacy target\n * override flag set if set.\n */\n return event_dispatch(event, target, legacyTargetOverrideFlag);\n}\nexports.event_fireAnEvent = event_fireAnEvent;\n/**\n * Creates an event.\n *\n * @param eventInterface - the name of the event interface\n */\nfunction event_createLegacyEvent(eventInterface) {\n /**\n * 1. Let constructor be null.\n */\n var constructor = null;\n /**\n * TODO: Implement in HTML DOM\n * 2. If interface is an ASCII case-insensitive match for any of the strings\n * in the first column in the following table, then set constructor to the\n * interface in the second column on the same row as the matching string:\n *\n * String | Interface\n * -------|----------\n * \"beforeunloadevent\" | BeforeUnloadEvent\n * \"compositionevent\" | CompositionEvent\n * \"customevent\" | CustomEvent\n * \"devicemotionevent\" | DeviceMotionEvent\n * \"deviceorientationevent\" | DeviceOrientationEvent\n * \"dragevent\" | DragEvent\n * \"event\" | Event\n * \"events\" | Event\n * \"focusevent\" | FocusEvent\n * \"hashchangeevent\" | HashChangeEvent\n * \"htmlevents\" | Event\n * \"keyboardevent\" | KeyboardEvent\n * \"messageevent\" | MessageEvent\n * \"mouseevent\" | MouseEvent\n * \"mouseevents\" |\n * \"storageevent\" | StorageEvent\n * \"svgevents\" | Event\n * \"textevent\" | CompositionEvent\n * \"touchevent\" | TouchEvent\n * \"uievent\" | UIEvent\n * \"uievents\" | UIEvent\n */\n switch (eventInterface.toLowerCase()) {\n case \"beforeunloadevent\":\n break;\n case \"compositionevent\":\n break;\n case \"customevent\":\n constructor = CustomEventImpl_1.CustomEventImpl;\n break;\n case \"devicemotionevent\":\n break;\n case \"deviceorientationevent\":\n break;\n case \"dragevent\":\n break;\n case \"event\":\n case \"events\":\n constructor = EventImpl_1.EventImpl;\n break;\n case \"focusevent\":\n break;\n case \"hashchangeevent\":\n break;\n case \"htmlevents\":\n break;\n case \"keyboardevent\":\n break;\n case \"messageevent\":\n break;\n case \"mouseevent\":\n break;\n case \"mouseevents\":\n break;\n case \"storageevent\":\n break;\n case \"svgevents\":\n break;\n case \"textevent\":\n break;\n case \"touchevent\":\n break;\n case \"uievent\":\n break;\n case \"uievents\":\n break;\n }\n /**\n * 3. If constructor is null, then throw a \"NotSupportedError\" DOMException.\n */\n if (constructor === null) {\n throw new DOMException_1.NotSupportedError(\"Event constructor not found for interface \" + eventInterface + \".\");\n }\n /**\n * 4. If the interface indicated by constructor is not exposed on the\n * relevant global object of the context object, then throw a\n * \"NotSupportedError\" DOMException.\n * _Note:_ Typically user agents disable support for touch events in some\n * configurations, in which case this clause would be triggered for the\n * interface TouchEvent.\n */\n // TODO: Implement realms\n /**\n * 5. Let event be the result of creating an event given constructor.\n * 6. Initialize event’s type attribute to the empty string.\n * 7. Initialize event’s timeStamp attribute to a DOMHighResTimeStamp\n * representing the high resolution time from the time origin to now.\n * 8. Initialize event’s isTrusted attribute to false.\n * 9. Unset event’s initialized flag.\n */\n var event = new constructor(\"\");\n event._type = \"\";\n event._timeStamp = new Date().getTime();\n event._isTrusted = false;\n event._initializedFlag = false;\n /**\n * 10. Return event.\n */\n return event;\n}\nexports.event_createLegacyEvent = event_createLegacyEvent;\n/**\n * Getter of an event handler IDL attribute.\n *\n * @param eventTarget - event target\n * @param name - event name\n */\nfunction event_getterEventHandlerIDLAttribute(thisObj, name) {\n /**\n * 1. Let eventTarget be the result of determining the target of an event\n * handler given this object and name.\n * 2. If eventTarget is null, then return null.\n * 3. Return the result of getting the current value of the event handler\n * given eventTarget and name.\n */\n var eventTarget = event_determineTheTargetOfAnEventHandler(thisObj, name);\n if (eventTarget === null)\n return null;\n return event_getTheCurrentValueOfAnEventHandler(eventTarget, name);\n}\nexports.event_getterEventHandlerIDLAttribute = event_getterEventHandlerIDLAttribute;\n/**\n * Setter of an event handler IDL attribute.\n *\n * @param eventTarget - event target\n * @param name - event name\n * @param value - event handler\n */\nfunction event_setterEventHandlerIDLAttribute(thisObj, name, value) {\n /**\n * 1. Let eventTarget be the result of determining the target of an event\n * handler given this object and name.\n * 2. If eventTarget is null, then return.\n * 3. If the given value is null, then deactivate an event handler given\n * eventTarget and name.\n * 4. Otherwise:\n * 4.1. Let handlerMap be eventTarget's event handler map.\n * 4.2. Let eventHandler be handlerMap[name].\n * 4.3. Set eventHandler's value to the given value.\n * 4.4. Activate an event handler given eventTarget and name.\n */\n var eventTarget = event_determineTheTargetOfAnEventHandler(thisObj, name);\n if (eventTarget === null)\n return;\n if (value === null) {\n event_deactivateAnEventHandler(eventTarget, name);\n }\n else {\n var handlerMap = eventTarget._eventHandlerMap;\n var eventHandler = handlerMap[\"onabort\"];\n if (eventHandler !== undefined) {\n eventHandler.value = value;\n }\n event_activateAnEventHandler(eventTarget, name);\n }\n}\nexports.event_setterEventHandlerIDLAttribute = event_setterEventHandlerIDLAttribute;\n/**\n * Determines the target of an event handler.\n *\n * @param eventTarget - event target\n * @param name - event name\n */\nfunction event_determineTheTargetOfAnEventHandler(eventTarget, name) {\n // TODO: Implement in HTML DOM\n return null;\n}\nexports.event_determineTheTargetOfAnEventHandler = event_determineTheTargetOfAnEventHandler;\n/**\n * Gets the current value of an event handler.\n *\n * @param eventTarget - event target\n * @param name - event name\n */\nfunction event_getTheCurrentValueOfAnEventHandler(eventTarget, name) {\n // TODO: Implement in HTML DOM\n return null;\n}\nexports.event_getTheCurrentValueOfAnEventHandler = event_getTheCurrentValueOfAnEventHandler;\n/**\n * Activates an event handler.\n *\n * @param eventTarget - event target\n * @param name - event name\n */\nfunction event_activateAnEventHandler(eventTarget, name) {\n // TODO: Implement in HTML DOM\n}\nexports.event_activateAnEventHandler = event_activateAnEventHandler;\n/**\n * Deactivates an event handler.\n *\n * @param eventTarget - event target\n * @param name - event name\n */\nfunction event_deactivateAnEventHandler(eventTarget, name) {\n // TODO: Implement in HTML DOM\n}\nexports.event_deactivateAnEventHandler = event_deactivateAnEventHandler;\n//# sourceMappingURL=EventAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Flattens the given options argument.\n *\n * @param options - options argument\n */\nfunction eventTarget_flatten(options) {\n /**\n * 1. If options is a boolean, then return options.\n * 2. Return options’s capture.\n */\n if (util_1.isBoolean(options)) {\n return options;\n }\n else {\n return options.capture || false;\n }\n}\nexports.eventTarget_flatten = eventTarget_flatten;\n/**\n * Flattens the given options argument.\n *\n * @param options - options argument\n */\nfunction eventTarget_flattenMore(options) {\n /**\n * 1. Let capture be the result of flattening options.\n * 2. Let once and passive be false.\n * 3. If options is a dictionary, then set passive to options’s passive and\n * once to options’s once.\n * 4. Return capture, passive, and once.\n */\n var capture = eventTarget_flatten(options);\n var once = false;\n var passive = false;\n if (!util_1.isBoolean(options)) {\n once = options.once || false;\n passive = options.passive || false;\n }\n return [capture, passive, once];\n}\nexports.eventTarget_flattenMore = eventTarget_flattenMore;\n/**\n * Adds a new event listener.\n *\n * @param eventTarget - event target\n * @param listener - event listener\n */\nfunction eventTarget_addEventListener(eventTarget, listener) {\n /**\n * 1. If eventTarget is a ServiceWorkerGlobalScope object, its service\n * worker’s script resource’s has ever been evaluated flag is set, and\n * listener’s type matches the type attribute value of any of the service\n * worker events, then report a warning to the console that this might not\n * give the expected results. [SERVICE-WORKERS]\n */\n // TODO: service worker\n /**\n * 2. If listener’s callback is null, then return.\n */\n if (listener.callback === null)\n return;\n /**\n * 3. If eventTarget’s event listener list does not contain an event listener\n * whose type is listener’s type, callback is listener’s callback, and capture\n * is listener’s capture, then append listener to eventTarget’s event listener\n * list.\n */\n for (var i = 0; i < eventTarget._eventListenerList.length; i++) {\n var entry = eventTarget._eventListenerList[i];\n if (entry.type === listener.type && entry.callback.handleEvent === listener.callback.handleEvent\n && entry.capture === listener.capture) {\n return;\n }\n }\n eventTarget._eventListenerList.push(listener);\n}\nexports.eventTarget_addEventListener = eventTarget_addEventListener;\n/**\n * Removes an event listener.\n *\n * @param eventTarget - event target\n * @param listener - event listener\n */\nfunction eventTarget_removeEventListener(eventTarget, listener, index) {\n /**\n * 1. If eventTarget is a ServiceWorkerGlobalScope object and its service\n * worker’s set of event types to handle contains type, then report a\n * warning to the console that this might not give the expected results.\n * [SERVICE-WORKERS]\n */\n // TODO: service worker\n /**\n * 2. Set listener’s removed to true and remove listener from eventTarget’s\n * event listener list.\n */\n listener.removed = true;\n eventTarget._eventListenerList.splice(index, 1);\n}\nexports.eventTarget_removeEventListener = eventTarget_removeEventListener;\n/**\n * Removes all event listeners.\n *\n * @param eventTarget - event target\n */\nfunction eventTarget_removeAllEventListeners(eventTarget) {\n /**\n * To remove all event listeners, given an EventTarget object eventTarget,\n * for each listener of eventTarget’s event listener list, remove an event\n * listener with eventTarget and listener.\n */\n var e_1, _a;\n try {\n for (var _b = __values(eventTarget._eventListenerList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var e = _c.value;\n e.removed = true;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n eventTarget._eventListenerList.length = 0;\n}\nexports.eventTarget_removeAllEventListeners = eventTarget_removeAllEventListeners;\n//# sourceMappingURL=EventTargetAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar util_1 = require(\"../util\");\nvar util_2 = require(\"@oozcitak/util\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar CustomElementAlgorithm_1 = require(\"./CustomElementAlgorithm\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar NodeIteratorAlgorithm_1 = require(\"./NodeIteratorAlgorithm\");\nvar ShadowTreeAlgorithm_1 = require(\"./ShadowTreeAlgorithm\");\nvar MutationObserverAlgorithm_1 = require(\"./MutationObserverAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\nvar DocumentAlgorithm_1 = require(\"./DocumentAlgorithm\");\n/**\n * Ensures pre-insertion validity of a node into a parent before a\n * child.\n *\n * @param node - node to insert\n * @param parent - parent node to receive node\n * @param child - child node to insert node before\n */\nfunction mutation_ensurePreInsertionValidity(node, parent, child) {\n var e_1, _a, e_2, _b, e_3, _c, e_4, _d;\n var parentNodeType = parent._nodeType;\n var nodeNodeType = node._nodeType;\n var childNodeType = child ? child._nodeType : null;\n /**\n * 1. If parent is not a Document, DocumentFragment, or Element node,\n * throw a \"HierarchyRequestError\" DOMException.\n */\n if (parentNodeType !== interfaces_1.NodeType.Document &&\n parentNodeType !== interfaces_1.NodeType.DocumentFragment &&\n parentNodeType !== interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"Only document, document fragment and element nodes can contain child nodes. Parent node is \" + parent.nodeName + \".\");\n /**\n * 2. If node is a host-including inclusive ancestor of parent, throw a\n * \"HierarchyRequestError\" DOMException.\n */\n if (TreeAlgorithm_1.tree_isHostIncludingAncestorOf(parent, node, true))\n throw new DOMException_1.HierarchyRequestError(\"The node to be inserted cannot be an inclusive ancestor of parent node. Node is \" + node.nodeName + \", parent node is \" + parent.nodeName + \".\");\n /**\n * 3. If child is not null and its parent is not parent, then throw a\n * \"NotFoundError\" DOMException.\n */\n if (child !== null && child._parent !== parent)\n throw new DOMException_1.NotFoundError(\"The reference child node cannot be found under parent node. Child node is \" + child.nodeName + \", parent node is \" + parent.nodeName + \".\");\n /**\n * 4. If node is not a DocumentFragment, DocumentType, Element, Text,\n * ProcessingInstruction, or Comment node, throw a \"HierarchyRequestError\"\n * DOMException.\n */\n if (nodeNodeType !== interfaces_1.NodeType.DocumentFragment &&\n nodeNodeType !== interfaces_1.NodeType.DocumentType &&\n nodeNodeType !== interfaces_1.NodeType.Element &&\n nodeNodeType !== interfaces_1.NodeType.Text &&\n nodeNodeType !== interfaces_1.NodeType.ProcessingInstruction &&\n nodeNodeType !== interfaces_1.NodeType.CData &&\n nodeNodeType !== interfaces_1.NodeType.Comment)\n throw new DOMException_1.HierarchyRequestError(\"Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is \" + node.nodeName + \".\");\n /**\n * 5. If either node is a Text node and parent is a document, or node is a\n * doctype and parent is not a document, throw a \"HierarchyRequestError\"\n * DOMException.\n */\n if (nodeNodeType === interfaces_1.NodeType.Text &&\n parentNodeType === interfaces_1.NodeType.Document)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert a text node as a child of a document node. Node is \" + node.nodeName + \".\");\n if (nodeNodeType === interfaces_1.NodeType.DocumentType &&\n parentNodeType !== interfaces_1.NodeType.Document)\n throw new DOMException_1.HierarchyRequestError(\"A document type node can only be inserted under a document node. Parent node is \" + parent.nodeName + \".\");\n /**\n * 6. If parent is a document, and any of the statements below, switched on\n * node, are true, throw a \"HierarchyRequestError\" DOMException.\n * - DocumentFragment node\n * If node has more than one element child or has a Text node child.\n * Otherwise, if node has one element child and either parent has an element\n * child, child is a doctype, or child is not null and a doctype is\n * following child.\n * - element\n * parent has an element child, child is a doctype, or child is not null and\n * a doctype is following child.\n * - doctype\n * parent has a doctype child, child is non-null and an element is preceding\n * child, or child is null and parent has an element child.\n */\n if (parentNodeType === interfaces_1.NodeType.Document) {\n if (nodeNodeType === interfaces_1.NodeType.DocumentFragment) {\n var eleCount = 0;\n try {\n for (var _e = __values(node._children), _f = _e.next(); !_f.done; _f = _e.next()) {\n var childNode = _f.value;\n if (childNode._nodeType === interfaces_1.NodeType.Element)\n eleCount++;\n else if (childNode._nodeType === interfaces_1.NodeType.Text)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert text a node as a child of a document node. Node is \" + childNode.nodeName + \".\");\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_a = _e.return)) _a.call(_e);\n }\n finally { if (e_1) throw e_1.error; }\n }\n if (eleCount > 1) {\n throw new DOMException_1.HierarchyRequestError(\"A document node can only have one document element node. Document fragment to be inserted has \" + eleCount + \" element nodes.\");\n }\n else if (eleCount === 1) {\n try {\n for (var _g = __values(parent._children), _h = _g.next(); !_h.done; _h = _g.next()) {\n var ele = _h.value;\n if (ele._nodeType === interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"The document node already has a document element node.\");\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_h && !_h.done && (_b = _g.return)) _b.call(_g);\n }\n finally { if (e_2) throw e_2.error; }\n }\n if (child) {\n if (childNodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert an element node before a document type node.\");\n var doctypeChild = child._nextSibling;\n while (doctypeChild) {\n if (doctypeChild._nodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert an element node before a document type node.\");\n doctypeChild = doctypeChild._nextSibling;\n }\n }\n }\n }\n else if (nodeNodeType === interfaces_1.NodeType.Element) {\n try {\n for (var _j = __values(parent._children), _k = _j.next(); !_k.done; _k = _j.next()) {\n var ele = _k.value;\n if (ele._nodeType === interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"Document already has a document element node. Node is \" + node.nodeName + \".\");\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_k && !_k.done && (_c = _j.return)) _c.call(_j);\n }\n finally { if (e_3) throw e_3.error; }\n }\n if (child) {\n if (childNodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert an element node before a document type node. Node is \" + node.nodeName + \".\");\n var doctypeChild = child._nextSibling;\n while (doctypeChild) {\n if (doctypeChild._nodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert an element node before a document type node. Node is \" + node.nodeName + \".\");\n doctypeChild = doctypeChild._nextSibling;\n }\n }\n }\n else if (nodeNodeType === interfaces_1.NodeType.DocumentType) {\n try {\n for (var _l = __values(parent._children), _m = _l.next(); !_m.done; _m = _l.next()) {\n var ele = _m.value;\n if (ele._nodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Document already has a document type node. Node is \" + node.nodeName + \".\");\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_m && !_m.done && (_d = _l.return)) _d.call(_l);\n }\n finally { if (e_4) throw e_4.error; }\n }\n if (child) {\n var elementChild = child._previousSibling;\n while (elementChild) {\n if (elementChild._nodeType === interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert a document type node before an element node. Node is \" + node.nodeName + \".\");\n elementChild = elementChild._previousSibling;\n }\n }\n else {\n var elementChild = parent._firstChild;\n while (elementChild) {\n if (elementChild._nodeType === interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert a document type node before an element node. Node is \" + node.nodeName + \".\");\n elementChild = elementChild._nextSibling;\n }\n }\n }\n }\n}\nexports.mutation_ensurePreInsertionValidity = mutation_ensurePreInsertionValidity;\n/**\n * Ensures pre-insertion validity of a node into a parent before a\n * child, then adopts the node to the tree and inserts it.\n *\n * @param node - node to insert\n * @param parent - parent node to receive node\n * @param child - child node to insert node before\n */\nfunction mutation_preInsert(node, parent, child) {\n /**\n * 1. Ensure pre-insertion validity of node into parent before child.\n * 2. Let reference child be child.\n * 3. If reference child is node, set it to node’s next sibling.\n * 4. Adopt node into parent’s node document.\n * 5. Insert node into parent before reference child.\n * 6. Return node.\n */\n mutation_ensurePreInsertionValidity(node, parent, child);\n var referenceChild = child;\n if (referenceChild === node)\n referenceChild = node._nextSibling;\n DocumentAlgorithm_1.document_adopt(node, parent._nodeDocument);\n mutation_insert(node, parent, referenceChild);\n return node;\n}\nexports.mutation_preInsert = mutation_preInsert;\n/**\n * Inserts a node into a parent node before the given child node.\n *\n * @param node - node to insert\n * @param parent - parent node to receive node\n * @param child - child node to insert node before\n * @param suppressObservers - whether to notify observers\n */\nfunction mutation_insert(node, parent, child, suppressObservers) {\n var e_5, _a;\n // Optimized common case\n if (child === null && node._nodeType !== interfaces_1.NodeType.DocumentFragment) {\n mutation_insert_single(node, parent, suppressObservers);\n return;\n }\n /**\n * 1. Let count be the number of children of node if it is a\n * DocumentFragment node, and one otherwise.\n */\n var count = (node._nodeType === interfaces_1.NodeType.DocumentFragment ?\n node._children.size : 1);\n /**\n * 2. If child is non-null, then:\n */\n if (child !== null) {\n /**\n * 2.1. For each live range whose start node is parent and start\n * offset is greater than child's index, increase its start\n * offset by count.\n * 2.2. For each live range whose end node is parent and end\n * offset is greater than child's index, increase its end\n * offset by count.\n */\n if (DOMImpl_1.dom.rangeList.size !== 0) {\n var index_1 = TreeAlgorithm_1.tree_index(child);\n try {\n for (var _b = __values(DOMImpl_1.dom.rangeList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var range = _c.value;\n if (range._start[0] === parent && range._start[1] > index_1) {\n range._start[1] += count;\n }\n if (range._end[0] === parent && range._end[1] > index_1) {\n range._end[1] += count;\n }\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_5) throw e_5.error; }\n }\n }\n }\n /**\n * 3. Let nodes be node’s children, if node is a DocumentFragment node;\n * otherwise « node ».\n */\n var nodes = node._nodeType === interfaces_1.NodeType.DocumentFragment ? new (Array.bind.apply(Array, __spread([void 0], node._children)))() : [node];\n /**\n * 4. If node is a DocumentFragment node, remove its children with the\n * suppress observers flag set.\n */\n if (node._nodeType === interfaces_1.NodeType.DocumentFragment) {\n while (node._firstChild) {\n mutation_remove(node._firstChild, node, true);\n }\n }\n /**\n * 5. If node is a DocumentFragment node, then queue a tree mutation record\n * for node with « », nodes, null, and null.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n if (node._nodeType === interfaces_1.NodeType.DocumentFragment) {\n MutationObserverAlgorithm_1.observer_queueTreeMutationRecord(node, [], nodes, null, null);\n }\n }\n /**\n * 6. Let previousSibling be child’s previous sibling or parent’s last\n * child if child is null.\n */\n var previousSibling = (child ? child._previousSibling : parent._lastChild);\n var index = child === null ? -1 : TreeAlgorithm_1.tree_index(child);\n /**\n * 7. For each node in nodes, in tree order:\n */\n for (var i = 0; i < nodes.length; i++) {\n var node_1 = nodes[i];\n if (util_1.Guard.isElementNode(node_1)) {\n // set document element node\n if (util_1.Guard.isDocumentNode(parent)) {\n parent._documentElement = node_1;\n }\n // mark that the document has namespaces\n if (!node_1._nodeDocument._hasNamespaces && (node_1._namespace !== null ||\n node_1._namespacePrefix !== null)) {\n node_1._nodeDocument._hasNamespaces = true;\n }\n }\n /**\n * 7.1. If child is null, then append node to parent’s children.\n * 7.2. Otherwise, insert node into parent’s children before child’s\n * index.\n */\n node_1._parent = parent;\n if (child === null) {\n infra_1.set.append(parent._children, node_1);\n }\n else {\n infra_1.set.insert(parent._children, node_1, index);\n index++;\n }\n // assign siblings and children for quick lookups\n if (parent._firstChild === null) {\n node_1._previousSibling = null;\n node_1._nextSibling = null;\n parent._firstChild = node_1;\n parent._lastChild = node_1;\n }\n else {\n var prev = (child ? child._previousSibling : parent._lastChild);\n var next = (child ? child : null);\n node_1._previousSibling = prev;\n node_1._nextSibling = next;\n if (prev)\n prev._nextSibling = node_1;\n if (next)\n next._previousSibling = node_1;\n if (!prev)\n parent._firstChild = node_1;\n if (!next)\n parent._lastChild = node_1;\n }\n /**\n * 7.3. If parent is a shadow host and node is a slotable, then\n * assign a slot for node.\n */\n if (DOMImpl_1.dom.features.slots) {\n if (parent._shadowRoot !== null && util_1.Guard.isSlotable(node_1)) {\n ShadowTreeAlgorithm_1.shadowTree_assignASlot(node_1);\n }\n }\n /**\n * 7.4. If node is a Text node, run the child text content change\n * steps for parent.\n */\n if (DOMImpl_1.dom.features.steps) {\n if (util_1.Guard.isTextNode(node_1)) {\n DOMAlgorithm_1.dom_runChildTextContentChangeSteps(parent);\n }\n }\n /**\n * 7.5. If parent's root is a shadow root, and parent is a slot\n * whose assigned nodes is the empty list, then run signal\n * a slot change for parent.\n */\n if (DOMImpl_1.dom.features.slots) {\n if (util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(parent)) &&\n util_1.Guard.isSlot(parent) && util_2.isEmpty(parent._assignedNodes)) {\n ShadowTreeAlgorithm_1.shadowTree_signalASlotChange(parent);\n }\n }\n /**\n * 7.6. Run assign slotables for a tree with node's root.\n */\n if (DOMImpl_1.dom.features.slots) {\n ShadowTreeAlgorithm_1.shadowTree_assignSlotablesForATree(TreeAlgorithm_1.tree_rootNode(node_1));\n }\n /**\n * 7.7. For each shadow-including inclusive descendant\n * inclusiveDescendant of node, in shadow-including tree\n * order:\n */\n var inclusiveDescendant = TreeAlgorithm_1.tree_getFirstDescendantNode(node_1, true, true);\n while (inclusiveDescendant !== null) {\n /**\n * 7.7.1. Run the insertion steps with inclusiveDescendant.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runInsertionSteps(inclusiveDescendant);\n }\n if (DOMImpl_1.dom.features.customElements) {\n /**\n * 7.7.2. If inclusiveDescendant is connected, then:\n */\n if (util_1.Guard.isElementNode(inclusiveDescendant) &&\n ShadowTreeAlgorithm_1.shadowTree_isConnected(inclusiveDescendant)) {\n if (util_1.Guard.isCustomElementNode(inclusiveDescendant)) {\n /**\n * 7.7.2.1. If inclusiveDescendant is custom, then enqueue a custom\n * element callback reaction with inclusiveDescendant, callback name\n * \"connectedCallback\", and an empty argument list.\n */\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(inclusiveDescendant, \"connectedCallback\", []);\n }\n else {\n /**\n * 7.7.2.2. Otherwise, try to upgrade inclusiveDescendant.\n */\n CustomElementAlgorithm_1.customElement_tryToUpgrade(inclusiveDescendant);\n }\n }\n }\n inclusiveDescendant = TreeAlgorithm_1.tree_getNextDescendantNode(node_1, inclusiveDescendant, true, true);\n }\n }\n /**\n * 8. If suppress observers flag is unset, then queue a tree mutation record\n * for parent with nodes, « », previousSibling, and child.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n if (!suppressObservers) {\n MutationObserverAlgorithm_1.observer_queueTreeMutationRecord(parent, nodes, [], previousSibling, child);\n }\n }\n}\nexports.mutation_insert = mutation_insert;\n/**\n * Inserts a node into a parent node. Optimized routine for the common case where\n * node is not a document fragment node and it has no child nodes.\n *\n * @param node - node to insert\n * @param parent - parent node to receive node\n * @param suppressObservers - whether to notify observers\n */\nfunction mutation_insert_single(node, parent, suppressObservers) {\n /**\n * 1. Let count be the number of children of node if it is a\n * DocumentFragment node, and one otherwise.\n * 2. If child is non-null, then:\n * 2.1. For each live range whose start node is parent and start\n * offset is greater than child's index, increase its start\n * offset by count.\n * 2.2. For each live range whose end node is parent and end\n * offset is greater than child's index, increase its end\n * offset by count.\n * 3. Let nodes be node’s children, if node is a DocumentFragment node;\n * otherwise « node ».\n * 4. If node is a DocumentFragment node, remove its children with the\n * suppress observers flag set.\n * 5. If node is a DocumentFragment node, then queue a tree mutation record\n * for node with « », nodes, null, and null.\n */\n /**\n * 6. Let previousSibling be child’s previous sibling or parent’s last\n * child if child is null.\n */\n var previousSibling = parent._lastChild;\n // set document element node\n if (util_1.Guard.isElementNode(node)) {\n // set document element node\n if (util_1.Guard.isDocumentNode(parent)) {\n parent._documentElement = node;\n }\n // mark that the document has namespaces\n if (!node._nodeDocument._hasNamespaces && (node._namespace !== null ||\n node._namespacePrefix !== null)) {\n node._nodeDocument._hasNamespaces = true;\n }\n }\n /**\n * 7. For each node in nodes, in tree order:\n * 7.1. If child is null, then append node to parent’s children.\n * 7.2. Otherwise, insert node into parent’s children before child’s\n * index.\n */\n node._parent = parent;\n parent._children.add(node);\n // assign siblings and children for quick lookups\n if (parent._firstChild === null) {\n node._previousSibling = null;\n node._nextSibling = null;\n parent._firstChild = node;\n parent._lastChild = node;\n }\n else {\n var prev = parent._lastChild;\n node._previousSibling = prev;\n node._nextSibling = null;\n if (prev)\n prev._nextSibling = node;\n if (!prev)\n parent._firstChild = node;\n parent._lastChild = node;\n }\n /**\n * 7.3. If parent is a shadow host and node is a slotable, then\n * assign a slot for node.\n */\n if (DOMImpl_1.dom.features.slots) {\n if (parent._shadowRoot !== null && util_1.Guard.isSlotable(node)) {\n ShadowTreeAlgorithm_1.shadowTree_assignASlot(node);\n }\n }\n /**\n * 7.4. If node is a Text node, run the child text content change\n * steps for parent.\n */\n if (DOMImpl_1.dom.features.steps) {\n if (util_1.Guard.isTextNode(node)) {\n DOMAlgorithm_1.dom_runChildTextContentChangeSteps(parent);\n }\n }\n /**\n * 7.5. If parent's root is a shadow root, and parent is a slot\n * whose assigned nodes is the empty list, then run signal\n * a slot change for parent.\n */\n if (DOMImpl_1.dom.features.slots) {\n if (util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(parent)) &&\n util_1.Guard.isSlot(parent) && util_2.isEmpty(parent._assignedNodes)) {\n ShadowTreeAlgorithm_1.shadowTree_signalASlotChange(parent);\n }\n }\n /**\n * 7.6. Run assign slotables for a tree with node's root.\n */\n if (DOMImpl_1.dom.features.slots) {\n ShadowTreeAlgorithm_1.shadowTree_assignSlotablesForATree(TreeAlgorithm_1.tree_rootNode(node));\n }\n /**\n * 7.7. For each shadow-including inclusive descendant\n * inclusiveDescendant of node, in shadow-including tree\n * order:\n * 7.7.1. Run the insertion steps with inclusiveDescendant.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runInsertionSteps(node);\n }\n if (DOMImpl_1.dom.features.customElements) {\n /**\n * 7.7.2. If inclusiveDescendant is connected, then:\n */\n if (util_1.Guard.isElementNode(node) &&\n ShadowTreeAlgorithm_1.shadowTree_isConnected(node)) {\n if (util_1.Guard.isCustomElementNode(node)) {\n /**\n * 7.7.2.1. If inclusiveDescendant is custom, then enqueue a custom\n * element callback reaction with inclusiveDescendant, callback name\n * \"connectedCallback\", and an empty argument list.\n */\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(node, \"connectedCallback\", []);\n }\n else {\n /**\n * 7.7.2.2. Otherwise, try to upgrade inclusiveDescendant.\n */\n CustomElementAlgorithm_1.customElement_tryToUpgrade(node);\n }\n }\n }\n /**\n * 8. If suppress observers flag is unset, then queue a tree mutation record\n * for parent with nodes, « », previousSibling, and child.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n if (!suppressObservers) {\n MutationObserverAlgorithm_1.observer_queueTreeMutationRecord(parent, [node], [], previousSibling, null);\n }\n }\n}\n/**\n * Appends a node to the children of a parent node.\n *\n * @param node - a node\n * @param parent - the parent to receive node\n */\nfunction mutation_append(node, parent) {\n /**\n * To append a node to a parent, pre-insert node into parent before null.\n */\n return mutation_preInsert(node, parent, null);\n}\nexports.mutation_append = mutation_append;\n/**\n * Replaces a node with another node.\n *\n * @param child - child node to remove\n * @param node - node to insert\n * @param parent - parent node to receive node\n */\nfunction mutation_replace(child, node, parent) {\n var e_6, _a, e_7, _b, e_8, _c, e_9, _d;\n /**\n * 1. If parent is not a Document, DocumentFragment, or Element node,\n * throw a \"HierarchyRequestError\" DOMException.\n */\n if (parent._nodeType !== interfaces_1.NodeType.Document &&\n parent._nodeType !== interfaces_1.NodeType.DocumentFragment &&\n parent._nodeType !== interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"Only document, document fragment and element nodes can contain child nodes. Parent node is \" + parent.nodeName + \".\");\n /**\n * 2. If node is a host-including inclusive ancestor of parent, throw a\n * \"HierarchyRequestError\" DOMException.\n */\n if (TreeAlgorithm_1.tree_isHostIncludingAncestorOf(parent, node, true))\n throw new DOMException_1.HierarchyRequestError(\"The node to be inserted cannot be an ancestor of parent node. Node is \" + node.nodeName + \", parent node is \" + parent.nodeName + \".\");\n /**\n * 3. If child’s parent is not parent, then throw a \"NotFoundError\"\n * DOMException.\n */\n if (child._parent !== parent)\n throw new DOMException_1.NotFoundError(\"The reference child node cannot be found under parent node. Child node is \" + child.nodeName + \", parent node is \" + parent.nodeName + \".\");\n /**\n * 4. If node is not a DocumentFragment, DocumentType, Element, Text,\n * ProcessingInstruction, or Comment node, throw a \"HierarchyRequestError\"\n * DOMException.\n */\n if (node._nodeType !== interfaces_1.NodeType.DocumentFragment &&\n node._nodeType !== interfaces_1.NodeType.DocumentType &&\n node._nodeType !== interfaces_1.NodeType.Element &&\n node._nodeType !== interfaces_1.NodeType.Text &&\n node._nodeType !== interfaces_1.NodeType.ProcessingInstruction &&\n node._nodeType !== interfaces_1.NodeType.CData &&\n node._nodeType !== interfaces_1.NodeType.Comment)\n throw new DOMException_1.HierarchyRequestError(\"Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is \" + node.nodeName + \".\");\n /**\n * 5. If either node is a Text node and parent is a document, or node is a\n * doctype and parent is not a document, throw a \"HierarchyRequestError\"\n * DOMException.\n */\n if (node._nodeType === interfaces_1.NodeType.Text &&\n parent._nodeType === interfaces_1.NodeType.Document)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert a text node as a child of a document node. Node is \" + node.nodeName + \".\");\n if (node._nodeType === interfaces_1.NodeType.DocumentType &&\n parent._nodeType !== interfaces_1.NodeType.Document)\n throw new DOMException_1.HierarchyRequestError(\"A document type node can only be inserted under a document node. Parent node is \" + parent.nodeName + \".\");\n /**\n * 6. If parent is a document, and any of the statements below, switched on\n * node, are true, throw a \"HierarchyRequestError\" DOMException.\n * - DocumentFragment node\n * If node has more than one element child or has a Text node child.\n * Otherwise, if node has one element child and either parent has an element\n * child that is not child or a doctype is following child.\n * - element\n * parent has an element child that is not child or a doctype is\n * following child.\n * - doctype\n * parent has a doctype child that is not child, or an element is\n * preceding child.\n */\n if (parent._nodeType === interfaces_1.NodeType.Document) {\n if (node._nodeType === interfaces_1.NodeType.DocumentFragment) {\n var eleCount = 0;\n try {\n for (var _e = __values(node._children), _f = _e.next(); !_f.done; _f = _e.next()) {\n var childNode = _f.value;\n if (childNode._nodeType === interfaces_1.NodeType.Element)\n eleCount++;\n else if (childNode._nodeType === interfaces_1.NodeType.Text)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert text a node as a child of a document node. Node is \" + childNode.nodeName + \".\");\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_a = _e.return)) _a.call(_e);\n }\n finally { if (e_6) throw e_6.error; }\n }\n if (eleCount > 1) {\n throw new DOMException_1.HierarchyRequestError(\"A document node can only have one document element node. Document fragment to be inserted has \" + eleCount + \" element nodes.\");\n }\n else if (eleCount === 1) {\n try {\n for (var _g = __values(parent._children), _h = _g.next(); !_h.done; _h = _g.next()) {\n var ele = _h.value;\n if (ele._nodeType === interfaces_1.NodeType.Element && ele !== child)\n throw new DOMException_1.HierarchyRequestError(\"The document node already has a document element node.\");\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (_h && !_h.done && (_b = _g.return)) _b.call(_g);\n }\n finally { if (e_7) throw e_7.error; }\n }\n var doctypeChild = child._nextSibling;\n while (doctypeChild) {\n if (doctypeChild._nodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert an element node before a document type node.\");\n doctypeChild = doctypeChild._nextSibling;\n }\n }\n }\n else if (node._nodeType === interfaces_1.NodeType.Element) {\n try {\n for (var _j = __values(parent._children), _k = _j.next(); !_k.done; _k = _j.next()) {\n var ele = _k.value;\n if (ele._nodeType === interfaces_1.NodeType.Element && ele !== child)\n throw new DOMException_1.HierarchyRequestError(\"Document already has a document element node. Node is \" + node.nodeName + \".\");\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (_k && !_k.done && (_c = _j.return)) _c.call(_j);\n }\n finally { if (e_8) throw e_8.error; }\n }\n var doctypeChild = child._nextSibling;\n while (doctypeChild) {\n if (doctypeChild._nodeType === interfaces_1.NodeType.DocumentType)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert an element node before a document type node. Node is \" + node.nodeName + \".\");\n doctypeChild = doctypeChild._nextSibling;\n }\n }\n else if (node._nodeType === interfaces_1.NodeType.DocumentType) {\n try {\n for (var _l = __values(parent._children), _m = _l.next(); !_m.done; _m = _l.next()) {\n var ele = _m.value;\n if (ele._nodeType === interfaces_1.NodeType.DocumentType && ele !== child)\n throw new DOMException_1.HierarchyRequestError(\"Document already has a document type node. Node is \" + node.nodeName + \".\");\n }\n }\n catch (e_9_1) { e_9 = { error: e_9_1 }; }\n finally {\n try {\n if (_m && !_m.done && (_d = _l.return)) _d.call(_l);\n }\n finally { if (e_9) throw e_9.error; }\n }\n var elementChild = child._previousSibling;\n while (elementChild) {\n if (elementChild._nodeType === interfaces_1.NodeType.Element)\n throw new DOMException_1.HierarchyRequestError(\"Cannot insert a document type node before an element node. Node is \" + node.nodeName + \".\");\n elementChild = elementChild._previousSibling;\n }\n }\n }\n /**\n * 7. Let reference child be child’s next sibling.\n * 8. If reference child is node, set it to node’s next sibling.\n * 8. Let previousSibling be child’s previous sibling.\n */\n var referenceChild = child._nextSibling;\n if (referenceChild === node)\n referenceChild = node._nextSibling;\n var previousSibling = child._previousSibling;\n /**\n * 10. Adopt node into parent’s node document.\n * 11. Let removedNodes be the empty list.\n */\n DocumentAlgorithm_1.document_adopt(node, parent._nodeDocument);\n var removedNodes = [];\n /**\n * 12. If child’s parent is not null, then:\n */\n if (child._parent !== null) {\n /**\n * 12.1. Set removedNodes to [child].\n * 12.2. Remove child from its parent with the suppress observers flag\n * set.\n */\n removedNodes.push(child);\n mutation_remove(child, child._parent, true);\n }\n /**\n * 13. Let nodes be node’s children if node is a DocumentFragment node;\n * otherwise [node].\n */\n var nodes = [];\n if (node._nodeType === interfaces_1.NodeType.DocumentFragment) {\n nodes = Array.from(node._children);\n }\n else {\n nodes.push(node);\n }\n /**\n * 14. Insert node into parent before reference child with the suppress\n * observers flag set.\n */\n mutation_insert(node, parent, referenceChild, true);\n /**\n * 15. Queue a tree mutation record for parent with nodes, removedNodes,\n * previousSibling, and reference child.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueTreeMutationRecord(parent, nodes, removedNodes, previousSibling, referenceChild);\n }\n /**\n * 16. Return child.\n */\n return child;\n}\nexports.mutation_replace = mutation_replace;\n/**\n * Replaces all nodes of a parent with the given node.\n *\n * @param node - node to insert\n * @param parent - parent node to receive node\n */\nfunction mutation_replaceAll(node, parent) {\n var e_10, _a;\n /**\n * 1. If node is not null, adopt node into parent’s node document.\n */\n if (node !== null) {\n DocumentAlgorithm_1.document_adopt(node, parent._nodeDocument);\n }\n /**\n * 2. Let removedNodes be parent’s children.\n */\n var removedNodes = Array.from(parent._children);\n /**\n * 3. Let addedNodes be the empty list.\n * 4. If node is DocumentFragment node, then set addedNodes to node’s\n * children.\n * 5. Otherwise, if node is non-null, set addedNodes to [node].\n */\n var addedNodes = [];\n if (node && node._nodeType === interfaces_1.NodeType.DocumentFragment) {\n addedNodes = Array.from(node._children);\n }\n else if (node !== null) {\n addedNodes.push(node);\n }\n try {\n /**\n * 6. Remove all parent’s children, in tree order, with the suppress\n * observers flag set.\n */\n for (var removedNodes_1 = __values(removedNodes), removedNodes_1_1 = removedNodes_1.next(); !removedNodes_1_1.done; removedNodes_1_1 = removedNodes_1.next()) {\n var childNode = removedNodes_1_1.value;\n mutation_remove(childNode, parent, true);\n }\n }\n catch (e_10_1) { e_10 = { error: e_10_1 }; }\n finally {\n try {\n if (removedNodes_1_1 && !removedNodes_1_1.done && (_a = removedNodes_1.return)) _a.call(removedNodes_1);\n }\n finally { if (e_10) throw e_10.error; }\n }\n /**\n * 7. If node is not null, then insert node into parent before null with the\n * suppress observers flag set.\n */\n if (node !== null) {\n mutation_insert(node, parent, null, true);\n }\n /**\n * 8. Queue a tree mutation record for parent with addedNodes, removedNodes,\n * null, and null.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n MutationObserverAlgorithm_1.observer_queueTreeMutationRecord(parent, addedNodes, removedNodes, null, null);\n }\n}\nexports.mutation_replaceAll = mutation_replaceAll;\n/**\n * Ensures pre-removal validity of a child node from a parent, then\n * removes it.\n *\n * @param child - child node to remove\n * @param parent - parent node\n */\nfunction mutation_preRemove(child, parent) {\n /**\n * 1. If child’s parent is not parent, then throw a \"NotFoundError\"\n * DOMException.\n * 2. Remove child from parent.\n * 3. Return child.\n */\n if (child._parent !== parent)\n throw new DOMException_1.NotFoundError(\"The child node cannot be found under parent node. Child node is \" + child.nodeName + \", parent node is \" + parent.nodeName + \".\");\n mutation_remove(child, parent);\n return child;\n}\nexports.mutation_preRemove = mutation_preRemove;\n/**\n * Removes a child node from its parent.\n *\n * @param node - node to remove\n * @param parent - parent node\n * @param suppressObservers - whether to notify observers\n */\nfunction mutation_remove(node, parent, suppressObservers) {\n var e_11, _a, e_12, _b, e_13, _c, e_14, _d;\n if (DOMImpl_1.dom.rangeList.size !== 0) {\n /**\n * 1. Let index be node’s index.\n */\n var index = TreeAlgorithm_1.tree_index(node);\n try {\n /**\n * 2. For each live range whose start node is an inclusive descendant of\n * node, set its start to (parent, index).\n * 3. For each live range whose end node is an inclusive descendant of\n * node, set its end to (parent, index).\n */\n for (var _e = __values(DOMImpl_1.dom.rangeList), _f = _e.next(); !_f.done; _f = _e.next()) {\n var range = _f.value;\n if (TreeAlgorithm_1.tree_isDescendantOf(node, range._start[0], true)) {\n range._start = [parent, index];\n }\n if (TreeAlgorithm_1.tree_isDescendantOf(node, range._end[0], true)) {\n range._end = [parent, index];\n }\n if (range._start[0] === parent && range._start[1] > index) {\n range._start[1]--;\n }\n if (range._end[0] === parent && range._end[1] > index) {\n range._end[1]--;\n }\n }\n }\n catch (e_11_1) { e_11 = { error: e_11_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_a = _e.return)) _a.call(_e);\n }\n finally { if (e_11) throw e_11.error; }\n }\n try {\n /**\n * 4. For each live range whose start node is parent and start offset is\n * greater than index, decrease its start offset by 1.\n * 5. For each live range whose end node is parent and end offset is greater\n * than index, decrease its end offset by 1.\n */\n for (var _g = __values(DOMImpl_1.dom.rangeList), _h = _g.next(); !_h.done; _h = _g.next()) {\n var range = _h.value;\n if (range._start[0] === parent && range._start[1] > index) {\n range._start[1] -= 1;\n }\n if (range._end[0] === parent && range._end[1] > index) {\n range._end[1] -= 1;\n }\n }\n }\n catch (e_12_1) { e_12 = { error: e_12_1 }; }\n finally {\n try {\n if (_h && !_h.done && (_b = _g.return)) _b.call(_g);\n }\n finally { if (e_12) throw e_12.error; }\n }\n }\n /**\n * 6. For each NodeIterator object iterator whose root’s node document is\n * node’s node document, run the NodeIterator pre-removing steps given node\n * and iterator.\n */\n if (DOMImpl_1.dom.features.steps) {\n try {\n for (var _j = __values(NodeIteratorAlgorithm_1.nodeIterator_iteratorList()), _k = _j.next(); !_k.done; _k = _j.next()) {\n var iterator = _k.value;\n if (iterator._root._nodeDocument === node._nodeDocument) {\n DOMAlgorithm_1.dom_runNodeIteratorPreRemovingSteps(iterator, node);\n }\n }\n }\n catch (e_13_1) { e_13 = { error: e_13_1 }; }\n finally {\n try {\n if (_k && !_k.done && (_c = _j.return)) _c.call(_j);\n }\n finally { if (e_13) throw e_13.error; }\n }\n }\n /**\n * 7. Let oldPreviousSibling be node’s previous sibling.\n * 8. Let oldNextSibling be node’s next sibling.\n */\n var oldPreviousSibling = node._previousSibling;\n var oldNextSibling = node._nextSibling;\n // set document element node\n if (util_1.Guard.isDocumentNode(parent) && util_1.Guard.isElementNode(node)) {\n parent._documentElement = null;\n }\n /**\n * 9. Remove node from its parent’s children.\n */\n node._parent = null;\n parent._children.delete(node);\n // assign siblings and children for quick lookups\n var prev = node._previousSibling;\n var next = node._nextSibling;\n node._previousSibling = null;\n node._nextSibling = null;\n if (prev)\n prev._nextSibling = next;\n if (next)\n next._previousSibling = prev;\n if (!prev)\n parent._firstChild = next;\n if (!next)\n parent._lastChild = prev;\n /**\n * 10. If node is assigned, then run assign slotables for node’s assigned\n * slot.\n */\n if (DOMImpl_1.dom.features.slots) {\n if (util_1.Guard.isSlotable(node) && node._assignedSlot !== null && ShadowTreeAlgorithm_1.shadowTree_isAssigned(node)) {\n ShadowTreeAlgorithm_1.shadowTree_assignSlotables(node._assignedSlot);\n }\n }\n /**\n * 11. If parent’s root is a shadow root, and parent is a slot whose\n * assigned nodes is the empty list, then run signal a slot change for\n * parent.\n */\n if (DOMImpl_1.dom.features.slots) {\n if (util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(parent)) &&\n util_1.Guard.isSlot(parent) && util_2.isEmpty(parent._assignedNodes)) {\n ShadowTreeAlgorithm_1.shadowTree_signalASlotChange(parent);\n }\n }\n /**\n * 12. If node has an inclusive descendant that is a slot, then:\n * 12.1. Run assign slotables for a tree with parent's root.\n * 12.2. Run assign slotables for a tree with node.\n */\n if (DOMImpl_1.dom.features.slots) {\n var descendant_1 = TreeAlgorithm_1.tree_getFirstDescendantNode(node, true, false, function (e) { return util_1.Guard.isSlot(e); });\n if (descendant_1 !== null) {\n ShadowTreeAlgorithm_1.shadowTree_assignSlotablesForATree(TreeAlgorithm_1.tree_rootNode(parent));\n ShadowTreeAlgorithm_1.shadowTree_assignSlotablesForATree(node);\n }\n }\n /**\n * 13. Run the removing steps with node and parent.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runRemovingSteps(node, parent);\n }\n /**\n * 14. If node is custom, then enqueue a custom element callback\n * reaction with node, callback name \"disconnectedCallback\",\n * and an empty argument list.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isCustomElementNode(node)) {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(node, \"disconnectedCallback\", []);\n }\n }\n /**\n * 15. For each shadow-including descendant descendant of node,\n * in shadow-including tree order, then:\n */\n var descendant = TreeAlgorithm_1.tree_getFirstDescendantNode(node, false, true);\n while (descendant !== null) {\n /**\n * 15.1. Run the removing steps with descendant.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runRemovingSteps(descendant, node);\n }\n /**\n * 15.2. If descendant is custom, then enqueue a custom element\n * callback reaction with descendant, callback name\n * \"disconnectedCallback\", and an empty argument list.\n */\n if (DOMImpl_1.dom.features.customElements) {\n if (util_1.Guard.isCustomElementNode(descendant)) {\n CustomElementAlgorithm_1.customElement_enqueueACustomElementCallbackReaction(descendant, \"disconnectedCallback\", []);\n }\n }\n descendant = TreeAlgorithm_1.tree_getNextDescendantNode(node, descendant, false, true);\n }\n /**\n * 16. For each inclusive ancestor inclusiveAncestor of parent, and\n * then for each registered of inclusiveAncestor's registered\n * observer list, if registered's options's subtree is true,\n * then append a new transient registered observer whose\n * observer is registered's observer, options is registered's\n * options, and source is registered to node's registered\n * observer list.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n var inclusiveAncestor = TreeAlgorithm_1.tree_getFirstAncestorNode(parent, true);\n while (inclusiveAncestor !== null) {\n try {\n for (var _l = (e_14 = void 0, __values(inclusiveAncestor._registeredObserverList)), _m = _l.next(); !_m.done; _m = _l.next()) {\n var registered = _m.value;\n if (registered.options.subtree) {\n node._registeredObserverList.push({\n observer: registered.observer,\n options: registered.options,\n source: registered\n });\n }\n }\n }\n catch (e_14_1) { e_14 = { error: e_14_1 }; }\n finally {\n try {\n if (_m && !_m.done && (_d = _l.return)) _d.call(_l);\n }\n finally { if (e_14) throw e_14.error; }\n }\n inclusiveAncestor = TreeAlgorithm_1.tree_getNextAncestorNode(parent, inclusiveAncestor, true);\n }\n }\n /**\n * 17. If suppress observers flag is unset, then queue a tree mutation\n * record for parent with « », « node », oldPreviousSibling, and\n * oldNextSibling.\n */\n if (DOMImpl_1.dom.features.mutationObservers) {\n if (!suppressObservers) {\n MutationObserverAlgorithm_1.observer_queueTreeMutationRecord(parent, [], [node], oldPreviousSibling, oldNextSibling);\n }\n }\n /**\n * 18. If node is a Text node, then run the child text content change steps\n * for parent.\n */\n if (DOMImpl_1.dom.features.steps) {\n if (util_1.Guard.isTextNode(node)) {\n DOMAlgorithm_1.dom_runChildTextContentChangeSteps(parent);\n }\n }\n}\nexports.mutation_remove = mutation_remove;\n//# sourceMappingURL=MutationAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar util_1 = require(\"../util\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar CreateAlgorithm_1 = require(\"./CreateAlgorithm\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar EventAlgorithm_1 = require(\"./EventAlgorithm\");\n/**\n * Queues a mutation observer microtask to the surrounding agent’s mutation\n * observers.\n */\nfunction observer_queueAMutationObserverMicrotask() {\n /**\n * 1. If the surrounding agent’s mutation observer microtask queued is true,\n * then return.\n * 2. Set the surrounding agent’s mutation observer microtask queued to true.\n * 3. Queue a microtask to notify mutation observers.\n */\n var window = DOMImpl_1.dom.window;\n if (window._mutationObserverMicrotaskQueued)\n return;\n window._mutationObserverMicrotaskQueued = true;\n Promise.resolve().then(function () { observer_notifyMutationObservers(); });\n}\nexports.observer_queueAMutationObserverMicrotask = observer_queueAMutationObserverMicrotask;\n/**\n * Notifies the surrounding agent’s mutation observers.\n */\nfunction observer_notifyMutationObservers() {\n var e_1, _a, e_2, _b;\n /**\n * 1. Set the surrounding agent’s mutation observer microtask queued to false.\n * 2. Let notifySet be a clone of the surrounding agent’s mutation observers.\n * 3. Let signalSet be a clone of the surrounding agent’s signal slots.\n * 4. Empty the surrounding agent’s signal slots.\n */\n var window = DOMImpl_1.dom.window;\n window._mutationObserverMicrotaskQueued = false;\n var notifySet = infra_1.set.clone(window._mutationObservers);\n var signalSet = infra_1.set.clone(window._signalSlots);\n infra_1.set.empty(window._signalSlots);\n var _loop_1 = function (mo) {\n /**\n * 5.1. Let records be a clone of mo’s record queue.\n * 5.2. Empty mo’s record queue.\n */\n var records = infra_1.list.clone(mo._recordQueue);\n infra_1.list.empty(mo._recordQueue);\n /**\n * 5.3. For each node of mo’s node list, remove all transient registered\n * observers whose observer is mo from node’s registered observer list.\n */\n for (var i = 0; i < mo._nodeList.length; i++) {\n var node = mo._nodeList[i];\n infra_1.list.remove(node._registeredObserverList, function (observer) {\n return util_1.Guard.isTransientRegisteredObserver(observer) && observer.observer === mo;\n });\n }\n /**\n * 5.4. If records is not empty, then invoke mo’s callback with « records,\n * mo », and mo. If this throws an exception, then report the exception.\n */\n if (!infra_1.list.isEmpty(records)) {\n try {\n mo._callback.call(mo, records, mo);\n }\n catch (err) {\n // TODO: Report the exception\n }\n }\n };\n try {\n /**\n * 5. For each mo of notifySet:\n */\n for (var notifySet_1 = __values(notifySet), notifySet_1_1 = notifySet_1.next(); !notifySet_1_1.done; notifySet_1_1 = notifySet_1.next()) {\n var mo = notifySet_1_1.value;\n _loop_1(mo);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (notifySet_1_1 && !notifySet_1_1.done && (_a = notifySet_1.return)) _a.call(notifySet_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n /**\n * 6. For each slot of signalSet, fire an event named slotchange, with its\n * bubbles attribute set to true, at slot.\n */\n if (DOMImpl_1.dom.features.slots) {\n try {\n for (var signalSet_1 = __values(signalSet), signalSet_1_1 = signalSet_1.next(); !signalSet_1_1.done; signalSet_1_1 = signalSet_1.next()) {\n var slot = signalSet_1_1.value;\n EventAlgorithm_1.event_fireAnEvent(\"slotchange\", slot, undefined, { bubbles: true });\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (signalSet_1_1 && !signalSet_1_1.done && (_b = signalSet_1.return)) _b.call(signalSet_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n}\nexports.observer_notifyMutationObservers = observer_notifyMutationObservers;\n/**\n * Queues a mutation record of the given type for target.\n *\n * @param type - mutation record type\n * @param target - target node\n * @param name - name before mutation\n * @param namespace - namespace before mutation\n * @param oldValue - attribute value before mutation\n * @param addedNodes - a list od added nodes\n * @param removedNodes - a list of removed nodes\n * @param previousSibling - previous sibling of target before mutation\n * @param nextSibling - next sibling of target before mutation\n */\nfunction observer_queueMutationRecord(type, target, name, namespace, oldValue, addedNodes, removedNodes, previousSibling, nextSibling) {\n var e_3, _a;\n /**\n * 1. Let interestedObservers be an empty map.\n * 2. Let nodes be the inclusive ancestors of target.\n * 3. For each node in nodes, and then for each registered of node’s\n * registered observer list:\n */\n var interestedObservers = new Map();\n var node = TreeAlgorithm_1.tree_getFirstAncestorNode(target, true);\n while (node !== null) {\n for (var i = 0; i < node._registeredObserverList.length; i++) {\n var registered = node._registeredObserverList[i];\n /**\n * 3.1. Let options be registered’s options.\n * 3.2. If none of the following are true\n * - node is not target and options’s subtree is false\n * - type is \"attributes\" and options’s attributes is not true\n * - type is \"attributes\", options’s attributeFilter is present, and\n * options’s attributeFilter does not contain name or namespace is\n * non-null\n * - type is \"characterData\" and options’s characterData is not true\n * - type is \"childList\" and options’s childList is false\n */\n var options = registered.options;\n if (node !== target && !options.subtree)\n continue;\n if (type === \"attributes\" && !options.attributes)\n continue;\n if (type === \"attributes\" && options.attributeFilter &&\n (!options.attributeFilter.indexOf(name || '') || namespace !== null))\n continue;\n if (type === \"characterData\" && !options.characterData)\n continue;\n if (type === \"childList\" && !options.childList)\n continue;\n /**\n * then:\n * 3.2.1. Let mo be registered’s observer.\n * 3.2.2. If interestedObservers[mo] does not exist, then set\n * interestedObservers[mo] to null.\n * 3.2.3. If either type is \"attributes\" and options’s attributeOldValue\n * is true, or type is \"characterData\" and options’s\n * characterDataOldValue is true, then set interestedObservers[mo]\n * to oldValue.\n */\n var mo = registered.observer;\n if (!interestedObservers.has(mo)) {\n interestedObservers.set(mo, null);\n }\n if ((type === \"attributes\" && options.attributeOldValue) ||\n (type === \"characterData\" && options.characterDataOldValue)) {\n interestedObservers.set(mo, oldValue);\n }\n }\n node = TreeAlgorithm_1.tree_getNextAncestorNode(target, node, true);\n }\n try {\n /**\n * 4. For each observer → mappedOldValue of interestedObservers:\n */\n for (var interestedObservers_1 = __values(interestedObservers), interestedObservers_1_1 = interestedObservers_1.next(); !interestedObservers_1_1.done; interestedObservers_1_1 = interestedObservers_1.next()) {\n var _b = __read(interestedObservers_1_1.value, 2), observer = _b[0], mappedOldValue = _b[1];\n /**\n * 4.1. Let record be a new MutationRecord object with its type set to\n * type, target set to target, attributeName set to name,\n * attributeNamespace set to namespace, oldValue set to mappedOldValue,\n * addedNodes set to addedNodes, removedNodes set to removedNodes,\n * previousSibling set to previousSibling, and nextSibling set to\n * nextSibling.\n * 4.2. Enqueue record to observer’s record queue.\n */\n var record = CreateAlgorithm_1.create_mutationRecord(type, target, CreateAlgorithm_1.create_nodeListStatic(target, addedNodes), CreateAlgorithm_1.create_nodeListStatic(target, removedNodes), previousSibling, nextSibling, name, namespace, mappedOldValue);\n var queue = observer._recordQueue;\n queue.push(record);\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (interestedObservers_1_1 && !interestedObservers_1_1.done && (_a = interestedObservers_1.return)) _a.call(interestedObservers_1);\n }\n finally { if (e_3) throw e_3.error; }\n }\n /**\n * 5. Queue a mutation observer microtask.\n */\n observer_queueAMutationObserverMicrotask();\n}\nexports.observer_queueMutationRecord = observer_queueMutationRecord;\n/**\n * Queues a tree mutation record for target.\n *\n * @param target - target node\n * @param addedNodes - a list od added nodes\n * @param removedNodes - a list of removed nodes\n * @param previousSibling - previous sibling of target before mutation\n * @param nextSibling - next sibling of target before mutation\n */\nfunction observer_queueTreeMutationRecord(target, addedNodes, removedNodes, previousSibling, nextSibling) {\n /**\n * To queue a tree mutation record for target with addedNodes, removedNodes,\n * previousSibling, and nextSibling, queue a mutation record of \"childList\"\n * for target with null, null, null, addedNodes, removedNodes,\n * previousSibling, and nextSibling.\n */\n observer_queueMutationRecord(\"childList\", target, null, null, null, addedNodes, removedNodes, previousSibling, nextSibling);\n}\nexports.observer_queueTreeMutationRecord = observer_queueTreeMutationRecord;\n/**\n * Queues an attribute mutation record for target.\n *\n * @param target - target node\n * @param name - name before mutation\n * @param namespace - namespace before mutation\n * @param oldValue - attribute value before mutation\n */\nfunction observer_queueAttributeMutationRecord(target, name, namespace, oldValue) {\n /**\n * To queue an attribute mutation record for target with name, namespace,\n * and oldValue, queue a mutation record of \"attributes\" for target with\n * name, namespace, oldValue, « », « », null, and null.\n */\n observer_queueMutationRecord(\"attributes\", target, name, namespace, oldValue, [], [], null, null);\n}\nexports.observer_queueAttributeMutationRecord = observer_queueAttributeMutationRecord;\n//# sourceMappingURL=MutationObserverAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar XMLAlgorithm_1 = require(\"./XMLAlgorithm\");\n/**\n * Validates the given qualified name.\n *\n * @param qualifiedName - qualified name\n */\nfunction namespace_validate(qualifiedName) {\n /**\n * To validate a qualifiedName, throw an \"InvalidCharacterError\"\n * DOMException if qualifiedName does not match the Name or QName\n * production.\n */\n if (!XMLAlgorithm_1.xml_isName(qualifiedName))\n throw new DOMException_1.InvalidCharacterError(\"Invalid XML name: \" + qualifiedName);\n if (!XMLAlgorithm_1.xml_isQName(qualifiedName))\n throw new DOMException_1.InvalidCharacterError(\"Invalid XML qualified name: \" + qualifiedName + \".\");\n}\nexports.namespace_validate = namespace_validate;\n/**\n * Validates and extracts a namespace, prefix and localName from the\n * given namespace and qualified name.\n * See: https://dom.spec.whatwg.org/#validate-and-extract.\n *\n * @param namespace - namespace\n * @param qualifiedName - qualified name\n *\n * @returns a tuple with `namespace`, `prefix` and `localName`.\n */\nfunction namespace_validateAndExtract(namespace, qualifiedName) {\n /**\n * 1. If namespace is the empty string, set it to null.\n * 2. Validate qualifiedName.\n * 3. Let prefix be null.\n * 4. Let localName be qualifiedName.\n * 5. If qualifiedName contains a \":\" (U+003E), then split the string on it\n * and set prefix to the part before and localName to the part after.\n * 6. If prefix is non-null and namespace is null, then throw a\n * \"NamespaceError\" DOMException.\n * 7. If prefix is \"xml\" and namespace is not the XML namespace, then throw\n * a \"NamespaceError\" DOMException.\n * 8. If either qualifiedName or prefix is \"xmlns\" and namespace is not the\n * XMLNS namespace, then throw a \"NamespaceError\" DOMException.\n * 9. If namespace is the XMLNS namespace and neither qualifiedName nor\n * prefix is \"xmlns\", then throw a \"NamespaceError\" DOMException.\n * 10. Return namespace, prefix, and localName.\n */\n if (!namespace)\n namespace = null;\n namespace_validate(qualifiedName);\n var parts = qualifiedName.split(':');\n var prefix = (parts.length === 2 ? parts[0] : null);\n var localName = (parts.length === 2 ? parts[1] : qualifiedName);\n if (prefix && namespace === null)\n throw new DOMException_1.NamespaceError(\"Qualified name includes a prefix but the namespace is null.\");\n if (prefix === \"xml\" && namespace !== infra_1.namespace.XML)\n throw new DOMException_1.NamespaceError(\"Qualified name includes the \\\"xml\\\" prefix but the namespace is not the XML namespace.\");\n if (namespace !== infra_1.namespace.XMLNS &&\n (prefix === \"xmlns\" || qualifiedName === \"xmlns\"))\n throw new DOMException_1.NamespaceError(\"Qualified name includes the \\\"xmlns\\\" prefix but the namespace is not the XMLNS namespace.\");\n if (namespace === infra_1.namespace.XMLNS &&\n (prefix !== \"xmlns\" && qualifiedName !== \"xmlns\"))\n throw new DOMException_1.NamespaceError(\"Qualified name does not include the \\\"xmlns\\\" prefix but the namespace is the XMLNS namespace.\");\n return [namespace, prefix, localName];\n}\nexports.namespace_validateAndExtract = namespace_validateAndExtract;\n/**\n * Extracts a prefix and localName from the given qualified name.\n *\n * @param qualifiedName - qualified name\n *\n * @returns an tuple with `prefix` and `localName`.\n */\nfunction namespace_extractQName(qualifiedName) {\n namespace_validate(qualifiedName);\n var parts = qualifiedName.split(':');\n var prefix = (parts.length === 2 ? parts[0] : null);\n var localName = (parts.length === 2 ? parts[1] : qualifiedName);\n return [prefix, localName];\n}\nexports.namespace_extractQName = namespace_extractQName;\n//# sourceMappingURL=NamespaceAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar util_1 = require(\"../util\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar CreateAlgorithm_1 = require(\"./CreateAlgorithm\");\nvar OrderedSetAlgorithm_1 = require(\"./OrderedSetAlgorithm\");\nvar DOMAlgorithm_1 = require(\"./DOMAlgorithm\");\nvar MutationAlgorithm_1 = require(\"./MutationAlgorithm\");\nvar ElementAlgorithm_1 = require(\"./ElementAlgorithm\");\n/**\n * Replaces the contents of the given node with a single text node.\n *\n * @param string - node contents\n * @param parent - a node\n */\nfunction node_stringReplaceAll(str, parent) {\n /**\n * 1. Let node be null.\n * 2. If string is not the empty string, then set node to a new Text node\n * whose data is string and node document is parent’s node document.\n * 3. Replace all with node within parent.\n */\n var node = null;\n if (str !== '') {\n node = CreateAlgorithm_1.create_text(parent._nodeDocument, str);\n }\n MutationAlgorithm_1.mutation_replaceAll(node, parent);\n}\nexports.node_stringReplaceAll = node_stringReplaceAll;\n/**\n * Clones a node.\n *\n * @param node - a node to clone\n * @param document - the document to own the cloned node\n * @param cloneChildrenFlag - whether to clone node's children\n */\nfunction node_clone(node, document, cloneChildrenFlag) {\n var e_1, _a, e_2, _b;\n if (document === void 0) { document = null; }\n if (cloneChildrenFlag === void 0) { cloneChildrenFlag = false; }\n /**\n * 1. If document is not given, let document be node’s node document.\n */\n if (document === null)\n document = node._nodeDocument;\n var copy;\n if (util_1.Guard.isElementNode(node)) {\n /**\n * 2. If node is an element, then:\n * 2.1. Let copy be the result of creating an element, given document,\n * node’s local name, node’s namespace, node’s namespace prefix,\n * and node’s is value, with the synchronous custom elements flag unset.\n * 2.2. For each attribute in node’s attribute list:\n * 2.2.1. Let copyAttribute be a clone of attribute.\n * 2.2.2. Append copyAttribute to copy.\n */\n copy = ElementAlgorithm_1.element_createAnElement(document, node._localName, node._namespace, node._namespacePrefix, node._is, false);\n try {\n for (var _c = __values(node._attributeList), _d = _c.next(); !_d.done; _d = _c.next()) {\n var attribute = _d.value;\n var copyAttribute = node_clone(attribute, document);\n ElementAlgorithm_1.element_append(copyAttribute, copy);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n else {\n /**\n * 3. Otherwise, let copy be a node that implements the same interfaces as\n * node, and fulfills these additional requirements, switching on node:\n * - Document\n * Set copy’s encoding, content type, URL, origin, type, and mode, to those\n * of node.\n * - DocumentType\n * Set copy’s name, public ID, and system ID, to those of node.\n * - Attr\n * Set copy’s namespace, namespace prefix, local name, and value, to\n * those of node.\n * - Text\n * - Comment\n * Set copy’s data, to that of node.\n * - ProcessingInstruction\n * Set copy’s target and data to those of node.\n * - Any other node\n */\n if (util_1.Guard.isDocumentNode(node)) {\n var doc = CreateAlgorithm_1.create_document();\n doc._encoding = node._encoding;\n doc._contentType = node._contentType;\n doc._URL = node._URL;\n doc._origin = node._origin;\n doc._type = node._type;\n doc._mode = node._mode;\n copy = doc;\n }\n else if (util_1.Guard.isDocumentTypeNode(node)) {\n var doctype = CreateAlgorithm_1.create_documentType(document, node._name, node._publicId, node._systemId);\n copy = doctype;\n }\n else if (util_1.Guard.isAttrNode(node)) {\n var attr = CreateAlgorithm_1.create_attr(document, node.localName);\n attr._namespace = node._namespace;\n attr._namespacePrefix = node._namespacePrefix;\n attr._value = node._value;\n copy = attr;\n }\n else if (util_1.Guard.isExclusiveTextNode(node)) {\n copy = CreateAlgorithm_1.create_text(document, node._data);\n }\n else if (util_1.Guard.isCDATASectionNode(node)) {\n copy = CreateAlgorithm_1.create_cdataSection(document, node._data);\n }\n else if (util_1.Guard.isCommentNode(node)) {\n copy = CreateAlgorithm_1.create_comment(document, node._data);\n }\n else if (util_1.Guard.isProcessingInstructionNode(node)) {\n copy = CreateAlgorithm_1.create_processingInstruction(document, node._target, node._data);\n }\n else if (util_1.Guard.isDocumentFragmentNode(node)) {\n copy = CreateAlgorithm_1.create_documentFragment(document);\n }\n else {\n copy = Object.create(node);\n }\n }\n /**\n * 4. Set copy’s node document and document to copy, if copy is a document,\n * and set copy’s node document to document otherwise.\n */\n if (util_1.Guard.isDocumentNode(copy)) {\n copy._nodeDocument = copy;\n document = copy;\n }\n else {\n copy._nodeDocument = document;\n }\n /**\n * 5. Run any cloning steps defined for node in other applicable\n * specifications and pass copy, node, document and the clone children flag\n * if set, as parameters.\n */\n if (DOMImpl_1.dom.features.steps) {\n DOMAlgorithm_1.dom_runCloningSteps(copy, node, document, cloneChildrenFlag);\n }\n /**\n * 6. If the clone children flag is set, clone all the children of node and\n * append them to copy, with document as specified and the clone children\n * flag being set.\n */\n if (cloneChildrenFlag) {\n try {\n for (var _e = __values(node._children), _f = _e.next(); !_f.done; _f = _e.next()) {\n var child = _f.value;\n var childCopy = node_clone(child, document, true);\n MutationAlgorithm_1.mutation_append(childCopy, copy);\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_b = _e.return)) _b.call(_e);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n /**\n * 7. Return copy.\n */\n return copy;\n}\nexports.node_clone = node_clone;\n/**\n * Determines if two nodes can be considered equal.\n *\n * @param a - node to compare\n * @param b - node to compare\n */\nfunction node_equals(a, b) {\n var e_3, _a, e_4, _b;\n /**\n * 1. A and B’s nodeType attribute value is identical.\n */\n if (a._nodeType !== b._nodeType)\n return false;\n /**\n * 2. The following are also equal, depending on A:\n * - DocumentType\n * Its name, public ID, and system ID.\n * - Element\n * Its namespace, namespace prefix, local name, and its attribute list’s size.\n * - Attr\n * Its namespace, local name, and value.\n * - ProcessingInstruction\n * Its target and data.\n * - Text\n * - Comment\n * Its data.\n */\n if (util_1.Guard.isDocumentTypeNode(a) && util_1.Guard.isDocumentTypeNode(b)) {\n if (a._name !== b._name || a._publicId !== b._publicId ||\n a._systemId !== b._systemId)\n return false;\n }\n else if (util_1.Guard.isElementNode(a) && util_1.Guard.isElementNode(b)) {\n if (a._namespace !== b._namespace || a._namespacePrefix !== b._namespacePrefix ||\n a._localName !== b._localName ||\n a._attributeList.length !== b._attributeList.length)\n return false;\n }\n else if (util_1.Guard.isAttrNode(a) && util_1.Guard.isAttrNode(b)) {\n if (a._namespace !== b._namespace || a._localName !== b._localName ||\n a._value !== b._value)\n return false;\n }\n else if (util_1.Guard.isProcessingInstructionNode(a) && util_1.Guard.isProcessingInstructionNode(b)) {\n if (a._target !== b._target || a._data !== b._data)\n return false;\n }\n else if (util_1.Guard.isCharacterDataNode(a) && util_1.Guard.isCharacterDataNode(b)) {\n if (a._data !== b._data)\n return false;\n }\n /**\n * 3. If A is an element, each attribute in its attribute list has an attribute\n * that equals an attribute in B’s attribute list.\n */\n if (util_1.Guard.isElementNode(a) && util_1.Guard.isElementNode(b)) {\n var attrMap = {};\n try {\n for (var _c = __values(a._attributeList), _d = _c.next(); !_d.done; _d = _c.next()) {\n var attrA = _d.value;\n attrMap[attrA._localName] = attrA;\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_3) throw e_3.error; }\n }\n try {\n for (var _e = __values(b._attributeList), _f = _e.next(); !_f.done; _f = _e.next()) {\n var attrB = _f.value;\n var attrA = attrMap[attrB._localName];\n if (!attrA)\n return false;\n if (!node_equals(attrA, attrB))\n return false;\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_b = _e.return)) _b.call(_e);\n }\n finally { if (e_4) throw e_4.error; }\n }\n }\n /**\n * 4. A and B have the same number of children.\n * 5. Each child of A equals the child of B at the identical index.\n */\n if (a._children.size !== b._children.size)\n return false;\n var itA = a._children[Symbol.iterator]();\n var itB = b._children[Symbol.iterator]();\n var resultA = itA.next();\n var resultB = itB.next();\n while (!resultA.done && !resultB.done) {\n var child1 = resultA.value;\n var child2 = resultB.value;\n if (!node_equals(child1, child2))\n return false;\n resultA = itA.next();\n resultB = itB.next();\n }\n return true;\n}\nexports.node_equals = node_equals;\n/**\n * Returns a collection of elements with the given qualified name which are\n * descendants of the given root node.\n * See: https://dom.spec.whatwg.org/#concept-getelementsbytagname\n *\n * @param qualifiedName - qualified name\n * @param root - root node\n */\nfunction node_listOfElementsWithQualifiedName(qualifiedName, root) {\n /**\n * 1. If qualifiedName is \"*\" (U+002A), return a HTMLCollection rooted at\n * root, whose filter matches only descendant elements.\n * 2. Otherwise, if root’s node document is an HTML document, return a\n * HTMLCollection rooted at root, whose filter matches the following\n * descendant elements:\n * 2.1. Whose namespace is the HTML namespace and whose qualified name is\n * qualifiedName, in ASCII lowercase.\n * 2.2. Whose namespace is not the HTML namespace and whose qualified name\n * is qualifiedName.\n * 3. Otherwise, return a HTMLCollection rooted at root, whose filter\n * matches descendant elements whose qualified name is qualifiedName.\n */\n if (qualifiedName === \"*\") {\n return CreateAlgorithm_1.create_htmlCollection(root);\n }\n else if (root._nodeDocument._type === \"html\") {\n return CreateAlgorithm_1.create_htmlCollection(root, function (ele) {\n if (ele._namespace === infra_1.namespace.HTML &&\n ele._qualifiedName === qualifiedName.toLowerCase()) {\n return true;\n }\n else if (ele._namespace !== infra_1.namespace.HTML &&\n ele._qualifiedName === qualifiedName) {\n return true;\n }\n else {\n return false;\n }\n });\n }\n else {\n return CreateAlgorithm_1.create_htmlCollection(root, function (ele) {\n return (ele._qualifiedName === qualifiedName);\n });\n }\n}\nexports.node_listOfElementsWithQualifiedName = node_listOfElementsWithQualifiedName;\n/**\n * Returns a collection of elements with the given namespace which are\n * descendants of the given root node.\n * See: https://dom.spec.whatwg.org/#concept-getelementsbytagnamens\n *\n * @param namespace - element namespace\n * @param localName - local name\n * @param root - root node\n */\nfunction node_listOfElementsWithNamespace(namespace, localName, root) {\n /**\n * 1. If namespace is the empty string, set it to null.\n * 2. If both namespace and localName are \"*\" (U+002A), return a\n * HTMLCollection rooted at root, whose filter matches descendant elements.\n * 3. Otherwise, if namespace is \"*\" (U+002A), return a HTMLCollection\n * rooted at root, whose filter matches descendant elements whose local\n * name is localName.\n * 4. Otherwise, if localName is \"*\" (U+002A), return a HTMLCollection\n * rooted at root, whose filter matches descendant elements whose\n * namespace is namespace.\n * 5. Otherwise, return a HTMLCollection rooted at root, whose filter\n * matches descendant elements whose namespace is namespace and local\n * name is localName.\n */\n if (namespace === '')\n namespace = null;\n if (namespace === \"*\" && localName === \"*\") {\n return CreateAlgorithm_1.create_htmlCollection(root);\n }\n else if (namespace === \"*\") {\n return CreateAlgorithm_1.create_htmlCollection(root, function (ele) {\n return (ele._localName === localName);\n });\n }\n else if (localName === \"*\") {\n return CreateAlgorithm_1.create_htmlCollection(root, function (ele) {\n return (ele._namespace === namespace);\n });\n }\n else {\n return CreateAlgorithm_1.create_htmlCollection(root, function (ele) {\n return (ele._localName === localName && ele._namespace === namespace);\n });\n }\n}\nexports.node_listOfElementsWithNamespace = node_listOfElementsWithNamespace;\n/**\n * Returns a collection of elements with the given class names which are\n * descendants of the given root node.\n * See: https://dom.spec.whatwg.org/#concept-getelementsbyclassname\n *\n * @param namespace - element namespace\n * @param localName - local name\n * @param root - root node\n */\nfunction node_listOfElementsWithClassNames(classNames, root) {\n /**\n * 1. Let classes be the result of running the ordered set parser\n * on classNames.\n * 2. If classes is the empty set, return an empty HTMLCollection.\n * 3. Return a HTMLCollection rooted at root, whose filter matches\n * descendant elements that have all their classes in classes.\n * The comparisons for the classes must be done in an ASCII case-insensitive\n * manner if root’s node document’s mode is \"quirks\", and in a\n * case-sensitive manner otherwise.\n */\n var classes = OrderedSetAlgorithm_1.orderedSet_parse(classNames);\n if (classes.size === 0) {\n return CreateAlgorithm_1.create_htmlCollection(root, function () { return false; });\n }\n var caseSensitive = (root._nodeDocument._mode !== \"quirks\");\n return CreateAlgorithm_1.create_htmlCollection(root, function (ele) {\n var eleClasses = ele.classList;\n return OrderedSetAlgorithm_1.orderedSet_contains(eleClasses._tokenSet, classes, caseSensitive);\n });\n}\nexports.node_listOfElementsWithClassNames = node_listOfElementsWithClassNames;\n/**\n * Searches for a namespace prefix associated with the given namespace\n * starting from the given element through its ancestors.\n *\n * @param element - an element node to start searching at\n * @param namespace - namespace to search for\n */\nfunction node_locateANamespacePrefix(element, namespace) {\n /**\n * 1. If element’s namespace is namespace and its namespace prefix is not\n * null, then return its namespace prefix.\n */\n if (element._namespace === namespace && element._namespacePrefix !== null) {\n return element._namespacePrefix;\n }\n /**\n * 2. If element has an attribute whose namespace prefix is \"xmlns\" and\n * value is namespace, then return element’s first such attribute’s\n * local name.\n */\n for (var i = 0; i < element._attributeList.length; i++) {\n var attr = element._attributeList[i];\n if (attr._namespacePrefix === \"xmlns\" && attr._value === namespace) {\n return attr._localName;\n }\n }\n /**\n * 3. If element’s parent element is not null, then return the result of\n * running locate a namespace prefix on that element using namespace.\n */\n if (element._parent && util_1.Guard.isElementNode(element._parent)) {\n return node_locateANamespacePrefix(element._parent, namespace);\n }\n /**\n * 4. Return null.\n */\n return null;\n}\nexports.node_locateANamespacePrefix = node_locateANamespacePrefix;\n/**\n * Searches for a namespace associated with the given namespace prefix\n * starting from the given node through its ancestors.\n *\n * @param node - a node to start searching at\n * @param prefix - namespace prefix to search for\n */\nfunction node_locateANamespace(node, prefix) {\n if (util_1.Guard.isElementNode(node)) {\n /**\n * 1. If its namespace is not null and its namespace prefix is prefix,\n * then return namespace.\n */\n if (node._namespace !== null && node._namespacePrefix === prefix) {\n return node._namespace;\n }\n /**\n * 2. If it has an attribute whose namespace is the XMLNS namespace,\n * namespace prefix is \"xmlns\", and local name is prefix, or if prefix\n * is null and it has an attribute whose namespace is the XMLNS namespace,\n * namespace prefix is null, and local name is \"xmlns\", then return its\n * value if it is not the empty string, and null otherwise.\n */\n for (var i = 0; i < node._attributeList.length; i++) {\n var attr = node._attributeList[i];\n if (attr._namespace === infra_1.namespace.XMLNS &&\n attr._namespacePrefix === \"xmlns\" &&\n attr._localName === prefix) {\n return attr._value || null;\n }\n if (prefix === null && attr._namespace === infra_1.namespace.XMLNS &&\n attr._namespacePrefix === null && attr._localName === \"xmlns\") {\n return attr._value || null;\n }\n }\n /**\n * 3. If its parent element is null, then return null.\n */\n if (node.parentElement === null)\n return null;\n /**\n * 4. Return the result of running locate a namespace on its parent\n * element using prefix.\n */\n return node_locateANamespace(node.parentElement, prefix);\n }\n else if (util_1.Guard.isDocumentNode(node)) {\n /**\n * 1. If its document element is null, then return null.\n * 2. Return the result of running locate a namespace on its document\n * element using prefix.\n */\n if (node.documentElement === null)\n return null;\n return node_locateANamespace(node.documentElement, prefix);\n }\n else if (util_1.Guard.isDocumentTypeNode(node) || util_1.Guard.isDocumentFragmentNode(node)) {\n return null;\n }\n else if (util_1.Guard.isAttrNode(node)) {\n /**\n * 1. If its element is null, then return null.\n * 2. Return the result of running locate a namespace on its element\n * using prefix.\n */\n if (node._element === null)\n return null;\n return node_locateANamespace(node._element, prefix);\n }\n else {\n /**\n * 1. If its parent element is null, then return null.\n * 2. Return the result of running locate a namespace on its parent\n * element using prefix.\n */\n if (!node._parent || !util_1.Guard.isElementNode(node._parent))\n return null;\n return node_locateANamespace(node._parent, prefix);\n }\n}\nexports.node_locateANamespace = node_locateANamespace;\n//# sourceMappingURL=NodeAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar TraversalAlgorithm_1 = require(\"./TraversalAlgorithm\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\n/**\n * Returns the next or previous node in the subtree, or `null` if\n * there are none.\n *\n * @param iterator - the `NodeIterator` instance\n * @param forward- `true` to return the next node, or `false` to\n * return the previous node.\n */\nfunction nodeIterator_traverse(iterator, forward) {\n /**\n * 1. Let node be iterator’s reference.\n * 2. Let beforeNode be iterator’s pointer before reference.\n */\n var node = iterator._reference;\n var beforeNode = iterator._pointerBeforeReference;\n /**\n * 3. While true:\n */\n while (true) {\n /**\n * 3.1. Branch on direction:\n */\n if (forward) {\n /**\n * - next\n */\n if (!beforeNode) {\n /**\n * If beforeNode is false, then set node to the first node following\n * node in iterator’s iterator collection. If there is no such node,\n * then return null.\n */\n var nextNode = TreeAlgorithm_1.tree_getFollowingNode(iterator._root, node);\n if (nextNode) {\n node = nextNode;\n }\n else {\n return null;\n }\n }\n else {\n /**\n * If beforeNode is true, then set it to false.\n */\n beforeNode = false;\n }\n }\n else {\n /**\n * - previous\n */\n if (beforeNode) {\n /**\n * If beforeNode is true, then set node to the first node preceding\n * node in iterator’s iterator collection. If there is no such node,\n * then return null.\n */\n var prevNode = TreeAlgorithm_1.tree_getPrecedingNode(iterator.root, node);\n if (prevNode) {\n node = prevNode;\n }\n else {\n return null;\n }\n }\n else {\n /**\n * If beforeNode is false, then set it to true.\n */\n beforeNode = true;\n }\n }\n /**\n * 3.2. Let result be the result of filtering node within iterator.\n * 3.3. If result is FILTER_ACCEPT, then break.\n */\n var result = TraversalAlgorithm_1.traversal_filter(iterator, node);\n if (result === interfaces_1.FilterResult.Accept) {\n break;\n }\n }\n /**\n * 4. Set iterator’s reference to node.\n * 5. Set iterator’s pointer before reference to beforeNode.\n * 6. Return node.\n */\n iterator._reference = node;\n iterator._pointerBeforeReference = beforeNode;\n return node;\n}\nexports.nodeIterator_traverse = nodeIterator_traverse;\n/**\n * Gets the global iterator list.\n */\nfunction nodeIterator_iteratorList() {\n return DOMImpl_1.dom.window._iteratorList;\n}\nexports.nodeIterator_iteratorList = nodeIterator_iteratorList;\n//# sourceMappingURL=NodeIteratorAlgorithm.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar infra_1 = require(\"@oozcitak/infra\");\n/**\n * Converts a whitespace separated string into an array of tokens.\n *\n * @param value - a string of whitespace separated tokens\n */\nfunction orderedSet_parse(value) {\n /**\n * 1. Let inputTokens be the result of splitting input on ASCII whitespace.\n * 2. Let tokens be a new ordered set.\n * 3. For each token in inputTokens, append token to tokens.\n * 4. Return tokens.\n */\n var inputTokens = infra_1.string.splitAStringOnASCIIWhitespace(value);\n return new Set(inputTokens);\n}\nexports.orderedSet_parse = orderedSet_parse;\n/**\n * Converts an array of tokens into a space separated string.\n *\n * @param tokens - an array of token strings\n */\nfunction orderedSet_serialize(tokens) {\n /**\n * The ordered set serializer takes a set and returns the concatenation of\n * set using U+0020 SPACE.\n */\n return __spread(tokens).join(' ');\n}\nexports.orderedSet_serialize = orderedSet_serialize;\n/**\n * Removes duplicate tokens and convert all whitespace characters\n * to space.\n *\n * @param value - a string of whitespace separated tokens\n */\nfunction orderedSet_sanitize(value) {\n return orderedSet_serialize(orderedSet_parse(value));\n}\nexports.orderedSet_sanitize = orderedSet_sanitize;\n/**\n * Determines whether a set contains the other.\n *\n * @param set1 - a set\n * @param set1 - a set that is contained in set1\n * @param caseSensitive - whether matches are case-sensitive\n */\nfunction orderedSet_contains(set1, set2, caseSensitive) {\n var e_1, _a, e_2, _b;\n try {\n for (var set2_1 = __values(set2), set2_1_1 = set2_1.next(); !set2_1_1.done; set2_1_1 = set2_1.next()) {\n var val2 = set2_1_1.value;\n var found = false;\n try {\n for (var set1_1 = (e_2 = void 0, __values(set1)), set1_1_1 = set1_1.next(); !set1_1_1.done; set1_1_1 = set1_1.next()) {\n var val1 = set1_1_1.value;\n if (caseSensitive) {\n if (val1 === val2) {\n found = true;\n break;\n }\n }\n else {\n if (val1.toUpperCase() === val2.toUpperCase()) {\n found = true;\n break;\n }\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (set1_1_1 && !set1_1_1.done && (_b = set1_1.return)) _b.call(set1_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n if (!found)\n return false;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (set2_1_1 && !set2_1_1.done && (_a = set2_1.return)) _a.call(set2_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return true;\n}\nexports.orderedSet_contains = orderedSet_contains;\n//# sourceMappingURL=OrderedSetAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar CreateAlgorithm_1 = require(\"./CreateAlgorithm\");\n/**\n * Converts the given nodes or strings into a node (if `nodes` has\n * only one element) or a document fragment.\n *\n * @param nodes - the array of nodes or strings,\n * @param document - owner document\n */\nfunction parentNode_convertNodesIntoANode(nodes, document) {\n var e_1, _a;\n /**\n * 1. Let node be null.\n * 2. Replace each string in nodes with a new Text node whose data is the\n * string and node document is document.\n */\n var node = null;\n for (var i = 0; i < nodes.length; i++) {\n var item = nodes[i];\n if (util_1.isString(item)) {\n var text = CreateAlgorithm_1.create_text(document, item);\n nodes[i] = text;\n }\n }\n /**\n * 3. If nodes contains one node, set node to that node.\n * 4. Otherwise, set node to a new DocumentFragment whose node document is\n * document, and then append each node in nodes, if any, to it.\n */\n if (nodes.length === 1) {\n node = nodes[0];\n }\n else {\n node = CreateAlgorithm_1.create_documentFragment(document);\n var ns = node;\n try {\n for (var nodes_1 = __values(nodes), nodes_1_1 = nodes_1.next(); !nodes_1_1.done; nodes_1_1 = nodes_1.next()) {\n var item = nodes_1_1.value;\n ns.appendChild(item);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (nodes_1_1 && !nodes_1_1.done && (_a = nodes_1.return)) _a.call(nodes_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n /**\n * 5. Return node.\n */\n return node;\n}\nexports.parentNode_convertNodesIntoANode = parentNode_convertNodesIntoANode;\n//# sourceMappingURL=ParentNodeAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar util_1 = require(\"../util\");\nvar CreateAlgorithm_1 = require(\"./CreateAlgorithm\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar BoundaryPointAlgorithm_1 = require(\"./BoundaryPointAlgorithm\");\nvar CharacterDataAlgorithm_1 = require(\"./CharacterDataAlgorithm\");\nvar NodeAlgorithm_1 = require(\"./NodeAlgorithm\");\nvar MutationAlgorithm_1 = require(\"./MutationAlgorithm\");\nvar TextAlgorithm_1 = require(\"./TextAlgorithm\");\n/**\n * Determines if the node's start boundary point is at its end boundary\n * point.\n *\n * @param range - a range\n */\nfunction range_collapsed(range) {\n /**\n * A range is collapsed if its start node is its end node and its start offset is its end offset.\n */\n return (range._startNode === range._endNode && range._startOffset === range._endOffset);\n}\nexports.range_collapsed = range_collapsed;\n/**\n * Gets the root node of a range.\n *\n * @param range - a range\n */\nfunction range_root(range) {\n /**\n * The root of a live range is the root of its start node.\n */\n return TreeAlgorithm_1.tree_rootNode(range._startNode);\n}\nexports.range_root = range_root;\n/**\n * Determines if a node is fully contained in a range.\n *\n * @param node - a node\n * @param range - a range\n */\nfunction range_isContained(node, range) {\n /**\n * A node node is contained in a live range range if node’s root is range’s\n * root, and (node, 0) is after range’s start, and (node, node’s length) is\n * before range’s end.\n */\n return (TreeAlgorithm_1.tree_rootNode(node) === range_root(range) &&\n BoundaryPointAlgorithm_1.boundaryPoint_position([node, 0], range._start) === interfaces_1.BoundaryPosition.After &&\n BoundaryPointAlgorithm_1.boundaryPoint_position([node, TreeAlgorithm_1.tree_nodeLength(node)], range._end) === interfaces_1.BoundaryPosition.Before);\n}\nexports.range_isContained = range_isContained;\n/**\n * Determines if a node is partially contained in a range.\n *\n * @param node - a node\n * @param range - a range\n */\nfunction range_isPartiallyContained(node, range) {\n /**\n * A node is partially contained in a live range if it’s an inclusive\n * ancestor of the live range’s start node but not its end node,\n * or vice versa.\n */\n var startCheck = TreeAlgorithm_1.tree_isAncestorOf(range._startNode, node, true);\n var endCheck = TreeAlgorithm_1.tree_isAncestorOf(range._endNode, node, true);\n return (startCheck && !endCheck) || (!startCheck && endCheck);\n}\nexports.range_isPartiallyContained = range_isPartiallyContained;\n/**\n * Sets the start boundary point of a range.\n *\n * @param range - a range\n * @param node - a node\n * @param offset - an offset into node\n */\nfunction range_setTheStart(range, node, offset) {\n /**\n * 1. If node is a doctype, then throw an \"InvalidNodeTypeError\" DOMException.\n * 2. If offset is greater than node’s length, then throw an \"IndexSizeError\"\n * DOMException.\n * 3. Let bp be the boundary point (node, offset).\n * 4. If these steps were invoked as \"set the start\"\n * 4.1. If bp is after the range’s end, or if range’s root is not equal to\n * node’s root, set range’s end to bp.\n * 4.2. Set range’s start to bp.\n */\n if (util_1.Guard.isDocumentTypeNode(node)) {\n throw new DOMException_1.InvalidNodeTypeError();\n }\n if (offset > TreeAlgorithm_1.tree_nodeLength(node)) {\n throw new DOMException_1.IndexSizeError();\n }\n var bp = [node, offset];\n if (range_root(range) !== TreeAlgorithm_1.tree_rootNode(node) ||\n BoundaryPointAlgorithm_1.boundaryPoint_position(bp, range._end) === interfaces_1.BoundaryPosition.After) {\n range._end = bp;\n }\n range._start = bp;\n}\nexports.range_setTheStart = range_setTheStart;\n/**\n * Sets the end boundary point of a range.\n *\n * @param range - a range\n * @param node - a node\n * @param offset - an offset into node\n */\nfunction range_setTheEnd(range, node, offset) {\n /**\n * 1. If node is a doctype, then throw an \"InvalidNodeTypeError\" DOMException.\n * 2. If offset is greater than node’s length, then throw an \"IndexSizeError\"\n * DOMException.\n * 3. Let bp be the boundary point (node, offset).\n * 4. If these steps were invoked as \"set the end\"\n * 4.1. If bp is before the range’s start, or if range’s root is not equal\n * to node’s root, set range’s start to bp.\n * 4.2. Set range’s end to bp.\n */\n if (util_1.Guard.isDocumentTypeNode(node)) {\n throw new DOMException_1.InvalidNodeTypeError();\n }\n if (offset > TreeAlgorithm_1.tree_nodeLength(node)) {\n throw new DOMException_1.IndexSizeError();\n }\n var bp = [node, offset];\n if (range_root(range) !== TreeAlgorithm_1.tree_rootNode(node) ||\n BoundaryPointAlgorithm_1.boundaryPoint_position(bp, range._start) === interfaces_1.BoundaryPosition.Before) {\n range._start = bp;\n }\n range._end = bp;\n}\nexports.range_setTheEnd = range_setTheEnd;\n/**\n * Selects a node.\n *\n * @param range - a range\n * @param node - a node\n */\nfunction range_select(node, range) {\n /**\n * 1. Let parent be node’s parent.\n * 2. If parent is null, then throw an \"InvalidNodeTypeError\" DOMException.\n */\n var parent = node._parent;\n if (parent === null)\n throw new DOMException_1.InvalidNodeTypeError();\n /**\n * 3. Let index be node’s index.\n * 4. Set range’s start to boundary point (parent, index).\n * 5. Set range’s end to boundary point (parent, index plus 1).\n */\n var index = TreeAlgorithm_1.tree_index(node);\n range._start = [parent, index];\n range._end = [parent, index + 1];\n}\nexports.range_select = range_select;\n/**\n * EXtracts the contents of range as a document fragment.\n *\n * @param range - a range\n */\nfunction range_extract(range) {\n var e_1, _a, e_2, _b, e_3, _c;\n /**\n * 1. Let fragment be a new DocumentFragment node whose node document is\n * range’s start node’s node document.\n * 2. If range is collapsed, then return fragment.\n */\n var fragment = CreateAlgorithm_1.create_documentFragment(range._startNode._nodeDocument);\n if (range_collapsed(range))\n return fragment;\n /**\n * 3. Let original start node, original start offset, original end node,\n * and original end offset be range’s start node, start offset, end node,\n * and end offset, respectively.\n */\n var originalStartNode = range._startNode;\n var originalStartOffset = range._startOffset;\n var originalEndNode = range._endNode;\n var originalEndOffset = range._endOffset;\n /**\n * 4. If original start node is original end node, and they are a Text,\n * ProcessingInstruction, or Comment node:\n * 4.1. Let clone be a clone of original start node.\n * 4.2. Set the data of clone to the result of substringing data with node\n * original start node, offset original start offset, and count original end\n * offset minus original start offset.\n * 4.3. Append clone to fragment.\n * 4.4. Replace data with node original start node, offset original start\n * offset, count original end offset minus original start offset, and data\n * the empty string.\n * 4.5. Return fragment.\n */\n if (originalStartNode === originalEndNode &&\n util_1.Guard.isCharacterDataNode(originalStartNode)) {\n var clone = NodeAlgorithm_1.node_clone(originalStartNode);\n clone._data = CharacterDataAlgorithm_1.characterData_substringData(originalStartNode, originalStartOffset, originalEndOffset - originalStartOffset);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n CharacterDataAlgorithm_1.characterData_replaceData(originalStartNode, originalStartOffset, originalEndOffset - originalStartOffset, '');\n return fragment;\n }\n /**\n * 5. Let common ancestor be original start node.\n * 6. While common ancestor is not an inclusive ancestor of original end\n * node, set common ancestor to its own parent.\n */\n var commonAncestor = originalStartNode;\n while (!TreeAlgorithm_1.tree_isAncestorOf(originalEndNode, commonAncestor, true)) {\n if (commonAncestor._parent === null) {\n throw new Error(\"Parent node is null.\");\n }\n commonAncestor = commonAncestor._parent;\n }\n /**\n * 7. Let first partially contained child be null.\n * 8. If original start node is not an inclusive ancestor of original end\n * node, set first partially contained child to the first child of common\n * ancestor that is partially contained in range.\n */\n var firstPartiallyContainedChild = null;\n if (!TreeAlgorithm_1.tree_isAncestorOf(originalEndNode, originalStartNode, true)) {\n try {\n for (var _d = __values(commonAncestor._children), _e = _d.next(); !_e.done; _e = _d.next()) {\n var node = _e.value;\n if (range_isPartiallyContained(node, range)) {\n firstPartiallyContainedChild = node;\n break;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n /**\n * 9. Let last partially contained child be null.\n * 10. If original end node is not an inclusive ancestor of original start\n * node, set last partially contained child to the last child of common\n * ancestor that is partially contained in range.\n */\n var lastPartiallyContainedChild = null;\n if (!TreeAlgorithm_1.tree_isAncestorOf(originalStartNode, originalEndNode, true)) {\n var children = __spread(commonAncestor._children);\n for (var i = children.length - 1; i > 0; i--) {\n var node = children[i];\n if (range_isPartiallyContained(node, range)) {\n lastPartiallyContainedChild = node;\n break;\n }\n }\n }\n /**\n * 11. Let contained children be a list of all children of common ancestor\n * that are contained in range, in tree order.\n * 12. If any member of contained children is a doctype, then throw a\n * \"HierarchyRequestError\" DOMException.\n */\n var containedChildren = [];\n try {\n for (var _f = __values(commonAncestor._children), _g = _f.next(); !_g.done; _g = _f.next()) {\n var child = _g.value;\n if (range_isContained(child, range)) {\n if (util_1.Guard.isDocumentTypeNode(child)) {\n throw new DOMException_1.HierarchyRequestError();\n }\n containedChildren.push(child);\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_g && !_g.done && (_b = _f.return)) _b.call(_f);\n }\n finally { if (e_2) throw e_2.error; }\n }\n var newNode;\n var newOffset;\n if (TreeAlgorithm_1.tree_isAncestorOf(originalEndNode, originalStartNode, true)) {\n /**\n * 13. If original start node is an inclusive ancestor of original end node,\n * set new node to original start node and new offset to original start\n * offset.\n */\n newNode = originalStartNode;\n newOffset = originalStartOffset;\n }\n else {\n /**\n * 14. Otherwise:\n * 14.1. Let reference node equal original start node.\n * 14.2. While reference node’s parent is not null and is not an inclusive\n * ancestor of original end node, set reference node to its parent.\n * 14.3. Set new node to the parent of reference node, and new offset to\n * one plus reference node’s index.\n */\n var referenceNode = originalStartNode;\n while (referenceNode._parent !== null &&\n !TreeAlgorithm_1.tree_isAncestorOf(originalEndNode, referenceNode._parent)) {\n referenceNode = referenceNode._parent;\n }\n /* istanbul ignore next */\n if (referenceNode._parent === null) {\n /**\n * If reference node’s parent is null, it would be the root of range,\n * so would be an inclusive ancestor of original end node, and we could\n * not reach this point.\n */\n throw new Error(\"Parent node is null.\");\n }\n newNode = referenceNode._parent;\n newOffset = 1 + TreeAlgorithm_1.tree_index(referenceNode);\n }\n if (util_1.Guard.isCharacterDataNode(firstPartiallyContainedChild)) {\n /**\n * 15. If first partially contained child is a Text, ProcessingInstruction,\n * or Comment node:\n * 15.1. Let clone be a clone of original start node.\n * 15.2. Set the data of clone to the result of substringing data with\n * node original start node, offset original start offset, and count\n * original start node’s length minus original start offset.\n * 15.3. Append clone to fragment.\n * 15.4. Replace data with node original start node, offset original\n * start offset, count original start node’s length minus original start\n * offset, and data the empty string.\n */\n var clone = NodeAlgorithm_1.node_clone(originalStartNode);\n clone._data = CharacterDataAlgorithm_1.characterData_substringData(originalStartNode, originalStartOffset, TreeAlgorithm_1.tree_nodeLength(originalStartNode) - originalStartOffset);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n CharacterDataAlgorithm_1.characterData_replaceData(originalStartNode, originalStartOffset, TreeAlgorithm_1.tree_nodeLength(originalStartNode) - originalStartOffset, '');\n }\n else if (firstPartiallyContainedChild !== null) {\n /**\n * 16. Otherwise, if first partially contained child is not null:\n * 16.1. Let clone be a clone of first partially contained child.\n * 16.2. Append clone to fragment.\n * 16.3. Let subrange be a new live range whose start is (original start\n * node, original start offset) and whose end is (first partially\n * contained child, first partially contained child’s length).\n * 16.4. Let subfragment be the result of extracting subrange.\n * 16.5. Append subfragment to clone.\n */\n var clone = NodeAlgorithm_1.node_clone(firstPartiallyContainedChild);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n var subrange = CreateAlgorithm_1.create_range([originalStartNode, originalStartOffset], [firstPartiallyContainedChild, TreeAlgorithm_1.tree_nodeLength(firstPartiallyContainedChild)]);\n var subfragment = range_extract(subrange);\n MutationAlgorithm_1.mutation_append(subfragment, clone);\n }\n try {\n /**\n * 17. For each contained child in contained children, append contained\n * child to fragment.\n */\n for (var containedChildren_1 = __values(containedChildren), containedChildren_1_1 = containedChildren_1.next(); !containedChildren_1_1.done; containedChildren_1_1 = containedChildren_1.next()) {\n var child = containedChildren_1_1.value;\n MutationAlgorithm_1.mutation_append(child, fragment);\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (containedChildren_1_1 && !containedChildren_1_1.done && (_c = containedChildren_1.return)) _c.call(containedChildren_1);\n }\n finally { if (e_3) throw e_3.error; }\n }\n if (util_1.Guard.isCharacterDataNode(lastPartiallyContainedChild)) {\n /**\n * 18. If last partially contained child is a Text, ProcessingInstruction,\n * or Comment node:\n * 18.1. Let clone be a clone of original end node.\n * 18.2. Set the data of clone to the result of substringing data with\n * node original end node, offset 0, and count original end offset.\n * 18.3. Append clone to fragment.\n * 18.4. Replace data with node original end node, offset 0, count\n * original end offset, and data the empty string.\n */\n var clone = NodeAlgorithm_1.node_clone(originalEndNode);\n clone._data = CharacterDataAlgorithm_1.characterData_substringData(originalEndNode, 0, originalEndOffset);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n CharacterDataAlgorithm_1.characterData_replaceData(originalEndNode, 0, originalEndOffset, '');\n }\n else if (lastPartiallyContainedChild !== null) {\n /**\n * 19. Otherwise, if last partially contained child is not null:\n * 19.1. Let clone be a clone of last partially contained child.\n * 19.2. Append clone to fragment.\n * 19.3. Let subrange be a new live range whose start is (last partially\n * contained child, 0) and whose end is (original end node, original\n * end offset).\n * 19.4. Let subfragment be the result of extracting subrange.\n * 19.5. Append subfragment to clone.\n */\n var clone = NodeAlgorithm_1.node_clone(lastPartiallyContainedChild);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n var subrange = CreateAlgorithm_1.create_range([lastPartiallyContainedChild, 0], [originalEndNode, originalEndOffset]);\n var subfragment = range_extract(subrange);\n MutationAlgorithm_1.mutation_append(subfragment, clone);\n }\n /**\n * 20. Set range’s start and end to (new node, new offset).\n */\n range._start = [newNode, newOffset];\n range._end = [newNode, newOffset];\n /**\n * 21. Return fragment.\n */\n return fragment;\n}\nexports.range_extract = range_extract;\n/**\n * Clones the contents of range as a document fragment.\n *\n * @param range - a range\n */\nfunction range_cloneTheContents(range) {\n var e_4, _a, e_5, _b, e_6, _c;\n /**\n * 1. Let fragment be a new DocumentFragment node whose node document\n * is range’s start node’s node document.\n * 2. If range is collapsed, then return fragment.\n */\n var fragment = CreateAlgorithm_1.create_documentFragment(range._startNode._nodeDocument);\n if (range_collapsed(range))\n return fragment;\n /**\n * 3. Let original start node, original start offset, original end node,\n * and original end offset be range’s start node, start offset, end node,\n * and end offset, respectively.\n * 4. If original start node is original end node, and they are a Text,\n * ProcessingInstruction, or Comment node:\n * 4.1. Let clone be a clone of original start node.\n * 4.2. Set the data of clone to the result of substringing data with node\n * original start node, offset original start offset, and count original end\n * offset minus original start offset.\n * 4.3. Append clone to fragment.\n * 4.5. Return fragment.\n */\n var originalStartNode = range._startNode;\n var originalStartOffset = range._startOffset;\n var originalEndNode = range._endNode;\n var originalEndOffset = range._endOffset;\n if (originalStartNode === originalEndNode &&\n util_1.Guard.isCharacterDataNode(originalStartNode)) {\n var clone = NodeAlgorithm_1.node_clone(originalStartNode);\n clone._data = CharacterDataAlgorithm_1.characterData_substringData(originalStartNode, originalStartOffset, originalEndOffset - originalStartOffset);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n }\n /**\n * 5. Let common ancestor be original start node.\n * 6. While common ancestor is not an inclusive ancestor of original end\n * node, set common ancestor to its own parent.\n */\n var commonAncestor = originalStartNode;\n while (!TreeAlgorithm_1.tree_isAncestorOf(originalEndNode, commonAncestor, true)) {\n if (commonAncestor._parent === null) {\n throw new Error(\"Parent node is null.\");\n }\n commonAncestor = commonAncestor._parent;\n }\n /**\n * 7. Let first partially contained child be null.\n * 8. If original start node is not an inclusive ancestor of original end\n * node, set first partially contained child to the first child of common\n * ancestor that is partially contained in range.\n */\n var firstPartiallyContainedChild = null;\n if (!TreeAlgorithm_1.tree_isAncestorOf(originalEndNode, originalStartNode, true)) {\n try {\n for (var _d = __values(commonAncestor._children), _e = _d.next(); !_e.done; _e = _d.next()) {\n var node = _e.value;\n if (range_isPartiallyContained(node, range)) {\n firstPartiallyContainedChild = node;\n break;\n }\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_4) throw e_4.error; }\n }\n }\n /**\n * 9. Let last partially contained child be null.\n * 10. If original end node is not an inclusive ancestor of original start\n * node, set last partially contained child to the last child of common\n * ancestor that is partially contained in range.\n */\n var lastPartiallyContainedChild = null;\n if (!TreeAlgorithm_1.tree_isAncestorOf(originalStartNode, originalEndNode, true)) {\n var children = __spread(commonAncestor._children);\n for (var i = children.length - 1; i > 0; i--) {\n var node = children[i];\n if (range_isPartiallyContained(node, range)) {\n lastPartiallyContainedChild = node;\n break;\n }\n }\n }\n /**\n * 11. Let contained children be a list of all children of common ancestor\n * that are contained in range, in tree order.\n * 12. If any member of contained children is a doctype, then throw a\n * \"HierarchyRequestError\" DOMException.\n */\n var containedChildren = [];\n try {\n for (var _f = __values(commonAncestor._children), _g = _f.next(); !_g.done; _g = _f.next()) {\n var child = _g.value;\n if (range_isContained(child, range)) {\n if (util_1.Guard.isDocumentTypeNode(child)) {\n throw new DOMException_1.HierarchyRequestError();\n }\n containedChildren.push(child);\n }\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_g && !_g.done && (_b = _f.return)) _b.call(_f);\n }\n finally { if (e_5) throw e_5.error; }\n }\n if (util_1.Guard.isCharacterDataNode(firstPartiallyContainedChild)) {\n /**\n * 13. If first partially contained child is a Text, ProcessingInstruction,\n * or Comment node:\n * 13.1. Let clone be a clone of original start node.\n * 13.2. Set the data of clone to the result of substringing data with\n * node original start node, offset original start offset, and count\n * original start node’s length minus original start offset.\n * 13.3. Append clone to fragment.\n */\n var clone = NodeAlgorithm_1.node_clone(originalStartNode);\n clone._data = CharacterDataAlgorithm_1.characterData_substringData(originalStartNode, originalStartOffset, TreeAlgorithm_1.tree_nodeLength(originalStartNode) - originalStartOffset);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n }\n else if (firstPartiallyContainedChild !== null) {\n /**\n * 14. Otherwise, if first partially contained child is not null:\n * 14.1. Let clone be a clone of first partially contained child.\n * 14.2. Append clone to fragment.\n * 14.3. Let subrange be a new live range whose start is (original start\n * node, original start offset) and whose end is (first partially\n * contained child, first partially contained child’s length).\n * 14.4. Let subfragment be the result of cloning the contents of\n * subrange.\n * 14.5. Append subfragment to clone.\n */\n var clone = NodeAlgorithm_1.node_clone(firstPartiallyContainedChild);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n var subrange = CreateAlgorithm_1.create_range([originalStartNode, originalStartOffset], [firstPartiallyContainedChild, TreeAlgorithm_1.tree_nodeLength(firstPartiallyContainedChild)]);\n var subfragment = range_cloneTheContents(subrange);\n MutationAlgorithm_1.mutation_append(subfragment, clone);\n }\n try {\n /**\n * 15. For each contained child in contained children, append contained\n * child to fragment.\n * 15.1. Let clone be a clone of contained child with the clone children\n * flag set.\n * 15.2. Append clone to fragment.\n */\n for (var containedChildren_2 = __values(containedChildren), containedChildren_2_1 = containedChildren_2.next(); !containedChildren_2_1.done; containedChildren_2_1 = containedChildren_2.next()) {\n var child = containedChildren_2_1.value;\n var clone = NodeAlgorithm_1.node_clone(child);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (containedChildren_2_1 && !containedChildren_2_1.done && (_c = containedChildren_2.return)) _c.call(containedChildren_2);\n }\n finally { if (e_6) throw e_6.error; }\n }\n if (util_1.Guard.isCharacterDataNode(lastPartiallyContainedChild)) {\n /**\n * 16. If last partially contained child is a Text, ProcessingInstruction,\n * or Comment node:\n * 16.1. Let clone be a clone of original end node.\n * 16.2. Set the data of clone to the result of substringing data with\n * node original end node, offset 0, and count original end offset.\n * 16.3. Append clone to fragment.\n */\n var clone = NodeAlgorithm_1.node_clone(originalEndNode);\n clone._data = CharacterDataAlgorithm_1.characterData_substringData(originalEndNode, 0, originalEndOffset);\n MutationAlgorithm_1.mutation_append(clone, fragment);\n }\n else if (lastPartiallyContainedChild !== null) {\n /**\n * 17. Otherwise, if last partially contained child is not null:\n * 17.1. Let clone be a clone of last partially contained child.\n * 17.2. Append clone to fragment.\n * 17.3. Let subrange be a new live range whose start is (last partially\n * contained child, 0) and whose end is (original end node, original\n * end offset).\n * 17.4. Let subfragment be the result of cloning the contents of subrange.\n * 17.5. Append subfragment to clone.\n */\n var clone = NodeAlgorithm_1.node_clone(lastPartiallyContainedChild);\n fragment.append(clone);\n var subrange = CreateAlgorithm_1.create_range([lastPartiallyContainedChild, 0], [originalEndNode, originalEndOffset]);\n var subfragment = range_extract(subrange);\n MutationAlgorithm_1.mutation_append(subfragment, clone);\n }\n /**\n * 18. Return fragment.\n */\n return fragment;\n}\nexports.range_cloneTheContents = range_cloneTheContents;\n/**\n * Inserts a node into a range at the start boundary point.\n *\n * @param node - node to insert\n * @param range - a range\n */\nfunction range_insert(node, range) {\n var e_7, _a;\n /**\n * 1. If range’s start node is a ProcessingInstruction or Comment node, is a\n * Text node whose parent is null, or is node, then throw a\n * \"HierarchyRequestError\" DOMException.\n */\n if (util_1.Guard.isProcessingInstructionNode(range._startNode) ||\n util_1.Guard.isCommentNode(range._startNode) ||\n (util_1.Guard.isTextNode(range._startNode) && range._startNode._parent === null) ||\n range._startNode === node) {\n throw new DOMException_1.HierarchyRequestError();\n }\n /**\n * 2. Let referenceNode be null.\n * 3. If range’s start node is a Text node, set referenceNode to that Text\n * node.\n * 4. Otherwise, set referenceNode to the child of start node whose index is\n * start offset, and null if there is no such child.\n */\n var referenceNode = null;\n if (util_1.Guard.isTextNode(range._startNode)) {\n referenceNode = range._startNode;\n }\n else {\n var index = 0;\n try {\n for (var _b = __values(range._startNode._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var child = _c.value;\n if (index === range._startOffset) {\n referenceNode = child;\n break;\n }\n index++;\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_7) throw e_7.error; }\n }\n }\n /**\n * 5. Let parent be range’s start node if referenceNode is null, and\n * referenceNode’s parent otherwise.\n */\n var parent;\n if (referenceNode === null) {\n parent = range._startNode;\n }\n else {\n if (referenceNode._parent === null) {\n throw new Error(\"Parent node is null.\");\n }\n parent = referenceNode._parent;\n }\n /**\n * 6. Ensure pre-insertion validity of node into parent before referenceNode.\n */\n MutationAlgorithm_1.mutation_ensurePreInsertionValidity(node, parent, referenceNode);\n /**\n * 7. If range’s start node is a Text node, set referenceNode to the result\n * of splitting it with offset range’s start offset.\n */\n if (util_1.Guard.isTextNode(range._startNode)) {\n referenceNode = TextAlgorithm_1.text_split(range._startNode, range._startOffset);\n }\n /**\n * 8. If node is referenceNode, set referenceNode to its next sibling.\n */\n if (node === referenceNode) {\n referenceNode = node._nextSibling;\n }\n /**\n * 9. If node’s parent is not null, remove node from its parent.\n */\n if (node._parent !== null) {\n MutationAlgorithm_1.mutation_remove(node, node._parent);\n }\n /**\n * 10. Let newOffset be parent’s length if referenceNode is null, and\n * referenceNode’s index otherwise.\n */\n var newOffset = (referenceNode === null ?\n TreeAlgorithm_1.tree_nodeLength(parent) : TreeAlgorithm_1.tree_index(referenceNode));\n /**\n * 11. Increase newOffset by node’s length if node is a DocumentFragment\n * node, and one otherwise.\n */\n if (util_1.Guard.isDocumentFragmentNode(node)) {\n newOffset += TreeAlgorithm_1.tree_nodeLength(node);\n }\n else {\n newOffset++;\n }\n /**\n * 12. Pre-insert node into parent before referenceNode.\n */\n MutationAlgorithm_1.mutation_preInsert(node, parent, referenceNode);\n /**\n * 13. If range is collapsed, then set range’s end to (parent, newOffset).\n */\n if (range_collapsed(range)) {\n range._end = [parent, newOffset];\n }\n}\nexports.range_insert = range_insert;\n/**\n * Traverses through all contained nodes of a range.\n *\n * @param range - a range\n */\nfunction range_getContainedNodes(range) {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var container = range.commonAncestorContainer;\n var currentNode = TreeAlgorithm_1.tree_getFirstDescendantNode(container);\n return {\n next: function () {\n while (currentNode && !range_isContained(currentNode, range)) {\n currentNode = TreeAlgorithm_1.tree_getNextDescendantNode(container, currentNode);\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = TreeAlgorithm_1.tree_getNextDescendantNode(container, currentNode);\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.range_getContainedNodes = range_getContainedNodes;\n/**\n * Traverses through all partially contained nodes of a range.\n *\n * @param range - a range\n */\nfunction range_getPartiallyContainedNodes(range) {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var container = range.commonAncestorContainer;\n var currentNode = TreeAlgorithm_1.tree_getFirstDescendantNode(container);\n return {\n next: function () {\n while (currentNode && !range_isPartiallyContained(currentNode, range)) {\n currentNode = TreeAlgorithm_1.tree_getNextDescendantNode(container, currentNode);\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = TreeAlgorithm_1.tree_getNextDescendantNode(container, currentNode);\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.range_getPartiallyContainedNodes = range_getPartiallyContainedNodes;\n//# sourceMappingURL=RangeAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMException_1 = require(\"../dom/DOMException\");\n/**\n * Matches elements with the given selectors.\n *\n * @param selectors - selectors\n * @param node - the node to match against\n */\nfunction selectors_scopeMatchASelectorsString(selectors, node) {\n /**\n * TODO: Selectors\n * 1. Let s be the result of parse a selector selectors. [SELECTORS4]\n * 2. If s is failure, then throw a \"SyntaxError\" DOMException.\n * 3. Return the result of match a selector against a tree with s and node’s\n * root using scoping root node. [SELECTORS4].\n */\n throw new DOMException_1.NotSupportedError();\n}\nexports.selectors_scopeMatchASelectorsString = selectors_scopeMatchASelectorsString;\n//# sourceMappingURL=SelectorsAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar util_1 = require(\"../util\");\nvar util_2 = require(\"@oozcitak/util\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar MutationObserverAlgorithm_1 = require(\"./MutationObserverAlgorithm\");\n/**\n * Signals a slot change to the given slot.\n *\n * @param slot - a slot\n */\nfunction shadowTree_signalASlotChange(slot) {\n /**\n * 1. Append slot to slot’s relevant agent’s signal slots.\n * 2. Queue a mutation observer microtask.\n */\n var window = DOMImpl_1.dom.window;\n window._signalSlots.add(slot);\n MutationObserverAlgorithm_1.observer_queueAMutationObserverMicrotask();\n}\nexports.shadowTree_signalASlotChange = shadowTree_signalASlotChange;\n/**\n * Determines whether a the shadow tree of the given element node is\n * connected to a document node.\n *\n * @param element - an element node of the shadow tree\n */\nfunction shadowTree_isConnected(element) {\n /**\n * An element is connected if its shadow-including root is a document.\n */\n return util_1.Guard.isDocumentNode(TreeAlgorithm_1.tree_rootNode(element, true));\n}\nexports.shadowTree_isConnected = shadowTree_isConnected;\n/**\n * Determines whether a slotable is assigned.\n *\n * @param slotable - a slotable\n */\nfunction shadowTree_isAssigned(slotable) {\n /**\n * A slotable is assigned if its assigned slot is non-null.\n */\n return (slotable._assignedSlot !== null);\n}\nexports.shadowTree_isAssigned = shadowTree_isAssigned;\n/**\n * Finds a slot for the given slotable.\n *\n * @param slotable - a slotable\n * @param openFlag - `true` to search open shadow tree's only\n */\nfunction shadowTree_findASlot(slotable, openFlag) {\n if (openFlag === void 0) { openFlag = false; }\n /**\n * 1. If slotable’s parent is null, then return null.\n * 2. Let shadow be slotable’s parent’s shadow root.\n * 3. If shadow is null, then return null.\n * 4. If the open flag is set and shadow’s mode is not \"open\", then\n * return null.\n * 5. Return the first slot in tree order in shadow’s descendants whose name\n * is slotable’s name, if any, and null otherwise.\n */\n var node = util_1.Cast.asNode(slotable);\n var parent = node._parent;\n if (parent === null)\n return null;\n var shadow = parent._shadowRoot || null;\n if (shadow === null)\n return null;\n if (openFlag && shadow._mode !== \"open\")\n return null;\n var child = TreeAlgorithm_1.tree_getFirstDescendantNode(shadow, false, true, function (e) { return util_1.Guard.isSlot(e); });\n while (child !== null) {\n if (child._name === slotable._name)\n return child;\n child = TreeAlgorithm_1.tree_getNextDescendantNode(shadow, child, false, true, function (e) { return util_1.Guard.isSlot(e); });\n }\n return null;\n}\nexports.shadowTree_findASlot = shadowTree_findASlot;\n/**\n * Finds slotables for the given slot.\n *\n * @param slot - a slot\n */\nfunction shadowTree_findSlotables(slot) {\n var e_1, _a;\n /**\n * 1. Let result be an empty list.\n * 2. If slot’s root is not a shadow root, then return result.\n */\n var result = [];\n var root = TreeAlgorithm_1.tree_rootNode(slot);\n if (!util_1.Guard.isShadowRoot(root))\n return result;\n /**\n * 3. Let host be slot’s root’s host.\n * 4. For each slotable child of host, slotable, in tree order:\n */\n var host = root._host;\n try {\n for (var _b = __values(host._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var slotable = _c.value;\n if (util_1.Guard.isSlotable(slotable)) {\n /**\n * 4.1. Let foundSlot be the result of finding a slot given slotable.\n * 4.2. If foundSlot is slot, then append slotable to result.\n */\n var foundSlot = shadowTree_findASlot(slotable);\n if (foundSlot === slot) {\n result.push(slotable);\n }\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n /**\n * 5. Return result.\n */\n return result;\n}\nexports.shadowTree_findSlotables = shadowTree_findSlotables;\n/**\n * Finds slotables for the given slot.\n *\n * @param slot - a slot\n */\nfunction shadowTree_findFlattenedSlotables(slot) {\n var e_2, _a, e_3, _b;\n /**\n * 1. Let result be an empty list.\n * 2. If slot’s root is not a shadow root, then return result.\n */\n var result = [];\n var root = TreeAlgorithm_1.tree_rootNode(slot);\n if (!util_1.Guard.isShadowRoot(root))\n return result;\n /**\n * 3. Let slotables be the result of finding slotables given slot.\n * 4. If slotables is the empty list, then append each slotable child of\n * slot, in tree order, to slotables.\n */\n var slotables = shadowTree_findSlotables(slot);\n if (util_2.isEmpty(slotables)) {\n try {\n for (var _c = __values(slot._children), _d = _c.next(); !_d.done; _d = _c.next()) {\n var slotable = _d.value;\n if (util_1.Guard.isSlotable(slotable)) {\n slotables.push(slotable);\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n try {\n /**\n * 5. For each node in slotables:\n */\n for (var slotables_1 = __values(slotables), slotables_1_1 = slotables_1.next(); !slotables_1_1.done; slotables_1_1 = slotables_1.next()) {\n var node = slotables_1_1.value;\n /**\n * 5.1. If node is a slot whose root is a shadow root, then:\n */\n if (util_1.Guard.isSlot(node) && util_1.Guard.isShadowRoot(TreeAlgorithm_1.tree_rootNode(node))) {\n /**\n * 5.1.1. Let temporaryResult be the result of finding flattened slotables given node.\n * 5.1.2. Append each slotable in temporaryResult, in order, to result.\n */\n var temporaryResult = shadowTree_findFlattenedSlotables(node);\n result.push.apply(result, __spread(temporaryResult));\n }\n else {\n /**\n * 5.2. Otherwise, append node to result.\n */\n result.push(node);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (slotables_1_1 && !slotables_1_1.done && (_b = slotables_1.return)) _b.call(slotables_1);\n }\n finally { if (e_3) throw e_3.error; }\n }\n /**\n * 6. Return result.\n */\n return result;\n}\nexports.shadowTree_findFlattenedSlotables = shadowTree_findFlattenedSlotables;\n/**\n * Assigns slotables to the given slot.\n *\n * @param slot - a slot\n */\nfunction shadowTree_assignSlotables(slot) {\n var e_4, _a;\n /**\n * 1. Let slotables be the result of finding slotables for slot.\n * 2. If slotables and slot’s assigned nodes are not identical, then run\n * signal a slot change for slot.\n */\n var slotables = shadowTree_findSlotables(slot);\n if (slotables.length === slot._assignedNodes.length) {\n var nodesIdentical = true;\n for (var i = 0; i < slotables.length; i++) {\n if (slotables[i] !== slot._assignedNodes[i]) {\n nodesIdentical = false;\n break;\n }\n }\n if (!nodesIdentical) {\n shadowTree_signalASlotChange(slot);\n }\n }\n /**\n * 3. Set slot’s assigned nodes to slotables.\n * 4. For each slotable in slotables, set slotable’s assigned slot to slot.\n */\n slot._assignedNodes = slotables;\n try {\n for (var slotables_2 = __values(slotables), slotables_2_1 = slotables_2.next(); !slotables_2_1.done; slotables_2_1 = slotables_2.next()) {\n var slotable = slotables_2_1.value;\n slotable._assignedSlot = slot;\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (slotables_2_1 && !slotables_2_1.done && (_a = slotables_2.return)) _a.call(slotables_2);\n }\n finally { if (e_4) throw e_4.error; }\n }\n}\nexports.shadowTree_assignSlotables = shadowTree_assignSlotables;\n/**\n * Assigns slotables to all nodes of a tree.\n *\n * @param root - root node\n */\nfunction shadowTree_assignSlotablesForATree(root) {\n /**\n * To assign slotables for a tree, given a node root, run assign slotables\n * for each slot slot in root’s inclusive descendants, in tree order.\n */\n var descendant = TreeAlgorithm_1.tree_getFirstDescendantNode(root, true, false, function (e) { return util_1.Guard.isSlot(e); });\n while (descendant !== null) {\n shadowTree_assignSlotables(descendant);\n descendant = TreeAlgorithm_1.tree_getNextDescendantNode(root, descendant, true, false, function (e) { return util_1.Guard.isSlot(e); });\n }\n}\nexports.shadowTree_assignSlotablesForATree = shadowTree_assignSlotablesForATree;\n/**\n * Assigns a slot to a slotables.\n *\n * @param slotable - a slotable\n */\nfunction shadowTree_assignASlot(slotable) {\n /**\n * 1. Let slot be the result of finding a slot with slotable.\n * 2. If slot is non-null, then run assign slotables for slot.\n */\n var slot = shadowTree_findASlot(slotable);\n if (slot !== null) {\n shadowTree_assignSlotables(slot);\n }\n}\nexports.shadowTree_assignASlot = shadowTree_assignASlot;\n//# sourceMappingURL=ShadowTreeAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"../dom/DOMImpl\");\nvar util_1 = require(\"../util\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar CreateAlgorithm_1 = require(\"./CreateAlgorithm\");\nvar TreeAlgorithm_1 = require(\"./TreeAlgorithm\");\nvar CharacterDataAlgorithm_1 = require(\"./CharacterDataAlgorithm\");\nvar MutationAlgorithm_1 = require(\"./MutationAlgorithm\");\n/**\n * Returns node with its adjacent text and cdata node siblings.\n *\n * @param node - a node\n * @param self - whether to include node itself\n */\nfunction text_contiguousTextNodes(node, self) {\n var _a;\n if (self === void 0) { self = false; }\n /**\n * The contiguous Text nodes of a node node are node, node’s previous\n * sibling Text node, if any, and its contiguous Text nodes, and node’s next\n * sibling Text node, if any, and its contiguous Text nodes, avoiding any\n * duplicates.\n */\n return _a = {},\n _a[Symbol.iterator] = function () {\n var currentNode = node;\n while (currentNode && util_1.Guard.isTextNode(currentNode._previousSibling)) {\n currentNode = currentNode._previousSibling;\n }\n return {\n next: function () {\n if (currentNode && (!self && currentNode === node)) {\n if (util_1.Guard.isTextNode(currentNode._nextSibling)) {\n currentNode = currentNode._nextSibling;\n }\n else {\n currentNode = null;\n }\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n if (util_1.Guard.isTextNode(currentNode._nextSibling)) {\n currentNode = currentNode._nextSibling;\n }\n else {\n currentNode = null;\n }\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.text_contiguousTextNodes = text_contiguousTextNodes;\n/**\n * Returns node with its adjacent text node siblings.\n *\n * @param node - a node\n * @param self - whether to include node itself\n */\nfunction text_contiguousExclusiveTextNodes(node, self) {\n var _a;\n if (self === void 0) { self = false; }\n /**\n * The contiguous exclusive Text nodes of a node node are node, node’s\n * previous sibling exclusive Text node, if any, and its contiguous\n * exclusive Text nodes, and node’s next sibling exclusive Text node,\n * if any, and its contiguous exclusive Text nodes, avoiding any duplicates.\n */\n return _a = {},\n _a[Symbol.iterator] = function () {\n var currentNode = node;\n while (currentNode && util_1.Guard.isExclusiveTextNode(currentNode._previousSibling)) {\n currentNode = currentNode._previousSibling;\n }\n return {\n next: function () {\n if (currentNode && (!self && currentNode === node)) {\n if (util_1.Guard.isExclusiveTextNode(currentNode._nextSibling)) {\n currentNode = currentNode._nextSibling;\n }\n else {\n currentNode = null;\n }\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n if (util_1.Guard.isExclusiveTextNode(currentNode._nextSibling)) {\n currentNode = currentNode._nextSibling;\n }\n else {\n currentNode = null;\n }\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.text_contiguousExclusiveTextNodes = text_contiguousExclusiveTextNodes;\n/**\n * Returns the concatenation of the data of all the Text node descendants of\n * node, in tree order.\n *\n * @param node - a node\n */\nfunction text_descendantTextContent(node) {\n /**\n * The descendant text content of a node node is the concatenation of the\n * data of all the Text node descendants of node, in tree order.\n */\n var contents = '';\n var text = TreeAlgorithm_1.tree_getFirstDescendantNode(node, false, false, function (e) { return util_1.Guard.isTextNode(e); });\n while (text !== null) {\n contents += text._data;\n text = TreeAlgorithm_1.tree_getNextDescendantNode(node, text, false, false, function (e) { return util_1.Guard.isTextNode(e); });\n }\n return contents;\n}\nexports.text_descendantTextContent = text_descendantTextContent;\n/**\n * Splits data at the given offset and returns the remainder as a text\n * node.\n *\n * @param node - a text node\n * @param offset - the offset at which to split the nodes.\n */\nfunction text_split(node, offset) {\n var e_1, _a;\n /**\n * 1. Let length be node’s length.\n * 2. If offset is greater than length, then throw an \"IndexSizeError\"\n * DOMException.\n */\n var length = node._data.length;\n if (offset > length) {\n throw new DOMException_1.IndexSizeError();\n }\n /**\n * 3. Let count be length minus offset.\n * 4. Let new data be the result of substringing data with node node,\n * offset offset, and count count.\n * 5. Let new node be a new Text node, with the same node document as node.\n * Set new node’s data to new data.\n * 6. Let parent be node’s parent.\n * 7. If parent is not null, then:\n */\n var count = length - offset;\n var newData = CharacterDataAlgorithm_1.characterData_substringData(node, offset, count);\n var newNode = CreateAlgorithm_1.create_text(node._nodeDocument, newData);\n var parent = node._parent;\n if (parent !== null) {\n /**\n * 7.1. Insert new node into parent before node’s next sibling.\n */\n MutationAlgorithm_1.mutation_insert(newNode, parent, node._nextSibling);\n try {\n /**\n * 7.2. For each live range whose start node is node and start offset is\n * greater than offset, set its start node to new node and decrease its\n * start offset by offset.\n * 7.3. For each live range whose end node is node and end offset is greater\n * than offset, set its end node to new node and decrease its end offset\n * by offset.\n * 7.4. For each live range whose start node is parent and start offset is\n * equal to the index of node plus 1, increase its start offset by 1.\n * 7.5. For each live range whose end node is parent and end offset is equal\n * to the index of node plus 1, increase its end offset by 1.\n */\n for (var _b = __values(DOMImpl_1.dom.rangeList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var range = _c.value;\n if (range._start[0] === node && range._start[1] > offset) {\n range._start[0] = newNode;\n range._start[1] -= offset;\n }\n if (range._end[0] === node && range._end[1] > offset) {\n range._end[0] = newNode;\n range._end[1] -= offset;\n }\n var index = TreeAlgorithm_1.tree_index(node);\n if (range._start[0] === parent && range._start[1] === index + 1) {\n range._start[1]++;\n }\n if (range._end[0] === parent && range._end[1] === index + 1) {\n range._end[1]++;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n /**\n * 8. Replace data with node node, offset offset, count count, and data\n * the empty string.\n * 9. Return new node.\n */\n CharacterDataAlgorithm_1.characterData_replaceData(node, offset, count, '');\n return newNode;\n}\nexports.text_split = text_split;\n//# sourceMappingURL=TextAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar DOMException_1 = require(\"../dom/DOMException\");\n/**\n * Applies the filter to the given node and returns the result.\n *\n * @param traverser - the `NodeIterator` or `TreeWalker` instance\n * @param node - the node to filter\n */\nfunction traversal_filter(traverser, node) {\n /**\n * 1. If traverser’s active flag is set, then throw an \"InvalidStateError\"\n * DOMException.\n */\n if (traverser._activeFlag) {\n throw new DOMException_1.InvalidStateError();\n }\n /**\n * 2. Let n be node’s nodeType attribute value − 1.\n */\n var n = node._nodeType - 1;\n /**\n * 3. If the nth bit (where 0 is the least significant bit) of traverser’s\n * whatToShow is not set, then return FILTER_SKIP.\n */\n var mask = 1 << n;\n if ((traverser.whatToShow & mask) === 0) {\n return interfaces_1.FilterResult.Skip;\n }\n /**\n * 4. If traverser’s filter is null, then return FILTER_ACCEPT.\n */\n if (!traverser.filter) {\n return interfaces_1.FilterResult.Accept;\n }\n /**\n * 5. Set traverser’s active flag.\n */\n traverser._activeFlag = true;\n /**\n * 6. Let result be the return value of call a user object’s operation with\n * traverser’s filter, \"acceptNode\", and « node ». If this throws an\n * exception, then unset traverser’s active flag and rethrow the exception.\n */\n var result = interfaces_1.FilterResult.Reject;\n try {\n result = traverser.filter.acceptNode(node);\n }\n catch (err) {\n traverser._activeFlag = false;\n throw err;\n }\n /**\n * 7. Unset traverser’s active flag.\n * 8. Return result.\n */\n traverser._activeFlag = false;\n return result;\n}\nexports.traversal_filter = traversal_filter;\n//# sourceMappingURL=TraversalAlgorithm.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../util\");\nvar interfaces_1 = require(\"../dom/interfaces\");\n/**\n * Gets the next descendant of the given node of the tree rooted at `root`\n * in depth-first pre-order.\n *\n * @param root - root node of the tree\n * @param node - a node\n * @param shadow - whether to visit shadow tree nodes\n */\nfunction _getNextDescendantNode(root, node, shadow) {\n if (shadow === void 0) { shadow = false; }\n // traverse shadow tree\n if (shadow && util_1.Guard.isElementNode(node) && util_1.Guard.isShadowRoot(node.shadowRoot)) {\n if (node.shadowRoot._firstChild)\n return node.shadowRoot._firstChild;\n }\n // traverse child nodes\n if (node._firstChild)\n return node._firstChild;\n if (node === root)\n return null;\n // traverse siblings\n if (node._nextSibling)\n return node._nextSibling;\n // traverse parent's next sibling\n var parent = node._parent;\n while (parent && parent !== root) {\n if (parent._nextSibling)\n return parent._nextSibling;\n parent = parent._parent;\n }\n return null;\n}\nfunction _emptyIterator() {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n return {\n next: function () {\n return { done: true, value: null };\n }\n };\n },\n _a;\n}\n/**\n * Returns the first descendant node of the tree rooted at `node` in\n * depth-first pre-order.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param shadow - whether to visit shadow tree nodes\n * @param filter - a function to filter nodes\n */\nfunction tree_getFirstDescendantNode(node, self, shadow, filter) {\n if (self === void 0) { self = false; }\n if (shadow === void 0) { shadow = false; }\n var firstNode = (self ? node : _getNextDescendantNode(node, node, shadow));\n while (firstNode && filter && !filter(firstNode)) {\n firstNode = _getNextDescendantNode(node, firstNode, shadow);\n }\n return firstNode;\n}\nexports.tree_getFirstDescendantNode = tree_getFirstDescendantNode;\n/**\n * Returns the next descendant node of the tree rooted at `node` in\n * depth-first pre-order.\n *\n * @param node - root node of the tree\n * @param currentNode - current descendant node\n * @param self - whether to include `node` in traversal\n * @param shadow - whether to visit shadow tree nodes\n * @param filter - a function to filter nodes\n */\nfunction tree_getNextDescendantNode(node, currentNode, self, shadow, filter) {\n if (self === void 0) { self = false; }\n if (shadow === void 0) { shadow = false; }\n var nextNode = _getNextDescendantNode(node, currentNode, shadow);\n while (nextNode && filter && !filter(nextNode)) {\n nextNode = _getNextDescendantNode(node, nextNode, shadow);\n }\n return nextNode;\n}\nexports.tree_getNextDescendantNode = tree_getNextDescendantNode;\n/**\n * Traverses through all descendant nodes of the tree rooted at\n * `node` in depth-first pre-order.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param shadow - whether to visit shadow tree nodes\n * @param filter - a function to filter nodes\n */\nfunction tree_getDescendantNodes(node, self, shadow, filter) {\n var _a;\n if (self === void 0) { self = false; }\n if (shadow === void 0) { shadow = false; }\n if (!self && node._children.size === 0) {\n return _emptyIterator();\n }\n return _a = {},\n _a[Symbol.iterator] = function () {\n var currentNode = (self ? node : _getNextDescendantNode(node, node, shadow));\n return {\n next: function () {\n while (currentNode && filter && !filter(currentNode)) {\n currentNode = _getNextDescendantNode(node, currentNode, shadow);\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = _getNextDescendantNode(node, currentNode, shadow);\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.tree_getDescendantNodes = tree_getDescendantNodes;\n/**\n * Traverses through all descendant element nodes of the tree rooted at\n * `node` in depth-first preorder.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param shadow - whether to visit shadow tree nodes\n * @param filter - a function to filter nodes\n */\nfunction tree_getDescendantElements(node, self, shadow, filter) {\n var _a;\n if (self === void 0) { self = false; }\n if (shadow === void 0) { shadow = false; }\n if (!self && node._children.size === 0) {\n return _emptyIterator();\n }\n return _a = {},\n _a[Symbol.iterator] = function () {\n var it = tree_getDescendantNodes(node, self, shadow, function (e) { return util_1.Guard.isElementNode(e); })[Symbol.iterator]();\n var currentNode = it.next().value;\n return {\n next: function () {\n while (currentNode && filter && !filter(currentNode)) {\n currentNode = it.next().value;\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = it.next().value;\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.tree_getDescendantElements = tree_getDescendantElements;\n/**\n * Traverses through all sibling nodes of `node`.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param filter - a function to filter nodes\n */\nfunction tree_getSiblingNodes(node, self, filter) {\n var _a;\n if (self === void 0) { self = false; }\n if (!node._parent || node._parent._children.size === 0) {\n return _emptyIterator();\n }\n return _a = {},\n _a[Symbol.iterator] = function () {\n var currentNode = node._parent ? node._parent._firstChild : null;\n return {\n next: function () {\n while (currentNode && (filter && !filter(currentNode) || (!self && currentNode === node))) {\n currentNode = currentNode._nextSibling;\n }\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = currentNode._nextSibling;\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.tree_getSiblingNodes = tree_getSiblingNodes;\n/**\n * Gets the first ancestor of `node` in reverse tree order.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param filter - a function to filter nodes\n */\nfunction tree_getFirstAncestorNode(node, self, filter) {\n if (self === void 0) { self = false; }\n var firstNode = self ? node : node._parent;\n while (firstNode && filter && !filter(firstNode)) {\n firstNode = firstNode._parent;\n }\n return firstNode;\n}\nexports.tree_getFirstAncestorNode = tree_getFirstAncestorNode;\n/**\n * Gets the first ancestor of `node` in reverse tree order.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param filter - a function to filter nodes\n */\nfunction tree_getNextAncestorNode(node, currentNode, self, filter) {\n if (self === void 0) { self = false; }\n var nextNode = currentNode._parent;\n while (nextNode && filter && !filter(nextNode)) {\n nextNode = nextNode._parent;\n }\n return nextNode;\n}\nexports.tree_getNextAncestorNode = tree_getNextAncestorNode;\n/**\n * Traverses through all ancestor nodes `node` in reverse tree order.\n *\n * @param node - root node of the tree\n * @param self - whether to include `node` in traversal\n * @param filter - a function to filter nodes\n */\nfunction tree_getAncestorNodes(node, self, filter) {\n var _a;\n if (self === void 0) { self = false; }\n if (!self && !node._parent) {\n return _emptyIterator();\n }\n return _a = {},\n _a[Symbol.iterator] = function () {\n var currentNode = tree_getFirstAncestorNode(node, self, filter);\n return {\n next: function () {\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = tree_getNextAncestorNode(node, currentNode, self, filter);\n return result;\n }\n }\n };\n },\n _a;\n}\nexports.tree_getAncestorNodes = tree_getAncestorNodes;\n/**\n * Returns the common ancestor of the given nodes.\n *\n * @param nodeA - a node\n * @param nodeB - a node\n */\nfunction tree_getCommonAncestor(nodeA, nodeB) {\n if (nodeA === nodeB) {\n return nodeA._parent;\n }\n // lists of parent nodes\n var parentsA = [];\n var parentsB = [];\n var pA = tree_getFirstAncestorNode(nodeA, true);\n while (pA !== null) {\n parentsA.push(pA);\n pA = tree_getNextAncestorNode(nodeA, pA, true);\n }\n var pB = tree_getFirstAncestorNode(nodeB, true);\n while (pB !== null) {\n parentsB.push(pB);\n pB = tree_getNextAncestorNode(nodeB, pB, true);\n }\n // walk through parents backwards until they differ\n var pos1 = parentsA.length;\n var pos2 = parentsB.length;\n var parent = null;\n for (var i = Math.min(pos1, pos2); i > 0; i--) {\n var parent1 = parentsA[--pos1];\n var parent2 = parentsB[--pos2];\n if (parent1 !== parent2) {\n break;\n }\n parent = parent1;\n }\n return parent;\n}\nexports.tree_getCommonAncestor = tree_getCommonAncestor;\n/**\n * Returns the node following `node` in depth-first preorder.\n *\n * @param root - root of the subtree\n * @param node - a node\n */\nfunction tree_getFollowingNode(root, node) {\n if (node._firstChild) {\n return node._firstChild;\n }\n else if (node._nextSibling) {\n return node._nextSibling;\n }\n else {\n while (true) {\n var parent = node._parent;\n if (parent === null || parent === root) {\n return null;\n }\n else if (parent._nextSibling) {\n return parent._nextSibling;\n }\n else {\n node = parent;\n }\n }\n }\n}\nexports.tree_getFollowingNode = tree_getFollowingNode;\n/**\n * Returns the node preceding `node` in depth-first preorder.\n *\n * @param root - root of the subtree\n * @param node - a node\n */\nfunction tree_getPrecedingNode(root, node) {\n if (node === root) {\n return null;\n }\n if (node._previousSibling) {\n node = node._previousSibling;\n if (node._lastChild) {\n return node._lastChild;\n }\n else {\n return node;\n }\n }\n else {\n return node._parent;\n }\n}\nexports.tree_getPrecedingNode = tree_getPrecedingNode;\n/**\n * Determines if the node tree is constrained. A node tree is\n * constrained as follows, expressed as a relationship between the\n * type of node and its allowed children:\n * - Document (In tree order)\n * * Zero or more nodes each of which is ProcessingInstruction\n * or Comment.\n * * Optionally one DocumentType node.\n * * Zero or more nodes each of which is ProcessingInstruction\n * or Comment.\n * * Optionally one Element node.\n * * Zero or more nodes each of which is ProcessingInstruction\n * or Comment.\n * - DocumentFragment, Element\n * * Zero or more nodes each of which is Element, Text,\n * ProcessingInstruction, or Comment.\n * - DocumentType, Text, ProcessingInstruction, Comment\n * * None.\n *\n * @param node - the root of the tree\n */\nfunction tree_isConstrained(node) {\n var e_1, _a, e_2, _b, e_3, _c;\n switch (node._nodeType) {\n case interfaces_1.NodeType.Document:\n var hasDocType = false;\n var hasElement = false;\n try {\n for (var _d = __values(node._children), _e = _d.next(); !_e.done; _e = _d.next()) {\n var childNode = _e.value;\n switch (childNode._nodeType) {\n case interfaces_1.NodeType.ProcessingInstruction:\n case interfaces_1.NodeType.Comment:\n break;\n case interfaces_1.NodeType.DocumentType:\n if (hasDocType || hasElement)\n return false;\n hasDocType = true;\n break;\n case interfaces_1.NodeType.Element:\n if (hasElement)\n return false;\n hasElement = true;\n break;\n default:\n return false;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_1) throw e_1.error; }\n }\n break;\n case interfaces_1.NodeType.DocumentFragment:\n case interfaces_1.NodeType.Element:\n try {\n for (var _f = __values(node._children), _g = _f.next(); !_g.done; _g = _f.next()) {\n var childNode = _g.value;\n switch (childNode._nodeType) {\n case interfaces_1.NodeType.Element:\n case interfaces_1.NodeType.Text:\n case interfaces_1.NodeType.ProcessingInstruction:\n case interfaces_1.NodeType.CData:\n case interfaces_1.NodeType.Comment:\n break;\n default:\n return false;\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_g && !_g.done && (_b = _f.return)) _b.call(_f);\n }\n finally { if (e_2) throw e_2.error; }\n }\n break;\n case interfaces_1.NodeType.DocumentType:\n case interfaces_1.NodeType.Text:\n case interfaces_1.NodeType.ProcessingInstruction:\n case interfaces_1.NodeType.CData:\n case interfaces_1.NodeType.Comment:\n return (!node.hasChildNodes());\n }\n try {\n for (var _h = __values(node._children), _j = _h.next(); !_j.done; _j = _h.next()) {\n var childNode = _j.value;\n // recursively check child nodes\n if (!tree_isConstrained(childNode))\n return false;\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_j && !_j.done && (_c = _h.return)) _c.call(_h);\n }\n finally { if (e_3) throw e_3.error; }\n }\n return true;\n}\nexports.tree_isConstrained = tree_isConstrained;\n/**\n * Returns the length of a node.\n *\n * @param node - a node to check\n */\nfunction tree_nodeLength(node) {\n /**\n * To determine the length of a node node, switch on node:\n * - DocumentType\n * Zero.\n * - Text\n * - ProcessingInstruction\n * - Comment\n * Its data’s length.\n * - Any other node\n * Its number of children.\n */\n if (util_1.Guard.isDocumentTypeNode(node)) {\n return 0;\n }\n else if (util_1.Guard.isCharacterDataNode(node)) {\n return node._data.length;\n }\n else {\n return node._children.size;\n }\n}\nexports.tree_nodeLength = tree_nodeLength;\n/**\n * Determines if a node is empty.\n *\n * @param node - a node to check\n */\nfunction tree_isEmpty(node) {\n /**\n * A node is considered empty if its length is zero.\n */\n return (tree_nodeLength(node) === 0);\n}\nexports.tree_isEmpty = tree_isEmpty;\n/**\n * Returns the root node of a tree. The root of an object is itself,\n * if its parent is `null`, or else it is the root of its parent.\n * The root of a tree is any object participating in that tree\n * whose parent is `null`.\n *\n * @param node - a node of the tree\n * @param shadow - `true` to return shadow-including root, otherwise\n * `false`\n */\nfunction tree_rootNode(node, shadow) {\n if (shadow === void 0) { shadow = false; }\n /**\n * The root of an object is itself, if its parent is null, or else it is the\n * root of its parent. The root of a tree is any object participating in\n * that tree whose parent is null.\n */\n if (shadow) {\n var root = tree_rootNode(node, false);\n if (util_1.Guard.isShadowRoot(root))\n return tree_rootNode(root._host, true);\n else\n return root;\n }\n else {\n if (!node._parent)\n return node;\n else\n return tree_rootNode(node._parent);\n }\n}\nexports.tree_rootNode = tree_rootNode;\n/**\n * Determines whether `other` is a descendant of `node`. An object\n * A is called a descendant of an object B, if either A is a child\n * of B or A is a child of an object C that is a descendant of B.\n *\n * @param node - a node\n * @param other - the node to check\n * @param self - if `true`, traversal includes `node` itself\n * @param shadow - if `true`, traversal includes the\n * node's and its descendant's shadow trees as well.\n */\nfunction tree_isDescendantOf(node, other, self, shadow) {\n if (self === void 0) { self = false; }\n if (shadow === void 0) { shadow = false; }\n /**\n * An object A is called a descendant of an object B, if either A is a\n * child of B or A is a child of an object C that is a descendant of B.\n *\n * An inclusive descendant is an object or one of its descendants.\n */\n var child = tree_getFirstDescendantNode(node, self, shadow);\n while (child !== null) {\n if (child === other) {\n return true;\n }\n child = tree_getNextDescendantNode(node, child, self, shadow);\n }\n return false;\n}\nexports.tree_isDescendantOf = tree_isDescendantOf;\n/**\n * Determines whether `other` is an ancestor of `node`. An object A\n * is called an ancestor of an object B if and only if B is a\n * descendant of A.\n *\n * @param node - a node\n * @param other - the node to check\n * @param self - if `true`, traversal includes `node` itself\n * @param shadow - if `true`, traversal includes the\n * node's and its descendant's shadow trees as well.\n */\nfunction tree_isAncestorOf(node, other, self, shadow) {\n if (self === void 0) { self = false; }\n if (shadow === void 0) { shadow = false; }\n var ancestor = self ? node : shadow && util_1.Guard.isShadowRoot(node) ?\n node._host : node._parent;\n while (ancestor !== null) {\n if (ancestor === other)\n return true;\n ancestor = shadow && util_1.Guard.isShadowRoot(ancestor) ?\n ancestor._host : ancestor._parent;\n }\n return false;\n}\nexports.tree_isAncestorOf = tree_isAncestorOf;\n/**\n * Determines whether `other` is a host-including ancestor of `node`. An\n * object A is a host-including inclusive ancestor of an object B, if either\n * A is an inclusive ancestor of B, or if B’s root has a non-null host and\n * A is a host-including inclusive ancestor of B’s root’s host.\n *\n * @param node - a node\n * @param other - the node to check\n * @param self - if `true`, traversal includes `node` itself\n */\nfunction tree_isHostIncludingAncestorOf(node, other, self) {\n if (self === void 0) { self = false; }\n if (tree_isAncestorOf(node, other, self))\n return true;\n var root = tree_rootNode(node);\n if (util_1.Guard.isDocumentFragmentNode(root) && root._host !== null &&\n tree_isHostIncludingAncestorOf(root._host, other, self))\n return true;\n return false;\n}\nexports.tree_isHostIncludingAncestorOf = tree_isHostIncludingAncestorOf;\n/**\n * Determines whether `other` is a sibling of `node`. An object A is\n * called a sibling of an object B, if and only if B and A share\n * the same non-null parent.\n *\n * @param node - a node\n * @param other - the node to check\n * @param self - if `true`, traversal includes `node` itself\n */\nfunction tree_isSiblingOf(node, other, self) {\n if (self === void 0) { self = false; }\n /**\n * An object A is called a sibling of an object B, if and only if B and A\n * share the same non-null parent.\n *\n * An inclusive sibling is an object or one of its siblings.\n */\n if (node === other) {\n if (self)\n return true;\n }\n else {\n return (node._parent !== null && node._parent === other._parent);\n }\n return false;\n}\nexports.tree_isSiblingOf = tree_isSiblingOf;\n/**\n * Determines whether `other` is preceding `node`. An object A is\n * preceding an object B if A and B are in the same tree and A comes\n * before B in tree order.\n *\n * @param node - a node\n * @param other - the node to check\n */\nfunction tree_isPreceding(node, other) {\n /**\n * An object A is preceding an object B if A and B are in the same tree and\n * A comes before B in tree order.\n */\n var nodePos = tree_treePosition(node);\n var otherPos = tree_treePosition(other);\n if (nodePos === -1 || otherPos === -1)\n return false;\n else if (tree_rootNode(node) !== tree_rootNode(other))\n return false;\n else\n return otherPos < nodePos;\n}\nexports.tree_isPreceding = tree_isPreceding;\n/**\n * Determines whether `other` is following `node`. An object A is\n * following an object B if A and B are in the same tree and A comes\n * after B in tree order.\n *\n * @param node - a node\n * @param other - the node to check\n */\nfunction tree_isFollowing(node, other) {\n /**\n * An object A is following an object B if A and B are in the same tree and\n * A comes after B in tree order.\n */\n var nodePos = tree_treePosition(node);\n var otherPos = tree_treePosition(other);\n if (nodePos === -1 || otherPos === -1)\n return false;\n else if (tree_rootNode(node) !== tree_rootNode(other))\n return false;\n else\n return otherPos > nodePos;\n}\nexports.tree_isFollowing = tree_isFollowing;\n/**\n * Determines whether `other` is the parent node of `node`.\n *\n * @param node - a node\n * @param other - the node to check\n */\nfunction tree_isParentOf(node, other) {\n /**\n * An object that participates in a tree has a parent, which is either\n * null or an object, and has children, which is an ordered set of objects.\n * An object A whose parent is object B is a child of B.\n */\n return (node._parent === other);\n}\nexports.tree_isParentOf = tree_isParentOf;\n/**\n * Determines whether `other` is a child node of `node`.\n *\n * @param node - a node\n * @param other - the node to check\n */\nfunction tree_isChildOf(node, other) {\n /**\n * An object that participates in a tree has a parent, which is either\n * null or an object, and has children, which is an ordered set of objects.\n * An object A whose parent is object B is a child of B.\n */\n return (other._parent === node);\n}\nexports.tree_isChildOf = tree_isChildOf;\n/**\n * Returns the previous sibling node of `node` or null if it has no\n * preceding sibling.\n *\n * @param node\n */\nfunction tree_previousSibling(node) {\n /**\n * The previous sibling of an object is its first preceding sibling or null\n * if it has no preceding sibling.\n */\n return node._previousSibling;\n}\nexports.tree_previousSibling = tree_previousSibling;\n/**\n * Returns the next sibling node of `node` or null if it has no\n * following sibling.\n *\n * @param node\n */\nfunction tree_nextSibling(node) {\n /**\n * The next sibling of an object is its first following sibling or null\n * if it has no following sibling.\n */\n return node._nextSibling;\n}\nexports.tree_nextSibling = tree_nextSibling;\n/**\n * Returns the first child node of `node` or null if it has no\n * children.\n *\n * @param node\n */\nfunction tree_firstChild(node) {\n /**\n * The first child of an object is its first child or null if it has no\n * children.\n */\n return node._firstChild;\n}\nexports.tree_firstChild = tree_firstChild;\n/**\n * Returns the last child node of `node` or null if it has no\n * children.\n *\n * @param node\n */\nfunction tree_lastChild(node) {\n /**\n * The last child of an object is its last child or null if it has no\n * children.\n */\n return node._lastChild;\n}\nexports.tree_lastChild = tree_lastChild;\n/**\n * Returns the zero-based index of `node` when counted preorder in\n * the tree rooted at `root`. Returns `-1` if `node` is not in\n * the tree.\n *\n * @param node - the node to get the index of\n */\nfunction tree_treePosition(node) {\n var root = tree_rootNode(node);\n var pos = 0;\n var childNode = tree_getFirstDescendantNode(root);\n while (childNode !== null) {\n pos++;\n if (childNode === node)\n return pos;\n childNode = tree_getNextDescendantNode(root, childNode);\n }\n return -1;\n}\nexports.tree_treePosition = tree_treePosition;\n/**\n * Determines the index of `node`. The index of an object is its number of\n * preceding siblings, or 0 if it has none.\n *\n * @param node - a node\n * @param other - the node to check\n */\nfunction tree_index(node) {\n /**\n * The index of an object is its number of preceding siblings, or 0 if it\n * has none.\n */\n var n = 0;\n while (node._previousSibling !== null) {\n n++;\n node = node._previousSibling;\n }\n return n;\n}\nexports.tree_index = tree_index;\n/**\n * Retargets an object against another object.\n *\n * @param a - an object to retarget\n * @param b - an object to retarget against\n */\nfunction tree_retarget(a, b) {\n /**\n * To retarget an object A against an object B, repeat these steps until\n * they return an object:\n * 1. If one of the following is true\n * - A is not a node\n * - A's root is not a shadow root\n * - B is a node and A's root is a shadow-including inclusive ancestor\n * of B\n * then return A.\n * 2. Set A to A's root's host.\n */\n while (true) {\n if (!a || !util_1.Guard.isNode(a)) {\n return a;\n }\n var rootOfA = tree_rootNode(a);\n if (!util_1.Guard.isShadowRoot(rootOfA)) {\n return a;\n }\n if (b && util_1.Guard.isNode(b) && tree_isAncestorOf(rootOfA, b, true, true)) {\n return a;\n }\n a = rootOfA.host;\n }\n}\nexports.tree_retarget = tree_retarget;\n//# sourceMappingURL=TreeAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar TraversalAlgorithm_1 = require(\"./TraversalAlgorithm\");\n/**\n * Returns the first or last child node, or `null` if there are none.\n *\n * @param walker - the `TreeWalker` instance\n * @param first - `true` to return the first child node, or `false` to\n * return the last child node.\n */\nfunction treeWalker_traverseChildren(walker, first) {\n /**\n * 1. Let node be walker’s current.\n * 2. Set node to node’s first child if type is first, and node’s last child\n * if type is last.\n * 3. While node is non-null:\n */\n var node = (first ? walker._current._firstChild : walker._current._lastChild);\n while (node !== null) {\n /**\n * 3.1. Let result be the result of filtering node within walker.\n */\n var result = TraversalAlgorithm_1.traversal_filter(walker, node);\n if (result === interfaces_1.FilterResult.Accept) {\n /**\n * 3.2. If result is FILTER_ACCEPT, then set walker’s current to node and\n * return node.\n */\n walker._current = node;\n return node;\n }\n else if (result === interfaces_1.FilterResult.Skip) {\n /**\n * 3.3. If result is FILTER_SKIP, then:\n * 3.3.1. Let child be node’s first child if type is first, and node’s\n * last child if type is last.\n * 3.3.2. If child is non-null, then set node to child and continue.\n */\n var child = (first ? node._firstChild : node._lastChild);\n if (child !== null) {\n node = child;\n continue;\n }\n }\n /**\n * 3.4. While node is non-null:\n */\n while (node !== null) {\n /**\n * 3.4.1. Let sibling be node’s next sibling if type is first, and\n * node’s previous sibling if type is last.\n * 3.4.2. If sibling is non-null, then set node to sibling and break.\n */\n var sibling = (first ? node._nextSibling : node._previousSibling);\n if (sibling !== null) {\n node = sibling;\n break;\n }\n /**\n * 3.4.3. Let parent be node’s parent.\n * 3.4.4. If parent is null, walker’s root, or walker’s current, then\n * return null.\n */\n var parent = node._parent;\n if (parent === null || parent === walker._root || parent === walker._current) {\n return null;\n }\n /**\n * 3.4.5. Set node to parent.\n */\n node = parent;\n }\n }\n /**\n * 5. Return null\n */\n return null;\n}\nexports.treeWalker_traverseChildren = treeWalker_traverseChildren;\n/**\n * Returns the next or previous sibling node, or `null` if there are none.\n *\n * @param walker - the `TreeWalker` instance\n * @param next - `true` to return the next sibling node, or `false` to\n * return the previous sibling node.\n */\nfunction treeWalker_traverseSiblings(walker, next) {\n /**\n * 1. Let node be walker’s current.\n * 2. If node is root, then return null.\n * 3. While node is non-null:\n */\n var node = walker._current;\n if (node === walker._root)\n return null;\n while (true) {\n /**\n * 3.1. Let sibling be node’s next sibling if type is next, and node’s\n * previous sibling if type is previous.\n * 3.2. While sibling is non-null:\n */\n var sibling = (next ? node._nextSibling : node._previousSibling);\n while (sibling !== null) {\n /**\n * 3.2.1. Set node to sibling.\n * 3.2.2. Let result be the result of filtering node within walker.\n * 3.2.3. If result is FILTER_ACCEPT, then set walker’s current to node\n * and return node.\n */\n node = sibling;\n var result = TraversalAlgorithm_1.traversal_filter(walker, node);\n if (result === interfaces_1.FilterResult.Accept) {\n walker._current = node;\n return node;\n }\n /**\n * 3.2.4. Set sibling to node’s first child if type is next, and node’s\n * last child if type is previous.\n * 3.2.5. If result is FILTER_REJECT or sibling is null, then set\n * sibling to node’s next sibling if type is next, and node’s previous\n * sibling if type is previous.\n */\n sibling = (next ? node._firstChild : node._lastChild);\n if (result === interfaces_1.FilterResult.Reject || sibling === null) {\n sibling = (next ? node._nextSibling : node._previousSibling);\n }\n }\n /**\n * 3.3. Set node to node’s parent.\n * 3.4. If node is null or walker’s root, then return null.\n */\n node = node._parent;\n if (node === null || node === walker._root) {\n return null;\n }\n /**\n * 3.5. If the return value of filtering node within walker is FILTER_ACCEPT,\n * then return null.\n */\n if (TraversalAlgorithm_1.traversal_filter(walker, node) === interfaces_1.FilterResult.Accept) {\n return null;\n }\n }\n}\nexports.treeWalker_traverseSiblings = treeWalker_traverseSiblings;\n//# sourceMappingURL=TreeWalkerAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Defines a WebIDL `Const` property on the given object.\n *\n * @param o - object on which to add the property\n * @param name - property name\n * @param value - property value\n */\nfunction idl_defineConst(o, name, value) {\n Object.defineProperty(o, name, { writable: false, enumerable: true, configurable: false, value: value });\n}\nexports.idl_defineConst = idl_defineConst;\n//# sourceMappingURL=WebIDLAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Determines if the given string is valid for a `\"Name\"` construct.\n *\n * @param name - name string to test\n */\nfunction xml_isName(name) {\n for (var i = 0; i < name.length; i++) {\n var n = name.charCodeAt(i);\n // NameStartChar\n if ((n >= 97 && n <= 122) || // [a-z]\n (n >= 65 && n <= 90) || // [A-Z]\n n === 58 || n === 95 || // ':' or '_'\n (n >= 0xC0 && n <= 0xD6) ||\n (n >= 0xD8 && n <= 0xF6) ||\n (n >= 0xF8 && n <= 0x2FF) ||\n (n >= 0x370 && n <= 0x37D) ||\n (n >= 0x37F && n <= 0x1FFF) ||\n (n >= 0x200C && n <= 0x200D) ||\n (n >= 0x2070 && n <= 0x218F) ||\n (n >= 0x2C00 && n <= 0x2FEF) ||\n (n >= 0x3001 && n <= 0xD7FF) ||\n (n >= 0xF900 && n <= 0xFDCF) ||\n (n >= 0xFDF0 && n <= 0xFFFD)) {\n continue;\n }\n else if (i !== 0 &&\n (n === 45 || n === 46 || // '-' or '.'\n (n >= 48 && n <= 57) || // [0-9]\n (n === 0xB7) ||\n (n >= 0x0300 && n <= 0x036F) ||\n (n >= 0x203F && n <= 0x2040))) {\n continue;\n }\n if (n >= 0xD800 && n <= 0xDBFF && i < name.length - 1) {\n var n2 = name.charCodeAt(i + 1);\n if (n2 >= 0xDC00 && n2 <= 0xDFFF) {\n n = (n - 0xD800) * 0x400 + n2 - 0xDC00 + 0x10000;\n i++;\n if (n >= 0x10000 && n <= 0xEFFFF) {\n continue;\n }\n }\n }\n return false;\n }\n return true;\n}\nexports.xml_isName = xml_isName;\n/**\n * Determines if the given string is valid for a `\"QName\"` construct.\n *\n * @param name - name string to test\n */\nfunction xml_isQName(name) {\n var colonFound = false;\n for (var i = 0; i < name.length; i++) {\n var n = name.charCodeAt(i);\n // NameStartChar\n if ((n >= 97 && n <= 122) || // [a-z]\n (n >= 65 && n <= 90) || // [A-Z]\n n === 95 || // '_'\n (n >= 0xC0 && n <= 0xD6) ||\n (n >= 0xD8 && n <= 0xF6) ||\n (n >= 0xF8 && n <= 0x2FF) ||\n (n >= 0x370 && n <= 0x37D) ||\n (n >= 0x37F && n <= 0x1FFF) ||\n (n >= 0x200C && n <= 0x200D) ||\n (n >= 0x2070 && n <= 0x218F) ||\n (n >= 0x2C00 && n <= 0x2FEF) ||\n (n >= 0x3001 && n <= 0xD7FF) ||\n (n >= 0xF900 && n <= 0xFDCF) ||\n (n >= 0xFDF0 && n <= 0xFFFD)) {\n continue;\n }\n else if (i !== 0 &&\n (n === 45 || n === 46 || // '-' or '.'\n (n >= 48 && n <= 57) || // [0-9]\n (n === 0xB7) ||\n (n >= 0x0300 && n <= 0x036F) ||\n (n >= 0x203F && n <= 0x2040))) {\n continue;\n }\n else if (i !== 0 && n === 58) { // :\n if (colonFound)\n return false; // multiple colons in qname\n if (i === name.length - 1)\n return false; // colon at the end of qname\n colonFound = true;\n continue;\n }\n if (n >= 0xD800 && n <= 0xDBFF && i < name.length - 1) {\n var n2 = name.charCodeAt(i + 1);\n if (n2 >= 0xDC00 && n2 <= 0xDFFF) {\n n = (n - 0xD800) * 0x400 + n2 - 0xDC00 + 0x10000;\n i++;\n if (n >= 0x10000 && n <= 0xEFFFF) {\n continue;\n }\n }\n }\n return false;\n }\n return true;\n}\nexports.xml_isQName = xml_isQName;\n/**\n * Determines if the given string contains legal characters.\n *\n * @param chars - sequence of characters to test\n */\nfunction xml_isLegalChar(chars) {\n for (var i = 0; i < chars.length; i++) {\n var n = chars.charCodeAt(i);\n // #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]\n if (n === 0x9 || n === 0xA || n === 0xD ||\n (n >= 0x20 && n <= 0xD7FF) ||\n (n >= 0xE000 && n <= 0xFFFD)) {\n continue;\n }\n if (n >= 0xD800 && n <= 0xDBFF && i < chars.length - 1) {\n var n2 = chars.charCodeAt(i + 1);\n if (n2 >= 0xDC00 && n2 <= 0xDFFF) {\n n = (n - 0xD800) * 0x400 + n2 - 0xDC00 + 0x10000;\n i++;\n if (n >= 0x10000 && n <= 0x10FFFF) {\n continue;\n }\n }\n }\n return false;\n }\n return true;\n}\nexports.xml_isLegalChar = xml_isLegalChar;\n/**\n * Determines if the given string contains legal characters for a public\n * identifier.\n *\n * @param chars - sequence of characters to test\n */\nfunction xml_isPubidChar(chars) {\n for (var i = 0; i < chars.length; i++) {\n // PubId chars are all in the ASCII range, no need to check surrogates\n var n = chars.charCodeAt(i);\n // #x20 | #xD | #xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]\n if ((n >= 97 && n <= 122) || // [a-z]\n (n >= 65 && n <= 90) || // [A-Z]\n (n >= 39 && n <= 59) || // ['()*+,-./] | [0-9] | [:;]\n n === 0x20 || n === 0xD || n === 0xA || // #x20 | #xD | #xA\n (n >= 35 && n <= 37) || // [#$%]\n n === 33 || // !\n n === 61 || n === 63 || n === 64 || n === 95) { // [=?@_]\n continue;\n }\n else {\n return false;\n }\n }\n return true;\n}\nexports.xml_isPubidChar = xml_isPubidChar;\n//# sourceMappingURL=XMLAlgorithm.js.map","\"use strict\";\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(require(\"./AbortAlgorithm\"));\n__export(require(\"./AttrAlgorithm\"));\n__export(require(\"./BoundaryPointAlgorithm\"));\n__export(require(\"./CharacterDataAlgorithm\"));\n__export(require(\"./CreateAlgorithm\"));\n__export(require(\"./CustomElementAlgorithm\"));\n__export(require(\"./DocumentAlgorithm\"));\n__export(require(\"./DOMAlgorithm\"));\n__export(require(\"./DOMTokenListAlgorithm\"));\n__export(require(\"./ElementAlgorithm\"));\n__export(require(\"./EventAlgorithm\"));\n__export(require(\"./EventTargetAlgorithm\"));\n__export(require(\"./MutationAlgorithm\"));\n__export(require(\"./MutationObserverAlgorithm\"));\n__export(require(\"./NamespaceAlgorithm\"));\n__export(require(\"./NodeAlgorithm\"));\n__export(require(\"./NodeIteratorAlgorithm\"));\n__export(require(\"./OrderedSetAlgorithm\"));\n__export(require(\"./ParentNodeAlgorithm\"));\n__export(require(\"./RangeAlgorithm\"));\n__export(require(\"./SelectorsAlgorithm\"));\n__export(require(\"./ShadowTreeAlgorithm\"));\n__export(require(\"./TextAlgorithm\"));\n__export(require(\"./TraversalAlgorithm\"));\n__export(require(\"./TreeAlgorithm\"));\n__export(require(\"./TreeWalkerAlgorithm\"));\n__export(require(\"./WebIDLAlgorithm\"));\n__export(require(\"./XMLAlgorithm\"));\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a controller that allows to abort DOM requests.\n */\nvar AbortControllerImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `AbortController`.\n */\n function AbortControllerImpl() {\n /**\n * 1. Let signal be a new AbortSignal object.\n * 2. Let controller be a new AbortController object whose signal is signal.\n * 3. Return controller.\n */\n this._signal = algorithm_1.create_abortSignal();\n }\n Object.defineProperty(AbortControllerImpl.prototype, \"signal\", {\n /** @inheritdoc */\n get: function () { return this._signal; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n AbortControllerImpl.prototype.abort = function () {\n algorithm_1.abort_signalAbort(this._signal);\n };\n return AbortControllerImpl;\n}());\nexports.AbortControllerImpl = AbortControllerImpl;\n//# sourceMappingURL=AbortControllerImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EventTargetImpl_1 = require(\"./EventTargetImpl\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a signal object that communicates with a DOM request and abort\n * it through an AbortController.\n */\nvar AbortSignalImpl = /** @class */ (function (_super) {\n __extends(AbortSignalImpl, _super);\n /**\n * Initializes a new instance of `AbortSignal`.\n */\n function AbortSignalImpl() {\n var _this = _super.call(this) || this;\n _this._abortedFlag = false;\n _this._abortAlgorithms = new Set();\n return _this;\n }\n Object.defineProperty(AbortSignalImpl.prototype, \"aborted\", {\n /** @inheritdoc */\n get: function () { return this._abortedFlag; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbortSignalImpl.prototype, \"onabort\", {\n /** @inheritdoc */\n get: function () {\n return algorithm_1.event_getterEventHandlerIDLAttribute(this, \"onabort\");\n },\n set: function (val) {\n algorithm_1.event_setterEventHandlerIDLAttribute(this, \"onabort\", val);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new `AbortSignal`.\n */\n AbortSignalImpl._create = function () {\n return new AbortSignalImpl();\n };\n return AbortSignalImpl;\n}(EventTargetImpl_1.EventTargetImpl));\nexports.AbortSignalImpl = AbortSignalImpl;\n//# sourceMappingURL=AbortSignalImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents an abstract range with a start and end boundary point.\n */\nvar AbstractRangeImpl = /** @class */ (function () {\n function AbstractRangeImpl() {\n }\n Object.defineProperty(AbstractRangeImpl.prototype, \"_startNode\", {\n get: function () { return this._start[0]; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"_startOffset\", {\n get: function () { return this._start[1]; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"_endNode\", {\n get: function () { return this._end[0]; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"_endOffset\", {\n get: function () { return this._end[1]; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"_collapsed\", {\n get: function () {\n return (this._start[0] === this._end[0] &&\n this._start[1] === this._end[1]);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"startContainer\", {\n /** @inheritdoc */\n get: function () { return this._startNode; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"startOffset\", {\n /** @inheritdoc */\n get: function () { return this._startOffset; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"endContainer\", {\n /** @inheritdoc */\n get: function () { return this._endNode; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"endOffset\", {\n /** @inheritdoc */\n get: function () { return this._endOffset; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractRangeImpl.prototype, \"collapsed\", {\n /** @inheritdoc */\n get: function () { return this._collapsed; },\n enumerable: true,\n configurable: true\n });\n return AbstractRangeImpl;\n}());\nexports.AbstractRangeImpl = AbstractRangeImpl;\n//# sourceMappingURL=AbstractRangeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar NodeImpl_1 = require(\"./NodeImpl\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents an attribute of an element node.\n */\nvar AttrImpl = /** @class */ (function (_super) {\n __extends(AttrImpl, _super);\n /**\n * Initializes a new instance of `Attr`.\n *\n * @param localName - local name\n */\n function AttrImpl(localName) {\n var _this = _super.call(this) || this;\n _this._namespace = null;\n _this._namespacePrefix = null;\n _this._element = null;\n _this._value = '';\n _this._localName = localName;\n return _this;\n }\n Object.defineProperty(AttrImpl.prototype, \"ownerElement\", {\n /** @inheritdoc */\n get: function () { return this._element; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AttrImpl.prototype, \"namespaceURI\", {\n /** @inheritdoc */\n get: function () { return this._namespace; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AttrImpl.prototype, \"prefix\", {\n /** @inheritdoc */\n get: function () { return this._namespacePrefix; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AttrImpl.prototype, \"localName\", {\n /** @inheritdoc */\n get: function () { return this._localName; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AttrImpl.prototype, \"name\", {\n /** @inheritdoc */\n get: function () { return this._qualifiedName; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AttrImpl.prototype, \"value\", {\n /** @inheritdoc */\n get: function () { return this._value; },\n set: function (value) {\n /**\n * The value attribute’s setter must set an existing attribute value with\n * context object and the given value.\n */\n algorithm_1.attr_setAnExistingAttributeValue(this, value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AttrImpl.prototype, \"_qualifiedName\", {\n /**\n * Returns the qualified name.\n */\n get: function () {\n /**\n * An attribute’s qualified name is its local name if its namespace prefix\n * is null, and its namespace prefix, followed by \":\", followed by its\n * local name, otherwise.\n */\n return (this._namespacePrefix !== null ?\n this._namespacePrefix + ':' + this._localName :\n this._localName);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates an `Attr`.\n *\n * @param document - owner document\n * @param localName - local name\n */\n AttrImpl._create = function (document, localName) {\n var node = new AttrImpl(localName);\n node._nodeDocument = document;\n return node;\n };\n return AttrImpl;\n}(NodeImpl_1.NodeImpl));\nexports.AttrImpl = AttrImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(AttrImpl.prototype, \"_nodeType\", interfaces_1.NodeType.Attribute);\nWebIDLAlgorithm_1.idl_defineConst(AttrImpl.prototype, \"specified\", true);\n//# sourceMappingURL=AttrImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar TextImpl_1 = require(\"./TextImpl\");\nvar interfaces_1 = require(\"./interfaces\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a CDATA node.\n */\nvar CDATASectionImpl = /** @class */ (function (_super) {\n __extends(CDATASectionImpl, _super);\n /**\n * Initializes a new instance of `CDATASection`.\n *\n * @param data - node contents\n */\n function CDATASectionImpl(data) {\n return _super.call(this, data) || this;\n }\n /**\n * Creates a new `CDATASection`.\n *\n * @param document - owner document\n * @param data - node contents\n */\n CDATASectionImpl._create = function (document, data) {\n if (data === void 0) { data = ''; }\n var node = new CDATASectionImpl(data);\n node._nodeDocument = document;\n return node;\n };\n return CDATASectionImpl;\n}(TextImpl_1.TextImpl));\nexports.CDATASectionImpl = CDATASectionImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(CDATASectionImpl.prototype, \"_nodeType\", interfaces_1.NodeType.CData);\n//# sourceMappingURL=CDATASectionImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar NodeImpl_1 = require(\"./NodeImpl\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a generic text node.\n */\nvar CharacterDataImpl = /** @class */ (function (_super) {\n __extends(CharacterDataImpl, _super);\n /**\n * Initializes a new instance of `CharacterData`.\n *\n * @param data - the text content\n */\n function CharacterDataImpl(data) {\n var _this = _super.call(this) || this;\n _this._data = data;\n return _this;\n }\n Object.defineProperty(CharacterDataImpl.prototype, \"data\", {\n /** @inheritdoc */\n get: function () { return this._data; },\n set: function (value) {\n algorithm_1.characterData_replaceData(this, 0, this._data.length, value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CharacterDataImpl.prototype, \"length\", {\n /** @inheritdoc */\n get: function () { return this._data.length; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n CharacterDataImpl.prototype.substringData = function (offset, count) {\n /**\n * The substringData(offset, count) method, when invoked, must return the\n * result of running substring data with node context object, offset offset, and count count.\n */\n return algorithm_1.characterData_substringData(this, offset, count);\n };\n /** @inheritdoc */\n CharacterDataImpl.prototype.appendData = function (data) {\n /**\n * The appendData(data) method, when invoked, must replace data with node\n * context object, offset context object’s length, count 0, and data data.\n */\n return algorithm_1.characterData_replaceData(this, this._data.length, 0, data);\n };\n /** @inheritdoc */\n CharacterDataImpl.prototype.insertData = function (offset, data) {\n /**\n * The insertData(offset, data) method, when invoked, must replace data with\n * node context object, offset offset, count 0, and data data.\n */\n algorithm_1.characterData_replaceData(this, offset, 0, data);\n };\n /** @inheritdoc */\n CharacterDataImpl.prototype.deleteData = function (offset, count) {\n /**\n * The deleteData(offset, count) method, when invoked, must replace data\n * with node context object, offset offset, count count, and data the\n * empty string.\n */\n algorithm_1.characterData_replaceData(this, offset, count, '');\n };\n /** @inheritdoc */\n CharacterDataImpl.prototype.replaceData = function (offset, count, data) {\n /**\n * The replaceData(offset, count, data) method, when invoked, must replace\n * data with node context object, offset offset, count count, and data data.\n */\n algorithm_1.characterData_replaceData(this, offset, count, data);\n };\n Object.defineProperty(CharacterDataImpl.prototype, \"previousElementSibling\", {\n // MIXIN: NonDocumentTypeChildNode\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: NonDocumentTypeChildNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CharacterDataImpl.prototype, \"nextElementSibling\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: NonDocumentTypeChildNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n // MIXIN: ChildNode\n /* istanbul ignore next */\n CharacterDataImpl.prototype.before = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n CharacterDataImpl.prototype.after = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n CharacterDataImpl.prototype.replaceWith = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n CharacterDataImpl.prototype.remove = function () { throw new Error(\"Mixin: ChildNode not implemented.\"); };\n return CharacterDataImpl;\n}(NodeImpl_1.NodeImpl));\nexports.CharacterDataImpl = CharacterDataImpl;\n//# sourceMappingURL=CharacterDataImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a mixin that extends child nodes that can have siblings\n * including doctypes. This mixin is implemented by {@link Element},\n * {@link CharacterData} and {@link DocumentType}.\n */\nvar ChildNodeImpl = /** @class */ (function () {\n function ChildNodeImpl() {\n }\n /** @inheritdoc */\n ChildNodeImpl.prototype.before = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n /**\n * 1. Let parent be context object’s parent.\n * 2. If parent is null, then return.\n */\n var context = util_1.Cast.asNode(this);\n var parent = context._parent;\n if (parent === null)\n return;\n /**\n * 3. Let viablePreviousSibling be context object’s first preceding\n * sibling not in nodes, and null otherwise.\n */\n var viablePreviousSibling = context._previousSibling;\n var flag = true;\n while (flag && viablePreviousSibling) {\n flag = false;\n for (var i = 0; i < nodes.length; i++) {\n var child = nodes[i];\n if (child === viablePreviousSibling) {\n viablePreviousSibling = viablePreviousSibling._previousSibling;\n flag = true;\n break;\n }\n }\n }\n /**\n * 4. Let node be the result of converting nodes into a node, given nodes\n * and context object’s node document.\n */\n var node = algorithm_1.parentNode_convertNodesIntoANode(nodes, context._nodeDocument);\n /**\n * 5. If viablePreviousSibling is null, set it to parent’s first child,\n * and to viablePreviousSibling’s next sibling otherwise.\n */\n if (viablePreviousSibling === null)\n viablePreviousSibling = parent._firstChild;\n else\n viablePreviousSibling = viablePreviousSibling._nextSibling;\n /**\n * 6. Pre-insert node into parent before viablePreviousSibling.\n */\n algorithm_1.mutation_preInsert(node, parent, viablePreviousSibling);\n };\n /** @inheritdoc */\n ChildNodeImpl.prototype.after = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n /**\n * 1. Let parent be context object’s parent.\n * 2. If parent is null, then return.\n */\n var context = util_1.Cast.asNode(this);\n var parent = context._parent;\n if (!parent)\n return;\n /**\n * 3. Let viableNextSibling be context object’s first following sibling not\n * in nodes, and null otherwise.\n */\n var viableNextSibling = context._nextSibling;\n var flag = true;\n while (flag && viableNextSibling) {\n flag = false;\n for (var i = 0; i < nodes.length; i++) {\n var child = nodes[i];\n if (child === viableNextSibling) {\n viableNextSibling = viableNextSibling._nextSibling;\n flag = true;\n break;\n }\n }\n }\n /**\n * 4. Let node be the result of converting nodes into a node, given nodes\n * and context object’s node document.\n */\n var node = algorithm_1.parentNode_convertNodesIntoANode(nodes, context._nodeDocument);\n /**\n * 5. Pre-insert node into parent before viableNextSibling.\n */\n algorithm_1.mutation_preInsert(node, parent, viableNextSibling);\n };\n /** @inheritdoc */\n ChildNodeImpl.prototype.replaceWith = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n /**\n * 1. Let parent be context object’s parent.\n * 2. If parent is null, then return.\n */\n var context = util_1.Cast.asNode(this);\n var parent = context._parent;\n if (!parent)\n return;\n /**\n * 3. Let viableNextSibling be context object’s first following sibling not\n * in nodes, and null otherwise.\n */\n var viableNextSibling = context._nextSibling;\n var flag = true;\n while (flag && viableNextSibling) {\n flag = false;\n for (var i = 0; i < nodes.length; i++) {\n var child = nodes[i];\n if (child === viableNextSibling) {\n viableNextSibling = viableNextSibling._nextSibling;\n flag = true;\n break;\n }\n }\n }\n /**\n * 4. Let node be the result of converting nodes into a node, given nodes\n * and context object’s node document.\n */\n var node = algorithm_1.parentNode_convertNodesIntoANode(nodes, context._nodeDocument);\n /**\n * 5. If context object’s parent is parent, replace the context object with\n * node within parent.\n * _Note:_ Context object could have been inserted into node.\n * 6. Otherwise, pre-insert node into parent before viableNextSibling.\n */\n if (context._parent === parent)\n algorithm_1.mutation_replace(context, node, parent);\n else\n algorithm_1.mutation_preInsert(node, parent, viableNextSibling);\n };\n /** @inheritdoc */\n ChildNodeImpl.prototype.remove = function () {\n /**\n * 1. If context object’s parent is null, then return.\n * 2. Remove the context object from context object’s parent.\n */\n var context = util_1.Cast.asNode(this);\n var parent = context._parent;\n if (!parent)\n return;\n algorithm_1.mutation_remove(context, parent);\n };\n return ChildNodeImpl;\n}());\nexports.ChildNodeImpl = ChildNodeImpl;\n//# sourceMappingURL=ChildNodeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar CharacterDataImpl_1 = require(\"./CharacterDataImpl\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a comment node.\n */\nvar CommentImpl = /** @class */ (function (_super) {\n __extends(CommentImpl, _super);\n /**\n * Initializes a new instance of `Comment`.\n *\n * @param data - the text content\n */\n function CommentImpl(data) {\n if (data === void 0) { data = ''; }\n return _super.call(this, data) || this;\n }\n /**\n * Creates a new `Comment`.\n *\n * @param document - owner document\n * @param data - node contents\n */\n CommentImpl._create = function (document, data) {\n if (data === void 0) { data = ''; }\n var node = new CommentImpl(data);\n node._nodeDocument = document;\n return node;\n };\n return CommentImpl;\n}(CharacterDataImpl_1.CharacterDataImpl));\nexports.CommentImpl = CommentImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(CommentImpl.prototype, \"_nodeType\", interfaces_1.NodeType.Comment);\n//# sourceMappingURL=CommentImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EventImpl_1 = require(\"./EventImpl\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents and event that carries custom data.\n */\nvar CustomEventImpl = /** @class */ (function (_super) {\n __extends(CustomEventImpl, _super);\n /**\n * Initializes a new instance of `CustomEvent`.\n */\n function CustomEventImpl(type, eventInit) {\n var _this = _super.call(this, type, eventInit) || this;\n _this._detail = null;\n _this._detail = (eventInit && eventInit.detail) || null;\n return _this;\n }\n Object.defineProperty(CustomEventImpl.prototype, \"detail\", {\n /** @inheritdoc */\n get: function () { return this._detail; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n CustomEventImpl.prototype.initCustomEvent = function (type, bubbles, cancelable, detail) {\n if (bubbles === void 0) { bubbles = false; }\n if (cancelable === void 0) { cancelable = false; }\n if (detail === void 0) { detail = null; }\n /**\n * 1. If the context object’s dispatch flag is set, then return.\n */\n if (this._dispatchFlag)\n return;\n /**\n * 2. Initialize the context object with type, bubbles, and cancelable.\n */\n algorithm_1.event_initialize(this, type, bubbles, cancelable);\n /**\n * 3. Set the context object’s detail attribute to detail.\n */\n this._detail = detail;\n };\n return CustomEventImpl;\n}(EventImpl_1.EventImpl));\nexports.CustomEventImpl = CustomEventImpl;\n//# sourceMappingURL=CustomEventImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents the base class of `Error` objects used by this module.\n */\nvar DOMException = /** @class */ (function (_super) {\n __extends(DOMException, _super);\n /**\n *\n * @param name - message name\n * @param message - error message\n */\n function DOMException(name, message) {\n if (message === void 0) { message = \"\"; }\n var _this = _super.call(this, message) || this;\n _this.name = name;\n return _this;\n }\n return DOMException;\n}(Error));\nexports.DOMException = DOMException;\nvar DOMStringSizeError = /** @class */ (function (_super) {\n __extends(DOMStringSizeError, _super);\n /**\n * @param message - error message\n */\n function DOMStringSizeError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"DOMStringSizeError\", message) || this;\n }\n return DOMStringSizeError;\n}(DOMException));\nexports.DOMStringSizeError = DOMStringSizeError;\nvar WrongDocumentError = /** @class */ (function (_super) {\n __extends(WrongDocumentError, _super);\n /**\n * @param message - error message\n */\n function WrongDocumentError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"WrongDocumentError\", \"The object is in the wrong document. \" + message) || this;\n }\n return WrongDocumentError;\n}(DOMException));\nexports.WrongDocumentError = WrongDocumentError;\nvar NoDataAllowedError = /** @class */ (function (_super) {\n __extends(NoDataAllowedError, _super);\n /**\n * @param message - error message\n */\n function NoDataAllowedError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NoDataAllowedError\", message) || this;\n }\n return NoDataAllowedError;\n}(DOMException));\nexports.NoDataAllowedError = NoDataAllowedError;\nvar NoModificationAllowedError = /** @class */ (function (_super) {\n __extends(NoModificationAllowedError, _super);\n /**\n * @param message - error message\n */\n function NoModificationAllowedError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NoModificationAllowedError\", \"The object can not be modified. \" + message) || this;\n }\n return NoModificationAllowedError;\n}(DOMException));\nexports.NoModificationAllowedError = NoModificationAllowedError;\nvar NotSupportedError = /** @class */ (function (_super) {\n __extends(NotSupportedError, _super);\n /**\n * @param message - error message\n */\n function NotSupportedError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NotSupportedError\", \"The operation is not supported. \" + message) || this;\n }\n return NotSupportedError;\n}(DOMException));\nexports.NotSupportedError = NotSupportedError;\nvar InUseAttributeError = /** @class */ (function (_super) {\n __extends(InUseAttributeError, _super);\n /**\n * @param message - error message\n */\n function InUseAttributeError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"InUseAttributeError\", message) || this;\n }\n return InUseAttributeError;\n}(DOMException));\nexports.InUseAttributeError = InUseAttributeError;\nvar InvalidStateError = /** @class */ (function (_super) {\n __extends(InvalidStateError, _super);\n /**\n * @param message - error message\n */\n function InvalidStateError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"InvalidStateError\", \"The object is in an invalid state. \" + message) || this;\n }\n return InvalidStateError;\n}(DOMException));\nexports.InvalidStateError = InvalidStateError;\nvar InvalidModificationError = /** @class */ (function (_super) {\n __extends(InvalidModificationError, _super);\n /**\n * @param message - error message\n */\n function InvalidModificationError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"InvalidModificationError\", \"The object can not be modified in this way. \" + message) || this;\n }\n return InvalidModificationError;\n}(DOMException));\nexports.InvalidModificationError = InvalidModificationError;\nvar NamespaceError = /** @class */ (function (_super) {\n __extends(NamespaceError, _super);\n /**\n * @param message - error message\n */\n function NamespaceError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NamespaceError\", \"The operation is not allowed by Namespaces in XML. [XMLNS] \" + message) || this;\n }\n return NamespaceError;\n}(DOMException));\nexports.NamespaceError = NamespaceError;\nvar InvalidAccessError = /** @class */ (function (_super) {\n __extends(InvalidAccessError, _super);\n /**\n * @param message - error message\n */\n function InvalidAccessError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"InvalidAccessError\", \"The object does not support the operation or argument. \" + message) || this;\n }\n return InvalidAccessError;\n}(DOMException));\nexports.InvalidAccessError = InvalidAccessError;\nvar ValidationError = /** @class */ (function (_super) {\n __extends(ValidationError, _super);\n /**\n * @param message - error message\n */\n function ValidationError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"ValidationError\", message) || this;\n }\n return ValidationError;\n}(DOMException));\nexports.ValidationError = ValidationError;\nvar TypeMismatchError = /** @class */ (function (_super) {\n __extends(TypeMismatchError, _super);\n /**\n * @param message - error message\n */\n function TypeMismatchError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"TypeMismatchError\", message) || this;\n }\n return TypeMismatchError;\n}(DOMException));\nexports.TypeMismatchError = TypeMismatchError;\nvar SecurityError = /** @class */ (function (_super) {\n __extends(SecurityError, _super);\n /**\n * @param message - error message\n */\n function SecurityError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"SecurityError\", \"The operation is insecure. \" + message) || this;\n }\n return SecurityError;\n}(DOMException));\nexports.SecurityError = SecurityError;\nvar NetworkError = /** @class */ (function (_super) {\n __extends(NetworkError, _super);\n /**\n * @param message - error message\n */\n function NetworkError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NetworkError\", \"A network error occurred. \" + message) || this;\n }\n return NetworkError;\n}(DOMException));\nexports.NetworkError = NetworkError;\nvar AbortError = /** @class */ (function (_super) {\n __extends(AbortError, _super);\n /**\n * @param message - error message\n */\n function AbortError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"AbortError\", \"The operation was aborted. \" + message) || this;\n }\n return AbortError;\n}(DOMException));\nexports.AbortError = AbortError;\nvar URLMismatchError = /** @class */ (function (_super) {\n __extends(URLMismatchError, _super);\n /**\n * @param message - error message\n */\n function URLMismatchError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"URLMismatchError\", \"The given URL does not match another URL. \" + message) || this;\n }\n return URLMismatchError;\n}(DOMException));\nexports.URLMismatchError = URLMismatchError;\nvar QuotaExceededError = /** @class */ (function (_super) {\n __extends(QuotaExceededError, _super);\n /**\n * @param message - error message\n */\n function QuotaExceededError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"QuotaExceededError\", \"The quota has been exceeded. \" + message) || this;\n }\n return QuotaExceededError;\n}(DOMException));\nexports.QuotaExceededError = QuotaExceededError;\nvar TimeoutError = /** @class */ (function (_super) {\n __extends(TimeoutError, _super);\n /**\n * @param message - error message\n */\n function TimeoutError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"TimeoutError\", \"The operation timed out. \" + message) || this;\n }\n return TimeoutError;\n}(DOMException));\nexports.TimeoutError = TimeoutError;\nvar InvalidNodeTypeError = /** @class */ (function (_super) {\n __extends(InvalidNodeTypeError, _super);\n /**\n * @param message - error message\n */\n function InvalidNodeTypeError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"InvalidNodeTypeError\", \"The supplied node is incorrect or has an incorrect ancestor for this operation. \" + message) || this;\n }\n return InvalidNodeTypeError;\n}(DOMException));\nexports.InvalidNodeTypeError = InvalidNodeTypeError;\nvar DataCloneError = /** @class */ (function (_super) {\n __extends(DataCloneError, _super);\n /**\n * @param message - error message\n */\n function DataCloneError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"DataCloneError\", \"The object can not be cloned. \" + message) || this;\n }\n return DataCloneError;\n}(DOMException));\nexports.DataCloneError = DataCloneError;\nvar NotImplementedError = /** @class */ (function (_super) {\n __extends(NotImplementedError, _super);\n /**\n * @param message - error message\n */\n function NotImplementedError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NotImplementedError\", \"The DOM method is not implemented by this module. \" + message) || this;\n }\n return NotImplementedError;\n}(DOMException));\nexports.NotImplementedError = NotImplementedError;\nvar HierarchyRequestError = /** @class */ (function (_super) {\n __extends(HierarchyRequestError, _super);\n /**\n * @param message - error message\n */\n function HierarchyRequestError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"HierarchyRequestError\", \"The operation would yield an incorrect node tree. \" + message) || this;\n }\n return HierarchyRequestError;\n}(DOMException));\nexports.HierarchyRequestError = HierarchyRequestError;\nvar NotFoundError = /** @class */ (function (_super) {\n __extends(NotFoundError, _super);\n /**\n * @param message - error message\n */\n function NotFoundError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"NotFoundError\", \"The object can not be found here. \" + message) || this;\n }\n return NotFoundError;\n}(DOMException));\nexports.NotFoundError = NotFoundError;\nvar IndexSizeError = /** @class */ (function (_super) {\n __extends(IndexSizeError, _super);\n /**\n * @param message - error message\n */\n function IndexSizeError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"IndexSizeError\", \"The index is not in the allowed range. \" + message) || this;\n }\n return IndexSizeError;\n}(DOMException));\nexports.IndexSizeError = IndexSizeError;\nvar SyntaxError = /** @class */ (function (_super) {\n __extends(SyntaxError, _super);\n /**\n * @param message - error message\n */\n function SyntaxError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"SyntaxError\", \"The string did not match the expected pattern. \" + message) || this;\n }\n return SyntaxError;\n}(DOMException));\nexports.SyntaxError = SyntaxError;\nvar InvalidCharacterError = /** @class */ (function (_super) {\n __extends(InvalidCharacterError, _super);\n /**\n * @param message - error message\n */\n function InvalidCharacterError(message) {\n if (message === void 0) { message = \"\"; }\n return _super.call(this, \"InvalidCharacterError\", \"The string contains invalid characters. \" + message) || this;\n }\n return InvalidCharacterError;\n}(DOMException));\nexports.InvalidCharacterError = InvalidCharacterError;\n//# sourceMappingURL=DOMException.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar CreateAlgorithm_1 = require(\"../algorithm/CreateAlgorithm\");\n/**\n * Represents an object implementing DOM algorithms.\n */\nvar DOMImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `DOM`.\n */\n function DOMImpl() {\n this._features = {\n mutationObservers: true,\n customElements: true,\n slots: true,\n steps: true\n };\n this._window = null;\n this._compareCache = new util_1.CompareCache();\n this._rangeList = new util_1.FixedSizeSet();\n }\n /**\n * Sets DOM algorithm features.\n *\n * @param features - DOM features supported by algorithms. All features are\n * enabled by default unless explicity disabled.\n */\n DOMImpl.prototype.setFeatures = function (features) {\n if (features === undefined)\n features = true;\n if (util_1.isObject(features)) {\n for (var key in features) {\n this._features[key] = features[key] || false;\n }\n }\n else {\n // enable/disable all features\n for (var key in this._features) {\n this._features[key] = features;\n }\n }\n };\n Object.defineProperty(DOMImpl.prototype, \"features\", {\n /**\n * Gets DOM algorithm features.\n */\n get: function () { return this._features; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DOMImpl.prototype, \"window\", {\n /**\n * Gets the DOM window.\n */\n get: function () {\n if (this._window === null) {\n this._window = CreateAlgorithm_1.create_window();\n }\n return this._window;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DOMImpl.prototype, \"compareCache\", {\n /**\n * Gets the global node compare cache.\n */\n get: function () { return this._compareCache; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DOMImpl.prototype, \"rangeList\", {\n /**\n * Gets the global range list.\n */\n get: function () { return this._rangeList; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DOMImpl, \"instance\", {\n /**\n * Returns the instance of `DOM`.\n */\n get: function () {\n if (!DOMImpl._instance) {\n DOMImpl._instance = new DOMImpl();\n }\n return DOMImpl._instance;\n },\n enumerable: true,\n configurable: true\n });\n return DOMImpl;\n}());\n/**\n * Represents an object implementing DOM algorithms.\n */\nexports.dom = DOMImpl.instance;\n//# sourceMappingURL=DOMImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents an object providing methods which are not dependent on\n * any particular document.\n */\nvar DOMImplementationImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `DOMImplementation`.\n *\n * @param document - the associated document\n */\n function DOMImplementationImpl(document) {\n this._associatedDocument = document || DOMImpl_1.dom.window.document;\n }\n /** @inheritdoc */\n DOMImplementationImpl.prototype.createDocumentType = function (qualifiedName, publicId, systemId) {\n /**\n * 1. Validate qualifiedName.\n * 2. Return a new doctype, with qualifiedName as its name, publicId as its\n * public ID, and systemId as its system ID, and with its node document set\n * to the associated document of the context object.\n */\n algorithm_1.namespace_validate(qualifiedName);\n return algorithm_1.create_documentType(this._associatedDocument, qualifiedName, publicId, systemId);\n };\n /** @inheritdoc */\n DOMImplementationImpl.prototype.createDocument = function (namespace, qualifiedName, doctype) {\n if (doctype === void 0) { doctype = null; }\n /**\n * 1. Let document be a new XMLDocument.\n */\n var document = algorithm_1.create_xmlDocument();\n /**\n * 2. Let element be null.\n * 3. If qualifiedName is not the empty string, then set element to\n * the result of running the internal createElementNS steps, given document,\n * namespace, qualifiedName, and an empty dictionary.\n */\n var element = null;\n if (qualifiedName) {\n element = algorithm_1.document_internalCreateElementNS(document, namespace, qualifiedName);\n }\n /**\n * 4. If doctype is non-null, append doctype to document.\n * 5. If element is non-null, append element to document.\n */\n if (doctype)\n document.appendChild(doctype);\n if (element)\n document.appendChild(element);\n /**\n * 6. document’s origin is context object’s associated document’s origin.\n */\n document._origin = this._associatedDocument._origin;\n /**\n * 7. document’s content type is determined by namespace:\n * - HTML namespace\n * application/xhtml+xml\n * - SVG namespace\n * image/svg+xml\n * - Any other namespace\n * application/xml\n */\n if (namespace === infra_1.namespace.HTML)\n document._contentType = \"application/xhtml+xml\";\n else if (namespace === infra_1.namespace.SVG)\n document._contentType = \"image/svg+xml\";\n else\n document._contentType = \"application/xml\";\n /**\n * 8. Return document.\n */\n return document;\n };\n /** @inheritdoc */\n DOMImplementationImpl.prototype.createHTMLDocument = function (title) {\n /**\n * 1. Let doc be a new document that is an HTML document.\n * 2. Set doc’s content type to \"text/html\".\n */\n var doc = algorithm_1.create_document();\n doc._type = \"html\";\n doc._contentType = \"text/html\";\n /**\n * 3. Append a new doctype, with \"html\" as its name and with its node\n * document set to doc, to doc.\n */\n doc.appendChild(algorithm_1.create_documentType(doc, \"html\", \"\", \"\"));\n /**\n * 4. Append the result of creating an element given doc, html, and the\n * HTML namespace, to doc.\n */\n var htmlElement = algorithm_1.element_createAnElement(doc, \"html\", infra_1.namespace.HTML);\n doc.appendChild(htmlElement);\n /**\n * 5. Append the result of creating an element given doc, head, and the\n * HTML namespace, to the html element created earlier.\n */\n var headElement = algorithm_1.element_createAnElement(doc, \"head\", infra_1.namespace.HTML);\n htmlElement.appendChild(headElement);\n /**\n * 6. If title is given:\n * 6.1. Append the result of creating an element given doc, title, and\n * the HTML namespace, to the head element created earlier.\n * 6.2. Append a new Text node, with its data set to title (which could\n * be the empty string) and its node document set to doc, to the title\n * element created earlier.\n */\n if (title !== undefined) {\n var titleElement = algorithm_1.element_createAnElement(doc, \"title\", infra_1.namespace.HTML);\n headElement.appendChild(titleElement);\n var textElement = algorithm_1.create_text(doc, title);\n titleElement.appendChild(textElement);\n }\n /**\n * 7. Append the result of creating an element given doc, body, and the\n * HTML namespace, to the html element created earlier.\n */\n var bodyElement = algorithm_1.element_createAnElement(doc, \"body\", infra_1.namespace.HTML);\n htmlElement.appendChild(bodyElement);\n /**\n * 8. doc’s origin is context object’s associated document’s origin.\n */\n doc._origin = this._associatedDocument._origin;\n /**\n * 9. Return doc.\n */\n return doc;\n };\n /** @inheritdoc */\n DOMImplementationImpl.prototype.hasFeature = function () { return true; };\n /**\n * Creates a new `DOMImplementation`.\n *\n * @param document - owner document\n */\n DOMImplementationImpl._create = function (document) {\n return new DOMImplementationImpl(document);\n };\n return DOMImplementationImpl;\n}());\nexports.DOMImplementationImpl = DOMImplementationImpl;\nWebIDLAlgorithm_1.idl_defineConst(DOMImplementationImpl.prototype, \"_ID\", \"@oozcitak/dom\");\n//# sourceMappingURL=DOMImplementationImpl.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar DOMException_1 = require(\"./DOMException\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a token set.\n */\nvar DOMTokenListImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `DOMTokenList`.\n *\n * @param element - associated element\n * @param attribute - associated attribute\n */\n function DOMTokenListImpl(element, attribute) {\n /**\n * 1. Let element be associated element.\n * 2. Let localName be associated attribute’s local name.\n * 3. Let value be the result of getting an attribute value given element\n * and localName.\n * 4. Run the attribute change steps for element, localName, value, value,\n * and null.\n */\n this._element = element;\n this._attribute = attribute;\n this._tokenSet = new Set();\n var localName = attribute._localName;\n var value = algorithm_1.element_getAnAttributeValue(element, localName);\n // define a closure to be called when the associated attribute's value changes\n var thisObj = this;\n function updateTokenSet(element, localName, oldValue, value, namespace) {\n /**\n * 1. If localName is associated attribute’s local name, namespace is null,\n * and value is null, then empty token set.\n * 2. Otherwise, if localName is associated attribute’s local name,\n * namespace is null, then set token set to value, parsed.\n */\n if (localName === thisObj._attribute._localName && namespace === null) {\n if (!value)\n thisObj._tokenSet.clear();\n else\n thisObj._tokenSet = algorithm_1.orderedSet_parse(value);\n }\n }\n // add the closure to the associated element's attribute change steps\n this._element._attributeChangeSteps.push(updateTokenSet);\n if (DOMImpl_1.dom.features.steps) {\n algorithm_1.dom_runAttributeChangeSteps(element, localName, value, value, null);\n }\n }\n Object.defineProperty(DOMTokenListImpl.prototype, \"length\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The length attribute' getter must return context object’s token set’s\n * size.\n */\n return this._tokenSet.size;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n DOMTokenListImpl.prototype.item = function (index) {\n var e_1, _a;\n /**\n * 1. If index is equal to or greater than context object’s token set’s\n * size, then return null.\n * 2. Return context object’s token set[index].\n */\n var i = 0;\n try {\n for (var _b = __values(this._tokenSet), _c = _b.next(); !_c.done; _c = _b.next()) {\n var token = _c.value;\n if (i === index)\n return token;\n i++;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return null;\n };\n /** @inheritdoc */\n DOMTokenListImpl.prototype.contains = function (token) {\n /**\n * The contains(token) method, when invoked, must return true if context\n * object’s token set[token] exists, and false otherwise.\n */\n return this._tokenSet.has(token);\n };\n /** @inheritdoc */\n DOMTokenListImpl.prototype.add = function () {\n var e_2, _a;\n var tokens = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n tokens[_i] = arguments[_i];\n }\n try {\n /**\n * 1. For each token in tokens:\n * 1.1. If token is the empty string, then throw a \"SyntaxError\"\n * DOMException.\n * 1.2. If token contains any ASCII whitespace, then throw an\n * \"InvalidCharacterError\" DOMException.\n * 2. For each token in tokens, append token to context object’s token set.\n * 3. Run the update steps.\n */\n for (var tokens_1 = __values(tokens), tokens_1_1 = tokens_1.next(); !tokens_1_1.done; tokens_1_1 = tokens_1.next()) {\n var token = tokens_1_1.value;\n if (token === '') {\n throw new DOMException_1.SyntaxError(\"Cannot add an empty token.\");\n }\n else if (infra_1.codePoint.ASCIIWhiteSpace.test(token)) {\n throw new DOMException_1.InvalidCharacterError(\"Token cannot contain whitespace.\");\n }\n else {\n this._tokenSet.add(token);\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (tokens_1_1 && !tokens_1_1.done && (_a = tokens_1.return)) _a.call(tokens_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n algorithm_1.tokenList_updateSteps(this);\n };\n /** @inheritdoc */\n DOMTokenListImpl.prototype.remove = function () {\n var e_3, _a;\n var tokens = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n tokens[_i] = arguments[_i];\n }\n try {\n /**\n * 1. For each token in tokens:\n * 1.1. If token is the empty string, then throw a \"SyntaxError\"\n * DOMException.\n * 1.2. If token contains any ASCII whitespace, then throw an\n * \"InvalidCharacterError\" DOMException.\n * 2. For each token in tokens, remove token from context object’s token set.\n * 3. Run the update steps.\n */\n for (var tokens_2 = __values(tokens), tokens_2_1 = tokens_2.next(); !tokens_2_1.done; tokens_2_1 = tokens_2.next()) {\n var token = tokens_2_1.value;\n if (token === '') {\n throw new DOMException_1.SyntaxError(\"Cannot remove an empty token.\");\n }\n else if (infra_1.codePoint.ASCIIWhiteSpace.test(token)) {\n throw new DOMException_1.InvalidCharacterError(\"Token cannot contain whitespace.\");\n }\n else {\n this._tokenSet.delete(token);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (tokens_2_1 && !tokens_2_1.done && (_a = tokens_2.return)) _a.call(tokens_2);\n }\n finally { if (e_3) throw e_3.error; }\n }\n algorithm_1.tokenList_updateSteps(this);\n };\n /** @inheritdoc */\n DOMTokenListImpl.prototype.toggle = function (token, force) {\n if (force === void 0) { force = undefined; }\n /**\n * 1. If token is the empty string, then throw a \"SyntaxError\" DOMException.\n * 2. If token contains any ASCII whitespace, then throw an\n * \"InvalidCharacterError\" DOMException.\n */\n if (token === '') {\n throw new DOMException_1.SyntaxError(\"Cannot toggle an empty token.\");\n }\n else if (infra_1.codePoint.ASCIIWhiteSpace.test(token)) {\n throw new DOMException_1.InvalidCharacterError(\"Token cannot contain whitespace.\");\n }\n /**\n * 3. If context object’s token set[token] exists, then:\n */\n if (this._tokenSet.has(token)) {\n /**\n * 3.1. If force is either not given or is false, then remove token from\n * context object’s token set, run the update steps and return false.\n * 3.2. Return true.\n */\n if (force === undefined || force === false) {\n this._tokenSet.delete(token);\n algorithm_1.tokenList_updateSteps(this);\n return false;\n }\n return true;\n }\n /**\n * 4. Otherwise, if force not given or is true, append token to context\n * object’s token set, run the update steps, and return true.\n */\n if (force === undefined || force === true) {\n this._tokenSet.add(token);\n algorithm_1.tokenList_updateSteps(this);\n return true;\n }\n /**\n * 5. Return false.\n */\n return false;\n };\n /** @inheritdoc */\n DOMTokenListImpl.prototype.replace = function (token, newToken) {\n /**\n * 1. If either token or newToken is the empty string, then throw a\n * \"SyntaxError\" DOMException.\n * 2. If either token or newToken contains any ASCII whitespace, then throw\n * an \"InvalidCharacterError\" DOMException.\n */\n if (token === '' || newToken === '') {\n throw new DOMException_1.SyntaxError(\"Cannot replace an empty token.\");\n }\n else if (infra_1.codePoint.ASCIIWhiteSpace.test(token) || infra_1.codePoint.ASCIIWhiteSpace.test(newToken)) {\n throw new DOMException_1.InvalidCharacterError(\"Token cannot contain whitespace.\");\n }\n /**\n * 3. If context object’s token set does not contain token, then return\n * false.\n */\n if (!this._tokenSet.has(token))\n return false;\n /**\n * 4. Replace token in context object’s token set with newToken.\n * 5. Run the update steps.\n * 6. Return true.\n */\n infra_1.set.replace(this._tokenSet, token, newToken);\n algorithm_1.tokenList_updateSteps(this);\n return true;\n };\n /** @inheritdoc */\n DOMTokenListImpl.prototype.supports = function (token) {\n /**\n * 1. Let result be the return value of validation steps called with token.\n * 2. Return result.\n */\n return algorithm_1.tokenList_validationSteps(this, token);\n };\n Object.defineProperty(DOMTokenListImpl.prototype, \"value\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The value attribute must return the result of running context object’s\n * serialize steps.\n */\n return algorithm_1.tokenList_serializeSteps(this);\n },\n set: function (value) {\n /**\n * Setting the value attribute must set an attribute value for the\n * associated element using associated attribute’s local name and the given\n * value.\n */\n algorithm_1.element_setAnAttributeValue(this._element, this._attribute._localName, value);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns an iterator for the token set.\n */\n DOMTokenListImpl.prototype[Symbol.iterator] = function () {\n var it = this._tokenSet[Symbol.iterator]();\n return {\n next: function () {\n return it.next();\n }\n };\n };\n /**\n * Creates a new `DOMTokenList`.\n *\n * @param element - associated element\n * @param attribute - associated attribute\n */\n DOMTokenListImpl._create = function (element, attribute) {\n return new DOMTokenListImpl(element, attribute);\n };\n return DOMTokenListImpl;\n}());\nexports.DOMTokenListImpl = DOMTokenListImpl;\n//# sourceMappingURL=DOMTokenListImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar NodeImpl_1 = require(\"./NodeImpl\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a document fragment in the XML tree.\n */\nvar DocumentFragmentImpl = /** @class */ (function (_super) {\n __extends(DocumentFragmentImpl, _super);\n /**\n * Initializes a new instance of `DocumentFragment`.\n *\n * @param host - shadow root's host element\n */\n function DocumentFragmentImpl(host) {\n if (host === void 0) { host = null; }\n var _this = _super.call(this) || this;\n _this._children = new Set();\n _this._host = host;\n return _this;\n }\n // MIXIN: NonElementParentNode\n /* istanbul ignore next */\n DocumentFragmentImpl.prototype.getElementById = function (elementId) { throw new Error(\"Mixin: NonElementParentNode not implemented.\"); };\n Object.defineProperty(DocumentFragmentImpl.prototype, \"children\", {\n // MIXIN: ParentNode\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentFragmentImpl.prototype, \"firstElementChild\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentFragmentImpl.prototype, \"lastElementChild\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentFragmentImpl.prototype, \"childElementCount\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n /* istanbul ignore next */\n DocumentFragmentImpl.prototype.prepend = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ParentNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentFragmentImpl.prototype.append = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ParentNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentFragmentImpl.prototype.querySelector = function (selectors) { throw new Error(\"Mixin: ParentNode not implemented.\"); };\n /* istanbul ignore next */\n DocumentFragmentImpl.prototype.querySelectorAll = function (selectors) { throw new Error(\"Mixin: ParentNode not implemented.\"); };\n /**\n * Creates a new `DocumentFragment`.\n *\n * @param document - owner document\n * @param host - shadow root's host element\n */\n DocumentFragmentImpl._create = function (document, host) {\n if (host === void 0) { host = null; }\n var node = new DocumentFragmentImpl(host);\n node._nodeDocument = document;\n return node;\n };\n return DocumentFragmentImpl;\n}(NodeImpl_1.NodeImpl));\nexports.DocumentFragmentImpl = DocumentFragmentImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(DocumentFragmentImpl.prototype, \"_nodeType\", interfaces_1.NodeType.DocumentFragment);\n//# sourceMappingURL=DocumentFragmentImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar interfaces_1 = require(\"./interfaces\");\nvar DOMException_1 = require(\"./DOMException\");\nvar NodeImpl_1 = require(\"./NodeImpl\");\nvar util_1 = require(\"../util\");\nvar util_2 = require(\"@oozcitak/util\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar URLAlgorithm_1 = require(\"@oozcitak/url/lib/URLAlgorithm\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a document node.\n */\nvar DocumentImpl = /** @class */ (function (_super) {\n __extends(DocumentImpl, _super);\n /**\n * Initializes a new instance of `Document`.\n */\n function DocumentImpl() {\n var _this = _super.call(this) || this;\n _this._children = new Set();\n _this._encoding = {\n name: \"UTF-8\",\n labels: [\"unicode-1-1-utf-8\", \"utf-8\", \"utf8\"]\n };\n _this._contentType = 'application/xml';\n _this._URL = {\n scheme: \"about\",\n username: \"\",\n password: \"\",\n host: null,\n port: null,\n path: [\"blank\"],\n query: null,\n fragment: null,\n _cannotBeABaseURLFlag: true,\n _blobURLEntry: null\n };\n _this._origin = null;\n _this._type = \"xml\";\n _this._mode = \"no-quirks\";\n _this._documentElement = null;\n _this._hasNamespaces = false;\n _this._nodeDocumentOverwrite = null;\n return _this;\n }\n Object.defineProperty(DocumentImpl.prototype, \"_nodeDocument\", {\n get: function () { return this._nodeDocumentOverwrite || this; },\n set: function (val) { this._nodeDocumentOverwrite = val; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"implementation\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The implementation attribute’s getter must return the DOMImplementation\n * object that is associated with the document.\n */\n return this._implementation || (this._implementation = algorithm_1.create_domImplementation(this));\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"URL\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The URL attribute’s getter and documentURI attribute’s getter must return\n * the URL, serialized.\n * See: https://url.spec.whatwg.org/#concept-url-serializer\n */\n return URLAlgorithm_1.urlSerializer(this._URL);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"documentURI\", {\n /** @inheritdoc */\n get: function () { return this.URL; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"origin\", {\n /** @inheritdoc */\n get: function () {\n return \"null\";\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"compatMode\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The compatMode attribute’s getter must return \"BackCompat\" if context\n * object’s mode is \"quirks\", and \"CSS1Compat\" otherwise.\n */\n return this._mode === \"quirks\" ? \"BackCompat\" : \"CSS1Compat\";\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"characterSet\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The characterSet attribute’s getter, charset attribute’s getter, and\n * inputEncoding attribute’s getter, must return context object’s\n * encoding’s name.\n */\n return this._encoding.name;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"charset\", {\n /** @inheritdoc */\n get: function () { return this._encoding.name; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"inputEncoding\", {\n /** @inheritdoc */\n get: function () { return this._encoding.name; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"contentType\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The contentType attribute’s getter must return the content type.\n */\n return this._contentType;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"doctype\", {\n /** @inheritdoc */\n get: function () {\n var e_1, _a;\n try {\n /**\n * The doctype attribute’s getter must return the child of the document\n * that is a doctype, and null otherwise.\n */\n for (var _b = __values(this._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var child = _c.value;\n if (util_1.Guard.isDocumentTypeNode(child))\n return child;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"documentElement\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The documentElement attribute’s getter must return the document element.\n */\n return this._documentElement;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n DocumentImpl.prototype.getElementsByTagName = function (qualifiedName) {\n /**\n * The getElementsByTagName(qualifiedName) method, when invoked, must return\n * the list of elements with qualified name qualifiedName for the context object.\n */\n return algorithm_1.node_listOfElementsWithQualifiedName(qualifiedName, this);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.getElementsByTagNameNS = function (namespace, localName) {\n /**\n * The getElementsByTagNameNS(namespace, localName) method, when invoked,\n * must return the list of elements with namespace namespace and local name\n * localName for the context object.\n */\n return algorithm_1.node_listOfElementsWithNamespace(namespace, localName, this);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.getElementsByClassName = function (classNames) {\n /**\n * The getElementsByClassName(classNames) method, when invoked, must return\n * the list of elements with class names classNames for the context object.\n */\n return algorithm_1.node_listOfElementsWithClassNames(classNames, this);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createElement = function (localName, options) {\n /**\n * 1. If localName does not match the Name production, then throw an\n * \"InvalidCharacterError\" DOMException.\n * 2. If the context object is an HTML document, then set localName to\n * localName in ASCII lowercase.\n * 3. Let is be null.\n * 4. If options is a dictionary and options’s is is present, then set is\n * to it.\n * 5. Let namespace be the HTML namespace, if the context object is an\n * HTML document or context object’s content type is\n * \"application/xhtml+xml\", and null otherwise.\n * 6. Return the result of creating an element given the context object,\n * localName, namespace, null, is, and with the synchronous custom elements\n * flag set.\n */\n if (!algorithm_1.xml_isName(localName))\n throw new DOMException_1.InvalidCharacterError();\n if (this._type === \"html\")\n localName = localName.toLowerCase();\n var is = null;\n if (options !== undefined) {\n if (util_2.isString(options)) {\n is = options;\n }\n else {\n is = options.is;\n }\n }\n var namespace = (this._type === \"html\" || this._contentType === \"application/xhtml+xml\") ?\n infra_1.namespace.HTML : null;\n return algorithm_1.element_createAnElement(this, localName, namespace, null, is, true);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createElementNS = function (namespace, qualifiedName, options) {\n /**\n * The createElementNS(namespace, qualifiedName, options) method, when\n * invoked, must return the result of running the internal createElementNS\n * steps, given context object, namespace, qualifiedName, and options.\n */\n return algorithm_1.document_internalCreateElementNS(this, namespace, qualifiedName, options);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createDocumentFragment = function () {\n /**\n * The createDocumentFragment() method, when invoked, must return a new\n * DocumentFragment node with its node document set to the context object.\n */\n return algorithm_1.create_documentFragment(this);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createTextNode = function (data) {\n /**\n * The createTextNode(data) method, when invoked, must return a new Text\n * node with its data set to data and node document set to the context object.\n */\n return algorithm_1.create_text(this, data);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createCDATASection = function (data) {\n /**\n * 1. If context object is an HTML document, then throw a\n * \"NotSupportedError\" DOMException.\n * 2. If data contains the string \"]]>\", then throw an\n * \"InvalidCharacterError\" DOMException.\n * 3. Return a new CDATASection node with its data set to data and node\n * document set to the context object.\n */\n if (this._type === \"html\")\n throw new DOMException_1.NotSupportedError();\n if (data.indexOf(']]>') !== -1)\n throw new DOMException_1.InvalidCharacterError();\n return algorithm_1.create_cdataSection(this, data);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createComment = function (data) {\n /**\n * The createComment(data) method, when invoked, must return a new Comment\n * node with its data set to data and node document set to the context object.\n */\n return algorithm_1.create_comment(this, data);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createProcessingInstruction = function (target, data) {\n /**\n * 1. If target does not match the Name production, then throw an\n * \"InvalidCharacterError\" DOMException.\n * 2. If data contains the string \"?>\", then throw an\n * \"InvalidCharacterError\" DOMException.\n * 3. Return a new ProcessingInstruction node, with target set to target,\n * data set to data, and node document set to the context object.\n */\n if (!algorithm_1.xml_isName(target))\n throw new DOMException_1.InvalidCharacterError();\n if (data.indexOf(\"?>\") !== -1)\n throw new DOMException_1.InvalidCharacterError();\n return algorithm_1.create_processingInstruction(this, target, data);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.importNode = function (node, deep) {\n if (deep === void 0) { deep = false; }\n /**\n * 1. If node is a document or shadow root, then throw a \"NotSupportedError\" DOMException.\n */\n if (util_1.Guard.isDocumentNode(node) || util_1.Guard.isShadowRoot(node))\n throw new DOMException_1.NotSupportedError();\n /**\n * 2. Return a clone of node, with context object and the clone children flag set if deep is true.\n */\n return algorithm_1.node_clone(node, this, deep);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.adoptNode = function (node) {\n /**\n * 1. If node is a document, then throw a \"NotSupportedError\" DOMException.\n */\n if (util_1.Guard.isDocumentNode(node))\n throw new DOMException_1.NotSupportedError();\n /**\n * 2. If node is a shadow root, then throw a \"HierarchyRequestError\" DOMException.\n */\n if (util_1.Guard.isShadowRoot(node))\n throw new DOMException_1.HierarchyRequestError();\n /**\n * 3. Adopt node into the context object.\n * 4. Return node.\n */\n algorithm_1.document_adopt(node, this);\n return node;\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createAttribute = function (localName) {\n /**\n * 1. If localName does not match the Name production in XML, then throw\n * an \"InvalidCharacterError\" DOMException.\n * 2. If the context object is an HTML document, then set localName to\n * localName in ASCII lowercase.\n * 3. Return a new attribute whose local name is localName and node document\n * is context object.\n */\n if (!algorithm_1.xml_isName(localName))\n throw new DOMException_1.InvalidCharacterError();\n if (this._type === \"html\") {\n localName = localName.toLowerCase();\n }\n var attr = algorithm_1.create_attr(this, localName);\n return attr;\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createAttributeNS = function (namespace, qualifiedName) {\n /**\n * 1. Let namespace, prefix, and localName be the result of passing\n * namespace and qualifiedName to validate and extract.\n * 2. Return a new attribute whose namespace is namespace, namespace prefix\n * is prefix, local name is localName, and node document is context object.\n */\n var _a = __read(algorithm_1.namespace_validateAndExtract(namespace, qualifiedName), 3), ns = _a[0], prefix = _a[1], localName = _a[2];\n var attr = algorithm_1.create_attr(this, localName);\n attr._namespace = ns;\n attr._namespacePrefix = prefix;\n return attr;\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createEvent = function (eventInterface) {\n return algorithm_1.event_createLegacyEvent(eventInterface);\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createRange = function () {\n /**\n * The createRange() method, when invoked, must return a new live range\n * with (context object, 0) as its start and end.\n */\n var range = algorithm_1.create_range();\n range._start = [this, 0];\n range._end = [this, 0];\n return range;\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createNodeIterator = function (root, whatToShow, filter) {\n if (whatToShow === void 0) { whatToShow = interfaces_1.WhatToShow.All; }\n if (filter === void 0) { filter = null; }\n /**\n * 1. Let iterator be a new NodeIterator object.\n * 2. Set iterator’s root and iterator’s reference to root.\n * 3. Set iterator’s pointer before reference to true.\n * 4. Set iterator’s whatToShow to whatToShow.\n * 5. Set iterator’s filter to filter.\n * 6. Return iterator.\n */\n var iterator = algorithm_1.create_nodeIterator(root, root, true);\n iterator._whatToShow = whatToShow;\n iterator._iteratorCollection = algorithm_1.create_nodeList(root);\n if (util_2.isFunction(filter)) {\n iterator._filter = algorithm_1.create_nodeFilter();\n iterator._filter.acceptNode = filter;\n }\n else {\n iterator._filter = filter;\n }\n return iterator;\n };\n /** @inheritdoc */\n DocumentImpl.prototype.createTreeWalker = function (root, whatToShow, filter) {\n if (whatToShow === void 0) { whatToShow = interfaces_1.WhatToShow.All; }\n if (filter === void 0) { filter = null; }\n /**\n * 1. Let walker be a new TreeWalker object.\n * 2. Set walker’s root and walker’s current to root.\n * 3. Set walker’s whatToShow to whatToShow.\n * 4. Set walker’s filter to filter.\n * 5. Return walker.\n */\n var walker = algorithm_1.create_treeWalker(root, root);\n walker._whatToShow = whatToShow;\n if (util_2.isFunction(filter)) {\n walker._filter = algorithm_1.create_nodeFilter();\n walker._filter.acceptNode = filter;\n }\n else {\n walker._filter = filter;\n }\n return walker;\n };\n /**\n * Gets the parent event target for the given event.\n *\n * @param event - an event\n */\n DocumentImpl.prototype._getTheParent = function (event) {\n /**\n * TODO: Implement realms\n * A document’s get the parent algorithm, given an event, returns null if\n * event’s type attribute value is \"load\" or document does not have a\n * browsing context, and the document’s relevant global object otherwise.\n */\n if (event._type === \"load\") {\n return null;\n }\n else {\n return DOMImpl_1.dom.window;\n }\n };\n // MIXIN: NonElementParentNode\n /* istanbul ignore next */\n DocumentImpl.prototype.getElementById = function (elementId) { throw new Error(\"Mixin: NonElementParentNode not implemented.\"); };\n Object.defineProperty(DocumentImpl.prototype, \"children\", {\n // MIXIN: DocumentOrShadowRoot\n // No elements\n // MIXIN: ParentNode\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"firstElementChild\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"lastElementChild\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentImpl.prototype, \"childElementCount\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n /* istanbul ignore next */\n DocumentImpl.prototype.prepend = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ParentNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentImpl.prototype.append = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ParentNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentImpl.prototype.querySelector = function (selectors) { throw new Error(\"Mixin: ParentNode not implemented.\"); };\n /* istanbul ignore next */\n DocumentImpl.prototype.querySelectorAll = function (selectors) { throw new Error(\"Mixin: ParentNode not implemented.\"); };\n return DocumentImpl;\n}(NodeImpl_1.NodeImpl));\nexports.DocumentImpl = DocumentImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(DocumentImpl.prototype, \"_nodeType\", interfaces_1.NodeType.Document);\n//# sourceMappingURL=DocumentImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a mixin for an interface to be used to share APIs between\n * documents and shadow roots. This mixin is implemented by\n * {@link Document} and {@link ShadowRoot}.\n *\n * _Note:_ The DocumentOrShadowRoot mixin is expected to be used by other\n * standards that want to define APIs shared between documents and shadow roots.\n */\nvar DocumentOrShadowRootImpl = /** @class */ (function () {\n function DocumentOrShadowRootImpl() {\n }\n return DocumentOrShadowRootImpl;\n}());\nexports.DocumentOrShadowRootImpl = DocumentOrShadowRootImpl;\n//# sourceMappingURL=DocumentOrShadowRootImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar NodeImpl_1 = require(\"./NodeImpl\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents an object providing methods which are not dependent on\n * any particular document\n */\nvar DocumentTypeImpl = /** @class */ (function (_super) {\n __extends(DocumentTypeImpl, _super);\n /**\n * Initializes a new instance of `DocumentType`.\n *\n * @param name - name of the node\n * @param publicId - `PUBLIC` identifier\n * @param systemId - `SYSTEM` identifier\n */\n function DocumentTypeImpl(name, publicId, systemId) {\n var _this = _super.call(this) || this;\n _this._name = '';\n _this._publicId = '';\n _this._systemId = '';\n _this._name = name;\n _this._publicId = publicId;\n _this._systemId = systemId;\n return _this;\n }\n Object.defineProperty(DocumentTypeImpl.prototype, \"name\", {\n /** @inheritdoc */\n get: function () { return this._name; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentTypeImpl.prototype, \"publicId\", {\n /** @inheritdoc */\n get: function () { return this._publicId; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DocumentTypeImpl.prototype, \"systemId\", {\n /** @inheritdoc */\n get: function () { return this._systemId; },\n enumerable: true,\n configurable: true\n });\n // MIXIN: ChildNode\n /* istanbul ignore next */\n DocumentTypeImpl.prototype.before = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentTypeImpl.prototype.after = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentTypeImpl.prototype.replaceWith = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n DocumentTypeImpl.prototype.remove = function () { throw new Error(\"Mixin: ChildNode not implemented.\"); };\n /**\n * Creates a new `DocumentType`.\n *\n * @param document - owner document\n * @param name - name of the node\n * @param publicId - `PUBLIC` identifier\n * @param systemId - `SYSTEM` identifier\n */\n DocumentTypeImpl._create = function (document, name, publicId, systemId) {\n if (publicId === void 0) { publicId = ''; }\n if (systemId === void 0) { systemId = ''; }\n var node = new DocumentTypeImpl(name, publicId, systemId);\n node._nodeDocument = document;\n return node;\n };\n return DocumentTypeImpl;\n}(NodeImpl_1.NodeImpl));\nexports.DocumentTypeImpl = DocumentTypeImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(DocumentTypeImpl.prototype, \"_nodeType\", interfaces_1.NodeType.DocumentType);\n//# sourceMappingURL=DocumentTypeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar NodeImpl_1 = require(\"./NodeImpl\");\nvar DOMException_1 = require(\"./DOMException\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents an element node.\n */\nvar ElementImpl = /** @class */ (function (_super) {\n __extends(ElementImpl, _super);\n /**\n * Initializes a new instance of `Element`.\n */\n function ElementImpl() {\n var _this = _super.call(this) || this;\n _this._children = new Set();\n _this._namespace = null;\n _this._namespacePrefix = null;\n _this._localName = \"\";\n _this._customElementState = \"undefined\";\n _this._customElementDefinition = null;\n _this._is = null;\n _this._shadowRoot = null;\n _this._attributeList = algorithm_1.create_namedNodeMap(_this);\n _this._attributeChangeSteps = [];\n _this._name = '';\n _this._assignedSlot = null;\n return _this;\n }\n Object.defineProperty(ElementImpl.prototype, \"namespaceURI\", {\n /** @inheritdoc */\n get: function () { return this._namespace; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"prefix\", {\n /** @inheritdoc */\n get: function () { return this._namespacePrefix; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"localName\", {\n /** @inheritdoc */\n get: function () { return this._localName; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"tagName\", {\n /** @inheritdoc */\n get: function () { return this._htmlUppercasedQualifiedName; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"id\", {\n /** @inheritdoc */\n get: function () {\n return algorithm_1.element_getAnAttributeValue(this, \"id\");\n },\n set: function (value) {\n algorithm_1.element_setAnAttributeValue(this, \"id\", value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"className\", {\n /** @inheritdoc */\n get: function () {\n return algorithm_1.element_getAnAttributeValue(this, \"class\");\n },\n set: function (value) {\n algorithm_1.element_setAnAttributeValue(this, \"class\", value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"classList\", {\n /** @inheritdoc */\n get: function () {\n var attr = algorithm_1.element_getAnAttributeByName(\"class\", this);\n if (attr === null) {\n attr = algorithm_1.create_attr(this._nodeDocument, \"class\");\n }\n return algorithm_1.create_domTokenList(this, attr);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"slot\", {\n /** @inheritdoc */\n get: function () {\n return algorithm_1.element_getAnAttributeValue(this, \"slot\");\n },\n set: function (value) {\n algorithm_1.element_setAnAttributeValue(this, \"slot\", value);\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n ElementImpl.prototype.hasAttributes = function () {\n return this._attributeList.length !== 0;\n };\n Object.defineProperty(ElementImpl.prototype, \"attributes\", {\n /** @inheritdoc */\n get: function () { return this._attributeList; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n ElementImpl.prototype.getAttributeNames = function () {\n var e_1, _a;\n /**\n * The getAttributeNames() method, when invoked, must return the qualified\n * names of the attributes in context object’s attribute list, in order,\n * and a new list otherwise.\n */\n var names = [];\n try {\n for (var _b = __values(this._attributeList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n names.push(attr._qualifiedName);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return names;\n };\n /** @inheritdoc */\n ElementImpl.prototype.getAttribute = function (qualifiedName) {\n /**\n * 1. Let attr be the result of getting an attribute given qualifiedName\n * and the context object.\n * 2. If attr is null, return null.\n * 3. Return attr’s value.\n */\n var attr = algorithm_1.element_getAnAttributeByName(qualifiedName, this);\n return (attr ? attr._value : null);\n };\n /** @inheritdoc */\n ElementImpl.prototype.getAttributeNS = function (namespace, localName) {\n /**\n * 1. Let attr be the result of getting an attribute given namespace,\n * localName, and the context object.\n * 2. If attr is null, return null.\n * 3. Return attr’s value.\n */\n var attr = algorithm_1.element_getAnAttributeByNamespaceAndLocalName(namespace, localName, this);\n return (attr ? attr._value : null);\n };\n /** @inheritdoc */\n ElementImpl.prototype.setAttribute = function (qualifiedName, value) {\n /**\n * 1. If qualifiedName does not match the Name production in XML, then\n * throw an \"InvalidCharacterError\" DOMException.\n */\n if (!algorithm_1.xml_isName(qualifiedName))\n throw new DOMException_1.InvalidCharacterError();\n /**\n * 2. If the context object is in the HTML namespace and its node document\n * is an HTML document, then set qualifiedName to qualifiedName in ASCII\n * lowercase.\n */\n if (this._namespace === infra_1.namespace.HTML && this._nodeDocument._type === \"html\") {\n qualifiedName = qualifiedName.toLowerCase();\n }\n /**\n * 3. Let attribute be the first attribute in context object’s attribute\n * list whose qualified name is qualifiedName, and null otherwise.\n */\n var attribute = null;\n for (var i = 0; i < this._attributeList.length; i++) {\n var attr = this._attributeList[i];\n if (attr._qualifiedName === qualifiedName) {\n attribute = attr;\n break;\n }\n }\n /**\n * 4. If attribute is null, create an attribute whose local name is\n * qualifiedName, value is value, and node document is context object’s\n * node document, then append this attribute to context object, and\n * then return.\n */\n if (attribute === null) {\n attribute = algorithm_1.create_attr(this._nodeDocument, qualifiedName);\n attribute._value = value;\n algorithm_1.element_append(attribute, this);\n return;\n }\n /**\n * 5. Change attribute from context object to value.\n */\n algorithm_1.element_change(attribute, this, value);\n };\n /** @inheritdoc */\n ElementImpl.prototype.setAttributeNS = function (namespace, qualifiedName, value) {\n /**\n * 1. Let namespace, prefix, and localName be the result of passing\n * namespace and qualifiedName to validate and extract.\n * 2. Set an attribute value for the context object using localName, value,\n * and also prefix and namespace.\n */\n var _a = __read(algorithm_1.namespace_validateAndExtract(namespace, qualifiedName), 3), ns = _a[0], prefix = _a[1], localName = _a[2];\n algorithm_1.element_setAnAttributeValue(this, localName, value, prefix, ns);\n };\n /** @inheritdoc */\n ElementImpl.prototype.removeAttribute = function (qualifiedName) {\n /**\n * The removeAttribute(qualifiedName) method, when invoked, must remove an\n * attribute given qualifiedName and the context object, and then return\n * undefined.\n */\n algorithm_1.element_removeAnAttributeByName(qualifiedName, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.removeAttributeNS = function (namespace, localName) {\n /**\n * The removeAttributeNS(namespace, localName) method, when invoked, must\n * remove an attribute given namespace, localName, and context object, and\n * then return undefined.\n */\n algorithm_1.element_removeAnAttributeByNamespaceAndLocalName(namespace, localName, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.hasAttribute = function (qualifiedName) {\n /**\n * 1. If the context object is in the HTML namespace and its node document\n * is an HTML document, then set qualifiedName to qualifiedName in ASCII\n * lowercase.\n * 2. Return true if the context object has an attribute whose qualified\n * name is qualifiedName, and false otherwise.\n */\n if (this._namespace === infra_1.namespace.HTML && this._nodeDocument._type === \"html\") {\n qualifiedName = qualifiedName.toLowerCase();\n }\n for (var i = 0; i < this._attributeList.length; i++) {\n var attr = this._attributeList[i];\n if (attr._qualifiedName === qualifiedName) {\n return true;\n }\n }\n return false;\n };\n /** @inheritdoc */\n ElementImpl.prototype.toggleAttribute = function (qualifiedName, force) {\n /**\n * 1. If qualifiedName does not match the Name production in XML, then\n * throw an \"InvalidCharacterError\" DOMException.\n */\n if (!algorithm_1.xml_isName(qualifiedName))\n throw new DOMException_1.InvalidCharacterError();\n /**\n * 2. If the context object is in the HTML namespace and its node document\n * is an HTML document, then set qualifiedName to qualifiedName in ASCII\n * lowercase.\n */\n if (this._namespace === infra_1.namespace.HTML && this._nodeDocument._type === \"html\") {\n qualifiedName = qualifiedName.toLowerCase();\n }\n /**\n * 3. Let attribute be the first attribute in the context object’s attribute\n * list whose qualified name is qualifiedName, and null otherwise.\n */\n var attribute = null;\n for (var i = 0; i < this._attributeList.length; i++) {\n var attr = this._attributeList[i];\n if (attr._qualifiedName === qualifiedName) {\n attribute = attr;\n break;\n }\n }\n if (attribute === null) {\n /**\n * 4. If attribute is null, then:\n * 4.1. If force is not given or is true, create an attribute whose local\n * name is qualifiedName, value is the empty string, and node document is\n * the context object’s node document, then append this attribute to the\n * context object, and then return true.\n * 4.2. Return false.\n */\n if (force === undefined || force === true) {\n attribute = algorithm_1.create_attr(this._nodeDocument, qualifiedName);\n attribute._value = '';\n algorithm_1.element_append(attribute, this);\n return true;\n }\n return false;\n }\n else if (force === undefined || force === false) {\n /**\n * 5. Otherwise, if force is not given or is false, remove an attribute\n * given qualifiedName and the context object, and then return false.\n */\n algorithm_1.element_removeAnAttributeByName(qualifiedName, this);\n return false;\n }\n /**\n * 6. Return true.\n */\n return true;\n };\n /** @inheritdoc */\n ElementImpl.prototype.hasAttributeNS = function (namespace, localName) {\n /**\n * 1. If namespace is the empty string, set it to null.\n * 2. Return true if the context object has an attribute whose namespace is\n * namespace and local name is localName, and false otherwise.\n */\n var ns = namespace || null;\n for (var i = 0; i < this._attributeList.length; i++) {\n var attr = this._attributeList[i];\n if (attr._namespace === ns && attr._localName === localName) {\n return true;\n }\n }\n return false;\n };\n /** @inheritdoc */\n ElementImpl.prototype.getAttributeNode = function (qualifiedName) {\n /**\n * The getAttributeNode(qualifiedName) method, when invoked, must return the\n * result of getting an attribute given qualifiedName and context object.\n */\n return algorithm_1.element_getAnAttributeByName(qualifiedName, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.getAttributeNodeNS = function (namespace, localName) {\n /**\n * The getAttributeNodeNS(namespace, localName) method, when invoked, must\n * return the result of getting an attribute given namespace, localName, and\n * the context object.\n */\n return algorithm_1.element_getAnAttributeByNamespaceAndLocalName(namespace, localName, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.setAttributeNode = function (attr) {\n /**\n * The setAttributeNode(attr) and setAttributeNodeNS(attr) methods, when\n * invoked, must return the result of setting an attribute given attr and\n * the context object.\n */\n return algorithm_1.element_setAnAttribute(attr, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.setAttributeNodeNS = function (attr) {\n return algorithm_1.element_setAnAttribute(attr, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.removeAttributeNode = function (attr) {\n /**\n * 1. If context object’s attribute list does not contain attr, then throw\n * a \"NotFoundError\" DOMException.\n * 2. Remove attr from context object.\n * 3. Return attr.\n */\n var found = false;\n for (var i = 0; i < this._attributeList.length; i++) {\n var attribute = this._attributeList[i];\n if (attribute === attr) {\n found = true;\n break;\n }\n }\n if (!found)\n throw new DOMException_1.NotFoundError();\n algorithm_1.element_remove(attr, this);\n return attr;\n };\n /** @inheritdoc */\n ElementImpl.prototype.attachShadow = function (init) {\n /**\n * 1. If context object’s namespace is not the HTML namespace, then throw a\n * \"NotSupportedError\" DOMException.\n */\n if (this._namespace !== infra_1.namespace.HTML)\n throw new DOMException_1.NotSupportedError();\n /**\n * 2. If context object’s local name is not a valid custom element name,\n * \"article\", \"aside\", \"blockquote\", \"body\", \"div\", \"footer\", \"h1\", \"h2\",\n * \"h3\", \"h4\", \"h5\", \"h6\", \"header\", \"main\" \"nav\", \"p\", \"section\",\n * or \"span\", then throw a \"NotSupportedError\" DOMException.\n */\n if (!algorithm_1.customElement_isValidCustomElementName(this._localName) &&\n !algorithm_1.customElement_isValidShadowHostName(this._localName))\n throw new DOMException_1.NotSupportedError();\n /**\n * 3. If context object’s local name is a valid custom element name,\n * or context object’s is value is not null, then:\n * 3.1. Let definition be the result of looking up a custom element\n * definition given context object’s node document, its namespace, its\n * local name, and its is value.\n * 3.2. If definition is not null and definition’s disable shadow is true,\n * then throw a \"NotSupportedError\" DOMException.\n */\n if (algorithm_1.customElement_isValidCustomElementName(this._localName) || this._is !== null) {\n var definition = algorithm_1.customElement_lookUpACustomElementDefinition(this._nodeDocument, this._namespace, this._localName, this._is);\n if (definition !== null && definition.disableShadow === true) {\n throw new DOMException_1.NotSupportedError();\n }\n }\n /**\n * 4. If context object is a shadow host, then throw an \"NotSupportedError\"\n * DOMException.\n */\n if (this._shadowRoot !== null)\n throw new DOMException_1.NotSupportedError();\n /**\n * 5. Let shadow be a new shadow root whose node document is context\n * object’s node document, host is context object, and mode is init’s mode.\n * 6. Set context object’s shadow root to shadow.\n * 7. Return shadow.\n */\n var shadow = algorithm_1.create_shadowRoot(this._nodeDocument, this);\n shadow._mode = init.mode;\n this._shadowRoot = shadow;\n return shadow;\n };\n Object.defineProperty(ElementImpl.prototype, \"shadowRoot\", {\n /** @inheritdoc */\n get: function () {\n /**\n * 1. Let shadow be context object’s shadow root.\n * 2. If shadow is null or its mode is \"closed\", then return null.\n * 3. Return shadow.\n */\n var shadow = this._shadowRoot;\n if (shadow === null || shadow.mode === \"closed\")\n return null;\n else\n return shadow;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n ElementImpl.prototype.closest = function (selectors) {\n /**\n * TODO: Selectors\n * 1. Let s be the result of parse a selector from selectors. [SELECTORS4]\n * 2. If s is failure, throw a \"SyntaxError\" DOMException.\n * 3. Let elements be context object’s inclusive ancestors that are\n * elements, in reverse tree order.\n * 4. For each element in elements, if match a selector against an element,\n * using s, element, and :scope element context object, returns success,\n * return element. [SELECTORS4]\n * 5. Return null.\n */\n throw new DOMException_1.NotImplementedError();\n };\n /** @inheritdoc */\n ElementImpl.prototype.matches = function (selectors) {\n /**\n * TODO: Selectors\n * 1. Let s be the result of parse a selector from selectors. [SELECTORS4]\n * 2. If s is failure, throw a \"SyntaxError\" DOMException.\n * 3. Return true if the result of match a selector against an element,\n * using s, element, and :scope element context object, returns success,\n * and false otherwise. [SELECTORS4]\n */\n throw new DOMException_1.NotImplementedError();\n };\n /** @inheritdoc */\n ElementImpl.prototype.webkitMatchesSelector = function (selectors) {\n return this.matches(selectors);\n };\n /** @inheritdoc */\n ElementImpl.prototype.getElementsByTagName = function (qualifiedName) {\n /**\n * The getElementsByTagName(qualifiedName) method, when invoked, must return\n * the list of elements with qualified name qualifiedName for context\n * object.\n */\n return algorithm_1.node_listOfElementsWithQualifiedName(qualifiedName, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.getElementsByTagNameNS = function (namespace, localName) {\n /**\n * The getElementsByTagNameNS(namespace, localName) method, when invoked,\n * must return the list of elements with namespace namespace and local name\n * localName for context object.\n */\n return algorithm_1.node_listOfElementsWithNamespace(namespace, localName, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.getElementsByClassName = function (classNames) {\n /**\n * The getElementsByClassName(classNames) method, when invoked, must return\n * the list of elements with class names classNames for context object.\n */\n return algorithm_1.node_listOfElementsWithClassNames(classNames, this);\n };\n /** @inheritdoc */\n ElementImpl.prototype.insertAdjacentElement = function (where, element) {\n /**\n * The insertAdjacentElement(where, element) method, when invoked, must\n * return the result of running insert adjacent, given context object,\n * where, and element.\n */\n return algorithm_1.element_insertAdjacent(this, where, element);\n };\n /** @inheritdoc */\n ElementImpl.prototype.insertAdjacentText = function (where, data) {\n /**\n * 1. Let text be a new Text node whose data is data and node document is\n * context object’s node document.\n * 2. Run insert adjacent, given context object, where, and text.\n */\n var text = algorithm_1.create_text(this._nodeDocument, data);\n algorithm_1.element_insertAdjacent(this, where, text);\n };\n Object.defineProperty(ElementImpl.prototype, \"_qualifiedName\", {\n /**\n * Returns the qualified name.\n */\n get: function () {\n /**\n * An element’s qualified name is its local name if its namespace prefix is\n * null, and its namespace prefix, followed by \":\", followed by its\n * local name, otherwise.\n */\n return (this._namespacePrefix ?\n this._namespacePrefix + ':' + this._localName :\n this._localName);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"_htmlUppercasedQualifiedName\", {\n /**\n * Returns the upper-cased qualified name for a html element.\n */\n get: function () {\n /**\n * 1. Let qualifiedName be context object’s qualified name.\n * 2. If the context object is in the HTML namespace and its node document\n * is an HTML document, then set qualifiedName to qualifiedName in ASCII\n * uppercase.\n * 3. Return qualifiedName.\n */\n var qualifiedName = this._qualifiedName;\n if (this._namespace === infra_1.namespace.HTML && this._nodeDocument._type === \"html\") {\n qualifiedName = qualifiedName.toUpperCase();\n }\n return qualifiedName;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"children\", {\n // MIXIN: ParentNode\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"firstElementChild\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"lastElementChild\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"childElementCount\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: ParentNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n /* istanbul ignore next */\n ElementImpl.prototype.prepend = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ParentNode not implemented.\");\n };\n /* istanbul ignore next */\n ElementImpl.prototype.append = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ParentNode not implemented.\");\n };\n /* istanbul ignore next */\n ElementImpl.prototype.querySelector = function (selectors) { throw new Error(\"Mixin: ParentNode not implemented.\"); };\n /* istanbul ignore next */\n ElementImpl.prototype.querySelectorAll = function (selectors) { throw new Error(\"Mixin: ParentNode not implemented.\"); };\n Object.defineProperty(ElementImpl.prototype, \"previousElementSibling\", {\n // MIXIN: NonDocumentTypeChildNode\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: NonDocumentTypeChildNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ElementImpl.prototype, \"nextElementSibling\", {\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: NonDocumentTypeChildNode not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n // MIXIN: ChildNode\n /* istanbul ignore next */\n ElementImpl.prototype.before = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n ElementImpl.prototype.after = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n ElementImpl.prototype.replaceWith = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n throw new Error(\"Mixin: ChildNode not implemented.\");\n };\n /* istanbul ignore next */\n ElementImpl.prototype.remove = function () { throw new Error(\"Mixin: ChildNode not implemented.\"); };\n Object.defineProperty(ElementImpl.prototype, \"assignedSlot\", {\n // MIXIN: Slotable\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: Slotable not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new `Element`.\n *\n * @param document - owner document\n * @param localName - local name\n * @param namespace - namespace\n * @param prefix - namespace prefix\n */\n ElementImpl._create = function (document, localName, namespace, namespacePrefix) {\n if (namespace === void 0) { namespace = null; }\n if (namespacePrefix === void 0) { namespacePrefix = null; }\n var node = new ElementImpl();\n node._localName = localName;\n node._namespace = namespace;\n node._namespacePrefix = namespacePrefix;\n node._nodeDocument = document;\n return node;\n };\n return ElementImpl;\n}(NodeImpl_1.NodeImpl));\nexports.ElementImpl = ElementImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(ElementImpl.prototype, \"_nodeType\", interfaces_1.NodeType.Element);\n//# sourceMappingURL=ElementImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a DOM event.\n */\nvar EventImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `Event`.\n */\n function EventImpl(type, eventInit) {\n this._target = null;\n this._relatedTarget = null;\n this._touchTargetList = [];\n this._path = [];\n this._currentTarget = null;\n this._eventPhase = interfaces_1.EventPhase.None;\n this._stopPropagationFlag = false;\n this._stopImmediatePropagationFlag = false;\n this._canceledFlag = false;\n this._inPassiveListenerFlag = false;\n this._composedFlag = false;\n this._initializedFlag = false;\n this._dispatchFlag = false;\n this._isTrusted = false;\n this._bubbles = false;\n this._cancelable = false;\n /**\n * When a constructor of the Event interface, or of an interface that\n * inherits from the Event interface, is invoked, these steps must be run,\n * given the arguments type and eventInitDict:\n * 1. Let event be the result of running the inner event creation steps with\n * this interface, null, now, and eventInitDict.\n * 2. Initialize event’s type attribute to type.\n * 3. Return event.\n */\n this._type = type;\n if (eventInit) {\n this._bubbles = eventInit.bubbles || false;\n this._cancelable = eventInit.cancelable || false;\n this._composedFlag = eventInit.composed || false;\n }\n this._initializedFlag = true;\n this._timeStamp = new Date().getTime();\n }\n Object.defineProperty(EventImpl.prototype, \"type\", {\n /** @inheritdoc */\n get: function () { return this._type; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"target\", {\n /** @inheritdoc */\n get: function () { return this._target; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"srcElement\", {\n /** @inheritdoc */\n get: function () { return this._target; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"currentTarget\", {\n /** @inheritdoc */\n get: function () { return this._currentTarget; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n EventImpl.prototype.composedPath = function () {\n /**\n * 1. Let composedPath be an empty list.\n * 2. Let path be the context object’s path.\n * 3. If path is empty, then return composedPath.\n * 4. Let currentTarget be the context object’s currentTarget attribute\n * value.\n * 5. Append currentTarget to composedPath.\n * 6. Let currentTargetIndex be 0.\n * 7. Let currentTargetHiddenSubtreeLevel be 0.\n */\n var composedPath = [];\n var path = this._path;\n if (path.length === 0)\n return composedPath;\n var currentTarget = this._currentTarget;\n if (currentTarget === null) {\n throw new Error(\"Event currentTarget is null.\");\n }\n composedPath.push(currentTarget);\n var currentTargetIndex = 0;\n var currentTargetHiddenSubtreeLevel = 0;\n /**\n * 8. Let index be path’s size − 1.\n * 9. While index is greater than or equal to 0:\n */\n var index = path.length - 1;\n while (index >= 0) {\n /**\n * 9.1. If path[index]'s root-of-closed-tree is true, then increase\n * currentTargetHiddenSubtreeLevel by 1.\n * 9.2. If path[index]'s invocation target is currentTarget, then set\n * currentTargetIndex to index and break.\n * 9.3. If path[index]'s slot-in-closed-tree is true, then decrease\n * currentTargetHiddenSubtreeLevel by 1.\n * 9.4. Decrease index by 1.\n */\n if (path[index].rootOfClosedTree) {\n currentTargetHiddenSubtreeLevel++;\n }\n if (path[index].invocationTarget === currentTarget) {\n currentTargetIndex = index;\n break;\n }\n if (path[index].slotInClosedTree) {\n currentTargetHiddenSubtreeLevel--;\n }\n index--;\n }\n /**\n * 10. Let currentHiddenLevel and maxHiddenLevel be\n * currentTargetHiddenSubtreeLevel.\n */\n var currentHiddenLevel = currentTargetHiddenSubtreeLevel;\n var maxHiddenLevel = currentTargetHiddenSubtreeLevel;\n /**\n * 11. Set index to currentTargetIndex − 1.\n * 12. While index is greater than or equal to 0:\n */\n index = currentTargetIndex - 1;\n while (index >= 0) {\n /**\n * 12.1. If path[index]'s root-of-closed-tree is true, then increase\n * currentHiddenLevel by 1.\n * 12.2. If currentHiddenLevel is less than or equal to maxHiddenLevel,\n * then prepend path[index]'s invocation target to composedPath.\n */\n if (path[index].rootOfClosedTree) {\n currentHiddenLevel++;\n }\n if (currentHiddenLevel <= maxHiddenLevel) {\n composedPath.unshift(path[index].invocationTarget);\n }\n /**\n * 12.3. If path[index]'s slot-in-closed-tree is true, then:\n */\n if (path[index].slotInClosedTree) {\n /**\n * 12.3.1. Decrease currentHiddenLevel by 1.\n * 12.3.2. If currentHiddenLevel is less than maxHiddenLevel, then set\n * maxHiddenLevel to currentHiddenLevel.\n */\n currentHiddenLevel--;\n if (currentHiddenLevel < maxHiddenLevel) {\n maxHiddenLevel = currentHiddenLevel;\n }\n }\n /**\n * 12.4. Decrease index by 1.\n */\n index--;\n }\n /**\n * 13. Set currentHiddenLevel and maxHiddenLevel to\n * currentTargetHiddenSubtreeLevel.\n */\n currentHiddenLevel = currentTargetHiddenSubtreeLevel;\n maxHiddenLevel = currentTargetHiddenSubtreeLevel;\n /**\n * 14. Set index to currentTargetIndex + 1.\n * 15. While index is less than path’s size:\n */\n index = currentTargetIndex + 1;\n while (index < path.length) {\n /**\n * 15.1. If path[index]'s slot-in-closed-tree is true, then increase\n * currentHiddenLevel by 1.\n * 15.2. If currentHiddenLevel is less than or equal to maxHiddenLevel,\n * then append path[index]'s invocation target to composedPath.\n */\n if (path[index].slotInClosedTree) {\n currentHiddenLevel++;\n }\n if (currentHiddenLevel <= maxHiddenLevel) {\n composedPath.push(path[index].invocationTarget);\n }\n /**\n * 15.3. If path[index]'s root-of-closed-tree is true, then:\n */\n if (path[index].rootOfClosedTree) {\n /**\n * 15.3.1. Decrease currentHiddenLevel by 1.\n * 15.3.2. If currentHiddenLevel is less than maxHiddenLevel, then set\n * maxHiddenLevel to currentHiddenLevel.\n */\n currentHiddenLevel--;\n if (currentHiddenLevel < maxHiddenLevel) {\n maxHiddenLevel = currentHiddenLevel;\n }\n }\n /**\n * 15.4. Increase index by 1.\n */\n index++;\n }\n /**\n * 16. Return composedPath.\n */\n return composedPath;\n };\n Object.defineProperty(EventImpl.prototype, \"eventPhase\", {\n /** @inheritdoc */\n get: function () { return this._eventPhase; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n EventImpl.prototype.stopPropagation = function () { this._stopPropagationFlag = true; };\n Object.defineProperty(EventImpl.prototype, \"cancelBubble\", {\n /** @inheritdoc */\n get: function () { return this._stopPropagationFlag; },\n set: function (value) { if (value)\n this.stopPropagation(); },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n EventImpl.prototype.stopImmediatePropagation = function () {\n this._stopPropagationFlag = true;\n this._stopImmediatePropagationFlag = true;\n };\n Object.defineProperty(EventImpl.prototype, \"bubbles\", {\n /** @inheritdoc */\n get: function () { return this._bubbles; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"cancelable\", {\n /** @inheritdoc */\n get: function () { return this._cancelable; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"returnValue\", {\n /** @inheritdoc */\n get: function () { return !this._canceledFlag; },\n set: function (value) {\n if (!value) {\n algorithm_1.event_setTheCanceledFlag(this);\n }\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n EventImpl.prototype.preventDefault = function () {\n algorithm_1.event_setTheCanceledFlag(this);\n };\n Object.defineProperty(EventImpl.prototype, \"defaultPrevented\", {\n /** @inheritdoc */\n get: function () { return this._canceledFlag; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"composed\", {\n /** @inheritdoc */\n get: function () { return this._composedFlag; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"isTrusted\", {\n /** @inheritdoc */\n get: function () { return this._isTrusted; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventImpl.prototype, \"timeStamp\", {\n /** @inheritdoc */\n get: function () { return this._timeStamp; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n EventImpl.prototype.initEvent = function (type, bubbles, cancelable) {\n if (bubbles === void 0) { bubbles = false; }\n if (cancelable === void 0) { cancelable = false; }\n /**\n * 1. If the context object’s dispatch flag is set, then return.\n */\n if (this._dispatchFlag)\n return;\n /**\n * 2. Initialize the context object with type, bubbles, and cancelable.\n */\n algorithm_1.event_initialize(this, type, bubbles, cancelable);\n };\n EventImpl.NONE = 0;\n EventImpl.CAPTURING_PHASE = 1;\n EventImpl.AT_TARGET = 2;\n EventImpl.BUBBLING_PHASE = 3;\n return EventImpl;\n}());\nexports.EventImpl = EventImpl;\n/**\n * Define constants on prototype.\n */\nWebIDLAlgorithm_1.idl_defineConst(EventImpl.prototype, \"NONE\", 0);\nWebIDLAlgorithm_1.idl_defineConst(EventImpl.prototype, \"CAPTURING_PHASE\", 1);\nWebIDLAlgorithm_1.idl_defineConst(EventImpl.prototype, \"AT_TARGET\", 2);\nWebIDLAlgorithm_1.idl_defineConst(EventImpl.prototype, \"BUBBLING_PHASE\", 3);\n//# sourceMappingURL=EventImpl.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMException_1 = require(\"./DOMException\");\nvar util_1 = require(\"../util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a target to which an event can be dispatched.\n */\nvar EventTargetImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `EventTarget`.\n */\n function EventTargetImpl() {\n }\n Object.defineProperty(EventTargetImpl.prototype, \"_eventListenerList\", {\n get: function () {\n return this.__eventListenerList || (this.__eventListenerList = []);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EventTargetImpl.prototype, \"_eventHandlerMap\", {\n get: function () {\n return this.__eventHandlerMap || (this.__eventHandlerMap = {});\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n EventTargetImpl.prototype.addEventListener = function (type, callback, options) {\n if (options === void 0) { options = { passive: false, once: false, capture: false }; }\n /**\n * 1. Let capture, passive, and once be the result of flattening more options.\n */\n var _a = __read(algorithm_1.eventTarget_flattenMore(options), 3), capture = _a[0], passive = _a[1], once = _a[2];\n // convert callback function to EventListener, return if null\n var listenerCallback;\n if (!callback) {\n return;\n }\n else if (util_1.Guard.isEventListener(callback)) {\n listenerCallback = callback;\n }\n else {\n listenerCallback = { handleEvent: callback };\n }\n /**\n * 2. Add an event listener with the context object and an event listener\n * whose type is type, callback is callback, capture is capture, passive is\n * passive, and once is once.\n */\n algorithm_1.eventTarget_addEventListener(this, {\n type: type,\n callback: listenerCallback,\n capture: capture,\n passive: passive,\n once: once,\n removed: false\n });\n };\n /** @inheritdoc */\n EventTargetImpl.prototype.removeEventListener = function (type, callback, options) {\n /**\n * TODO: Implement realms\n * 1. If the context object’s relevant global object is a\n * ServiceWorkerGlobalScope object and its associated service worker’s\n * script resource’s has ever been evaluated flag is set, then throw\n * a TypeError. [SERVICE-WORKERS]\n */\n if (options === void 0) { options = { capture: false }; }\n /**\n * 2. Let capture be the result of flattening options.\n */\n var capture = algorithm_1.eventTarget_flatten(options);\n if (!callback)\n return;\n /**\n * 3. If the context object’s event listener list contains an event listener\n * whose type is type, callback is callback, and capture is capture, then\n * remove an event listener with the context object and that event listener.\n */\n for (var i = 0; i < this._eventListenerList.length; i++) {\n var entry = this._eventListenerList[i];\n if (entry.type !== type || entry.capture !== capture)\n continue;\n if (util_1.Guard.isEventListener(callback) && entry.callback === callback) {\n algorithm_1.eventTarget_removeEventListener(this, entry, i);\n break;\n }\n else if (callback && entry.callback.handleEvent === callback) {\n algorithm_1.eventTarget_removeEventListener(this, entry, i);\n break;\n }\n }\n };\n /** @inheritdoc */\n EventTargetImpl.prototype.dispatchEvent = function (event) {\n /**\n * 1. If event’s dispatch flag is set, or if its initialized flag is not\n * set, then throw an \"InvalidStateError\" DOMException.\n * 2. Initialize event’s isTrusted attribute to false.\n * 3. Return the result of dispatching event to the context object.\n */\n if (event._dispatchFlag || !event._initializedFlag) {\n throw new DOMException_1.InvalidStateError();\n }\n event._isTrusted = false;\n return algorithm_1.event_dispatch(event, this);\n };\n /** @inheritdoc */\n EventTargetImpl.prototype._getTheParent = function (event) {\n return null;\n };\n return EventTargetImpl;\n}());\nexports.EventTargetImpl = EventTargetImpl;\n//# sourceMappingURL=EventTargetImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"../algorithm\");\nvar util_1 = require(\"../util\");\nvar util_2 = require(\"@oozcitak/util\");\n/**\n * Represents a collection of elements.\n */\nvar HTMLCollectionImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `HTMLCollection`.\n *\n * @param root - root node\n * @param filter - node filter\n */\n function HTMLCollectionImpl(root, filter) {\n this._live = true;\n this._root = root;\n this._filter = filter;\n return new Proxy(this, this);\n }\n Object.defineProperty(HTMLCollectionImpl.prototype, \"length\", {\n /** @inheritdoc */\n get: function () {\n var _this = this;\n /**\n * The length attribute’s getter must return the number of nodes\n * represented by the collection.\n */\n var count = 0;\n var node = algorithm_1.tree_getFirstDescendantNode(this._root, false, false, function (e) { return util_1.Guard.isElementNode(e) && _this._filter(e); });\n while (node !== null) {\n count++;\n node = algorithm_1.tree_getNextDescendantNode(this._root, node, false, false, function (e) { return util_1.Guard.isElementNode(e) && _this._filter(e); });\n }\n return count;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n HTMLCollectionImpl.prototype.item = function (index) {\n var _this = this;\n /**\n * The item(index) method, when invoked, must return the indexth element\n * in the collection. If there is no indexth element in the collection,\n * then the method must return null.\n */\n var i = 0;\n var node = algorithm_1.tree_getFirstDescendantNode(this._root, false, false, function (e) { return util_1.Guard.isElementNode(e) && _this._filter(e); });\n while (node !== null) {\n if (i === index)\n return node;\n else\n i++;\n node = algorithm_1.tree_getNextDescendantNode(this._root, node, false, false, function (e) { return util_1.Guard.isElementNode(e) && _this._filter(e); });\n }\n return null;\n };\n /** @inheritdoc */\n HTMLCollectionImpl.prototype.namedItem = function (key) {\n var _this = this;\n /**\n * 1. If key is the empty string, return null.\n * 2. Return the first element in the collection for which at least one of\n * the following is true:\n * - it has an ID which is key;\n * - it is in the HTML namespace and has a name attribute whose value is key;\n * or null if there is no such element.\n */\n if (key === '')\n return null;\n var ele = algorithm_1.tree_getFirstDescendantNode(this._root, false, false, function (e) { return util_1.Guard.isElementNode(e) && _this._filter(e); });\n while (ele != null) {\n if (ele._uniqueIdentifier === key) {\n return ele;\n }\n else if (ele._namespace === infra_1.namespace.HTML) {\n for (var i = 0; i < ele._attributeList.length; i++) {\n var attr = ele._attributeList[i];\n if (attr._localName === \"name\" && attr._namespace === null &&\n attr._namespacePrefix === null && attr._value === key)\n return ele;\n }\n }\n ele = algorithm_1.tree_getNextDescendantNode(this._root, ele, false, false, function (e) { return util_1.Guard.isElementNode(e) && _this._filter(e); });\n }\n return null;\n };\n /** @inheritdoc */\n HTMLCollectionImpl.prototype[Symbol.iterator] = function () {\n var root = this._root;\n var filter = this._filter;\n var currentNode = algorithm_1.tree_getFirstDescendantNode(root, false, false, function (e) { return util_1.Guard.isElementNode(e) && filter(e); });\n return {\n next: function () {\n if (currentNode === null) {\n return { done: true, value: null };\n }\n else {\n var result = { done: false, value: currentNode };\n currentNode = algorithm_1.tree_getNextDescendantNode(root, currentNode, false, false, function (e) { return util_1.Guard.isElementNode(e) && filter(e); });\n return result;\n }\n }\n };\n };\n /**\n * Implements a proxy get trap to provide array-like access.\n */\n HTMLCollectionImpl.prototype.get = function (target, key, receiver) {\n if (!util_2.isString(key) || HTMLCollectionImpl.reservedNames.indexOf(key) !== -1) {\n return Reflect.get(target, key, receiver);\n }\n var index = Number(key);\n if (isNaN(index)) {\n return target.namedItem(key) || undefined;\n }\n else {\n return target.item(index) || undefined;\n }\n };\n /**\n * Implements a proxy set trap to provide array-like access.\n */\n HTMLCollectionImpl.prototype.set = function (target, key, value, receiver) {\n if (!util_2.isString(key) || HTMLCollectionImpl.reservedNames.indexOf(key) !== -1) {\n return Reflect.set(target, key, value, receiver);\n }\n var index = Number(key);\n var node = isNaN(index) ?\n target.namedItem(key) || undefined : target.item(index) || undefined;\n if (node && node._parent) {\n algorithm_1.mutation_replace(node, value, node._parent);\n return true;\n }\n else {\n return false;\n }\n };\n /**\n * Creates a new `HTMLCollection`.\n *\n * @param root - root node\n * @param filter - node filter\n */\n HTMLCollectionImpl._create = function (root, filter) {\n if (filter === void 0) { filter = (function () { return true; }); }\n return new HTMLCollectionImpl(root, filter);\n };\n HTMLCollectionImpl.reservedNames = ['_root', '_live', '_filter', 'length',\n 'item', 'namedItem', 'get', 'set'];\n return HTMLCollectionImpl;\n}());\nexports.HTMLCollectionImpl = HTMLCollectionImpl;\n//# sourceMappingURL=HTMLCollectionImpl.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar util_1 = require(\"../util\");\nvar infra_1 = require(\"@oozcitak/infra\");\n/**\n * Represents an object that can be used to observe mutations to the tree of\n * nodes.\n */\nvar MutationObserverImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `MutationObserver`.\n *\n * @param callback - the callback function\n */\n function MutationObserverImpl(callback) {\n this._nodeList = [];\n this._recordQueue = [];\n /**\n * 1. Let mo be a new MutationObserver object whose callback is callback.\n * 2. Append mo to mo’s relevant agent’s mutation observers.\n * 3. Return mo.\n */\n this._callback = callback;\n var window = DOMImpl_1.dom.window;\n infra_1.set.append(window._mutationObservers, this);\n }\n /** @inheritdoc */\n MutationObserverImpl.prototype.observe = function (target, options) {\n var e_1, _a;\n options = options || {\n childList: false,\n subtree: false\n };\n /**\n * 1. If either options’s attributeOldValue or attributeFilter is present\n * and options’s attributes is omitted, then set options’s attributes\n * to true.\n * 2. If options’s characterDataOldValue is present and options’s\n * characterData is omitted, then set options’s characterData to true.\n * 3. If none of options’s childList, attributes, and characterData is\n * true, then throw a TypeError.\n * 4. If options’s attributeOldValue is true and options’s attributes is\n * false, then throw a TypeError.\n * 5. If options’s attributeFilter is present and options’s attributes is\n * false, then throw a TypeError.\n * 6. If options’s characterDataOldValue is true and options’s characterData\n * is false, then throw a TypeError.\n */\n if ((options.attributeOldValue !== undefined || options.attributeFilter !== undefined) &&\n options.attributes === undefined) {\n options.attributes = true;\n }\n if (options.characterDataOldValue !== undefined && options.characterData === undefined) {\n options.characterData = true;\n }\n if (!options.childList && !options.attributes && !options.characterData) {\n throw new TypeError();\n }\n if (options.attributeOldValue && !options.attributes) {\n throw new TypeError();\n }\n if (options.attributeFilter !== undefined && !options.attributes) {\n throw new TypeError();\n }\n if (options.characterDataOldValue && !options.characterData) {\n throw new TypeError();\n }\n /**\n * 7. For each registered of target’s registered observer list, if\n * registered’s observer is the context object:\n */\n var isRegistered = false;\n var coptions = options;\n var _loop_1 = function (registered) {\n var e_2, _a;\n if (registered.observer === this_1) {\n isRegistered = true;\n try {\n /**\n * 7.1. For each node of the context object’s node list, remove all\n * transient registered observers whose source is registered from node’s\n * registered observer list.\n */\n for (var _b = (e_2 = void 0, __values(this_1._nodeList)), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node = _c.value;\n infra_1.list.remove(node._registeredObserverList, function (ob) {\n return util_1.Guard.isTransientRegisteredObserver(ob) && ob.source === registered;\n });\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_2) throw e_2.error; }\n }\n /**\n * 7.2. Set registered’s options to options.\n */\n registered.options = coptions;\n }\n };\n var this_1 = this;\n try {\n for (var _b = __values(target._registeredObserverList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var registered = _c.value;\n _loop_1(registered);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n /**\n * 8. Otherwise:\n * 8.1. Append a new registered observer whose observer is the context\n * object and options is options to target’s registered observer list.\n * 8.2. Append target to the context object’s node list.\n */\n if (!isRegistered) {\n target._registeredObserverList.push({ observer: this, options: options });\n this._nodeList.push(target);\n }\n };\n /** @inheritdoc */\n MutationObserverImpl.prototype.disconnect = function () {\n var e_3, _a;\n var _this = this;\n try {\n /**\n * 1. For each node of the context object’s node list, remove any\n * registered observer from node’s registered observer list for which the\n * context object is the observer.\n */\n for (var _b = __values(this._nodeList), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node = _c.value;\n infra_1.list.remove((node)._registeredObserverList, function (ob) {\n return ob.observer === _this;\n });\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_3) throw e_3.error; }\n }\n /**\n * 2. Empty the context object’s record queue.\n */\n this._recordQueue = [];\n };\n /** @inheritdoc */\n MutationObserverImpl.prototype.takeRecords = function () {\n /**\n * 1. Let records be a clone of the context object’s record queue.\n * 2. Empty the context object’s record queue.\n * 3. Return records.\n */\n var records = this._recordQueue;\n this._recordQueue = [];\n return records;\n };\n return MutationObserverImpl;\n}());\nexports.MutationObserverImpl = MutationObserverImpl;\n//# sourceMappingURL=MutationObserverImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a mutation record.\n */\nvar MutationRecordImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `MutationRecord`.\n *\n * @param type - type of mutation: `\"attributes\"` for an attribute\n * mutation, `\"characterData\"` for a mutation to a CharacterData node\n * and `\"childList\"` for a mutation to the tree of nodes.\n * @param target - node affected by the mutation.\n * @param addedNodes - list of added nodes.\n * @param removedNodes - list of removed nodes.\n * @param previousSibling - previous sibling of added or removed nodes.\n * @param nextSibling - next sibling of added or removed nodes.\n * @param attributeName - local name of the changed attribute,\n * and `null` otherwise.\n * @param attributeNamespace - namespace of the changed attribute,\n * and `null` otherwise.\n * @param oldValue - value before mutation: attribute value for an attribute\n * mutation, node `data` for a mutation to a CharacterData node and `null`\n * for a mutation to the tree of nodes.\n */\n function MutationRecordImpl(type, target, addedNodes, removedNodes, previousSibling, nextSibling, attributeName, attributeNamespace, oldValue) {\n this._type = type;\n this._target = target;\n this._addedNodes = addedNodes;\n this._removedNodes = removedNodes;\n this._previousSibling = previousSibling;\n this._nextSibling = nextSibling;\n this._attributeName = attributeName;\n this._attributeNamespace = attributeNamespace;\n this._oldValue = oldValue;\n }\n Object.defineProperty(MutationRecordImpl.prototype, \"type\", {\n /** @inheritdoc */\n get: function () { return this._type; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"target\", {\n /** @inheritdoc */\n get: function () { return this._target; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"addedNodes\", {\n /** @inheritdoc */\n get: function () { return this._addedNodes; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"removedNodes\", {\n /** @inheritdoc */\n get: function () { return this._removedNodes; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"previousSibling\", {\n /** @inheritdoc */\n get: function () { return this._previousSibling; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"nextSibling\", {\n /** @inheritdoc */\n get: function () { return this._nextSibling; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"attributeName\", {\n /** @inheritdoc */\n get: function () { return this._attributeName; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"attributeNamespace\", {\n /** @inheritdoc */\n get: function () { return this._attributeNamespace; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MutationRecordImpl.prototype, \"oldValue\", {\n /** @inheritdoc */\n get: function () { return this._oldValue; },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new `MutationRecord`.\n *\n * @param type - type of mutation: `\"attributes\"` for an attribute\n * mutation, `\"characterData\"` for a mutation to a CharacterData node\n * and `\"childList\"` for a mutation to the tree of nodes.\n * @param target - node affected by the mutation.\n * @param addedNodes - list of added nodes.\n * @param removedNodes - list of removed nodes.\n * @param previousSibling - previous sibling of added or removed nodes.\n * @param nextSibling - next sibling of added or removed nodes.\n * @param attributeName - local name of the changed attribute,\n * and `null` otherwise.\n * @param attributeNamespace - namespace of the changed attribute,\n * and `null` otherwise.\n * @param oldValue - value before mutation: attribute value for an attribute\n * mutation, node `data` for a mutation to a CharacterData node and `null`\n * for a mutation to the tree of nodes.\n */\n MutationRecordImpl._create = function (type, target, addedNodes, removedNodes, previousSibling, nextSibling, attributeName, attributeNamespace, oldValue) {\n return new MutationRecordImpl(type, target, addedNodes, removedNodes, previousSibling, nextSibling, attributeName, attributeNamespace, oldValue);\n };\n return MutationRecordImpl;\n}());\nexports.MutationRecordImpl = MutationRecordImpl;\n//# sourceMappingURL=MutationRecordImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMException_1 = require(\"./DOMException\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a collection of attributes.\n */\nvar NamedNodeMapImpl = /** @class */ (function (_super) {\n __extends(NamedNodeMapImpl, _super);\n /**\n * Initializes a new instance of `NamedNodeMap`.\n *\n * @param element - parent element\n */\n function NamedNodeMapImpl(element) {\n var _this = _super.call(this) || this;\n _this._element = element;\n // TODO: This workaround is needed to extend Array in ES5\n Object.setPrototypeOf(_this, NamedNodeMapImpl.prototype);\n return _this;\n }\n NamedNodeMapImpl.prototype._asArray = function () { return this; };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.item = function (index) {\n /**\n * 1. If index is equal to or greater than context object’s attribute list’s\n * size, then return null.\n * 2. Otherwise, return context object’s attribute list[index].\n *\n */\n return this[index] || null;\n };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.getNamedItem = function (qualifiedName) {\n /**\n * The getNamedItem(qualifiedName) method, when invoked, must return the\n * result of getting an attribute given qualifiedName and element.\n */\n return algorithm_1.element_getAnAttributeByName(qualifiedName, this._element);\n };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.getNamedItemNS = function (namespace, localName) {\n /**\n * The getNamedItemNS(namespace, localName) method, when invoked, must\n * return the result of getting an attribute given namespace, localName,\n * and element.\n */\n return algorithm_1.element_getAnAttributeByNamespaceAndLocalName(namespace || '', localName, this._element);\n };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.setNamedItem = function (attr) {\n /**\n * The setNamedItem(attr) and setNamedItemNS(attr) methods, when invoked,\n * must return the result of setting an attribute given attr and element.\n */\n return algorithm_1.element_setAnAttribute(attr, this._element);\n };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.setNamedItemNS = function (attr) {\n return algorithm_1.element_setAnAttribute(attr, this._element);\n };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.removeNamedItem = function (qualifiedName) {\n /**\n * 1. Let attr be the result of removing an attribute given qualifiedName\n * and element.\n * 2. If attr is null, then throw a \"NotFoundError\" DOMException.\n * 3. Return attr.\n */\n var attr = algorithm_1.element_removeAnAttributeByName(qualifiedName, this._element);\n if (attr === null)\n throw new DOMException_1.NotFoundError();\n return attr;\n };\n /** @inheritdoc */\n NamedNodeMapImpl.prototype.removeNamedItemNS = function (namespace, localName) {\n /**\n * 1. Let attr be the result of removing an attribute given namespace,\n * localName, and element.\n * 2. If attr is null, then throw a \"NotFoundError\" DOMException.\n * 3. Return attr.\n */\n var attr = algorithm_1.element_removeAnAttributeByNamespaceAndLocalName(namespace || '', localName, this._element);\n if (attr === null)\n throw new DOMException_1.NotFoundError();\n return attr;\n };\n /**\n * Creates a new `NamedNodeMap`.\n *\n * @param element - parent element\n */\n NamedNodeMapImpl._create = function (element) {\n return new NamedNodeMapImpl(element);\n };\n return NamedNodeMapImpl;\n}(Array));\nexports.NamedNodeMapImpl = NamedNodeMapImpl;\n//# sourceMappingURL=NamedNodeMapImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a node filter.\n */\nvar NodeFilterImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `NodeFilter`.\n */\n function NodeFilterImpl() {\n }\n /**\n * Callback function.\n */\n NodeFilterImpl.prototype.acceptNode = function (node) {\n return interfaces_1.FilterResult.Accept;\n };\n /**\n * Creates a new `NodeFilter`.\n */\n NodeFilterImpl._create = function () {\n return new NodeFilterImpl();\n };\n NodeFilterImpl.FILTER_ACCEPT = 1;\n NodeFilterImpl.FILTER_REJECT = 2;\n NodeFilterImpl.FILTER_SKIP = 3;\n NodeFilterImpl.SHOW_ALL = 0xffffffff;\n NodeFilterImpl.SHOW_ELEMENT = 0x1;\n NodeFilterImpl.SHOW_ATTRIBUTE = 0x2;\n NodeFilterImpl.SHOW_TEXT = 0x4;\n NodeFilterImpl.SHOW_CDATA_SECTION = 0x8;\n NodeFilterImpl.SHOW_ENTITY_REFERENCE = 0x10;\n NodeFilterImpl.SHOW_ENTITY = 0x20;\n NodeFilterImpl.SHOW_PROCESSING_INSTRUCTION = 0x40;\n NodeFilterImpl.SHOW_COMMENT = 0x80;\n NodeFilterImpl.SHOW_DOCUMENT = 0x100;\n NodeFilterImpl.SHOW_DOCUMENT_TYPE = 0x200;\n NodeFilterImpl.SHOW_DOCUMENT_FRAGMENT = 0x400;\n NodeFilterImpl.SHOW_NOTATION = 0x800;\n return NodeFilterImpl;\n}());\nexports.NodeFilterImpl = NodeFilterImpl;\n/**\n * Define constants on prototype.\n */\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"FILTER_ACCEPT\", 1);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"FILTER_REJECT\", 2);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"FILTER_SKIP\", 3);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_ALL\", 0xffffffff);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_ELEMENT\", 0x1);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_ATTRIBUTE\", 0x2);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_TEXT\", 0x4);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_CDATA_SECTION\", 0x8);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_ENTITY_REFERENCE\", 0x10);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_ENTITY\", 0x20);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_PROCESSING_INSTRUCTION\", 0x40);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_COMMENT\", 0x80);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_DOCUMENT\", 0x100);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_DOCUMENT_TYPE\", 0x200);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_DOCUMENT_FRAGMENT\", 0x400);\nWebIDLAlgorithm_1.idl_defineConst(NodeFilterImpl.prototype, \"SHOW_NOTATION\", 0x800);\n//# sourceMappingURL=NodeFilterImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar interfaces_1 = require(\"./interfaces\");\nvar EventTargetImpl_1 = require(\"./EventTargetImpl\");\nvar util_1 = require(\"../util\");\nvar DOMException_1 = require(\"./DOMException\");\nvar algorithm_1 = require(\"../algorithm\");\nvar URLAlgorithm_1 = require(\"@oozcitak/url/lib/URLAlgorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a generic XML node.\n */\nvar NodeImpl = /** @class */ (function (_super) {\n __extends(NodeImpl, _super);\n /**\n * Initializes a new instance of `Node`.\n */\n function NodeImpl() {\n var _this = _super.call(this) || this;\n _this._parent = null;\n _this._firstChild = null;\n _this._lastChild = null;\n _this._previousSibling = null;\n _this._nextSibling = null;\n return _this;\n }\n Object.defineProperty(NodeImpl.prototype, \"_childNodes\", {\n get: function () {\n return this.__childNodes || (this.__childNodes = algorithm_1.create_nodeList(this));\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"_nodeDocument\", {\n get: function () { return this._nodeDocumentOverride || DOMImpl_1.dom.window._associatedDocument; },\n set: function (val) { this._nodeDocumentOverride = val; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"_registeredObserverList\", {\n get: function () {\n return this.__registeredObserverList || (this.__registeredObserverList = []);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"nodeType\", {\n /** @inheritdoc */\n get: function () { return this._nodeType; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"nodeName\", {\n /**\n * Returns a string appropriate for the type of node.\n */\n get: function () {\n if (util_1.Guard.isElementNode(this)) {\n return this._htmlUppercasedQualifiedName;\n }\n else if (util_1.Guard.isAttrNode(this)) {\n return this._qualifiedName;\n }\n else if (util_1.Guard.isExclusiveTextNode(this)) {\n return \"#text\";\n }\n else if (util_1.Guard.isCDATASectionNode(this)) {\n return \"#cdata-section\";\n }\n else if (util_1.Guard.isProcessingInstructionNode(this)) {\n return this._target;\n }\n else if (util_1.Guard.isCommentNode(this)) {\n return \"#comment\";\n }\n else if (util_1.Guard.isDocumentNode(this)) {\n return \"#document\";\n }\n else if (util_1.Guard.isDocumentTypeNode(this)) {\n return this._name;\n }\n else if (util_1.Guard.isDocumentFragmentNode(this)) {\n return \"#document-fragment\";\n }\n else {\n return \"\";\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"baseURI\", {\n /**\n * Gets the absolute base URL of the node.\n */\n get: function () {\n /**\n * The baseURI attribute’s getter must return node document’s document\n * base URL, serialized.\n * TODO: Implement in HTML DOM\n * https://html.spec.whatwg.org/multipage/urls-and-fetching.html#document-base-url\n */\n return URLAlgorithm_1.urlSerializer(this._nodeDocument._URL);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"isConnected\", {\n /**\n * Returns whether the node is rooted to a document node.\n */\n get: function () {\n /**\n * The isConnected attribute’s getter must return true, if context object\n * is connected, and false otherwise.\n */\n return util_1.Guard.isElementNode(this) && algorithm_1.shadowTree_isConnected(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"ownerDocument\", {\n /**\n * Returns the parent document.\n */\n get: function () {\n /**\n * The ownerDocument attribute’s getter must return null, if the context\n * object is a document, and the context object’s node document otherwise.\n * _Note:_ The node document of a document is that document itself. All\n * nodes have a node document at all times.\n */\n if (this._nodeType === interfaces_1.NodeType.Document)\n return null;\n else\n return this._nodeDocument;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns the root node.\n *\n * @param options - if options has `composed = true` this function\n * returns the node's shadow-including root, otherwise it returns\n * the node's root node.\n */\n NodeImpl.prototype.getRootNode = function (options) {\n /**\n * The getRootNode(options) method, when invoked, must return context\n * object’s shadow-including root if options’s composed is true,\n * and context object’s root otherwise.\n */\n return algorithm_1.tree_rootNode(this, !!options && options.composed);\n };\n Object.defineProperty(NodeImpl.prototype, \"parentNode\", {\n /**\n * Returns the parent node.\n */\n get: function () {\n /**\n * The parentNode attribute’s getter must return the context object’s parent.\n * _Note:_ An Attr node has no parent.\n */\n if (this._nodeType === interfaces_1.NodeType.Attribute) {\n return null;\n }\n else {\n return this._parent;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"parentElement\", {\n /**\n * Returns the parent element.\n */\n get: function () {\n /**\n * The parentElement attribute’s getter must return the context object’s\n * parent element.\n */\n if (this._parent && util_1.Guard.isElementNode(this._parent)) {\n return this._parent;\n }\n else {\n return null;\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Determines whether a node has any children.\n */\n NodeImpl.prototype.hasChildNodes = function () {\n /**\n * The hasChildNodes() method, when invoked, must return true if the context\n * object has children, and false otherwise.\n */\n return (this._firstChild !== null);\n };\n Object.defineProperty(NodeImpl.prototype, \"childNodes\", {\n /**\n * Returns a {@link NodeList} of child nodes.\n */\n get: function () {\n /**\n * The childNodes attribute’s getter must return a NodeList rooted at the\n * context object matching only children.\n */\n return this._childNodes;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"firstChild\", {\n /**\n * Returns the first child node.\n */\n get: function () {\n /**\n * The firstChild attribute’s getter must return the context object’s first\n * child.\n */\n return this._firstChild;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"lastChild\", {\n /**\n * Returns the last child node.\n */\n get: function () {\n /**\n * The lastChild attribute’s getter must return the context object’s last\n * child.\n */\n return this._lastChild;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"previousSibling\", {\n /**\n * Returns the previous sibling node.\n */\n get: function () {\n /**\n * The previousSibling attribute’s getter must return the context object’s\n * previous sibling.\n * _Note:_ An Attr node has no siblings.\n */\n return this._previousSibling;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"nextSibling\", {\n /**\n * Returns the next sibling node.\n */\n get: function () {\n /**\n * The nextSibling attribute’s getter must return the context object’s\n * next sibling.\n */\n return this._nextSibling;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"nodeValue\", {\n /**\n * Gets or sets the data associated with a {@link CharacterData} node or the\n * value of an {@link @Attr} node. For other node types returns `null`.\n */\n get: function () {\n if (util_1.Guard.isAttrNode(this)) {\n return this._value;\n }\n else if (util_1.Guard.isCharacterDataNode(this)) {\n return this._data;\n }\n else {\n return null;\n }\n },\n set: function (value) {\n if (value === null) {\n value = '';\n }\n if (util_1.Guard.isAttrNode(this)) {\n algorithm_1.attr_setAnExistingAttributeValue(this, value);\n }\n else if (util_1.Guard.isCharacterDataNode(this)) {\n algorithm_1.characterData_replaceData(this, 0, this._data.length, value);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeImpl.prototype, \"textContent\", {\n /**\n * Returns the concatenation of data of all the {@link Text}\n * node descendants in tree order. When set, replaces the text\n * contents of the node with the given value.\n */\n get: function () {\n if (util_1.Guard.isDocumentFragmentNode(this) || util_1.Guard.isElementNode(this)) {\n return algorithm_1.text_descendantTextContent(this);\n }\n else if (util_1.Guard.isAttrNode(this)) {\n return this._value;\n }\n else if (util_1.Guard.isCharacterDataNode(this)) {\n return this._data;\n }\n else {\n return null;\n }\n },\n set: function (value) {\n if (value === null) {\n value = '';\n }\n if (util_1.Guard.isDocumentFragmentNode(this) || util_1.Guard.isElementNode(this)) {\n algorithm_1.node_stringReplaceAll(value, this);\n }\n else if (util_1.Guard.isAttrNode(this)) {\n algorithm_1.attr_setAnExistingAttributeValue(this, value);\n }\n else if (util_1.Guard.isCharacterDataNode(this)) {\n algorithm_1.characterData_replaceData(this, 0, algorithm_1.tree_nodeLength(this), value);\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Puts all {@link Text} nodes in the full depth of the sub-tree\n * underneath this node into a \"normal\" form where only markup\n * (e.g., tags, comments, processing instructions, CDATA sections,\n * and entity references) separates {@link Text} nodes, i.e., there\n * are no adjacent Text nodes.\n */\n NodeImpl.prototype.normalize = function () {\n var e_1, _a, e_2, _b;\n /**\n * The normalize() method, when invoked, must run these steps for each\n * descendant exclusive Text node node of context object:\n */\n var descendantNodes = [];\n var node = algorithm_1.tree_getFirstDescendantNode(this, false, false, function (e) { return util_1.Guard.isExclusiveTextNode(e); });\n while (node !== null) {\n descendantNodes.push(node);\n node = algorithm_1.tree_getNextDescendantNode(this, node, false, false, function (e) { return util_1.Guard.isExclusiveTextNode(e); });\n }\n for (var i = 0; i < descendantNodes.length; i++) {\n var node_1 = descendantNodes[i];\n if (node_1._parent === null)\n continue;\n /**\n * 1. Let length be node’s length.\n * 2. If length is zero, then remove node and continue with the next\n * exclusive Text node, if any.\n */\n var length = algorithm_1.tree_nodeLength(node_1);\n if (length === 0) {\n algorithm_1.mutation_remove(node_1, node_1._parent);\n continue;\n }\n /**\n * 3. Let data be the concatenation of the data of node’s contiguous\n * exclusive Text nodes (excluding itself), in tree order.\n */\n var textSiblings = [];\n var data = '';\n try {\n for (var _c = (e_1 = void 0, __values(algorithm_1.text_contiguousExclusiveTextNodes(node_1))), _d = _c.next(); !_d.done; _d = _c.next()) {\n var sibling = _d.value;\n textSiblings.push(sibling);\n data += sibling._data;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_1) throw e_1.error; }\n }\n /**\n * 4. Replace data with node node, offset length, count 0, and data data.\n */\n algorithm_1.characterData_replaceData(node_1, length, 0, data);\n /**\n * 5. Let currentNode be node’s next sibling.\n * 6. While currentNode is an exclusive Text node:\n */\n if (DOMImpl_1.dom.rangeList.size !== 0) {\n var currentNode = node_1._nextSibling;\n while (currentNode !== null && util_1.Guard.isExclusiveTextNode(currentNode)) {\n /**\n * 6.1. For each live range whose start node is currentNode, add length\n * to its start offset and set its start node to node.\n * 6.2. For each live range whose end node is currentNode, add length to\n * its end offset and set its end node to node.\n * 6.3. For each live range whose start node is currentNode’s parent and\n * start offset is currentNode’s index, set its start node to node and\n * its start offset to length.\n * 6.4. For each live range whose end node is currentNode’s parent and\n * end offset is currentNode’s index, set its end node to node and its\n * end offset to length.\n */\n var cn = currentNode;\n var index = algorithm_1.tree_index(cn);\n try {\n for (var _e = (e_2 = void 0, __values(DOMImpl_1.dom.rangeList)), _f = _e.next(); !_f.done; _f = _e.next()) {\n var range = _f.value;\n if (range._start[0] === cn) {\n range._start[0] = node_1;\n range._start[1] += length;\n }\n if (range._end[0] === cn) {\n range._end[0] = node_1;\n range._end[1] += length;\n }\n if (range._start[0] === cn._parent && range._start[1] === index) {\n range._start[0] = node_1;\n range._start[1] = length;\n }\n if (range._end[0] === cn._parent && range._end[1] === index) {\n range._end[0] = node_1;\n range._end[1] = length;\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_b = _e.return)) _b.call(_e);\n }\n finally { if (e_2) throw e_2.error; }\n }\n /**\n * 6.5. Add currentNode’s length to length.\n * 6.6. Set currentNode to its next sibling.\n */\n length += algorithm_1.tree_nodeLength(currentNode);\n currentNode = currentNode._nextSibling;\n }\n }\n /**\n * 7. Remove node’s contiguous exclusive Text nodes (excluding itself),\n * in tree order.\n */\n for (var i_1 = 0; i_1 < textSiblings.length; i_1++) {\n var sibling = textSiblings[i_1];\n if (sibling._parent === null)\n continue;\n algorithm_1.mutation_remove(sibling, sibling._parent);\n }\n }\n };\n /**\n * Returns a duplicate of this node, i.e., serves as a generic copy\n * constructor for nodes. The duplicate node has no parent\n * ({@link parentNode} returns `null`).\n *\n * @param deep - if `true`, recursively clone the subtree under the\n * specified node. If `false`, clone only the node itself (and its\n * attributes, if it is an {@link Element}).\n */\n NodeImpl.prototype.cloneNode = function (deep) {\n if (deep === void 0) { deep = false; }\n /**\n * 1. If context object is a shadow root, then throw a \"NotSupportedError\"\n * DOMException.\n * 2. Return a clone of the context object, with the clone children flag set\n * if deep is true.\n */\n if (util_1.Guard.isShadowRoot(this))\n throw new DOMException_1.NotSupportedError();\n return algorithm_1.node_clone(this, null, deep);\n };\n /**\n * Determines if the given node is equal to this one.\n *\n * @param node - the node to compare with\n */\n NodeImpl.prototype.isEqualNode = function (node) {\n if (node === void 0) { node = null; }\n /**\n * The isEqualNode(otherNode) method, when invoked, must return true if\n * otherNode is non-null and context object equals otherNode, and false\n * otherwise.\n */\n return (node !== null && algorithm_1.node_equals(this, node));\n };\n /**\n * Determines if the given node is reference equal to this one.\n *\n * @param node - the node to compare with\n */\n NodeImpl.prototype.isSameNode = function (node) {\n if (node === void 0) { node = null; }\n /**\n * The isSameNode(otherNode) method, when invoked, must return true if\n * otherNode is context object, and false otherwise.\n */\n return (this === node);\n };\n /**\n * Returns a bitmask indicating the position of the given `node`\n * relative to this node.\n */\n NodeImpl.prototype.compareDocumentPosition = function (other) {\n /**\n * 1. If context object is other, then return zero.\n * 2. Let node1 be other and node2 be context object.\n * 3. Let attr1 and attr2 be null.\n * attr1’s element.\n */\n if (other === this)\n return 0;\n var node1 = other;\n var node2 = this;\n var attr1 = null;\n var attr2 = null;\n /**\n * 4. If node1 is an attribute, then set attr1 to node1 and node1 to\n * attr1’s element.\n */\n if (util_1.Guard.isAttrNode(node1)) {\n attr1 = node1;\n node1 = attr1._element;\n }\n /**\n * 5. If node2 is an attribute, then:\n */\n if (util_1.Guard.isAttrNode(node2)) {\n /**\n * 5.1. Set attr2 to node2 and node2 to attr2’s element.\n */\n attr2 = node2;\n node2 = attr2._element;\n /**\n * 5.2. If attr1 and node1 are non-null, and node2 is node1, then:\n */\n if (attr1 && node1 && (node1 === node2)) {\n /**\n * 5.2. For each attr in node2’s attribute list:\n */\n for (var i = 0; i < node2._attributeList.length; i++) {\n var attr = node2._attributeList[i];\n /**\n * 5.2.1. If attr equals attr1, then return the result of adding\n * DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC and\n * DOCUMENT_POSITION_PRECEDING.\n * 5.2.2. If attr equals attr2, then return the result of adding\n * DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC and\n * DOCUMENT_POSITION_FOLLOWING.\n */\n if (algorithm_1.node_equals(attr, attr1)) {\n return interfaces_1.Position.ImplementationSpecific | interfaces_1.Position.Preceding;\n }\n else if (algorithm_1.node_equals(attr, attr2)) {\n return interfaces_1.Position.ImplementationSpecific | interfaces_1.Position.Following;\n }\n }\n }\n }\n /**\n * 6. If node1 or node2 is null, or node1’s root is not node2’s root, then\n * return the result of adding DOCUMENT_POSITION_DISCONNECTED,\n * DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, and either\n * DOCUMENT_POSITION_PRECEDING or DOCUMENT_POSITION_FOLLOWING,\n * with the constraint that this is to be consistent, together.\n */\n if (node1 === null || node2 === null ||\n algorithm_1.tree_rootNode(node1) !== algorithm_1.tree_rootNode(node2)) {\n // nodes are disconnected\n // return a random result but cache the value for consistency\n return interfaces_1.Position.Disconnected | interfaces_1.Position.ImplementationSpecific |\n (DOMImpl_1.dom.compareCache.check(this, other) ? interfaces_1.Position.Preceding : interfaces_1.Position.Following);\n }\n /**\n * 7. If node1 is an ancestor of node2 and attr1 is null, or node1 is node2\n * and attr2 is non-null, then return the result of adding\n * DOCUMENT_POSITION_CONTAINS to DOCUMENT_POSITION_PRECEDING.\n */\n if ((!attr1 && algorithm_1.tree_isAncestorOf(node2, node1)) ||\n (attr2 && (node1 === node2))) {\n return interfaces_1.Position.Contains | interfaces_1.Position.Preceding;\n }\n /**\n * 8. If node1 is a descendant of node2 and attr2 is null, or node1 is node2\n * and attr1 is non-null, then return the result of adding\n * DOCUMENT_POSITION_CONTAINED_BY to DOCUMENT_POSITION_FOLLOWING.\n */\n if ((!attr2 && algorithm_1.tree_isDescendantOf(node2, node1)) ||\n (attr1 && (node1 === node2))) {\n return interfaces_1.Position.ContainedBy | interfaces_1.Position.Following;\n }\n /**\n * 9. If node1 is preceding node2, then return DOCUMENT_POSITION_PRECEDING.\n */\n if (algorithm_1.tree_isPreceding(node2, node1))\n return interfaces_1.Position.Preceding;\n /**\n * 10. Return DOCUMENT_POSITION_FOLLOWING.\n */\n return interfaces_1.Position.Following;\n };\n /**\n * Returns `true` if given node is an inclusive descendant of this\n * node, and `false` otherwise (including when other node is `null`).\n *\n * @param other - the node to check\n */\n NodeImpl.prototype.contains = function (other) {\n /**\n * The contains(other) method, when invoked, must return true if other is an\n * inclusive descendant of context object, and false otherwise (including\n * when other is null).\n */\n if (other === null)\n return false;\n return algorithm_1.tree_isDescendantOf(this, other, true);\n };\n /**\n * Returns the prefix for a given namespace URI, if present, and\n * `null` if not.\n *\n * @param namespace - the namespace to search\n */\n NodeImpl.prototype.lookupPrefix = function (namespace) {\n /**\n * 1. If namespace is null or the empty string, then return null.\n * 2. Switch on the context object:\n */\n if (!namespace)\n return null;\n if (util_1.Guard.isElementNode(this)) {\n /**\n * Return the result of locating a namespace prefix for it using\n * namespace.\n */\n return algorithm_1.node_locateANamespacePrefix(this, namespace);\n }\n else if (util_1.Guard.isDocumentNode(this)) {\n /**\n * Return the result of locating a namespace prefix for its document\n * element, if its document element is non-null, and null otherwise.\n */\n if (this.documentElement === null) {\n return null;\n }\n else {\n return algorithm_1.node_locateANamespacePrefix(this.documentElement, namespace);\n }\n }\n else if (util_1.Guard.isDocumentTypeNode(this) || util_1.Guard.isDocumentFragmentNode(this)) {\n return null;\n }\n else if (util_1.Guard.isAttrNode(this)) {\n /**\n * Return the result of locating a namespace prefix for its element,\n * if its element is non-null, and null otherwise.\n */\n if (this._element === null) {\n return null;\n }\n else {\n return algorithm_1.node_locateANamespacePrefix(this._element, namespace);\n }\n }\n else {\n /**\n * Return the result of locating a namespace prefix for its parent\n * element, if its parent element is non-null, and null otherwise.\n */\n if (this._parent !== null && util_1.Guard.isElementNode(this._parent)) {\n return algorithm_1.node_locateANamespacePrefix(this._parent, namespace);\n }\n else {\n return null;\n }\n }\n };\n /**\n * Returns the namespace URI for a given prefix if present, and `null`\n * if not.\n *\n * @param prefix - the prefix to search\n */\n NodeImpl.prototype.lookupNamespaceURI = function (prefix) {\n /**\n * 1. If prefix is the empty string, then set it to null.\n * 2. Return the result of running locate a namespace for the context object\n * using prefix.\n */\n return algorithm_1.node_locateANamespace(this, prefix || null);\n };\n /**\n * Returns `true` if the namespace is the default namespace on this\n * node or `false` if not.\n *\n * @param namespace - the namespace to check\n */\n NodeImpl.prototype.isDefaultNamespace = function (namespace) {\n /**\n * 1. If namespace is the empty string, then set it to null.\n * 2. Let defaultNamespace be the result of running locate a namespace for\n * context object using null.\n * 3. Return true if defaultNamespace is the same as namespace, and false otherwise.\n */\n if (!namespace)\n namespace = null;\n var defaultNamespace = algorithm_1.node_locateANamespace(this, null);\n return (defaultNamespace === namespace);\n };\n /**\n * Inserts the node `newChild` before the existing child node\n * `refChild`. If `refChild` is `null`, inserts `newChild` at the end\n * of the list of children.\n *\n * If `newChild` is a {@link DocumentFragment} object, all of its\n * children are inserted, in the same order, before `refChild`.\n *\n * If `newChild` is already in the tree, it is first removed.\n *\n * @param newChild - the node to insert\n * @param refChild - the node before which the new node must be\n * inserted\n *\n * @returns the newly inserted child node\n */\n NodeImpl.prototype.insertBefore = function (newChild, refChild) {\n /**\n * The insertBefore(node, child) method, when invoked, must return the\n * result of pre-inserting node into context object before child.\n */\n return algorithm_1.mutation_preInsert(newChild, this, refChild);\n };\n /**\n * Adds the node `newChild` to the end of the list of children of this\n * node, and returns it. If `newChild` is already in the tree, it is\n * first removed.\n *\n * If `newChild` is a {@link DocumentFragment} object, the entire\n * contents of the document fragment are moved into the child list of\n * this node.\n *\n * @param newChild - the node to add\n *\n * @returns the newly inserted child node\n */\n NodeImpl.prototype.appendChild = function (newChild) {\n /**\n * The appendChild(node) method, when invoked, must return the result of\n * appending node to context object.\n */\n return algorithm_1.mutation_append(newChild, this);\n };\n /**\n * Replaces the child node `oldChild` with `newChild` in the list of\n * children, and returns the `oldChild` node. If `newChild` is already\n * in the tree, it is first removed.\n *\n * @param newChild - the new node to put in the child list\n * @param oldChild - the node being replaced in the list\n *\n * @returns the removed child node\n */\n NodeImpl.prototype.replaceChild = function (newChild, oldChild) {\n /**\n * The replaceChild(node, child) method, when invoked, must return the\n * result of replacing child with node within context object.\n */\n return algorithm_1.mutation_replace(oldChild, newChild, this);\n };\n /**\n * Removes the child node indicated by `oldChild` from the list of\n * children, and returns it.\n *\n * @param oldChild - the node being removed from the list\n *\n * @returns the removed child node\n */\n NodeImpl.prototype.removeChild = function (oldChild) {\n /**\n * The removeChild(child) method, when invoked, must return the result of\n * pre-removing child from context object.\n */\n return algorithm_1.mutation_preRemove(oldChild, this);\n };\n /**\n * Gets the parent event target for the given event.\n *\n * @param event - an event\n */\n NodeImpl.prototype._getTheParent = function (event) {\n /**\n * A node’s get the parent algorithm, given an event, returns the node’s\n * assigned slot, if node is assigned, and node’s parent otherwise.\n */\n if (util_1.Guard.isSlotable(this) && algorithm_1.shadowTree_isAssigned(this)) {\n return this._assignedSlot;\n }\n else {\n return this._parent;\n }\n };\n NodeImpl.ELEMENT_NODE = 1;\n NodeImpl.ATTRIBUTE_NODE = 2;\n NodeImpl.TEXT_NODE = 3;\n NodeImpl.CDATA_SECTION_NODE = 4;\n NodeImpl.ENTITY_REFERENCE_NODE = 5;\n NodeImpl.ENTITY_NODE = 6;\n NodeImpl.PROCESSING_INSTRUCTION_NODE = 7;\n NodeImpl.COMMENT_NODE = 8;\n NodeImpl.DOCUMENT_NODE = 9;\n NodeImpl.DOCUMENT_TYPE_NODE = 10;\n NodeImpl.DOCUMENT_FRAGMENT_NODE = 11;\n NodeImpl.NOTATION_NODE = 12;\n NodeImpl.DOCUMENT_POSITION_DISCONNECTED = 0x01;\n NodeImpl.DOCUMENT_POSITION_PRECEDING = 0x02;\n NodeImpl.DOCUMENT_POSITION_FOLLOWING = 0x04;\n NodeImpl.DOCUMENT_POSITION_CONTAINS = 0x08;\n NodeImpl.DOCUMENT_POSITION_CONTAINED_BY = 0x10;\n NodeImpl.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;\n return NodeImpl;\n}(EventTargetImpl_1.EventTargetImpl));\nexports.NodeImpl = NodeImpl;\n/**\n * A performance tweak to share an empty set between all node classes. This will\n * be overwritten by element, document and document fragment nodes to supply an\n * actual set of nodes.\n */\nNodeImpl.prototype._children = new util_1.EmptySet();\n/**\n * Define constants on prototype.\n */\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"ELEMENT_NODE\", 1);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"ATTRIBUTE_NODE\", 2);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"TEXT_NODE\", 3);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"CDATA_SECTION_NODE\", 4);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"ENTITY_REFERENCE_NODE\", 5);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"ENTITY_NODE\", 6);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"PROCESSING_INSTRUCTION_NODE\", 7);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"COMMENT_NODE\", 8);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_NODE\", 9);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_TYPE_NODE\", 10);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_FRAGMENT_NODE\", 11);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"NOTATION_NODE\", 12);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_POSITION_DISCONNECTED\", 0x01);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_POSITION_PRECEDING\", 0x02);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_POSITION_FOLLOWING\", 0x04);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_POSITION_CONTAINS\", 0x08);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_POSITION_CONTAINED_BY\", 0x10);\nWebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, \"DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC\", 0x20);\n//# sourceMappingURL=NodeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar TraverserImpl_1 = require(\"./TraverserImpl\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents an object which can be used to iterate through the nodes\n * of a subtree.\n */\nvar NodeIteratorImpl = /** @class */ (function (_super) {\n __extends(NodeIteratorImpl, _super);\n /**\n * Initializes a new instance of `NodeIterator`.\n */\n function NodeIteratorImpl(root, reference, pointerBeforeReference) {\n var _this = _super.call(this, root) || this;\n _this._iteratorCollection = undefined;\n _this._reference = reference;\n _this._pointerBeforeReference = pointerBeforeReference;\n algorithm_1.nodeIterator_iteratorList().add(_this);\n return _this;\n }\n Object.defineProperty(NodeIteratorImpl.prototype, \"referenceNode\", {\n /** @inheritdoc */\n get: function () { return this._reference; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NodeIteratorImpl.prototype, \"pointerBeforeReferenceNode\", {\n /** @inheritdoc */\n get: function () { return this._pointerBeforeReference; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n NodeIteratorImpl.prototype.nextNode = function () {\n /**\n * The nextNode() method, when invoked, must return the result of\n * traversing with the context object and next.\n */\n return algorithm_1.nodeIterator_traverse(this, true);\n };\n /** @inheritdoc */\n NodeIteratorImpl.prototype.previousNode = function () {\n /**\n * The previousNode() method, when invoked, must return the result of\n * traversing with the context object and previous.\n */\n return algorithm_1.nodeIterator_traverse(this, false);\n };\n /** @inheritdoc */\n NodeIteratorImpl.prototype.detach = function () {\n /**\n * The detach() method, when invoked, must do nothing.\n *\n * since JS lacks weak references, we still use detach\n */\n algorithm_1.nodeIterator_iteratorList().delete(this);\n };\n /**\n * Creates a new `NodeIterator`.\n *\n * @param root - iterator's root node\n * @param reference - reference node\n * @param pointerBeforeReference - whether the iterator is before or after the\n * reference node\n */\n NodeIteratorImpl._create = function (root, reference, pointerBeforeReference) {\n return new NodeIteratorImpl(root, reference, pointerBeforeReference);\n };\n return NodeIteratorImpl;\n}(TraverserImpl_1.TraverserImpl));\nexports.NodeIteratorImpl = NodeIteratorImpl;\n//# sourceMappingURL=NodeIteratorImpl.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar util_1 = require(\"@oozcitak/util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents an ordered set of nodes.\n */\nvar NodeListImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `NodeList`.\n *\n * @param root - root node\n */\n function NodeListImpl(root) {\n this._live = true;\n this._filter = null;\n this._length = 0;\n this._root = root;\n return new Proxy(this, this);\n }\n Object.defineProperty(NodeListImpl.prototype, \"length\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The length attribute must return the number of nodes represented\n * by the collection.\n */\n return this._root._children.size;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n NodeListImpl.prototype.item = function (index) {\n /**\n * The item(index) method must return the indexth node in the collection.\n * If there is no indexth node in the collection, then the method must\n * return null.\n */\n if (index < 0 || index > this.length - 1)\n return null;\n if (index < this.length / 2) {\n var i = 0;\n var node = this._root._firstChild;\n while (node !== null && i !== index) {\n node = node._nextSibling;\n i++;\n }\n return node;\n }\n else {\n var i = this.length - 1;\n var node = this._root._lastChild;\n while (node !== null && i !== index) {\n node = node._previousSibling;\n i--;\n }\n return node;\n }\n };\n /** @inheritdoc */\n NodeListImpl.prototype.keys = function () {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var index = 0;\n return {\n next: function () {\n if (index === this.length) {\n return { done: true, value: null };\n }\n else {\n return { done: false, value: index++ };\n }\n }.bind(this)\n };\n }.bind(this),\n _a;\n };\n /** @inheritdoc */\n NodeListImpl.prototype.values = function () {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var it = this[Symbol.iterator]();\n return {\n next: function () {\n return it.next();\n }\n };\n }.bind(this),\n _a;\n };\n /** @inheritdoc */\n NodeListImpl.prototype.entries = function () {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var it = this[Symbol.iterator]();\n var index = 0;\n return {\n next: function () {\n var itResult = it.next();\n if (itResult.done) {\n return { done: true, value: null };\n }\n else {\n return { done: false, value: [index++, itResult.value] };\n }\n }\n };\n }.bind(this),\n _a;\n };\n /** @inheritdoc */\n NodeListImpl.prototype[Symbol.iterator] = function () {\n return this._root._children[Symbol.iterator]();\n };\n /** @inheritdoc */\n NodeListImpl.prototype.forEach = function (callback, thisArg) {\n var e_1, _a;\n if (thisArg === undefined) {\n thisArg = DOMImpl_1.dom.window;\n }\n var index = 0;\n try {\n for (var _b = __values(this._root._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node = _c.value;\n callback.call(thisArg, node, index++, this);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n };\n /**\n * Implements a proxy get trap to provide array-like access.\n */\n NodeListImpl.prototype.get = function (target, key, receiver) {\n if (!util_1.isString(key)) {\n return Reflect.get(target, key, receiver);\n }\n var index = Number(key);\n if (isNaN(index)) {\n return Reflect.get(target, key, receiver);\n }\n return target.item(index) || undefined;\n };\n /**\n * Implements a proxy set trap to provide array-like access.\n */\n NodeListImpl.prototype.set = function (target, key, value, receiver) {\n if (!util_1.isString(key)) {\n return Reflect.set(target, key, value, receiver);\n }\n var index = Number(key);\n if (isNaN(index)) {\n return Reflect.set(target, key, value, receiver);\n }\n var node = target.item(index) || undefined;\n if (!node)\n return false;\n if (node._parent) {\n algorithm_1.mutation_replace(node, value, node._parent);\n return true;\n }\n else {\n return false;\n }\n };\n /**\n * Creates a new `NodeList`.\n *\n * @param root - root node\n */\n NodeListImpl._create = function (root) {\n return new NodeListImpl(root);\n };\n return NodeListImpl;\n}());\nexports.NodeListImpl = NodeListImpl;\n//# sourceMappingURL=NodeListImpl.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Represents an ordered list of nodes.\n * This is a static implementation of `NodeList`.\n */\nvar NodeListStaticImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `NodeList`.\n *\n * @param root - root node\n */\n function NodeListStaticImpl(root) {\n this._live = false;\n this._items = [];\n this._length = 0;\n this._root = root;\n this._items = [];\n this._filter = function (node) { return true; };\n return new Proxy(this, this);\n }\n Object.defineProperty(NodeListStaticImpl.prototype, \"length\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The length attribute must return the number of nodes represented by\n * the collection.\n */\n return this._items.length;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n NodeListStaticImpl.prototype.item = function (index) {\n /**\n * The item(index) method must return the indexth node in the collection.\n * If there is no indexth node in the collection, then the method must\n * return null.\n */\n if (index < 0 || index > this.length - 1)\n return null;\n return this._items[index];\n };\n /** @inheritdoc */\n NodeListStaticImpl.prototype.keys = function () {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var index = 0;\n return {\n next: function () {\n if (index === this.length) {\n return { done: true, value: null };\n }\n else {\n return { done: false, value: index++ };\n }\n }.bind(this)\n };\n }.bind(this),\n _a;\n };\n /** @inheritdoc */\n NodeListStaticImpl.prototype.values = function () {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var it = this[Symbol.iterator]();\n return {\n next: function () {\n return it.next();\n }\n };\n }.bind(this),\n _a;\n };\n /** @inheritdoc */\n NodeListStaticImpl.prototype.entries = function () {\n var _a;\n return _a = {},\n _a[Symbol.iterator] = function () {\n var it = this[Symbol.iterator]();\n var index = 0;\n return {\n next: function () {\n var itResult = it.next();\n if (itResult.done) {\n return { done: true, value: null };\n }\n else {\n return { done: false, value: [index++, itResult.value] };\n }\n }\n };\n }.bind(this),\n _a;\n };\n /** @inheritdoc */\n NodeListStaticImpl.prototype[Symbol.iterator] = function () {\n var it = this._items[Symbol.iterator]();\n return {\n next: function () {\n return it.next();\n }\n };\n };\n /** @inheritdoc */\n NodeListStaticImpl.prototype.forEach = function (callback, thisArg) {\n var e_1, _a;\n if (thisArg === undefined) {\n thisArg = DOMImpl_1.dom.window;\n }\n var index = 0;\n try {\n for (var _b = __values(this._items), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node = _c.value;\n callback.call(thisArg, node, index++, this);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n };\n /**\n * Implements a proxy get trap to provide array-like access.\n */\n NodeListStaticImpl.prototype.get = function (target, key, receiver) {\n if (!util_1.isString(key)) {\n return Reflect.get(target, key, receiver);\n }\n var index = Number(key);\n if (isNaN(index)) {\n return Reflect.get(target, key, receiver);\n }\n return target._items[index] || undefined;\n };\n /**\n * Implements a proxy set trap to provide array-like access.\n */\n NodeListStaticImpl.prototype.set = function (target, key, value, receiver) {\n if (!util_1.isString(key)) {\n return Reflect.set(target, key, value, receiver);\n }\n var index = Number(key);\n if (isNaN(index)) {\n return Reflect.set(target, key, value, receiver);\n }\n if (index >= 0 && index < target._items.length) {\n target._items[index] = value;\n return true;\n }\n else {\n return false;\n }\n };\n /**\n * Creates a new `NodeList`.\n *\n * @param root - root node\n * @param items - a list of items to initialize the list\n */\n NodeListStaticImpl._create = function (root, items) {\n var list = new NodeListStaticImpl(root);\n list._items = items;\n return list;\n };\n return NodeListStaticImpl;\n}());\nexports.NodeListStaticImpl = NodeListStaticImpl;\n//# sourceMappingURL=NodeListStaticImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../util\");\n/**\n * Represents a mixin that extends child nodes that can have siblings\n * other than doctypes. This mixin is implemented by {@link Element} and\n * {@link CharacterData}.\n */\nvar NonDocumentTypeChildNodeImpl = /** @class */ (function () {\n function NonDocumentTypeChildNodeImpl() {\n }\n Object.defineProperty(NonDocumentTypeChildNodeImpl.prototype, \"previousElementSibling\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The previousElementSibling attribute’s getter must return the first\n * preceding sibling that is an element, and null otherwise.\n */\n var node = util_1.Cast.asNode(this)._previousSibling;\n while (node) {\n if (util_1.Guard.isElementNode(node))\n return node;\n else\n node = node._previousSibling;\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NonDocumentTypeChildNodeImpl.prototype, \"nextElementSibling\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The nextElementSibling attribute’s getter must return the first\n * following sibling that is an element, and null otherwise.\n */\n var node = util_1.Cast.asNode(this)._nextSibling;\n while (node) {\n if (util_1.Guard.isElementNode(node))\n return node;\n else\n node = node._nextSibling;\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n return NonDocumentTypeChildNodeImpl;\n}());\nexports.NonDocumentTypeChildNodeImpl = NonDocumentTypeChildNodeImpl;\n//# sourceMappingURL=NonDocumentTypeChildNodeImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a mixin that extends non-element parent nodes. This mixin\n * is implemented by {@link Document} and {@link DocumentFragment}.\n */\nvar NonElementParentNodeImpl = /** @class */ (function () {\n function NonElementParentNodeImpl() {\n }\n /** @inheritdoc */\n NonElementParentNodeImpl.prototype.getElementById = function (id) {\n /**\n * The getElementById(elementId) method, when invoked, must return the first\n * element, in tree order, within the context object’s descendants,\n * whose ID is elementId, and null if there is no such element otherwise.\n */\n var ele = algorithm_1.tree_getFirstDescendantNode(util_1.Cast.asNode(this), false, false, function (e) { return util_1.Guard.isElementNode(e); });\n while (ele !== null) {\n if (ele._uniqueIdentifier === id) {\n return ele;\n }\n ele = algorithm_1.tree_getNextDescendantNode(util_1.Cast.asNode(this), ele, false, false, function (e) { return util_1.Guard.isElementNode(e); });\n }\n return null;\n };\n return NonElementParentNodeImpl;\n}());\nexports.NonElementParentNodeImpl = NonElementParentNodeImpl;\n//# sourceMappingURL=NonElementParentNodeImpl.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"../util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a mixin that extends parent nodes that can have children.\n * This mixin is implemented by {@link Element}, {@link Document} and\n * {@link DocumentFragment}.\n */\nvar ParentNodeImpl = /** @class */ (function () {\n function ParentNodeImpl() {\n }\n Object.defineProperty(ParentNodeImpl.prototype, \"children\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The children attribute’s getter must return an HTMLCollection collection\n * rooted at context object matching only element children.\n */\n return algorithm_1.create_htmlCollection(util_1.Cast.asNode(this));\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ParentNodeImpl.prototype, \"firstElementChild\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The firstElementChild attribute’s getter must return the first child\n * that is an element, and null otherwise.\n */\n var node = util_1.Cast.asNode(this)._firstChild;\n while (node) {\n if (util_1.Guard.isElementNode(node))\n return node;\n else\n node = node._nextSibling;\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ParentNodeImpl.prototype, \"lastElementChild\", {\n /** @inheritdoc */\n get: function () {\n /**\n * The lastElementChild attribute’s getter must return the last child that\n * is an element, and null otherwise.\n */\n var node = util_1.Cast.asNode(this)._lastChild;\n while (node) {\n if (util_1.Guard.isElementNode(node))\n return node;\n else\n node = node._previousSibling;\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ParentNodeImpl.prototype, \"childElementCount\", {\n /** @inheritdoc */\n get: function () {\n var e_1, _a;\n /**\n * The childElementCount attribute’s getter must return the number of\n * children of context object that are elements.\n */\n var count = 0;\n try {\n for (var _b = __values(util_1.Cast.asNode(this)._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n if (util_1.Guard.isElementNode(childNode))\n count++;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return count;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n ParentNodeImpl.prototype.prepend = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n /**\n * 1. Let node be the result of converting nodes into a node given nodes\n * and context object’s node document.\n * 2. Pre-insert node into context object before the context object’s first\n * child.\n */\n var node = util_1.Cast.asNode(this);\n var childNode = algorithm_1.parentNode_convertNodesIntoANode(nodes, node._nodeDocument);\n algorithm_1.mutation_preInsert(childNode, node, node._firstChild);\n };\n /** @inheritdoc */\n ParentNodeImpl.prototype.append = function () {\n var nodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n nodes[_i] = arguments[_i];\n }\n /**\n * 1. Let node be the result of converting nodes into a node given nodes\n * and context object’s node document.\n * 2. Append node to context object.\n */\n var node = util_1.Cast.asNode(this);\n var childNode = algorithm_1.parentNode_convertNodesIntoANode(nodes, node._nodeDocument);\n algorithm_1.mutation_append(childNode, node);\n };\n /** @inheritdoc */\n ParentNodeImpl.prototype.querySelector = function (selectors) {\n /**\n * The querySelector(selectors) method, when invoked, must return the first\n * result of running scope-match a selectors string selectors against\n * context object, if the result is not an empty list, and null otherwise.\n */\n var node = util_1.Cast.asNode(this);\n var result = algorithm_1.selectors_scopeMatchASelectorsString(selectors, node);\n return (result.length === 0 ? null : result[0]);\n };\n /** @inheritdoc */\n ParentNodeImpl.prototype.querySelectorAll = function (selectors) {\n /**\n * The querySelectorAll(selectors) method, when invoked, must return the\n * static result of running scope-match a selectors string selectors against\n * context object.\n */\n var node = util_1.Cast.asNode(this);\n var result = algorithm_1.selectors_scopeMatchASelectorsString(selectors, node);\n return algorithm_1.create_nodeListStatic(node, result);\n };\n return ParentNodeImpl;\n}());\nexports.ParentNodeImpl = ParentNodeImpl;\n//# sourceMappingURL=ParentNodeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar CharacterDataImpl_1 = require(\"./CharacterDataImpl\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a processing instruction node.\n */\nvar ProcessingInstructionImpl = /** @class */ (function (_super) {\n __extends(ProcessingInstructionImpl, _super);\n /**\n * Initializes a new instance of `ProcessingInstruction`.\n */\n function ProcessingInstructionImpl(target, data) {\n var _this = _super.call(this, data) || this;\n _this._target = target;\n return _this;\n }\n Object.defineProperty(ProcessingInstructionImpl.prototype, \"target\", {\n /**\n * Gets the target of the {@link ProcessingInstruction} node.\n */\n get: function () { return this._target; },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new `ProcessingInstruction`.\n *\n * @param document - owner document\n * @param target - instruction target\n * @param data - node contents\n */\n ProcessingInstructionImpl._create = function (document, target, data) {\n var node = new ProcessingInstructionImpl(target, data);\n node._nodeDocument = document;\n return node;\n };\n return ProcessingInstructionImpl;\n}(CharacterDataImpl_1.CharacterDataImpl));\nexports.ProcessingInstructionImpl = ProcessingInstructionImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(ProcessingInstructionImpl.prototype, \"_nodeType\", interfaces_1.NodeType.ProcessingInstruction);\n//# sourceMappingURL=ProcessingInstructionImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DOMImpl_1 = require(\"./DOMImpl\");\nvar interfaces_1 = require(\"./interfaces\");\nvar AbstractRangeImpl_1 = require(\"./AbstractRangeImpl\");\nvar DOMException_1 = require(\"./DOMException\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\nvar util_1 = require(\"../util\");\n/**\n * Represents a live range.\n */\nvar RangeImpl = /** @class */ (function (_super) {\n __extends(RangeImpl, _super);\n /**\n * Initializes a new instance of `Range`.\n */\n function RangeImpl() {\n var _this = _super.call(this) || this;\n /**\n * The Range() constructor, when invoked, must return a new live range with\n * (current global object’s associated Document, 0) as its start and end.\n */\n var doc = DOMImpl_1.dom.window._associatedDocument;\n _this._start = [doc, 0];\n _this._end = [doc, 0];\n DOMImpl_1.dom.rangeList.add(_this);\n return _this;\n }\n Object.defineProperty(RangeImpl.prototype, \"commonAncestorContainer\", {\n /** @inheritdoc */\n get: function () {\n /**\n * 1. Let container be start node.\n * 2. While container is not an inclusive ancestor of end node, let\n * container be container’s parent.\n * 3. Return container.\n */\n var container = this._start[0];\n while (!algorithm_1.tree_isAncestorOf(this._end[0], container, true)) {\n if (container._parent === null) {\n throw new Error(\"Parent node is null.\");\n }\n container = container._parent;\n }\n return container;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n RangeImpl.prototype.setStart = function (node, offset) {\n /**\n * The setStart(node, offset) method, when invoked, must set the start of\n * context object to boundary point (node, offset).\n */\n algorithm_1.range_setTheStart(this, node, offset);\n };\n /** @inheritdoc */\n RangeImpl.prototype.setEnd = function (node, offset) {\n /**\n * The setEnd(node, offset) method, when invoked, must set the end of\n * context object to boundary point (node, offset).\n */\n algorithm_1.range_setTheEnd(this, node, offset);\n };\n /** @inheritdoc */\n RangeImpl.prototype.setStartBefore = function (node) {\n /**\n * 1. Let parent be node’s parent.\n * 2. If parent is null, then throw an \"InvalidNodeTypeError\" DOMException.\n * 3. Set the start of the context object to boundary point\n * (parent, node’s index).\n */\n var parent = node._parent;\n if (parent === null)\n throw new DOMException_1.InvalidNodeTypeError();\n algorithm_1.range_setTheStart(this, parent, algorithm_1.tree_index(node));\n };\n /** @inheritdoc */\n RangeImpl.prototype.setStartAfter = function (node) {\n /**\n * 1. Let parent be node’s parent.\n * 2. If parent is null, then throw an \"InvalidNodeTypeError\" DOMException.\n * 3. Set the start of the context object to boundary point\n * (parent, node’s index plus 1).\n */\n var parent = node._parent;\n if (parent === null)\n throw new DOMException_1.InvalidNodeTypeError();\n algorithm_1.range_setTheStart(this, parent, algorithm_1.tree_index(node) + 1);\n };\n /** @inheritdoc */\n RangeImpl.prototype.setEndBefore = function (node) {\n /**\n * 1. Let parent be node’s parent.\n * 2. If parent is null, then throw an \"InvalidNodeTypeError\" DOMException.\n * 3. Set the end of the context object to boundary point\n * (parent, node’s index).\n */\n var parent = node._parent;\n if (parent === null)\n throw new DOMException_1.InvalidNodeTypeError();\n algorithm_1.range_setTheEnd(this, parent, algorithm_1.tree_index(node));\n };\n /** @inheritdoc */\n RangeImpl.prototype.setEndAfter = function (node) {\n /**\n * 1. Let parent be node’s parent.\n * 2. If parent is null, then throw an \"InvalidNodeTypeError\" DOMException.\n * 3. Set the end of the context object to boundary point\n * (parent, node’s index plus 1).\n */\n var parent = node._parent;\n if (parent === null)\n throw new DOMException_1.InvalidNodeTypeError();\n algorithm_1.range_setTheEnd(this, parent, algorithm_1.tree_index(node) + 1);\n };\n /** @inheritdoc */\n RangeImpl.prototype.collapse = function (toStart) {\n /**\n * The collapse(toStart) method, when invoked, must if toStart is true,\n * set end to start, and set start to end otherwise.\n */\n if (toStart) {\n this._end = this._start;\n }\n else {\n this._start = this._end;\n }\n };\n /** @inheritdoc */\n RangeImpl.prototype.selectNode = function (node) {\n /**\n * The selectNode(node) method, when invoked, must select node within\n * context object.\n */\n algorithm_1.range_select(node, this);\n };\n /** @inheritdoc */\n RangeImpl.prototype.selectNodeContents = function (node) {\n /**\n * 1. If node is a doctype, throw an \"InvalidNodeTypeError\" DOMException.\n * 2. Let length be the length of node.\n * 3. Set start to the boundary point (node, 0).\n * 4. Set end to the boundary point (node, length).\n */\n if (util_1.Guard.isDocumentTypeNode(node))\n throw new DOMException_1.InvalidNodeTypeError();\n var length = algorithm_1.tree_nodeLength(node);\n this._start = [node, 0];\n this._end = [node, length];\n };\n /** @inheritdoc */\n RangeImpl.prototype.compareBoundaryPoints = function (how, sourceRange) {\n /**\n * 1. If how is not one of\n * - START_TO_START,\n * - START_TO_END,\n * - END_TO_END, and\n * - END_TO_START,\n * then throw a \"NotSupportedError\" DOMException.\n */\n if (how !== interfaces_1.HowToCompare.StartToStart && how !== interfaces_1.HowToCompare.StartToEnd &&\n how !== interfaces_1.HowToCompare.EndToEnd && how !== interfaces_1.HowToCompare.EndToStart)\n throw new DOMException_1.NotSupportedError();\n /**\n * 2. If context object’s root is not the same as sourceRange’s root,\n * then throw a \"WrongDocumentError\" DOMException.\n */\n if (algorithm_1.range_root(this) !== algorithm_1.range_root(sourceRange))\n throw new DOMException_1.WrongDocumentError();\n /**\n * 3. If how is:\n * - START_TO_START:\n * Let this point be the context object’s start. Let other point be\n * sourceRange’s start.\n * - START_TO_END:\n * Let this point be the context object’s end. Let other point be\n * sourceRange’s start.\n * - END_TO_END:\n * Let this point be the context object’s end. Let other point be\n * sourceRange’s end.\n * - END_TO_START:\n * Let this point be the context object’s start. Let other point be\n * sourceRange’s end.\n */\n var thisPoint;\n var otherPoint;\n switch (how) {\n case interfaces_1.HowToCompare.StartToStart:\n thisPoint = this._start;\n otherPoint = sourceRange._start;\n break;\n case interfaces_1.HowToCompare.StartToEnd:\n thisPoint = this._end;\n otherPoint = sourceRange._start;\n break;\n case interfaces_1.HowToCompare.EndToEnd:\n thisPoint = this._end;\n otherPoint = sourceRange._end;\n break;\n case interfaces_1.HowToCompare.EndToStart:\n thisPoint = this._start;\n otherPoint = sourceRange._end;\n break;\n /* istanbul ignore next */\n default:\n throw new DOMException_1.NotSupportedError();\n }\n /**\n * 4. If the position of this point relative to other point is\n * - before\n * Return −1.\n * - equal\n * Return 0.\n * - after\n * Return 1.\n */\n var position = algorithm_1.boundaryPoint_position(thisPoint, otherPoint);\n if (position === interfaces_1.BoundaryPosition.Before) {\n return -1;\n }\n else if (position === interfaces_1.BoundaryPosition.After) {\n return 1;\n }\n else {\n return 0;\n }\n };\n /** @inheritdoc */\n RangeImpl.prototype.deleteContents = function () {\n var e_1, _a, e_2, _b;\n /**\n * 1. If the context object is collapsed, then return.\n * 2. Let original start node, original start offset, original end node,\n * and original end offset be the context object’s start node,\n * start offset, end node, and end offset, respectively.\n */\n if (algorithm_1.range_collapsed(this))\n return;\n var originalStartNode = this._startNode;\n var originalStartOffset = this._startOffset;\n var originalEndNode = this._endNode;\n var originalEndOffset = this._endOffset;\n /**\n * 3. If original start node and original end node are the same, and they\n * are a Text, ProcessingInstruction, or Comment node, replace data with\n * node original start node, offset original start offset, count original\n * end offset minus original start offset, and data the empty string,\n * and then return.\n */\n if (originalStartNode === originalEndNode &&\n util_1.Guard.isCharacterDataNode(originalStartNode)) {\n algorithm_1.characterData_replaceData(originalStartNode, originalStartOffset, originalEndOffset - originalStartOffset, '');\n return;\n }\n /**\n * 4. Let nodes to remove be a list of all the nodes that are contained in\n * the context object, in tree order, omitting any node whose parent is also\n * contained in the context object.\n */\n var nodesToRemove = [];\n try {\n for (var _c = __values(algorithm_1.range_getContainedNodes(this)), _d = _c.next(); !_d.done; _d = _c.next()) {\n var node = _d.value;\n var parent = node._parent;\n if (parent !== null && algorithm_1.range_isContained(parent, this)) {\n continue;\n }\n nodesToRemove.push(node);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_1) throw e_1.error; }\n }\n var newNode;\n var newOffset;\n if (algorithm_1.tree_isAncestorOf(originalEndNode, originalStartNode, true)) {\n /**\n * 5. If original start node is an inclusive ancestor of original end\n * node, set new node to original start node and new offset to original\n * start offset.\n */\n newNode = originalStartNode;\n newOffset = originalStartOffset;\n }\n else {\n /**\n * 6. Otherwise:\n * 6.1. Let reference node equal original start node.\n * 6.2. While reference node’s parent is not null and is not an inclusive\n * ancestor of original end node, set reference node to its parent.\n * 6.3. Set new node to the parent of reference node, and new offset to\n * one plus the index of reference node.\n */\n var referenceNode = originalStartNode;\n while (referenceNode._parent !== null &&\n !algorithm_1.tree_isAncestorOf(originalEndNode, referenceNode._parent, true)) {\n referenceNode = referenceNode._parent;\n }\n /* istanbul ignore next */\n if (referenceNode._parent === null) {\n throw new Error(\"Parent node is null.\");\n }\n newNode = referenceNode._parent;\n newOffset = algorithm_1.tree_index(referenceNode) + 1;\n }\n /**\n * 7. If original start node is a Text, ProcessingInstruction, or Comment\n * node, replace data with node original start node, offset original start\n * offset, count original start node’s length minus original start offset,\n * data the empty string.\n */\n if (util_1.Guard.isCharacterDataNode(originalStartNode)) {\n algorithm_1.characterData_replaceData(originalStartNode, originalStartOffset, algorithm_1.tree_nodeLength(originalStartNode) - originalStartOffset, '');\n }\n try {\n /**\n * 8. For each node in nodes to remove, in tree order, remove node from its\n * parent.\n */\n for (var nodesToRemove_1 = __values(nodesToRemove), nodesToRemove_1_1 = nodesToRemove_1.next(); !nodesToRemove_1_1.done; nodesToRemove_1_1 = nodesToRemove_1.next()) {\n var node = nodesToRemove_1_1.value;\n /* istanbul ignore else */\n if (node._parent) {\n algorithm_1.mutation_remove(node, node._parent);\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (nodesToRemove_1_1 && !nodesToRemove_1_1.done && (_b = nodesToRemove_1.return)) _b.call(nodesToRemove_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n /**\n * 9. If original end node is a Text, ProcessingInstruction, or Comment\n * node, replace data with node original end node, offset 0, count original\n * end offset and data the empty string.\n */\n if (util_1.Guard.isCharacterDataNode(originalEndNode)) {\n algorithm_1.characterData_replaceData(originalEndNode, 0, originalEndOffset, '');\n }\n /**\n * 10. Set start and end to (new node, new offset).\n */\n this._start = [newNode, newOffset];\n this._end = [newNode, newOffset];\n };\n /** @inheritdoc */\n RangeImpl.prototype.extractContents = function () {\n /**\n * The extractContents() method, when invoked, must return the result of\n * extracting the context object.\n */\n return algorithm_1.range_extract(this);\n };\n /** @inheritdoc */\n RangeImpl.prototype.cloneContents = function () {\n /**\n * The cloneContents() method, when invoked, must return the result of\n * cloning the contents of the context object.\n */\n return algorithm_1.range_cloneTheContents(this);\n };\n /** @inheritdoc */\n RangeImpl.prototype.insertNode = function (node) {\n /**\n * The insertNode(node) method, when invoked, must insert node into the\n * context object.\n */\n return algorithm_1.range_insert(node, this);\n };\n /** @inheritdoc */\n RangeImpl.prototype.surroundContents = function (newParent) {\n var e_3, _a;\n try {\n /**\n * 1. If a non-Text node is partially contained in the context object, then\n * throw an \"InvalidStateError\" DOMException.\n */\n for (var _b = __values(algorithm_1.range_getPartiallyContainedNodes(this)), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node = _c.value;\n if (!util_1.Guard.isTextNode(node)) {\n throw new DOMException_1.InvalidStateError();\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_3) throw e_3.error; }\n }\n /**\n * 2. If newParent is a Document, DocumentType, or DocumentFragment node,\n * then throw an \"InvalidNodeTypeError\" DOMException.\n */\n if (util_1.Guard.isDocumentNode(newParent) ||\n util_1.Guard.isDocumentTypeNode(newParent) ||\n util_1.Guard.isDocumentFragmentNode(newParent)) {\n throw new DOMException_1.InvalidNodeTypeError();\n }\n /**\n * 3. Let fragment be the result of extracting the context object.\n */\n var fragment = algorithm_1.range_extract(this);\n /**\n * 4. If newParent has children, then replace all with null within newParent.\n */\n if ((newParent)._children.size !== 0) {\n algorithm_1.mutation_replaceAll(null, newParent);\n }\n /**\n * 5. Insert newParent into the context object.\n * 6. Append fragment to newParent.\n */\n algorithm_1.range_insert(newParent, this);\n algorithm_1.mutation_append(fragment, newParent);\n /**\n * 7. Select newParent within the context object.\n */\n algorithm_1.range_select(newParent, this);\n };\n /** @inheritdoc */\n RangeImpl.prototype.cloneRange = function () {\n /**\n * The cloneRange() method, when invoked, must return a new live range with\n * the same start and end as the context object.\n */\n return algorithm_1.create_range(this._start, this._end);\n };\n /** @inheritdoc */\n RangeImpl.prototype.detach = function () {\n /**\n * The detach() method, when invoked, must do nothing.\n *\n * since JS lacks weak references, we still use detach\n */\n DOMImpl_1.dom.rangeList.delete(this);\n };\n /** @inheritdoc */\n RangeImpl.prototype.isPointInRange = function (node, offset) {\n /**\n * 1. If node’s root is different from the context object’s root, return false.\n */\n if (algorithm_1.tree_rootNode(node) !== algorithm_1.range_root(this)) {\n return false;\n }\n /**\n * 2. If node is a doctype, then throw an \"InvalidNodeTypeError\" DOMException.\n * 3. If offset is greater than node’s length, then throw an\n * \"IndexSizeError\" DOMException.\n */\n if (util_1.Guard.isDocumentTypeNode(node))\n throw new DOMException_1.InvalidNodeTypeError();\n if (offset > algorithm_1.tree_nodeLength(node))\n throw new DOMException_1.IndexSizeError();\n /**\n * 4. If (node, offset) is before start or after end, return false.\n */\n var bp = [node, offset];\n if (algorithm_1.boundaryPoint_position(bp, this._start) === interfaces_1.BoundaryPosition.Before ||\n algorithm_1.boundaryPoint_position(bp, this._end) === interfaces_1.BoundaryPosition.After) {\n return false;\n }\n /**\n * 5. Return true.\n */\n return true;\n };\n /** @inheritdoc */\n RangeImpl.prototype.comparePoint = function (node, offset) {\n /**\n * 1. If node’s root is different from the context object’s root, then throw\n * a \"WrongDocumentError\" DOMException.\n * 2. If node is a doctype, then throw an \"InvalidNodeTypeError\" DOMException.\n * 3. If offset is greater than node’s length, then throw an\n * \"IndexSizeError\" DOMException.\n */\n if (algorithm_1.tree_rootNode(node) !== algorithm_1.range_root(this))\n throw new DOMException_1.WrongDocumentError();\n if (util_1.Guard.isDocumentTypeNode(node))\n throw new DOMException_1.InvalidNodeTypeError();\n if (offset > algorithm_1.tree_nodeLength(node))\n throw new DOMException_1.IndexSizeError();\n /**\n * 4. If (node, offset) is before start, return −1.\n * 5. If (node, offset) is after end, return 1.\n * 6. Return 0.\n */\n var bp = [node, offset];\n if (algorithm_1.boundaryPoint_position(bp, this._start) === interfaces_1.BoundaryPosition.Before) {\n return -1;\n }\n else if (algorithm_1.boundaryPoint_position(bp, this._end) === interfaces_1.BoundaryPosition.After) {\n return 1;\n }\n else {\n return 0;\n }\n };\n /** @inheritdoc */\n RangeImpl.prototype.intersectsNode = function (node) {\n /**\n * 1. If node’s root is different from the context object’s root, return false.\n */\n if (algorithm_1.tree_rootNode(node) !== algorithm_1.range_root(this)) {\n return false;\n }\n /**\n * 2. Let parent be node’s parent.\n * 3. If parent is null, return true.\n */\n var parent = node._parent;\n if (parent === null)\n return true;\n /**\n * 4. Let offset be node’s index.\n */\n var offset = algorithm_1.tree_index(node);\n /**\n * 5. If (parent, offset) is before end and (parent, offset plus 1) is\n * after start, return true.\n */\n if (algorithm_1.boundaryPoint_position([parent, offset], this._end) === interfaces_1.BoundaryPosition.Before &&\n algorithm_1.boundaryPoint_position([parent, offset + 1], this._start) === interfaces_1.BoundaryPosition.After) {\n return true;\n }\n /**\n * 6. Return false.\n */\n return false;\n };\n RangeImpl.prototype.toString = function () {\n var e_4, _a;\n /**\n * 1. Let s be the empty string.\n */\n var s = '';\n /**\n * 2. If the context object’s start node is the context object’s end node\n * and it is a Text node, then return the substring of that Text node’s data\n * beginning at the context object’s start offset and ending at the context\n * object’s end offset.\n */\n if (this._startNode === this._endNode && util_1.Guard.isTextNode(this._startNode)) {\n return this._startNode._data.substring(this._startOffset, this._endOffset);\n }\n /**\n * 3. If the context object’s start node is a Text node, then append the\n * substring of that node’s data from the context object’s start offset\n * until the end to s.\n */\n if (util_1.Guard.isTextNode(this._startNode)) {\n s += this._startNode._data.substring(this._startOffset);\n }\n try {\n /**\n * 4. Append the concatenation of the data of all Text nodes that are\n * contained in the context object, in tree order, to s.\n */\n for (var _b = __values(algorithm_1.range_getContainedNodes(this)), _c = _b.next(); !_c.done; _c = _b.next()) {\n var child = _c.value;\n if (util_1.Guard.isTextNode(child)) {\n s += child._data;\n }\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_4) throw e_4.error; }\n }\n /**\n * 5. If the context object’s end node is a Text node, then append the\n * substring of that node’s data from its start until the context object’s\n * end offset to s.\n */\n if (util_1.Guard.isTextNode(this._endNode)) {\n s += this._endNode._data.substring(0, this._endOffset);\n }\n /**\n * 6. Return s.\n */\n return s;\n };\n /**\n * Creates a new `Range`.\n *\n * @param start - start point\n * @param end - end point\n */\n RangeImpl._create = function (start, end) {\n var range = new RangeImpl();\n if (start)\n range._start = start;\n if (end)\n range._end = end;\n return range;\n };\n RangeImpl.START_TO_START = 0;\n RangeImpl.START_TO_END = 1;\n RangeImpl.END_TO_END = 2;\n RangeImpl.END_TO_START = 3;\n return RangeImpl;\n}(AbstractRangeImpl_1.AbstractRangeImpl));\nexports.RangeImpl = RangeImpl;\n/**\n * Define constants on prototype.\n */\nWebIDLAlgorithm_1.idl_defineConst(RangeImpl.prototype, \"START_TO_START\", 0);\nWebIDLAlgorithm_1.idl_defineConst(RangeImpl.prototype, \"START_TO_END\", 1);\nWebIDLAlgorithm_1.idl_defineConst(RangeImpl.prototype, \"END_TO_END\", 2);\nWebIDLAlgorithm_1.idl_defineConst(RangeImpl.prototype, \"END_TO_START\", 3);\n//# sourceMappingURL=RangeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DocumentFragmentImpl_1 = require(\"./DocumentFragmentImpl\");\nvar util_1 = require(\"@oozcitak/util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a shadow root.\n */\nvar ShadowRootImpl = /** @class */ (function (_super) {\n __extends(ShadowRootImpl, _super);\n /**\n * Initializes a new instance of `ShadowRoot`.\n *\n * @param host - shadow root's host element\n * @param mode - shadow root's mode\n */\n function ShadowRootImpl(host, mode) {\n var _this = _super.call(this) || this;\n _this._host = host;\n _this._mode = mode;\n return _this;\n }\n Object.defineProperty(ShadowRootImpl.prototype, \"mode\", {\n /** @inheritdoc */\n get: function () { return this._mode; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ShadowRootImpl.prototype, \"host\", {\n /** @inheritdoc */\n get: function () { return this._host; },\n enumerable: true,\n configurable: true\n });\n /**\n * Gets the parent event target for the given event.\n *\n * @param event - an event\n */\n ShadowRootImpl.prototype._getTheParent = function (event) {\n /**\n * A shadow root’s get the parent algorithm, given an event, returns null\n * if event’s composed flag is unset and shadow root is the root of\n * event’s path’s first struct’s invocation target, and shadow root’s host\n * otherwise.\n */\n if (!event._composedFlag && !util_1.isEmpty(event._path) &&\n algorithm_1.tree_rootNode(event._path[0].invocationTarget) === this) {\n return null;\n }\n else {\n return this._host;\n }\n };\n // MIXIN: DocumentOrShadowRoot\n // No elements\n /**\n * Creates a new `ShadowRoot`.\n *\n * @param document - owner document\n * @param host - shadow root's host element\n */\n ShadowRootImpl._create = function (document, host) {\n return new ShadowRootImpl(host, \"closed\");\n };\n return ShadowRootImpl;\n}(DocumentFragmentImpl_1.DocumentFragmentImpl));\nexports.ShadowRootImpl = ShadowRootImpl;\n//# sourceMappingURL=ShadowRootImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a mixin that allows nodes to become the contents of\n * a element. This mixin is implemented by {@link Element} and\n * {@link Text}.\n */\nvar SlotableImpl = /** @class */ (function () {\n function SlotableImpl() {\n }\n Object.defineProperty(SlotableImpl.prototype, \"_name\", {\n get: function () { return this.__name || ''; },\n set: function (val) { this.__name = val; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SlotableImpl.prototype, \"_assignedSlot\", {\n get: function () { return this.__assignedSlot || null; },\n set: function (val) { this.__assignedSlot = val; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SlotableImpl.prototype, \"assignedSlot\", {\n /** @inheritdoc */\n get: function () {\n return algorithm_1.shadowTree_findASlot(this, true);\n },\n enumerable: true,\n configurable: true\n });\n return SlotableImpl;\n}());\nexports.SlotableImpl = SlotableImpl;\n//# sourceMappingURL=SlotableImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar AbstractRangeImpl_1 = require(\"./AbstractRangeImpl\");\nvar DOMException_1 = require(\"./DOMException\");\nvar util_1 = require(\"../util\");\n/**\n * Represents a static range.\n */\nvar StaticRangeImpl = /** @class */ (function (_super) {\n __extends(StaticRangeImpl, _super);\n /**\n * Initializes a new instance of `StaticRange`.\n */\n function StaticRangeImpl(init) {\n var _this = _super.call(this) || this;\n /**\n * 1. If init’s startContainer or endContainer is a DocumentType or Attr\n * node, then throw an \"InvalidNodeTypeError\" DOMException.\n * 2. Let staticRange be a new StaticRange object.\n * 3. Set staticRange’s start to (init’s startContainer, init’s startOffset)\n * and end to (init’s endContainer, init’s endOffset).\n * 4. Return staticRange.\n */\n if (util_1.Guard.isDocumentTypeNode(init.startContainer) || util_1.Guard.isAttrNode(init.startContainer) ||\n util_1.Guard.isDocumentTypeNode(init.endContainer) || util_1.Guard.isAttrNode(init.endContainer)) {\n throw new DOMException_1.InvalidNodeTypeError();\n }\n _this._start = [init.startContainer, init.startOffset];\n _this._end = [init.endContainer, init.endOffset];\n return _this;\n }\n return StaticRangeImpl;\n}(AbstractRangeImpl_1.AbstractRangeImpl));\nexports.StaticRangeImpl = StaticRangeImpl;\n//# sourceMappingURL=StaticRangeImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar CharacterDataImpl_1 = require(\"./CharacterDataImpl\");\nvar algorithm_1 = require(\"../algorithm\");\nvar WebIDLAlgorithm_1 = require(\"../algorithm/WebIDLAlgorithm\");\n/**\n * Represents a text node.\n */\nvar TextImpl = /** @class */ (function (_super) {\n __extends(TextImpl, _super);\n /**\n * Initializes a new instance of `Text`.\n *\n * @param data - the text content\n */\n function TextImpl(data) {\n if (data === void 0) { data = ''; }\n var _this = _super.call(this, data) || this;\n _this._name = '';\n _this._assignedSlot = null;\n return _this;\n }\n Object.defineProperty(TextImpl.prototype, \"wholeText\", {\n /** @inheritdoc */\n get: function () {\n var e_1, _a;\n /**\n * The wholeText attribute’s getter must return the concatenation of the\n * data of the contiguous Text nodes of the context object, in tree order.\n */\n var text = '';\n try {\n for (var _b = __values(algorithm_1.text_contiguousTextNodes(this, true)), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node = _c.value;\n text = text + node._data;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return text;\n },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n TextImpl.prototype.splitText = function (offset) {\n /**\n * The splitText(offset) method, when invoked, must split context object\n * with offset offset.\n */\n return algorithm_1.text_split(this, offset);\n };\n Object.defineProperty(TextImpl.prototype, \"assignedSlot\", {\n // MIXIN: Slotable\n /* istanbul ignore next */\n get: function () { throw new Error(\"Mixin: Slotable not implemented.\"); },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a `Text`.\n *\n * @param document - owner document\n * @param data - the text content\n */\n TextImpl._create = function (document, data) {\n if (data === void 0) { data = ''; }\n var node = new TextImpl(data);\n node._nodeDocument = document;\n return node;\n };\n return TextImpl;\n}(CharacterDataImpl_1.CharacterDataImpl));\nexports.TextImpl = TextImpl;\n/**\n * Initialize prototype properties\n */\nWebIDLAlgorithm_1.idl_defineConst(TextImpl.prototype, \"_nodeType\", interfaces_1.NodeType.Text);\n//# sourceMappingURL=TextImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\n/**\n * Represents an object which can be used to iterate through the nodes\n * of a subtree.\n */\nvar TraverserImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `Traverser`.\n *\n * @param root - root node\n */\n function TraverserImpl(root) {\n this._activeFlag = false;\n this._root = root;\n this._whatToShow = interfaces_1.WhatToShow.All;\n this._filter = null;\n }\n Object.defineProperty(TraverserImpl.prototype, \"root\", {\n /** @inheritdoc */\n get: function () { return this._root; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(TraverserImpl.prototype, \"whatToShow\", {\n /** @inheritdoc */\n get: function () { return this._whatToShow; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(TraverserImpl.prototype, \"filter\", {\n /** @inheritdoc */\n get: function () { return this._filter; },\n enumerable: true,\n configurable: true\n });\n return TraverserImpl;\n}());\nexports.TraverserImpl = TraverserImpl;\n//# sourceMappingURL=TraverserImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\nvar TraverserImpl_1 = require(\"./TraverserImpl\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents the nodes of a subtree and a position within them.\n */\nvar TreeWalkerImpl = /** @class */ (function (_super) {\n __extends(TreeWalkerImpl, _super);\n /**\n * Initializes a new instance of `TreeWalker`.\n */\n function TreeWalkerImpl(root, current) {\n var _this = _super.call(this, root) || this;\n _this._current = current;\n return _this;\n }\n Object.defineProperty(TreeWalkerImpl.prototype, \"currentNode\", {\n /** @inheritdoc */\n get: function () { return this._current; },\n set: function (value) { this._current = value; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n TreeWalkerImpl.prototype.parentNode = function () {\n /**\n * 1. Let node be the context object’s current.\n * 2. While node is non-null and is not the context object’s root:\n */\n var node = this._current;\n while (node !== null && node !== this._root) {\n /**\n * 2.1. Set node to node’s parent.\n * 2.2. If node is non-null and filtering node within the context object\n * returns FILTER_ACCEPT, then set the context object’s current to node\n * and return node.\n */\n node = node._parent;\n if (node !== null &&\n algorithm_1.traversal_filter(this, node) === interfaces_1.FilterResult.Accept) {\n this._current = node;\n return node;\n }\n }\n /**\n * 3. Return null.\n */\n return null;\n };\n /** @inheritdoc */\n TreeWalkerImpl.prototype.firstChild = function () {\n /**\n * The firstChild() method, when invoked, must traverse children with the\n * context object and first.\n */\n return algorithm_1.treeWalker_traverseChildren(this, true);\n };\n /** @inheritdoc */\n TreeWalkerImpl.prototype.lastChild = function () {\n /**\n * The lastChild() method, when invoked, must traverse children with the\n * context object and last.\n */\n return algorithm_1.treeWalker_traverseChildren(this, false);\n };\n /** @inheritdoc */\n TreeWalkerImpl.prototype.nextSibling = function () {\n /**\n * The nextSibling() method, when invoked, must traverse siblings with the\n * context object and next.\n */\n return algorithm_1.treeWalker_traverseSiblings(this, true);\n };\n /** @inheritdoc */\n TreeWalkerImpl.prototype.previousNode = function () {\n /**\n * 1. Let node be the context object’s current.\n * 2. While node is not the context object’s root:\n */\n var node = this._current;\n while (node !== this._root) {\n /**\n * 2.1. Let sibling be node’s previous sibling.\n * 2.2. While sibling is non-null:\n */\n var sibling = node._previousSibling;\n while (sibling) {\n /**\n * 2.2.1. Set node to sibling.\n * 2.2.2. Let result be the result of filtering node within the context\n * object.\n */\n node = sibling;\n var result = algorithm_1.traversal_filter(this, node);\n /**\n * 2.2.3. While result is not FILTER_REJECT and node has a child:\n */\n while (result !== interfaces_1.FilterResult.Reject && node._lastChild) {\n /**\n * 2.2.3.1. Set node to node’s last child.\n * 2.2.3.2. Set result to the result of filtering node within the\n * context object.\n */\n node = node._lastChild;\n result = algorithm_1.traversal_filter(this, node);\n }\n /**\n * 2.2.4. If result is FILTER_ACCEPT, then set the context object’s\n * current to node and return node.\n */\n if (result === interfaces_1.FilterResult.Accept) {\n this._current = node;\n return node;\n }\n /**\n * 2.2.5. Set sibling to node’s previous sibling.\n */\n sibling = node._previousSibling;\n }\n /**\n * 2.3. If node is the context object’s root or node’s parent is null,\n * then return null.\n */\n if (node === this._root || node._parent === null) {\n return null;\n }\n /**\n * 2.4. Set node to node’s parent.\n */\n node = node._parent;\n /**\n * 2.5. If the return value of filtering node within the context object is\n * FILTER_ACCEPT, then set the context object’s current to node and\n * return node.\n */\n if (algorithm_1.traversal_filter(this, node) === interfaces_1.FilterResult.Accept) {\n this._current = node;\n return node;\n }\n }\n /**\n * 3. Return null.\n */\n return null;\n };\n /** @inheritdoc */\n TreeWalkerImpl.prototype.previousSibling = function () {\n /**\n * The previousSibling() method, when invoked, must traverse siblings with\n * the context object and previous.\n */\n return algorithm_1.treeWalker_traverseSiblings(this, false);\n };\n /** @inheritdoc */\n TreeWalkerImpl.prototype.nextNode = function () {\n /**\n * 1. Let node be the context object’s current.\n * 2. Let result be FILTER_ACCEPT.\n * 3. While true:\n */\n var node = this._current;\n var result = interfaces_1.FilterResult.Accept;\n while (true) {\n /**\n * 3.1. While result is not FILTER_REJECT and node has a child:\n */\n while (result !== interfaces_1.FilterResult.Reject && node._firstChild) {\n /**\n * 3.1.1. Set node to its first child.\n * 3.1.2. Set result to the result of filtering node within the context\n * object.\n * 3.1.3. If result is FILTER_ACCEPT, then set the context object’s\n * current to node and return node.\n */\n node = node._firstChild;\n result = algorithm_1.traversal_filter(this, node);\n if (result === interfaces_1.FilterResult.Accept) {\n this._current = node;\n return node;\n }\n }\n /**\n * 3.2. Let sibling be null.\n * 3.3. Let temporary be node.\n * 3.4. While temporary is non-null:\n */\n var sibling = null;\n var temporary = node;\n while (temporary !== null) {\n /**\n * 3.4.1. If temporary is the context object’s root, then return null.\n */\n if (temporary === this._root) {\n return null;\n }\n /**\n * 3.4.2. Set sibling to temporary’s next sibling.\n * 3.4.3. If sibling is non-null, then break.\n */\n sibling = temporary._nextSibling;\n if (sibling !== null) {\n node = sibling;\n break;\n }\n /**\n * 3.4.4. Set temporary to temporary’s parent.\n */\n temporary = temporary._parent;\n }\n /**\n * 3.5. Set result to the result of filtering node within the context object.\n * 3.6. If result is FILTER_ACCEPT, then set the context object’s current\n * to node and return node.\n */\n result = algorithm_1.traversal_filter(this, node);\n if (result === interfaces_1.FilterResult.Accept) {\n this._current = node;\n return node;\n }\n }\n };\n /**\n * Creates a new `TreeWalker`.\n *\n * @param root - iterator's root node\n * @param current - current node\n */\n TreeWalkerImpl._create = function (root, current) {\n return new TreeWalkerImpl(root, current);\n };\n return TreeWalkerImpl;\n}(TraverserImpl_1.TraverserImpl));\nexports.TreeWalkerImpl = TreeWalkerImpl;\n//# sourceMappingURL=TreeWalkerImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EventTargetImpl_1 = require(\"./EventTargetImpl\");\nvar util_1 = require(\"@oozcitak/util\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents a window containing a DOM document.\n */\nvar WindowImpl = /** @class */ (function (_super) {\n __extends(WindowImpl, _super);\n /**\n * Initializes a new instance of `Window`.\n */\n function WindowImpl() {\n var _this = _super.call(this) || this;\n _this._signalSlots = new Set();\n _this._mutationObserverMicrotaskQueued = false;\n _this._mutationObservers = new Set();\n _this._iteratorList = new util_1.FixedSizeSet();\n _this._associatedDocument = algorithm_1.create_document();\n return _this;\n }\n Object.defineProperty(WindowImpl.prototype, \"document\", {\n /** @inheritdoc */\n get: function () { return this._associatedDocument; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WindowImpl.prototype, \"event\", {\n /** @inheritdoc */\n get: function () { return this._currentEvent; },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new window with a blank document.\n */\n WindowImpl._create = function () {\n return new WindowImpl();\n };\n return WindowImpl;\n}(EventTargetImpl_1.EventTargetImpl));\nexports.WindowImpl = WindowImpl;\n//# sourceMappingURL=WindowImpl.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DocumentImpl_1 = require(\"./DocumentImpl\");\n/**\n * Represents an XML document.\n */\nvar XMLDocumentImpl = /** @class */ (function (_super) {\n __extends(XMLDocumentImpl, _super);\n /**\n * Initializes a new instance of `XMLDocument`.\n */\n function XMLDocumentImpl() {\n return _super.call(this) || this;\n }\n return XMLDocumentImpl;\n}(DocumentImpl_1.DocumentImpl));\nexports.XMLDocumentImpl = XMLDocumentImpl;\n//# sourceMappingURL=XMLDocumentImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\n// Import implementation classes\nvar AbortControllerImpl_1 = require(\"./AbortControllerImpl\");\nexports.AbortController = AbortControllerImpl_1.AbortControllerImpl;\nvar AbortSignalImpl_1 = require(\"./AbortSignalImpl\");\nexports.AbortSignal = AbortSignalImpl_1.AbortSignalImpl;\nvar AbstractRangeImpl_1 = require(\"./AbstractRangeImpl\");\nexports.AbstractRange = AbstractRangeImpl_1.AbstractRangeImpl;\nvar AttrImpl_1 = require(\"./AttrImpl\");\nexports.Attr = AttrImpl_1.AttrImpl;\nvar CDATASectionImpl_1 = require(\"./CDATASectionImpl\");\nexports.CDATASection = CDATASectionImpl_1.CDATASectionImpl;\nvar CharacterDataImpl_1 = require(\"./CharacterDataImpl\");\nexports.CharacterData = CharacterDataImpl_1.CharacterDataImpl;\nvar ChildNodeImpl_1 = require(\"./ChildNodeImpl\");\nvar CommentImpl_1 = require(\"./CommentImpl\");\nexports.Comment = CommentImpl_1.CommentImpl;\nvar CustomEventImpl_1 = require(\"./CustomEventImpl\");\nexports.CustomEvent = CustomEventImpl_1.CustomEventImpl;\nvar DocumentFragmentImpl_1 = require(\"./DocumentFragmentImpl\");\nexports.DocumentFragment = DocumentFragmentImpl_1.DocumentFragmentImpl;\nvar DocumentImpl_1 = require(\"./DocumentImpl\");\nexports.Document = DocumentImpl_1.DocumentImpl;\nvar DocumentOrShadowRootImpl_1 = require(\"./DocumentOrShadowRootImpl\");\nvar DocumentTypeImpl_1 = require(\"./DocumentTypeImpl\");\nexports.DocumentType = DocumentTypeImpl_1.DocumentTypeImpl;\nvar DOMImpl_1 = require(\"./DOMImpl\");\nexports.dom = DOMImpl_1.dom;\nvar DOMImplementationImpl_1 = require(\"./DOMImplementationImpl\");\nexports.DOMImplementation = DOMImplementationImpl_1.DOMImplementationImpl;\nvar DOMTokenListImpl_1 = require(\"./DOMTokenListImpl\");\nexports.DOMTokenList = DOMTokenListImpl_1.DOMTokenListImpl;\nvar ElementImpl_1 = require(\"./ElementImpl\");\nexports.Element = ElementImpl_1.ElementImpl;\nvar EventImpl_1 = require(\"./EventImpl\");\nexports.Event = EventImpl_1.EventImpl;\nvar EventTargetImpl_1 = require(\"./EventTargetImpl\");\nexports.EventTarget = EventTargetImpl_1.EventTargetImpl;\nvar HTMLCollectionImpl_1 = require(\"./HTMLCollectionImpl\");\nexports.HTMLCollection = HTMLCollectionImpl_1.HTMLCollectionImpl;\nvar MutationObserverImpl_1 = require(\"./MutationObserverImpl\");\nexports.MutationObserver = MutationObserverImpl_1.MutationObserverImpl;\nvar MutationRecordImpl_1 = require(\"./MutationRecordImpl\");\nexports.MutationRecord = MutationRecordImpl_1.MutationRecordImpl;\nvar NamedNodeMapImpl_1 = require(\"./NamedNodeMapImpl\");\nexports.NamedNodeMap = NamedNodeMapImpl_1.NamedNodeMapImpl;\nvar NodeFilterImpl_1 = require(\"./NodeFilterImpl\");\nexports.NodeFilter = NodeFilterImpl_1.NodeFilterImpl;\nvar NodeImpl_1 = require(\"./NodeImpl\");\nexports.Node = NodeImpl_1.NodeImpl;\nvar NodeIteratorImpl_1 = require(\"./NodeIteratorImpl\");\nexports.NodeIterator = NodeIteratorImpl_1.NodeIteratorImpl;\nvar NodeListImpl_1 = require(\"./NodeListImpl\");\nexports.NodeList = NodeListImpl_1.NodeListImpl;\nvar NodeListStaticImpl_1 = require(\"./NodeListStaticImpl\");\nexports.NodeListStatic = NodeListStaticImpl_1.NodeListStaticImpl;\nvar NonDocumentTypeChildNodeImpl_1 = require(\"./NonDocumentTypeChildNodeImpl\");\nvar NonElementParentNodeImpl_1 = require(\"./NonElementParentNodeImpl\");\nvar ParentNodeImpl_1 = require(\"./ParentNodeImpl\");\nvar ProcessingInstructionImpl_1 = require(\"./ProcessingInstructionImpl\");\nexports.ProcessingInstruction = ProcessingInstructionImpl_1.ProcessingInstructionImpl;\nvar RangeImpl_1 = require(\"./RangeImpl\");\nexports.Range = RangeImpl_1.RangeImpl;\nvar ShadowRootImpl_1 = require(\"./ShadowRootImpl\");\nexports.ShadowRoot = ShadowRootImpl_1.ShadowRootImpl;\nvar SlotableImpl_1 = require(\"./SlotableImpl\");\nvar StaticRangeImpl_1 = require(\"./StaticRangeImpl\");\nexports.StaticRange = StaticRangeImpl_1.StaticRangeImpl;\nvar TextImpl_1 = require(\"./TextImpl\");\nexports.Text = TextImpl_1.TextImpl;\nvar TraverserImpl_1 = require(\"./TraverserImpl\");\nexports.Traverser = TraverserImpl_1.TraverserImpl;\nvar TreeWalkerImpl_1 = require(\"./TreeWalkerImpl\");\nexports.TreeWalker = TreeWalkerImpl_1.TreeWalkerImpl;\nvar WindowImpl_1 = require(\"./WindowImpl\");\nexports.Window = WindowImpl_1.WindowImpl;\nvar XMLDocumentImpl_1 = require(\"./XMLDocumentImpl\");\nexports.XMLDocument = XMLDocumentImpl_1.XMLDocumentImpl;\n// Apply mixins\n// ChildNode\nutil_1.applyMixin(ElementImpl_1.ElementImpl, ChildNodeImpl_1.ChildNodeImpl);\nutil_1.applyMixin(CharacterDataImpl_1.CharacterDataImpl, ChildNodeImpl_1.ChildNodeImpl);\nutil_1.applyMixin(DocumentTypeImpl_1.DocumentTypeImpl, ChildNodeImpl_1.ChildNodeImpl);\n// DocumentOrShadowRoot\nutil_1.applyMixin(DocumentImpl_1.DocumentImpl, DocumentOrShadowRootImpl_1.DocumentOrShadowRootImpl);\nutil_1.applyMixin(ShadowRootImpl_1.ShadowRootImpl, DocumentOrShadowRootImpl_1.DocumentOrShadowRootImpl);\n// NonDocumentTypeChildNode\nutil_1.applyMixin(ElementImpl_1.ElementImpl, NonDocumentTypeChildNodeImpl_1.NonDocumentTypeChildNodeImpl);\nutil_1.applyMixin(CharacterDataImpl_1.CharacterDataImpl, NonDocumentTypeChildNodeImpl_1.NonDocumentTypeChildNodeImpl);\n// NonElementParentNode\nutil_1.applyMixin(DocumentImpl_1.DocumentImpl, NonElementParentNodeImpl_1.NonElementParentNodeImpl);\nutil_1.applyMixin(DocumentFragmentImpl_1.DocumentFragmentImpl, NonElementParentNodeImpl_1.NonElementParentNodeImpl);\n// ParentNode\nutil_1.applyMixin(DocumentImpl_1.DocumentImpl, ParentNodeImpl_1.ParentNodeImpl);\nutil_1.applyMixin(DocumentFragmentImpl_1.DocumentFragmentImpl, ParentNodeImpl_1.ParentNodeImpl);\nutil_1.applyMixin(ElementImpl_1.ElementImpl, ParentNodeImpl_1.ParentNodeImpl);\n// Slotable\nutil_1.applyMixin(TextImpl_1.TextImpl, SlotableImpl_1.SlotableImpl);\nutil_1.applyMixin(ElementImpl_1.ElementImpl, SlotableImpl_1.SlotableImpl);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Defines the position of a boundary point relative to another.\n */\nvar BoundaryPosition;\n(function (BoundaryPosition) {\n BoundaryPosition[BoundaryPosition[\"Before\"] = 0] = \"Before\";\n BoundaryPosition[BoundaryPosition[\"Equal\"] = 1] = \"Equal\";\n BoundaryPosition[BoundaryPosition[\"After\"] = 2] = \"After\";\n})(BoundaryPosition = exports.BoundaryPosition || (exports.BoundaryPosition = {}));\n/**\n * Defines the event phase.\n */\nvar EventPhase;\n(function (EventPhase) {\n EventPhase[EventPhase[\"None\"] = 0] = \"None\";\n EventPhase[EventPhase[\"Capturing\"] = 1] = \"Capturing\";\n EventPhase[EventPhase[\"AtTarget\"] = 2] = \"AtTarget\";\n EventPhase[EventPhase[\"Bubbling\"] = 3] = \"Bubbling\";\n})(EventPhase = exports.EventPhase || (exports.EventPhase = {}));\n/**\n * Defines the type of a node object.\n */\nvar NodeType;\n(function (NodeType) {\n NodeType[NodeType[\"Element\"] = 1] = \"Element\";\n NodeType[NodeType[\"Attribute\"] = 2] = \"Attribute\";\n NodeType[NodeType[\"Text\"] = 3] = \"Text\";\n NodeType[NodeType[\"CData\"] = 4] = \"CData\";\n NodeType[NodeType[\"EntityReference\"] = 5] = \"EntityReference\";\n NodeType[NodeType[\"Entity\"] = 6] = \"Entity\";\n NodeType[NodeType[\"ProcessingInstruction\"] = 7] = \"ProcessingInstruction\";\n NodeType[NodeType[\"Comment\"] = 8] = \"Comment\";\n NodeType[NodeType[\"Document\"] = 9] = \"Document\";\n NodeType[NodeType[\"DocumentType\"] = 10] = \"DocumentType\";\n NodeType[NodeType[\"DocumentFragment\"] = 11] = \"DocumentFragment\";\n NodeType[NodeType[\"Notation\"] = 12] = \"Notation\"; // historical\n})(NodeType = exports.NodeType || (exports.NodeType = {}));\n/**\n * Defines the position of a node in the document relative to another\n * node.\n */\nvar Position;\n(function (Position) {\n Position[Position[\"Disconnected\"] = 1] = \"Disconnected\";\n Position[Position[\"Preceding\"] = 2] = \"Preceding\";\n Position[Position[\"Following\"] = 4] = \"Following\";\n Position[Position[\"Contains\"] = 8] = \"Contains\";\n Position[Position[\"ContainedBy\"] = 16] = \"ContainedBy\";\n Position[Position[\"ImplementationSpecific\"] = 32] = \"ImplementationSpecific\";\n})(Position = exports.Position || (exports.Position = {}));\n/**\n * Defines the return value of a filter callback.\n */\nvar FilterResult;\n(function (FilterResult) {\n FilterResult[FilterResult[\"Accept\"] = 1] = \"Accept\";\n FilterResult[FilterResult[\"Reject\"] = 2] = \"Reject\";\n FilterResult[FilterResult[\"Skip\"] = 3] = \"Skip\";\n})(FilterResult = exports.FilterResult || (exports.FilterResult = {}));\n/**\n * Defines what to show in node filter.\n */\nvar WhatToShow;\n(function (WhatToShow) {\n WhatToShow[WhatToShow[\"All\"] = 4294967295] = \"All\";\n WhatToShow[WhatToShow[\"Element\"] = 1] = \"Element\";\n WhatToShow[WhatToShow[\"Attribute\"] = 2] = \"Attribute\";\n WhatToShow[WhatToShow[\"Text\"] = 4] = \"Text\";\n WhatToShow[WhatToShow[\"CDataSection\"] = 8] = \"CDataSection\";\n WhatToShow[WhatToShow[\"EntityReference\"] = 16] = \"EntityReference\";\n WhatToShow[WhatToShow[\"Entity\"] = 32] = \"Entity\";\n WhatToShow[WhatToShow[\"ProcessingInstruction\"] = 64] = \"ProcessingInstruction\";\n WhatToShow[WhatToShow[\"Comment\"] = 128] = \"Comment\";\n WhatToShow[WhatToShow[\"Document\"] = 256] = \"Document\";\n WhatToShow[WhatToShow[\"DocumentType\"] = 512] = \"DocumentType\";\n WhatToShow[WhatToShow[\"DocumentFragment\"] = 1024] = \"DocumentFragment\";\n WhatToShow[WhatToShow[\"Notation\"] = 2048] = \"Notation\";\n})(WhatToShow = exports.WhatToShow || (exports.WhatToShow = {}));\n/**\n * Defines how boundary points are compared.\n */\nvar HowToCompare;\n(function (HowToCompare) {\n HowToCompare[HowToCompare[\"StartToStart\"] = 0] = \"StartToStart\";\n HowToCompare[HowToCompare[\"StartToEnd\"] = 1] = \"StartToEnd\";\n HowToCompare[HowToCompare[\"EndToEnd\"] = 2] = \"EndToEnd\";\n HowToCompare[HowToCompare[\"EndToStart\"] = 3] = \"EndToStart\";\n})(HowToCompare = exports.HowToCompare || (exports.HowToCompare = {}));\n//# sourceMappingURL=interfaces.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dom_1 = require(\"./dom\");\ndom_1.dom.setFeatures(true);\nvar dom_2 = require(\"./dom\");\nexports.DOMImplementation = dom_2.DOMImplementation;\nvar parser_1 = require(\"./parser\");\nexports.DOMParser = parser_1.DOMParser;\nvar serializer_1 = require(\"./serializer\");\nexports.XMLSerializer = serializer_1.XMLSerializer;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar algorithm_1 = require(\"../algorithm\");\nvar XMLParserImpl_1 = require(\"./XMLParserImpl\");\n/**\n * Represents a parser for XML and HTML content.\n *\n * See: https://w3c.github.io/DOM-Parsing/#the-domparser-interface\n */\nvar DOMParserImpl = /** @class */ (function () {\n function DOMParserImpl() {\n }\n /** @inheritdoc */\n DOMParserImpl.prototype.parseFromString = function (source, mimeType) {\n if (mimeType === \"text/html\")\n throw new Error('HTML parser not implemented.');\n try {\n var parser = new XMLParserImpl_1.XMLParserImpl();\n var doc = parser.parse(source);\n doc._contentType = mimeType;\n return doc;\n }\n catch (e) {\n var errorNS = \"http://www.mozilla.org/newlayout/xml/parsererror.xml\";\n var doc = algorithm_1.create_xmlDocument();\n var root = doc.createElementNS(errorNS, \"parsererror\");\n var ele = doc.createElementNS(errorNS, \"error\");\n ele.setAttribute(\"message\", e.message);\n root.appendChild(ele);\n doc.appendChild(root);\n return doc;\n }\n };\n return DOMParserImpl;\n}());\nexports.DOMParserImpl = DOMParserImpl;\n//# sourceMappingURL=DOMParserImpl.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar XMLStringLexer_1 = require(\"./XMLStringLexer\");\nvar interfaces_1 = require(\"./interfaces\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"../algorithm\");\nvar LocalNameSet_1 = require(\"../serializer/LocalNameSet\");\n/**\n * Represents a parser for XML content.\n *\n * See: https://html.spec.whatwg.org/#xml-parser\n */\nvar XMLParserImpl = /** @class */ (function () {\n function XMLParserImpl() {\n }\n /**\n * Parses XML content.\n *\n * @param source - a string containing XML content\n */\n XMLParserImpl.prototype.parse = function (source) {\n var e_1, _a, e_2, _b;\n var lexer = new XMLStringLexer_1.XMLStringLexer(source, { skipWhitespaceOnlyText: true });\n var doc = algorithm_1.create_document();\n var context = doc;\n var token = lexer.nextToken();\n while (token.type !== interfaces_1.TokenType.EOF) {\n switch (token.type) {\n case interfaces_1.TokenType.Declaration:\n var declaration = token;\n if (declaration.version !== \"1.0\") {\n throw new Error(\"Invalid xml version: \" + declaration.version);\n }\n break;\n case interfaces_1.TokenType.DocType:\n var doctype = token;\n if (!algorithm_1.xml_isPubidChar(doctype.pubId)) {\n throw new Error(\"DocType public identifier does not match PubidChar construct.\");\n }\n if (!algorithm_1.xml_isLegalChar(doctype.sysId) ||\n (doctype.sysId.indexOf('\"') !== -1 && doctype.sysId.indexOf(\"'\") !== -1)) {\n throw new Error(\"DocType system identifier contains invalid characters.\");\n }\n context.appendChild(doc.implementation.createDocumentType(doctype.name, doctype.pubId, doctype.sysId));\n break;\n case interfaces_1.TokenType.CDATA:\n var cdata = token;\n if (!algorithm_1.xml_isLegalChar(cdata.data) ||\n cdata.data.indexOf(\"]]>\") !== -1) {\n throw new Error(\"CDATA contains invalid characters.\");\n }\n context.appendChild(doc.createCDATASection(cdata.data));\n break;\n case interfaces_1.TokenType.Comment:\n var comment = token;\n if (!algorithm_1.xml_isLegalChar(comment.data) ||\n comment.data.indexOf(\"--\") !== -1 || comment.data.endsWith(\"-\")) {\n throw new Error(\"Comment data contains invalid characters.\");\n }\n context.appendChild(doc.createComment(comment.data));\n break;\n case interfaces_1.TokenType.PI:\n var pi = token;\n if (pi.target.indexOf(\":\") !== -1 || (/^xml$/i).test(pi.target)) {\n throw new Error(\"Processing instruction target contains invalid characters.\");\n }\n if (!algorithm_1.xml_isLegalChar(pi.data) || pi.data.indexOf(\"?>\") !== -1) {\n throw new Error(\"Processing instruction data contains invalid characters.\");\n }\n context.appendChild(doc.createProcessingInstruction(pi.target, pi.data));\n break;\n case interfaces_1.TokenType.Text:\n var text = token;\n if (!algorithm_1.xml_isLegalChar(text.data)) {\n throw new Error(\"Text data contains invalid characters.\");\n }\n context.appendChild(doc.createTextNode(this._decodeText(text.data)));\n break;\n case interfaces_1.TokenType.Element:\n var element = token;\n // inherit namespace from parent\n var _c = __read(algorithm_1.namespace_extractQName(element.name), 2), prefix = _c[0], localName = _c[1];\n if (localName.indexOf(\":\") !== -1 || !algorithm_1.xml_isName(localName)) {\n throw new Error(\"Node local name contains invalid characters.\");\n }\n if (prefix === \"xmlns\") {\n throw new Error(\"An element cannot have the 'xmlns' prefix.\");\n }\n var namespace = context.lookupNamespaceURI(prefix);\n // override namespace if there is a namespace declaration\n // attribute\n // also lookup namespace declaration attributes\n var nsDeclarations = {};\n try {\n for (var _d = (e_1 = void 0, __values(element.attributes)), _e = _d.next(); !_e.done; _e = _d.next()) {\n var _f = __read(_e.value, 2), attName = _f[0], attValue = _f[1];\n if (attName === \"xmlns\") {\n namespace = attValue;\n }\n else {\n var _g = __read(algorithm_1.namespace_extractQName(attName), 2), attPrefix = _g[0], attLocalName = _g[1];\n if (attPrefix === \"xmlns\") {\n if (attLocalName === prefix) {\n namespace = attValue;\n }\n nsDeclarations[attLocalName] = attValue;\n }\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_1) throw e_1.error; }\n }\n // create the DOM element node\n var elementNode = (namespace !== null ?\n doc.createElementNS(namespace, element.name) :\n doc.createElement(element.name));\n context.appendChild(elementNode);\n // assign attributes\n var localNameSet = new LocalNameSet_1.LocalNameSet();\n try {\n for (var _h = (e_2 = void 0, __values(element.attributes)), _j = _h.next(); !_j.done; _j = _h.next()) {\n var _k = __read(_j.value, 2), attName = _k[0], attValue = _k[1];\n var _l = __read(algorithm_1.namespace_extractQName(attName), 2), attPrefix = _l[0], attLocalName = _l[1];\n var attNamespace = null;\n if (attPrefix === \"xmlns\" || (attPrefix === null && attLocalName === \"xmlns\")) {\n // namespace declaration attribute\n attNamespace = infra_1.namespace.XMLNS;\n }\n else {\n attNamespace = elementNode.lookupNamespaceURI(attPrefix);\n if (attNamespace !== null && elementNode.isDefaultNamespace(attNamespace)) {\n attNamespace = null;\n }\n else if (attNamespace === null && attPrefix !== null) {\n attNamespace = nsDeclarations[attPrefix] || null;\n }\n }\n if (localNameSet.has(attNamespace, attLocalName)) {\n throw new Error(\"Element contains duplicate attributes.\");\n }\n localNameSet.set(attNamespace, attLocalName);\n if (attNamespace === infra_1.namespace.XMLNS) {\n if (attValue === infra_1.namespace.XMLNS) {\n throw new Error(\"XMLNS namespace is reserved.\");\n }\n }\n if (attLocalName.indexOf(\":\") !== -1 || !algorithm_1.xml_isName(attLocalName)) {\n throw new Error(\"Attribute local name contains invalid characters.\");\n }\n if (attPrefix === \"xmlns\" && attValue === \"\") {\n throw new Error(\"Empty XML namespace is not allowed.\");\n }\n if (attNamespace !== null)\n elementNode.setAttributeNS(attNamespace, attName, this._decodeAttributeValue(attValue));\n else\n elementNode.setAttribute(attName, this._decodeAttributeValue(attValue));\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_j && !_j.done && (_b = _h.return)) _b.call(_h);\n }\n finally { if (e_2) throw e_2.error; }\n }\n if (!element.selfClosing) {\n context = elementNode;\n }\n break;\n case interfaces_1.TokenType.ClosingTag:\n var closingTag = token;\n if (closingTag.name !== context.nodeName) {\n throw new Error('Closing tag name does not match opening tag name.');\n }\n /* istanbul ignore else */\n if (context._parent) {\n context = context._parent;\n }\n break;\n }\n token = lexer.nextToken();\n }\n return doc;\n };\n /**\n * Decodes serialized text.\n *\n * @param text - text value to serialize\n */\n XMLParserImpl.prototype._decodeText = function (text) {\n return text == null ? text : text.replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/&/g, '&');\n };\n /**\n * Decodes serialized attribute value.\n *\n * @param text - attribute value to serialize\n */\n XMLParserImpl.prototype._decodeAttributeValue = function (text) {\n return text == null ? text : text.replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/&/g, '&');\n };\n return XMLParserImpl;\n}());\nexports.XMLParserImpl = XMLParserImpl;\n//# sourceMappingURL=XMLParserImpl.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"./interfaces\");\n/**\n * Represents a lexer for XML content in a string.\n */\nvar XMLStringLexer = /** @class */ (function () {\n /**\n * Initializes a new instance of `XMLStringLexer`.\n *\n * @param str - the string to tokenize and lex\n * @param options - lexer options\n */\n function XMLStringLexer(str, options) {\n this._options = {\n skipWhitespaceOnlyText: false\n };\n this.err = { line: -1, col: -1, index: -1, str: \"\" };\n this._str = str;\n this._index = 0;\n this._length = str.length;\n if (options) {\n this._options.skipWhitespaceOnlyText = options.skipWhitespaceOnlyText || false;\n }\n }\n /**\n * Returns the next token.\n */\n XMLStringLexer.prototype.nextToken = function () {\n if (this.eof()) {\n return { type: interfaces_1.TokenType.EOF };\n }\n var token = (this.skipIfStartsWith('<') ? this.openBracket() : this.text());\n if (this._options.skipWhitespaceOnlyText) {\n if (token.type === interfaces_1.TokenType.Text &&\n XMLStringLexer.isWhiteSpaceToken(token)) {\n token = this.nextToken();\n }\n }\n return token;\n };\n /**\n * Branches from an opening bracket (`<`).\n */\n XMLStringLexer.prototype.openBracket = function () {\n if (this.skipIfStartsWith('?')) {\n if (this.skipIfStartsWith('xml')) {\n if (XMLStringLexer.isSpace(this._str[this._index])) {\n return this.declaration();\n }\n else {\n // a processing instruction starting with xml. e.g. \n this.seek(-3);\n return this.pi();\n }\n }\n else {\n return this.pi();\n }\n }\n else if (this.skipIfStartsWith('!')) {\n if (this.skipIfStartsWith('--')) {\n return this.comment();\n }\n else if (this.skipIfStartsWith('[CDATA[')) {\n return this.cdata();\n }\n else if (this.skipIfStartsWith('DOCTYPE')) {\n return this.doctype();\n }\n else {\n this.throwError(\"Invalid '!' in opening tag.\");\n }\n }\n else if (this.skipIfStartsWith('/')) {\n return this.closeTag();\n }\n else {\n return this.openTag();\n }\n };\n /**\n * Produces an XML declaration token.\n */\n XMLStringLexer.prototype.declaration = function () {\n var version = '';\n var encoding = '';\n var standalone = '';\n while (!this.eof()) {\n this.skipSpace();\n if (this.skipIfStartsWith('?>')) {\n return { type: interfaces_1.TokenType.Declaration, version: version, encoding: encoding, standalone: standalone };\n }\n else {\n // attribute name\n var _a = __read(this.attribute(), 2), attName = _a[0], attValue = _a[1];\n if (attName === 'version')\n version = attValue;\n else if (attName === 'encoding')\n encoding = attValue;\n else if (attName === 'standalone')\n standalone = attValue;\n else\n this.throwError('Invalid attribute name: ' + attName);\n }\n }\n this.throwError('Missing declaration end symbol `?>`');\n };\n /**\n * Produces a doc type token.\n */\n XMLStringLexer.prototype.doctype = function () {\n var pubId = '';\n var sysId = '';\n // name\n this.skipSpace();\n var name = this.takeUntil2('[', '>', true);\n this.skipSpace();\n if (this.skipIfStartsWith('PUBLIC')) {\n pubId = this.quotedString();\n sysId = this.quotedString();\n }\n else if (this.skipIfStartsWith('SYSTEM')) {\n sysId = this.quotedString();\n }\n // skip internal subset\n this.skipSpace();\n if (this.skipIfStartsWith('[')) {\n // skip internal subset nodes\n this.skipUntil(']');\n if (!this.skipIfStartsWith(']')) {\n this.throwError('Missing end bracket of DTD internal subset');\n }\n }\n this.skipSpace();\n if (!this.skipIfStartsWith('>')) {\n this.throwError('Missing doctype end symbol `>`');\n }\n return { type: interfaces_1.TokenType.DocType, name: name, pubId: pubId, sysId: sysId };\n };\n /**\n * Produces a processing instruction token.\n */\n XMLStringLexer.prototype.pi = function () {\n var target = this.takeUntilStartsWith('?>', true);\n if (this.eof()) {\n this.throwError('Missing processing instruction end symbol `?>`');\n }\n this.skipSpace();\n if (this.skipIfStartsWith('?>')) {\n return { type: interfaces_1.TokenType.PI, target: target, data: '' };\n }\n var data = this.takeUntilStartsWith('?>');\n if (this.eof()) {\n this.throwError('Missing processing instruction end symbol `?>`');\n }\n this.seek(2);\n return { type: interfaces_1.TokenType.PI, target: target, data: data };\n };\n /**\n * Produces a text token.\n *\n */\n XMLStringLexer.prototype.text = function () {\n var data = this.takeUntil('<');\n return { type: interfaces_1.TokenType.Text, data: data };\n };\n /**\n * Produces a comment token.\n *\n */\n XMLStringLexer.prototype.comment = function () {\n var data = this.takeUntilStartsWith('-->');\n if (this.eof()) {\n this.throwError('Missing comment end symbol `-->`');\n }\n this.seek(3);\n return { type: interfaces_1.TokenType.Comment, data: data };\n };\n /**\n * Produces a CDATA token.\n *\n */\n XMLStringLexer.prototype.cdata = function () {\n var data = this.takeUntilStartsWith(']]>');\n if (this.eof()) {\n this.throwError('Missing CDATA end symbol `]>`');\n }\n this.seek(3);\n return { type: interfaces_1.TokenType.CDATA, data: data };\n };\n /**\n * Produces an element token.\n */\n XMLStringLexer.prototype.openTag = function () {\n // element name\n this.skipSpace();\n var name = this.takeUntil2('>', '/', true);\n this.skipSpace();\n if (this.skipIfStartsWith('>')) {\n return { type: interfaces_1.TokenType.Element, name: name, attributes: [], selfClosing: false };\n }\n else if (this.skipIfStartsWith('/>')) {\n return { type: interfaces_1.TokenType.Element, name: name, attributes: [], selfClosing: true };\n }\n // attributes\n var attributes = [];\n while (!this.eof()) {\n // end tag\n this.skipSpace();\n if (this.skipIfStartsWith('>')) {\n return { type: interfaces_1.TokenType.Element, name: name, attributes: attributes, selfClosing: false };\n }\n else if (this.skipIfStartsWith('/>')) {\n return { type: interfaces_1.TokenType.Element, name: name, attributes: attributes, selfClosing: true };\n }\n var attr = this.attribute();\n attributes.push(attr);\n }\n this.throwError('Missing opening element tag end symbol `>`');\n };\n /**\n * Produces a closing tag token.\n *\n */\n XMLStringLexer.prototype.closeTag = function () {\n this.skipSpace();\n var name = this.takeUntil('>', true);\n this.skipSpace();\n if (!this.skipIfStartsWith('>')) {\n this.throwError('Missing closing element tag end symbol `>`');\n }\n return { type: interfaces_1.TokenType.ClosingTag, name: name };\n };\n /**\n * Reads an attribute name, value pair\n */\n XMLStringLexer.prototype.attribute = function () {\n // attribute name\n this.skipSpace();\n var name = this.takeUntil('=', true);\n this.skipSpace();\n if (!this.skipIfStartsWith('=')) {\n this.throwError('Missing equals sign before attribute value');\n }\n // attribute value\n var value = this.quotedString();\n return [name, value];\n };\n /**\n * Reads a string between double or single quotes.\n */\n XMLStringLexer.prototype.quotedString = function () {\n this.skipSpace();\n var startQuote = this.take(1);\n if (!XMLStringLexer.isQuote(startQuote)) {\n this.throwError('Missing start quote character before quoted value');\n }\n var value = this.takeUntil(startQuote);\n if (!this.skipIfStartsWith(startQuote)) {\n this.throwError('Missing end quote character after quoted value');\n }\n return value;\n };\n /**\n * Determines if the current index is at or past the end of input string.\n */\n XMLStringLexer.prototype.eof = function () { return this._index >= this._length; };\n /**\n * Skips the length of the given string if the string from current position\n * starts with the given string.\n *\n * @param str - the string to match\n */\n XMLStringLexer.prototype.skipIfStartsWith = function (str) {\n var strLength = str.length;\n if (strLength === 1) {\n if (this._str[this._index] === str) {\n this._index++;\n return true;\n }\n else {\n return false;\n }\n }\n for (var i = 0; i < strLength; i++) {\n if (this._str[this._index + i] !== str[i])\n return false;\n }\n this._index += strLength;\n return true;\n };\n /**\n * Seeks a number of character codes.\n *\n * @param count - number of characters to skip\n */\n XMLStringLexer.prototype.seek = function (count) {\n this._index += count;\n if (this._index < 0)\n this._index = 0;\n if (this._index > this._length)\n this._index = this._length;\n };\n /**\n * Skips space characters.\n */\n XMLStringLexer.prototype.skipSpace = function () {\n while (!this.eof() && (XMLStringLexer.isSpace(this._str[this._index]))) {\n this._index++;\n }\n };\n /**\n * Takes a given number of characters.\n *\n * @param count - character count\n */\n XMLStringLexer.prototype.take = function (count) {\n if (count === 1) {\n return this._str[this._index++];\n }\n var startIndex = this._index;\n this.seek(count);\n return this._str.slice(startIndex, this._index);\n };\n /**\n * Takes characters until the next character matches `char`.\n *\n * @param char - a character to match\n * @param space - whether a space character stops iteration\n */\n XMLStringLexer.prototype.takeUntil = function (char, space) {\n if (space === void 0) { space = false; }\n var startIndex = this._index;\n while (this._index < this._length) {\n var c = this._str[this._index];\n if (c !== char && (!space || !XMLStringLexer.isSpace(c))) {\n this._index++;\n }\n else {\n break;\n }\n }\n return this._str.slice(startIndex, this._index);\n };\n /**\n * Takes characters until the next character matches `char1` or `char1`.\n *\n * @param char1 - a character to match\n * @param char2 - a character to match\n * @param space - whether a space character stops iteration\n */\n XMLStringLexer.prototype.takeUntil2 = function (char1, char2, space) {\n if (space === void 0) { space = false; }\n var startIndex = this._index;\n while (this._index < this._length) {\n var c = this._str[this._index];\n if (c !== char1 && c !== char2 && (!space || !XMLStringLexer.isSpace(c))) {\n this._index++;\n }\n else {\n break;\n }\n }\n return this._str.slice(startIndex, this._index);\n };\n /**\n * Takes characters until the next characters matches `str`.\n *\n * @param str - a string to match\n * @param space - whether a space character stops iteration\n */\n XMLStringLexer.prototype.takeUntilStartsWith = function (str, space) {\n if (space === void 0) { space = false; }\n var startIndex = this._index;\n var strLength = str.length;\n while (this._index < this._length) {\n var match = true;\n for (var i = 0; i < strLength; i++) {\n var c = this._str[this._index + i];\n var char = str[i];\n if (space && XMLStringLexer.isSpace(c)) {\n return this._str.slice(startIndex, this._index);\n }\n else if (c !== char) {\n this._index++;\n match = false;\n break;\n }\n }\n if (match)\n return this._str.slice(startIndex, this._index);\n }\n this._index = this._length;\n return this._str.slice(startIndex);\n };\n /**\n * Skips characters until the next character matches `char`.\n *\n * @param char - a character to match\n */\n XMLStringLexer.prototype.skipUntil = function (char) {\n while (this._index < this._length) {\n var c = this._str[this._index];\n if (c !== char) {\n this._index++;\n }\n else {\n break;\n }\n }\n };\n /**\n * Determines if the given token is entirely whitespace.\n *\n * @param token - the token to check\n */\n XMLStringLexer.isWhiteSpaceToken = function (token) {\n var str = token.data;\n for (var i = 0; i < str.length; i++) {\n var c = str[i];\n if (c !== ' ' && c !== '\\n' && c !== '\\r' && c !== '\\t' && c !== '\\f')\n return false;\n }\n return true;\n };\n /**\n * Determines if the given character is whitespace.\n *\n * @param char - the character to check\n */\n XMLStringLexer.isSpace = function (char) {\n return char === ' ' || char === '\\n' || char === '\\r' || char === '\\t';\n };\n /**\n * Determines if the given character is a quote character.\n *\n * @param char - the character to check\n */\n XMLStringLexer.isQuote = function (char) {\n return (char === '\"' || char === '\\'');\n };\n /**\n * Throws a parser error and records the line and column numbers in the parsed\n * string.\n *\n * @param msg - error message\n */\n XMLStringLexer.prototype.throwError = function (msg) {\n var regexp = /\\r\\n|\\r|\\n/g;\n var match = null;\n var line = 0;\n var firstNewLineIndex = 0;\n var lastNewlineIndex = this._str.length;\n while ((match = regexp.exec(this._str)) !== null) {\n if (match === null)\n break;\n line++;\n if (match.index < this._index)\n firstNewLineIndex = regexp.lastIndex;\n if (match.index > this._index) {\n lastNewlineIndex = match.index;\n break;\n }\n }\n this.err = {\n line: line,\n col: this._index - firstNewLineIndex,\n index: this._index,\n str: this._str.substring(firstNewLineIndex, lastNewlineIndex)\n };\n throw new Error(msg + \"\\nIndex: \" + this.err.index +\n \"\\nLn: \" + this.err.line + \", Col: \" + this.err.col +\n \"\\nInput: \" + this.err.str);\n };\n /**\n * Returns an iterator for the lexer.\n */\n XMLStringLexer.prototype[Symbol.iterator] = function () {\n this._index = 0;\n return {\n next: function () {\n var token = this.nextToken();\n if (token.type === interfaces_1.TokenType.EOF) {\n return { done: true, value: null };\n }\n else {\n return { done: false, value: token };\n }\n }.bind(this)\n };\n };\n return XMLStringLexer;\n}());\nexports.XMLStringLexer = XMLStringLexer;\n//# sourceMappingURL=XMLStringLexer.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Export classes\nvar DOMParserImpl_1 = require(\"./DOMParserImpl\");\nexports.DOMParser = DOMParserImpl_1.DOMParserImpl;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Defines the type of a token.\n */\nvar TokenType;\n(function (TokenType) {\n TokenType[TokenType[\"EOF\"] = 0] = \"EOF\";\n TokenType[TokenType[\"Declaration\"] = 1] = \"Declaration\";\n TokenType[TokenType[\"DocType\"] = 2] = \"DocType\";\n TokenType[TokenType[\"Element\"] = 3] = \"Element\";\n TokenType[TokenType[\"Text\"] = 4] = \"Text\";\n TokenType[TokenType[\"CDATA\"] = 5] = \"CDATA\";\n TokenType[TokenType[\"PI\"] = 6] = \"PI\";\n TokenType[TokenType[\"Comment\"] = 7] = \"Comment\";\n TokenType[TokenType[\"ClosingTag\"] = 8] = \"ClosingTag\";\n})(TokenType = exports.TokenType || (exports.TokenType = {}));\n//# sourceMappingURL=interfaces.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a set of unique attribute namespaceURI and localName pairs.\n * This set will contain tuples of unique attribute namespaceURI and\n * localName pairs, and is populated as each attr is processed. This set is\n * used to [optionally] enforce the well-formed constraint that an element\n * cannot have two attributes with the same namespaceURI and localName.\n * This can occur when two otherwise identical attributes on the same\n * element differ only by their prefix values.\n */\nvar LocalNameSet = /** @class */ (function () {\n function LocalNameSet() {\n // tuple storage\n this._items = {};\n this._nullItems = {};\n }\n /**\n * Adds or replaces a tuple.\n *\n * @param ns - namespace URI\n * @param localName - attribute local name\n */\n LocalNameSet.prototype.set = function (ns, localName) {\n if (ns === null) {\n this._nullItems[localName] = true;\n }\n else if (this._items[ns]) {\n this._items[ns][localName] = true;\n }\n else {\n this._items[ns] = {};\n this._items[ns][localName] = true;\n }\n };\n /**\n * Determines if the given tuple exists in the set.\n *\n * @param ns - namespace URI\n * @param localName - attribute local name\n */\n LocalNameSet.prototype.has = function (ns, localName) {\n if (ns === null) {\n return this._nullItems[localName] === true;\n }\n else if (this._items[ns]) {\n return this._items[ns][localName] === true;\n }\n else {\n return false;\n }\n };\n return LocalNameSet;\n}());\nexports.LocalNameSet = LocalNameSet;\n//# sourceMappingURL=LocalNameSet.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * A namespace prefix map is a map that associates namespaceURI and namespace\n * prefix lists, where namespaceURI values are the map's unique keys (which can\n * include the null value representing no namespace), and ordered lists of\n * associated prefix values are the map's key values. The namespace prefix map\n * will be populated by previously seen namespaceURIs and all their previously\n * encountered prefix associations for a given node and its ancestors.\n *\n * _Note:_ The last seen prefix for a given namespaceURI is at the end of its\n * respective list. The list is searched to find potentially matching prefixes,\n * and if no matches are found for the given namespaceURI, then the last prefix\n * in the list is used. See copy a namespace prefix map and retrieve a preferred\n * prefix string for additional details.\n *\n * See: https://w3c.github.io/DOM-Parsing/#the-namespace-prefix-map\n */\nvar NamespacePrefixMap = /** @class */ (function () {\n function NamespacePrefixMap() {\n this._items = {};\n this._nullItems = [];\n }\n /**\n * Creates a copy of the map.\n */\n NamespacePrefixMap.prototype.copy = function () {\n /**\n * To copy a namespace prefix map map means to copy the map's keys into a\n * new empty namespace prefix map, and to copy each of the values in the\n * namespace prefix list associated with each keys' value into a new list\n * which should be associated with the respective key in the new map.\n */\n var mapCopy = new NamespacePrefixMap();\n for (var key in this._items) {\n mapCopy._items[key] = this._items[key].slice(0);\n }\n mapCopy._nullItems = this._nullItems.slice(0);\n return mapCopy;\n };\n /**\n * Retrieves a preferred prefix string from the namespace prefix map.\n *\n * @param preferredPrefix - preferred prefix string\n * @param ns - namespace\n */\n NamespacePrefixMap.prototype.get = function (preferredPrefix, ns) {\n /**\n * 1. Let candidates list be the result of retrieving a list from map where\n * there exists a key in map that matches the value of ns or if there is no\n * such key, then stop running these steps, and return the null value.\n */\n var candidatesList = ns === null ? this._nullItems : (this._items[ns] || null);\n if (candidatesList === null) {\n return null;\n }\n /**\n * 2. Otherwise, for each prefix value prefix in candidates list, iterating\n * from beginning to end:\n *\n * _Note:_ There will always be at least one prefix value in the list.\n */\n var prefix = null;\n for (var i = 0; i < candidatesList.length; i++) {\n prefix = candidatesList[i];\n /**\n * 2.1. If prefix matches preferred prefix, then stop running these steps\n * and return prefix.\n */\n if (prefix === preferredPrefix) {\n return prefix;\n }\n }\n /**\n * 2.2. If prefix is the last item in the candidates list, then stop\n * running these steps and return prefix.\n */\n return prefix;\n };\n /**\n * Checks if a prefix string is found in the namespace prefix map associated\n * with the given namespace.\n *\n * @param prefix - prefix string\n * @param ns - namespace\n */\n NamespacePrefixMap.prototype.has = function (prefix, ns) {\n /**\n * 1. Let candidates list be the result of retrieving a list from map where\n * there exists a key in map that matches the value of ns or if there is\n * no such key, then stop running these steps, and return false.\n */\n var candidatesList = ns === null ? this._nullItems : (this._items[ns] || null);\n if (candidatesList === null) {\n return false;\n }\n /**\n * 2. If the value of prefix occurs at least once in candidates list,\n * return true, otherwise return false.\n */\n return (candidatesList.indexOf(prefix) !== -1);\n };\n /**\n * Checks if a prefix string is found in the namespace prefix map.\n *\n * @param prefix - prefix string\n */\n NamespacePrefixMap.prototype.hasPrefix = function (prefix) {\n if (this._nullItems.indexOf(prefix) !== -1)\n return true;\n for (var key in this._items) {\n if (this._items[key].indexOf(prefix) !== -1)\n return true;\n }\n return false;\n };\n /**\n * Adds a prefix string associated with a namespace to the prefix map.\n *\n * @param prefix - prefix string\n * @param ns - namespace\n */\n NamespacePrefixMap.prototype.set = function (prefix, ns) {\n /**\n * 1. Let candidates list be the result of retrieving a list from map where\n * there exists a key in map that matches the value of ns or if there is\n * no such key, then let candidates list be null.\n */\n var candidatesList = ns === null ? this._nullItems : (this._items[ns] || null);\n /**\n * 2. If candidates list is null, then create a new list with prefix as the\n * only item in the list, and associate that list with a new key ns in map.\n * 3. Otherwise, append prefix to the end of candidates list.\n *\n * _Note:_ The steps in retrieve a preferred prefix string use the list to\n * track the most recently used (MRU) prefix associated with a given\n * namespace, which will be the prefix at the end of the list. This list\n * may contain duplicates of the same prefix value seen earlier\n * (and that's OK).\n */\n if (ns !== null && candidatesList === null) {\n this._items[ns] = [prefix];\n }\n else {\n candidatesList.push(prefix);\n }\n };\n return NamespacePrefixMap;\n}());\nexports.NamespacePrefixMap = NamespacePrefixMap;\n//# sourceMappingURL=NamespacePrefixMap.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../dom/interfaces\");\nvar LocalNameSet_1 = require(\"./LocalNameSet\");\nvar NamespacePrefixMap_1 = require(\"./NamespacePrefixMap\");\nvar DOMException_1 = require(\"../dom/DOMException\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"../algorithm\");\n/**\n * Represents an XML serializer.\n *\n * Implements: https://www.w3.org/TR/DOM-Parsing/#serializing\n */\nvar XMLSerializerImpl = /** @class */ (function () {\n function XMLSerializerImpl() {\n }\n /** @inheritdoc */\n XMLSerializerImpl.prototype.serializeToString = function (root) {\n /**\n * The serializeToString(root) method must produce an XML serialization\n * of root passing a value of false for the require well-formed parameter,\n * and return the result.\n */\n return this._xmlSerialization(root, false);\n };\n /**\n * Produces an XML serialization of the given node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._xmlSerialization = function (node, requireWellFormed) {\n // To increase performance, use a namespace-aware serializer only if the\n // document has namespaced elements\n if (node._nodeDocument === undefined || node._nodeDocument._hasNamespaces) {\n /** From: https://w3c.github.io/DOM-Parsing/#xml-serialization\n *\n * 1. Let namespace be a context namespace with value null.\n * The context namespace tracks the XML serialization algorithm's current\n * default namespace. The context namespace is changed when either an Element\n * Node has a default namespace declaration, or the algorithm generates a\n * default namespace declaration for the Element Node to match its own\n * namespace. The algorithm assumes no namespace (null) to start.\n * 2. Let prefix map be a new namespace prefix map.\n * 3. Add the XML namespace with prefix value \"xml\" to prefix map.\n * 4. Let prefix index be a generated namespace prefix index with value 1.\n * The generated namespace prefix index is used to generate a new unique\n * prefix value when no suitable existing namespace prefix is available to\n * serialize a node's namespaceURI (or the namespaceURI of one of node's\n * attributes). See the generate a prefix algorithm.\n */\n var namespace = null;\n var prefixMap = new NamespacePrefixMap_1.NamespacePrefixMap();\n prefixMap.set(\"xml\", infra_1.namespace.XML);\n var prefixIndex = { value: 1 };\n /**\n * 5. Return the result of running the XML serialization algorithm on node\n * passing the context namespace namespace, namespace prefix map prefix map,\n * generated namespace prefix index reference to prefix index, and the\n * flag require well-formed. If an exception occurs during the execution\n * of the algorithm, then catch that exception and throw an\n * \"InvalidStateError\" DOMException.\n */\n try {\n return this._serializeNodeNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n }\n catch (_a) {\n throw new DOMException_1.InvalidStateError();\n }\n }\n else {\n try {\n return this._serializeNode(node, requireWellFormed);\n }\n catch (_b) {\n throw new DOMException_1.InvalidStateError();\n }\n }\n };\n /**\n * Produces an XML serialization of a node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeNodeNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n switch (node.nodeType) {\n case interfaces_1.NodeType.Element:\n return this._serializeElementNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n case interfaces_1.NodeType.Document:\n return this._serializeDocumentNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n case interfaces_1.NodeType.Comment:\n return this._serializeComment(node, requireWellFormed);\n case interfaces_1.NodeType.Text:\n return this._serializeText(node, requireWellFormed);\n case interfaces_1.NodeType.DocumentFragment:\n return this._serializeDocumentFragmentNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n case interfaces_1.NodeType.DocumentType:\n return this._serializeDocumentType(node, requireWellFormed);\n case interfaces_1.NodeType.ProcessingInstruction:\n return this._serializeProcessingInstruction(node, requireWellFormed);\n case interfaces_1.NodeType.CData:\n return this._serializeCData(node, requireWellFormed);\n default:\n throw new Error(\"Unknown node type: \" + node.nodeType);\n }\n };\n /**\n * Produces an XML serialization of a node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeNode = function (node, requireWellFormed) {\n switch (node.nodeType) {\n case interfaces_1.NodeType.Element:\n return this._serializeElement(node, requireWellFormed);\n case interfaces_1.NodeType.Document:\n return this._serializeDocument(node, requireWellFormed);\n case interfaces_1.NodeType.Comment:\n return this._serializeComment(node, requireWellFormed);\n case interfaces_1.NodeType.Text:\n return this._serializeText(node, requireWellFormed);\n case interfaces_1.NodeType.DocumentFragment:\n return this._serializeDocumentFragment(node, requireWellFormed);\n case interfaces_1.NodeType.DocumentType:\n return this._serializeDocumentType(node, requireWellFormed);\n case interfaces_1.NodeType.ProcessingInstruction:\n return this._serializeProcessingInstruction(node, requireWellFormed);\n case interfaces_1.NodeType.CData:\n return this._serializeCData(node, requireWellFormed);\n default:\n throw new Error(\"Unknown node type: \" + node.nodeType);\n }\n };\n /**\n * Produces an XML serialization of an element node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeElementNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n var e_1, _a;\n /**\n * From: https://w3c.github.io/DOM-Parsing/#xml-serializing-an-element-node\n *\n * 1. If the require well-formed flag is set (its value is true), and this\n * node's localName attribute contains the character \":\" (U+003A COLON) or\n * does not match the XML Name production, then throw an exception; the\n * serialization of this node would not be a well-formed element.\n */\n if (requireWellFormed && (node.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(node.localName))) {\n throw new Error(\"Node local name contains invalid characters (well-formed required).\");\n }\n /**\n * 2. Let markup be the string \"<\" (U+003C LESS-THAN SIGN).\n * 3. Let qualified name be an empty string.\n * 4. Let skip end tag be a boolean flag with value false.\n * 5. Let ignore namespace definition attribute be a boolean flag with value\n * false.\n * 6. Given prefix map, copy a namespace prefix map and let map be the\n * result.\n * 7. Let local prefixes map be an empty map. The map has unique Node prefix\n * strings as its keys, with corresponding namespaceURI Node values as the\n * map's key values (in this map, the null namespace is represented by the\n * empty string).\n *\n * _Note:_ This map is local to each element. It is used to ensure there\n * are no conflicting prefixes should a new namespace prefix attribute need\n * to be generated. It is also used to enable skipping of duplicate prefix\n * definitions when writing an element's attributes: the map allows the\n * algorithm to distinguish between a prefix in the namespace prefix map\n * that might be locally-defined (to the current Element) and one that is\n * not.\n * 8. Let local default namespace be the result of recording the namespace\n * information for node given map and local prefixes map.\n *\n * _Note:_ The above step will update map with any found namespace prefix\n * definitions, add the found prefix definitions to the local prefixes map\n * and return a local default namespace value defined by a default namespace\n * attribute if one exists. Otherwise it returns null.\n * 9. Let inherited ns be a copy of namespace.\n * 10. Let ns be the value of node's namespaceURI attribute.\n */\n var markup = \"<\";\n var qualifiedName = '';\n var skipEndTag = false;\n var ignoreNamespaceDefinitionAttribute = false;\n var map = prefixMap.copy();\n var localPrefixesMap = {};\n var localDefaultNamespace = this._recordNamespaceInformation(node, map, localPrefixesMap);\n var inheritedNS = namespace;\n var ns = node.namespaceURI;\n /** 11. If inherited ns is equal to ns, then: */\n if (inheritedNS === ns) {\n /**\n * 11.1. If local default namespace is not null, then set ignore\n * namespace definition attribute to true.\n */\n if (localDefaultNamespace !== null) {\n ignoreNamespaceDefinitionAttribute = true;\n }\n /**\n * 11.2. If ns is the XML namespace, then append to qualified name the\n * concatenation of the string \"xml:\" and the value of node's localName.\n * 11.3. Otherwise, append to qualified name the value of node's\n * localName. The node's prefix if it exists, is dropped.\n */\n if (ns === infra_1.namespace.XML) {\n qualifiedName = 'xml:' + node.localName;\n }\n else {\n qualifiedName = node.localName;\n }\n /** 11.4. Append the value of qualified name to markup. */\n markup += qualifiedName;\n }\n else {\n /**\n * 12. Otherwise, inherited ns is not equal to ns (the node's own\n * namespace is different from the context namespace of its parent).\n * Run these sub-steps:\n *\n * 12.1. Let prefix be the value of node's prefix attribute.\n * 12.2. Let candidate prefix be the result of retrieving a preferred\n * prefix string prefix from map given namespace ns. The above may return\n * null if no namespace key ns exists in map.\n */\n var prefix = node.prefix;\n /**\n * We don't need to run \"retrieving a preferred prefix string\" algorithm if\n * the element has no prefix and its namespace matches to the default\n * namespace.\n * See: https://github.com/web-platform-tests/wpt/pull/16703\n */\n var candidatePrefix = null;\n if (prefix !== null || ns !== localDefaultNamespace) {\n candidatePrefix = map.get(prefix, ns);\n }\n /**\n * 12.3. If the value of prefix matches \"xmlns\", then run the following\n * steps:\n */\n if (prefix === \"xmlns\") {\n /**\n * 12.3.1. If the require well-formed flag is set, then throw an error.\n * An Element with prefix \"xmlns\" will not legally round-trip in a\n * conforming XML parser.\n */\n if (requireWellFormed) {\n throw new Error(\"An element cannot have the 'xmlns' prefix (well-formed required).\");\n }\n /**\n * 12.3.2. Let candidate prefix be the value of prefix.\n */\n candidatePrefix = prefix;\n }\n /**\n * 12.4.Found a suitable namespace prefix: if candidate prefix is not\n * null (a namespace prefix is defined which maps to ns), then:\n */\n if (candidatePrefix !== null) {\n /**\n * The following may serialize a different prefix than the Element's\n * existing prefix if it already had one. However, the retrieving a\n * preferred prefix string algorithm already tried to match the\n * existing prefix if possible.\n *\n * 12.4.1. Append to qualified name the concatenation of candidate\n * prefix, \":\" (U+003A COLON), and node's localName. There exists on\n * this node or the node's ancestry a namespace prefix definition that\n * defines the node's namespace.\n * 12.4.2. If the local default namespace is not null (there exists a\n * locally-defined default namespace declaration attribute) and its\n * value is not the XML namespace, then let inherited ns get the value\n * of local default namespace unless the local default namespace is the\n * empty string in which case let it get null (the context namespace\n * is changed to the declared default, rather than this node's own\n * namespace).\n *\n * _Note:_ Any default namespace definitions or namespace prefixes that\n * define the XML namespace are omitted when serializing this node's\n * attributes.\n */\n qualifiedName = candidatePrefix + ':' + node.localName;\n if (localDefaultNamespace !== null && localDefaultNamespace !== infra_1.namespace.XML) {\n inheritedNS = localDefaultNamespace || null;\n }\n /**\n * 12.4.3. Append the value of qualified name to markup.\n */\n markup += qualifiedName;\n /** 12.5. Otherwise, if prefix is not null, then: */\n }\n else if (prefix !== null) {\n /**\n * _Note:_ By this step, there is no namespace or prefix mapping\n * declaration in this node (or any parent node visited by this\n * algorithm) that defines prefix otherwise the step labelled Found\n * a suitable namespace prefix would have been followed. The sub-steps\n * that follow will create a new namespace prefix declaration for prefix\n * and ensure that prefix does not conflict with an existing namespace\n * prefix declaration of the same localName in node's attribute list.\n *\n * 12.5.1. If the local prefixes map contains a key matching prefix,\n * then let prefix be the result of generating a prefix providing as\n * input map, ns, and prefix index.\n */\n if (prefix in localPrefixesMap) {\n prefix = this._generatePrefix(ns, map, prefixIndex);\n }\n /**\n * 12.5.2. Add prefix to map given namespace ns.\n * 12.5.3. Append to qualified name the concatenation of prefix, \":\"\n * (U+003A COLON), and node's localName.\n * 12.5.4. Append the value of qualified name to markup.\n */\n map.set(prefix, ns);\n qualifiedName += prefix + ':' + node.localName;\n markup += qualifiedName;\n /**\n * 12.5.5. Append the following to markup, in the order listed:\n *\n * _Note:_ The following serializes a namespace prefix declaration for\n * prefix which was just added to the map.\n *\n * 12.5.5.1. \" \" (U+0020 SPACE);\n * 12.5.5.2. The string \"xmlns:\";\n * 12.5.5.3. The value of prefix;\n * 12.5.5.4. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 12.5.5.5. The result of serializing an attribute value given ns and\n * the require well-formed flag as input;\n * 12.5.5.6. \"\"\" (U+0022 QUOTATION MARK).\n */\n markup += \" xmlns:\" + prefix + \"=\\\"\" +\n this._serializeAttributeValue(ns, requireWellFormed) + \"\\\"\";\n /**\n * 12.5.5.7. If local default namespace is not null (there exists a\n * locally-defined default namespace declaration attribute), then\n * let inherited ns get the value of local default namespace unless the\n * local default namespace is the empty string in which case let it get\n * null.\n */\n if (localDefaultNamespace !== null) {\n inheritedNS = localDefaultNamespace || null;\n }\n /**\n * 12.6. Otherwise, if local default namespace is null, or local\n * default namespace is not null and its value is not equal to ns, then:\n */\n }\n else if (localDefaultNamespace === null ||\n (localDefaultNamespace !== null && localDefaultNamespace !== ns)) {\n /**\n * _Note:_ At this point, the namespace for this node still needs to be\n * serialized, but there's no prefix (or candidate prefix) available; the\n * following uses the default namespace declaration to define the\n * namespace--optionally replacing an existing default declaration\n * if present.\n *\n * 12.6.1. Set the ignore namespace definition attribute flag to true.\n * 12.6.2. Append to qualified name the value of node's localName.\n * 12.6.3. Let the value of inherited ns be ns.\n *\n * _Note:_ The new default namespace will be used in the serialization\n * to define this node's namespace and act as the context namespace for\n * its children.\n */\n ignoreNamespaceDefinitionAttribute = true;\n qualifiedName += node.localName;\n inheritedNS = ns;\n /**\n * 12.6.4. Append the value of qualified name to markup.\n */\n markup += qualifiedName;\n /**\n * 12.6.5. Append the following to markup, in the order listed:\n *\n * _Note:_ The following serializes the new (or replacement) default\n * namespace definition.\n *\n * 12.6.5.1. \" \" (U+0020 SPACE);\n * 12.6.5.2. The string \"xmlns\";\n * 12.6.5.3. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 12.6.5.4. The result of serializing an attribute value given ns\n * and the require well-formed flag as input;\n * 12.6.5.5. \"\"\" (U+0022 QUOTATION MARK).\n */\n markup += \" xmlns\" + \"=\\\"\" +\n this._serializeAttributeValue(ns, requireWellFormed) + \"\\\"\";\n /**\n * 12.7. Otherwise, the node has a local default namespace that matches\n * ns. Append to qualified name the value of node's localName, let the\n * value of inherited ns be ns, and append the value of qualified name\n * to markup.\n */\n }\n else {\n qualifiedName += node.localName;\n inheritedNS = ns;\n markup += qualifiedName;\n }\n }\n /**\n * 13. Append to markup the result of the XML serialization of node's\n * attributes given map, prefix index, local prefixes map, ignore namespace\n * definition attribute flag, and require well-formed flag.\n */\n markup += this._serializeAttributesNS(node, map, prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, requireWellFormed);\n /**\n * 14. If ns is the HTML namespace, and the node's list of children is\n * empty, and the node's localName matches any one of the following void\n * elements: \"area\", \"base\", \"basefont\", \"bgsound\", \"br\", \"col\", \"embed\",\n * \"frame\", \"hr\", \"img\", \"input\", \"keygen\", \"link\", \"menuitem\", \"meta\",\n * \"param\", \"source\", \"track\", \"wbr\"; then append the following to markup,\n * in the order listed:\n * 14.1. \" \" (U+0020 SPACE);\n * 14.2. \"/\" (U+002F SOLIDUS).\n * and set the skip end tag flag to true.\n * 15. If ns is not the HTML namespace, and the node's list of children is\n * empty, then append \"/\" (U+002F SOLIDUS) to markup and set the skip end\n * tag flag to true.\n * 16. Append \">\" (U+003E GREATER-THAN SIGN) to markup.\n */\n var isHTML = (ns === infra_1.namespace.HTML);\n if (isHTML && node.childNodes.length === 0 &&\n XMLSerializerImpl._VoidElementNames.has(node.localName)) {\n markup += \" /\";\n skipEndTag = true;\n }\n else if (!isHTML && node.childNodes.length === 0) {\n markup += \"/\";\n skipEndTag = true;\n }\n markup += \">\";\n /**\n * 17. If the value of skip end tag is true, then return the value of markup\n * and skip the remaining steps. The node is a leaf-node.\n */\n if (skipEndTag)\n return markup;\n /**\n * 18. If ns is the HTML namespace, and the node's localName matches the\n * string \"template\", then this is a template element. Append to markup the\n * result of XML serializing a DocumentFragment node given the template\n * element's template contents (a DocumentFragment), providing inherited\n * ns, map, prefix index, and the require well-formed flag.\n *\n * _Note:_ This allows template content to round-trip, given the rules for\n * parsing XHTML documents.\n *\n * 19. Otherwise, append to markup the result of running the XML\n * serialization algorithm on each of node's children, in tree order,\n * providing inherited ns, map, prefix index, and the require well-formed\n * flag.\n */\n if (isHTML && node.localName === \"template\") {\n // TODO: serialize template contents\n }\n else {\n try {\n for (var _b = __values(node._children || node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n markup += this._serializeNodeNS(childNode, inheritedNS, map, prefixIndex, requireWellFormed);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n /**\n * 20. Append the following to markup, in the order listed:\n * 20.1. \"\" (U+003E GREATER-THAN SIGN).\n */\n markup += \"\";\n /**\n * 21. Return the value of markup.\n */\n return markup;\n };\n /**\n * Produces an XML serialization of a document node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeDocumentNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n var e_2, _a;\n /**\n * If the require well-formed flag is set (its value is true), and this node\n * has no documentElement (the documentElement attribute's value is null),\n * then throw an exception; the serialization of this node would not be a\n * well-formed document.\n */\n if (requireWellFormed && node.documentElement === null) {\n throw new Error(\"Missing document element (well-formed required).\");\n }\n /**\n * Otherwise, run the following steps:\n * 1. Let serialized document be an empty string.\n * 2. For each child child of node, in tree order, run the XML\n * serialization algorithm on the child passing along the provided\n * arguments, and append the result to serialized document.\n *\n * _Note:_ This will serialize any number of ProcessingInstruction and\n * Comment nodes both before and after the Document's documentElement node,\n * including at most one DocumentType node. (Text nodes are not allowed as\n * children of the Document.)\n *\n * 3. Return the value of serialized document.\n */\n var serializedDocument = \"\";\n try {\n for (var _b = __values(node._children || node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n serializedDocument += this._serializeNodeNS(childNode, namespace, prefixMap, prefixIndex, requireWellFormed);\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_2) throw e_2.error; }\n }\n return serializedDocument;\n };\n /**\n * Produces an XML serialization of a comment node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeComment = function (node, requireWellFormed) {\n /**\n * If the require well-formed flag is set (its value is true), and node's\n * data contains characters that are not matched by the XML Char production\n * or contains \"--\" (two adjacent U+002D HYPHEN-MINUS characters) or that\n * ends with a \"-\" (U+002D HYPHEN-MINUS) character, then throw an exception;\n * the serialization of this node's data would not be well-formed.\n */\n if (requireWellFormed && (!algorithm_1.xml_isLegalChar(node.data) ||\n node.data.indexOf(\"--\") !== -1 || node.data.endsWith(\"-\"))) {\n throw new Error(\"Comment data contains invalid characters (well-formed required).\");\n }\n /**\n * Otherwise, return the concatenation of \"\".\n */\n return \"\";\n };\n /**\n * Produces an XML serialization of a text node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n * @param level - current depth of the XML tree\n */\n XMLSerializerImpl.prototype._serializeText = function (node, requireWellFormed) {\n /**\n * 1. If the require well-formed flag is set (its value is true), and\n * node's data contains characters that are not matched by the XML Char\n * production, then throw an exception; the serialization of this node's\n * data would not be well-formed.\n */\n if (requireWellFormed && !algorithm_1.xml_isLegalChar(node.data)) {\n throw new Error(\"Text data contains invalid characters (well-formed required).\");\n }\n /**\n * 2. Let markup be the value of node's data.\n * 3. Replace any occurrences of \"&\" in markup by \"&\".\n * 4. Replace any occurrences of \"<\" in markup by \"<\".\n * 5. Replace any occurrences of \">\" in markup by \">\".\n * 6. Return the value of markup.\n */\n var result = \"\";\n for (var i = 0; i < node.data.length; i++) {\n var c = node.data[i];\n if (c === \"&\")\n result += \"&\";\n else if (c === \"<\")\n result += \"<\";\n else if (c === \">\")\n result += \">\";\n else\n result += c;\n }\n return result;\n };\n /**\n * Produces an XML serialization of a document fragment node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeDocumentFragmentNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n var e_3, _a;\n /**\n * 1. Let markup the empty string.\n * 2. For each child child of node, in tree order, run the XML serialization\n * algorithm on the child given namespace, prefix map, a reference to prefix\n * index, and flag require well-formed. Concatenate the result to markup.\n * 3. Return the value of markup.\n */\n var markup = \"\";\n try {\n for (var _b = __values(node._children || node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n markup += this._serializeNodeNS(childNode, namespace, prefixMap, prefixIndex, requireWellFormed);\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_3) throw e_3.error; }\n }\n return markup;\n };\n /**\n * Produces an XML serialization of a document type node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeDocumentType = function (node, requireWellFormed) {\n /**\n * 1. If the require well-formed flag is true and the node's publicId\n * attribute contains characters that are not matched by the XML PubidChar\n * production, then throw an exception; the serialization of this node\n * would not be a well-formed document type declaration.\n */\n if (requireWellFormed && !algorithm_1.xml_isPubidChar(node.publicId)) {\n throw new Error(\"DocType public identifier does not match PubidChar construct (well-formed required).\");\n }\n /**\n * 2. If the require well-formed flag is true and the node's systemId\n * attribute contains characters that are not matched by the XML Char\n * production or that contains both a \"\"\" (U+0022 QUOTATION MARK) and a\n * \"'\" (U+0027 APOSTROPHE), then throw an exception; the serialization\n * of this node would not be a well-formed document type declaration.\n */\n if (requireWellFormed &&\n (!algorithm_1.xml_isLegalChar(node.systemId) ||\n (node.systemId.indexOf('\"') !== -1 && node.systemId.indexOf(\"'\") !== -1))) {\n throw new Error(\"DocType system identifier contains invalid characters (well-formed required).\");\n }\n /**\n * 3. Let markup be an empty string.\n * 4. Append the string \"\" (U+003E GREATER-THAN SIGN) to markup.\n * 11. Return the value of markup.\n */\n return node.publicId && node.systemId ?\n \"\"\n : node.publicId ?\n \"\"\n : node.systemId ?\n \"\"\n :\n \"\";\n };\n /**\n * Produces an XML serialization of a processing instruction node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeProcessingInstruction = function (node, requireWellFormed) {\n /**\n * 1. If the require well-formed flag is set (its value is true), and node's\n * target contains a \":\" (U+003A COLON) character or is an ASCII\n * case-insensitive match for the string \"xml\", then throw an exception;\n * the serialization of this node's target would not be well-formed.\n */\n if (requireWellFormed && (node.target.indexOf(\":\") !== -1 || (/^xml$/i).test(node.target))) {\n throw new Error(\"Processing instruction target contains invalid characters (well-formed required).\");\n }\n /**\n * 2. If the require well-formed flag is set (its value is true), and node's\n * data contains characters that are not matched by the XML Char production\n * or contains the string \"?>\" (U+003F QUESTION MARK,\n * U+003E GREATER-THAN SIGN), then throw an exception; the serialization of\n * this node's data would not be well-formed.\n */\n if (requireWellFormed && (!algorithm_1.xml_isLegalChar(node.data) ||\n node.data.indexOf(\"?>\") !== -1)) {\n throw new Error(\"Processing instruction data contains invalid characters (well-formed required).\");\n }\n /**\n * 3. Let markup be the concatenation of the following, in the order listed:\n * 3.1. \"\" (U+003F QUESTION MARK, U+003E GREATER-THAN SIGN).\n * 4. Return the value of markup.\n */\n return \"\";\n };\n /**\n * Produces an XML serialization of a CDATA node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeCData = function (node, requireWellFormed) {\n if (requireWellFormed && (node.data.indexOf(\"]]>\") !== -1)) {\n throw new Error(\"CDATA contains invalid characters (well-formed required).\");\n }\n return \"\";\n };\n /**\n * Produces an XML serialization of the attributes of an element node.\n *\n * @param node - node to serialize\n * @param map - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param localPrefixesMap - local prefixes map\n * @param ignoreNamespaceDefinitionAttribute - whether to ignore namespace\n * attributes\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeAttributesNS = function (node, map, prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, requireWellFormed) {\n var e_4, _a;\n /**\n * 1. Let result be the empty string.\n * 2. Let localname set be a new empty namespace localname set. This\n * localname set will contain tuples of unique attribute namespaceURI and\n * localName pairs, and is populated as each attr is processed. This set is\n * used to [optionally] enforce the well-formed constraint that an element\n * cannot have two attributes with the same namespaceURI and localName.\n * This can occur when two otherwise identical attributes on the same\n * element differ only by their prefix values.\n */\n var result = \"\";\n var localNameSet = requireWellFormed ? new LocalNameSet_1.LocalNameSet() : undefined;\n try {\n /**\n * 3. Loop: For each attribute attr in element's attributes, in the order\n * they are specified in the element's attribute list:\n */\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n // Optimize common case\n if (!ignoreNamespaceDefinitionAttribute && !requireWellFormed && attr.namespaceURI === null) {\n result += \" \" + attr.localName + \"=\\\"\" +\n this._serializeAttributeValue(attr.value, requireWellFormed) + \"\\\"\";\n continue;\n }\n /**\n * 3.1. If the require well-formed flag is set (its value is true), and the\n * localname set contains a tuple whose values match those of a new tuple\n * consisting of attr's namespaceURI attribute and localName attribute,\n * then throw an exception; the serialization of this attr would fail to\n * produce a well-formed element serialization.\n */\n if (requireWellFormed && localNameSet && localNameSet.has(attr.namespaceURI, attr.localName)) {\n throw new Error(\"Element contains duplicate attributes (well-formed required).\");\n }\n /**\n * 3.2. Create a new tuple consisting of attr's namespaceURI attribute and\n * localName attribute, and add it to the localname set.\n * 3.3. Let attribute namespace be the value of attr's namespaceURI value.\n * 3.4. Let candidate prefix be null.\n */\n if (requireWellFormed && localNameSet)\n localNameSet.set(attr.namespaceURI, attr.localName);\n var attributeNamespace = attr.namespaceURI;\n var candidatePrefix = null;\n /** 3.5. If attribute namespace is not null, then run these sub-steps: */\n if (attributeNamespace !== null) {\n /**\n * 3.5.1. Let candidate prefix be the result of retrieving a preferred\n * prefix string from map given namespace attribute namespace with\n * preferred prefix being attr's prefix value.\n */\n candidatePrefix = map.get(attr.prefix, attributeNamespace);\n /**\n * 3.5.2. If the value of attribute namespace is the XMLNS namespace,\n * then run these steps:\n */\n if (attributeNamespace === infra_1.namespace.XMLNS) {\n /**\n * 3.5.2.1. If any of the following are true, then stop running these\n * steps and goto Loop to visit the next attribute:\n * - the attr's value is the XML namespace;\n * _Note:_ The XML namespace cannot be redeclared and survive\n * round-tripping (unless it defines the prefix \"xml\"). To avoid this\n * problem, this algorithm always prefixes elements in the XML\n * namespace with \"xml\" and drops any related definitions as seen\n * in the above condition.\n * - the attr's prefix is null and the ignore namespace definition\n * attribute flag is true (the Element's default namespace attribute\n * should be skipped);\n * - the attr's prefix is not null and either\n * * the attr's localName is not a key contained in the local\n * prefixes map, or\n * * the attr's localName is present in the local prefixes map but\n * the value of the key does not match attr's value\n * and furthermore that the attr's localName (as the prefix to find)\n * is found in the namespace prefix map given the namespace consisting\n * of the attr's value (the current namespace prefix definition was\n * exactly defined previously--on an ancestor element not the current\n * element whose attributes are being processed).\n */\n if (attr.value === infra_1.namespace.XML ||\n (attr.prefix === null && ignoreNamespaceDefinitionAttribute) ||\n (attr.prefix !== null && (!(attr.localName in localPrefixesMap) ||\n localPrefixesMap[attr.localName] !== attr.value) &&\n map.has(attr.localName, attr.value)))\n continue;\n /**\n * 3.5.2.2. If the require well-formed flag is set (its value is true),\n * and the value of attr's value attribute matches the XMLNS\n * namespace, then throw an exception; the serialization of this\n * attribute would produce invalid XML because the XMLNS namespace\n * is reserved and cannot be applied as an element's namespace via\n * XML parsing.\n *\n * _Note:_ DOM APIs do allow creation of elements in the XMLNS\n * namespace but with strict qualifications.\n */\n if (requireWellFormed && attr.value === infra_1.namespace.XMLNS) {\n throw new Error(\"XMLNS namespace is reserved (well-formed required).\");\n }\n /**\n * 3.5.2.3. If the require well-formed flag is set (its value is true),\n * and the value of attr's value attribute is the empty string, then\n * throw an exception; namespace prefix declarations cannot be used\n * to undeclare a namespace (use a default namespace declaration\n * instead).\n */\n if (requireWellFormed && attr.value === '') {\n throw new Error(\"Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).\");\n }\n /**\n * 3.5.2.4. the attr's prefix matches the string \"xmlns\", then let\n * candidate prefix be the string \"xmlns\".\n */\n if (attr.prefix === 'xmlns')\n candidatePrefix = 'xmlns';\n /**\n * 3.5.3. Otherwise, the attribute namespace is not the XMLNS namespace.\n * Run these steps:\n *\n * _Note:_ The (candidatePrefix === null) check is not in the spec.\n * We deviate from the spec here. Otherwise a prefix is generated for\n * all attributes with namespaces.\n */\n }\n else if (candidatePrefix === null) {\n if (attr.prefix !== null &&\n (!map.hasPrefix(attr.prefix) ||\n map.has(attr.prefix, attributeNamespace))) {\n /**\n * Check if we can use the attribute's own prefix.\n * We deviate from the spec here.\n * TODO: This is not an efficient way of searching for prefixes.\n * Follow developments to the spec.\n */\n candidatePrefix = attr.prefix;\n }\n else {\n /**\n * 3.5.3.1. Let candidate prefix be the result of generating a prefix\n * providing map, attribute namespace, and prefix index as input.\n */\n candidatePrefix = this._generatePrefix(attributeNamespace, map, prefixIndex);\n }\n /**\n * 3.5.3.2. Append the following to result, in the order listed:\n * 3.5.3.2.1. \" \" (U+0020 SPACE);\n * 3.5.3.2.2. The string \"xmlns:\";\n * 3.5.3.2.3. The value of candidate prefix;\n * 3.5.3.2.4. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 3.5.3.2.5. The result of serializing an attribute value given\n * attribute namespace and the require well-formed flag as input;\n * 3.5.3.2.6. \"\"\" (U+0022 QUOTATION MARK).\n */\n result += \" xmlns:\" + candidatePrefix + \"=\\\"\" +\n this._serializeAttributeValue(attributeNamespace, requireWellFormed) + \"\\\"\";\n }\n }\n /**\n * 3.6. Append a \" \" (U+0020 SPACE) to result.\n * 3.7. If candidate prefix is not null, then append to result the\n * concatenation of candidate prefix with \":\" (U+003A COLON).\n */\n result += \" \";\n if (candidatePrefix !== null) {\n result += candidatePrefix + ':';\n }\n /**\n * 3.8. If the require well-formed flag is set (its value is true), and\n * this attr's localName attribute contains the character\n * \":\" (U+003A COLON) or does not match the XML Name production or\n * equals \"xmlns\" and attribute namespace is null, then throw an\n * exception; the serialization of this attr would not be a\n * well-formed attribute.\n */\n if (requireWellFormed && (attr.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(attr.localName) ||\n (attr.localName === \"xmlns\" && attributeNamespace === null))) {\n throw new Error(\"Attribute local name contains invalid characters (well-formed required).\");\n }\n /**\n * 3.9. Append the following strings to result, in the order listed:\n * 3.9.1. The value of attr's localName;\n * 3.9.2. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 3.9.3. The result of serializing an attribute value given attr's value\n * attribute and the require well-formed flag as input;\n * 3.9.4. \"\"\" (U+0022 QUOTATION MARK).\n */\n result += attr.localName + \"=\\\"\" +\n this._serializeAttributeValue(attr.value, requireWellFormed) + \"\\\"\";\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_4) throw e_4.error; }\n }\n /**\n * 4. Return the value of result.\n */\n return result;\n };\n /**\n * Records namespace information for the given element and returns the\n * default namespace attribute value.\n *\n * @param node - element node to process\n * @param map - namespace prefix map\n * @param localPrefixesMap - local prefixes map\n */\n XMLSerializerImpl.prototype._recordNamespaceInformation = function (node, map, localPrefixesMap) {\n var e_5, _a;\n /**\n * 1. Let default namespace attr value be null.\n */\n var defaultNamespaceAttrValue = null;\n try {\n /**\n * 2. Main: For each attribute attr in element's attributes, in the order\n * they are specified in the element's attribute list:\n */\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n /**\n * _Note:_ The following conditional steps find namespace prefixes. Only\n * attributes in the XMLNS namespace are considered (e.g., attributes made\n * to look like namespace declarations via\n * setAttribute(\"xmlns:pretend-prefix\", \"pretend-namespace\") are not\n * included).\n */\n /** 2.1. Let attribute namespace be the value of attr's namespaceURI value. */\n var attributeNamespace = attr.namespaceURI;\n /** 2.2. Let attribute prefix be the value of attr's prefix. */\n var attributePrefix = attr.prefix;\n /** 2.3. If the attribute namespace is the XMLNS namespace, then: */\n if (attributeNamespace === infra_1.namespace.XMLNS) {\n /**\n * 2.3.1. If attribute prefix is null, then attr is a default namespace\n * declaration. Set the default namespace attr value to attr's value and\n * stop running these steps, returning to Main to visit the next\n * attribute.\n */\n if (attributePrefix === null) {\n defaultNamespaceAttrValue = attr.value;\n continue;\n /**\n * 2.3.2. Otherwise, the attribute prefix is not null and attr is a\n * namespace prefix definition. Run the following steps:\n */\n }\n else {\n /** 2.3.2.1. Let prefix definition be the value of attr's localName. */\n var prefixDefinition = attr.localName;\n /** 2.3.2.2. Let namespace definition be the value of attr's value. */\n var namespaceDefinition = attr.value;\n /**\n * 2.3.2.3. If namespace definition is the XML namespace, then stop\n * running these steps, and return to Main to visit the next\n * attribute.\n *\n * _Note:_ XML namespace definitions in prefixes are completely\n * ignored (in order to avoid unnecessary work when there might be\n * prefix conflicts). XML namespaced elements are always handled\n * uniformly by prefixing (and overriding if necessary) the element's\n * localname with the reserved \"xml\" prefix.\n */\n if (namespaceDefinition === infra_1.namespace.XML) {\n continue;\n }\n /**\n * 2.3.2.4. If namespace definition is the empty string (the\n * declarative form of having no namespace), then let namespace\n * definition be null instead.\n */\n if (namespaceDefinition === '') {\n namespaceDefinition = null;\n }\n /**\n * 2.3.2.5. If prefix definition is found in map given the namespace\n * namespace definition, then stop running these steps, and return to\n * Main to visit the next attribute.\n *\n * _Note:_ This step avoids adding duplicate prefix definitions for\n * the same namespace in the map. This has the side-effect of avoiding\n * later serialization of duplicate namespace prefix declarations in\n * any descendant nodes.\n */\n if (map.has(prefixDefinition, namespaceDefinition)) {\n continue;\n }\n /**\n * 2.3.2.6. Add the prefix prefix definition to map given namespace\n * namespace definition.\n */\n map.set(prefixDefinition, namespaceDefinition);\n /**\n * 2.3.2.7. Add the value of prefix definition as a new key to the\n * local prefixes map, with the namespace definition as the key's\n * value replacing the value of null with the empty string if\n * applicable.\n */\n localPrefixesMap[prefixDefinition] = namespaceDefinition || '';\n }\n }\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_5) throw e_5.error; }\n }\n /**\n * 3. Return the value of default namespace attr value.\n *\n * _Note:_ The empty string is a legitimate return value and is not\n * converted to null.\n */\n return defaultNamespaceAttrValue;\n };\n /**\n * Generates a new prefix for the given namespace.\n *\n * @param newNamespace - a namespace to generate prefix for\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n */\n XMLSerializerImpl.prototype._generatePrefix = function (newNamespace, prefixMap, prefixIndex) {\n /**\n * 1. Let generated prefix be the concatenation of the string \"ns\" and the\n * current numerical value of prefix index.\n * 2. Let the value of prefix index be incremented by one.\n * 3. Add to map the generated prefix given the new namespace namespace.\n * 4. Return the value of generated prefix.\n */\n var generatedPrefix = \"ns\" + prefixIndex.value;\n prefixIndex.value++;\n prefixMap.set(generatedPrefix, newNamespace);\n return generatedPrefix;\n };\n /**\n * Produces an XML serialization of an attribute value.\n *\n * @param value - attribute value\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeAttributeValue = function (value, requireWellFormed) {\n /**\n * From: https://w3c.github.io/DOM-Parsing/#dfn-serializing-an-attribute-value\n *\n * 1. If the require well-formed flag is set (its value is true), and\n * attribute value contains characters that are not matched by the XML Char\n * production, then throw an exception; the serialization of this attribute\n * value would fail to produce a well-formed element serialization.\n */\n if (requireWellFormed && value !== null && !algorithm_1.xml_isLegalChar(value)) {\n throw new Error(\"Invalid characters in attribute value.\");\n }\n /**\n * 2. If attribute value is null, then return the empty string.\n */\n if (value === null)\n return \"\";\n /**\n * 3. Otherwise, attribute value is a string. Return the value of attribute\n * value, first replacing any occurrences of the following:\n * - \"&\" with \"&\"\n * - \"\"\" with \""\"\n * - \"<\" with \"<\"\n * - \">\" with \">\"\n * NOTE\n * This matches behavior present in browsers, and goes above and beyond the\n * grammar requirement in the XML specification's AttValue production by\n * also replacing \">\" characters.\n */\n var result = \"\";\n for (var i = 0; i < value.length; i++) {\n var c = value[i];\n if (c === \"\\\"\")\n result += \""\";\n else if (c === \"&\")\n result += \"&\";\n else if (c === \"<\")\n result += \"<\";\n else if (c === \">\")\n result += \">\";\n else\n result += c;\n }\n return result;\n };\n /**\n * Produces an XML serialization of an element node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeElement = function (node, requireWellFormed) {\n var e_6, _a;\n /**\n * From: https://w3c.github.io/DOM-Parsing/#xml-serializing-an-element-node\n *\n * 1. If the require well-formed flag is set (its value is true), and this\n * node's localName attribute contains the character \":\" (U+003A COLON) or\n * does not match the XML Name production, then throw an exception; the\n * serialization of this node would not be a well-formed element.\n */\n if (requireWellFormed && (node.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(node.localName))) {\n throw new Error(\"Node local name contains invalid characters (well-formed required).\");\n }\n /**\n * 2. Let markup be the string \"<\" (U+003C LESS-THAN SIGN).\n * 3. Let qualified name be an empty string.\n * 4. Let skip end tag be a boolean flag with value false.\n * 5. Let ignore namespace definition attribute be a boolean flag with value\n * false.\n * 6. Given prefix map, copy a namespace prefix map and let map be the\n * result.\n * 7. Let local prefixes map be an empty map. The map has unique Node prefix\n * strings as its keys, with corresponding namespaceURI Node values as the\n * map's key values (in this map, the null namespace is represented by the\n * empty string).\n *\n * _Note:_ This map is local to each element. It is used to ensure there\n * are no conflicting prefixes should a new namespace prefix attribute need\n * to be generated. It is also used to enable skipping of duplicate prefix\n * definitions when writing an element's attributes: the map allows the\n * algorithm to distinguish between a prefix in the namespace prefix map\n * that might be locally-defined (to the current Element) and one that is\n * not.\n * 8. Let local default namespace be the result of recording the namespace\n * information for node given map and local prefixes map.\n *\n * _Note:_ The above step will update map with any found namespace prefix\n * definitions, add the found prefix definitions to the local prefixes map\n * and return a local default namespace value defined by a default namespace\n * attribute if one exists. Otherwise it returns null.\n * 9. Let inherited ns be a copy of namespace.\n * 10. Let ns be the value of node's namespaceURI attribute.\n */\n var skipEndTag = false;\n /** 11. If inherited ns is equal to ns, then: */\n /**\n * 11.1. If local default namespace is not null, then set ignore\n * namespace definition attribute to true.\n * 11.2. If ns is the XML namespace, then append to qualified name the\n * concatenation of the string \"xml:\" and the value of node's localName.\n * 11.3. Otherwise, append to qualified name the value of node's\n * localName. The node's prefix if it exists, is dropped.\n */\n var qualifiedName = node.localName;\n /** 11.4. Append the value of qualified name to markup. */\n var markup = \"<\" + qualifiedName;\n /**\n * 13. Append to markup the result of the XML serialization of node's\n * attributes given map, prefix index, local prefixes map, ignore namespace\n * definition attribute flag, and require well-formed flag.\n */\n markup += this._serializeAttributes(node, requireWellFormed);\n /**\n * 14. If ns is the HTML namespace, and the node's list of children is\n * empty, and the node's localName matches any one of the following void\n * elements: \"area\", \"base\", \"basefont\", \"bgsound\", \"br\", \"col\", \"embed\",\n * \"frame\", \"hr\", \"img\", \"input\", \"keygen\", \"link\", \"menuitem\", \"meta\",\n * \"param\", \"source\", \"track\", \"wbr\"; then append the following to markup,\n * in the order listed:\n * 14.1. \" \" (U+0020 SPACE);\n * 14.2. \"/\" (U+002F SOLIDUS).\n * and set the skip end tag flag to true.\n * 15. If ns is not the HTML namespace, and the node's list of children is\n * empty, then append \"/\" (U+002F SOLIDUS) to markup and set the skip end\n * tag flag to true.\n * 16. Append \">\" (U+003E GREATER-THAN SIGN) to markup.\n */\n if (node._children.size === 0) {\n markup += \"/\";\n skipEndTag = true;\n }\n markup += \">\";\n /**\n * 17. If the value of skip end tag is true, then return the value of markup\n * and skip the remaining steps. The node is a leaf-node.\n */\n if (skipEndTag)\n return markup;\n try {\n /**\n * 18. If ns is the HTML namespace, and the node's localName matches the\n * string \"template\", then this is a template element. Append to markup the\n * result of XML serializing a DocumentFragment node given the template\n * element's template contents (a DocumentFragment), providing inherited\n * ns, map, prefix index, and the require well-formed flag.\n *\n * _Note:_ This allows template content to round-trip, given the rules for\n * parsing XHTML documents.\n *\n * 19. Otherwise, append to markup the result of running the XML\n * serialization algorithm on each of node's children, in tree order,\n * providing inherited ns, map, prefix index, and the require well-formed\n * flag.\n */\n for (var _b = __values(node._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n markup += this._serializeNode(childNode, requireWellFormed);\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_6) throw e_6.error; }\n }\n /**\n * 20. Append the following to markup, in the order listed:\n * 20.1. \"\" (U+003E GREATER-THAN SIGN).\n */\n markup += \"\";\n /**\n * 21. Return the value of markup.\n */\n return markup;\n };\n /**\n * Produces an XML serialization of a document node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeDocument = function (node, requireWellFormed) {\n var e_7, _a;\n /**\n * If the require well-formed flag is set (its value is true), and this node\n * has no documentElement (the documentElement attribute's value is null),\n * then throw an exception; the serialization of this node would not be a\n * well-formed document.\n */\n if (requireWellFormed && node.documentElement === null) {\n throw new Error(\"Missing document element (well-formed required).\");\n }\n /**\n * Otherwise, run the following steps:\n * 1. Let serialized document be an empty string.\n * 2. For each child child of node, in tree order, run the XML\n * serialization algorithm on the child passing along the provided\n * arguments, and append the result to serialized document.\n *\n * _Note:_ This will serialize any number of ProcessingInstruction and\n * Comment nodes both before and after the Document's documentElement node,\n * including at most one DocumentType node. (Text nodes are not allowed as\n * children of the Document.)\n *\n * 3. Return the value of serialized document.\n */\n var serializedDocument = \"\";\n try {\n for (var _b = __values(node._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n serializedDocument += this._serializeNode(childNode, requireWellFormed);\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_7) throw e_7.error; }\n }\n return serializedDocument;\n };\n /**\n * Produces an XML serialization of a document fragment node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeDocumentFragment = function (node, requireWellFormed) {\n var e_8, _a;\n /**\n * 1. Let markup the empty string.\n * 2. For each child child of node, in tree order, run the XML serialization\n * algorithm on the child given namespace, prefix map, a reference to prefix\n * index, and flag require well-formed. Concatenate the result to markup.\n * 3. Return the value of markup.\n */\n var markup = \"\";\n try {\n for (var _b = __values(node._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n markup += this._serializeNode(childNode, requireWellFormed);\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_8) throw e_8.error; }\n }\n return markup;\n };\n /**\n * Produces an XML serialization of the attributes of an element node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n XMLSerializerImpl.prototype._serializeAttributes = function (node, requireWellFormed) {\n var e_9, _a;\n /**\n * 1. Let result be the empty string.\n * 2. Let localname set be a new empty namespace localname set. This\n * localname set will contain tuples of unique attribute namespaceURI and\n * localName pairs, and is populated as each attr is processed. This set is\n * used to [optionally] enforce the well-formed constraint that an element\n * cannot have two attributes with the same namespaceURI and localName.\n * This can occur when two otherwise identical attributes on the same\n * element differ only by their prefix values.\n */\n var result = \"\";\n var localNameSet = requireWellFormed ? {} : undefined;\n try {\n /**\n * 3. Loop: For each attribute attr in element's attributes, in the order\n * they are specified in the element's attribute list:\n */\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n /**\n * 3.1. If the require well-formed flag is set (its value is true), and the\n * localname set contains a tuple whose values match those of a new tuple\n * consisting of attr's namespaceURI attribute and localName attribute,\n * then throw an exception; the serialization of this attr would fail to\n * produce a well-formed element serialization.\n */\n if (requireWellFormed && localNameSet && (attr.localName in localNameSet)) {\n throw new Error(\"Element contains duplicate attributes (well-formed required).\");\n }\n /**\n * 3.2. Create a new tuple consisting of attr's namespaceURI attribute and\n * localName attribute, and add it to the localname set.\n * 3.3. Let attribute namespace be the value of attr's namespaceURI value.\n * 3.4. Let candidate prefix be null.\n */\n if (requireWellFormed && localNameSet)\n localNameSet[attr.localName] = true;\n /** 3.5. If attribute namespace is not null, then run these sub-steps: */\n /**\n * 3.6. Append a \" \" (U+0020 SPACE) to result.\n * 3.7. If candidate prefix is not null, then append to result the\n * concatenation of candidate prefix with \":\" (U+003A COLON).\n */\n /**\n * 3.8. If the require well-formed flag is set (its value is true), and\n * this attr's localName attribute contains the character\n * \":\" (U+003A COLON) or does not match the XML Name production or\n * equals \"xmlns\" and attribute namespace is null, then throw an\n * exception; the serialization of this attr would not be a\n * well-formed attribute.\n */\n if (requireWellFormed && (attr.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(attr.localName))) {\n throw new Error(\"Attribute local name contains invalid characters (well-formed required).\");\n }\n /**\n * 3.9. Append the following strings to result, in the order listed:\n * 3.9.1. The value of attr's localName;\n * 3.9.2. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 3.9.3. The result of serializing an attribute value given attr's value\n * attribute and the require well-formed flag as input;\n * 3.9.4. \"\"\" (U+0022 QUOTATION MARK).\n */\n result += \" \" + attr.localName + \"=\\\"\" +\n this._serializeAttributeValue(attr.value, requireWellFormed) + \"\\\"\";\n }\n }\n catch (e_9_1) { e_9 = { error: e_9_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_9) throw e_9.error; }\n }\n /**\n * 4. Return the value of result.\n */\n return result;\n };\n XMLSerializerImpl._VoidElementNames = new Set(['area', 'base', 'basefont',\n 'bgsound', 'br', 'col', 'embed', 'frame', 'hr', 'img', 'input', 'keygen',\n 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr']);\n return XMLSerializerImpl;\n}());\nexports.XMLSerializerImpl = XMLSerializerImpl;\n//# sourceMappingURL=XMLSerializerImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Export classes\nvar XMLSerializerImpl_1 = require(\"./XMLSerializerImpl\");\nexports.XMLSerializer = XMLSerializerImpl_1.XMLSerializerImpl;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Guard_1 = require(\"./Guard\");\n/**\n * Contains type casts for DOM objects.\n */\nvar Cast = /** @class */ (function () {\n function Cast() {\n }\n /**\n * Casts the given object to a `Node`.\n *\n * @param a - the object to cast\n */\n Cast.asNode = function (a) {\n if (Guard_1.Guard.isNode(a)) {\n return a;\n }\n else {\n throw new Error(\"Invalid object. Node expected.\");\n }\n };\n return Cast;\n}());\nexports.Cast = Cast;\n//# sourceMappingURL=Cast.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EmptySet = /** @class */ (function () {\n function EmptySet() {\n }\n Object.defineProperty(EmptySet.prototype, \"size\", {\n get: function () {\n return 0;\n },\n enumerable: true,\n configurable: true\n });\n EmptySet.prototype.add = function (value) {\n throw new Error(\"Cannot add to an empty set.\");\n };\n EmptySet.prototype.clear = function () {\n // no-op\n };\n EmptySet.prototype.delete = function (value) {\n return false;\n };\n EmptySet.prototype.forEach = function (callbackfn, thisArg) {\n // no-op\n };\n EmptySet.prototype.has = function (value) {\n return false;\n };\n EmptySet.prototype[Symbol.iterator] = function () {\n return new EmptySetIterator();\n };\n EmptySet.prototype.entries = function () {\n return new EmptySetIterator();\n };\n EmptySet.prototype.keys = function () {\n return new EmptySetIterator();\n };\n EmptySet.prototype.values = function () {\n return new EmptySetIterator();\n };\n Object.defineProperty(EmptySet.prototype, Symbol.toStringTag, {\n get: function () {\n return \"EmptySet\";\n },\n enumerable: true,\n configurable: true\n });\n return EmptySet;\n}());\nexports.EmptySet = EmptySet;\nvar EmptySetIterator = /** @class */ (function () {\n function EmptySetIterator() {\n }\n EmptySetIterator.prototype[Symbol.iterator] = function () {\n return this;\n };\n EmptySetIterator.prototype.next = function () {\n return { done: true, value: null };\n };\n return EmptySetIterator;\n}());\n//# sourceMappingURL=EmptySet.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../dom/interfaces\");\n/**\n * Contains user-defined type guards for DOM objects.\n */\nvar Guard = /** @class */ (function () {\n function Guard() {\n }\n /**\n * Determines if the given object is a `Node`.\n *\n * @param a - the object to check\n */\n Guard.isNode = function (a) {\n return (!!a && a._nodeType !== undefined);\n };\n /**\n * Determines if the given object is a `Document`.\n *\n * @param a - the object to check\n */\n Guard.isDocumentNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.Document);\n };\n /**\n * Determines if the given object is a `DocumentType`.\n *\n * @param a - the object to check\n */\n Guard.isDocumentTypeNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.DocumentType);\n };\n /**\n * Determines if the given object is a `DocumentFragment`.\n *\n * @param a - the object to check\n */\n Guard.isDocumentFragmentNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.DocumentFragment);\n };\n /**\n * Determines if the given object is a `Attr`.\n *\n * @param a - the object to check\n */\n Guard.isAttrNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.Attribute);\n };\n /**\n * Determines if the given node is a `CharacterData` node.\n *\n * @param a - the object to check\n */\n Guard.isCharacterDataNode = function (a) {\n if (!Guard.isNode(a))\n return false;\n var type = a._nodeType;\n return (type === interfaces_1.NodeType.Text ||\n type === interfaces_1.NodeType.ProcessingInstruction ||\n type === interfaces_1.NodeType.Comment ||\n type === interfaces_1.NodeType.CData);\n };\n /**\n * Determines if the given object is a `Text` or a `CDATASection`.\n *\n * @param a - the object to check\n */\n Guard.isTextNode = function (a) {\n return (Guard.isNode(a) && (a._nodeType === interfaces_1.NodeType.Text || a._nodeType === interfaces_1.NodeType.CData));\n };\n /**\n * Determines if the given object is a `Text`.\n *\n * @param a - the object to check\n */\n Guard.isExclusiveTextNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.Text);\n };\n /**\n * Determines if the given object is a `CDATASection`.\n *\n * @param a - the object to check\n */\n Guard.isCDATASectionNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.CData);\n };\n /**\n * Determines if the given object is a `Comment`.\n *\n * @param a - the object to check\n */\n Guard.isCommentNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.Comment);\n };\n /**\n * Determines if the given object is a `ProcessingInstruction`.\n *\n * @param a - the object to check\n */\n Guard.isProcessingInstructionNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.ProcessingInstruction);\n };\n /**\n * Determines if the given object is an `Element`.\n *\n * @param a - the object to check\n */\n Guard.isElementNode = function (a) {\n return (Guard.isNode(a) && a._nodeType === interfaces_1.NodeType.Element);\n };\n /**\n * Determines if the given object is a custom `Element`.\n *\n * @param a - the object to check\n */\n Guard.isCustomElementNode = function (a) {\n return (Guard.isElementNode(a) && a._customElementState === \"custom\");\n };\n /**\n * Determines if the given object is a `ShadowRoot`.\n *\n * @param a - the object to check\n */\n Guard.isShadowRoot = function (a) {\n return (!!a && a.host !== undefined);\n };\n /**\n * Determines if the given object is a `MouseEvent`.\n *\n * @param a - the object to check\n */\n Guard.isMouseEvent = function (a) {\n return (!!a && a.screenX !== undefined && a.screenY != undefined);\n };\n /**\n * Determines if the given object is a slotable.\n *\n * Element and Text nodes are slotables. A slotable has an associated name\n * (a string).\n *\n * @param a - the object to check\n */\n Guard.isSlotable = function (a) {\n return (!!a && a._name !== undefined && a._assignedSlot !== undefined &&\n (Guard.isTextNode(a) || Guard.isElementNode(a)));\n };\n /**\n * Determines if the given object is a slot.\n *\n * @param a - the object to check\n */\n Guard.isSlot = function (a) {\n return (!!a && a._name !== undefined && a._assignedNodes !== undefined &&\n Guard.isElementNode(a));\n };\n /**\n * Determines if the given object is a `Window`.\n *\n * @param a - the object to check\n */\n Guard.isWindow = function (a) {\n return (!!a && a.navigator !== undefined);\n };\n /**\n * Determines if the given object is an `EventListener`.\n *\n * @param a - the object to check\n */\n Guard.isEventListener = function (a) {\n return (!!a && a.handleEvent !== undefined);\n };\n /**\n * Determines if the given object is a `RegisteredObserver`.\n *\n * @param a - the object to check\n */\n Guard.isRegisteredObserver = function (a) {\n return (!!a && a.observer !== undefined && a.options !== undefined);\n };\n /**\n * Determines if the given object is a `TransientRegisteredObserver`.\n *\n * @param a - the object to check\n */\n Guard.isTransientRegisteredObserver = function (a) {\n return (!!a && a.source !== undefined && Guard.isRegisteredObserver(a));\n };\n return Guard;\n}());\nexports.Guard = Guard;\n//# sourceMappingURL=Guard.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Cast_1 = require(\"./Cast\");\nexports.Cast = Cast_1.Cast;\nvar Guard_1 = require(\"./Guard\");\nexports.Guard = Guard_1.Guard;\nvar EmptySet_1 = require(\"./EmptySet\");\nexports.EmptySet = EmptySet_1.EmptySet;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar CodePoints_1 = require(\"./CodePoints\");\n/**\n * Base-64 encodes the given string.\n *\n * @param input - a string\n */\nfunction forgivingBase64Encode(input) {\n /**\n * To forgiving-base64 encode given a byte sequence data, apply the base64\n * algorithm defined in section 4 of RFC 4648 to data and return the result.\n * [RFC4648]\n */\n return Buffer.from(input).toString('base64');\n}\nexports.forgivingBase64Encode = forgivingBase64Encode;\n/**\n * Decodes a base-64 string.\n *\n * @param input - a string\n */\nfunction forgivingBase64Decode(input) {\n if (input === \"\")\n return \"\";\n /**\n * 1. Remove all ASCII whitespace from data.\n */\n input = input.replace(CodePoints_1.ASCIIWhiteSpace, '');\n /**\n * 2. If data’s length divides by 4 leaving no remainder, then:\n * 2.1. If data ends with one or two U+003D (=) code points, then remove them from data.\n */\n if (input.length % 4 === 0) {\n if (input.endsWith(\"==\")) {\n input = input.substr(0, input.length - 2);\n }\n else if (input.endsWith(\"=\")) {\n input = input.substr(0, input.length - 1);\n }\n }\n /**\n * 3. If data’s length divides by 4 leaving a remainder of 1, then return failure.\n */\n if (input.length % 4 === 1)\n return null;\n /**\n * 4. If data contains a code point that is not one of\n * - U+002B (+)\n * - U+002F (/)\n * - ASCII alphanumeric\n * then return failure.\n */\n if (!/[0-9A-Za-z+/]/.test(input))\n return null;\n /**\n * 5. Let output be an empty byte sequence.\n * 6. Let buffer be an empty buffer that can have bits appended to it.\n * 7. Let position be a position variable for data, initially pointing at the\n * start of data.\n * 8. While position does not point past the end of data:\n * 8.1. Find the code point pointed to by position in the second column of\n * Table 1: The Base 64 Alphabet of RFC 4648. Let n be the number given in the\n * first cell of the same row. [RFC4648]\n * 8.2. Append the six bits corresponding to n, most significant bit first,\n * to buffer.\n * 8.3. If buffer has accumulated 24 bits, interpret them as three 8-bit\n * big-endian numbers. Append three bytes with values equal to those numbers\n * to output, in the same order, and then empty buffer.\n * 8.4. Advance position by 1.\n * 9. If buffer is not empty, it contains either 12 or 18 bits. If it contains\n * 12 bits, then discard the last four and interpret the remaining eight as an\n * 8-bit big-endian number. If it contains 18 bits, then discard the last two\n * and interpret the remaining 16 as two 8-bit big-endian numbers. Append the\n * one or two bytes with values equal to those one or two numbers to output,\n * in the same order.\n * 10. Return output.\n */\n return Buffer.from(input, 'base64').toString('utf8');\n}\nexports.forgivingBase64Decode = forgivingBase64Decode;\n//# sourceMappingURL=Base64.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Determines if the given number is an ASCII byte.\n *\n * @param byte - a byte\n */\nfunction isASCIIByte(byte) {\n /**\n * An ASCII byte is a byte in the range 0x00 (NUL) to 0x7F (DEL), inclusive.\n */\n return byte >= 0x00 && byte <= 0x7F;\n}\nexports.isASCIIByte = isASCIIByte;\n//# sourceMappingURL=Byte.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Returns the count of bytes in a sequence.\n *\n * @param list - a byte sequence\n */\nfunction length(list) {\n /**\n * A byte sequence’s length is the number of bytes it contains.\n */\n return list.length;\n}\nexports.length = length;\n/**\n * Converts each byte to lowercase.\n *\n * @param list - a byte sequence\n */\nfunction byteLowercase(list) {\n /**\n * To byte-lowercase a byte sequence, increase each byte it contains, in the\n * range 0x41 (A) to 0x5A (Z), inclusive, by 0x20.\n */\n for (var i = 0; i < list.length; i++) {\n var c = list[i];\n if (c >= 0x41 && c <= 0x5A) {\n list[i] = c + 0x20;\n }\n }\n}\nexports.byteLowercase = byteLowercase;\n/**\n * Converts each byte to uppercase.\n *\n * @param list - a byte sequence\n */\nfunction byteUppercase(list) {\n /**\n * To byte-uppercase a byte sequence, subtract each byte it contains, in the\n * range 0x61 (a) to 0x7A (z), inclusive, by 0x20.\n */\n for (var i = 0; i < list.length; i++) {\n var c = list[i];\n if (c >= 0x61 && c <= 0x7A) {\n list[i] = c - 0x20;\n }\n }\n}\nexports.byteUppercase = byteUppercase;\n/**\n * Compares two byte sequences.\n *\n * @param listA - a byte sequence\n * @param listB - a byte sequence\n */\nfunction byteCaseInsensitiveMatch(listA, listB) {\n /**\n * A byte sequence A is a byte-case-insensitive match for a byte sequence B,\n * if the byte-lowercase of A is the byte-lowercase of B.\n */\n if (listA.length !== listB.length)\n return false;\n for (var i = 0; i < listA.length; i++) {\n var a = listA[i];\n var b = listB[i];\n if (a >= 0x41 && a <= 0x5A)\n a += 0x20;\n if (b >= 0x41 && b <= 0x5A)\n b += 0x20;\n if (a !== b)\n return false;\n }\n return true;\n}\nexports.byteCaseInsensitiveMatch = byteCaseInsensitiveMatch;\n/**\n * Determines if `listA` starts with `listB`.\n *\n * @param listA - a byte sequence\n * @param listB - a byte sequence\n */\nfunction startsWith(listA, listB) {\n /**\n * 1. Let i be 0.\n * 2. While true:\n * 2.1. Let aByte be the ith byte of a if i is less than a’s length; otherwise null.\n * 2.3. Let bByte be the ith byte of b if i is less than b’s length; otherwise null.\n * 2.4. If bByte is null, then return true.\n * 2.5. Return false if aByte is not bByte.\n * 2.6. Set i to i + 1.\n */\n var i = 0;\n while (true) {\n if (i >= listA.length)\n return false;\n if (i >= listB.length)\n return true;\n if (listA[i] !== listB[i])\n return false;\n i++;\n }\n}\nexports.startsWith = startsWith;\n/**\n * Determines if `listA` is less than `listB`.\n *\n * @param listA - a byte sequence\n * @param listB - a byte sequence\n */\nfunction byteLessThan(listA, listB) {\n /**\n * 1. If b starts with a, then return false.\n * 2. If a starts with b, then return true.\n * 3. Let n be the smallest index such that the nth byte of a is different\n * from the nth byte of b. (There has to be such an index, since neither byte\n * sequence starts with the other.)\n * 4. If the nth byte of a is less than the nth byte of b, then return true.\n * 5. Return false.\n */\n var i = 0;\n while (true) {\n if (i >= listA.length)\n return false;\n if (i >= listB.length)\n return true;\n var a = listA[i];\n var b = listB[i];\n if (a < b)\n return true;\n else if (a > b)\n return false;\n i++;\n }\n}\nexports.byteLessThan = byteLessThan;\n/**\n * Decodes a byte sequence into a string.\n *\n * @param list - a byte sequence\n */\nfunction isomorphicDecode(list) {\n /**\n * To isomorphic decode a byte sequence input, return a string whose length is\n * equal to input’s length and whose code points have the same values as\n * input’s bytes, in the same order.\n */\n return String.fromCodePoint.apply(String, __spread(list));\n}\nexports.isomorphicDecode = isomorphicDecode;\n//# sourceMappingURL=ByteSequence.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * A surrogate is a code point that is in the range U+D800 to U+DFFF, inclusive.\n */\nexports.Surrogate = /[\\uD800-\\uDFFF]/;\n/**\n * A scalar value is a code point that is not a surrogate.\n */\nexports.ScalarValue = /[\\uD800-\\uDFFF]/;\n/**\n * A noncharacter is a code point that is in the range U+FDD0 to U+FDEF,\n * inclusive, or U+FFFE, U+FFFF, U+1FFFE, U+1FFFF, U+2FFFE, U+2FFFF, U+3FFFE,\n * U+3FFFF, U+4FFFE, U+4FFFF, U+5FFFE, U+5FFFF, U+6FFFE, U+6FFFF, U+7FFFE,\n * U+7FFFF, U+8FFFE, U+8FFFF, U+9FFFE, U+9FFFF, U+AFFFE, U+AFFFF, U+BFFFE,\n * U+BFFFF, U+CFFFE, U+CFFFF, U+DFFFE, U+DFFFF, U+EFFFE, U+EFFFF, U+FFFFE,\n * U+FFFFF, U+10FFFE, or U+10FFFF.\n */\nexports.NonCharacter = /[\\uFDD0-\\uFDEF\\uFFFE\\uFFFF]|[\\uD83F\\uD87F\\uD8BF\\uD8FF\\uD93F\\uD97F\\uD9BF\\uD9FF\\uDA3F\\uDA7F\\uDABF\\uDAFF\\uDB3F\\uDB7F\\uDBBF\\uDBFF][\\uDFFE\\uDFFF]/;\n/**\n * An ASCII code point is a code point in the range U+0000 NULL to U+007F\n * DELETE, inclusive.\n */\nexports.ASCIICodePoint = /[\\u0000-\\u007F]/;\n/**\n * An ASCII tab or newline is U+0009 TAB, U+000A LF, or U+000D CR.\n */\nexports.ASCIITabOrNewLine = /[\\t\\n\\r]/;\n/**\n * ASCII whitespace is U+0009 TAB, U+000A LF, U+000C FF, U+000D CR, or\n * U+0020 SPACE.\n */\nexports.ASCIIWhiteSpace = /[\\t\\n\\f\\r ]/;\n/**\n * A C0 control is a code point in the range U+0000 NULL to U+001F\n * INFORMATION SEPARATOR ONE, inclusive.\n */\nexports.C0Control = /[\\u0000-\\u001F]/;\n/**\n * A C0 control or space is a C0 control or U+0020 SPACE.\n */\nexports.C0ControlOrSpace = /[\\u0000-\\u001F ]/;\n/**\n * A control is a C0 control or a code point in the range U+007F DELETE to\n * U+009F APPLICATION PROGRAM COMMAND, inclusive.\n */\nexports.Control = /[\\u0000-\\u001F\\u007F-\\u009F]/;\n/**\n * An ASCII digit is a code point in the range U+0030 (0) to U+0039 (9),\n * inclusive.\n */\nexports.ASCIIDigit = /[0-9]/;\n/**\n * An ASCII upper hex digit is an ASCII digit or a code point in the range\n * U+0041 (A) to U+0046 (F), inclusive.\n */\nexports.ASCIIUpperHexDigit = /[0-9A-F]/;\n/**\n * An ASCII lower hex digit is an ASCII digit or a code point in the range\n * U+0061 (a) to U+0066 (f), inclusive.\n */\nexports.ASCIILowerHexDigit = /[0-9a-f]/;\n/**\n * An ASCII hex digit is an ASCII upper hex digit or ASCII lower hex digit.\n */\nexports.ASCIIHexDigit = /[0-9A-Fa-f]/;\n/**\n * An ASCII upper alpha is a code point in the range U+0041 (A) to U+005A (Z),\n * inclusive.\n */\nexports.ASCIIUpperAlpha = /[A-Z]/;\n/**\n * An ASCII lower alpha is a code point in the range U+0061 (a) to U+007A (z),\n * inclusive.\n */\nexports.ASCIILowerAlpha = /[a-z]/;\n/**\n * An ASCII alpha is an ASCII upper alpha or ASCII lower alpha.\n */\nexports.ASCIIAlpha = /[A-Za-z]/;\n/**\n * An ASCII alphanumeric is an ASCII digit or ASCII alpha.\n */\nexports.ASCIIAlphanumeric = /[0-9A-Za-z]/;\n//# sourceMappingURL=CodePoints.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Parses the given byte sequence representing a JSON string into an object.\n *\n * @param bytes - a byte sequence\n */\nfunction parseJSONFromBytes(bytes) {\n /**\n * 1. Let jsonText be the result of running UTF-8 decode on bytes. [ENCODING]\n * 2. Return ? Call(%JSONParse%, undefined, « jsonText »).\n */\n var jsonText = util_1.utf8Decode(bytes);\n return JSON.parse.call(undefined, jsonText);\n}\nexports.parseJSONFromBytes = parseJSONFromBytes;\n/**\n * Serialize the given JavaScript value into a byte sequence.\n *\n * @param value - a JavaScript value\n */\nfunction serializeJSONToBytes(value) {\n /**\n * 1. Let jsonString be ? Call(%JSONStringify%, undefined, « value »).\n * 2. Return the result of running UTF-8 encode on jsonString. [ENCODING]\n */\n var jsonString = JSON.stringify.call(undefined, value);\n return util_1.utf8Encode(jsonString);\n}\nexports.serializeJSONToBytes = serializeJSONToBytes;\n/**\n * Parses the given JSON string into a Realm-independent JavaScript value.\n *\n * @param jsonText - a JSON string\n */\nfunction parseJSONIntoInfraValues(jsonText) {\n /**\n * 1. Let jsValue be ? Call(%JSONParse%, undefined, « jsonText »).\n * 2. Return the result of converting a JSON-derived JavaScript value to an\n * Infra value, given jsValue.\n */\n var jsValue = JSON.parse.call(undefined, jsonText);\n return convertAJSONDerivedJavaScriptValueToAnInfraValue(jsValue);\n}\nexports.parseJSONIntoInfraValues = parseJSONIntoInfraValues;\n/**\n * Parses the value into a Realm-independent JavaScript value.\n *\n * @param jsValue - a JavaScript value\n */\nfunction convertAJSONDerivedJavaScriptValueToAnInfraValue(jsValue) {\n var e_1, _a;\n /**\n * 1. If Type(jsValue) is Null, String, or Number, then return jsValue.\n */\n if (jsValue === null || util_1.isString(jsValue) || util_1.isNumber(jsValue))\n return jsValue;\n /**\n * 2. If IsArray(jsValue) is true, then:\n * 2.1. Let result be an empty list.\n * 2.2. Let length be ! ToLength(! Get(jsValue, \"length\")).\n * 2.3. For each index of the range 0 to length − 1, inclusive:\n * 2.3.1. Let indexName be ! ToString(index).\n * 2.3.2. Let jsValueAtIndex be ! Get(jsValue, indexName).\n * 2.3.3. Let infraValueAtIndex be the result of converting a JSON-derived\n * JavaScript value to an Infra value, given jsValueAtIndex.\n * 2.3.4. Append infraValueAtIndex to result.\n * 2.8. Return result.\n */\n if (util_1.isArray(jsValue)) {\n var result = new Array();\n try {\n for (var jsValue_1 = __values(jsValue), jsValue_1_1 = jsValue_1.next(); !jsValue_1_1.done; jsValue_1_1 = jsValue_1.next()) {\n var jsValueAtIndex = jsValue_1_1.value;\n result.push(convertAJSONDerivedJavaScriptValueToAnInfraValue(jsValueAtIndex));\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (jsValue_1_1 && !jsValue_1_1.done && (_a = jsValue_1.return)) _a.call(jsValue_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return result;\n }\n else if (util_1.isObject(jsValue)) {\n /**\n * 3. Let result be an empty ordered map.\n * 4. For each key of ! jsValue.[[OwnPropertyKeys]]():\n * 4.1. Let jsValueAtKey be ! Get(jsValue, key).\n * 4.2. Let infraValueAtKey be the result of converting a JSON-derived\n * JavaScript value to an Infra value, given jsValueAtKey.\n * 4.3. Set result[key] to infraValueAtKey.\n * 5. Return result.\n */\n var result = new Map();\n for (var key in jsValue) {\n /* istanbul ignore else */\n if (jsValue.hasOwnProperty(key)) {\n var jsValueAtKey = jsValue[key];\n result.set(key, convertAJSONDerivedJavaScriptValueToAnInfraValue(jsValueAtKey));\n }\n }\n return result;\n }\n /* istanbul ignore next */\n return jsValue;\n}\nexports.convertAJSONDerivedJavaScriptValueToAnInfraValue = convertAJSONDerivedJavaScriptValueToAnInfraValue;\n//# sourceMappingURL=JSON.js.map","\"use strict\";\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Adds the given item to the end of the list.\n *\n * @param list - a list\n * @param item - an item\n */\nfunction append(list, item) {\n list.push(item);\n}\nexports.append = append;\n/**\n * Extends a list by appending all items from another list.\n *\n * @param listA - a list to extend\n * @param listB - a list containing items to append to `listA`\n */\nfunction extend(listA, listB) {\n listA.push.apply(listA, __spread(listB));\n}\nexports.extend = extend;\n/**\n * Inserts the given item to the start of the list.\n *\n * @param list - a list\n * @param item - an item\n */\nfunction prepend(list, item) {\n list.unshift(item);\n}\nexports.prepend = prepend;\n/**\n * Replaces the given item or all items matching condition with a new item.\n *\n * @param list - a list\n * @param conditionOrItem - an item to replace or a condition matching items\n * to replace\n * @param item - an item\n */\nfunction replace(list, conditionOrItem, newItem) {\n var e_1, _a;\n var i = 0;\n try {\n for (var list_1 = __values(list), list_1_1 = list_1.next(); !list_1_1.done; list_1_1 = list_1.next()) {\n var oldItem = list_1_1.value;\n if (util_1.isFunction(conditionOrItem)) {\n if (!!conditionOrItem.call(null, oldItem)) {\n list[i] = newItem;\n }\n }\n else if (oldItem === conditionOrItem) {\n list[i] = newItem;\n return;\n }\n i++;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (list_1_1 && !list_1_1.done && (_a = list_1.return)) _a.call(list_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n}\nexports.replace = replace;\n/**\n * Inserts the given item before the given index.\n *\n * @param list - a list\n * @param item - an item\n */\nfunction insert(list, item, index) {\n list.splice(index, 0, item);\n}\nexports.insert = insert;\n/**\n * Removes the given item or all items matching condition.\n *\n * @param list - a list\n * @param conditionOrItem - an item to remove or a condition matching items\n * to remove\n */\nfunction remove(list, conditionOrItem) {\n var i = list.length;\n while (i--) {\n var oldItem = list[i];\n if (util_1.isFunction(conditionOrItem)) {\n if (!!conditionOrItem.call(null, oldItem)) {\n list.splice(i, 1);\n }\n }\n else if (oldItem === conditionOrItem) {\n list.splice(i, 1);\n return;\n }\n }\n}\nexports.remove = remove;\n/**\n * Removes all items from the list.\n */\nfunction empty(list) {\n list.length = 0;\n}\nexports.empty = empty;\n/**\n * Determines if the list contains the given item or any items matching\n * condition.\n *\n * @param list - a list\n * @param conditionOrItem - an item to a condition to match\n */\nfunction contains(list, conditionOrItem) {\n var e_2, _a;\n try {\n for (var list_2 = __values(list), list_2_1 = list_2.next(); !list_2_1.done; list_2_1 = list_2.next()) {\n var oldItem = list_2_1.value;\n if (util_1.isFunction(conditionOrItem)) {\n if (!!conditionOrItem.call(null, oldItem)) {\n return true;\n }\n }\n else if (oldItem === conditionOrItem) {\n return true;\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (list_2_1 && !list_2_1.done && (_a = list_2.return)) _a.call(list_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n return false;\n}\nexports.contains = contains;\n/**\n * Returns the count of items in the list matching the given condition.\n *\n * @param list - a list\n * @param condition - an optional condition to match\n */\nfunction size(list, condition) {\n var e_3, _a;\n if (condition === undefined) {\n return list.length;\n }\n else {\n var count = 0;\n try {\n for (var list_3 = __values(list), list_3_1 = list_3.next(); !list_3_1.done; list_3_1 = list_3.next()) {\n var item = list_3_1.value;\n if (!!condition.call(null, item)) {\n count++;\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (list_3_1 && !list_3_1.done && (_a = list_3.return)) _a.call(list_3);\n }\n finally { if (e_3) throw e_3.error; }\n }\n return count;\n }\n}\nexports.size = size;\n/**\n * Determines if the list is empty.\n *\n * @param list - a list\n */\nfunction isEmpty(list) {\n return list.length === 0;\n}\nexports.isEmpty = isEmpty;\n/**\n * Returns an iterator for the items of the list.\n *\n * @param list - a list\n * @param condition - an optional condition to match\n */\nfunction forEach(list, condition) {\n var list_4, list_4_1, item, e_4_1;\n var e_4, _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!(condition === undefined)) return [3 /*break*/, 2];\n return [5 /*yield**/, __values(list)];\n case 1:\n _b.sent();\n return [3 /*break*/, 9];\n case 2:\n _b.trys.push([2, 7, 8, 9]);\n list_4 = __values(list), list_4_1 = list_4.next();\n _b.label = 3;\n case 3:\n if (!!list_4_1.done) return [3 /*break*/, 6];\n item = list_4_1.value;\n if (!!!condition.call(null, item)) return [3 /*break*/, 5];\n return [4 /*yield*/, item];\n case 4:\n _b.sent();\n _b.label = 5;\n case 5:\n list_4_1 = list_4.next();\n return [3 /*break*/, 3];\n case 6: return [3 /*break*/, 9];\n case 7:\n e_4_1 = _b.sent();\n e_4 = { error: e_4_1 };\n return [3 /*break*/, 9];\n case 8:\n try {\n if (list_4_1 && !list_4_1.done && (_a = list_4.return)) _a.call(list_4);\n }\n finally { if (e_4) throw e_4.error; }\n return [7 /*endfinally*/];\n case 9: return [2 /*return*/];\n }\n });\n}\nexports.forEach = forEach;\n/**\n * Creates and returns a shallow clone of list.\n *\n * @param list - a list\n */\nfunction clone(list) {\n return new (Array.bind.apply(Array, __spread([void 0], list)))();\n}\nexports.clone = clone;\n/**\n * Returns a new list containing items from the list sorted in ascending\n * order.\n *\n * @param list - a list\n * @param lessThanAlgo - a function that returns `true` if its first argument\n * is less than its second argument, and `false` otherwise.\n */\nfunction sortInAscendingOrder(list, lessThanAlgo) {\n return list.sort(function (itemA, itemB) {\n return lessThanAlgo.call(null, itemA, itemB) ? -1 : 1;\n });\n}\nexports.sortInAscendingOrder = sortInAscendingOrder;\n/**\n * Returns a new list containing items from the list sorted in descending\n * order.\n *\n * @param list - a list\n * @param lessThanAlgo - a function that returns `true` if its first argument\n * is less than its second argument, and `false` otherwise.\n */\nfunction sortInDescendingOrder(list, lessThanAlgo) {\n return list.sort(function (itemA, itemB) {\n return lessThanAlgo.call(null, itemA, itemB) ? 1 : -1;\n });\n}\nexports.sortInDescendingOrder = sortInDescendingOrder;\n//# sourceMappingURL=List.js.map","\"use strict\";\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Gets the value corresponding to the given key.\n *\n * @param map - a map\n * @param key - a key\n */\nfunction get(map, key) {\n return map.get(key);\n}\nexports.get = get;\n/**\n * Sets the value corresponding to the given key.\n *\n * @param map - a map\n * @param key - a key\n * @param val - a value\n */\nfunction set(map, key, val) {\n map.set(key, val);\n}\nexports.set = set;\n/**\n * Removes the item with the given key or all items matching condition.\n *\n * @param map - a map\n * @param conditionOrItem - the key of an item to remove or a condition matching\n * items to remove\n */\nfunction remove(map, conditionOrItem) {\n var e_1, _a, e_2, _b;\n if (!util_1.isFunction(conditionOrItem)) {\n map.delete(conditionOrItem);\n }\n else {\n var toRemove = [];\n try {\n for (var map_1 = __values(map), map_1_1 = map_1.next(); !map_1_1.done; map_1_1 = map_1.next()) {\n var item = map_1_1.value;\n if (!!conditionOrItem.call(null, item)) {\n toRemove.push(item[0]);\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (map_1_1 && !map_1_1.done && (_a = map_1.return)) _a.call(map_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n try {\n for (var toRemove_1 = __values(toRemove), toRemove_1_1 = toRemove_1.next(); !toRemove_1_1.done; toRemove_1_1 = toRemove_1.next()) {\n var key = toRemove_1_1.value;\n map.delete(key);\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (toRemove_1_1 && !toRemove_1_1.done && (_b = toRemove_1.return)) _b.call(toRemove_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n}\nexports.remove = remove;\n/**\n * Determines if the map contains a value with the given key.\n *\n * @param map - a map\n * @param conditionOrItem - the key of an item to match or a condition matching\n * items\n */\nfunction contains(map, conditionOrItem) {\n var e_3, _a;\n if (!util_1.isFunction(conditionOrItem)) {\n return map.has(conditionOrItem);\n }\n else {\n try {\n for (var map_2 = __values(map), map_2_1 = map_2.next(); !map_2_1.done; map_2_1 = map_2.next()) {\n var item = map_2_1.value;\n if (!!conditionOrItem.call(null, item)) {\n return true;\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (map_2_1 && !map_2_1.done && (_a = map_2.return)) _a.call(map_2);\n }\n finally { if (e_3) throw e_3.error; }\n }\n return false;\n }\n}\nexports.contains = contains;\n/**\n * Gets the keys of the map.\n *\n * @param map - a map\n */\nfunction keys(map) {\n return new Set(map.keys());\n}\nexports.keys = keys;\n/**\n * Gets the values of the map.\n *\n * @param map - a map\n */\nfunction values(map) {\n return __spread(map.values());\n}\nexports.values = values;\n/**\n * Gets the size of the map.\n *\n * @param map - a map\n * @param condition - an optional condition to match\n */\nfunction size(map, condition) {\n var e_4, _a;\n if (condition === undefined) {\n return map.size;\n }\n else {\n var count = 0;\n try {\n for (var map_3 = __values(map), map_3_1 = map_3.next(); !map_3_1.done; map_3_1 = map_3.next()) {\n var item = map_3_1.value;\n if (!!condition.call(null, item)) {\n count++;\n }\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (map_3_1 && !map_3_1.done && (_a = map_3.return)) _a.call(map_3);\n }\n finally { if (e_4) throw e_4.error; }\n }\n return count;\n }\n}\nexports.size = size;\n/**\n * Determines if the map is empty.\n *\n * @param map - a map\n */\nfunction isEmpty(map) {\n return map.size === 0;\n}\nexports.isEmpty = isEmpty;\n/**\n * Returns an iterator for the items of the map.\n *\n * @param map - a map\n * @param condition - an optional condition to match\n */\nfunction forEach(map, condition) {\n var map_4, map_4_1, item, e_5_1;\n var e_5, _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!(condition === undefined)) return [3 /*break*/, 2];\n return [5 /*yield**/, __values(map)];\n case 1:\n _b.sent();\n return [3 /*break*/, 9];\n case 2:\n _b.trys.push([2, 7, 8, 9]);\n map_4 = __values(map), map_4_1 = map_4.next();\n _b.label = 3;\n case 3:\n if (!!map_4_1.done) return [3 /*break*/, 6];\n item = map_4_1.value;\n if (!!!condition.call(null, item)) return [3 /*break*/, 5];\n return [4 /*yield*/, item];\n case 4:\n _b.sent();\n _b.label = 5;\n case 5:\n map_4_1 = map_4.next();\n return [3 /*break*/, 3];\n case 6: return [3 /*break*/, 9];\n case 7:\n e_5_1 = _b.sent();\n e_5 = { error: e_5_1 };\n return [3 /*break*/, 9];\n case 8:\n try {\n if (map_4_1 && !map_4_1.done && (_a = map_4.return)) _a.call(map_4);\n }\n finally { if (e_5) throw e_5.error; }\n return [7 /*endfinally*/];\n case 9: return [2 /*return*/];\n }\n });\n}\nexports.forEach = forEach;\n/**\n * Creates and returns a shallow clone of map.\n *\n * @param map - a map\n */\nfunction clone(map) {\n return new Map(map);\n}\nexports.clone = clone;\n/**\n * Returns a new map containing items from the map sorted in ascending\n * order.\n *\n * @param map - a map\n * @param lessThanAlgo - a function that returns `true` if its first argument\n * is less than its second argument, and `false` otherwise.\n */\nfunction sortInAscendingOrder(map, lessThanAlgo) {\n var list = new (Array.bind.apply(Array, __spread([void 0], map)))();\n list.sort(function (itemA, itemB) {\n return lessThanAlgo.call(null, itemA, itemB) ? -1 : 1;\n });\n return new Map(list);\n}\nexports.sortInAscendingOrder = sortInAscendingOrder;\n/**\n * Returns a new map containing items from the map sorted in descending\n * order.\n *\n * @param map - a map\n * @param lessThanAlgo - a function that returns `true` if its first argument\n * is less than its second argument, and `false` otherwise.\n */\nfunction sortInDescendingOrder(map, lessThanAlgo) {\n var list = new (Array.bind.apply(Array, __spread([void 0], map)))();\n list.sort(function (itemA, itemB) {\n return lessThanAlgo.call(null, itemA, itemB) ? 1 : -1;\n });\n return new Map(list);\n}\nexports.sortInDescendingOrder = sortInDescendingOrder;\n//# sourceMappingURL=Map.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HTML = \"http://www.w3.org/1999/xhtml\";\nexports.XML = \"http://www.w3.org/XML/1998/namespace\";\nexports.XMLNS = \"http://www.w3.org/2000/xmlns/\";\nexports.MathML = \"http://www.w3.org/1998/Math/MathML\";\nexports.SVG = \"http://www.w3.org/2000/svg\";\nexports.XLink = \"http://www.w3.org/1999/xlink\";\n//# sourceMappingURL=Namespace.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Appends the given item to the queue.\n *\n * @param list - a list\n * @param item - an item\n */\nfunction enqueue(list, item) {\n list.push(item);\n}\nexports.enqueue = enqueue;\n/**\n * Removes and returns an item from the queue.\n *\n * @param list - a list\n */\nfunction dequeue(list) {\n return list.shift() || null;\n}\nexports.dequeue = dequeue;\n//# sourceMappingURL=Queue.js.map","\"use strict\";\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Adds the given item to the end of the set.\n *\n * @param set - a set\n * @param item - an item\n */\nfunction append(set, item) {\n set.add(item);\n}\nexports.append = append;\n/**\n * Extends a set by appending all items from another set.\n *\n * @param setA - a list to extend\n * @param setB - a list containing items to append to `setA`\n */\nfunction extend(setA, setB) {\n setB.forEach(setA.add, setA);\n}\nexports.extend = extend;\n/**\n * Inserts the given item to the start of the set.\n *\n * @param set - a set\n * @param item - an item\n */\nfunction prepend(set, item) {\n var cloned = new Set(set);\n set.clear();\n set.add(item);\n cloned.forEach(set.add, set);\n}\nexports.prepend = prepend;\n/**\n * Replaces the given item or all items matching condition with a new item.\n *\n * @param set - a set\n * @param conditionOrItem - an item to replace or a condition matching items\n * to replace\n * @param item - an item\n */\nfunction replace(set, conditionOrItem, newItem) {\n var e_1, _a;\n var newSet = new Set();\n try {\n for (var set_1 = __values(set), set_1_1 = set_1.next(); !set_1_1.done; set_1_1 = set_1.next()) {\n var oldItem = set_1_1.value;\n if (util_1.isFunction(conditionOrItem)) {\n if (!!conditionOrItem.call(null, oldItem)) {\n newSet.add(newItem);\n }\n else {\n newSet.add(oldItem);\n }\n }\n else if (oldItem === conditionOrItem) {\n newSet.add(newItem);\n }\n else {\n newSet.add(oldItem);\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (set_1_1 && !set_1_1.done && (_a = set_1.return)) _a.call(set_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n set.clear();\n newSet.forEach(set.add, set);\n}\nexports.replace = replace;\n/**\n * Inserts the given item before the given index.\n *\n * @param set - a set\n * @param item - an item\n */\nfunction insert(set, item, index) {\n var e_2, _a;\n var newSet = new Set();\n var i = 0;\n try {\n for (var set_2 = __values(set), set_2_1 = set_2.next(); !set_2_1.done; set_2_1 = set_2.next()) {\n var oldItem = set_2_1.value;\n if (i === index)\n newSet.add(item);\n newSet.add(oldItem);\n i++;\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (set_2_1 && !set_2_1.done && (_a = set_2.return)) _a.call(set_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n set.clear();\n newSet.forEach(set.add, set);\n}\nexports.insert = insert;\n/**\n * Removes the given item or all items matching condition.\n *\n * @param set - a set\n * @param conditionOrItem - an item to remove or a condition matching items\n * to remove\n */\nfunction remove(set, conditionOrItem) {\n var e_3, _a, e_4, _b;\n if (!util_1.isFunction(conditionOrItem)) {\n set.delete(conditionOrItem);\n }\n else {\n var toRemove = [];\n try {\n for (var set_3 = __values(set), set_3_1 = set_3.next(); !set_3_1.done; set_3_1 = set_3.next()) {\n var item = set_3_1.value;\n if (!!conditionOrItem.call(null, item)) {\n toRemove.push(item);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (set_3_1 && !set_3_1.done && (_a = set_3.return)) _a.call(set_3);\n }\n finally { if (e_3) throw e_3.error; }\n }\n try {\n for (var toRemove_1 = __values(toRemove), toRemove_1_1 = toRemove_1.next(); !toRemove_1_1.done; toRemove_1_1 = toRemove_1.next()) {\n var oldItem = toRemove_1_1.value;\n set.delete(oldItem);\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (toRemove_1_1 && !toRemove_1_1.done && (_b = toRemove_1.return)) _b.call(toRemove_1);\n }\n finally { if (e_4) throw e_4.error; }\n }\n }\n}\nexports.remove = remove;\n/**\n * Removes all items from the set.\n */\nfunction empty(set) {\n set.clear();\n}\nexports.empty = empty;\n/**\n * Determines if the set contains the given item or any items matching\n * condition.\n *\n * @param set - a set\n * @param conditionOrItem - an item to a condition to match\n */\nfunction contains(set, conditionOrItem) {\n var e_5, _a;\n if (!util_1.isFunction(conditionOrItem)) {\n return set.has(conditionOrItem);\n }\n else {\n try {\n for (var set_4 = __values(set), set_4_1 = set_4.next(); !set_4_1.done; set_4_1 = set_4.next()) {\n var oldItem = set_4_1.value;\n if (!!conditionOrItem.call(null, oldItem)) {\n return true;\n }\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (set_4_1 && !set_4_1.done && (_a = set_4.return)) _a.call(set_4);\n }\n finally { if (e_5) throw e_5.error; }\n }\n }\n return false;\n}\nexports.contains = contains;\n/**\n * Returns the count of items in the set matching the given condition.\n *\n * @param set - a set\n * @param condition - an optional condition to match\n */\nfunction size(set, condition) {\n var e_6, _a;\n if (condition === undefined) {\n return set.size;\n }\n else {\n var count = 0;\n try {\n for (var set_5 = __values(set), set_5_1 = set_5.next(); !set_5_1.done; set_5_1 = set_5.next()) {\n var item = set_5_1.value;\n if (!!condition.call(null, item)) {\n count++;\n }\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (set_5_1 && !set_5_1.done && (_a = set_5.return)) _a.call(set_5);\n }\n finally { if (e_6) throw e_6.error; }\n }\n return count;\n }\n}\nexports.size = size;\n/**\n * Determines if the set is empty.\n *\n * @param set - a set\n */\nfunction isEmpty(set) {\n return set.size === 0;\n}\nexports.isEmpty = isEmpty;\n/**\n * Returns an iterator for the items of the set.\n *\n * @param set - a set\n * @param condition - an optional condition to match\n */\nfunction forEach(set, condition) {\n var set_6, set_6_1, item, e_7_1;\n var e_7, _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!(condition === undefined)) return [3 /*break*/, 2];\n return [5 /*yield**/, __values(set)];\n case 1:\n _b.sent();\n return [3 /*break*/, 9];\n case 2:\n _b.trys.push([2, 7, 8, 9]);\n set_6 = __values(set), set_6_1 = set_6.next();\n _b.label = 3;\n case 3:\n if (!!set_6_1.done) return [3 /*break*/, 6];\n item = set_6_1.value;\n if (!!!condition.call(null, item)) return [3 /*break*/, 5];\n return [4 /*yield*/, item];\n case 4:\n _b.sent();\n _b.label = 5;\n case 5:\n set_6_1 = set_6.next();\n return [3 /*break*/, 3];\n case 6: return [3 /*break*/, 9];\n case 7:\n e_7_1 = _b.sent();\n e_7 = { error: e_7_1 };\n return [3 /*break*/, 9];\n case 8:\n try {\n if (set_6_1 && !set_6_1.done && (_a = set_6.return)) _a.call(set_6);\n }\n finally { if (e_7) throw e_7.error; }\n return [7 /*endfinally*/];\n case 9: return [2 /*return*/];\n }\n });\n}\nexports.forEach = forEach;\n/**\n * Creates and returns a shallow clone of set.\n *\n * @param set - a set\n */\nfunction clone(set) {\n return new Set(set);\n}\nexports.clone = clone;\n/**\n * Returns a new set containing items from the set sorted in ascending\n * order.\n *\n * @param set - a set\n * @param lessThanAlgo - a function that returns `true` if its first argument\n * is less than its second argument, and `false` otherwise.\n */\nfunction sortInAscendingOrder(set, lessThanAlgo) {\n var list = new (Array.bind.apply(Array, __spread([void 0], set)))();\n list.sort(function (itemA, itemB) {\n return lessThanAlgo.call(null, itemA, itemB) ? -1 : 1;\n });\n return new Set(list);\n}\nexports.sortInAscendingOrder = sortInAscendingOrder;\n/**\n * Returns a new set containing items from the set sorted in descending\n * order.\n *\n * @param set - a set\n * @param lessThanAlgo - a function that returns `true` if its first argument\n * is less than its second argument, and `false` otherwise.\n */\nfunction sortInDescendingOrder(set, lessThanAlgo) {\n var list = new (Array.bind.apply(Array, __spread([void 0], set)))();\n list.sort(function (itemA, itemB) {\n return lessThanAlgo.call(null, itemA, itemB) ? 1 : -1;\n });\n return new Set(list);\n}\nexports.sortInDescendingOrder = sortInDescendingOrder;\n/**\n * Determines if a set is a subset of another set.\n *\n * @param subset - a set\n * @param superset - a superset possibly containing all items from `subset`.\n */\nfunction isSubsetOf(subset, superset) {\n var e_8, _a;\n try {\n for (var subset_1 = __values(subset), subset_1_1 = subset_1.next(); !subset_1_1.done; subset_1_1 = subset_1.next()) {\n var item = subset_1_1.value;\n if (!superset.has(item))\n return false;\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (subset_1_1 && !subset_1_1.done && (_a = subset_1.return)) _a.call(subset_1);\n }\n finally { if (e_8) throw e_8.error; }\n }\n return true;\n}\nexports.isSubsetOf = isSubsetOf;\n/**\n * Determines if a set is a superset of another set.\n *\n * @param superset - a set\n * @param subset - a subset possibly contained within `superset`.\n */\nfunction isSupersetOf(superset, subset) {\n return isSubsetOf(subset, superset);\n}\nexports.isSupersetOf = isSupersetOf;\n/**\n * Returns a new set with items that are contained in both sets.\n *\n * @param setA - a set\n * @param setB - a set\n */\nfunction intersection(setA, setB) {\n var e_9, _a;\n var newSet = new Set();\n try {\n for (var setA_1 = __values(setA), setA_1_1 = setA_1.next(); !setA_1_1.done; setA_1_1 = setA_1.next()) {\n var item = setA_1_1.value;\n if (setB.has(item))\n newSet.add(item);\n }\n }\n catch (e_9_1) { e_9 = { error: e_9_1 }; }\n finally {\n try {\n if (setA_1_1 && !setA_1_1.done && (_a = setA_1.return)) _a.call(setA_1);\n }\n finally { if (e_9) throw e_9.error; }\n }\n return newSet;\n}\nexports.intersection = intersection;\n/**\n * Returns a new set with items from both sets.\n *\n * @param setA - a set\n * @param setB - a set\n */\nfunction union(setA, setB) {\n var newSet = new Set(setA);\n setB.forEach(newSet.add, newSet);\n return newSet;\n}\nexports.union = union;\n/**\n * Returns a set of integers from `n` to `m` inclusive.\n *\n * @param n - starting number\n * @param m - ending number\n */\nfunction range(n, m) {\n var newSet = new Set();\n for (var i = n; i <= m; i++) {\n newSet.add(i);\n }\n return newSet;\n}\nexports.range = range;\n//# sourceMappingURL=Set.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Pushes the given item to the stack.\n *\n * @param list - a list\n * @param item - an item\n */\nfunction push(list, item) {\n list.push(item);\n}\nexports.push = push;\n/**\n * Pops and returns an item from the stack.\n *\n * @param list - a list\n */\nfunction pop(list) {\n return list.pop() || null;\n}\nexports.pop = pop;\n//# sourceMappingURL=Stack.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar CodePoints_1 = require(\"./CodePoints\");\nvar ByteSequence_1 = require(\"./ByteSequence\");\nvar Byte_1 = require(\"./Byte\");\nvar util_1 = require(\"@oozcitak/util\");\n/**\n * Determines if the string `a` is a code unit prefix of string `b`.\n *\n * @param a - a string\n * @param b - a string\n */\nfunction isCodeUnitPrefix(a, b) {\n /**\n * 1. Let i be 0.\n * 2. While true:\n * 2.1. Let aCodeUnit be the ith code unit of a if i is less than a’s length;\n * otherwise null.\n * 2.2. Let bCodeUnit be the ith code unit of b if i is less than b’s length;\n * otherwise null.\n * 2.3. If bCodeUnit is null, then return true.\n * 2.4. Return false if aCodeUnit is different from bCodeUnit.\n * 2.5. Set i to i + 1.\n */\n var i = 0;\n while (true) {\n var aCodeUnit = i < a.length ? a.charCodeAt(i) : null;\n var bCodeUnit = i < b.length ? b.charCodeAt(i) : null;\n if (aCodeUnit === null)\n return true;\n if (aCodeUnit !== bCodeUnit)\n return false;\n i++;\n }\n}\nexports.isCodeUnitPrefix = isCodeUnitPrefix;\n/**\n * Determines if the string `a` is a code unit less than string `b`.\n *\n * @param a - a string\n * @param b - a string\n */\nfunction isCodeUnitLessThan(a, b) {\n /**\n * 1. If b is a code unit prefix of a, then return false.\n * 2. If a is a code unit prefix of b, then return true.\n * 3. Let n be the smallest index such that the nth code unit of a is\n * different from the nth code unit of b. (There has to be such an index,\n * since neither string is a prefix of the other.)\n * 4. If the nth code unit of a is less than the nth code unit of b, then\n * return true.\n * 5. Return false.\n */\n if (isCodeUnitPrefix(b, a))\n return false;\n if (isCodeUnitPrefix(a, b))\n return true;\n for (var i = 0; i < Math.min(a.length, b.length); i++) {\n var aCodeUnit = a.charCodeAt(i);\n var bCodeUnit = b.charCodeAt(i);\n if (aCodeUnit === bCodeUnit)\n continue;\n return (aCodeUnit < bCodeUnit);\n }\n /* istanbul ignore next */\n return false;\n}\nexports.isCodeUnitLessThan = isCodeUnitLessThan;\n/**\n * Isomorphic encodes the given string.\n *\n * @param str - a string\n */\nfunction isomorphicEncode(str) {\n var e_1, _a;\n /**\n * 1. Assert: input contains no code points greater than U+00FF.\n * 2. Return a byte sequence whose length is equal to input’s length and whose\n * bytes have the same values as input’s code points, in the same order.\n */\n var codePoints = Array.from(str);\n var bytes = new Uint8Array(codePoints.length);\n var i = 0;\n try {\n for (var str_1 = __values(str), str_1_1 = str_1.next(); !str_1_1.done; str_1_1 = str_1.next()) {\n var codePoint = str_1_1.value;\n var byte = codePoint.codePointAt(0);\n console.assert(byte !== undefined && byte <= 0x00FF, \"isomorphicEncode requires string bytes to be less than or equal to 0x00FF.\");\n if (byte !== undefined && byte <= 0x00FF) {\n bytes[i++] = byte;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (str_1_1 && !str_1_1.done && (_a = str_1.return)) _a.call(str_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return bytes;\n}\nexports.isomorphicEncode = isomorphicEncode;\n/**\n * Determines if the given string is An ASCII string.\n *\n * @param str - a string\n */\nfunction isASCIIString(str) {\n /**\n * An ASCII string is a string whose code points are all ASCII code points.\n */\n return /^[\\u0000-\\u007F]*$/.test(str);\n}\nexports.isASCIIString = isASCIIString;\n/**\n * Converts all uppercase ASCII code points to lowercase.\n *\n * @param str - a string\n */\nfunction asciiLowercase(str) {\n var e_2, _a;\n /**\n * To ASCII lowercase a string, replace all ASCII upper alphas in the string\n * with their corresponding code point in ASCII lower alpha.\n */\n var result = \"\";\n try {\n for (var str_2 = __values(str), str_2_1 = str_2.next(); !str_2_1.done; str_2_1 = str_2.next()) {\n var c = str_2_1.value;\n var code = c.codePointAt(0);\n if (code !== undefined && code >= 0x41 && code <= 0x5A) {\n result += String.fromCodePoint(code + 0x20);\n }\n else {\n result += c;\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (str_2_1 && !str_2_1.done && (_a = str_2.return)) _a.call(str_2);\n }\n finally { if (e_2) throw e_2.error; }\n }\n return result;\n}\nexports.asciiLowercase = asciiLowercase;\n/**\n * Converts all uppercase ASCII code points to uppercase.\n *\n * @param str - a string\n */\nfunction asciiUppercase(str) {\n var e_3, _a;\n /**\n * To ASCII uppercase a string, replace all ASCII lower alphas in the string\n * with their corresponding code point in ASCII upper alpha.\n */\n var result = \"\";\n try {\n for (var str_3 = __values(str), str_3_1 = str_3.next(); !str_3_1.done; str_3_1 = str_3.next()) {\n var c = str_3_1.value;\n var code = c.codePointAt(0);\n if (code !== undefined && code >= 0x61 && code <= 0x7A) {\n result += String.fromCodePoint(code - 0x20);\n }\n else {\n result += c;\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (str_3_1 && !str_3_1.done && (_a = str_3.return)) _a.call(str_3);\n }\n finally { if (e_3) throw e_3.error; }\n }\n return result;\n}\nexports.asciiUppercase = asciiUppercase;\n/**\n * Compares two ASCII strings case-insensitively.\n *\n * @param a - a string\n * @param b - a string\n */\nfunction asciiCaseInsensitiveMatch(a, b) {\n /**\n * A string A is an ASCII case-insensitive match for a string B, if the ASCII\n * lowercase of A is the ASCII lowercase of B.\n */\n return asciiLowercase(a) === asciiLowercase(b);\n}\nexports.asciiCaseInsensitiveMatch = asciiCaseInsensitiveMatch;\n/**\n * ASCII encodes a string.\n *\n * @param str - a string\n */\nfunction asciiEncode(str) {\n /**\n * 1. Assert: input is an ASCII string.\n * 2. Return the isomorphic encoding of input.\n */\n console.assert(isASCIIString(str), \"asciiEncode requires an ASCII string.\");\n return isomorphicEncode(str);\n}\nexports.asciiEncode = asciiEncode;\n/**\n * ASCII decodes a byte sequence.\n *\n * @param bytes - a byte sequence\n */\nfunction asciiDecode(bytes) {\n var e_4, _a;\n try {\n /**\n * 1. Assert: All bytes in input are ASCII bytes.\n * 2. Return the isomorphic decoding of input.\n */\n for (var bytes_1 = __values(bytes), bytes_1_1 = bytes_1.next(); !bytes_1_1.done; bytes_1_1 = bytes_1.next()) {\n var byte = bytes_1_1.value;\n console.assert(Byte_1.isASCIIByte(byte), \"asciiDecode requires an ASCII byte sequence.\");\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (bytes_1_1 && !bytes_1_1.done && (_a = bytes_1.return)) _a.call(bytes_1);\n }\n finally { if (e_4) throw e_4.error; }\n }\n return ByteSequence_1.isomorphicDecode(bytes);\n}\nexports.asciiDecode = asciiDecode;\n/**\n * Strips newline characters from a string.\n *\n * @param str - a string\n */\nfunction stripNewlines(str) {\n /**\n * To strip newlines from a string, remove any U+000A LF and U+000D CR code\n * points from the string.\n */\n return str.replace(/[\\n\\r]/g, \"\");\n}\nexports.stripNewlines = stripNewlines;\n/**\n * Normalizes newline characters in a string by converting consecutive\n * carriage-return newline characters and also single carriage return characters\n * into a single newline.\n *\n * @param str - a string\n */\nfunction normalizeNewlines(str) {\n /**\n * To normalize newlines in a string, replace every U+000D CR U+000A LF code\n * point pair with a single U+000A LF code point, and then replace every\n * remaining U+000D CR code point with a U+000A LF code point.\n */\n return str.replace(/\\r\\n/g, \"\\n\").replace(/\\r/g, \"\\n\");\n}\nexports.normalizeNewlines = normalizeNewlines;\n/**\n * Removes leading and trailing whitespace characters from a string.\n *\n * @param str - a string\n */\nfunction stripLeadingAndTrailingASCIIWhitespace(str) {\n /**\n * To strip leading and trailing ASCII whitespace from a string, remove all\n * ASCII whitespace that are at the start or the end of the string.\n */\n return str.replace(/^[\\t\\n\\f\\r ]+/, \"\").replace(/[\\t\\n\\f\\r ]+$/, \"\");\n}\nexports.stripLeadingAndTrailingASCIIWhitespace = stripLeadingAndTrailingASCIIWhitespace;\n/**\n * Removes consecutive newline characters from a string.\n *\n * @param str - a string\n */\nfunction stripAndCollapseASCIIWhitespace(str) {\n /**\n * To strip and collapse ASCII whitespace in a string, replace any sequence of\n * one or more consecutive code points that are ASCII whitespace in the string\n * with a single U+0020 SPACE code point, and then remove any leading and\n * trailing ASCII whitespace from that string.\n */\n return stripLeadingAndTrailingASCIIWhitespace(str.replace(/[\\t\\n\\f\\r ]{2,}/g, \" \"));\n}\nexports.stripAndCollapseASCIIWhitespace = stripAndCollapseASCIIWhitespace;\n/**\n * Collects a sequence of code points matching a given condition from the input\n * string.\n *\n * @param condition - a condition to match\n * @param input - a string\n * @param options - starting position\n */\nfunction collectASequenceOfCodePoints(condition, input, options) {\n /**\n * 1. Let result be the empty string.\n * 2. While position doesn’t point past the end of input and the code point at\n * position within input meets the condition condition:\n * 2.1. Append that code point to the end of result.\n * 2.2. Advance position by 1.\n * 3. Return result.\n */\n if (!util_1.isArray(input))\n return collectASequenceOfCodePoints(condition, Array.from(input), options);\n var result = \"\";\n while (options.position < input.length && !!condition.call(null, input[options.position])) {\n result += input[options.position];\n options.position++;\n }\n return result;\n}\nexports.collectASequenceOfCodePoints = collectASequenceOfCodePoints;\n/**\n * Skips over ASCII whitespace.\n *\n * @param input - input string\n * @param options - starting position\n */\nfunction skipASCIIWhitespace(input, options) {\n /**\n * To skip ASCII whitespace within a string input given a position variable\n * position, collect a sequence of code points that are ASCII whitespace from\n * input given position. The collected code points are not used, but position\n * is still updated.\n */\n collectASequenceOfCodePoints(function (str) { return CodePoints_1.ASCIIWhiteSpace.test(str); }, input, options);\n}\nexports.skipASCIIWhitespace = skipASCIIWhitespace;\n/**\n * Solits a string at the given delimiter.\n *\n * @param input - input string\n * @param delimiter - a delimiter string\n */\nfunction strictlySplit(input, delimiter) {\n /**\n * 1. Let position be a position variable for input, initially pointing at the\n * start of input.\n * 2. Let tokens be a list of strings, initially empty.\n * 3. Let token be the result of collecting a sequence of code points that are\n * not equal to delimiter from input, given position.\n * 4. Append token to tokens.\n * 5. While position is not past the end of input:\n * 5.1. Assert: the code point at position within input is delimiter.\n * 5.2. Advance position by 1.\n * 5.3. Let token be the result of collecting a sequence of code points that\n * are not equal to delimiter from input, given position.\n * 5.4. Append token to tokens.\n * 6. Return tokens.\n */\n if (!util_1.isArray(input))\n return strictlySplit(Array.from(input), delimiter);\n var options = { position: 0 };\n var tokens = [];\n var token = collectASequenceOfCodePoints(function (str) { return delimiter !== str; }, input, options);\n tokens.push(token);\n while (options.position < input.length) {\n console.assert(input[options.position] === delimiter, \"strictlySplit found no delimiter in input string.\");\n options.position++;\n token = collectASequenceOfCodePoints(function (str) { return delimiter !== str; }, input, options);\n tokens.push(token);\n }\n return tokens;\n}\nexports.strictlySplit = strictlySplit;\n/**\n * Splits a string on ASCII whitespace.\n *\n * @param input - a string\n */\nfunction splitAStringOnASCIIWhitespace(input) {\n /**\n * 1. Let position be a position variable for input, initially pointing at the\n * start of input.\n * 2. Let tokens be a list of strings, initially empty.\n * 3. Skip ASCII whitespace within input given position.\n * 4. While position is not past the end of input:\n * 4.1. Let token be the result of collecting a sequence of code points that\n * are not ASCII whitespace from input, given position.\n * 4.2. Append token to tokens.\n * 4.3. Skip ASCII whitespace within input given position.\n * 5. Return tokens.\n */\n if (!util_1.isArray(input))\n return splitAStringOnASCIIWhitespace(Array.from(input));\n var options = { position: 0 };\n var tokens = [];\n skipASCIIWhitespace(input, options);\n while (options.position < input.length) {\n var token = collectASequenceOfCodePoints(function (str) { return !CodePoints_1.ASCIIWhiteSpace.test(str); }, input, options);\n tokens.push(token);\n skipASCIIWhitespace(input, options);\n }\n return tokens;\n}\nexports.splitAStringOnASCIIWhitespace = splitAStringOnASCIIWhitespace;\n/**\n * Splits a string on commas.\n *\n * @param input - a string\n */\nfunction splitAStringOnCommas(input) {\n /**\n * 1. Let position be a position variable for input, initially pointing at the\n * start of input.\n * 2. Let tokens be a list of strings, initially empty.\n * 3. While position is not past the end of input:\n * 3.1. Let token be the result of collecting a sequence of code points that\n * are not U+002C (,) from input, given position.\n * 3.2. Strip leading and trailing ASCII whitespace from token.\n * 3.3. Append token to tokens.\n * 3.4. If position is not past the end of input, then:\n * 3.4.1. Assert: the code point at position within input is U+002C (,).\n * 3.4.2. Advance position by 1.\n * 4. Return tokens.\n */\n if (!util_1.isArray(input))\n return splitAStringOnCommas(Array.from(input));\n var options = { position: 0 };\n var tokens = [];\n while (options.position < input.length) {\n var token = collectASequenceOfCodePoints(function (str) { return str !== ','; }, input, options);\n tokens.push(stripLeadingAndTrailingASCIIWhitespace(token));\n if (options.position < input.length) {\n console.assert(input[options.position] === ',', \"splitAStringOnCommas found no delimiter in input string.\");\n options.position++;\n }\n }\n return tokens;\n}\nexports.splitAStringOnCommas = splitAStringOnCommas;\n/**\n * Concatenates a list of strings with the given separator.\n *\n * @param list - a list of strings\n * @param separator - a separator string\n */\nfunction concatenate(list, separator) {\n if (separator === void 0) { separator = \"\"; }\n /**\n * 1. If list is empty, then return the empty string.\n * 2. If separator is not given, then set separator to the empty string.\n * 3. Return a string whose contents are list’s items, in order, separated\n * from each other by separator.\n */\n if (list.length === 0)\n return \"\";\n return list.join(separator);\n}\nexports.concatenate = concatenate;\n//# sourceMappingURL=String.js.map","\"use strict\";\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result[\"default\"] = mod;\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar base64 = __importStar(require(\"./Base64\"));\nexports.base64 = base64;\nvar byte = __importStar(require(\"./Byte\"));\nexports.byte = byte;\nvar byteSequence = __importStar(require(\"./ByteSequence\"));\nexports.byteSequence = byteSequence;\nvar codePoint = __importStar(require(\"./CodePoints\"));\nexports.codePoint = codePoint;\nvar json = __importStar(require(\"./JSON\"));\nexports.json = json;\nvar list = __importStar(require(\"./List\"));\nexports.list = list;\nvar map = __importStar(require(\"./Map\"));\nexports.map = map;\nvar namespace = __importStar(require(\"./Namespace\"));\nexports.namespace = namespace;\nvar queue = __importStar(require(\"./Queue\"));\nexports.queue = queue;\nvar set = __importStar(require(\"./Set\"));\nexports.set = set;\nvar stack = __importStar(require(\"./Stack\"));\nexports.stack = stack;\nvar string = __importStar(require(\"./String\"));\nexports.string = string;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar interfaces_1 = require(\"./interfaces\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar url_1 = require(\"url\");\nvar _validationErrorCallback;\n/**\n * Default ports for a special URL scheme.\n */\nvar _defaultPorts = {\n \"ftp\": 21,\n \"file\": null,\n \"http\": 80,\n \"https\": 443,\n \"ws\": 80,\n \"wss\": 443\n};\n/**\n * The C0 control percent-encode set are the C0 controls and all code points\n * greater than U+007E (~).\n */\nvar _c0ControlPercentEncodeSet = /[\\0-\\x1F\\x7F-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\n/**\n * The fragment percent-encode set is the C0 control percent-encode set and\n * U+0020 SPACE, U+0022 (\"), U+003C (<), U+003E (>), and U+0060 (`).\n */\nvar _fragmentPercentEncodeSet = /[ \"<>`]|[\\0-\\x1F\\x7F-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\n/**\n * The path percent-encode set is the fragment percent-encode set and\n * U+0023 (#), U+003F (?), U+007B ({), and U+007D (}).\n */\nvar _pathPercentEncodeSet = /[ \"<>`#?{}]|[\\0-\\x1F\\x7F-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\n/**\n * The userinfo percent-encode set is the path percent-encode set and\n * U+002F (/), U+003A (:), U+003B (;), U+003D (=), U+0040 (@), U+005B ([),\n * U+005C (\\), U+005D (]), U+005E (^), and U+007C (|).\n */\nvar _userInfoPercentEncodeSet = /[ \"<>`#?{}/:;=@\\[\\]\\\\\\^\\|]|[\\0-\\x1F\\x7F-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\n/**\n * The URL code points are ASCII alphanumeric, U+0021 (!), U+0024 ($),\n * U+0026 (&), U+0027 ('), U+0028 LEFT PARENTHESIS, U+0029 RIGHT PARENTHESIS,\n * U+002A (*), U+002B (+), U+002C (,), U+002D (-), U+002E (.), U+002F (/),\n * U+003A (:), U+003B (;), U+003D (=), U+003F (?), U+0040 (@), U+005F (_),\n * U+007E (~), and code points in the range U+00A0 to U+10FFFD, inclusive,\n * excluding surrogates and noncharacters.\n */\nvar _urlCodePoints = /[0-9A-Za-z!\\$&-\\/:;=\\?@_~\\xA0-\\uD7FF\\uE000-\\uFDCF\\uFDF0-\\uFFFD]|[\\uD800-\\uD83E\\uD840-\\uD87E\\uD880-\\uD8BE\\uD8C0-\\uD8FE\\uD900-\\uD93E\\uD940-\\uD97E\\uD980-\\uD9BE\\uD9C0-\\uD9FE\\uDA00-\\uDA3E\\uDA40-\\uDA7E\\uDA80-\\uDABE\\uDAC0-\\uDAFE\\uDB00-\\uDB3E\\uDB40-\\uDB7E\\uDB80-\\uDBBE\\uDBC0-\\uDBFE][\\uDC00-\\uDFFF]|[\\uD83F\\uD87F\\uD8BF\\uD8FF\\uD93F\\uD97F\\uD9BF\\uD9FF\\uDA3F\\uDA7F\\uDABF\\uDAFF\\uDB3F\\uDB7F\\uDBBF\\uDBFF][\\uDC00-\\uDFFD]/;\n/**\n * A forbidden host code point is U+0000 NULL, U+0009 TAB, U+000A LF,\n * U+000D CR, U+0020 SPACE, U+0023 (#), U+0025 (%), U+002F (/), U+003A (:),\n * U+003F (?), U+0040 (@), U+005B ([), U+005C (\\), or U+005D (]).\n */\nvar _forbiddenHostCodePoint = /[\\0\\t\\f\\r #%/:?@\\[\\\\\\]]/;\n/**\n * Sets the callback function for validation errors.\n *\n * @param validationErrorCallback - a callback function to be called when a\n * validation error occurs\n */\nfunction setValidationErrorCallback(validationErrorCallback) {\n _validationErrorCallback = validationErrorCallback;\n}\nexports.setValidationErrorCallback = setValidationErrorCallback;\n/**\n * Generates a validation error.\n *\n * @param message - error message\n */\nfunction validationError(message) {\n if (_validationErrorCallback !== undefined) {\n _validationErrorCallback.call(null, \"Validation Error: \" + message);\n }\n}\n/**\n * Creates a new URL.\n */\nfunction newURL() {\n return {\n scheme: '',\n username: '',\n password: '',\n host: null,\n port: null,\n path: [],\n query: null,\n fragment: null,\n _cannotBeABaseURLFlag: false,\n _blobURLEntry: null\n };\n}\nexports.newURL = newURL;\n/**\n * Determines if the scheme is a special scheme.\n *\n * @param scheme - a scheme\n */\nfunction isSpecialScheme(scheme) {\n return (scheme in _defaultPorts);\n}\nexports.isSpecialScheme = isSpecialScheme;\n/**\n * Determines if the URL has a special scheme.\n *\n * @param url - an URL\n */\nfunction isSpecial(url) {\n return isSpecialScheme(url.scheme);\n}\nexports.isSpecial = isSpecial;\n/**\n * Returns the default port for a special scheme.\n *\n * @param scheme - a scheme\n */\nfunction defaultPort(scheme) {\n return _defaultPorts[scheme] || null;\n}\nexports.defaultPort = defaultPort;\n/**\n * Determines if the URL has credentials.\n *\n * @param url - an URL\n */\nfunction includesCredentials(url) {\n return url.username !== '' || url.password !== '';\n}\nexports.includesCredentials = includesCredentials;\n/**\n * Determines if an URL cannot have credentials.\n *\n * @param url - an URL\n */\nfunction cannotHaveAUsernamePasswordPort(url) {\n /**\n * A URL cannot have a username/password/port if its host is null or the\n * empty string, its cannot-be-a-base-URL flag is set, or its scheme is\n * \"file\".\n */\n return (url.host === null || url.host === \"\" || url._cannotBeABaseURLFlag ||\n url.scheme === \"file\");\n}\nexports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort;\n/**\n * Serializes an URL into a string.\n *\n * @param url - an URL\n */\nfunction urlSerializer(url, excludeFragmentFlag) {\n var e_1, _a;\n if (excludeFragmentFlag === void 0) { excludeFragmentFlag = false; }\n /**\n * 1. Let output be url’s scheme and U+003A (:) concatenated.\n */\n var output = url.scheme + ':';\n /**\n * 2. If url’s host is non-null:\n */\n if (url.host !== null) {\n /**\n * 2.1. Append \"//\" to output.\n */\n output += '//';\n /**\n * 2.2. If url includes credentials, then:\n */\n if (includesCredentials(url)) {\n /**\n * 2.2.1. Append url’s username to output.\n * 2.2.2. If url’s password is not the empty string, then append U+003A (:),\n * followed by url’s password, to output.\n * 2.2.3. Append U+0040 (@) to output.\n */\n output += url.username;\n if (url.password !== '') {\n output += ':' + url.password;\n }\n output += '@';\n }\n /**\n * 2.3. Append url’s host, serialized, to output.\n * 2.4. If url’s port is non-null, append U+003A (:) followed by url’s port,\n * serialized, to output.\n */\n output += hostSerializer(url.host);\n if (url.port !== null) {\n output += ':' + url.port;\n }\n }\n else if (url.host === null && url.scheme === \"file\") {\n /**\n * 3. Otherwise, if url’s host is null and url’s scheme is \"file\", append \"//\" to output.\n */\n output += '//';\n }\n /**\n * 4. If url’s cannot-be-a-base-URL flag is set, append url’s path[0] to\n * output.\n * 5. Otherwise, then for each string in url’s path, append U+002F (/)\n * followed by the string to output.\n */\n if (url._cannotBeABaseURLFlag) {\n output += url.path[0];\n }\n else {\n try {\n for (var _b = __values(url.path), _c = _b.next(); !_c.done; _c = _b.next()) {\n var str = _c.value;\n output += '/' + str;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n /**\n * 6. If url’s query is non-null, append U+003F (?), followed by url’s\n * query, to output.\n * 7. If the exclude fragment flag is unset and url’s fragment is non-null,\n * append U+0023 (#), followed by url’s fragment, to output.\n * 8. Return output.\n */\n if (url.query !== null) {\n output += '?' + url.query;\n }\n if (!excludeFragmentFlag && url.fragment !== null) {\n output += '#' + url.fragment;\n }\n return output;\n}\nexports.urlSerializer = urlSerializer;\n/**\n * Serializes a host into a string.\n *\n * @param host - a host\n */\nfunction hostSerializer(host) {\n /**\n * 1. If host is an IPv4 address, return the result of running the IPv4\n * serializer on host.\n * 2. Otherwise, if host is an IPv6 address, return U+005B ([), followed\n * by the result of running the IPv6 serializer on host, followed by\n * U+005D (]).\n * 3. Otherwise, host is a domain, opaque host, or empty host, return host.\n */\n if (util_1.isNumber(host)) {\n return iPv4Serializer(host);\n }\n else if (util_1.isArray(host)) {\n return '[' + iPv6Serializer(host) + ']';\n }\n else {\n return host;\n }\n}\nexports.hostSerializer = hostSerializer;\n/**\n * Serializes an IPv4 address into a string.\n *\n * @param address - an IPv4 address\n */\nfunction iPv4Serializer(address) {\n /**\n * 1. Let output be the empty string.\n * 2. Let n be the value of address.\n * 3. For each i in the range 1 to 4, inclusive:\n * 3.1. Prepend n % 256, serialized, to output.\n * 3.2. If i is not 4, then prepend U+002E (.) to output.\n * 3.3. Set n to floor(n / 256).\n * 4. Return output.\n */\n var output = \"\";\n var n = address;\n for (var i = 1; i <= 4; i++) {\n output = (n % 256).toString() + output;\n if (i !== 4) {\n output = '.' + output;\n }\n n = Math.floor(n / 256);\n }\n return output;\n}\nexports.iPv4Serializer = iPv4Serializer;\n/**\n * Serializes an IPv6 address into a string.\n *\n * @param address - an IPv6 address represented as a list of eight numbers\n */\nfunction iPv6Serializer(address) {\n /**\n * 1. Let output be the empty string.\n * 2. Let compress be an index to the first IPv6 piece in the first longest\n * sequences of address’s IPv6 pieces that are 0.\n * In 0:f:0:0:f:f:0:0 it would point to the second 0.\n * 3. If there is no sequence of address’s IPv6 pieces that are 0 that is\n * longer than 1, then set compress to null.\n */\n var output = \"\";\n var compress = null;\n var lastIndex = -1;\n var count = 0;\n var lastCount = 0;\n for (var i = 0; i < 8; i++) {\n if (address[i] !== 0)\n continue;\n count = 1;\n for (var j = i + 1; j < 8; j++) {\n if (address[j] !== 0)\n break;\n count++;\n continue;\n }\n if (count > lastCount) {\n lastCount = count;\n lastIndex = i;\n }\n }\n if (lastCount > 1)\n compress = lastIndex;\n /**\n * 4. Let ignore0 be false.\n * 5. For each pieceIndex in the range 0 to 7, inclusive:\n */\n var ignore0 = false;\n for (var pieceIndex = 0; pieceIndex < 8; pieceIndex++) {\n /**\n * 5.1. If ignore0 is true and address[pieceIndex] is 0, then continue.\n * 5.2. Otherwise, if ignore0 is true, set ignore0 to false.\n * 5.3. If compress is pieceIndex, then:\n */\n if (ignore0 && address[pieceIndex] === 0)\n continue;\n if (ignore0)\n ignore0 = false;\n if (compress === pieceIndex) {\n /**\n * 5.3.1. Let separator be \"::\" if pieceIndex is 0, and U+003A (:) otherwise.\n * 5.3.2. Append separator to output.\n * 5.3.3. Set ignore0 to true and continue.\n */\n output += (pieceIndex === 0 ? '::' : ':');\n ignore0 = true;\n continue;\n }\n /**\n * 5.4. Append address[pieceIndex], represented as the shortest possible\n * lowercase hexadecimal number, to output.\n * 5.5. If pieceIndex is not 7, then append U+003A (:) to output.\n */\n output += address[pieceIndex].toString(16);\n if (pieceIndex !== 7)\n output += ':';\n }\n /**\n * 6. Return output.\n */\n return output;\n}\nexports.iPv6Serializer = iPv6Serializer;\n/**\n * Parses an URL string.\n *\n * @param input - input string\n * @param baseURL - base URL\n * @param encodingOverride - encoding override\n */\nfunction urlParser(input, baseURL, encodingOverride) {\n /**\n * 1. Let url be the result of running the basic URL parser on input with\n * base, and encoding override as provided.\n * 2. If url is failure, return failure.\n * 3. If url’s scheme is not \"blob\", return url.\n * 4. Set url’s blob URL entry to the result of resolving the blob URL url,\n * if that did not return failure, and null otherwise.\n * 5. Return url.\n */\n var url = basicURLParser(input, baseURL, encodingOverride);\n if (url === null)\n return null;\n if (url.scheme !== \"blob\")\n return url;\n var entry = resolveABlobURL(url);\n if (entry !== null) {\n url._blobURLEntry = entry;\n }\n else {\n url._blobURLEntry = null;\n }\n return url;\n}\nexports.urlParser = urlParser;\n/**\n * Parses an URL string.\n *\n * @param input - input string\n * @param baseURL - base URL\n * @param encodingOverride - encoding override\n */\nfunction basicURLParser(input, baseURL, encodingOverride, url, stateOverride) {\n var e_2, _a, e_3, _b;\n /**\n * 1. If url is not given:\n * 1.1. Set url to a new URL.\n * 1.2. If input contains any leading or trailing C0 control or space,\n * validation error.\n * 1.3. Remove any leading and trailing C0 control or space from input.\n */\n if (url === undefined) {\n url = newURL();\n // leading\n var leadingControlOrSpace = /^[\\u0000-\\u001F\\u0020]+/;\n var trailingControlOrSpace = /[\\u0000-\\u001F\\u0020]+$/;\n if (leadingControlOrSpace.test(input) || trailingControlOrSpace.test(input)) {\n validationError(\"Input string contains leading or trailing control characters or space.\");\n }\n input = input.replace(leadingControlOrSpace, '');\n input = input.replace(trailingControlOrSpace, '');\n }\n /**\n * 2. If input contains any ASCII tab or newline, validation error.\n * 3. Remove all ASCII tab or newline from input.\n */\n var tabOrNewline = /[\\u0009\\u000A\\u000D]/g;\n if (tabOrNewline.test(input)) {\n validationError(\"Input string contains tab or newline characters.\");\n }\n input = input.replace(tabOrNewline, '');\n /**\n * 4. Let state be state override if given, or scheme start state otherwise.\n * 5. If base is not given, set it to null.\n * 6. Let encoding be UTF-8.\n * 7. If encoding override is given, set encoding to the result of getting\n * an output encoding from encoding override.\n */\n var state = (stateOverride === undefined ? interfaces_1.ParserState.SchemeStart : stateOverride);\n if (baseURL === undefined)\n baseURL = null;\n var encoding = (encodingOverride === undefined ||\n encodingOverride === \"replacement\" || encodingOverride === \"UTF-16BE\" ||\n encodingOverride === \"UTF-16LE\" ? \"UTF-8\" : encodingOverride);\n /**\n * 8. Let buffer be the empty string.\n * 9. Let the @ flag, [] flag, and passwordTokenSeenFlag be unset.\n * 10. Let pointer be a pointer to first code point in input.\n */\n var buffer = \"\";\n var atFlag = false;\n var arrayFlag = false;\n var passwordTokenSeenFlag = false;\n var EOF = \"\";\n var walker = new util_1.StringWalker(input);\n /**\n * 11. Keep running the following state machine by switching on state. If\n * after a run pointer points to the EOF code point, go to the next step.\n * Otherwise, increase pointer by one and continue with the state machine.\n */\n while (true) {\n switch (state) {\n case interfaces_1.ParserState.SchemeStart:\n /**\n * 1. If c is an ASCII alpha, append c, lowercased, to buffer, and set\n * state to scheme state.\n * 2. Otherwise, if state override is not given, set state to no scheme\n * state, and decrease pointer by one.\n * 3. Otherwise, validation error, return failure.\n */\n if (infra_1.codePoint.ASCIIAlpha.test(walker.c())) {\n buffer += walker.c().toLowerCase();\n state = interfaces_1.ParserState.Scheme;\n }\n else if (stateOverride === undefined) {\n state = interfaces_1.ParserState.NoScheme;\n walker.pointer--;\n }\n else {\n validationError(\"Invalid scheme start character.\");\n return null;\n }\n break;\n case interfaces_1.ParserState.Scheme:\n /**\n * 1. If c is an ASCII alphanumeric, U+002B (+), U+002D (-), or U+002E\n * (.), append c, lowercased, to buffer.\n */\n if (infra_1.codePoint.ASCIIAlphanumeric.test(walker.c()) ||\n walker.c() === '+' || walker.c() === '-' || walker.c() === '.') {\n buffer += walker.c().toLowerCase();\n }\n else if (walker.c() === ':') {\n /**\n * 2. Otherwise, if c is U+003A (:), then:\n * 2.1. If state override is given, then:\n * 2.1.1. If url’s scheme is a special scheme and buffer is not a\n * special scheme, then return.\n * 2.1.2. If url’s scheme is not a special scheme and buffer is a\n * special scheme, then return.\n * 2.1.3. If url includes credentials or has a non-null port, and\n * buffer is \"file\", then return.\n * 2.1.4. If url’s scheme is \"file\" and its host is an empty host or\n * null, then return.\n */\n if (stateOverride !== undefined) {\n if (isSpecialScheme(url.scheme) && !isSpecialScheme(buffer))\n return url;\n if (!isSpecialScheme(url.scheme) && isSpecialScheme(buffer))\n return url;\n if ((includesCredentials(url) || url.port !== null) && buffer === \"file\")\n return url;\n if (url.scheme === \"file\" && (url.host === \"\" || url.host === null))\n return url;\n }\n /**\n * 2.2. Set url’s scheme to buffer.\n */\n url.scheme = buffer;\n /**\n * 2.3. If state override is given, then:\n * 2.3.1. If url’s port is url’s scheme’s default port, then set\n * url’s port to null.\n * 2.3.2. Return.\n */\n if (stateOverride !== undefined) {\n if (url.port === defaultPort(url.scheme)) {\n url.port = null;\n }\n return url;\n }\n /**\n * 2.4. Set buffer to the empty string.\n */\n buffer = \"\";\n if (url.scheme === \"file\") {\n /**\n * 2.5. If url’s scheme is \"file\", then:\n * 2.5.1. If remaining does not start with \"//\", validation error.\n * 2.5.2. Set state to file state.\n */\n if (!walker.remaining().startsWith(\"//\")) {\n validationError(\"Invalid file URL scheme, '//' expected.\");\n }\n state = interfaces_1.ParserState.File;\n }\n else if (isSpecial(url) && baseURL !== null && baseURL.scheme === url.scheme) {\n /**\n * 2.6. Otherwise, if url is special, base is non-null, and base’s\n * scheme is equal to url’s scheme, set state to special relative\n * or authority state.\n */\n state = interfaces_1.ParserState.SpecialRelativeOrAuthority;\n }\n else if (isSpecial(url)) {\n /**\n * 2.7. Otherwise, if url is special, set state to special\n * authority slashes state.\n */\n state = interfaces_1.ParserState.SpecialAuthoritySlashes;\n }\n else if (walker.remaining().startsWith(\"/\")) {\n /**\n * 2.8. Otherwise, if remaining starts with an U+002F (/), set state\n * to path or authority state and increase pointer by one.\n */\n state = interfaces_1.ParserState.PathOrAuthority;\n walker.pointer++;\n }\n else {\n /**\n * 2.9. Otherwise, set url’s cannot-be-a-base-URL flag, append an\n * empty string to url’s path, and set state to\n * cannot-be-a-base-URL path state.\n */\n url._cannotBeABaseURLFlag = true;\n url.path.push(\"\");\n state = interfaces_1.ParserState.CannotBeABaseURLPath;\n }\n }\n else if (stateOverride === undefined) {\n /**\n * 3. Otherwise, if state override is not given, set buffer to the\n * empty string, state to no scheme state, and start over (from the\n * first code point in input).\n */\n buffer = \"\";\n state = interfaces_1.ParserState.NoScheme;\n walker.pointer = 0;\n continue;\n }\n else {\n /**\n * 4. Otherwise, validation error, return failure.\n */\n validationError(\"Invalid input string.\");\n return null;\n }\n break;\n case interfaces_1.ParserState.NoScheme:\n /**\n * 1. If base is null, or base’s cannot-be-a-base-URL flag is set\n * and c is not U+0023 (#), validation error, return failure.\n * 2. Otherwise, if base’s cannot-be-a-base-URL flag is set and\n * c is U+0023 (#), set url’s scheme to base’s scheme, url’s path to\n * a copy of base’s path, url’s query to base’s query, url’s\n * fragment to the empty string, set url’s cannot-be-a-base-URL\n * flag, and set state to fragment state.\n * 3. Otherwise, if base’s scheme is not \"file\", set state to\n * relative state and decrease pointer by one.\n * 4. Otherwise, set state to file state and decrease pointer by one.\n */\n if (baseURL === null || (baseURL._cannotBeABaseURLFlag && walker.c() !== '#')) {\n validationError(\"Invalid input string.\");\n return null;\n }\n else if (baseURL._cannotBeABaseURLFlag && walker.c() === '#') {\n url.scheme = baseURL.scheme;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = baseURL.query;\n url.fragment = \"\";\n url._cannotBeABaseURLFlag = true;\n state = interfaces_1.ParserState.Fragment;\n }\n else if (baseURL.scheme !== \"file\") {\n state = interfaces_1.ParserState.Relative;\n walker.pointer--;\n }\n else {\n state = interfaces_1.ParserState.File;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.SpecialRelativeOrAuthority:\n /**\n * If c is U+002F (/) and remaining starts with U+002F (/), then set\n * state to special authority ignore slashes state and increase\n * pointer by one.\n * Otherwise, validation error, set state to relative state and\n * decrease pointer by one.\n */\n if (walker.c() === '/' && walker.remaining().startsWith('/')) {\n state = interfaces_1.ParserState.SpecialAuthorityIgnoreSlashes;\n walker.pointer++;\n }\n else {\n validationError(\"Invalid input string.\");\n state = interfaces_1.ParserState.Relative;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.PathOrAuthority:\n /**\n * If c is U+002F (/), then set state to authority state.\n * Otherwise, set state to path state, and decrease pointer by one.\n */\n if (walker.c() === '/') {\n state = interfaces_1.ParserState.Authority;\n }\n else {\n state = interfaces_1.ParserState.Path;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.Relative:\n /**\n * Set url’s scheme to base’s scheme, and then, switching on c:\n */\n if (baseURL === null) {\n throw new Error(\"Invalid parser state. Base URL is null.\");\n }\n url.scheme = baseURL.scheme;\n switch (walker.c()) {\n case EOF: // EOF\n /**\n * Set url’s username to base’s username, url’s password to base’s\n * password, url’s host to base’s host, url’s port to base’s port,\n * url’s path to a copy of base’s path, and url’s query to base’s\n * query.\n */\n url.username = baseURL.username;\n url.password = baseURL.password;\n url.host = baseURL.host;\n url.port = baseURL.port;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = baseURL.query;\n break;\n case '/':\n /**\n * Set state to relative slash state.\n */\n state = interfaces_1.ParserState.RelativeSlash;\n break;\n case '?':\n /**\n * Set url’s username to base’s username, url’s password to base’s\n * password, url’s host to base’s host, url’s port to base’s port,\n * url’s path to a copy of base’s path, url’s query to the empty\n * string, and state to query state.\n */\n url.username = baseURL.username;\n url.password = baseURL.password;\n url.host = baseURL.host;\n url.port = baseURL.port;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = \"\";\n state = interfaces_1.ParserState.Query;\n break;\n case '#':\n /**\n * Set url’s username to base’s username, url’s password to base’s\n * password, url’s host to base’s host, url’s port to base’s port,\n * url’s path to a copy of base’s path, url’s query to base’s\n * query, url’s fragment to the empty string, and state to\n * fragment state.\n */\n url.username = baseURL.username;\n url.password = baseURL.password;\n url.host = baseURL.host;\n url.port = baseURL.port;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = baseURL.query;\n url.fragment = \"\";\n state = interfaces_1.ParserState.Fragment;\n break;\n default:\n /**\n * If url is special and c is U+005C (\\), validation error,\n * set state to relative slash state.\n * Otherwise, run these steps:\n * 1. Set url’s username to base’s username, url’s password to\n * base’s password, url’s host to base’s host, url’s port to\n * base’s port, url’s path to a copy of base’s path, and then\n * remove url’s path’s last item, if any.\n * 2. Set state to path state, and decrease pointer by one.\n */\n if (isSpecial(url) && walker.c() === '\\\\') {\n validationError(\"Invalid input string.\");\n state = interfaces_1.ParserState.RelativeSlash;\n }\n else {\n url.username = baseURL.username;\n url.password = baseURL.password;\n url.host = baseURL.host;\n url.port = baseURL.port;\n url.path = infra_1.list.clone(baseURL.path);\n if (url.path.length !== 0)\n url.path.splice(url.path.length - 1, 1);\n state = interfaces_1.ParserState.Path;\n walker.pointer--;\n }\n break;\n }\n break;\n case interfaces_1.ParserState.RelativeSlash:\n /**\n * 1. If url is special and c is U+002F (/) or U+005C (\\), then:\n * 1.1. If c is U+005C (\\), validation error.\n * 1.2. Set state to special authority ignore slashes state.\n * 2. Otherwise, if c is U+002F (/), then set state to authority state.\n * 3. Otherwise, set url’s username to base’s username, url’s password\n * to base’s password, url’s host to base’s host, url’s port to base’s\n * port, state to path state, and then, decrease pointer by one.\n */\n if (isSpecial(url) && (walker.c() === '/' || walker.c() === '\\\\')) {\n if (walker.c() === '\\\\') {\n validationError(\"Invalid input string.\");\n }\n state = interfaces_1.ParserState.SpecialAuthorityIgnoreSlashes;\n }\n else if (walker.c() === '/') {\n state = interfaces_1.ParserState.Authority;\n }\n else {\n if (baseURL === null) {\n throw new Error(\"Invalid parser state. Base URL is null.\");\n }\n url.username = baseURL.username;\n url.password = baseURL.password;\n url.host = baseURL.host;\n url.port = baseURL.port;\n state = interfaces_1.ParserState.Path;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.SpecialAuthoritySlashes:\n /**\n * If c is U+002F (/) and remaining starts with U+002F (/), then set\n * state to special authority ignore slashes state and increase\n * pointer by one.\n * Otherwise, validation error, set state to special authority ignore\n * slashes state, and decrease pointer by one.\n */\n if (walker.c() === '/' && walker.remaining().startsWith('/')) {\n state = interfaces_1.ParserState.SpecialAuthorityIgnoreSlashes;\n walker.pointer++;\n }\n else {\n validationError(\"Expected '//'.\");\n state = interfaces_1.ParserState.SpecialAuthorityIgnoreSlashes;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.SpecialAuthorityIgnoreSlashes:\n /**\n * If c is neither U+002F (/) nor U+005C (\\), then set state to\n * authority state and decrease pointer by one.\n * Otherwise, validation error.\n */\n if (walker.c() !== '/' && walker.c() !== '\\\\') {\n state = interfaces_1.ParserState.Authority;\n walker.pointer--;\n }\n else {\n validationError(\"Unexpected '/' or '\\\\'.\");\n }\n break;\n case interfaces_1.ParserState.Authority:\n /**\n * 1. If c is U+0040 (@), then:\n */\n if (walker.c() === '@') {\n /**\n * 1.1. Validation error.\n * 1.2. If the @ flag is set, prepend \"%40\" to buffer.\n * 1.3. Set the @ flag.\n * 1.4. For each codePoint in buffer:\n */\n validationError(\"Unexpected '@'.\");\n if (atFlag)\n buffer = '%40' + buffer;\n atFlag = true;\n try {\n for (var buffer_1 = (e_2 = void 0, __values(buffer)), buffer_1_1 = buffer_1.next(); !buffer_1_1.done; buffer_1_1 = buffer_1.next()) {\n var codePoint = buffer_1_1.value;\n /**\n * 1.4.1. If codePoint is U+003A (:) and passwordTokenSeenFlag is\n * unset, then set passwordTokenSeenFlag and continue.\n * 1.4.2. Let encodedCodePoints be the result of running UTF-8\n * percent encode codePoint using the userinfo percent-encode set.\n * 1.4.3. If passwordTokenSeenFlag is set, then append\n * encodedCodePoints to url’s password.\n * 1.4.4. Otherwise, append encodedCodePoints to url’s username.\n */\n if (codePoint === ':' && !passwordTokenSeenFlag) {\n passwordTokenSeenFlag = true;\n continue;\n }\n var encodedCodePoints = utf8PercentEncode(codePoint, _userInfoPercentEncodeSet);\n if (passwordTokenSeenFlag) {\n url.password += encodedCodePoints;\n }\n else {\n url.username += encodedCodePoints;\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (buffer_1_1 && !buffer_1_1.done && (_a = buffer_1.return)) _a.call(buffer_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n /**\n * 1.5. Set buffer to the empty string.\n */\n buffer = \"\";\n }\n else if (walker.c() === EOF || walker.c() === '/' || walker.c() === '?' || walker.c() === '#' ||\n (isSpecial(url) && walker.c() === '\\\\')) {\n /**\n * 2. Otherwise, if one of the following is true\n * - c is the EOF code point, U+002F (/), U+003F (?), or U+0023 (#)\n * - url is special and c is U+005C (\\)\n * then:\n * 2.1. If @ flag is set and buffer is the empty string, validation\n * error, return failure.\n * 2.2. Decrease pointer by the number of code points in buffer plus\n * one, set buffer to the empty string, and set state to host state.\n */\n if (atFlag && buffer === \"\") {\n validationError(\"Invalid input string.\");\n return null;\n }\n walker.pointer -= (buffer.length + 1);\n buffer = \"\";\n state = interfaces_1.ParserState.Host;\n }\n else {\n /**\n * 3. Otherwise, append c to buffer.\n */\n buffer += walker.c();\n }\n break;\n case interfaces_1.ParserState.Host:\n case interfaces_1.ParserState.Hostname:\n if (stateOverride !== undefined && url.scheme === \"file\") {\n /**\n * 1. If state override is given and url’s scheme is \"file\", then\n * decrease pointer by one and set state to file host state.\n */\n walker.pointer--;\n state = interfaces_1.ParserState.FileHost;\n }\n else if (walker.c() === ':' && !arrayFlag) {\n /**\n * 2. Otherwise, if c is U+003A (:) and the [] flag is unset, then:\n * 2.1. If buffer is the empty string, validation error, return\n * failure.\n * 2.2. Let host be the result of host parsing buffer with url is\n * not special.\n * 2.3. If host is failure, then return failure.\n * 2.4. Set url’s host to host, buffer to the empty string, and\n * state to port state.\n * 2.5. If state override is given and state override is hostname\n * state, then return.\n */\n if (buffer === \"\") {\n validationError(\"Invalid input string.\");\n return null;\n }\n var host = hostParser(buffer, !isSpecial(url));\n if (host === null)\n return null;\n url.host = host;\n buffer = \"\";\n state = interfaces_1.ParserState.Port;\n if (stateOverride === interfaces_1.ParserState.Hostname)\n return url;\n }\n else if (walker.c() === EOF || walker.c() === '/' || walker.c() === '?' || walker.c() === '#' ||\n (isSpecial(url) && walker.c() === '\\\\')) {\n /**\n * 3. Otherwise, if one of the following is true\n * - c is the EOF code point, U+002F (/), U+003F (?), or U+0023 (#)\n * - url is special and c is U+005C (\\)\n * then decrease pointer by one, and then:\n * 3.1. If url is special and buffer is the empty string, validation\n * error, return failure.\n * 3.2. Otherwise, if state override is given, buffer is the empty\n * string, and either url includes credentials or url’s port is\n * non-null, validation error, return.\n * 3.3. Let host be the result of host parsing buffer with url is\n * not special.\n * 3.4. If host is failure, then return failure.\n * 3.5. Set url’s host to host, buffer to the empty string, and\n * state to path start state.\n * 3.6. If state override is given, then return.\n */\n walker.pointer--;\n if (isSpecial(url) && buffer === \"\") {\n validationError(\"Invalid input string.\");\n return null;\n }\n else if (stateOverride !== undefined && buffer === \"\" &&\n (includesCredentials(url) || url.port !== null)) {\n validationError(\"Invalid input string.\");\n return url;\n }\n var host = hostParser(buffer, !isSpecial(url));\n if (host === null)\n return null;\n url.host = host;\n buffer = \"\";\n state = interfaces_1.ParserState.PathStart;\n if (stateOverride !== undefined)\n return url;\n }\n else {\n /**\n * 4. Otherwise:\n * 4.1. If c is U+005B ([), then set the [] flag.\n * 4.2. If c is U+005D (]), then unset the [] flag.\n * 4.3. Append c to buffer.\n */\n if (walker.c() === '[')\n arrayFlag = true;\n if (walker.c() === ']')\n arrayFlag = false;\n buffer += walker.c();\n }\n break;\n case interfaces_1.ParserState.Port:\n if (infra_1.codePoint.ASCIIDigit.test(walker.c())) {\n /**\n * 1. If c is an ASCII digit, append c to buffer.\n */\n buffer += walker.c();\n }\n else if (walker.c() === EOF || walker.c() === '/' || walker.c() === '?' || walker.c() === '#' ||\n (isSpecial(url) && walker.c() === '\\\\') || stateOverride) {\n /**\n * 2. Otherwise, if one of the following is true\n * - c is the EOF code point, U+002F (/), U+003F (?), or U+0023 (#)\n * - url is special and c is U+005C (\\)\n * - state override is given\n * then:\n */\n if (buffer !== \"\") {\n /**\n * 2.1. If buffer is not the empty string, then:\n * 2.1.1. Let port be the mathematical integer value that is\n * represented by buffer in radix-10 using ASCII digits for digits\n * with values 0 through 9.\n * 2.1.2. If port is greater than 2**16 − 1, validation error,\n * return failure.\n * 2.1.3. Set url’s port to null, if port is url’s scheme’s default\n * port, and to port otherwise.\n * 2.1.4. Set buffer to the empty string.\n */\n if (buffer !== \"\") {\n var port = parseInt(buffer, 10);\n if (port > Math.pow(2, 16) - 1) {\n validationError(\"Invalid port number.\");\n return null;\n }\n url.port = (port === defaultPort(url.scheme) ? null : port);\n buffer = \"\";\n }\n }\n /**\n * 2.2. If state override is given, then return.\n * 2.3. Set state to path start state, and decrease pointer by one.\n */\n if (stateOverride !== undefined) {\n return url;\n }\n state = interfaces_1.ParserState.PathStart;\n walker.pointer--;\n }\n else {\n /**\n * 3. Otherwise, validation error, return failure.\n */\n validationError(\"Invalid input string.\");\n return null;\n }\n break;\n case interfaces_1.ParserState.File:\n /**\n * 1. Set url’s scheme to \"file\".\n */\n url.scheme = \"file\";\n if (walker.c() === '/' || walker.c() === '\\\\') {\n /**\n * 2. If c is U+002F (/) or U+005C (\\), then:\n * 2.1. If c is U+005C (\\), validation error.\n * 2.2. Set state to file slash state.\n */\n if (walker.c() === '\\\\') {\n validationError(\"Invalid input string.\");\n }\n state = interfaces_1.ParserState.FileSlash;\n }\n else if (baseURL !== null && baseURL.scheme === \"file\") {\n /**\n * 3. Otherwise, if base is non-null and base’s scheme is \"file\",\n * switch on c:\n */\n switch (walker.c()) {\n case EOF:\n /**\n * Set url’s host to base’s host, url’s path to a copy of base’s\n * path, and url’s query to base’s query.\n */\n url.host = baseURL.host;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = baseURL.query;\n break;\n case '?':\n /**\n * Set url’s host to base’s host, url’s path to a copy of base’s\n * path, url’s query to the empty string, and state to query\n * state.\n */\n url.host = baseURL.host;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = \"\";\n state = interfaces_1.ParserState.Query;\n break;\n case '#':\n /**\n * Set url’s host to base’s host, url’s path to a copy of base’s\n * path, url’s query to base’s query, url’s fragment to the\n * empty string, and state to fragment state.\n */\n url.host = baseURL.host;\n url.path = infra_1.list.clone(baseURL.path);\n url.query = baseURL.query;\n url.fragment = \"\";\n state = interfaces_1.ParserState.Fragment;\n break;\n default:\n /**\n * 1. If the substring from pointer in input does not start\n * with a Windows drive letter, then set url’s host to base’s\n * host, url’s path to a copy of base’s path, and then shorten\n * url’s path.\n * _Note:_ is a (platform-independent) Windows drive letter\n * quirk.\n * 2. Otherwise, validation error.\n * 3. Set state to path state, and decrease pointer by one.\n */\n if (!startsWithAWindowsDriveLetter(walker.substring())) {\n url.host = baseURL.host;\n url.path = infra_1.list.clone(baseURL.path);\n shorten(url);\n }\n else {\n validationError(\"Unexpected windows drive letter in input string.\");\n }\n state = interfaces_1.ParserState.Path;\n walker.pointer--;\n break;\n }\n }\n else {\n /**\n * 4. Otherwise, set state to path state, and decrease pointer by\n * one.\n */\n state = interfaces_1.ParserState.Path;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.FileSlash:\n if (walker.c() === '/' || walker.c() === '\\\\') {\n /**\n * 1. If c is U+002F (/) or U+005C (\\), then:\n * 1.1. If c is U+005C (\\), validation error.\n * 1.2. Set state to file host state.\n */\n if (walker.c() === '\\\\') {\n validationError(\"Invalid input string.\");\n }\n state = interfaces_1.ParserState.FileHost;\n }\n else {\n /**\n * 2. Otherwise:\n * 2.1. If base is non-null, base’s scheme is \"file\", and the\n * substring from pointer in input does not start with a Windows\n * drive letter, then:\n * 2.1.1. If base’s path[0] is a normalized Windows drive letter,\n * then append base’s path[0] to url’s path.\n * _Note:_ is a (platform-independent) Windows drive letter\n * quirk. Both url’s and base’s host are null under these conditions\n * and therefore not copied.\n * 2.1.2. Otherwise, set url’s host to base’s host.\n * 2.2. Set state to path state, and decrease pointer by one.\n */\n if (baseURL !== null && baseURL.scheme === \"file\" &&\n !startsWithAWindowsDriveLetter(walker.substring())) {\n if (isNormalizedWindowsDriveLetter(baseURL.path[0])) {\n url.path.push(baseURL.path[0]);\n }\n else {\n url.host = baseURL.host;\n }\n }\n state = interfaces_1.ParserState.Path;\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.FileHost:\n if (walker.c() === EOF || walker.c() === '/' || walker.c() === '\\\\' ||\n walker.c() === '?' || walker.c() === '#') {\n /**\n * 1. If c is the EOF code point, U+002F (/), U+005C (\\), U+003F (?),\n * or U+0023 (#), then decrease pointer by one and then:\n */\n walker.pointer--;\n if (stateOverride === undefined && isWindowsDriveLetter(buffer)) {\n /**\n * 1.1. If state override is not given and buffer is a Windows drive\n * letter, validation error, set state to path state.\n * _Note:_ is a (platform-independent) Windows drive letter\n * quirk. buffer is not reset here and instead used in the path state.\n */\n validationError(\"Unexpected windows drive letter in input string.\");\n state = interfaces_1.ParserState.Path;\n }\n else if (buffer === \"\") {\n /**\n * 1.2. Otherwise, if buffer is the empty string, then:\n * 1.2.1. Set url’s host to the empty string.\n * 1.2.2. If state override is given, then return.\n * 1.2.3. Set state to path start state.\n */\n url.host = \"\";\n if (stateOverride !== undefined)\n return url;\n state = interfaces_1.ParserState.PathStart;\n }\n else {\n /**\n * 1.3. Otherwise, run these steps:\n * 1.3.1. Let host be the result of host parsing buffer with url\n * is not special.\n * 1.3.2. If host is failure, then return failure.\n * 1.3.3. If host is \"localhost\", then set host to the empty\n * string.\n * 1.3.4. Set url’s host to host.\n * 1.3.5. If state override is given, then return.\n * 1.3.6. Set buffer to the empty string and state to path start\n * state.\n */\n var host = hostParser(buffer, !isSpecial(url));\n if (host === null)\n return null;\n if (host === \"localhost\")\n host = \"\";\n url.host = host;\n if (stateOverride !== undefined)\n return url;\n buffer = \"\";\n state = interfaces_1.ParserState.PathStart;\n }\n }\n else {\n /**\n * 2. Otherwise, append c to buffer.\n */\n buffer += walker.c();\n }\n break;\n case interfaces_1.ParserState.PathStart:\n if (isSpecial(url)) {\n /**\n * 1. If url is special, then:\n * 1.1. If c is U+005C (\\), validation error.\n * 1.2. Set state to path state.\n * 1.3. If c is neither U+002F (/) nor U+005C (\\), then decrease\n * pointer by one.\n */\n if (walker.c() === '\\\\') {\n validationError(\"Invalid input string.\");\n }\n state = interfaces_1.ParserState.Path;\n if (walker.c() !== '/' && walker.c() !== '\\\\')\n walker.pointer--;\n }\n else if (stateOverride === undefined && walker.c() === '?') {\n /**\n * 2. Otherwise, if state override is not given and c is U+003F (?),\n * set url’s query to the empty string and state to query state.\n */\n url.query = \"\";\n state = interfaces_1.ParserState.Query;\n }\n else if (stateOverride === undefined && walker.c() === '#') {\n /**\n * 3. Otherwise, if state override is not given and c is U+0023 (#),\n * set url’s fragment to the empty string and state to fragment\n * state.\n */\n url.fragment = \"\";\n state = interfaces_1.ParserState.Fragment;\n }\n else if (walker.c() !== EOF) {\n /**\n * 4. Otherwise, if c is not the EOF code point:\n * 4.1. Set state to path state.\n * 4.2. If c is not U+002F (/), then decrease pointer by one.\n */\n state = interfaces_1.ParserState.Path;\n if (walker.c() !== '/')\n walker.pointer--;\n }\n break;\n case interfaces_1.ParserState.Path:\n if ((walker.c() === EOF || walker.c() === '/') ||\n (isSpecial(url) && walker.c() === '\\\\') ||\n (stateOverride === undefined && (walker.c() === '?' || walker.c() === '#'))) {\n /**\n * 1. If one of the following is true\n * - c is the EOF code point or U+002F (/)\n * - url is special and c is U+005C (\\)\n * - state override is not given and c is U+003F (?) or U+0023 (#)\n * then:\n */\n if (isSpecial(url) && walker.c() === '\\\\') {\n /**\n * 1.1 If url is special and c is U+005C (\\), validation error.\n */\n validationError(\"Invalid input string.\");\n }\n if (isDoubleDotPathSegment(buffer)) {\n /**\n * 1.2. If buffer is a double-dot path segment, shorten url’s path,\n * and then if neither c is U+002F (/), nor url is special and c is\n * U+005C (\\), append the empty string to url’s path.\n */\n shorten(url);\n if (walker.c() !== '/' && !(isSpecial(url) && walker.c() === '\\\\')) {\n url.path.push(\"\");\n }\n }\n else if (isSingleDotPathSegment(buffer) && walker.c() !== '/' &&\n !(isSpecial(url) && walker.c() === '\\\\')) {\n /**\n * 1.3. Otherwise, if buffer is a single-dot path segment and if\n * neither c is U+002F (/), nor url is special and c is U+005C (\\),\n * append the empty string to url’s path.\n */\n url.path.push(\"\");\n }\n else if (!isSingleDotPathSegment(buffer)) {\n /**\n * 1.4. Otherwise, if buffer is not a single-dot path segment, then:\n */\n if (url.scheme === \"file\" && url.path.length === 0 &&\n isWindowsDriveLetter(buffer)) {\n /**\n * 1.4.1. If url’s scheme is \"file\", url’s path is empty, and\n * buffer is a Windows drive letter, then:\n * 1.4.1.1. If url’s host is neither the empty string nor null,\n * validation error, set url’s host to the empty string.\n * 1.4.1.2. Replace the second code point in buffer with U+003A (:).\n * _Note:_ is a (platform-independent) Windows drive letter quirk.\n */\n if (url.host !== null && url.host !== \"\") {\n validationError(\"Invalid input string.\");\n url.host = \"\";\n }\n var bufferCodePoints = Array.from(buffer);\n buffer = bufferCodePoints.slice(0, 1) + ':' + bufferCodePoints.slice(2);\n }\n /**\n * 1.4.2. Append buffer to url’s path.\n */\n url.path.push(buffer);\n }\n /**\n * 1.5. Set buffer to the empty string.\n */\n buffer = \"\";\n /**\n * 1.6. If url’s scheme is \"file\" and c is the EOF code point,\n * U+003F (?), or U+0023 (#), then while url’s path’s size is\n * greater than 1 and url’s path[0] is the empty string, validation\n * error, remove the first item from url’s path.\n */\n if (url.scheme === \"file\" && (walker.c() === EOF || walker.c() === '?' || walker.c() === '#')) {\n while (url.path.length > 1 && url.path[0] === \"\") {\n validationError(\"Invalid input string.\");\n url.path.splice(0, 1);\n }\n }\n /**\n * 1.7. If c is U+003F (?), then set url’s query to the empty string\n * and state to query state.\n * 1.8. If c is U+0023 (#), then set url’s fragment to the empty\n * string and state to fragment state.\n */\n if (walker.c() === '?') {\n url.query = \"\";\n state = interfaces_1.ParserState.Query;\n }\n if (walker.c() === '#') {\n url.fragment = \"\";\n state = interfaces_1.ParserState.Fragment;\n }\n }\n else {\n /**\n * 2. Otherwise, run these steps:\n * 2.1. If c is not a URL code point and not U+0025 (%), validation\n * error.\n * 2.2. If c is U+0025 (%) and remaining does not start with two\n * ASCII hex digits, validation error.\n * 2.3. UTF-8 percent encode c using the path percent-encode set,\n * and append the result to buffer.\n */\n if (!_urlCodePoints.test(walker.c()) && walker.c() !== '%') {\n validationError(\"Character is not a URL code point or a percent encoded character.\");\n }\n if (walker.c() === '%' && !/^[0-9a-fA-F][0-9a-fA-F]/.test(walker.remaining())) {\n validationError(\"Percent encoded character must be followed by two hex digits.\");\n }\n buffer += utf8PercentEncode(walker.c(), _pathPercentEncodeSet);\n }\n break;\n case interfaces_1.ParserState.CannotBeABaseURLPath:\n /**\n * 1. If c is U+003F (?), then set url’s query to the empty string and\n * state to query state.\n * 2. Otherwise, if c is U+0023 (#), then set url’s fragment to the\n * empty string and state to fragment state.\n * 3. Otherwise:\n * 3.1. If c is not the EOF code point, not a URL code point, and not\n * U+0025 (%), validation error.\n * 3.2. If c is U+0025 (%) and remaining does not start with two ASCII\n * hex digits, validation error.\n * 3.3. If c is not the EOF code point, UTF-8 percent encode c using\n * the C0 control percent-encode set, and append the result to url’s\n * path[0].\n */\n if (walker.c() === '?') {\n url.query = \"\";\n state = interfaces_1.ParserState.Query;\n }\n else if (walker.c() === '#') {\n url.fragment = \"\";\n state = interfaces_1.ParserState.Fragment;\n }\n else {\n if (walker.c() !== EOF && !_urlCodePoints.test(walker.c()) && walker.c() !== '%') {\n validationError(\"Character is not a URL code point or a percent encoded character.\");\n }\n if (walker.c() === '%' && !/^[0-9a-fA-F][0-9a-fA-F]/.test(walker.remaining())) {\n validationError(\"Percent encoded character must be followed by two hex digits.\");\n }\n if (walker.c() !== EOF) {\n url.path[0] += utf8PercentEncode(walker.c(), _c0ControlPercentEncodeSet);\n }\n }\n break;\n case interfaces_1.ParserState.Query:\n /**\n * 1. If encoding is not UTF-8 and one of the following is true\n * - url is not special\n * - url’s scheme is \"ws\" or \"wss\"\n * then set encoding to UTF-8.\n */\n if (encoding !== \"UTF-8\" && (!isSpecial(url) ||\n url.scheme === \"ws\" || url.scheme === \"wss\")) {\n encoding = \"UTF-8\";\n }\n if (stateOverride === undefined && walker.c() === '#') {\n /**\n * 2. If state override is not given and c is U+0023 (#), then set\n * url’s fragment to the empty string and state to fragment state.\n */\n url.fragment = \"\";\n state = interfaces_1.ParserState.Fragment;\n }\n else if (walker.c() !== EOF) {\n /**\n * 3. Otherwise, if c is not the EOF code point:\n * 3.1. If c is not a URL code point and not U+0025 (%), validation\n * error.\n */\n if (!_urlCodePoints.test(walker.c()) && walker.c() !== '%') {\n validationError(\"Character is not a URL code point or a percent encoded character.\");\n }\n /**\n * 3.2. If c is U+0025 (%) and remaining does not start with two\n * ASCII hex digits, validation error.\n */\n if (walker.c() === '%' && !/^[0-9a-fA-F][0-9a-fA-F]/.test(walker.remaining())) {\n validationError(\"Percent encoded character must be followed by two hex digits.\");\n }\n /**\n * 3.3. Let bytes be the result of encoding c using encoding.\n */\n if (encoding.toUpperCase() !== \"UTF-8\") {\n throw new Error(\"Only UTF-8 encoding is supported.\");\n }\n var bytes = util_1.utf8Encode(walker.c());\n /**\n * 3.4. If bytes starts with `&#` and ends with 0x3B (;), then:\n */\n if (bytes.length >= 3 && bytes[0] === 38 && bytes[1] === 35 &&\n bytes[bytes.length - 1] === 59) {\n /**\n * 3.4.1. Replace `&#` at the start of bytes with `%26%23`.\n * 3.4.2. Replace 0x3B (;) at the end of bytes with `%3B`.\n * 3.4.4. Append bytes, isomorphic decoded, to url’s query.\n * _Note:_ can happen when encoding code points using a\n * non-UTF-8 encoding.\n */\n bytes = bytes.subarray(2, bytes.length - 1);\n url.query += \"%26%23\" + infra_1.byteSequence.isomorphicDecode(bytes) + \"%3B\";\n }\n else {\n try {\n /**\n * 3.5. Otherwise, for each byte in bytes:\n * 3.5.1. If one of the following is true\n * - byte is less than 0x21 (!)\n * - byte is greater than 0x7E (~)\n * - byte is 0x22 (\"), 0x23 (#), 0x3C (<), or 0x3E (>)\n * - byte is 0x27 (') and url is special\n * then append byte, percent encoded, to url’s query.\n * 3.5.2. Otherwise, append a code point whose value is byte to\n * url’s query.\n */\n for (var bytes_1 = (e_3 = void 0, __values(bytes)), bytes_1_1 = bytes_1.next(); !bytes_1_1.done; bytes_1_1 = bytes_1.next()) {\n var byte = bytes_1_1.value;\n if (byte < 0x21 || byte > 0x7E || byte === 0x22 ||\n byte === 0x23 || byte === 0x3C || byte === 0x3E ||\n (byte === 0x27 && isSpecial(url))) {\n url.query += percentEncode(byte);\n }\n else {\n url.query += String.fromCharCode(byte);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (bytes_1_1 && !bytes_1_1.done && (_b = bytes_1.return)) _b.call(bytes_1);\n }\n finally { if (e_3) throw e_3.error; }\n }\n }\n }\n break;\n case interfaces_1.ParserState.Fragment:\n /**\n * Switching on c:\n * - The EOF code point\n * Do nothing.\n * - U+0000 NULL\n * Validation error.\n * - Otherwise\n * 1. If c is not a URL code point and not U+0025 (%), validation\n * error.\n * 2. If c is U+0025 (%) and remaining does not start with two ASCII\n * hex digits, validation error.\n * 3. UTF-8 percent encode c using the fragment percent-encode set and\n * append the result to url’s fragment.\n */\n if (walker.c() === EOF) {\n //\n }\n else if (walker.c() === \"\\u0000\") {\n validationError(\"NULL character in input string.\");\n }\n else {\n if (!_urlCodePoints.test(walker.c()) && walker.c() !== '%') {\n validationError(\"Unexpected character in fragment string.\");\n }\n if (walker.c() === '%' && !/^[A-Za-z0-9][A-Za-z0-9]/.test(walker.remaining())) {\n validationError(\"Unexpected character in fragment string.\");\n }\n url.fragment += utf8PercentEncode(walker.c(), _fragmentPercentEncodeSet);\n }\n break;\n }\n if (walker.eof)\n break;\n else\n walker.pointer++;\n }\n /**\n * 12. Return url.\n */\n return url;\n}\nexports.basicURLParser = basicURLParser;\n/**\n * Sets a URL's username.\n *\n * @param url - a URL\n * @param username - username string\n */\nfunction setTheUsername(url, username) {\n var e_4, _a;\n /**\n * 1. Set url’s username to the empty string.\n * 2. For each code point in username, UTF-8 percent encode it using the\n * userinfo percent-encode set, and append the result to url’s username.\n */\n var result = \"\";\n try {\n for (var username_1 = __values(username), username_1_1 = username_1.next(); !username_1_1.done; username_1_1 = username_1.next()) {\n var codePoint = username_1_1.value;\n result += utf8PercentEncode(codePoint, _userInfoPercentEncodeSet);\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (username_1_1 && !username_1_1.done && (_a = username_1.return)) _a.call(username_1);\n }\n finally { if (e_4) throw e_4.error; }\n }\n url.username = result;\n}\nexports.setTheUsername = setTheUsername;\n/**\n * Sets a URL's password.\n *\n * @param url - a URL\n * @param username - password string\n */\nfunction setThePassword(url, password) {\n var e_5, _a;\n /**\n * 1. Set url’s password to the empty string.\n * 2. For each code point in password, UTF-8 percent encode it using the\n * userinfo percent-encode set, and append the result to url’s password.\n */\n var result = \"\";\n try {\n for (var password_1 = __values(password), password_1_1 = password_1.next(); !password_1_1.done; password_1_1 = password_1.next()) {\n var codePoint = password_1_1.value;\n result += utf8PercentEncode(codePoint, _userInfoPercentEncodeSet);\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (password_1_1 && !password_1_1.done && (_a = password_1.return)) _a.call(password_1);\n }\n finally { if (e_5) throw e_5.error; }\n }\n url.password = result;\n}\nexports.setThePassword = setThePassword;\n/**\n * Determines if the string represents a single dot path.\n *\n * @param str - a string\n */\nfunction isSingleDotPathSegment(str) {\n return str === '.' || str.toLowerCase() === \"%2e\";\n}\nexports.isSingleDotPathSegment = isSingleDotPathSegment;\n/**\n * Determines if the string represents a double dot path.\n *\n * @param str - a string\n */\nfunction isDoubleDotPathSegment(str) {\n var lowerStr = str.toLowerCase();\n return lowerStr === \"..\" || lowerStr === \".%2e\" ||\n lowerStr === \"%2e.\" || lowerStr === \"%2e%2e\";\n}\nexports.isDoubleDotPathSegment = isDoubleDotPathSegment;\n/**\n * Shorten's URL's path.\n *\n * @param url - an URL\n */\nfunction shorten(url) {\n /**\n * 1. Let path be url’s path.\n * 2. If path is empty, then return.\n * 3. If url’s scheme is \"file\", path’s size is 1, and path[0] is a\n * normalized Windows drive letter, then return.\n * 4. Remove path’s last item.\n */\n var path = url.path;\n if (path.length === 0)\n return;\n if (url.scheme === \"file\" && path.length === 1 &&\n isNormalizedWindowsDriveLetter(path[0]))\n return;\n url.path.splice(url.path.length - 1, 1);\n}\nexports.shorten = shorten;\n/**\n * Determines if a string is a normalized Windows drive letter.\n *\n * @param str - a string\n */\nfunction isNormalizedWindowsDriveLetter(str) {\n /**\n * A normalized Windows drive letter is a Windows drive letter of which the\n * second code point is U+003A (:).\n */\n return str.length >= 2 && infra_1.codePoint.ASCIIAlpha.test(str[0]) &&\n str[1] === ':';\n}\nexports.isNormalizedWindowsDriveLetter = isNormalizedWindowsDriveLetter;\n/**\n * Determines if a string is a Windows drive letter.\n *\n * @param str - a string\n */\nfunction isWindowsDriveLetter(str) {\n /**\n * A Windows drive letter is two code points, of which the first is an ASCII\n * alpha and the second is either U+003A (:) or U+007C (|).\n */\n return str.length >= 2 && infra_1.codePoint.ASCIIAlpha.test(str[0]) &&\n (str[1] === ':' || str[1] === '|');\n}\nexports.isWindowsDriveLetter = isWindowsDriveLetter;\n/**\n * Determines if a string starts with a Windows drive letter.\n *\n * @param str - a string\n */\nfunction startsWithAWindowsDriveLetter(str) {\n /**\n * A string starts with a Windows drive letter if all of the following are\n * true:\n * - its length is greater than or equal to 2\n * - its first two code points are a Windows drive letter\n * - its length is 2 or its third code point is U+002F (/), U+005C (\\),\n * U+003F (?), or U+0023 (#).\n */\n return str.length >= 2 && isWindowsDriveLetter(str) &&\n (str.length === 2 || (str[2] === '/' || str[2] === '\\\\' ||\n str[2] === '?' || str[2] === '#'));\n}\nexports.startsWithAWindowsDriveLetter = startsWithAWindowsDriveLetter;\n/**\n * Parses a host string.\n *\n * @param input - input string\n * @param isNotSpecial - `true` if the source URL is not special; otherwise\n * `false`.\n */\nfunction hostParser(input, isNotSpecial) {\n if (isNotSpecial === void 0) { isNotSpecial = false; }\n /**\n * 1. If isNotSpecial is not given, then set isNotSpecial to false.\n * 2. If input starts with U+005B ([), then:\n * 2.1. If input does not end with U+005D (]), validation error, return\n * failure.\n * 2.2. Return the result of IPv6 parsing input with its leading U+005B ([)\n * and trailing U+005D (]) removed.\n */\n if (input.startsWith('[')) {\n if (!input.endsWith(']')) {\n validationError(\"Expected ']' after '['.\");\n return null;\n }\n return iPv6Parser(input.substring(1, input.length - 1));\n }\n /**\n * 3. If isNotSpecial is true, then return the result of opaque-host parsing\n * input.\n */\n if (isNotSpecial) {\n return opaqueHostParser(input);\n }\n /**\n * 4. Let domain be the result of running UTF-8 decode without BOM on the\n * string percent decoding of input.\n * _Note:_ Alternatively UTF-8 decode without BOM or fail can be used,\n * coupled with an early return for failure, as domain to ASCII fails\n * on U+FFFD REPLACEMENT CHARACTER.\n */\n var domain = util_1.utf8Decode(stringPercentDecode(input));\n /**\n * 5. Let asciiDomain be the result of running domain to ASCII on domain.\n * 6. If asciiDomain is failure, validation error, return failure.\n * 7. If asciiDomain contains a forbidden host code point, validation error,\n * return failure.\n */\n var asciiDomain = domainToASCII(domain);\n if (asciiDomain === null) {\n validationError(\"Invalid domain.\");\n return null;\n }\n if (_forbiddenHostCodePoint.test(asciiDomain)) {\n validationError(\"Invalid domain.\");\n return null;\n }\n /**\n * 8. Let ipv4Host be the result of IPv4 parsing asciiDomain.\n * 9. If ipv4Host is an IPv4 address or failure, return ipv4Host.\n * 10. Return asciiDomain.\n */\n var ipv4Host = iPv4Parser(asciiDomain);\n if (ipv4Host === null || util_1.isNumber(ipv4Host))\n return ipv4Host;\n return asciiDomain;\n}\nexports.hostParser = hostParser;\n/**\n * Parses a string containing an IP v4 address.\n *\n * @param input - input string\n * @param isNotSpecial - `true` if the source URL is not special; otherwise\n * `false`.\n */\nfunction iPv4NumberParser(input, validationErrorFlag) {\n if (validationErrorFlag === void 0) { validationErrorFlag = { value: false }; }\n /**\n * 1. Let R be 10.\n */\n var R = 10;\n if (input.startsWith(\"0x\") || input.startsWith(\"0X\")) {\n /**\n * 2. If input contains at least two code points and the first two code\n * points are either \"0x\" or \"0X\", then:\n * 2.1. Set validationErrorFlag.\n * 2.2. Remove the first two code points from input.\n * 2.3. Set R to 16.\n */\n validationErrorFlag.value = true;\n input = input.substr(2);\n R = 16;\n }\n else if (input.length >= 2 && input[0] === '0') {\n /**\n * 3. Otherwise, if input contains at least two code points and the first\n * code point is U+0030 (0), then:\n * 3.1. Set validationErrorFlag.\n * 3.2. Remove the first code point from input.\n * 3.3. Set R to 8.\n */\n validationErrorFlag.value = true;\n input = input.substr(1);\n R = 8;\n }\n /**\n * 4. If input is the empty string, then return zero.\n * 5. If input contains a code point that is not a radix-R digit, then\n * return failure.\n */\n if (input === \"\")\n return 0;\n var radixRDigits = (R === 10 ? /^[0-9]+$/ : (R === 16 ? /^[0-9A-Fa-f]+$/ : /^[0-7]+$/));\n if (!radixRDigits.test(input))\n return null;\n /**\n * 6. Return the mathematical integer value that is represented by input in\n * radix-R notation, using ASCII hex digits for digits with values\n * 0 through 15.\n */\n return parseInt(input, R);\n}\nexports.iPv4NumberParser = iPv4NumberParser;\n/**\n * Parses a string containing an IP v4 address.\n *\n * @param input - input string\n */\nfunction iPv4Parser(input) {\n var e_6, _a, e_7, _b;\n /**\n * 1. Let validationErrorFlag be unset.\n * 2. Let parts be input split on U+002E (.).\n */\n var validationErrorFlag = { value: false };\n var parts = input.split('.');\n /**\n * 3. If the last item in parts is the empty string, then:\n * 3.1. Set validationErrorFlag.\n * 3.2. If parts has more than one item, then remove the last item from\n * parts.\n */\n if (parts[parts.length - 1] === \"\") {\n validationErrorFlag.value = true;\n if (parts.length > 1)\n parts.pop();\n }\n /**\n * 4. If parts has more than four items, return input.\n */\n if (parts.length > 4)\n return input;\n /**\n * 5. Let numbers be the empty list.\n * 6. For each part in parts:\n * 6.1. If part is the empty string, return input.\n * 6.2. Let n be the result of parsing part using validationErrorFlag.\n * 6.3. If n is failure, return input.\n * 6.4. Append n to numbers.\n */\n var numbers = [];\n try {\n for (var parts_1 = __values(parts), parts_1_1 = parts_1.next(); !parts_1_1.done; parts_1_1 = parts_1.next()) {\n var part = parts_1_1.value;\n if (part === \"\")\n return input;\n var n = iPv4NumberParser(part, validationErrorFlag);\n if (n === null)\n return input;\n numbers.push(n);\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (parts_1_1 && !parts_1_1.done && (_a = parts_1.return)) _a.call(parts_1);\n }\n finally { if (e_6) throw e_6.error; }\n }\n /**\n * 7. If validationErrorFlag is set, validation error.\n * 8. If any item in numbers is greater than 255, validation error.\n * 9. If any but the last item in numbers is greater than 255, return\n * failure.\n * 10. If the last item in numbers is greater than or equal to\n * 256**(5 − the number of items in numbers), validation error, return failure.\n */\n if (validationErrorFlag.value)\n validationError(\"Invalid IP v4 address.\");\n for (var i = 0; i < numbers.length; i++) {\n var item = numbers[i];\n if (item > 255) {\n validationError(\"Invalid IP v4 address.\");\n if (i < numbers.length - 1)\n return null;\n }\n }\n if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) {\n validationError(\"Invalid IP v4 address.\");\n return null;\n }\n /**\n * 11. Let ipv4 be the last item in numbers.\n * 12. Remove the last item from numbers.\n */\n var ipv4 = numbers[numbers.length - 1];\n numbers.pop();\n /**\n * 13. Let counter be zero.\n * 14. For each n in numbers:\n * 14.2. Increment ipv4 by n × 256**(3 − counter).\n * 14.2. Increment counter by 1.\n */\n var counter = 0;\n try {\n for (var numbers_1 = __values(numbers), numbers_1_1 = numbers_1.next(); !numbers_1_1.done; numbers_1_1 = numbers_1.next()) {\n var n = numbers_1_1.value;\n ipv4 += n * Math.pow(256, 3 - counter);\n counter++;\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (numbers_1_1 && !numbers_1_1.done && (_b = numbers_1.return)) _b.call(numbers_1);\n }\n finally { if (e_7) throw e_7.error; }\n }\n /**\n * 15. Return ipv4.\n */\n return ipv4;\n}\nexports.iPv4Parser = iPv4Parser;\n/**\n * Parses a string containing an IP v6 address.\n *\n * @param input - input string\n */\nfunction iPv6Parser(input) {\n var _a;\n /**\n * 1. Let address be a new IPv6 address whose IPv6 pieces are all 0.\n * 2. Let pieceIndex be 0.\n * 3. Let compress be null.\n * 4. Let pointer be a pointer into input, initially 0 (pointing to the\n * first code point).\n */\n var EOF = \"\";\n var address = [0, 0, 0, 0, 0, 0, 0, 0];\n var pieceIndex = 0;\n var compress = null;\n var walker = new util_1.StringWalker(input);\n /**\n * 5. If c is U+003A (:), then:\n * 5.1. If remaining does not start with U+003A (:), validation error,\n * return failure.\n * 5.2. Increase pointer by 2.\n * 5.3. Increase pieceIndex by 1 and then set compress to pieceIndex.\n */\n if (walker.c() === ':') {\n if (!walker.remaining().startsWith(':')) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n walker.pointer += 2;\n pieceIndex += 1;\n compress = pieceIndex;\n }\n /**\n * 6. While c is not the EOF code point:\n */\n while (walker.c() !== EOF) {\n /**\n * 6.1. If pieceIndex is 8, validation error, return failure.\n */\n if (pieceIndex === 8) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n /**\n * 6.2. If c is U+003A (:), then:\n * 6.2.1. If compress is non-null, validation error, return failure.\n * 6.2.2. Increase pointer and pieceIndex by 1, set compress to pieceIndex,\n * and then continue.\n */\n if (walker.c() === ':') {\n if (compress !== null) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n walker.pointer++;\n pieceIndex++;\n compress = pieceIndex;\n continue;\n }\n /**\n * 6.3. Let value and length be 0.\n * 6.4. While length is less than 4 and c is an ASCII hex digit, set value\n * to value × 0x10 + c interpreted as hexadecimal number, and increase\n * pointer and length by 1.\n */\n var value = 0;\n var length = 0;\n while (length < 4 && infra_1.codePoint.ASCIIHexDigit.test(walker.c())) {\n value = value * 0x10 + parseInt(walker.c(), 16);\n walker.pointer++;\n length++;\n }\n /**\n * 6.5. If c is U+002E (.), then:\n */\n if (walker.c() === '.') {\n /**\n * 6.5.1. If length is 0, validation error, return failure.\n * 6.5.2. Decrease pointer by length.\n * 6.5.3. If pieceIndex is greater than 6, validation error, return\n * failure.\n * 6.5.4. Let numbersSeen be 0.\n */\n if (length === 0) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n walker.pointer -= length;\n if (pieceIndex > 6) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n var numbersSeen = 0;\n /**\n * 6.5.5. While c is not the EOF code point:\n */\n while (walker.c() !== EOF) {\n /**\n * 6.5.5.1. Let ipv4Piece be null.\n */\n var ipv4Piece = null;\n /**\n * 6.5.5.2. If numbersSeen is greater than 0, then:\n * 6.5.5.2.1. If c is a U+002E (.) and numbersSeen is less than 4, then\n * increase pointer by 1.\n * 6.5.5.2.1. Otherwise, validation error, return failure.\n */\n if (numbersSeen > 0) {\n if (walker.c() === '.' && numbersSeen < 4) {\n walker.pointer++;\n }\n else {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n }\n /**\n * 6.5.5.3. If c is not an ASCII digit, validation error, return\n * failure.\n */\n if (!infra_1.codePoint.ASCIIDigit.test(walker.c())) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n /**\n * 6.5.5.4. While c is an ASCII digit:\n */\n while (infra_1.codePoint.ASCIIDigit.test(walker.c())) {\n /**\n * 6.5.5.4.1. Let number be c interpreted as decimal number.\n */\n var number = parseInt(walker.c(), 10);\n /**\n * 6.5.5.4.2. If ipv4Piece is null, then set ipv4Piece to number.\n * Otherwise, if ipv4Piece is 0, validation error, return failure.\n * Otherwise, set ipv4Piece to ipv4Piece × 10 + number.\n */\n if (ipv4Piece === null) {\n ipv4Piece = number;\n }\n else if (ipv4Piece === 0) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n else {\n ipv4Piece = ipv4Piece * 10 + number;\n }\n /**\n * 6.5.5.4.3. If ipv4Piece is greater than 255, validation error, return failure.\n * 6.5.5.4.4. Increase pointer by 1.\n */\n if (ipv4Piece > 255) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n walker.pointer++;\n }\n /**\n * 6.5.5.5. Set address[pieceIndex] to address[pieceIndex] × 0x100 + ipv4Piece.\n * 6.5.5.6. Increase numbersSeen by 1.\n * 6.5.5.7. If numbersSeen is 2 or 4, then increase pieceIndex by 1.\n */\n if (ipv4Piece === null) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece;\n numbersSeen++;\n if (numbersSeen === 2 || numbersSeen === 4)\n pieceIndex++;\n }\n /**\n * 6.5.6. If numbersSeen is not 4, validation error, return failure.\n */\n if (numbersSeen !== 4) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n /**\n * 6.5.7. Break.\n */\n break;\n }\n else if (walker.c() === ':') {\n /**\n * 6.6. Otherwise, if c is U+003A (:):\n * 6.6.1. Increase pointer by 1.\n * 6.6.2. If c is the EOF code point, validation error, return failure.\n */\n walker.pointer++;\n if (walker.c() === EOF) {\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n }\n else if (walker.c() !== EOF) {\n /**\n * 6.7. Otherwise, if c is not the EOF code point, validation error,\n * return failure.\n */\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n /**\n * 6.8. Set address[pieceIndex] to value.\n * 6.9. Increase pieceIndex by 1.\n */\n address[pieceIndex] = value;\n pieceIndex++;\n }\n /**\n * 7. If compress is non-null, then:\n * 7.1. Let swaps be pieceIndex − compress.\n * 7.2. Set pieceIndex to 7.\n * 7.3. While pieceIndex is not 0 and swaps is greater than 0, swap\n * address[pieceIndex] with address[compress + swaps − 1], and then decrease\n * both pieceIndex and swaps by 1.\n */\n if (compress !== null) {\n var swaps = pieceIndex - compress;\n pieceIndex = 7;\n while (pieceIndex !== 0 && swaps > 0) {\n _a = __read([address[compress + swaps - 1], address[pieceIndex]], 2), address[pieceIndex] = _a[0], address[compress + swaps - 1] = _a[1];\n pieceIndex--;\n swaps--;\n }\n }\n else if (compress === null && pieceIndex !== 8) {\n /**\n * 8. Otherwise, if compress is null and pieceIndex is not 8,\n * validation error, return failure.\n */\n validationError(\"Invalid IP v6 address.\");\n return null;\n }\n /**\n * 9. Return address.\n */\n return address;\n}\nexports.iPv6Parser = iPv6Parser;\n/**\n * Parses an opaque host string.\n *\n * @param input - a string\n */\nfunction opaqueHostParser(input) {\n var e_8, _a;\n /**\n * 1. If input contains a forbidden host code point excluding U+0025 (%),\n * validation error, return failure.\n * 2. Let output be the empty string.\n * 3. For each code point in input, UTF-8 percent encode it using the C0\n * control percent-encode set, and append the result to output.\n * 4. Return output.\n */\n var forbiddenChars = /[\\x00\\t\\f\\r #/:?@\\[\\\\\\]]/;\n if (forbiddenChars.test(input)) {\n validationError(\"Invalid host string.\");\n return null;\n }\n var output = \"\";\n try {\n for (var input_1 = __values(input), input_1_1 = input_1.next(); !input_1_1.done; input_1_1 = input_1.next()) {\n var codePoint = input_1_1.value;\n output += utf8PercentEncode(codePoint, _c0ControlPercentEncodeSet);\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (input_1_1 && !input_1_1.done && (_a = input_1.return)) _a.call(input_1);\n }\n finally { if (e_8) throw e_8.error; }\n }\n return output;\n}\nexports.opaqueHostParser = opaqueHostParser;\n/**\n * Resolves a Blob URL from the user agent's Blob URL store.\n * function is not implemented.\n * See: https://w3c.github.io/FileAPI/#blob-url-resolve\n *\n * @param url - an url\n */\nfunction resolveABlobURL(url) {\n return null;\n}\nexports.resolveABlobURL = resolveABlobURL;\n/**\n * Percent encodes a byte.\n *\n * @param value - a byte\n */\nfunction percentEncode(value) {\n /**\n * To percent encode a byte into a percent-encoded byte, return a string\n * consisting of U+0025 (%), followed by two ASCII upper hex digits\n * representing byte.\n */\n return '%' + ('00' + value.toString(16).toUpperCase()).slice(-2);\n}\nexports.percentEncode = percentEncode;\n/**\n * Percent decodes a byte sequence input.\n *\n * @param input - a byte sequence\n */\nfunction percentDecode(input) {\n var isHexDigit = function (byte) {\n return (byte >= 0x30 && byte <= 0x39) || (byte >= 0x41 && byte <= 0x46) ||\n (byte >= 0x61 && byte <= 0x66);\n };\n /**\n * 1. Let output be an empty byte sequence.\n * 2. For each byte byte in input:\n */\n var output = new Uint8Array(input.length);\n var n = 0;\n for (var i = 0; i < input.length; i++) {\n var byte = input[i];\n /**\n * 2.1. If byte is not 0x25 (%), then append byte to output.\n * 2.2. Otherwise, if byte is 0x25 (%) and the next two bytes after byte\n * in input are not in the ranges 0x30 (0) to 0x39 (9), 0x41 (A)\n * to 0x46 (F), and 0x61 (a) to 0x66 (f), all inclusive, append byte\n * to output.\n * 2.3. Otherwise:\n * 2.3.1. Let bytePoint be the two bytes after byte in input, decoded,\n * and then interpreted as hexadecimal number.\n * 2.3.2. Append a byte whose value is bytePoint to output.\n * 2.3.3. Skip the next two bytes in input.\n */\n if (byte !== 0x25) {\n output[n] = byte;\n n++;\n }\n else if (byte === 0x25 && i >= input.length - 2) {\n output[n] = byte;\n n++;\n }\n else if (byte === 0x25 && (!isHexDigit(input[i + 1]) || !isHexDigit(input[i + 2]))) {\n output[n] = byte;\n n++;\n }\n else {\n var bytePoint = parseInt(util_1.utf8Decode(Uint8Array.of(input[i + 1], input[i + 2])), 16);\n output[n] = bytePoint;\n n++;\n i += 2;\n }\n }\n return output.subarray(0, n);\n}\nexports.percentDecode = percentDecode;\n/**\n * String percent decodes a string.\n *\n * @param input - a string\n */\nfunction stringPercentDecode(input) {\n /**\n * 1. Let bytes be the UTF-8 encoding of input.\n * 2. Return the percent decoding of bytes.\n */\n return percentDecode(util_1.utf8Encode(input));\n}\nexports.stringPercentDecode = stringPercentDecode;\n/**\n * UTF-8 percent encodes a code point, using a percent encode set.\n *\n * @param codePoint - a code point\n * @param percentEncodeSet - a percent encode set\n */\nfunction utf8PercentEncode(codePoint, percentEncodeSet) {\n var e_9, _a;\n /**\n * 1. If codePoint is not in percentEncodeSet, then return codePoint.\n * 2. Let bytes be the result of running UTF-8 encode on codePoint.\n * 3. Percent encode each byte in bytes, and then return the results\n * concatenated, in the same order.\n */\n if (!percentEncodeSet.test(codePoint))\n return codePoint;\n var bytes = util_1.utf8Encode(codePoint);\n var result = \"\";\n try {\n for (var bytes_2 = __values(bytes), bytes_2_1 = bytes_2.next(); !bytes_2_1.done; bytes_2_1 = bytes_2.next()) {\n var byte = bytes_2_1.value;\n result += percentEncode(byte);\n }\n }\n catch (e_9_1) { e_9 = { error: e_9_1 }; }\n finally {\n try {\n if (bytes_2_1 && !bytes_2_1.done && (_a = bytes_2.return)) _a.call(bytes_2);\n }\n finally { if (e_9) throw e_9.error; }\n }\n return result;\n}\nexports.utf8PercentEncode = utf8PercentEncode;\n/**\n * Determines if two hosts are considered equal.\n *\n * @param hostA - a host\n * @param hostB - a host\n */\nfunction hostEquals(hostA, hostB) {\n return hostA === hostB;\n}\nexports.hostEquals = hostEquals;\n/**\n * Determines if two URLs are considered equal.\n *\n * @param urlA - a URL\n * @param urlB - a URL\n * @param excludeFragmentsFlag - whether to ignore fragments while comparing\n */\nfunction urlEquals(urlA, urlB, excludeFragmentsFlag) {\n if (excludeFragmentsFlag === void 0) { excludeFragmentsFlag = false; }\n /**\n * 1. Let serializedA be the result of serializing A, with the exclude\n * fragment flag set if the exclude fragments flag is set.\n * 2. Let serializedB be the result of serializing B, with the exclude\n * fragment flag set if the exclude fragments flag is set.\n * 3. Return true if serializedA is serializedB, and false otherwise.\n */\n return urlSerializer(urlA, excludeFragmentsFlag) ===\n urlSerializer(urlB, excludeFragmentsFlag);\n}\nexports.urlEquals = urlEquals;\n/**\n * Parses an `application/x-www-form-urlencoded` string.\n *\n * @param input - a string\n */\nfunction urlEncodedStringParser(input) {\n /**\n * The application/x-www-form-urlencoded string parser takes a string input,\n * UTF-8 encodes it, and then returns the result of\n * application/x-www-form-urlencoded parsing it.\n */\n return urlEncodedParser(util_1.utf8Encode(input));\n}\nexports.urlEncodedStringParser = urlEncodedStringParser;\n/**\n * Parses `application/x-www-form-urlencoded` bytes.\n *\n * @param input - a byte sequence\n */\nfunction urlEncodedParser(input) {\n var e_10, _a, e_11, _b;\n /**\n * 1. Let sequences be the result of splitting input on 0x26 (&).\n */\n var sequences = [];\n var currentSequence = [];\n try {\n for (var input_2 = __values(input), input_2_1 = input_2.next(); !input_2_1.done; input_2_1 = input_2.next()) {\n var byte = input_2_1.value;\n if (byte === 0x26) {\n sequences.push(Uint8Array.from(currentSequence));\n currentSequence = [];\n }\n else {\n currentSequence.push(byte);\n }\n }\n }\n catch (e_10_1) { e_10 = { error: e_10_1 }; }\n finally {\n try {\n if (input_2_1 && !input_2_1.done && (_a = input_2.return)) _a.call(input_2);\n }\n finally { if (e_10) throw e_10.error; }\n }\n if (currentSequence.length !== 0) {\n sequences.push(Uint8Array.from(currentSequence));\n }\n /**\n * 2. Let output be an initially empty list of name-value tuples where both name and value hold a string.\n */\n var output = [];\n try {\n /**\n * 3. For each byte sequence bytes in sequences:\n */\n for (var sequences_1 = __values(sequences), sequences_1_1 = sequences_1.next(); !sequences_1_1.done; sequences_1_1 = sequences_1.next()) {\n var bytes = sequences_1_1.value;\n /**\n * 3.1. If bytes is the empty byte sequence, then continue.\n */\n if (bytes.length === 0)\n continue;\n /**\n * 3.2. If bytes contains a 0x3D (=), then let name be the bytes from the\n * start of bytes up to but excluding its first 0x3D (=), and let value be\n * the bytes, if any, after the first 0x3D (=) up to the end of bytes.\n * If 0x3D (=) is the first byte, then name will be the empty byte\n * sequence. If it is the last, then value will be the empty byte sequence.\n * 3.3. Otherwise, let name have the value of bytes and let value be the\n * empty byte sequence.\n */\n var index = bytes.indexOf(0x3D);\n var name = (index !== -1 ? bytes.slice(0, index) : bytes);\n var value = (index !== -1 ? bytes.slice(index + 1) : new Uint8Array());\n /**\n * 3.4. Replace any 0x2B (+) in name and value with 0x20 (SP).\n */\n for (var i = 0; i < name.length; i++)\n if (name[i] === 0x2B)\n name[i] = 0x20;\n for (var i = 0; i < value.length; i++)\n if (value[i] === 0x2B)\n value[i] = 0x20;\n /**\n * 3.5. Let nameString and valueString be the result of running UTF-8\n * decode without BOM on the percent decoding of name and value,\n * respectively.\n */\n var nameString = util_1.utf8Decode(name);\n var valueString = util_1.utf8Decode(value);\n /**\n * 3.6. Append (nameString, valueString) to output.\n */\n output.push([nameString, valueString]);\n }\n }\n catch (e_11_1) { e_11 = { error: e_11_1 }; }\n finally {\n try {\n if (sequences_1_1 && !sequences_1_1.done && (_b = sequences_1.return)) _b.call(sequences_1);\n }\n finally { if (e_11) throw e_11.error; }\n }\n /**\n * 4. Return output.\n */\n return output;\n}\nexports.urlEncodedParser = urlEncodedParser;\n/**\n * Serializes `application/x-www-form-urlencoded` bytes.\n *\n * @param input - a byte sequence\n */\nfunction urlEncodedByteSerializer(input) {\n var e_12, _a;\n /**\n * 1. Let output be the empty string.\n * 2. For each byte in input, depending on byte:\n * 0x20 (SP)\n * Append U+002B (+) to output.\n *\n * 0x2A (*)\n * 0x2D (-)\n * 0x2E (.)\n * 0x30 (0) to 0x39 (9)\n * 0x41 (A) to 0x5A (Z)\n * 0x5F (_)\n * 0x61 (a) to 0x7A (z)\n * Append a code point whose value is byte to output.\n *\n * Otherwise\n * Append byte, percent encoded, to output.\n * 3. Return output.\n */\n var output = \"\";\n try {\n for (var input_3 = __values(input), input_3_1 = input_3.next(); !input_3_1.done; input_3_1 = input_3.next()) {\n var byte = input_3_1.value;\n if (byte === 0x20) {\n output += '+';\n }\n else if (byte === 0x2A || byte === 0x2D || byte === 0x2E ||\n (byte >= 0x30 && byte <= 0x39) || (byte >= 0x41 && byte <= 0x5A) ||\n byte === 0x5F || (byte >= 0x61 && byte <= 0x7A)) {\n output += String.fromCodePoint(byte);\n }\n else {\n output += percentEncode(byte);\n }\n }\n }\n catch (e_12_1) { e_12 = { error: e_12_1 }; }\n finally {\n try {\n if (input_3_1 && !input_3_1.done && (_a = input_3.return)) _a.call(input_3);\n }\n finally { if (e_12) throw e_12.error; }\n }\n return output;\n}\nexports.urlEncodedByteSerializer = urlEncodedByteSerializer;\n/**\n * Serializes `application/x-www-form-urlencoded` tuples.\n *\n * @param input - input tuple of name/value pairs\n * @param encodingOverride: encoding override\n */\nfunction urlEncodedSerializer(tuples, encodingOverride) {\n var e_13, _a;\n /**\n * 1. Let encoding be UTF-8.\n * 2. If encoding override is given, set encoding to the result of getting\n * an output encoding from encoding override.\n */\n var encoding = (encodingOverride === undefined ||\n encodingOverride === \"replacement\" || encodingOverride === \"UTF-16BE\" ||\n encodingOverride === \"UTF-16LE\" ? \"UTF-8\" : encodingOverride);\n if (encoding.toUpperCase() !== \"UTF-8\") {\n throw new Error(\"Only UTF-8 encoding is supported.\");\n }\n /**\n * 3. Let output be the empty string.\n */\n var output = \"\";\n try {\n /**\n * 4. For each tuple in tuples:\n */\n for (var tuples_1 = __values(tuples), tuples_1_1 = tuples_1.next(); !tuples_1_1.done; tuples_1_1 = tuples_1.next()) {\n var tuple = tuples_1_1.value;\n /**\n * 4.1. Let name be the result of serializing the result of encoding\n * tuple’s name, using encoding.\n */\n var name = urlEncodedByteSerializer(util_1.utf8Encode(tuple[0]));\n /**\n * 4.2. Let value be tuple’s value.\n */\n var value = tuple[1];\n /**\n * TODO:\n * 4.3. If value is a file, then set value to value’s filename.\n */\n /**\n * 4.4. Set value to the result of serializing the result of encoding\n * value, using encoding.\n */\n value = urlEncodedByteSerializer(util_1.utf8Encode(value));\n /**\n * 4.5. If tuple is not the first pair in tuples, then append U+0026 (&)\n * to output.\n */\n if (output !== \"\")\n output += '&';\n /**\n * 4.6. Append name, followed by U+003D (=), followed by value, to output.\n */\n output += name + '=' + value;\n }\n }\n catch (e_13_1) { e_13 = { error: e_13_1 }; }\n finally {\n try {\n if (tuples_1_1 && !tuples_1_1.done && (_a = tuples_1.return)) _a.call(tuples_1);\n }\n finally { if (e_13) throw e_13.error; }\n }\n /**\n * 5. Return output.\n */\n return output;\n}\nexports.urlEncodedSerializer = urlEncodedSerializer;\n/**\n * Returns a URL's origin.\n *\n * @param url - a URL\n */\nfunction origin(url) {\n /**\n * A URL’s origin is the origin returned by running these steps, switching\n * on URL’s scheme:\n * \"blob\"\n * 1. If URL’s blob URL entry is non-null, then return URL’s blob URL\n * entry’s environment’s origin.\n * 2. Let url be the result of parsing URL’s path[0].\n * 3. Return a new opaque origin, if url is failure, and url’s origin\n * otherwise.\n * \"ftp\"\n * \"http\"\n * \"https\"\n * \"ws\"\n * \"wss\"\n * Return a tuple consisting of URL’s scheme, URL’s host, URL’s port, and\n * null.\n * \"file\"\n * Unfortunate as it is, is left as an exercise to the reader. When in\n * doubt, return a new opaque origin.\n * Otherwise\n * Return a new opaque origin.\n */\n switch (url.scheme) {\n case \"blob\":\n if (url._blobURLEntry !== null) {\n // TODO: return URL’s blob URL entry’s environment’s origin.\n }\n var parsedURL = basicURLParser(url.path[0]);\n if (parsedURL === null)\n return interfaces_1.OpaqueOrigin;\n else\n return origin(parsedURL);\n case \"ftp\":\n case \"http\":\n case \"https\":\n case \"ws\":\n case \"wss\":\n return [url.scheme, url.host === null ? \"\" : url.host, url.port, null];\n case \"file\":\n return interfaces_1.OpaqueOrigin;\n default:\n return interfaces_1.OpaqueOrigin;\n }\n}\nexports.origin = origin;\n/**\n * Converts a domain string to ASCII.\n *\n * @param domain - a domain string\n */\nfunction domainToASCII(domain, beStrict) {\n if (beStrict === void 0) { beStrict = false; }\n /**\n * 1. If beStrict is not given, set it to false.\n * 2. Let result be the result of running Unicode ToASCII with domain_name\n * set to domain, UseSTD3ASCIIRules set to beStrict, CheckHyphens set to\n * false, CheckBidi set to true, CheckJoiners set to true,\n * Transitional_Processing set to false, and VerifyDnsLength set to beStrict.\n * 3. If result is a failure value, validation error, return failure.\n * 4. Return result.\n */\n // Use node.js function\n var result = url_1.domainToASCII(domain);\n if (result === \"\") {\n validationError(\"Invalid domain name.\");\n return null;\n }\n return result;\n}\nexports.domainToASCII = domainToASCII;\n/**\n * Converts a domain string to Unicode.\n *\n * @param domain - a domain string\n */\nfunction domainToUnicode(domain, beStrict) {\n if (beStrict === void 0) { beStrict = false; }\n /**\n * 1. Let result be the result of running Unicode ToUnicode with domain_name\n * set to domain, CheckHyphens set to false, CheckBidi set to true,\n * CheckJoiners set to true, UseSTD3ASCIIRules set to false, and\n * Transitional_Processing set to false.\n * 2. Signify validation errors for any returned errors, and then,\n * return result.\n */\n // Use node.js function\n var result = url_1.domainToUnicode(domain);\n if (result === \"\") {\n validationError(\"Invalid domain name.\");\n }\n return result;\n}\nexports.domainToUnicode = domainToUnicode;\n/**\n * Serializes an origin.\n * function is from the HTML spec:\n * https://html.spec.whatwg.org/#ascii-serialisation-of-an-origin\n *\n * @param origin - an origin\n */\nfunction asciiSerializationOfAnOrigin(origin) {\n /**\n * 1. If origin is an opaque origin, then return \"null\".\n * 2. Otherwise, let result be origin's scheme.\n * 3. Append \"://\" to result.\n * 4. Append origin's host, serialized, to result.\n * 5. If origin's port is non-null, append a U+003A COLON character (:),\n * and origin's port, serialized, to result.\n * 6. Return result.\n */\n if (origin[0] === \"\" && origin[1] === \"\" && origin[2] === null && origin[3] === null) {\n return \"null\";\n }\n var result = origin[0] + \"://\" + hostSerializer(origin[1]);\n if (origin[2] !== null)\n result += \":\" + origin[2].toString();\n return result;\n}\nexports.asciiSerializationOfAnOrigin = asciiSerializationOfAnOrigin;\n//# sourceMappingURL=URLAlgorithm.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents the state of the URL parser.\n */\nvar ParserState;\n(function (ParserState) {\n ParserState[ParserState[\"SchemeStart\"] = 0] = \"SchemeStart\";\n ParserState[ParserState[\"Scheme\"] = 1] = \"Scheme\";\n ParserState[ParserState[\"NoScheme\"] = 2] = \"NoScheme\";\n ParserState[ParserState[\"SpecialRelativeOrAuthority\"] = 3] = \"SpecialRelativeOrAuthority\";\n ParserState[ParserState[\"PathOrAuthority\"] = 4] = \"PathOrAuthority\";\n ParserState[ParserState[\"Relative\"] = 5] = \"Relative\";\n ParserState[ParserState[\"RelativeSlash\"] = 6] = \"RelativeSlash\";\n ParserState[ParserState[\"SpecialAuthoritySlashes\"] = 7] = \"SpecialAuthoritySlashes\";\n ParserState[ParserState[\"SpecialAuthorityIgnoreSlashes\"] = 8] = \"SpecialAuthorityIgnoreSlashes\";\n ParserState[ParserState[\"Authority\"] = 9] = \"Authority\";\n ParserState[ParserState[\"Host\"] = 10] = \"Host\";\n ParserState[ParserState[\"Hostname\"] = 11] = \"Hostname\";\n ParserState[ParserState[\"Port\"] = 12] = \"Port\";\n ParserState[ParserState[\"File\"] = 13] = \"File\";\n ParserState[ParserState[\"FileSlash\"] = 14] = \"FileSlash\";\n ParserState[ParserState[\"FileHost\"] = 15] = \"FileHost\";\n ParserState[ParserState[\"PathStart\"] = 16] = \"PathStart\";\n ParserState[ParserState[\"Path\"] = 17] = \"Path\";\n ParserState[ParserState[\"CannotBeABaseURLPath\"] = 18] = \"CannotBeABaseURLPath\";\n ParserState[ParserState[\"Query\"] = 19] = \"Query\";\n ParserState[ParserState[\"Fragment\"] = 20] = \"Fragment\";\n})(ParserState = exports.ParserState || (exports.ParserState = {}));\nexports.OpaqueOrigin = [\"\", \"\", null, null];\n//# sourceMappingURL=interfaces.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a cache for storing order between equal objects.\n *\n * This cache is used when an algorithm compares two objects and finds them to\n * be equal but still needs to establish an order between those two objects.\n * When two such objects `a` and `b` are passed to the `check` method, a random\n * number is generated with `Math.random()`. If the random number is less than\n * `0.5` it is assumed that `a < b` otherwise `a > b`. The random number along\n * with `a` and `b` is stored in the cache, so that subsequent checks result\n * in the same consistent result.\n *\n * The cache has a size limit which is defined on initialization.\n */\nvar CompareCache = /** @class */ (function () {\n /**\n * Initializes a new instance of `CompareCache`.\n *\n * @param limit - maximum number of items to keep in the cache. When the limit\n * is exceeded the first item is removed from the cache.\n */\n function CompareCache(limit) {\n if (limit === void 0) { limit = 1000; }\n this._items = new Map();\n this._limit = limit;\n }\n /**\n * Compares and caches the given objects. Returns `true` if `objA < objB` and\n * `false` otherwise.\n *\n * @param objA - an item to compare\n * @param objB - an item to compare\n */\n CompareCache.prototype.check = function (objA, objB) {\n if (this._items.get(objA) === objB)\n return true;\n else if (this._items.get(objB) === objA)\n return false;\n var result = (Math.random() < 0.5);\n if (result) {\n this._items.set(objA, objB);\n }\n else {\n this._items.set(objB, objA);\n }\n if (this._items.size > this._limit) {\n var it_1 = this._items.keys().next();\n /* istanbul ignore else */\n if (!it_1.done) {\n this._items.delete(it_1.value);\n }\n }\n return result;\n };\n return CompareCache;\n}());\nexports.CompareCache = CompareCache;\n//# sourceMappingURL=CompareCache.js.map","\"use strict\";\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a set of objects with a size limit.\n */\nvar FixedSizeSet = /** @class */ (function () {\n /**\n * Initializes a new instance of `FixedSizeSet`.\n *\n * @param limit - maximum number of items to keep in the set. When the limit\n * is exceeded the first item is removed from the set.\n */\n function FixedSizeSet(limit) {\n if (limit === void 0) { limit = 1000; }\n this._items = new Set();\n this._limit = limit;\n }\n /**\n * Adds a new item to the set.\n *\n * @param item - an item\n */\n FixedSizeSet.prototype.add = function (item) {\n this._items.add(item);\n if (this._items.size > this._limit) {\n var it_1 = this._items.values().next();\n /* istanbul ignore else */\n if (!it_1.done) {\n this._items.delete(it_1.value);\n }\n }\n return this;\n };\n /**\n * Removes an item from the set.\n *\n * @param item - an item\n */\n FixedSizeSet.prototype.delete = function (item) {\n return this._items.delete(item);\n };\n /**\n * Determines if an item is in the set.\n *\n * @param item - an item\n */\n FixedSizeSet.prototype.has = function (item) {\n return this._items.has(item);\n };\n /**\n * Removes all items from the set.\n */\n FixedSizeSet.prototype.clear = function () {\n this._items.clear();\n };\n Object.defineProperty(FixedSizeSet.prototype, \"size\", {\n /**\n * Gets the number of items in the set.\n */\n get: function () { return this._items.size; },\n enumerable: true,\n configurable: true\n });\n /**\n * Applies the given callback function to all elements of the set.\n */\n FixedSizeSet.prototype.forEach = function (callback, thisArg) {\n var _this = this;\n this._items.forEach(function (e) { return callback.call(thisArg, e, e, _this); });\n };\n /**\n * Iterates through the items in the set.\n */\n FixedSizeSet.prototype.keys = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items.keys())];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n /**\n * Iterates through the items in the set.\n */\n FixedSizeSet.prototype.values = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items.values())];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n /**\n * Iterates through the items in the set.\n */\n FixedSizeSet.prototype.entries = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items.entries())];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n /**\n * Iterates through the items in the set.\n */\n FixedSizeSet.prototype[Symbol.iterator] = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items)];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n Object.defineProperty(FixedSizeSet.prototype, Symbol.toStringTag, {\n /**\n * Returns the string tag of the set.\n */\n get: function () {\n return \"FixedSizeSet\";\n },\n enumerable: true,\n configurable: true\n });\n return FixedSizeSet;\n}());\nexports.FixedSizeSet = FixedSizeSet;\n//# sourceMappingURL=FixedSizeSet.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents an object with lazy initialization.\n */\nvar Lazy = /** @class */ (function () {\n /**\n * Initializes a new instance of `Lazy`.\n *\n * @param initFunc - initializer function\n */\n function Lazy(initFunc) {\n this._initialized = false;\n this._value = undefined;\n this._initFunc = initFunc;\n }\n Object.defineProperty(Lazy.prototype, \"value\", {\n /**\n * Gets the value of the object.\n */\n get: function () {\n if (!this._initialized) {\n this._value = this._initFunc();\n this._initialized = true;\n }\n return this._value;\n },\n enumerable: true,\n configurable: true\n });\n return Lazy;\n}());\nexports.Lazy = Lazy;\n//# sourceMappingURL=Lazy.js.map","\"use strict\";\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Represents a cache of objects with a size limit.\n */\nvar ObjectCache = /** @class */ (function () {\n /**\n * Initializes a new instance of `ObjectCache`.\n *\n * @param limit - maximum number of items to keep in the cache. When the limit\n * is exceeded the first item is removed from the cache.\n */\n function ObjectCache(limit) {\n if (limit === void 0) { limit = 1000; }\n this._items = new Map();\n this._limit = limit;\n }\n /**\n * Gets an item from the cache.\n *\n * @param key - object key\n */\n ObjectCache.prototype.get = function (key) {\n return this._items.get(key);\n };\n /**\n * Adds a new item to the cache.\n *\n * @param key - object key\n * @param value - object value\n */\n ObjectCache.prototype.set = function (key, value) {\n this._items.set(key, value);\n if (this._items.size > this._limit) {\n var it_1 = this._items.keys().next();\n /* istanbul ignore else */\n if (!it_1.done) {\n this._items.delete(it_1.value);\n }\n }\n };\n /**\n * Removes an item from the cache.\n *\n * @param item - an item\n */\n ObjectCache.prototype.delete = function (key) {\n return this._items.delete(key);\n };\n /**\n * Determines if an item is in the cache.\n *\n * @param item - an item\n */\n ObjectCache.prototype.has = function (key) {\n return this._items.has(key);\n };\n /**\n * Removes all items from the cache.\n */\n ObjectCache.prototype.clear = function () {\n this._items.clear();\n };\n Object.defineProperty(ObjectCache.prototype, \"size\", {\n /**\n * Gets the number of items in the cache.\n */\n get: function () { return this._items.size; },\n enumerable: true,\n configurable: true\n });\n /**\n * Applies the given callback function to all elements of the cache.\n */\n ObjectCache.prototype.forEach = function (callback, thisArg) {\n this._items.forEach(function (v, k) { return callback.call(thisArg, k, v); });\n };\n /**\n * Iterates through the items in the set.\n */\n ObjectCache.prototype.keys = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items.keys())];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n /**\n * Iterates through the items in the set.\n */\n ObjectCache.prototype.values = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items.values())];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n /**\n * Iterates through the items in the set.\n */\n ObjectCache.prototype.entries = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items.entries())];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n /**\n * Iterates through the items in the set.\n */\n ObjectCache.prototype[Symbol.iterator] = function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [5 /*yield**/, __values(this._items)];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n };\n Object.defineProperty(ObjectCache.prototype, Symbol.toStringTag, {\n /**\n * Returns the string tag of the cache.\n */\n get: function () {\n return \"ObjectCache\";\n },\n enumerable: true,\n configurable: true\n });\n return ObjectCache;\n}());\nexports.ObjectCache = ObjectCache;\n//# sourceMappingURL=ObjectCache.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Walks through the code points of a string.\n */\nvar StringWalker = /** @class */ (function () {\n /**\n * Initializes a new `StringWalker`.\n *\n * @param input - input string\n */\n function StringWalker(input) {\n this._pointer = 0;\n this._chars = Array.from(input);\n this._length = this._chars.length;\n }\n Object.defineProperty(StringWalker.prototype, \"eof\", {\n /**\n * Determines if the current position is beyond the end of string.\n */\n get: function () { return this._pointer >= this._length; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(StringWalker.prototype, \"length\", {\n /**\n * Returns the number of code points in the input string.\n */\n get: function () { return this._length; },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns the current code point. Returns `-1` if the position is beyond\n * the end of string.\n */\n StringWalker.prototype.codePoint = function () {\n if (this._codePoint === undefined) {\n if (this.eof) {\n this._codePoint = -1;\n }\n else {\n var cp = this._chars[this._pointer].codePointAt(0);\n /* istanbul ignore else */\n if (cp !== undefined) {\n this._codePoint = cp;\n }\n else {\n this._codePoint = -1;\n }\n }\n }\n return this._codePoint;\n };\n /**\n * Returns the current character. Returns an empty string if the position is\n * beyond the end of string.\n */\n StringWalker.prototype.c = function () {\n if (this._c === undefined) {\n this._c = (this.eof ? \"\" : this._chars[this._pointer]);\n }\n return this._c;\n };\n /**\n * Returns the remaining string.\n */\n StringWalker.prototype.remaining = function () {\n if (this._remaining === undefined) {\n this._remaining = (this.eof ?\n \"\" : this._chars.slice(this._pointer + 1).join(''));\n }\n return this._remaining;\n };\n /**\n * Returns the substring from the current character to the end of string.\n */\n StringWalker.prototype.substring = function () {\n if (this._substring === undefined) {\n this._substring = (this.eof ?\n \"\" : this._chars.slice(this._pointer).join(''));\n }\n return this._substring;\n };\n Object.defineProperty(StringWalker.prototype, \"pointer\", {\n /**\n * Gets or sets the current position.\n */\n get: function () { return this._pointer; },\n set: function (val) {\n if (val === this._pointer)\n return;\n this._pointer = val;\n this._codePoint = undefined;\n this._c = undefined;\n this._remaining = undefined;\n this._substring = undefined;\n },\n enumerable: true,\n configurable: true\n });\n return StringWalker;\n}());\nexports.StringWalker = StringWalker;\n//# sourceMappingURL=StringWalker.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar FixedSizeSet_1 = require(\"./FixedSizeSet\");\nexports.FixedSizeSet = FixedSizeSet_1.FixedSizeSet;\nvar ObjectCache_1 = require(\"./ObjectCache\");\nexports.ObjectCache = ObjectCache_1.ObjectCache;\nvar CompareCache_1 = require(\"./CompareCache\");\nexports.CompareCache = CompareCache_1.CompareCache;\nvar Lazy_1 = require(\"./Lazy\");\nexports.Lazy = Lazy_1.Lazy;\nvar StringWalker_1 = require(\"./StringWalker\");\nexports.StringWalker = StringWalker_1.StringWalker;\n/**\n * Applies the mixin to a given class.\n *\n * @param baseClass - class to receive the mixin\n * @param mixinClass - mixin class\n * @param overrides - an array with names of function overrides. Base class\n * functions whose names are in this array will be kept by prepending an\n * underscore to their names.\n */\nfunction applyMixin(baseClass, mixinClass) {\n var overrides = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n overrides[_i - 2] = arguments[_i];\n }\n Object.getOwnPropertyNames(mixinClass.prototype).forEach(function (name) {\n if (name !== \"constructor\") {\n if (overrides.indexOf(name) !== -1) {\n var orgPropDesc = Object.getOwnPropertyDescriptor(baseClass.prototype, name);\n /* istanbul ignore else */\n if (orgPropDesc) {\n Object.defineProperty(baseClass.prototype, \"_\" + name, orgPropDesc);\n }\n }\n var propDesc = Object.getOwnPropertyDescriptor(mixinClass.prototype, name);\n /* istanbul ignore else */\n if (propDesc) {\n Object.defineProperty(baseClass.prototype, name, propDesc);\n }\n }\n });\n}\nexports.applyMixin = applyMixin;\n/**\n * Applies default values to the given object.\n *\n * @param obj - an object\n * @param defaults - an object with default values\n * @param overwrite - if set to `true` defaults object always overwrites object\n * values, whether they are `undefined` or not.\n */\nfunction applyDefaults(obj, defaults, overwrite) {\n if (overwrite === void 0) { overwrite = false; }\n var result = clone(obj || {});\n forEachObject(defaults, function (key, val) {\n if (isPlainObject(val)) {\n result[key] = applyDefaults(result[key], val, overwrite);\n }\n else if (overwrite || result[key] === undefined) {\n result[key] = val;\n }\n });\n return result;\n}\nexports.applyDefaults = applyDefaults;\n/**\n * Iterates over items of an array or set.\n *\n * @param arr - array or set to iterate\n * @param callback - a callback function which receives each array item as its\n * single argument\n * @param thisArg - the value of this inside callback\n */\nfunction forEachArray(arr, callback, thisArg) {\n arr.forEach(callback, thisArg);\n}\nexports.forEachArray = forEachArray;\n/**\n * Iterates over key/value pairs of a map or object.\n *\n * @param obj - map or object to iterate\n * @param callback - a callback function which receives object key as its first\n * argument and object value as its second argument\n * @param thisArg - the value of this inside callback\n */\nfunction forEachObject(obj, callback, thisArg) {\n if (isMap(obj)) {\n obj.forEach(function (value, key) { return callback.call(thisArg, key, value); });\n }\n else {\n for (var key in obj) {\n /* istanbul ignore else */\n if (obj.hasOwnProperty(key)) {\n callback.call(thisArg, key, obj[key]);\n }\n }\n }\n}\nexports.forEachObject = forEachObject;\n/**\n * Returns the number of entries in an array or set.\n *\n * @param arr - array or set\n */\nfunction arrayLength(obj) {\n if (isSet(obj)) {\n return obj.size;\n }\n else {\n return obj.length;\n }\n}\nexports.arrayLength = arrayLength;\n/**\n * Returns the number of entries in a map or object.\n *\n * @param obj - map or object\n */\nfunction objectLength(obj) {\n if (isMap(obj)) {\n return obj.size;\n }\n else {\n return Object.keys(obj).length;\n }\n}\nexports.objectLength = objectLength;\n/**\n * Gets the value of a key from a map or object.\n *\n * @param obj - map or object\n * @param key - the key to retrieve\n */\nfunction getObjectValue(obj, key) {\n if (isMap(obj)) {\n return obj.get(key);\n }\n else {\n return obj[key];\n }\n}\nexports.getObjectValue = getObjectValue;\n/**\n * Removes a property from a map or object.\n *\n * @param obj - map or object\n * @param key - the key to remove\n */\nfunction removeObjectValue(obj, key) {\n if (isMap(obj)) {\n obj.delete(key);\n }\n else {\n delete obj[key];\n }\n}\nexports.removeObjectValue = removeObjectValue;\n/**\n * Deep clones the given object.\n *\n * @param obj - an object\n */\nfunction clone(obj) {\n var e_1, _a;\n if (isFunction(obj)) {\n return obj;\n }\n else if (isArray(obj)) {\n var result = [];\n try {\n for (var obj_1 = __values(obj), obj_1_1 = obj_1.next(); !obj_1_1.done; obj_1_1 = obj_1.next()) {\n var item = obj_1_1.value;\n result.push(clone(item));\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (obj_1_1 && !obj_1_1.done && (_a = obj_1.return)) _a.call(obj_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return result;\n }\n else if (isObject(obj)) {\n var result = {};\n for (var key in obj) {\n /* istanbul ignore next */\n if (obj.hasOwnProperty(key)) {\n var val = obj[key];\n result[key] = clone(val);\n }\n }\n return result;\n }\n else {\n return obj;\n }\n}\nexports.clone = clone;\n/**\n * Type guard for boolean types\n *\n * @param x - a variable to type check\n */\nfunction isBoolean(x) {\n return typeof x === \"boolean\";\n}\nexports.isBoolean = isBoolean;\n/**\n * Type guard for numeric types\n *\n * @param x - a variable to type check\n */\nfunction isNumber(x) {\n return typeof x === \"number\";\n}\nexports.isNumber = isNumber;\n/**\n * Type guard for strings\n *\n * @param x - a variable to type check\n */\nfunction isString(x) {\n return typeof x === \"string\";\n}\nexports.isString = isString;\n/**\n * Type guard for function objects\n *\n * @param x - a variable to type check\n */\nfunction isFunction(x) {\n return !!x && Object.prototype.toString.call(x) === '[object Function]';\n}\nexports.isFunction = isFunction;\n/**\n * Type guard for JS objects\n *\n * _Note:_ Functions are objects too\n *\n * @param x - a variable to type check\n */\nfunction isObject(x) {\n var type = typeof x;\n return !!x && (type === 'function' || type === 'object');\n}\nexports.isObject = isObject;\n/**\n * Type guard for arrays\n *\n * @param x - a variable to type check\n */\nfunction isArray(x) {\n return Array.isArray(x);\n}\nexports.isArray = isArray;\n/**\n * Type guard for sets.\n *\n * @param x - a variable to check\n */\nfunction isSet(x) {\n return x instanceof Set;\n}\nexports.isSet = isSet;\n/**\n * Type guard for maps.\n *\n * @param x - a variable to check\n */\nfunction isMap(x) {\n return x instanceof Map;\n}\nexports.isMap = isMap;\n/**\n * Determines if `x` is an empty Array or an Object with no own properties.\n *\n * @param x - a variable to check\n */\nfunction isEmpty(x) {\n if (isArray(x)) {\n return !x.length;\n }\n else if (isSet(x)) {\n return !x.size;\n }\n else if (isMap(x)) {\n return !x.size;\n }\n else if (isObject(x)) {\n for (var key in x) {\n if (x.hasOwnProperty(key)) {\n return false;\n }\n }\n return true;\n }\n return false;\n}\nexports.isEmpty = isEmpty;\n/**\n * Determines if `x` is a plain Object.\n *\n * @param x - a variable to check\n */\nfunction isPlainObject(x) {\n if (isObject(x)) {\n var proto = Object.getPrototypeOf(x);\n var ctor = proto.constructor;\n return proto && ctor &&\n (typeof ctor === 'function') && (ctor instanceof ctor) &&\n (Function.prototype.toString.call(ctor) === Function.prototype.toString.call(Object));\n }\n return false;\n}\nexports.isPlainObject = isPlainObject;\n/**\n * Determines if `x` is an iterable Object.\n *\n * @param x - a variable to check\n */\nfunction isIterable(x) {\n return x && (typeof x[Symbol.iterator] === 'function');\n}\nexports.isIterable = isIterable;\n/**\n * Gets the primitive value of an object.\n */\nfunction getValue(obj) {\n if (isFunction(obj.valueOf)) {\n return obj.valueOf();\n }\n else {\n return obj;\n }\n}\nexports.getValue = getValue;\n/**\n * UTF-8 encodes the given string.\n *\n * @param input - a string\n */\nfunction utf8Encode(input) {\n var bytes = new Uint8Array(input.length * 4);\n var byteIndex = 0;\n for (var i = 0; i < input.length; i++) {\n var char = input.charCodeAt(i);\n if (char < 128) {\n bytes[byteIndex++] = char;\n continue;\n }\n else if (char < 2048) {\n bytes[byteIndex++] = char >> 6 | 192;\n }\n else {\n if (char > 0xd7ff && char < 0xdc00) {\n if (++i >= input.length) {\n throw new Error(\"Incomplete surrogate pair.\");\n }\n var c2 = input.charCodeAt(i);\n if (c2 < 0xdc00 || c2 > 0xdfff) {\n throw new Error(\"Invalid surrogate character.\");\n }\n char = 0x10000 + ((char & 0x03ff) << 10) + (c2 & 0x03ff);\n bytes[byteIndex++] = char >> 18 | 240;\n bytes[byteIndex++] = char >> 12 & 63 | 128;\n }\n else {\n bytes[byteIndex++] = char >> 12 | 224;\n }\n bytes[byteIndex++] = char >> 6 & 63 | 128;\n }\n bytes[byteIndex++] = char & 63 | 128;\n }\n return bytes.subarray(0, byteIndex);\n}\nexports.utf8Encode = utf8Encode;\n/**\n * UTF-8 decodes the given byte sequence into a string.\n *\n * @param bytes - a byte sequence\n */\nfunction utf8Decode(bytes) {\n var result = \"\";\n var i = 0;\n while (i < bytes.length) {\n var c = bytes[i++];\n if (c > 127) {\n if (c > 191 && c < 224) {\n if (i >= bytes.length) {\n throw new Error(\"Incomplete 2-byte sequence.\");\n }\n c = (c & 31) << 6 | bytes[i++] & 63;\n }\n else if (c > 223 && c < 240) {\n if (i + 1 >= bytes.length) {\n throw new Error(\"Incomplete 3-byte sequence.\");\n }\n c = (c & 15) << 12 | (bytes[i++] & 63) << 6 | bytes[i++] & 63;\n }\n else if (c > 239 && c < 248) {\n if (i + 2 >= bytes.length) {\n throw new Error(\"Incomplete 4-byte sequence.\");\n }\n c = (c & 7) << 18 | (bytes[i++] & 63) << 12 | (bytes[i++] & 63) << 6 | bytes[i++] & 63;\n }\n else {\n throw new Error(\"Unknown multi-byte start.\");\n }\n }\n if (c <= 0xffff) {\n result += String.fromCharCode(c);\n }\n else if (c <= 0x10ffff) {\n c -= 0x10000;\n result += String.fromCharCode(c >> 10 | 0xd800);\n result += String.fromCharCode(c & 0x3FF | 0xdc00);\n }\n else {\n throw new Error(\"Code point exceeds UTF-16 limit.\");\n }\n }\n return result;\n}\nexports.utf8Decode = utf8Decode;\n//# sourceMappingURL=index.js.map","var register = require('./lib/register')\nvar addHook = require('./lib/add')\nvar removeHook = require('./lib/remove')\n\n// bind with array of arguments: https://stackoverflow.com/a/21792913\nvar bind = Function.bind\nvar bindable = bind.bind(bind)\n\nfunction bindApi (hook, state, name) {\n var removeHookRef = bindable(removeHook, null).apply(null, name ? [state, name] : [state])\n hook.api = { remove: removeHookRef }\n hook.remove = removeHookRef\n\n ;['before', 'error', 'after', 'wrap'].forEach(function (kind) {\n var args = name ? [state, kind, name] : [state, kind]\n hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args)\n })\n}\n\nfunction HookSingular () {\n var singularHookName = 'h'\n var singularHookState = {\n registry: {}\n }\n var singularHook = register.bind(null, singularHookState, singularHookName)\n bindApi(singularHook, singularHookState, singularHookName)\n return singularHook\n}\n\nfunction HookCollection () {\n var state = {\n registry: {}\n }\n\n var hook = register.bind(null, state)\n bindApi(hook, state)\n\n return hook\n}\n\nvar collectionHookDeprecationMessageDisplayed = false\nfunction Hook () {\n if (!collectionHookDeprecationMessageDisplayed) {\n console.warn('[before-after-hook]: \"Hook()\" repurposing warning, use \"Hook.Collection()\". Read more: https://git.io/upgrade-before-after-hook-to-1.4')\n collectionHookDeprecationMessageDisplayed = true\n }\n return HookCollection()\n}\n\nHook.Singular = HookSingular.bind()\nHook.Collection = HookCollection.bind()\n\nmodule.exports = Hook\n// expose constructors as a named property for TypeScript\nmodule.exports.Hook = Hook\nmodule.exports.Singular = Hook.Singular\nmodule.exports.Collection = Hook.Collection\n","module.exports = addHook;\n\nfunction addHook(state, kind, name, hook) {\n var orig = hook;\n if (!state.registry[name]) {\n state.registry[name] = [];\n }\n\n if (kind === \"before\") {\n hook = function (method, options) {\n return Promise.resolve()\n .then(orig.bind(null, options))\n .then(method.bind(null, options));\n };\n }\n\n if (kind === \"after\") {\n hook = function (method, options) {\n var result;\n return Promise.resolve()\n .then(method.bind(null, options))\n .then(function (result_) {\n result = result_;\n return orig(result, options);\n })\n .then(function () {\n return result;\n });\n };\n }\n\n if (kind === \"error\") {\n hook = function (method, options) {\n return Promise.resolve()\n .then(method.bind(null, options))\n .catch(function (error) {\n return orig(error, options);\n });\n };\n }\n\n state.registry[name].push({\n hook: hook,\n orig: orig,\n });\n}\n","module.exports = register;\n\nfunction register(state, name, method, options) {\n if (typeof method !== \"function\") {\n throw new Error(\"method for before hook must be a function\");\n }\n\n if (!options) {\n options = {};\n }\n\n if (Array.isArray(name)) {\n return name.reverse().reduce(function (callback, name) {\n return register.bind(null, state, name, callback, options);\n }, method)();\n }\n\n return Promise.resolve().then(function () {\n if (!state.registry[name]) {\n return method(options);\n }\n\n return state.registry[name].reduce(function (method, registered) {\n return registered.hook.bind(null, method, options);\n }, method)();\n });\n}\n","module.exports = removeHook;\n\nfunction removeHook(state, name, method) {\n if (!state.registry[name]) {\n return;\n }\n\n var index = state.registry[name]\n .map(function (registered) {\n return registered.orig;\n })\n .indexOf(method);\n\n if (index === -1) {\n return;\n }\n\n state.registry[name].splice(index, 1);\n}\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nclass Deprecation extends Error {\n constructor(message) {\n super(message); // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n\n this.name = 'Deprecation';\n }\n\n}\n\nexports.Deprecation = Deprecation;\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n/*!\n * is-plain-object \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nfunction isObject(o) {\n return Object.prototype.toString.call(o) === '[object Object]';\n}\n\nfunction isPlainObject(o) {\n var ctor,prot;\n\n if (isObject(o) === false) return false;\n\n // If has modified constructor\n ctor = o.constructor;\n if (ctor === undefined) return true;\n\n // If has modified prototype\n prot = ctor.prototype;\n if (isObject(prot) === false) return false;\n\n // If constructor does not have an Object-specific method\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n }\n\n // Most likely a plain Object\n return true;\n}\n\nexports.isPlainObject = isPlainObject;\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar Stream = _interopDefault(require('stream'));\nvar http = _interopDefault(require('http'));\nvar Url = _interopDefault(require('url'));\nvar whatwgUrl = _interopDefault(require('whatwg-url'));\nvar https = _interopDefault(require('https'));\nvar zlib = _interopDefault(require('zlib'));\n\n// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js\n\n// fix for \"Readable\" isn't a named export issue\nconst Readable = Stream.Readable;\n\nconst BUFFER = Symbol('buffer');\nconst TYPE = Symbol('type');\n\nclass Blob {\n\tconstructor() {\n\t\tthis[TYPE] = '';\n\n\t\tconst blobParts = arguments[0];\n\t\tconst options = arguments[1];\n\n\t\tconst buffers = [];\n\t\tlet size = 0;\n\n\t\tif (blobParts) {\n\t\t\tconst a = blobParts;\n\t\t\tconst length = Number(a.length);\n\t\t\tfor (let i = 0; i < length; i++) {\n\t\t\t\tconst element = a[i];\n\t\t\t\tlet buffer;\n\t\t\t\tif (element instanceof Buffer) {\n\t\t\t\t\tbuffer = element;\n\t\t\t\t} else if (ArrayBuffer.isView(element)) {\n\t\t\t\t\tbuffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength);\n\t\t\t\t} else if (element instanceof ArrayBuffer) {\n\t\t\t\t\tbuffer = Buffer.from(element);\n\t\t\t\t} else if (element instanceof Blob) {\n\t\t\t\t\tbuffer = element[BUFFER];\n\t\t\t\t} else {\n\t\t\t\t\tbuffer = Buffer.from(typeof element === 'string' ? element : String(element));\n\t\t\t\t}\n\t\t\t\tsize += buffer.length;\n\t\t\t\tbuffers.push(buffer);\n\t\t\t}\n\t\t}\n\n\t\tthis[BUFFER] = Buffer.concat(buffers);\n\n\t\tlet type = options && options.type !== undefined && String(options.type).toLowerCase();\n\t\tif (type && !/[^\\u0020-\\u007E]/.test(type)) {\n\t\t\tthis[TYPE] = type;\n\t\t}\n\t}\n\tget size() {\n\t\treturn this[BUFFER].length;\n\t}\n\tget type() {\n\t\treturn this[TYPE];\n\t}\n\ttext() {\n\t\treturn Promise.resolve(this[BUFFER].toString());\n\t}\n\tarrayBuffer() {\n\t\tconst buf = this[BUFFER];\n\t\tconst ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\treturn Promise.resolve(ab);\n\t}\n\tstream() {\n\t\tconst readable = new Readable();\n\t\treadable._read = function () {};\n\t\treadable.push(this[BUFFER]);\n\t\treadable.push(null);\n\t\treturn readable;\n\t}\n\ttoString() {\n\t\treturn '[object Blob]';\n\t}\n\tslice() {\n\t\tconst size = this.size;\n\n\t\tconst start = arguments[0];\n\t\tconst end = arguments[1];\n\t\tlet relativeStart, relativeEnd;\n\t\tif (start === undefined) {\n\t\t\trelativeStart = 0;\n\t\t} else if (start < 0) {\n\t\t\trelativeStart = Math.max(size + start, 0);\n\t\t} else {\n\t\t\trelativeStart = Math.min(start, size);\n\t\t}\n\t\tif (end === undefined) {\n\t\t\trelativeEnd = size;\n\t\t} else if (end < 0) {\n\t\t\trelativeEnd = Math.max(size + end, 0);\n\t\t} else {\n\t\t\trelativeEnd = Math.min(end, size);\n\t\t}\n\t\tconst span = Math.max(relativeEnd - relativeStart, 0);\n\n\t\tconst buffer = this[BUFFER];\n\t\tconst slicedBuffer = buffer.slice(relativeStart, relativeStart + span);\n\t\tconst blob = new Blob([], { type: arguments[2] });\n\t\tblob[BUFFER] = slicedBuffer;\n\t\treturn blob;\n\t}\n}\n\nObject.defineProperties(Blob.prototype, {\n\tsize: { enumerable: true },\n\ttype: { enumerable: true },\n\tslice: { enumerable: true }\n});\n\nObject.defineProperty(Blob.prototype, Symbol.toStringTag, {\n\tvalue: 'Blob',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * fetch-error.js\n *\n * FetchError interface for operational errors\n */\n\n/**\n * Create FetchError instance\n *\n * @param String message Error message for human\n * @param String type Error type for machine\n * @param String systemError For Node.js system error\n * @return FetchError\n */\nfunction FetchError(message, type, systemError) {\n Error.call(this, message);\n\n this.message = message;\n this.type = type;\n\n // when err.type is `system`, err.code contains system error code\n if (systemError) {\n this.code = this.errno = systemError.code;\n }\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nFetchError.prototype = Object.create(Error.prototype);\nFetchError.prototype.constructor = FetchError;\nFetchError.prototype.name = 'FetchError';\n\nlet convert;\ntry {\n\tconvert = require('encoding').convert;\n} catch (e) {}\n\nconst INTERNALS = Symbol('Body internals');\n\n// fix an issue where \"PassThrough\" isn't a named export for node <10\nconst PassThrough = Stream.PassThrough;\n\n/**\n * Body mixin\n *\n * Ref: https://fetch.spec.whatwg.org/#body\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nfunction Body(body) {\n\tvar _this = this;\n\n\tvar _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n\t _ref$size = _ref.size;\n\n\tlet size = _ref$size === undefined ? 0 : _ref$size;\n\tvar _ref$timeout = _ref.timeout;\n\tlet timeout = _ref$timeout === undefined ? 0 : _ref$timeout;\n\n\tif (body == null) {\n\t\t// body is undefined or null\n\t\tbody = null;\n\t} else if (isURLSearchParams(body)) {\n\t\t// body is a URLSearchParams\n\t\tbody = Buffer.from(body.toString());\n\t} else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {\n\t\t// body is ArrayBuffer\n\t\tbody = Buffer.from(body);\n\t} else if (ArrayBuffer.isView(body)) {\n\t\t// body is ArrayBufferView\n\t\tbody = Buffer.from(body.buffer, body.byteOffset, body.byteLength);\n\t} else if (body instanceof Stream) ; else {\n\t\t// none of the above\n\t\t// coerce to string then buffer\n\t\tbody = Buffer.from(String(body));\n\t}\n\tthis[INTERNALS] = {\n\t\tbody,\n\t\tdisturbed: false,\n\t\terror: null\n\t};\n\tthis.size = size;\n\tthis.timeout = timeout;\n\n\tif (body instanceof Stream) {\n\t\tbody.on('error', function (err) {\n\t\t\tconst error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err);\n\t\t\t_this[INTERNALS].error = error;\n\t\t});\n\t}\n}\n\nBody.prototype = {\n\tget body() {\n\t\treturn this[INTERNALS].body;\n\t},\n\n\tget bodyUsed() {\n\t\treturn this[INTERNALS].disturbed;\n\t},\n\n\t/**\n * Decode response as ArrayBuffer\n *\n * @return Promise\n */\n\tarrayBuffer() {\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\t});\n\t},\n\n\t/**\n * Return raw response as Blob\n *\n * @return Promise\n */\n\tblob() {\n\t\tlet ct = this.headers && this.headers.get('content-type') || '';\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn Object.assign(\n\t\t\t// Prevent copying\n\t\t\tnew Blob([], {\n\t\t\t\ttype: ct.toLowerCase()\n\t\t\t}), {\n\t\t\t\t[BUFFER]: buf\n\t\t\t});\n\t\t});\n\t},\n\n\t/**\n * Decode response as json\n *\n * @return Promise\n */\n\tjson() {\n\t\tvar _this2 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\ttry {\n\t\t\t\treturn JSON.parse(buffer.toString());\n\t\t\t} catch (err) {\n\t\t\t\treturn Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));\n\t\t\t}\n\t\t});\n\t},\n\n\t/**\n * Decode response as text\n *\n * @return Promise\n */\n\ttext() {\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn buffer.toString();\n\t\t});\n\t},\n\n\t/**\n * Decode response as buffer (non-spec api)\n *\n * @return Promise\n */\n\tbuffer() {\n\t\treturn consumeBody.call(this);\n\t},\n\n\t/**\n * Decode response as text, while automatically detecting the encoding and\n * trying to decode to UTF-8 (non-spec api)\n *\n * @return Promise\n */\n\ttextConverted() {\n\t\tvar _this3 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn convertBody(buffer, _this3.headers);\n\t\t});\n\t}\n};\n\n// In browsers, all properties are enumerable.\nObject.defineProperties(Body.prototype, {\n\tbody: { enumerable: true },\n\tbodyUsed: { enumerable: true },\n\tarrayBuffer: { enumerable: true },\n\tblob: { enumerable: true },\n\tjson: { enumerable: true },\n\ttext: { enumerable: true }\n});\n\nBody.mixIn = function (proto) {\n\tfor (const name of Object.getOwnPropertyNames(Body.prototype)) {\n\t\t// istanbul ignore else: future proof\n\t\tif (!(name in proto)) {\n\t\t\tconst desc = Object.getOwnPropertyDescriptor(Body.prototype, name);\n\t\t\tObject.defineProperty(proto, name, desc);\n\t\t}\n\t}\n};\n\n/**\n * Consume and convert an entire Body to a Buffer.\n *\n * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body\n *\n * @return Promise\n */\nfunction consumeBody() {\n\tvar _this4 = this;\n\n\tif (this[INTERNALS].disturbed) {\n\t\treturn Body.Promise.reject(new TypeError(`body used already for: ${this.url}`));\n\t}\n\n\tthis[INTERNALS].disturbed = true;\n\n\tif (this[INTERNALS].error) {\n\t\treturn Body.Promise.reject(this[INTERNALS].error);\n\t}\n\n\tlet body = this.body;\n\n\t// body is null\n\tif (body === null) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is blob\n\tif (isBlob(body)) {\n\t\tbody = body.stream();\n\t}\n\n\t// body is buffer\n\tif (Buffer.isBuffer(body)) {\n\t\treturn Body.Promise.resolve(body);\n\t}\n\n\t// istanbul ignore if: should never happen\n\tif (!(body instanceof Stream)) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is stream\n\t// get ready to actually consume the body\n\tlet accum = [];\n\tlet accumBytes = 0;\n\tlet abort = false;\n\n\treturn new Body.Promise(function (resolve, reject) {\n\t\tlet resTimeout;\n\n\t\t// allow timeout on slow response body\n\t\tif (_this4.timeout) {\n\t\t\tresTimeout = setTimeout(function () {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout'));\n\t\t\t}, _this4.timeout);\n\t\t}\n\n\t\t// handle stream errors\n\t\tbody.on('error', function (err) {\n\t\t\tif (err.name === 'AbortError') {\n\t\t\t\t// if the request was aborted, reject with this Error\n\t\t\t\tabort = true;\n\t\t\t\treject(err);\n\t\t\t} else {\n\t\t\t\t// other errors, such as incorrect content-encoding\n\t\t\t\treject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\n\t\tbody.on('data', function (chunk) {\n\t\t\tif (abort || chunk === null) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (_this4.size && accumBytes + chunk.length > _this4.size) {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size'));\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\taccumBytes += chunk.length;\n\t\t\taccum.push(chunk);\n\t\t});\n\n\t\tbody.on('end', function () {\n\t\t\tif (abort) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tclearTimeout(resTimeout);\n\n\t\t\ttry {\n\t\t\t\tresolve(Buffer.concat(accum, accumBytes));\n\t\t\t} catch (err) {\n\t\t\t\t// handle streams that have accumulated too much data (issue #414)\n\t\t\t\treject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Detect buffer encoding and convert to target encoding\n * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding\n *\n * @param Buffer buffer Incoming buffer\n * @param String encoding Target encoding\n * @return String\n */\nfunction convertBody(buffer, headers) {\n\tif (typeof convert !== 'function') {\n\t\tthrow new Error('The package `encoding` must be installed to use the textConverted() function');\n\t}\n\n\tconst ct = headers.get('content-type');\n\tlet charset = 'utf-8';\n\tlet res, str;\n\n\t// header\n\tif (ct) {\n\t\tres = /charset=([^;]*)/i.exec(ct);\n\t}\n\n\t// no charset in content type, peek at response body for at most 1024 bytes\n\tstr = buffer.slice(0, 1024).toString();\n\n\t// html5\n\tif (!res && str) {\n\t\tres = / 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n\n\t\tthis[MAP] = Object.create(null);\n\n\t\tif (init instanceof Headers) {\n\t\t\tconst rawHeaders = init.raw();\n\t\t\tconst headerNames = Object.keys(rawHeaders);\n\n\t\t\tfor (const headerName of headerNames) {\n\t\t\t\tfor (const value of rawHeaders[headerName]) {\n\t\t\t\t\tthis.append(headerName, value);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\t// We don't worry about converting prop to ByteString here as append()\n\t\t// will handle it.\n\t\tif (init == null) ; else if (typeof init === 'object') {\n\t\t\tconst method = init[Symbol.iterator];\n\t\t\tif (method != null) {\n\t\t\t\tif (typeof method !== 'function') {\n\t\t\t\t\tthrow new TypeError('Header pairs must be iterable');\n\t\t\t\t}\n\n\t\t\t\t// sequence>\n\t\t\t\t// Note: per spec we have to first exhaust the lists then process them\n\t\t\t\tconst pairs = [];\n\t\t\t\tfor (const pair of init) {\n\t\t\t\t\tif (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be iterable');\n\t\t\t\t\t}\n\t\t\t\t\tpairs.push(Array.from(pair));\n\t\t\t\t}\n\n\t\t\t\tfor (const pair of pairs) {\n\t\t\t\t\tif (pair.length !== 2) {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be a name/value tuple');\n\t\t\t\t\t}\n\t\t\t\t\tthis.append(pair[0], pair[1]);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// record\n\t\t\t\tfor (const key of Object.keys(init)) {\n\t\t\t\t\tconst value = init[key];\n\t\t\t\t\tthis.append(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new TypeError('Provided initializer must be an object');\n\t\t}\n\t}\n\n\t/**\n * Return combined header value given name\n *\n * @param String name Header name\n * @return Mixed\n */\n\tget(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key === undefined) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this[MAP][key].join(', ');\n\t}\n\n\t/**\n * Iterate over all headers\n *\n * @param Function callback Executed for each item with parameters (value, name, thisArg)\n * @param Boolean thisArg `this` context for callback function\n * @return Void\n */\n\tforEach(callback) {\n\t\tlet thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\n\t\tlet pairs = getHeaders(this);\n\t\tlet i = 0;\n\t\twhile (i < pairs.length) {\n\t\t\tvar _pairs$i = pairs[i];\n\t\t\tconst name = _pairs$i[0],\n\t\t\t value = _pairs$i[1];\n\n\t\t\tcallback.call(thisArg, value, name, this);\n\t\t\tpairs = getHeaders(this);\n\t\t\ti++;\n\t\t}\n\t}\n\n\t/**\n * Overwrite header values given name\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tset(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tthis[MAP][key !== undefined ? key : name] = [value];\n\t}\n\n\t/**\n * Append a value onto existing header\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tappend(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tthis[MAP][key].push(value);\n\t\t} else {\n\t\t\tthis[MAP][name] = [value];\n\t\t}\n\t}\n\n\t/**\n * Check for header name existence\n *\n * @param String name Header name\n * @return Boolean\n */\n\thas(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\treturn find(this[MAP], name) !== undefined;\n\t}\n\n\t/**\n * Delete all header values given name\n *\n * @param String name Header name\n * @return Void\n */\n\tdelete(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tdelete this[MAP][key];\n\t\t}\n\t}\n\n\t/**\n * Return raw headers (non-spec api)\n *\n * @return Object\n */\n\traw() {\n\t\treturn this[MAP];\n\t}\n\n\t/**\n * Get an iterator on keys.\n *\n * @return Iterator\n */\n\tkeys() {\n\t\treturn createHeadersIterator(this, 'key');\n\t}\n\n\t/**\n * Get an iterator on values.\n *\n * @return Iterator\n */\n\tvalues() {\n\t\treturn createHeadersIterator(this, 'value');\n\t}\n\n\t/**\n * Get an iterator on entries.\n *\n * This is the default iterator of the Headers object.\n *\n * @return Iterator\n */\n\t[Symbol.iterator]() {\n\t\treturn createHeadersIterator(this, 'key+value');\n\t}\n}\nHeaders.prototype.entries = Headers.prototype[Symbol.iterator];\n\nObject.defineProperty(Headers.prototype, Symbol.toStringTag, {\n\tvalue: 'Headers',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Headers.prototype, {\n\tget: { enumerable: true },\n\tforEach: { enumerable: true },\n\tset: { enumerable: true },\n\tappend: { enumerable: true },\n\thas: { enumerable: true },\n\tdelete: { enumerable: true },\n\tkeys: { enumerable: true },\n\tvalues: { enumerable: true },\n\tentries: { enumerable: true }\n});\n\nfunction getHeaders(headers) {\n\tlet kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value';\n\n\tconst keys = Object.keys(headers[MAP]).sort();\n\treturn keys.map(kind === 'key' ? function (k) {\n\t\treturn k.toLowerCase();\n\t} : kind === 'value' ? function (k) {\n\t\treturn headers[MAP][k].join(', ');\n\t} : function (k) {\n\t\treturn [k.toLowerCase(), headers[MAP][k].join(', ')];\n\t});\n}\n\nconst INTERNAL = Symbol('internal');\n\nfunction createHeadersIterator(target, kind) {\n\tconst iterator = Object.create(HeadersIteratorPrototype);\n\titerator[INTERNAL] = {\n\t\ttarget,\n\t\tkind,\n\t\tindex: 0\n\t};\n\treturn iterator;\n}\n\nconst HeadersIteratorPrototype = Object.setPrototypeOf({\n\tnext() {\n\t\t// istanbul ignore if\n\t\tif (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) {\n\t\t\tthrow new TypeError('Value of `this` is not a HeadersIterator');\n\t\t}\n\n\t\tvar _INTERNAL = this[INTERNAL];\n\t\tconst target = _INTERNAL.target,\n\t\t kind = _INTERNAL.kind,\n\t\t index = _INTERNAL.index;\n\n\t\tconst values = getHeaders(target, kind);\n\t\tconst len = values.length;\n\t\tif (index >= len) {\n\t\t\treturn {\n\t\t\t\tvalue: undefined,\n\t\t\t\tdone: true\n\t\t\t};\n\t\t}\n\n\t\tthis[INTERNAL].index = index + 1;\n\n\t\treturn {\n\t\t\tvalue: values[index],\n\t\t\tdone: false\n\t\t};\n\t}\n}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));\n\nObject.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, {\n\tvalue: 'HeadersIterator',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * Export the Headers object in a form that Node.js can consume.\n *\n * @param Headers headers\n * @return Object\n */\nfunction exportNodeCompatibleHeaders(headers) {\n\tconst obj = Object.assign({ __proto__: null }, headers[MAP]);\n\n\t// http.request() only supports string as Host header. This hack makes\n\t// specifying custom Host header possible.\n\tconst hostHeaderKey = find(headers[MAP], 'Host');\n\tif (hostHeaderKey !== undefined) {\n\t\tobj[hostHeaderKey] = obj[hostHeaderKey][0];\n\t}\n\n\treturn obj;\n}\n\n/**\n * Create a Headers object from an object of headers, ignoring those that do\n * not conform to HTTP grammar productions.\n *\n * @param Object obj Object of headers\n * @return Headers\n */\nfunction createHeadersLenient(obj) {\n\tconst headers = new Headers();\n\tfor (const name of Object.keys(obj)) {\n\t\tif (invalidTokenRegex.test(name)) {\n\t\t\tcontinue;\n\t\t}\n\t\tif (Array.isArray(obj[name])) {\n\t\t\tfor (const val of obj[name]) {\n\t\t\t\tif (invalidHeaderCharRegex.test(val)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (headers[MAP][name] === undefined) {\n\t\t\t\t\theaders[MAP][name] = [val];\n\t\t\t\t} else {\n\t\t\t\t\theaders[MAP][name].push(val);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (!invalidHeaderCharRegex.test(obj[name])) {\n\t\t\theaders[MAP][name] = [obj[name]];\n\t\t}\n\t}\n\treturn headers;\n}\n\nconst INTERNALS$1 = Symbol('Response internals');\n\n// fix an issue where \"STATUS_CODES\" aren't a named export for node <10\nconst STATUS_CODES = http.STATUS_CODES;\n\n/**\n * Response class\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nclass Response {\n\tconstructor() {\n\t\tlet body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\t\tlet opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tBody.call(this, body, opts);\n\n\t\tconst status = opts.status || 200;\n\t\tconst headers = new Headers(opts.headers);\n\n\t\tif (body != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(body);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tthis[INTERNALS$1] = {\n\t\t\turl: opts.url,\n\t\t\tstatus,\n\t\t\tstatusText: opts.statusText || STATUS_CODES[status],\n\t\t\theaders,\n\t\t\tcounter: opts.counter\n\t\t};\n\t}\n\n\tget url() {\n\t\treturn this[INTERNALS$1].url || '';\n\t}\n\n\tget status() {\n\t\treturn this[INTERNALS$1].status;\n\t}\n\n\t/**\n * Convenience property representing if the request ended normally\n */\n\tget ok() {\n\t\treturn this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300;\n\t}\n\n\tget redirected() {\n\t\treturn this[INTERNALS$1].counter > 0;\n\t}\n\n\tget statusText() {\n\t\treturn this[INTERNALS$1].statusText;\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$1].headers;\n\t}\n\n\t/**\n * Clone this response\n *\n * @return Response\n */\n\tclone() {\n\t\treturn new Response(clone(this), {\n\t\t\turl: this.url,\n\t\t\tstatus: this.status,\n\t\t\tstatusText: this.statusText,\n\t\t\theaders: this.headers,\n\t\t\tok: this.ok,\n\t\t\tredirected: this.redirected\n\t\t});\n\t}\n}\n\nBody.mixIn(Response.prototype);\n\nObject.defineProperties(Response.prototype, {\n\turl: { enumerable: true },\n\tstatus: { enumerable: true },\n\tok: { enumerable: true },\n\tredirected: { enumerable: true },\n\tstatusText: { enumerable: true },\n\theaders: { enumerable: true },\n\tclone: { enumerable: true }\n});\n\nObject.defineProperty(Response.prototype, Symbol.toStringTag, {\n\tvalue: 'Response',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nconst INTERNALS$2 = Symbol('Request internals');\nconst URL = Url.URL || whatwgUrl.URL;\n\n// fix an issue where \"format\", \"parse\" aren't a named export for node <10\nconst parse_url = Url.parse;\nconst format_url = Url.format;\n\n/**\n * Wrapper around `new URL` to handle arbitrary URLs\n *\n * @param {string} urlStr\n * @return {void}\n */\nfunction parseURL(urlStr) {\n\t/*\n \tCheck whether the URL is absolute or not\n \t\tScheme: https://tools.ietf.org/html/rfc3986#section-3.1\n \tAbsolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\n */\n\tif (/^[a-zA-Z][a-zA-Z\\d+\\-.]*:/.exec(urlStr)) {\n\t\turlStr = new URL(urlStr).toString();\n\t}\n\n\t// Fallback to old implementation for arbitrary URLs\n\treturn parse_url(urlStr);\n}\n\nconst streamDestructionSupported = 'destroy' in Stream.Readable.prototype;\n\n/**\n * Check if a value is an instance of Request.\n *\n * @param Mixed input\n * @return Boolean\n */\nfunction isRequest(input) {\n\treturn typeof input === 'object' && typeof input[INTERNALS$2] === 'object';\n}\n\nfunction isAbortSignal(signal) {\n\tconst proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal);\n\treturn !!(proto && proto.constructor.name === 'AbortSignal');\n}\n\n/**\n * Request class\n *\n * @param Mixed input Url or Request instance\n * @param Object init Custom options\n * @return Void\n */\nclass Request {\n\tconstructor(input) {\n\t\tlet init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tlet parsedURL;\n\n\t\t// normalize input\n\t\tif (!isRequest(input)) {\n\t\t\tif (input && input.href) {\n\t\t\t\t// in order to support Node.js' Url objects; though WHATWG's URL objects\n\t\t\t\t// will fall into this branch also (since their `toString()` will return\n\t\t\t\t// `href` property anyway)\n\t\t\t\tparsedURL = parseURL(input.href);\n\t\t\t} else {\n\t\t\t\t// coerce input to a string before attempting to parse\n\t\t\t\tparsedURL = parseURL(`${input}`);\n\t\t\t}\n\t\t\tinput = {};\n\t\t} else {\n\t\t\tparsedURL = parseURL(input.url);\n\t\t}\n\n\t\tlet method = init.method || input.method || 'GET';\n\t\tmethod = method.toUpperCase();\n\n\t\tif ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) {\n\t\t\tthrow new TypeError('Request with GET/HEAD method cannot have body');\n\t\t}\n\n\t\tlet inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;\n\n\t\tBody.call(this, inputBody, {\n\t\t\ttimeout: init.timeout || input.timeout || 0,\n\t\t\tsize: init.size || input.size || 0\n\t\t});\n\n\t\tconst headers = new Headers(init.headers || input.headers || {});\n\n\t\tif (inputBody != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(inputBody);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tlet signal = isRequest(input) ? input.signal : null;\n\t\tif ('signal' in init) signal = init.signal;\n\n\t\tif (signal != null && !isAbortSignal(signal)) {\n\t\t\tthrow new TypeError('Expected signal to be an instanceof AbortSignal');\n\t\t}\n\n\t\tthis[INTERNALS$2] = {\n\t\t\tmethod,\n\t\t\tredirect: init.redirect || input.redirect || 'follow',\n\t\t\theaders,\n\t\t\tparsedURL,\n\t\t\tsignal\n\t\t};\n\n\t\t// node-fetch-only options\n\t\tthis.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20;\n\t\tthis.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true;\n\t\tthis.counter = init.counter || input.counter || 0;\n\t\tthis.agent = init.agent || input.agent;\n\t}\n\n\tget method() {\n\t\treturn this[INTERNALS$2].method;\n\t}\n\n\tget url() {\n\t\treturn format_url(this[INTERNALS$2].parsedURL);\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$2].headers;\n\t}\n\n\tget redirect() {\n\t\treturn this[INTERNALS$2].redirect;\n\t}\n\n\tget signal() {\n\t\treturn this[INTERNALS$2].signal;\n\t}\n\n\t/**\n * Clone this request\n *\n * @return Request\n */\n\tclone() {\n\t\treturn new Request(this);\n\t}\n}\n\nBody.mixIn(Request.prototype);\n\nObject.defineProperty(Request.prototype, Symbol.toStringTag, {\n\tvalue: 'Request',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Request.prototype, {\n\tmethod: { enumerable: true },\n\turl: { enumerable: true },\n\theaders: { enumerable: true },\n\tredirect: { enumerable: true },\n\tclone: { enumerable: true },\n\tsignal: { enumerable: true }\n});\n\n/**\n * Convert a Request to Node.js http request options.\n *\n * @param Request A Request instance\n * @return Object The options object to be passed to http.request\n */\nfunction getNodeRequestOptions(request) {\n\tconst parsedURL = request[INTERNALS$2].parsedURL;\n\tconst headers = new Headers(request[INTERNALS$2].headers);\n\n\t// fetch step 1.3\n\tif (!headers.has('Accept')) {\n\t\theaders.set('Accept', '*/*');\n\t}\n\n\t// Basic fetch\n\tif (!parsedURL.protocol || !parsedURL.hostname) {\n\t\tthrow new TypeError('Only absolute URLs are supported');\n\t}\n\n\tif (!/^https?:$/.test(parsedURL.protocol)) {\n\t\tthrow new TypeError('Only HTTP(S) protocols are supported');\n\t}\n\n\tif (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) {\n\t\tthrow new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8');\n\t}\n\n\t// HTTP-network-or-cache fetch steps 2.4-2.7\n\tlet contentLengthValue = null;\n\tif (request.body == null && /^(POST|PUT)$/i.test(request.method)) {\n\t\tcontentLengthValue = '0';\n\t}\n\tif (request.body != null) {\n\t\tconst totalBytes = getTotalBytes(request);\n\t\tif (typeof totalBytes === 'number') {\n\t\t\tcontentLengthValue = String(totalBytes);\n\t\t}\n\t}\n\tif (contentLengthValue) {\n\t\theaders.set('Content-Length', contentLengthValue);\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.11\n\tif (!headers.has('User-Agent')) {\n\t\theaders.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)');\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.15\n\tif (request.compress && !headers.has('Accept-Encoding')) {\n\t\theaders.set('Accept-Encoding', 'gzip,deflate');\n\t}\n\n\tlet agent = request.agent;\n\tif (typeof agent === 'function') {\n\t\tagent = agent(parsedURL);\n\t}\n\n\tif (!headers.has('Connection') && !agent) {\n\t\theaders.set('Connection', 'close');\n\t}\n\n\t// HTTP-network fetch step 4.2\n\t// chunked encoding is handled by Node.js\n\n\treturn Object.assign({}, parsedURL, {\n\t\tmethod: request.method,\n\t\theaders: exportNodeCompatibleHeaders(headers),\n\t\tagent\n\t});\n}\n\n/**\n * abort-error.js\n *\n * AbortError interface for cancelled requests\n */\n\n/**\n * Create AbortError instance\n *\n * @param String message Error message for human\n * @return AbortError\n */\nfunction AbortError(message) {\n Error.call(this, message);\n\n this.type = 'aborted';\n this.message = message;\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nAbortError.prototype = Object.create(Error.prototype);\nAbortError.prototype.constructor = AbortError;\nAbortError.prototype.name = 'AbortError';\n\nconst URL$1 = Url.URL || whatwgUrl.URL;\n\n// fix an issue where \"PassThrough\", \"resolve\" aren't a named export for node <10\nconst PassThrough$1 = Stream.PassThrough;\n\nconst isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) {\n\tconst orig = new URL$1(original).hostname;\n\tconst dest = new URL$1(destination).hostname;\n\n\treturn orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest);\n};\n\n/**\n * Fetch function\n *\n * @param Mixed url Absolute url or Request instance\n * @param Object opts Fetch options\n * @return Promise\n */\nfunction fetch(url, opts) {\n\n\t// allow custom promise\n\tif (!fetch.Promise) {\n\t\tthrow new Error('native promise missing, set fetch.Promise to your favorite alternative');\n\t}\n\n\tBody.Promise = fetch.Promise;\n\n\t// wrap http.request into fetch\n\treturn new fetch.Promise(function (resolve, reject) {\n\t\t// build request object\n\t\tconst request = new Request(url, opts);\n\t\tconst options = getNodeRequestOptions(request);\n\n\t\tconst send = (options.protocol === 'https:' ? https : http).request;\n\t\tconst signal = request.signal;\n\n\t\tlet response = null;\n\n\t\tconst abort = function abort() {\n\t\t\tlet error = new AbortError('The user aborted a request.');\n\t\t\treject(error);\n\t\t\tif (request.body && request.body instanceof Stream.Readable) {\n\t\t\t\trequest.body.destroy(error);\n\t\t\t}\n\t\t\tif (!response || !response.body) return;\n\t\t\tresponse.body.emit('error', error);\n\t\t};\n\n\t\tif (signal && signal.aborted) {\n\t\t\tabort();\n\t\t\treturn;\n\t\t}\n\n\t\tconst abortAndFinalize = function abortAndFinalize() {\n\t\t\tabort();\n\t\t\tfinalize();\n\t\t};\n\n\t\t// send request\n\t\tconst req = send(options);\n\t\tlet reqTimeout;\n\n\t\tif (signal) {\n\t\t\tsignal.addEventListener('abort', abortAndFinalize);\n\t\t}\n\n\t\tfunction finalize() {\n\t\t\treq.abort();\n\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\tclearTimeout(reqTimeout);\n\t\t}\n\n\t\tif (request.timeout) {\n\t\t\treq.once('socket', function (socket) {\n\t\t\t\treqTimeout = setTimeout(function () {\n\t\t\t\t\treject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout'));\n\t\t\t\t\tfinalize();\n\t\t\t\t}, request.timeout);\n\t\t\t});\n\t\t}\n\n\t\treq.on('error', function (err) {\n\t\t\treject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));\n\t\t\tfinalize();\n\t\t});\n\n\t\treq.on('response', function (res) {\n\t\t\tclearTimeout(reqTimeout);\n\n\t\t\tconst headers = createHeadersLenient(res.headers);\n\n\t\t\t// HTTP fetch step 5\n\t\t\tif (fetch.isRedirect(res.statusCode)) {\n\t\t\t\t// HTTP fetch step 5.2\n\t\t\t\tconst location = headers.get('Location');\n\n\t\t\t\t// HTTP fetch step 5.3\n\t\t\t\tlet locationURL = null;\n\t\t\t\ttry {\n\t\t\t\t\tlocationURL = location === null ? null : new URL$1(location, request.url).toString();\n\t\t\t\t} catch (err) {\n\t\t\t\t\t// error here can only be invalid URL in Location: header\n\t\t\t\t\t// do not throw when options.redirect == manual\n\t\t\t\t\t// let the user extract the errorneous redirect URL\n\t\t\t\t\tif (request.redirect !== 'manual') {\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// HTTP fetch step 5.5\n\t\t\t\tswitch (request.redirect) {\n\t\t\t\t\tcase 'error':\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\t// node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL.\n\t\t\t\t\t\tif (locationURL !== null) {\n\t\t\t\t\t\t\t// handle corrupted header\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\theaders.set('Location', locationURL);\n\t\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t\t// istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request\n\t\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'follow':\n\t\t\t\t\t\t// HTTP-redirect fetch step 2\n\t\t\t\t\t\tif (locationURL === null) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 5\n\t\t\t\t\t\tif (request.counter >= request.follow) {\n\t\t\t\t\t\t\treject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 6 (counter increment)\n\t\t\t\t\t\t// Create a new Request object.\n\t\t\t\t\t\tconst requestOpts = {\n\t\t\t\t\t\t\theaders: new Headers(request.headers),\n\t\t\t\t\t\t\tfollow: request.follow,\n\t\t\t\t\t\t\tcounter: request.counter + 1,\n\t\t\t\t\t\t\tagent: request.agent,\n\t\t\t\t\t\t\tcompress: request.compress,\n\t\t\t\t\t\t\tmethod: request.method,\n\t\t\t\t\t\t\tbody: request.body,\n\t\t\t\t\t\t\tsignal: request.signal,\n\t\t\t\t\t\t\ttimeout: request.timeout,\n\t\t\t\t\t\t\tsize: request.size\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tif (!isDomainOrSubdomain(request.url, locationURL)) {\n\t\t\t\t\t\t\tfor (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) {\n\t\t\t\t\t\t\t\trequestOpts.headers.delete(name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 9\n\t\t\t\t\t\tif (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) {\n\t\t\t\t\t\t\treject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 11\n\t\t\t\t\t\tif (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') {\n\t\t\t\t\t\t\trequestOpts.method = 'GET';\n\t\t\t\t\t\t\trequestOpts.body = undefined;\n\t\t\t\t\t\t\trequestOpts.headers.delete('content-length');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 15\n\t\t\t\t\t\tresolve(fetch(new Request(locationURL, requestOpts)));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// prepare response\n\t\t\tres.once('end', function () {\n\t\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\t});\n\t\t\tlet body = res.pipe(new PassThrough$1());\n\n\t\t\tconst response_options = {\n\t\t\t\turl: request.url,\n\t\t\t\tstatus: res.statusCode,\n\t\t\t\tstatusText: res.statusMessage,\n\t\t\t\theaders: headers,\n\t\t\t\tsize: request.size,\n\t\t\t\ttimeout: request.timeout,\n\t\t\t\tcounter: request.counter\n\t\t\t};\n\n\t\t\t// HTTP-network fetch step 12.1.1.3\n\t\t\tconst codings = headers.get('Content-Encoding');\n\n\t\t\t// HTTP-network fetch step 12.1.1.4: handle content codings\n\n\t\t\t// in following scenarios we ignore compression support\n\t\t\t// 1. compression support is disabled\n\t\t\t// 2. HEAD request\n\t\t\t// 3. no Content-Encoding header\n\t\t\t// 4. no content response (204)\n\t\t\t// 5. content not modified response (304)\n\t\t\tif (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) {\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For Node v6+\n\t\t\t// Be less strict when decoding compressed responses, since sometimes\n\t\t\t// servers send slightly invalid responses that are still accepted\n\t\t\t// by common browsers.\n\t\t\t// Always using Z_SYNC_FLUSH is what cURL does.\n\t\t\tconst zlibOptions = {\n\t\t\t\tflush: zlib.Z_SYNC_FLUSH,\n\t\t\t\tfinishFlush: zlib.Z_SYNC_FLUSH\n\t\t\t};\n\n\t\t\t// for gzip\n\t\t\tif (codings == 'gzip' || codings == 'x-gzip') {\n\t\t\t\tbody = body.pipe(zlib.createGunzip(zlibOptions));\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for deflate\n\t\t\tif (codings == 'deflate' || codings == 'x-deflate') {\n\t\t\t\t// handle the infamous raw deflate response from old servers\n\t\t\t\t// a hack for old IIS and Apache servers\n\t\t\t\tconst raw = res.pipe(new PassThrough$1());\n\t\t\t\traw.once('data', function (chunk) {\n\t\t\t\t\t// see http://stackoverflow.com/questions/37519828\n\t\t\t\t\tif ((chunk[0] & 0x0F) === 0x08) {\n\t\t\t\t\t\tbody = body.pipe(zlib.createInflate());\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbody = body.pipe(zlib.createInflateRaw());\n\t\t\t\t\t}\n\t\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\t\tresolve(response);\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for br\n\t\t\tif (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') {\n\t\t\t\tbody = body.pipe(zlib.createBrotliDecompress());\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// otherwise, use response as-is\n\t\t\tresponse = new Response(body, response_options);\n\t\t\tresolve(response);\n\t\t});\n\n\t\twriteToStream(req, request);\n\t});\n}\n/**\n * Redirect code matching\n *\n * @param Number code Status code\n * @return Boolean\n */\nfetch.isRedirect = function (code) {\n\treturn code === 301 || code === 302 || code === 303 || code === 307 || code === 308;\n};\n\n// expose Promise\nfetch.Promise = global.Promise;\n\nmodule.exports = exports = fetch;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = exports;\nexports.Headers = Headers;\nexports.Request = Request;\nexports.Response = Response;\nexports.FetchError = FetchError;\n","\"use strict\";\n\nvar punycode = require(\"punycode\");\nvar mappingTable = require(\"./lib/mappingTable.json\");\n\nvar PROCESSING_OPTIONS = {\n TRANSITIONAL: 0,\n NONTRANSITIONAL: 1\n};\n\nfunction normalize(str) { // fix bug in v8\n return str.split('\\u0000').map(function (s) { return s.normalize('NFC'); }).join('\\u0000');\n}\n\nfunction findStatus(val) {\n var start = 0;\n var end = mappingTable.length - 1;\n\n while (start <= end) {\n var mid = Math.floor((start + end) / 2);\n\n var target = mappingTable[mid];\n if (target[0][0] <= val && target[0][1] >= val) {\n return target;\n } else if (target[0][0] > val) {\n end = mid - 1;\n } else {\n start = mid + 1;\n }\n }\n\n return null;\n}\n\nvar regexAstralSymbols = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n\nfunction countSymbols(string) {\n return string\n // replace every surrogate pair with a BMP symbol\n .replace(regexAstralSymbols, '_')\n // then get the length\n .length;\n}\n\nfunction mapChars(domain_name, useSTD3, processing_option) {\n var hasError = false;\n var processed = \"\";\n\n var len = countSymbols(domain_name);\n for (var i = 0; i < len; ++i) {\n var codePoint = domain_name.codePointAt(i);\n var status = findStatus(codePoint);\n\n switch (status[1]) {\n case \"disallowed\":\n hasError = true;\n processed += String.fromCodePoint(codePoint);\n break;\n case \"ignored\":\n break;\n case \"mapped\":\n processed += String.fromCodePoint.apply(String, status[2]);\n break;\n case \"deviation\":\n if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) {\n processed += String.fromCodePoint.apply(String, status[2]);\n } else {\n processed += String.fromCodePoint(codePoint);\n }\n break;\n case \"valid\":\n processed += String.fromCodePoint(codePoint);\n break;\n case \"disallowed_STD3_mapped\":\n if (useSTD3) {\n hasError = true;\n processed += String.fromCodePoint(codePoint);\n } else {\n processed += String.fromCodePoint.apply(String, status[2]);\n }\n break;\n case \"disallowed_STD3_valid\":\n if (useSTD3) {\n hasError = true;\n }\n\n processed += String.fromCodePoint(codePoint);\n break;\n }\n }\n\n return {\n string: processed,\n error: hasError\n };\n}\n\nvar combiningMarksRegex = /[\\u0300-\\u036F\\u0483-\\u0489\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u08E4-\\u0903\\u093A-\\u093C\\u093E-\\u094F\\u0951-\\u0957\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u0A01-\\u0A03\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AE2\\u0AE3\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B62\\u0B63\\u0B82\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C00-\\u0C03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0C81-\\u0C83\\u0CBC\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CE2\\u0CE3\\u0D01-\\u0D03\\u0D3E-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0D62\\u0D63\\u0D82\\u0D83\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102B-\\u103E\\u1056-\\u1059\\u105E-\\u1060\\u1062-\\u1064\\u1067-\\u106D\\u1071-\\u1074\\u1082-\\u108D\\u108F\\u109A-\\u109D\\u135D-\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B4-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u192B\\u1930-\\u193B\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A17-\\u1A1B\\u1A55-\\u1A5E\\u1A60-\\u1A7C\\u1A7F\\u1AB0-\\u1ABE\\u1B00-\\u1B04\\u1B34-\\u1B44\\u1B6B-\\u1B73\\u1B80-\\u1B82\\u1BA1-\\u1BAD\\u1BE6-\\u1BF3\\u1C24-\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE8\\u1CED\\u1CF2-\\u1CF4\\u1CF8\\u1CF9\\u1DC0-\\u1DF5\\u1DFC-\\u1DFF\\u20D0-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F-\\uA672\\uA674-\\uA67D\\uA69F\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA823-\\uA827\\uA880\\uA881\\uA8B4-\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA953\\uA980-\\uA983\\uA9B3-\\uA9C0\\uA9E5\\uAA29-\\uAA36\\uAA43\\uAA4C\\uAA4D\\uAA7B-\\uAA7D\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uAAEB-\\uAAEF\\uAAF5\\uAAF6\\uABE3-\\uABEA\\uABEC\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2D]|\\uD800[\\uDDFD\\uDEE0\\uDF76-\\uDF7A]|\\uD802[\\uDE01-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE0F\\uDE38-\\uDE3A\\uDE3F\\uDEE5\\uDEE6]|\\uD804[\\uDC00-\\uDC02\\uDC38-\\uDC46\\uDC7F-\\uDC82\\uDCB0-\\uDCBA\\uDD00-\\uDD02\\uDD27-\\uDD34\\uDD73\\uDD80-\\uDD82\\uDDB3-\\uDDC0\\uDE2C-\\uDE37\\uDEDF-\\uDEEA\\uDF01-\\uDF03\\uDF3C\\uDF3E-\\uDF44\\uDF47\\uDF48\\uDF4B-\\uDF4D\\uDF57\\uDF62\\uDF63\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDCB0-\\uDCC3\\uDDAF-\\uDDB5\\uDDB8-\\uDDC0\\uDE30-\\uDE40\\uDEAB-\\uDEB7]|\\uD81A[\\uDEF0-\\uDEF4\\uDF30-\\uDF36]|\\uD81B[\\uDF51-\\uDF7E\\uDF8F-\\uDF92]|\\uD82F[\\uDC9D\\uDC9E]|\\uD834[\\uDD65-\\uDD69\\uDD6D-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\uD83A[\\uDCD0-\\uDCD6]|\\uDB40[\\uDD00-\\uDDEF]/;\n\nfunction validateLabel(label, processing_option) {\n if (label.substr(0, 4) === \"xn--\") {\n label = punycode.toUnicode(label);\n processing_option = PROCESSING_OPTIONS.NONTRANSITIONAL;\n }\n\n var error = false;\n\n if (normalize(label) !== label ||\n (label[3] === \"-\" && label[4] === \"-\") ||\n label[0] === \"-\" || label[label.length - 1] === \"-\" ||\n label.indexOf(\".\") !== -1 ||\n label.search(combiningMarksRegex) === 0) {\n error = true;\n }\n\n var len = countSymbols(label);\n for (var i = 0; i < len; ++i) {\n var status = findStatus(label.codePointAt(i));\n if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== \"valid\") ||\n (processing === PROCESSING_OPTIONS.NONTRANSITIONAL &&\n status[1] !== \"valid\" && status[1] !== \"deviation\")) {\n error = true;\n break;\n }\n }\n\n return {\n label: label,\n error: error\n };\n}\n\nfunction processing(domain_name, useSTD3, processing_option) {\n var result = mapChars(domain_name, useSTD3, processing_option);\n result.string = normalize(result.string);\n\n var labels = result.string.split(\".\");\n for (var i = 0; i < labels.length; ++i) {\n try {\n var validation = validateLabel(labels[i]);\n labels[i] = validation.label;\n result.error = result.error || validation.error;\n } catch(e) {\n result.error = true;\n }\n }\n\n return {\n string: labels.join(\".\"),\n error: result.error\n };\n}\n\nmodule.exports.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) {\n var result = processing(domain_name, useSTD3, processing_option);\n var labels = result.string.split(\".\");\n labels = labels.map(function(l) {\n try {\n return punycode.toASCII(l);\n } catch(e) {\n result.error = true;\n return l;\n }\n });\n\n if (verifyDnsLength) {\n var total = labels.slice(0, labels.length - 1).join(\".\").length;\n if (total.length > 253 || total.length === 0) {\n result.error = true;\n }\n\n for (var i=0; i < labels.length; ++i) {\n if (labels.length > 63 || labels.length === 0) {\n result.error = true;\n break;\n }\n }\n }\n\n if (result.error) return null;\n return labels.join(\".\");\n};\n\nmodule.exports.toUnicode = function(domain_name, useSTD3) {\n var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL);\n\n return {\n domain: result.string,\n error: result.error\n };\n};\n\nmodule.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS;\n","\"use strict\";\n\nvar conversions = {};\nmodule.exports = conversions;\n\nfunction sign(x) {\n return x < 0 ? -1 : 1;\n}\n\nfunction evenRound(x) {\n // Round x to the nearest integer, choosing the even integer if it lies halfway between two.\n if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. floor)\n return Math.floor(x);\n } else {\n return Math.round(x);\n }\n}\n\nfunction createNumberConversion(bitLength, typeOpts) {\n if (!typeOpts.unsigned) {\n --bitLength;\n }\n const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength);\n const upperBound = Math.pow(2, bitLength) - 1;\n\n const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength);\n const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1);\n\n return function(V, opts) {\n if (!opts) opts = {};\n\n let x = +V;\n\n if (opts.enforceRange) {\n if (!Number.isFinite(x)) {\n throw new TypeError(\"Argument is not a finite number\");\n }\n\n x = sign(x) * Math.floor(Math.abs(x));\n if (x < lowerBound || x > upperBound) {\n throw new TypeError(\"Argument is not in byte range\");\n }\n\n return x;\n }\n\n if (!isNaN(x) && opts.clamp) {\n x = evenRound(x);\n\n if (x < lowerBound) x = lowerBound;\n if (x > upperBound) x = upperBound;\n return x;\n }\n\n if (!Number.isFinite(x) || x === 0) {\n return 0;\n }\n\n x = sign(x) * Math.floor(Math.abs(x));\n x = x % moduloVal;\n\n if (!typeOpts.unsigned && x >= moduloBound) {\n return x - moduloVal;\n } else if (typeOpts.unsigned) {\n if (x < 0) {\n x += moduloVal;\n } else if (x === -0) { // don't return negative zero\n return 0;\n }\n }\n\n return x;\n }\n}\n\nconversions[\"void\"] = function () {\n return undefined;\n};\n\nconversions[\"boolean\"] = function (val) {\n return !!val;\n};\n\nconversions[\"byte\"] = createNumberConversion(8, { unsigned: false });\nconversions[\"octet\"] = createNumberConversion(8, { unsigned: true });\n\nconversions[\"short\"] = createNumberConversion(16, { unsigned: false });\nconversions[\"unsigned short\"] = createNumberConversion(16, { unsigned: true });\n\nconversions[\"long\"] = createNumberConversion(32, { unsigned: false });\nconversions[\"unsigned long\"] = createNumberConversion(32, { unsigned: true });\n\nconversions[\"long long\"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 });\nconversions[\"unsigned long long\"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 });\n\nconversions[\"double\"] = function (V) {\n const x = +V;\n\n if (!Number.isFinite(x)) {\n throw new TypeError(\"Argument is not a finite floating-point value\");\n }\n\n return x;\n};\n\nconversions[\"unrestricted double\"] = function (V) {\n const x = +V;\n\n if (isNaN(x)) {\n throw new TypeError(\"Argument is NaN\");\n }\n\n return x;\n};\n\n// not quite valid, but good enough for JS\nconversions[\"float\"] = conversions[\"double\"];\nconversions[\"unrestricted float\"] = conversions[\"unrestricted double\"];\n\nconversions[\"DOMString\"] = function (V, opts) {\n if (!opts) opts = {};\n\n if (opts.treatNullAsEmptyString && V === null) {\n return \"\";\n }\n\n return String(V);\n};\n\nconversions[\"ByteString\"] = function (V, opts) {\n const x = String(V);\n let c = undefined;\n for (let i = 0; (c = x.codePointAt(i)) !== undefined; ++i) {\n if (c > 255) {\n throw new TypeError(\"Argument is not a valid bytestring\");\n }\n }\n\n return x;\n};\n\nconversions[\"USVString\"] = function (V) {\n const S = String(V);\n const n = S.length;\n const U = [];\n for (let i = 0; i < n; ++i) {\n const c = S.charCodeAt(i);\n if (c < 0xD800 || c > 0xDFFF) {\n U.push(String.fromCodePoint(c));\n } else if (0xDC00 <= c && c <= 0xDFFF) {\n U.push(String.fromCodePoint(0xFFFD));\n } else {\n if (i === n - 1) {\n U.push(String.fromCodePoint(0xFFFD));\n } else {\n const d = S.charCodeAt(i + 1);\n if (0xDC00 <= d && d <= 0xDFFF) {\n const a = c & 0x3FF;\n const b = d & 0x3FF;\n U.push(String.fromCodePoint((2 << 15) + (2 << 9) * a + b));\n ++i;\n } else {\n U.push(String.fromCodePoint(0xFFFD));\n }\n }\n }\n }\n\n return U.join('');\n};\n\nconversions[\"Date\"] = function (V, opts) {\n if (!(V instanceof Date)) {\n throw new TypeError(\"Argument is not a Date object\");\n }\n if (isNaN(V)) {\n return undefined;\n }\n\n return V;\n};\n\nconversions[\"RegExp\"] = function (V, opts) {\n if (!(V instanceof RegExp)) {\n V = new RegExp(V);\n }\n\n return V;\n};\n","\"use strict\";\nconst usm = require(\"./url-state-machine\");\n\nexports.implementation = class URLImpl {\n constructor(constructorArgs) {\n const url = constructorArgs[0];\n const base = constructorArgs[1];\n\n let parsedBase = null;\n if (base !== undefined) {\n parsedBase = usm.basicURLParse(base);\n if (parsedBase === \"failure\") {\n throw new TypeError(\"Invalid base URL\");\n }\n }\n\n const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase });\n if (parsedURL === \"failure\") {\n throw new TypeError(\"Invalid URL\");\n }\n\n this._url = parsedURL;\n\n // TODO: query stuff\n }\n\n get href() {\n return usm.serializeURL(this._url);\n }\n\n set href(v) {\n const parsedURL = usm.basicURLParse(v);\n if (parsedURL === \"failure\") {\n throw new TypeError(\"Invalid URL\");\n }\n\n this._url = parsedURL;\n }\n\n get origin() {\n return usm.serializeURLOrigin(this._url);\n }\n\n get protocol() {\n return this._url.scheme + \":\";\n }\n\n set protocol(v) {\n usm.basicURLParse(v + \":\", { url: this._url, stateOverride: \"scheme start\" });\n }\n\n get username() {\n return this._url.username;\n }\n\n set username(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n usm.setTheUsername(this._url, v);\n }\n\n get password() {\n return this._url.password;\n }\n\n set password(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n usm.setThePassword(this._url, v);\n }\n\n get host() {\n const url = this._url;\n\n if (url.host === null) {\n return \"\";\n }\n\n if (url.port === null) {\n return usm.serializeHost(url.host);\n }\n\n return usm.serializeHost(url.host) + \":\" + usm.serializeInteger(url.port);\n }\n\n set host(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n usm.basicURLParse(v, { url: this._url, stateOverride: \"host\" });\n }\n\n get hostname() {\n if (this._url.host === null) {\n return \"\";\n }\n\n return usm.serializeHost(this._url.host);\n }\n\n set hostname(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n usm.basicURLParse(v, { url: this._url, stateOverride: \"hostname\" });\n }\n\n get port() {\n if (this._url.port === null) {\n return \"\";\n }\n\n return usm.serializeInteger(this._url.port);\n }\n\n set port(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n if (v === \"\") {\n this._url.port = null;\n } else {\n usm.basicURLParse(v, { url: this._url, stateOverride: \"port\" });\n }\n }\n\n get pathname() {\n if (this._url.cannotBeABaseURL) {\n return this._url.path[0];\n }\n\n if (this._url.path.length === 0) {\n return \"\";\n }\n\n return \"/\" + this._url.path.join(\"/\");\n }\n\n set pathname(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n this._url.path = [];\n usm.basicURLParse(v, { url: this._url, stateOverride: \"path start\" });\n }\n\n get search() {\n if (this._url.query === null || this._url.query === \"\") {\n return \"\";\n }\n\n return \"?\" + this._url.query;\n }\n\n set search(v) {\n // TODO: query stuff\n\n const url = this._url;\n\n if (v === \"\") {\n url.query = null;\n return;\n }\n\n const input = v[0] === \"?\" ? v.substring(1) : v;\n url.query = \"\";\n usm.basicURLParse(input, { url, stateOverride: \"query\" });\n }\n\n get hash() {\n if (this._url.fragment === null || this._url.fragment === \"\") {\n return \"\";\n }\n\n return \"#\" + this._url.fragment;\n }\n\n set hash(v) {\n if (v === \"\") {\n this._url.fragment = null;\n return;\n }\n\n const input = v[0] === \"#\" ? v.substring(1) : v;\n this._url.fragment = \"\";\n usm.basicURLParse(input, { url: this._url, stateOverride: \"fragment\" });\n }\n\n toJSON() {\n return this.href;\n }\n};\n","\"use strict\";\n\nconst conversions = require(\"webidl-conversions\");\nconst utils = require(\"./utils.js\");\nconst Impl = require(\".//URL-impl.js\");\n\nconst impl = utils.implSymbol;\n\nfunction URL(url) {\n if (!this || this[impl] || !(this instanceof URL)) {\n throw new TypeError(\"Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.\");\n }\n if (arguments.length < 1) {\n throw new TypeError(\"Failed to construct 'URL': 1 argument required, but only \" + arguments.length + \" present.\");\n }\n const args = [];\n for (let i = 0; i < arguments.length && i < 2; ++i) {\n args[i] = arguments[i];\n }\n args[0] = conversions[\"USVString\"](args[0]);\n if (args[1] !== undefined) {\n args[1] = conversions[\"USVString\"](args[1]);\n }\n\n module.exports.setup(this, args);\n}\n\nURL.prototype.toJSON = function toJSON() {\n if (!this || !module.exports.is(this)) {\n throw new TypeError(\"Illegal invocation\");\n }\n const args = [];\n for (let i = 0; i < arguments.length && i < 0; ++i) {\n args[i] = arguments[i];\n }\n return this[impl].toJSON.apply(this[impl], args);\n};\nObject.defineProperty(URL.prototype, \"href\", {\n get() {\n return this[impl].href;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].href = V;\n },\n enumerable: true,\n configurable: true\n});\n\nURL.prototype.toString = function () {\n if (!this || !module.exports.is(this)) {\n throw new TypeError(\"Illegal invocation\");\n }\n return this.href;\n};\n\nObject.defineProperty(URL.prototype, \"origin\", {\n get() {\n return this[impl].origin;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"protocol\", {\n get() {\n return this[impl].protocol;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].protocol = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"username\", {\n get() {\n return this[impl].username;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].username = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"password\", {\n get() {\n return this[impl].password;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].password = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"host\", {\n get() {\n return this[impl].host;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].host = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"hostname\", {\n get() {\n return this[impl].hostname;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].hostname = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"port\", {\n get() {\n return this[impl].port;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].port = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"pathname\", {\n get() {\n return this[impl].pathname;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].pathname = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"search\", {\n get() {\n return this[impl].search;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].search = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"hash\", {\n get() {\n return this[impl].hash;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].hash = V;\n },\n enumerable: true,\n configurable: true\n});\n\n\nmodule.exports = {\n is(obj) {\n return !!obj && obj[impl] instanceof Impl.implementation;\n },\n create(constructorArgs, privateData) {\n let obj = Object.create(URL.prototype);\n this.setup(obj, constructorArgs, privateData);\n return obj;\n },\n setup(obj, constructorArgs, privateData) {\n if (!privateData) privateData = {};\n privateData.wrapper = obj;\n\n obj[impl] = new Impl.implementation(constructorArgs, privateData);\n obj[impl][utils.wrapperSymbol] = obj;\n },\n interface: URL,\n expose: {\n Window: { URL: URL },\n Worker: { URL: URL }\n }\n};\n\n","\"use strict\";\n\nexports.URL = require(\"./URL\").interface;\nexports.serializeURL = require(\"./url-state-machine\").serializeURL;\nexports.serializeURLOrigin = require(\"./url-state-machine\").serializeURLOrigin;\nexports.basicURLParse = require(\"./url-state-machine\").basicURLParse;\nexports.setTheUsername = require(\"./url-state-machine\").setTheUsername;\nexports.setThePassword = require(\"./url-state-machine\").setThePassword;\nexports.serializeHost = require(\"./url-state-machine\").serializeHost;\nexports.serializeInteger = require(\"./url-state-machine\").serializeInteger;\nexports.parseURL = require(\"./url-state-machine\").parseURL;\n","\"use strict\";\r\nconst punycode = require(\"punycode\");\r\nconst tr46 = require(\"tr46\");\r\n\r\nconst specialSchemes = {\r\n ftp: 21,\r\n file: null,\r\n gopher: 70,\r\n http: 80,\r\n https: 443,\r\n ws: 80,\r\n wss: 443\r\n};\r\n\r\nconst failure = Symbol(\"failure\");\r\n\r\nfunction countSymbols(str) {\r\n return punycode.ucs2.decode(str).length;\r\n}\r\n\r\nfunction at(input, idx) {\r\n const c = input[idx];\r\n return isNaN(c) ? undefined : String.fromCodePoint(c);\r\n}\r\n\r\nfunction isASCIIDigit(c) {\r\n return c >= 0x30 && c <= 0x39;\r\n}\r\n\r\nfunction isASCIIAlpha(c) {\r\n return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A);\r\n}\r\n\r\nfunction isASCIIAlphanumeric(c) {\r\n return isASCIIAlpha(c) || isASCIIDigit(c);\r\n}\r\n\r\nfunction isASCIIHex(c) {\r\n return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66);\r\n}\r\n\r\nfunction isSingleDot(buffer) {\r\n return buffer === \".\" || buffer.toLowerCase() === \"%2e\";\r\n}\r\n\r\nfunction isDoubleDot(buffer) {\r\n buffer = buffer.toLowerCase();\r\n return buffer === \"..\" || buffer === \"%2e.\" || buffer === \".%2e\" || buffer === \"%2e%2e\";\r\n}\r\n\r\nfunction isWindowsDriveLetterCodePoints(cp1, cp2) {\r\n return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124);\r\n}\r\n\r\nfunction isWindowsDriveLetterString(string) {\r\n return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === \":\" || string[1] === \"|\");\r\n}\r\n\r\nfunction isNormalizedWindowsDriveLetterString(string) {\r\n return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === \":\";\r\n}\r\n\r\nfunction containsForbiddenHostCodePoint(string) {\r\n return string.search(/\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|%|\\/|:|\\?|@|\\[|\\\\|\\]/) !== -1;\r\n}\r\n\r\nfunction containsForbiddenHostCodePointExcludingPercent(string) {\r\n return string.search(/\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|\\/|:|\\?|@|\\[|\\\\|\\]/) !== -1;\r\n}\r\n\r\nfunction isSpecialScheme(scheme) {\r\n return specialSchemes[scheme] !== undefined;\r\n}\r\n\r\nfunction isSpecial(url) {\r\n return isSpecialScheme(url.scheme);\r\n}\r\n\r\nfunction defaultPort(scheme) {\r\n return specialSchemes[scheme];\r\n}\r\n\r\nfunction percentEncode(c) {\r\n let hex = c.toString(16).toUpperCase();\r\n if (hex.length === 1) {\r\n hex = \"0\" + hex;\r\n }\r\n\r\n return \"%\" + hex;\r\n}\r\n\r\nfunction utf8PercentEncode(c) {\r\n const buf = new Buffer(c);\r\n\r\n let str = \"\";\r\n\r\n for (let i = 0; i < buf.length; ++i) {\r\n str += percentEncode(buf[i]);\r\n }\r\n\r\n return str;\r\n}\r\n\r\nfunction utf8PercentDecode(str) {\r\n const input = new Buffer(str);\r\n const output = [];\r\n for (let i = 0; i < input.length; ++i) {\r\n if (input[i] !== 37) {\r\n output.push(input[i]);\r\n } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) {\r\n output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16));\r\n i += 2;\r\n } else {\r\n output.push(input[i]);\r\n }\r\n }\r\n return new Buffer(output).toString();\r\n}\r\n\r\nfunction isC0ControlPercentEncode(c) {\r\n return c <= 0x1F || c > 0x7E;\r\n}\r\n\r\nconst extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]);\r\nfunction isPathPercentEncode(c) {\r\n return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c);\r\n}\r\n\r\nconst extraUserinfoPercentEncodeSet =\r\n new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]);\r\nfunction isUserinfoPercentEncode(c) {\r\n return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c);\r\n}\r\n\r\nfunction percentEncodeChar(c, encodeSetPredicate) {\r\n const cStr = String.fromCodePoint(c);\r\n\r\n if (encodeSetPredicate(c)) {\r\n return utf8PercentEncode(cStr);\r\n }\r\n\r\n return cStr;\r\n}\r\n\r\nfunction parseIPv4Number(input) {\r\n let R = 10;\r\n\r\n if (input.length >= 2 && input.charAt(0) === \"0\" && input.charAt(1).toLowerCase() === \"x\") {\r\n input = input.substring(2);\r\n R = 16;\r\n } else if (input.length >= 2 && input.charAt(0) === \"0\") {\r\n input = input.substring(1);\r\n R = 8;\r\n }\r\n\r\n if (input === \"\") {\r\n return 0;\r\n }\r\n\r\n const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/);\r\n if (regex.test(input)) {\r\n return failure;\r\n }\r\n\r\n return parseInt(input, R);\r\n}\r\n\r\nfunction parseIPv4(input) {\r\n const parts = input.split(\".\");\r\n if (parts[parts.length - 1] === \"\") {\r\n if (parts.length > 1) {\r\n parts.pop();\r\n }\r\n }\r\n\r\n if (parts.length > 4) {\r\n return input;\r\n }\r\n\r\n const numbers = [];\r\n for (const part of parts) {\r\n if (part === \"\") {\r\n return input;\r\n }\r\n const n = parseIPv4Number(part);\r\n if (n === failure) {\r\n return input;\r\n }\r\n\r\n numbers.push(n);\r\n }\r\n\r\n for (let i = 0; i < numbers.length - 1; ++i) {\r\n if (numbers[i] > 255) {\r\n return failure;\r\n }\r\n }\r\n if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) {\r\n return failure;\r\n }\r\n\r\n let ipv4 = numbers.pop();\r\n let counter = 0;\r\n\r\n for (const n of numbers) {\r\n ipv4 += n * Math.pow(256, 3 - counter);\r\n ++counter;\r\n }\r\n\r\n return ipv4;\r\n}\r\n\r\nfunction serializeIPv4(address) {\r\n let output = \"\";\r\n let n = address;\r\n\r\n for (let i = 1; i <= 4; ++i) {\r\n output = String(n % 256) + output;\r\n if (i !== 4) {\r\n output = \".\" + output;\r\n }\r\n n = Math.floor(n / 256);\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction parseIPv6(input) {\r\n const address = [0, 0, 0, 0, 0, 0, 0, 0];\r\n let pieceIndex = 0;\r\n let compress = null;\r\n let pointer = 0;\r\n\r\n input = punycode.ucs2.decode(input);\r\n\r\n if (input[pointer] === 58) {\r\n if (input[pointer + 1] !== 58) {\r\n return failure;\r\n }\r\n\r\n pointer += 2;\r\n ++pieceIndex;\r\n compress = pieceIndex;\r\n }\r\n\r\n while (pointer < input.length) {\r\n if (pieceIndex === 8) {\r\n return failure;\r\n }\r\n\r\n if (input[pointer] === 58) {\r\n if (compress !== null) {\r\n return failure;\r\n }\r\n ++pointer;\r\n ++pieceIndex;\r\n compress = pieceIndex;\r\n continue;\r\n }\r\n\r\n let value = 0;\r\n let length = 0;\r\n\r\n while (length < 4 && isASCIIHex(input[pointer])) {\r\n value = value * 0x10 + parseInt(at(input, pointer), 16);\r\n ++pointer;\r\n ++length;\r\n }\r\n\r\n if (input[pointer] === 46) {\r\n if (length === 0) {\r\n return failure;\r\n }\r\n\r\n pointer -= length;\r\n\r\n if (pieceIndex > 6) {\r\n return failure;\r\n }\r\n\r\n let numbersSeen = 0;\r\n\r\n while (input[pointer] !== undefined) {\r\n let ipv4Piece = null;\r\n\r\n if (numbersSeen > 0) {\r\n if (input[pointer] === 46 && numbersSeen < 4) {\r\n ++pointer;\r\n } else {\r\n return failure;\r\n }\r\n }\r\n\r\n if (!isASCIIDigit(input[pointer])) {\r\n return failure;\r\n }\r\n\r\n while (isASCIIDigit(input[pointer])) {\r\n const number = parseInt(at(input, pointer));\r\n if (ipv4Piece === null) {\r\n ipv4Piece = number;\r\n } else if (ipv4Piece === 0) {\r\n return failure;\r\n } else {\r\n ipv4Piece = ipv4Piece * 10 + number;\r\n }\r\n if (ipv4Piece > 255) {\r\n return failure;\r\n }\r\n ++pointer;\r\n }\r\n\r\n address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece;\r\n\r\n ++numbersSeen;\r\n\r\n if (numbersSeen === 2 || numbersSeen === 4) {\r\n ++pieceIndex;\r\n }\r\n }\r\n\r\n if (numbersSeen !== 4) {\r\n return failure;\r\n }\r\n\r\n break;\r\n } else if (input[pointer] === 58) {\r\n ++pointer;\r\n if (input[pointer] === undefined) {\r\n return failure;\r\n }\r\n } else if (input[pointer] !== undefined) {\r\n return failure;\r\n }\r\n\r\n address[pieceIndex] = value;\r\n ++pieceIndex;\r\n }\r\n\r\n if (compress !== null) {\r\n let swaps = pieceIndex - compress;\r\n pieceIndex = 7;\r\n while (pieceIndex !== 0 && swaps > 0) {\r\n const temp = address[compress + swaps - 1];\r\n address[compress + swaps - 1] = address[pieceIndex];\r\n address[pieceIndex] = temp;\r\n --pieceIndex;\r\n --swaps;\r\n }\r\n } else if (compress === null && pieceIndex !== 8) {\r\n return failure;\r\n }\r\n\r\n return address;\r\n}\r\n\r\nfunction serializeIPv6(address) {\r\n let output = \"\";\r\n const seqResult = findLongestZeroSequence(address);\r\n const compress = seqResult.idx;\r\n let ignore0 = false;\r\n\r\n for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) {\r\n if (ignore0 && address[pieceIndex] === 0) {\r\n continue;\r\n } else if (ignore0) {\r\n ignore0 = false;\r\n }\r\n\r\n if (compress === pieceIndex) {\r\n const separator = pieceIndex === 0 ? \"::\" : \":\";\r\n output += separator;\r\n ignore0 = true;\r\n continue;\r\n }\r\n\r\n output += address[pieceIndex].toString(16);\r\n\r\n if (pieceIndex !== 7) {\r\n output += \":\";\r\n }\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction parseHost(input, isSpecialArg) {\r\n if (input[0] === \"[\") {\r\n if (input[input.length - 1] !== \"]\") {\r\n return failure;\r\n }\r\n\r\n return parseIPv6(input.substring(1, input.length - 1));\r\n }\r\n\r\n if (!isSpecialArg) {\r\n return parseOpaqueHost(input);\r\n }\r\n\r\n const domain = utf8PercentDecode(input);\r\n const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false);\r\n if (asciiDomain === null) {\r\n return failure;\r\n }\r\n\r\n if (containsForbiddenHostCodePoint(asciiDomain)) {\r\n return failure;\r\n }\r\n\r\n const ipv4Host = parseIPv4(asciiDomain);\r\n if (typeof ipv4Host === \"number\" || ipv4Host === failure) {\r\n return ipv4Host;\r\n }\r\n\r\n return asciiDomain;\r\n}\r\n\r\nfunction parseOpaqueHost(input) {\r\n if (containsForbiddenHostCodePointExcludingPercent(input)) {\r\n return failure;\r\n }\r\n\r\n let output = \"\";\r\n const decoded = punycode.ucs2.decode(input);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n output += percentEncodeChar(decoded[i], isC0ControlPercentEncode);\r\n }\r\n return output;\r\n}\r\n\r\nfunction findLongestZeroSequence(arr) {\r\n let maxIdx = null;\r\n let maxLen = 1; // only find elements > 1\r\n let currStart = null;\r\n let currLen = 0;\r\n\r\n for (let i = 0; i < arr.length; ++i) {\r\n if (arr[i] !== 0) {\r\n if (currLen > maxLen) {\r\n maxIdx = currStart;\r\n maxLen = currLen;\r\n }\r\n\r\n currStart = null;\r\n currLen = 0;\r\n } else {\r\n if (currStart === null) {\r\n currStart = i;\r\n }\r\n ++currLen;\r\n }\r\n }\r\n\r\n // if trailing zeros\r\n if (currLen > maxLen) {\r\n maxIdx = currStart;\r\n maxLen = currLen;\r\n }\r\n\r\n return {\r\n idx: maxIdx,\r\n len: maxLen\r\n };\r\n}\r\n\r\nfunction serializeHost(host) {\r\n if (typeof host === \"number\") {\r\n return serializeIPv4(host);\r\n }\r\n\r\n // IPv6 serializer\r\n if (host instanceof Array) {\r\n return \"[\" + serializeIPv6(host) + \"]\";\r\n }\r\n\r\n return host;\r\n}\r\n\r\nfunction trimControlChars(url) {\r\n return url.replace(/^[\\u0000-\\u001F\\u0020]+|[\\u0000-\\u001F\\u0020]+$/g, \"\");\r\n}\r\n\r\nfunction trimTabAndNewline(url) {\r\n return url.replace(/\\u0009|\\u000A|\\u000D/g, \"\");\r\n}\r\n\r\nfunction shortenPath(url) {\r\n const path = url.path;\r\n if (path.length === 0) {\r\n return;\r\n }\r\n if (url.scheme === \"file\" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) {\r\n return;\r\n }\r\n\r\n path.pop();\r\n}\r\n\r\nfunction includesCredentials(url) {\r\n return url.username !== \"\" || url.password !== \"\";\r\n}\r\n\r\nfunction cannotHaveAUsernamePasswordPort(url) {\r\n return url.host === null || url.host === \"\" || url.cannotBeABaseURL || url.scheme === \"file\";\r\n}\r\n\r\nfunction isNormalizedWindowsDriveLetter(string) {\r\n return /^[A-Za-z]:$/.test(string);\r\n}\r\n\r\nfunction URLStateMachine(input, base, encodingOverride, url, stateOverride) {\r\n this.pointer = 0;\r\n this.input = input;\r\n this.base = base || null;\r\n this.encodingOverride = encodingOverride || \"utf-8\";\r\n this.stateOverride = stateOverride;\r\n this.url = url;\r\n this.failure = false;\r\n this.parseError = false;\r\n\r\n if (!this.url) {\r\n this.url = {\r\n scheme: \"\",\r\n username: \"\",\r\n password: \"\",\r\n host: null,\r\n port: null,\r\n path: [],\r\n query: null,\r\n fragment: null,\r\n\r\n cannotBeABaseURL: false\r\n };\r\n\r\n const res = trimControlChars(this.input);\r\n if (res !== this.input) {\r\n this.parseError = true;\r\n }\r\n this.input = res;\r\n }\r\n\r\n const res = trimTabAndNewline(this.input);\r\n if (res !== this.input) {\r\n this.parseError = true;\r\n }\r\n this.input = res;\r\n\r\n this.state = stateOverride || \"scheme start\";\r\n\r\n this.buffer = \"\";\r\n this.atFlag = false;\r\n this.arrFlag = false;\r\n this.passwordTokenSeenFlag = false;\r\n\r\n this.input = punycode.ucs2.decode(this.input);\r\n\r\n for (; this.pointer <= this.input.length; ++this.pointer) {\r\n const c = this.input[this.pointer];\r\n const cStr = isNaN(c) ? undefined : String.fromCodePoint(c);\r\n\r\n // exec state machine\r\n const ret = this[\"parse \" + this.state](c, cStr);\r\n if (!ret) {\r\n break; // terminate algorithm\r\n } else if (ret === failure) {\r\n this.failure = true;\r\n break;\r\n }\r\n }\r\n}\r\n\r\nURLStateMachine.prototype[\"parse scheme start\"] = function parseSchemeStart(c, cStr) {\r\n if (isASCIIAlpha(c)) {\r\n this.buffer += cStr.toLowerCase();\r\n this.state = \"scheme\";\r\n } else if (!this.stateOverride) {\r\n this.state = \"no scheme\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse scheme\"] = function parseScheme(c, cStr) {\r\n if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) {\r\n this.buffer += cStr.toLowerCase();\r\n } else if (c === 58) {\r\n if (this.stateOverride) {\r\n if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) {\r\n return false;\r\n }\r\n\r\n if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) {\r\n return false;\r\n }\r\n\r\n if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === \"file\") {\r\n return false;\r\n }\r\n\r\n if (this.url.scheme === \"file\" && (this.url.host === \"\" || this.url.host === null)) {\r\n return false;\r\n }\r\n }\r\n this.url.scheme = this.buffer;\r\n this.buffer = \"\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n if (this.url.scheme === \"file\") {\r\n if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file\";\r\n } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) {\r\n this.state = \"special relative or authority\";\r\n } else if (isSpecial(this.url)) {\r\n this.state = \"special authority slashes\";\r\n } else if (this.input[this.pointer + 1] === 47) {\r\n this.state = \"path or authority\";\r\n ++this.pointer;\r\n } else {\r\n this.url.cannotBeABaseURL = true;\r\n this.url.path.push(\"\");\r\n this.state = \"cannot-be-a-base-URL path\";\r\n }\r\n } else if (!this.stateOverride) {\r\n this.buffer = \"\";\r\n this.state = \"no scheme\";\r\n this.pointer = -1;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse no scheme\"] = function parseNoScheme(c) {\r\n if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) {\r\n return failure;\r\n } else if (this.base.cannotBeABaseURL && c === 35) {\r\n this.url.scheme = this.base.scheme;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.url.cannotBeABaseURL = true;\r\n this.state = \"fragment\";\r\n } else if (this.base.scheme === \"file\") {\r\n this.state = \"file\";\r\n --this.pointer;\r\n } else {\r\n this.state = \"relative\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special relative or authority\"] = function parseSpecialRelativeOrAuthority(c) {\r\n if (c === 47 && this.input[this.pointer + 1] === 47) {\r\n this.state = \"special authority ignore slashes\";\r\n ++this.pointer;\r\n } else {\r\n this.parseError = true;\r\n this.state = \"relative\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path or authority\"] = function parsePathOrAuthority(c) {\r\n if (c === 47) {\r\n this.state = \"authority\";\r\n } else {\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse relative\"] = function parseRelative(c) {\r\n this.url.scheme = this.base.scheme;\r\n if (isNaN(c)) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n } else if (c === 47) {\r\n this.state = \"relative slash\";\r\n } else if (c === 63) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else if (isSpecial(this.url) && c === 92) {\r\n this.parseError = true;\r\n this.state = \"relative slash\";\r\n } else {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice(0, this.base.path.length - 1);\r\n\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse relative slash\"] = function parseRelativeSlash(c) {\r\n if (isSpecial(this.url) && (c === 47 || c === 92)) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"special authority ignore slashes\";\r\n } else if (c === 47) {\r\n this.state = \"authority\";\r\n } else {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special authority slashes\"] = function parseSpecialAuthoritySlashes(c) {\r\n if (c === 47 && this.input[this.pointer + 1] === 47) {\r\n this.state = \"special authority ignore slashes\";\r\n ++this.pointer;\r\n } else {\r\n this.parseError = true;\r\n this.state = \"special authority ignore slashes\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special authority ignore slashes\"] = function parseSpecialAuthorityIgnoreSlashes(c) {\r\n if (c !== 47 && c !== 92) {\r\n this.state = \"authority\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse authority\"] = function parseAuthority(c, cStr) {\r\n if (c === 64) {\r\n this.parseError = true;\r\n if (this.atFlag) {\r\n this.buffer = \"%40\" + this.buffer;\r\n }\r\n this.atFlag = true;\r\n\r\n // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars\r\n const len = countSymbols(this.buffer);\r\n for (let pointer = 0; pointer < len; ++pointer) {\r\n const codePoint = this.buffer.codePointAt(pointer);\r\n\r\n if (codePoint === 58 && !this.passwordTokenSeenFlag) {\r\n this.passwordTokenSeenFlag = true;\r\n continue;\r\n }\r\n const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode);\r\n if (this.passwordTokenSeenFlag) {\r\n this.url.password += encodedCodePoints;\r\n } else {\r\n this.url.username += encodedCodePoints;\r\n }\r\n }\r\n this.buffer = \"\";\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92)) {\r\n if (this.atFlag && this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n this.pointer -= countSymbols(this.buffer) + 1;\r\n this.buffer = \"\";\r\n this.state = \"host\";\r\n } else {\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse hostname\"] =\r\nURLStateMachine.prototype[\"parse host\"] = function parseHostName(c, cStr) {\r\n if (this.stateOverride && this.url.scheme === \"file\") {\r\n --this.pointer;\r\n this.state = \"file host\";\r\n } else if (c === 58 && !this.arrFlag) {\r\n if (this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n const host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n\r\n this.url.host = host;\r\n this.buffer = \"\";\r\n this.state = \"port\";\r\n if (this.stateOverride === \"hostname\") {\r\n return false;\r\n }\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92)) {\r\n --this.pointer;\r\n if (isSpecial(this.url) && this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n } else if (this.stateOverride && this.buffer === \"\" &&\r\n (includesCredentials(this.url) || this.url.port !== null)) {\r\n this.parseError = true;\r\n return false;\r\n }\r\n\r\n const host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n\r\n this.url.host = host;\r\n this.buffer = \"\";\r\n this.state = \"path start\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n } else {\r\n if (c === 91) {\r\n this.arrFlag = true;\r\n } else if (c === 93) {\r\n this.arrFlag = false;\r\n }\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse port\"] = function parsePort(c, cStr) {\r\n if (isASCIIDigit(c)) {\r\n this.buffer += cStr;\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92) ||\r\n this.stateOverride) {\r\n if (this.buffer !== \"\") {\r\n const port = parseInt(this.buffer);\r\n if (port > Math.pow(2, 16) - 1) {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n this.url.port = port === defaultPort(this.url.scheme) ? null : port;\r\n this.buffer = \"\";\r\n }\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n this.state = \"path start\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nconst fileOtherwiseCodePoints = new Set([47, 92, 63, 35]);\r\n\r\nURLStateMachine.prototype[\"parse file\"] = function parseFile(c) {\r\n this.url.scheme = \"file\";\r\n\r\n if (c === 47 || c === 92) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file slash\";\r\n } else if (this.base !== null && this.base.scheme === \"file\") {\r\n if (isNaN(c)) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n } else if (c === 63) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else {\r\n if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points\r\n !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) ||\r\n (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points\r\n !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n shortenPath(this.url);\r\n } else {\r\n this.parseError = true;\r\n }\r\n\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n } else {\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse file slash\"] = function parseFileSlash(c) {\r\n if (c === 47 || c === 92) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file host\";\r\n } else {\r\n if (this.base !== null && this.base.scheme === \"file\") {\r\n if (isNormalizedWindowsDriveLetterString(this.base.path[0])) {\r\n this.url.path.push(this.base.path[0]);\r\n } else {\r\n this.url.host = this.base.host;\r\n }\r\n }\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse file host\"] = function parseFileHost(c, cStr) {\r\n if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) {\r\n --this.pointer;\r\n if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) {\r\n this.parseError = true;\r\n this.state = \"path\";\r\n } else if (this.buffer === \"\") {\r\n this.url.host = \"\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n this.state = \"path start\";\r\n } else {\r\n let host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n if (host === \"localhost\") {\r\n host = \"\";\r\n }\r\n this.url.host = host;\r\n\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n\r\n this.buffer = \"\";\r\n this.state = \"path start\";\r\n }\r\n } else {\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path start\"] = function parsePathStart(c) {\r\n if (isSpecial(this.url)) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"path\";\r\n\r\n if (c !== 47 && c !== 92) {\r\n --this.pointer;\r\n }\r\n } else if (!this.stateOverride && c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (!this.stateOverride && c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else if (c !== undefined) {\r\n this.state = \"path\";\r\n if (c !== 47) {\r\n --this.pointer;\r\n }\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path\"] = function parsePath(c) {\r\n if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) ||\r\n (!this.stateOverride && (c === 63 || c === 35))) {\r\n if (isSpecial(this.url) && c === 92) {\r\n this.parseError = true;\r\n }\r\n\r\n if (isDoubleDot(this.buffer)) {\r\n shortenPath(this.url);\r\n if (c !== 47 && !(isSpecial(this.url) && c === 92)) {\r\n this.url.path.push(\"\");\r\n }\r\n } else if (isSingleDot(this.buffer) && c !== 47 &&\r\n !(isSpecial(this.url) && c === 92)) {\r\n this.url.path.push(\"\");\r\n } else if (!isSingleDot(this.buffer)) {\r\n if (this.url.scheme === \"file\" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) {\r\n if (this.url.host !== \"\" && this.url.host !== null) {\r\n this.parseError = true;\r\n this.url.host = \"\";\r\n }\r\n this.buffer = this.buffer[0] + \":\";\r\n }\r\n this.url.path.push(this.buffer);\r\n }\r\n this.buffer = \"\";\r\n if (this.url.scheme === \"file\" && (c === undefined || c === 63 || c === 35)) {\r\n while (this.url.path.length > 1 && this.url.path[0] === \"\") {\r\n this.parseError = true;\r\n this.url.path.shift();\r\n }\r\n }\r\n if (c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n }\r\n if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n }\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.buffer += percentEncodeChar(c, isPathPercentEncode);\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse cannot-be-a-base-URL path\"] = function parseCannotBeABaseURLPath(c) {\r\n if (c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else {\r\n // TODO: Add: not a URL code point\r\n if (!isNaN(c) && c !== 37) {\r\n this.parseError = true;\r\n }\r\n\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n if (!isNaN(c)) {\r\n this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode);\r\n }\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse query\"] = function parseQuery(c, cStr) {\r\n if (isNaN(c) || (!this.stateOverride && c === 35)) {\r\n if (!isSpecial(this.url) || this.url.scheme === \"ws\" || this.url.scheme === \"wss\") {\r\n this.encodingOverride = \"utf-8\";\r\n }\r\n\r\n const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead\r\n for (let i = 0; i < buffer.length; ++i) {\r\n if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 ||\r\n buffer[i] === 0x3C || buffer[i] === 0x3E) {\r\n this.url.query += percentEncode(buffer[i]);\r\n } else {\r\n this.url.query += String.fromCodePoint(buffer[i]);\r\n }\r\n }\r\n\r\n this.buffer = \"\";\r\n if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n }\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse fragment\"] = function parseFragment(c) {\r\n if (isNaN(c)) { // do nothing\r\n } else if (c === 0x0) {\r\n this.parseError = true;\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode);\r\n }\r\n\r\n return true;\r\n};\r\n\r\nfunction serializeURL(url, excludeFragment) {\r\n let output = url.scheme + \":\";\r\n if (url.host !== null) {\r\n output += \"//\";\r\n\r\n if (url.username !== \"\" || url.password !== \"\") {\r\n output += url.username;\r\n if (url.password !== \"\") {\r\n output += \":\" + url.password;\r\n }\r\n output += \"@\";\r\n }\r\n\r\n output += serializeHost(url.host);\r\n\r\n if (url.port !== null) {\r\n output += \":\" + url.port;\r\n }\r\n } else if (url.host === null && url.scheme === \"file\") {\r\n output += \"//\";\r\n }\r\n\r\n if (url.cannotBeABaseURL) {\r\n output += url.path[0];\r\n } else {\r\n for (const string of url.path) {\r\n output += \"/\" + string;\r\n }\r\n }\r\n\r\n if (url.query !== null) {\r\n output += \"?\" + url.query;\r\n }\r\n\r\n if (!excludeFragment && url.fragment !== null) {\r\n output += \"#\" + url.fragment;\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction serializeOrigin(tuple) {\r\n let result = tuple.scheme + \"://\";\r\n result += serializeHost(tuple.host);\r\n\r\n if (tuple.port !== null) {\r\n result += \":\" + tuple.port;\r\n }\r\n\r\n return result;\r\n}\r\n\r\nmodule.exports.serializeURL = serializeURL;\r\n\r\nmodule.exports.serializeURLOrigin = function (url) {\r\n // https://url.spec.whatwg.org/#concept-url-origin\r\n switch (url.scheme) {\r\n case \"blob\":\r\n try {\r\n return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0]));\r\n } catch (e) {\r\n // serializing an opaque origin returns \"null\"\r\n return \"null\";\r\n }\r\n case \"ftp\":\r\n case \"gopher\":\r\n case \"http\":\r\n case \"https\":\r\n case \"ws\":\r\n case \"wss\":\r\n return serializeOrigin({\r\n scheme: url.scheme,\r\n host: url.host,\r\n port: url.port\r\n });\r\n case \"file\":\r\n // spec says \"exercise to the reader\", chrome says \"file://\"\r\n return \"file://\";\r\n default:\r\n // serializing an opaque origin returns \"null\"\r\n return \"null\";\r\n }\r\n};\r\n\r\nmodule.exports.basicURLParse = function (input, options) {\r\n if (options === undefined) {\r\n options = {};\r\n }\r\n\r\n const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride);\r\n if (usm.failure) {\r\n return \"failure\";\r\n }\r\n\r\n return usm.url;\r\n};\r\n\r\nmodule.exports.setTheUsername = function (url, username) {\r\n url.username = \"\";\r\n const decoded = punycode.ucs2.decode(username);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode);\r\n }\r\n};\r\n\r\nmodule.exports.setThePassword = function (url, password) {\r\n url.password = \"\";\r\n const decoded = punycode.ucs2.decode(password);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode);\r\n }\r\n};\r\n\r\nmodule.exports.serializeHost = serializeHost;\r\n\r\nmodule.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort;\r\n\r\nmodule.exports.serializeInteger = function (integer) {\r\n return String(integer);\r\n};\r\n\r\nmodule.exports.parseURL = function (input, options) {\r\n if (options === undefined) {\r\n options = {};\r\n }\r\n\r\n // We don't handle blobs, so this just delegates:\r\n return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride });\r\n};\r\n","\"use strict\";\n\nmodule.exports.mixin = function mixin(target, source) {\n const keys = Object.getOwnPropertyNames(source);\n for (let i = 0; i < keys.length; ++i) {\n Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i]));\n }\n};\n\nmodule.exports.wrapperSymbol = Symbol(\"wrapper\");\nmodule.exports.implSymbol = Symbol(\"impl\");\n\nmodule.exports.wrapperForImpl = function (impl) {\n return impl[module.exports.wrapperSymbol];\n};\n\nmodule.exports.implForWrapper = function (wrapper) {\n return wrapper[module.exports.implSymbol];\n};\n\n","var wrappy = require('wrappy')\nmodule.exports = wrappy(once)\nmodule.exports.strict = wrappy(onceStrict)\n\nonce.proto = once(function () {\n Object.defineProperty(Function.prototype, 'once', {\n value: function () {\n return once(this)\n },\n configurable: true\n })\n\n Object.defineProperty(Function.prototype, 'onceStrict', {\n value: function () {\n return onceStrict(this)\n },\n configurable: true\n })\n})\n\nfunction once (fn) {\n var f = function () {\n if (f.called) return f.value\n f.called = true\n return f.value = fn.apply(this, arguments)\n }\n f.called = false\n return f\n}\n\nfunction onceStrict (fn) {\n var f = function () {\n if (f.called)\n throw new Error(f.onceError)\n f.called = true\n return f.value = fn.apply(this, arguments)\n }\n var name = fn.name || 'Function wrapped with `once`'\n f.onceError = name + \" shouldn't be called more than once\"\n f.called = false\n return f\n}\n","/*\nCopyright (c) the purl authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*/\n\nconst PackageURL = require('./src/package-url');\n\nmodule.exports = {\n PackageURL\n};\n","/*\nCopyright (c) the purl authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*/\nclass PackageURL {\n\n constructor(type, namespace, name, version, qualifiers, subpath) {\n let required = { 'type': type, 'name': name };\n Object.keys(required).forEach(key => {\n if (!required[key]) {\n throw new Error('Invalid purl: \"' + key + '\" is a required field.');\n }\n });\n\n let strings = { 'type': type, 'namespace': namespace, 'name': name, 'versions': version, 'subpath': subpath };\n Object.keys(strings).forEach(key => {\n if (strings[key] && typeof strings[key] === 'string' || !strings[key]) {\n return;\n }\n throw new Error('Invalid purl: \"' + key + '\" argument must be a string.');\n });\n\n if (qualifiers) {\n if (typeof qualifiers !== 'object') {\n throw new Error('Invalid purl: \"qualifiers\" argument must be a dictionary.');\n }\n Object.keys(qualifiers).forEach(key => {\n if (!/^[a-z]+$/i.test(key) && !/[\\.-_]/.test(key)) {\n throw new Error('Invalid purl: qualifier \"' + key + '\" contains an illegal character.');\n }\n });\n }\n\n this.type = type;\n this.name = name;\n this.namespace = namespace;\n this.version = version;\n this.qualifiers = qualifiers;\n this.subpath = subpath;\n }\n\n _handlePyPi() {\n this.name = this.name.toLowerCase().replace(/_/g, '-');\n }\n\n toString() {\n var purl = ['pkg:', this.type, '/'];\n\n if (this.type === 'pypi') {\n this._handlePyPi();\n }\n\n if (this.namespace) {\n purl.push(\n encodeURIComponent(this.namespace)\n .replace('%3A', ':')\n .replace('%2F', '/')\n );\n purl.push('/');\n }\n\n purl.push(encodeURIComponent(this.name).replace('%3A', ':'));\n\n if (this.version) {\n purl.push('@');\n purl.push(encodeURIComponent(this.version).replace('%3A', ':'));\n }\n\n if (this.qualifiers) {\n purl.push('?');\n\n let qualifiers = this.qualifiers;\n let qualifierString = [];\n Object.keys(qualifiers).sort().forEach(key => {\n qualifierString.push(encodeURIComponent(key).replace('%3A', ':') + '=' + encodeURI(qualifiers[key]));\n });\n\n purl.push(qualifierString.join('&'));\n }\n\n if (this.subpath) {\n purl.push('#');\n purl.push(encodeURI(this.subpath));\n }\n\n return purl.join('');\n }\n\n static fromString(purl) {\n if (!purl || !typeof purl === 'string' || !purl.trim()) {\n throw new Error('A purl string argument is required.');\n }\n\n var [scheme, remainder] = purl.split(':');\n if (scheme !== 'pkg') {\n throw new Error('purl is missing the required \"pkg\" scheme component.');\n }\n // this strip '/, // and /// as possible in :// or :///\n // from https://gist.github.com/refo/47632c8a547f2d9b6517#file-remove-leading-slash\n remainder = remainder.trim().replace(/^\\/+/g, '');\n\n let type = remainder.split('/')[0];\n var remainder = remainder.split('/').slice(1).join('/');\n if (!type || !remainder) {\n throw new Error('purl is missing the required \"type\" component.');\n }\n\n let url = new URL(purl);\n\n let qualifiers = null;\n url.searchParams.forEach((value, key) => {\n if (!qualifiers) {\n qualifiers = {};\n }\n qualifiers[key] = value;\n });\n let subpath = url.hash;\n if (subpath.indexOf('#') === 0) {\n subpath = subpath.substring(1);\n }\n if (subpath.length === 0) {\n subpath = null;\n }\n\n if (url.username !== '' || url.password !== '') {\n throw new Error('Invalid purl: cannot contain a \"user:pass@host:port\"');\n }\n\n // this strip '/, // and /// as possible in :// or :///\n // from https://gist.github.com/refo/47632c8a547f2d9b6517#file-remove-leading-slash\n let path = url.pathname.trim().replace(/^\\/+/g, '');\n\n // version is optional - check for existence\n let version = null;\n if (path.includes('@')) {\n let index = path.indexOf('@');\n version = decodeURIComponent(path.substring(index + 1));\n remainder = path.substring(0, index);\n } else {\n remainder = path;\n }\n\n // The 'remainder' should now consist of an optional namespace and the name\n let remaining = remainder.split('/').slice(1);\n let name = null;\n let namespace = null;\n if (remaining.length > 1) {\n let nameIndex = remaining.length - 1;\n let namespaceComponents = remaining.slice(0, nameIndex);\n name = decodeURIComponent(remaining[nameIndex]);\n namespace = decodeURIComponent(namespaceComponents.join('/'));\n } else if (remaining.length === 1) {\n name = decodeURIComponent(remaining[0]);\n }\n\n if (name === '') {\n throw new Error('purl is missing the required \"name\" component.');\n }\n\n return new PackageURL(type, namespace, name, version, qualifiers, subpath);\n }\n\n};\n\nmodule.exports = PackageURL;\n","module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction getUserAgent() {\n if (typeof navigator === \"object\" && \"userAgent\" in navigator) {\n return navigator.userAgent;\n }\n\n if (typeof process === \"object\" && \"version\" in process) {\n return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;\n }\n\n return \"\";\n}\n\nexports.getUserAgent = getUserAgent;\n//# sourceMappingURL=index.js.map\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"v1\", {\n enumerable: true,\n get: function () {\n return _v.default;\n }\n});\nObject.defineProperty(exports, \"v3\", {\n enumerable: true,\n get: function () {\n return _v2.default;\n }\n});\nObject.defineProperty(exports, \"v4\", {\n enumerable: true,\n get: function () {\n return _v3.default;\n }\n});\nObject.defineProperty(exports, \"v5\", {\n enumerable: true,\n get: function () {\n return _v4.default;\n }\n});\nObject.defineProperty(exports, \"NIL\", {\n enumerable: true,\n get: function () {\n return _nil.default;\n }\n});\nObject.defineProperty(exports, \"version\", {\n enumerable: true,\n get: function () {\n return _version.default;\n }\n});\nObject.defineProperty(exports, \"validate\", {\n enumerable: true,\n get: function () {\n return _validate.default;\n }\n});\nObject.defineProperty(exports, \"stringify\", {\n enumerable: true,\n get: function () {\n return _stringify.default;\n }\n});\nObject.defineProperty(exports, \"parse\", {\n enumerable: true,\n get: function () {\n return _parse.default;\n }\n});\n\nvar _v = _interopRequireDefault(require(\"./v1.js\"));\n\nvar _v2 = _interopRequireDefault(require(\"./v3.js\"));\n\nvar _v3 = _interopRequireDefault(require(\"./v4.js\"));\n\nvar _v4 = _interopRequireDefault(require(\"./v5.js\"));\n\nvar _nil = _interopRequireDefault(require(\"./nil.js\"));\n\nvar _version = _interopRequireDefault(require(\"./version.js\"));\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('md5').update(bytes).digest();\n}\n\nvar _default = md5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = '00000000-0000-0000-0000-000000000000';\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction parse(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nvar _default = parse;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = rng;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\n\nfunction rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n _crypto.default.randomFillSync(rnds8Pool);\n\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('sha1').update(bytes).digest();\n}\n\nvar _default = sha1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nvar _default = stringify;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || _rng.default)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || (0, _stringify.default)(b);\n}\n\nvar _default = v1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _md = _interopRequireDefault(require(\"./md5.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v3 = (0, _v.default)('v3', 0x30, _md.default);\nvar _default = v3;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _default;\nexports.URL = exports.DNS = void 0;\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nconst DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexports.DNS = DNS;\nconst URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexports.URL = URL;\n\nfunction _default(name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = (0, _parse.default)(namespace);\n }\n\n if (namespace.length !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.default)(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction v4(options, buf, offset) {\n options = options || {};\n\n const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.default)(rnds);\n}\n\nvar _default = v4;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _sha = _interopRequireDefault(require(\"./sha1.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v5 = (0, _v.default)('v5', 0x50, _sha.default);\nvar _default = v5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _regex = _interopRequireDefault(require(\"./regex.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && _regex.default.test(uuid);\n}\n\nvar _default = validate;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction version(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.substr(14, 1), 16);\n}\n\nvar _default = version;\nexports.default = _default;","// Returns a wrapper function that returns a wrapped callback\n// The wrapper function should do some stuff, and return a\n// presumably different callback function.\n// This makes sure that own properties are retained, so that\n// decorations and such are not lost along the way.\nmodule.exports = wrappy\nfunction wrappy (fn, cb) {\n if (fn && cb) return wrappy(fn)(cb)\n\n if (typeof fn !== 'function')\n throw new TypeError('need wrapper function')\n\n Object.keys(fn).forEach(function (k) {\n wrapper[k] = fn[k]\n })\n\n return wrapper\n\n function wrapper() {\n var args = new Array(arguments.length)\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i]\n }\n var ret = fn.apply(this, args)\n var cb = args[args.length-1]\n if (typeof ret === 'function' && ret !== cb) {\n Object.keys(cb).forEach(function (k) {\n ret[k] = cb[k]\n })\n }\n return ret\n }\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../interfaces\");\nvar util_1 = require(\"@oozcitak/util\");\nvar util_2 = require(\"@oozcitak/dom/lib/util\");\nvar _1 = require(\".\");\nvar dom_1 = require(\"../builder/dom\");\n/** @inheritdoc */\nfunction builder(p1, p2) {\n var options = formatBuilderOptions(isXMLBuilderCreateOptions(p1) ? p1 : interfaces_1.DefaultBuilderOptions);\n var nodes = util_2.Guard.isNode(p1) || util_1.isArray(p1) ? p1 : p2;\n if (nodes === undefined) {\n throw new Error(\"Invalid arguments.\");\n }\n if (util_1.isArray(nodes)) {\n var builders = [];\n for (var i = 0; i < nodes.length; i++) {\n var builder_1 = new _1.XMLBuilderImpl(nodes[i]);\n builder_1.set(options);\n builders.push(builder_1);\n }\n return builders;\n }\n else {\n var builder_2 = new _1.XMLBuilderImpl(nodes);\n builder_2.set(options);\n return builder_2;\n }\n}\nexports.builder = builder;\n/** @inheritdoc */\nfunction create(p1, p2) {\n var options = formatBuilderOptions(p1 === undefined || isXMLBuilderCreateOptions(p1) ?\n p1 : interfaces_1.DefaultBuilderOptions);\n var contents = isXMLBuilderCreateOptions(p1) ? p2 : p1;\n var doc = dom_1.createDocument();\n setOptions(doc, options);\n var builder = new _1.XMLBuilderImpl(doc);\n if (contents !== undefined) {\n // parse contents\n builder.ele(contents);\n }\n return builder;\n}\nexports.create = create;\n/** @inheritdoc */\nfunction fragment(p1, p2) {\n var options = formatBuilderOptions(p1 === undefined || isXMLBuilderCreateOptions(p1) ?\n p1 : interfaces_1.DefaultBuilderOptions);\n var contents = isXMLBuilderCreateOptions(p1) ? p2 : p1;\n var doc = dom_1.createDocument();\n setOptions(doc, options, true);\n var builder = new _1.XMLBuilderImpl(doc.createDocumentFragment());\n if (contents !== undefined) {\n // parse contents\n builder.ele(contents);\n }\n return builder;\n}\nexports.fragment = fragment;\n/** @inheritdoc */\nfunction convert(p1, p2, p3) {\n var builderOptions;\n var contents;\n var convertOptions;\n if (isXMLBuilderCreateOptions(p1) && p2 !== undefined) {\n builderOptions = p1;\n contents = p2;\n convertOptions = p3;\n }\n else {\n builderOptions = interfaces_1.DefaultBuilderOptions;\n contents = p1;\n convertOptions = p2 || undefined;\n }\n return create(builderOptions, contents).end(convertOptions);\n}\nexports.convert = convert;\nfunction isXMLBuilderCreateOptions(obj) {\n if (!util_1.isPlainObject(obj))\n return false;\n for (var key in obj) {\n /* istanbul ignore else */\n if (obj.hasOwnProperty(key)) {\n if (!interfaces_1.XMLBuilderOptionKeys.has(key))\n return false;\n }\n }\n return true;\n}\nfunction formatBuilderOptions(createOptions) {\n if (createOptions === void 0) { createOptions = {}; }\n var options = util_1.applyDefaults(createOptions, interfaces_1.DefaultBuilderOptions);\n if (options.convert.att.length === 0 ||\n options.convert.ins.length === 0 ||\n options.convert.text.length === 0 ||\n options.convert.cdata.length === 0 ||\n options.convert.comment.length === 0) {\n throw new Error(\"JS object converter strings cannot be zero length.\");\n }\n return options;\n}\nfunction setOptions(doc, options, isFragment) {\n var docWithSettings = doc;\n docWithSettings._xmlBuilderOptions = options;\n docWithSettings._isFragment = isFragment;\n}\n//# sourceMappingURL=BuilderFunctions.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar _1 = require(\".\");\n/**\n * Creates an XML builder which serializes the document in chunks.\n *\n * @param options - callback builder options\n *\n * @returns callback builder\n */\nfunction createCB(options) {\n return new _1.XMLBuilderCBImpl(options);\n}\nexports.createCB = createCB;\n/**\n * Creates an XML builder which serializes the fragment in chunks.\n *\n * @param options - callback builder options\n *\n * @returns callback builder\n */\nfunction fragmentCB(options) {\n return new _1.XMLBuilderCBImpl(options, true);\n}\nexports.fragmentCB = fragmentCB;\n//# sourceMappingURL=BuilderFunctionsCB.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../interfaces\");\nvar util_1 = require(\"@oozcitak/util\");\nvar BuilderFunctions_1 = require(\"./BuilderFunctions\");\nvar algorithm_1 = require(\"@oozcitak/dom/lib/algorithm\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar NamespacePrefixMap_1 = require(\"@oozcitak/dom/lib/serializer/NamespacePrefixMap\");\nvar LocalNameSet_1 = require(\"@oozcitak/dom/lib/serializer/LocalNameSet\");\nvar util_2 = require(\"@oozcitak/dom/lib/util\");\nvar XMLCBWriter_1 = require(\"../writers/XMLCBWriter\");\nvar JSONCBWriter_1 = require(\"../writers/JSONCBWriter\");\nvar YAMLCBWriter_1 = require(\"../writers/YAMLCBWriter\");\nvar events_1 = require(\"events\");\n/**\n * Represents a readable XML document stream.\n */\nvar XMLBuilderCBImpl = /** @class */ (function (_super) {\n __extends(XMLBuilderCBImpl, _super);\n /**\n * Initializes a new instance of `XMLStream`.\n *\n * @param options - stream writer options\n * @param fragment - whether to create fragment stream or a document stream\n *\n * @returns XML stream\n */\n function XMLBuilderCBImpl(options, fragment) {\n if (fragment === void 0) { fragment = false; }\n var _this = _super.call(this) || this;\n _this._hasDeclaration = false;\n _this._docTypeName = \"\";\n _this._hasDocumentElement = false;\n _this._currentElementSerialized = false;\n _this._openTags = [];\n _this._ended = false;\n _this._fragment = fragment;\n // provide default options\n _this._options = util_1.applyDefaults(options || {}, interfaces_1.DefaultXMLBuilderCBOptions);\n _this._builderOptions = {\n defaultNamespace: _this._options.defaultNamespace,\n namespaceAlias: _this._options.namespaceAlias\n };\n if (_this._options.format === \"json\") {\n _this._writer = new JSONCBWriter_1.JSONCBWriter(_this._options);\n }\n else if (_this._options.format === \"yaml\") {\n _this._writer = new YAMLCBWriter_1.YAMLCBWriter(_this._options);\n }\n else {\n _this._writer = new XMLCBWriter_1.XMLCBWriter(_this._options);\n }\n // automatically create listeners for callbacks passed via options\n if (_this._options.data !== undefined) {\n _this.on(\"data\", _this._options.data);\n }\n if (_this._options.end !== undefined) {\n _this.on(\"end\", _this._options.end);\n }\n if (_this._options.error !== undefined) {\n _this.on(\"error\", _this._options.error);\n }\n _this._prefixMap = new NamespacePrefixMap_1.NamespacePrefixMap();\n _this._prefixMap.set(\"xml\", infra_1.namespace.XML);\n _this._prefixIndex = { value: 1 };\n _this._push(_this._writer.frontMatter());\n return _this;\n }\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.ele = function (p1, p2, p3) {\n var e_1, _a;\n // parse if JS object or XML or JSON string\n if (util_1.isObject(p1) || (util_1.isString(p1) && (/^\\s*/g, '>');\n this._push(this._writer.text(markup));\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.ins = function (target, content) {\n if (content === void 0) { content = ''; }\n this._serializeOpenTag(true);\n var node;\n try {\n node = BuilderFunctions_1.fragment(this._builderOptions).ins(target, content).first().node;\n }\n catch (err) {\n /* istanbul ignore next */\n this.emit(\"error\", err);\n /* istanbul ignore next */\n return this;\n }\n if (this._options.wellFormed && (node.target.indexOf(\":\") !== -1 || (/^xml$/i).test(node.target))) {\n this.emit(\"error\", new Error(\"Processing instruction target contains invalid characters (well-formed required).\"));\n return this;\n }\n if (this._options.wellFormed && !algorithm_1.xml_isLegalChar(node.data)) {\n this.emit(\"error\", Error(\"Processing instruction data contains invalid characters (well-formed required).\"));\n return this;\n }\n this._push(this._writer.instruction(node.target, node.data));\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.dat = function (content) {\n this._serializeOpenTag(true);\n var node;\n try {\n node = BuilderFunctions_1.fragment(this._builderOptions).dat(content).first().node;\n }\n catch (err) {\n this.emit(\"error\", err);\n return this;\n }\n this._push(this._writer.cdata(node.data));\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.dec = function (options) {\n if (options === void 0) { options = { version: \"1.0\" }; }\n if (this._fragment) {\n this.emit(\"error\", Error(\"Cannot insert an XML declaration into a document fragment.\"));\n return this;\n }\n if (this._hasDeclaration) {\n this.emit(\"error\", Error(\"XML declaration is already inserted.\"));\n return this;\n }\n this._push(this._writer.declaration(options.version || \"1.0\", options.encoding, options.standalone));\n this._hasDeclaration = true;\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.dtd = function (options) {\n if (this._fragment) {\n this.emit(\"error\", Error(\"Cannot insert a DocType declaration into a document fragment.\"));\n return this;\n }\n if (this._docTypeName !== \"\") {\n this.emit(\"error\", new Error(\"DocType declaration is already inserted.\"));\n return this;\n }\n if (this._hasDocumentElement) {\n this.emit(\"error\", new Error(\"Cannot insert DocType declaration after document element.\"));\n return this;\n }\n var node;\n try {\n node = BuilderFunctions_1.create().dtd(options).first().node;\n }\n catch (err) {\n this.emit(\"error\", err);\n return this;\n }\n if (this._options.wellFormed && !algorithm_1.xml_isPubidChar(node.publicId)) {\n this.emit(\"error\", new Error(\"DocType public identifier does not match PubidChar construct (well-formed required).\"));\n return this;\n }\n if (this._options.wellFormed &&\n (!algorithm_1.xml_isLegalChar(node.systemId) ||\n (node.systemId.indexOf('\"') !== -1 && node.systemId.indexOf(\"'\") !== -1))) {\n this.emit(\"error\", new Error(\"DocType system identifier contains invalid characters (well-formed required).\"));\n return this;\n }\n this._docTypeName = options.name;\n this._push(this._writer.docType(options.name, node.publicId, node.systemId));\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.import = function (node) {\n var e_2, _a;\n var frag = BuilderFunctions_1.fragment().set(this._options);\n try {\n frag.import(node);\n }\n catch (err) {\n this.emit(\"error\", err);\n return this;\n }\n try {\n for (var _b = __values(frag.node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var node_1 = _c.value;\n this._fromNode(node_1);\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_2) throw e_2.error; }\n }\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.up = function () {\n this._serializeOpenTag(false);\n this._serializeCloseTag();\n return this;\n };\n /** @inheritdoc */\n XMLBuilderCBImpl.prototype.end = function () {\n this._serializeOpenTag(false);\n while (this._openTags.length > 0) {\n this._serializeCloseTag();\n }\n this._push(null);\n return this;\n };\n /**\n * Serializes the opening tag of an element node.\n *\n * @param hasChildren - whether the element node has child nodes\n */\n XMLBuilderCBImpl.prototype._serializeOpenTag = function (hasChildren) {\n if (this._currentElementSerialized)\n return;\n if (this._currentElement === undefined)\n return;\n var node = this._currentElement.node;\n if (this._options.wellFormed && (node.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(node.localName))) {\n this.emit(\"error\", new Error(\"Node local name contains invalid characters (well-formed required).\"));\n return;\n }\n var qualifiedName = \"\";\n var ignoreNamespaceDefinitionAttribute = false;\n var map = this._prefixMap.copy();\n var localPrefixesMap = {};\n var localDefaultNamespace = this._recordNamespaceInformation(node, map, localPrefixesMap);\n var inheritedNS = this._openTags.length === 0 ? null : this._openTags[this._openTags.length - 1][1];\n var ns = node.namespaceURI;\n if (ns === null)\n ns = inheritedNS;\n if (inheritedNS === ns) {\n if (localDefaultNamespace !== null) {\n ignoreNamespaceDefinitionAttribute = true;\n }\n if (ns === infra_1.namespace.XML) {\n qualifiedName = \"xml:\" + node.localName;\n }\n else {\n qualifiedName = node.localName;\n }\n this._writer.beginElement(qualifiedName);\n this._push(this._writer.openTagBegin(qualifiedName));\n }\n else {\n var prefix = node.prefix;\n var candidatePrefix = null;\n if (prefix !== null || ns !== localDefaultNamespace) {\n candidatePrefix = map.get(prefix, ns);\n }\n if (prefix === \"xmlns\") {\n if (this._options.wellFormed) {\n this.emit(\"error\", new Error(\"An element cannot have the 'xmlns' prefix (well-formed required).\"));\n return;\n }\n candidatePrefix = prefix;\n }\n if (candidatePrefix !== null) {\n qualifiedName = candidatePrefix + ':' + node.localName;\n if (localDefaultNamespace !== null && localDefaultNamespace !== infra_1.namespace.XML) {\n inheritedNS = localDefaultNamespace || null;\n }\n this._writer.beginElement(qualifiedName);\n this._push(this._writer.openTagBegin(qualifiedName));\n }\n else if (prefix !== null) {\n if (prefix in localPrefixesMap) {\n prefix = this._generatePrefix(ns, map, this._prefixIndex);\n }\n map.set(prefix, ns);\n qualifiedName += prefix + ':' + node.localName;\n this._writer.beginElement(qualifiedName);\n this._push(this._writer.openTagBegin(qualifiedName));\n this._push(this._writer.attribute(\"xmlns:\" + prefix, this._serializeAttributeValue(ns, this._options.wellFormed)));\n if (localDefaultNamespace !== null) {\n inheritedNS = localDefaultNamespace || null;\n }\n }\n else if (localDefaultNamespace === null ||\n (localDefaultNamespace !== null && localDefaultNamespace !== ns)) {\n ignoreNamespaceDefinitionAttribute = true;\n qualifiedName += node.localName;\n inheritedNS = ns;\n this._writer.beginElement(qualifiedName);\n this._push(this._writer.openTagBegin(qualifiedName));\n this._push(this._writer.attribute(\"xmlns\", this._serializeAttributeValue(ns, this._options.wellFormed)));\n }\n else {\n qualifiedName += node.localName;\n inheritedNS = ns;\n this._writer.beginElement(qualifiedName);\n this._push(this._writer.openTagBegin(qualifiedName));\n }\n }\n this._serializeAttributes(node, map, this._prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, this._options.wellFormed);\n var isHTML = (ns === infra_1.namespace.HTML);\n if (isHTML && !hasChildren &&\n XMLBuilderCBImpl._VoidElementNames.has(node.localName)) {\n this._push(this._writer.openTagEnd(qualifiedName, true, true));\n this._writer.endElement(qualifiedName);\n }\n else if (!isHTML && !hasChildren) {\n this._push(this._writer.openTagEnd(qualifiedName, true, false));\n this._writer.endElement(qualifiedName);\n }\n else {\n this._push(this._writer.openTagEnd(qualifiedName, false, false));\n }\n this._currentElementSerialized = true;\n /**\n * Save qualified name, original inherited ns, original prefix map, and\n * hasChildren flag.\n */\n this._openTags.push([qualifiedName, inheritedNS, this._prefixMap, hasChildren]);\n /**\n * New values of inherited namespace and prefix map will be used while\n * serializing child nodes. They will be returned to their original values\n * when this node is closed using the _openTags array item we saved above.\n */\n if (this._isPrefixMapModified(this._prefixMap, map)) {\n this._prefixMap = map;\n }\n /**\n * Calls following this will either serialize child nodes or close this tag.\n */\n this._writer.level++;\n };\n /**\n * Serializes the closing tag of an element node.\n */\n XMLBuilderCBImpl.prototype._serializeCloseTag = function () {\n this._writer.level--;\n var lastEle = this._openTags.pop();\n /* istanbul ignore next */\n if (lastEle === undefined) {\n this.emit(\"error\", new Error(\"Last element is undefined.\"));\n return;\n }\n var _a = __read(lastEle, 4), qualifiedName = _a[0], ns = _a[1], map = _a[2], hasChildren = _a[3];\n /**\n * Restore original values of inherited namespace and prefix map.\n */\n this._prefixMap = map;\n if (!hasChildren)\n return;\n this._push(this._writer.closeTag(qualifiedName));\n this._writer.endElement(qualifiedName);\n };\n /**\n * Pushes data to internal buffer.\n *\n * @param data - data\n */\n XMLBuilderCBImpl.prototype._push = function (data) {\n if (data === null) {\n this._ended = true;\n this.emit(\"end\");\n }\n else if (this._ended) {\n this.emit(\"error\", new Error(\"Cannot push to ended stream.\"));\n }\n else if (data.length !== 0) {\n this._writer.hasData = true;\n this.emit(\"data\", data, this._writer.level);\n }\n };\n /**\n * Reads and serializes an XML tree.\n *\n * @param node - root node\n */\n XMLBuilderCBImpl.prototype._fromNode = function (node) {\n var e_3, _a, e_4, _b;\n if (util_2.Guard.isElementNode(node)) {\n var name = node.prefix ? node.prefix + \":\" + node.localName : node.localName;\n if (node.namespaceURI !== null) {\n this.ele(node.namespaceURI, name);\n }\n else {\n this.ele(name);\n }\n try {\n for (var _c = __values(node.attributes), _d = _c.next(); !_d.done; _d = _c.next()) {\n var attr = _d.value;\n var name_1 = attr.prefix ? attr.prefix + \":\" + attr.localName : attr.localName;\n if (attr.namespaceURI !== null) {\n this.att(attr.namespaceURI, name_1, attr.value);\n }\n else {\n this.att(name_1, attr.value);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_3) throw e_3.error; }\n }\n try {\n for (var _e = __values(node.childNodes), _f = _e.next(); !_f.done; _f = _e.next()) {\n var child = _f.value;\n this._fromNode(child);\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_f && !_f.done && (_b = _e.return)) _b.call(_e);\n }\n finally { if (e_4) throw e_4.error; }\n }\n this.up();\n }\n else if (util_2.Guard.isExclusiveTextNode(node) && node.data) {\n this.txt(node.data);\n }\n else if (util_2.Guard.isCommentNode(node)) {\n this.com(node.data);\n }\n else if (util_2.Guard.isCDATASectionNode(node)) {\n this.dat(node.data);\n }\n else if (util_2.Guard.isProcessingInstructionNode(node)) {\n this.ins(node.target, node.data);\n }\n };\n /**\n * Produces an XML serialization of the attributes of an element node.\n *\n * @param node - node to serialize\n * @param map - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param localPrefixesMap - local prefixes map\n * @param ignoreNamespaceDefinitionAttribute - whether to ignore namespace\n * attributes\n * @param requireWellFormed - whether to check conformance\n */\n XMLBuilderCBImpl.prototype._serializeAttributes = function (node, map, prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, requireWellFormed) {\n var e_5, _a;\n var localNameSet = requireWellFormed ? new LocalNameSet_1.LocalNameSet() : undefined;\n try {\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n // Optimize common case\n if (!requireWellFormed && !ignoreNamespaceDefinitionAttribute && attr.namespaceURI === null) {\n this._push(this._writer.attribute(attr.localName, this._serializeAttributeValue(attr.value, this._options.wellFormed)));\n continue;\n }\n if (requireWellFormed && localNameSet && localNameSet.has(attr.namespaceURI, attr.localName)) {\n this.emit(\"error\", new Error(\"Element contains duplicate attributes (well-formed required).\"));\n return;\n }\n if (requireWellFormed && localNameSet)\n localNameSet.set(attr.namespaceURI, attr.localName);\n var attributeNamespace = attr.namespaceURI;\n var candidatePrefix = null;\n if (attributeNamespace !== null) {\n candidatePrefix = map.get(attr.prefix, attributeNamespace);\n if (attributeNamespace === infra_1.namespace.XMLNS) {\n if (attr.value === infra_1.namespace.XML ||\n (attr.prefix === null && ignoreNamespaceDefinitionAttribute) ||\n (attr.prefix !== null && (!(attr.localName in localPrefixesMap) ||\n localPrefixesMap[attr.localName] !== attr.value) &&\n map.has(attr.localName, attr.value)))\n continue;\n if (requireWellFormed && attr.value === infra_1.namespace.XMLNS) {\n this.emit(\"error\", new Error(\"XMLNS namespace is reserved (well-formed required).\"));\n return;\n }\n if (requireWellFormed && attr.value === '') {\n this.emit(\"error\", new Error(\"Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).\"));\n return;\n }\n if (attr.prefix === 'xmlns')\n candidatePrefix = 'xmlns';\n /**\n * _Note:_ The (candidatePrefix === null) check is not in the spec.\n * We deviate from the spec here. Otherwise a prefix is generated for\n * all attributes with namespaces.\n */\n }\n else if (candidatePrefix === null) {\n if (attr.prefix !== null &&\n (!map.hasPrefix(attr.prefix) ||\n map.has(attr.prefix, attributeNamespace))) {\n /**\n * Check if we can use the attribute's own prefix.\n * We deviate from the spec here.\n * TODO: This is not an efficient way of searching for prefixes.\n * Follow developments to the spec.\n */\n candidatePrefix = attr.prefix;\n }\n else {\n candidatePrefix = this._generatePrefix(attributeNamespace, map, prefixIndex);\n }\n this._push(this._writer.attribute(\"xmlns:\" + candidatePrefix, this._serializeAttributeValue(attributeNamespace, this._options.wellFormed)));\n }\n }\n if (requireWellFormed && (attr.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(attr.localName) ||\n (attr.localName === \"xmlns\" && attributeNamespace === null))) {\n this.emit(\"error\", new Error(\"Attribute local name contains invalid characters (well-formed required).\"));\n return;\n }\n this._push(this._writer.attribute((candidatePrefix !== null ? candidatePrefix + \":\" : \"\") + attr.localName, this._serializeAttributeValue(attr.value, this._options.wellFormed)));\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_5) throw e_5.error; }\n }\n };\n /**\n * Produces an XML serialization of an attribute value.\n *\n * @param value - attribute value\n * @param requireWellFormed - whether to check conformance\n */\n XMLBuilderCBImpl.prototype._serializeAttributeValue = function (value, requireWellFormed) {\n if (requireWellFormed && value !== null && !algorithm_1.xml_isLegalChar(value)) {\n this.emit(\"error\", new Error(\"Invalid characters in attribute value.\"));\n return \"\";\n }\n if (value === null)\n return \"\";\n return value.replace(/(?!&(lt|gt|amp|apos|quot);)&/g, '&')\n .replace(//g, '>')\n .replace(/\"/g, '"');\n };\n /**\n * Records namespace information for the given element and returns the\n * default namespace attribute value.\n *\n * @param node - element node to process\n * @param map - namespace prefix map\n * @param localPrefixesMap - local prefixes map\n */\n XMLBuilderCBImpl.prototype._recordNamespaceInformation = function (node, map, localPrefixesMap) {\n var e_6, _a;\n var defaultNamespaceAttrValue = null;\n try {\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n var attributeNamespace = attr.namespaceURI;\n var attributePrefix = attr.prefix;\n if (attributeNamespace === infra_1.namespace.XMLNS) {\n if (attributePrefix === null) {\n defaultNamespaceAttrValue = attr.value;\n continue;\n }\n else {\n var prefixDefinition = attr.localName;\n var namespaceDefinition = attr.value;\n if (namespaceDefinition === infra_1.namespace.XML) {\n continue;\n }\n if (namespaceDefinition === '') {\n namespaceDefinition = null;\n }\n if (map.has(prefixDefinition, namespaceDefinition)) {\n continue;\n }\n map.set(prefixDefinition, namespaceDefinition);\n localPrefixesMap[prefixDefinition] = namespaceDefinition || '';\n }\n }\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_6) throw e_6.error; }\n }\n return defaultNamespaceAttrValue;\n };\n /**\n * Generates a new prefix for the given namespace.\n *\n * @param newNamespace - a namespace to generate prefix for\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n */\n XMLBuilderCBImpl.prototype._generatePrefix = function (newNamespace, prefixMap, prefixIndex) {\n var generatedPrefix = \"ns\" + prefixIndex.value;\n prefixIndex.value++;\n prefixMap.set(generatedPrefix, newNamespace);\n return generatedPrefix;\n };\n /**\n * Determines if the namespace prefix map was modified from its original.\n *\n * @param originalMap - original namespace prefix map\n * @param newMap - new namespace prefix map\n */\n XMLBuilderCBImpl.prototype._isPrefixMapModified = function (originalMap, newMap) {\n var items1 = originalMap._items;\n var items2 = newMap._items;\n var nullItems1 = originalMap._nullItems;\n var nullItems2 = newMap._nullItems;\n for (var key in items2) {\n var arr1 = items1[key];\n if (arr1 === undefined)\n return true;\n var arr2 = items2[key];\n if (arr1.length !== arr2.length)\n return true;\n for (var i = 0; i < arr1.length; i++) {\n if (arr1[i] !== arr2[i])\n return true;\n }\n }\n if (nullItems1.length !== nullItems2.length)\n return true;\n for (var i = 0; i < nullItems1.length; i++) {\n if (nullItems1[i] !== nullItems2[i])\n return true;\n }\n return false;\n };\n XMLBuilderCBImpl._VoidElementNames = new Set(['area', 'base', 'basefont',\n 'bgsound', 'br', 'col', 'embed', 'frame', 'hr', 'img', 'input', 'keygen',\n 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr']);\n return XMLBuilderCBImpl;\n}(events_1.EventEmitter));\nexports.XMLBuilderCBImpl = XMLBuilderCBImpl;\n//# sourceMappingURL=XMLBuilderCBImpl.js.map","\"use strict\";\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"../interfaces\");\nvar util_1 = require(\"@oozcitak/util\");\nvar writers_1 = require(\"../writers\");\nvar interfaces_2 = require(\"@oozcitak/dom/lib/dom/interfaces\");\nvar util_2 = require(\"@oozcitak/dom/lib/util\");\nvar algorithm_1 = require(\"@oozcitak/dom/lib/algorithm\");\nvar dom_1 = require(\"./dom\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar readers_1 = require(\"../readers\");\n/**\n * Represents a wrapper that extends XML nodes to implement easy to use and\n * chainable document builder methods.\n */\nvar XMLBuilderImpl = /** @class */ (function () {\n /**\n * Initializes a new instance of `XMLBuilderNodeImpl`.\n *\n * @param domNode - the DOM node to wrap\n */\n function XMLBuilderImpl(domNode) {\n this._domNode = domNode;\n }\n Object.defineProperty(XMLBuilderImpl.prototype, \"node\", {\n /** @inheritdoc */\n get: function () { return this._domNode; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(XMLBuilderImpl.prototype, \"options\", {\n /** @inheritdoc */\n get: function () { return this._options; },\n enumerable: true,\n configurable: true\n });\n /** @inheritdoc */\n XMLBuilderImpl.prototype.set = function (options) {\n this._options = util_1.applyDefaults(util_1.applyDefaults(this._options, options, true), // apply user settings\n interfaces_1.DefaultBuilderOptions); // provide defaults\n return this;\n };\n /** @inheritdoc */\n XMLBuilderImpl.prototype.ele = function (p1, p2, p3) {\n var _a, _b, _c;\n var namespace;\n var name;\n var attributes;\n if (util_1.isObject(p1)) {\n // ele(obj: ExpandObject)\n return new readers_1.ObjectReader(this._options).parse(this, p1);\n }\n else if (p1 !== null && /^\\s* 0) {\n if (namespace === undefined)\n namespace = name.slice(atIndex + 1);\n name = name.slice(0, atIndex);\n }\n if (namespace === undefined) {\n // look-up default namespace\n namespace = (ele ? this._options.defaultNamespace.ele : this._options.defaultNamespace.att);\n }\n else if (namespace !== null && namespace[0] === \"@\") {\n // look-up namespace aliases\n var alias = namespace.slice(1);\n namespace = this._options.namespaceAlias[alias];\n if (namespace === undefined) {\n throw new Error(\"Namespace alias `\" + alias + \"` is not defined. \" + this._debugInfo());\n }\n }\n return [namespace, name];\n };\n /**\n * Updates the element's namespace.\n *\n * @param ns - new namespace\n */\n XMLBuilderImpl.prototype._updateNamespace = function (ns) {\n var e_2, _a, e_3, _b;\n var ele = this._domNode;\n if (util_2.Guard.isElementNode(ele) && ns !== null && ele.namespaceURI !== ns) {\n var _c = __read(algorithm_1.namespace_extractQName(ele.prefix ? ele.prefix + ':' + ele.localName : ele.localName), 2), elePrefix = _c[0], eleLocalName = _c[1];\n // re-create the element node if its namespace changed\n // we can't simply change the namespaceURI since its read-only\n var newEle = algorithm_1.create_element(this._doc, eleLocalName, ns, elePrefix);\n try {\n for (var _d = __values(ele.attributes), _e = _d.next(); !_e.done; _e = _d.next()) {\n var attr = _e.value;\n var attrQName = attr.prefix ? attr.prefix + ':' + attr.localName : attr.localName;\n var _f = __read(algorithm_1.namespace_extractQName(attrQName), 1), attrPrefix = _f[0];\n var newAttrNS = attr.namespaceURI;\n if (newAttrNS === null && attrPrefix !== null) {\n newAttrNS = ele.lookupNamespaceURI(attrPrefix);\n }\n if (newAttrNS === null) {\n newEle.setAttribute(attrQName, attr.value);\n }\n else {\n newEle.setAttributeNS(newAttrNS, attrQName, attr.value);\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_2) throw e_2.error; }\n }\n // replace the new node in parent node\n var parent = ele.parentNode;\n /* istanbul ignore next */\n if (parent === null) {\n throw new Error(\"Parent node is null.\" + this._debugInfo());\n }\n parent.replaceChild(newEle, ele);\n this._domNode = newEle;\n try {\n // check child nodes\n for (var _g = __values(ele.childNodes), _h = _g.next(); !_h.done; _h = _g.next()) {\n var childNode = _h.value;\n var newChildNode = childNode.cloneNode(true);\n newEle.appendChild(newChildNode);\n if (util_2.Guard.isElementNode(newChildNode)) {\n var _j = __read(algorithm_1.namespace_extractQName(newChildNode.prefix ? newChildNode.prefix + ':' + newChildNode.localName : newChildNode.localName), 1), newChildNodePrefix = _j[0];\n var newChildNodeNS = newEle.lookupNamespaceURI(newChildNodePrefix);\n new XMLBuilderImpl(newChildNode)._updateNamespace(newChildNodeNS);\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_h && !_h.done && (_b = _g.return)) _b.call(_g);\n }\n finally { if (e_3) throw e_3.error; }\n }\n }\n };\n Object.defineProperty(XMLBuilderImpl.prototype, \"_doc\", {\n /**\n * Returns the document owning this node.\n */\n get: function () {\n var node = this.node;\n if (util_2.Guard.isDocumentNode(node)) {\n return node;\n }\n else {\n var docNode = node.ownerDocument;\n /* istanbul ignore next */\n if (!docNode)\n throw new Error(\"Owner document is null. \" + this._debugInfo());\n return docNode;\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns debug information for this node.\n *\n * @param name - node name\n */\n XMLBuilderImpl.prototype._debugInfo = function (name) {\n var node = this.node;\n var parentNode = node.parentNode;\n name = name || node.nodeName;\n var parentName = parentNode ? parentNode.nodeName : '';\n if (!parentName) {\n return \"node: <\" + name + \">\";\n }\n else {\n return \"node: <\" + name + \">, parent: <\" + parentName + \">\";\n }\n };\n Object.defineProperty(XMLBuilderImpl.prototype, \"_options\", {\n /**\n * Gets or sets builder options.\n */\n get: function () {\n var doc = this._doc;\n /* istanbul ignore next */\n if (doc._xmlBuilderOptions === undefined) {\n throw new Error(\"Builder options is not set.\");\n }\n return doc._xmlBuilderOptions;\n },\n set: function (value) {\n var doc = this._doc;\n doc._xmlBuilderOptions = value;\n },\n enumerable: true,\n configurable: true\n });\n return XMLBuilderImpl;\n}());\nexports.XMLBuilderImpl = XMLBuilderImpl;\n//# sourceMappingURL=XMLBuilderImpl.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dom_1 = require(\"@oozcitak/dom\");\nvar dom_2 = require(\"@oozcitak/dom/lib/dom\");\nvar util_1 = require(\"@oozcitak/util\");\ndom_2.dom.setFeatures(false);\n/**\n * Creates an XML document without any child nodes.\n */\nfunction createDocument() {\n var impl = new dom_1.DOMImplementation();\n var doc = impl.createDocument(null, 'root', null);\n /* istanbul ignore else */\n if (doc.documentElement) {\n doc.removeChild(doc.documentElement);\n }\n return doc;\n}\nexports.createDocument = createDocument;\n/**\n * Sanitizes input strings with user supplied replacement characters.\n *\n * @param str - input string\n * @param replacement - replacement character or function\n */\nfunction sanitizeInput(str, replacement) {\n if (str == null) {\n return str;\n }\n else if (replacement === undefined) {\n return str + \"\";\n }\n else {\n var result = \"\";\n str = str + \"\";\n for (var i = 0; i < str.length; i++) {\n var n = str.charCodeAt(i);\n // #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]\n if (n === 0x9 || n === 0xA || n === 0xD ||\n (n >= 0x20 && n <= 0xD7FF) ||\n (n >= 0xE000 && n <= 0xFFFD)) {\n // valid character - not surrogate pair\n result += str.charAt(i);\n }\n else if (n >= 0xD800 && n <= 0xDBFF && i < str.length - 1) {\n var n2 = str.charCodeAt(i + 1);\n if (n2 >= 0xDC00 && n2 <= 0xDFFF) {\n // valid surrogate pair\n n = (n - 0xD800) * 0x400 + n2 - 0xDC00 + 0x10000;\n result += String.fromCodePoint(n);\n i++;\n }\n else {\n // invalid lone surrogate\n result += util_1.isString(replacement) ? replacement : replacement(str.charAt(i), i, str);\n }\n }\n else {\n // invalid character\n result += util_1.isString(replacement) ? replacement : replacement(str.charAt(i), i, str);\n }\n }\n return result;\n }\n}\nexports.sanitizeInput = sanitizeInput;\n//# sourceMappingURL=dom.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar XMLBuilderImpl_1 = require(\"./XMLBuilderImpl\");\nexports.XMLBuilderImpl = XMLBuilderImpl_1.XMLBuilderImpl;\nvar XMLBuilderCBImpl_1 = require(\"./XMLBuilderCBImpl\");\nexports.XMLBuilderCBImpl = XMLBuilderCBImpl_1.XMLBuilderCBImpl;\nvar BuilderFunctions_1 = require(\"./BuilderFunctions\");\nexports.builder = BuilderFunctions_1.builder;\nexports.create = BuilderFunctions_1.create;\nexports.fragment = BuilderFunctions_1.fragment;\nexports.convert = BuilderFunctions_1.convert;\nvar BuilderFunctionsCB_1 = require(\"./BuilderFunctionsCB\");\nexports.createCB = BuilderFunctionsCB_1.createCB;\nexports.fragmentCB = BuilderFunctionsCB_1.fragmentCB;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar builder_1 = require(\"./builder\");\nexports.builder = builder_1.builder;\nexports.create = builder_1.create;\nexports.fragment = builder_1.fragment;\nexports.convert = builder_1.convert;\nexports.createCB = builder_1.createCB;\nexports.fragmentCB = builder_1.fragmentCB;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Defines default values for builder options.\n */\nexports.DefaultBuilderOptions = {\n version: \"1.0\",\n encoding: undefined,\n standalone: undefined,\n keepNullNodes: false,\n keepNullAttributes: false,\n ignoreConverters: false,\n convert: {\n att: \"@\",\n ins: \"?\",\n text: \"#\",\n cdata: \"$\",\n comment: \"!\"\n },\n defaultNamespace: {\n ele: undefined,\n att: undefined\n },\n namespaceAlias: {\n html: \"http://www.w3.org/1999/xhtml\",\n xml: \"http://www.w3.org/XML/1998/namespace\",\n xmlns: \"http://www.w3.org/2000/xmlns/\",\n mathml: \"http://www.w3.org/1998/Math/MathML\",\n svg: \"http://www.w3.org/2000/svg\",\n xlink: \"http://www.w3.org/1999/xlink\"\n },\n invalidCharReplacement: undefined,\n parser: undefined\n};\n/**\n * Contains keys of `XMLBuilderOptions`.\n */\nexports.XMLBuilderOptionKeys = new Set(Object.keys(exports.DefaultBuilderOptions));\n/**\n * Defines default values for builder options.\n */\nexports.DefaultXMLBuilderCBOptions = {\n format: \"xml\",\n wellFormed: false,\n prettyPrint: false,\n indent: \" \",\n newline: \"\\n\",\n offset: 0,\n width: 0,\n allowEmptyTags: false,\n spaceBeforeSlash: false,\n keepNullNodes: false,\n keepNullAttributes: false,\n ignoreConverters: false,\n convert: {\n att: \"@\",\n ins: \"?\",\n text: \"#\",\n cdata: \"$\",\n comment: \"!\"\n },\n defaultNamespace: {\n ele: undefined,\n att: undefined\n },\n namespaceAlias: {\n html: \"http://www.w3.org/1999/xhtml\",\n xml: \"http://www.w3.org/XML/1998/namespace\",\n xmlns: \"http://www.w3.org/2000/xmlns/\",\n mathml: \"http://www.w3.org/1998/Math/MathML\",\n svg: \"http://www.w3.org/2000/svg\",\n xlink: \"http://www.w3.org/1999/xlink\"\n }\n};\n//# sourceMappingURL=interfaces.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar dom_1 = require(\"../builder/dom\");\n/**\n * Parses XML nodes.\n */\nvar BaseReader = /** @class */ (function () {\n /**\n * Initializes a new instance of `BaseReader`.\n *\n * @param builderOptions - XML builder options\n */\n function BaseReader(builderOptions) {\n this._builderOptions = builderOptions;\n if (builderOptions.parser) {\n Object.assign(this, builderOptions.parser);\n }\n }\n BaseReader.prototype._docType = function (parent, name, publicId, systemId) {\n return parent.dtd({ name: name, pubID: publicId, sysID: systemId });\n };\n BaseReader.prototype._comment = function (parent, data) {\n return parent.com(data);\n };\n BaseReader.prototype._text = function (parent, data) {\n return parent.txt(data);\n };\n BaseReader.prototype._instruction = function (parent, target, data) {\n return parent.ins(target, data);\n };\n BaseReader.prototype._cdata = function (parent, data) {\n return parent.dat(data);\n };\n BaseReader.prototype._element = function (parent, namespace, name) {\n return (namespace === undefined ? parent.ele(name) : parent.ele(namespace, name));\n };\n BaseReader.prototype._attribute = function (parent, namespace, name, value) {\n return (namespace === undefined ? parent.att(name, value) : parent.att(namespace, name, value));\n };\n BaseReader.prototype._sanitize = function (str) {\n return dom_1.sanitizeInput(str, this._builderOptions.invalidCharReplacement);\n };\n /**\n * Decodes serialized text.\n *\n * @param text - text value to serialize\n */\n BaseReader.prototype._decodeText = function (text) {\n if (text == null)\n return text;\n return text.replace(/&(quot|amp|apos|lt|gt);/g, function (_match, tag) {\n return BaseReader._entityTable[tag];\n }).replace(/&#(?:x([a-fA-F0-9]+)|([0-9]+));/g, function (_match, hexStr, numStr) {\n return String.fromCodePoint(parseInt(hexStr || numStr, hexStr ? 16 : 10));\n });\n };\n /**\n * Decodes serialized attribute value.\n *\n * @param text - attribute value to serialize\n */\n BaseReader.prototype._decodeAttributeValue = function (text) {\n return this._decodeText(text);\n };\n /**\n * Main parser function which parses the given object and returns an XMLBuilder.\n *\n * @param node - node to recieve parsed content\n * @param obj - object to parse\n */\n BaseReader.prototype.parse = function (node, obj) {\n return this._parse(node, obj);\n };\n /**\n * Creates a DocType node.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param name - node name\n * @param publicId - public identifier\n * @param systemId - system identifier\n */\n BaseReader.prototype.docType = function (parent, name, publicId, systemId) {\n return this._docType(parent, name, publicId, systemId);\n };\n /**\n * Creates a comment node.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param parent - parent node\n * @param data - node data\n */\n BaseReader.prototype.comment = function (parent, data) {\n return this._comment(parent, data);\n };\n /**\n * Creates a text node.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param parent - parent node\n * @param data - node data\n */\n BaseReader.prototype.text = function (parent, data) {\n return this._text(parent, data);\n };\n /**\n * Creates a processing instruction node.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param parent - parent node\n * @param target - instruction target\n * @param data - node data\n */\n BaseReader.prototype.instruction = function (parent, target, data) {\n return this._instruction(parent, target, data);\n };\n /**\n * Creates a CData section node.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param parent - parent node\n * @param data - node data\n */\n BaseReader.prototype.cdata = function (parent, data) {\n return this._cdata(parent, data);\n };\n /**\n * Creates an element node.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param parent - parent node\n * @param namespace - node namespace\n * @param name - node name\n */\n BaseReader.prototype.element = function (parent, namespace, name) {\n return this._element(parent, namespace, name);\n };\n /**\n * Creates an attribute or namespace declaration.\n * The node will be skipped if the function returns `undefined`.\n *\n * @param parent - parent node\n * @param namespace - node namespace\n * @param name - node name\n * @param value - node value\n */\n BaseReader.prototype.attribute = function (parent, namespace, name, value) {\n return this._attribute(parent, namespace, name, value);\n };\n /**\n * Sanitizes input strings.\n *\n * @param str - input string\n */\n BaseReader.prototype.sanitize = function (str) {\n return this._sanitize(str);\n };\n BaseReader._entityTable = {\n \"lt\": \"<\",\n \"gt\": \">\",\n \"amp\": \"&\",\n \"quot\": '\"',\n \"apos\": \"'\",\n };\n return BaseReader;\n}());\nexports.BaseReader = BaseReader;\n//# sourceMappingURL=BaseReader.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ObjectReader_1 = require(\"./ObjectReader\");\nvar BaseReader_1 = require(\"./BaseReader\");\n/**\n * Parses XML nodes from a JSON string.\n */\nvar JSONReader = /** @class */ (function (_super) {\n __extends(JSONReader, _super);\n function JSONReader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Parses the given document representation.\n *\n * @param node - node receive parsed XML nodes\n * @param str - JSON string to parse\n */\n JSONReader.prototype._parse = function (node, str) {\n return new ObjectReader_1.ObjectReader(this._builderOptions).parse(node, JSON.parse(str));\n };\n return JSONReader;\n}(BaseReader_1.BaseReader));\nexports.JSONReader = JSONReader;\n//# sourceMappingURL=JSONReader.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar BaseReader_1 = require(\"./BaseReader\");\n/**\n * Parses XML nodes from objects and arrays.\n * ES6 maps and sets are also supoorted.\n */\nvar ObjectReader = /** @class */ (function (_super) {\n __extends(ObjectReader, _super);\n function ObjectReader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Parses the given document representation.\n *\n * @param node - node receive parsed XML nodes\n * @param obj - object to parse\n */\n ObjectReader.prototype._parse = function (node, obj) {\n var _this = this;\n var options = this._builderOptions;\n var lastChild = null;\n if (util_1.isFunction(obj)) {\n // evaluate if function\n lastChild = this.parse(node, obj.apply(this));\n }\n else if (util_1.isArray(obj) || util_1.isSet(obj)) {\n util_1.forEachArray(obj, function (item) { return lastChild = _this.parse(node, item); }, this);\n }\n else if (util_1.isMap(obj) || util_1.isObject(obj)) {\n // expand if object\n util_1.forEachObject(obj, function (key, val) {\n if (util_1.isFunction(val)) {\n // evaluate if function\n val = val.apply(_this);\n }\n if (!options.ignoreConverters && key.indexOf(options.convert.att) === 0) {\n // assign attributes\n if (key === options.convert.att) {\n if (util_1.isArray(val) || util_1.isSet(val)) {\n throw new Error(\"Invalid attribute: \" + val.toString() + \". \" + node._debugInfo());\n }\n else /* if (isMap(val) || isObject(val)) */ {\n util_1.forEachObject(val, function (attrKey, attrVal) {\n lastChild = _this.attribute(node, undefined, _this.sanitize(attrKey), _this._decodeAttributeValue(_this.sanitize(attrVal))) || lastChild;\n });\n }\n }\n else {\n lastChild = _this.attribute(node, undefined, _this.sanitize(key.substr(options.convert.att.length)), _this._decodeAttributeValue(_this.sanitize(val))) || lastChild;\n }\n }\n else if (!options.ignoreConverters && key.indexOf(options.convert.text) === 0) {\n // text node\n if (util_1.isMap(val) || util_1.isObject(val)) {\n // if the key is #text expand child nodes under this node to support mixed content\n lastChild = _this.parse(node, val);\n }\n else {\n lastChild = _this.text(node, _this._decodeText(_this.sanitize(val))) || lastChild;\n }\n }\n else if (!options.ignoreConverters && key.indexOf(options.convert.cdata) === 0) {\n // cdata node\n if (util_1.isArray(val) || util_1.isSet(val)) {\n util_1.forEachArray(val, function (item) { return lastChild = _this.cdata(node, _this.sanitize(item)) || lastChild; }, _this);\n }\n else {\n lastChild = _this.cdata(node, _this.sanitize(val)) || lastChild;\n }\n }\n else if (!options.ignoreConverters && key.indexOf(options.convert.comment) === 0) {\n // comment node\n if (util_1.isArray(val) || util_1.isSet(val)) {\n util_1.forEachArray(val, function (item) { return lastChild = _this.comment(node, _this.sanitize(item)) || lastChild; }, _this);\n }\n else {\n lastChild = _this.comment(node, _this.sanitize(val)) || lastChild;\n }\n }\n else if (!options.ignoreConverters && key.indexOf(options.convert.ins) === 0) {\n // processing instruction\n if (util_1.isString(val)) {\n var insIndex = val.indexOf(' ');\n var insTarget = (insIndex === -1 ? val : val.substr(0, insIndex));\n var insValue = (insIndex === -1 ? '' : val.substr(insIndex + 1));\n lastChild = _this.instruction(node, _this.sanitize(insTarget), _this.sanitize(insValue)) || lastChild;\n }\n else if (util_1.isArray(val) || util_1.isSet(val)) {\n util_1.forEachArray(val, function (item) {\n var insIndex = item.indexOf(' ');\n var insTarget = (insIndex === -1 ? item : item.substr(0, insIndex));\n var insValue = (insIndex === -1 ? '' : item.substr(insIndex + 1));\n lastChild = _this.instruction(node, _this.sanitize(insTarget), _this.sanitize(insValue)) || lastChild;\n }, _this);\n }\n else /* if (isMap(target) || isObject(target)) */ {\n util_1.forEachObject(val, function (insTarget, insValue) { return lastChild = _this.instruction(node, _this.sanitize(insTarget), _this.sanitize(insValue)) || lastChild; }, _this);\n }\n }\n else if ((util_1.isArray(val) || util_1.isSet(val)) && util_1.isEmpty(val)) {\n // skip empty arrays\n }\n else if ((util_1.isMap(val) || util_1.isObject(val)) && util_1.isEmpty(val)) {\n // empty objects produce one node\n lastChild = _this.element(node, undefined, _this.sanitize(key)) || lastChild;\n }\n else if (!options.keepNullNodes && (val == null)) {\n // skip null and undefined nodes\n }\n else if (util_1.isArray(val) || util_1.isSet(val)) {\n // expand list by creating child nodes\n util_1.forEachArray(val, function (item) {\n var childNode = {};\n childNode[key] = item;\n lastChild = _this.parse(node, childNode);\n }, _this);\n }\n else if (util_1.isMap(val) || util_1.isObject(val)) {\n // create a parent node\n var parent = _this.element(node, undefined, _this.sanitize(key));\n if (parent) {\n lastChild = parent;\n // expand child nodes under parent\n _this.parse(parent, val);\n }\n }\n else if (val != null && val !== '') {\n // leaf element node with a single text node\n var parent = _this.element(node, undefined, _this.sanitize(key));\n if (parent) {\n lastChild = parent;\n _this.text(parent, _this._decodeText(_this.sanitize(val)));\n }\n }\n else {\n // leaf element node\n lastChild = _this.element(node, undefined, _this.sanitize(key)) || lastChild;\n }\n }, this);\n }\n else if (!options.keepNullNodes && (obj == null)) {\n // skip null and undefined nodes\n }\n else {\n // text node\n lastChild = this.text(node, this._decodeText(this.sanitize(obj))) || lastChild;\n }\n return lastChild || node;\n };\n return ObjectReader;\n}(BaseReader_1.BaseReader));\nexports.ObjectReader = ObjectReader;\n//# sourceMappingURL=ObjectReader.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar XMLStringLexer_1 = require(\"@oozcitak/dom/lib/parser/XMLStringLexer\");\nvar interfaces_1 = require(\"@oozcitak/dom/lib/parser/interfaces\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"@oozcitak/dom/lib/algorithm\");\nvar BaseReader_1 = require(\"./BaseReader\");\n/**\n * Parses XML nodes from an XML document string.\n */\nvar XMLReader = /** @class */ (function (_super) {\n __extends(XMLReader, _super);\n function XMLReader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Parses the given document representation.\n *\n * @param node - node receive parsed XML nodes\n * @param str - XML document string to parse\n */\n XMLReader.prototype._parse = function (node, str) {\n var e_1, _a, e_2, _b;\n var lexer = new XMLStringLexer_1.XMLStringLexer(str, { skipWhitespaceOnlyText: true });\n var lastChild = node;\n var context = node;\n var token = lexer.nextToken();\n while (token.type !== interfaces_1.TokenType.EOF) {\n switch (token.type) {\n case interfaces_1.TokenType.Declaration:\n var declaration = token;\n var version = this.sanitize(declaration.version);\n if (version !== \"1.0\") {\n throw new Error(\"Invalid xml version: \" + version);\n }\n var builderOptions = {\n version: version\n };\n if (declaration.encoding) {\n builderOptions.encoding = this.sanitize(declaration.encoding);\n }\n if (declaration.standalone) {\n builderOptions.standalone = (this.sanitize(declaration.standalone) === \"yes\");\n }\n context.set(builderOptions);\n break;\n case interfaces_1.TokenType.DocType:\n var doctype = token;\n context = this.docType(context, this.sanitize(doctype.name), this.sanitize(doctype.pubId), this.sanitize(doctype.sysId)) || context;\n break;\n case interfaces_1.TokenType.CDATA:\n var cdata = token;\n context = this.cdata(context, this.sanitize(cdata.data)) || context;\n break;\n case interfaces_1.TokenType.Comment:\n var comment = token;\n context = this.comment(context, this.sanitize(comment.data)) || context;\n break;\n case interfaces_1.TokenType.PI:\n var pi = token;\n context = this.instruction(context, this.sanitize(pi.target), this.sanitize(pi.data)) || context;\n break;\n case interfaces_1.TokenType.Text:\n var text = token;\n context = this.text(context, this._decodeText(this.sanitize(text.data))) || context;\n break;\n case interfaces_1.TokenType.Element:\n var element = token;\n var elementName = this.sanitize(element.name);\n // inherit namespace from parent\n var _c = __read(algorithm_1.namespace_extractQName(elementName), 1), prefix = _c[0];\n var namespace = context.node.lookupNamespaceURI(prefix);\n // override namespace if there is a namespace declaration\n // attribute\n // also lookup namespace declaration attributes\n var nsDeclarations = {};\n try {\n for (var _d = (e_1 = void 0, __values(element.attributes)), _e = _d.next(); !_e.done; _e = _d.next()) {\n var _f = __read(_e.value, 2), attName = _f[0], attValue = _f[1];\n attName = this.sanitize(attName);\n attValue = this.sanitize(attValue);\n if (attName === \"xmlns\") {\n namespace = attValue;\n }\n else {\n var _g = __read(algorithm_1.namespace_extractQName(attName), 2), attPrefix = _g[0], attLocalName = _g[1];\n if (attPrefix === \"xmlns\") {\n if (attLocalName === prefix) {\n namespace = attValue;\n }\n nsDeclarations[attLocalName] = attValue;\n }\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_e && !_e.done && (_a = _d.return)) _a.call(_d);\n }\n finally { if (e_1) throw e_1.error; }\n }\n // create the DOM element node\n var elementNode = (namespace !== null ?\n this.element(context, namespace, elementName) :\n this.element(context, undefined, elementName));\n if (elementNode === undefined)\n break;\n if (context.node === node.node)\n lastChild = elementNode;\n try {\n // assign attributes\n for (var _h = (e_2 = void 0, __values(element.attributes)), _j = _h.next(); !_j.done; _j = _h.next()) {\n var _k = __read(_j.value, 2), attName = _k[0], attValue = _k[1];\n attName = this.sanitize(attName);\n attValue = this.sanitize(attValue);\n var _l = __read(algorithm_1.namespace_extractQName(attName), 2), attPrefix = _l[0], attLocalName = _l[1];\n var attNamespace = null;\n if (attPrefix === \"xmlns\" || (attPrefix === null && attLocalName === \"xmlns\")) {\n // namespace declaration attribute\n attNamespace = infra_1.namespace.XMLNS;\n }\n else {\n attNamespace = elementNode.node.lookupNamespaceURI(attPrefix);\n if (attNamespace !== null && elementNode.node.isDefaultNamespace(attNamespace)) {\n attNamespace = null;\n }\n else if (attNamespace === null && attPrefix !== null) {\n attNamespace = nsDeclarations[attPrefix] || null;\n }\n }\n if (attNamespace !== null)\n this.attribute(elementNode, attNamespace, attName, this._decodeAttributeValue(attValue));\n else\n this.attribute(elementNode, undefined, attName, this._decodeAttributeValue(attValue));\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_j && !_j.done && (_b = _h.return)) _b.call(_h);\n }\n finally { if (e_2) throw e_2.error; }\n }\n if (!element.selfClosing) {\n context = elementNode;\n }\n break;\n case interfaces_1.TokenType.ClosingTag:\n /* istanbul ignore else */\n if (context.node.parentNode) {\n context = context.up();\n }\n break;\n }\n token = lexer.nextToken();\n }\n return lastChild;\n };\n return XMLReader;\n}(BaseReader_1.BaseReader));\nexports.XMLReader = XMLReader;\n//# sourceMappingURL=XMLReader.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ObjectReader_1 = require(\"./ObjectReader\");\nvar BaseReader_1 = require(\"./BaseReader\");\nvar js_yaml_1 = require(\"js-yaml\");\n/**\n * Parses XML nodes from a YAML string.\n */\nvar YAMLReader = /** @class */ (function (_super) {\n __extends(YAMLReader, _super);\n function YAMLReader() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Parses the given document representation.\n *\n * @param node - node receive parsed XML nodes\n * @param str - YAML string to parse\n */\n YAMLReader.prototype._parse = function (node, str) {\n var result = js_yaml_1.safeLoad(str);\n /* istanbul ignore next */\n if (result === undefined) {\n throw new Error(\"Unable to parse YAML document.\");\n }\n return new ObjectReader_1.ObjectReader(this._builderOptions).parse(node, result);\n };\n return YAMLReader;\n}(BaseReader_1.BaseReader));\nexports.YAMLReader = YAMLReader;\n//# sourceMappingURL=YAMLReader.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar XMLReader_1 = require(\"./XMLReader\");\nexports.XMLReader = XMLReader_1.XMLReader;\nvar ObjectReader_1 = require(\"./ObjectReader\");\nexports.ObjectReader = ObjectReader_1.ObjectReader;\nvar JSONReader_1 = require(\"./JSONReader\");\nexports.JSONReader = JSONReader_1.JSONReader;\nvar YAMLReader_1 = require(\"./YAMLReader\");\nexports.YAMLReader = YAMLReader_1.YAMLReader;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * Pre-serializes XML nodes.\n */\nvar BaseCBWriter = /** @class */ (function () {\n /**\n * Initializes a new instance of `BaseCBWriter`.\n *\n * @param builderOptions - XML builder options\n */\n function BaseCBWriter(builderOptions) {\n /**\n * Gets the current depth of the XML tree.\n */\n this.level = 0;\n this._builderOptions = builderOptions;\n this._writerOptions = builderOptions;\n }\n return BaseCBWriter;\n}());\nexports.BaseCBWriter = BaseCBWriter;\n//# sourceMappingURL=BaseCBWriter.js.map","\"use strict\";\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar interfaces_1 = require(\"@oozcitak/dom/lib/dom/interfaces\");\nvar LocalNameSet_1 = require(\"@oozcitak/dom/lib/serializer/LocalNameSet\");\nvar NamespacePrefixMap_1 = require(\"@oozcitak/dom/lib/serializer/NamespacePrefixMap\");\nvar infra_1 = require(\"@oozcitak/infra\");\nvar algorithm_1 = require(\"@oozcitak/dom/lib/algorithm\");\n/**\n * Pre-serializes XML nodes.\n */\nvar BaseWriter = /** @class */ (function () {\n /**\n * Initializes a new instance of `BaseWriter`.\n *\n * @param builderOptions - XML builder options\n */\n function BaseWriter(builderOptions) {\n /**\n * Gets the current depth of the XML tree.\n */\n this.level = 0;\n this._builderOptions = builderOptions;\n }\n /**\n * Used by derived classes to serialize the XML declaration.\n *\n * @param version - a version number string\n * @param encoding - encoding declaration\n * @param standalone - standalone document declaration\n */\n BaseWriter.prototype.declaration = function (version, encoding, standalone) { };\n /**\n * Used by derived classes to serialize a DocType node.\n *\n * @param name - node name\n * @param publicId - public identifier\n * @param systemId - system identifier\n */\n BaseWriter.prototype.docType = function (name, publicId, systemId) { };\n /**\n * Used by derived classes to serialize a comment node.\n *\n * @param data - node data\n */\n BaseWriter.prototype.comment = function (data) { };\n /**\n * Used by derived classes to serialize a text node.\n *\n * @param data - node data\n */\n BaseWriter.prototype.text = function (data) { };\n /**\n * Used by derived classes to serialize a processing instruction node.\n *\n * @param target - instruction target\n * @param data - node data\n */\n BaseWriter.prototype.instruction = function (target, data) { };\n /**\n * Used by derived classes to serialize a CData section node.\n *\n * @param data - node data\n */\n BaseWriter.prototype.cdata = function (data) { };\n /**\n * Used by derived classes to serialize the beginning of the opening tag of an\n * element node.\n *\n * @param name - node name\n */\n BaseWriter.prototype.openTagBegin = function (name) { };\n /**\n * Used by derived classes to serialize the ending of the opening tag of an\n * element node.\n *\n * @param name - node name\n * @param selfClosing - whether the element node is self closing\n * @param voidElement - whether the element node is a HTML void element\n */\n BaseWriter.prototype.openTagEnd = function (name, selfClosing, voidElement) { };\n /**\n * Used by derived classes to serialize the closing tag of an element node.\n *\n * @param name - node name\n */\n BaseWriter.prototype.closeTag = function (name) { };\n /**\n * Used by derived classes to serialize attributes or namespace declarations.\n *\n * @param attributes - attribute array\n */\n BaseWriter.prototype.attributes = function (attributes) {\n var e_1, _a;\n try {\n for (var attributes_1 = __values(attributes), attributes_1_1 = attributes_1.next(); !attributes_1_1.done; attributes_1_1 = attributes_1.next()) {\n var attr = attributes_1_1.value;\n this.attribute(attr[1] === null ? attr[2] : attr[1] + ':' + attr[2], attr[3]);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (attributes_1_1 && !attributes_1_1.done && (_a = attributes_1.return)) _a.call(attributes_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n };\n /**\n * Used by derived classes to serialize an attribute or namespace declaration.\n *\n * @param name - node name\n * @param value - node value\n */\n BaseWriter.prototype.attribute = function (name, value) { };\n /**\n * Used by derived classes to perform any pre-processing steps before starting\n * serializing an element node.\n *\n * @param name - node name\n */\n BaseWriter.prototype.beginElement = function (name) { };\n /**\n * Used by derived classes to perform any post-processing steps after\n * completing serializing an element node.\n *\n * @param name - node name\n */\n BaseWriter.prototype.endElement = function (name) { };\n /**\n * Produces an XML serialization of the given node. The pre-serializer inserts\n * namespace declarations where necessary and produces qualified names for\n * nodes and attributes.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype.serializeNode = function (node, requireWellFormed) {\n var hasNamespaces = (node._nodeDocument !== undefined && node._nodeDocument._hasNamespaces);\n this.level = 0;\n this.currentNode = node;\n if (hasNamespaces) {\n /** From: https://w3c.github.io/DOM-Parsing/#xml-serialization\n *\n * 1. Let namespace be a context namespace with value null.\n * The context namespace tracks the XML serialization algorithm's current\n * default namespace. The context namespace is changed when either an Element\n * Node has a default namespace declaration, or the algorithm generates a\n * default namespace declaration for the Element Node to match its own\n * namespace. The algorithm assumes no namespace (null) to start.\n * 2. Let prefix map be a new namespace prefix map.\n * 3. Add the XML namespace with prefix value \"xml\" to prefix map.\n * 4. Let prefix index be a generated namespace prefix index with value 1.\n * The generated namespace prefix index is used to generate a new unique\n * prefix value when no suitable existing namespace prefix is available to\n * serialize a node's namespaceURI (or the namespaceURI of one of node's\n * attributes). See the generate a prefix algorithm.\n */\n var namespace = null;\n var prefixMap = new NamespacePrefixMap_1.NamespacePrefixMap();\n prefixMap.set(\"xml\", infra_1.namespace.XML);\n var prefixIndex = { value: 1 };\n /**\n * 5. Return the result of running the XML serialization algorithm on node\n * passing the context namespace namespace, namespace prefix map prefix map,\n * generated namespace prefix index reference to prefix index, and the\n * flag require well-formed. If an exception occurs during the execution\n * of the algorithm, then catch that exception and throw an\n * \"InvalidStateError\" DOMException.\n */\n this._serializeNodeNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n }\n else {\n this._serializeNode(node, requireWellFormed);\n }\n };\n /**\n * Produces an XML serialization of a node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeNodeNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n this.currentNode = node;\n switch (node.nodeType) {\n case interfaces_1.NodeType.Element:\n this._serializeElementNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n break;\n case interfaces_1.NodeType.Document:\n this._serializeDocumentNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n break;\n case interfaces_1.NodeType.Comment:\n this._serializeComment(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.Text:\n this._serializeText(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.DocumentFragment:\n this._serializeDocumentFragmentNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);\n break;\n case interfaces_1.NodeType.DocumentType:\n this._serializeDocumentType(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.ProcessingInstruction:\n this._serializeProcessingInstruction(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.CData:\n this._serializeCData(node, requireWellFormed);\n break;\n default:\n throw new Error(\"Unknown node type: \" + node.nodeType);\n }\n };\n /**\n * Produces an XML serialization of a node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeNode = function (node, requireWellFormed) {\n this.currentNode = node;\n switch (node.nodeType) {\n case interfaces_1.NodeType.Element:\n this._serializeElement(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.Document:\n this._serializeDocument(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.Comment:\n this._serializeComment(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.Text:\n this._serializeText(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.DocumentFragment:\n this._serializeDocumentFragment(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.DocumentType:\n this._serializeDocumentType(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.ProcessingInstruction:\n this._serializeProcessingInstruction(node, requireWellFormed);\n break;\n case interfaces_1.NodeType.CData:\n this._serializeCData(node, requireWellFormed);\n break;\n default:\n throw new Error(\"Unknown node type: \" + node.nodeType);\n }\n };\n /**\n * Produces an XML serialization of an element node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeElementNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n var e_2, _a;\n var attributes = [];\n /**\n * From: https://w3c.github.io/DOM-Parsing/#xml-serializing-an-element-node\n *\n * 1. If the require well-formed flag is set (its value is true), and this\n * node's localName attribute contains the character \":\" (U+003A COLON) or\n * does not match the XML Name production, then throw an exception; the\n * serialization of this node would not be a well-formed element.\n */\n if (requireWellFormed && (node.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(node.localName))) {\n throw new Error(\"Node local name contains invalid characters (well-formed required).\");\n }\n /**\n * 2. Let markup be the string \"<\" (U+003C LESS-THAN SIGN).\n * 3. Let qualified name be an empty string.\n * 4. Let skip end tag be a boolean flag with value false.\n * 5. Let ignore namespace definition attribute be a boolean flag with value\n * false.\n * 6. Given prefix map, copy a namespace prefix map and let map be the\n * result.\n * 7. Let local prefixes map be an empty map. The map has unique Node prefix\n * strings as its keys, with corresponding namespaceURI Node values as the\n * map's key values (in this map, the null namespace is represented by the\n * empty string).\n *\n * _Note:_ This map is local to each element. It is used to ensure there\n * are no conflicting prefixes should a new namespace prefix attribute need\n * to be generated. It is also used to enable skipping of duplicate prefix\n * definitions when writing an element's attributes: the map allows the\n * algorithm to distinguish between a prefix in the namespace prefix map\n * that might be locally-defined (to the current Element) and one that is\n * not.\n * 8. Let local default namespace be the result of recording the namespace\n * information for node given map and local prefixes map.\n *\n * _Note:_ The above step will update map with any found namespace prefix\n * definitions, add the found prefix definitions to the local prefixes map\n * and return a local default namespace value defined by a default namespace\n * attribute if one exists. Otherwise it returns null.\n * 9. Let inherited ns be a copy of namespace.\n * 10. Let ns be the value of node's namespaceURI attribute.\n */\n var qualifiedName = '';\n var skipEndTag = false;\n var ignoreNamespaceDefinitionAttribute = false;\n var map = prefixMap.copy();\n var localPrefixesMap = {};\n var localDefaultNamespace = this._recordNamespaceInformation(node, map, localPrefixesMap);\n var inheritedNS = namespace;\n var ns = node.namespaceURI;\n /** 11. If inherited ns is equal to ns, then: */\n if (inheritedNS === ns) {\n /**\n * 11.1. If local default namespace is not null, then set ignore\n * namespace definition attribute to true.\n */\n if (localDefaultNamespace !== null) {\n ignoreNamespaceDefinitionAttribute = true;\n }\n /**\n * 11.2. If ns is the XML namespace, then append to qualified name the\n * concatenation of the string \"xml:\" and the value of node's localName.\n * 11.3. Otherwise, append to qualified name the value of node's\n * localName. The node's prefix if it exists, is dropped.\n */\n if (ns === infra_1.namespace.XML) {\n qualifiedName = 'xml:' + node.localName;\n }\n else {\n qualifiedName = node.localName;\n }\n /** 11.4. Append the value of qualified name to markup. */\n this.beginElement(qualifiedName);\n this.openTagBegin(qualifiedName);\n }\n else {\n /**\n * 12. Otherwise, inherited ns is not equal to ns (the node's own\n * namespace is different from the context namespace of its parent).\n * Run these sub-steps:\n *\n * 12.1. Let prefix be the value of node's prefix attribute.\n * 12.2. Let candidate prefix be the result of retrieving a preferred\n * prefix string prefix from map given namespace ns. The above may return\n * null if no namespace key ns exists in map.\n */\n var prefix = node.prefix;\n /**\n * We don't need to run \"retrieving a preferred prefix string\" algorithm if\n * the element has no prefix and its namespace matches to the default\n * namespace.\n * See: https://github.com/web-platform-tests/wpt/pull/16703\n */\n var candidatePrefix = null;\n if (prefix !== null || ns !== localDefaultNamespace) {\n candidatePrefix = map.get(prefix, ns);\n }\n /**\n * 12.3. If the value of prefix matches \"xmlns\", then run the following\n * steps:\n */\n if (prefix === \"xmlns\") {\n /**\n * 12.3.1. If the require well-formed flag is set, then throw an error.\n * An Element with prefix \"xmlns\" will not legally round-trip in a\n * conforming XML parser.\n */\n if (requireWellFormed) {\n throw new Error(\"An element cannot have the 'xmlns' prefix (well-formed required).\");\n }\n /**\n * 12.3.2. Let candidate prefix be the value of prefix.\n */\n candidatePrefix = prefix;\n }\n /**\n * 12.4.Found a suitable namespace prefix: if candidate prefix is not\n * null (a namespace prefix is defined which maps to ns), then:\n */\n if (candidatePrefix !== null) {\n /**\n * The following may serialize a different prefix than the Element's\n * existing prefix if it already had one. However, the retrieving a\n * preferred prefix string algorithm already tried to match the\n * existing prefix if possible.\n *\n * 12.4.1. Append to qualified name the concatenation of candidate\n * prefix, \":\" (U+003A COLON), and node's localName. There exists on\n * this node or the node's ancestry a namespace prefix definition that\n * defines the node's namespace.\n * 12.4.2. If the local default namespace is not null (there exists a\n * locally-defined default namespace declaration attribute) and its\n * value is not the XML namespace, then let inherited ns get the value\n * of local default namespace unless the local default namespace is the\n * empty string in which case let it get null (the context namespace\n * is changed to the declared default, rather than this node's own\n * namespace).\n *\n * _Note:_ Any default namespace definitions or namespace prefixes that\n * define the XML namespace are omitted when serializing this node's\n * attributes.\n */\n qualifiedName = candidatePrefix + ':' + node.localName;\n if (localDefaultNamespace !== null && localDefaultNamespace !== infra_1.namespace.XML) {\n inheritedNS = localDefaultNamespace || null;\n }\n /**\n * 12.4.3. Append the value of qualified name to markup.\n */\n this.beginElement(qualifiedName);\n this.openTagBegin(qualifiedName);\n /** 12.5. Otherwise, if prefix is not null, then: */\n }\n else if (prefix !== null) {\n /**\n * _Note:_ By this step, there is no namespace or prefix mapping\n * declaration in this node (or any parent node visited by this\n * algorithm) that defines prefix otherwise the step labelled Found\n * a suitable namespace prefix would have been followed. The sub-steps\n * that follow will create a new namespace prefix declaration for prefix\n * and ensure that prefix does not conflict with an existing namespace\n * prefix declaration of the same localName in node's attribute list.\n *\n * 12.5.1. If the local prefixes map contains a key matching prefix,\n * then let prefix be the result of generating a prefix providing as\n * input map, ns, and prefix index.\n */\n if (prefix in localPrefixesMap) {\n prefix = this._generatePrefix(ns, map, prefixIndex);\n }\n /**\n * 12.5.2. Add prefix to map given namespace ns.\n * 12.5.3. Append to qualified name the concatenation of prefix, \":\"\n * (U+003A COLON), and node's localName.\n * 12.5.4. Append the value of qualified name to markup.\n */\n map.set(prefix, ns);\n qualifiedName += prefix + ':' + node.localName;\n this.beginElement(qualifiedName);\n this.openTagBegin(qualifiedName);\n /**\n * 12.5.5. Append the following to markup, in the order listed:\n *\n * _Note:_ The following serializes a namespace prefix declaration for\n * prefix which was just added to the map.\n *\n * 12.5.5.1. \" \" (U+0020 SPACE);\n * 12.5.5.2. The string \"xmlns:\";\n * 12.5.5.3. The value of prefix;\n * 12.5.5.4. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 12.5.5.5. The result of serializing an attribute value given ns and\n * the require well-formed flag as input;\n * 12.5.5.6. \"\"\" (U+0022 QUOTATION MARK).\n */\n attributes.push([null, 'xmlns', prefix,\n this._serializeAttributeValue(ns, requireWellFormed)]);\n /**\n * 12.5.5.7. If local default namespace is not null (there exists a\n * locally-defined default namespace declaration attribute), then\n * let inherited ns get the value of local default namespace unless the\n * local default namespace is the empty string in which case let it get\n * null.\n */\n if (localDefaultNamespace !== null) {\n inheritedNS = localDefaultNamespace || null;\n }\n /**\n * 12.6. Otherwise, if local default namespace is null, or local\n * default namespace is not null and its value is not equal to ns, then:\n */\n }\n else if (localDefaultNamespace === null ||\n (localDefaultNamespace !== null && localDefaultNamespace !== ns)) {\n /**\n * _Note:_ At this point, the namespace for this node still needs to be\n * serialized, but there's no prefix (or candidate prefix) available; the\n * following uses the default namespace declaration to define the\n * namespace--optionally replacing an existing default declaration\n * if present.\n *\n * 12.6.1. Set the ignore namespace definition attribute flag to true.\n * 12.6.2. Append to qualified name the value of node's localName.\n * 12.6.3. Let the value of inherited ns be ns.\n *\n * _Note:_ The new default namespace will be used in the serialization\n * to define this node's namespace and act as the context namespace for\n * its children.\n */\n ignoreNamespaceDefinitionAttribute = true;\n qualifiedName += node.localName;\n inheritedNS = ns;\n /**\n * 12.6.4. Append the value of qualified name to markup.\n */\n this.beginElement(qualifiedName);\n this.openTagBegin(qualifiedName);\n /**\n * 12.6.5. Append the following to markup, in the order listed:\n *\n * _Note:_ The following serializes the new (or replacement) default\n * namespace definition.\n *\n * 12.6.5.1. \" \" (U+0020 SPACE);\n * 12.6.5.2. The string \"xmlns\";\n * 12.6.5.3. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 12.6.5.4. The result of serializing an attribute value given ns\n * and the require well-formed flag as input;\n * 12.6.5.5. \"\"\" (U+0022 QUOTATION MARK).\n */\n attributes.push([null, null, 'xmlns',\n this._serializeAttributeValue(ns, requireWellFormed)]);\n /**\n * 12.7. Otherwise, the node has a local default namespace that matches\n * ns. Append to qualified name the value of node's localName, let the\n * value of inherited ns be ns, and append the value of qualified name\n * to markup.\n */\n }\n else {\n qualifiedName += node.localName;\n inheritedNS = ns;\n this.beginElement(qualifiedName);\n this.openTagBegin(qualifiedName);\n }\n }\n /**\n * 13. Append to markup the result of the XML serialization of node's\n * attributes given map, prefix index, local prefixes map, ignore namespace\n * definition attribute flag, and require well-formed flag.\n */\n attributes.push.apply(attributes, __spread(this._serializeAttributesNS(node, map, prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, requireWellFormed)));\n this.attributes(attributes);\n /**\n * 14. If ns is the HTML namespace, and the node's list of children is\n * empty, and the node's localName matches any one of the following void\n * elements: \"area\", \"base\", \"basefont\", \"bgsound\", \"br\", \"col\", \"embed\",\n * \"frame\", \"hr\", \"img\", \"input\", \"keygen\", \"link\", \"menuitem\", \"meta\",\n * \"param\", \"source\", \"track\", \"wbr\"; then append the following to markup,\n * in the order listed:\n * 14.1. \" \" (U+0020 SPACE);\n * 14.2. \"/\" (U+002F SOLIDUS).\n * and set the skip end tag flag to true.\n * 15. If ns is not the HTML namespace, and the node's list of children is\n * empty, then append \"/\" (U+002F SOLIDUS) to markup and set the skip end\n * tag flag to true.\n * 16. Append \">\" (U+003E GREATER-THAN SIGN) to markup.\n */\n var isHTML = (ns === infra_1.namespace.HTML);\n if (isHTML && node.childNodes.length === 0 &&\n BaseWriter._VoidElementNames.has(node.localName)) {\n this.openTagEnd(qualifiedName, true, true);\n this.endElement(qualifiedName);\n skipEndTag = true;\n }\n else if (!isHTML && node.childNodes.length === 0) {\n this.openTagEnd(qualifiedName, true, false);\n this.endElement(qualifiedName);\n skipEndTag = true;\n }\n else {\n this.openTagEnd(qualifiedName, false, false);\n }\n /**\n * 17. If the value of skip end tag is true, then return the value of markup\n * and skip the remaining steps. The node is a leaf-node.\n */\n if (skipEndTag)\n return;\n /**\n * 18. If ns is the HTML namespace, and the node's localName matches the\n * string \"template\", then this is a template element. Append to markup the\n * result of XML serializing a DocumentFragment node given the template\n * element's template contents (a DocumentFragment), providing inherited\n * ns, map, prefix index, and the require well-formed flag.\n *\n * _Note:_ This allows template content to round-trip, given the rules for\n * parsing XHTML documents.\n *\n * 19. Otherwise, append to markup the result of running the XML\n * serialization algorithm on each of node's children, in tree order,\n * providing inherited ns, map, prefix index, and the require well-formed\n * flag.\n */\n if (isHTML && node.localName === \"template\") {\n // TODO: serialize template contents\n }\n else {\n try {\n for (var _b = __values(node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n this.level++;\n this._serializeNodeNS(childNode, inheritedNS, map, prefixIndex, requireWellFormed);\n this.level--;\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n /**\n * 20. Append the following to markup, in the order listed:\n * 20.1. \"\" (U+003E GREATER-THAN SIGN).\n * 21. Return the value of markup.\n */\n this.closeTag(qualifiedName);\n this.endElement(qualifiedName);\n };\n /**\n * Produces an XML serialization of an element node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeElement = function (node, requireWellFormed) {\n var e_3, _a;\n /**\n * From: https://w3c.github.io/DOM-Parsing/#xml-serializing-an-element-node\n *\n * 1. If the require well-formed flag is set (its value is true), and this\n * node's localName attribute contains the character \":\" (U+003A COLON) or\n * does not match the XML Name production, then throw an exception; the\n * serialization of this node would not be a well-formed element.\n */\n if (requireWellFormed && (node.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(node.localName))) {\n throw new Error(\"Node local name contains invalid characters (well-formed required).\");\n }\n /**\n * 2. Let markup be the string \"<\" (U+003C LESS-THAN SIGN).\n * 3. Let qualified name be an empty string.\n * 4. Let skip end tag be a boolean flag with value false.\n * 5. Let ignore namespace definition attribute be a boolean flag with value\n * false.\n * 6. Given prefix map, copy a namespace prefix map and let map be the\n * result.\n * 7. Let local prefixes map be an empty map. The map has unique Node prefix\n * strings as its keys, with corresponding namespaceURI Node values as the\n * map's key values (in this map, the null namespace is represented by the\n * empty string).\n *\n * _Note:_ This map is local to each element. It is used to ensure there\n * are no conflicting prefixes should a new namespace prefix attribute need\n * to be generated. It is also used to enable skipping of duplicate prefix\n * definitions when writing an element's attributes: the map allows the\n * algorithm to distinguish between a prefix in the namespace prefix map\n * that might be locally-defined (to the current Element) and one that is\n * not.\n * 8. Let local default namespace be the result of recording the namespace\n * information for node given map and local prefixes map.\n *\n * _Note:_ The above step will update map with any found namespace prefix\n * definitions, add the found prefix definitions to the local prefixes map\n * and return a local default namespace value defined by a default namespace\n * attribute if one exists. Otherwise it returns null.\n * 9. Let inherited ns be a copy of namespace.\n * 10. Let ns be the value of node's namespaceURI attribute.\n */\n var skipEndTag = false;\n /** 11. If inherited ns is equal to ns, then: */\n /**\n * 11.1. If local default namespace is not null, then set ignore\n * namespace definition attribute to true.\n */\n /**\n * 11.2. If ns is the XML namespace, then append to qualified name the\n * concatenation of the string \"xml:\" and the value of node's localName.\n * 11.3. Otherwise, append to qualified name the value of node's\n * localName. The node's prefix if it exists, is dropped.\n */\n var qualifiedName = node.localName;\n /** 11.4. Append the value of qualified name to markup. */\n this.beginElement(qualifiedName);\n this.openTagBegin(qualifiedName);\n /**\n * 13. Append to markup the result of the XML serialization of node's\n * attributes given map, prefix index, local prefixes map, ignore namespace\n * definition attribute flag, and require well-formed flag.\n */\n var attributes = this._serializeAttributes(node, requireWellFormed);\n this.attributes(attributes);\n /**\n * 14. If ns is the HTML namespace, and the node's list of children is\n * empty, and the node's localName matches any one of the following void\n * elements: \"area\", \"base\", \"basefont\", \"bgsound\", \"br\", \"col\", \"embed\",\n * \"frame\", \"hr\", \"img\", \"input\", \"keygen\", \"link\", \"menuitem\", \"meta\",\n * \"param\", \"source\", \"track\", \"wbr\"; then append the following to markup,\n * in the order listed:\n * 14.1. \" \" (U+0020 SPACE);\n * 14.2. \"/\" (U+002F SOLIDUS).\n * and set the skip end tag flag to true.\n * 15. If ns is not the HTML namespace, and the node's list of children is\n * empty, then append \"/\" (U+002F SOLIDUS) to markup and set the skip end\n * tag flag to true.\n * 16. Append \">\" (U+003E GREATER-THAN SIGN) to markup.\n */\n if (!node.hasChildNodes()) {\n this.openTagEnd(qualifiedName, true, false);\n this.endElement(qualifiedName);\n skipEndTag = true;\n }\n else {\n this.openTagEnd(qualifiedName, false, false);\n }\n /**\n * 17. If the value of skip end tag is true, then return the value of markup\n * and skip the remaining steps. The node is a leaf-node.\n */\n if (skipEndTag)\n return;\n try {\n /**\n * 18. If ns is the HTML namespace, and the node's localName matches the\n * string \"template\", then this is a template element. Append to markup the\n * result of XML serializing a DocumentFragment node given the template\n * element's template contents (a DocumentFragment), providing inherited\n * ns, map, prefix index, and the require well-formed flag.\n *\n * _Note:_ This allows template content to round-trip, given the rules for\n * parsing XHTML documents.\n *\n * 19. Otherwise, append to markup the result of running the XML\n * serialization algorithm on each of node's children, in tree order,\n * providing inherited ns, map, prefix index, and the require well-formed\n * flag.\n */\n for (var _b = __values(node._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n this.level++;\n this._serializeNode(childNode, requireWellFormed);\n this.level--;\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_3) throw e_3.error; }\n }\n /**\n * 20. Append the following to markup, in the order listed:\n * 20.1. \"\" (U+003E GREATER-THAN SIGN).\n * 21. Return the value of markup.\n */\n this.closeTag(qualifiedName);\n this.endElement(qualifiedName);\n };\n /**\n * Produces an XML serialization of a document node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeDocumentNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n var e_4, _a;\n /**\n * If the require well-formed flag is set (its value is true), and this node\n * has no documentElement (the documentElement attribute's value is null),\n * then throw an exception; the serialization of this node would not be a\n * well-formed document.\n */\n if (requireWellFormed && node.documentElement === null) {\n throw new Error(\"Missing document element (well-formed required).\");\n }\n try {\n /**\n * Otherwise, run the following steps:\n * 1. Let serialized document be an empty string.\n * 2. For each child child of node, in tree order, run the XML\n * serialization algorithm on the child passing along the provided\n * arguments, and append the result to serialized document.\n *\n * _Note:_ This will serialize any number of ProcessingInstruction and\n * Comment nodes both before and after the Document's documentElement node,\n * including at most one DocumentType node. (Text nodes are not allowed as\n * children of the Document.)\n *\n * 3. Return the value of serialized document.\n */\n for (var _b = __values(node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n this._serializeNodeNS(childNode, namespace, prefixMap, prefixIndex, requireWellFormed);\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_4) throw e_4.error; }\n }\n };\n /**\n * Produces an XML serialization of a document node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeDocument = function (node, requireWellFormed) {\n var e_5, _a;\n /**\n * If the require well-formed flag is set (its value is true), and this node\n * has no documentElement (the documentElement attribute's value is null),\n * then throw an exception; the serialization of this node would not be a\n * well-formed document.\n */\n if (requireWellFormed && node.documentElement === null) {\n throw new Error(\"Missing document element (well-formed required).\");\n }\n try {\n /**\n * Otherwise, run the following steps:\n * 1. Let serialized document be an empty string.\n * 2. For each child child of node, in tree order, run the XML\n * serialization algorithm on the child passing along the provided\n * arguments, and append the result to serialized document.\n *\n * _Note:_ This will serialize any number of ProcessingInstruction and\n * Comment nodes both before and after the Document's documentElement node,\n * including at most one DocumentType node. (Text nodes are not allowed as\n * children of the Document.)\n *\n * 3. Return the value of serialized document.\n */\n for (var _b = __values(node._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n this._serializeNode(childNode, requireWellFormed);\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_5) throw e_5.error; }\n }\n };\n /**\n * Produces an XML serialization of a comment node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeComment = function (node, requireWellFormed) {\n /**\n * If the require well-formed flag is set (its value is true), and node's\n * data contains characters that are not matched by the XML Char production\n * or contains \"--\" (two adjacent U+002D HYPHEN-MINUS characters) or that\n * ends with a \"-\" (U+002D HYPHEN-MINUS) character, then throw an exception;\n * the serialization of this node's data would not be well-formed.\n */\n if (requireWellFormed && (!algorithm_1.xml_isLegalChar(node.data) ||\n node.data.indexOf(\"--\") !== -1 || node.data.endsWith(\"-\"))) {\n throw new Error(\"Comment data contains invalid characters (well-formed required).\");\n }\n /**\n * Otherwise, return the concatenation of \"\".\n */\n this.comment(node.data);\n };\n /**\n * Produces an XML serialization of a text node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n * @param level - current depth of the XML tree\n */\n BaseWriter.prototype._serializeText = function (node, requireWellFormed) {\n /**\n * 1. If the require well-formed flag is set (its value is true), and\n * node's data contains characters that are not matched by the XML Char\n * production, then throw an exception; the serialization of this node's\n * data would not be well-formed.\n */\n if (requireWellFormed && !algorithm_1.xml_isLegalChar(node.data)) {\n throw new Error(\"Text data contains invalid characters (well-formed required).\");\n }\n /**\n * 2. Let markup be the value of node's data.\n * 3. Replace any occurrences of \"&\" in markup by \"&\".\n * 4. Replace any occurrences of \"<\" in markup by \"<\".\n * 5. Replace any occurrences of \">\" in markup by \">\".\n * 6. Return the value of markup.\n */\n var markup = node.data.replace(/(?!&([^&;]*);)&/g, '&')\n .replace(//g, '>');\n this.text(markup);\n };\n /**\n * Produces an XML serialization of a document fragment node.\n *\n * @param node - node to serialize\n * @param namespace - context namespace\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeDocumentFragmentNS = function (node, namespace, prefixMap, prefixIndex, requireWellFormed) {\n var e_6, _a;\n try {\n /**\n * 1. Let markup the empty string.\n * 2. For each child child of node, in tree order, run the XML serialization\n * algorithm on the child given namespace, prefix map, a reference to prefix\n * index, and flag require well-formed. Concatenate the result to markup.\n * 3. Return the value of markup.\n */\n for (var _b = __values(node.childNodes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n this._serializeNodeNS(childNode, namespace, prefixMap, prefixIndex, requireWellFormed);\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_6) throw e_6.error; }\n }\n };\n /**\n * Produces an XML serialization of a document fragment node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeDocumentFragment = function (node, requireWellFormed) {\n var e_7, _a;\n try {\n /**\n * 1. Let markup the empty string.\n * 2. For each child child of node, in tree order, run the XML serialization\n * algorithm on the child given namespace, prefix map, a reference to prefix\n * index, and flag require well-formed. Concatenate the result to markup.\n * 3. Return the value of markup.\n */\n for (var _b = __values(node._children), _c = _b.next(); !_c.done; _c = _b.next()) {\n var childNode = _c.value;\n this._serializeNode(childNode, requireWellFormed);\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_7) throw e_7.error; }\n }\n };\n /**\n * Produces an XML serialization of a document type node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeDocumentType = function (node, requireWellFormed) {\n /**\n * 1. If the require well-formed flag is true and the node's publicId\n * attribute contains characters that are not matched by the XML PubidChar\n * production, then throw an exception; the serialization of this node\n * would not be a well-formed document type declaration.\n */\n if (requireWellFormed && !algorithm_1.xml_isPubidChar(node.publicId)) {\n throw new Error(\"DocType public identifier does not match PubidChar construct (well-formed required).\");\n }\n /**\n * 2. If the require well-formed flag is true and the node's systemId\n * attribute contains characters that are not matched by the XML Char\n * production or that contains both a \"\"\" (U+0022 QUOTATION MARK) and a\n * \"'\" (U+0027 APOSTROPHE), then throw an exception; the serialization\n * of this node would not be a well-formed document type declaration.\n */\n if (requireWellFormed &&\n (!algorithm_1.xml_isLegalChar(node.systemId) ||\n (node.systemId.indexOf('\"') !== -1 && node.systemId.indexOf(\"'\") !== -1))) {\n throw new Error(\"DocType system identifier contains invalid characters (well-formed required).\");\n }\n /**\n * 3. Let markup be an empty string.\n * 4. Append the string \"\" (U+003E GREATER-THAN SIGN) to markup.\n * 11. Return the value of markup.\n */\n this.docType(node.name, node.publicId, node.systemId);\n };\n /**\n * Produces an XML serialization of a processing instruction node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeProcessingInstruction = function (node, requireWellFormed) {\n /**\n * 1. If the require well-formed flag is set (its value is true), and node's\n * target contains a \":\" (U+003A COLON) character or is an ASCII\n * case-insensitive match for the string \"xml\", then throw an exception;\n * the serialization of this node's target would not be well-formed.\n */\n if (requireWellFormed && (node.target.indexOf(\":\") !== -1 || (/^xml$/i).test(node.target))) {\n throw new Error(\"Processing instruction target contains invalid characters (well-formed required).\");\n }\n /**\n * 2. If the require well-formed flag is set (its value is true), and node's\n * data contains characters that are not matched by the XML Char production\n * or contains the string \"?>\" (U+003F QUESTION MARK,\n * U+003E GREATER-THAN SIGN), then throw an exception; the serialization of\n * this node's data would not be well-formed.\n */\n if (requireWellFormed && (!algorithm_1.xml_isLegalChar(node.data) ||\n node.data.indexOf(\"?>\") !== -1)) {\n throw new Error(\"Processing instruction data contains invalid characters (well-formed required).\");\n }\n /**\n * 3. Let markup be the concatenation of the following, in the order listed:\n * 3.1. \"\" (U+003F QUESTION MARK, U+003E GREATER-THAN SIGN).\n * 4. Return the value of markup.\n */\n this.instruction(node.target, node.data);\n };\n /**\n * Produces an XML serialization of a CDATA node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeCData = function (node, requireWellFormed) {\n if (requireWellFormed && (node.data.indexOf(\"]]>\") !== -1)) {\n throw new Error(\"CDATA contains invalid characters (well-formed required).\");\n }\n this.cdata(node.data);\n };\n /**\n * Produces an XML serialization of the attributes of an element node.\n *\n * @param node - node to serialize\n * @param map - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n * @param localPrefixesMap - local prefixes map\n * @param ignoreNamespaceDefinitionAttribute - whether to ignore namespace\n * attributes\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeAttributesNS = function (node, map, prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, requireWellFormed) {\n var e_8, _a;\n /**\n * 1. Let result be the empty string.\n * 2. Let localname set be a new empty namespace localname set. This\n * localname set will contain tuples of unique attribute namespaceURI and\n * localName pairs, and is populated as each attr is processed. This set is\n * used to [optionally] enforce the well-formed constraint that an element\n * cannot have two attributes with the same namespaceURI and localName.\n * This can occur when two otherwise identical attributes on the same\n * element differ only by their prefix values.\n */\n var result = [];\n var localNameSet = requireWellFormed ? new LocalNameSet_1.LocalNameSet() : undefined;\n try {\n /**\n * 3. Loop: For each attribute attr in element's attributes, in the order\n * they are specified in the element's attribute list:\n */\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n // Optimize common case\n if (!requireWellFormed && !ignoreNamespaceDefinitionAttribute && attr.namespaceURI === null) {\n result.push([null, null, attr.localName,\n this._serializeAttributeValue(attr.value, requireWellFormed)]);\n continue;\n }\n /**\n * 3.1. If the require well-formed flag is set (its value is true), and the\n * localname set contains a tuple whose values match those of a new tuple\n * consisting of attr's namespaceURI attribute and localName attribute,\n * then throw an exception; the serialization of this attr would fail to\n * produce a well-formed element serialization.\n */\n if (requireWellFormed && localNameSet && localNameSet.has(attr.namespaceURI, attr.localName)) {\n throw new Error(\"Element contains duplicate attributes (well-formed required).\");\n }\n /**\n * 3.2. Create a new tuple consisting of attr's namespaceURI attribute and\n * localName attribute, and add it to the localname set.\n * 3.3. Let attribute namespace be the value of attr's namespaceURI value.\n * 3.4. Let candidate prefix be null.\n */\n if (requireWellFormed && localNameSet)\n localNameSet.set(attr.namespaceURI, attr.localName);\n var attributeNamespace = attr.namespaceURI;\n var candidatePrefix = null;\n /** 3.5. If attribute namespace is not null, then run these sub-steps: */\n if (attributeNamespace !== null) {\n /**\n * 3.5.1. Let candidate prefix be the result of retrieving a preferred\n * prefix string from map given namespace attribute namespace with\n * preferred prefix being attr's prefix value.\n */\n candidatePrefix = map.get(attr.prefix, attributeNamespace);\n /**\n * 3.5.2. If the value of attribute namespace is the XMLNS namespace,\n * then run these steps:\n */\n if (attributeNamespace === infra_1.namespace.XMLNS) {\n /**\n * 3.5.2.1. If any of the following are true, then stop running these\n * steps and goto Loop to visit the next attribute:\n * - the attr's value is the XML namespace;\n * _Note:_ The XML namespace cannot be redeclared and survive\n * round-tripping (unless it defines the prefix \"xml\"). To avoid this\n * problem, this algorithm always prefixes elements in the XML\n * namespace with \"xml\" and drops any related definitions as seen\n * in the above condition.\n * - the attr's prefix is null and the ignore namespace definition\n * attribute flag is true (the Element's default namespace attribute\n * should be skipped);\n * - the attr's prefix is not null and either\n * * the attr's localName is not a key contained in the local\n * prefixes map, or\n * * the attr's localName is present in the local prefixes map but\n * the value of the key does not match attr's value\n * and furthermore that the attr's localName (as the prefix to find)\n * is found in the namespace prefix map given the namespace consisting\n * of the attr's value (the current namespace prefix definition was\n * exactly defined previously--on an ancestor element not the current\n * element whose attributes are being processed).\n */\n if (attr.value === infra_1.namespace.XML ||\n (attr.prefix === null && ignoreNamespaceDefinitionAttribute) ||\n (attr.prefix !== null && (!(attr.localName in localPrefixesMap) ||\n localPrefixesMap[attr.localName] !== attr.value) &&\n map.has(attr.localName, attr.value)))\n continue;\n /**\n * 3.5.2.2. If the require well-formed flag is set (its value is true),\n * and the value of attr's value attribute matches the XMLNS\n * namespace, then throw an exception; the serialization of this\n * attribute would produce invalid XML because the XMLNS namespace\n * is reserved and cannot be applied as an element's namespace via\n * XML parsing.\n *\n * _Note:_ DOM APIs do allow creation of elements in the XMLNS\n * namespace but with strict qualifications.\n */\n if (requireWellFormed && attr.value === infra_1.namespace.XMLNS) {\n throw new Error(\"XMLNS namespace is reserved (well-formed required).\");\n }\n /**\n * 3.5.2.3. If the require well-formed flag is set (its value is true),\n * and the value of attr's value attribute is the empty string, then\n * throw an exception; namespace prefix declarations cannot be used\n * to undeclare a namespace (use a default namespace declaration\n * instead).\n */\n if (requireWellFormed && attr.value === '') {\n throw new Error(\"Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).\");\n }\n /**\n * 3.5.2.4. the attr's prefix matches the string \"xmlns\", then let\n * candidate prefix be the string \"xmlns\".\n */\n if (attr.prefix === 'xmlns')\n candidatePrefix = 'xmlns';\n /**\n * 3.5.3. Otherwise, the attribute namespace is not the XMLNS namespace.\n * Run these steps:\n *\n * _Note:_ The (candidatePrefix === null) check is not in the spec.\n * We deviate from the spec here. Otherwise a prefix is generated for\n * all attributes with namespaces.\n */\n }\n else if (candidatePrefix === null) {\n if (attr.prefix !== null &&\n (!map.hasPrefix(attr.prefix) ||\n map.has(attr.prefix, attributeNamespace))) {\n /**\n * Check if we can use the attribute's own prefix.\n * We deviate from the spec here.\n * TODO: This is not an efficient way of searching for prefixes.\n * Follow developments to the spec.\n */\n candidatePrefix = attr.prefix;\n }\n else {\n /**\n * 3.5.3.1. Let candidate prefix be the result of generating a prefix\n * providing map, attribute namespace, and prefix index as input.\n */\n candidatePrefix = this._generatePrefix(attributeNamespace, map, prefixIndex);\n }\n /**\n * 3.5.3.2. Append the following to result, in the order listed:\n * 3.5.3.2.1. \" \" (U+0020 SPACE);\n * 3.5.3.2.2. The string \"xmlns:\";\n * 3.5.3.2.3. The value of candidate prefix;\n * 3.5.3.2.4. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 3.5.3.2.5. The result of serializing an attribute value given\n * attribute namespace and the require well-formed flag as input;\n * 3.5.3.2.6. \"\"\" (U+0022 QUOTATION MARK).\n */\n result.push([null, \"xmlns\", candidatePrefix,\n this._serializeAttributeValue(attributeNamespace, requireWellFormed)]);\n }\n }\n /**\n * 3.6. Append a \" \" (U+0020 SPACE) to result.\n * 3.7. If candidate prefix is not null, then append to result the\n * concatenation of candidate prefix with \":\" (U+003A COLON).\n */\n var attrName = '';\n if (candidatePrefix !== null) {\n attrName = candidatePrefix;\n }\n /**\n * 3.8. If the require well-formed flag is set (its value is true), and\n * this attr's localName attribute contains the character\n * \":\" (U+003A COLON) or does not match the XML Name production or\n * equals \"xmlns\" and attribute namespace is null, then throw an\n * exception; the serialization of this attr would not be a\n * well-formed attribute.\n */\n if (requireWellFormed && (attr.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(attr.localName) ||\n (attr.localName === \"xmlns\" && attributeNamespace === null))) {\n throw new Error(\"Attribute local name contains invalid characters (well-formed required).\");\n }\n /**\n * 3.9. Append the following strings to result, in the order listed:\n * 3.9.1. The value of attr's localName;\n * 3.9.2. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 3.9.3. The result of serializing an attribute value given attr's value\n * attribute and the require well-formed flag as input;\n * 3.9.4. \"\"\" (U+0022 QUOTATION MARK).\n */\n result.push([attributeNamespace, candidatePrefix, attr.localName,\n this._serializeAttributeValue(attr.value, requireWellFormed)]);\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_8) throw e_8.error; }\n }\n /**\n * 4. Return the value of result.\n */\n return result;\n };\n /**\n * Produces an XML serialization of the attributes of an element node.\n *\n * @param node - node to serialize\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeAttributes = function (node, requireWellFormed) {\n var e_9, _a;\n /**\n * 1. Let result be the empty string.\n * 2. Let localname set be a new empty namespace localname set. This\n * localname set will contain tuples of unique attribute namespaceURI and\n * localName pairs, and is populated as each attr is processed. This set is\n * used to [optionally] enforce the well-formed constraint that an element\n * cannot have two attributes with the same namespaceURI and localName.\n * This can occur when two otherwise identical attributes on the same\n * element differ only by their prefix values.\n */\n var result = [];\n var localNameSet = requireWellFormed ? {} : undefined;\n try {\n /**\n * 3. Loop: For each attribute attr in element's attributes, in the order\n * they are specified in the element's attribute list:\n */\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n // Optimize common case\n if (!requireWellFormed) {\n result.push([null, null, attr.localName,\n this._serializeAttributeValue(attr.value, requireWellFormed)]);\n continue;\n }\n /**\n * 3.1. If the require well-formed flag is set (its value is true), and the\n * localname set contains a tuple whose values match those of a new tuple\n * consisting of attr's namespaceURI attribute and localName attribute,\n * then throw an exception; the serialization of this attr would fail to\n * produce a well-formed element serialization.\n */\n if (requireWellFormed && localNameSet && (attr.localName in localNameSet)) {\n throw new Error(\"Element contains duplicate attributes (well-formed required).\");\n }\n /**\n * 3.2. Create a new tuple consisting of attr's namespaceURI attribute and\n * localName attribute, and add it to the localname set.\n * 3.3. Let attribute namespace be the value of attr's namespaceURI value.\n * 3.4. Let candidate prefix be null.\n */\n /* istanbul ignore else */\n if (requireWellFormed && localNameSet)\n localNameSet[attr.localName] = true;\n /** 3.5. If attribute namespace is not null, then run these sub-steps: */\n /**\n * 3.6. Append a \" \" (U+0020 SPACE) to result.\n * 3.7. If candidate prefix is not null, then append to result the\n * concatenation of candidate prefix with \":\" (U+003A COLON).\n */\n /**\n * 3.8. If the require well-formed flag is set (its value is true), and\n * this attr's localName attribute contains the character\n * \":\" (U+003A COLON) or does not match the XML Name production or\n * equals \"xmlns\" and attribute namespace is null, then throw an\n * exception; the serialization of this attr would not be a\n * well-formed attribute.\n */\n if (requireWellFormed && (attr.localName.indexOf(\":\") !== -1 ||\n !algorithm_1.xml_isName(attr.localName))) {\n throw new Error(\"Attribute local name contains invalid characters (well-formed required).\");\n }\n /**\n * 3.9. Append the following strings to result, in the order listed:\n * 3.9.1. The value of attr's localName;\n * 3.9.2. \"=\"\" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);\n * 3.9.3. The result of serializing an attribute value given attr's value\n * attribute and the require well-formed flag as input;\n * 3.9.4. \"\"\" (U+0022 QUOTATION MARK).\n */\n result.push([null, null, attr.localName,\n this._serializeAttributeValue(attr.value, requireWellFormed)]);\n }\n }\n catch (e_9_1) { e_9 = { error: e_9_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_9) throw e_9.error; }\n }\n /**\n * 4. Return the value of result.\n */\n return result;\n };\n /**\n * Records namespace information for the given element and returns the\n * default namespace attribute value.\n *\n * @param node - element node to process\n * @param map - namespace prefix map\n * @param localPrefixesMap - local prefixes map\n */\n BaseWriter.prototype._recordNamespaceInformation = function (node, map, localPrefixesMap) {\n var e_10, _a;\n /**\n * 1. Let default namespace attr value be null.\n */\n var defaultNamespaceAttrValue = null;\n try {\n /**\n * 2. Main: For each attribute attr in element's attributes, in the order\n * they are specified in the element's attribute list:\n */\n for (var _b = __values(node.attributes), _c = _b.next(); !_c.done; _c = _b.next()) {\n var attr = _c.value;\n /**\n * _Note:_ The following conditional steps find namespace prefixes. Only\n * attributes in the XMLNS namespace are considered (e.g., attributes made\n * to look like namespace declarations via\n * setAttribute(\"xmlns:pretend-prefix\", \"pretend-namespace\") are not\n * included).\n */\n /** 2.1. Let attribute namespace be the value of attr's namespaceURI value. */\n var attributeNamespace = attr.namespaceURI;\n /** 2.2. Let attribute prefix be the value of attr's prefix. */\n var attributePrefix = attr.prefix;\n /** 2.3. If the attribute namespace is the XMLNS namespace, then: */\n if (attributeNamespace === infra_1.namespace.XMLNS) {\n /**\n * 2.3.1. If attribute prefix is null, then attr is a default namespace\n * declaration. Set the default namespace attr value to attr's value and\n * stop running these steps, returning to Main to visit the next\n * attribute.\n */\n if (attributePrefix === null) {\n defaultNamespaceAttrValue = attr.value;\n continue;\n /**\n * 2.3.2. Otherwise, the attribute prefix is not null and attr is a\n * namespace prefix definition. Run the following steps:\n */\n }\n else {\n /** 2.3.2.1. Let prefix definition be the value of attr's localName. */\n var prefixDefinition = attr.localName;\n /** 2.3.2.2. Let namespace definition be the value of attr's value. */\n var namespaceDefinition = attr.value;\n /**\n * 2.3.2.3. If namespace definition is the XML namespace, then stop\n * running these steps, and return to Main to visit the next\n * attribute.\n *\n * _Note:_ XML namespace definitions in prefixes are completely\n * ignored (in order to avoid unnecessary work when there might be\n * prefix conflicts). XML namespaced elements are always handled\n * uniformly by prefixing (and overriding if necessary) the element's\n * localname with the reserved \"xml\" prefix.\n */\n if (namespaceDefinition === infra_1.namespace.XML) {\n continue;\n }\n /**\n * 2.3.2.4. If namespace definition is the empty string (the\n * declarative form of having no namespace), then let namespace\n * definition be null instead.\n */\n if (namespaceDefinition === '') {\n namespaceDefinition = null;\n }\n /**\n * 2.3.2.5. If prefix definition is found in map given the namespace\n * namespace definition, then stop running these steps, and return to\n * Main to visit the next attribute.\n *\n * _Note:_ This step avoids adding duplicate prefix definitions for\n * the same namespace in the map. This has the side-effect of avoiding\n * later serialization of duplicate namespace prefix declarations in\n * any descendant nodes.\n */\n if (map.has(prefixDefinition, namespaceDefinition)) {\n continue;\n }\n /**\n * 2.3.2.6. Add the prefix prefix definition to map given namespace\n * namespace definition.\n */\n map.set(prefixDefinition, namespaceDefinition);\n /**\n * 2.3.2.7. Add the value of prefix definition as a new key to the\n * local prefixes map, with the namespace definition as the key's\n * value replacing the value of null with the empty string if\n * applicable.\n */\n localPrefixesMap[prefixDefinition] = namespaceDefinition || '';\n }\n }\n }\n }\n catch (e_10_1) { e_10 = { error: e_10_1 }; }\n finally {\n try {\n if (_c && !_c.done && (_a = _b.return)) _a.call(_b);\n }\n finally { if (e_10) throw e_10.error; }\n }\n /**\n * 3. Return the value of default namespace attr value.\n *\n * _Note:_ The empty string is a legitimate return value and is not\n * converted to null.\n */\n return defaultNamespaceAttrValue;\n };\n /**\n * Generates a new prefix for the given namespace.\n *\n * @param newNamespace - a namespace to generate prefix for\n * @param prefixMap - namespace prefix map\n * @param prefixIndex - generated namespace prefix index\n */\n BaseWriter.prototype._generatePrefix = function (newNamespace, prefixMap, prefixIndex) {\n /**\n * 1. Let generated prefix be the concatenation of the string \"ns\" and the\n * current numerical value of prefix index.\n * 2. Let the value of prefix index be incremented by one.\n * 3. Add to map the generated prefix given the new namespace namespace.\n * 4. Return the value of generated prefix.\n */\n var generatedPrefix = \"ns\" + prefixIndex.value.toString();\n prefixIndex.value++;\n prefixMap.set(generatedPrefix, newNamespace);\n return generatedPrefix;\n };\n /**\n * Produces an XML serialization of an attribute value.\n *\n * @param value - attribute value\n * @param requireWellFormed - whether to check conformance\n */\n BaseWriter.prototype._serializeAttributeValue = function (value, requireWellFormed) {\n /**\n * From: https://w3c.github.io/DOM-Parsing/#dfn-serializing-an-attribute-value\n *\n * 1. If the require well-formed flag is set (its value is true), and\n * attribute value contains characters that are not matched by the XML Char\n * production, then throw an exception; the serialization of this attribute\n * value would fail to produce a well-formed element serialization.\n */\n if (requireWellFormed && value !== null && !algorithm_1.xml_isLegalChar(value)) {\n throw new Error(\"Invalid characters in attribute value.\");\n }\n /**\n * 2. If attribute value is null, then return the empty string.\n */\n if (value === null)\n return \"\";\n /**\n * 3. Otherwise, attribute value is a string. Return the value of attribute\n * value, first replacing any occurrences of the following:\n * - \"&\" with \"&\"\n * - \"\"\" with \""\"\n * - \"<\" with \"<\"\n * - \">\" with \">\"\n * NOTE\n * This matches behavior present in browsers, and goes above and beyond the\n * grammar requirement in the XML specification's AttValue production by\n * also replacing \">\" characters.\n */\n return value.replace(/(?!&([^&;]*);)&/g, '&')\n .replace(//g, '>')\n .replace(/\"/g, '"');\n };\n BaseWriter._VoidElementNames = new Set(['area', 'base', 'basefont',\n 'bgsound', 'br', 'col', 'embed', 'frame', 'hr', 'img', 'input', 'keygen',\n 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr']);\n return BaseWriter;\n}());\nexports.BaseWriter = BaseWriter;\n//# sourceMappingURL=BaseWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BaseCBWriter_1 = require(\"./BaseCBWriter\");\n/**\n * Serializes XML nodes.\n */\nvar JSONCBWriter = /** @class */ (function (_super) {\n __extends(JSONCBWriter, _super);\n /**\n * Initializes a new instance of `JSONCBWriter`.\n *\n * @param builderOptions - XML builder options\n */\n function JSONCBWriter(builderOptions) {\n var _this = _super.call(this, builderOptions) || this;\n _this._hasChildren = [];\n _this._additionalLevel = 0;\n return _this;\n }\n /** @inheritdoc */\n JSONCBWriter.prototype.frontMatter = function () {\n return \"\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.declaration = function (version, encoding, standalone) {\n return \"\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.docType = function (name, publicId, systemId) {\n return \"\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.comment = function (data) {\n // { \"!\": \"hello\" }\n return this._comma() + this._beginLine() + \"{\" + this._sep() +\n this._key(this._builderOptions.convert.comment) + this._sep() +\n this._val(data) + this._sep() + \"}\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.text = function (data) {\n // { \"#\": \"hello\" }\n return this._comma() + this._beginLine() + \"{\" + this._sep() +\n this._key(this._builderOptions.convert.text) + this._sep() +\n this._val(data) + this._sep() + \"}\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.instruction = function (target, data) {\n // { \"?\": \"target hello\" }\n return this._comma() + this._beginLine() + \"{\" + this._sep() +\n this._key(this._builderOptions.convert.ins) + this._sep() +\n this._val(data ? target + \" \" + data : target) + this._sep() + \"}\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.cdata = function (data) {\n // { \"$\": \"hello\" }\n return this._comma() + this._beginLine() + \"{\" + this._sep() +\n this._key(this._builderOptions.convert.cdata) + this._sep() +\n this._val(data) + this._sep() + \"}\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.attribute = function (name, value) {\n // { \"@name\": \"val\" }\n return this._comma() + this._beginLine(1) + \"{\" + this._sep() +\n this._key(this._builderOptions.convert.att + name) + this._sep() +\n this._val(value) + this._sep() + \"}\";\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.openTagBegin = function (name) {\n // { \"node\": { \"#\": [\n var str = this._comma() + this._beginLine() + \"{\" + this._sep() + this._key(name) + this._sep() + \"{\";\n this._additionalLevel++;\n this.hasData = true;\n str += this._beginLine() + this._key(this._builderOptions.convert.text) + this._sep() + \"[\";\n this._hasChildren.push(false);\n return str;\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.openTagEnd = function (name, selfClosing, voidElement) {\n if (selfClosing) {\n var str = this._sep() + \"]\";\n this._additionalLevel--;\n str += this._beginLine() + \"}\" + this._sep() + \"}\";\n return str;\n }\n else {\n return \"\";\n }\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.closeTag = function (name) {\n // ] } }\n var str = this._beginLine() + \"]\";\n this._additionalLevel--;\n str += this._beginLine() + \"}\" + this._sep() + \"}\";\n return str;\n };\n /** @inheritdoc */\n JSONCBWriter.prototype.beginElement = function (name) { };\n /** @inheritdoc */\n JSONCBWriter.prototype.endElement = function (name) { this._hasChildren.pop(); };\n /**\n * Produces characters to be prepended to a line of string in pretty-print\n * mode.\n */\n JSONCBWriter.prototype._beginLine = function (additionalOffset) {\n if (additionalOffset === void 0) { additionalOffset = 0; }\n if (this._writerOptions.prettyPrint) {\n return (this.hasData ? this._writerOptions.newline : \"\") +\n this._indent(this._writerOptions.offset + this.level + additionalOffset);\n }\n else {\n return \"\";\n }\n };\n /**\n * Produces an indentation string.\n *\n * @param level - depth of the tree\n */\n JSONCBWriter.prototype._indent = function (level) {\n if (level + this._additionalLevel <= 0) {\n return \"\";\n }\n else {\n return this._writerOptions.indent.repeat(level + this._additionalLevel);\n }\n };\n /**\n * Produces a comma before a child node if it has previous siblings.\n */\n JSONCBWriter.prototype._comma = function () {\n var str = (this._hasChildren[this._hasChildren.length - 1] ? \",\" : \"\");\n if (this._hasChildren.length > 0) {\n this._hasChildren[this._hasChildren.length - 1] = true;\n }\n return str;\n };\n /**\n * Produces a separator string.\n */\n JSONCBWriter.prototype._sep = function () {\n return (this._writerOptions.prettyPrint ? \" \" : \"\");\n };\n /**\n * Produces a JSON key string delimited with double quotes.\n */\n JSONCBWriter.prototype._key = function (key) {\n return \"\\\"\" + key + \"\\\":\";\n };\n /**\n * Produces a JSON value string delimited with double quotes.\n */\n JSONCBWriter.prototype._val = function (val) {\n return JSON.stringify(val);\n };\n return JSONCBWriter;\n}(BaseCBWriter_1.BaseCBWriter));\nexports.JSONCBWriter = JSONCBWriter;\n//# sourceMappingURL=JSONCBWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ObjectWriter_1 = require(\"./ObjectWriter\");\nvar util_1 = require(\"@oozcitak/util\");\nvar BaseWriter_1 = require(\"./BaseWriter\");\n/**\n * Serializes XML nodes into a JSON string.\n */\nvar JSONWriter = /** @class */ (function (_super) {\n __extends(JSONWriter, _super);\n /**\n * Initializes a new instance of `JSONWriter`.\n *\n * @param builderOptions - XML builder options\n * @param writerOptions - serialization options\n */\n function JSONWriter(builderOptions, writerOptions) {\n var _this = _super.call(this, builderOptions) || this;\n // provide default options\n _this._writerOptions = util_1.applyDefaults(writerOptions, {\n wellFormed: false,\n prettyPrint: false,\n indent: ' ',\n newline: '\\n',\n offset: 0,\n group: false,\n verbose: false\n });\n return _this;\n }\n /**\n * Produces an XML serialization of the given node.\n *\n * @param node - node to serialize\n * @param writerOptions - serialization options\n */\n JSONWriter.prototype.serialize = function (node) {\n // convert to object\n var objectWriterOptions = util_1.applyDefaults(this._writerOptions, {\n format: \"object\",\n wellFormed: false\n });\n var objectWriter = new ObjectWriter_1.ObjectWriter(this._builderOptions, objectWriterOptions);\n var val = objectWriter.serialize(node);\n // recursively convert object into JSON string\n return this._beginLine(this._writerOptions, 0) + this._convertObject(val, this._writerOptions);\n };\n /**\n * Produces an XML serialization of the given object.\n *\n * @param obj - object to serialize\n * @param options - serialization options\n * @param level - depth of the XML tree\n */\n JSONWriter.prototype._convertObject = function (obj, options, level) {\n var e_1, _a;\n var _this = this;\n if (level === void 0) { level = 0; }\n var markup = '';\n var isLeaf = this._isLeafNode(obj);\n if (util_1.isArray(obj)) {\n markup += '[';\n var len = obj.length;\n var i = 0;\n try {\n for (var obj_1 = __values(obj), obj_1_1 = obj_1.next(); !obj_1_1.done; obj_1_1 = obj_1.next()) {\n var val = obj_1_1.value;\n markup += this._endLine(options, level + 1) +\n this._beginLine(options, level + 1) +\n this._convertObject(val, options, level + 1);\n if (i < len - 1) {\n markup += ',';\n }\n i++;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (obj_1_1 && !obj_1_1.done && (_a = obj_1.return)) _a.call(obj_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n markup += this._endLine(options, level) + this._beginLine(options, level);\n markup += ']';\n }\n else if (util_1.isObject(obj)) {\n markup += '{';\n var len_1 = util_1.objectLength(obj);\n var i_1 = 0;\n util_1.forEachObject(obj, function (key, val) {\n if (isLeaf && options.prettyPrint) {\n markup += ' ';\n }\n else {\n markup += _this._endLine(options, level + 1) + _this._beginLine(options, level + 1);\n }\n markup += _this._key(key);\n if (options.prettyPrint) {\n markup += ' ';\n }\n markup += _this._convertObject(val, options, level + 1);\n if (i_1 < len_1 - 1) {\n markup += ',';\n }\n i_1++;\n }, this);\n if (isLeaf && options.prettyPrint) {\n markup += ' ';\n }\n else {\n markup += this._endLine(options, level) + this._beginLine(options, level);\n }\n markup += '}';\n }\n else {\n markup += this._val(obj);\n }\n return markup;\n };\n /**\n * Produces characters to be prepended to a line of string in pretty-print\n * mode.\n *\n * @param options - serialization options\n * @param level - current depth of the XML tree\n */\n JSONWriter.prototype._beginLine = function (options, level) {\n if (!options.prettyPrint) {\n return '';\n }\n else {\n var indentLevel = options.offset + level + 1;\n if (indentLevel > 0) {\n return new Array(indentLevel).join(options.indent);\n }\n }\n return '';\n };\n /**\n * Produces characters to be appended to a line of string in pretty-print\n * mode.\n *\n * @param options - serialization options\n * @param level - current depth of the XML tree\n */\n JSONWriter.prototype._endLine = function (options, level) {\n if (!options.prettyPrint) {\n return '';\n }\n else {\n return options.newline;\n }\n };\n /**\n * Produces a JSON key string delimited with double quotes.\n */\n JSONWriter.prototype._key = function (key) {\n return \"\\\"\" + key + \"\\\":\";\n };\n /**\n * Produces a JSON value string delimited with double quotes.\n */\n JSONWriter.prototype._val = function (val) {\n return JSON.stringify(val);\n };\n /**\n * Determines if an object is a leaf node.\n *\n * @param obj\n */\n JSONWriter.prototype._isLeafNode = function (obj) {\n return this._descendantCount(obj) <= 1;\n };\n /**\n * Counts the number of descendants of the given object.\n *\n * @param obj\n * @param count\n */\n JSONWriter.prototype._descendantCount = function (obj, count) {\n var _this = this;\n if (count === void 0) { count = 0; }\n if (util_1.isArray(obj)) {\n util_1.forEachArray(obj, function (val) { return count += _this._descendantCount(val, count); }, this);\n }\n else if (util_1.isObject(obj)) {\n util_1.forEachObject(obj, function (key, val) { return count += _this._descendantCount(val, count); }, this);\n }\n else {\n count++;\n }\n return count;\n };\n return JSONWriter;\n}(BaseWriter_1.BaseWriter));\nexports.JSONWriter = JSONWriter;\n//# sourceMappingURL=JSONWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar ObjectWriter_1 = require(\"./ObjectWriter\");\nvar BaseWriter_1 = require(\"./BaseWriter\");\n/**\n * Serializes XML nodes into ES6 maps and arrays.\n */\nvar MapWriter = /** @class */ (function (_super) {\n __extends(MapWriter, _super);\n /**\n * Initializes a new instance of `MapWriter`.\n *\n * @param builderOptions - XML builder options\n * @param writerOptions - serialization options\n */\n function MapWriter(builderOptions, writerOptions) {\n var _this = _super.call(this, builderOptions) || this;\n // provide default options\n _this._writerOptions = util_1.applyDefaults(writerOptions, {\n format: \"map\",\n wellFormed: false,\n group: false,\n verbose: false\n });\n return _this;\n }\n /**\n * Produces an XML serialization of the given node.\n *\n * @param node - node to serialize\n */\n MapWriter.prototype.serialize = function (node) {\n // convert to object\n var objectWriterOptions = util_1.applyDefaults(this._writerOptions, {\n format: \"object\",\n wellFormed: false,\n verbose: false\n });\n var objectWriter = new ObjectWriter_1.ObjectWriter(this._builderOptions, objectWriterOptions);\n var val = objectWriter.serialize(node);\n // recursively convert object into Map\n return this._convertObject(val);\n };\n /**\n * Recursively converts a JS object into an ES5 map.\n *\n * @param obj - a JS object\n */\n MapWriter.prototype._convertObject = function (obj) {\n if (util_1.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n obj[i] = this._convertObject(obj[i]);\n }\n return obj;\n }\n else if (util_1.isObject(obj)) {\n var map = new Map();\n for (var key in obj) {\n map.set(key, this._convertObject(obj[key]));\n }\n return map;\n }\n else {\n return obj;\n }\n };\n return MapWriter;\n}(BaseWriter_1.BaseWriter));\nexports.MapWriter = MapWriter;\n//# sourceMappingURL=MapWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar interfaces_1 = require(\"@oozcitak/dom/lib/dom/interfaces\");\nvar BaseWriter_1 = require(\"./BaseWriter\");\n/**\n * Serializes XML nodes into objects and arrays.\n */\nvar ObjectWriter = /** @class */ (function (_super) {\n __extends(ObjectWriter, _super);\n /**\n * Initializes a new instance of `ObjectWriter`.\n *\n * @param builderOptions - XML builder options\n * @param writerOptions - serialization options\n */\n function ObjectWriter(builderOptions, writerOptions) {\n var _this = _super.call(this, builderOptions) || this;\n _this._writerOptions = util_1.applyDefaults(writerOptions, {\n format: \"object\",\n wellFormed: false,\n group: false,\n verbose: false\n });\n return _this;\n }\n /**\n * Produces an XML serialization of the given node.\n *\n * @param node - node to serialize\n */\n ObjectWriter.prototype.serialize = function (node) {\n this._currentList = [];\n this._currentIndex = 0;\n this._listRegister = [this._currentList];\n /**\n * First pass, serialize nodes\n * This creates a list of nodes grouped under node types while preserving\n * insertion order. For example:\n * [\n * root: [\n * node: [\n * { \"@\" : { \"att1\": \"val1\", \"att2\": \"val2\" }\n * { \"#\": \"node text\" }\n * { childNode: [] }\n * { \"#\": \"more text\" }\n * ],\n * node: [\n * { \"@\" : { \"att\": \"val\" }\n * { \"#\": [ \"text line1\", \"text line2\" ] }\n * ]\n * ]\n * ]\n */\n this.serializeNode(node, this._writerOptions.wellFormed);\n /**\n * Second pass, process node lists. Above example becomes:\n * {\n * root: {\n * node: [\n * {\n * \"@att1\": \"val1\",\n * \"@att2\": \"val2\",\n * \"#1\": \"node text\",\n * childNode: {},\n * \"#2\": \"more text\"\n * },\n * {\n * \"@att\": \"val\",\n * \"#\": [ \"text line1\", \"text line2\" ]\n * }\n * ]\n * }\n * }\n */\n return this._process(this._currentList, this._writerOptions);\n };\n ObjectWriter.prototype._process = function (items, options) {\n var _a, _b, _c, _d, _e, _f, _g;\n if (items.length === 0)\n return {};\n // determine if there are non-unique element names\n var namesSeen = {};\n var hasNonUniqueNames = false;\n var textCount = 0;\n var commentCount = 0;\n var instructionCount = 0;\n var cdataCount = 0;\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var key = Object.keys(item)[0];\n switch (key) {\n case \"@\":\n continue;\n case \"#\":\n textCount++;\n break;\n case \"!\":\n commentCount++;\n break;\n case \"?\":\n instructionCount++;\n break;\n case \"$\":\n cdataCount++;\n break;\n default:\n if (namesSeen[key]) {\n hasNonUniqueNames = true;\n }\n else {\n namesSeen[key] = true;\n }\n break;\n }\n }\n var defAttrKey = this._getAttrKey();\n var defTextKey = this._getNodeKey(interfaces_1.NodeType.Text);\n var defCommentKey = this._getNodeKey(interfaces_1.NodeType.Comment);\n var defInstructionKey = this._getNodeKey(interfaces_1.NodeType.ProcessingInstruction);\n var defCdataKey = this._getNodeKey(interfaces_1.NodeType.CData);\n if (textCount === 1 && items.length === 1 && util_1.isString(items[0][\"#\"])) {\n // special case of an element node with a single text node\n return items[0][\"#\"];\n }\n else if (hasNonUniqueNames) {\n var obj = {};\n // process attributes first\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var key = Object.keys(item)[0];\n if (key === \"@\") {\n var attrs = item[\"@\"];\n var attrKeys = Object.keys(attrs);\n if (attrKeys.length === 1) {\n obj[defAttrKey + attrKeys[0]] = attrs[attrKeys[0]];\n }\n else {\n obj[defAttrKey] = item[\"@\"];\n }\n }\n }\n // list contains element nodes with non-unique names\n // return an array with mixed content notation\n var result = [];\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var key = Object.keys(item)[0];\n switch (key) {\n case \"@\":\n // attributes were processed above\n break;\n case \"#\":\n result.push((_a = {}, _a[defTextKey] = item[\"#\"], _a));\n break;\n case \"!\":\n result.push((_b = {}, _b[defCommentKey] = item[\"!\"], _b));\n break;\n case \"?\":\n result.push((_c = {}, _c[defInstructionKey] = item[\"?\"], _c));\n break;\n case \"$\":\n result.push((_d = {}, _d[defCdataKey] = item[\"$\"], _d));\n break;\n default:\n // element node\n var ele = item;\n if (ele[key].length !== 0 && util_1.isArray(ele[key][0])) {\n // group of element nodes\n var eleGroup = [];\n var listOfLists = ele[key];\n for (var i_1 = 0; i_1 < listOfLists.length; i_1++) {\n eleGroup.push(this._process(listOfLists[i_1], options));\n }\n result.push((_e = {}, _e[key] = eleGroup, _e));\n }\n else {\n // single element node\n if (options.verbose) {\n result.push((_f = {}, _f[key] = [this._process(ele[key], options)], _f));\n }\n else {\n result.push((_g = {}, _g[key] = this._process(ele[key], options), _g));\n }\n }\n break;\n }\n }\n obj[defTextKey] = result;\n return obj;\n }\n else {\n // all element nodes have unique names\n // return an object while prefixing data node keys\n var textId = 1;\n var commentId = 1;\n var instructionId = 1;\n var cdataId = 1;\n var obj = {};\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var key = Object.keys(item)[0];\n switch (key) {\n case \"@\":\n var attrs = item[\"@\"];\n var attrKeys = Object.keys(attrs);\n if (!options.group || attrKeys.length === 1) {\n for (var attrName in attrs) {\n obj[defAttrKey + attrName] = attrs[attrName];\n }\n }\n else {\n obj[defAttrKey] = attrs;\n }\n break;\n case \"#\":\n textId = this._processSpecItem(item[\"#\"], obj, options.group, defTextKey, textCount, textId);\n break;\n case \"!\":\n commentId = this._processSpecItem(item[\"!\"], obj, options.group, defCommentKey, commentCount, commentId);\n break;\n case \"?\":\n instructionId = this._processSpecItem(item[\"?\"], obj, options.group, defInstructionKey, instructionCount, instructionId);\n break;\n case \"$\":\n cdataId = this._processSpecItem(item[\"$\"], obj, options.group, defCdataKey, cdataCount, cdataId);\n break;\n default:\n // element node\n var ele = item;\n if (ele[key].length !== 0 && util_1.isArray(ele[key][0])) {\n // group of element nodes\n var eleGroup = [];\n var listOfLists = ele[key];\n for (var i_2 = 0; i_2 < listOfLists.length; i_2++) {\n eleGroup.push(this._process(listOfLists[i_2], options));\n }\n obj[key] = eleGroup;\n }\n else {\n // single element node\n if (options.verbose) {\n obj[key] = [this._process(ele[key], options)];\n }\n else {\n obj[key] = this._process(ele[key], options);\n }\n }\n break;\n }\n }\n return obj;\n }\n };\n ObjectWriter.prototype._processSpecItem = function (item, obj, group, defKey, count, id) {\n var e_1, _a;\n if (!group && util_1.isArray(item) && count + item.length > 2) {\n try {\n for (var item_1 = __values(item), item_1_1 = item_1.next(); !item_1_1.done; item_1_1 = item_1.next()) {\n var subItem = item_1_1.value;\n var key = defKey + (id++).toString();\n obj[key] = subItem;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (item_1_1 && !item_1_1.done && (_a = item_1.return)) _a.call(item_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n else {\n var key = count > 1 ? defKey + (id++).toString() : defKey;\n obj[key] = item;\n }\n return id;\n };\n /** @inheritdoc */\n ObjectWriter.prototype.beginElement = function (name) {\n var _a, _b;\n var childItems = [];\n if (this._currentList.length === 0) {\n this._currentList.push((_a = {}, _a[name] = childItems, _a));\n }\n else {\n var lastItem = this._currentList[this._currentList.length - 1];\n if (this._isElementNode(lastItem, name)) {\n if (lastItem[name].length !== 0 && util_1.isArray(lastItem[name][0])) {\n var listOfLists = lastItem[name];\n listOfLists.push(childItems);\n }\n else {\n lastItem[name] = [lastItem[name], childItems];\n }\n }\n else {\n this._currentList.push((_b = {}, _b[name] = childItems, _b));\n }\n }\n this._currentIndex++;\n if (this._listRegister.length > this._currentIndex) {\n this._listRegister[this._currentIndex] = childItems;\n }\n else {\n this._listRegister.push(childItems);\n }\n this._currentList = childItems;\n };\n /** @inheritdoc */\n ObjectWriter.prototype.endElement = function () {\n this._currentList = this._listRegister[--this._currentIndex];\n };\n /** @inheritdoc */\n ObjectWriter.prototype.attribute = function (name, value) {\n var _a, _b;\n if (this._currentList.length === 0) {\n this._currentList.push({ \"@\": (_a = {}, _a[name] = value, _a) });\n }\n else {\n var lastItem = this._currentList[this._currentList.length - 1];\n /* istanbul ignore else */\n if (this._isAttrNode(lastItem)) {\n lastItem[\"@\"][name] = value;\n }\n else {\n this._currentList.push({ \"@\": (_b = {}, _b[name] = value, _b) });\n }\n }\n };\n /** @inheritdoc */\n ObjectWriter.prototype.comment = function (data) {\n if (this._currentList.length === 0) {\n this._currentList.push({ \"!\": data });\n }\n else {\n var lastItem = this._currentList[this._currentList.length - 1];\n if (this._isCommentNode(lastItem)) {\n if (util_1.isArray(lastItem[\"!\"])) {\n lastItem[\"!\"].push(data);\n }\n else {\n lastItem[\"!\"] = [lastItem[\"!\"], data];\n }\n }\n else {\n this._currentList.push({ \"!\": data });\n }\n }\n };\n /** @inheritdoc */\n ObjectWriter.prototype.text = function (data) {\n if (this._currentList.length === 0) {\n this._currentList.push({ \"#\": data });\n }\n else {\n var lastItem = this._currentList[this._currentList.length - 1];\n if (this._isTextNode(lastItem)) {\n if (util_1.isArray(lastItem[\"#\"])) {\n lastItem[\"#\"].push(data);\n }\n else {\n lastItem[\"#\"] = [lastItem[\"#\"], data];\n }\n }\n else {\n this._currentList.push({ \"#\": data });\n }\n }\n };\n /** @inheritdoc */\n ObjectWriter.prototype.instruction = function (target, data) {\n var value = (data === \"\" ? target : target + \" \" + data);\n if (this._currentList.length === 0) {\n this._currentList.push({ \"?\": value });\n }\n else {\n var lastItem = this._currentList[this._currentList.length - 1];\n if (this._isInstructionNode(lastItem)) {\n if (util_1.isArray(lastItem[\"?\"])) {\n lastItem[\"?\"].push(value);\n }\n else {\n lastItem[\"?\"] = [lastItem[\"?\"], value];\n }\n }\n else {\n this._currentList.push({ \"?\": value });\n }\n }\n };\n /** @inheritdoc */\n ObjectWriter.prototype.cdata = function (data) {\n if (this._currentList.length === 0) {\n this._currentList.push({ \"$\": data });\n }\n else {\n var lastItem = this._currentList[this._currentList.length - 1];\n if (this._isCDATANode(lastItem)) {\n if (util_1.isArray(lastItem[\"$\"])) {\n lastItem[\"$\"].push(data);\n }\n else {\n lastItem[\"$\"] = [lastItem[\"$\"], data];\n }\n }\n else {\n this._currentList.push({ \"$\": data });\n }\n }\n };\n ObjectWriter.prototype._isAttrNode = function (x) {\n return \"@\" in x;\n };\n ObjectWriter.prototype._isTextNode = function (x) {\n return \"#\" in x;\n };\n ObjectWriter.prototype._isCommentNode = function (x) {\n return \"!\" in x;\n };\n ObjectWriter.prototype._isInstructionNode = function (x) {\n return \"?\" in x;\n };\n ObjectWriter.prototype._isCDATANode = function (x) {\n return \"$\" in x;\n };\n ObjectWriter.prototype._isElementNode = function (x, name) {\n return name in x;\n };\n /**\n * Returns an object key for an attribute or namespace declaration.\n */\n ObjectWriter.prototype._getAttrKey = function () {\n return this._builderOptions.convert.att;\n };\n /**\n * Returns an object key for the given node type.\n *\n * @param nodeType - node type to get a key for\n */\n ObjectWriter.prototype._getNodeKey = function (nodeType) {\n switch (nodeType) {\n case interfaces_1.NodeType.Comment:\n return this._builderOptions.convert.comment;\n case interfaces_1.NodeType.Text:\n return this._builderOptions.convert.text;\n case interfaces_1.NodeType.ProcessingInstruction:\n return this._builderOptions.convert.ins;\n case interfaces_1.NodeType.CData:\n return this._builderOptions.convert.cdata;\n /* istanbul ignore next */\n default:\n throw new Error(\"Invalid node type.\");\n }\n };\n return ObjectWriter;\n}(BaseWriter_1.BaseWriter));\nexports.ObjectWriter = ObjectWriter;\n//# sourceMappingURL=ObjectWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BaseCBWriter_1 = require(\"./BaseCBWriter\");\n/**\n * Serializes XML nodes.\n */\nvar XMLCBWriter = /** @class */ (function (_super) {\n __extends(XMLCBWriter, _super);\n /**\n * Initializes a new instance of `XMLCBWriter`.\n *\n * @param builderOptions - XML builder options\n */\n function XMLCBWriter(builderOptions) {\n var _this = _super.call(this, builderOptions) || this;\n _this._lineLength = 0;\n return _this;\n }\n /** @inheritdoc */\n XMLCBWriter.prototype.frontMatter = function () {\n return \"\";\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.declaration = function (version, encoding, standalone) {\n var markup = this._beginLine() + \"\";\n return markup;\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.docType = function (name, publicId, systemId) {\n var markup = this._beginLine();\n if (publicId && systemId) {\n markup += \"\";\n }\n else if (publicId) {\n markup += \"\";\n }\n else if (systemId) {\n markup += \"\";\n }\n else {\n markup += \"\";\n }\n return markup;\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.comment = function (data) {\n return this._beginLine() + \"\";\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.text = function (data) {\n return this._beginLine() + data;\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.instruction = function (target, data) {\n if (data) {\n return this._beginLine() + \"\";\n }\n else {\n return this._beginLine() + \"\";\n }\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.cdata = function (data) {\n return this._beginLine() + \"\";\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.openTagBegin = function (name) {\n this._lineLength += 1 + name.length;\n return this._beginLine() + \"<\" + name;\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.openTagEnd = function (name, selfClosing, voidElement) {\n if (voidElement) {\n return \" />\";\n }\n else if (selfClosing) {\n if (this._writerOptions.allowEmptyTags) {\n return \">\";\n }\n else if (this._writerOptions.spaceBeforeSlash) {\n return \" />\";\n }\n else {\n return \"/>\";\n }\n }\n else {\n return \">\";\n }\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.closeTag = function (name) {\n return this._beginLine() + \"\";\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.attribute = function (name, value) {\n var str = name + \"=\\\"\" + value + \"\\\"\";\n if (this._writerOptions.prettyPrint && this._writerOptions.width > 0 &&\n this._lineLength + 1 + str.length > this._writerOptions.width) {\n str = this._beginLine() + this._indent(1) + str;\n this._lineLength = str.length;\n return str;\n }\n else {\n this._lineLength += 1 + str.length;\n return \" \" + str;\n }\n };\n /** @inheritdoc */\n XMLCBWriter.prototype.beginElement = function (name) { };\n /** @inheritdoc */\n XMLCBWriter.prototype.endElement = function (name) { };\n /**\n * Produces characters to be prepended to a line of string in pretty-print\n * mode.\n */\n XMLCBWriter.prototype._beginLine = function () {\n if (this._writerOptions.prettyPrint) {\n var str = (this.hasData ? this._writerOptions.newline : \"\") +\n this._indent(this._writerOptions.offset + this.level);\n this._lineLength = str.length;\n return str;\n }\n else {\n return \"\";\n }\n };\n /**\n * Produces an indentation string.\n *\n * @param level - depth of the tree\n */\n XMLCBWriter.prototype._indent = function (level) {\n if (level <= 0) {\n return \"\";\n }\n else {\n return this._writerOptions.indent.repeat(level);\n }\n };\n return XMLCBWriter;\n}(BaseCBWriter_1.BaseCBWriter));\nexports.XMLCBWriter = XMLCBWriter;\n//# sourceMappingURL=XMLCBWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@oozcitak/util\");\nvar interfaces_1 = require(\"@oozcitak/dom/lib/dom/interfaces\");\nvar BaseWriter_1 = require(\"./BaseWriter\");\nvar util_2 = require(\"@oozcitak/dom/lib/util\");\n/**\n * Serializes XML nodes into strings.\n */\nvar XMLWriter = /** @class */ (function (_super) {\n __extends(XMLWriter, _super);\n /**\n * Initializes a new instance of `XMLWriter`.\n *\n * @param builderOptions - XML builder options\n * @param writerOptions - serialization options\n */\n function XMLWriter(builderOptions, writerOptions) {\n var _this = _super.call(this, builderOptions) || this;\n _this._indentation = {};\n _this._lengthToLastNewline = 0;\n // provide default options\n _this._writerOptions = util_1.applyDefaults(writerOptions, {\n wellFormed: false,\n headless: false,\n prettyPrint: false,\n indent: \" \",\n newline: \"\\n\",\n offset: 0,\n width: 0,\n allowEmptyTags: false,\n indentTextOnlyNodes: false,\n spaceBeforeSlash: false\n });\n return _this;\n }\n /**\n * Produces an XML serialization of the given node.\n *\n * @param node - node to serialize\n */\n XMLWriter.prototype.serialize = function (node) {\n this._refs = { suppressPretty: false, emptyNode: false, markup: \"\" };\n // Serialize XML declaration\n if (node.nodeType === interfaces_1.NodeType.Document && !this._writerOptions.headless) {\n this.declaration(this._builderOptions.version, this._builderOptions.encoding, this._builderOptions.standalone);\n }\n // recursively serialize node\n this.serializeNode(node, this._writerOptions.wellFormed);\n // remove trailing newline\n if (this._writerOptions.prettyPrint &&\n this._refs.markup.slice(-this._writerOptions.newline.length) === this._writerOptions.newline) {\n this._refs.markup = this._refs.markup.slice(0, -this._writerOptions.newline.length);\n }\n return this._refs.markup;\n };\n /** @inheritdoc */\n XMLWriter.prototype.declaration = function (version, encoding, standalone) {\n this._beginLine();\n this._refs.markup += \"\";\n this._endLine();\n };\n /** @inheritdoc */\n XMLWriter.prototype.docType = function (name, publicId, systemId) {\n this._beginLine();\n if (publicId && systemId) {\n this._refs.markup += \"\";\n }\n else if (publicId) {\n this._refs.markup += \"\";\n }\n else if (systemId) {\n this._refs.markup += \"\";\n }\n else {\n this._refs.markup += \"\";\n }\n this._endLine();\n };\n /** @inheritdoc */\n XMLWriter.prototype.openTagBegin = function (name) {\n this._beginLine();\n this._refs.markup += \"<\" + name;\n };\n /** @inheritdoc */\n XMLWriter.prototype.openTagEnd = function (name, selfClosing, voidElement) {\n // do not indent text only elements or elements with empty text nodes\n this._refs.suppressPretty = false;\n this._refs.emptyNode = false;\n if (this._writerOptions.prettyPrint && !selfClosing && !voidElement) {\n var textOnlyNode = true;\n var emptyNode = true;\n var childNode = this.currentNode.firstChild;\n var cdataCount = 0;\n var textCount = 0;\n while (childNode) {\n if (util_2.Guard.isExclusiveTextNode(childNode)) {\n textCount++;\n }\n else if (util_2.Guard.isCDATASectionNode(childNode)) {\n cdataCount++;\n }\n else {\n textOnlyNode = false;\n emptyNode = false;\n break;\n }\n if (childNode.data !== '') {\n emptyNode = false;\n }\n childNode = childNode.nextSibling;\n }\n this._refs.suppressPretty = !this._writerOptions.indentTextOnlyNodes && textOnlyNode && ((cdataCount <= 1 && textCount === 0) || cdataCount === 0);\n this._refs.emptyNode = emptyNode;\n }\n if ((voidElement || selfClosing || this._refs.emptyNode) && this._writerOptions.allowEmptyTags) {\n this._refs.markup += \">\";\n }\n else {\n this._refs.markup += voidElement ? \" />\" :\n (selfClosing || this._refs.emptyNode) ? (this._writerOptions.spaceBeforeSlash ? \" />\" : \"/>\") : \">\";\n }\n this._endLine();\n };\n /** @inheritdoc */\n XMLWriter.prototype.closeTag = function (name) {\n if (!this._refs.emptyNode) {\n this._beginLine();\n this._refs.markup += \"\";\n }\n this._refs.suppressPretty = false;\n this._refs.emptyNode = false;\n this._endLine();\n };\n /** @inheritdoc */\n XMLWriter.prototype.attribute = function (name, value) {\n var str = name + \"=\\\"\" + value + \"\\\"\";\n if (this._writerOptions.prettyPrint && this._writerOptions.width > 0 &&\n this._refs.markup.length - this._lengthToLastNewline + 1 + str.length > this._writerOptions.width) {\n this._endLine();\n this._beginLine();\n this._refs.markup += this._indent(1) + str;\n }\n else {\n this._refs.markup += \" \" + str;\n }\n };\n /** @inheritdoc */\n XMLWriter.prototype.text = function (data) {\n if (data !== '') {\n this._beginLine();\n this._refs.markup += data;\n this._endLine();\n }\n };\n /** @inheritdoc */\n XMLWriter.prototype.cdata = function (data) {\n if (data !== '') {\n this._beginLine();\n this._refs.markup += \"\";\n this._endLine();\n }\n };\n /** @inheritdoc */\n XMLWriter.prototype.comment = function (data) {\n this._beginLine();\n this._refs.markup += \"\";\n this._endLine();\n };\n /** @inheritdoc */\n XMLWriter.prototype.instruction = function (target, data) {\n this._beginLine();\n this._refs.markup += \"\";\n this._endLine();\n };\n /**\n * Produces characters to be prepended to a line of string in pretty-print\n * mode.\n */\n XMLWriter.prototype._beginLine = function () {\n if (this._writerOptions.prettyPrint && !this._refs.suppressPretty) {\n this._refs.markup += this._indent(this._writerOptions.offset + this.level);\n }\n };\n /**\n * Produces characters to be appended to a line of string in pretty-print\n * mode.\n */\n XMLWriter.prototype._endLine = function () {\n if (this._writerOptions.prettyPrint && !this._refs.suppressPretty) {\n this._refs.markup += this._writerOptions.newline;\n this._lengthToLastNewline = this._refs.markup.length;\n }\n };\n /**\n * Produces an indentation string.\n *\n * @param level - depth of the tree\n */\n XMLWriter.prototype._indent = function (level) {\n if (level <= 0) {\n return \"\";\n }\n else if (this._indentation[level] !== undefined) {\n return this._indentation[level];\n }\n else {\n var str = this._writerOptions.indent.repeat(level);\n this._indentation[level] = str;\n return str;\n }\n };\n return XMLWriter;\n}(BaseWriter_1.BaseWriter));\nexports.XMLWriter = XMLWriter;\n//# sourceMappingURL=XMLWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BaseCBWriter_1 = require(\"./BaseCBWriter\");\n/**\n * Serializes XML nodes.\n */\nvar YAMLCBWriter = /** @class */ (function (_super) {\n __extends(YAMLCBWriter, _super);\n /**\n * Initializes a new instance of `BaseCBWriter`.\n *\n * @param builderOptions - XML builder options\n */\n function YAMLCBWriter(builderOptions) {\n var _this = _super.call(this, builderOptions) || this;\n _this._rootWritten = false;\n _this._additionalLevel = 0;\n if (builderOptions.indent.length < 2) {\n throw new Error(\"YAML indententation string must be at least two characters long.\");\n }\n if (builderOptions.offset < 0) {\n throw new Error(\"YAML offset should be zero or a positive number.\");\n }\n return _this;\n }\n /** @inheritdoc */\n YAMLCBWriter.prototype.frontMatter = function () {\n return this._beginLine() + \"---\";\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.declaration = function (version, encoding, standalone) {\n return \"\";\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.docType = function (name, publicId, systemId) {\n return \"\";\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.comment = function (data) {\n // \"!\": \"hello\"\n return this._beginLine() +\n this._key(this._builderOptions.convert.comment) + \" \" +\n this._val(data);\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.text = function (data) {\n // \"#\": \"hello\"\n return this._beginLine() +\n this._key(this._builderOptions.convert.text) + \" \" +\n this._val(data);\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.instruction = function (target, data) {\n // \"?\": \"target hello\"\n return this._beginLine() +\n this._key(this._builderOptions.convert.ins) + \" \" +\n this._val(data ? target + \" \" + data : target);\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.cdata = function (data) {\n // \"$\": \"hello\"\n return this._beginLine() +\n this._key(this._builderOptions.convert.cdata) + \" \" +\n this._val(data);\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.attribute = function (name, value) {\n // \"@name\": \"val\"\n this._additionalLevel++;\n var str = this._beginLine() +\n this._key(this._builderOptions.convert.att + name) + \" \" +\n this._val(value);\n this._additionalLevel--;\n return str;\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.openTagBegin = function (name) {\n // \"node\":\n // \"#\":\n // -\n var str = this._beginLine() + this._key(name);\n if (!this._rootWritten) {\n this._rootWritten = true;\n }\n this.hasData = true;\n this._additionalLevel++;\n str += this._beginLine(true) + this._key(this._builderOptions.convert.text);\n return str;\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.openTagEnd = function (name, selfClosing, voidElement) {\n if (selfClosing) {\n return \" \" + this._val(\"\");\n }\n return \"\";\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.closeTag = function (name) {\n this._additionalLevel--;\n return \"\";\n };\n /** @inheritdoc */\n YAMLCBWriter.prototype.beginElement = function (name) { };\n /** @inheritdoc */\n YAMLCBWriter.prototype.endElement = function (name) { };\n /**\n * Produces characters to be prepended to a line of string in pretty-print\n * mode.\n */\n YAMLCBWriter.prototype._beginLine = function (suppressArray) {\n if (suppressArray === void 0) { suppressArray = false; }\n return (this.hasData ? this._writerOptions.newline : \"\") +\n this._indent(this._writerOptions.offset + this.level, suppressArray);\n };\n /**\n * Produces an indentation string.\n *\n * @param level - depth of the tree\n * @param suppressArray - whether the suppress array marker\n */\n YAMLCBWriter.prototype._indent = function (level, suppressArray) {\n if (level + this._additionalLevel <= 0) {\n return \"\";\n }\n else {\n var chars = this._writerOptions.indent.repeat(level + this._additionalLevel);\n if (!suppressArray && this._rootWritten) {\n return chars.substr(0, chars.length - 2) + '-' + chars.substr(-1, 1);\n }\n return chars;\n }\n };\n /**\n * Produces a YAML key string delimited with double quotes.\n */\n YAMLCBWriter.prototype._key = function (key) {\n return \"\\\"\" + key + \"\\\":\";\n };\n /**\n * Produces a YAML value string delimited with double quotes.\n */\n YAMLCBWriter.prototype._val = function (val) {\n return JSON.stringify(val);\n };\n return YAMLCBWriter;\n}(BaseCBWriter_1.BaseCBWriter));\nexports.YAMLCBWriter = YAMLCBWriter;\n//# sourceMappingURL=YAMLCBWriter.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ObjectWriter_1 = require(\"./ObjectWriter\");\nvar util_1 = require(\"@oozcitak/util\");\nvar BaseWriter_1 = require(\"./BaseWriter\");\n/**\n * Serializes XML nodes into a YAML string.\n */\nvar YAMLWriter = /** @class */ (function (_super) {\n __extends(YAMLWriter, _super);\n /**\n * Initializes a new instance of `YAMLWriter`.\n *\n * @param builderOptions - XML builder options\n * @param writerOptions - serialization options\n */\n function YAMLWriter(builderOptions, writerOptions) {\n var _this = _super.call(this, builderOptions) || this;\n // provide default options\n _this._writerOptions = util_1.applyDefaults(writerOptions, {\n wellFormed: false,\n indent: ' ',\n newline: '\\n',\n offset: 0,\n group: false,\n verbose: false\n });\n if (_this._writerOptions.indent.length < 2) {\n throw new Error(\"YAML indententation string must be at least two characters long.\");\n }\n if (_this._writerOptions.offset < 0) {\n throw new Error(\"YAML offset should be zero or a positive number.\");\n }\n return _this;\n }\n /**\n * Produces an XML serialization of the given node.\n *\n * @param node - node to serialize\n * @param writerOptions - serialization options\n */\n YAMLWriter.prototype.serialize = function (node) {\n // convert to object\n var objectWriterOptions = util_1.applyDefaults(this._writerOptions, {\n format: \"object\",\n wellFormed: false\n });\n var objectWriter = new ObjectWriter_1.ObjectWriter(this._builderOptions, objectWriterOptions);\n var val = objectWriter.serialize(node);\n var markup = this._beginLine(this._writerOptions, 0) + '---' + this._endLine(this._writerOptions) +\n this._convertObject(val, this._writerOptions, 0);\n // remove trailing newline\n /* istanbul ignore else */\n if (markup.slice(-this._writerOptions.newline.length) === this._writerOptions.newline) {\n markup = markup.slice(0, -this._writerOptions.newline.length);\n }\n return markup;\n };\n /**\n * Produces an XML serialization of the given object.\n *\n * @param obj - object to serialize\n * @param options - serialization options\n * @param level - depth of the XML tree\n * @param indentLeaf - indents leaf nodes\n */\n YAMLWriter.prototype._convertObject = function (obj, options, level, suppressIndent) {\n var e_1, _a;\n var _this = this;\n if (suppressIndent === void 0) { suppressIndent = false; }\n var markup = '';\n if (util_1.isArray(obj)) {\n try {\n for (var obj_1 = __values(obj), obj_1_1 = obj_1.next(); !obj_1_1.done; obj_1_1 = obj_1.next()) {\n var val = obj_1_1.value;\n markup += this._beginLine(options, level, true);\n if (!util_1.isObject(val)) {\n markup += this._val(val) + this._endLine(options);\n }\n else if (util_1.isEmpty(val)) {\n markup += '\"\"' + this._endLine(options);\n }\n else {\n markup += this._convertObject(val, options, level, true);\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (obj_1_1 && !obj_1_1.done && (_a = obj_1.return)) _a.call(obj_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n else /* if (isObject(obj)) */ {\n util_1.forEachObject(obj, function (key, val) {\n if (suppressIndent) {\n markup += _this._key(key);\n suppressIndent = false;\n }\n else {\n markup += _this._beginLine(options, level) + _this._key(key);\n }\n if (!util_1.isObject(val)) {\n markup += ' ' + _this._val(val) + _this._endLine(options);\n }\n else if (util_1.isEmpty(val)) {\n markup += ' \"\"' + _this._endLine(options);\n }\n else {\n markup += _this._endLine(options) +\n _this._convertObject(val, options, level + 1);\n }\n }, this);\n }\n return markup;\n };\n /**\n * Produces characters to be prepended to a line of string in pretty-print\n * mode.\n *\n * @param options - serialization options\n * @param level - current depth of the XML tree\n * @param isArray - whether this line is an array item\n */\n YAMLWriter.prototype._beginLine = function (options, level, isArray) {\n if (isArray === void 0) { isArray = false; }\n var indentLevel = options.offset + level + 1;\n var chars = new Array(indentLevel).join(options.indent);\n if (isArray) {\n return chars.substr(0, chars.length - 2) + '-' + chars.substr(-1, 1);\n }\n else {\n return chars;\n }\n };\n /**\n * Produces characters to be appended to a line of string in pretty-print\n * mode.\n *\n * @param options - serialization options\n */\n YAMLWriter.prototype._endLine = function (options) {\n return options.newline;\n };\n /**\n * Produces a YAML key string delimited with double quotes.\n */\n YAMLWriter.prototype._key = function (key) {\n return \"\\\"\" + key + \"\\\":\";\n };\n /**\n * Produces a YAML value string delimited with double quotes.\n */\n YAMLWriter.prototype._val = function (val) {\n return JSON.stringify(val);\n };\n return YAMLWriter;\n}(BaseWriter_1.BaseWriter));\nexports.YAMLWriter = YAMLWriter;\n//# sourceMappingURL=YAMLWriter.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar MapWriter_1 = require(\"./MapWriter\");\nexports.MapWriter = MapWriter_1.MapWriter;\nvar XMLWriter_1 = require(\"./XMLWriter\");\nexports.XMLWriter = XMLWriter_1.XMLWriter;\nvar ObjectWriter_1 = require(\"./ObjectWriter\");\nexports.ObjectWriter = ObjectWriter_1.ObjectWriter;\nvar JSONWriter_1 = require(\"./JSONWriter\");\nexports.JSONWriter = JSONWriter_1.JSONWriter;\nvar YAMLWriter_1 = require(\"./YAMLWriter\");\nexports.YAMLWriter = YAMLWriter_1.YAMLWriter;\n//# sourceMappingURL=index.js.map","'use strict';\n\n\nvar yaml = require('./lib/js-yaml.js');\n\n\nmodule.exports = yaml;\n","'use strict';\n\n\nvar loader = require('./js-yaml/loader');\nvar dumper = require('./js-yaml/dumper');\n\n\nfunction deprecated(name) {\n return function () {\n throw new Error('Function ' + name + ' is deprecated and cannot be used.');\n };\n}\n\n\nmodule.exports.Type = require('./js-yaml/type');\nmodule.exports.Schema = require('./js-yaml/schema');\nmodule.exports.FAILSAFE_SCHEMA = require('./js-yaml/schema/failsafe');\nmodule.exports.JSON_SCHEMA = require('./js-yaml/schema/json');\nmodule.exports.CORE_SCHEMA = require('./js-yaml/schema/core');\nmodule.exports.DEFAULT_SAFE_SCHEMA = require('./js-yaml/schema/default_safe');\nmodule.exports.DEFAULT_FULL_SCHEMA = require('./js-yaml/schema/default_full');\nmodule.exports.load = loader.load;\nmodule.exports.loadAll = loader.loadAll;\nmodule.exports.safeLoad = loader.safeLoad;\nmodule.exports.safeLoadAll = loader.safeLoadAll;\nmodule.exports.dump = dumper.dump;\nmodule.exports.safeDump = dumper.safeDump;\nmodule.exports.YAMLException = require('./js-yaml/exception');\n\n// Deprecated schema names from JS-YAML 2.0.x\nmodule.exports.MINIMAL_SCHEMA = require('./js-yaml/schema/failsafe');\nmodule.exports.SAFE_SCHEMA = require('./js-yaml/schema/default_safe');\nmodule.exports.DEFAULT_SCHEMA = require('./js-yaml/schema/default_full');\n\n// Deprecated functions from JS-YAML 1.x.x\nmodule.exports.scan = deprecated('scan');\nmodule.exports.parse = deprecated('parse');\nmodule.exports.compose = deprecated('compose');\nmodule.exports.addConstructor = deprecated('addConstructor');\n","'use strict';\n\n\nfunction isNothing(subject) {\n return (typeof subject === 'undefined') || (subject === null);\n}\n\n\nfunction isObject(subject) {\n return (typeof subject === 'object') && (subject !== null);\n}\n\n\nfunction toArray(sequence) {\n if (Array.isArray(sequence)) return sequence;\n else if (isNothing(sequence)) return [];\n\n return [ sequence ];\n}\n\n\nfunction extend(target, source) {\n var index, length, key, sourceKeys;\n\n if (source) {\n sourceKeys = Object.keys(source);\n\n for (index = 0, length = sourceKeys.length; index < length; index += 1) {\n key = sourceKeys[index];\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\n\nfunction repeat(string, count) {\n var result = '', cycle;\n\n for (cycle = 0; cycle < count; cycle += 1) {\n result += string;\n }\n\n return result;\n}\n\n\nfunction isNegativeZero(number) {\n return (number === 0) && (Number.NEGATIVE_INFINITY === 1 / number);\n}\n\n\nmodule.exports.isNothing = isNothing;\nmodule.exports.isObject = isObject;\nmodule.exports.toArray = toArray;\nmodule.exports.repeat = repeat;\nmodule.exports.isNegativeZero = isNegativeZero;\nmodule.exports.extend = extend;\n","'use strict';\n\n/*eslint-disable no-use-before-define*/\n\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar DEFAULT_FULL_SCHEMA = require('./schema/default_full');\nvar DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');\n\nvar _toString = Object.prototype.toString;\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar CHAR_TAB = 0x09; /* Tab */\nvar CHAR_LINE_FEED = 0x0A; /* LF */\nvar CHAR_CARRIAGE_RETURN = 0x0D; /* CR */\nvar CHAR_SPACE = 0x20; /* Space */\nvar CHAR_EXCLAMATION = 0x21; /* ! */\nvar CHAR_DOUBLE_QUOTE = 0x22; /* \" */\nvar CHAR_SHARP = 0x23; /* # */\nvar CHAR_PERCENT = 0x25; /* % */\nvar CHAR_AMPERSAND = 0x26; /* & */\nvar CHAR_SINGLE_QUOTE = 0x27; /* ' */\nvar CHAR_ASTERISK = 0x2A; /* * */\nvar CHAR_COMMA = 0x2C; /* , */\nvar CHAR_MINUS = 0x2D; /* - */\nvar CHAR_COLON = 0x3A; /* : */\nvar CHAR_EQUALS = 0x3D; /* = */\nvar CHAR_GREATER_THAN = 0x3E; /* > */\nvar CHAR_QUESTION = 0x3F; /* ? */\nvar CHAR_COMMERCIAL_AT = 0x40; /* @ */\nvar CHAR_LEFT_SQUARE_BRACKET = 0x5B; /* [ */\nvar CHAR_RIGHT_SQUARE_BRACKET = 0x5D; /* ] */\nvar CHAR_GRAVE_ACCENT = 0x60; /* ` */\nvar CHAR_LEFT_CURLY_BRACKET = 0x7B; /* { */\nvar CHAR_VERTICAL_LINE = 0x7C; /* | */\nvar CHAR_RIGHT_CURLY_BRACKET = 0x7D; /* } */\n\nvar ESCAPE_SEQUENCES = {};\n\nESCAPE_SEQUENCES[0x00] = '\\\\0';\nESCAPE_SEQUENCES[0x07] = '\\\\a';\nESCAPE_SEQUENCES[0x08] = '\\\\b';\nESCAPE_SEQUENCES[0x09] = '\\\\t';\nESCAPE_SEQUENCES[0x0A] = '\\\\n';\nESCAPE_SEQUENCES[0x0B] = '\\\\v';\nESCAPE_SEQUENCES[0x0C] = '\\\\f';\nESCAPE_SEQUENCES[0x0D] = '\\\\r';\nESCAPE_SEQUENCES[0x1B] = '\\\\e';\nESCAPE_SEQUENCES[0x22] = '\\\\\"';\nESCAPE_SEQUENCES[0x5C] = '\\\\\\\\';\nESCAPE_SEQUENCES[0x85] = '\\\\N';\nESCAPE_SEQUENCES[0xA0] = '\\\\_';\nESCAPE_SEQUENCES[0x2028] = '\\\\L';\nESCAPE_SEQUENCES[0x2029] = '\\\\P';\n\nvar DEPRECATED_BOOLEANS_SYNTAX = [\n 'y', 'Y', 'yes', 'Yes', 'YES', 'on', 'On', 'ON',\n 'n', 'N', 'no', 'No', 'NO', 'off', 'Off', 'OFF'\n];\n\nfunction compileStyleMap(schema, map) {\n var result, keys, index, length, tag, style, type;\n\n if (map === null) return {};\n\n result = {};\n keys = Object.keys(map);\n\n for (index = 0, length = keys.length; index < length; index += 1) {\n tag = keys[index];\n style = String(map[tag]);\n\n if (tag.slice(0, 2) === '!!') {\n tag = 'tag:yaml.org,2002:' + tag.slice(2);\n }\n type = schema.compiledTypeMap['fallback'][tag];\n\n if (type && _hasOwnProperty.call(type.styleAliases, style)) {\n style = type.styleAliases[style];\n }\n\n result[tag] = style;\n }\n\n return result;\n}\n\nfunction encodeHex(character) {\n var string, handle, length;\n\n string = character.toString(16).toUpperCase();\n\n if (character <= 0xFF) {\n handle = 'x';\n length = 2;\n } else if (character <= 0xFFFF) {\n handle = 'u';\n length = 4;\n } else if (character <= 0xFFFFFFFF) {\n handle = 'U';\n length = 8;\n } else {\n throw new YAMLException('code point within a string may not be greater than 0xFFFFFFFF');\n }\n\n return '\\\\' + handle + common.repeat('0', length - string.length) + string;\n}\n\nfunction State(options) {\n this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;\n this.indent = Math.max(1, (options['indent'] || 2));\n this.noArrayIndent = options['noArrayIndent'] || false;\n this.skipInvalid = options['skipInvalid'] || false;\n this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);\n this.styleMap = compileStyleMap(this.schema, options['styles'] || null);\n this.sortKeys = options['sortKeys'] || false;\n this.lineWidth = options['lineWidth'] || 80;\n this.noRefs = options['noRefs'] || false;\n this.noCompatMode = options['noCompatMode'] || false;\n this.condenseFlow = options['condenseFlow'] || false;\n\n this.implicitTypes = this.schema.compiledImplicit;\n this.explicitTypes = this.schema.compiledExplicit;\n\n this.tag = null;\n this.result = '';\n\n this.duplicates = [];\n this.usedDuplicates = null;\n}\n\n// Indents every line in a string. Empty lines (\\n only) are not indented.\nfunction indentString(string, spaces) {\n var ind = common.repeat(' ', spaces),\n position = 0,\n next = -1,\n result = '',\n line,\n length = string.length;\n\n while (position < length) {\n next = string.indexOf('\\n', position);\n if (next === -1) {\n line = string.slice(position);\n position = length;\n } else {\n line = string.slice(position, next + 1);\n position = next + 1;\n }\n\n if (line.length && line !== '\\n') result += ind;\n\n result += line;\n }\n\n return result;\n}\n\nfunction generateNextLine(state, level) {\n return '\\n' + common.repeat(' ', state.indent * level);\n}\n\nfunction testImplicitResolving(state, str) {\n var index, length, type;\n\n for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {\n type = state.implicitTypes[index];\n\n if (type.resolve(str)) {\n return true;\n }\n }\n\n return false;\n}\n\n// [33] s-white ::= s-space | s-tab\nfunction isWhitespace(c) {\n return c === CHAR_SPACE || c === CHAR_TAB;\n}\n\n// Returns true if the character can be printed without escaping.\n// From YAML 1.2: \"any allowed characters known to be non-printable\n// should also be escaped. [However,] This isn’t mandatory\"\n// Derived from nb-char - \\t - #x85 - #xA0 - #x2028 - #x2029.\nfunction isPrintable(c) {\n return (0x00020 <= c && c <= 0x00007E)\n || ((0x000A1 <= c && c <= 0x00D7FF) && c !== 0x2028 && c !== 0x2029)\n || ((0x0E000 <= c && c <= 0x00FFFD) && c !== 0xFEFF /* BOM */)\n || (0x10000 <= c && c <= 0x10FFFF);\n}\n\n// [34] ns-char ::= nb-char - s-white\n// [27] nb-char ::= c-printable - b-char - c-byte-order-mark\n// [26] b-char ::= b-line-feed | b-carriage-return\n// [24] b-line-feed ::= #xA /* LF */\n// [25] b-carriage-return ::= #xD /* CR */\n// [3] c-byte-order-mark ::= #xFEFF\nfunction isNsChar(c) {\n return isPrintable(c) && !isWhitespace(c)\n // byte-order-mark\n && c !== 0xFEFF\n // b-char\n && c !== CHAR_CARRIAGE_RETURN\n && c !== CHAR_LINE_FEED;\n}\n\n// Simplified test for values allowed after the first character in plain style.\nfunction isPlainSafe(c, prev) {\n // Uses a subset of nb-char - c-flow-indicator - \":\" - \"#\"\n // where nb-char ::= c-printable - b-char - c-byte-order-mark.\n return isPrintable(c) && c !== 0xFEFF\n // - c-flow-indicator\n && c !== CHAR_COMMA\n && c !== CHAR_LEFT_SQUARE_BRACKET\n && c !== CHAR_RIGHT_SQUARE_BRACKET\n && c !== CHAR_LEFT_CURLY_BRACKET\n && c !== CHAR_RIGHT_CURLY_BRACKET\n // - \":\" - \"#\"\n // /* An ns-char preceding */ \"#\"\n && c !== CHAR_COLON\n && ((c !== CHAR_SHARP) || (prev && isNsChar(prev)));\n}\n\n// Simplified test for values allowed as the first character in plain style.\nfunction isPlainSafeFirst(c) {\n // Uses a subset of ns-char - c-indicator\n // where ns-char = nb-char - s-white.\n return isPrintable(c) && c !== 0xFEFF\n && !isWhitespace(c) // - s-white\n // - (c-indicator ::=\n // “-” | “?” | “:” | “,” | “[” | “]” | “{” | “}”\n && c !== CHAR_MINUS\n && c !== CHAR_QUESTION\n && c !== CHAR_COLON\n && c !== CHAR_COMMA\n && c !== CHAR_LEFT_SQUARE_BRACKET\n && c !== CHAR_RIGHT_SQUARE_BRACKET\n && c !== CHAR_LEFT_CURLY_BRACKET\n && c !== CHAR_RIGHT_CURLY_BRACKET\n // | “#” | “&” | “*” | “!” | “|” | “=” | “>” | “'” | “\"”\n && c !== CHAR_SHARP\n && c !== CHAR_AMPERSAND\n && c !== CHAR_ASTERISK\n && c !== CHAR_EXCLAMATION\n && c !== CHAR_VERTICAL_LINE\n && c !== CHAR_EQUALS\n && c !== CHAR_GREATER_THAN\n && c !== CHAR_SINGLE_QUOTE\n && c !== CHAR_DOUBLE_QUOTE\n // | “%” | “@” | “`”)\n && c !== CHAR_PERCENT\n && c !== CHAR_COMMERCIAL_AT\n && c !== CHAR_GRAVE_ACCENT;\n}\n\n// Determines whether block indentation indicator is required.\nfunction needIndentIndicator(string) {\n var leadingSpaceRe = /^\\n* /;\n return leadingSpaceRe.test(string);\n}\n\nvar STYLE_PLAIN = 1,\n STYLE_SINGLE = 2,\n STYLE_LITERAL = 3,\n STYLE_FOLDED = 4,\n STYLE_DOUBLE = 5;\n\n// Determines which scalar styles are possible and returns the preferred style.\n// lineWidth = -1 => no limit.\n// Pre-conditions: str.length > 0.\n// Post-conditions:\n// STYLE_PLAIN or STYLE_SINGLE => no \\n are in the string.\n// STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1).\n// STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth != -1).\nfunction chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType) {\n var i;\n var char, prev_char;\n var hasLineBreak = false;\n var hasFoldableLine = false; // only checked if shouldTrackWidth\n var shouldTrackWidth = lineWidth !== -1;\n var previousLineBreak = -1; // count the first line correctly\n var plain = isPlainSafeFirst(string.charCodeAt(0))\n && !isWhitespace(string.charCodeAt(string.length - 1));\n\n if (singleLineOnly) {\n // Case: no block styles.\n // Check for disallowed characters to rule out plain and single.\n for (i = 0; i < string.length; i++) {\n char = string.charCodeAt(i);\n if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n prev_char = i > 0 ? string.charCodeAt(i - 1) : null;\n plain = plain && isPlainSafe(char, prev_char);\n }\n } else {\n // Case: block styles permitted.\n for (i = 0; i < string.length; i++) {\n char = string.charCodeAt(i);\n if (char === CHAR_LINE_FEED) {\n hasLineBreak = true;\n // Check if any line can be folded.\n if (shouldTrackWidth) {\n hasFoldableLine = hasFoldableLine ||\n // Foldable line = too long, and not more-indented.\n (i - previousLineBreak - 1 > lineWidth &&\n string[previousLineBreak + 1] !== ' ');\n previousLineBreak = i;\n }\n } else if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n prev_char = i > 0 ? string.charCodeAt(i - 1) : null;\n plain = plain && isPlainSafe(char, prev_char);\n }\n // in case the end is missing a \\n\n hasFoldableLine = hasFoldableLine || (shouldTrackWidth &&\n (i - previousLineBreak - 1 > lineWidth &&\n string[previousLineBreak + 1] !== ' '));\n }\n // Although every style can represent \\n without escaping, prefer block styles\n // for multiline, since they're more readable and they don't add empty lines.\n // Also prefer folding a super-long line.\n if (!hasLineBreak && !hasFoldableLine) {\n // Strings interpretable as another type have to be quoted;\n // e.g. the string 'true' vs. the boolean true.\n return plain && !testAmbiguousType(string)\n ? STYLE_PLAIN : STYLE_SINGLE;\n }\n // Edge case: block indentation indicator can only have one digit.\n if (indentPerLevel > 9 && needIndentIndicator(string)) {\n return STYLE_DOUBLE;\n }\n // At this point we know block styles are valid.\n // Prefer literal style unless we want to fold.\n return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;\n}\n\n// Note: line breaking/folding is implemented for only the folded style.\n// NB. We drop the last trailing newline (if any) of a returned block scalar\n// since the dumper adds its own newline. This always works:\n// • No ending newline => unaffected; already using strip \"-\" chomping.\n// • Ending newline => removed then restored.\n// Importantly, this keeps the \"+\" chomp indicator from gaining an extra line.\nfunction writeScalar(state, string, level, iskey) {\n state.dump = (function () {\n if (string.length === 0) {\n return \"''\";\n }\n if (!state.noCompatMode &&\n DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1) {\n return \"'\" + string + \"'\";\n }\n\n var indent = state.indent * Math.max(1, level); // no 0-indent scalars\n // As indentation gets deeper, let the width decrease monotonically\n // to the lower bound min(state.lineWidth, 40).\n // Note that this implies\n // state.lineWidth ≤ 40 + state.indent: width is fixed at the lower bound.\n // state.lineWidth > 40 + state.indent: width decreases until the lower bound.\n // This behaves better than a constant minimum width which disallows narrower options,\n // or an indent threshold which causes the width to suddenly increase.\n var lineWidth = state.lineWidth === -1\n ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);\n\n // Without knowing if keys are implicit/explicit, assume implicit for safety.\n var singleLineOnly = iskey\n // No block styles in flow mode.\n || (state.flowLevel > -1 && level >= state.flowLevel);\n function testAmbiguity(string) {\n return testImplicitResolving(state, string);\n }\n\n switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth, testAmbiguity)) {\n case STYLE_PLAIN:\n return string;\n case STYLE_SINGLE:\n return \"'\" + string.replace(/'/g, \"''\") + \"'\";\n case STYLE_LITERAL:\n return '|' + blockHeader(string, state.indent)\n + dropEndingNewline(indentString(string, indent));\n case STYLE_FOLDED:\n return '>' + blockHeader(string, state.indent)\n + dropEndingNewline(indentString(foldString(string, lineWidth), indent));\n case STYLE_DOUBLE:\n return '\"' + escapeString(string, lineWidth) + '\"';\n default:\n throw new YAMLException('impossible error: invalid scalar style');\n }\n }());\n}\n\n// Pre-conditions: string is valid for a block scalar, 1 <= indentPerLevel <= 9.\nfunction blockHeader(string, indentPerLevel) {\n var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : '';\n\n // note the special case: the string '\\n' counts as a \"trailing\" empty line.\n var clip = string[string.length - 1] === '\\n';\n var keep = clip && (string[string.length - 2] === '\\n' || string === '\\n');\n var chomp = keep ? '+' : (clip ? '' : '-');\n\n return indentIndicator + chomp + '\\n';\n}\n\n// (See the note for writeScalar.)\nfunction dropEndingNewline(string) {\n return string[string.length - 1] === '\\n' ? string.slice(0, -1) : string;\n}\n\n// Note: a long line without a suitable break point will exceed the width limit.\n// Pre-conditions: every char in str isPrintable, str.length > 0, width > 0.\nfunction foldString(string, width) {\n // In folded style, $k$ consecutive newlines output as $k+1$ newlines—\n // unless they're before or after a more-indented line, or at the very\n // beginning or end, in which case $k$ maps to $k$.\n // Therefore, parse each chunk as newline(s) followed by a content line.\n var lineRe = /(\\n+)([^\\n]*)/g;\n\n // first line (possibly an empty line)\n var result = (function () {\n var nextLF = string.indexOf('\\n');\n nextLF = nextLF !== -1 ? nextLF : string.length;\n lineRe.lastIndex = nextLF;\n return foldLine(string.slice(0, nextLF), width);\n }());\n // If we haven't reached the first content line yet, don't add an extra \\n.\n var prevMoreIndented = string[0] === '\\n' || string[0] === ' ';\n var moreIndented;\n\n // rest of the lines\n var match;\n while ((match = lineRe.exec(string))) {\n var prefix = match[1], line = match[2];\n moreIndented = (line[0] === ' ');\n result += prefix\n + (!prevMoreIndented && !moreIndented && line !== ''\n ? '\\n' : '')\n + foldLine(line, width);\n prevMoreIndented = moreIndented;\n }\n\n return result;\n}\n\n// Greedy line breaking.\n// Picks the longest line under the limit each time,\n// otherwise settles for the shortest line over the limit.\n// NB. More-indented lines *cannot* be folded, as that would add an extra \\n.\nfunction foldLine(line, width) {\n if (line === '' || line[0] === ' ') return line;\n\n // Since a more-indented line adds a \\n, breaks can't be followed by a space.\n var breakRe = / [^ ]/g; // note: the match index will always be <= length-2.\n var match;\n // start is an inclusive index. end, curr, and next are exclusive.\n var start = 0, end, curr = 0, next = 0;\n var result = '';\n\n // Invariants: 0 <= start <= length-1.\n // 0 <= curr <= next <= max(0, length-2). curr - start <= width.\n // Inside the loop:\n // A match implies length >= 2, so curr and next are <= length-2.\n while ((match = breakRe.exec(line))) {\n next = match.index;\n // maintain invariant: curr - start <= width\n if (next - start > width) {\n end = (curr > start) ? curr : next; // derive end <= length-2\n result += '\\n' + line.slice(start, end);\n // skip the space that was output as \\n\n start = end + 1; // derive start <= length-1\n }\n curr = next;\n }\n\n // By the invariants, start <= length-1, so there is something left over.\n // It is either the whole string or a part starting from non-whitespace.\n result += '\\n';\n // Insert a break if the remainder is too long and there is a break available.\n if (line.length - start > width && curr > start) {\n result += line.slice(start, curr) + '\\n' + line.slice(curr + 1);\n } else {\n result += line.slice(start);\n }\n\n return result.slice(1); // drop extra \\n joiner\n}\n\n// Escapes a double-quoted string.\nfunction escapeString(string) {\n var result = '';\n var char, nextChar;\n var escapeSeq;\n\n for (var i = 0; i < string.length; i++) {\n char = string.charCodeAt(i);\n // Check for surrogate pairs (reference Unicode 3.0 section \"3.7 Surrogates\").\n if (char >= 0xD800 && char <= 0xDBFF/* high surrogate */) {\n nextChar = string.charCodeAt(i + 1);\n if (nextChar >= 0xDC00 && nextChar <= 0xDFFF/* low surrogate */) {\n // Combine the surrogate pair and store it escaped.\n result += encodeHex((char - 0xD800) * 0x400 + nextChar - 0xDC00 + 0x10000);\n // Advance index one extra since we already used that char here.\n i++; continue;\n }\n }\n escapeSeq = ESCAPE_SEQUENCES[char];\n result += !escapeSeq && isPrintable(char)\n ? string[i]\n : escapeSeq || encodeHex(char);\n }\n\n return result;\n}\n\nfunction writeFlowSequence(state, level, object) {\n var _result = '',\n _tag = state.tag,\n index,\n length;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n // Write only valid elements.\n if (writeNode(state, level, object[index], false, false)) {\n if (index !== 0) _result += ',' + (!state.condenseFlow ? ' ' : '');\n _result += state.dump;\n }\n }\n\n state.tag = _tag;\n state.dump = '[' + _result + ']';\n}\n\nfunction writeBlockSequence(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n index,\n length;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n // Write only valid elements.\n if (writeNode(state, level + 1, object[index], true, true)) {\n if (!compact || index !== 0) {\n _result += generateNextLine(state, level);\n }\n\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n _result += '-';\n } else {\n _result += '- ';\n }\n\n _result += state.dump;\n }\n }\n\n state.tag = _tag;\n state.dump = _result || '[]'; // Empty sequence if no valid values.\n}\n\nfunction writeFlowMapping(state, level, object) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n pairBuffer;\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n\n pairBuffer = '';\n if (index !== 0) pairBuffer += ', ';\n\n if (state.condenseFlow) pairBuffer += '\"';\n\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n\n if (!writeNode(state, level, objectKey, false, false)) {\n continue; // Skip this pair because of invalid key;\n }\n\n if (state.dump.length > 1024) pairBuffer += '? ';\n\n pairBuffer += state.dump + (state.condenseFlow ? '\"' : '') + ':' + (state.condenseFlow ? '' : ' ');\n\n if (!writeNode(state, level, objectValue, false, false)) {\n continue; // Skip this pair because of invalid value.\n }\n\n pairBuffer += state.dump;\n\n // Both key and value are valid.\n _result += pairBuffer;\n }\n\n state.tag = _tag;\n state.dump = '{' + _result + '}';\n}\n\nfunction writeBlockMapping(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n explicitPair,\n pairBuffer;\n\n // Allow sorting keys so that the output file is deterministic\n if (state.sortKeys === true) {\n // Default sorting\n objectKeyList.sort();\n } else if (typeof state.sortKeys === 'function') {\n // Custom sort function\n objectKeyList.sort(state.sortKeys);\n } else if (state.sortKeys) {\n // Something is wrong\n throw new YAMLException('sortKeys must be a boolean or a function');\n }\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n pairBuffer = '';\n\n if (!compact || index !== 0) {\n pairBuffer += generateNextLine(state, level);\n }\n\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n\n if (!writeNode(state, level + 1, objectKey, true, true, true)) {\n continue; // Skip this pair because of invalid key.\n }\n\n explicitPair = (state.tag !== null && state.tag !== '?') ||\n (state.dump && state.dump.length > 1024);\n\n if (explicitPair) {\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += '?';\n } else {\n pairBuffer += '? ';\n }\n }\n\n pairBuffer += state.dump;\n\n if (explicitPair) {\n pairBuffer += generateNextLine(state, level);\n }\n\n if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {\n continue; // Skip this pair because of invalid value.\n }\n\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += ':';\n } else {\n pairBuffer += ': ';\n }\n\n pairBuffer += state.dump;\n\n // Both key and value are valid.\n _result += pairBuffer;\n }\n\n state.tag = _tag;\n state.dump = _result || '{}'; // Empty mapping if no valid pairs.\n}\n\nfunction detectType(state, object, explicit) {\n var _result, typeList, index, length, type, style;\n\n typeList = explicit ? state.explicitTypes : state.implicitTypes;\n\n for (index = 0, length = typeList.length; index < length; index += 1) {\n type = typeList[index];\n\n if ((type.instanceOf || type.predicate) &&\n (!type.instanceOf || ((typeof object === 'object') && (object instanceof type.instanceOf))) &&\n (!type.predicate || type.predicate(object))) {\n\n state.tag = explicit ? type.tag : '?';\n\n if (type.represent) {\n style = state.styleMap[type.tag] || type.defaultStyle;\n\n if (_toString.call(type.represent) === '[object Function]') {\n _result = type.represent(object, style);\n } else if (_hasOwnProperty.call(type.represent, style)) {\n _result = type.represent[style](object, style);\n } else {\n throw new YAMLException('!<' + type.tag + '> tag resolver accepts not \"' + style + '\" style');\n }\n\n state.dump = _result;\n }\n\n return true;\n }\n }\n\n return false;\n}\n\n// Serializes `object` and writes it to global `result`.\n// Returns true on success, or false on invalid object.\n//\nfunction writeNode(state, level, object, block, compact, iskey) {\n state.tag = null;\n state.dump = object;\n\n if (!detectType(state, object, false)) {\n detectType(state, object, true);\n }\n\n var type = _toString.call(state.dump);\n\n if (block) {\n block = (state.flowLevel < 0 || state.flowLevel > level);\n }\n\n var objectOrArray = type === '[object Object]' || type === '[object Array]',\n duplicateIndex,\n duplicate;\n\n if (objectOrArray) {\n duplicateIndex = state.duplicates.indexOf(object);\n duplicate = duplicateIndex !== -1;\n }\n\n if ((state.tag !== null && state.tag !== '?') || duplicate || (state.indent !== 2 && level > 0)) {\n compact = false;\n }\n\n if (duplicate && state.usedDuplicates[duplicateIndex]) {\n state.dump = '*ref_' + duplicateIndex;\n } else {\n if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {\n state.usedDuplicates[duplicateIndex] = true;\n }\n if (type === '[object Object]') {\n if (block && (Object.keys(state.dump).length !== 0)) {\n writeBlockMapping(state, level, state.dump, compact);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowMapping(state, level, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object Array]') {\n var arrayLevel = (state.noArrayIndent && (level > 0)) ? level - 1 : level;\n if (block && (state.dump.length !== 0)) {\n writeBlockSequence(state, arrayLevel, state.dump, compact);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowSequence(state, arrayLevel, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object String]') {\n if (state.tag !== '?') {\n writeScalar(state, state.dump, level, iskey);\n }\n } else {\n if (state.skipInvalid) return false;\n throw new YAMLException('unacceptable kind of an object to dump ' + type);\n }\n\n if (state.tag !== null && state.tag !== '?') {\n state.dump = '!<' + state.tag + '> ' + state.dump;\n }\n }\n\n return true;\n}\n\nfunction getDuplicateReferences(object, state) {\n var objects = [],\n duplicatesIndexes = [],\n index,\n length;\n\n inspectNode(object, objects, duplicatesIndexes);\n\n for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) {\n state.duplicates.push(objects[duplicatesIndexes[index]]);\n }\n state.usedDuplicates = new Array(length);\n}\n\nfunction inspectNode(object, objects, duplicatesIndexes) {\n var objectKeyList,\n index,\n length;\n\n if (object !== null && typeof object === 'object') {\n index = objects.indexOf(object);\n if (index !== -1) {\n if (duplicatesIndexes.indexOf(index) === -1) {\n duplicatesIndexes.push(index);\n }\n } else {\n objects.push(object);\n\n if (Array.isArray(object)) {\n for (index = 0, length = object.length; index < length; index += 1) {\n inspectNode(object[index], objects, duplicatesIndexes);\n }\n } else {\n objectKeyList = Object.keys(object);\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);\n }\n }\n }\n }\n}\n\nfunction dump(input, options) {\n options = options || {};\n\n var state = new State(options);\n\n if (!state.noRefs) getDuplicateReferences(input, state);\n\n if (writeNode(state, 0, input, true, true)) return state.dump + '\\n';\n\n return '';\n}\n\nfunction safeDump(input, options) {\n return dump(input, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));\n}\n\nmodule.exports.dump = dump;\nmodule.exports.safeDump = safeDump;\n","// YAML error class. http://stackoverflow.com/questions/8458984\n//\n'use strict';\n\nfunction YAMLException(reason, mark) {\n // Super constructor\n Error.call(this);\n\n this.name = 'YAMLException';\n this.reason = reason;\n this.mark = mark;\n this.message = (this.reason || '(unknown reason)') + (this.mark ? ' ' + this.mark.toString() : '');\n\n // Include stack trace in error object\n if (Error.captureStackTrace) {\n // Chrome and NodeJS\n Error.captureStackTrace(this, this.constructor);\n } else {\n // FF, IE 10+ and Safari 6+. Fallback for others\n this.stack = (new Error()).stack || '';\n }\n}\n\n\n// Inherit from Error\nYAMLException.prototype = Object.create(Error.prototype);\nYAMLException.prototype.constructor = YAMLException;\n\n\nYAMLException.prototype.toString = function toString(compact) {\n var result = this.name + ': ';\n\n result += this.reason || '(unknown reason)';\n\n if (!compact && this.mark) {\n result += ' ' + this.mark.toString();\n }\n\n return result;\n};\n\n\nmodule.exports = YAMLException;\n","'use strict';\n\n/*eslint-disable max-len,no-use-before-define*/\n\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar Mark = require('./mark');\nvar DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');\nvar DEFAULT_FULL_SCHEMA = require('./schema/default_full');\n\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\n\nvar CONTEXT_FLOW_IN = 1;\nvar CONTEXT_FLOW_OUT = 2;\nvar CONTEXT_BLOCK_IN = 3;\nvar CONTEXT_BLOCK_OUT = 4;\n\n\nvar CHOMPING_CLIP = 1;\nvar CHOMPING_STRIP = 2;\nvar CHOMPING_KEEP = 3;\n\n\nvar PATTERN_NON_PRINTABLE = /[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F\\x7F-\\x84\\x86-\\x9F\\uFFFE\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\nvar PATTERN_NON_ASCII_LINE_BREAKS = /[\\x85\\u2028\\u2029]/;\nvar PATTERN_FLOW_INDICATORS = /[,\\[\\]\\{\\}]/;\nvar PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\\-]+!)$/i;\nvar PATTERN_TAG_URI = /^(?:!|[^,\\[\\]\\{\\}])(?:%[0-9a-f]{2}|[0-9a-z\\-#;\\/\\?:@&=\\+\\$,_\\.!~\\*'\\(\\)\\[\\]])*$/i;\n\n\nfunction _class(obj) { return Object.prototype.toString.call(obj); }\n\nfunction is_EOL(c) {\n return (c === 0x0A/* LF */) || (c === 0x0D/* CR */);\n}\n\nfunction is_WHITE_SPACE(c) {\n return (c === 0x09/* Tab */) || (c === 0x20/* Space */);\n}\n\nfunction is_WS_OR_EOL(c) {\n return (c === 0x09/* Tab */) ||\n (c === 0x20/* Space */) ||\n (c === 0x0A/* LF */) ||\n (c === 0x0D/* CR */);\n}\n\nfunction is_FLOW_INDICATOR(c) {\n return c === 0x2C/* , */ ||\n c === 0x5B/* [ */ ||\n c === 0x5D/* ] */ ||\n c === 0x7B/* { */ ||\n c === 0x7D/* } */;\n}\n\nfunction fromHexCode(c) {\n var lc;\n\n if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {\n return c - 0x30;\n }\n\n /*eslint-disable no-bitwise*/\n lc = c | 0x20;\n\n if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) {\n return lc - 0x61 + 10;\n }\n\n return -1;\n}\n\nfunction escapedHexLen(c) {\n if (c === 0x78/* x */) { return 2; }\n if (c === 0x75/* u */) { return 4; }\n if (c === 0x55/* U */) { return 8; }\n return 0;\n}\n\nfunction fromDecimalCode(c) {\n if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {\n return c - 0x30;\n }\n\n return -1;\n}\n\nfunction simpleEscapeSequence(c) {\n /* eslint-disable indent */\n return (c === 0x30/* 0 */) ? '\\x00' :\n (c === 0x61/* a */) ? '\\x07' :\n (c === 0x62/* b */) ? '\\x08' :\n (c === 0x74/* t */) ? '\\x09' :\n (c === 0x09/* Tab */) ? '\\x09' :\n (c === 0x6E/* n */) ? '\\x0A' :\n (c === 0x76/* v */) ? '\\x0B' :\n (c === 0x66/* f */) ? '\\x0C' :\n (c === 0x72/* r */) ? '\\x0D' :\n (c === 0x65/* e */) ? '\\x1B' :\n (c === 0x20/* Space */) ? ' ' :\n (c === 0x22/* \" */) ? '\\x22' :\n (c === 0x2F/* / */) ? '/' :\n (c === 0x5C/* \\ */) ? '\\x5C' :\n (c === 0x4E/* N */) ? '\\x85' :\n (c === 0x5F/* _ */) ? '\\xA0' :\n (c === 0x4C/* L */) ? '\\u2028' :\n (c === 0x50/* P */) ? '\\u2029' : '';\n}\n\nfunction charFromCodepoint(c) {\n if (c <= 0xFFFF) {\n return String.fromCharCode(c);\n }\n // Encode UTF-16 surrogate pair\n // https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF\n return String.fromCharCode(\n ((c - 0x010000) >> 10) + 0xD800,\n ((c - 0x010000) & 0x03FF) + 0xDC00\n );\n}\n\nvar simpleEscapeCheck = new Array(256); // integer, for fast access\nvar simpleEscapeMap = new Array(256);\nfor (var i = 0; i < 256; i++) {\n simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;\n simpleEscapeMap[i] = simpleEscapeSequence(i);\n}\n\n\nfunction State(input, options) {\n this.input = input;\n\n this.filename = options['filename'] || null;\n this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;\n this.onWarning = options['onWarning'] || null;\n this.legacy = options['legacy'] || false;\n this.json = options['json'] || false;\n this.listener = options['listener'] || null;\n\n this.implicitTypes = this.schema.compiledImplicit;\n this.typeMap = this.schema.compiledTypeMap;\n\n this.length = input.length;\n this.position = 0;\n this.line = 0;\n this.lineStart = 0;\n this.lineIndent = 0;\n\n this.documents = [];\n\n /*\n this.version;\n this.checkLineBreaks;\n this.tagMap;\n this.anchorMap;\n this.tag;\n this.anchor;\n this.kind;\n this.result;*/\n\n}\n\n\nfunction generateError(state, message) {\n return new YAMLException(\n message,\n new Mark(state.filename, state.input, state.position, state.line, (state.position - state.lineStart)));\n}\n\nfunction throwError(state, message) {\n throw generateError(state, message);\n}\n\nfunction throwWarning(state, message) {\n if (state.onWarning) {\n state.onWarning.call(null, generateError(state, message));\n }\n}\n\n\nvar directiveHandlers = {\n\n YAML: function handleYamlDirective(state, name, args) {\n\n var match, major, minor;\n\n if (state.version !== null) {\n throwError(state, 'duplication of %YAML directive');\n }\n\n if (args.length !== 1) {\n throwError(state, 'YAML directive accepts exactly one argument');\n }\n\n match = /^([0-9]+)\\.([0-9]+)$/.exec(args[0]);\n\n if (match === null) {\n throwError(state, 'ill-formed argument of the YAML directive');\n }\n\n major = parseInt(match[1], 10);\n minor = parseInt(match[2], 10);\n\n if (major !== 1) {\n throwError(state, 'unacceptable YAML version of the document');\n }\n\n state.version = args[0];\n state.checkLineBreaks = (minor < 2);\n\n if (minor !== 1 && minor !== 2) {\n throwWarning(state, 'unsupported YAML version of the document');\n }\n },\n\n TAG: function handleTagDirective(state, name, args) {\n\n var handle, prefix;\n\n if (args.length !== 2) {\n throwError(state, 'TAG directive accepts exactly two arguments');\n }\n\n handle = args[0];\n prefix = args[1];\n\n if (!PATTERN_TAG_HANDLE.test(handle)) {\n throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');\n }\n\n if (_hasOwnProperty.call(state.tagMap, handle)) {\n throwError(state, 'there is a previously declared suffix for \"' + handle + '\" tag handle');\n }\n\n if (!PATTERN_TAG_URI.test(prefix)) {\n throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');\n }\n\n state.tagMap[handle] = prefix;\n }\n};\n\n\nfunction captureSegment(state, start, end, checkJson) {\n var _position, _length, _character, _result;\n\n if (start < end) {\n _result = state.input.slice(start, end);\n\n if (checkJson) {\n for (_position = 0, _length = _result.length; _position < _length; _position += 1) {\n _character = _result.charCodeAt(_position);\n if (!(_character === 0x09 ||\n (0x20 <= _character && _character <= 0x10FFFF))) {\n throwError(state, 'expected valid JSON character');\n }\n }\n } else if (PATTERN_NON_PRINTABLE.test(_result)) {\n throwError(state, 'the stream contains non-printable characters');\n }\n\n state.result += _result;\n }\n}\n\nfunction mergeMappings(state, destination, source, overridableKeys) {\n var sourceKeys, key, index, quantity;\n\n if (!common.isObject(source)) {\n throwError(state, 'cannot merge mappings; the provided source object is unacceptable');\n }\n\n sourceKeys = Object.keys(source);\n\n for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {\n key = sourceKeys[index];\n\n if (!_hasOwnProperty.call(destination, key)) {\n destination[key] = source[key];\n overridableKeys[key] = true;\n }\n }\n}\n\nfunction storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) {\n var index, quantity;\n\n // The output is a plain object here, so keys can only be strings.\n // We need to convert keyNode to a string, but doing so can hang the process\n // (deeply nested arrays that explode exponentially using aliases).\n if (Array.isArray(keyNode)) {\n keyNode = Array.prototype.slice.call(keyNode);\n\n for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {\n if (Array.isArray(keyNode[index])) {\n throwError(state, 'nested arrays are not supported inside keys');\n }\n\n if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') {\n keyNode[index] = '[object Object]';\n }\n }\n }\n\n // Avoid code execution in load() via toString property\n // (still use its own toString for arrays, timestamps,\n // and whatever user schema extensions happen to have @@toStringTag)\n if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') {\n keyNode = '[object Object]';\n }\n\n\n keyNode = String(keyNode);\n\n if (_result === null) {\n _result = {};\n }\n\n if (keyTag === 'tag:yaml.org,2002:merge') {\n if (Array.isArray(valueNode)) {\n for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {\n mergeMappings(state, _result, valueNode[index], overridableKeys);\n }\n } else {\n mergeMappings(state, _result, valueNode, overridableKeys);\n }\n } else {\n if (!state.json &&\n !_hasOwnProperty.call(overridableKeys, keyNode) &&\n _hasOwnProperty.call(_result, keyNode)) {\n state.line = startLine || state.line;\n state.position = startPos || state.position;\n throwError(state, 'duplicated mapping key');\n }\n _result[keyNode] = valueNode;\n delete overridableKeys[keyNode];\n }\n\n return _result;\n}\n\nfunction readLineBreak(state) {\n var ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x0A/* LF */) {\n state.position++;\n } else if (ch === 0x0D/* CR */) {\n state.position++;\n if (state.input.charCodeAt(state.position) === 0x0A/* LF */) {\n state.position++;\n }\n } else {\n throwError(state, 'a line break is expected');\n }\n\n state.line += 1;\n state.lineStart = state.position;\n}\n\nfunction skipSeparationSpace(state, allowComments, checkIndent) {\n var lineBreaks = 0,\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (allowComments && ch === 0x23/* # */) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0);\n }\n\n if (is_EOL(ch)) {\n readLineBreak(state);\n\n ch = state.input.charCodeAt(state.position);\n lineBreaks++;\n state.lineIndent = 0;\n\n while (ch === 0x20/* Space */) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n } else {\n break;\n }\n }\n\n if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {\n throwWarning(state, 'deficient indentation');\n }\n\n return lineBreaks;\n}\n\nfunction testDocumentSeparator(state) {\n var _position = state.position,\n ch;\n\n ch = state.input.charCodeAt(_position);\n\n // Condition state.position === state.lineStart is tested\n // in parent on each call, for efficiency. No needs to test here again.\n if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) &&\n ch === state.input.charCodeAt(_position + 1) &&\n ch === state.input.charCodeAt(_position + 2)) {\n\n _position += 3;\n\n ch = state.input.charCodeAt(_position);\n\n if (ch === 0 || is_WS_OR_EOL(ch)) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction writeFoldedLines(state, count) {\n if (count === 1) {\n state.result += ' ';\n } else if (count > 1) {\n state.result += common.repeat('\\n', count - 1);\n }\n}\n\n\nfunction readPlainScalar(state, nodeIndent, withinFlowCollection) {\n var preceding,\n following,\n captureStart,\n captureEnd,\n hasPendingContent,\n _line,\n _lineStart,\n _lineIndent,\n _kind = state.kind,\n _result = state.result,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (is_WS_OR_EOL(ch) ||\n is_FLOW_INDICATOR(ch) ||\n ch === 0x23/* # */ ||\n ch === 0x26/* & */ ||\n ch === 0x2A/* * */ ||\n ch === 0x21/* ! */ ||\n ch === 0x7C/* | */ ||\n ch === 0x3E/* > */ ||\n ch === 0x27/* ' */ ||\n ch === 0x22/* \" */ ||\n ch === 0x25/* % */ ||\n ch === 0x40/* @ */ ||\n ch === 0x60/* ` */) {\n return false;\n }\n\n if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following) ||\n withinFlowCollection && is_FLOW_INDICATOR(following)) {\n return false;\n }\n }\n\n state.kind = 'scalar';\n state.result = '';\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n\n while (ch !== 0) {\n if (ch === 0x3A/* : */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following) ||\n withinFlowCollection && is_FLOW_INDICATOR(following)) {\n break;\n }\n\n } else if (ch === 0x23/* # */) {\n preceding = state.input.charCodeAt(state.position - 1);\n\n if (is_WS_OR_EOL(preceding)) {\n break;\n }\n\n } else if ((state.position === state.lineStart && testDocumentSeparator(state)) ||\n withinFlowCollection && is_FLOW_INDICATOR(ch)) {\n break;\n\n } else if (is_EOL(ch)) {\n _line = state.line;\n _lineStart = state.lineStart;\n _lineIndent = state.lineIndent;\n skipSeparationSpace(state, false, -1);\n\n if (state.lineIndent >= nodeIndent) {\n hasPendingContent = true;\n ch = state.input.charCodeAt(state.position);\n continue;\n } else {\n state.position = captureEnd;\n state.line = _line;\n state.lineStart = _lineStart;\n state.lineIndent = _lineIndent;\n break;\n }\n }\n\n if (hasPendingContent) {\n captureSegment(state, captureStart, captureEnd, false);\n writeFoldedLines(state, state.line - _line);\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n }\n\n if (!is_WHITE_SPACE(ch)) {\n captureEnd = state.position + 1;\n }\n\n ch = state.input.charCodeAt(++state.position);\n }\n\n captureSegment(state, captureStart, captureEnd, false);\n\n if (state.result) {\n return true;\n }\n\n state.kind = _kind;\n state.result = _result;\n return false;\n}\n\nfunction readSingleQuotedScalar(state, nodeIndent) {\n var ch,\n captureStart, captureEnd;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x27/* ' */) {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x27/* ' */) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x27/* ' */) {\n captureStart = state.position;\n state.position++;\n captureEnd = state.position;\n } else {\n return true;\n }\n\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a single quoted scalar');\n\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a single quoted scalar');\n}\n\nfunction readDoubleQuotedScalar(state, nodeIndent) {\n var captureStart,\n captureEnd,\n hexLength,\n hexResult,\n tmp,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x22/* \" */) {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x22/* \" */) {\n captureSegment(state, captureStart, state.position, true);\n state.position++;\n return true;\n\n } else if (ch === 0x5C/* \\ */) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n\n if (is_EOL(ch)) {\n skipSeparationSpace(state, false, nodeIndent);\n\n // TODO: rework to inline fn with no type cast?\n } else if (ch < 256 && simpleEscapeCheck[ch]) {\n state.result += simpleEscapeMap[ch];\n state.position++;\n\n } else if ((tmp = escapedHexLen(ch)) > 0) {\n hexLength = tmp;\n hexResult = 0;\n\n for (; hexLength > 0; hexLength--) {\n ch = state.input.charCodeAt(++state.position);\n\n if ((tmp = fromHexCode(ch)) >= 0) {\n hexResult = (hexResult << 4) + tmp;\n\n } else {\n throwError(state, 'expected hexadecimal character');\n }\n }\n\n state.result += charFromCodepoint(hexResult);\n\n state.position++;\n\n } else {\n throwError(state, 'unknown escape sequence');\n }\n\n captureStart = captureEnd = state.position;\n\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a double quoted scalar');\n\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a double quoted scalar');\n}\n\nfunction readFlowCollection(state, nodeIndent) {\n var readNext = true,\n _line,\n _tag = state.tag,\n _result,\n _anchor = state.anchor,\n following,\n terminator,\n isPair,\n isExplicitPair,\n isMapping,\n overridableKeys = {},\n keyNode,\n keyTag,\n valueNode,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x5B/* [ */) {\n terminator = 0x5D;/* ] */\n isMapping = false;\n _result = [];\n } else if (ch === 0x7B/* { */) {\n terminator = 0x7D;/* } */\n isMapping = true;\n _result = {};\n } else {\n return false;\n }\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(++state.position);\n\n while (ch !== 0) {\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === terminator) {\n state.position++;\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = isMapping ? 'mapping' : 'sequence';\n state.result = _result;\n return true;\n } else if (!readNext) {\n throwError(state, 'missed comma between flow collection entries');\n }\n\n keyTag = keyNode = valueNode = null;\n isPair = isExplicitPair = false;\n\n if (ch === 0x3F/* ? */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following)) {\n isPair = isExplicitPair = true;\n state.position++;\n skipSeparationSpace(state, true, nodeIndent);\n }\n }\n\n _line = state.line;\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n keyTag = state.tag;\n keyNode = state.result;\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) {\n isPair = true;\n ch = state.input.charCodeAt(++state.position);\n skipSeparationSpace(state, true, nodeIndent);\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n valueNode = state.result;\n }\n\n if (isMapping) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode);\n } else if (isPair) {\n _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode));\n } else {\n _result.push(keyNode);\n }\n\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x2C/* , */) {\n readNext = true;\n ch = state.input.charCodeAt(++state.position);\n } else {\n readNext = false;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a flow collection');\n}\n\nfunction readBlockScalar(state, nodeIndent) {\n var captureStart,\n folding,\n chomping = CHOMPING_CLIP,\n didReadContent = false,\n detectedIndent = false,\n textIndent = nodeIndent,\n emptyLines = 0,\n atMoreIndented = false,\n tmp,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x7C/* | */) {\n folding = false;\n } else if (ch === 0x3E/* > */) {\n folding = true;\n } else {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n\n while (ch !== 0) {\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x2B/* + */ || ch === 0x2D/* - */) {\n if (CHOMPING_CLIP === chomping) {\n chomping = (ch === 0x2B/* + */) ? CHOMPING_KEEP : CHOMPING_STRIP;\n } else {\n throwError(state, 'repeat of a chomping mode identifier');\n }\n\n } else if ((tmp = fromDecimalCode(ch)) >= 0) {\n if (tmp === 0) {\n throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');\n } else if (!detectedIndent) {\n textIndent = nodeIndent + tmp - 1;\n detectedIndent = true;\n } else {\n throwError(state, 'repeat of an indentation width identifier');\n }\n\n } else {\n break;\n }\n }\n\n if (is_WHITE_SPACE(ch)) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (is_WHITE_SPACE(ch));\n\n if (ch === 0x23/* # */) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (!is_EOL(ch) && (ch !== 0));\n }\n }\n\n while (ch !== 0) {\n readLineBreak(state);\n state.lineIndent = 0;\n\n ch = state.input.charCodeAt(state.position);\n\n while ((!detectedIndent || state.lineIndent < textIndent) &&\n (ch === 0x20/* Space */)) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (!detectedIndent && state.lineIndent > textIndent) {\n textIndent = state.lineIndent;\n }\n\n if (is_EOL(ch)) {\n emptyLines++;\n continue;\n }\n\n // End of the scalar.\n if (state.lineIndent < textIndent) {\n\n // Perform the chomping.\n if (chomping === CHOMPING_KEEP) {\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n } else if (chomping === CHOMPING_CLIP) {\n if (didReadContent) { // i.e. only if the scalar is not empty.\n state.result += '\\n';\n }\n }\n\n // Break this `while` cycle and go to the funciton's epilogue.\n break;\n }\n\n // Folded style: use fancy rules to handle line breaks.\n if (folding) {\n\n // Lines starting with white space characters (more-indented lines) are not folded.\n if (is_WHITE_SPACE(ch)) {\n atMoreIndented = true;\n // except for the first content line (cf. Example 8.1)\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n\n // End of more-indented block.\n } else if (atMoreIndented) {\n atMoreIndented = false;\n state.result += common.repeat('\\n', emptyLines + 1);\n\n // Just one line break - perceive as the same line.\n } else if (emptyLines === 0) {\n if (didReadContent) { // i.e. only if we have already read some scalar content.\n state.result += ' ';\n }\n\n // Several line breaks - perceive as different lines.\n } else {\n state.result += common.repeat('\\n', emptyLines);\n }\n\n // Literal style: just add exact number of line breaks between content lines.\n } else {\n // Keep all line breaks except the header line break.\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n }\n\n didReadContent = true;\n detectedIndent = true;\n emptyLines = 0;\n captureStart = state.position;\n\n while (!is_EOL(ch) && (ch !== 0)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n captureSegment(state, captureStart, state.position, false);\n }\n\n return true;\n}\n\nfunction readBlockSequence(state, nodeIndent) {\n var _line,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = [],\n following,\n detected = false,\n ch;\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n\n if (ch !== 0x2D/* - */) {\n break;\n }\n\n following = state.input.charCodeAt(state.position + 1);\n\n if (!is_WS_OR_EOL(following)) {\n break;\n }\n\n detected = true;\n state.position++;\n\n if (skipSeparationSpace(state, true, -1)) {\n if (state.lineIndent <= nodeIndent) {\n _result.push(null);\n ch = state.input.charCodeAt(state.position);\n continue;\n }\n }\n\n _line = state.line;\n composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);\n _result.push(state.result);\n skipSeparationSpace(state, true, -1);\n\n ch = state.input.charCodeAt(state.position);\n\n if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {\n throwError(state, 'bad indentation of a sequence entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'sequence';\n state.result = _result;\n return true;\n }\n return false;\n}\n\nfunction readBlockMapping(state, nodeIndent, flowIndent) {\n var following,\n allowCompact,\n _line,\n _pos,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = {},\n overridableKeys = {},\n keyTag = null,\n keyNode = null,\n valueNode = null,\n atExplicitKey = false,\n detected = false,\n ch;\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n following = state.input.charCodeAt(state.position + 1);\n _line = state.line; // Save the current line.\n _pos = state.position;\n\n //\n // Explicit notation case. There are two separate blocks:\n // first for the key (denoted by \"?\") and second for the value (denoted by \":\")\n //\n if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) {\n\n if (ch === 0x3F/* ? */) {\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);\n keyTag = keyNode = valueNode = null;\n }\n\n detected = true;\n atExplicitKey = true;\n allowCompact = true;\n\n } else if (atExplicitKey) {\n // i.e. 0x3A/* : */ === character after the explicit key.\n atExplicitKey = false;\n allowCompact = true;\n\n } else {\n throwError(state, 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line');\n }\n\n state.position += 1;\n ch = following;\n\n //\n // Implicit notation case. Flow-style node as the key first, then \":\", and the value.\n //\n } else if (composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {\n\n if (state.line === _line) {\n ch = state.input.charCodeAt(state.position);\n\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (ch === 0x3A/* : */) {\n ch = state.input.charCodeAt(++state.position);\n\n if (!is_WS_OR_EOL(ch)) {\n throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');\n }\n\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);\n keyTag = keyNode = valueNode = null;\n }\n\n detected = true;\n atExplicitKey = false;\n allowCompact = false;\n keyTag = state.tag;\n keyNode = state.result;\n\n } else if (detected) {\n throwError(state, 'can not read an implicit mapping pair; a colon is missed');\n\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true; // Keep the result of `composeNode`.\n }\n\n } else if (detected) {\n throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');\n\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true; // Keep the result of `composeNode`.\n }\n\n } else {\n break; // Reading is done. Go to the epilogue.\n }\n\n //\n // Common reading code for both explicit and implicit notations.\n //\n if (state.line === _line || state.lineIndent > nodeIndent) {\n if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {\n if (atExplicitKey) {\n keyNode = state.result;\n } else {\n valueNode = state.result;\n }\n }\n\n if (!atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _pos);\n keyTag = keyNode = valueNode = null;\n }\n\n skipSeparationSpace(state, true, -1);\n ch = state.input.charCodeAt(state.position);\n }\n\n if (state.lineIndent > nodeIndent && (ch !== 0)) {\n throwError(state, 'bad indentation of a mapping entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n\n //\n // Epilogue.\n //\n\n // Special case: last mapping's node contains only the key in explicit notation.\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);\n }\n\n // Expose the resulting mapping.\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'mapping';\n state.result = _result;\n }\n\n return detected;\n}\n\nfunction readTagProperty(state) {\n var _position,\n isVerbatim = false,\n isNamed = false,\n tagHandle,\n tagName,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x21/* ! */) return false;\n\n if (state.tag !== null) {\n throwError(state, 'duplication of a tag property');\n }\n\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x3C/* < */) {\n isVerbatim = true;\n ch = state.input.charCodeAt(++state.position);\n\n } else if (ch === 0x21/* ! */) {\n isNamed = true;\n tagHandle = '!!';\n ch = state.input.charCodeAt(++state.position);\n\n } else {\n tagHandle = '!';\n }\n\n _position = state.position;\n\n if (isVerbatim) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (ch !== 0 && ch !== 0x3E/* > */);\n\n if (state.position < state.length) {\n tagName = state.input.slice(_position, state.position);\n ch = state.input.charCodeAt(++state.position);\n } else {\n throwError(state, 'unexpected end of the stream within a verbatim tag');\n }\n } else {\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n\n if (ch === 0x21/* ! */) {\n if (!isNamed) {\n tagHandle = state.input.slice(_position - 1, state.position + 1);\n\n if (!PATTERN_TAG_HANDLE.test(tagHandle)) {\n throwError(state, 'named tag handle cannot contain such characters');\n }\n\n isNamed = true;\n _position = state.position + 1;\n } else {\n throwError(state, 'tag suffix cannot contain exclamation marks');\n }\n }\n\n ch = state.input.charCodeAt(++state.position);\n }\n\n tagName = state.input.slice(_position, state.position);\n\n if (PATTERN_FLOW_INDICATORS.test(tagName)) {\n throwError(state, 'tag suffix cannot contain flow indicator characters');\n }\n }\n\n if (tagName && !PATTERN_TAG_URI.test(tagName)) {\n throwError(state, 'tag name cannot contain such characters: ' + tagName);\n }\n\n if (isVerbatim) {\n state.tag = tagName;\n\n } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {\n state.tag = state.tagMap[tagHandle] + tagName;\n\n } else if (tagHandle === '!') {\n state.tag = '!' + tagName;\n\n } else if (tagHandle === '!!') {\n state.tag = 'tag:yaml.org,2002:' + tagName;\n\n } else {\n throwError(state, 'undeclared tag handle \"' + tagHandle + '\"');\n }\n\n return true;\n}\n\nfunction readAnchorProperty(state) {\n var _position,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x26/* & */) return false;\n\n if (state.anchor !== null) {\n throwError(state, 'duplication of an anchor property');\n }\n\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (state.position === _position) {\n throwError(state, 'name of an anchor node must contain at least one character');\n }\n\n state.anchor = state.input.slice(_position, state.position);\n return true;\n}\n\nfunction readAlias(state) {\n var _position, alias,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x2A/* * */) return false;\n\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (state.position === _position) {\n throwError(state, 'name of an alias node must contain at least one character');\n }\n\n alias = state.input.slice(_position, state.position);\n\n if (!state.anchorMap.hasOwnProperty(alias)) {\n throwError(state, 'unidentified alias \"' + alias + '\"');\n }\n\n state.result = state.anchorMap[alias];\n skipSeparationSpace(state, true, -1);\n return true;\n}\n\nfunction composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {\n var allowBlockStyles,\n allowBlockScalars,\n allowBlockCollections,\n indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n }\n }\n\n if (indentStatus === 1) {\n while (readTagProperty(state) || readAnchorProperty(state)) {\n if (skipSeparationSpace(state, true, -1)) {\n atNewLine = true;\n allowBlockCollections = allowBlockStyles;\n\n if (state.lineIndent > parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n } else {\n allowBlockCollections = false;\n }\n }\n }\n\n if (allowBlockCollections) {\n allowBlockCollections = atNewLine || allowCompact;\n }\n\n if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {\n if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {\n flowIndent = parentIndent;\n } else {\n flowIndent = parentIndent + 1;\n }\n\n blockIndent = state.position - state.lineStart;\n\n if (indentStatus === 1) {\n if (allowBlockCollections &&\n (readBlockSequence(state, blockIndent) ||\n readBlockMapping(state, blockIndent, flowIndent)) ||\n readFlowCollection(state, flowIndent)) {\n hasContent = true;\n } else {\n if ((allowBlockScalars && readBlockScalar(state, flowIndent)) ||\n readSingleQuotedScalar(state, flowIndent) ||\n readDoubleQuotedScalar(state, flowIndent)) {\n hasContent = true;\n\n } else if (readAlias(state)) {\n hasContent = true;\n\n if (state.tag !== null || state.anchor !== null) {\n throwError(state, 'alias node should not have any properties');\n }\n\n } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {\n hasContent = true;\n\n if (state.tag === null) {\n state.tag = '?';\n }\n }\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n } else if (indentStatus === 0) {\n // Special case: block sequences are allowed to have same indentation level as the parent.\n // http://www.yaml.org/spec/1.2/spec.html#id2799784\n hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);\n }\n }\n\n if (state.tag !== null && state.tag !== '!') {\n if (state.tag === '?') {\n // Implicit resolving is not allowed for non-scalar types, and '?'\n // non-specific tag is only automatically assigned to plain scalars.\n //\n // We only need to check kind conformity in case user explicitly assigns '?'\n // tag, for example like this: \"! [0]\"\n //\n if (state.result !== null && state.kind !== 'scalar') {\n throwError(state, 'unacceptable node kind for ! tag; it should be \"scalar\", not \"' + state.kind + '\"');\n }\n\n for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {\n type = state.implicitTypes[typeIndex];\n\n if (type.resolve(state.result)) { // `state.result` updated in resolver if matched\n state.result = type.construct(state.result);\n state.tag = type.tag;\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n break;\n }\n }\n } else if (_hasOwnProperty.call(state.typeMap[state.kind || 'fallback'], state.tag)) {\n type = state.typeMap[state.kind || 'fallback'][state.tag];\n\n if (state.result !== null && type.kind !== state.kind) {\n throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be \"' + type.kind + '\", not \"' + state.kind + '\"');\n }\n\n if (!type.resolve(state.result)) { // `state.result` updated in resolver if matched\n throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');\n } else {\n state.result = type.construct(state.result);\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n } else {\n throwError(state, 'unknown tag !<' + state.tag + '>');\n }\n }\n\n if (state.listener !== null) {\n state.listener('close', state);\n }\n return state.tag !== null || state.anchor !== null || hasContent;\n}\n\nfunction readDocument(state) {\n var documentStart = state.position,\n _position,\n directiveName,\n directiveArgs,\n hasDirectives = false,\n ch;\n\n state.version = null;\n state.checkLineBreaks = state.legacy;\n state.tagMap = {};\n state.anchorMap = {};\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n skipSeparationSpace(state, true, -1);\n\n ch = state.input.charCodeAt(state.position);\n\n if (state.lineIndent > 0 || ch !== 0x25/* % */) {\n break;\n }\n\n hasDirectives = true;\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n directiveName = state.input.slice(_position, state.position);\n directiveArgs = [];\n\n if (directiveName.length < 1) {\n throwError(state, 'directive name must not be less than one character in length');\n }\n\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (ch === 0x23/* # */) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (ch !== 0 && !is_EOL(ch));\n break;\n }\n\n if (is_EOL(ch)) break;\n\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n directiveArgs.push(state.input.slice(_position, state.position));\n }\n\n if (ch !== 0) readLineBreak(state);\n\n if (_hasOwnProperty.call(directiveHandlers, directiveName)) {\n directiveHandlers[directiveName](state, directiveName, directiveArgs);\n } else {\n throwWarning(state, 'unknown document directive \"' + directiveName + '\"');\n }\n }\n\n skipSeparationSpace(state, true, -1);\n\n if (state.lineIndent === 0 &&\n state.input.charCodeAt(state.position) === 0x2D/* - */ &&\n state.input.charCodeAt(state.position + 1) === 0x2D/* - */ &&\n state.input.charCodeAt(state.position + 2) === 0x2D/* - */) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n\n } else if (hasDirectives) {\n throwError(state, 'directives end mark is expected');\n }\n\n composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);\n skipSeparationSpace(state, true, -1);\n\n if (state.checkLineBreaks &&\n PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {\n throwWarning(state, 'non-ASCII line breaks are interpreted as content');\n }\n\n state.documents.push(state.result);\n\n if (state.position === state.lineStart && testDocumentSeparator(state)) {\n\n if (state.input.charCodeAt(state.position) === 0x2E/* . */) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n }\n return;\n }\n\n if (state.position < (state.length - 1)) {\n throwError(state, 'end of the stream or a document separator is expected');\n } else {\n return;\n }\n}\n\n\nfunction loadDocuments(input, options) {\n input = String(input);\n options = options || {};\n\n if (input.length !== 0) {\n\n // Add tailing `\\n` if not exists\n if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ &&\n input.charCodeAt(input.length - 1) !== 0x0D/* CR */) {\n input += '\\n';\n }\n\n // Strip BOM\n if (input.charCodeAt(0) === 0xFEFF) {\n input = input.slice(1);\n }\n }\n\n var state = new State(input, options);\n\n var nullpos = input.indexOf('\\0');\n\n if (nullpos !== -1) {\n state.position = nullpos;\n throwError(state, 'null byte is not allowed in input');\n }\n\n // Use 0 as string terminator. That significantly simplifies bounds check.\n state.input += '\\0';\n\n while (state.input.charCodeAt(state.position) === 0x20/* Space */) {\n state.lineIndent += 1;\n state.position += 1;\n }\n\n while (state.position < (state.length - 1)) {\n readDocument(state);\n }\n\n return state.documents;\n}\n\n\nfunction loadAll(input, iterator, options) {\n if (iterator !== null && typeof iterator === 'object' && typeof options === 'undefined') {\n options = iterator;\n iterator = null;\n }\n\n var documents = loadDocuments(input, options);\n\n if (typeof iterator !== 'function') {\n return documents;\n }\n\n for (var index = 0, length = documents.length; index < length; index += 1) {\n iterator(documents[index]);\n }\n}\n\n\nfunction load(input, options) {\n var documents = loadDocuments(input, options);\n\n if (documents.length === 0) {\n /*eslint-disable no-undefined*/\n return undefined;\n } else if (documents.length === 1) {\n return documents[0];\n }\n throw new YAMLException('expected a single document in the stream, but found more');\n}\n\n\nfunction safeLoadAll(input, iterator, options) {\n if (typeof iterator === 'object' && iterator !== null && typeof options === 'undefined') {\n options = iterator;\n iterator = null;\n }\n\n return loadAll(input, iterator, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));\n}\n\n\nfunction safeLoad(input, options) {\n return load(input, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));\n}\n\n\nmodule.exports.loadAll = loadAll;\nmodule.exports.load = load;\nmodule.exports.safeLoadAll = safeLoadAll;\nmodule.exports.safeLoad = safeLoad;\n","'use strict';\n\n\nvar common = require('./common');\n\n\nfunction Mark(name, buffer, position, line, column) {\n this.name = name;\n this.buffer = buffer;\n this.position = position;\n this.line = line;\n this.column = column;\n}\n\n\nMark.prototype.getSnippet = function getSnippet(indent, maxLength) {\n var head, start, tail, end, snippet;\n\n if (!this.buffer) return null;\n\n indent = indent || 4;\n maxLength = maxLength || 75;\n\n head = '';\n start = this.position;\n\n while (start > 0 && '\\x00\\r\\n\\x85\\u2028\\u2029'.indexOf(this.buffer.charAt(start - 1)) === -1) {\n start -= 1;\n if (this.position - start > (maxLength / 2 - 1)) {\n head = ' ... ';\n start += 5;\n break;\n }\n }\n\n tail = '';\n end = this.position;\n\n while (end < this.buffer.length && '\\x00\\r\\n\\x85\\u2028\\u2029'.indexOf(this.buffer.charAt(end)) === -1) {\n end += 1;\n if (end - this.position > (maxLength / 2 - 1)) {\n tail = ' ... ';\n end -= 5;\n break;\n }\n }\n\n snippet = this.buffer.slice(start, end);\n\n return common.repeat(' ', indent) + head + snippet + tail + '\\n' +\n common.repeat(' ', indent + this.position - start + head.length) + '^';\n};\n\n\nMark.prototype.toString = function toString(compact) {\n var snippet, where = '';\n\n if (this.name) {\n where += 'in \"' + this.name + '\" ';\n }\n\n where += 'at line ' + (this.line + 1) + ', column ' + (this.column + 1);\n\n if (!compact) {\n snippet = this.getSnippet();\n\n if (snippet) {\n where += ':\\n' + snippet;\n }\n }\n\n return where;\n};\n\n\nmodule.exports = Mark;\n","'use strict';\n\n/*eslint-disable max-len*/\n\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar Type = require('./type');\n\n\nfunction compileList(schema, name, result) {\n var exclude = [];\n\n schema.include.forEach(function (includedSchema) {\n result = compileList(includedSchema, name, result);\n });\n\n schema[name].forEach(function (currentType) {\n result.forEach(function (previousType, previousIndex) {\n if (previousType.tag === currentType.tag && previousType.kind === currentType.kind) {\n exclude.push(previousIndex);\n }\n });\n\n result.push(currentType);\n });\n\n return result.filter(function (type, index) {\n return exclude.indexOf(index) === -1;\n });\n}\n\n\nfunction compileMap(/* lists... */) {\n var result = {\n scalar: {},\n sequence: {},\n mapping: {},\n fallback: {}\n }, index, length;\n\n function collectType(type) {\n result[type.kind][type.tag] = result['fallback'][type.tag] = type;\n }\n\n for (index = 0, length = arguments.length; index < length; index += 1) {\n arguments[index].forEach(collectType);\n }\n return result;\n}\n\n\nfunction Schema(definition) {\n this.include = definition.include || [];\n this.implicit = definition.implicit || [];\n this.explicit = definition.explicit || [];\n\n this.implicit.forEach(function (type) {\n if (type.loadKind && type.loadKind !== 'scalar') {\n throw new YAMLException('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.');\n }\n });\n\n this.compiledImplicit = compileList(this, 'implicit', []);\n this.compiledExplicit = compileList(this, 'explicit', []);\n this.compiledTypeMap = compileMap(this.compiledImplicit, this.compiledExplicit);\n}\n\n\nSchema.DEFAULT = null;\n\n\nSchema.create = function createSchema() {\n var schemas, types;\n\n switch (arguments.length) {\n case 1:\n schemas = Schema.DEFAULT;\n types = arguments[0];\n break;\n\n case 2:\n schemas = arguments[0];\n types = arguments[1];\n break;\n\n default:\n throw new YAMLException('Wrong number of arguments for Schema.create function');\n }\n\n schemas = common.toArray(schemas);\n types = common.toArray(types);\n\n if (!schemas.every(function (schema) { return schema instanceof Schema; })) {\n throw new YAMLException('Specified list of super schemas (or a single Schema object) contains a non-Schema object.');\n }\n\n if (!types.every(function (type) { return type instanceof Type; })) {\n throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.');\n }\n\n return new Schema({\n include: schemas,\n explicit: types\n });\n};\n\n\nmodule.exports = Schema;\n","// Standard YAML's Core schema.\n// http://www.yaml.org/spec/1.2/spec.html#id2804923\n//\n// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.\n// So, Core schema has no distinctions from JSON schema is JS-YAML.\n\n\n'use strict';\n\n\nvar Schema = require('../schema');\n\n\nmodule.exports = new Schema({\n include: [\n require('./json')\n ]\n});\n","// JS-YAML's default schema for `load` function.\n// It is not described in the YAML specification.\n//\n// This schema is based on JS-YAML's default safe schema and includes\n// JavaScript-specific types: !!js/undefined, !!js/regexp and !!js/function.\n//\n// Also this schema is used as default base schema at `Schema.create` function.\n\n\n'use strict';\n\n\nvar Schema = require('../schema');\n\n\nmodule.exports = Schema.DEFAULT = new Schema({\n include: [\n require('./default_safe')\n ],\n explicit: [\n require('../type/js/undefined'),\n require('../type/js/regexp'),\n require('../type/js/function')\n ]\n});\n","// JS-YAML's default schema for `safeLoad` function.\n// It is not described in the YAML specification.\n//\n// This schema is based on standard YAML's Core schema and includes most of\n// extra types described at YAML tag repository. (http://yaml.org/type/)\n\n\n'use strict';\n\n\nvar Schema = require('../schema');\n\n\nmodule.exports = new Schema({\n include: [\n require('./core')\n ],\n implicit: [\n require('../type/timestamp'),\n require('../type/merge')\n ],\n explicit: [\n require('../type/binary'),\n require('../type/omap'),\n require('../type/pairs'),\n require('../type/set')\n ]\n});\n","// Standard YAML's Failsafe schema.\n// http://www.yaml.org/spec/1.2/spec.html#id2802346\n\n\n'use strict';\n\n\nvar Schema = require('../schema');\n\n\nmodule.exports = new Schema({\n explicit: [\n require('../type/str'),\n require('../type/seq'),\n require('../type/map')\n ]\n});\n","// Standard YAML's JSON schema.\n// http://www.yaml.org/spec/1.2/spec.html#id2803231\n//\n// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.\n// So, this schema is not such strict as defined in the YAML specification.\n// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.\n\n\n'use strict';\n\n\nvar Schema = require('../schema');\n\n\nmodule.exports = new Schema({\n include: [\n require('./failsafe')\n ],\n implicit: [\n require('../type/null'),\n require('../type/bool'),\n require('../type/int'),\n require('../type/float')\n ]\n});\n","'use strict';\n\nvar YAMLException = require('./exception');\n\nvar TYPE_CONSTRUCTOR_OPTIONS = [\n 'kind',\n 'resolve',\n 'construct',\n 'instanceOf',\n 'predicate',\n 'represent',\n 'defaultStyle',\n 'styleAliases'\n];\n\nvar YAML_NODE_KINDS = [\n 'scalar',\n 'sequence',\n 'mapping'\n];\n\nfunction compileStyleAliases(map) {\n var result = {};\n\n if (map !== null) {\n Object.keys(map).forEach(function (style) {\n map[style].forEach(function (alias) {\n result[String(alias)] = style;\n });\n });\n }\n\n return result;\n}\n\nfunction Type(tag, options) {\n options = options || {};\n\n Object.keys(options).forEach(function (name) {\n if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {\n throw new YAMLException('Unknown option \"' + name + '\" is met in definition of \"' + tag + '\" YAML type.');\n }\n });\n\n // TODO: Add tag format check.\n this.tag = tag;\n this.kind = options['kind'] || null;\n this.resolve = options['resolve'] || function () { return true; };\n this.construct = options['construct'] || function (data) { return data; };\n this.instanceOf = options['instanceOf'] || null;\n this.predicate = options['predicate'] || null;\n this.represent = options['represent'] || null;\n this.defaultStyle = options['defaultStyle'] || null;\n this.styleAliases = compileStyleAliases(options['styleAliases'] || null);\n\n if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {\n throw new YAMLException('Unknown kind \"' + this.kind + '\" is specified for \"' + tag + '\" YAML type.');\n }\n}\n\nmodule.exports = Type;\n",null,"'use strict';\n\nvar Type = require('../type');\n\nfunction resolveYamlBoolean(data) {\n if (data === null) return false;\n\n var max = data.length;\n\n return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) ||\n (max === 5 && (data === 'false' || data === 'False' || data === 'FALSE'));\n}\n\nfunction constructYamlBoolean(data) {\n return data === 'true' ||\n data === 'True' ||\n data === 'TRUE';\n}\n\nfunction isBoolean(object) {\n return Object.prototype.toString.call(object) === '[object Boolean]';\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:bool', {\n kind: 'scalar',\n resolve: resolveYamlBoolean,\n construct: constructYamlBoolean,\n predicate: isBoolean,\n represent: {\n lowercase: function (object) { return object ? 'true' : 'false'; },\n uppercase: function (object) { return object ? 'TRUE' : 'FALSE'; },\n camelcase: function (object) { return object ? 'True' : 'False'; }\n },\n defaultStyle: 'lowercase'\n});\n","'use strict';\n\nvar common = require('../common');\nvar Type = require('../type');\n\nvar YAML_FLOAT_PATTERN = new RegExp(\n // 2.5e4, 2.5 and integers\n '^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' +\n // .2e4, .2\n // special case, seems not from spec\n '|\\\\.[0-9_]+(?:[eE][-+]?[0-9]+)?' +\n // 20:59\n '|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*' +\n // .inf\n '|[-+]?\\\\.(?:inf|Inf|INF)' +\n // .nan\n '|\\\\.(?:nan|NaN|NAN))$');\n\nfunction resolveYamlFloat(data) {\n if (data === null) return false;\n\n if (!YAML_FLOAT_PATTERN.test(data) ||\n // Quick hack to not allow integers end with `_`\n // Probably should update regexp & check speed\n data[data.length - 1] === '_') {\n return false;\n }\n\n return true;\n}\n\nfunction constructYamlFloat(data) {\n var value, sign, base, digits;\n\n value = data.replace(/_/g, '').toLowerCase();\n sign = value[0] === '-' ? -1 : 1;\n digits = [];\n\n if ('+-'.indexOf(value[0]) >= 0) {\n value = value.slice(1);\n }\n\n if (value === '.inf') {\n return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;\n\n } else if (value === '.nan') {\n return NaN;\n\n } else if (value.indexOf(':') >= 0) {\n value.split(':').forEach(function (v) {\n digits.unshift(parseFloat(v, 10));\n });\n\n value = 0.0;\n base = 1;\n\n digits.forEach(function (d) {\n value += d * base;\n base *= 60;\n });\n\n return sign * value;\n\n }\n return sign * parseFloat(value, 10);\n}\n\n\nvar SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;\n\nfunction representYamlFloat(object, style) {\n var res;\n\n if (isNaN(object)) {\n switch (style) {\n case 'lowercase': return '.nan';\n case 'uppercase': return '.NAN';\n case 'camelcase': return '.NaN';\n }\n } else if (Number.POSITIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase': return '.inf';\n case 'uppercase': return '.INF';\n case 'camelcase': return '.Inf';\n }\n } else if (Number.NEGATIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase': return '-.inf';\n case 'uppercase': return '-.INF';\n case 'camelcase': return '-.Inf';\n }\n } else if (common.isNegativeZero(object)) {\n return '-0.0';\n }\n\n res = object.toString(10);\n\n // JS stringifier can build scientific format without dots: 5e-100,\n // while YAML requres dot: 5.e-100. Fix it with simple hack\n\n return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res;\n}\n\nfunction isFloat(object) {\n return (Object.prototype.toString.call(object) === '[object Number]') &&\n (object % 1 !== 0 || common.isNegativeZero(object));\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:float', {\n kind: 'scalar',\n resolve: resolveYamlFloat,\n construct: constructYamlFloat,\n predicate: isFloat,\n represent: representYamlFloat,\n defaultStyle: 'lowercase'\n});\n","'use strict';\n\nvar common = require('../common');\nvar Type = require('../type');\n\nfunction isHexCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||\n ((0x41/* A */ <= c) && (c <= 0x46/* F */)) ||\n ((0x61/* a */ <= c) && (c <= 0x66/* f */));\n}\n\nfunction isOctCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x37/* 7 */));\n}\n\nfunction isDecCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */));\n}\n\nfunction resolveYamlInteger(data) {\n if (data === null) return false;\n\n var max = data.length,\n index = 0,\n hasDigits = false,\n ch;\n\n if (!max) return false;\n\n ch = data[index];\n\n // sign\n if (ch === '-' || ch === '+') {\n ch = data[++index];\n }\n\n if (ch === '0') {\n // 0\n if (index + 1 === max) return true;\n ch = data[++index];\n\n // base 2, base 8, base 16\n\n if (ch === 'b') {\n // base 2\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (ch !== '0' && ch !== '1') return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n\n\n if (ch === 'x') {\n // base 16\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isHexCode(data.charCodeAt(index))) return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n\n // base 8\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isOctCode(data.charCodeAt(index))) return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n\n // base 10 (except 0) or base 60\n\n // value should not start with `_`;\n if (ch === '_') return false;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (ch === ':') break;\n if (!isDecCode(data.charCodeAt(index))) {\n return false;\n }\n hasDigits = true;\n }\n\n // Should have digits and should not end with `_`\n if (!hasDigits || ch === '_') return false;\n\n // if !base60 - done;\n if (ch !== ':') return true;\n\n // base60 almost not used, no needs to optimize\n return /^(:[0-5]?[0-9])+$/.test(data.slice(index));\n}\n\nfunction constructYamlInteger(data) {\n var value = data, sign = 1, ch, base, digits = [];\n\n if (value.indexOf('_') !== -1) {\n value = value.replace(/_/g, '');\n }\n\n ch = value[0];\n\n if (ch === '-' || ch === '+') {\n if (ch === '-') sign = -1;\n value = value.slice(1);\n ch = value[0];\n }\n\n if (value === '0') return 0;\n\n if (ch === '0') {\n if (value[1] === 'b') return sign * parseInt(value.slice(2), 2);\n if (value[1] === 'x') return sign * parseInt(value, 16);\n return sign * parseInt(value, 8);\n }\n\n if (value.indexOf(':') !== -1) {\n value.split(':').forEach(function (v) {\n digits.unshift(parseInt(v, 10));\n });\n\n value = 0;\n base = 1;\n\n digits.forEach(function (d) {\n value += (d * base);\n base *= 60;\n });\n\n return sign * value;\n\n }\n\n return sign * parseInt(value, 10);\n}\n\nfunction isInteger(object) {\n return (Object.prototype.toString.call(object)) === '[object Number]' &&\n (object % 1 === 0 && !common.isNegativeZero(object));\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:int', {\n kind: 'scalar',\n resolve: resolveYamlInteger,\n construct: constructYamlInteger,\n predicate: isInteger,\n represent: {\n binary: function (obj) { return obj >= 0 ? '0b' + obj.toString(2) : '-0b' + obj.toString(2).slice(1); },\n octal: function (obj) { return obj >= 0 ? '0' + obj.toString(8) : '-0' + obj.toString(8).slice(1); },\n decimal: function (obj) { return obj.toString(10); },\n /* eslint-disable max-len */\n hexadecimal: function (obj) { return obj >= 0 ? '0x' + obj.toString(16).toUpperCase() : '-0x' + obj.toString(16).toUpperCase().slice(1); }\n },\n defaultStyle: 'decimal',\n styleAliases: {\n binary: [ 2, 'bin' ],\n octal: [ 8, 'oct' ],\n decimal: [ 10, 'dec' ],\n hexadecimal: [ 16, 'hex' ]\n }\n});\n",null,"'use strict';\n\nvar Type = require('../../type');\n\nfunction resolveJavascriptRegExp(data) {\n if (data === null) return false;\n if (data.length === 0) return false;\n\n var regexp = data,\n tail = /\\/([gim]*)$/.exec(data),\n modifiers = '';\n\n // if regexp starts with '/' it can have modifiers and must be properly closed\n // `/foo/gim` - modifiers tail can be maximum 3 chars\n if (regexp[0] === '/') {\n if (tail) modifiers = tail[1];\n\n if (modifiers.length > 3) return false;\n // if expression starts with /, is should be properly terminated\n if (regexp[regexp.length - modifiers.length - 1] !== '/') return false;\n }\n\n return true;\n}\n\nfunction constructJavascriptRegExp(data) {\n var regexp = data,\n tail = /\\/([gim]*)$/.exec(data),\n modifiers = '';\n\n // `/foo/gim` - tail can be maximum 4 chars\n if (regexp[0] === '/') {\n if (tail) modifiers = tail[1];\n regexp = regexp.slice(1, regexp.length - modifiers.length - 1);\n }\n\n return new RegExp(regexp, modifiers);\n}\n\nfunction representJavascriptRegExp(object /*, style*/) {\n var result = '/' + object.source + '/';\n\n if (object.global) result += 'g';\n if (object.multiline) result += 'm';\n if (object.ignoreCase) result += 'i';\n\n return result;\n}\n\nfunction isRegExp(object) {\n return Object.prototype.toString.call(object) === '[object RegExp]';\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:js/regexp', {\n kind: 'scalar',\n resolve: resolveJavascriptRegExp,\n construct: constructJavascriptRegExp,\n predicate: isRegExp,\n represent: representJavascriptRegExp\n});\n","'use strict';\n\nvar Type = require('../../type');\n\nfunction resolveJavascriptUndefined() {\n return true;\n}\n\nfunction constructJavascriptUndefined() {\n /*eslint-disable no-undefined*/\n return undefined;\n}\n\nfunction representJavascriptUndefined() {\n return '';\n}\n\nfunction isUndefined(object) {\n return typeof object === 'undefined';\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:js/undefined', {\n kind: 'scalar',\n resolve: resolveJavascriptUndefined,\n construct: constructJavascriptUndefined,\n predicate: isUndefined,\n represent: representJavascriptUndefined\n});\n","'use strict';\n\nvar Type = require('../type');\n\nmodule.exports = new Type('tag:yaml.org,2002:map', {\n kind: 'mapping',\n construct: function (data) { return data !== null ? data : {}; }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nfunction resolveYamlMerge(data) {\n return data === '<<' || data === null;\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:merge', {\n kind: 'scalar',\n resolve: resolveYamlMerge\n});\n","'use strict';\n\nvar Type = require('../type');\n\nfunction resolveYamlNull(data) {\n if (data === null) return true;\n\n var max = data.length;\n\n return (max === 1 && data === '~') ||\n (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL'));\n}\n\nfunction constructYamlNull() {\n return null;\n}\n\nfunction isNull(object) {\n return object === null;\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:null', {\n kind: 'scalar',\n resolve: resolveYamlNull,\n construct: constructYamlNull,\n predicate: isNull,\n represent: {\n canonical: function () { return '~'; },\n lowercase: function () { return 'null'; },\n uppercase: function () { return 'NULL'; },\n camelcase: function () { return 'Null'; }\n },\n defaultStyle: 'lowercase'\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nvar _toString = Object.prototype.toString;\n\nfunction resolveYamlOmap(data) {\n if (data === null) return true;\n\n var objectKeys = [], index, length, pair, pairKey, pairHasKey,\n object = data;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n pairHasKey = false;\n\n if (_toString.call(pair) !== '[object Object]') return false;\n\n for (pairKey in pair) {\n if (_hasOwnProperty.call(pair, pairKey)) {\n if (!pairHasKey) pairHasKey = true;\n else return false;\n }\n }\n\n if (!pairHasKey) return false;\n\n if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);\n else return false;\n }\n\n return true;\n}\n\nfunction constructYamlOmap(data) {\n return data !== null ? data : [];\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:omap', {\n kind: 'sequence',\n resolve: resolveYamlOmap,\n construct: constructYamlOmap\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar _toString = Object.prototype.toString;\n\nfunction resolveYamlPairs(data) {\n if (data === null) return true;\n\n var index, length, pair, keys, result,\n object = data;\n\n result = new Array(object.length);\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n\n if (_toString.call(pair) !== '[object Object]') return false;\n\n keys = Object.keys(pair);\n\n if (keys.length !== 1) return false;\n\n result[index] = [ keys[0], pair[keys[0]] ];\n }\n\n return true;\n}\n\nfunction constructYamlPairs(data) {\n if (data === null) return [];\n\n var index, length, pair, keys, result,\n object = data;\n\n result = new Array(object.length);\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n\n keys = Object.keys(pair);\n\n result[index] = [ keys[0], pair[keys[0]] ];\n }\n\n return result;\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:pairs', {\n kind: 'sequence',\n resolve: resolveYamlPairs,\n construct: constructYamlPairs\n});\n","'use strict';\n\nvar Type = require('../type');\n\nmodule.exports = new Type('tag:yaml.org,2002:seq', {\n kind: 'sequence',\n construct: function (data) { return data !== null ? data : []; }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction resolveYamlSet(data) {\n if (data === null) return true;\n\n var key, object = data;\n\n for (key in object) {\n if (_hasOwnProperty.call(object, key)) {\n if (object[key] !== null) return false;\n }\n }\n\n return true;\n}\n\nfunction constructYamlSet(data) {\n return data !== null ? data : {};\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:set', {\n kind: 'mapping',\n resolve: resolveYamlSet,\n construct: constructYamlSet\n});\n","'use strict';\n\nvar Type = require('../type');\n\nmodule.exports = new Type('tag:yaml.org,2002:str', {\n kind: 'scalar',\n construct: function (data) { return data !== null ? data : ''; }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar YAML_DATE_REGEXP = new RegExp(\n '^([0-9][0-9][0-9][0-9])' + // [1] year\n '-([0-9][0-9])' + // [2] month\n '-([0-9][0-9])$'); // [3] day\n\nvar YAML_TIMESTAMP_REGEXP = new RegExp(\n '^([0-9][0-9][0-9][0-9])' + // [1] year\n '-([0-9][0-9]?)' + // [2] month\n '-([0-9][0-9]?)' + // [3] day\n '(?:[Tt]|[ \\\\t]+)' + // ...\n '([0-9][0-9]?)' + // [4] hour\n ':([0-9][0-9])' + // [5] minute\n ':([0-9][0-9])' + // [6] second\n '(?:\\\\.([0-9]*))?' + // [7] fraction\n '(?:[ \\\\t]*(Z|([-+])([0-9][0-9]?)' + // [8] tz [9] tz_sign [10] tz_hour\n '(?::([0-9][0-9]))?))?$'); // [11] tz_minute\n\nfunction resolveYamlTimestamp(data) {\n if (data === null) return false;\n if (YAML_DATE_REGEXP.exec(data) !== null) return true;\n if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true;\n return false;\n}\n\nfunction constructYamlTimestamp(data) {\n var match, year, month, day, hour, minute, second, fraction = 0,\n delta = null, tz_hour, tz_minute, date;\n\n match = YAML_DATE_REGEXP.exec(data);\n if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);\n\n if (match === null) throw new Error('Date resolve error');\n\n // match: [1] year [2] month [3] day\n\n year = +(match[1]);\n month = +(match[2]) - 1; // JS month starts with 0\n day = +(match[3]);\n\n if (!match[4]) { // no hour\n return new Date(Date.UTC(year, month, day));\n }\n\n // match: [4] hour [5] minute [6] second [7] fraction\n\n hour = +(match[4]);\n minute = +(match[5]);\n second = +(match[6]);\n\n if (match[7]) {\n fraction = match[7].slice(0, 3);\n while (fraction.length < 3) { // milli-seconds\n fraction += '0';\n }\n fraction = +fraction;\n }\n\n // match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute\n\n if (match[9]) {\n tz_hour = +(match[10]);\n tz_minute = +(match[11] || 0);\n delta = (tz_hour * 60 + tz_minute) * 60000; // delta in mili-seconds\n if (match[9] === '-') delta = -delta;\n }\n\n date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));\n\n if (delta) date.setTime(date.getTime() - delta);\n\n return date;\n}\n\nfunction representYamlTimestamp(object /*, style*/) {\n return object.toISOString();\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:timestamp', {\n kind: 'scalar',\n resolve: resolveYamlTimestamp,\n construct: constructYamlTimestamp,\n instanceOf: Date,\n represent: representYamlTimestamp\n});\n",null,"module.exports = require(\"assert\");","module.exports = require(\"crypto\");","module.exports = require(\"events\");","module.exports = require(\"fs\");","module.exports = require(\"http\");","module.exports = require(\"https\");","module.exports = require(\"net\");","module.exports = require(\"os\");","module.exports = require(\"path\");","module.exports = require(\"punycode\");","module.exports = require(\"stream\");","module.exports = require(\"tls\");","module.exports = require(\"url\");","module.exports = require(\"util\");","module.exports = require(\"zlib\");","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _ToolBuilder_extRefFactory, _ComponentBuilder_extRefFactory, _ComponentBuilder_licenseFactory;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ComponentBuilder = exports.ToolBuilder = void 0;\nconst Enums = __importStar(require(\"../enums\"));\nconst packageJson_1 = require(\"../helpers/packageJson\");\nconst Models = __importStar(require(\"../models\"));\nclass ToolBuilder {\n constructor(extRefFactory) {\n _ToolBuilder_extRefFactory.set(this, void 0);\n __classPrivateFieldSet(this, _ToolBuilder_extRefFactory, extRefFactory, \"f\");\n }\n get extRefFactory() {\n return __classPrivateFieldGet(this, _ToolBuilder_extRefFactory, \"f\");\n }\n makeTool(data) {\n const [name, vendor] = typeof data.name === 'string'\n ? (0, packageJson_1.splitNameGroup)(data.name)\n : [];\n return new Models.Tool({\n vendor,\n name,\n version: (typeof data.version === 'string')\n ? data.version\n : undefined,\n externalReferences: new Models.ExternalReferenceRepository(__classPrivateFieldGet(this, _ToolBuilder_extRefFactory, \"f\").makeExternalReferences(data))\n });\n }\n}\nexports.ToolBuilder = ToolBuilder;\n_ToolBuilder_extRefFactory = new WeakMap();\nclass ComponentBuilder {\n constructor(extRefFactory, licenseFactory) {\n _ComponentBuilder_extRefFactory.set(this, void 0);\n _ComponentBuilder_licenseFactory.set(this, void 0);\n __classPrivateFieldSet(this, _ComponentBuilder_extRefFactory, extRefFactory, \"f\");\n __classPrivateFieldSet(this, _ComponentBuilder_licenseFactory, licenseFactory, \"f\");\n }\n get extRefFactory() {\n return __classPrivateFieldGet(this, _ComponentBuilder_extRefFactory, \"f\");\n }\n get licenseFactory() {\n return __classPrivateFieldGet(this, _ComponentBuilder_licenseFactory, \"f\");\n }\n makeComponent(data, type = Enums.ComponentType.Library) {\n if (typeof data.name !== 'string') {\n return undefined;\n }\n const [name, group] = (0, packageJson_1.splitNameGroup)(data.name);\n if (name.length <= 0) {\n return undefined;\n }\n const author = typeof data.author === 'string'\n ? data.author\n : (typeof data.author?.name === 'string'\n ? data.author.name\n : undefined);\n const description = typeof data.description === 'string'\n ? data.description\n : undefined;\n const version = typeof data.version === 'string'\n ? data.version\n : undefined;\n const externalReferences = __classPrivateFieldGet(this, _ComponentBuilder_extRefFactory, \"f\").makeExternalReferences(data);\n const license = typeof data.license === 'string'\n ? __classPrivateFieldGet(this, _ComponentBuilder_licenseFactory, \"f\").makeFromString(data.license)\n : undefined;\n return new Models.Component(type, name, {\n author,\n description,\n externalReferences: new Models.ExternalReferenceRepository(externalReferences),\n group,\n licenses: new Models.LicenseRepository(license === undefined\n ? []\n : [license]),\n version\n });\n }\n}\nexports.ComponentBuilder = ComponentBuilder;\n_ComponentBuilder_extRefFactory = new WeakMap(), _ComponentBuilder_licenseFactory = new WeakMap();\n//# sourceMappingURL=fromNodePackageJson.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FromPackageJson = exports.FromNodePackageJson = void 0;\nexports.FromNodePackageJson = __importStar(require(\"./fromNodePackageJson.node\"));\nexports.FromPackageJson = __importStar(require(\"./fromNodePackageJson.node\"));\n//# sourceMappingURL=index.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AttachmentEncoding = void 0;\nvar AttachmentEncoding;\n(function (AttachmentEncoding) {\n AttachmentEncoding[\"Base64\"] = \"base64\";\n})(AttachmentEncoding = exports.AttachmentEncoding || (exports.AttachmentEncoding = {}));\n//# sourceMappingURL=attachmentEncoding.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ComponentScope = void 0;\nvar ComponentScope;\n(function (ComponentScope) {\n ComponentScope[\"Required\"] = \"required\";\n ComponentScope[\"Optional\"] = \"optional\";\n ComponentScope[\"Excluded\"] = \"excluded\";\n})(ComponentScope = exports.ComponentScope || (exports.ComponentScope = {}));\n//# sourceMappingURL=componentScope.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ComponentType = void 0;\nvar ComponentType;\n(function (ComponentType) {\n ComponentType[\"Application\"] = \"application\";\n ComponentType[\"Framework\"] = \"framework\";\n ComponentType[\"Library\"] = \"library\";\n ComponentType[\"Container\"] = \"container\";\n ComponentType[\"OperatingSystem\"] = \"operating-system\";\n ComponentType[\"Device\"] = \"device\";\n ComponentType[\"Firmware\"] = \"firmware\";\n ComponentType[\"File\"] = \"file\";\n})(ComponentType = exports.ComponentType || (exports.ComponentType = {}));\n//# sourceMappingURL=componentType.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ExternalReferenceType = void 0;\nvar ExternalReferenceType;\n(function (ExternalReferenceType) {\n ExternalReferenceType[\"VCS\"] = \"vcs\";\n ExternalReferenceType[\"IssueTracker\"] = \"issue-tracker\";\n ExternalReferenceType[\"Website\"] = \"website\";\n ExternalReferenceType[\"Advisories\"] = \"advisories\";\n ExternalReferenceType[\"BOM\"] = \"bom\";\n ExternalReferenceType[\"MailingList\"] = \"mailing-list\";\n ExternalReferenceType[\"Social\"] = \"social\";\n ExternalReferenceType[\"Chat\"] = \"chat\";\n ExternalReferenceType[\"Documentation\"] = \"documentation\";\n ExternalReferenceType[\"Support\"] = \"support\";\n ExternalReferenceType[\"Distribution\"] = \"distribution\";\n ExternalReferenceType[\"License\"] = \"license\";\n ExternalReferenceType[\"BuildMeta\"] = \"build-meta\";\n ExternalReferenceType[\"BuildSystem\"] = \"build-system\";\n ExternalReferenceType[\"ReleaseNotes\"] = \"release-notes\";\n ExternalReferenceType[\"Other\"] = \"other\";\n})(ExternalReferenceType = exports.ExternalReferenceType || (exports.ExternalReferenceType = {}));\n//# sourceMappingURL=externalReferenceType.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HashAlgorithm = void 0;\nvar HashAlgorithm;\n(function (HashAlgorithm) {\n HashAlgorithm[\"MD5\"] = \"MD5\";\n HashAlgorithm[\"SHA-1\"] = \"SHA-1\";\n HashAlgorithm[\"SHA-256\"] = \"SHA-256\";\n HashAlgorithm[\"SHA-384\"] = \"SHA-384\";\n HashAlgorithm[\"SHA-512\"] = \"SHA-512\";\n HashAlgorithm[\"SHA3-256\"] = \"SHA3-256\";\n HashAlgorithm[\"SHA3-384\"] = \"SHA3-384\";\n HashAlgorithm[\"SHA3-512\"] = \"SHA3-512\";\n HashAlgorithm[\"BLAKE2b-256\"] = \"BLAKE2b-256\";\n HashAlgorithm[\"BLAKE2b-384\"] = \"BLAKE2b-384\";\n HashAlgorithm[\"BLAKE2b-512\"] = \"BLAKE2b-512\";\n HashAlgorithm[\"BLAKE3\"] = \"BLAKE3\";\n})(HashAlgorithm = exports.HashAlgorithm || (exports.HashAlgorithm = {}));\n//# sourceMappingURL=hashAlogorithm.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./attachmentEncoding\"), exports);\n__exportStar(require(\"./componentScope\"), exports);\n__exportStar(require(\"./componentType\"), exports);\n__exportStar(require(\"./externalReferenceType\"), exports);\n__exportStar(require(\"./hashAlogorithm\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _PackageUrlFactory_instances, _PackageUrlFactory_finalizeQualifiers;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PackageUrlFactory = exports.ExternalReferenceFactory = void 0;\nconst Enums = __importStar(require(\"../enums\"));\nconst notUndefined_1 = require(\"../helpers/notUndefined\");\nconst packageUrl_1 = require(\"../helpers/packageUrl\");\nconst Models = __importStar(require(\"../models\"));\nconst packageUrl_2 = require(\"./packageUrl\");\nclass ExternalReferenceFactory {\n makeExternalReferences(data) {\n const refs = [];\n try {\n refs.push(this.makeVcs(data));\n }\n catch { }\n try {\n refs.push(this.makeHomepage(data));\n }\n catch { }\n try {\n refs.push(this.makeIssueTracker(data));\n }\n catch { }\n return refs.filter(notUndefined_1.isNotUndefined);\n }\n makeVcs(data) {\n const repository = data.repository;\n let url;\n let comment;\n if (typeof repository === 'object') {\n url = repository.url;\n comment = 'as detected from PackageJson property \"repository.url\"';\n if (typeof repository.directory === 'string' && typeof url === 'string' && url.length > 0) {\n url += '#' + repository.directory;\n comment += ' and \"repository.directory\"';\n }\n }\n else {\n url = repository;\n comment = 'as detected from PackageJson property \"repository\"';\n }\n return typeof url === 'string' && url.length > 0\n ? new Models.ExternalReference(url, Enums.ExternalReferenceType.VCS, { comment })\n : undefined;\n }\n makeHomepage(data) {\n const url = data.homepage;\n return typeof url === 'string' && url.length > 0\n ? new Models.ExternalReference(url, Enums.ExternalReferenceType.Website, { comment: 'as detected from PackageJson property \"homepage\"' })\n : undefined;\n }\n makeIssueTracker(data) {\n const bugs = data.bugs;\n let url;\n let comment;\n if (typeof bugs === 'object') {\n url = bugs.url;\n comment = 'as detected from PackageJson property \"bugs.url\"';\n }\n else {\n url = bugs;\n comment = 'as detected from PackageJson property \"bugs\"';\n }\n return typeof url === 'string' && url.length > 0\n ? new Models.ExternalReference(url, Enums.ExternalReferenceType.IssueTracker, { comment })\n : undefined;\n }\n}\nexports.ExternalReferenceFactory = ExternalReferenceFactory;\nconst npmDefaultRegistryMatcher = /^https?:\\/\\/registry\\.npmjs\\.org/;\nclass PackageUrlFactory extends packageUrl_2.PackageUrlFactory {\n constructor() {\n super(...arguments);\n _PackageUrlFactory_instances.add(this);\n }\n makeFromComponent(component, sort = false) {\n const purl = super.makeFromComponent(component, sort);\n return purl === undefined\n ? undefined\n : __classPrivateFieldGet(this, _PackageUrlFactory_instances, \"m\", _PackageUrlFactory_finalizeQualifiers).call(this, purl);\n }\n}\nexports.PackageUrlFactory = PackageUrlFactory;\n_PackageUrlFactory_instances = new WeakSet(), _PackageUrlFactory_finalizeQualifiers = function _PackageUrlFactory_finalizeQualifiers(purl) {\n const qualifiers = new Map(Object.entries(purl.qualifiers ?? {}));\n const downloadUrl = qualifiers.get(packageUrl_1.PackageUrlQualifierNames.DownloadURL);\n if (downloadUrl !== undefined) {\n qualifiers.delete(packageUrl_1.PackageUrlQualifierNames.VcsUrl);\n if (npmDefaultRegistryMatcher.test(downloadUrl)) {\n qualifiers.delete(packageUrl_1.PackageUrlQualifierNames.DownloadURL);\n }\n }\n if (!qualifiers.has(packageUrl_1.PackageUrlQualifierNames.DownloadURL) && !qualifiers.has(packageUrl_1.PackageUrlQualifierNames.VcsUrl)) {\n qualifiers.delete(packageUrl_1.PackageUrlQualifierNames.Checksum);\n }\n purl.qualifiers = qualifiers.size > 0\n ? Object.fromEntries(qualifiers.entries())\n : undefined;\n return purl;\n};\n//# sourceMappingURL=fromNodePackageJson.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./license\"), exports);\n__exportStar(require(\"./packageUrl\"), exports);\n//# sourceMappingURL=index.common.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FromPackageJson = exports.FromNodePackageJson = void 0;\n__exportStar(require(\"./index.common\"), exports);\nexports.FromNodePackageJson = __importStar(require(\"./fromNodePackageJson.node\"));\nexports.FromPackageJson = __importStar(require(\"./fromNodePackageJson.node\"));\n//# sourceMappingURL=index.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LicenseFactory = void 0;\nconst models_1 = require(\"../models\");\nconst spdx_1 = require(\"../spdx\");\nclass LicenseFactory {\n makeFromString(value) {\n try {\n return this.makeExpression(value);\n }\n catch {\n return this.makeDisjunctive(value);\n }\n }\n makeExpression(value) {\n return new models_1.LicenseExpression(value);\n }\n makeDisjunctive(value) {\n try {\n return this.makeDisjunctiveWithId(value);\n }\n catch {\n return this.makeDisjunctiveWithName(value);\n }\n }\n makeDisjunctiveWithId(value) {\n const spdxId = (0, spdx_1.fixupSpdxId)(String(value));\n if (undefined === spdxId) {\n throw new RangeError('Unsupported SPDX id');\n }\n return new models_1.SpdxLicense(spdxId);\n }\n makeDisjunctiveWithName(value) {\n return new models_1.NamedLicense(String(value));\n }\n}\nexports.LicenseFactory = LicenseFactory;\n//# sourceMappingURL=license.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _PackageUrlFactory_type;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PackageUrlFactory = void 0;\nconst packageurl_js_1 = require(\"packageurl-js\");\nconst enums_1 = require(\"../enums\");\nconst packageUrl_1 = require(\"../helpers/packageUrl\");\nclass PackageUrlFactory {\n constructor(type) {\n _PackageUrlFactory_type.set(this, void 0);\n __classPrivateFieldSet(this, _PackageUrlFactory_type, type, \"f\");\n }\n get type() {\n return __classPrivateFieldGet(this, _PackageUrlFactory_type, \"f\");\n }\n makeFromComponent(component, sort = false) {\n const qualifiers = {};\n let subpath;\n const extRefs = sort\n ? component.externalReferences.sorted()\n : component.externalReferences;\n for (const extRef of extRefs) {\n const url = extRef.url.toString();\n if (url.length <= 0) {\n continue;\n }\n switch (extRef.type) {\n case enums_1.ExternalReferenceType.VCS:\n [qualifiers[packageUrl_1.PackageUrlQualifierNames.VcsUrl], subpath] = url.split('#', 2);\n break;\n case enums_1.ExternalReferenceType.Distribution:\n qualifiers[packageUrl_1.PackageUrlQualifierNames.DownloadURL] = url;\n break;\n }\n }\n const hashes = component.hashes;\n if (hashes.size > 0) {\n qualifiers[packageUrl_1.PackageUrlQualifierNames.Checksum] = Array.from(sort\n ? hashes.sorted()\n : hashes, ([hashAlgo, hashCont]) => `${hashAlgo.toLowerCase()}:${hashCont.toLowerCase()}`).join(',');\n }\n try {\n return new packageurl_js_1.PackageURL(__classPrivateFieldGet(this, _PackageUrlFactory_type, \"f\"), component.group, component.name, component.version, qualifiers, subpath);\n }\n catch {\n return undefined;\n }\n }\n}\nexports.PackageUrlFactory = PackageUrlFactory;\n_PackageUrlFactory_type = new WeakMap();\n//# sourceMappingURL=packageUrl.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isNotUndefined = void 0;\nfunction isNotUndefined(value) {\n return value !== undefined;\n}\nexports.isNotUndefined = isNotUndefined;\n//# sourceMappingURL=notUndefined.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.splitNameGroup = void 0;\nfunction splitNameGroup(data) {\n return data[0] === '@'\n ? data.split('/', 2).reverse()\n : [data];\n}\nexports.splitNameGroup = splitNameGroup;\n//# sourceMappingURL=packageJson.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PackageUrlQualifierNames = void 0;\nvar PackageUrlQualifierNames;\n(function (PackageUrlQualifierNames) {\n PackageUrlQualifierNames[\"DownloadURL\"] = \"download_url\";\n PackageUrlQualifierNames[\"VcsUrl\"] = \"vcs_url\";\n PackageUrlQualifierNames[\"Checksum\"] = \"checksum\";\n})(PackageUrlQualifierNames = exports.PackageUrlQualifierNames || (exports.PackageUrlQualifierNames = {}));\n//# sourceMappingURL=packageUrl.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SortableSet = void 0;\nclass SortableSet extends Set {\n sorted() {\n return Array.from(this).sort((a, b) => a.compare(b));\n }\n}\nexports.SortableSet = SortableSet;\n//# sourceMappingURL=sortableSet.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.treeIteratorSymbol = void 0;\nexports.treeIteratorSymbol = Symbol('iterator of a tree/nesting-like structure');\n//# sourceMappingURL=tree.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Types = exports.Spec = exports.SPDX = exports.Models = exports.Enums = void 0;\nexports.Enums = __importStar(require(\"./enums\"));\nexports.Models = __importStar(require(\"./models\"));\nexports.SPDX = __importStar(require(\"./spdx\"));\nexports.Spec = __importStar(require(\"./spec\"));\nexports.Types = __importStar(require(\"./types\"));\n//# sourceMappingURL=index.common.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports._Resources = exports.Serialize = exports.Factories = exports.Builders = void 0;\n__exportStar(require(\"./index.common\"), exports);\nexports.Builders = __importStar(require(\"./builders/index.node\"));\nexports.Factories = __importStar(require(\"./factories/index.node\"));\nexports.Serialize = __importStar(require(\"./serialize/index.node\"));\nexports._Resources = __importStar(require(\"./resources.node\"));\n//# sourceMappingURL=index.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Attachment = void 0;\nclass Attachment {\n constructor(content, op = {}) {\n this.contentType = op.contentType;\n this.content = content;\n this.encoding = op.encoding;\n }\n}\nexports.Attachment = Attachment;\n//# sourceMappingURL=attachment.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar _Bom_version, _Bom_serialNumber;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Bom = void 0;\nconst types_1 = require(\"../types\");\nconst component_1 = require(\"./component\");\nconst metadata_1 = require(\"./metadata\");\nclass Bom {\n constructor(op = {}) {\n _Bom_version.set(this, 1);\n _Bom_serialNumber.set(this, void 0);\n this.metadata = op.metadata ?? new metadata_1.Metadata();\n this.components = op.components ?? new component_1.ComponentRepository();\n this.version = op.version ?? this.version;\n this.serialNumber = op.serialNumber;\n }\n get version() {\n return __classPrivateFieldGet(this, _Bom_version, \"f\");\n }\n set version(value) {\n if (!(0, types_1.isPositiveInteger)(value)) {\n throw new TypeError('Not PositiveInteger');\n }\n __classPrivateFieldSet(this, _Bom_version, value, \"f\");\n }\n get serialNumber() {\n return __classPrivateFieldGet(this, _Bom_serialNumber, \"f\");\n }\n set serialNumber(value) {\n if (value !== undefined && !(0, types_1.isUrnUuid)(value)) {\n throw new TypeError('Not UrnUuid nor undefined');\n }\n __classPrivateFieldSet(this, _Bom_serialNumber, value, \"f\");\n }\n}\nexports.Bom = Bom;\n_Bom_version = new WeakMap(), _Bom_serialNumber = new WeakMap();\n//# sourceMappingURL=bom.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BomRefRepository = exports.BomRef = void 0;\nclass BomRef {\n constructor(value) {\n this.value = value;\n }\n compare(other) {\n return this.toString().localeCompare(other.toString());\n }\n toString() {\n return this.value ?? '';\n }\n}\nexports.BomRef = BomRef;\nclass BomRefRepository extends Set {\n}\nexports.BomRefRepository = BomRefRepository;\n//# sourceMappingURL=bomRef.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _Component_bomRef, _Component_cpe;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ComponentRepository = exports.Component = void 0;\nconst sortableSet_1 = require(\"../helpers/sortableSet\");\nconst tree_1 = require(\"../helpers/tree\");\nconst types_1 = require(\"../types\");\nconst bomRef_1 = require(\"./bomRef\");\nconst externalReference_1 = require(\"./externalReference\");\nconst hash_1 = require(\"./hash\");\nconst license_1 = require(\"./license\");\nconst property_1 = require(\"./property\");\nclass Component {\n constructor(type, name, op = {}) {\n _Component_bomRef.set(this, void 0);\n _Component_cpe.set(this, void 0);\n __classPrivateFieldSet(this, _Component_bomRef, new bomRef_1.BomRef(op.bomRef), \"f\");\n this.type = type;\n this.name = name;\n this.supplier = op.supplier;\n this.author = op.author;\n this.copyright = op.copyright;\n this.externalReferences = op.externalReferences ?? new externalReference_1.ExternalReferenceRepository();\n this.group = op.group;\n this.hashes = op.hashes ?? new hash_1.HashDictionary();\n this.licenses = op.licenses ?? new license_1.LicenseRepository();\n this.publisher = op.publisher;\n this.purl = op.purl;\n this.scope = op.scope;\n this.swid = op.swid;\n this.version = op.version;\n this.description = op.description;\n this.dependencies = op.dependencies ?? new bomRef_1.BomRefRepository();\n this.components = op.components ?? new ComponentRepository();\n this.cpe = op.cpe;\n this.properties = op.properties ?? new property_1.PropertyRepository();\n }\n get bomRef() {\n return __classPrivateFieldGet(this, _Component_bomRef, \"f\");\n }\n get cpe() {\n return __classPrivateFieldGet(this, _Component_cpe, \"f\");\n }\n set cpe(value) {\n if (value !== undefined && !(0, types_1.isCPE)(value)) {\n throw new TypeError('Not CPE nor undefined');\n }\n __classPrivateFieldSet(this, _Component_cpe, value, \"f\");\n }\n compare(other) {\n const bomRefCompare = this.bomRef.compare(other.bomRef);\n if (bomRefCompare !== 0) {\n return bomRefCompare;\n }\n if (this.purl !== undefined && other.purl !== undefined) {\n return this.purl.toString().localeCompare(other.purl.toString());\n }\n if (__classPrivateFieldGet(this, _Component_cpe, \"f\") !== undefined && __classPrivateFieldGet(other, _Component_cpe, \"f\") !== undefined) {\n return __classPrivateFieldGet(this, _Component_cpe, \"f\").toString().localeCompare(__classPrivateFieldGet(other, _Component_cpe, \"f\").toString());\n }\n return (this.group ?? '').localeCompare(other.group ?? '') ||\n this.name.localeCompare(other.name) ||\n (this.version ?? '').localeCompare(other.version ?? '');\n }\n}\nexports.Component = Component;\n_Component_bomRef = new WeakMap(), _Component_cpe = new WeakMap();\nclass ComponentRepository extends sortableSet_1.SortableSet {\n *[tree_1.treeIteratorSymbol]() {\n for (const component of this) {\n yield component;\n yield* component.components[tree_1.treeIteratorSymbol]();\n }\n }\n}\nexports.ComponentRepository = ComponentRepository;\n//# sourceMappingURL=component.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ExternalReferenceRepository = exports.ExternalReference = void 0;\nconst sortableSet_1 = require(\"../helpers/sortableSet\");\nclass ExternalReference {\n constructor(url, type, op = {}) {\n this.url = url;\n this.type = type;\n this.comment = op.comment;\n }\n compare(other) {\n return this.type.localeCompare(other.type) ||\n this.url.toString().localeCompare(other.url.toString());\n }\n}\nexports.ExternalReference = ExternalReference;\nclass ExternalReferenceRepository extends sortableSet_1.SortableSet {\n}\nexports.ExternalReferenceRepository = ExternalReferenceRepository;\n//# sourceMappingURL=externalReference.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _HashDictionary_instances, _HashDictionary_compareItems;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HashRepository = exports.HashDictionary = void 0;\nclass HashDictionary extends Map {\n constructor() {\n super(...arguments);\n _HashDictionary_instances.add(this);\n }\n sorted() {\n return Array.from(this.entries()).sort(__classPrivateFieldGet(this, _HashDictionary_instances, \"m\", _HashDictionary_compareItems));\n }\n}\nexports.HashDictionary = HashDictionary;\n_HashDictionary_instances = new WeakSet(), _HashDictionary_compareItems = function _HashDictionary_compareItems([a1, c1], [a2, c2]) {\n return a1.localeCompare(a2) ||\n c1.localeCompare(c2);\n};\nclass HashRepository extends HashDictionary {\n}\nexports.HashRepository = HashRepository;\n//# sourceMappingURL=hash.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./attachment\"), exports);\n__exportStar(require(\"./bom\"), exports);\n__exportStar(require(\"./bomRef\"), exports);\n__exportStar(require(\"./component\"), exports);\n__exportStar(require(\"./externalReference\"), exports);\n__exportStar(require(\"./hash\"), exports);\n__exportStar(require(\"./license\"), exports);\n__exportStar(require(\"./metadata\"), exports);\n__exportStar(require(\"./organizationalContact\"), exports);\n__exportStar(require(\"./organizationalEntity\"), exports);\n__exportStar(require(\"./property\"), exports);\n__exportStar(require(\"./swid\"), exports);\n__exportStar(require(\"./tool\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar _LicenseExpression_expression, _SpdxLicense_id, _LicenseRepository_instances, _LicenseRepository_compareItems;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LicenseRepository = exports.SpdxLicense = exports.NamedLicense = exports.LicenseExpression = void 0;\nconst spdx_1 = require(\"../spdx\");\nclass LicenseExpression {\n constructor(expression) {\n _LicenseExpression_expression.set(this, void 0);\n this.expression = expression;\n }\n static isEligibleExpression(expression) {\n return typeof expression === 'string' &&\n expression.length >= 8 &&\n expression[0] === '(' &&\n expression[expression.length - 1] === ')';\n }\n get expression() {\n return __classPrivateFieldGet(this, _LicenseExpression_expression, \"f\");\n }\n set expression(value) {\n if (!LicenseExpression.isEligibleExpression(value)) {\n throw new RangeError('Not eligible expression');\n }\n __classPrivateFieldSet(this, _LicenseExpression_expression, value, \"f\");\n }\n compare(other) {\n return __classPrivateFieldGet(this, _LicenseExpression_expression, \"f\").localeCompare(__classPrivateFieldGet(other, _LicenseExpression_expression, \"f\"));\n }\n}\nexports.LicenseExpression = LicenseExpression;\n_LicenseExpression_expression = new WeakMap();\nclass NamedLicense {\n constructor(name, op = {}) {\n this.name = name;\n this.text = op.text;\n this.url = op.url;\n }\n compare(other) {\n return this.name.localeCompare(other.name);\n }\n}\nexports.NamedLicense = NamedLicense;\nclass SpdxLicense {\n constructor(id, op = {}) {\n _SpdxLicense_id.set(this, void 0);\n this.id = id;\n this.text = op.text;\n this.url = op.url;\n }\n get id() {\n return __classPrivateFieldGet(this, _SpdxLicense_id, \"f\");\n }\n set id(value) {\n if (!(0, spdx_1.isSupportedSpdxId)(value)) {\n throw new RangeError('Unknown SPDX id');\n }\n __classPrivateFieldSet(this, _SpdxLicense_id, value, \"f\");\n }\n compare(other) {\n return __classPrivateFieldGet(this, _SpdxLicense_id, \"f\").localeCompare(__classPrivateFieldGet(other, _SpdxLicense_id, \"f\"));\n }\n}\nexports.SpdxLicense = SpdxLicense;\n_SpdxLicense_id = new WeakMap();\nclass LicenseRepository extends Set {\n constructor() {\n super(...arguments);\n _LicenseRepository_instances.add(this);\n }\n sorted() {\n return Array.from(this).sort(__classPrivateFieldGet(this, _LicenseRepository_instances, \"m\", _LicenseRepository_compareItems));\n }\n}\nexports.LicenseRepository = LicenseRepository;\n_LicenseRepository_instances = new WeakSet(), _LicenseRepository_compareItems = function _LicenseRepository_compareItems(a, b) {\n if (a.constructor === b.constructor) {\n return a.compare(b);\n }\n return a.constructor.name.localeCompare(b.constructor.name);\n};\n//# sourceMappingURL=license.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Metadata = void 0;\nconst organizationalContact_1 = require(\"./organizationalContact\");\nconst tool_1 = require(\"./tool\");\nclass Metadata {\n constructor(op = {}) {\n this.timestamp = op.timestamp;\n this.tools = op.tools ?? new tool_1.ToolRepository();\n this.authors = op.authors ?? new organizationalContact_1.OrganizationalContactRepository();\n this.component = op.component;\n this.manufacture = op.manufacture;\n this.supplier = op.supplier;\n }\n}\nexports.Metadata = Metadata;\n//# sourceMappingURL=metadata.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationalContactRepository = exports.OrganizationalContact = void 0;\nconst sortableSet_1 = require(\"../helpers/sortableSet\");\nclass OrganizationalContact {\n constructor(op = {}) {\n this.name = op.name;\n this.email = op.email;\n this.phone = op.phone;\n }\n compare(other) {\n return (this.name ?? '').localeCompare(other.name ?? '') ||\n (this.email ?? '').localeCompare(other.email ?? '') ||\n (this.phone ?? '').localeCompare(other.phone ?? '');\n }\n}\nexports.OrganizationalContact = OrganizationalContact;\nclass OrganizationalContactRepository extends sortableSet_1.SortableSet {\n}\nexports.OrganizationalContactRepository = OrganizationalContactRepository;\n//# sourceMappingURL=organizationalContact.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationalEntity = void 0;\nconst organizationalContact_1 = require(\"./organizationalContact\");\nclass OrganizationalEntity {\n constructor(op = {}) {\n this.name = op.name;\n this.url = op.url ?? new Set();\n this.contact = op.contact ?? new organizationalContact_1.OrganizationalContactRepository();\n }\n}\nexports.OrganizationalEntity = OrganizationalEntity;\n//# sourceMappingURL=organizationalEntity.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PropertyRepository = exports.Property = void 0;\nconst sortableSet_1 = require(\"../helpers/sortableSet\");\nclass Property {\n constructor(name, value) {\n this.name = name;\n this.value = value;\n }\n compare(other) {\n return this.name.localeCompare(other.name) ||\n this.value.localeCompare(other.value);\n }\n}\nexports.Property = Property;\nclass PropertyRepository extends sortableSet_1.SortableSet {\n}\nexports.PropertyRepository = PropertyRepository;\n//# sourceMappingURL=property.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar _SWID_tagVersion;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SWID = void 0;\nconst types_1 = require(\"../types\");\nclass SWID {\n constructor(tagId, name, op = {}) {\n _SWID_tagVersion.set(this, void 0);\n this.tagId = tagId;\n this.name = name;\n this.version = op.version;\n this.patch = op.patch;\n this.text = op.text;\n this.url = op.url;\n this.tagVersion = op.tagVersion;\n }\n get tagVersion() {\n return __classPrivateFieldGet(this, _SWID_tagVersion, \"f\");\n }\n set tagVersion(value) {\n if (value !== undefined && !(0, types_1.isNonNegativeInteger)(value)) {\n throw new TypeError('Not NonNegativeInteger nor undefined');\n }\n __classPrivateFieldSet(this, _SWID_tagVersion, value, \"f\");\n }\n}\nexports.SWID = SWID;\n_SWID_tagVersion = new WeakMap();\n//# sourceMappingURL=swid.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ToolRepository = exports.Tool = void 0;\nconst sortableSet_1 = require(\"../helpers/sortableSet\");\nconst externalReference_1 = require(\"./externalReference\");\nconst hash_1 = require(\"./hash\");\nclass Tool {\n constructor(op = {}) {\n this.vendor = op.vendor;\n this.name = op.name;\n this.version = op.version;\n this.hashes = op.hashes ?? new hash_1.HashDictionary();\n this.externalReferences = op.externalReferences ?? new externalReference_1.ExternalReferenceRepository();\n }\n compare(other) {\n return (this.vendor ?? '').localeCompare(other.vendor ?? '') ||\n (this.name ?? '').localeCompare(other.name ?? '') ||\n (this.version ?? '').localeCompare(other.version ?? '');\n }\n}\nexports.Tool = Tool;\nclass ToolRepository extends sortableSet_1.SortableSet {\n}\nexports.ToolRepository = ToolRepository;\n//# sourceMappingURL=tool.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FILES = exports.ROOT = void 0;\nconst path_1 = __importDefault(require(\"path\"));\nconst spec_1 = require(\"./spec\");\nexports.ROOT = path_1.default.resolve(__dirname, '..', 'res');\nexports.FILES = Object.freeze({\n CDX: Object.freeze({\n XML_SCHEMA: Object.freeze(Object.fromEntries([\n [spec_1.Version.v1dot0, path_1.default.resolve(exports.ROOT, 'bom-1.0.SNAPSHOT.xsd')],\n [spec_1.Version.v1dot1, path_1.default.resolve(exports.ROOT, 'bom-1.1.SNAPSHOT.xsd')],\n [spec_1.Version.v1dot2, path_1.default.resolve(exports.ROOT, 'bom-1.2.SNAPSHOT.xsd')],\n [spec_1.Version.v1dot3, path_1.default.resolve(exports.ROOT, 'bom-1.3.SNAPSHOT.xsd')],\n [spec_1.Version.v1dot4, path_1.default.resolve(exports.ROOT, 'bom-1.4.SNAPSHOT.xsd')]\n ])),\n JSON_SCHEMA: Object.freeze(Object.fromEntries([\n [spec_1.Version.v1dot2, path_1.default.resolve(exports.ROOT, 'bom-1.2.SNAPSHOT.schema.json')],\n [spec_1.Version.v1dot3, path_1.default.resolve(exports.ROOT, 'bom-1.3.SNAPSHOT.schema.json')],\n [spec_1.Version.v1dot4, path_1.default.resolve(exports.ROOT, 'bom-1.4.SNAPSHOT.schema.json')]\n ])),\n JSON_STRICT_SCHEMA: Object.freeze(Object.fromEntries([\n [spec_1.Version.v1dot2, path_1.default.resolve(exports.ROOT, 'bom-1.2-strict.SNAPSHOT.schema.json')],\n [spec_1.Version.v1dot3, path_1.default.resolve(exports.ROOT, 'bom-1.3-strict.SNAPSHOT.schema.json')]\n ]))\n }),\n SPDX: Object.freeze({\n XML_SCHEMA: path_1.default.resolve(exports.ROOT, 'spdx.SNAPSHOT.xsd'),\n JSON_SCHEMA: path_1.default.resolve(exports.ROOT, 'spdx.SNAPSHOT.schema.json')\n }),\n JSF: Object.freeze({\n JSON_SCHEMA: path_1.default.resolve(exports.ROOT, 'jsf-0.82.SNAPSHOT.schema.json')\n })\n});\n//# sourceMappingURL=resources.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _BaseSerializer_instances, _BaseSerializer_getAllBomRefs;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BaseSerializer = void 0;\nconst bomRefDiscriminator_1 = require(\"./bomRefDiscriminator\");\nclass BaseSerializer {\n constructor() {\n _BaseSerializer_instances.add(this);\n }\n serialize(bom, options) {\n const bomRefDiscriminator = new bomRefDiscriminator_1.BomRefDiscriminator(__classPrivateFieldGet(this, _BaseSerializer_instances, \"m\", _BaseSerializer_getAllBomRefs).call(this, bom));\n try {\n bomRefDiscriminator.discriminate();\n const normalized = this._normalize(bom, options);\n return this._serialize(normalized, options);\n }\n finally {\n bomRefDiscriminator.reset();\n }\n }\n}\nexports.BaseSerializer = BaseSerializer;\n_BaseSerializer_instances = new WeakSet(), _BaseSerializer_getAllBomRefs = function _BaseSerializer_getAllBomRefs(bom) {\n const bomRefs = new Set();\n function iterComponents(cs) {\n for (const { bomRef, components } of cs) {\n bomRefs.add(bomRef);\n iterComponents(components);\n }\n }\n if (bom.metadata.component !== undefined) {\n bomRefs.add(bom.metadata.component.bomRef);\n iterComponents(bom.metadata.component.components);\n }\n iterComponents(bom.components);\n return bomRefs.values();\n};\n//# sourceMappingURL=baseSerializer.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _BomRefDiscriminator_instances, _BomRefDiscriminator_originalValues, _BomRefDiscriminator_prefix, _BomRefDiscriminator_makeUniqueId;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BomRefDiscriminator = void 0;\nclass BomRefDiscriminator {\n constructor(bomRefs, prefix = 'BomRef') {\n _BomRefDiscriminator_instances.add(this);\n _BomRefDiscriminator_originalValues.set(this, void 0);\n _BomRefDiscriminator_prefix.set(this, void 0);\n __classPrivateFieldSet(this, _BomRefDiscriminator_originalValues, new Map(Array.from(bomRefs).map(ref => [ref, ref.value])), \"f\");\n __classPrivateFieldSet(this, _BomRefDiscriminator_prefix, prefix, \"f\");\n }\n get prefix() {\n return __classPrivateFieldGet(this, _BomRefDiscriminator_prefix, \"f\");\n }\n [(_BomRefDiscriminator_originalValues = new WeakMap(), _BomRefDiscriminator_prefix = new WeakMap(), _BomRefDiscriminator_instances = new WeakSet(), Symbol.iterator)]() {\n return __classPrivateFieldGet(this, _BomRefDiscriminator_originalValues, \"f\").keys();\n }\n discriminate() {\n const knownRefValues = new Set();\n for (const [bomRef] of __classPrivateFieldGet(this, _BomRefDiscriminator_originalValues, \"f\")) {\n let value = bomRef.value;\n if (value === undefined || knownRefValues.has(value)) {\n value = __classPrivateFieldGet(this, _BomRefDiscriminator_instances, \"m\", _BomRefDiscriminator_makeUniqueId).call(this);\n bomRef.value = value;\n }\n knownRefValues.add(value);\n }\n }\n reset() {\n for (const [bomRef, originalValue] of __classPrivateFieldGet(this, _BomRefDiscriminator_originalValues, \"f\")) {\n bomRef.value = originalValue;\n }\n }\n}\nexports.BomRefDiscriminator = BomRefDiscriminator;\n_BomRefDiscriminator_makeUniqueId = function _BomRefDiscriminator_makeUniqueId() {\n return `${__classPrivateFieldGet(this, _BomRefDiscriminator_prefix, \"f\")}${Math.random().toString(32).substring(1)}${Math.random().toString(32).substring(1)}`;\n};\n//# sourceMappingURL=bomRefDiscriminator.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.XML = exports.JSON = exports.Types = void 0;\n__exportStar(require(\"./bomRefDiscriminator\"), exports);\nexports.Types = __importStar(require(\"./types\"));\n__exportStar(require(\"./baseSerializer\"), exports);\nexports.JSON = __importStar(require(\"./json\"));\n__exportStar(require(\"./jsonSerializer\"), exports);\nexports.XML = __importStar(require(\"./xml\"));\n__exportStar(require(\"./xmlBaseSerializer\"), exports);\n//# sourceMappingURL=index.common.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./index.common\"), exports);\n__exportStar(require(\"./xmlSerializer.node\"), exports);\n//# sourceMappingURL=index.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Types = exports.Normalize = void 0;\nexports.Normalize = __importStar(require(\"./normalize\"));\nexports.Types = __importStar(require(\"./types\"));\n//# sourceMappingURL=index.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _Factory_spec, _LicenseNormalizer_instances, _LicenseNormalizer_normalizeNamedLicense, _LicenseNormalizer_normalizeSpdxLicense, _LicenseNormalizer_normalizeLicenseExpression, _DependencyGraphNormalizer_instances, _DependencyGraphNormalizer_normalizeDependency;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DependencyGraphNormalizer = exports.PropertyNormalizer = exports.AttachmentNormalizer = exports.ExternalReferenceNormalizer = exports.SWIDNormalizer = exports.LicenseNormalizer = exports.ComponentNormalizer = exports.OrganizationalEntityNormalizer = exports.OrganizationalContactNormalizer = exports.HashNormalizer = exports.ToolNormalizer = exports.MetadataNormalizer = exports.BomNormalizer = exports.Factory = void 0;\nconst notUndefined_1 = require(\"../../helpers/notUndefined\");\nconst tree_1 = require(\"../../helpers/tree\");\nconst Models = __importStar(require(\"../../models\"));\nconst spec_1 = require(\"../../spec\");\nconst types_1 = require(\"./types\");\nclass Factory {\n constructor(spec) {\n _Factory_spec.set(this, void 0);\n __classPrivateFieldSet(this, _Factory_spec, spec, \"f\");\n }\n get spec() {\n return __classPrivateFieldGet(this, _Factory_spec, \"f\");\n }\n makeForBom() {\n return new BomNormalizer(this);\n }\n makeForMetadata() {\n return new MetadataNormalizer(this);\n }\n makeForComponent() {\n return new ComponentNormalizer(this);\n }\n makeForTool() {\n return new ToolNormalizer(this);\n }\n makeForOrganizationalContact() {\n return new OrganizationalContactNormalizer(this);\n }\n makeForOrganizationalEntity() {\n return new OrganizationalEntityNormalizer(this);\n }\n makeForHash() {\n return new HashNormalizer(this);\n }\n makeForLicense() {\n return new LicenseNormalizer(this);\n }\n makeForSWID() {\n return new SWIDNormalizer(this);\n }\n makeForExternalReference() {\n return new ExternalReferenceNormalizer(this);\n }\n makeForAttachment() {\n return new AttachmentNormalizer(this);\n }\n makeForProperty() {\n return new PropertyNormalizer(this);\n }\n makeForDependencyGraph() {\n return new DependencyGraphNormalizer(this);\n }\n}\nexports.Factory = Factory;\n_Factory_spec = new WeakMap();\nconst schemaUrl = new Map([\n [spec_1.Version.v1dot2, 'http://cyclonedx.org/schema/bom-1.2b.schema.json'],\n [spec_1.Version.v1dot3, 'http://cyclonedx.org/schema/bom-1.3a.schema.json'],\n [spec_1.Version.v1dot4, 'http://cyclonedx.org/schema/bom-1.4.schema.json']\n]);\nclass Base {\n constructor(factory) {\n this._factory = factory;\n }\n get factory() {\n return this._factory;\n }\n}\nclass BomNormalizer extends Base {\n normalize(data, options) {\n return {\n $schema: schemaUrl.get(this._factory.spec.version),\n bomFormat: 'CycloneDX',\n specVersion: this._factory.spec.version,\n version: data.version,\n serialNumber: data.serialNumber,\n metadata: this._factory.makeForMetadata().normalize(data.metadata, options),\n components: data.components.size > 0\n ? this._factory.makeForComponent().normalizeIterable(data.components, options)\n : [],\n dependencies: this._factory.spec.supportsDependencyGraph\n ? this._factory.makeForDependencyGraph().normalize(data, options)\n : undefined\n };\n }\n}\nexports.BomNormalizer = BomNormalizer;\nclass MetadataNormalizer extends Base {\n normalize(data, options) {\n const orgEntityNormalizer = this._factory.makeForOrganizationalEntity();\n return {\n timestamp: data.timestamp?.toISOString(),\n tools: data.tools.size > 0\n ? this._factory.makeForTool().normalizeIterable(data.tools, options)\n : undefined,\n authors: data.authors.size > 0\n ? this._factory.makeForOrganizationalContact().normalizeIterable(data.authors, options)\n : undefined,\n component: data.component === undefined\n ? undefined\n : this._factory.makeForComponent().normalize(data.component, options),\n manufacture: data.manufacture === undefined\n ? undefined\n : orgEntityNormalizer.normalize(data.manufacture, options),\n supplier: data.supplier === undefined\n ? undefined\n : orgEntityNormalizer.normalize(data.supplier, options)\n };\n }\n}\nexports.MetadataNormalizer = MetadataNormalizer;\nclass ToolNormalizer extends Base {\n constructor() {\n super(...arguments);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize(data, options) {\n return {\n vendor: data.vendor || undefined,\n name: data.name || undefined,\n version: data.version || undefined,\n hashes: data.hashes.size > 0\n ? this._factory.makeForHash().normalizeIterable(data.hashes, options)\n : undefined,\n externalReferences: this._factory.spec.supportsToolReferences && data.externalReferences.size > 0\n ? this._factory.makeForExternalReference().normalizeIterable(data.externalReferences, options)\n : undefined\n };\n }\n normalizeIterable(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(t => this.normalize(t, options));\n }\n}\nexports.ToolNormalizer = ToolNormalizer;\nclass HashNormalizer extends Base {\n constructor() {\n super(...arguments);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize([algorithm, content], options) {\n const spec = this._factory.spec;\n return spec.supportsHashAlgorithm(algorithm) && spec.supportsHashValue(content)\n ? {\n alg: algorithm,\n content\n }\n : undefined;\n }\n normalizeIterable(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(h => this.normalize(h, options)).filter(notUndefined_1.isNotUndefined);\n }\n}\nexports.HashNormalizer = HashNormalizer;\nclass OrganizationalContactNormalizer extends Base {\n constructor() {\n super(...arguments);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize(data, options) {\n return {\n name: data.name || undefined,\n email: types_1.JsonSchema.isIdnEmail(data.email)\n ? data.email\n : undefined,\n phone: data.phone || undefined\n };\n }\n normalizeIterable(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(c => this.normalize(c, options));\n }\n}\nexports.OrganizationalContactNormalizer = OrganizationalContactNormalizer;\nclass OrganizationalEntityNormalizer extends Base {\n normalize(data, options) {\n const urls = normalizeStringableIter(data.url, options)\n .filter(types_1.JsonSchema.isIriReference);\n return {\n name: data.name || undefined,\n url: urls.length > 0\n ? urls\n : undefined,\n contact: data.contact.size > 0\n ? this._factory.makeForOrganizationalContact().normalizeIterable(data.contact, options)\n : undefined\n };\n }\n}\nexports.OrganizationalEntityNormalizer = OrganizationalEntityNormalizer;\nclass ComponentNormalizer extends Base {\n constructor() {\n super(...arguments);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize(data, options) {\n const spec = this._factory.spec;\n const version = data.version ?? '';\n return spec.supportsComponentType(data.type)\n ? {\n type: data.type,\n name: data.name,\n group: data.group || undefined,\n version: version.length > 0 || spec.requiresComponentVersion\n ? version\n : undefined,\n 'bom-ref': data.bomRef.value || undefined,\n supplier: data.supplier === undefined\n ? undefined\n : this._factory.makeForOrganizationalEntity().normalize(data.supplier, options),\n author: data.author || undefined,\n publisher: data.publisher || undefined,\n description: data.description || undefined,\n scope: data.scope,\n hashes: data.hashes.size > 0\n ? this._factory.makeForHash().normalizeIterable(data.hashes, options)\n : undefined,\n licenses: data.licenses.size > 0\n ? this._factory.makeForLicense().normalizeIterable(data.licenses, options)\n : undefined,\n copyright: data.copyright || undefined,\n cpe: data.cpe || undefined,\n purl: data.purl?.toString(),\n swid: data.swid === undefined\n ? undefined\n : this._factory.makeForSWID().normalize(data.swid, options),\n externalReferences: data.externalReferences.size > 0\n ? this._factory.makeForExternalReference().normalizeIterable(data.externalReferences, options)\n : undefined,\n properties: spec.supportsProperties(data) && data.properties.size > 0\n ? this._factory.makeForProperty().normalizeIterable(data.properties, options)\n : undefined,\n components: data.components.size > 0\n ? this.normalizeIterable(data.components, options)\n : undefined\n }\n : undefined;\n }\n normalizeIterable(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(c => this.normalize(c, options)).filter(notUndefined_1.isNotUndefined);\n }\n}\nexports.ComponentNormalizer = ComponentNormalizer;\nclass LicenseNormalizer extends Base {\n constructor() {\n super(...arguments);\n _LicenseNormalizer_instances.add(this);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize(data, options) {\n switch (true) {\n case data instanceof Models.NamedLicense:\n return __classPrivateFieldGet(this, _LicenseNormalizer_instances, \"m\", _LicenseNormalizer_normalizeNamedLicense).call(this, data, options);\n case data instanceof Models.SpdxLicense:\n return __classPrivateFieldGet(this, _LicenseNormalizer_instances, \"m\", _LicenseNormalizer_normalizeSpdxLicense).call(this, data, options);\n case data instanceof Models.LicenseExpression:\n return __classPrivateFieldGet(this, _LicenseNormalizer_instances, \"m\", _LicenseNormalizer_normalizeLicenseExpression).call(this, data);\n default:\n throw new TypeError('Unexpected LicenseChoice');\n }\n }\n normalizeIterable(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(c => this.normalize(c, options));\n }\n}\nexports.LicenseNormalizer = LicenseNormalizer;\n_LicenseNormalizer_instances = new WeakSet(), _LicenseNormalizer_normalizeNamedLicense = function _LicenseNormalizer_normalizeNamedLicense(data, options) {\n return {\n license: {\n name: data.name,\n text: data.text === undefined\n ? undefined\n : this._factory.makeForAttachment().normalize(data.text, options),\n url: data.url?.toString()\n }\n };\n}, _LicenseNormalizer_normalizeSpdxLicense = function _LicenseNormalizer_normalizeSpdxLicense(data, options) {\n return {\n license: {\n id: data.id,\n text: data.text === undefined\n ? undefined\n : this._factory.makeForAttachment().normalize(data.text, options),\n url: data.url?.toString()\n }\n };\n}, _LicenseNormalizer_normalizeLicenseExpression = function _LicenseNormalizer_normalizeLicenseExpression(data) {\n return {\n expression: data.expression\n };\n};\nclass SWIDNormalizer extends Base {\n normalize(data, options) {\n const url = data.url?.toString();\n return {\n tagId: data.tagId,\n name: data.name,\n version: data.version || undefined,\n tagVersion: data.tagVersion,\n patch: data.patch,\n text: data.text === undefined\n ? undefined\n : this._factory.makeForAttachment().normalize(data.text, options),\n url: types_1.JsonSchema.isIriReference(url)\n ? url\n : undefined\n };\n }\n}\nexports.SWIDNormalizer = SWIDNormalizer;\nclass ExternalReferenceNormalizer extends Base {\n constructor() {\n super(...arguments);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize(data, options) {\n return this._factory.spec.supportsExternalReferenceType(data.type)\n ? {\n url: data.url.toString(),\n type: data.type,\n comment: data.comment || undefined\n }\n : undefined;\n }\n normalizeIterable(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(r => this.normalize(r, options)).filter(notUndefined_1.isNotUndefined);\n }\n}\nexports.ExternalReferenceNormalizer = ExternalReferenceNormalizer;\nclass AttachmentNormalizer extends Base {\n normalize(data, options) {\n return {\n content: data.content,\n contentType: data.contentType || undefined,\n encoding: data.encoding\n };\n }\n}\nexports.AttachmentNormalizer = AttachmentNormalizer;\nclass PropertyNormalizer extends Base {\n constructor() {\n super(...arguments);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize(data, options) {\n return {\n name: data.name,\n value: data.value\n };\n }\n normalizeIterable(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(p => this.normalize(p, options));\n }\n}\nexports.PropertyNormalizer = PropertyNormalizer;\nclass DependencyGraphNormalizer extends Base {\n constructor() {\n super(...arguments);\n _DependencyGraphNormalizer_instances.add(this);\n }\n normalize(data, options) {\n const allRefs = new Map();\n if (data.metadata.component !== undefined) {\n allRefs.set(data.metadata.component.bomRef, data.metadata.component.dependencies);\n for (const component of data.metadata.component.components[tree_1.treeIteratorSymbol]()) {\n allRefs.set(component.bomRef, component.dependencies);\n }\n }\n for (const component of data.components[tree_1.treeIteratorSymbol]()) {\n allRefs.set(component.bomRef, component.dependencies);\n }\n const normalized = [];\n for (const [ref, deps] of allRefs) {\n const dep = __classPrivateFieldGet(this, _DependencyGraphNormalizer_instances, \"m\", _DependencyGraphNormalizer_normalizeDependency).call(this, ref, deps, allRefs, options);\n if ((0, notUndefined_1.isNotUndefined)(dep)) {\n normalized.push(dep);\n }\n }\n if (options.sortLists ?? false) {\n normalized.sort(({ ref: a }, { ref: b }) => a.localeCompare(b));\n }\n return normalized;\n }\n}\nexports.DependencyGraphNormalizer = DependencyGraphNormalizer;\n_DependencyGraphNormalizer_instances = new WeakSet(), _DependencyGraphNormalizer_normalizeDependency = function _DependencyGraphNormalizer_normalizeDependency(ref, deps, allRefs, options) {\n const bomRef = ref.toString();\n if (bomRef.length === 0) {\n return undefined;\n }\n const dependsOn = normalizeStringableIter(Array.from(deps).filter(d => allRefs.has(d) && d !== ref), options).filter(d => d.length > 0);\n return {\n ref: bomRef,\n dependsOn: dependsOn.length > 0\n ? dependsOn\n : undefined\n };\n};\nfunction normalizeStringableIter(data, options) {\n const r = Array.from(data, d => d.toString());\n if (options.sortLists ?? false) {\n r.sort((a, b) => a.localeCompare(b));\n }\n return r;\n}\n//# sourceMappingURL=normalize.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.JsonSchema = void 0;\nvar JsonSchema;\n(function (JsonSchema) {\n function isIriReference(value) {\n return typeof value === 'string' &&\n value.length > 0;\n }\n JsonSchema.isIriReference = isIriReference;\n function isIdnEmail(value) {\n return typeof value === 'string' &&\n value.length > 0;\n }\n JsonSchema.isIdnEmail = isIdnEmail;\n})(JsonSchema = exports.JsonSchema || (exports.JsonSchema = {}));\n//# sourceMappingURL=types.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _JsonSerializer_normalizerFactory;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.JsonSerializer = void 0;\nconst spec_1 = require(\"../spec\");\nconst baseSerializer_1 = require(\"./baseSerializer\");\nclass JsonSerializer extends baseSerializer_1.BaseSerializer {\n constructor(normalizerFactory) {\n if (!normalizerFactory.spec.supportsFormat(spec_1.Format.JSON)) {\n throw new spec_1.UnsupportedFormatError('Spec does not support JSON format.');\n }\n super();\n _JsonSerializer_normalizerFactory.set(this, void 0);\n __classPrivateFieldSet(this, _JsonSerializer_normalizerFactory, normalizerFactory, \"f\");\n }\n get normalizerFactory() {\n return __classPrivateFieldGet(this, _JsonSerializer_normalizerFactory, \"f\");\n }\n _normalize(bom, options = {}) {\n return __classPrivateFieldGet(this, _JsonSerializer_normalizerFactory, \"f\").makeForBom()\n .normalize(bom, options);\n }\n _serialize(bom, { space } = {}) {\n return JSON.stringify(bom, null, space);\n }\n}\nexports.JsonSerializer = JsonSerializer;\n_JsonSerializer_normalizerFactory = new WeakMap();\n//# sourceMappingURL=jsonSerializer.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=types.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Types = exports.Normalize = void 0;\nexports.Normalize = __importStar(require(\"./normalize\"));\nexports.Types = __importStar(require(\"./types\"));\n//# sourceMappingURL=index.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _Factory_spec, _LicenseNormalizer_instances, _LicenseNormalizer_normalizeNamedLicense, _LicenseNormalizer_normalizeSpdxLicense, _LicenseNormalizer_normalizeLicenseExpression, _DependencyGraphNormalizer_instances, _DependencyGraphNormalizer_normalizeDependency;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DependencyGraphNormalizer = exports.PropertyNormalizer = exports.AttachmentNormalizer = exports.ExternalReferenceNormalizer = exports.SWIDNormalizer = exports.LicenseNormalizer = exports.ComponentNormalizer = exports.OrganizationalEntityNormalizer = exports.OrganizationalContactNormalizer = exports.HashNormalizer = exports.ToolNormalizer = exports.MetadataNormalizer = exports.BomNormalizer = exports.Factory = void 0;\nconst notUndefined_1 = require(\"../../helpers/notUndefined\");\nconst tree_1 = require(\"../../helpers/tree\");\nconst Models = __importStar(require(\"../../models\"));\nconst spec_1 = require(\"../../spec\");\nconst types_1 = require(\"./types\");\nclass Factory {\n constructor(spec) {\n _Factory_spec.set(this, void 0);\n __classPrivateFieldSet(this, _Factory_spec, spec, \"f\");\n }\n get spec() {\n return __classPrivateFieldGet(this, _Factory_spec, \"f\");\n }\n makeForBom() {\n return new BomNormalizer(this);\n }\n makeForMetadata() {\n return new MetadataNormalizer(this);\n }\n makeForComponent() {\n return new ComponentNormalizer(this);\n }\n makeForTool() {\n return new ToolNormalizer(this);\n }\n makeForOrganizationalContact() {\n return new OrganizationalContactNormalizer(this);\n }\n makeForOrganizationalEntity() {\n return new OrganizationalEntityNormalizer(this);\n }\n makeForHash() {\n return new HashNormalizer(this);\n }\n makeForLicense() {\n return new LicenseNormalizer(this);\n }\n makeForSWID() {\n return new SWIDNormalizer(this);\n }\n makeForExternalReference() {\n return new ExternalReferenceNormalizer(this);\n }\n makeForAttachment() {\n return new AttachmentNormalizer(this);\n }\n makeForProperty() {\n return new PropertyNormalizer(this);\n }\n makeForDependencyGraph() {\n return new DependencyGraphNormalizer(this);\n }\n}\nexports.Factory = Factory;\n_Factory_spec = new WeakMap();\nconst xmlNamespace = new Map([\n [spec_1.Version.v1dot2, 'http://cyclonedx.org/schema/bom/1.2'],\n [spec_1.Version.v1dot3, 'http://cyclonedx.org/schema/bom/1.3'],\n [spec_1.Version.v1dot4, 'http://cyclonedx.org/schema/bom/1.4']\n]);\nclass Base {\n constructor(factory) {\n this._factory = factory;\n }\n get factory() {\n return this._factory;\n }\n}\nclass BomNormalizer extends Base {\n normalize(data, options) {\n const components = {\n type: 'element',\n name: 'components',\n children: data.components.size > 0\n ? this._factory.makeForComponent().normalizeIterable(data.components, options, 'component')\n : undefined\n };\n return {\n type: 'element',\n name: 'bom',\n namespace: xmlNamespace.get(this._factory.spec.version),\n attributes: {\n version: data.version,\n serialNumber: data.serialNumber\n },\n children: [\n data.metadata\n ? this._factory.makeForMetadata().normalize(data.metadata, options, 'metadata')\n : undefined,\n components,\n this._factory.spec.supportsDependencyGraph\n ? this._factory.makeForDependencyGraph().normalize(data, options, 'dependencies')\n : undefined\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n}\nexports.BomNormalizer = BomNormalizer;\nclass MetadataNormalizer extends Base {\n normalize(data, options, elementName) {\n const orgEntityNormalizer = this._factory.makeForOrganizationalEntity();\n const timestamp = data.timestamp === undefined\n ? undefined\n : {\n type: 'element',\n name: 'timestamp',\n children: data.timestamp.toISOString()\n };\n const tools = data.tools.size > 0\n ? {\n type: 'element',\n name: 'tools',\n children: this._factory.makeForTool().normalizeIterable(data.tools, options, 'tool')\n }\n : undefined;\n const authors = data.authors.size > 0\n ? {\n type: 'element',\n name: 'authors',\n children: this._factory.makeForOrganizationalContact()\n .normalizeIterable(data.authors, options, 'author')\n }\n : undefined;\n return {\n type: 'element',\n name: elementName,\n children: [\n timestamp,\n tools,\n authors,\n data.component === undefined\n ? undefined\n : this._factory.makeForComponent().normalize(data.component, options, 'component'),\n data.manufacture === undefined\n ? undefined\n : orgEntityNormalizer.normalize(data.manufacture, options, 'manufacture'),\n data.supplier === undefined\n ? undefined\n : orgEntityNormalizer.normalize(data.supplier, options, 'supplier')\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n}\nexports.MetadataNormalizer = MetadataNormalizer;\nclass ToolNormalizer extends Base {\n constructor() {\n super(...arguments);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize(data, options, elementName) {\n const hashes = data.hashes.size > 0\n ? {\n type: 'element',\n name: 'hashes',\n children: this._factory.makeForHash().normalizeIterable(data.hashes, options, 'hash')\n }\n : undefined;\n const externalReferences = this._factory.spec.supportsToolReferences && data.externalReferences.size > 0\n ? {\n type: 'element',\n name: 'externalReferences',\n children: this._factory.makeForExternalReference()\n .normalizeIterable(data.externalReferences, options, 'reference')\n }\n : undefined;\n return {\n type: 'element',\n name: elementName,\n children: [\n makeOptionalTextElement(data.vendor, 'vendor'),\n makeOptionalTextElement(data.name, 'name'),\n makeOptionalTextElement(data.version, 'version'),\n hashes,\n externalReferences\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n normalizeIterable(data, options, elementName) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(t => this.normalize(t, options, elementName));\n }\n}\nexports.ToolNormalizer = ToolNormalizer;\nclass HashNormalizer extends Base {\n constructor() {\n super(...arguments);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize([algorithm, content], options, elementName) {\n const spec = this._factory.spec;\n return spec.supportsHashAlgorithm(algorithm) && spec.supportsHashValue(content)\n ? {\n type: 'element',\n name: elementName,\n attributes: { alg: algorithm },\n children: content\n }\n : undefined;\n }\n normalizeIterable(data, options, elementName) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(h => this.normalize(h, options, elementName)).filter(notUndefined_1.isNotUndefined);\n }\n}\nexports.HashNormalizer = HashNormalizer;\nclass OrganizationalContactNormalizer extends Base {\n constructor() {\n super(...arguments);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize(data, options, elementName) {\n return {\n type: 'element',\n name: elementName,\n children: [\n makeOptionalTextElement(data.name, 'name'),\n makeOptionalTextElement(data.email, 'email'),\n makeOptionalTextElement(data.phone, 'phone')\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n normalizeIterable(data, options, elementName) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(c => this.normalize(c, options, elementName));\n }\n}\nexports.OrganizationalContactNormalizer = OrganizationalContactNormalizer;\nclass OrganizationalEntityNormalizer extends Base {\n normalize(data, options, elementName) {\n return {\n type: 'element',\n name: elementName,\n children: [\n makeOptionalTextElement(data.name, 'name'),\n ...makeTextElementIter(data.url, options, 'url')\n .filter(({ children: u }) => types_1.XmlSchema.isAnyURI(u)),\n ...this._factory.makeForOrganizationalContact().normalizeIterable(data.contact, options, 'contact')\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n}\nexports.OrganizationalEntityNormalizer = OrganizationalEntityNormalizer;\nclass ComponentNormalizer extends Base {\n constructor() {\n super(...arguments);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize(data, options, elementName) {\n const spec = this._factory.spec;\n if (!spec.supportsComponentType(data.type)) {\n return undefined;\n }\n const supplier = data.supplier === undefined\n ? undefined\n : this._factory.makeForOrganizationalEntity().normalize(data.supplier, options, 'supplier');\n const version = (spec.requiresComponentVersion\n ? makeTextElement\n : makeOptionalTextElement)(data.version ?? '', 'version');\n const hashes = data.hashes.size > 0\n ? {\n type: 'element',\n name: 'hashes',\n children: this._factory.makeForHash().normalizeIterable(data.hashes, options, 'hash')\n }\n : undefined;\n const licenses = data.licenses.size > 0\n ? {\n type: 'element',\n name: 'licenses',\n children: this._factory.makeForLicense().normalizeIterable(data.licenses, options)\n }\n : undefined;\n const swid = data.swid === undefined\n ? undefined\n : this._factory.makeForSWID().normalize(data.swid, options, 'swid');\n const extRefs = data.externalReferences.size > 0\n ? {\n type: 'element',\n name: 'externalReferences',\n children: this._factory.makeForExternalReference()\n .normalizeIterable(data.externalReferences, options, 'reference')\n }\n : undefined;\n const properties = spec.supportsProperties(data) && data.properties.size > 0\n ? {\n type: 'element',\n name: 'properties',\n children: this._factory.makeForProperty().normalizeIterable(data.properties, options, 'property')\n }\n : undefined;\n const components = data.components.size > 0\n ? {\n type: 'element',\n name: 'components',\n children: this.normalizeIterable(data.components, options, 'component')\n }\n : undefined;\n return {\n type: 'element',\n name: elementName,\n attributes: {\n type: data.type,\n 'bom-ref': data.bomRef.value\n },\n children: [\n supplier,\n makeOptionalTextElement(data.author, 'author'),\n makeOptionalTextElement(data.publisher, 'publisher'),\n makeOptionalTextElement(data.group, 'group'),\n makeTextElement(data.name, 'name'),\n version,\n makeOptionalTextElement(data.description, 'description'),\n makeOptionalTextElement(data.scope, 'scope'),\n hashes,\n licenses,\n makeOptionalTextElement(data.copyright, 'copyright'),\n makeOptionalTextElement(data.cpe, 'cpe'),\n makeOptionalTextElement(data.purl, 'purl'),\n swid,\n extRefs,\n properties,\n components\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n normalizeIterable(data, options, elementName) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(c => this.normalize(c, options, elementName)).filter(notUndefined_1.isNotUndefined);\n }\n}\nexports.ComponentNormalizer = ComponentNormalizer;\nclass LicenseNormalizer extends Base {\n constructor() {\n super(...arguments);\n _LicenseNormalizer_instances.add(this);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize(data, options) {\n switch (true) {\n case data instanceof Models.NamedLicense:\n return __classPrivateFieldGet(this, _LicenseNormalizer_instances, \"m\", _LicenseNormalizer_normalizeNamedLicense).call(this, data, options);\n case data instanceof Models.SpdxLicense:\n return __classPrivateFieldGet(this, _LicenseNormalizer_instances, \"m\", _LicenseNormalizer_normalizeSpdxLicense).call(this, data, options);\n case data instanceof Models.LicenseExpression:\n return __classPrivateFieldGet(this, _LicenseNormalizer_instances, \"m\", _LicenseNormalizer_normalizeLicenseExpression).call(this, data);\n default:\n throw new TypeError('Unexpected LicenseChoice');\n }\n }\n normalizeIterable(data, options) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(c => this.normalize(c, options));\n }\n}\nexports.LicenseNormalizer = LicenseNormalizer;\n_LicenseNormalizer_instances = new WeakSet(), _LicenseNormalizer_normalizeNamedLicense = function _LicenseNormalizer_normalizeNamedLicense(data, options) {\n const url = data.url?.toString();\n return {\n type: 'element',\n name: 'license',\n children: [\n makeTextElement(data.name, 'name'),\n data.text === undefined\n ? undefined\n : this._factory.makeForAttachment().normalize(data.text, options, 'text'),\n types_1.XmlSchema.isAnyURI(url)\n ? makeTextElement(url, 'url')\n : undefined\n ].filter(notUndefined_1.isNotUndefined)\n };\n}, _LicenseNormalizer_normalizeSpdxLicense = function _LicenseNormalizer_normalizeSpdxLicense(data, options) {\n const url = data.url?.toString();\n return {\n type: 'element',\n name: 'license',\n children: [\n makeTextElement(data.id, 'id'),\n data.text === undefined\n ? undefined\n : this._factory.makeForAttachment().normalize(data.text, options, 'text'),\n types_1.XmlSchema.isAnyURI(url)\n ? makeTextElement(url, 'url')\n : undefined\n ].filter(notUndefined_1.isNotUndefined)\n };\n}, _LicenseNormalizer_normalizeLicenseExpression = function _LicenseNormalizer_normalizeLicenseExpression(data) {\n return makeTextElement(data.expression, 'expression');\n};\nclass SWIDNormalizer extends Base {\n normalize(data, options, elementName) {\n const url = data.url?.toString();\n return {\n type: 'element',\n name: elementName,\n attributes: {\n tagId: data.tagId,\n name: data.name,\n version: data.version || undefined,\n tagVersion: data.tagVersion,\n patch: data.patch === undefined\n ? undefined\n : (data.patch ? 'true' : 'false')\n },\n children: [\n data.text === undefined\n ? undefined\n : this._factory.makeForAttachment().normalize(data.text, options, 'text'),\n types_1.XmlSchema.isAnyURI(url)\n ? makeTextElement(url, 'url')\n : undefined\n ].filter(notUndefined_1.isNotUndefined)\n };\n }\n}\nexports.SWIDNormalizer = SWIDNormalizer;\nclass ExternalReferenceNormalizer extends Base {\n constructor() {\n super(...arguments);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize(data, options, elementName) {\n const url = data.url.toString();\n return this._factory.spec.supportsExternalReferenceType(data.type) &&\n types_1.XmlSchema.isAnyURI(url)\n ? {\n type: 'element',\n name: elementName,\n attributes: {\n type: data.type\n },\n children: [\n makeTextElement(url, 'url'),\n makeOptionalTextElement(data.comment, 'comment')\n ].filter(notUndefined_1.isNotUndefined)\n }\n : undefined;\n }\n normalizeIterable(data, options, elementName) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(r => this.normalize(r, options, elementName)).filter(notUndefined_1.isNotUndefined);\n }\n}\nexports.ExternalReferenceNormalizer = ExternalReferenceNormalizer;\nclass AttachmentNormalizer extends Base {\n normalize(data, options, elementName) {\n return {\n type: 'element',\n name: elementName,\n attributes: {\n 'content-type': data.contentType || undefined,\n encoding: data.encoding || undefined\n },\n children: data.content\n };\n }\n}\nexports.AttachmentNormalizer = AttachmentNormalizer;\nclass PropertyNormalizer extends Base {\n constructor() {\n super(...arguments);\n this.normalizeRepository = this.normalizeIterable;\n }\n normalize(data, options, elementName) {\n return {\n type: 'element',\n name: elementName,\n attributes: {\n name: data.name\n },\n children: data.value\n };\n }\n normalizeIterable(data, options, elementName) {\n return (options.sortLists ?? false\n ? data.sorted()\n : Array.from(data)).map(p => this.normalize(p, options, elementName));\n }\n}\nexports.PropertyNormalizer = PropertyNormalizer;\nclass DependencyGraphNormalizer extends Base {\n constructor() {\n super(...arguments);\n _DependencyGraphNormalizer_instances.add(this);\n }\n normalize(data, options, elementName) {\n const allRefs = new Map();\n if (data.metadata.component !== undefined) {\n allRefs.set(data.metadata.component.bomRef, data.metadata.component.dependencies);\n for (const component of data.metadata.component.components[tree_1.treeIteratorSymbol]()) {\n allRefs.set(component.bomRef, component.dependencies);\n }\n }\n for (const component of data.components[tree_1.treeIteratorSymbol]()) {\n allRefs.set(component.bomRef, component.dependencies);\n }\n const normalized = [];\n for (const [ref, deps] of allRefs) {\n const dep = __classPrivateFieldGet(this, _DependencyGraphNormalizer_instances, \"m\", _DependencyGraphNormalizer_normalizeDependency).call(this, ref, deps, allRefs, options);\n if ((0, notUndefined_1.isNotUndefined)(dep)) {\n normalized.push(dep);\n }\n }\n if (options.sortLists ?? false) {\n normalized.sort(({ attributes: { ref: a } }, { attributes: { ref: b } }) => a.localeCompare(b));\n }\n return {\n type: 'element',\n name: elementName,\n children: normalized\n };\n }\n}\nexports.DependencyGraphNormalizer = DependencyGraphNormalizer;\n_DependencyGraphNormalizer_instances = new WeakSet(), _DependencyGraphNormalizer_normalizeDependency = function _DependencyGraphNormalizer_normalizeDependency(ref, deps, allRefs, options) {\n const bomRef = ref.toString();\n if (bomRef.length === 0) {\n return undefined;\n }\n const dependsOn = Array.from(deps).filter(d => allRefs.has(d) && d !== ref)\n .map(d => d.toString()).filter(d => d.length > 0);\n if (options.sortLists ?? false) {\n dependsOn.sort((a, b) => a.localeCompare(b));\n }\n return {\n type: 'element',\n name: 'dependency',\n attributes: { ref: bomRef },\n children: dependsOn.map(d => ({\n type: 'element',\n name: 'dependency',\n attributes: { ref: d }\n }))\n };\n};\nfunction makeOptionalTextElement(data, elementName) {\n const s = data?.toString() ?? '';\n return s.length > 0\n ? makeTextElement(s, elementName)\n : undefined;\n}\nfunction makeTextElement(data, elementName) {\n return {\n type: 'element',\n name: elementName,\n children: data.toString()\n };\n}\nfunction makeTextElementIter(data, options, elementName) {\n const r = Array.from(data, d => makeTextElement(d, elementName));\n if (options.sortLists ?? false) {\n r.sort(({ children: a }, { children: b }) => a.localeCompare(b));\n }\n return r;\n}\n//# sourceMappingURL=normalize.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.XmlSchema = void 0;\nvar XmlSchema;\n(function (XmlSchema) {\n const _anyUriSchemePattern = /^[a-z][a-z0-9+\\-.]*$/i;\n function isAnyURI(value) {\n if (typeof value !== 'string') {\n return false;\n }\n if (value.length === 0) {\n return false;\n }\n const fragmentPos = value.indexOf('#');\n let beforeFragment;\n if (fragmentPos >= 0) {\n if (value.includes('#', fragmentPos + 1)) {\n return false;\n }\n beforeFragment = value.slice(undefined, fragmentPos);\n }\n else {\n beforeFragment = value;\n }\n const schemePos = beforeFragment.indexOf(':');\n if (schemePos >= 0) {\n if (!_anyUriSchemePattern.test(beforeFragment.slice(undefined, schemePos))) {\n return false;\n }\n }\n return true;\n }\n XmlSchema.isAnyURI = isAnyURI;\n})(XmlSchema = exports.XmlSchema || (exports.XmlSchema = {}));\n//# sourceMappingURL=types.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _XmlBaseSerializer_normalizerFactory;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.XmlBaseSerializer = void 0;\nconst spec_1 = require(\"../spec\");\nconst baseSerializer_1 = require(\"./baseSerializer\");\nclass XmlBaseSerializer extends baseSerializer_1.BaseSerializer {\n constructor(normalizerFactory) {\n if (!normalizerFactory.spec.supportsFormat(spec_1.Format.JSON)) {\n throw new spec_1.UnsupportedFormatError('Spec does not support JSON format.');\n }\n super();\n _XmlBaseSerializer_normalizerFactory.set(this, void 0);\n __classPrivateFieldSet(this, _XmlBaseSerializer_normalizerFactory, normalizerFactory, \"f\");\n }\n get normalizerFactory() {\n return __classPrivateFieldGet(this, _XmlBaseSerializer_normalizerFactory, \"f\");\n }\n _normalize(bom, options = {}) {\n return __classPrivateFieldGet(this, _XmlBaseSerializer_normalizerFactory, \"f\").makeForBom()\n .normalize(bom, options);\n }\n}\nexports.XmlBaseSerializer = XmlBaseSerializer;\n_XmlBaseSerializer_normalizerFactory = new WeakMap();\n//# sourceMappingURL=xmlBaseSerializer.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.XmlSerializer = void 0;\nconst universal_node_xml_1 = require(\"../../libs/universal-node-xml\");\nconst xmlBaseSerializer_1 = require(\"./xmlBaseSerializer\");\nclass XmlSerializer extends xmlBaseSerializer_1.XmlBaseSerializer {\n _serialize(normalizedBom, options = {}) {\n return (0, universal_node_xml_1.stringifyFallback)(normalizedBom, options);\n }\n}\nexports.XmlSerializer = XmlSerializer;\n//# sourceMappingURL=xmlSerializer.node.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.fixupSpdxId = exports.isSupportedSpdxId = void 0;\nconst spdx_SNAPSHOT_schema_json_1 = require(\"../res/spdx.SNAPSHOT.schema.json\");\nconst spdxIds = new Set(spdx_SNAPSHOT_schema_json_1.enum);\nconst spdxLowerToActual = new Map(spdx_SNAPSHOT_schema_json_1.enum.map(spdxId => [spdxId.toLowerCase(), spdxId]));\nfunction isSupportedSpdxId(value) {\n return spdxIds.has(value);\n}\nexports.isSupportedSpdxId = isSupportedSpdxId;\nfunction fixupSpdxId(value) {\n return typeof value === 'string' && value.length > 0\n ? spdxLowerToActual.get(value.toLowerCase())\n : undefined;\n}\nexports.fixupSpdxId = fixupSpdxId;\n//# sourceMappingURL=spdx.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _Spec_version, _Spec_formats, _Spec_componentTypes, _Spec_hashAlgorithms, _Spec_hashValuePattern, _Spec_externalReferenceTypes, _Spec_supportsDependencyGraph, _Spec_supportsToolReferences, _Spec_requiresComponentVersion, _Spec_supportsProperties;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SpecVersionDict = exports.Spec1dot4 = exports.Spec1dot3 = exports.Spec1dot2 = exports.UnsupportedFormatError = exports.Format = exports.Version = void 0;\nconst enums_1 = require(\"./enums\");\nvar Version;\n(function (Version) {\n Version[\"v1dot0\"] = \"1.0\";\n Version[\"v1dot1\"] = \"1.1\";\n Version[\"v1dot2\"] = \"1.2\";\n Version[\"v1dot3\"] = \"1.3\";\n Version[\"v1dot4\"] = \"1.4\";\n})(Version = exports.Version || (exports.Version = {}));\nvar Format;\n(function (Format) {\n Format[\"XML\"] = \"xml\";\n Format[\"JSON\"] = \"json\";\n})(Format = exports.Format || (exports.Format = {}));\nclass UnsupportedFormatError extends Error {\n}\nexports.UnsupportedFormatError = UnsupportedFormatError;\nclass Spec {\n constructor(version, formats, componentTypes, hashAlgorithms, hashValuePattern, externalReferenceTypes, supportsDependencyGraph, supportsToolReferences, requiresComponentVersion, supportsProperties) {\n _Spec_version.set(this, void 0);\n _Spec_formats.set(this, void 0);\n _Spec_componentTypes.set(this, void 0);\n _Spec_hashAlgorithms.set(this, void 0);\n _Spec_hashValuePattern.set(this, void 0);\n _Spec_externalReferenceTypes.set(this, void 0);\n _Spec_supportsDependencyGraph.set(this, void 0);\n _Spec_supportsToolReferences.set(this, void 0);\n _Spec_requiresComponentVersion.set(this, void 0);\n _Spec_supportsProperties.set(this, void 0);\n __classPrivateFieldSet(this, _Spec_version, version, \"f\");\n __classPrivateFieldSet(this, _Spec_formats, new Set(formats), \"f\");\n __classPrivateFieldSet(this, _Spec_componentTypes, new Set(componentTypes), \"f\");\n __classPrivateFieldSet(this, _Spec_hashAlgorithms, new Set(hashAlgorithms), \"f\");\n __classPrivateFieldSet(this, _Spec_hashValuePattern, hashValuePattern, \"f\");\n __classPrivateFieldSet(this, _Spec_externalReferenceTypes, new Set(externalReferenceTypes), \"f\");\n __classPrivateFieldSet(this, _Spec_supportsDependencyGraph, supportsDependencyGraph, \"f\");\n __classPrivateFieldSet(this, _Spec_supportsToolReferences, supportsToolReferences, \"f\");\n __classPrivateFieldSet(this, _Spec_requiresComponentVersion, requiresComponentVersion, \"f\");\n __classPrivateFieldSet(this, _Spec_supportsProperties, supportsProperties, \"f\");\n }\n get version() {\n return __classPrivateFieldGet(this, _Spec_version, \"f\");\n }\n supportsFormat(f) {\n return __classPrivateFieldGet(this, _Spec_formats, \"f\").has(f);\n }\n supportsComponentType(ct) {\n return __classPrivateFieldGet(this, _Spec_componentTypes, \"f\").has(ct);\n }\n supportsHashAlgorithm(ha) {\n return __classPrivateFieldGet(this, _Spec_hashAlgorithms, \"f\").has(ha);\n }\n supportsHashValue(hv) {\n return typeof hv === 'string' &&\n __classPrivateFieldGet(this, _Spec_hashValuePattern, \"f\").test(hv);\n }\n supportsExternalReferenceType(ert) {\n return __classPrivateFieldGet(this, _Spec_externalReferenceTypes, \"f\").has(ert);\n }\n get supportsDependencyGraph() {\n return __classPrivateFieldGet(this, _Spec_supportsDependencyGraph, \"f\");\n }\n get supportsToolReferences() {\n return __classPrivateFieldGet(this, _Spec_supportsToolReferences, \"f\");\n }\n get requiresComponentVersion() {\n return __classPrivateFieldGet(this, _Spec_requiresComponentVersion, \"f\");\n }\n supportsProperties() {\n return __classPrivateFieldGet(this, _Spec_supportsProperties, \"f\");\n }\n}\n_Spec_version = new WeakMap(), _Spec_formats = new WeakMap(), _Spec_componentTypes = new WeakMap(), _Spec_hashAlgorithms = new WeakMap(), _Spec_hashValuePattern = new WeakMap(), _Spec_externalReferenceTypes = new WeakMap(), _Spec_supportsDependencyGraph = new WeakMap(), _Spec_supportsToolReferences = new WeakMap(), _Spec_requiresComponentVersion = new WeakMap(), _Spec_supportsProperties = new WeakMap();\nexports.Spec1dot2 = Object.freeze(new Spec(Version.v1dot2, [\n Format.XML,\n Format.JSON\n], [\n enums_1.ComponentType.Application,\n enums_1.ComponentType.Framework,\n enums_1.ComponentType.Library,\n enums_1.ComponentType.Container,\n enums_1.ComponentType.OperatingSystem,\n enums_1.ComponentType.Device,\n enums_1.ComponentType.Firmware,\n enums_1.ComponentType.File\n], [\n enums_1.HashAlgorithm.MD5,\n enums_1.HashAlgorithm['SHA-1'],\n enums_1.HashAlgorithm['SHA-256'],\n enums_1.HashAlgorithm['SHA-384'],\n enums_1.HashAlgorithm['SHA-512'],\n enums_1.HashAlgorithm['SHA3-256'],\n enums_1.HashAlgorithm['SHA3-384'],\n enums_1.HashAlgorithm['SHA3-512'],\n enums_1.HashAlgorithm['BLAKE2b-256'],\n enums_1.HashAlgorithm['BLAKE2b-384'],\n enums_1.HashAlgorithm['BLAKE2b-512'],\n enums_1.HashAlgorithm.BLAKE3\n], /^([a-fA-F0-9]{32})$|^([a-fA-F0-9]{40})$|^([a-fA-F0-9]{64})$|^([a-fA-F0-9]{96})$|^([a-fA-F0-9]{128})$/, [\n enums_1.ExternalReferenceType.VCS,\n enums_1.ExternalReferenceType.IssueTracker,\n enums_1.ExternalReferenceType.Website,\n enums_1.ExternalReferenceType.Advisories,\n enums_1.ExternalReferenceType.BOM,\n enums_1.ExternalReferenceType.MailingList,\n enums_1.ExternalReferenceType.Social,\n enums_1.ExternalReferenceType.Chat,\n enums_1.ExternalReferenceType.Documentation,\n enums_1.ExternalReferenceType.Support,\n enums_1.ExternalReferenceType.Distribution,\n enums_1.ExternalReferenceType.License,\n enums_1.ExternalReferenceType.BuildMeta,\n enums_1.ExternalReferenceType.BuildSystem,\n enums_1.ExternalReferenceType.Other\n], true, false, true, false));\nexports.Spec1dot3 = Object.freeze(new Spec(Version.v1dot3, [\n Format.XML,\n Format.JSON\n], [\n enums_1.ComponentType.Application,\n enums_1.ComponentType.Framework,\n enums_1.ComponentType.Library,\n enums_1.ComponentType.Container,\n enums_1.ComponentType.OperatingSystem,\n enums_1.ComponentType.Device,\n enums_1.ComponentType.Firmware,\n enums_1.ComponentType.File\n], [\n enums_1.HashAlgorithm.MD5,\n enums_1.HashAlgorithm['SHA-1'],\n enums_1.HashAlgorithm['SHA-256'],\n enums_1.HashAlgorithm['SHA-384'],\n enums_1.HashAlgorithm['SHA-512'],\n enums_1.HashAlgorithm['SHA3-256'],\n enums_1.HashAlgorithm['SHA3-384'],\n enums_1.HashAlgorithm['SHA3-512'],\n enums_1.HashAlgorithm['BLAKE2b-256'],\n enums_1.HashAlgorithm['BLAKE2b-384'],\n enums_1.HashAlgorithm['BLAKE2b-512'],\n enums_1.HashAlgorithm.BLAKE3\n], /^([a-fA-F0-9]{32})$|^([a-fA-F0-9]{40})$|^([a-fA-F0-9]{64})$|^([a-fA-F0-9]{96})$|^([a-fA-F0-9]{128})$/, [\n enums_1.ExternalReferenceType.VCS,\n enums_1.ExternalReferenceType.IssueTracker,\n enums_1.ExternalReferenceType.Website,\n enums_1.ExternalReferenceType.Advisories,\n enums_1.ExternalReferenceType.BOM,\n enums_1.ExternalReferenceType.MailingList,\n enums_1.ExternalReferenceType.Social,\n enums_1.ExternalReferenceType.Chat,\n enums_1.ExternalReferenceType.Documentation,\n enums_1.ExternalReferenceType.Support,\n enums_1.ExternalReferenceType.Distribution,\n enums_1.ExternalReferenceType.License,\n enums_1.ExternalReferenceType.BuildMeta,\n enums_1.ExternalReferenceType.BuildSystem,\n enums_1.ExternalReferenceType.Other\n], true, false, true, true));\nexports.Spec1dot4 = Object.freeze(new Spec(Version.v1dot4, [\n Format.XML,\n Format.JSON\n], [\n enums_1.ComponentType.Application,\n enums_1.ComponentType.Framework,\n enums_1.ComponentType.Library,\n enums_1.ComponentType.Container,\n enums_1.ComponentType.OperatingSystem,\n enums_1.ComponentType.Device,\n enums_1.ComponentType.Firmware,\n enums_1.ComponentType.File\n], [\n enums_1.HashAlgorithm.MD5,\n enums_1.HashAlgorithm['SHA-1'],\n enums_1.HashAlgorithm['SHA-256'],\n enums_1.HashAlgorithm['SHA-384'],\n enums_1.HashAlgorithm['SHA-512'],\n enums_1.HashAlgorithm['SHA3-256'],\n enums_1.HashAlgorithm['SHA3-384'],\n enums_1.HashAlgorithm['SHA3-512'],\n enums_1.HashAlgorithm['BLAKE2b-256'],\n enums_1.HashAlgorithm['BLAKE2b-384'],\n enums_1.HashAlgorithm['BLAKE2b-512'],\n enums_1.HashAlgorithm.BLAKE3\n], /^([a-fA-F0-9]{32})$|^([a-fA-F0-9]{40})$|^([a-fA-F0-9]{64})$|^([a-fA-F0-9]{96})$|^([a-fA-F0-9]{128})$/, [\n enums_1.ExternalReferenceType.VCS,\n enums_1.ExternalReferenceType.IssueTracker,\n enums_1.ExternalReferenceType.Website,\n enums_1.ExternalReferenceType.Advisories,\n enums_1.ExternalReferenceType.BOM,\n enums_1.ExternalReferenceType.MailingList,\n enums_1.ExternalReferenceType.Social,\n enums_1.ExternalReferenceType.Chat,\n enums_1.ExternalReferenceType.Documentation,\n enums_1.ExternalReferenceType.Support,\n enums_1.ExternalReferenceType.Distribution,\n enums_1.ExternalReferenceType.License,\n enums_1.ExternalReferenceType.BuildMeta,\n enums_1.ExternalReferenceType.BuildSystem,\n enums_1.ExternalReferenceType.ReleaseNotes,\n enums_1.ExternalReferenceType.Other\n], true, true, false, true));\nexports.SpecVersionDict = Object.freeze(Object.fromEntries([\n [Version.v1dot2, exports.Spec1dot2],\n [Version.v1dot3, exports.Spec1dot3],\n [Version.v1dot4, exports.Spec1dot4]\n]));\n//# sourceMappingURL=spec.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isCPE = void 0;\nconst cpePattern = /^([c][pP][eE]:\\/[AHOaho]?(:[A-Za-z0-9\\._\\-~%]*){0,6})$|^(cpe:2\\.3:[aho\\*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#$$%&'\\(\\)\\+,\\/:;<=>@\\[\\]\\^`\\{\\|}~]))+(\\?*|\\*?))|[\\*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\\*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#$$%&'\\(\\)\\+,\\/:;<=>@\\[\\]\\^`\\{\\|}~]))+(\\?*|\\*?))|[\\*\\-])){4})$/;\nfunction isCPE(value) {\n return typeof value === 'string' &&\n cpePattern.test(value);\n}\nexports.isCPE = isCPE;\n//# sourceMappingURL=cpe.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./cpe\"), exports);\n__exportStar(require(\"./integer\"), exports);\n__exportStar(require(\"./mimeType\"), exports);\n__exportStar(require(\"./urn\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isPositiveInteger = exports.isNonNegativeInteger = exports.isInteger = void 0;\nfunction isInteger(value) {\n return Number.isInteger(value);\n}\nexports.isInteger = isInteger;\nfunction isNonNegativeInteger(value) {\n return isInteger(value) &&\n value >= 0;\n}\nexports.isNonNegativeInteger = isNonNegativeInteger;\nfunction isPositiveInteger(value) {\n return isInteger(value) &&\n value > 0;\n}\nexports.isPositiveInteger = isPositiveInteger;\n//# sourceMappingURL=integer.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isMimeType = void 0;\nconst mimeTypePattern = /^[-+a-z0-9.]+\\/[-+a-z0-9.]+$/;\nfunction isMimeType(value) {\n return typeof value === 'string' &&\n mimeTypePattern.test(value);\n}\nexports.isMimeType = isMimeType;\n//# sourceMappingURL=mimeType.js.map","\"use strict\";\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isUrnUuid = void 0;\nconst urnUuidPattern = /^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;\nfunction isUrnUuid(value) {\n return typeof value === 'string' &&\n urnUuidPattern.test(value);\n}\nexports.isUrnUuid = isUrnUuid;\n//# sourceMappingURL=urn.js.map",null,"\nmodule.exports.getNS = function (element) {\n const ns = (element.namespace ?? element.attributes?.xmlns)?.toString() ?? ''\n return ns.length > 0\n ? ns\n : null\n}\n\nmodule.exports.makeIndent = function (space) {\n if (typeof space === 'number') {\n return ' '.repeat(Math.max(0, space))\n }\n if (typeof space === 'string') {\n return space\n }\n return ''\n}\n","'use strict'\n/*!\nThis file is part of CycloneDX JavaScript Library.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSPDX-License-Identifier: Apache-2.0\nCopyright (c) OWASP Foundation. All Rights Reserved.\n*/\n\nconst { create } = require('xmlbuilder2')\nconst { getNS, makeIndent } = require('./helpers')\n\nmodule.exports = typeof create === 'function'\n ? stringify\n : undefined\n\nfunction stringify (element, { space } = {}) {\n const indent = makeIndent(space)\n const doc = create({ encoding: 'UTF-8' })\n addEle(doc, element)\n return doc.end({\n format: 'xml',\n newline: '\\n',\n prettyPrint: indent.length > 0,\n indent\n })\n}\n\nfunction addEle (parent, element, parentNS = null) {\n if (element.type !== 'element') { return }\n const ns = getNS(element) ?? parentNS\n const ele = parent.ele(ns, element.name, element.attributes)\n if (typeof element.children === 'string' || typeof element.children === 'number') {\n ele.txt(element.children.toString())\n } else if (Array.isArray(element.children)) {\n for (const child of element.children) {\n addEle(ele, child, ns)\n }\n }\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + \"/\";","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(3109);\n",""],"names":[],"sourceRoot":""} \ No newline at end of file