@inupedia/spotlight-vue 0.9.12 → 0.9.14

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-ec5c37ab]{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:center;justify-content:center;padding:24px;transition:background .28s ease,backdrop-filter .28s ease}.spotlight-panel[data-v-ec5c37ab]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(680px,calc(100vw - 48px));max-height:min(82dvh,760px);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-ec5c37ab]{border-color:#2dd4bf6b;box-shadow:0 24px 64px #0f172a1f,0 0 0 1px #2dd4bf1f,0 12px 36px #2dd4bf1a}.spotlight-panel-beam[data-v-ec5c37ab]{z-index:2}.spotlight-permission-banner[data-v-ec5c37ab]{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-ec5c37ab]{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:1.45;color:#475569}.spotlight-permission-banner-body strong[data-v-ec5c37ab]{color:#0f172a;font-weight:600}.spotlight-permission-banner-actions[data-v-ec5c37ab]{display:flex;gap:8px;flex-shrink:0}.spotlight-permission-btn[data-v-ec5c37ab]{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-ec5c37ab]:active{transform:scale(.98);opacity:.88}.spotlight-permission-btn.is-approve[data-v-ec5c37ab]{background:linear-gradient(135deg,#14b8a6,#0ea5e9);color:#fff}.spotlight-permission-btn.is-dismiss[data-v-ec5c37ab]{background:#94a3b82e;color:#334155}.spotlight-input-shell[data-v-ec5c37ab],.spotlight-list-shell[data-v-ec5c37ab]{position:relative;width:100%;min-width:0;border-radius:14px;box-sizing:border-box}.spotlight-input-wrap[data-v-ec5c37ab]{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-ec5c37ab]{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-ec5c37ab]{font-size:15px;line-height:1.4;color:#334155}.spotlight-voice-mic[data-v-ec5c37ab]{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-ec5c37ab]{color:#0ea5e9}.spotlight-input-wrap.is-running[data-v-ec5c37ab]{border-color:#0ea5e973;box-shadow:0 0 0 3px #0ea5e91a}.spotlight-input-wrap.is-done[data-v-ec5c37ab]{border-color:#10b9816b}.spotlight-input-wrap.is-error[data-v-ec5c37ab]{border-color:#ef444473}.spotlight-input[data-v-ec5c37ab]{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-ec5c37ab]::placeholder{color:#94a3b8}.spotlight-agent-badge[data-v-ec5c37ab]{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-ec5c37ab]{width:7px;height:7px;border-radius:50%;background:#94a3b8}.spotlight-agent-badge.is-running[data-v-ec5c37ab]{color:#0284c7}.spotlight-agent-badge.is-running .spotlight-agent-badge-dot[data-v-ec5c37ab]{background:#0ea5e9}.spotlight-agent-badge.is-done[data-v-ec5c37ab]{color:#059669}.spotlight-agent-badge.is-done .spotlight-agent-badge-dot[data-v-ec5c37ab]{background:#10b981}.spotlight-agent-badge.is-error[data-v-ec5c37ab]{color:#dc2626}.spotlight-agent-badge.is-error .spotlight-agent-badge-dot[data-v-ec5c37ab]{background:#ef4444}.spotlight-command-deck[data-v-ec5c37ab]{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-ec5c37ab]{display:flex;align-items:center;gap:10px;min-width:0}.spotlight-command-deck-kicker[data-v-ec5c37ab]{color:#64748b;font-size:12px;font-weight:600;letter-spacing:.02em}.spotlight-command-deck-status[data-v-ec5c37ab]{color:#0f172a;font-size:13px;font-weight:600;letter-spacing:-.01em}.spotlight-command-deck-actions[data-v-ec5c37ab]{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;flex:0 0 auto;position:relative;z-index:3}.spotlight-model-settings[data-v-ec5c37ab]{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;padding:0;border:1px solid transparent;border-radius:11px;color:#64748b;background:transparent;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.spotlight-model-settings svg[data-v-ec5c37ab]{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.65}.spotlight-model-settings[data-v-ec5c37ab]:hover{border-color:#64748b2e;color:#1769c2;background:#ffffffb3}.spotlight-model-settings[data-v-ec5c37ab]:active{transform:scale(.95)}.spotlight-model-settings[data-v-ec5c37ab]:focus-visible,.spotlight-model-dialog button[data-v-ec5c37ab]:focus-visible,.spotlight-model-search[data-v-ec5c37ab]:focus-within{outline:3px solid rgba(37,99,235,.3);outline-offset:2px}.spotlight-model-dialog[data-v-ec5c37ab]{width:min(560px,calc(100vw - 32px));max-width:none;max-height:min(80dvh,760px);margin:auto;padding:0;overflow:hidden;border:1px solid rgba(148,163,184,.32);border-radius:24px;color:#1e293b;background:#f9fafcf5;box-shadow:0 30px 90px #0f172a3d,0 8px 28px #0f172a1a,inset 0 1px #ffffffeb;backdrop-filter:blur(28px) saturate(1.35);-webkit-backdrop-filter:blur(28px) saturate(1.35);font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,system-ui,sans-serif}.spotlight-model-dialog[data-v-ec5c37ab]::backdrop{background:#0f172a57;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.spotlight-model-dialog-content[data-v-ec5c37ab]{display:flex;flex-direction:column;max-height:min(80dvh,760px);min-height:0}.spotlight-model-dialog-header[data-v-ec5c37ab]{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 16px}.spotlight-model-dialog-heading[data-v-ec5c37ab]{min-width:0}.spotlight-model-dialog-eyebrow[data-v-ec5c37ab]{color:#64748b;font-size:10px;font-weight:700;letter-spacing:.12em}.spotlight-model-dialog-header h2[data-v-ec5c37ab]{margin:5px 0 4px;color:#172033;font-size:21px;font-weight:650;letter-spacing:-.035em;line-height:1.25}.spotlight-model-dialog-header p[data-v-ec5c37ab]{margin:0;color:#64748b;font-size:13px;line-height:1.5}.spotlight-model-dialog-close[data-v-ec5c37ab]{display:grid;flex:0 0 auto;place-items:center;width:38px;height:38px;border:1px solid rgba(148,163,184,.22);border-radius:12px;color:#475569;background:#ffffffc2;font-size:23px;line-height:1;cursor:pointer}.spotlight-model-search[data-v-ec5c37ab]{display:flex;align-items:center;gap:10px;min-height:44px;margin:0 20px 12px;padding:0 13px;border:1px solid rgba(148,163,184,.34);border-radius:13px;color:#64748b;background:#ffffffe0}.spotlight-model-search-icon[data-v-ec5c37ab]{font-size:20px;line-height:1}.spotlight-model-search input[data-v-ec5c37ab]{flex:1;min-width:0;height:40px;border:0;outline:0;color:#1e293b;background:transparent;font:inherit;font-size:14px}.spotlight-model-search input[data-v-ec5c37ab]::placeholder{color:#94a3b8}.spotlight-model-dialog-status[data-v-ec5c37ab]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;padding:0 22px;color:#64748b;font-size:12px}.spotlight-model-dialog-status>span[data-v-ec5c37ab]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spotlight-model-dialog-status .is-error[data-v-ec5c37ab]{color:#b42318}.spotlight-model-refresh[data-v-ec5c37ab]{flex:0 0 auto;min-height:30px;padding:4px 8px;border:0;border-radius:8px;color:#1769c2;background:transparent;font:inherit;font-weight:600;cursor:pointer}.spotlight-model-refresh[data-v-ec5c37ab]:hover:not(:disabled){background:#2563eb14}.spotlight-model-refresh[data-v-ec5c37ab]:disabled{color:#94a3b8;cursor:wait}.spotlight-model-results[data-v-ec5c37ab]{min-height:96px;overflow:auto;overscroll-behavior:contain;padding:2px 14px 12px;scrollbar-color:rgba(100,116,139,.42) transparent;scrollbar-width:thin}.spotlight-model-option[data-v-ec5c37ab]{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:58px;padding:9px 12px;border:0;border-bottom:1px solid rgba(148,163,184,.14);border-radius:10px;color:#1e293b;background:transparent;text-align:left;cursor:pointer}.spotlight-model-option[data-v-ec5c37ab]:hover{background:#f1f5f9e6}.spotlight-model-option.is-selected[data-v-ec5c37ab]{background:#deedffd1}.spotlight-model-option-copy[data-v-ec5c37ab]{display:flex;flex-direction:column;gap:4px;min-width:0}.spotlight-model-option-name[data-v-ec5c37ab]{overflow:hidden;color:#1e293b;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.spotlight-model-option-provider[data-v-ec5c37ab]{color:#64748b;font-size:11px}.spotlight-model-option-check[data-v-ec5c37ab]{display:grid;flex:0 0 auto;place-items:center;width:24px;height:24px;border-radius:50%;color:#fff;background:#1769c2;font-size:13px;font-weight:700}.spotlight-model-empty[data-v-ec5c37ab]{display:flex;flex-direction:column;align-items:center;gap:7px;padding:28px 16px;color:#64748b;font-size:12px;text-align:center}.spotlight-model-empty strong[data-v-ec5c37ab]{color:#334155;font-size:14px}.spotlight-model-dialog-footer[data-v-ec5c37ab]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-top:1px solid rgba(148,163,184,.2);color:#64748b;background:#ffffff7a;font-size:11px}.spotlight-model-done[data-v-ec5c37ab]{flex:0 0 auto;min-width:88px;min-height:38px;padding:0 16px;border:0;border-radius:11px;color:#fff;background:#1769c2;font:inherit;font-size:13px;font-weight:650;cursor:pointer;box-shadow:0 3px 8px #1769c233}.spotlight-model-done[data-v-ec5c37ab]:hover{background:#105ba9}.spotlight-sr-only[data-v-ec5c37ab]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:560px){.spotlight-command-deck-meta[data-v-ec5c37ab]{gap:6px}.spotlight-command-deck-kicker[data-v-ec5c37ab]{display:none}}@media(max-width:480px),(max-height:540px){.spotlight-model-dialog[data-v-ec5c37ab]{width:100vw;max-height:100dvh;border:0;border-radius:0}.spotlight-model-dialog-content[data-v-ec5c37ab]{max-height:100dvh}.spotlight-model-dialog-header[data-v-ec5c37ab]{padding:16px 18px 12px}.spotlight-model-search[data-v-ec5c37ab]{margin-right:16px;margin-left:16px}}@media(prefers-reduced-transparency:reduce){.spotlight-model-settings[data-v-ec5c37ab],.spotlight-model-dialog[data-v-ec5c37ab],.spotlight-model-search[data-v-ec5c37ab],.spotlight-model-dialog-footer[data-v-ec5c37ab]{background:#f8fafc;backdrop-filter:none;-webkit-backdrop-filter:none}.spotlight-model-dialog[data-v-ec5c37ab]::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}}@media(prefers-contrast:more){.spotlight-model-settings[data-v-ec5c37ab],.spotlight-model-dialog[data-v-ec5c37ab],.spotlight-model-search[data-v-ec5c37ab]{border-color:#64748b}}@media(prefers-reduced-motion:reduce){.spotlight-model-settings[data-v-ec5c37ab]{transition:none}}.spotlight-memory-dot-btn[data-v-ec5c37ab]{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-ec5c37ab]{color:#64748b;font-size:12px;font-weight:600;line-height:1;white-space:nowrap}.spotlight-memory-dot-btn[data-v-ec5c37ab]:active{transform:scale(.94)}.spotlight-memory-dot-btn[data-v-ec5c37ab]:focus-visible{outline:none;box-shadow:0 0 0 3px #2dd4bf59}.spotlight-memory-dot[data-v-ec5c37ab]{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-ec5c37ab]{background:#14b8a6;box-shadow:0 0 #14b8a673;animation:spotlight-memory-dot-pulse-ec5c37ab 3.2s ease-in-out infinite}.spotlight-memory-dot.is-on[data-v-ec5c37ab]:after{content:"";position:absolute;inset:-5px;border-radius:inherit;border:1px solid rgba(45,212,191,.35);opacity:0;animation:spotlight-memory-dot-ring-ec5c37ab 3.2s ease-in-out infinite}@keyframes spotlight-memory-dot-pulse-ec5c37ab{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-ec5c37ab{0%,to{opacity:0;transform:scale(.85)}50%{opacity:.55;transform:scale(1.15)}}.spotlight-list[data-v-ec5c37ab]{margin:0;padding:6px;list-style:none;max-height:min(48dvh,430px);overflow:auto;border-radius:14px;border:1px solid rgba(148,163,184,.2);background:#ffffff9e}.spotlight-item[data-v-ec5c37ab]{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-ec5c37ab]:hover,.spotlight-item.is-selected[data-v-ec5c37ab]{background:#f1f5f9f2}.spotlight-item.is-selected[data-v-ec5c37ab]{background:#ccfbf1b8}.spotlight-item-label[data-v-ec5c37ab]{color:#0f172a;font-size:15px;font-weight:400;letter-spacing:-.01em}.spotlight-item-hint[data-v-ec5c37ab],.spotlight-list-divider[data-v-ec5c37ab]{color:#94a3b8;font-size:12px;font-weight:500}.spotlight-list-divider[data-v-ec5c37ab]{display:flex;align-items:center;gap:10px;padding:8px 12px 4px;pointer-events:none}.spotlight-list-divider[data-v-ec5c37ab]:after{content:"";flex:1;height:.5px;background:#94a3b847}.spotlight-voice-mic-icon[data-v-ec5c37ab]{position:relative;display:block;width:14px;height:18px}.spotlight-voice-mic-body[data-v-ec5c37ab]{position:absolute;inset:0 2px 6px;border:2px solid currentColor;border-radius:999px}.spotlight-voice-mic-stem[data-v-ec5c37ab]{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-ec5c37ab]{border-color:#ef444459;box-shadow:0 0 0 3px #ef444414}.spotlight-voice-shell.is-transcribing[data-v-ec5c37ab]{border-color:#0ea5e959;box-shadow:0 0 0 3px #0ea5e914}.spotlight-voice-beam[data-v-ec5c37ab]{display:block}.spotlight-item--empty[data-v-ec5c37ab]{cursor:default;opacity:.72}@media(max-width:768px){.spotlight-panel[data-v-ec5c37ab]{width:calc(100vw - 24px);top:50%;max-height:min(88dvh,760px);padding:14px}.spotlight-command-deck[data-v-ec5c37ab]{flex-wrap:wrap}.spotlight-input[data-v-ec5c37ab]{font-size:16px}.spotlight-agent-badge[data-v-ec5c37ab]{align-self:flex-start}}@media(prefers-reduced-motion:reduce){.spotlight-backdrop[data-v-ec5c37ab],.spotlight-panel[data-v-ec5c37ab],.spotlight-input-wrap[data-v-ec5c37ab],.spotlight-memory-dot[data-v-ec5c37ab],.spotlight-memory-dot.is-on[data-v-ec5c37ab]:after,.spotlight-item[data-v-ec5c37ab],.spotlight-permission-btn[data-v-ec5c37ab],.spotlight-memory-dot-btn[data-v-ec5c37ab]{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-e09555a1]{position:fixed;right:220px;bottom:16px;z-index:5000;width:min(420px,42vw);height:min(560px,52vh);pointer-events:none}.live2d-panel[data-v-e09555a1]{position:absolute;inset:0;pointer-events:auto;touch-action:none;background:transparent}.live2d-close[data-v-e09555a1]{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-e09555a1]{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-e09555a1]{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-e09555a1]:not(:disabled):hover{transform:translateY(-2px)}.live2d-voice-button.is-recording[data-v-e09555a1]{background:linear-gradient(145deg,#fff1f2,#ffe4e6);color:#e11d48;box-shadow:0 0 0 8px #f43f5e1f,0 14px 30px #e11d483d;animation:voice-pulse-e09555a1 1.1s ease-in-out infinite}.live2d-voice-ring[data-v-e09555a1]{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-e09555a1]{opacity:1;animation:voice-ring-spin-e09555a1 1.3s linear infinite}.live2d-voice-button[data-v-e09555a1]:disabled{cursor:not-allowed;opacity:.56}.live2d-mic-icon[data-v-e09555a1]{width:14px;height:22px;border:2px solid currentcolor;border-radius:8px}.live2d-mic-icon[data-v-e09555a1]: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-e09555a1]:after{content:"";position:absolute;left:50%;top:37px;width:2px;height:7px;background:currentcolor;transform:translate(-50%)}.live2d-voice-label[data-v-e09555a1]{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-phone-button[data-v-e09555a1]{margin-top:2px;padding:6px 12px;border:1px solid rgba(20,184,166,.28);border-radius:999px;background:#ffffffe6;color:#0f766e;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer;box-shadow:0 6px 16px #0f172a14}.live2d-phone-button.is-connected[data-v-e09555a1]{border-color:#10b9816b;background:#ecfdf5f0;color:#047857}.live2d-phone-overlay[data-v-e09555a1],.live2d-notice-overlay[data-v-e09555a1]{--tb-text: #0f172a;--tb-text-muted: #64748b;--tb-border: rgba(148, 163, 184, .28);--tb-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;position:fixed;inset:0;z-index:6200;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#0f172a47;backdrop-filter:blur(10px) saturate(1.2);-webkit-backdrop-filter:blur(10px) saturate(1.2);pointer-events:auto;font-family:var(--tb-font)}.live2d-notice-overlay[data-v-e09555a1]{z-index:6300}.live2d-phone-panel[data-v-e09555a1],.live2d-notice[data-v-e09555a1]{position:relative;display:grid;gap:10px;width:min(380px,calc(100vw - 32px));max-height:min(88vh,720px);overflow:auto;padding:0 0 16px;border:1px solid var(--tb-border);border-radius:22px;background:linear-gradient(165deg,#fffffff5,#f8fafcf0 55%,#f0fdfaeb);box-shadow:0 24px 64px #0f172a29,0 8px 24px #0f172a14,inset 0 1px #ffffffe6;color:var(--tb-text)}.live2d-notice[data-v-e09555a1]{width:min(360px,calc(100vw - 32px));max-height:min(70vh,420px)}.live2d-phone-header[data-v-e09555a1]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 14px 0 16px}.live2d-phone-title-stack[data-v-e09555a1]{display:grid;gap:2px;min-width:0}.live2d-phone-kicker[data-v-e09555a1]{color:var(--tb-text-muted);font-size:12px;font-weight:600;letter-spacing:.02em}.live2d-phone-title[data-v-e09555a1]{margin:0;font-size:17px;font-weight:600;letter-spacing:-.02em;line-height:1.35}.live2d-phone-close[data-v-e09555a1]{flex-shrink:0;width:32px;height:32px;border:1px solid var(--tb-border);border-radius:12px;background:#ffffffe0;color:var(--tb-text-muted);font-size:20px;line-height:1;cursor:pointer}.live2d-phone-hint[data-v-e09555a1]{margin:0;padding:0 16px;color:#475569;font-size:12px;line-height:1.5}.live2d-phone-actions[data-v-e09555a1]{display:grid;grid-template-columns:1fr auto;gap:8px;padding:0 16px}.live2d-phone-primary[data-v-e09555a1],.live2d-phone-secondary[data-v-e09555a1]{min-height:36px;border:0;border-radius:999px;font-size:13px;font-weight:600;cursor:pointer}.live2d-phone-primary[data-v-e09555a1]{background:linear-gradient(135deg,#14b8a6,#0ea5e9);color:#fff}.live2d-phone-secondary[data-v-e09555a1]{padding:0 14px;border:1px solid var(--tb-border);background:#ffffffe0;color:#334155}.live2d-phone-primary[data-v-e09555a1]:disabled,.live2d-phone-secondary[data-v-e09555a1]:disabled{opacity:.55;cursor:not-allowed}.live2d-phone-qr[data-v-e09555a1]{display:grid;place-items:center;margin:0 16px;padding:10px;border:1px solid var(--tb-border);border-radius:16px;background:#ffffffe0}.live2d-phone-qr[data-v-e09555a1] svg{width:min(196px,58vw);height:auto;aspect-ratio:1}.live2d-phone-status[data-v-e09555a1]{margin:0;padding:0 16px;color:#0f766e;font-size:12px;font-weight:600;text-align:center}.live2d-notice-header[data-v-e09555a1]{padding:14px 16px 0}.live2d-notice-body[data-v-e09555a1]{margin:0;padding:0 16px;color:#334155;font-size:14px;line-height:1.55}.live2d-notice-ok[data-v-e09555a1]{min-height:40px;margin:4px 16px 0;border:0;border-radius:999px;background:linear-gradient(135deg,#14b8a6,#0ea5e9);color:#fff;font-size:14px;font-weight:600;cursor:pointer}@media(max-width:720px){.live2d-phone-actions[data-v-e09555a1]{grid-template-columns:1fr}}.live2d-speech-bubble[data-v-e09555a1]{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-e09555a1]{border-color:#14b8a673;box-shadow:0 20px 40px #14b8a624,0 0 0 1px #0ea5e92e,inset 0 1px #ffffffe6}.live2d-speech-head[data-v-e09555a1]{display:inline-flex;align-items:center;gap:8px;color:#0d9488;font-size:12px;line-height:1}.live2d-speech-dot[data-v-e09555a1]{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-e09555a1]{animation:speech-pulse-e09555a1 1.1s ease-in-out infinite}.live2d-speech-text[data-v-e09555a1]{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-e09555a1],.speech-bubble-leave-active[data-v-e09555a1]{transition:all .28s ease}.speech-bubble-enter-from[data-v-e09555a1],.speech-bubble-leave-to[data-v-e09555a1]{opacity:0;transform:translate(10px) scale(.98)}@keyframes speech-pulse-e09555a1{0%{opacity:.65;transform:scale(.95)}50%{opacity:1;transform:scale(1.12)}to{opacity:.65;transform:scale(.95)}}@keyframes voice-pulse-e09555a1{50%{transform:scale(1.04)}}@keyframes voice-ring-spin-e09555a1{to{transform:rotate(360deg)}}@media(max-width:720px){.live2d-panel-shell[data-v-e09555a1]{right:0;bottom:8px;width:min(360px,96vw);height:min(500px,62vh)}.live2d-speech-bubble[data-v-e09555a1]{right:16px;bottom:70%;width:min(320px,88vw)}}.spotlight-avatar-reopen[data-v-7cc0a657]{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-7cc0a657]:hover{transform:translateY(-2px);box-shadow:0 16px 36px #0f766e42}.spotlight-avatar-reopen__drop[data-v-7cc0a657]{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-7cc0a657]:after{content:"";position:absolute;top:4px;left:4px;width:5px;height:5px;border-radius:50%;background:#ffffffdb}.spotlight-avatar-reopen__label[data-v-7cc0a657]{letter-spacing:.04em}@media(max-width:720px){.spotlight-avatar-reopen[data-v-7cc0a657]{right:14px;bottom:14px}}
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-ec5c37ab]{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:center;justify-content:center;padding:24px;transition:background .28s ease,backdrop-filter .28s ease}.spotlight-panel[data-v-ec5c37ab]{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(680px,calc(100vw - 48px));max-height:min(82dvh,760px);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-ec5c37ab]{border-color:#2dd4bf6b;box-shadow:0 24px 64px #0f172a1f,0 0 0 1px #2dd4bf1f,0 12px 36px #2dd4bf1a}.spotlight-panel-beam[data-v-ec5c37ab]{z-index:2}.spotlight-permission-banner[data-v-ec5c37ab]{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-ec5c37ab]{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:1.45;color:#475569}.spotlight-permission-banner-body strong[data-v-ec5c37ab]{color:#0f172a;font-weight:600}.spotlight-permission-banner-actions[data-v-ec5c37ab]{display:flex;gap:8px;flex-shrink:0}.spotlight-permission-btn[data-v-ec5c37ab]{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-ec5c37ab]:active{transform:scale(.98);opacity:.88}.spotlight-permission-btn.is-approve[data-v-ec5c37ab]{background:linear-gradient(135deg,#14b8a6,#0ea5e9);color:#fff}.spotlight-permission-btn.is-dismiss[data-v-ec5c37ab]{background:#94a3b82e;color:#334155}.spotlight-input-shell[data-v-ec5c37ab],.spotlight-list-shell[data-v-ec5c37ab]{position:relative;width:100%;min-width:0;border-radius:14px;box-sizing:border-box}.spotlight-input-wrap[data-v-ec5c37ab]{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-ec5c37ab]{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-ec5c37ab]{font-size:15px;line-height:1.4;color:#334155}.spotlight-voice-mic[data-v-ec5c37ab]{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-ec5c37ab]{color:#0ea5e9}.spotlight-input-wrap.is-running[data-v-ec5c37ab]{border-color:#0ea5e973;box-shadow:0 0 0 3px #0ea5e91a}.spotlight-input-wrap.is-done[data-v-ec5c37ab]{border-color:#10b9816b}.spotlight-input-wrap.is-error[data-v-ec5c37ab]{border-color:#ef444473}.spotlight-input[data-v-ec5c37ab]{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-ec5c37ab]::placeholder{color:#94a3b8}.spotlight-agent-badge[data-v-ec5c37ab]{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-ec5c37ab]{width:7px;height:7px;border-radius:50%;background:#94a3b8}.spotlight-agent-badge.is-running[data-v-ec5c37ab]{color:#0284c7}.spotlight-agent-badge.is-running .spotlight-agent-badge-dot[data-v-ec5c37ab]{background:#0ea5e9}.spotlight-agent-badge.is-done[data-v-ec5c37ab]{color:#059669}.spotlight-agent-badge.is-done .spotlight-agent-badge-dot[data-v-ec5c37ab]{background:#10b981}.spotlight-agent-badge.is-error[data-v-ec5c37ab]{color:#dc2626}.spotlight-agent-badge.is-error .spotlight-agent-badge-dot[data-v-ec5c37ab]{background:#ef4444}.spotlight-command-deck[data-v-ec5c37ab]{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-ec5c37ab]{display:flex;align-items:center;gap:10px;min-width:0}.spotlight-command-deck-kicker[data-v-ec5c37ab]{color:#64748b;font-size:12px;font-weight:600;letter-spacing:.02em}.spotlight-command-deck-status[data-v-ec5c37ab]{color:#0f172a;font-size:13px;font-weight:600;letter-spacing:-.01em}.spotlight-command-deck-actions[data-v-ec5c37ab]{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;flex:0 0 auto;position:relative;z-index:3}.spotlight-model-settings[data-v-ec5c37ab]{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;padding:0;border:1px solid transparent;border-radius:11px;color:#64748b;background:transparent;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.spotlight-model-settings svg[data-v-ec5c37ab]{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.65}.spotlight-model-settings[data-v-ec5c37ab]:hover{border-color:#64748b2e;color:#1769c2;background:#ffffffb3}.spotlight-model-settings[data-v-ec5c37ab]:active{transform:scale(.95)}.spotlight-model-settings[data-v-ec5c37ab]:focus-visible,.spotlight-model-dialog button[data-v-ec5c37ab]:focus-visible,.spotlight-model-search[data-v-ec5c37ab]:focus-within{outline:3px solid rgba(37,99,235,.3);outline-offset:2px}.spotlight-model-dialog[data-v-ec5c37ab]{width:min(560px,calc(100vw - 32px));max-width:none;max-height:min(80dvh,760px);margin:auto;padding:0;overflow:hidden;border:1px solid rgba(148,163,184,.32);border-radius:24px;color:#1e293b;background:#f9fafcf5;box-shadow:0 30px 90px #0f172a3d,0 8px 28px #0f172a1a,inset 0 1px #ffffffeb;backdrop-filter:blur(28px) saturate(1.35);-webkit-backdrop-filter:blur(28px) saturate(1.35);font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,system-ui,sans-serif}.spotlight-model-dialog[data-v-ec5c37ab]::backdrop{background:#0f172a57;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.spotlight-model-dialog-content[data-v-ec5c37ab]{display:flex;flex-direction:column;max-height:min(80dvh,760px);min-height:0}.spotlight-model-dialog-header[data-v-ec5c37ab]{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 16px}.spotlight-model-dialog-heading[data-v-ec5c37ab]{min-width:0}.spotlight-model-dialog-eyebrow[data-v-ec5c37ab]{color:#64748b;font-size:10px;font-weight:700;letter-spacing:.12em}.spotlight-model-dialog-header h2[data-v-ec5c37ab]{margin:5px 0 4px;color:#172033;font-size:21px;font-weight:650;letter-spacing:-.035em;line-height:1.25}.spotlight-model-dialog-header p[data-v-ec5c37ab]{margin:0;color:#64748b;font-size:13px;line-height:1.5}.spotlight-model-dialog-close[data-v-ec5c37ab]{display:grid;flex:0 0 auto;place-items:center;width:38px;height:38px;border:1px solid rgba(148,163,184,.22);border-radius:12px;color:#475569;background:#ffffffc2;font-size:23px;line-height:1;cursor:pointer}.spotlight-model-search[data-v-ec5c37ab]{display:flex;align-items:center;gap:10px;min-height:44px;margin:0 20px 12px;padding:0 13px;border:1px solid rgba(148,163,184,.34);border-radius:13px;color:#64748b;background:#ffffffe0}.spotlight-model-search-icon[data-v-ec5c37ab]{font-size:20px;line-height:1}.spotlight-model-search input[data-v-ec5c37ab]{flex:1;min-width:0;height:40px;border:0;outline:0;color:#1e293b;background:transparent;font:inherit;font-size:14px}.spotlight-model-search input[data-v-ec5c37ab]::placeholder{color:#94a3b8}.spotlight-model-dialog-status[data-v-ec5c37ab]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;padding:0 22px;color:#64748b;font-size:12px}.spotlight-model-dialog-status>span[data-v-ec5c37ab]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spotlight-model-dialog-status .is-error[data-v-ec5c37ab]{color:#b42318}.spotlight-model-refresh[data-v-ec5c37ab]{flex:0 0 auto;min-height:30px;padding:4px 8px;border:0;border-radius:8px;color:#1769c2;background:transparent;font:inherit;font-weight:600;cursor:pointer}.spotlight-model-refresh[data-v-ec5c37ab]:hover:not(:disabled){background:#2563eb14}.spotlight-model-refresh[data-v-ec5c37ab]:disabled{color:#94a3b8;cursor:wait}.spotlight-model-results[data-v-ec5c37ab]{min-height:96px;overflow:auto;overscroll-behavior:contain;padding:2px 14px 12px;scrollbar-color:rgba(100,116,139,.42) transparent;scrollbar-width:thin}.spotlight-model-option[data-v-ec5c37ab]{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:58px;padding:9px 12px;border:0;border-bottom:1px solid rgba(148,163,184,.14);border-radius:10px;color:#1e293b;background:transparent;text-align:left;cursor:pointer}.spotlight-model-option[data-v-ec5c37ab]:hover{background:#f1f5f9e6}.spotlight-model-option.is-selected[data-v-ec5c37ab]{background:#deedffd1}.spotlight-model-option-copy[data-v-ec5c37ab]{display:flex;flex-direction:column;gap:4px;min-width:0}.spotlight-model-option-name[data-v-ec5c37ab]{overflow:hidden;color:#1e293b;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.spotlight-model-option-provider[data-v-ec5c37ab]{color:#64748b;font-size:11px}.spotlight-model-option-check[data-v-ec5c37ab]{display:grid;flex:0 0 auto;place-items:center;width:24px;height:24px;border-radius:50%;color:#fff;background:#1769c2;font-size:13px;font-weight:700}.spotlight-model-empty[data-v-ec5c37ab]{display:flex;flex-direction:column;align-items:center;gap:7px;padding:28px 16px;color:#64748b;font-size:12px;text-align:center}.spotlight-model-empty strong[data-v-ec5c37ab]{color:#334155;font-size:14px}.spotlight-model-dialog-footer[data-v-ec5c37ab]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-top:1px solid rgba(148,163,184,.2);color:#64748b;background:#ffffff7a;font-size:11px}.spotlight-model-done[data-v-ec5c37ab]{flex:0 0 auto;min-width:88px;min-height:38px;padding:0 16px;border:0;border-radius:11px;color:#fff;background:#1769c2;font:inherit;font-size:13px;font-weight:650;cursor:pointer;box-shadow:0 3px 8px #1769c233}.spotlight-model-done[data-v-ec5c37ab]:hover{background:#105ba9}.spotlight-sr-only[data-v-ec5c37ab]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:560px){.spotlight-command-deck-meta[data-v-ec5c37ab]{gap:6px}.spotlight-command-deck-kicker[data-v-ec5c37ab]{display:none}}@media(max-width:480px),(max-height:540px){.spotlight-model-dialog[data-v-ec5c37ab]{width:100vw;max-height:100dvh;border:0;border-radius:0}.spotlight-model-dialog-content[data-v-ec5c37ab]{max-height:100dvh}.spotlight-model-dialog-header[data-v-ec5c37ab]{padding:16px 18px 12px}.spotlight-model-search[data-v-ec5c37ab]{margin-right:16px;margin-left:16px}}@media(prefers-reduced-transparency:reduce){.spotlight-model-settings[data-v-ec5c37ab],.spotlight-model-dialog[data-v-ec5c37ab],.spotlight-model-search[data-v-ec5c37ab],.spotlight-model-dialog-footer[data-v-ec5c37ab]{background:#f8fafc;backdrop-filter:none;-webkit-backdrop-filter:none}.spotlight-model-dialog[data-v-ec5c37ab]::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}}@media(prefers-contrast:more){.spotlight-model-settings[data-v-ec5c37ab],.spotlight-model-dialog[data-v-ec5c37ab],.spotlight-model-search[data-v-ec5c37ab]{border-color:#64748b}}@media(prefers-reduced-motion:reduce){.spotlight-model-settings[data-v-ec5c37ab]{transition:none}}.spotlight-memory-dot-btn[data-v-ec5c37ab]{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-ec5c37ab]{color:#64748b;font-size:12px;font-weight:600;line-height:1;white-space:nowrap}.spotlight-memory-dot-btn[data-v-ec5c37ab]:active{transform:scale(.94)}.spotlight-memory-dot-btn[data-v-ec5c37ab]:focus-visible{outline:none;box-shadow:0 0 0 3px #2dd4bf59}.spotlight-memory-dot[data-v-ec5c37ab]{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-ec5c37ab]{background:#14b8a6;box-shadow:0 0 #14b8a673;animation:spotlight-memory-dot-pulse-ec5c37ab 3.2s ease-in-out infinite}.spotlight-memory-dot.is-on[data-v-ec5c37ab]:after{content:"";position:absolute;inset:-5px;border-radius:inherit;border:1px solid rgba(45,212,191,.35);opacity:0;animation:spotlight-memory-dot-ring-ec5c37ab 3.2s ease-in-out infinite}@keyframes spotlight-memory-dot-pulse-ec5c37ab{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-ec5c37ab{0%,to{opacity:0;transform:scale(.85)}50%{opacity:.55;transform:scale(1.15)}}.spotlight-list[data-v-ec5c37ab]{margin:0;padding:6px;list-style:none;max-height:min(48dvh,430px);overflow:auto;border-radius:14px;border:1px solid rgba(148,163,184,.2);background:#ffffff9e}.spotlight-item[data-v-ec5c37ab]{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-ec5c37ab]:hover,.spotlight-item.is-selected[data-v-ec5c37ab]{background:#f1f5f9f2}.spotlight-item.is-selected[data-v-ec5c37ab]{background:#ccfbf1b8}.spotlight-item-label[data-v-ec5c37ab]{color:#0f172a;font-size:15px;font-weight:400;letter-spacing:-.01em}.spotlight-item-hint[data-v-ec5c37ab],.spotlight-list-divider[data-v-ec5c37ab]{color:#94a3b8;font-size:12px;font-weight:500}.spotlight-list-divider[data-v-ec5c37ab]{display:flex;align-items:center;gap:10px;padding:8px 12px 4px;pointer-events:none}.spotlight-list-divider[data-v-ec5c37ab]:after{content:"";flex:1;height:.5px;background:#94a3b847}.spotlight-voice-mic-icon[data-v-ec5c37ab]{position:relative;display:block;width:14px;height:18px}.spotlight-voice-mic-body[data-v-ec5c37ab]{position:absolute;inset:0 2px 6px;border:2px solid currentColor;border-radius:999px}.spotlight-voice-mic-stem[data-v-ec5c37ab]{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-ec5c37ab]{border-color:#ef444459;box-shadow:0 0 0 3px #ef444414}.spotlight-voice-shell.is-transcribing[data-v-ec5c37ab]{border-color:#0ea5e959;box-shadow:0 0 0 3px #0ea5e914}.spotlight-voice-beam[data-v-ec5c37ab]{display:block}.spotlight-item--empty[data-v-ec5c37ab]{cursor:default;opacity:.72}@media(max-width:768px){.spotlight-panel[data-v-ec5c37ab]{width:calc(100vw - 24px);top:50%;max-height:min(88dvh,760px);padding:14px}.spotlight-command-deck[data-v-ec5c37ab]{flex-wrap:wrap}.spotlight-input[data-v-ec5c37ab]{font-size:16px}.spotlight-agent-badge[data-v-ec5c37ab]{align-self:flex-start}}@media(prefers-reduced-motion:reduce){.spotlight-backdrop[data-v-ec5c37ab],.spotlight-panel[data-v-ec5c37ab],.spotlight-input-wrap[data-v-ec5c37ab],.spotlight-memory-dot[data-v-ec5c37ab],.spotlight-memory-dot.is-on[data-v-ec5c37ab]:after,.spotlight-item[data-v-ec5c37ab],.spotlight-permission-btn[data-v-ec5c37ab],.spotlight-memory-dot-btn[data-v-ec5c37ab]{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-e09555a1]{position:fixed;right:220px;bottom:16px;z-index:5000;width:min(420px,42vw);height:min(560px,52vh);pointer-events:none}.live2d-panel[data-v-e09555a1]{position:absolute;inset:0;pointer-events:auto;touch-action:none;background:transparent}.live2d-close[data-v-e09555a1]{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-e09555a1]{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-e09555a1]{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-e09555a1]:not(:disabled):hover{transform:translateY(-2px)}.live2d-voice-button.is-recording[data-v-e09555a1]{background:linear-gradient(145deg,#fff1f2,#ffe4e6);color:#e11d48;box-shadow:0 0 0 8px #f43f5e1f,0 14px 30px #e11d483d;animation:voice-pulse-e09555a1 1.1s ease-in-out infinite}.live2d-voice-ring[data-v-e09555a1]{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-e09555a1]{opacity:1;animation:voice-ring-spin-e09555a1 1.3s linear infinite}.live2d-voice-button[data-v-e09555a1]:disabled{cursor:not-allowed;opacity:.56}.live2d-mic-icon[data-v-e09555a1]{width:14px;height:22px;border:2px solid currentcolor;border-radius:8px}.live2d-mic-icon[data-v-e09555a1]: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-e09555a1]:after{content:"";position:absolute;left:50%;top:37px;width:2px;height:7px;background:currentcolor;transform:translate(-50%)}.live2d-voice-label[data-v-e09555a1]{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-phone-button[data-v-e09555a1]{margin-top:2px;padding:6px 12px;border:1px solid rgba(20,184,166,.28);border-radius:999px;background:#ffffffe6;color:#0f766e;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer;box-shadow:0 6px 16px #0f172a14}.live2d-phone-button.is-connected[data-v-e09555a1]{border-color:#10b9816b;background:#ecfdf5f0;color:#047857}.live2d-phone-overlay[data-v-e09555a1],.live2d-notice-overlay[data-v-e09555a1]{--tb-text: #0f172a;--tb-text-muted: #64748b;--tb-border: rgba(148, 163, 184, .28);--tb-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;position:fixed;inset:0;z-index:6200;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#0f172a47;backdrop-filter:blur(10px) saturate(1.2);-webkit-backdrop-filter:blur(10px) saturate(1.2);pointer-events:auto;font-family:var(--tb-font)}.live2d-notice-overlay[data-v-e09555a1]{z-index:6300}.live2d-phone-panel[data-v-e09555a1],.live2d-notice[data-v-e09555a1]{position:relative;display:grid;gap:10px;width:min(380px,calc(100vw - 32px));max-height:min(88vh,720px);overflow:auto;padding:0 0 16px;border:1px solid var(--tb-border);border-radius:22px;background:linear-gradient(165deg,#fffffff5,#f8fafcf0 55%,#f0fdfaeb);box-shadow:0 24px 64px #0f172a29,0 8px 24px #0f172a14,inset 0 1px #ffffffe6;color:var(--tb-text)}.live2d-notice[data-v-e09555a1]{width:min(360px,calc(100vw - 32px));max-height:min(70vh,420px)}.live2d-phone-header[data-v-e09555a1]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 14px 0 16px}.live2d-phone-title-stack[data-v-e09555a1]{display:grid;gap:2px;min-width:0}.live2d-phone-kicker[data-v-e09555a1]{color:var(--tb-text-muted);font-size:12px;font-weight:600;letter-spacing:.02em}.live2d-phone-title[data-v-e09555a1]{margin:0;font-size:17px;font-weight:600;letter-spacing:-.02em;line-height:1.35}.live2d-phone-close[data-v-e09555a1]{flex-shrink:0;width:32px;height:32px;border:1px solid var(--tb-border);border-radius:12px;background:#ffffffe0;color:var(--tb-text-muted);font-size:20px;line-height:1;cursor:pointer}.live2d-phone-hint[data-v-e09555a1]{margin:0;padding:0 16px;color:#475569;font-size:12px;line-height:1.5}.live2d-phone-actions[data-v-e09555a1]{display:grid;grid-template-columns:1fr auto;gap:8px;padding:0 16px}.live2d-phone-primary[data-v-e09555a1],.live2d-phone-secondary[data-v-e09555a1]{min-height:36px;border:0;border-radius:999px;font-size:13px;font-weight:600;cursor:pointer}.live2d-phone-primary[data-v-e09555a1]{background:linear-gradient(135deg,#14b8a6,#0ea5e9);color:#fff}.live2d-phone-secondary[data-v-e09555a1]{padding:0 14px;border:1px solid var(--tb-border);background:#ffffffe0;color:#334155}.live2d-phone-primary[data-v-e09555a1]:disabled,.live2d-phone-secondary[data-v-e09555a1]:disabled{opacity:.55;cursor:not-allowed}.live2d-phone-qr[data-v-e09555a1]{display:grid;place-items:center;margin:0 16px;padding:10px;border:1px solid var(--tb-border);border-radius:16px;background:#ffffffe0}.live2d-phone-qr[data-v-e09555a1] svg{width:min(196px,58vw);height:auto;aspect-ratio:1}.live2d-phone-status[data-v-e09555a1]{margin:0;padding:0 16px;color:#0f766e;font-size:12px;font-weight:600;text-align:center}.live2d-notice-header[data-v-e09555a1]{padding:14px 16px 0}.live2d-notice-body[data-v-e09555a1]{margin:0;padding:0 16px;color:#334155;font-size:14px;line-height:1.55}.live2d-notice-ok[data-v-e09555a1]{min-height:40px;margin:4px 16px 0;border:0;border-radius:999px;background:linear-gradient(135deg,#14b8a6,#0ea5e9);color:#fff;font-size:14px;font-weight:600;cursor:pointer}@media(max-width:720px){.live2d-phone-actions[data-v-e09555a1]{grid-template-columns:1fr}}.live2d-speech-bubble[data-v-e09555a1]{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-e09555a1]{border-color:#14b8a673;box-shadow:0 20px 40px #14b8a624,0 0 0 1px #0ea5e92e,inset 0 1px #ffffffe6}.live2d-speech-head[data-v-e09555a1]{display:inline-flex;align-items:center;gap:8px;color:#0d9488;font-size:12px;line-height:1}.live2d-speech-dot[data-v-e09555a1]{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-e09555a1]{animation:speech-pulse-e09555a1 1.1s ease-in-out infinite}.live2d-speech-text[data-v-e09555a1]{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-e09555a1],.speech-bubble-leave-active[data-v-e09555a1]{transition:all .28s ease}.speech-bubble-enter-from[data-v-e09555a1],.speech-bubble-leave-to[data-v-e09555a1]{opacity:0;transform:translate(10px) scale(.98)}@keyframes speech-pulse-e09555a1{0%{opacity:.65;transform:scale(.95)}50%{opacity:1;transform:scale(1.12)}to{opacity:.65;transform:scale(.95)}}@keyframes voice-pulse-e09555a1{50%{transform:scale(1.04)}}@keyframes voice-ring-spin-e09555a1{to{transform:rotate(360deg)}}@media(max-width:720px){.live2d-panel-shell[data-v-e09555a1]{right:0;bottom:8px;width:min(360px,96vw);height:min(500px,62vh)}.live2d-speech-bubble[data-v-e09555a1]{right:16px;bottom:70%;width:min(320px,88vw)}}.spotlight-avatar-reopen[data-v-2db6fdca]{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-2db6fdca]:hover{transform:translateY(-2px);box-shadow:0 16px 36px #0f766e42}.spotlight-avatar-reopen__drop[data-v-2db6fdca]{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-2db6fdca]:after{content:"";position:absolute;top:4px;left:4px;width:5px;height:5px;border-radius:50%;background:#ffffffdb}.spotlight-avatar-reopen__label[data-v-2db6fdca]{letter-spacing:.04em}@media(max-width:720px){.spotlight-avatar-reopen[data-v-2db6fdca]{right:14px;bottom:14px}}
@@ -1 +1 @@
1
- {"version":3,"file":"phonePairing.d.ts","sourceRoot":"","sources":["../../../src/avatar/voice/phonePairing.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB,CAAC,SAAS,SAAK,GAAG,OAAO,CAE5D;AAED,iFAAiF;AACjF,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CASjE;AAED,kEAAkE;AAClE,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,MAAM,EACb,QAAQ,GAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,GAAG,UAAU,CAAmB,GAChE,MAAM,CAOR;AAED,wBAAsB,wBAAwB,CAC5C,QAAQ,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,GACvD,OAAO,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAE/C;AAED,wBAAsB,yBAAyB,CAC7C,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,GACvC,OAAO,CAAC,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAK9C"}
1
+ {"version":3,"file":"phonePairing.d.ts","sourceRoot":"","sources":["../../../src/avatar/voice/phonePairing.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB,CAAC,SAAS,SAAK,GAAG,OAAO,CAE5D;AAED,iFAAiF;AACjF,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CASjE;AAED,kEAAkE;AAClE,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,MAAM,EACb,QAAQ,GAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,GAAG,UAAU,CAAmB,GAChE,MAAM,CAOR;AAED,wBAAsB,wBAAwB,CAC5C,QAAQ,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,GACvD,OAAO,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAgB/C;AAED,wBAAsB,yBAAyB,CAC7C,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,GACvC,OAAO,CAAC,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAK9C"}
@@ -1,21 +1,25 @@
1
- function s(t) {
1
+ function i(t) {
2
2
  const e = t.replace(/\/index\.html$/i, "/");
3
3
  if (e.endsWith("/")) return e || "/";
4
4
  if ((e.split("/").pop() ?? "").includes(".")) {
5
- const o = e.lastIndexOf("/");
6
- return o >= 0 ? e.slice(0, o + 1) : "/";
5
+ const n = e.lastIndexOf("/");
6
+ return n >= 0 ? e.slice(0, n + 1) : "/";
7
7
  }
8
8
  return `${e}/`;
9
9
  }
10
- function i(t, e = window.location) {
11
- const n = new URL(
12
- `${s(e.pathname)}voice-remote.html`,
10
+ function r(t, e = window.location) {
11
+ const o = new URL(
12
+ `${i(e.pathname)}voice-remote.html`,
13
13
  e.origin
14
14
  );
15
- return n.searchParams.set("p", t), n.toString();
15
+ return o.searchParams.set("p", t), o.toString();
16
16
  }
17
- async function r(t) {
18
- return t("/v1/voice-remote/sessions", {});
17
+ async function s(t) {
18
+ const e = await t("/v1/voice-remote/sessions", {}), o = e && typeof e == "object" && "token" in e && typeof e.token == "string" ? e.token.trim() : "";
19
+ if (!o)
20
+ throw new Error("Spotlight 没有返回手机配对码,请检查连接后重试。");
21
+ const n = e && typeof e == "object" && "expiresAt" in e && typeof e.expiresAt == "number" ? e.expiresAt : 0;
22
+ return { token: o, expiresAt: n };
19
23
  }
20
24
  async function c(t, e) {
21
25
  return (await e(
@@ -23,8 +27,8 @@ async function c(t, e) {
23
27
  )).utterances ?? [];
24
28
  }
25
29
  export {
26
- r as createVoiceRemoteSession,
30
+ s as createVoiceRemoteSession,
27
31
  c as pullVoiceRemoteUtterances,
28
- s as voiceRemotePageDirectory,
29
- i as voiceRemotePageUrl
32
+ i as voiceRemotePageDirectory,
33
+ r as voiceRemotePageUrl
30
34
  };
@@ -1 +1 @@
1
- {"version":3,"file":"usePhoneVoicePairing.d.ts","sourceRoot":"","sources":["../../../src/avatar/voice/usePhoneVoicePairing.ts"],"names":[],"mappings":"AASA,wBAAgB,oBAAoB,CAAC,OAAO,EAAE;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9C;;;;;;;;;;;;EA2HA"}
1
+ {"version":3,"file":"usePhoneVoicePairing.d.ts","sourceRoot":"","sources":["../../../src/avatar/voice/usePhoneVoicePairing.ts"],"names":[],"mappings":"AASA,wBAAgB,oBAAoB,CAAC,OAAO,EAAE;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9C;;;;;;;;;;;;EAwHA"}
@@ -3,8 +3,8 @@ import { renderSVG as I } from "../../node_modules/.pnpm/uqr@0.1.3/node_modules/
3
3
  import { postSpotlightJson as V, getSpotlightJson as g } from "../../remote/serverJson.js";
4
4
  import { createVoiceRemoteSession as b, voiceRemotePageUrl as x, pullVoiceRemoteUtterances as k } from "./phonePairing.js";
5
5
  function _(f) {
6
- const e = o(""), l = o(""), v = o(""), p = o(!1), t = o(""), c = o(!1);
7
- let r = null, u = !1;
6
+ const e = o(""), l = o(""), v = o(""), p = o(!1), t = o(""), a = o(!1);
7
+ let r = null, c = !1;
8
8
  const P = R(() => f.enabled);
9
9
  function d() {
10
10
  r != null && (window.clearInterval(r), r = null);
@@ -18,7 +18,7 @@ function _(f) {
18
18
  whiteColor: "#ffffff"
19
19
  }));
20
20
  }
21
- async function i() {
21
+ async function u() {
22
22
  if (!(typeof window > "u") && !window.location.pathname.includes("voice-remote") && !e.value)
23
23
  try {
24
24
  const n = await b(V);
@@ -28,41 +28,41 @@ function _(f) {
28
28
  }
29
29
  }
30
30
  async function m() {
31
- if (!u && !(!e.value && (await i(), !e.value)))
31
+ if (!c && e.value)
32
32
  try {
33
33
  const [n, s] = await Promise.all([
34
34
  k(e.value, g),
35
35
  g(
36
36
  `/v1/voice-remote/sessions/${encodeURIComponent(e.value)}`
37
- ).catch((a) => ((a.code === "VOICE_REMOTE_EXPIRED" || a.status === 404) && (e.value = "", i()), null))
37
+ ).catch((i) => ((i.code === "VOICE_REMOTE_EXPIRED" || i.status === 404) && (e.value = "", u()), null))
38
38
  ]);
39
39
  s && "phoneConnected" in s && (p.value = !!s.phoneConnected);
40
- for (const a of n) {
41
- const h = a.text?.trim();
42
- if (h) {
43
- u = !0;
40
+ for (const i of n) {
41
+ const w = i.text?.trim();
42
+ if (w) {
43
+ c = !0;
44
44
  try {
45
- await f.onUtterance(h);
45
+ await f.onUtterance(w);
46
46
  } finally {
47
- u = !1;
47
+ c = !1;
48
48
  }
49
49
  }
50
50
  }
51
51
  } catch {
52
52
  }
53
53
  }
54
- function w() {
55
- d(), i().then(() => {
54
+ function h() {
55
+ d(), u().then(() => {
56
56
  m(), r = window.setInterval(() => {
57
57
  m();
58
58
  }, 1200);
59
59
  });
60
60
  }
61
61
  function S() {
62
- c.value = !0, w();
62
+ a.value = !0, h();
63
63
  }
64
64
  function y() {
65
- c.value = !1;
65
+ a.value = !1;
66
66
  }
67
67
  function C() {
68
68
  t.value = "";
@@ -75,12 +75,12 @@ function _(f) {
75
75
  qrSvg: v,
76
76
  phoneConnected: p,
77
77
  pairError: t,
78
- panelOpen: c,
78
+ panelOpen: a,
79
79
  openPanel: S,
80
80
  closePanel: y,
81
81
  clearPairError: C,
82
- startPolling: w,
83
- ensureSession: i
82
+ startPolling: h,
83
+ ensureSession: u
84
84
  };
85
85
  }
86
86
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"SpotlightShell.vue.d.ts","sourceRoot":"","sources":["../../src/components/SpotlightShell.vue"],"names":[],"mappings":"AA41BA,KAAK,WAAW,GAAG;IAAE,aAAa,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAm1B/C,QAAA,MAAM,YAAY;mBAn1BmB,OAAO;6EAs1B1C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"SpotlightShell.vue.d.ts","sourceRoot":"","sources":["../../src/components/SpotlightShell.vue"],"names":[],"mappings":"AA45BA,KAAK,WAAW,GAAG;IAAE,aAAa,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAm5B/C,QAAA,MAAM,YAAY;mBAn5BmB,OAAO;6EAs5B1C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SpotlightShell2.vue.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7cc0a657"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2db6fdca"]]);
5
5
  export {
6
- c as default
6
+ f as default
7
7
  };
@@ -1,72 +1,77 @@
1
- import { defineComponent as xe, computed as R, ref as h, watch as te, onMounted as He, onUnmounted as Ke, openBlock as N, createElementBlock as re, Fragment as _e, createVNode as Re, unref as l, createBlock as Fe, createElementVNode as ie, createCommentVNode as Ie, nextTick as oe } from "vue";
2
- import { VoiceTurnController as Me, sanitizeSpokenText as De, drainSpokenClips as ae, packSpokenSentences as Oe } from "@inupedia/spotlight-protocol";
3
- import { stopTtsBufferPlayback as Ue, decodeTtsAudioFromBlob as qe, getTtsPlaybackContext as Ne, appendSilenceToAudioBuffer as $e, playTtsAudioBuffer as ze, TTS_CLIP_SILENCE_MS as le } from "../avatar/speech/live2dTtsPlayback.js";
4
- import { SpotlightSpeechService as Ge, hasSpotlightSpeechConfig as We } from "../avatar/speech/spotlightSpeech.js";
5
- import { storeToRefs as Ye } from "pinia";
6
- import { useSpotlightStore as Qe } from "../store/spotlightStore.js";
7
- import { useSpotlightAvatarConfig as je } from "../avatar/config.js";
8
- import { unlockVoicePlayback as Je } from "../avatar/voice/voiceSession.js";
9
- import { shouldAbortVoiceOnPanelHide as Xe } from "../avatar/voice/panelHidePolicy.js";
10
- import { directorPhaseFromTurn as Ze } from "../avatar/voice/avatarDirector.js";
11
- import { microphoneAccessMessage as $ } from "../avatar/voice/micAccess.js";
12
- import { usePhoneVoicePairing as en } from "../avatar/voice/usePhoneVoicePairing.js";
13
- import { useAgentSessionStore as nn } from "../session/agentSession.js";
14
- import tn from "./SpotlightRoot.vue.js";
15
- import rn from "./Live2dPanel.vue.js";
16
- import { useLive2dOverlayStore as on } from "../store/live2dOverlayStore.js";
17
- import { useLive2dSpeechStore as an } from "../store/live2dSpeechStore.js";
18
- import { useLive2dVoiceChannelStore as ln } from "../store/live2dVoiceChannelStore.js";
19
- import { devWarn as sn } from "../utils/devConsole.js";
20
- const se = "Backquote", cn = "`", An = /* @__PURE__ */ xe({
1
+ import { defineComponent as Ke, computed as I, ref as m, watch as ie, onMounted as _e, onUnmounted as Fe, openBlock as $, createElementBlock as oe, Fragment as Re, createVNode as Ie, unref as u, createBlock as Me, createElementVNode as ae, createCommentVNode as De, nextTick as le } from "vue";
2
+ import { VoiceTurnController as Oe, sanitizeSpokenText as Ue, drainSpokenClips as se, packSpokenSentences as qe } from "@inupedia/spotlight-protocol";
3
+ import { stopTtsBufferPlayback as Ge, decodeTtsAudioFromBlob as Ne, getTtsPlaybackContext as $e, appendSilenceToAudioBuffer as ze, playTtsAudioBuffer as We, TTS_CLIP_SILENCE_MS as ue } from "../avatar/speech/live2dTtsPlayback.js";
4
+ import { SpotlightSpeechService as Ye, hasSpotlightSpeechConfig as Qe } from "../avatar/speech/spotlightSpeech.js";
5
+ import { storeToRefs as je } from "pinia";
6
+ import { useSpotlightStore as Je } from "../store/spotlightStore.js";
7
+ import { useSpotlightAvatarConfig as Xe } from "../avatar/config.js";
8
+ import { unlockVoicePlayback as Ze } from "../avatar/voice/voiceSession.js";
9
+ import { shouldAbortVoiceOnPanelHide as en } from "../avatar/voice/panelHidePolicy.js";
10
+ import { directorPhaseFromTurn as nn } from "../avatar/voice/avatarDirector.js";
11
+ import { microphoneAccessMessage as z } from "../avatar/voice/micAccess.js";
12
+ import { usePhoneVoicePairing as tn } from "../avatar/voice/usePhoneVoicePairing.js";
13
+ import { useAgentSessionStore as rn } from "../session/agentSession.js";
14
+ import on from "./SpotlightRoot.vue.js";
15
+ import an from "./Live2dPanel.vue.js";
16
+ import { useLive2dOverlayStore as ln } from "../store/live2dOverlayStore.js";
17
+ import { useLive2dSpeechStore as sn } from "../store/live2dSpeechStore.js";
18
+ import { useLive2dVoiceChannelStore as un } from "../store/live2dVoiceChannelStore.js";
19
+ import { devWarn as cn } from "../utils/devConsole.js";
20
+ const ce = "Backquote", pn = "`", xn = /* @__PURE__ */ Ke({
21
21
  __name: "SpotlightShell",
22
22
  props: {
23
23
  avatarEnabled: { type: Boolean, default: !1 }
24
24
  },
25
- setup(O) {
26
- const S = O, F = je(), ce = R(
27
- () => F.deckKicker?.trim() || "SPOTLIGHT"
28
- ), I = R(
29
- () => F.greetingText?.trim() || "您好,我是 Spotlight 助手"
30
- ), t = Qe(), B = on(), { visible: g } = Ye(B), c = an(), u = ln(), w = new Ge(), L = h(null), p = h(!1), k = h(!1), E = h(!1), x = h(null), m = h(null), b = h(0), P = h(!1), z = R(
25
+ setup(q) {
26
+ const C = q, M = Xe(), pe = I(
27
+ () => M.deckKicker?.trim() || "SPOTLIGHT"
28
+ ), D = I(
29
+ () => M.greetingText?.trim() || "您好,我是 Spotlight 助手"
30
+ ), t = Je(), _ = ln(), { visible: y } = je(_), c = sn(), p = un(), g = new Ye(), B = m(null), f = m(!1), L = m(!1), S = m(!1), x = m(null);
31
+ let v = 0;
32
+ const w = m(null), k = m(0), P = m(!1), W = I(
31
33
  () => Math.max(
32
34
  0,
33
- F.briefingKeepLastMs ?? 0
35
+ M.briefingKeepLastMs ?? 0
34
36
  )
35
37
  );
36
- let T = null;
37
- const y = h(!1);
38
- let H = Promise.resolve(), M = 0;
39
- const s = new Me(), K = h(!1);
40
- let U = 0, f = "", V = 0;
41
- s.onAbort(async () => {
42
- t.cancelPipeline(), K.value = !1, f = "", V = 0, C(), _(), c.reset(), import("../avatar/spine/live2dApp.js").then(
38
+ let E = null;
39
+ const T = m(!1);
40
+ let H = Promise.resolve(), F = 0;
41
+ const a = new Oe(), R = m(!1);
42
+ let O = 0, d = "", V = 0;
43
+ a.onAbort(async () => {
44
+ t.cancelPipeline(), R.value = !1, d = "", V = 0, A(), K(), c.reset(), import("../avatar/spine/live2dApp.js").then(
43
45
  (e) => e.stopLive2dLipSync()
44
46
  );
45
47
  });
46
- const ue = R(() => t.showThinkingBar ? !S.avatarEnabled || !g.value || t.pipelinePhase === "running" || P.value ? !0 : t.pipelinePhase === "done" : !1), pe = R(() => {
48
+ const fe = I(() => t.showThinkingBar ? !C.avatarEnabled || !y.value || t.pipelinePhase === "running" || P.value ? !0 : t.pipelinePhase === "done" : !1), ve = I(() => {
47
49
  const e = t.agentSteps.length === 1 && t.agentSteps[0]?.label === "回答";
48
50
  return t.pipelinePhase === "running" || e || P.value;
49
51
  });
50
- function fe() {
51
- P.value = !1, g.value && (t.showThinkingBar = !1);
52
+ function de() {
53
+ P.value = !1, y.value && (t.showThinkingBar = !1);
52
54
  }
53
- function G() {
54
- L.value != null && (window.clearTimeout(L.value), L.value = null);
55
+ function Y() {
56
+ B.value != null && (window.clearTimeout(B.value), B.value = null);
55
57
  }
56
- function _() {
57
- G(), x.value && (x.value.abort(), x.value = null), k.value = !1, E.value = !1, p.value = !1, y.value = !1, u.reset(), w.cancel();
58
+ function K() {
59
+ v += 1, Y(), x.value && (x.value.abort(), x.value = null), L.value = !1, S.value = !1, f.value = !1, T.value = !1, p.reset(), g.cancel();
58
60
  }
59
- function C() {
60
- T && (T.abort(), T = null), m.value && (m.value.abort(), m.value = null), D(), c.reset(), import("../avatar/spine/live2dApp.js").then(
61
+ function A() {
62
+ E && (E.abort(), E = null), w.value && (w.value.abort(), w.value = null), U(), c.reset(), import("../avatar/spine/live2dApp.js").then(
61
63
  (e) => e.stopLive2dLipSync()
62
64
  );
63
65
  }
64
- function ve(e, n) {
65
- return e <= 0 ? Promise.resolve() : new Promise((r, i) => {
66
- const a = window.setTimeout(() => {
67
- n?.removeEventListener("abort", o), r();
66
+ function G() {
67
+ t.cancelPipeline(), t.showThinkingBar = !1, k.value += 1, P.value = !1, R.value = !1, d = "", F = 0, V = 0, O = 0, H = Promise.resolve(), a.setPhase("interrupted"), A();
68
+ }
69
+ function he(e, n) {
70
+ return e <= 0 ? Promise.resolve() : new Promise((i, r) => {
71
+ const l = window.setTimeout(() => {
72
+ n?.removeEventListener("abort", o), i();
68
73
  }, e), o = () => {
69
- window.clearTimeout(a), i(new DOMException("Aborted", "AbortError"));
74
+ window.clearTimeout(l), r(new DOMException("Aborted", "AbortError"));
70
75
  };
71
76
  if (n?.aborted) {
72
77
  o();
@@ -75,346 +80,360 @@ const se = "Backquote", cn = "`", An = /* @__PURE__ */ xe({
75
80
  n?.addEventListener("abort", o, { once: !0 });
76
81
  });
77
82
  }
78
- async function de() {
79
- if (!g.value || t.pipelinePhase === "running") return;
80
- C(), b.value += 1;
81
- const e = b.value, n = new AbortController();
82
- if (T = n, !We()) {
83
- T = null, await oe(), (await import("../avatar/spine/live2dApp.js")).playLive2dHello(), c.start(I.value, { instant: !0 }), c.reset();
83
+ async function me() {
84
+ if (!y.value || t.pipelinePhase === "running") return;
85
+ A(), k.value += 1;
86
+ const e = k.value, n = new AbortController();
87
+ if (E = n, !Qe()) {
88
+ E = null, await le(), (await import("../avatar/spine/live2dApp.js")).playLive2dHello(), c.start(D.value, { instant: !0 }), c.reset();
84
89
  return;
85
90
  }
86
- const r = w.synthesize(
87
- I.value,
91
+ const i = g.synthesize(
92
+ D.value,
88
93
  n.signal
89
94
  );
90
- if (await oe(), await new Promise((i) => {
91
- requestAnimationFrame(() => i());
92
- }), !!v(n, e))
95
+ if (await le(), await new Promise((r) => {
96
+ requestAnimationFrame(() => r());
97
+ }), !!s(n, e))
93
98
  try {
94
- const { blob: i } = await r;
95
- if (!v(n, e)) return;
96
- await J(
97
- I.value,
98
- i,
99
+ const { blob: r } = await i;
100
+ if (!s(n, e)) return;
101
+ await Z(
102
+ D.value,
103
+ r,
99
104
  n,
100
105
  e,
101
106
  { instantText: !0, playHelloWithSpeech: !0 }
102
107
  );
103
- } catch (i) {
108
+ } catch (r) {
104
109
  if (n.signal.aborted) return;
105
- const a = i instanceof Error ? i.message : "数字人招呼语音失败,请稍后重试。";
106
- sn("[live2d-greeting]", a), v(n, e) && ((await import("../avatar/spine/live2dApp.js")).playLive2dHello(), c.start(I.value, { instant: !0 }), c.reset());
110
+ const l = r instanceof Error ? r.message : "数字人招呼语音失败,请稍后重试。";
111
+ cn("[live2d-greeting]", l), s(n, e) && ((await import("../avatar/spine/live2dApp.js")).playLive2dHello(), c.start(D.value, { instant: !0 }), c.reset());
107
112
  } finally {
108
- T === n && (T = null);
113
+ E === n && (E = null);
109
114
  }
110
115
  }
111
- function D() {
112
- Ue();
116
+ function U() {
117
+ Ge();
113
118
  }
114
- function W() {
119
+ function Q() {
115
120
  return globalThis.crypto?.randomUUID?.() ?? `turn-${Date.now()}-${Math.random()}`;
116
121
  }
117
- function he() {
118
- const e = nn();
122
+ function ge() {
123
+ const e = rn();
119
124
  for (let n = e.conversationHistory.length - 1; n >= 0; n -= 1) {
120
- const r = e.conversationHistory[n];
121
- if (r?.role === "assistant" && r.content.trim())
122
- return r.content.trim();
125
+ const i = e.conversationHistory[n];
126
+ if (i?.role === "assistant" && i.content.trim())
127
+ return i.content.trim();
123
128
  }
124
129
  return "";
125
130
  }
126
- function me(e) {
127
- const n = Oe(e);
128
- n.length !== 0 && (s.setPhase("speaking"), n.forEach((r, i) => {
129
- j({ text: r });
131
+ function be(e) {
132
+ const n = qe(e);
133
+ n.length !== 0 && (a.setPhase("speaking"), n.forEach((i, r) => {
134
+ X({ text: i });
130
135
  }));
131
136
  }
132
- function ge() {
133
- C(), b.value += 1;
137
+ function ye() {
138
+ A(), k.value += 1;
134
139
  const e = new AbortController();
135
- m.value = e, H = Promise.resolve(), M = 0, f = "", V = 0, P.value = !0, K.value = !0, W(), U = 0;
140
+ w.value = e, H = Promise.resolve(), F = 0, d = "", V = 0, P.value = !0, R.value = !0, Q(), O = 0;
136
141
  }
137
- function Y(e) {
138
- const n = m.value;
142
+ function j(e) {
143
+ const n = w.value;
139
144
  if (!n || n.signal.aborted || !e) return;
140
- const r = b.value, i = V;
145
+ const i = k.value, r = V;
141
146
  V += 1;
142
- const a = w.synthesize(e, n.signal).then(
147
+ const l = g.synthesize(e, n.signal).then(
143
148
  (o) => ({ blob: o.blob, error: null }),
144
149
  (o) => ({ blob: null, error: o })
145
150
  );
146
- M += 1, H = H.then(async () => {
147
- const o = await a;
151
+ F += 1, H = H.then(async () => {
152
+ const o = await l;
148
153
  if (o.error) throw o.error;
149
- if (!o.blob || !v(n, r)) return;
150
- i === 0 && fe();
151
- const A = V > i + 1 || f.length > 0 || t.pipelinePhase === "running" || t.loading;
152
- await J(
154
+ if (!o.blob || !s(n, i)) return;
155
+ r === 0 && de();
156
+ const b = V > r + 1 || d.length > 0 || t.pipelinePhase === "running" || t.loading;
157
+ await Z(
153
158
  e,
154
159
  o.blob,
155
160
  n,
156
- r,
161
+ i,
157
162
  {
158
163
  instantText: !0,
159
- hasFollowingClip: A
164
+ hasFollowingClip: b
160
165
  }
161
166
  );
162
167
  }).catch((o) => {
163
168
  n.signal.aborted || (t.error = o instanceof Error ? o.message : "数字人语音播放失败,请稍后重试。");
164
169
  });
165
170
  }
166
- function Q() {
167
- if (!f) return;
168
- const e = ae(f, { force: !0 });
169
- f = "";
170
- for (const n of e.ready) Y(n);
171
+ function J() {
172
+ if (!d) return;
173
+ const e = se(d, { force: !0 });
174
+ d = "";
175
+ for (const n of e.ready) j(n);
171
176
  }
172
- function j(e) {
173
- e.generation != null && e.generation !== U && (U = e.generation, W(), H = Promise.resolve(), f = "", V = 0);
174
- const n = De(e.text);
177
+ function X(e) {
178
+ e.generation != null && e.generation !== O && (O = e.generation, Q(), H = Promise.resolve(), d = "", V = 0);
179
+ const n = Ue(e.text);
175
180
  if (!n) return;
176
- f += n;
177
- const r = ae(f);
178
- f = r.rest;
179
- for (const i of r.ready) Y(i);
181
+ d += n;
182
+ const i = se(d);
183
+ d = i.rest;
184
+ for (const r of i.ready) j(r);
180
185
  }
181
- async function be() {
182
- const e = m.value;
183
- if (!e) {
184
- K.value = !1;
185
- return;
186
- }
187
- const n = b.value;
188
- if (await H, P.value = !1, (await import("../avatar/spine/live2dApp.js")).stopLive2dLipSync(), v(e, n)) {
189
- if (z.value > 0 && M > 0)
186
+ async function Se(e, n) {
187
+ if (!e || !s(e, n) || (await H, !s(e, n))) return;
188
+ P.value = !1;
189
+ const r = await import("../avatar/spine/live2dApp.js");
190
+ if (s(e, n)) {
191
+ if (r.stopLive2dLipSync(), W.value > 0 && F > 0)
190
192
  try {
191
- await ve(z.value, e.signal);
193
+ await he(W.value, e.signal);
192
194
  } catch {
193
195
  }
194
- v(e, n) && c.reset();
196
+ s(e, n) && (c.reset(), w.value === e && (w.value = null), R.value = !1);
195
197
  }
196
- m.value === e && (m.value = null), K.value = !1;
197
198
  }
198
- function v(e, n) {
199
- return !e.signal.aborted && b.value === n;
199
+ function s(e, n) {
200
+ return !e.signal.aborted && k.value === n;
200
201
  }
201
- async function J(e, n, r, i, a) {
202
- if (!v(r, i)) return;
203
- const o = a?.hasFollowingClip ?? !1;
204
- D();
205
- const A = await import("../avatar/spine/live2dApp.js"), { audioBuffer: Ee, envelope: Ve } = await qe(n);
206
- if (!v(r, i)) return;
207
- a?.playHelloWithSpeech && A.playLive2dHello(), c.start(e, { instant: a?.instantText ?? !0 });
208
- const Ae = Ne(), Be = $e(
202
+ async function Z(e, n, i, r, l) {
203
+ if (!s(i, r)) return;
204
+ const o = l?.hasFollowingClip ?? !1;
205
+ U();
206
+ const b = await import("../avatar/spine/live2dApp.js"), { audioBuffer: Ae, envelope: Be } = await Ne(n);
207
+ if (!s(i, r)) return;
208
+ l?.playHelloWithSpeech && b.playLive2dHello(), c.start(e, { instant: l?.instantText ?? !0 });
209
+ const xe = $e(), He = ze(
210
+ xe,
209
211
  Ae,
210
- Ee,
211
- o ? le : Math.round(le / 2)
212
+ o ? ue : Math.round(ue / 2)
212
213
  );
213
214
  try {
214
- await ze(Be, r.signal, {
215
- onStart: (q) => {
216
- A.bindLive2dLipSyncToClock(q, Ve);
215
+ await We(He, i.signal, {
216
+ onStart: (N) => {
217
+ b.bindLive2dLipSyncToClock(N, Be);
217
218
  }
218
219
  });
219
- } catch (q) {
220
- throw A.stopLive2dLipSync(), D(), q;
220
+ } catch (N) {
221
+ throw b.stopLive2dLipSync(), U(), N;
221
222
  }
222
- o || A.stopLive2dLipSync(), D(), v(r, i) && (o || c.reset());
223
+ o || b.stopLive2dLipSync(), U(), s(i, r) && (o || c.reset());
223
224
  }
224
- function X() {
225
- return !S.avatarEnabled || !g.value ? !1 : !t.loading && !E.value && !k.value;
225
+ function ee() {
226
+ return !C.avatarEnabled || !y.value ? !1 : !S.value && !L.value;
226
227
  }
227
- function Z() {
228
- return X() && !t.visible;
228
+ function ne() {
229
+ return ee() && !t.visible;
229
230
  }
230
- async function ee(e) {
231
- const n = e.trim();
232
- if (!n) return;
233
- t.prompt = n, s.setPhase("thinking"), ge();
234
- const r = m.value, i = b.value;
231
+ async function te(e, n = "microphone") {
232
+ const i = e.trim();
233
+ if (!i) return;
234
+ n === "phone" && K(), G(), t.prompt = i, a.setPhase("thinking"), ye();
235
+ const r = w.value, l = k.value;
235
236
  try {
236
237
  await t.submit({
237
238
  interactionMode: "voice",
238
- onVoiceSentence: j
239
+ onVoiceSentence: (o) => {
240
+ r && s(r, l) && X(o);
241
+ }
239
242
  });
240
243
  } finally {
241
- const a = !!r && v(r, i);
242
- if (Q(), a && M === 0) {
243
- const o = he();
244
- o && me(o), Q();
244
+ const o = !!r && s(r, l);
245
+ if (o && (J(), F === 0)) {
246
+ const b = ge();
247
+ b && be(b), J();
245
248
  }
246
- await be(), a && (s.resetTo("idle"), u.reset());
249
+ await Se(r, l), o && (a.resetTo("idle"), p.reset());
247
250
  }
248
251
  }
249
- const d = en({
250
- enabled: S.avatarEnabled,
251
- onUtterance: ee
252
+ const h = tn({
253
+ enabled: C.avatarEnabled,
254
+ onUtterance: (e) => te(e, "phone")
252
255
  });
253
- async function ne() {
254
- if (k.value) return;
255
- const e = y.value;
256
- p.value = !1, e && u.setTranscribing(!0), k.value = !0;
257
- const n = new AbortController();
256
+ async function re() {
257
+ if (L.value) return;
258
+ const e = T.value;
259
+ f.value = !1, e && p.setTranscribing(!0), L.value = !0;
260
+ const n = new AbortController(), i = v;
258
261
  x.value = n;
259
262
  try {
260
- const { text: r } = await w.stopAndTranscribe(n.signal), i = r.trim();
263
+ const { text: r } = await g.stopAndTranscribe(n.signal);
264
+ if (i !== v) return;
265
+ const l = r.trim();
261
266
  if (e) {
262
- if (y.value = !1, u.setTranscribing(!1), !i) {
267
+ if (T.value = !1, p.setTranscribing(!1), !l) {
263
268
  t.error = "没识别到内容,请靠近麦克风再说一次。";
264
269
  return;
265
270
  }
266
- await ee(i);
271
+ await te(l);
267
272
  return;
268
273
  }
269
- const a = t.prompt.trim();
270
- t.prompt = a ? `${a} ${r}` : r;
274
+ const o = t.prompt.trim();
275
+ t.prompt = o ? `${o} ${r}` : r;
271
276
  } catch (r) {
272
277
  if (n.signal.aborted) return;
273
- t.error = $(r) || "语音识别失败,请重试。";
278
+ t.error = z(r) || "语音识别失败,请重试。";
274
279
  } finally {
275
- x.value = null, k.value = !1, p.value = !1, y.value = !1, u.reset();
280
+ i === v && x.value === n && (x.value = null, L.value = !1, f.value = !1, T.value = !1, p.reset());
276
281
  }
277
282
  }
278
- function ye(e) {
283
+ function we(e) {
279
284
  if (e.repeat || e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
280
- const n = Z();
281
- !t.visible && !n || t.visible && t.loading || (e.preventDefault(), !(L.value != null || p.value) && (L.value = window.setTimeout(async () => {
282
- L.value = null;
283
- const r = Z();
284
- if (!(!t.visible && !r) && !(t.visible && t.loading))
285
- try {
286
- await w.startRecording(), p.value = !0, y.value = r, r ? u.setRecording(!0) : u.reset(), t.error = "";
287
- } catch (i) {
288
- t.error = $(i), p.value = !1, y.value = !1, u.reset();
289
- }
290
- }, 450)));
291
- }
292
- async function Se() {
293
- if (!(!X() || E.value)) {
294
- E.value = !0;
285
+ const n = ne();
286
+ !t.visible && !n || (e.preventDefault(), !(B.value != null || f.value) && (B.value = window.setTimeout(async () => {
287
+ B.value = null;
288
+ const i = ne();
289
+ if (!t.visible && !i) return;
290
+ G(), S.value = !0;
291
+ const r = ++v;
295
292
  try {
296
- if (C(), await w.startRecording(), !g.value) {
297
- w.cancel();
293
+ if (await g.startRecording(), r !== v) {
294
+ g.cancel();
298
295
  return;
299
296
  }
300
- p.value = !0, y.value = !0, u.setRecording(!0), t.error = "";
301
- } catch (e) {
302
- t.error = $(e), p.value = !1, y.value = !1, u.reset();
297
+ f.value = !0, a.setPhase("listening"), T.value = i, i ? p.setRecording(!0) : p.reset(), t.error = "";
298
+ } catch (l) {
299
+ if (r !== v) return;
300
+ t.error = z(l), f.value = !1, T.value = !1, p.reset(), a.resetTo("idle");
303
301
  } finally {
304
- E.value = !1;
302
+ r === v && (S.value = !1);
305
303
  }
304
+ }, 450)));
305
+ }
306
+ async function ke() {
307
+ if (!ee() || S.value) return;
308
+ S.value = !0;
309
+ const e = ++v;
310
+ try {
311
+ if (G(), await g.startRecording(), e !== v) {
312
+ g.cancel();
313
+ return;
314
+ }
315
+ if (!y.value) {
316
+ g.cancel(), a.resetTo("idle");
317
+ return;
318
+ }
319
+ f.value = !0, a.setPhase("listening"), T.value = !0, p.setRecording(!0), t.error = "";
320
+ } catch (n) {
321
+ if (e !== v) return;
322
+ t.error = z(n), f.value = !1, T.value = !1, p.reset(), a.resetTo("idle");
323
+ } finally {
324
+ e === v && (S.value = !1);
306
325
  }
307
326
  }
308
- function we() {
309
- p.value && ne();
327
+ function Pe() {
328
+ f.value && re();
310
329
  }
311
- function ke(e) {
312
- if (e.code !== se || !t.visible && !p.value) return;
330
+ function Te(e) {
331
+ if (e.code !== ce || !t.visible && !f.value) return;
313
332
  e.preventDefault();
314
- const n = p.value;
315
- G(), n && ne();
333
+ const n = f.value;
334
+ Y(), n && re();
316
335
  }
317
- function Pe(e) {
318
- if (e.code === se) {
319
- ye(e);
336
+ function Ce(e) {
337
+ if (e.code === ce) {
338
+ we(e);
320
339
  return;
321
340
  }
322
- const n = e.key.toLowerCase(), r = e.metaKey || e.ctrlKey;
323
- S.avatarEnabled && r && n === "l" && (e.preventDefault(), B.toggle());
341
+ const n = e.key.toLowerCase(), i = e.metaKey || e.ctrlKey;
342
+ C.avatarEnabled && i && n === "l" && (e.preventDefault(), _.toggle());
324
343
  }
325
- function Te() {
326
- B.show();
344
+ function Le() {
345
+ _.show();
327
346
  }
328
- function Ce() {
329
- s.abort("escape").then(() => {
330
- P.value = !1, b.value += 1, C(), c.reset(), t.showThinkingBar ? t.closeThinking() : t.visible && t.close();
347
+ function Ee() {
348
+ a.abort("escape").then(() => {
349
+ P.value = !1, k.value += 1, A(), c.reset(), t.showThinkingBar ? t.closeThinking() : t.visible && t.close();
331
350
  });
332
351
  }
333
- function Le(e) {
352
+ function Ve(e) {
334
353
  if (!e) {
335
- if (!Xe({
354
+ if (!en({
336
355
  loading: t.loading,
337
356
  pipelinePhase: t.pipelinePhase
338
357
  })) {
339
- _();
358
+ K();
340
359
  return;
341
360
  }
342
- s.abort("panel_close"), _(), g.value && t.prepareLive2dVoiceChannel();
361
+ a.abort("panel_close"), K(), y.value && t.prepareLive2dVoiceChannel();
343
362
  }
344
363
  }
345
- return te(g, (e) => {
346
- if (S.avatarEnabled) {
364
+ return ie(y, (e) => {
365
+ if (C.avatarEnabled) {
347
366
  if (!e) {
348
- P.value = !1, s.abort("avatar_close"), _(), C(), c.reset(), u.reset();
367
+ P.value = !1, a.abort("avatar_close"), K(), A(), c.reset(), p.reset();
349
368
  return;
350
369
  }
351
- t.visible || t.prepareLive2dVoiceChannel(), Je(), de();
370
+ t.visible || t.prepareLive2dVoiceChannel(), Ze(), me();
352
371
  }
353
- }), te(
354
- () => Ze({
372
+ }), ie(
373
+ () => nn({
355
374
  loading: t.loading,
356
- speaking: s.phase === "speaking" || K.value,
375
+ speaking: a.phase === "speaking" || R.value,
357
376
  toolRunning: t.agentSteps.some(
358
377
  (e) => e.toolCalls?.some(
359
378
  (n) => n.status === "running" || n.status === "pending"
360
379
  )
361
380
  ),
362
- interrupted: s.phase === "interrupted"
381
+ interrupted: a.phase === "interrupted"
363
382
  }),
364
383
  (e) => {
365
- s.phase === "interrupted" || s.phase === "error" || s.setPhase(e);
384
+ a.phase === "interrupted" || a.phase === "error" || a.setPhase(e);
366
385
  }
367
- ), He(() => {
368
- S.avatarEnabled && F.initiallyVisible && B.show(), S.avatarEnabled && d.startPolling();
369
- }), Ke(() => {
370
- s.abort("session_end"), _(), C(), c.reset(), u.reset();
371
- }), (e, n) => (N(), re(_e, null, [
372
- Re(tn, {
373
- "deck-kicker": ce.value,
374
- "voice-hold-active": p.value,
375
- "speech-pending": k.value,
376
- "voice-key-label": cn,
377
- "show-thinking": ue.value,
378
- "thinking-centered": pe.value,
379
- "on-escape": Ce,
380
- "on-keydown": Pe,
381
- "on-keyup": ke,
382
- onVisibleChange: Le
386
+ ), _e(() => {
387
+ C.avatarEnabled && M.initiallyVisible && _.show(), C.avatarEnabled && h.startPolling();
388
+ }), Fe(() => {
389
+ a.abort("session_end"), K(), A(), c.reset(), p.reset();
390
+ }), (e, n) => ($(), oe(Re, null, [
391
+ Ie(on, {
392
+ "deck-kicker": pe.value,
393
+ "voice-hold-active": f.value,
394
+ "speech-pending": L.value,
395
+ "voice-key-label": pn,
396
+ "show-thinking": fe.value,
397
+ "thinking-centered": ve.value,
398
+ "on-escape": Ee,
399
+ "on-keydown": Ce,
400
+ "on-keyup": Te,
401
+ onVisibleChange: Ve
383
402
  }, null, 8, ["deck-kicker", "voice-hold-active", "speech-pending", "show-thinking", "thinking-centered"]),
384
- O.avatarEnabled && l(g) ? (N(), Fe(rn, {
403
+ q.avatarEnabled && u(y) ? ($(), Me(an, {
385
404
  key: 0,
386
- "voice-disabled": l(t).loading || k.value || E.value,
387
- "voice-error": l(t).error,
388
- "phone-pair-available": l(d).canShow.value,
389
- "phone-pair-open": l(d).panelOpen.value,
390
- "phone-pair-qr": l(d).qrSvg.value,
391
- "phone-pair-url": l(d).pairUrl.value,
392
- "phone-pair-error": l(d).pairError.value,
393
- "phone-connected": l(d).phoneConnected.value,
394
- onVoiceStart: Se,
395
- onVoiceStop: we,
396
- onPhonePair: l(d).openPanel,
397
- onPhonePairClose: l(d).closePanel,
398
- onDismissError: n[0] || (n[0] = (r) => l(t).error = ""),
399
- onDismissPairError: l(d).clearPairError,
400
- onClose: l(B).hide
401
- }, null, 8, ["voice-disabled", "voice-error", "phone-pair-available", "phone-pair-open", "phone-pair-qr", "phone-pair-url", "phone-pair-error", "phone-connected", "onPhonePair", "onPhonePairClose", "onDismissPairError", "onClose"])) : O.avatarEnabled ? (N(), re("button", {
405
+ "voice-disabled": L.value || S.value,
406
+ "voice-error": u(t).error,
407
+ "phone-pair-available": u(h).canShow.value,
408
+ "phone-pair-open": u(h).panelOpen.value,
409
+ "phone-pair-qr": u(h).qrSvg.value,
410
+ "phone-pair-url": u(h).pairUrl.value,
411
+ "phone-pair-error": u(h).pairError.value,
412
+ "phone-connected": u(h).phoneConnected.value,
413
+ onVoiceStart: ke,
414
+ onVoiceStop: Pe,
415
+ onPhonePair: u(h).openPanel,
416
+ onPhonePairClose: u(h).closePanel,
417
+ onDismissError: n[0] || (n[0] = (i) => u(t).error = ""),
418
+ onDismissPairError: u(h).clearPairError,
419
+ onClose: u(_).hide
420
+ }, null, 8, ["voice-disabled", "voice-error", "phone-pair-available", "phone-pair-open", "phone-pair-qr", "phone-pair-url", "phone-pair-error", "phone-connected", "onPhonePair", "onPhonePairClose", "onDismissPairError", "onClose"])) : q.avatarEnabled ? ($(), oe("button", {
402
421
  key: 1,
403
422
  type: "button",
404
423
  class: "spotlight-avatar-reopen",
405
424
  "aria-label": "再次打开数字人小滴",
406
425
  title: "再次打开小滴(Ctrl/Command + L)",
407
- onClick: Te
426
+ onClick: Le
408
427
  }, [...n[1] || (n[1] = [
409
- ie("span", {
428
+ ae("span", {
410
429
  class: "spotlight-avatar-reopen__drop",
411
430
  "aria-hidden": "true"
412
431
  }, null, -1),
413
- ie("span", { class: "spotlight-avatar-reopen__label" }, "小滴", -1)
414
- ])])) : Ie("", !0)
432
+ ae("span", { class: "spotlight-avatar-reopen__label" }, "小滴", -1)
433
+ ])])) : De("", !0)
415
434
  ], 64));
416
435
  }
417
436
  });
418
437
  export {
419
- An as default
438
+ xn as default
420
439
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inupedia/spotlight-vue",
3
- "version": "0.9.12",
3
+ "version": "0.9.14",
4
4
  "description": "Thin Vue runtime for Inupedia Spotlight Client Tools",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -93,8 +93,8 @@
93
93
  "prettier": "^3.8.1",
94
94
  "uqr": "^0.1.3",
95
95
  "yaml": "^2.8.4",
96
- "@inupedia/spotlight-protocol": "0.9.12",
97
- "@inupedia/spotlight-client": "0.9.12"
96
+ "@inupedia/spotlight-client": "0.9.14",
97
+ "@inupedia/spotlight-protocol": "0.9.14"
98
98
  },
99
99
  "peerDependencies": {
100
100
  "@inspira-ui/plugins": "^0.0.2",