@scalar/api-reference 1.22.13 → 1.22.15

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 (90) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/Add-ngyZgYXx-CWPoroGU.cjs +1 -0
  3. package/dist/Add-ngyZgYXx-DoqFEwg6.js +21 -0
  4. package/dist/Brackets-4I8OKomf-C2VxZ6iW.cjs +1 -0
  5. package/dist/Brackets-4I8OKomf-DWpQfvXD.js +21 -0
  6. package/dist/Branch-CXwj8YuG-CvPS_xP0.js +34 -0
  7. package/dist/Branch-CXwj8YuG-xolS1YAY.cjs +1 -0
  8. package/dist/Checkmark-De7nq6cG-I65LWhZ2.js +21 -0
  9. package/dist/Checkmark-De7nq6cG-tp1nTP9w.cjs +1 -0
  10. package/dist/ChevronDown-Co7EAKAv-BMVIms1W.cjs +1 -0
  11. package/dist/{interface-add-Bthe4y9O-Cdr7NyPT.js → ChevronDown-Co7EAKAv-Dw2u19C4.js} +3 -4
  12. package/dist/ChevronLeft-DYt0idAu-4ItgPaSH.js +21 -0
  13. package/dist/ChevronLeft-DYt0idAu-DgJ680do.cjs +1 -0
  14. package/dist/ChevronRight-ylxToVWl-BVcmudpo.cjs +1 -0
  15. package/dist/ChevronRight-ylxToVWl-DMyZ2Rmi.js +21 -0
  16. package/dist/ChevronUp-xAnukIfj-BRXM2fAN.cjs +1 -0
  17. package/dist/ChevronUp-xAnukIfj-DYWzMh-o.js +21 -0
  18. package/dist/{Close-DFM1qMQH-DKJrvjUb.js → Close-CW3z42qZ-C-nzSJmV.js} +6 -5
  19. package/dist/Close-CW3z42qZ-CAmO5dZ5.cjs +1 -0
  20. package/dist/CodeFolder-Cv_igzJE-Dl4HVTRL.cjs +1 -0
  21. package/dist/CodeFolder-Cv_igzJE-POyxhw77.js +27 -0
  22. package/dist/Cookie-CEHvXpqB-BCUOR3DZ.cjs +1 -0
  23. package/dist/Cookie-CEHvXpqB-Bu1-nQ4L.js +37 -0
  24. package/dist/DocsPage-rh2xwxKN-DGM8iLwe.js +28 -0
  25. package/dist/DocsPage-rh2xwxKN-EMPYZ-u6.cjs +1 -0
  26. package/dist/ExternalLink-DK8L-EH7-BZtIWcdg.cjs +1 -0
  27. package/dist/ExternalLink-DK8L-EH7-CnaH9txm.js +21 -0
  28. package/dist/JsonObject-hGdHUQ4M-DEiEsxEM.cjs +1 -0
  29. package/dist/JsonObject-hGdHUQ4M-JVzShx7P.js +21 -0
  30. package/dist/Menu-CFK5cOsm-B_mqCQj6.cjs +1 -0
  31. package/dist/Menu-CFK5cOsm-Bt89Z42K.js +21 -0
  32. package/dist/browser/standalone.js +4 -4
  33. package/dist/browser/webpack-stats.json +1 -1
  34. package/dist/components/Content/Schema/SchemaProperty.spec.d.ts +2 -0
  35. package/dist/components/Content/Schema/SchemaProperty.spec.d.ts.map +1 -0
  36. package/dist/components/MarkdownRenderer/MarkdownRenderer.vue.d.ts.map +1 -1
  37. package/dist/index.cjs +2 -2
  38. package/dist/index.css +1 -1
  39. package/dist/index.js +195 -193
  40. package/package.json +6 -5
  41. package/dist/Add-MwmVL5-v-BeXmeac3.js +0 -22
  42. package/dist/Add-MwmVL5-v-Cpy9xzNt.cjs +0 -1
  43. package/dist/Brackets-BcvH-CzZ-EHjsm1OA.cjs +0 -1
  44. package/dist/Brackets-BcvH-CzZ-nFXEjj81.js +0 -21
  45. package/dist/Branch-H5HxSfdF-DEntXp0J.cjs +0 -1
  46. package/dist/Branch-H5HxSfdF-F54Kv9Hs.js +0 -42
  47. package/dist/CheckMark-t0gl4N9U-BSJdmSYZ.cjs +0 -1
  48. package/dist/CheckMark-t0gl4N9U-BtMLa6Qj.js +0 -16
  49. package/dist/ChevronDown-BfsntkAH-C9zcr0qR.js +0 -24
  50. package/dist/ChevronDown-BfsntkAH-UyVhbh6W.cjs +0 -1
  51. package/dist/ChevronLeft-gsLd5xOQ-CqwkBaut.js +0 -24
  52. package/dist/ChevronLeft-gsLd5xOQ-Dsh3h4WW.cjs +0 -1
  53. package/dist/ChevronRight-CI_7n_av-CoZdhgFT.js +0 -24
  54. package/dist/ChevronRight-CI_7n_av-DLXhSyjz.cjs +0 -1
  55. package/dist/ChevronUp-CjHRmG59-Bdzral9D.cjs +0 -1
  56. package/dist/ChevronUp-CjHRmG59-DZusC0Dg.js +0 -24
  57. package/dist/Close-DFM1qMQH-DcOjuJhp.cjs +0 -1
  58. package/dist/CodeFolder-Cf9f6-KB-BF2rUBy2.js +0 -16
  59. package/dist/CodeFolder-Cf9f6-KB-jp2DyhGy.cjs +0 -1
  60. package/dist/Cookie-Bza3NN_O-9PzPbpn7.js +0 -39
  61. package/dist/Cookie-Bza3NN_O-C1JR2kUK.cjs +0 -1
  62. package/dist/DocsPage-Do-Ol9Hb-BdttSpZW.js +0 -27
  63. package/dist/DocsPage-Do-Ol9Hb-DFFeN4WT.cjs +0 -1
  64. package/dist/ExternalLink-D5zCsWas-D3-z4Da9.js +0 -28
  65. package/dist/ExternalLink-D5zCsWas-DtcGwFBe.cjs +0 -1
  66. package/dist/JsonObject-BvFDNssB-74uvq_tI.js +0 -27
  67. package/dist/JsonObject-BvFDNssB-CJ91xshz.cjs +0 -1
  68. package/dist/Menu-DFi9Laso-B_NYiSYW.cjs +0 -1
  69. package/dist/Menu-DFi9Laso-OUE38Mf8.js +0 -20
  70. package/dist/arrow-chevron-down-C8nXK33Q-BtMvOXx3.cjs +0 -1
  71. package/dist/arrow-chevron-down-C8nXK33Q-DvHEaiAC.js +0 -22
  72. package/dist/arrow-chevron-left-BXUhHSEc-CG6_PPJr.cjs +0 -1
  73. package/dist/arrow-chevron-left-BXUhHSEc-Dzn2e6R2.js +0 -22
  74. package/dist/arrow-chevron-right-CSqjaNKG-BwiP6haQ.cjs +0 -1
  75. package/dist/arrow-chevron-right-CSqjaNKG-D7eGkKfY.js +0 -22
  76. package/dist/arrow-chevron-up-Dr-W1IfM-BEO6dQ2V.js +0 -22
  77. package/dist/arrow-chevron-up-Dr-W1IfM-DWkrxiTC.cjs +0 -1
  78. package/dist/arrow-down-rfW-r_qd-7uVIv8Xj.js +0 -22
  79. package/dist/arrow-down-rfW-r_qd-CB4QKvc5.cjs +0 -1
  80. package/dist/arrow-left-DDkHt-xN-CHt49uCP.cjs +0 -1
  81. package/dist/arrow-left-DDkHt-xN-CrsVkvcK.js +0 -22
  82. package/dist/arrow-right-17dZkGZR-BhtMoPY2.js +0 -22
  83. package/dist/arrow-right-17dZkGZR-HKHoEiUe.cjs +0 -1
  84. package/dist/arrow-up-CexG2Ble-CEDM0GGI.js +0 -22
  85. package/dist/arrow-up-CexG2Ble-H6c2u01D.cjs +0 -1
  86. package/dist/brand-software-development-github-ZQnPxpDg-D7aX_GtH.cjs +0 -1
  87. package/dist/brand-software-development-github-ZQnPxpDg-DmL-9cU6.js +0 -16
  88. package/dist/interface-add-Bthe4y9O-BJ01MrNG.cjs +0 -1
  89. package/dist/interface-close-WpJOu-2h-BqME0WlY.cjs +0 -1
  90. package/dist/interface-close-WpJOu-2h-DN9XGInZ.js +0 -22
package/dist/index.cjs CHANGED
@@ -79,7 +79,7 @@ ${o}${p}`}else return`${f}${a}${h.join(" ")}${a}${p}`}function tc({indent:r,opti
79
79
  * @namespace
80
80
  * @public
81
81
  */var t=function(n){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,s=0,a={},l={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function b(v){return v instanceof c?new c(v.type,b(v.content),v.alias):Array.isArray(v)?v.map(b):v.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(b){return Object.prototype.toString.call(b).slice(8,-1)},objId:function(b){return b.__id||Object.defineProperty(b,"__id",{value:++s}),b.__id},clone:function b(v,k){k=k||{};var $,w;switch(l.util.type(v)){case"Object":if(w=l.util.objId(v),k[w])return k[w];$={},k[w]=$;for(var S in v)v.hasOwnProperty(S)&&($[S]=b(v[S],k));return $;case"Array":return w=l.util.objId(v),k[w]?k[w]:($=[],k[w]=$,v.forEach(function(_,T){$[T]=b(_,k)}),$);default:return v}},getLanguage:function(b){for(;b;){var v=o.exec(b.className);if(v)return v[1].toLowerCase();b=b.parentElement}return"none"},setLanguage:function(b,v){b.className=b.className.replace(RegExp(o,"gi"),""),b.classList.add("language-"+v)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch($){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec($.stack)||[])[1];if(b){var v=document.getElementsByTagName("script");for(var k in v)if(v[k].src==b)return v[k]}return null}},isActive:function(b,v,k){for(var $="no-"+v;b;){var w=b.classList;if(w.contains(v))return!0;if(w.contains($))return!1;b=b.parentElement}return!!k}},languages:{plain:a,plaintext:a,text:a,txt:a,extend:function(b,v){var k=l.util.clone(l.languages[b]);for(var $ in v)k[$]=v[$];return k},insertBefore:function(b,v,k,$){$=$||l.languages;var w=$[b],S={};for(var _ in w)if(w.hasOwnProperty(_)){if(_==v)for(var T in k)k.hasOwnProperty(T)&&(S[T]=k[T]);k.hasOwnProperty(_)||(S[_]=w[_])}var N=$[b];return $[b]=S,l.languages.DFS(l.languages,function(j,V){V===N&&j!=b&&(this[j]=S)}),S},DFS:function b(v,k,$,w){w=w||{};var S=l.util.objId;for(var _ in v)if(v.hasOwnProperty(_)){k.call(v,_,v[_],$||_);var T=v[_],N=l.util.type(T);N==="Object"&&!w[S(T)]?(w[S(T)]=!0,b(T,k,null,w)):N==="Array"&&!w[S(T)]&&(w[S(T)]=!0,b(T,k,_,w))}}},plugins:{},highlightAll:function(b,v){l.highlightAllUnder(document,b,v)},highlightAllUnder:function(b,v,k){var $={callback:k,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",$),$.elements=Array.prototype.slice.apply($.container.querySelectorAll($.selector)),l.hooks.run("before-all-elements-highlight",$);for(var w=0,S;S=$.elements[w++];)l.highlightElement(S,v===!0,$.callback)},highlightElement:function(b,v,k){var $=l.util.getLanguage(b),w=l.languages[$];l.util.setLanguage(b,$);var S=b.parentElement;S&&S.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(S,$);var _=b.textContent,T={element:b,language:$,grammar:w,code:_};function N(V){T.highlightedCode=V,l.hooks.run("before-insert",T),T.element.innerHTML=T.highlightedCode,l.hooks.run("after-highlight",T),l.hooks.run("complete",T),k&&k.call(T.element)}if(l.hooks.run("before-sanity-check",T),S=T.element.parentElement,S&&S.nodeName.toLowerCase()==="pre"&&!S.hasAttribute("tabindex")&&S.setAttribute("tabindex","0"),!T.code){l.hooks.run("complete",T),k&&k.call(T.element);return}if(l.hooks.run("before-highlight",T),!T.grammar){N(l.util.encode(T.code));return}if(v&&n.Worker){var j=new Worker(l.filename);j.onmessage=function(V){N(V.data)},j.postMessage(JSON.stringify({language:T.language,code:T.code,immediateClose:!0}))}else N(l.highlight(T.code,T.grammar,T.language))},highlight:function(b,v,k){var $={code:b,grammar:v,language:k};if(l.hooks.run("before-tokenize",$),!$.grammar)throw new Error('The language "'+$.language+'" has no grammar.');return $.tokens=l.tokenize($.code,$.grammar),l.hooks.run("after-tokenize",$),c.stringify(l.util.encode($.tokens),$.language)},tokenize:function(b,v){var k=v.rest;if(k){for(var $ in k)v[$]=k[$];delete v.rest}var w=new h;return f(w,w.head,b),u(b,w,v,w.head,0),m(w)},hooks:{all:{},add:function(b,v){var k=l.hooks.all;k[b]=k[b]||[],k[b].push(v)},run:function(b,v){var k=l.hooks.all[b];if(!(!k||!k.length))for(var $=0,w;w=k[$++];)w(v)}},Token:c};n.Prism=l;function c(b,v,k,$){this.type=b,this.content=v,this.alias=k,this.length=($||"").length|0}c.stringify=function b(v,k){if(typeof v=="string")return v;if(Array.isArray(v)){var $="";return v.forEach(function(N){$+=b(N,k)}),$}var w={type:v.type,content:b(v.content,k),tag:"span",classes:["token",v.type],attributes:{},language:k},S=v.alias;S&&(Array.isArray(S)?Array.prototype.push.apply(w.classes,S):w.classes.push(S)),l.hooks.run("wrap",w);var _="";for(var T in w.attributes)_+=" "+T+'="'+(w.attributes[T]||"").replace(/"/g,"&quot;")+'"';return"<"+w.tag+' class="'+w.classes.join(" ")+'"'+_+">"+w.content+"</"+w.tag+">"};function d(b,v,k,$){b.lastIndex=v;var w=b.exec(k);if(w&&$&&w[1]){var S=w[1].length;w.index+=S,w[0]=w[0].slice(S)}return w}function u(b,v,k,$,w,S){for(var _ in k)if(!(!k.hasOwnProperty(_)||!k[_])){var T=k[_];T=Array.isArray(T)?T:[T];for(var N=0;N<T.length;++N){if(S&&S.cause==_+","+N)return;var j=T[N],V=j.inside,H=!!j.lookbehind,z=!!j.greedy,ne=j.alias;if(z&&!j.pattern.global){var ge=j.pattern.toString().match(/[imsuy]*$/)[0];j.pattern=RegExp(j.pattern.source,ge+"g")}for(var Se=j.pattern||j,ce=$.next,ke=w;ce!==v.tail&&!(S&&ke>=S.reach);ke+=ce.value.length,ce=ce.next){var q=ce.value;if(v.length>b.length)return;if(!(q instanceof c)){var R=1,Z;if(z){if(Z=d(Se,ke,b,H),!Z||Z.index>=b.length)break;var I=Z.index,B=Z.index+Z[0].length,P=ke;for(P+=ce.value.length;I>=P;)ce=ce.next,P+=ce.value.length;if(P-=ce.value.length,ke=P,ce.value instanceof c)continue;for(var E=ce;E!==v.tail&&(P<B||typeof E.value=="string");E=E.next)R++,P+=E.value.length;R--,q=b.slice(ke,P),Z.index-=ke}else if(Z=d(Se,0,q,H),!Z)continue;var I=Z.index,U=Z[0],Y=q.slice(0,I),de=q.slice(I+U.length),ue=ke+q.length;S&&ue>S.reach&&(S.reach=ue);var Pe=ce.prev;Y&&(Pe=f(v,Pe,Y),ke+=Y.length),p(v,Pe,R);var jt=new c(_,V?l.tokenize(U,V):U,ne,U);if(ce=f(v,Pe,jt),de&&f(v,ce,de),R>1){var br={cause:_+","+N,reach:ue};u(b,v,k,ce.prev,ke,br),S&&br.reach>S.reach&&(S.reach=br.reach)}}}}}}function h(){var b={value:null,prev:null,next:null},v={value:null,prev:b,next:null};b.next=v,this.head=b,this.tail=v,this.length=0}function f(b,v,k){var $=v.next,w={value:k,prev:v,next:$};return v.next=w,$.prev=w,b.length++,w}function p(b,v,k){for(var $=v.next,w=0;w<k&&$!==b.tail;w++)$=$.next;v.next=$,$.prev=v,b.length-=w}function m(b){for(var v=[],k=b.head.next;k!==b.tail;)v.push(k.value),k=k.next;return v}if(!n.document)return n.addEventListener&&(l.disableWorkerMessageHandler||n.addEventListener("message",function(b){var v=JSON.parse(b.data),k=v.language,$=v.code,w=v.immediateClose;n.postMessage(l.highlight($,l.languages[k],k)),w&&n.close()},!1)),l;var g=l.util.currentScript();g&&(l.filename=g.src,g.hasAttribute("data-manual")&&(l.manual=!0));function O(){l.manual||l.highlightAll()}if(!l.manual){var y=document.readyState;y==="loading"||y==="interactive"&&g&&g.defer?document.addEventListener("DOMContentLoaded",O):window.requestAnimationFrame?window.requestAnimationFrame(O):window.setTimeout(O,16)}return l}(e);r.exports&&(r.exports=t),typeof S0<"u"&&(S0.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&amp;/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(o,s){var a={};a["language-"+s]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[s]},a.cdata=/^<!\[CDATA\[|\]\]>$/i;var l={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:a}};l["language-"+s]={pattern:/[\s\S]+/,inside:t.languages[s]};var c={};c[o]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return o}),"i"),lookbehind:!0,greedy:!0,inside:l},t.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(n,o){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:t.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(n){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+o.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var s=n.languages.markup;s&&(s.tag.addInlined("style","css"),s.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(typeof t>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n="Loading…",o=function(g,O){return"✖ Error "+g+" while fetching file: "+O},s="✖ Error: File does not exist or is empty",a={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},l="data-src-status",c="loading",d="loaded",u="failed",h="pre[data-src]:not(["+l+'="'+d+'"]):not(['+l+'="'+c+'"])';function f(g,O,y){var b=new XMLHttpRequest;b.open("GET",g,!0),b.onreadystatechange=function(){b.readyState==4&&(b.status<400&&b.responseText?O(b.responseText):b.status>=400?y(o(b.status,b.statusText)):y(s))},b.send(null)}function p(g){var O=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(g||"");if(O){var y=Number(O[1]),b=O[2],v=O[3];return b?v?[y,Number(v)]:[y,void 0]:[y,y]}}t.hooks.add("before-highlightall",function(g){g.selector+=", "+h}),t.hooks.add("before-sanity-check",function(g){var O=g.element;if(O.matches(h)){g.code="",O.setAttribute(l,c);var y=O.appendChild(document.createElement("CODE"));y.textContent=n;var b=O.getAttribute("data-src"),v=g.language;if(v==="none"){var k=(/\.(\w+)$/.exec(b)||[,"none"])[1];v=a[k]||k}t.util.setLanguage(y,v),t.util.setLanguage(O,v);var $=t.plugins.autoloader;$&&$.loadLanguages(v),f(b,function(w){O.setAttribute(l,d);var S=p(O.getAttribute("data-range"));if(S){var _=w.split(/\r\n?|\n/g),T=S[0],N=S[1]==null?_.length:S[1];T<0&&(T+=_.length),T=Math.max(0,Math.min(T-1,_.length)),N<0&&(N+=_.length),N=Math.max(0,Math.min(N,_.length)),w=_.slice(T,N).join(`
82
- `),O.hasAttribute("data-start")||O.setAttribute("data-start",String(T+1))}y.textContent=w,t.highlightElement(y)},function(w){O.setAttribute(l,u),y.textContent=w})}}),t.plugins.fileHighlight={highlight:function(O){for(var y=(O||document).querySelectorAll(h),b=0,v;v=y[b++];)t.highlightElement(v)}};var m=!1;t.fileHighlight=function(){m||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),m=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(cw);var xN=cw.exports;const vi=PN(xN),Jh="scalar-component",_N=$N({extend:{classGroups:{[Jh]:[Jh]}}}),{cva:bp,cx:Eo,compose:QU}=zA({hooks:{onComplete:r=>`${_N(r,Jh)}`}}),CN=i.createStaticVNode('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-47faceda></path>',5),TN={key:0,class:"circular-loader"},QN=i.defineComponent({__name:"ScalarLoading",props:{loadingState:{},size:{default:"24px"}},setup(r){return i.useCssVars(e=>({d6cae758:e.size})),(e,t)=>e.loadingState?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(i.unref(Eo)("loader-wrapper"))},[(i.openBlock(),i.createElementBlock("svg",{class:i.normalizeClass(["svg-loader",{"icon-is-valid":e.loadingState.isValid,"icon-is-invalid":e.loadingState.isInvalid}]),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[CN,e.loadingState.isLoading?(i.openBlock(),i.createElementBlock("g",TN,[i.createElementVNode("circle",{class:i.normalizeClass(["loader-path",{"loader-path-off":e.loadingState.isValid||e.loadingState.isInvalid}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"2"},null,2)])):i.createCommentVNode("",!0)],2))],2)):i.createCommentVNode("",!0)}}),EN=(r,e)=>{const t=r.__vccOpts||r;for(const[n,o]of e)t[n]=o;return t},dw=EN(QN,[["__scopeId","data-v-47faceda"]]),uw={solid:["scalar-button-solid","bg-back-btn-1 text-fore-btn-1 shadow-sm active:bg-back-btn-1 active:shadow-none hocus:bg-hover-btn-1"],outlined:["scalar-button-outlined","active:bg-btn-1 border border-solid border-border bg-transparent text-fore-1 hocus:bg-border"],ghost:["scalar-button-ghost","bg-transparent text-fore-3 active:text-fore-2 hocus:text-fore-2"],danger:["scalar-button-danger","bg-error text-white active:brightness-90 hocus:brightness-90"]},AN=bp({base:"scalar-button row cursor-pointer items-center justify-center rounded font-medium",variants:{disabled:{true:"bg-background-2 text-color-3 cursor-not-allowed shadow-none"},fullWidth:{true:"w-full"},size:{md:"h-10 px-6 text-sm"},variant:uw},compoundVariants:[{disabled:!0,variant:"ghost",class:"bg-transparent text-ghost"}]}),NN=["ariaDisabled"],RN={key:0,class:"mr-2 h-4 w-4"},VN={key:1,class:"ml-2"},ef=i.defineComponent({inheritAttrs:!1,__name:"ScalarButton",props:{disabled:{type:Boolean},fullWidth:{type:Boolean,default:!1},loading:{},size:{default:"md"},variant:{default:"solid"}},setup(r){const e=i.computed(()=>{const{class:t,...n}=i.useAttrs();return{className:t||"",rest:n}});return(t,n)=>(i.openBlock(),i.createElementBlock("button",i.mergeProps(e.value.rest,{ariaDisabled:t.disabled||void 0,class:i.unref(Eo)(i.unref(AN)({fullWidth:t.fullWidth,disabled:t.disabled,size:t.size,variant:t.variant}),{"pl-9 pr-3":t.loading},`${e.value.className}`),type:"button"}),[t.$slots.icon?(i.openBlock(),i.createElementBlock("div",RN,[i.renderSlot(t.$slots,"icon")])):i.createCommentVNode("",!0),i.renderSlot(t.$slots,"default"),t.loading?(i.openBlock(),i.createElementBlock("div",VN,[i.createVNode(i.unref(dw),{loadingState:t.loading,size:"20px"},null,8,["loadingState"])])):i.createCommentVNode("",!0)],16,NN))}});(function(r){var e="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",t={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:t,environment:{pattern:RegExp("\\$"+e),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};r.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:t}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},t.inside=r.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=n.variable[1].inside,a=0;a<o.length;a++)s[o[a]]=r.languages.bash[o[a]];r.languages.sh=r.languages.bash,r.languages.shell=r.languages.bash})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;(function(){if(typeof Prism>"u"||typeof document>"u")return;var r="line-numbers",e=/\n(?!$)/g,t=Prism.plugins.lineNumbers={getLine:function(a,l){if(!(a.tagName!=="PRE"||!a.classList.contains(r))){var c=a.querySelector(".line-numbers-rows");if(c){var d=parseInt(a.getAttribute("data-start"),10)||1,u=d+(c.children.length-1);l<d&&(l=d),l>u&&(l=u);var h=l-d;return c.children[h]}}},resize:function(a){n([a])},assumeViewportIndependence:!0};function n(a){if(a=a.filter(function(c){var d=o(c),u=d["white-space"];return u==="pre-wrap"||u==="pre-line"}),a.length!=0){var l=a.map(function(c){var d=c.querySelector("code"),u=c.querySelector(".line-numbers-rows");if(!(!d||!u)){var h=c.querySelector(".line-numbers-sizer"),f=d.textContent.split(e);h||(h=document.createElement("span"),h.className="line-numbers-sizer",d.appendChild(h)),h.innerHTML="0",h.style.display="block";var p=h.getBoundingClientRect().height;return h.innerHTML="",{element:c,lines:f,lineHeights:[],oneLinerHeight:p,sizer:h}}}).filter(Boolean);l.forEach(function(c){var d=c.sizer,u=c.lines,h=c.lineHeights,f=c.oneLinerHeight;h[u.length-1]=void 0,u.forEach(function(p,m){if(p&&p.length>1){var g=d.appendChild(document.createElement("span"));g.style.display="block",g.textContent=p}else h[m]=f})}),l.forEach(function(c){for(var d=c.sizer,u=c.lineHeights,h=0,f=0;f<u.length;f++)u[f]===void 0&&(u[f]=d.children[h++].getBoundingClientRect().height)}),l.forEach(function(c){var d=c.sizer,u=c.element.querySelector(".line-numbers-rows");d.style.display="none",d.innerHTML="",c.lineHeights.forEach(function(h,f){u.children[f].style.height=h+"px"})})}}function o(a){return a?window.getComputedStyle?getComputedStyle(a):a.currentStyle||null:null}var s=void 0;window.addEventListener("resize",function(){t.assumeViewportIndependence&&s===window.innerWidth||(s=window.innerWidth,n(Array.prototype.slice.call(document.querySelectorAll("pre."+r))))}),Prism.hooks.add("complete",function(a){if(a.code){var l=a.element,c=l.parentNode;if(!(!c||!/pre/i.test(c.nodeName))&&!l.querySelector(".line-numbers-rows")&&Prism.util.isActive(l,r)){l.classList.remove(r),c.classList.add(r);var d=a.code.match(e),u=d?d.length+1:1,h,f=new Array(u+1).join("<span></span>");h=document.createElement("span"),h.setAttribute("aria-hidden","true"),h.className="line-numbers-rows",h.innerHTML=f,c.hasAttribute("data-start")&&(c.style.counterReset="linenumber "+(parseInt(c.getAttribute("data-start"),10)-1)),a.element.appendChild(h),n([c]),Prism.hooks.run("line-numbers",a)}}}),Prism.hooks.add("line-numbers",function(a){a.plugins=a.plugins||{},a.plugins.lineNumbers=!0})})();function BN(r){const e=new Set;return JSON.stringify(r,(t,n)=>{if(typeof n=="object"&&n!==null){if(e.has(n))return"[Circular]";e.add(n)}return n},2)}function bl(r){if(typeof r=="string")return r;if(typeof r=="object")try{return JSON.stringify(r,null,2)}catch{return BN(r)}return r}const ZN=["innerHTML"],Ur=i.defineComponent({__name:"ScalarCodeBlock",props:{content:{},lang:{default:"js"},lineNumbers:{type:Boolean,default:!1},hideCredentials:{}},setup(r){const e=r,t=Qf(bl(e.content)),n=`components-scalar-code-block${t}`,{plugins:o,highlightElement:s}=vi;e.hideCredentials&&vi.hooks.add("wrap",function(h){if(!e.hideCredentials)return;let f=!1;typeof e.hideCredentials=="string"?h.content.includes(e.hideCredentials)&&(f=!0):Array.isArray(e.hideCredentials)&&(f=e.hideCredentials.some(p=>h.content.includes(p))),f&&(h.content=h.content.replace(/<span class="credentials">.*?<\/span>/g,p=>p.replace(/<span class="credentials">|<\/span>/g,"")),h.content=h.content.replace(new RegExp(typeof e.hideCredentials=="string"?e.hideCredentials:e.hideCredentials.join("|"),"g"),p=>`<span class="credentials">${p}</span>`))});const a=i.ref(null),l=i.ref(Ns[n]??""),c=i.computed(()=>e.lang==="node"?"js":e.lang),d=e.lang;i.watch([()=>e.lang,()=>e.content,a],()=>{a.value&&e.content&&(!l.value||e.lang!==d)&&(l.value="",i.nextTick(()=>s(a.value)))},{immediate:!0});const u=/\n(?!$)/g;return i.onServerPrefetch(async()=>{let h="";e.lineNumbers&&vi.hooks.add("after-tokenize",p=>{const m=p.code.match(u),g=m?m.length+1:1;h=`<span aria-hidden="true" class="line-numbers-rows">${new Array(g+1).join("<span></span>")}</span>`});const f=vi.highlight(bl(e.content),vi.languages[c.value],c.value);if(l.value=f+h,t!==0){const p=i.useSSRContext();p.payload.data[n]=f+h}}),i.onMounted(async()=>{await Promise.resolve().then(()=>require("./prism-autoloader-Dlh8Vzlw--ejn04HW.cjs")),o.autoloader.languages_path="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/"}),(h,f)=>(i.openBlock(),i.createElementBlock("pre",{class:i.normalizeClass([`scalar-component scalar-codeblock-pre language-${c.value}`,{"line-numbers":h.lineNumbers}])},[l.value?(i.openBlock(),i.createElementBlock("code",{key:0,class:i.normalizeClass(`scalar-codeblock-code language-${c.value}`),innerHTML:i.unref(bl)(l.value)},null,10,ZN)):(i.openBlock(),i.createElementBlock("code",{key:1,ref_key:"el",ref:a,class:i.normalizeClass(`scalar-codeblock-code language-${c.value}`)},i.toDisplayString(i.unref(bl)(h.content)),3))],2))}}),$0=Object.assign({"./Add.svg":()=>Promise.resolve().then(()=>require("./Add-MwmVL5-v-Cpy9xzNt.cjs")),"./Brackets.svg":()=>Promise.resolve().then(()=>require("./Brackets-BcvH-CzZ-EHjsm1OA.cjs")),"./Branch.svg":()=>Promise.resolve().then(()=>require("./Branch-H5HxSfdF-DEntXp0J.cjs")),"./CheckMark.svg":()=>Promise.resolve().then(()=>require("./CheckMark-t0gl4N9U-BSJdmSYZ.cjs")),"./ChevronDown.svg":()=>Promise.resolve().then(()=>require("./ChevronDown-BfsntkAH-UyVhbh6W.cjs")),"./ChevronLeft.svg":()=>Promise.resolve().then(()=>require("./ChevronLeft-gsLd5xOQ-Dsh3h4WW.cjs")),"./ChevronRight.svg":()=>Promise.resolve().then(()=>require("./ChevronRight-CI_7n_av-DLXhSyjz.cjs")),"./ChevronUp.svg":()=>Promise.resolve().then(()=>require("./ChevronUp-CjHRmG59-Bdzral9D.cjs")),"./Clipboard.svg":()=>Promise.resolve().then(()=>require("./Clipboard-CU_KxGEv-jXeM-Shn.cjs")),"./Close.svg":()=>Promise.resolve().then(()=>require("./Close-DFM1qMQH-DcOjuJhp.cjs")),"./CodeFolder.svg":()=>Promise.resolve().then(()=>require("./CodeFolder-Cf9f6-KB-jp2DyhGy.cjs")),"./Cookie.svg":()=>Promise.resolve().then(()=>require("./Cookie-Bza3NN_O-C1JR2kUK.cjs")),"./DarkMode.svg":()=>Promise.resolve().then(()=>require("./DarkMode-CBsV8Q_I-KODSbuOz.cjs")),"./DocsPage.svg":()=>Promise.resolve().then(()=>require("./DocsPage-Do-Ol9Hb-DFFeN4WT.cjs")),"./Ellipses.svg":()=>Promise.resolve().then(()=>require("./Ellipses-Bo_X36Hx-1Rf8jX_Q.cjs")),"./ExternalLink.svg":()=>Promise.resolve().then(()=>require("./ExternalLink-D5zCsWas-DtcGwFBe.cjs")),"./GitHub.svg":()=>Promise.resolve().then(()=>require("./GitHub-NdE6Zs9k-CDcqenD_.cjs")),"./JsonObject.svg":()=>Promise.resolve().then(()=>require("./JsonObject-BvFDNssB-CJ91xshz.cjs")),"./LightDarkModeToggle.svg":()=>Promise.resolve().then(()=>require("./LightDarkModeToggle-BkvMimDa-D2TvUWMc.cjs")),"./LightMode.svg":()=>Promise.resolve().then(()=>require("./LightMode-Btz6vyT_-BTswDMO7.cjs")),"./Logo.svg":()=>Promise.resolve().then(()=>require("./Logo-mtzeKD8M-BPvZdgPX.cjs")),"./LogoAPI.svg":()=>Promise.resolve().then(()=>require("./LogoAPI-CaU5E6FK-H9aWX-Pj.cjs")),"./LogoClient.svg":()=>Promise.resolve().then(()=>require("./LogoClient-DdC-t_7P-CN0J-Vs6.cjs")),"./LogoMarket.svg":()=>Promise.resolve().then(()=>require("./LogoMarket-DwlApcab-C3B4miZm.cjs")),"./LogoSwagger.svg":()=>Promise.resolve().then(()=>require("./LogoSwagger-CH60H5qW-56_9U30I.cjs")),"./Menu.svg":()=>Promise.resolve().then(()=>require("./Menu-DFi9Laso-B_NYiSYW.cjs")),"./PaperAirplane.svg":()=>Promise.resolve().then(()=>require("./PaperAirplane-BC-4mGEB-CUmTyNIM.cjs")),"./Search.svg":()=>Promise.resolve().then(()=>require("./Search-DqtlswRG-Cn8bmF-2.cjs")),"./Terminal.svg":()=>Promise.resolve().then(()=>require("./Terminal-CKp--su5-B0pjt_Yz.cjs")),"./arrow-chevron-down.svg":()=>Promise.resolve().then(()=>require("./arrow-chevron-down-C8nXK33Q-BtMvOXx3.cjs")),"./arrow-chevron-left.svg":()=>Promise.resolve().then(()=>require("./arrow-chevron-left-BXUhHSEc-CG6_PPJr.cjs")),"./arrow-chevron-right.svg":()=>Promise.resolve().then(()=>require("./arrow-chevron-right-CSqjaNKG-BwiP6haQ.cjs")),"./arrow-chevron-up.svg":()=>Promise.resolve().then(()=>require("./arrow-chevron-up-Dr-W1IfM-DWkrxiTC.cjs")),"./arrow-down.svg":()=>Promise.resolve().then(()=>require("./arrow-down-rfW-r_qd-CB4QKvc5.cjs")),"./arrow-left.svg":()=>Promise.resolve().then(()=>require("./arrow-left-DDkHt-xN-CHt49uCP.cjs")),"./arrow-right.svg":()=>Promise.resolve().then(()=>require("./arrow-right-17dZkGZR-HKHoEiUe.cjs")),"./arrow-up.svg":()=>Promise.resolve().then(()=>require("./arrow-up-CexG2Ble-H6c2u01D.cjs")),"./brand-software-development-github.svg":()=>Promise.resolve().then(()=>require("./brand-software-development-github-ZQnPxpDg-D7aX_GtH.cjs")),"./interface-add.svg":()=>Promise.resolve().then(()=>require("./interface-add-Bthe4y9O-BJ01MrNG.cjs")),"./interface-close.svg":()=>Promise.resolve().then(()=>require("./interface-close-WpJOu-2h-BqME0WlY.cjs")),"./programming-framework-angular.svg":()=>Promise.resolve().then(()=>require("./programming-framework-angular-DD4Vjgbk-BVT4AoJo.cjs")),"./programming-framework-astro.svg":()=>Promise.resolve().then(()=>require("./programming-framework-astro-CLfrRt19-CWwhfV7_.cjs")),"./programming-framework-laravel.svg":()=>Promise.resolve().then(()=>require("./programming-framework-laravel-kAy2wVLy-C3EZCsGC.cjs")),"./programming-framework-nextdotjs.svg":()=>Promise.resolve().then(()=>require("./programming-framework-nextdotjs-BKdd_DY_-DdOe6YSk.cjs")),"./programming-framework-react.svg":()=>Promise.resolve().then(()=>require("./programming-framework-react-PDgmtZuN-4I-M6WEO.cjs")),"./programming-framework-vuedotjs.svg":()=>Promise.resolve().then(()=>require("./programming-framework-vuedotjs-Cv46W2aB-CSjgwP_a.cjs")),"./programming-language-c.svg":()=>Promise.resolve().then(()=>require("./programming-language-c-hPGu2Zvg-DS__u0q2.cjs")),"./programming-language-clojure.svg":()=>Promise.resolve().then(()=>require("./programming-language-clojure-Cvmzky8x-DNGq1StI.cjs")),"./programming-language-csharp.svg":()=>Promise.resolve().then(()=>require("./programming-language-csharp-lqX1oWgb-CxB0WO6j.cjs")),"./programming-language-css3.svg":()=>Promise.resolve().then(()=>require("./programming-language-css3-Dpp4Cr6b-BpPnE1ET.cjs")),"./programming-language-go.svg":()=>Promise.resolve().then(()=>require("./programming-language-go-DoJxWwT6-Cglob461.cjs")),"./programming-language-html5.svg":()=>Promise.resolve().then(()=>require("./programming-language-html5-DlqJK4EL-DFJ6lim3.cjs")),"./programming-language-http.svg":()=>Promise.resolve().then(()=>require("./programming-language-http-wMYwFS1I-CibNNxob.cjs")),"./programming-language-java.svg":()=>Promise.resolve().then(()=>require("./programming-language-java-BCxG2T_w-CK_n5AN7.cjs")),"./programming-language-javascript.svg":()=>Promise.resolve().then(()=>require("./programming-language-javascript-VxLvi1QG-CaGGjM9H.cjs")),"./programming-language-json.svg":()=>Promise.resolve().then(()=>require("./programming-language-json-vEX_g7Zi-DzQJGa14.cjs")),"./programming-language-kotlin.svg":()=>Promise.resolve().then(()=>require("./programming-language-kotlin-DKV8vP9h-DlGiFCvD.cjs")),"./programming-language-node.svg":()=>Promise.resolve().then(()=>require("./programming-language-node-Xsgx38lm-4rntKdSG.cjs")),"./programming-language-objc.svg":()=>Promise.resolve().then(()=>require("./programming-language-objc-BQXSOBsX-ChHn3rog.cjs")),"./programming-language-ocaml.svg":()=>Promise.resolve().then(()=>require("./programming-language-ocaml-BEz7gGv7-pjGiVCW2.cjs")),"./programming-language-php.svg":()=>Promise.resolve().then(()=>require("./programming-language-php-GY38f8r4-ahFMWcim.cjs")),"./programming-language-powershell.svg":()=>Promise.resolve().then(()=>require("./programming-language-powershell-C9DkSp36-RwdG5MCL.cjs")),"./programming-language-python.svg":()=>Promise.resolve().then(()=>require("./programming-language-python-Ct-_kNjo-ujN06OXX.cjs")),"./programming-language-r.svg":()=>Promise.resolve().then(()=>require("./programming-language-r-BGoKwua9-DynRqt7q.cjs")),"./programming-language-ruby.svg":()=>Promise.resolve().then(()=>require("./programming-language-ruby-DhdM4d7g-DFwAUdk6.cjs")),"./programming-language-scala.svg":()=>Promise.resolve().then(()=>require("./programming-language-scala-BVg0dToJ-Dhg_XTFe.cjs")),"./programming-language-shell.svg":()=>Promise.resolve().then(()=>require("./programming-language-shell-BsTa1xI7-CEpfIQQF.cjs")),"./programming-language-swift.svg":()=>Promise.resolve().then(()=>require("./programming-language-swift-Dn72xPjg-DtICVxss.cjs")),"./programming-language-typescript.svg":()=>Promise.resolve().then(()=>require("./programming-language-typescript-CdF-HuRi-jq2P_J1a.cjs")),"./programming-script-code.svg":()=>Promise.resolve().then(()=>require("./programming-script-code-DQN1veb2-DWnN18iL.cjs")),"./programming-tool-git.svg":()=>Promise.resolve().then(()=>require("./programming-tool-git-DDnQ1zGD-Bi0r1H3m.cjs")),"./programming-tool-tailwindcss.svg":()=>Promise.resolve().then(()=>require("./programming-tool-tailwindcss-xjXi0E6g-CpFF5bAj.cjs"))}),P0=r=>{const e=`./${r}.svg`;return $0[e]?i.defineAsyncComponent($0[e]):(console.warn(`Could not find icon: ${r}`),null)},IN=["src"],Me=i.defineComponent({__name:"ScalarIcon",props:{icon:{},size:{}},setup(r){const e=r,t=bp({variants:{size:{xs:"h-3 w-3",sm:"h-3.5 w-3.5",md:"h-4 w-4",lg:"h-5 w-5",xl:"h-6 w-6",full:"h-full w-full"}},defaultVariants:{size:"full"}}),n=P0(e.icon);return(o,s)=>i.unref(n)?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(i.unref(P0)(o.icon)),{key:0,class:i.normalizeClass(i.unref(Eo)("scalar-icon",i.unref(t)({size:o.size})))},null,8,["class"])):(i.openBlock(),i.createElementBlock("img",{key:1,src:o.icon},null,8,IN))}}),jN=["ariaDisabled"],DN={class:"sr-only"},ud=i.defineComponent({__name:"ScalarIconButton",props:{label:{},icon:{},disabled:{type:Boolean},variant:{default:"ghost"},size:{default:"md"}},setup(r){const e=bp({base:"scalar-icon-button grid aspect-square cursor-pointer rounded",variants:{size:{xs:"h-3.5 w-3.5 p-0.5",sm:"h-5 w-5 p-1",md:"h-10 w-10 p-3",full:"h-full w-full"},disabled:{true:"cursor-not-allowed shadow-none"},variant:uw}});return(t,n)=>(i.openBlock(),i.createElementBlock("button",{ariaDisabled:t.disabled||void 0,class:i.normalizeClass(i.unref(Eo)(i.unref(e)({size:t.size,variant:t.variant,disabled:t.disabled}))),type:"button"},[i.createVNode(i.unref(Me),{icon:t.icon},null,8,["icon"]),i.createElementVNode("span",DN,i.toDisplayString(t.label),1)],10,jN))}}),MN={class:"sr-only"},qN=["value"],XN=i.defineComponent({inheritAttrs:!1,__name:"ScalarSearchInput",props:{loading:{},modelValue:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=e;function n(s){t("update:modelValue",s.target.value)}const o=i.computed(()=>{const{class:s,...a}=i.useAttrs();return{className:s||"",rest:a}});return(s,a)=>(i.openBlock(),i.createElementBlock("label",i.mergeProps(o.value.rest,{class:i.unref(Eo)("flex rounded border bg-back-1 text-sm font-medium focus-within:border-fore-1",o.value.className)}),[i.createElementVNode("span",MN,[i.renderSlot(s.$slots,"label",{},()=>[i.createTextVNode("Enter search")])]),i.createElementVNode("input",{autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"flex-1 rounded bg-transparent p-3 outline-none",placeholder:"Search...",spellcheck:"false",type:"text",value:s.modelValue,onInput:n},null,40,qN),s.loading&&s.loading.isLoading?(i.openBlock(),i.createBlock(i.unref(dw),{key:0,class:"mr-3 self-center",loadingState:s.loading,size:"20px"},null,8,["loadingState"])):s.modelValue?(i.openBlock(),i.createBlock(i.unref(ud),{key:1,class:"self-center",icon:"Close",label:"Clear Search",size:"md",onClick:a[0]||(a[0]=l=>t("update:modelValue",""))})):i.createCommentVNode("",!0)],16))}}),WN={class:"flex flex-col items-center gap-2 px-3 py-4"},zN=i.createElementVNode("div",{class:"rotate-90 text-lg font-bold"},":(",-1),UN={class:"text-sm font-medium text-fore-2"},LN=i.defineComponent({inheritAttrs:!1,__name:"ScalarSearchResultList",props:{noResults:{type:Boolean}},setup(r){const e=i.computed(()=>{const{class:t,...n}=i.useAttrs();return{className:t||"",rest:n}});return(t,n)=>(i.openBlock(),i.createElementBlock("ul",i.mergeProps(e.value.rest,{class:i.unref(Eo)("flex flex-col",e.value.className)}),[t.noResults?i.renderSlot(t.$slots,"noResults",{key:0},()=>[i.createElementVNode("div",WN,[zN,i.createElementVNode("div",UN,[i.createTextVNode(" No results found "),t.$slots.query?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createTextVNode('for "'),i.renderSlot(t.$slots,"query"),i.createTextVNode('"')],64)):i.createCommentVNode("",!0)])])]):i.createCommentVNode("",!0),i.renderSlot(t.$slots,"default")],16))}}),YN={class:"contents"},FN={class:"text-fore-3 group-hover:text-fore-1"},HN={class:"flex min-w-0 flex-1 flex-col gap-0.75"},GN={class:"flex items-center gap-1"},KN={class:"flex-1 truncate text-sm font-medium"},JN={key:0,class:"text-xs text-fore-2"},eR={class:"truncate text-xs text-fore-2"},tR=i.defineComponent({inheritAttrs:!1,__name:"ScalarSearchResultItem",props:{icon:{},active:{type:Boolean}},setup(r){const e=i.computed(()=>{const{class:t,...n}=i.useAttrs();return{className:t||"",rest:n}});return(t,n)=>(i.openBlock(),i.createElementBlock("li",YN,[i.createElementVNode("a",i.mergeProps(e.value.rest,{class:i.unref(Eo)("group flex cursor-pointer gap-3 rounded px-3 py-1.5 no-underline hover:bg-back-2",{"bg-back-2":t.active},e.value.className)}),[i.createElementVNode("div",FN,[i.renderSlot(t.$slots,"icon",{},()=>[t.icon?(i.openBlock(),i.createBlock(i.unref(Me),{key:0,icon:t.icon,size:"sm"},null,8,["icon"])):i.createCommentVNode("",!0)])]),i.createElementVNode("div",HN,[i.createElementVNode("div",GN,[i.createElementVNode("div",KN,[i.renderSlot(t.$slots,"default")]),t.$slots.addon?(i.openBlock(),i.createElementBlock("div",JN,[i.renderSlot(t.$slots,"addon")])):i.createCommentVNode("",!0)]),i.createElementVNode("div",eR,[i.renderSlot(t.$slots,"description")])])],16)]))}}),rR={},nR={class:"badge"};function oR(r,e){return i.openBlock(),i.createElementBlock("div",nR,[i.renderSlot(r.$slots,"default",{},void 0,!0)])}const sR=X(rR,[["render",oR],["__scopeId","data-v-b99d69c6"]]),iR=r=>(i.pushScopeId("data-v-8ab1bd35"),r=r(),i.popScopeId(),r),aR={class:"scopes-label"},lR=iR(()=>i.createElementVNode("em",null,"|",-1)),cR=["checked"],dR={class:"dropdown-item-title"},uR={class:"dropdown-item-description"},hR=i.defineComponent({__name:"SecuritySchemeScopes",props:{scopes:{},selected:{}},emits:["update:selected"],setup(r,{emit:e}){const t=r,n=e,o=i.ref(),s=i.ref(),{floatingStyles:a}=WA(o,s,{placement:"bottom-end",whileElementsMounted:jA,middleware:[bA(5),MA(),DA()]}),l=i.computed({get:()=>t.selected,set:c=>n("update:selected",c)});return(c,d)=>(i.openBlock(),i.createBlock(i.unref(ye.Listbox),{modelValue:l.value,"onUpdate:modelValue":d[0]||(d[0]=u=>l.value=u),multiple:""},{default:i.withCtx(({open:u})=>[i.createElementVNode("div",{ref_key:"trigger",ref:o,class:i.normalizeClass(["wrapper",{"wrapper-open":u}])},[i.createVNode(i.unref(ye.ListboxButton),{as:Hh},{default:i.withCtx(()=>[i.createElementVNode("div",aR,[i.createVNode(i.unref(Me),{icon:u?"ChevronUp":"ChevronDown",size:"sm"},null,8,["icon"]),i.createTextVNode(" Scopes "),i.createVNode(i.unref(sR),{class:"scopes-label-badge"},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(l.value.length),1),lR,i.createTextVNode(i.toDisplayString(Object.entries(c.scopes).length),1)]),_:1})])]),_:2},1024)],2),(i.openBlock(),i.createBlock(i.Teleport,{to:"body"},[i.createVNode(i.unref(Vy),null,{default:i.withCtx(({styles:h})=>[i.createElementVNode("div",{ref_key:"dropdown",ref:s,class:i.normalizeClass(["floating",h]),style:i.normalizeStyle(i.unref(a))},[i.createVNode(i.unref(ye.ListboxOptions),{as:"dl",class:"dropdown"},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(Object.entries(c.scopes),([f,p])=>(i.openBlock(),i.createBlock(i.unref(ye.ListboxOption),{key:f,as:"div",class:"dropdown-item",value:f},{default:i.withCtx(({selected:m})=>[i.createElementVNode("input",{checked:m,class:"dropdown-item-check",tabindex:"-1",type:"checkbox"},null,8,cR),i.createElementVNode("dt",dR,i.toDisplayString(f),1),i.createElementVNode("dd",uR,i.toDisplayString(p),1)]),_:2},1032,["value"]))),128))]),_:1})],6)]),_:1})]))]),_:1},8,["modelValue"]))}}),fR=X(hR,[["__scopeId","data-v-8ab1bd35"]]),pR=i.defineComponent({__name:"SecurityScheme",props:{value:{}},setup(r){const{authentication:e,setAuthentication:t}=Dn(),n=h=>{t({apiKey:{...e.apiKey,token:h.target.value}})},o=h=>{t({http:{...e.http,basic:{...e.http.basic,username:h.target.value}}})},s=h=>{t({http:{...e.http,basic:{...e.http.basic,password:h.target.value}}})},a=h=>{t({http:{...e.http,bearer:{...e.http.bearer,token:h.target.value}}})},l=h=>{t({oAuth2:{...e.oAuth2,clientId:h.target.value}})},c=h=>{const f=e.oAuth2.scopes.join(" "),p=(Math.random()+1).toString(36).substring(7),m=new URL(h.authorizationUrl);return t({oAuth2:{...e.oAuth2,state:p}}),m.searchParams.set("response_type","token"),m.searchParams.set("client_id",e.oAuth2.clientId),m.searchParams.set("redirect_uri",window.location.href),m.searchParams.set("scope",f),m.searchParams.set("state",p),m.toString()},d=i.computed({get:()=>e.oAuth2.scopes,set:h=>t({oAuth2:{...e.oAuth2,scopes:h}})}),u=h=>{const p=window.open(h,"openAuth2Window","left=100,top=100,width=800,height=600");if(p){const m=setInterval(function(){var g;try{const y=new URLSearchParams(p.location.href).get("access_token");if(p.closed||y){clearInterval(m);const b=(g=p.location.href.match(/state=([^&]*)/))==null?void 0:g[1];y&&e.oAuth2.state===b&&t({oAuth2:{...e.oAuth2,accessToken:y}}),p.close()}}catch{}},200)}};return(h,f)=>{var p;return h.value&&((p=h.value)!=null&&p.type)?(i.openBlock(),i.createBlock(J5,{key:0},{default:i.withCtx(()=>[h.value.type==="apiKey"?(i.openBlock(),i.createBlock(Mo,{key:0,id:`security-scheme-${h.value.name}`,placeholder:"Token",type:"password",value:i.unref(e).apiKey.token,onInput:n},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(h.value.in.charAt(0).toUpperCase()+h.value.in.slice(1))+" API ",1)]),_:1},8,["id","value"])):h.value.type==="http"||h.value.type==="basic"?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[h.value.type==="basic"||h.value.scheme==="basic"?(i.openBlock(),i.createBlock(d0,{key:0},{default:i.withCtx(()=>[i.createVNode(Mo,{id:"http.basic.username",placeholder:"Username",value:i.unref(e).http.basic.username,onInput:o},{default:i.withCtx(()=>[i.createTextVNode(" Username ")]),_:1},8,["value"]),i.createVNode(Mo,{id:"http.basic.password",placeholder:"Password",type:"password",value:i.unref(e).http.basic.password,onInput:s},{default:i.withCtx(()=>[i.createTextVNode(" Password ")]),_:1},8,["value"])]),_:1})):h.value.type==="http"&&h.value.scheme==="bearer"?(i.openBlock(),i.createBlock(Mo,{key:1,id:"http.bearer.token",placeholder:"Token",type:"password",value:i.unref(e).http.bearer.token,onInput:a},{default:i.withCtx(()=>[i.createTextVNode(" Bearer Token ")]),_:1},8,["value"])):i.createCommentVNode("",!0)],64)):h.value.type.toLowerCase()==="oauth2"&&h.value.flows&&h.value.flows.implicit?(i.openBlock(),i.createBlock(d0,{key:2},{default:i.withCtx(()=>[i.unref(e).oAuth2.accessToken?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createVNode(Mo,{id:"oAuth2.accessToken",placeholder:"xxxxx",type:"password",value:i.unref(e).oAuth2.accessToken},{default:i.withCtx(()=>[i.createTextVNode(" Access Token ")]),_:1},8,["value"]),i.createVNode(Hh,{onClick:f[0]||(f[0]=()=>i.unref(t)({oAuth2:{...i.unref(e).oAuth2,accessToken:"",state:""}}))},{default:i.withCtx(()=>[i.createTextVNode(" Reset ")]),_:1})],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createVNode(Mo,{id:"oAuth2.clientId",placeholder:"12345",type:"text",value:i.unref(e).oAuth2.clientId,onInput:l},{default:i.withCtx(()=>[i.createTextVNode(" Client ID ")]),_:1},8,["value"]),h.value!==void 0?(i.openBlock(),i.createBlock(fR,{key:0,selected:d.value,"onUpdate:selected":f[1]||(f[1]=m=>d.value=m),scopes:h.value.flows.implicit.scopes},null,8,["selected","scopes"])):i.createCommentVNode("",!0),i.createVNode(Hh,{onClick:f[2]||(f[2]=()=>{var m;return u(c((m=h.value)==null?void 0:m.flows.implicit))})},{default:i.withCtx(()=>[i.createTextVNode(" Authorize ")]),_:1})],64))]),_:1})):i.createCommentVNode("",!0)]),_:1})):i.createCommentVNode("",!0)}}}),hw=X(pR,[["__scopeId","data-v-e1533daa"]]),mR=r=>(i.pushScopeId("data-v-4a4d4695"),r=r(),i.popScopeId(),r),gR={key:1,class:"security-scheme-selector"},OR=["value"],yR=mR(()=>i.createElementVNode("option",{value:""},"None",-1)),bR=["value"],vR=i.defineComponent({__name:"SecuritySchemeSelector",props:{value:{}},emits:["input"],setup(r,{emit:e}){const t=r,n=e,{authentication:o,setAuthentication:s}=Dn(),a=O=>{l(O.target.value)};i.onMounted(()=>{o.preferredSecurityScheme||l(Object.keys(t.value??{})[0]??null)});const l=O=>{s({preferredSecurityScheme:O}),n("input",O)};i.onServerPrefetch(()=>l(Object.keys(t.value??{})[0]??null));const c=O=>!(O!=null&&O.type),d=O=>O.type.toLowerCase()==="apikey",u=O=>O.type==="http"&&O.scheme.toLowerCase()==="basic"||O.type.toLowerCase()==="basic",h=O=>O.type==="http"&&O.scheme.toLowerCase()==="bearer",f=O=>O.type.toLowerCase()==="oauth2",p=(O,y)=>`${m(O)} (${y})`,m=O=>c(O)?"No Authentication":d(O)?"API Key":u(O)?"Basic Authentication":h(O)?"Bearer Authentication":f(O)?"OAuth 2.0":`${O.type} (not yet supported)`,g=i.computed(()=>Object.keys(t.value??{}));return(O,y)=>{var b,v;return g.value.length===1?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createTextVNode(i.toDisplayString(p((b=O.value)==null?void 0:b[g.value[0]],g.value[0])),1)],64)):g.value.length>1?(i.openBlock(),i.createElementBlock("div",gR,[i.createElementVNode("span",null,i.toDisplayString(i.unref(o).preferredSecurityScheme?p((v=O.value)==null?void 0:v[i.unref(o).preferredSecurityScheme],i.unref(o).preferredSecurityScheme):"None"),1),i.createVNode(i.unref(Me),{icon:"ChevronDown"}),i.createElementVNode("select",{value:i.unref(o).preferredSecurityScheme,onClick:y[0]||(y[0]=i.withModifiers(()=>{},["prevent"])),onInput:a},[yR,(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(g.value,k=>{var $;return i.openBlock(),i.createElementBlock("option",{key:k,value:k??null},i.toDisplayString(p(($=O.value)==null?void 0:$[k],k)),9,bR)}),128))],40,OR)])):i.createCommentVNode("",!0)}}}),fw=X(vR,[["__scopeId","data-v-4a4d4695"]]),wR={key:0,class:"preferred-security-scheme"},kR={key:1,class:"security-scheme-empty-state"},SR=i.defineComponent({__name:"RequestAuthentication",setup(r){const e=i.ref(null);W1.on(()=>{if(!e.value)return;e.value.scrollIntoView({behavior:"smooth",block:"center"})});const{authentication:t,setAuthentication:n}=Dn(),o=s=>{n({customSecurity:!0,preferredSecurityScheme:s,securitySchemes:{apiKey:{type:"apiKey",name:"apiKey",in:"header"},httpBasic:{type:"http",scheme:"basic"},httpBearer:{type:"http",scheme:"bearer"}}})};return(s,a)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"requestAuthenticationRef",ref:e},[i.createVNode(i.unref(an),{title:"Authentication"},{options:i.withCtx(()=>[i.createVNode(fw,{value:i.unref(t).securitySchemes},null,8,["value"])]),default:i.withCtx(()=>{var l;return[i.unref(t).preferredSecurityScheme?(i.openBlock(),i.createElementBlock("div",wR,[i.createVNode(hw,{value:(l=i.unref(t).securitySchemes)==null?void 0:l[i.unref(t).preferredSecurityScheme]},null,8,["value"])])):i.createCommentVNode("",!0),i.unref(t).securitySchemes?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",kR,[i.createElementVNode("div",{class:"scalar-api-client-add",variant:"outlined",onClick:a[0]||(a[0]=c=>o("apiKey"))}," ApiKey "),i.createElementVNode("div",{class:"scalar-api-client-add",variant:"outlined",onClick:a[1]||(a[1]=c=>o("httpBasic"))}," Basic "),i.createElementVNode("div",{class:"scalar-api-client-add",variant:"outlined",onClick:a[2]||(a[2]=c=>o("httpBearer"))}," Bearer ")]))]}),_:1})],512))}}),$R=X(SR,[["__scopeId","data-v-b8475d60"]]),PR={class:"table-row"},xR={class:"table-row-item"},_R={class:"table-row-item"},CR={key:0,class:"table-row-item"},TR={class:"table-row-meta"},QR=i.defineComponent({__name:"GridRow",props:{showDescription:{type:Boolean}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("div",PR,[i.createElementVNode("div",xR,[i.renderSlot(e.$slots,"key",{},void 0,!0)]),i.createElementVNode("div",_R,[i.renderSlot(e.$slots,"value",{},void 0,!0)]),e.showDescription?(i.openBlock(),i.createElementBlock("div",CR,[i.renderSlot(e.$slots,"description",{},void 0,!0)])):i.createCommentVNode("",!0),i.createElementVNode("div",TR,[i.renderSlot(e.$slots,"meta",{},void 0,!0)])]))}}),vp=X(QR,[["__scopeId","data-v-65b233b7"]]),hd=r=>(i.pushScopeId("data-v-1678900e"),r=r(),i.popScopeId(),r),ER=hd(()=>i.createElementVNode("label",{class:"table-column-header"},"Key",-1)),AR=hd(()=>i.createElementVNode("label",{class:"table-column-header"},"Value",-1)),NR=hd(()=>i.createElementVNode("label",{class:"table-column-header"},"Description",-1)),RR=hd(()=>i.createElementVNode("svg",{fill:"currentColor",height:"12",viewBox:"0 0 18 12",width:"18",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"M0 12h12v-2H0v2zM0 0v2h18V0H0zm0 7h18V5H0v2z","fill-rule":"nonzero"})],-1)),VR=i.defineComponent({__name:"GridHeader",props:{showDescription:{type:Boolean}},emits:["update:showDescription"],setup(r){return(e,t)=>(i.openBlock(),i.createBlock(vp,{showDescription:e.showDescription},{key:i.withCtx(()=>[ER]),value:i.withCtx(()=>[AR]),description:i.withCtx(()=>[NR]),meta:i.withCtx(()=>[i.createVNode(i.unref(ef),{class:"table-description-toggle",variant:"text",onClick:t[0]||(t[0]=n=>e.$emit("update:showDescription",!e.showDescription))},{default:i.withCtx(()=>[RR]),_:1})]),_:1},8,["showDescription"]))}}),BR=X(VR,[["__scopeId","data-v-1678900e"]]),pw=r=>(i.pushScopeId("data-v-017a5949"),r=r(),i.popScopeId(),r),ZR={class:"meta-check"},IR=pw(()=>i.createElementVNode("span",{class:"meta-checkmark"},null,-1)),jR=pw(()=>i.createElementVNode("svg",{fill:"none",height:"10",viewBox:"-0.5 -0.5 10 10",width:"10",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"m8.55 0.45 -8.1 8.1",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"}),i.createElementVNode("path",{d:"m0.45 0.45 8.1 8.1",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"})],-1)),DR=[jR],MR=i.defineComponent({__name:"GridRowEditable",props:{name:{},description:{},value:{},required:{type:Boolean},enabled:{type:Boolean}},emits:["update:name","update:value","update:description","update:enabled","delete"],setup(r,{emit:e}){const t=r,n=e,o=i.computed({get:()=>t.name,set:c=>{n("update:enabled",!0),n("update:name",c)}}),s=i.computed({get:()=>`${t.value}`,set:c=>{n("update:enabled",!0),n("update:value",c)}}),a=i.computed({get:()=>t.description??"",set:c=>n("update:description",c)}),l=i.computed({get:()=>t.enabled,set:c=>n("update:enabled",c)});return(c,d)=>(i.openBlock(),i.createBlock(vp,{class:i.normalizeClass(["table-row-editable",{"required-parameter":c.required}])},{key:i.withCtx(()=>[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>o.value=u),placeholder:"Key"},null,512),[[i.vModelText,o.value]])]),value:i.withCtx(()=>[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":d[1]||(d[1]=u=>s.value=u),placeholder:"Value"},null,512),[[i.vModelText,s.value]])]),description:i.withCtx(()=>[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":d[2]||(d[2]=u=>a.value=u),placeholder:"Description"},null,512),[[i.vModelText,a.value]])]),meta:i.withCtx(()=>[i.createElementVNode("label",ZR,[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":d[3]||(d[3]=u=>l.value=u),type:"checkbox"},null,512),[[i.vModelCheckbox,l.value]]),IR]),c.required?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("button",{key:0,class:"meta-delete",type:"button",onClick:d[4]||(d[4]=u=>c.$emit("delete"))},DR))]),_:1},8,["class"]))}}),qR=X(MR,[["__scopeId","data-v-017a5949"]]),XR=r=>(i.pushScopeId("data-v-10bffad5"),r=r(),i.popScopeId(),r),WR=["value"],zR=["value"],UR=XR(()=>i.createElementVNode("input",{disabled:"",value:"Read-only"},null,-1)),LR=i.defineComponent({__name:"GridRowGenerated",props:{item:{}},setup(r){return(e,t)=>(i.openBlock(),i.createBlock(vp,{class:"table-row-generated"},{key:i.withCtx(()=>[i.createElementVNode("input",{disabled:"",placeholder:"key",value:e.item.name},null,8,WR)]),value:i.withCtx(()=>[i.createElementVNode("input",{disabled:"",placeholder:"value",type:"password",value:e.item.value},null,8,zR)]),description:i.withCtx(()=>[UR]),_:1}))}}),YR=X(LR,[["__scopeId","data-v-10bffad5"]]),FR={class:"table"},HR={class:"meta-actions"},GR={class:"meta-actions-item-icon"},KR={class:"meta-actions-item-icon"},JR=i.defineComponent({__name:"Grid",props:{items:{},generatedItems:{},addLabel:{},showMoreFilter:{type:Boolean}},emits:["deleteIndex","addAnother"],setup(r,{emit:e}){const t=e,n=i.ref(!1),o=i.ref(!1);function s(){t("addAnother"),o.value=!0}return(a,l)=>(i.openBlock(),i.createElementBlock("div",FR,[i.createVNode(BR,{showDescription:n.value,"onUpdate:showDescription":l[0]||(l[0]=c=>n.value=c)},null,8,["showDescription"]),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.generatedItems,c=>(i.openBlock(),i.createBlock(YR,{key:c.name,item:c,showDescription:n.value,onClick:l[1]||(l[1]=d=>i.unref(W1).emit())},null,8,["item","showDescription"]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.items,(c,d)=>i.withDirectives((i.openBlock(),i.createBlock(qR,{key:d,description:c.description,"onUpdate:description":u=>c.description=u,enabled:c.enabled,"onUpdate:enabled":u=>c.enabled=u,name:c.name,"onUpdate:name":u=>c.name=u,value:c.value,"onUpdate:value":u=>c.value=u,required:c.required,showDescription:n.value,onDelete:u=>a.$emit("deleteIndex",d)},null,8,["description","onUpdate:description","enabled","onUpdate:enabled","name","onUpdate:name","value","onUpdate:value","required","showDescription","onDelete"])),[[i.vShow,!a.showMoreFilter||a.showMoreFilter&&d<5||o.value]])),128)),i.createElementVNode("div",HR,[a.addLabel?(i.openBlock(),i.createElementBlock("button",{key:0,class:"meta-actions-item",type:"button",onClick:s},[i.createElementVNode("i",GR,[i.createVNode(i.unref(Me),{icon:"Add"})]),i.createTextVNode(" "+i.toDisplayString(a.addLabel),1)])):i.createCommentVNode("",!0),a.showMoreFilter&&a.items&&a.items.length>5&&!o.value?(i.openBlock(),i.createElementBlock("button",{key:1,class:"meta-actions-item",type:"button",onClick:l[2]||(l[2]=c=>o.value=!0)},[i.createTextVNode(" Show More "),i.createElementVNode("i",KR,[i.createVNode(i.unref(Me),{icon:"ChevronDown"})])])):i.createCommentVNode("",!0)])]))}}),Ca=X(JR,[["__scopeId","data-v-7b4a39aa"]]),eV={class:"navtable simpletable"},tV={class:"navtable-table"},rV=i.createStaticVNode('<div class="navtable-item navtable-item__top" data-v-af627a74><div class="navtable-item-33" data-v-af627a74><label for="" data-v-af627a74>Name</label></div><div class="navtable-item-66" data-v-af627a74><label for="" data-v-af627a74>Value</label></div></div>',1),nV={class:"navtable-item-33"},oV={class:"navtable-item-66"},sV=i.defineComponent({__name:"SimpleGrid",props:{items:{}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("div",eV,[i.createElementVNode("div",tV,[rV,(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.items,n=>(i.openBlock(),i.createElementBlock("div",{key:n.id,class:"navtable-item"},[i.createElementVNode("div",nV,[i.createElementVNode("p",null,i.toDisplayString(n.name),1)]),i.createElementVNode("div",oV,[i.createElementVNode("p",null,i.toDisplayString(n.value),1)])]))),128))])]))}}),iV=X(sV,[["__scopeId","data-v-af627a74"]]),aV={key:0},lV=i.defineComponent({__name:"RequestBody",props:{body:{},formData:{}},setup(r){const{activeRequest:e,setActiveRequest:t}=er(),n=o=>{e.body!==o&&t({...e,body:o})};return(o,s)=>(i.openBlock(),i.createBlock(i.unref(an),{title:"Body"},{default:i.withCtx(()=>[o.body&&o.body.length===0&&o.formData&&o.formData.length===0?(i.openBlock(),i.createElementBlock("span",aV,"No Body")):o.formData&&o.formData.length>0?(i.openBlock(),i.createBlock(i.unref(Ca),{key:1,items:o.formData},null,8,["items"])):(i.openBlock(),i.createBlock(i.unref(I1),{key:2,content:i.unref(e).body,language:"json",lineNumbers:"",onChange:n},null,8,["content"]))]),_:1}))}}),cV={key:0,class:"scalar-api-client__empty-state"},dV=i.createElementVNode("svg",{class:"flow-icon","data-v-aa4fbd2d":"",height:"100%",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"M24 1.714v44.572M1.714 24h44.572",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3.429",xmlns:"http://www.w3.org/2000/svg"})],-1),uV=i.defineComponent({__name:"RequestCookies",props:{cookies:{},generatedCookies:{}},setup(r){const e=r,{activeRequest:t}=er();function n(a){var l;(l=t.cookies)==null||l.splice(a,1)}function o(){var a;t.cookies===void 0&&(t.cookies=[]),(a=t.cookies)==null||a.push({name:"",value:"",enabled:!0})}const s=i.computed(()=>{var a,l;return!!((a=e.cookies)!=null&&a.length||(l=e.generatedCookies)!=null&&l.length)});return(a,l)=>(i.openBlock(),i.createBlock(i.unref(an),{defaultOpen:s.value,title:"Cookies"},{default:i.withCtx(()=>[s.value?(i.openBlock(),i.createBlock(i.unref(Ca),{key:1,addLabel:"Cookie",generatedItems:a.generatedCookies,items:a.cookies,onAddAnother:o,onDeleteIndex:n},null,8,["generatedItems","items"])):(i.openBlock(),i.createElementBlock("div",cV,[i.createElementVNode("button",{class:"scalar-api-client-add",type:"button",onClick:o},[dV,i.createTextVNode(" Cookies ")])]))]),_:1},8,["defaultOpen"]))}}),hV={key:0,class:"scalar-api-client__empty-state"},fV=i.createElementVNode("svg",{class:"flow-icon","data-v-aa4fbd2d":"",height:"100%",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"M24 1.714v44.572M1.714 24h44.572",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3.429",xmlns:"http://www.w3.org/2000/svg"})],-1),pV=i.defineComponent({__name:"RequestHeaders",props:{headers:{},generatedHeaders:{}},setup(r){const e=r,{activeRequest:t}=er();function n(a){var l;(l=t.headers)==null||l.splice(a,1)}function o(){var a;t.headers===void 0&&(t.headers=[]),(a=t.headers)==null||a.push({name:"",value:"",enabled:!0})}const s=i.computed(()=>{var a,l;return!!((a=e.headers)!=null&&a.length||(l=e.generatedHeaders)!=null&&l.length)});return(a,l)=>(i.openBlock(),i.createBlock(i.unref(an),{defaultOpen:s.value,title:"Headers"},{default:i.withCtx(()=>[s.value?(i.openBlock(),i.createBlock(i.unref(Ca),{key:1,addLabel:"Header",generatedItems:a.generatedHeaders,items:a.headers,onAddAnother:o,onDeleteIndex:n},null,8,["generatedItems","items"])):(i.openBlock(),i.createElementBlock("div",hV,[i.createElementVNode("button",{class:"scalar-api-client-add",type:"button",onClick:o},[fV,i.createTextVNode(" Headers ")])]))]),_:1},8,["defaultOpen"]))}}),mV={key:0,class:"scalar-api-client__empty-state"},gV=i.createElementVNode("svg",{class:"flow-icon","data-v-aa4fbd2d":"",height:"100%",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"M24 1.714v44.572M1.714 24h44.572",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3.429",xmlns:"http://www.w3.org/2000/svg"})],-1),OV=i.defineComponent({__name:"RequestQuery",props:{queries:{},generatedQueries:{}},setup(r){const e=r,{activeRequest:t}=er();function n(a){var l;(l=t.query)==null||l.splice(a,1)}function o(){var a;t.query===void 0&&(t.query=[]),(a=t.query)==null||a.push({name:"",value:"",enabled:!0})}const s=i.computed(()=>{var a,l;return!!((a=e.queries)!=null&&a.length||(l=e.generatedQueries)!=null&&l.length)});return(a,l)=>(i.openBlock(),i.createBlock(i.unref(an),{defaultOpen:s.value,title:"Query Parameters"},{default:i.withCtx(()=>[s.value?(i.openBlock(),i.createBlock(i.unref(Ca),{key:1,addLabel:"Query Parameter",generatedItems:a.generatedQueries,items:a.queries,showMoreFilter:!0,onAddAnother:o,onDeleteIndex:n},null,8,["generatedItems","items"])):(i.openBlock(),i.createElementBlock("div",mV,[i.createElementVNode("button",{class:"scalar-api-client-add",type:"button",onClick:o},[gV,i.createTextVNode(" Query Parameter ")])]))]),_:1},8,["defaultOpen"]))}}),yV={key:0,class:"scalar-api-client__empty-state"},bV=i.createElementVNode("svg",{class:"flow-icon","data-v-aa4fbd2d":"",height:"100%",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"M24 1.714v44.572M1.714 24h44.572",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3.429",xmlns:"http://www.w3.org/2000/svg"})],-1),vV=i.defineComponent({__name:"RequestVariables",props:{variables:{}},setup(r){const{activeRequest:e}=er();function t(o){var s;(s=e.variables)==null||s.splice(o,1)}function n(){var o;e.variables===void 0&&(e.variables=[]),(o=e.variables)==null||o.push({name:"",value:"",enabled:!0})}return(o,s)=>(i.openBlock(),i.createBlock(i.unref(an),{defaultOpen:i.unref(e).variables&&i.unref(e).variables.length>0,title:"Variables"},{default:i.withCtx(()=>[!o.variables||o.variables.length===0?(i.openBlock(),i.createElementBlock("div",yV,[i.createElementVNode("button",{class:"scalar-api-client-add",type:"button",onClick:n},[bV,i.createTextVNode(" Variable ")])])):(i.openBlock(),i.createBlock(i.unref(Ca),{key:1,addLabel:"Variable",items:o.variables,showMoreFilter:!0,onAddAnother:n,onDeleteIndex:t},null,8,["items"]))]),_:1},8,["defaultOpen"]))}}),wV={class:"scalar-api-client__main__left custom-scroll"},kV={class:"scalar-api-client__main__content"},SV=i.createElementVNode("label",null,"Request",-1),$V={class:"meta"},PV={class:"meta-item meta-item__input"},xV=i.createElementVNode("div",{class:"scalar-api-client__main__scroll-container"},null,-1),_V=!0,x0=i.defineComponent({__name:"Request",setup(r){const{activeRequest:e}=er(),{authentication:t}=Dn(),{openApi:{operation:n,globalSecurity:o}}=Hc(),s=i.computed(()=>{var a;return sd(t,((a=n==null?void 0:n.information)==null?void 0:a.security)??o)});return(a,l)=>(i.openBlock(),i.createElementBlock("div",wV,[i.createElementVNode("div",kV,[SV,i.createElementVNode("div",$V,[i.createElementVNode("div",PV,[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=c=>i.unref(e).name=c),class:"scalar-api-client__request-name",disabled:_V,placeholder:"Request Name",type:"text"},null,512),[[i.vModelText,i.unref(e).name]])])])]),i.createElementVNode("div",null,[i.createVNode(vV,{variables:i.unref(e).variables},null,8,["variables"]),i.createVNode(i.unref($R)),i.createVNode(uV,{cookies:i.unref(e).cookies,generatedCookies:s.value.cookies},null,8,["cookies","generatedCookies"]),i.createVNode(pV,{generatedHeaders:s.value.headers,headers:i.unref(e).headers},null,8,["generatedHeaders","headers"]),i.createVNode(OV,{generatedQueries:s.value.queryString,queries:i.unref(e).query},null,8,["generatedQueries","queries"]),i.createVNode(lV,{body:i.unref(e).body,formData:i.unref(e).formData,requestBody:i.unref(e).body},null,8,["body","formData","requestBody"]),xV])]))}});var wp={};/*!
82
+ `),O.hasAttribute("data-start")||O.setAttribute("data-start",String(T+1))}y.textContent=w,t.highlightElement(y)},function(w){O.setAttribute(l,u),y.textContent=w})}}),t.plugins.fileHighlight={highlight:function(O){for(var y=(O||document).querySelectorAll(h),b=0,v;v=y[b++];)t.highlightElement(v)}};var m=!1;t.fileHighlight=function(){m||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),m=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(cw);var xN=cw.exports;const vi=PN(xN),Jh="scalar-component",_N=$N({extend:{classGroups:{[Jh]:[Jh]}}}),{cva:bp,cx:Eo,compose:QU}=zA({hooks:{onComplete:r=>`${_N(r,Jh)}`}}),CN=i.createStaticVNode('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-47faceda></path>',5),TN={key:0,class:"circular-loader"},QN=i.defineComponent({__name:"ScalarLoading",props:{loadingState:{},size:{default:"24px"}},setup(r){return i.useCssVars(e=>({d6cae758:e.size})),(e,t)=>e.loadingState?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(i.unref(Eo)("loader-wrapper"))},[(i.openBlock(),i.createElementBlock("svg",{class:i.normalizeClass(["svg-loader",{"icon-is-valid":e.loadingState.isValid,"icon-is-invalid":e.loadingState.isInvalid}]),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[CN,e.loadingState.isLoading?(i.openBlock(),i.createElementBlock("g",TN,[i.createElementVNode("circle",{class:i.normalizeClass(["loader-path",{"loader-path-off":e.loadingState.isValid||e.loadingState.isInvalid}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"2"},null,2)])):i.createCommentVNode("",!0)],2))],2)):i.createCommentVNode("",!0)}}),EN=(r,e)=>{const t=r.__vccOpts||r;for(const[n,o]of e)t[n]=o;return t},dw=EN(QN,[["__scopeId","data-v-47faceda"]]),uw={solid:["scalar-button-solid","bg-back-btn-1 text-fore-btn-1 shadow-sm active:bg-back-btn-1 active:shadow-none hocus:bg-hover-btn-1"],outlined:["scalar-button-outlined","active:bg-btn-1 border border-solid border-border bg-transparent text-fore-1 hocus:bg-border"],ghost:["scalar-button-ghost","bg-transparent text-fore-3 active:text-fore-2 hocus:text-fore-2"],danger:["scalar-button-danger","bg-error text-white active:brightness-90 hocus:brightness-90"]},AN=bp({base:"scalar-button row cursor-pointer items-center justify-center rounded font-medium",variants:{disabled:{true:"bg-background-2 text-color-3 cursor-not-allowed shadow-none"},fullWidth:{true:"w-full"},size:{md:"h-10 px-6 text-sm"},variant:uw},compoundVariants:[{disabled:!0,variant:"ghost",class:"bg-transparent text-ghost"}]}),NN=["ariaDisabled"],RN={key:0,class:"mr-2 h-4 w-4"},VN={key:1,class:"ml-2"},ef=i.defineComponent({inheritAttrs:!1,__name:"ScalarButton",props:{disabled:{type:Boolean},fullWidth:{type:Boolean,default:!1},loading:{},size:{default:"md"},variant:{default:"solid"}},setup(r){const e=i.computed(()=>{const{class:t,...n}=i.useAttrs();return{className:t||"",rest:n}});return(t,n)=>(i.openBlock(),i.createElementBlock("button",i.mergeProps(e.value.rest,{ariaDisabled:t.disabled||void 0,class:i.unref(Eo)(i.unref(AN)({fullWidth:t.fullWidth,disabled:t.disabled,size:t.size,variant:t.variant}),{"pl-9 pr-3":t.loading},`${e.value.className}`),type:"button"}),[t.$slots.icon?(i.openBlock(),i.createElementBlock("div",RN,[i.renderSlot(t.$slots,"icon")])):i.createCommentVNode("",!0),i.renderSlot(t.$slots,"default"),t.loading?(i.openBlock(),i.createElementBlock("div",VN,[i.createVNode(i.unref(dw),{loadingState:t.loading,size:"20px"},null,8,["loadingState"])])):i.createCommentVNode("",!0)],16,NN))}});(function(r){var e="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",t={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:t,environment:{pattern:RegExp("\\$"+e),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};r.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:t}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},t.inside=r.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=n.variable[1].inside,a=0;a<o.length;a++)s[o[a]]=r.languages.bash[o[a]];r.languages.sh=r.languages.bash,r.languages.shell=r.languages.bash})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;(function(){if(typeof Prism>"u"||typeof document>"u")return;var r="line-numbers",e=/\n(?!$)/g,t=Prism.plugins.lineNumbers={getLine:function(a,l){if(!(a.tagName!=="PRE"||!a.classList.contains(r))){var c=a.querySelector(".line-numbers-rows");if(c){var d=parseInt(a.getAttribute("data-start"),10)||1,u=d+(c.children.length-1);l<d&&(l=d),l>u&&(l=u);var h=l-d;return c.children[h]}}},resize:function(a){n([a])},assumeViewportIndependence:!0};function n(a){if(a=a.filter(function(c){var d=o(c),u=d["white-space"];return u==="pre-wrap"||u==="pre-line"}),a.length!=0){var l=a.map(function(c){var d=c.querySelector("code"),u=c.querySelector(".line-numbers-rows");if(!(!d||!u)){var h=c.querySelector(".line-numbers-sizer"),f=d.textContent.split(e);h||(h=document.createElement("span"),h.className="line-numbers-sizer",d.appendChild(h)),h.innerHTML="0",h.style.display="block";var p=h.getBoundingClientRect().height;return h.innerHTML="",{element:c,lines:f,lineHeights:[],oneLinerHeight:p,sizer:h}}}).filter(Boolean);l.forEach(function(c){var d=c.sizer,u=c.lines,h=c.lineHeights,f=c.oneLinerHeight;h[u.length-1]=void 0,u.forEach(function(p,m){if(p&&p.length>1){var g=d.appendChild(document.createElement("span"));g.style.display="block",g.textContent=p}else h[m]=f})}),l.forEach(function(c){for(var d=c.sizer,u=c.lineHeights,h=0,f=0;f<u.length;f++)u[f]===void 0&&(u[f]=d.children[h++].getBoundingClientRect().height)}),l.forEach(function(c){var d=c.sizer,u=c.element.querySelector(".line-numbers-rows");d.style.display="none",d.innerHTML="",c.lineHeights.forEach(function(h,f){u.children[f].style.height=h+"px"})})}}function o(a){return a?window.getComputedStyle?getComputedStyle(a):a.currentStyle||null:null}var s=void 0;window.addEventListener("resize",function(){t.assumeViewportIndependence&&s===window.innerWidth||(s=window.innerWidth,n(Array.prototype.slice.call(document.querySelectorAll("pre."+r))))}),Prism.hooks.add("complete",function(a){if(a.code){var l=a.element,c=l.parentNode;if(!(!c||!/pre/i.test(c.nodeName))&&!l.querySelector(".line-numbers-rows")&&Prism.util.isActive(l,r)){l.classList.remove(r),c.classList.add(r);var d=a.code.match(e),u=d?d.length+1:1,h,f=new Array(u+1).join("<span></span>");h=document.createElement("span"),h.setAttribute("aria-hidden","true"),h.className="line-numbers-rows",h.innerHTML=f,c.hasAttribute("data-start")&&(c.style.counterReset="linenumber "+(parseInt(c.getAttribute("data-start"),10)-1)),a.element.appendChild(h),n([c]),Prism.hooks.run("line-numbers",a)}}}),Prism.hooks.add("line-numbers",function(a){a.plugins=a.plugins||{},a.plugins.lineNumbers=!0})})();function BN(r){const e=new Set;return JSON.stringify(r,(t,n)=>{if(typeof n=="object"&&n!==null){if(e.has(n))return"[Circular]";e.add(n)}return n},2)}function bl(r){if(typeof r=="string")return r;if(typeof r=="object")try{return JSON.stringify(r,null,2)}catch{return BN(r)}return r}const ZN=["innerHTML"],Ur=i.defineComponent({__name:"ScalarCodeBlock",props:{content:{},lang:{default:"js"},lineNumbers:{type:Boolean,default:!1},hideCredentials:{}},setup(r){const e=r,t=Qf(bl(e.content)),n=`components-scalar-code-block${t}`,{plugins:o,highlightElement:s}=vi;e.hideCredentials&&vi.hooks.add("wrap",function(h){if(!e.hideCredentials)return;let f=!1;typeof e.hideCredentials=="string"?h.content.includes(e.hideCredentials)&&(f=!0):Array.isArray(e.hideCredentials)&&(f=e.hideCredentials.some(p=>h.content.includes(p))),f&&(h.content=h.content.replace(/<span class="credentials">.*?<\/span>/g,p=>p.replace(/<span class="credentials">|<\/span>/g,"")),h.content=h.content.replace(new RegExp(typeof e.hideCredentials=="string"?e.hideCredentials:e.hideCredentials.join("|"),"g"),p=>`<span class="credentials">${p}</span>`))});const a=i.ref(null),l=i.ref(Ns[n]??""),c=i.computed(()=>e.lang==="node"?"js":e.lang),d=e.lang;i.watch([()=>e.lang,()=>e.content,a],()=>{a.value&&e.content&&(!l.value||e.lang!==d)&&(l.value="",i.nextTick(()=>s(a.value)))},{immediate:!0});const u=/\n(?!$)/g;return i.onServerPrefetch(async()=>{let h="";e.lineNumbers&&vi.hooks.add("after-tokenize",p=>{const m=p.code.match(u),g=m?m.length+1:1;h=`<span aria-hidden="true" class="line-numbers-rows">${new Array(g+1).join("<span></span>")}</span>`});const f=vi.highlight(bl(e.content),vi.languages[c.value],c.value);if(l.value=f+h,t!==0){const p=i.useSSRContext();p.payload.data[n]=f+h}}),i.onMounted(async()=>{await Promise.resolve().then(()=>require("./prism-autoloader-Dlh8Vzlw--ejn04HW.cjs")),o.autoloader.languages_path="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/"}),(h,f)=>(i.openBlock(),i.createElementBlock("pre",{class:i.normalizeClass([`scalar-component scalar-codeblock-pre language-${c.value}`,{"line-numbers":h.lineNumbers}])},[l.value?(i.openBlock(),i.createElementBlock("code",{key:0,class:i.normalizeClass(`scalar-codeblock-code language-${c.value}`),innerHTML:i.unref(bl)(l.value)},null,10,ZN)):(i.openBlock(),i.createElementBlock("code",{key:1,ref_key:"el",ref:a,class:i.normalizeClass(`scalar-codeblock-code language-${c.value}`)},i.toDisplayString(i.unref(bl)(h.content)),3))],2))}}),$0=Object.assign({"./Add.svg":()=>Promise.resolve().then(()=>require("./Add-ngyZgYXx-CWPoroGU.cjs")),"./Brackets.svg":()=>Promise.resolve().then(()=>require("./Brackets-4I8OKomf-C2VxZ6iW.cjs")),"./Branch.svg":()=>Promise.resolve().then(()=>require("./Branch-CXwj8YuG-xolS1YAY.cjs")),"./Checkmark.svg":()=>Promise.resolve().then(()=>require("./Checkmark-De7nq6cG-tp1nTP9w.cjs")),"./ChevronDown.svg":()=>Promise.resolve().then(()=>require("./ChevronDown-Co7EAKAv-BMVIms1W.cjs")),"./ChevronLeft.svg":()=>Promise.resolve().then(()=>require("./ChevronLeft-DYt0idAu-DgJ680do.cjs")),"./ChevronRight.svg":()=>Promise.resolve().then(()=>require("./ChevronRight-ylxToVWl-BVcmudpo.cjs")),"./ChevronUp.svg":()=>Promise.resolve().then(()=>require("./ChevronUp-xAnukIfj-BRXM2fAN.cjs")),"./Clipboard.svg":()=>Promise.resolve().then(()=>require("./Clipboard-CU_KxGEv-jXeM-Shn.cjs")),"./Close.svg":()=>Promise.resolve().then(()=>require("./Close-CW3z42qZ-CAmO5dZ5.cjs")),"./CodeFolder.svg":()=>Promise.resolve().then(()=>require("./CodeFolder-Cv_igzJE-Dl4HVTRL.cjs")),"./Cookie.svg":()=>Promise.resolve().then(()=>require("./Cookie-CEHvXpqB-BCUOR3DZ.cjs")),"./DarkMode.svg":()=>Promise.resolve().then(()=>require("./DarkMode-CBsV8Q_I-KODSbuOz.cjs")),"./DocsPage.svg":()=>Promise.resolve().then(()=>require("./DocsPage-rh2xwxKN-EMPYZ-u6.cjs")),"./Ellipses.svg":()=>Promise.resolve().then(()=>require("./Ellipses-Bo_X36Hx-1Rf8jX_Q.cjs")),"./ExternalLink.svg":()=>Promise.resolve().then(()=>require("./ExternalLink-DK8L-EH7-BZtIWcdg.cjs")),"./GitHub.svg":()=>Promise.resolve().then(()=>require("./GitHub-NdE6Zs9k-CDcqenD_.cjs")),"./JsonObject.svg":()=>Promise.resolve().then(()=>require("./JsonObject-hGdHUQ4M-DEiEsxEM.cjs")),"./LightDarkModeToggle.svg":()=>Promise.resolve().then(()=>require("./LightDarkModeToggle-BkvMimDa-D2TvUWMc.cjs")),"./LightMode.svg":()=>Promise.resolve().then(()=>require("./LightMode-Btz6vyT_-BTswDMO7.cjs")),"./Logo.svg":()=>Promise.resolve().then(()=>require("./Logo-mtzeKD8M-BPvZdgPX.cjs")),"./LogoAPI.svg":()=>Promise.resolve().then(()=>require("./LogoAPI-CaU5E6FK-H9aWX-Pj.cjs")),"./LogoClient.svg":()=>Promise.resolve().then(()=>require("./LogoClient-DdC-t_7P-CN0J-Vs6.cjs")),"./LogoMarket.svg":()=>Promise.resolve().then(()=>require("./LogoMarket-DwlApcab-C3B4miZm.cjs")),"./LogoSwagger.svg":()=>Promise.resolve().then(()=>require("./LogoSwagger-CH60H5qW-56_9U30I.cjs")),"./Menu.svg":()=>Promise.resolve().then(()=>require("./Menu-CFK5cOsm-B_mqCQj6.cjs")),"./PaperAirplane.svg":()=>Promise.resolve().then(()=>require("./PaperAirplane-BC-4mGEB-CUmTyNIM.cjs")),"./Search.svg":()=>Promise.resolve().then(()=>require("./Search-DqtlswRG-Cn8bmF-2.cjs")),"./Terminal.svg":()=>Promise.resolve().then(()=>require("./Terminal-CKp--su5-B0pjt_Yz.cjs")),"./programming-framework-angular.svg":()=>Promise.resolve().then(()=>require("./programming-framework-angular-DD4Vjgbk-BVT4AoJo.cjs")),"./programming-framework-astro.svg":()=>Promise.resolve().then(()=>require("./programming-framework-astro-CLfrRt19-CWwhfV7_.cjs")),"./programming-framework-laravel.svg":()=>Promise.resolve().then(()=>require("./programming-framework-laravel-kAy2wVLy-C3EZCsGC.cjs")),"./programming-framework-nextdotjs.svg":()=>Promise.resolve().then(()=>require("./programming-framework-nextdotjs-BKdd_DY_-DdOe6YSk.cjs")),"./programming-framework-react.svg":()=>Promise.resolve().then(()=>require("./programming-framework-react-PDgmtZuN-4I-M6WEO.cjs")),"./programming-framework-vuedotjs.svg":()=>Promise.resolve().then(()=>require("./programming-framework-vuedotjs-Cv46W2aB-CSjgwP_a.cjs")),"./programming-language-c.svg":()=>Promise.resolve().then(()=>require("./programming-language-c-hPGu2Zvg-DS__u0q2.cjs")),"./programming-language-clojure.svg":()=>Promise.resolve().then(()=>require("./programming-language-clojure-Cvmzky8x-DNGq1StI.cjs")),"./programming-language-csharp.svg":()=>Promise.resolve().then(()=>require("./programming-language-csharp-lqX1oWgb-CxB0WO6j.cjs")),"./programming-language-css3.svg":()=>Promise.resolve().then(()=>require("./programming-language-css3-Dpp4Cr6b-BpPnE1ET.cjs")),"./programming-language-go.svg":()=>Promise.resolve().then(()=>require("./programming-language-go-DoJxWwT6-Cglob461.cjs")),"./programming-language-html5.svg":()=>Promise.resolve().then(()=>require("./programming-language-html5-DlqJK4EL-DFJ6lim3.cjs")),"./programming-language-http.svg":()=>Promise.resolve().then(()=>require("./programming-language-http-wMYwFS1I-CibNNxob.cjs")),"./programming-language-java.svg":()=>Promise.resolve().then(()=>require("./programming-language-java-BCxG2T_w-CK_n5AN7.cjs")),"./programming-language-javascript.svg":()=>Promise.resolve().then(()=>require("./programming-language-javascript-VxLvi1QG-CaGGjM9H.cjs")),"./programming-language-json.svg":()=>Promise.resolve().then(()=>require("./programming-language-json-vEX_g7Zi-DzQJGa14.cjs")),"./programming-language-kotlin.svg":()=>Promise.resolve().then(()=>require("./programming-language-kotlin-DKV8vP9h-DlGiFCvD.cjs")),"./programming-language-node.svg":()=>Promise.resolve().then(()=>require("./programming-language-node-Xsgx38lm-4rntKdSG.cjs")),"./programming-language-objc.svg":()=>Promise.resolve().then(()=>require("./programming-language-objc-BQXSOBsX-ChHn3rog.cjs")),"./programming-language-ocaml.svg":()=>Promise.resolve().then(()=>require("./programming-language-ocaml-BEz7gGv7-pjGiVCW2.cjs")),"./programming-language-php.svg":()=>Promise.resolve().then(()=>require("./programming-language-php-GY38f8r4-ahFMWcim.cjs")),"./programming-language-powershell.svg":()=>Promise.resolve().then(()=>require("./programming-language-powershell-C9DkSp36-RwdG5MCL.cjs")),"./programming-language-python.svg":()=>Promise.resolve().then(()=>require("./programming-language-python-Ct-_kNjo-ujN06OXX.cjs")),"./programming-language-r.svg":()=>Promise.resolve().then(()=>require("./programming-language-r-BGoKwua9-DynRqt7q.cjs")),"./programming-language-ruby.svg":()=>Promise.resolve().then(()=>require("./programming-language-ruby-DhdM4d7g-DFwAUdk6.cjs")),"./programming-language-scala.svg":()=>Promise.resolve().then(()=>require("./programming-language-scala-BVg0dToJ-Dhg_XTFe.cjs")),"./programming-language-shell.svg":()=>Promise.resolve().then(()=>require("./programming-language-shell-BsTa1xI7-CEpfIQQF.cjs")),"./programming-language-swift.svg":()=>Promise.resolve().then(()=>require("./programming-language-swift-Dn72xPjg-DtICVxss.cjs")),"./programming-language-typescript.svg":()=>Promise.resolve().then(()=>require("./programming-language-typescript-CdF-HuRi-jq2P_J1a.cjs")),"./programming-script-code.svg":()=>Promise.resolve().then(()=>require("./programming-script-code-DQN1veb2-DWnN18iL.cjs")),"./programming-tool-git.svg":()=>Promise.resolve().then(()=>require("./programming-tool-git-DDnQ1zGD-Bi0r1H3m.cjs")),"./programming-tool-tailwindcss.svg":()=>Promise.resolve().then(()=>require("./programming-tool-tailwindcss-xjXi0E6g-CpFF5bAj.cjs"))}),P0=r=>{const e=`./${r}.svg`;return $0[e]?i.defineAsyncComponent($0[e]):(console.warn(`Could not find icon: ${r}`),null)},IN=["src"],Me=i.defineComponent({__name:"ScalarIcon",props:{icon:{},size:{}},setup(r){const e=r,t=bp({variants:{size:{xs:"h-3 w-3 stroke-[1.4]",sm:"h-3.5 w-3.5 stroke-[1.2]",md:"h-4 w-4 stroke-[1.1]",lg:"h-5 w-5",xl:"h-6 w-6 stroke-[0.96]","2xl":"h-8 w-8 stroke-[0.92]","3xl":"h-10 w-10 stroke-[0.9]",full:"h-full w-full"}},defaultVariants:{size:"full"}}),n=P0(e.icon);return(o,s)=>i.unref(n)?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(i.unref(P0)(o.icon)),{key:0,class:i.normalizeClass(i.unref(Eo)("scalar-icon",i.unref(t)({size:o.size})))},null,8,["class"])):(i.openBlock(),i.createElementBlock("img",{key:1,src:o.icon},null,8,IN))}}),jN=["ariaDisabled"],DN={class:"sr-only"},ud=i.defineComponent({__name:"ScalarIconButton",props:{label:{},icon:{},disabled:{type:Boolean},variant:{default:"ghost"},size:{default:"md"}},setup(r){const e=bp({base:"scalar-icon-button grid aspect-square cursor-pointer rounded",variants:{size:{xs:"h-3.5 w-3.5 p-0.5",sm:"h-5 w-5 p-1",md:"h-10 w-10 p-3",full:"h-full w-full"},disabled:{true:"cursor-not-allowed shadow-none"},variant:uw}});return(t,n)=>(i.openBlock(),i.createElementBlock("button",{ariaDisabled:t.disabled||void 0,class:i.normalizeClass(i.unref(Eo)(i.unref(e)({size:t.size,variant:t.variant,disabled:t.disabled}))),type:"button"},[i.createVNode(i.unref(Me),{icon:t.icon},null,8,["icon"]),i.createElementVNode("span",DN,i.toDisplayString(t.label),1)],10,jN))}}),MN={class:"sr-only"},qN=["value"],XN=i.defineComponent({inheritAttrs:!1,__name:"ScalarSearchInput",props:{loading:{},modelValue:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=e;function n(s){t("update:modelValue",s.target.value)}const o=i.computed(()=>{const{class:s,...a}=i.useAttrs();return{className:s||"",rest:a}});return(s,a)=>(i.openBlock(),i.createElementBlock("label",i.mergeProps(o.value.rest,{class:i.unref(Eo)("flex rounded border bg-back-1 text-sm font-medium focus-within:border-fore-1",o.value.className)}),[i.createElementVNode("span",MN,[i.renderSlot(s.$slots,"label",{},()=>[i.createTextVNode("Enter search")])]),i.createElementVNode("input",{autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"flex-1 rounded bg-transparent p-3 outline-none",placeholder:"Search...",spellcheck:"false",type:"text",value:s.modelValue,onInput:n},null,40,qN),s.loading&&s.loading.isLoading?(i.openBlock(),i.createBlock(i.unref(dw),{key:0,class:"mr-3 self-center",loadingState:s.loading,size:"20px"},null,8,["loadingState"])):s.modelValue?(i.openBlock(),i.createBlock(i.unref(ud),{key:1,class:"self-center",icon:"Close",label:"Clear Search",size:"md",onClick:a[0]||(a[0]=l=>t("update:modelValue",""))})):i.createCommentVNode("",!0)],16))}}),WN={class:"flex flex-col items-center gap-2 px-3 py-4"},zN=i.createElementVNode("div",{class:"rotate-90 text-lg font-bold"},":(",-1),UN={class:"text-sm font-medium text-fore-2"},LN=i.defineComponent({inheritAttrs:!1,__name:"ScalarSearchResultList",props:{noResults:{type:Boolean}},setup(r){const e=i.computed(()=>{const{class:t,...n}=i.useAttrs();return{className:t||"",rest:n}});return(t,n)=>(i.openBlock(),i.createElementBlock("ul",i.mergeProps(e.value.rest,{class:i.unref(Eo)("flex flex-col",e.value.className)}),[t.noResults?i.renderSlot(t.$slots,"noResults",{key:0},()=>[i.createElementVNode("div",WN,[zN,i.createElementVNode("div",UN,[i.createTextVNode(" No results found "),t.$slots.query?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createTextVNode('for "'),i.renderSlot(t.$slots,"query"),i.createTextVNode('"')],64)):i.createCommentVNode("",!0)])])]):i.createCommentVNode("",!0),i.renderSlot(t.$slots,"default")],16))}}),YN={class:"contents"},FN={class:"text-fore-3 group-hover:text-fore-1"},HN={class:"flex min-w-0 flex-1 flex-col gap-0.75"},GN={class:"flex items-center gap-1"},KN={class:"flex-1 truncate text-sm font-medium"},JN={key:0,class:"text-xs text-fore-2"},eR={class:"truncate text-xs text-fore-2"},tR=i.defineComponent({inheritAttrs:!1,__name:"ScalarSearchResultItem",props:{icon:{},active:{type:Boolean}},setup(r){const e=i.computed(()=>{const{class:t,...n}=i.useAttrs();return{className:t||"",rest:n}});return(t,n)=>(i.openBlock(),i.createElementBlock("li",YN,[i.createElementVNode("a",i.mergeProps(e.value.rest,{class:i.unref(Eo)("group flex cursor-pointer gap-3 rounded px-3 py-1.5 no-underline hover:bg-back-2",{"bg-back-2":t.active},e.value.className)}),[i.createElementVNode("div",FN,[i.renderSlot(t.$slots,"icon",{},()=>[t.icon?(i.openBlock(),i.createBlock(i.unref(Me),{key:0,icon:t.icon,size:"sm"},null,8,["icon"])):i.createCommentVNode("",!0)])]),i.createElementVNode("div",HN,[i.createElementVNode("div",GN,[i.createElementVNode("div",KN,[i.renderSlot(t.$slots,"default")]),t.$slots.addon?(i.openBlock(),i.createElementBlock("div",JN,[i.renderSlot(t.$slots,"addon")])):i.createCommentVNode("",!0)]),i.createElementVNode("div",eR,[i.renderSlot(t.$slots,"description")])])],16)]))}}),rR={},nR={class:"badge"};function oR(r,e){return i.openBlock(),i.createElementBlock("div",nR,[i.renderSlot(r.$slots,"default",{},void 0,!0)])}const sR=X(rR,[["render",oR],["__scopeId","data-v-b99d69c6"]]),iR=r=>(i.pushScopeId("data-v-8ab1bd35"),r=r(),i.popScopeId(),r),aR={class:"scopes-label"},lR=iR(()=>i.createElementVNode("em",null,"|",-1)),cR=["checked"],dR={class:"dropdown-item-title"},uR={class:"dropdown-item-description"},hR=i.defineComponent({__name:"SecuritySchemeScopes",props:{scopes:{},selected:{}},emits:["update:selected"],setup(r,{emit:e}){const t=r,n=e,o=i.ref(),s=i.ref(),{floatingStyles:a}=WA(o,s,{placement:"bottom-end",whileElementsMounted:jA,middleware:[bA(5),MA(),DA()]}),l=i.computed({get:()=>t.selected,set:c=>n("update:selected",c)});return(c,d)=>(i.openBlock(),i.createBlock(i.unref(ye.Listbox),{modelValue:l.value,"onUpdate:modelValue":d[0]||(d[0]=u=>l.value=u),multiple:""},{default:i.withCtx(({open:u})=>[i.createElementVNode("div",{ref_key:"trigger",ref:o,class:i.normalizeClass(["wrapper",{"wrapper-open":u}])},[i.createVNode(i.unref(ye.ListboxButton),{as:Hh},{default:i.withCtx(()=>[i.createElementVNode("div",aR,[i.createVNode(i.unref(Me),{icon:u?"ChevronUp":"ChevronDown",size:"sm"},null,8,["icon"]),i.createTextVNode(" Scopes "),i.createVNode(i.unref(sR),{class:"scopes-label-badge"},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(l.value.length),1),lR,i.createTextVNode(i.toDisplayString(Object.entries(c.scopes).length),1)]),_:1})])]),_:2},1024)],2),(i.openBlock(),i.createBlock(i.Teleport,{to:"body"},[i.createVNode(i.unref(Vy),null,{default:i.withCtx(({styles:h})=>[i.createElementVNode("div",{ref_key:"dropdown",ref:s,class:i.normalizeClass(["floating",h]),style:i.normalizeStyle(i.unref(a))},[i.createVNode(i.unref(ye.ListboxOptions),{as:"dl",class:"dropdown"},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(Object.entries(c.scopes),([f,p])=>(i.openBlock(),i.createBlock(i.unref(ye.ListboxOption),{key:f,as:"div",class:"dropdown-item",value:f},{default:i.withCtx(({selected:m})=>[i.createElementVNode("input",{checked:m,class:"dropdown-item-check",tabindex:"-1",type:"checkbox"},null,8,cR),i.createElementVNode("dt",dR,i.toDisplayString(f),1),i.createElementVNode("dd",uR,i.toDisplayString(p),1)]),_:2},1032,["value"]))),128))]),_:1})],6)]),_:1})]))]),_:1},8,["modelValue"]))}}),fR=X(hR,[["__scopeId","data-v-8ab1bd35"]]),pR=i.defineComponent({__name:"SecurityScheme",props:{value:{}},setup(r){const{authentication:e,setAuthentication:t}=Dn(),n=h=>{t({apiKey:{...e.apiKey,token:h.target.value}})},o=h=>{t({http:{...e.http,basic:{...e.http.basic,username:h.target.value}}})},s=h=>{t({http:{...e.http,basic:{...e.http.basic,password:h.target.value}}})},a=h=>{t({http:{...e.http,bearer:{...e.http.bearer,token:h.target.value}}})},l=h=>{t({oAuth2:{...e.oAuth2,clientId:h.target.value}})},c=h=>{const f=e.oAuth2.scopes.join(" "),p=(Math.random()+1).toString(36).substring(7),m=new URL(h.authorizationUrl);return t({oAuth2:{...e.oAuth2,state:p}}),m.searchParams.set("response_type","token"),m.searchParams.set("client_id",e.oAuth2.clientId),m.searchParams.set("redirect_uri",window.location.href),m.searchParams.set("scope",f),m.searchParams.set("state",p),m.toString()},d=i.computed({get:()=>e.oAuth2.scopes,set:h=>t({oAuth2:{...e.oAuth2,scopes:h}})}),u=h=>{const p=window.open(h,"openAuth2Window","left=100,top=100,width=800,height=600");if(p){const m=setInterval(function(){var g;try{const y=new URLSearchParams(p.location.href).get("access_token");if(p.closed||y){clearInterval(m);const b=(g=p.location.href.match(/state=([^&]*)/))==null?void 0:g[1];y&&e.oAuth2.state===b&&t({oAuth2:{...e.oAuth2,accessToken:y}}),p.close()}}catch{}},200)}};return(h,f)=>{var p;return h.value&&((p=h.value)!=null&&p.type)?(i.openBlock(),i.createBlock(J5,{key:0},{default:i.withCtx(()=>[h.value.type==="apiKey"?(i.openBlock(),i.createBlock(Mo,{key:0,id:`security-scheme-${h.value.name}`,placeholder:"Token",type:"password",value:i.unref(e).apiKey.token,onInput:n},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(h.value.in.charAt(0).toUpperCase()+h.value.in.slice(1))+" API ",1)]),_:1},8,["id","value"])):h.value.type==="http"||h.value.type==="basic"?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[h.value.type==="basic"||h.value.scheme==="basic"?(i.openBlock(),i.createBlock(d0,{key:0},{default:i.withCtx(()=>[i.createVNode(Mo,{id:"http.basic.username",placeholder:"Username",value:i.unref(e).http.basic.username,onInput:o},{default:i.withCtx(()=>[i.createTextVNode(" Username ")]),_:1},8,["value"]),i.createVNode(Mo,{id:"http.basic.password",placeholder:"Password",type:"password",value:i.unref(e).http.basic.password,onInput:s},{default:i.withCtx(()=>[i.createTextVNode(" Password ")]),_:1},8,["value"])]),_:1})):h.value.type==="http"&&h.value.scheme==="bearer"?(i.openBlock(),i.createBlock(Mo,{key:1,id:"http.bearer.token",placeholder:"Token",type:"password",value:i.unref(e).http.bearer.token,onInput:a},{default:i.withCtx(()=>[i.createTextVNode(" Bearer Token ")]),_:1},8,["value"])):i.createCommentVNode("",!0)],64)):h.value.type.toLowerCase()==="oauth2"&&h.value.flows&&h.value.flows.implicit?(i.openBlock(),i.createBlock(d0,{key:2},{default:i.withCtx(()=>[i.unref(e).oAuth2.accessToken?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createVNode(Mo,{id:"oAuth2.accessToken",placeholder:"xxxxx",type:"password",value:i.unref(e).oAuth2.accessToken},{default:i.withCtx(()=>[i.createTextVNode(" Access Token ")]),_:1},8,["value"]),i.createVNode(Hh,{onClick:f[0]||(f[0]=()=>i.unref(t)({oAuth2:{...i.unref(e).oAuth2,accessToken:"",state:""}}))},{default:i.withCtx(()=>[i.createTextVNode(" Reset ")]),_:1})],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createVNode(Mo,{id:"oAuth2.clientId",placeholder:"12345",type:"text",value:i.unref(e).oAuth2.clientId,onInput:l},{default:i.withCtx(()=>[i.createTextVNode(" Client ID ")]),_:1},8,["value"]),h.value!==void 0?(i.openBlock(),i.createBlock(fR,{key:0,selected:d.value,"onUpdate:selected":f[1]||(f[1]=m=>d.value=m),scopes:h.value.flows.implicit.scopes},null,8,["selected","scopes"])):i.createCommentVNode("",!0),i.createVNode(Hh,{onClick:f[2]||(f[2]=()=>{var m;return u(c((m=h.value)==null?void 0:m.flows.implicit))})},{default:i.withCtx(()=>[i.createTextVNode(" Authorize ")]),_:1})],64))]),_:1})):i.createCommentVNode("",!0)]),_:1})):i.createCommentVNode("",!0)}}}),hw=X(pR,[["__scopeId","data-v-e1533daa"]]),mR=r=>(i.pushScopeId("data-v-4a4d4695"),r=r(),i.popScopeId(),r),gR={key:1,class:"security-scheme-selector"},OR=["value"],yR=mR(()=>i.createElementVNode("option",{value:""},"None",-1)),bR=["value"],vR=i.defineComponent({__name:"SecuritySchemeSelector",props:{value:{}},emits:["input"],setup(r,{emit:e}){const t=r,n=e,{authentication:o,setAuthentication:s}=Dn(),a=O=>{l(O.target.value)};i.onMounted(()=>{o.preferredSecurityScheme||l(Object.keys(t.value??{})[0]??null)});const l=O=>{s({preferredSecurityScheme:O}),n("input",O)};i.onServerPrefetch(()=>l(Object.keys(t.value??{})[0]??null));const c=O=>!(O!=null&&O.type),d=O=>O.type.toLowerCase()==="apikey",u=O=>O.type==="http"&&O.scheme.toLowerCase()==="basic"||O.type.toLowerCase()==="basic",h=O=>O.type==="http"&&O.scheme.toLowerCase()==="bearer",f=O=>O.type.toLowerCase()==="oauth2",p=(O,y)=>`${m(O)} (${y})`,m=O=>c(O)?"No Authentication":d(O)?"API Key":u(O)?"Basic Authentication":h(O)?"Bearer Authentication":f(O)?"OAuth 2.0":`${O.type} (not yet supported)`,g=i.computed(()=>Object.keys(t.value??{}));return(O,y)=>{var b,v;return g.value.length===1?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createTextVNode(i.toDisplayString(p((b=O.value)==null?void 0:b[g.value[0]],g.value[0])),1)],64)):g.value.length>1?(i.openBlock(),i.createElementBlock("div",gR,[i.createElementVNode("span",null,i.toDisplayString(i.unref(o).preferredSecurityScheme?p((v=O.value)==null?void 0:v[i.unref(o).preferredSecurityScheme],i.unref(o).preferredSecurityScheme):"None"),1),i.createVNode(i.unref(Me),{icon:"ChevronDown"}),i.createElementVNode("select",{value:i.unref(o).preferredSecurityScheme,onClick:y[0]||(y[0]=i.withModifiers(()=>{},["prevent"])),onInput:a},[yR,(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(g.value,k=>{var $;return i.openBlock(),i.createElementBlock("option",{key:k,value:k??null},i.toDisplayString(p(($=O.value)==null?void 0:$[k],k)),9,bR)}),128))],40,OR)])):i.createCommentVNode("",!0)}}}),fw=X(vR,[["__scopeId","data-v-4a4d4695"]]),wR={key:0,class:"preferred-security-scheme"},kR={key:1,class:"security-scheme-empty-state"},SR=i.defineComponent({__name:"RequestAuthentication",setup(r){const e=i.ref(null);W1.on(()=>{if(!e.value)return;e.value.scrollIntoView({behavior:"smooth",block:"center"})});const{authentication:t,setAuthentication:n}=Dn(),o=s=>{n({customSecurity:!0,preferredSecurityScheme:s,securitySchemes:{apiKey:{type:"apiKey",name:"apiKey",in:"header"},httpBasic:{type:"http",scheme:"basic"},httpBearer:{type:"http",scheme:"bearer"}}})};return(s,a)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"requestAuthenticationRef",ref:e},[i.createVNode(i.unref(an),{title:"Authentication"},{options:i.withCtx(()=>[i.createVNode(fw,{value:i.unref(t).securitySchemes},null,8,["value"])]),default:i.withCtx(()=>{var l;return[i.unref(t).preferredSecurityScheme?(i.openBlock(),i.createElementBlock("div",wR,[i.createVNode(hw,{value:(l=i.unref(t).securitySchemes)==null?void 0:l[i.unref(t).preferredSecurityScheme]},null,8,["value"])])):i.createCommentVNode("",!0),i.unref(t).securitySchemes?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",kR,[i.createElementVNode("div",{class:"scalar-api-client-add",variant:"outlined",onClick:a[0]||(a[0]=c=>o("apiKey"))}," ApiKey "),i.createElementVNode("div",{class:"scalar-api-client-add",variant:"outlined",onClick:a[1]||(a[1]=c=>o("httpBasic"))}," Basic "),i.createElementVNode("div",{class:"scalar-api-client-add",variant:"outlined",onClick:a[2]||(a[2]=c=>o("httpBearer"))}," Bearer ")]))]}),_:1})],512))}}),$R=X(SR,[["__scopeId","data-v-b8475d60"]]),PR={class:"table-row"},xR={class:"table-row-item"},_R={class:"table-row-item"},CR={key:0,class:"table-row-item"},TR={class:"table-row-meta"},QR=i.defineComponent({__name:"GridRow",props:{showDescription:{type:Boolean}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("div",PR,[i.createElementVNode("div",xR,[i.renderSlot(e.$slots,"key",{},void 0,!0)]),i.createElementVNode("div",_R,[i.renderSlot(e.$slots,"value",{},void 0,!0)]),e.showDescription?(i.openBlock(),i.createElementBlock("div",CR,[i.renderSlot(e.$slots,"description",{},void 0,!0)])):i.createCommentVNode("",!0),i.createElementVNode("div",TR,[i.renderSlot(e.$slots,"meta",{},void 0,!0)])]))}}),vp=X(QR,[["__scopeId","data-v-65b233b7"]]),hd=r=>(i.pushScopeId("data-v-1678900e"),r=r(),i.popScopeId(),r),ER=hd(()=>i.createElementVNode("label",{class:"table-column-header"},"Key",-1)),AR=hd(()=>i.createElementVNode("label",{class:"table-column-header"},"Value",-1)),NR=hd(()=>i.createElementVNode("label",{class:"table-column-header"},"Description",-1)),RR=hd(()=>i.createElementVNode("svg",{fill:"currentColor",height:"12",viewBox:"0 0 18 12",width:"18",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"M0 12h12v-2H0v2zM0 0v2h18V0H0zm0 7h18V5H0v2z","fill-rule":"nonzero"})],-1)),VR=i.defineComponent({__name:"GridHeader",props:{showDescription:{type:Boolean}},emits:["update:showDescription"],setup(r){return(e,t)=>(i.openBlock(),i.createBlock(vp,{showDescription:e.showDescription},{key:i.withCtx(()=>[ER]),value:i.withCtx(()=>[AR]),description:i.withCtx(()=>[NR]),meta:i.withCtx(()=>[i.createVNode(i.unref(ef),{class:"table-description-toggle",variant:"text",onClick:t[0]||(t[0]=n=>e.$emit("update:showDescription",!e.showDescription))},{default:i.withCtx(()=>[RR]),_:1})]),_:1},8,["showDescription"]))}}),BR=X(VR,[["__scopeId","data-v-1678900e"]]),pw=r=>(i.pushScopeId("data-v-017a5949"),r=r(),i.popScopeId(),r),ZR={class:"meta-check"},IR=pw(()=>i.createElementVNode("span",{class:"meta-checkmark"},null,-1)),jR=pw(()=>i.createElementVNode("svg",{fill:"none",height:"10",viewBox:"-0.5 -0.5 10 10",width:"10",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"m8.55 0.45 -8.1 8.1",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"}),i.createElementVNode("path",{d:"m0.45 0.45 8.1 8.1",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"})],-1)),DR=[jR],MR=i.defineComponent({__name:"GridRowEditable",props:{name:{},description:{},value:{},required:{type:Boolean},enabled:{type:Boolean}},emits:["update:name","update:value","update:description","update:enabled","delete"],setup(r,{emit:e}){const t=r,n=e,o=i.computed({get:()=>t.name,set:c=>{n("update:enabled",!0),n("update:name",c)}}),s=i.computed({get:()=>`${t.value}`,set:c=>{n("update:enabled",!0),n("update:value",c)}}),a=i.computed({get:()=>t.description??"",set:c=>n("update:description",c)}),l=i.computed({get:()=>t.enabled,set:c=>n("update:enabled",c)});return(c,d)=>(i.openBlock(),i.createBlock(vp,{class:i.normalizeClass(["table-row-editable",{"required-parameter":c.required}])},{key:i.withCtx(()=>[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>o.value=u),placeholder:"Key"},null,512),[[i.vModelText,o.value]])]),value:i.withCtx(()=>[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":d[1]||(d[1]=u=>s.value=u),placeholder:"Value"},null,512),[[i.vModelText,s.value]])]),description:i.withCtx(()=>[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":d[2]||(d[2]=u=>a.value=u),placeholder:"Description"},null,512),[[i.vModelText,a.value]])]),meta:i.withCtx(()=>[i.createElementVNode("label",ZR,[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":d[3]||(d[3]=u=>l.value=u),type:"checkbox"},null,512),[[i.vModelCheckbox,l.value]]),IR]),c.required?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("button",{key:0,class:"meta-delete",type:"button",onClick:d[4]||(d[4]=u=>c.$emit("delete"))},DR))]),_:1},8,["class"]))}}),qR=X(MR,[["__scopeId","data-v-017a5949"]]),XR=r=>(i.pushScopeId("data-v-10bffad5"),r=r(),i.popScopeId(),r),WR=["value"],zR=["value"],UR=XR(()=>i.createElementVNode("input",{disabled:"",value:"Read-only"},null,-1)),LR=i.defineComponent({__name:"GridRowGenerated",props:{item:{}},setup(r){return(e,t)=>(i.openBlock(),i.createBlock(vp,{class:"table-row-generated"},{key:i.withCtx(()=>[i.createElementVNode("input",{disabled:"",placeholder:"key",value:e.item.name},null,8,WR)]),value:i.withCtx(()=>[i.createElementVNode("input",{disabled:"",placeholder:"value",type:"password",value:e.item.value},null,8,zR)]),description:i.withCtx(()=>[UR]),_:1}))}}),YR=X(LR,[["__scopeId","data-v-10bffad5"]]),FR={class:"table"},HR={class:"meta-actions"},GR={class:"meta-actions-item-icon"},KR={class:"meta-actions-item-icon"},JR=i.defineComponent({__name:"Grid",props:{items:{},generatedItems:{},addLabel:{},showMoreFilter:{type:Boolean}},emits:["deleteIndex","addAnother"],setup(r,{emit:e}){const t=e,n=i.ref(!1),o=i.ref(!1);function s(){t("addAnother"),o.value=!0}return(a,l)=>(i.openBlock(),i.createElementBlock("div",FR,[i.createVNode(BR,{showDescription:n.value,"onUpdate:showDescription":l[0]||(l[0]=c=>n.value=c)},null,8,["showDescription"]),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.generatedItems,c=>(i.openBlock(),i.createBlock(YR,{key:c.name,item:c,showDescription:n.value,onClick:l[1]||(l[1]=d=>i.unref(W1).emit())},null,8,["item","showDescription"]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.items,(c,d)=>i.withDirectives((i.openBlock(),i.createBlock(qR,{key:d,description:c.description,"onUpdate:description":u=>c.description=u,enabled:c.enabled,"onUpdate:enabled":u=>c.enabled=u,name:c.name,"onUpdate:name":u=>c.name=u,value:c.value,"onUpdate:value":u=>c.value=u,required:c.required,showDescription:n.value,onDelete:u=>a.$emit("deleteIndex",d)},null,8,["description","onUpdate:description","enabled","onUpdate:enabled","name","onUpdate:name","value","onUpdate:value","required","showDescription","onDelete"])),[[i.vShow,!a.showMoreFilter||a.showMoreFilter&&d<5||o.value]])),128)),i.createElementVNode("div",HR,[a.addLabel?(i.openBlock(),i.createElementBlock("button",{key:0,class:"meta-actions-item",type:"button",onClick:s},[i.createElementVNode("i",GR,[i.createVNode(i.unref(Me),{icon:"Add"})]),i.createTextVNode(" "+i.toDisplayString(a.addLabel),1)])):i.createCommentVNode("",!0),a.showMoreFilter&&a.items&&a.items.length>5&&!o.value?(i.openBlock(),i.createElementBlock("button",{key:1,class:"meta-actions-item",type:"button",onClick:l[2]||(l[2]=c=>o.value=!0)},[i.createTextVNode(" Show More "),i.createElementVNode("i",KR,[i.createVNode(i.unref(Me),{icon:"ChevronDown"})])])):i.createCommentVNode("",!0)])]))}}),Ca=X(JR,[["__scopeId","data-v-7b4a39aa"]]),eV={class:"navtable simpletable"},tV={class:"navtable-table"},rV=i.createStaticVNode('<div class="navtable-item navtable-item__top" data-v-af627a74><div class="navtable-item-33" data-v-af627a74><label for="" data-v-af627a74>Name</label></div><div class="navtable-item-66" data-v-af627a74><label for="" data-v-af627a74>Value</label></div></div>',1),nV={class:"navtable-item-33"},oV={class:"navtable-item-66"},sV=i.defineComponent({__name:"SimpleGrid",props:{items:{}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("div",eV,[i.createElementVNode("div",tV,[rV,(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.items,n=>(i.openBlock(),i.createElementBlock("div",{key:n.id,class:"navtable-item"},[i.createElementVNode("div",nV,[i.createElementVNode("p",null,i.toDisplayString(n.name),1)]),i.createElementVNode("div",oV,[i.createElementVNode("p",null,i.toDisplayString(n.value),1)])]))),128))])]))}}),iV=X(sV,[["__scopeId","data-v-af627a74"]]),aV={key:0},lV=i.defineComponent({__name:"RequestBody",props:{body:{},formData:{}},setup(r){const{activeRequest:e,setActiveRequest:t}=er(),n=o=>{e.body!==o&&t({...e,body:o})};return(o,s)=>(i.openBlock(),i.createBlock(i.unref(an),{title:"Body"},{default:i.withCtx(()=>[o.body&&o.body.length===0&&o.formData&&o.formData.length===0?(i.openBlock(),i.createElementBlock("span",aV,"No Body")):o.formData&&o.formData.length>0?(i.openBlock(),i.createBlock(i.unref(Ca),{key:1,items:o.formData},null,8,["items"])):(i.openBlock(),i.createBlock(i.unref(I1),{key:2,content:i.unref(e).body,language:"json",lineNumbers:"",onChange:n},null,8,["content"]))]),_:1}))}}),cV={key:0,class:"scalar-api-client__empty-state"},dV=i.createElementVNode("svg",{class:"flow-icon","data-v-aa4fbd2d":"",height:"100%",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"M24 1.714v44.572M1.714 24h44.572",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3.429",xmlns:"http://www.w3.org/2000/svg"})],-1),uV=i.defineComponent({__name:"RequestCookies",props:{cookies:{},generatedCookies:{}},setup(r){const e=r,{activeRequest:t}=er();function n(a){var l;(l=t.cookies)==null||l.splice(a,1)}function o(){var a;t.cookies===void 0&&(t.cookies=[]),(a=t.cookies)==null||a.push({name:"",value:"",enabled:!0})}const s=i.computed(()=>{var a,l;return!!((a=e.cookies)!=null&&a.length||(l=e.generatedCookies)!=null&&l.length)});return(a,l)=>(i.openBlock(),i.createBlock(i.unref(an),{defaultOpen:s.value,title:"Cookies"},{default:i.withCtx(()=>[s.value?(i.openBlock(),i.createBlock(i.unref(Ca),{key:1,addLabel:"Cookie",generatedItems:a.generatedCookies,items:a.cookies,onAddAnother:o,onDeleteIndex:n},null,8,["generatedItems","items"])):(i.openBlock(),i.createElementBlock("div",cV,[i.createElementVNode("button",{class:"scalar-api-client-add",type:"button",onClick:o},[dV,i.createTextVNode(" Cookies ")])]))]),_:1},8,["defaultOpen"]))}}),hV={key:0,class:"scalar-api-client__empty-state"},fV=i.createElementVNode("svg",{class:"flow-icon","data-v-aa4fbd2d":"",height:"100%",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"M24 1.714v44.572M1.714 24h44.572",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3.429",xmlns:"http://www.w3.org/2000/svg"})],-1),pV=i.defineComponent({__name:"RequestHeaders",props:{headers:{},generatedHeaders:{}},setup(r){const e=r,{activeRequest:t}=er();function n(a){var l;(l=t.headers)==null||l.splice(a,1)}function o(){var a;t.headers===void 0&&(t.headers=[]),(a=t.headers)==null||a.push({name:"",value:"",enabled:!0})}const s=i.computed(()=>{var a,l;return!!((a=e.headers)!=null&&a.length||(l=e.generatedHeaders)!=null&&l.length)});return(a,l)=>(i.openBlock(),i.createBlock(i.unref(an),{defaultOpen:s.value,title:"Headers"},{default:i.withCtx(()=>[s.value?(i.openBlock(),i.createBlock(i.unref(Ca),{key:1,addLabel:"Header",generatedItems:a.generatedHeaders,items:a.headers,onAddAnother:o,onDeleteIndex:n},null,8,["generatedItems","items"])):(i.openBlock(),i.createElementBlock("div",hV,[i.createElementVNode("button",{class:"scalar-api-client-add",type:"button",onClick:o},[fV,i.createTextVNode(" Headers ")])]))]),_:1},8,["defaultOpen"]))}}),mV={key:0,class:"scalar-api-client__empty-state"},gV=i.createElementVNode("svg",{class:"flow-icon","data-v-aa4fbd2d":"",height:"100%",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"M24 1.714v44.572M1.714 24h44.572",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3.429",xmlns:"http://www.w3.org/2000/svg"})],-1),OV=i.defineComponent({__name:"RequestQuery",props:{queries:{},generatedQueries:{}},setup(r){const e=r,{activeRequest:t}=er();function n(a){var l;(l=t.query)==null||l.splice(a,1)}function o(){var a;t.query===void 0&&(t.query=[]),(a=t.query)==null||a.push({name:"",value:"",enabled:!0})}const s=i.computed(()=>{var a,l;return!!((a=e.queries)!=null&&a.length||(l=e.generatedQueries)!=null&&l.length)});return(a,l)=>(i.openBlock(),i.createBlock(i.unref(an),{defaultOpen:s.value,title:"Query Parameters"},{default:i.withCtx(()=>[s.value?(i.openBlock(),i.createBlock(i.unref(Ca),{key:1,addLabel:"Query Parameter",generatedItems:a.generatedQueries,items:a.queries,showMoreFilter:!0,onAddAnother:o,onDeleteIndex:n},null,8,["generatedItems","items"])):(i.openBlock(),i.createElementBlock("div",mV,[i.createElementVNode("button",{class:"scalar-api-client-add",type:"button",onClick:o},[gV,i.createTextVNode(" Query Parameter ")])]))]),_:1},8,["defaultOpen"]))}}),yV={key:0,class:"scalar-api-client__empty-state"},bV=i.createElementVNode("svg",{class:"flow-icon","data-v-aa4fbd2d":"",height:"100%",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},[i.createElementVNode("path",{d:"M24 1.714v44.572M1.714 24h44.572",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"3.429",xmlns:"http://www.w3.org/2000/svg"})],-1),vV=i.defineComponent({__name:"RequestVariables",props:{variables:{}},setup(r){const{activeRequest:e}=er();function t(o){var s;(s=e.variables)==null||s.splice(o,1)}function n(){var o;e.variables===void 0&&(e.variables=[]),(o=e.variables)==null||o.push({name:"",value:"",enabled:!0})}return(o,s)=>(i.openBlock(),i.createBlock(i.unref(an),{defaultOpen:i.unref(e).variables&&i.unref(e).variables.length>0,title:"Variables"},{default:i.withCtx(()=>[!o.variables||o.variables.length===0?(i.openBlock(),i.createElementBlock("div",yV,[i.createElementVNode("button",{class:"scalar-api-client-add",type:"button",onClick:n},[bV,i.createTextVNode(" Variable ")])])):(i.openBlock(),i.createBlock(i.unref(Ca),{key:1,addLabel:"Variable",items:o.variables,showMoreFilter:!0,onAddAnother:n,onDeleteIndex:t},null,8,["items"]))]),_:1},8,["defaultOpen"]))}}),wV={class:"scalar-api-client__main__left custom-scroll"},kV={class:"scalar-api-client__main__content"},SV=i.createElementVNode("label",null,"Request",-1),$V={class:"meta"},PV={class:"meta-item meta-item__input"},xV=i.createElementVNode("div",{class:"scalar-api-client__main__scroll-container"},null,-1),_V=!0,x0=i.defineComponent({__name:"Request",setup(r){const{activeRequest:e}=er(),{authentication:t}=Dn(),{openApi:{operation:n,globalSecurity:o}}=Hc(),s=i.computed(()=>{var a;return sd(t,((a=n==null?void 0:n.information)==null?void 0:a.security)??o)});return(a,l)=>(i.openBlock(),i.createElementBlock("div",wV,[i.createElementVNode("div",kV,[SV,i.createElementVNode("div",$V,[i.createElementVNode("div",PV,[i.withDirectives(i.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=c=>i.unref(e).name=c),class:"scalar-api-client__request-name",disabled:_V,placeholder:"Request Name",type:"text"},null,512),[[i.vModelText,i.unref(e).name]])])])]),i.createElementVNode("div",null,[i.createVNode(vV,{variables:i.unref(e).variables},null,8,["variables"]),i.createVNode(i.unref($R)),i.createVNode(uV,{cookies:i.unref(e).cookies,generatedCookies:s.value.cookies},null,8,["cookies","generatedCookies"]),i.createVNode(pV,{generatedHeaders:s.value.headers,headers:i.unref(e).headers},null,8,["generatedHeaders","headers"]),i.createVNode(OV,{generatedQueries:s.value.queryString,queries:i.unref(e).query},null,8,["generatedQueries","queries"]),i.createVNode(lV,{body:i.unref(e).body,formData:i.unref(e).formData,requestBody:i.unref(e).body},null,8,["body","formData","requestBody"]),xV])]))}});var wp={};/*!
83
83
  * content-type
84
84
  * Copyright(c) 2015 Douglas Christopher Wilson
85
85
  * MIT Licensed
@@ -236,7 +236,7 @@ ${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.pus
236
236
 
237
237
  `):f.map(h)}function Ni(r,e){return typeof e=="string"?[{start:{line:1,column:1,offset:0},error:e,path:""}]:QX(r,null,e,{format:"js",indent:2,colorize:!1}).map(t=>(t.error=t.error.trim(),t))}function EX(r){try{return oS(r),{valid:!0}}catch(e){return{valid:!1,errors:Ni(r,e.message)}}}class Nm{constructor(){gn(this,"version"),gn(this,"ajvValidators",{}),gn(this,"externalRefs",{}),gn(this,"errors"),gn(this,"specificationVersion"),gn(this,"specificationType"),gn(this,"specification")}resolveReferences(e){return oS(e.find(t=>t.isEntrypoint===!0).specification)}async validate(e){var t;const n=e.find(s=>s.isEntrypoint),o=n==null?void 0:n.specification;this.specification=o,(t=this.specification)!=null&&t.info&&!this.specification.info.version&&(this.specification.info.version="0.0.1");try{if(o==null)return{valid:!1,errors:Ni(n,Of.EMPTY_OR_INVALID)};Object.keys(this.externalRefs).length>0&&(o[Oq]=this.externalRefs);const{version:s,specificationType:a,specificationVersion:l}=nS(o);if(this.version=s,this.specificationVersion=l,this.specificationType=a,!s)return{valid:!1,errors:Ni(n,Of.OPENAPI_VERSION_NOT_SUPPORTED)};const c=await this.getAjvValidator(s);return c(o)?EX(n.specification):c.errors&&c.errors.length>0?{valid:!1,errors:Ni(n,c.errors)}:{valid:!1}}catch(s){return{valid:!1,errors:Ni(n,s.message??s)}}}async getAjvValidator(e){if(this.ajvValidators[e])return this.ajvValidators[e];const t=await _B(Object.assign({"../../../schemas/v2.0/schema.json":()=>Promise.resolve().then(()=>require("./schema-BQQoKgNw-CyFt8nZw.cjs")),"../../../schemas/v3.0/schema.json":()=>Promise.resolve().then(()=>require("./schema-BjykgtPd-C_N_PTsi.cjs")),"../../../schemas/v3.1/schema.json":()=>Promise.resolve().then(()=>require("./schema-ZROhtp0X-DL6m5HXA.cjs"))}),`../../../schemas/v${e}/schema.json`),n=gq[t.$schema],o=new n({strict:!1});return w3(o),e==="3.1"&&o.addFormat("media-range",!0),this.ajvValidators[e]=o.compile(t)}}gn(Nm,"supportedVersions",ak);function AX(){return{load:NX}}function NX(r){const e=tS(r);return{get:()=>e,details:()=>Ud(e),filter:t=>Ia(e,t),upgrade:()=>gS(e),validate:()=>Rm(e),resolve:()=>zd(e),toJson:()=>ja(e),toYaml:()=>Da(e)}}function gS(r){const e=R4(r);return{get:()=>e,details:()=>Ud(e),filter:t=>Ia(e,t),validate:()=>Rm(e),resolve:()=>zd(e),toJson:()=>ja(e),toYaml:()=>Da(e)}}async function Rm(r){return{...await V4(r),filter:e=>Ia(r,e),get:()=>r,details:()=>Ud(r),resolve:()=>zd(r),toJson:()=>ja(r),toYaml:()=>Da(r)}}async function zd(r){return{...await T4(r),filter:e=>Ia(r,e),toJson:()=>ja(r),toYaml:()=>Da(r)}}function Ia(r,e){const t=yq(r,e);return{get:()=>t,details:()=>Ud(t),filter:()=>Ia(t,e),upgrade:()=>gS(t),validate:()=>Rm(t),resolve:()=>zd(t),toJson:()=>ja(t),toYaml:()=>Da(t)}}function Ud(r){return nS(r)}function ja(r){return Q4(r)}function Da(r){return E4(r)}const OS=r=>new Promise(async(e,t)=>{var n;try{const{schema:o,errors:s}=await AX().load(r).resolve();if(s!=null&&s.length&&console.warn(`Please open an issue on https://github.com/scalar/scalar
238
238
  `,`Scalar OpenAPI Parser Warning:
239
- `,s),o===void 0){t(((n=s==null?void 0:s[0])==null?void 0:n.error)??"Failed to parse the OpenAPI file.");return}e(RX(structuredClone(o)))}catch(o){t(o)}}),RX=r=>{r.tags||(r.tags=[]),r.paths||(r.paths={});const e={};return Object.keys(r.webhooks??{}).forEach(n=>{var o;Object.keys(((o=r.webhooks)==null?void 0:o[n])??{}).forEach(s=>{var l,c,d;const a=((l=r.webhooks)==null?void 0:l[n])[s];e[n]===void 0&&(e[n]={}),e[n][s]={httpVerb:s,path:n,operationId:(a==null?void 0:a.operationId)||n,name:(a==null?void 0:a.summary)||n||"",description:(a==null?void 0:a.description)||"",pathParameters:(d=(c=r.paths)==null?void 0:c[n])==null?void 0:d.parameters,information:{...a}}})}),Object.keys(r.paths).forEach(n=>{Object.keys(r.paths[n]).filter(s=>Fy.includes(s.toUpperCase())).forEach(s=>{var c,d,u,h,f,p;const a=r.paths[n][s],l={httpVerb:s,path:n,operationId:a.operationId||n,name:a.summary||n||"",description:a.description||"",information:{...a},pathParameters:(d=(c=r.paths)==null?void 0:c[n])==null?void 0:d.parameters};if(!a.tags||a.tags.length===0){(u=r.tags)!=null&&u.find(g=>g.name==="default")||(h=r.tags)==null||h.push({name:"default",description:"",operations:[]});const m=(f=r.tags)==null?void 0:f.findIndex(g=>g.name==="default");m>=0&&((p=r.tags[m])==null||p.operations.push(l))}else a.tags.forEach(m=>{var y,b,v;const g=(y=r.tags)==null?void 0:y.findIndex(k=>k.name===m);g===-1&&((b=r.tags)==null||b.push({name:m,description:""}));const O=g!==-1?g:r.tags.length-1;typeof((v=r.tags[O])==null?void 0:v.operations)>"u"&&(r.tags[O].operations=[]),r.tags[O].operations.push(l)})})}),r.tags.forEach((n,o)=>{var a;const s=n["x-displayName"];s&&((a=r.tags)!=null&&a[o])&&(r.tags[o].name=s)}),{...r,webhooks:e}},Ir=r=>new Promise(e=>setTimeout(e,r)),VX=Symbol("downloadSpec"),Vm=je.useEventBus(VX);function yS(r){const e=rc(r),t=e?new Blob([r],{type:"application/json"}):new Blob([r],{type:"application/x-yaml"}),n=URL.createObjectURL(t),o=document.createElement("a");o.href=n,o.download=e?"spec.json":"spec.yaml",o.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})),setTimeout(()=>{window.URL.revokeObjectURL(n),o.remove()},100)}function bS(r,e=1){const t=new RegExp(`^(?=#{${e}} )`,"m");return r.split(t).map(n=>n.trim()).filter(Boolean)}const vS={toast:r=>null};function BX(r){vS.toast=r}function wS(){return{initializeToasts:BX,toast:vS.toast}}const ei=()=>{const{toast:r}=wS();return{copyToClipboard:t=>{navigator.clipboard.writeText(t).then(()=>{r("Copied to the clipboard.","info")})}}},mn=i.ref(!1);function ZX(r){var o;const e=()=>{var a,l;const s=typeof window<"u"?(a=window.localStorage)==null?void 0:a.getItem("isDark"):null;return typeof s=="string"?!!JSON.parse(s):!!(typeof window<"u"&&((l=window==null?void 0:window.matchMedia("(prefers-color-scheme: dark)"))!=null&&l.matches))},t=()=>{var s;mn.value=!mn.value,typeof window<"u"&&((s=window==null?void 0:window.localStorage)==null||s.setItem("isDark",JSON.stringify(mn.value)))};function n(s){var a;mn.value=s,typeof window<"u"&&((a=window==null?void 0:window.localStorage)==null||a.setItem("isDark",JSON.stringify(mn.value)))}return mn.value=(typeof window>"u"?null:JSON.parse(((o=window.localStorage)==null?void 0:o.getItem("isDark"))||"null"))??r??e(),i.watch(mn,s=>{typeof document>"u"||(document.body.classList.toggle("dark-mode",s),document.body.classList.toggle("light-mode",!s))},{immediate:!0}),{isDark:mn,toggleDarkMode:t,setDarkMode:n}}const IX=["unirest"],Pf=i.ref([...IX]),jX=Qy.availableTargets().map(r=>(r.key==="node"&&(r.default="undici",r.clients.unshift({description:"An HTTP/1.1 client, written from scratch for Node.js.",key:"undici",link:"https://github.com/nodejs/undici",title:"undici"})),r.clients=r.clients.filter(e=>!Pf.value.includes(e.key)),r)).filter(r=>r.clients.length);function Ma(){return{availableTargets:i.computed(()=>jX),excludedClients:i.readonly(Pf),setExcludedClients:e=>Pf.value=e}}const Bm=i.ref(Ns.hash??""),jc=i.ref(),DX=i.ref(!1),MX=r=>r.slug?`description/${r.slug}`:"",kS=r=>{var t;if(!jc.value)return"";const e=new RegExp("^"+((t=jc.value)==null?void 0:t.basePath)+"/?");return decodeURIComponent(r.replace(e,""))},qX=(r,e)=>{if(!r)return"webhooks";const t=Wc.slug(r),n=encodeURIComponent(t);return`webhook/${e}/${n}`},XX=r=>{if(!r)return"models";const e=Wc.slug(r);return`model/${encodeURIComponent(e)}`},WX=(r,e)=>`${SS(e)}/${r.httpVerb}${r.path}`,SS=({name:r})=>{const e=Wc.slug(r);return`tag/${encodeURIComponent(e)}`},zX=(r=Bm.value)=>{var n;const e=(n=r.match(/(tag\/[^/]+)/))==null?void 0:n[0],t=r.startsWith("model")?"models":"";return e??t},UX=()=>{Bm.value=jc.value?kS(window.location.pathname):decodeURIComponent(window.location.hash.replace(/^#/,""))},gt=()=>({hash:Bm,getWebhookId:qX,getModelId:XX,getHeadingId:MX,getOperationId:WX,getPathRoutingId:kS,getSectionId:zX,getTagId:SS,isIntersectionEnabled:DX,pathRouting:jc,updateHash:UX});function Zm(r){return{parameterMap:i.computed(()=>{var o;const t=((o=r.operation.information)==null?void 0:o.parameters)??[],n={path:[],query:[],header:[],body:[],formData:[]};return r.operation.pathParameters&&r.operation.pathParameters.forEach(s=>{s.in==="path"?n.path.push(s):s.in==="query"?n.query.push(s):s.in==="header"?n.header.push(s):s.in==="body"?n.body.push(s):s.in==="formData"&&n.formData.push(s)}),t&&t.forEach(s=>{s.in==="path"?n.path.push(s):s.in==="query"?n.query.push(s):s.in==="header"?n.header.push(s):s.in==="body"?n.body.push(s):s.in==="formData"&&n.formData.push(s)}),n})}}const ky=()=>({info:{title:"",description:"",termsOfService:"",version:"",license:{name:"",url:""},contact:{email:""}},externalDocs:{description:"",url:""},components:{schemas:{},securitySchemes:{}},servers:[],tags:[]}),LX=async({url:r,content:e},t)=>{if(r)return ww(r)?await ig(r,t):await ig(r);const n=typeof e=="function"?e():e;if(typeof n=="string")return n;if(typeof n=="object")return JSON.stringify(n)};function $S({specConfig:r,proxy:e}){const t=i.ref(""),n=i.reactive(ky()),o=i.ref(null);function s(a){return a?OS(a).then(l=>{o.value=null,Object.assign(n,{servers:[],...l})}).catch(l=>{o.value=l.toString()}):Object.assign(n,ky())}return i.watch(()=>i.toValue(r),async a=>{var l;if(a){const c=(l=await LX(a,i.toValue(e)))==null?void 0:l.trim();typeof c=="string"&&(t.value=c)}},{immediate:!0,deep:!0}),i.watch(t,()=>{s(t.value)}),{rawSpec:t,parsedSpec:n,specErrors:o}}function Im(r){return{responses:i.computed(()=>{if(!r.information)return[];const{responses:t}=r.information,n=[];return t&&Object.keys(t).forEach(o=>{n.push({name:o,description:t[o].description})}),n})}}const{getHeadingId:YX,getModelId:Sy,getOperationId:$y,getSectionId:FX,getTagId:PS,getWebhookId:Lu,hash:xf}=gt(),He=i.ref(void 0),xS=i.ref(!1),Dc=i.reactive(Ns["useSidebarContent-collapsedSidebarItems"]??{});function HX(r){Dc[r]=!Dc[r]}function Yu(r,e){Dc[r]=e}const _S=i.ref([]),GX=async r=>{const e=await ua(r),t=Sp(e);return e.filter(n=>n.depth===t)},CS=i.computed(()=>{var u,h,f,p,m,g,O,y,b,v,k,$,w;const{state:r}=zc(),e={},{openApi:{globalSecurity:t}}=Hc(),n=_S.value.map(S=>({id:YX(S),title:S.value.toUpperCase(),show:!r.showApiClient})),o=(h=(u=He.value)==null?void 0:u.tags)==null?void 0:h[0],a=o&&(S=>(S==null?void 0:S.length)!==1||S[0].name!=="default"||S[0].description!=="")((f=He.value)==null?void 0:f.tags)&&((p=o.operations)==null?void 0:p.length)>0?(g=(m=He.value)==null?void 0:m.tags)==null?void 0:g.map(S=>{var _;return{id:PS(S),title:S.name.toUpperCase(),show:!0,children:(_=S.operations)==null?void 0:_.map(T=>{var V;const N=$y(T,S),j=T.name??T.path;return e[N]=j,{id:N,title:j,httpVerb:T.httpVerb,deprecated:((V=T.information)==null?void 0:V.deprecated)??!1,show:!0,select:()=>{r.showApiClient&&Tc(T,t)}}})}}):(O=o==null?void 0:o.operations)==null?void 0:O.map(S=>{var N;const _=$y(S,o),T=S.name??S.path;return e[_]=T,{id:_,title:T,httpVerb:S.httpVerb,deprecated:((N=S.information)==null?void 0:N.deprecated)??!1,show:!0,select:()=>{r.showApiClient&&Tc(S,t)}}}),l=Pp(He.value)&&!xS.value?[{id:Sy(),title:"MODELS",show:!r.showApiClient,children:Object.keys(((b=(y=He.value)==null?void 0:y.components)==null?void 0:b.schemas)??{}).map(S=>{var T,N,j;const _=Sy(S);return e[_]=S,{id:_,title:((j=(N=(T=He==null?void 0:He.value)==null?void 0:T.components)==null?void 0:N.schemas)==null?void 0:j[S]).title??S,show:!r.showApiClient}})}]:[],c=(v=He.value)!=null&&v["x-tagGroups"]?($=(k=He.value)==null?void 0:k["x-tagGroups"])==null?void 0:$.map(S=>{const _=[];return S.tags.map(N=>{if(N.toUpperCase()==="MODELS"&&l.length>0)_.push(l[0]);else{const j=a==null?void 0:a.find(V=>V.title===N.toUpperCase());j&&_.push(j)}}),{id:S.name,title:S.name.toUpperCase(),children:_,show:!0,isGroup:!0}}):void 0,d=vw(He.value)?[{id:Lu(),title:"WEBHOOKS",show:!r.showApiClient,children:Object.keys(((w=He.value)==null?void 0:w.webhooks)??{}).map(S=>{var T,N;const _=Lu(S);return e[_]=S,Object.keys(((N=(T=He.value)==null?void 0:T.webhooks)==null?void 0:N[S])??{}).map(j=>{var V,H,z;return{id:Lu(S,j),title:(z=(H=(V=He.value)==null?void 0:V.webhooks)==null?void 0:H[S][j])==null?void 0:z.name,httpVerb:j,show:!r.showApiClient}})}).flat()}]:[];return{entries:[...n,...c??a??[],...c?[]:d,...c?[]:l],titles:e}}),KX=i.ref(!1),JX=i.computed(()=>{var r,e;return((e=(r=CS.value)==null?void 0:r.titles)==null?void 0:e[xf.value])??""});function yr(r){return r!=null&&r.parsedSpec&&(He.value=r.parsedSpec,i.watch(()=>{var e,t;return(t=(e=He.value)==null?void 0:e.tags)==null?void 0:t.length},()=>{var e,t;if(xf.value){const n=FX(xf.value);n&&Yu(n,!0)}else{const n=(t=(e=He.value)==null?void 0:e.tags)==null?void 0:t[0];n&&Yu(PS(n),!0)}}),i.watch(()=>{var e,t;return(t=(e=He.value)==null?void 0:e.info)==null?void 0:t.description},async()=>{var t,n;const e=(n=(t=He.value)==null?void 0:t.info)==null?void 0:n.description;return e?_S.value=await GX(e):[]})),{breadcrumb:JX,items:CS,isSidebarOpen:KX,collapsedSidebarItems:Dc,toggleCollapsedSidebarItem:HX,setCollapsedSidebarItem:Yu,hideModels:xS}}const e7=i.defineComponent({__name:"SidebarHttpBadge",props:{active:{type:Boolean},method:{}},setup(r){return(e,t)=>(i.openBlock(),i.createBlock(i.unref(To),{as:"div",class:i.normalizeClass(["sidebar-heading-type",{"sidebar-heading-type-active":e.active}]),method:e.method,property:"--method-color",short:""},null,8,["class","method"]))}}),TS=X(e7,[["__scopeId","data-v-9b30feef"]]),t7=["id"],r7={key:0,class:"sidebar-heading-chevron"},n7=["href"],o7={class:"sidebar-heading-link-title"},s7={key:1,class:"sidebar-heading-link-method"},i7={key:1,class:"action-menu"},a7=i.defineComponent({__name:"SidebarElement",props:{id:{},item:{},isActive:{type:Boolean},hasChildren:{type:Boolean},open:{type:Boolean}},emits:["toggleOpen"],setup(r,{emit:e}){const t=r,n=e,{hash:o,isIntersectionEnabled:s,pathRouting:a}=gt(),l=async()=>{var u,h;t.hasChildren&&n("toggleOpen"),(h=(u=t.item)==null?void 0:u.select)==null||h.call(u),t.open&&(s.value=!1,await Ir(100)),s.value=!0},c=()=>{if(a.value)return a.value.basePath+"/"+t.item.id;{const u=new URL(window.location.href);return u.hash=t.item.id,`${u.pathname}${u.search}${u.hash}`}},d=async u=>{var h,f;if(a.value){u.preventDefault(),t.hasChildren&&n("toggleOpen"),(f=(h=t.item)==null?void 0:h.select)==null||f.call(h),n("toggleOpen"),s.value=!1,o.value=t.item.id;const p=new URL(window.location.href);p.pathname=a.value.basePath+"/"+t.item.id,window.history.pushState({},"",p),ha(t.item.id),await Ir(100),s.value=!0}};return(u,h)=>{var f,p;return i.openBlock(),i.createElementBlock("li",{id:u.id,class:"sidebar-group-item"},[i.createElementVNode("div",{class:i.normalizeClass(["sidebar-heading",{"sidebar-group-item__folder":u.hasChildren,active_page:u.isActive,deprecated:u.item.deprecated??!1}]),onClick:l},[u.hasChildren?(i.openBlock(),i.createElementBlock("p",r7,[i.createVNode(i.unref(ud),{class:"toggle-nested-icon",icon:u.open?"ChevronDown":"ChevronRight",label:"Toggle group",size:"sm",onClick:i.withModifiers(l,["stop"])},null,8,["icon"]),i.createTextVNode("   ")])):i.createCommentVNode("",!0),i.createElementVNode("a",{class:"sidebar-heading-link",href:c(),onClick:d},[(p=(f=u.item)==null?void 0:f.icon)!=null&&p.src?(i.openBlock(),i.createBlock(i.unref(Me),{key:0,class:"sidebar-icon",icon:u.item.icon.src},null,8,["icon"])):i.createCommentVNode("",!0),i.createElementVNode("p",o7,i.toDisplayString(u.item.title),1),u.item.httpVerb&&!u.hasChildren?(i.openBlock(),i.createElementBlock("p",s7,[i.createTextVNode("   "),i.createVNode(TS,{active:u.isActive,method:u.item.httpVerb},null,8,["active","method"])])):i.createCommentVNode("",!0)],8,n7)],2),u.open?i.renderSlot(u.$slots,"default",{key:0},void 0,!0):i.createCommentVNode("",!0),u.$slots["action-menu"]?(i.openBlock(),i.createElementBlock("div",i7,[i.renderSlot(u.$slots,"action-menu",{},void 0,!0)])):i.createCommentVNode("",!0)],8,t7)}}}),Cl=X(a7,[["__scopeId","data-v-fe207450"]]),l7=i.defineComponent({__name:"SidebarGroup",props:{level:{}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("ul",{class:"sidebar-group sidebar-indent-nested",style:i.normalizeStyle({"--scalar-sidebar-level":e.level})},[i.renderSlot(e.$slots,"default",{},void 0,!0)],4))}}),Fu=X(l7,[["__scopeId","data-v-58237183"]]),c7={class:"sidebar"},d7={class:"sidebar-group-title"},u7=-160,h7=i.defineComponent({__name:"Sidebar",props:{parsedSpec:{}},setup(r){const e=r,{hash:t,isIntersectionEnabled:n}=gt(),{items:o,toggleCollapsedSidebarItem:s,collapsedSidebarItems:a}=yr({parsedSpec:e.parsedSpec}),l=i.ref(null),c=i.ref(!0);i.watch(t,u=>{!n.value||c.value||typeof window>"u"||d(u)});const d=u=>{var p,m,g,O;const h=document.getElementById(`sidebar-${u}`);if(!h||!l.value)return;let f=u7;h.getAttribute("data-sidebar-type")==="heading"?f+=h.offsetTop+((p=h.getElementsByClassName("sidebar-heading"))==null?void 0:p[0]).offsetHeight:f+=h.offsetTop+(((m=h.parentElement)==null?void 0:m.offsetTop)??0)+(((O=(g=h.parentElement)==null?void 0:g.parentElement)==null?void 0:O.offsetTop)??0),l.value.scrollTo({top:f,behavior:"smooth"})};return i.onMounted(()=>{setTimeout(()=>d(t.value),500),c.value=!1}),(u,h)=>(i.openBlock(),i.createElementBlock("div",c7,[i.renderSlot(u.$slots,"sidebar-start",{},void 0,!0),i.createElementVNode("div",{ref_key:"scrollerEl",ref:l,class:"sidebar-pages custom-scroll custom-scroll-self-contain-overflow"},[i.createVNode(Fu,{level:0},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(o).entries,f=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:f.id},[f.isGroup?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createElementVNode("li",d7,i.toDisplayString(f.title),1),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(f.children,p=>(i.openBlock(),i.createBlock(Cl,{key:p.id,id:`sidebar-${p.id}`,"data-sidebar-type":"heading",hasChildren:p.children&&p.children.length>0,isActive:i.unref(t)===p.id,item:{id:p.id,title:p.title,select:p.select,httpVerb:p.httpVerb,deprecated:p.deprecated??!1},open:i.unref(a)[p.id]??!1,onToggleOpen:async()=>{c.value=!0,i.unref(s)(p.id),await i.unref(Ir)(100),c.value=!1}},{default:i.withCtx(()=>{var m;return[p.children&&((m=p.children)==null?void 0:m.length)>0?(i.openBlock(),i.createBlock(Fu,{key:0,level:2},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(p.children,g=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:g.id},[f.show?(i.openBlock(),i.createBlock(Cl,{key:0,id:`sidebar-${g.id}`,isActive:i.unref(t)===g.id,item:{id:g.id,title:g.title,select:g.select,httpVerb:g.httpVerb,deprecated:g.deprecated??!1}},null,8,["id","isActive","item"])):i.createCommentVNode("",!0)],64))),128))]),_:2},1024)):i.createCommentVNode("",!0)]}),_:2},1032,["id","hasChildren","isActive","item","open","onToggleOpen"]))),128))],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[f.show?(i.openBlock(),i.createBlock(Cl,{key:0,id:`sidebar-${f.id}`,"data-sidebar-type":"heading",hasChildren:f.children&&f.children.length>0,isActive:i.unref(t)===f.id,item:{id:f.id,title:f.title,select:f.select,httpVerb:f.httpVerb,deprecated:f.deprecated??!1},open:i.unref(a)[f.id]??!1,onToggleOpen:async()=>{c.value=!0,i.unref(s)(f.id),await i.unref(Ir)(100),c.value=!1}},{default:i.withCtx(()=>{var p;return[f.children&&((p=f.children)==null?void 0:p.length)>0?(i.openBlock(),i.createBlock(Fu,{key:0,level:1},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(f.children,m=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:m.id},[f.show?(i.openBlock(),i.createBlock(Cl,{key:0,id:`sidebar-${m.id}`,isActive:i.unref(t)===m.id,item:{id:m.id,title:m.title,select:m.select,httpVerb:m.httpVerb,deprecated:m.deprecated??!1}},null,8,["id","isActive","item"])):i.createCommentVNode("",!0)],64))),128))]),_:2},1024)):i.createCommentVNode("",!0)]}),_:2},1032,["id","hasChildren","isActive","item","open","onToggleOpen"])):i.createCommentVNode("",!0)],64))],64))),128))]),_:1})],512),i.renderSlot(u.$slots,"sidebar-end",{},void 0,!0)]))}}),Mc=X(h7,[["__scopeId","data-v-404804be"]]),f7={key:0,class:"api-client-drawer"},p7={class:"api-client-container"},m7={class:"scalar-api-client-height"},g7={key:0,class:"t-doc__sidebar"},O7={key:1,class:"t-doc__sidebar"},y7=i.defineComponent({__name:"ApiClientModal",props:{parsedSpec:{},overloadShow:{type:Boolean},tabMode:{type:Boolean},activeTab:{},proxyUrl:{}},emits:["toggleDarkMode"],setup(r){const{hideApiClient:e,state:t}=zc(),n=je.useMediaQuery("(max-width: 1000px)");return(o,s)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.unref(t).showApiClient||o.overloadShow?(i.openBlock(),i.createElementBlock("div",f7,[i.createElementVNode("div",p7,[i.renderSlot(o.$slots,"header",{},void 0,!0),i.createElementVNode("div",m7,[o.tabMode?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[o.activeTab==="sidebar"?(i.openBlock(),i.createElementBlock("div",g7,[i.withDirectives(i.createVNode(i.unref(Mc),{parsedSpec:o.parsedSpec},null,8,["parsedSpec"]),[[i.vShow,!i.unref(n)]])])):i.renderSlot(o.$slots,"active-tab",{key:1},void 0,!0)],64)):(i.openBlock(),i.createElementBlock("div",O7,[i.withDirectives(i.createVNode(i.unref(Mc),{parsedSpec:o.parsedSpec},{"sidebar-start":i.withCtx(()=>[i.renderSlot(o.$slots,"sidebar-start",{},void 0,!0)]),"sidebar-end":i.withCtx(()=>[i.renderSlot(o.$slots,"sidebar-end",{},void 0,!0)]),_:3},8,["parsedSpec"]),[[i.vShow,!i.unref(n)]])])),i.createVNode(i.unref(hB),{proxyUrl:o.proxyUrl,theme:"none",withDefaultFonts:!1,onEscapeKeyPress:i.unref(e)},null,8,["proxyUrl","onEscapeKeyPress"])])])])):i.createCommentVNode("",!0),i.unref(t).showApiClient?(i.openBlock(),i.createElementBlock("div",{key:1,class:"api-client-drawer-exit",onClick:s[0]||(s[0]=(...a)=>i.unref(e)&&i.unref(e)(...a))})):i.createCommentVNode("",!0)],64))}}),QS=X(y7,[["__scopeId","data-v-114fcf2a"]]),ES=()=>({targetKey:"shell",clientKey:"curl"}),Qs=i.reactive(ES());function b7(){kw(Qs,ES())}function AS(r){var t;const{availableTargets:e}=Ma();return((t=e.value.find(n=>n.key===r.targetKey))==null?void 0:t.title)??r.targetKey}function NS(r){var t,n;const{availableTargets:e}=Ma();return((n=(t=e.value.find(o=>o.key===r.targetKey))==null?void 0:t.clients.find(o=>o.key===r.clientKey))==null?void 0:n.title)??r.clientKey}const v7=r=>{Object.assign(Qs,{...Qs,...r})},w7=i.computed(()=>AS(Qs)),k7=i.computed(()=>NS(Qs)),Ld=()=>({httpClient:i.readonly(Qs),resetState:b7,setHttpClient:v7,httpTargetTitle:w7,httpClientTitle:k7,getClientTitle:NS,getTargetTitle:AS}),S7={},$7={class:"scalar-card"};function P7(r,e){return i.openBlock(),i.createElementBlock("div",$7,[i.renderSlot(r.$slots,"default",{},void 0,!0)])}const Mn=X(S7,[["render",P7],["__scopeId","data-v-dcabb131"]]),x7=i.defineComponent({__name:"CardContent",props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["scalar-card-content",{"scalar-card--muted":e.muted,"scalar-card--contrast":e.contrast,"scalar-card--frameless":e.frameless,"scalar-card--transparent":e.transparent,"scalar-card--borderless":e.borderless}])},[i.renderSlot(e.$slots,"default",{},void 0,!0)],2))}}),mr=X(x7,[["__scopeId","data-v-070c9f76"]]),_7={class:"scalar-card-header-slots"},C7={class:"scalar-card-header-slot scalar-card-header-title"},T7={class:"scalar-card-header-slot scalar-card-header-actions"},Q7=i.defineComponent({__name:"CardHeader",props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},setup(r){const e=r;return(t,n)=>(i.openBlock(),i.createBlock(mr,i.mergeProps(e,{class:"scalar-card-header"}),{default:i.withCtx(()=>[i.createElementVNode("div",_7,[i.createElementVNode("div",C7,[i.renderSlot(t.$slots,"default",{},void 0,!0)]),i.createElementVNode("div",T7,[i.renderSlot(t.$slots,"actions",{},void 0,!0)])])]),_:3},16))}}),qn=X(Q7,[["__scopeId","data-v-27665575"]]),E7=i.defineComponent({__name:"CardFooter",props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},setup(r){const e=r;return(t,n)=>(i.openBlock(),i.createBlock(mr,i.normalizeProps(i.guardReactiveProps(e)),{default:i.withCtx(()=>[i.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3},16))}}),qa=X(E7,[["__scopeId","data-v-c179b8a4"]]),A7=i.defineComponent({__name:"CardTabHeader",emits:["change"],setup(r,{emit:e}){const t=e,n=o=>{t("change",o)};return(o,s)=>(i.openBlock(),i.createBlock(qn,{class:"scalar-card-header-tabs"},{actions:i.withCtx(()=>[i.renderSlot(o.$slots,"actions",{},void 0,!0)]),default:i.withCtx(()=>[i.createVNode(i.unref(ye.TabGroup),{onChange:n},{default:i.withCtx(()=>[i.createVNode(i.unref(ye.TabList),{class:"tab-list custom-scroll"},{default:i.withCtx(()=>[i.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3})]),_:3})]),_:3}))}}),RS=X(A7,[["__scopeId","data-v-6a91b57c"]]),N7=i.defineComponent({__name:"CardTab",setup(r){return(e,t)=>(i.openBlock(),i.createBlock(i.unref(ye.Tab),{as:"template"},{default:i.withCtx(({selected:n})=>[i.createElementVNode("button",{class:i.normalizeClass({tab:!0,"tab-selected":n}),type:"button"},[i.createElementVNode("span",null,[i.renderSlot(e.$slots,"default",{},void 0,!0)])],2)]),_:3}))}}),VS=X(N7,[["__scopeId","data-v-f373ecc2"]]),R7={class:"selector"},V7=i.defineComponent({__name:"Authentication",props:{parsedSpec:{}},setup(r){const e=r,{authentication:t,setAuthentication:n}=Dn(),o=i.computed(()=>{var a,l,c;if(!t.preferredSecurityScheme)return!1;const s=(c=(l=(a=e.parsedSpec)==null?void 0:a.components)==null?void 0:l.securitySchemes)==null?void 0:c[t.preferredSecurityScheme];return!!s&&"type"in s&&!!s.type});return i.watch(()=>{var s,a;return(a=(s=e.parsedSpec)==null?void 0:s.components)==null?void 0:a.securitySchemes},()=>{var s,a;n({securitySchemes:(a=(s=e.parsedSpec)==null?void 0:s.components)==null?void 0:a.securitySchemes})},{deep:!0,immediate:!0}),i.onServerPrefetch(async()=>{const s=i.useSSRContext();await Ir(1),s.payload.data["useGlobalStore-authentication"]=t}),(s,a)=>i.unref(bw)(s.parsedSpec)?(i.openBlock(),i.createBlock(i.unref(Mn),{key:0},{default:i.withCtx(()=>[i.createVNode(i.unref(qn),{borderless:"",class:"authentication-header",transparent:""},{actions:i.withCtx(()=>{var l,c;return[i.createElementVNode("div",R7,[i.createVNode(i.unref(fw),{value:(c=(l=s.parsedSpec)==null?void 0:l.components)==null?void 0:c.securitySchemes},null,8,["value"])])]}),default:i.withCtx(()=>[i.createTextVNode(" Authentication ")]),_:1}),o.value?(i.openBlock(),i.createBlock(i.unref(mr),{key:0,class:"authentication-content",transparent:""},{default:i.withCtx(()=>{var l,c,d;return[i.unref(t).preferredSecurityScheme?(i.openBlock(),i.createBlock(i.unref(hw),{key:0,value:(d=(c=(l=s.parsedSpec)==null?void 0:l.components)==null?void 0:c.securitySchemes)==null?void 0:d[i.unref(t).preferredSecurityScheme]},null,8,["value"])):i.createCommentVNode("",!0)]}),_:1})):i.createCommentVNode("",!0)]),_:1})):i.createCommentVNode("",!0)}}),B7=X(V7,[["__scopeId","data-v-8eacbbdf"]]),Z7=["innerHTML"],I7=i.defineComponent({__name:"MarkdownRenderer",props:{value:{},withImages:{type:Boolean,default:!1}},setup(r){const e=r,t=i.ref(""),n=e.withImages?[]:["img","picture"];return i.watch(()=>e.value,async()=>{var s;const o=await Ty.unified().use(Cy).use(v$).use(w$,{allowDangerousHtml:!0}).use(y$).use(Hd,{...Hd.defaultSchema,tagNames:(s=Hd.defaultSchema.tagNames)==null?void 0:s.filter(a=>!n.includes(a))}).use(O$,{detect:!0}).use(m$,{target:"_blank"}).use(g$).use(b$).process(e.value);t.value=String(o.value)},{immediate:!0}),i.onServerPrefetch(async()=>await Ir(1)),(o,s)=>(i.openBlock(),i.createElementBlock("div",{class:"markdown",innerHTML:t.value},null,8,Z7))}}),Jt=X(I7,[["__scopeId","data-v-2a6ab139"]]),j7=["title","innerHTML"],D7=i.defineComponent({__name:"ServerItem",props:{value:{},variables:{}},setup(r){const e=r,{copyToClipboard:t}=ei(),n=i.computed(()=>{var a;const s=(((a=e.value)==null?void 0:a.url)??"").replace(/(<([^>]+)>)/gi,"");return $p(s,l=>{var d;const c=(d=e.variables)==null?void 0:d.find(u=>u.name===l);return`<span class="base-url-variable">${((c==null?void 0:c.value)??"")!==""?c==null?void 0:c.value:`{${l}}`}</span>`})});return(o,s)=>o.value?(i.openBlock(),i.createElementBlock("a",{key:0,class:"base-url",title:o.value.description,onClick:s[0]||(s[0]=a=>i.unref(t)(o.value.url)),innerHTML:n.value},null,8,j7)):i.createCommentVNode("",!0)}}),M7=X(D7,[["__scopeId","data-v-8df90bd1"]]),q7={key:0},X7=["for"],W7=["id","value","onInput"],z7=["value"],U7={class:"input-value"},L7=["id","value","onInput"],Y7=i.defineComponent({__name:"ServerVariables",props:{value:{}},setup(r){const{server:e,setServer:t}=js(),n=(s,a)=>{const l=a.target.value,c=[...e.variables],d=c.findIndex(u=>u.name===s);c[d].value=l,t({variables:c})},o=s=>{const a=e.variables.findIndex(l=>l.name===s);return e.variables[a].value??""};return(s,a)=>s.value?(i.openBlock(),i.createElementBlock("div",q7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.value,l=>(i.openBlock(),i.createElementBlock("div",{key:l.name,class:"input"},[i.createElementVNode("label",{for:`variable-${l.name}`},[i.createElementVNode("code",null,i.toDisplayString(l.name),1)],8,X7),l.enum?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createElementVNode("select",{id:`variable-${l.name}`,value:o(l.name),onInput:c=>n(l.name,c)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(l.enum,c=>(i.openBlock(),i.createElementBlock("option",{key:c,value:c},i.toDisplayString(c),9,z7))),128))],40,W7),i.createElementVNode("div",U7,i.toDisplayString(l.default),1)],64)):(i.openBlock(),i.createElementBlock("input",{key:1,id:`variable-${l.name}`,autocomplete:"off",placeholder:"value",spellcheck:"false",type:"text",value:o(l.name),onInput:c=>n(l.name,c)},null,40,L7))]))),128))])):i.createCommentVNode("",!0)}}),F7=X(Y7,[["__scopeId","data-v-a812e319"]]),H7={class:"scalar-card-serverlist-container"},G7={class:"server-item"},K7={class:"server-selector"},J7=["value"],eW=["value"],tW={class:"description"},rW=i.defineComponent({__name:"BaseUrl",setup(r){const{server:e,setServer:t}=js(),n=i.ref(0);return i.watch([n,()=>e.servers],()=>{var l,c,d;if(!e.servers.length)return;const o=((l=e.servers[n.value])==null?void 0:l.variables)??{},s=o?Object.keys(o).map(u=>{var h;return{name:u,value:((h=o[u].default)==null?void 0:h.toString())??""}}):[];JE((c=e.servers[n.value])==null?void 0:c.url).filter(u=>!o[u]).forEach(u=>{s.push({name:u,value:""})}),t({selectedServer:n.value,description:(d=e.servers[n.value])==null?void 0:d.description,variables:s})},{deep:!0}),(o,s)=>i.unref(e).servers.length>0?(i.openBlock(),i.createBlock(i.unref(Mn),{key:0},{default:i.withCtx(()=>[i.createVNode(i.unref(qn),{borderless:"",muted:""},{default:i.withCtx(()=>[i.createTextVNode(" Base URL ")]),_:1}),i.createVNode(i.unref(mr),{class:"scalar-card-serverlist"},{default:i.withCtx(()=>[i.createElementVNode("div",H7,[i.createElementVNode("div",G7,[i.createElementVNode("div",K7,[i.unref(e).servers.length>1?(i.openBlock(),i.createElementBlock("select",{key:0,value:n.value,onInput:s[0]||(s[0]=a=>n.value=parseInt(a.target.value,10))},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(e).servers,(a,l)=>(i.openBlock(),i.createElementBlock("option",{key:l,value:l},i.toDisplayString(a.url),9,eW))),128))],40,J7)):i.createCommentVNode("",!0),i.createVNode(M7,{value:i.unref(e).servers[n.value],variables:i.unref(e).variables},null,8,["value","variables"]),i.unref(e).servers.length>1?(i.openBlock(),i.createBlock(i.unref(Me),{key:1,icon:"ChevronDown"})):i.createCommentVNode("",!0)])]),i.createVNode(F7,{value:i.unref(e).variables},null,8,["value"])])]),_:1}),i.unref(e).description?(i.openBlock(),i.createBlock(i.unref(mr),{key:0,muted:""},{default:i.withCtx(()=>[i.createElementVNode("div",tW,[i.createVNode(i.unref(Jt),{value:i.unref(e).description},null,8,["value"])])]),_:1})):i.createCommentVNode("",!0)]),_:1})):i.createCommentVNode("",!0)}}),nW=X(rW,[["__scopeId","data-v-a88217c5"]]),BS=r=>(i.pushScopeId("data-v-7a44383e"),r=r(),i.popScopeId(),r),oW=["onClick"],sW=["value"],iW=["label"],aW=["value"],lW={class:"code-languages-background code-languages-icon__more"},cW={key:1,class:"code-languages-icon",height:"50",viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},dW=BS(()=>i.createElementVNode("g",{fill:"currentColor","fill-rule":"nonzero"},[i.createElementVNode("path",{d:"M10.71 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M21.13 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M31.55 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0"})],-1)),uW=[dW],hW=BS(()=>i.createElementVNode("span",null,"More",-1)),fW=i.defineComponent({__name:"ClientSelector",setup(r){const{httpClient:e,setHttpClient:t,getClientTitle:n,getTargetTitle:o}=Ld(),{availableTargets:s}=Ma(),a=i.ref(),l=[{targetKey:"shell",clientKey:"curl"},{targetKey:"ruby",clientKey:"native"},{targetKey:"node",clientKey:"undici"},{targetKey:"php",clientKey:"guzzle"},{targetKey:"python",clientKey:"python3"},{targetKey:"c",clientKey:"libcurl"}],c=h=>`programming-language-${h}`,d=h=>h.targetKey===e.targetKey&&h.clientKey===e.clientKey,u=h=>l.some(f=>f.targetKey===h.targetKey&&f.clientKey===h.clientKey);return(h,f)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"containerRef",ref:a,class:"client-libraries-content"},[(i.openBlock(),i.createElementBlock(i.Fragment,null,i.renderList(l,p=>i.createElementVNode("div",{key:p.clientKey,class:i.normalizeClass(["code-languages rendered-code-sdks",{"code-languages__active":d(p)}]),onClick:()=>i.unref(t)(p)},[i.createElementVNode("div",{class:i.normalizeClass(["code-languages-background",`code-languages-icon__${p.targetKey}`])},[i.createVNode(i.unref(Me),{class:"code-languages-icon",icon:c(p.targetKey)},null,8,["icon"])],2),i.createElementVNode("span",null,i.toDisplayString(i.unref(o)(p)),1)],10,oW)),64)),i.createElementVNode("div",{class:i.normalizeClass(["code-languages code-languages__select",{"code-languages__active":i.unref(e)&&!u(i.unref(e))}])},[i.createElementVNode("select",{class:"language-select",value:JSON.stringify(i.unref(e)),onInput:f[0]||(f[0]=p=>i.unref(t)(JSON.parse(p.target.value)))},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(s),p=>(i.openBlock(),i.createElementBlock("optgroup",{key:p.key,label:p.title},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(p.clients,m=>(i.openBlock(),i.createElementBlock("option",{key:m.key,value:JSON.stringify({targetKey:p.key,clientKey:m.key})},i.toDisplayString(i.unref(n)({targetKey:p.key,clientKey:m.key})),9,aW))),128))],8,iW))),128))],40,sW),i.createElementVNode("div",lW,[i.unref(e)&&!u(i.unref(e))?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(`code-languages-icon__${i.unref(e).targetKey}`)},[i.createVNode(i.unref(Me),{class:"code-languages-icon",icon:c(i.unref(e).targetKey)},null,8,["icon"])],2)):(i.openBlock(),i.createElementBlock("svg",cW,uW))]),hW],2)],512))}}),pW=X(fW,[["__scopeId","data-v-7a44383e"]]),mW=i.defineComponent({__name:"ClientLibraries",setup(r){const{httpTargetTitle:e,httpClientTitle:t}=Ld();return(n,o)=>(i.openBlock(),i.createBlock(i.unref(Mn),null,{default:i.withCtx(()=>[i.createVNode(i.unref(qn),{borderless:"",transparent:""},{default:i.withCtx(()=>[i.createTextVNode(" Client Libraries ")]),_:1}),i.createVNode(i.unref(mr),{frameless:"",transparent:""},{default:i.withCtx(()=>[i.createVNode(pW)]),_:1}),i.createVNode(i.unref(qa),{class:"selected-client card-footer",muted:""},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(t))+" "+i.toDisplayString(i.unref(e)),1)]),_:1})]),_:1}))}}),gW=X(mW,[["__scopeId","data-v-2a099868"]]),OW={},yW={class:"badge"};function bW(r,e){return i.openBlock(),i.createElementBlock("div",yW,[i.renderSlot(r.$slots,"default",{},void 0,!0)])}const ya=X(OW,[["render",bW],["__scopeId","data-v-190574ac"]]),jm=i.defineComponent({__name:"IntersectionObserver",props:{id:{},is:{}},emits:["intersecting"],setup(r,{emit:e}){const t=r,n=e,o=i.ref(),s=l=>{const c=l.offsetHeight;return`${c/2}px 0px ${c/2}px 0px`},a=l=>l.offsetHeight<window.innerHeight?.8:.5;return i.onMounted(()=>{if(o.value){const l={rootMargin:s(o.value),threshold:a(o.value)};je.useIntersectionObserver(o,([{isIntersecting:c}])=>{c&&t.id&&n("intersecting")},l)}}),(l,c)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(l.is??"div"),{id:l.id,ref_key:"intersectionObserverRef",ref:o},{default:i.withCtx(()=>[i.renderSlot(l.$slots,"default")]),_:3},8,["id"]))}}),vW=i.defineComponent({__name:"Section",props:{id:{},label:{}},setup(r){const e=r,{getSectionId:t,hash:n,isIntersectionEnabled:o,pathRouting:s}=gt(),{setCollapsedSidebarItem:a}=yr();function l(){var u;if(!e.label||!o.value)return;const c=new URL(window.location.href),d=e.id??"";s.value?c.pathname=s.value.basePath+"/"+d:c.hash=d,n.value=d,window.history.replaceState({},"",c),(u=e.id)!=null&&u.startsWith("model")&&a(t(e.id),!0)}return(c,d)=>(i.openBlock(),i.createBlock(jm,{is:"section",id:c.id,class:"section",onIntersecting:l},{default:i.withCtx(()=>[i.renderSlot(c.$slots,"default",{},void 0,!0)]),_:3},8,["id"]))}}),ti=X(vW,[["__scopeId","data-v-0494f9f3"]]),wW={class:"section-accordion-button-content"},kW={key:0,class:"section-accordion-button-actions"},SW={key:0,class:"section-accordion-description"},$W={class:"section-accordion-content-card"},PW=i.defineComponent({__name:"SectionAccordion",props:{id:{},transparent:{type:Boolean}},setup(r){const e=i.ref(),t=je.useElementHover(e);return(n,o)=>(i.openBlock(),i.createBlock(jm,{id:n.id,class:"section-wrapper"},{default:i.withCtx(()=>[i.createVNode(i.unref(ye.Disclosure),{as:"section",class:i.normalizeClass(["section-accordion",{"section-accordion-transparent":n.transparent}])},{default:i.withCtx(({open:s})=>[i.createVNode(i.unref(ye.DisclosureButton),{ref_key:"button",ref:e,class:"section-accordion-button"},{default:i.withCtx(()=>[i.createElementVNode("div",wW,[i.renderSlot(n.$slots,"title",{},void 0,!0)]),n.$slots.actions?(i.openBlock(),i.createElementBlock("div",kW,[i.renderSlot(n.$slots,"actions",{active:i.unref(t)||s},void 0,!0)])):i.createCommentVNode("",!0),i.createVNode(i.unref(Me),{class:"section-accordion-chevron",icon:s?"ChevronDown":"ChevronRight"},null,8,["icon"])]),_:2},1536),i.createVNode(i.unref(ye.DisclosurePanel),{class:"section-accordion-content"},{default:i.withCtx(()=>[n.$slots.description?(i.openBlock(),i.createElementBlock("div",SW,[i.renderSlot(n.$slots,"description",{},void 0,!0)])):i.createCommentVNode("",!0),i.createElementVNode("div",$W,[i.renderSlot(n.$slots,"default",{},void 0,!0)])]),_:3})]),_:3},8,["class"])]),_:3},8,["id"]))}}),ZS=X(PW,[["__scopeId","data-v-0264ba2b"]]),xW={},_W={class:"section-column"};function CW(r,e){return i.openBlock(),i.createElementBlock("div",_W,[i.renderSlot(r.$slots,"default",{},void 0,!0)])}const Es=X(xW,[["render",CW],["__scopeId","data-v-d64e7382"]]),TW={},QW={class:"section-columns"};function EW(r,e){return i.openBlock(),i.createElementBlock("div",QW,[i.renderSlot(r.$slots,"default",{},void 0,!0)])}const Dm=X(TW,[["render",EW],["__scopeId","data-v-8b9602bf"]]),AW={},NW={class:"section-container"};function RW(r,e){return i.openBlock(),i.createElementBlock("div",NW,[i.renderSlot(r.$slots,"default",{},void 0,!0)])}const Xa=X(AW,[["render",RW],["__scopeId","data-v-34b26958"]]),VW={class:"section-accordion-wrapper"},BW={class:"section-accordion-title"},ZW=i.defineComponent({__name:"SectionContainerAccordion",setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("div",VW,[i.createVNode(i.unref(ye.Disclosure),{as:"div",class:"section-accordion",defaultOpen:""},{default:i.withCtx(({open:n})=>[i.createVNode(i.unref(ye.DisclosureButton),{class:"section-accordion-button"},{default:i.withCtx(()=>[i.createVNode(i.unref(Me),{class:"section-accordion-chevron",icon:n?"ChevronDown":"ChevronRight"},null,8,["icon"]),i.createElementVNode("div",BW,[i.renderSlot(e.$slots,"title",{},void 0,!0)])]),_:2},1024),i.createVNode(i.unref(ye.DisclosurePanel),{class:"section-accordion-content"},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3})]),_:3})]))}}),IS=X(ZW,[["__scopeId","data-v-2049975e"]]),IW=i.defineComponent({__name:"LoadingSkeleton",props:{lines:{default:1}},setup(r){return(e,t)=>(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList([...Array(e.lines).keys()],n=>(i.openBlock(),i.createElementBlock("div",{key:n,class:i.normalizeClass(["loading",{"single-line":e.lines===1}])},null,2))),128))}}),jS=X(IW,[["__scopeId","data-v-c90b2c46"]]),jW={class:"section-content"},DW=i.defineComponent({__name:"SectionContent",props:{loading:{type:Boolean,default:!1}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("div",jW,[e.loading?(i.openBlock(),i.createBlock(jS,{key:1,lines:8})):i.renderSlot(e.$slots,"default",{key:0},void 0,!0)]))}}),ri=X(DW,[["__scopeId","data-v-9735459e"]]),MW=i.defineComponent({__name:"SectionHeader",props:{loading:{type:Boolean,default:!1},tight:{type:Boolean,default:!1},level:{default:1}},setup(r){return(e,t)=>e.loading?(i.openBlock(),i.createBlock(jS,{key:0})):(i.openBlock(),i.createBlock(i.resolveDynamicComponent(`h${e.level}`),{key:1,class:i.normalizeClass(["section-header",{tight:e.tight}])},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),Xn=X(MW,[["__scopeId","data-v-3bd1b9f0"]]),qW={key:0,class:"introduction-description"},XW=i.defineComponent({__name:"Description",props:{value:{}},setup(r){const e=r,n=`components-Content-Introduction-Description-sections${Qf(e.value)}`,o=je.computedAsync(async()=>{if(!e.value)return[];const u=await ua(e.value),h=Sp(u);return await Promise.all(bS(e.value,h).map(async f=>({heading:(await ua(f))[0],content:f})))},Ns[n]??[]),{getHeadingId:s,hash:a,isIntersectionEnabled:l,pathRouting:c}=gt();function d(u=""){if(!l.value)return;const h=new URL(window.location.href);c.value?h.pathname=c.value.basePath+"/"+u:h.hash=u,a.value=u,window.history.replaceState({},"",h)}return i.onServerPrefetch(async()=>{const u=i.useSSRContext();await Ir(1),u.payload.data[n]=o.value}),(u,h)=>u.value?(i.openBlock(),i.createElementBlock("div",qW,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(o),(f,p)=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:p},[f.heading?(i.openBlock(),i.createBlock(jm,{key:0,id:i.unref(s)(f.heading),class:"introduction-description-heading",onIntersecting:()=>d(i.unref(s)(f.heading))},{default:i.withCtx(()=>[i.createVNode(i.unref(Jt),{value:f.content,withImages:""},null,8,["value"])]),_:2},1032,["id","onIntersecting"])):(i.openBlock(),i.createBlock(i.unref(Jt),{key:1,value:f.content,withImages:""},null,8,["value"]))],64))),128))])):i.createCommentVNode("",!0)}}),WW=X(XW,[["__scopeId","data-v-5e475391"]]),zW={class:"download"},UW={class:"download-cta"},LW=i.defineComponent({__name:"DownloadSpec",setup(r){const e=i.inject(xp);return(t,n)=>{var o;return i.openBlock(),i.createElementBlock("div",zW,[i.createElementVNode("div",UW,[(o=i.unref(e))!=null&&o()?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("button",{key:0,class:"download-button",type:"button",onClick:n[0]||(n[0]=s=>i.unref(Vm).emit())}," Download OpenAPI Spec "))])])}}}),YW=X(LW,[["__scopeId","data-v-9a23d154"]]),FW={class:"badges"},HW={class:"sticky-cards"},GW=i.defineComponent({__name:"Introduction",props:{info:{},parsedSpec:{}},setup(r){const e=r,t=i.computed(()=>e.parsedSpec.openapi??e.parsedSpec.swagger??"");return(n,o)=>(i.openBlock(),i.createBlock(i.unref(Xa),null,{default:i.withCtx(()=>[i.createVNode(i.unref(ti),{class:"introduction-section"},{default:i.withCtx(()=>[i.createVNode(i.unref(ri),{loading:!n.info.description&&!n.info.title},{default:i.withCtx(()=>[i.createVNode(i.unref(Dm),null,{default:i.withCtx(()=>[i.createVNode(i.unref(Es),null,{default:i.withCtx(()=>[i.createElementVNode("div",FW,[n.info.version?(i.openBlock(),i.createBlock(i.unref(ya),{key:0},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(n.info.version),1)]),_:1})):i.createCommentVNode("",!0),t.value?(i.openBlock(),i.createBlock(i.unref(ya),{key:1},{default:i.withCtx(()=>[i.createTextVNode(" OAS "+i.toDisplayString(t.value),1)]),_:1})):i.createCommentVNode("",!0)]),i.createVNode(i.unref(Xn),{level:1,loading:!n.info.title,tight:""},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(n.info.title),1)]),_:1},8,["loading"]),i.createVNode(YW),i.createVNode(WW,{value:n.info.description},null,8,["value"])]),_:1}),n.$slots.aside?(i.openBlock(),i.createBlock(i.unref(Es),{key:0},{default:i.withCtx(()=>[i.createElementVNode("div",HW,[i.renderSlot(n.$slots,"aside",{},void 0,!0)])]),_:3})):i.createCommentVNode("",!0)]),_:3})]),_:3},8,["loading"]),i.renderSlot(n.$slots,"after",{},void 0,!0)]),_:3})]),_:3}))}}),KW=X(GW,[["__scopeId","data-v-a41e4af1"]]),JW=Symbol(),_f=je.useEventBus(JW),qc=i.defineComponent({__name:"Lazy",props:{id:{},isLazy:{type:Boolean,default:!0},lazyTimeout:{default:0}},setup(r){const e=r,t=(o=()=>{})=>{typeof window>"u"||("requestIdleCallback"in window?setTimeout(()=>window.requestIdleCallback(o),e.lazyTimeout):setTimeout(()=>i.nextTick(o),e.lazyTimeout??300))},n=i.ref(!e.isLazy);return e.isLazy?t(()=>{n.value=!0,e.id&&i.nextTick(()=>_f.emit({id:e.id}))}):e.id&&i.nextTick(()=>_f.emit({id:e.id})),(o,s)=>n.value?i.renderSlot(o.$slots,"default",{key:0}):i.createCommentVNode("",!0)}}),e9={key:0,class:"screenreader-only"},t9=i.defineComponent({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},setup(r){return(e,t)=>e.$props.if?(i.openBlock(),i.createElementBlock("span",e9,[i.renderSlot(e.$slots,"default",{},void 0,!0)])):i.renderSlot(e.$slots,"default",{key:1},void 0,!0)}}),DS=X(t9,[["__scopeId","data-v-681ebf2c"]]),r9=r=>(i.pushScopeId("data-v-d9801d4e"),r=r(),i.popScopeId(),r),n9={class:"label"},o9={class:"anchor"},s9=r9(()=>i.createElementVNode("span",null,"​",-1)),i9=i.defineComponent({__name:"Anchor",props:{id:{}},setup(r){const{copyToClipboard:e}=ei(),t=n=>{const o=new URL(window.location.href);return o.hash=n,o.toString()};return(n,o)=>(i.openBlock(),i.createElementBlock("span",n9,[i.renderSlot(n.$slots,"default",{},void 0,!0),i.createElementVNode("span",o9,[s9,i.createElementVNode("button",{class:"anchor-copy",type:"button",onClick:o[0]||(o[0]=i.withModifiers(s=>i.unref(e)(t(n.id)),["stop"]))},[i.createTextVNode(" # "),i.createVNode(DS,null,{default:i.withCtx(()=>[i.createTextVNode('Copy link to "'),i.renderSlot(n.$slots,"default",{},void 0,!0),i.createTextVNode('"')]),_:3})])])]))}}),Wn=X(i9,[["__scopeId","data-v-d9801d4e"]]),a9=["value"],l9=["label"],c9=["value"],d9=["value"],Mm=i.defineComponent({__name:"TextSelect",props:{modelValue:{},options:{}},emits:["update:modelValue"],setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["text-select",e.options.length===1?"text-select--single-option":""])},[i.createElementVNode("span",null,[i.renderSlot(e.$slots,"default")]),i.createElementVNode("select",{value:e.modelValue,onInput:t[0]||(t[0]=n=>e.$emit("update:modelValue",n.target.value))},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.options,n=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:n.value},[n.options?(i.openBlock(),i.createElementBlock("optgroup",{key:0,label:n.label},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.options,o=>(i.openBlock(),i.createElementBlock("option",{key:o.value,value:o.value},i.toDisplayString(o.label),9,c9))),128))],8,l9)):(i.openBlock(),i.createElementBlock("option",{key:n.value,value:n.value},i.toDisplayString(n.label),9,d9))],64))),128))],40,a9)],2))}}),u9={class:"request-header"},h9=i.defineComponent({__name:"CustomRequestExamples",props:{operation:{},examples:{}},setup(r){const e=r,t=i.ref(0),n=i.computed(()=>({C:"c","C#":"csharp",Go:"go",HTML:"html",Java:"java",JavaScript:"javascript",Kotlin:"kotlin","Objective-C":"objc",PowerShell:"powershell",Python:"python",Ruby:"ruby",Shell:"shell",Swift:"swift",TypeScript:"javascript",cURL:"shell"})[e.examples[t.value].lang]??e.examples[t.value].lang),o=i.computed(()=>e.examples[t.value]);i.watch(e.examples,()=>{e.examples[t.value]==="undefined"&&(t.value=0)});const{copyToClipboard:s}=ei();return(a,l)=>(i.openBlock(),i.createBlock(i.unref(Mn),{class:"dark-mode"},{default:i.withCtx(()=>[i.createVNode(i.unref(qn),{muted:""},{actions:i.withCtx(()=>[i.createVNode(Mm,{class:"request-client-picker",modelValue:t.value,options:a.examples.map((c,d)=>({value:d.toString(),label:c.label})),"onUpdate:modelValue":l[0]||(l[0]=c=>(t.value=parseInt(c),10))},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(o.value.label),1)]),_:1},8,["modelValue","options"]),i.createElementVNode("button",{class:"copy-button",type:"button",onClick:l[1]||(l[1]=c=>i.unref(s)(o.value.source.trim()))},[i.createVNode(i.unref(Me),{icon:"Clipboard",width:"10px"})])]),default:i.withCtx(()=>[i.createElementVNode("div",u9,[i.createVNode(i.unref(To),{class:"request-method",method:a.operation.httpVerb},null,8,["method"]),i.renderSlot(a.$slots,"header",{},void 0,!0)])]),_:3}),i.createVNode(i.unref(mr),{borderless:"",class:"request-editor-section custom-scroll",frameless:""},{default:i.withCtx(()=>[i.createVNode(i.unref(Ur),{content:o.value.source.trim(),lang:n.value,lineNumbers:""},null,8,["content","lang"])]),_:1}),a.$slots.footer?(i.openBlock(),i.createBlock(i.unref(qa),{key:0,class:"scalar-card-footer",contrast:""},{default:i.withCtx(()=>[i.renderSlot(a.$slots,"footer",{},void 0,!0)]),_:3})):i.createCommentVNode("",!0)]),_:3}))}}),f9=X(h9,[["__scopeId","data-v-18ba624d"]]),p9={class:"schema-type"},m9=["title"],g9=i.defineComponent({__name:"SchemaHeading",props:{value:{},name:{}},setup(r){return(e,t)=>{var n,o,s,a,l,c;return i.openBlock(),i.createElementBlock("span",p9,[i.createElementVNode("span",{class:"schema-type-icon",title:typeof e.value.type=="string"?e.value.type:Array.isArray(e.value.type)?e.value.type.join(" | "):"unkown type"},[e.value.type==="object"?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createTextVNode(" {} ")],64)):i.createCommentVNode("",!0),e.value.type==="array"?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode(" [] ")],64)):i.createCommentVNode("",!0),e.value.enum?(i.openBlock(),i.createElementBlock(i.Fragment,{key:2},[i.createTextVNode(" enum ")],64)):i.createCommentVNode("",!0)],8,m9),(o=(n=e.value)==null?void 0:n.xml)!=null&&o.name&&((a=(s=e.value)==null?void 0:s.xml)==null?void 0:a.name)!=="##default"?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createTextVNode(" <"+i.toDisplayString((c=(l=e.value)==null?void 0:l.xml)==null?void 0:c.name)+" /> ",1)],64)):e.name?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode(i.toDisplayString(e.name),1)],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:2},[i.createTextVNode(i.toDisplayString(e.value.type),1)],64))])}}}),MS=X(g9,[["__scopeId","data-v-2496db24"]]),O9={key:0,class:"property-detail-prefix"},y9={key:1,class:"property-detail-value"},b9={key:2,class:"property-detail-value"},v9=i.defineComponent({__name:"SchemaPropertyDetail",props:{truncate:{type:Boolean},code:{type:Boolean}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("span",{class:i.normalizeClass(["property-detail",{"property-detail-truncate":e.truncate}])},[e.$slots.prefix?(i.openBlock(),i.createElementBlock("div",O9,[i.renderSlot(e.$slots,"prefix",{},void 0,!0),i.createTextVNode("  ")])):i.createCommentVNode("",!0),e.code?(i.openBlock(),i.createElementBlock("code",y9,[i.renderSlot(e.$slots,"default",{},void 0,!0)])):(i.openBlock(),i.createElementBlock("span",b9,[i.renderSlot(e.$slots,"default",{},void 0,!0)]))],2))}}),nr=X(v9,[["__scopeId","data-v-16d94ef5"]]),w9={class:"property-heading"},k9={key:0,class:"property-name"},S9={key:1,class:"property-additional"},$9={key:2,class:"property-deprecated"},P9={key:3,class:"property-required"},x9={key:4,class:"property-details"},_9={key:5,class:"property-write-only"},C9={key:6,class:"property-read-only"},T9=i.defineComponent({__name:"SchemaPropertyHeading",props:{value:{},enum:{type:Boolean},required:{type:Boolean,default:!1},additional:{type:Boolean}},setup(r){const e=["oneOf","anyOf","allOf","not"];return(t,n)=>{var o,s,a,l;return i.openBlock(),i.createElementBlock("div",w9,[t.$slots.name?(i.openBlock(),i.createElementBlock("div",k9,[i.renderSlot(t.$slots,"name",{},void 0,!0)])):i.createCommentVNode("",!0),t.additional?(i.openBlock(),i.createElementBlock("div",S9," additional properties ")):i.createCommentVNode("",!0),(o=t.value)!=null&&o.deprecated?(i.openBlock(),i.createElementBlock("div",$9,[i.createVNode(i.unref(ya),null,{default:i.withCtx(()=>[i.createTextVNode("deprecated")]),_:1})])):i.createCommentVNode("",!0),t.required?(i.openBlock(),i.createElementBlock("div",P9," required ")):i.createCommentVNode("",!0),(s=t.value)!=null&&s.type?(i.openBlock(),i.createElementBlock("div",x9,[t.additional?(i.openBlock(),i.createBlock(nr,{key:0},{prefix:i.withCtx(()=>[i.createTextVNode("key:")]),default:i.withCtx(()=>[i.createTextVNode(" string ")]),_:1})):i.createCommentVNode("",!0),i.createVNode(nr,null,i.createSlots({default:i.withCtx(()=>{var c,d,u;return[(d=(c=t.value)==null?void 0:c.items)!=null&&d.type?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createTextVNode(i.toDisplayString(t.value.type)+" "+i.toDisplayString(t.value.items.type)+"[] ",1)],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode(i.toDisplayString(Array.isArray(t.value.type)?t.value.type.join(" | "):t.value.type)+" "+i.toDisplayString((u=t.value)!=null&&u.nullable?" | nullable":""),1)],64)),t.value.minItems||t.value.maxItems?(i.openBlock(),i.createElementBlock(i.Fragment,{key:2},[i.createTextVNode(i.toDisplayString(t.value.minItems)+"…"+i.toDisplayString(t.value.maxItems),1)],64)):i.createCommentVNode("",!0)]}),_:2},[t.additional?{name:"prefix",fn:i.withCtx(()=>[i.createTextVNode("value:")]),key:"0"}:void 0]),1024),t.value.minLength?(i.openBlock(),i.createBlock(nr,{key:1},{prefix:i.withCtx(()=>[i.createTextVNode("min:")]),default:i.withCtx(()=>[i.createTextVNode(" "+i.toDisplayString(t.value.minLength),1)]),_:1})):i.createCommentVNode("",!0),t.value.maxLength?(i.openBlock(),i.createBlock(nr,{key:2},{prefix:i.withCtx(()=>[i.createTextVNode("max:")]),default:i.withCtx(()=>[i.createTextVNode(" "+i.toDisplayString(t.value.maxLength),1)]),_:1})):i.createCommentVNode("",!0),t.value.uniqueItems?(i.openBlock(),i.createBlock(nr,{key:3},{default:i.withCtx(()=>[i.createTextVNode(" unique! ")]),_:1})):i.createCommentVNode("",!0),t.value.format?(i.openBlock(),i.createBlock(nr,{key:4},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(t.value.format),1)]),_:1})):i.createCommentVNode("",!0),t.value.minimum?(i.openBlock(),i.createBlock(nr,{key:5},{prefix:i.withCtx(()=>[i.createTextVNode("min:")]),default:i.withCtx(()=>[i.createTextVNode(" "+i.toDisplayString(t.value.minimum),1)]),_:1})):i.createCommentVNode("",!0),t.value.maximum?(i.openBlock(),i.createBlock(nr,{key:6},{prefix:i.withCtx(()=>[i.createTextVNode("max:")]),default:i.withCtx(()=>[i.createTextVNode(" "+i.toDisplayString(t.value.maximum),1)]),_:1})):i.createCommentVNode("",!0),t.value.pattern?(i.openBlock(),i.createBlock(nr,{key:7,code:"",truncate:""},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(t.value.pattern),1)]),_:1})):i.createCommentVNode("",!0),t.$props.enum?(i.openBlock(),i.createBlock(nr,{key:8},{default:i.withCtx(()=>[i.createTextVNode("enum")]),_:1})):i.createCommentVNode("",!0),t.value.default?(i.openBlock(),i.createBlock(nr,{key:9,truncate:""},{prefix:i.withCtx(()=>[i.createTextVNode("default:")]),default:i.withCtx(()=>[i.createTextVNode(" "+i.toDisplayString(t.value.default),1)]),_:1})):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),(a=t.value)!=null&&a.writeOnly?(i.openBlock(),i.createElementBlock("div",_9," write-only ")):(l=t.value)!=null&&l.readOnly?(i.openBlock(),i.createElementBlock("div",C9," read-only ")):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.filter(c=>{var d,u,h;return((d=t.value)==null?void 0:d[c])||((h=(u=t.value)==null?void 0:u.items)==null?void 0:h[c])}),c=>(i.openBlock(),i.createBlock(i.unref(ya),{key:c},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(c),1)]),_:2},1024))),128))])}}}),Q9=X(T9,[["__scopeId","data-v-3ad74b91"]]),E9=r=>(i.pushScopeId("data-v-9678055e"),r=r(),i.popScopeId(),r),A9={key:0,class:"property-description"},N9={key:1,class:"property-description"},R9={key:2,class:"property-example custom-scroll"},V9=E9(()=>i.createElementVNode("span",{class:"property-example-label"},"Example",-1)),B9={class:"property-example-value"},Z9={key:3,class:"property-enum"},I9={class:"property-enum-values"},j9={key:4,class:"children"},D9={key:0,class:"children"},M9={key:0,class:"property-rule"},q9={key:1,class:"property-rule"},X9=i.defineComponent({__name:"SchemaProperty",props:{value:{},level:{default:0},name:{},required:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},description:{},additional:{type:Boolean}},setup(r){const e={integer:{_default:"Integer numbers.",int32:"Signed 32-bit integers (commonly used integer type).",int64:"Signed 64-bit integers (long type)."},string:{date:"full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21","date-time":"the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z",password:"a hint to UIs to mask the input",byte:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",binary:"binary data, used to describe files"}},t=function(a,l){return l!=null&&l.properties?null:a||(l==null?void 0:l.description)||null},n=function(a){return!a||!e[a.type]?null:e[a.type][a.format||"_default"]},o=function(a){var l;return(a==null?void 0:a.enum)||((l=a==null?void 0:a.items)==null?void 0:l.enum)||null},s=["oneOf","anyOf","allOf","not"];return(a,l)=>{var c,d,u,h,f,p,m,g,O;return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["property",[`property--level-${a.level}`,{"property--compact":a.compact,"property--deprecated":(c=a.value)==null?void 0:c.deprecated}]])},[i.createVNode(Q9,{additional:a.additional,enum:!!o(a.value),required:a.required,value:a.value},i.createSlots({_:2},[a.name?{name:"name",fn:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(a.name),1)]),key:"0"}:void 0]),1032,["additional","enum","required","value"]),t(a.description,a.value)?(i.openBlock(),i.createElementBlock("div",A9,[i.createVNode(i.unref(Jt),{value:t(a.description,a.value)},null,8,["value"])])):n(a.value)?(i.openBlock(),i.createElementBlock("div",N9,[i.createVNode(i.unref(Jt),{value:n(a.value)||""},null,8,["value"])])):i.createCommentVNode("",!0),(d=a.value)!=null&&d.example||(h=(u=a.value)==null?void 0:u.items)!=null&&h.example?(i.openBlock(),i.createElementBlock("div",R9,[V9,i.createElementVNode("code",B9,i.toDisplayString(a.value.example||((f=a.value)==null?void 0:f.items.example)),1)])):i.createCommentVNode("",!0),o(a.value)?(i.openBlock(),i.createElementBlock("div",Z9,[i.createElementVNode("ul",I9,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o(a.value),y=>(i.openBlock(),i.createElementBlock("li",{key:y,class:"property-enum-value"},i.toDisplayString(y),1))),128))])])):i.createCommentVNode("",!0),((p=a.value)==null?void 0:p.type)==="object"&&((m=a.value)!=null&&m.properties||(g=a.value)!=null&&g.additionalProperties)?(i.openBlock(),i.createElementBlock("div",j9,[i.createVNode(go,{compact:a.compact,level:a.level+1,value:a.value},null,8,["compact","level","value"])])):i.createCommentVNode("",!0),(O=a.value)!=null&&O.items?(i.openBlock(),i.createElementBlock(i.Fragment,{key:5},[["object"].includes(a.value.items.type)?(i.openBlock(),i.createElementBlock("div",D9,[i.createVNode(go,{compact:a.compact,level:a.level+1,value:a.value.items},null,8,["compact","level","value"])])):i.createCommentVNode("",!0)],64)):i.createCommentVNode("",!0),(i.openBlock(),i.createElementBlock(i.Fragment,null,i.renderList(s,y=>{var b,v,k;return i.openBlock(),i.createElementBlock(i.Fragment,{key:y},[(b=a.value)!=null&&b[y]?(i.openBlock(),i.createElementBlock("div",M9,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.value[y],($,w)=>(i.openBlock(),i.createBlock(go,{key:w,compact:a.compact,level:a.level+1,value:$},null,8,["compact","level","value"]))),128))])):i.createCommentVNode("",!0),(k=(v=a.value)==null?void 0:v.items)!=null&&k[y]&&a.level<3?(i.openBlock(),i.createElementBlock("div",q9,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.value.items[y],($,w)=>(i.openBlock(),i.createBlock(go,{key:w,compact:a.compact,level:a.level+1,value:$},null,8,["compact","level","value"]))),128))])):i.createCommentVNode("",!0)],64)}),64))],2)}}}),mo=X(X9,[["__scopeId","data-v-9678055e"]]),W9=r=>(i.pushScopeId("data-v-af21f747"),r=r(),i.popScopeId(),r),z9={key:0,class:"schema-card-description"},U9=W9(()=>i.createElementVNode("polygon",{"fill-rule":"nonzero",points:"14 8 8 8 8 14 6 14 6 8 0 8 0 6 6 6 6 0 8 0 8 6 14 6"},null,-1)),L9=[U9],Y9=i.defineComponent({__name:"Schema",props:{value:{},level:{default:0},name:{},compact:{type:Boolean},noncollapsible:{type:Boolean}},setup(r){const e=r,t=i.computed(()=>!(e.noncollapsible||e.level===0)),n=o=>e.noncollapsible&&o.stopPropagation();return(o,s)=>typeof o.value=="object"&&Object.keys(o.value).length?(i.openBlock(),i.createBlock(i.unref(ye.Disclosure),{key:0,defaultOpen:o.noncollapsible},{default:i.withCtx(({open:a})=>{var l;return[i.createElementVNode("div",{class:i.normalizeClass(["schema-card",[`schema-card--level-${o.level}`,{"schema-card--compact":o.compact,"schema-card--open":a}]])},[(l=o.value)!=null&&l.description?(i.openBlock(),i.createElementBlock("div",z9,[i.createVNode(i.unref(Jt),{value:o.value.description},null,8,["value"])])):i.createCommentVNode("",!0),i.createElementVNode("div",{class:i.normalizeClass(["schema-properties",{"schema-properties-open":a}])},[i.withDirectives(i.createVNode(i.unref(ye.DisclosureButton),{as:o.noncollapsible?"div":"button",class:i.normalizeClass(["schema-card-title",{"schema-card-title--compact":o.compact}]),style:i.normalizeStyle({top:`calc(var(--refs-header-height) + calc(var(--schema-title-height) * ${o.level}))`}),onClickCapture:n},{default:i.withCtx(()=>[o.compact?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[t.value?(i.openBlock(),i.createElementBlock("svg",{key:0,class:i.normalizeClass(["schema-card-title-icon",{"schema-card-title-icon--open":a}]),fill:"currentColor",height:"14",viewBox:"0 0 14 14",width:"14",xmlns:"http://www.w3.org/2000/svg"},L9,2)):i.createCommentVNode("",!0),a?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode("Hide Child Attributes")],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:2},[i.createTextVNode("Show Child Attributes")],64))],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[t.value?(i.openBlock(),i.createBlock(i.unref(Me),{key:0,class:i.normalizeClass(["schema-card-title-icon",{"schema-card-title-icon--open":a}]),icon:"ChevronRight",size:"md"},null,8,["class"])):i.createCommentVNode("",!0),i.createVNode(MS,{name:o.name,value:o.value},null,8,["name","value"])],64))]),_:2},1032,["as","class","style"]),[[i.vShow,!(o.noncollapsible&&o.compact)]]),i.createVNode(i.unref(ye.DisclosurePanel),{static:o.noncollapsible},{default:i.withCtx(()=>{var c;return[o.value.properties||o.value.additionalProperties?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[o.value.properties?(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:0},i.renderList(Object.keys((c=o.value)==null?void 0:c.properties),d=>{var u;return i.openBlock(),i.createBlock(mo,{key:d,compact:o.compact,level:o.level,name:d,required:o.value.required&&o.value.required.length&&o.value.required.includes(d),value:(u=o.value.properties)==null?void 0:u[d]},null,8,["compact","level","name","required","value"])}),128)):i.createCommentVNode("",!0),o.value.additionalProperties?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[o.value.additionalProperties===!0||Object.keys(o.value.additionalProperties).length===0||!o.value.additionalProperties.type?(i.openBlock(),i.createBlock(mo,{key:0,additional:"",compact:o.compact,level:o.level,noncollapsible:"",value:{type:"any",...o.value.additionalProperties}},null,8,["compact","level","value"])):(i.openBlock(),i.createBlock(mo,{key:1,additional:"",compact:o.compact,level:o.level,noncollapsible:"",value:o.value.additionalProperties},null,8,["compact","level","value"]))],64)):i.createCommentVNode("",!0)],64)):(i.openBlock(),i.createBlock(mo,{key:1,compact:o.compact,level:o.level,name:o.value.name,value:o.value},null,8,["compact","level","name","value"]))]}),_:1},8,["static"])],2)],2)]}),_:1},8,["defaultOpen"])):i.createCommentVNode("",!0)}}),go=X(Y9,[["__scopeId","data-v-af21f747"]]),F9={class:"parameter-item"},H9={class:"parameter-item-container"},G9=i.defineComponent({__name:"ParameterItem",props:{parameter:{},showChildren:{type:Boolean,default:!1}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("li",F9,[i.createElementVNode("div",H9,[i.createVNode(i.unref(mo),{compact:"",description:e.parameter.description,level:0,name:e.parameter.name,noncollapsible:e.showChildren,required:e.parameter.required,value:e.parameter.schema},null,8,["description","name","noncollapsible","required","value"])])]))}}),K9=X(G9,[["__scopeId","data-v-f70ee55c"]]),J9={key:0,class:"parameters"},e8={class:"parameters-title"},t8={class:"parameter-list"},r8=i.defineComponent({__name:"Parameters",props:{parameters:{},showChildren:{type:Boolean,default:!1}},setup(r){return(e,t)=>{var n;return(n=e.parameters)!=null&&n.length?(i.openBlock(),i.createElementBlock("div",J9,[i.createElementVNode("div",e8,[i.renderSlot(e.$slots,"title",{},void 0,!0)]),i.createElementVNode("ul",t8,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.parameters,o=>(i.openBlock(),i.createBlock(K9,{key:o.name,parameter:o,showChildren:e.showChildren},null,8,["parameter","showChildren"]))),128))])])):i.createCommentVNode("",!0)}}}),ir=X(r8,[["__scopeId","data-v-45fca787"]]),n8={key:0},o8={class:"request-body-title"},s8=["value"],i8={key:0,class:"request-body-schema"},a8=i.defineComponent({__name:"RequestBody",props:{requestBody:{}},setup(r){var o;const e=r,t=i.computed(()=>{var s;return(s=e.requestBody)!=null&&s.content?Object.keys(e.requestBody.content):[]}),n=i.ref("application/json");return(o=e.requestBody)!=null&&o.content&&t.value.length>0&&(n.value=t.value[0]),(s,a)=>{var l,c,d,u;return e!=null&&e.requestBody?(i.openBlock(),i.createElementBlock("div",n8,[i.createElementVNode("div",o8,[i.renderSlot(s.$slots,"title",{},void 0,!0),i.createElementVNode("div",{class:i.normalizeClass(["request-body-title-select",{"request-body-title-no-select":t.value.length<=1}])},[i.createElementVNode("span",null,i.toDisplayString(n.value),1),e!=null&&e.requestBody&&t.value.length>1?i.withDirectives((i.openBlock(),i.createElementBlock("select",{key:0,"onUpdate:modelValue":a[0]||(a[0]=h=>n.value=h)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList((l=e.requestBody)==null?void 0:l.content,(h,f)=>(i.openBlock(),i.createElementBlock("option",{key:f,value:f},i.toDisplayString(f),9,s8))),128))],512)),[[i.vModelSelect,n.value]]):i.createCommentVNode("",!0)],2)]),(c=e==null?void 0:e.requestBody.content)!=null&&c[n.value]?(i.openBlock(),i.createElementBlock("div",i8,[i.createVNode(i.unref(go),{compact:"",noncollapsible:"",value:(u=(d=e==null?void 0:e.requestBody.content)==null?void 0:d[n.value])==null?void 0:u.schema},null,8,["value"])])):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0)}}}),qm=X(a8,[["__scopeId","data-v-52f52c85"]]),l8={class:"endpoint-details"},c8={class:"endpoint-description"},d8=i.defineComponent({__name:"EndpointDetails",props:{operation:{}},setup(r){const e=r,{parameterMap:t}=Zm(e),{responses:n}=Im(e.operation);return(o,s)=>{var a,l;return i.openBlock(),i.createElementBlock("div",l8,[i.createElementVNode("div",c8,[i.createVNode(i.unref(Jt),{value:o.operation.description,withImages:""},null,8,["value"])]),i.createVNode(ir,{parameters:i.unref(t).path},{title:i.withCtx(()=>[i.createTextVNode("Path Parameters")]),_:1},8,["parameters"]),i.createVNode(ir,{parameters:i.unref(t).query},{title:i.withCtx(()=>[i.createTextVNode("Query Parameters")]),_:1},8,["parameters"]),i.createVNode(ir,{parameters:i.unref(t).header},{title:i.withCtx(()=>[i.createTextVNode("Headers")]),_:1},8,["parameters"]),i.createVNode(ir,{parameters:i.unref(t).body,showChildren:""},{title:i.withCtx(()=>[i.createTextVNode("Body Parameters")]),_:1},8,["parameters"]),i.createVNode(ir,{parameters:i.unref(t).formData},{title:i.withCtx(()=>[i.createTextVNode("Form Data")]),_:1},8,["parameters"]),(a=o.operation.information)!=null&&a.requestBody?(i.openBlock(),i.createBlock(qm,{key:0,requestBody:(l=o.operation.information)==null?void 0:l.requestBody},{title:i.withCtx(()=>[i.createTextVNode("Body")]),_:1},8,["requestBody"])):i.createCommentVNode("",!0),i.createVNode(ir,{parameters:i.unref(n)},{title:i.withCtx(()=>[i.createTextVNode("Responses")]),_:1},8,["parameters"])])}}}),u8={key:0},h8=i.defineComponent({__name:"EndpointPath",props:{path:{},deprecated:{type:Boolean}},setup(r){const e=r,t=o=>o.startsWith("{")&&o.endsWith("}"),n=i.computed(()=>e.path.split(/({[^}]+})/));return(o,s)=>(i.openBlock(),i.createElementBlock("span",{class:i.normalizeClass(["endpoint-path",{deprecated:o.deprecated}])},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.value,(a,l)=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:l},[t(a)?(i.openBlock(),i.createElementBlock("em",u8,i.toDisplayString(a),1)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode(i.toDisplayString(a),1)],64))],64))),128))],2))}}),Cf=X(h8,[["__scopeId","data-v-a4eadd9b"]]);function Wa(r){return r.reduce((e,t)=>(e[t.name]=t.value,e),{})}function f8(r){return/\s|-/.test(r)}function jr(r,e=0){let t=[],n=" ".repeat(e),o=" ".repeat(e+2);for(const[s,a]of Object.entries(r)){let l=f8(s)?`'${s}'`:s;if(Array.isArray(a)){const c=a.map(d=>typeof d=="string"?`'${d}'`:d&&typeof d=="object"?jr(d,e+2):d).join(`, ${o}`);t.push(`${o}${l}: [${c}]`)}else if(a&&typeof a=="object")t.push(`${o}${l}: ${jr(a,e+2)}`);else if(typeof a=="string"){let c=`${a}`;if(a.startsWith("JSON.stringify")){const d=a.split(`
239
+ `,s),o===void 0){t(((n=s==null?void 0:s[0])==null?void 0:n.error)??"Failed to parse the OpenAPI file.");return}e(RX(structuredClone(o)))}catch(o){t(o)}}),RX=r=>{r.tags||(r.tags=[]),r.paths||(r.paths={});const e={};return Object.keys(r.webhooks??{}).forEach(n=>{var o;Object.keys(((o=r.webhooks)==null?void 0:o[n])??{}).forEach(s=>{var l,c,d;const a=((l=r.webhooks)==null?void 0:l[n])[s];e[n]===void 0&&(e[n]={}),e[n][s]={httpVerb:s,path:n,operationId:(a==null?void 0:a.operationId)||n,name:(a==null?void 0:a.summary)||n||"",description:(a==null?void 0:a.description)||"",pathParameters:(d=(c=r.paths)==null?void 0:c[n])==null?void 0:d.parameters,information:{...a}}})}),Object.keys(r.paths).forEach(n=>{Object.keys(r.paths[n]).filter(s=>Fy.includes(s.toUpperCase())).forEach(s=>{var c,d,u,h,f,p;const a=r.paths[n][s],l={httpVerb:s,path:n,operationId:a.operationId||n,name:a.summary||n||"",description:a.description||"",information:{...a},pathParameters:(d=(c=r.paths)==null?void 0:c[n])==null?void 0:d.parameters};if(!a.tags||a.tags.length===0){(u=r.tags)!=null&&u.find(g=>g.name==="default")||(h=r.tags)==null||h.push({name:"default",description:"",operations:[]});const m=(f=r.tags)==null?void 0:f.findIndex(g=>g.name==="default");m>=0&&((p=r.tags[m])==null||p.operations.push(l))}else a.tags.forEach(m=>{var y,b,v;const g=(y=r.tags)==null?void 0:y.findIndex(k=>k.name===m);g===-1&&((b=r.tags)==null||b.push({name:m,description:""}));const O=g!==-1?g:r.tags.length-1;typeof((v=r.tags[O])==null?void 0:v.operations)>"u"&&(r.tags[O].operations=[]),r.tags[O].operations.push(l)})})}),r.tags.forEach((n,o)=>{var a;const s=n["x-displayName"];s&&((a=r.tags)!=null&&a[o])&&(r.tags[o].name=s)}),{...r,webhooks:e}},Ir=r=>new Promise(e=>setTimeout(e,r)),VX=Symbol("downloadSpec"),Vm=je.useEventBus(VX);function yS(r){const e=rc(r),t=e?new Blob([r],{type:"application/json"}):new Blob([r],{type:"application/x-yaml"}),n=URL.createObjectURL(t),o=document.createElement("a");o.href=n,o.download=e?"spec.json":"spec.yaml",o.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})),setTimeout(()=>{window.URL.revokeObjectURL(n),o.remove()},100)}function bS(r,e=1){const t=new RegExp(`^(?=#{${e}} )`,"m");return r.split(t).map(n=>n.trim()).filter(Boolean)}const vS={toast:r=>null};function BX(r){vS.toast=r}function wS(){return{initializeToasts:BX,toast:vS.toast}}const ei=()=>{const{toast:r}=wS();return{copyToClipboard:t=>{navigator.clipboard.writeText(t).then(()=>{r("Copied to the clipboard.","info")})}}},mn=i.ref(!1);function ZX(r){var o;const e=()=>{var a,l;const s=typeof window<"u"?(a=window.localStorage)==null?void 0:a.getItem("isDark"):null;return typeof s=="string"?!!JSON.parse(s):!!(typeof window<"u"&&((l=window==null?void 0:window.matchMedia("(prefers-color-scheme: dark)"))!=null&&l.matches))},t=()=>{var s;mn.value=!mn.value,typeof window<"u"&&((s=window==null?void 0:window.localStorage)==null||s.setItem("isDark",JSON.stringify(mn.value)))};function n(s){var a;mn.value=s,typeof window<"u"&&((a=window==null?void 0:window.localStorage)==null||a.setItem("isDark",JSON.stringify(mn.value)))}return mn.value=(typeof window>"u"?null:JSON.parse(((o=window.localStorage)==null?void 0:o.getItem("isDark"))||"null"))??r??e(),i.watch(mn,s=>{typeof document>"u"||(document.body.classList.toggle("dark-mode",s),document.body.classList.toggle("light-mode",!s))},{immediate:!0}),{isDark:mn,toggleDarkMode:t,setDarkMode:n}}const IX=["unirest"],Pf=i.ref([...IX]),jX=Qy.availableTargets().map(r=>(r.key==="node"&&(r.default="undici",r.clients.unshift({description:"An HTTP/1.1 client, written from scratch for Node.js.",key:"undici",link:"https://github.com/nodejs/undici",title:"undici"})),r.clients=r.clients.filter(e=>!Pf.value.includes(e.key)),r)).filter(r=>r.clients.length);function Ma(){return{availableTargets:i.computed(()=>jX),excludedClients:i.readonly(Pf),setExcludedClients:e=>Pf.value=e}}const Bm=i.ref(Ns.hash??""),jc=i.ref(),DX=i.ref(!1),MX=r=>r.slug?`description/${r.slug}`:"",kS=r=>{var t;if(!jc.value)return"";const e=new RegExp("^"+((t=jc.value)==null?void 0:t.basePath)+"/?");return decodeURIComponent(r.replace(e,""))},qX=(r,e)=>{if(!r)return"webhooks";const t=Wc.slug(r),n=encodeURIComponent(t);return`webhook/${e}/${n}`},XX=r=>{if(!r)return"models";const e=Wc.slug(r);return`model/${encodeURIComponent(e)}`},WX=(r,e)=>`${SS(e)}/${r.httpVerb}${r.path}`,SS=({name:r})=>{const e=Wc.slug(r);return`tag/${encodeURIComponent(e)}`},zX=(r=Bm.value)=>{var n;const e=(n=r.match(/(tag\/[^/]+)/))==null?void 0:n[0],t=r.startsWith("model")?"models":"";return e??t},UX=()=>{Bm.value=jc.value?kS(window.location.pathname):decodeURIComponent(window.location.hash.replace(/^#/,""))},gt=()=>({hash:Bm,getWebhookId:qX,getModelId:XX,getHeadingId:MX,getOperationId:WX,getPathRoutingId:kS,getSectionId:zX,getTagId:SS,isIntersectionEnabled:DX,pathRouting:jc,updateHash:UX});function Zm(r){return{parameterMap:i.computed(()=>{var o;const t=((o=r.operation.information)==null?void 0:o.parameters)??[],n={path:[],query:[],header:[],body:[],formData:[]};return r.operation.pathParameters&&r.operation.pathParameters.forEach(s=>{s.in==="path"?n.path.push(s):s.in==="query"?n.query.push(s):s.in==="header"?n.header.push(s):s.in==="body"?n.body.push(s):s.in==="formData"&&n.formData.push(s)}),t&&t.forEach(s=>{s.in==="path"?n.path.push(s):s.in==="query"?n.query.push(s):s.in==="header"?n.header.push(s):s.in==="body"?n.body.push(s):s.in==="formData"&&n.formData.push(s)}),n})}}const ky=()=>({info:{title:"",description:"",termsOfService:"",version:"",license:{name:"",url:""},contact:{email:""}},externalDocs:{description:"",url:""},components:{schemas:{},securitySchemes:{}},servers:[],tags:[]}),LX=async({url:r,content:e},t)=>{if(r)return ww(r)?await ig(r,t):await ig(r);const n=typeof e=="function"?e():e;if(typeof n=="string")return n;if(typeof n=="object")return JSON.stringify(n)};function $S({specConfig:r,proxy:e}){const t=i.ref(""),n=i.reactive(ky()),o=i.ref(null);function s(a){return a?OS(a).then(l=>{o.value=null,Object.assign(n,{servers:[],...l})}).catch(l=>{o.value=l.toString()}):Object.assign(n,ky())}return i.watch(()=>i.toValue(r),async a=>{var l;if(a){const c=(l=await LX(a,i.toValue(e)))==null?void 0:l.trim();typeof c=="string"&&(t.value=c)}},{immediate:!0,deep:!0}),i.watch(t,()=>{s(t.value)}),{rawSpec:t,parsedSpec:n,specErrors:o}}function Im(r){return{responses:i.computed(()=>{if(!r.information)return[];const{responses:t}=r.information,n=[];return t&&Object.keys(t).forEach(o=>{n.push({name:o,description:t[o].description})}),n})}}const{getHeadingId:YX,getModelId:Sy,getOperationId:$y,getSectionId:FX,getTagId:PS,getWebhookId:Lu,hash:xf}=gt(),He=i.ref(void 0),xS=i.ref(!1),Dc=i.reactive(Ns["useSidebarContent-collapsedSidebarItems"]??{});function HX(r){Dc[r]=!Dc[r]}function Yu(r,e){Dc[r]=e}const _S=i.ref([]),GX=async r=>{const e=await ua(r),t=Sp(e);return e.filter(n=>n.depth===t)},CS=i.computed(()=>{var u,h,f,p,m,g,O,y,b,v,k,$,w;const{state:r}=zc(),e={},{openApi:{globalSecurity:t}}=Hc(),n=_S.value.map(S=>({id:YX(S),title:S.value.toUpperCase(),show:!r.showApiClient})),o=(h=(u=He.value)==null?void 0:u.tags)==null?void 0:h[0],a=o&&(S=>(S==null?void 0:S.length)!==1||S[0].name!=="default"||S[0].description!=="")((f=He.value)==null?void 0:f.tags)&&((p=o.operations)==null?void 0:p.length)>0?(g=(m=He.value)==null?void 0:m.tags)==null?void 0:g.map(S=>{var _;return{id:PS(S),title:S.name.toUpperCase(),show:!0,children:(_=S.operations)==null?void 0:_.map(T=>{var V;const N=$y(T,S),j=T.name??T.path;return e[N]=j,{id:N,title:j,httpVerb:T.httpVerb,deprecated:((V=T.information)==null?void 0:V.deprecated)??!1,show:!0,select:()=>{r.showApiClient&&Tc(T,t)}}})}}):(O=o==null?void 0:o.operations)==null?void 0:O.map(S=>{var N;const _=$y(S,o),T=S.name??S.path;return e[_]=T,{id:_,title:T,httpVerb:S.httpVerb,deprecated:((N=S.information)==null?void 0:N.deprecated)??!1,show:!0,select:()=>{r.showApiClient&&Tc(S,t)}}}),l=Pp(He.value)&&!xS.value?[{id:Sy(),title:"MODELS",show:!r.showApiClient,children:Object.keys(((b=(y=He.value)==null?void 0:y.components)==null?void 0:b.schemas)??{}).map(S=>{var T,N,j;const _=Sy(S);return e[_]=S,{id:_,title:((j=(N=(T=He==null?void 0:He.value)==null?void 0:T.components)==null?void 0:N.schemas)==null?void 0:j[S]).title??S,show:!r.showApiClient}})}]:[],c=(v=He.value)!=null&&v["x-tagGroups"]?($=(k=He.value)==null?void 0:k["x-tagGroups"])==null?void 0:$.map(S=>{const _=[];return S.tags.map(N=>{if(N.toUpperCase()==="MODELS"&&l.length>0)_.push(l[0]);else{const j=a==null?void 0:a.find(V=>V.title===N.toUpperCase());j&&_.push(j)}}),{id:S.name,title:S.name.toUpperCase(),children:_,show:!0,isGroup:!0}}):void 0,d=vw(He.value)?[{id:Lu(),title:"WEBHOOKS",show:!r.showApiClient,children:Object.keys(((w=He.value)==null?void 0:w.webhooks)??{}).map(S=>{var T,N;const _=Lu(S);return e[_]=S,Object.keys(((N=(T=He.value)==null?void 0:T.webhooks)==null?void 0:N[S])??{}).map(j=>{var V,H,z;return{id:Lu(S,j),title:(z=(H=(V=He.value)==null?void 0:V.webhooks)==null?void 0:H[S][j])==null?void 0:z.name,httpVerb:j,show:!r.showApiClient}})}).flat()}]:[];return{entries:[...n,...c??a??[],...c?[]:d,...c?[]:l],titles:e}}),KX=i.ref(!1),JX=i.computed(()=>{var r,e;return((e=(r=CS.value)==null?void 0:r.titles)==null?void 0:e[xf.value])??""});function yr(r){return r!=null&&r.parsedSpec&&(He.value=r.parsedSpec,i.watch(()=>{var e,t;return(t=(e=He.value)==null?void 0:e.tags)==null?void 0:t.length},()=>{var e,t;if(xf.value){const n=FX(xf.value);n&&Yu(n,!0)}else{const n=(t=(e=He.value)==null?void 0:e.tags)==null?void 0:t[0];n&&Yu(PS(n),!0)}}),i.watch(()=>{var e,t;return(t=(e=He.value)==null?void 0:e.info)==null?void 0:t.description},async()=>{var t,n;const e=(n=(t=He.value)==null?void 0:t.info)==null?void 0:n.description;return e?_S.value=await GX(e):[]})),{breadcrumb:JX,items:CS,isSidebarOpen:KX,collapsedSidebarItems:Dc,toggleCollapsedSidebarItem:HX,setCollapsedSidebarItem:Yu,hideModels:xS}}const e7=i.defineComponent({__name:"SidebarHttpBadge",props:{active:{type:Boolean},method:{}},setup(r){return(e,t)=>(i.openBlock(),i.createBlock(i.unref(To),{as:"div",class:i.normalizeClass(["sidebar-heading-type",{"sidebar-heading-type-active":e.active}]),method:e.method,property:"--method-color",short:""},null,8,["class","method"]))}}),TS=X(e7,[["__scopeId","data-v-9b30feef"]]),t7=["id"],r7={key:0,class:"sidebar-heading-chevron"},n7=["href"],o7={class:"sidebar-heading-link-title"},s7={key:1,class:"sidebar-heading-link-method"},i7={key:1,class:"action-menu"},a7=i.defineComponent({__name:"SidebarElement",props:{id:{},item:{},isActive:{type:Boolean},hasChildren:{type:Boolean},open:{type:Boolean}},emits:["toggleOpen"],setup(r,{emit:e}){const t=r,n=e,{hash:o,isIntersectionEnabled:s,pathRouting:a}=gt(),l=async()=>{var u,h;t.hasChildren&&n("toggleOpen"),(h=(u=t.item)==null?void 0:u.select)==null||h.call(u),t.open&&(s.value=!1,await Ir(100)),s.value=!0},c=()=>{if(a.value)return a.value.basePath+"/"+t.item.id;{const u=new URL(window.location.href);return u.hash=t.item.id,`${u.pathname}${u.search}${u.hash}`}},d=async u=>{var h,f;if(a.value){u.preventDefault(),t.hasChildren&&n("toggleOpen"),(f=(h=t.item)==null?void 0:h.select)==null||f.call(h),n("toggleOpen"),s.value=!1,o.value=t.item.id;const p=new URL(window.location.href);p.pathname=a.value.basePath+"/"+t.item.id,window.history.pushState({},"",p),ha(t.item.id),await Ir(100),s.value=!0}};return(u,h)=>{var f,p;return i.openBlock(),i.createElementBlock("li",{id:u.id,class:"sidebar-group-item"},[i.createElementVNode("div",{class:i.normalizeClass(["sidebar-heading",{"sidebar-group-item__folder":u.hasChildren,active_page:u.isActive,deprecated:u.item.deprecated??!1}]),onClick:l},[u.hasChildren?(i.openBlock(),i.createElementBlock("p",r7,[i.createVNode(i.unref(ud),{class:"toggle-nested-icon",icon:u.open?"ChevronDown":"ChevronRight",label:"Toggle group",size:"sm",onClick:i.withModifiers(l,["stop"])},null,8,["icon"]),i.createTextVNode("   ")])):i.createCommentVNode("",!0),i.createElementVNode("a",{class:"sidebar-heading-link",href:c(),onClick:d},[(p=(f=u.item)==null?void 0:f.icon)!=null&&p.src?(i.openBlock(),i.createBlock(i.unref(Me),{key:0,class:"sidebar-icon",icon:u.item.icon.src},null,8,["icon"])):i.createCommentVNode("",!0),i.createElementVNode("p",o7,i.toDisplayString(u.item.title),1),u.item.httpVerb&&!u.hasChildren?(i.openBlock(),i.createElementBlock("p",s7,[i.createTextVNode("   "),i.createVNode(TS,{active:u.isActive,method:u.item.httpVerb},null,8,["active","method"])])):i.createCommentVNode("",!0)],8,n7)],2),u.open?i.renderSlot(u.$slots,"default",{key:0},void 0,!0):i.createCommentVNode("",!0),u.$slots["action-menu"]?(i.openBlock(),i.createElementBlock("div",i7,[i.renderSlot(u.$slots,"action-menu",{},void 0,!0)])):i.createCommentVNode("",!0)],8,t7)}}}),Cl=X(a7,[["__scopeId","data-v-fe207450"]]),l7=i.defineComponent({__name:"SidebarGroup",props:{level:{}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("ul",{class:"sidebar-group sidebar-indent-nested",style:i.normalizeStyle({"--scalar-sidebar-level":e.level})},[i.renderSlot(e.$slots,"default",{},void 0,!0)],4))}}),Fu=X(l7,[["__scopeId","data-v-58237183"]]),c7={class:"sidebar"},d7={class:"sidebar-group-title"},u7=-160,h7=i.defineComponent({__name:"Sidebar",props:{parsedSpec:{}},setup(r){const e=r,{hash:t,isIntersectionEnabled:n}=gt(),{items:o,toggleCollapsedSidebarItem:s,collapsedSidebarItems:a}=yr({parsedSpec:e.parsedSpec}),l=i.ref(null),c=i.ref(!0);i.watch(t,u=>{!n.value||c.value||typeof window>"u"||d(u)});const d=u=>{var p,m,g,O;const h=document.getElementById(`sidebar-${u}`);if(!h||!l.value)return;let f=u7;h.getAttribute("data-sidebar-type")==="heading"?f+=h.offsetTop+((p=h.getElementsByClassName("sidebar-heading"))==null?void 0:p[0]).offsetHeight:f+=h.offsetTop+(((m=h.parentElement)==null?void 0:m.offsetTop)??0)+(((O=(g=h.parentElement)==null?void 0:g.parentElement)==null?void 0:O.offsetTop)??0),l.value.scrollTo({top:f,behavior:"smooth"})};return i.onMounted(()=>{setTimeout(()=>d(t.value),500),c.value=!1}),(u,h)=>(i.openBlock(),i.createElementBlock("div",c7,[i.renderSlot(u.$slots,"sidebar-start",{},void 0,!0),i.createElementVNode("div",{ref_key:"scrollerEl",ref:l,class:"sidebar-pages custom-scroll custom-scroll-self-contain-overflow"},[i.createVNode(Fu,{level:0},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(o).entries,f=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:f.id},[f.isGroup?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createElementVNode("li",d7,i.toDisplayString(f.title),1),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(f.children,p=>(i.openBlock(),i.createBlock(Cl,{key:p.id,id:`sidebar-${p.id}`,"data-sidebar-type":"heading",hasChildren:p.children&&p.children.length>0,isActive:i.unref(t)===p.id,item:{id:p.id,title:p.title,select:p.select,httpVerb:p.httpVerb,deprecated:p.deprecated??!1},open:i.unref(a)[p.id]??!1,onToggleOpen:async()=>{c.value=!0,i.unref(s)(p.id),await i.unref(Ir)(100),c.value=!1}},{default:i.withCtx(()=>{var m;return[p.children&&((m=p.children)==null?void 0:m.length)>0?(i.openBlock(),i.createBlock(Fu,{key:0,level:2},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(p.children,g=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:g.id},[f.show?(i.openBlock(),i.createBlock(Cl,{key:0,id:`sidebar-${g.id}`,isActive:i.unref(t)===g.id,item:{id:g.id,title:g.title,select:g.select,httpVerb:g.httpVerb,deprecated:g.deprecated??!1}},null,8,["id","isActive","item"])):i.createCommentVNode("",!0)],64))),128))]),_:2},1024)):i.createCommentVNode("",!0)]}),_:2},1032,["id","hasChildren","isActive","item","open","onToggleOpen"]))),128))],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[f.show?(i.openBlock(),i.createBlock(Cl,{key:0,id:`sidebar-${f.id}`,"data-sidebar-type":"heading",hasChildren:f.children&&f.children.length>0,isActive:i.unref(t)===f.id,item:{id:f.id,title:f.title,select:f.select,httpVerb:f.httpVerb,deprecated:f.deprecated??!1},open:i.unref(a)[f.id]??!1,onToggleOpen:async()=>{c.value=!0,i.unref(s)(f.id),await i.unref(Ir)(100),c.value=!1}},{default:i.withCtx(()=>{var p;return[f.children&&((p=f.children)==null?void 0:p.length)>0?(i.openBlock(),i.createBlock(Fu,{key:0,level:1},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(f.children,m=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:m.id},[f.show?(i.openBlock(),i.createBlock(Cl,{key:0,id:`sidebar-${m.id}`,isActive:i.unref(t)===m.id,item:{id:m.id,title:m.title,select:m.select,httpVerb:m.httpVerb,deprecated:m.deprecated??!1}},null,8,["id","isActive","item"])):i.createCommentVNode("",!0)],64))),128))]),_:2},1024)):i.createCommentVNode("",!0)]}),_:2},1032,["id","hasChildren","isActive","item","open","onToggleOpen"])):i.createCommentVNode("",!0)],64))],64))),128))]),_:1})],512),i.renderSlot(u.$slots,"sidebar-end",{},void 0,!0)]))}}),Mc=X(h7,[["__scopeId","data-v-404804be"]]),f7={key:0,class:"api-client-drawer"},p7={class:"api-client-container"},m7={class:"scalar-api-client-height"},g7={key:0,class:"t-doc__sidebar"},O7={key:1,class:"t-doc__sidebar"},y7=i.defineComponent({__name:"ApiClientModal",props:{parsedSpec:{},overloadShow:{type:Boolean},tabMode:{type:Boolean},activeTab:{},proxyUrl:{}},emits:["toggleDarkMode"],setup(r){const{hideApiClient:e,state:t}=zc(),n=je.useMediaQuery("(max-width: 1000px)");return(o,s)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.unref(t).showApiClient||o.overloadShow?(i.openBlock(),i.createElementBlock("div",f7,[i.createElementVNode("div",p7,[i.renderSlot(o.$slots,"header",{},void 0,!0),i.createElementVNode("div",m7,[o.tabMode?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[o.activeTab==="sidebar"?(i.openBlock(),i.createElementBlock("div",g7,[i.withDirectives(i.createVNode(i.unref(Mc),{parsedSpec:o.parsedSpec},null,8,["parsedSpec"]),[[i.vShow,!i.unref(n)]])])):i.renderSlot(o.$slots,"active-tab",{key:1},void 0,!0)],64)):(i.openBlock(),i.createElementBlock("div",O7,[i.withDirectives(i.createVNode(i.unref(Mc),{parsedSpec:o.parsedSpec},{"sidebar-start":i.withCtx(()=>[i.renderSlot(o.$slots,"sidebar-start",{},void 0,!0)]),"sidebar-end":i.withCtx(()=>[i.renderSlot(o.$slots,"sidebar-end",{},void 0,!0)]),_:3},8,["parsedSpec"]),[[i.vShow,!i.unref(n)]])])),i.createVNode(i.unref(hB),{proxyUrl:o.proxyUrl,theme:"none",withDefaultFonts:!1,onEscapeKeyPress:i.unref(e)},null,8,["proxyUrl","onEscapeKeyPress"])])])])):i.createCommentVNode("",!0),i.unref(t).showApiClient?(i.openBlock(),i.createElementBlock("div",{key:1,class:"api-client-drawer-exit",onClick:s[0]||(s[0]=(...a)=>i.unref(e)&&i.unref(e)(...a))})):i.createCommentVNode("",!0)],64))}}),QS=X(y7,[["__scopeId","data-v-114fcf2a"]]),ES=()=>({targetKey:"shell",clientKey:"curl"}),Qs=i.reactive(ES());function b7(){kw(Qs,ES())}function AS(r){var t;const{availableTargets:e}=Ma();return((t=e.value.find(n=>n.key===r.targetKey))==null?void 0:t.title)??r.targetKey}function NS(r){var t,n;const{availableTargets:e}=Ma();return((n=(t=e.value.find(o=>o.key===r.targetKey))==null?void 0:t.clients.find(o=>o.key===r.clientKey))==null?void 0:n.title)??r.clientKey}const v7=r=>{Object.assign(Qs,{...Qs,...r})},w7=i.computed(()=>AS(Qs)),k7=i.computed(()=>NS(Qs)),Ld=()=>({httpClient:i.readonly(Qs),resetState:b7,setHttpClient:v7,httpTargetTitle:w7,httpClientTitle:k7,getClientTitle:NS,getTargetTitle:AS}),S7={},$7={class:"scalar-card"};function P7(r,e){return i.openBlock(),i.createElementBlock("div",$7,[i.renderSlot(r.$slots,"default",{},void 0,!0)])}const Mn=X(S7,[["render",P7],["__scopeId","data-v-dcabb131"]]),x7=i.defineComponent({__name:"CardContent",props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["scalar-card-content",{"scalar-card--muted":e.muted,"scalar-card--contrast":e.contrast,"scalar-card--frameless":e.frameless,"scalar-card--transparent":e.transparent,"scalar-card--borderless":e.borderless}])},[i.renderSlot(e.$slots,"default",{},void 0,!0)],2))}}),mr=X(x7,[["__scopeId","data-v-070c9f76"]]),_7={class:"scalar-card-header-slots"},C7={class:"scalar-card-header-slot scalar-card-header-title"},T7={class:"scalar-card-header-slot scalar-card-header-actions"},Q7=i.defineComponent({__name:"CardHeader",props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},setup(r){const e=r;return(t,n)=>(i.openBlock(),i.createBlock(mr,i.mergeProps(e,{class:"scalar-card-header"}),{default:i.withCtx(()=>[i.createElementVNode("div",_7,[i.createElementVNode("div",C7,[i.renderSlot(t.$slots,"default",{},void 0,!0)]),i.createElementVNode("div",T7,[i.renderSlot(t.$slots,"actions",{},void 0,!0)])])]),_:3},16))}}),qn=X(Q7,[["__scopeId","data-v-27665575"]]),E7=i.defineComponent({__name:"CardFooter",props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},setup(r){const e=r;return(t,n)=>(i.openBlock(),i.createBlock(mr,i.normalizeProps(i.guardReactiveProps(e)),{default:i.withCtx(()=>[i.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3},16))}}),qa=X(E7,[["__scopeId","data-v-c179b8a4"]]),A7=i.defineComponent({__name:"CardTabHeader",emits:["change"],setup(r,{emit:e}){const t=e,n=o=>{t("change",o)};return(o,s)=>(i.openBlock(),i.createBlock(qn,{class:"scalar-card-header-tabs"},{actions:i.withCtx(()=>[i.renderSlot(o.$slots,"actions",{},void 0,!0)]),default:i.withCtx(()=>[i.createVNode(i.unref(ye.TabGroup),{onChange:n},{default:i.withCtx(()=>[i.createVNode(i.unref(ye.TabList),{class:"tab-list custom-scroll"},{default:i.withCtx(()=>[i.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3})]),_:3})]),_:3}))}}),RS=X(A7,[["__scopeId","data-v-6a91b57c"]]),N7=i.defineComponent({__name:"CardTab",setup(r){return(e,t)=>(i.openBlock(),i.createBlock(i.unref(ye.Tab),{as:"template"},{default:i.withCtx(({selected:n})=>[i.createElementVNode("button",{class:i.normalizeClass({tab:!0,"tab-selected":n}),type:"button"},[i.createElementVNode("span",null,[i.renderSlot(e.$slots,"default",{},void 0,!0)])],2)]),_:3}))}}),VS=X(N7,[["__scopeId","data-v-f373ecc2"]]),R7={class:"selector"},V7=i.defineComponent({__name:"Authentication",props:{parsedSpec:{}},setup(r){const e=r,{authentication:t,setAuthentication:n}=Dn(),o=i.computed(()=>{var a,l,c;if(!t.preferredSecurityScheme)return!1;const s=(c=(l=(a=e.parsedSpec)==null?void 0:a.components)==null?void 0:l.securitySchemes)==null?void 0:c[t.preferredSecurityScheme];return!!s&&"type"in s&&!!s.type});return i.watch(()=>{var s,a;return(a=(s=e.parsedSpec)==null?void 0:s.components)==null?void 0:a.securitySchemes},()=>{var s,a;n({securitySchemes:(a=(s=e.parsedSpec)==null?void 0:s.components)==null?void 0:a.securitySchemes})},{deep:!0,immediate:!0}),i.onServerPrefetch(async()=>{const s=i.useSSRContext();await Ir(1),s.payload.data["useGlobalStore-authentication"]=t}),(s,a)=>i.unref(bw)(s.parsedSpec)?(i.openBlock(),i.createBlock(i.unref(Mn),{key:0},{default:i.withCtx(()=>[i.createVNode(i.unref(qn),{borderless:"",class:"authentication-header",transparent:""},{actions:i.withCtx(()=>{var l,c;return[i.createElementVNode("div",R7,[i.createVNode(i.unref(fw),{value:(c=(l=s.parsedSpec)==null?void 0:l.components)==null?void 0:c.securitySchemes},null,8,["value"])])]}),default:i.withCtx(()=>[i.createTextVNode(" Authentication ")]),_:1}),o.value?(i.openBlock(),i.createBlock(i.unref(mr),{key:0,class:"authentication-content",transparent:""},{default:i.withCtx(()=>{var l,c,d;return[i.unref(t).preferredSecurityScheme?(i.openBlock(),i.createBlock(i.unref(hw),{key:0,value:(d=(c=(l=s.parsedSpec)==null?void 0:l.components)==null?void 0:c.securitySchemes)==null?void 0:d[i.unref(t).preferredSecurityScheme]},null,8,["value"])):i.createCommentVNode("",!0)]}),_:1})):i.createCommentVNode("",!0)]),_:1})):i.createCommentVNode("",!0)}}),B7=X(V7,[["__scopeId","data-v-8eacbbdf"]]),Z7=["innerHTML"],I7=i.defineComponent({__name:"MarkdownRenderer",props:{value:{},withImages:{type:Boolean,default:!1}},setup(r){const e=r,t=i.ref(""),n=e.withImages?[]:["img","picture"];return i.watch(()=>e.value,async()=>{var s;const o=await Ty.unified().use(Cy).use(v$).use(w$,{allowDangerousHtml:!0}).use(y$).use(Hd,{...Hd.defaultSchema,tagNames:(s=Hd.defaultSchema.tagNames)==null?void 0:s.filter(a=>!n.includes(a))}).use(O$,{detect:!0}).use(m$,{target:"_blank"}).use(g$).use(b$).process(e.value);t.value=String(o.value)},{immediate:!0}),i.onServerPrefetch(async()=>await Ir(1)),(o,s)=>(i.openBlock(),i.createElementBlock("div",{class:"markdown",innerHTML:t.value},null,8,Z7))}}),Jt=X(I7,[["__scopeId","data-v-a00e4bdd"]]),j7=["title","innerHTML"],D7=i.defineComponent({__name:"ServerItem",props:{value:{},variables:{}},setup(r){const e=r,{copyToClipboard:t}=ei(),n=i.computed(()=>{var a;const s=(((a=e.value)==null?void 0:a.url)??"").replace(/(<([^>]+)>)/gi,"");return $p(s,l=>{var d;const c=(d=e.variables)==null?void 0:d.find(u=>u.name===l);return`<span class="base-url-variable">${((c==null?void 0:c.value)??"")!==""?c==null?void 0:c.value:`{${l}}`}</span>`})});return(o,s)=>o.value?(i.openBlock(),i.createElementBlock("a",{key:0,class:"base-url",title:o.value.description,onClick:s[0]||(s[0]=a=>i.unref(t)(o.value.url)),innerHTML:n.value},null,8,j7)):i.createCommentVNode("",!0)}}),M7=X(D7,[["__scopeId","data-v-8df90bd1"]]),q7={key:0},X7=["for"],W7=["id","value","onInput"],z7=["value"],U7={class:"input-value"},L7=["id","value","onInput"],Y7=i.defineComponent({__name:"ServerVariables",props:{value:{}},setup(r){const{server:e,setServer:t}=js(),n=(s,a)=>{const l=a.target.value,c=[...e.variables],d=c.findIndex(u=>u.name===s);c[d].value=l,t({variables:c})},o=s=>{const a=e.variables.findIndex(l=>l.name===s);return e.variables[a].value??""};return(s,a)=>s.value?(i.openBlock(),i.createElementBlock("div",q7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.value,l=>(i.openBlock(),i.createElementBlock("div",{key:l.name,class:"input"},[i.createElementVNode("label",{for:`variable-${l.name}`},[i.createElementVNode("code",null,i.toDisplayString(l.name),1)],8,X7),l.enum?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createElementVNode("select",{id:`variable-${l.name}`,value:o(l.name),onInput:c=>n(l.name,c)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(l.enum,c=>(i.openBlock(),i.createElementBlock("option",{key:c,value:c},i.toDisplayString(c),9,z7))),128))],40,W7),i.createElementVNode("div",U7,i.toDisplayString(l.default),1)],64)):(i.openBlock(),i.createElementBlock("input",{key:1,id:`variable-${l.name}`,autocomplete:"off",placeholder:"value",spellcheck:"false",type:"text",value:o(l.name),onInput:c=>n(l.name,c)},null,40,L7))]))),128))])):i.createCommentVNode("",!0)}}),F7=X(Y7,[["__scopeId","data-v-a812e319"]]),H7={class:"scalar-card-serverlist-container"},G7={class:"server-item"},K7={class:"server-selector"},J7=["value"],eW=["value"],tW={class:"description"},rW=i.defineComponent({__name:"BaseUrl",setup(r){const{server:e,setServer:t}=js(),n=i.ref(0);return i.watch([n,()=>e.servers],()=>{var l,c,d;if(!e.servers.length)return;const o=((l=e.servers[n.value])==null?void 0:l.variables)??{},s=o?Object.keys(o).map(u=>{var h;return{name:u,value:((h=o[u].default)==null?void 0:h.toString())??""}}):[];JE((c=e.servers[n.value])==null?void 0:c.url).filter(u=>!o[u]).forEach(u=>{s.push({name:u,value:""})}),t({selectedServer:n.value,description:(d=e.servers[n.value])==null?void 0:d.description,variables:s})},{deep:!0}),(o,s)=>i.unref(e).servers.length>0?(i.openBlock(),i.createBlock(i.unref(Mn),{key:0},{default:i.withCtx(()=>[i.createVNode(i.unref(qn),{borderless:"",muted:""},{default:i.withCtx(()=>[i.createTextVNode(" Base URL ")]),_:1}),i.createVNode(i.unref(mr),{class:"scalar-card-serverlist"},{default:i.withCtx(()=>[i.createElementVNode("div",H7,[i.createElementVNode("div",G7,[i.createElementVNode("div",K7,[i.unref(e).servers.length>1?(i.openBlock(),i.createElementBlock("select",{key:0,value:n.value,onInput:s[0]||(s[0]=a=>n.value=parseInt(a.target.value,10))},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(e).servers,(a,l)=>(i.openBlock(),i.createElementBlock("option",{key:l,value:l},i.toDisplayString(a.url),9,eW))),128))],40,J7)):i.createCommentVNode("",!0),i.createVNode(M7,{value:i.unref(e).servers[n.value],variables:i.unref(e).variables},null,8,["value","variables"]),i.unref(e).servers.length>1?(i.openBlock(),i.createBlock(i.unref(Me),{key:1,icon:"ChevronDown"})):i.createCommentVNode("",!0)])]),i.createVNode(F7,{value:i.unref(e).variables},null,8,["value"])])]),_:1}),i.unref(e).description?(i.openBlock(),i.createBlock(i.unref(mr),{key:0,muted:""},{default:i.withCtx(()=>[i.createElementVNode("div",tW,[i.createVNode(i.unref(Jt),{value:i.unref(e).description},null,8,["value"])])]),_:1})):i.createCommentVNode("",!0)]),_:1})):i.createCommentVNode("",!0)}}),nW=X(rW,[["__scopeId","data-v-a88217c5"]]),BS=r=>(i.pushScopeId("data-v-7a44383e"),r=r(),i.popScopeId(),r),oW=["onClick"],sW=["value"],iW=["label"],aW=["value"],lW={class:"code-languages-background code-languages-icon__more"},cW={key:1,class:"code-languages-icon",height:"50",viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},dW=BS(()=>i.createElementVNode("g",{fill:"currentColor","fill-rule":"nonzero"},[i.createElementVNode("path",{d:"M10.71 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M21.13 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M31.55 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0"})],-1)),uW=[dW],hW=BS(()=>i.createElementVNode("span",null,"More",-1)),fW=i.defineComponent({__name:"ClientSelector",setup(r){const{httpClient:e,setHttpClient:t,getClientTitle:n,getTargetTitle:o}=Ld(),{availableTargets:s}=Ma(),a=i.ref(),l=[{targetKey:"shell",clientKey:"curl"},{targetKey:"ruby",clientKey:"native"},{targetKey:"node",clientKey:"undici"},{targetKey:"php",clientKey:"guzzle"},{targetKey:"python",clientKey:"python3"},{targetKey:"c",clientKey:"libcurl"}],c=h=>`programming-language-${h}`,d=h=>h.targetKey===e.targetKey&&h.clientKey===e.clientKey,u=h=>l.some(f=>f.targetKey===h.targetKey&&f.clientKey===h.clientKey);return(h,f)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"containerRef",ref:a,class:"client-libraries-content"},[(i.openBlock(),i.createElementBlock(i.Fragment,null,i.renderList(l,p=>i.createElementVNode("div",{key:p.clientKey,class:i.normalizeClass(["code-languages rendered-code-sdks",{"code-languages__active":d(p)}]),onClick:()=>i.unref(t)(p)},[i.createElementVNode("div",{class:i.normalizeClass(["code-languages-background",`code-languages-icon__${p.targetKey}`])},[i.createVNode(i.unref(Me),{class:"code-languages-icon",icon:c(p.targetKey)},null,8,["icon"])],2),i.createElementVNode("span",null,i.toDisplayString(i.unref(o)(p)),1)],10,oW)),64)),i.createElementVNode("div",{class:i.normalizeClass(["code-languages code-languages__select",{"code-languages__active":i.unref(e)&&!u(i.unref(e))}])},[i.createElementVNode("select",{class:"language-select",value:JSON.stringify(i.unref(e)),onInput:f[0]||(f[0]=p=>i.unref(t)(JSON.parse(p.target.value)))},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(s),p=>(i.openBlock(),i.createElementBlock("optgroup",{key:p.key,label:p.title},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(p.clients,m=>(i.openBlock(),i.createElementBlock("option",{key:m.key,value:JSON.stringify({targetKey:p.key,clientKey:m.key})},i.toDisplayString(i.unref(n)({targetKey:p.key,clientKey:m.key})),9,aW))),128))],8,iW))),128))],40,sW),i.createElementVNode("div",lW,[i.unref(e)&&!u(i.unref(e))?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(`code-languages-icon__${i.unref(e).targetKey}`)},[i.createVNode(i.unref(Me),{class:"code-languages-icon",icon:c(i.unref(e).targetKey)},null,8,["icon"])],2)):(i.openBlock(),i.createElementBlock("svg",cW,uW))]),hW],2)],512))}}),pW=X(fW,[["__scopeId","data-v-7a44383e"]]),mW=i.defineComponent({__name:"ClientLibraries",setup(r){const{httpTargetTitle:e,httpClientTitle:t}=Ld();return(n,o)=>(i.openBlock(),i.createBlock(i.unref(Mn),null,{default:i.withCtx(()=>[i.createVNode(i.unref(qn),{borderless:"",transparent:""},{default:i.withCtx(()=>[i.createTextVNode(" Client Libraries ")]),_:1}),i.createVNode(i.unref(mr),{frameless:"",transparent:""},{default:i.withCtx(()=>[i.createVNode(pW)]),_:1}),i.createVNode(i.unref(qa),{class:"selected-client card-footer",muted:""},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(t))+" "+i.toDisplayString(i.unref(e)),1)]),_:1})]),_:1}))}}),gW=X(mW,[["__scopeId","data-v-2a099868"]]),OW={},yW={class:"badge"};function bW(r,e){return i.openBlock(),i.createElementBlock("div",yW,[i.renderSlot(r.$slots,"default",{},void 0,!0)])}const ya=X(OW,[["render",bW],["__scopeId","data-v-190574ac"]]),jm=i.defineComponent({__name:"IntersectionObserver",props:{id:{},is:{}},emits:["intersecting"],setup(r,{emit:e}){const t=r,n=e,o=i.ref(),s=l=>{const c=l.offsetHeight;return`${c/2}px 0px ${c/2}px 0px`},a=l=>l.offsetHeight<window.innerHeight?.8:.5;return i.onMounted(()=>{if(o.value){const l={rootMargin:s(o.value),threshold:a(o.value)};je.useIntersectionObserver(o,([{isIntersecting:c}])=>{c&&t.id&&n("intersecting")},l)}}),(l,c)=>(i.openBlock(),i.createBlock(i.resolveDynamicComponent(l.is??"div"),{id:l.id,ref_key:"intersectionObserverRef",ref:o},{default:i.withCtx(()=>[i.renderSlot(l.$slots,"default")]),_:3},8,["id"]))}}),vW=i.defineComponent({__name:"Section",props:{id:{},label:{}},setup(r){const e=r,{getSectionId:t,hash:n,isIntersectionEnabled:o,pathRouting:s}=gt(),{setCollapsedSidebarItem:a}=yr();function l(){var u;if(!e.label||!o.value)return;const c=new URL(window.location.href),d=e.id??"";s.value?c.pathname=s.value.basePath+"/"+d:c.hash=d,n.value=d,window.history.replaceState({},"",c),(u=e.id)!=null&&u.startsWith("model")&&a(t(e.id),!0)}return(c,d)=>(i.openBlock(),i.createBlock(jm,{is:"section",id:c.id,class:"section",onIntersecting:l},{default:i.withCtx(()=>[i.renderSlot(c.$slots,"default",{},void 0,!0)]),_:3},8,["id"]))}}),ti=X(vW,[["__scopeId","data-v-0494f9f3"]]),wW={class:"section-accordion-button-content"},kW={key:0,class:"section-accordion-button-actions"},SW={key:0,class:"section-accordion-description"},$W={class:"section-accordion-content-card"},PW=i.defineComponent({__name:"SectionAccordion",props:{id:{},transparent:{type:Boolean}},setup(r){const e=i.ref(),t=je.useElementHover(e);return(n,o)=>(i.openBlock(),i.createBlock(jm,{id:n.id,class:"section-wrapper"},{default:i.withCtx(()=>[i.createVNode(i.unref(ye.Disclosure),{as:"section",class:i.normalizeClass(["section-accordion",{"section-accordion-transparent":n.transparent}])},{default:i.withCtx(({open:s})=>[i.createVNode(i.unref(ye.DisclosureButton),{ref_key:"button",ref:e,class:"section-accordion-button"},{default:i.withCtx(()=>[i.createElementVNode("div",wW,[i.renderSlot(n.$slots,"title",{},void 0,!0)]),n.$slots.actions?(i.openBlock(),i.createElementBlock("div",kW,[i.renderSlot(n.$slots,"actions",{active:i.unref(t)||s},void 0,!0)])):i.createCommentVNode("",!0),i.createVNode(i.unref(Me),{class:"section-accordion-chevron",icon:s?"ChevronDown":"ChevronRight"},null,8,["icon"])]),_:2},1536),i.createVNode(i.unref(ye.DisclosurePanel),{class:"section-accordion-content"},{default:i.withCtx(()=>[n.$slots.description?(i.openBlock(),i.createElementBlock("div",SW,[i.renderSlot(n.$slots,"description",{},void 0,!0)])):i.createCommentVNode("",!0),i.createElementVNode("div",$W,[i.renderSlot(n.$slots,"default",{},void 0,!0)])]),_:3})]),_:3},8,["class"])]),_:3},8,["id"]))}}),ZS=X(PW,[["__scopeId","data-v-07cabcb0"]]),xW={},_W={class:"section-column"};function CW(r,e){return i.openBlock(),i.createElementBlock("div",_W,[i.renderSlot(r.$slots,"default",{},void 0,!0)])}const Es=X(xW,[["render",CW],["__scopeId","data-v-d64e7382"]]),TW={},QW={class:"section-columns"};function EW(r,e){return i.openBlock(),i.createElementBlock("div",QW,[i.renderSlot(r.$slots,"default",{},void 0,!0)])}const Dm=X(TW,[["render",EW],["__scopeId","data-v-8b9602bf"]]),AW={},NW={class:"section-container"};function RW(r,e){return i.openBlock(),i.createElementBlock("div",NW,[i.renderSlot(r.$slots,"default",{},void 0,!0)])}const Xa=X(AW,[["render",RW],["__scopeId","data-v-34b26958"]]),VW={class:"section-accordion-wrapper"},BW={class:"section-accordion-title"},ZW=i.defineComponent({__name:"SectionContainerAccordion",setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("div",VW,[i.createVNode(i.unref(ye.Disclosure),{as:"div",class:"section-accordion",defaultOpen:""},{default:i.withCtx(({open:n})=>[i.createVNode(i.unref(ye.DisclosureButton),{class:"section-accordion-button"},{default:i.withCtx(()=>[i.createVNode(i.unref(Me),{class:"section-accordion-chevron",icon:n?"ChevronDown":"ChevronRight"},null,8,["icon"]),i.createElementVNode("div",BW,[i.renderSlot(e.$slots,"title",{},void 0,!0)])]),_:2},1024),i.createVNode(i.unref(ye.DisclosurePanel),{class:"section-accordion-content"},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3})]),_:3})]))}}),IS=X(ZW,[["__scopeId","data-v-2049975e"]]),IW=i.defineComponent({__name:"LoadingSkeleton",props:{lines:{default:1}},setup(r){return(e,t)=>(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList([...Array(e.lines).keys()],n=>(i.openBlock(),i.createElementBlock("div",{key:n,class:i.normalizeClass(["loading",{"single-line":e.lines===1}])},null,2))),128))}}),jS=X(IW,[["__scopeId","data-v-c90b2c46"]]),jW={class:"section-content"},DW=i.defineComponent({__name:"SectionContent",props:{loading:{type:Boolean,default:!1}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("div",jW,[e.loading?(i.openBlock(),i.createBlock(jS,{key:1,lines:8})):i.renderSlot(e.$slots,"default",{key:0},void 0,!0)]))}}),ri=X(DW,[["__scopeId","data-v-9735459e"]]),MW=i.defineComponent({__name:"SectionHeader",props:{loading:{type:Boolean,default:!1},tight:{type:Boolean,default:!1},level:{default:1}},setup(r){return(e,t)=>e.loading?(i.openBlock(),i.createBlock(jS,{key:0})):(i.openBlock(),i.createBlock(i.resolveDynamicComponent(`h${e.level}`),{key:1,class:i.normalizeClass(["section-header",{tight:e.tight}])},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),Xn=X(MW,[["__scopeId","data-v-3bd1b9f0"]]),qW={key:0,class:"introduction-description"},XW=i.defineComponent({__name:"Description",props:{value:{}},setup(r){const e=r,n=`components-Content-Introduction-Description-sections${Qf(e.value)}`,o=je.computedAsync(async()=>{if(!e.value)return[];const u=await ua(e.value),h=Sp(u);return await Promise.all(bS(e.value,h).map(async f=>({heading:(await ua(f))[0],content:f})))},Ns[n]??[]),{getHeadingId:s,hash:a,isIntersectionEnabled:l,pathRouting:c}=gt();function d(u=""){if(!l.value)return;const h=new URL(window.location.href);c.value?h.pathname=c.value.basePath+"/"+u:h.hash=u,a.value=u,window.history.replaceState({},"",h)}return i.onServerPrefetch(async()=>{const u=i.useSSRContext();await Ir(1),u.payload.data[n]=o.value}),(u,h)=>u.value?(i.openBlock(),i.createElementBlock("div",qW,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(o),(f,p)=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:p},[f.heading?(i.openBlock(),i.createBlock(jm,{key:0,id:i.unref(s)(f.heading),class:"introduction-description-heading",onIntersecting:()=>d(i.unref(s)(f.heading))},{default:i.withCtx(()=>[i.createVNode(i.unref(Jt),{value:f.content,withImages:""},null,8,["value"])]),_:2},1032,["id","onIntersecting"])):(i.openBlock(),i.createBlock(i.unref(Jt),{key:1,value:f.content,withImages:""},null,8,["value"]))],64))),128))])):i.createCommentVNode("",!0)}}),WW=X(XW,[["__scopeId","data-v-5e475391"]]),zW={class:"download"},UW={class:"download-cta"},LW=i.defineComponent({__name:"DownloadSpec",setup(r){const e=i.inject(xp);return(t,n)=>{var o;return i.openBlock(),i.createElementBlock("div",zW,[i.createElementVNode("div",UW,[(o=i.unref(e))!=null&&o()?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("button",{key:0,class:"download-button",type:"button",onClick:n[0]||(n[0]=s=>i.unref(Vm).emit())}," Download OpenAPI Spec "))])])}}}),YW=X(LW,[["__scopeId","data-v-9a23d154"]]),FW={class:"badges"},HW={class:"sticky-cards"},GW=i.defineComponent({__name:"Introduction",props:{info:{},parsedSpec:{}},setup(r){const e=r,t=i.computed(()=>e.parsedSpec.openapi??e.parsedSpec.swagger??"");return(n,o)=>(i.openBlock(),i.createBlock(i.unref(Xa),null,{default:i.withCtx(()=>[i.createVNode(i.unref(ti),{class:"introduction-section"},{default:i.withCtx(()=>[i.createVNode(i.unref(ri),{loading:!n.info.description&&!n.info.title},{default:i.withCtx(()=>[i.createVNode(i.unref(Dm),null,{default:i.withCtx(()=>[i.createVNode(i.unref(Es),null,{default:i.withCtx(()=>[i.createElementVNode("div",FW,[n.info.version?(i.openBlock(),i.createBlock(i.unref(ya),{key:0},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(n.info.version),1)]),_:1})):i.createCommentVNode("",!0),t.value?(i.openBlock(),i.createBlock(i.unref(ya),{key:1},{default:i.withCtx(()=>[i.createTextVNode(" OAS "+i.toDisplayString(t.value),1)]),_:1})):i.createCommentVNode("",!0)]),i.createVNode(i.unref(Xn),{level:1,loading:!n.info.title,tight:""},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(n.info.title),1)]),_:1},8,["loading"]),i.createVNode(YW),i.createVNode(WW,{value:n.info.description},null,8,["value"])]),_:1}),n.$slots.aside?(i.openBlock(),i.createBlock(i.unref(Es),{key:0},{default:i.withCtx(()=>[i.createElementVNode("div",HW,[i.renderSlot(n.$slots,"aside",{},void 0,!0)])]),_:3})):i.createCommentVNode("",!0)]),_:3})]),_:3},8,["loading"]),i.renderSlot(n.$slots,"after",{},void 0,!0)]),_:3})]),_:3}))}}),KW=X(GW,[["__scopeId","data-v-a41e4af1"]]),JW=Symbol(),_f=je.useEventBus(JW),qc=i.defineComponent({__name:"Lazy",props:{id:{},isLazy:{type:Boolean,default:!0},lazyTimeout:{default:0}},setup(r){const e=r,t=(o=()=>{})=>{typeof window>"u"||("requestIdleCallback"in window?setTimeout(()=>window.requestIdleCallback(o),e.lazyTimeout):setTimeout(()=>i.nextTick(o),e.lazyTimeout??300))},n=i.ref(!e.isLazy);return e.isLazy?t(()=>{n.value=!0,e.id&&i.nextTick(()=>_f.emit({id:e.id}))}):e.id&&i.nextTick(()=>_f.emit({id:e.id})),(o,s)=>n.value?i.renderSlot(o.$slots,"default",{key:0}):i.createCommentVNode("",!0)}}),e9={key:0,class:"screenreader-only"},t9=i.defineComponent({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},setup(r){return(e,t)=>e.$props.if?(i.openBlock(),i.createElementBlock("span",e9,[i.renderSlot(e.$slots,"default",{},void 0,!0)])):i.renderSlot(e.$slots,"default",{key:1},void 0,!0)}}),DS=X(t9,[["__scopeId","data-v-681ebf2c"]]),r9=r=>(i.pushScopeId("data-v-d9801d4e"),r=r(),i.popScopeId(),r),n9={class:"label"},o9={class:"anchor"},s9=r9(()=>i.createElementVNode("span",null,"​",-1)),i9=i.defineComponent({__name:"Anchor",props:{id:{}},setup(r){const{copyToClipboard:e}=ei(),t=n=>{const o=new URL(window.location.href);return o.hash=n,o.toString()};return(n,o)=>(i.openBlock(),i.createElementBlock("span",n9,[i.renderSlot(n.$slots,"default",{},void 0,!0),i.createElementVNode("span",o9,[s9,i.createElementVNode("button",{class:"anchor-copy",type:"button",onClick:o[0]||(o[0]=i.withModifiers(s=>i.unref(e)(t(n.id)),["stop"]))},[i.createTextVNode(" # "),i.createVNode(DS,null,{default:i.withCtx(()=>[i.createTextVNode('Copy link to "'),i.renderSlot(n.$slots,"default",{},void 0,!0),i.createTextVNode('"')]),_:3})])])]))}}),Wn=X(i9,[["__scopeId","data-v-d9801d4e"]]),a9=["value"],l9=["label"],c9=["value"],d9=["value"],Mm=i.defineComponent({__name:"TextSelect",props:{modelValue:{},options:{}},emits:["update:modelValue"],setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["text-select",e.options.length===1?"text-select--single-option":""])},[i.createElementVNode("span",null,[i.renderSlot(e.$slots,"default")]),i.createElementVNode("select",{value:e.modelValue,onInput:t[0]||(t[0]=n=>e.$emit("update:modelValue",n.target.value))},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.options,n=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:n.value},[n.options?(i.openBlock(),i.createElementBlock("optgroup",{key:0,label:n.label},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.options,o=>(i.openBlock(),i.createElementBlock("option",{key:o.value,value:o.value},i.toDisplayString(o.label),9,c9))),128))],8,l9)):(i.openBlock(),i.createElementBlock("option",{key:n.value,value:n.value},i.toDisplayString(n.label),9,d9))],64))),128))],40,a9)],2))}}),u9={class:"request-header"},h9=i.defineComponent({__name:"CustomRequestExamples",props:{operation:{},examples:{}},setup(r){const e=r,t=i.ref(0),n=i.computed(()=>({C:"c","C#":"csharp",Go:"go",HTML:"html",Java:"java",JavaScript:"javascript",Kotlin:"kotlin","Objective-C":"objc",PowerShell:"powershell",Python:"python",Ruby:"ruby",Shell:"shell",Swift:"swift",TypeScript:"javascript",cURL:"shell"})[e.examples[t.value].lang]??e.examples[t.value].lang),o=i.computed(()=>e.examples[t.value]);i.watch(e.examples,()=>{e.examples[t.value]==="undefined"&&(t.value=0)});const{copyToClipboard:s}=ei();return(a,l)=>(i.openBlock(),i.createBlock(i.unref(Mn),{class:"dark-mode"},{default:i.withCtx(()=>[i.createVNode(i.unref(qn),{muted:""},{actions:i.withCtx(()=>[i.createVNode(Mm,{class:"request-client-picker",modelValue:t.value,options:a.examples.map((c,d)=>({value:d.toString(),label:c.label})),"onUpdate:modelValue":l[0]||(l[0]=c=>(t.value=parseInt(c),10))},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(o.value.label),1)]),_:1},8,["modelValue","options"]),i.createElementVNode("button",{class:"copy-button",type:"button",onClick:l[1]||(l[1]=c=>i.unref(s)(o.value.source.trim()))},[i.createVNode(i.unref(Me),{icon:"Clipboard",width:"10px"})])]),default:i.withCtx(()=>[i.createElementVNode("div",u9,[i.createVNode(i.unref(To),{class:"request-method",method:a.operation.httpVerb},null,8,["method"]),i.renderSlot(a.$slots,"header",{},void 0,!0)])]),_:3}),i.createVNode(i.unref(mr),{borderless:"",class:"request-editor-section custom-scroll",frameless:""},{default:i.withCtx(()=>[i.createVNode(i.unref(Ur),{content:o.value.source.trim(),lang:n.value,lineNumbers:""},null,8,["content","lang"])]),_:1}),a.$slots.footer?(i.openBlock(),i.createBlock(i.unref(qa),{key:0,class:"scalar-card-footer",contrast:""},{default:i.withCtx(()=>[i.renderSlot(a.$slots,"footer",{},void 0,!0)]),_:3})):i.createCommentVNode("",!0)]),_:3}))}}),f9=X(h9,[["__scopeId","data-v-18ba624d"]]),p9={class:"schema-type"},m9=["title"],g9=i.defineComponent({__name:"SchemaHeading",props:{value:{},name:{}},setup(r){return(e,t)=>{var n,o,s,a,l,c;return i.openBlock(),i.createElementBlock("span",p9,[i.createElementVNode("span",{class:"schema-type-icon",title:typeof e.value.type=="string"?e.value.type:Array.isArray(e.value.type)?e.value.type.join(" | "):"unkown type"},[e.value.type==="object"?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createTextVNode(" {} ")],64)):i.createCommentVNode("",!0),e.value.type==="array"?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode(" [] ")],64)):i.createCommentVNode("",!0),e.value.enum?(i.openBlock(),i.createElementBlock(i.Fragment,{key:2},[i.createTextVNode(" enum ")],64)):i.createCommentVNode("",!0)],8,m9),(o=(n=e.value)==null?void 0:n.xml)!=null&&o.name&&((a=(s=e.value)==null?void 0:s.xml)==null?void 0:a.name)!=="##default"?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createTextVNode(" <"+i.toDisplayString((c=(l=e.value)==null?void 0:l.xml)==null?void 0:c.name)+" /> ",1)],64)):e.name?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode(i.toDisplayString(e.name),1)],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:2},[i.createTextVNode(i.toDisplayString(e.value.type),1)],64))])}}}),MS=X(g9,[["__scopeId","data-v-2496db24"]]),O9={key:0,class:"property-detail-prefix"},y9={key:1,class:"property-detail-value"},b9={key:2,class:"property-detail-value"},v9=i.defineComponent({__name:"SchemaPropertyDetail",props:{truncate:{type:Boolean},code:{type:Boolean}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("span",{class:i.normalizeClass(["property-detail",{"property-detail-truncate":e.truncate}])},[e.$slots.prefix?(i.openBlock(),i.createElementBlock("div",O9,[i.renderSlot(e.$slots,"prefix",{},void 0,!0),i.createTextVNode("  ")])):i.createCommentVNode("",!0),e.code?(i.openBlock(),i.createElementBlock("code",y9,[i.renderSlot(e.$slots,"default",{},void 0,!0)])):(i.openBlock(),i.createElementBlock("span",b9,[i.renderSlot(e.$slots,"default",{},void 0,!0)]))],2))}}),nr=X(v9,[["__scopeId","data-v-16d94ef5"]]),w9={class:"property-heading"},k9={key:0,class:"property-name"},S9={key:1,class:"property-additional"},$9={key:2,class:"property-deprecated"},P9={key:3,class:"property-required"},x9={key:4,class:"property-details"},_9={key:5,class:"property-write-only"},C9={key:6,class:"property-read-only"},T9=i.defineComponent({__name:"SchemaPropertyHeading",props:{value:{},enum:{type:Boolean},required:{type:Boolean,default:!1},additional:{type:Boolean}},setup(r){const e=["oneOf","anyOf","allOf","not"];return(t,n)=>{var o,s,a,l;return i.openBlock(),i.createElementBlock("div",w9,[t.$slots.name?(i.openBlock(),i.createElementBlock("div",k9,[i.renderSlot(t.$slots,"name",{},void 0,!0)])):i.createCommentVNode("",!0),t.additional?(i.openBlock(),i.createElementBlock("div",S9," additional properties ")):i.createCommentVNode("",!0),(o=t.value)!=null&&o.deprecated?(i.openBlock(),i.createElementBlock("div",$9,[i.createVNode(i.unref(ya),null,{default:i.withCtx(()=>[i.createTextVNode("deprecated")]),_:1})])):i.createCommentVNode("",!0),t.required?(i.openBlock(),i.createElementBlock("div",P9," required ")):i.createCommentVNode("",!0),(s=t.value)!=null&&s.type?(i.openBlock(),i.createElementBlock("div",x9,[t.additional?(i.openBlock(),i.createBlock(nr,{key:0},{prefix:i.withCtx(()=>[i.createTextVNode("key:")]),default:i.withCtx(()=>[i.createTextVNode(" string ")]),_:1})):i.createCommentVNode("",!0),i.createVNode(nr,null,i.createSlots({default:i.withCtx(()=>{var c,d,u;return[(d=(c=t.value)==null?void 0:c.items)!=null&&d.type?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createTextVNode(i.toDisplayString(t.value.type)+" "+i.toDisplayString(t.value.items.type)+"[] ",1)],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode(i.toDisplayString(Array.isArray(t.value.type)?t.value.type.join(" | "):t.value.type)+" "+i.toDisplayString((u=t.value)!=null&&u.nullable?" | nullable":""),1)],64)),t.value.minItems||t.value.maxItems?(i.openBlock(),i.createElementBlock(i.Fragment,{key:2},[i.createTextVNode(i.toDisplayString(t.value.minItems)+"…"+i.toDisplayString(t.value.maxItems),1)],64)):i.createCommentVNode("",!0)]}),_:2},[t.additional?{name:"prefix",fn:i.withCtx(()=>[i.createTextVNode("value:")]),key:"0"}:void 0]),1024),t.value.minLength?(i.openBlock(),i.createBlock(nr,{key:1},{prefix:i.withCtx(()=>[i.createTextVNode("min:")]),default:i.withCtx(()=>[i.createTextVNode(" "+i.toDisplayString(t.value.minLength),1)]),_:1})):i.createCommentVNode("",!0),t.value.maxLength?(i.openBlock(),i.createBlock(nr,{key:2},{prefix:i.withCtx(()=>[i.createTextVNode("max:")]),default:i.withCtx(()=>[i.createTextVNode(" "+i.toDisplayString(t.value.maxLength),1)]),_:1})):i.createCommentVNode("",!0),t.value.uniqueItems?(i.openBlock(),i.createBlock(nr,{key:3},{default:i.withCtx(()=>[i.createTextVNode(" unique! ")]),_:1})):i.createCommentVNode("",!0),t.value.format?(i.openBlock(),i.createBlock(nr,{key:4},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(t.value.format),1)]),_:1})):i.createCommentVNode("",!0),t.value.minimum?(i.openBlock(),i.createBlock(nr,{key:5},{prefix:i.withCtx(()=>[i.createTextVNode("min:")]),default:i.withCtx(()=>[i.createTextVNode(" "+i.toDisplayString(t.value.minimum),1)]),_:1})):i.createCommentVNode("",!0),t.value.maximum?(i.openBlock(),i.createBlock(nr,{key:6},{prefix:i.withCtx(()=>[i.createTextVNode("max:")]),default:i.withCtx(()=>[i.createTextVNode(" "+i.toDisplayString(t.value.maximum),1)]),_:1})):i.createCommentVNode("",!0),t.value.pattern?(i.openBlock(),i.createBlock(nr,{key:7,code:"",truncate:""},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(t.value.pattern),1)]),_:1})):i.createCommentVNode("",!0),t.$props.enum?(i.openBlock(),i.createBlock(nr,{key:8},{default:i.withCtx(()=>[i.createTextVNode("enum")]),_:1})):i.createCommentVNode("",!0),t.value.default?(i.openBlock(),i.createBlock(nr,{key:9,truncate:""},{prefix:i.withCtx(()=>[i.createTextVNode("default:")]),default:i.withCtx(()=>[i.createTextVNode(" "+i.toDisplayString(t.value.default),1)]),_:1})):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),(a=t.value)!=null&&a.writeOnly?(i.openBlock(),i.createElementBlock("div",_9," write-only ")):(l=t.value)!=null&&l.readOnly?(i.openBlock(),i.createElementBlock("div",C9," read-only ")):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.filter(c=>{var d,u,h;return((d=t.value)==null?void 0:d[c])||((h=(u=t.value)==null?void 0:u.items)==null?void 0:h[c])}),c=>(i.openBlock(),i.createBlock(i.unref(ya),{key:c},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(c),1)]),_:2},1024))),128))])}}}),Q9=X(T9,[["__scopeId","data-v-3ad74b91"]]),E9=r=>(i.pushScopeId("data-v-9678055e"),r=r(),i.popScopeId(),r),A9={key:0,class:"property-description"},N9={key:1,class:"property-description"},R9={key:2,class:"property-example custom-scroll"},V9=E9(()=>i.createElementVNode("span",{class:"property-example-label"},"Example",-1)),B9={class:"property-example-value"},Z9={key:3,class:"property-enum"},I9={class:"property-enum-values"},j9={key:4,class:"children"},D9={key:0,class:"children"},M9={key:0,class:"property-rule"},q9={key:1,class:"property-rule"},X9=i.defineComponent({__name:"SchemaProperty",props:{value:{},level:{default:0},name:{},required:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},description:{},additional:{type:Boolean}},setup(r){const e={integer:{_default:"Integer numbers.",int32:"Signed 32-bit integers (commonly used integer type).",int64:"Signed 64-bit integers (long type)."},string:{date:"full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21","date-time":"the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z",password:"a hint to UIs to mask the input",byte:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",binary:"binary data, used to describe files"}},t=function(a,l){return l!=null&&l.properties?null:a||(l==null?void 0:l.description)||null},n=function(a){return!a||!e[a.type]?null:e[a.type][a.format||"_default"]},o=function(a){var l;return(a==null?void 0:a.enum)||((l=a==null?void 0:a.items)==null?void 0:l.enum)||null},s=["oneOf","anyOf","allOf","not"];return(a,l)=>{var c,d,u,h,f,p,m,g,O;return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["property",[`property--level-${a.level}`,{"property--compact":a.compact,"property--deprecated":(c=a.value)==null?void 0:c.deprecated}]])},[i.createVNode(Q9,{additional:a.additional,enum:!!o(a.value),required:a.required,value:a.value},i.createSlots({_:2},[a.name?{name:"name",fn:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(a.name),1)]),key:"0"}:void 0]),1032,["additional","enum","required","value"]),t(a.description,a.value)?(i.openBlock(),i.createElementBlock("div",A9,[i.createVNode(i.unref(Jt),{value:t(a.description,a.value)},null,8,["value"])])):n(a.value)?(i.openBlock(),i.createElementBlock("div",N9,[i.createVNode(i.unref(Jt),{value:n(a.value)||""},null,8,["value"])])):i.createCommentVNode("",!0),(d=a.value)!=null&&d.example||(h=(u=a.value)==null?void 0:u.items)!=null&&h.example?(i.openBlock(),i.createElementBlock("div",R9,[V9,i.createElementVNode("code",B9,i.toDisplayString(a.value.example||((f=a.value)==null?void 0:f.items.example)),1)])):i.createCommentVNode("",!0),o(a.value)?(i.openBlock(),i.createElementBlock("div",Z9,[i.createElementVNode("ul",I9,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o(a.value),y=>(i.openBlock(),i.createElementBlock("li",{key:y,class:"property-enum-value"},i.toDisplayString(y),1))),128))])])):i.createCommentVNode("",!0),((p=a.value)==null?void 0:p.type)==="object"&&((m=a.value)!=null&&m.properties||(g=a.value)!=null&&g.additionalProperties)?(i.openBlock(),i.createElementBlock("div",j9,[i.createVNode(go,{compact:a.compact,level:a.level+1,value:a.value},null,8,["compact","level","value"])])):i.createCommentVNode("",!0),(O=a.value)!=null&&O.items?(i.openBlock(),i.createElementBlock(i.Fragment,{key:5},[["object"].includes(a.value.items.type)?(i.openBlock(),i.createElementBlock("div",D9,[i.createVNode(go,{compact:a.compact,level:a.level+1,value:a.value.items},null,8,["compact","level","value"])])):i.createCommentVNode("",!0)],64)):i.createCommentVNode("",!0),(i.openBlock(),i.createElementBlock(i.Fragment,null,i.renderList(s,y=>{var b,v,k;return i.openBlock(),i.createElementBlock(i.Fragment,{key:y},[(b=a.value)!=null&&b[y]?(i.openBlock(),i.createElementBlock("div",M9,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.value[y],($,w)=>(i.openBlock(),i.createBlock(go,{key:w,compact:a.compact,level:a.level+1,value:$},null,8,["compact","level","value"]))),128))])):i.createCommentVNode("",!0),(k=(v=a.value)==null?void 0:v.items)!=null&&k[y]&&a.level<3?(i.openBlock(),i.createElementBlock("div",q9,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.value.items[y],($,w)=>(i.openBlock(),i.createBlock(go,{key:w,compact:a.compact,level:a.level+1,value:$},null,8,["compact","level","value"]))),128))])):i.createCommentVNode("",!0)],64)}),64))],2)}}}),mo=X(X9,[["__scopeId","data-v-9678055e"]]),W9=r=>(i.pushScopeId("data-v-af21f747"),r=r(),i.popScopeId(),r),z9={key:0,class:"schema-card-description"},U9=W9(()=>i.createElementVNode("polygon",{"fill-rule":"nonzero",points:"14 8 8 8 8 14 6 14 6 8 0 8 0 6 6 6 6 0 8 0 8 6 14 6"},null,-1)),L9=[U9],Y9=i.defineComponent({__name:"Schema",props:{value:{},level:{default:0},name:{},compact:{type:Boolean},noncollapsible:{type:Boolean}},setup(r){const e=r,t=i.computed(()=>!(e.noncollapsible||e.level===0)),n=o=>e.noncollapsible&&o.stopPropagation();return(o,s)=>typeof o.value=="object"&&Object.keys(o.value).length?(i.openBlock(),i.createBlock(i.unref(ye.Disclosure),{key:0,defaultOpen:o.noncollapsible},{default:i.withCtx(({open:a})=>{var l;return[i.createElementVNode("div",{class:i.normalizeClass(["schema-card",[`schema-card--level-${o.level}`,{"schema-card--compact":o.compact,"schema-card--open":a}]])},[(l=o.value)!=null&&l.description?(i.openBlock(),i.createElementBlock("div",z9,[i.createVNode(i.unref(Jt),{value:o.value.description},null,8,["value"])])):i.createCommentVNode("",!0),i.createElementVNode("div",{class:i.normalizeClass(["schema-properties",{"schema-properties-open":a}])},[i.withDirectives(i.createVNode(i.unref(ye.DisclosureButton),{as:o.noncollapsible?"div":"button",class:i.normalizeClass(["schema-card-title",{"schema-card-title--compact":o.compact}]),style:i.normalizeStyle({top:`calc(var(--refs-header-height) + calc(var(--schema-title-height) * ${o.level}))`}),onClickCapture:n},{default:i.withCtx(()=>[o.compact?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[t.value?(i.openBlock(),i.createElementBlock("svg",{key:0,class:i.normalizeClass(["schema-card-title-icon",{"schema-card-title-icon--open":a}]),fill:"currentColor",height:"14",viewBox:"0 0 14 14",width:"14",xmlns:"http://www.w3.org/2000/svg"},L9,2)):i.createCommentVNode("",!0),a?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode("Hide Child Attributes")],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:2},[i.createTextVNode("Show Child Attributes")],64))],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[t.value?(i.openBlock(),i.createBlock(i.unref(Me),{key:0,class:i.normalizeClass(["schema-card-title-icon",{"schema-card-title-icon--open":a}]),icon:"ChevronRight",size:"md"},null,8,["class"])):i.createCommentVNode("",!0),i.createVNode(MS,{name:o.name,value:o.value},null,8,["name","value"])],64))]),_:2},1032,["as","class","style"]),[[i.vShow,!(o.noncollapsible&&o.compact)]]),i.createVNode(i.unref(ye.DisclosurePanel),{static:o.noncollapsible},{default:i.withCtx(()=>{var c;return[o.value.properties||o.value.additionalProperties?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[o.value.properties?(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:0},i.renderList(Object.keys((c=o.value)==null?void 0:c.properties),d=>{var u;return i.openBlock(),i.createBlock(mo,{key:d,compact:o.compact,level:o.level,name:d,required:o.value.required&&o.value.required.length&&o.value.required.includes(d),value:(u=o.value.properties)==null?void 0:u[d]},null,8,["compact","level","name","required","value"])}),128)):i.createCommentVNode("",!0),o.value.additionalProperties?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[o.value.additionalProperties===!0||Object.keys(o.value.additionalProperties).length===0||!o.value.additionalProperties.type?(i.openBlock(),i.createBlock(mo,{key:0,additional:"",compact:o.compact,level:o.level,noncollapsible:"",value:{type:"any",...o.value.additionalProperties}},null,8,["compact","level","value"])):(i.openBlock(),i.createBlock(mo,{key:1,additional:"",compact:o.compact,level:o.level,noncollapsible:"",value:o.value.additionalProperties},null,8,["compact","level","value"]))],64)):i.createCommentVNode("",!0)],64)):(i.openBlock(),i.createBlock(mo,{key:1,compact:o.compact,level:o.level,name:o.value.name,value:o.value},null,8,["compact","level","name","value"]))]}),_:1},8,["static"])],2)],2)]}),_:1},8,["defaultOpen"])):i.createCommentVNode("",!0)}}),go=X(Y9,[["__scopeId","data-v-af21f747"]]),F9={class:"parameter-item"},H9={class:"parameter-item-container"},G9=i.defineComponent({__name:"ParameterItem",props:{parameter:{},showChildren:{type:Boolean,default:!1}},setup(r){return(e,t)=>(i.openBlock(),i.createElementBlock("li",F9,[i.createElementVNode("div",H9,[i.createVNode(i.unref(mo),{compact:"",description:e.parameter.description,level:0,name:e.parameter.name,noncollapsible:e.showChildren,required:e.parameter.required,value:e.parameter.schema},null,8,["description","name","noncollapsible","required","value"])])]))}}),K9=X(G9,[["__scopeId","data-v-f70ee55c"]]),J9={key:0,class:"parameters"},e8={class:"parameters-title"},t8={class:"parameter-list"},r8=i.defineComponent({__name:"Parameters",props:{parameters:{},showChildren:{type:Boolean,default:!1}},setup(r){return(e,t)=>{var n;return(n=e.parameters)!=null&&n.length?(i.openBlock(),i.createElementBlock("div",J9,[i.createElementVNode("div",e8,[i.renderSlot(e.$slots,"title",{},void 0,!0)]),i.createElementVNode("ul",t8,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.parameters,o=>(i.openBlock(),i.createBlock(K9,{key:o.name,parameter:o,showChildren:e.showChildren},null,8,["parameter","showChildren"]))),128))])])):i.createCommentVNode("",!0)}}}),ir=X(r8,[["__scopeId","data-v-45fca787"]]),n8={key:0},o8={class:"request-body-title"},s8=["value"],i8={key:0,class:"request-body-schema"},a8=i.defineComponent({__name:"RequestBody",props:{requestBody:{}},setup(r){var o;const e=r,t=i.computed(()=>{var s;return(s=e.requestBody)!=null&&s.content?Object.keys(e.requestBody.content):[]}),n=i.ref("application/json");return(o=e.requestBody)!=null&&o.content&&t.value.length>0&&(n.value=t.value[0]),(s,a)=>{var l,c,d,u;return e!=null&&e.requestBody?(i.openBlock(),i.createElementBlock("div",n8,[i.createElementVNode("div",o8,[i.renderSlot(s.$slots,"title",{},void 0,!0),i.createElementVNode("div",{class:i.normalizeClass(["request-body-title-select",{"request-body-title-no-select":t.value.length<=1}])},[i.createElementVNode("span",null,i.toDisplayString(n.value),1),e!=null&&e.requestBody&&t.value.length>1?i.withDirectives((i.openBlock(),i.createElementBlock("select",{key:0,"onUpdate:modelValue":a[0]||(a[0]=h=>n.value=h)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList((l=e.requestBody)==null?void 0:l.content,(h,f)=>(i.openBlock(),i.createElementBlock("option",{key:f,value:f},i.toDisplayString(f),9,s8))),128))],512)),[[i.vModelSelect,n.value]]):i.createCommentVNode("",!0)],2)]),(c=e==null?void 0:e.requestBody.content)!=null&&c[n.value]?(i.openBlock(),i.createElementBlock("div",i8,[i.createVNode(i.unref(go),{compact:"",noncollapsible:"",value:(u=(d=e==null?void 0:e.requestBody.content)==null?void 0:d[n.value])==null?void 0:u.schema},null,8,["value"])])):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0)}}}),qm=X(a8,[["__scopeId","data-v-52f52c85"]]),l8={class:"endpoint-details"},c8={class:"endpoint-description"},d8=i.defineComponent({__name:"EndpointDetails",props:{operation:{}},setup(r){const e=r,{parameterMap:t}=Zm(e),{responses:n}=Im(e.operation);return(o,s)=>{var a,l;return i.openBlock(),i.createElementBlock("div",l8,[i.createElementVNode("div",c8,[i.createVNode(i.unref(Jt),{value:o.operation.description,withImages:""},null,8,["value"])]),i.createVNode(ir,{parameters:i.unref(t).path},{title:i.withCtx(()=>[i.createTextVNode("Path Parameters")]),_:1},8,["parameters"]),i.createVNode(ir,{parameters:i.unref(t).query},{title:i.withCtx(()=>[i.createTextVNode("Query Parameters")]),_:1},8,["parameters"]),i.createVNode(ir,{parameters:i.unref(t).header},{title:i.withCtx(()=>[i.createTextVNode("Headers")]),_:1},8,["parameters"]),i.createVNode(ir,{parameters:i.unref(t).body,showChildren:""},{title:i.withCtx(()=>[i.createTextVNode("Body Parameters")]),_:1},8,["parameters"]),i.createVNode(ir,{parameters:i.unref(t).formData},{title:i.withCtx(()=>[i.createTextVNode("Form Data")]),_:1},8,["parameters"]),(a=o.operation.information)!=null&&a.requestBody?(i.openBlock(),i.createBlock(qm,{key:0,requestBody:(l=o.operation.information)==null?void 0:l.requestBody},{title:i.withCtx(()=>[i.createTextVNode("Body")]),_:1},8,["requestBody"])):i.createCommentVNode("",!0),i.createVNode(ir,{parameters:i.unref(n)},{title:i.withCtx(()=>[i.createTextVNode("Responses")]),_:1},8,["parameters"])])}}}),u8={key:0},h8=i.defineComponent({__name:"EndpointPath",props:{path:{},deprecated:{type:Boolean}},setup(r){const e=r,t=o=>o.startsWith("{")&&o.endsWith("}"),n=i.computed(()=>e.path.split(/({[^}]+})/));return(o,s)=>(i.openBlock(),i.createElementBlock("span",{class:i.normalizeClass(["endpoint-path",{deprecated:o.deprecated}])},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.value,(a,l)=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:l},[t(a)?(i.openBlock(),i.createElementBlock("em",u8,i.toDisplayString(a),1)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode(i.toDisplayString(a),1)],64))],64))),128))],2))}}),Cf=X(h8,[["__scopeId","data-v-a4eadd9b"]]);function Wa(r){return r.reduce((e,t)=>(e[t.name]=t.value,e),{})}function f8(r){return/\s|-/.test(r)}function jr(r,e=0){let t=[],n=" ".repeat(e),o=" ".repeat(e+2);for(const[s,a]of Object.entries(r)){let l=f8(s)?`'${s}'`:s;if(Array.isArray(a)){const c=a.map(d=>typeof d=="string"?`'${d}'`:d&&typeof d=="object"?jr(d,e+2):d).join(`, ${o}`);t.push(`${o}${l}: [${c}]`)}else if(a&&typeof a=="object")t.push(`${o}${l}: ${jr(a,e+2)}`);else if(typeof a=="string"){let c=`${a}`;if(a.startsWith("JSON.stringify")){const d=a.split(`
240
240
  `);d.length>1&&(c=d.map((u,h)=>h===0?u:`${o}${u}`).join(`
241
241
  `))}else c=`'${a}'`;t.push(`${o}${l}: ${c}`)}else t.push(`${o}${l}: ${a}`)}return`{
242
242
  ${t.join(`,