@openapi-studio/core 0.4.0 → 0.6.1

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.
@@ -0,0 +1 @@
1
+ .service-host-dropdown-wrapper[data-v-2eb02fe1]{position:relative;margin-left:auto}.service-host-dropdown[data-v-2eb02fe1]{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));color:hsl(var(--foreground));font-size:.875rem;min-width:200px;height:2rem;cursor:pointer;transition:border-color .2s}.service-host-dropdown[data-v-2eb02fe1]:hover{border-color:hsl(var(--ring))}.service-host-dropdown .service-host-selected[data-v-2eb02fe1]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-host-dropdown .service-host-placeholder[data-v-2eb02fe1]{flex:1;color:hsl(var(--muted-foreground))}.service-host-dropdown .service-host-chevron[data-v-2eb02fe1]{color:hsl(var(--muted-foreground));transition:transform .2s;flex-shrink:0}.service-host-dropdown-menu[data-v-2eb02fe1]{position:absolute;top:calc(100% + .25rem);right:0;min-width:300px;max-width:400px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;z-index:1000;max-height:400px;overflow-y:auto;overflow-x:hidden}.service-host-list[data-v-2eb02fe1]{padding:.5rem;min-height:2rem}.service-host-empty-state[data-v-2eb02fe1]{padding:1.5rem .5rem;text-align:center;color:hsl(var(--muted-foreground))}.service-host-empty-text[data-v-2eb02fe1]{font-size:.875rem;font-weight:500;margin:0 0 .25rem;color:hsl(var(--foreground))}.service-host-empty-hint[data-v-2eb02fe1]{font-size:.75rem;margin:0;color:hsl(var(--muted-foreground))}.service-host-item[data-v-2eb02fe1]{display:flex;align-items:center;gap:.5rem;padding:.5rem;border-radius:calc(var(--radius) - 2px);cursor:pointer;transition:background-color .2s}.service-host-item[data-v-2eb02fe1]:hover{background:hsl(var(--muted)/.5)}.service-host-item.selected[data-v-2eb02fe1]{background:hsl(var(--primary)/.1)}.service-host-item .service-host-item-content[data-v-2eb02fe1]{flex:1;min-width:0}.service-host-item .service-host-item-label[data-v-2eb02fe1]{font-size:.875rem;font-weight:500;color:hsl(var(--foreground));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-host-item .service-host-item-url[data-v-2eb02fe1]{font-size:.75rem;color:hsl(var(--muted-foreground));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-host-item .service-host-item-remove[data-v-2eb02fe1]{padding:.25rem;border:none;background:transparent;color:hsl(var(--muted-foreground));cursor:pointer;border-radius:calc(var(--radius) - 2px);display:flex;align-items:center;justify-content:center;transition:all .2s}.service-host-item .service-host-item-remove[data-v-2eb02fe1]:hover{background:hsl(var(--destructive)/.1);color:hsl(var(--destructive))}.service-host-add-section[data-v-2eb02fe1]{border-top:1px solid hsl(var(--border));padding:.5rem}.service-host-add-btn[data-v-2eb02fe1]{width:100%;padding:.5rem;border:1px dashed hsl(var(--border));border-radius:calc(var(--radius) - 2px);background:transparent;color:hsl(var(--foreground));font-size:.875rem;cursor:pointer;transition:all .2s}.service-host-add-btn[data-v-2eb02fe1]:hover{border-color:hsl(var(--ring));background:hsl(var(--muted)/.3)}.service-host-add-form[data-v-2eb02fe1]{display:flex;flex-direction:column;gap:.5rem}.service-host-add-input[data-v-2eb02fe1]{padding:.5rem;border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);background:hsl(var(--background));color:hsl(var(--foreground));font-size:.875rem;outline:none;transition:border-color .2s}.service-host-add-input[data-v-2eb02fe1]:focus{border-color:hsl(var(--ring))}.service-host-add-input[data-v-2eb02fe1]::placeholder{color:hsl(var(--muted-foreground))}.service-host-add-actions[data-v-2eb02fe1]{display:flex;gap:.5rem;justify-content:flex-end}.service-host-add-submit[data-v-2eb02fe1],.service-host-add-cancel[data-v-2eb02fe1]{padding:.375rem .75rem;border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);font-size:.875rem;cursor:pointer;transition:all .2s}.service-host-add-submit[data-v-2eb02fe1]{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:hsl(var(--primary))}.service-host-add-submit[data-v-2eb02fe1]:hover:not(:disabled){opacity:.9}.service-host-add-submit[data-v-2eb02fe1]:disabled{opacity:.5;cursor:not-allowed}.service-host-add-cancel[data-v-2eb02fe1]{background:transparent;color:hsl(var(--foreground))}.service-host-add-cancel[data-v-2eb02fe1]:hover{background:hsl(var(--muted)/.3)}.endpoint-tester[data-v-04dc84cc]{flex:1;padding:1.5rem;overflow-y:auto;overflow-x:hidden;min-height:0;background-color:hsl(var(--background));background-image:linear-gradient(hsl(var(--border)/.3) 1px,transparent 1px),linear-gradient(90deg,hsl(var(--border)/.3) 1px,transparent 1px);background-size:50px 50px;background-position:0 0,0 0;border-right:1px solid hsl(var(--border));display:flex;flex-direction:column}.endpoint-header[data-v-04dc84cc]{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid hsl(var(--border))}.endpoint-title[data-v-04dc84cc]{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem;flex-wrap:wrap}.method-badge[data-v-04dc84cc]{display:inline-flex;align-items:center;justify-content:center;padding:.125rem .375rem;border-radius:3px;color:#fff;font-weight:600;font-size:.625rem;text-transform:uppercase;flex-shrink:0;line-height:1.2;width:3.5rem;min-width:3.5rem;max-width:3.5rem;text-align:center;box-sizing:border-box}.method-badge.large[data-v-04dc84cc]{font-size:.875rem;padding:.375rem .75rem;width:auto;min-width:auto;max-width:none}.endpoint-path[data-v-04dc84cc]{font-family:Chivo Mono Variable,monospace;font-size:.75rem;color:hsl(var(--foreground));font-weight:500;flex:1 1 auto;min-width:0;line-height:1.3;word-break:break-all;overflow-wrap:break-word}.security-indicator-large[data-v-04dc84cc]{color:hsl(var(--muted-foreground));flex-shrink:0;opacity:.8}.endpoint-info[data-v-04dc84cc]{margin-top:.75rem}.endpoint-summary-text[data-v-04dc84cc]{color:hsl(var(--foreground));margin-top:0;margin-bottom:.5rem;line-height:1.5;font-size:1rem;font-weight:500}.endpoint-description[data-v-04dc84cc]{color:hsl(var(--muted-foreground));margin-top:0;margin-bottom:0;line-height:1.6;font-size:.9375rem}.security-schemes-wrapper[data-v-04dc84cc]{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid hsl(var(--border))}.security-schemes-title[data-v-04dc84cc]{font-size:.875rem;font-weight:600;color:hsl(var(--foreground));margin:0 0 .75rem;text-transform:uppercase;letter-spacing:.05em}.security-schemes-section[data-v-04dc84cc]{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.security-scheme-card[data-v-04dc84cc]{display:flex;align-items:center;gap:.375rem;padding:.375rem .625rem;background-color:hsl(var(--muted)/.5);border:1px solid hsl(var(--muted-foreground)/.2);border-radius:calc(var(--radius) - 2px);font-size:.6875rem;transition:all .2s ease;cursor:pointer}.security-scheme-card[data-v-04dc84cc]:hover{background-color:hsl(var(--muted)/.7);border-color:hsl(var(--muted-foreground)/.3)}.security-scheme-card.selected[data-v-04dc84cc]{border-color:hsl(var(--primary));background-color:hsla(var(--primary)/.1);box-shadow:0 0 0 2px hsla(var(--primary)/.2)}.security-scheme-card.selected .security-card-icon[data-v-04dc84cc]{color:hsl(var(--primary));opacity:1}.security-scheme-card.selected .scheme-name[data-v-04dc84cc]{color:hsl(var(--primary))}.security-card-icon[data-v-04dc84cc]{color:hsl(var(--muted-foreground));flex-shrink:0;opacity:.8;transition:all .2s ease}.scheme-name[data-v-04dc84cc]{font-weight:500;color:hsl(var(--foreground));font-family:Chivo Mono Variable,monospace;font-size:.6875rem;transition:color .2s ease}.request-section[data-v-04dc84cc]{margin-bottom:1.5rem;border:1px solid hsl(var(--border));border-radius:var(--radius);padding:1.25rem;background:hsl(var(--card));box-shadow:0 1px 2px #0000001a}.request-section h3[data-v-04dc84cc]{font-size:1.125rem;margin-bottom:1.25rem;margin-top:0;font-weight:600;color:hsl(var(--foreground))}.params-section[data-v-04dc84cc]{margin-bottom:1.25rem}.params-section[data-v-04dc84cc]:last-child{margin-bottom:0}.params-section h4[data-v-04dc84cc]{font-size:.75rem;margin-bottom:.75rem;margin-top:0;font-weight:600;color:hsl(var(--foreground));text-transform:uppercase;letter-spacing:.05em}.params-list[data-v-04dc84cc]{display:flex;flex-direction:column;gap:.75rem}.param-item[data-v-04dc84cc]{display:flex;flex-direction:row;align-items:center;gap:.75rem}.param-item dt[data-v-04dc84cc]{font-size:.875rem;color:hsl(var(--foreground));margin:0;flex:1}.param-item dd[data-v-04dc84cc]{margin:0;flex:1}.param-item .param-name[data-v-04dc84cc]{font-weight:500;font-family:Chivo Mono Variable,monospace}.param-item .required[data-v-04dc84cc]{color:hsl(var(--destructive));margin-left:.25rem}.param-item .param-desc[data-v-04dc84cc]{color:hsl(var(--muted-foreground));font-weight:400}.param-item input[data-v-04dc84cc]{width:100%;padding:.5rem;border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);background:hsl(var(--input));color:hsl(var(--foreground));font-family:Chivo Mono Variable,monospace;font-size:.875rem}.param-item input[data-v-04dc84cc]:focus{outline:none;border-color:hsl(var(--ring))}.body-section[data-v-04dc84cc]{margin-bottom:1.25rem}.body-section[data-v-04dc84cc]:last-child{margin-bottom:0}.body-section h4[data-v-04dc84cc]{font-size:.75rem;margin-bottom:0;margin-top:0;font-weight:600;color:hsl(var(--foreground));text-transform:uppercase;letter-spacing:.05em}.body-section-header[data-v-04dc84cc]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.view-toggle[data-v-04dc84cc]{display:inline-flex;gap:0;background:transparent;border-radius:calc(var(--radius) - 2px);padding:0;border:1px solid hsl(var(--border));overflow:hidden}.toggle-btn[data-v-04dc84cc]{padding:.375rem .75rem;background:transparent;border:none;border-radius:0;cursor:pointer;font-size:.75rem;font-weight:500;color:hsl(var(--muted-foreground));transition:all .2s ease;white-space:nowrap;border-right:1px solid hsl(var(--border))}.toggle-btn[data-v-04dc84cc]:last-child{border-right:none}.toggle-btn[data-v-04dc84cc]:hover{color:hsl(var(--foreground))}.toggle-btn.active[data-v-04dc84cc]{background:hsl(var(--muted));color:hsl(var(--foreground))}.toggle-btn.small[data-v-04dc84cc]{padding:.25rem .5rem;font-size:.6875rem}.schema-display[data-v-04dc84cc]{border:1px solid hsl(var(--border));border-radius:var(--radius);overflow:hidden;background:hsl(var(--input));max-height:400px;min-height:150px;overflow-y:auto;overflow-x:auto}.schema-text[data-v-04dc84cc]{margin:0;padding:1rem;font-family:Chivo Mono Variable,monospace;font-size:.8125rem;line-height:1.8;color:hsl(var(--foreground));white-space:pre;overflow-x:auto;background:hsl(var(--input))}.json-editor-wrapper[data-v-04dc84cc]{width:100%;border:1px solid hsl(var(--border));border-radius:var(--radius);overflow:auto;background:hsl(var(--input))}.json-editor-wrapper[data-v-04dc84cc] .jsoneditor{border:none;background:hsl(var(--input))}.json-editor-wrapper[data-v-04dc84cc] .jsoneditor-menu{background:hsl(var(--muted));border-bottom:none}.json-editor-wrapper[data-v-04dc84cc] .jsoneditor-outer{background:hsl(var(--input))}.json-editor-wrapper[data-v-04dc84cc] .ace_editor{background:hsl(var(--input))!important;color:hsl(var(--foreground))!important}.json-editor-wrapper[data-v-04dc84cc] .ace_gutter{background:hsl(var(--muted))!important}.send-button[data-v-04dc84cc]{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;background:hsl(var(--primary)/.9);color:hsl(var(--primary-foreground));border:1px solid hsl(var(--primary)/.3);border-radius:var(--radius);cursor:pointer;font-weight:600;font-size:.8125rem;letter-spacing:.025em;margin:1.5rem auto 0;box-shadow:0 4px 6px -1px #0000004d,0 2px 4px -1px #0003}.send-button[data-v-04dc84cc]:hover:not(:disabled){background:hsl(var(--primary)/1);border-color:hsl(var(--primary)/.5);box-shadow:0 6px 12px -2px #0006,0 4px 6px -1px #0000004d}.send-button[data-v-04dc84cc]:active:not(:disabled){box-shadow:0 2px 4px -1px #0000004d,0 1px 2px -1px #0003}.send-button[data-v-04dc84cc]:disabled{opacity:.6;cursor:not-allowed}.send-button-icon[data-v-04dc84cc]{flex-shrink:0}.response-section[data-v-04dc84cc]{margin-bottom:1.5rem}.response-section h3[data-v-04dc84cc]{font-size:1.125rem;margin-bottom:1.25rem;margin-top:0;font-weight:600;color:hsl(var(--foreground))}.section-header[data-v-04dc84cc]{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem}.section-header h3[data-v-04dc84cc]{margin-bottom:0}.clear-history-btn[data-v-04dc84cc]{padding:.375rem .75rem;background:hsl(var(--muted));color:hsl(var(--foreground));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);cursor:pointer;font-size:.8125rem;font-weight:500;transition:all .2s}.clear-history-btn[data-v-04dc84cc]:hover{background:hsl(var(--accent));border-color:hsl(var(--accent))}.no-response[data-v-04dc84cc]{padding:1.5rem;text-align:center;color:hsl(var(--muted-foreground));border:1px dashed hsl(var(--border));border-radius:var(--radius)}.request-history-list[data-v-04dc84cc]{display:flex;flex-direction:column;gap:1rem}.history-item[data-v-04dc84cc]{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));padding:1rem;margin-bottom:1rem;box-shadow:0 1px 2px #0000001a}.history-item[data-v-04dc84cc]:last-child{margin-bottom:0}.history-item-header[data-v-04dc84cc]{padding:0;display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;border-bottom:1px solid hsl(var(--border));padding-bottom:.75rem;flex-wrap:wrap}.history-item-title[data-v-04dc84cc]{display:flex;align-items:center;gap:.75rem;flex:1 1 0;min-width:200px;flex-wrap:nowrap}.history-url[data-v-04dc84cc]{font-family:Chivo Mono Variable,monospace;font-size:.8125rem;color:hsl(var(--foreground));flex:1 1 auto;min-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-meta-group[data-v-04dc84cc]{display:flex;align-items:center;gap:0;flex:0 0 auto;flex-wrap:wrap;min-width:fit-content}@media(max-width:640px){.history-meta-group[data-v-04dc84cc]{width:100%;flex-direction:column;align-items:flex-start;gap:.5rem}}.history-auth-scheme[data-v-04dc84cc]{display:inline-flex;align-items:center;gap:.375rem;font-size:.75rem;color:hsl(var(--muted-foreground));white-space:nowrap;flex-shrink:0;padding-right:.75rem}@media(max-width:640px){.history-auth-scheme[data-v-04dc84cc]{padding-right:0;padding-bottom:.5rem;border-bottom:1px solid hsl(var(--border));width:100%}}.history-timestamp[data-v-04dc84cc]{font-size:.75rem;color:hsl(var(--muted-foreground));white-space:nowrap;flex-shrink:0;padding:0 .75rem;border-left:1px solid hsl(var(--border))}@media(max-width:640px){.history-timestamp[data-v-04dc84cc]{padding:0;padding-bottom:.5rem;border-left:none;border-bottom:1px solid hsl(var(--border));width:100%}}.status-code[data-v-04dc84cc]{display:inline-flex;align-items:center;justify-content:center;padding:.25rem .5rem;border-radius:calc(var(--radius) - 2px);font-weight:600;font-size:.75rem;white-space:nowrap;flex-shrink:0}.status-code.success[data-v-04dc84cc]{background-color:#49cc901a;color:#49cc90;border:1px solid rgba(73,204,144,.2)}.status-code.error[data-v-04dc84cc]{background-color:#f93e3e1a;color:#f93e3e;border:1px solid rgba(249,62,62,.2)}.status-code.redirect[data-v-04dc84cc]{background-color:#ffc1071a;color:#ffc107;border:1px solid rgba(255,193,7,.2)}.status-code[data-v-04dc84cc]:not(.success):not(.error):not(.redirect){background-color:hsl(var(--muted));color:hsl(var(--muted-foreground));border:1px solid hsl(var(--border))}.history-curl-section[data-v-04dc84cc]{margin-bottom:1rem;padding:.75rem;background:hsl(var(--input));border-radius:calc(var(--radius) - 2px)}.history-curl-section .curl-header[data-v-04dc84cc]{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:.25rem;border-radius:calc(var(--radius) - 2px);transition:background-color .2s}.history-curl-section .curl-header[data-v-04dc84cc]:hover{background:hsl(var(--muted))}.history-curl-section .curl-header .curl-header-left[data-v-04dc84cc]{display:flex;align-items:center;gap:.5rem}.history-curl-section .curl-header .curl-toggle-icon[data-v-04dc84cc]{color:hsl(var(--muted-foreground));flex-shrink:0}.history-curl-section .curl-header h5[data-v-04dc84cc]{font-size:.875rem;font-weight:600;margin:0}.history-curl-section .copy-curl-btn[data-v-04dc84cc]{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background:hsl(var(--muted));color:hsl(var(--foreground));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);cursor:pointer;font-size:.875rem;transition:all .2s}.history-curl-section .copy-curl-btn[data-v-04dc84cc]:hover{background:hsl(var(--accent));opacity:.9}.history-curl-section .curl-command[data-v-04dc84cc]{padding:.75rem 0;overflow-x:auto}.history-curl-section .curl-command pre[data-v-04dc84cc]{margin:0;font-family:Chivo Mono Variable,monospace;font-size:.8125rem;line-height:1.6;color:hsl(var(--foreground));white-space:pre-wrap;word-break:break-all}.history-request-body[data-v-04dc84cc],.history-response[data-v-04dc84cc],.history-error[data-v-04dc84cc]{padding:.75rem 0;margin-bottom:1rem}.history-request-body[data-v-04dc84cc]:last-child,.history-response[data-v-04dc84cc]:last-child,.history-error[data-v-04dc84cc]:last-child{margin-bottom:0}.history-request-body h5[data-v-04dc84cc],.history-response h5[data-v-04dc84cc],.history-error h5[data-v-04dc84cc]{font-size:.75rem;font-weight:600;margin-bottom:.625rem;margin-top:0;color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.05em}.history-request-body .json-editor-wrapper[data-v-04dc84cc],.history-response .json-editor-wrapper[data-v-04dc84cc],.history-error .json-editor-wrapper[data-v-04dc84cc]{border:1px solid hsl(var(--border));max-height:60vh;background:hsl(var(--input));overflow:auto}.history-error .error-message[data-v-04dc84cc]{color:hsl(var(--destructive));font-size:.875rem;padding:.5rem 0;margin:0}.app-footer[data-v-04dc84cc]{margin-top:auto;text-align:center}.app-footer p[data-v-04dc84cc]{margin:0;font-size:.875rem;color:hsl(var(--muted-foreground))}.auth-side-menu[data-v-b8c2be74]{position:fixed;top:0;right:0;width:400px;height:100vh;background:hsl(var(--card));border-left:1px solid hsl(var(--border));z-index:1000;display:flex;flex-direction:column;box-shadow:-2px 0 8px #0000004d}.auth-menu-header[data-v-b8c2be74]{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid hsl(var(--border))}.auth-menu-header h2[data-v-b8c2be74]{margin:0;font-size:1.25rem;font-weight:600;color:hsl(var(--foreground))}.close-auth-menu[data-v-b8c2be74]{background:none;border:none;color:hsl(var(--muted-foreground));cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;transition:color .2s}.close-auth-menu[data-v-b8c2be74]:hover{color:hsl(var(--foreground))}.auth-menu-content[data-v-b8c2be74]{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.auth-scheme[data-v-b8c2be74]{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:1.25rem;transition:all .2s;box-shadow:0 1px 2px #0000001a;cursor:pointer;position:relative}.auth-scheme[data-v-b8c2be74]:hover{box-shadow:0 2px 4px #00000026;border-color:hsl(var(--ring))}.auth-scheme.selected[data-v-b8c2be74]{border-color:hsl(var(--primary));background:hsla(var(--primary)/.1);box-shadow:0 0 0 2px hsla(var(--primary)/.2)}.auth-scheme.selected .auth-scheme-header[data-v-b8c2be74]{border-bottom-color:hsla(var(--primary)/.3)}.auth-scheme.selected .auth-scheme-header h3[data-v-b8c2be74]{color:hsl(var(--primary))}.auth-scheme.selected .auth-scheme-type[data-v-b8c2be74]{background:hsl(var(--primary));color:hsl(var(--primary-foreground));box-shadow:0 0 0 1px hsla(var(--primary-foreground)/.2)}.auth-scheme.selected .auth-scheme-description[data-v-b8c2be74]{color:hsl(var(--muted-foreground))}.auth-scheme.selected[data-v-b8c2be74]:before{content:"";position:absolute;top:.75rem;right:.75rem;width:8px;height:8px;background:hsl(var(--primary));border-radius:50%}.auth-scheme-header[data-v-b8c2be74]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid hsl(var(--border))}.auth-scheme-header h3[data-v-b8c2be74]{font-size:1rem;font-weight:600;margin:0;color:hsl(var(--foreground))}.auth-scheme-type[data-v-b8c2be74]{font-size:.75rem;padding:.375rem .625rem;background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-radius:calc(var(--radius) - 4px);text-transform:uppercase;font-weight:600;letter-spacing:.025em}.auth-scheme-description[data-v-b8c2be74]{font-size:.875rem;color:hsl(var(--muted-foreground));margin-bottom:1rem;margin-top:.5rem;line-height:1.5}.auth-scheme-fields[data-v-b8c2be74]{display:flex;flex-direction:column;gap:1rem;margin-top:.5rem}.auth-scheme-fields label[data-v-b8c2be74]{display:flex;flex-direction:column;gap:.5rem}.auth-scheme-fields label span[data-v-b8c2be74]{font-size:.875rem;font-weight:500;color:hsl(var(--foreground))}.auth-scheme-fields label .field-location[data-v-b8c2be74]{font-size:.75rem;color:hsl(var(--muted-foreground));font-weight:400}.auth-input[data-v-b8c2be74]{padding:.5rem .75rem;background:hsl(var(--input));color:hsl(var(--foreground));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);font-size:.875rem;transition:border-color .2s}.auth-input[data-v-b8c2be74]:focus{outline:none;border-color:hsl(var(--ring))}.auth-input[data-v-b8c2be74]::placeholder{color:hsl(var(--muted-foreground))}.clear-credential-btn[data-v-b8c2be74]{padding:.5rem 1rem;background:hsl(var(--muted));color:hsl(var(--foreground));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s;align-self:flex-start;margin-top:.25rem}.clear-credential-btn[data-v-b8c2be74]:hover{background:hsl(var(--accent));opacity:.9}.save-button[data-v-b8c2be74]{padding:.75rem 1.5rem;background:hsl(var(--primary));color:hsl(var(--primary-foreground));border:none;border-radius:calc(var(--radius) - 2px);font-weight:500;cursor:pointer;transition:opacity .2s;align-self:flex-start;margin-top:.25rem}.save-button[data-v-b8c2be74]:hover{opacity:.9}.clerk-key-card[data-v-b8c2be74]{background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:1.25rem;margin-top:auto;border-top:2px solid hsl(var(--border));border-top-left-radius:0;border-top-right-radius:0;box-shadow:none}.clerk-key-card[data-v-b8c2be74]:hover{box-shadow:none;border-color:hsl(var(--border))}.clerk-key-header[data-v-b8c2be74]{margin-bottom:.5rem}.clerk-key-header h3[data-v-b8c2be74]{font-size:.875rem;font-weight:600;margin:0;color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.05em}.clerk-key-description[data-v-b8c2be74]{font-size:.8125rem;color:hsl(var(--muted-foreground));margin-bottom:1rem;line-height:1.4}.clerk-key-fields[data-v-b8c2be74]{display:flex;flex-direction:column;gap:.75rem}.clerk-key-fields label[data-v-b8c2be74]{display:flex;flex-direction:column;gap:.375rem}.clerk-key-fields label span[data-v-b8c2be74]{font-size:.8125rem;color:hsl(var(--muted-foreground));font-weight:500}.clerk-key-input[data-v-b8c2be74]{width:100%;padding:.5rem .75rem;background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);color:hsl(var(--foreground));font-family:Chivo Mono Variable,monospace;font-size:.8125rem;transition:all .2s}.clerk-key-input[data-v-b8c2be74]:focus:not(:disabled){outline:none;border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsla(var(--ring)/.2)}.clerk-key-input[data-v-b8c2be74]:disabled{background:hsl(var(--muted));color:hsl(var(--muted-foreground));cursor:not-allowed;opacity:.7}.clerk-key-input[data-v-b8c2be74]::placeholder{color:hsl(var(--muted-foreground))}.anonymous-option .auth-scheme-header h3[data-v-b8c2be74]{display:flex;align-items:center;gap:.5rem}.welcome-description[data-v-d0cf2fc7]{font-size:1.125rem;color:hsl(var(--muted-foreground));margin:0 0 2.5rem;line-height:1.6}.service-host-input-section[data-v-d0cf2fc7]{margin:2rem 0}.service-host-direct-form[data-v-d0cf2fc7]{margin-top:1.5rem}.service-host-direct-form .service-host-input-wrapper[data-v-d0cf2fc7]{display:flex;flex-direction:column;gap:.75rem;align-items:stretch;justify-content:center;max-width:500px;margin:0 auto}.service-host-input-wrapper[data-v-d0cf2fc7]{display:flex;gap:.75rem;align-items:center;justify-content:center;margin-top:1.5rem}.service-host-input[data-v-d0cf2fc7]{padding:.75rem 1rem;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));color:hsl(var(--foreground));font-size:1rem;min-width:300px;transition:border-color .2s}.service-host-input[data-v-d0cf2fc7]:hover{border-color:hsl(var(--accent))}.service-host-input[data-v-d0cf2fc7]:focus{outline:none;border-color:hsl(var(--ring))}.service-host-input[data-v-d0cf2fc7]::placeholder{color:hsl(var(--muted-foreground))}.service-host-submit-btn[data-v-d0cf2fc7]{padding:.75rem 1.5rem;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-size:1rem;font-weight:500;cursor:pointer;transition:background .2s}.service-host-submit-btn[data-v-d0cf2fc7]:hover:not(:disabled){background:hsl(var(--primary)/.9)}.service-host-submit-btn[data-v-d0cf2fc7]:disabled{opacity:.5;cursor:not-allowed}.service-host-direct-form .service-host-submit-btn[data-v-d0cf2fc7]{width:100%}.openapi-test{height:100vh;display:flex;flex-direction:column;background:hsl(var(--background));color:hsl(var(--foreground));overflow:hidden}.test-header{border-bottom:1px solid hsl(var(--border));background:hsl(var(--card));flex-shrink:0;z-index:100}.app-footer{margin-top:auto;text-align:center}.app-footer p{margin:0;font-size:.875rem;color:hsl(var(--muted-foreground))}.header-content{max-width:100%;margin:0 auto;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap}.header-title-section{display:flex;flex-direction:row;align-items:center;gap:.75rem;flex:1;min-width:0}.title-section-content{display:flex;flex-direction:column;gap:.25rem;min-width:0}.title-row{display:flex;align-items:baseline;gap:.75rem;flex-wrap:wrap}.logo{font-size:1.5rem;font-weight:700;margin:0;line-height:1.2}.api-version{font-size:.875rem;color:hsl(var(--muted-foreground));font-weight:500}.api-description{font-size:.75rem;color:hsl(var(--muted-foreground));margin:0;line-height:1.4;max-width:600px}.header-title-action{display:flex;align-items:center;justify-content:center;flex-shrink:0}.header-actions{display:flex;align-items:center;gap:1.5rem}.refresh-spec-btn{display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:hsl(var(--foreground));cursor:pointer;padding:.5rem;border-radius:calc(var(--radius) - 2px);transition:color .2s,opacity .2s,background-color .2s}.refresh-spec-btn:hover:not(:disabled){background:hsl(var(--muted)/.3);color:hsl(var(--primary))}.refresh-spec-btn:disabled{opacity:.5;cursor:not-allowed}.refresh-spec-btn .spinning{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.openapi-spec-link,.github-link{display:flex;align-items:center;justify-content:center;color:hsl(var(--foreground));text-decoration:none;transition:color .2s,opacity .2s;padding:.5rem;border-radius:calc(var(--radius) - 2px);background:transparent;border:none;cursor:pointer}.openapi-spec-link:hover,.github-link:hover{color:hsl(var(--primary));opacity:.8}.openapi-spec-link:focus,.github-link:focus{outline:none;color:hsl(var(--primary))}.auth-section{display:flex;align-items:center}.sign-in-btn{padding:.5rem 1rem;background:hsl(var(--primary));color:hsl(var(--primary-foreground));border:none;border-radius:calc(var(--radius) - 2px);cursor:pointer;font-weight:500;transition:opacity .2s}.sign-in-btn:hover{opacity:.9}.user-section{display:flex;align-items:center}.auth-menu-toggle{padding:.5rem 1rem;background:hsl(var(--muted));color:hsl(var(--foreground));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);cursor:pointer;font-weight:500;font-size:.875rem;transition:all .2s;display:flex;align-items:center;gap:.5rem}.auth-menu-toggle:hover{background:hsl(var(--accent));opacity:.9}.auth-menu-toggle.active{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.auth-menu-toggle.has-selection{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:hsl(var(--primary));box-shadow:0 0 0 2px hsla(var(--primary)/.2)}.auth-menu-toggle.has-selection svg{color:hsl(var(--primary-foreground))}.test-container{display:flex;flex:1;overflow:hidden;min-height:0}.endpoints-sidebar{background:hsl(var(--card));display:flex;flex-direction:column;flex-shrink:0;overflow:hidden;transition:width .3s ease}.endpoints-sidebar.resizing{transition:none}.endpoints-sidebar .sidebar-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;flex-shrink:0}.endpoints-sidebar .sidebar-header h2{font-size:1rem;margin:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.endpoints-sidebar.collapsed .sidebar-header{flex-direction:column;gap:.5rem;padding:1rem .5rem}.endpoints-sidebar.collapsed .sidebar-header h2{writing-mode:vertical-rl;text-orientation:mixed;transform:rotate(180deg)}.sidebar-toggle{padding:.25rem .5rem;background:hsl(var(--muted));color:hsl(var(--foreground));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);cursor:pointer;line-height:1;transition:all .2s;flex-shrink:0;display:flex;align-items:center;justify-content:center}.sidebar-toggle:hover{background:hsl(var(--accent));opacity:.9}.sidebar-toggle:active{transform:scale(.95)}.sidebar-content{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;padding-left:1rem;padding-bottom:1rem}.resize-handle{width:8px;background:hsl(var(--card));cursor:col-resize;flex-shrink:0;position:relative;-webkit-user-select:none;user-select:none;display:flex;justify-content:center;align-items:stretch}.resize-handle:before{content:"";position:absolute;left:50%;transform:translate(-50%);width:8px;top:0;bottom:0;cursor:col-resize;transition:background-color .2s}.resize-handle:hover:before{background:hsl(var(--accent))}.resize-handle.resizing:before{background:hsl(var(--accent))}.resize-handle-endpoints{border-right:1px solid hsl(var(--border))}.resize-handle-examples{border-left:1px solid hsl(var(--border))}.loading,.error{padding:.75rem;text-align:center;color:hsl(var(--muted-foreground));font-size:.875rem}.error{color:hsl(var(--destructive))}.endpoints-groups{display:flex;flex-direction:column;gap:.5rem;padding-right:1rem}.endpoint-group{border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);overflow:hidden}.group-header{padding:.5rem .75rem;background:hsl(var(--muted));cursor:pointer;display:flex;align-items:center;gap:.375rem;transition:background .2s;-webkit-user-select:none;user-select:none}.group-header:hover{background:hsl(var(--accent))}.group-name{font-weight:600;font-size:.8125rem;color:hsl(var(--foreground));flex:1}.group-count{font-size:.6875rem;color:hsl(var(--muted-foreground))}.group-toggle{color:hsl(var(--muted-foreground));width:.875rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.group-endpoints{display:flex;flex-direction:column;gap:.25rem;padding:.375rem;background:hsl(var(--card));min-width:0}.endpoint-item{padding:.375rem .5rem;border-radius:calc(var(--radius) - 2px);cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.5rem;overflow:hidden}.endpoint-item:hover,.endpoint-item.active{background:hsl(var(--accent))}.method-badge{display:inline-flex;align-items:center;justify-content:center;padding:.125rem .375rem;border-radius:3px;color:#fff;font-weight:600;font-size:.625rem;text-transform:uppercase;flex-shrink:0;line-height:1.2;width:3.5rem;min-width:3.5rem;max-width:3.5rem;text-align:center;box-sizing:border-box}.endpoint-path{font-family:Chivo Mono Variable,monospace;font-size:.75rem;color:hsl(var(--foreground));font-weight:500;flex:1;line-height:1.3;white-space:nowrap;overflow:visible}.endpoint-summary{font-size:.6875rem;color:hsl(var(--muted-foreground));line-height:1.3;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:auto}.security-indicator{color:hsl(var(--muted-foreground));flex-shrink:0;opacity:.7}.endpoint-content{display:flex;flex:1;overflow:hidden;min-height:0}.endpoint-tester.empty{flex:1;padding:1.5rem;overflow-y:auto;overflow-x:hidden;min-height:0;background-color:hsl(var(--background));background-image:linear-gradient(hsl(var(--border)/.3) 1px,transparent 1px),linear-gradient(90deg,hsl(var(--border)/.3) 1px,transparent 1px);background-size:50px 50px;background-position:0 0,0 0;border-right:1px solid hsl(var(--border));display:flex;flex-direction:column;align-items:center;justify-content:center}.examples-sidebar{border-right:1px solid hsl(var(--border));background:hsl(var(--card));display:flex;flex-direction:column;flex-shrink:0;overflow-y:auto;overflow-x:hidden;min-height:0;transition:width .3s ease}.examples-sidebar.resizing{transition:none}.examples-sidebar.collapsed{padding:1.5rem .5rem}.examples-header{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;padding:1rem}.examples-header h3{font-size:1rem;margin-bottom:0;margin-top:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.examples-sidebar.collapsed .examples-header{flex-direction:column;gap:.5rem;margin-bottom:0}.examples-sidebar.collapsed .examples-header h3{writing-mode:vertical-rl;text-orientation:mixed;transform:rotate(180deg)}.examples-toggle{padding:.25rem .5rem;background:hsl(var(--muted));color:hsl(var(--foreground));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);cursor:pointer;line-height:1;transition:all .2s;flex-shrink:0;display:flex;align-items:center;justify-content:center}.examples-toggle:hover{background:hsl(var(--accent));opacity:.9}.examples-toggle:active{transform:scale(.95)}.examples-content{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;padding-left:1rem}.view-toggle{display:inline-flex;gap:0;background:transparent;border-radius:calc(var(--radius) - 2px);padding:0;border:1px solid hsl(var(--border));overflow:hidden}.toggle-btn{padding:.375rem .75rem;background:transparent;border:none;border-radius:0;cursor:pointer;font-size:.75rem;font-weight:500;color:hsl(var(--muted-foreground));transition:all .2s ease;white-space:nowrap;border-right:1px solid hsl(var(--border))}.toggle-btn:last-child{border-right:none}.toggle-btn:hover{color:hsl(var(--foreground))}.toggle-btn.active{background:hsl(var(--muted));color:hsl(var(--foreground))}.toggle-btn.small{padding:.25rem .5rem;font-size:.6875rem}.example-section{padding-right:1rem;margin-bottom:1.5rem;flex-shrink:0}.example-section h4{font-size:.75rem;margin-bottom:.75rem;margin-top:0;font-weight:600;color:hsl(var(--foreground));text-transform:uppercase;letter-spacing:.05em}.example-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.example-section-header h4{margin-bottom:0}.example-content{border:none;border-radius:var(--radius);overflow:hidden;background:hsl(var(--input));box-shadow:none}.example-content pre{margin:0;padding:1rem;font-family:Chivo Mono Variable,monospace;font-size:.875rem;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;max-height:400px;overflow-y:auto}.example-content .json-editor-wrapper{border-top-left-radius:0;border-top-right-radius:0;border:none;box-shadow:none}.example-content .schema-display{border:none;box-shadow:none;max-height:400px;min-height:150px;overflow-y:auto;overflow-x:auto;background:hsl(var(--input))}.example-content .schema-text{margin:0;padding:1rem;font-family:Chivo Mono Variable,monospace;font-size:.8125rem;line-height:1.8;color:hsl(var(--foreground));white-space:pre;overflow-x:auto;background:hsl(var(--input));border-radius:calc(var(--radius) - 2px)}.no-examples{padding:1.5rem;text-align:center;color:hsl(var(--muted-foreground));border:1px dashed hsl(var(--border));border-radius:var(--radius);font-size:.875rem}.response-codes-list{display:flex;flex-direction:column;gap:.75rem}.response-code-item{border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);overflow:hidden;background:hsl(var(--card));box-shadow:0 1px 2px #0000000d}.response-code-item .example-content{border:none;border-radius:0;box-shadow:none;margin-top:0;border-top:1px solid hsl(var(--border))}.response-code-item .example-content pre{max-height:300px}.response-code-item .example-content .json-editor-wrapper{border:none;box-shadow:none}.response-code-item .example-content .schema-display{border:none;box-shadow:none;max-height:300px;min-height:100px;overflow-y:auto;overflow-x:auto;background:hsl(var(--input))}.response-code-item .example-content .schema-text{margin:0;padding:.75rem;font-family:Chivo Mono Variable,monospace;font-size:.75rem;line-height:1.7;color:hsl(var(--foreground));white-space:pre;overflow-x:auto;background:hsl(var(--input))}.response-code-header{display:flex;border-bottom:1px solid hsl(var(--border));min-height:0}.response-code-left{width:4rem;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:.625rem .5rem;background:hsl(var(--muted)/.3);border-right:1px solid hsl(var(--border))}.response-code-left.success{background:#16a2491a;border-right-color:#16a24933}.response-code-left.error{background:#ef43431a;border-right-color:#ef434333}.response-code-number{font-weight:600;font-size:.75rem;font-family:Chivo Mono Variable,monospace;text-align:center;padding:.3125rem .5rem;border-radius:calc(var(--radius) - 4px);background:hsl(var(--background));color:hsl(var(--foreground));border:1px solid hsl(var(--border));line-height:1.2;width:100%}.response-code-left.success .response-code-number{background:#16a24926;color:#16a249;border-color:#16a2494d}.response-code-left.error .response-code-number{background:#ef434326;color:#ef4343;border-color:#ef43434d}.response-code-right{flex:1;display:flex;flex-direction:column;gap:.5rem;padding:.625rem .875rem;background:hsl(var(--card));min-width:0}.response-code-description{font-size:.8125rem;color:hsl(var(--muted-foreground));line-height:1.5;word-wrap:break-word;white-space:pre-wrap;display:block}.response-code-right .view-toggle{align-self:flex-end}.no-example{padding:.75rem;text-align:center;color:hsl(var(--muted-foreground));font-size:.8125rem;font-style:italic}.schema-references-list{display:flex;flex-direction:column;gap:1rem}.schema-reference-item{border:1px solid hsl(var(--border));border-radius:var(--radius);overflow:hidden;background:hsl(var(--card))}.schema-reference-item .example-content{border:none;border-radius:0;box-shadow:none;margin-top:0}.schema-reference-item .example-content .schema-display{border:none;box-shadow:none;max-height:300px;min-height:100px;overflow-y:auto;overflow-x:auto;background:hsl(var(--input))}.schema-reference-item .example-content .schema-text{margin:0;padding:.875rem;font-family:Chivo Mono Variable,monospace;font-size:.75rem;line-height:1.7;color:hsl(var(--foreground));white-space:pre;overflow-x:auto;background:hsl(var(--input))}.schema-reference-header{padding:.75rem 1rem;background:hsl(var(--muted));border-bottom:1px solid hsl(var(--border));display:flex;align-items:center;gap:.75rem;cursor:pointer;transition:background .2s;-webkit-user-select:none;user-select:none}.schema-reference-header:hover{background:hsl(var(--accent))}.schema-reference-toggle{color:hsl(var(--muted-foreground));width:.875rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.schema-reference-name{font-weight:700;font-size:.875rem;font-family:Chivo Mono Variable,monospace;color:hsl(var(--foreground));flex:1}.empty-state{display:flex;align-items:center;justify-content:center;padding:3rem 2rem}.welcome-content{max-width:600px;text-align:center;animation:fadeIn .5s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.welcome-icon{margin-bottom:1.5rem;display:flex;justify-content:center;color:hsl(var(--foreground));opacity:.9}.welcome-title{font-size:2rem;font-weight:600;color:hsl(var(--foreground));margin:0 0 1rem;letter-spacing:-.02em}.welcome-description{font-size:1.125rem;color:hsl(var(--muted-foreground));margin:0 0 2.5rem;line-height:1.6}.welcome-tips{display:flex;flex-direction:column;gap:1rem;margin-top:2rem;text-align:left}.tip-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--foreground));font-size:.9375rem;cursor:default;-webkit-user-select:none;user-select:none}.tip-icon{flex-shrink:0;color:hsl(var(--muted-foreground))}.json-editor-wrapper{width:100%;border:1px solid hsl(var(--border));border-radius:var(--radius);overflow:auto;background:hsl(var(--input))}.json-editor-wrapper :deep(.jsoneditor){border:none;background:hsl(var(--input))}.json-editor-wrapper :deep(.jsoneditor-menu){background:hsl(var(--muted));border-bottom:none}.json-editor-wrapper :deep(.jsoneditor-outer){background:hsl(var(--input))}.json-editor-wrapper :deep(.ace_editor){background:hsl(var(--input))!important;color:hsl(var(--foreground))!important}.json-editor-wrapper :deep(.ace_gutter){background:hsl(var(--muted))!important}
@@ -0,0 +1,2 @@
1
+ import{d as Ge,r as A,c,a as Se,u as ge,w as le,o as Ve,b as Xe,e as s,f as t,g as e,h as p,i as se,j as R,t as _,k as m,F as ne,l as oe,m as ie,v as de,n as qe,p as j,_ as Be,q as Te,s as Fe,x as G,y as Ee,E as ke,z as Ue,A as Qe,B as Ye,C as Ze,D as et,G as tt,H as st,S as nt,U as ot,I as Ke}from"./app-Du3aTlLj.js";import{c as Z,F as Le}from"./file-text-C97pO3ap.js";const at=Z("chart-no-axes-column-increasing",[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V9",key:"uvy0l4"}],["path",{d:"M19 21V3",key:"11j9sm"}]]);const He=Z("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const je=Z("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);const _e=Z("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const lt=Z("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);const it=Z("github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);const Ie=Z("lock-open",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);const ue=Z("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);const rt=Z("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);const De=Z("rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);const Ne=Z("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);const ct=Z("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Oe=Ge("endpoint",()=>{const te=A(null),u=A(null),S=A(null),k=A(!1),f=A([]),z=A(new Map),g=(i,y)=>!i||!y?null:`${y}:${i}`,x=c(()=>g(te.value,u.value)),K=c(()=>{const i=x.value;return i&&z.value.get(i)||null}),N=c(()=>!te.value||!u.value?[]:f.value.filter(i=>i.path===te.value&&i.method===u.value));function M(i,y){te.value=i,u.value=y}function E(i){S.value=i}function O(i){i===null||S.value===i?S.value=null:S.value=i}function P(){k.value=!k.value}function J(){k.value=!0}function C(){k.value=!1}function w(i,y,a){const r=g(i,y);r&&z.value.set(r,{...a})}function $(i,y){const a=g(i,y);if(!a)return null;const r=z.value.get(a)||null;return console.log("getEndpointFormState",a,r),r}function T(i,y){const a=g(i,y);a&&z.value.delete(a)}function W(i){f.value.unshift(i)}function I(i,y){f.value=f.value.filter(a=>!(a.path===i&&a.method===y))}function D(){f.value=[]}return{selectedPath:te,selectedMethod:u,selectedAuthScheme:S,authMenuOpen:k,requestHistory:f,endpointFormState:z,currentEndpointKey:x,currentFormState:K,filteredRequestHistory:N,setSelectedEndpoint:M,setSelectedAuthScheme:E,toggleSelectedAuthScheme:O,toggleAuthMenu:P,openAuthMenu:J,closeAuthMenu:C,saveEndpointFormState:w,getEndpointFormState:$,clearEndpointFormState:T,addRequestHistory:W,clearEndpointHistory:I,clearAllHistory:D,getEndpointKey:g}}),ut={class:"service-host-dropdown-wrapper"},dt={key:0,class:"service-host-selected"},vt={key:1,class:"service-host-placeholder"},pt={class:"service-host-list"},ht={key:0,class:"service-host-empty-state"},mt=["onClick"],yt={class:"service-host-item-content"},ft={class:"service-host-item-label"},_t={class:"service-host-item-url"},kt=["onClick"],St={class:"service-host-add-section"},gt={key:1,class:"service-host-add-form"},bt={class:"service-host-add-actions"},$t=["disabled"],Ct=Se({__name:"ServiceHostPicker",setup(te){const u=ge(),S=A(!1),k=A(!1),f=A(""),z=A(""),g=c(()=>u.serviceHosts),x=c(()=>u.selectedServiceHost),K=c(()=>x.value?.id||null),N=C=>C.label?C.label:C.baseUrl+(C.openApiPath?` (${C.openApiPath})`:""),M=async C=>{g.value.find($=>$.id===C)&&(await u.selectHost(C),S.value=!1)},E=async()=>{if(!f.value.trim())return;const C={id:crypto.randomUUID(),baseUrl:f.value.trim(),openApiPath:z.value.trim()||void 0};await u.addHost(C),await u.selectHost(C.id),f.value="",z.value="",k.value=!1,S.value=!1},O=()=>{k.value=!1,f.value="",z.value=""},P=async C=>{await u.removeHost(C)},J=C=>{C.target.closest(".service-host-dropdown-wrapper")||(S.value=!1)};return le(()=>u.serviceHosts,()=>{},{deep:!0}),Ve(async()=>{await u.loadConfigFromLocalStorage(),u.selectedServiceHost&&await u.loadOpenApiSpec(),document.addEventListener("click",J)}),Xe(()=>{document.removeEventListener("click",J)}),(C,w)=>(t(),s("div",ut,[e("div",{class:"service-host-dropdown",onClick:w[0]||(w[0]=se($=>S.value=!S.value,["stop"]))},[x.value?(t(),s("span",dt,_(N(x.value)),1)):(t(),s("span",vt,"Select service host")),R(m(He),{size:16,class:"service-host-chevron"})]),S.value?(t(),s("div",{key:0,class:"service-host-dropdown-menu",onClick:w[4]||(w[4]=se(()=>{},["stop"]))},[e("div",pt,[g.value.length===0?(t(),s("div",ht,[...w[5]||(w[5]=[e("p",{class:"service-host-empty-text"},"No service hosts yet",-1),e("p",{class:"service-host-empty-hint"},"Add one below to get started",-1)])])):p("",!0),(t(!0),s(ne,null,oe(g.value,$=>(t(),s("div",{key:$.id,class:j(["service-host-item",{selected:K.value===$.id}]),onClick:T=>M($.id)},[e("div",yt,[e("div",ft,_(N($)),1),e("div",_t,_($.baseUrl),1)]),e("button",{class:"service-host-item-remove",onClick:se(T=>P($.id),["stop"]),title:"Remove"},[R(m(Ne),{size:14})],8,kt)],10,mt))),128))]),e("div",St,[k.value?(t(),s("div",gt,[ie(e("input",{"onUpdate:modelValue":w[2]||(w[2]=$=>f.value=$),type:"text",placeholder:"Base URL (e.g., https://api.example.com)",class:"service-host-add-input",onKeyup:qe(E,["enter"])},null,544),[[de,f.value]]),ie(e("input",{"onUpdate:modelValue":w[3]||(w[3]=$=>z.value=$),type:"text",placeholder:"OpenAPI Path (optional, e.g., /openapi.json)",class:"service-host-add-input",onKeyup:qe(E,["enter"])},null,544),[[de,z.value]]),e("div",bt,[e("button",{onClick:E,class:"service-host-add-submit",disabled:!f.value.trim()}," Add ",8,$t),e("button",{onClick:O,class:"service-host-add-cancel"}," Cancel ")])])):(t(),s("button",{key:0,class:"service-host-add-btn",onClick:w[1]||(w[1]=$=>k.value=!0)}," + Add Service Host "))])])):p("",!0)]))}}),Je=Be(Ct,[["__scopeId","data-v-2eb02fe1"]]),wt={class:"endpoint-tester"},At={class:"endpoint-header"},xt={class:"endpoint-title"},Et={class:"endpoint-path"},qt={key:0,class:"endpoint-info"},Ht={key:0,class:"endpoint-summary-text"},Bt={key:1,class:"endpoint-description"},Rt={key:0,class:"security-schemes-wrapper"},Mt={class:"security-schemes-section"},Pt=["onClick"],zt={class:"scheme-name"},Tt={class:"request-section"},It={key:0,class:"params-section"},Ot={class:"params-list"},Ut={class:"param-name"},Kt={key:0,class:"required"},Lt={key:1,class:"param-desc"},jt=["onUpdate:modelValue","placeholder"],Vt={key:1,class:"params-section"},Ft={class:"params-list"},Dt={class:"param-name"},Nt={key:0,class:"required"},Jt={key:1,class:"param-desc"},Wt=["onUpdate:modelValue","placeholder"],Gt={key:2,class:"body-section"},Xt={class:"body-section-header"},Qt={class:"view-toggle"},Yt={key:0,class:"schema-display"},Zt={class:"schema-text"},es={key:1,class:"json-editor-wrapper"},ts=["disabled"],ss={class:"response-section"},ns={class:"section-header"},os={key:0,class:"no-response"},as={key:1,class:"no-response"},ls={key:2,class:"request-history-list"},is={class:"history-item-header"},rs={class:"history-item-title"},cs={class:"history-url"},us={class:"history-meta-group"},ds={key:0,class:"history-auth-scheme"},vs={key:1,class:"history-auth-scheme"},ps={class:"history-timestamp"},hs={class:"history-curl-section"},ms=["onClick"],ys={class:"curl-header-left"},fs=["onClick"],_s={key:0,class:"curl-command"},ks={key:0,class:"history-request-body"},Ss={class:"json-editor-wrapper"},gs={key:1,class:"history-error"},bs={class:"error-message"},$s={key:2,class:"history-response"},Cs={class:"json-editor-wrapper"},ws={class:"app-footer"},fe="__clerk_bearer__",As=Se({__name:"EndpointTester",setup(te){const u=Te(),S=Oe(),k=c(()=>S.selectedPath),f=c(()=>S.selectedMethod),z=ge(),g=!!(z.clerkPublishableKey&&z.clerkPublishableKey.trim());let x=null;if(g)try{x=Fe()}catch(d){console.warn("Failed to initialize Clerk auth:",d),x=null}const K=c(()=>{if(!x)return!1;try{return x.isSignedIn.value??!1}catch{return!1}}),N=x?.getToken?.value??(()=>Promise.resolve(null)),M=c(()=>{if(!x)return!1;try{return x.isLoaded.value??!1}catch{return!1}}),E=A({}),O=A({}),P=A(""),J=A(null),C=A(null),w=A(!1),$=A({}),T=A(new Set),W=A(!1),I=c(()=>S.selectedAuthScheme),D=c(()=>S.filteredRequestHistory),i=c(()=>!k.value||!f.value?null:u.getSelectedEndpoint(k.value,f.value));c(()=>!k.value||!f.value?null:u.endpoints.find(d=>d.path===k.value&&d.method===f.value));const y=c(()=>!i.value||!i.value.parameters?[]:i.value.parameters.map(u.resolveParameter).filter(d=>d!==null&&d.in==="path")),a=c(()=>!i.value||!i.value.parameters?[]:i.value.parameters.map(u.resolveParameter).filter(d=>d!==null&&d.in==="query")),r=c({get:()=>{if(!P.value.trim())return"{}";try{return P.value}catch{return"{}"}},set:d=>{P.value=d}}),q=c(()=>i.value?u.getRequestBodySchema(i.value):null),re=c(()=>!q.value||!u.openApiSpec?null:u.formatSchemaForDisplay(q.value,u.openApiSpec)),be=()=>{W.value=!W.value},$e=c(()=>u.securitySchemes),Ce=c(()=>i.value?u.getAvailableSecuritySchemes(i.value):[]),ve=c(()=>(i.value?Ce.value:$e.value).some(h=>h.scheme.type==="http"&&h.scheme.scheme==="bearer")),X=c(()=>{const d=i.value?[...Ce.value]:[...$e.value];return ve.value&&g&&(d.some(n=>n.name===fe)||d.push({name:fe,scheme:{type:"http",scheme:"bearer",description:"Clerk Bearer Authentication"}})),d}),pe=d=>u.endpointRequiresSecurity(d),me=d=>{S.toggleSelectedAuthScheme(d)},Re=d=>({GET:"#61affe",POST:"#49cc90",PUT:"#fca130",PATCH:"#50e3c2",DELETE:"#f93e3e"})[d]||"#999",we=async()=>{if(!k.value||!f.value)return;w.value=!0,J.value=null,C.value=null;const d={id:Date.now().toString()+Math.random().toString(36).substr(2,9),timestamp:new Date,method:f.value,path:k.value||"",url:"",requestBody:P.value.trim()?(()=>{try{return JSON.parse(P.value)}catch{return P.value}})():null,requestQuery:{...E.value},requestUrlParams:{...O.value},headers:{},response:null,responseError:null,authScheme:I.value||null};try{let n=`${z.serviceHost||""}${k.value}`;for(const[U,H]of Object.entries(O.value))H!==""&&H!=null&&(n=n.replace(`{${U}}`,encodeURIComponent(String(H))));const V=new URLSearchParams;for(const[U,H]of Object.entries(E.value))H!==""&&H!=null&&V.append(U,String(H));const L={"Content-Type":"application/json"};if(I.value===fe){if(K.value){M.value||await new Promise(H=>{const ee=setInterval(()=>{M.value&&(clearInterval(ee),H(void 0))},100)});const U=await N();U&&(L.Authorization=`Bearer ${U}`)}}else if(I.value&&u.openApiSpec?.components?.securitySchemes){const U=u.openApiSpec.components.securitySchemes[I.value];if(U&&typeof U=="object"&&!("$ref"in U)){const H=$.value[I.value];if(U.type==="apiKey"){const ee=U;H?.value&&(ee.in==="header"?L[ee.name]=H.value:ee.in==="query"&&V.append(ee.name,H.value))}else if(U.type==="http"){const ee=U;if(ee.scheme==="basic"){if(H?.username&&H?.password){const v=`${H.username}:${H.password}`;L.Authorization=`Basic ${btoa(v)}`}}else ee.scheme==="bearer"&&H?.token&&(L.Authorization=`Bearer ${H.token}`)}else U.type==="oauth2"?H?.accessToken&&(L.Authorization=`Bearer ${H.accessToken}`):U.type==="openIdConnect"&&H?.idToken&&(L.Authorization=`Bearer ${H.idToken}`)}}V.toString()&&(n+=`?${V.toString()}`),d.url=n,d.headers={...L};const Y={method:f.value,headers:L};if(["POST","PUT","PATCH"].includes(f.value)&&P.value.trim())try{Y.body=JSON.stringify(JSON.parse(P.value))}catch{const H="Invalid JSON in request body";C.value=H,d.responseError=H,S.addRequestHistory(d),w.value=!1;return}const B=await fetch(n,Y),F=B.headers.get("content-type");let ae;if(F?.includes("application/json"))ae={status:B.status,statusText:B.statusText,headers:Object.fromEntries(B.headers.entries()),body:await B.json()};else{const U=await B.text();ae={status:B.status,statusText:B.statusText,headers:Object.fromEntries(B.headers.entries()),body:U}}J.value=ae,d.response=ae,d.status=B.status,d.statusText=B.statusText}catch(h){const n=h instanceof Error?h.message:"Request failed";C.value=n,d.responseError=n}finally{w.value=!1,S.addRequestHistory(d)}},Ae=d=>{const h=["curl"];d.method!=="GET"&&h.push(`-X ${d.method}`);for(const[n,V]of Object.entries(d.headers||{})){const L=V.replace(/"/g,'\\"');h.push(`-H "${n}: ${L}"`)}if(["POST","PUT","PATCH"].includes(d.method)&&d.requestBody){const V=(typeof d.requestBody=="string"?d.requestBody:JSON.stringify(d.requestBody,null,2)).replace(/'/g,"'\\''").replace(/\n/g,"\\n");h.push(`-d '${V}'`)}return h.push(`"${d.url}"`),h.join(` \\
2
+ `)},Me=async d=>{const h=Ae(d);try{await navigator.clipboard.writeText(h)}catch(n){console.error("Failed to copy to clipboard:",n)}},ye=()=>{!k.value||!f.value||S.clearEndpointHistory(k.value,f.value)},Pe=()=>{!k.value||!f.value||S.saveEndpointFormState(k.value,f.value,{requestQuery:{...E.value},requestUrlParams:{...O.value},requestBody:P.value,selectedAuthScheme:I.value})};return le([k,f],([d,h],[n,V])=>{if(d!==n||h!==V){J.value=null,C.value=null,T.value.clear();const L=S.getEndpointFormState(d||"",h||""),Y=!!L;if(Y&&L?(E.value={...L.requestQuery},O.value={...L.requestUrlParams},P.value=L.requestBody,S.setSelectedAuthScheme(L.selectedAuthScheme)):(E.value={},O.value={},P.value="",S.setSelectedAuthScheme(null)),i.value?.parameters)for(const B of i.value.parameters){const F=u.resolveParameter(B);F&&F.in==="query"?(!Y||!(F.name in E.value))&&(E.value[F.name]=""):F&&F.in==="path"&&(!Y||!(F.name in O.value))&&(O.value[F.name]="")}else Y||(E.value={},O.value={});if(!Y&&i.value?.requestBody){let B=i.value.requestBody;if(B&&typeof B=="object"&&"$ref"in B&&B.$ref&&u.openApiSpec){const F=u.resolveReference(B.$ref,u.openApiSpec);F&&typeof F=="object"&&(B=F)}if(B&&typeof B=="object"&&"content"in B&&B.content){const F=B.content["application/json"];if(F?.schema&&u.openApiSpec){const ae=u.generateExampleFromSchema(F.schema,u.openApiSpec);P.value=JSON.stringify(ae||{},null,2)}else P.value=JSON.stringify({},null,2)}}else Y||(P.value="")}},{immediate:!0}),le([E,O,P,I],()=>{k.value&&f.value&&Pe()},{deep:!0}),(d,h)=>(t(),s("main",wt,[e("div",At,[e("div",xt,[e("span",{class:"method-badge large",style:Ee({backgroundColor:Re(f.value||"")})},_(f.value),5),e("span",Et,_(k.value),1),i.value&&pe(i.value)?(t(),G(m(ue),{key:0,size:18,class:"security-indicator-large",title:"Requires authentication"})):p("",!0)]),i.value&&(i.value.summary||i.value.description)?(t(),s("div",qt,[i.value.summary?(t(),s("p",Ht,_(i.value.summary),1)):p("",!0),i.value.description?(t(),s("p",Bt,_(i.value.description),1)):p("",!0)])):p("",!0)]),X.value.length>0?(t(),s("div",Rt,[h[1]||(h[1]=e("h4",{class:"security-schemes-title"},"Security Schemes",-1)),e("div",Mt,[(t(!0),s(ne,null,oe(X.value,n=>(t(),s("div",{key:n.name,class:j(["security-scheme-card",{selected:I.value===n.name}]),onClick:V=>me(n.name)},[R(m(ue),{size:12,class:"security-card-icon"}),e("span",zt,_(n.name===fe?"Clerk Bearer":n.name),1)],10,Pt))),128))])])):p("",!0),e("div",Tt,[h[5]||(h[5]=e("h3",null,"Request",-1)),y.value.length>0?(t(),s("div",It,[h[2]||(h[2]=e("h4",null,"Path Parameters",-1)),e("dl",Ot,[(t(!0),s(ne,null,oe(y.value,n=>(t(),s("div",{key:n.name,class:"param-item"},[e("dt",null,[e("span",Ut,_(n.name),1),n.required?(t(),s("span",Kt,"*")):p("",!0),n.description?(t(),s("span",Lt," - "+_(n.description),1)):p("",!0)]),e("dd",null,[ie(e("input",{"onUpdate:modelValue":V=>O.value[n.name]=V,type:"text",placeholder:n.schema&&"default"in n.schema?String(n.schema.default):""},null,8,jt),[[de,O.value[n.name]]])])]))),128))])])):p("",!0),a.value.length>0?(t(),s("div",Vt,[h[3]||(h[3]=e("h4",null,"Query Parameters",-1)),e("dl",Ft,[(t(!0),s(ne,null,oe(a.value,n=>(t(),s("div",{key:n.name,class:"param-item"},[e("dt",null,[e("span",Dt,_(n.name),1),n.required?(t(),s("span",Nt,"*")):p("",!0),n.description?(t(),s("span",Jt," - "+_(n.description),1)):p("",!0)]),e("dd",null,[ie(e("input",{"onUpdate:modelValue":V=>E.value[n.name]=V,type:"text",placeholder:n.schema&&"default"in n.schema?String(n.schema.default):""},null,8,Wt),[[de,E.value[n.name]]])])]))),128))])])):p("",!0),i.value&&i.value.requestBody?(t(),s("div",Gt,[e("div",Xt,[h[4]||(h[4]=e("h4",null,"Request Body",-1)),e("div",Qt,[e("button",{onClick:be,class:j([{active:!W.value},"toggle-btn small"])}," Edit ",2),e("button",{onClick:be,class:j([{active:W.value},"toggle-btn small"])}," Schema ",2)])]),W.value&&re.value?(t(),s("div",Yt,[e("pre",Zt,_(re.value),1)])):W.value?p("",!0):(t(),s("div",es,[R(m(ke),{text:r.value,"onUpdate:text":h[0]||(h[0]=n=>r.value=n),mode:"text",mainMenuBar:!1,navigationBar:!1,statusBar:!1,darkTheme:!0},null,8,["text"])]))])):p("",!0),e("button",{onClick:we,class:"send-button",disabled:w.value},[R(m(De),{size:16,class:"send-button-icon"}),e("span",null,_(w.value?"Sending...":"Send Request"),1)],8,ts)]),e("div",ss,[e("div",ns,[h[6]||(h[6]=e("h3",null,"Request History",-1)),D.value.length>0?(t(),s("button",{key:0,onClick:ye,class:"clear-history-btn"}," Clear History ")):p("",!0)]),!k.value||!f.value?(t(),s("div",os," Select an endpoint to view request history. ")):D.value.length===0?(t(),s("div",as,' No requests sent yet. Click "Send Request" to test the endpoint. ')):(t(),s("div",ls,[(t(!0),s(ne,null,oe(D.value,n=>(t(),s("div",{key:n.id,class:"history-item"},[e("div",is,[e("div",rs,[e("span",{class:j(["status-code",{success:n.status&&n.status>=200&&n.status<300,error:n.status&&n.status>=400,redirect:n.status&&n.status>=300&&n.status<400}])},_(n.status||"N/A"),3),e("span",cs,_(n.url),1)]),e("div",us,[n.authScheme?(t(),s("span",ds,[R(m(ue),{size:12}),Ue(" "+_(n.authScheme===fe?"Clerk Bearer":n.authScheme),1)])):(t(),s("span",vs,[R(m(Ie),{size:12}),h[7]||(h[7]=Ue(" Anonymous ",-1))])),e("span",ps,_(new Date(n.timestamp).toLocaleTimeString()),1)])]),e("div",hs,[e("div",{class:"curl-header",onClick:V=>T.value.has(n.id)?T.value.delete(n.id):T.value.add(n.id)},[e("div",ys,[T.value.has(n.id)?(t(),G(m(He),{key:0,size:16,class:"curl-toggle-icon"})):(t(),G(m(_e),{key:1,size:16,class:"curl-toggle-icon"})),h[8]||(h[8]=e("h5",null,"cURL Command",-1))]),e("button",{onClick:se(V=>Me(n),["stop"]),class:"copy-curl-btn",title:"Copy cURL command"},[R(m(lt),{size:16}),h[9]||(h[9]=e("span",null,"Copy",-1))],8,fs)],8,ms),T.value.has(n.id)?(t(),s("div",_s,[e("pre",null,_(Ae(n)),1)])):p("",!0)]),n.requestBody?(t(),s("div",ks,[h[10]||(h[10]=e("h5",null,"Request Body",-1)),e("div",Ss,[R(m(ke),{"model-value":n.requestBody,mode:"text",readOnly:!0,mainMenuBar:!1,navigationBar:!1,statusBar:!1,darkTheme:!0},null,8,["model-value"])])])):p("",!0),n.responseError?(t(),s("div",gs,[h[11]||(h[11]=e("h5",null,"Error",-1)),e("div",bs,_(n.responseError),1)])):n.response?(t(),s("div",$s,[h[12]||(h[12]=e("h5",null,"Response",-1)),e("div",Cs,[R(m(ke),{"model-value":(()=>{if(typeof n.response.body=="string")try{return JSON.parse(n.response.body)}catch{return{text:n.response.body}}return n.response.body||{}})(),mode:"text",readOnly:!0,mainMenuBar:!1,navigationBar:!1,statusBar:!1,darkTheme:!0},null,8,["model-value"])])])):p("",!0)]))),128))]))]),e("footer",ws,[e("p",null,"© "+_(new Date().getFullYear())+" Gamja Labs",1)])]))}}),xs=Be(As,[["__scopeId","data-v-04dc84cc"]]),Es={key:0,class:"auth-side-menu"},qs={class:"auth-menu-header"},Hs={class:"auth-menu-content"},Bs={class:"auth-scheme-header"},Rs={style:{display:"flex","align-items":"center",gap:"0.5rem"}},Ms={class:"auth-scheme-header"},Ps={style:{display:"flex","align-items":"center",gap:"0.5rem"}},zs=["onClick"],Ts={class:"auth-scheme-header"},Is={style:{display:"flex","align-items":"center",gap:"0.5rem"}},Os={class:"auth-scheme-type"},Us={key:0,class:"auth-scheme-description"},Ks={class:"field-location"},Ls=["value","onInput","placeholder"],js=["onClick"],Vs=["value","onInput"],Fs=["value","onInput"],Ds=["onClick"],Ns=["value","onInput"],Js=["onClick"],Ws=["value","onInput"],Gs=["onClick"],Xs=["value","onInput"],Qs=["onClick"],Ys={key:1,class:"clerk-key-card"},Zs={class:"clerk-key-description"},en={key:0},tn={key:1},sn={class:"clerk-key-fields"},nn=["disabled"],ze="__clerk_bearer__",on=Se({__name:"SecuritySchemeMenu",setup(te,{expose:u}){const S=Te(),k=Oe(),f=ge(),z=Qe(),g=c(()=>!!(f.clerkPublishableKey&&f.clerkPublishableKey.trim())),x=c(()=>S.securitySchemes),K=c(()=>k.selectedAuthScheme),N=c(()=>k.authMenuOpen),M=A({});c(()=>{if(!K.value)return"Anonymous";if(K.value===ze)return"Clerk Bearer";const y=x.value.find(a=>a.name===K.value);return y?y.name:"Anonymous"});const E=c(()=>f.selectedServiceHost),O=A("");le(E,y=>{O.value=y?.clerkPublishableKey||""},{immediate:!0});const P=c(()=>!!E.value?.clerkPublishableKey?.trim()),J=c(()=>{const y=C.value;return y==="config.json"||y==="env"}),C=c(()=>{const y=f.clerkPublishableKey,a=void 0,r=f.config;return E.value?.clerkPublishableKey?"serviceHost":y&&r.clerkPublishableKey===y&&y!==a?"config.json":y&&y===a?"env":null}),w=c(()=>{const y=C.value;return y==="config.json"?`Key loaded from ${z.getConfigJsonPath()}`:y==="env"?"Key loaded from environment variable":y==="serviceHost"?"Key stored with service host":null}),$=(y,a,r)=>{M.value[y]||(M.value[y]={}),M.value[y][a]=r},T=y=>{delete M.value[y]},W=y=>{k.toggleSelectedAuthScheme(y)},I=()=>{E.value&&(f.saveClerkPublishableKeyForSelectedHost(O.value),typeof window<"u"&&window.location.reload())},D=()=>{E.value&&(f.clearClerkPublishableKeyForSelectedHost(),typeof window<"u"&&window.location.reload())},i=()=>{k.closeAuthMenu()};return u({authCredentials:M}),(y,a)=>N.value?(t(),s("aside",Es,[e("div",qs,[a[8]||(a[8]=e("h2",null,"Security Scheme",-1)),e("button",{onClick:i,class:"close-auth-menu",title:"Close"},[R(m(Ne),{size:20})])]),e("div",Hs,[e("div",{class:j(["auth-scheme anonymous-option",{selected:K.value===null}]),onClick:a[0]||(a[0]=r=>W(null))},[e("div",Bs,[e("div",Rs,[R(m(Ie),{size:18}),a[9]||(a[9]=e("h3",null,"Anonymous",-1))]),a[10]||(a[10]=e("span",{class:"auth-scheme-type"},"NONE",-1))]),a[11]||(a[11]=e("div",{class:"auth-scheme-description"}," Make requests without authentication ",-1))],2),g.value?(t(),s("div",{key:0,class:j(["auth-scheme clerk-bearer-option",{selected:K.value===ze}]),onClick:a[1]||(a[1]=r=>W(ze))},[e("div",Ms,[e("div",Ps,[R(m(ue),{size:18}),a[12]||(a[12]=e("h3",null,"Clerk Bearer",-1))]),a[13]||(a[13]=e("span",{class:"auth-scheme-type"},"CLERK",-1))]),a[14]||(a[14]=e("div",{class:"auth-scheme-description"}," Use Clerk authentication token for bearer authentication ",-1))],2)):p("",!0),(t(!0),s(ne,null,oe(x.value,r=>(t(),s("div",{key:r.name,class:j(["auth-scheme",{selected:K.value===r.name}]),onClick:q=>W(r.name)},[e("div",Ts,[e("div",Is,[R(m(ue),{size:18}),e("h3",null,_(r.name),1)]),e("span",Os,_(r.scheme.type),1)]),r.scheme.description?(t(),s("div",Us,_(r.scheme.description),1)):p("",!0),r.scheme.type==="apiKey"?(t(),s("div",{key:1,class:"auth-scheme-fields",onClick:a[2]||(a[2]=se(()=>{},["stop"]))},[e("label",null,[e("span",null,_(r.scheme.name),1),e("span",Ks,"("+_(r.scheme.in)+")",1),e("input",{type:"text",value:M.value[r.name]?.value||"",onInput:q=>$(r.name,"value",q.target.value),placeholder:`Enter ${r.scheme.name}`,class:"auth-input"},null,40,Ls)]),M.value[r.name]?.value?(t(),s("button",{key:0,onClick:q=>T(r.name),class:"clear-credential-btn"}," Clear ",8,js)):p("",!0)])):r.scheme.type==="http"&&r.scheme.scheme==="basic"?(t(),s("div",{key:2,class:"auth-scheme-fields",onClick:a[3]||(a[3]=se(()=>{},["stop"]))},[e("label",null,[a[15]||(a[15]=e("span",null,"Username",-1)),e("input",{type:"text",value:M.value[r.name]?.username||"",onInput:q=>$(r.name,"username",q.target.value),placeholder:"Enter username",class:"auth-input"},null,40,Vs)]),e("label",null,[a[16]||(a[16]=e("span",null,"Password",-1)),e("input",{type:"text",value:M.value[r.name]?.password||"",onInput:q=>$(r.name,"password",q.target.value),placeholder:"Enter password",class:"auth-input"},null,40,Fs)]),M.value[r.name]?.username||M.value[r.name]?.password?(t(),s("button",{key:0,onClick:q=>T(r.name),class:"clear-credential-btn"}," Clear ",8,Ds)):p("",!0)])):r.scheme.type==="http"&&r.scheme.scheme==="bearer"?(t(),s("div",{key:3,class:"auth-scheme-fields",onClick:a[4]||(a[4]=se(()=>{},["stop"]))},[e("label",null,[a[17]||(a[17]=e("span",null,"Bearer Token",-1)),e("input",{type:"text",value:M.value[r.name]?.token||"",onInput:q=>$(r.name,"token",q.target.value),placeholder:"Enter bearer token",class:"auth-input"},null,40,Ns)]),M.value[r.name]?.token?(t(),s("button",{key:0,onClick:q=>T(r.name),class:"clear-credential-btn"}," Clear ",8,Js)):p("",!0)])):r.scheme.type==="oauth2"?(t(),s("div",{key:4,class:"auth-scheme-fields",onClick:a[5]||(a[5]=se(()=>{},["stop"]))},[e("label",null,[a[18]||(a[18]=e("span",null,"Access Token",-1)),e("input",{type:"text",value:M.value[r.name]?.accessToken||"",onInput:q=>$(r.name,"accessToken",q.target.value),placeholder:"Enter OAuth2 access token",class:"auth-input"},null,40,Ws)]),M.value[r.name]?.accessToken?(t(),s("button",{key:0,onClick:q=>T(r.name),class:"clear-credential-btn"}," Clear ",8,Gs)):p("",!0)])):r.scheme.type==="openIdConnect"?(t(),s("div",{key:5,class:"auth-scheme-fields",onClick:a[6]||(a[6]=se(()=>{},["stop"]))},[e("label",null,[a[19]||(a[19]=e("span",null,"ID Token",-1)),e("input",{type:"text",value:M.value[r.name]?.idToken||"",onInput:q=>$(r.name,"idToken",q.target.value),placeholder:"Enter OpenID Connect ID token",class:"auth-input"},null,40,Xs)]),M.value[r.name]?.idToken?(t(),s("button",{key:0,onClick:q=>T(r.name),class:"clear-credential-btn"}," Clear ",8,Qs)):p("",!0)])):p("",!0)],10,zs))),128)),E.value?(t(),s("div",Ys,[a[21]||(a[21]=e("div",{class:"clerk-key-header"},[e("h3",null,"Clerk Publishable Key")],-1)),e("div",Zs,[w.value?(t(),s("span",en,_(w.value),1)):(t(),s("span",tn," Enter your Clerk publishable key to enable authentication. This will be stored with the selected service host. "))]),e("div",sn,[e("label",null,[a[20]||(a[20]=e("span",null,"Publishable Key",-1)),ie(e("input",{"onUpdate:modelValue":a[7]||(a[7]=r=>O.value=r),type:"text",placeholder:"pk_test_...",class:"clerk-key-input",disabled:P.value||J.value},null,8,nn),[[de,O.value]])]),!P.value&&!J.value?(t(),s("button",{key:0,onClick:I,class:"save-button"}," Save and reload ")):P.value&&!J.value?(t(),s("button",{key:1,onClick:D,class:"save-button"}," Clear and reload ")):p("",!0)])])):p("",!0)])])):p("",!0)}}),an=Be(on,[["__scopeId","data-v-b8c2be74"]]),ln={key:0,class:"service-host-input-section"},rn={key:0,class:"welcome-description"},cn={key:1,class:"welcome-description"},un={key:3,class:"service-host-direct-form"},dn={class:"service-host-input-wrapper"},vn=["disabled"],pn=Se({__name:"WelcomeServiceHostInput",setup(te){const u=ge(),S=A(""),k=A(""),f=c(()=>u.serviceHosts),z=c(()=>u.hasServiceHost),g=async()=>{if(!S.value.trim())return;const x={id:crypto.randomUUID(),baseUrl:S.value.trim(),openApiPath:k.value.trim()||void 0};await u.addHost(x),await u.selectHost(x.id),S.value="",k.value=""};return(x,K)=>m(u).isServiceHostPickerEnabled&&!z.value?(t(),s("div",ln,[f.value.length>0?(t(),s("p",rn," Please select or add a service host to get started. ")):(t(),s("p",cn," Please enter your service host URL to get started. ")),f.value.length>0?(t(),G(Je,{key:2})):(t(),s("div",un,[e("div",dn,[ie(e("input",{"onUpdate:modelValue":K[0]||(K[0]=N=>S.value=N),type:"text",placeholder:"Base URL (e.g., https://api.example.com)",class:"service-host-input",onKeyup:qe(g,["enter"])},null,544),[[de,S.value]]),ie(e("input",{"onUpdate:modelValue":K[1]||(K[1]=N=>k.value=N),type:"text",placeholder:"OpenAPI Path (optional, e.g., /openapi.json)",class:"service-host-input",onKeyup:qe(g,["enter"])},null,544),[[de,k.value]]),e("button",{onClick:g,class:"service-host-submit-btn",disabled:!S.value.trim()}," Connect ",8,vn)])]))])):p("",!0)}}),hn=Be(pn,[["__scopeId","data-v-d0cf2fc7"]]),mn={class:"openapi-test"},yn={class:"test-header"},fn={class:"header-content"},_n={class:"header-title-section"},kn={class:"title-section-content"},Sn={class:"title-row"},gn={class:"logo"},bn={key:0,class:"api-version"},$n={key:0,class:"api-description"},Cn={key:0,class:"header-title-section"},wn=["disabled"],An={class:"header-actions"},xn={href:"https://github.com/gamja-labs/openapi-studio",target:"_blank",rel:"noopener noreferrer",class:"github-link",title:"View on GitHub"},En={key:1,class:"auth-section"},qn={key:1,class:"user-section"},Hn={class:"test-container"},Bn={class:"sidebar-header"},Rn=["title"],Mn={class:"sidebar-content"},Pn={key:0,class:"loading"},zn={key:1,class:"error"},Tn={key:2,class:"endpoints-groups"},In=["onClick"],On={class:"group-name"},Un={class:"group-count"},Kn={class:"group-toggle"},Ln={key:0,class:"group-endpoints"},jn=["onClick"],Vn={class:"endpoint-path"},Fn={key:0,class:"endpoint-summary"},Dn={key:2,class:"endpoint-content"},Nn={class:"examples-header"},Jn=["title"],Wn={class:"examples-content"},Gn={key:0,class:"example-section"},Xn={class:"example-section-header"},Qn={class:"view-toggle"},Yn={class:"example-content"},Zn={key:0,class:"schema-display"},eo={class:"schema-text"},to={key:1,class:"json-editor-wrapper"},so={key:1,class:"example-section"},no={class:"response-codes-list"},oo={class:"response-code-header"},ao={class:"response-code-number"},lo={class:"response-code-right"},io={key:0,class:"response-code-description"},ro={class:"view-toggle"},co=["onClick"],uo=["onClick"],vo={key:0,class:"example-content"},po={key:0,class:"schema-display"},ho={class:"schema-text"},mo={key:1,class:"json-editor-wrapper"},yo={key:1,class:"no-example"},fo={key:2,class:"no-examples"},_o={key:3,class:"example-section"},ko={class:"schema-references-list"},So=["onClick"],go={class:"schema-reference-toggle"},bo={class:"schema-reference-name"},$o={key:0,class:"example-content"},Co={class:"schema-display"},wo={class:"schema-text"},Ao={key:3,class:"endpoint-tester empty"},xo={class:"empty-state"},Eo={class:"welcome-content"},qo={class:"welcome-icon"},Ho={key:0,class:"welcome-description"},Bo={key:1,class:"welcome-tips"},Ro={class:"tip-item"},Mo={class:"tip-item"},Po={class:"tip-item"},zo={class:"app-footer"},To="__clerk_bearer__",Uo=Se({__name:"Main",setup(te){const u=et(),S=ge(),k=c(()=>S.hasServiceHost),f=Ye(),z=Ze(),g=Te(),x=Oe();let K=!!(S.clerkPublishableKey&&S.clerkPublishableKey.trim()),N=null;if(K)try{N=Fe()}catch(v){console.warn("Failed to initialize Clerk auth:",v),K=!1,N=null}const M=c(()=>{if(!N)return!1;try{return N.isSignedIn.value??!1}catch{return!1}}),E=c(()=>g.openApiSpec),O=c(()=>g.loading),P=c(()=>g.error),J=c(()=>x.selectedPath),C=c(()=>x.selectedMethod),w=c(()=>x.selectedAuthScheme),$=A(new Set),T=A(new Set),W=A(new Map),I=A(!1),D=A(!1),i=A(500),y=A(400),a=A(!1),r=A(!1),q=c(()=>g.getSelectedEndpoint(J.value,C.value)),re=c(()=>g.endpoints),be=c(()=>{if(re.value.length===0)return[];const v=new Map;for(const o of re.value){const l=o.operation.tags||[];if(l.length>0){const b=l[0];b&&(v.has(b)||v.set(b,{name:b,endpoints:[]}),v.get(b).endpoints.push(o))}else{const b=o.path.split("/").filter(ce=>ce),Q=b.length>0?`/${b[0]}`:"Other";v.has(Q)||v.set(Q,{name:Q,endpoints:[]}),v.get(Q).endpoints.push(o)}}return $.value.size===0&&v.forEach((o,l)=>$.value.add(l)),Array.from(v.values()).sort((o,l)=>o.name.localeCompare(l.name))}),$e=v=>{$.value.has(v)?$.value.delete(v):$.value.add(v)},Ce=v=>{T.value.has(v)?T.value.delete(v):T.value.add(v)},ve=v=>{const o=W.value.get(v)||!1;W.value.set(v,!o)},X=v=>W.value.get(v)||!1,pe=new Map;async function me(v,o){const l=`${o}:${v}`;if(pe.has(l))return pe.get(l);const Q=new TextEncoder().encode(l),ce=await crypto.subtle.digest("SHA-256",Q),he=Array.from(new Uint8Array(ce)).map(We=>We.toString(16).padStart(2,"0")).join("").slice(0,16);return pe.set(l,he),he}function Re(v,o){const l=`${o}:${v}`;return pe.get(l)||""}async function we(){const v=z.query.endpoint;if(!v)return null;for(const o of re.value)if(await me(o.path,o.method)===v)return{path:o.path,method:o.method};return null}Ve(async()=>{I.value=u.loadSidebarCollapsed(),D.value=u.loadExamplesSidebarCollapsed(),i.value=u.loadEndpointsSidebarWidth(),y.value=u.loadExamplesSidebarWidth(),await S.loadOpenApiSpec();for(const o of re.value)await me(o.path,o.method);const v=await we();v&&(await tt(),await ye(v.path,v.method,!1)),le(()=>z.query.endpoint,async o=>{if(o){const l=await we();l&&(J.value!==l.path||C.value!==l.method)&&await ye(l.path,l.method,!1)}else(J.value||C.value)&&x.setSelectedEndpoint(null,null)}),le(I,o=>{u.saveSidebarCollapsed(o)}),le(D,o=>{u.saveExamplesSidebarCollapsed(o)}),le(i,o=>{u.saveEndpointsSidebarWidth(o)}),le(y,o=>{u.saveExamplesSidebarWidth(o)})});const Ae=v=>{a.value=!0;const o=v.clientX,l=i.value,b=ce=>{const xe=ce.clientX-o,he=Math.max(200,Math.min(800,l+xe));i.value=he},Q=()=>{a.value=!1,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",Q)};document.addEventListener("mousemove",b),document.addEventListener("mouseup",Q)},Me=v=>{r.value=!0;const o=v.clientX,l=y.value,b=ce=>{const xe=o-ce.clientX,he=Math.max(200,Math.min(800,l+xe));y.value=he},Q=()=>{r.value=!1,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",Q)};document.addEventListener("mousemove",b),document.addEventListener("mouseup",Q)},ye=async(v,o,l=!0)=>{if(x.setSelectedEndpoint(v,o),T.value.clear(),W.value.clear(),l){const b=Re(v,o)||await me(v,o);z.query.endpoint!==b&&await f.replace({query:{...z.query,endpoint:b}})}},Pe=v=>({GET:"#61affe",POST:"#49cc90",PUT:"#fca130",PATCH:"#50e3c2",DELETE:"#f93e3e"})[v]||"#999",d=c(()=>q.value?g.getExampleFromRequestBody(q.value):null),h=c(()=>q.value?g.getRequestBodySchema(q.value):null),n=c(()=>!h.value||!E.value?null:g.formatSchemaForDisplay(h.value,E.value)),V=v=>!v||!E.value?null:g.formatSchemaForDisplay(v,E.value),L=c(()=>q.value?g.getAllResponseExamples(q.value):[]),Y=c(()=>q.value?g.getEndpointSchemaReferences(q.value):[]),B=v=>g.endpointRequiresSecurity(v),F=c(()=>g.openApiTitle),ae=c(()=>g.openApiDescription),U=c(()=>g.openApiVersion),H=c(()=>{if(!w.value)return"Anonymous";if(w.value===To)return"Clerk Bearer";const o=g.securitySchemes.find(l=>l.name===w.value);return o?o.name:"Anonymous"}),ee=async()=>{await S.reload()};return(v,o)=>(t(),s("div",mn,[e("header",yn,[e("div",fn,[e("div",_n,[e("div",kn,[e("div",Sn,[e("h1",gn,_(F.value),1),U.value?(t(),s("div",bn,"v"+_(U.value),1)):p("",!0)]),ae.value?(t(),s("p",$n,_(ae.value),1)):p("",!0)]),k.value?(t(),s("div",Cn,[k.value?(t(),s("button",{key:0,onClick:ee,class:"refresh-spec-btn",disabled:m(g).loading,title:"Refresh OpenAPI Spec"},[R(m(rt),{size:20,class:j({spinning:m(g).loading})},null,8,["class"])],8,wn)):p("",!0)])):p("",!0)]),e("div",An,[m(S).isServiceHostPickerEnabled?(t(),G(Je,{key:0})):p("",!0),e("button",{onClick:o[0]||(o[0]=l=>m(f).push("/spec")),class:"openapi-spec-link",title:"View OpenAPI Spec JSON"},[R(m(Le),{size:20})]),e("a",xn,[R(m(it),{size:20})]),e("button",{onClick:o[1]||(o[1]=(...l)=>m(x).toggleAuthMenu&&m(x).toggleAuthMenu(...l)),class:j(["auth-menu-toggle",{active:m(x).authMenuOpen,"has-selection":w.value}]),title:"Security Scheme"},[w.value?(t(),G(m(ue),{key:1,size:16})):(t(),G(m(Ie),{key:0,size:16})),e("span",null,_(w.value?H.value:"Security"),1)],2),m(K)?(t(),s("div",En,[M.value?(t(),s("div",qn,[R(m(ot))])):(t(),G(m(nt),{key:0,mode:"modal"},{default:st(()=>[...o[6]||(o[6]=[e("button",{class:"sign-in-btn"},"Sign In",-1)])]),_:1}))])):p("",!0)])])]),R(an),e("div",Hn,[k.value?(t(),s("aside",{key:0,class:j(["endpoints-sidebar",{collapsed:I.value,resizing:a.value}]),style:Ee({width:I.value?"60px":`${i.value}px`})},[e("div",Bn,[o[7]||(o[7]=e("h2",null,"Endpoints ",-1)),e("button",{onClick:o[2]||(o[2]=l=>I.value=!I.value),class:"sidebar-toggle",title:I.value?"Expand sidebar":"Collapse sidebar"},[I.value?(t(),G(m(_e),{key:0,size:16})):(t(),G(m(je),{key:1,size:16}))],8,Rn)]),ie(e("div",Mn,[O.value?(t(),s("div",Pn,"Loading OpenAPI spec...")):P.value?(t(),s("div",zn,_(P.value),1)):(t(),s("div",Tn,[(t(!0),s(ne,null,oe(be.value,l=>(t(),s("div",{key:l.name,class:"endpoint-group"},[e("div",{class:"group-header",onClick:b=>$e(l.name)},[e("span",On,_(l.name),1),e("span",Un,"("+_(l.endpoints.length)+")",1),e("span",Kn,[$.value.has(l.name)?(t(),G(m(He),{key:0,size:14})):(t(),G(m(_e),{key:1,size:14}))])],8,In),$.value.has(l.name)?(t(),s("div",Ln,[(t(!0),s(ne,null,oe(l.endpoints,b=>(t(),s("div",{key:`${b.method}-${b.path}`,class:j(["endpoint-item",{active:J.value===b.path&&C.value===b.method}]),onClick:se(Q=>ye(b.path,b.method),["stop"])},[e("span",{class:"method-badge",style:Ee({backgroundColor:Pe(b.method)})},_(b.method),5),e("span",Vn,_(b.path),1),b.operation.summary?(t(),s("span",Fn,_(b.operation.summary),1)):p("",!0),B(b.operation)?(t(),G(m(ue),{key:1,size:14,class:"security-indicator",title:"Requires authentication"})):p("",!0)],10,jn))),128))])):p("",!0)]))),128))]))],512),[[Ke,!I.value]])],6)):p("",!0),k.value&&!I.value?(t(),s("div",{key:1,class:j(["resize-handle resize-handle-endpoints",{resizing:a.value}]),onMousedown:Ae},null,34)):p("",!0),q.value?(t(),s("div",Dn,[R(xs),D.value?p("",!0):(t(),s("div",{key:0,class:j(["resize-handle resize-handle-examples",{resizing:r.value}]),onMousedown:Me},null,34)),e("aside",{class:j(["examples-sidebar",{collapsed:D.value,resizing:r.value}]),style:Ee({width:D.value?"60px":`${y.value}px`})},[e("div",Nn,[o[8]||(o[8]=e("h3",null,"Examples",-1)),e("button",{onClick:o[3]||(o[3]=l=>D.value=!D.value),class:"examples-toggle",title:D.value?"Expand examples":"Collapse examples"},[D.value?(t(),G(m(je),{key:0,size:16})):(t(),G(m(_e),{key:1,size:16}))],8,Jn)]),ie(e("div",Wn,[d.value||h.value?(t(),s("div",Gn,[e("div",Xn,[e("h4",null,_(X("request-body")?"Request Body Schema":"Example Request Body"),1),e("div",Qn,[e("button",{onClick:o[4]||(o[4]=l=>ve("request-body")),class:j([{active:!X("request-body")},"toggle-btn"])}," Example ",2),e("button",{onClick:o[5]||(o[5]=l=>ve("request-body")),class:j([{active:X("request-body")},"toggle-btn"])}," Schema ",2)])]),e("div",Yn,[X("request-body")&&n.value?(t(),s("div",Zn,[e("pre",eo,_(n.value),1)])):X("request-body")?p("",!0):(t(),s("div",to,[R(m(ke),{"model-value":d.value,mode:"text",readOnly:!0,mainMenuBar:!1,navigationBar:!1,statusBar:!1,darkTheme:!0},null,8,["model-value"])]))])])):p("",!0),L.value.length>0?(t(),s("div",so,[o[9]||(o[9]=e("h4",null,"Response Codes",-1)),e("div",no,[(t(!0),s(ne,null,oe(L.value,l=>(t(),s("div",{key:l.code,class:"response-code-item"},[e("div",oo,[e("div",{class:j(["response-code-left",{success:l.isSuccess,error:!l.isSuccess}])},[e("span",ao,_(l.code),1)],2),e("div",lo,[l.description?(t(),s("div",io,_(l.description),1)):p("",!0),e("div",ro,[e("button",{onClick:b=>ve(`response-${l.code}`),class:j([{active:!X(`response-${l.code}`)},"toggle-btn small"])}," Example ",10,co),e("button",{onClick:b=>ve(`response-${l.code}`),class:j([{active:X(`response-${l.code}`)},"toggle-btn small"])}," Schema ",10,uo)])])]),(X(`response-${l.code}`)?l.schema:l.example)?(t(),s("div",vo,[X(`response-${l.code}`)&&l.schema?(t(),s("div",po,[e("pre",ho,_(V(l.schema)),1)])):X(`response-${l.code}`)?p("",!0):(t(),s("div",mo,[R(m(ke),{"model-value":l.example,mode:"text",readOnly:!0,mainMenuBar:!1,navigationBar:!1,statusBar:!1,darkTheme:!0},null,8,["model-value"])]))])):(t(),s("div",yo," No "+_(X(`response-${l.code}`)?"schema":"example")+" available ",1))]))),128))])])):p("",!0),!d.value&&L.value.length===0?(t(),s("div",fo," No examples available for this endpoint. ")):p("",!0),Y.value.length>0?(t(),s("div",_o,[o[10]||(o[10]=e("h4",null,"Referenced Schemas",-1)),e("div",ko,[(t(!0),s(ne,null,oe(Y.value,l=>(t(),s("div",{key:l.name,class:"schema-reference-item"},[e("div",{class:"schema-reference-header",onClick:b=>Ce(l.name)},[e("span",go,[T.value.has(l.name)?(t(),G(m(He),{key:0,size:14})):(t(),G(m(_e),{key:1,size:14}))]),e("span",bo,_(l.name),1)],8,So),T.value.has(l.name)?(t(),s("div",$o,[e("div",Co,[e("pre",wo,_(m(g).formatSchemaForDisplay(l.schema,E.value)),1)])])):p("",!0)]))),128))])])):p("",!0)],512),[[Ke,!D.value]])],6)])):(t(),s("main",Ao,[e("div",xo,[e("div",Eo,[e("div",qo,[R(m(De),{size:64})]),o[14]||(o[14]=e("h1",{class:"welcome-title"},"Welcome to OpenAPI Studio",-1)),k.value?(t(),s("p",Ho," Select an endpoint from the sidebar to start testing your API endpoints. ")):p("",!0),R(hn),k.value?(t(),s("div",Bo,[e("div",Ro,[R(m(Le),{size:20,class:"tip-icon"}),o[11]||(o[11]=e("span",null,"Browse available endpoints in the sidebar",-1))]),e("div",Mo,[R(m(ct),{size:20,class:"tip-icon"}),o[12]||(o[12]=e("span",null,"Test requests with custom parameters",-1))]),e("div",Po,[R(m(at),{size:20,class:"tip-icon"}),o[13]||(o[13]=e("span",null,"View responses and schema documentation",-1))])])):p("",!0)])]),e("footer",zo,[e("p",null,"© "+_(new Date().getFullYear())+" Gamja Labs",1)])]))])]))}});export{Uo as default};
@@ -1 +1 @@
1
- import{d as n,I as r,c as a,q as e,o as d,B as c}from"./app-Cj7QqXAk.js";const i={class:"not-found-container"},l=n({__name:"NotFound",setup(p){const t=r(),s=()=>{t.replace("/")};return(u,o)=>(d(),a("div",i,[e("div",{class:"not-found-content"},[o[0]||(o[0]=e("div",{class:"error-code"},"404",-1)),o[1]||(o[1]=e("h1",{class:"error-title"},"Page Not Found",-1)),o[2]||(o[2]=e("p",{class:"error-description"}," The page you're looking for doesn't exist or has been moved. ",-1)),e("div",{class:"error-actions"},[e("button",{class:"btn btn-primary",onClick:s}," Go to Home ")])])]))}}),f=c(l,[["__scopeId","data-v-94836b5f"]]);export{f as default};
1
+ import{a as n,B as r,e as a,f as d,g as e,_ as c}from"./app-Du3aTlLj.js";const i={class:"not-found-container"},l=n({__name:"NotFound",setup(p){const t=r(),s=()=>{t.replace("/")};return(u,o)=>(d(),a("div",i,[e("div",{class:"not-found-content"},[o[0]||(o[0]=e("div",{class:"error-code"},"404",-1)),o[1]||(o[1]=e("h1",{class:"error-title"},"Page Not Found",-1)),o[2]||(o[2]=e("p",{class:"error-description"}," The page you're looking for doesn't exist or has been moved. ",-1)),e("div",{class:"error-actions"},[e("button",{class:"btn btn-primary",onClick:s}," Go to Home ")])])]))}}),m=c(l,[["__scopeId","data-v-94836b5f"]]);export{m as default};
@@ -0,0 +1 @@
1
+ import{a as A,B as g,q as O,u as V,c as l,o as B,J as x,e as t,f as s,g as e,h as k,k as c,j as d,t as p,_ as C}from"./app-Du3aTlLj.js";import{c as f,F as L}from"./file-text-C97pO3ap.js";const j=f("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);const U=f("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),I={class:"spec-viewer"},N={class:"spec-viewer-header"},R={class:"header-content"},E={class:"header-title-section"},J={class:"title-row"},M={class:"spec-title"},z={key:0,class:"api-version"},D=["disabled"],P={key:0,class:"url-display"},T=["href"],F={class:"spec-viewer-content"},H={key:0,class:"loading-state"},q={key:1,class:"error-state"},$={key:2,class:"empty-state"},G={key:3,class:"json-viewer-container"},K=A({__name:"SpecViewer",setup(Q){const y=g(),n=O(),w=V(),a=l(()=>n.openApiSpec),u=l(()=>n.loading),v=l(()=>n.error),b=l(()=>n.openApiTitle),m=l(()=>n.openApiVersion),_=l(()=>n.openApiSpecUrl),S=()=>{if(!a.value)return;const h=JSON.stringify(a.value,null,2),o=new Blob([h],{type:"application/json"}),r=URL.createObjectURL(o),i=document.createElement("a");i.href=r,i.download="openapi-spec.json",document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r)};return B(async()=>{!a.value&&!u.value&&!v.value&&await w.loadOpenApiSpec()}),(h,o)=>{const r=x("JsonEditorVue");return s(),t("div",I,[e("header",N,[e("div",R,[e("button",{onClick:o[0]||(o[0]=i=>c(y).push("/")),class:"back-button",title:"Back to main view"},[d(c(j),{size:20})]),e("div",E,[d(c(L),{size:24}),e("div",J,[e("h1",M,p(b.value),1),m.value?(s(),t("div",z,"v"+p(m.value),1)):k("",!0)])]),e("button",{onClick:S,class:"download-button",disabled:!a.value||u.value,title:"Download OpenAPI Spec JSON"},[d(c(U),{size:20}),o[1]||(o[1]=e("span",null,"Download",-1))],8,D)])]),_.value?(s(),t("div",P,[o[2]||(o[2]=e("span",{class:"url-label"},"OpenAPI Spec URL:",-1)),e("a",{href:_.value,target:"_blank",rel:"noopener noreferrer",class:"url-link"},p(_.value),9,T)])):k("",!0),e("main",F,[u.value?(s(),t("div",H,[...o[3]||(o[3]=[e("p",null,"Loading OpenAPI specification...",-1)])])):v.value?(s(),t("div",q,[e("p",null,"Error loading specification: "+p(v.value),1)])):a.value?(s(),t("div",G,[d(r,{"model-value":a.value,mode:"text",readOnly:!0,mainMenuBar:!0,navigationBar:!0,statusBar:!1,darkTheme:!0},null,8,["model-value"])])):(s(),t("div",$,[...o[4]||(o[4]=[e("p",null,"No OpenAPI specification available.",-1)])]))])])}}}),Y=C(K,[["__scopeId","data-v-aa7d1028"]]);export{Y as default};
@@ -0,0 +1 @@
1
+ .spec-viewer[data-v-aa7d1028]{height:100vh;display:flex;flex-direction:column;background:hsl(var(--background));color:hsl(var(--foreground));overflow:hidden}.spec-viewer-header[data-v-aa7d1028]{border-bottom:1px solid hsl(var(--border));background:hsl(var(--card));flex-shrink:0;z-index:100}.url-display[data-v-aa7d1028]{padding:.75rem 2rem;background:hsl(var(--muted)/.3);border-bottom:1px solid hsl(var(--border));display:flex;align-items:center;gap:.5rem;flex-shrink:0;font-size:.875rem}.url-label[data-v-aa7d1028]{font-weight:500;color:hsl(var(--muted-foreground));white-space:nowrap}.url-link[data-v-aa7d1028]{color:hsl(var(--primary));text-decoration:none;font-family:Chivo Mono Variable,monospace;word-break:break-all;transition:opacity .2s}.url-link[data-v-aa7d1028]:hover{opacity:.8;text-decoration:underline}.header-content[data-v-aa7d1028]{max-width:100%;margin:0 auto;padding:1rem 2rem;display:flex;align-items:center;gap:1rem}.back-button[data-v-aa7d1028]{display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid hsl(var(--border));color:hsl(var(--foreground));cursor:pointer;padding:.5rem;border-radius:calc(var(--radius) - 2px);transition:all .2s;flex-shrink:0}.back-button[data-v-aa7d1028]:hover{background:hsl(var(--muted)/.3);color:hsl(var(--primary))}.header-title-section[data-v-aa7d1028]{display:flex;align-items:center;gap:.75rem;flex:1;min-width:0}.header-title-section svg[data-v-aa7d1028]{flex-shrink:0;color:hsl(var(--muted-foreground))}.title-row[data-v-aa7d1028]{display:flex;align-items:baseline;gap:.75rem;flex-wrap:wrap;flex:1;min-width:0}.spec-title[data-v-aa7d1028]{font-size:1.25rem;font-weight:600;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.api-version[data-v-aa7d1028]{font-size:.875rem;color:hsl(var(--muted-foreground));font-weight:500;white-space:nowrap}.download-button[data-v-aa7d1028]{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:hsl(var(--primary));color:hsl(var(--primary-foreground));border:none;border-radius:calc(var(--radius) - 2px);cursor:pointer;font-weight:500;transition:opacity .2s;flex-shrink:0}.download-button[data-v-aa7d1028]:hover:not(:disabled){opacity:.9}.download-button[data-v-aa7d1028]:disabled{opacity:.5;cursor:not-allowed}.spec-viewer-content[data-v-aa7d1028]{flex:1;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;padding:1rem;min-height:0}.loading-state[data-v-aa7d1028],.error-state[data-v-aa7d1028],.empty-state[data-v-aa7d1028]{display:flex;align-items:center;justify-content:center;flex:1;padding:2rem}.loading-state p[data-v-aa7d1028],.error-state p[data-v-aa7d1028],.empty-state p[data-v-aa7d1028]{font-size:1rem;color:hsl(var(--muted-foreground))}.error-state p[data-v-aa7d1028]{color:hsl(var(--destructive))}.json-viewer-container[data-v-aa7d1028]{flex:1;min-height:0;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--input));display:flex;flex-direction:column}.json-viewer-container[data-v-aa7d1028] .jsoneditor{border:none;background:hsl(var(--input));height:100%;display:flex;flex-direction:column;min-height:0}.json-viewer-container[data-v-aa7d1028] .jsoneditor-menu{background:hsl(var(--muted));border-bottom:1px solid hsl(var(--border));flex-shrink:0}.json-viewer-container[data-v-aa7d1028] .jsoneditor-outer{background:hsl(var(--input));flex:1;overflow:hidden;display:flex;flex-direction:column;min-height:0;position:relative}.json-viewer-container[data-v-aa7d1028] .ace_editor{background:hsl(var(--input))!important;color:hsl(var(--foreground))!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important}.json-viewer-container[data-v-aa7d1028] .ace_scroller{overflow-y:auto!important;overflow-x:auto!important}.json-viewer-container[data-v-aa7d1028] .ace_gutter{background:hsl(var(--muted))!important}.json-viewer-container[data-v-aa7d1028] .ace_content{overflow-y:auto!important;overflow-x:auto!important}
@@ -1 +1 @@
1
- @font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-cyrillic-ext-wght-normal-D8xHCTEw.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-cyrillic-wght-normal-bOs07Rf4.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-greek-ext-wght-normal-Bm9CHu9r.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-greek-wght-normal-8neIfJ3r.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-hebrew-wght-normal-BjjtG49P.woff2) format("woff2-variations");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-math-wght-normal-C1FvUlkR.woff2) format("woff2-variations");unicode-range:U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-symbols-wght-normal-BAf6-sld.woff2) format("woff2-variations");unicode-range:U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-vietnamese-wght-normal-UygKeDyW.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-latin-ext-wght-normal-DPNHYqvY.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-latin-wght-normal-CWNzRldh.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Chivo Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/chivo-mono-vietnamese-wght-normal-CR-pvMd4.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Chivo Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/chivo-mono-latin-ext-wght-normal-Cnx6d2Yf.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Chivo Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/chivo-mono-latin-wght-normal-DXNvimoL.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--background: 0 0% 3.9%;--foreground: 0 0% 98%;--card: 0 0% 7%;--card-foreground: 0 0% 98%;--popover: 0 0% 5%;--popover-foreground: 0 0% 98%;--primary: 0 0% 100%;--primary-foreground: 0 0% 9%;--secondary: 0 0% 14.9%;--secondary-foreground: 0 0% 98%;--muted: 0 0% 14.9%;--muted-foreground: 0 0% 63.9%;--accent: 0 0% 14.9%;--accent-foreground: 0 0% 98%;--destructive: 0 0% 50%;--destructive-foreground: 0 0% 98%;--border: 0 0% 14.9%;--input: 0 0% 14.9%;--ring: 0 0% 83.1%;--radius: .5rem}*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;margin:0;padding:0;overflow:hidden}body{font-family:Open Sans Variable,sans-serif;background-color:hsl(var(--background));color:hsl(var(--foreground));line-height:1.5}input,textarea,select,button{background-color:hsl(var(--background));color:hsl(var(--foreground));border-color:hsl(var(--border))}a{color:hsl(var(--primary));text-decoration:none}a:hover{text-decoration:underline}#app{height:100vh;overflow:hidden;display:flex;flex-direction:column}
1
+ @font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-cyrillic-ext-wght-normal-D8xHCTEw.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-cyrillic-wght-normal-bOs07Rf4.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-greek-ext-wght-normal-Bm9CHu9r.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-greek-wght-normal-8neIfJ3r.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-hebrew-wght-normal-BjjtG49P.woff2) format("woff2-variations");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-math-wght-normal-C1FvUlkR.woff2) format("woff2-variations");unicode-range:U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-symbols-wght-normal-BAf6-sld.woff2) format("woff2-variations");unicode-range:U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-vietnamese-wght-normal-UygKeDyW.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-latin-ext-wght-normal-DPNHYqvY.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-latin-wght-normal-CWNzRldh.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Chivo Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/chivo-mono-vietnamese-wght-normal-CR-pvMd4.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Chivo Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/chivo-mono-latin-ext-wght-normal-Cnx6d2Yf.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Chivo Mono Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/chivo-mono-latin-wght-normal-DXNvimoL.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--background: 0 0% 3.9%;--foreground: 0 0% 98%;--card: 0 0% 7%;--card-foreground: 0 0% 98%;--popover: 0 0% 5%;--popover-foreground: 0 0% 98%;--primary: 0 0% 100%;--primary-foreground: 0 0% 9%;--secondary: 0 0% 14.9%;--secondary-foreground: 0 0% 98%;--muted: 0 0% 14.9%;--muted-foreground: 0 0% 63.9%;--accent: 0 0% 14.9%;--accent-foreground: 0 0% 98%;--destructive: 0 0% 50%;--destructive-foreground: 0 0% 98%;--border: 0 0% 14.9%;--input: 0 0% 14.9%;--ring: 0 0% 83.1%;--radius: .5rem}:root .jse-theme-dark{--jse-theme-color: #262626;--jse-panel-background: #262626;--jse-theme-color-highlight: #262626}*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;margin:0;padding:0;overflow:hidden}body{font-family:Open Sans Variable,sans-serif;background-color:hsl(var(--background));color:hsl(var(--foreground));line-height:1.5}input,textarea,select,button{background-color:hsl(var(--background));color:hsl(var(--foreground));border-color:hsl(var(--border))}a{color:hsl(var(--primary));text-decoration:none}a:hover{text-decoration:underline}#app{height:100vh;overflow:hidden;display:flex;flex-direction:column}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:hsl(var(--background));border-radius:10px}::-webkit-scrollbar-thumb{background:hsl(var(--muted));border-radius:10px;border:2px solid hsl(var(--background));transition:background .2s ease}::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground))}::-webkit-scrollbar-corner{background:hsl(var(--background))}