@swagger-api/apidom-ns-openapi-3-1 0.76.2 → 0.77.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/cjs/elements/Callback.cjs +1 -2
  3. package/cjs/elements/Components.cjs +1 -2
  4. package/cjs/elements/Contact.cjs +1 -2
  5. package/cjs/elements/Discriminator.cjs +1 -2
  6. package/cjs/elements/Encoding.cjs +1 -2
  7. package/cjs/elements/Example.cjs +1 -2
  8. package/cjs/elements/ExternalDocumentation.cjs +1 -2
  9. package/cjs/elements/Header.cjs +1 -2
  10. package/cjs/elements/Info.cjs +1 -2
  11. package/cjs/elements/JsonSchemaDialect.cjs +1 -2
  12. package/cjs/elements/License.cjs +1 -2
  13. package/cjs/elements/Link.cjs +1 -2
  14. package/cjs/elements/MediaType.cjs +1 -2
  15. package/cjs/elements/OAuthFlow.cjs +1 -2
  16. package/cjs/elements/OAuthFlows.cjs +1 -2
  17. package/cjs/elements/OpenApi3-1.cjs +1 -2
  18. package/cjs/elements/Openapi.cjs +1 -2
  19. package/cjs/elements/Operation.cjs +1 -2
  20. package/cjs/elements/Parameter.cjs +1 -2
  21. package/cjs/elements/PathItem.cjs +1 -2
  22. package/cjs/elements/Paths.cjs +1 -2
  23. package/cjs/elements/Reference.cjs +1 -2
  24. package/cjs/elements/RequestBody.cjs +1 -2
  25. package/cjs/elements/Response.cjs +1 -2
  26. package/cjs/elements/Responses.cjs +1 -2
  27. package/cjs/elements/Schema.cjs +1 -2
  28. package/cjs/elements/SecurityRequirement.cjs +1 -2
  29. package/cjs/elements/SecurityScheme.cjs +1 -2
  30. package/cjs/elements/Server.cjs +1 -2
  31. package/cjs/elements/ServerVariable.cjs +1 -2
  32. package/cjs/elements/Tag.cjs +1 -2
  33. package/cjs/elements/Xml.cjs +1 -2
  34. package/cjs/elements/nces/ComponentsPathItems.cjs +1 -2
  35. package/cjs/elements/nces/Webhooks.cjs +1 -2
  36. package/cjs/media-types.cjs +1 -2
  37. package/cjs/namespace.cjs +1 -2
  38. package/cjs/predicates.cjs +29 -54
  39. package/cjs/refractor/index.cjs +1 -2
  40. package/cjs/refractor/plugins/normalize-header-examples.cjs +5 -6
  41. package/cjs/refractor/plugins/normalize-operation-ids.cjs +2 -4
  42. package/cjs/refractor/plugins/normalize-parameter-examples.cjs +5 -6
  43. package/cjs/refractor/plugins/normalize-parameters.cjs +1 -2
  44. package/cjs/refractor/plugins/normalize-security-requirements.cjs +1 -2
  45. package/cjs/refractor/plugins/normalize-servers.cjs +1 -2
  46. package/cjs/refractor/plugins/replace-empty-element.cjs +7 -9
  47. package/cjs/refractor/specification.cjs +1 -2
  48. package/cjs/refractor/toolbox.cjs +1 -2
  49. package/cjs/refractor/visitors/open-api-3-1/JsonSchemaDialectVisitor.cjs +2 -3
  50. package/cjs/refractor/visitors/open-api-3-1/WebhooksVisitor.cjs +3 -3
  51. package/cjs/refractor/visitors/open-api-3-1/callback/index.cjs +1 -2
  52. package/cjs/refractor/visitors/open-api-3-1/components/PathItemsVisitor.cjs +1 -2
  53. package/cjs/refractor/visitors/open-api-3-1/components/SchemasVisitor.cjs +1 -2
  54. package/cjs/refractor/visitors/open-api-3-1/components/index.cjs +1 -2
  55. package/cjs/refractor/visitors/open-api-3-1/contact/index.cjs +1 -2
  56. package/cjs/refractor/visitors/open-api-3-1/distriminator/index.cjs +1 -2
  57. package/cjs/refractor/visitors/open-api-3-1/encoding/index.cjs +1 -2
  58. package/cjs/refractor/visitors/open-api-3-1/example/index.cjs +1 -2
  59. package/cjs/refractor/visitors/open-api-3-1/external-documentation/index.cjs +1 -2
  60. package/cjs/refractor/visitors/open-api-3-1/header/index.cjs +1 -2
  61. package/cjs/refractor/visitors/open-api-3-1/index.cjs +1 -2
  62. package/cjs/refractor/visitors/open-api-3-1/info/SummaryVisitor.cjs +1 -2
  63. package/cjs/refractor/visitors/open-api-3-1/info/index.cjs +1 -2
  64. package/cjs/refractor/visitors/open-api-3-1/license/IdentifierVisitor.cjs +1 -2
  65. package/cjs/refractor/visitors/open-api-3-1/license/index.cjs +1 -2
  66. package/cjs/refractor/visitors/open-api-3-1/link/index.cjs +1 -2
  67. package/cjs/refractor/visitors/open-api-3-1/media-type/index.cjs +1 -2
  68. package/cjs/refractor/visitors/open-api-3-1/oauth-flow/index.cjs +1 -2
  69. package/cjs/refractor/visitors/open-api-3-1/oauth-flows/index.cjs +1 -2
  70. package/cjs/refractor/visitors/open-api-3-1/operation/index.cjs +1 -2
  71. package/cjs/refractor/visitors/open-api-3-1/parameter/index.cjs +1 -2
  72. package/cjs/refractor/visitors/open-api-3-1/path-item/index.cjs +1 -2
  73. package/cjs/refractor/visitors/open-api-3-1/paths/index.cjs +1 -2
  74. package/cjs/refractor/visitors/open-api-3-1/reference/DescriptionVisitor.cjs +1 -2
  75. package/cjs/refractor/visitors/open-api-3-1/reference/SummaryVisitor.cjs +1 -2
  76. package/cjs/refractor/visitors/open-api-3-1/reference/index.cjs +1 -2
  77. package/cjs/refractor/visitors/open-api-3-1/request-body/index.cjs +1 -2
  78. package/cjs/refractor/visitors/open-api-3-1/response/index.cjs +1 -2
  79. package/cjs/refractor/visitors/open-api-3-1/responses/index.cjs +1 -2
  80. package/cjs/refractor/visitors/open-api-3-1/schema/$anchorVisitor.cjs +1 -2
  81. package/cjs/refractor/visitors/open-api-3-1/schema/$commentVisitor.cjs +1 -2
  82. package/cjs/refractor/visitors/open-api-3-1/schema/$defsVisitor.cjs +1 -2
  83. package/cjs/refractor/visitors/open-api-3-1/schema/$dynamicAnchorVisitor.cjs +1 -2
  84. package/cjs/refractor/visitors/open-api-3-1/schema/$dynamicRefVisitor.cjs +1 -2
  85. package/cjs/refractor/visitors/open-api-3-1/schema/$idVisitor.cjs +1 -2
  86. package/cjs/refractor/visitors/open-api-3-1/schema/$refVisitor.cjs +2 -3
  87. package/cjs/refractor/visitors/open-api-3-1/schema/$schemaVisitor.cjs +1 -2
  88. package/cjs/refractor/visitors/open-api-3-1/schema/$vocabularyVisitor.cjs +2 -3
  89. package/cjs/refractor/visitors/open-api-3-1/schema/AllOfVisitor.cjs +2 -3
  90. package/cjs/refractor/visitors/open-api-3-1/schema/AnyOfVisitor.cjs +2 -3
  91. package/cjs/refractor/visitors/open-api-3-1/schema/ConstVisitor.cjs +1 -2
  92. package/cjs/refractor/visitors/open-api-3-1/schema/ContentEncodingVisitor.cjs +1 -2
  93. package/cjs/refractor/visitors/open-api-3-1/schema/ContentMediaTypeVisitor.cjs +1 -2
  94. package/cjs/refractor/visitors/open-api-3-1/schema/DefaultVisitor.cjs +1 -2
  95. package/cjs/refractor/visitors/open-api-3-1/schema/DependentRequiredVisitor.cjs +2 -3
  96. package/cjs/refractor/visitors/open-api-3-1/schema/DependentSchemasVisitor.cjs +1 -2
  97. package/cjs/refractor/visitors/open-api-3-1/schema/DeprecatedVisitor.cjs +1 -2
  98. package/cjs/refractor/visitors/open-api-3-1/schema/DescriptionVisitor.cjs +1 -2
  99. package/cjs/refractor/visitors/open-api-3-1/schema/EnumVisitor.cjs +3 -3
  100. package/cjs/refractor/visitors/open-api-3-1/schema/ExampleVisitor.cjs +1 -2
  101. package/cjs/refractor/visitors/open-api-3-1/schema/ExamplesVisitor.cjs +2 -3
  102. package/cjs/refractor/visitors/open-api-3-1/schema/ExclusiveMaximumVisitor.cjs +1 -2
  103. package/cjs/refractor/visitors/open-api-3-1/schema/ExclusiveMinimumVisitor.cjs +1 -2
  104. package/cjs/refractor/visitors/open-api-3-1/schema/FormatVisitor.cjs +1 -2
  105. package/cjs/refractor/visitors/open-api-3-1/schema/MaxContainsVisitor.cjs +1 -2
  106. package/cjs/refractor/visitors/open-api-3-1/schema/MaxItemsVisitor.cjs +1 -2
  107. package/cjs/refractor/visitors/open-api-3-1/schema/MaxLengthVisitor.cjs +1 -2
  108. package/cjs/refractor/visitors/open-api-3-1/schema/MaxPropertiesVisitor.cjs +1 -2
  109. package/cjs/refractor/visitors/open-api-3-1/schema/MaximumVisitor.cjs +1 -2
  110. package/cjs/refractor/visitors/open-api-3-1/schema/MinContainsVisitor.cjs +1 -2
  111. package/cjs/refractor/visitors/open-api-3-1/schema/MinItemsVisitor.cjs +1 -2
  112. package/cjs/refractor/visitors/open-api-3-1/schema/MinLengthVisitor.cjs +1 -2
  113. package/cjs/refractor/visitors/open-api-3-1/schema/MinPropertiesVisitor.cjs +1 -2
  114. package/cjs/refractor/visitors/open-api-3-1/schema/MinimumVisitor.cjs +1 -2
  115. package/cjs/refractor/visitors/open-api-3-1/schema/MultipleOfVisitor.cjs +1 -2
  116. package/cjs/refractor/visitors/open-api-3-1/schema/OneOfVisitor.cjs +2 -3
  117. package/cjs/refractor/visitors/open-api-3-1/schema/ParentSchemaAwareVisitor.cjs +1 -2
  118. package/cjs/refractor/visitors/open-api-3-1/schema/PatternProperties.cjs +1 -2
  119. package/cjs/refractor/visitors/open-api-3-1/schema/PatternVisitor.cjs +1 -2
  120. package/cjs/refractor/visitors/open-api-3-1/schema/PrefixItemsVisitor.cjs +2 -3
  121. package/cjs/refractor/visitors/open-api-3-1/schema/PropertiesVisitor.cjs +1 -2
  122. package/cjs/refractor/visitors/open-api-3-1/schema/ReadOnlyVisitor.cjs +1 -2
  123. package/cjs/refractor/visitors/open-api-3-1/schema/RequiredVisitor.cjs +2 -3
  124. package/cjs/refractor/visitors/open-api-3-1/schema/TitleVisitor.cjs +1 -2
  125. package/cjs/refractor/visitors/open-api-3-1/schema/TypeVisitor.cjs +3 -4
  126. package/cjs/refractor/visitors/open-api-3-1/schema/UniqueItemsVisitor.cjs +1 -2
  127. package/cjs/refractor/visitors/open-api-3-1/schema/WriteOnlyVisitor.cjs +1 -2
  128. package/cjs/refractor/visitors/open-api-3-1/schema/index.cjs +8 -11
  129. package/cjs/refractor/visitors/open-api-3-1/security-requirement/index.cjs +1 -2
  130. package/cjs/refractor/visitors/open-api-3-1/security-scheme/index.cjs +1 -2
  131. package/cjs/refractor/visitors/open-api-3-1/server/index.cjs +1 -2
  132. package/cjs/refractor/visitors/open-api-3-1/server-variable/index.cjs +1 -2
  133. package/cjs/refractor/visitors/open-api-3-1/tag/index.cjs +1 -2
  134. package/cjs/refractor/visitors/open-api-3-1/xml/index.cjs +1 -2
  135. package/cjs/traversal/visitor.cjs +2 -3
  136. package/dist/apidom-ns-openapi-3-1.browser.js +556 -1774
  137. package/dist/apidom-ns-openapi-3-1.browser.min.js +1 -1
  138. package/es/predicates.mjs +4 -4
  139. package/es/refractor/plugins/normalize-header-examples.mjs +4 -4
  140. package/es/refractor/plugins/normalize-operation-ids.mjs +2 -3
  141. package/es/refractor/plugins/normalize-parameter-examples.mjs +4 -4
  142. package/es/refractor/plugins/replace-empty-element.mjs +7 -8
  143. package/es/refractor/visitors/open-api-3-1/JsonSchemaDialectVisitor.mjs +2 -2
  144. package/es/refractor/visitors/open-api-3-1/WebhooksVisitor.mjs +2 -1
  145. package/es/refractor/visitors/open-api-3-1/schema/$refVisitor.mjs +2 -2
  146. package/es/refractor/visitors/open-api-3-1/schema/$vocabularyVisitor.mjs +2 -2
  147. package/es/refractor/visitors/open-api-3-1/schema/AllOfVisitor.mjs +2 -2
  148. package/es/refractor/visitors/open-api-3-1/schema/AnyOfVisitor.mjs +2 -2
  149. package/es/refractor/visitors/open-api-3-1/schema/DependentRequiredVisitor.mjs +2 -2
  150. package/es/refractor/visitors/open-api-3-1/schema/EnumVisitor.mjs +2 -1
  151. package/es/refractor/visitors/open-api-3-1/schema/ExamplesVisitor.mjs +2 -2
  152. package/es/refractor/visitors/open-api-3-1/schema/OneOfVisitor.mjs +2 -2
  153. package/es/refractor/visitors/open-api-3-1/schema/PrefixItemsVisitor.mjs +2 -2
  154. package/es/refractor/visitors/open-api-3-1/schema/RequiredVisitor.mjs +2 -2
  155. package/es/refractor/visitors/open-api-3-1/schema/TypeVisitor.mjs +3 -3
  156. package/es/refractor/visitors/open-api-3-1/schema/index.mjs +8 -10
  157. package/package.json +5 -5
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsOpenApi3_1=t():e.apidomNsOpenApi3_1=t()}(self,(()=>(()=>{var e={42:(e,t,n)=>{var s=n(5846);e.exports=s},6791:(e,t,n)=>{n(4339),n(4242),n(4016),n(8939),n(5454);var s=n(7545);e.exports=s.AggregateError},6762:(e,t,n)=>{e.exports=n(3028)},3028:(e,t,n)=>{n(2752);var s=n(42);e.exports=s},6235:(e,t,n)=>{var s=n(6447),r=n(9288),i=TypeError;e.exports=function(e){if(s(e))return e;throw i(r(e)+" is not a function")}},7757:(e,t,n)=>{var s=n(6447),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||s(e))return e;throw i("Can't set "+r(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,n)=>{var s=n(5744),r=String,i=TypeError;e.exports=function(e){if(s(e))return e;throw i(r(e)+" is not an object")}},8180:(e,t,n)=>{var s=n(101),r=n(7739),i=n(4104),o=function(e){return function(t,n,o){var a,c=s(t),l=i(c),u=r(o,l);if(e&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,n)=>{var s=n(4120),r=s({}.toString),i=s("".slice);e.exports=function(e){return i(r(e),8,-1)}},4696:(e,t,n)=>{var s=n(3471),r=n(6447),i=n(9272),o=n(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());e.exports=s?i:function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:c?i(t):"Object"==(s=i(t))&&r(t.callee)?"Arguments":s}},7987:(e,t,n)=>{var s=n(4500),r=n(3011),i=n(5141),o=n(2454);e.exports=function(e,t,n){for(var a=r(t),c=o.f,l=i.f,u=0;u<a.length;u++){var p=a[u];s(e,p)||n&&s(n,p)||c(e,p,l(t,p))}}},4635:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{var s=n(69),r=n(2454),i=n(774);e.exports=s?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,n)=>{var s=n(8711);e.exports=function(e,t,n,r){return r&&r.enumerable?e[t]=n:s(e,t,n),e}},5098:(e,t,n)=>{var s=n(8576),r=Object.defineProperty;e.exports=function(e,t){try{r(s,e,{value:t,configurable:!0,writable:!0})}catch(n){s[e]=t}return t}},69:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{var s=n(8576),r=n(5744),i=s.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},7365:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8989:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{var s,r,i=n(8576),o=n(8989),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(r=(s=u.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!r&&o&&(!(s=o.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=o.match(/Chrome\/(\d+)/))&&(r=+s[1]),e.exports=r},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,n)=>{var s=n(4120),r=Error,i=s("".replace),o=String(r("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},8266:(e,t,n)=>{var s=n(8711),r=n(4503),i=n(274),o=Error.captureStackTrace;e.exports=function(e,t,n,a){i&&(o?o(e,t):s(e,"stack",r(n,a)))}},274:(e,t,n)=>{var s=n(6192),r=n(774);e.exports=!s((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},3085:(e,t,n)=>{"use strict";var s=n(8576),r=n(6298),i=n(4914),o=n(6447),a=n(5141).f,c=n(9245),l=n(7545),u=n(8043),p=n(8711),m=n(4500),h=function(e){var t=function(n,s,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,s)}return new e(n,s,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,r,f,d,y,g,v,b,E,x=e.target,j=e.global,O=e.stat,S=e.proto,w=j?s:O?s[x]:(s[x]||{}).prototype,P=j?l:l[x]||p(l,x,{})[x],A=P.prototype;for(d in t)r=!(n=c(j?d:x+(O?".":"#")+d,e.forced))&&w&&m(w,d),g=P[d],r&&(v=e.dontCallGetSet?(E=a(w,d))&&E.value:w[d]),y=r&&v?v:t[d],r&&typeof g==typeof y||(b=e.bind&&r?u(y,s):e.wrap&&r?h(y):S&&o(y)?i(y):y,(e.sham||y&&y.sham||g&&g.sham)&&p(b,"sham",!0),p(P,d,b),S&&(m(l,f=x+"Prototype")||p(l,f,{}),p(l[f],d,y),e.real&&A&&(n||!A[d])&&p(A,d,y)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{var s=n(2784),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(s?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{var s=n(4914),r=n(6235),i=n(2784),o=s(s.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{var s=n(2784),r=Function.prototype.call;e.exports=s?r.bind(r):function(){return r.apply(r,arguments)}},2282:(e,t,n)=>{var s=n(69),r=n(4500),i=Function.prototype,o=s&&Object.getOwnPropertyDescriptor,a=r(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!s||s&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},6419:(e,t,n)=>{var s=n(4120),r=n(6235);e.exports=function(e,t,n){try{return s(r(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{var s=n(9272),r=n(4120);e.exports=function(e){if("Function"===s(e))return r(e)}},4120:(e,t,n)=>{var s=n(2784),r=Function.prototype,i=r.call,o=s&&r.bind.bind(i,i);e.exports=s?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{var s=n(7545),r=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(s[e])||o(r[e]):s[e]&&s[e][t]||r[e]&&r[e][t]}},8703:(e,t,n)=>{var s=n(4696),r=n(5037),i=n(5646),o=n(7771),a=n(8182)("iterator");e.exports=function(e){if(!i(e))return r(e,a)||r(e,"@@iterator")||o[s(e)]}},1669:(e,t,n)=>{var s=n(8922),r=n(6235),i=n(1138),o=n(9288),a=n(8703),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(r(n))return i(s(n,e));throw c(o(e)+" is not iterable")}},5037:(e,t,n)=>{var s=n(6235),r=n(5646);e.exports=function(e,t){var n=e[t];return r(n)?void 0:s(n)}},8576:function(e,t,n){var s=function(e){return e&&e.Math==Math&&e};e.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,n)=>{var s=n(4120),r=n(1795),i=s({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},4535:e=>{e.exports={}},7403:(e,t,n)=>{var s=n(150);e.exports=s("document","documentElement")},188:(e,t,n)=>{var s=n(69),r=n(6192),i=n(7449);e.exports=!s&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{var s=n(4120),r=n(6192),i=n(9272),o=Object,a=s("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o},2643:(e,t,n)=>{var s=n(6447),r=n(5744),i=n(4469);e.exports=function(e,t,n){var o,a;return i&&s(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},273:(e,t,n)=>{var s=n(5744),r=n(8711);e.exports=function(e,t){s(t)&&"cause"in t&&r(e,"cause",t.cause)}},3326:(e,t,n)=>{var s,r,i,o=n(5278),a=n(8576),c=n(5744),l=n(8711),u=n(4500),p=n(6434),m=n(9766),h=n(4535),f="Object already initialized",d=a.TypeError,y=a.WeakMap;if(o||p.state){var g=p.state||(p.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,s=function(e,t){if(g.has(e))throw d(f);return t.facade=e,g.set(e,t),t},r=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var v=m("state");h[v]=!0,s=function(e,t){if(u(e,v))throw d(f);return t.facade=e,l(e,v,t),t},r=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:s,get:r,has:i,enforce:function(e){return i(e)?r(e):s(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw d("Incompatible receiver, "+e+" required");return n}}}},6109:(e,t,n)=>{var s=n(8182),r=n(7771),i=s("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},6447:(e,t,n)=>{var s=n(8382),r=s.all;e.exports=s.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},9245:(e,t,n)=>{var s=n(6192),r=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n==u||n!=l&&(r(t)?s(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,n)=>{var s=n(6447),r=n(8382),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:s(e)||e===i}:function(e){return"object"==typeof e?null!==e:s(e)}},5546:e=>{e.exports=!0},3236:(e,t,n)=>{var s=n(150),r=n(6447),i=n(8902),o=n(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return r(t)&&i(t.prototype,a(e))}},3442:(e,t,n)=>{var s=n(8043),r=n(8922),i=n(1138),o=n(9288),a=n(6109),c=n(4104),l=n(8902),u=n(1669),p=n(8703),m=n(6639),h=TypeError,f=function(e,t){this.stopped=e,this.result=t},d=f.prototype;e.exports=function(e,t,n){var y,g,v,b,E,x,j,O=n&&n.that,S=!(!n||!n.AS_ENTRIES),w=!(!n||!n.IS_RECORD),P=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),k=s(t,O),C=function(e){return y&&m(y,"normal",e),new f(!0,e)},_=function(e){return S?(i(e),A?k(e[0],e[1],C):k(e[0],e[1])):A?k(e,C):k(e)};if(w)y=e.iterator;else if(P)y=e;else{if(!(g=p(e)))throw h(o(e)+" is not iterable");if(a(g)){for(v=0,b=c(e);b>v;v++)if((E=_(e[v]))&&l(d,E))return E;return new f(!1)}y=u(e,g)}for(x=w?e.next:y.next;!(j=r(x,y)).done;){try{E=_(j.value)}catch(e){m(y,"throw",e)}if("object"==typeof E&&E&&l(d,E))return E}return new f(!1)}},6639:(e,t,n)=>{var s=n(8922),r=n(1138),i=n(5037);e.exports=function(e,t,n){var o,a;r(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=s(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return r(o),n}},5695:(e,t,n)=>{"use strict";var s=n(4413).IteratorPrototype,r=n(2853),i=n(774),o=n(1284),a=n(7771),c=function(){return this};e.exports=function(e,t,n,l){var u=t+" Iterator";return e.prototype=r(s,{next:i(+!l,n)}),o(e,u,!1,!0),a[u]=c,e}},5297:(e,t,n)=>{"use strict";var s=n(3085),r=n(8922),i=n(5546),o=n(2282),a=n(6447),c=n(5695),l=n(9341),u=n(4469),p=n(1284),m=n(8711),h=n(9362),f=n(8182),d=n(7771),y=n(4413),g=o.PROPER,v=o.CONFIGURABLE,b=y.IteratorPrototype,E=y.BUGGY_SAFARI_ITERATORS,x=f("iterator"),j="keys",O="values",S="entries",w=function(){return this};e.exports=function(e,t,n,o,f,y,P){c(n,t,o);var A,k,C,_=function(e){if(e===f&&$)return $;if(!E&&e in M)return M[e];switch(e){case j:case O:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},R=t+" Iterator",T=!1,M=e.prototype,I=M[x]||M["@@iterator"]||f&&M[f],$=!E&&I||_(f),q="Array"==t&&M.entries||I;if(q&&(A=l(q.call(new e)))!==Object.prototype&&A.next&&(i||l(A)===b||(u?u(A,b):a(A[x])||h(A,x,w)),p(A,R,!0,!0),i&&(d[R]=w)),g&&f==O&&I&&I.name!==O&&(!i&&v?m(M,"name",O):(T=!0,$=function(){return r(I,this)})),f)if(k={values:_(O),keys:y?$:_(j),entries:_(S)},P)for(C in k)(E||T||!(C in M))&&h(M,C,k[C]);else s({target:t,proto:!0,forced:E||T},k);return i&&!P||M[x]===$||h(M,x,$,{name:f}),d[t]=$,k}},4413:(e,t,n)=>{"use strict";var s,r,i,o=n(6192),a=n(6447),c=n(5744),l=n(2853),u=n(9341),p=n(9362),m=n(8182),h=n(5546),f=m("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(r=u(u(i)))!==Object.prototype&&(s=r):d=!0),!c(s)||o((function(){var e={};return s[f].call(e)!==e}))?s={}:h&&(s=l(s)),a(s[f])||p(s,f,(function(){return this})),e.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:d}},7771:e=>{e.exports={}},4104:(e,t,n)=>{var s=n(8445);e.exports=function(e){return s(e.length)}},7679:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var s=+e;return(s>0?n:t)(s)}},6016:(e,t,n)=>{var s=n(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:s(e)}},2853:(e,t,n)=>{var s,r=n(1138),i=n(1187),o=n(2952),a=n(4535),c=n(7403),l=n(7449),u=n(9766),p="prototype",m="script",h=u("IE_PROTO"),f=function(){},d=function(e){return"<"+m+">"+e+"</"+m+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{s=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;g="undefined"!=typeof document?document.domain&&s?y(s):(t=l("iframe"),n="java"+m+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(s);for(var r=o.length;r--;)delete g[p][o[r]];return g()};a[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[p]=r(e),n=new f,f[p]=null,n[h]=e):n=g(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{var s=n(69),r=n(9600),i=n(2454),o=n(1138),a=n(101),c=n(7653);t.f=s&&!r?Object.defineProperties:function(e,t){o(e);for(var n,s=a(t),r=c(t),l=r.length,u=0;l>u;)i.f(e,n=r[u++],s[n]);return e}},2454:(e,t,n)=>{var s=n(69),r=n(188),i=n(9600),o=n(1138),a=n(77),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",m="configurable",h="writable";t.f=s?i?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var s=u(e,t);s&&s[h]&&(e[t]=n.value,n={configurable:m in n?n[m]:s[m],enumerable:p in n?n[p]:s[p],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(o(e),t=a(t),o(n),r)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5141:(e,t,n)=>{var s=n(69),r=n(8922),i=n(6007),o=n(774),a=n(101),c=n(77),l=n(4500),u=n(188),p=Object.getOwnPropertyDescriptor;t.f=s?p:function(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return o(!r(i.f,e,t),e[t])}},2092:(e,t,n)=>{var s=n(7934),r=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return s(e,r)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{var s=n(4500),r=n(6447),i=n(1795),o=n(9766),a=n(4635),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(s(t,c))return t[c];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof l?u:null}},8902:(e,t,n)=>{var s=n(4120);e.exports=s({}.isPrototypeOf)},7934:(e,t,n)=>{var s=n(4120),r=n(4500),i=n(101),o=n(8180).indexOf,a=n(4535),c=s([].push);e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&c(u,n);for(;t.length>l;)r(s,n=t[l++])&&(~o(u,n)||c(u,n));return u}},7653:(e,t,n)=>{var s=n(7934),r=n(2952);e.exports=Object.keys||function(e){return s(e,r)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,r=s&&!n.call({1:2},1);t.f=r?function(e){var t=s(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{var s=n(6419),r=n(1138),i=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=s(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,s){return r(n),i(s),t?e(n,s):n.__proto__=s,n}}():void 0)},158:(e,t,n)=>{"use strict";var s=n(3471),r=n(4696);e.exports=s?{}.toString:function(){return"[object "+r(this)+"]"}},380:(e,t,n)=>{var s=n(8922),r=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&r(n=e.toString)&&!i(a=s(n,e)))return a;if(r(n=e.valueOf)&&!i(a=s(n,e)))return a;if("string"!==t&&r(n=e.toString)&&!i(a=s(n,e)))return a;throw o("Can't convert object to primitive value")}},3011:(e,t,n)=>{var s=n(150),r=n(4120),i=n(2092),o=n(4750),a=n(1138),c=r([].concat);e.exports=s("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?c(t,n(e)):t}},7545:e=>{e.exports={}},7656:(e,t,n)=>{var s=n(2454).f;e.exports=function(e,t,n){n in e||s(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},3209:(e,t,n)=>{var s=n(5646),r=TypeError;e.exports=function(e){if(s(e))throw r("Can't call method on "+e);return e}},1284:(e,t,n)=>{var s=n(3471),r=n(2454).f,i=n(8711),o=n(4500),a=n(158),c=n(8182)("toStringTag");e.exports=function(e,t,n,l){if(e){var u=n?e:e.prototype;o(u,c)||r(u,c,{configurable:!0,value:t}),l&&!s&&i(u,"toString",a)}}},9766:(e,t,n)=>{var s=n(8717),r=n(2759),i=s("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},6434:(e,t,n)=>{var s=n(8576),r=n(5098),i="__core-js_shared__",o=s[i]||r(i,{});e.exports=o},8717:(e,t,n)=>{var s=n(5546),r=n(6434);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:s?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{var s=n(4120),r=n(1941),i=n(4845),o=n(3209),a=s("".charAt),c=s("".charCodeAt),l=s("".slice),u=function(e){return function(t,n){var s,u,p=i(o(t)),m=r(n),h=p.length;return m<0||m>=h?e?"":void 0:(s=c(p,m))<55296||s>56319||m+1===h||(u=c(p,m+1))<56320||u>57343?e?a(p,m):s:e?l(p,m,m+2):u-56320+(s-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},6770:(e,t,n)=>{var s=n(4218),r=n(6192),i=n(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&s&&s<41}))},7739:(e,t,n)=>{var s=n(1941),r=Math.max,i=Math.min;e.exports=function(e,t){var n=s(e);return n<0?r(n+t,0):i(n,t)}},101:(e,t,n)=>{var s=n(2202),r=n(3209);e.exports=function(e){return s(r(e))}},1941:(e,t,n)=>{var s=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:s(t)}},8445:(e,t,n)=>{var s=n(1941),r=Math.min;e.exports=function(e){return e>0?r(s(e),9007199254740991):0}},1795:(e,t,n)=>{var s=n(3209),r=Object;e.exports=function(e){return r(s(e))}},7888:(e,t,n)=>{var s=n(8922),r=n(5744),i=n(3236),o=n(5037),a=n(380),c=n(8182),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var n,c=o(e,u);if(c){if(void 0===t&&(t="default"),n=s(c,e,t),!r(n)||i(n))return n;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,n)=>{var s=n(7888),r=n(3236);e.exports=function(e){var t=s(e,"string");return r(t)?t:t+""}},3471:(e,t,n)=>{var s={};s[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(s)},4845:(e,t,n)=>{var s=n(4696),r=String;e.exports=function(e){if("Symbol"===s(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{var s=n(4120),r=0,i=Math.random(),o=s(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},615:(e,t,n)=>{var s=n(6770);e.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{var s=n(69),r=n(6192);e.exports=s&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{var s=n(8576),r=n(6447),i=s.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},8182:(e,t,n)=>{var s=n(8576),r=n(8717),i=n(4500),o=n(2759),a=n(6770),c=n(615),l=s.Symbol,u=r("wks"),p=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:p("Symbol."+e)),u[e]}},426:(e,t,n)=>{"use strict";var s=n(150),r=n(4500),i=n(8711),o=n(8902),a=n(4469),c=n(7987),l=n(7656),u=n(2643),p=n(6016),m=n(273),h=n(8266),f=n(69),d=n(5546);e.exports=function(e,t,n,y){var g="stackTraceLimit",v=y?2:1,b=e.split("."),E=b[b.length-1],x=s.apply(null,b);if(x){var j=x.prototype;if(!d&&r(j,"cause")&&delete j.cause,!n)return x;var O=s("Error"),S=t((function(e,t){var n=p(y?t:e,void 0),s=y?new x(e):new x;return void 0!==n&&i(s,"message",n),h(s,S,s.stack,2),this&&o(j,this)&&u(s,this,S),arguments.length>v&&m(s,arguments[v]),s}));if(S.prototype=j,"Error"!==E?a?a(S,O):c(S,O,{name:!0}):f&&g in x&&(l(S,x,g),l(S,x,"prepareStackTrace")),c(S,x),!d)try{j.name!==E&&i(j,"name",E),j.constructor=S}catch(e){}return S}}},4016:(e,t,n)=>{var s=n(3085),r=n(150),i=n(6298),o=n(6192),a=n(426),c="AggregateError",l=r(c),u=!o((function(){return 1!==l([1]).errors[0]}))&&o((function(){return 7!==l([1],c,{cause:7}).cause}));s({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:a(c,(function(e){return function(t,n){return i(e,this,arguments)}}),u,!0)})},3820:(e,t,n)=>{"use strict";var s=n(3085),r=n(8902),i=n(9341),o=n(4469),a=n(7987),c=n(2853),l=n(8711),u=n(774),p=n(273),m=n(8266),h=n(3442),f=n(6016),d=n(8182)("toStringTag"),y=Error,g=[].push,v=function(e,t){var n,s=r(b,this);o?n=o(y(),s?i(this):b):(n=s?this:c(b),l(n,d,"Error")),void 0!==t&&l(n,"message",f(t)),m(n,v,n.stack,1),arguments.length>2&&p(n,arguments[2]);var a=[];return h(e,g,{that:a}),l(n,"errors",a),n};o?o(v,y):a(v,y,{name:!0});var b=v.prototype=c(y.prototype,{constructor:u(1,v),message:u(1,""),name:u(1,"AggregateError")});s({global:!0,constructor:!0,arity:2},{AggregateError:v})},4242:(e,t,n)=>{n(3820)},8939:(e,t,n)=>{"use strict";var s=n(101),r=n(7423),i=n(7771),o=n(3326),a=n(2454).f,c=n(5297),l=n(7271),u=n(5546),p=n(69),m="Array Iterator",h=o.set,f=o.getterFor(m);e.exports=c(Array,"Array",(function(e,t){h(this,{type:m,target:s(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,s=e.index++;return!t||s>=t.length?(e.target=void 0,l(void 0,!0)):l("keys"==n?s:"values"==n?t[s]:[s,t[s]],!1)}),"values");var d=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!u&&p&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},4339:(e,t,n)=>{var s=n(3085),r=n(8576),i=n(6298),o=n(426),a="WebAssembly",c=r[a],l=7!==Error("e",{cause:7}).cause,u=function(e,t){var n={};n[e]=o(e,t,l),s({global:!0,constructor:!0,arity:1,forced:l},n)},p=function(e,t){if(c&&c[e]){var n={};n[e]=o(a+"."+e,t,l),s({target:a,stat:!0,constructor:!0,arity:1,forced:l},n)}};u("Error",(function(e){return function(t){return i(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),u("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},5454:(e,t,n)=>{"use strict";var s=n(863).charAt,r=n(4845),i=n(3326),o=n(5297),a=n(7271),c="String Iterator",l=i.set,u=i.getterFor(c);o(String,"String",(function(e){l(this,{type:c,string:r(e),index:0})}),(function(){var e,t=u(this),n=t.string,r=t.index;return r>=n.length?a(void 0,!0):(e=s(n,r),t.index+=e.length,a(e,!1))}))},2752:(e,t,n)=>{n(4242)},162:(e,t,n)=>{n(8939);var s=n(7365),r=n(8576),i=n(4696),o=n(8711),a=n(7771),c=n(8182)("toStringTag");for(var l in s){var u=r[l],p=u&&u.prototype;p&&i(p)!==c&&o(p,c,l),a[l]=a.Array}},5846:(e,t,n)=>{n(2752);var s=n(6791);n(162),e.exports=s},9515:(e,t,n)=>{var s=n(8761)(n(7772),"DataView");e.exports=s},9612:(e,t,n)=>{var s=n(2118),r=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var s=n(3945),r=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var s=n(8761)(n(7772),"Map");e.exports=s},6738:(e,t,n)=>{var s=n(2411),r=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,n)=>{var s=n(8761)(n(7772),"Promise");e.exports=s},2143:(e,t,n)=>{var s=n(8761)(n(7772),"Set");e.exports=s},5386:(e,t,n)=>{var s=n(6738),r=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new s;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var s=n(235),r=n(5243),i=n(2858),o=n(4417),a=n(8605),c=n(1418);function l(e){var t=this.__data__=new s(e);this.size=t.size}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=c,e.exports=l},857:(e,t,n)=>{var s=n(7772).Symbol;e.exports=s},9162:(e,t,n)=>{var s=n(7772).Uint8Array;e.exports=s},3215:(e,t,n)=>{var s=n(8761)(n(7772),"WeakMap");e.exports=s},7552:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length,r=0,i=[];++n<s;){var o=e[n];t(o,n,e)&&(i[r++]=o)}return i}},1634:(e,t,n)=>{var s=n(6473),r=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&r(e),p=!n&&!u&&o(e),m=!n&&!u&&!p&&c(e),h=n||u||p||m,f=h?s(e.length,String):[],d=f.length;for(var y in e)!t&&!l.call(e,y)||h&&("length"==y||p&&("offset"==y||"parent"==y)||m&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,d))||f.push(y);return f}},5067:e=>{e.exports=function(e,t){for(var n=-1,s=t.length,r=e.length;++n<s;)e[r+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length;++n<s;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var s=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(s(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var s=n(5067),r=n(6152);e.exports=function(e,t,n){var i=t(e);return r(e)?i:s(i,n(e))}},3366:(e,t,n)=>{var s=n(857),r=n(2107),i=n(7157),o=s?s.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},5183:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return r(e)&&"[object Arguments]"==s(e)}},8746:(e,t,n)=>{var s=n(1952),r=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:s(t,n,i,o,e,a))}},1952:(e,t,n)=>{var s=n(6571),r=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),l=n(3226),u=n(7598),p="[object Arguments]",m="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,y,g){var v=c(e),b=c(t),E=v?m:a(e),x=b?m:a(t),j=(E=E==p?h:E)==h,O=(x=x==p?h:x)==h,S=E==x;if(S&&l(e)){if(!l(t))return!1;v=!0,j=!1}if(S&&!j)return g||(g=new s),v||u(e)?r(e,t,n,d,y,g):i(e,t,E,n,d,y,g);if(!(1&n)){var w=j&&f.call(e,"__wrapped__"),P=O&&f.call(t,"__wrapped__");if(w||P){var A=w?e.value():e,k=P?t.value():t;return g||(g=new s),y(A,k,n,d,g)}}return!!S&&(g||(g=new s),o(e,t,n,d,y,g))}},6840:(e,t,n)=>{var s=n(1049),r=n(7394),i=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,m=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(s(e)?m:a).test(o(e))}},5522:(e,t,n)=>{var s=n(3366),r=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!o[s(e)]}},6411:(e,t,n)=>{var s=n(6001),r=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!s(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,s=Array(e);++n<e;)s[n]=t(n);return s}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var s=n(7772)["__core-js_shared__"];e.exports=s},4871:(e,t,n)=>{var s=n(5386),r=n(7064),i=n(9950);e.exports=function(e,t,n,o,a,c){var l=1&n,u=e.length,p=t.length;if(u!=p&&!(l&&p>u))return!1;var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var f=-1,d=!0,y=2&n?new s:void 0;for(c.set(e,t),c.set(t,e);++f<u;){var g=e[f],v=t[f];if(o)var b=l?o(v,g,f,t,e,c):o(g,v,f,e,t,c);if(void 0!==b){if(b)continue;d=!1;break}if(y){if(!r(t,(function(e,t){if(!i(y,t)&&(g===e||a(g,e,n,o,c)))return y.push(t)}))){d=!1;break}}else if(g!==v&&!a(g,v,n,o,c)){d=!1;break}}return c.delete(e),c.delete(t),d}},1491:(e,t,n)=>{var s=n(857),r=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),l=s?s.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,n,s,l,p,m){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var f=1&s;if(h||(h=c),e.size!=t.size&&!f)return!1;var d=m.get(e);if(d)return d==t;s|=2,m.set(e,t);var y=o(h(e),h(t),s,l,p,m);return m.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},7416:(e,t,n)=>{var s=n(3483),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,a){var c=1&n,l=s(e),u=l.length;if(u!=s(t).length&&!c)return!1;for(var p=u;p--;){var m=l[p];if(!(c?m in t:r.call(t,m)))return!1}var h=a.get(e),f=a.get(t);if(h&&f)return h==t&&f==e;var d=!0;a.set(e,t),a.set(t,e);for(var y=c;++p<u;){var g=e[m=l[p]],v=t[m];if(i)var b=c?i(v,g,m,t,e,a):i(g,v,m,e,t,a);if(!(void 0===b?g===v||o(g,v,n,i,a):b)){d=!1;break}y||(y="constructor"==m)}if(d&&!y){var E=e.constructor,x=t.constructor;E==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof x&&x instanceof x||(d=!1)}return a.delete(e),a.delete(t),d}},1242:(e,t,n)=>{var s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=s},3483:(e,t,n)=>{var s=n(1897),r=n(633),i=n(249);e.exports=function(e){return s(e,i,r)}},7937:(e,t,n)=>{var s=n(8304);e.exports=function(e,t){var n=e.__data__;return s(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var s=n(6840),r=n(8109);e.exports=function(e,t){var n=r(e,t);return s(n)?n:void 0}},2107:(e,t,n)=>{var s=n(857),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=s?s.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var s=!0}catch(e){}var r=o.call(e);return s&&(t?e[a]=n:delete e[a]),r}},633:(e,t,n)=>{var s=n(7552),r=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),s(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},940:(e,t,n)=>{var s=n(9515),r=n(326),i=n(2760),o=n(2143),a=n(3215),c=n(3366),l=n(7035),u="[object Map]",p="[object Promise]",m="[object Set]",h="[object WeakMap]",f="[object DataView]",d=l(s),y=l(r),g=l(i),v=l(o),b=l(a),E=c;(s&&E(new s(new ArrayBuffer(1)))!=f||r&&E(new r)!=u||i&&E(i.resolve())!=p||o&&E(new o)!=m||a&&E(new a)!=h)&&(E=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,s=n?l(n):"";if(s)switch(s){case d:return f;case y:return u;case g:return p;case v:return m;case b:return h}return t}),e.exports=E},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var s=n(9191);e.exports=function(){this.__data__=s?s(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(s){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return s?void 0!==t[e]:r.call(t,e)}},7942:(e,t,n)=>{var s=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=s&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var s=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==s||"symbol"!=s&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var s,r=n(4019),i=(s=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var s=n(2218),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=s(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var s=n(2218);e.exports=function(e){var t=this.__data__,n=s(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var s=n(2218);e.exports=function(e){return s(this.__data__,e)>-1}},4769:(e,t,n)=>{var s=n(2218);e.exports=function(e,t){var n=this.__data__,r=s(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},2411:(e,t,n)=>{var s=n(9612),r=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new s,map:new(i||r),string:new s}}},6417:(e,t,n)=>{var s=n(7937);e.exports=function(e){var t=s(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).get(e)}},9493:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).has(e)}},4150:(e,t,n)=>{var s=n(7937);e.exports=function(e,t){var n=s(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,s){n[++t]=[s,e]})),n}},9191:(e,t,n)=>{var s=n(8761)(Object,"create");e.exports=s},4248:(e,t,n)=>{var s=n(241)(Object.keys,Object);e.exports=s},4146:(e,t,n)=>{e=n.nmd(e);var s=n(1242),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&s.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var s=n(1242),r="object"==typeof self&&self&&self.Object===Object&&self,i=s||r||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var s=n(235);e.exports=function(){this.__data__=new s,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var s=n(235),r=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof s){var o=n.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var s=n(5183),r=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=s(function(){return arguments}())?s:function(e){return r(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var s=n(1049),r=n(1158);e.exports=function(e){return null!=e&&r(e.length)&&!s(e)}},4335:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==s(e)}},3226:(e,t,n)=>{e=n.nmd(e);var s=n(7772),r=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?s.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;e.exports=c},8149:(e,t,n)=>{var s=n(8746);e.exports=function(e,t){return s(e,t)}},1049:(e,t,n)=>{var s=n(3366),r=n(9259);e.exports=function(e){if(!r(e))return!1;var t=s(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==s(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var s=n(3366),r=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==s(e)}},7598:(e,t,n)=>{var s=n(5522),r=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?r(o):s;e.exports=a},249:(e,t,n)=>{var s=n(1634),r=n(6411),i=n(7878);e.exports=function(e){return i(e)?s(e):r(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const s=n(1570);function r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(s(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const s=n(5877),r=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),l=n(3756);class u{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=l.Element,this.KeyValuePair=l.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",l.NullElement).register("string",l.StringElement).register("number",l.NumberElement).register("boolean",l.BooleanElement).register("array",l.ArrayElement).register("object",l.ObjectElement).register("member",l.MemberElement).register("ref",l.RefElement).register("link",l.LinkElement),this.detect(s,l.NullElement,!1).detect(r,l.StringElement,!1).detect(i,l.NumberElement,!1).detect(o,l.BooleanElement,!1).detect(Array.isArray,l.ArrayElement,!1).detect(a,l.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const s=this.elementDetection[n][0],r=this.elementDetection[n][1];if(s(e)){t=new r(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=u,e.exports=u},3853:(e,t,n)=>{const s=n(1570),r=n(1178);class i extends r{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(s(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,s)=>{e.bind(t)(n.value,n.key,n,s)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const s=n(6420),r=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),l=n(8858),u=n(3860),p=n(5202),m=n(2320),h=n(1178),f=n(3853),d=n(3026);function y(e){if(e instanceof s)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new r;if(Array.isArray(e))return new c(e.map(y));if("object"==typeof e){return new u(e)}return e}s.prototype.ObjectElement=u,s.prototype.RefElement=m,s.prototype.MemberElement=l,s.prototype.refract=y,h.prototype.refract=y,e.exports={Element:s,NullElement:r,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:l,ObjectElement:u,LinkElement:p,RefElement:m,refract:y,ArraySlice:h,ObjectSlice:f,KeyValuePair:d}},5202:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const s=n(5140),r=n(3756);t.lS=s,n(3026),r.ArraySlice,r.ObjectSlice,t.W_=r.Element,t.RP=r.StringElement,t.VL=r.NumberElement,t.hh=r.BooleanElement,t.zr=r.NullElement,t.ON=r.ArrayElement,t.Sb=r.ObjectElement,t.c6=r.MemberElement,t.tK=r.RefElement,t.EA=r.LinkElement,t.Qc=r.refract,n(2947),n(8910)},1641:(e,t,n)=>{const s=n(1570),r=n(6420),i=n(1178);class o extends r{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(s(e),t)}reduce(e,t){let n,s;void 0!==t?(n=0,s=this.refract(t)):(n=1,s="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];s="object"===this.primitive()?this.refract(e(s,n.value,n.key,n,this)):this.refract(e(s,n,t,this))}return s}forEach(e,t){this.content.forEach(((n,s)=>{e.bind(t)(n,this.refract(s))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},s=!!n.recursive,r=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{s&&void 0!==t.findElements&&t.findElements(e,{results:r,recursive:s}),e(t,n,i)&&r.push(t)})),r}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const s=n(8149),r=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof r?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const s=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(s,e),n.content instanceof r&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const s=e[t],r=n.indexOf(s);if(-1===r)return!1;n=n.splice(0,r)}return!0}))),n}set(e){return this.content=e,this}equals(e){return s(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const s=n(3026),r=n(6420);e.exports=class extends r{constructor(e,t,n,r){super(new s,n,r),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const s=n(1570),r=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(r(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,s=this.getMember(n);return s?s.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((s,r,i)=>{const o=e.bind(t)(s,r,i);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(s(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const s=n(2947);e.exports=class extends s{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const s="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(s){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:s}=e;s.get("metadata")&&(s=s.clone(),s.set("meta",s.get("metadata")),s.remove("metadata")),"member"===e.element&&t&&(s=s.clone(),s.remove("variable")),s.length>0&&(n.attributes=this.serialiseObject(s))}if(s)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let s;t&&e.content.key?(s=e.content.clone(),s.key.attributes.set("variable",t),s=this.serialiseContent(s)):s=this.serialiseContent(e.content),this.shouldSerialiseContent(e,s)&&(n.content=s)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),s=t.get("default");let r=t.get("samples")||new this.namespace.elements.Array([]);if(s&&s.content&&(s.content.attributes&&s.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([s.content]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const s=this.deserialiseContent(e.content);if(void 0===s&&null!==n.content||(n.content=s),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const s=e;e=new this.namespace.elements.Array,s.forEach((s=>{s.forEach((s=>{const r=new t(s);r.element=n.element,e.push(r)}))}));const r=e.shift();n.content=r?r.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let s=n.attributes.get("default");if(s&&s.length>0){s=s.get(0);const e=new t(s);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const s=n.toValue();t[s]=this.convertKeyToRefract(s,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,s,r,i,o="properties",a="deepProperties",c="propertyDescriptors",l="staticProperties",u="staticDeepProperties",p="staticPropertyDescriptors",m="configuration",h="deepConfiguration",f="deepProps",d="deepStatics",y="deepConf",g="initializers",v="methods",b="composers",E="compose";function x(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function j(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var O=j.bind(0,(function(e,t){if(t)for(var n=x(t),s=0;s<n.length;s+=1)Object.defineProperty(e,n[s],Object.getOwnPropertyDescriptor(t,n[s]));return e}));function S(e){return"function"==typeof e}function w(e){return e&&"object"==typeof e||S(e)}function P(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var A=j.bind(0,(function e(n,s){if(s===t)return n;if(Array.isArray(s))return(Array.isArray(n)?n:[]).concat(s);if(!P(s))return s;for(var r,i,o=x(s),a=0;a<o.length;)r=o[a++],(i=Object.getOwnPropertyDescriptor(s,r)).hasOwnProperty("value")?i.value!==t&&(n[r]=e(P(n[r])||Array.isArray(s[r])?n[r]:{},s[r])):Object.defineProperty(n,r,i);return n}));function k(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return S(e)&&n.indexOf(e)===t}))).length?n:t}function C(e,t){function s(n,s){w(t[n])&&(w(e[n])||(e[n]={}),(s||O)(e[n],t[n]))}function r(s){(n=k(e[s],t[s]))&&(e[s]=n)}return t&&w(t=t[E]||t)&&(s(v),s(o),s(a,A),s(c),s(l),s(u,A),s(p),s(m),s(h,A),r(g),r(b)),e}function _(){return function(e){return n=function e(n){var s,r,i=e[E]||{},l={__proto__:i[v]},u=i[g],p=Array.prototype.slice.apply(arguments),m=i[a];if(m&&A(l,m),(m=i[o])&&O(l,m),(m=i[c])&&Object.defineProperties(l,m),!u||!u.length)return l;for(n===t&&(n={}),i=0;i<u.length;)S(s=u[i++])&&(l=(r=s.call(l,n,{instance:l,stamp:e,args:p}))===t?l:r);return l},(s=e[u])&&A(n,s),(s=e[l])&&O(n,s),(s=e[p])&&Object.defineProperties(n,s),s=S(n[E])?n[E]:_,O(n[E]=function(){return s.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(C,{}))}function R(e){return S(e)&&S(e[E])}var T={};function M(e,i){return function(){return(r={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[E]||s).call(n,r)}}T[v]=M(v,O),T[o]=T.props=M(o,O),T[g]=T.init=M(g,k),T[b]=M(b,k),T[a]=T[f]=M(a,A),T[l]=T.statics=M(l,O),T[u]=T[d]=M(u,A),T[m]=T.conf=M(m,O),T[h]=T[y]=M(h,A),T[c]=M(c,O),T[p]=M(p,O),s=T[E]=O((function(){for(var e,x,j=0,S=[],P=arguments,C=this;j<P.length;)w(e=P[j++])&&S.push(R(e)?e:((r={})[v]=(x=e)[v]||t,s=x.props,r[o]=w((n=x[o])||s)?O({},s,n):t,r[g]=k(x.init,x[g]),r[b]=k(x[b]),s=x[f],r[a]=w((n=x[a])||s)?A({},s,n):t,r[c]=x[c],s=x.statics,r[l]=w((n=x[l])||s)?O({},s,n):t,s=x[d],r[u]=w((n=x[u])||s)?A({},s,n):t,n=x[p],r[p]=w((s=x.name&&{name:{value:x.name}})||n)?O({},n,s):t,s=x.conf,r[m]=w((n=x[m])||s)?O({},s,n):t,s=x[y],r[h]=w((n=x[h])||s)?A({},s,n):t,r));if(e=_.apply(C||i,S),C&&S.unshift(C),Array.isArray(P=e[E][b]))for(j=0;j<P.length;)e=R(C=P[j++]({stamp:e,composables:S}))?C:e;return e}),T),T.create=function(){return this.apply(t,arguments)},(r={})[l]=T,i=_(r),s[E]=s.bind(),s.version="4.3.2","object"!=typeof t?e.exports=s:self.stampit=s}()},1427:(e,t,n)=>{e.exports=n(6762)}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var s={};return(()=>{"use strict";n.r(s),n.d(s,{CallbackElement:()=>Cp,ComponentsCallbacksElement:()=>Fl,ComponentsElement:()=>_p,ComponentsExamplesElement:()=>xl,ComponentsHeadersElement:()=>Al,ComponentsLinksElement:()=>Il,ComponentsParametersElement:()=>vl,ComponentsPathItemsElement:()=>hm,ComponentsRequestBodiesElement:()=>Sl,ComponentsResponsesElement:()=>fl,ComponentsSchemasElement:()=>pl,ComponentsSecuritySchemesElement:()=>Rl,ContactElement:()=>Rp,DiscriminatorElement:()=>Tp,DiscriminatorMappingElement:()=>Wc,EncodingElement:()=>Mp,EncodingHeadersElement:()=>Xl,ExampleElement:()=>Ip,ExternalDocumentationElement:()=>$p,HeaderContentElement:()=>vc,HeaderElement:()=>qp,HeaderExamplesElement:()=>fc,InfoElement:()=>Fp,JsonSchemaDialectElement:()=>Bp,LicenseElement:()=>Vp,LinkElement:()=>Dp,LinkParametersElement:()=>Io,MediaTypeElement:()=>Lp,MediaTypeEncodingElement:()=>Ia,MediaTypeExamplesElement:()=>Ra,OAuthFlowElement:()=>zp,OAuthFlowScopesElement:()=>vp,OAuthFlowsElement:()=>Up,OpenAPIMediaTypes:()=>Un,OpenApi3_1Element:()=>Hp,OpenapiElement:()=>Jp,OperationCallbacksElement:()=>Bu,OperationElement:()=>Kp,OperationParametersElement:()=>Iu,OperationSecurityElement:()=>zu,OperationServersElement:()=>Gu,OperationTagsElement:()=>ku,ParameterContentElement:()=>cl,ParameterElement:()=>Wp,ParameterExamplesElement:()=>il,PathItemElement:()=>Xp,PathItemParametersElement:()=>np,PathItemServersElement:()=>Zu,PathsElement:()=>Yp,ReferenceElement:()=>Zp,RequestBodyContentElement:()=>ou,RequestBodyElement:()=>em,ResponseContentElement:()=>gu,ResponseElement:()=>tm,ResponseHeadersElement:()=>hu,ResponseLinksElement:()=>Eu,ResponsesElement:()=>nm,SchemaElement:()=>rm,SecurityElement:()=>Na,SecurityRequirementElement:()=>im,SecuritySchemeElement:()=>om,ServerElement:()=>am,ServerVariableElement:()=>cm,ServerVariablesElement:()=>Wo,ServersElement:()=>Lo,TagElement:()=>lm,TagsElement:()=>xp,WebhooksElement:()=>dm,XmlElement:()=>um,createToolbox:()=>mh,default:()=>pm,getNodeType:()=>ym,isArrayElement:()=>hn,isBooleanElement:()=>pn,isBooleanJsonSchemaElement:()=>ah,isCallbackElement:()=>Fm,isComponentsElement:()=>Nm,isContactElement:()=>Bm,isElement:()=>an,isExampleElement:()=>Vm,isExternalDocumentationElement:()=>Dm,isInfoElement:()=>zm,isJsonSchemaDialectElement:()=>Um,isLicenseElement:()=>Jm,isLinkElement:()=>Gm,isLinkElementExternal:()=>Hm,isLinkPrimitiveElement:()=>dn,isMediaTypeElement:()=>ph,isMemberElement:()=>fn,isNullElement:()=>un,isNumberElement:()=>ln,isObjectElement:()=>mn,isOpenApi3_1Element:()=>Wm,isOpenApi3_1LikeElement:()=>hh,isOpenApiExtension:()=>ao,isOpenapiElement:()=>Km,isOperationElement:()=>Xm,isParameterElement:()=>Ym,isParameterLikeElement:()=>to,isPathItemElement:()=>Qm,isPathItemElementExternal:()=>Zm,isPathsElement:()=>eh,isRefElement:()=>yn,isReferenceElement:()=>th,isReferenceElementExternal:()=>nh,isReferenceLikeElement:()=>no,isRequestBodyElement:()=>sh,isResponseElement:()=>rh,isResponseLikeElement:()=>ro,isResponsesElement:()=>ih,isSchemaElement:()=>oh,isSecurityRequirementElement:()=>ch,isServerElement:()=>lh,isServerLikeElement:()=>io,isServerVariableElement:()=>uh,isStringElement:()=>cn,keyMap:()=>gm,mediaTypes:()=>Jn,refractorPluginNormalizeHeaderExamples:()=>qm,refractorPluginNormalizeOperationIds:()=>Im,refractorPluginNormalizeParameterExamples:()=>$m,refractorPluginNormalizeParameters:()=>km,refractorPluginNormalizeSecurityRequirements:()=>Cm,refractorPluginNormalizeServers:()=>_m,refractorPluginReplaceEmptyElement:()=>Em});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>jn,includesClasses:()=>Sn,includesSymbols:()=>On,isAnnotationElement:()=>gn,isArrayElement:()=>hn,isBooleanElement:()=>pn,isCommentElement:()=>vn,isElement:()=>an,isLinkElement:()=>dn,isMemberElement:()=>fn,isNullElement:()=>un,isNumberElement:()=>ln,isObjectElement:()=>mn,isParseResultElement:()=>bn,isPrimitiveElement:()=>xn,isRefElement:()=>yn,isSourceMapElement:()=>En,isStringElement:()=>cn});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>Ci,isJSONSchemaElement:()=>ki,isLinkDescriptionElement:()=>Ri,isMediaElement:()=>_i});var r={};n.r(r),n.d(r,{isOpenApi3_0LikeElement:()=>eo,isOpenApiExtension:()=>ao,isParameterLikeElement:()=>to,isReferenceLikeElement:()=>no,isRequestBodyLikeElement:()=>so,isResponseLikeElement:()=>ro,isServerLikeElement:()=>io,isTagLikeElement:()=>oo});var i={};n.r(i),n.d(i,{isBooleanJsonSchemaElement:()=>ja,isCallbackElement:()=>Zo,isComponentsElement:()=>ea,isContactElement:()=>ta,isExampleElement:()=>na,isExternalDocumentationElement:()=>sa,isHeaderElement:()=>ra,isInfoElement:()=>ia,isLicenseElement:()=>oa,isLinkElement:()=>aa,isLinkElementExternal:()=>ca,isMediaTypeElement:()=>Pa,isOpenApi3_0Element:()=>ua,isOpenapiElement:()=>la,isOperationElement:()=>pa,isParameterElement:()=>ma,isPathItemElement:()=>ha,isPathItemElementExternal:()=>fa,isPathsElement:()=>da,isReferenceElement:()=>ya,isReferenceElementExternal:()=>ga,isRequestBodyElement:()=>va,isResponseElement:()=>ba,isResponsesElement:()=>Ea,isSchemaElement:()=>xa,isSecurityRequirementElement:()=>Oa,isServerElement:()=>Sa,isServerVariableElement:()=>wa});var o={};n.r(o),n.d(o,{isBooleanJsonSchemaElement:()=>ah,isCallbackElement:()=>Fm,isComponentsElement:()=>Nm,isContactElement:()=>Bm,isExampleElement:()=>Vm,isExternalDocumentationElement:()=>Dm,isHeaderElement:()=>Lm,isInfoElement:()=>zm,isJsonSchemaDialectElement:()=>Um,isLicenseElement:()=>Jm,isLinkElement:()=>Gm,isLinkElementExternal:()=>Hm,isMediaTypeElement:()=>ph,isOpenApi3_1Element:()=>Wm,isOpenapiElement:()=>Km,isOperationElement:()=>Xm,isParameterElement:()=>Ym,isPathItemElement:()=>Qm,isPathItemElementExternal:()=>Zm,isPathsElement:()=>eh,isReferenceElement:()=>th,isReferenceElementExternal:()=>nh,isRequestBodyElement:()=>sh,isResponseElement:()=>rh,isResponsesElement:()=>ih,isSchemaElement:()=>oh,isSecurityRequirementElement:()=>ch,isServerElement:()=>lh,isServerVariableElement:()=>uh});var a=n(7952);const c=function(){return!1};const l=function(){return!0};function u(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function p(e){return function t(n){return 0===arguments.length||u(n)?t:e.apply(this,arguments)}}function m(e){return function t(n,s){switch(arguments.length){case 0:return t;case 1:return u(n)?t:p((function(t){return e(n,t)}));default:return u(n)&&u(s)?t:u(n)?p((function(t){return e(t,s)})):u(s)?p((function(t){return e(n,t)})):e(n,s)}}}const h=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function f(e,t,n){return function(){if(0===arguments.length)return n();var s=arguments[arguments.length-1];if(!h(s)){for(var r=0;r<e.length;){if("function"==typeof s[e[r]])return s[e[r]].apply(s,Array.prototype.slice.call(arguments,0,-1));r+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(s))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(s)}return n.apply(this,arguments)}}function d(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const y=function(){return this.xf["@@transducer/init"]()},g=function(e){return this.xf["@@transducer/result"](e)};var v=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=d(this.xf["@@transducer/step"](e,!1))),e},e}();function b(e){return function(t){return new v(e,t)}}const E=m(f(["all"],b,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));function x(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,s){return t.apply(this,arguments)};case 4:return function(e,n,s,r){return t.apply(this,arguments)};case 5:return function(e,n,s,r,i){return t.apply(this,arguments)};case 6:return function(e,n,s,r,i,o){return t.apply(this,arguments)};case 7:return function(e,n,s,r,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,s,r,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,s,r,i,o,a,c,l){return t.apply(this,arguments)};case 10:return function(e,n,s,r,i,o,a,c,l,u){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function j(e,t,n){return function(){for(var s=[],r=0,i=e,o=0;o<t.length||r<arguments.length;){var a;o<t.length&&(!u(t[o])||r>=arguments.length)?a=t[o]:(a=arguments[r],r+=1),s[o]=a,u(a)||(i-=1),o+=1}return i<=0?n.apply(this,s):x(i,j(e,s,n))}}const O=m((function(e,t){return 1===e?p(t):x(e,j(e,[],t))}));function S(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function w(e,t,n){for(var s=0,r=n.length;s<r;){if(e(t,n[s]))return!0;s+=1}return!1}function P(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const A="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var k=Object.prototype.toString;const C=function(){return"[object Arguments]"===k.call(arguments)?function(e){return"[object Arguments]"===k.call(e)}:function(e){return P("callee",e)}}();var _=!{toString:null}.propertyIsEnumerable("toString"),R=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],T=function(){return arguments.propertyIsEnumerable("length")}(),M=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1};const I="function"!=typeof Object.keys||T?p((function(e){if(Object(e)!==e)return[];var t,n,s=[],r=T&&C(e);for(t in e)!P(t,e)||r&&"length"===t||(s[s.length]=t);if(_)for(n=R.length-1;n>=0;)P(t=R[n],e)&&!M(s,t)&&(s[s.length]=t),n-=1;return s})):p((function(e){return Object(e)!==e?[]:Object.keys(e)}));const $=p((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function q(e,t,n,s){var r=S(e);function i(e,t){return F(e,t,n.slice(),s.slice())}return!w((function(e,t){return!w(i,t,e)}),S(t),r)}function F(e,t,n,s){if(A(e,t))return!0;var r,i,o=$(e);if(o!==$(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(r=e.constructor,null==(i=String(r).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!A(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!A(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return s[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&q(e.entries(),t.entries(),n.concat([e]),s.concat([t]));case"Set":return e.size===t.size&&q(e.values(),t.values(),n.concat([e]),s.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=I(e);if(c.length!==I(t).length)return!1;var l=n.concat([e]),u=s.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!P(p,t)||!F(t[p],e[p],l,u))return!1;a-=1}return!0}const N=m((function(e,t){return F(e,t,[],[])}));function B(e,t){return function(e,t,n){var s,r;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(s=1/t;n<e.length;){if(0===(r=e[n])&&1/r===s)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(r=e[n])&&r!=r)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(N(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function V(e,t){for(var n=0,s=t.length,r=Array(s);n<s;)r[n]=e(t[n]),n+=1;return r}function D(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var L=function(e){return(e<10?"0":"")+e};const z="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+L(e.getUTCMonth()+1)+"-"+L(e.getUTCDate())+"T"+L(e.getUTCHours())+":"+L(e.getUTCMinutes())+":"+L(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function U(e,t,n){for(var s=0,r=n.length;s<r;)t=e(t,n[s]),s+=1;return t}function J(e){return"[object Object]"===Object.prototype.toString.call(e)}var G=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function H(e){return function(t){return new G(e,t)}}const K=m(f(["fantasy-land/filter","filter"],H,(function(e,t){return J(t)?U((function(n,s){return e(t[s])&&(n[s]=t[s]),n}),{},I(t)):function(e,t){for(var n=0,s=t.length,r=[];n<s;)e(t[n])&&(r[r.length]=t[n]),n+=1;return r}(e,t)})));const W=m((function(e,t){return K((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function X(e,t){var n=function(n){var s=t.concat([e]);return B(n,s)?"<Circular>":X(n,s)},s=function(e,t){return V((function(t){return D(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+V(n,e).join(", ")+"))";case"[object Array]":return"["+V(n,e).concat(s(e,W((function(e){return/^\d+$/.test(e)}),I(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):D(z(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":D(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var r=e.toString();if("[object Object]"!==r)return r}return"{"+s(e,I(e)).join(", ")+"}"}}const Y=p((function(e){return X(e,[])}));const Q=m((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var s=n(e,t);if(void 0!==s)return s;var r=n(typeof e,typeof t);if(void 0!==r)return r===typeof e?e:t;var i=Y(e),o=n(i,Y(t));return void 0!==o&&o===i?e:t}));var Z=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const ee=m(f(["fantasy-land/map","map"],(function(e){return function(t){return new Z(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return O(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return U((function(n,s){return n[s]=e(t[s]),n}),{},I(t));default:return V(e,t)}}))),te=Number.isInteger||function(e){return e<<0===e};function ne(e){return"[object String]"===Object.prototype.toString.call(e)}const se=m((function(e,t){var n=e<0?t.length+e:e;return ne(t)?t.charAt(n):t[n]}));const re=m((function(e,t){if(null!=t)return te(e)?se(e,t):t[e]}));const ie=m((function(e,t){return ee(re(e),t)}));function oe(e){return function t(n,s,r){switch(arguments.length){case 0:return t;case 1:return u(n)?t:m((function(t,s){return e(n,t,s)}));case 2:return u(n)&&u(s)?t:u(n)?m((function(t,n){return e(t,s,n)})):u(s)?m((function(t,s){return e(n,t,s)})):p((function(t){return e(n,s,t)}));default:return u(n)&&u(s)&&u(r)?t:u(n)&&u(s)?m((function(t,n){return e(t,n,r)})):u(n)&&u(r)?m((function(t,n){return e(t,s,n)})):u(s)&&u(r)?m((function(t,s){return e(n,t,s)})):u(n)?p((function(t){return e(t,s,r)})):u(s)?p((function(t){return e(n,t,r)})):u(r)?p((function(t){return e(n,s,t)})):e(n,s,r)}}}const ae=p((function(e){return!!h(e)||!!e&&("object"==typeof e&&(!ne(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var ce="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function le(e,t,n){return function(s,r,i){if(ae(i))return e(s,r,i);if(null==i)return r;if("function"==typeof i["fantasy-land/reduce"])return t(s,r,i,"fantasy-land/reduce");if(null!=i[ce])return n(s,r,i[ce]());if("function"==typeof i.next)return n(s,r,i);if("function"==typeof i.reduce)return t(s,r,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ue(e,t,n){for(var s=0,r=n.length;s<r;){if((t=e["@@transducer/step"](t,n[s]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s+=1}return e["@@transducer/result"](t)}const pe=m((function(e,t){return x(e.length,(function(){return e.apply(t,arguments)}))}));function me(e,t,n){for(var s=n.next();!s.done;){if((t=e["@@transducer/step"](t,s.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s=n.next()}return e["@@transducer/result"](t)}function he(e,t,n,s){return e["@@transducer/result"](n[s](pe(e["@@transducer/step"],e),t))}const fe=le(ue,he,me);var de=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function ye(e){return new de(e)}const ge=oe((function(e,t,n){return fe("function"==typeof e?ye(e):e,t,n)}));const ve=p((function(e){return O(ge(Q,0,ie("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const be=p((function(e){return function(){return e}}));const Ee=p((function(e){return O(ge(Q,0,ie("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function xe(e,t,n){for(var s=n.next();!s.done;)t=e(t,s.value),s=n.next();return t}function je(e,t,n,s){return n[s](e,t)}const Oe=le(U,je,xe);const Se=m((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:Oe((function(e,n){return function(e,t){var n;t=t||[];var s=(e=e||[]).length,r=t.length,i=[];for(n=0;n<s;)i[i.length]=e[n],n+=1;for(n=0;n<r;)i[i.length]=t[n],n+=1;return i}(e,ee(n,t))}),[],e)}));const we=m((function(e,t){return e.apply(this,t)}));function Pe(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Ae=m((function(e,t){return e&&t}));const ke=m((function(e,t){var n=O(e,t);return O(e,(function(){return U(Se,ee(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Ce=p((function(e){return ke(e.length,e)}));const _e=m((function(e,t){return Pe(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ce(Ae)(e,t)}));const Re=p((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));const Te=Ce(p((function(e){return!e})));function Me(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Ie(e,t){return function(){var n=arguments.length;if(0===n)return t();var s=arguments[n-1];return h(s)||"function"!=typeof s[e]?t.apply(this,arguments):s[e].apply(s,Array.prototype.slice.call(arguments,0,n-1))}}const $e=oe(Ie("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const qe=p(Ie("tail",$e(1,1/0)));function Fe(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return x(arguments[0].length,ge(Me,arguments[0],qe(arguments)))}function Ne(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}function Be(e,t,n){if(n||(n=new Ve),function(e){var t=typeof e;return null==e||"object"!=t&&"function"!=t}(e))return e;var s=function(s){var r=n.get(e);if(r)return r;for(var i in n.set(e,s),e)Object.prototype.hasOwnProperty.call(e,i)&&(s[i]=t?Be(e[i],!0,n):e[i]);return s};switch($(e)){case"Object":return s(Object.create(Object.getPrototypeOf(e)));case"Array":return s([]);case"Date":return new Date(e.valueOf());case"RegExp":return Ne(e);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return e.slice();default:return e}}var Ve=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(e,t){const n=this.hash(e);let s=this.map[n];s||(this.map[n]=s=[]),s.push([e,t]),this.length+=1},e.prototype.hash=function(e){let t=[];for(var n in e)t.push(Object.prototype.toString.call(e[n]));return t.join()},e.prototype.get=function(e){if(this.length<=180){for(const t in this.map){const n=this.map[t];for(let t=0;t<n.length;t+=1){const s=n[t];if(s[0]===e)return s[1]}}return}const t=this.hash(e),n=this.map[t];if(n)for(let t=0;t<n.length;t+=1){const s=n[t];if(s[0]===e)return s[1]}},e}(),De=function(){function e(e,t,n,s){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=s,this.inputs={}}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(P(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,Be(this.valueAcc,!1)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}();function Le(e,t,n){return function(s){return new De(e,t,n,s)}}var ze=j(4,[],f([],Le,(function(e,t,n,s){var r=ye((function(s,r){var i=n(r),o=e(P(i,s)?s[i]:Be(t,!1),r);return o&&o["@@transducer/reduced"]?d(s):(s[i]=o,s)}));return fe(r,{},s)})));const Ue=ze;const Je=p((function(e){return O(e.length,e)}));const Ge=m((function(e,t){return null==t||t!=t?e:t}));function He(e,t,n){var s,r=typeof e;switch(r){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(s=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===s):n._nativeSet.has(e):r in n._items?e in n._items[r]||(t&&(n._items[r][e]=!0),!1):(t&&(n._items[r]={},n._items[r][e]=!0),!1);case"boolean":if(r in n._items){var i=e?1:0;return!!n._items[r][i]||(t&&(n._items[r][i]=!0),!1)}return t&&(n._items[r]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(s=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===s):n._nativeSet.has(e):r in n._items?!!B(e,n._items[r])||(t&&n._items[r].push(e),!1):(t&&(n._items[r]=[e]),!1);case"undefined":return!!n._items[r]||(t&&(n._items[r]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(r=Object.prototype.toString.call(e))in n._items?!!B(e,n._items[r])||(t&&n._items[r].push(e),!1):(t&&(n._items[r]=[e]),!1)}}const Ke=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!He(e,!0,this)},e.prototype.has=function(e){return He(e,!1,this)},e}();const We=m((function(e,t){for(var n=[],s=0,r=e.length,i=t.length,o=new Ke,a=0;a<i;a+=1)o.add(t[a]);for(;s<r;)o.add(e[s])&&(n[n.length]=e[s]),s+=1;return n}));var Xe=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?d(n):n},e}();function Ye(e){return function(t){return new Xe(e,t)}}const Qe=m(f(["take"],Ye,(function(e,t){return $e(0,e<0?1/0:e,t)})));var Ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function et(e){return function(t){return new Ze(e,t)}}const tt=m(f(["dropWhile"],et,(function(e,t){for(var n=0,s=t.length;n<s&&e(t[n]);)n+=1;return $e(n,1/0,t)})));const nt=m((function(e,t){return e||t}));const st=m((function(e,t){return Pe(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ce(nt)(e,t)}));var rt=p((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():h(e)?[]:ne(e)?"":J(e)?{}:C(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const it=rt;const ot=p((function(e){return O(e.length,(function(t,n){var s=Array.prototype.slice.call(arguments,0);return s[0]=n,s[1]=t,e.apply(this,s)}))}));const at=m(Ie("groupBy",Ue((function(e,t){return e.push(t),e}),[])));const ct=p((function(e){return null==e}));const lt=m((function(e,t){if(0===e.length||ct(t))return!1;for(var n=t,s=0;s<e.length;){if(ct(n)||!P(e[s],n))return!1;n=n[e[s]],s+=1}return!0}));const ut=m((function(e,t){return lt([e],t)}));const pt=m((function(e,t){return!ct(t)&&e in t}));const mt=se(0);var ht=function(e,t){switch(arguments.length){case 0:return ht;case 1:return function t(n){return 0===arguments.length?t:A(e,n)};default:return A(e,t)}};const ft=ht;const dt=oe((function(e,t,n){return O(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const yt=m(B);const gt=$e(0,-1);"function"==typeof Object.assign&&Object.assign;const vt=m((function(e,t){return O(e+1,(function(){var n=arguments[e];if(null!=n&&Pe(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Y(n)+' does not have a method named "'+t+'"')}))}));const bt=p((function(e){return null!=e&&N(e,it(e))}));const Et=vt(1,"join");const xt=se(-1);const jt=m((function(e,t){return e.map((function(e){for(var n,s=t,r=0;r<e.length;){if(null==s)return;n=e[r],s=te(n)?se(n,s):s[n],r+=1}return s}))}));const Ot=m((function(e,t){return jt([e],t)[0]}));const St=m((function(e,t){return U((function(n,s){return n[s]=e(t[s],s,t),n}),{},I(t))}));const wt=oe((function(e,t,n){return Ge(e,Ot(t,n))}));const Pt=oe((function(e,t,n){return e(Ot(t,n))}));const At=m((function(e,t){for(var n={},s=0;s<e.length;)e[s]in t&&(n[e[s]]=t[e[s]]),s+=1;return n}));const kt=oe((function(e,t,n){return Ge(e,re(t,n))}));const Ct=oe((function(e,t,n){return e(re(t,n))}));function _t(e){return"[object Number]"===Object.prototype.toString.call(e)}var Rt=m((function(e,t){if(!_t(e)||!_t(t))throw new TypeError("Both arguments to range must be numbers");for(var n=[],s=e;s<t;)n.push(s),s+=1;return n}));const Tt=Rt;const Mt=p(d);var It=m((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const $t=It;const qt=vt(1,"split");const Ft=m((function(e,t){return N(Qe(e.length,t),e)}));const Nt=m((function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Y(e));var n;return Ne(e).test(t)}));var Bt="\t\n\v\f\r                 \u2028\u2029\ufeff";String.prototype.trim;var Vt=function(){function e(e,t){this.xf=t,this.pred=e,this.items=[]}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){return w(this.pred,t,this.items)?e:(this.items.push(t),this.xf["@@transducer/step"](e,t))},e}();function Dt(e){return function(t){return new Vt(e,t)}}const Lt=m(f([],Dt,(function(e,t){for(var n,s=0,r=t.length,i=[];s<r;)w(e,n=t[s],i)||(i[i.length]=n),s+=1;return i})));const zt=ot(yt);class Ut extends a.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const Jt=Ut;class Gt extends a.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const Ht=Gt;const Kt=be(void 0);const Wt=N(Kt());class Xt extends a.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(Wt(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const Yt=Xt;class Qt extends a.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new a.ON([e.start.row,e.start.column,e.start.char]),n=new a.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const Zt=Qt,en=(e,t)=>"function"==typeof(null==t?void 0:t[e]),tn=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),nn=(e,t)=>{var n;return(null==t||null===(n=t.primitive)||void 0===n?void 0:n.call(t))===e},sn=(e,t)=>{var n,s;return(null==t||null===(n=t.classes)||void 0===n||null===(s=n.includes)||void 0===s?void 0:s.call(n,e))||!1},rn=(e,t)=>(null==t?void 0:t.element)===e,on=e=>e({hasMethod:en,hasBasicElementProps:tn,primitiveEq:nn,isElementType:rn,hasClass:sn}),an=on((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.W_||e(n)&&t(void 0,n))),cn=on((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.RP||e(n)&&t("string",n))),ln=on((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.VL||e(n)&&t("number",n))),un=on((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.zr||e(n)&&t("null",n))),pn=on((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.hh||e(n)&&t("boolean",n))),mn=on((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>s=>s instanceof a.Sb||e(s)&&t("object",s)&&n("keys",s)&&n("values",s)&&n("items",s))),hn=on((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>s=>s instanceof a.ON&&!(s instanceof a.Sb)||e(s)&&t("array",s)&&n("push",s)&&n("unshift",s)&&n("map",s)&&n("reduce",s))),fn=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof a.c6||e(s)&&t("member",s)&&n(void 0,s))),dn=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof a.EA||e(s)&&t("link",s)&&n(void 0,s))),yn=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof a.tK||e(s)&&t("ref",s)&&n(void 0,s))),gn=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Jt||e(s)&&t("annotation",s)&&n("array",s))),vn=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ht||e(s)&&t("comment",s)&&n("string",s))),bn=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Yt||e(s)&&t("parseResult",s)&&n("array",s))),En=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Zt||e(s)&&t("sourceMap",s)&&n("array",s))),xn=e=>rn("object",e)||rn("array",e)||rn("boolean",e)||rn("number",e)||rn("string",e)||rn("null",e)||rn("member",e),jn=e=>{var t,n;return En(null==e||null===(t=e.meta)||void 0===t||null===(n=t.get)||void 0===n?void 0:n.call(t,"sourceMap"))},On=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!hn(n)&&E(zt(n.toValue()),e)},Sn=(e,t)=>0===e.length||E(zt(t.classes.toValue()),e);const wn=N(null);const Pn=Te(wn);function An(e){return An="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},An(e)}const kn=function(e){return"object"===An(e)};const Cn=O(1,_e(Pn,kn));const _n=O(1,Fe($,ft("GeneratorFunction")));const Rn=O(1,Fe($,ft("AsyncFunction")));const Tn=Ee([Fe($,ft("Function")),_n,Rn]);var Mn=Fe($,ft("Object")),In=Fe(Y,N(Y(Object))),$n=Pt(_e(Tn,In),["constructor"]);const qn=O(1,(function(e){if(!Cn(e)||!Mn(e))return!1;var t=Object.getPrototypeOf(e);return!!wn(t)||$n(t)}));var Fn=n(1427);const Nn=class extends Fn{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,qn(n)&&pt("cause",n)&&!pt("cause",this)){const{cause:e}=n;this.cause=e,e instanceof Error&&pt("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}};class Bn extends Error{static[Symbol.hasInstance](e){return Function.prototype[Symbol.hasInstance].call(Bn,e)||Function.prototype[Symbol.hasInstance].call(Nn,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,qn(t)&&pt("cause",t)&&!pt("cause",this)){const{cause:e}=t;this.cause=e,e instanceof Error&&pt("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}}const Vn=Bn;const Dn=class extends Vn{};const Ln=class extends Dn{};const zn=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Ln('"filterByFormat" method is not implemented.')}findBy(){throw new Ln('"findBy" method is not implemented.')}latest(){throw new Ln('"latest" method is not implemented.')}};class Un extends zn{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="3.1.0",t="generic"){const n="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return xt(this.filterByFormat(e))}}const Jn=new Un("application/vnd.oai.openapi;version=3.1.0","application/vnd.oai.openapi+json;version=3.1.0","application/vnd.oai.openapi+yaml;version=3.1.0");const Gn=Te(Tn);const Hn=O(1,Tn(Array.isArray)?Array.isArray:Fe($,ft("Array")));const Kn=_e(Hn,bt);const Wn=O(3,(function(e,t,n){var s=Ot(e,n),r=Ot(gt(e),n);if(!Gn(s)&&!Kn(e)){var i=pe(s,r);return we(i,t)}}));class Xn extends a.lS{constructor(){super(),this.register("annotation",Jt),this.register("comment",Ht),this.register("parseResult",Yt),this.register("sourceMap",Zt)}}const Yn=new Xn,Qn=e=>{const t=new Xn;return qn(e)&&t.use(e),t},Zn=Yn,es=()=>({predicates:{...e},namespace:Zn});var ts=n(6591);const ns=O(1,Fe($,ft("String"))),ss=(e,t,n)=>{const s=e[t];if(null!=s){if(!n&&"function"==typeof s)return s;const e=n?s.leave:s.enter;if("function"==typeof e)return e}else{const s=n?e.leave:e.enter;if(null!=s){if("function"==typeof s)return s;const e=s[t];if("function"==typeof e)return e}}return null},rs={},is=e=>null==e?void 0:e.type,os=e=>"string"==typeof is(e),as=(e,t,{keyMap:n=null,state:s={},breakSymbol:r=rs,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=ss,nodeTypeGetter:c=is,nodePredicate:l=os,detectCycles:u=!0}={})=>{const p=n||{};let m,h,f=Array.isArray(e),d=[e],y=-1,g=[];const v=[],b=[];let E=e;do{y+=1;const e=y===d.length;let n,x;const j=e&&0!==g.length;if(e){if(n=0===b.length?void 0:v.pop(),x=h,h=b.pop(),j){x=f?x.slice():Object.create(Object.getPrototypeOf(x),Object.getOwnPropertyDescriptors(x));let e=0;for(let t=0;t<g.length;t+=1){let n=g[t][0];const s=g[t][1];f&&(n-=e),f&&s===i?(x.splice(n,1),e+=1):x[n]=s}}y=m.index,d=m.keys,g=m.edits,f=m.inArray,m=m.prev}else{if(n=h?f?y:d[y]:void 0,x=h?h[n]:E,x===i||void 0===x)continue;h&&v.push(n)}if(b.includes(x))continue;let O;if(!Array.isArray(x)){if(!l(x))throw new Vn(`Invalid AST Node: ${JSON.stringify(x)}`);if(u&&b.includes(x)){v.pop();continue}const i=a(t,c(x),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;if(O=i.call(t,x,n,h,v,b),O===r)break;if(O===o){if(!e){v.pop();continue}}else if(void 0!==O&&(g.push([n,O]),!e)){if(!l(O)){v.pop();continue}x=O}}}void 0===O&&j&&g.push([n,x]),e||(m={inArray:f,index:y,keys:d,edits:g,prev:m},f=Array.isArray(x),d=f?x:p[c(x)]||[],y=-1,g=[],h&&b.push(h),h=x)}while(void 0!==m);return 0!==g.length&&([,E]=g[g.length-1]),E};as[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:s={},breakSymbol:r=rs,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=ss,nodeTypeGetter:c=is,nodePredicate:l=os,detectCycles:u=!0}={})=>{const p=n||{};let m,h,f=Array.isArray(e),d=[e],y=-1,g=[];const v=[],b=[];let E=e;do{y+=1;const e=y===d.length;let n,x;const j=e&&0!==g.length;if(e){if(n=0===b.length?void 0:v.pop(),x=h,h=b.pop(),j){x=f?x.slice():Object.create(Object.getPrototypeOf(x),Object.getOwnPropertyDescriptors(x));let e=0;for(let t=0;t<g.length;t+=1){let n=g[t][0];const s=g[t][1];f&&(n-=e),f&&s===i?(x.splice(n,1),e+=1):x[n]=s}}y=m.index,d=m.keys,g=m.edits,f=m.inArray,m=m.prev}else{if(n=h?f?y:d[y]:void 0,x=h?h[n]:E,x===i||void 0===x)continue;h&&v.push(n)}let O;if(!Array.isArray(x)){if(!l(x))throw new Vn(`Invalid AST Node: ${JSON.stringify(x)}`);if(u&&b.includes(x)){v.pop();continue}const i=a(t,c(x),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;if(O=await i.call(t,x,n,h,v,b),O===r)break;if(O===o){if(!e){v.pop();continue}}else if(void 0!==O&&(g.push([n,O]),!e)){if(!l(O)){v.pop();continue}x=O}}}void 0===O&&j&&g.push([n,x]),e||(m={inArray:f,index:y,keys:d,edits:g,prev:m},f=Array.isArray(x),d=f?x:p[c(x)]||[],y=-1,g=[],h&&b.push(h),h=x)}while(void 0!==m);return 0!==g.length&&([,E]=g[g.length-1]),E};const cs=e=>mn(e)?"ObjectElement":hn(e)?"ArrayElement":fn(e)?"MemberElement":cn(e)?"StringElement":pn(e)?"BooleanElement":ln(e)?"NumberElement":un(e)?"NullElement":dn(e)?"LinkElement":yn(e)?"RefElement":void 0,ls=Fe(cs,ns),us={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},ps=(ts({props:{result:[],predicate:c,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=us,...s}={})=>as(e,t,{keyMap:n,nodeTypeGetter:cs,nodePredicate:ls,...s}));ps[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=us,...s}={})=>as[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:cs,nodePredicate:ls,...s});const ms=(e,t,n={})=>{if(0===t.length)return e;const s=kt(es,"toolboxCreator",n),r=kt({},"visitorOptions",n),i=kt(cs,"nodeTypeGetter",r),o=s(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=ss,nodeTypeGetter:n=is}={})=>{const s=new Array(e.length);return{enter(r,...i){for(let o=0;o<e.length;o+=1)if(null==s[o]){const a=t(e[o],n(r),!1);if("function"==typeof a){const t=a.call(e[o],r,...i);if(!1===t)s[o]=r;else if(t===rs)s[o]=rs;else if(void 0!==t)return t}}},leave(r,...i){for(let o=0;o<e.length;o+=1)if(null==s[o]){const a=t(e[o],n(r),!0);if("function"==typeof a){const t=a.call(e[o],r,...i);if(t===rs)s[o]=rs;else if(void 0!==t&&!1!==t)return t}}else s[o]===r&&(s[o]=null)}}})(a.map(kt({},"visitor")),{nodeTypeGetter:i});a.forEach(Wn(["pre"],[]));const l=ps(e,c,r);return a.forEach(Wn(["post"],[])),l},hs=(e,{Type:t,plugins:n=[]})=>{const s=new t(e);return ms(s,n,{toolboxCreator:es,visitorOptions:{nodeTypeGetter:cs}})},fs=e=>(t,n={})=>hs(t,{...n,Type:e});a.Sb.refract=fs(a.Sb),a.ON.refract=fs(a.ON),a.RP.refract=fs(a.RP),a.hh.refract=fs(a.hh),a.zr.refract=fs(a.zr),a.VL.refract=fs(a.VL),a.EA.refract=fs(a.EA),a.tK.refract=fs(a.tK),Jt.refract=fs(Jt),Ht.refract=fs(Ht),Yt.refract=fs(Yt),Zt.refract=fs(Zt);class ds extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="callback"}}const ys=ds;class gs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}}const vs=gs;class bs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const Es=bs;class xs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}}const js=xs;class Os extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}}const Ss=Os;class ws extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="example"}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}}const Ps=ws;class As extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const ks=As;class Cs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new a.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new a.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(Cs.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const _s=Cs;class Rs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const Ts=Rs;class Ms extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Is=Ms;class $s extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){var e,t;return cn(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):cn(this.operationId)?null===(t=this.operationId)||void 0===t?void 0:t.meta.get("operation"):void 0}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}}const qs=$s;class Fs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}}const Ns=Fs;class Bs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const Vs=Bs;class Ds extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const Ls=Ds;class zs extends a.RP{constructor(e,t,n){super(e,t,n),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const Us=zs;class Js extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Gs=Js;class Hs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new a.hh(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}}const Ks=Hs;class Ws extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="parameter"}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get required(){return this.hasKey("required")?this.get("required"):new a.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new a.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(Ws.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Xs=Ws;class Ys extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const Qs=Ys;class Zs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="paths"}}const er=Zs;class tr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const nr=tr;class sr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new a.hh(!1)}set required(e){this.set("required",e)}}const rr=sr;class ir extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}}const or=ir;class ar extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const cr=ar;class lr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const ur=lr;class pr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const mr=pr;class hr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const fr=hr;class dr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const yr=dr;var gr=Je((function(e,t){return Fe(qt(""),tt(zt(e)),Et(""))(t)}));const vr=gr,br=(e,t)=>{const n=Ge(e,t);return St((e=>{if(qn(e)&&ut("$ref",e)&&Ct(ns,"$ref",e)){const t=Ot(["$ref"],e),s=vr("#/",t);return Ot(s.split("/"),n)}return qn(e)?br(e,n):e}),e)},Er=ts({props:{element:null},methods:{copyMetaAndAttributes(e,t){jn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),xr=Er,jr=ts(xr,{methods:{enter(e){return this.element=e.clone(),rs}}});const Or=be(Kt()),Sr=e=>{if(an(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},wr={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...us},Pr=ts(xr,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return At(this.passingOptionsNames,this)},retrieveFixedFields(e){return Fe(Ot(["visitors",...e,"fixedFields"]),I)(this.specObj)},retrieveVisitor(e){return Pt(Tn,["visitors",...e],this.specObj)?Ot(["visitors",...e],this.specObj):Ot(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return Wt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?t.clone():(ps(t,s,{keyMap:wr,nodeTypeGetter:Sr,...n}),s.element)}}}),Ar=ts(Pr,{props:{specPath:Or,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(cn(s)&&n.includes(s.toValue())&&!this.ignoredFields.includes(s.toValue())){const n=this.toRefractedElement([...t,"fixedFields",s.toValue()],e),i=new a.c6(s.clone(),n);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(s.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),rs}}}),kr=Ar,Cr=ts(kr,jr,{props:{specPath:be(["document","objects","JSONSchema"])},init(){this.element=new ur}}),_r=jr,Rr=jr,Tr=jr,Mr=jr,Ir=jr,$r=jr,qr=jr,Fr=jr,Nr=jr,Br=jr,Vr=ts({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Dr=e=>mn(e)&&e.hasKey("$ref"),Lr=ts(Pr,Vr,jr,{methods:{ObjectElement(e){const t=Dr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),rs},ArrayElement(e){return this.element=new a.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Dr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rs}}}),zr=jr,Ur=jr,Jr=jr,Gr=jr,Hr=jr,Kr=ts(jr,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),rs}}});const Wr=Te(O(1,_e(Pn,st(kn,Tn))));const Xr=Te(bt);const Yr=ve([ns,Wr,Xr]),Qr=ts(Pr,{props:{fieldPatternPredicate:c,specPath:Or,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new a.c6(t.clone(),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(n.clone())})),this.copyMetaAndAttributes(e,this.element),rs}}}),Zr=ts(Qr,{props:{fieldPatternPredicate:Yr}}),ei=ts(Zr,Vr,jr,{props:{specPath:e=>Dr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-properties")}}),ti=ts(Zr,Vr,jr,{props:{specPath:e=>Dr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-patternProperties")}}),ni=ts(Zr,Vr,jr,{props:{specPath:e=>Dr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-dependencies")}}),si=ts(jr,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),rs}}}),ri=ts(jr,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),rs},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),rs}}}),ii=ts(Pr,Vr,jr,{init(){this.element=new a.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Dr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rs}}}),oi=ts(Pr,Vr,jr,{init(){this.element=new a.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Dr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rs}}}),ai=ts(Pr,Vr,jr,{init(){this.element=new a.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Dr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rs}}}),ci=ts(Zr,Vr,jr,{props:{specPath:e=>Dr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-definitions")}}),li=jr,ui=jr,pi=jr,mi=jr,hi=jr,fi=ts(Pr,Vr,jr,{init(){this.element=new a.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),rs}}}),di=jr,yi=ts(kr,jr,{props:{specPath:be(["document","objects","JSONReference"])},init(){this.element=new mr},methods:{ObjectElement(e){const t=kr.compose.methods.ObjectElement.call(this,e);return cn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),gi=ts(jr,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),rs}}});const vi=Te(ct);const bi=_e(Hn,Xr);function Ei(e){return function(e){if(Array.isArray(e))return xi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return xi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xi(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}var ji=Fe($t(Re((function(e,t){return e.length>t.length}))),mt,re("length")),Oi=Je((function(e,t,n){var s=n.apply(void 0,Ei(e));return vi(s)?Mt(s):t}));const Si=dt(bi,(function(e){var t=ji(e);return O(t,(function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return ge(Oi(n),void 0,e)}))}),Kt),wi=ts(Pr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>dt(e,be(t),Kt))),n=Si(t)(e);return this.element=this.toRefractedElement(n,e),rs}}}),Pi=ts(wi,{props:{alternator:[{predicate:Dr,specPath:["document","objects","JSONReference"]},{predicate:l,specPath:["document","objects","JSONSchema"]}]}}),Ai={visitors:{value:jr,JSONSchemaOrJSONReferenceVisitor:Pi,document:{objects:{JSONSchema:{$visitor:Cr,fixedFields:{id:_r,$schema:Rr,multipleOf:Tr,maximum:Mr,exclusiveMaximum:Ir,minimum:$r,exclusiveMinimum:qr,maxLength:Fr,minLength:Nr,pattern:Br,additionalItems:Pi,items:Lr,maxItems:zr,minItems:Ur,uniqueItems:Jr,maxProperties:Gr,minProperties:Hr,required:Kr,properties:ei,additionalProperties:Pi,patternProperties:ti,dependencies:ni,enum:si,type:ri,allOf:ii,anyOf:oi,oneOf:ai,not:Pi,definitions:ci,title:li,description:ui,default:pi,format:mi,base:hi,links:fi,media:{$ref:"#/visitors/document/objects/Media"},readOnly:di}},JSONReference:{$visitor:yi,fixedFields:{$ref:gi}},Media:{$visitor:ts(kr,jr,{props:{specPath:be(["document","objects","Media"])},init(){this.element=new fr}}),fixedFields:{binaryEncoding:jr,type:jr}},LinkDescription:{$visitor:ts(kr,jr,{props:{specPath:be(["document","objects","LinkDescription"])},init(){this.element=new yr}}),fixedFields:{href:jr,rel:jr,title:jr,targetSchema:Pi,mediaType:jr,method:jr,encType:jr,schema:Pi}}}}}},ki=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ur||e(s)&&t("JSONSchemaDraft4",s)&&n("object",s))),Ci=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof mr||e(s)&&t("JSONReference",s)&&n("object",s))),_i=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof fr||e(s)&&t("media",s)&&n("object",s))),Ri=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof yr||e(s)&&t("linkDescription",s)&&n("object",s))),Ti={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",ur),t.register("jSONReference",mr),t.register("media",fr),t.register("linkDescription",yr),t}},Mi=()=>{const e=Qn(Ti);return{predicates:{...t,isStringElement:cn},namespace:e}},Ii=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=Ai}={})=>{const r=(0,a.Qc)(e),i=br(s),o=Wn(t,[],i);return ps(r,o,{state:{specObj:i}}),ms(o.element,n,{toolboxCreator:Mi,visitorOptions:{keyMap:wr,nodeTypeGetter:Sr}})},$i=e=>(t,n={})=>Ii(t,{specPath:e,...n});ur.refract=$i(["visitors","document","objects","JSONSchema","$visitor"]),mr.refract=$i(["visitors","document","objects","JSONReference","$visitor"]),fr.refract=$i(["visitors","document","objects","Media","$visitor"]),yr.refract=$i(["visitors","document","objects","LinkDescription","$visitor"]);const qi=class extends ur{constructor(e,t,n){super(e,t,n),this.element="schema",this.classes.push("json-schema-draft-4")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class Fi extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const Ni=Fi;class Bi extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const Vi=Bi;class Di extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}}const Li=Di;class zi extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}}const Ui=zi;class Ji extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Gi=Ji;class Hi extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const Ki=Hi,Wi=ts({props:{element:null},methods:{copyMetaAndAttributes(e,t){jn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),Xi=Wi,Yi=e=>{if(an(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Qi={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...us},Zi=ts(Xi,{props:{passingOptionsNames:["specObj","openApiGenericElement","openApiSemanticElement"],specObj:null,openApiGenericElement:null,openApiSemanticElement:null},init({specObj:e=this.specObj,openApiGenericElement:t=this.openApiGenericElement,openApiSemanticElement:n=this.openApiSemanticElement}){this.specObj=e,this.openApiGenericElement=t,this.openApiSemanticElement=n},methods:{retrievePassingOptions(){return At(this.passingOptionsNames,this)},retrieveFixedFields(e){return Fe(Ot(["visitors",...e,"fixedFields"]),I)(this.specObj)},retrieveVisitor(e){return Pt(Tn,["visitors",...e],this.specObj)?Ot(["visitors",...e],this.specObj):Ot(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return Wt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?t.clone():(ps(t,s,{keyMap:Qi,nodeTypeGetter:Yi,...n}),s.element)}}}),eo=e=>mn(e)&&e.hasKey("openapi")&&e.hasKey("info"),to=e=>mn(e)&&e.hasKey("name")&&e.hasKey("in"),no=e=>mn(e)&&e.hasKey("$ref"),so=e=>mn(e)&&e.hasKey("content"),ro=e=>mn(e)&&e.hasKey("description"),io=mn,oo=mn,ao=e=>cn(e.key)&&Ft("x-",e.key.toValue()),co=ts(Zi,{props:{specPath:Or,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:ao},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(cn(s)&&n.includes(s.toValue())&&!this.ignoredFields.includes(s.toValue())){const n=this.toRefractedElement([...t,"fixedFields",s.toValue()],e),i=new a.c6(s.clone(),n);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(s.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),rs}}}),lo=co,uo=ts(Xi,{methods:{enter(e){return this.element=e.clone(),rs}}}),po=ts(lo,uo,{props:{specPath:be(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new Gs},methods:{ObjectElement(e){return this.unrefractedElement=e,lo.compose.methods.ObjectElement.call(this,e)}}}),mo=ts(Zi,uo,{methods:{StringElement(e){const t=new Us(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,rs}}}),ho=ts(Zi,{methods:{MemberElement(e){return this.element=e.clone(),this.element.classes.push("specification-extension"),rs}}}),fo=ts(lo,uo,{props:{specPath:be(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ts}}),yo=uo,go=uo,vo=uo,bo=ts(uo,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("api-version"),this.element.classes.push("version"),rs}}}),Eo=ts(lo,uo,{props:{specPath:be(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new Es}}),xo=uo,jo=uo,Oo=uo,So=ts(lo,uo,{props:{specPath:be(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new Is}}),wo=uo,Po=uo,Ao=ts(lo,uo,{props:{specPath:be(["document","objects","Link"]),canSupportSpecificationExtensions:!0},init(){this.element=new qs},methods:{ObjectElement(e){const t=lo.compose.methods.ObjectElement.call(this,e);return(cn(this.element.operationId)||cn(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}}),ko=ts(uo,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),rs}}}),Co=ts(uo,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),rs}}}),_o=ts(Zi,{props:{fieldPatternPredicate:c,specPath:Or,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:ao},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const e=this.toRefractedElement(["document","extension"],n);this.element.content.push(e)}else if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new a.c6(t.clone(),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(n.clone())})),this.copyMetaAndAttributes(e,this.element),rs}}}),Ro=_o,To=ts(Ro,{props:{fieldPatternPredicate:Yr}});class Mo extends a.Sb{static primaryClass="link-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Mo.primaryClass)}}const Io=Mo,$o=ts(To,uo,{props:{specPath:be(["value"])},init(){this.element=new Io}}),qo=uo,Fo=uo,No=ts(lo,uo,{props:{specPath:be(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new Li}}),Bo=ts(uo,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("server-url"),rs}}}),Vo=uo;class Do extends a.ON{static primaryClass="servers";constructor(e,t,n){super(e,t,n),this.classes.push(Do.primaryClass)}}const Lo=Do,zo=ts(Zi,uo,{init(){this.element=new Lo},methods:{ArrayElement(e){return e.forEach((e=>{const t=io(e)?["document","objects","Server"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rs}}}),Uo=ts(lo,uo,{props:{specPath:be(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ui}}),Jo=uo,Go=uo,Ho=uo;class Ko extends a.Sb{static primaryClass="server-variables";constructor(e,t,n){super(e,t,n),this.classes.push(Ko.primaryClass)}}const Wo=Ko,Xo=ts(To,uo,{props:{specPath:be(["document","objects","ServerVariable"])},init(){this.element=new Wo}}),Yo=ts(lo,uo,{props:{specPath:be(["document","objects","MediaType"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ns}}),Qo=ts(Zi,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>dt(e,be(t),Kt))),n=Si(t)(e);return this.element=this.toRefractedElement(n,e),rs}}}),Zo=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ys||e(s)&&t("callback",s)&&n("object",s))),ea=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof vs||e(s)&&t("components",s)&&n("object",s))),ta=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Es||e(s)&&t("contact",s)&&n("object",s))),na=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ps||e(s)&&t("example",s)&&n("object",s))),sa=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ks||e(s)&&t("externalDocumentation",s)&&n("object",s))),ra=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof _s||e(s)&&t("header",s)&&n("object",s))),ia=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ts||e(s)&&t("info",s)&&n("object",s))),oa=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Is||e(s)&&t("license",s)&&n("object",s))),aa=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof qs||e(s)&&t("link",s)&&n("object",s))),ca=e=>{if(!aa(e))return!1;if(!cn(e.operationRef))return!1;const t=e.operationRef.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},la=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Us||e(s)&&t("openapi",s)&&n("string",s))),ua=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:s})=>r=>r instanceof Gs||e(r)&&t("openApi3_0",r)&&n("object",r)&&s("api",r))),pa=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ks||e(s)&&t("operation",s)&&n("object",s))),ma=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Xs||e(s)&&t("parameter",s)&&n("object",s))),ha=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Qs||e(s)&&t("pathItem",s)&&n("object",s))),fa=e=>{if(!ha(e))return!1;if(!cn(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},da=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof er||e(s)&&t("paths",s)&&n("object",s))),ya=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof nr||e(s)&&t("reference",s)&&n("object",s))),ga=e=>{if(!ya(e))return!1;if(!cn(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},va=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof rr||e(s)&&t("requestBody",s)&&n("object",s))),ba=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof or||e(s)&&t("response",s)&&n("object",s))),Ea=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof cr||e(s)&&t("responses",s)&&n("object",s))),xa=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof qi||e(s)&&t("schema",s)&&n("object",s))),ja=e=>pn(e)&&e.classes.includes("boolean-json-schema"),Oa=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ni||e(s)&&t("securityRequirement",s)&&n("object",s))),Sa=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Li||e(s)&&t("server",s)&&n("object",s))),wa=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ui||e(s)&&t("serverVariable",s)&&n("object",s))),Pa=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ns||e(s)&&t("mediaType",s)&&n("object",s))),Aa=ts(Qo,uo,{props:{alternator:[{predicate:no,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Qo.compose.methods.enter.call(this,e);return ya(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),ka=uo,Ca=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","Example"],canSupportSpecificationExtensions:!0},init(){this.element=new a.Sb,this.element.classes.push("examples")},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class _a extends a.Sb{static primaryClass="media-type-examples";constructor(e,t,n){super(e,t,n),this.classes.push(_a.primaryClass),this.classes.push("examples")}}const Ra=_a,Ta=ts(Ca,{init(){this.element=new Ra}});class Ma extends a.Sb{static primaryClass="media-type-encoding";constructor(e,t,n){super(e,t,n),this.classes.push(Ma.primaryClass)}}const Ia=Ma,$a=ts(To,uo,{props:{specPath:be(["document","objects","Encoding"])},init(){this.element=new Ia}}),qa=ts(To,uo,{props:{specPath:be(["value"])},init(){this.element=new Ni}});class Fa extends a.ON{static primaryClass="security";constructor(e,t,n){super(e,t,n),this.classes.push(Fa.primaryClass)}}const Na=Fa,Ba=ts(Zi,uo,{init(){this.element=new Na},methods:{ArrayElement(e){return e.forEach((e=>{if(mn(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e.clone())})),this.copyMetaAndAttributes(e,this.element),rs}}}),Va=ts(lo,uo,{props:{specPath:be(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new vs}}),Da=ts(lo,uo,{props:{specPath:be(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new Gi}}),La=uo,za=uo,Ua=ts(lo,uo,{props:{specPath:be(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new nr},methods:{ObjectElement(e){const t=lo.compose.methods.ObjectElement.call(this,e);return cn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Ja=ts(uo,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),rs}}}),Ga=ts(lo,uo,{props:{specPath:be(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new Xs},methods:{ObjectElement(e){const t=lo.compose.methods.ObjectElement.call(this,e);return mn(this.element.contentProp)&&this.element.contentProp.filter(Pa).forEach(((e,t)=>{e.setMetaProperty("media-type",t.toValue())})),t}}}),Ha=uo,Ka=uo,Wa=uo,Xa=uo,Ya=uo,Qa=uo,Za=uo,ec=uo,tc=uo,nc=ts(Qo,uo,{props:{alternator:[{predicate:no,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Qo.compose.methods.enter.call(this,e);return ya(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),sc=ts(lo,uo,{props:{specPath:be(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new _s}}),rc=uo,ic=uo,oc=uo,ac=uo,cc=uo,lc=uo,uc=uo,pc=ts(Qo,uo,{props:{alternator:[{predicate:no,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Qo.compose.methods.enter.call(this,e);return ya(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),mc=uo;class hc extends a.Sb{static primaryClass="header-examples";constructor(e,t,n){super(e,t,n),this.classes.push(hc.primaryClass),this.classes.push("examples")}}const fc=hc,dc=ts(Ca,{init(){this.element=new fc}}),yc=ts(To,uo,{props:{specPath:be(["document","objects","MediaType"])},init(){this.element=new a.Sb,this.element.classes.push("content")}});class gc extends a.Sb{static primaryClass="header-content";constructor(e,t,n){super(e,t,n),this.classes.push(gc.primaryClass),this.classes.push("content")}}const vc=gc,bc=ts(yc,{init(){this.element=new vc}}),Ec=ts(lo,uo,{props:{specPath:be(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new qi}}),{allOf:xc}=Ai.visitors.document.objects.JSONSchema.fixedFields,jc=ts(xc,{methods:{ArrayElement(e){const t=xc.compose.methods.ArrayElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:Oc}=Ai.visitors.document.objects.JSONSchema.fixedFields,Sc=ts(Oc,{methods:{ArrayElement(e){const t=Oc.compose.methods.ArrayElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:wc}=Ai.visitors.document.objects.JSONSchema.fixedFields,Pc=ts(wc,{methods:{ArrayElement(e){const t=wc.compose.methods.ArrayElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{definitions:Ac}=Ai.visitors.document.objects.JSONSchema.fixedFields,kc=ts(Ac,{methods:{ObjectElement(e){const t=Ac.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{dependencies:Cc}=Ai.visitors.document.objects.JSONSchema.fixedFields,_c=ts(Cc,{methods:{ObjectElement(e){const t=Cc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:Rc}=Ai.visitors.document.objects.JSONSchema.fixedFields,Tc=ts(Rc,{methods:{ObjectElement(e){const t=Rc.compose.methods.ObjectElement.call(this,e);return ya(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=e.clone(),rs}}}),{properties:Mc}=Ai.visitors.document.objects.JSONSchema.fixedFields,Ic=ts(Mc,{methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{patternProperties:$c}=Ai.visitors.document.objects.JSONSchema.fixedFields,qc=ts($c,{methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{type:Fc}=Ai.visitors.document.objects.JSONSchema.fixedFields,Nc=ts(Fc,{methods:{ArrayElement(e){return this.element=e.clone(),rs}}}),Bc=uo,Vc=uo,Dc=uo,Lc=uo,{JSONSchemaOrJSONReferenceVisitor:zc}=Ai.visitors,Uc=ts(zc,{methods:{ObjectElement(e){const t=zc.compose.methods.enter.call(this,e);return ya(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Jc=Object.fromEntries(Object.entries(Ai.visitors.document.objects.JSONSchema.fixedFields).map((([e,t])=>t===Ai.visitors.JSONSchemaOrJSONReferenceVisitor?[e,Uc]:[e,t]))),Gc=ts(lo,uo,{props:{specPath:be(["document","objects","Discriminator"]),canSupportSpecificationExtensions:!1},init(){this.element=new js}}),Hc=uo;class Kc extends a.Sb{static primaryClass="discriminator-mapping";constructor(e,t,n){super(e,t,n),this.classes.push(Kc.primaryClass)}}const Wc=Kc,Xc=ts(To,uo,{props:{specPath:be(["value"])},init(){this.element=new Wc}}),Yc=ts(lo,uo,{props:{specPath:be(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ki}}),Qc=uo,Zc=uo,el=uo,tl=uo,nl=uo,sl=uo;class rl extends a.Sb{static primaryClass="parameter-examples";constructor(e,t,n){super(e,t,n),this.classes.push(rl.primaryClass),this.classes.push("examples")}}const il=rl,ol=ts(Ca,{init(){this.element=new il}});class al extends a.Sb{static primaryClass="parameter-content";constructor(e,t,n){super(e,t,n),this.classes.push(al.primaryClass),this.classes.push("content")}}const cl=al,ll=ts(yc,{init(){this.element=new cl}});class ul extends a.Sb{static primaryClass="components-schemas";constructor(e,t,n){super(e,t,n),this.classes.push(ul.primaryClass)}}const pl=ul,ml=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new pl},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class hl extends a.Sb{static primaryClass="components-responses";constructor(e,t,n){super(e,t,n),this.classes.push(hl.primaryClass)}}const fl=hl,dl=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","Response"]},init(){this.element=new fl},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(ba).forEach(((e,t)=>{e.setMetaProperty("http-status-code",t.toValue())})),t}}}),yl=dl;class gl extends a.Sb{static primaryClass="components-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(gl.primaryClass),this.classes.push("parameters")}}const vl=gl,bl=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new vl},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class El extends a.Sb{static primaryClass="components-examples";constructor(e,t,n){super(e,t,n),this.classes.push(El.primaryClass),this.classes.push("examples")}}const xl=El,jl=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","Example"]},init(){this.element=new xl},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class Ol extends a.Sb{static primaryClass="components-request-bodies";constructor(e,t,n){super(e,t,n),this.classes.push(Ol.primaryClass)}}const Sl=Ol,wl=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","RequestBody"]},init(){this.element=new Sl},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}});class Pl extends a.Sb{static primaryClass="components-headers";constructor(e,t,n){super(e,t,n),this.classes.push(Pl.primaryClass)}}const Al=Pl,kl=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Al},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(ra).forEach(((e,t)=>{e.setMetaProperty("header-name",t.toValue())})),t}}}),Cl=kl;class _l extends a.Sb{static primaryClass="components-security-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(_l.primaryClass)}}const Rl=_l,Tl=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new Rl},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class Ml extends a.Sb{static primaryClass="components-links";constructor(e,t,n){super(e,t,n),this.classes.push(Ml.primaryClass)}}const Il=Ml,$l=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new Il},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});class ql extends a.Sb{static primaryClass="components-callbacks";constructor(e,t,n){super(e,t,n),this.classes.push(ql.primaryClass)}}const Fl=ql,Nl=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new Fl},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),Bl=ts(lo,uo,{props:{specPath:be(["document","objects","Example"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ps},methods:{ObjectElement(e){const t=lo.compose.methods.ObjectElement.call(this,e);return cn(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}}),Vl=uo,Dl=uo,Ll=uo,zl=ts(uo,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),rs}}}),Ul=ts(lo,uo,{props:{specPath:be(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new ks}}),Jl=uo,Gl=uo,Hl=ts(lo,uo,{props:{specPath:be(["document","objects","Encoding"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ss},methods:{ObjectElement(e){const t=lo.compose.methods.ObjectElement.call(this,e);return mn(this.element.headers)&&this.element.headers.filter(ra).forEach(((e,t)=>{e.setMetaProperty("header-name",t.toValue())})),t}}}),Kl=uo;class Wl extends a.Sb{static primaryClass="encoding-headers";constructor(e,t,n){super(e,t,n),this.classes.push(Wl.primaryClass)}}const Xl=Wl,Yl=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Xl},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!ra(e))return;const n=t.toValue();e.setMetaProperty("headerName",n)})),t}}}),Ql=Yl,Zl=uo,eu=uo,tu=uo,nu=ts(Ro,uo,{props:{fieldPatternPredicate:Nt(/^\/(?<path>.*)$/),specPath:be(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new er},methods:{ObjectElement(e){const t=Ro.compose.methods.ObjectElement.call(this,e);return this.element.filter(ha).forEach(((e,t)=>{e.setMetaProperty("path",t.clone())})),t}}}),su=ts(lo,uo,{props:{specPath:be(["document","objects","RequestBody"])},init(){this.element=new rr},methods:{ObjectElement(e){const t=lo.compose.methods.ObjectElement.call(this,e);return mn(this.element.contentProp)&&this.element.contentProp.filter(Pa).forEach(((e,t)=>{e.setMetaProperty("media-type",t.toValue())})),t}}}),ru=uo;class iu extends a.Sb{static primaryClass="request-body-content";constructor(e,t,n){super(e,t,n),this.classes.push(iu.primaryClass),this.classes.push("content")}}const ou=iu,au=ts(yc,{init(){this.element=new ou}}),cu=uo,lu=ts(Ro,uo,{props:{fieldPatternPredicate:Nt(/{(?<expression>.*)}/),specPath:be(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new ys},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ha).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",t.toValue())})),t}}}),uu=ts(lo,uo,{props:{specPath:be(["document","objects","Response"])},init(){this.element=new or},methods:{ObjectElement(e){const t=lo.compose.methods.ObjectElement.call(this,e);return mn(this.element.contentProp)&&this.element.contentProp.filter(Pa).forEach(((e,t)=>{e.setMetaProperty("media-type",t.toValue())})),mn(this.element.headers)&&this.element.headers.filter(ra).forEach(((e,t)=>{e.setMetaProperty("header-name",t.toValue())})),t}}}),pu=uo;class mu extends a.Sb{static primaryClass="response-headers";constructor(e,t,n){super(e,t,n),this.classes.push(mu.primaryClass)}}const hu=mu,fu=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new hu},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!ra(e))return;const n=t.toValue();e.setMetaProperty("header-name",n)})),t}}}),du=fu;class yu extends a.Sb{static primaryClass="response-content";constructor(e,t,n){super(e,t,n),this.classes.push(yu.primaryClass),this.classes.push("content")}}const gu=yu,vu=ts(yc,{init(){this.element=new gu}});class bu extends a.Sb{static primaryClass="response-links";constructor(e,t,n){super(e,t,n),this.classes.push(bu.primaryClass)}}const Eu=bu,xu=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new Eu},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}}),ju=ts(lo,Ro,{props:{specPathFixedFields:Or,specPathPatternedFields:Or},methods:{ObjectElement(e){const{specPath:t,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...n,...We(e.keys(),t)],lo.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,Ro.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return rs}}}),Ou=ts(ju,uo,{props:{specPathFixedFields:be(["document","objects","Responses"]),specPathPatternedFields:e=>no(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:Nt(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${Tt(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new cr},methods:{ObjectElement(e){const t=ju.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(ba).forEach(((e,t)=>{const n=t.clone();this.fieldPatternPredicate(n.toValue())&&e.setMetaProperty("http-status-code",n)})),t}}}),Su=Ou,wu=ts(Qo,uo,{props:{alternator:[{predicate:no,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=Qo.compose.methods.enter.call(this,e);return ya(this.element)?this.element.setMetaProperty("referenced-element","response"):ba(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),Pu=ts(lo,uo,{props:{specPath:be(["document","objects","Operation"])},init(){this.element=new Ks}});class Au extends a.ON{static primaryClass="operation-tags";constructor(e,t,n){super(e,t,n),this.classes.push(Au.primaryClass)}}const ku=Au,Cu=ts(uo,{init(){this.element=new ku},methods:{ArrayElement(e){return this.element=this.element.concat(e.clone()),rs}}}),_u=uo,Ru=uo,Tu=uo;class Mu extends a.ON{static primaryClass="operation-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Mu.primaryClass),this.classes.push("parameters")}}const Iu=Mu,$u=ts(Zi,uo,{init(){this.element=new a.ON,this.element.classes.push("parameters")},methods:{ArrayElement(e){return e.forEach((e=>{const t=no(e)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(t,e);ya(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rs}}}),qu=ts($u,{init(){this.element=new Iu}}),Fu=ts(Qo,{props:{alternator:[{predicate:no,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","RequestBody"]}]},methods:{ObjectElement(e){const t=Qo.compose.methods.enter.call(this,e);return ya(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}}});class Nu extends a.Sb{static primaryClass="operation-callbacks";constructor(e,t,n){super(e,t,n),this.classes.push(Nu.primaryClass)}}const Bu=Nu,Vu=ts(To,uo,{props:{specPath:e=>no(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new Bu},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(ya).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),Du=uo;class Lu extends a.ON{static primaryClass="operation-security";constructor(e,t,n){super(e,t,n),this.classes.push(Lu.primaryClass),this.classes.push("security")}}const zu=Lu,Uu=ts(Zi,uo,{init(){this.element=new zu},methods:{ArrayElement(e){return e.forEach((e=>{const t=mn(e)?["document","objects","SecurityRequirement"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rs}}});class Ju extends a.ON{static primaryClass="operation-servers";constructor(e,t,n){super(e,t,n),this.classes.push(Ju.primaryClass),this.classes.push("servers")}}const Gu=Ju,Hu=ts(zo,{init(){this.element=new Gu}}),Ku=ts(lo,uo,{props:{specPath:be(["document","objects","PathItem"])},init(){this.element=new Qs},methods:{ObjectElement(e){const t=lo.compose.methods.ObjectElement.call(this,e);return this.element.filter(pa).forEach(((e,t)=>{const n=t.clone();n.content=n.toValue().toUpperCase(),e.setMetaProperty("http-method",n)})),cn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Wu=ts(uo,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),rs}}}),Xu=uo,Yu=uo;class Qu extends a.ON{static primaryClass="path-item-servers";constructor(e,t,n){super(e,t,n),this.classes.push(Qu.primaryClass),this.classes.push("servers")}}const Zu=Qu,ep=ts(zo,{init(){this.element=new Zu}});class tp extends a.ON{static primaryClass="path-item-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(tp.primaryClass),this.classes.push("parameters")}}const np=tp,sp=ts($u,{init(){this.element=new np}}),rp=ts(lo,uo,{props:{specPath:be(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new Vi}}),ip=uo,op=uo,ap=uo,cp=uo,lp=uo,up=uo,pp=uo,mp=ts(lo,uo,{props:{specPath:be(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ls}}),hp=ts(lo,uo,{props:{specPath:be(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new Vs}}),fp=uo,dp=uo,yp=uo;class gp extends a.Sb{static primaryClass="oauth-flow-scopes";constructor(e,t,n){super(e,t,n),this.classes.push(gp.primaryClass)}}const vp=gp,bp=ts(To,uo,{props:{specPath:be(["value"])},init(){this.element=new vp}});class Ep extends a.ON{static primaryClass="tags";constructor(e,t,n){super(e,t,n),this.classes.push(Ep.primaryClass)}}const xp=Ep,jp={$visitor:Ua,fixedFields:{$ref:Ja}},Op={$visitor:Ec,fixedFields:{...Jc,allOf:jc,anyOf:Sc,oneOf:Pc,definitions:kc,items:Tc,dependencies:_c,properties:Ic,patternProperties:qc,type:Nc,nullable:Bc,discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:Vc,xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:Dc,deprecated:Lc}},Sp={visitors:{value:uo,document:{objects:{OpenApi:{$visitor:po,fixedFields:{openapi:mo,info:{$ref:"#/visitors/document/objects/Info"},servers:zo,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Ba,tags:ts(Zi,uo,{init(){this.element=new xp},methods:{ArrayElement(e){return e.forEach((e=>{const t=oo(e)?["document","objects","Tag"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rs}}}),externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:fo,fixedFields:{title:yo,description:go,termsOfService:vo,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:bo}},Contact:{$visitor:Eo,fixedFields:{name:xo,url:jo,email:Oo}},License:{$visitor:So,fixedFields:{name:wo,url:Po}},Server:{$visitor:No,fixedFields:{url:Bo,description:Vo,variables:Xo}},ServerVariable:{$visitor:Uo,fixedFields:{enum:Jo,default:Go,description:Ho}},Components:{$visitor:Va,fixedFields:{schemas:ml,responses:yl,parameters:bl,examples:jl,requestBodies:wl,headers:Cl,securitySchemes:Tl,links:$l,callbacks:Nl}},Paths:{$visitor:nu},PathItem:{$visitor:Ku,fixedFields:{$ref:Wu,summary:Xu,description:Yu,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:ep,parameters:sp}},Operation:{$visitor:Pu,fixedFields:{tags:Cu,summary:_u,description:Ru,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:Tu,parameters:qu,requestBody:Fu,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Vu,deprecated:Du,security:Uu,servers:Hu}},ExternalDocumentation:{$visitor:Ul,fixedFields:{description:Jl,url:Gl}},Parameter:{$visitor:Ga,fixedFields:{name:Ha,in:Ka,description:Wa,required:Xa,deprecated:Ya,allowEmptyValue:Qa,style:Za,explode:ec,allowReserved:tc,schema:nc,example:sl,examples:ol,content:ll}},RequestBody:{$visitor:su,fixedFields:{description:ru,content:au,required:cu}},MediaType:{$visitor:Yo,fixedFields:{schema:Aa,example:ka,examples:Ta,encoding:$a}},Encoding:{$visitor:Hl,fixedFields:{contentType:Kl,headers:Ql,style:Zl,explode:eu,allowReserved:tu}},Responses:{$visitor:Su,fixedFields:{default:wu}},Response:{$visitor:uu,fixedFields:{description:pu,headers:du,content:vu,links:xu}},Callback:{$visitor:lu},Example:{$visitor:Bl,fixedFields:{summary:Vl,description:Dl,value:Ll,externalValue:zl}},Link:{$visitor:Ao,fixedFields:{operationRef:ko,operationId:Co,parameters:$o,requestBody:qo,description:Fo,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:sc,fixedFields:{description:rc,required:ic,deprecated:oc,allowEmptyValue:ac,style:cc,explode:lc,allowReserved:uc,schema:pc,example:mc,examples:dc,content:bc}},Tag:{$visitor:Da,fixedFields:{name:La,description:za,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},JSONReference:jp,Reference:jp,JSONSchema:Op,Schema:Op,LinkDescription:Ai.visitors.document.objects.LinkDescription,Media:Ai.visitors.document.objects.Media,Discriminator:{$visitor:Gc,fixedFields:{propertyName:Hc,mapping:Xc}},XML:{$visitor:Yc,fixedFields:{name:Qc,namespace:Zc,prefix:el,attribute:tl,wrapped:nl}},SecurityScheme:{$visitor:rp,fixedFields:{type:ip,description:op,name:ap,in:cp,scheme:lp,bearerFormat:up,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:pp}},OAuthFlows:{$visitor:mp,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:hp,fixedFields:{authorizationUrl:fp,tokenUrl:dp,refreshUrl:yp,scopes:bp}},SecurityRequirement:{$visitor:qa}},extension:{$visitor:ho}}}},wp={namespace:e=>{const{base:t}=e;return t.register("callback",ys),t.register("components",vs),t.register("contact",Es),t.register("discriminator",js),t.register("encoding",Ss),t.register("example",Ps),t.register("externalDocumentation",ks),t.register("header",_s),t.register("info",Ts),t.register("license",Is),t.register("link",qs),t.register("mediaType",Ns),t.register("oAuthFlow",Vs),t.register("oAuthFlows",Ls),t.register("openapi",Us),t.register("openApi3_0",Gs),t.register("operation",Ks),t.register("parameter",Xs),t.register("pathItem",Qs),t.register("paths",er),t.register("reference",nr),t.register("requestBody",rr),t.register("response",or),t.register("responses",cr),t.register("schema",qi),t.register("securityRequirement",Ni),t.register("securityScheme",Vi),t.register("server",Li),t.register("serverVariable",Ui),t.register("tag",Gi),t.register("xml",Ki),t}},Pp=()=>{const e=Qn(wp);return{predicates:{...r,...i,isStringElement:cn},namespace:e}},Ap=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:n=[]}={})=>{const s=(0,a.Qc)(e),r=br(Sp),i=Wn(t,[],r);return ps(s,i,{state:{specObj:r}}),ms(i.element,n,{toolboxCreator:Pp,visitorOptions:{keyMap:Qi,nodeTypeGetter:Yi}})},kp=e=>(t,n={})=>Ap(t,{specPath:e,...n});ys.refract=kp(["visitors","document","objects","Callback","$visitor"]),vs.refract=kp(["visitors","document","objects","Components","$visitor"]),Es.refract=kp(["visitors","document","objects","Contact","$visitor"]),Ps.refract=kp(["visitors","document","objects","Example","$visitor"]),js.refract=kp(["visitors","document","objects","Discriminator","$visitor"]),Ss.refract=kp(["visitors","document","objects","Encoding","$visitor"]),ks.refract=kp(["visitors","document","objects","ExternalDocumentation","$visitor"]),_s.refract=kp(["visitors","document","objects","Header","$visitor"]),Ts.refract=kp(["visitors","document","objects","Info","$visitor"]),Is.refract=kp(["visitors","document","objects","License","$visitor"]),qs.refract=kp(["visitors","document","objects","Link","$visitor"]),Ns.refract=kp(["visitors","document","objects","MediaType","$visitor"]),Vs.refract=kp(["visitors","document","objects","OAuthFlow","$visitor"]),Ls.refract=kp(["visitors","document","objects","OAuthFlows","$visitor"]),Us.refract=kp(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Gs.refract=kp(["visitors","document","objects","OpenApi","$visitor"]),Ks.refract=kp(["visitors","document","objects","Operation","$visitor"]),Xs.refract=kp(["visitors","document","objects","Parameter","$visitor"]),Qs.refract=kp(["visitors","document","objects","PathItem","$visitor"]),er.refract=kp(["visitors","document","objects","Paths","$visitor"]),nr.refract=kp(["visitors","document","objects","Reference","$visitor"]),rr.refract=kp(["visitors","document","objects","RequestBody","$visitor"]),or.refract=kp(["visitors","document","objects","Response","$visitor"]),cr.refract=kp(["visitors","document","objects","Responses","$visitor"]),qi.refract=kp(["visitors","document","objects","Schema","$visitor"]),Ni.refract=kp(["visitors","document","objects","SecurityRequirement","$visitor"]),Vi.refract=kp(["visitors","document","objects","SecurityScheme","$visitor"]),Li.refract=kp(["visitors","document","objects","Server","$visitor"]),Ui.refract=kp(["visitors","document","objects","ServerVariable","$visitor"]),Gi.refract=kp(["visitors","document","objects","Tag","$visitor"]),Ki.refract=kp(["visitors","document","objects","XML","$visitor"]);const Cp=class extends ys{};const _p=class extends vs{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}};const Rp=class extends Es{};const Tp=class extends js{};const Mp=class extends Ss{};const Ip=class extends Ps{};const $p=class extends ks{};const qp=class extends _s{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Fp=class extends Ts{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};class Np extends a.RP{static default=new Np("https://spec.openapis.org/oas/3.1/dialect/base");constructor(e,t,n){super(e,t,n),this.element="jsonSchemaDialect"}}const Bp=Np;const Vp=class extends Is{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}};const Dp=class extends qs{};const Lp=class extends Ns{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const zp=class extends Vs{};const Up=class extends Ls{};const Jp=class extends Us{};class Gp extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(e){this.set("jsonSchemaDialect",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get webhooks(){return this.get("webhooks")}set webhooks(e){this.set("webhooks",e)}}const Hp=Gp;const Kp=class extends Ks{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}};const Wp=class extends Xs{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Xp=class extends Qs{get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}};const Yp=class extends er{};class Qp extends nr{}Object.defineProperty(Qp.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0}),Object.defineProperty(Qp.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});const Zp=Qp;const em=class extends rr{};const tm=class extends or{};const nm=class extends cr{};class sm extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="schema"}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(e){this.set("$vocabulary",e)}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get $anchor(){return this.get("$anchor")}set $anchor(e){this.set("$anchor",e)}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(e){this.set("$dynamicAnchor",e)}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(e){this.set("$dynamicRef",e)}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get $defs(){return this.get("$defs")}set $defs(e){this.set("$defs",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(e){this.set("dependentSchemas",e)}get prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(e){this.set("unevaluatedItems",e)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(e){this.set("unevaluatedProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxContains(){return this.get("maxContains")}set maxContains(e){this.set("maxContains",e)}get minContains(){return this.get("minContains")}set minContains(e){this.set("minContains",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get dependentRequired(){return this.get("dependentRequired")}set dependentRequired(e){this.set("dependentRequired",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get contentSchema(){return this.get("contentSchema")}set contentSchema(e){this.set("contentSchema",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}}const rm=sm;const im=class extends Ni{};const om=class extends Vi{};const am=class extends Li{};const cm=class extends Ui{};const lm=class extends Gi{};const um=class extends Ki{},pm={namespace:e=>{const{base:t}=e;return t.register("callback",Cp),t.register("components",_p),t.register("contact",Rp),t.register("discriminator",Tp),t.register("encoding",Mp),t.register("example",Ip),t.register("externalDocumentation",$p),t.register("header",qp),t.register("info",Fp),t.register("jsonSchemaDialect",Bp),t.register("license",Vp),t.register("link",Dp),t.register("mediaType",Lp),t.register("oAuthFlow",zp),t.register("oAuthFlows",Up),t.register("openapi",Jp),t.register("openApi3_1",Hp),t.register("operation",Kp),t.register("parameter",Wp),t.register("pathItem",Xp),t.register("paths",Yp),t.register("reference",Zp),t.register("requestBody",em),t.register("response",tm),t.register("responses",nm),t.register("schema",rm),t.register("securityRequirement",im),t.register("securityScheme",om),t.register("server",am),t.register("serverVariable",cm),t.register("tag",lm),t.register("xml",um),t}};class mm extends a.Sb{static primaryClass="components-path-items";constructor(e,t,n){super(e,t,n),this.classes.push(mm.primaryClass)}}const hm=mm;class fm extends a.Sb{static primaryClass="webhooks";constructor(e,t,n){super(e,t,n),this.classes.push(fm.primaryClass)}}const dm=fm,ym=e=>{if(an(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},gm={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...us},vm={OpenApi3_1Element:{info:(...e)=>new Fp(...e),servers:(...e)=>new Lo(...e),paths:(...e)=>new Yp(...e),webhooks:(...e)=>new dm(...e),components:(...e)=>new _p(...e),security:(...e)=>new Na(...e),tags:(...e)=>new xp(...e),externalDocs:(...e)=>new $p(...e)},InfoElement:{contact:(...e)=>new Rp(...e),license:(...e)=>new Vp(...e)},ServerElement:{variables:(...e)=>new Wo(...e)},ServerVariableElement:{enum:(...e)=>new a.ON(...e)},PathsElement:{"[key: *]":function(...e){return new Xp(...e)}},PathItemElement:{get:(...e)=>new Kp(...e),put:(...e)=>new Kp(...e),post:(...e)=>new Kp(...e),delete:(...e)=>new Kp(...e),options:(...e)=>new Kp(...e),head:(...e)=>new Kp(...e),patch:(...e)=>new Kp(...e),trace:(...e)=>new Kp(...e),servers:(...e)=>new Zu(...e),parameters:(...e)=>new np(...e)},OperationElement:{tags:(...e)=>new ku(...e),externalDocs:(...e)=>new $p(...e),parameters:(...e)=>new Iu(...e),requestBody:(...e)=>new em(...e),responses:(...e)=>new nm(...e),callbacks:(...e)=>new Bu(...e),security:(...e)=>new zu(...e),servers:(...e)=>new Gu(...e)},ParameterElement:{schema:(...e)=>new rm(...e),examples:(...e)=>new il(...e),content:(...e)=>new cl(...e)},RequestBodyElement:{content:(...e)=>new ou(...e)},MediaTypeElement:{schema:(...e)=>new rm(...e),examples:(...e)=>new Ra(...e),encoding:(...e)=>new Ia(...e)},EncodingElement:{headers:(...e)=>new Xl(...e)},ResponsesElement:{"[key: *]":function(...e){return new tm(...e)}},ResponseElement:{headers:(...e)=>new hu(...e),content:(...e)=>new gu(...e),links:(...e)=>new Eu(...e)},CallbackElement:{"[key: *]":function(...e){return new Xp(...e)}},LinkElement:{server:(...e)=>new am(...e)},HeaderElement:{schema:(...e)=>new rm(...e),examples:(...e)=>new fc(...e),content:(...e)=>new vc(...e)},ComponentsElement:{schemas:(...e)=>new pl(...e),responses:(...e)=>new fl(...e),parameters:(...e)=>new vl(...e),examples:(...e)=>new xl(...e),requestBodies:(...e)=>new Sl(...e),headers:(...e)=>new Al(...e),securitySchemes:(...e)=>new Rl(...e),links:(...e)=>new Il(...e),callbacks:(...e)=>new Fl(...e),pathItems:(...e)=>new hm(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new a.ON(...e)}},TagElement:{externalDocs:(...e)=>new $p(...e)},SchemaElement:{$vocabulary(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-$vocabulary"),t},$defs(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-$defs"),t},allOf(...e){const t=new a.ON(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new a.ON(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new a.ON(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new rm(...e),if:(...e)=>new rm(...e),then:(...e)=>new rm(...e),else:(...e)=>new rm(...e),dependentSchemas(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-dependentSchemas"),t},prefixItems(...e){const t=new a.ON(...e);return t.classes.push("json-schema-prefixItems"),t},items:(...e)=>new rm(...e),contains:(...e)=>new rm(...e),properties(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-properties"),t},patternProperties(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-patternProperties"),t},additionalProperties:(...e)=>new rm(...e),propertyNames:(...e)=>new rm(...e),unevaluatedItems:(...e)=>new rm(...e),unevaluatedProperties:(...e)=>new rm(...e),type(...e){const t=new a.ON(...e);return t.classes.push("json-schema-type"),t},enum(...e){const t=new a.ON(...e);return t.classes.push("json-schema-enum"),t},required(...e){const t=new a.ON(...e);return t.classes.push("json-schema-required"),t},dependentRequired(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-dependentRequired"),t},examples(...e){const t=new a.ON(...e);return t.classes.push("json-schema-examples"),t},contentSchema:(...e)=>new rm(...e),discriminator:(...e)=>new Tp(...e),xml:(...e)=>new um(...e),externalDocs:(...e)=>new $p(...e)},DiscriminatorElement:{mapping:(...e)=>new Wc(...e)},SecuritySchemeElement:{flows:(...e)=>new Up(...e)},OAuthFlowsElement:{implicit:(...e)=>new zp(...e),password:(...e)=>new zp(...e),clientCredentials:(...e)=>new zp(...e),authorizationCode:(...e)=>new zp(...e)},OAuthFlowElement:{scopes:(...e)=>new vp(...e)},[dm.primaryClass]:{"[key: *]":function(...e){return new Xp(...e)}},[Wo.primaryClass]:{"[key: *]":function(...e){return new cm(...e)}},[pl.primaryClass]:{"[key: *]":function(...e){return new rm(...e)}},[fl.primaryClass]:{"[key: *]":function(...e){return new tm(...e)}},[vl.primaryClass]:{"[key: *]":function(...e){return new Wp(...e)}},[xl.primaryClass]:{"[key: *]":function(...e){return new Ip(...e)}},[Sl.primaryClass]:{"[key: *]":function(...e){return new em(...e)}},[Al.primaryClass]:{"[key: *]":function(...e){return new qp(...e)}},[Rl.primaryClass]:{"[key: *]":function(...e){return new om(...e)}},[Il.primaryClass]:{"[key: *]":function(...e){return new Dp(...e)}},[Fl.primaryClass]:{"[key: *]":function(...e){return new Cp(...e)}},[hm.primaryClass]:{"[key: *]":function(...e){return new Xp(...e)}},[Bu.primaryClass]:{"[key: *]":function(...e){return new Cp(...e)}},[il.primaryClass]:{"[key: *]":function(...e){return new Ip(...e)}},[cl.primaryClass]:{"[key: *]":function(...e){return new Lp(...e)}},[ou.primaryClass]:{"[key: *]":function(...e){return new Lp(...e)}},[Ra.primaryClass]:{"[key: *]":function(...e){return new Ip(...e)}},[Ia.primaryClass]:{"[key: *]":function(...e){return new Mp(...e)}},[Xl.primaryClass]:{"[key: *]":function(...e){return new qp(...e)}},[hu.primaryClass]:{"[key: *]":function(...e){return new qp(...e)}},[gu.primaryClass]:{"[key: *]":function(...e){return new Lp(...e)}},[Eu.primaryClass]:{"[key: *]":function(...e){return new Dp(...e)}},"json-schema-$defs":{"[key: *]":function(...e){return new rm(...e)}},"json-schema-dependentSchemas":{"[key: *]":function(...e){return new rm(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new rm(...e)}},[Lo.primaryClass]:{"<*>":(...e)=>new am(...e)},[Na.primaryClass]:{"<*>":function(...e){return new im(...e)}},[xp.primaryClass]:{"<*>":function(...e){return new lm(...e)}},[Zu.primaryClass]:{"<*>":function(...e){return new am(...e)}},[np.primaryClass]:{"<*>":function(...e){return new Wp(...e)}},[Iu.primaryClass]:{"<*>":function(...e){return new Wp(...e)}},[zu.primaryClass]:{"<*>":function(...e){return new im(...e)}},[Gu.primaryClass]:{"<*>":function(...e){return new am(...e)}},"json-schema-allOf":{"<*>":function(...e){return new rm(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new rm(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new rm(...e)}},"json-schema-prefixItems":{"<*>":function(...e){return new rm(...e)}}},bm=(e,t)=>{const n=ym(e),s=vm[n]||vm[e.classes.first?.toValue?.()];return void 0===s?void 0:Object.prototype.hasOwnProperty.call(s,"[key: *]")?s["[key: *]"]:s[t]},Em=()=>({predicates:e})=>{const t=t=>e.isStringElement(t)&&e.includesClasses(["yaml-e-node","yaml-e-scalar"],t);return{visitor:{MemberElement(e,...n){if(!t(e.value))return;const[,,,s]=n,r=s[s.length-1],i=bm(r,e.key.toValue());if(void 0===i)return;const o=e.value;return new a.c6(e.key,i.call({context:r},void 0,o.meta.clone(),o.attributes.clone()),e.meta.clone(),e.attributes.clone())},StringElement(n,...s){if(!t(n))return;const[,,,r]=s,i=r[r.length-1];if(!e.isArrayElement(i))return;const o=bm(i,"<*>");return void 0!==o?o.call({context:n},void 0,n.meta.clone(),n.attributes.clone()):void 0}}}},xm=e=>"string"==typeof(null==e?void 0:e.type)?e.type:cs(e),jm={EphemeralObject:["content"],EphemeralArray:["content"],...us},Om=(e,t,{keyMap:n=jm,...s}={})=>ps(e,t,{keyMap:n,nodeTypeGetter:xm,nodePredicate:l,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});Om[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=jm,...n}={})=>ps[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:xm,nodePredicate:l,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const Sm=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const wm=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},Pm=ts.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new wm(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new Sm(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),Am=e=>Om(e,Pm()),km=()=>({predicates:e})=>{const t=(t,n)=>!!e.isParameterElement(t)&&(!!e.isParameterElement(n)&&(!!e.isStringElement(t.name)&&(!!e.isStringElement(t.in)&&(!!e.isStringElement(n.name)&&(!!e.isStringElement(n.in)&&(Am(t.name)===Am(n.name)&&Am(t.in)===Am(n.in))))))),n=[];return{visitor:{PathItemElement:{enter(t,s,r,i,o){if(o.some(e.isComponentsElement))return;const{parameters:a}=t;e.isArrayElement(a)?n.push([...a.content]):n.push([])},leave(){n.pop()}},OperationElement:{leave(e){const s=xt(n);if(!Array.isArray(s)||0===s.length)return;const r=wt([],["parameters","content"],e),i=Lt(t,[...r,...s]);e.parameters=new Iu(i)}}}}},Cm=()=>({predicates:e})=>{let t;return{visitor:{OpenApi3_1Element:{enter(n){e.isArrayElement(n.security)&&(t=n.security)},leave(){t=void 0}},OperationElement:{leave(n,s,r,i,o){if(o.some(e.isComponentsElement))return;void 0===n.security&&void 0!==t&&(n.security=new zu(t?.content))}}}}},_m=()=>({predicates:e})=>{let t;const n=[];return{visitor:{OpenApi3_1Element:{enter(n){e.isArrayElement(n.servers)&&(t=n.servers?.content)},leave(){t=void 0}},PathItemElement:{enter(s,r,i,o,a){if(a.some(e.isComponentsElement))return;void 0===s.servers&&void 0!==t&&(s.servers=new Zu(t));const{servers:c}=s;void 0!==c&&e.isArrayElement(c)?n.push([...c.content]):n.push(void 0)},leave(){n.pop()}},OperationElement:{enter(t){const s=xt(n);void 0!==s&&(e.isArrayElement(t.servers)||(t.servers=new Gu(s)))}}}}},Rm=e=>e.replace(/\s/g,""),Tm=e=>e.replace(/\W/gi,"_"),Mm=(e,t,n)=>{const s=Rm(e);return s.length>0?Tm(s):((e,t)=>`${Tm(Rm(t.toLowerCase()))}${Tm(Rm(e))}`)(t,n)},Im=({operationIdNormalizer:e=Mm}={})=>({predicates:t,namespace:n})=>{const s=[],r=[],i=[];return{visitor:{OpenApi3_1Element:{leave(){const e=at((e=>Am(e.operationId)),r);Object.entries(e).forEach((([e,t])=>{Array.isArray(t)&&(t.length<=1||t.forEach(((t,s)=>{const r=`${e}${s+1}`;t.operationId=new n.elements.String(r)})))})),i.forEach((e=>{if(void 0===e.operationId)return;const t=String(Am(e.operationId)),n=r.find((e=>Am(e.meta.get("originalOperationId"))===t));void 0!==n&&(e.operationId=n.operationId?.clone(),e.meta.set("originalOperationId",t),e.set("__originalOperationId",t))})),r.length=0,i.length=0}},PathItemElement:{enter(e){const t=Ge("path",Am(e.meta.get("path")));s.push(t)},leave(){s.pop()}},OperationElement:{enter(t){if(void 0===t.operationId)return;const i=String(Am(t.operationId)),o=xt(s),a=Ge("method",Am(t.meta.get("http-method"))),c=e(i,o,a);i!==c&&(t.operationId=new n.elements.String(c),t.set("__originalOperationId",i),t.meta.set("originalOperationId",i),r.push(t))}},LinkElement:{leave(e){t.isLinkElement(e)&&void 0!==e.operationId&&i.push(e)}}}}},$m=()=>({predicates:e})=>({visitor:{ParameterElement:{leave(t,n,s,r,i){if(!i.some(e.isComponentsElement)&&void 0!==t.schema&&e.isSchemaElement(t.schema)&&(void 0!==t.schema?.example||void 0!==t.schema?.examples)){if(void 0!==t.examples&&e.isObjectElement(t.examples)){const e=t.examples.map((e=>e.value?.clone()));return void 0!==t.schema.examples&&t.schema.set("examples",e),void(void 0!==t.schema.example&&t.schema.set("example",e))}void 0!==t.example&&(void 0!==t.schema.examples&&t.schema.set("examples",[t.example.clone()]),void 0!==t.schema.example&&t.schema.set("example",t.example.clone()))}}}}}),qm=()=>({predicates:e})=>({visitor:{HeaderElement:{leave(t,n,s,r,i){if(!i.some(e.isComponentsElement)&&void 0!==t.schema&&e.isSchemaElement(t.schema)&&(void 0!==t.schema?.example||void 0!==t.schema?.examples)){if(void 0!==t.examples&&e.isObjectElement(t.examples)){const e=t.examples.map((e=>e.value?.clone()));return void 0!==t.schema.examples&&t.schema.set("examples",e),void(void 0!==t.schema.example&&t.schema.set("example",e))}void 0!==t.example&&(void 0!==t.schema.examples&&t.schema.set("examples",[t.example.clone()]),void 0!==t.schema.example&&t.schema.set("example",t.example.clone()))}}}}}),Fm=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Cp||e(s)&&t("callback",s)&&n("object",s))),Nm=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof _p||e(s)&&t("components",s)&&n("object",s))),Bm=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Rp||e(s)&&t("contact",s)&&n("object",s))),Vm=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ip||e(s)&&t("example",s)&&n("object",s))),Dm=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof $p||e(s)&&t("externalDocumentation",s)&&n("object",s))),Lm=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof qp||e(s)&&t("header",s)&&n("object",s))),zm=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Fp||e(s)&&t("info",s)&&n("object",s))),Um=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Bp||e(s)&&t("jsonSchemaDialect",s)&&n("string",s))),Jm=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Vp||e(s)&&t("license",s)&&n("object",s))),Gm=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Dp||e(s)&&t("link",s)&&n("object",s))),Hm=e=>{if(!Gm(e))return!1;if(!cn(e.operationRef))return!1;const t=e.operationRef.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Km=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Jp||e(s)&&t("openapi",s)&&n("string",s))),Wm=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:s})=>r=>r instanceof Hp||e(r)&&t("openApi3_1",r)&&n("object",r)&&s("api",r))),Xm=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Kp||e(s)&&t("operation",s)&&n("object",s))),Ym=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Wp||e(s)&&t("parameter",s)&&n("object",s))),Qm=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Xp||e(s)&&t("pathItem",s)&&n("object",s))),Zm=e=>{if(!Qm(e))return!1;if(!cn(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},eh=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Yp||e(s)&&t("paths",s)&&n("object",s))),th=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Zp||e(s)&&t("reference",s)&&n("object",s))),nh=e=>{if(!th(e))return!1;if(!cn(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},sh=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof em||e(s)&&t("requestBody",s)&&n("object",s))),rh=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof tm||e(s)&&t("response",s)&&n("object",s))),ih=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof nm||e(s)&&t("responses",s)&&n("object",s))),oh=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof rm||e(s)&&t("schema",s)&&n("object",s))),ah=e=>pn(e)&&e.classes.includes("boolean-json-schema"),ch=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof im||e(s)&&t("securityRequirement",s)&&n("object",s))),lh=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof am||e(s)&&t("server",s)&&n("object",s))),uh=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof cm||e(s)&&t("serverVariable",s)&&n("object",s))),ph=on((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Lp||e(s)&&t("mediaType",s)&&n("object",s))),mh=()=>{const e=Qn(pm);return{predicates:{...o,isStringElement:cn,isArrayElement:hn,isObjectElement:mn,includesClasses:Sn},namespace:e}},hh=e=>mn(e)&&e.hasKey("openapi")&&e.hasKey("info")})(),s})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsOpenApi3_1=t():e.apidomNsOpenApi3_1=t()}(self,(()=>(()=>{var e={42:(e,t,n)=>{var s=n(5846);e.exports=s},6791:(e,t,n)=>{n(4339),n(4242),n(4016),n(8939),n(5454);var s=n(7545);e.exports=s.AggregateError},6762:(e,t,n)=>{e.exports=n(3028)},3028:(e,t,n)=>{n(2752);var s=n(42);e.exports=s},6235:(e,t,n)=>{var s=n(6447),r=n(9288),i=TypeError;e.exports=function(e){if(s(e))return e;throw i(r(e)+" is not a function")}},7757:(e,t,n)=>{var s=n(6447),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||s(e))return e;throw i("Can't set "+r(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,n)=>{var s=n(5744),r=String,i=TypeError;e.exports=function(e){if(s(e))return e;throw i(r(e)+" is not an object")}},8180:(e,t,n)=>{var s=n(101),r=n(7739),i=n(4104),o=function(e){return function(t,n,o){var a,c=s(t),l=i(c),u=r(o,l);if(e&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,n)=>{var s=n(4120),r=s({}.toString),i=s("".slice);e.exports=function(e){return i(r(e),8,-1)}},4696:(e,t,n)=>{var s=n(3471),r=n(6447),i=n(9272),o=n(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());e.exports=s?i:function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:c?i(t):"Object"==(s=i(t))&&r(t.callee)?"Arguments":s}},7987:(e,t,n)=>{var s=n(4500),r=n(3011),i=n(5141),o=n(2454);e.exports=function(e,t,n){for(var a=r(t),c=o.f,l=i.f,u=0;u<a.length;u++){var p=a[u];s(e,p)||n&&s(n,p)||c(e,p,l(t,p))}}},4635:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{var s=n(69),r=n(2454),i=n(774);e.exports=s?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,n)=>{var s=n(8711);e.exports=function(e,t,n,r){return r&&r.enumerable?e[t]=n:s(e,t,n),e}},5098:(e,t,n)=>{var s=n(8576),r=Object.defineProperty;e.exports=function(e,t){try{r(s,e,{value:t,configurable:!0,writable:!0})}catch(n){s[e]=t}return t}},69:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{var s=n(8576),r=n(5744),i=s.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},7365:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8989:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{var s,r,i=n(8576),o=n(8989),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(r=(s=u.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!r&&o&&(!(s=o.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=o.match(/Chrome\/(\d+)/))&&(r=+s[1]),e.exports=r},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,n)=>{var s=n(4120),r=Error,i=s("".replace),o=String(r("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},8266:(e,t,n)=>{var s=n(8711),r=n(4503),i=n(274),o=Error.captureStackTrace;e.exports=function(e,t,n,a){i&&(o?o(e,t):s(e,"stack",r(n,a)))}},274:(e,t,n)=>{var s=n(6192),r=n(774);e.exports=!s((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},3085:(e,t,n)=>{"use strict";var s=n(8576),r=n(6298),i=n(4914),o=n(6447),a=n(5141).f,c=n(9245),l=n(7545),u=n(8043),p=n(8711),m=n(4500),h=function(e){var t=function(n,s,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,s)}return new e(n,s,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,r,f,d,y,g,v,b,E,x=e.target,j=e.global,O=e.stat,S=e.proto,w=j?s:O?s[x]:(s[x]||{}).prototype,P=j?l:l[x]||p(l,x,{})[x],A=P.prototype;for(d in t)r=!(n=c(j?d:x+(O?".":"#")+d,e.forced))&&w&&m(w,d),g=P[d],r&&(v=e.dontCallGetSet?(E=a(w,d))&&E.value:w[d]),y=r&&v?v:t[d],r&&typeof g==typeof y||(b=e.bind&&r?u(y,s):e.wrap&&r?h(y):S&&o(y)?i(y):y,(e.sham||y&&y.sham||g&&g.sham)&&p(b,"sham",!0),p(P,d,b),S&&(m(l,f=x+"Prototype")||p(l,f,{}),p(l[f],d,y),e.real&&A&&(n||!A[d])&&p(A,d,y)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{var s=n(2784),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(s?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{var s=n(4914),r=n(6235),i=n(2784),o=s(s.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{var s=n(2784),r=Function.prototype.call;e.exports=s?r.bind(r):function(){return r.apply(r,arguments)}},2282:(e,t,n)=>{var s=n(69),r=n(4500),i=Function.prototype,o=s&&Object.getOwnPropertyDescriptor,a=r(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!s||s&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},6419:(e,t,n)=>{var s=n(4120),r=n(6235);e.exports=function(e,t,n){try{return s(r(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{var s=n(9272),r=n(4120);e.exports=function(e){if("Function"===s(e))return r(e)}},4120:(e,t,n)=>{var s=n(2784),r=Function.prototype,i=r.call,o=s&&r.bind.bind(i,i);e.exports=s?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{var s=n(7545),r=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(s[e])||o(r[e]):s[e]&&s[e][t]||r[e]&&r[e][t]}},8703:(e,t,n)=>{var s=n(4696),r=n(5037),i=n(5646),o=n(7771),a=n(8182)("iterator");e.exports=function(e){if(!i(e))return r(e,a)||r(e,"@@iterator")||o[s(e)]}},1669:(e,t,n)=>{var s=n(8922),r=n(6235),i=n(1138),o=n(9288),a=n(8703),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(r(n))return i(s(n,e));throw c(o(e)+" is not iterable")}},5037:(e,t,n)=>{var s=n(6235),r=n(5646);e.exports=function(e,t){var n=e[t];return r(n)?void 0:s(n)}},8576:function(e,t,n){var s=function(e){return e&&e.Math==Math&&e};e.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,n)=>{var s=n(4120),r=n(1795),i=s({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},4535:e=>{e.exports={}},7403:(e,t,n)=>{var s=n(150);e.exports=s("document","documentElement")},188:(e,t,n)=>{var s=n(69),r=n(6192),i=n(7449);e.exports=!s&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{var s=n(4120),r=n(6192),i=n(9272),o=Object,a=s("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o},2643:(e,t,n)=>{var s=n(6447),r=n(5744),i=n(4469);e.exports=function(e,t,n){var o,a;return i&&s(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},273:(e,t,n)=>{var s=n(5744),r=n(8711);e.exports=function(e,t){s(t)&&"cause"in t&&r(e,"cause",t.cause)}},3326:(e,t,n)=>{var s,r,i,o=n(5278),a=n(8576),c=n(5744),l=n(8711),u=n(4500),p=n(6434),m=n(9766),h=n(4535),f="Object already initialized",d=a.TypeError,y=a.WeakMap;if(o||p.state){var g=p.state||(p.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,s=function(e,t){if(g.has(e))throw d(f);return t.facade=e,g.set(e,t),t},r=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var v=m("state");h[v]=!0,s=function(e,t){if(u(e,v))throw d(f);return t.facade=e,l(e,v,t),t},r=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:s,get:r,has:i,enforce:function(e){return i(e)?r(e):s(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw d("Incompatible receiver, "+e+" required");return n}}}},6109:(e,t,n)=>{var s=n(8182),r=n(7771),i=s("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},6447:(e,t,n)=>{var s=n(8382),r=s.all;e.exports=s.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},9245:(e,t,n)=>{var s=n(6192),r=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n==u||n!=l&&(r(t)?s(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,n)=>{var s=n(6447),r=n(8382),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:s(e)||e===i}:function(e){return"object"==typeof e?null!==e:s(e)}},5546:e=>{e.exports=!0},3236:(e,t,n)=>{var s=n(150),r=n(6447),i=n(8902),o=n(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return r(t)&&i(t.prototype,a(e))}},3442:(e,t,n)=>{var s=n(8043),r=n(8922),i=n(1138),o=n(9288),a=n(6109),c=n(4104),l=n(8902),u=n(1669),p=n(8703),m=n(6639),h=TypeError,f=function(e,t){this.stopped=e,this.result=t},d=f.prototype;e.exports=function(e,t,n){var y,g,v,b,E,x,j,O=n&&n.that,S=!(!n||!n.AS_ENTRIES),w=!(!n||!n.IS_RECORD),P=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),k=s(t,O),C=function(e){return y&&m(y,"normal",e),new f(!0,e)},_=function(e){return S?(i(e),A?k(e[0],e[1],C):k(e[0],e[1])):A?k(e,C):k(e)};if(w)y=e.iterator;else if(P)y=e;else{if(!(g=p(e)))throw h(o(e)+" is not iterable");if(a(g)){for(v=0,b=c(e);b>v;v++)if((E=_(e[v]))&&l(d,E))return E;return new f(!1)}y=u(e,g)}for(x=w?e.next:y.next;!(j=r(x,y)).done;){try{E=_(j.value)}catch(e){m(y,"throw",e)}if("object"==typeof E&&E&&l(d,E))return E}return new f(!1)}},6639:(e,t,n)=>{var s=n(8922),r=n(1138),i=n(5037);e.exports=function(e,t,n){var o,a;r(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=s(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return r(o),n}},5695:(e,t,n)=>{"use strict";var s=n(4413).IteratorPrototype,r=n(2853),i=n(774),o=n(1284),a=n(7771),c=function(){return this};e.exports=function(e,t,n,l){var u=t+" Iterator";return e.prototype=r(s,{next:i(+!l,n)}),o(e,u,!1,!0),a[u]=c,e}},5297:(e,t,n)=>{"use strict";var s=n(3085),r=n(8922),i=n(5546),o=n(2282),a=n(6447),c=n(5695),l=n(9341),u=n(4469),p=n(1284),m=n(8711),h=n(9362),f=n(8182),d=n(7771),y=n(4413),g=o.PROPER,v=o.CONFIGURABLE,b=y.IteratorPrototype,E=y.BUGGY_SAFARI_ITERATORS,x=f("iterator"),j="keys",O="values",S="entries",w=function(){return this};e.exports=function(e,t,n,o,f,y,P){c(n,t,o);var A,k,C,_=function(e){if(e===f&&$)return $;if(!E&&e in M)return M[e];switch(e){case j:case O:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},R=t+" Iterator",T=!1,M=e.prototype,I=M[x]||M["@@iterator"]||f&&M[f],$=!E&&I||_(f),q="Array"==t&&M.entries||I;if(q&&(A=l(q.call(new e)))!==Object.prototype&&A.next&&(i||l(A)===b||(u?u(A,b):a(A[x])||h(A,x,w)),p(A,R,!0,!0),i&&(d[R]=w)),g&&f==O&&I&&I.name!==O&&(!i&&v?m(M,"name",O):(T=!0,$=function(){return r(I,this)})),f)if(k={values:_(O),keys:y?$:_(j),entries:_(S)},P)for(C in k)(E||T||!(C in M))&&h(M,C,k[C]);else s({target:t,proto:!0,forced:E||T},k);return i&&!P||M[x]===$||h(M,x,$,{name:f}),d[t]=$,k}},4413:(e,t,n)=>{"use strict";var s,r,i,o=n(6192),a=n(6447),c=n(5744),l=n(2853),u=n(9341),p=n(9362),m=n(8182),h=n(5546),f=m("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(r=u(u(i)))!==Object.prototype&&(s=r):d=!0),!c(s)||o((function(){var e={};return s[f].call(e)!==e}))?s={}:h&&(s=l(s)),a(s[f])||p(s,f,(function(){return this})),e.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:d}},7771:e=>{e.exports={}},4104:(e,t,n)=>{var s=n(8445);e.exports=function(e){return s(e.length)}},7679:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var s=+e;return(s>0?n:t)(s)}},6016:(e,t,n)=>{var s=n(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:s(e)}},2853:(e,t,n)=>{var s,r=n(1138),i=n(1187),o=n(2952),a=n(4535),c=n(7403),l=n(7449),u=n(9766),p="prototype",m="script",h=u("IE_PROTO"),f=function(){},d=function(e){return"<"+m+">"+e+"</"+m+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{s=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;g="undefined"!=typeof document?document.domain&&s?y(s):(t=l("iframe"),n="java"+m+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(s);for(var r=o.length;r--;)delete g[p][o[r]];return g()};a[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[p]=r(e),n=new f,f[p]=null,n[h]=e):n=g(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{var s=n(69),r=n(9600),i=n(2454),o=n(1138),a=n(101),c=n(7653);t.f=s&&!r?Object.defineProperties:function(e,t){o(e);for(var n,s=a(t),r=c(t),l=r.length,u=0;l>u;)i.f(e,n=r[u++],s[n]);return e}},2454:(e,t,n)=>{var s=n(69),r=n(188),i=n(9600),o=n(1138),a=n(77),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",m="configurable",h="writable";t.f=s?i?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var s=u(e,t);s&&s[h]&&(e[t]=n.value,n={configurable:m in n?n[m]:s[m],enumerable:p in n?n[p]:s[p],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(o(e),t=a(t),o(n),r)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5141:(e,t,n)=>{var s=n(69),r=n(8922),i=n(6007),o=n(774),a=n(101),c=n(77),l=n(4500),u=n(188),p=Object.getOwnPropertyDescriptor;t.f=s?p:function(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return o(!r(i.f,e,t),e[t])}},2092:(e,t,n)=>{var s=n(7934),r=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return s(e,r)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{var s=n(4500),r=n(6447),i=n(1795),o=n(9766),a=n(4635),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(s(t,c))return t[c];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof l?u:null}},8902:(e,t,n)=>{var s=n(4120);e.exports=s({}.isPrototypeOf)},7934:(e,t,n)=>{var s=n(4120),r=n(4500),i=n(101),o=n(8180).indexOf,a=n(4535),c=s([].push);e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&c(u,n);for(;t.length>l;)r(s,n=t[l++])&&(~o(u,n)||c(u,n));return u}},7653:(e,t,n)=>{var s=n(7934),r=n(2952);e.exports=Object.keys||function(e){return s(e,r)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,r=s&&!n.call({1:2},1);t.f=r?function(e){var t=s(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{var s=n(6419),r=n(1138),i=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=s(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,s){return r(n),i(s),t?e(n,s):n.__proto__=s,n}}():void 0)},158:(e,t,n)=>{"use strict";var s=n(3471),r=n(4696);e.exports=s?{}.toString:function(){return"[object "+r(this)+"]"}},380:(e,t,n)=>{var s=n(8922),r=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&r(n=e.toString)&&!i(a=s(n,e)))return a;if(r(n=e.valueOf)&&!i(a=s(n,e)))return a;if("string"!==t&&r(n=e.toString)&&!i(a=s(n,e)))return a;throw o("Can't convert object to primitive value")}},3011:(e,t,n)=>{var s=n(150),r=n(4120),i=n(2092),o=n(4750),a=n(1138),c=r([].concat);e.exports=s("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?c(t,n(e)):t}},7545:e=>{e.exports={}},7656:(e,t,n)=>{var s=n(2454).f;e.exports=function(e,t,n){n in e||s(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},3209:(e,t,n)=>{var s=n(5646),r=TypeError;e.exports=function(e){if(s(e))throw r("Can't call method on "+e);return e}},1284:(e,t,n)=>{var s=n(3471),r=n(2454).f,i=n(8711),o=n(4500),a=n(158),c=n(8182)("toStringTag");e.exports=function(e,t,n,l){if(e){var u=n?e:e.prototype;o(u,c)||r(u,c,{configurable:!0,value:t}),l&&!s&&i(u,"toString",a)}}},9766:(e,t,n)=>{var s=n(8717),r=n(2759),i=s("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},6434:(e,t,n)=>{var s=n(8576),r=n(5098),i="__core-js_shared__",o=s[i]||r(i,{});e.exports=o},8717:(e,t,n)=>{var s=n(5546),r=n(6434);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:s?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{var s=n(4120),r=n(1941),i=n(4845),o=n(3209),a=s("".charAt),c=s("".charCodeAt),l=s("".slice),u=function(e){return function(t,n){var s,u,p=i(o(t)),m=r(n),h=p.length;return m<0||m>=h?e?"":void 0:(s=c(p,m))<55296||s>56319||m+1===h||(u=c(p,m+1))<56320||u>57343?e?a(p,m):s:e?l(p,m,m+2):u-56320+(s-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},6770:(e,t,n)=>{var s=n(4218),r=n(6192),i=n(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&s&&s<41}))},7739:(e,t,n)=>{var s=n(1941),r=Math.max,i=Math.min;e.exports=function(e,t){var n=s(e);return n<0?r(n+t,0):i(n,t)}},101:(e,t,n)=>{var s=n(2202),r=n(3209);e.exports=function(e){return s(r(e))}},1941:(e,t,n)=>{var s=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:s(t)}},8445:(e,t,n)=>{var s=n(1941),r=Math.min;e.exports=function(e){return e>0?r(s(e),9007199254740991):0}},1795:(e,t,n)=>{var s=n(3209),r=Object;e.exports=function(e){return r(s(e))}},7888:(e,t,n)=>{var s=n(8922),r=n(5744),i=n(3236),o=n(5037),a=n(380),c=n(8182),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var n,c=o(e,u);if(c){if(void 0===t&&(t="default"),n=s(c,e,t),!r(n)||i(n))return n;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,n)=>{var s=n(7888),r=n(3236);e.exports=function(e){var t=s(e,"string");return r(t)?t:t+""}},3471:(e,t,n)=>{var s={};s[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(s)},4845:(e,t,n)=>{var s=n(4696),r=String;e.exports=function(e){if("Symbol"===s(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{var s=n(4120),r=0,i=Math.random(),o=s(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},615:(e,t,n)=>{var s=n(6770);e.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{var s=n(69),r=n(6192);e.exports=s&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{var s=n(8576),r=n(6447),i=s.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},8182:(e,t,n)=>{var s=n(8576),r=n(8717),i=n(4500),o=n(2759),a=n(6770),c=n(615),l=s.Symbol,u=r("wks"),p=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:p("Symbol."+e)),u[e]}},426:(e,t,n)=>{"use strict";var s=n(150),r=n(4500),i=n(8711),o=n(8902),a=n(4469),c=n(7987),l=n(7656),u=n(2643),p=n(6016),m=n(273),h=n(8266),f=n(69),d=n(5546);e.exports=function(e,t,n,y){var g="stackTraceLimit",v=y?2:1,b=e.split("."),E=b[b.length-1],x=s.apply(null,b);if(x){var j=x.prototype;if(!d&&r(j,"cause")&&delete j.cause,!n)return x;var O=s("Error"),S=t((function(e,t){var n=p(y?t:e,void 0),s=y?new x(e):new x;return void 0!==n&&i(s,"message",n),h(s,S,s.stack,2),this&&o(j,this)&&u(s,this,S),arguments.length>v&&m(s,arguments[v]),s}));if(S.prototype=j,"Error"!==E?a?a(S,O):c(S,O,{name:!0}):f&&g in x&&(l(S,x,g),l(S,x,"prepareStackTrace")),c(S,x),!d)try{j.name!==E&&i(j,"name",E),j.constructor=S}catch(e){}return S}}},4016:(e,t,n)=>{var s=n(3085),r=n(150),i=n(6298),o=n(6192),a=n(426),c="AggregateError",l=r(c),u=!o((function(){return 1!==l([1]).errors[0]}))&&o((function(){return 7!==l([1],c,{cause:7}).cause}));s({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:a(c,(function(e){return function(t,n){return i(e,this,arguments)}}),u,!0)})},3820:(e,t,n)=>{"use strict";var s=n(3085),r=n(8902),i=n(9341),o=n(4469),a=n(7987),c=n(2853),l=n(8711),u=n(774),p=n(273),m=n(8266),h=n(3442),f=n(6016),d=n(8182)("toStringTag"),y=Error,g=[].push,v=function(e,t){var n,s=r(b,this);o?n=o(y(),s?i(this):b):(n=s?this:c(b),l(n,d,"Error")),void 0!==t&&l(n,"message",f(t)),m(n,v,n.stack,1),arguments.length>2&&p(n,arguments[2]);var a=[];return h(e,g,{that:a}),l(n,"errors",a),n};o?o(v,y):a(v,y,{name:!0});var b=v.prototype=c(y.prototype,{constructor:u(1,v),message:u(1,""),name:u(1,"AggregateError")});s({global:!0,constructor:!0,arity:2},{AggregateError:v})},4242:(e,t,n)=>{n(3820)},8939:(e,t,n)=>{"use strict";var s=n(101),r=n(7423),i=n(7771),o=n(3326),a=n(2454).f,c=n(5297),l=n(7271),u=n(5546),p=n(69),m="Array Iterator",h=o.set,f=o.getterFor(m);e.exports=c(Array,"Array",(function(e,t){h(this,{type:m,target:s(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,s=e.index++;return!t||s>=t.length?(e.target=void 0,l(void 0,!0)):l("keys"==n?s:"values"==n?t[s]:[s,t[s]],!1)}),"values");var d=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!u&&p&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},4339:(e,t,n)=>{var s=n(3085),r=n(8576),i=n(6298),o=n(426),a="WebAssembly",c=r[a],l=7!==Error("e",{cause:7}).cause,u=function(e,t){var n={};n[e]=o(e,t,l),s({global:!0,constructor:!0,arity:1,forced:l},n)},p=function(e,t){if(c&&c[e]){var n={};n[e]=o(a+"."+e,t,l),s({target:a,stat:!0,constructor:!0,arity:1,forced:l},n)}};u("Error",(function(e){return function(t){return i(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),u("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},5454:(e,t,n)=>{"use strict";var s=n(863).charAt,r=n(4845),i=n(3326),o=n(5297),a=n(7271),c="String Iterator",l=i.set,u=i.getterFor(c);o(String,"String",(function(e){l(this,{type:c,string:r(e),index:0})}),(function(){var e,t=u(this),n=t.string,r=t.index;return r>=n.length?a(void 0,!0):(e=s(n,r),t.index+=e.length,a(e,!1))}))},2752:(e,t,n)=>{n(4242)},162:(e,t,n)=>{n(8939);var s=n(7365),r=n(8576),i=n(4696),o=n(8711),a=n(7771),c=n(8182)("toStringTag");for(var l in s){var u=r[l],p=u&&u.prototype;p&&i(p)!==c&&o(p,c,l),a[l]=a.Array}},5846:(e,t,n)=>{n(2752);var s=n(6791);n(162),e.exports=s},9515:(e,t,n)=>{var s=n(8761)(n(7772),"DataView");e.exports=s},9612:(e,t,n)=>{var s=n(2118),r=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var s=n(3945),r=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var s=n(8761)(n(7772),"Map");e.exports=s},6738:(e,t,n)=>{var s=n(2411),r=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,n)=>{var s=n(8761)(n(7772),"Promise");e.exports=s},2143:(e,t,n)=>{var s=n(8761)(n(7772),"Set");e.exports=s},5386:(e,t,n)=>{var s=n(6738),r=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new s;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var s=n(235),r=n(5243),i=n(2858),o=n(4417),a=n(8605),c=n(1418);function l(e){var t=this.__data__=new s(e);this.size=t.size}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=c,e.exports=l},857:(e,t,n)=>{var s=n(7772).Symbol;e.exports=s},9162:(e,t,n)=>{var s=n(7772).Uint8Array;e.exports=s},3215:(e,t,n)=>{var s=n(8761)(n(7772),"WeakMap");e.exports=s},7552:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length,r=0,i=[];++n<s;){var o=e[n];t(o,n,e)&&(i[r++]=o)}return i}},1634:(e,t,n)=>{var s=n(6473),r=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&r(e),p=!n&&!u&&o(e),m=!n&&!u&&!p&&c(e),h=n||u||p||m,f=h?s(e.length,String):[],d=f.length;for(var y in e)!t&&!l.call(e,y)||h&&("length"==y||p&&("offset"==y||"parent"==y)||m&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,d))||f.push(y);return f}},5067:e=>{e.exports=function(e,t){for(var n=-1,s=t.length,r=e.length;++n<s;)e[r+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length;++n<s;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var s=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(s(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var s=n(5067),r=n(6152);e.exports=function(e,t,n){var i=t(e);return r(e)?i:s(i,n(e))}},3366:(e,t,n)=>{var s=n(857),r=n(2107),i=n(7157),o=s?s.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},5183:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return r(e)&&"[object Arguments]"==s(e)}},8746:(e,t,n)=>{var s=n(1952),r=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:s(t,n,i,o,e,a))}},1952:(e,t,n)=>{var s=n(6571),r=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),l=n(3226),u=n(7598),p="[object Arguments]",m="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,y,g){var v=c(e),b=c(t),E=v?m:a(e),x=b?m:a(t),j=(E=E==p?h:E)==h,O=(x=x==p?h:x)==h,S=E==x;if(S&&l(e)){if(!l(t))return!1;v=!0,j=!1}if(S&&!j)return g||(g=new s),v||u(e)?r(e,t,n,d,y,g):i(e,t,E,n,d,y,g);if(!(1&n)){var w=j&&f.call(e,"__wrapped__"),P=O&&f.call(t,"__wrapped__");if(w||P){var A=w?e.value():e,k=P?t.value():t;return g||(g=new s),y(A,k,n,d,g)}}return!!S&&(g||(g=new s),o(e,t,n,d,y,g))}},6840:(e,t,n)=>{var s=n(1049),r=n(7394),i=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,m=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(s(e)?m:a).test(o(e))}},5522:(e,t,n)=>{var s=n(3366),r=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!o[s(e)]}},6411:(e,t,n)=>{var s=n(6001),r=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!s(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,s=Array(e);++n<e;)s[n]=t(n);return s}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var s=n(7772)["__core-js_shared__"];e.exports=s},4871:(e,t,n)=>{var s=n(5386),r=n(7064),i=n(9950);e.exports=function(e,t,n,o,a,c){var l=1&n,u=e.length,p=t.length;if(u!=p&&!(l&&p>u))return!1;var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var f=-1,d=!0,y=2&n?new s:void 0;for(c.set(e,t),c.set(t,e);++f<u;){var g=e[f],v=t[f];if(o)var b=l?o(v,g,f,t,e,c):o(g,v,f,e,t,c);if(void 0!==b){if(b)continue;d=!1;break}if(y){if(!r(t,(function(e,t){if(!i(y,t)&&(g===e||a(g,e,n,o,c)))return y.push(t)}))){d=!1;break}}else if(g!==v&&!a(g,v,n,o,c)){d=!1;break}}return c.delete(e),c.delete(t),d}},1491:(e,t,n)=>{var s=n(857),r=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),l=s?s.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,n,s,l,p,m){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var f=1&s;if(h||(h=c),e.size!=t.size&&!f)return!1;var d=m.get(e);if(d)return d==t;s|=2,m.set(e,t);var y=o(h(e),h(t),s,l,p,m);return m.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},7416:(e,t,n)=>{var s=n(3483),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,a){var c=1&n,l=s(e),u=l.length;if(u!=s(t).length&&!c)return!1;for(var p=u;p--;){var m=l[p];if(!(c?m in t:r.call(t,m)))return!1}var h=a.get(e),f=a.get(t);if(h&&f)return h==t&&f==e;var d=!0;a.set(e,t),a.set(t,e);for(var y=c;++p<u;){var g=e[m=l[p]],v=t[m];if(i)var b=c?i(v,g,m,t,e,a):i(g,v,m,e,t,a);if(!(void 0===b?g===v||o(g,v,n,i,a):b)){d=!1;break}y||(y="constructor"==m)}if(d&&!y){var E=e.constructor,x=t.constructor;E==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof x&&x instanceof x||(d=!1)}return a.delete(e),a.delete(t),d}},1242:(e,t,n)=>{var s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=s},3483:(e,t,n)=>{var s=n(1897),r=n(633),i=n(249);e.exports=function(e){return s(e,i,r)}},7937:(e,t,n)=>{var s=n(8304);e.exports=function(e,t){var n=e.__data__;return s(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var s=n(6840),r=n(8109);e.exports=function(e,t){var n=r(e,t);return s(n)?n:void 0}},2107:(e,t,n)=>{var s=n(857),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=s?s.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var s=!0}catch(e){}var r=o.call(e);return s&&(t?e[a]=n:delete e[a]),r}},633:(e,t,n)=>{var s=n(7552),r=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),s(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},940:(e,t,n)=>{var s=n(9515),r=n(326),i=n(2760),o=n(2143),a=n(3215),c=n(3366),l=n(7035),u="[object Map]",p="[object Promise]",m="[object Set]",h="[object WeakMap]",f="[object DataView]",d=l(s),y=l(r),g=l(i),v=l(o),b=l(a),E=c;(s&&E(new s(new ArrayBuffer(1)))!=f||r&&E(new r)!=u||i&&E(i.resolve())!=p||o&&E(new o)!=m||a&&E(new a)!=h)&&(E=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,s=n?l(n):"";if(s)switch(s){case d:return f;case y:return u;case g:return p;case v:return m;case b:return h}return t}),e.exports=E},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var s=n(9191);e.exports=function(){this.__data__=s?s(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(s){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return s?void 0!==t[e]:r.call(t,e)}},7942:(e,t,n)=>{var s=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=s&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var s=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==s||"symbol"!=s&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var s,r=n(4019),i=(s=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var s=n(2218),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=s(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var s=n(2218);e.exports=function(e){var t=this.__data__,n=s(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var s=n(2218);e.exports=function(e){return s(this.__data__,e)>-1}},4769:(e,t,n)=>{var s=n(2218);e.exports=function(e,t){var n=this.__data__,r=s(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},2411:(e,t,n)=>{var s=n(9612),r=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new s,map:new(i||r),string:new s}}},6417:(e,t,n)=>{var s=n(7937);e.exports=function(e){var t=s(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).get(e)}},9493:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).has(e)}},4150:(e,t,n)=>{var s=n(7937);e.exports=function(e,t){var n=s(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,s){n[++t]=[s,e]})),n}},9191:(e,t,n)=>{var s=n(8761)(Object,"create");e.exports=s},4248:(e,t,n)=>{var s=n(241)(Object.keys,Object);e.exports=s},4146:(e,t,n)=>{e=n.nmd(e);var s=n(1242),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&s.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var s=n(1242),r="object"==typeof self&&self&&self.Object===Object&&self,i=s||r||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var s=n(235);e.exports=function(){this.__data__=new s,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var s=n(235),r=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof s){var o=n.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var s=n(5183),r=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=s(function(){return arguments}())?s:function(e){return r(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var s=n(1049),r=n(1158);e.exports=function(e){return null!=e&&r(e.length)&&!s(e)}},4335:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==s(e)}},3226:(e,t,n)=>{e=n.nmd(e);var s=n(7772),r=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?s.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;e.exports=c},8149:(e,t,n)=>{var s=n(8746);e.exports=function(e,t){return s(e,t)}},1049:(e,t,n)=>{var s=n(3366),r=n(9259);e.exports=function(e){if(!r(e))return!1;var t=s(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==s(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var s=n(3366),r=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==s(e)}},7598:(e,t,n)=>{var s=n(5522),r=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?r(o):s;e.exports=a},249:(e,t,n)=>{var s=n(1634),r=n(6411),i=n(7878);e.exports=function(e){return i(e)?s(e):r(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const s=n(1570);function r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(s(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const s=n(5877),r=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),l=n(3756);class u{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=l.Element,this.KeyValuePair=l.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",l.NullElement).register("string",l.StringElement).register("number",l.NumberElement).register("boolean",l.BooleanElement).register("array",l.ArrayElement).register("object",l.ObjectElement).register("member",l.MemberElement).register("ref",l.RefElement).register("link",l.LinkElement),this.detect(s,l.NullElement,!1).detect(r,l.StringElement,!1).detect(i,l.NumberElement,!1).detect(o,l.BooleanElement,!1).detect(Array.isArray,l.ArrayElement,!1).detect(a,l.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const s=this.elementDetection[n][0],r=this.elementDetection[n][1];if(s(e)){t=new r(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=u,e.exports=u},3853:(e,t,n)=>{const s=n(1570),r=n(1178);class i extends r{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(s(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,s)=>{e.bind(t)(n.value,n.key,n,s)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const s=n(6420),r=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),l=n(8858),u=n(3860),p=n(5202),m=n(2320),h=n(1178),f=n(3853),d=n(3026);function y(e){if(e instanceof s)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new r;if(Array.isArray(e))return new c(e.map(y));if("object"==typeof e){return new u(e)}return e}s.prototype.ObjectElement=u,s.prototype.RefElement=m,s.prototype.MemberElement=l,s.prototype.refract=y,h.prototype.refract=y,e.exports={Element:s,NullElement:r,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:l,ObjectElement:u,LinkElement:p,RefElement:m,refract:y,ArraySlice:h,ObjectSlice:f,KeyValuePair:d}},5202:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const s=n(5140),r=n(3756);t.lS=s,t.KeyValuePair=n(3026),t.O4=r.ArraySlice,t.rm=r.ObjectSlice,t.W_=r.Element,t.RP=r.StringElement,t.VL=r.NumberElement,t.hh=r.BooleanElement,t.zr=r.NullElement,t.ON=r.ArrayElement,t.Sb=r.ObjectElement,t.c6=r.MemberElement,t.tK=r.RefElement,t.EA=r.LinkElement,t.Qc=r.refract,n(2947),n(8910)},1641:(e,t,n)=>{const s=n(1570),r=n(6420),i=n(1178);class o extends r{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(s(e),t)}reduce(e,t){let n,s;void 0!==t?(n=0,s=this.refract(t)):(n=1,s="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];s="object"===this.primitive()?this.refract(e(s,n.value,n.key,n,this)):this.refract(e(s,n,t,this))}return s}forEach(e,t){this.content.forEach(((n,s)=>{e.bind(t)(n,this.refract(s))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},s=!!n.recursive,r=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{s&&void 0!==t.findElements&&t.findElements(e,{results:r,recursive:s}),e(t,n,i)&&r.push(t)})),r}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const s=n(8149),r=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof r?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const s=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(s,e),n.content instanceof r&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const s=e[t],r=n.indexOf(s);if(-1===r)return!1;n=n.splice(0,r)}return!0}))),n}set(e){return this.content=e,this}equals(e){return s(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const s=n(3026),r=n(6420);e.exports=class extends r{constructor(e,t,n,r){super(new s,n,r),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const s=n(1570),r=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(r(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,s=this.getMember(n);return s?s.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((s,r,i)=>{const o=e.bind(t)(s,r,i);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(s(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const s=n(2947);e.exports=class extends s{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const s="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(s){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:s}=e;s.get("metadata")&&(s=s.clone(),s.set("meta",s.get("metadata")),s.remove("metadata")),"member"===e.element&&t&&(s=s.clone(),s.remove("variable")),s.length>0&&(n.attributes=this.serialiseObject(s))}if(s)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let s;t&&e.content.key?(s=e.content.clone(),s.key.attributes.set("variable",t),s=this.serialiseContent(s)):s=this.serialiseContent(e.content),this.shouldSerialiseContent(e,s)&&(n.content=s)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),s=t.get("default");let r=t.get("samples")||new this.namespace.elements.Array([]);if(s&&s.content&&(s.content.attributes&&s.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([s.content]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const s=this.deserialiseContent(e.content);if(void 0===s&&null!==n.content||(n.content=s),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const s=e;e=new this.namespace.elements.Array,s.forEach((s=>{s.forEach((s=>{const r=new t(s);r.element=n.element,e.push(r)}))}));const r=e.shift();n.content=r?r.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let s=n.attributes.get("default");if(s&&s.length>0){s=s.get(0);const e=new t(s);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const s=n.toValue();t[s]=this.convertKeyToRefract(s,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,s,r,i,o="properties",a="deepProperties",c="propertyDescriptors",l="staticProperties",u="staticDeepProperties",p="staticPropertyDescriptors",m="configuration",h="deepConfiguration",f="deepProps",d="deepStatics",y="deepConf",g="initializers",v="methods",b="composers",E="compose";function x(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function j(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var O=j.bind(0,(function(e,t){if(t)for(var n=x(t),s=0;s<n.length;s+=1)Object.defineProperty(e,n[s],Object.getOwnPropertyDescriptor(t,n[s]));return e}));function S(e){return"function"==typeof e}function w(e){return e&&"object"==typeof e||S(e)}function P(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var A=j.bind(0,(function e(n,s){if(s===t)return n;if(Array.isArray(s))return(Array.isArray(n)?n:[]).concat(s);if(!P(s))return s;for(var r,i,o=x(s),a=0;a<o.length;)r=o[a++],(i=Object.getOwnPropertyDescriptor(s,r)).hasOwnProperty("value")?i.value!==t&&(n[r]=e(P(n[r])||Array.isArray(s[r])?n[r]:{},s[r])):Object.defineProperty(n,r,i);return n}));function k(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return S(e)&&n.indexOf(e)===t}))).length?n:t}function C(e,t){function s(n,s){w(t[n])&&(w(e[n])||(e[n]={}),(s||O)(e[n],t[n]))}function r(s){(n=k(e[s],t[s]))&&(e[s]=n)}return t&&w(t=t[E]||t)&&(s(v),s(o),s(a,A),s(c),s(l),s(u,A),s(p),s(m),s(h,A),r(g),r(b)),e}function _(){return function(e){return n=function e(n){var s,r,i=e[E]||{},l={__proto__:i[v]},u=i[g],p=Array.prototype.slice.apply(arguments),m=i[a];if(m&&A(l,m),(m=i[o])&&O(l,m),(m=i[c])&&Object.defineProperties(l,m),!u||!u.length)return l;for(n===t&&(n={}),i=0;i<u.length;)S(s=u[i++])&&(l=(r=s.call(l,n,{instance:l,stamp:e,args:p}))===t?l:r);return l},(s=e[u])&&A(n,s),(s=e[l])&&O(n,s),(s=e[p])&&Object.defineProperties(n,s),s=S(n[E])?n[E]:_,O(n[E]=function(){return s.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(C,{}))}function R(e){return S(e)&&S(e[E])}var T={};function M(e,i){return function(){return(r={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[E]||s).call(n,r)}}T[v]=M(v,O),T[o]=T.props=M(o,O),T[g]=T.init=M(g,k),T[b]=M(b,k),T[a]=T[f]=M(a,A),T[l]=T.statics=M(l,O),T[u]=T[d]=M(u,A),T[m]=T.conf=M(m,O),T[h]=T[y]=M(h,A),T[c]=M(c,O),T[p]=M(p,O),s=T[E]=O((function(){for(var e,x,j=0,S=[],P=arguments,C=this;j<P.length;)w(e=P[j++])&&S.push(R(e)?e:((r={})[v]=(x=e)[v]||t,s=x.props,r[o]=w((n=x[o])||s)?O({},s,n):t,r[g]=k(x.init,x[g]),r[b]=k(x[b]),s=x[f],r[a]=w((n=x[a])||s)?A({},s,n):t,r[c]=x[c],s=x.statics,r[l]=w((n=x[l])||s)?O({},s,n):t,s=x[d],r[u]=w((n=x[u])||s)?A({},s,n):t,n=x[p],r[p]=w((s=x.name&&{name:{value:x.name}})||n)?O({},n,s):t,s=x.conf,r[m]=w((n=x[m])||s)?O({},s,n):t,s=x[y],r[h]=w((n=x[h])||s)?A({},s,n):t,r));if(e=_.apply(C||i,S),C&&S.unshift(C),Array.isArray(P=e[E][b]))for(j=0;j<P.length;)e=R(C=P[j++]({stamp:e,composables:S}))?C:e;return e}),T),T.create=function(){return this.apply(t,arguments)},(r={})[l]=T,i=_(r),s[E]=s.bind(),s.version="4.3.2","object"!=typeof t?e.exports=s:self.stampit=s}()},1427:(e,t,n)=>{e.exports=n(6762)}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var s={};return(()=>{"use strict";n.r(s),n.d(s,{CallbackElement:()=>$p,ComponentsCallbacksElement:()=>Gl,ComponentsElement:()=>qp,ComponentsExamplesElement:()=>Rl,ComponentsHeadersElement:()=>Fl,ComponentsLinksElement:()=>zl,ComponentsParametersElement:()=>kl,ComponentsPathItemsElement:()=>bm,ComponentsRequestBodiesElement:()=>Il,ComponentsResponsesElement:()=>wl,ComponentsSchemasElement:()=>jl,ComponentsSecuritySchemesElement:()=>Dl,ContactElement:()=>Fp,DiscriminatorElement:()=>Np,DiscriminatorMappingElement:()=>ol,EncodingElement:()=>Bp,EncodingHeadersElement:()=>iu,ExampleElement:()=>Dp,ExternalDocumentationElement:()=>Lp,HeaderContentElement:()=>Cc,HeaderElement:()=>Vp,HeaderExamplesElement:()=>wc,InfoElement:()=>zp,JsonSchemaDialectElement:()=>Jp,LicenseElement:()=>Gp,LinkElement:()=>Hp,LinkParametersElement:()=>Jo,MediaTypeElement:()=>Kp,MediaTypeEncodingElement:()=>Ja,MediaTypeExamplesElement:()=>Va,OAuthFlowElement:()=>Wp,OAuthFlowScopesElement:()=>Sp,OAuthFlowsElement:()=>Xp,OpenAPIMediaTypes:()=>zn,OpenApi3_1Element:()=>Zp,OpenapiElement:()=>Yp,OperationCallbacksElement:()=>Ju,OperationElement:()=>em,OperationParametersElement:()=>Du,OperationSecurityElement:()=>Wu,OperationServersElement:()=>Qu,OperationTagsElement:()=>Iu,ParameterContentElement:()=>bl,ParameterElement:()=>tm,ParameterExamplesElement:()=>yl,PathItemElement:()=>nm,PathItemParametersElement:()=>cp,PathItemServersElement:()=>ip,PathsElement:()=>sm,ReferenceElement:()=>im,RequestBodyContentElement:()=>fu,RequestBodyElement:()=>om,ResponseContentElement:()=>Su,ResponseElement:()=>am,ResponseHeadersElement:()=>xu,ResponseLinksElement:()=>Au,ResponsesElement:()=>cm,SchemaElement:()=>um,SecurityElement:()=>Wa,SecurityRequirementElement:()=>pm,SecuritySchemeElement:()=>mm,ServerElement:()=>hm,ServerVariableElement:()=>fm,ServerVariablesElement:()=>oa,ServersElement:()=>Zo,TagElement:()=>dm,TagsElement:()=>Ap,WebhooksElement:()=>xm,XmlElement:()=>ym,createToolbox:()=>ph,default:()=>gm,getNodeType:()=>jm,isArrayElement:()=>mn,isBooleanElement:()=>un,isBooleanJsonSchemaElement:()=>oh,isCallbackElement:()=>qm,isComponentsElement:()=>Fm,isContactElement:()=>Nm,isElement:()=>on,isExampleElement:()=>Bm,isExternalDocumentationElement:()=>Dm,isInfoElement:()=>Vm,isJsonSchemaDialectElement:()=>zm,isLicenseElement:()=>Um,isLinkElement:()=>Jm,isLinkElementExternal:()=>Gm,isLinkPrimitiveElement:()=>fn,isMediaTypeElement:()=>uh,isMemberElement:()=>hn,isNullElement:()=>ln,isNumberElement:()=>cn,isObjectElement:()=>pn,isOpenApi3_1Element:()=>Km,isOpenApi3_1LikeElement:()=>mh,isOpenApiExtension:()=>xo,isOpenapiElement:()=>Hm,isOperationElement:()=>Wm,isParameterElement:()=>Xm,isParameterLikeElement:()=>fo,isPathItemElement:()=>Ym,isPathItemElementExternal:()=>Qm,isPathsElement:()=>Zm,isRefElement:()=>dn,isReferenceElement:()=>eh,isReferenceElementExternal:()=>th,isReferenceLikeElement:()=>yo,isRequestBodyElement:()=>nh,isResponseElement:()=>sh,isResponseLikeElement:()=>vo,isResponsesElement:()=>rh,isSchemaElement:()=>ih,isSecurityRequirementElement:()=>ah,isServerElement:()=>ch,isServerLikeElement:()=>bo,isServerVariableElement:()=>lh,isStringElement:()=>an,keyMap:()=>Om,mediaTypes:()=>Un,refractorPluginNormalizeHeaderExamples:()=>$m,refractorPluginNormalizeOperationIds:()=>Mm,refractorPluginNormalizeParameterExamples:()=>Im,refractorPluginNormalizeParameters:()=>Am,refractorPluginNormalizeSecurityRequirements:()=>km,refractorPluginNormalizeServers:()=>Cm,refractorPluginReplaceEmptyElement:()=>Pm});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>xn,includesClasses:()=>On,includesSymbols:()=>jn,isAnnotationElement:()=>yn,isArrayElement:()=>mn,isBooleanElement:()=>un,isCommentElement:()=>gn,isElement:()=>on,isLinkElement:()=>fn,isMemberElement:()=>hn,isNullElement:()=>ln,isNumberElement:()=>cn,isObjectElement:()=>pn,isParseResultElement:()=>vn,isPrimitiveElement:()=>En,isRefElement:()=>dn,isSourceMapElement:()=>bn,isStringElement:()=>an});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>zi,isJSONSchemaElement:()=>Vi,isLinkDescriptionElement:()=>Ji,isMediaElement:()=>Ui});var r={};n.r(r),n.d(r,{isOpenApi3_0LikeElement:()=>ho,isOpenApiExtension:()=>xo,isParameterLikeElement:()=>fo,isReferenceLikeElement:()=>yo,isRequestBodyLikeElement:()=>go,isResponseLikeElement:()=>vo,isServerLikeElement:()=>bo,isTagLikeElement:()=>Eo});var i={};n.r(i),n.d(i,{isBooleanJsonSchemaElement:()=>Ma,isCallbackElement:()=>ua,isComponentsElement:()=>pa,isContactElement:()=>ma,isExampleElement:()=>ha,isExternalDocumentationElement:()=>fa,isHeaderElement:()=>da,isInfoElement:()=>ya,isLicenseElement:()=>ga,isLinkElement:()=>va,isLinkElementExternal:()=>ba,isMediaTypeElement:()=>Fa,isOpenApi3_0Element:()=>xa,isOpenapiElement:()=>Ea,isOperationElement:()=>ja,isParameterElement:()=>Oa,isPathItemElement:()=>Sa,isPathItemElementExternal:()=>wa,isPathsElement:()=>Pa,isReferenceElement:()=>Aa,isReferenceElementExternal:()=>ka,isRequestBodyElement:()=>Ca,isResponseElement:()=>_a,isResponsesElement:()=>Ra,isSchemaElement:()=>Ta,isSecurityRequirementElement:()=>Ia,isServerElement:()=>$a,isServerVariableElement:()=>qa});var o={};n.r(o),n.d(o,{isBooleanJsonSchemaElement:()=>oh,isCallbackElement:()=>qm,isComponentsElement:()=>Fm,isContactElement:()=>Nm,isExampleElement:()=>Bm,isExternalDocumentationElement:()=>Dm,isHeaderElement:()=>Lm,isInfoElement:()=>Vm,isJsonSchemaDialectElement:()=>zm,isLicenseElement:()=>Um,isLinkElement:()=>Jm,isLinkElementExternal:()=>Gm,isMediaTypeElement:()=>uh,isOpenApi3_1Element:()=>Km,isOpenapiElement:()=>Hm,isOperationElement:()=>Wm,isParameterElement:()=>Xm,isPathItemElement:()=>Ym,isPathItemElementExternal:()=>Qm,isPathsElement:()=>Zm,isReferenceElement:()=>eh,isReferenceElementExternal:()=>th,isRequestBodyElement:()=>nh,isResponseElement:()=>sh,isResponsesElement:()=>rh,isSchemaElement:()=>ih,isSecurityRequirementElement:()=>ah,isServerElement:()=>ch,isServerVariableElement:()=>lh});var a=n(7952);const c=function(){return!1};const l=function(){return!0};function u(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function p(e){return function t(n){return 0===arguments.length||u(n)?t:e.apply(this,arguments)}}function m(e){return function t(n,s){switch(arguments.length){case 0:return t;case 1:return u(n)?t:p((function(t){return e(n,t)}));default:return u(n)&&u(s)?t:u(n)?p((function(t){return e(t,s)})):u(s)?p((function(t){return e(n,t)})):e(n,s)}}}const h=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function f(e,t,n){return function(){if(0===arguments.length)return n();var s=arguments[arguments.length-1];if(!h(s)){for(var r=0;r<e.length;){if("function"==typeof s[e[r]])return s[e[r]].apply(s,Array.prototype.slice.call(arguments,0,-1));r+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(s))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(s)}return n.apply(this,arguments)}}function d(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const y=function(){return this.xf["@@transducer/init"]()},g=function(e){return this.xf["@@transducer/result"](e)};var v=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=d(this.xf["@@transducer/step"](e,!1))),e},e}();function b(e){return function(t){return new v(e,t)}}const E=m(f(["all"],b,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));function x(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,s){return t.apply(this,arguments)};case 4:return function(e,n,s,r){return t.apply(this,arguments)};case 5:return function(e,n,s,r,i){return t.apply(this,arguments)};case 6:return function(e,n,s,r,i,o){return t.apply(this,arguments)};case 7:return function(e,n,s,r,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,s,r,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,s,r,i,o,a,c,l){return t.apply(this,arguments)};case 10:return function(e,n,s,r,i,o,a,c,l,u){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function j(e,t,n){return function(){for(var s=[],r=0,i=e,o=0;o<t.length||r<arguments.length;){var a;o<t.length&&(!u(t[o])||r>=arguments.length)?a=t[o]:(a=arguments[r],r+=1),s[o]=a,u(a)||(i-=1),o+=1}return i<=0?n.apply(this,s):x(i,j(e,s,n))}}const O=m((function(e,t){return 1===e?p(t):x(e,j(e,[],t))}));function S(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function w(e,t,n){for(var s=0,r=n.length;s<r;){if(e(t,n[s]))return!0;s+=1}return!1}function P(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const A="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var k=Object.prototype.toString;const C=function(){return"[object Arguments]"===k.call(arguments)?function(e){return"[object Arguments]"===k.call(e)}:function(e){return P("callee",e)}}();var _=!{toString:null}.propertyIsEnumerable("toString"),R=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],T=function(){return arguments.propertyIsEnumerable("length")}(),M=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1};const I="function"!=typeof Object.keys||T?p((function(e){if(Object(e)!==e)return[];var t,n,s=[],r=T&&C(e);for(t in e)!P(t,e)||r&&"length"===t||(s[s.length]=t);if(_)for(n=R.length-1;n>=0;)P(t=R[n],e)&&!M(s,t)&&(s[s.length]=t),n-=1;return s})):p((function(e){return Object(e)!==e?[]:Object.keys(e)}));const $=p((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function q(e,t,n,s){var r=S(e);function i(e,t){return F(e,t,n.slice(),s.slice())}return!w((function(e,t){return!w(i,t,e)}),S(t),r)}function F(e,t,n,s){if(A(e,t))return!0;var r,i,o=$(e);if(o!==$(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(r=e.constructor,null==(i=String(r).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!A(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!A(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return s[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&q(e.entries(),t.entries(),n.concat([e]),s.concat([t]));case"Set":return e.size===t.size&&q(e.values(),t.values(),n.concat([e]),s.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=I(e);if(c.length!==I(t).length)return!1;var l=n.concat([e]),u=s.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!P(p,t)||!F(t[p],e[p],l,u))return!1;a-=1}return!0}const N=m((function(e,t){return F(e,t,[],[])}));function B(e,t){return function(e,t,n){var s,r;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(s=1/t;n<e.length;){if(0===(r=e[n])&&1/r===s)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(r=e[n])&&r!=r)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(N(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function D(e,t){for(var n=0,s=t.length,r=Array(s);n<s;)r[n]=e(t[n]),n+=1;return r}function L(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var V=function(e){return(e<10?"0":"")+e};const z="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+V(e.getUTCMonth()+1)+"-"+V(e.getUTCDate())+"T"+V(e.getUTCHours())+":"+V(e.getUTCMinutes())+":"+V(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function U(e,t,n){for(var s=0,r=n.length;s<r;)t=e(t,n[s]),s+=1;return t}function J(e){return"[object Object]"===Object.prototype.toString.call(e)}var G=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function H(e){return function(t){return new G(e,t)}}const K=m(f(["fantasy-land/filter","filter"],H,(function(e,t){return J(t)?U((function(n,s){return e(t[s])&&(n[s]=t[s]),n}),{},I(t)):function(e,t){for(var n=0,s=t.length,r=[];n<s;)e(t[n])&&(r[r.length]=t[n]),n+=1;return r}(e,t)})));const W=m((function(e,t){return K((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function X(e,t){var n=function(n){var s=t.concat([e]);return B(n,s)?"<Circular>":X(n,s)},s=function(e,t){return D((function(t){return L(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+D(n,e).join(", ")+"))";case"[object Array]":return"["+D(n,e).concat(s(e,W((function(e){return/^\d+$/.test(e)}),I(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):L(z(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":L(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var r=e.toString();if("[object Object]"!==r)return r}return"{"+s(e,I(e)).join(", ")+"}"}}const Y=p((function(e){return X(e,[])}));const Q=m((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var s=n(e,t);if(void 0!==s)return s;var r=n(typeof e,typeof t);if(void 0!==r)return r===typeof e?e:t;var i=Y(e),o=n(i,Y(t));return void 0!==o&&o===i?e:t}));var Z=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const ee=m(f(["fantasy-land/map","map"],(function(e){return function(t){return new Z(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return O(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return U((function(n,s){return n[s]=e(t[s]),n}),{},I(t));default:return D(e,t)}}))),te=Number.isInteger||function(e){return e<<0===e};function ne(e){return"[object String]"===Object.prototype.toString.call(e)}const se=m((function(e,t){var n=e<0?t.length+e:e;return ne(t)?t.charAt(n):t[n]}));const re=m((function(e,t){if(null!=t)return te(e)?se(e,t):t[e]}));const ie=m((function(e,t){return ee(re(e),t)}));function oe(e){return function t(n,s,r){switch(arguments.length){case 0:return t;case 1:return u(n)?t:m((function(t,s){return e(n,t,s)}));case 2:return u(n)&&u(s)?t:u(n)?m((function(t,n){return e(t,s,n)})):u(s)?m((function(t,s){return e(n,t,s)})):p((function(t){return e(n,s,t)}));default:return u(n)&&u(s)&&u(r)?t:u(n)&&u(s)?m((function(t,n){return e(t,n,r)})):u(n)&&u(r)?m((function(t,n){return e(t,s,n)})):u(s)&&u(r)?m((function(t,s){return e(n,t,s)})):u(n)?p((function(t){return e(t,s,r)})):u(s)?p((function(t){return e(n,t,r)})):u(r)?p((function(t){return e(n,s,t)})):e(n,s,r)}}}const ae=p((function(e){return!!h(e)||!!e&&("object"==typeof e&&(!ne(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var ce="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function le(e,t,n){return function(s,r,i){if(ae(i))return e(s,r,i);if(null==i)return r;if("function"==typeof i["fantasy-land/reduce"])return t(s,r,i,"fantasy-land/reduce");if(null!=i[ce])return n(s,r,i[ce]());if("function"==typeof i.next)return n(s,r,i);if("function"==typeof i.reduce)return t(s,r,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ue(e,t,n){for(var s=0,r=n.length;s<r;){if((t=e["@@transducer/step"](t,n[s]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s+=1}return e["@@transducer/result"](t)}const pe=m((function(e,t){return x(e.length,(function(){return e.apply(t,arguments)}))}));function me(e,t,n){for(var s=n.next();!s.done;){if((t=e["@@transducer/step"](t,s.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s=n.next()}return e["@@transducer/result"](t)}function he(e,t,n,s){return e["@@transducer/result"](n[s](pe(e["@@transducer/step"],e),t))}const fe=le(ue,he,me);var de=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function ye(e){return new de(e)}const ge=oe((function(e,t,n){return fe("function"==typeof e?ye(e):e,t,n)}));const ve=p((function(e){return O(ge(Q,0,ie("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const be=p((function(e){return function(){return e}}));const Ee=p((function(e){return O(ge(Q,0,ie("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function xe(e,t,n){for(var s=n.next();!s.done;)t=e(t,s.value),s=n.next();return t}function je(e,t,n,s){return n[s](e,t)}const Oe=le(U,je,xe);const Se=m((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:Oe((function(e,n){return function(e,t){var n;t=t||[];var s=(e=e||[]).length,r=t.length,i=[];for(n=0;n<s;)i[i.length]=e[n],n+=1;for(n=0;n<r;)i[i.length]=t[n],n+=1;return i}(e,ee(n,t))}),[],e)}));const we=m((function(e,t){return e.apply(this,t)}));function Pe(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Ae=m((function(e,t){return e&&t}));const ke=m((function(e,t){var n=O(e,t);return O(e,(function(){return U(Se,ee(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Ce=p((function(e){return ke(e.length,e)}));const _e=m((function(e,t){return Pe(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ce(Ae)(e,t)}));const Re=p((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));const Te=Ce(p((function(e){return!e})));function Me(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Ie(e,t){return function(){var n=arguments.length;if(0===n)return t();var s=arguments[n-1];return h(s)||"function"!=typeof s[e]?t.apply(this,arguments):s[e].apply(s,Array.prototype.slice.call(arguments,0,n-1))}}const $e=oe(Ie("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const qe=p(Ie("tail",$e(1,1/0)));function Fe(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return x(arguments[0].length,ge(Me,arguments[0],qe(arguments)))}function Ne(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}function Be(e,t,n){if(n||(n=new De),function(e){var t=typeof e;return null==e||"object"!=t&&"function"!=t}(e))return e;var s=function(s){var r=n.get(e);if(r)return r;for(var i in n.set(e,s),e)Object.prototype.hasOwnProperty.call(e,i)&&(s[i]=t?Be(e[i],!0,n):e[i]);return s};switch($(e)){case"Object":return s(Object.create(Object.getPrototypeOf(e)));case"Array":return s([]);case"Date":return new Date(e.valueOf());case"RegExp":return Ne(e);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return e.slice();default:return e}}var De=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(e,t){const n=this.hash(e);let s=this.map[n];s||(this.map[n]=s=[]),s.push([e,t]),this.length+=1},e.prototype.hash=function(e){let t=[];for(var n in e)t.push(Object.prototype.toString.call(e[n]));return t.join()},e.prototype.get=function(e){if(this.length<=180){for(const t in this.map){const n=this.map[t];for(let t=0;t<n.length;t+=1){const s=n[t];if(s[0]===e)return s[1]}}return}const t=this.hash(e),n=this.map[t];if(n)for(let t=0;t<n.length;t+=1){const s=n[t];if(s[0]===e)return s[1]}},e}(),Le=function(){function e(e,t,n,s){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=s,this.inputs={}}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(P(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,Be(this.valueAcc,!1)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}();function Ve(e,t,n){return function(s){return new Le(e,t,n,s)}}const ze=j(4,[],f([],Ve,(function(e,t,n,s){var r=ye((function(s,r){var i=n(r),o=e(P(i,s)?s[i]:Be(t,!1),r);return o&&o["@@transducer/reduced"]?d(s):(s[i]=o,s)}));return fe(r,{},s)})));const Ue=p((function(e){return O(e.length,e)}));const Je=m((function(e,t){return null==t||t!=t?e:t}));function Ge(e,t,n){var s,r=typeof e;switch(r){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(s=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===s):n._nativeSet.has(e):r in n._items?e in n._items[r]||(t&&(n._items[r][e]=!0),!1):(t&&(n._items[r]={},n._items[r][e]=!0),!1);case"boolean":if(r in n._items){var i=e?1:0;return!!n._items[r][i]||(t&&(n._items[r][i]=!0),!1)}return t&&(n._items[r]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(s=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===s):n._nativeSet.has(e):r in n._items?!!B(e,n._items[r])||(t&&n._items[r].push(e),!1):(t&&(n._items[r]=[e]),!1);case"undefined":return!!n._items[r]||(t&&(n._items[r]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(r=Object.prototype.toString.call(e))in n._items?!!B(e,n._items[r])||(t&&n._items[r].push(e),!1):(t&&(n._items[r]=[e]),!1)}}const He=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Ge(e,!0,this)},e.prototype.has=function(e){return Ge(e,!1,this)},e}();const Ke=m((function(e,t){for(var n=[],s=0,r=e.length,i=t.length,o=new He,a=0;a<i;a+=1)o.add(t[a]);for(;s<r;)o.add(e[s])&&(n[n.length]=e[s]),s+=1;return n}));var We=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?d(n):n},e}();function Xe(e){return function(t){return new We(e,t)}}const Ye=m(f(["take"],Xe,(function(e,t){return $e(0,e<0?1/0:e,t)})));var Qe=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function Ze(e){return function(t){return new Qe(e,t)}}const et=m(f(["dropWhile"],Ze,(function(e,t){for(var n=0,s=t.length;n<s&&e(t[n]);)n+=1;return $e(n,1/0,t)})));const tt=m((function(e,t){return e||t}));const nt=m((function(e,t){return Pe(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ce(tt)(e,t)}));var st=p((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():h(e)?[]:ne(e)?"":J(e)?{}:C(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const rt=st;const it=p((function(e){return O(e.length,(function(t,n){var s=Array.prototype.slice.call(arguments,0);return s[0]=n,s[1]=t,e.apply(this,s)}))}));const ot=m(Ie("groupBy",ze((function(e,t){return e.push(t),e}),[])));const at=p((function(e){return null==e}));const ct=m((function(e,t){if(0===e.length||at(t))return!1;for(var n=t,s=0;s<e.length;){if(at(n)||!P(e[s],n))return!1;n=n[e[s]],s+=1}return!0}));const lt=m((function(e,t){return ct([e],t)}));const ut=m((function(e,t){return!at(t)&&e in t}));const pt=se(0);var mt=function(e,t){switch(arguments.length){case 0:return mt;case 1:return function t(n){return 0===arguments.length?t:A(e,n)};default:return A(e,t)}};const ht=mt;const ft=oe((function(e,t,n){return O(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const dt=m(B);const yt=$e(0,-1);"function"==typeof Object.assign&&Object.assign;const gt=m((function(e,t){return O(e+1,(function(){var n=arguments[e];if(null!=n&&Pe(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Y(n)+' does not have a method named "'+t+'"')}))}));const vt=p((function(e){return null!=e&&N(e,rt(e))}));const bt=gt(1,"join");const Et=se(-1);const xt=m((function(e,t){return e.map((function(e){for(var n,s=t,r=0;r<e.length;){if(null==s)return;n=e[r],s=te(n)?se(n,s):s[n],r+=1}return s}))}));const jt=m((function(e,t){return xt([e],t)[0]}));const Ot=m((function(e,t){return U((function(n,s){return n[s]=e(t[s],s,t),n}),{},I(t))}));const St=m((function(e,t){for(var n={},s={},r=0,i=e.length;r<i;)s[e[r]]=1,r+=1;for(var o in t)s.hasOwnProperty(o)||(n[o]=t[o]);return n}));const wt=oe((function(e,t,n){return Je(e,jt(t,n))}));const Pt=oe((function(e,t,n){return e(jt(t,n))}));const At=m((function(e,t){for(var n={},s=0;s<e.length;)e[s]in t&&(n[e[s]]=t[e[s]]),s+=1;return n}));const kt=oe((function(e,t,n){return Je(e,re(t,n))}));const Ct=oe((function(e,t,n){return e(re(t,n))}));function _t(e){return"[object Number]"===Object.prototype.toString.call(e)}const Rt=m((function(e,t){if(!_t(e)||!_t(t))throw new TypeError("Both arguments to range must be numbers");for(var n=[],s=e;s<t;)n.push(s),s+=1;return n}));const Tt=p(d);var Mt=m((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const It=Mt;const $t=gt(1,"split");const qt=m((function(e,t){return N(Ye(e.length,t),e)}));const Ft=m((function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Y(e));var n;return Ne(e).test(t)}));var Nt="\t\n\v\f\r                 \u2028\u2029\ufeff";String.prototype.trim;var Bt=function(){function e(e,t){this.xf=t,this.pred=e,this.items=[]}return e.prototype["@@transducer/init"]=y,e.prototype["@@transducer/result"]=g,e.prototype["@@transducer/step"]=function(e,t){return w(this.pred,t,this.items)?e:(this.items.push(t),this.xf["@@transducer/step"](e,t))},e}();function Dt(e){return function(t){return new Bt(e,t)}}const Lt=m(f([],Dt,(function(e,t){for(var n,s=0,r=t.length,i=[];s<r;)w(e,n=t[s],i)||(i[i.length]=n),s+=1;return i})));const Vt=it(dt);class zt extends a.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const Ut=zt;class Jt extends a.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const Gt=Jt;const Ht=be(void 0);const Kt=N(Ht());class Wt extends a.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(Kt(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const Xt=Wt;class Yt extends a.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new a.ON([e.start.row,e.start.column,e.start.char]),n=new a.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const Qt=Yt,Zt=(e,t)=>"function"==typeof(null==t?void 0:t[e]),en=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),tn=(e,t)=>{var n;return(null==t||null===(n=t.primitive)||void 0===n?void 0:n.call(t))===e},nn=(e,t)=>{var n,s;return(null==t||null===(n=t.classes)||void 0===n||null===(s=n.includes)||void 0===s?void 0:s.call(n,e))||!1},sn=(e,t)=>(null==t?void 0:t.element)===e,rn=e=>e({hasMethod:Zt,hasBasicElementProps:en,primitiveEq:tn,isElementType:sn,hasClass:nn}),on=rn((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.W_||e(n)&&t(void 0,n))),an=rn((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.RP||e(n)&&t("string",n))),cn=rn((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.VL||e(n)&&t("number",n))),ln=rn((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.zr||e(n)&&t("null",n))),un=rn((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof a.hh||e(n)&&t("boolean",n))),pn=rn((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>s=>s instanceof a.Sb||e(s)&&t("object",s)&&n("keys",s)&&n("values",s)&&n("items",s))),mn=rn((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>s=>s instanceof a.ON&&!(s instanceof a.Sb)||e(s)&&t("array",s)&&n("push",s)&&n("unshift",s)&&n("map",s)&&n("reduce",s))),hn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof a.c6||e(s)&&t("member",s)&&n(void 0,s))),fn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof a.EA||e(s)&&t("link",s)&&n(void 0,s))),dn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof a.tK||e(s)&&t("ref",s)&&n(void 0,s))),yn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ut||e(s)&&t("annotation",s)&&n("array",s))),gn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Gt||e(s)&&t("comment",s)&&n("string",s))),vn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Xt||e(s)&&t("parseResult",s)&&n("array",s))),bn=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Qt||e(s)&&t("sourceMap",s)&&n("array",s))),En=e=>sn("object",e)||sn("array",e)||sn("boolean",e)||sn("number",e)||sn("string",e)||sn("null",e)||sn("member",e),xn=e=>{var t,n;return bn(null==e||null===(t=e.meta)||void 0===t||null===(n=t.get)||void 0===n?void 0:n.call(t,"sourceMap"))},jn=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!mn(n)&&E(Vt(n.toValue()),e)},On=(e,t)=>0===e.length||E(Vt(t.classes.toValue()),e);const Sn=N(null);const wn=Te(Sn);function Pn(e){return Pn="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},Pn(e)}const An=function(e){return"object"===Pn(e)};const kn=O(1,_e(wn,An));const Cn=O(1,Fe($,ht("GeneratorFunction")));const _n=O(1,Fe($,ht("AsyncFunction")));const Rn=Ee([Fe($,ht("Function")),Cn,_n]);var Tn=Fe($,ht("Object")),Mn=Fe(Y,N(Y(Object))),In=Pt(_e(Rn,Mn),["constructor"]);const $n=O(1,(function(e){if(!kn(e)||!Tn(e))return!1;var t=Object.getPrototypeOf(e);return!!Sn(t)||In(t)}));var qn=n(1427);const Fn=class extends qn{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,$n(n)&&ut("cause",n)&&!ut("cause",this)){const{cause:e}=n;this.cause=e,e instanceof Error&&ut("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}};class Nn extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(Fn,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,$n(t)&&ut("cause",t)&&!ut("cause",this)){const{cause:e}=t;this.cause=e,e instanceof Error&&ut("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}}const Bn=Nn;const Dn=class extends Bn{};const Ln=class extends Dn{};const Vn=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Ln('"filterByFormat" method is not implemented.')}findBy(){throw new Ln('"findBy" method is not implemented.')}latest(){throw new Ln('"latest" method is not implemented.')}};class zn extends Vn{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="3.1.0",t="generic"){const n="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return Et(this.filterByFormat(e))}}const Un=new zn("application/vnd.oai.openapi;version=3.1.0","application/vnd.oai.openapi+json;version=3.1.0","application/vnd.oai.openapi+yaml;version=3.1.0");const Jn=Te(Rn);const Gn=O(1,Rn(Array.isArray)?Array.isArray:Fe($,ht("Array")));const Hn=_e(Gn,vt);const Kn=O(3,(function(e,t,n){var s=jt(e,n),r=jt(yt(e),n);if(!Jn(s)&&!Hn(e)){var i=pe(s,r);return we(i,t)}}));class Wn extends a.lS{constructor(){super(),this.register("annotation",Ut),this.register("comment",Gt),this.register("parseResult",Xt),this.register("sourceMap",Qt)}}const Xn=new Wn,Yn=e=>{const t=new Wn;return $n(e)&&t.use(e),t},Qn=Xn,Zn=()=>({predicates:{...e},namespace:Qn});var es=n(6591);const ts=O(1,Fe($,ht("String"))),ns=(e,t,n)=>{const s=e[t];if(null!=s){if(!n&&"function"==typeof s)return s;const e=n?s.leave:s.enter;if("function"==typeof e)return e}else{const s=n?e.leave:e.enter;if(null!=s){if("function"==typeof s)return s;const e=s[t];if("function"==typeof e)return e}}return null},ss={},rs=e=>null==e?void 0:e.type,is=e=>"string"==typeof rs(e),os=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),as=(e,t,{keyMap:n=null,state:s={},breakSymbol:r=ss,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=ns,nodeTypeGetter:c=rs,nodePredicate:l=is,nodeCloneFn:u=os,detectCycles:p=!0}={})=>{const m=n||{};let h,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const E=[],x=[];do{g+=1;const e=g===y.length;let n;const O=e&&0!==v.length;if(e){if(n=0===x.length?void 0:E.pop(),b=f,f=x.pop(),O)if(d){b=b.slice();let e=0;for(const[t,n]of v){const s=t-e;n===i?(b.splice(s,1),e+=1):b[s]=n}}else{b=u(b);for(const[e,t]of v)b[e]=t}g=h.index,y=h.keys,v=h.edits,d=h.inArray,h=h.prev}else if(f!==i&&void 0!==f){if(n=d?g:y[g],b=f[n],b===i||void 0===b)continue;E.push(n)}if(x.includes(b))continue;let S;if(!Array.isArray(b)){if(!l(b))throw new Bn(`Invalid AST Node: ${JSON.stringify(b)}`);if(p&&x.includes(b)){E.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;S=i.call(t,b,n,f,E,x)}if(S===r)break;if(S===o){if(!e){E.pop();continue}}else if(void 0!==S&&(v.push([n,S]),!e)){if(!l(S)){E.pop();continue}b=S}}var j;if(void 0===S&&O&&v.push([n,b]),!e)h={inArray:d,index:g,keys:y,edits:v,prev:h},d=Array.isArray(b),y=d?b:null!==(j=m[c(b)])&&void 0!==j?j:[],g=-1,v=[],f!==i&&void 0!==f&&x.push(f),f=b}while(void 0!==h);return 0!==v.length?v.at(-1)[1]:e};as[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:s={},breakSymbol:r=ss,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=ns,nodeTypeGetter:c=rs,nodePredicate:l=is,nodeCloneFn:u=os,detectCycles:p=!0}={})=>{const m=n||{};let h,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const E=[],x=[];do{g+=1;const e=g===y.length;let n;const O=e&&0!==v.length;if(e){if(n=0===x.length?void 0:E.pop(),b=f,f=x.pop(),O)if(d){b=b.slice();let e=0;for(const[t,n]of v){const s=t-e;n===i?(b.splice(s,1),e+=1):b[s]=n}}else{b=u(b);for(const[e,t]of v)b[e]=t}g=h.index,y=h.keys,v=h.edits,d=h.inArray,h=h.prev}else if(f!==i&&void 0!==f){if(n=d?g:y[g],b=f[n],b===i||void 0===b)continue;E.push(n)}let S;if(!Array.isArray(b)){if(!l(b))throw new Bn(`Invalid AST Node: ${JSON.stringify(b)}`);if(p&&x.includes(b)){E.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;S=await i.call(t,b,n,f,E,x)}if(S===r)break;if(S===o){if(!e){E.pop();continue}}else if(void 0!==S&&(v.push([n,S]),!e)){if(!l(S)){E.pop();continue}b=S}}var j;if(void 0===S&&O&&v.push([n,b]),!e)h={inArray:d,index:g,keys:y,edits:v,prev:h},d=Array.isArray(b),y=d?b:null!==(j=m[c(b)])&&void 0!==j?j:[],g=-1,v=[],f!==i&&void 0!==f&&x.push(f),f=b}while(void 0!==h);return 0!==v.length?v.at(-1)[1]:e};const cs=class extends Bn{constructor(e,t){super(e,t),void 0!==t&&Object.assign(this,St(["cause"],t))}};const ls=class extends cs{};const us=class extends ls{};const ps=class extends ls{},ms=e=>"function"==typeof(null==e?void 0:e.clone)?e.clone():e,hs=e=>{if(e instanceof a.rm){const t=[...e].map(ms);return new a.rm(t)}if(e instanceof a.O4){const t=[...e].map(ms);return new a.O4(t)}if("function"==typeof(null==e?void 0:e.clone))return e.clone();throw new us("Value provided to cloneDeep function couldn't be cloned",{value:e})};hs.safe=e=>{try{return hs(e)}catch{return e}};const fs=e=>{const{key:t,value:n}=e;return new a.KeyValuePair(t,n)},ds=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=hs(e.meta)),e.attributes.length>0&&(t._attributes=hs(e.attributes)),on(e.content)){const n=e.content;t.content=ds(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof a.KeyValuePair?t.content=fs(e.content):t.content=e.content;return t},ys=e=>{if(e instanceof a.KeyValuePair)return fs(e);if(e instanceof a.rm)return(e=>{const t=[...e];return new a.rm(t)})(e);if(e instanceof a.O4)return(e=>{const t=[...e];return new a.O4(t)})(e);if(on(e))return ds(e);throw new ps("Value provided to cloneShallow function couldn't be cloned",{value:e})};ys.safe=e=>{try{return ys(e)}catch{return e}};const gs=e=>pn(e)?"ObjectElement":mn(e)?"ArrayElement":hn(e)?"MemberElement":an(e)?"StringElement":un(e)?"BooleanElement":cn(e)?"NumberElement":ln(e)?"NullElement":fn(e)?"LinkElement":dn(e)?"RefElement":void 0,vs=e=>on(e)?ys(e):os(e),bs=Fe(gs,ts),Es={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},xs=(es({props:{result:[],predicate:c,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=Es,...s}={})=>as(e,t,{keyMap:n,nodeTypeGetter:gs,nodePredicate:bs,nodeCloneFn:vs,...s}));xs[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=Es,...s}={})=>as[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:gs,nodePredicate:bs,nodeCloneFn:vs,...s});const js=(e,t,n={})=>{if(0===t.length)return e;const s=kt(Zn,"toolboxCreator",n),r=kt({},"visitorOptions",n),i=kt(gs,"nodeTypeGetter",r),o=s(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=ns,nodeTypeGetter:n=rs}={})=>{const s=new Array(e.length).fill(null);return{enter(r,...i){for(let o=0;o<e.length;o+=1)if(null===s[o]){const a=t(e[o],n(r),!1);if("function"==typeof a){const t=a.call(e[o],r,...i);if(!1===t)s[o]=r;else if(t===ss)s[o]=ss;else if(void 0!==t)return t}}},leave(r,...i){for(let o=0;o<e.length;o+=1)if(null===s[o]){const a=t(e[o],n(r),!0);if("function"==typeof a){const t=a.call(e[o],r,...i);if(t===ss)s[o]=ss;else if(void 0!==t&&!1!==t)return t}}else s[o]===r&&(s[o]=null)}}})(a.map(kt({},"visitor")),{nodeTypeGetter:i});a.forEach(Kn(["pre"],[]));const l=xs(e,c,r);return a.forEach(Kn(["post"],[])),l},Os=(e,{Type:t,plugins:n=[]})=>{const s=new t(e);return js(s,n,{toolboxCreator:Zn,visitorOptions:{nodeTypeGetter:gs}})},Ss=e=>(t,n={})=>Os(t,{...n,Type:e});a.Sb.refract=Ss(a.Sb),a.ON.refract=Ss(a.ON),a.RP.refract=Ss(a.RP),a.hh.refract=Ss(a.hh),a.zr.refract=Ss(a.zr),a.VL.refract=Ss(a.VL),a.EA.refract=Ss(a.EA),a.tK.refract=Ss(a.tK),Ut.refract=Ss(Ut),Gt.refract=Ss(Gt),Xt.refract=Ss(Xt),Qt.refract=Ss(Qt);class ws extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="callback"}}const Ps=ws;class As extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}}const ks=As;class Cs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const _s=Cs;class Rs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}}const Ts=Rs;class Ms extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}}const Is=Ms;class $s extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="example"}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}}const qs=$s;class Fs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Ns=Fs;class Bs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new a.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new a.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(Bs.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Ds=Bs;class Ls extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const Vs=Ls;class zs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Us=zs;class Js extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){var e,t;return an(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):an(this.operationId)?null===(t=this.operationId)||void 0===t?void 0:t.meta.get("operation"):void 0}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}}const Gs=Js;class Hs extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}}const Ks=Hs;class Ws extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const Xs=Ws;class Ys extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const Qs=Ys;class Zs extends a.RP{constructor(e,t,n){super(e,t,n),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const er=Zs;class tr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const nr=tr;class sr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new a.hh(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}}const rr=sr;class ir extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="parameter"}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get required(){return this.hasKey("required")?this.get("required"):new a.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new a.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(ir.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const or=ir;class ar extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const cr=ar;class lr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="paths"}}const ur=lr;class pr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const mr=pr;class hr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new a.hh(!1)}set required(e){this.set("required",e)}}const fr=hr;class dr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}}const yr=dr;class gr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const vr=gr;class br extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Er=br;class xr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const jr=xr;class Or extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Sr=Or;class wr extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Pr=wr;const Ar=Ue((function(e,t){return Fe($t(""),et(Vt(e)),bt(""))(t)})),kr=(e,t)=>{const n=Je(e,t);return Ot((e=>{if($n(e)&&lt("$ref",e)&&Ct(ts,"$ref",e)){const t=jt(["$ref"],e),s=Ar("#/",t);return jt(s.split("/"),n)}return $n(e)?kr(e,n):e}),e)},Cr=es({props:{element:null},methods:{copyMetaAndAttributes(e,t){xn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),_r=es(Cr,{methods:{enter(e){return this.element=hs(e),ss}}});const Rr=be(Ht()),Tr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:gs(e),Mr={EphemeralObject:["content"],EphemeralArray:["content"],...Es},Ir=(e,t,{keyMap:n=Mr,...s}={})=>xs(e,t,{keyMap:n,nodeTypeGetter:Tr,nodePredicate:l,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});Ir[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=Mr,...n}={})=>xs[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:Tr,nodePredicate:l,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const $r=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const qr=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},Fr=es.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new qr(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new $r(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),Nr=e=>on(e)?an(e)||cn(e)||un(e)||ln(e)?e.toValue():Ir(e,Fr()):e,Br=e=>{if(on(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Dr={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Es},Lr=es(Cr,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return At(this.passingOptionsNames,this)},retrieveFixedFields(e){return Fe(jt(["visitors",...e,"fixedFields"]),I)(this.specObj)},retrieveVisitor(e){return Pt(Rn,["visitors",...e],this.specObj)?jt(["visitors",...e],this.specObj):jt(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return Kt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?hs(t):(xs(t,s,{keyMap:Dr,nodeTypeGetter:Br,...n}),s.element)}}}),Vr=es(Lr,{props:{specPath:Rr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(an(s)&&n.includes(Nr(s))&&!this.ignoredFields.includes(Nr(s))){const n=this.toRefractedElement([...t,"fixedFields",Nr(s)],e),i=new a.c6(hs(s),n);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(Nr(s))||this.element.content.push(hs(r))})),this.copyMetaAndAttributes(e,this.element),ss}}}),zr=es(Vr,_r,{props:{specPath:be(["document","objects","JSONSchema"])},init(){this.element=new Er}}),Ur=_r,Jr=_r,Gr=_r,Hr=_r,Kr=_r,Wr=_r,Xr=_r,Yr=_r,Qr=_r,Zr=_r,ei=es({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),ti=e=>pn(e)&&e.hasKey("$ref"),ni=es(Lr,ei,_r,{methods:{ObjectElement(e){const t=ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),ss},ArrayElement(e){return this.element=new a.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),si=_r,ri=_r,ii=_r,oi=_r,ai=_r,ci=es(_r,{methods:{ArrayElement(e){return this.element=hs(e),this.element.classes.push("json-schema-required"),ss}}});const li=Te(O(1,_e(wn,nt(An,Rn))));const ui=Te(vt);const pi=ve([ts,li,ui]),mi=es(Lr,{props:{fieldPatternPredicate:c,specPath:Rr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(Nr(t))&&this.fieldPatternPredicate(Nr(t))){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new a.c6(hs(t),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(Nr(t))||this.element.content.push(hs(n))})),this.copyMetaAndAttributes(e,this.element),ss}}}),hi=es(mi,{props:{fieldPatternPredicate:pi}}),fi=es(hi,ei,_r,{props:{specPath:e=>ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-properties")}}),di=es(hi,ei,_r,{props:{specPath:e=>ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-patternProperties")}}),yi=es(hi,ei,_r,{props:{specPath:e=>ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-dependencies")}}),gi=es(_r,{methods:{ArrayElement(e){return this.element=hs(e),this.element.classes.push("json-schema-enum"),ss}}}),vi=es(_r,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("json-schema-type"),ss},ArrayElement(e){return this.element=hs(e),this.element.classes.push("json-schema-type"),ss}}}),bi=es(Lr,ei,_r,{init(){this.element=new a.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),Ei=es(Lr,ei,_r,{init(){this.element=new a.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),xi=es(Lr,ei,_r,{init(){this.element=new a.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),ji=es(hi,ei,_r,{props:{specPath:e=>ti(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new a.Sb,this.element.classes.push("json-schema-definitions")}}),Oi=_r,Si=_r,wi=_r,Pi=_r,Ai=_r,ki=es(Lr,ei,_r,{init(){this.element=new a.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),ss}}}),Ci=_r,_i=es(Vr,_r,{props:{specPath:be(["document","objects","JSONReference"])},init(){this.element=new jr},methods:{ObjectElement(e){const t=Vr.compose.methods.ObjectElement.call(this,e);return an(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Ri=es(_r,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("reference-value"),ss}}});const Ti=Te(at);const Mi=_e(Gn,ui);function Ii(e){return function(e){if(Array.isArray(e))return $i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return $i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}var qi=Fe(It(Re((function(e,t){return e.length>t.length}))),pt,re("length")),Fi=Ue((function(e,t,n){var s=n.apply(void 0,Ii(e));return Ti(s)?Tt(s):t}));const Ni=ft(Mi,(function(e){var t=qi(e);return O(t,(function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return ge(Fi(n),void 0,e)}))}),Ht),Bi=es(Lr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>ft(e,be(t),Ht))),n=Ni(t)(e);return this.element=this.toRefractedElement(n,e),ss}}}),Di=es(Bi,{props:{alternator:[{predicate:ti,specPath:["document","objects","JSONReference"]},{predicate:l,specPath:["document","objects","JSONSchema"]}]}}),Li={visitors:{value:_r,JSONSchemaOrJSONReferenceVisitor:Di,document:{objects:{JSONSchema:{$visitor:zr,fixedFields:{id:Ur,$schema:Jr,multipleOf:Gr,maximum:Hr,exclusiveMaximum:Kr,minimum:Wr,exclusiveMinimum:Xr,maxLength:Yr,minLength:Qr,pattern:Zr,additionalItems:Di,items:ni,maxItems:si,minItems:ri,uniqueItems:ii,maxProperties:oi,minProperties:ai,required:ci,properties:fi,additionalProperties:Di,patternProperties:di,dependencies:yi,enum:gi,type:vi,allOf:bi,anyOf:Ei,oneOf:xi,not:Di,definitions:ji,title:Oi,description:Si,default:wi,format:Pi,base:Ai,links:ki,media:{$ref:"#/visitors/document/objects/Media"},readOnly:Ci}},JSONReference:{$visitor:_i,fixedFields:{$ref:Ri}},Media:{$visitor:es(Vr,_r,{props:{specPath:be(["document","objects","Media"])},init(){this.element=new Sr}}),fixedFields:{binaryEncoding:_r,type:_r}},LinkDescription:{$visitor:es(Vr,_r,{props:{specPath:be(["document","objects","LinkDescription"])},init(){this.element=new Pr}}),fixedFields:{href:_r,rel:_r,title:_r,targetSchema:Di,mediaType:_r,method:_r,encType:_r,schema:Di}}}}}},Vi=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Er||e(s)&&t("JSONSchemaDraft4",s)&&n("object",s))),zi=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof jr||e(s)&&t("JSONReference",s)&&n("object",s))),Ui=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Sr||e(s)&&t("media",s)&&n("object",s))),Ji=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Pr||e(s)&&t("linkDescription",s)&&n("object",s))),Gi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Er),t.register("jSONReference",jr),t.register("media",Sr),t.register("linkDescription",Pr),t}},Hi=()=>{const e=Yn(Gi);return{predicates:{...t,isStringElement:an},namespace:e}},Ki=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=Li}={})=>{const r=(0,a.Qc)(e),i=kr(s),o=Kn(t,[],i);return xs(r,o,{state:{specObj:i}}),js(o.element,n,{toolboxCreator:Hi,visitorOptions:{keyMap:Dr,nodeTypeGetter:Br}})},Wi=e=>(t,n={})=>Ki(t,{specPath:e,...n});Er.refract=Wi(["visitors","document","objects","JSONSchema","$visitor"]),jr.refract=Wi(["visitors","document","objects","JSONReference","$visitor"]),Sr.refract=Wi(["visitors","document","objects","Media","$visitor"]),Pr.refract=Wi(["visitors","document","objects","LinkDescription","$visitor"]);const Xi=class extends Er{constructor(e,t,n){super(e,t,n),this.element="schema",this.classes.push("json-schema-draft-4")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class Yi extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const Qi=Yi;class Zi extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const eo=Zi;class to extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}}const no=to;class so extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}}const ro=so;class io extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const oo=io;class ao extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const co=ao,lo=es({props:{element:null},methods:{copyMetaAndAttributes(e,t){xn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),uo=e=>{if(on(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},po={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...Es},mo=es(lo,{props:{passingOptionsNames:["specObj","openApiGenericElement","openApiSemanticElement"],specObj:null,openApiGenericElement:null,openApiSemanticElement:null},init({specObj:e=this.specObj,openApiGenericElement:t=this.openApiGenericElement,openApiSemanticElement:n=this.openApiSemanticElement}){this.specObj=e,this.openApiGenericElement=t,this.openApiSemanticElement=n},methods:{retrievePassingOptions(){return At(this.passingOptionsNames,this)},retrieveFixedFields(e){return Fe(jt(["visitors",...e,"fixedFields"]),I)(this.specObj)},retrieveVisitor(e){return Pt(Rn,["visitors",...e],this.specObj)?jt(["visitors",...e],this.specObj):jt(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return Kt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?hs(t):(xs(t,s,{keyMap:po,nodeTypeGetter:uo,...n}),s.element)}}}),ho=e=>pn(e)&&e.hasKey("openapi")&&e.hasKey("info"),fo=e=>pn(e)&&e.hasKey("name")&&e.hasKey("in"),yo=e=>pn(e)&&e.hasKey("$ref"),go=e=>pn(e)&&e.hasKey("content"),vo=e=>pn(e)&&e.hasKey("description"),bo=pn,Eo=pn,xo=e=>an(e.key)&&qt("x-",Nr(e.key)),jo=es(mo,{props:{specPath:Rr,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:xo},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(an(s)&&n.includes(Nr(s))&&!this.ignoredFields.includes(Nr(s))){const n=this.toRefractedElement([...t,"fixedFields",Nr(s)],e),i=new a.c6(hs(s),n);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(Nr(s))||this.element.content.push(hs(r))})),this.copyMetaAndAttributes(e,this.element),ss}}}),Oo=es(lo,{methods:{enter(e){return this.element=hs(e),ss}}}),So=es(jo,Oo,{props:{specPath:be(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new nr},methods:{ObjectElement(e){return this.unrefractedElement=e,jo.compose.methods.ObjectElement.call(this,e)}}}),wo=es(mo,Oo,{methods:{StringElement(e){const t=new er(Nr(e));return this.copyMetaAndAttributes(e,t),this.element=t,ss}}}),Po=es(mo,{methods:{MemberElement(e){return this.element=hs(e),this.element.classes.push("specification-extension"),ss}}}),Ao=es(jo,Oo,{props:{specPath:be(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Vs}}),ko=Oo,Co=Oo,_o=Oo,Ro=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("api-version"),this.element.classes.push("version"),ss}}}),To=es(jo,Oo,{props:{specPath:be(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new _s}}),Mo=Oo,Io=Oo,$o=Oo,qo=es(jo,Oo,{props:{specPath:be(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new Us}}),Fo=Oo,No=Oo,Bo=es(jo,Oo,{props:{specPath:be(["document","objects","Link"]),canSupportSpecificationExtensions:!0},init(){this.element=new Gs},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return(an(this.element.operationId)||an(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}}),Do=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("reference-value"),ss}}}),Lo=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("reference-value"),ss}}}),Vo=es(mo,{props:{fieldPatternPredicate:c,specPath:Rr,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:xo},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const e=this.toRefractedElement(["document","extension"],n);this.element.content.push(e)}else if(!this.ignoredFields.includes(Nr(t))&&this.fieldPatternPredicate(Nr(t))){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new a.c6(hs(t),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(Nr(t))||this.element.content.push(hs(n))})),this.copyMetaAndAttributes(e,this.element),ss}}}),zo=es(Vo,{props:{fieldPatternPredicate:pi}});class Uo extends a.Sb{static primaryClass="link-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Uo.primaryClass)}}const Jo=Uo,Go=es(zo,Oo,{props:{specPath:be(["value"])},init(){this.element=new Jo}}),Ho=Oo,Ko=Oo,Wo=es(jo,Oo,{props:{specPath:be(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new no}}),Xo=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("server-url"),ss}}}),Yo=Oo;class Qo extends a.ON{static primaryClass="servers";constructor(e,t,n){super(e,t,n),this.classes.push(Qo.primaryClass)}}const Zo=Qo,ea=es(mo,Oo,{init(){this.element=new Zo},methods:{ArrayElement(e){return e.forEach((e=>{const t=bo(e)?["document","objects","Server"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),ta=es(jo,Oo,{props:{specPath:be(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new ro}}),na=Oo,sa=Oo,ra=Oo;class ia extends a.Sb{static primaryClass="server-variables";constructor(e,t,n){super(e,t,n),this.classes.push(ia.primaryClass)}}const oa=ia,aa=es(zo,Oo,{props:{specPath:be(["document","objects","ServerVariable"])},init(){this.element=new oa}}),ca=es(jo,Oo,{props:{specPath:be(["document","objects","MediaType"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ks}}),la=es(mo,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>ft(e,be(t),Ht))),n=Ni(t)(e);return this.element=this.toRefractedElement(n,e),ss}}}),ua=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ps||e(s)&&t("callback",s)&&n("object",s))),pa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ks||e(s)&&t("components",s)&&n("object",s))),ma=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof _s||e(s)&&t("contact",s)&&n("object",s))),ha=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof qs||e(s)&&t("example",s)&&n("object",s))),fa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ns||e(s)&&t("externalDocumentation",s)&&n("object",s))),da=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ds||e(s)&&t("header",s)&&n("object",s))),ya=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Vs||e(s)&&t("info",s)&&n("object",s))),ga=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Us||e(s)&&t("license",s)&&n("object",s))),va=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Gs||e(s)&&t("link",s)&&n("object",s))),ba=e=>{if(!va(e))return!1;if(!an(e.operationRef))return!1;const t=Nr(e.operationRef);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Ea=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof er||e(s)&&t("openapi",s)&&n("string",s))),xa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:s})=>r=>r instanceof nr||e(r)&&t("openApi3_0",r)&&n("object",r)&&s("api",r))),ja=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof rr||e(s)&&t("operation",s)&&n("object",s))),Oa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof or||e(s)&&t("parameter",s)&&n("object",s))),Sa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof cr||e(s)&&t("pathItem",s)&&n("object",s))),wa=e=>{if(!Sa(e))return!1;if(!an(e.$ref))return!1;const t=Nr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Pa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ur||e(s)&&t("paths",s)&&n("object",s))),Aa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof mr||e(s)&&t("reference",s)&&n("object",s))),ka=e=>{if(!Aa(e))return!1;if(!an(e.$ref))return!1;const t=Nr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Ca=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof fr||e(s)&&t("requestBody",s)&&n("object",s))),_a=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof yr||e(s)&&t("response",s)&&n("object",s))),Ra=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof vr||e(s)&&t("responses",s)&&n("object",s))),Ta=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Xi||e(s)&&t("schema",s)&&n("object",s))),Ma=e=>un(e)&&e.classes.includes("boolean-json-schema"),Ia=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Qi||e(s)&&t("securityRequirement",s)&&n("object",s))),$a=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof no||e(s)&&t("server",s)&&n("object",s))),qa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ro||e(s)&&t("serverVariable",s)&&n("object",s))),Fa=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ks||e(s)&&t("mediaType",s)&&n("object",s))),Na=es(la,Oo,{props:{alternator:[{predicate:yo,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=la.compose.methods.enter.call(this,e);return Aa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Ba=Oo,Da=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Example"],canSupportSpecificationExtensions:!0},init(){this.element=new a.Sb,this.element.classes.push("examples")},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class La extends a.Sb{static primaryClass="media-type-examples";constructor(e,t,n){super(e,t,n),this.classes.push(La.primaryClass),this.classes.push("examples")}}const Va=La,za=es(Da,{init(){this.element=new Va}});class Ua extends a.Sb{static primaryClass="media-type-encoding";constructor(e,t,n){super(e,t,n),this.classes.push(Ua.primaryClass)}}const Ja=Ua,Ga=es(zo,Oo,{props:{specPath:be(["document","objects","Encoding"])},init(){this.element=new Ja}}),Ha=es(zo,Oo,{props:{specPath:be(["value"])},init(){this.element=new Qi}});class Ka extends a.ON{static primaryClass="security";constructor(e,t,n){super(e,t,n),this.classes.push(Ka.primaryClass)}}const Wa=Ka,Xa=es(mo,Oo,{init(){this.element=new Wa},methods:{ArrayElement(e){return e.forEach((e=>{if(pn(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(hs(e))})),this.copyMetaAndAttributes(e,this.element),ss}}}),Ya=es(jo,Oo,{props:{specPath:be(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new ks}}),Qa=es(jo,Oo,{props:{specPath:be(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new oo}}),Za=Oo,ec=Oo,tc=es(jo,Oo,{props:{specPath:be(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new mr},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return an(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),nc=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("reference-value"),ss}}}),sc=es(jo,Oo,{props:{specPath:be(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new or},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return pn(this.element.contentProp)&&this.element.contentProp.filter(Fa).forEach(((e,t)=>{e.setMetaProperty("media-type",Nr(t))})),t}}}),rc=Oo,ic=Oo,oc=Oo,ac=Oo,cc=Oo,lc=Oo,uc=Oo,pc=Oo,mc=Oo,hc=es(la,Oo,{props:{alternator:[{predicate:yo,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=la.compose.methods.enter.call(this,e);return Aa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),fc=es(jo,Oo,{props:{specPath:be(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ds}}),dc=Oo,yc=Oo,gc=Oo,vc=Oo,bc=Oo,Ec=Oo,xc=Oo,jc=es(la,Oo,{props:{alternator:[{predicate:yo,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=la.compose.methods.enter.call(this,e);return Aa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Oc=Oo;class Sc extends a.Sb{static primaryClass="header-examples";constructor(e,t,n){super(e,t,n),this.classes.push(Sc.primaryClass),this.classes.push("examples")}}const wc=Sc,Pc=es(Da,{init(){this.element=new wc}}),Ac=es(zo,Oo,{props:{specPath:be(["document","objects","MediaType"])},init(){this.element=new a.Sb,this.element.classes.push("content")}});class kc extends a.Sb{static primaryClass="header-content";constructor(e,t,n){super(e,t,n),this.classes.push(kc.primaryClass),this.classes.push("content")}}const Cc=kc,_c=es(Ac,{init(){this.element=new Cc}}),Rc=es(jo,Oo,{props:{specPath:be(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new Xi}}),{allOf:Tc}=Li.visitors.document.objects.JSONSchema.fixedFields,Mc=es(Tc,{methods:{ArrayElement(e){const t=Tc.compose.methods.ArrayElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:Ic}=Li.visitors.document.objects.JSONSchema.fixedFields,$c=es(Ic,{methods:{ArrayElement(e){const t=Ic.compose.methods.ArrayElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:qc}=Li.visitors.document.objects.JSONSchema.fixedFields,Fc=es(qc,{methods:{ArrayElement(e){const t=qc.compose.methods.ArrayElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{definitions:Nc}=Li.visitors.document.objects.JSONSchema.fixedFields,Bc=es(Nc,{methods:{ObjectElement(e){const t=Nc.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{dependencies:Dc}=Li.visitors.document.objects.JSONSchema.fixedFields,Lc=es(Dc,{methods:{ObjectElement(e){const t=Dc.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:Vc}=Li.visitors.document.objects.JSONSchema.fixedFields,zc=es(Vc,{methods:{ObjectElement(e){const t=Vc.compose.methods.ObjectElement.call(this,e);return Aa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=hs(e),ss}}}),{properties:Uc}=Li.visitors.document.objects.JSONSchema.fixedFields,Jc=es(Uc,{methods:{ObjectElement(e){const t=Uc.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{patternProperties:Gc}=Li.visitors.document.objects.JSONSchema.fixedFields,Hc=es(Gc,{methods:{ObjectElement(e){const t=Gc.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{type:Kc}=Li.visitors.document.objects.JSONSchema.fixedFields,Wc=es(Kc,{methods:{ArrayElement(e){return this.element=hs(e),ss}}}),Xc=Oo,Yc=Oo,Qc=Oo,Zc=Oo,{JSONSchemaOrJSONReferenceVisitor:el}=Li.visitors,tl=es(el,{methods:{ObjectElement(e){const t=el.compose.methods.enter.call(this,e);return Aa(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),nl=Object.fromEntries(Object.entries(Li.visitors.document.objects.JSONSchema.fixedFields).map((([e,t])=>t===Li.visitors.JSONSchemaOrJSONReferenceVisitor?[e,tl]:[e,t]))),sl=es(jo,Oo,{props:{specPath:be(["document","objects","Discriminator"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ts}}),rl=Oo;class il extends a.Sb{static primaryClass="discriminator-mapping";constructor(e,t,n){super(e,t,n),this.classes.push(il.primaryClass)}}const ol=il,al=es(zo,Oo,{props:{specPath:be(["value"])},init(){this.element=new ol}}),cl=es(jo,Oo,{props:{specPath:be(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new co}}),ll=Oo,ul=Oo,pl=Oo,ml=Oo,hl=Oo,fl=Oo;class dl extends a.Sb{static primaryClass="parameter-examples";constructor(e,t,n){super(e,t,n),this.classes.push(dl.primaryClass),this.classes.push("examples")}}const yl=dl,gl=es(Da,{init(){this.element=new yl}});class vl extends a.Sb{static primaryClass="parameter-content";constructor(e,t,n){super(e,t,n),this.classes.push(vl.primaryClass),this.classes.push("content")}}const bl=vl,El=es(Ac,{init(){this.element=new bl}});class xl extends a.Sb{static primaryClass="components-schemas";constructor(e,t,n){super(e,t,n),this.classes.push(xl.primaryClass)}}const jl=xl,Ol=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new jl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class Sl extends a.Sb{static primaryClass="components-responses";constructor(e,t,n){super(e,t,n),this.classes.push(Sl.primaryClass)}}const wl=Sl,Pl=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Response"]},init(){this.element=new wl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(_a).forEach(((e,t)=>{e.setMetaProperty("http-status-code",Nr(t))})),t}}});class Al extends a.Sb{static primaryClass="components-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Al.primaryClass),this.classes.push("parameters")}}const kl=Al,Cl=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new kl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class _l extends a.Sb{static primaryClass="components-examples";constructor(e,t,n){super(e,t,n),this.classes.push(_l.primaryClass),this.classes.push("examples")}}const Rl=_l,Tl=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Example"]},init(){this.element=new Rl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class Ml extends a.Sb{static primaryClass="components-request-bodies";constructor(e,t,n){super(e,t,n),this.classes.push(Ml.primaryClass)}}const Il=Ml,$l=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","RequestBody"]},init(){this.element=new Il},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}});class ql extends a.Sb{static primaryClass="components-headers";constructor(e,t,n){super(e,t,n),this.classes.push(ql.primaryClass)}}const Fl=ql,Nl=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Fl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(da).forEach(((e,t)=>{e.setMetaProperty("header-name",Nr(t))})),t}}});class Bl extends a.Sb{static primaryClass="components-security-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(Bl.primaryClass)}}const Dl=Bl,Ll=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new Dl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class Vl extends a.Sb{static primaryClass="components-links";constructor(e,t,n){super(e,t,n),this.classes.push(Vl.primaryClass)}}const zl=Vl,Ul=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new zl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});class Jl extends a.Sb{static primaryClass="components-callbacks";constructor(e,t,n){super(e,t,n),this.classes.push(Jl.primaryClass)}}const Gl=Jl,Hl=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new Gl},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),Kl=es(jo,Oo,{props:{specPath:be(["document","objects","Example"]),canSupportSpecificationExtensions:!0},init(){this.element=new qs},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return an(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}}),Wl=Oo,Xl=Oo,Yl=Oo,Ql=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("reference-value"),ss}}}),Zl=es(jo,Oo,{props:{specPath:be(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ns}}),eu=Oo,tu=Oo,nu=es(jo,Oo,{props:{specPath:be(["document","objects","Encoding"]),canSupportSpecificationExtensions:!0},init(){this.element=new Is},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return pn(this.element.headers)&&this.element.headers.filter(da).forEach(((e,t)=>{e.setMetaProperty("header-name",Nr(t))})),t}}}),su=Oo;class ru extends a.Sb{static primaryClass="encoding-headers";constructor(e,t,n){super(e,t,n),this.classes.push(ru.primaryClass)}}const iu=ru,ou=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new iu},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!da(e))return;const n=Nr(t);e.setMetaProperty("headerName",n)})),t}}}),au=Oo,cu=Oo,lu=Oo,uu=es(Vo,Oo,{props:{fieldPatternPredicate:Ft(/^\/(?<path>.*)$/),specPath:be(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new ur},methods:{ObjectElement(e){const t=Vo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Sa).forEach(((e,t)=>{e.setMetaProperty("path",hs(t))})),t}}}),pu=es(jo,Oo,{props:{specPath:be(["document","objects","RequestBody"])},init(){this.element=new fr},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return pn(this.element.contentProp)&&this.element.contentProp.filter(Fa).forEach(((e,t)=>{e.setMetaProperty("media-type",Nr(t))})),t}}}),mu=Oo;class hu extends a.Sb{static primaryClass="request-body-content";constructor(e,t,n){super(e,t,n),this.classes.push(hu.primaryClass),this.classes.push("content")}}const fu=hu,du=es(Ac,{init(){this.element=new fu}}),yu=Oo,gu=es(Vo,Oo,{props:{fieldPatternPredicate:Ft(/{(?<expression>.*)}/),specPath:be(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ps},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Sa).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",Nr(t))})),t}}}),vu=es(jo,Oo,{props:{specPath:be(["document","objects","Response"])},init(){this.element=new yr},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return pn(this.element.contentProp)&&this.element.contentProp.filter(Fa).forEach(((e,t)=>{e.setMetaProperty("media-type",Nr(t))})),pn(this.element.headers)&&this.element.headers.filter(da).forEach(((e,t)=>{e.setMetaProperty("header-name",Nr(t))})),t}}}),bu=Oo;class Eu extends a.Sb{static primaryClass="response-headers";constructor(e,t,n){super(e,t,n),this.classes.push(Eu.primaryClass)}}const xu=Eu,ju=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new xu},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!da(e))return;const n=Nr(t);e.setMetaProperty("header-name",n)})),t}}});class Ou extends a.Sb{static primaryClass="response-content";constructor(e,t,n){super(e,t,n),this.classes.push(Ou.primaryClass),this.classes.push("content")}}const Su=Ou,wu=es(Ac,{init(){this.element=new Su}});class Pu extends a.Sb{static primaryClass="response-links";constructor(e,t,n){super(e,t,n),this.classes.push(Pu.primaryClass)}}const Au=Pu,ku=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new Au},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}}),Cu=es(jo,Vo,{props:{specPathFixedFields:Rr,specPathPatternedFields:Rr},methods:{ObjectElement(e){const{specPath:t,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...n,...Ke(e.keys(),t)],jo.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,Vo.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return ss}}}),_u=es(Cu,Oo,{props:{specPathFixedFields:be(["document","objects","Responses"]),specPathPatternedFields:e=>yo(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:Ft(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${Rt(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new vr},methods:{ObjectElement(e){const t=Cu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(_a).forEach(((e,t)=>{const n=hs(t);this.fieldPatternPredicate(Nr(n))&&e.setMetaProperty("http-status-code",n)})),t}}}),Ru=es(la,Oo,{props:{alternator:[{predicate:yo,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=la.compose.methods.enter.call(this,e);return Aa(this.element)?this.element.setMetaProperty("referenced-element","response"):_a(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),Tu=es(jo,Oo,{props:{specPath:be(["document","objects","Operation"])},init(){this.element=new rr}});class Mu extends a.ON{static primaryClass="operation-tags";constructor(e,t,n){super(e,t,n),this.classes.push(Mu.primaryClass)}}const Iu=Mu,$u=es(Oo,{init(){this.element=new Iu},methods:{ArrayElement(e){return this.element=this.element.concat(hs(e)),ss}}}),qu=Oo,Fu=Oo,Nu=Oo;class Bu extends a.ON{static primaryClass="operation-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Bu.primaryClass),this.classes.push("parameters")}}const Du=Bu,Lu=es(mo,Oo,{init(){this.element=new a.ON,this.element.classes.push("parameters")},methods:{ArrayElement(e){return e.forEach((e=>{const t=yo(e)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(t,e);Aa(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),Vu=es(Lu,{init(){this.element=new Du}}),zu=es(la,{props:{alternator:[{predicate:yo,specPath:["document","objects","Reference"]},{predicate:l,specPath:["document","objects","RequestBody"]}]},methods:{ObjectElement(e){const t=la.compose.methods.enter.call(this,e);return Aa(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}}});class Uu extends a.Sb{static primaryClass="operation-callbacks";constructor(e,t,n){super(e,t,n),this.classes.push(Uu.primaryClass)}}const Ju=Uu,Gu=es(zo,Oo,{props:{specPath:e=>yo(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new Ju},methods:{ObjectElement(e){const t=zo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Aa).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),Hu=Oo;class Ku extends a.ON{static primaryClass="operation-security";constructor(e,t,n){super(e,t,n),this.classes.push(Ku.primaryClass),this.classes.push("security")}}const Wu=Ku,Xu=es(mo,Oo,{init(){this.element=new Wu},methods:{ArrayElement(e){return e.forEach((e=>{const t=pn(e)?["document","objects","SecurityRequirement"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}});class Yu extends a.ON{static primaryClass="operation-servers";constructor(e,t,n){super(e,t,n),this.classes.push(Yu.primaryClass),this.classes.push("servers")}}const Qu=Yu,Zu=es(ea,{init(){this.element=new Qu}}),ep=es(jo,Oo,{props:{specPath:be(["document","objects","PathItem"])},init(){this.element=new cr},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return this.element.filter(ja).forEach(((e,t)=>{const n=hs(t);n.content=Nr(n).toUpperCase(),e.setMetaProperty("http-method",n)})),an(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),tp=es(Oo,{methods:{StringElement(e){return this.element=hs(e),this.element.classes.push("reference-value"),ss}}}),np=Oo,sp=Oo;class rp extends a.ON{static primaryClass="path-item-servers";constructor(e,t,n){super(e,t,n),this.classes.push(rp.primaryClass),this.classes.push("servers")}}const ip=rp,op=es(ea,{init(){this.element=new ip}});class ap extends a.ON{static primaryClass="path-item-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(ap.primaryClass),this.classes.push("parameters")}}const cp=ap,lp=es(Lu,{init(){this.element=new cp}}),up=es(jo,Oo,{props:{specPath:be(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new eo}}),pp=Oo,mp=Oo,hp=Oo,fp=Oo,dp=Oo,yp=Oo,gp=Oo,vp=es(jo,Oo,{props:{specPath:be(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new Qs}}),bp=es(jo,Oo,{props:{specPath:be(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new Xs}}),Ep=Oo,xp=Oo,jp=Oo;class Op extends a.Sb{static primaryClass="oauth-flow-scopes";constructor(e,t,n){super(e,t,n),this.classes.push(Op.primaryClass)}}const Sp=Op,wp=es(zo,Oo,{props:{specPath:be(["value"])},init(){this.element=new Sp}});class Pp extends a.ON{static primaryClass="tags";constructor(e,t,n){super(e,t,n),this.classes.push(Pp.primaryClass)}}const Ap=Pp,kp={$visitor:tc,fixedFields:{$ref:nc}},Cp={$visitor:Rc,fixedFields:{...nl,allOf:Mc,anyOf:$c,oneOf:Fc,definitions:Bc,items:zc,dependencies:Lc,properties:Jc,patternProperties:Hc,type:Wc,nullable:Xc,discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:Yc,xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:Qc,deprecated:Zc}},_p={visitors:{value:Oo,document:{objects:{OpenApi:{$visitor:So,fixedFields:{openapi:wo,info:{$ref:"#/visitors/document/objects/Info"},servers:ea,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Xa,tags:es(mo,Oo,{init(){this.element=new Ap},methods:{ArrayElement(e){return e.forEach((e=>{const t=Eo(e)?["document","objects","Tag"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ss}}}),externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:Ao,fixedFields:{title:ko,description:Co,termsOfService:_o,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:Ro}},Contact:{$visitor:To,fixedFields:{name:Mo,url:Io,email:$o}},License:{$visitor:qo,fixedFields:{name:Fo,url:No}},Server:{$visitor:Wo,fixedFields:{url:Xo,description:Yo,variables:aa}},ServerVariable:{$visitor:ta,fixedFields:{enum:na,default:sa,description:ra}},Components:{$visitor:Ya,fixedFields:{schemas:Ol,responses:Pl,parameters:Cl,examples:Tl,requestBodies:$l,headers:Nl,securitySchemes:Ll,links:Ul,callbacks:Hl}},Paths:{$visitor:uu},PathItem:{$visitor:ep,fixedFields:{$ref:tp,summary:np,description:sp,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:op,parameters:lp}},Operation:{$visitor:Tu,fixedFields:{tags:$u,summary:qu,description:Fu,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:Nu,parameters:Vu,requestBody:zu,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Gu,deprecated:Hu,security:Xu,servers:Zu}},ExternalDocumentation:{$visitor:Zl,fixedFields:{description:eu,url:tu}},Parameter:{$visitor:sc,fixedFields:{name:rc,in:ic,description:oc,required:ac,deprecated:cc,allowEmptyValue:lc,style:uc,explode:pc,allowReserved:mc,schema:hc,example:fl,examples:gl,content:El}},RequestBody:{$visitor:pu,fixedFields:{description:mu,content:du,required:yu}},MediaType:{$visitor:ca,fixedFields:{schema:Na,example:Ba,examples:za,encoding:Ga}},Encoding:{$visitor:nu,fixedFields:{contentType:su,headers:ou,style:au,explode:cu,allowReserved:lu}},Responses:{$visitor:_u,fixedFields:{default:Ru}},Response:{$visitor:vu,fixedFields:{description:bu,headers:ju,content:wu,links:ku}},Callback:{$visitor:gu},Example:{$visitor:Kl,fixedFields:{summary:Wl,description:Xl,value:Yl,externalValue:Ql}},Link:{$visitor:Bo,fixedFields:{operationRef:Do,operationId:Lo,parameters:Go,requestBody:Ho,description:Ko,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:fc,fixedFields:{description:dc,required:yc,deprecated:gc,allowEmptyValue:vc,style:bc,explode:Ec,allowReserved:xc,schema:jc,example:Oc,examples:Pc,content:_c}},Tag:{$visitor:Qa,fixedFields:{name:Za,description:ec,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},JSONReference:kp,Reference:kp,JSONSchema:Cp,Schema:Cp,LinkDescription:Li.visitors.document.objects.LinkDescription,Media:Li.visitors.document.objects.Media,Discriminator:{$visitor:sl,fixedFields:{propertyName:rl,mapping:al}},XML:{$visitor:cl,fixedFields:{name:ll,namespace:ul,prefix:pl,attribute:ml,wrapped:hl}},SecurityScheme:{$visitor:up,fixedFields:{type:pp,description:mp,name:hp,in:fp,scheme:dp,bearerFormat:yp,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:gp}},OAuthFlows:{$visitor:vp,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:bp,fixedFields:{authorizationUrl:Ep,tokenUrl:xp,refreshUrl:jp,scopes:wp}},SecurityRequirement:{$visitor:Ha}},extension:{$visitor:Po}}}},Rp={namespace:e=>{const{base:t}=e;return t.register("callback",Ps),t.register("components",ks),t.register("contact",_s),t.register("discriminator",Ts),t.register("encoding",Is),t.register("example",qs),t.register("externalDocumentation",Ns),t.register("header",Ds),t.register("info",Vs),t.register("license",Us),t.register("link",Gs),t.register("mediaType",Ks),t.register("oAuthFlow",Xs),t.register("oAuthFlows",Qs),t.register("openapi",er),t.register("openApi3_0",nr),t.register("operation",rr),t.register("parameter",or),t.register("pathItem",cr),t.register("paths",ur),t.register("reference",mr),t.register("requestBody",fr),t.register("response",yr),t.register("responses",vr),t.register("schema",Xi),t.register("securityRequirement",Qi),t.register("securityScheme",eo),t.register("server",no),t.register("serverVariable",ro),t.register("tag",oo),t.register("xml",co),t}},Tp=()=>{const e=Yn(Rp);return{predicates:{...r,...i,isStringElement:an},namespace:e}},Mp=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:n=[]}={})=>{const s=(0,a.Qc)(e),r=kr(_p),i=Kn(t,[],r);return xs(s,i,{state:{specObj:r}}),js(i.element,n,{toolboxCreator:Tp,visitorOptions:{keyMap:po,nodeTypeGetter:uo}})},Ip=e=>(t,n={})=>Mp(t,{specPath:e,...n});Ps.refract=Ip(["visitors","document","objects","Callback","$visitor"]),ks.refract=Ip(["visitors","document","objects","Components","$visitor"]),_s.refract=Ip(["visitors","document","objects","Contact","$visitor"]),qs.refract=Ip(["visitors","document","objects","Example","$visitor"]),Ts.refract=Ip(["visitors","document","objects","Discriminator","$visitor"]),Is.refract=Ip(["visitors","document","objects","Encoding","$visitor"]),Ns.refract=Ip(["visitors","document","objects","ExternalDocumentation","$visitor"]),Ds.refract=Ip(["visitors","document","objects","Header","$visitor"]),Vs.refract=Ip(["visitors","document","objects","Info","$visitor"]),Us.refract=Ip(["visitors","document","objects","License","$visitor"]),Gs.refract=Ip(["visitors","document","objects","Link","$visitor"]),Ks.refract=Ip(["visitors","document","objects","MediaType","$visitor"]),Xs.refract=Ip(["visitors","document","objects","OAuthFlow","$visitor"]),Qs.refract=Ip(["visitors","document","objects","OAuthFlows","$visitor"]),er.refract=Ip(["visitors","document","objects","OpenApi","fixedFields","openapi"]),nr.refract=Ip(["visitors","document","objects","OpenApi","$visitor"]),rr.refract=Ip(["visitors","document","objects","Operation","$visitor"]),or.refract=Ip(["visitors","document","objects","Parameter","$visitor"]),cr.refract=Ip(["visitors","document","objects","PathItem","$visitor"]),ur.refract=Ip(["visitors","document","objects","Paths","$visitor"]),mr.refract=Ip(["visitors","document","objects","Reference","$visitor"]),fr.refract=Ip(["visitors","document","objects","RequestBody","$visitor"]),yr.refract=Ip(["visitors","document","objects","Response","$visitor"]),vr.refract=Ip(["visitors","document","objects","Responses","$visitor"]),Xi.refract=Ip(["visitors","document","objects","Schema","$visitor"]),Qi.refract=Ip(["visitors","document","objects","SecurityRequirement","$visitor"]),eo.refract=Ip(["visitors","document","objects","SecurityScheme","$visitor"]),no.refract=Ip(["visitors","document","objects","Server","$visitor"]),ro.refract=Ip(["visitors","document","objects","ServerVariable","$visitor"]),oo.refract=Ip(["visitors","document","objects","Tag","$visitor"]),co.refract=Ip(["visitors","document","objects","XML","$visitor"]);const $p=class extends Ps{};const qp=class extends ks{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}};const Fp=class extends _s{};const Np=class extends Ts{};const Bp=class extends Is{};const Dp=class extends qs{};const Lp=class extends Ns{};const Vp=class extends Ds{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const zp=class extends Vs{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};class Up extends a.RP{static default=new Up("https://spec.openapis.org/oas/3.1/dialect/base");constructor(e,t,n){super(e,t,n),this.element="jsonSchemaDialect"}}const Jp=Up;const Gp=class extends Us{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}};const Hp=class extends Gs{};const Kp=class extends Ks{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Wp=class extends Xs{};const Xp=class extends Qs{};const Yp=class extends er{};class Qp extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(e){this.set("jsonSchemaDialect",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get webhooks(){return this.get("webhooks")}set webhooks(e){this.set("webhooks",e)}}const Zp=Qp;const em=class extends rr{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}};const tm=class extends or{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const nm=class extends cr{get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}};const sm=class extends ur{};class rm extends mr{}Object.defineProperty(rm.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0}),Object.defineProperty(rm.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});const im=rm;const om=class extends fr{};const am=class extends yr{};const cm=class extends vr{};class lm extends a.Sb{constructor(e,t,n){super(e,t,n),this.element="schema"}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(e){this.set("$vocabulary",e)}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get $anchor(){return this.get("$anchor")}set $anchor(e){this.set("$anchor",e)}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(e){this.set("$dynamicAnchor",e)}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(e){this.set("$dynamicRef",e)}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get $defs(){return this.get("$defs")}set $defs(e){this.set("$defs",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(e){this.set("dependentSchemas",e)}get prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(e){this.set("unevaluatedItems",e)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(e){this.set("unevaluatedProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxContains(){return this.get("maxContains")}set maxContains(e){this.set("maxContains",e)}get minContains(){return this.get("minContains")}set minContains(e){this.set("minContains",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get dependentRequired(){return this.get("dependentRequired")}set dependentRequired(e){this.set("dependentRequired",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get contentSchema(){return this.get("contentSchema")}set contentSchema(e){this.set("contentSchema",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}}const um=lm;const pm=class extends Qi{};const mm=class extends eo{};const hm=class extends no{};const fm=class extends ro{};const dm=class extends oo{};const ym=class extends co{},gm={namespace:e=>{const{base:t}=e;return t.register("callback",$p),t.register("components",qp),t.register("contact",Fp),t.register("discriminator",Np),t.register("encoding",Bp),t.register("example",Dp),t.register("externalDocumentation",Lp),t.register("header",Vp),t.register("info",zp),t.register("jsonSchemaDialect",Jp),t.register("license",Gp),t.register("link",Hp),t.register("mediaType",Kp),t.register("oAuthFlow",Wp),t.register("oAuthFlows",Xp),t.register("openapi",Yp),t.register("openApi3_1",Zp),t.register("operation",em),t.register("parameter",tm),t.register("pathItem",nm),t.register("paths",sm),t.register("reference",im),t.register("requestBody",om),t.register("response",am),t.register("responses",cm),t.register("schema",um),t.register("securityRequirement",pm),t.register("securityScheme",mm),t.register("server",hm),t.register("serverVariable",fm),t.register("tag",dm),t.register("xml",ym),t}};class vm extends a.Sb{static primaryClass="components-path-items";constructor(e,t,n){super(e,t,n),this.classes.push(vm.primaryClass)}}const bm=vm;class Em extends a.Sb{static primaryClass="webhooks";constructor(e,t,n){super(e,t,n),this.classes.push(Em.primaryClass)}}const xm=Em,jm=e=>{if(on(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Om={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...Es},Sm={OpenApi3_1Element:{info:(...e)=>new zp(...e),servers:(...e)=>new Zo(...e),paths:(...e)=>new sm(...e),webhooks:(...e)=>new xm(...e),components:(...e)=>new qp(...e),security:(...e)=>new Wa(...e),tags:(...e)=>new Ap(...e),externalDocs:(...e)=>new Lp(...e)},InfoElement:{contact:(...e)=>new Fp(...e),license:(...e)=>new Gp(...e)},ServerElement:{variables:(...e)=>new oa(...e)},ServerVariableElement:{enum:(...e)=>new a.ON(...e)},PathsElement:{"[key: *]":function(...e){return new nm(...e)}},PathItemElement:{get:(...e)=>new em(...e),put:(...e)=>new em(...e),post:(...e)=>new em(...e),delete:(...e)=>new em(...e),options:(...e)=>new em(...e),head:(...e)=>new em(...e),patch:(...e)=>new em(...e),trace:(...e)=>new em(...e),servers:(...e)=>new ip(...e),parameters:(...e)=>new cp(...e)},OperationElement:{tags:(...e)=>new Iu(...e),externalDocs:(...e)=>new Lp(...e),parameters:(...e)=>new Du(...e),requestBody:(...e)=>new om(...e),responses:(...e)=>new cm(...e),callbacks:(...e)=>new Ju(...e),security:(...e)=>new Wu(...e),servers:(...e)=>new Qu(...e)},ParameterElement:{schema:(...e)=>new um(...e),examples:(...e)=>new yl(...e),content:(...e)=>new bl(...e)},RequestBodyElement:{content:(...e)=>new fu(...e)},MediaTypeElement:{schema:(...e)=>new um(...e),examples:(...e)=>new Va(...e),encoding:(...e)=>new Ja(...e)},EncodingElement:{headers:(...e)=>new iu(...e)},ResponsesElement:{"[key: *]":function(...e){return new am(...e)}},ResponseElement:{headers:(...e)=>new xu(...e),content:(...e)=>new Su(...e),links:(...e)=>new Au(...e)},CallbackElement:{"[key: *]":function(...e){return new nm(...e)}},LinkElement:{server:(...e)=>new hm(...e)},HeaderElement:{schema:(...e)=>new um(...e),examples:(...e)=>new wc(...e),content:(...e)=>new Cc(...e)},ComponentsElement:{schemas:(...e)=>new jl(...e),responses:(...e)=>new wl(...e),parameters:(...e)=>new kl(...e),examples:(...e)=>new Rl(...e),requestBodies:(...e)=>new Il(...e),headers:(...e)=>new Fl(...e),securitySchemes:(...e)=>new Dl(...e),links:(...e)=>new zl(...e),callbacks:(...e)=>new Gl(...e),pathItems:(...e)=>new bm(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new a.ON(...e)}},TagElement:{externalDocs:(...e)=>new Lp(...e)},SchemaElement:{$vocabulary(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-$vocabulary"),t},$defs(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-$defs"),t},allOf(...e){const t=new a.ON(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new a.ON(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new a.ON(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new um(...e),if:(...e)=>new um(...e),then:(...e)=>new um(...e),else:(...e)=>new um(...e),dependentSchemas(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-dependentSchemas"),t},prefixItems(...e){const t=new a.ON(...e);return t.classes.push("json-schema-prefixItems"),t},items:(...e)=>new um(...e),contains:(...e)=>new um(...e),properties(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-properties"),t},patternProperties(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-patternProperties"),t},additionalProperties:(...e)=>new um(...e),propertyNames:(...e)=>new um(...e),unevaluatedItems:(...e)=>new um(...e),unevaluatedProperties:(...e)=>new um(...e),type(...e){const t=new a.ON(...e);return t.classes.push("json-schema-type"),t},enum(...e){const t=new a.ON(...e);return t.classes.push("json-schema-enum"),t},required(...e){const t=new a.ON(...e);return t.classes.push("json-schema-required"),t},dependentRequired(...e){const t=new a.Sb(...e);return t.classes.push("json-schema-dependentRequired"),t},examples(...e){const t=new a.ON(...e);return t.classes.push("json-schema-examples"),t},contentSchema:(...e)=>new um(...e),discriminator:(...e)=>new Np(...e),xml:(...e)=>new ym(...e),externalDocs:(...e)=>new Lp(...e)},DiscriminatorElement:{mapping:(...e)=>new ol(...e)},SecuritySchemeElement:{flows:(...e)=>new Xp(...e)},OAuthFlowsElement:{implicit:(...e)=>new Wp(...e),password:(...e)=>new Wp(...e),clientCredentials:(...e)=>new Wp(...e),authorizationCode:(...e)=>new Wp(...e)},OAuthFlowElement:{scopes:(...e)=>new Sp(...e)},[xm.primaryClass]:{"[key: *]":function(...e){return new nm(...e)}},[oa.primaryClass]:{"[key: *]":function(...e){return new fm(...e)}},[jl.primaryClass]:{"[key: *]":function(...e){return new um(...e)}},[wl.primaryClass]:{"[key: *]":function(...e){return new am(...e)}},[kl.primaryClass]:{"[key: *]":function(...e){return new tm(...e)}},[Rl.primaryClass]:{"[key: *]":function(...e){return new Dp(...e)}},[Il.primaryClass]:{"[key: *]":function(...e){return new om(...e)}},[Fl.primaryClass]:{"[key: *]":function(...e){return new Vp(...e)}},[Dl.primaryClass]:{"[key: *]":function(...e){return new mm(...e)}},[zl.primaryClass]:{"[key: *]":function(...e){return new Hp(...e)}},[Gl.primaryClass]:{"[key: *]":function(...e){return new $p(...e)}},[bm.primaryClass]:{"[key: *]":function(...e){return new nm(...e)}},[Ju.primaryClass]:{"[key: *]":function(...e){return new $p(...e)}},[yl.primaryClass]:{"[key: *]":function(...e){return new Dp(...e)}},[bl.primaryClass]:{"[key: *]":function(...e){return new Kp(...e)}},[fu.primaryClass]:{"[key: *]":function(...e){return new Kp(...e)}},[Va.primaryClass]:{"[key: *]":function(...e){return new Dp(...e)}},[Ja.primaryClass]:{"[key: *]":function(...e){return new Bp(...e)}},[iu.primaryClass]:{"[key: *]":function(...e){return new Vp(...e)}},[xu.primaryClass]:{"[key: *]":function(...e){return new Vp(...e)}},[Su.primaryClass]:{"[key: *]":function(...e){return new Kp(...e)}},[Au.primaryClass]:{"[key: *]":function(...e){return new Hp(...e)}},"json-schema-$defs":{"[key: *]":function(...e){return new um(...e)}},"json-schema-dependentSchemas":{"[key: *]":function(...e){return new um(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new um(...e)}},[Zo.primaryClass]:{"<*>":(...e)=>new hm(...e)},[Wa.primaryClass]:{"<*>":function(...e){return new pm(...e)}},[Ap.primaryClass]:{"<*>":function(...e){return new dm(...e)}},[ip.primaryClass]:{"<*>":function(...e){return new hm(...e)}},[cp.primaryClass]:{"<*>":function(...e){return new tm(...e)}},[Du.primaryClass]:{"<*>":function(...e){return new tm(...e)}},[Wu.primaryClass]:{"<*>":function(...e){return new pm(...e)}},[Qu.primaryClass]:{"<*>":function(...e){return new hm(...e)}},"json-schema-allOf":{"<*>":function(...e){return new um(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new um(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new um(...e)}},"json-schema-prefixItems":{"<*>":function(...e){return new um(...e)}}},wm=(e,t)=>{const n=jm(e),s=Sm[n]||Sm[Nr(e.classes.first)];return void 0===s?void 0:Object.prototype.hasOwnProperty.call(s,"[key: *]")?s["[key: *]"]:s[t]},Pm=()=>({predicates:e})=>{const t=t=>e.isStringElement(t)&&e.includesClasses(["yaml-e-node","yaml-e-scalar"],t);return{visitor:{MemberElement(e,...n){if(!t(e.value))return;const[,,,s]=n,r=s.at(-1),i=wm(r,Nr(e.key));if(void 0===i)return;const o=e.value;return new a.c6(e.key,i.call({context:r},void 0,hs(o.meta),hs(o.attributes)),hs(e.meta),hs(e.attributes))},StringElement(n,...s){if(!t(n))return;const[,,,r]=s,i=r.at(-1);if(!e.isArrayElement(i))return;const o=wm(i,"<*>");return void 0!==o?o.call({context:n},void 0,hs(n.meta),hs(n.attributes)):void 0}}}},Am=()=>({predicates:e})=>{const t=(t,n)=>!!e.isParameterElement(t)&&(!!e.isParameterElement(n)&&(!!e.isStringElement(t.name)&&(!!e.isStringElement(t.in)&&(!!e.isStringElement(n.name)&&(!!e.isStringElement(n.in)&&(Nr(t.name)===Nr(n.name)&&Nr(t.in)===Nr(n.in))))))),n=[];return{visitor:{PathItemElement:{enter(t,s,r,i,o){if(o.some(e.isComponentsElement))return;const{parameters:a}=t;e.isArrayElement(a)?n.push([...a.content]):n.push([])},leave(){n.pop()}},OperationElement:{leave(e){const s=Et(n);if(!Array.isArray(s)||0===s.length)return;const r=wt([],["parameters","content"],e),i=Lt(t,[...r,...s]);e.parameters=new Du(i)}}}}},km=()=>({predicates:e})=>{let t;return{visitor:{OpenApi3_1Element:{enter(n){e.isArrayElement(n.security)&&(t=n.security)},leave(){t=void 0}},OperationElement:{leave(n,s,r,i,o){if(o.some(e.isComponentsElement))return;void 0===n.security&&void 0!==t&&(n.security=new Wu(t?.content))}}}}},Cm=()=>({predicates:e})=>{let t;const n=[];return{visitor:{OpenApi3_1Element:{enter(n){e.isArrayElement(n.servers)&&(t=n.servers?.content)},leave(){t=void 0}},PathItemElement:{enter(s,r,i,o,a){if(a.some(e.isComponentsElement))return;void 0===s.servers&&void 0!==t&&(s.servers=new ip(t));const{servers:c}=s;void 0!==c&&e.isArrayElement(c)?n.push([...c.content]):n.push(void 0)},leave(){n.pop()}},OperationElement:{enter(t){const s=Et(n);void 0!==s&&(e.isArrayElement(t.servers)||(t.servers=new Qu(s)))}}}}},_m=e=>e.replace(/\s/g,""),Rm=e=>e.replace(/\W/gi,"_"),Tm=(e,t,n)=>{const s=_m(e);return s.length>0?Rm(s):((e,t)=>`${Rm(_m(t.toLowerCase()))}${Rm(_m(e))}`)(t,n)},Mm=({operationIdNormalizer:e=Tm}={})=>({predicates:t,namespace:n})=>{const s=[],r=[],i=[];return{visitor:{OpenApi3_1Element:{leave(){const e=ot((e=>Nr(e.operationId)),r);Object.entries(e).forEach((([e,t])=>{Array.isArray(t)&&(t.length<=1||t.forEach(((t,s)=>{const r=`${e}${s+1}`;t.operationId=new n.elements.String(r)})))})),i.forEach((e=>{if(void 0===e.operationId)return;const t=String(Nr(e.operationId)),n=r.find((e=>Nr(e.meta.get("originalOperationId"))===t));void 0!==n&&(e.operationId=hs.safe(n.operationId),e.meta.set("originalOperationId",t),e.set("__originalOperationId",t))})),r.length=0,i.length=0}},PathItemElement:{enter(e){const t=Je("path",Nr(e.meta.get("path")));s.push(t)},leave(){s.pop()}},OperationElement:{enter(t){if(void 0===t.operationId)return;const i=String(Nr(t.operationId)),o=Et(s),a=Je("method",Nr(t.meta.get("http-method"))),c=e(i,o,a);i!==c&&(t.operationId=new n.elements.String(c),t.set("__originalOperationId",i),t.meta.set("originalOperationId",i),r.push(t))}},LinkElement:{leave(e){t.isLinkElement(e)&&void 0!==e.operationId&&i.push(e)}}}}},Im=()=>({predicates:e})=>({visitor:{ParameterElement:{leave(t,n,s,r,i){if(!i.some(e.isComponentsElement)&&void 0!==t.schema&&e.isSchemaElement(t.schema)&&(void 0!==t.schema?.example||void 0!==t.schema?.examples)){if(void 0!==t.examples&&e.isObjectElement(t.examples)){const e=t.examples.map((e=>hs.safe(e.value)));return void 0!==t.schema.examples&&t.schema.set("examples",e),void(void 0!==t.schema.example&&t.schema.set("example",e))}void 0!==t.example&&(void 0!==t.schema.examples&&t.schema.set("examples",[hs(t.example)]),void 0!==t.schema.example&&t.schema.set("example",hs(t.example)))}}}}}),$m=()=>({predicates:e})=>({visitor:{HeaderElement:{leave(t,n,s,r,i){if(!i.some(e.isComponentsElement)&&void 0!==t.schema&&e.isSchemaElement(t.schema)&&(void 0!==t.schema?.example||void 0!==t.schema?.examples)){if(void 0!==t.examples&&e.isObjectElement(t.examples)){const e=t.examples.map((e=>hs.safe(e.value)));return void 0!==t.schema.examples&&t.schema.set("examples",e),void(void 0!==t.schema.example&&t.schema.set("example",e))}void 0!==t.example&&(void 0!==t.schema.examples&&t.schema.set("examples",[hs(t.example)]),void 0!==t.schema.example&&t.schema.set("example",hs(t.example)))}}}}}),qm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof $p||e(s)&&t("callback",s)&&n("object",s))),Fm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof qp||e(s)&&t("components",s)&&n("object",s))),Nm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Fp||e(s)&&t("contact",s)&&n("object",s))),Bm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Dp||e(s)&&t("example",s)&&n("object",s))),Dm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Lp||e(s)&&t("externalDocumentation",s)&&n("object",s))),Lm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Vp||e(s)&&t("header",s)&&n("object",s))),Vm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof zp||e(s)&&t("info",s)&&n("object",s))),zm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Jp||e(s)&&t("jsonSchemaDialect",s)&&n("string",s))),Um=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Gp||e(s)&&t("license",s)&&n("object",s))),Jm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Hp||e(s)&&t("link",s)&&n("object",s))),Gm=e=>{if(!Jm(e))return!1;if(!an(e.operationRef))return!1;const t=Nr(e.operationRef);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Hm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Yp||e(s)&&t("openapi",s)&&n("string",s))),Km=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:s})=>r=>r instanceof Zp||e(r)&&t("openApi3_1",r)&&n("object",r)&&s("api",r))),Wm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof em||e(s)&&t("operation",s)&&n("object",s))),Xm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof tm||e(s)&&t("parameter",s)&&n("object",s))),Ym=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof nm||e(s)&&t("pathItem",s)&&n("object",s))),Qm=e=>{if(!Ym(e))return!1;if(!an(e.$ref))return!1;const t=Nr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Zm=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof sm||e(s)&&t("paths",s)&&n("object",s))),eh=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof im||e(s)&&t("reference",s)&&n("object",s))),th=e=>{if(!eh(e))return!1;if(!an(e.$ref))return!1;const t=Nr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},nh=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof om||e(s)&&t("requestBody",s)&&n("object",s))),sh=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof am||e(s)&&t("response",s)&&n("object",s))),rh=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof cm||e(s)&&t("responses",s)&&n("object",s))),ih=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof um||e(s)&&t("schema",s)&&n("object",s))),oh=e=>un(e)&&e.classes.includes("boolean-json-schema"),ah=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof pm||e(s)&&t("securityRequirement",s)&&n("object",s))),ch=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof hm||e(s)&&t("server",s)&&n("object",s))),lh=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof fm||e(s)&&t("serverVariable",s)&&n("object",s))),uh=rn((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Kp||e(s)&&t("mediaType",s)&&n("object",s))),ph=()=>{const e=Yn(gm);return{predicates:{...o,isStringElement:an,isArrayElement:mn,isObjectElement:pn,includesClasses:On},namespace:e}},mh=e=>pn(e)&&e.hasKey("openapi")&&e.hasKey("info")})(),s})()));