UNPKG

vitepress-openapi

Version:

Generate VitePress API Documentation from OpenAPI Specification.

10 lines (9 loc) 206 kB
"use strict";var Ho=Object.defineProperty;var Fo=(e,t,n)=>t in e?Ho(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Q=(e,t,n)=>Fo(e,typeof t!="symbol"?t+"":t,n);const k=require("vue"),qo=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#4d9375","activityBar.background":"#121212","activityBar.border":"#191919","activityBar.foreground":"#dbd7caee","activityBar.inactiveForeground":"#dedcd550","activityBarBadge.background":"#bfbaaa","activityBarBadge.foreground":"#121212","badge.background":"#dedcd590","badge.foreground":"#121212","breadcrumb.activeSelectionForeground":"#eeeeee18","breadcrumb.background":"#181818","breadcrumb.focusForeground":"#dbd7caee","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#121212","button.background":"#4d9375","button.foreground":"#121212","button.hoverBackground":"#4d9375","checkbox.background":"#181818","checkbox.border":"#2f363d","debugToolBar.background":"#121212","descriptionForeground":"#dedcd590","diffEditor.insertedTextBackground":"#4d937550","diffEditor.removedTextBackground":"#ab595950","dropdown.background":"#121212","dropdown.border":"#191919","dropdown.foreground":"#dbd7caee","dropdown.listBackground":"#181818","editor.background":"#121212","editor.findMatchBackground":"#e6cc7722","editor.findMatchHighlightBackground":"#e6cc7744","editor.focusedStackFrameHighlightBackground":"#b808","editor.foldBackground":"#eeeeee10","editor.foreground":"#dbd7caee","editor.inactiveSelectionBackground":"#eeeeee10","editor.lineHighlightBackground":"#181818","editor.selectionBackground":"#eeeeee18","editor.selectionHighlightBackground":"#eeeeee10","editor.stackFrameHighlightBackground":"#a707","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#5eaab5","editorBracketHighlight.foreground2":"#4d9375","editorBracketHighlight.foreground3":"#d4976c","editorBracketHighlight.foreground4":"#d9739f","editorBracketHighlight.foreground5":"#e6cc77","editorBracketHighlight.foreground6":"#6394bf","editorBracketMatch.background":"#4d937520","editorError.foreground":"#cb7676","editorGroup.border":"#191919","editorGroupHeader.tabsBackground":"#121212","editorGroupHeader.tabsBorder":"#191919","editorGutter.addedBackground":"#4d9375","editorGutter.commentRangeForeground":"#dedcd550","editorGutter.deletedBackground":"#cb7676","editorGutter.foldingControlForeground":"#dedcd590","editorGutter.modifiedBackground":"#6394bf","editorHint.foreground":"#4d9375","editorIndentGuide.activeBackground":"#ffffff30","editorIndentGuide.background":"#ffffff15","editorInfo.foreground":"#6394bf","editorInlayHint.background":"#181818","editorInlayHint.foreground":"#666666","editorLineNumber.activeForeground":"#bfbaaa","editorLineNumber.foreground":"#dedcd550","editorOverviewRuler.border":"#111","editorStickyScroll.background":"#181818","editorStickyScrollHover.background":"#181818","editorWarning.foreground":"#d4976c","editorWhitespace.foreground":"#ffffff15","editorWidget.background":"#121212","errorForeground":"#cb7676","focusBorder":"#00000000","foreground":"#dbd7caee","gitDecoration.addedResourceForeground":"#4d9375","gitDecoration.conflictingResourceForeground":"#d4976c","gitDecoration.deletedResourceForeground":"#cb7676","gitDecoration.ignoredResourceForeground":"#dedcd550","gitDecoration.modifiedResourceForeground":"#6394bf","gitDecoration.submoduleResourceForeground":"#dedcd590","gitDecoration.untrackedResourceForeground":"#5eaab5","input.background":"#181818","input.border":"#191919","input.foreground":"#dbd7caee","input.placeholderForeground":"#dedcd590","inputOption.activeBackground":"#dedcd550","list.activeSelectionBackground":"#181818","list.activeSelectionForeground":"#dbd7caee","list.focusBackground":"#181818","list.highlightForeground":"#4d9375","list.hoverBackground":"#181818","list.hoverForeground":"#dbd7caee","list.inactiveFocusBackground":"#121212","list.inactiveSelectionBackground":"#181818","list.inactiveSelectionForeground":"#dbd7caee","menu.separatorBackground":"#191919","notificationCenterHeader.background":"#121212","notificationCenterHeader.foreground":"#959da5","notifications.background":"#121212","notifications.border":"#191919","notifications.foreground":"#dbd7caee","notificationsErrorIcon.foreground":"#cb7676","notificationsInfoIcon.foreground":"#6394bf","notificationsWarningIcon.foreground":"#d4976c","panel.background":"#121212","panel.border":"#191919","panelInput.border":"#2f363d","panelTitle.activeBorder":"#4d9375","panelTitle.activeForeground":"#dbd7caee","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#121212","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#121212","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#191919","pickerGroup.foreground":"#dbd7caee","problemsErrorIcon.foreground":"#cb7676","problemsInfoIcon.foreground":"#6394bf","problemsWarningIcon.foreground":"#d4976c","progressBar.background":"#4d9375","quickInput.background":"#121212","quickInput.foreground":"#dbd7caee","quickInputList.focusBackground":"#181818","scrollbar.shadow":"#0000","scrollbarSlider.activeBackground":"#dedcd550","scrollbarSlider.background":"#dedcd510","scrollbarSlider.hoverBackground":"#dedcd550","settings.headerForeground":"#dbd7caee","settings.modifiedItemIndicator":"#4d9375","sideBar.background":"#121212","sideBar.border":"#191919","sideBar.foreground":"#bfbaaa","sideBarSectionHeader.background":"#121212","sideBarSectionHeader.border":"#191919","sideBarSectionHeader.foreground":"#dbd7caee","sideBarTitle.foreground":"#dbd7caee","statusBar.background":"#121212","statusBar.border":"#191919","statusBar.debuggingBackground":"#181818","statusBar.debuggingForeground":"#bfbaaa","statusBar.foreground":"#bfbaaa","statusBar.noFolderBackground":"#121212","statusBarItem.prominentBackground":"#181818","tab.activeBackground":"#121212","tab.activeBorder":"#191919","tab.activeBorderTop":"#dedcd590","tab.activeForeground":"#dbd7caee","tab.border":"#191919","tab.hoverBackground":"#181818","tab.inactiveBackground":"#121212","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#191919","tab.unfocusedActiveBorderTop":"#191919","tab.unfocusedHoverBackground":"#121212","terminal.ansiBlack":"#393a34","terminal.ansiBlue":"#6394bf","terminal.ansiBrightBlack":"#777777","terminal.ansiBrightBlue":"#6394bf","terminal.ansiBrightCyan":"#5eaab5","terminal.ansiBrightGreen":"#4d9375","terminal.ansiBrightMagenta":"#d9739f","terminal.ansiBrightRed":"#cb7676","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e6cc77","terminal.ansiCyan":"#5eaab5","terminal.ansiGreen":"#4d9375","terminal.ansiMagenta":"#d9739f","terminal.ansiRed":"#cb7676","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#e6cc77","terminal.foreground":"#dbd7caee","terminal.selectionBackground":"#eeeeee18","textBlockQuote.background":"#121212","textBlockQuote.border":"#191919","textCodeBlock.background":"#121212","textLink.activeForeground":"#4d9375","textLink.foreground":"#4d9375","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#121212","titleBar.activeForeground":"#bfbaaa","titleBar.border":"#181818","titleBar.inactiveBackground":"#121212","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},"displayName":"Vitesse Dark","name":"vitesse-dark","semanticHighlighting":true,"semanticTokenColors":{"class":"#6872ab","interface":"#5d99a9","namespace":"#db889a","property":"#b8a965","type":"#5d99a9"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#758575dd"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#666666"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#c99076"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#80a665"}},{"scope":"variable.parameter.function","settings":{"foreground":"#dbd7caee"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#4d9375"}},{"scope":"entity.name.function","settings":{"foreground":"#80a665"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#4d9375"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#cb7676"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#dbd7caee"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#c98a7d"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#c98a7d77"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#b8a96577"}},{"scope":"support","settings":{"foreground":"#b8a965"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#b8a965"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#bd976a"}},{"scope":["variable","identifier"],"settings":{"foreground":"#bd976a"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#5DA994"}},{"scope":"namespace","settings":{"foreground":"#db889a"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#cb7676"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"carriage-return","settings":{"background":"#f97583","content":"^M","fontStyle":"italic underline","foreground":"#24292e"}},{"scope":"message.error","settings":{"foreground":"#fdaeb7"}},{"scope":"string variable","settings":{"foreground":"#c98a7d"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#c4704f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#c98a7d"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#e6cc77"}},{"scope":["support.constant"],"settings":{"foreground":"#c99076"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#4C9A91"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#cb7676"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#4d9375"}},{"scope":"meta.module-reference","settings":{"foreground":"#4d9375"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#d4976c"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#4d9375"}},{"scope":"markup.quote","settings":{"foreground":"#5d99a9"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#dbd7caee"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#dbd7caee"}},{"scope":"markup.raw","settings":{"foreground":"#4d9375"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#86181d","foreground":"#fdaeb7"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#144620","foreground":"#85e89d"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#c24e00","foreground":"#ffab70"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#79b8ff","foreground":"#2f363d"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#b392f0"}},{"scope":"meta.diff.header","settings":{"foreground":"#79b8ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"meta.output","settings":{"foreground":"#79b8ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#d1d5da"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#fdaeb7"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#c98a7d"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#dedcd590"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#6872ab"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#80a665"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"dark"}')),Vo=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#1c6b48","activityBar.background":"#ffffff","activityBar.border":"#f0f0f0","activityBar.foreground":"#393a34","activityBar.inactiveForeground":"#393a3450","activityBarBadge.background":"#4e4f47","activityBarBadge.foreground":"#ffffff","badge.background":"#393a3490","badge.foreground":"#ffffff","breadcrumb.activeSelectionForeground":"#22222218","breadcrumb.background":"#f7f7f7","breadcrumb.focusForeground":"#393a34","breadcrumb.foreground":"#6a737d","breadcrumbPicker.background":"#ffffff","button.background":"#1c6b48","button.foreground":"#ffffff","button.hoverBackground":"#1c6b48","checkbox.background":"#f7f7f7","checkbox.border":"#d1d5da","debugToolBar.background":"#ffffff","descriptionForeground":"#393a3490","diffEditor.insertedTextBackground":"#1c6b4830","diffEditor.removedTextBackground":"#ab595940","dropdown.background":"#ffffff","dropdown.border":"#f0f0f0","dropdown.foreground":"#393a34","dropdown.listBackground":"#f7f7f7","editor.background":"#ffffff","editor.findMatchBackground":"#e6cc7744","editor.findMatchHighlightBackground":"#e6cc7766","editor.focusedStackFrameHighlightBackground":"#fff5b1","editor.foldBackground":"#22222210","editor.foreground":"#393a34","editor.inactiveSelectionBackground":"#22222210","editor.lineHighlightBackground":"#f7f7f7","editor.selectionBackground":"#22222218","editor.selectionHighlightBackground":"#22222210","editor.stackFrameHighlightBackground":"#fffbdd","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#2993a3","editorBracketHighlight.foreground2":"#1e754f","editorBracketHighlight.foreground3":"#a65e2b","editorBracketHighlight.foreground4":"#a13865","editorBracketHighlight.foreground5":"#bda437","editorBracketHighlight.foreground6":"#296aa3","editorBracketMatch.background":"#1c6b4820","editorError.foreground":"#ab5959","editorGroup.border":"#f0f0f0","editorGroupHeader.tabsBackground":"#ffffff","editorGroupHeader.tabsBorder":"#f0f0f0","editorGutter.addedBackground":"#1e754f","editorGutter.commentRangeForeground":"#393a3450","editorGutter.deletedBackground":"#ab5959","editorGutter.foldingControlForeground":"#393a3490","editorGutter.modifiedBackground":"#296aa3","editorHint.foreground":"#1e754f","editorIndentGuide.activeBackground":"#00000030","editorIndentGuide.background":"#00000015","editorInfo.foreground":"#296aa3","editorInlayHint.background":"#f7f7f7","editorInlayHint.foreground":"#999999","editorLineNumber.activeForeground":"#4e4f47","editorLineNumber.foreground":"#393a3450","editorOverviewRuler.border":"#fff","editorStickyScroll.background":"#f7f7f7","editorStickyScrollHover.background":"#f7f7f7","editorWarning.foreground":"#a65e2b","editorWhitespace.foreground":"#00000015","editorWidget.background":"#ffffff","errorForeground":"#ab5959","focusBorder":"#00000000","foreground":"#393a34","gitDecoration.addedResourceForeground":"#1e754f","gitDecoration.conflictingResourceForeground":"#a65e2b","gitDecoration.deletedResourceForeground":"#ab5959","gitDecoration.ignoredResourceForeground":"#393a3450","gitDecoration.modifiedResourceForeground":"#296aa3","gitDecoration.submoduleResourceForeground":"#393a3490","gitDecoration.untrackedResourceForeground":"#2993a3","input.background":"#f7f7f7","input.border":"#f0f0f0","input.foreground":"#393a34","input.placeholderForeground":"#393a3490","inputOption.activeBackground":"#393a3450","list.activeSelectionBackground":"#f7f7f7","list.activeSelectionForeground":"#393a34","list.focusBackground":"#f7f7f7","list.highlightForeground":"#1c6b48","list.hoverBackground":"#f7f7f7","list.hoverForeground":"#393a34","list.inactiveFocusBackground":"#ffffff","list.inactiveSelectionBackground":"#f7f7f7","list.inactiveSelectionForeground":"#393a34","menu.separatorBackground":"#f0f0f0","notificationCenterHeader.background":"#ffffff","notificationCenterHeader.foreground":"#6a737d","notifications.background":"#ffffff","notifications.border":"#f0f0f0","notifications.foreground":"#393a34","notificationsErrorIcon.foreground":"#ab5959","notificationsInfoIcon.foreground":"#296aa3","notificationsWarningIcon.foreground":"#a65e2b","panel.background":"#ffffff","panel.border":"#f0f0f0","panelInput.border":"#e1e4e8","panelTitle.activeBorder":"#1c6b48","panelTitle.activeForeground":"#393a34","panelTitle.inactiveForeground":"#6a737d","peekViewEditor.background":"#ffffff","peekViewResult.background":"#ffffff","pickerGroup.border":"#f0f0f0","pickerGroup.foreground":"#393a34","problemsErrorIcon.foreground":"#ab5959","problemsInfoIcon.foreground":"#296aa3","problemsWarningIcon.foreground":"#a65e2b","progressBar.background":"#1c6b48","quickInput.background":"#ffffff","quickInput.foreground":"#393a34","quickInputList.focusBackground":"#f7f7f7","scrollbar.shadow":"#6a737d33","scrollbarSlider.activeBackground":"#393a3450","scrollbarSlider.background":"#393a3410","scrollbarSlider.hoverBackground":"#393a3450","settings.headerForeground":"#393a34","settings.modifiedItemIndicator":"#1c6b48","sideBar.background":"#ffffff","sideBar.border":"#f0f0f0","sideBar.foreground":"#4e4f47","sideBarSectionHeader.background":"#ffffff","sideBarSectionHeader.border":"#f0f0f0","sideBarSectionHeader.foreground":"#393a34","sideBarTitle.foreground":"#393a34","statusBar.background":"#ffffff","statusBar.border":"#f0f0f0","statusBar.debuggingBackground":"#f7f7f7","statusBar.debuggingForeground":"#4e4f47","statusBar.foreground":"#4e4f47","statusBar.noFolderBackground":"#ffffff","statusBarItem.prominentBackground":"#f7f7f7","tab.activeBackground":"#ffffff","tab.activeBorder":"#f0f0f0","tab.activeBorderTop":"#393a3490","tab.activeForeground":"#393a34","tab.border":"#f0f0f0","tab.hoverBackground":"#f7f7f7","tab.inactiveBackground":"#ffffff","tab.inactiveForeground":"#6a737d","tab.unfocusedActiveBorder":"#f0f0f0","tab.unfocusedActiveBorderTop":"#f0f0f0","tab.unfocusedHoverBackground":"#ffffff","terminal.ansiBlack":"#121212","terminal.ansiBlue":"#296aa3","terminal.ansiBrightBlack":"#aaaaaa","terminal.ansiBrightBlue":"#296aa3","terminal.ansiBrightCyan":"#2993a3","terminal.ansiBrightGreen":"#1e754f","terminal.ansiBrightMagenta":"#a13865","terminal.ansiBrightRed":"#ab5959","terminal.ansiBrightWhite":"#dddddd","terminal.ansiBrightYellow":"#bda437","terminal.ansiCyan":"#2993a3","terminal.ansiGreen":"#1e754f","terminal.ansiMagenta":"#a13865","terminal.ansiRed":"#ab5959","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#bda437","terminal.foreground":"#393a34","terminal.selectionBackground":"#22222218","textBlockQuote.background":"#ffffff","textBlockQuote.border":"#f0f0f0","textCodeBlock.background":"#ffffff","textLink.activeForeground":"#1c6b48","textLink.foreground":"#1c6b48","textPreformat.foreground":"#586069","textSeparator.foreground":"#d1d5da","titleBar.activeBackground":"#ffffff","titleBar.activeForeground":"#4e4f47","titleBar.border":"#f7f7f7","titleBar.inactiveBackground":"#ffffff","titleBar.inactiveForeground":"#6a737d","tree.indentGuidesStroke":"#e1e4e8","welcomePage.buttonBackground":"#f6f8fa","welcomePage.buttonHoverBackground":"#e1e4e8"},"displayName":"Vitesse Light","name":"vitesse-light","semanticHighlighting":true,"semanticTokenColors":{"class":"#5a6aa6","interface":"#2e808f","namespace":"#b05a78","property":"#998418","type":"#2e808f"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#a0ada0"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#999999"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#a65e2b"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#59873a"}},{"scope":"variable.parameter.function","settings":{"foreground":"#393a34"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#1e754f"}},{"scope":"entity.name.function","settings":{"foreground":"#59873a"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#1e754f"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#ab5959"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#393a34"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#b56959"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#b5695977"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#99841877"}},{"scope":"support","settings":{"foreground":"#998418"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#998418"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#b07d48"}},{"scope":["variable","identifier"],"settings":{"foreground":"#b07d48"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#2e8f82"}},{"scope":"namespace","settings":{"foreground":"#b05a78"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#ab5959"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"carriage-return","settings":{"background":"#d73a49","content":"^M","fontStyle":"italic underline","foreground":"#fafbfc"}},{"scope":"message.error","settings":{"foreground":"#b31d28"}},{"scope":"string variable","settings":{"foreground":"#b56959"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#ab5e3f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#b56959"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#bda437"}},{"scope":["support.constant"],"settings":{"foreground":"#a65e2b"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#2f798a"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#ab5959"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#1e754f"}},{"scope":"meta.module-reference","settings":{"foreground":"#1c6b48"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#a65e2b"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#1c6b48"}},{"scope":"markup.quote","settings":{"foreground":"#2e808f"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#393a34"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#393a34"}},{"scope":"markup.raw","settings":{"foreground":"#1c6b48"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#ffeef0","foreground":"#b31d28"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#f0fff4","foreground":"#22863a"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#ffebda","foreground":"#e36209"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#005cc5","foreground":"#f6f8fa"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#6f42c1"}},{"scope":"meta.diff.header","settings":{"foreground":"#005cc5"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#005cc5"}},{"scope":"meta.output","settings":{"foreground":"#005cc5"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#586069"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#b31d28"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#b56959"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#393a3490"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#5a6aa6"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#59873a"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"light"}'));function Jo(e){return k.getCurrentScope()?(k.onScopeDispose(e),!0):!1}const at=new WeakMap,Go=(...e)=>{var t;const n=e[0],r=(t=k.getCurrentInstance())==null?void 0:t.proxy;if(r==null&&!k.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&at.has(r)&&n in at.get(r)?at.get(r)[n]:k.inject(...e)},zo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Wo=e=>typeof e<"u",Yo=Object.prototype.toString,Ko=e=>Yo.call(e)==="[object Object]",Qo=()=>{};function Zn(...e){if(e.length!==1)return k.toRef(...e);const t=e[0];return typeof t=="function"?k.readonly(k.customRef(()=>({get:t,set:Qo}))):k.ref(t)}function Xo(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const er=e=>e();function Zo(e=er,t={}){const{initialState:n="active"}=t,r=Zn(n==="active");function o(){r.value=!1}function s(){r.value=!0}const a=(...i)=>{r.value&&e(...i)};return{isActive:k.readonly(r),pause:o,resume:s,eventFilter:a}}function Tn(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function st(e){return Array.isArray(e)?e:[e]}function ei(e){return k.getCurrentInstance()}function ti(e,t,n={}){const{eventFilter:r=er,...o}=n;return k.watch(e,Xo(r,t),o)}function ni(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:a,pause:i,resume:c,isActive:l}=Zo(r,{initialState:o});return{stop:ti(e,t,{...s,eventFilter:a}),pause:i,resume:c,isActive:l}}function tr(e,t=!0,n){ei()?k.onMounted(e,n):t?e():k.nextTick(e)}function ri(e,t,n){return k.watch(e,t,{...n,immediate:!0})}const Be=zo?window:void 0;function nr(e){var t;const n=k.toValue(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Tt(...e){const t=[],n=()=>{t.forEach(i=>i()),t.length=0},r=(i,c,l,d)=>(i.addEventListener(c,l,d),()=>i.removeEventListener(c,l,d)),o=k.computed(()=>{const i=st(k.toValue(e[0])).filter(c=>c!=null);return i.every(c=>typeof c!="string")?i:void 0}),s=ri(()=>{var i,c;return[(c=(i=o.value)==null?void 0:i.map(l=>nr(l)))!=null?c:[Be].filter(l=>l!=null),st(k.toValue(o.value?e[1]:e[0])),st(k.unref(o.value?e[2]:e[1])),k.toValue(o.value?e[3]:e[2])]},([i,c,l,d])=>{if(n(),!(i!=null&&i.length)||!(c!=null&&c.length)||!(l!=null&&l.length))return;const f=Ko(d)?{...d}:d;t.push(...i.flatMap(g=>c.flatMap(p=>l.map(h=>r(g,p,h,f)))))},{flush:"post"}),a=()=>{s(),n()};return Jo(n),a}function oi(){const e=k.shallowRef(!1),t=k.getCurrentInstance();return t&&k.onMounted(()=>{e.value=!0},t),e}function ii(e){const t=oi();return k.computed(()=>(t.value,!!e()))}const ai=Symbol("vueuse-ssr-width");function si(){const e=k.hasInjectionContext()?Go(ai,null):null;return typeof e=="number"?e:void 0}function ci(e,t={}){const{window:n=Be,ssrWidth:r=si()}=t,o=ii(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=k.shallowRef(typeof r=="number"),a=k.shallowRef(),i=k.shallowRef(!1),c=l=>{i.value=l.matches};return k.watchEffect(()=>{if(s.value){s.value=!o.value;const l=k.toValue(e).split(",");i.value=l.some(d=>{const f=d.includes("not all"),g=d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let h=!!(g||p);return g&&h&&(h=r>=Tn(g[1])),p&&h&&(h=r<=Tn(p[1])),f?!h:h});return}o.value&&(a.value=n.matchMedia(k.toValue(e)),i.value=a.value.matches)}),Tt(a,"change",c,{passive:!0}),k.computed(()=>i.value)}function li(e){return JSON.parse(JSON.stringify(e))}const He=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Fe="__vueuse_ssr_handlers__",ui=di();function di(){return Fe in He||(He[Fe]=He[Fe]||{}),He[Fe]}function rr(e,t){return ui[e]||t}function fi(e){return ci("(prefers-color-scheme: dark)",e)}function pi(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const gi={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},On="vueuse-storage";function or(e,t,n,r={}){var o;const{flush:s="pre",deep:a=!0,listenToStorageChanges:i=!0,writeDefaults:c=!0,mergeDefaults:l=!1,shallow:d,window:f=Be,eventFilter:g,onError:p=T=>{console.error(T)},initOnMounted:h}=r,b=(d?k.shallowRef:k.ref)(typeof t=="function"?t():t),m=k.computed(()=>k.toValue(e));if(!n)try{n=rr("getDefaultStorage",()=>{var T;return(T=Be)==null?void 0:T.localStorage})()}catch(T){p(T)}if(!n)return b;const S=k.toValue(t),v=pi(S),O=(o=r.serializer)!=null?o:gi[v],{pause:A,resume:L}=ni(b,()=>N(b.value),{flush:s,deep:a,eventFilter:g});k.watch(m,()=>w(),{flush:s}),f&&i&&tr(()=>{n instanceof Storage?Tt(f,"storage",w,{passive:!0}):Tt(f,On,x),h&&w()}),h||w();function I(T,j){if(f){const P={key:m.value,oldValue:T,newValue:j,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",P):new CustomEvent(On,{detail:P}))}}function N(T){try{const j=n.getItem(m.value);if(T==null)I(j,null),n.removeItem(m.value);else{const P=O.write(T);j!==P&&(n.setItem(m.value,P),I(j,P))}}catch(j){p(j)}}function U(T){const j=T?T.newValue:n.getItem(m.value);if(j==null)return c&&S!=null&&n.setItem(m.value,O.write(S)),S;if(!T&&l){const P=O.read(j);return typeof l=="function"?l(P,S):v==="object"&&!Array.isArray(P)?{...S,...P}:P}else return typeof j!="string"?j:O.read(j)}function w(T){if(!(T&&T.storageArea!==n)){if(T&&T.key==null){b.value=S;return}if(!(T&&T.key!==m.value)){A();try{(T==null?void 0:T.newValue)!==O.write(b.value)&&(b.value=U(T))}catch(j){p(j)}finally{T?k.nextTick(L):L()}}}}function x(T){w(T.detail)}return b}const hi="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function mi(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=Be,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:i=!0,storageRef:c,emitAuto:l,disableTransition:d=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},g=fi({window:o}),p=k.computed(()=>g.value?"dark":"light"),h=c||(a==null?Zn(r):or(a,r,s,{window:o,listenToStorageChanges:i})),b=k.computed(()=>h.value==="auto"?p.value:h.value),m=rr("updateHTMLAttrs",(A,L,I)=>{const N=typeof A=="string"?o==null?void 0:o.document.querySelector(A):nr(A);if(!N)return;const U=new Set,w=new Set;let x=null;if(L==="class"){const j=I.split(/\s/g);Object.values(f).flatMap(P=>(P||"").split(/\s/g)).filter(Boolean).forEach(P=>{j.includes(P)?U.add(P):w.add(P)})}else x={key:L,value:I};if(U.size===0&&w.size===0&&x===null)return;let T;d&&(T=o.document.createElement("style"),T.appendChild(document.createTextNode(hi)),o.document.head.appendChild(T));for(const j of U)N.classList.add(j);for(const j of w)N.classList.remove(j);x&&N.setAttribute(x.key,x.value),d&&(o.getComputedStyle(T).opacity,document.head.removeChild(T))});function S(A){var L;m(t,n,(L=f[A])!=null?L:A)}function v(A){e.onChanged?e.onChanged(A,S):S(A)}k.watch(b,v,{flush:"post",immediate:!0}),tr(()=>v(b.value));const O=k.computed({get(){return l?h.value:b.value},set(A){h.value=A}});return Object.assign(O,{store:h,system:p,state:b})}function yi(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=mi({...e,onChanged:(a,i)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,a==="dark",i,a):i(a)},modes:{dark:t,light:n}}),o=k.computed(()=>r.system.value);return k.computed({get(){return r.value==="dark"},set(a){const i=a?"dark":"light";o.value===i?r.value="auto":r.value=i}})}const Ce=new Map;function bi(e){const t=k.getCurrentScope();function n(i){var c;const l=Ce.get(e)||new Set;l.add(i),Ce.set(e,l);const d=()=>o(i);return(c=t==null?void 0:t.cleanups)==null||c.push(d),d}function r(i){function c(...l){o(c),i(...l)}return n(c)}function o(i){const c=Ce.get(e);c&&(c.delete(i),c.size||s())}function s(){Ce.delete(e)}function a(i,c){var l;(l=Ce.get(e))==null||l.forEach(d=>d(i,c))}return{on:n,once:r,off:o,emit:a,reset:s}}function vi(e,t,n,r={}){var o,s,a;const{clone:i=!1,passive:c=!1,eventName:l,deep:d=!1,defaultValue:f,shouldEmit:g}=r,p=k.getCurrentInstance(),h=n||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((a=(s=p==null?void 0:p.proxy)==null?void 0:s.$emit)==null?void 0:a.bind(p==null?void 0:p.proxy));let b=l;t||(t="modelValue"),b=b||`update:${t.toString()}`;const m=O=>i?typeof i=="function"?i(O):li(O):O,S=()=>Wo(e[t])?m(e[t]):f,v=O=>{g?g(O)&&h(b,O):h(b,O)};if(c){const O=S(),A=k.ref(O);let L=!1;return k.watch(()=>e[t],I=>{L||(L=!0,A.value=m(I),k.nextTick(()=>L=!1))}),k.watch(A,I=>{!L&&(I!==e[t]||d)&&v(I)},{deep:d}),A}else return k.computed({get(){return S()},set(O){v(O)}})}const wn="",En=` `;class D{constructor({indent:t,join:n}={}){this.postProcessors=[],this.code=[],this.indentationCharacter=wn,this.lineJoin=En,this.indentLine=(r,o=0)=>`${this.indentationCharacter.repeat(o)}${r}`,this.unshift=(r,o)=>{const s=this.indentLine(r,o);this.code.unshift(s)},this.push=(r,o)=>{const s=this.indentLine(r,o);this.code.push(s)},this.blank=()=>{this.code.push("")},this.join=()=>{const r=this.code.join(this.lineJoin);return this.postProcessors.reduce((s,a)=>a(s),r)},this.addPostProcessor=r=>{this.postProcessors=[...this.postProcessors,r]},this.indentationCharacter=t||wn,this.lineJoin=n??En}}function ze(e,t={}){const{delimiter:n='"',escapeChar:r="\\",escapeNewlines:o=!0}=t;return[...e.toString()].map(a=>a==="\b"?`${r}b`:a===" "?`${r}t`:a===` `?o?`${r}n`:a:a==="\f"?`${r}f`:a==="\r"?o?`${r}r`:a:a===r?r+r:a===n?r+n:a<" "||a>"~"?JSON.stringify(a).slice(1,-1):a).join("")}const It=e=>ze(e,{delimiter:"'"}),J=e=>ze(e,{delimiter:'"'}),Si={info:{key:"libcurl",title:"Libcurl",link:"http://curl.haxx.se/libcurl",description:"Simple REST and HTTP API Client for C"},convert:({method:e,fullUrl:t,headersObj:n,allHeaders:r,postData:o})=>{const{push:s,blank:a,join:i}=new D;s("CURL *hnd = curl_easy_init();"),a(),s(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),s(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);const c=Object.keys(n);return c.length&&(a(),s("struct curl_slist *headers = NULL;"),c.forEach(l=>{s(`headers = curl_slist_append(headers, "${l}: ${J(n[l])}");`)}),s("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),r.cookie&&(a(),s(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${r.cookie}");`)),o!=null&&o.text&&(a(),s(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(o.text)});`)),a(),s("CURLcode ret = curl_easy_perform(hnd);"),i()}};function M(e,t){var f,g,p,h;const n=new URL((t==null?void 0:t.url)??""),r=n.pathname==="/"?n.origin:n.toString(),o={method:(t==null?void 0:t.method)??"GET",url:r,httpVersion:"HTTP/1.1",cookies:[],headers:(t==null?void 0:t.headers)??[],headersSize:-1,bodySize:-1,queryString:Array.from(n.searchParams.entries()).map(([b,m])=>({name:b,value:m})),postData:t==null?void 0:t.postData},s=((o==null?void 0:o.headers)??[]).reduce((b,m)=>({...b,[m.name]:m.value}),{}),a=(o.queryString??[]).reduce((b,m)=>({...b,[m.name]:m.value}),{}),i=(o.cookies??[]).reduce((b,m)=>({...b,[m.name]:m.value}),{}),c=new URL(o.url),l={protocol:c.protocol,hostname:c.hostname,host:c.hostname,port:c.port,pathname:c.pathname.split("/").map(b=>encodeURIComponent(decodeURIComponent(b))).join("/")+c.search,path:c.pathname.split("/").map(b=>encodeURIComponent(decodeURIComponent(b))).join("/")+c.search,search:c.search,hash:c.hash,href:c.href,origin:c.origin,password:c.password,searchParams:c.searchParams,username:c.username,toString:c.toString,toJSON:()=>c.toJSON()},d={url:o.url,uriObj:l,method:((f=o.method)==null?void 0:f.toLocaleUpperCase())??"GET",httpVersion:o.httpVersion,cookies:o.cookies??[],headers:o.headers??[],headersSize:o.headersSize,headersObj:s??{},bodySize:o.bodySize,queryString:o.queryString??[],postData:o.postData?{mimeType:o.postData.mimeType??"application/json",text:o.postData.text??"",params:o.postData.params??[],paramsObj:((g=o.postData.params)==null?void 0:g.reduce((b,m)=>(m.name&&m.value!==void 0&&(b[m.name]=m.value),b),{}))??{}}:void 0,allHeaders:s??{},fullUrl:o.url,queryObj:a??{},cookiesObj:i??{}};if(((p=d.postData)==null?void 0:p.mimeType)==="application/json"&&((h=d.postData)!=null&&h.text))try{d.postData.jsonObj=JSON.parse(d.postData.text)}catch(b){console.error("Error parsing JSON:",b)}return typeof e.convert=="function"?e.convert(d):""}const $i={target:"c",client:"libcurl",title:"Libcurl",generate(e){return M(Si,e)}},ki={info:{key:"nethttp",title:"java.net.http",link:"https://openjdk.java.net/groups/net/httpclient/intro.html",description:"Java Standardized HTTP Client API"},convert:({allHeaders:e,fullUrl:t,method:n,postData:r},o)=>{const s={indent:" ",...o},{push:a,join:i}=new D({indent:s.indent});return a("HttpRequest request = HttpRequest.newBuilder()"),a(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(c=>{a(`.header("${c}", "${J(e[c])}")`,2)}),r!=null&&r.text?a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),a(".build();",2),a("HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),a("System.out.println(response.body());"),i()}},Ti={target:"java",client:"nethttp",title:"java.net.http",generate(e){return M(ki,e)}},Oi={info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:n,allHeaders:r},o)=>{const s={indent:" ",...o},{push:a,blank:i,join:c}=new D({indent:s.indent}),l=["GET","POST","PUT","DELETE","PATCH","HEAD"],d=["POST","PUT","DELETE","PATCH"];return a("OkHttpClient client = new OkHttpClient();"),i(),e!=null&&e.text&&(e.boundary?a(`MediaType mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}");`):a(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),a(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`)),a("Request request = new Request.Builder()"),a(`.url("${n}")`,1),l.includes(t.toUpperCase())?d.includes(t.toUpperCase())?e!=null&&e.text?a(`.${t.toLowerCase()}(body)`,1):a(`.${t.toLowerCase()}(null)`,1):a(`.${t.toLowerCase()}()`,1):e!=null&&e.text?a(`.method("${t.toUpperCase()}", body)`,1):a(`.method("${t.toUpperCase()}", null)`,1),Object.keys(r).forEach(f=>{a(`.addHeader("${f}", "${J(r[f])}")`,1)}),a(".build();",1),i(),a("Response response = client.newCall(request).execute();"),c()}},wi={target:"java",client:"okhttp",title:"OkHttp",generate(e){return M(Oi,e)}},Ei={info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const s={indent:" ",...o},{join:a,push:i}=new D({indent:s.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?i(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):i(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),Object.keys(t).forEach(l=>{i(`.header("${l}", "${J(t[l])}")`,1)}),n!=null&&n.text&&i(`.body(${JSON.stringify(n.text)})`,1),i(".asString();",1),a()}},xi={target:"java",client:"unirest",title:"Unirest",generate(e){return M(Ei,e)}},ie=(e,t)=>Object.keys(e).find(n=>n.toLowerCase()===t.toLowerCase()),le=(e,t)=>{const n=ie(e,t);if(n)return e[n]},ir=(e,t)=>!!ie(e,t),ji=e=>{let t=le(e,"accept-encoding");if(!t)return[];const n={gzip:"DecompressionMethods.GZip",deflate:"DecompressionMethods.Deflate"},r=[];return typeof t=="string"&&(t=[t]),t.forEach(o=>{o.split(",").forEach(s=>{const a=/\s*([^;\s]+)/.exec(s);if(a){const i=n[a[1]];i&&r.push(i)}})}),r},Ci={info:{key:"httpclient",title:"HttpClient",link:"https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient",description:".NET Standard HTTP Client"},convert:({allHeaders:e,postData:t,method:n,fullUrl:r},o)=>{let s,a;const i={indent:" ",...o},{push:c,join:l}=new D({indent:i.indent});c("using System.Net.Http.Headers;");let d="";const f=!!e.cookie,g=ji(e);(f||g.length)&&(d="clientHandler",c("var clientHandler = new HttpClientHandler"),c("{"),f&&c("UseCookies = false,",1),g.length&&c(`AutomaticDecompression = ${g.join(" | ")},`,1),c("};")),c(`var client = new HttpClient(${d});`),c("var request = new HttpRequestMessage"),c("{");const p=["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","TRACE"];n=n.toUpperCase(),n&&p.includes(n)?n=`HttpMethod.${n[0]}${n.substring(1).toLowerCase()}`:n=`new HttpMethod("${n}")`,c(`Method = ${n},`,1),c(`RequestUri = new Uri("${r}"),`,1);const h=Object.keys(e).filter(b=>{switch(b.toLowerCase()){case"content-type":case"content-length":case"accept-encoding":return!1;default:return!0}});if(h.length&&(c("Headers =",1),c("{",1),h.forEach(b=>{c(`{ "${b}", "${J(e[b])}" },`,2)}),c("},",1)),t!=null&&t.text){const b=t.mimeType;switch(b){case"application/x-www-form-urlencoded":c("Content = new FormUrlEncodedContent(new Dictionary<string, string>",1),c("{",1),(s=t.params)===null||s===void 0||s.forEach(m=>{c(`{ "${m.name}", "${m.value}" },`,2)}),c("}),",1);break;case"multipart/form-data":c("Content = new MultipartFormDataContent",1),c("{",1),(a=t.params)===null||a===void 0||a.forEach(m=>{c(`new StringContent(${JSON.stringify(m.value||"")})`,2),c("{",2),c("Headers =",3),c("{",3),m.contentType&&c(`ContentType = new MediaTypeHeaderValue("${m.contentType}"),`,4),c('ContentDisposition = new ContentDispositionHeaderValue("form-data")',4),c("{",4),c(`Name = "${m.name}",`,5),m.fileName&&c(`FileName = "${m.fileName}",`,5),c("}",4),c("}",3),c("},",2)}),c("},",1);break;default:c(`Content = new StringContent(${JSON.stringify((t==null?void 0:t.text)||"")})`,1),c("{",1),c("Headers =",2),c("{",2),c(`ContentType = new MediaTypeHeaderValue("${b}")`,3),c("}",2),c("}",1);break}}return c("};"),c("using (var response = await client.SendAsync(request))"),c("{"),c("response.EnsureSuccessStatusCode();",1),c("var body = await response.Content.ReadAsStringAsync();",1),c("Console.WriteLine(body);",1),c("}"),l()}},Ai={target:"csharp",client:"httpclient",title:"HttpClient",generate(e){return M(Ci,e)}},Pi={info:{key:"restsharp",title:"RestSharp",link:"http://restsharp.org/",description:"Simple REST and HTTP API Client for .NET"},convert:({allHeaders:e,method:t,fullUrl:n,headersObj:r,cookies:o,postData:s})=>{const{push:a,join:i}=new D;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";if(a(`var client = new RestClient("${n}");`),a(`var request = new RestRequest(Method.${t.toUpperCase()});`),Object.keys(r).forEach(l=>{a(`request.AddHeader("${l}", "${J(r[l])}");`)}),o==null||o.forEach(({name:l,value:d})=>{a(`request.AddCookie("${l}", "${d}");`)}),s!=null&&s.text){const l=le(e,"content-type"),d=JSON.stringify(s.text);a(`request.AddParameter("${l}", ${d}, ParameterType.RequestBody);`)}return a("IRestResponse response = client.Execute(request);"),i()}},Li={target:"csharp",client:"restsharp",title:"RestSharp",generate(e){return M(Pi,e)}};class xn{constructor(t){this.name="",this.toString=()=>`:${this.name}`,this.name=t}}let Ii=class{constructor(t){this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=t}};const ar=e=>e===void 0?null:e===null?"null":e.constructor.name.toLowerCase(),sr=e=>ar(e)==="object"?Object.keys(e).length===0:!1,jn=e=>(Object.keys(e).filter(t=>sr(e[t])).forEach(t=>{delete e[t]}),e),Ve=(e,t)=>{const n=" ".repeat(e);return t.replace(/\n/g,` ${n}`)},Ot=e=>{switch(ar(e)){case"string":return`"${e.replace(/"/g,'\\"')}"`;case"file":return e.toString();case"keyword":return e.toString();case"null":return"nil";case"regexp":return`#"${e.source}"`;case"object":{const t=Object.keys(e).reduce((n,r)=>{const o=Ve(r.length+2,Ot(e[r]));return`${n}:${r} ${o} `},"").trim();return`{${Ve(1,t)}}`}case"array":{const t=e.reduce((n,r)=>`${n} ${Ot(r)}`,"").trim();return`[${Ve(1,t)}]`}default:return e.toString()}},Ri={info:{key:"clj_http",title:"clj-http",link:"https://github.com/dakrone/clj-http",description:"An idiomatic clojure http client wrapping the apache client."},convert:({queryObj:e,method:t,postData:n,url:r,allHeaders:o},s)=>{const{push:a,join:i}=new D({indent:s==null?void 0:s.indent}),c=["get","post","put","delete","patch","head","options"];if(t=t.toLowerCase(),!c.includes(t))return a("Method not supported"),i();const l={headers:o,"query-params":e};switch(e&&Object.keys(e).length>0&&(r=r.split("?")[0]),n==null?void 0:n.mimeType){case"application/json":{l["content-type"]=new xn("json"),l["form-params"]=n.jsonObj;const d=ie(l.headers,"content-type");d&&delete l.headers[d]}break;case"application/x-www-form-urlencoded":{l["form-params"]=n.paramsObj;const d=ie(l.headers,"content-type");d&&delete l.headers[d]}break;case"text/plain":{l.body=n.text;const d=ie(l.headers,"content-type");d&&delete l.headers[d]}break;case"multipart/form-data":{if(n.params){l.multipart=n.params.map(f=>f.fileName&&!f.value?{name:f.name,content:new Ii(f.fileName)}:{name:f.name,content:f.value});const d=ie(l.headers,"content-type");d&&delete l.headers[d]}break}}switch(le(l.headers,"accept")){case"application/json":{l.accept=new xn("json");const d=ie(l.headers,"accept");d&&delete l.headers[d]}break}if(a(`(require '[clj-http.client :as client]) `),sr(jn(l)))a(`(client/${t} "${r}")`);else{const d=11+t.length+r.length,f=Ve(d,Ot(jn(l)));a(`(client/${t} "${r}" ${f})`)}return i()}},Bi={target:"clojure",client:"clj_http",title:"clj-http",generate(e){return M(Ri,e)}},Ni={target:"dart",client:"http",title:"Http",generate(e,t){var p,h,b;const n={method:"GET",...e};n.method=n.method.toUpperCase();let r=`import 'package:http/http.dart' as http; void main() async { `,o="",s="";n.cookies&&n.cookies.length>0&&(s=n.cookies.map(m=>`${encodeURIComponent(m.name)}=${encodeURIComponent(m.value)}`).join("; "),o=` "Cookie": "${s}", `);const a=((p=n.headers)==null?void 0:p.reduce((m,S)=>(S.value&&!/[; ]/.test(S.name)&&(m[S.name]=S.value),m),{}))||{};if(t!=null&&t.auth){const{username:m,pa