From 52bd3eb3eebf12e21dcb834d9f0796d7f27be997 Mon Sep 17 00:00:00 2001 From: Philip Schlesinger Date: Tue, 23 Aug 2022 12:19:26 -0700 Subject: [PATCH 1/8] Support IntelliJ IDEA 2022.2.* --- build.gradle.kts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index a25157d..303384d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -26,11 +26,11 @@ intellij { } tasks.getByName("patchPluginXml") { sinceBuild.set("211") - untilBuild.set("221.*") + untilBuild.set("222.*") changeNotes.set(""" AsyncAPI Schema auto-completion New AsyncAPI version - 2.4.0 - IDEA: 2022.1.3, 2022.1.4 + IDEA: 2022.2.* """.trimIndent()) } @@ -53,6 +53,11 @@ tasks.getByName("runPluginVe "2022.1.2", "2022.1.3", "2022.1.4", + "2022.2", + "2022.2.1", + "2022.2.2", + "2022.2.3", + "2022.2.4" )) verifierVersion.set("1.284") } From d26581119b7e58de34168cee87afdd45e10f2b5c Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Thu, 13 Oct 2022 23:11:10 +0400 Subject: [PATCH 2/8] build: gradle-intellij-plugin 1.7.0 -> 1.9.0 --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index a25157d..ea10df7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - id("org.jetbrains.intellij") version "1.7.0" + id("org.jetbrains.intellij") version "1.9.0" java kotlin("jvm") version "1.6.20" } From 810602e3cd8a77cf9f93e4fa4c7981900349ffce Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Thu, 13 Oct 2022 23:25:35 +0400 Subject: [PATCH 3/8] chore: junit 5.8.2 -> 5.9.0 --- build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index ea10df7..093444a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,9 +14,9 @@ repositories { dependencies { implementation(kotlin("stdlib")) testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7") - testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2") - testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.2") - testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.8.2") + testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.0") + testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.9.0") } // See https://github.com/JetBrains/gradle-intellij-plugin/ From 08fe7abbe51fa5ae81ded132278fc7a44cdc4a69 Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Fri, 14 Oct 2022 00:55:52 +0400 Subject: [PATCH 4/8] feat: IDEA 2022.2 --- build.gradle.kts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index c32f24a..66d6ba8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -21,7 +21,7 @@ dependencies { // See https://github.com/JetBrains/gradle-intellij-plugin/ intellij { - version.set("2022.1") + version.set("2022.2.3") plugins.set(listOf("yaml")) } tasks.getByName("patchPluginXml") { @@ -56,8 +56,7 @@ tasks.getByName("runPluginVe "2022.2", "2022.2.1", "2022.2.2", - "2022.2.3", - "2022.2.4" + "2022.2.3" )) verifierVersion.set("1.284") } From f5310e8ae091b58e3cb1fd7510606498e548e1d0 Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Sat, 15 Oct 2022 19:26:31 +0400 Subject: [PATCH 5/8] feat: AsyncAPI 2.5.0 --- .../idea/_core/AsyncAPISchemaHtmlRenderer.kt | 4 +- .../idea/_core/AsyncAPISchemaRecognizer.kt | 2 +- src/main/resources/schema/asyncapi-2.5.0.json | 1841 +++++++++++++++++ ...min.css => default(1.0.0-next.43).min.css} | 2 +- src/main/resources/ui/index(1.0.0-next.38).js | 45 - src/main/resources/ui/index(1.0.0-next.43).js | 45 + .../_core/AsyncAPIJsonSchemaProviderTest.kt | 11 + .../_core/AsyncAPISchemaRecognizerTest.kt | 26 + .../plugin/idea/_core/JsonFileXPathTest.kt | 4 + .../plugin/idea/_core/YamlFileXPathTest.kt | 4 + ...cAPISchemaCompletionContributorJsonTest.kt | 11 + ...cAPISchemaCompletionContributorYamlTest.kt | 17 + .../AsyncAPIJsonSchemaInspectionTest.kt | 13 + .../reference/JsonFileVariantsProviderTest.kt | 4 + .../reference/YamlFileVariantsProviderTest.kt | 4 + .../v2_5_0/JsonReferenceVariantsTest.kt | 165 ++ .../v2_5_0/YamlReferenceVariantsTest.kt | 165 ++ src/test/resources/asyncapi-2.5.0.json | 65 + src/test/resources/asyncapi-2.5.0.yaml | 41 + .../json/completion/2.5.0/\"c\".json" | 4 + .../testData/json/completion/2.5.0/c.json | 4 + ...-> messages -> UserSignedUp -> \"p\".json" | 66 + ...s -> messages -> UserSignedUp -> \"p.json" | 66 + ...ents -> messages -> UserSignedUp -> p.json | 66 + .../json/completion/2.5.0/info -> \"i\".json" | 6 + .../json/completion/2.5.0/info -> i.json | 6 + .../json/inspection/2.5.0/extra keys.json | 67 + .../inspection/2.5.0/without channels.json | 39 + .../json/reference/completion/2.5.0/$^^.json | 65 + .../json/reference/completion/2.5.0/123.json | 65 + .../json/reference/completion/2.5.0/_.json | 65 + .../json/reference/completion/2.5.0/co.json | 65 + .../json/reference/completion/2.5.0/comp.json | 65 + .../completion/2.5.0/components.json | 65 + .../completion/2.5.0/components_m.json | 65 + .../2.5.0/components_messages_u.json | 65 + .../json/reference/completion/2.5.0/i.json | 65 + .../json/reference/completion/2.5.0/in.json | 65 + .../json/reference/completion/2.5.0/inf.json | 65 + .../reference/completion/2.5.0/qwerty.json | 65 + .../json/reference/completion/2.5.0/ref.json | 3 + .../reference/completion/2.5.0/reference.json | 65 + .../yaml/completion/2.5.0/\"c\".yaml" | 3 + .../testData/yaml/completion/2.5.0/c.yaml | 3 + ...-> messages -> UserSignedUp -> \"p\".yaml" | 42 + ...s -> messages -> UserSignedUp -> \"p.yaml" | 42 + ...ents -> messages -> UserSignedUp -> p.yaml | 42 + .../yaml/completion/2.5.0/info -> \"i\".yaml" | 4 + .../yaml/completion/2.5.0/info -> i.yaml | 4 + .../yaml/reference/completion/2.5.0/$^^.yaml | 41 + .../yaml/reference/completion/2.5.0/123.yaml | 41 + .../yaml/reference/completion/2.5.0/_.yaml | 41 + .../yaml/reference/completion/2.5.0/co.yaml | 41 + .../yaml/reference/completion/2.5.0/comp.yaml | 41 + .../completion/2.5.0/components.yaml | 41 + .../completion/2.5.0/components_m.yaml | 41 + .../2.5.0/components_messages_u.yaml | 41 + .../yaml/reference/completion/2.5.0/i.yaml | 41 + .../yaml/reference/completion/2.5.0/in.yaml | 41 + .../yaml/reference/completion/2.5.0/inf.yaml | 41 + .../reference/completion/2.5.0/qwerty.yaml | 41 + .../yaml/reference/completion/2.5.0/ref.yaml | 2 + .../reference/completion/2.5.0/reference.yaml | 41 + 63 files changed, 4267 insertions(+), 49 deletions(-) create mode 100644 src/main/resources/schema/asyncapi-2.5.0.json rename src/main/resources/ui/{default(1.0.0-next.38).min.css => default(1.0.0-next.43).min.css} (52%) delete mode 100644 src/main/resources/ui/index(1.0.0-next.38).js create mode 100644 src/main/resources/ui/index(1.0.0-next.43).js create mode 100644 src/test/kotlin/com/asyncapi/plugin/idea/completion/v2_5_0/AsyncAPISchemaCompletionContributorJsonTest.kt create mode 100644 src/test/kotlin/com/asyncapi/plugin/idea/completion/v2_5_0/AsyncAPISchemaCompletionContributorYamlTest.kt create mode 100644 src/test/kotlin/com/asyncapi/plugin/idea/inspection/v2_5_0/AsyncAPIJsonSchemaInspectionTest.kt create mode 100644 src/test/kotlin/com/asyncapi/plugin/idea/psi/reference/v2_5_0/JsonReferenceVariantsTest.kt create mode 100644 src/test/kotlin/com/asyncapi/plugin/idea/psi/reference/v2_5_0/YamlReferenceVariantsTest.kt create mode 100644 src/test/resources/asyncapi-2.5.0.json create mode 100644 src/test/resources/asyncapi-2.5.0.yaml create mode 100644 "src/test/testData/json/completion/2.5.0/\"c\".json" create mode 100644 src/test/testData/json/completion/2.5.0/c.json create mode 100644 "src/test/testData/json/completion/2.5.0/components -> messages -> UserSignedUp -> \"p\".json" create mode 100644 "src/test/testData/json/completion/2.5.0/components -> messages -> UserSignedUp -> \"p.json" create mode 100644 src/test/testData/json/completion/2.5.0/components -> messages -> UserSignedUp -> p.json create mode 100644 "src/test/testData/json/completion/2.5.0/info -> \"i\".json" create mode 100644 src/test/testData/json/completion/2.5.0/info -> i.json create mode 100644 src/test/testData/json/inspection/2.5.0/extra keys.json create mode 100644 src/test/testData/json/inspection/2.5.0/without channels.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/$^^.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/123.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/_.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/co.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/comp.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/components.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/components_m.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/components_messages_u.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/i.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/in.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/inf.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/qwerty.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/ref.json create mode 100644 src/test/testData/json/reference/completion/2.5.0/reference.json create mode 100644 "src/test/testData/yaml/completion/2.5.0/\"c\".yaml" create mode 100644 src/test/testData/yaml/completion/2.5.0/c.yaml create mode 100644 "src/test/testData/yaml/completion/2.5.0/components -> messages -> UserSignedUp -> \"p\".yaml" create mode 100644 "src/test/testData/yaml/completion/2.5.0/components -> messages -> UserSignedUp -> \"p.yaml" create mode 100644 src/test/testData/yaml/completion/2.5.0/components -> messages -> UserSignedUp -> p.yaml create mode 100644 "src/test/testData/yaml/completion/2.5.0/info -> \"i\".yaml" create mode 100644 src/test/testData/yaml/completion/2.5.0/info -> i.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/$^^.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/123.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/_.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/co.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/comp.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/components.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/components_m.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/components_messages_u.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/i.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/in.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/inf.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/qwerty.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/ref.yaml create mode 100644 src/test/testData/yaml/reference/completion/2.5.0/reference.yaml diff --git a/src/main/kotlin/com/asyncapi/plugin/idea/_core/AsyncAPISchemaHtmlRenderer.kt b/src/main/kotlin/com/asyncapi/plugin/idea/_core/AsyncAPISchemaHtmlRenderer.kt index 3885300..2eb7b4f 100644 --- a/src/main/kotlin/com/asyncapi/plugin/idea/_core/AsyncAPISchemaHtmlRenderer.kt +++ b/src/main/kotlin/com/asyncapi/plugin/idea/_core/AsyncAPISchemaHtmlRenderer.kt @@ -27,8 +27,8 @@ class AsyncAPISchemaHtmlRenderer { private val urlProvider = service() private val schemaTemplateUrl = "/ui/index.html" - private val schemaTemplateCssUrl = "default(1.0.0-next.38).min.css" - private val schemaTemplateJsUrl = "index(1.0.0-next.38).js" + private val schemaTemplateCssUrl = "default(1.0.0-next.43).min.css" + private val schemaTemplateJsUrl = "index(1.0.0-next.43).js" fun render(request: FullHttpRequest, schemaUrl: String?): String { schemaUrl ?: return "schema: not found." diff --git a/src/main/kotlin/com/asyncapi/plugin/idea/_core/AsyncAPISchemaRecognizer.kt b/src/main/kotlin/com/asyncapi/plugin/idea/_core/AsyncAPISchemaRecognizer.kt index db96aad..7a525d3 100644 --- a/src/main/kotlin/com/asyncapi/plugin/idea/_core/AsyncAPISchemaRecognizer.kt +++ b/src/main/kotlin/com/asyncapi/plugin/idea/_core/AsyncAPISchemaRecognizer.kt @@ -46,7 +46,7 @@ class AsyncAPISchemaRecognizer { fun isSupported(version: String?): Boolean { return when (version) { - "2.0.0", "2.1.0", "2.2.0", "2.3.0", "2.4.0" -> true + "2.0.0", "2.1.0", "2.2.0", "2.3.0", "2.4.0", "2.5.0" -> true else -> false } } diff --git a/src/main/resources/schema/asyncapi-2.5.0.json b/src/main/resources/schema/asyncapi-2.5.0.json new file mode 100644 index 0000000..b5ab064 --- /dev/null +++ b/src/main/resources/schema/asyncapi-2.5.0.json @@ -0,0 +1,1841 @@ +{ + "$id": "asyncapi", + "$schema": "http://json-schema.org/draft-07/schema", + "title": "AsyncAPI 2.5.0 schema.", + "type": "object", + "required": [ + "asyncapi", + "info", + "channels" + ], + "additionalProperties": false, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "asyncapi": { + "type": "string", + "enum": [ + "2.5.0" + ], + "description": "The AsyncAPI specification version of this document." + }, + "id": { + "type": "string", + "description": "A unique id representing the application.", + "format": "uri" + }, + "info": { + "$ref": "#/definitions/info" + }, + "servers": { + "$ref": "#/definitions/servers" + }, + "defaultContentType": { + "type": "string" + }, + "channels": { + "$ref": "#/definitions/channels" + }, + "components": { + "$ref": "#/definitions/components" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/tag" + }, + "uniqueItems": true + }, + "externalDocs": { + "$ref": "#/definitions/externalDocs" + } + }, + "definitions": { + "specificationExtension": { + "$id": "specificationExtension", + "description": "Any property starting with x- is valid.", + "additionalProperties": true, + "additionalItems": true + }, + "info": { + "$id": "info", + "type": "object", + "description": "General information about the API.", + "required": [ + "version", + "title" + ], + "additionalProperties": false, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "title": { + "type": "string", + "description": "A unique and precise title of the API." + }, + "version": { + "type": "string", + "description": "A semantic version number of the API." + }, + "description": { + "type": "string", + "description": "A longer description of the API. Should be different from the title. CommonMark is allowed." + }, + "termsOfService": { + "type": "string", + "description": "A URL to the Terms of Service for the API. MUST be in the format of a URL.", + "format": "uri" + }, + "contact": { + "$ref": "#/definitions/contact" + }, + "license": { + "$ref": "#/definitions/license" + } + } + }, + "contact": { + "$id": "contact", + "type": "object", + "description": "Contact information for the owners of the API.", + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The identifying name of the contact person/organization." + }, + "url": { + "type": "string", + "description": "The URL pointing to the contact information.", + "format": "uri" + }, + "email": { + "type": "string", + "description": "The email address of the contact person/organization.", + "format": "email" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + } + }, + "license": { + "$id": "license", + "type": "object", + "required": [ + "name" + ], + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The name of the license type. It's encouraged to use an OSI compatible license." + }, + "url": { + "type": "string", + "description": "The URL pointing to the license.", + "format": "uri" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + } + }, + "servers": { + "$id": "servers", + "description": "An object representing multiple servers.", + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/definitions/Reference" + }, + { + "$ref": "#/definitions/server" + } + ] + } + }, + "Reference": { + "$id": "Reference", + "type": "object", + "required": [ + "$ref" + ], + "properties": { + "$ref": { + "$ref": "#/definitions/ReferenceObject" + } + } + }, + "ReferenceObject": { + "$id": "ReferenceObject", + "type": "string", + "format": "uri-reference" + }, + "server": { + "$id": "server", + "type": "object", + "description": "An object representing a Server.", + "required": [ + "url", + "protocol" + ], + "additionalProperties": false, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "protocol": { + "type": "string", + "description": "The transfer protocol." + }, + "protocolVersion": { + "type": "string" + }, + "variables": { + "$ref": "#/definitions/serverVariables" + }, + "security": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityRequirement" + } + }, + "bindings": { + "$ref": "#/definitions/bindingsObject" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/tag" + }, + "uniqueItems": true + } + } + }, + "serverVariables": { + "$id": "serverVariables", + "type": "object", + "additionalProperties": { + "oneOf": [ + { + "$ref": "#/definitions/Reference" + }, + { + "$ref": "#/definitions/serverVariable" + } + ] + } + }, + "serverVariable": { + "$id": "serverVariable", + "type": "object", + "description": "An object representing a Server Variable for server URL template substitution.", + "additionalProperties": false, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "default": { + "type": "string" + }, + "description": { + "type": "string" + }, + "examples": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "SecurityRequirement": { + "$id": "SecurityRequirement", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "bindingsObject": { + "$id": "bindingsObject", + "type": "object", + "additionalProperties": true, + "properties": { + "http": {}, + "ws": {}, + "amqp": {}, + "amqp1": {}, + "mqtt": {}, + "mqtt5": {}, + "kafka": {}, + "anypointmq": {}, + "nats": {}, + "jms": {}, + "sns": {}, + "sqs": {}, + "stomp": {}, + "redis": {}, + "ibmmq": {}, + "solace": {} + } + }, + "tag": { + "$id": "tag", + "type": "object", + "additionalProperties": false, + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "externalDocs": { + "$ref": "#/definitions/externalDocs" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + } + }, + "externalDocs": { + "$id": "externalDocs", + "type": "object", + "additionalProperties": false, + "description": "information about external documentation", + "required": [ + "url" + ], + "properties": { + "description": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + } + }, + "channels": { + "$id": "channels", + "type": "object", + "propertyNames": { + "type": "string", + "format": "uri-template", + "minLength": 1 + }, + "additionalProperties": { + "$ref": "#/definitions/channelItem" + } + }, + "channelItem": { + "$id": "channelItem", + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "$ref": { + "$ref": "#/definitions/ReferenceObject" + }, + "parameters": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/parameter" + } + }, + "description": { + "type": "string", + "description": "A description of the channel." + }, + "servers": { + "type": "array", + "description": "The names of the servers on which this channel is available. If absent or empty then this channel must be available on all servers.", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "publish": { + "$ref": "#/definitions/operation" + }, + "subscribe": { + "$ref": "#/definitions/operation" + }, + "deprecated": { + "type": "boolean", + "default": false + }, + "bindings": { + "$ref": "#/definitions/bindingsObject" + } + } + }, + "parameter": { + "$id": "parameter", + "additionalProperties": false, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "description": { + "type": "string", + "description": "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed." + }, + "schema": { + "$ref": "#/definitions/schema" + }, + "location": { + "type": "string", + "description": "A runtime expression that specifies the location of the parameter value", + "pattern": "^\\$message\\.(header|payload)#(\\/(([^\\/~])|(~[01]))*)*" + }, + "$ref": { + "$ref": "#/definitions/ReferenceObject" + } + } + }, + "schema": { + "$id": "schema", + "allOf": [ + { + "$ref": "http://json-schema.org/draft-07/schema#" + }, + { + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "additionalProperties": { + "anyOf": [ + { + "$ref": "#/definitions/schema" + }, + { + "type": "boolean" + } + ], + "default": {} + }, + "items": { + "anyOf": [ + { + "$ref": "#/definitions/schema" + }, + { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#/definitions/schema" + } + } + ], + "default": {} + }, + "allOf": { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#/definitions/schema" + } + }, + "oneOf": { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#/definitions/schema" + } + }, + "anyOf": { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#/definitions/schema" + } + }, + "not": { + "$ref": "#/definitions/schema" + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/schema" + }, + "default": {} + }, + "patternProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/schema" + }, + "default": {} + }, + "propertyNames": { + "$ref": "#/definitions/schema" + }, + "contains": { + "$ref": "#/definitions/schema" + }, + "discriminator": { + "type": "string" + }, + "externalDocs": { + "$ref": "#/definitions/externalDocs" + }, + "deprecated": { + "type": "boolean", + "default": false + } + } + } + ] + }, + "http://json-schema.org/draft-07/schema": { + "$id": "http://json-schema.org/draft-07/schema", + "title": "Core schema meta-schema", + "definitions": { + "schemaArray": { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#" + } + }, + "nonNegativeInteger": { + "type": "integer", + "minimum": 0 + }, + "nonNegativeIntegerDefault0": { + "allOf": [ + { + "$ref": "#/definitions/nonNegativeInteger" + }, + { + "default": 0 + } + ] + }, + "simpleTypes": { + "enum": [ + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ] + }, + "stringArray": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true, + "default": [] + } + }, + "type": [ + "object", + "boolean" + ], + "properties": { + "$id": { + "type": "string", + "format": "uri-reference" + }, + "$schema": { + "type": "string", + "format": "uri" + }, + "$ref": { + "type": "string", + "format": "uri-reference" + }, + "$comment": { + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": true, + "readOnly": { + "type": "boolean", + "default": false + }, + "writeOnly": { + "type": "boolean", + "default": false + }, + "examples": { + "type": "array", + "items": true + }, + "multipleOf": { + "type": "number", + "exclusiveMinimum": 0 + }, + "maximum": { + "type": "number" + }, + "exclusiveMaximum": { + "type": "number" + }, + "minimum": { + "type": "number" + }, + "exclusiveMinimum": { + "type": "number" + }, + "maxLength": { + "$ref": "#/definitions/nonNegativeInteger" + }, + "minLength": { + "$ref": "#/definitions/nonNegativeIntegerDefault0" + }, + "pattern": { + "type": "string", + "format": "regex" + }, + "additionalItems": { + "$ref": "#" + }, + "items": { + "anyOf": [ + { + "$ref": "#" + }, + { + "$ref": "#/definitions/schemaArray" + } + ], + "default": true + }, + "maxItems": { + "$ref": "#/definitions/nonNegativeInteger" + }, + "minItems": { + "$ref": "#/definitions/nonNegativeIntegerDefault0" + }, + "uniqueItems": { + "type": "boolean", + "default": false + }, + "contains": { + "$ref": "#" + }, + "maxProperties": { + "$ref": "#/definitions/nonNegativeInteger" + }, + "minProperties": { + "$ref": "#/definitions/nonNegativeIntegerDefault0" + }, + "required": { + "$ref": "#/definitions/stringArray" + }, + "additionalProperties": { + "$ref": "#" + }, + "definitions": { + "type": "object", + "additionalProperties": { + "$ref": "#" + }, + "default": {} + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#" + }, + "default": {} + }, + "patternProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#" + }, + "propertyNames": { + "format": "regex" + }, + "default": {} + }, + "dependencies": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "$ref": "#" + }, + { + "$ref": "#/definitions/stringArray" + } + ] + } + }, + "propertyNames": { + "$ref": "#" + }, + "const": true, + "enum": { + "type": "array", + "items": true, + "minItems": 1, + "uniqueItems": true + }, + "type": { + "anyOf": [ + { + "$ref": "#/definitions/simpleTypes" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/simpleTypes" + }, + "minItems": 1, + "uniqueItems": true + } + ] + }, + "format": { + "type": "string" + }, + "contentMediaType": { + "type": "string" + }, + "contentEncoding": { + "type": "string" + }, + "if": { + "$ref": "#" + }, + "then": { + "$ref": "#" + }, + "else": { + "$ref": "#" + }, + "allOf": { + "$ref": "#/definitions/schemaArray" + }, + "anyOf": { + "$ref": "#/definitions/schemaArray" + }, + "oneOf": { + "$ref": "#/definitions/schemaArray" + }, + "not": { + "$ref": "#" + } + }, + "default": true + }, + "operation": { + "$id": "operation", + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "traits": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/Reference" + }, + { + "$ref": "#/definitions/operationTrait" + }, + { + "type": "array", + "items": [ + { + "oneOf": [ + { + "$ref": "#/definitions/Reference" + }, + { + "$ref": "#/definitions/operationTrait" + } + ] + }, + { + "type": "object", + "additionalItems": true + } + ] + } + ] + } + }, + "summary": { + "type": "string" + }, + "description": { + "type": "string" + }, + "security": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityRequirement" + } + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/tag" + }, + "uniqueItems": true + }, + "externalDocs": { + "$ref": "#/definitions/externalDocs" + }, + "operationId": { + "type": "string" + }, + "bindings": { + "$ref": "#/definitions/bindingsObject" + }, + "message": { + "$ref": "#/definitions/message" + } + } + }, + "operationTrait": { + "$id": "operationTrait", + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "summary": { + "type": "string" + }, + "description": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/tag" + }, + "uniqueItems": true + }, + "externalDocs": { + "$ref": "#/definitions/externalDocs" + }, + "operationId": { + "type": "string" + }, + "security": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityRequirement" + } + }, + "bindings": { + "$ref": "#/definitions/bindingsObject" + } + } + }, + "message": { + "$id": "message", + "oneOf": [ + { + "$ref": "#/definitions/Reference" + }, + { + "oneOf": [ + { + "type": "object", + "required": [ + "oneOf" + ], + "additionalProperties": false, + "properties": { + "oneOf": { + "type": "array", + "items": { + "$ref": "#/definitions/message" + } + } + } + }, + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "schemaFormat": { + "type": "string" + }, + "contentType": { + "type": "string" + }, + "headers": { + "allOf": [ + { + "$ref": "#/definitions/schema" + }, + { + "properties": { + "type": { + "const": "object" + } + } + } + ] + }, + "messageId": { + "type": "string" + }, + "payload": {}, + "correlationId": { + "oneOf": [ + { + "$ref": "#/definitions/Reference" + }, + { + "$ref": "#/definitions/correlationId" + } + ] + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/tag" + }, + "uniqueItems": true + }, + "summary": { + "type": "string", + "description": "A brief summary of the message." + }, + "name": { + "type": "string", + "description": "Name of the message." + }, + "title": { + "type": "string", + "description": "A human-friendly title for the message." + }, + "description": { + "type": "string", + "description": "A longer description of the message. CommonMark is allowed." + }, + "externalDocs": { + "$ref": "#/definitions/externalDocs" + }, + "deprecated": { + "type": "boolean", + "default": false + }, + "examples": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "anyOf": [ + { + "required": [ + "payload" + ] + }, + { + "required": [ + "headers" + ] + } + ], + "properties": { + "name": { + "type": "string", + "description": "Machine readable name of the message example." + }, + "summary": { + "type": "string", + "description": "A brief summary of the message example." + }, + "headers": { + "type": "object" + }, + "payload": {} + } + } + }, + "bindings": { + "$ref": "#/definitions/bindingsObject" + }, + "traits": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/Reference" + }, + { + "$ref": "#/definitions/messageTrait" + }, + { + "type": "array", + "items": [ + { + "oneOf": [ + { + "$ref": "#/definitions/Reference" + }, + { + "$ref": "#/definitions/messageTrait" + } + ] + }, + { + "type": "object", + "additionalItems": true + } + ] + } + ] + } + } + } + } + ] + } + ] + }, + "correlationId": { + "$id": "correlationId", + "type": "object", + "required": [ + "location" + ], + "additionalProperties": false, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "description": { + "type": "string", + "description": "A optional description of the correlation ID. GitHub Flavored Markdown is allowed." + }, + "location": { + "type": "string", + "description": "A runtime expression that specifies the location of the correlation ID", + "pattern": "^\\$message\\.(header|payload)#(\\/(([^\\/~])|(~[01]))*)*" + } + } + }, + "messageTrait": { + "$id": "messageTrait", + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "schemaFormat": { + "type": "string" + }, + "contentType": { + "type": "string" + }, + "headers": { + "allOf": [ + { + "$ref": "#/definitions/schema" + }, + { + "properties": { + "type": { + "const": "object" + } + } + } + ] + }, + "messageId": { + "type": "string" + }, + "correlationId": { + "oneOf": [ + { + "$ref": "#/definitions/Reference" + }, + { + "$ref": "#/definitions/correlationId" + } + ] + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/tag" + }, + "uniqueItems": true + }, + "summary": { + "type": "string", + "description": "A brief summary of the message." + }, + "name": { + "type": "string", + "description": "Name of the message." + }, + "title": { + "type": "string", + "description": "A human-friendly title for the message." + }, + "description": { + "type": "string", + "description": "A longer description of the message. CommonMark is allowed." + }, + "externalDocs": { + "$ref": "#/definitions/externalDocs" + }, + "deprecated": { + "type": "boolean", + "default": false + }, + "examples": { + "type": "array", + "items": { + "type": "object" + } + }, + "bindings": { + "$ref": "#/definitions/bindingsObject" + } + } + }, + "components": { + "$id": "components", + "type": "object", + "description": "An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.", + "additionalProperties": false, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "properties": { + "schemas": { + "$ref": "#/definitions/schemas" + }, + "servers": { + "$ref": "#/definitions/servers" + }, + "channels": { + "$ref": "#/definitions/channels" + }, + "serverVariables": { + "$ref": "#/definitions/serverVariables" + }, + "messages": { + "$ref": "#/definitions/messages" + }, + "securitySchemes": { + "type": "object", + "patternProperties": { + "^[\\w\\d\\.\\-_]+$": { + "oneOf": [ + { + "$ref": "#/definitions/Reference" + }, + { + "$ref": "#/definitions/SecurityScheme" + } + ] + } + } + }, + "parameters": { + "$ref": "#/definitions/parameters" + }, + "correlationIds": { + "type": "object", + "patternProperties": { + "^[\\w\\d\\.\\-_]+$": { + "oneOf": [ + { + "$ref": "#/definitions/Reference" + }, + { + "$ref": "#/definitions/correlationId" + } + ] + } + } + }, + "operationTraits": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/operationTrait" + } + }, + "messageTraits": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/messageTrait" + } + }, + "serverBindings": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/bindingsObject" + } + }, + "channelBindings": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/bindingsObject" + } + }, + "operationBindings": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/bindingsObject" + } + }, + "messageBindings": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/bindingsObject" + } + } + } + }, + "schemas": { + "$id": "schemas", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/schema" + }, + "description": "JSON objects describing schemas the API uses." + }, + "messages": { + "$id": "messages", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/message" + }, + "description": "JSON objects describing the messages being consumed and produced by the API." + }, + "SecurityScheme": { + "$id": "SecurityScheme", + "oneOf": [ + { + "$ref": "#/definitions/userPassword" + }, + { + "$ref": "#/definitions/apiKey" + }, + { + "$ref": "#/definitions/X509" + }, + { + "$ref": "#/definitions/symmetricEncryption" + }, + { + "$ref": "#/definitions/asymmetricEncryption" + }, + { + "$ref": "#/definitions/HTTPSecurityScheme" + }, + { + "$ref": "#/definitions/oauth2Flows" + }, + { + "$ref": "#/definitions/openIdConnect" + }, + { + "$ref": "#/definitions/SaslSecurityScheme" + } + ] + }, + "userPassword": { + "$id": "userPassword", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "userPassword" + ] + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "apiKey": { + "$id": "apiKey", + "type": "object", + "required": [ + "type", + "in" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "apiKey" + ] + }, + "in": { + "type": "string", + "enum": [ + "user", + "password" + ] + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "X509": { + "$id": "X509", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "X509" + ] + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "symmetricEncryption": { + "$id": "symmetricEncryption", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "symmetricEncryption" + ] + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "asymmetricEncryption": { + "$id": "asymmetricEncryption", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "asymmetricEncryption" + ] + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "HTTPSecurityScheme": { + "$id": "HTTPSecurityScheme", + "oneOf": [ + { + "$ref": "#/definitions/NonBearerHTTPSecurityScheme" + }, + { + "$ref": "#/definitions/BearerHTTPSecurityScheme" + }, + { + "$ref": "#/definitions/APIKeyHTTPSecurityScheme" + } + ] + }, + "NonBearerHTTPSecurityScheme": { + "$id": "NonBearerHTTPSecurityScheme", + "not": { + "type": "object", + "properties": { + "scheme": { + "type": "string", + "enum": [ + "bearer" + ] + } + } + }, + "type": "object", + "required": [ + "scheme", + "type" + ], + "properties": { + "scheme": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "http" + ] + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "BearerHTTPSecurityScheme": { + "$id": "BearerHTTPSecurityScheme", + "type": "object", + "required": [ + "type", + "scheme" + ], + "properties": { + "scheme": { + "type": "string", + "enum": [ + "bearer" + ] + }, + "bearerFormat": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "http" + ] + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "APIKeyHTTPSecurityScheme": { + "$id": "APIKeyHTTPSecurityScheme", + "type": "object", + "required": [ + "type", + "name", + "in" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "httpApiKey" + ] + }, + "name": { + "type": "string" + }, + "in": { + "type": "string", + "enum": [ + "header", + "query", + "cookie" + ] + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "oauth2Flows": { + "$id": "oauth2Flows", + "type": "object", + "required": [ + "type", + "flows" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "oauth2" + ] + }, + "description": { + "type": "string" + }, + "flows": { + "type": "object", + "properties": { + "implicit": { + "allOf": [ + { + "$ref": "#/definitions/oauth2Flow" + }, + { + "required": [ + "authorizationUrl", + "scopes" + ] + }, + { + "not": { + "required": [ + "tokenUrl" + ] + } + } + ] + }, + "password": { + "allOf": [ + { + "$ref": "#/definitions/oauth2Flow" + }, + { + "required": [ + "tokenUrl", + "scopes" + ] + }, + { + "not": { + "required": [ + "authorizationUrl" + ] + } + } + ] + }, + "clientCredentials": { + "allOf": [ + { + "$ref": "#/definitions/oauth2Flow" + }, + { + "required": [ + "tokenUrl", + "scopes" + ] + }, + { + "not": { + "required": [ + "authorizationUrl" + ] + } + } + ] + }, + "authorizationCode": { + "allOf": [ + { + "$ref": "#/definitions/oauth2Flow" + }, + { + "required": [ + "authorizationUrl", + "tokenUrl", + "scopes" + ] + } + ] + } + }, + "additionalProperties": false + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + } + }, + "oauth2Flow": { + "$id": "oauth2Flow", + "type": "object", + "properties": { + "authorizationUrl": { + "type": "string", + "format": "uri" + }, + "tokenUrl": { + "type": "string", + "format": "uri" + }, + "refreshUrl": { + "type": "string", + "format": "uri" + }, + "scopes": { + "$ref": "#/definitions/oauth2Scopes" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "oauth2Scopes": { + "$id": "oauth2Scopes", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "openIdConnect": { + "$id": "openIdConnect", + "type": "object", + "required": [ + "type", + "openIdConnectUrl" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "openIdConnect" + ] + }, + "description": { + "type": "string" + }, + "openIdConnectUrl": { + "type": "string", + "format": "uri" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "SaslSecurityScheme": { + "$id": "SaslSecurityScheme", + "oneOf": [ + { + "$ref": "#/definitions/SaslPlainSecurityScheme" + }, + { + "$ref": "#/definitions/SaslScramSecurityScheme" + }, + { + "$ref": "#/definitions/SaslGssapiSecurityScheme" + } + ] + }, + "SaslPlainSecurityScheme": { + "$id": "SaslPlainSecurityScheme", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "plain" + ] + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "SaslScramSecurityScheme": { + "$id": "SaslScramSecurityScheme", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "scramSha256", + "scramSha512" + ] + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "SaslGssapiSecurityScheme": { + "$id": "SaslGssapiSecurityScheme", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "gssapi" + ] + }, + "description": { + "type": "string" + } + }, + "patternProperties": { + "^x-[\\w\\d\\.\\x2d_]+$": { + "$ref": "#/definitions/specificationExtension" + } + }, + "additionalProperties": false + }, + "parameters": { + "$id": "parameters", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/parameter" + }, + "description": "JSON objects describing re-usable channel parameters." + } + }, + "description": "!!Auto generated!! \n Do not manually edit. " +} \ No newline at end of file diff --git a/src/main/resources/ui/default(1.0.0-next.38).min.css b/src/main/resources/ui/default(1.0.0-next.43).min.css similarity index 52% rename from src/main/resources/ui/default(1.0.0-next.38).min.css rename to src/main/resources/ui/default(1.0.0-next.43).min.css index 9d0c449..156b75e 100644 --- a/src/main/resources/ui/default(1.0.0-next.38).min.css +++ b/src/main/resources/ui/default(1.0.0-next.43).min.css @@ -2,4 +2,4 @@ /*! tailwindcss v2.2.19 | MIT License | https://tailwindcss.com*/ -/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */.aui-root html{-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.15;-webkit-text-size-adjust:100%}.aui-root body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}.aui-root hr{height:0;color:inherit}.aui-root abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.aui-root b,.aui-root strong{font-weight:bolder}.aui-root code,.aui-root kbd,.aui-root pre,.aui-root samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}.aui-root small{font-size:80%}.aui-root sub,.aui-root sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.aui-root sub{bottom:-.25em}.aui-root sup{top:-.5em}.aui-root table{text-indent:0;border-color:inherit}.aui-root button,.aui-root input,.aui-root optgroup,.aui-root select,.aui-root textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}.aui-root button,.aui-root select{text-transform:none}.aui-root [type=button],.aui-root button{-webkit-appearance:button}.aui-root legend{padding:0}.aui-root progress{vertical-align:baseline}.aui-root summary{display:list-item}.aui-root blockquote,.aui-root dd,.aui-root dl,.aui-root figure,.aui-root h1,.aui-root h2,.aui-root h3,.aui-root h4,.aui-root h5,.aui-root h6,.aui-root hr,.aui-root p,.aui-root pre{margin:0}.aui-root button{background-color:transparent;background-image:none}.aui-root fieldset{margin:0;padding:0}.aui-root ol,.aui-root ul{list-style:none;margin:0;padding:0}.aui-root html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}.aui-root body{font-family:inherit;line-height:inherit}.aui-root *,.aui-root :after,.aui-root :before{box-sizing:border-box;border:0 solid}.aui-root hr{border-top-width:1px}.aui-root img{border-style:solid}.aui-root textarea{resize:vertical}.aui-root input::-moz-placeholder, .aui-root textarea::-moz-placeholder{opacity:1;color:#cbd5e0}.aui-root input:-ms-input-placeholder, .aui-root textarea:-ms-input-placeholder{opacity:1;color:#cbd5e0}.aui-root input::placeholder,.aui-root textarea::placeholder{opacity:1;color:#cbd5e0}.aui-root button{cursor:pointer}.aui-root table{border-collapse:collapse}.aui-root h1,.aui-root h2,.aui-root h3,.aui-root h4,.aui-root h5,.aui-root h6{font-size:inherit;font-weight:inherit}.aui-root a{color:inherit;text-decoration:inherit}.aui-root button,.aui-root input,.aui-root optgroup,.aui-root select,.aui-root textarea{padding:0;line-height:inherit;color:inherit}.aui-root code,.aui-root kbd,.aui-root pre,.aui-root samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.aui-root audio,.aui-root canvas,.aui-root embed,.aui-root iframe,.aui-root img,.aui-root object,.aui-root svg,.aui-root video{display:block;vertical-align:middle}.aui-root img,.aui-root video{max-width:100%;height:auto}.aui-root [hidden]{display:none}.aui-root *,.aui-root :after,.aui-root :before{--tw-border-opacity:1;border-color:rgba(203,213,224,var(--tw-border-opacity))}.aui-root .prose{color:#4a5568;max-width:65ch}.aui-root .prose [class~=lead]{color:#718096;font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.aui-root .prose a{color:#1a202c;text-decoration:underline;font-weight:500}.aui-root .prose strong{color:#1a202c;font-weight:600}.aui-root .prose ol[type=a]{--list-counter-style:lower-alpha}.aui-root .prose ol[type=i]{--list-counter-style:lower-roman}.aui-root .prose ol[type="1"]{--list-counter-style:decimal}.aui-root .prose ol>li{position:relative;padding-left:1.75em}.aui-root .prose ol>li:before{content:counter(list-item,var(--list-counter-style,decimal)) ".";position:absolute;font-weight:400;color:#a0aec0;left:0}.aui-root .prose ul>li{position:relative;padding-left:1.75em}.aui-root .prose ul>li:before{content:"";position:absolute;background-color:#e2e8f0;border-radius:50%;width:.375em;height:.375em;top:.6875em;left:.25em}.aui-root .prose hr{border-color:#edf2f7;border-top-width:1px;margin-top:3em;margin-bottom:3em}.aui-root .prose blockquote{font-weight:500;font-style:italic;color:#1a202c;border-left-width:.25rem;border-left-color:#edf2f7;quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.aui-root .prose blockquote p:first-of-type:before{content:open-quote}.aui-root .prose blockquote p:last-of-type:after{content:close-quote}.aui-root .prose h1{color:#1a202c;font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.aui-root .prose h2{color:#1a202c;font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.aui-root .prose h3{color:#1a202c;font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.aui-root .prose h4{color:#1a202c;font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.aui-root .prose figure figcaption{color:#a0aec0;font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.aui-root .prose code{color:#1a202c;font-weight:600;font-size:.875em}.aui-root .prose code:after,.aui-root .prose code:before{content:"`"}.aui-root .prose a code{color:#1a202c}.aui-root .prose pre{color:#edf2f7;background-color:#1a202c;overflow-x:auto;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.aui-root .prose pre code{background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:400;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.aui-root .prose pre code:after,.aui-root .prose pre code:before{content:none}.aui-root .prose table{width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.aui-root .prose thead{color:#1a202c;font-weight:600;border-bottom-width:1px;border-bottom-color:#e2e8f0}.aui-root .prose thead th{vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.aui-root .prose tbody tr{border-bottom-width:1px;border-bottom-color:#edf2f7}.aui-root .prose tbody tr:last-child{border-bottom-width:0}.aui-root .prose tbody td{vertical-align:top;padding:.5714286em}.aui-root .prose{font-size:1rem;line-height:1.75}.aui-root .prose p{margin-top:1.25em;margin-bottom:1.25em}.aui-root .prose figure,.aui-root .prose img,.aui-root .prose video{margin-top:2em;margin-bottom:2em}.aui-root .prose figure>*{margin-top:0;margin-bottom:0}.aui-root .prose h2 code{font-size:.875em}.aui-root .prose h3 code{font-size:.9em}.aui-root .prose ol,.aui-root .prose ul{margin-top:1.25em;margin-bottom:1.25em}.aui-root .prose li{margin-top:.5em;margin-bottom:.5em}.aui-root .prose>ul>li p{margin-top:.75em;margin-bottom:.75em}.aui-root .prose>ul>li>:first-child{margin-top:1.25em}.aui-root .prose>ul>li>:last-child{margin-bottom:1.25em}.aui-root .prose>ol>li>:first-child{margin-top:1.25em}.aui-root .prose>ol>li>:last-child{margin-bottom:1.25em}.aui-root .prose ol ol,.aui-root .prose ol ul,.aui-root .prose ul ol,.aui-root .prose ul ul{margin-top:.75em;margin-bottom:.75em}.aui-root .prose h2+*,.aui-root .prose h3+*,.aui-root .prose h4+*,.aui-root .prose hr+*{margin-top:0}.aui-root .prose thead th:first-child{padding-left:0}.aui-root .prose thead th:last-child{padding-right:0}.aui-root .prose tbody td:first-child{padding-left:0}.aui-root .prose tbody td:last-child{padding-right:0}.aui-root .prose>:first-child{margin-top:0}.aui-root .prose>:last-child{margin-bottom:0}@media (min-width:1024px){.aui-root .container\:base .burger-menu{display:none}}@media (min-width:1024px){.aui-root .container\:base .sidebar{position:relative;display:block;height:auto;width:16rem}}@media (min-width:1024px){.aui-root .container\:base .sidebar--content{width:14rem}}.aui-root .container\:xl .sidebar--content{position:absolute;left:50%;transform:translate(-50%)}@media (min-width:1536px){.aui-root .container\:base .panel-item{display:flex}}.aui-root .container\:xl .panel-item{display:block}@media (min-width:1536px){.aui-root .container\:base .panel--center .panel-item--center{width:58.333333%}}@media (min-width:1536px){.aui-root .container\:base .panel--center .panel-item--right{width:41.666667%}}.aui-root .container\:xl .panel--center .panel-item--center,.aui-root .container\:xl .panel--center .panel-item--right{width:100%}@media (min-width:1536px){.aui-root .container\:base .examples{margin-top:0;padding:0}}.aui-root .container\:base .panel--right{display:none}@media (min-width:1536px){.aui-root .container\:base .panel--right{display:block;width:41.666667%}}.aui-root .container\:xl .panel--right{display:none}.aui-root .prose pre{white-space:pre-wrap}.aui-root .fixed{position:fixed}.aui-root .absolute{position:absolute}.aui-root .relative{position:relative}.aui-root .top-0{top:0}.aui-root .right-0{right:0}.aui-root .right-8{right:2rem}.aui-root .bottom-16{bottom:4rem}.aui-root .z-10{z-index:10}.aui-root .z-20{z-index:20}.aui-root .z-30{z-index:30}.aui-root .mx-2{margin-left:.5rem;margin-right:.5rem}.aui-root .-mx-8{margin-left:-2rem;margin-right:-2rem}.aui-root .my-2{margin-top:.5rem;margin-bottom:.5rem}.aui-root .mt-1{margin-top:.25rem}.aui-root .mt-2{margin-top:.5rem}.aui-root .mt-4{margin-top:1rem}.aui-root .mt-9{margin-top:2.25rem}.aui-root .mt-10{margin-top:2.5rem}.aui-root .mt-16{margin-top:4rem}.aui-root .mr-1{margin-right:.25rem}.aui-root .mr-2{margin-right:.5rem}.aui-root .mb-2{margin-bottom:.5rem}.aui-root .mb-3{margin-bottom:.75rem}.aui-root .mb-4{margin-bottom:1rem}.aui-root .mb-12{margin-bottom:3rem}.aui-root .-mb-1{margin-bottom:-.25rem}.aui-root .ml-1{margin-left:.25rem}.aui-root .ml-2{margin-left:.5rem}.aui-root .block{display:block}.aui-root .inline-block{display:inline-block}.aui-root .flex{display:flex}.aui-root .table{display:table}.aui-root .hidden{display:none}.aui-root .h-6{height:1.5rem}.aui-root .h-16{height:4rem}.aui-root .h-full{height:100%}.aui-root .max-h-screen{max-height:100vh}.aui-root .w-5{width:1.25rem}.aui-root .w-16{width:4rem}.aui-root .w-64{width:16rem}.aui-root .w-full{width:100%}.aui-root .min-w-1\/4{min-width:25%}.aui-root .max-w-none{max-width:none}.aui-root .flex-1{flex:1 1 0%}.aui-root .transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.aui-root .-rotate-180{--tw-rotate:-180deg}.aui-root .-rotate-90{--tw-rotate:-90deg}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.aui-root .cursor-pointer{cursor:pointer}.aui-root .flex-wrap{flex-wrap:wrap}.aui-root .items-center{align-items:center}.aui-root .justify-center{justify-content:center}.aui-root .space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.5rem*var(--tw-space-x-reverse));margin-left:calc(0.5rem*(1 - var(--tw-space-x-reverse)))}.aui-root .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem*var(--tw-space-y-reverse))}.aui-root .overflow-auto{overflow:auto}.aui-root .overflow-y-auto{overflow-y:auto}.aui-root .whitespace-pre-wrap{white-space:pre-wrap}.aui-root .break-words{overflow-wrap:break-word}.aui-root .break-all{word-break:break-all}.aui-root .rounded{border-radius:.25rem}.aui-root .rounded-full{border-radius:9999px}.aui-root .border{border-width:1px}.aui-root .border-l-8{border-left-width:8px}.aui-root .border-solid{border-style:solid}.aui-root .border-gray-400{--tw-border-opacity:1;border-color:rgba(203,213,224,var(--tw-border-opacity))}.aui-root .border-red-500{--tw-border-opacity:1;border-color:rgba(245,101,101,var(--tw-border-opacity))}.aui-root .border-orange-300{--tw-border-opacity:1;border-color:rgba(251,211,141,var(--tw-border-opacity))}.aui-root .border-green-600{--tw-border-opacity:1;border-color:rgba(56,161,105,var(--tw-border-opacity))}.aui-root .border-blue-300{--tw-border-opacity:1;border-color:rgba(144,205,244,var(--tw-border-opacity))}.aui-root .border-blue-600{--tw-border-opacity:1;border-color:rgba(49,130,206,var(--tw-border-opacity))}.aui-root .border-purple-300{--tw-border-opacity:1;border-color:rgba(214,188,250,var(--tw-border-opacity))}.aui-root .bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.aui-root .bg-gray-100{--tw-bg-opacity:1;background-color:rgba(247,250,252,var(--tw-bg-opacity))}.aui-root .bg-gray-200{--tw-bg-opacity:1;background-color:rgba(237,242,247,var(--tw-bg-opacity))}.aui-root .bg-gray-800{--tw-bg-opacity:1;background-color:rgba(45,55,72,var(--tw-bg-opacity))}.aui-root .bg-yellow-600{--tw-bg-opacity:1;background-color:rgba(214,158,46,var(--tw-bg-opacity))}.aui-root .bg-green-600{--tw-bg-opacity:1;background-color:rgba(56,161,105,var(--tw-bg-opacity))}.aui-root .bg-teal-500{--tw-bg-opacity:1;background-color:rgba(56,178,172,var(--tw-bg-opacity))}.aui-root .bg-blue-400{--tw-bg-opacity:1;background-color:rgba(99,179,237,var(--tw-bg-opacity))}.aui-root .bg-blue-500{--tw-bg-opacity:1;background-color:rgba(66,153,225,var(--tw-bg-opacity))}.aui-root .bg-blue-600{--tw-bg-opacity:1;background-color:rgba(49,130,206,var(--tw-bg-opacity))}.aui-root .bg-indigo-400{--tw-bg-opacity:1;background-color:rgba(127,156,245,var(--tw-bg-opacity))}.aui-root .bg-purple-600{--tw-bg-opacity:1;background-color:rgba(128,90,213,var(--tw-bg-opacity))}.aui-root .hover\:bg-orange-300:hover{--tw-bg-opacity:1;background-color:rgba(251,211,141,var(--tw-bg-opacity))}.aui-root .hover\:bg-blue-300:hover{--tw-bg-opacity:1;background-color:rgba(144,205,244,var(--tw-bg-opacity))}.aui-root .hover\:bg-purple-300:hover{--tw-bg-opacity:1;background-color:rgba(214,188,250,var(--tw-bg-opacity))}.aui-root .fill-current{fill:currentColor}.aui-root .p-1{padding:.25rem}.aui-root .p-2{padding:.5rem}.aui-root .p-4{padding:1rem}.aui-root .p-8{padding:2rem}.aui-root .px-1{padding-left:.25rem;padding-right:.25rem}.aui-root .px-2{padding-left:.5rem;padding-right:.5rem}.aui-root .px-3{padding-left:.75rem;padding-right:.75rem}.aui-root .px-4{padding-left:1rem;padding-right:1rem}.aui-root .px-8{padding-left:2rem;padding-right:2rem}.aui-root .py-0{padding-top:0;padding-bottom:0}.aui-root .py-1{padding-top:.25rem;padding-bottom:.25rem}.aui-root .py-2{padding-top:.5rem;padding-bottom:.5rem}.aui-root .py-4{padding-top:1rem;padding-bottom:1rem}.aui-root .py-8{padding-bottom:2rem}.aui-root .pt-8,.aui-root .py-8{padding-top:2rem}.aui-root .pb-16{padding-bottom:4rem}.aui-root .text-left{text-align:left}.aui-root .align-baseline{vertical-align:baseline}.aui-root .font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.aui-root .font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.aui-root .text-xs{font-size:.75rem}.aui-root .text-sm{font-size:.875rem}.aui-root .text-base{font-size:1rem}.aui-root .text-lg{font-size:1.125rem}.aui-root .text-2xl{font-size:1.5rem}.aui-root .text-3xl{font-size:1.875rem}.aui-root .text-4xl{font-size:2.25rem}.aui-root .font-thin{font-weight:100}.aui-root .font-extralight{font-weight:200}.aui-root .font-light{font-weight:300}.aui-root .font-bold{font-weight:700}.aui-root .uppercase{text-transform:uppercase}.aui-root .lowercase{text-transform:lowercase}.aui-root .capitalize{text-transform:capitalize}.aui-root .italic{font-style:italic}.aui-root .leading-normal{line-height:1.5}.aui-root .text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.aui-root .text-gray-200{--tw-text-opacity:1;color:rgba(237,242,247,var(--tw-text-opacity))}.aui-root .text-gray-500{--tw-text-opacity:1;color:rgba(160,174,192,var(--tw-text-opacity))}.aui-root .text-gray-600{--tw-text-opacity:1;color:rgba(113,128,150,var(--tw-text-opacity))}.aui-root .text-gray-700{--tw-text-opacity:1;color:rgba(74,85,104,var(--tw-text-opacity))}.aui-root .text-gray-800{--tw-text-opacity:1;color:rgba(45,55,72,var(--tw-text-opacity))}.aui-root .text-red-600{--tw-text-opacity:1;color:rgba(229,62,62,var(--tw-text-opacity))}.aui-root .text-orange-500{--tw-text-opacity:1;color:rgba(237,137,54,var(--tw-text-opacity))}.aui-root .text-orange-600{--tw-text-opacity:1;color:rgba(221,107,32,var(--tw-text-opacity))}.aui-root .text-green-600{--tw-text-opacity:1;color:rgba(56,161,105,var(--tw-text-opacity))}.aui-root .text-teal-500{--tw-text-opacity:1;color:rgba(56,178,172,var(--tw-text-opacity))}.aui-root .text-blue-500{--tw-text-opacity:1;color:rgba(66,153,225,var(--tw-text-opacity))}.aui-root .text-purple-500{--tw-text-opacity:1;color:rgba(159,122,234,var(--tw-text-opacity))}.aui-root .hover\:text-gray-900:hover{--tw-text-opacity:1;color:rgba(26,32,44,var(--tw-text-opacity))}.aui-root .hover\:text-orange-600:hover{--tw-text-opacity:1;color:rgba(221,107,32,var(--tw-text-opacity))}.aui-root .hover\:text-blue-600:hover{--tw-text-opacity:1;color:rgba(49,130,206,var(--tw-text-opacity))}.aui-root .hover\:text-purple-600:hover{--tw-text-opacity:1;color:rgba(128,90,213,var(--tw-text-opacity))}.aui-root .underline{text-decoration:underline}.aui-root .no-underline{text-decoration:none}.aui-root *,.aui-root :after,.aui-root :before{--tw-shadow:0 0 transparent}.aui-root .shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06)}.aui-root .shadow,.aui-root .shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.aui-root .shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06)}.aui-root .focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.aui-root *,.aui-root :after,.aui-root :before{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(66,153,225,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.aui-root .filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/);--tw-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-invert:var(--tw-empty,/*!*/ /*!*/);--tw-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.aui-root .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.aui-root .duration-150{transition-duration:.15s}.aui-root .ease-linear{transition-timing-function:linear}@media (min-width:768px){.aui-root .md\:flex{display:flex}}@media (min-width:1536px){.aui-root .\32xl\:mx-0{margin-left:0;margin-right:0}.aui-root .\32xl\:w-7\/12{width:58.333333%}.aui-root .\32xl\:rounded{border-radius:.25rem}.aui-root .\32xl\:px-4{padding-left:1rem;padding-right:1rem}} \ No newline at end of file +/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */.aui-root html{-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.15;-webkit-text-size-adjust:100%}.aui-root body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}.aui-root hr{height:0;color:inherit}.aui-root abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.aui-root b,.aui-root strong{font-weight:bolder}.aui-root code,.aui-root kbd,.aui-root pre,.aui-root samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}.aui-root small{font-size:80%}.aui-root sub,.aui-root sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.aui-root sub{bottom:-.25em}.aui-root sup{top:-.5em}.aui-root table{text-indent:0;border-color:inherit}.aui-root button,.aui-root input,.aui-root optgroup,.aui-root select,.aui-root textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}.aui-root button,.aui-root select{text-transform:none}.aui-root [type=button],.aui-root button{-webkit-appearance:button}.aui-root legend{padding:0}.aui-root progress{vertical-align:baseline}.aui-root summary{display:list-item}.aui-root blockquote,.aui-root dd,.aui-root dl,.aui-root figure,.aui-root h1,.aui-root h2,.aui-root h3,.aui-root h4,.aui-root h5,.aui-root h6,.aui-root hr,.aui-root p,.aui-root pre{margin:0}.aui-root button{background-color:transparent;background-image:none}.aui-root fieldset{margin:0;padding:0}.aui-root ol,.aui-root ul{list-style:none;margin:0;padding:0}.aui-root html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}.aui-root body{font-family:inherit;line-height:inherit}.aui-root *,.aui-root :after,.aui-root :before{box-sizing:border-box;border:0 solid}.aui-root hr{border-top-width:1px}.aui-root img{border-style:solid}.aui-root textarea{resize:vertical}.aui-root input::-moz-placeholder, .aui-root textarea::-moz-placeholder{opacity:1;color:#cbd5e0}.aui-root input:-ms-input-placeholder, .aui-root textarea:-ms-input-placeholder{opacity:1;color:#cbd5e0}.aui-root input::placeholder,.aui-root textarea::placeholder{opacity:1;color:#cbd5e0}.aui-root button{cursor:pointer}.aui-root table{border-collapse:collapse}.aui-root h1,.aui-root h2,.aui-root h3,.aui-root h4,.aui-root h5,.aui-root h6{font-size:inherit;font-weight:inherit}.aui-root a{color:inherit;text-decoration:inherit}.aui-root button,.aui-root input,.aui-root optgroup,.aui-root select,.aui-root textarea{padding:0;line-height:inherit;color:inherit}.aui-root code,.aui-root kbd,.aui-root pre,.aui-root samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.aui-root audio,.aui-root canvas,.aui-root embed,.aui-root iframe,.aui-root img,.aui-root object,.aui-root svg,.aui-root video{display:block;vertical-align:middle}.aui-root img,.aui-root video{max-width:100%;height:auto}.aui-root [hidden]{display:none}.aui-root *,.aui-root :after,.aui-root :before{--tw-border-opacity:1;border-color:rgba(203,213,224,var(--tw-border-opacity))}.aui-root .prose{color:#4a5568;max-width:65ch}.aui-root .prose [class~=lead]{color:#718096;font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.aui-root .prose a{color:#1a202c;text-decoration:underline;font-weight:500}.aui-root .prose strong{color:#1a202c;font-weight:600}.aui-root .prose ol[type=a]{--list-counter-style:lower-alpha}.aui-root .prose ol[type=i]{--list-counter-style:lower-roman}.aui-root .prose ol[type="1"]{--list-counter-style:decimal}.aui-root .prose ol>li{position:relative;padding-left:1.75em}.aui-root .prose ol>li:before{content:counter(list-item,var(--list-counter-style,decimal)) ".";position:absolute;font-weight:400;color:#a0aec0;left:0}.aui-root .prose ul>li{position:relative;padding-left:1.75em}.aui-root .prose ul>li:before{content:"";position:absolute;background-color:#e2e8f0;border-radius:50%;width:.375em;height:.375em;top:.6875em;left:.25em}.aui-root .prose hr{border-color:#edf2f7;border-top-width:1px;margin-top:3em;margin-bottom:3em}.aui-root .prose blockquote{font-weight:500;font-style:italic;color:#1a202c;border-left-width:.25rem;border-left-color:#edf2f7;quotes:"\201C""\201D""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.aui-root .prose blockquote p:first-of-type:before{content:open-quote}.aui-root .prose blockquote p:last-of-type:after{content:close-quote}.aui-root .prose h1{color:#1a202c;font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.aui-root .prose h2{color:#1a202c;font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.aui-root .prose h3{color:#1a202c;font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.aui-root .prose h4{color:#1a202c;font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.aui-root .prose figure figcaption{color:#a0aec0;font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.aui-root .prose code{color:#1a202c;font-weight:600;font-size:.875em}.aui-root .prose code:after,.aui-root .prose code:before{content:"`"}.aui-root .prose a code{color:#1a202c}.aui-root .prose pre{color:#edf2f7;background-color:#1a202c;overflow-x:auto;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.aui-root .prose pre code{background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:400;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.aui-root .prose pre code:after,.aui-root .prose pre code:before{content:none}.aui-root .prose table{width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.aui-root .prose thead{color:#1a202c;font-weight:600;border-bottom-width:1px;border-bottom-color:#e2e8f0}.aui-root .prose thead th{vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.aui-root .prose tbody tr{border-bottom-width:1px;border-bottom-color:#edf2f7}.aui-root .prose tbody tr:last-child{border-bottom-width:0}.aui-root .prose tbody td{vertical-align:top;padding:.5714286em}.aui-root .prose{font-size:1rem;line-height:1.75}.aui-root .prose p{margin-top:1.25em;margin-bottom:1.25em}.aui-root .prose figure,.aui-root .prose img,.aui-root .prose video{margin-top:2em;margin-bottom:2em}.aui-root .prose figure>*{margin-top:0;margin-bottom:0}.aui-root .prose h2 code{font-size:.875em}.aui-root .prose h3 code{font-size:.9em}.aui-root .prose ol,.aui-root .prose ul{margin-top:1.25em;margin-bottom:1.25em}.aui-root .prose li{margin-top:.5em;margin-bottom:.5em}.aui-root .prose>ul>li p{margin-top:.75em;margin-bottom:.75em}.aui-root .prose>ul>li>:first-child{margin-top:1.25em}.aui-root .prose>ul>li>:last-child{margin-bottom:1.25em}.aui-root .prose>ol>li>:first-child{margin-top:1.25em}.aui-root .prose>ol>li>:last-child{margin-bottom:1.25em}.aui-root .prose ol ol,.aui-root .prose ol ul,.aui-root .prose ul ol,.aui-root .prose ul ul{margin-top:.75em;margin-bottom:.75em}.aui-root .prose h2+*,.aui-root .prose h3+*,.aui-root .prose h4+*,.aui-root .prose hr+*{margin-top:0}.aui-root .prose thead th:first-child{padding-left:0}.aui-root .prose thead th:last-child{padding-right:0}.aui-root .prose tbody td:first-child{padding-left:0}.aui-root .prose tbody td:last-child{padding-right:0}.aui-root .prose>:first-child{margin-top:0}.aui-root .prose>:last-child{margin-bottom:0}@media (min-width:1024px){.aui-root .container\:base .burger-menu{display:none}}@media (min-width:1024px){.aui-root .container\:base .sidebar{position:relative;display:block;height:auto;width:16rem}}@media (min-width:1024px){.aui-root .container\:base .sidebar--content{width:14rem}}.aui-root .container\:xl .sidebar--content{position:absolute;left:50%;transform:translate(-50%)}@media (min-width:1536px){.aui-root .container\:base .panel-item{display:flex}}.aui-root .container\:xl .panel-item{display:block}@media (min-width:1536px){.aui-root .container\:base .panel--center .panel-item--center{width:58.333333%}}@media (min-width:1536px){.aui-root .container\:base .panel--center .panel-item--right{width:41.666667%}}.aui-root .container\:xl .panel--center .panel-item--center,.aui-root .container\:xl .panel--center .panel-item--right{width:100%}@media (min-width:1536px){.aui-root .container\:base .examples{margin-top:0;padding:0}}.aui-root .container\:base .panel--right{display:none}@media (min-width:1536px){.aui-root .container\:base .panel--right{display:block;width:41.666667%}}.aui-root .container\:xl .panel--right{display:none}.aui-root .prose pre{white-space:pre-wrap}.aui-root .fixed{position:fixed}.aui-root .absolute{position:absolute}.aui-root .relative{position:relative}.aui-root .top-0{top:0}.aui-root .right-0{right:0}.aui-root .right-8{right:2rem}.aui-root .bottom-16{bottom:4rem}.aui-root .z-10{z-index:10}.aui-root .z-20{z-index:20}.aui-root .z-30{z-index:30}.aui-root .mx-2{margin-left:.5rem;margin-right:.5rem}.aui-root .-mx-8{margin-left:-2rem;margin-right:-2rem}.aui-root .my-2{margin-top:.5rem;margin-bottom:.5rem}.aui-root .mt-1{margin-top:.25rem}.aui-root .mt-2{margin-top:.5rem}.aui-root .mt-4{margin-top:1rem}.aui-root .mt-9{margin-top:2.25rem}.aui-root .mt-10{margin-top:2.5rem}.aui-root .mt-16{margin-top:4rem}.aui-root .mr-1{margin-right:.25rem}.aui-root .mr-2{margin-right:.5rem}.aui-root .mb-2{margin-bottom:.5rem}.aui-root .mb-3{margin-bottom:.75rem}.aui-root .mb-4{margin-bottom:1rem}.aui-root .mb-12{margin-bottom:3rem}.aui-root .-mb-1{margin-bottom:-.25rem}.aui-root .ml-0{margin-left:0}.aui-root .ml-1{margin-left:.25rem}.aui-root .ml-2{margin-left:.5rem}.aui-root .ml-0\.5{margin-left:.125rem}.aui-root .block{display:block}.aui-root .inline-block{display:inline-block}.aui-root .flex{display:flex}.aui-root .table{display:table}.aui-root .hidden{display:none}.aui-root .h-5{height:1.25rem}.aui-root .h-6{height:1.5rem}.aui-root .h-16{height:4rem}.aui-root .h-full{height:100%}.aui-root .max-h-screen{max-height:100vh}.aui-root .w-5{width:1.25rem}.aui-root .w-16{width:4rem}.aui-root .w-20{width:5rem}.aui-root .w-64{width:16rem}.aui-root .w-full{width:100%}.aui-root .min-w-1\/4{min-width:25%}.aui-root .max-w-none{max-width:none}.aui-root .flex-1{flex:1 1 0%}.aui-root .transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.aui-root .-rotate-180{--tw-rotate:-180deg}.aui-root .-rotate-90{--tw-rotate:-90deg}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.aui-root .cursor-pointer{cursor:pointer}.aui-root .flex-wrap{flex-wrap:wrap}.aui-root .items-center{align-items:center}.aui-root .justify-center{justify-content:center}.aui-root .space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.5rem*var(--tw-space-x-reverse));margin-left:calc(0.5rem*(1 - var(--tw-space-x-reverse)))}.aui-root .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem*var(--tw-space-y-reverse))}.aui-root .overflow-auto{overflow:auto}.aui-root .overflow-y-auto{overflow-y:auto}.aui-root .whitespace-pre-wrap{white-space:pre-wrap}.aui-root .break-words{overflow-wrap:break-word}.aui-root .break-all{word-break:break-all}.aui-root .rounded{border-radius:.25rem}.aui-root .rounded-full{border-radius:9999px}.aui-root .border{border-width:1px}.aui-root .border-l-8{border-left-width:8px}.aui-root .border-solid{border-style:solid}.aui-root .border-gray-400{--tw-border-opacity:1;border-color:rgba(203,213,224,var(--tw-border-opacity))}.aui-root .border-red-500{--tw-border-opacity:1;border-color:rgba(245,101,101,var(--tw-border-opacity))}.aui-root .border-orange-300{--tw-border-opacity:1;border-color:rgba(251,211,141,var(--tw-border-opacity))}.aui-root .border-green-600{--tw-border-opacity:1;border-color:rgba(56,161,105,var(--tw-border-opacity))}.aui-root .border-blue-300{--tw-border-opacity:1;border-color:rgba(144,205,244,var(--tw-border-opacity))}.aui-root .border-blue-600{--tw-border-opacity:1;border-color:rgba(49,130,206,var(--tw-border-opacity))}.aui-root .border-purple-300{--tw-border-opacity:1;border-color:rgba(214,188,250,var(--tw-border-opacity))}.aui-root .bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.aui-root .bg-gray-100{--tw-bg-opacity:1;background-color:rgba(247,250,252,var(--tw-bg-opacity))}.aui-root .bg-gray-200{--tw-bg-opacity:1;background-color:rgba(237,242,247,var(--tw-bg-opacity))}.aui-root .bg-gray-800{--tw-bg-opacity:1;background-color:rgba(45,55,72,var(--tw-bg-opacity))}.aui-root .bg-yellow-600{--tw-bg-opacity:1;background-color:rgba(214,158,46,var(--tw-bg-opacity))}.aui-root .bg-green-600{--tw-bg-opacity:1;background-color:rgba(56,161,105,var(--tw-bg-opacity))}.aui-root .bg-teal-500{--tw-bg-opacity:1;background-color:rgba(56,178,172,var(--tw-bg-opacity))}.aui-root .bg-blue-400{--tw-bg-opacity:1;background-color:rgba(99,179,237,var(--tw-bg-opacity))}.aui-root .bg-blue-500{--tw-bg-opacity:1;background-color:rgba(66,153,225,var(--tw-bg-opacity))}.aui-root .bg-blue-600{--tw-bg-opacity:1;background-color:rgba(49,130,206,var(--tw-bg-opacity))}.aui-root .bg-indigo-400{--tw-bg-opacity:1;background-color:rgba(127,156,245,var(--tw-bg-opacity))}.aui-root .bg-purple-600{--tw-bg-opacity:1;background-color:rgba(128,90,213,var(--tw-bg-opacity))}.aui-root .hover\:bg-orange-300:hover{--tw-bg-opacity:1;background-color:rgba(251,211,141,var(--tw-bg-opacity))}.aui-root .hover\:bg-blue-300:hover{--tw-bg-opacity:1;background-color:rgba(144,205,244,var(--tw-bg-opacity))}.aui-root .hover\:bg-purple-300:hover{--tw-bg-opacity:1;background-color:rgba(214,188,250,var(--tw-bg-opacity))}.aui-root .fill-current{fill:currentColor}.aui-root .p-1{padding:.25rem}.aui-root .p-2{padding:.5rem}.aui-root .p-4{padding:1rem}.aui-root .p-8{padding:2rem}.aui-root .px-1{padding-left:.25rem;padding-right:.25rem}.aui-root .px-2{padding-left:.5rem;padding-right:.5rem}.aui-root .px-3{padding-left:.75rem;padding-right:.75rem}.aui-root .px-4{padding-left:1rem;padding-right:1rem}.aui-root .px-8{padding-left:2rem;padding-right:2rem}.aui-root .py-0{padding-top:0;padding-bottom:0}.aui-root .py-1{padding-top:.25rem;padding-bottom:.25rem}.aui-root .py-2{padding-top:.5rem;padding-bottom:.5rem}.aui-root .py-4{padding-top:1rem;padding-bottom:1rem}.aui-root .py-8{padding-top:2rem;padding-bottom:2rem}.aui-root .py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.aui-root .pt-8{padding-top:2rem}.aui-root .pb-16{padding-bottom:4rem}.aui-root .text-left{text-align:left}.aui-root .text-center{text-align:center}.aui-root .align-baseline{vertical-align:baseline}.aui-root .font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.aui-root .font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.aui-root .text-xs{font-size:.75rem}.aui-root .text-sm{font-size:.875rem}.aui-root .text-base{font-size:1rem}.aui-root .text-lg{font-size:1.125rem}.aui-root .text-2xl{font-size:1.5rem}.aui-root .text-3xl{font-size:1.875rem}.aui-root .text-4xl{font-size:2.25rem}.aui-root .font-thin{font-weight:100}.aui-root .font-extralight{font-weight:200}.aui-root .font-light{font-weight:300}.aui-root .font-bold{font-weight:700}.aui-root .uppercase{text-transform:uppercase}.aui-root .lowercase{text-transform:lowercase}.aui-root .capitalize{text-transform:capitalize}.aui-root .italic{font-style:italic}.aui-root .leading-normal{line-height:1.5}.aui-root .text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.aui-root .text-gray-200{--tw-text-opacity:1;color:rgba(237,242,247,var(--tw-text-opacity))}.aui-root .text-gray-500{--tw-text-opacity:1;color:rgba(160,174,192,var(--tw-text-opacity))}.aui-root .text-gray-600{--tw-text-opacity:1;color:rgba(113,128,150,var(--tw-text-opacity))}.aui-root .text-gray-700{--tw-text-opacity:1;color:rgba(74,85,104,var(--tw-text-opacity))}.aui-root .text-gray-800{--tw-text-opacity:1;color:rgba(45,55,72,var(--tw-text-opacity))}.aui-root .text-red-600{--tw-text-opacity:1;color:rgba(229,62,62,var(--tw-text-opacity))}.aui-root .text-orange-500{--tw-text-opacity:1;color:rgba(237,137,54,var(--tw-text-opacity))}.aui-root .text-orange-600{--tw-text-opacity:1;color:rgba(221,107,32,var(--tw-text-opacity))}.aui-root .text-green-600{--tw-text-opacity:1;color:rgba(56,161,105,var(--tw-text-opacity))}.aui-root .text-teal-500{--tw-text-opacity:1;color:rgba(56,178,172,var(--tw-text-opacity))}.aui-root .text-blue-500{--tw-text-opacity:1;color:rgba(66,153,225,var(--tw-text-opacity))}.aui-root .text-purple-500{--tw-text-opacity:1;color:rgba(159,122,234,var(--tw-text-opacity))}.aui-root .hover\:text-gray-900:hover{--tw-text-opacity:1;color:rgba(26,32,44,var(--tw-text-opacity))}.aui-root .hover\:text-orange-600:hover{--tw-text-opacity:1;color:rgba(221,107,32,var(--tw-text-opacity))}.aui-root .hover\:text-blue-600:hover{--tw-text-opacity:1;color:rgba(49,130,206,var(--tw-text-opacity))}.aui-root .hover\:text-purple-600:hover{--tw-text-opacity:1;color:rgba(128,90,213,var(--tw-text-opacity))}.aui-root .underline{text-decoration:underline}.aui-root .no-underline{text-decoration:none}.aui-root *,.aui-root :after,.aui-root :before{--tw-shadow:0 0 transparent}.aui-root .shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06)}.aui-root .shadow,.aui-root .shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.aui-root .shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06)}.aui-root .focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.aui-root *,.aui-root :after,.aui-root :before{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(66,153,225,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.aui-root .filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/);--tw-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-invert:var(--tw-empty,/*!*/ /*!*/);--tw-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.aui-root .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.aui-root .duration-150{transition-duration:.15s}.aui-root .ease-linear{transition-timing-function:linear}@media (min-width:768px){.aui-root .md\:flex{display:flex}}@media (min-width:1536px){.aui-root .\32xl\:mx-0{margin-left:0;margin-right:0}.aui-root .\32xl\:w-7\/12{width:58.333333%}.aui-root .\32xl\:rounded{border-radius:.25rem}.aui-root .\32xl\:px-4{padding-left:1rem;padding-right:1rem}} \ No newline at end of file diff --git a/src/main/resources/ui/index(1.0.0-next.38).js b/src/main/resources/ui/index(1.0.0-next.38).js deleted file mode 100644 index 27aee3e..0000000 --- a/src/main/resources/ui/index(1.0.0-next.38).js +++ /dev/null @@ -1,45 +0,0 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("AsyncApiStandalone",[],t):"object"==typeof exports?exports.AsyncApiStandalone=t():e.AsyncApiStandalone=t()}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=275)}([function(e,t,r){"use strict";e.exports=r(70)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"j",(function(){return i})),r.d(t,"h",(function(){return a})),r.d(t,"i",(function(){return o})),r.d(t,"c",(function(){return s})),r.d(t,"g",(function(){return u})),r.d(t,"e",(function(){return l})),r.d(t,"d",(function(){return c})),r.d(t,"f",(function(){return p})),r.d(t,"b",(function(){return f}));var n="https://www.iana.org/assignments/media-types",i="https://github.com/asyncapi/parser-js/validation-errors",a="Terms of service",o="Support",s="External Docs",u="Servers",l="Operations",c="Messages",p="Schemas",f="Error"},function(e,t){const r=e.exports,n=(e,t,r,n)=>{if("string"!=typeof t||!e)return null;const i=e[String(t)];return void 0===i?null:r?new r(i,n):i};r.createMapOfType=(e,t,r)=>{const n={};return e?(Object.entries(e).forEach(([e,i])=>{n[String(e)]=new t(i,r)}),n):n},r.getMapValueOfType=(e,t,r,i)=>n(e,t,r,i),r.getMapValueByKey=(e,t)=>n(e,t),r.mix=(e,...t)=>{let r=!1;if(t.some((function(t){return e===t||(r=Object.keys(t).some(t=>e.prototype.hasOwnProperty(t)),r)})))throw r?new Error(`invalid mix function: model ${e.name} has at least one method that it is trying to replace by mixin`):new Error(`invalid mix function: cannot use the model ${e.name} as a mixin`);return t.forEach(t=>Object.assign(e.prototype,t)),e}},function(e,t,r){const n=r(23);e.exports=class{constructor(e){if(null==e)throw new n(`Invalid JSON to instantiate the ${this.constructor.name} object.`);this._json=e}json(e){return void 0===e?this._json:this._json?this._json[String(e)]:void 0}}},function(e,t){const r={hasExtensions(){return!!this.extensionKeys().length},extensions(){const e={};return Object.entries(this._json).forEach(([t,r])=>{/^x-[\w\d\.\-\_]+$/.test(t)&&(e[String(t)]=r)}),e},extensionKeys(){return Object.keys(this.extensions())},extKeys(){return this.extensionKeys()},hasExtension(e){return!!e.startsWith("x-")&&!!this._json[String(e)]},extension(e){return e.startsWith("x-")?this._json[String(e)]:null},hasExt(e){return this.hasExtension(e)},ext(e){return this.extension(e)}};e.exports=r},,function(e,t,r){const{getMapValueByKey:n}=r(2),i={hasDescription(){return!!this._json.description},description(){return n(this._json,"description")}};e.exports=i},function(e,t,r){"use strict";function n(e){return void 0!==e.url}var i;r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i})),function(e){e.PUBLISH="publish",e.SUBSCRIBE="subscribe"}(i||(i={}))},,,function(e,t,r){const{createMapOfType:n,getMapValueOfType:i,mix:a}=r(2),o=r(3),{xParserCircle:s,xParserCircleProps:u}=r(24),l=r(6),c=r(17),p=r(4);class f extends o{constructor(e,t){super(e),this.options=t||{}}uid(){return this.$id()||this.ext("x-parser-schema-id")}$id(){return this._json.$id}multipleOf(){return this._json.multipleOf}maximum(){return this._json.maximum}exclusiveMaximum(){return this._json.exclusiveMaximum}minimum(){return this._json.minimum}exclusiveMinimum(){return this._json.exclusiveMinimum}maxLength(){return this._json.maxLength}minLength(){return this._json.minLength}pattern(){return this._json.pattern}maxItems(){return this._json.maxItems}minItems(){return this._json.minItems}uniqueItems(){return!!this._json.uniqueItems}maxProperties(){return this._json.maxProperties}minProperties(){return this._json.minProperties}required(){return this._json.required}enum(){return this._json.enum}type(){return this._json.type}allOf(){return this._json.allOf?this._json.allOf.map(e=>new f(e,{parent:this})):null}oneOf(){return this._json.oneOf?this._json.oneOf.map(e=>new f(e,{parent:this})):null}anyOf(){return this._json.anyOf?this._json.anyOf.map(e=>new f(e,{parent:this})):null}not(){return this._json.not?new f(this._json.not,{parent:this}):null}items(){return this._json.items?Array.isArray(this._json.items)?this._json.items.map(e=>new f(e,{parent:this})):new f(this._json.items,{parent:this}):null}properties(){return n(this._json.properties,f,{parent:this})}property(e){return i(this._json.properties,e,f,{parent:this})}additionalProperties(){const e=this._json.additionalProperties;if(null!=e)return"boolean"==typeof e?e:new f(e,{parent:this})}additionalItems(){const e=this._json.additionalItems;if(null!=e)return new f(e,{parent:this})}patternProperties(){return n(this._json.patternProperties,f,{parent:this})}const(){return this._json.const}contains(){return this._json.contains?new f(this._json.contains,{parent:this}):null}dependencies(){if(!this._json.dependencies)return null;const e={};return Object.entries(this._json.dependencies).forEach(([t,r])=>{e[String(t)]=Array.isArray(r)?r:new f(r,{parent:this})}),e}propertyNames(){return this._json.propertyNames?new f(this._json.propertyNames,{parent:this}):null}if(){return this._json.if?new f(this._json.if,{parent:this}):null}then(){return this._json.then?new f(this._json.then,{parent:this}):null}else(){return this._json.else?new f(this._json.else,{parent:this}):null}format(){return this._json.format}contentEncoding(){return this._json.contentEncoding}contentMediaType(){return this._json.contentMediaType}definitions(){return n(this._json.definitions,f,{parent:this})}title(){return this._json.title}default(){return this._json.default}deprecated(){return this._json.deprecated}discriminator(){return this._json.discriminator}readOnly(){return!!this._json.readOnly}writeOnly(){return!!this._json.writeOnly}examples(){return this._json.examples}isBooleanSchema(){return"boolean"==typeof this._json}isCircular(){if(this.ext(s))return!0;let e=this.options.parent;for(;e;){if(e._json===this._json)return!0;e=e.options&&e.options.parent}return!1}circularSchema(){let e=this.options.parent;for(;e;){if(e._json===this._json)return e;e=e.options&&e.options.parent}}hasCircularProps(){return Array.isArray(this.ext(u))?this.ext(u).length>0:Object.entries(this.properties()||{}).map(([e,t])=>{if(t.isCircular())return e}).filter(Boolean).length>0}circularProps(){return Array.isArray(this.ext(u))?this.ext(u):Object.entries(this.properties()||{}).map(([e,t])=>{if(t.isCircular())return e}).filter(Boolean)}}e.exports=a(f,l,c,p)},function(e,t,r){"use strict";(function(e){ - /*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */ - var n=r(81),i=r(82),a=r(63);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(n)return L(e).length;t=(""+t).toLowerCase(),n=!0}}function m(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return j(this,t,r);case"utf8":case"utf-8":return P(this,t,r);case"ascii":return k(this,t,r);case"latin1":case"binary":return C(this,t,r);case"base64":return A(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var a,o=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,r/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=r;as&&(r=s-u),a=r;a>=0;a--){for(var p=!0,f=0;fi&&(n=i):n=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o>8,i=r%256,a.push(i),a.push(n);return a}(t,e.length-r),e,r,n)}function A(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function P(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+p<=r)switch(p){case 1:l<128&&(c=l);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&l)<<6|63&a)>127&&(c=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&l)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,p=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(t>>>=0),s=Math.min(a,o),l=this.slice(n,i),c=e.slice(t,r),p=0;pi)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":return E(this,e,t,r);case"latin1":case"binary":return w(this,e,t,r);case"base64":return D(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;in)&&(r=n);for(var i="",a=t;ar)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,r,n,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function _(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-r,2);i>>8*(n?i:1-i)}function O(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-r,4);i>>8*(n?i:3-i)&255}function I(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(e,t,r,n,a){return a||I(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function R(e,t,r,n,a){return a||I(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||$(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||$(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||$(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||$(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||$(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||$(e,t,this.length);for(var n=this[e],i=1,a=0;++a=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||$(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||$(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||$(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||$(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||$(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||$(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||$(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||$(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||$(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||$(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||F(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):_(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):_(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):O(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):O(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);F(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);F(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):_(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):_(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):O(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):O(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return N(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return N(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return R(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return R(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function U(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(M,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}}).call(this,r(13))},function(e,t,r){"use strict";var n=r(52),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var r,o;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===i.indexOf(t))throw new n('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(r=t.styleAliases||null,o={},null!==r&&Object.keys(r).forEach((function(e){r[e].forEach((function(t){o[String(t)]=e}))})),o),-1===a.indexOf(this.kind))throw new n('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(54),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];var o=function(e,t){var r,o;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===i.indexOf(t))throw new n('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(r=t.styleAliases||null,o={},null!==r&&Object.keys(r).forEach((function(e){r[e].forEach((function(t){o[String(t)]=e}))})),o),-1===a.indexOf(this.kind))throw new n('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};t.Type=o},function(e,t){function r(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(t){var n=e[t];"object"!=typeof n||Object.isFrozen(n)||r(n)})),e}var n=r,i=r;n.default=i;class a{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function o(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e,...t){const r=Object.create(null);for(const t in e)r[t]=e[t];return t.forEach((function(e){for(const t in e)r[t]=e[t]})),r}const u=e=>!!e.kind;class l{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=o(e)}openNode(e){if(!u(e))return;let t=e.kind;e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){u(e)&&(this.buffer+="")}value(){return this.buffer}span(e){this.buffer+=``}}class c{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]};this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{c._collapse(e)}))}}class p extends c{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const r=e.root;r.kind=t,r.sublanguage=!0,this.add(r)}toHTML(){return new l(this,this.options).value()}finalize(){return!0}}function f(e){return e?"string"==typeof e?e:e.source:null}const d=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;const h="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",m={begin:"\\\\[\\s\\S]",relevance:0},y={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[m]},g={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[m]},v={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},b=function(e,t,r={}){const n=s({className:"comment",begin:e,end:t,contains:[]},r);return n.contains.push(v),n.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),n},x=b("//","$"),E=b("/\\*","\\*/"),w=b("#","$"),D={className:"number",begin:"\\b\\d+(\\.\\d+)?",relevance:0},S={className:"number",begin:h,relevance:0},A={className:"number",begin:"\\b(0b[01]+)",relevance:0},P={className:"number",begin:"\\b\\d+(\\.\\d+)?(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},k={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[m,{begin:/\[/,end:/\]/,relevance:0,contains:[m]}]}]},C={className:"title",begin:"[a-zA-Z]\\w*",relevance:0},j={className:"title",begin:"[a-zA-Z_]\\w*",relevance:0},T={begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0};var $=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:"[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE:"[a-zA-Z_]\\w*",NUMBER_RE:"\\b\\d+(\\.\\d+)?",C_NUMBER_RE:h,BINARY_NUMBER_RE:"\\b(0b[01]+)",RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=function(...e){return e.map(e=>f(e)).join("")}(t,/.*\b/,e.binary,/\b.*/)),s({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:m,APOS_STRING_MODE:y,QUOTE_STRING_MODE:g,PHRASAL_WORDS_MODE:v,COMMENT:b,C_LINE_COMMENT_MODE:x,C_BLOCK_COMMENT_MODE:E,HASH_COMMENT_MODE:w,NUMBER_MODE:D,C_NUMBER_MODE:S,BINARY_NUMBER_MODE:A,CSS_NUMBER_MODE:P,REGEXP_MODE:k,TITLE_MODE:C,UNDERSCORE_TITLE_MODE:j,METHOD_GUARD:T,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}});function F(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function _(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=F,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function O(e,t){Array.isArray(e.illegal)&&(e.illegal=function(...e){return"("+e.map(e=>f(e)).join("|")+")"}(...e.illegal))}function I(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function N(e,t){void 0===e.relevance&&(e.relevance=1)}const R=["of","and","for","in","not","or","if","then","parent","list","value"];function M(e,t){return t?Number(t):function(e){return R.includes(e.toLowerCase())}(e)?0:1}function B(e,{plugins:t}){function r(t,r){return new RegExp(f(t),"m"+(e.case_insensitive?"i":"")+(r?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=function(e){return new RegExp(e.toString()+"|").exec("").length-1}(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map(e=>e[1]);this.matcherRe=r(function(e,t="|"){let r=0;return e.map(e=>{r+=1;const t=r;let n=f(e),i="";for(;n.length>0;){const e=d.exec(n);if(!e){i+=n;break}i+=n.substring(0,e.index),n=n.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+t):(i+=e[0],"("===e[0]&&r++)}return i}).map(e=>`(${e})`).join(t)}(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const r=t.findIndex((e,t)=>t>0&&void 0!==e),n=this.matchIndexes[r];return t.splice(0,r),Object.assign(t,n)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach(([e,r])=>t.addRule(e,r)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let r=t.exec(e);if(this.resumingScanAtSamePosition())if(r&&r.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,r=t.exec(e)}return r&&(this.regexIndex+=r.position+1,this.regexIndex===this.count&&this.considerAll()),r}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=s(e.classNameAliases||{}),function t(n,a){const o=n;if(n.isCompiled)return o;[I].forEach(e=>e(n,a)),e.compilerExtensions.forEach(e=>e(n,a)),n.__beforeBegin=null,[_,O,N].forEach(e=>e(n,a)),n.isCompiled=!0;let u=null;if("object"==typeof n.keywords&&(u=n.keywords.$pattern,delete n.keywords.$pattern),n.keywords&&(n.keywords=function e(t,r,n="keyword"){const i={};return"string"==typeof t?a(n,t.split(" ")):Array.isArray(t)?a(n,t):Object.keys(t).forEach((function(n){Object.assign(i,e(t[n],r,n))})),i;function a(e,t){r&&(t=t.map(e=>e.toLowerCase())),t.forEach((function(t){const r=t.split("|");i[r[0]]=[e,M(r[0],r[1])]}))}}(n.keywords,e.case_insensitive)),n.lexemes&&u)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return u=u||n.lexemes||/\w+/,o.keywordPatternRe=r(u,!0),a&&(n.begin||(n.begin=/\B|\b/),o.beginRe=r(n.begin),n.endSameAsBegin&&(n.end=n.begin),n.end||n.endsWithParent||(n.end=/\B|\b/),n.end&&(o.endRe=r(n.end)),o.terminatorEnd=f(n.end)||"",n.endsWithParent&&a.terminatorEnd&&(o.terminatorEnd+=(n.end?"|":"")+a.terminatorEnd)),n.illegal&&(o.illegalRe=r(n.illegal)),n.contains||(n.contains=[]),n.contains=[].concat(...n.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return s(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(e))return s(e,{starts:e.starts?s(e.starts):null});if(Object.isFrozen(e))return s(e);return e}("self"===e?n:e)}))),n.contains.forEach((function(e){t(e,o)})),n.starts&&t(n.starts,a),o.matcher=function(e){const t=new i;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(o),o}(e)}function L(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,o(this.code);let t={};return this.autoDetect?(t=e.highlightAuto(this.code),this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),t.value},autoDetect(){return!this.language||(e=this.autodetect,Boolean(e||""===e));var e},ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(e){e.component("highlightjs",t)}}}}const U={"after:highlightElement":({el:e,result:t,text:r})=>{const n=z(e);if(!n.length)return;const i=document.createElement("div");i.innerHTML=t.value,t.value=function(e,t,r){let n=0,i="";const a=[];function s(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset"}function l(e){i+=""}function c(e){("start"===e.event?u:l)(e.node)}for(;e.length||t.length;){let t=s();if(i+=o(r.substring(n,t[0].offset)),n=t[0].offset,t===e){a.reverse().forEach(l);do{c(t.splice(0,1)[0]),t=s()}while(t===e&&t.length&&t[0].offset===n);a.reverse().forEach(u)}else"start"===t[0].event?a.push(t[0].node):a.pop(),c(t.splice(0,1)[0])}return i+o(r.substr(n))}(n,z(i),r)}};function q(e){return e.nodeName.toLowerCase()}function z(e){const t=[];return function e(r,n){for(let i=r.firstChild;i;i=i.nextSibling)3===i.nodeType?n+=i.nodeValue.length:1===i.nodeType&&(t.push({event:"start",offset:n,node:i}),n=e(i,n),q(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:n,node:i}));return n}(e,0),t}const H={},V=e=>{console.error(e)},J=(e,...t)=>{console.log("WARN: "+e,...t)},K=(e,t)=>{H[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),H[`${e}/${t}`]=!0)},X=o,W=s,Y=Symbol("nomatch");var G=function(e){const t=Object.create(null),r=Object.create(null),i=[];let o=!0;const s=/(^(<[^>]+>|\t|)+|\n)/gm,u="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let c={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:p};function f(e){return c.noHighlightRe.test(e)}function d(e,t,r,n){let i="",a="";"object"==typeof t?(i=e,r=t.ignoreIllegals,a=t.language,n=void 0):(K("10.7.0","highlight(lang, code, ...args) has been deprecated."),K("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),a=e,i=t);const o={code:i,language:a};P("before:highlight",o);const s=o.result?o.result:h(o.language,o.code,r,n);return s.code=o.code,P("after:highlight",s),s}function h(e,r,n,s){function l(e,t){const r=x.case_insensitive?t[0].toLowerCase():t[0];return Object.prototype.hasOwnProperty.call(e.keywords,r)&&e.keywords[r]}function p(){null!=S.subLanguage?function(){if(""===k)return;let e=null;if("string"==typeof S.subLanguage){if(!t[S.subLanguage])return void P.addText(k);e=h(S.subLanguage,k,!0,A[S.subLanguage]),A[S.subLanguage]=e.top}else e=m(k,S.subLanguage.length?S.subLanguage:null);S.relevance>0&&(C+=e.relevance),P.addSublanguage(e.emitter,e.language)}():function(){if(!S.keywords)return void P.addText(k);let e=0;S.keywordPatternRe.lastIndex=0;let t=S.keywordPatternRe.exec(k),r="";for(;t;){r+=k.substring(e,t.index);const n=l(S,t);if(n){const[e,i]=n;if(P.addText(r),r="",C+=i,e.startsWith("_"))r+=t[0];else{const r=x.classNameAliases[e]||e;P.addKeyword(t[0],r)}}else r+=t[0];e=S.keywordPatternRe.lastIndex,t=S.keywordPatternRe.exec(k)}r+=k.substr(e),P.addText(r)}(),k=""}function f(e){return e.className&&P.openNode(x.classNameAliases[e.className]||e.className),S=Object.create(e,{parent:{value:S}}),S}function d(e){return 0===S.matcher.regexIndex?(k+=e[0],1):($=!0,0)}function y(e){const t=e[0],r=e.rule,n=new a(r),i=[r.__beforeBegin,r["on:begin"]];for(const r of i)if(r&&(r(e,n),n.isMatchIgnored))return d(t);return r&&r.endSameAsBegin&&(r.endRe=new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),r.skip?k+=t:(r.excludeBegin&&(k+=t),p(),r.returnBegin||r.excludeBegin||(k=t)),f(r),r.returnBegin?0:t.length}function g(e){const t=e[0],n=r.substr(e.index),i=function e(t,r,n){let i=function(e,t){const r=e&&e.exec(t);return r&&0===r.index}(t.endRe,n);if(i){if(t["on:end"]){const e=new a(t);t["on:end"](r,e),e.isMatchIgnored&&(i=!1)}if(i){for(;t.endsParent&&t.parent;)t=t.parent;return t}}if(t.endsWithParent)return e(t.parent,r,n)}(S,e,n);if(!i)return Y;const o=S;o.skip?k+=t:(o.returnEnd||o.excludeEnd||(k+=t),p(),o.excludeEnd&&(k=t));do{S.className&&P.closeNode(),S.skip||S.subLanguage||(C+=S.relevance),S=S.parent}while(S!==i.parent);return i.starts&&(i.endSameAsBegin&&(i.starts.endRe=i.endRe),f(i.starts)),o.returnEnd?0:t.length}let v={};function b(t,i){const a=i&&i[0];if(k+=t,null==a)return p(),0;if("begin"===v.type&&"end"===i.type&&v.index===i.index&&""===a){if(k+=r.slice(i.index,i.index+1),!o){const t=new Error("0 width match regex");throw t.languageName=e,t.badRule=v.rule,t}return 1}if(v=i,"begin"===i.type)return y(i);if("illegal"===i.type&&!n){const e=new Error('Illegal lexeme "'+a+'" for mode "'+(S.className||"")+'"');throw e.mode=S,e}if("end"===i.type){const e=g(i);if(e!==Y)return e}if("illegal"===i.type&&""===a)return 1;if(T>1e5&&T>3*i.index){throw new Error("potential infinite loop, way more iterations than matches")}return k+=a,a.length}const x=D(e);if(!x)throw V(u.replace("{}",e)),new Error('Unknown language: "'+e+'"');const E=B(x,{plugins:i});let w="",S=s||E;const A={},P=new c.__emitter(c);!function(){const e=[];for(let t=S;t!==x;t=t.parent)t.className&&e.unshift(t.className);e.forEach(e=>P.openNode(e))}();let k="",C=0,j=0,T=0,$=!1;try{for(S.matcher.considerAll();;){T++,$?$=!1:S.matcher.considerAll(),S.matcher.lastIndex=j;const e=S.matcher.exec(r);if(!e)break;const t=b(r.substring(j,e.index),e);j=e.index+t}return b(r.substr(j)),P.closeAllNodes(),P.finalize(),w=P.toHTML(),{relevance:Math.floor(C),value:w,language:e,illegal:!1,emitter:P,top:S}}catch(t){if(t.message&&t.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:t.message,context:r.slice(j-100,j+100),mode:t.mode},sofar:w,relevance:0,value:X(r),emitter:P};if(o)return{illegal:!1,relevance:0,value:X(r),emitter:P,language:e,top:S,errorRaised:t};throw t}}function m(e,r){r=r||c.languages||Object.keys(t);const n=function(e){const t={relevance:0,emitter:new c.__emitter(c),value:X(e),illegal:!1,top:l};return t.emitter.addText(e),t}(e),i=r.filter(D).filter(A).map(t=>h(t,e,!1));i.unshift(n);const a=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(D(e.language).supersetOf===t.language)return 1;if(D(t.language).supersetOf===e.language)return-1}return 0}),[o,s]=a,u=o;return u.second_best=s,u}const y={"before:highlightElement":({el:e})=>{c.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:e})=>{c.useBR&&(e.value=e.value.replace(/\n/g,"
"))}},g=/^(<[^>]+>|\t)+/gm,v={"after:highlightElement":({result:e})=>{c.tabReplace&&(e.value=e.value.replace(g,e=>e.replace(/\t/g,c.tabReplace)))}};function b(e){let t=null;const n=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const r=c.languageDetectRe.exec(t);if(r){const t=D(r[1]);return t||(J(u.replace("{}",r[1])),J("Falling back to no-highlight mode for this block.",e)),t?r[1]:"no-highlight"}return t.split(/\s+/).find(e=>f(e)||D(e))}(e);if(f(n))return;P("before:highlightElement",{el:e,language:n}),t=e;const i=t.textContent,a=n?d(i,{language:n,ignoreIllegals:!0}):m(i);P("after:highlightElement",{el:e,result:a,text:i}),e.innerHTML=a.value,function(e,t,n){const i=t?r[t]:n;e.classList.add("hljs"),i&&e.classList.add(i)}(e,n,a.language),e.result={language:a.language,re:a.relevance,relavance:a.relevance},a.second_best&&(e.second_best={language:a.second_best.language,re:a.second_best.relevance,relavance:a.second_best.relevance})}const x=()=>{if(x.called)return;x.called=!0,K("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");document.querySelectorAll("pre code").forEach(b)};let E=!1;function w(){if("loading"===document.readyState)return void(E=!0);document.querySelectorAll("pre code").forEach(b)}function D(e){return e=(e||"").toLowerCase(),t[e]||t[r[e]]}function S(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach(e=>{r[e.toLowerCase()]=t})}function A(e){const t=D(e);return t&&!t.disableAutodetect}function P(e,t){const r=e;i.forEach((function(e){e[r]&&e[r](t)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){E&&w()}),!1),Object.assign(e,{highlight:d,highlightAuto:m,highlightAll:w,fixMarkup:function(e){return K("10.2.0","fixMarkup will be removed entirely in v11.0"),K("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),t=e,c.tabReplace||c.useBR?t.replace(s,e=>"\n"===e?c.useBR?"
":e:c.tabReplace?e.replace(/\t/g,c.tabReplace):e):t;var t},highlightElement:b,highlightBlock:function(e){return K("10.7.0","highlightBlock will be removed entirely in v12.0"),K("10.7.0","Please use highlightElement now."),b(e)},configure:function(e){e.useBR&&(K("10.3.0","'useBR' will be removed entirely in v11.0"),K("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),c=W(c,e)},initHighlighting:x,initHighlightingOnLoad:function(){K("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),E=!0},registerLanguage:function(r,n){let i=null;try{i=n(e)}catch(e){if(V("Language definition for '{}' could not be registered.".replace("{}",r)),!o)throw e;V(e),i=l}i.name||(i.name=r),t[r]=i,i.rawDefinition=n.bind(null,e),i.aliases&&S(i.aliases,{languageName:r})},unregisterLanguage:function(e){delete t[e];for(const t of Object.keys(r))r[t]===e&&delete r[t]},listLanguages:function(){return Object.keys(t)},getLanguage:D,registerAliases:S,requireLanguage:function(e){K("10.4.0","requireLanguage will be removed entirely in v11."),K("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const t=D(e);if(t)return t;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:A,inherit:W,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),i.push(e)},vuePlugin:L(e).VuePlugin}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString="10.7.3";for(const e in $)"object"==typeof $[e]&&n($[e]);return Object.assign(e,$),e.addPlugin(y),e.addPlugin(U),e.addPlugin(v),e}({});e.exports=G},function(e,t){var r,n,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var u,l=[],c=!1,p=-1;function f(){c&&u&&(c=!1,u.length?l=u.concat(l):p=-1,l.length&&d())}function d(){if(!c){var e=s(f);c=!0;for(var t=l.length;t;){for(u=l,l=[];++p1)for(var r=1;r=0?s.stripQuery(e.substr(t).toLowerCase()):""},t.stripQuery=function(e){let t=e.indexOf("?");return t>=0&&(e=e.substr(0,t)),e},t.getHash=function(e){let t=e.indexOf("#");return t>=0?e.substr(t):"#"},t.stripHash=function(e){let t=e.indexOf("#");return t>=0&&(e=e.substr(0,t)),e},t.isHttp=function(e){let t=s.getProtocol(e);return"http"===t||"https"===t||void 0===t&&n.browser},t.isFileSystemPath=function(e){if(n.browser)return!1;let t=s.getProtocol(e);return void 0===t||"file"===t},t.fromFileSystemPath=function(e){i&&(e=e.replace(/\\/g,"/")),e=encodeURI(e);for(let t=0;tdecodeURIComponent(e).replace(u,"/").replace(l,"~"))}}).call(this,r(16))},function(e,t,r){"use strict";const{Ono:n}=r(26),{stripHash:i,toFileSystemPath:a}=r(18),o=t.JSONParserError=class extends Error{constructor(e,t){super(),this.code="EUNKNOWN",this.message=e,this.source=t,this.path=null,n.extend(this)}get footprint(){return`${this.path}+${this.source}+${this.code}+${this.message}`}};u(o);const s=t.JSONParserErrorGroup=class e extends Error{constructor(e){super(),this.files=e,this.message=`${this.errors.length} error${this.errors.length>1?"s":""} occurred while reading '${a(e.$refs._root$Ref.path)}'`,n.extend(this)}static getParserErrors(e){const t=[];for(const r of Object.values(e.$refs._$refs))r.errors&&t.push(...r.errors);return t}get errors(){return e.getParserErrors(this.files)}};u(s);u(t.ParserError=class extends o{constructor(e,t){super(`Error parsing ${t}: ${e}`,t),this.code="EPARSER"}});u(t.UnmatchedParserError=class extends o{constructor(e){super(`Could not find parser for "${e}"`,e),this.code="EUNMATCHEDPARSER"}});u(t.ResolverError=class extends o{constructor(e,t){super(e.message||`Error reading file "${t}"`,t),this.code="ERESOLVER","code"in e&&(this.ioErrorCode=String(e.code))}});u(t.UnmatchedResolverError=class extends o{constructor(e){super(`Could not find resolver for "${e}"`,e),this.code="EUNMATCHEDRESOLVER"}});u(t.MissingPointerError=class extends o{constructor(e,t){super(`Token "${e}" does not exist.`,i(t)),this.code="EMISSINGPOINTER"}});function u(e){Object.defineProperty(e.prototype,"name",{value:e.name,enumerable:!0})}u(t.InvalidPointerError=class extends o{constructor(e,t){super(`Invalid $ref pointer "${e}". Pointers must begin with "#/"`,i(t)),this.code="EINVALIDPOINTER"}}),t.isHandledError=function(e){return e instanceof o||e instanceof s},t.normalizeError=function(e){return null===e.path&&(e.path=[]),e}},function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));const n=/\r?\n/,i=/\bono[ @]/;function a(e,t){let r=s(e.stack),n=t?t.stack:void 0;return r&&n?r+"\n\n"+n:r||n}function o(e,t,r){r?Object.defineProperty(t,"stack",{get:()=>a({stack:e.get.apply(t)},r),enumerable:!1,configurable:!0}):function(e,t){Object.defineProperty(e,"stack",{get:()=>s(t.get.apply(e)),enumerable:!1,configurable:!0})}(t,e)}function s(e){if(e){let t,r=e.split(n);for(let e=0;e0)return r.join("\n")}return e}const u=["function","symbol","undefined"],l=["constructor","prototype","__proto__"],c=Object.getPrototypeOf({});function p(){let e={},t=this;for(let r of f(t))if("string"==typeof r){let n=t[r],i=typeof n;u.includes(i)||(e[r]=n)}return e}function f(e,t=[]){let r=[];for(;e&&e!==c;)r=r.concat(Object.getOwnPropertyNames(e),Object.getOwnPropertySymbols(e)),e=Object.getPrototypeOf(e);let n=new Set(r);for(let e of t.concat(l))n.delete(e);return n}const d=["name","message","stack"];function h(e,t,r){let n=e;return function(e,t){let r=Object.getOwnPropertyDescriptor(e,"stack");!function(e){return Boolean(e&&e.configurable&&"function"==typeof e.get)}(r)?function(e){return Boolean(!e||e.writable||"function"==typeof e.set)}(r)&&(e.stack=a(e,t)):o(r,e,t)}(n,t),t&&"object"==typeof t&&function(e,t){let r=f(t,d),n=e,i=t;for(let e of r)if(void 0===n[e])try{n[e]=i[e]}catch(e){}}(n,t),n.toJSON=p,r&&"object"==typeof r&&Object.assign(n,r),n}const m=y;function y(e,t){function r(...r){let{originalError:n,props:i,message:a}=function(e,t){let r,n,i,a="";return"string"==typeof e[0]?i=e:"string"==typeof e[1]?(e[0]instanceof Error?r=e[0]:n=e[0],i=e.slice(1)):(r=e[0],n=e[1],i=e.slice(2)),i.length>0&&(a=t.format?t.format.apply(void 0,i):i.join(" ")),t.concatMessages&&r&&r.message&&(a+=(a?" \n":"")+r.message),{originalError:r,props:n,message:a}}(r,t);return h(new e(a),n,i)}return t=function(e){return{concatMessages:void 0===(e=e||{}).concatMessages||Boolean(e.concatMessages),format:void 0!==e.format&&("function"==typeof e.format&&e.format)}}(t),r[Symbol.species]=e,r}y.toJSON=function(e){return p.call(e)},y.extend=function(e,t,r){return r||t instanceof Error?h(e,t,r):t?h(e,void 0,t):h(e)}},function(e,t,r){const{getMapValueByKey:n}=r(2),i={hasBindings(){return!(!this._json.bindings||!Object.keys(this._json.bindings).length)},bindings(){return this.hasBindings()?this._json.bindings:{}},bindingProtocols(){return Object.keys(this.bindings())},hasBinding(e){return this.hasBindings()&&!!this._json.bindings[String(e)]},binding(e){return n(this._json.bindings,e)}};e.exports=i},function(e,t,r){const{createMapOfType:n,getMapValueOfType:i,mix:a}=r(2),o=r(3),s=r(74),u=r(38),l=r(40),c=r(85),p=r(17),f=r(25),d=r(4),{xParserSpecParsed:h,xParserSpecStringified:m,xParserCircle:y}=r(24),{assignNameToAnonymousMessages:g,assignNameToComponentMessages:v,assignUidToComponentSchemas:b,assignUidToParameterSchemas:x,assignIdToAnonymousSchemas:E,assignUidToComponentParameterSchemas:w}=r(88),{traverseAsyncApiDocument:D}=r(48);class S extends o{constructor(...e){super(...e),!0!==this.ext(h)&&(v(this),g(this),b(this),w(this),x(this),E(this),this.json()[String(h)]=!0)}version(){return this._json.asyncapi}info(){return new s(this._json.info)}id(){return this._json.id}hasServers(){return!!this._json.servers}servers(){return n(this._json.servers,u)}serverNames(){return this._json.servers?Object.keys(this._json.servers):[]}server(e){return i(this._json.servers,e,u)}hasDefaultContentType(){return!!this._json.defaultContentType}defaultContentType(){return this._json.defaultContentType||null}hasChannels(){return!!this._json.channels}channels(){return n(this._json.channels,l,this)}channelNames(){return this._json.channels?Object.keys(this._json.channels):[]}channel(e){return i(this._json.channels,e,l,this)}hasComponents(){return!!this._json.components}components(){return this._json.components?new c(this._json.components):null}hasMessages(){return!!this.allMessages().size}allMessages(){const e=new Map;return this.hasChannels()&&this.channelNames().forEach(t=>{const r=this.channel(t);r.hasPublish()&&r.publish().messages().forEach(t=>{e.set(t.uid(),t)}),r.hasSubscribe()&&r.subscribe().messages().forEach(t=>{e.set(t.uid(),t)})}),this.hasComponents()&&Object.values(this.components().messages()).forEach(t=>{e.set(t.uid(),t)}),e}allSchemas(){const e=new Map;return D(this,t=>{t.uid()&&e.set(t.uid(),t)}),e}hasCircular(){return!!this._json[String(y)]}traverseSchemas(e,t){D(this,e,t)}static stringify(e,t){const r={...e.json()};return r[String(m)]=!0,JSON.stringify(r,function(){const e=new Map,t=new Map;let r=null;return function(n,i){const a=e.get(this)+(Array.isArray(this)?`[${n}]`:"."+n),o=i===Object(i);o&&e.set(i,a);const s=t.get(i)||"";if(!s&&o){const e=a.replace(/undefined\.\.?/,"");t.set(i,e)}const u="["===s[0]?"$":"$.";let l=s?`$ref:${u}${s}`:i;return null===r?r=i:l===r&&(l="$ref:$"),l}}(),t)}static parse(e){let t=e;if("string"==typeof e?t=JSON.parse(e):"object"==typeof e&&(t={...t}),"object"!=typeof t||!t[String(h)])throw new Error("Cannot parse invalid AsyncAPI document");if(!t[String(m)])return new S(t);delete t[String(m)];return function e(t,r,n,i,a){let o=t,s="$ref:$";if(void 0!==r){o=t[String(r)];const e=r?"."+r:"";s=i.get(t)+(Array.isArray(t)?`[${r}]`:e)}i.set(o,s),a.set(s,o);const u=a.get(o);u&&(t[String(r)]=u);"$ref:$"!==o&&"$ref:$"!==u||(t[String(r)]=n);if(o===Object(o))for(const t in o)e(o,t,n,i,a)}(t,void 0,t,new Map,new Map),new S(t)}}e.exports=a(S,f,p,d)},function(e,t){const r=(e,t)=>(t.type=e.type.startsWith("https://github.com/asyncapi/parser-js/")?e.type:"https://github.com/asyncapi/parser-js/"+e.type,t.title=e.title,e.detail&&(t.detail=e.detail),e.validationErrors&&(t.validationErrors=e.validationErrors),e.parsedJSON&&(t.parsedJSON=e.parsedJSON),e.location&&(t.location=e.location),e.refs&&(t.refs=e.refs),t);class n extends Error{constructor(e){super(),r(e,this),this.message=e.title}toJS(){return r(this,{})}}e.exports=n},function(e,t){e.exports={xParserSpecParsed:"x-parser-spec-parsed",xParserSpecStringified:"x-parser-spec-stringified",xParserMessageName:"x-parser-message-name",xParserSchemaId:"x-parser-schema-id",xParserCircle:"x-parser-circular",xParserCircleProps:"x-parser-circular-props"}},function(e,t,r){const n=r(80),i={hasTags(){return!(!Array.isArray(this._json.tags)||!this._json.tags.length)},tags(){return this.hasTags()?this._json.tags.map(e=>new n(e)):[]},tagNames(){return this.hasTags()?this._json.tags.map(e=>e.name):[]},hasTag(e){return this.hasTags()&&this._json.tags.some(t=>t.name===e)},tag(e){const t=this.hasTags()&&this._json.tags.find(t=>t.name===e);return t?new n(t):null}};e.exports=i},function(e,t,r){"use strict";r.r(t),function(e){var n=r(96);r.d(t,"ono",(function(){return n.a}));var i=r(20);r.d(t,"Ono",(function(){return i.a}));r(107);t.default=n.a,"object"==typeof e.exports&&(e.exports=Object.assign(e.exports.default,e.exports))}.call(this,r(178)(e))},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"a",(function(){return u}));var n=r(0),i=r.n(n),a=r(29);function o(e){return"undefined"!=typeof document?document.querySelector(e):null}function s(e){return function(t,r,n){null!==(r=r||o("asyncapi"))&&Object(a.render)(i.a.createElement(e,t),r,n)}}function u(e){return function(t,r,n){null!==(r=r||o("asyncapi"))&&Object(a.hydrate)(i.a.createElement(e,t),r,n)}}},function(e,t,r){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=r(71)},function(e,t,r){const n=r(42),i=r(43),a=r(47),o=r(83);e.exports=class extends n{hasMultipleMessages(){return!!(this._json.message&&this._json.message.oneOf&&this._json.message.oneOf.length>1)||(this._json.message,!1)}traits(){const e=this._json["x-parser-original-traits"]||this._json.traits;return e?e.map(e=>new a(e)):[]}hasTraits(){return!!this._json["x-parser-original-traits"]||!!this._json.traits}messages(){return this._json.message?this._json.message.oneOf?this._json.message.oneOf.map(e=>new i(e)):[new i(this._json.message)]:[]}message(e){return this._json.message?this._json.message.oneOf?"number"!=typeof e||e>this._json.message.oneOf.length-1?null:new i(this._json.message.oneOf[+e]):new i(this._json.message):null}security(){return this._json.security?this._json.security.map(e=>new o(e)):null}}},function(e,t,r){"use strict";function n(e,t,r,n){var i=n?" !== ":" === ",a=n?" || ":" && ",o=n?"!":"",s=n?"":"!";switch(e){case"null":return t+i+"null";case"array":return o+"Array.isArray("+t+")";case"object":return"("+o+t+a+"typeof "+t+i+'"object"'+a+s+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+i+'"number"'+a+s+"("+t+" % 1)"+a+t+i+t+(r?a+o+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+i+'"'+e+'"'+(r?a+o+"isFinite("+t+")":"")+")";default:return"typeof "+t+i+'"'+e+'"'}}e.exports={copy:function(e,t){for(var r in t=t||{},e)t[r]=e[r];return t},checkDataType:n,checkDataTypes:function(e,t,r){switch(e.length){case 1:return n(e[0],t,r,!0);default:var i="",o=a(e);for(var s in o.array&&o.object&&(i=o.null?"(":"(!"+t+" || ",i+="typeof "+t+' !== "object")',delete o.null,delete o.array,delete o.object),o.number&&delete o.integer,o)i+=(i?" && ":"")+n(s,t,r,!0);return i}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var r=[],n=0;n=t)throw new Error("Cannot access property/index "+n+" levels up, current level is "+t);return r[t-n]}if(n>t)throw new Error("Cannot access data "+n+" levels up, current level is "+t);if(a="data"+(t-n||""),!i)return a}for(var s=a,l=i.split("/"),c=0;c0&&i.a.createElement("li",{className:"mb-3 mt-9"},i.a.createElement("a",{className:"text-xs uppercase text-gray-700 mt-10 mb-4 font-thin hover:text-gray-900",href:"#messages",onClick:function(){return o(!1)}},"Messages"),i.a.createElement("ul",{className:"text-sm mt-2"},Object.entries(f).map((function(e){var t=e[0],r=e[1];return i.a.createElement("li",{key:t},i.a.createElement("a",{className:"flex break-words no-underline text-gray-700 mt-2 hover:text-gray-900",href:"#message-".concat(t),onClick:function(){return o(!1)}},i.a.createElement("div",{className:"break-all inline-block"},r.uid())))})))),E=m&&Object.keys(m).length>0&&i.a.createElement("li",{className:"mb-3 mt-9"},i.a.createElement("a",{className:"text-xs uppercase text-gray-700 mt-10 mb-4 font-thin hover:text-gray-900",href:"#schemas",onClick:function(){return o(!1)}},"Schemas"),i.a.createElement("ul",{className:"text-sm mt-2"},Object.keys(m).map((function(e){return i.a.createElement("li",{key:e},i.a.createElement("a",{className:"flex break-words no-underline text-gray-700 mt-2 hover:text-gray-900",href:"#schema-".concat(e),onClick:function(){return o(!1)}},i.a.createElement("div",{className:"break-all inline-block"},e)))}))));return i.a.createElement(h.Provider,{value:{setShowSidebar:o}},i.a.createElement("div",{className:"burger-menu rounded-full h-16 w-16 bg-white fixed bottom-16 right-8 flex items-center justify-center z-30 cursor-pointer shadow-md bg-teal-500",onClick:function(){return o((function(e){return!e}))},"data-lol":a},i.a.createElement("svg",{viewBox:"0 0 100 70",width:"40",height:"30",className:"fill-current text-gray-200"},i.a.createElement("rect",{width:"100",height:"10"}),i.a.createElement("rect",{y:"30",width:"100",height:"10"}),i.a.createElement("rect",{y:"60",width:"100",height:"10"}))),i.a.createElement("div",{className:"".concat(a?"block fixed w-full":"hidden"," sidebar relative w-64 max-h-screen h-full bg-gray-200 shadow z-20")},i.a.createElement("div",{className:"".concat(a?"w-full":""," block fixed max-h-screen h-full font-sans px-4 pt-8 pb-16 overflow-y-auto bg-gray-200")},i.a.createElement("div",{className:"sidebar--content"},i.a.createElement("div",null,c?i.a.createElement("img",{src:c,alt:"".concat(l.title()," logo, ").concat(l.version()," version")}):i.a.createElement("h1",{className:"text-2xl font-light"},l.title()," ",l.version())),i.a.createElement("ul",{className:"text-sm mt-10 relative"},i.a.createElement("li",{className:"mb-3"},i.a.createElement("a",{className:"text-gray-700 no-underline hover:text-gray-900",href:"#introduction",onClick:function(){return o(!1)}},"Introduction")),u.hasServers()&&i.a.createElement("li",{className:"mb-3"},i.a.createElement("a",{className:"text-gray-700 no-underline hover:text-gray-900",href:"#servers",onClick:function(){return o(!1)}},"Servers")),u.hasChannels()&&i.a.createElement(i.a.Fragment,null,i.a.createElement("li",{className:"mb-3 mt-9"},i.a.createElement("a",{className:"text-xs uppercase text-gray-700 mt-10 mb-4 font-thin hover:text-gray-900",href:"#operations",onClick:function(){return o(!1)}},"Operations"),i.a.createElement(b,null)),x,E))))))},y=function(){var e=d().channels(),t=[];return Object.entries(e).forEach((function(e){var r=e[0],n=e[1];n.hasPublish()&&t.push(i.a.createElement(x,{channelName:r,key:"pub-".concat(r)})),n.hasSubscribe()&&t.push(i.a.createElement(E,{channelName:r,key:"sub-".concat(r)}))})),i.a.createElement("ul",{className:"text-sm mt-2"},t)},g=function(){var e=d(),t=e.channels(),r=e.tags(),n=function(e){var r=[];return Object.entries(t).forEach((function(t){var n=t[0],o=t[1];o.hasPublish()&&a.a.containTags(o.publish(),e)&&r.push(i.a.createElement(x,{channelName:n,key:"pub-".concat(n)})),o.hasSubscribe()&&a.a.containTags(o.subscribe(),e)&&r.push(i.a.createElement(E,{channelName:n,key:"sub-".concat(n)}))})),r},o=[];return Object.entries(t).forEach((function(e){var t=e[0],n=e[1];!n.hasPublish()||n.publish().hasTags()&&a.a.containTags(n.publish(),r)||o.push(i.a.createElement(x,{channelName:t,key:"pub-".concat(t)})),!n.hasSubscribe()||n.subscribe().hasTags()&&a.a.containTags(n.subscribe(),r)||o.push(i.a.createElement(E,{channelName:t,key:"sub-".concat(t)}))})),i.a.createElement("div",null,i.a.createElement("ul",null,r&&r.map((function(e){return n(e).length>0&&i.a.createElement("li",{key:e.name()},i.a.createElement(b,{tagName:e.name()},n(e)))})),o.length>0&&i.a.createElement("li",null,i.a.createElement(b,{tagName:"Untagged"},o))))},v=function(){var e=d(),t=e.channels(),r=a.a.operationsTags(e),n=function(e){var r=[];return Object.entries(t).forEach((function(t){var n=t[0],o=t[1];o.hasPublish()&&a.a.containTags(o.publish(),e)&&r.push(i.a.createElement(x,{channelName:n,key:"pub-".concat(n)})),o.hasSubscribe()&&a.a.containTags(o.subscribe(),e)&&r.push(i.a.createElement(E,{channelName:n,key:"sub-".concat(n)}))})),r},o=[];return Object.entries(t).forEach((function(e){var t=e[0],n=e[1];!n.hasPublish()||n.publish().hasTags()&&a.a.containTags(n.publish(),r)||o.push(i.a.createElement(x,{channelName:t,key:"pub-".concat(t)})),!n.hasSubscribe()||n.subscribe().hasTags()&&a.a.containTags(n.subscribe(),r)||o.push(i.a.createElement(E,{channelName:t,key:"sub-".concat(t)}))})),i.a.createElement("div",null,i.a.createElement("ul",null,r&&r.map((function(e){return n(e).length>0&&i.a.createElement("li",{key:e.name()},i.a.createElement(b,{tagName:e.name()},n(e)))})),o.length>0&&i.a.createElement("li",null,i.a.createElement(b,{tagName:"Untagged"},o))))},b=function(e){var t=e.tagName,r=e.children,a=Object(n.useState)(!1),o=a[0],s=a[1];return i.a.createElement("div",null,i.a.createElement(p,{onClick:function(){return s((function(e){return!e}))},chevronProps:{className:o?"-rotate-180":"-rotate-90"}},i.a.createElement("span",{className:"text-sm inline-block mt-1 font-extralight"},t)),i.a.createElement("ul",{className:"".concat(o?"block":"hidden"," text-sm mt-2 font-light")},r))},x=function(e){var t=e.channelName,r=Object(n.useContext)(h).setShowSidebar;return i.a.createElement("li",null,i.a.createElement("a",{className:"flex no-underline text-gray-700 mb-2 hover:text-gray-900",href:"#operation-publish-".concat(t),onClick:function(){return r(!1)}},i.a.createElement("span",{className:"bg-blue-600 font-bold h-6 no-underline text-white uppercase p-1 mr-2 rounded text-xs",title:"Publish"},"Pub"),i.a.createElement("span",{className:"break-all inline-block"},t)))},E=function(e){var t=e.channelName,r=Object(n.useContext)(h).setShowSidebar;return i.a.createElement("li",null,i.a.createElement("a",{className:"flex no-underline text-gray-700 mb-2 hover:text-gray-900",href:"#operation-subscribe-".concat(t),onClick:function(){return r(!1)}},i.a.createElement("span",{className:"bg-green-600 font-bold h-6 no-underline text-white uppercase p-1 mr-2 rounded text-xs",title:"Subscribe"},"SUB"),i.a.createElement("span",{className:"break-all inline-block"},t)))},w=function(e){var t=e.href,r=e.title,n=e.className,a=e.children;return i.a.createElement("a",{href:t,title:r,className:n,target:"_blank",rel:"nofollow noopener noreferrer"},a)},D=r(56),S=r(57),A=r(15),P=r.n(A),k=r(58),C=r.n(k),j=r(59),T=r.n(j),$=r(60),F=r.n($);P.a.registerLanguage("json",C.a),P.a.registerLanguage("yaml",T.a),P.a.registerLanguage("bash",F.a);var _={langPrefix:"hljs language-",highlight:function(e,t){if(!P.a.getLanguage(t))return e;try{return P.a.highlight(e,{language:t}).value}catch(t){return e}}};var O=function(e){var t,r=e.children;return r?"string"!=typeof r?i.a.createElement(i.a.Fragment,null,r):i.a.createElement("div",{className:"prose max-w-none text-sm",dangerouslySetInnerHTML:{__html:Object(D.sanitize)((t=r,Object(S.marked)(t,_)))}}):null},I=function(e){var t=e.tag,r="#".concat(t.name()),n=t.description()||"",a=t.externalDocs(),o=i.a.createElement("div",{title:n,className:"border border-solid border-blue-300 hover:bg-blue-300 hover:text-blue-600 text-blue-500 font-bold no-underline text-xs rounded px-3 py-1"},i.a.createElement("span",{className:a?"underline":""},r));return a?i.a.createElement(w,{href:a.url(),title:n},o):o},N=function(e){var t=e.tags;return t&&t.length?i.a.createElement("ul",{className:"flex flex-wrap leading-normal"},t.map((function(e){return i.a.createElement("li",{className:"inline-block mt-2 mr-2",key:e.name()},i.a.createElement(I,{tag:e}))}))):null},R=r(1),M=function(){var e=d(),t=e.info();if(!t)return null;var r=e.id(),n=e.externalDocs(),a=t.license(),o=t.termsOfService(),s=e.defaultContentType(),u=t.contact(),l=a||o||s||u||n;return i.a.createElement("div",{className:"panel-item"},i.a.createElement("div",{className:"panel-item--center px-8 text-left",id:"introduction"},i.a.createElement("div",{className:"text-4xl"},t.title()," ",t.version()),l&&i.a.createElement("ul",{className:"flex flex-wrap mt-2 leading-normal"},a&&i.a.createElement("li",{className:"inline-block mt-2 mr-2"},a.url()?i.a.createElement(w,{className:"border border-solid border-orange-300 hover:bg-orange-300 hover:text-orange-600 text-orange-500 font-bold no-underline text-xs uppercase rounded px-3 py-1",href:a.url()},i.a.createElement("span",null,a.name())):i.a.createElement("span",{className:"border border-solid border-orange-300 hover:bg-orange-300 hover:text-orange-600 text-orange-500 font-bold no-underline text-xs uppercase rounded px-3 py-1"},a.name())),o&&i.a.createElement("li",{className:"inline-block mt-2 mr-2"},i.a.createElement(w,{className:"border border-solid border-orange-300 hover:bg-orange-300 hover:text-orange-600 text-orange-500 font-bold no-underline text-xs uppercase rounded px-3 py-1",href:o},i.a.createElement("span",null,R.h))),s&&i.a.createElement("li",{className:"inline-block mt-2 mr-2"},i.a.createElement(w,{className:"border border-solid border-orange-300 hover:bg-orange-300 hover:text-orange-600 text-orange-500 font-bold no-underline text-xs uppercase rounded px-3 py-1",href:"".concat(R.a,"/").concat(s)},i.a.createElement("span",null,s))),n&&i.a.createElement("li",{className:"inline-block mt-2 mr-2"},i.a.createElement(w,{className:"border border-solid border-orange-300 hover:bg-orange-300 hover:text-orange-600 text-orange-500 font-bold no-underline text-xs uppercase rounded px-3 py-1",href:n.url()},i.a.createElement("span",null,R.c))),u&&i.a.createElement(i.a.Fragment,null,u.url()&&i.a.createElement("li",{className:"inline-block mt-2 mr-2"},i.a.createElement(w,{className:"border border-solid border-purple-300 hover:bg-purple-300 hover:text-purple-600 text-purple-500 font-bold no-underline text-xs uppercase rounded px-3 py-1",href:u.url()},i.a.createElement("span",null,u.name()||R.i))),u.email()&&i.a.createElement("li",{className:"inline-block mt-2 mr-2"},i.a.createElement(w,{className:"border border-solid border-purple-300 hover:bg-purple-300 hover:text-purple-600 text-purple-500 font-bold no-underline text-xs uppercase rounded px-3 py-1",href:"mailto:".concat(u.email())},i.a.createElement("span",null,u.email())))),r&&i.a.createElement("li",{className:"inline-block mt-2 mr-2"},i.a.createElement("span",{className:"border border-solid border-blue-300 hover:bg-blue-300 hover:text-blue-600 text-blue-500 font-bold no-underline text-xs uppercase rounded px-3 py-1"},"ID: ",r))),t.hasDescription()&&i.a.createElement("div",{className:"mt-4"},i.a.createElement(O,null,t.description())),e.hasTags()&&i.a.createElement("div",{className:"mt-4"},i.a.createElement(N,{tags:e.tags()}))),i.a.createElement("div",{className:"panel-item--right"}))},B=function(){function e(){}return e.securityType=function(e){switch(e){case"apiKey":return"API key";case"oauth2":return"OAuth2";case"openIdConnect":return"Open ID";case"http":return"HTTP";case"userPassword":return"User/Password";case"X509":return"X509:";case"symmetricEncryption":return"Symmetric Encription";case"asymmetricEncryption":return"Asymmetric Encription";case"httpApiKey":return"HTTP API key";case"scramSha256":return"ScramSha256";case"scramSha512":return"ScramSha512";case"gssapi":return"GSSAPI";default:return"API key"}},e.flowName=function(e){switch(e){case"implicit":return"Implicit";case"password":return"Password";case"clientCredentials":return"Client credentials";case"authorizationCode":return"Authorization Code";default:return"Implicit"}},e.getKafkaSecurity=function(e,t){var r,n;if(r="kafka"===e?t?"SASL_PLAINTEXT":"PLAINTEXT":t?"SASL_SSL":"SSL",t)switch(t.type()){case"plain":n="PLAIN";break;case"scramSha256":n="SCRAM-SHA-256";break;case"scramSha512":n="SCRAM-SHA-512";break;case"oauth2":n="OAUTHBEARER";break;case"gssapi":n="GSSAPI";break;case"X509":r="SSL"}return{securityProtocol:r,saslMechanism:n}},e}(),L=function(e){var t,r=e.security,n=void 0===r?[]:r,a=e.protocol,o=void 0===a?"":a,s=e.header,u=void 0===s?"Security":s,l=d(),c=l.hasComponents()&&l.components().securitySchemes();if(n&&n.length&&c&&Object.keys(c).length){var p=n.map((function(e){var t=e.json(),r=Object.keys(t)[0],n=c[String(r)],a=t[String(r)];return n?i.a.createElement(q,{protocol:o,securitySchema:n,requiredScopes:a,key:n.type()}):null})).filter(Boolean);t=i.a.createElement("ul",null,p.map((function(e,t){return i.a.createElement("li",{className:"mt-2",key:t},e)})))}else"kafka"!==o&&"kafka-secure"!==o||(t=i.a.createElement(q,{protocol:o,securitySchema:null}));return t?i.a.createElement("div",{className:"text-sm mt-4"},i.a.createElement("h5",{className:"text-gray-800"},u,":"),t):null};var U,q=function(e){var t,r=e.securitySchema,n=e.protocol,a=function(e,t){void 0===t&&(t=[]);var r=[];return e&&(e.name()&&r.push(i.a.createElement("span",null,"Name: ",e.name())),e.in()&&r.push(i.a.createElement("span",null,"In: ",e.in())),e.scheme()&&r.push(i.a.createElement("span",null,"Scheme: ",e.scheme())),e.bearerFormat()&&r.push(i.a.createElement("span",null,"Bearer format: ",e.bearerFormat())),e.openIdConnectUrl()&&r.push(i.a.createElement(w,{href:e.openIdConnectUrl(),className:"underline"},"Connect URL")),t.length&&r.push(i.a.createElement("span",null,"Required scopes: ",t.join(", ")))),r}(r,e.requiredScopes);if(["kafka","kafka-secure"].includes(n)){var o=B.getKafkaSecurity(n,r),s=o.securityProtocol,u=o.saslMechanism;t=i.a.createElement("div",{className:"px-4 py-2 ml-2 mb-2 border border-gray-400 bg-gray-100 rounded"},s&&i.a.createElement("div",{className:"mt-1"},i.a.createElement("span",{className:"text-xs font-bold text-gray-600 mt-1 mr-1 uppercase"},"security.protocol:"),i.a.createElement("span",{className:"inline-block font-bold no-underline bg-indigo-400 text-white text-xs rounded py-0 px-1 ml-1"},s)),u&&i.a.createElement("div",{className:"mt-1"},i.a.createElement("span",{className:"text-xs font-bold text-gray-600 mt-1 mr-1 uppercase"},"sasl.mechanism:"),i.a.createElement("span",{className:"inline-block font-bold no-underline bg-indigo-400 text-white text-xs rounded py-0 px-1 ml-1"},u)))}var l=r&&r.flows(),c=l&&Object.entries(l).map((function(e){var t=e[0],r=e[1],n=r.authorizationUrl(),a=r.tokenUrl(),o=r.refreshUrl(),s=r.scopes();return i.a.createElement("div",{className:"px-4 py-2 ml-2 mb-2 border border-gray-400 bg-gray-100 rounded",key:t},i.a.createElement("div",null,i.a.createElement("span",{className:"text-xs font-bold text-gray-600 mt-1 mr-1 uppercase"},"Flow:"),i.a.createElement("span",{className:"text-xs font-bold text-gray-600 mt-1 mr-1 uppercase"},B.flowName(t))),n&&i.a.createElement("div",{className:"mt-1"},i.a.createElement("span",{className:"text-xs font-bold text-gray-600 mt-1 mr-1 uppercase"},"Auth URL:"),i.a.createElement(w,{href:n,className:"underline"},n)),a&&i.a.createElement("div",{className:"mt-1"},i.a.createElement("span",{className:"text-xs font-bold text-gray-600 mt-1 mr-1 uppercase"},"Token URL:"),i.a.createElement(w,{href:a,className:"underline"},a)),o&&i.a.createElement("div",{className:"mt-1"},i.a.createElement("span",{className:"text-xs font-bold text-gray-600 mt-1 mr-1 uppercase"},"Refresh URL:"),i.a.createElement(w,{href:o,className:"underline"},o)),s&&i.a.createElement("div",{className:"mt-1"},i.a.createElement("span",{className:"text-xs font-bold text-gray-600 mt-1 mr-1 uppercase"},"Scopes:"),i.a.createElement("ul",{className:"inline-block"},s&&Object.entries(s).map((function(e){var t=e[0],r=e[1];return i.a.createElement("li",{className:"inline-block font-bold no-underline bg-indigo-400 text-white text-xs rounded py-0 px-1 ml-1",title:r,key:t},t)})))))}));return i.a.createElement("div",null,r&&a&&i.a.createElement("div",null,i.a.createElement("span",null,B.securityType(r.type()),a.length>0&&i.a.createElement("ul",{className:"inline-block ml-2"},a.map((function(e,t){return i.a.createElement("li",{className:"inline-block font-bold no-underline bg-blue-400 text-white text-xs uppercase rounded px-2 py-0 ml-1",key:t},e)}))))),r&&r.hasDescription()&&i.a.createElement("div",null,i.a.createElement(O,null,r.description())),c&&c.length>0&&i.a.createElement("ul",{className:"my-2"},i.a.createElement("li",null,c)),t&&i.a.createElement("div",null,t))},z=r(10),H=r.n(z);!function(e){e.ANY="any",e.RESTRICTED_ANY="restricted any",e.NEVER="never",e.UNKNOWN="unknown"}(U||(U={}));var V=["string","number","integer","boolean","array","object","null"],J=Object.keys({maxLength:"string",minLength:"string",pattern:"string",contentMediaType:"string",contentEncoding:"string",multipleOf:"number",maximum:"number",exclusiveMaximum:"number",minimum:"number",exclusiveMinimum:"number",items:"array",maxItems:"array",minItems:"array",uniqueItems:"array",contains:"array",additionalItems:"array",maxProperties:"object",minProperties:"object",required:"object",properties:"object",patternProperties:"object",propertyNames:"object",dependencies:"object",additionalProperties:"object"}),K=function(){function e(){}return e.toSchemaType=function(e){var t=this;if(!e||"function"!=typeof e.json)return U.UNKNOWN;if(e.isBooleanSchema())return!0===e.json()?U.ANY:U.NEVER;if(0===Object.keys(e.json()).length)return U.ANY;var r=e.not();if(r&&this.inferType(r)===U.ANY)return U.NEVER;var n=this.inferType(e);if(Array.isArray(n))return n.map((function(r){return t.toType(r,e)})).join(" | ");n=this.toType(n,e);var i=this.toCombinedType(e);return n&&i?"".concat(n," ").concat(i):i||n},e.prettifyValue=function(e){var t=typeof e;return"string"===t?'"'.concat(e,'"'):"number"===t||"bigint"===t||"boolean"===t?e:Array.isArray(e)?"[".concat(e.toString(),"]"):JSON.stringify(e)},e.humanizeConstraints=function(e){var t=[],r=this.humanizeNumberRangeConstraint(e.minimum(),e.exclusiveMinimum(),e.maximum(),e.exclusiveMaximum());void 0!==r&&t.push(r);var n=this.humanizeMultipleOfConstraint(e.multipleOf());void 0!==n&&t.push(n);var i=this.humanizeRangeConstraint("characters",e.minLength(),e.maxLength());void 0!==i&&t.push(i);var a=e.uniqueItems(),o=this.humanizeRangeConstraint(a?"unique items":"items",e.minItems(),e.maxItems());void 0!==o&&t.push(o);var s=this.humanizeRangeConstraint("properties",e.minProperties(),e.maxProperties());return void 0!==s&&t.push(s),t},e.isExpandable=function(e){var t=this.inferType(e);if((t=Array.isArray(t)?t:[t]).includes("object")||t.includes("array"))return!0;if(e.oneOf()||e.anyOf()||e.allOf()||Object.keys(e.properties()).length||e.items()||e.not()||e.if()||e.then()||e.else())return!0;var r=this.getCustomExtensions(e);return!(!r||!Object.keys(r).length)},e.serverVariablesToSchema=function(e){var t;if(e&&Object.keys(e).length){var r=((t={type:"object",properties:Object.entries(e).reduce((function(e,t){var r=t[0],n=t[1];return e[r]=Object.assign({},n.json()||{}),e[r].type="string",e}),{}),required:Object.keys(e)})[this.extRenderType]=!1,t[this.extRenderAdditionalInfo]=!1,t);return new H.a(r)}},e.parametersToSchema=function(e){var t,r=this;if(e&&Object.keys(e).length){var n=((t={type:"object",properties:Object.entries(e).reduce((function(e,t){var n=t[0],i=t[1],a=i.schema();return e[n]=Object.assign({},a?a.json():{}),e[n].description=i.description()||e[n].description,e[n][r.extParameterLocation]=i.location(),e}),{}),required:Object.keys(e)})[this.extRenderType]=!1,t[this.extRenderAdditionalInfo]=!1,t);return new H.a(n)}},e.jsonToSchema=function(e){var t=this.jsonFieldToSchema(e);return new H.a(t)},e.getCustomExtensions=function(e){if(e&&"function"==typeof e.extensions)return Object.entries(e.extensions()||{}).reduce((function(e,t){var r=t[0],n=t[1];return r.startsWith("x-parser-")||r.startsWith("x-schema-private-")||(e[r]=n),e}),{})},e.getDependentRequired=function(e,t){var r=[],n=t.dependencies();if(n){for(var i=0,a=Object.entries(n);i")}return e},e.toItemsType=function(e,t){var r=this,n=e.map((function(e){return r.toSchemaType(e)})).join(", "),i=t.additionalItems();if(void 0===i||i.json()){var a=void 0===i||!0===i.json()?U.ANY:this.toSchemaType(i);return"tuple<".concat(n||U.UNKNOWN,", ...optional<").concat(a,">>")}return"tuple<".concat(n||U.UNKNOWN,">")},e.toCombinedType=function(e){return e.oneOf()?"oneOf":e.anyOf()?"anyOf":e.allOf()?"allOf":void 0},e.inferType=function(e){var t=e.type();if(void 0!==t)return Array.isArray(t)?(t.includes("integer")&&t.includes("number")&&(t=t.filter((function(e){return"integer"!==e}))),1===t.length?t[0]:t):t;var r=e.const();if(void 0!==r)return typeof r;var n=e.enum();if(Array.isArray(n)&&n.length){var i=Array.from(new Set(n.map((function(e){return typeof e}))));return 1===i.length?i[0]:i}var a=Object.keys(e.json()||{})||[];return!0===J.some((function(e){return a.includes(e)}))?U.RESTRICTED_ANY:this.toCombinedType(e)?"":U.ANY},e.humanizeNumberRangeConstraint=function(e,t,r,n){var i,a=void 0!==t,o=void 0!==e||a,s=void 0!==n,u=void 0!==r||s;return o&&u?(i=a?"( ":"[ ",i+=a?t:e,i+=" .. ",i+=s?n:r,i+=s?" )":" ]"):o?(i=a?"> ":">= ",i+=a?t:e):u&&(i=s?"< ":"<= ",i+=s?n:r),i},e.humanizeMultipleOfConstraint=function(e){if(void 0!==e){var t=e.toString(10);return/^0\.0*1$/.test(t)?"decimal places <= ".concat(t.split(".")[1].length):"multiple of ".concat(t)}},e.humanizeRangeConstraint=function(e,t,r){var n;return void 0!==t&&void 0!==r?n=t===r?"".concat(t," ").concat(e):"[ ".concat(t," .. ").concat(r," ] ").concat(e):void 0!==r?n="<= ".concat(r," ").concat(e):void 0!==t&&(n=1===t?"non-empty":">= ".concat(t," ").concat(e)),n},e.jsonFieldToSchema=function(e){var t,r,n,i,a=this;return null==e?((t={type:"string",const:""})[this.extRawValue]=!0,t):"object"!=typeof e?((r={type:"string",const:"function"==typeof e.toString?e.toString():e})[this.extRawValue]=!0,r):this.isJSONSchema(e)?e:Array.isArray(e)?((n={type:"array",items:e.map((function(e){return a.jsonFieldToSchema(e)}))})[this.extRenderType]=!1,n[this.extRenderAdditionalInfo]=!1,n):((i={type:"object",properties:Object.entries(e).reduce((function(e,t){var r=t[0],n=t[1];return e[r]=a.jsonFieldToSchema(n),e}),{})})[this.extRenderType]=!1,i[this.extRenderAdditionalInfo]=!1,i)},e.isJSONSchema=function(e){return!(!e||"object"!=typeof e||!(V.includes(e.type)||Array.isArray(e.type)&&e.type.some((function(e){return!V.includes(e)}))))},e.extRenderType="x-schema-private-render-type",e.extRenderAdditionalInfo="x-schema-private-render-additional-info",e.extRawValue="x-schema-private-raw-value",e.extParameterLocation="x-schema-private-parameter-location",e}(),X=function(e){var t=e.name,r=void 0===t?"Extensions":t,n=e.item,a=K.getCustomExtensions(n);if(!a||!Object.keys(a).length)return null;var o=K.jsonToSchema(a);return o&&i.a.createElement("div",{className:"mt-2"},i.a.createElement(Y,{schemaName:r,schema:o,onlyTitle:!0}))},W=i.a.createContext({reverse:!1}),Y=function(e){var t=e.schemaName,r=e.schema,a=e.required,o=void 0!==a&&a,s=e.isPatternProperty,u=void 0!==s&&s,l=e.isProperty,c=void 0!==l&&l,f=e.isCircular,d=void 0!==f&&f,h=e.dependentRequired,m=e.expanded,y=void 0!==m&&m,g=e.onlyTitle,v=void 0!==g&&g,b=Object(n.useContext)(W).reverse,x=Object(n.useState)(y),E=x[0],D=x[1];if(!r||"string"==typeof t&&((null==t?void 0:t.startsWith("x-parser-"))||(null==t?void 0:t.startsWith("x-schema-private-"))))return null;var S=K.getDependentSchemas(r),A=K.humanizeConstraints(r),P=r.externalDocs(),k=!1!==r.ext(K.extRenderType),C=!0===r.ext(K.extRawValue),j=r.ext(K.extParameterLocation),T=K.isExpandable(r)||S,$=K.toSchemaType(r);d=d||r.isCircular()||r.ext("x-parser-circular")||!1;var F=r.uid(),_=r.items();_&&!Array.isArray(_)?(d=d||_.isCircular()||_.ext("x-parser-circular")||!1,F=_.uid(),d&&"function"==typeof _.circularSchema&&($=K.toSchemaType(_.circularSchema()))):d&&"function"==typeof r.circularSchema&&($=K.toSchemaType(r.circularSchema()));var I=c?"italic":"",N="string"==typeof t?i.a.createElement("span",{className:"break-words text-sm ".concat(I)},t):t;return i.a.createElement(W.Provider,{value:{reverse:!b}},i.a.createElement("div",null,i.a.createElement("div",{className:"flex py-2"},i.a.createElement("div",{className:"".concat(v?"":"min-w-1/4"," mr-2")},T&&!d?i.a.createElement(p,{onClick:function(){return D((function(e){return!e}))},chevronProps:{className:E?"-rotate-180":"-rotate-90"}},N):i.a.createElement("span",{className:"break-words text-sm ".concat(c?"italic":"")},t),u&&i.a.createElement("div",{className:"text-gray-500 text-xs italic"},"(pattern property)"),o&&i.a.createElement("div",{className:"text-red-600 text-xs"},"required"),h&&i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"text-gray-500 text-xs"},"required when defined:"),i.a.createElement("div",{className:"text-red-600 text-xs"},h.join(", "))),r.deprecated()&&i.a.createElement("div",{className:"text-red-600 text-xs"},"deprecated"),r.writeOnly()&&i.a.createElement("div",{className:"text-gray-500 text-xs"},"write-only"),r.readOnly()&&i.a.createElement("div",{className:"text-gray-500 text-xs"},"read-only")),C?i.a.createElement("div",null,i.a.createElement("div",{className:"text-sm"},r.const())):i.a.createElement("div",null,i.a.createElement("div",null,k&&i.a.createElement("div",{className:"capitalize text-sm text-teal-500 font-bold inline-block mr-2"},d?"".concat($," [CIRCULAR]"):$),i.a.createElement("div",{className:"inline-block"},r.format()&&i.a.createElement("span",{className:"bg-yellow-600 font-bold no-underline text-white rounded lowercase mr-2 p-1 text-xs"},"format: ",r.format()),void 0!==r.pattern()&&i.a.createElement("span",{className:"bg-yellow-600 font-bold no-underline text-white rounded mr-2 p-1 text-xs"},"must match: ",r.pattern()),void 0!==r.contentMediaType()&&i.a.createElement("span",{className:"bg-yellow-600 font-bold no-underline text-white rounded lowercase mr-2 p-1 text-xs"},"media type: ",r.contentMediaType()),void 0!==r.contentEncoding()&&i.a.createElement("span",{className:"bg-yellow-600 font-bold no-underline text-white rounded lowercase mr-2 p-1 text-xs"},"encoding: ",r.contentEncoding()),!!A.length&&A.map((function(e){return i.a.createElement("span",{className:"bg-purple-600 font-bold no-underline text-white rounded lowercase mr-2 p-1 text-xs",key:e},e)})),F&&!F.startsWith("e.length?e.repeat(Math.trunc(t/e.length)+1).substring(0,t):e}function ce(...e){const t=e=>e&&"object"==typeof e;return e.reduce((e,r)=>(Object.keys(r).forEach(n=>{const i=e[n],a=r[n];t(i)&&t(a)?e[n]=ce(i,a):e[n]=a}),e),Array.isArray(e[e.length-1])?[]:{})}function pe(e){return{value:"object"===e?{}:"array"===e?[]:void 0}}function fe(e,t){t&&e.pop()}const de={multipleOf:"number",maximum:"number",exclusiveMaximum:"number",minimum:"number",exclusiveMinimum:"number",maxLength:"string",minLength:"string",pattern:"string",items:"array",maxItems:"array",minItems:"array",uniqueItems:"array",additionalItems:"array",maxProperties:"object",minProperties:"object",required:"object",additionalProperties:"object",properties:"object",patternProperties:"object",dependencies:"object"};function he(e){if(void 0!==e.type)return Array.isArray(e.type)?0===e.type.length?null:e.type[0]:e.type;const t=Object.keys(de);for(var r=0;rt.maxSampleDepth)return fe(ve,n),pe(he(e));if(e.$ref){if(!r)throw new Error("Your schema contains $ref. You must provide full specification in the third parameter.");let i=decodeURIComponent(e.$ref);i.startsWith("#")&&(i=i.substring(1));const a=ye.a.get(r,i);let o;if(!0!==ge[i])ge[i]=!0,o=Ee(a,t,r,n),ge[i]=!1;else{o=pe(he(a))}return fe(ve,n),o}if(void 0!==e.example)return fe(ve,n),{value:e.example,readOnly:e.readOnly,writeOnly:e.writeOnly,type:e.type};if(void 0!==e.allOf)return fe(ve,n),xe(e)||function(e,t,r,n,i){let a=Ee(e,r,n);const o=[];for(let e of t){const{type:t,readOnly:s,writeOnly:u,value:l}=Ee({type:a.type,...e},r,n,i);a.type&&t&&t!==a.type&&(console.warn("allOf: schemas with different types can't be merged"),a.type=t),a.type=a.type||t,a.readOnly=a.readOnly||s,a.writeOnly=a.writeOnly||u,null!=l&&o.push(l)}if("object"===a.type)return a.value=ce(a.value||{},...o.filter(e=>"object"==typeof e)),a;{"array"===a.type&&(r.quiet||console.warn('OpenAPI Sampler: found allOf with "array" type. Result may be incorrect'));const e=o[o.length-1];return a.value=null!=e?e:a.value,a}}({...e,allOf:void 0},e.allOf,t,r,n);if(e.oneOf&&e.oneOf.length){e.anyOf&&(t.quiet||console.warn("oneOf and anyOf are not supported on the same level. Skipping anyOf")),fe(ve,n);const i=Object.assign({readOnly:e.readOnly,writeOnly:e.writeOnly},e.oneOf[0]);return xe(e)||Ee(i,t,r,n)}if(e.anyOf&&e.anyOf.length)return fe(ve,n),xe(e)||Ee(e.anyOf[0],t,r,n);if(e.if&&e.then)return fe(ve,n),xe(e)||Ee(ce(e.if,e.then),t,r,n);let i=be(e),a=null;if(void 0===i){i=null,a=e.type,Array.isArray(a)&&e.type.length>0&&(a=e.type[0]),a||(a=he(e));let o=Pe[a];o&&(i=o(e,t,r,n))}return fe(ve,n),{value:i,readOnly:e.readOnly,writeOnly:e.writeOnly,type:a}}function we(e){let t=0;if("boolean"==typeof e.exclusiveMinimum||"boolean"==typeof e.exclusiveMaximum){if(e.maximum&&e.minimum)return t=e.exclusiveMinimum?Math.floor(e.minimum)+1:e.minimum,(e.exclusiveMaximum&&t>=e.maximum||!e.exclusiveMaximum&&t>e.maximum)&&(t=(e.maximum+e.minimum)/2),t;if(e.minimum)return e.exclusiveMinimum?Math.floor(e.minimum)+1:e.minimum;if(e.maximum)return e.exclusiveMaximum?e.maximum>0?0:Math.floor(e.maximum)-1:e.maximum>0?0:e.maximum}else{if(e.minimum)return e.minimum;e.exclusiveMinimum?(t=Math.floor(e.exclusiveMinimum)+1,t===e.exclusiveMaximum&&(t=(t+Math.floor(e.exclusiveMaximum)-1)/2)):e.exclusiveMaximum?t=Math.floor(e.exclusiveMaximum)-1:e.maximum&&(t=e.maximum)}return t}function De({min:e,max:t,omitTime:r,omitDate:n}){let i=function(e,t,r,n){var i=r?"":e.getUTCFullYear()+"-"+ue(e.getUTCMonth()+1)+"-"+ue(e.getUTCDate());return t||(i+="T"+ue(e.getUTCHours())+":"+ue(e.getUTCMinutes())+":"+ue(e.getUTCSeconds())+(n?"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5):"")+"Z"),i}(new Date("2019-08-24T14:15:22.123Z"),r,n,!1);return i.lengtht&&console.warn(`Using maxLength = ${t} is incorrect with format "date-time"`),i}function Se(e,t){let r=le("string",e);return t&&r.length>t&&(r=r.substring(0,t)),r}const Ae={email:function(){return"user@example.com"},"idn-email":function(){return"пошта@укр.нет"},password:function(e,t){let r="pa$$word";return e>r.length&&(r+="_",r+=le("qwerty!@#$%^123456",e-r.length).substring(0,e-r.length)),r},"date-time":function(e,t){return De({min:e,max:t,omitTime:!1,omitDate:!1})},date:function(e,t){return De({min:e,max:t,omitTime:!0,omitDate:!1})},time:function(e,t){return De({min:e,max:t,omitTime:!1,omitDate:!0}).slice(1)},ipv4:function(){return"192.168.0.1"},ipv6:function(){return"2001:0db8:85a3:0000:0000:8a2e:0370:7334"},hostname:function(){return"example.com"},"idn-hostname":function(){return"приклад.укр"},iri:function(){return"http://example.com"},"iri-reference":function(){return"../словник"},uri:function(){return"http://example.com"},"uri-reference":function(){return"../dictionary"},"uri-template":function(){return"http://example.com/{endpoint}"},uuid:function(e,t,r){return s=function(e){var t=0;if(0==e.length)return t;for(var r=0;r>>5)|0;return n=i^((a|=0)<<17|a>>>15),i=a+(o|=0)|0,a=o+e|0,((o=n+e|0)>>>0)/4294967296},"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{var t=16*u()%16|0;return("x"==e?t:3&t|8).toString(16)});var n,i,a,o,s,u},default:Se,"json-pointer":function(){return"/json/pointer"},"relative-json-pointer":function(){return"1/relative/json/pointer"},regex:function(){return"/regex/"}};var Pe={};const ke={skipReadOnly:!1,maxSampleDepth:15};function Ce(e,t,r){let n=Object.assign({},ke,t);return ge={},ve=[],Ee(e,n,r).value}function je(e,t){Pe[e]=t}je("array",(function(e,t={},r,n){const i=n&&n.depth||1;let a=Math.min(null!=e.maxItems?e.maxItems:1/0,e.minItems||1);const o=e.items||e.contains;Array.isArray(o)&&(a=Math.max(a,o.length));let s=[];if(!o)return s;for(let n=0;n(e[t]=!0,e),{});Object.keys(e.properties).forEach(o=>{if(t.skipNonRequired&&!n.hasOwnProperty(o))return;const s=Ee(e.properties[o],t,r,{propertyName:o,depth:a+1});t.skipReadOnly&&s.readOnly||t.skipWriteOnly&&s.writeOnly||(i[o]=s.value)})}if(e&&"object"==typeof e.additionalProperties){const n=e.additionalProperties["x-additionalPropertiesName"]||"property";i[String(n)+"1"]=Ee(e.additionalProperties,t,r,{depth:a+1}).value,i[String(n)+"2"]=Ee(e.additionalProperties,t,r,{depth:a+1}).value}return i})),je("string",(function(e,t,r,n){let i=e.format||"default",a=Ae[i]||Se,o=n&&n.propertyName;return a(0|e.minLength,e.maxLength,o)}));var Te,$e=function(){function e(){}return e.generateExample=function(e,t){void 0===t&&(t={});try{return this.sanitizeExample(Ce(e,t))||""}catch(e){return""}},e.sanitizeExample=function(e){var t=this;return"object"==typeof e&&e&&!Array.isArray(e)?Object.entries(e).reduce((function(e,r){var n=r[0],i=r[1];return n.startsWith("x-parser-")||n.startsWith("x-schema-private-")||(e[n]=t.sanitizeExample(i)),e}),{}):e},e.getPayloadExamples=function(e){var t=e.examples();if(Array.isArray(t)&&t.some((function(e){return e.payload}))){var r=t.flatMap((function(e){if(e.payload)return{name:e.name,summary:e.summary,example:e.payload}})).filter(Boolean);if(r.length>0)return r}var n=e.payload();if(n&&n.examples())return n.examples().map((function(e){return{example:e}}))},e.getHeadersExamples=function(e){var t=e.examples();if(Array.isArray(t)&&t.some((function(e){return e.headers}))){var r=t.flatMap((function(e){if(e.headers)return{name:e.name,summary:e.summary,example:e.headers}})).filter(Boolean);if(r.length>0)return r}var n=e.headers();if(n&&n.examples())return n.examples().map((function(e){return{example:e}}))},e}(),Fe=function(e){var t=e.message;if(!t)return null;var r=t.payload(),n=t.headers();return i.a.createElement("div",{className:"bg-gray-800 px-8 py-4 mt-4 -mx-8 2xl:mx-0 2xl:px-4 2xl:rounded examples"},i.a.createElement("h4",{className:"text-white text-lg"},"Examples"),r&&i.a.createElement(_e,{type:"Payload",schema:r,examples:$e.getPayloadExamples(t)}),n&&i.a.createElement(_e,{type:"Headers",schema:n,examples:$e.getHeadersExamples(t)}))},_e=function(e){var t=e.type,r=void 0===t?"Payload":t,a=e.schema,o=e.examples,s=void 0===o?[]:o,u=Object(n.useState)(!1),l=u[0],c=u[1];return i.a.createElement("div",{className:"mt-4"},i.a.createElement("div",null,i.a.createElement(p,{onClick:function(){return c((function(e){return!e}))},chevronProps:{className:"fill-current text-gray-200 ".concat(l?"-rotate-180":"-rotate-90")}},i.a.createElement("span",{className:"px-2 py-1 mr-2 text-gray-200 text-sm border rounded focus:outline-none"},r))),i.a.createElement("div",{className:l?"block":"hidden"},s&&s.length>0?i.a.createElement("ul",null,s.map((function(e,t){return i.a.createElement("li",{className:"mt-4",key:t},i.a.createElement("h5",{className:"text-xs font-bold text-gray-500"},e.name?"#".concat(t+1," Example - ").concat(e.name):"#".concat(t+1," Example")),e.summary&&i.a.createElement("p",{className:"text-xs font-bold text-gray-500"},e.summary),i.a.createElement("div",{className:"mt-1"},i.a.createElement(se,{snippet:$e.sanitizeExample(e.example)})))}))):i.a.createElement("div",{className:"mt-4"},i.a.createElement(se,{snippet:$e.generateExample(a.json())}),i.a.createElement("h6",{className:"text-xs font-bold text-gray-600 italic mt-2"},"This example has been generated automatically."))))},Oe=function(e){var t=e.message,r=e.messageName,n=e.index,a=e.showExamples,o=void 0!==a&&a,s=ne();if(!t)return null;var u="function"==typeof t.id&&t.id(),l=t.title(),c=t.summary(),p=t.payload(),f=t.headers(),d=t.correlationId(),h=t.contentType(),m=t.externalDocs(),y=h||m;return i.a.createElement("div",{className:"panel-item"},i.a.createElement("div",{className:"panel-item--center px-8"},i.a.createElement("div",{className:"shadow rounded bg-gray-200 p-4 border"},i.a.createElement("div",null,void 0!==n&&i.a.createElement("span",{className:"text-gray-700 font-bold mr-2"},"#",n),l&&i.a.createElement("span",{className:"text-gray-700 mr-2"},l),i.a.createElement("span",{className:"border text-orange-600 rounded text-xs py-0 px-2"},t.uid())),c&&i.a.createElement("p",{className:"text-gray-600 text-sm"},c),y&&i.a.createElement("ul",{className:"leading-normal mt-2 mb-4 space-x-2 space-y-2"},h&&i.a.createElement("li",{className:"inline-block"},i.a.createElement(w,{className:"border border-solid border-orange-300 hover:bg-orange-300 hover:text-orange-600 text-orange-500 font-bold no-underline text-xs uppercase rounded px-3 py-1",href:"".concat(R.a,"/").concat(h)},i.a.createElement("span",null,h))),m&&i.a.createElement("li",{className:"inline-block"},i.a.createElement(w,{className:"border border-solid border-orange-300 hover:bg-orange-300 hover:text-orange-600 text-orange-500 font-bold no-underline text-xs uppercase rounded px-3 py-1",href:m.url()},i.a.createElement("span",null,R.c)))),u&&i.a.createElement("div",{className:"border bg-gray-100 rounded px-4 py-2 mt-2"},i.a.createElement("div",{className:"text-sm text-gray-700"},"Message ID",i.a.createElement("span",{className:"border text-orange-600 rounded text-xs ml-2 py-0 px-2"},u))),d&&i.a.createElement("div",{className:"border bg-gray-100 rounded px-4 py-2 mt-2"},i.a.createElement("div",{className:"text-sm text-gray-700"},"Correlation ID",i.a.createElement("span",{className:"border text-orange-600 rounded text-xs ml-2 py-0 px-2"},d.location())),d.hasDescription()&&i.a.createElement("div",{className:"mt-2"},i.a.createElement(O,null,d.description()))),t.hasDescription()&&i.a.createElement("div",{className:"mt-2"},i.a.createElement(O,null,t.description())),p&&i.a.createElement("div",{className:"mt-2",id:r?ie.getIdentifier("message-".concat(r,"-payload"),s):void 0},i.a.createElement(Y,{schemaName:"Payload",schema:p})),f&&i.a.createElement("div",{className:"mt-2",id:r?ie.getIdentifier("message-".concat(r,"-headers"),s):void 0},i.a.createElement(Y,{schemaName:"Headers",schema:f})),t.hasBindings()&&i.a.createElement("div",{className:"mt-2"},i.a.createElement(te,{name:"Message specific information",bindings:t.bindings()})),i.a.createElement(X,{item:t}),t.hasTags()&&i.a.createElement("div",{className:"mt-2"},i.a.createElement(N,{tags:t.tags()})))),o&&i.a.createElement("div",{className:"panel-item--right px-8"},i.a.createElement(Fe,{message:t})))},Ie=r(7),Ne=function(){return(Ne=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?i.a.createElement("div",{className:"mt-2 text-sm"},i.a.createElement("p",null,"Available only on servers:"),i.a.createElement("ul",{className:"flex flex-wrap leading-normal"},u.map((function(e){return i.a.createElement("li",{className:"inline-block mt-2 mr-2",key:e},i.a.createElement("a",{href:"#".concat(ie.getIdentifier("server-"+e,t)),className:"border border-solid border-blue-300 hover:bg-blue-300 hover:text-blue-600 text-blue-500 font-bold no-underline text-xs rounded px-3 py-1 cursor-pointer"},i.a.createElement("span",{className:"underline"},e)))})))):null,c&&i.a.createElement("div",{className:"mt-2",id:ie.getIdentifier("operation-".concat(n,"-").concat(o,"-parameters"),t)},i.a.createElement(Y,{schemaName:"Parameters",schema:c,expanded:!0})),l&&i.a.createElement("div",{className:"mt-2",id:ie.getIdentifier("operation-".concat(n,"-").concat(o,"-security"),t)},i.a.createElement(L,{security:l,header:"Additional security requirements"})),s.hasBindings()&&i.a.createElement("div",{className:"mt-2"},i.a.createElement(te,{name:"Channel specific information",bindings:s.bindings()})),i.a.createElement(X,{name:"Channel Extensions",item:s}),a.hasBindings()&&i.a.createElement("div",{className:"mt-2"},i.a.createElement(te,{name:"Operation specific information",bindings:a.bindings()})),i.a.createElement(X,{name:"Operation Extensions",item:a}),a.hasTags()&&i.a.createElement("div",{className:"mt-2"},i.a.createElement(N,{tags:a.tags()}))),i.a.createElement("div",{className:"w-full mt-4",id:ie.getIdentifier("operation-".concat(n,"-").concat(o,"-message"),t)},a.hasMultipleMessages()?i.a.createElement("div",{className:"mt-2"},i.a.createElement("p",{className:"px-8"},"Accepts ",i.a.createElement("strong",null,"one of")," the following messages:"),i.a.createElement("ul",null,a.messages().map((function(e,t){return i.a.createElement("li",{className:"mt-4",key:t},i.a.createElement(Oe,{message:e,index:t,showExamples:!0}))})))):i.a.createElement("div",{className:"mt-2"},i.a.createElement("p",{className:"px-8"},"Accepts the following message:"),i.a.createElement("div",{className:"mt-2"},i.a.createElement(Oe,{message:a.message(0),showExamples:!0})))))},Me=function(e){var t=e.type,r=void 0===t?Ie.a.PUBLISH:t,n=e.operation,a=e.channelName,o=e.channel,s=n.summary(),u=n.externalDocs(),l=n.id();return i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"mb-4"},i.a.createElement("h3",null,i.a.createElement("span",{className:"font-mono border uppercase p-1 rounded mr-2 ".concat(r===Ie.a.PUBLISH?"border-blue-600 text-blue-500":"border-green-600 text-green-600"),title:r},r===Ie.a.PUBLISH?"PUB":"SUB")," ",i.a.createElement("span",{className:"font-mono text-base"},a))),o.hasDescription()&&i.a.createElement("div",{className:"mt-2"},i.a.createElement(O,null,o.description())),s&&i.a.createElement("p",{className:"text-gray-600 text-sm mt-2"},s),n.hasDescription()&&i.a.createElement("div",{className:"mt-2"},i.a.createElement(O,null,n.description())),u&&i.a.createElement("ul",{className:"leading-normal mt-2 mb-4 space-x-2 space-y-2"},u&&i.a.createElement("li",{className:"inline-block"},i.a.createElement(w,{className:"border border-solid border-orange-300 hover:bg-orange-300 hover:text-orange-600 text-orange-500 font-bold no-underline text-xs uppercase rounded px-3 py-1",href:u.url()},i.a.createElement("span",null,R.c)))),l&&i.a.createElement("div",{className:"border bg-gray-100 rounded px-4 py-2 mt-2"},i.a.createElement("div",{className:"text-sm text-gray-700"},"Operation ID",i.a.createElement("span",{className:"border text-orange-600 rounded text-xs ml-2 py-0 px-2"},l))))},Be=function(){var e=d().channels(),t=ne();if(!Object.keys(e).length)return null;var r=[];return Object.entries(e).forEach((function(e){var n=e[0],a=e[1];a.hasPublish()&&r.push(i.a.createElement("li",{className:"mb-12",key:"pub-".concat(n),id:ie.getIdentifier("operation-".concat(Ie.a.PUBLISH,"-").concat(n),t)},i.a.createElement(Re,{type:Ie.a.PUBLISH,operation:a.publish(),channelName:n,channel:a}))),a.hasSubscribe()&&r.push(i.a.createElement("li",{className:"mb-12",key:"sub-".concat(n),id:ie.getIdentifier("operation-".concat(Ie.a.SUBSCRIBE,"-").concat(n),t)},i.a.createElement(Re,{type:Ie.a.SUBSCRIBE,operation:a.subscribe(),channelName:n,channel:a})))})),i.a.createElement("section",{id:"".concat(ie.getIdentifier("operations",t)),className:"mt-16"},i.a.createElement("h2",{className:"2xl:w-7/12 text-3xl font-light mb-4 px-8"},R.e),i.a.createElement("ul",null,r))},Le=function(){var e=d(),t=ne(),r=e.hasComponents()&&e.components().messages();return r&&0!==Object.keys(r).length?i.a.createElement("section",{id:"".concat(ie.getIdentifier("messages",t)),className:"mt-16"},i.a.createElement("h2",{className:"2xl:w-7/12 text-3xl font-light mb-4 px-8"},R.d),i.a.createElement("ul",null,Object.entries(r).map((function(e,r){var n=e[0],a=e[1];return i.a.createElement("li",{className:"mb-4",key:n,id:ie.getIdentifier("message-".concat(n),t)},i.a.createElement(Oe,{messageName:n,message:a,index:r+1,key:n}))})))):null},Ue=function(e){var t=e.schemaName,r=e.schema;return r?i.a.createElement("div",null,i.a.createElement("div",{className:"panel-item--center px-8"},i.a.createElement("div",{className:"shadow rounded px-4 py-2 border bg-gray-200"},i.a.createElement(Y,{schemaName:t,schema:r}))),i.a.createElement("div",{className:"w-full mt-4"})):null},qe=function(){var e=d(),t=ne(),r=e.hasComponents()&&e.components().schemas();return r&&0!==Object.keys(r).length?i.a.createElement("section",{id:"".concat(ie.getIdentifier("schemas",t)),className:"mt-16"},i.a.createElement("h2",{className:"2xl:w-7/12 text-3xl font-light mb-4 px-8"},R.f),i.a.createElement("ul",null,Object.entries(r).map((function(e){var r=e[0],n=e[1];return i.a.createElement("li",{className:"mb-4",key:r,id:ie.getIdentifier("schema-".concat(r),t)},i.a.createElement(Ue,{schemaName:r,schema:n}))})))):null},ze=function(e){var t=e.error;if(!t)return null;var r,n=t.title,a=t.validationErrors;return i.a.createElement("div",{className:"panel-item"},i.a.createElement("div",{className:"panel-item--center p-8"},i.a.createElement("section",{className:"shadow rounded bg-gray-200 border-red-500 border-l-8"},i.a.createElement("h2",{className:"p-2"},n?"".concat(R.b,": ").concat(n):R.b),a&&a.length?i.a.createElement("div",{className:"bg-gray-800 text-white text-xs p-2"},i.a.createElement("pre",null,(r=a)?r.map((function(e,t){return e&&e.title&&e.location?i.a.createElement("div",{key:t,className:"flex"},i.a.createElement("span",null,"".concat(e.location.startLine,".")),i.a.createElement("code",{className:"whitespace-pre-wrap break-all ml-2"},e.title)):null})).filter(Boolean):null)):null)),i.a.createElement("div",{className:"panel-item--right"}))},He=function(e){var t,r,a,o,s,l,c,p=e.asyncapi,d=e.config,h=e.error,y=void 0===h?null:h,g=Object(n.useState)("container:xl"),v=g[0],b=g[1],x=u({onResize:function(e){var t=e.width;requestAnimationFrame((function(){if(void 0!==t){var e=t<=1280?"container:xl":"container:base";e!==v&&b(e)}}))}}).ref;return i.a.createElement(re.Provider,{value:d},i.a.createElement(f.Provider,{value:p},i.a.createElement("section",{className:"aui-root"},i.a.createElement("div",{className:"".concat(v," relative md:flex bg-white leading-normal"),id:d.schemaID||void 0,ref:x},(null===(t=d.show)||void 0===t?void 0:t.sidebar)&&i.a.createElement(m,{config:d.sidebar}),i.a.createElement("div",{className:"panel--center relative py-8 flex-1"},i.a.createElement("div",{className:"relative z-10"},(null===(r=d.show)||void 0===r?void 0:r.errors)&&y&&i.a.createElement(ze,{error:y}),(null===(a=d.show)||void 0===a?void 0:a.info)&&i.a.createElement(M,null),(null===(o=d.show)||void 0===o?void 0:o.servers)&&i.a.createElement(oe,null),(null===(s=d.show)||void 0===s?void 0:s.operations)&&i.a.createElement(Be,null),(null===(l=d.show)||void 0===l?void 0:l.messages)&&i.a.createElement(Le,null),(null===(c=d.show)||void 0===c?void 0:c.schemas)&&i.a.createElement(qe,null)),i.a.createElement("div",{className:"panel--right absolute top-0 right-0 h-full bg-gray-800"}))))))},Ve=(Te=function(e,t){return(Te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Te(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Je=function(){return(Je=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]new u(e)):null}},l,c,p)},function(e,t,r){const{mix:n}=r(2),i=r(3),a=r(6),o=r(4);e.exports=n(class extends i{allowedValues(){return this._json.enum}allows(e){return void 0===this._json.enum||this._json.enum.includes(e)}hasAllowedValues(){return void 0!==this._json.enum}defaultValue(){return this._json.default}hasDefaultValue(){return void 0!==this._json.default}examples(){return this._json.examples}},a,o)},function(e,t,r){const{createMapOfType:n,getMapValueOfType:i,mix:a}=r(2),o=r(3),s=r(41),u=r(79),l=r(84),c=r(6),p=r(21),f=r(4);e.exports=a(class extends o{parameters(){return n(this._json.parameters,s)}parameter(e){return i(this._json.parameters,e,s)}hasParameters(){return!!this._json.parameters}hasServers(){return!!this._json.servers}servers(){return this._json.servers?this._json.servers:[]}server(e){return this._json.servers?"number"!=typeof e||e>this._json.servers.length-1?null:this._json.servers[+e]:null}publish(){return this._json.publish?new u(this._json.publish):null}subscribe(){return this._json.subscribe?new l(this._json.subscribe):null}hasPublish(){return!!this._json.publish}hasSubscribe(){return!!this._json.subscribe}},c,p,f)},function(e,t,r){const{mix:n}=r(2),i=r(3),a=r(10),o=r(6),s=r(4);e.exports=n(class extends i{location(){return this._json.location}schema(){return this._json.schema?new a(this._json.schema):null}},o,s)},function(e,t,r){const{mix:n}=r(2),i=r(3),a=r(6),o=r(25),s=r(17),u=r(21),l=r(4);e.exports=n(class extends i{id(){return this._json.operationId}summary(){return this._json.summary}},a,o,s,u,l)},function(e,t,r){(function(t){const n=r(44),i=r(45),a=r(10);e.exports=class extends i{uid(){return this.id()||this.name()||this.ext("x-parser-message-name")||t.from(JSON.stringify(this._json)).toString("base64")}payload(){return this._json.payload?new a(this._json.payload):null}traits(){const e=this._json["x-parser-original-traits"]||this._json.traits;return e?e.map(e=>new n(e)):[]}hasTraits(){return!!this._json["x-parser-original-traits"]||!!this._json.traits}originalPayload(){return this._json["x-parser-original-payload"]||this.payload()}originalSchemaFormat(){return this._json["x-parser-original-schema-format"]||this.schemaFormat()}}}).call(this,r(11).Buffer)},function(e,t,r){const n=r(45);e.exports=class extends n{}},function(e,t,r){const{getMapValueOfType:n,mix:i}=r(2),a=r(3),o=r(10),s=r(46),u=r(6),l=r(17),c=r(25),p=r(21),f=r(4);e.exports=i(class extends a{headers(){return this._json.headers?new o(this._json.headers):null}header(e){return this._json.headers?n(this._json.headers.properties,e,o):null}id(){return this._json.messageId}correlationId(){return this._json.correlationId?new s(this._json.correlationId):null}schemaFormat(){return this._json.schemaFormat}contentType(){return this._json.contentType}name(){return this._json.name}title(){return this._json.title}summary(){return this._json.summary}examples(){return this._json.examples}},u,c,l,p,f)},function(e,t,r){const{mix:n}=r(2),i=r(3),a=r(6),o=r(4);e.exports=n(class extends i{location(){return this._json.location}},o,a)},function(e,t,r){const n=r(42);e.exports=class extends n{}},function(e,t){const r=Object.freeze({NEW_SCHEMA:"NEW_SCHEMA",END_SCHEMA:"END_SCHEMA"}),n=Object.freeze({parameters:"parameters",payloads:"payloads",headers:"headers",components:"components",objects:"objects",arrays:"arrays",oneOfs:"oneOfs",allOfs:"allOfs",anyOfs:"anyOfs",nots:"nots",propertyNames:"propertyNames",patternProperties:"patternProperties",contains:"contains",ifs:"ifs",thenes:"thenes",elses:"elses",dependencies:"dependencies",definitions:"definitions"});function i(e,t,a){if(!e)return;const{callback:o,schemaTypesToIterate:s,seenSchemas:u}=a,l=e.json();if(u.has(l))return;u.add(l);let c=e.type()||[];Array.isArray(c)||(c=[c]),!s.includes(n.objects)&&c.includes("object")||!s.includes(n.arrays)&&c.includes("array")||!1!==o(e,t,r.NEW_SCHEMA)&&(s.includes(n.objects)&&c.includes("object")&&function(e,t){Object.entries(e.properties()||{}).forEach(([e,r])=>{i(r,e,t)});const r=e.additionalProperties();"object"==typeof r&&i(r,null,t);const a=t.schemaTypesToIterate;a.includes(n.propertyNames)&&e.propertyNames()&&i(e.propertyNames(),null,t);a.includes(n.patternProperties)&&Object.entries(e.patternProperties()||{}).forEach(([e,r])=>{i(r,e,t)})}(e,a),s.includes(n.arrays)&&c.includes("array")&&function(e,t){const r=e.items();r&&(Array.isArray(r)?r.forEach((e,r)=>{i(e,r,t)}):i(r,null,t));const a=e.additionalItems();"object"==typeof a&&i(a,null,t);t.schemaTypesToIterate.includes(n.contains)&&e.contains()&&i(e.contains(),null,t)}(e,a),s.includes(n.oneOfs)&&(e.oneOf()||[]).forEach((e,t)=>{i(e,t,a)}),s.includes(n.anyOfs)&&(e.anyOf()||[]).forEach((e,t)=>{i(e,t,a)}),s.includes(n.allOfs)&&(e.allOf()||[]).forEach((e,t)=>{i(e,t,a)}),s.includes(n.nots)&&e.not()&&i(e.not(),null,a),s.includes(n.ifs)&&e.if()&&i(e.if(),null,a),s.includes(n.thenes)&&e.then()&&i(e.then(),null,a),s.includes(n.elses)&&e.else()&&i(e.else(),null,a),s.includes(n.dependencies)&&Object.entries(e.dependencies()||{}).forEach(([e,t])=>{t&&!Array.isArray(t)&&i(t,e,a)}),s.includes(n.definitions)&&Object.entries(e.definitions()||{}).forEach(([e,t])=>{i(t,e,a)}),o(e,t,r.END_SCHEMA),u.delete(l))}function a(e,t){if(!e)return;const{schemaTypesToIterate:r}=t;r.includes(n.headers)&&i(e.headers(),null,t),r.includes(n.payloads)&&i(e.payload(),null,t)}e.exports={SchemaIteratorCallbackType:r,SchemaTypesToIterate:n,traverseAsyncApiDocument:function(e,t,r){r||(r=Object.values(n));const o={callback:t,schemaTypesToIterate:r,seenSchemas:new Set};if(e.hasChannels()&&Object.values(e.channels()).forEach(e=>{!function(e,t){if(!e)return;const{schemaTypesToIterate:r}=t;r.includes(n.parameters)&&Object.values(e.parameters()||{}).forEach(e=>{i(e.schema(),null,t)});e.hasPublish()&&e.publish().messages().forEach(e=>{a(e,t)});e.hasSubscribe()&&e.subscribe().messages().forEach(e=>{a(e,t)})}(e,o)}),r.includes(n.components)&&e.hasComponents()){const t=e.components();Object.values(t.messages()||{}).forEach(e=>{a(e,o)}),Object.values(t.schemas()||{}).forEach(e=>{i(e,null,o)}),r.includes(n.parameters)&&Object.values(t.parameters()||{}).forEach(e=>{i(e.schema(),null,o)}),Object.values(t.messageTraits()||{}).forEach(e=>{!function(e,t){if(!e)return;const{schemaTypesToIterate:r}=t;r.includes(n.headers)&&i(e.headers(),null,t)}(e,o)})}}}},function(e,t,r){ - /*! @license DOMPurify 2.3.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.6/LICENSE */ - e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,r=Object.isFrozen,n=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor,a=Object.freeze,o=Object.seal,s=Object.create,u="undefined"!=typeof Reflect&&Reflect,l=u.apply,c=u.construct;l||(l=function(e,t,r){return e.apply(t,r)}),a||(a=function(e){return e}),o||(o=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t1?r-1:0),i=1;i/gm),B=o(/^data-[\-\w.\u00B7-\uFFFF]/),L=o(/^aria-[\-\w]+$/),U=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=o(/^(?:\w+script|data):/i),z=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H=o(/^html$/i),V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function J(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:K(),r=function(t){return e(t)};if(r.version="2.3.6",r.removed=[],!t||!t.document||9!==t.document.nodeType)return r.isSupported=!1,r;var n=t.document,i=t.document,o=t.DocumentFragment,s=t.HTMLTemplateElement,u=t.Node,l=t.Element,c=t.NodeFilter,p=t.NamedNodeMap,w=void 0===p?t.NamedNodeMap||t.MozNamedAttrMap:p,W=t.HTMLFormElement,Y=t.DOMParser,G=t.trustedTypes,Q=l.prototype,Z=A(Q,"cloneNode"),ee=A(Q,"nextSibling"),te=A(Q,"childNodes"),re=A(Q,"parentNode");if("function"==typeof s){var ne=i.createElement("template");ne.content&&ne.content.ownerDocument&&(i=ne.content.ownerDocument)}var ie=X(G,n),ae=ie?ie.createHTML(""):"",oe=i,se=oe.implementation,ue=oe.createNodeIterator,le=oe.createDocumentFragment,ce=oe.getElementsByTagName,pe=n.importNode,fe={};try{fe=S(i).documentMode?i.documentMode:{}}catch(e){}var de={};r.isSupported="function"==typeof re&&se&&void 0!==se.createHTMLDocument&&9!==fe;var he=R,me=M,ye=B,ge=L,ve=q,be=z,xe=U,Ee=null,we=D({},[].concat(J(P),J(k),J(C),J(T),J(F))),De=null,Se=D({},[].concat(J(_),J(O),J(I),J(N))),Ae=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Pe=null,ke=null,Ce=!0,je=!0,Te=!1,$e=!1,Fe=!1,_e=!1,Oe=!1,Ie=!1,Ne=!1,Re=!1,Me=!0,Be=!0,Le=!1,Ue={},qe=null,ze=D({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),He=null,Ve=D({},["audio","video","img","source","image","track"]),Je=null,Ke=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xe="http://www.w3.org/1998/Math/MathML",We="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Ge=Ye,Qe=!1,Ze=void 0,et=["application/xhtml+xml","text/html"],tt="text/html",rt=void 0,nt=null,it=i.createElement("form"),at=function(e){return e instanceof RegExp||e instanceof Function},ot=function(e){nt&&nt===e||(e&&"object"===(void 0===e?"undefined":V(e))||(e={}),e=S(e),Ee="ALLOWED_TAGS"in e?D({},e.ALLOWED_TAGS):we,De="ALLOWED_ATTR"in e?D({},e.ALLOWED_ATTR):Se,Je="ADD_URI_SAFE_ATTR"in e?D(S(Ke),e.ADD_URI_SAFE_ATTR):Ke,He="ADD_DATA_URI_TAGS"in e?D(S(Ve),e.ADD_DATA_URI_TAGS):Ve,qe="FORBID_CONTENTS"in e?D({},e.FORBID_CONTENTS):ze,Pe="FORBID_TAGS"in e?D({},e.FORBID_TAGS):{},ke="FORBID_ATTR"in e?D({},e.FORBID_ATTR):{},Ue="USE_PROFILES"in e&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,je=!1!==e.ALLOW_DATA_ATTR,Te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,$e=e.SAFE_FOR_TEMPLATES||!1,Fe=e.WHOLE_DOCUMENT||!1,Ie=e.RETURN_DOM||!1,Ne=e.RETURN_DOM_FRAGMENT||!1,Re=e.RETURN_TRUSTED_TYPE||!1,Oe=e.FORCE_BODY||!1,Me=!1!==e.SANITIZE_DOM,Be=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,xe=e.ALLOWED_URI_REGEXP||xe,Ge=e.NAMESPACE||Ye,e.CUSTOM_ELEMENT_HANDLING&&at(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&at(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ze=Ze=-1===et.indexOf(e.PARSER_MEDIA_TYPE)?tt:e.PARSER_MEDIA_TYPE,rt="application/xhtml+xml"===Ze?function(e){return e}:m,$e&&(je=!1),Ne&&(Ie=!0),Ue&&(Ee=D({},[].concat(J(F))),De=[],!0===Ue.html&&(D(Ee,P),D(De,_)),!0===Ue.svg&&(D(Ee,k),D(De,O),D(De,N)),!0===Ue.svgFilters&&(D(Ee,C),D(De,O),D(De,N)),!0===Ue.mathMl&&(D(Ee,T),D(De,I),D(De,N))),e.ADD_TAGS&&(Ee===we&&(Ee=S(Ee)),D(Ee,e.ADD_TAGS)),e.ADD_ATTR&&(De===Se&&(De=S(De)),D(De,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&D(Je,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(qe===ze&&(qe=S(qe)),D(qe,e.FORBID_CONTENTS)),Be&&(Ee["#text"]=!0),Fe&&D(Ee,["html","head","body"]),Ee.table&&(D(Ee,["tbody"]),delete Pe.tbody),a&&a(e),nt=e)},st=D({},["mi","mo","mn","ms","mtext"]),ut=D({},["foreignobject","desc","title","annotation-xml"]),lt=D({},k);D(lt,C),D(lt,j);var ct=D({},T);D(ct,$);var pt=function(e){var t=re(e);t&&t.tagName||(t={namespaceURI:Ye,tagName:"template"});var r=m(e.tagName),n=m(t.tagName);if(e.namespaceURI===We)return t.namespaceURI===Ye?"svg"===r:t.namespaceURI===Xe?"svg"===r&&("annotation-xml"===n||st[n]):Boolean(lt[r]);if(e.namespaceURI===Xe)return t.namespaceURI===Ye?"math"===r:t.namespaceURI===We?"math"===r&&ut[n]:Boolean(ct[r]);if(e.namespaceURI===Ye){if(t.namespaceURI===We&&!ut[n])return!1;if(t.namespaceURI===Xe&&!st[n])return!1;var i=D({},["title","style","font","a","script"]);return!ct[r]&&(i[r]||!lt[r])}return!1},ft=function(e){h(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},dt=function(e,t){try{h(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){h(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!De[e])if(Ie||Ne)try{ft(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ht=function(e){var t=void 0,r=void 0;if(Oe)e=""+e;else{var n=y(e,/^[\r\n\t ]+/);r=n&&n[0]}"application/xhtml+xml"===Ze&&(e=''+e+"");var a=ie?ie.createHTML(e):e;if(Ge===Ye)try{t=(new Y).parseFromString(a,Ze)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(Ge,"template",null);try{t.documentElement.innerHTML=Qe?"":a}catch(e){}}var o=t.body||t.documentElement;return e&&r&&o.insertBefore(i.createTextNode(r),o.childNodes[0]||null),Ge===Ye?ce.call(t,Fe?"html":"body")[0]:Fe?t.documentElement:o},mt=function(e){return ue.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},yt=function(e){return e instanceof W&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof w)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},gt=function(e){return"object"===(void 0===u?"undefined":V(u))?e instanceof u:e&&"object"===(void 0===e?"undefined":V(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},vt=function(e,t,n){de[e]&&f(de[e],(function(e){e.call(r,t,n,nt)}))},bt=function(e){var t=void 0;if(vt("beforeSanitizeElements",e,null),yt(e))return ft(e),!0;if(y(e.nodeName,/[\u0080-\uFFFF]/))return ft(e),!0;var n=rt(e.nodeName);if(vt("uponSanitizeElement",e,{tagName:n,allowedTags:Ee}),!gt(e.firstElementChild)&&(!gt(e.content)||!gt(e.content.firstElementChild))&&x(/<[/\w]/g,e.innerHTML)&&x(/<[/\w]/g,e.textContent))return ft(e),!0;if("select"===n&&x(/