"use strict";

var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
exports.__esModule = true;
exports.isOpenapiElement = exports.isOpenApiExtension = exports.isOpenApi3_0LikeElement = exports.isOpenApi3_0Element = exports.isObjectElement = exports.isNumberElement = exports.isNullElement = exports.isMemberElement = exports.isMediaTypeElement = exports.isLinkPrimitiveElement = exports.isLinkElementExternal = exports.isLinkElement = exports.isLicenseElement = exports.isInfoElement = exports.isExternalDocumentationElement = exports.isExampleElement = exports.isElement = exports.isContactElement = exports.isComponentsElement = exports.isCallbackElement = exports.isBooleanJsonSchemaElement = exports.isBooleanElement = exports.isArrayElement = exports.getNodeType = exports.default = exports.createRefractor = exports.XmlElement = exports.Visitor = exports.TagsElement = exports.TagElement = exports.SpecificationVisitor = exports.ServersElement = exports.ServerVariablesElement = exports.ServerVariableElement = exports.ServerElement = exports.SecuritySchemeElement = exports.SecurityRequirementElement = exports.SecurityElement = exports.SchemaElement = exports.ResponsesElement = exports.ResponseLinksElement = exports.ResponseHeadersElement = exports.ResponseElement = exports.ResponseContentElement = exports.RequestBodyElement = exports.RequestBodyContentElement = exports.ReferenceElement = exports.PatternedFieldsVisitor = exports.PathsElement = exports.PathItemServersElement = exports.PathItemParametersElement = exports.PathItemElement = exports.ParameterExamplesElement = exports.ParameterElement = exports.ParameterContentElement = exports.OperationTagsElement = exports.OperationServersElement = exports.OperationSecurityElement = exports.OperationParametersElement = exports.OperationElement = exports.OperationCallbacksElement = exports.OpenapiElement = exports.OpenApi3_0Element = exports.OpenAPIMediaTypes = exports.OAuthFlowsElement = exports.OAuthFlowScopesElement = exports.OAuthFlowElement = exports.MixedFieldsVisitor = exports.MediaTypeExamplesElement = exports.MediaTypeEncodingElement = exports.MediaTypeElement = exports.MapVisitor = exports.LinkParametersElement = exports.LinkElement = exports.LicenseElement = exports.InfoElement = exports.HeaderExamplesElement = exports.HeaderElement = exports.HeaderContentElement = exports.FixedFieldsVisitor = exports.FallbackVisitor = exports.ExternalDocumentationElement = exports.ExampleElement = exports.EncodingHeadersElement = exports.EncodingElement = exports.DiscriminatorMappingElement = exports.DiscriminatorElement = exports.ContactElement = exports.ComponentsSecuritySchemesElement = exports.ComponentsSchemasElement = exports.ComponentsResponsesElement = exports.ComponentsRequestBodiesElement = exports.ComponentsParametersElement = exports.ComponentsLinksElement = exports.ComponentsHeadersElement = exports.ComponentsExamplesElement = exports.ComponentsElement = exports.ComponentsCallbacksElement = exports.CallbackElement = exports.AlternatingVisitor = void 0;
exports.specificationObj = exports.refractorPluginReplaceEmptyElement = exports.refract = exports.mediaTypes = exports.keyMap = exports.isTagLikeElement = exports.isStringElement = exports.isServerVariableElement = exports.isServerLikeElement = exports.isServerElement = exports.isSecurityRequirementElement = exports.isSchemaElement = exports.isResponsesElement = exports.isResponseLikeElement = exports.isResponseElement = exports.isRequestBodyLikeElement = exports.isRequestBodyElement = exports.isReferenceLikeElement = exports.isReferenceElementExternal = exports.isReferenceElement = exports.isRefElement = exports.isPathsElement = exports.isPathItemElementExternal = exports.isPathItemElement = exports.isParameterLikeElement = exports.isParameterElement = exports.isOperationElement = void 0;
require("./refractor/registration.cjs");
var _apidomCore = require("@swagger-api/apidom-core");
exports.isRefElement = _apidomCore.isRefElement;
exports.isLinkPrimitiveElement = _apidomCore.isLinkElement;
exports.isMemberElement = _apidomCore.isMemberElement;
exports.isObjectElement = _apidomCore.isObjectElement;
exports.isArrayElement = _apidomCore.isArrayElement;
exports.isBooleanElement = _apidomCore.isBooleanElement;
exports.isNullElement = _apidomCore.isNullElement;
exports.isElement = _apidomCore.isElement;
exports.isNumberElement = _apidomCore.isNumberElement;
exports.isStringElement = _apidomCore.isStringElement;
var _mediaTypes = _interopRequireWildcard(require("./media-types.cjs"));
exports.mediaTypes = _mediaTypes.default;
exports.OpenAPIMediaTypes = _mediaTypes.OpenAPIMediaTypes;
var _namespace = _interopRequireDefault(require("./namespace.cjs"));
exports.default = _namespace.default;
var _replaceEmptyElement = _interopRequireDefault(require("./refractor/plugins/replace-empty-element.cjs"));
exports.refractorPluginReplaceEmptyElement = _replaceEmptyElement.default;
var _index = _interopRequireWildcard(require("./refractor/index.cjs"));
exports.refract = _index.default;
exports.createRefractor = _index.createRefractor;
var _specification = _interopRequireDefault(require("./refractor/specification.cjs"));
exports.specificationObj = _specification.default;
var _predicates = require("./predicates.cjs");
exports.isCallbackElement = _predicates.isCallbackElement;
exports.isComponentsElement = _predicates.isComponentsElement;
exports.isContactElement = _predicates.isContactElement;
exports.isExampleElement = _predicates.isExampleElement;
exports.isExternalDocumentationElement = _predicates.isExternalDocumentationElement;
exports.isInfoElement = _predicates.isInfoElement;
exports.isLicenseElement = _predicates.isLicenseElement;
exports.isLinkElement = _predicates.isLinkElement;
exports.isLinkElementExternal = _predicates.isLinkElementExternal;
exports.isOpenapiElement = _predicates.isOpenapiElement;
exports.isOpenApi3_0Element = _predicates.isOpenApi3_0Element;
exports.isOperationElement = _predicates.isOperationElement;
exports.isParameterElement = _predicates.isParameterElement;
exports.isPathItemElement = _predicates.isPathItemElement;
exports.isPathItemElementExternal = _predicates.isPathItemElementExternal;
exports.isPathsElement = _predicates.isPathsElement;
exports.isReferenceElement = _predicates.isReferenceElement;
exports.isReferenceElementExternal = _predicates.isReferenceElementExternal;
exports.isRequestBodyElement = _predicates.isRequestBodyElement;
exports.isResponseElement = _predicates.isResponseElement;
exports.isResponsesElement = _predicates.isResponsesElement;
exports.isSchemaElement = _predicates.isSchemaElement;
exports.isBooleanJsonSchemaElement = _predicates.isBooleanJsonSchemaElement;
exports.isSecurityRequirementElement = _predicates.isSecurityRequirementElement;
exports.isServerElement = _predicates.isServerElement;
exports.isServerVariableElement = _predicates.isServerVariableElement;
exports.isMediaTypeElement = _predicates.isMediaTypeElement;
var _predicates2 = require("./refractor/predicates.cjs");
exports.isOpenApi3_0LikeElement = _predicates2.isOpenApi3_0LikeElement;
exports.isParameterLikeElement = _predicates2.isParameterLikeElement;
exports.isReferenceLikeElement = _predicates2.isReferenceLikeElement;
exports.isRequestBodyLikeElement = _predicates2.isRequestBodyLikeElement;
exports.isResponseLikeElement = _predicates2.isResponseLikeElement;
exports.isServerLikeElement = _predicates2.isServerLikeElement;
exports.isTagLikeElement = _predicates2.isTagLikeElement;
exports.isOpenApiExtension = _predicates2.isOpenApiExtension;
var _AlternatingVisitor = _interopRequireDefault(require("./refractor/visitors/generics/AlternatingVisitor.cjs"));
exports.AlternatingVisitor = _AlternatingVisitor.default;
var _FixedFieldsVisitor = _interopRequireDefault(require("./refractor/visitors/generics/FixedFieldsVisitor.cjs"));
exports.FixedFieldsVisitor = _FixedFieldsVisitor.default;
var _MapVisitor = _interopRequireDefault(require("./refractor/visitors/generics/MapVisitor.cjs"));
exports.MapVisitor = _MapVisitor.default;
var _MixedFieldsVisitor = _interopRequireDefault(require("./refractor/visitors/generics/MixedFieldsVisitor.cjs"));
exports.MixedFieldsVisitor = _MixedFieldsVisitor.default;
var _PatternedFieldsVisitor = _interopRequireDefault(require("./refractor/visitors/generics/PatternedFieldsVisitor.cjs"));
exports.PatternedFieldsVisitor = _PatternedFieldsVisitor.default;
var _FallbackVisitor = _interopRequireDefault(require("./refractor/visitors/FallbackVisitor.cjs"));
exports.FallbackVisitor = _FallbackVisitor.default;
var _SpecificationVisitor = _interopRequireDefault(require("./refractor/visitors/SpecificationVisitor.cjs"));
exports.SpecificationVisitor = _SpecificationVisitor.default;
var _Visitor = _interopRequireDefault(require("./refractor/visitors/Visitor.cjs"));
exports.Visitor = _Visitor.default;
var _visitor = require("./traversal/visitor.cjs");
exports.keyMap = _visitor.keyMap;
exports.getNodeType = _visitor.getNodeType;
var _Callback = _interopRequireDefault(require("./elements/Callback.cjs"));
exports.CallbackElement = _Callback.default;
var _Components = _interopRequireDefault(require("./elements/Components.cjs"));
exports.ComponentsElement = _Components.default;
var _Contact = _interopRequireDefault(require("./elements/Contact.cjs"));
exports.ContactElement = _Contact.default;
var _Discriminator = _interopRequireDefault(require("./elements/Discriminator.cjs"));
exports.DiscriminatorElement = _Discriminator.default;
var _Encoding = _interopRequireDefault(require("./elements/Encoding.cjs"));
exports.EncodingElement = _Encoding.default;
var _Example = _interopRequireDefault(require("./elements/Example.cjs"));
exports.ExampleElement = _Example.default;
var _ExternalDocumentation = _interopRequireDefault(require("./elements/ExternalDocumentation.cjs"));
exports.ExternalDocumentationElement = _ExternalDocumentation.default;
var _Header = _interopRequireDefault(require("./elements/Header.cjs"));
exports.HeaderElement = _Header.default;
var _Info = _interopRequireDefault(require("./elements/Info.cjs"));
exports.InfoElement = _Info.default;
var _License = _interopRequireDefault(require("./elements/License.cjs"));
exports.LicenseElement = _License.default;
var _Link = _interopRequireDefault(require("./elements/Link.cjs"));
exports.LinkElement = _Link.default;
var _MediaType = _interopRequireDefault(require("./elements/MediaType.cjs"));
exports.MediaTypeElement = _MediaType.default;
var _OAuthFlow = _interopRequireDefault(require("./elements/OAuthFlow.cjs"));
exports.OAuthFlowElement = _OAuthFlow.default;
var _OAuthFlows = _interopRequireDefault(require("./elements/OAuthFlows.cjs"));
exports.OAuthFlowsElement = _OAuthFlows.default;
var _Openapi = _interopRequireDefault(require("./elements/Openapi.cjs"));
exports.OpenapiElement = _Openapi.default;
var _OpenApi = _interopRequireDefault(require("./elements/OpenApi3-0.cjs"));
exports.OpenApi3_0Element = _OpenApi.default;
var _Operation = _interopRequireDefault(require("./elements/Operation.cjs"));
exports.OperationElement = _Operation.default;
var _Parameter = _interopRequireDefault(require("./elements/Parameter.cjs"));
exports.ParameterElement = _Parameter.default;
var _PathItem = _interopRequireDefault(require("./elements/PathItem.cjs"));
exports.PathItemElement = _PathItem.default;
var _Paths = _interopRequireDefault(require("./elements/Paths.cjs"));
exports.PathsElement = _Paths.default;
var _Reference = _interopRequireDefault(require("./elements/Reference.cjs"));
exports.ReferenceElement = _Reference.default;
var _RequestBody = _interopRequireDefault(require("./elements/RequestBody.cjs"));
exports.RequestBodyElement = _RequestBody.default;
var _Response = _interopRequireDefault(require("./elements/Response.cjs"));
exports.ResponseElement = _Response.default;
var _Responses = _interopRequireDefault(require("./elements/Responses.cjs"));
exports.ResponsesElement = _Responses.default;
var _Schema = _interopRequireDefault(require("./elements/Schema.cjs"));
exports.SchemaElement = _Schema.default;
var _SecurityRequirement = _interopRequireDefault(require("./elements/SecurityRequirement.cjs"));
exports.SecurityRequirementElement = _SecurityRequirement.default;
var _SecurityScheme = _interopRequireDefault(require("./elements/SecurityScheme.cjs"));
exports.SecuritySchemeElement = _SecurityScheme.default;
var _Server = _interopRequireDefault(require("./elements/Server.cjs"));
exports.ServerElement = _Server.default;
var _ServerVariable = _interopRequireDefault(require("./elements/ServerVariable.cjs"));
exports.ServerVariableElement = _ServerVariable.default;
var _Tag = _interopRequireDefault(require("./elements/Tag.cjs"));
exports.TagElement = _Tag.default;
var _Xml = _interopRequireDefault(require("./elements/Xml.cjs"));
exports.XmlElement = _Xml.default;
var _ComponentsCallbacks = _interopRequireDefault(require("./elements/nces/ComponentsCallbacks.cjs"));
exports.ComponentsCallbacksElement = _ComponentsCallbacks.default;
var _ComponentsExamples = _interopRequireDefault(require("./elements/nces/ComponentsExamples.cjs"));
exports.ComponentsExamplesElement = _ComponentsExamples.default;
var _ComponentsHeaders = _interopRequireDefault(require("./elements/nces/ComponentsHeaders.cjs"));
exports.ComponentsHeadersElement = _ComponentsHeaders.default;
var _ComponentsLinks = _interopRequireDefault(require("./elements/nces/ComponentsLinks.cjs"));
exports.ComponentsLinksElement = _ComponentsLinks.default;
var _ComponentsParameters = _interopRequireDefault(require("./elements/nces/ComponentsParameters.cjs"));
exports.ComponentsParametersElement = _ComponentsParameters.default;
var _ComponentsRequestBodies = _interopRequireDefault(require("./elements/nces/ComponentsRequestBodies.cjs"));
exports.ComponentsRequestBodiesElement = _ComponentsRequestBodies.default;
var _ComponentsResponses = _interopRequireDefault(require("./elements/nces/ComponentsResponses.cjs"));
exports.ComponentsResponsesElement = _ComponentsResponses.default;
var _ComponentsSchemas = _interopRequireDefault(require("./elements/nces/ComponentsSchemas.cjs"));
exports.ComponentsSchemasElement = _ComponentsSchemas.default;
var _ComponentsSecuritySchemes = _interopRequireDefault(require("./elements/nces/ComponentsSecuritySchemes.cjs"));
exports.ComponentsSecuritySchemesElement = _ComponentsSecuritySchemes.default;
var _DiscriminatorMapping = _interopRequireDefault(require("./elements/nces/DiscriminatorMapping.cjs"));
exports.DiscriminatorMappingElement = _DiscriminatorMapping.default;
var _EncodingHeaders = _interopRequireDefault(require("./elements/nces/EncodingHeaders.cjs"));
exports.EncodingHeadersElement = _EncodingHeaders.default;
var _HeaderContent = _interopRequireDefault(require("./elements/nces/HeaderContent.cjs"));
exports.HeaderContentElement = _HeaderContent.default;
var _HeaderExamples = _interopRequireDefault(require("./elements/nces/HeaderExamples.cjs"));
exports.HeaderExamplesElement = _HeaderExamples.default;
var _LinkParameters = _interopRequireDefault(require("./elements/nces/LinkParameters.cjs"));
exports.LinkParametersElement = _LinkParameters.default;
var _MediaTypeEncoding = _interopRequireDefault(require("./elements/nces/MediaTypeEncoding.cjs"));
exports.MediaTypeEncodingElement = _MediaTypeEncoding.default;
var _MediaTypeExamples = _interopRequireDefault(require("./elements/nces/MediaTypeExamples.cjs"));
exports.MediaTypeExamplesElement = _MediaTypeExamples.default;
var _OAuthFlowScopes = _interopRequireDefault(require("./elements/nces/OAuthFlowScopes.cjs"));
exports.OAuthFlowScopesElement = _OAuthFlowScopes.default;
var _OperationCallbacks = _interopRequireDefault(require("./elements/nces/OperationCallbacks.cjs"));
exports.OperationCallbacksElement = _OperationCallbacks.default;
var _OperationParameters = _interopRequireDefault(require("./elements/nces/OperationParameters.cjs"));
exports.OperationParametersElement = _OperationParameters.default;
var _OperationSecurity = _interopRequireDefault(require("./elements/nces/OperationSecurity.cjs"));
exports.OperationSecurityElement = _OperationSecurity.default;
var _OperationServers = _interopRequireDefault(require("./elements/nces/OperationServers.cjs"));
exports.OperationServersElement = _OperationServers.default;
var _OperationTags = _interopRequireDefault(require("./elements/nces/OperationTags.cjs"));
exports.OperationTagsElement = _OperationTags.default;
var _ParameterContent = _interopRequireDefault(require("./elements/nces/ParameterContent.cjs"));
exports.ParameterContentElement = _ParameterContent.default;
var _ParameterExamples = _interopRequireDefault(require("./elements/nces/ParameterExamples.cjs"));
exports.ParameterExamplesElement = _ParameterExamples.default;
var _PathItemParameters = _interopRequireDefault(require("./elements/nces/PathItemParameters.cjs"));
exports.PathItemParametersElement = _PathItemParameters.default;
var _PathItemServers = _interopRequireDefault(require("./elements/nces/PathItemServers.cjs"));
exports.PathItemServersElement = _PathItemServers.default;
var _RequestBodyContent = _interopRequireDefault(require("./elements/nces/RequestBodyContent.cjs"));
exports.RequestBodyContentElement = _RequestBodyContent.default;
var _ResponseContent = _interopRequireDefault(require("./elements/nces/ResponseContent.cjs"));
exports.ResponseContentElement = _ResponseContent.default;
var _ResponseHeaders = _interopRequireDefault(require("./elements/nces/ResponseHeaders.cjs"));
exports.ResponseHeadersElement = _ResponseHeaders.default;
var _ResponseLinks = _interopRequireDefault(require("./elements/nces/ResponseLinks.cjs"));
exports.ResponseLinksElement = _ResponseLinks.default;
var _Security = _interopRequireDefault(require("./elements/nces/Security.cjs"));
exports.SecurityElement = _Security.default;
var _Servers = _interopRequireDefault(require("./elements/nces/Servers.cjs"));
exports.ServersElement = _Servers.default;
var _ServerVariables = _interopRequireDefault(require("./elements/nces/ServerVariables.cjs"));
exports.ServerVariablesElement = _ServerVariables.default;
var _Tags = _interopRequireDefault(require("./elements/nces/Tags.cjs"));
exports.TagsElement = _Tags.default;
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }