@inupedia/spotlight-vue 0.8.4 → 0.8.6

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.
@@ -1 +1 @@
1
- .inspira-card-spotlight[data-v-451e3591]{position:relative;display:flex;width:100%;min-width:0;height:100%;overflow:hidden;border-radius:12px}.inspira-card-spotlight__content[data-v-451e3591]{position:relative;z-index:10;width:100%;min-width:0;height:100%}.inspira-card-spotlight__gradient[data-v-451e3591]{pointer-events:none;position:absolute;inset:0;border-radius:inherit;opacity:0;transition:opacity .3s ease}.inspira-card-spotlight:hover .inspira-card-spotlight__gradient[data-v-451e3591]{opacity:1}.border-beam-official[data-v-3cee2783]{--size: var(--v602b8bb2);--duration: var(--e7874400);--anchor: var(--v5fc92b5b);--border-width: var(--c1a8d7d8);--color-from: var(--v2bd85f47);--color-to: var(--v055f9958);--delay: var(--v770d7dfd);position:absolute;inset:0;pointer-events:none;border-radius:inherit;border:calc(var(--border-width) * 1px) solid transparent;mask-image:linear-gradient(transparent,transparent),linear-gradient(#fff,#fff);mask-clip:padding-box,border-box;mask-composite:intersect;-webkit-mask-image:linear-gradient(transparent,transparent),linear-gradient(white,white);-webkit-mask-clip:padding-box,border-box;-webkit-mask-composite:source-in}.border-beam-official[data-v-3cee2783]:after{content:"";position:absolute;top:0;left:0;width:calc(var(--size) * 1px);aspect-ratio:1 / 1;background:linear-gradient(to left,var(--color-from),var(--color-to),transparent);offset-anchor:calc(var(--anchor) * 1%) 50%;offset-path:rect(0 auto auto 0 round calc(var(--size) * 1px));animation:border-beam-official-anim-3cee2783 var(--duration) infinite linear;animation-delay:var(--delay)}@keyframes border-beam-official-anim-3cee2783{to{offset-distance:100%}}@media(prefers-reduced-motion:reduce){.border-beam-official[data-v-3cee2783]:after{animation:none}}.spotlight-backdrop[data-v-b381bab1]{position:fixed;inset:0;background:radial-gradient(120% 80% at 50% 0%,#bae6fd47,#f0fdfa14 42%,#0f172a38);backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15);z-index:9999;display:flex;align-items:flex-start;justify-content:center;padding-top:12vh;transition:background .28s ease,backdrop-filter .28s ease}.spotlight-panel[data-v-b381bab1]{position:fixed;left:50%;top:12vh;transform:translate(-50%);width:min(680px,calc(100% - 40px));max-height:82vh;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,system-ui,sans-serif;background:linear-gradient(165deg,#ffffffeb,#f8fafce0 52%,#f0fdfadb);border-radius:22px;border:1px solid rgba(148,163,184,.28);box-shadow:0 24px 64px #0f172a1f,0 8px 24px #0f172a0f,inset 0 1px #ffffffd9;padding:16px 16px 14px;color:#0f172a;display:flex;flex-direction:column;gap:12px;backdrop-filter:blur(40px) saturate(1.35);-webkit-backdrop-filter:blur(40px) saturate(1.35)}.spotlight-panel.is-memory-on[data-v-b381bab1]{border-color:#2dd4bf6b;box-shadow:0 24px 64px #0f172a1f,0 0 0 1px #2dd4bf1f,0 12px 36px #2dd4bf1a}.spotlight-panel-beam[data-v-b381bab1]{z-index:2}.spotlight-permission-banner[data-v-b381bab1]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.24);background:#ffffffb8}.spotlight-permission-banner-body[data-v-b381bab1]{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:1.45;color:#475569}.spotlight-permission-banner-body strong[data-v-b381bab1]{color:#0f172a;font-weight:600}.spotlight-permission-banner-actions[data-v-b381bab1]{display:flex;gap:8px;flex-shrink:0}.spotlight-permission-btn[data-v-b381bab1]{border:0;border-radius:999px;min-height:32px;padding:0 14px;font-size:13px;font-weight:600;cursor:pointer;transition:opacity .18s ease,transform .18s ease}.spotlight-permission-btn[data-v-b381bab1]:active{transform:scale(.98);opacity:.88}.spotlight-permission-btn.is-approve[data-v-b381bab1]{background:linear-gradient(135deg,#14b8a6,#0ea5e9);color:#fff}.spotlight-permission-btn.is-dismiss[data-v-b381bab1]{background:#94a3b82e;color:#334155}.spotlight-input-shell[data-v-b381bab1],.spotlight-list-shell[data-v-b381bab1]{position:relative;width:100%;min-width:0;border-radius:14px;box-sizing:border-box}.spotlight-input-wrap[data-v-b381bab1]{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:48px;padding:10px 12px;border-radius:14px;border:1px solid rgba(148,163,184,.22);box-sizing:border-box;background:#ffffffc7;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}.spotlight-voice-shell[data-v-b381bab1]{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:48px;padding:12px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.22);background:#ffffffc7;box-sizing:border-box}.spotlight-voice-text[data-v-b381bab1]{font-size:15px;line-height:1.4;color:#334155}.spotlight-voice-mic[data-v-b381bab1]{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid rgba(148,163,184,.28);background:#f8fafce6;color:#ef4444}.spotlight-voice-shell.is-transcribing .spotlight-voice-mic[data-v-b381bab1]{color:#0ea5e9}.spotlight-input-wrap.is-running[data-v-b381bab1]{border-color:#0ea5e973;box-shadow:0 0 0 3px #0ea5e91a}.spotlight-input-wrap.is-done[data-v-b381bab1]{border-color:#10b9816b}.spotlight-input-wrap.is-error[data-v-b381bab1]{border-color:#ef444473}.spotlight-input[data-v-b381bab1]{flex:1;min-width:0;border:0;outline:none;background:transparent;color:#0f172a;font-size:17px;font-weight:400;letter-spacing:-.01em}.spotlight-input[data-v-b381bab1]::placeholder{color:#94a3b8}.spotlight-agent-badge[data-v-b381bab1]{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:4px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.22);background:#f8fafceb;color:#64748b;font-size:12px;font-weight:600}.spotlight-agent-badge-dot[data-v-b381bab1]{width:7px;height:7px;border-radius:50%;background:#94a3b8}.spotlight-agent-badge.is-running[data-v-b381bab1]{color:#0284c7}.spotlight-agent-badge.is-running .spotlight-agent-badge-dot[data-v-b381bab1]{background:#0ea5e9}.spotlight-agent-badge.is-done[data-v-b381bab1]{color:#059669}.spotlight-agent-badge.is-done .spotlight-agent-badge-dot[data-v-b381bab1]{background:#10b981}.spotlight-agent-badge.is-error[data-v-b381bab1]{color:#dc2626}.spotlight-agent-badge.is-error .spotlight-agent-badge-dot[data-v-b381bab1]{background:#ef4444}.spotlight-command-deck[data-v-b381bab1]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px;position:relative;z-index:3}.spotlight-command-deck-meta[data-v-b381bab1]{display:flex;align-items:center;gap:10px;min-width:0}.spotlight-command-deck-kicker[data-v-b381bab1]{color:#64748b;font-size:12px;font-weight:600;letter-spacing:.02em}.spotlight-command-deck-status[data-v-b381bab1]{color:#0f172a;font-size:13px;font-weight:600;letter-spacing:-.01em}.spotlight-memory-dot-btn[data-v-b381bab1]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;height:44px;margin:-8px -6px -8px 0;padding:0 10px;border:0;border-radius:999px;background:transparent;cursor:pointer;flex-shrink:0;-webkit-tap-highlight-color:transparent;transition:transform .18s ease}.spotlight-memory-label[data-v-b381bab1]{color:#64748b;font-size:12px;font-weight:600;line-height:1;white-space:nowrap}.spotlight-memory-dot-btn[data-v-b381bab1]:active{transform:scale(.94)}.spotlight-memory-dot-btn[data-v-b381bab1]:focus-visible{outline:none;box-shadow:0 0 0 3px #2dd4bf59}.spotlight-memory-dot[data-v-b381bab1]{position:relative;width:8px;height:8px;border-radius:50%;background:#cbd5e1;transition:background .28s ease,box-shadow .28s ease,transform .28s ease}.spotlight-memory-dot.is-on[data-v-b381bab1]{background:#14b8a6;box-shadow:0 0 #14b8a673;animation:spotlight-memory-dot-pulse-b381bab1 3.2s ease-in-out infinite}.spotlight-memory-dot.is-on[data-v-b381bab1]:after{content:"";position:absolute;inset:-5px;border-radius:inherit;border:1px solid rgba(45,212,191,.35);opacity:0;animation:spotlight-memory-dot-ring-b381bab1 3.2s ease-in-out infinite}@keyframes spotlight-memory-dot-pulse-b381bab1{0%,to{opacity:.72;box-shadow:0 0 #14b8a647;transform:scale(.96)}50%{opacity:1;box-shadow:0 0 0 6px #14b8a600;transform:scale(1)}}@keyframes spotlight-memory-dot-ring-b381bab1{0%,to{opacity:0;transform:scale(.85)}50%{opacity:.55;transform:scale(1.15)}}.spotlight-list[data-v-b381bab1]{margin:0;padding:6px;list-style:none;max-height:min(54vh,480px);overflow:auto;border-radius:14px;border:1px solid rgba(148,163,184,.2);background:#ffffff9e}.spotlight-item[data-v-b381bab1]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;border-radius:10px;cursor:pointer;transition:background .18s ease}.spotlight-item[data-v-b381bab1]:hover,.spotlight-item.is-selected[data-v-b381bab1]{background:#f1f5f9f2}.spotlight-item.is-selected[data-v-b381bab1]{background:#ccfbf1b8}.spotlight-item-label[data-v-b381bab1]{color:#0f172a;font-size:15px;font-weight:400;letter-spacing:-.01em}.spotlight-item-hint[data-v-b381bab1],.spotlight-list-divider[data-v-b381bab1]{color:#94a3b8;font-size:12px;font-weight:500}.spotlight-list-divider[data-v-b381bab1]{display:flex;align-items:center;gap:10px;padding:8px 12px 4px;pointer-events:none}.spotlight-list-divider[data-v-b381bab1]:after{content:"";flex:1;height:.5px;background:#94a3b847}.spotlight-voice-mic-icon[data-v-b381bab1]{position:relative;display:block;width:14px;height:18px}.spotlight-voice-mic-body[data-v-b381bab1]{position:absolute;inset:0 2px 6px;border:2px solid currentColor;border-radius:999px}.spotlight-voice-mic-stem[data-v-b381bab1]{position:absolute;left:50%;bottom:0;width:2px;height:5px;transform:translate(-50%);background:currentColor;border-radius:1px}.spotlight-voice-shell.is-recording[data-v-b381bab1]{border-color:#ef444459;box-shadow:0 0 0 3px #ef444414}.spotlight-voice-shell.is-transcribing[data-v-b381bab1]{border-color:#0ea5e959;box-shadow:0 0 0 3px #0ea5e914}.spotlight-voice-beam[data-v-b381bab1]{display:block}.spotlight-item--empty[data-v-b381bab1]{cursor:default;opacity:.72}@media(max-width:768px){.spotlight-panel[data-v-b381bab1]{width:calc(100% - 24px);top:8vh;padding:14px}.spotlight-command-deck[data-v-b381bab1]{flex-wrap:wrap}.spotlight-input[data-v-b381bab1]{font-size:16px}.spotlight-agent-badge[data-v-b381bab1]{align-self:flex-start}}@media(prefers-reduced-motion:reduce){.spotlight-backdrop[data-v-b381bab1],.spotlight-panel[data-v-b381bab1],.spotlight-input-wrap[data-v-b381bab1],.spotlight-memory-dot[data-v-b381bab1],.spotlight-memory-dot.is-on[data-v-b381bab1]:after,.spotlight-item[data-v-b381bab1],.spotlight-permission-btn[data-v-b381bab1],.spotlight-memory-dot-btn[data-v-b381bab1]{transition:none;animation:none}}.thinking-bar[data-v-de0d91bb]{--tb-text: #0f172a;--tb-text-secondary: #475569;--tb-text-muted: #64748b;--tb-text-faint: #94a3b8;--tb-border: rgba(148, 163, 184, .28);--tb-surface: rgba(255, 255, 255, .94);--tb-surface-soft: rgba(248, 250, 252, .92);--tb-surface-inset: rgba(255, 255, 255, .88);--tb-accent: #14b8a6;--tb-info: #0ea5e9;--tb-success: #10b981;--tb-error: #ef4444;--tb-radius-xl: 22px;--tb-radius-lg: 16px;--tb-radius-md: 14px;--tb-radius-sm: 12px;--tb-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;position:fixed;width:min(720px,calc(100vw - 48px));max-height:min(78vh,820px);display:flex;flex-direction:column;min-height:0;font-family:var(--tb-font);background:linear-gradient(165deg,#fffffff5,#f8fafcf0 55%,#f0fdfaeb);border-radius:var(--tb-radius-xl);border:1px solid var(--tb-border);box-shadow:0 24px 64px #0f172a1a,0 8px 24px #0f172a0d,inset 0 1px #ffffffe6;color:var(--tb-text);z-index:10000;overflow:hidden;opacity:0;backdrop-filter:blur(40px) saturate(1.35);-webkit-backdrop-filter:blur(40px) saturate(1.35);transition:opacity .28s ease,transform .28s ease}.thinking-bar--open[data-v-de0d91bb]{opacity:1}.thinking-bar--embedded[data-v-de0d91bb]{position:relative;right:auto;bottom:auto;width:100%;max-height:100%}.thinking-bar--centered[data-v-de0d91bb]{left:50%;top:50%;width:min(980px,calc(100vw - 56px));transform:translate(-50%,-50%) scale(.98);transform-origin:center}.thinking-bar--centered.thinking-bar--open[data-v-de0d91bb]{transform:translate(-50%,-50%) scale(1)}.thinking-bar--corner[data-v-de0d91bb]{right:24px;bottom:24px;width:min(520px,calc(100vw - 28px));max-height:min(76vh,calc(100vh - 36px));border-radius:20px;transform:scale(.98);transform-origin:right bottom}.thinking-bar--corner.thinking-bar--open[data-v-de0d91bb]{transform:scale(1)}.thinking-bar-grid[data-v-de0d91bb]{display:none}.thinking-bar-header[data-v-de0d91bb]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--tb-border);flex-shrink:0}.thinking-bar-title-stack[data-v-de0d91bb]{display:grid;gap:2px;min-width:0}.thinking-bar-kicker[data-v-de0d91bb]{color:var(--tb-text-muted);font-size:12px;font-weight:600;letter-spacing:.02em}.thinking-bar-title[data-v-de0d91bb]{color:var(--tb-text);font-size:17px;font-weight:600;letter-spacing:-.02em;line-height:1.35;min-width:0}.thinking-bar-memory-badge[data-v-de0d91bb]{display:inline-flex;width:fit-content;margin-top:4px;padding:3px 8px;border-radius:999px;border:1px solid rgba(14,165,233,.28);background:#0ea5e91a;color:#0284c7;font-size:11px;font-weight:600}.thinking-bar-memory-refresh[data-v-de0d91bb]{display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;border:1px solid color-mix(in srgb,var(--spotlight-accent, #0f766e) 35%,transparent);border-radius:999px;padding:4px 9px;background:color-mix(in srgb,var(--spotlight-accent, #0f766e) 8%,transparent);color:inherit;font:inherit;font-size:12px;line-height:1.35;white-space:nowrap;cursor:pointer}.thinking-bar-memory-refresh[data-v-de0d91bb]:hover{background:color-mix(in srgb,var(--spotlight-accent, #0f766e) 16%,transparent)}.thinking-bar-memory-result[data-v-de0d91bb]{position:relative;display:flex;min-height:0;flex:1;flex-direction:column;gap:16px;padding:18px;overflow-x:hidden;overflow-y:auto;background:radial-gradient(circle at 8% 0%,rgba(20,184,166,.1),transparent 34%),#f8fafc8f}.thinking-bar-memory-result-intro[data-v-de0d91bb]{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid rgba(20,184,166,.24);border-radius:var(--tb-radius-lg);background:#f0fdfad1}.thinking-bar-memory-result-icon[data-v-de0d91bb]{display:inline-flex;width:30px;height:30px;flex:0 0 30px;align-items:center;justify-content:center;border-radius:999px;background:var(--tb-accent);color:#fff;font-size:15px;font-weight:700;box-shadow:0 6px 14px #14b8a633}.thinking-bar-memory-result-copy[data-v-de0d91bb]{display:grid;min-width:0;gap:3px}.thinking-bar-memory-result-eyebrow[data-v-de0d91bb]{color:#0f766e;font-size:11px;font-weight:700;letter-spacing:.04em}.thinking-bar-memory-result-copy strong[data-v-de0d91bb]{color:var(--tb-text);font-size:15px;line-height:1.45}.thinking-bar-memory-result-copy p[data-v-de0d91bb]{margin:0;color:var(--tb-text-muted);font-size:12px;line-height:1.55}.thinking-bar-memory-result-answer[data-v-de0d91bb]{min-width:0;padding:18px 20px;border:1px solid var(--tb-border);border-radius:var(--tb-radius-lg);background:#ffffffe6;box-shadow:0 8px 24px #0f172a0a}.thinking-bar-memory-result-answer-label[data-v-de0d91bb]{margin-bottom:10px;color:var(--tb-text-muted);font-size:11px;font-weight:700;letter-spacing:.06em}.thinking-bar-memory-result-footer[data-v-de0d91bb]{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--tb-text-muted);font-size:11px;line-height:1.5}.thinking-bar-memory-result-refresh[data-v-de0d91bb]{flex:0 0 auto;padding:7px 12px;color:#0f766e;font-size:12px;font-weight:600}.thinking-bar-metrics[data-v-de0d91bb]{display:flex;align-items:center;gap:8px;margin-left:auto}.thinking-bar-metric[data-v-de0d91bb]{display:grid;min-width:58px;padding:7px 9px;border:1px solid var(--tb-border);border-radius:var(--tb-radius-sm);background:var(--tb-surface-inset);text-align:center}.thinking-bar-metric strong[data-v-de0d91bb]{color:var(--tb-text);font-size:15px;line-height:1.1}.thinking-bar-metric em[data-v-de0d91bb]{color:var(--tb-text-muted);font-size:10px;font-style:normal;line-height:1.2}.thinking-bar-close[data-v-de0d91bb]{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--tb-border);border-radius:var(--tb-radius-sm);background:var(--tb-surface-inset);color:var(--tb-text-muted);font-size:20px;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease}.thinking-bar-close[data-v-de0d91bb]:hover{background:var(--tb-surface-soft);color:var(--tb-text)}.thinking-bar-steps[data-v-de0d91bb]{padding:14px 16px 16px;flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:10px;background:#f8fafc73}.thinking-bar-steps[data-v-de0d91bb],.thinking-bar-step-body[data-v-de0d91bb],.thinking-bar-tool-call-block[data-v-de0d91bb],.thinking-bar-tool-result-table-wrap[data-v-de0d91bb],.thinking-bar-file-tree-body[data-v-de0d91bb],.thinking-bar-file-preview-body[data-v-de0d91bb]{-ms-overflow-style:none;scrollbar-width:none}.thinking-bar-steps[data-v-de0d91bb]::-webkit-scrollbar,.thinking-bar-step-body[data-v-de0d91bb]::-webkit-scrollbar,.thinking-bar-tool-call-block[data-v-de0d91bb]::-webkit-scrollbar,.thinking-bar-tool-result-table-wrap[data-v-de0d91bb]::-webkit-scrollbar,.thinking-bar-file-tree-body[data-v-de0d91bb]::-webkit-scrollbar,.thinking-bar-file-preview-body[data-v-de0d91bb]::-webkit-scrollbar{display:none}.thinking-bar-step[data-v-de0d91bb]{position:relative;display:flex;flex-direction:column;flex:0 0 auto;min-width:0;padding:12px 14px;border-radius:var(--tb-radius-lg);border:1px solid var(--tb-border);background:var(--tb-surface-inset);box-shadow:0 1px 2px #0f172a0a;overflow:hidden}.thinking-bar-step.active[data-v-de0d91bb]{border-color:#14b8a661;box-shadow:0 0 0 1px #14b8a61f}.thinking-bar-step.done[data-v-de0d91bb]{border-color:#0ea5e947}.thinking-bar-step.error[data-v-de0d91bb]{border-color:#ef444452}.thinking-bar-step.pending[data-v-de0d91bb]{opacity:.72}.thinking-bar-step-inner[data-v-de0d91bb]{display:flex;align-items:flex-start;gap:12px;min-width:0}.thinking-bar-step-status[data-v-de0d91bb]{flex-shrink:0;width:10px;height:10px;margin-top:5px;border-radius:999px;background:var(--tb-text-faint)}.thinking-bar-step-status.is-active[data-v-de0d91bb]{background:var(--tb-accent);box-shadow:0 0 0 4px #14b8a62e}.thinking-bar-step-status.is-done[data-v-de0d91bb]{background:var(--tb-info)}.thinking-bar-step-status.is-error[data-v-de0d91bb]{background:var(--tb-error)}.thinking-bar-step-column[data-v-de0d91bb]{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.thinking-bar-step-label[data-v-de0d91bb]{color:var(--tb-text);font-size:15px;font-weight:600;line-height:1.45}.thinking-bar-step.pending .thinking-bar-step-label[data-v-de0d91bb]{color:var(--tb-text-muted)}.thinking-bar-step-body[data-v-de0d91bb]{max-height:min(42vh,400px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.thinking-bar-step-text[data-v-de0d91bb]{margin:0;color:var(--tb-text-secondary);font-size:14px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.thinking-bar-step-process[data-v-de0d91bb]{color:var(--tb-text-muted)}.thinking-bar-gather-process[data-v-de0d91bb]{display:flex;flex-direction:column;gap:8px}.thinking-bar-gather-headline[data-v-de0d91bb],.thinking-bar-gather-note[data-v-de0d91bb]{margin:0;color:var(--tb-text-secondary);font-size:14px;line-height:1.65}.thinking-bar-gather-note[data-v-de0d91bb]{color:var(--tb-text-muted)}.thinking-bar-source-list[data-v-de0d91bb]{margin:0;padding:0 0 0 1.35em;color:var(--tb-text);font-size:14px;line-height:1.55}.thinking-bar-source-list li+li[data-v-de0d91bb]{margin-top:6px}.thinking-bar-step-markdown[data-v-de0d91bb]{white-space:normal}.thinking-bar-md-preview[data-v-de0d91bb]{--md-theme-bg-color: transparent;--md-color: var(--tb-text-secondary);--md-bk-color: transparent;--md-border-color: var(--tb-border);--md-code-bg-color: rgba(241, 245, 249, .98);--md-code-color: #0f766e;--md-table-even-color: rgba(248, 250, 252, .98);--md-table-odd-color: rgba(255, 255, 255, .98);--md-table-header-bg-color: rgba(241, 245, 249, .98)}.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview-wrapper{padding:0}.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview,.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview p,.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview li,.thinking-bar-step-answer[data-v-de0d91bb] .md-editor-preview p,.thinking-bar-step-answer[data-v-de0d91bb] .md-editor-preview li{color:var(--tb-text-secondary);font-size:14px;line-height:1.65}.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview h1,.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview h2,.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview h3,.thinking-bar-step-answer[data-v-de0d91bb] .md-editor-preview h1,.thinking-bar-step-answer[data-v-de0d91bb] .md-editor-preview h2,.thinking-bar-step-answer[data-v-de0d91bb] .md-editor-preview h3{margin:8px 0 4px;color:var(--tb-text);font-size:14px;font-weight:600}.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview strong{color:var(--tb-text)}.thinking-bar-tool-step-flow[data-v-de0d91bb]{--thinking-detail-gap: 10px;display:flex;flex-direction:column;gap:var(--thinking-detail-gap)}.thinking-bar-step-answer-section[data-v-de0d91bb]{display:flex;flex-direction:column;gap:8px}.thinking-bar-step-section-label[data-v-de0d91bb]{color:var(--tb-text);font-size:13px;font-weight:600}.thinking-bar-execution-details[data-v-de0d91bb],.thinking-bar-tool-call[data-v-de0d91bb]{border:1px solid var(--tb-border);border-radius:var(--tb-radius-md);background:var(--tb-surface);overflow:hidden}.thinking-bar-tool-call--nested[data-v-de0d91bb]{border-style:dashed;background:#ffffffb8}.thinking-bar-execution-details-summary[data-v-de0d91bb],.thinking-bar-tool-call-head[data-v-de0d91bb]{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;background:var(--tb-surface-soft)}.thinking-bar-execution-details-summary[data-v-de0d91bb]::-webkit-details-marker,.thinking-bar-tool-call-head[data-v-de0d91bb]::-webkit-details-marker{display:none}.thinking-bar-tool-call-head-main[data-v-de0d91bb]{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.thinking-bar-tool-call-head-side[data-v-de0d91bb]{display:flex;align-items:center;gap:8px;flex-shrink:0}.thinking-bar-execution-details-title[data-v-de0d91bb],.thinking-bar-tool-call-name[data-v-de0d91bb],.thinking-bar-workspace-title[data-v-de0d91bb],.thinking-bar-nested-tools-label[data-v-de0d91bb]{color:var(--tb-text);font-size:13px;font-weight:600}.thinking-bar-execution-details-meta[data-v-de0d91bb]{margin-left:auto;padding:2px 8px;border-radius:999px;border:1px solid var(--tb-border);background:var(--tb-surface-inset);color:var(--tb-text-muted);font-size:11px;font-weight:600}.thinking-bar-execution-details-caret[data-v-de0d91bb],.thinking-bar-tool-call-caret[data-v-de0d91bb]{color:var(--tb-text-faint);font-size:12px;transition:transform .18s ease}.thinking-bar-execution-details[open] .thinking-bar-execution-details-caret[data-v-de0d91bb],.thinking-bar-tool-call[open] .thinking-bar-tool-call-caret[data-v-de0d91bb]{transform:rotate(180deg)}.thinking-bar-execution-details-body[data-v-de0d91bb],.thinking-bar-tool-call-body[data-v-de0d91bb]{display:grid;gap:var(--thinking-detail-gap, 10px);padding:12px;border-top:1px solid var(--tb-border);max-height:min(40vh,380px);overflow-y:auto}.thinking-bar-execution-planning[data-v-de0d91bb],.thinking-bar-tool-call-block[data-v-de0d91bb]{margin:0;padding:10px 12px;border-radius:var(--tb-radius-sm);border:1px solid var(--tb-border);background:#fffffff5;color:var(--tb-text-secondary);font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.thinking-bar-tool-call-block[data-v-de0d91bb]{display:flex;flex-direction:column;gap:8px;max-height:min(28vh,280px);overflow:auto}.thinking-bar-tool-call-block-title[data-v-de0d91bb]{margin:0;color:#0d9488;font-size:11px;font-weight:700;letter-spacing:.03em}.thinking-bar-tool-call-block--error[data-v-de0d91bb]{border-color:#ef444447}.thinking-bar-tool-call-block--error .thinking-bar-tool-call-block-title[data-v-de0d91bb]{color:#dc2626}.thinking-bar-tool-call-pre[data-v-de0d91bb],.thinking-bar-tool-trace-item[data-v-de0d91bb],.thinking-bar-tool-call-id[data-v-de0d91bb]{margin:0;color:var(--tb-text-secondary);font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.thinking-bar-tool-call-id[data-v-de0d91bb]{font-size:11px;color:var(--tb-text-faint)}.thinking-bar-tool-call-status[data-v-de0d91bb]{padding:3px 9px;border-radius:999px;border:1px solid var(--tb-border);background:var(--tb-surface-inset);color:var(--tb-text-muted);font-size:11px;font-weight:600}.thinking-bar-tool-call-status.is-running[data-v-de0d91bb]{background:#f59e0b1f;border-color:#f59e0b47;color:#b45309}.thinking-bar-tool-call-status.is-done[data-v-de0d91bb]{background:#10b9811f;border-color:#10b98147;color:#047857}.thinking-bar-tool-call-status.is-error[data-v-de0d91bb]{background:#ef44441a;border-color:#ef444447;color:#b91c1c}.thinking-bar-tool-result-table-wrap[data-v-de0d91bb]{overflow:auto;border-radius:var(--tb-radius-sm);border:1px solid var(--tb-border)}.thinking-bar-tool-result-table[data-v-de0d91bb]{width:100%;border-collapse:collapse;font-size:12px}.thinking-bar-tool-result-table th[data-v-de0d91bb],.thinking-bar-tool-result-table td[data-v-de0d91bb]{padding:8px 10px;text-align:left;border-bottom:1px solid var(--tb-border);white-space:pre-wrap;word-break:break-word}.thinking-bar-tool-result-table th[data-v-de0d91bb]{background:#f1f5f9fa;color:var(--tb-text);font-weight:600}.thinking-bar-tool-result-table td[data-v-de0d91bb]{color:var(--tb-text-secondary);background:#fff}.thinking-bar-tool-result-image-shell[data-v-de0d91bb]{padding:8px;border-radius:var(--tb-radius-sm);background:#f8fafcfa}.thinking-bar-attachments[data-v-de0d91bb]{display:flex;flex-direction:column;gap:10px}.thinking-bar-attachment[data-v-de0d91bb]{padding:10px;border-radius:var(--tb-radius-md);border:1px solid rgba(14,165,233,.22);background:var(--tb-surface);text-decoration:none;color:inherit}.thinking-bar-attachment-name[data-v-de0d91bb]{color:var(--tb-text);font-size:13px;font-weight:600}.thinking-bar-attachment-type[data-v-de0d91bb]{color:#0284c7;font-size:12px}.thinking-bar-workspace-shell[data-v-de0d91bb]{display:grid;grid-template-columns:minmax(210px,240px) minmax(0,1fr);gap:10px}.thinking-bar-file-tree-pane[data-v-de0d91bb],.thinking-bar-file-preview[data-v-de0d91bb]{border:1px solid var(--tb-border);border-radius:var(--tb-radius-md);background:var(--tb-surface);overflow:hidden}.thinking-bar-file-tree-head[data-v-de0d91bb],.thinking-bar-file-preview-head[data-v-de0d91bb]{padding:10px 12px;border-bottom:1px solid var(--tb-border);color:var(--tb-text-secondary);font-size:12px;font-weight:600}.thinking-bar-file-tree-body[data-v-de0d91bb]{max-height:min(200px,100%);overflow:auto;padding:6px 0}.thinking-bar-tree-row[data-v-de0d91bb]{width:100%;min-height:34px;display:flex;align-items:center;gap:6px;padding:0 10px;border:0;background:transparent;color:var(--tb-text-secondary);text-align:left;cursor:pointer}.thinking-bar-tree-row[data-v-de0d91bb]:hover{background:#f1f5f9f2}.thinking-bar-tree-row--file.active[data-v-de0d91bb]{background:#ccfbf1a6;color:#0f766e}.thinking-bar-file-preview-body[data-v-de0d91bb]{margin:0;padding:12px;color:var(--tb-text-secondary);font-size:12px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.thinking-bar-preview-chip[data-v-de0d91bb]{padding:2px 8px;border-radius:999px;background:#0ea5e91a;color:#0284c7;font-size:11px;font-weight:600}.thinking-bar-empty-preview[data-v-de0d91bb]{padding:16px;color:var(--tb-text-muted);font-size:13px}.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview table{display:block;overflow:auto;border-radius:var(--tb-radius-sm)}.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview thead th{position:static}.thinking-bar-step-answer[data-v-de0d91bb]{margin:0}.thinking-bar-chat-items[data-v-de0d91bb]{display:flex;flex-direction:column;gap:8px}.thinking-bar-chat-item[data-v-de0d91bb]{min-width:0}.thinking-bar-tool-trace-list[data-v-de0d91bb]{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}.thinking-bar-tool-trace-item[data-v-de0d91bb]{color:var(--tb-text-secondary);line-height:1.5}.thinking-bar-tool-result-image[data-v-de0d91bb]{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:var(--tb-radius-sm)}.thinking-bar-tool-result-html[data-v-de0d91bb]{width:100%;min-height:min(200px,22vh);border:none;border-radius:var(--tb-radius-sm);background:#fff}.thinking-bar-attachment[data-v-de0d91bb]{display:flex;flex-direction:column;gap:10px}.thinking-bar-attachment-image[data-v-de0d91bb]{width:100%;max-height:240px;object-fit:contain;border-radius:var(--tb-radius-sm);background:#f8fafcfa}.thinking-bar-attachment-meta[data-v-de0d91bb]{display:flex;align-items:center;justify-content:space-between;gap:12px}.thinking-bar-workspace[data-v-de0d91bb]{display:flex;flex-direction:column;gap:10px;margin-top:4px}.thinking-bar-tree-node[data-v-de0d91bb]{display:block}.thinking-bar-tree-row--directory[data-v-de0d91bb]{color:var(--tb-text)}.thinking-bar-tree-caret[data-v-de0d91bb],.thinking-bar-tree-icon[data-v-de0d91bb]{flex-shrink:0}.thinking-bar-tree-label[data-v-de0d91bb]{min-width:0;font-size:12px;line-height:1.5;word-break:break-word}.thinking-bar-file-preview[data-v-de0d91bb]{min-width:0;display:flex;flex-direction:column;min-height:0}.thinking-bar-file-preview-title[data-v-de0d91bb]{min-width:0;display:flex;align-items:center;gap:8px}.thinking-bar-image-shell[data-v-de0d91bb]{flex:1;display:flex;align-items:center;justify-content:center;padding:12px;background:#f8fafcfa}.thinking-bar-image-preview[data-v-de0d91bb]{max-width:100%;max-height:320px;object-fit:contain;border-radius:var(--tb-radius-sm)}.thinking-bar-html-preview[data-v-de0d91bb]{flex:1;min-height:min(200px,28vh);border:none;background:#fff}.thinking-bar--corner .thinking-bar-title[data-v-de0d91bb]{font-size:16px}.thinking-bar--corner .thinking-bar-step-label[data-v-de0d91bb]{font-size:14px}.thinking-bar--corner .thinking-bar-step-text[data-v-de0d91bb],.thinking-bar--corner .thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview{font-size:13px}.thinking-bar--corner .thinking-bar-tool-call-body[data-v-de0d91bb]{max-height:min(36vh,300px)}.thinking-bar--corner .thinking-bar-tool-call-block[data-v-de0d91bb]{max-height:min(24vh,200px)}.thinking-bar--corner .thinking-bar-header[data-v-de0d91bb]{padding:14px 16px 12px}.thinking-bar--corner .thinking-bar-steps[data-v-de0d91bb]{padding:12px 14px 14px}@media(max-width:768px){.thinking-bar--centered[data-v-de0d91bb]{width:calc(100vw - 24px);max-height:72vh}.thinking-bar--corner[data-v-de0d91bb]{right:12px;bottom:12px;width:min(360px,calc(100vw - 24px))}.thinking-bar-header[data-v-de0d91bb]{align-items:flex-start;flex-wrap:wrap}.thinking-bar-metrics[data-v-de0d91bb]{display:none}.thinking-bar-workspace-shell[data-v-de0d91bb]{grid-template-columns:1fr}.thinking-bar-memory-result[data-v-de0d91bb]{padding:14px}.thinking-bar-memory-result-footer[data-v-de0d91bb]{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.thinking-bar[data-v-de0d91bb],.thinking-bar-close[data-v-de0d91bb],.thinking-bar-execution-details-caret[data-v-de0d91bb],.thinking-bar-tool-call-caret[data-v-de0d91bb]{transition:none}}.live2d-panel-shell[data-v-8602f159]{position:fixed;right:220px;bottom:16px;z-index:5000;width:min(420px,42vw);height:min(560px,52vh);pointer-events:none}.live2d-panel[data-v-8602f159]{position:absolute;inset:0;pointer-events:auto;touch-action:none;background:transparent}.live2d-speech-bubble[data-v-8602f159]{position:absolute;right:calc(100% - 36px);bottom:44%;width:min(360px,40vw);max-height:32vh;overflow:hidden auto;border-radius:20px;border:1px solid rgba(148,163,184,.35);background:linear-gradient(165deg,#fffffff5,#f0fdfaf0);box-shadow:0 18px 36px #0f172a1a,inset 0 1px #ffffffe6;color:#0f172a;padding:10px 12px;pointer-events:auto}.live2d-speech-bubble.is-speaking[data-v-8602f159]{border-color:#14b8a673;box-shadow:0 20px 40px #14b8a624,0 0 0 1px #0ea5e92e,inset 0 1px #ffffffe6}.live2d-speech-head[data-v-8602f159]{display:inline-flex;align-items:center;gap:8px;color:#0d9488;font-size:12px;line-height:1}.live2d-speech-dot[data-v-8602f159]{width:8px;height:8px;border-radius:999px;background:currentcolor;box-shadow:0 0 12px currentcolor}.live2d-speech-bubble.is-speaking .live2d-speech-dot[data-v-8602f159]{animation:speech-pulse-8602f159 1.1s ease-in-out infinite}.live2d-speech-text[data-v-8602f159]{margin:8px 0 0;white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.55;color:#334155}.speech-bubble-enter-active[data-v-8602f159],.speech-bubble-leave-active[data-v-8602f159]{transition:all .28s ease}.speech-bubble-enter-from[data-v-8602f159],.speech-bubble-leave-to[data-v-8602f159]{opacity:0;transform:translate(10px) scale(.98)}@keyframes speech-pulse-8602f159{0%{opacity:.65;transform:scale(.95)}50%{opacity:1;transform:scale(1.12)}to{opacity:.65;transform:scale(.95)}}
1
+ .inspira-card-spotlight[data-v-451e3591]{position:relative;display:flex;width:100%;min-width:0;height:100%;overflow:hidden;border-radius:12px}.inspira-card-spotlight__content[data-v-451e3591]{position:relative;z-index:10;width:100%;min-width:0;height:100%}.inspira-card-spotlight__gradient[data-v-451e3591]{pointer-events:none;position:absolute;inset:0;border-radius:inherit;opacity:0;transition:opacity .3s ease}.inspira-card-spotlight:hover .inspira-card-spotlight__gradient[data-v-451e3591]{opacity:1}.border-beam-official[data-v-3cee2783]{--size: var(--v602b8bb2);--duration: var(--e7874400);--anchor: var(--v5fc92b5b);--border-width: var(--c1a8d7d8);--color-from: var(--v2bd85f47);--color-to: var(--v055f9958);--delay: var(--v770d7dfd);position:absolute;inset:0;pointer-events:none;border-radius:inherit;border:calc(var(--border-width) * 1px) solid transparent;mask-image:linear-gradient(transparent,transparent),linear-gradient(#fff,#fff);mask-clip:padding-box,border-box;mask-composite:intersect;-webkit-mask-image:linear-gradient(transparent,transparent),linear-gradient(white,white);-webkit-mask-clip:padding-box,border-box;-webkit-mask-composite:source-in}.border-beam-official[data-v-3cee2783]:after{content:"";position:absolute;top:0;left:0;width:calc(var(--size) * 1px);aspect-ratio:1 / 1;background:linear-gradient(to left,var(--color-from),var(--color-to),transparent);offset-anchor:calc(var(--anchor) * 1%) 50%;offset-path:rect(0 auto auto 0 round calc(var(--size) * 1px));animation:border-beam-official-anim-3cee2783 var(--duration) infinite linear;animation-delay:var(--delay)}@keyframes border-beam-official-anim-3cee2783{to{offset-distance:100%}}@media(prefers-reduced-motion:reduce){.border-beam-official[data-v-3cee2783]:after{animation:none}}.spotlight-backdrop[data-v-b381bab1]{position:fixed;inset:0;background:radial-gradient(120% 80% at 50% 0%,#bae6fd47,#f0fdfa14 42%,#0f172a38);backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15);z-index:9999;display:flex;align-items:flex-start;justify-content:center;padding-top:12vh;transition:background .28s ease,backdrop-filter .28s ease}.spotlight-panel[data-v-b381bab1]{position:fixed;left:50%;top:12vh;transform:translate(-50%);width:min(680px,calc(100% - 40px));max-height:82vh;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,system-ui,sans-serif;background:linear-gradient(165deg,#ffffffeb,#f8fafce0 52%,#f0fdfadb);border-radius:22px;border:1px solid rgba(148,163,184,.28);box-shadow:0 24px 64px #0f172a1f,0 8px 24px #0f172a0f,inset 0 1px #ffffffd9;padding:16px 16px 14px;color:#0f172a;display:flex;flex-direction:column;gap:12px;backdrop-filter:blur(40px) saturate(1.35);-webkit-backdrop-filter:blur(40px) saturate(1.35)}.spotlight-panel.is-memory-on[data-v-b381bab1]{border-color:#2dd4bf6b;box-shadow:0 24px 64px #0f172a1f,0 0 0 1px #2dd4bf1f,0 12px 36px #2dd4bf1a}.spotlight-panel-beam[data-v-b381bab1]{z-index:2}.spotlight-permission-banner[data-v-b381bab1]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.24);background:#ffffffb8}.spotlight-permission-banner-body[data-v-b381bab1]{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:1.45;color:#475569}.spotlight-permission-banner-body strong[data-v-b381bab1]{color:#0f172a;font-weight:600}.spotlight-permission-banner-actions[data-v-b381bab1]{display:flex;gap:8px;flex-shrink:0}.spotlight-permission-btn[data-v-b381bab1]{border:0;border-radius:999px;min-height:32px;padding:0 14px;font-size:13px;font-weight:600;cursor:pointer;transition:opacity .18s ease,transform .18s ease}.spotlight-permission-btn[data-v-b381bab1]:active{transform:scale(.98);opacity:.88}.spotlight-permission-btn.is-approve[data-v-b381bab1]{background:linear-gradient(135deg,#14b8a6,#0ea5e9);color:#fff}.spotlight-permission-btn.is-dismiss[data-v-b381bab1]{background:#94a3b82e;color:#334155}.spotlight-input-shell[data-v-b381bab1],.spotlight-list-shell[data-v-b381bab1]{position:relative;width:100%;min-width:0;border-radius:14px;box-sizing:border-box}.spotlight-input-wrap[data-v-b381bab1]{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:48px;padding:10px 12px;border-radius:14px;border:1px solid rgba(148,163,184,.22);box-sizing:border-box;background:#ffffffc7;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}.spotlight-voice-shell[data-v-b381bab1]{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:48px;padding:12px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.22);background:#ffffffc7;box-sizing:border-box}.spotlight-voice-text[data-v-b381bab1]{font-size:15px;line-height:1.4;color:#334155}.spotlight-voice-mic[data-v-b381bab1]{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid rgba(148,163,184,.28);background:#f8fafce6;color:#ef4444}.spotlight-voice-shell.is-transcribing .spotlight-voice-mic[data-v-b381bab1]{color:#0ea5e9}.spotlight-input-wrap.is-running[data-v-b381bab1]{border-color:#0ea5e973;box-shadow:0 0 0 3px #0ea5e91a}.spotlight-input-wrap.is-done[data-v-b381bab1]{border-color:#10b9816b}.spotlight-input-wrap.is-error[data-v-b381bab1]{border-color:#ef444473}.spotlight-input[data-v-b381bab1]{flex:1;min-width:0;border:0;outline:none;background:transparent;color:#0f172a;font-size:17px;font-weight:400;letter-spacing:-.01em}.spotlight-input[data-v-b381bab1]::placeholder{color:#94a3b8}.spotlight-agent-badge[data-v-b381bab1]{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:4px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.22);background:#f8fafceb;color:#64748b;font-size:12px;font-weight:600}.spotlight-agent-badge-dot[data-v-b381bab1]{width:7px;height:7px;border-radius:50%;background:#94a3b8}.spotlight-agent-badge.is-running[data-v-b381bab1]{color:#0284c7}.spotlight-agent-badge.is-running .spotlight-agent-badge-dot[data-v-b381bab1]{background:#0ea5e9}.spotlight-agent-badge.is-done[data-v-b381bab1]{color:#059669}.spotlight-agent-badge.is-done .spotlight-agent-badge-dot[data-v-b381bab1]{background:#10b981}.spotlight-agent-badge.is-error[data-v-b381bab1]{color:#dc2626}.spotlight-agent-badge.is-error .spotlight-agent-badge-dot[data-v-b381bab1]{background:#ef4444}.spotlight-command-deck[data-v-b381bab1]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px;position:relative;z-index:3}.spotlight-command-deck-meta[data-v-b381bab1]{display:flex;align-items:center;gap:10px;min-width:0}.spotlight-command-deck-kicker[data-v-b381bab1]{color:#64748b;font-size:12px;font-weight:600;letter-spacing:.02em}.spotlight-command-deck-status[data-v-b381bab1]{color:#0f172a;font-size:13px;font-weight:600;letter-spacing:-.01em}.spotlight-memory-dot-btn[data-v-b381bab1]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;height:44px;margin:-8px -6px -8px 0;padding:0 10px;border:0;border-radius:999px;background:transparent;cursor:pointer;flex-shrink:0;-webkit-tap-highlight-color:transparent;transition:transform .18s ease}.spotlight-memory-label[data-v-b381bab1]{color:#64748b;font-size:12px;font-weight:600;line-height:1;white-space:nowrap}.spotlight-memory-dot-btn[data-v-b381bab1]:active{transform:scale(.94)}.spotlight-memory-dot-btn[data-v-b381bab1]:focus-visible{outline:none;box-shadow:0 0 0 3px #2dd4bf59}.spotlight-memory-dot[data-v-b381bab1]{position:relative;width:8px;height:8px;border-radius:50%;background:#cbd5e1;transition:background .28s ease,box-shadow .28s ease,transform .28s ease}.spotlight-memory-dot.is-on[data-v-b381bab1]{background:#14b8a6;box-shadow:0 0 #14b8a673;animation:spotlight-memory-dot-pulse-b381bab1 3.2s ease-in-out infinite}.spotlight-memory-dot.is-on[data-v-b381bab1]:after{content:"";position:absolute;inset:-5px;border-radius:inherit;border:1px solid rgba(45,212,191,.35);opacity:0;animation:spotlight-memory-dot-ring-b381bab1 3.2s ease-in-out infinite}@keyframes spotlight-memory-dot-pulse-b381bab1{0%,to{opacity:.72;box-shadow:0 0 #14b8a647;transform:scale(.96)}50%{opacity:1;box-shadow:0 0 0 6px #14b8a600;transform:scale(1)}}@keyframes spotlight-memory-dot-ring-b381bab1{0%,to{opacity:0;transform:scale(.85)}50%{opacity:.55;transform:scale(1.15)}}.spotlight-list[data-v-b381bab1]{margin:0;padding:6px;list-style:none;max-height:min(54vh,480px);overflow:auto;border-radius:14px;border:1px solid rgba(148,163,184,.2);background:#ffffff9e}.spotlight-item[data-v-b381bab1]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;border-radius:10px;cursor:pointer;transition:background .18s ease}.spotlight-item[data-v-b381bab1]:hover,.spotlight-item.is-selected[data-v-b381bab1]{background:#f1f5f9f2}.spotlight-item.is-selected[data-v-b381bab1]{background:#ccfbf1b8}.spotlight-item-label[data-v-b381bab1]{color:#0f172a;font-size:15px;font-weight:400;letter-spacing:-.01em}.spotlight-item-hint[data-v-b381bab1],.spotlight-list-divider[data-v-b381bab1]{color:#94a3b8;font-size:12px;font-weight:500}.spotlight-list-divider[data-v-b381bab1]{display:flex;align-items:center;gap:10px;padding:8px 12px 4px;pointer-events:none}.spotlight-list-divider[data-v-b381bab1]:after{content:"";flex:1;height:.5px;background:#94a3b847}.spotlight-voice-mic-icon[data-v-b381bab1]{position:relative;display:block;width:14px;height:18px}.spotlight-voice-mic-body[data-v-b381bab1]{position:absolute;inset:0 2px 6px;border:2px solid currentColor;border-radius:999px}.spotlight-voice-mic-stem[data-v-b381bab1]{position:absolute;left:50%;bottom:0;width:2px;height:5px;transform:translate(-50%);background:currentColor;border-radius:1px}.spotlight-voice-shell.is-recording[data-v-b381bab1]{border-color:#ef444459;box-shadow:0 0 0 3px #ef444414}.spotlight-voice-shell.is-transcribing[data-v-b381bab1]{border-color:#0ea5e959;box-shadow:0 0 0 3px #0ea5e914}.spotlight-voice-beam[data-v-b381bab1]{display:block}.spotlight-item--empty[data-v-b381bab1]{cursor:default;opacity:.72}@media(max-width:768px){.spotlight-panel[data-v-b381bab1]{width:calc(100% - 24px);top:8vh;padding:14px}.spotlight-command-deck[data-v-b381bab1]{flex-wrap:wrap}.spotlight-input[data-v-b381bab1]{font-size:16px}.spotlight-agent-badge[data-v-b381bab1]{align-self:flex-start}}@media(prefers-reduced-motion:reduce){.spotlight-backdrop[data-v-b381bab1],.spotlight-panel[data-v-b381bab1],.spotlight-input-wrap[data-v-b381bab1],.spotlight-memory-dot[data-v-b381bab1],.spotlight-memory-dot.is-on[data-v-b381bab1]:after,.spotlight-item[data-v-b381bab1],.spotlight-permission-btn[data-v-b381bab1],.spotlight-memory-dot-btn[data-v-b381bab1]{transition:none;animation:none}}.thinking-bar[data-v-de0d91bb]{--tb-text: #0f172a;--tb-text-secondary: #475569;--tb-text-muted: #64748b;--tb-text-faint: #94a3b8;--tb-border: rgba(148, 163, 184, .28);--tb-surface: rgba(255, 255, 255, .94);--tb-surface-soft: rgba(248, 250, 252, .92);--tb-surface-inset: rgba(255, 255, 255, .88);--tb-accent: #14b8a6;--tb-info: #0ea5e9;--tb-success: #10b981;--tb-error: #ef4444;--tb-radius-xl: 22px;--tb-radius-lg: 16px;--tb-radius-md: 14px;--tb-radius-sm: 12px;--tb-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;position:fixed;width:min(720px,calc(100vw - 48px));max-height:min(78vh,820px);display:flex;flex-direction:column;min-height:0;font-family:var(--tb-font);background:linear-gradient(165deg,#fffffff5,#f8fafcf0 55%,#f0fdfaeb);border-radius:var(--tb-radius-xl);border:1px solid var(--tb-border);box-shadow:0 24px 64px #0f172a1a,0 8px 24px #0f172a0d,inset 0 1px #ffffffe6;color:var(--tb-text);z-index:10000;overflow:hidden;opacity:0;backdrop-filter:blur(40px) saturate(1.35);-webkit-backdrop-filter:blur(40px) saturate(1.35);transition:opacity .28s ease,transform .28s ease}.thinking-bar--open[data-v-de0d91bb]{opacity:1}.thinking-bar--embedded[data-v-de0d91bb]{position:relative;right:auto;bottom:auto;width:100%;max-height:100%}.thinking-bar--centered[data-v-de0d91bb]{left:50%;top:50%;width:min(980px,calc(100vw - 56px));transform:translate(-50%,-50%) scale(.98);transform-origin:center}.thinking-bar--centered.thinking-bar--open[data-v-de0d91bb]{transform:translate(-50%,-50%) scale(1)}.thinking-bar--corner[data-v-de0d91bb]{right:24px;bottom:24px;width:min(520px,calc(100vw - 28px));max-height:min(76vh,calc(100vh - 36px));border-radius:20px;transform:scale(.98);transform-origin:right bottom}.thinking-bar--corner.thinking-bar--open[data-v-de0d91bb]{transform:scale(1)}.thinking-bar-grid[data-v-de0d91bb]{display:none}.thinking-bar-header[data-v-de0d91bb]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--tb-border);flex-shrink:0}.thinking-bar-title-stack[data-v-de0d91bb]{display:grid;gap:2px;min-width:0}.thinking-bar-kicker[data-v-de0d91bb]{color:var(--tb-text-muted);font-size:12px;font-weight:600;letter-spacing:.02em}.thinking-bar-title[data-v-de0d91bb]{color:var(--tb-text);font-size:17px;font-weight:600;letter-spacing:-.02em;line-height:1.35;min-width:0}.thinking-bar-memory-badge[data-v-de0d91bb]{display:inline-flex;width:fit-content;margin-top:4px;padding:3px 8px;border-radius:999px;border:1px solid rgba(14,165,233,.28);background:#0ea5e91a;color:#0284c7;font-size:11px;font-weight:600}.thinking-bar-memory-refresh[data-v-de0d91bb]{display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;border:1px solid color-mix(in srgb,var(--spotlight-accent, #0f766e) 35%,transparent);border-radius:999px;padding:4px 9px;background:color-mix(in srgb,var(--spotlight-accent, #0f766e) 8%,transparent);color:inherit;font:inherit;font-size:12px;line-height:1.35;white-space:nowrap;cursor:pointer}.thinking-bar-memory-refresh[data-v-de0d91bb]:hover{background:color-mix(in srgb,var(--spotlight-accent, #0f766e) 16%,transparent)}.thinking-bar-memory-result[data-v-de0d91bb]{position:relative;display:flex;min-height:0;flex:1;flex-direction:column;gap:16px;padding:18px;overflow-x:hidden;overflow-y:auto;background:radial-gradient(circle at 8% 0%,rgba(20,184,166,.1),transparent 34%),#f8fafc8f}.thinking-bar-memory-result-intro[data-v-de0d91bb]{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid rgba(20,184,166,.24);border-radius:var(--tb-radius-lg);background:#f0fdfad1}.thinking-bar-memory-result-icon[data-v-de0d91bb]{display:inline-flex;width:30px;height:30px;flex:0 0 30px;align-items:center;justify-content:center;border-radius:999px;background:var(--tb-accent);color:#fff;font-size:15px;font-weight:700;box-shadow:0 6px 14px #14b8a633}.thinking-bar-memory-result-copy[data-v-de0d91bb]{display:grid;min-width:0;gap:3px}.thinking-bar-memory-result-eyebrow[data-v-de0d91bb]{color:#0f766e;font-size:11px;font-weight:700;letter-spacing:.04em}.thinking-bar-memory-result-copy strong[data-v-de0d91bb]{color:var(--tb-text);font-size:15px;line-height:1.45}.thinking-bar-memory-result-copy p[data-v-de0d91bb]{margin:0;color:var(--tb-text-muted);font-size:12px;line-height:1.55}.thinking-bar-memory-result-answer[data-v-de0d91bb]{min-width:0;padding:18px 20px;border:1px solid var(--tb-border);border-radius:var(--tb-radius-lg);background:#ffffffe6;box-shadow:0 8px 24px #0f172a0a}.thinking-bar-memory-result-answer-label[data-v-de0d91bb]{margin-bottom:10px;color:var(--tb-text-muted);font-size:11px;font-weight:700;letter-spacing:.06em}.thinking-bar-memory-result-footer[data-v-de0d91bb]{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--tb-text-muted);font-size:11px;line-height:1.5}.thinking-bar-memory-result-refresh[data-v-de0d91bb]{flex:0 0 auto;padding:7px 12px;color:#0f766e;font-size:12px;font-weight:600}.thinking-bar-metrics[data-v-de0d91bb]{display:flex;align-items:center;gap:8px;margin-left:auto}.thinking-bar-metric[data-v-de0d91bb]{display:grid;min-width:58px;padding:7px 9px;border:1px solid var(--tb-border);border-radius:var(--tb-radius-sm);background:var(--tb-surface-inset);text-align:center}.thinking-bar-metric strong[data-v-de0d91bb]{color:var(--tb-text);font-size:15px;line-height:1.1}.thinking-bar-metric em[data-v-de0d91bb]{color:var(--tb-text-muted);font-size:10px;font-style:normal;line-height:1.2}.thinking-bar-close[data-v-de0d91bb]{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--tb-border);border-radius:var(--tb-radius-sm);background:var(--tb-surface-inset);color:var(--tb-text-muted);font-size:20px;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease}.thinking-bar-close[data-v-de0d91bb]:hover{background:var(--tb-surface-soft);color:var(--tb-text)}.thinking-bar-steps[data-v-de0d91bb]{padding:14px 16px 16px;flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:10px;background:#f8fafc73}.thinking-bar-steps[data-v-de0d91bb],.thinking-bar-step-body[data-v-de0d91bb],.thinking-bar-tool-call-block[data-v-de0d91bb],.thinking-bar-tool-result-table-wrap[data-v-de0d91bb],.thinking-bar-file-tree-body[data-v-de0d91bb],.thinking-bar-file-preview-body[data-v-de0d91bb]{-ms-overflow-style:none;scrollbar-width:none}.thinking-bar-steps[data-v-de0d91bb]::-webkit-scrollbar,.thinking-bar-step-body[data-v-de0d91bb]::-webkit-scrollbar,.thinking-bar-tool-call-block[data-v-de0d91bb]::-webkit-scrollbar,.thinking-bar-tool-result-table-wrap[data-v-de0d91bb]::-webkit-scrollbar,.thinking-bar-file-tree-body[data-v-de0d91bb]::-webkit-scrollbar,.thinking-bar-file-preview-body[data-v-de0d91bb]::-webkit-scrollbar{display:none}.thinking-bar-step[data-v-de0d91bb]{position:relative;display:flex;flex-direction:column;flex:0 0 auto;min-width:0;padding:12px 14px;border-radius:var(--tb-radius-lg);border:1px solid var(--tb-border);background:var(--tb-surface-inset);box-shadow:0 1px 2px #0f172a0a;overflow:hidden}.thinking-bar-step.active[data-v-de0d91bb]{border-color:#14b8a661;box-shadow:0 0 0 1px #14b8a61f}.thinking-bar-step.done[data-v-de0d91bb]{border-color:#0ea5e947}.thinking-bar-step.error[data-v-de0d91bb]{border-color:#ef444452}.thinking-bar-step.pending[data-v-de0d91bb]{opacity:.72}.thinking-bar-step-inner[data-v-de0d91bb]{display:flex;align-items:flex-start;gap:12px;min-width:0}.thinking-bar-step-status[data-v-de0d91bb]{flex-shrink:0;width:10px;height:10px;margin-top:5px;border-radius:999px;background:var(--tb-text-faint)}.thinking-bar-step-status.is-active[data-v-de0d91bb]{background:var(--tb-accent);box-shadow:0 0 0 4px #14b8a62e}.thinking-bar-step-status.is-done[data-v-de0d91bb]{background:var(--tb-info)}.thinking-bar-step-status.is-error[data-v-de0d91bb]{background:var(--tb-error)}.thinking-bar-step-column[data-v-de0d91bb]{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.thinking-bar-step-label[data-v-de0d91bb]{color:var(--tb-text);font-size:15px;font-weight:600;line-height:1.45}.thinking-bar-step.pending .thinking-bar-step-label[data-v-de0d91bb]{color:var(--tb-text-muted)}.thinking-bar-step-body[data-v-de0d91bb]{max-height:min(42vh,400px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.thinking-bar-step-text[data-v-de0d91bb]{margin:0;color:var(--tb-text-secondary);font-size:14px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.thinking-bar-step-process[data-v-de0d91bb]{color:var(--tb-text-muted)}.thinking-bar-gather-process[data-v-de0d91bb]{display:flex;flex-direction:column;gap:8px}.thinking-bar-gather-headline[data-v-de0d91bb],.thinking-bar-gather-note[data-v-de0d91bb]{margin:0;color:var(--tb-text-secondary);font-size:14px;line-height:1.65}.thinking-bar-gather-note[data-v-de0d91bb]{color:var(--tb-text-muted)}.thinking-bar-source-list[data-v-de0d91bb]{margin:0;padding:0 0 0 1.35em;color:var(--tb-text);font-size:14px;line-height:1.55}.thinking-bar-source-list li+li[data-v-de0d91bb]{margin-top:6px}.thinking-bar-step-markdown[data-v-de0d91bb]{white-space:normal}.thinking-bar-md-preview[data-v-de0d91bb]{--md-theme-bg-color: transparent;--md-color: var(--tb-text-secondary);--md-bk-color: transparent;--md-border-color: var(--tb-border);--md-code-bg-color: rgba(241, 245, 249, .98);--md-code-color: #0f766e;--md-table-even-color: rgba(248, 250, 252, .98);--md-table-odd-color: rgba(255, 255, 255, .98);--md-table-header-bg-color: rgba(241, 245, 249, .98)}.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview-wrapper{padding:0}.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview,.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview p,.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview li,.thinking-bar-step-answer[data-v-de0d91bb] .md-editor-preview p,.thinking-bar-step-answer[data-v-de0d91bb] .md-editor-preview li{color:var(--tb-text-secondary);font-size:14px;line-height:1.65}.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview h1,.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview h2,.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview h3,.thinking-bar-step-answer[data-v-de0d91bb] .md-editor-preview h1,.thinking-bar-step-answer[data-v-de0d91bb] .md-editor-preview h2,.thinking-bar-step-answer[data-v-de0d91bb] .md-editor-preview h3{margin:8px 0 4px;color:var(--tb-text);font-size:14px;font-weight:600}.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview strong{color:var(--tb-text)}.thinking-bar-tool-step-flow[data-v-de0d91bb]{--thinking-detail-gap: 10px;display:flex;flex-direction:column;gap:var(--thinking-detail-gap)}.thinking-bar-step-answer-section[data-v-de0d91bb]{display:flex;flex-direction:column;gap:8px}.thinking-bar-step-section-label[data-v-de0d91bb]{color:var(--tb-text);font-size:13px;font-weight:600}.thinking-bar-execution-details[data-v-de0d91bb],.thinking-bar-tool-call[data-v-de0d91bb]{border:1px solid var(--tb-border);border-radius:var(--tb-radius-md);background:var(--tb-surface);overflow:hidden}.thinking-bar-tool-call--nested[data-v-de0d91bb]{border-style:dashed;background:#ffffffb8}.thinking-bar-execution-details-summary[data-v-de0d91bb],.thinking-bar-tool-call-head[data-v-de0d91bb]{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;background:var(--tb-surface-soft)}.thinking-bar-execution-details-summary[data-v-de0d91bb]::-webkit-details-marker,.thinking-bar-tool-call-head[data-v-de0d91bb]::-webkit-details-marker{display:none}.thinking-bar-tool-call-head-main[data-v-de0d91bb]{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.thinking-bar-tool-call-head-side[data-v-de0d91bb]{display:flex;align-items:center;gap:8px;flex-shrink:0}.thinking-bar-execution-details-title[data-v-de0d91bb],.thinking-bar-tool-call-name[data-v-de0d91bb],.thinking-bar-workspace-title[data-v-de0d91bb],.thinking-bar-nested-tools-label[data-v-de0d91bb]{color:var(--tb-text);font-size:13px;font-weight:600}.thinking-bar-execution-details-meta[data-v-de0d91bb]{margin-left:auto;padding:2px 8px;border-radius:999px;border:1px solid var(--tb-border);background:var(--tb-surface-inset);color:var(--tb-text-muted);font-size:11px;font-weight:600}.thinking-bar-execution-details-caret[data-v-de0d91bb],.thinking-bar-tool-call-caret[data-v-de0d91bb]{color:var(--tb-text-faint);font-size:12px;transition:transform .18s ease}.thinking-bar-execution-details[open] .thinking-bar-execution-details-caret[data-v-de0d91bb],.thinking-bar-tool-call[open] .thinking-bar-tool-call-caret[data-v-de0d91bb]{transform:rotate(180deg)}.thinking-bar-execution-details-body[data-v-de0d91bb],.thinking-bar-tool-call-body[data-v-de0d91bb]{display:grid;gap:var(--thinking-detail-gap, 10px);padding:12px;border-top:1px solid var(--tb-border);max-height:min(40vh,380px);overflow-y:auto}.thinking-bar-execution-planning[data-v-de0d91bb],.thinking-bar-tool-call-block[data-v-de0d91bb]{margin:0;padding:10px 12px;border-radius:var(--tb-radius-sm);border:1px solid var(--tb-border);background:#fffffff5;color:var(--tb-text-secondary);font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.thinking-bar-tool-call-block[data-v-de0d91bb]{display:flex;flex-direction:column;gap:8px;max-height:min(28vh,280px);overflow:auto}.thinking-bar-tool-call-block-title[data-v-de0d91bb]{margin:0;color:#0d9488;font-size:11px;font-weight:700;letter-spacing:.03em}.thinking-bar-tool-call-block--error[data-v-de0d91bb]{border-color:#ef444447}.thinking-bar-tool-call-block--error .thinking-bar-tool-call-block-title[data-v-de0d91bb]{color:#dc2626}.thinking-bar-tool-call-pre[data-v-de0d91bb],.thinking-bar-tool-trace-item[data-v-de0d91bb],.thinking-bar-tool-call-id[data-v-de0d91bb]{margin:0;color:var(--tb-text-secondary);font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.thinking-bar-tool-call-id[data-v-de0d91bb]{font-size:11px;color:var(--tb-text-faint)}.thinking-bar-tool-call-status[data-v-de0d91bb]{padding:3px 9px;border-radius:999px;border:1px solid var(--tb-border);background:var(--tb-surface-inset);color:var(--tb-text-muted);font-size:11px;font-weight:600}.thinking-bar-tool-call-status.is-running[data-v-de0d91bb]{background:#f59e0b1f;border-color:#f59e0b47;color:#b45309}.thinking-bar-tool-call-status.is-done[data-v-de0d91bb]{background:#10b9811f;border-color:#10b98147;color:#047857}.thinking-bar-tool-call-status.is-error[data-v-de0d91bb]{background:#ef44441a;border-color:#ef444447;color:#b91c1c}.thinking-bar-tool-result-table-wrap[data-v-de0d91bb]{overflow:auto;border-radius:var(--tb-radius-sm);border:1px solid var(--tb-border)}.thinking-bar-tool-result-table[data-v-de0d91bb]{width:100%;border-collapse:collapse;font-size:12px}.thinking-bar-tool-result-table th[data-v-de0d91bb],.thinking-bar-tool-result-table td[data-v-de0d91bb]{padding:8px 10px;text-align:left;border-bottom:1px solid var(--tb-border);white-space:pre-wrap;word-break:break-word}.thinking-bar-tool-result-table th[data-v-de0d91bb]{background:#f1f5f9fa;color:var(--tb-text);font-weight:600}.thinking-bar-tool-result-table td[data-v-de0d91bb]{color:var(--tb-text-secondary);background:#fff}.thinking-bar-tool-result-image-shell[data-v-de0d91bb]{padding:8px;border-radius:var(--tb-radius-sm);background:#f8fafcfa}.thinking-bar-attachments[data-v-de0d91bb]{display:flex;flex-direction:column;gap:10px}.thinking-bar-attachment[data-v-de0d91bb]{padding:10px;border-radius:var(--tb-radius-md);border:1px solid rgba(14,165,233,.22);background:var(--tb-surface);text-decoration:none;color:inherit}.thinking-bar-attachment-name[data-v-de0d91bb]{color:var(--tb-text);font-size:13px;font-weight:600}.thinking-bar-attachment-type[data-v-de0d91bb]{color:#0284c7;font-size:12px}.thinking-bar-workspace-shell[data-v-de0d91bb]{display:grid;grid-template-columns:minmax(210px,240px) minmax(0,1fr);gap:10px}.thinking-bar-file-tree-pane[data-v-de0d91bb],.thinking-bar-file-preview[data-v-de0d91bb]{border:1px solid var(--tb-border);border-radius:var(--tb-radius-md);background:var(--tb-surface);overflow:hidden}.thinking-bar-file-tree-head[data-v-de0d91bb],.thinking-bar-file-preview-head[data-v-de0d91bb]{padding:10px 12px;border-bottom:1px solid var(--tb-border);color:var(--tb-text-secondary);font-size:12px;font-weight:600}.thinking-bar-file-tree-body[data-v-de0d91bb]{max-height:min(200px,100%);overflow:auto;padding:6px 0}.thinking-bar-tree-row[data-v-de0d91bb]{width:100%;min-height:34px;display:flex;align-items:center;gap:6px;padding:0 10px;border:0;background:transparent;color:var(--tb-text-secondary);text-align:left;cursor:pointer}.thinking-bar-tree-row[data-v-de0d91bb]:hover{background:#f1f5f9f2}.thinking-bar-tree-row--file.active[data-v-de0d91bb]{background:#ccfbf1a6;color:#0f766e}.thinking-bar-file-preview-body[data-v-de0d91bb]{margin:0;padding:12px;color:var(--tb-text-secondary);font-size:12px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.thinking-bar-preview-chip[data-v-de0d91bb]{padding:2px 8px;border-radius:999px;background:#0ea5e91a;color:#0284c7;font-size:11px;font-weight:600}.thinking-bar-empty-preview[data-v-de0d91bb]{padding:16px;color:var(--tb-text-muted);font-size:13px}.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview table{display:block;overflow:auto;border-radius:var(--tb-radius-sm)}.thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview thead th{position:static}.thinking-bar-step-answer[data-v-de0d91bb]{margin:0}.thinking-bar-chat-items[data-v-de0d91bb]{display:flex;flex-direction:column;gap:8px}.thinking-bar-chat-item[data-v-de0d91bb]{min-width:0}.thinking-bar-tool-trace-list[data-v-de0d91bb]{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}.thinking-bar-tool-trace-item[data-v-de0d91bb]{color:var(--tb-text-secondary);line-height:1.5}.thinking-bar-tool-result-image[data-v-de0d91bb]{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:var(--tb-radius-sm)}.thinking-bar-tool-result-html[data-v-de0d91bb]{width:100%;min-height:min(200px,22vh);border:none;border-radius:var(--tb-radius-sm);background:#fff}.thinking-bar-attachment[data-v-de0d91bb]{display:flex;flex-direction:column;gap:10px}.thinking-bar-attachment-image[data-v-de0d91bb]{width:100%;max-height:240px;object-fit:contain;border-radius:var(--tb-radius-sm);background:#f8fafcfa}.thinking-bar-attachment-meta[data-v-de0d91bb]{display:flex;align-items:center;justify-content:space-between;gap:12px}.thinking-bar-workspace[data-v-de0d91bb]{display:flex;flex-direction:column;gap:10px;margin-top:4px}.thinking-bar-tree-node[data-v-de0d91bb]{display:block}.thinking-bar-tree-row--directory[data-v-de0d91bb]{color:var(--tb-text)}.thinking-bar-tree-caret[data-v-de0d91bb],.thinking-bar-tree-icon[data-v-de0d91bb]{flex-shrink:0}.thinking-bar-tree-label[data-v-de0d91bb]{min-width:0;font-size:12px;line-height:1.5;word-break:break-word}.thinking-bar-file-preview[data-v-de0d91bb]{min-width:0;display:flex;flex-direction:column;min-height:0}.thinking-bar-file-preview-title[data-v-de0d91bb]{min-width:0;display:flex;align-items:center;gap:8px}.thinking-bar-image-shell[data-v-de0d91bb]{flex:1;display:flex;align-items:center;justify-content:center;padding:12px;background:#f8fafcfa}.thinking-bar-image-preview[data-v-de0d91bb]{max-width:100%;max-height:320px;object-fit:contain;border-radius:var(--tb-radius-sm)}.thinking-bar-html-preview[data-v-de0d91bb]{flex:1;min-height:min(200px,28vh);border:none;background:#fff}.thinking-bar--corner .thinking-bar-title[data-v-de0d91bb]{font-size:16px}.thinking-bar--corner .thinking-bar-step-label[data-v-de0d91bb]{font-size:14px}.thinking-bar--corner .thinking-bar-step-text[data-v-de0d91bb],.thinking-bar--corner .thinking-bar-step-markdown[data-v-de0d91bb] .md-editor-preview{font-size:13px}.thinking-bar--corner .thinking-bar-tool-call-body[data-v-de0d91bb]{max-height:min(36vh,300px)}.thinking-bar--corner .thinking-bar-tool-call-block[data-v-de0d91bb]{max-height:min(24vh,200px)}.thinking-bar--corner .thinking-bar-header[data-v-de0d91bb]{padding:14px 16px 12px}.thinking-bar--corner .thinking-bar-steps[data-v-de0d91bb]{padding:12px 14px 14px}@media(max-width:768px){.thinking-bar--centered[data-v-de0d91bb]{width:calc(100vw - 24px);max-height:72vh}.thinking-bar--corner[data-v-de0d91bb]{right:12px;bottom:12px;width:min(360px,calc(100vw - 24px))}.thinking-bar-header[data-v-de0d91bb]{align-items:flex-start;flex-wrap:wrap}.thinking-bar-metrics[data-v-de0d91bb]{display:none}.thinking-bar-workspace-shell[data-v-de0d91bb]{grid-template-columns:1fr}.thinking-bar-memory-result[data-v-de0d91bb]{padding:14px}.thinking-bar-memory-result-footer[data-v-de0d91bb]{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.thinking-bar[data-v-de0d91bb],.thinking-bar-close[data-v-de0d91bb],.thinking-bar-execution-details-caret[data-v-de0d91bb],.thinking-bar-tool-call-caret[data-v-de0d91bb]{transition:none}}.live2d-panel-shell[data-v-98abe46a]{position:fixed;right:220px;bottom:16px;z-index:5000;width:min(420px,42vw);height:min(560px,52vh);pointer-events:none}.live2d-panel[data-v-98abe46a]{position:absolute;inset:0;pointer-events:auto;touch-action:none;background:transparent}.live2d-close[data-v-98abe46a]{position:absolute;top:12px;right:12px;z-index:4;width:32px;height:32px;border:1px solid rgba(148,163,184,.35);border-radius:999px;background:#ffffffdb;color:#64748b;font:22px/1 system-ui,sans-serif;cursor:pointer;pointer-events:auto;box-shadow:0 8px 22px #0f172a1a}.live2d-voice-controls[data-v-98abe46a]{position:absolute;left:50%;bottom:12px;z-index:5;display:flex;flex-direction:column;align-items:center;gap:6px;transform:translate(-50%);pointer-events:auto;-webkit-user-select:none;user-select:none}.live2d-voice-button[data-v-98abe46a]{position:relative;display:grid;place-items:center;width:54px;height:54px;border:1px solid rgba(13,148,136,.34);border-radius:999px;background:linear-gradient(145deg,#fff,#ecfeff);color:#0f766e;cursor:pointer;touch-action:none;box-shadow:0 12px 28px #0d948833,inset 0 1px #ffffffe6;transition:transform .16s ease,box-shadow .16s ease}.live2d-voice-button[data-v-98abe46a]:not(:disabled):hover{transform:translateY(-2px)}.live2d-voice-button.is-recording[data-v-98abe46a]{background:linear-gradient(145deg,#fff1f2,#ffe4e6);color:#e11d48;box-shadow:0 0 0 8px #f43f5e1f,0 14px 30px #e11d483d;animation:voice-pulse-98abe46a 1.1s ease-in-out infinite}.live2d-voice-button.is-transcribing[data-v-98abe46a]{cursor:wait;color:#0f766e}.live2d-voice-ring[data-v-98abe46a]{position:absolute;inset:-3px;border-radius:inherit;background:conic-gradient(from 0deg,#0ea5e914,#0ea5e9,#14b8a6,#0ea5e914 72%);opacity:0;pointer-events:none;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2px))}.live2d-voice-button.is-transcribing .live2d-voice-ring[data-v-98abe46a]{opacity:1;animation:voice-ring-spin-98abe46a 1.3s linear infinite}.live2d-voice-button[data-v-98abe46a]:disabled{cursor:not-allowed;opacity:.56}.live2d-mic-icon[data-v-98abe46a]{width:14px;height:22px;border:2px solid currentcolor;border-radius:8px}.live2d-mic-icon[data-v-98abe46a]:before{content:"";position:absolute;left:50%;top:25px;width:22px;height:12px;border:2px solid currentcolor;border-top:0;border-radius:0 0 12px 12px;transform:translate(-50%)}.live2d-mic-icon[data-v-98abe46a]:after{content:"";position:absolute;left:50%;top:37px;width:2px;height:7px;background:currentcolor;transform:translate(-50%)}.live2d-voice-label[data-v-98abe46a]{padding:4px 9px;border:1px solid rgba(148,163,184,.28);border-radius:999px;background:#ffffffe6;color:#475569;font-size:12px;line-height:1.2;box-shadow:0 6px 16px #0f172a14}.live2d-voice-error[data-v-98abe46a]{width:min(280px,64vw);padding:7px 10px;border:1px solid rgba(244,63,94,.32);border-radius:10px;background:#fff1f2f5;color:#be123c;font-size:12px;line-height:1.45;max-height:72px;overflow:auto;text-align:center;box-shadow:0 8px 18px #9f12391f}.live2d-speech-bubble[data-v-98abe46a]{position:absolute;right:calc(100% - 36px);bottom:44%;width:min(360px,40vw);max-height:32vh;overflow:hidden auto;border-radius:20px;border:1px solid rgba(148,163,184,.35);background:linear-gradient(165deg,#fffffff5,#f0fdfaf0);box-shadow:0 18px 36px #0f172a1a,inset 0 1px #ffffffe6;color:#0f172a;padding:10px 12px;pointer-events:auto}.live2d-speech-bubble.is-speaking[data-v-98abe46a]{border-color:#14b8a673;box-shadow:0 20px 40px #14b8a624,0 0 0 1px #0ea5e92e,inset 0 1px #ffffffe6}.live2d-speech-head[data-v-98abe46a]{display:inline-flex;align-items:center;gap:8px;color:#0d9488;font-size:12px;line-height:1}.live2d-speech-dot[data-v-98abe46a]{width:8px;height:8px;border-radius:999px;background:currentcolor;box-shadow:0 0 12px currentcolor}.live2d-speech-bubble.is-speaking .live2d-speech-dot[data-v-98abe46a]{animation:speech-pulse-98abe46a 1.1s ease-in-out infinite}.live2d-speech-text[data-v-98abe46a]{margin:8px 0 0;white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.55;color:#334155}.speech-bubble-enter-active[data-v-98abe46a],.speech-bubble-leave-active[data-v-98abe46a]{transition:all .28s ease}.speech-bubble-enter-from[data-v-98abe46a],.speech-bubble-leave-to[data-v-98abe46a]{opacity:0;transform:translate(10px) scale(.98)}@keyframes speech-pulse-98abe46a{0%{opacity:.65;transform:scale(.95)}50%{opacity:1;transform:scale(1.12)}to{opacity:.65;transform:scale(.95)}}@keyframes voice-pulse-98abe46a{50%{transform:scale(1.04)}}@keyframes voice-ring-spin-98abe46a{to{transform:rotate(360deg)}}@media(max-width:720px){.live2d-panel-shell[data-v-98abe46a]{right:0;bottom:8px;width:min(360px,96vw);height:min(500px,62vh)}.live2d-speech-bubble[data-v-98abe46a]{right:16px;bottom:70%;width:min(320px,88vw)}}.spotlight-avatar-reopen[data-v-f93bdb63]{position:fixed;right:24px;bottom:24px;z-index:2147483001;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 13px 8px 10px;border:1px solid rgba(14,165,233,.32);border-radius:999px;background:#fffffff0;color:#0f766e;font:600 13px/1 system-ui,sans-serif;cursor:pointer;box-shadow:0 12px 30px #0f766e33;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:transform .18s ease,box-shadow .18s ease}.spotlight-avatar-reopen[data-v-f93bdb63]:hover{transform:translateY(-2px);box-shadow:0 16px 36px #0f766e42}.spotlight-avatar-reopen__drop[data-v-f93bdb63]{position:relative;width:22px;height:22px;border-radius:55% 45% 60% 40%;background:linear-gradient(145deg,#38bdf8,#14b8a6);transform:rotate(45deg);box-shadow:inset 3px 3px 5px #ffffff6b}.spotlight-avatar-reopen__drop[data-v-f93bdb63]:after{content:"";position:absolute;top:4px;left:4px;width:5px;height:5px;border-radius:50%;background:#ffffffdb}.spotlight-avatar-reopen__label[data-v-f93bdb63]{letter-spacing:.04em}@media(max-width:720px){.spotlight-avatar-reopen[data-v-f93bdb63]{right:14px;bottom:14px}}
@@ -1,5 +1,7 @@
1
1
  import { type InjectionKey } from "vue";
2
2
  export type SpotlightAvatarConfig = {
3
+ /** Show the digital-human voice surface as soon as Spotlight mounts. */
4
+ initiallyVisible?: boolean;
3
5
  /** Base URL for Spine assets (defaults to `import.meta.env.BASE_URL`). */
4
6
  assetBaseUrl?: string;
5
7
  /** Skeleton JSON path relative to asset base (default: `little-drop/export/shuidi.json`). */
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/avatar/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,YAAY,EAAE,MAAM,KAAK,CAAC;AAEhD,MAAM,MAAM,qBAAqB,GAAG;IAClC,0EAA0E;IAC1E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6FAA6F;IAC7F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,YAAY,CAAC,qBAAqB,CACzC,CAAC;AAIpC,wBAAgB,sBAAsB,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,MAAM,CAQ7E;AAED,wBAAgB,wBAAwB,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,MAAM,CAI/E;AAED,wBAAgB,wBAAwB,IAAI,qBAAqB,CAEhE"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/avatar/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,YAAY,EAAE,MAAM,KAAK,CAAC;AAEhD,MAAM,MAAM,qBAAqB,GAAG;IAClC,wEAAwE;IACxE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,0EAA0E;IAC1E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6FAA6F;IAC7F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,YAAY,CAAC,qBAAqB,CACzC,CAAC;AAIpC,wBAAgB,sBAAsB,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,MAAM,CAQ7E;AAED,wBAAgB,wBAAwB,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,MAAM,CAI/E;AAED,wBAAgB,wBAAwB,IAAI,qBAAqB,CAEhE"}
@@ -1 +1 @@
1
- {"version":3,"file":"spotlightSpeech.d.ts","sourceRoot":"","sources":["../../../src/avatar/speech/spotlightSpeech.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,OAAO,CAAC;CACd,CAAC;AAYF,wBAAgB,wBAAwB,IAAI,OAAO,CAKlD;AAsBD,8DAA8D;AAC9D,qBAAa,sBAAsB;IACjC,OAAO,CAAC,aAAa,CAA8B;IAEnD,OAAO,CAAC,WAAW,CAA4B;IAE/C,OAAO,CAAC,WAAW,CAAkB;IAErC,OAAO,CAAC,OAAO,CAAS;IAExB,IAAI,WAAW,IAAI,OAAO,CAGzB;IAEK,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAoB/B,iBAAiB,CACrB,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,4BAA4B,CAAC;IAyDlC,UAAU,CACd,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IAS9C,MAAM,IAAI,IAAI;IAYd,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,KAAK;IAMb,OAAO,CAAC,cAAc;CAMvB"}
1
+ {"version":3,"file":"spotlightSpeech.d.ts","sourceRoot":"","sources":["../../../src/avatar/speech/spotlightSpeech.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,OAAO,CAAC;CACd,CAAC;AAYF,wBAAgB,wBAAwB,IAAI,OAAO,CAKlD;AA2BD,8DAA8D;AAC9D,qBAAa,sBAAsB;IACjC,OAAO,CAAC,aAAa,CAA8B;IAEnD,OAAO,CAAC,WAAW,CAA4B;IAE/C,OAAO,CAAC,WAAW,CAAkB;IAErC,OAAO,CAAC,OAAO,CAAS;IAExB,IAAI,WAAW,IAAI,OAAO,CAGzB;IAEK,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAoB/B,iBAAiB,CACrB,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,4BAA4B,CAAC;IAyDlC,UAAU,CACd,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IAS9C,MAAM,IAAI,IAAI;IAYd,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,KAAK;IAMb,OAAO,CAAC,cAAc;CAMvB"}
@@ -1,9 +1,9 @@
1
1
  import { spotlightTranscribeAudio as n, extractTranscriptionText as d, spotlightSynthesizeSpeech as c } from "../../remote/audio.js";
2
- function m() {
2
+ function f() {
3
3
  return !1;
4
4
  }
5
- async function h(o) {
6
- const e = await o.arrayBuffer(), i = new Uint8Array(e);
5
+ async function h(a) {
6
+ const e = await a.arrayBuffer(), i = new Uint8Array(e);
7
7
  let t = "";
8
8
  const s = 32768;
9
9
  for (let r = 0; r < i.length; r += s)
@@ -11,12 +11,16 @@ async function h(o) {
11
11
  return btoa(t);
12
12
  }
13
13
  function u() {
14
+ if (typeof window < "u" && window.isSecureContext === !1)
15
+ throw new Error(
16
+ "语音输入需要 HTTPS 或 localhost 安全环境,当前页面无法访问麦克风。"
17
+ );
14
18
  if (!navigator.mediaDevices?.getUserMedia)
15
19
  throw new Error("当前浏览器不支持麦克风采集。");
16
20
  if (typeof MediaRecorder > "u")
17
21
  throw new Error("当前浏览器不支持 MediaRecorder。");
18
22
  }
19
- class f {
23
+ class m {
20
24
  mediaRecorder = null;
21
25
  mediaStream = null;
22
26
  audioChunks = [];
@@ -36,8 +40,8 @@ class f {
36
40
  throw new Error("语音录制尚未开始。");
37
41
  if (!this.mediaRecorder)
38
42
  throw new Error("语音录制尚未开始。");
39
- const i = this.mediaRecorder, t = await new Promise((r, a) => {
40
- i.onerror = () => a(new Error("语音录制失败,请重试。")), i.onstop = () => {
43
+ const i = this.mediaRecorder, t = await new Promise((r, o) => {
44
+ i.onerror = () => o(new Error("语音录制失败,请重试。")), i.onstop = () => {
41
45
  r(
42
46
  new Blob(this.audioChunks, {
43
47
  type: i.mimeType || "audio/webm"
@@ -56,12 +60,12 @@ class f {
56
60
  filename: s
57
61
  },
58
62
  e
59
- ), a = d(r);
60
- if (!a) throw new Error("STT 返回为空,请重试。");
61
- return { text: a, raw: r };
63
+ ), o = d(r);
64
+ if (!o) throw new Error("STT 返回为空,请重试。");
65
+ return { text: o, raw: r };
62
66
  } catch (r) {
63
- const a = r instanceof Error ? r.message : String(r);
64
- throw new Error(`Spotlight STT failed: ${a}`);
67
+ const o = r instanceof Error ? r.message : String(r);
68
+ throw new Error(`Spotlight STT failed: ${o}`);
65
69
  } finally {
66
70
  this.reset();
67
71
  }
@@ -88,6 +92,6 @@ class f {
88
92
  }
89
93
  }
90
94
  export {
91
- f as SpotlightSpeechService,
92
- m as hasSpotlightSpeechConfig
95
+ m as SpotlightSpeechService,
96
+ f as hasSpotlightSpeechConfig
93
97
  };
@@ -1,4 +1,19 @@
1
- declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ type __VLS_Props = {
2
+ voiceDisabled?: boolean;
3
+ voiceError?: string;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ close: () => any;
7
+ voiceStart: () => any;
8
+ voiceStop: () => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onClose?: (() => any) | undefined;
11
+ onVoiceStart?: (() => any) | undefined;
12
+ onVoiceStop?: (() => any) | undefined;
13
+ }>, {
14
+ voiceDisabled: boolean;
15
+ voiceError: string;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
2
17
  declare const _default: typeof __VLS_export;
3
18
  export default _default;
4
19
  //# sourceMappingURL=Live2dPanel.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Live2dPanel.vue.d.ts","sourceRoot":"","sources":["../../src/components/Live2dPanel.vue"],"names":[],"mappings":"AAoVA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"Live2dPanel.vue.d.ts","sourceRoot":"","sources":["../../src/components/Live2dPanel.vue"],"names":[],"mappings":"AA4bA,KAAK,WAAW,GAAG;IAAE,aAAa,CAAC,EAAE,OAAO,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AA0PpE,QAAA,MAAM,YAAY;;;;;;;;;mBA1PmB,OAAO;gBAAe,MAAM;6EA8P/D,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Live2dPanel2.vue.js";
2
2
  /* empty css */
3
- import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8602f159"]]);
3
+ import a from "../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-98abe46a"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -1,60 +1,103 @@
1
- import { defineComponent as b, ref as _, computed as w, watch as T, onMounted as x, onUnmounted as C, openBlock as c, createElementBlock as m, createElementVNode as n, createVNode as S, Transition as k, withCtx as y, normalizeClass as L, unref as v, toDisplayString as f, createCommentVNode as A } from "vue";
2
- import { storeToRefs as V } from "pinia";
3
- import { startLive2dApp as I, stopLive2dApp as N } from "../avatar/spine/live2dApp.js";
4
- import { configureSpineAvatar as z } from "../avatar/spine/spineAvatar.js";
5
- import { useSpotlightAvatarConfig as B } from "../avatar/config.js";
6
- import { useLive2dSpeechStore as D } from "../store/live2dSpeechStore.js";
7
- const E = { class: "live2d-panel-shell" }, M = { class: "live2d-speech-head" }, P = { class: "live2d-speech-text" }, J = /* @__PURE__ */ b({
1
+ import { defineComponent as x, ref as V, computed as k, watch as E, onMounted as A, onUnmounted as B, openBlock as p, createElementBlock as m, createElementVNode as e, unref as o, normalizeClass as y, toDisplayString as c, createCommentVNode as L, createVNode as I, Transition as N, withCtx as z } from "vue";
2
+ import { storeToRefs as M } from "pinia";
3
+ import { startLive2dApp as P, stopLive2dApp as R } from "../avatar/spine/live2dApp.js";
4
+ import { configureSpineAvatar as U } from "../avatar/spine/spineAvatar.js";
5
+ import { useSpotlightAvatarConfig as $ } from "../avatar/config.js";
6
+ import { useLive2dSpeechStore as j } from "../store/live2dSpeechStore.js";
7
+ import { useLive2dVoiceChannelStore as q } from "../store/live2dVoiceChannelStore.js";
8
+ const F = { class: "live2d-panel-shell" }, G = { class: "live2d-voice-controls" }, H = ["disabled", "aria-label"], J = { class: "live2d-voice-label" }, K = {
9
+ key: 0,
10
+ class: "live2d-voice-error",
11
+ role: "alert"
12
+ }, O = { class: "live2d-speech-head" }, Q = { class: "live2d-speech-text" }, ne = /* @__PURE__ */ x({
8
13
  __name: "Live2dPanel",
9
- setup(R) {
10
- const o = D(), r = B(), { message: p, speaking: u, revealInstant: h } = V(o), t = _("");
11
- let l = null;
12
- const g = w(() => u.value || p.value.trim().length > 0);
13
- function a() {
14
- l != null && (window.clearInterval(l), l = null);
14
+ props: {
15
+ voiceDisabled: { type: Boolean, default: !1 },
16
+ voiceError: { default: "" }
17
+ },
18
+ emits: ["voiceStart", "voiceStop", "close"],
19
+ setup(r, { emit: w }) {
20
+ const b = r, d = w, f = j(), t = q(), g = $(), { message: h, speaking: C, revealInstant: D } = M(f), n = V("");
21
+ let s = null;
22
+ const T = k(() => C.value || h.value.trim().length > 0), S = k(() => t.recording ? "点击发送" : t.transcribing ? "正在识别…" : b.voiceDisabled ? "Spotlight 忙碌中" : "点击说话");
23
+ function _(a) {
24
+ b.voiceDisabled || t.transcribing || (a.preventDefault(), t.recording ? d("voiceStop") : d("voiceStart"));
15
25
  }
16
- return T(
17
- () => [p.value, h.value],
18
- ([d, e]) => {
19
- a();
20
- const i = d.trim();
21
- if (!i) {
22
- t.value = "";
26
+ function v() {
27
+ s != null && (window.clearInterval(s), s = null);
28
+ }
29
+ return E(
30
+ () => [h.value, D.value],
31
+ ([a, i]) => {
32
+ v();
33
+ const l = a.trim();
34
+ if (!l) {
35
+ n.value = "";
23
36
  return;
24
37
  }
25
- if (e) {
26
- t.value = i;
38
+ if (i) {
39
+ n.value = l;
27
40
  return;
28
41
  }
29
- t.value = "";
30
- let s = 0;
31
- l = window.setInterval(() => {
32
- s += 1, t.value = i.slice(0, s), s >= i.length && a();
42
+ n.value = "";
43
+ let u = 0;
44
+ s = window.setInterval(() => {
45
+ u += 1, n.value = l.slice(0, u), u >= l.length && v();
33
46
  }, 24);
34
47
  },
35
48
  { immediate: !0 }
36
- ), x(async () => {
37
- z(r), await I();
38
- }), C(() => {
39
- a(), o.reset(), N();
40
- }), (d, e) => (c(), m("div", E, [
41
- e[1] || (e[1] = n("div", {
49
+ ), A(async () => {
50
+ U(g), await P();
51
+ }), B(() => {
52
+ v(), f.reset(), R();
53
+ }), (a, i) => (p(), m("div", F, [
54
+ i[3] || (i[3] = e("div", {
42
55
  id: "live2d-container",
43
56
  class: "live2d-panel",
44
57
  "aria-label": "Live2D"
45
58
  }, null, -1)),
46
- S(k, { name: "speech-bubble" }, {
47
- default: y(() => [
48
- g.value ? (c(), m("div", {
59
+ e("button", {
60
+ type: "button",
61
+ class: "live2d-close",
62
+ "aria-label": "关闭数字人",
63
+ title: "关闭数字人(Ctrl/Command + L 可再次打开)",
64
+ onClick: i[0] || (i[0] = (l) => d("close"))
65
+ }, " × "),
66
+ e("div", G, [
67
+ e("button", {
68
+ type: "button",
69
+ class: y(["live2d-voice-button", {
70
+ "is-recording": o(t).recording,
71
+ "is-transcribing": o(t).transcribing
72
+ }]),
73
+ disabled: r.voiceDisabled || o(t).transcribing,
74
+ "aria-label": S.value,
75
+ onClick: _
76
+ }, [...i[1] || (i[1] = [
77
+ e("span", {
78
+ class: "live2d-voice-ring",
79
+ "aria-hidden": "true"
80
+ }, null, -1),
81
+ e("span", {
82
+ class: "live2d-mic-icon",
83
+ "aria-hidden": "true"
84
+ }, null, -1)
85
+ ])], 10, H),
86
+ e("span", J, c(S.value), 1),
87
+ r.voiceError ? (p(), m("span", K, c(r.voiceError), 1)) : L("", !0)
88
+ ]),
89
+ I(N, { name: "speech-bubble" }, {
90
+ default: z(() => [
91
+ T.value ? (p(), m("div", {
49
92
  key: 0,
50
- class: L(["live2d-speech-bubble", { "is-speaking": v(u) }])
93
+ class: y(["live2d-speech-bubble", { "is-speaking": o(C) }])
51
94
  }, [
52
- n("div", M, [
53
- e[0] || (e[0] = n("span", { class: "live2d-speech-dot" }, null, -1)),
54
- n("span", null, f(v(r).bubbleTitle ?? "数字人"), 1)
95
+ e("div", O, [
96
+ i[2] || (i[2] = e("span", { class: "live2d-speech-dot" }, null, -1)),
97
+ e("span", null, c(o(g).bubbleTitle ?? "数字人"), 1)
55
98
  ]),
56
- n("p", P, f(t.value), 1)
57
- ], 2)) : A("", !0)
99
+ e("p", Q, c(n.value), 1)
100
+ ], 2)) : L("", !0)
58
101
  ]),
59
102
  _: 1
60
103
  })
@@ -62,5 +105,5 @@ const E = { class: "live2d-panel-shell" }, M = { class: "live2d-speech-head" },
62
105
  }
63
106
  });
64
107
  export {
65
- J as default
108
+ ne as default
66
109
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SpotlightShell.vue.d.ts","sourceRoot":"","sources":["../../src/components/SpotlightShell.vue"],"names":[],"mappings":"AA+nBA,KAAK,WAAW,GAAG;IAAE,aAAa,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAmoB/C,QAAA,MAAM,YAAY;mBAnoBmB,OAAO;6EAsoB1C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"SpotlightShell.vue.d.ts","sourceRoot":"","sources":["../../src/components/SpotlightShell.vue"],"names":[],"mappings":"AAiqBA,KAAK,WAAW,GAAG;IAAE,aAAa,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AA4pB/C,QAAA,MAAM,YAAY;mBA5pBmB,OAAO;6EA+pB1C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,4 +1,7 @@
1
- import f from "./SpotlightShell2.vue.js";
1
+ import o from "./SpotlightShell2.vue.js";
2
+ /* empty css */
3
+ import t from "../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f93bdb63"]]);
2
5
  export {
3
- f as default
6
+ m as default
4
7
  };