cc-viewer 1.6.93 → 1.6.95
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.
- package/cli.js +116 -6
- package/dist/assets/{App-hH0rDzOq.js → App-D-Apw-as.js} +16 -16
- package/dist/assets/AppHeader-B2WxpwwK.css +41 -0
- package/dist/assets/{AppHeader.module-_fn3e-3Y.js → AppHeader.module-DsVA04H2.js} +164 -164
- package/dist/assets/Mobile-RajPnX3l.js +10 -0
- package/dist/assets/{_basePickBy-Dwc6xlH0.js → _basePickBy-BJEP1GYD.js} +1 -1
- package/dist/assets/{_baseUniq-CIhWoRX6.js → _baseUniq-BubLHFZN.js} +1 -1
- package/dist/assets/{arc-ClMosRWS.js → arc-DQ_H2ge5.js} +1 -1
- package/dist/assets/{architectureDiagram-2XIMDMQ5-CiuBPipP.js → architectureDiagram-2XIMDMQ5-DxzXyiQV.js} +1 -1
- package/dist/assets/{blockDiagram-WCTKOSBZ-Bifbw0Pj.js → blockDiagram-WCTKOSBZ-Oko9Xh01.js} +1 -1
- package/dist/assets/{c4Diagram-IC4MRINW-Dwx54q11.js → c4Diagram-IC4MRINW-BWMun8B6.js} +1 -1
- package/dist/assets/channel-JA0OGVbb.js +1 -0
- package/dist/assets/{chunk-4BX2VUAB-BQo_Scg4.js → chunk-4BX2VUAB-D4f3BBSj.js} +1 -1
- package/dist/assets/{chunk-55IACEB6-DmMYL0yS.js → chunk-55IACEB6-DEELbrpC.js} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-D54EDOVv.js → chunk-FMBD7UC4-BMDopkZI.js} +1 -1
- package/dist/assets/{chunk-JSJVCQXG-C4wM91-8.js → chunk-JSJVCQXG-Bl2ge6LE.js} +1 -1
- package/dist/assets/{chunk-KX2RTZJC-BuTQbTst.js → chunk-KX2RTZJC-D6-v2Nwr.js} +1 -1
- package/dist/assets/{chunk-NQ4KR5QH-pwWGt1sO.js → chunk-NQ4KR5QH-CPoQIkEQ.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-DzdyrpMz.js → chunk-QZHKN3VN-5ObFPC7D.js} +1 -1
- package/dist/assets/{chunk-WL4C6EOR-BsqkjkKt.js → chunk-WL4C6EOR-Brx2xle-.js} +1 -1
- package/dist/assets/classDiagram-VBA2DB6C-DBQK8T70.js +1 -0
- package/dist/assets/classDiagram-v2-RAHNMMFH-DBQK8T70.js +1 -0
- package/dist/assets/clone-B_6tGAmz.js +1 -0
- package/dist/assets/{cose-bilkent-S5V4N54A-C_Zw3kps.js → cose-bilkent-S5V4N54A-BtTL0awI.js} +1 -1
- package/dist/assets/{dagre-KLK3FWXG-BBym-Z-r.js → dagre-KLK3FWXG-BnJdU6vj.js} +1 -1
- package/dist/assets/{diagram-E7M64L7V-CJK3xILI.js → diagram-E7M64L7V-DqmlnmsM.js} +1 -1
- package/dist/assets/{diagram-IFDJBPK2-CG0k9GmI.js → diagram-IFDJBPK2-CSfBzoTw.js} +1 -1
- package/dist/assets/{diagram-P4PSJMXO-BHJpgqgl.js → diagram-P4PSJMXO-W_YBtuzb.js} +1 -1
- package/dist/assets/{erDiagram-INFDFZHY-DY2TxE9e.js → erDiagram-INFDFZHY-BrXGXwQp.js} +1 -1
- package/dist/assets/{flowDiagram-PKNHOUZH-C6ujoYh5.js → flowDiagram-PKNHOUZH-D1qO_ftR.js} +1 -1
- package/dist/assets/{ganttDiagram-A5KZAMGK-DacCPw0V.js → ganttDiagram-A5KZAMGK-Dj8Dz895.js} +1 -1
- package/dist/assets/{gitGraphDiagram-K3NZZRJ6-1Hd4fFZI.js → gitGraphDiagram-K3NZZRJ6-CbtCyig0.js} +1 -1
- package/dist/assets/{graph-D8YLYosB.js → graph-BSyLsRRZ.js} +1 -1
- package/dist/assets/{index-DLkyZ-Zb.js → index-JcYe5KP6.js} +2 -2
- package/dist/assets/{infoDiagram-LFFYTUFH-ClN29cDZ.js → infoDiagram-LFFYTUFH-Dt7Cxc1A.js} +1 -1
- package/dist/assets/{ishikawaDiagram-PHBUUO56-DDgBFnJ4.js → ishikawaDiagram-PHBUUO56-BATp1eBz.js} +1 -1
- package/dist/assets/{journeyDiagram-4ABVD52K-Cl9xLEhq.js → journeyDiagram-4ABVD52K-Cuk87Qh1.js} +1 -1
- package/dist/assets/{kanban-definition-K7BYSVSG-CBfTb1XX.js → kanban-definition-K7BYSVSG-dNdjELb5.js} +1 -1
- package/dist/assets/{layout-BSGsZPU6.js → layout-ikzzHuR8.js} +1 -1
- package/dist/assets/{linear-Cm4oUzYV.js → linear-BBrDskBJ.js} +1 -1
- package/dist/assets/{mermaid.core-Bfq98W72.js → mermaid.core-TSkGvSH8.js} +4 -4
- package/dist/assets/{mindmap-definition-YRQLILUH-S_0pZiXc.js → mindmap-definition-YRQLILUH-CtDrb2x9.js} +1 -1
- package/dist/assets/{pieDiagram-SKSYHLDU-CUof-7Ag.js → pieDiagram-SKSYHLDU-bkNmBvtc.js} +1 -1
- package/dist/assets/{quadrantDiagram-337W2JSQ-74oAPb7-.js → quadrantDiagram-337W2JSQ-Byl5XeRq.js} +1 -1
- package/dist/assets/{requirementDiagram-Z7DCOOCP-Dx_1a8Sm.js → requirementDiagram-Z7DCOOCP-CZTVT8Rt.js} +1 -1
- package/dist/assets/{sankeyDiagram-WA2Y5GQK-Ollqup46.js → sankeyDiagram-WA2Y5GQK-xmaiO1U4.js} +1 -1
- package/dist/assets/{sequenceDiagram-2WXFIKYE-CUQdI1hH.js → sequenceDiagram-2WXFIKYE-DjXGcDqg.js} +1 -1
- package/dist/assets/{stateDiagram-RAJIS63D-DA4bEZTV.js → stateDiagram-RAJIS63D-42-_6Ebg.js} +1 -1
- package/dist/assets/stateDiagram-v2-FVOUBMTO-Dk8cVTL7.js +1 -0
- package/dist/assets/{timeline-definition-YZTLITO2-hIqAiIh9.js → timeline-definition-YZTLITO2-DMCYajRr.js} +1 -1
- package/dist/assets/{treemap-KZPCXAKY-BPMtLzV0.js → treemap-KZPCXAKY-BHYJalU8.js} +1 -1
- package/dist/assets/{vennDiagram-LZ73GAT5-8C63L59W.js → vennDiagram-LZ73GAT5-DlJJRJ0l.js} +1 -1
- package/dist/assets/{xychartDiagram-JWTSCODW-rb793_nJ.js → xychartDiagram-JWTSCODW-GeZvsPf-.js} +1 -1
- package/dist/index.html +2 -2
- package/i18n.js +3 -3
- package/lib/perm-bridge.js +27 -18
- package/lib/sdk-adapter.js +77 -0
- package/lib/sdk-manager.js +464 -0
- package/package.json +5 -2
- package/server.js +58 -4
- package/dist/assets/AppHeader-DN09T_4w.css +0 -41
- package/dist/assets/Mobile-DfiaHmP0.js +0 -10
- package/dist/assets/channel-CA7t6n2N.js +0 -1
- package/dist/assets/classDiagram-VBA2DB6C-iCP3aAMs.js +0 -1
- package/dist/assets/classDiagram-v2-RAHNMMFH-iCP3aAMs.js +0 -1
- package/dist/assets/clone-DykZ1sNt.js +0 -1
- package/dist/assets/stateDiagram-v2-FVOUBMTO-DaqDUk5Z.js +0 -1
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
._root_1p13v_2{min-height:100vh;background:#0d0d0d;display:flex;justify-content:center;padding-top:60px}._inner_1p13v_10{width:100%;max-width:720px;padding:0 24px}._header_1p13v_17{margin-bottom:32px;text-align:center}._headerTitle_1p13v_22{color:#e5e5e5;margin:0}._headerFolderIcon_1p13v_27{margin-right:8px;color:#1668dc}._headerSubtitle_1p13v_32{font-size:13px}._addButtonRow_1p13v_36{margin-bottom:20px;text-align:center}._loadingCenter_1p13v_42{text-align:center;padding:60px}._emptyState_1p13v_47{margin-top:60px}._card_1p13v_52{margin-bottom:10px;background:#111;border-color:#2a2a2a;cursor:pointer}._cardRow_1p13v_59{display:flex;align-items:center;justify-content:space-between}._cardLeft_1p13v_65{flex:1;min-width:0}._cardNameRow_1p13v_70{display:flex;align-items:center;gap:8px;margin-bottom:4px}._cardName_1p13v_70{color:#e5e5e5;font-size:15px}._cardPath_1p13v_82{font-size:12px;word-break:break-all}._cardMeta_1p13v_87{display:flex;gap:16px;margin-top:6px;font-size:12px;color:#666}._dirPathHeader_1p13v_96{display:flex;align-items:center;gap:8px;padding:0 16px 10px;border-bottom:1px solid #2a2a2a}._dirCurrentPath_1p13v_104{color:#e5e5e5;font-size:13px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._dirFolderIcon_1p13v_113{margin-right:6px;color:#1668dc}._dirList_1p13v_118{max-height:400px;overflow-y:auto;padding:4px 0}._dirListCenter_1p13v_124{text-align:center;padding:40px}._dirItem_1p13v_129{display:flex;align-items:center;padding:8px 16px;cursor:pointer;transition:background .15s}._dirItemInner_1p13v_137{flex:1;display:flex;align-items:center;gap:8px;min-width:0}._dirItemName_1p13v_145{color:#e5e5e5;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._dirGitTag_1p13v_153{font-size:11px;line-height:18px;padding:0 4px;margin:0;flex-shrink:0}._dirFooter_1p13v_162{border-top:1px solid #2a2a2a;padding:10px 16px 4px;display:flex;flex-direction:column;gap:8px}._dirPathInputRow_1p13v_170{display:flex;gap:8px}._dirPathInput_1p13v_170{flex:1}._iconBtn_5ojec_1{cursor:pointer;display:inline-flex;align-items:center;transition:opacity .15s;flex-shrink:0}._layout_1psbq_1{height:100vh;overflow:hidden}._header_1psbq_6{background:#1e1e1e;border-bottom:1px solid #2a2a2a;padding:0 10px;height:40px;line-height:40px}._content_1psbq_14{flex:1;overflow:hidden}._mainContainer_1psbq_19{display:flex;height:100%}._leftPanel_1psbq_24{flex-shrink:0;border-right:1px solid #1e1e1e;display:flex;flex-direction:column;background:#0d0d0d}._leftPanelHeader_1psbq_32{padding:10px 16px;border-bottom:1px solid #1e1e1e;font-size:13px;color:#999;font-weight:500;display:flex;justify-content:space-between;align-items:center}._leftPanelCount_1psbq_43{font-size:12px;color:#555;font-weight:400}._leftPanelBody_1psbq_49{flex:1;overflow:hidden}._rightPanel_1psbq_54{flex:1;overflow:hidden;background:#0d0d0d}._modalActions_1psbq_60{margin-bottom:12px}._spinCenter_1psbq_64{text-align:center;padding:40px}._emptyCenter_1psbq_69{text-align:center;color:#999;padding:40px}._logCheckbox_1psbq_75{margin-right:8px}._logListContainer_1psbq_79{background:#0d0d0d;border-radius:8px;overflow:hidden}._logListItem_1psbq_85{cursor:pointer;padding:8px 12px;border-bottom:1px solid #1e1e1e}._logItemRow_1psbq_91{display:flex;align-items:center;width:100%;justify-content:space-between;flex-wrap:nowrap;gap:12px}._logItemRow_1psbq_91>span:first-child{display:flex;align-items:center;flex:1;min-width:0;overflow:hidden}._logFileName_1psbq_108{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._logItemRow_1psbq_91>span:last-child{display:flex;align-items:center;flex-shrink:0;gap:8px}._logFileIcon_1psbq_121{margin-right:8px;color:#3b82f6;flex-shrink:0}._loadingOverlay_1psbq_127{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:9999}._dragOverlay_1psbq_140{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:9999;pointer-events:none}._dragOverlayContent_1psbq_154{text-align:center;color:#e5e5e5;font-size:18px;border:2px dashed #3b82f6;border-radius:16px;padding:48px 64px}._dragIcon_1psbq_163{font-size:48px}._loadingText_1psbq_167{color:#fff;font-size:16px;font-weight:700}._mobileLoadingOverlay_1psbq_173{position:absolute;top:0;right:0;bottom:0;left:0;background:#000000e0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:200;gap:16px}._mobileLoadingSpinner_1psbq_185{width:36px;height:36px;border:3px solid #ffffff1a;border-top-color:#4a9eff;border-radius:50%;animation:_mobileSpin_1psbq_1 .8s linear infinite}@keyframes _mobileSpin_1psbq_1{to{transform:rotate(360deg)}}._mobileLoadingLabel_1psbq_198{color:#888;font-size:13px;font-variant-numeric:tabular-nums}._footer_1psbq_204{border-top:1px solid #1e1e1e;height:18px;background:#000;display:flex;align-items:center;justify-content:flex-start;padding:0 12px;flex-shrink:0}._footerRight_1psbq_215{display:flex;align-items:center;gap:6px;font-size:11px;color:#555}._footerText_1psbq_223{color:#444;margin-right:2px}._footerLink_1psbq_228{display:inline-flex;align-items:center;gap:3px;color:#555;text-decoration:none}._footerLink_1psbq_228:hover{color:#888}._footerIcon_1psbq_240{width:12px;height:12px}._footerDivider_1psbq_245{color:#303030}._footerText_1psbq_223{color:#555}._guideContainer_1psbq_253{display:flex;align-items:center;justify-content:center;height:100%;background:#0d0d0d}._guideContent_1psbq_261{max-width:560px;padding:40px}._guideTitle_1psbq_266{font-size:20px;font-weight:600;color:#e5e5e5;margin:0 0 28px}._guideStep_1psbq_273{display:flex;gap:14px;margin-bottom:22px}._guideStepNum_1psbq_279{flex-shrink:0;width:24px;height:24px;border-radius:50%;background:#1e1e1e;color:#60a5fa;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;margin-top:1px}._guideStepBody_1psbq_294{flex:1;min-width:0}._guideText_1psbq_299{color:#aaa;font-size:14px;line-height:1.6;margin:0 0 8px}._guideCode_1psbq_306{display:block;background:#111;border:1px solid #1e1e1e;border-radius:6px;padding:10px 14px;color:#60a5fa;font-size:13px;line-height:1.5;word-break:break-all;white-space:pre-wrap}._mobileChatOverlay_1psbq_319{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(100%);transition:transform .3s ease;z-index:100;background:#0d0d0d;display:flex;flex-direction:column;overflow:hidden}._mobileChatOverlayVisible_1psbq_331{transform:translate(0)}._mobileNavBtn_1psbq_335{color:#888;font-size:12px}._mobileChatInner_1psbq_340{flex:1;min-height:0;display:flex;flex-direction:column;zoom:.6}._mobileGitDiffOverlay_1psbq_348{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);transition:transform .3s ease;z-index:100;background:#0d0d0d;display:flex;flex-direction:column;overflow:hidden}._mobileGitDiffOverlayVisible_1psbq_360{transform:translate(0)}._mobileGitDiffInner_1psbq_364{flex:1;min-height:0;display:flex;flex-direction:column;zoom:.6}._mobileMenuBtn_1psbq_372{background:none;border:none;color:#aaa;padding:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:4px;flex-shrink:0}._mobileMenuBtn_1psbq_372:active{background:#ffffff1a}._mobileMenuOverlay_1psbq_389{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999}._mobileMenuDropdown_1psbq_395{position:absolute;top:100%;left:0;margin-top:4px;background:#1e1e1e;border:1px solid #303030;border-radius:8px;box-shadow:0 4px 12px #00000080;min-width:160px;z-index:1000;overflow:hidden}._mobileMenuItem_1psbq_409{display:flex;align-items:center;gap:8px;padding:12px 16px;color:#e5e5e5;font-size:14px;cursor:pointer;border:none;background:none;width:100%;text-align:left}._mobileMenuItem_1psbq_409:active{background:#ffffff1a}._mobileStatsOverlay_1psbq_427{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);transition:transform .3s ease;z-index:100;background:#0d0d0d;display:flex;flex-direction:column;overflow:hidden}._mobileStatsOverlayVisible_1psbq_439{transform:translate(0)}._mobileStatsInner_1psbq_443{flex:1;min-height:0;display:flex;flex-direction:column}._mobileLogMgmtOverlay_1psbq_450{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);transition:transform .3s ease;z-index:100;background:#0d0d0d;display:flex;flex-direction:column;overflow:hidden}._mobileLogMgmtOverlayVisible_1psbq_462{transform:translate(0)}._mobileLogMgmtHeader_1psbq_466{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid #1e1e1e;flex-shrink:0}._mobileLogMgmtTitle_1psbq_475{font-size:14px;font-weight:600;color:#e5e5e5}._mobileLogMgmtClose_1psbq_481{background:none;border:none;color:#888;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center}._mobileLogMgmtClose_1psbq_481:hover{color:#fff}._mobileLogMgmtActions_1psbq_496{display:flex;gap:8px;padding:8px 12px;border-bottom:1px solid #1e1e1e;flex-shrink:0}._mobileLogMgmtBody_1psbq_504{flex:1;min-height:0;overflow:hidden;padding:0 10px}._mobileSettingsOverlay_1psbq_511{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);transition:transform .3s ease;z-index:100;background:#0d0d0d;display:flex;flex-direction:column;overflow:hidden}._mobileSettingsOverlayVisible_1psbq_523{transform:translate(0)}._mobilePromptOverlay_1psbq_527{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);transition:transform .3s ease;z-index:100;background:#0d0d0d;display:flex;flex-direction:column;overflow:hidden}._mobilePromptOverlayVisible_1psbq_539{transform:translate(0)}._mobilePromptBody_1psbq_543{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}._mobilePromptList_1psbq_551{flex:1;overflow-y:auto;padding:0 12px}._mobilePromptItem_1psbq_557{padding:12px 0;border-bottom:1px solid #1e1e1e}._mobilePromptTimestamp_1psbq_562{font-size:11px;color:#666;margin-bottom:8px;font-family:ui-monospace,monospace}._mobilePromptCard_1psbq_569{margin:4px 0;background:#111;border-radius:6px;border:1px solid #303030;padding:10px 14px}._mobilePromptPreText_1psbq_577{white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.6;color:#e5e5e5;margin:4px 0}._tableTimestampCell_1psbq_587{white-space:nowrap}._tablePreviewText_1psbq_591{max-width:600px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}._tablePreviewTextClickable_1psbq_600{max-width:600px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;cursor:pointer}._tableTag_1psbq_610{background:#0d0d0d;border:1px solid #444;color:#999}._tableActionsCell_1psbq_616{display:flex;gap:4px}._mobileCLIRoot_1psbq_622{width:100%;height:100vh;display:flex;flex-direction:column;background:#000;overflow-x:hidden}._mobileCLIHeader_1psbq_631{padding:10px 12px;background:#111;border-bottom:1px solid #1e1e1e;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;position:relative}._mobileCLIHeaderLeft_1psbq_642{display:flex;align-items:center;gap:6px}._mobileCLIStatusLabel_1psbq_648{font-size:12px;color:#aaa}._mobileCLIHeaderRight_1psbq_653{display:flex;align-items:center;gap:4px}._mobileCLIBody_1psbq_659{flex:1;position:relative;overflow:hidden;display:flex;flex-direction:column}._mobileSettingsBody_1psbq_668{padding:12px 16px}._mobileSettingsSectionTitle_1psbq_672{font-size:13px;color:#888;font-weight:500;margin-bottom:12px}._mobileSettingsRow_1psbq_679{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #1e1e1e}._mobileSettingsLabel_1psbq_687{color:#ccc;font-size:14px}._mobilePromptEmpty_1psbq_693{text-align:center;color:#666;padding:40px 20px;font-size:14px}._mobilePromptHeader_1psbq_700{padding:8px 12px;border-bottom:1px solid #1e1e1e;display:flex;justify-content:space-between;align-items:center}._mobilePromptCount_1psbq_708{font-size:13px;color:#888}._chatViewWrapper_1psbq_714{height:100%;flex-direction:column}._resumeFooterRight_1psbq_720{text-align:right;margin-bottom:8px}._resumeFooterLeft_1psbq_725{text-align:left}._resumeCheckboxOpacity_1psbq_729{opacity:.6}._btnMarginLeft_1psbq_733{margin-left:8px}._btnMarginRight_1psbq_737{margin-right:8px}._modalTitleInline_1psbq_742{display:inline-flex;align-items:center;gap:8px}._previewPopover_1psbq_749{max-width:420px;min-width:280px;padding:8px}._previewItem_1psbq_755{background:#111;border-radius:6px;border:1px solid #303030;padding:8px 12px;margin-bottom:6px}._previewItem_1psbq_755:last-child{margin-bottom:0}._previewText_1psbq_767{white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.6;color:#e5e5e5;margin:0}._avatar_9ob2i_3{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}._avatarImg_9ob2i_13{width:32px;height:32px;border-radius:50%;flex-shrink:0;object-fit:cover}._bubble_9ob2i_21{border-radius:8px;border:1px solid #303030;box-sizing:border-box;padding:6px;max-width:100%;font-size:14px;line-height:1.6;word-break:break-word}._messageRow_9ob2i_34{display:flex;gap:10px;padding:8px 24px}._messageRowEnd_9ob2i_40{display:flex;gap:10px;padding:8px 24px;justify-content:flex-end}._contentCol_9ob2i_49{min-width:0}._contentColLimited_9ob2i_53{min-width:0;max-width:80%;width:fit-content}._labelRow_9ob2i_61{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px}._labelRowEnd_9ob2i_68{display:flex;justify-content:flex-end;align-items:center;margin-bottom:2px}._labelRight_9ob2i_75{display:flex;align-items:center;gap:4px;flex-shrink:0;margin-left:auto}._labelText_9ob2i_83{font-size:11px}._timeText_9ob2i_87,._timeTextNoMargin_9ob2i_93{font-size:10px;color:#6b7280;flex-shrink:0}._labelTextRight_9ob2i_99{font-size:11px;margin-left:auto}._bubbleUser_9ob2i_106{background:linear-gradient(to top,#1668dc,#1668dc);color:#e5e5e5;padding:8px 12px;border-color:#4a9eff}._bubbleUser_9ob2i_106:hover{border-color:#60a5fa;color:#fff}._bubbleAssistant_9ob2i_118{background:#111;color:#e5e5e5;transition:box-shadow 0s;position:relative}._bubbleAssistant_9ob2i_118>:last-child{margin-bottom:0}._bubbleAssistant_9ob2i_118:hover{background:#111;border:1px solid #303030}._bubbleHighlight_9ob2i_134{box-shadow:0 0 10px #1668dc99}._bubbleHighlightFading_9ob2i_138{box-shadow:0 0 10px #1668dc00;transition:box-shadow 5s ease-out}._borderSvg_9ob2i_143{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;overflow:visible}._borderSvgFading_9ob2i_152{opacity:0;transition:opacity 5s ease-out}._borderRect_9ob2i_157{animation:_dashRotate_9ob2i_1 4s linear infinite}@keyframes _dashRotate_9ob2i_1{0%{stroke-dashoffset:0}to{stroke-dashoffset:-100}}._bubblePlan_9ob2i_166{background:#14141f;border:5px solid #1668dc;font-size:12px;color:#e5e5e5}._bubbleSubAgent_9ob2i_174{background:#14141f;color:#e5e5e5}._bubbleSubAgent_9ob2i_174:hover{border:1px solid #444}._bubbleSelection_9ob2i_183{background:#1a3a1a;color:#e5e5e5}._bubbleSelection_9ob2i_183:hover{border:1px solid #444}._systemTagLabel_9ob2i_194{font-size:12px}._skillLabel_9ob2i_198{font-size:12px;color:#a78bfa}._systemTagPre_9ob2i_203{font-size:12px;color:#999;white-space:pre-wrap;word-break:break-all;margin:0}._collapseMargin_9ob2i_211{margin:4px 0}._collapseNoMargin_9ob2i_215{margin:0}._thinkingLabel_9ob2i_221{font-size:12px}._thinkingEmptyHint_9ob2i_225{display:flex;align-items:center;gap:10px;padding:6px 0;flex-wrap:wrap}._thinkingEmptyText_9ob2i_233{font-size:12px;opacity:.7}._enableThinkingBtn_9ob2i_238{font-size:12px;border-radius:4px}._bashCollapseLabel_9ob2i_243{font-size:12px;color:#999}._toolBox_9ob2i_250{background:#14141f;border:1px solid #2a2a3e;border-radius:6px;padding:8px 12px;margin:0 0 6px;font-size:12px}._toolBox_9ob2i_250:hover{border:1px solid #2a2a3e}._toolLabel_9ob2i_263{color:#a78bfa}._simplifiedToolLabel_9ob2i_267{display:inline-block;font-size:12px;color:#ffffff73;margin-right:4px;line-height:24px;vertical-align:middle}._simplifiedToolTag_9ob2i_276{display:inline-block;padding:1px 8px;margin:2px 4px 2px 0;font-size:12px;font-family:SF Mono,Fira Code,Fira Mono,Roboto Mono,monospace;color:#ffffff73;background:#1f1f1f;border:1px solid #3a3a3a;border-radius:4px;line-height:20px;cursor:pointer}._simplifiedToolTag_9ob2i_276:hover{border-color:#555}.simplifiedToolPopover ._ant-popover-inner_9ob2i_294{background:#1a1a2e;border:1px solid #2a2a3e;padding:0}.simplifiedToolPopover ._ant-popover-arrow_9ob2i_300:before,.simplifiedToolPopover ._ant-popover-arrow_9ob2i_300:after{background:#1a1a2e}._simplifiedToolPopoverContent_9ob2i_305{max-width:520px;max-height:360px;overflow:auto}.simplifiedToolPopover{max-width:calc(100vw - 24px)}@media(max-width:768px){._simplifiedToolPopoverContent_9ob2i_305{max-width:calc(100vw - 48px);max-height:260px}}._codePre_9ob2i_324{font-size:12px;margin:4px 0 0;white-space:pre-wrap;word-break:break-all;background:#000;border-radius:4px;padding:6px 8px}._pathTag_9ob2i_336{color:#7dd3fc;font-size:11px}._pathTagClickable_9ob2i_341{color:#666;font-size:11px;cursor:pointer}._pathTagClickable_9ob2i_341:hover{text-decoration:underline;color:#60a5fa}._descSpan_9ob2i_354{color:#6b7280;font-weight:400}._secondarySpan_9ob2i_359{color:#6b7280}._patternSpan_9ob2i_363{color:#fbbf24}._kvContainer_9ob2i_369{margin-top:4px;font-size:11px}._kvItem_9ob2i_374{margin:2px 0}._kvKey_9ob2i_378{color:#7dd3fc}._kvValue_9ob2i_382{color:#999}._toolResult_9ob2i_388{background:#0d1117;border:1px solid #1a2332;border-radius:6px;padding:6px 10px;margin:2px 0 6px;font-size:11px}._toolResultLabel_9ob2i_397{font-size:11px}._compactLabel_9ob2i_403{font-size:12px;color:#60a5fa}._compactPre_9ob2i_408{font-size:12px;color:#e5e5e5;white-space:pre-wrap;word-break:break-all;margin:0}._viewRequestBtn_9ob2i_418{font-size:10px;color:#555;cursor:pointer;margin-left:6px;flex-shrink:0}._viewRequestBtn_9ob2i_418:hover{color:#60a5fa}._optionList_9ob2i_432{padding-left:8px}._optionDesc_9ob2i_436{color:#555;margin-left:6px;font-weight:400}._questionText_9ob2i_444{font-size:13px;color:#ccc;margin-bottom:4px}._questionSpacing_9ob2i_450{margin-bottom:10px}._option_9ob2i_432{font-size:12px;padding:1px 0}._askQuestionBox_9ob2i_463{background:#162312;border:1px solid #2ea043;border-radius:6px;padding:8px 12px;margin:6px 0;font-size:12px}._askQuestionHeader_9ob2i_472{display:inline-block;background:#1a3a1a;color:#4ade80;font-size:10px;padding:1px 6px;border-radius:4px;margin-bottom:4px;font-weight:600}._askQuestionText_9ob2i_483{color:#e5e5e5;font-size:13px;margin-bottom:4px}._askOptionItem_9ob2i_489{font-size:12px;color:#999;padding:1px 0;display:flex;align-items:center;gap:4px}._askOptionSelected_9ob2i_498{color:#e5e5e5;font-weight:600}._askCheckSvg_9ob2i_503{flex-shrink:0;vertical-align:middle}._planModeBox_9ob2i_510{background:#0d1117;border:1px solid #1668dc;border-radius:6px;padding:8px 12px;margin:6px 0;font-size:12px}._planModeLabel_9ob2i_519{color:#60a5fa;font-weight:600}._planModePermissions_9ob2i_524{margin-top:6px;padding-top:6px;border-top:1px solid #1e3a5f}._planModePermLabel_9ob2i_530{color:#6b7280;font-size:11px;margin-bottom:2px}._planModeHeader_9ob2i_536{display:flex;justify-content:space-between;align-items:center}._planStatusBadge_9ob2i_542{font-size:11px;font-weight:600;padding:1px 8px;border-radius:10px;line-height:1.6}._planStatusApproved_9ob2i_550{border-color:#22c55e}._planStatusApproved_9ob2i_550._planStatusBadge_9ob2i_542{background:#22c55e26;color:#4ade80}._planStatusRejected_9ob2i_559{border-color:#ef4444}._planStatusRejected_9ob2i_559._planStatusBadge_9ob2i_542{background:#ef444426;color:#f87171}._planStatusPending_9ob2i_568{border-color:#1668dc}._planStatusPending_9ob2i_568._planStatusBadge_9ob2i_542{background:#1668dc26;color:#60a5fa}._planContentPreview_9ob2i_577{margin-top:8px;padding:8px 10px;background:#14141f;border-radius:4px;font-size:12px;color:#e5e5e5;max-height:min(400px,50vh);overflow-y:auto;border:1px solid #1e3a5f}._planFeedback_9ob2i_589{margin-top:6px;padding:6px 8px;background:#ef44441a;border-radius:4px;font-size:12px;color:#e5e5e5}._planFeedbackLabel_9ob2i_598{color:#f87171;font-weight:600}._planApprovalActions_9ob2i_603{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}._planApproveBtn_9ob2i_610{padding:4px 16px;border-radius:4px;border:1px solid #22c55e;background:#22c55e26;color:#4ade80;font-size:13px;cursor:pointer;transition:background .15s}._planApproveBtn_9ob2i_610:hover{background:#22c55e4d}._planRejectBtn_9ob2i_625{padding:4px 16px;border-radius:4px;border:1px solid #ef4444;background:#ef444426;color:#f87171;font-size:13px;cursor:pointer;transition:background .15s}._planRejectBtn_9ob2i_625:hover{background:#ef44444d}._planOptionBtn_9ob2i_640{padding:4px 16px;border-radius:4px;border:1px solid #6b7280;background:#6b728026;color:#e5e5e5;font-size:13px;cursor:pointer;transition:background .15s}._planOptionBtn_9ob2i_640:hover{background:#6b72804d}._dangerApprovalBox_9ob2i_655{background:#2a2000;border:1px solid #f59e0b;border-radius:6px;padding:8px 12px;margin:6px 0;font-size:12px}._dangerApprovalBoxDenied_9ob2i_664{border-color:#ef4444}._dangerApprovalHeader_9ob2i_668{display:flex;align-items:center;gap:6px}._dangerApprovalIcon_9ob2i_674{color:#fbbf24;font-size:14px}._dangerApprovalLabel_9ob2i_679{color:#fbbf24;font-weight:600}._dangerApprovalActions_9ob2i_684{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}._dangerApproveBtn_9ob2i_691{padding:4px 16px;border-radius:4px;border:1px solid #22c55e;background:#22c55e26;color:#4ade80;font-size:13px;cursor:pointer;transition:background .15s}._dangerApproveBtn_9ob2i_691:hover{background:#22c55e4d}._dangerRejectBtn_9ob2i_706{padding:4px 16px;border-radius:4px;border:1px solid #ef4444;background:#ef444426;color:#f87171;font-size:13px;cursor:pointer;transition:background .15s}._dangerRejectBtn_9ob2i_706:hover{background:#ef44444d}._dangerOptionBtn_9ob2i_721{padding:4px 16px;border-radius:4px;border:1px solid #f59e0b;background:#f59e0b26;color:#fbbf24;font-size:13px;cursor:pointer;transition:background .15s}._dangerOptionBtn_9ob2i_721:hover{background:#f59e0b4d}._dangerDeniedBadge_9ob2i_736{display:inline-block;font-size:11px;font-weight:600;padding:1px 8px;border-radius:10px;background:#ef444426;color:#f87171;line-height:1.6}._dangerDeniedDetail_9ob2i_747{margin-top:6px;font-size:11px;color:#999;line-height:1.5;white-space:pre-wrap;max-height:80px;overflow-y:auto}._planFeedbackInputWrap_9ob2i_757{margin-top:8px}._planFeedbackTextarea_9ob2i_761{width:100%;min-height:60px;max-height:120px;padding:8px 10px;border-radius:4px;border:1px solid #555;background:#1a2332;color:#e5e5e5;font-size:13px;line-height:1.5;resize:vertical;font-family:inherit;outline:none}._planFeedbackTextarea_9ob2i_761:focus{border-color:#3b82f6}._planFeedbackBtnRow_9ob2i_781{display:flex;gap:8px;margin-top:6px;justify-content:flex-end}._planFeedbackSendBtn_9ob2i_788{padding:4px 16px;border-radius:4px;border:1px solid #3b82f6;background:#3b82f633;color:#60a5fa;font-size:13px;cursor:pointer;transition:background .15s}._planFeedbackSendBtn_9ob2i_788:hover{background:#3b82f659}._planFeedbackSendBtn_9ob2i_788:disabled{opacity:.4;cursor:not-allowed}._planFeedbackCancelBtn_9ob2i_808{padding:4px 16px;border-radius:4px;border:1px solid #6b7280;background:#6b728026;color:#e5e5e5;font-size:13px;cursor:pointer;transition:background .15s}._planFeedbackCancelBtn_9ob2i_808:hover{background:#6b72804d}._askQuestionInteractive_9ob2i_825{background:#0d1117;border:1px solid #1668dc;border-radius:6px;padding:8px 12px;margin:6px 0;font-size:12px}._askRadioGroup_9ob2i_834{display:flex;flex-direction:column;gap:2px;padding-left:4px;margin-top:4px}._askRadioItem_9ob2i_842{color:#e5e5e5;font-size:12px;padding:3px 0;cursor:pointer;display:flex;align-items:baseline;gap:6px;-webkit-user-select:none;user-select:none}._askRadioItem_9ob2i_842:hover{color:#fff}._askRadioItemSelected_9ob2i_857{color:#60a5fa}._askRadioDot_9ob2i_861{flex-shrink:0;font-size:13px;line-height:1}._askRadioGroup_9ob2i_834 .ant-radio-wrapper,._askCheckboxGroup_9ob2i_868 .ant-checkbox-wrapper{color:#e5e5e5;font-size:12px;padding:3px 0;cursor:pointer;pointer-events:auto}._askRadioGroup_9ob2i_834 .ant-radio-wrapper>span,._askRadioGroup_9ob2i_834 .ant-radio{cursor:pointer;pointer-events:auto}._askRadioGroup_9ob2i_834 .ant-radio-input{cursor:pointer}._askCheckboxGroup_9ob2i_868{display:flex;flex-direction:column;gap:2px;padding-left:4px;margin-top:4px}._askOtherInput_9ob2i_894{margin-top:4px;margin-left:24px;width:calc(100% - 24px)}._askOtherInput_9ob2i_894 .ant-input{background:#1a2332;border-color:#555;color:#e5e5e5;font-size:12px}._askSubmitRow_9ob2i_907{display:flex;justify-content:flex-end;margin-top:8px}._askSubmitBtn_9ob2i_913{padding:4px 20px;border-radius:4px;border:1px solid #1668dc;background:#1668dc33;color:#60a5fa;font-size:13px;cursor:pointer;transition:background .15s}._askSubmitBtn_9ob2i_913:hover{background:#1668dc59}._askSubmitBtn_9ob2i_913:disabled{opacity:.4;cursor:not-allowed}._askMarkdownLayout_9ob2i_933{display:flex;gap:12px;margin-top:4px}._askMarkdownLayout_9ob2i_933>:first-child{flex:1;min-width:0}._askMarkdownPreview_9ob2i_944{flex:1;min-width:0;background:#0d1117;border:1px solid #2a2a3e;border-radius:6px;padding:8px 10px;font-size:12px;color:#e5e5e5;max-height:240px;overflow-y:auto}._askMarkdownPreview_9ob2i_944 pre{white-space:pre-wrap;word-break:break-all;margin:0;font-family:SF Mono,Menlo,Consolas,monospace;font-size:11px;line-height:1.5}._chatImageFallback_9ob2i_968{color:#888;font-size:12px}._chatImageImg_9ob2i_973{max-width:100%;max-height:300px;border-radius:6px;margin:6px 0;display:block;cursor:pointer}._bubbleRelative_9ob2i_984{position:relative}._skillSpacer_9ob2i_990{width:32px;flex-shrink:0}._skillTimeIndent_9ob2i_997{margin-left:8px}._previewPlaceholder_9ob2i_1001{color:#6b7280}._wrapper_1cbwq_1{margin:0 0 6px;background:#14141f;border:1px solid #2a2a3e;border-radius:6px;padding:8px 12px}._wrapper_1cbwq_1:hover{border-color:#2a2a3e}._header_1cbwq_13{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}._headerRight_1cbwq_20{display:flex;align-items:center;gap:12px;flex-shrink:0;white-space:nowrap}._filePath_1cbwq_28{color:#a78bfa;font-size:12px;font-weight:600}._filePathClickable_1cbwq_34{color:#a78bfa;font-size:12px;font-weight:600;cursor:pointer}._filePathClickable_1cbwq_34:hover{text-decoration:underline;color:#c4b5fd}._toggle_1cbwq_46{color:#6b7280;font-size:11px;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;flex-shrink:0}._diffSummary_1cbwq_55{font-size:11px;color:#6b7280}._diffBody_1cbwq_62{display:flex;font-family:SF Mono,Cascadia Code,Fira Code,Menlo,Consolas,monospace;font-size:12px;line-height:1.5;background:#111;border:1px solid #303030}._gutter_1cbwq_72{flex-shrink:0;-webkit-user-select:none;user-select:none}._gutterRow_1cbwq_77{display:flex;height:18px}._lineNumOld_1cbwq_82,._lineNumNew_1cbwq_83{text-align:right;color:#888;padding:0 6px 0 2px;box-sizing:border-box}._prefix_1cbwq_90{width:16px;min-width:16px;text-align:center;font-weight:600}._codeWrap_1cbwq_98{flex:1;min-width:0;overflow-x:auto}._codeInner_1cbwq_105{display:inline-block;min-width:100%}._codeLine_1cbwq_110{white-space:pre;padding:0 4px;height:18px}._rowContext_1cbwq_118{background:#111;color:#888}._rowDel_1cbwq_123{background:#ef44444d;color:#fca5a5}._rowDel_1cbwq_123._gutterRow_1cbwq_77 ._prefix_1cbwq_90{color:#ef4444}._rowAdd_1cbwq_131{background:#22c55e4d;color:#4ade80}._rowAdd_1cbwq_131._gutterRow_1cbwq_77 ._prefix_1cbwq_90{color:#22c55e}._rowContext_1cbwq_118._gutterRow_1cbwq_77{background:#111}._plainResult_dboy0_1{background:#111;border-radius:4px;border:1px solid #1e1e1e;overflow:hidden;font-size:12px;margin-bottom:6px}._plainResult_dboy0_1:hover{border-color:#303030}._plainTitle_dboy0_14{font-size:11px}._plainPre_dboy0_18{color:#e5e5e5;margin:0;white-space:pre-wrap;word-break:break-all;font-size:12px;padding:8px 12px}._codeResult_dboy0_27{background:#111;border-radius:4px;border:1px solid #1e1e1e;overflow:hidden;margin-bottom:6px}._codeResult_dboy0_27:hover{border-color:#303030}._codeHeader_dboy0_39{display:flex;justify-content:space-between;align-items:center;padding:4px 10px;background:#000}._codeHeader_dboy0_39:not(:last-child){border-bottom:1px solid #1e1e1e}._codeTitle_dboy0_51{font-size:11px;color:#888}._codeToggle_dboy0_56{font-size:11px;color:#555;cursor:pointer;-webkit-user-select:none;user-select:none}._codePre_dboy0_63{margin:0;padding:8px 12px;font-size:12px;line-height:1.5;overflow:auto;max-height:500px;background:#000}._markdownBody_dboy0_73{padding:8px 12px;font-size:13px;line-height:1.6;overflow:auto;max-height:500px}._overlay_rqrfw_1{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;background:#000000e0;display:flex;align-items:center;justify-content:center;cursor:default;-webkit-user-select:none;user-select:none;animation:_fadeIn_rqrfw_1 .15s ease-out;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);box-sizing:border-box}._overlay_rqrfw_1._dragging_rqrfw_21{cursor:grabbing}._overlay_rqrfw_1._closing_rqrfw_22{animation:_fadeOut_rqrfw_1 .15s ease-in forwards;pointer-events:none}@keyframes _fadeIn_rqrfw_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_rqrfw_1{0%{opacity:1}to{opacity:0}}._closeBtn_rqrfw_34{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));z-index:2;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#00000080;border:none;border-radius:50%;color:#fff;cursor:pointer;transition:background .15s}._closeBtn_rqrfw_34:hover{background:#fff3}._imageArea_rqrfw_54{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none}._image_rqrfw_54{max-width:90vw;max-height:90vh;object-fit:contain;cursor:grab;transform-origin:center center;transition:opacity .2s;border-radius:4px}._overlay_rqrfw_1._dragging_rqrfw_21 ._image_rqrfw_54{cursor:grabbing}._spinner_rqrfw_76{width:32px;height:32px;border:3px solid #ffffff26;border-top-color:#ffffffb3;border-radius:50%;animation:_spin_rqrfw_76 .7s linear infinite}@keyframes _spin_rqrfw_76{to{transform:rotate(360deg)}}._zoomLabel_rqrfw_89{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);padding:4px 12px;background:#0009;color:#fff;font-size:13px;border-radius:12px;pointer-events:none}._errorMsg_rqrfw_103{color:#999;font-size:15px;text-align:center}@media(max-width:768px){._closeBtn_rqrfw_34{top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right))}}/**
|
|
2
|
-
* Copyright (c) 2014 The xterm.js authors. All rights reserved.
|
|
3
|
-
* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
|
|
4
|
-
* https://github.com/chjj/term.js
|
|
5
|
-
* @license MIT
|
|
6
|
-
*
|
|
7
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
-
* in the Software without restriction, including without limitation the rights
|
|
10
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
-
* furnished to do so, subject to the following conditions:
|
|
13
|
-
*
|
|
14
|
-
* The above copyright notice and this permission notice shall be included in
|
|
15
|
-
* all copies or substantial portions of the Software.
|
|
16
|
-
*
|
|
17
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
-
* THE SOFTWARE.
|
|
24
|
-
*
|
|
25
|
-
* Originally forked from (with the author's permission):
|
|
26
|
-
* Fabrice Bellard's javascript vt100 for jslinux:
|
|
27
|
-
* http://bellard.org/jslinux/
|
|
28
|
-
* Copyright (c) 2011 Fabrice Bellard
|
|
29
|
-
* The original design remains. The terminal itself
|
|
30
|
-
* has been extended to include xterm CSI codes, among
|
|
31
|
-
* other features.
|
|
32
|
-
*/.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{font-family:monospace;-webkit-user-select:text;user-select:text;white-space:pre}.xterm .xterm-accessibility-tree>div{transform-origin:left;width:fit-content}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{position:absolute;display:none}.xterm .xterm-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}._terminalPanel_x4r89_1{height:100%;display:flex;flex-direction:column;background:#0d0d0d}._terminalContainer_x4r89_8{flex:1;overflow:hidden;padding:4px 8px;touch-action:none;overscroll-behavior:contain}._terminalContainer_x4r89_8 .xterm-helper-textarea{caret-color:#0000!important}._terminalToolbar_x4r89_21{height:35px;flex-shrink:0;display:flex;align-items:center;padding:0 8px;gap:4px;border-top:1px solid #1e1e1e;background:#0d0d0d}._toolbarBtn_x4r89_32{display:flex;align-items:center;gap:4px;height:26px;padding:0 10px;border:1px solid #303030;border-radius:4px;background:#1e1e1e;color:#aaa;font-size:12px;cursor:pointer;white-space:nowrap}._toolbarBtn_x4r89_32:hover{background:#2a2a2a;color:#e5e5e5;border-color:#555}._toolbarBtnDisabled_x4r89_53{opacity:.4;cursor:not-allowed}._toolbarBtnDisabled_x4r89_53:hover{background:#1e1e1e;color:#aaa;border-color:#303030}._toolbarBtn_x4r89_32 svg{width:14px;height:14px}._virtualKeybar_x4r89_68{display:flex;gap:6px;padding:8px 10px;background:#111;border-top:1px solid #1e1e1e;overflow-x:auto;flex-shrink:0;-webkit-overflow-scrolling:touch}._virtualKey_x4r89_68{flex-shrink:0;padding:12px 20px;border:1px solid #303030;border-radius:8px;background:#1e1e1e;color:#ccc;font-size:15px;font-family:Menlo,Monaco,monospace;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:#00000000;touch-action:pan-x;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}._virtualKeyPressed_x4r89_99{background:#303030;border-color:#555;color:#fff}._vkSeparator_x4r89_106{flex-shrink:0;width:1px;align-self:stretch;margin:4px 2px;background:#303030}._vkAction_x4r89_115{padding:8px 14px;gap:6px;min-height:44px}._vkAction_x4r89_115 svg{width:16px;height:16px;flex-shrink:0}._vkTeamLabel_x4r89_127{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px;font-size:13px}._vkTeamPreset_x4r89_136{border-color:#2a5a3a}._vkDisabled_x4r89_141{opacity:.5;border-style:dashed}._presetList_x4r89_147{background:#0d0d0d;border:1px solid #303030;border-radius:6px;max-height:260px;overflow-y:auto}._presetRow_x4r89_155{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid #1e1e1e}._presetRow_x4r89_155:last-child{border-bottom:none}._presetRowDragging_x4r89_167{opacity:.4}._presetRowDragOver_x4r89_171{border-top:2px solid #1668dc;padding-top:6px}._dragHandle_x4r89_176{cursor:grab;color:#444;flex-shrink:0;display:flex;align-items:center;padding:0 2px;transition:color .15s}._dragHandle_x4r89_176:hover{color:#888}._dragHandle_x4r89_176:active{cursor:grabbing}._presetText_x4r89_194{flex:1;font-size:13px;color:#e5e5e5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}._presetMenu_x4r89_204{display:flex;flex-direction:column}._presetMenuItem_x4r89_209{background:none;border:none;color:#e5e5e5;font-size:13px;padding:6px 12px;text-align:left;cursor:pointer;border-radius:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}._presetMenuItem_x4r89_209:hover{background:#303030}._presetName_x4r89_228{width:100px;flex-shrink:0;font-size:13px;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._presetInput_x4r89_238{width:600px;background:#111;border:1px solid #303030;border-radius:6px;color:#e5e5e5;font-size:13px;padding:6px 12px;outline:none;box-sizing:border-box}._presetInput_x4r89_238:focus{border-color:#1668dc}._presetTextarea_x4r89_254{width:600px;background:#111;border:1px solid #303030;border-radius:6px;color:#e5e5e5;font-size:13px;padding:8px 12px;resize:none;outline:none;box-sizing:border-box}._presetTextarea_x4r89_254:focus{border-color:#1668dc}._hiddenFileInput_x4r89_271{display:none}._popoverEmptyHint_x4r89_275{color:#666;font-size:13px;padding:8px 12px;text-align:center}._agentTeamDisabledTip_x4r89_282{color:#ccc;font-size:13px;margin-bottom:10px}._toolbarBtnRight_x4r89_288{margin-left:auto}._presetSectionHeader_x4r89_292{margin-bottom:8px}._presetSectionTitle_x4r89_296{font-size:14px;font-weight:600;color:#e5e5e5}._presetListEmptyHint_x4r89_302{color:#666;font-size:13px;padding:12px 0;text-align:center}._presetActions_x4r89_309{margin-top:10px;display:flex;gap:8px}._presetFormField_x4r89_315{margin-bottom:8px}._presetFormLabel_x4r89_319{font-size:13px;color:#aaa;display:block;margin-bottom:4px}._fileExplorer_14o5i_1{width:240px;flex-shrink:0;background:#111;border-right:1px solid #2a2a2a;display:flex;flex-direction:column;overflow:hidden;-webkit-user-select:none;user-select:none}._header_14o5i_12{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #2a2a2a;flex-shrink:0}._headerTitle_14o5i_21{font-size:11px;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.5px;display:inline-flex;align-items:center;gap:5px}._collapseBtn_14o5i_32{width:20px;height:20px;border:none;background:none;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:4px;padding:0}._collapseBtn_14o5i_32:hover{color:#ccc;background:#2a2a2a}._treeContainer_14o5i_51{flex:1;overflow:auto;padding:4px 0}._treeItem_14o5i_57{display:flex;align-items:center;height:26px;padding:0 8px;cursor:pointer;color:#ccc;font-size:13px;white-space:nowrap;transition:background .1s}._treeItem_14o5i_57:hover{background:#1e1e1e}._treeItem_14o5i_57._treeItemSelected_14o5i_73{background:#532f00}._arrow_14o5i_77{width:16px;flex-shrink:0;color:#666;display:flex;align-items:center;justify-content:center}._icon_14o5i_86{width:16px;height:16px;flex-shrink:0;margin-right:6px;display:flex;align-items:center;justify-content:center}._fileName_14o5i_96{overflow:hidden;text-overflow:ellipsis}._fileNameInput_14o5i_101{background:#0000;border:none;border-bottom:1px solid #4a9eff;color:#ccc;font-size:13px;font-family:inherit;padding:0;margin:0;outline:none;width:100%;min-width:40px;height:20px;line-height:20px}._loading_14o5i_117{color:#555;font-size:12px;padding:4px 8px}._error_14o5i_123{color:#f87171;font-size:12px;padding:4px 8px}._treeItemGitIgnored_14o5i_129{opacity:.4}._arrowIcon_14o5i_133{transition:transform .15s}._fileContentView_urqjh_1{display:flex;flex-direction:column;height:100%;background:#0d0d0d;animation:_slideInFromRight_urqjh_1 .25s ease-out}@keyframes _slideInFromRight_urqjh_1{0%{transform:translate(-40px);opacity:0}to{transform:translate(0);opacity:1}}._closing_urqjh_20{animation:_slideOutToRight_urqjh_1 .2s ease-in forwards}@keyframes _slideOutToRight_urqjh_1{0%{transform:translate(0);opacity:1}to{transform:translate(-40px);opacity:0}}._editorBanner_urqjh_35{padding:6px 16px;background:#1a3a1a;color:#4ade80;font-size:12px;text-align:center;flex-shrink:0;border-bottom:1px solid #2a5a3a;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .15s}._editorBanner_urqjh_35:hover{background:#2a5a3a}._header_urqjh_52{display:flex;align-items:center;justify-content:space-between;padding:6px 16px;border-bottom:1px solid #2a2a2a;background:#111;flex-shrink:0}._headerLeft_urqjh_62{display:flex;align-items:center;gap:8px;flex:1;min-width:0}._headerRight_urqjh_70{display:flex;align-items:center;gap:10px;flex-shrink:0}._backBtn_urqjh_77{width:28px;height:28px;border:none;background:none;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:6px;padding:0;flex-shrink:0;transition:background .15s,color .15s}._backBtn_urqjh_77:hover{color:#ccc;background:#1e1e1e}._filePath_urqjh_98{font-size:13px;color:#ccc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._fileSize_urqjh_106{font-size:11px;color:#666;flex-shrink:0;margin-left:8px}._closeBtn_urqjh_113{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;background:transparent;color:#888;border-radius:6px;cursor:pointer;transition:background .15s,color .15s}._closeBtn_urqjh_113:hover{background:#ffffff1a;color:#fff}._viewToggleBtn_urqjh_133{display:flex;align-items:center;gap:4px;padding:4px 10px;border:1px solid #3a3a3a;background:#1e1e1e;color:#999;font-size:12px;border-radius:6px;cursor:pointer;transition:background .15s,color .15s,border-color .15s;white-space:nowrap}._viewToggleBtn_urqjh_133:hover{background:#2a2a2a;color:#fff;border-color:#444}._viewToggleActive_urqjh_152{color:#4a9eff;border-color:#4a9eff}._markdownPreview_urqjh_157{flex:1;overflow-y:auto;padding:24px 36px;color:#e5e5e5;font-size:14px;line-height:1.75;background:#0d0d0d}._markdownPreview_urqjh_157 h1,._markdownPreview_urqjh_157 h2,._markdownPreview_urqjh_157 h3,._markdownPreview_urqjh_157 h4,._markdownPreview_urqjh_157 h5,._markdownPreview_urqjh_157 h6{color:#e5e5e5;margin:1.2em 0 .6em;line-height:1.3}._markdownPreview_urqjh_157 h1{font-size:1.8em;border-bottom:1px solid #303030;padding-bottom:.3em}._markdownPreview_urqjh_157 h2{font-size:1.5em;border-bottom:1px solid #2a2a2a;padding-bottom:.25em}._markdownPreview_urqjh_157 h3{font-size:1.25em}._markdownPreview_urqjh_157 p{margin:.8em 0}._markdownPreview_urqjh_157 a{color:#4a9eff;text-decoration:none}._markdownPreview_urqjh_157 a:hover{text-decoration:underline}._markdownPreview_urqjh_157 code{background:#1e1e1e;color:#e06c75;padding:2px 6px;border-radius:4px;font-size:.9em;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,monospace}._markdownPreview_urqjh_157 pre{background:#111;border:1px solid #2a2a2a;border-radius:8px;padding:14px 18px;overflow-x:auto;margin:1em 0}._markdownPreview_urqjh_157 pre code{background:none;color:#e5e5e5;padding:0;font-size:13px}._markdownPreview_urqjh_157 blockquote{border-left:3px solid #4a9eff;margin:1em 0;padding:.5em 1em;color:#aaa;background:#4a9eff0d;border-radius:0 6px 6px 0}._markdownPreview_urqjh_157 table{border-collapse:collapse;width:100%;margin:1em 0}._markdownPreview_urqjh_157 th,._markdownPreview_urqjh_157 td{border:1px solid #303030;padding:8px 12px;text-align:left}._markdownPreview_urqjh_157 th{background:#1e1e1e;color:#e5e5e5;font-weight:600}._markdownPreview_urqjh_157 tr:nth-child(2n){background:#ffffff0a}._markdownPreview_urqjh_157 ul,._markdownPreview_urqjh_157 ol{padding-left:2em;margin:.8em 0}._markdownPreview_urqjh_157 li{margin:.3em 0}._markdownPreview_urqjh_157 hr{border:none;border-top:1px solid #303030;margin:1.5em 0}._markdownPreview_urqjh_157 img{max-width:100%;height:auto;border-radius:6px}._markdownPreview_urqjh_157 input[type=checkbox]{margin-right:6px}._saveBtn_urqjh_236{display:flex;align-items:center;gap:5px;padding:4px 12px;border:1px solid #3a3a3a;background:#1e1e1e;color:#ccc;font-size:12px;border-radius:6px;cursor:pointer;transition:background .15s,color .15s,border-color .15s;white-space:nowrap}._saveBtn_urqjh_236:hover:not(:disabled){background:#2a2a2a;color:#fff;border-color:#444}._saveBtn_urqjh_236:disabled{opacity:.4;cursor:not-allowed}._saveStatus_urqjh_262{font-size:11px;color:#888;white-space:nowrap}._saveStatusSaved_urqjh_268{color:#22c55e}._saveStatusFailed_urqjh_272{color:#f87171}._contentContainer_urqjh_276{flex:1;overflow:hidden;background:#0d0d0d;display:flex;min-height:0;min-width:0}._editorWrapper_urqjh_285{flex:1;display:flex;min-height:0;min-width:0;overflow:hidden}._lineNumCol_urqjh_293{flex-shrink:0;width:56px;overflow:hidden;background:#0d0d0d;border-right:1px solid #2a2a2a;-webkit-user-select:none;user-select:none;padding-top:4px}._lineNumRow_urqjh_303{padding:0 16px;text-align:right;color:#555;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;font-size:13px;line-height:1.5;white-space:nowrap}._editorCol_urqjh_313{flex:1;min-width:0;min-height:0;display:flex}._editorCol_urqjh_313 .cm-theme{flex:1;display:flex;min-height:0;min-width:0}._editorCol_urqjh_313 .cm-editor{flex:1;min-width:0;min-height:0}._loading_urqjh_333{display:flex;align-items:center;justify-content:center;height:100%;width:100%;color:#666;font-size:14px}._error_urqjh_343{display:flex;align-items:center;justify-content:center;height:100%;width:100%;color:#f87171;font-size:14px}._imageViewer_9kfah_1{display:flex;flex-direction:column;height:100%;background:#0d0d0d}._header_9kfah_8{display:flex;align-items:center;justify-content:space-between;padding:6px 16px;border-bottom:1px solid #2a2a2a;background:#111;flex-shrink:0}._headerLeft_9kfah_18{display:flex;align-items:center;gap:8px;flex:1;min-width:0}._headerRight_9kfah_26{display:flex;align-items:center;gap:10px;flex-shrink:0}._backBtn_9kfah_33{width:28px;height:28px;border:none;background:none;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:6px;padding:0;flex-shrink:0;transition:background .15s,color .15s}._backBtn_9kfah_33:hover{color:#ccc;background:#1e1e1e}._filePath_9kfah_54{font-size:13px;color:#ccc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._fileSize_9kfah_62{font-size:11px;color:#666;flex-shrink:0}._toolbar_9kfah_68{display:flex;align-items:center;gap:4px;padding:6px 16px;background:#111;border-bottom:1px solid #2a2a2a;flex-shrink:0}._toolBtn_9kfah_78{width:28px;height:28px;border:1px solid #3a3a3a;background:#1e1e1e;color:#999;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:6px;padding:0;transition:background .15s,color .15s,border-color .15s}._toolBtn_9kfah_78:hover{background:#2a2a2a;color:#fff;border-color:#444}._zoomLabel_9kfah_99{font-size:11px;color:#888;min-width:42px;text-align:center;-webkit-user-select:none;user-select:none}._canvasArea_9kfah_107{flex:1;overflow:hidden;position:relative;cursor:grab;background-color:#1e1e1e;background-image:linear-gradient(45deg,#222 25%,#0000 25%),linear-gradient(-45deg,#222 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#222 75%),linear-gradient(-45deg,#0000 75%,#222 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}._canvasArea_9kfah_107._dragging_9kfah_122{cursor:grabbing}._imageWrap_9kfah_126{position:absolute;top:0;left:0;transform-origin:0 0}._imageWrap_9kfah_126 img{display:block;max-width:none;image-rendering:auto}._svgInline_9kfah_139{background:#1e1e1e;border-radius:8px;padding:24px;display:inline-flex;align-items:center;justify-content:center}._svgInline_9kfah_139 svg{display:block;height:200px;width:auto}._statusBar_9kfah_154{display:flex;align-items:center;gap:16px;padding:4px 16px;background:#111;border-top:1px solid #2a2a2a;flex-shrink:0;font-size:11px;color:#666}._loading_9kfah_166{display:flex;align-items:center;justify-content:center;height:100%;width:100%;color:#666;font-size:14px}._error_9kfah_176{display:flex;align-items:center;justify-content:center;height:100%;width:100%;color:#f87171;font-size:14px}._gitChanges_p8j8g_1{width:240px;flex-shrink:0;background:#111;border-right:1px solid #2a2a2a;display:flex;flex-direction:column;overflow:hidden;-webkit-user-select:none;user-select:none}._header_p8j8g_12{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #2a2a2a;flex-shrink:0}._headerTitle_p8j8g_21{font-size:11px;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.5px}._collapseBtn_p8j8g_29{width:20px;height:20px;border:none;background:none;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:4px;padding:0}._collapseBtn_p8j8g_29:hover{color:#ccc;background:#2a2a2a}._changesContainer_p8j8g_48{flex:1;overflow:auto;padding:4px 0}._changeItem_p8j8g_54{display:flex;align-items:center;height:26px;padding:0 8px;cursor:pointer;color:#ccc;font-size:13px;white-space:nowrap;transition:background .1s;gap:6px}._changeItem_p8j8g_54:hover{background:#1e1e1e}._changeItem_p8j8g_54._changeItemSelected_p8j8g_71{background:#532f00}._dirItem_p8j8g_75{display:flex;align-items:center;height:26px;padding:0 8px;color:#999;font-size:13px;white-space:nowrap;gap:6px}._dirArrow_p8j8g_86{width:16px;flex-shrink:0;color:#666;display:flex;align-items:center;justify-content:center}._dirName_p8j8g_95{overflow:hidden;text-overflow:ellipsis}._status_p8j8g_100{width:16px;flex-shrink:0;font-size:11px;font-weight:600;text-align:center;margin-left:auto}._icon_p8j8g_109{width:16px;height:16px;flex-shrink:0;display:flex;align-items:center;justify-content:center}._fileName_p8j8g_118{overflow:hidden;text-overflow:ellipsis;flex:1}._actions_p8j8g_124{display:none;align-items:center;gap:2px;margin-left:auto;flex-shrink:0}._actions_p8j8g_124 span{color:#666;cursor:pointer;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border-radius:3px}._actions_p8j8g_124 span:hover{color:#ccc;background:#333}._changeItem_p8j8g_54:hover ._actions_p8j8g_124{display:flex}._loading_p8j8g_152{color:#555;font-size:12px;padding:8px 12px}._error_p8j8g_158{color:#f87171;font-size:12px;padding:8px 12px}._empty_p8j8g_164{color:#666;font-size:12px;padding:8px 12px;text-align:center}._rotated90_p8j8g_171{transform:rotate(90deg)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
|
|
33
|
-
Theme: GitHub Dark
|
|
34
|
-
Description: Dark theme as seen on github.com
|
|
35
|
-
Author: github.com
|
|
36
|
-
Maintainer: @Hirse
|
|
37
|
-
Updated: 2021-05-15
|
|
38
|
-
|
|
39
|
-
Outdated base version: https://github.com/primer/github-syntax-dark
|
|
40
|
-
Current colors taken from GitHub's CSS
|
|
41
|
-
*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}._fullFileDiffView_1qaf6_1{width:100%;height:100%;display:flex;flex-direction:column;background:#0d0d0d;overflow:hidden}._diffSummary_1qaf6_10{padding:8px 16px;background:#111;border-bottom:1px solid #2a2a2a;display:flex;gap:8px;align-items:center;flex-shrink:0}._addedBadge_1qaf6_20{padding:2px 8px;background:#73c99126;border:1px solid #73c9914d;border-radius:4px;font-size:11px;font-weight:600;color:#73c991;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace}._deletedBadge_1qaf6_31{padding:2px 8px;background:#ef444426;border:1px solid #ef44444d;border-radius:4px;font-size:11px;font-weight:600;color:#ef4444;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace}._codeContainer_1qaf6_42{flex:1;overflow:hidden;display:flex;min-height:0;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;font-size:13px;line-height:1.6}._lineNumberCol_1qaf6_52{flex-shrink:0;overflow:hidden;background:#0d0d0d;border-right:1px solid #2a2a2a;-webkit-user-select:none;user-select:none}._lineNumRow_1qaf6_60{display:flex;min-height:21px}._oldLineNum_1qaf6_65,._newLineNum_1qaf6_66{display:inline-block;width:40px;text-align:right;padding:0 6px;font-size:12px;box-sizing:border-box}._lineNumNormal_1qaf6_75 ._oldLineNum_1qaf6_65,._lineNumNormal_1qaf6_75 ._newLineNum_1qaf6_66{color:#555}._lineNumAdd_1qaf6_80{border-right:3px solid #73c991}._lineNumAdd_1qaf6_80 ._oldLineNum_1qaf6_65{color:#555}._lineNumAdd_1qaf6_80 ._newLineNum_1qaf6_66{color:#73c991;font-weight:600}._lineNumDelete_1qaf6_93{border-right:3px solid #ef4444}._lineNumDelete_1qaf6_93 ._oldLineNum_1qaf6_65{color:#ef4444;font-weight:600}._lineNumDelete_1qaf6_93 ._newLineNum_1qaf6_66{color:#555}._codeColWrap_1qaf6_106{flex:1;position:relative;min-width:0;overflow:hidden}._codeCol_1qaf6_106{width:100%;height:100%;overflow:auto;min-width:0}._codeInner_1qaf6_120{width:fit-content;min-width:100%}._codeLine_1qaf6_125{position:relative;min-height:21px;display:flex;transition:background .1s}._codeLine_1qaf6_125:hover{background:#ffffff0a}._linePrefix_1qaf6_136{display:inline-block;width:16px;text-align:center;color:#888;flex-shrink:0;-webkit-user-select:none;user-select:none}._lineContent_1qaf6_145{padding-right:16px;color:#ccc;white-space:pre}._lineNormal_1qaf6_151{background:#0000}._lineAdd_1qaf6_155{background:#73c99126}._lineAdd_1qaf6_155 ._linePrefix_1qaf6_136{color:#73c991}._lineDelete_1qaf6_163{background:#ef44441a}._lineDelete_1qaf6_163 ._linePrefix_1qaf6_136{color:#ef4444}._lineDelete_1qaf6_163 ._lineContent_1qaf6_145{text-decoration:line-through;opacity:.8}._miniMap_1ho3j_1{position:absolute;top:0;right:0;width:10px;height:100%;cursor:pointer;z-index:10}._marker_1ho3j_11{position:absolute;left:0;width:100%;border-radius:1px;pointer-events:none}._gitDiffView_g8b27_1{flex:1;display:flex;flex-direction:column;background:#0d0d0d;overflow:hidden;animation:_slideInFromRight_g8b27_1 .25s ease-out}@keyframes _slideInFromRight_g8b27_1{0%{transform:translate(-40px);opacity:0}to{transform:translate(0);opacity:1}}._closing_g8b27_21{animation:_slideOutToRight_g8b27_1 .2s ease-in forwards}@keyframes _slideOutToRight_g8b27_1{0%{transform:translate(0);opacity:1}to{transform:translate(-40px);opacity:0}}._header_g8b27_36{display:flex;align-items:center;justify-content:space-between;padding:6px 16px;border-bottom:1px solid #2a2a2a;background:#111;flex-shrink:0}._headerLeft_g8b27_46{display:flex;align-items:center;gap:12px;flex:1;min-width:0}._backBtn_g8b27_54{width:28px;height:28px;border:none;background:none;color:#888;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:4px;padding:0;flex-shrink:0;transition:all .15s}._backBtn_g8b27_54:hover{color:#ccc;background:#2a2a2a}._filePath_g8b27_75{font-size:13px;color:#ccc;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;transition:color .15s}._filePath_g8b27_75:hover{color:#7dd3fc;text-decoration:underline}._diffBadge_g8b27_91{padding:2px 8px;background:#2a2a2a;border:1px solid #444;border-radius:4px;font-size:10px;font-weight:600;color:#e2c08d;letter-spacing:.5px;flex-shrink:0}._headerRight_g8b27_103{display:flex;align-items:center;flex-shrink:0}._closeBtn_g8b27_109{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;background:transparent;color:#888;border-radius:6px;cursor:pointer;transition:background .15s,color .15s}._closeBtn_g8b27_109:hover{background:#ffffff1a;color:#fff}._contentContainer_g8b27_129{flex:1;overflow:auto;position:relative}._loading_g8b27_135{display:flex;align-items:center;justify-content:center;height:100%;color:#888;font-size:13px}._error_g8b27_144{display:flex;align-items:center;justify-content:center;height:100%;color:#f87171;font-size:13px;padding:20px;text-align:center}._binaryNotice_g8b27_155{display:flex;align-items:center;justify-content:center;height:100%;color:#888;font-size:13px;font-style:italic;padding:20px;text-align:center}._largeFileWarning_g8b27_167{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#e2c08d;font-size:13px;padding:20px;text-align:center;gap:8px}._fileSize_g8b27_180{color:#888;font-size:12px;margin:0}._panel_15c4h_1{position:absolute;bottom:0;left:16px;right:16px;z-index:25;background:#1e1e1e;border:1px solid #f59e0b;border-bottom:none;border-radius:12px 12px 0 0;padding:12px 16px;box-shadow:0 -4px 24px #00000080;animation:_slideUp_15c4h_1 .2s ease-out}@keyframes _slideUp_15c4h_1{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}._header_15c4h_21{display:flex;align-items:center;gap:8px;margin-bottom:8px}._toolName_15c4h_28{color:#e5e5e5;font-weight:600;font-size:13px;font-family:SF Mono,Menlo,Monaco,Consolas,monospace}._label_15c4h_35{color:#fbbf24;font-size:12px;font-weight:500;margin-left:auto}._body_15c4h_42{margin-bottom:12px}._command_15c4h_46{background:#161616;border:1px solid #2a2a2a;border-radius:6px;padding:8px 12px;color:#ccc;font-size:12px;font-family:SF Mono,Menlo,Monaco,Consolas,monospace;line-height:1.5;max-height:120px;overflow-y:auto;white-space:pre-wrap;word-break:break-all;margin:0}._detail_15c4h_62{margin-top:6px;color:#888;font-size:11px;font-family:SF Mono,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap;word-break:break-all;max-height:40px;overflow:hidden}._actions_15c4h_73{display:flex;justify-content:flex-end;gap:8px}._allowBtn_15c4h_79{padding:6px 20px;border-radius:6px;border:1px solid #22c55e;background:#22c55e26;color:#22c55e;font-size:13px;font-weight:500;cursor:pointer;transition:background .15s}._allowBtn_15c4h_79:hover{background:#22c55e4d}._denyBtn_15c4h_95{padding:6px 20px;border-radius:6px;border:1px solid #ef4444;background:#ef444426;color:#ef4444;font-size:13px;font-weight:500;cursor:pointer;transition:background .15s}._denyBtn_15c4h_95:hover{background:#ef44444d}@media(max-width:768px){._panel_15c4h_1{left:10px;right:10px;padding:16px 20px}._toolName_15c4h_28{font-size:18px}._command_15c4h_46{font-size:16px;max-height:160px}._allowBtn_15c4h_79,._denyBtn_15c4h_95{padding:10px 28px;font-size:18px}}._teamActiveSpinner_b2aqg_1{position:absolute;bottom:4px;right:4px;width:10px;height:10px;border:2px solid #ffffff26;border-top-color:#f59e0b;border-radius:50%;animation:_teamSpin_b2aqg_1 .8s linear infinite}@keyframes _teamSpin_b2aqg_1{to{transform:rotate(360deg)}}._teamPopover_b2aqg_17{min-width:200px;max-width:320px;padding:8px 0}._teamPopoverTitle_b2aqg_23{font-size:13px;font-weight:600;color:#e5e5e5;padding:4px 12px 8px;border-bottom:1px solid #2a2a2a}._teamPopoverItem_b2aqg_31{display:flex;align-items:center;padding:6px 12px;cursor:pointer;transition:background .15s;font-size:12px;color:#ccc}._teamPopoverItem_b2aqg_31:hover{background:#1e1e1e}._teamPopoverName_b2aqg_45{flex:1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._teamPopoverMeta_b2aqg_53{color:#666;font-size:11px;margin:0 8px;flex-shrink:0}._teamPopoverTime_b2aqg_60{color:#555;font-size:11px;flex-shrink:0}._teamModalBody_b2aqg_66{flex:1;min-width:0;overflow-y:auto;padding:16px 24px;display:flex;flex-direction:column;gap:4px}._teamGanttToggle_b2aqg_76{cursor:pointer;padding:8px 16px;font-size:12px;color:#888;-webkit-user-select:none;user-select:none;border-bottom:1px solid #1e1e1e;transition:color .15s}._teamGanttToggle_b2aqg_76:hover{color:#ccc}._ganttExportBtn_b2aqg_90{display:inline-flex;align-items:center;margin-left:8px;padding:2px 4px;color:#666;cursor:pointer;border-radius:3px;transition:color .15s,background .15s}._ganttExportBtn_b2aqg_90:hover{color:#ccc;background:#2a2a2a}._teamGanttWrap_b2aqg_106{--gantt-label-width: 110px;padding:8px 16px 4px;position:relative;max-height:120px;overflow-y:auto;flex-shrink:0}._teamGanttResizer_b2aqg_115{height:5px;cursor:ns-resize;background:#0000;border-bottom:1px solid #1e1e1e;flex-shrink:0;transition:background .15s}._teamGanttResizer_b2aqg_115:hover{background:#303030}._teamGanttRow_b2aqg_128{display:flex;align-items:center;height:22px;margin-bottom:3px}._teamGanttLabel_b2aqg_135{width:calc(var(--gantt-label-width) - 10px);font-size:11px;color:#888;text-align:right;padding-right:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0}._teamGanttTrack_b2aqg_147{flex:1;height:14px;background:#111;border-radius:3px;position:relative;overflow:hidden}._teamGanttBar_b2aqg_156{position:absolute;height:100%;border-radius:3px;min-width:4px;top:0}._teamGanttDiamond_b2aqg_164{position:absolute;top:50%;transform:translate(-50%,-50%);font-size:12px;line-height:1;z-index:2;pointer-events:auto;cursor:default;filter:drop-shadow(0 0 2px #000000e0);transition:transform .15s}._teamGanttDiamond_b2aqg_164:hover{transform:translate(-50%,-50%) scale(1.4)}._teamGanttArrows_b2aqg_181{position:absolute;top:0;left:var(--gantt-label-width);right:0;width:calc(100% - var(--gantt-label-width));pointer-events:none;z-index:5}._teamGanttIndicator_b2aqg_191{position:absolute;top:0;bottom:0;width:2px;background:#4a9eff;z-index:10;pointer-events:none;box-shadow:0 0 6px #4a9eff80;transition:left .15s ease-out}._teamModalLayout_b2aqg_203{display:flex;height:100%}._teamAgentCards_b2aqg_208{width:160px;flex-shrink:0;border-right:1px solid #2a2a2a;overflow-y:auto;background:#0d0d0d;padding:8px}._teamAgentCard_b2aqg_208{padding:8px;border-radius:0;margin-bottom:6px;border-left:3px solid #303030;background:#111;transition:background .15s}._teamAgentCard_b2aqg_208:hover{background:#1e1e1e}._teamAgentCardActive_b2aqg_230{background:#1e1e1e!important}._teamAgentCardHeader_b2aqg_234{display:flex;align-items:center;gap:6px}._teamAgentAvatar_b2aqg_240{width:20px;height:20px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden}._teamAgentAvatar_b2aqg_240 svg{width:14px;height:14px;fill:#fff}._teamAgentName_b2aqg_257{font-size:12px;font-weight:500;color:#e5e5e5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._teamAgentType_b2aqg_266{font-size:10px;color:#666;margin-top:2px}._teamAgentStatus_b2aqg_272{font-size:10px;margin-top:4px}._teamAgentPopover_b2aqg_277{padding:10px 12px;min-width:200px}._teamAgentPopTeammateMsg_b2aqg_282{background:#060f2a;border:1px solid #0b2a5c;border-radius:6px;padding:10px 12px;margin-bottom:8px}._teamAgentPopTmSummary_b2aqg_290{font-size:12px;font-weight:600;color:#4a9eff;margin-bottom:6px}._teamAgentPopTmContent_b2aqg_297{font-size:12px;color:#ccc;line-height:1.6}._teamAgentPopTask_b2aqg_303{font-size:13px;font-weight:600;color:#e5e5e5;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #2a2a2a}._teamAgentPopMsg_b2aqg_312{font-size:12px;color:#ccc;line-height:1.5;white-space:pre-wrap;word-break:break-word;margin-bottom:8px;padding:6px 8px;background:#111;border-radius:4px;border:1px solid #1e1e1e}._teammateReportEntry_b2aqg_325{background:#060f2a;border:1px solid #0b2a5c;border-radius:8px;padding:12px;margin:4px 0}._teammateReportHeader_b2aqg_333{display:flex;align-items:center;gap:8px;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #0b2a5c}._teammateReportName_b2aqg_342{font-size:13px;font-weight:600;color:#e5e5e5}._teammateReportSummary_b2aqg_348{font-size:12px;color:#4a9eff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}._teammateReportBody_b2aqg_357{font-size:12px;color:#ccc;line-height:1.6}._teamModalContent_b2aqg_363{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden}._teamBtnRelative_b2aqg_371{position:relative}._ganttLabelLead_b2aqg_375{color:#1668dc;font-weight:600}._ganttLabelAgent_b2aqg_380{color:#e5e5e5}._ganttTimeAxisRow_b2aqg_384{margin-top:2px}._ganttTimeAxisTrack_b2aqg_388{background:#0000;height:16px;position:relative}._ganttTickLabel_b2aqg_394{position:absolute;transform:translate(-50%);font-size:9px;color:#555;white-space:nowrap}._teamPopoverStatus_b2aqg_402{margin-right:6px;font-size:10px}._ganttIndicatorInitial_b2aqg_407{left:110px}._teamModalTitle_b2aqg_411{color:#e5e5e5;font-size:15px}._teamLeadCard_b2aqg_416{border-left-color:#1668dc}._agentNoMessages_b2aqg_420{color:#666;font-size:12px}._teamAgentCardClickable_b2aqg_425{border-left-color:#e5e5e5;cursor:pointer}._agentStatusDurSuffix_b2aqg_430{color:#888}._snapLine_1xlsr_1{position:absolute;top:0;bottom:0;width:2px;background:#0000;border-left:2px dashed #ffffff1a;pointer-events:none;z-index:1000;transition:all .15s}._snapLineActive_1xlsr_13{position:absolute;top:0;bottom:0;width:2px;background:#0000;border-left:2px dashed #ffffff80;pointer-events:none;z-index:1001}._snapPreview_1xlsr_24{position:absolute;top:0;bottom:0;background:#ffffff1a;pointer-events:none;z-index:999}._roleFilterBar_tifk1_1{display:flex;gap:6px;padding:6px 12px;background:#1e1e1e;border-bottom:1px solid #303030;overflow-x:auto;flex-shrink:0}._roleChip_tifk1_10,._roleChipActive_tifk1_10{display:flex;align-items:center;gap:4px;padding:3px 8px;border-radius:12px;border:1px solid #303030;background:#0000;color:#888;font-size:11px;cursor:pointer;white-space:nowrap;transition:border-color .15s,color .15s}._roleChipActive_tifk1_10{border-color:#4a9eff;color:#ccc}._roleChip_tifk1_10:hover,._roleChipActive_tifk1_10:hover{border-color:#555}._roleAvatar_tifk1_31{width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}._roleAvatar_tifk1_31 svg{width:10px;height:10px}._roleAvatarImg_tifk1_44{width:16px;height:16px;border-radius:50%;flex-shrink:0;object-fit:cover}._roleName_tifk1_51{max-width:80px;overflow:hidden;text-overflow:ellipsis}._roleCheck_tifk1_56{color:#4a9eff;font-size:10px}._chatInputBar_1353e_1{padding:8px 16px 12px;background:#00000080;flex-shrink:0}._chatInputWrapper_1353e_7{display:flex;flex-direction:column;background:#1e1e1e;border:1px solid #303030;border-radius:16px;transition:border-color .2s;overflow:visible}._chatInputWrapper_1353e_7:focus-within{border-color:#555}._chatTextareaWrap_1353e_21{position:relative;flex:1}._chatTextarea_1353e_21{width:100%;min-height:22px;max-height:120px;padding:12px 14px 4px;background:#0000;color:#e5e5e5;border:none;outline:none;resize:none;font-size:14px;line-height:1.5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;box-sizing:border-box}._chatTextarea_1353e_21::placeholder{color:#555}._chatInputBottom_1353e_46{display:flex;align-items:center;padding:4px 6px 6px;gap:4px}._plusArea_1353e_53{position:relative}._plusBtn_1353e_57{width:28px;height:28px;border-radius:50%;border:1px solid #444;background:#0000;color:#888;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s,border-color .15s,transform .25s ease}._plusBtnOpen_1353e_71{transform:rotate(45deg)}._plusBtn_1353e_57:hover{background:#2a2a2a;color:#ccc;border-color:#666}._plusOverlay_1353e_81{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99}._plusMenu_1353e_90{position:absolute;bottom:36px;left:0;background:#1e1e1e;border:1px solid #3a3a3a;border-radius:10px;padding:4px;min-width:140px;box-shadow:0 4px 16px #00000080;z-index:100}._plusMenuItem_1353e_103{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:none;background:#0000;color:#ccc;font-size:13px;cursor:pointer;border-radius:6px;transition:background .15s;white-space:nowrap}._plusMenuItem_1353e_103:hover{background:#2a2a2a}._presetLabel_1353e_123{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._chatInputHint_1353e_129{flex:1;font-size:11px;color:#444;-webkit-user-select:none;user-select:none;padding:0 4px}._chatInputHintSep_1353e_137,._chatInputHintTerminal_1353e_141{color:#444}._chatInputHintMobile_1353e_145{flex:1;font-size:13px;color:#555;-webkit-user-select:none;user-select:none;padding:0 4px}._sendBtn_1353e_153{width:28px;height:28px;border-radius:50%;border:none;background:#fff;color:#000;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:opacity .15s}._sendBtnDisabled_1353e_168{background:#444;color:#888;cursor:default}._sendBtn_1353e_153 svg{width:16px;height:16px}._ghostText_1353e_179{position:absolute;top:0;left:0;right:0;padding:12px 14px 4px;color:#444;font-size:14px;line-height:1.5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;pointer-events:none;white-space:pre-wrap;overflow:hidden;max-height:120px}._suggestionChip_1353e_195{display:flex;align-items:center;gap:8px;padding:8px 14px;background:#1e1e1e;border-top:1px solid #2a2a2a;cursor:pointer;flex-shrink:0;transition:background .15s}._suggestionChip_1353e_195:hover{background:#1e1e1e}._suggestionChipText_1353e_211{flex:1;color:#555;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._suggestionChipAction_1353e_220{color:#4a9eff;font-size:14px;flex-shrink:0}@media(max-width:768px){._chatInputBar_1353e_1{padding:10px 21px 16px}._chatInputWrapper_1353e_7{border-radius:21px}._chatTextarea_1353e_21{min-height:52px;max-height:208px;padding:18px 21px 8px;font-size:22px}._ghostText_1353e_179{padding:18px 21px 8px;font-size:22px}._chatInputBottom_1353e_46{padding:8px 10px 10px;gap:8px}._plusBtn_1353e_57{width:47px;height:47px}._plusBtn_1353e_57 svg{width:23px;height:23px}._plusMenu_1353e_90{bottom:57px}._plusMenuItem_1353e_103{padding:13px 18px;font-size:20px}._chatInputHint_1353e_129{font-size:17px}._sendBtn_1353e_153{width:47px;height:47px}._sendBtn_1353e_153 svg{width:23px;height:23px}}._chatInputWrapper_1353e_7._streaming_1353e_290,._chatInputWrapper_1353e_7._streamingFading_1353e_291{position:relative;border-color:#0000}._chatInputWrapper_1353e_7._streaming_1353e_290:focus-within,._chatInputWrapper_1353e_7._streamingFading_1353e_291:focus-within{border-color:#0000}._streamingSvg_1353e_301{position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;width:calc(100% + 2px);height:calc(100% + 2px);pointer-events:none;overflow:visible;opacity:.2;transition:opacity .5s ease-out}._streamingSvgFading_1353e_312{opacity:0}._centerEmpty_ozv0m_1{display:flex;align-items:center;justify-content:center;height:100%}._container_ozv0m_8{flex:1;overflow:auto;padding:16px 0;display:flex;flex-direction:column;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}._mobileVirtuoso_ozv0m_18{flex:1;min-height:0}._sessionDividerText_ozv0m_23{font-size:11px;color:#555}._lastResponseLabel_ozv0m_28{font-size:11px}._splitContainer_ozv0m_32{display:flex;flex-direction:row;height:100%;overflow:hidden}._chatSection_ozv0m_39{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}._vResizer_ozv0m_47{width:5px;background:#1e1e1e;cursor:col-resize;flex-shrink:0;border-left:1px solid #2a2a2a;border-right:1px solid #2a2a2a;transition:background .15s}._vResizer_ozv0m_47:hover{background:#303030}._terminalToggle_ozv0m_61{display:flex;align-items:center;justify-content:center;align-self:center;width:14px;height:48px;margin-left:-14px;flex-shrink:0;cursor:pointer;color:#555;background:#ffffff0a;border-radius:4px 0 0 4px;transition:background .2s,color .2s;z-index:20;position:relative}._terminalToggle_ozv0m_61:hover{background:#ffffff1a;color:#999}._messageListWrap_ozv0m_84{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}._stickyBottomBtn_ozv0m_92{position:absolute;left:0;bottom:0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 18px;height:60px;justify-content:center;border-radius:0;border:none;background:none;color:#999;font-size:12px;cursor:pointer;transition:color .15s;z-index:10;box-shadow:none}._stickyBottomBtn_ozv0m_92 span{background:#00000080;padding:2px 10px;border-radius:10px}._stickyBottomBtn_ozv0m_92:hover{color:#fff;background:none}@media(max-width:768px){._stickyBottomBtn_ozv0m_92{gap:4px;padding:16px 18px;height:120px;font-size:24px}._stickyBottomBtn_ozv0m_92 span{padding:4px 20px;border-radius:20px}._stickyBottomBtn_ozv0m_92 svg{width:28px;height:28px}}._loadMoreWrap_ozv0m_142{display:flex;justify-content:center;padding:12px 0 4px}._loadMoreBtn_ozv0m_148{padding:6px 18px;border-radius:16px;border:1px solid #3a3a3a;background:#ffffff0a;color:#999;font-size:12px;cursor:pointer;transition:background .15s,color .15s}._loadMoreBtn_ozv0m_148:hover{background:#ffffff1a;color:#ccc}._navSidebar_ozv0m_164{width:40px;flex-shrink:0;background:#1e1e1e;border-right:1px solid #2a2a2a;display:flex;flex-direction:column;align-items:center;padding-top:8px;gap:4px}@media(max-width:768px){._navSidebar_ozv0m_164{display:none}}._navBtn_ozv0m_181{width:32px;height:32px;border:none;background:none;color:#666;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:6px;padding:0;transition:background .15s,color .15s}._navBtn_ozv0m_181:hover{color:#ccc;background:#1e1e1e}._navBtnActive_ozv0m_201{width:32px;height:32px;border:none;background:#4a9eff26;color:#4a9eff;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:6px;padding:0;transition:background .15s,color .15s}._navBtnActive_ozv0m_201:hover{background:#4a9eff40;color:#7dd3fc}._navAvatarImg_ozv0m_221{width:19px;height:19px;border-radius:50%;object-fit:cover}._userPromptNavList_ozv0m_228{max-height:400px;overflow-y:auto;min-width:200px;max-width:360px;background:#111;border-radius:4px}._userPromptNavItem_ozv0m_237{padding:6px 10px;font-size:12px;color:#ccc;cursor:pointer;border-bottom:1px solid #1e1e1e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._userPromptNavItem_ozv0m_237:hover{background:#2a2a2a;color:#fff}._userPromptNavItem_ozv0m_237:last-child{border-bottom:none}._terminalPanelWrap_ozv0m_257{flex-shrink:0;min-width:200px;display:flex;flex-direction:column}._navSidebarContent_ozv0m_264{flex:1;min-width:0;display:flex;flex-direction:column;min-height:0}._innerSplitArea_ozv0m_272{flex:1;display:flex;min-width:0;position:relative}._chatSectionFlex_ozv0m_279{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden;position:relative}._overlayPanel_ozv0m_288{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;flex-direction:column}._streamingSpinnerWrap_ozv0m_296{display:flex;justify-content:center;padding:12px 0;opacity:1;transition:opacity .5s ease-out}._sessionDivider_ozv0m_23{border-color:#303030;margin:16px 0}._loadMoreBtnLoading_ozv0m_309{cursor:default;opacity:.7}._lastResponseDivider_ozv0m_314{border-color:#2a2a2a;margin:8px 0}._helpBtn_fm45n_1{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#1e1e1e;border:1px solid #444;color:#aaa;font-size:11px;line-height:1;cursor:pointer;margin-left:4px;vertical-align:middle;transition:background .2s;-webkit-user-select:none;user-select:none}._helpBtn_fm45n_1:hover{background:#303030}._modalBody_fm45n_25{max-height:60vh;overflow-y:auto;overflow-x:hidden;padding:4px 12px;color:#e5e5e5;font-size:14px;line-height:1.75;word-break:break-word}._modalBody_fm45n_25 h1,._modalBody_fm45n_25 h2,._modalBody_fm45n_25 h3,._modalBody_fm45n_25 h4,._modalBody_fm45n_25 h5,._modalBody_fm45n_25 h6{color:#e5e5e5;margin:1.2em 0 .6em;line-height:1.3}._modalBody_fm45n_25 h1{font-size:1.8em;border-bottom:1px solid #303030;padding-bottom:.3em}._modalBody_fm45n_25 h2{font-size:1.5em;border-bottom:1px solid #2a2a2a;padding-bottom:.25em}._modalBody_fm45n_25 h3{font-size:1.25em}._modalBody_fm45n_25 p{margin:.8em 0}._modalBody_fm45n_25 a{color:#4a9eff;text-decoration:none}._modalBody_fm45n_25 a:hover{text-decoration:underline}._modalBody_fm45n_25 code{background:#1e1e1e;color:#e06c75;padding:2px 6px;border-radius:4px;font-size:.9em;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,monospace}._modalBody_fm45n_25 pre{background:#111;border:1px solid #2a2a2a;border-radius:8px;padding:14px 18px;overflow-x:auto;margin:1em 0;max-width:100%;box-sizing:border-box}._modalBody_fm45n_25 pre code{background:none;color:#e5e5e5;padding:0;font-size:13px}._modalBody_fm45n_25 blockquote{border-left:3px solid #4a9eff;margin:1em 0;padding:.5em 1em;color:#aaa;background:#4a9eff0d;border-radius:0 6px 6px 0}._modalBody_fm45n_25 table{border-collapse:collapse;width:100%;margin:1em 0}._modalBody_fm45n_25 th,._modalBody_fm45n_25 td{border:1px solid #303030;padding:8px 12px;text-align:left}._modalBody_fm45n_25 th{background:#1e1e1e;color:#e5e5e5;font-weight:600}._modalBody_fm45n_25 tr:nth-child(2n){background:#ffffff0a}._modalBody_fm45n_25 ul,._modalBody_fm45n_25 ol{padding-left:2em;margin:.8em 0}._modalBody_fm45n_25 li{margin:.3em 0}._modalBody_fm45n_25 hr{border:none;border-top:1px solid #303030;margin:1.5em 0}._modalBody_fm45n_25 img{max-width:100%;height:auto;border-radius:6px}._modalBody_fm45n_25 strong{color:#e5e5e5}._modalBody_fm45n_25 textarea{width:100%;min-height:200px;background:#1e1e1e;color:#e5e5e5;font-family:monospace;font-size:13px;line-height:1.6;border:1px solid #303030;border-radius:6px;padding:10px 14px;resize:vertical;outline:none;box-sizing:border-box}._spinWrap_fm45n_124{display:flex;justify-content:center;padding:40px 0}@media(max-width:768px){._modalBody_fm45n_25{font-size:13px;line-height:1.6;max-height:75vh}._modalBody_fm45n_25 h1{font-size:18px}._modalBody_fm45n_25 h2{font-size:16px}._modalBody_fm45n_25 h3{font-size:14px}._modalBody_fm45n_25 pre{font-size:12px;padding:8px}._modalBody_fm45n_25 code,._modalBody_fm45n_25 textarea{font-size:12px}}._headerBar_h06mo_2{display:flex;align-items:center;justify-content:space-between;width:100%;height:100%}._logoWrap_h06mo_10{display:inline-flex;align-items:center;position:relative;margin-top:14px}._logoWrapActive_h06mo_17:after{content:"";position:absolute;top:-10px;bottom:-10px;left:0;right:-200px}._logoImage_h06mo_26{height:24px;width:24px;border-radius:3px;vertical-align:middle;opacity:.75;transition:opacity .2s;cursor:pointer}._logoImageActive_h06mo_36{opacity:1}._compactBtn_h06mo_41{font-size:12px;height:30px;line-height:28px}._compactBtnNoBorder_h06mo_47{font-size:12px;height:30px;line-height:28px;border:none}._tokenStatsTag_h06mo_55{border-radius:12px;cursor:pointer;background:#2a2a2a;border:1px solid #3a3a3a;color:#ccc}._tokenStatsIcon_h06mo_63{margin-right:4px}._liveTag_h06mo_68{position:relative;display:inline-flex;align-items:center;border-radius:12px;border:1px solid;padding:0 10px;height:22px;font-size:12px;line-height:22px;overflow:hidden;transition:border-color .3s,color .3s;white-space:nowrap}._liveTagFill_h06mo_83{position:absolute;left:0;top:0;bottom:0;opacity:.35;transition:width .5s ease,background-color .3s;pointer-events:none}._liveTagContent_h06mo_93{position:relative;z-index:1;display:inline-flex;align-items:center}._liveTagHistory_h06mo_100{background:#2a2a2a;border-color:#444;color:#e5e5e5}._liveTagText_h06mo_106{margin-left:4px}._countdownStrong_h06mo_111{font-variant-numeric:tabular-nums}._qrcodePopover_h06mo_116{display:flex;flex-direction:column;align-items:center;padding:8px}._qrcodeSection_h06mo_123{display:flex;flex-direction:column;align-items:center;padding:16px;margin-bottom:12px;border:1px solid #303030;border-radius:8px;background:#111}._qrcodeTitle_h06mo_134{font-size:14px;font-weight:600;color:#e5e5e5;margin-bottom:12px}._qrcodeUrlInput_h06mo_141{margin-top:12px;font-size:12px;font-family:Menlo,Monaco,monospace}._qrcodeUrlCopy_h06mo_147{cursor:pointer;color:#888;transition:color .2s}._qrcodeUrlCopy_h06mo_147:hover{color:#3b82f6}._settingsGroupBox_h06mo_158{border:1px solid #303030;border-radius:8px;background:#111;padding:4px 16px;margin-bottom:12px}._settingsGroupTitle_h06mo_166{font-size:14px;font-weight:600;color:#e5e5e5;padding:12px 0 4px;border-bottom:1px solid #303030}._settingsItem_h06mo_175{display:flex;justify-content:space-between;align-items:center;padding:12px 0}._settingsLabel_h06mo_182{font-size:14px}._tokenStatsEmpty_h06mo_187{padding:8px 4px;color:#999;font-size:13px}._tokenStatsContainer_h06mo_194{display:flex;gap:12px;align-items:flex-start}._tokenStatsColumn_h06mo_200{min-width:240px}._toolStatsColumn_h06mo_204{min-width:180px}._modelCard_h06mo_209{border:1px solid #303030;border-radius:6px;padding:8px 10px;background:#111}._modelCardSpaced_h06mo_216{margin-bottom:10px}._modelName_h06mo_222{font-size:13px;font-weight:600;color:#e5e5e5;margin-bottom:8px;padding-bottom:4px;border-bottom:1px solid #303030}._statsTable_h06mo_232{width:100%;border-collapse:collapse}._th_h06mo_237{padding:2px 12px;font-size:12px;font-family:monospace;white-space:nowrap;color:#888;font-weight:400;text-align:right}._td_h06mo_247{padding:2px 12px;font-size:12px;font-family:monospace;white-space:nowrap;color:#e5e5e5;text-align:right}._label_h06mo_256{padding:2px 12px;font-size:12px;font-family:monospace;white-space:nowrap;color:#aaa;font-weight:400;text-align:left}._rowBorder_h06mo_266{border-bottom:1px solid #2a2a2a}._rebuildCard_h06mo_270{border:1px solid #303030;border-radius:6px;padding:8px 10px;margin-top:10px;background:#111}._rebuildTotalRow_h06mo_278{border-top:1px solid #444}._rebuildTotalRow_h06mo_278 td{font-weight:600}._promptExportBar_h06mo_287{margin-bottom:12px}._promptScrollArea_h06mo_291{max-height:500px;overflow:auto}._promptEmpty_h06mo_296{color:#999;padding:12px}._promptTimestamp_h06mo_302{color:#666;font-size:12px;margin:12px 0 4px;padding-bottom:6px}._textPromptCard_h06mo_310{margin:4px 0;background:#111;border-radius:6px;border:1px solid #303030;padding:10px 14px}._preText_h06mo_319{white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.6;color:#e5e5e5;margin:4px 0}._systemCollapse_h06mo_329{margin:4px 0;background:#1e1e1e;border:1px solid #303030;border-radius:6px}._systemLabel_h06mo_336{color:#888;font-size:12px}._preSys_h06mo_341{white-space:pre-wrap;word-break:break-word;font-size:12px;line-height:1.5;color:#999;margin:0}._promptTextarea_h06mo_351{box-sizing:border-box;background:#000;width:100%;min-height:400px;color:#e5e5e5;font-family:monospace;font-size:13px;line-height:1.6;border:none;resize:vertical;padding:10px 14px;outline:none}._projectStatsCenter_h06mo_367{display:flex;justify-content:center;padding:40px 0}._projectStatsEmpty_h06mo_373{color:#999;padding:40px 0;text-align:center;font-size:13px}._projectStatsContent_h06mo_380{display:flex;flex-direction:column;gap:16px}._projectStatsUpdated_h06mo_386{color:#666;font-size:12px;text-align:right}._projectStatsSummary_h06mo_392{display:grid;grid-template-columns:1fr 1fr;gap:10px}._projectStatCard_h06mo_398{background:#111;border:1px solid #303030;border-radius:8px;padding:14px 12px;text-align:center}._projectStatValue_h06mo_406{font-size:22px;font-weight:700;color:#e5e5e5;font-family:monospace;font-variant-numeric:tabular-nums}._projectStatLabel_h06mo_414{font-size:12px;color:#888;margin-top:4px}._projectStatsSection_h06mo_420{display:flex;flex-direction:column;gap:10px}._projectStatsSectionTitle_h06mo_426{font-size:14px;font-weight:600;color:#ccc;padding-bottom:4px;border-bottom:1px solid #303030}._projectStatsModelCard_h06mo_434{background:#111;border:1px solid #303030;border-radius:6px;padding:10px 12px}._projectStatsModelHeader_h06mo_441{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:4px;border-bottom:1px solid #303030}._projectStatsModelName_h06mo_450{font-size:13px;font-weight:600;color:#e5e5e5}._projectStatsModelCount_h06mo_456{font-size:12px;color:#888;font-family:monospace}._pluginDirHint_h06mo_463{margin-bottom:12px;font-size:12px;color:#888}._pluginDirPath_h06mo_469{font-family:Menlo,Monaco,monospace;color:#aaa;cursor:pointer;padding:1px 4px;border-radius:3px;background:#1e1e1e}._pluginDirPath_h06mo_469:hover{color:#3b82f6}._pluginList_h06mo_482{display:flex;flex-direction:column;gap:8px}._pluginItem_h06mo_488{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid #303030;border-radius:6px;background:#111}._pluginInfo_h06mo_498{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}._pluginName_h06mo_506{font-size:14px;color:#e5e5e5;font-weight:500}._pluginFile_h06mo_512{font-size:12px;color:#666;font-family:Menlo,Monaco,monospace}._pluginHooks_h06mo_518{display:flex;gap:4px;flex-wrap:wrap;margin-top:2px}._pluginHookTag_h06mo_525{font-size:11px;padding:0 5px;border-radius:3px;background:#1e3a5f;color:#60a5fa;line-height:18px}._pluginActions_h06mo_534{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-left:12px}._pluginEmpty_h06mo_542{text-align:center;padding:32px 0;color:#999}._cachePopover_h06mo_549{max-width:800px}._cacheScrollArea_h06mo_553{max-height:450px;overflow-y:auto}._cachePopoverTitle_h06mo_558{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#e5e5e5}._cachePopoverHeader_h06mo_567{margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #303030}._cacheCopyBtn_h06mo_573{font-size:14px;color:#888;cursor:pointer;transition:color .2s;margin-left:8px}._cacheCopyBtn_h06mo_573:hover{color:#e5e5e5}._cachePopoverEmpty_h06mo_585{padding:8px 4px;color:#999;font-size:13px}._cacheTokenInfo_h06mo_591{display:flex;align-items:center;font-size:12px;font-family:monospace;color:#aaa;margin-bottom:8px}._cacheSection_h06mo_600{margin-bottom:10px}._cacheSectionTitle_h06mo_604{display:flex;align-items:center;gap:2px;font-size:12px;font-weight:600;color:#aaa;margin-bottom:4px;padding:4px 0;background:none;border:none;cursor:pointer;-webkit-user-select:none;user-select:none;width:100%;text-align:left}._cacheSectionTitle_h06mo_604:hover{color:#ccc}._cacheSectionArrow_h06mo_625{display:inline-block;width:12px;font-size:10px;color:#666;flex-shrink:0}._cacheCodeBlock_h06mo_633{white-space:pre-wrap;word-break:break-word;font-size:12px;line-height:1.5;color:#ccc;background:#111;border:1px solid #2a2a2a;border-radius:4px;padding:8px;margin:4px 0;font-family:Menlo,Monaco,monospace}._cacheCodeBlockSystem_h06mo_647{white-space:pre-wrap;word-break:break-word;font-size:12px;line-height:1.5;color:#ccc;background:#060f2a;border:1px solid #0b2a5c;border-radius:4px;padding:8px;margin:4px 0;font-family:Menlo,Monaco,monospace}._cacheNavBtn_h06mo_661{margin-left:auto;font-size:11px;color:#1668dc;cursor:pointer;border:1px solid #1668dc;border-radius:3px;padding:1px 6px;white-space:nowrap}._cacheNavBtn_h06mo_661:hover{background:#1668dc26}._cacheNavList_h06mo_676{width:600px;max-height:300px;overflow-y:auto}._cacheNavItem_h06mo_682{padding:4px 8px;font-size:12px;color:#ccc;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:3px}._cacheNavItem_h06mo_682:hover{background:#1668dc33;color:#fff}._cacheBlockHighlight_h06mo_698{box-shadow:0 0 10px #1668dc99;transition:box-shadow .2s ease-in}._cacheBlockHighlightFading_h06mo_703{box-shadow:0 0 10px #1668dc00;transition:box-shadow 3s ease-out}._cacheBorderSvg_h06mo_708{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;overflow:visible}._cacheBorderSvgFading_h06mo_717{opacity:0;transition:opacity 3s ease-out}._cacheBorderRect_h06mo_722{animation:_cacheDashRotate_h06mo_1 4s linear infinite}@keyframes _cacheDashRotate_h06mo_1{0%{stroke-dashoffset:0}to{stroke-dashoffset:-100}}._thLeft_h06mo_732{text-align:left}._cacheCalibrationLabel_h06mo_737{margin-left:auto;color:#888;font-size:12px;white-space:nowrap}._calibrationSelect_h06mo_745{width:160px;flex-shrink:0}._cachePopoverPlaceholder_h06mo_751{min-width:300px}._cacheWriteToken_h06mo_756{color:#d97757}._cacheReadToken_h06mo_760{color:#22c55e}._cacheCtxPercent_h06mo_764{color:#888;margin-left:6px}._pluginModalFooter_h06mo_770{display:flex;justify-content:space-between}._pluginModalFooterLeft_h06mo_775{display:flex;gap:8px}._pluginDirLabel_h06mo_781{color:#888}._pluginEmptyTitle_h06mo_786{font-size:14px;margin-bottom:4px}._pluginEmptyHint_h06mo_791{font-size:12px;color:#666}._cdnUrlLabel_h06mo_797{margin-bottom:6px;color:#ccc;font-size:13px}._cdnInput_h06mo_803{background:#1e1e1e;border-color:#303030;color:#e5e5e5}._titleIcon_h06mo_810{margin-right:8px}._countryFlagIcon_h06mo_815{vertical-align:-3px;font-size:20px}._svgIcon_h06mo_821{vertical-align:-3px}._iconMirror_h06mo_826{transform:scaleX(-1)}._langGrid_h06mo_831{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:8px 4px;min-width:360px;max-height:none}._langBtn_h06mo_841{width:100%;text-align:center}._countryInfoPopover_h06mo_847{color:#ccc;font-size:13px;line-height:22px}._countryInfoMeta_h06mo_853{color:#888;font-size:12px}._disabledMenuItem_h06mo_858{color:#555;cursor:not-allowed}._currentProcessBtn_h06mo_863{color:#22c55e;border-color:#22c55e}._proxySwapIcon_h06mo_868{margin-right:4px;font-size:11px}._fullWidthSelect_h06mo_873{width:100%}._proxyProfileTag_h06mo_878{border-radius:12px;background:#303030;border:1px solid #444;color:#999;font-size:12px;cursor:pointer;transition:color .2s,border-color .2s}._proxyProfileTag_h06mo_878:hover{color:#ccc;border-color:#555}._proxyWarning_h06mo_892{background:#2a2000;border:1px solid #5c4d00;border-radius:4px;color:#fbbf24;font-size:12px;padding:6px 10px;margin-bottom:10px}._proxyList_h06mo_902{display:flex;flex-direction:column;gap:4px}._proxyItem_h06mo_908{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-radius:6px;border:1px solid #00000000;transition:background .15s}._proxyItem_h06mo_908:hover{background:#1e1e1e}._proxyItemActive_h06mo_920{background:#1a2332;border-color:#1668dc}._proxyItemMain_h06mo_925{display:flex;align-items:center;cursor:pointer;flex:1;min-width:0}._proxyItemInfo_h06mo_933{display:flex;flex-direction:column;min-width:0}._proxyItemNameRow_h06mo_939{display:flex;align-items:center;gap:6px}._proxyItemName_h06mo_939{font-size:13px;color:#e5e5e5;font-weight:500}._proxyItemDetail_h06mo_951{font-size:11px;color:#6b7280;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._proxyBuiltinTag_h06mo_960{font-size:10px;padding:0 4px;border-radius:3px;background:#1e3a5f;color:#60a5fa;line-height:16px;border:none}._proxyItemActions_h06mo_970{display:flex;gap:2px;flex-shrink:0}._proxyEditForm_h06mo_976{margin-top:12px;padding:12px;border-radius:6px;background:#1e1e1e;border:1px solid #303030}._proxyEditRow_h06mo_984{margin-bottom:8px}._proxyEditRow_h06mo_984 label{display:block;font-size:12px;color:#999;margin-bottom:4px}._proxyRequired_h06mo_994{color:#ef4444;margin-left:2px}._proxyEditDivider_h06mo_999{border-top:1px dashed #303030;margin:10px 0 8px}._proxyEditBtns_h06mo_1004{display:flex;gap:8px;margin-top:12px}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
var Fe=Object.defineProperty;var He=(t,l,o)=>l in t?Fe(t,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[l]=o;var me=(t,l,o)=>He(t,typeof l!="symbol"?l+"":l,o);import{r as x,j as e,i as G}from"./index-DLkyZ-Zb.js";import{g as Te,m as We,a as _e,r as $e,K as X,u as B,C as ge,i as Le,c as R,b as Ve,d as Ue,I as Ge,_ as Ze,e as be,t as u,F as qe,f as Xe,h as Ke,j as Ye,k as Je,l as Qe,s as n,n as ie,o as Z,A as et,q as tt,v as st,w as it,x as r,B as E,R as lt,y as ot,T as ve,z as he,D as Ce,O as nt,E as at,G as rt,S as ct,H as ue,J as dt}from"./AppHeader.module-_fn3e-3Y.js";const mt=new X("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),ht=new X("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),ut=new X("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),bt=new X("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),gt=new X("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),ft=new X("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),xt=t=>{const{componentCls:l,iconCls:o,antCls:s,badgeShadowSize:i,textFontSize:d,textFontSizeSM:a,statusSize:c,dotSize:m,textFontWeight:p,indicatorHeight:f,indicatorHeightSM:h,marginXS:N,calc:w}=t,v=`${s}-scroll-number`,S=_e(t,(j,{darkColor:b})=>({[`&${l} ${l}-color-${j}`]:{background:b,[`&:not(${l}-count)`]:{color:b},"a:hover &":{background:b}}}));return{[l]:Object.assign(Object.assign(Object.assign(Object.assign({},$e(t)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${l}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:t.indicatorZIndex,minWidth:f,height:f,color:t.badgeTextColor,fontWeight:p,fontSize:d,lineHeight:B(f),whiteSpace:"nowrap",textAlign:"center",background:t.badgeColor,borderRadius:w(f).div(2).equal(),boxShadow:`0 0 0 ${B(i)} ${t.badgeShadowColor}`,transition:`background ${t.motionDurationMid}`,a:{color:t.badgeTextColor},"a:hover":{color:t.badgeTextColor},"a:hover &":{background:t.badgeColorHover}},[`${l}-count-sm`]:{minWidth:h,height:h,fontSize:a,lineHeight:B(h),borderRadius:w(h).div(2).equal()},[`${l}-multiple-words`]:{padding:`0 ${B(t.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${l}-dot`]:{zIndex:t.indicatorZIndex,width:m,minWidth:m,height:m,background:t.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${B(i)} ${t.badgeShadowColor}`},[`${l}-count, ${l}-dot, ${v}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${o}-spin`]:{animationName:ft,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${l}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${l}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:c,height:c,verticalAlign:"middle",borderRadius:"50%"},[`${l}-status-success`]:{backgroundColor:t.colorSuccess},[`${l}-status-processing`]:{overflow:"visible",color:t.colorInfo,backgroundColor:t.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:i,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:mt,animationDuration:t.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${l}-status-default`]:{backgroundColor:t.colorTextPlaceholder},[`${l}-status-error`]:{backgroundColor:t.colorError},[`${l}-status-warning`]:{backgroundColor:t.colorWarning},[`${l}-status-text`]:{marginInlineStart:N,color:t.colorText,fontSize:t.fontSize}}}),S),{[`${l}-zoom-appear, ${l}-zoom-enter`]:{animationName:ht,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack,animationFillMode:"both"},[`${l}-zoom-leave`]:{animationName:ut,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack,animationFillMode:"both"},[`&${l}-not-a-wrapper`]:{[`${l}-zoom-appear, ${l}-zoom-enter`]:{animationName:bt,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack},[`${l}-zoom-leave`]:{animationName:gt,animationDuration:t.motionDurationSlow,animationTimingFunction:t.motionEaseOutBack},[`&:not(${l}-status)`]:{verticalAlign:"middle"},[`${v}-custom-component, ${l}-count`]:{transform:"none"},[`${v}-custom-component, ${v}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[v]:{overflow:"hidden",transition:`all ${t.motionDurationMid} ${t.motionEaseOutBack}`,[`${v}-only`]:{position:"relative",display:"inline-block",height:f,transition:`all ${t.motionDurationSlow} ${t.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${v}-only-unit`]:{height:f,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${v}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${l}-count, ${l}-dot, ${v}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},Oe=t=>{const{fontHeight:l,lineWidth:o,marginXS:s,colorBorderBg:i}=t,d=l,a=o,c=t.colorTextLightSolid,m=t.colorError,p=t.colorErrorHover;return We(t,{badgeFontHeight:d,badgeShadowSize:a,badgeTextColor:c,badgeColor:m,badgeColorHover:p,badgeShadowColor:i,badgeProcessingDuration:"1.2s",badgeRibbonOffset:s,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},Me=t=>{const{fontSize:l,lineHeight:o,fontSizeSM:s,lineWidth:i}=t;return{indicatorZIndex:"auto",indicatorHeight:Math.round(l*o)-2*i,indicatorHeightSM:l,dotSize:s/2,textFontSize:s,textFontSizeSM:s,textFontWeight:"normal",statusSize:s/2}},pt=Te("Badge",t=>{const l=Oe(t);return xt(l)},Me),jt=t=>{const{antCls:l,badgeFontHeight:o,marginXS:s,badgeRibbonOffset:i,calc:d}=t,a=`${l}-ribbon`,c=`${l}-ribbon-wrapper`,m=_e(t,(p,{darkColor:f})=>({[`&${a}-color-${p}`]:{background:f,color:f}}));return{[c]:{position:"relative"},[a]:Object.assign(Object.assign(Object.assign(Object.assign({},$e(t)),{position:"absolute",top:s,padding:`0 ${B(t.paddingXS)}`,color:t.colorPrimary,lineHeight:B(o),whiteSpace:"nowrap",backgroundColor:t.colorPrimary,borderRadius:t.borderRadiusSM,[`${a}-text`]:{color:t.badgeTextColor},[`${a}-corner`]:{position:"absolute",top:"100%",width:i,height:i,color:"currentcolor",border:`${B(d(i).div(2).equal())} solid`,transform:t.badgeRibbonCornerTransform,transformOrigin:"top",filter:t.badgeRibbonCornerFilter}}),m),{[`&${a}-placement-end`]:{insetInlineEnd:d(i).mul(-1).equal(),borderEndEndRadius:0,[`${a}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${a}-placement-start`]:{insetInlineStart:d(i).mul(-1).equal(),borderEndStartRadius:0,[`${a}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},Nt=Te(["Badge","Ribbon"],t=>{const l=Oe(t);return jt(l)},Me),vt=t=>{const{className:l,prefixCls:o,style:s,color:i,children:d,text:a,placement:c="end",rootClassName:m}=t,{getPrefixCls:p,direction:f}=x.useContext(ge),h=p("ribbon",o),N=`${h}-wrapper`,[w,v,S]=Nt(h,N),j=Le(i,!1),b=R(h,`${h}-placement-${c}`,{[`${h}-rtl`]:f==="rtl",[`${h}-color-${i}`]:j},l),g={},L={};return i&&!j&&(g.background=i,L.color=i),w(x.createElement("div",{className:R(N,m,v,S)},d,x.createElement("div",{className:R(b,v),style:Object.assign(Object.assign({},g),s)},x.createElement("span",{className:`${h}-text`},a),x.createElement("div",{className:`${h}-corner`,style:L}))))},ye=t=>{const{prefixCls:l,value:o,current:s,offset:i=0}=t;let d;return i&&(d={position:"absolute",top:`${i}00%`,left:0}),x.createElement("span",{style:d,className:R(`${l}-only-unit`,{current:s})},o)};function Ct(t,l,o){let s=t,i=0;for(;(s+10)%10!==l;)s+=o,i+=o;return i}const yt=t=>{const{prefixCls:l,count:o,value:s}=t,i=Number(s),d=Math.abs(o),[a,c]=x.useState(i),[m,p]=x.useState(d),f=()=>{c(i),p(d)};x.useEffect(()=>{const w=setTimeout(f,1e3);return()=>clearTimeout(w)},[i]);let h,N;if(a===i||Number.isNaN(i)||Number.isNaN(a))h=[x.createElement(ye,Object.assign({},t,{key:i,current:!0}))],N={transition:"none"};else{h=[];const w=i+10,v=[];for(let g=i;g<=w;g+=1)v.push(g);const S=m<d?1:-1,j=v.findIndex(g=>g%10===a);h=(S<0?v.slice(0,j+1):v.slice(j)).map((g,L)=>{const I=g%10;return x.createElement(ye,Object.assign({},t,{key:g,value:I,offset:S<0?L-j:L,current:L===j}))}),N={transform:`translateY(${-Ct(a,i,S)}00%)`}}return x.createElement("span",{className:`${l}-only`,style:N,onTransitionEnd:f},h)};var St=function(t,l){var o={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&l.indexOf(s)<0&&(o[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,s=Object.getOwnPropertySymbols(t);i<s.length;i++)l.indexOf(s[i])<0&&Object.prototype.propertyIsEnumerable.call(t,s[i])&&(o[s[i]]=t[s[i]]);return o};const wt=x.forwardRef((t,l)=>{const{prefixCls:o,count:s,className:i,motionClassName:d,style:a,title:c,show:m,component:p="sup",children:f}=t,h=St(t,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:N}=x.useContext(ge),w=N("scroll-number",o),v=Object.assign(Object.assign({},h),{"data-show":m,style:a,className:R(w,i,d),title:c});let S=s;if(s&&Number(s)%1===0){const j=String(s).split("");S=x.createElement("bdi",null,j.map((b,g)=>x.createElement(yt,{prefixCls:w,count:Number(s),value:b,key:j.length-g})))}return a!=null&&a.borderColor&&(v.style=Object.assign(Object.assign({},a),{boxShadow:`0 0 0 1px ${a.borderColor} inset`})),f?Ve(f,j=>({className:R(`${w}-custom-component`,j==null?void 0:j.className,d)})):x.createElement(p,Object.assign({},v,{ref:l}),S)});var Tt=function(t,l){var o={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&l.indexOf(s)<0&&(o[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,s=Object.getOwnPropertySymbols(t);i<s.length;i++)l.indexOf(s[i])<0&&Object.prototype.propertyIsEnumerable.call(t,s[i])&&(o[s[i]]=t[s[i]]);return o};const _t=x.forwardRef((t,l)=>{var o,s,i,d,a;const{prefixCls:c,scrollNumberPrefixCls:m,children:p,status:f,text:h,color:N,count:w=null,overflowCount:v=99,dot:S=!1,size:j="default",title:b,offset:g,style:L,className:I,rootClassName:D,classNames:O,styles:M,showZero:A=!1}=t,K=Tt(t,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:F,direction:z,badge:C}=x.useContext(ge),T=F("badge",c),[Y,Q,le]=pt(T),_=w>v?`${v}+`:w,$=_==="0"||_===0||h==="0"||h===0,P=w===null||$&&!A,oe=(f!=null||N!=null)&&P,Ie=f!=null||!$,J=S&&!$,H=J?"":_,W=x.useMemo(()=>((H==null||H==="")&&(h==null||h==="")||$&&!A)&&!J,[H,$,A,J,h]),fe=x.useRef(w);W||(fe.current=w);const U=fe.current,xe=x.useRef(H);W||(xe.current=H);const ne=xe.current,pe=x.useRef(J);W||(pe.current=J);const ee=x.useMemo(()=>{if(!g)return Object.assign(Object.assign({},C==null?void 0:C.style),L);const k={marginTop:g[1]};return z==="rtl"?k.left=Number.parseInt(g[0],10):k.right=-Number.parseInt(g[0],10),Object.assign(Object.assign(Object.assign({},k),C==null?void 0:C.style),L)},[z,g,L,C==null?void 0:C.style]),Pe=b??(typeof U=="string"||typeof U=="number"?U:void 0),je=!W&&(h===0?A:!!h&&h!==!0),Ee=je?x.createElement("span",{className:`${T}-status-text`},h):null,Be=!U||typeof U!="object"?void 0:Ve(U,k=>({style:Object.assign(Object.assign({},ee),k.style)})),te=Le(N,!1),ze=R(O==null?void 0:O.indicator,(o=C==null?void 0:C.classNames)===null||o===void 0?void 0:o.indicator,{[`${T}-status-dot`]:oe,[`${T}-status-${f}`]:!!f,[`${T}-color-${N}`]:te}),ae={};N&&!te&&(ae.color=N,ae.background=N);const Ne=R(T,{[`${T}-status`]:oe,[`${T}-not-a-wrapper`]:!p,[`${T}-rtl`]:z==="rtl"},I,D,C==null?void 0:C.className,(s=C==null?void 0:C.classNames)===null||s===void 0?void 0:s.root,O==null?void 0:O.root,Q,le);if(!p&&oe&&(h||Ie||!P)){const k=ee.color;return Y(x.createElement("span",Object.assign({},K,{className:Ne,style:Object.assign(Object.assign(Object.assign({},M==null?void 0:M.root),(i=C==null?void 0:C.styles)===null||i===void 0?void 0:i.root),ee)}),x.createElement("span",{className:ze,style:Object.assign(Object.assign(Object.assign({},M==null?void 0:M.indicator),(d=C==null?void 0:C.styles)===null||d===void 0?void 0:d.indicator),ae)}),je&&x.createElement("span",{style:{color:k},className:`${T}-status-text`},h)))}return Y(x.createElement("span",Object.assign({ref:l},K,{className:Ne,style:Object.assign(Object.assign({},(a=C==null?void 0:C.styles)===null||a===void 0?void 0:a.root),M==null?void 0:M.root)}),p,x.createElement(Ue,{visible:!W,motionName:`${T}-zoom`,motionAppear:!1,motionDeadline:1e3},({className:k})=>{var re,ce;const De=F("scroll-number",m),de=pe.current,Ae=R(O==null?void 0:O.indicator,(re=C==null?void 0:C.classNames)===null||re===void 0?void 0:re.indicator,{[`${T}-dot`]:de,[`${T}-count`]:!de,[`${T}-count-sm`]:j==="small",[`${T}-multiple-words`]:!de&&ne&&ne.toString().length>1,[`${T}-status-${f}`]:!!f,[`${T}-color-${N}`]:te});let se=Object.assign(Object.assign(Object.assign({},M==null?void 0:M.indicator),(ce=C==null?void 0:C.styles)===null||ce===void 0?void 0:ce.indicator),ee);return N&&!te&&(se=se||{},se.background=N),x.createElement(wt,{prefixCls:De,show:!W,motionClassName:k,className:Ae,count:ne,title:Pe,style:se,key:"scrollNumber"},Be)}),Ee))}),ke=_t;ke.Ribbon=vt;var $t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z"}}]},name:"rollback",theme:"outlined"},Lt=function(l,o){return x.createElement(Ge,Ze({},l,{ref:o,icon:$t}))},Vt=x.forwardRef(Lt);const Ot="_container_md63t_1",Mt="_fileListSection_md63t_10",kt="_header_md63t_19",Rt="_headerTitle_md63t_28",It="_fileCount_md63t_36",Pt="_changesContainer_md63t_44",Et="_changeItem_md63t_51",Bt="_changeItemActive_md63t_68",zt="_dirItem_md63t_77",Dt="_dirArrow_md63t_88",At="_dirName_md63t_97",Ft="_status_md63t_102",Ht="_icon_md63t_111",Wt="_fileName_md63t_120",Ut="_diffSection_md63t_127",Gt="_diffHeader_md63t_135",Zt="_diffFilePath_md63t_145",qt="_diffBadge_md63t_155",Xt="_diffContent_md63t_167",Kt="_diffPlaceholder_md63t_173",Yt="_statusText_md63t_184",Jt="_errorText_md63t_191",Qt="_emptyText_md63t_198",es="_warningText_md63t_205",ts="_fileSizeNote_md63t_217",ss="_statusTextItalic_md63t_222",is="_rotated90_md63t_226",y={container:Ot,fileListSection:Mt,header:kt,headerTitle:Rt,fileCount:It,changesContainer:Pt,changeItem:Et,changeItemActive:Bt,dirItem:zt,dirArrow:Dt,dirName:At,status:Ft,icon:Ht,fileName:Wt,diffSection:Ut,diffHeader:Gt,diffFilePath:Zt,diffBadge:qt,diffContent:Xt,diffPlaceholder:Kt,statusText:Yt,errorText:Jt,emptyText:Qt,warningText:es,fileSizeNote:ts,statusTextItalic:ss,rotated90:is},ls={M:"#e2c08d",A:"#73c991",D:"#f14c4c",R:"#73c991",C:"#73c991",U:"#e2c08d","?":"#73c991","??":"#73c991"},os={"??":"U"},ns={js:"#e8d44d",jsx:"#61dafb",ts:"#3178c6",tsx:"#3178c6",json:"#999",md:"#519aba",css:"#a86fd9",scss:"#cd6799",html:"#e34c26",py:"#3572a5",go:"#00add8",rs:"#dea584"};function as(t){const l=t.includes(".")?t.split(".").pop().toLowerCase():"",o=ns[l]||"#888";return e.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"1.5",children:[e.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),e.jsx("polyline",{points:"14 2 14 8 20 8"})]})}function rs(){return e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"#c09553",stroke:"none",children:e.jsx("path",{d:"M2 6c0-1.1.9-2 2-2h5l2 2h9a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6z"})})}function cs(t){const l={dirs:{},files:[]};for(const o of t){const s=o.file.split("/");let i=l;for(let d=0;d<s.length-1;d++)i.dirs[s[d]]||(i.dirs[s[d]]={dirs:{},files:[]}),i=i.dirs[s[d]];i.files.push({name:s[s.length-1],status:o.status,fullPath:o.file})}return l}function Re({name:t,node:l,depth:o,selectedFile:s,onFileClick:i}){const d=Object.keys(l.dirs).sort(),a=[...l.files].sort((c,m)=>c.name.localeCompare(m.name));return e.jsxs(e.Fragment,{children:[t&&e.jsxs("div",{className:y.dirItem,style:{paddingLeft:8+o*16},children:[e.jsx("span",{className:y.dirArrow,children:e.jsx("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:y.rotated90,children:e.jsx("polyline",{points:"9 6 15 12 9 18"})})}),e.jsx("span",{className:y.icon,children:rs()}),e.jsx("span",{className:y.dirName,children:t})]}),d.map(c=>e.jsx(Re,{name:c,node:l.dirs[c],depth:t?o+1:o,selectedFile:s,onFileClick:i},c)),a.map(c=>e.jsxs("div",{className:`${y.changeItem} ${s===c.fullPath?y.changeItemActive:""}`,style:{paddingLeft:8+(t?o+1:o)*16},onClick:()=>i&&i(c.fullPath),children:[e.jsx("span",{className:y.icon,children:as(c.name)}),e.jsx("span",{className:y.fileName,children:c.name}),e.jsx("span",{className:y.status,style:{color:ls[c.status]||"#888"},children:os[c.status]||c.status})]},c.fullPath))]})}function ds({visible:t}){const[l,o]=x.useState(null),[s,i]=x.useState(null),[d,a]=x.useState(!0),[c,m]=x.useState(null),[p,f]=x.useState(null),[h,N]=x.useState(null),[w,v]=x.useState(!1),S=x.useRef(!0);return x.useEffect(()=>{if(S.current=!0,!!t)return a(!0),i(null),fetch(be("/api/git-status")).then(j=>j.ok?j.json():Promise.reject()).then(j=>{S.current&&(o(j.changes||[]),a(!1))}).catch(()=>{S.current&&(i("Failed to load git status"),a(!1))}),()=>{S.current=!1}},[t]),x.useEffect(()=>{if(!c){f(null),N(null);return}v(!0),f(null),N(null),fetch(be(`/api/git-diff?files=${encodeURIComponent(c)}`)).then(j=>{if(!j.ok)throw new Error(`HTTP ${j.status}`);return j.json()}).then(j=>{S.current&&(j.diffs&&j.diffs[0]?f(j.diffs[0]):N("No diff data available"),v(!1))}).catch(j=>{S.current&&(N(`${u("ui.fileLoadError")}: ${j.message}`),v(!1))})},[c]),e.jsxs("div",{className:y.container,children:[e.jsxs("div",{className:y.fileListSection,children:[e.jsxs("div",{className:y.header,children:[e.jsx("span",{className:y.headerTitle,children:u("ui.gitChanges")}),e.jsx("span",{className:y.fileCount,children:l?l.length:0})]}),e.jsxs("div",{className:y.changesContainer,children:[d&&e.jsx("div",{className:y.statusText,children:"Loading..."}),s&&e.jsx("div",{className:y.errorText,children:s}),!d&&!s&&l&&l.length===0&&e.jsx("div",{className:y.emptyText,children:"No changes"}),!d&&!s&&l&&l.length>0&&e.jsx(Re,{name:"",node:cs(l),depth:0,selectedFile:c,onFileClick:m})]})]}),e.jsx("div",{className:y.diffSection,children:c?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:y.diffHeader,children:[e.jsx("span",{className:y.diffFilePath,children:c}),e.jsx("span",{className:y.diffBadge,children:"DIFF"})]}),e.jsxs("div",{className:y.diffContent,children:[w&&e.jsx("div",{className:y.statusText,children:u("ui.loading")}),h&&e.jsx("div",{className:y.errorText,children:h}),!w&&!h&&p&&e.jsx(e.Fragment,{children:p.is_large?e.jsxs("div",{className:y.warningText,children:[e.jsx("p",{children:u("ui.largeFileWarning")}),e.jsxs("p",{className:y.fileSizeNote,children:[u("ui.fileSize"),": ",(p.size/(1024*1024)).toFixed(2)," MB"]})]}):p.is_binary?e.jsx("div",{className:`${y.statusText} ${y.statusTextItalic}`,children:u("ui.binaryFileNotice")}):e.jsx(qe,{file_path:c,old_string:p.old_content,new_string:p.new_content})})]})]}):e.jsxs("div",{className:y.diffPlaceholder,children:[e.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",stroke:"#333",strokeWidth:"1.5",children:[e.jsx("line",{x1:"6",y1:"3",x2:"6",y2:"15"}),e.jsx("circle",{cx:"18",cy:"6",r:"3"}),e.jsx("circle",{cx:"6",cy:"18",r:"3"}),e.jsx("path",{d:"M18 9a9 9 0 0 1-9 9"})]}),e.jsx("span",{children:u("ui.mobileGitDiffHint")})]})})]})}const ms="_container_16ddt_1",hs="_header_16ddt_9",us="_headerTitle_16ddt_18",bs="_closeBtn_16ddt_24",gs="_content_16ddt_38",fs="_empty_16ddt_47",xs="_fixedTable_16ddt_54",ps="_ellipsisCell_16ddt_58",js="_thLeft_16ddt_65",Ns="_colWide_16ddt_69",vs="_colNarrow_16ddt_73",V={container:ms,header:hs,headerTitle:us,closeBtn:bs,content:gs,empty:fs,fixedTable:xs,ellipsisCell:ps,thLeft:js,colWide:Ns,colNarrow:vs},Cs=["ttl","system_change","tools_change","model_change","msg_truncated","msg_modified","key_change"],Se={ttl:"cacheLoss.ttl",system_change:"cacheLoss.systemChange",tools_change:"cacheLoss.toolsChange",model_change:"cacheLoss.modelChange",msg_truncated:"cacheLoss.msgTruncated",msg_modified:"cacheLoss.msgModified",key_change:"cacheLoss.keyChange"};function ys({requests:t=[],visible:l,onClose:o}){const{byModel:s,models:i,toolStats:d,skillStats:a,cacheStats:c,activeReasons:m,totalCount:p,totalCache:f,hasCacheStats:h,subAgentEntries:N,hasSubAgentStats:w,teammateEntries:v,hasTeammateStats:S,isEmpty:j}=x.useMemo(()=>{const b=Xe(t),g=Object.keys(b),L=Ke(t),I=Ye(t),D=Je(t),O=Cs.filter(_=>D[_].count>0),M=O.reduce((_,$)=>_+D[$].count,0),A=O.reduce((_,$)=>_+D[$].cacheCreate,0),K=O.length>0,F={},z={};for(let _=0;_<t.length;_++){const $=Qe(t[_],t[_+1]);if($.type==="SubAgent"){const P=$.subType||"Other";F[P]=(F[P]||0)+1}else if($.type==="Teammate"){const P=$.subType||"Teammate";z[P]=(z[P]||0)+1}}const C=Object.entries(F).sort((_,$)=>$[1]-_[1]),T=C.length>0,Y=Object.entries(z).sort((_,$)=>$[1]-_[1]),Q=Y.length>0,le=g.length===0&&L.length===0&&!K&&!T&&!Q&&I.length===0;return{byModel:b,models:g,toolStats:L,skillStats:I,cacheStats:D,activeReasons:O,totalCount:M,totalCache:A,hasCacheStats:K,subAgentEntries:C,hasSubAgentStats:T,teammateEntries:Y,hasTeammateStats:Q,isEmpty:le}},[t]);return l?e.jsxs("div",{className:V.container,children:[e.jsxs("div",{className:V.header,children:[e.jsx("span",{className:V.headerTitle,children:u("ui.tokenStats")}),e.jsx("button",{className:V.closeBtn,onClick:o,children:e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),e.jsx("div",{className:V.content,children:j?e.jsx("div",{className:V.empty,children:"—"}):e.jsxs(e.Fragment,{children:[a.length>0&&e.jsxs("div",{className:n.modelCard,children:[e.jsx("div",{className:n.modelName,children:u("ui.skillUsageStats")}),e.jsxs("table",{className:n.statsTable,children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("td",{className:`${n.th} ${V.thLeft}`,children:"Skill"}),e.jsx("td",{className:n.th,children:u("ui.cacheRebuild.count")})]})}),e.jsxs("tbody",{children:[a.map(([b,g])=>e.jsxs("tr",{className:n.rowBorder,children:[e.jsx("td",{className:n.label,children:b}),e.jsx("td",{className:n.td,children:g})]},b)),a.length>1&&e.jsxs("tr",{className:n.rebuildTotalRow,children:[e.jsx("td",{className:n.label,children:"Total"}),e.jsx("td",{className:n.td,children:a.reduce((b,g)=>b+g[1],0)})]})]})]})]}),w&&e.jsxs("div",{className:n.modelCard,children:[e.jsx("div",{className:n.modelName,children:u("ui.subAgentStats")}),e.jsxs("table",{className:n.statsTable,children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("td",{className:`${n.th} ${V.thLeft}`,children:"SubAgent"}),e.jsx("td",{className:n.th,children:u("ui.cacheRebuild.count")})]})}),e.jsxs("tbody",{children:[N.map(([b,g])=>e.jsxs("tr",{className:n.rowBorder,children:[e.jsxs("td",{className:n.label,children:[b," ",e.jsx(ie,{doc:`SubAgent-${b}`})]}),e.jsx("td",{className:n.td,children:g})]},b)),N.length>1&&e.jsxs("tr",{className:n.rebuildTotalRow,children:[e.jsx("td",{className:n.label,children:"Total"}),e.jsx("td",{className:n.td,children:N.reduce((b,g)=>b+g[1],0)})]})]})]})]}),S&&e.jsxs("div",{className:n.modelCard,children:[e.jsx("div",{className:n.modelName,children:"Teammate"}),e.jsxs("table",{className:n.statsTable,children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("td",{className:`${n.th} ${V.thLeft}`,children:"Name"}),e.jsx("td",{className:n.th,children:u("ui.cacheRebuild.count")})]})}),e.jsxs("tbody",{children:[v.map(([b,g])=>e.jsxs("tr",{className:n.rowBorder,children:[e.jsx("td",{className:n.label,children:b}),e.jsx("td",{className:n.td,children:g})]},b)),v.length>1&&e.jsxs("tr",{className:n.rebuildTotalRow,children:[e.jsx("td",{className:n.label,children:"Total"}),e.jsx("td",{className:n.td,children:v.reduce((b,g)=>b+g[1],0)})]})]})]})]}),d.length>0&&e.jsxs("div",{className:n.modelCard,children:[e.jsx("div",{className:n.modelName,children:u("ui.toolUsageStats")}),e.jsxs("table",{className:n.statsTable,children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("td",{className:`${n.th} ${V.thLeft}`,children:"Tool"}),e.jsx("td",{className:n.th,children:u("ui.cacheRebuild.count")})]})}),e.jsxs("tbody",{children:[d.map(([b,g])=>e.jsxs("tr",{className:n.rowBorder,children:[e.jsxs("td",{className:n.label,children:[b," ",e.jsx(ie,{doc:`Tool-${b}`})]}),e.jsx("td",{className:n.td,children:g})]},b)),d.length>1&&e.jsxs("tr",{className:n.rebuildTotalRow,children:[e.jsx("td",{className:n.label,children:"Total"}),e.jsx("td",{className:n.td,children:d.reduce((b,g)=>b+g[1],0)})]})]})]})]}),h&&e.jsxs("div",{className:n.modelCard,children:[e.jsxs("div",{className:n.modelName,children:["MainAgent",e.jsx(ie,{doc:"MainAgent"})," ",u("ui.cacheRebuildStats"),e.jsx(ie,{doc:"CacheRebuild"})]}),e.jsxs("table",{className:`${n.statsTable} ${V.fixedTable}`,children:[e.jsxs("colgroup",{children:[e.jsx("col",{className:V.colWide}),e.jsx("col",{className:V.colNarrow}),e.jsx("col",{className:V.colNarrow})]}),e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("td",{className:`${n.th} ${V.thLeft}`,children:u("ui.cacheRebuild.reason")}),e.jsx("td",{className:n.th,children:u("ui.cacheRebuild.count")}),e.jsx("td",{className:n.th,children:u("ui.cacheRebuild.cacheCreate")})]})}),e.jsxs("tbody",{children:[m.map(b=>e.jsxs("tr",{className:n.rowBorder,children:[e.jsx("td",{className:`${n.label} ${V.ellipsisCell}`,title:u(`ui.${Se[b]}`),children:u(`ui.${Se[b]}`)}),e.jsx("td",{className:n.td,children:c[b].count}),e.jsx("td",{className:n.td,children:Z(c[b].cacheCreate)})]},b)),m.length>1&&e.jsxs("tr",{className:n.rebuildTotalRow,children:[e.jsx("td",{className:n.label,children:"Total"}),e.jsx("td",{className:n.td,children:p}),e.jsx("td",{className:n.td,children:Z(f)})]})]})]})]}),i.map(b=>{const g=s[b],L=g.input+g.cacheCreation+g.cacheRead,I=L>0?(g.cacheRead/L*100).toFixed(1):"0.0";return e.jsxs("div",{className:n.modelCard,children:[e.jsx("div",{className:n.modelName,children:b}),e.jsx("table",{className:n.statsTable,children:e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("td",{className:n.label,children:"Token"}),e.jsx("td",{className:n.th,children:"input"}),e.jsx("td",{className:n.th,children:"output"})]}),e.jsxs("tr",{className:n.rowBorder,children:[e.jsx("td",{className:n.label}),e.jsx("td",{className:n.td,children:Z(L)}),e.jsx("td",{className:n.td,children:Z(g.output)})]}),e.jsxs("tr",{children:[e.jsx("td",{className:n.label,children:"Cache"}),e.jsx("td",{className:n.th,children:"create"}),e.jsx("td",{className:n.th,children:"read"})]}),e.jsxs("tr",{className:n.rowBorder,children:[e.jsx("td",{className:n.label}),e.jsx("td",{className:n.td,children:Z(g.cacheCreation)}),e.jsx("td",{className:n.td,children:Z(g.cacheRead)})]}),e.jsxs("tr",{children:[e.jsx("td",{className:n.label,children:u("ui.hitRate")}),e.jsxs("td",{colSpan:2,className:n.td,children:[I,"%"]})]})]})})]},b)})]})})]}):null}const q=class q extends et{constructor(o){super(o);me(this,"handleExportPromptsTxt",o=>{if(!o||o.length===0)return;const s=[];for(const c of o){const m=[],p=c.timestamp?new Date(c.timestamp).toLocaleString():"";p&&m.push(`${p}:
|
|
2
|
-
`);const f=(c.segments||[]).filter(h=>h.type==="text").map(h=>h.content);f.length>0&&m.push(f.join(`
|
|
3
|
-
`)),s.push(m.join(`
|
|
4
|
-
`))}if(s.length===0)return;const i=new Blob([s.join(`
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
`)],{type:"text/plain;charset=utf-8"}),d=URL.createObjectURL(i),a=document.createElement("a");a.href=d,a.download=`user-prompts-${new Date().toISOString().slice(0,10)}.txt`,a.click(),URL.revokeObjectURL(d)});Object.assign(this.state,{mobileMenuVisible:!1,mobileStatsVisible:!1,mobileGitDiffVisible:!1,mobileChatVisible:!1,mobileLogMgmtVisible:!1,mobileSettingsVisible:!1,mobilePromptVisible:!1,mobileTerminalVisible:!1})}componentDidMount(){super.componentDidMount(),G&&window.visualViewport&&(this._onVisualViewportChange=()=>{const o=this._layoutRef.current;if(!o)return;const s=window.visualViewport;o.style.position="fixed",o.style.top=`${s.offsetTop}px`,o.style.height=`${s.height}px`,o.style.width="100%",o.style.left="0"},window.visualViewport.addEventListener("resize",this._onVisualViewportChange),window.visualViewport.addEventListener("scroll",this._onVisualViewportChange),this._onVisualViewportChange())}componentWillUnmount(){this._onVisualViewportChange&&window.visualViewport&&(window.visualViewport.removeEventListener("resize",this._onVisualViewportChange),window.visualViewport.removeEventListener("scroll",this._onVisualViewportChange)),super.componentWillUnmount()}static parseSegments(o){const s=[],i=/<([a-zA-Z_][\w-]*)(?:\s[^>]*)?>[\s\S]*?<\/\1>/g;let d=0,a;for(;(a=i.exec(o))!==null;){const m=o.slice(d,a.index).trim();m&&s.push({type:"text",content:m});const p=a[1];if(d=a.index+a[0].length,q.COMMAND_TAGS.has(p))continue;const f=new RegExp(`^<${p}(?:\\s[^>]*)?>([\\s\\S]*)<\\/${p}>$`),h=a[0].match(f),N=h?h[1].trim():a[0].trim();s.push({type:"system",content:N,label:p})}const c=o.slice(d).trim();return c&&s.push({type:"text",content:c}),s}static extractUserTexts(o){const s=[],i=[];let d=null;for(const a of o)if(a.role==="user"){if(typeof a.content=="string"){const c=a.content.trim();if(!c)continue;if(!tt(c)){if(/Implement the following plan:/i.test(c))continue;s.push(c),i.push(c)}}else if(Array.isArray(a.content)){const{commands:c,textBlocks:m}=st(a.content);c.length>0&&(d=c[c.length-1]);const p=[];for(const h of m)/Implement the following plan:/i.test((h.text||"").trim())||p.push(h.text.trim());const f=a.content.filter(h=>{var N;return h.type==="text"&&((N=h.text)==null?void 0:N.trim())}).map(h=>h.text.trim());p.length>0&&(s.push(p.join(`
|
|
9
|
-
`)),i.push(f.join(`
|
|
10
|
-
`)))}}return{userMsgs:s,fullTexts:i,slashCmd:d}}extractUserPrompts(o){var c;const s=[],i=new Set;let d=null;const a=o.filter(m=>it(m));for(let m=0;m<a.length;m++){const p=a[m],f=((c=p.body)==null?void 0:c.messages)||[],h=p.timestamp||"",{userMsgs:N,fullTexts:w,slashCmd:v}=q.extractUserTexts(f);v&&v!=="/compact"&&v!==d&&s.push({type:"prompt",segments:[{type:"text",content:v}],timestamp:h}),d=v;for(let S=0;S<N.length;S++){const j=N[S];if(i.has(j))continue;i.add(j);const b=w[S]||j;s.push({type:"prompt",segments:q.parseSegments(b),timestamp:h})}}return s}renderOriginalPrompt(o){const s=o.segments.filter(i=>i.type==="text");return s.length===0?null:e.jsx("div",{className:r.mobilePromptCard,children:s.map((i,d)=>e.jsx("pre",{className:r.mobilePromptPreText,children:i.content},d))})}render(){const{filteredRequests:o,fileLoading:s,fileLoadingCount:i,mainAgentSessions:d}=this.renderPrepare();if(this.state.workspaceMode)return this.renderWorkspaceMode();const a=!!this._isLocalLog,c=a||this.state.mobileChatVisible;return e.jsxs("div",{className:r.mobileCLIRoot,ref:this._layoutRef,children:[e.jsxs("div",{className:r.mobileCLIHeader,children:[e.jsxs("div",{className:r.mobileCLIHeaderLeft,children:[e.jsx("button",{className:r.mobileMenuBtn,onClick:()=>this.setState(m=>({mobileMenuVisible:!m.mobileMenuVisible})),"aria-label":u("ui.mobileMenu"),children:e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[e.jsx("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),e.jsx("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),e.jsx("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})}),e.jsx(ke,{status:"processing",color:"green"}),e.jsx("span",{className:r.mobileCLIStatusLabel,children:a?u("ui.historyLog",{file:this._localLogFile}):u("ui.liveMonitoring")+(this.state.projectName?`: ${this.state.projectName}`:"")})]}),e.jsxs("div",{className:r.mobileCLIHeaderRight,children:[a?e.jsx(E,{type:"text",size:"small",icon:e.jsx(Vt,{}),onClick:()=>history.back(),className:r.mobileNavBtn,children:u("ui.mobileGoBack")}):e.jsx(E,{type:"text",size:"small",icon:e.jsx(lt,{}),onClick:()=>this.setState(m=>({mobileGitDiffVisible:!m.mobileGitDiffVisible,mobileChatVisible:!1,mobileTerminalVisible:!1,mobileStatsVisible:!1,mobileLogMgmtVisible:!1,mobileSettingsVisible:!1})),style:{color:this.state.mobileGitDiffVisible?"#fff":"#888",fontSize:12},children:this.state.mobileGitDiffVisible?u("ui.mobileGitDiffExit"):u("ui.mobileGitDiffBrowse")}),!a&&(G?e.jsx(E,{type:"text",size:"small",icon:e.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("polyline",{points:"4 17 10 11 4 5"}),e.jsx("line",{x1:"12",y1:"19",x2:"20",y2:"19"})]}),onClick:()=>this.setState(m=>({mobileTerminalVisible:!m.mobileTerminalVisible,mobileGitDiffVisible:!1,mobileStatsVisible:!1,mobileLogMgmtVisible:!1,mobileSettingsVisible:!1})),style:{color:this.state.mobileTerminalVisible?"#fff":"#888",fontSize:12},children:this.state.mobileTerminalVisible?u("ui.mobileTerminalExit"):u("ui.mobileTerminalBrowse")}):e.jsx(E,{type:"text",size:"small",icon:e.jsx(ot,{}),onClick:()=>this.setState(m=>({mobileChatVisible:!m.mobileChatVisible,mobileGitDiffVisible:!1,mobileTerminalVisible:!1,mobileStatsVisible:!1,mobileLogMgmtVisible:!1,mobileSettingsVisible:!1})),style:{color:this.state.mobileChatVisible?"#fff":"#888",fontSize:12},children:this.state.mobileChatVisible?u("ui.mobileChatExit"):u("ui.mobileChatBrowse")}))]}),this.state.mobileMenuVisible&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:r.mobileMenuOverlay,onClick:()=>this.setState({mobileMenuVisible:!1})}),e.jsxs("div",{className:r.mobileMenuDropdown,children:[e.jsxs("button",{className:r.mobileMenuItem,onClick:()=>{this.setState({mobileMenuVisible:!1,mobileLogMgmtVisible:!0,mobileStatsVisible:!1,mobileGitDiffVisible:!1,mobileChatVisible:!1,mobileTerminalVisible:!1,mobileSettingsVisible:!1,mobilePromptVisible:!1}),this.handleImportLocalLogs()},children:[e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),e.jsx("polyline",{points:"14 2 14 8 20 8"}),e.jsx("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),e.jsx("line",{x1:"16",y1:"17",x2:"8",y2:"17"})]}),u("ui.logManagement")]}),e.jsxs("button",{className:r.mobileMenuItem,onClick:()=>{this.setState({mobileMenuVisible:!1,mobileStatsVisible:!0,mobileGitDiffVisible:!1,mobileChatVisible:!1,mobileTerminalVisible:!1,mobileLogMgmtVisible:!1,mobileSettingsVisible:!1,mobilePromptVisible:!1})},children:[e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("rect",{x:"3",y:"3",width:"7",height:"7"}),e.jsx("rect",{x:"14",y:"3",width:"7",height:"7"}),e.jsx("rect",{x:"3",y:"14",width:"7",height:"7"}),e.jsx("rect",{x:"14",y:"14",width:"7",height:"7"})]}),u("ui.tokenStats")]}),e.jsxs("button",{className:r.mobileMenuItem,onClick:()=>{this.setState({mobileMenuVisible:!1,mobileSettingsVisible:!0,mobileStatsVisible:!1,mobileGitDiffVisible:!1,mobileChatVisible:!1,mobileTerminalVisible:!1,mobileLogMgmtVisible:!1,mobilePromptVisible:!1})},children:[e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("circle",{cx:"12",cy:"12",r:"3"}),e.jsx("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"})]}),u("ui.settings")]}),e.jsxs("button",{className:r.mobileMenuItem,onClick:()=>{this.setState({mobileMenuVisible:!1,mobilePromptVisible:!0,mobileStatsVisible:!1,mobileGitDiffVisible:!1,mobileChatVisible:!1,mobileTerminalVisible:!1,mobileLogMgmtVisible:!1,mobileSettingsVisible:!1})},children:[e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),e.jsx("polyline",{points:"14 2 14 8 20 8"}),e.jsx("line",{x1:"12",y1:"18",x2:"12",y2:"12"}),e.jsx("line",{x1:"12",y1:"12",x2:"9",y2:"15"}),e.jsx("line",{x1:"12",y1:"12",x2:"15",y2:"15"})]}),u("ui.userPrompt")]})]})]})]}),e.jsxs("div",{className:r.mobileCLIBody,children:[!a&&!G&&e.jsx(ve,{}),G&&!a&&e.jsxs(e.Fragment,{children:[s&&e.jsxs("div",{className:r.mobileLoadingOverlay,children:[e.jsx("div",{className:r.mobileLoadingSpinner}),e.jsxs("div",{className:r.mobileLoadingLabel,children:[u("ui.loadingChat"),i>0?` (${i})`:""]})]}),e.jsx(he,{theme:this.darkThemeConfig,children:e.jsx("div",{className:r.mobileChatInner,children:e.jsx(Ce,{requests:o,mainAgentSessions:d,userProfile:this.state.userProfile,collapseToolResults:this.state.collapseToolResults,expandThinking:this.state.expandThinking,showFullToolContent:this.state.showFullToolContent,showThinkingSummaries:this.state.showThinkingSummaries,onViewRequest:null,scrollToTimestamp:null,onScrollTsDone:()=>{},cliMode:this.state.cliMode,terminalVisible:!1,mobileChatVisible:!0,fileLoading:this.state.fileLoading,isStreaming:this.state.isStreaming,hasMoreHistory:this.state.hasMoreHistory,loadingMore:this.state.loadingMore,onLoadMoreHistory:()=>this.loadMoreHistory(),loadingSessionId:this.state.loadingSessionId,onLoadSession:m=>this.loadSession(m)})})})]}),G&&!a&&e.jsx("div",{className:`${r.mobileChatOverlay} ${this.state.mobileTerminalVisible?r.mobileChatOverlayVisible:""}`,children:e.jsx(ve,{})}),e.jsx("div",{className:`${r.mobileGitDiffOverlay} ${this.state.mobileGitDiffVisible?r.mobileGitDiffOverlayVisible:""}`,children:e.jsx("div",{className:r.mobileGitDiffInner,children:e.jsx(ds,{visible:this.state.mobileGitDiffVisible})})}),!G&&e.jsxs("div",{className:`${r.mobileChatOverlay} ${c?r.mobileChatOverlayVisible:""}`,children:[s&&e.jsxs("div",{className:r.mobileLoadingOverlay,children:[e.jsx("div",{className:r.mobileLoadingSpinner}),e.jsxs("div",{className:r.mobileLoadingLabel,children:[u("ui.loadingChat"),i>0?` (${i})`:""]})]}),e.jsx(he,{theme:this.darkThemeConfig,children:e.jsx("div",{className:r.mobileChatInner,children:e.jsx(Ce,{requests:o,mainAgentSessions:d,userProfile:this.state.userProfile,collapseToolResults:this.state.collapseToolResults,expandThinking:this.state.expandThinking,showFullToolContent:this.state.showFullToolContent,showThinkingSummaries:this.state.showThinkingSummaries,onViewRequest:null,scrollToTimestamp:null,onScrollTsDone:()=>{},cliMode:this.state.cliMode,terminalVisible:!1,mobileChatVisible:this.state.mobileChatVisible,fileLoading:this.state.fileLoading,isStreaming:this.state.isStreaming,hasMoreHistory:this.state.hasMoreHistory,loadingMore:this.state.loadingMore,onLoadMoreHistory:()=>this.loadMoreHistory(),loadingSessionId:this.state.loadingSessionId,onLoadSession:m=>this.loadSession(m)})})})]}),e.jsx("div",{className:`${r.mobileStatsOverlay} ${this.state.mobileStatsVisible?r.mobileStatsOverlayVisible:""}`,children:e.jsx("div",{className:r.mobileStatsInner,children:e.jsx(ys,{requests:o,visible:this.state.mobileStatsVisible,onClose:()=>this.setState({mobileStatsVisible:!1})})})}),e.jsxs("div",{className:`${r.mobileLogMgmtOverlay} ${this.state.mobileLogMgmtVisible?r.mobileLogMgmtOverlayVisible:""}`,children:[e.jsxs("div",{className:r.mobileLogMgmtHeader,children:[e.jsxs("span",{className:r.mobileLogMgmtTitle,children:[e.jsx(nt,{apiEndpoint:be("/api/open-log-dir"),title:u("ui.openLogDir"),size:14}),u("ui.importLocalLogs")]}),e.jsx("button",{className:r.mobileLogMgmtClose,onClick:()=>this.setState({mobileLogMgmtVisible:!1,selectedLogs:new Set}),children:e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),e.jsxs("div",{className:r.mobileLogMgmtActions,children:[e.jsx(E,{size:"small",type:this.state.selectedLogs.size>=2?"primary":"default",disabled:this.state.selectedLogs.size<2,onClick:this.handleMergeLogs,style:this.state.selectedLogs.size<2?{color:"#666",borderColor:"#333"}:void 0,children:u("ui.mergeLogs")}),e.jsx(E,{size:"small",icon:e.jsx(at,{}),disabled:this.state.selectedLogs.size===0,onClick:this.handleDeleteLogs,style:this.state.selectedLogs.size===0?{color:"#666",borderColor:"#333"}:{color:"#ff4d4f",borderColor:"#ff4d4f"},children:u("ui.deleteLogs")}),e.jsx(E,{size:"small",icon:e.jsx(rt,{spin:this.state.refreshingStats}),loading:this.state.refreshingStats,onClick:this.handleRefreshStats,children:u("ui.refreshStats")})]}),e.jsx("div",{className:r.mobileLogMgmtBody,children:this.state.localLogsLoading?e.jsx("div",{className:r.spinCenter,children:e.jsx(ct,{})}):(()=>{const m=this.state.localLogs[this.state.currentProject];return!m||m.length===0?e.jsx("div",{className:r.emptyCenter,children:u("ui.noLogs")}):e.jsx(he,{theme:this.darkThemeConfig,children:e.jsx("div",{className:r.logListContainer,children:this.renderLogTable(m,!0)})})})()})]}),e.jsxs("div",{className:`${r.mobileSettingsOverlay} ${this.state.mobileSettingsVisible?r.mobileSettingsOverlayVisible:""}`,children:[e.jsxs("div",{className:r.mobileLogMgmtHeader,children:[e.jsx("span",{className:r.mobileLogMgmtTitle,children:u("ui.settings")}),e.jsx("button",{className:r.mobileLogMgmtClose,onClick:()=>this.setState({mobileSettingsVisible:!1}),children:e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),e.jsxs("div",{className:r.mobileSettingsBody,children:[e.jsx("div",{className:r.mobileSettingsSectionTitle,children:u("ui.chatDisplaySwitches")}),e.jsxs("div",{className:r.mobileSettingsRow,children:[e.jsx("span",{className:r.mobileSettingsLabel,children:u("ui.collapseToolResults")}),e.jsx(ue,{checked:!!this.state.collapseToolResults,onChange:this.handleCollapseToolResultsChange})]}),e.jsxs("div",{className:r.mobileSettingsRow,children:[e.jsx("span",{className:r.mobileSettingsLabel,children:u("ui.expandThinking")}),e.jsx(ue,{checked:!!this.state.expandThinking,onChange:this.handleExpandThinkingChange})]}),e.jsxs("div",{className:r.mobileSettingsRow,children:[e.jsx("span",{className:r.mobileSettingsLabel,children:u("ui.showFullToolContent")}),e.jsx(ue,{checked:!!this.state.showFullToolContent,onChange:this.handleShowFullToolContentChange})]})]})]}),e.jsxs("div",{className:`${r.mobilePromptOverlay} ${this.state.mobilePromptVisible?r.mobilePromptOverlayVisible:""}`,children:[e.jsxs("div",{className:r.mobileLogMgmtHeader,children:[e.jsx("span",{className:r.mobileLogMgmtTitle,children:u("ui.userPrompt")}),e.jsx("button",{className:r.mobileLogMgmtClose,onClick:()=>this.setState({mobilePromptVisible:!1}),children:e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),e.jsx("div",{className:r.mobilePromptBody,children:(()=>{const m=this.extractUserPrompts(o);return m.length===0?e.jsx("div",{className:r.mobilePromptEmpty,children:u("ui.noPrompt")}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:r.mobilePromptHeader,children:[e.jsxs("span",{className:r.mobilePromptCount,children:[m.length," ",u("ui.promptCountUnit")]}),e.jsx(E,{size:"small",icon:e.jsx(dt,{}),onClick:()=>this.handleExportPromptsTxt(m),children:u("ui.exportPromptsTxt")})]}),e.jsx("div",{className:r.mobilePromptList,children:m.map((p,f)=>e.jsxs("div",{className:r.mobilePromptItem,children:[p.timestamp&&e.jsx("div",{className:r.mobilePromptTimestamp,children:new Date(p.timestamp).toLocaleString()}),this.renderOriginalPrompt(p)]},f))})]})})()})]})]})]})}};me(q,"COMMAND_TAGS",new Set(["command-name","command-message","command-args","local-command-caveat","local-command-stdout"]));let we=q;export{we as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ap as o,aq as n}from"./mermaid.core-Bfq98W72.js";const t=(a,r)=>o.lang.round(n.parse(a)[r]);export{t as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-WL4C6EOR-BsqkjkKt.js";import{_ as i}from"./mermaid.core-Bfq98W72.js";import"./chunk-FMBD7UC4-D54EDOVv.js";import"./chunk-JSJVCQXG-C4wM91-8.js";import"./chunk-55IACEB6-DmMYL0yS.js";import"./chunk-KX2RTZJC-BuTQbTst.js";import"./AppHeader.module-_fn3e-3Y.js";import"./index-DLkyZ-Zb.js";var f={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{f as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-WL4C6EOR-BsqkjkKt.js";import{_ as i}from"./mermaid.core-Bfq98W72.js";import"./chunk-FMBD7UC4-D54EDOVv.js";import"./chunk-JSJVCQXG-C4wM91-8.js";import"./chunk-55IACEB6-DmMYL0yS.js";import"./chunk-KX2RTZJC-BuTQbTst.js";import"./AppHeader.module-_fn3e-3Y.js";import"./index-DLkyZ-Zb.js";var f={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{f as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as r}from"./_baseUniq-CIhWoRX6.js";var e=4;function a(o){return r(o,e)}export{a as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as r,b as e,a,S as s}from"./chunk-NQ4KR5QH-pwWGt1sO.js";import{_ as i}from"./mermaid.core-Bfq98W72.js";import"./chunk-55IACEB6-DmMYL0yS.js";import"./chunk-KX2RTZJC-BuTQbTst.js";import"./index-DLkyZ-Zb.js";import"./AppHeader.module-_fn3e-3Y.js";var u={parser:a,get db(){return new s(2)},renderer:e,styles:r,init:i(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")};export{u as diagram};
|