termdock 1.4.384 → 1.4.385
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/dist/client/assets/AndroidMirrorView-Dh0ws_Sk.js +3 -0
- package/dist/client/assets/AndroidMirrorView-Dh0ws_Sk.js.br +0 -0
- package/dist/client/assets/AndroidMirrorView-Dh0ws_Sk.js.gz +0 -0
- package/dist/client/assets/App-DWzeLpli.js +188 -0
- package/dist/client/assets/App-DWzeLpli.js.br +0 -0
- package/dist/client/assets/App-DWzeLpli.js.gz +0 -0
- package/dist/client/assets/ArchitecturePanel-CSbnmXXG.js +9 -0
- package/dist/client/assets/ArchitecturePanel-CSbnmXXG.js.br +0 -0
- package/dist/client/assets/ArchitecturePanel-CSbnmXXG.js.gz +0 -0
- package/dist/client/assets/ChangeWalkthroughPanel-BE9sGXML.js +2 -0
- package/dist/client/assets/ChangeWalkthroughPanel-BE9sGXML.js.br +0 -0
- package/dist/client/assets/ChangeWalkthroughPanel-BE9sGXML.js.gz +0 -0
- package/dist/client/assets/ChatChartReference-D9NIKLNZ.js +284 -0
- package/dist/client/assets/ChatChartReference-D9NIKLNZ.js.br +0 -0
- package/dist/client/assets/ChatChartReference-D9NIKLNZ.js.gz +0 -0
- package/dist/client/assets/ChatContextPreview-ChYooNbB.js +1 -0
- package/dist/client/assets/ChatContextPreview-ChYooNbB.js.br +0 -0
- package/dist/client/assets/ChatContextPreview-ChYooNbB.js.gz +0 -0
- package/dist/client/assets/ChatFullContent-BY1bi3Ue.js +67 -0
- package/dist/client/assets/ChatFullContent-BY1bi3Ue.js.br +0 -0
- package/dist/client/assets/ChatFullContent-BY1bi3Ue.js.gz +0 -0
- package/dist/client/assets/ChatRichContent-CmtkjO3S.js +2 -0
- package/dist/client/assets/ChatRichContent-CmtkjO3S.js.br +0 -0
- package/dist/client/assets/ChatRichContent-CmtkjO3S.js.gz +0 -0
- package/dist/client/assets/ChatVideoPreviewDialog-CWqJHBGd.js +1 -0
- package/dist/client/assets/ChatVideoPreviewDialog-CWqJHBGd.js.br +0 -0
- package/dist/client/assets/ChatVideoPreviewDialog-CWqJHBGd.js.gz +0 -0
- package/dist/client/assets/CollaborationMainWorkspace-0XqnYW2M.js +1 -0
- package/dist/client/assets/CollaborationMainWorkspace-0XqnYW2M.js.br +0 -0
- package/dist/client/assets/CollaborationMainWorkspace-0XqnYW2M.js.gz +0 -0
- package/dist/client/assets/CollaborationTaskContent-B3tXNjLl.js +1 -0
- package/dist/client/assets/ComputerControlView-CS5a2Cdw.js +6 -0
- package/dist/client/assets/ComputerControlView-CS5a2Cdw.js.br +0 -0
- package/dist/client/assets/ComputerControlView-CS5a2Cdw.js.gz +0 -0
- package/dist/client/assets/DagPlayground-CTWeGecz.js +1 -0
- package/dist/client/assets/DagPlayground-CTWeGecz.js.br +0 -0
- package/dist/client/assets/DagPlayground-CTWeGecz.js.gz +0 -0
- package/dist/client/assets/DiffLab-C8svadyY.js +455 -0
- package/dist/client/assets/DiffLab-C8svadyY.js.br +0 -0
- package/dist/client/assets/DiffLab-C8svadyY.js.gz +0 -0
- package/dist/client/assets/DiffReview-ua6kasEM.js +1 -0
- package/dist/client/assets/DiffReview-ua6kasEM.js.br +0 -0
- package/dist/client/assets/DiffReview-ua6kasEM.js.gz +0 -0
- package/dist/client/assets/DiffReviewLab-DUWCX9FR.js +2 -0
- package/dist/client/assets/DiffReviewLab-DUWCX9FR.js.br +0 -0
- package/dist/client/assets/DiffReviewLab-DUWCX9FR.js.gz +0 -0
- package/dist/client/assets/DiffViewer-DIM3r9Q7.js +34 -0
- package/dist/client/assets/DiffViewer-DIM3r9Q7.js.br +0 -0
- package/dist/client/assets/DiffViewer-DIM3r9Q7.js.gz +0 -0
- package/dist/client/assets/GitLoadingSkeleton-DoXLzc7A.js +1 -0
- package/dist/client/assets/GitLoadingSkeleton-DoXLzc7A.js.br +0 -0
- package/dist/client/assets/GitLoadingSkeleton-DoXLzc7A.js.gz +0 -0
- package/dist/client/assets/Markdown-Cl_X9Tag.js +23 -0
- package/dist/client/assets/Markdown-Cl_X9Tag.js.br +0 -0
- package/dist/client/assets/Markdown-Cl_X9Tag.js.gz +0 -0
- package/dist/client/assets/MarkdownPreview-CNV-uCRe.js +1 -0
- package/dist/client/assets/MarkdownPreview-CNV-uCRe.js.br +0 -0
- package/dist/client/assets/MarkdownPreview-CNV-uCRe.js.gz +0 -0
- package/dist/client/assets/ModelPreview-D4GgGBUg.js +4112 -0
- package/dist/client/assets/ModelPreview-D4GgGBUg.js.br +0 -0
- package/dist/client/assets/ModelPreview-D4GgGBUg.js.gz +0 -0
- package/dist/client/assets/RecordingSaveDialog-Cx3b3Akc.js +1 -0
- package/dist/client/assets/RecordingSaveDialog-Cx3b3Akc.js.br +0 -0
- package/dist/client/assets/RecordingSaveDialog-Cx3b3Akc.js.gz +0 -0
- package/dist/client/assets/RightSidebar-CY9eLHY3.js +1729 -0
- package/dist/client/assets/RightSidebar-CY9eLHY3.js.br +0 -0
- package/dist/client/assets/RightSidebar-CY9eLHY3.js.gz +0 -0
- package/dist/client/assets/SessionChatView-Bvcwe1dq.js +38 -0
- package/dist/client/assets/SessionChatView-Bvcwe1dq.js.br +0 -0
- package/dist/client/assets/SessionChatView-Bvcwe1dq.js.gz +0 -0
- package/dist/client/assets/SessionResourceSidebar-aJV0iu1O.js +2 -0
- package/dist/client/assets/SessionResourceSidebar-aJV0iu1O.js.br +0 -0
- package/dist/client/assets/SessionResourceSidebar-aJV0iu1O.js.gz +0 -0
- package/dist/client/assets/TodoWorkspace-CqBNbd4S.js +1 -0
- package/dist/client/assets/TodoWorkspace-CqBNbd4S.js.br +0 -0
- package/dist/client/assets/TodoWorkspace-CqBNbd4S.js.gz +0 -0
- package/dist/client/assets/VideoPreviewPlayer-BWbD0IVg.js +1 -0
- package/dist/client/assets/VideoPreviewPlayer-BWbD0IVg.js.br +0 -0
- package/dist/client/assets/VideoPreviewPlayer-BWbD0IVg.js.gz +0 -0
- package/dist/client/assets/a-arrow-down-Ck7gRgsf.js +1 -0
- package/dist/client/assets/a-arrow-up-D6a5n8No.js +1 -0
- package/dist/client/assets/a-large-small-DFUhZWma.js +1 -0
- package/dist/client/assets/abnfDiagram-VCTEODGH-C6X-w81p.js +1 -0
- package/dist/client/assets/abnfDiagram-VCTEODGH-C6X-w81p.js.br +0 -0
- package/dist/client/assets/abnfDiagram-VCTEODGH-C6X-w81p.js.gz +0 -0
- package/dist/client/assets/accessibility--Xs3Tnge.js +1 -0
- package/dist/client/assets/activity-BcVYC2dx.js +1 -0
- package/dist/client/assets/air-vent-BR1jwCwF.js +1 -0
- package/dist/client/assets/airplay-B1oSj2yh.js +1 -0
- package/dist/client/assets/alarm-clock-DVWVyCiG.js +1 -0
- package/dist/client/assets/alarm-clock-check-BbBXvc4u.js +1 -0
- package/dist/client/assets/alarm-clock-minus-B4OQl9mw.js +1 -0
- package/dist/client/assets/alarm-clock-off-BQLgKpdf.js +1 -0
- package/dist/client/assets/alarm-clock-plus-Ca2AbEXR.js +1 -0
- package/dist/client/assets/alarm-smoke-DNpMsZ6q.js +1 -0
- package/dist/client/assets/album-DlAsv2-y.js +1 -0
- package/dist/client/assets/align-center-horizontal-DPkxLBXP.js +1 -0
- package/dist/client/assets/align-center-vertical-CdBkChK5.js +1 -0
- package/dist/client/assets/align-end-horizontal-IBcvrwr5.js +1 -0
- package/dist/client/assets/align-end-vertical-Dju22_JU.js +1 -0
- package/dist/client/assets/align-horizontal-distribute-center-ClU0p3d6.js +1 -0
- package/dist/client/assets/align-horizontal-distribute-end-C02-bQ0V.js +1 -0
- package/dist/client/assets/align-horizontal-distribute-start-DEV-h4Jy.js +1 -0
- package/dist/client/assets/align-horizontal-justify-center-Co5dz7N3.js +1 -0
- package/dist/client/assets/align-horizontal-justify-end-D2pDG66K.js +1 -0
- package/dist/client/assets/align-horizontal-justify-start-CxqSmG9E.js +1 -0
- package/dist/client/assets/align-horizontal-space-around-CIZJIz7k.js +1 -0
- package/dist/client/assets/align-horizontal-space-between-hi0hVm6M.js +1 -0
- package/dist/client/assets/align-start-horizontal-DVBfBK0W.js +1 -0
- package/dist/client/assets/align-start-vertical-BM1QnsUC.js +1 -0
- package/dist/client/assets/align-vertical-distribute-center-BlC8bePS.js +1 -0
- package/dist/client/assets/align-vertical-distribute-end-DdCDc4ld.js +1 -0
- package/dist/client/assets/align-vertical-distribute-start-4TugVUAI.js +1 -0
- package/dist/client/assets/align-vertical-justify-center-Bgy4M9ny.js +1 -0
- package/dist/client/assets/align-vertical-justify-end-Cfg1H0pe.js +1 -0
- package/dist/client/assets/align-vertical-justify-start-DqlxA_kx.js +1 -0
- package/dist/client/assets/align-vertical-space-around-i_kwraDs.js +1 -0
- package/dist/client/assets/align-vertical-space-between-BqxXnYeN.js +1 -0
- package/dist/client/assets/ambulance-qKn6WuHH.js +1 -0
- package/dist/client/assets/ampersand-CNRRY1mn.js +1 -0
- package/dist/client/assets/ampersands-MqCHNapc.js +1 -0
- package/dist/client/assets/amphora-5AOoPRDl.js +1 -0
- package/dist/client/assets/anchor-Qkfv9AWV.js +1 -0
- package/dist/client/assets/angry-DHmOwlsc.js +1 -0
- package/dist/client/assets/annoyed-BZ8MKmSA.js +1 -0
- package/dist/client/assets/antenna-CY_Q6pbx.js +1 -0
- package/dist/client/assets/anvil-fJISmj3a.js +1 -0
- package/dist/client/assets/aperture-ePK5ecd0.js +1 -0
- package/dist/client/assets/app-tcnqeifN.js +37 -0
- package/dist/client/assets/app-tcnqeifN.js.br +0 -0
- package/dist/client/assets/app-tcnqeifN.js.gz +0 -0
- package/dist/client/assets/app-window-DJv61EpO.js +1 -0
- package/dist/client/assets/app-window-mac-CuDw42gk.js +1 -0
- package/dist/client/assets/apple-B4JCYXcW.js +1 -0
- package/dist/client/assets/architectureDiagram-5GKGNRK7-Z86fYgmu.js +36 -0
- package/dist/client/assets/architectureDiagram-5GKGNRK7-Z86fYgmu.js.br +0 -0
- package/dist/client/assets/architectureDiagram-5GKGNRK7-Z86fYgmu.js.gz +0 -0
- package/dist/client/assets/archive-Diuja9y5.js +1 -0
- package/dist/client/assets/archive-restore-DhkbBh8Y.js +1 -0
- package/dist/client/assets/archive-x-Bmo4ulk-.js +1 -0
- package/dist/client/assets/armchair-BS9M1jI5.js +1 -0
- package/dist/client/assets/arrow-big-down-1H8lGwBr.js +1 -0
- package/dist/client/assets/arrow-big-down-dash-BcmmfavL.js +1 -0
- package/dist/client/assets/arrow-big-left-CwXU4suZ.js +1 -0
- package/dist/client/assets/arrow-big-left-dash-CduacC5E.js +1 -0
- package/dist/client/assets/arrow-big-right-ZBMde3If.js +1 -0
- package/dist/client/assets/arrow-big-right-dash-DDBjr9yv.js +1 -0
- package/dist/client/assets/arrow-big-up-C2Q8p7Jd.js +1 -0
- package/dist/client/assets/arrow-big-up-dash-DkSFHkCn.js +1 -0
- package/dist/client/assets/arrow-down-0-1-CWBOm9WJ.js +1 -0
- package/dist/client/assets/arrow-down-1-0-a7lgm8nQ.js +1 -0
- package/dist/client/assets/arrow-down-CtkY333b.js +1 -0
- package/dist/client/assets/arrow-down-from-line-BavVszja.js +1 -0
- package/dist/client/assets/arrow-down-left-Q4A6N1hk.js +1 -0
- package/dist/client/assets/arrow-down-narrow-wide-BmHuc9Y8.js +1 -0
- package/dist/client/assets/arrow-down-right-DJFxlAWV.js +1 -0
- package/dist/client/assets/arrow-down-to-dot-CVa_z1dq.js +1 -0
- package/dist/client/assets/arrow-down-to-line-D4S_7GGr.js +1 -0
- package/dist/client/assets/arrow-down-up-Cf69UHMe.js +1 -0
- package/dist/client/assets/arrow-down-wide-narrow-Zc-HESnU.js +1 -0
- package/dist/client/assets/arrow-down-z-a-BhlefUIe.js +1 -0
- package/dist/client/assets/arrow-left-from-line-DCgI2jGW.js +1 -0
- package/dist/client/assets/arrow-left-right-3Ee318wo.js +1 -0
- package/dist/client/assets/arrow-left-to-line-Dh9rGkbP.js +1 -0
- package/dist/client/assets/arrow-right-from-line-B_GKPPY4.js +1 -0
- package/dist/client/assets/arrow-right-left-DRyi3-BT.js +1 -0
- package/dist/client/assets/arrow-right-to-line-CNBlCCRB.js +1 -0
- package/dist/client/assets/arrow-up-0-1-Conl4Kea.js +1 -0
- package/dist/client/assets/arrow-up-1-0-DEMFXYAS.js +1 -0
- package/dist/client/assets/arrow-up-a-z-itMk6nhk.js +1 -0
- package/dist/client/assets/arrow-up-down-D5EtAcYR.js +1 -0
- package/dist/client/assets/arrow-up-from-dot-JWGZLwuy.js +1 -0
- package/dist/client/assets/arrow-up-from-line-gIF6CuYy.js +1 -0
- package/dist/client/assets/arrow-up-left-BT8ftkQ9.js +1 -0
- package/dist/client/assets/arrow-up-narrow-wide-BG6sM1_c.js +1 -0
- package/dist/client/assets/arrow-up-to-line-YlAkASkk.js +1 -0
- package/dist/client/assets/arrow-up-wide-narrow-DloXokXp.js +1 -0
- package/dist/client/assets/arrow-up-z-a-liDgKeak.js +1 -0
- package/dist/client/assets/arrows-up-from-line-C0uPzmze.js +1 -0
- package/dist/client/assets/asterisk-BdFYCazG.js +1 -0
- package/dist/client/assets/astroid-CN2jUnbN.js +1 -0
- package/dist/client/assets/atom-C5vpIGM7.js +1 -0
- package/dist/client/assets/audio-lines-jdBy6cbt.js +1 -0
- package/dist/client/assets/audio-waveform-DFDGEsd-.js +1 -0
- package/dist/client/assets/award-aG-8kel5.js +1 -0
- package/dist/client/assets/axe-DTvGf1oD.js +1 -0
- package/dist/client/assets/axis-3d-Ry2p3ldf.js +1 -0
- package/dist/client/assets/baby-CFhe3lEL.js +1 -0
- package/dist/client/assets/backpack-C6Rbg8XZ.js +1 -0
- package/dist/client/assets/badge-CotO9mv3.js +1 -0
- package/dist/client/assets/badge-alert-DvnooPV3.js +1 -0
- package/dist/client/assets/badge-cent-BMi0FpVW.js +1 -0
- package/dist/client/assets/badge-check-BEfsWxdO.js +1 -0
- package/dist/client/assets/badge-dollar-sign-BT5h4UJH.js +1 -0
- package/dist/client/assets/badge-euro-uiMJrz2S.js +1 -0
- package/dist/client/assets/badge-indian-rupee-Cpf-1aY_.js +1 -0
- package/dist/client/assets/badge-info-CykEaSWT.js +1 -0
- package/dist/client/assets/badge-japanese-yen-bX3vFCpC.js +1 -0
- package/dist/client/assets/badge-minus-BwJ2-UrN.js +1 -0
- package/dist/client/assets/badge-percent-CQ_gcY2F.js +1 -0
- package/dist/client/assets/badge-plus-IuW3js4d.js +1 -0
- package/dist/client/assets/badge-pound-sterling-B7uYYeIQ.js +1 -0
- package/dist/client/assets/badge-question-mark-DPP4bn7f.js +1 -0
- package/dist/client/assets/badge-russian-ruble-CQ9DBFnY.js +1 -0
- package/dist/client/assets/badge-swiss-franc-DC-0C14X.js +1 -0
- package/dist/client/assets/badge-turkish-lira-stPYHXd2.js +1 -0
- package/dist/client/assets/badge-x-bfl2cCZg.js +1 -0
- package/dist/client/assets/baggage-claim-BJmV2Yre.js +1 -0
- package/dist/client/assets/balloon-BFPO1eqi.js +1 -0
- package/dist/client/assets/ban-UGFmYDbN.js +1 -0
- package/dist/client/assets/banana-k14R6vNZ.js +1 -0
- package/dist/client/assets/bandage-E9A67xJz.js +1 -0
- package/dist/client/assets/banknote-DXY85nNM.js +1 -0
- package/dist/client/assets/banknote-arrow-down-CFR4BG6I.js +1 -0
- package/dist/client/assets/banknote-arrow-up-CT7bGW7A.js +1 -0
- package/dist/client/assets/banknote-x-Cmjbfm8M.js +1 -0
- package/dist/client/assets/barcode-C-Ovc3dW.js +1 -0
- package/dist/client/assets/barrel-BgZW8KLI.js +1 -0
- package/dist/client/assets/baseline-CBbnRfp1.js +1 -0
- package/dist/client/assets/bath-DU7a3kNJ.js +1 -0
- package/dist/client/assets/battery-CuZ6ILCv.js +1 -0
- package/dist/client/assets/battery-charging-BSTPmarh.js +1 -0
- package/dist/client/assets/battery-full-HfO1Kjeu.js +1 -0
- package/dist/client/assets/battery-low-CN8hWcWT.js +1 -0
- package/dist/client/assets/battery-medium-kF1VPcFz.js +1 -0
- package/dist/client/assets/battery-plus-DszMBeij.js +1 -0
- package/dist/client/assets/battery-warning-CWZCo9My.js +1 -0
- package/dist/client/assets/beaker-DLirR7j2.js +1 -0
- package/dist/client/assets/bean-CZfEAb9D.js +1 -0
- package/dist/client/assets/bean-off-I6QymR3v.js +1 -0
- package/dist/client/assets/bed-BSjZ2Xs-.js +1 -0
- package/dist/client/assets/bed-double-C_-FbZPi.js +1 -0
- package/dist/client/assets/bed-single-Bp-bYS4p.js +1 -0
- package/dist/client/assets/beef-VzKbvC0G.js +1 -0
- package/dist/client/assets/beef-off-DctmM82u.js +1 -0
- package/dist/client/assets/beer-A5zXDWDL.js +1 -0
- package/dist/client/assets/beer-off-BA_LlBPq.js +1 -0
- package/dist/client/assets/bell-BoybrIiP.js +1 -0
- package/dist/client/assets/bell-check-7uhX2oUd.js +1 -0
- package/dist/client/assets/bell-electric-E9r5h3T4.js +1 -0
- package/dist/client/assets/bell-minus-AHJ84SJh.js +1 -0
- package/dist/client/assets/bell-off-cbP_3pDt.js +1 -0
- package/dist/client/assets/bell-plus-Co0_nh5W.js +1 -0
- package/dist/client/assets/bell-ring-tEnjCh3q.js +1 -0
- package/dist/client/assets/between-horizontal-end-G5hQ_pF0.js +1 -0
- package/dist/client/assets/between-horizontal-start-DU31bGBT.js +1 -0
- package/dist/client/assets/between-vertical-end-H-QoI_45.js +1 -0
- package/dist/client/assets/between-vertical-start-l05vk_VV.js +1 -0
- package/dist/client/assets/biceps-flexed-CHqax07i.js +1 -0
- package/dist/client/assets/bike-CJmjV3rw.js +1 -0
- package/dist/client/assets/binary-FRXoUtIi.js +1 -0
- package/dist/client/assets/binoculars-CejbT6oc.js +1 -0
- package/dist/client/assets/biohazard-C8sTj8Am.js +1 -0
- package/dist/client/assets/bird-_iYekwpt.js +1 -0
- package/dist/client/assets/birdhouse-CaGp4DiK.js +1 -0
- package/dist/client/assets/bitcoin-7ygyYsvh.js +1 -0
- package/dist/client/assets/blend-CLtzRBZV.js +1 -0
- package/dist/client/assets/blender-CIQ_oSFc.js +1 -0
- package/dist/client/assets/blinds-sGEu13KV.js +1 -0
- package/dist/client/assets/blockDiagram-I7D4REHJ-DbB-s_yA.js +129 -0
- package/dist/client/assets/blockDiagram-I7D4REHJ-DbB-s_yA.js.br +0 -0
- package/dist/client/assets/blockDiagram-I7D4REHJ-DbB-s_yA.js.gz +0 -0
- package/dist/client/assets/blocks-DuGG8-yD.js +1 -0
- package/dist/client/assets/bluetooth-BBhAA2ER.js +1 -0
- package/dist/client/assets/bluetooth-connected-CcMAqg1t.js +1 -0
- package/dist/client/assets/bluetooth-off-DsGGK8_n.js +1 -0
- package/dist/client/assets/bluetooth-searching-BtZy49La.js +1 -0
- package/dist/client/assets/bold-Cs35W2hG.js +1 -0
- package/dist/client/assets/bolt-CHoifEBy.js +1 -0
- package/dist/client/assets/bomb-BVJoUmBB.js +1 -0
- package/dist/client/assets/bone-jhr_WKUx.js +1 -0
- package/dist/client/assets/book-CUVmPm10.js +1 -0
- package/dist/client/assets/book-a-Bm544K40.js +1 -0
- package/dist/client/assets/book-alert-CqbAxh8l.js +1 -0
- package/dist/client/assets/book-audio-nofJlZcq.js +1 -0
- package/dist/client/assets/book-check-yfoJYMhl.js +1 -0
- package/dist/client/assets/book-copy-B2MMoBB_.js +1 -0
- package/dist/client/assets/book-dashed-CiHmT0_X.js +1 -0
- package/dist/client/assets/book-down-C_awIefQ.js +1 -0
- package/dist/client/assets/book-headphones-B9KBIN93.js +1 -0
- package/dist/client/assets/book-heart-DY7fNMCo.js +1 -0
- package/dist/client/assets/book-image-Diz0DqLS.js +1 -0
- package/dist/client/assets/book-key-79jqgDjB.js +1 -0
- package/dist/client/assets/book-lock-BLKXLx1m.js +1 -0
- package/dist/client/assets/book-marked-Chxv0khd.js +1 -0
- package/dist/client/assets/book-minus-B-dFlALH.js +1 -0
- package/dist/client/assets/book-open-check-nOyz0TEu.js +1 -0
- package/dist/client/assets/book-open-jJz0OeH7.js +1 -0
- package/dist/client/assets/book-open-text-D8qgDZV8.js +1 -0
- package/dist/client/assets/book-plus-Dh_iDhny.js +1 -0
- package/dist/client/assets/book-search-7oXvPop4.js +1 -0
- package/dist/client/assets/book-text-BptLrmWK.js +1 -0
- package/dist/client/assets/book-type-DBGf1Ahe.js +1 -0
- package/dist/client/assets/book-up-2-oFjLuon0.js +1 -0
- package/dist/client/assets/book-up-CSroM0Vc.js +1 -0
- package/dist/client/assets/book-user-Bi4fK_tx.js +1 -0
- package/dist/client/assets/book-x-7WqQcy-s.js +1 -0
- package/dist/client/assets/bookmark-Dr7-uMd8.js +1 -0
- package/dist/client/assets/bookmark-check-Cfs2__7a.js +1 -0
- package/dist/client/assets/bookmark-minus-ChlQf3bG.js +1 -0
- package/dist/client/assets/bookmark-off-BtzEMoIU.js +1 -0
- package/dist/client/assets/bookmark-plus-D9IM2qAT.js +1 -0
- package/dist/client/assets/bookmark-x-CsjPzLLc.js +1 -0
- package/dist/client/assets/boom-box-nsy67Jm1.js +1 -0
- package/dist/client/assets/bot-message-square-CwsH5xLt.js +1 -0
- package/dist/client/assets/bot-off-Bm4_q7SZ.js +1 -0
- package/dist/client/assets/bottle-wine-Dg1_JioG.js +1 -0
- package/dist/client/assets/bow-arrow-CRG5QldL.js +1 -0
- package/dist/client/assets/boxes-Bolms70y.js +1 -0
- package/dist/client/assets/braces-BjI63syR.js +1 -0
- package/dist/client/assets/brackets-XaozsdPJ.js +1 -0
- package/dist/client/assets/brain-BaNQoc1x.js +1 -0
- package/dist/client/assets/brain-circuit-Qc-vt4Wz.js +1 -0
- package/dist/client/assets/brain-cog-Cr6ayuSl.js +1 -0
- package/dist/client/assets/brain-cog-Cr6ayuSl.js.br +0 -0
- package/dist/client/assets/brain-cog-Cr6ayuSl.js.gz +0 -0
- package/dist/client/assets/brick-wall-D-MOsCD4.js +1 -0
- package/dist/client/assets/brick-wall-fire-C54nPDam.js +1 -0
- package/dist/client/assets/brick-wall-shield-Ddt5ZdYC.js +1 -0
- package/dist/client/assets/briefcase-business-WxyrNMKg.js +1 -0
- package/dist/client/assets/briefcase-conveyor-belt-0Eul7Kr7.js +1 -0
- package/dist/client/assets/briefcase-medical-ZE2JnO_h.js +1 -0
- package/dist/client/assets/bring-to-front-CJ4EGXvR.js +1 -0
- package/dist/client/assets/broccoli-BQ19zbOZ.js +1 -0
- package/dist/client/assets/brush-DzusxlgP.js +1 -0
- package/dist/client/assets/brush-cleaning-Dnxnn2bh.js +1 -0
- package/dist/client/assets/bubbles-DXUKTQbB.js +1 -0
- package/dist/client/assets/bug-BAYEZjss.js +1 -0
- package/dist/client/assets/bug-off-NJhMUxUA.js +1 -0
- package/dist/client/assets/bug-play-HhSzuTNP.js +1 -0
- package/dist/client/assets/building-2-Y8Tw1lgs.js +1 -0
- package/dist/client/assets/building-Bfe6Wpux.js +1 -0
- package/dist/client/assets/bus-B5Iea-my.js +1 -0
- package/dist/client/assets/bus-front-Bf1jOwaz.js +1 -0
- package/dist/client/assets/c4Diagram-7LVT6UL2-CxzRCDBh.js +38 -0
- package/dist/client/assets/c4Diagram-7LVT6UL2-CxzRCDBh.js.br +0 -0
- package/dist/client/assets/c4Diagram-7LVT6UL2-CxzRCDBh.js.gz +0 -0
- package/dist/client/assets/cable-C7ujX96y.js +1 -0
- package/dist/client/assets/cable-car-Cv9IK1kq.js +1 -0
- package/dist/client/assets/cake-Dpj3hhzP.js +1 -0
- package/dist/client/assets/cake-slice-CZ35Ynh_.js +1 -0
- package/dist/client/assets/calculator-Cuml20qF.js +1 -0
- package/dist/client/assets/calendar-1-tAXTh31M.js +1 -0
- package/dist/client/assets/calendar-DDydW3hP.js +1 -0
- package/dist/client/assets/calendar-arrow-down-NR3zcpnb.js +1 -0
- package/dist/client/assets/calendar-arrow-up-Dj9xnIMo.js +1 -0
- package/dist/client/assets/calendar-check-2-yNUf75Ko.js +1 -0
- package/dist/client/assets/calendar-check-CwPmhP6o.js +1 -0
- package/dist/client/assets/calendar-clock-CqA1xw-E.js +1 -0
- package/dist/client/assets/calendar-cog-CA17FXxz.js +1 -0
- package/dist/client/assets/calendar-days-F8MEYi88.js +1 -0
- package/dist/client/assets/calendar-fold-Bgx2svS-.js +1 -0
- package/dist/client/assets/calendar-heart-BAUiFiC2.js +1 -0
- package/dist/client/assets/calendar-minus-2-DecB5gNt.js +1 -0
- package/dist/client/assets/calendar-minus-ClwYP8xF.js +1 -0
- package/dist/client/assets/calendar-off-CK73Gbk3.js +1 -0
- package/dist/client/assets/calendar-plus-2-B1SguUao.js +1 -0
- package/dist/client/assets/calendar-plus-XfZhQwC1.js +1 -0
- package/dist/client/assets/calendar-range-BKYsFS_7.js +1 -0
- package/dist/client/assets/calendar-search-C_hLmHg3.js +1 -0
- package/dist/client/assets/calendar-sync-DIxAKxuG.js +1 -0
- package/dist/client/assets/calendar-x-2-7HPJKHOs.js +1 -0
- package/dist/client/assets/calendar-x-B9IyDUSK.js +1 -0
- package/dist/client/assets/calendars-F6DvlBNr.js +1 -0
- package/dist/client/assets/camera-D-wOTCuM.js +1 -0
- package/dist/client/assets/camera-off-meArsXwV.js +1 -0
- package/dist/client/assets/candy-BGOwzucc.js +1 -0
- package/dist/client/assets/candy-cane-b3pbijfi.js +1 -0
- package/dist/client/assets/candy-off-CC-0BX_3.js +1 -0
- package/dist/client/assets/cannabis-Fn-wmF0L.js +1 -0
- package/dist/client/assets/cannabis-off-D4i0h4dY.js +1 -0
- package/dist/client/assets/captions-CPKrQ0r6.js +1 -0
- package/dist/client/assets/captions-off-DjFYZ8uE.js +1 -0
- package/dist/client/assets/car-BgDzz5XW.js +1 -0
- package/dist/client/assets/car-front-Rvg6Xb4s.js +1 -0
- package/dist/client/assets/car-taxi-front-Dp-ooZij.js +1 -0
- package/dist/client/assets/caravan-DK51mLtY.js +1 -0
- package/dist/client/assets/card-sim-CWmNXSrI.js +1 -0
- package/dist/client/assets/carrot-CMbq7zD9.js +1 -0
- package/dist/client/assets/case-lower-DqrBcQOz.js +1 -0
- package/dist/client/assets/case-sensitive-Cjrrb7Ak.js +1 -0
- package/dist/client/assets/case-upper-DxAYOfhq.js +1 -0
- package/dist/client/assets/cassette-tape-DSNI4Xm0.js +1 -0
- package/dist/client/assets/cast-NfDraRyy.js +1 -0
- package/dist/client/assets/castle-DPj6JTE1.js +1 -0
- package/dist/client/assets/cat-BBJN0UyZ.js +1 -0
- package/dist/client/assets/cctv-BE8ZtPYe.js +1 -0
- package/dist/client/assets/cctv-off-CS63kz9-.js +1 -0
- package/dist/client/assets/channel-CIbYuVyB.js +1 -0
- package/dist/client/assets/chart-area-Cgg1Kbpf.js +1 -0
- package/dist/client/assets/chart-bar-CggjKWWo.js +1 -0
- package/dist/client/assets/chart-bar-big-JvdkvlVe.js +1 -0
- package/dist/client/assets/chart-bar-decreasing-fs_o3sL0.js +1 -0
- package/dist/client/assets/chart-bar-increasing-Bmv9vMnU.js +1 -0
- package/dist/client/assets/chart-bar-stacked-BYh7fNm_.js +1 -0
- package/dist/client/assets/chart-candlestick-BaQ6zV0g.js +1 -0
- package/dist/client/assets/chart-column-big-BkVwrFnl.js +1 -0
- package/dist/client/assets/chart-column-decreasing-DngO1AXI.js +1 -0
- package/dist/client/assets/chart-column-increasing-xyW5GdIQ.js +1 -0
- package/dist/client/assets/chart-column-nhUCUabf.js +1 -0
- package/dist/client/assets/chart-column-stacked-C4hvWXtj.js +1 -0
- package/dist/client/assets/chart-gantt-_nOgQWUd.js +1 -0
- package/dist/client/assets/chart-line-Dn3GMVmK.js +1 -0
- package/dist/client/assets/chart-network-DcwspzVV.js +1 -0
- package/dist/client/assets/chart-no-axes-column-Cq59QMWx.js +1 -0
- package/dist/client/assets/chart-no-axes-column-decreasing-DNl4jxOo.js +1 -0
- package/dist/client/assets/chart-no-axes-column-increasing-Iv-vEDHt.js +1 -0
- package/dist/client/assets/chart-no-axes-combined-Db8qdpUN.js +1 -0
- package/dist/client/assets/chart-no-axes-gantt-23FbAIUf.js +1 -0
- package/dist/client/assets/chart-pie-BfWz6duv.js +1 -0
- package/dist/client/assets/chart-scatter-DRYSj10P.js +1 -0
- package/dist/client/assets/chart-spline-Ddi4aXpu.js +1 -0
- package/dist/client/assets/check-check-Cp6Wnz3b.js +1 -0
- package/dist/client/assets/check-line-Dm7_RGpu.js +1 -0
- package/dist/client/assets/chef-hat-Bsys0WmB.js +1 -0
- package/dist/client/assets/cherry-C6XC5AGh.js +1 -0
- package/dist/client/assets/chess-bishop-DpOjdAJD.js +1 -0
- package/dist/client/assets/chess-king-D1m4YPep.js +1 -0
- package/dist/client/assets/chess-knight-sPPWGtsg.js +1 -0
- package/dist/client/assets/chess-pawn-fn3Mmy1s.js +1 -0
- package/dist/client/assets/chess-queen-DHbiiqUH.js +1 -0
- package/dist/client/assets/chess-rook-C-bjQElL.js +1 -0
- package/dist/client/assets/chevron-first-D-0NCYrk.js +1 -0
- package/dist/client/assets/chevron-last-B6qakkUp.js +1 -0
- package/dist/client/assets/chevron-left-Cp9wPs6_.js +1 -0
- package/dist/client/assets/chevrons-down-BaJR1wpd.js +1 -0
- package/dist/client/assets/chevrons-down-up-BMtjgjSb.js +1 -0
- package/dist/client/assets/chevrons-left-CD9OIEB_.js +1 -0
- package/dist/client/assets/chevrons-left-right-8cmQYTyd.js +1 -0
- package/dist/client/assets/chevrons-left-right-ellipsis-DR-H3zEh.js +1 -0
- package/dist/client/assets/chevrons-right-D69gUEbp.js +1 -0
- package/dist/client/assets/chevrons-right-left-Bu_NS2N6.js +1 -0
- package/dist/client/assets/chevrons-up-VjqozWnJ.js +1 -0
- package/dist/client/assets/chevrons-up-down-BlesCcwh.js +1 -0
- package/dist/client/assets/chunk-2Q5K7J3B-CZto6m-m.js +1 -0
- package/dist/client/assets/chunk-5VM5RSS4-DkRE4Pga.js +15 -0
- package/dist/client/assets/chunk-F27PBJKO-CoKhX3E6.js +1 -0
- package/dist/client/assets/chunk-F27PBJKO-CoKhX3E6.js.br +0 -0
- package/dist/client/assets/chunk-F27PBJKO-CoKhX3E6.js.gz +0 -0
- package/dist/client/assets/chunk-IMKFNOWR-DmMLUtCI.js +231 -0
- package/dist/client/assets/chunk-IMKFNOWR-DmMLUtCI.js.br +0 -0
- package/dist/client/assets/chunk-IMKFNOWR-DmMLUtCI.js.gz +0 -0
- package/dist/client/assets/chunk-JWPE2WC7-CRKHUgJG.js +1 -0
- package/dist/client/assets/chunk-POPQ4Y6H-DM7gy-Rw.js +1 -0
- package/dist/client/assets/chunk-SVP7TREG-yoH91bqA.js +88 -0
- package/dist/client/assets/chunk-SVP7TREG-yoH91bqA.js.br +0 -0
- package/dist/client/assets/chunk-SVP7TREG-yoH91bqA.js.gz +0 -0
- package/dist/client/assets/chunk-TICWLB2K-m_qoI_gZ.js +206 -0
- package/dist/client/assets/chunk-TICWLB2K-m_qoI_gZ.js.br +0 -0
- package/dist/client/assets/chunk-TICWLB2K-m_qoI_gZ.js.gz +0 -0
- package/dist/client/assets/chunk-XXDRQBXY-cGl5sqmB.js +1 -0
- package/dist/client/assets/church-SQ-1gWNP.js +1 -0
- package/dist/client/assets/cigarette-X6TiIksS.js +1 -0
- package/dist/client/assets/cigarette-off-CmTOx6YH.js +1 -0
- package/dist/client/assets/circle-D0qYEU6r.js +1 -0
- package/dist/client/assets/circle-arrow-down-P0_Sm2p0.js +1 -0
- package/dist/client/assets/circle-arrow-left-DawXwZXq.js +1 -0
- package/dist/client/assets/circle-arrow-out-down-left-Bj0t0yew.js +1 -0
- package/dist/client/assets/circle-arrow-out-down-right-3fxHRwER.js +1 -0
- package/dist/client/assets/circle-arrow-out-up-left-C2DjhCaC.js +1 -0
- package/dist/client/assets/circle-arrow-out-up-right-DwrQub3S.js +1 -0
- package/dist/client/assets/circle-arrow-right-BFEBSnFc.js +1 -0
- package/dist/client/assets/circle-arrow-up-V4qCCVq8.js +1 -0
- package/dist/client/assets/circle-check-big-_bV2R-po.js +1 -0
- package/dist/client/assets/circle-chevron-down-BU3hWgHU.js +1 -0
- package/dist/client/assets/circle-chevron-left-X50cX9nP.js +1 -0
- package/dist/client/assets/circle-chevron-right-Ca-qwf3u.js +1 -0
- package/dist/client/assets/circle-chevron-up-Bn5oVDWz.js +1 -0
- package/dist/client/assets/circle-dashed-CVPX1oE1.js +1 -0
- package/dist/client/assets/circle-divide-Do44yOr4.js +1 -0
- package/dist/client/assets/circle-dollar-sign-CHcfFUeM.js +1 -0
- package/dist/client/assets/circle-dot-COB9NsUJ.js +1 -0
- package/dist/client/assets/circle-dot-dashed-zUxQ49gY.js +1 -0
- package/dist/client/assets/circle-ellipsis-DkJMM0qY.js +1 -0
- package/dist/client/assets/circle-equal-CgmGyOIY.js +1 -0
- package/dist/client/assets/circle-fading-arrow-up-BiLegLKm.js +1 -0
- package/dist/client/assets/circle-fading-plus-Dj1-hgCU.js +1 -0
- package/dist/client/assets/circle-gauge-D9NU3ocB.js +1 -0
- package/dist/client/assets/circle-minus-8PsowY9U.js +1 -0
- package/dist/client/assets/circle-off-DRrRGYCm.js +1 -0
- package/dist/client/assets/circle-parking-D5LFP8w3.js +1 -0
- package/dist/client/assets/circle-parking-off-DjY_q9Ij.js +1 -0
- package/dist/client/assets/circle-pause-DILz6abP.js +1 -0
- package/dist/client/assets/circle-percent-CT4ByHNG.js +1 -0
- package/dist/client/assets/circle-pile-BM8v_9u8.js +1 -0
- package/dist/client/assets/circle-play-DeIKVSpe.js +1 -0
- package/dist/client/assets/circle-plus-C4TeWsik.js +1 -0
- package/dist/client/assets/circle-pound-sterling-CXnq4QJz.js +1 -0
- package/dist/client/assets/circle-power-DT7Y_iB-.js +1 -0
- package/dist/client/assets/circle-question-mark-8YsnqLeA.js +1 -0
- package/dist/client/assets/circle-slash-2-xIK-sXE7.js +1 -0
- package/dist/client/assets/circle-slash-VLXIb3D4.js +1 -0
- package/dist/client/assets/circle-small-pCvgQK-L.js +1 -0
- package/dist/client/assets/circle-star-BF5mXB_M.js +1 -0
- package/dist/client/assets/circle-stop-BDYobrDz.js +1 -0
- package/dist/client/assets/circle-user-DTEWyaFV.js +1 -0
- package/dist/client/assets/circle-user-round-D2CelYfC.js +1 -0
- package/dist/client/assets/circle-x-gt5hThgU.js +1 -0
- package/dist/client/assets/circuit-board-CNzBl8UU.js +1 -0
- package/dist/client/assets/citrus-BINBhE5K.js +1 -0
- package/dist/client/assets/clapperboard-woxViPjI.js +1 -0
- package/dist/client/assets/classDiagram-ZZMXUADV-ByTNhhyy.js +1 -0
- package/dist/client/assets/classDiagram-v2-VYDZK3BY-ByTNhhyy.js +1 -0
- package/dist/client/assets/clipboard-BP7VJyFl.js +1 -0
- package/dist/client/assets/clipboard-check-Book2dLO.js +1 -0
- package/dist/client/assets/clipboard-clock-CkpKsTm_.js +1 -0
- package/dist/client/assets/clipboard-copy-CyjrEeXA.js +1 -0
- package/dist/client/assets/clipboard-list-BYataR4-.js +1 -0
- package/dist/client/assets/clipboard-minus-DVoxYrtg.js +1 -0
- package/dist/client/assets/clipboard-paste-DptXOJEn.js +1 -0
- package/dist/client/assets/clipboard-pen-BY2odqLi.js +1 -0
- package/dist/client/assets/clipboard-pen-line-C-hnDw5s.js +1 -0
- package/dist/client/assets/clipboard-plus-CdGC4qIm.js +1 -0
- package/dist/client/assets/clipboard-type-Cq0trxjC.js +1 -0
- package/dist/client/assets/clipboard-x-BQ7NDWrG.js +1 -0
- package/dist/client/assets/clock-1-DUHJSvv2.js +1 -0
- package/dist/client/assets/clock-10-LKWeW_bD.js +1 -0
- package/dist/client/assets/clock-11-CJEh0C2y.js +1 -0
- package/dist/client/assets/clock-12-Di72E_BR.js +1 -0
- package/dist/client/assets/clock-2-BE6vT1JB.js +1 -0
- package/dist/client/assets/clock-4-C_HfhJHk.js +1 -0
- package/dist/client/assets/clock-5-CVJFKs5f.js +1 -0
- package/dist/client/assets/clock-6-Bfkb5sHl.js +1 -0
- package/dist/client/assets/clock-7-DQTuv6lE.js +1 -0
- package/dist/client/assets/clock-8-DEVGfnji.js +1 -0
- package/dist/client/assets/clock-9-D9q7lAT3.js +1 -0
- package/dist/client/assets/clock-BhrQLTFK.js +1 -0
- package/dist/client/assets/clock-alert-CFWsvq8n.js +1 -0
- package/dist/client/assets/clock-arrow-down-C6Bqa-gd.js +1 -0
- package/dist/client/assets/clock-arrow-up-Cg9xL0bq.js +1 -0
- package/dist/client/assets/clock-check-6xrNk-xX.js +1 -0
- package/dist/client/assets/clock-fading-uDkl1rUG.js +1 -0
- package/dist/client/assets/clock-plus-B9Vs02G2.js +1 -0
- package/dist/client/assets/closed-caption-DvT8fydt.js +1 -0
- package/dist/client/assets/cloud-DuoeL6S6.js +1 -0
- package/dist/client/assets/cloud-alert-8zIgmEIT.js +1 -0
- package/dist/client/assets/cloud-backup-nwphiKTY.js +1 -0
- package/dist/client/assets/cloud-check-CXKalfNu.js +1 -0
- package/dist/client/assets/cloud-cog-8ZFZgreV.js +1 -0
- package/dist/client/assets/cloud-download-G6XCoSVO.js +1 -0
- package/dist/client/assets/cloud-drizzle-DOqbCEFX.js +1 -0
- package/dist/client/assets/cloud-fog-Cc5w8vul.js +1 -0
- package/dist/client/assets/cloud-hail-Bbf8LtmI.js +1 -0
- package/dist/client/assets/cloud-lightning-DsVq-E_T.js +1 -0
- package/dist/client/assets/cloud-moon-DLvQquNk.js +1 -0
- package/dist/client/assets/cloud-moon-rain-DeVOtvFv.js +1 -0
- package/dist/client/assets/cloud-off-D3Vd6M08.js +1 -0
- package/dist/client/assets/cloud-rain-Co8Q-ZrW.js +1 -0
- package/dist/client/assets/cloud-rain-wind-Bg3grth_.js +1 -0
- package/dist/client/assets/cloud-snow-Cx1VfuRr.js +1 -0
- package/dist/client/assets/cloud-sun-DtCkYqkr.js +1 -0
- package/dist/client/assets/cloud-sun-rain-WXcBDAyD.js +1 -0
- package/dist/client/assets/cloud-sync-D7HM81xS.js +1 -0
- package/dist/client/assets/cloud-upload-Te4YTK0s.js +1 -0
- package/dist/client/assets/cloudy-jjkmgeGw.js +1 -0
- package/dist/client/assets/clover-DpHrAVBZ.js +1 -0
- package/dist/client/assets/club-BV1NinBR.js +1 -0
- package/dist/client/assets/code-D7eI1Njn.js +1 -0
- package/dist/client/assets/coffee-Cjf-l0Um.js +1 -0
- package/dist/client/assets/cog-B12_TNLx.js +1 -0
- package/dist/client/assets/coins-eXzJwrMi.js +1 -0
- package/dist/client/assets/columns-3-DkszFbOD.js +1 -0
- package/dist/client/assets/columns-3-cog-BLfaSTkM.js +1 -0
- package/dist/client/assets/columns-4-DAmrPGTU.js +1 -0
- package/dist/client/assets/combine-mELlqllW.js +1 -0
- package/dist/client/assets/command-c_0XxvhY.js +1 -0
- package/dist/client/assets/compass-DgzKpwnr.js +1 -0
- package/dist/client/assets/component-BP7_1Kz2.js +1 -0
- package/dist/client/assets/computer-Bg75jvMW.js +1 -0
- package/dist/client/assets/concierge-bell-BebvVWke.js +1 -0
- package/dist/client/assets/cone-Ba4g3MZ3.js +1 -0
- package/dist/client/assets/construction-ViRUCDVn.js +1 -0
- package/dist/client/assets/contact-CuuRWHQM.js +1 -0
- package/dist/client/assets/contact-round-DyEF0RHK.js +1 -0
- package/dist/client/assets/container-BY6dguWz.js +1 -0
- package/dist/client/assets/contrast-Bq_q6wL0.js +1 -0
- package/dist/client/assets/cookie-CcAv2bBk.js +1 -0
- package/dist/client/assets/cooking-pot-Cbhi0RIg.js +1 -0
- package/dist/client/assets/copy-check-Dmf3yVRn.js +1 -0
- package/dist/client/assets/copy-minus-C2yUeKz3.js +1 -0
- package/dist/client/assets/copy-plus-CsIXJXKh.js +1 -0
- package/dist/client/assets/copy-slash-CNKlG46M.js +1 -0
- package/dist/client/assets/copy-x-BgrvO4ck.js +1 -0
- package/dist/client/assets/copyleft-D5fDsfqA.js +1 -0
- package/dist/client/assets/copyright-yPl595V8.js +1 -0
- package/dist/client/assets/corner-down-left-BTdh3bwI.js +1 -0
- package/dist/client/assets/corner-left-down-DEmT0rhL.js +1 -0
- package/dist/client/assets/corner-left-up-BYErs2gV.js +1 -0
- package/dist/client/assets/corner-right-down-DUe1OlRE.js +1 -0
- package/dist/client/assets/corner-right-up-ybzb3X-z.js +1 -0
- package/dist/client/assets/corner-up-right-C4J4GFGn.js +1 -0
- package/dist/client/assets/cose-bilkent-JH36ORCC-0BN3brSc.js +1 -0
- package/dist/client/assets/cose-bilkent-JH36ORCC-0BN3brSc.js.br +0 -0
- package/dist/client/assets/cose-bilkent-JH36ORCC-0BN3brSc.js.gz +0 -0
- package/dist/client/assets/cpu-DsjPHgNl.js +1 -0
- package/dist/client/assets/creative-commons-D1aPvOzS.js +1 -0
- package/dist/client/assets/credit-card-BydmokEv.js +1 -0
- package/dist/client/assets/croissant-CdIgj3eQ.js +1 -0
- package/dist/client/assets/crop-Bzj6WVOS.js +1 -0
- package/dist/client/assets/cross-5lT-_Jae.js +1 -0
- package/dist/client/assets/crosshair-CJkkuL-1.js +1 -0
- package/dist/client/assets/crown-Bo3Hf1kS.js +1 -0
- package/dist/client/assets/cuboid-PbYlM4ga.js +1 -0
- package/dist/client/assets/cup-soda-CgEWDklf.js +1 -0
- package/dist/client/assets/currency-DhjNW2PJ.js +1 -0
- package/dist/client/assets/cylinder-CB5-uvxY.js +1 -0
- package/dist/client/assets/cynefin-OW5HDTMX-Bwtw4OE7.js +166 -0
- package/dist/client/assets/cynefin-OW5HDTMX-Bwtw4OE7.js.br +0 -0
- package/dist/client/assets/cynefin-OW5HDTMX-Bwtw4OE7.js.gz +0 -0
- package/dist/client/assets/cynefinDiagram-5FMLGOSQ-CKGEgwjU.js +62 -0
- package/dist/client/assets/cynefinDiagram-5FMLGOSQ-CKGEgwjU.js.br +0 -0
- package/dist/client/assets/cynefinDiagram-5FMLGOSQ-CKGEgwjU.js.gz +0 -0
- package/dist/client/assets/dagre-GXQ25YYZ-mpdA0raR.js +4 -0
- package/dist/client/assets/dagre-GXQ25YYZ-mpdA0raR.js.br +0 -0
- package/dist/client/assets/dagre-GXQ25YYZ-mpdA0raR.js.gz +0 -0
- package/dist/client/assets/dam-CD1ewVO5.js +1 -0
- package/dist/client/assets/database-C8OqOzgf.js +1 -0
- package/dist/client/assets/database-backup-P4B5A-SW.js +1 -0
- package/dist/client/assets/database-search-DB3E4bwa.js +1 -0
- package/dist/client/assets/database-zap-0ycqMJ5D.js +1 -0
- package/dist/client/assets/decimals-arrow-left-D7FFYyY-.js +1 -0
- package/dist/client/assets/decimals-arrow-right-PvTZULVF.js +1 -0
- package/dist/client/assets/delete-vB94DBiu.js +1 -0
- package/dist/client/assets/dessert-Dv1PJGg9.js +1 -0
- package/dist/client/assets/diagram-S7CK7UJ4-BsySgc7g.js +30 -0
- package/dist/client/assets/diagram-S7CK7UJ4-BsySgc7g.js.br +0 -0
- package/dist/client/assets/diagram-S7CK7UJ4-BsySgc7g.js.gz +0 -0
- package/dist/client/assets/diagram-UQ7AKVKN-DS7uNJ7e.js +41 -0
- package/dist/client/assets/diagram-UQ7AKVKN-DS7uNJ7e.js.br +0 -0
- package/dist/client/assets/diagram-UQ7AKVKN-DS7uNJ7e.js.gz +0 -0
- package/dist/client/assets/diagram-VSXAHHWV-D9haJQDT.js +3 -0
- package/dist/client/assets/diagram-VSXAHHWV-D9haJQDT.js.br +0 -0
- package/dist/client/assets/diagram-VSXAHHWV-D9haJQDT.js.gz +0 -0
- package/dist/client/assets/diagram-VX7I27RA-XDdpS-jm.js +24 -0
- package/dist/client/assets/diagram-VX7I27RA-XDdpS-jm.js.br +0 -0
- package/dist/client/assets/diagram-VX7I27RA-XDdpS-jm.js.gz +0 -0
- package/dist/client/assets/diagram-Z3DM3KII-DqkJ1Lis.js +24 -0
- package/dist/client/assets/diagram-Z3DM3KII-DqkJ1Lis.js.br +0 -0
- package/dist/client/assets/diagram-Z3DM3KII-DqkJ1Lis.js.gz +0 -0
- package/dist/client/assets/diameter-ydYAR7GG.js +1 -0
- package/dist/client/assets/diamond-D_2x5xGi.js +1 -0
- package/dist/client/assets/diamond-minus-BPwaZJE3.js +1 -0
- package/dist/client/assets/diamond-percent-CqqSHQRQ.js +1 -0
- package/dist/client/assets/diamond-plus-CypGF6-8.js +1 -0
- package/dist/client/assets/dice-1-C9xIpU5i.js +1 -0
- package/dist/client/assets/dice-2-C5_nV27x.js +1 -0
- package/dist/client/assets/dice-3-B5hZ7Jrv.js +1 -0
- package/dist/client/assets/dice-4-bhms8Soa.js +1 -0
- package/dist/client/assets/dice-5-CGc7SnCn.js +1 -0
- package/dist/client/assets/dice-6-LWBtQtyQ.js +1 -0
- package/dist/client/assets/dices-DspO6pxM.js +1 -0
- package/dist/client/assets/diff-j3xqUlbi.js +1 -0
- package/dist/client/assets/disc-2-aWRc8GpK.js +1 -0
- package/dist/client/assets/disc-3-G1Tfxogw.js +1 -0
- package/dist/client/assets/disc-HGsg-wCV.js +1 -0
- package/dist/client/assets/disc-album-BxoNB8CG.js +1 -0
- package/dist/client/assets/divide-Cdr1P1s2.js +1 -0
- package/dist/client/assets/dna-Bd_dYfIg.js +1 -0
- package/dist/client/assets/dna-off-Ba_VHkvY.js +1 -0
- package/dist/client/assets/dock-CyQyIksb.js +1 -0
- package/dist/client/assets/dog-CUoJ3Vm5.js +1 -0
- package/dist/client/assets/dollar-sign-B5rTf56P.js +1 -0
- package/dist/client/assets/donut-B7Hs-C5m.js +1 -0
- package/dist/client/assets/door-closed-Bfa-Gr-_.js +1 -0
- package/dist/client/assets/door-closed-locked-B-KUf0J_.js +1 -0
- package/dist/client/assets/door-open-CF7_4j-t.js +1 -0
- package/dist/client/assets/dot-CT5Yo6mM.js +1 -0
- package/dist/client/assets/drafting-compass-CWsHlx-c.js +1 -0
- package/dist/client/assets/drama-DE_K99O0.js +1 -0
- package/dist/client/assets/drill-BkmfBZc7.js +1 -0
- package/dist/client/assets/drone-CEVlyTru.js +1 -0
- package/dist/client/assets/droplet-CZYe8ITA.js +1 -0
- package/dist/client/assets/droplet-off-DnxKj_S_.js +1 -0
- package/dist/client/assets/droplets-DFqn5c-v.js +1 -0
- package/dist/client/assets/drum-Cc12iSj0.js +1 -0
- package/dist/client/assets/drumstick-D0nthOJ9.js +1 -0
- package/dist/client/assets/dumbbell-DUHs4cMh.js +1 -0
- package/dist/client/assets/ear-D3fnYaVo.js +1 -0
- package/dist/client/assets/ear-off-C7g6AKzy.js +1 -0
- package/dist/client/assets/earth-Cz7ZNjJ_.js +1 -0
- package/dist/client/assets/earth-lock-TteKr75i.js +1 -0
- package/dist/client/assets/ebnfDiagram-PWID7BFC-C9A-VzxQ.js +1 -0
- package/dist/client/assets/ebnfDiagram-PWID7BFC-C9A-VzxQ.js.br +0 -0
- package/dist/client/assets/ebnfDiagram-PWID7BFC-C9A-VzxQ.js.gz +0 -0
- package/dist/client/assets/eclipse-DjpWNoT3.js +1 -0
- package/dist/client/assets/egg-CopldEtk.js +1 -0
- package/dist/client/assets/egg-fried-CI-3VEq6.js +1 -0
- package/dist/client/assets/egg-off-J_Vt62eZ.js +1 -0
- package/dist/client/assets/ellipse-DfGXUmgh.js +1 -0
- package/dist/client/assets/ellipsis-vertical-DDUeZwqs.js +1 -0
- package/dist/client/assets/equal-approximately-Cg5MgQrZ.js +1 -0
- package/dist/client/assets/equal-not-CiTASgan.js +1 -0
- package/dist/client/assets/equal-teSoQs3w.js +1 -0
- package/dist/client/assets/erDiagram-RLTQ6QDP-gATbiMd5.js +99 -0
- package/dist/client/assets/erDiagram-RLTQ6QDP-gATbiMd5.js.br +0 -0
- package/dist/client/assets/erDiagram-RLTQ6QDP-gATbiMd5.js.gz +0 -0
- package/dist/client/assets/ethernet-port-NvZJab83.js +1 -0
- package/dist/client/assets/euro-sv-6T6SM.js +1 -0
- package/dist/client/assets/ev-charger-CF-J2Y31.js +1 -0
- package/dist/client/assets/expand-BsOzgzZR.js +1 -0
- package/dist/client/assets/external-link-DemX0J2-.js +1 -0
- package/dist/client/assets/eye-Cwo9zGx3.js +1 -0
- package/dist/client/assets/eye-closed-BEjzn6w9.js +1 -0
- package/dist/client/assets/eye-off-CBPR1zti.js +1 -0
- package/dist/client/assets/factory-DxRewt_K.js +1 -0
- package/dist/client/assets/fan-DdLLzYM6.js +1 -0
- package/dist/client/assets/fast-forward-Bm2Z5YpG.js +1 -0
- package/dist/client/assets/feather-CZxE7FK-.js +1 -0
- package/dist/client/assets/fence-KiN_GEJ6.js +1 -0
- package/dist/client/assets/ferris-wheel-Du6H1VZY.js +1 -0
- package/dist/client/assets/file-archive-C_AjqwZD.js +1 -0
- package/dist/client/assets/file-axis-3d-EK9eJfX6.js +1 -0
- package/dist/client/assets/file-badge-DLzDYqTX.js +1 -0
- package/dist/client/assets/file-box-ByKC_6EY.js +1 -0
- package/dist/client/assets/file-braces-CYxhr6az.js +1 -0
- package/dist/client/assets/file-braces-corner-OOeGmPCa.js +1 -0
- package/dist/client/assets/file-chart-column-9BvbbBIJ.js +1 -0
- package/dist/client/assets/file-chart-column-increasing-vH5GAS2P.js +1 -0
- package/dist/client/assets/file-chart-line-KTAK4ECS.js +1 -0
- package/dist/client/assets/file-chart-pie-B2Z00n9o.js +1 -0
- package/dist/client/assets/file-check-BgxKo4Vm.js +1 -0
- package/dist/client/assets/file-check-corner-BJMn1q5Z.js +1 -0
- package/dist/client/assets/file-clock-ByNYdH-Y.js +1 -0
- package/dist/client/assets/file-code-corner-DH12BTOY.js +1 -0
- package/dist/client/assets/file-cog-CxTTfesA.js +1 -0
- package/dist/client/assets/file-diff-BWxdXolt.js +1 -0
- package/dist/client/assets/file-digit-DKR34yeT.js +1 -0
- package/dist/client/assets/file-down-By-H9y0e.js +1 -0
- package/dist/client/assets/file-exclamation-point-BxnCRKpv.js +1 -0
- package/dist/client/assets/file-headphone-BK5GKJpc.js +1 -0
- package/dist/client/assets/file-heart-D5obEOJY.js +1 -0
- package/dist/client/assets/file-image-e8AILSsx.js +1 -0
- package/dist/client/assets/file-input-LcbRvAod.js +1 -0
- package/dist/client/assets/file-key-B6XbN6ul.js +1 -0
- package/dist/client/assets/file-lock-Bxk62uIf.js +1 -0
- package/dist/client/assets/file-minus-DDxs9tpn.js +1 -0
- package/dist/client/assets/file-minus-corner-Cyvercf7.js +1 -0
- package/dist/client/assets/file-music-CyR_KlxT.js +1 -0
- package/dist/client/assets/file-output-DjHFCnC1.js +1 -0
- package/dist/client/assets/file-pen-DV4qQ8wF.js +1 -0
- package/dist/client/assets/file-pen-line-C_1j0qRP.js +1 -0
- package/dist/client/assets/file-play-4e8z9u9I.js +1 -0
- package/dist/client/assets/file-plus-DPVqnAJm.js +1 -0
- package/dist/client/assets/file-plus-corner-DoozEvYF.js +1 -0
- package/dist/client/assets/file-question-mark--icBozxK.js +1 -0
- package/dist/client/assets/file-scan-C-8Exr0g.js +1 -0
- package/dist/client/assets/file-search-Bpe_8IkH.js +1 -0
- package/dist/client/assets/file-search-corner-BMD1jYXc.js +1 -0
- package/dist/client/assets/file-signal-CsdQMG0n.js +1 -0
- package/dist/client/assets/file-sliders-Ck3qLX8L.js +1 -0
- package/dist/client/assets/file-spreadsheet-DubdigOh.js +1 -0
- package/dist/client/assets/file-stack-BPi6ExON.js +1 -0
- package/dist/client/assets/file-symlink-DtENpqRK.js +1 -0
- package/dist/client/assets/file-terminal-BWO4ER05.js +1 -0
- package/dist/client/assets/file-type-B63vsglz.js +1 -0
- package/dist/client/assets/file-type-corner-D4NhjTmv.js +1 -0
- package/dist/client/assets/file-up-v6JPi-AE.js +1 -0
- package/dist/client/assets/file-user-HyMzznje.js +1 -0
- package/dist/client/assets/file-video-camera-BqPoO11w.js +1 -0
- package/dist/client/assets/file-volume-Be6mZXPp.js +1 -0
- package/dist/client/assets/file-x-DRu5nm8D.js +1 -0
- package/dist/client/assets/file-x-corner-DAoOCLdb.js +1 -0
- package/dist/client/assets/files-Can4mbgH.js +1 -0
- package/dist/client/assets/film-kMbzuckp.js +1 -0
- package/dist/client/assets/fingerprint-pattern-D0-4aBu2.js +1 -0
- package/dist/client/assets/fire-extinguisher-BCCHzrgm.js +1 -0
- package/dist/client/assets/fish-D7Q_eWpg.js +1 -0
- package/dist/client/assets/fish-off-D2sbZtq-.js +1 -0
- package/dist/client/assets/fish-symbol-6LrSO70i.js +1 -0
- package/dist/client/assets/fishing-hook-tRCLYBTV.js +1 -0
- package/dist/client/assets/fishing-rod-CHwJ1jsY.js +1 -0
- package/dist/client/assets/flag-Fr-ErNPs.js +1 -0
- package/dist/client/assets/flag-off-3N1-Nolg.js +1 -0
- package/dist/client/assets/flag-triangle-left-CIbx_OEY.js +1 -0
- package/dist/client/assets/flag-triangle-right-CdU3Oun8.js +1 -0
- package/dist/client/assets/flame-DAIMmpla.js +1 -0
- package/dist/client/assets/flame-kindling-CshTvQmt.js +1 -0
- package/dist/client/assets/flashlight-B6Yk6yNc.js +1 -0
- package/dist/client/assets/flashlight-off-Db2FCk-M.js +1 -0
- package/dist/client/assets/flask-conical-abSbVRBr.js +1 -0
- package/dist/client/assets/flask-conical-off-BvgCwlY4.js +1 -0
- package/dist/client/assets/flask-round-CAPS6PVx.js +1 -0
- package/dist/client/assets/flip-horizontal-2-BD2-dP7Z.js +1 -0
- package/dist/client/assets/flip-vertical-2--rb-GEd2.js +1 -0
- package/dist/client/assets/flowDiagram-HODETNUW-D0sS4HU5.js +168 -0
- package/dist/client/assets/flowDiagram-HODETNUW-D0sS4HU5.js.br +0 -0
- package/dist/client/assets/flowDiagram-HODETNUW-D0sS4HU5.js.gz +0 -0
- package/dist/client/assets/flower-2-CgEdPbuj.js +1 -0
- package/dist/client/assets/flower-CA6qrfjC.js +1 -0
- package/dist/client/assets/focus-KErRxKtx.js +1 -0
- package/dist/client/assets/fold-horizontal-DRbw5ak0.js +1 -0
- package/dist/client/assets/fold-vertical-Bzm3DCgZ.js +1 -0
- package/dist/client/assets/folder-archive-C4L3_tlL.js +1 -0
- package/dist/client/assets/folder-bookmark-CVXhd-nw.js +1 -0
- package/dist/client/assets/folder-check-yBkaGFMF.js +1 -0
- package/dist/client/assets/folder-clock-rtoWi3-u.js +1 -0
- package/dist/client/assets/folder-closed-2-_y26-8.js +1 -0
- package/dist/client/assets/folder-code-RecWu8mf.js +1 -0
- package/dist/client/assets/folder-cog-C5mI3jDj.js +1 -0
- package/dist/client/assets/folder-dot-g8HMqOFe.js +1 -0
- package/dist/client/assets/folder-down-BGrxl7M_.js +1 -0
- package/dist/client/assets/folder-git-2-5piw7_rs.js +1 -0
- package/dist/client/assets/folder-git-DXNc8dY_.js +1 -0
- package/dist/client/assets/folder-heart-D5hc6l1x.js +1 -0
- package/dist/client/assets/folder-input-BTHUwstj.js +1 -0
- package/dist/client/assets/folder-kanban-B34XPwd6.js +1 -0
- package/dist/client/assets/folder-key-BFSap6sR.js +1 -0
- package/dist/client/assets/folder-lock-g7qJmq7b.js +1 -0
- package/dist/client/assets/folder-minus-QsEC1Waj.js +1 -0
- package/dist/client/assets/folder-open-dot-BTHdiAQo.js +1 -0
- package/dist/client/assets/folder-output-BCWDdBBd.js +1 -0
- package/dist/client/assets/folder-pen-Bx3FlM6B.js +1 -0
- package/dist/client/assets/folder-plus-B3uRFBMw.js +1 -0
- package/dist/client/assets/folder-root-B0wp4GH5.js +1 -0
- package/dist/client/assets/folder-search-2-CrEOND9L.js +1 -0
- package/dist/client/assets/folder-symlink-WZUIrfwF.js +1 -0
- package/dist/client/assets/folder-sync-ZZWvyor6.js +1 -0
- package/dist/client/assets/folder-tree-_M2mFTfR.js +1 -0
- package/dist/client/assets/folder-up-_ogrybip.js +1 -0
- package/dist/client/assets/folder-x-BVZ0RUKG.js +1 -0
- package/dist/client/assets/folders-Brz2n_9s.js +1 -0
- package/dist/client/assets/footprints-D4A_w-lU.js +1 -0
- package/dist/client/assets/forklift-CTww9ng5.js +1 -0
- package/dist/client/assets/form-B6hG1ic_.js +1 -0
- package/dist/client/assets/forward-RMuz6ttk.js +1 -0
- package/dist/client/assets/frame-CwcSDZFf.js +1 -0
- package/dist/client/assets/frown-jddf6Wx8.js +1 -0
- package/dist/client/assets/fuel-B8GNTx2I.js +1 -0
- package/dist/client/assets/fullscreen-BUhOtXM1.js +1 -0
- package/dist/client/assets/funnel-iKocXtqs.js +1 -0
- package/dist/client/assets/funnel-plus-CVJh_qWm.js +1 -0
- package/dist/client/assets/funnel-x-DLib9bjx.js +1 -0
- package/dist/client/assets/gallery-horizontal-BJzIjutV.js +1 -0
- package/dist/client/assets/gallery-horizontal-end-BKHqWkTZ.js +1 -0
- package/dist/client/assets/gallery-thumbnails-CZQbDtpH.js +1 -0
- package/dist/client/assets/gallery-vertical-Buzckbku.js +1 -0
- package/dist/client/assets/gallery-vertical-end-DJPafHKH.js +1 -0
- package/dist/client/assets/gamepad-2-DZHsAMEH.js +1 -0
- package/dist/client/assets/gamepad-9-RrfiaQ.js +1 -0
- package/dist/client/assets/gamepad-directional-BDcWjmtO.js +1 -0
- package/dist/client/assets/ganttDiagram-EL5Y4UJY-CAQBR-vT.js +292 -0
- package/dist/client/assets/ganttDiagram-EL5Y4UJY-CAQBR-vT.js.br +0 -0
- package/dist/client/assets/ganttDiagram-EL5Y4UJY-CAQBR-vT.js.gz +0 -0
- package/dist/client/assets/gauge-DxjJOno6.js +1 -0
- package/dist/client/assets/gavel-591R94n0.js +1 -0
- package/dist/client/assets/gem-DSvL6Aqx.js +1 -0
- package/dist/client/assets/georgian-lari-Fvl7u2gy.js +1 -0
- package/dist/client/assets/ghost-BLKNoigs.js +1 -0
- package/dist/client/assets/gift-LuXMVd-2.js +1 -0
- package/dist/client/assets/git-branch-D0Gwk91I.js +1 -0
- package/dist/client/assets/git-branch-minus-VihRNd-6.js +1 -0
- package/dist/client/assets/git-branch-plus-Ddxnj1so.js +1 -0
- package/dist/client/assets/git-commit-horizontal-CdXstL5B.js +1 -0
- package/dist/client/assets/git-commit-vertical-WT4FkRIv.js +1 -0
- package/dist/client/assets/git-compare-arrows-DABV4OMt.js +1 -0
- package/dist/client/assets/git-compare-ktcVYjv7.js +1 -0
- package/dist/client/assets/git-fork-CuBfNtbE.js +1 -0
- package/dist/client/assets/git-graph-CSVg0y1A.js +1 -0
- package/dist/client/assets/git-merge-DLT-krcW.js +1 -0
- package/dist/client/assets/git-merge-conflict-CVtPseet.js +1 -0
- package/dist/client/assets/git-pull-request-C-SCpfLv.js +1 -0
- package/dist/client/assets/git-pull-request-arrow-BhfJZVbv.js +1 -0
- package/dist/client/assets/git-pull-request-closed-Cbo6s5gT.js +1 -0
- package/dist/client/assets/git-pull-request-create-ZjPPRY2E.js +1 -0
- package/dist/client/assets/git-pull-request-create-arrow-fCyxmVnF.js +1 -0
- package/dist/client/assets/git-pull-request-draft-DH3MENue.js +1 -0
- package/dist/client/assets/gitGraphDiagram-WWUBYQGX-T3DqLccO.js +106 -0
- package/dist/client/assets/gitGraphDiagram-WWUBYQGX-T3DqLccO.js.br +0 -0
- package/dist/client/assets/gitGraphDiagram-WWUBYQGX-T3DqLccO.js.gz +0 -0
- package/dist/client/assets/glass-water-CQb1Ztqt.js +1 -0
- package/dist/client/assets/glasses-D3GADefY.js +1 -0
- package/dist/client/assets/globe-check-CqkjGF8v.js +1 -0
- package/dist/client/assets/globe-lock-tcTyugaq.js +1 -0
- package/dist/client/assets/globe-off-B-33E2yt.js +1 -0
- package/dist/client/assets/globe-x-npzkyTBh.js +1 -0
- package/dist/client/assets/goal-DOgnY8ga.js +1 -0
- package/dist/client/assets/gpu-CORHovf2.js +1 -0
- package/dist/client/assets/graduation-cap-BzbZJUEH.js +1 -0
- package/dist/client/assets/grape-RNfebSK0.js +1 -0
- package/dist/client/assets/grid-2x2-B35j74RE.js +1 -0
- package/dist/client/assets/grid-2x2-check-DIG92DuE.js +1 -0
- package/dist/client/assets/grid-2x2-plus-D5l43S-q.js +1 -0
- package/dist/client/assets/grid-2x2-x-MgxfyPIH.js +1 -0
- package/dist/client/assets/grid-3x2-OjGfndGe.js +1 -0
- package/dist/client/assets/grid-3x3-C4dkbCZ-.js +1 -0
- package/dist/client/assets/grip-DFHLv7GU.js +1 -0
- package/dist/client/assets/grip-horizontal-CeXZXj9X.js +1 -0
- package/dist/client/assets/grip-vertical-CI-WhJQg.js +1 -0
- package/dist/client/assets/group-0FSNVBm1.js +1 -0
- package/dist/client/assets/guitar-CBw9Zn8s.js +1 -0
- package/dist/client/assets/ham-Br2K69z3.js +1 -0
- package/dist/client/assets/hamburger-u1GGHHDr.js +1 -0
- package/dist/client/assets/hammer-CJvpIAEq.js +1 -0
- package/dist/client/assets/hand-SK30be9p.js +1 -0
- package/dist/client/assets/hand-coins-Cl4CSrZ6.js +1 -0
- package/dist/client/assets/hand-fist-BGatIP9g.js +1 -0
- package/dist/client/assets/hand-grab-BTsOhttd.js +1 -0
- package/dist/client/assets/hand-heart-CSl48COl.js +1 -0
- package/dist/client/assets/hand-helping-Ch8dviw4.js +1 -0
- package/dist/client/assets/hand-metal-C2r9LQvO.js +1 -0
- package/dist/client/assets/hand-platter-1Pm55y5q.js +1 -0
- package/dist/client/assets/handbag-Chj4y8M4.js +1 -0
- package/dist/client/assets/handshake-BB-IoDxR.js +1 -0
- package/dist/client/assets/hard-drive-download-BfQ6AVWQ.js +1 -0
- package/dist/client/assets/hard-drive-oT12oA9U.js +1 -0
- package/dist/client/assets/hard-drive-upload-D3Rkv_4G.js +1 -0
- package/dist/client/assets/hard-hat-Dk0-nD_V.js +1 -0
- package/dist/client/assets/hash-BZiqOlH_.js +1 -0
- package/dist/client/assets/hat-glasses-CZPh6Ilk.js +1 -0
- package/dist/client/assets/haze-DjaXaWC3.js +1 -0
- package/dist/client/assets/hd-UoTH261f.js +1 -0
- package/dist/client/assets/hdmi-port-QamzZeaL.js +1 -0
- package/dist/client/assets/heading-1-DTW-DkfM.js +1 -0
- package/dist/client/assets/heading-2-SHOy9Af1.js +1 -0
- package/dist/client/assets/heading-3-e-DNjJPE.js +1 -0
- package/dist/client/assets/heading-4-CuoplPvO.js +1 -0
- package/dist/client/assets/heading-5-D3N3pMq8.js +1 -0
- package/dist/client/assets/heading-6-BeMn3M-A.js +1 -0
- package/dist/client/assets/heading-BLAUBt0l.js +1 -0
- package/dist/client/assets/headphone-off-DCZ5YBpU.js +1 -0
- package/dist/client/assets/headphones-Bqp5Z78G.js +1 -0
- package/dist/client/assets/headset-j-4vMpTg.js +1 -0
- package/dist/client/assets/heart-C6StS6yv.js +1 -0
- package/dist/client/assets/heart-crack-B-PW0XtP.js +1 -0
- package/dist/client/assets/heart-handshake-DaGNcmdw.js +1 -0
- package/dist/client/assets/heart-minus-8dd6XsHl.js +1 -0
- package/dist/client/assets/heart-off-CpMB33FI.js +1 -0
- package/dist/client/assets/heart-plus-BaiB9Bn2.js +1 -0
- package/dist/client/assets/heart-pulse-BQqTFnKB.js +1 -0
- package/dist/client/assets/heart-x-CRllFJ97.js +1 -0
- package/dist/client/assets/heater-CYRL_wH9.js +1 -0
- package/dist/client/assets/helicopter-v_emGpkr.js +1 -0
- package/dist/client/assets/hexagon-BiCkvFcj.js +1 -0
- package/dist/client/assets/highlighter-PLfHsygW.js +1 -0
- package/dist/client/assets/history-fV5fEoTP.js +1 -0
- package/dist/client/assets/hop-ij_Q20D6.js +1 -0
- package/dist/client/assets/hop-ij_Q20D6.js.br +0 -0
- package/dist/client/assets/hop-ij_Q20D6.js.gz +0 -0
- package/dist/client/assets/hop-off-BDI33UeE.js +1 -0
- package/dist/client/assets/hop-off-BDI33UeE.js.br +0 -0
- package/dist/client/assets/hop-off-BDI33UeE.js.gz +0 -0
- package/dist/client/assets/hospital-Tmo-NqsU.js +1 -0
- package/dist/client/assets/hotel-NwX6WAlG.js +1 -0
- package/dist/client/assets/hourglass-DiSJKYz0.js +1 -0
- package/dist/client/assets/house-CJpOVnTg.js +1 -0
- package/dist/client/assets/house-heart-ACJWBp35.js +1 -0
- package/dist/client/assets/house-plug-CQX8Kr11.js +1 -0
- package/dist/client/assets/house-plus-By340j7J.js +1 -0
- package/dist/client/assets/house-wifi-BqkF4lQE.js +1 -0
- package/dist/client/assets/ice-cream-bowl-qFCEgW8i.js +1 -0
- package/dist/client/assets/ice-cream-cone-C9HtqJQ5.js +1 -0
- package/dist/client/assets/id-card-BGDB96Eh.js +1 -0
- package/dist/client/assets/id-card-lanyard-BZayr943.js +1 -0
- package/dist/client/assets/image-down-BhhyT56y.js +1 -0
- package/dist/client/assets/image-minus-DpZIaOty.js +1 -0
- package/dist/client/assets/image-off-IfLJMAnp.js +1 -0
- package/dist/client/assets/image-play-D8UFGa_7.js +1 -0
- package/dist/client/assets/image-plus-CNTjTYkG.js +1 -0
- package/dist/client/assets/image-up-BHt6cwey.js +1 -0
- package/dist/client/assets/image-upscale-rCxvyGWD.js +1 -0
- package/dist/client/assets/images-C-XIgOkP.js +1 -0
- package/dist/client/assets/import-Cqy9xQaT.js +1 -0
- package/dist/client/assets/inbox--l9D7j66.js +1 -0
- package/dist/client/assets/index-B7Q6SOAz.js +259 -0
- package/dist/client/assets/index-B7Q6SOAz.js.br +0 -0
- package/dist/client/assets/index-B7Q6SOAz.js.gz +0 -0
- package/dist/client/assets/indian-rupee-0WyLUrCM.js +1 -0
- package/dist/client/assets/infinity-t43rTPZG.js +1 -0
- package/dist/client/assets/info-COE2aNni.js +1 -0
- package/dist/client/assets/infoDiagram-27XIBGKW-D9tdUqqC.js +2 -0
- package/dist/client/assets/inspection-panel-DmloL289.js +1 -0
- package/dist/client/assets/ishikawaDiagram-5VMMS53U-l_Jyi7LA.js +70 -0
- package/dist/client/assets/ishikawaDiagram-5VMMS53U-l_Jyi7LA.js.br +0 -0
- package/dist/client/assets/ishikawaDiagram-5VMMS53U-l_Jyi7LA.js.gz +0 -0
- package/dist/client/assets/italic-DUmgT2DX.js +1 -0
- package/dist/client/assets/iteration-ccw-ByvYVLPW.js +1 -0
- package/dist/client/assets/iteration-cw-CHCJoOXE.js +1 -0
- package/dist/client/assets/japanese-yen-CSOvcae7.js +1 -0
- package/dist/client/assets/journeyDiagram-3NMN7TZE-Bukg52JG.js +139 -0
- package/dist/client/assets/journeyDiagram-3NMN7TZE-Bukg52JG.js.br +0 -0
- package/dist/client/assets/journeyDiagram-3NMN7TZE-Bukg52JG.js.gz +0 -0
- package/dist/client/assets/joystick-BAjSSy0o.js +1 -0
- package/dist/client/assets/kanban-BFUn4_EA.js +1 -0
- package/dist/client/assets/kanban-definition-UXKFOSKX-DzA9qGZf.js +89 -0
- package/dist/client/assets/kanban-definition-UXKFOSKX-DzA9qGZf.js.br +0 -0
- package/dist/client/assets/kanban-definition-UXKFOSKX-DzA9qGZf.js.gz +0 -0
- package/dist/client/assets/kayak-DjNZ0KTG.js +1 -0
- package/dist/client/assets/key-ARsN2yw5.js +1 -0
- package/dist/client/assets/key-round-bq79GQST.js +1 -0
- package/dist/client/assets/key-square-BIwPU8Hg.js +1 -0
- package/dist/client/assets/keyboard-DcI6NxeZ.js +1 -0
- package/dist/client/assets/keyboard-music-DlLfUgbz.js +1 -0
- package/dist/client/assets/keyboard-off-NrHHMIw1.js +1 -0
- package/dist/client/assets/lamp-6kxyBGhI.js +1 -0
- package/dist/client/assets/lamp-ceiling-BoZ09d7b.js +1 -0
- package/dist/client/assets/lamp-desk-DoyeT8uz.js +1 -0
- package/dist/client/assets/lamp-floor-z1_dnnQT.js +1 -0
- package/dist/client/assets/lamp-wall-down-mFYNtY78.js +1 -0
- package/dist/client/assets/lamp-wall-up-DFnVG35J.js +1 -0
- package/dist/client/assets/land-plot-DVx7HIwm.js +1 -0
- package/dist/client/assets/landmark-DXEiRffS.js +1 -0
- package/dist/client/assets/languages-BzwKHCkE.js +1 -0
- package/dist/client/assets/laptop-minimal-NOlbIw1K.js +1 -0
- package/dist/client/assets/laptop-minimal-check-CVRMfeiF.js +1 -0
- package/dist/client/assets/laptop-sKUYReqF.js +1 -0
- package/dist/client/assets/lasso-B4iWZA1J.js +1 -0
- package/dist/client/assets/lasso-select-BECG0DW8.js +1 -0
- package/dist/client/assets/laugh-BEQteKGL.js +1 -0
- package/dist/client/assets/layers-2-DiPKKcnW.js +1 -0
- package/dist/client/assets/layers-COPaF_t8.js +1 -0
- package/dist/client/assets/layers-minus-5XqLZREa.js +1 -0
- package/dist/client/assets/layers-plus-xPQgtxLH.js +1 -0
- package/dist/client/assets/layout-BdqFYi1E.js +1 -0
- package/dist/client/assets/layout-BdqFYi1E.js.br +0 -0
- package/dist/client/assets/layout-BdqFYi1E.js.gz +0 -0
- package/dist/client/assets/layout-dashboard-BVMoXLp8.js +1 -0
- package/dist/client/assets/layout-grid-BBhnWO-T.js +1 -0
- package/dist/client/assets/layout-list-ZeccUICd.js +1 -0
- package/dist/client/assets/layout-panel-left-CtNKigDp.js +1 -0
- package/dist/client/assets/layout-panel-top-nWwkH2n0.js +1 -0
- package/dist/client/assets/layout-template-DBVMIcNL.js +1 -0
- package/dist/client/assets/leaf-CPDBAlOX.js +1 -0
- package/dist/client/assets/leafy-green-D3HV0L8m.js +1 -0
- package/dist/client/assets/lectern-CZ9Bedgx.js +1 -0
- package/dist/client/assets/lens-concave-DQMIV08r.js +1 -0
- package/dist/client/assets/lens-convex-CR4OUhn3.js +1 -0
- package/dist/client/assets/library-CUlNdQFY.js +1 -0
- package/dist/client/assets/library-big-4JkUk_Ua.js +1 -0
- package/dist/client/assets/life-buoy-QXGnpcsu.js +1 -0
- package/dist/client/assets/ligature-PRLH7QGK.js +1 -0
- package/dist/client/assets/lightbulb-off-BGer0NqD.js +1 -0
- package/dist/client/assets/line-dot-right-horizontal-IZ6xW_iq.js +1 -0
- package/dist/client/assets/line-squiggle-CRvWEQT4.js +1 -0
- package/dist/client/assets/line-style-BrzP_5BR.js +1 -0
- package/dist/client/assets/link-CMAGvREm.js +1 -0
- package/dist/client/assets/list-6g5LPtfQ.js +1 -0
- package/dist/client/assets/list-check-BpF52gIz.js +1 -0
- package/dist/client/assets/list-checks-D2CINhrq.js +1 -0
- package/dist/client/assets/list-chevrons-down-up-NUzo4WLx.js +1 -0
- package/dist/client/assets/list-chevrons-up-down-Ch3iXHXN.js +1 -0
- package/dist/client/assets/list-collapse-BAbboeWQ.js +1 -0
- package/dist/client/assets/list-end-D3fRxSrT.js +1 -0
- package/dist/client/assets/list-filter-CDNZljID.js +1 -0
- package/dist/client/assets/list-filter-plus-VoVrbTGm.js +1 -0
- package/dist/client/assets/list-indent-decrease-CUOT87VR.js +1 -0
- package/dist/client/assets/list-indent-increase-B_78S5Pl.js +1 -0
- package/dist/client/assets/list-minus-oZutBZ-1.js +1 -0
- package/dist/client/assets/list-music-CnjPST7J.js +1 -0
- package/dist/client/assets/list-ordered-BsdvjQPu.js +1 -0
- package/dist/client/assets/list-plus-WJ_YK1-x.js +1 -0
- package/dist/client/assets/list-restart-BJoERlgO.js +1 -0
- package/dist/client/assets/list-start-CoiZCFlA.js +1 -0
- package/dist/client/assets/list-tree-B8fIg4J2.js +1 -0
- package/dist/client/assets/list-video-nU0FNPRA.js +1 -0
- package/dist/client/assets/list-x-CSdXosLn.js +1 -0
- package/dist/client/assets/loader-C_M0WMKE.js +1 -0
- package/dist/client/assets/loader-pinwheel-DmCiVJmN.js +1 -0
- package/dist/client/assets/locate-ClbDV86y.js +1 -0
- package/dist/client/assets/locate-fixed-DE_ALQmH.js +1 -0
- package/dist/client/assets/locate-off-QiEDg-lS.js +1 -0
- package/dist/client/assets/lock-ZtWxtTKH.js +1 -0
- package/dist/client/assets/lock-keyhole-open-B5iY3Sy4.js +1 -0
- package/dist/client/assets/lock-open-CziC2TpJ.js +1 -0
- package/dist/client/assets/log-in-CI1ygN5m.js +1 -0
- package/dist/client/assets/log-out-BeycfBM4.js +1 -0
- package/dist/client/assets/logs-DG5dFJEs.js +1 -0
- package/dist/client/assets/lollipop-WHkPg7Bx.js +1 -0
- package/dist/client/assets/luggage-BUSLQcmT.js +1 -0
- package/dist/client/assets/magnet-WRaPx8A0.js +1 -0
- package/dist/client/assets/mail-CZTCGafZ.js +1 -0
- package/dist/client/assets/mail-check-CZQePBLS.js +1 -0
- package/dist/client/assets/mail-minus-DRVikk9q.js +1 -0
- package/dist/client/assets/mail-open-ClbvItTe.js +1 -0
- package/dist/client/assets/mail-plus-CKYp--Xo.js +1 -0
- package/dist/client/assets/mail-question-mark-BpXXlKh-.js +1 -0
- package/dist/client/assets/mail-search-D7pwaJSN.js +1 -0
- package/dist/client/assets/mail-warning-DM8WDF2f.js +1 -0
- package/dist/client/assets/mail-x-B73nVwNT.js +1 -0
- package/dist/client/assets/mailbox-BVPYhGuy.js +1 -0
- package/dist/client/assets/mails-DwEPQmBz.js +1 -0
- package/dist/client/assets/map-Ddddaf4M.js +1 -0
- package/dist/client/assets/map-minus-DUJtodRh.js +1 -0
- package/dist/client/assets/map-pin-PhzYBeb5.js +1 -0
- package/dist/client/assets/map-pin-check-CP9IQoP-.js +1 -0
- package/dist/client/assets/map-pin-check-inside-Bh9CjXi_.js +1 -0
- package/dist/client/assets/map-pin-house-M2lVxw4w.js +1 -0
- package/dist/client/assets/map-pin-minus-VAGee1we.js +1 -0
- package/dist/client/assets/map-pin-minus-inside-GjgzQidn.js +1 -0
- package/dist/client/assets/map-pin-off-6LcCdZ9J.js +1 -0
- package/dist/client/assets/map-pin-pen-DrhcSzp9.js +1 -0
- package/dist/client/assets/map-pin-plus-BcyN4usJ.js +1 -0
- package/dist/client/assets/map-pin-plus-inside-pBfl22Re.js +1 -0
- package/dist/client/assets/map-pin-search-LgLrUIvD.js +1 -0
- package/dist/client/assets/map-pin-x-DY37lSv6.js +1 -0
- package/dist/client/assets/map-pin-x-inside-BCKzSjyM.js +1 -0
- package/dist/client/assets/map-pinned-CdUWcKAe.js +1 -0
- package/dist/client/assets/map-plus-BNFQw1WG.js +1 -0
- package/dist/client/assets/mars--KIm4_Xi.js +1 -0
- package/dist/client/assets/mars-stroke-CiZqMfOA.js +1 -0
- package/dist/client/assets/martini-CWaNkTke.js +1 -0
- package/dist/client/assets/maximize-2-B00p_I9Y.js +1 -0
- package/dist/client/assets/maximize-DScdy0Xs.js +1 -0
- package/dist/client/assets/medal-BtRj1HwU.js +1 -0
- package/dist/client/assets/megaphone-BJpqXjPB.js +1 -0
- package/dist/client/assets/megaphone-off-4P6AdkJF.js +1 -0
- package/dist/client/assets/meh-D-Ya20cQ.js +1 -0
- package/dist/client/assets/memory-stick-eKmYZbpy.js +1 -0
- package/dist/client/assets/menu-BkJgM8YF.js +1 -0
- package/dist/client/assets/merge-BUOgqZaB.js +1 -0
- package/dist/client/assets/mermaid.core-BHJlRJtH.js +308 -0
- package/dist/client/assets/mermaid.core-BHJlRJtH.js.br +0 -0
- package/dist/client/assets/mermaid.core-BHJlRJtH.js.gz +0 -0
- package/dist/client/assets/message-circle-check-Dzyd9vsM.js +1 -0
- package/dist/client/assets/message-circle-code-DB8WQkEm.js +1 -0
- package/dist/client/assets/message-circle-dashed-DkDwjxIN.js +1 -0
- package/dist/client/assets/message-circle-heart-B7FcZbCd.js +1 -0
- package/dist/client/assets/message-circle-more-DhRlpGEf.js +1 -0
- package/dist/client/assets/message-circle-off-Cwn9KbTx.js +1 -0
- package/dist/client/assets/message-circle-plus-C0_UxyTk.js +1 -0
- package/dist/client/assets/message-circle-question-mark-DPlU4BAc.js +1 -0
- package/dist/client/assets/message-circle-reply-DHy2cCBD.js +1 -0
- package/dist/client/assets/message-circle-warning-yPSxFyDD.js +1 -0
- package/dist/client/assets/message-circle-x-pGQHyWr-.js +1 -0
- package/dist/client/assets/message-square-BffyDmcN.js +1 -0
- package/dist/client/assets/message-square-check-BHIpOroH.js +1 -0
- package/dist/client/assets/message-square-code-B5Y3RWGK.js +1 -0
- package/dist/client/assets/message-square-dashed-DZEGxbHX.js +1 -0
- package/dist/client/assets/message-square-diff-C7tSGOJ2.js +1 -0
- package/dist/client/assets/message-square-dot-D9E99IGu.js +1 -0
- package/dist/client/assets/message-square-heart-DOSjcdwo.js +1 -0
- package/dist/client/assets/message-square-lock-Fpk3E_nD.js +1 -0
- package/dist/client/assets/message-square-more-DVQvNovy.js +1 -0
- package/dist/client/assets/message-square-off-sfHwuBZL.js +1 -0
- package/dist/client/assets/message-square-plus-BnavYYwz.js +1 -0
- package/dist/client/assets/message-square-quote-R5wco331.js +1 -0
- package/dist/client/assets/message-square-reply-Db-ia-bi.js +1 -0
- package/dist/client/assets/message-square-share-DNiJ9cD9.js +1 -0
- package/dist/client/assets/message-square-text-BdanQdyz.js +1 -0
- package/dist/client/assets/message-square-warning-qcJodk13.js +1 -0
- package/dist/client/assets/message-square-x-0uISs7ge.js +1 -0
- package/dist/client/assets/messages-square-Bjkjz8qd.js +1 -0
- package/dist/client/assets/metronome-Bt984dLc.js +1 -0
- package/dist/client/assets/mic-DYvlqiBb.js +1 -0
- package/dist/client/assets/mic-off-DSdjh6sa.js +1 -0
- package/dist/client/assets/mic-vocal-BcXpA6fh.js +1 -0
- package/dist/client/assets/microchip-Cg5RMTRo.js +1 -0
- package/dist/client/assets/microscope-DRsqa_LU.js +1 -0
- package/dist/client/assets/microwave-CuKrxVjA.js +1 -0
- package/dist/client/assets/milestone-CAifAofB.js +1 -0
- package/dist/client/assets/milk-BoXn-gT3.js +1 -0
- package/dist/client/assets/milk-off-D0MMxmZ3.js +1 -0
- package/dist/client/assets/mindmap-definition-YA3MSWOX-pcyDxgj7.js +96 -0
- package/dist/client/assets/mindmap-definition-YA3MSWOX-pcyDxgj7.js.br +0 -0
- package/dist/client/assets/mindmap-definition-YA3MSWOX-pcyDxgj7.js.gz +0 -0
- package/dist/client/assets/minimize-2-e8oWoB2C.js +1 -0
- package/dist/client/assets/minimize-DQYutmT3.js +1 -0
- package/dist/client/assets/minus-B3_6KtK8.js +1 -0
- package/dist/client/assets/mirror-rectangular-FmGUB9tJ.js +1 -0
- package/dist/client/assets/mirror-round-mow_gsw4.js +1 -0
- package/dist/client/assets/monitor-check-BMoIkRaK.js +1 -0
- package/dist/client/assets/monitor-cloud-Cwz-cbux.js +1 -0
- package/dist/client/assets/monitor-cog-CjIYEcF_.js +1 -0
- package/dist/client/assets/monitor-dot-BvnEY5XC.js +1 -0
- package/dist/client/assets/monitor-down-BoLWcdNz.js +1 -0
- package/dist/client/assets/monitor-off-DM-bFSdg.js +1 -0
- package/dist/client/assets/monitor-pause-DjScyo78.js +1 -0
- package/dist/client/assets/monitor-play-BYzIV54i.js +1 -0
- package/dist/client/assets/monitor-smartphone-CsGyUnLQ.js +1 -0
- package/dist/client/assets/monitor-speaker-BeLJpLCu.js +1 -0
- package/dist/client/assets/monitor-stop-pk_TL6sp.js +1 -0
- package/dist/client/assets/monitor-up-CPVcYN8m.js +1 -0
- package/dist/client/assets/monitor-x-G0zxTM8X.js +1 -0
- package/dist/client/assets/moon-C7zeW-2P.js +1 -0
- package/dist/client/assets/moon-star-D6eg6tVs.js +1 -0
- package/dist/client/assets/motorbike-CcNt7JRe.js +1 -0
- package/dist/client/assets/mountain-DNz9rzdH.js +1 -0
- package/dist/client/assets/mountain-snow-BEkt2eb0.js +1 -0
- package/dist/client/assets/mouse-DgKKSWmg.js +1 -0
- package/dist/client/assets/mouse-left-B0z_gjB6.js +1 -0
- package/dist/client/assets/mouse-off-C7b4AyHG.js +1 -0
- package/dist/client/assets/mouse-pointer-2-C6w3o_m6.js +1 -0
- package/dist/client/assets/mouse-pointer-2-off-RF-oKhib.js +1 -0
- package/dist/client/assets/mouse-pointer-C7yLOesN.js +1 -0
- package/dist/client/assets/mouse-pointer-ban-XBJB0vZJ.js +1 -0
- package/dist/client/assets/mouse-pointer-click-avoiBnyq.js +1 -0
- package/dist/client/assets/mouse-right-DMhU2flW.js +1 -0
- package/dist/client/assets/move-3d-CW3KjkG5.js +1 -0
- package/dist/client/assets/move-diagonal-2-DILp-4rd.js +1 -0
- package/dist/client/assets/move-diagonal-CqBHDUpo.js +1 -0
- package/dist/client/assets/move-down-CvpdbmFS.js +1 -0
- package/dist/client/assets/move-down-left-CrWgJAdZ.js +1 -0
- package/dist/client/assets/move-down-right-NL1tMn0A.js +1 -0
- package/dist/client/assets/move-horizontal-CapPyJjB.js +1 -0
- package/dist/client/assets/move-left-DSjXRIZo.js +1 -0
- package/dist/client/assets/move-right-4sX0_Ccw.js +1 -0
- package/dist/client/assets/move-up--1fwVuD1.js +1 -0
- package/dist/client/assets/move-up-left-BaIfmCx3.js +1 -0
- package/dist/client/assets/move-up-right-C5GjGo_q.js +1 -0
- package/dist/client/assets/move-vSulOMJe.js +1 -0
- package/dist/client/assets/move-vertical-CrHtliZu.js +1 -0
- package/dist/client/assets/music-2-CpaxUNXh.js +1 -0
- package/dist/client/assets/music-3-Dl-vdgS9.js +1 -0
- package/dist/client/assets/music-4-Bw1wKES4.js +1 -0
- package/dist/client/assets/music-DbuZKub0.js +1 -0
- package/dist/client/assets/navigation-2-BzpACb5q.js +1 -0
- package/dist/client/assets/navigation-2-off-CV60CUG0.js +1 -0
- package/dist/client/assets/navigation-BrDolxeu.js +1 -0
- package/dist/client/assets/navigation-off-Du3E6jqy.js +1 -0
- package/dist/client/assets/network-WIl6x6uF.js +1 -0
- package/dist/client/assets/newspaper-B_arTtlK.js +1 -0
- package/dist/client/assets/nfc-BDXaT2ES.js +1 -0
- package/dist/client/assets/non-binary-B5le1C_A.js +1 -0
- package/dist/client/assets/notebook-Djn_xoJu.js +1 -0
- package/dist/client/assets/notebook-pen-Dcb3zFIb.js +1 -0
- package/dist/client/assets/notebook-tabs-C4Zzs61Z.js +1 -0
- package/dist/client/assets/notebook-text-xspLRBjb.js +1 -0
- package/dist/client/assets/notepad-text-MTXWnnur.js +1 -0
- package/dist/client/assets/notepad-text-dashed-BkYolZsi.js +1 -0
- package/dist/client/assets/nut-off-tYaCxr6Z.js +1 -0
- package/dist/client/assets/nut-zU-Y6waM.js +1 -0
- package/dist/client/assets/octagon-BEcUNZtO.js +1 -0
- package/dist/client/assets/octagon-alert-CZKKU75U.js +1 -0
- package/dist/client/assets/octagon-minus-DlBNTEns.js +1 -0
- package/dist/client/assets/octagon-pause-CtLRSH3m.js +1 -0
- package/dist/client/assets/octagon-x-BYB0rLxK.js +1 -0
- package/dist/client/assets/omega-Dbt-NvUT.js +1 -0
- package/dist/client/assets/option-D_a4lwy4.js +1 -0
- package/dist/client/assets/orbit-6WD9bCsE.js +1 -0
- package/dist/client/assets/origami-BvosvlpA.js +1 -0
- package/dist/client/assets/package-2-B8pHm4ap.js +1 -0
- package/dist/client/assets/package-bYnlnxgV.js +1 -0
- package/dist/client/assets/package-check-CxgAe_UN.js +1 -0
- package/dist/client/assets/package-minus-9qYYqf6Z.js +1 -0
- package/dist/client/assets/package-open-BOuc5rZl.js +1 -0
- package/dist/client/assets/package-plus-Sk-8LnFu.js +1 -0
- package/dist/client/assets/package-search-CijsDK0_.js +1 -0
- package/dist/client/assets/package-x-rua7tS5F.js +1 -0
- package/dist/client/assets/paint-bucket-6ITzt-Kj.js +1 -0
- package/dist/client/assets/paint-roller-DsF7V2-m.js +1 -0
- package/dist/client/assets/paintbrush-C_gvAyBJ.js +1 -0
- package/dist/client/assets/paintbrush-vertical-BN9B1013.js +1 -0
- package/dist/client/assets/palette-zI9CXYCE.js +1 -0
- package/dist/client/assets/panda-B3hrIQ1g.js +1 -0
- package/dist/client/assets/panel-bottom-close-D9SDAQjw.js +1 -0
- package/dist/client/assets/panel-bottom-dashed-CGFiuvPn.js +1 -0
- package/dist/client/assets/panel-bottom-open-DWPtHt_p.js +1 -0
- package/dist/client/assets/panel-bottom-sE29o59b.js +1 -0
- package/dist/client/assets/panel-left-CkAVhHaD.js +1 -0
- package/dist/client/assets/panel-left-close-B2MDwxYA.js +1 -0
- package/dist/client/assets/panel-left-dashed-Cf7UIm9Q.js +1 -0
- package/dist/client/assets/panel-left-open-BO5KhuSJ.js +1 -0
- package/dist/client/assets/panel-left-right-dashed-01hvofqP.js +1 -0
- package/dist/client/assets/panel-right-close-DOnJzNEf.js +1 -0
- package/dist/client/assets/panel-right-dashed-DWYKrkyl.js +1 -0
- package/dist/client/assets/panel-right-open-t_L2-ckK.js +1 -0
- package/dist/client/assets/panel-top-Db0n8DJp.js +1 -0
- package/dist/client/assets/panel-top-bottom-dashed-BeuViwB7.js +1 -0
- package/dist/client/assets/panel-top-close-DoUyKdTh.js +1 -0
- package/dist/client/assets/panel-top-dashed-DRRQ7BYt.js +1 -0
- package/dist/client/assets/panel-top-open-BTsNn6n8.js +1 -0
- package/dist/client/assets/panels-left-bottom-D_oTEwTm.js +1 -0
- package/dist/client/assets/panels-right-bottom-Dn22AS88.js +1 -0
- package/dist/client/assets/panels-top-left-BwW1MFCE.js +1 -0
- package/dist/client/assets/parasol-CGBXbqmQ.js +1 -0
- package/dist/client/assets/parentheses-BZVR2roa.js +1 -0
- package/dist/client/assets/parking-meter-CYtSeFi0.js +1 -0
- package/dist/client/assets/party-popper-CS5uduYX.js +1 -0
- package/dist/client/assets/passwordBootstrap-D-Mtz9Ng.js +2 -0
- package/dist/client/assets/passwordBootstrap-D-Mtz9Ng.js.br +0 -0
- package/dist/client/assets/passwordBootstrap-D-Mtz9Ng.js.gz +0 -0
- package/dist/client/assets/pause-CvFD4MLe.js +1 -0
- package/dist/client/assets/paw-print-DGSYqb-M.js +1 -0
- package/dist/client/assets/pc-case-ZIUkqL0S.js +1 -0
- package/dist/client/assets/pegDiagram-XKGWAZYB-fez5gWK7.js +1 -0
- package/dist/client/assets/pegDiagram-XKGWAZYB-fez5gWK7.js.br +0 -0
- package/dist/client/assets/pegDiagram-XKGWAZYB-fez5gWK7.js.gz +0 -0
- package/dist/client/assets/pen-BUP20YLU.js +1 -0
- package/dist/client/assets/pen-line-QbqjYBMU.js +1 -0
- package/dist/client/assets/pen-off-D_tiK0RL.js +1 -0
- package/dist/client/assets/pen-tool-D7ArYJTb.js +1 -0
- package/dist/client/assets/pencil-line-mVd89ak2.js +1 -0
- package/dist/client/assets/pencil-off-cF_8F-rz.js +1 -0
- package/dist/client/assets/pencil-ruler-CxLT9Lau.js +1 -0
- package/dist/client/assets/pentagon-DTqmXOym.js +1 -0
- package/dist/client/assets/percent-CCMcH8OQ.js +1 -0
- package/dist/client/assets/person-standing-ZGYMMA8a.js +1 -0
- package/dist/client/assets/philippine-peso-DMsTBNjt.js +1 -0
- package/dist/client/assets/phone-BoxtpcFd.js +1 -0
- package/dist/client/assets/phone-call-BriKnfO0.js +1 -0
- package/dist/client/assets/phone-forwarded-CJn8Vw9m.js +1 -0
- package/dist/client/assets/phone-incoming-DEIbPDWr.js +1 -0
- package/dist/client/assets/phone-missed-H8t76RGE.js +1 -0
- package/dist/client/assets/phone-off-B6ykFJer.js +1 -0
- package/dist/client/assets/phone-outgoing-ZMYyVDhk.js +1 -0
- package/dist/client/assets/pi-CWU-b7AW.js +1 -0
- package/dist/client/assets/piano-BIBkPwJI.js +1 -0
- package/dist/client/assets/pickaxe-BSqCbIiA.js +1 -0
- package/dist/client/assets/picture-in-picture-2-BT1_85Hz.js +1 -0
- package/dist/client/assets/picture-in-picture-CiEkjBs7.js +1 -0
- package/dist/client/assets/pieDiagram-E7YTZNPT-CLcZJ6yq.js +39 -0
- package/dist/client/assets/pieDiagram-E7YTZNPT-CLcZJ6yq.js.br +0 -0
- package/dist/client/assets/pieDiagram-E7YTZNPT-CLcZJ6yq.js.gz +0 -0
- package/dist/client/assets/piggy-bank-DU2eZwou.js +1 -0
- package/dist/client/assets/pilcrow-ZZz2rU5Y.js +1 -0
- package/dist/client/assets/pilcrow-left-BIHSJGAj.js +1 -0
- package/dist/client/assets/pilcrow-right-BWxo4CGR.js +1 -0
- package/dist/client/assets/pill-BILGIIzc.js +1 -0
- package/dist/client/assets/pill-bottle-BRx4OptC.js +1 -0
- package/dist/client/assets/pipette-DMrxFKDD.js +1 -0
- package/dist/client/assets/pizza-D2Yav-P1.js +1 -0
- package/dist/client/assets/plane-CGh6qo9z.js +1 -0
- package/dist/client/assets/plane-landing-wfPdzKAv.js +1 -0
- package/dist/client/assets/plane-takeoff-B3mBPmk3.js +1 -0
- package/dist/client/assets/play-DeIs3RvV.js +1 -0
- package/dist/client/assets/plug-2-BDE-aAn3.js +1 -0
- package/dist/client/assets/plug-Cl2Q4DJ1.js +1 -0
- package/dist/client/assets/plug-zap-cjzA4Xcf.js +1 -0
- package/dist/client/assets/pocket-knife-C04e_Uzi.js +1 -0
- package/dist/client/assets/podcast-DhQ2nA2q.js +1 -0
- package/dist/client/assets/pointer-C8orl9Nc.js +1 -0
- package/dist/client/assets/pointer-off-CLxIpieT.js +1 -0
- package/dist/client/assets/popcorn-CG-JM9iK.js +1 -0
- package/dist/client/assets/popsicle-DgOhpUog.js +1 -0
- package/dist/client/assets/pound-sterling-AwC5APfc.js +1 -0
- package/dist/client/assets/power-B9EMOKqU.js +1 -0
- package/dist/client/assets/power-off-C8AJNYxd.js +1 -0
- package/dist/client/assets/presentation-DXTCy7-1.js +1 -0
- package/dist/client/assets/printer-CYn70ARK.js +1 -0
- package/dist/client/assets/printer-check-B-cO4bDq.js +1 -0
- package/dist/client/assets/printer-x-BLdUxZrh.js +1 -0
- package/dist/client/assets/projector-iTJXvWSn.js +1 -0
- package/dist/client/assets/proportions-C3BmoYM9.js +1 -0
- package/dist/client/assets/puzzle-gfU43UxA.js +1 -0
- package/dist/client/assets/pyramid-CDYt9N0v.js +1 -0
- package/dist/client/assets/quadrantDiagram-AXDQQJYC-DkORMwxz.js +7 -0
- package/dist/client/assets/quadrantDiagram-AXDQQJYC-DkORMwxz.js.br +0 -0
- package/dist/client/assets/quadrantDiagram-AXDQQJYC-DkORMwxz.js.gz +0 -0
- package/dist/client/assets/quote-nQO0BHWs.js +1 -0
- package/dist/client/assets/rabbit-BgQvhjtl.js +1 -0
- package/dist/client/assets/radar-Cq1bTg39.js +1 -0
- package/dist/client/assets/radiation-BKibG-qw.js +1 -0
- package/dist/client/assets/radical-CXG1e31b.js +1 -0
- package/dist/client/assets/radio-BxPViPNz.js +1 -0
- package/dist/client/assets/radio-off-Czk9ne_q.js +1 -0
- package/dist/client/assets/radio-receiver-DIDG2-5a.js +1 -0
- package/dist/client/assets/radio-tower-B45DyyuC.js +1 -0
- package/dist/client/assets/radius-DS8uBi-d.js +1 -0
- package/dist/client/assets/railroadDiagram-O6MQD6OU-BEUKfouj.js +1 -0
- package/dist/client/assets/railroadDiagram-O6MQD6OU-BEUKfouj.js.br +0 -0
- package/dist/client/assets/railroadDiagram-O6MQD6OU-BEUKfouj.js.gz +0 -0
- package/dist/client/assets/rainbow-0kAeaCz-.js +1 -0
- package/dist/client/assets/rat-CERcbKgA.js +1 -0
- package/dist/client/assets/ratio-CBgIsvQ_.js +1 -0
- package/dist/client/assets/rdpSession-C9ntSumw.js +1 -0
- package/dist/client/assets/rdpSession-C9ntSumw.js.br +0 -0
- package/dist/client/assets/rdpSession-C9ntSumw.js.gz +0 -0
- package/dist/client/assets/receipt-C3U0Cs5Z.js +1 -0
- package/dist/client/assets/receipt-cent-CAUhZo1R.js +1 -0
- package/dist/client/assets/receipt-euro-Co3CIoxf.js +1 -0
- package/dist/client/assets/receipt-indian-rupee-D0zPnnd9.js +1 -0
- package/dist/client/assets/receipt-japanese-yen-f6CjaKcw.js +1 -0
- package/dist/client/assets/receipt-pound-sterling-C4Zpsg7U.js +1 -0
- package/dist/client/assets/receipt-russian-ruble-BhkYSCNm.js +1 -0
- package/dist/client/assets/receipt-swiss-franc-D2VMvq9Y.js +1 -0
- package/dist/client/assets/receipt-text-DNoAJwIQ.js +1 -0
- package/dist/client/assets/receipt-turkish-lira-ClsNblRQ.js +1 -0
- package/dist/client/assets/rectangle-circle-DULlBmcH.js +1 -0
- package/dist/client/assets/rectangle-ellipsis-DPXg6ywL.js +1 -0
- package/dist/client/assets/rectangle-goggles-BLJL5POt.js +1 -0
- package/dist/client/assets/rectangle-horizontal-R6kIMgIL.js +1 -0
- package/dist/client/assets/rectangle-vertical-CIBWMgmd.js +1 -0
- package/dist/client/assets/recycle-CYtc-o8C.js +1 -0
- package/dist/client/assets/redo-2-BVOB2_ky.js +1 -0
- package/dist/client/assets/redo-Bg3xSvCN.js +1 -0
- package/dist/client/assets/redo-dot-DClgWNMz.js +1 -0
- package/dist/client/assets/referenceSelection-DKLf7hiZ.js +4 -0
- package/dist/client/assets/referenceSelection-DKLf7hiZ.js.br +0 -0
- package/dist/client/assets/referenceSelection-DKLf7hiZ.js.gz +0 -0
- package/dist/client/assets/refresh-ccw-DvzVfIpa.js +1 -0
- package/dist/client/assets/refresh-ccw-dot-B3VRYCAF.js +1 -0
- package/dist/client/assets/refresh-cw-off-DoTj1Bjm.js +1 -0
- package/dist/client/assets/refrigerator-Bn4Z676n.js +1 -0
- package/dist/client/assets/regex-B8cR-jGb.js +1 -0
- package/dist/client/assets/remove-formatting-DzCiMq3u.js +1 -0
- package/dist/client/assets/repeat-1-DSmUZGAg.js +1 -0
- package/dist/client/assets/repeat-2-3PoqDE62.js +1 -0
- package/dist/client/assets/repeat-D7Yy2cRP.js +1 -0
- package/dist/client/assets/repeat-off-BKeIjw0-.js +1 -0
- package/dist/client/assets/replace-CcFSCk3-.js +1 -0
- package/dist/client/assets/replace-all-C4zq6kPM.js +1 -0
- package/dist/client/assets/reply-B0GMGNya.js +1 -0
- package/dist/client/assets/reply-all-Sjw5xynY.js +1 -0
- package/dist/client/assets/requirementDiagram-BXWQKSXE-BFL_7NKQ.js +84 -0
- package/dist/client/assets/requirementDiagram-BXWQKSXE-BFL_7NKQ.js.br +0 -0
- package/dist/client/assets/requirementDiagram-BXWQKSXE-BFL_7NKQ.js.gz +0 -0
- package/dist/client/assets/rewind-CF0gwuC-.js +1 -0
- package/dist/client/assets/ribbon-D804qac6.js +1 -0
- package/dist/client/assets/road-BTfyPkPt.js +1 -0
- package/dist/client/assets/rocking-chair-CPZ_kI0e.js +1 -0
- package/dist/client/assets/roller-coaster-D40s6hgd.js +1 -0
- package/dist/client/assets/rose-Cq1ACaYS.js +1 -0
- package/dist/client/assets/rotate-3d-QFns662R.js +1 -0
- package/dist/client/assets/rotate-ccw-key-DGpUzT0I.js +1 -0
- package/dist/client/assets/rotate-ccw-square-ClykEHgX.js +1 -0
- package/dist/client/assets/rotate-cw-CUQfMrMh.js +1 -0
- package/dist/client/assets/rotate-cw-square-B4JWTyDB.js +1 -0
- package/dist/client/assets/route-B3yyoHHD.js +1 -0
- package/dist/client/assets/route-off-Chfgif-x.js +1 -0
- package/dist/client/assets/router-WRsr2uyo.js +1 -0
- package/dist/client/assets/rows-2-CNcDhscl.js +1 -0
- package/dist/client/assets/rows-3-ByqyFyAQ.js +1 -0
- package/dist/client/assets/rows-4-Bijr8c5q.js +1 -0
- package/dist/client/assets/rss-BMzXnjMe.js +1 -0
- package/dist/client/assets/ruler-2-zAvCWg.js +1 -0
- package/dist/client/assets/ruler-dimension-line-DWaqu3GB.js +1 -0
- package/dist/client/assets/russian-ruble-B094VhGZ.js +1 -0
- package/dist/client/assets/sailboat-5-Td3d-m.js +1 -0
- package/dist/client/assets/salad-DweZvOle.js +1 -0
- package/dist/client/assets/sandwich-BdwPuFgS.js +1 -0
- package/dist/client/assets/sankeyDiagram-P5KCCOFB-C---d3Uc.js +40 -0
- package/dist/client/assets/sankeyDiagram-P5KCCOFB-C---d3Uc.js.br +0 -0
- package/dist/client/assets/sankeyDiagram-P5KCCOFB-C---d3Uc.js.gz +0 -0
- package/dist/client/assets/satellite-Db9ZOQI2.js +1 -0
- package/dist/client/assets/satellite-dish-CV_4xWgS.js +1 -0
- package/dist/client/assets/saudi-riyal-BLYTl4Fx.js +1 -0
- package/dist/client/assets/save-D8SB92Xi.js +1 -0
- package/dist/client/assets/save-all-xvMHljfx.js +1 -0
- package/dist/client/assets/save-off-DxuqR9gt.js +1 -0
- package/dist/client/assets/scale-3d-DZJpST30.js +1 -0
- package/dist/client/assets/scale-tdL6_fpu.js +1 -0
- package/dist/client/assets/scaling-Ck_tZ2b6.js +1 -0
- package/dist/client/assets/scan-barcode-K3ALNTjA.js +1 -0
- package/dist/client/assets/scan-eye-BhaDgeYS.js +1 -0
- package/dist/client/assets/scan-face-DouEG-oE.js +1 -0
- package/dist/client/assets/scan-heart-5ozJC4bm.js +1 -0
- package/dist/client/assets/scan-line-ChjTSvs0.js +1 -0
- package/dist/client/assets/scan-qr-code-C9jpJUVI.js +1 -0
- package/dist/client/assets/scan-raxP9nDB.js +1 -0
- package/dist/client/assets/scan-search-DtexD3sg.js +1 -0
- package/dist/client/assets/scan-text-tTvvvKts.js +1 -0
- package/dist/client/assets/school-BNcyc1b4.js +1 -0
- package/dist/client/assets/scissors-BJkXj4Tp.js +1 -0
- package/dist/client/assets/scissors-line-dashed-RIkoXttP.js +1 -0
- package/dist/client/assets/scooter-DNJC4vXp.js +1 -0
- package/dist/client/assets/screen-share-I5Y3w9aU.js +1 -0
- package/dist/client/assets/screen-share-off-CzsyIF0j.js +1 -0
- package/dist/client/assets/scroll-8pCk4_b1.js +1 -0
- package/dist/client/assets/scroll-text-CZ46oYJU.js +1 -0
- package/dist/client/assets/search-SgIOj9Za.js +1 -0
- package/dist/client/assets/search-alert-zKDFJeZ9.js +1 -0
- package/dist/client/assets/search-check-s15fELxu.js +1 -0
- package/dist/client/assets/search-code-CdKwvjhq.js +1 -0
- package/dist/client/assets/search-slash-DOZcRK2X.js +1 -0
- package/dist/client/assets/search-x-Dxl9u_W0.js +1 -0
- package/dist/client/assets/section-CSyFxOGT.js +1 -0
- package/dist/client/assets/send-CVSqsclX.js +1 -0
- package/dist/client/assets/send-horizontal-DBrf8yGZ.js +1 -0
- package/dist/client/assets/send-to-back-D6wPD_u8.js +1 -0
- package/dist/client/assets/separator-horizontal-CguQ72C0.js +1 -0
- package/dist/client/assets/separator-vertical-Dmh4wS4q.js +1 -0
- package/dist/client/assets/sequenceDiagram-WJ2MYXX4-sddLolql.js +162 -0
- package/dist/client/assets/sequenceDiagram-WJ2MYXX4-sddLolql.js.br +0 -0
- package/dist/client/assets/sequenceDiagram-WJ2MYXX4-sddLolql.js.gz +0 -0
- package/dist/client/assets/server-cog-CL-GX4r8.js +1 -0
- package/dist/client/assets/server-crash-ByX3Qouw.js +1 -0
- package/dist/client/assets/server-off-CIIqS5eg.js +1 -0
- package/dist/client/assets/sessionChatStartup-hIwPjhRK.js +1 -0
- package/dist/client/assets/sessionChatStartup-hIwPjhRK.js.br +0 -0
- package/dist/client/assets/sessionChatStartup-hIwPjhRK.js.gz +0 -0
- package/dist/client/assets/settings-2-Cw9vy-Sk.js +1 -0
- package/dist/client/assets/settings-BCjnDTe3.js +1 -0
- package/dist/client/assets/shapes-BXHDwMuY.js +1 -0
- package/dist/client/assets/share-C3NYaX_9.js +1 -0
- package/dist/client/assets/sheet-CjY2Udom.js +1 -0
- package/dist/client/assets/shell-CzotzKrG.js +1 -0
- package/dist/client/assets/shelving-unit-CHgnjBMO.js +1 -0
- package/dist/client/assets/shield-DBz0cbwQ.js +1 -0
- package/dist/client/assets/shield-alert-Do6Z6dT1.js +1 -0
- package/dist/client/assets/shield-ban-DDATE4Si.js +1 -0
- package/dist/client/assets/shield-check-yurskEfz.js +1 -0
- package/dist/client/assets/shield-cog-CparXQyJ.js +1 -0
- package/dist/client/assets/shield-cog-corner-sW_hF8gb.js +1 -0
- package/dist/client/assets/shield-ellipsis-TiVWut1z.js +1 -0
- package/dist/client/assets/shield-half-BidBk9nY.js +1 -0
- package/dist/client/assets/shield-minus-B2Jzivlz.js +1 -0
- package/dist/client/assets/shield-off-SbG2RmGH.js +1 -0
- package/dist/client/assets/shield-plus-BaMZrEmg.js +1 -0
- package/dist/client/assets/shield-question-mark-y0XcaAet.js +1 -0
- package/dist/client/assets/shield-user-j61kyF4f.js +1 -0
- package/dist/client/assets/shield-x-CkR_Q71h.js +1 -0
- package/dist/client/assets/ship-CSV2pQXA.js +1 -0
- package/dist/client/assets/ship-wheel-BDuKGcBT.js +1 -0
- package/dist/client/assets/shirt-Cu-5SZQA.js +1 -0
- package/dist/client/assets/shopping-bag-BT2qF7PJ.js +1 -0
- package/dist/client/assets/shopping-basket-Dh1sWZKm.js +1 -0
- package/dist/client/assets/shopping-cart-D0TmN-yf.js +1 -0
- package/dist/client/assets/shovel-Cpi6pbaa.js +1 -0
- package/dist/client/assets/shower-head-B6fl-FDB.js +1 -0
- package/dist/client/assets/shredder-Ce0QXH4f.js +1 -0
- package/dist/client/assets/shrimp-CcJGNK0Q.js +1 -0
- package/dist/client/assets/shrink-qHrVo2KC.js +1 -0
- package/dist/client/assets/shrub-B669jYkF.js +1 -0
- package/dist/client/assets/shuffle-BZPT3FNn.js +1 -0
- package/dist/client/assets/sigma-CaS8cjPI.js +1 -0
- package/dist/client/assets/signal-CkOOXsyX.js +1 -0
- package/dist/client/assets/signal-high-2TLPKV17.js +1 -0
- package/dist/client/assets/signal-low-CWFgHV2N.js +1 -0
- package/dist/client/assets/signal-medium-ClL4e8nA.js +1 -0
- package/dist/client/assets/signal-zero-BENJg64y.js +1 -0
- package/dist/client/assets/signature-c3ejExVy.js +1 -0
- package/dist/client/assets/signpost-D2DKfxeX.js +1 -0
- package/dist/client/assets/signpost-big-CSLR10Tm.js +1 -0
- package/dist/client/assets/siren-BBNFSkgU.js +1 -0
- package/dist/client/assets/sizeCapture-INFHLROL-DKF6QGMk.js +1 -0
- package/dist/client/assets/sizeCapture-INFHLROL-DKF6QGMk.js.br +0 -0
- package/dist/client/assets/sizeCapture-INFHLROL-DKF6QGMk.js.gz +0 -0
- package/dist/client/assets/skip-back-Dj55wWPJ.js +1 -0
- package/dist/client/assets/skip-forward-Bx8FM_v5.js +1 -0
- package/dist/client/assets/skull-pYQ0Chek.js +1 -0
- package/dist/client/assets/slash-B4zc6Pzc.js +1 -0
- package/dist/client/assets/slice-B32H_TjO.js +1 -0
- package/dist/client/assets/sliders-horizontal-B0JvOV2k.js +1 -0
- package/dist/client/assets/sliders-vertical-CqlznZgl.js +1 -0
- package/dist/client/assets/smartphone-charging-9tH9R5Dy.js +1 -0
- package/dist/client/assets/smartphone-nfc-Dwu6svxD.js +1 -0
- package/dist/client/assets/smile-CvU4-Hy1.js +1 -0
- package/dist/client/assets/smile-plus-Cf4NIlrw.js +1 -0
- package/dist/client/assets/snail-n62LQ5cQ.js +1 -0
- package/dist/client/assets/snowflake-C-7UNSrl.js +1 -0
- package/dist/client/assets/soap-dispenser-droplet-CNnc6Yk0.js +1 -0
- package/dist/client/assets/sofa-CYiBELOE.js +1 -0
- package/dist/client/assets/solar-panel-BOrwQiS1.js +1 -0
- package/dist/client/assets/soup-BA-eQDMi.js +1 -0
- package/dist/client/assets/space-B0iWVGbt.js +1 -0
- package/dist/client/assets/spade-BBrOsPWh.js +1 -0
- package/dist/client/assets/sparkle-DtdAAiA6.js +1 -0
- package/dist/client/assets/speaker-CbZb1TO5.js +1 -0
- package/dist/client/assets/speech-BTROtk0z.js +1 -0
- package/dist/client/assets/spell-check-2-Cdn7qvVT.js +1 -0
- package/dist/client/assets/spell-check-Bf-PAnhT.js +1 -0
- package/dist/client/assets/spline-BSrcFIed.js +1 -0
- package/dist/client/assets/spline-pointer-Bs-AFx45.js +1 -0
- package/dist/client/assets/split-DjYqdjWk.js +1 -0
- package/dist/client/assets/spool-CHBZLEhj.js +1 -0
- package/dist/client/assets/sport-shoe-D2ayQmKy.js +1 -0
- package/dist/client/assets/spotlight-RVopxyQv.js +1 -0
- package/dist/client/assets/spray-can-D0KFGeMT.js +1 -0
- package/dist/client/assets/sprout-CBNJT5Y7.js +1 -0
- package/dist/client/assets/square-DN4fzEN7.js +1 -0
- package/dist/client/assets/square-activity-BKt2L8CU.js +1 -0
- package/dist/client/assets/square-arrow-down-2UJ4NXtv.js +1 -0
- package/dist/client/assets/square-arrow-down-left-DQzHGPIh.js +1 -0
- package/dist/client/assets/square-arrow-down-right-Dak4M6Yz.js +1 -0
- package/dist/client/assets/square-arrow-left-DniiY69c.js +1 -0
- package/dist/client/assets/square-arrow-out-down-left-Bj-ItMPg.js +1 -0
- package/dist/client/assets/square-arrow-out-down-right-CVXPPVK4.js +1 -0
- package/dist/client/assets/square-arrow-out-up-left-j3KZjt3x.js +1 -0
- package/dist/client/assets/square-arrow-right-Dgt0dSp7.js +1 -0
- package/dist/client/assets/square-arrow-right-enter-BXgspYdo.js +1 -0
- package/dist/client/assets/square-arrow-right-exit-BWrQ2DFQ.js +1 -0
- package/dist/client/assets/square-arrow-up-DgNv6QWi.js +1 -0
- package/dist/client/assets/square-arrow-up-left-C4kB9fvU.js +1 -0
- package/dist/client/assets/square-arrow-up-right-Bb6if8GU.js +1 -0
- package/dist/client/assets/square-asterisk-vhb3sLhl.js +1 -0
- package/dist/client/assets/square-bottom-dashed-scissors--QtqHWiK.js +1 -0
- package/dist/client/assets/square-centerline-dashed-horizontal-Gg88in-1.js +1 -0
- package/dist/client/assets/square-centerline-dashed-vertical-DUaIhR-X.js +1 -0
- package/dist/client/assets/square-chart-gantt-C0nJDnFy.js +1 -0
- package/dist/client/assets/square-check-Bu3RIv6P.js +1 -0
- package/dist/client/assets/square-check-big-YTKNh9SD.js +1 -0
- package/dist/client/assets/square-chevron-down-DWcgSJb8.js +1 -0
- package/dist/client/assets/square-chevron-left-B4cN3_D7.js +1 -0
- package/dist/client/assets/square-chevron-right-BfMpucl-.js +1 -0
- package/dist/client/assets/square-chevron-up-Dddp6hOY.js +1 -0
- package/dist/client/assets/square-code-7yOQKI1K.js +1 -0
- package/dist/client/assets/square-dashed-BO69Bdey.js +1 -0
- package/dist/client/assets/square-dashed-bottom-BYpnr4hG.js +1 -0
- package/dist/client/assets/square-dashed-bottom-code-CGlRZbUv.js +1 -0
- package/dist/client/assets/square-dashed-kanban-DgouiWEV.js +1 -0
- package/dist/client/assets/square-dashed-mouse-pointer-Ci25J6__.js +1 -0
- package/dist/client/assets/square-dashed-text-DvPlgy9v.js +1 -0
- package/dist/client/assets/square-dashed-top-solid-DVu8uM0J.js +1 -0
- package/dist/client/assets/square-divide-BQ4arXe8.js +1 -0
- package/dist/client/assets/square-dot-CXshlBXM.js +1 -0
- package/dist/client/assets/square-equal-CeCLWssR.js +1 -0
- package/dist/client/assets/square-function-CNbZGQJB.js +1 -0
- package/dist/client/assets/square-kanban-4H7XKbQd.js +1 -0
- package/dist/client/assets/square-library-B7QIEI2W.js +1 -0
- package/dist/client/assets/square-m-DhTIwfE0.js +1 -0
- package/dist/client/assets/square-menu-qJIqZcF-.js +1 -0
- package/dist/client/assets/square-minus-qYOBVTmg.js +1 -0
- package/dist/client/assets/square-mouse-pointer-CUVwVONs.js +1 -0
- package/dist/client/assets/square-parking-O74IZTrn.js +1 -0
- package/dist/client/assets/square-parking-off-Dcy0YGWk.js +1 -0
- package/dist/client/assets/square-pause-omI_dhDJ.js +1 -0
- package/dist/client/assets/square-pen-DjGL62Ij.js +1 -0
- package/dist/client/assets/square-percent-Dw0MrFEs.js +1 -0
- package/dist/client/assets/square-pi-BjW6aCjj.js +1 -0
- package/dist/client/assets/square-pilcrow-223mOSh0.js +1 -0
- package/dist/client/assets/square-play-CgyzfArb.js +1 -0
- package/dist/client/assets/square-plus-551p1NWi.js +1 -0
- package/dist/client/assets/square-power-CwXIhZl-.js +1 -0
- package/dist/client/assets/square-radical-BlFKR8RM.js +1 -0
- package/dist/client/assets/square-round-corner-DdAPsGj3.js +1 -0
- package/dist/client/assets/square-scissors-DvOetR3j.js +1 -0
- package/dist/client/assets/square-sigma-Dv90tu5G.js +1 -0
- package/dist/client/assets/square-slash-YI-BZe96.js +1 -0
- package/dist/client/assets/square-split-horizontal-DzFRgWod.js +1 -0
- package/dist/client/assets/square-split-vertical-CzXh30G4.js +1 -0
- package/dist/client/assets/square-square-DJYvCxBW.js +1 -0
- package/dist/client/assets/square-stack-CvxOk9M4.js +1 -0
- package/dist/client/assets/square-star-1vDZFeD1.js +1 -0
- package/dist/client/assets/square-stop-Bzb15pxA.js +1 -0
- package/dist/client/assets/square-user-BmVGEeid.js +1 -0
- package/dist/client/assets/square-user-round-Ck-dsTa-.js +1 -0
- package/dist/client/assets/square-x-CEe0938s.js +1 -0
- package/dist/client/assets/squares-exclude-BuUZyQcW.js +1 -0
- package/dist/client/assets/squares-intersect-qQtC5FiG.js +1 -0
- package/dist/client/assets/squares-subtract-CbxwUU0K.js +1 -0
- package/dist/client/assets/squares-unite-CQ7oQ3o1.js +1 -0
- package/dist/client/assets/squircle-Dc0buHmg.js +1 -0
- package/dist/client/assets/squircle-dashed-BlxqQugp.js +1 -0
- package/dist/client/assets/squirrel-jm5gOWES.js +1 -0
- package/dist/client/assets/stamp-rGZGQfMn.js +1 -0
- package/dist/client/assets/star-BjfEG1H-.js +1 -0
- package/dist/client/assets/star-half-CcxG0Y3S.js +1 -0
- package/dist/client/assets/star-off-Bn7Whiw-.js +1 -0
- package/dist/client/assets/stateDiagram-D77RDMKH-tdpZJFI0.js +1 -0
- package/dist/client/assets/stateDiagram-D77RDMKH-tdpZJFI0.js.br +0 -0
- package/dist/client/assets/stateDiagram-D77RDMKH-tdpZJFI0.js.gz +0 -0
- package/dist/client/assets/stateDiagram-v2-MP3YSRHH-BW79_KYW.js +1 -0
- package/dist/client/assets/step-back-Dm7C6NWP.js +1 -0
- package/dist/client/assets/step-forward-CVRBsltg.js +1 -0
- package/dist/client/assets/stethoscope-CMACbIyk.js +1 -0
- package/dist/client/assets/sticker-vctanDvw.js +1 -0
- package/dist/client/assets/sticky-note-BMrg2hqu.js +1 -0
- package/dist/client/assets/sticky-note-check-2OEu2-St.js +1 -0
- package/dist/client/assets/sticky-note-minus-HBb9szeX.js +1 -0
- package/dist/client/assets/sticky-note-off-7TdCjRx8.js +1 -0
- package/dist/client/assets/sticky-note-plus-Mdddg2oi.js +1 -0
- package/dist/client/assets/sticky-note-x-_WMzCgZ_.js +1 -0
- package/dist/client/assets/sticky-notes-Dvsrc2uw.js +1 -0
- package/dist/client/assets/stone-Dp6ZDiOf.js +1 -0
- package/dist/client/assets/store-C11MWz4S.js +1 -0
- package/dist/client/assets/stretch-horizontal-B7HvQjVN.js +1 -0
- package/dist/client/assets/stretch-vertical-HpCMdNAR.js +1 -0
- package/dist/client/assets/strikethrough-oVZXq6yW.js +1 -0
- package/dist/client/assets/subscript-tHEAJE7L.js +1 -0
- package/dist/client/assets/sun-dim-5QI53MCa.js +1 -0
- package/dist/client/assets/sun-medium-CBA3z8AK.js +1 -0
- package/dist/client/assets/sun-moon-DWT5_X91.js +1 -0
- package/dist/client/assets/sun-snow-BDWHNxz1.js +1 -0
- package/dist/client/assets/sun-t9-GfVHm.js +1 -0
- package/dist/client/assets/sunrise-D0_LMFbM.js +1 -0
- package/dist/client/assets/sunset-B2bwl1zA.js +1 -0
- package/dist/client/assets/superscript-B5nFhw_d.js +1 -0
- package/dist/client/assets/swatch-book-CNZ-zXmT.js +1 -0
- package/dist/client/assets/swimlanes-42K2YHIH-BivGxcMq.js +1 -0
- package/dist/client/assets/swimlanes-42K2YHIH-BivGxcMq.js.br +0 -0
- package/dist/client/assets/swimlanes-42K2YHIH-BivGxcMq.js.gz +0 -0
- package/dist/client/assets/swimlanesDiagram-VR7AAH4N-Bar1lGDs.js +8 -0
- package/dist/client/assets/swiper-n1t3ShP4.js +1 -0
- package/dist/client/assets/swiper-n1t3ShP4.js.br +0 -0
- package/dist/client/assets/swiper-n1t3ShP4.js.gz +0 -0
- package/dist/client/assets/swiss-franc-C-h0uy7J.js +1 -0
- package/dist/client/assets/switch-camera-1Mk_oKlT.js +1 -0
- package/dist/client/assets/sword-BE-RMsbM.js +1 -0
- package/dist/client/assets/swords-a6qI7D5g.js +1 -0
- package/dist/client/assets/syringe-CGqR5HZe.js +1 -0
- package/dist/client/assets/table-2-DyEbqTl9.js +1 -0
- package/dist/client/assets/table-B2nupb_X.js +1 -0
- package/dist/client/assets/table-cells-merge-DzQCvu4f.js +1 -0
- package/dist/client/assets/table-cells-split-CMhQcJOH.js +1 -0
- package/dist/client/assets/table-columns-split-BuhCUeWH.js +1 -0
- package/dist/client/assets/table-of-contents-B3WfFIFd.js +1 -0
- package/dist/client/assets/table-properties-D_Ee9PPr.js +1 -0
- package/dist/client/assets/table-rows-split-B2AmdDKR.js +1 -0
- package/dist/client/assets/tablet-B5IhvKbM.js +1 -0
- package/dist/client/assets/tablet-smartphone-5fz1JxFc.js +1 -0
- package/dist/client/assets/tablets-CiTEAOTu.js +1 -0
- package/dist/client/assets/tag-DROQfAhi.js +1 -0
- package/dist/client/assets/tags-BTPgsaxJ.js +1 -0
- package/dist/client/assets/tally-1-DyOFeUa5.js +1 -0
- package/dist/client/assets/tally-2-CzmyPPKR.js +1 -0
- package/dist/client/assets/tally-3-DsK0mimH.js +1 -0
- package/dist/client/assets/tally-4-Dxp_2t9U.js +1 -0
- package/dist/client/assets/tally-5-13JKKfgy.js +1 -0
- package/dist/client/assets/tangent-xEdMz6Wi.js +1 -0
- package/dist/client/assets/target-BJZxO5BY.js +1 -0
- package/dist/client/assets/telescope-C8cTPTYI.js +1 -0
- package/dist/client/assets/tent-LmCm66r0.js +1 -0
- package/dist/client/assets/tent-tree-BOu13utq.js +1 -0
- package/dist/client/assets/test-tube-DaOYYUb6.js +1 -0
- package/dist/client/assets/test-tube-diagonal-DzVvIFfY.js +1 -0
- package/dist/client/assets/test-tubes-DnUQT4WS.js +1 -0
- package/dist/client/assets/text-align-center-DVqVFl0m.js +1 -0
- package/dist/client/assets/text-align-end-Cm3SynRI.js +1 -0
- package/dist/client/assets/text-align-justify-xBncDi8S.js +1 -0
- package/dist/client/assets/text-align-start-C2OqGPmT.js +1 -0
- package/dist/client/assets/text-cursor-input-DcThm2yT.js +1 -0
- package/dist/client/assets/text-cursor-nvcLMJ2x.js +1 -0
- package/dist/client/assets/text-initial-BgOepzlj.js +1 -0
- package/dist/client/assets/text-quote-Dy5yEhRT.js +1 -0
- package/dist/client/assets/text-search-DHAwZKrg.js +1 -0
- package/dist/client/assets/text-wrap-CWbdR4SU.js +1 -0
- package/dist/client/assets/theater-DB7BXBZ4.js +1 -0
- package/dist/client/assets/thermometer-CBj4jOhi.js +1 -0
- package/dist/client/assets/thermometer-snowflake-DP_CdL8s.js +1 -0
- package/dist/client/assets/thermometer-sun-Ci-tJr_N.js +1 -0
- package/dist/client/assets/thumbs-down-BpuwXlbj.js +1 -0
- package/dist/client/assets/thumbs-up-BMtoSOFk.js +1 -0
- package/dist/client/assets/ticket-HMGDbuAY.js +1 -0
- package/dist/client/assets/ticket-check-DPXJb7cT.js +1 -0
- package/dist/client/assets/ticket-minus-CWggGGg1.js +1 -0
- package/dist/client/assets/ticket-percent-Cbvhf1TN.js +1 -0
- package/dist/client/assets/ticket-plus-DVY2o9JX.js +1 -0
- package/dist/client/assets/ticket-slash-BkbW8cei.js +1 -0
- package/dist/client/assets/ticket-x-DxZbes2N.js +1 -0
- package/dist/client/assets/tickets-BjPQ4LS8.js +1 -0
- package/dist/client/assets/tickets-plane-TxC3YO42.js +1 -0
- package/dist/client/assets/timeline-C2DdQ3sN.js +1 -0
- package/dist/client/assets/timeline-definition-24CTP7MA-DL6NHxP9.js +120 -0
- package/dist/client/assets/timeline-definition-24CTP7MA-DL6NHxP9.js.br +0 -0
- package/dist/client/assets/timeline-definition-24CTP7MA-DL6NHxP9.js.gz +0 -0
- package/dist/client/assets/timer-mwztbO2e.js +1 -0
- package/dist/client/assets/timer-off-Cz1g81Fi.js +1 -0
- package/dist/client/assets/timer-reset-fiSVEBvS.js +1 -0
- package/dist/client/assets/toggle-left-BjXD5U38.js +1 -0
- package/dist/client/assets/toggle-right-CSSUOAwH.js +1 -0
- package/dist/client/assets/toilet-DamwIfDV.js +1 -0
- package/dist/client/assets/tool-case-_cmZht6B.js +1 -0
- package/dist/client/assets/toolbox-DDGz1Nfy.js +1 -0
- package/dist/client/assets/tornado-CpUh4cs8.js +1 -0
- package/dist/client/assets/torus-B4QvfKam.js +1 -0
- package/dist/client/assets/touchpad-BlLp8pRE.js +1 -0
- package/dist/client/assets/touchpad-off-Cou-FVCd.js +1 -0
- package/dist/client/assets/towel-rack-DiFt9AHe.js +1 -0
- package/dist/client/assets/tower-control-sEHSY1CS.js +1 -0
- package/dist/client/assets/toy-brick-CYnpa9xv.js +1 -0
- package/dist/client/assets/tractor-BIkJSsi_.js +1 -0
- package/dist/client/assets/traffic-cone-C73Ur9wr.js +1 -0
- package/dist/client/assets/train-front-Dr1p35Kw.js +1 -0
- package/dist/client/assets/train-front-tunnel-Df80zeQ3.js +1 -0
- package/dist/client/assets/train-track-DWkZtOrT.js +1 -0
- package/dist/client/assets/tram-front-gbbn7fzu.js +1 -0
- package/dist/client/assets/transgender-4YKQPSi0.js +1 -0
- package/dist/client/assets/trash-s8aS4omN.js +1 -0
- package/dist/client/assets/tree-deciduous-DwB666cs.js +1 -0
- package/dist/client/assets/tree-palm-BpExt-oj.js +1 -0
- package/dist/client/assets/tree-pine-2jBC9ZB_.js +1 -0
- package/dist/client/assets/trees-BlKyjnV1.js +1 -0
- package/dist/client/assets/trending-down-CNBbHb1x.js +1 -0
- package/dist/client/assets/trending-up-D-EMTVEO.js +1 -0
- package/dist/client/assets/trending-up-down-Dj1FQthO.js +1 -0
- package/dist/client/assets/triangle-C2uQmPqe.js +1 -0
- package/dist/client/assets/triangle-alert-DPa-mIoT.js +1 -0
- package/dist/client/assets/triangle-dashed-Blh05s1j.js +1 -0
- package/dist/client/assets/triangle-right-DN204nCI.js +1 -0
- package/dist/client/assets/trophy-CCMZstH_.js +1 -0
- package/dist/client/assets/truck-Bxnuf37h.js +1 -0
- package/dist/client/assets/truck-electric-ecd4BvtT.js +1 -0
- package/dist/client/assets/turkish-lira-C6MHRmhU.js +1 -0
- package/dist/client/assets/turntable-BaYgpcUN.js +1 -0
- package/dist/client/assets/turtle-CEKY8QdG.js +1 -0
- package/dist/client/assets/tv-CtrrTxhZ.js +1 -0
- package/dist/client/assets/tv-minimal-DJFF70W1.js +1 -0
- package/dist/client/assets/tv-minimal-play-D19i2cWO.js +1 -0
- package/dist/client/assets/type-Ct_IZ0fn.js +1 -0
- package/dist/client/assets/type-outline-CnbGGFJJ.js +1 -0
- package/dist/client/assets/umbrella-C4y5Txx6.js +1 -0
- package/dist/client/assets/umbrella-off-DGmxWL4m.js +1 -0
- package/dist/client/assets/underline-CA-O_0H6.js +1 -0
- package/dist/client/assets/undo-2-PDstvULs.js +1 -0
- package/dist/client/assets/undo-_Ou1NvBV.js +1 -0
- package/dist/client/assets/undo-dot-D3CSpNTY.js +1 -0
- package/dist/client/assets/unfold-horizontal-D6PnA6U4.js +1 -0
- package/dist/client/assets/unfold-vertical-OOA77Pvy.js +1 -0
- package/dist/client/assets/ungroup-Bw_vx72c.js +1 -0
- package/dist/client/assets/university-CpHZ2OP-.js +1 -0
- package/dist/client/assets/unlink-2-DGC2_Z8j.js +1 -0
- package/dist/client/assets/unlink-DY--ZF-Z.js +1 -0
- package/dist/client/assets/unplug-CAbsgWj-.js +1 -0
- package/dist/client/assets/upload-hgE3XzYp.js +1 -0
- package/dist/client/assets/usb-Bjq7IdIe.js +1 -0
- package/dist/client/assets/use-gesture-react.esm-CLZkSwgE.js +1 -0
- package/dist/client/assets/use-gesture-react.esm-CLZkSwgE.js.br +0 -0
- package/dist/client/assets/use-gesture-react.esm-CLZkSwgE.js.gz +0 -0
- package/dist/client/assets/user-W0aPeONk.js +1 -0
- package/dist/client/assets/user-check-CIy8gwEw.js +1 -0
- package/dist/client/assets/user-cog-BVFBlMpS.js +1 -0
- package/dist/client/assets/user-key-BQvPSuNy.js +1 -0
- package/dist/client/assets/user-lock-Cr486Tb5.js +1 -0
- package/dist/client/assets/user-minus-BWIeFkhR.js +1 -0
- package/dist/client/assets/user-pen-CJRHY07A.js +1 -0
- package/dist/client/assets/user-plus-CC8Z0tkU.js +1 -0
- package/dist/client/assets/user-round-aZMSZUeJ.js +1 -0
- package/dist/client/assets/user-round-check-C6_h0Kdq.js +1 -0
- package/dist/client/assets/user-round-cog-CQ3YaxD7.js +1 -0
- package/dist/client/assets/user-round-key-BWcTpOso.js +1 -0
- package/dist/client/assets/user-round-minus-rg0r6Yue.js +1 -0
- package/dist/client/assets/user-round-pen-DNTAyzYx.js +1 -0
- package/dist/client/assets/user-round-plus-DPmV82xh.js +1 -0
- package/dist/client/assets/user-round-search-DHn1Ck9A.js +1 -0
- package/dist/client/assets/user-round-x-DWips2-m.js +1 -0
- package/dist/client/assets/user-search-B7WYbu7G.js +1 -0
- package/dist/client/assets/user-star-wVn_eejd.js +1 -0
- package/dist/client/assets/user-x-CPEwtxnf.js +1 -0
- package/dist/client/assets/users-CpC7Vxcw.js +1 -0
- package/dist/client/assets/users-round-BJwD76P0.js +1 -0
- package/dist/client/assets/utensils-CPjJmUlL.js +1 -0
- package/dist/client/assets/utensils-crossed-BclJ70gU.js +1 -0
- package/dist/client/assets/utility-pole-DCoabSdm.js +1 -0
- package/dist/client/assets/van-BOWLil76.js +1 -0
- package/dist/client/assets/variable-DCC4Dgef.js +1 -0
- package/dist/client/assets/vault-CnvxDuMX.js +1 -0
- package/dist/client/assets/vector-square-DBMuceg3.js +1 -0
- package/dist/client/assets/vegan-D5iMKTU8.js +1 -0
- package/dist/client/assets/venetian-mask-BL36FQ7l.js +1 -0
- package/dist/client/assets/vennDiagram-4TSXK5OY-Dc3mcbsE.js +34 -0
- package/dist/client/assets/vennDiagram-4TSXK5OY-Dc3mcbsE.js.br +0 -0
- package/dist/client/assets/vennDiagram-4TSXK5OY-Dc3mcbsE.js.gz +0 -0
- package/dist/client/assets/venus-BzJhCpdr.js +1 -0
- package/dist/client/assets/venus-and-mars-CVi-MdVh.js +1 -0
- package/dist/client/assets/vibrate-BQwquwSo.js +1 -0
- package/dist/client/assets/vibrate-off-BXSlNxQo.js +1 -0
- package/dist/client/assets/video-off-Dbq6fMnF.js +1 -0
- package/dist/client/assets/videoCompression-DHtu--To.js +3 -0
- package/dist/client/assets/videoCompression-DHtu--To.js.br +0 -0
- package/dist/client/assets/videoCompression-DHtu--To.js.gz +0 -0
- package/dist/client/assets/videotape-CeRmH1a-.js +1 -0
- package/dist/client/assets/view-C6y8DENv.js +1 -0
- package/dist/client/assets/voicemail-BDband9P.js +1 -0
- package/dist/client/assets/volleyball-BTAQL5kh.js +1 -0
- package/dist/client/assets/volume-1-BZM7fCSl.js +1 -0
- package/dist/client/assets/volume-2-B0zd_-Cw.js +1 -0
- package/dist/client/assets/volume-D-l5AO_m.js +1 -0
- package/dist/client/assets/volume-off-JYMJIwQM.js +1 -0
- package/dist/client/assets/volume-x-WFqctQR5.js +1 -0
- package/dist/client/assets/vote-DwFlVjJb.js +1 -0
- package/dist/client/assets/wallet-Bx-oSiSI.js +1 -0
- package/dist/client/assets/wallet-cards-B5OtM4Zf.js +1 -0
- package/dist/client/assets/wallet-minimal-lViV6aGP.js +1 -0
- package/dist/client/assets/wallpaper-DfZWsjVj.js +1 -0
- package/dist/client/assets/wand-B4yaKSz2.js +1 -0
- package/dist/client/assets/wand-sparkles-DOCzXgXz.js +1 -0
- package/dist/client/assets/wardleyDiagram-VM6X3IG4-vNhQFzvV.js +78 -0
- package/dist/client/assets/wardleyDiagram-VM6X3IG4-vNhQFzvV.js.br +0 -0
- package/dist/client/assets/wardleyDiagram-VM6X3IG4-vNhQFzvV.js.gz +0 -0
- package/dist/client/assets/warehouse-DiSqnz8t.js +1 -0
- package/dist/client/assets/washing-machine-D8uIRbsO.js +1 -0
- package/dist/client/assets/watch-D6kR-5m3.js +1 -0
- package/dist/client/assets/waves-arrow-down-Dil5dJl-.js +1 -0
- package/dist/client/assets/waves-arrow-up-D1ig5XvW.js +1 -0
- package/dist/client/assets/waves-horizontal-CQpK1niG.js +1 -0
- package/dist/client/assets/waves-ladder-CYj5iz0-.js +1 -0
- package/dist/client/assets/waves-vertical-zBUMy2r1.js +1 -0
- package/dist/client/assets/waypoints-C5hp7jZH.js +1 -0
- package/dist/client/assets/webcam-BDITnGF_.js +1 -0
- package/dist/client/assets/webhook-BtWOpTYg.js +1 -0
- package/dist/client/assets/webhook-off-eYDjZL65.js +1 -0
- package/dist/client/assets/weight-DA756Ovk.js +1 -0
- package/dist/client/assets/weight-tilde-CQOqkCzM.js +1 -0
- package/dist/client/assets/wheat-DepsbzwL.js +1 -0
- package/dist/client/assets/wheat-off-DmNjUBCr.js +1 -0
- package/dist/client/assets/whole-word-QAccU1N5.js +1 -0
- package/dist/client/assets/wifi-CwLGNufz.js +1 -0
- package/dist/client/assets/wifi-cog-DgdlhQH-.js +1 -0
- package/dist/client/assets/wifi-high-C2_40bd0.js +1 -0
- package/dist/client/assets/wifi-low-CAbdb3hy.js +1 -0
- package/dist/client/assets/wifi-pen-Ch6MkFid.js +1 -0
- package/dist/client/assets/wifi-sync-Bfuim7L9.js +1 -0
- package/dist/client/assets/wifi-zero-CvOT5z7Z.js +1 -0
- package/dist/client/assets/wind-DsBJqgq3.js +1 -0
- package/dist/client/assets/wind-arrow-down-mSsBK2y8.js +1 -0
- package/dist/client/assets/wine-YXnvXXVq.js +1 -0
- package/dist/client/assets/wine-off-BMqKIQyd.js +1 -0
- package/dist/client/assets/workflow-A5QR4JkF.js +1 -0
- package/dist/client/assets/worm-DNkXuvg1.js +1 -0
- package/dist/client/assets/wrench-kkiT6SVl.js +1 -0
- package/dist/client/assets/x-line-top-CWjFTlK_.js +1 -0
- package/dist/client/assets/xychartDiagram-S5SC5T6Z-CtMPcWll.js +7 -0
- package/dist/client/assets/xychartDiagram-S5SC5T6Z-CtMPcWll.js.br +0 -0
- package/dist/client/assets/xychartDiagram-S5SC5T6Z-CtMPcWll.js.gz +0 -0
- package/dist/client/assets/zap-BwBDwmsQ.js +1 -0
- package/dist/client/assets/zap-off-_wDzfwHy.js +1 -0
- package/dist/client/assets/zodiac-aquarius-BoSvNZE-.js +1 -0
- package/dist/client/assets/zodiac-aries-BTWJXkp4.js +1 -0
- package/dist/client/assets/zodiac-cancer-BqczAkNO.js +1 -0
- package/dist/client/assets/zodiac-capricorn-79AaPnBj.js +1 -0
- package/dist/client/assets/zodiac-gemini-zVjKTBU2.js +1 -0
- package/dist/client/assets/zodiac-leo-Bzz5UcX3.js +1 -0
- package/dist/client/assets/zodiac-libra-DlbRWg4a.js +1 -0
- package/dist/client/assets/zodiac-ophiuchus-DHeGODmU.js +1 -0
- package/dist/client/assets/zodiac-pisces-BaPfkBIY.js +1 -0
- package/dist/client/assets/zodiac-sagittarius-BmZ4Quu1.js +1 -0
- package/dist/client/assets/zodiac-scorpio-C7OwOOcC.js +1 -0
- package/dist/client/assets/zodiac-taurus-BRGpvm4I.js +1 -0
- package/dist/client/assets/zodiac-virgo-4dc2mJKK.js +1 -0
- package/dist/client/assets/zoom-in-CwBT3-Dm.js +1 -0
- package/dist/client/assets/zoom-out-K7mv_f4i.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/client/index.html.br +0 -0
- package/dist/client/index.html.gz +0 -0
- package/dist/client/sw.js +1 -1
- package/dist/client/sw.js.br +0 -0
- package/dist/client/sw.js.gz +0 -0
- package/dist/server/agent/chatUIPrompt.js +2 -1
- package/dist/server/agent/collaborationCli.js +2 -1
- package/dist/server/agent/collaborationDeliveryWorker.js +10 -13
- package/dist/server/agent/collaborationPrompt.js +1 -1
- package/dist/server/agent/collaborationStore.js +6 -1
- package/dist/server/agent/integrationSessions.js +19 -18
- package/dist/server/agent/integrationStore.js +12 -4
- package/dist/server/cli.js +13 -4
- package/dist/server/routes/terminal.js +71 -242
- package/dist/server/shared/chatPresentation.js +24 -0
- package/dist/server/todos/cli.js +44 -18
- package/dist/server/todos/routes.js +80 -6
- package/dist/server/todos/sessionLifecycle.js +3 -0
- package/dist/server/todos/store.js +48 -14
- package/dist/server/todos/types.js +2 -1
- package/dist/server/utils/clientSnapshotMaintenance.js +37 -13
- package/dist/server/utils/sharedSampling.js +57 -8
- package/dist/server/utils/tmuxRecoveryAdmission.js +19 -0
- package/dist/server/utils/tmuxRecoveryOperations.js +4 -0
- package/docs/integrations.md +24 -0
- package/docs/todos.md +242 -0
- package/package.json +3 -2
- package/runtime-manifest.json +3 -3
- package/dist/client/assets/AndroidMirrorView-D3bN-zap.js +0 -3
- package/dist/client/assets/AndroidMirrorView-D3bN-zap.js.br +0 -0
- package/dist/client/assets/AndroidMirrorView-D3bN-zap.js.gz +0 -0
- package/dist/client/assets/App-phQFPx95.js +0 -188
- package/dist/client/assets/App-phQFPx95.js.br +0 -0
- package/dist/client/assets/App-phQFPx95.js.gz +0 -0
- package/dist/client/assets/ArchitecturePanel-CPoUC6V9.js +0 -9
- package/dist/client/assets/ArchitecturePanel-CPoUC6V9.js.br +0 -0
- package/dist/client/assets/ArchitecturePanel-CPoUC6V9.js.gz +0 -0
- package/dist/client/assets/ChangeWalkthroughPanel-IIspo-kA.js +0 -2
- package/dist/client/assets/ChangeWalkthroughPanel-IIspo-kA.js.br +0 -0
- package/dist/client/assets/ChangeWalkthroughPanel-IIspo-kA.js.gz +0 -0
- package/dist/client/assets/ChatChartReference-B0VTCLQi.js +0 -284
- package/dist/client/assets/ChatChartReference-B0VTCLQi.js.br +0 -0
- package/dist/client/assets/ChatChartReference-B0VTCLQi.js.gz +0 -0
- package/dist/client/assets/ChatContextPreview-CABhUUTR.js +0 -1
- package/dist/client/assets/ChatContextPreview-CABhUUTR.js.br +0 -0
- package/dist/client/assets/ChatContextPreview-CABhUUTR.js.gz +0 -0
- package/dist/client/assets/ChatFullContent-bXUCUQvz.js +0 -67
- package/dist/client/assets/ChatFullContent-bXUCUQvz.js.br +0 -0
- package/dist/client/assets/ChatFullContent-bXUCUQvz.js.gz +0 -0
- package/dist/client/assets/ChatRichContent-BrO5rhQL.js +0 -2
- package/dist/client/assets/ChatRichContent-BrO5rhQL.js.br +0 -0
- package/dist/client/assets/ChatRichContent-BrO5rhQL.js.gz +0 -0
- package/dist/client/assets/ChatVideoPreviewDialog-BhMCVoXf.js +0 -1
- package/dist/client/assets/ChatVideoPreviewDialog-BhMCVoXf.js.br +0 -0
- package/dist/client/assets/ChatVideoPreviewDialog-BhMCVoXf.js.gz +0 -0
- package/dist/client/assets/CollaborationMainWorkspace-BQq-iW3s.js +0 -1
- package/dist/client/assets/CollaborationMainWorkspace-BQq-iW3s.js.br +0 -0
- package/dist/client/assets/CollaborationMainWorkspace-BQq-iW3s.js.gz +0 -0
- package/dist/client/assets/CollaborationTaskContent-CHMGUghd.js +0 -1
- package/dist/client/assets/ComputerControlView-BDo7UUGT.js +0 -6
- package/dist/client/assets/ComputerControlView-BDo7UUGT.js.br +0 -0
- package/dist/client/assets/ComputerControlView-BDo7UUGT.js.gz +0 -0
- package/dist/client/assets/DagPlayground-74sZKvfx.js +0 -1
- package/dist/client/assets/DagPlayground-74sZKvfx.js.br +0 -0
- package/dist/client/assets/DagPlayground-74sZKvfx.js.gz +0 -0
- package/dist/client/assets/DiffLab-5TdC3GE5.js +0 -455
- package/dist/client/assets/DiffLab-5TdC3GE5.js.br +0 -0
- package/dist/client/assets/DiffLab-5TdC3GE5.js.gz +0 -0
- package/dist/client/assets/DiffReview-4xvL0XxY.js +0 -1
- package/dist/client/assets/DiffReview-4xvL0XxY.js.br +0 -0
- package/dist/client/assets/DiffReview-4xvL0XxY.js.gz +0 -0
- package/dist/client/assets/DiffReviewLab-B-Nfcnyv.js +0 -2
- package/dist/client/assets/DiffReviewLab-B-Nfcnyv.js.br +0 -0
- package/dist/client/assets/DiffReviewLab-B-Nfcnyv.js.gz +0 -0
- package/dist/client/assets/DiffViewer-DD0BgVcO.js +0 -34
- package/dist/client/assets/DiffViewer-DD0BgVcO.js.br +0 -0
- package/dist/client/assets/DiffViewer-DD0BgVcO.js.gz +0 -0
- package/dist/client/assets/GitLoadingSkeleton-tccvfNb3.js +0 -1
- package/dist/client/assets/GitLoadingSkeleton-tccvfNb3.js.br +0 -0
- package/dist/client/assets/GitLoadingSkeleton-tccvfNb3.js.gz +0 -0
- package/dist/client/assets/Markdown-S7xL5nmy.js +0 -23
- package/dist/client/assets/Markdown-S7xL5nmy.js.br +0 -0
- package/dist/client/assets/Markdown-S7xL5nmy.js.gz +0 -0
- package/dist/client/assets/MarkdownPreview-Csfa6Hf3.js +0 -1
- package/dist/client/assets/MarkdownPreview-Csfa6Hf3.js.br +0 -0
- package/dist/client/assets/MarkdownPreview-Csfa6Hf3.js.gz +0 -0
- package/dist/client/assets/ModelPreview-BNxu0pPx.js +0 -4112
- package/dist/client/assets/ModelPreview-BNxu0pPx.js.br +0 -0
- package/dist/client/assets/ModelPreview-BNxu0pPx.js.gz +0 -0
- package/dist/client/assets/RecordingSaveDialog-C2TikK3E.js +0 -1
- package/dist/client/assets/RecordingSaveDialog-C2TikK3E.js.br +0 -0
- package/dist/client/assets/RecordingSaveDialog-C2TikK3E.js.gz +0 -0
- package/dist/client/assets/RightSidebar-CIha9pka.js +0 -1729
- package/dist/client/assets/RightSidebar-CIha9pka.js.br +0 -0
- package/dist/client/assets/RightSidebar-CIha9pka.js.gz +0 -0
- package/dist/client/assets/SessionChatView-DziDE7tZ.js +0 -38
- package/dist/client/assets/SessionChatView-DziDE7tZ.js.br +0 -0
- package/dist/client/assets/SessionChatView-DziDE7tZ.js.gz +0 -0
- package/dist/client/assets/SessionResourceSidebar-DA-429UZ.js +0 -2
- package/dist/client/assets/SessionResourceSidebar-DA-429UZ.js.br +0 -0
- package/dist/client/assets/SessionResourceSidebar-DA-429UZ.js.gz +0 -0
- package/dist/client/assets/TodoWorkspace-DxAiFlLL.js +0 -1
- package/dist/client/assets/TodoWorkspace-DxAiFlLL.js.br +0 -0
- package/dist/client/assets/TodoWorkspace-DxAiFlLL.js.gz +0 -0
- package/dist/client/assets/VideoPreviewPlayer-yh-Twjgl.js +0 -1
- package/dist/client/assets/VideoPreviewPlayer-yh-Twjgl.js.br +0 -0
- package/dist/client/assets/VideoPreviewPlayer-yh-Twjgl.js.gz +0 -0
- package/dist/client/assets/a-arrow-down-C2sffY7g.js +0 -1
- package/dist/client/assets/a-arrow-up-D3I11PS9.js +0 -1
- package/dist/client/assets/a-large-small-BJ9ojBpX.js +0 -1
- package/dist/client/assets/abnfDiagram-VCTEODGH-CGpOCU-j.js +0 -1
- package/dist/client/assets/abnfDiagram-VCTEODGH-CGpOCU-j.js.br +0 -0
- package/dist/client/assets/abnfDiagram-VCTEODGH-CGpOCU-j.js.gz +0 -0
- package/dist/client/assets/accessibility-BD1Yj74V.js +0 -1
- package/dist/client/assets/activity-BrKoAiNH.js +0 -1
- package/dist/client/assets/air-vent-Dtr2Qhub.js +0 -1
- package/dist/client/assets/airplay-DN4_xTH6.js +0 -1
- package/dist/client/assets/alarm-clock-C0ul-H2x.js +0 -1
- package/dist/client/assets/alarm-clock-check-8ASwVUmo.js +0 -1
- package/dist/client/assets/alarm-clock-minus-Ri3dFwu7.js +0 -1
- package/dist/client/assets/alarm-clock-off-C_PUO_f4.js +0 -1
- package/dist/client/assets/alarm-clock-plus-LWm5QfQE.js +0 -1
- package/dist/client/assets/alarm-smoke-DK1oWi1L.js +0 -1
- package/dist/client/assets/album-Cpo_q-cd.js +0 -1
- package/dist/client/assets/align-center-horizontal-CLkj_Yl-.js +0 -1
- package/dist/client/assets/align-center-vertical-CQK_g13H.js +0 -1
- package/dist/client/assets/align-end-horizontal-EgOlF3zC.js +0 -1
- package/dist/client/assets/align-end-vertical-DPJdLHnL.js +0 -1
- package/dist/client/assets/align-horizontal-distribute-center-DmfpHdDM.js +0 -1
- package/dist/client/assets/align-horizontal-distribute-end-CDA-0ywS.js +0 -1
- package/dist/client/assets/align-horizontal-distribute-start-Cc1Y26MN.js +0 -1
- package/dist/client/assets/align-horizontal-justify-center-eQMov87n.js +0 -1
- package/dist/client/assets/align-horizontal-justify-end-B4VnsWII.js +0 -1
- package/dist/client/assets/align-horizontal-justify-start-LIKc15Ve.js +0 -1
- package/dist/client/assets/align-horizontal-space-around-CerzL-xe.js +0 -1
- package/dist/client/assets/align-horizontal-space-between-D-OrIy5H.js +0 -1
- package/dist/client/assets/align-start-horizontal-DC-ALygd.js +0 -1
- package/dist/client/assets/align-start-vertical-CZUWch57.js +0 -1
- package/dist/client/assets/align-vertical-distribute-center-DtARRYHw.js +0 -1
- package/dist/client/assets/align-vertical-distribute-end-DV3XsMgX.js +0 -1
- package/dist/client/assets/align-vertical-distribute-start-CcQcj8gH.js +0 -1
- package/dist/client/assets/align-vertical-justify-center-BQPLOjFX.js +0 -1
- package/dist/client/assets/align-vertical-justify-end-Dlz-xFC8.js +0 -1
- package/dist/client/assets/align-vertical-justify-start-CE62YVTw.js +0 -1
- package/dist/client/assets/align-vertical-space-around-DktDW-dj.js +0 -1
- package/dist/client/assets/align-vertical-space-between-CpE-T3R5.js +0 -1
- package/dist/client/assets/ambulance-Dswp8-E1.js +0 -1
- package/dist/client/assets/ampersand-G5ZLswPb.js +0 -1
- package/dist/client/assets/ampersands-BgZIhPcs.js +0 -1
- package/dist/client/assets/amphora-CiMhtcfk.js +0 -1
- package/dist/client/assets/anchor-BRv9QX-N.js +0 -1
- package/dist/client/assets/angry-Zwmo4blA.js +0 -1
- package/dist/client/assets/annoyed-um-HVdjo.js +0 -1
- package/dist/client/assets/antenna-dgdlyWhA.js +0 -1
- package/dist/client/assets/anvil-CteAXXdD.js +0 -1
- package/dist/client/assets/aperture-B5FiORRy.js +0 -1
- package/dist/client/assets/app-B_OmylJz.js +0 -37
- package/dist/client/assets/app-B_OmylJz.js.br +0 -0
- package/dist/client/assets/app-B_OmylJz.js.gz +0 -0
- package/dist/client/assets/app-window-BM_iAfG1.js +0 -1
- package/dist/client/assets/app-window-mac-6nyG3rVj.js +0 -1
- package/dist/client/assets/apple-CANXSk9r.js +0 -1
- package/dist/client/assets/architectureDiagram-5GKGNRK7-B9FRhUpy.js +0 -36
- package/dist/client/assets/architectureDiagram-5GKGNRK7-B9FRhUpy.js.br +0 -0
- package/dist/client/assets/architectureDiagram-5GKGNRK7-B9FRhUpy.js.gz +0 -0
- package/dist/client/assets/archive-BPWURuEE.js +0 -1
- package/dist/client/assets/archive-restore-DeOXszmG.js +0 -1
- package/dist/client/assets/archive-x-BSYtym9-.js +0 -1
- package/dist/client/assets/armchair-DQJkZxGb.js +0 -1
- package/dist/client/assets/arrow-big-down-BfFVTu96.js +0 -1
- package/dist/client/assets/arrow-big-down-dash-Db6JczrT.js +0 -1
- package/dist/client/assets/arrow-big-left-Br2FXwW4.js +0 -1
- package/dist/client/assets/arrow-big-left-dash-B0ZBYoiU.js +0 -1
- package/dist/client/assets/arrow-big-right-Cx2UWvxx.js +0 -1
- package/dist/client/assets/arrow-big-right-dash-4X-80xtw.js +0 -1
- package/dist/client/assets/arrow-big-up-CWstycfw.js +0 -1
- package/dist/client/assets/arrow-big-up-dash-DN_3I1SW.js +0 -1
- package/dist/client/assets/arrow-down-0-1-CV0Og9_F.js +0 -1
- package/dist/client/assets/arrow-down-1-0-Bf01E34P.js +0 -1
- package/dist/client/assets/arrow-down-B_vWM7IZ.js +0 -1
- package/dist/client/assets/arrow-down-from-line-Benca7QY.js +0 -1
- package/dist/client/assets/arrow-down-left-D1OZUPIG.js +0 -1
- package/dist/client/assets/arrow-down-narrow-wide-pnqaNG0A.js +0 -1
- package/dist/client/assets/arrow-down-right-CF_4SWTX.js +0 -1
- package/dist/client/assets/arrow-down-to-dot-C4zpdmbl.js +0 -1
- package/dist/client/assets/arrow-down-to-line-D32-VC2f.js +0 -1
- package/dist/client/assets/arrow-down-up-BgP1Piso.js +0 -1
- package/dist/client/assets/arrow-down-wide-narrow-CAWSOytF.js +0 -1
- package/dist/client/assets/arrow-down-z-a-Bp_4m7El.js +0 -1
- package/dist/client/assets/arrow-left-from-line-Ba9P3X44.js +0 -1
- package/dist/client/assets/arrow-left-right-DffsT_SY.js +0 -1
- package/dist/client/assets/arrow-left-to-line-BXvbnqZh.js +0 -1
- package/dist/client/assets/arrow-right-from-line-BP481uMX.js +0 -1
- package/dist/client/assets/arrow-right-left-tvkZUeF3.js +0 -1
- package/dist/client/assets/arrow-right-to-line-DIJqdSbG.js +0 -1
- package/dist/client/assets/arrow-up-0-1-CSsduRne.js +0 -1
- package/dist/client/assets/arrow-up-1-0-BCeaHUAw.js +0 -1
- package/dist/client/assets/arrow-up-a-z-BYfF41BC.js +0 -1
- package/dist/client/assets/arrow-up-down-DIDKIa9k.js +0 -1
- package/dist/client/assets/arrow-up-from-dot-B40IpXCG.js +0 -1
- package/dist/client/assets/arrow-up-from-line-uMVCYGYi.js +0 -1
- package/dist/client/assets/arrow-up-left-qG5HHKan.js +0 -1
- package/dist/client/assets/arrow-up-narrow-wide-BCojdK5G.js +0 -1
- package/dist/client/assets/arrow-up-to-line-d67kL3Rp.js +0 -1
- package/dist/client/assets/arrow-up-wide-narrow-DLLZvc0h.js +0 -1
- package/dist/client/assets/arrow-up-z-a-DhN2VMmY.js +0 -1
- package/dist/client/assets/arrows-up-from-line-DtD0Nt3J.js +0 -1
- package/dist/client/assets/asterisk-BvfWav22.js +0 -1
- package/dist/client/assets/astroid-B3Ozuuvg.js +0 -1
- package/dist/client/assets/atom-DRgyO2pT.js +0 -1
- package/dist/client/assets/audio-lines-yutcy0zO.js +0 -1
- package/dist/client/assets/audio-waveform-BnyBUCIO.js +0 -1
- package/dist/client/assets/award-ZNdr1LX8.js +0 -1
- package/dist/client/assets/axe-B_mwnQxQ.js +0 -1
- package/dist/client/assets/axis-3d-C_F6p0DU.js +0 -1
- package/dist/client/assets/baby-DVRkf5g3.js +0 -1
- package/dist/client/assets/backpack--YXxfcEu.js +0 -1
- package/dist/client/assets/badge-M7UhXyFi.js +0 -1
- package/dist/client/assets/badge-alert-dm8EAsD2.js +0 -1
- package/dist/client/assets/badge-cent-CrKqViU8.js +0 -1
- package/dist/client/assets/badge-check-BG7vKzji.js +0 -1
- package/dist/client/assets/badge-dollar-sign-DeuZ8eZN.js +0 -1
- package/dist/client/assets/badge-euro-D0R4N3Nu.js +0 -1
- package/dist/client/assets/badge-indian-rupee-CBlCpVLl.js +0 -1
- package/dist/client/assets/badge-info-D8IPWheU.js +0 -1
- package/dist/client/assets/badge-japanese-yen-CC1c6v-g.js +0 -1
- package/dist/client/assets/badge-minus-BWhm4EiW.js +0 -1
- package/dist/client/assets/badge-percent-D8Ta3Xiq.js +0 -1
- package/dist/client/assets/badge-plus-CZMAt1J-.js +0 -1
- package/dist/client/assets/badge-pound-sterling-DB14Z4On.js +0 -1
- package/dist/client/assets/badge-question-mark-I_mZa16F.js +0 -1
- package/dist/client/assets/badge-russian-ruble-Cwodpy9j.js +0 -1
- package/dist/client/assets/badge-swiss-franc-DnvMiYq7.js +0 -1
- package/dist/client/assets/badge-turkish-lira-C75eZyeL.js +0 -1
- package/dist/client/assets/badge-x-Bc6OlwQZ.js +0 -1
- package/dist/client/assets/baggage-claim-Brf-QJf5.js +0 -1
- package/dist/client/assets/balloon-CMbnH1WL.js +0 -1
- package/dist/client/assets/ban-Bte5Zvni.js +0 -1
- package/dist/client/assets/banana-Bv707Fst.js +0 -1
- package/dist/client/assets/bandage-ZSSQuzFU.js +0 -1
- package/dist/client/assets/banknote-CxJuj86H.js +0 -1
- package/dist/client/assets/banknote-arrow-down-CqCLzSAH.js +0 -1
- package/dist/client/assets/banknote-arrow-up-C_KCl8YD.js +0 -1
- package/dist/client/assets/banknote-x-peao2YIe.js +0 -1
- package/dist/client/assets/barcode-PkEp7MsQ.js +0 -1
- package/dist/client/assets/barrel-DDB6Bkqr.js +0 -1
- package/dist/client/assets/baseline-BfQRxNrD.js +0 -1
- package/dist/client/assets/bath-B9Vf2jOS.js +0 -1
- package/dist/client/assets/battery-B7UdXkd_.js +0 -1
- package/dist/client/assets/battery-charging-CT8l3hoq.js +0 -1
- package/dist/client/assets/battery-full-DBq-qmR_.js +0 -1
- package/dist/client/assets/battery-low-ChiwhEiZ.js +0 -1
- package/dist/client/assets/battery-medium-DjpRB04r.js +0 -1
- package/dist/client/assets/battery-plus-DGOpt7af.js +0 -1
- package/dist/client/assets/battery-warning-DuuQEoj-.js +0 -1
- package/dist/client/assets/beaker-FiTwQMCv.js +0 -1
- package/dist/client/assets/bean-VgQAT2rO.js +0 -1
- package/dist/client/assets/bean-off-rvxSCpIb.js +0 -1
- package/dist/client/assets/bed-double-DZhaaeIQ.js +0 -1
- package/dist/client/assets/bed-single-B4SgFR0k.js +0 -1
- package/dist/client/assets/bed-zDi9ltaW.js +0 -1
- package/dist/client/assets/beef-off-TNPY9STI.js +0 -1
- package/dist/client/assets/beef-rOBB1jME.js +0 -1
- package/dist/client/assets/beer-CqLpp7KB.js +0 -1
- package/dist/client/assets/beer-off-CmUucHY7.js +0 -1
- package/dist/client/assets/bell-CPYaFhhf.js +0 -1
- package/dist/client/assets/bell-check-CRAPw7ld.js +0 -1
- package/dist/client/assets/bell-electric-BnUYLIK9.js +0 -1
- package/dist/client/assets/bell-minus-DGjt8JCD.js +0 -1
- package/dist/client/assets/bell-off-yAms6A3K.js +0 -1
- package/dist/client/assets/bell-plus-CLMA1vD0.js +0 -1
- package/dist/client/assets/bell-ring-DJnXgyL_.js +0 -1
- package/dist/client/assets/between-horizontal-end-Vl0z0D0n.js +0 -1
- package/dist/client/assets/between-horizontal-start-CPbquBue.js +0 -1
- package/dist/client/assets/between-vertical-end-D6Bc_D1x.js +0 -1
- package/dist/client/assets/between-vertical-start-DzcRrI4w.js +0 -1
- package/dist/client/assets/biceps-flexed-Cs1AojDe.js +0 -1
- package/dist/client/assets/bike-Bmm6EKn5.js +0 -1
- package/dist/client/assets/binary-udVPsOjg.js +0 -1
- package/dist/client/assets/binoculars-CyHqdG84.js +0 -1
- package/dist/client/assets/biohazard-qWjTNSZ0.js +0 -1
- package/dist/client/assets/bird-D8cB9Cri.js +0 -1
- package/dist/client/assets/birdhouse-D-Pb5jlG.js +0 -1
- package/dist/client/assets/bitcoin-CJ87kcF2.js +0 -1
- package/dist/client/assets/blend-DMAPHkmD.js +0 -1
- package/dist/client/assets/blender-FsDVkCPb.js +0 -1
- package/dist/client/assets/blinds-EF0Ua4_1.js +0 -1
- package/dist/client/assets/blockDiagram-I7D4REHJ-C2t1LjDY.js +0 -129
- package/dist/client/assets/blockDiagram-I7D4REHJ-C2t1LjDY.js.br +0 -0
- package/dist/client/assets/blockDiagram-I7D4REHJ-C2t1LjDY.js.gz +0 -0
- package/dist/client/assets/blocks-DsP_MWj-.js +0 -1
- package/dist/client/assets/bluetooth-DiVVrIhz.js +0 -1
- package/dist/client/assets/bluetooth-connected-DmM-Tx8e.js +0 -1
- package/dist/client/assets/bluetooth-off-C9Vri2Tj.js +0 -1
- package/dist/client/assets/bluetooth-searching-DtefkiI4.js +0 -1
- package/dist/client/assets/bold-DsUvYDFQ.js +0 -1
- package/dist/client/assets/bolt-JYxNTH6L.js +0 -1
- package/dist/client/assets/bomb-zh9PEfux.js +0 -1
- package/dist/client/assets/bone-F-E7JKdY.js +0 -1
- package/dist/client/assets/book-DVMSIip4.js +0 -1
- package/dist/client/assets/book-a-BUimjMK0.js +0 -1
- package/dist/client/assets/book-alert-o2mElems.js +0 -1
- package/dist/client/assets/book-audio-6VlJy349.js +0 -1
- package/dist/client/assets/book-check-Cn5_sOjN.js +0 -1
- package/dist/client/assets/book-copy-CErE_Mbv.js +0 -1
- package/dist/client/assets/book-dashed-BvkNbbBy.js +0 -1
- package/dist/client/assets/book-down-Cpf6BsQZ.js +0 -1
- package/dist/client/assets/book-headphones-BKos7Hk1.js +0 -1
- package/dist/client/assets/book-heart-Dees8mfV.js +0 -1
- package/dist/client/assets/book-image-DZpx-XIT.js +0 -1
- package/dist/client/assets/book-key-CDEwV_13.js +0 -1
- package/dist/client/assets/book-lock-DhJ2CqGh.js +0 -1
- package/dist/client/assets/book-marked-Bbg-T1LT.js +0 -1
- package/dist/client/assets/book-minus-BqjI3pgc.js +0 -1
- package/dist/client/assets/book-open-6o19l4cm.js +0 -1
- package/dist/client/assets/book-open-check-DSCdt3xN.js +0 -1
- package/dist/client/assets/book-open-text-B8KFj4T1.js +0 -1
- package/dist/client/assets/book-plus-Bz7ALb6i.js +0 -1
- package/dist/client/assets/book-search-C94UQFwD.js +0 -1
- package/dist/client/assets/book-text-Dv6nAUOY.js +0 -1
- package/dist/client/assets/book-type-Ct8SjMYc.js +0 -1
- package/dist/client/assets/book-up-2-172N3e-Z.js +0 -1
- package/dist/client/assets/book-up-DB8tYCiw.js +0 -1
- package/dist/client/assets/book-user-B_5L4oPs.js +0 -1
- package/dist/client/assets/book-x-D1p3mPy4.js +0 -1
- package/dist/client/assets/bookmark-BxjK0M9n.js +0 -1
- package/dist/client/assets/bookmark-check-BGey7nq5.js +0 -1
- package/dist/client/assets/bookmark-minus-Crm0vuNv.js +0 -1
- package/dist/client/assets/bookmark-off-DtTNlPw8.js +0 -1
- package/dist/client/assets/bookmark-plus-4TQhDQrJ.js +0 -1
- package/dist/client/assets/bookmark-x-BEGlECRu.js +0 -1
- package/dist/client/assets/boom-box-CIBayiEj.js +0 -1
- package/dist/client/assets/bot-message-square-CH7dOdEe.js +0 -1
- package/dist/client/assets/bot-off-B-lFaqHg.js +0 -1
- package/dist/client/assets/bottle-wine-CGR2SCGg.js +0 -1
- package/dist/client/assets/bow-arrow-CjecxDJD.js +0 -1
- package/dist/client/assets/boxes-BRUCMd2c.js +0 -1
- package/dist/client/assets/braces-ik2taA2P.js +0 -1
- package/dist/client/assets/brackets-D_TxLLQu.js +0 -1
- package/dist/client/assets/brain-BQW7a_zO.js +0 -1
- package/dist/client/assets/brain-circuit-C9ZF_E82.js +0 -1
- package/dist/client/assets/brain-cog-A6ZAnMA1.js +0 -1
- package/dist/client/assets/brain-cog-A6ZAnMA1.js.br +0 -0
- package/dist/client/assets/brain-cog-A6ZAnMA1.js.gz +0 -0
- package/dist/client/assets/brick-wall-DGr-wTde.js +0 -1
- package/dist/client/assets/brick-wall-fire-CL-g6QxW.js +0 -1
- package/dist/client/assets/brick-wall-shield-6EGf2mIZ.js +0 -1
- package/dist/client/assets/briefcase-business-CcTrJomJ.js +0 -1
- package/dist/client/assets/briefcase-conveyor-belt-BQHTrvaI.js +0 -1
- package/dist/client/assets/briefcase-medical-BLmwceED.js +0 -1
- package/dist/client/assets/bring-to-front-qQL9Qbnr.js +0 -1
- package/dist/client/assets/broccoli-CK3tGBJW.js +0 -1
- package/dist/client/assets/brush-D9fF6rvt.js +0 -1
- package/dist/client/assets/brush-cleaning-CuFSx7gE.js +0 -1
- package/dist/client/assets/bubbles-Cwi5Dsst.js +0 -1
- package/dist/client/assets/bug-CmQ4smoW.js +0 -1
- package/dist/client/assets/bug-off-DtICqD7S.js +0 -1
- package/dist/client/assets/bug-play-B6po2dSL.js +0 -1
- package/dist/client/assets/building-2-CwaRNfaA.js +0 -1
- package/dist/client/assets/building-IZWeppVz.js +0 -1
- package/dist/client/assets/bus-BFUqD7HY.js +0 -1
- package/dist/client/assets/bus-front-BEXgap51.js +0 -1
- package/dist/client/assets/c4Diagram-7LVT6UL2-CPeOE__D.js +0 -38
- package/dist/client/assets/c4Diagram-7LVT6UL2-CPeOE__D.js.br +0 -0
- package/dist/client/assets/c4Diagram-7LVT6UL2-CPeOE__D.js.gz +0 -0
- package/dist/client/assets/cable-KT6xOWgf.js +0 -1
- package/dist/client/assets/cable-car-cpqtkBoW.js +0 -1
- package/dist/client/assets/cake-DmE1HeXE.js +0 -1
- package/dist/client/assets/cake-slice-1ZmlekIN.js +0 -1
- package/dist/client/assets/calculator-JmAUZnZ4.js +0 -1
- package/dist/client/assets/calendar-1-BAWIqb55.js +0 -1
- package/dist/client/assets/calendar-aPdAUAqS.js +0 -1
- package/dist/client/assets/calendar-arrow-down-BOoyo6w1.js +0 -1
- package/dist/client/assets/calendar-arrow-up-C7vHXYOL.js +0 -1
- package/dist/client/assets/calendar-check-2-BHdMhcRS.js +0 -1
- package/dist/client/assets/calendar-check-BlNSaMH6.js +0 -1
- package/dist/client/assets/calendar-clock-DJc5OHLd.js +0 -1
- package/dist/client/assets/calendar-cog-CQErTWXM.js +0 -1
- package/dist/client/assets/calendar-days-DOutU3a0.js +0 -1
- package/dist/client/assets/calendar-fold-maPT2jqn.js +0 -1
- package/dist/client/assets/calendar-heart-DgLAH9O1.js +0 -1
- package/dist/client/assets/calendar-minus-2-DrLYF22M.js +0 -1
- package/dist/client/assets/calendar-minus-3kfGBxaF.js +0 -1
- package/dist/client/assets/calendar-off-C_MbyNsA.js +0 -1
- package/dist/client/assets/calendar-plus-2-8LDp42Zj.js +0 -1
- package/dist/client/assets/calendar-plus-CfQ28XLi.js +0 -1
- package/dist/client/assets/calendar-range-9cUKaMQM.js +0 -1
- package/dist/client/assets/calendar-search-Ci5VgG92.js +0 -1
- package/dist/client/assets/calendar-sync-DSPOAFxu.js +0 -1
- package/dist/client/assets/calendar-x-2-BbOKS_BL.js +0 -1
- package/dist/client/assets/calendar-x-B9c9Hjsp.js +0 -1
- package/dist/client/assets/calendars-DZqvOxvx.js +0 -1
- package/dist/client/assets/camera-BsjPxBYc.js +0 -1
- package/dist/client/assets/camera-off-DGBWL5Cw.js +0 -1
- package/dist/client/assets/candy-BHpR4cWU.js +0 -1
- package/dist/client/assets/candy-cane-Cjz2lAva.js +0 -1
- package/dist/client/assets/candy-off-CwhIHmvN.js +0 -1
- package/dist/client/assets/cannabis-BjE50BLB.js +0 -1
- package/dist/client/assets/cannabis-off-Di8xtd5e.js +0 -1
- package/dist/client/assets/captions-Itgus3ep.js +0 -1
- package/dist/client/assets/captions-off-bmXLzped.js +0 -1
- package/dist/client/assets/car-UDvU7Bcl.js +0 -1
- package/dist/client/assets/car-front-SgUXALaA.js +0 -1
- package/dist/client/assets/car-taxi-front-Z_2Ka1R7.js +0 -1
- package/dist/client/assets/caravan-B6TuwAA3.js +0 -1
- package/dist/client/assets/card-sim-Dflmejqr.js +0 -1
- package/dist/client/assets/carrot-RkR8lx1L.js +0 -1
- package/dist/client/assets/case-lower-BU3ckwhw.js +0 -1
- package/dist/client/assets/case-sensitive-Cavvy9st.js +0 -1
- package/dist/client/assets/case-upper-D6BwBudS.js +0 -1
- package/dist/client/assets/cassette-tape-ChYCrfxQ.js +0 -1
- package/dist/client/assets/cast-B6i7SO0U.js +0 -1
- package/dist/client/assets/castle-CkAK440P.js +0 -1
- package/dist/client/assets/cat-CsNUd10d.js +0 -1
- package/dist/client/assets/cctv-DLDjdazV.js +0 -1
- package/dist/client/assets/cctv-off-BunmXkA1.js +0 -1
- package/dist/client/assets/channel-BxgK9VH3.js +0 -1
- package/dist/client/assets/chart-area-BJtbD9db.js +0 -1
- package/dist/client/assets/chart-bar-big-D6uBSbsr.js +0 -1
- package/dist/client/assets/chart-bar-decreasing-D5Zb49Km.js +0 -1
- package/dist/client/assets/chart-bar-dnaHOY1r.js +0 -1
- package/dist/client/assets/chart-bar-increasing-Cb3eAlf_.js +0 -1
- package/dist/client/assets/chart-bar-stacked-CwWlDbjK.js +0 -1
- package/dist/client/assets/chart-candlestick-F-jURsPE.js +0 -1
- package/dist/client/assets/chart-column-YMGFJZP1.js +0 -1
- package/dist/client/assets/chart-column-big-2DREQRJ4.js +0 -1
- package/dist/client/assets/chart-column-decreasing-DyP4j-q7.js +0 -1
- package/dist/client/assets/chart-column-increasing-D3xMe3Lg.js +0 -1
- package/dist/client/assets/chart-column-stacked-BXI-n4KB.js +0 -1
- package/dist/client/assets/chart-gantt-DGmKb-aX.js +0 -1
- package/dist/client/assets/chart-line-8X3P2nRa.js +0 -1
- package/dist/client/assets/chart-network-l_OIOYls.js +0 -1
- package/dist/client/assets/chart-no-axes-column-Dkd1NQB_.js +0 -1
- package/dist/client/assets/chart-no-axes-column-decreasing-DYBXJ2kE.js +0 -1
- package/dist/client/assets/chart-no-axes-column-increasing-D4dnYT1N.js +0 -1
- package/dist/client/assets/chart-no-axes-combined-CjEPFNpX.js +0 -1
- package/dist/client/assets/chart-no-axes-gantt-CoCP4SDy.js +0 -1
- package/dist/client/assets/chart-pie-BF4CCWmh.js +0 -1
- package/dist/client/assets/chart-scatter-BsDuchm0.js +0 -1
- package/dist/client/assets/chart-spline-DolD4add.js +0 -1
- package/dist/client/assets/check-check-D9zlL4yz.js +0 -1
- package/dist/client/assets/check-line-DXvzqETh.js +0 -1
- package/dist/client/assets/chef-hat-Dusb1bD7.js +0 -1
- package/dist/client/assets/cherry-B0fypaxh.js +0 -1
- package/dist/client/assets/chess-bishop-D-iGW8Ct.js +0 -1
- package/dist/client/assets/chess-king-DhEUfH2C.js +0 -1
- package/dist/client/assets/chess-knight-Cw1h3IPE.js +0 -1
- package/dist/client/assets/chess-pawn-Dhh9xQX0.js +0 -1
- package/dist/client/assets/chess-queen-B6QQq3Iy.js +0 -1
- package/dist/client/assets/chess-rook-B3ac0Qsr.js +0 -1
- package/dist/client/assets/chevron-first-BW9FUsu4.js +0 -1
- package/dist/client/assets/chevron-last-C46cxKTT.js +0 -1
- package/dist/client/assets/chevron-left-BkvbCFBX.js +0 -1
- package/dist/client/assets/chevrons-down-DhETKH7w.js +0 -1
- package/dist/client/assets/chevrons-down-up-XttEEcF6.js +0 -1
- package/dist/client/assets/chevrons-left-BLqidXkS.js +0 -1
- package/dist/client/assets/chevrons-left-right-Dvak1jul.js +0 -1
- package/dist/client/assets/chevrons-left-right-ellipsis-BWVlfUuy.js +0 -1
- package/dist/client/assets/chevrons-right-_J5fL9Jg.js +0 -1
- package/dist/client/assets/chevrons-right-left-CWEKDGpn.js +0 -1
- package/dist/client/assets/chevrons-up-CndJyaUf.js +0 -1
- package/dist/client/assets/chevrons-up-down-FiIs5AAM.js +0 -1
- package/dist/client/assets/chunk-2Q5K7J3B-DNNGRKYA.js +0 -1
- package/dist/client/assets/chunk-5VM5RSS4-BB4sszjm.js +0 -15
- package/dist/client/assets/chunk-F27PBJKO-CPgfoRAv.js +0 -1
- package/dist/client/assets/chunk-F27PBJKO-CPgfoRAv.js.br +0 -0
- package/dist/client/assets/chunk-F27PBJKO-CPgfoRAv.js.gz +0 -0
- package/dist/client/assets/chunk-IMKFNOWR-CPnbl6VH.js +0 -231
- package/dist/client/assets/chunk-IMKFNOWR-CPnbl6VH.js.br +0 -0
- package/dist/client/assets/chunk-IMKFNOWR-CPnbl6VH.js.gz +0 -0
- package/dist/client/assets/chunk-JWPE2WC7-C9C1YpZp.js +0 -1
- package/dist/client/assets/chunk-POPQ4Y6H-Wmfqt27S.js +0 -1
- package/dist/client/assets/chunk-SVP7TREG-BrR-OB-a.js +0 -88
- package/dist/client/assets/chunk-SVP7TREG-BrR-OB-a.js.br +0 -0
- package/dist/client/assets/chunk-SVP7TREG-BrR-OB-a.js.gz +0 -0
- package/dist/client/assets/chunk-TICWLB2K-D_MQzXrk.js +0 -206
- package/dist/client/assets/chunk-TICWLB2K-D_MQzXrk.js.br +0 -0
- package/dist/client/assets/chunk-TICWLB2K-D_MQzXrk.js.gz +0 -0
- package/dist/client/assets/chunk-XXDRQBXY-BDQ3jqeC.js +0 -1
- package/dist/client/assets/church-DL05egCD.js +0 -1
- package/dist/client/assets/cigarette-B-tmXP3i.js +0 -1
- package/dist/client/assets/cigarette-off-JamSPFcs.js +0 -1
- package/dist/client/assets/circle-D0SE5JRh.js +0 -1
- package/dist/client/assets/circle-arrow-down-B4mPiMEJ.js +0 -1
- package/dist/client/assets/circle-arrow-left-_DwftU51.js +0 -1
- package/dist/client/assets/circle-arrow-out-down-left-B-NRI7ro.js +0 -1
- package/dist/client/assets/circle-arrow-out-down-right-DX5q8X26.js +0 -1
- package/dist/client/assets/circle-arrow-out-up-left-Bg5ul54K.js +0 -1
- package/dist/client/assets/circle-arrow-out-up-right-C0GjWZwj.js +0 -1
- package/dist/client/assets/circle-arrow-right-D_i1ABjU.js +0 -1
- package/dist/client/assets/circle-arrow-up-EI2ya18z.js +0 -1
- package/dist/client/assets/circle-check-big-B0g663-2.js +0 -1
- package/dist/client/assets/circle-chevron-down-EtGQ3Eoi.js +0 -1
- package/dist/client/assets/circle-chevron-left-D0iwC6QC.js +0 -1
- package/dist/client/assets/circle-chevron-right-C2nzWFQM.js +0 -1
- package/dist/client/assets/circle-chevron-up-CkOKr0Gk.js +0 -1
- package/dist/client/assets/circle-dashed-BIVKRhel.js +0 -1
- package/dist/client/assets/circle-divide-C3lGfHkD.js +0 -1
- package/dist/client/assets/circle-dollar-sign-DP-jam8d.js +0 -1
- package/dist/client/assets/circle-dot-BblzhhJM.js +0 -1
- package/dist/client/assets/circle-dot-dashed-BHW0BLnB.js +0 -1
- package/dist/client/assets/circle-ellipsis-BlgHQGEg.js +0 -1
- package/dist/client/assets/circle-equal-CHtSlR4m.js +0 -1
- package/dist/client/assets/circle-fading-arrow-up-BVRSooxp.js +0 -1
- package/dist/client/assets/circle-fading-plus-D3liSA0g.js +0 -1
- package/dist/client/assets/circle-gauge-D_o0YrTx.js +0 -1
- package/dist/client/assets/circle-minus-DJaL_ZK8.js +0 -1
- package/dist/client/assets/circle-off-BxTOylf5.js +0 -1
- package/dist/client/assets/circle-parking-BKr1F6M9.js +0 -1
- package/dist/client/assets/circle-parking-off-B_DBspev.js +0 -1
- package/dist/client/assets/circle-pause-9s8dNSGo.js +0 -1
- package/dist/client/assets/circle-percent-_5-hrP3r.js +0 -1
- package/dist/client/assets/circle-pile-C3hdNYyN.js +0 -1
- package/dist/client/assets/circle-play-FVzgQGUc.js +0 -1
- package/dist/client/assets/circle-plus-CHDxcatV.js +0 -1
- package/dist/client/assets/circle-pound-sterling-B6wLolo1.js +0 -1
- package/dist/client/assets/circle-power-BcnoE_FN.js +0 -1
- package/dist/client/assets/circle-question-mark-CXH38GeG.js +0 -1
- package/dist/client/assets/circle-slash-2-CrwKhKqo.js +0 -1
- package/dist/client/assets/circle-slash-D-scu8nb.js +0 -1
- package/dist/client/assets/circle-small-Cwa-VsmJ.js +0 -1
- package/dist/client/assets/circle-star-BqEb4zUz.js +0 -1
- package/dist/client/assets/circle-stop-9DP4fhuV.js +0 -1
- package/dist/client/assets/circle-user-rhRZgUT8.js +0 -1
- package/dist/client/assets/circle-user-round-BmQ8msPu.js +0 -1
- package/dist/client/assets/circle-x-ykc4mp5_.js +0 -1
- package/dist/client/assets/circuit-board-DNYnNg5G.js +0 -1
- package/dist/client/assets/citrus-CCo_J_J0.js +0 -1
- package/dist/client/assets/clapperboard-ByRZM94Y.js +0 -1
- package/dist/client/assets/classDiagram-ZZMXUADV-Cn0IaLT9.js +0 -1
- package/dist/client/assets/classDiagram-v2-VYDZK3BY-Cn0IaLT9.js +0 -1
- package/dist/client/assets/clipboard-bahKoMIa.js +0 -1
- package/dist/client/assets/clipboard-check-ZBBmjOlC.js +0 -1
- package/dist/client/assets/clipboard-clock-CS8HY7h0.js +0 -1
- package/dist/client/assets/clipboard-copy-Bq7RwX17.js +0 -1
- package/dist/client/assets/clipboard-list-DIL13d6G.js +0 -1
- package/dist/client/assets/clipboard-minus-CvwlJbad.js +0 -1
- package/dist/client/assets/clipboard-paste-CGO8A1xY.js +0 -1
- package/dist/client/assets/clipboard-pen-line-DMHc9Tij.js +0 -1
- package/dist/client/assets/clipboard-pen-p-ZVURvy.js +0 -1
- package/dist/client/assets/clipboard-plus-Bn9DfmEC.js +0 -1
- package/dist/client/assets/clipboard-type-Djh17xWl.js +0 -1
- package/dist/client/assets/clipboard-x-BON7mK9z.js +0 -1
- package/dist/client/assets/clock-1-Dq903t7B.js +0 -1
- package/dist/client/assets/clock-10-CKYEhEO1.js +0 -1
- package/dist/client/assets/clock-11-DuVKvnRt.js +0 -1
- package/dist/client/assets/clock-12-BzJ2qvFl.js +0 -1
- package/dist/client/assets/clock-2-yMBuuQ5v.js +0 -1
- package/dist/client/assets/clock-4-BiwSjZoG.js +0 -1
- package/dist/client/assets/clock-5-kV1_Qlpq.js +0 -1
- package/dist/client/assets/clock-6-C6hNup6A.js +0 -1
- package/dist/client/assets/clock-7-CrluVPwr.js +0 -1
- package/dist/client/assets/clock-8-9nETMnR4.js +0 -1
- package/dist/client/assets/clock-9-DjvCAglq.js +0 -1
- package/dist/client/assets/clock-B97kShlT.js +0 -1
- package/dist/client/assets/clock-alert-Hu-lCroM.js +0 -1
- package/dist/client/assets/clock-arrow-down-CNUWmJmm.js +0 -1
- package/dist/client/assets/clock-arrow-up-QLzLLZI_.js +0 -1
- package/dist/client/assets/clock-check-6mN0j3ca.js +0 -1
- package/dist/client/assets/clock-fading-CIj9jh28.js +0 -1
- package/dist/client/assets/clock-plus-Cv9pkMwz.js +0 -1
- package/dist/client/assets/closed-caption-DTgtOz02.js +0 -1
- package/dist/client/assets/cloud-BZ9pJCKD.js +0 -1
- package/dist/client/assets/cloud-alert-x4RN54sY.js +0 -1
- package/dist/client/assets/cloud-backup-C3Pp-Lb8.js +0 -1
- package/dist/client/assets/cloud-check-Be-sMobg.js +0 -1
- package/dist/client/assets/cloud-cog-DJPm5Cuf.js +0 -1
- package/dist/client/assets/cloud-download-Df04uQ1r.js +0 -1
- package/dist/client/assets/cloud-drizzle-DhRtFbyv.js +0 -1
- package/dist/client/assets/cloud-fog-nhvy0xqc.js +0 -1
- package/dist/client/assets/cloud-hail-Ba46YtH9.js +0 -1
- package/dist/client/assets/cloud-lightning-DGnI-Zym.js +0 -1
- package/dist/client/assets/cloud-moon-BaJwzDk1.js +0 -1
- package/dist/client/assets/cloud-moon-rain-Dy1in5Wf.js +0 -1
- package/dist/client/assets/cloud-off-CxRJf_f9.js +0 -1
- package/dist/client/assets/cloud-rain-Dw3ml5ft.js +0 -1
- package/dist/client/assets/cloud-rain-wind-DRbRkx8f.js +0 -1
- package/dist/client/assets/cloud-snow-CwWzXyAD.js +0 -1
- package/dist/client/assets/cloud-sun-D76n0-p5.js +0 -1
- package/dist/client/assets/cloud-sun-rain-DpsYPZMf.js +0 -1
- package/dist/client/assets/cloud-sync-Z3af0w1Z.js +0 -1
- package/dist/client/assets/cloud-upload-b3VwzS9n.js +0 -1
- package/dist/client/assets/cloudy-DrXqpkLF.js +0 -1
- package/dist/client/assets/clover-DWw2RDg6.js +0 -1
- package/dist/client/assets/club-B2H03IRM.js +0 -1
- package/dist/client/assets/code-By2VTq2u.js +0 -1
- package/dist/client/assets/coffee-ndDeyQ8U.js +0 -1
- package/dist/client/assets/cog-D7IZZsEo.js +0 -1
- package/dist/client/assets/coins-Up4tR_n8.js +0 -1
- package/dist/client/assets/columns-3-cog-DpRwj5h0.js +0 -1
- package/dist/client/assets/columns-3-x7z80dcX.js +0 -1
- package/dist/client/assets/columns-4-CS1wz71a.js +0 -1
- package/dist/client/assets/combine-Bk7Z2ImY.js +0 -1
- package/dist/client/assets/command-CWZGejVX.js +0 -1
- package/dist/client/assets/compass-HuhoHUqj.js +0 -1
- package/dist/client/assets/component-DuG9O8jp.js +0 -1
- package/dist/client/assets/computer-BPn9GDZ9.js +0 -1
- package/dist/client/assets/concierge-bell-EHtYljRg.js +0 -1
- package/dist/client/assets/cone-CAdaWD76.js +0 -1
- package/dist/client/assets/construction-wK-itAsK.js +0 -1
- package/dist/client/assets/contact-Cv04nL4G.js +0 -1
- package/dist/client/assets/contact-round-DNoP9l7t.js +0 -1
- package/dist/client/assets/container-HcbkNGK9.js +0 -1
- package/dist/client/assets/contrast-B90pRByO.js +0 -1
- package/dist/client/assets/cookie-uqB0Qpf6.js +0 -1
- package/dist/client/assets/cooking-pot-DKWyAOgJ.js +0 -1
- package/dist/client/assets/copy-check-DgvV6QwP.js +0 -1
- package/dist/client/assets/copy-minus-Dyub_Y4a.js +0 -1
- package/dist/client/assets/copy-plus-DxeiJ4Pb.js +0 -1
- package/dist/client/assets/copy-slash-Dzvi3qH_.js +0 -1
- package/dist/client/assets/copy-x-Ci3GAw2c.js +0 -1
- package/dist/client/assets/copyleft-Dv0S9I7F.js +0 -1
- package/dist/client/assets/copyright-CsFTLH6Q.js +0 -1
- package/dist/client/assets/corner-down-left-BT0AMthg.js +0 -1
- package/dist/client/assets/corner-left-down-CHDlwoXL.js +0 -1
- package/dist/client/assets/corner-left-up-ByvG3SAi.js +0 -1
- package/dist/client/assets/corner-right-down-Bz3Li2BS.js +0 -1
- package/dist/client/assets/corner-right-up-D-RTHeyd.js +0 -1
- package/dist/client/assets/corner-up-right-D8TNXBcp.js +0 -1
- package/dist/client/assets/cose-bilkent-JH36ORCC-BTOXcYr1.js +0 -1
- package/dist/client/assets/cose-bilkent-JH36ORCC-BTOXcYr1.js.br +0 -0
- package/dist/client/assets/cose-bilkent-JH36ORCC-BTOXcYr1.js.gz +0 -0
- package/dist/client/assets/cpu-DqtrpjWJ.js +0 -1
- package/dist/client/assets/creative-commons-CRO9IAES.js +0 -1
- package/dist/client/assets/credit-card-Bi0LyVBk.js +0 -1
- package/dist/client/assets/croissant-BzNmcGnE.js +0 -1
- package/dist/client/assets/crop-Cebfuu5w.js +0 -1
- package/dist/client/assets/cross-XhAH7_3F.js +0 -1
- package/dist/client/assets/crosshair-KB4aFhyg.js +0 -1
- package/dist/client/assets/crown-eZisEGUq.js +0 -1
- package/dist/client/assets/cuboid-BeaA6BCm.js +0 -1
- package/dist/client/assets/cup-soda-DFST38k4.js +0 -1
- package/dist/client/assets/currency-BxMMo63f.js +0 -1
- package/dist/client/assets/cylinder-BSbff1iF.js +0 -1
- package/dist/client/assets/cynefin-OW5HDTMX-fHtWeC0K.js +0 -166
- package/dist/client/assets/cynefin-OW5HDTMX-fHtWeC0K.js.br +0 -0
- package/dist/client/assets/cynefin-OW5HDTMX-fHtWeC0K.js.gz +0 -0
- package/dist/client/assets/cynefinDiagram-5FMLGOSQ-C4_y94MV.js +0 -62
- package/dist/client/assets/cynefinDiagram-5FMLGOSQ-C4_y94MV.js.br +0 -0
- package/dist/client/assets/cynefinDiagram-5FMLGOSQ-C4_y94MV.js.gz +0 -0
- package/dist/client/assets/dagre-GXQ25YYZ-CniXTvrX.js +0 -4
- package/dist/client/assets/dagre-GXQ25YYZ-CniXTvrX.js.br +0 -0
- package/dist/client/assets/dagre-GXQ25YYZ-CniXTvrX.js.gz +0 -0
- package/dist/client/assets/dam-B-tvNmj4.js +0 -1
- package/dist/client/assets/database-BtvzIdQ7.js +0 -1
- package/dist/client/assets/database-backup-B5CoIVUf.js +0 -1
- package/dist/client/assets/database-search-40JgKY0Q.js +0 -1
- package/dist/client/assets/database-zap-V13S3tKj.js +0 -1
- package/dist/client/assets/decimals-arrow-left-B5ApBYB7.js +0 -1
- package/dist/client/assets/decimals-arrow-right-Bxh3apmA.js +0 -1
- package/dist/client/assets/delete-Bkd2oK2Z.js +0 -1
- package/dist/client/assets/dessert-ii4XSztF.js +0 -1
- package/dist/client/assets/diagram-S7CK7UJ4-BuK_s_y2.js +0 -30
- package/dist/client/assets/diagram-S7CK7UJ4-BuK_s_y2.js.br +0 -0
- package/dist/client/assets/diagram-S7CK7UJ4-BuK_s_y2.js.gz +0 -0
- package/dist/client/assets/diagram-UQ7AKVKN-AjHuxvaR.js +0 -41
- package/dist/client/assets/diagram-UQ7AKVKN-AjHuxvaR.js.br +0 -0
- package/dist/client/assets/diagram-UQ7AKVKN-AjHuxvaR.js.gz +0 -0
- package/dist/client/assets/diagram-VSXAHHWV-CwH7p6hs.js +0 -3
- package/dist/client/assets/diagram-VSXAHHWV-CwH7p6hs.js.br +0 -0
- package/dist/client/assets/diagram-VSXAHHWV-CwH7p6hs.js.gz +0 -0
- package/dist/client/assets/diagram-VX7I27RA-CC6cRDzQ.js +0 -24
- package/dist/client/assets/diagram-VX7I27RA-CC6cRDzQ.js.br +0 -0
- package/dist/client/assets/diagram-VX7I27RA-CC6cRDzQ.js.gz +0 -0
- package/dist/client/assets/diagram-Z3DM3KII-DPeJcVix.js +0 -24
- package/dist/client/assets/diagram-Z3DM3KII-DPeJcVix.js.br +0 -0
- package/dist/client/assets/diagram-Z3DM3KII-DPeJcVix.js.gz +0 -0
- package/dist/client/assets/diameter-AEkLae2z.js +0 -1
- package/dist/client/assets/diamond-SO0it9MS.js +0 -1
- package/dist/client/assets/diamond-minus-Bfdhyrb-.js +0 -1
- package/dist/client/assets/diamond-percent-BTEqSzyt.js +0 -1
- package/dist/client/assets/diamond-plus-CzwsFjE_.js +0 -1
- package/dist/client/assets/dice-1-CRSvYRnL.js +0 -1
- package/dist/client/assets/dice-2-BK9lKuJS.js +0 -1
- package/dist/client/assets/dice-3-CSVKbBTm.js +0 -1
- package/dist/client/assets/dice-4-DiD_WMFZ.js +0 -1
- package/dist/client/assets/dice-5-C0W_zijs.js +0 -1
- package/dist/client/assets/dice-6-CvjO19UF.js +0 -1
- package/dist/client/assets/dices-DX2Ag9GM.js +0 -1
- package/dist/client/assets/diff-Dt_fg3ve.js +0 -1
- package/dist/client/assets/disc-2-CEy8k2b_.js +0 -1
- package/dist/client/assets/disc-3-DD-agTvm.js +0 -1
- package/dist/client/assets/disc-BHdziC3A.js +0 -1
- package/dist/client/assets/disc-album-TaPzoPTT.js +0 -1
- package/dist/client/assets/divide-CTOpCRja.js +0 -1
- package/dist/client/assets/dna-CGU_8frB.js +0 -1
- package/dist/client/assets/dna-off-nVjLL2s6.js +0 -1
- package/dist/client/assets/dock-X3F0LMYo.js +0 -1
- package/dist/client/assets/dog-e8Ed3kZb.js +0 -1
- package/dist/client/assets/dollar-sign-C5-BdQ9u.js +0 -1
- package/dist/client/assets/donut-8Ius_ZEV.js +0 -1
- package/dist/client/assets/door-closed-DwsT2E9g.js +0 -1
- package/dist/client/assets/door-closed-locked-CdbnxV2t.js +0 -1
- package/dist/client/assets/door-open-WzUCmWPH.js +0 -1
- package/dist/client/assets/dot-DOiXT8qm.js +0 -1
- package/dist/client/assets/drafting-compass--XH5rJlm.js +0 -1
- package/dist/client/assets/drama-BZXkiTFH.js +0 -1
- package/dist/client/assets/drill-aIdhVrNj.js +0 -1
- package/dist/client/assets/drone-C98_M2h3.js +0 -1
- package/dist/client/assets/droplet-BgNyMHiJ.js +0 -1
- package/dist/client/assets/droplet-off-D30404MI.js +0 -1
- package/dist/client/assets/droplets-BW3lLwzA.js +0 -1
- package/dist/client/assets/drum-CbhWWnGd.js +0 -1
- package/dist/client/assets/drumstick-DJ6GptIf.js +0 -1
- package/dist/client/assets/dumbbell-DkBFxKUa.js +0 -1
- package/dist/client/assets/ear-CjMz20-B.js +0 -1
- package/dist/client/assets/ear-off--CNP8kRg.js +0 -1
- package/dist/client/assets/earth-UfJZm_cW.js +0 -1
- package/dist/client/assets/earth-lock-vOzP4rfd.js +0 -1
- package/dist/client/assets/ebnfDiagram-PWID7BFC-Bm2z3pVI.js +0 -1
- package/dist/client/assets/ebnfDiagram-PWID7BFC-Bm2z3pVI.js.br +0 -0
- package/dist/client/assets/ebnfDiagram-PWID7BFC-Bm2z3pVI.js.gz +0 -0
- package/dist/client/assets/eclipse-WzA6xkFb.js +0 -1
- package/dist/client/assets/egg-4q1G9sEu.js +0 -1
- package/dist/client/assets/egg-fried-DtPuhIsO.js +0 -1
- package/dist/client/assets/egg-off-DT0_zJ-x.js +0 -1
- package/dist/client/assets/ellipse-DIKTAJV7.js +0 -1
- package/dist/client/assets/ellipsis-vertical-aSFwwyWf.js +0 -1
- package/dist/client/assets/equal-B-y_ZzRK.js +0 -1
- package/dist/client/assets/equal-approximately-BMFynpfH.js +0 -1
- package/dist/client/assets/equal-not-CliC7zv7.js +0 -1
- package/dist/client/assets/erDiagram-RLTQ6QDP-DGrUEGpL.js +0 -99
- package/dist/client/assets/erDiagram-RLTQ6QDP-DGrUEGpL.js.br +0 -0
- package/dist/client/assets/erDiagram-RLTQ6QDP-DGrUEGpL.js.gz +0 -0
- package/dist/client/assets/ethernet-port-B-T0ReS8.js +0 -1
- package/dist/client/assets/euro-A9ZG3WMP.js +0 -1
- package/dist/client/assets/ev-charger-DmM1oUK-.js +0 -1
- package/dist/client/assets/expand-vCWwfAkB.js +0 -1
- package/dist/client/assets/external-link-S-hq-aJa.js +0 -1
- package/dist/client/assets/eye-B57fQBXJ.js +0 -1
- package/dist/client/assets/eye-closed-DbUXCB3g.js +0 -1
- package/dist/client/assets/eye-off-CSudqZ29.js +0 -1
- package/dist/client/assets/factory-CE_ry3sM.js +0 -1
- package/dist/client/assets/fan-CEHWk5l7.js +0 -1
- package/dist/client/assets/fast-forward-CHFhy37m.js +0 -1
- package/dist/client/assets/feather-BfzGvTJq.js +0 -1
- package/dist/client/assets/fence-CLsgVNDs.js +0 -1
- package/dist/client/assets/ferris-wheel-CBArufkD.js +0 -1
- package/dist/client/assets/file-archive-Ci0zXj2t.js +0 -1
- package/dist/client/assets/file-axis-3d-BUoid0eu.js +0 -1
- package/dist/client/assets/file-badge-BP2Ul2xV.js +0 -1
- package/dist/client/assets/file-box-DBnUkAP4.js +0 -1
- package/dist/client/assets/file-braces-DE6ulXKP.js +0 -1
- package/dist/client/assets/file-braces-corner-B62Vcs75.js +0 -1
- package/dist/client/assets/file-chart-column-DaoS1AvS.js +0 -1
- package/dist/client/assets/file-chart-column-increasing-CWkfmOeW.js +0 -1
- package/dist/client/assets/file-chart-line-DON3nFmK.js +0 -1
- package/dist/client/assets/file-chart-pie-B5EdAGdc.js +0 -1
- package/dist/client/assets/file-check-Bo5-2HkR.js +0 -1
- package/dist/client/assets/file-check-corner-Dree1oGd.js +0 -1
- package/dist/client/assets/file-clock-nhkdIOF_.js +0 -1
- package/dist/client/assets/file-code-corner-yDLS3qZY.js +0 -1
- package/dist/client/assets/file-cog-UOw06mVc.js +0 -1
- package/dist/client/assets/file-diff-OQ4cmvBq.js +0 -1
- package/dist/client/assets/file-digit-CM_dsfMP.js +0 -1
- package/dist/client/assets/file-down-DRIfS1Yn.js +0 -1
- package/dist/client/assets/file-exclamation-point-D_Kahacz.js +0 -1
- package/dist/client/assets/file-headphone-DdSwqh8I.js +0 -1
- package/dist/client/assets/file-heart-Bh6gu0zg.js +0 -1
- package/dist/client/assets/file-image-DAuxbRS7.js +0 -1
- package/dist/client/assets/file-input-DQ3WiWFR.js +0 -1
- package/dist/client/assets/file-key-DGghhW_7.js +0 -1
- package/dist/client/assets/file-lock-AL30zTmU.js +0 -1
- package/dist/client/assets/file-minus-DIB38lfy.js +0 -1
- package/dist/client/assets/file-minus-corner-BLwVLjWE.js +0 -1
- package/dist/client/assets/file-music-CQvmJy2C.js +0 -1
- package/dist/client/assets/file-output-BoZ9eMvC.js +0 -1
- package/dist/client/assets/file-pen-DpKu1WBT.js +0 -1
- package/dist/client/assets/file-pen-line-C2SnOUau.js +0 -1
- package/dist/client/assets/file-play-KEL3IsRy.js +0 -1
- package/dist/client/assets/file-plus-corner-KmZWjzVg.js +0 -1
- package/dist/client/assets/file-plus-xIswJYtX.js +0 -1
- package/dist/client/assets/file-question-mark-BXFNiHnC.js +0 -1
- package/dist/client/assets/file-scan-JkH3tsQT.js +0 -1
- package/dist/client/assets/file-search-DgS_q0AG.js +0 -1
- package/dist/client/assets/file-search-corner-Be1xyDq4.js +0 -1
- package/dist/client/assets/file-signal-MQbkSEfR.js +0 -1
- package/dist/client/assets/file-sliders-CIJwTOIA.js +0 -1
- package/dist/client/assets/file-spreadsheet-stmUxc_t.js +0 -1
- package/dist/client/assets/file-stack-AOBBV5DZ.js +0 -1
- package/dist/client/assets/file-symlink-B4hvd5da.js +0 -1
- package/dist/client/assets/file-terminal-fQ9-IYlI.js +0 -1
- package/dist/client/assets/file-type-CyoIT9LY.js +0 -1
- package/dist/client/assets/file-type-corner-LbuMd6Zl.js +0 -1
- package/dist/client/assets/file-up-2MqpEgpS.js +0 -1
- package/dist/client/assets/file-user-Dy-Dbt2I.js +0 -1
- package/dist/client/assets/file-video-camera-CPRXt0WQ.js +0 -1
- package/dist/client/assets/file-volume-Cx11iuIY.js +0 -1
- package/dist/client/assets/file-x-Ci7ESmzF.js +0 -1
- package/dist/client/assets/file-x-corner-CoNU1aTS.js +0 -1
- package/dist/client/assets/files-C5M1v4cm.js +0 -1
- package/dist/client/assets/film-7JMpciws.js +0 -1
- package/dist/client/assets/fingerprint-pattern-DBfaHpb1.js +0 -1
- package/dist/client/assets/fire-extinguisher-Dh4GKQA3.js +0 -1
- package/dist/client/assets/fish-H9MOKaEM.js +0 -1
- package/dist/client/assets/fish-off-BPpglUpS.js +0 -1
- package/dist/client/assets/fish-symbol-vmuzsxMo.js +0 -1
- package/dist/client/assets/fishing-hook-ECjQSfzy.js +0 -1
- package/dist/client/assets/fishing-rod-r8qEzG2x.js +0 -1
- package/dist/client/assets/flag-D7r-Tc7K.js +0 -1
- package/dist/client/assets/flag-off-Cg8U3oJo.js +0 -1
- package/dist/client/assets/flag-triangle-left-UtzRKCMr.js +0 -1
- package/dist/client/assets/flag-triangle-right-DX-NDGBh.js +0 -1
- package/dist/client/assets/flame-EBWK8jsn.js +0 -1
- package/dist/client/assets/flame-kindling-BQbZHLh3.js +0 -1
- package/dist/client/assets/flashlight-CWGj9_N3.js +0 -1
- package/dist/client/assets/flashlight-off-DKseULfQ.js +0 -1
- package/dist/client/assets/flask-conical-C7RpwT8V.js +0 -1
- package/dist/client/assets/flask-conical-off-BcYrvFPw.js +0 -1
- package/dist/client/assets/flask-round-ChTMDW47.js +0 -1
- package/dist/client/assets/flip-horizontal-2-DpnYJ3r1.js +0 -1
- package/dist/client/assets/flip-vertical-2-C05-DEgN.js +0 -1
- package/dist/client/assets/flowDiagram-HODETNUW-ChTZtshH.js +0 -168
- package/dist/client/assets/flowDiagram-HODETNUW-ChTZtshH.js.br +0 -0
- package/dist/client/assets/flowDiagram-HODETNUW-ChTZtshH.js.gz +0 -0
- package/dist/client/assets/flower-2-BAqcyeZJ.js +0 -1
- package/dist/client/assets/flower-B_PXqDwi.js +0 -1
- package/dist/client/assets/focus-D-yx2ysa.js +0 -1
- package/dist/client/assets/fold-horizontal-CXKKAjq_.js +0 -1
- package/dist/client/assets/fold-vertical-BvAnpyNm.js +0 -1
- package/dist/client/assets/folder-archive-DutWElX7.js +0 -1
- package/dist/client/assets/folder-bookmark-BWOW393I.js +0 -1
- package/dist/client/assets/folder-check-CI5jfdHD.js +0 -1
- package/dist/client/assets/folder-clock-BZqkLSJy.js +0 -1
- package/dist/client/assets/folder-closed-BCleO2F6.js +0 -1
- package/dist/client/assets/folder-code-DNDOqXVB.js +0 -1
- package/dist/client/assets/folder-cog-BArMUkB1.js +0 -1
- package/dist/client/assets/folder-dot-fhH1j6IY.js +0 -1
- package/dist/client/assets/folder-down-4J2o7N8M.js +0 -1
- package/dist/client/assets/folder-git-2-BXmzzv4w.js +0 -1
- package/dist/client/assets/folder-git-BTp_5VEi.js +0 -1
- package/dist/client/assets/folder-heart-zr7m_gXj.js +0 -1
- package/dist/client/assets/folder-input-zkURwpsj.js +0 -1
- package/dist/client/assets/folder-kanban-BtAQYt5V.js +0 -1
- package/dist/client/assets/folder-key-k5-L8jJI.js +0 -1
- package/dist/client/assets/folder-lock-DrBf2l9V.js +0 -1
- package/dist/client/assets/folder-minus-CX_Y7yoV.js +0 -1
- package/dist/client/assets/folder-open-dot-CLcM42xy.js +0 -1
- package/dist/client/assets/folder-output-DZRMcO1C.js +0 -1
- package/dist/client/assets/folder-pen-HzyX829f.js +0 -1
- package/dist/client/assets/folder-plus-Cl5xzb6X.js +0 -1
- package/dist/client/assets/folder-root-CrwIzcpN.js +0 -1
- package/dist/client/assets/folder-search-2-DMxpinGV.js +0 -1
- package/dist/client/assets/folder-symlink-qklOn88J.js +0 -1
- package/dist/client/assets/folder-sync-Dae93V_J.js +0 -1
- package/dist/client/assets/folder-tree-BE4FQau0.js +0 -1
- package/dist/client/assets/folder-up-7XaDUGvE.js +0 -1
- package/dist/client/assets/folder-x-BicuXTKx.js +0 -1
- package/dist/client/assets/folders-CPIqEHPV.js +0 -1
- package/dist/client/assets/footprints-DBxiwZdt.js +0 -1
- package/dist/client/assets/forklift-zlENE2HA.js +0 -1
- package/dist/client/assets/form-DlaeGjOD.js +0 -1
- package/dist/client/assets/forward-BnAsAxjs.js +0 -1
- package/dist/client/assets/frame-NDebSvoV.js +0 -1
- package/dist/client/assets/frown-3TdPq5qi.js +0 -1
- package/dist/client/assets/fuel-gB-cykBU.js +0 -1
- package/dist/client/assets/fullscreen-C31yWRWZ.js +0 -1
- package/dist/client/assets/funnel--jqowlwk.js +0 -1
- package/dist/client/assets/funnel-plus-B9rec9ve.js +0 -1
- package/dist/client/assets/funnel-x-CvTZ-8bj.js +0 -1
- package/dist/client/assets/gallery-horizontal-BSRCLnlh.js +0 -1
- package/dist/client/assets/gallery-horizontal-end-BYzuC46e.js +0 -1
- package/dist/client/assets/gallery-thumbnails-DmIikQhf.js +0 -1
- package/dist/client/assets/gallery-vertical-MIrBTvHg.js +0 -1
- package/dist/client/assets/gallery-vertical-end-CXPf8lq0.js +0 -1
- package/dist/client/assets/gamepad-2-C8gttiW1.js +0 -1
- package/dist/client/assets/gamepad-directional-2SkFf9Ii.js +0 -1
- package/dist/client/assets/gamepad-yg0cPNCP.js +0 -1
- package/dist/client/assets/ganttDiagram-EL5Y4UJY-_HazmvqL.js +0 -292
- package/dist/client/assets/ganttDiagram-EL5Y4UJY-_HazmvqL.js.br +0 -0
- package/dist/client/assets/ganttDiagram-EL5Y4UJY-_HazmvqL.js.gz +0 -0
- package/dist/client/assets/gauge-8z2F8I8_.js +0 -1
- package/dist/client/assets/gavel-CNi1FTEL.js +0 -1
- package/dist/client/assets/gem-DHrVbU-P.js +0 -1
- package/dist/client/assets/georgian-lari-z1SpsKtB.js +0 -1
- package/dist/client/assets/ghost-YOH4AhHs.js +0 -1
- package/dist/client/assets/gift-C3L2IZXc.js +0 -1
- package/dist/client/assets/git-branch-DKw6uAID.js +0 -1
- package/dist/client/assets/git-branch-minus-BRMwtkYR.js +0 -1
- package/dist/client/assets/git-branch-plus-XzqxGpi7.js +0 -1
- package/dist/client/assets/git-commit-horizontal-C8f6nRRv.js +0 -1
- package/dist/client/assets/git-commit-vertical-3NPUGbvI.js +0 -1
- package/dist/client/assets/git-compare-DX93AND2.js +0 -1
- package/dist/client/assets/git-compare-arrows-CmlbIzPi.js +0 -1
- package/dist/client/assets/git-fork-o2vrT94M.js +0 -1
- package/dist/client/assets/git-graph-J4PLA_R1.js +0 -1
- package/dist/client/assets/git-merge-Cf-xzblS.js +0 -1
- package/dist/client/assets/git-merge-conflict-BC-PMyVC.js +0 -1
- package/dist/client/assets/git-pull-request-DpQTeHgC.js +0 -1
- package/dist/client/assets/git-pull-request-arrow-B_0VT5GB.js +0 -1
- package/dist/client/assets/git-pull-request-closed-IVoeQkoS.js +0 -1
- package/dist/client/assets/git-pull-request-create-9SdzSJ2B.js +0 -1
- package/dist/client/assets/git-pull-request-create-arrow-Vl_kMcnS.js +0 -1
- package/dist/client/assets/git-pull-request-draft-B6LfLt6Z.js +0 -1
- package/dist/client/assets/gitGraphDiagram-WWUBYQGX-B_dxH50y.js +0 -106
- package/dist/client/assets/gitGraphDiagram-WWUBYQGX-B_dxH50y.js.br +0 -0
- package/dist/client/assets/gitGraphDiagram-WWUBYQGX-B_dxH50y.js.gz +0 -0
- package/dist/client/assets/glass-water-CS4LNHvj.js +0 -1
- package/dist/client/assets/glasses-DTLV70dM.js +0 -1
- package/dist/client/assets/globe-check-BRKjsgvi.js +0 -1
- package/dist/client/assets/globe-lock-54oWN5t6.js +0 -1
- package/dist/client/assets/globe-off-horYxsdx.js +0 -1
- package/dist/client/assets/globe-x-ClbGqclY.js +0 -1
- package/dist/client/assets/goal-zTJDFlUE.js +0 -1
- package/dist/client/assets/gpu-DKqOqWx7.js +0 -1
- package/dist/client/assets/graduation-cap-SXqvKYxB.js +0 -1
- package/dist/client/assets/grape-CmFszm4Z.js +0 -1
- package/dist/client/assets/grid-2x2-Beefymso.js +0 -1
- package/dist/client/assets/grid-2x2-check-jGqI8ZPs.js +0 -1
- package/dist/client/assets/grid-2x2-plus-EdtKyMYi.js +0 -1
- package/dist/client/assets/grid-2x2-x-BpSeaHXq.js +0 -1
- package/dist/client/assets/grid-3x2-Cp6UG-dC.js +0 -1
- package/dist/client/assets/grid-3x3-Byk5m5V2.js +0 -1
- package/dist/client/assets/grip-CWEQNkhb.js +0 -1
- package/dist/client/assets/grip-horizontal-DVE891la.js +0 -1
- package/dist/client/assets/grip-vertical-CybJHhxF.js +0 -1
- package/dist/client/assets/group-Dl6XyFSr.js +0 -1
- package/dist/client/assets/guitar-DeGggS6j.js +0 -1
- package/dist/client/assets/ham-v0svEbYk.js +0 -1
- package/dist/client/assets/hamburger-Cissp48w.js +0 -1
- package/dist/client/assets/hammer-CidJgv3_.js +0 -1
- package/dist/client/assets/hand-CgOJ-baw.js +0 -1
- package/dist/client/assets/hand-coins-DfktMjGd.js +0 -1
- package/dist/client/assets/hand-fist-sEjFxLd9.js +0 -1
- package/dist/client/assets/hand-grab-DydkQetC.js +0 -1
- package/dist/client/assets/hand-heart-VtzyZZJw.js +0 -1
- package/dist/client/assets/hand-helping-BivmTiYA.js +0 -1
- package/dist/client/assets/hand-metal-TkZe4ZAY.js +0 -1
- package/dist/client/assets/hand-platter-bN6i3Bwq.js +0 -1
- package/dist/client/assets/handbag-Bif2ttLb.js +0 -1
- package/dist/client/assets/handshake-BLiIjs8g.js +0 -1
- package/dist/client/assets/hard-drive-BICIgLBY.js +0 -1
- package/dist/client/assets/hard-drive-download-Bw5wMPzm.js +0 -1
- package/dist/client/assets/hard-drive-upload-CE1pTCNB.js +0 -1
- package/dist/client/assets/hard-hat-0IVkhru1.js +0 -1
- package/dist/client/assets/hash-DIUoams7.js +0 -1
- package/dist/client/assets/hat-glasses-3TbN8wHb.js +0 -1
- package/dist/client/assets/haze-BsK0dsO3.js +0 -1
- package/dist/client/assets/hd-D9QmFYaI.js +0 -1
- package/dist/client/assets/hdmi-port-Bo4VB-7d.js +0 -1
- package/dist/client/assets/heading-1-_xymQtdc.js +0 -1
- package/dist/client/assets/heading-2-592XS5pg.js +0 -1
- package/dist/client/assets/heading-3-BjOw9KYb.js +0 -1
- package/dist/client/assets/heading-4-C8fShvsl.js +0 -1
- package/dist/client/assets/heading-5-CXvHiUn3.js +0 -1
- package/dist/client/assets/heading-6-BXefNWpE.js +0 -1
- package/dist/client/assets/heading-K-Y1PBou.js +0 -1
- package/dist/client/assets/headphone-off-D99rSsaC.js +0 -1
- package/dist/client/assets/headphones-Dl_r4rIa.js +0 -1
- package/dist/client/assets/headset-DF1e7rmF.js +0 -1
- package/dist/client/assets/heart-DfaSBiuI.js +0 -1
- package/dist/client/assets/heart-crack-3sun-h9e.js +0 -1
- package/dist/client/assets/heart-handshake-C3onz6_p.js +0 -1
- package/dist/client/assets/heart-minus-CYd1Luyf.js +0 -1
- package/dist/client/assets/heart-off-ZvLLjOC8.js +0 -1
- package/dist/client/assets/heart-plus-DOkWS367.js +0 -1
- package/dist/client/assets/heart-pulse-Cv9NMNV1.js +0 -1
- package/dist/client/assets/heart-x-7INTmEM1.js +0 -1
- package/dist/client/assets/heater-DFxhxAoh.js +0 -1
- package/dist/client/assets/helicopter-Dtgcuwh3.js +0 -1
- package/dist/client/assets/hexagon-DxCqSu2i.js +0 -1
- package/dist/client/assets/highlighter-jwhi_dNJ.js +0 -1
- package/dist/client/assets/history-DaJlHg1R.js +0 -1
- package/dist/client/assets/hop-DKY3RlxS.js +0 -1
- package/dist/client/assets/hop-DKY3RlxS.js.br +0 -0
- package/dist/client/assets/hop-DKY3RlxS.js.gz +0 -0
- package/dist/client/assets/hop-off-FczuvIt8.js +0 -1
- package/dist/client/assets/hop-off-FczuvIt8.js.br +0 -0
- package/dist/client/assets/hop-off-FczuvIt8.js.gz +0 -0
- package/dist/client/assets/hospital-CHLUfgfI.js +0 -1
- package/dist/client/assets/hotel-CiBskp3b.js +0 -1
- package/dist/client/assets/hourglass-DG4H5hDA.js +0 -1
- package/dist/client/assets/house-DLR9wTSW.js +0 -1
- package/dist/client/assets/house-heart-DFd5zJeS.js +0 -1
- package/dist/client/assets/house-plug-B3IKzBj3.js +0 -1
- package/dist/client/assets/house-plus-BCQtpkGK.js +0 -1
- package/dist/client/assets/house-wifi-CPnv0fyh.js +0 -1
- package/dist/client/assets/ice-cream-bowl-DFDghJsh.js +0 -1
- package/dist/client/assets/ice-cream-cone-TIBQ7oJF.js +0 -1
- package/dist/client/assets/id-card-DZUPpOzs.js +0 -1
- package/dist/client/assets/id-card-lanyard-BW3oP96n.js +0 -1
- package/dist/client/assets/image-down-D2_TwEiB.js +0 -1
- package/dist/client/assets/image-minus-gUd616Y1.js +0 -1
- package/dist/client/assets/image-off-BaFEl6em.js +0 -1
- package/dist/client/assets/image-play-DY5fIpXi.js +0 -1
- package/dist/client/assets/image-plus-BGL6v5Sv.js +0 -1
- package/dist/client/assets/image-up-Ban4G5PD.js +0 -1
- package/dist/client/assets/image-upscale-CSsXnyxH.js +0 -1
- package/dist/client/assets/images-BEiAOL3s.js +0 -1
- package/dist/client/assets/import-DjfUSLi8.js +0 -1
- package/dist/client/assets/inbox-DnS5HoYb.js +0 -1
- package/dist/client/assets/index-BECtbOx6.js +0 -259
- package/dist/client/assets/index-BECtbOx6.js.br +0 -0
- package/dist/client/assets/index-BECtbOx6.js.gz +0 -0
- package/dist/client/assets/indian-rupee-DyHwVL3k.js +0 -1
- package/dist/client/assets/infinity-BEETeXIK.js +0 -1
- package/dist/client/assets/info-mRjY92KQ.js +0 -1
- package/dist/client/assets/infoDiagram-27XIBGKW-DRIm0ae7.js +0 -2
- package/dist/client/assets/inspection-panel-CG81aEjc.js +0 -1
- package/dist/client/assets/ishikawaDiagram-5VMMS53U-BJ1SEpu3.js +0 -70
- package/dist/client/assets/ishikawaDiagram-5VMMS53U-BJ1SEpu3.js.br +0 -0
- package/dist/client/assets/ishikawaDiagram-5VMMS53U-BJ1SEpu3.js.gz +0 -0
- package/dist/client/assets/italic-DWvNuFkm.js +0 -1
- package/dist/client/assets/iteration-ccw-CT3psrCv.js +0 -1
- package/dist/client/assets/iteration-cw-BjWqeh_A.js +0 -1
- package/dist/client/assets/japanese-yen-UMQvFr_8.js +0 -1
- package/dist/client/assets/journeyDiagram-3NMN7TZE-BmrWdt8v.js +0 -139
- package/dist/client/assets/journeyDiagram-3NMN7TZE-BmrWdt8v.js.br +0 -0
- package/dist/client/assets/journeyDiagram-3NMN7TZE-BmrWdt8v.js.gz +0 -0
- package/dist/client/assets/joystick-DUGWdOXs.js +0 -1
- package/dist/client/assets/kanban-DldFWrgY.js +0 -1
- package/dist/client/assets/kanban-definition-UXKFOSKX-Cso9cFJD.js +0 -89
- package/dist/client/assets/kanban-definition-UXKFOSKX-Cso9cFJD.js.br +0 -0
- package/dist/client/assets/kanban-definition-UXKFOSKX-Cso9cFJD.js.gz +0 -0
- package/dist/client/assets/kayak-C6Bnpf1Y.js +0 -1
- package/dist/client/assets/key-DS-Jraku.js +0 -1
- package/dist/client/assets/key-round-DkBT_KOb.js +0 -1
- package/dist/client/assets/key-square-CmdtXiAd.js +0 -1
- package/dist/client/assets/keyboard-3WVa2O9N.js +0 -1
- package/dist/client/assets/keyboard-music-CLVe30a_.js +0 -1
- package/dist/client/assets/keyboard-off-CkvcwFW-.js +0 -1
- package/dist/client/assets/lamp-CBFf-zQl.js +0 -1
- package/dist/client/assets/lamp-ceiling-CJLry1X9.js +0 -1
- package/dist/client/assets/lamp-desk-Df76PmSE.js +0 -1
- package/dist/client/assets/lamp-floor-DppLU4Ft.js +0 -1
- package/dist/client/assets/lamp-wall-down-CP-tjI8H.js +0 -1
- package/dist/client/assets/lamp-wall-up-CS7rz19p.js +0 -1
- package/dist/client/assets/land-plot-Dd9xCDlb.js +0 -1
- package/dist/client/assets/landmark-J3yN5XZG.js +0 -1
- package/dist/client/assets/languages-B8lyz2c8.js +0 -1
- package/dist/client/assets/laptop-CeuYYqe_.js +0 -1
- package/dist/client/assets/laptop-minimal-DxzGesq1.js +0 -1
- package/dist/client/assets/laptop-minimal-check-CBgPGzDa.js +0 -1
- package/dist/client/assets/lasso-BvG7wmYl.js +0 -1
- package/dist/client/assets/lasso-select-prnfy7uX.js +0 -1
- package/dist/client/assets/laugh-BScBs0io.js +0 -1
- package/dist/client/assets/layers-2-DUz5ZzTV.js +0 -1
- package/dist/client/assets/layers-Czymb29T.js +0 -1
- package/dist/client/assets/layers-minus-B7aAOcNE.js +0 -1
- package/dist/client/assets/layers-plus-CGaiyumZ.js +0 -1
- package/dist/client/assets/layout-BAHdAq5T.js +0 -1
- package/dist/client/assets/layout-BAHdAq5T.js.br +0 -0
- package/dist/client/assets/layout-BAHdAq5T.js.gz +0 -0
- package/dist/client/assets/layout-dashboard-Bwc3MbtB.js +0 -1
- package/dist/client/assets/layout-grid-BkybwnIE.js +0 -1
- package/dist/client/assets/layout-list-8cr6ew0l.js +0 -1
- package/dist/client/assets/layout-panel-left-arbrkb4n.js +0 -1
- package/dist/client/assets/layout-panel-top-BkY2AEwx.js +0 -1
- package/dist/client/assets/layout-template-_tju-mp8.js +0 -1
- package/dist/client/assets/leaf-lga1seu8.js +0 -1
- package/dist/client/assets/leafy-green-D-4efHi6.js +0 -1
- package/dist/client/assets/lectern-BPqXJRu2.js +0 -1
- package/dist/client/assets/lens-concave-BIkuqdvv.js +0 -1
- package/dist/client/assets/lens-convex-3cR_XWsg.js +0 -1
- package/dist/client/assets/library-BKRzdCm9.js +0 -1
- package/dist/client/assets/library-big-Cb3nYVqG.js +0 -1
- package/dist/client/assets/life-buoy-n6-LjGMM.js +0 -1
- package/dist/client/assets/ligature-CUW3GFiq.js +0 -1
- package/dist/client/assets/lightbulb-off-ChsnfiUC.js +0 -1
- package/dist/client/assets/line-dot-right-horizontal-bAoy4Px2.js +0 -1
- package/dist/client/assets/line-squiggle-Cr3Epb90.js +0 -1
- package/dist/client/assets/line-style-LfPcMWMB.js +0 -1
- package/dist/client/assets/link-PsE2B1x7.js +0 -1
- package/dist/client/assets/list-CgcnoAd3.js +0 -1
- package/dist/client/assets/list-check-DWB8mBXI.js +0 -1
- package/dist/client/assets/list-checks-BBOqu4XQ.js +0 -1
- package/dist/client/assets/list-chevrons-down-up-C063UJST.js +0 -1
- package/dist/client/assets/list-chevrons-up-down-DIGltL5u.js +0 -1
- package/dist/client/assets/list-collapse-BZpOSjbM.js +0 -1
- package/dist/client/assets/list-end-DLV955HD.js +0 -1
- package/dist/client/assets/list-filter-D-HbTYcr.js +0 -1
- package/dist/client/assets/list-filter-plus-B8wQ_kjp.js +0 -1
- package/dist/client/assets/list-indent-decrease-Bk6Pg-a0.js +0 -1
- package/dist/client/assets/list-indent-increase-Dwr3txTX.js +0 -1
- package/dist/client/assets/list-minus-DIhN_YX6.js +0 -1
- package/dist/client/assets/list-music-CcAXC4lh.js +0 -1
- package/dist/client/assets/list-ordered-Bi2uFMA7.js +0 -1
- package/dist/client/assets/list-plus-Bvzleq2m.js +0 -1
- package/dist/client/assets/list-restart-BIAUun2h.js +0 -1
- package/dist/client/assets/list-start-4u9a76gq.js +0 -1
- package/dist/client/assets/list-tree-DMDNAXBP.js +0 -1
- package/dist/client/assets/list-video-D_wWANPO.js +0 -1
- package/dist/client/assets/list-x-D6HOSyBf.js +0 -1
- package/dist/client/assets/loader-BI2GSoX9.js +0 -1
- package/dist/client/assets/loader-pinwheel-BXK27-i3.js +0 -1
- package/dist/client/assets/locate-fixed-Xd1m1WG-.js +0 -1
- package/dist/client/assets/locate-kZlnbpzj.js +0 -1
- package/dist/client/assets/locate-off-BQa44gPW.js +0 -1
- package/dist/client/assets/lock-5j4zSSTn.js +0 -1
- package/dist/client/assets/lock-keyhole-open-2CUpVPss.js +0 -1
- package/dist/client/assets/lock-open-DlTXmOFi.js +0 -1
- package/dist/client/assets/log-in-C3kbELt9.js +0 -1
- package/dist/client/assets/log-out-BqDI6pxH.js +0 -1
- package/dist/client/assets/logs-0vyeHvmX.js +0 -1
- package/dist/client/assets/lollipop-Bg4feK-z.js +0 -1
- package/dist/client/assets/luggage-DUo7W1Tj.js +0 -1
- package/dist/client/assets/magnet-BlKgJmNl.js +0 -1
- package/dist/client/assets/mail-BT85CkN0.js +0 -1
- package/dist/client/assets/mail-check-CVvU923e.js +0 -1
- package/dist/client/assets/mail-minus-DANB5OMJ.js +0 -1
- package/dist/client/assets/mail-open-COPxMDpN.js +0 -1
- package/dist/client/assets/mail-plus-BaREtBm6.js +0 -1
- package/dist/client/assets/mail-question-mark-D2o0FivT.js +0 -1
- package/dist/client/assets/mail-search-uNX4hPjg.js +0 -1
- package/dist/client/assets/mail-warning-BouTn-GJ.js +0 -1
- package/dist/client/assets/mail-x-D2Xe7rqz.js +0 -1
- package/dist/client/assets/mailbox-apYxlnqc.js +0 -1
- package/dist/client/assets/mails-CGf1rm3m.js +0 -1
- package/dist/client/assets/map-CuaYxtnw.js +0 -1
- package/dist/client/assets/map-minus-DumJUNHq.js +0 -1
- package/dist/client/assets/map-pin-DjDJzdlh.js +0 -1
- package/dist/client/assets/map-pin-check-inside-Db9D_fM3.js +0 -1
- package/dist/client/assets/map-pin-check-rUhcwDhO.js +0 -1
- package/dist/client/assets/map-pin-house-BvpxylL7.js +0 -1
- package/dist/client/assets/map-pin-minus-BwAwDpuG.js +0 -1
- package/dist/client/assets/map-pin-minus-inside-_86jJpxi.js +0 -1
- package/dist/client/assets/map-pin-off-BBpb8QS5.js +0 -1
- package/dist/client/assets/map-pin-pen-CT6XKOSp.js +0 -1
- package/dist/client/assets/map-pin-plus-DHkZfNrm.js +0 -1
- package/dist/client/assets/map-pin-plus-inside-C8sN2aJv.js +0 -1
- package/dist/client/assets/map-pin-search-D2MqnXfd.js +0 -1
- package/dist/client/assets/map-pin-x-Biv_Yq83.js +0 -1
- package/dist/client/assets/map-pin-x-inside-BwUo9QMJ.js +0 -1
- package/dist/client/assets/map-pinned-CbGsQ_O4.js +0 -1
- package/dist/client/assets/map-plus-DgcekQXS.js +0 -1
- package/dist/client/assets/mars-BcJOSYtM.js +0 -1
- package/dist/client/assets/mars-stroke-heQIIgiU.js +0 -1
- package/dist/client/assets/martini-Ce-x202C.js +0 -1
- package/dist/client/assets/maximize-2-BsdNAS61.js +0 -1
- package/dist/client/assets/maximize-pFyHksGp.js +0 -1
- package/dist/client/assets/medal-DwKq6Rtb.js +0 -1
- package/dist/client/assets/megaphone-DOC6hkio.js +0 -1
- package/dist/client/assets/megaphone-off-Buhgp0Av.js +0 -1
- package/dist/client/assets/meh-C9fYZMzG.js +0 -1
- package/dist/client/assets/memory-stick-BTg4O__E.js +0 -1
- package/dist/client/assets/menu-BsVZQ0Xo.js +0 -1
- package/dist/client/assets/merge-Dz-qM97Q.js +0 -1
- package/dist/client/assets/mermaid.core-BeIo7vnx.js +0 -308
- package/dist/client/assets/mermaid.core-BeIo7vnx.js.br +0 -0
- package/dist/client/assets/mermaid.core-BeIo7vnx.js.gz +0 -0
- package/dist/client/assets/message-circle-check-CtgSE_l9.js +0 -1
- package/dist/client/assets/message-circle-code-Do3IfmNz.js +0 -1
- package/dist/client/assets/message-circle-dashed-Cq3jXHvm.js +0 -1
- package/dist/client/assets/message-circle-heart-DHfwyyEV.js +0 -1
- package/dist/client/assets/message-circle-more-BpgMee0p.js +0 -1
- package/dist/client/assets/message-circle-off-DXmy68Uy.js +0 -1
- package/dist/client/assets/message-circle-plus-hvATS4VA.js +0 -1
- package/dist/client/assets/message-circle-question-mark-CNPna2rg.js +0 -1
- package/dist/client/assets/message-circle-reply-ChOr_IuR.js +0 -1
- package/dist/client/assets/message-circle-warning-DFR4zOXS.js +0 -1
- package/dist/client/assets/message-circle-x-B803cAoK.js +0 -1
- package/dist/client/assets/message-square-Dox_F6aU.js +0 -1
- package/dist/client/assets/message-square-check-C7Yf-ZwX.js +0 -1
- package/dist/client/assets/message-square-code-XDE1vwoO.js +0 -1
- package/dist/client/assets/message-square-dashed-Dl78pbjH.js +0 -1
- package/dist/client/assets/message-square-diff-2KChPYju.js +0 -1
- package/dist/client/assets/message-square-dot-p0G-OzIE.js +0 -1
- package/dist/client/assets/message-square-heart-DO-yR6t-.js +0 -1
- package/dist/client/assets/message-square-lock-D_wcmRbl.js +0 -1
- package/dist/client/assets/message-square-more-CUIbn3MF.js +0 -1
- package/dist/client/assets/message-square-off-CQPYFtGQ.js +0 -1
- package/dist/client/assets/message-square-plus-Cr-BeFHx.js +0 -1
- package/dist/client/assets/message-square-quote-Funq1xTR.js +0 -1
- package/dist/client/assets/message-square-reply-ClK15Rvx.js +0 -1
- package/dist/client/assets/message-square-share-uUykfAQW.js +0 -1
- package/dist/client/assets/message-square-text-CQaZTVAQ.js +0 -1
- package/dist/client/assets/message-square-warning-DK82llQl.js +0 -1
- package/dist/client/assets/message-square-x-CRBWglBt.js +0 -1
- package/dist/client/assets/messages-square-l159YFwq.js +0 -1
- package/dist/client/assets/metronome-C8sECeKl.js +0 -1
- package/dist/client/assets/mic-CMZK76z-.js +0 -1
- package/dist/client/assets/mic-off-Bb1FwxU2.js +0 -1
- package/dist/client/assets/mic-vocal-BK3qkAsa.js +0 -1
- package/dist/client/assets/microchip-DFjxF1xQ.js +0 -1
- package/dist/client/assets/microscope-rENWz6iT.js +0 -1
- package/dist/client/assets/microwave-1o4KRTz8.js +0 -1
- package/dist/client/assets/milestone-B3ij28nm.js +0 -1
- package/dist/client/assets/milk-off-B0NidGO9.js +0 -1
- package/dist/client/assets/milk-r0b9VVdp.js +0 -1
- package/dist/client/assets/mindmap-definition-YA3MSWOX-CK-NFQ_c.js +0 -96
- package/dist/client/assets/mindmap-definition-YA3MSWOX-CK-NFQ_c.js.br +0 -0
- package/dist/client/assets/mindmap-definition-YA3MSWOX-CK-NFQ_c.js.gz +0 -0
- package/dist/client/assets/minimize-2-G3GQQDbn.js +0 -1
- package/dist/client/assets/minimize-C_OHMVa2.js +0 -1
- package/dist/client/assets/minus-WIXRLSsO.js +0 -1
- package/dist/client/assets/mirror-rectangular-kj0ojRsY.js +0 -1
- package/dist/client/assets/mirror-round-BP2yWaRV.js +0 -1
- package/dist/client/assets/monitor-check-wiQxhjck.js +0 -1
- package/dist/client/assets/monitor-cloud-CrQcG5aJ.js +0 -1
- package/dist/client/assets/monitor-cog-D5KXRaze.js +0 -1
- package/dist/client/assets/monitor-dot-B3gJt4V1.js +0 -1
- package/dist/client/assets/monitor-down-Dze6NuxE.js +0 -1
- package/dist/client/assets/monitor-off-D-qfa9xK.js +0 -1
- package/dist/client/assets/monitor-pause-Cfb0DYlL.js +0 -1
- package/dist/client/assets/monitor-play-XknmCyas.js +0 -1
- package/dist/client/assets/monitor-smartphone-Bqlzv3Tl.js +0 -1
- package/dist/client/assets/monitor-speaker-DGkCC5Kd.js +0 -1
- package/dist/client/assets/monitor-stop-Dwin5nTH.js +0 -1
- package/dist/client/assets/monitor-up-BKc-giFd.js +0 -1
- package/dist/client/assets/monitor-x-gS4XS__k.js +0 -1
- package/dist/client/assets/moon-QF8GQCjD.js +0 -1
- package/dist/client/assets/moon-star-BeM8YoJv.js +0 -1
- package/dist/client/assets/motorbike-7inpzWs_.js +0 -1
- package/dist/client/assets/mountain-QcHeBTgx.js +0 -1
- package/dist/client/assets/mountain-snow-CaZn4JCP.js +0 -1
- package/dist/client/assets/mouse-CGalUYCy.js +0 -1
- package/dist/client/assets/mouse-left-oAgKdLra.js +0 -1
- package/dist/client/assets/mouse-off-snJYuVF6.js +0 -1
- package/dist/client/assets/mouse-pointer-2-C0OKFD6m.js +0 -1
- package/dist/client/assets/mouse-pointer-2-off-CEIAq-bd.js +0 -1
- package/dist/client/assets/mouse-pointer-Lju7lbAR.js +0 -1
- package/dist/client/assets/mouse-pointer-ban-D8iZOksF.js +0 -1
- package/dist/client/assets/mouse-pointer-click-Cv5gumHk.js +0 -1
- package/dist/client/assets/mouse-right-BMmR_8J7.js +0 -1
- package/dist/client/assets/move-3d-hD4sq0U2.js +0 -1
- package/dist/client/assets/move-B3GNN0tA.js +0 -1
- package/dist/client/assets/move-diagonal-2-C3gEEWVA.js +0 -1
- package/dist/client/assets/move-diagonal-B1EgqYAA.js +0 -1
- package/dist/client/assets/move-down-DWdggwVT.js +0 -1
- package/dist/client/assets/move-down-left-GT-_EC4Q.js +0 -1
- package/dist/client/assets/move-down-right-BfhBwu_x.js +0 -1
- package/dist/client/assets/move-horizontal-B5RkqiXu.js +0 -1
- package/dist/client/assets/move-left-M7Cp8vbd.js +0 -1
- package/dist/client/assets/move-right-2ymj3ur8.js +0 -1
- package/dist/client/assets/move-up-D3IhZ-ji.js +0 -1
- package/dist/client/assets/move-up-left-plXMuyXQ.js +0 -1
- package/dist/client/assets/move-up-right-CrSiH7fp.js +0 -1
- package/dist/client/assets/move-vertical-LEmIC9wG.js +0 -1
- package/dist/client/assets/music-2-O5cB6BMt.js +0 -1
- package/dist/client/assets/music-3-BD0xilSr.js +0 -1
- package/dist/client/assets/music-4-CM4Q3NFM.js +0 -1
- package/dist/client/assets/music-CYoYjMS2.js +0 -1
- package/dist/client/assets/navigation-2-CSXnQrws.js +0 -1
- package/dist/client/assets/navigation-2-off-BSocRM30.js +0 -1
- package/dist/client/assets/navigation-DCXoKBCf.js +0 -1
- package/dist/client/assets/navigation-off-Dl8y_BZO.js +0 -1
- package/dist/client/assets/network-COQHQU4w.js +0 -1
- package/dist/client/assets/newspaper-CvFd3a3l.js +0 -1
- package/dist/client/assets/nfc-CJj75l8E.js +0 -1
- package/dist/client/assets/non-binary-C3GurPz6.js +0 -1
- package/dist/client/assets/notebook-DMRFsXov.js +0 -1
- package/dist/client/assets/notebook-pen-3Zpa_iPZ.js +0 -1
- package/dist/client/assets/notebook-tabs-ClLqk4ah.js +0 -1
- package/dist/client/assets/notebook-text-Dwu_0P0U.js +0 -1
- package/dist/client/assets/notepad-text-DLB8TgYX.js +0 -1
- package/dist/client/assets/notepad-text-dashed-BITF_aWn.js +0 -1
- package/dist/client/assets/nut-3bmUPTcE.js +0 -1
- package/dist/client/assets/nut-off-dOtU7Q7C.js +0 -1
- package/dist/client/assets/octagon--w9KJgVy.js +0 -1
- package/dist/client/assets/octagon-alert-NkO6G0ND.js +0 -1
- package/dist/client/assets/octagon-minus-DbBePc8j.js +0 -1
- package/dist/client/assets/octagon-pause-Bf3dwRVD.js +0 -1
- package/dist/client/assets/octagon-x-DwFzvOtm.js +0 -1
- package/dist/client/assets/omega-ChS395AL.js +0 -1
- package/dist/client/assets/option-M_SrAKc2.js +0 -1
- package/dist/client/assets/orbit-B4oQfDFR.js +0 -1
- package/dist/client/assets/origami-70RqAbqW.js +0 -1
- package/dist/client/assets/package-0OwUoMQ4.js +0 -1
- package/dist/client/assets/package-2-BHMvMhGr.js +0 -1
- package/dist/client/assets/package-check-yJVyFjXp.js +0 -1
- package/dist/client/assets/package-minus-BuABFdDu.js +0 -1
- package/dist/client/assets/package-open-BaC3eL5_.js +0 -1
- package/dist/client/assets/package-plus-Dw7OphVA.js +0 -1
- package/dist/client/assets/package-search-xygVF9ZT.js +0 -1
- package/dist/client/assets/package-x-DrQfIaY6.js +0 -1
- package/dist/client/assets/paint-bucket-CsO5ehec.js +0 -1
- package/dist/client/assets/paint-roller-DJi84Noq.js +0 -1
- package/dist/client/assets/paintbrush-BOR0fRY_.js +0 -1
- package/dist/client/assets/paintbrush-vertical-DdwM92dU.js +0 -1
- package/dist/client/assets/palette-BZS6CU4m.js +0 -1
- package/dist/client/assets/panda-C-RrSt9w.js +0 -1
- package/dist/client/assets/panel-bottom-DDrPPwy3.js +0 -1
- package/dist/client/assets/panel-bottom-close-DQhHkHEy.js +0 -1
- package/dist/client/assets/panel-bottom-dashed-bY4erVXv.js +0 -1
- package/dist/client/assets/panel-bottom-open-C_Z_ClZ4.js +0 -1
- package/dist/client/assets/panel-left-CD4MPhOj.js +0 -1
- package/dist/client/assets/panel-left-close-Btxh1v0x.js +0 -1
- package/dist/client/assets/panel-left-dashed-CNeZfweI.js +0 -1
- package/dist/client/assets/panel-left-open-BRIMimDI.js +0 -1
- package/dist/client/assets/panel-left-right-dashed-DI1KuGAX.js +0 -1
- package/dist/client/assets/panel-right-close-BWf61nPB.js +0 -1
- package/dist/client/assets/panel-right-dashed-DLhmOV54.js +0 -1
- package/dist/client/assets/panel-right-open-mXti_QOp.js +0 -1
- package/dist/client/assets/panel-top-CbL6fZ0V.js +0 -1
- package/dist/client/assets/panel-top-bottom-dashed-DKGc8nZk.js +0 -1
- package/dist/client/assets/panel-top-close-DpQP6M6I.js +0 -1
- package/dist/client/assets/panel-top-dashed-Cn0k9CFj.js +0 -1
- package/dist/client/assets/panel-top-open-mTDkGXqW.js +0 -1
- package/dist/client/assets/panels-left-bottom-CRzCBOrF.js +0 -1
- package/dist/client/assets/panels-right-bottom-CutW7O9x.js +0 -1
- package/dist/client/assets/panels-top-left-B-4HosqB.js +0 -1
- package/dist/client/assets/parasol-CdDoAPP0.js +0 -1
- package/dist/client/assets/parentheses-DdSmd_5r.js +0 -1
- package/dist/client/assets/parking-meter-DaRa_RIp.js +0 -1
- package/dist/client/assets/party-popper-BUyqsSLm.js +0 -1
- package/dist/client/assets/passwordBootstrap-UAVifp2t.js +0 -2
- package/dist/client/assets/passwordBootstrap-UAVifp2t.js.br +0 -0
- package/dist/client/assets/passwordBootstrap-UAVifp2t.js.gz +0 -0
- package/dist/client/assets/pause-HVW_U4sw.js +0 -1
- package/dist/client/assets/paw-print-BsVpcDaM.js +0 -1
- package/dist/client/assets/pc-case-DJ3mwLpC.js +0 -1
- package/dist/client/assets/pegDiagram-XKGWAZYB-Dz2mpi5B.js +0 -1
- package/dist/client/assets/pegDiagram-XKGWAZYB-Dz2mpi5B.js.br +0 -0
- package/dist/client/assets/pegDiagram-XKGWAZYB-Dz2mpi5B.js.gz +0 -0
- package/dist/client/assets/pen-DTfpqkCD.js +0 -1
- package/dist/client/assets/pen-line-DQxZ3xR8.js +0 -1
- package/dist/client/assets/pen-off-CtXscx-s.js +0 -1
- package/dist/client/assets/pen-tool-DeMZbEP_.js +0 -1
- package/dist/client/assets/pencil-line-DViXYquK.js +0 -1
- package/dist/client/assets/pencil-off-Ba10jVQq.js +0 -1
- package/dist/client/assets/pencil-ruler-ChRceym_.js +0 -1
- package/dist/client/assets/pentagon-p-3Ku19z.js +0 -1
- package/dist/client/assets/percent-CFDzTIAn.js +0 -1
- package/dist/client/assets/person-standing-WQg9Mg51.js +0 -1
- package/dist/client/assets/philippine-peso-S6WOdB75.js +0 -1
- package/dist/client/assets/phone-DgUqo6vY.js +0 -1
- package/dist/client/assets/phone-call-DxpAbhTY.js +0 -1
- package/dist/client/assets/phone-forwarded-D0j0YmfB.js +0 -1
- package/dist/client/assets/phone-incoming-DhDJOZzR.js +0 -1
- package/dist/client/assets/phone-missed-DP_sU3cV.js +0 -1
- package/dist/client/assets/phone-off-C5EhFjJX.js +0 -1
- package/dist/client/assets/phone-outgoing-CaNMJpmf.js +0 -1
- package/dist/client/assets/pi-lOOzG5uW.js +0 -1
- package/dist/client/assets/piano-D89Yd7iB.js +0 -1
- package/dist/client/assets/pickaxe-XL-l4lqG.js +0 -1
- package/dist/client/assets/picture-in-picture-2-4Yj1IaIZ.js +0 -1
- package/dist/client/assets/picture-in-picture-D5zRKuPY.js +0 -1
- package/dist/client/assets/pieDiagram-E7YTZNPT-CM-rZ6iY.js +0 -39
- package/dist/client/assets/pieDiagram-E7YTZNPT-CM-rZ6iY.js.br +0 -0
- package/dist/client/assets/pieDiagram-E7YTZNPT-CM-rZ6iY.js.gz +0 -0
- package/dist/client/assets/piggy-bank-CtUlqtZi.js +0 -1
- package/dist/client/assets/pilcrow-fJAJBkCu.js +0 -1
- package/dist/client/assets/pilcrow-left-BcjIqqIG.js +0 -1
- package/dist/client/assets/pilcrow-right-CkNFFEjU.js +0 -1
- package/dist/client/assets/pill-B81wRBvj.js +0 -1
- package/dist/client/assets/pill-bottle-a6aWlTBx.js +0 -1
- package/dist/client/assets/pipette-BA0fYchw.js +0 -1
- package/dist/client/assets/pizza-CABiZAV2.js +0 -1
- package/dist/client/assets/plane-jlGnyuGt.js +0 -1
- package/dist/client/assets/plane-landing-lVgR7wpB.js +0 -1
- package/dist/client/assets/plane-takeoff-D45a0hIV.js +0 -1
- package/dist/client/assets/play-Ck70BqdA.js +0 -1
- package/dist/client/assets/plug-2-Czdf9Tbe.js +0 -1
- package/dist/client/assets/plug-Cr6cWsG5.js +0 -1
- package/dist/client/assets/plug-zap-DYHzCHDK.js +0 -1
- package/dist/client/assets/pocket-knife-BBNH1F5v.js +0 -1
- package/dist/client/assets/podcast-BjUso0gp.js +0 -1
- package/dist/client/assets/pointer-DhOdWZap.js +0 -1
- package/dist/client/assets/pointer-off-QbxI5dl_.js +0 -1
- package/dist/client/assets/popcorn-7t8YsndQ.js +0 -1
- package/dist/client/assets/popsicle-Y5wiMemP.js +0 -1
- package/dist/client/assets/pound-sterling-vU-BFJcM.js +0 -1
- package/dist/client/assets/power-ivt53AOK.js +0 -1
- package/dist/client/assets/power-off-CRnqjuCP.js +0 -1
- package/dist/client/assets/presentation-CMYVSjvO.js +0 -1
- package/dist/client/assets/printer-BVt89Pzj.js +0 -1
- package/dist/client/assets/printer-check-BI71vP0f.js +0 -1
- package/dist/client/assets/printer-x-d44HpgMH.js +0 -1
- package/dist/client/assets/projector-B-YCWDzx.js +0 -1
- package/dist/client/assets/proportions-Dndkvy6A.js +0 -1
- package/dist/client/assets/puzzle-Daz97lpv.js +0 -1
- package/dist/client/assets/pyramid-CZ-J3GYq.js +0 -1
- package/dist/client/assets/quadrantDiagram-AXDQQJYC-6N3CVpaY.js +0 -7
- package/dist/client/assets/quadrantDiagram-AXDQQJYC-6N3CVpaY.js.br +0 -0
- package/dist/client/assets/quadrantDiagram-AXDQQJYC-6N3CVpaY.js.gz +0 -0
- package/dist/client/assets/quote-BWvUOnnV.js +0 -1
- package/dist/client/assets/rabbit-io7riYhU.js +0 -1
- package/dist/client/assets/radar-CJysI5gY.js +0 -1
- package/dist/client/assets/radiation-Cjw1wKCC.js +0 -1
- package/dist/client/assets/radical-BwA__5yy.js +0 -1
- package/dist/client/assets/radio-DosTXzwl.js +0 -1
- package/dist/client/assets/radio-off-DMBzsHta.js +0 -1
- package/dist/client/assets/radio-receiver-Cho3JczQ.js +0 -1
- package/dist/client/assets/radio-tower-DNHK4f0P.js +0 -1
- package/dist/client/assets/radius-94yp9vQY.js +0 -1
- package/dist/client/assets/railroadDiagram-O6MQD6OU-BH1u03G_.js +0 -1
- package/dist/client/assets/railroadDiagram-O6MQD6OU-BH1u03G_.js.br +0 -0
- package/dist/client/assets/railroadDiagram-O6MQD6OU-BH1u03G_.js.gz +0 -0
- package/dist/client/assets/rainbow-065xUArE.js +0 -1
- package/dist/client/assets/rat-CoTm0RRl.js +0 -1
- package/dist/client/assets/ratio-BVdfoES3.js +0 -1
- package/dist/client/assets/rdpSession-Dzzei1P4.js +0 -1
- package/dist/client/assets/rdpSession-Dzzei1P4.js.br +0 -0
- package/dist/client/assets/rdpSession-Dzzei1P4.js.gz +0 -0
- package/dist/client/assets/receipt-DEMZf2-2.js +0 -1
- package/dist/client/assets/receipt-cent-D55zK74A.js +0 -1
- package/dist/client/assets/receipt-euro-BNB20OV8.js +0 -1
- package/dist/client/assets/receipt-indian-rupee-B6-6hEAo.js +0 -1
- package/dist/client/assets/receipt-japanese-yen-CqSMvFtN.js +0 -1
- package/dist/client/assets/receipt-pound-sterling-qaI2_Uag.js +0 -1
- package/dist/client/assets/receipt-russian-ruble-6OoQn2yh.js +0 -1
- package/dist/client/assets/receipt-swiss-franc-Bv5v1Vh0.js +0 -1
- package/dist/client/assets/receipt-text-Dz1Es3OD.js +0 -1
- package/dist/client/assets/receipt-turkish-lira-CHyb19Lo.js +0 -1
- package/dist/client/assets/rectangle-circle-FcTsQqwd.js +0 -1
- package/dist/client/assets/rectangle-ellipsis-DvH5Jg30.js +0 -1
- package/dist/client/assets/rectangle-goggles-CgSFARC3.js +0 -1
- package/dist/client/assets/rectangle-horizontal-CRZ85LAj.js +0 -1
- package/dist/client/assets/rectangle-vertical-BhlNIgSL.js +0 -1
- package/dist/client/assets/recycle-BVkLvObU.js +0 -1
- package/dist/client/assets/redo-2-CVxztqJm.js +0 -1
- package/dist/client/assets/redo-DRDwo8u6.js +0 -1
- package/dist/client/assets/redo-dot-CTaUx5vT.js +0 -1
- package/dist/client/assets/referenceSelection-BwPYpkxM.js +0 -4
- package/dist/client/assets/referenceSelection-BwPYpkxM.js.br +0 -0
- package/dist/client/assets/referenceSelection-BwPYpkxM.js.gz +0 -0
- package/dist/client/assets/refresh-ccw-DrlQKXgs.js +0 -1
- package/dist/client/assets/refresh-ccw-dot-DzLoeS0z.js +0 -1
- package/dist/client/assets/refresh-cw-off-sGs1LK55.js +0 -1
- package/dist/client/assets/refrigerator-C7i_7Npp.js +0 -1
- package/dist/client/assets/regex-Bfnbcpgr.js +0 -1
- package/dist/client/assets/remove-formatting-D1zuV7vN.js +0 -1
- package/dist/client/assets/repeat-1-DpxLSTAW.js +0 -1
- package/dist/client/assets/repeat-2-D5AxLAhh.js +0 -1
- package/dist/client/assets/repeat-V6JwActy.js +0 -1
- package/dist/client/assets/repeat-off-DzynKYm1.js +0 -1
- package/dist/client/assets/replace-CR705LGY.js +0 -1
- package/dist/client/assets/replace-all-CZWjce9y.js +0 -1
- package/dist/client/assets/reply-1sJwNq2r.js +0 -1
- package/dist/client/assets/reply-all-BWOdy7y-.js +0 -1
- package/dist/client/assets/requirementDiagram-BXWQKSXE-C8m48e7q.js +0 -84
- package/dist/client/assets/requirementDiagram-BXWQKSXE-C8m48e7q.js.br +0 -0
- package/dist/client/assets/requirementDiagram-BXWQKSXE-C8m48e7q.js.gz +0 -0
- package/dist/client/assets/rewind-wjW4tevb.js +0 -1
- package/dist/client/assets/ribbon-DXUgfiDI.js +0 -1
- package/dist/client/assets/road-BcttmEJU.js +0 -1
- package/dist/client/assets/rocking-chair-DRFxR3Lz.js +0 -1
- package/dist/client/assets/roller-coaster-_skbphCA.js +0 -1
- package/dist/client/assets/rose-BgkPBG9M.js +0 -1
- package/dist/client/assets/rotate-3d-ZMhlAGdA.js +0 -1
- package/dist/client/assets/rotate-ccw-key-2NBa0b8Y.js +0 -1
- package/dist/client/assets/rotate-ccw-square-BkZF6BCR.js +0 -1
- package/dist/client/assets/rotate-cw-1WPpuGIr.js +0 -1
- package/dist/client/assets/rotate-cw-square-A-Dfn-BF.js +0 -1
- package/dist/client/assets/route-DHptzdyj.js +0 -1
- package/dist/client/assets/route-off-CzDYgS7E.js +0 -1
- package/dist/client/assets/router-ClU7am-o.js +0 -1
- package/dist/client/assets/rows-2-DUmPyp5k.js +0 -1
- package/dist/client/assets/rows-3-BPxLfHil.js +0 -1
- package/dist/client/assets/rows-4-DUKf22gI.js +0 -1
- package/dist/client/assets/rss-Btw_C9Iq.js +0 -1
- package/dist/client/assets/ruler-CBQLWY8O.js +0 -1
- package/dist/client/assets/ruler-dimension-line-D34IABH3.js +0 -1
- package/dist/client/assets/russian-ruble-CF6XXGbj.js +0 -1
- package/dist/client/assets/sailboat-6HuuzeLf.js +0 -1
- package/dist/client/assets/salad-BokF4xhn.js +0 -1
- package/dist/client/assets/sandwich-He99-Ux3.js +0 -1
- package/dist/client/assets/sankeyDiagram-P5KCCOFB-DBfm1Jjm.js +0 -40
- package/dist/client/assets/sankeyDiagram-P5KCCOFB-DBfm1Jjm.js.br +0 -0
- package/dist/client/assets/sankeyDiagram-P5KCCOFB-DBfm1Jjm.js.gz +0 -0
- package/dist/client/assets/satellite-CKn7llYM.js +0 -1
- package/dist/client/assets/satellite-dish-Dvk9DdRM.js +0 -1
- package/dist/client/assets/saudi-riyal-C1jOUkih.js +0 -1
- package/dist/client/assets/save-all-BD8LoEDF.js +0 -1
- package/dist/client/assets/save-n7aF9gA8.js +0 -1
- package/dist/client/assets/save-off-Q3xBXsUz.js +0 -1
- package/dist/client/assets/scale-3d-BGFrxGd9.js +0 -1
- package/dist/client/assets/scale-BNWP8ZC6.js +0 -1
- package/dist/client/assets/scaling-B1e59uxU.js +0 -1
- package/dist/client/assets/scan-B6sbme2U.js +0 -1
- package/dist/client/assets/scan-barcode-BaoYo8nM.js +0 -1
- package/dist/client/assets/scan-eye-B-IVKtY6.js +0 -1
- package/dist/client/assets/scan-face-DuVzkgvx.js +0 -1
- package/dist/client/assets/scan-heart-BKUO01eU.js +0 -1
- package/dist/client/assets/scan-line-UZdIF8il.js +0 -1
- package/dist/client/assets/scan-qr-code-CnKT4q55.js +0 -1
- package/dist/client/assets/scan-search-BmJ3sX4R.js +0 -1
- package/dist/client/assets/scan-text-XfESmDTK.js +0 -1
- package/dist/client/assets/school-t-IMpFPt.js +0 -1
- package/dist/client/assets/scissors-Dm6G-udb.js +0 -1
- package/dist/client/assets/scissors-line-dashed-4F-SKNbM.js +0 -1
- package/dist/client/assets/scooter-B1x9zgrE.js +0 -1
- package/dist/client/assets/screen-share-8W7A5ngb.js +0 -1
- package/dist/client/assets/screen-share-off-Rmb4EPkb.js +0 -1
- package/dist/client/assets/scroll-9THA7ocv.js +0 -1
- package/dist/client/assets/scroll-text-PYWUbJxX.js +0 -1
- package/dist/client/assets/search-BGARRzJD.js +0 -1
- package/dist/client/assets/search-alert-Dfw9s_eF.js +0 -1
- package/dist/client/assets/search-check-ya3u0Lrl.js +0 -1
- package/dist/client/assets/search-code-Dln14Qpj.js +0 -1
- package/dist/client/assets/search-slash-S9Uo6SZh.js +0 -1
- package/dist/client/assets/search-x-eRH3zVs_.js +0 -1
- package/dist/client/assets/section-BlkPkvsc.js +0 -1
- package/dist/client/assets/send-DqsywP3v.js +0 -1
- package/dist/client/assets/send-horizontal-Bbq51ghH.js +0 -1
- package/dist/client/assets/send-to-back-DdLBM9RN.js +0 -1
- package/dist/client/assets/separator-horizontal-Byv_fZrU.js +0 -1
- package/dist/client/assets/separator-vertical-CDz4aPJ6.js +0 -1
- package/dist/client/assets/sequenceDiagram-WJ2MYXX4-DkosRIp9.js +0 -162
- package/dist/client/assets/sequenceDiagram-WJ2MYXX4-DkosRIp9.js.br +0 -0
- package/dist/client/assets/sequenceDiagram-WJ2MYXX4-DkosRIp9.js.gz +0 -0
- package/dist/client/assets/server-cog-DLMNA0ov.js +0 -1
- package/dist/client/assets/server-crash-CBOSjVgu.js +0 -1
- package/dist/client/assets/server-off-BfkT20g3.js +0 -1
- package/dist/client/assets/sessionChatStartup-BBn1CI9E.js +0 -1
- package/dist/client/assets/sessionChatStartup-BBn1CI9E.js.br +0 -0
- package/dist/client/assets/sessionChatStartup-BBn1CI9E.js.gz +0 -0
- package/dist/client/assets/settings-2-DzB-wPdg.js +0 -1
- package/dist/client/assets/settings-B_XN6YEf.js +0 -1
- package/dist/client/assets/shapes-CoFnydEG.js +0 -1
- package/dist/client/assets/share-CKaDdAz1.js +0 -1
- package/dist/client/assets/sheet-r04WBlPY.js +0 -1
- package/dist/client/assets/shell-9dzM9taI.js +0 -1
- package/dist/client/assets/shelving-unit-ceAEuDJE.js +0 -1
- package/dist/client/assets/shield-HBEnlzp0.js +0 -1
- package/dist/client/assets/shield-alert-fUrBSBJv.js +0 -1
- package/dist/client/assets/shield-ban-BZyMsLsC.js +0 -1
- package/dist/client/assets/shield-check-BqwDq1_C.js +0 -1
- package/dist/client/assets/shield-cog-Bl25-VdV.js +0 -1
- package/dist/client/assets/shield-cog-corner-YweLZXaz.js +0 -1
- package/dist/client/assets/shield-ellipsis-VSBOnnrh.js +0 -1
- package/dist/client/assets/shield-half-CSxYMff3.js +0 -1
- package/dist/client/assets/shield-minus-CF27Twdw.js +0 -1
- package/dist/client/assets/shield-off-lt2_q3_J.js +0 -1
- package/dist/client/assets/shield-plus-Dmy55ghS.js +0 -1
- package/dist/client/assets/shield-question-mark-Dp_WE-2O.js +0 -1
- package/dist/client/assets/shield-user-dXGWOZOL.js +0 -1
- package/dist/client/assets/shield-x-Dz69HeUv.js +0 -1
- package/dist/client/assets/ship-MxasgblO.js +0 -1
- package/dist/client/assets/ship-wheel-RaEdd50l.js +0 -1
- package/dist/client/assets/shirt-Cqf5O-sL.js +0 -1
- package/dist/client/assets/shopping-bag-CWBzOQ4I.js +0 -1
- package/dist/client/assets/shopping-basket-BDm6tKjo.js +0 -1
- package/dist/client/assets/shopping-cart-B4rbR1vm.js +0 -1
- package/dist/client/assets/shovel-Cacs8wka.js +0 -1
- package/dist/client/assets/shower-head-DaLlvvVt.js +0 -1
- package/dist/client/assets/shredder-FNysIUm_.js +0 -1
- package/dist/client/assets/shrimp-BsRWE9Df.js +0 -1
- package/dist/client/assets/shrink-CTuLUkco.js +0 -1
- package/dist/client/assets/shrub-Dno8L-nj.js +0 -1
- package/dist/client/assets/shuffle-6iGwH9pG.js +0 -1
- package/dist/client/assets/sigma-CB7ceFdJ.js +0 -1
- package/dist/client/assets/signal-high-BuXDPfXP.js +0 -1
- package/dist/client/assets/signal-low-BIT58b1m.js +0 -1
- package/dist/client/assets/signal-medium-DOAfZ8N6.js +0 -1
- package/dist/client/assets/signal-vnu3wRvM.js +0 -1
- package/dist/client/assets/signal-zero-HaEpRbGd.js +0 -1
- package/dist/client/assets/signature-j1_59eMB.js +0 -1
- package/dist/client/assets/signpost-big-bnzPowi5.js +0 -1
- package/dist/client/assets/signpost-zj9vjiXJ.js +0 -1
- package/dist/client/assets/siren-Bd0WaLp_.js +0 -1
- package/dist/client/assets/sizeCapture-INFHLROL-CIRI6QiT.js +0 -1
- package/dist/client/assets/sizeCapture-INFHLROL-CIRI6QiT.js.br +0 -0
- package/dist/client/assets/sizeCapture-INFHLROL-CIRI6QiT.js.gz +0 -0
- package/dist/client/assets/skip-back-Dlqv8miM.js +0 -1
- package/dist/client/assets/skip-forward-CPaBfy4O.js +0 -1
- package/dist/client/assets/skull-9B-8a4_P.js +0 -1
- package/dist/client/assets/slash-DB095fGc.js +0 -1
- package/dist/client/assets/slice-CCN4Tkej.js +0 -1
- package/dist/client/assets/sliders-horizontal-DtlYlBYp.js +0 -1
- package/dist/client/assets/sliders-vertical-VkiXnqY9.js +0 -1
- package/dist/client/assets/smartphone-charging-D1gkiCYE.js +0 -1
- package/dist/client/assets/smartphone-nfc-DXW9tFuY.js +0 -1
- package/dist/client/assets/smile-DGwNkrGm.js +0 -1
- package/dist/client/assets/smile-plus-CHKxU60R.js +0 -1
- package/dist/client/assets/snail-C8pQyVid.js +0 -1
- package/dist/client/assets/snowflake-BOU5oxDC.js +0 -1
- package/dist/client/assets/soap-dispenser-droplet-TlLT2lhj.js +0 -1
- package/dist/client/assets/sofa-1glQ8cms.js +0 -1
- package/dist/client/assets/solar-panel-Cp9vm14G.js +0 -1
- package/dist/client/assets/soup-CG0nh2Rr.js +0 -1
- package/dist/client/assets/space-ZB-O5Syk.js +0 -1
- package/dist/client/assets/spade-BxqsR6dB.js +0 -1
- package/dist/client/assets/sparkle-B6J77pzd.js +0 -1
- package/dist/client/assets/speaker-BZi3nbkm.js +0 -1
- package/dist/client/assets/speech-tdYtvLwu.js +0 -1
- package/dist/client/assets/spell-check-2-CUsGW3Ec.js +0 -1
- package/dist/client/assets/spell-check-DfySWR4D.js +0 -1
- package/dist/client/assets/spline-DcPNd6Mi.js +0 -1
- package/dist/client/assets/spline-pointer-Dc8PJYUn.js +0 -1
- package/dist/client/assets/split-Cq_GLJrD.js +0 -1
- package/dist/client/assets/spool-B0Nx79HG.js +0 -1
- package/dist/client/assets/sport-shoe-D9F86L7z.js +0 -1
- package/dist/client/assets/spotlight-DwNUkx0V.js +0 -1
- package/dist/client/assets/spray-can-DhJetudm.js +0 -1
- package/dist/client/assets/sprout-Bz126Doh.js +0 -1
- package/dist/client/assets/square-BW93eCn3.js +0 -1
- package/dist/client/assets/square-activity-CQm5SPIi.js +0 -1
- package/dist/client/assets/square-arrow-down-D6LaODXx.js +0 -1
- package/dist/client/assets/square-arrow-down-left-Dc94NJh4.js +0 -1
- package/dist/client/assets/square-arrow-down-right-BgTpNQdb.js +0 -1
- package/dist/client/assets/square-arrow-left-DgbQXayN.js +0 -1
- package/dist/client/assets/square-arrow-out-down-left-QeKeZOej.js +0 -1
- package/dist/client/assets/square-arrow-out-down-right-CnpaPbbo.js +0 -1
- package/dist/client/assets/square-arrow-out-up-left-D_NnA-30.js +0 -1
- package/dist/client/assets/square-arrow-right-UHoq1pgz.js +0 -1
- package/dist/client/assets/square-arrow-right-enter-DX3x5bxT.js +0 -1
- package/dist/client/assets/square-arrow-right-exit-CYknq_9C.js +0 -1
- package/dist/client/assets/square-arrow-up-04kLpVK1.js +0 -1
- package/dist/client/assets/square-arrow-up-left-CY6zuTx-.js +0 -1
- package/dist/client/assets/square-arrow-up-right-B6u0_Qom.js +0 -1
- package/dist/client/assets/square-asterisk-D4iqRzER.js +0 -1
- package/dist/client/assets/square-bottom-dashed-scissors-zqicR13Z.js +0 -1
- package/dist/client/assets/square-centerline-dashed-horizontal-DtMjj1Dc.js +0 -1
- package/dist/client/assets/square-centerline-dashed-vertical-B1Tprd4N.js +0 -1
- package/dist/client/assets/square-chart-gantt-CPITSlU_.js +0 -1
- package/dist/client/assets/square-check-bHyx7hWg.js +0 -1
- package/dist/client/assets/square-check-big-CM7xb_Pd.js +0 -1
- package/dist/client/assets/square-chevron-down-n4lISQB7.js +0 -1
- package/dist/client/assets/square-chevron-left-ReVzdpSg.js +0 -1
- package/dist/client/assets/square-chevron-right-Bz46PK54.js +0 -1
- package/dist/client/assets/square-chevron-up-DjTr4OiQ.js +0 -1
- package/dist/client/assets/square-code-Dg561Ksx.js +0 -1
- package/dist/client/assets/square-dashed-Bqa0g-qQ.js +0 -1
- package/dist/client/assets/square-dashed-bottom-BMr4I7Uy.js +0 -1
- package/dist/client/assets/square-dashed-bottom-code-CD1bu_PZ.js +0 -1
- package/dist/client/assets/square-dashed-kanban-CGqgPszU.js +0 -1
- package/dist/client/assets/square-dashed-mouse-pointer-DB9rt7rk.js +0 -1
- package/dist/client/assets/square-dashed-text-Bp2LqQv4.js +0 -1
- package/dist/client/assets/square-dashed-top-solid-CU-_gMci.js +0 -1
- package/dist/client/assets/square-divide-CBTXumuu.js +0 -1
- package/dist/client/assets/square-dot-djmvJ8A8.js +0 -1
- package/dist/client/assets/square-equal-BUx2mCmR.js +0 -1
- package/dist/client/assets/square-function-w4pynJaZ.js +0 -1
- package/dist/client/assets/square-kanban-bgm3oqrg.js +0 -1
- package/dist/client/assets/square-library-kgj5DfaS.js +0 -1
- package/dist/client/assets/square-m-YwSdXys9.js +0 -1
- package/dist/client/assets/square-menu-DcGGXwKb.js +0 -1
- package/dist/client/assets/square-minus-CZBPk68E.js +0 -1
- package/dist/client/assets/square-mouse-pointer-CVaGGHur.js +0 -1
- package/dist/client/assets/square-parking-D_W7Uj87.js +0 -1
- package/dist/client/assets/square-parking-off-Csl3KvgW.js +0 -1
- package/dist/client/assets/square-pause-BG1h4WMt.js +0 -1
- package/dist/client/assets/square-pen-CYZRavlj.js +0 -1
- package/dist/client/assets/square-percent-3lpEb-JR.js +0 -1
- package/dist/client/assets/square-pi-DdgCDgcX.js +0 -1
- package/dist/client/assets/square-pilcrow-CuzPwRE4.js +0 -1
- package/dist/client/assets/square-play-Dc9Rl9dO.js +0 -1
- package/dist/client/assets/square-plus-DL6yIXTU.js +0 -1
- package/dist/client/assets/square-power-CA-GpUM7.js +0 -1
- package/dist/client/assets/square-radical-B-HaGJFA.js +0 -1
- package/dist/client/assets/square-round-corner-C8UCiDQ7.js +0 -1
- package/dist/client/assets/square-scissors-DpLr6L9V.js +0 -1
- package/dist/client/assets/square-sigma-fin_iEQH.js +0 -1
- package/dist/client/assets/square-slash-Bzd24-7s.js +0 -1
- package/dist/client/assets/square-split-horizontal-DuJE6KeV.js +0 -1
- package/dist/client/assets/square-split-vertical-CA9FKiyc.js +0 -1
- package/dist/client/assets/square-square-BgbLhoVV.js +0 -1
- package/dist/client/assets/square-stack-DmAvrlkG.js +0 -1
- package/dist/client/assets/square-star-DqbgVrdC.js +0 -1
- package/dist/client/assets/square-stop-sHpJT4tM.js +0 -1
- package/dist/client/assets/square-user-DUFbKX3u.js +0 -1
- package/dist/client/assets/square-user-round-HvUVKK4e.js +0 -1
- package/dist/client/assets/square-x-oBWZBJ_q.js +0 -1
- package/dist/client/assets/squares-exclude-DmvYetTU.js +0 -1
- package/dist/client/assets/squares-intersect-BXc7wNKI.js +0 -1
- package/dist/client/assets/squares-subtract-J6Vp-6BZ.js +0 -1
- package/dist/client/assets/squares-unite-DNV0CJ19.js +0 -1
- package/dist/client/assets/squircle-C33b4I4e.js +0 -1
- package/dist/client/assets/squircle-dashed-CiMbKU2i.js +0 -1
- package/dist/client/assets/squirrel-CFZcna2P.js +0 -1
- package/dist/client/assets/stamp-C4rJ9TNY.js +0 -1
- package/dist/client/assets/star-C4kgqyYU.js +0 -1
- package/dist/client/assets/star-half-B6IoB4vu.js +0 -1
- package/dist/client/assets/star-off-BL2PDgY7.js +0 -1
- package/dist/client/assets/stateDiagram-D77RDMKH-DX7SoCMv.js +0 -1
- package/dist/client/assets/stateDiagram-D77RDMKH-DX7SoCMv.js.br +0 -0
- package/dist/client/assets/stateDiagram-D77RDMKH-DX7SoCMv.js.gz +0 -0
- package/dist/client/assets/stateDiagram-v2-MP3YSRHH-4ataQb9Q.js +0 -1
- package/dist/client/assets/step-back-BNhumdus.js +0 -1
- package/dist/client/assets/step-forward-DmI8nMp5.js +0 -1
- package/dist/client/assets/stethoscope-CmIbyFps.js +0 -1
- package/dist/client/assets/sticker-Do5rw-uE.js +0 -1
- package/dist/client/assets/sticky-note-check-DeXTb8ZC.js +0 -1
- package/dist/client/assets/sticky-note-minus-BZE-rBho.js +0 -1
- package/dist/client/assets/sticky-note-off-CKhiEZKw.js +0 -1
- package/dist/client/assets/sticky-note-plus-DGln8enZ.js +0 -1
- package/dist/client/assets/sticky-note-rs1PbFl7.js +0 -1
- package/dist/client/assets/sticky-note-x-Dx9o4OK3.js +0 -1
- package/dist/client/assets/sticky-notes-DUvXoesM.js +0 -1
- package/dist/client/assets/stone-BVex181N.js +0 -1
- package/dist/client/assets/store-BXOlzUAR.js +0 -1
- package/dist/client/assets/stretch-horizontal-BqznTDa9.js +0 -1
- package/dist/client/assets/stretch-vertical-DsFVykUh.js +0 -1
- package/dist/client/assets/strikethrough-rstZz4lG.js +0 -1
- package/dist/client/assets/subscript-S-xpXgoD.js +0 -1
- package/dist/client/assets/sun-BpIFEHwf.js +0 -1
- package/dist/client/assets/sun-dim-BQvCPUOM.js +0 -1
- package/dist/client/assets/sun-medium-BiUO8q7d.js +0 -1
- package/dist/client/assets/sun-moon-Cu3dL7dj.js +0 -1
- package/dist/client/assets/sun-snow-ChSZpsX6.js +0 -1
- package/dist/client/assets/sunrise-CisMjd95.js +0 -1
- package/dist/client/assets/sunset-B_22heq3.js +0 -1
- package/dist/client/assets/superscript-CmzcLwzX.js +0 -1
- package/dist/client/assets/swatch-book-D_Zk5TBC.js +0 -1
- package/dist/client/assets/swimlanes-42K2YHIH-CYzB66x8.js +0 -1
- package/dist/client/assets/swimlanes-42K2YHIH-CYzB66x8.js.br +0 -0
- package/dist/client/assets/swimlanes-42K2YHIH-CYzB66x8.js.gz +0 -0
- package/dist/client/assets/swimlanesDiagram-VR7AAH4N-DBPhqkyw.js +0 -8
- package/dist/client/assets/swiper-BKOoQ1wE.js +0 -1
- package/dist/client/assets/swiper-BKOoQ1wE.js.br +0 -0
- package/dist/client/assets/swiper-BKOoQ1wE.js.gz +0 -0
- package/dist/client/assets/swiss-franc-CjQ1JiAk.js +0 -1
- package/dist/client/assets/switch-camera-DjKQirvQ.js +0 -1
- package/dist/client/assets/sword-Ct3qyKUI.js +0 -1
- package/dist/client/assets/swords-DBNAzq1m.js +0 -1
- package/dist/client/assets/syringe-Btu6lYVx.js +0 -1
- package/dist/client/assets/table-2-m_hP9hOZ.js +0 -1
- package/dist/client/assets/table-DHFLlZTQ.js +0 -1
- package/dist/client/assets/table-cells-merge-D0UmrTn-.js +0 -1
- package/dist/client/assets/table-cells-split-Bn9s9E1i.js +0 -1
- package/dist/client/assets/table-columns-split-CkWgT30M.js +0 -1
- package/dist/client/assets/table-of-contents-BOuYPrOE.js +0 -1
- package/dist/client/assets/table-properties-BRF9Mgft.js +0 -1
- package/dist/client/assets/table-rows-split-BqN3Wo-U.js +0 -1
- package/dist/client/assets/tablet-C3iJ1oJS.js +0 -1
- package/dist/client/assets/tablet-smartphone-CmctJR-i.js +0 -1
- package/dist/client/assets/tablets-e5nPHkZD.js +0 -1
- package/dist/client/assets/tag-DwTX4sOc.js +0 -1
- package/dist/client/assets/tags-VbpWWJc5.js +0 -1
- package/dist/client/assets/tally-1-BpBuW6rL.js +0 -1
- package/dist/client/assets/tally-2-BJmjdL-J.js +0 -1
- package/dist/client/assets/tally-3-Bkgpr4H4.js +0 -1
- package/dist/client/assets/tally-4-ph2mA-JC.js +0 -1
- package/dist/client/assets/tally-5-C8aZuhoY.js +0 -1
- package/dist/client/assets/tangent-C0UZ-0ES.js +0 -1
- package/dist/client/assets/target-DNj1Y9b_.js +0 -1
- package/dist/client/assets/telescope-C3YDiytT.js +0 -1
- package/dist/client/assets/tent-DRyi9GS2.js +0 -1
- package/dist/client/assets/tent-tree-DCwhSn1g.js +0 -1
- package/dist/client/assets/test-tube-Dy55ZECL.js +0 -1
- package/dist/client/assets/test-tube-diagonal-Bl9BcX7_.js +0 -1
- package/dist/client/assets/test-tubes-C6Xhba5M.js +0 -1
- package/dist/client/assets/text-align-center-CjWuGaBO.js +0 -1
- package/dist/client/assets/text-align-end-to8DdUzI.js +0 -1
- package/dist/client/assets/text-align-justify-CCO5jGHJ.js +0 -1
- package/dist/client/assets/text-align-start-DYPOooCt.js +0 -1
- package/dist/client/assets/text-cursor-BN9QUKuS.js +0 -1
- package/dist/client/assets/text-cursor-input-DT4GXCvr.js +0 -1
- package/dist/client/assets/text-initial-BhBREIf2.js +0 -1
- package/dist/client/assets/text-quote-DdCtt-cW.js +0 -1
- package/dist/client/assets/text-search-CjgBEJLQ.js +0 -1
- package/dist/client/assets/text-wrap-DOwj5fde.js +0 -1
- package/dist/client/assets/theater-B7J65flF.js +0 -1
- package/dist/client/assets/thermometer-DPR4m5YB.js +0 -1
- package/dist/client/assets/thermometer-snowflake-BCr9NMRJ.js +0 -1
- package/dist/client/assets/thermometer-sun-BlvyOBoP.js +0 -1
- package/dist/client/assets/thumbs-down-DG6-q0xf.js +0 -1
- package/dist/client/assets/thumbs-up-DmFFzuqc.js +0 -1
- package/dist/client/assets/ticket-CpV5uvDw.js +0 -1
- package/dist/client/assets/ticket-check-doA6-EvD.js +0 -1
- package/dist/client/assets/ticket-minus-B-zJ_atR.js +0 -1
- package/dist/client/assets/ticket-percent-COsbZ5BZ.js +0 -1
- package/dist/client/assets/ticket-plus-DpRyqA1s.js +0 -1
- package/dist/client/assets/ticket-slash-CdSw1AX1.js +0 -1
- package/dist/client/assets/ticket-x-DGLV2Ni2.js +0 -1
- package/dist/client/assets/tickets-3BEsfFc4.js +0 -1
- package/dist/client/assets/tickets-plane-BhaZU4kd.js +0 -1
- package/dist/client/assets/timeline-BGwN4Vyu.js +0 -1
- package/dist/client/assets/timeline-definition-24CTP7MA-CL5DmZ1B.js +0 -120
- package/dist/client/assets/timeline-definition-24CTP7MA-CL5DmZ1B.js.br +0 -0
- package/dist/client/assets/timeline-definition-24CTP7MA-CL5DmZ1B.js.gz +0 -0
- package/dist/client/assets/timer-DDaSrkmy.js +0 -1
- package/dist/client/assets/timer-off-8B0-Uol1.js +0 -1
- package/dist/client/assets/timer-reset-CKQw1zU7.js +0 -1
- package/dist/client/assets/toggle-left-MQHSLNsZ.js +0 -1
- package/dist/client/assets/toggle-right-DwBaUm-3.js +0 -1
- package/dist/client/assets/toilet-DMjnYqfb.js +0 -1
- package/dist/client/assets/tool-case-DuSJ_8yo.js +0 -1
- package/dist/client/assets/toolbox-C4vUn8bn.js +0 -1
- package/dist/client/assets/tornado-DqbkR-k-.js +0 -1
- package/dist/client/assets/torus-BvCKqmQ0.js +0 -1
- package/dist/client/assets/touchpad-B-otlKXj.js +0 -1
- package/dist/client/assets/touchpad-off-BWAcLoh9.js +0 -1
- package/dist/client/assets/towel-rack-BWmGHFN9.js +0 -1
- package/dist/client/assets/tower-control-QbhSbjHw.js +0 -1
- package/dist/client/assets/toy-brick-DB5AMlzT.js +0 -1
- package/dist/client/assets/tractor-CP4z8xa-.js +0 -1
- package/dist/client/assets/traffic-cone-Bfjgcizy.js +0 -1
- package/dist/client/assets/train-front-CH0uKMWK.js +0 -1
- package/dist/client/assets/train-front-tunnel-DYpYgx-R.js +0 -1
- package/dist/client/assets/train-track-EpCgf8mE.js +0 -1
- package/dist/client/assets/tram-front-UV1-NdU6.js +0 -1
- package/dist/client/assets/transgender-_Mp95Cif.js +0 -1
- package/dist/client/assets/trash-DnHpV5eF.js +0 -1
- package/dist/client/assets/tree-deciduous-Cfv8ngu7.js +0 -1
- package/dist/client/assets/tree-palm-CP84ionl.js +0 -1
- package/dist/client/assets/tree-pine-DlWFZ2KM.js +0 -1
- package/dist/client/assets/trees-DgfvEeYI.js +0 -1
- package/dist/client/assets/trending-down-C-XPQ9Fe.js +0 -1
- package/dist/client/assets/trending-up-D-1VOtR9.js +0 -1
- package/dist/client/assets/trending-up-down-zUGONN3M.js +0 -1
- package/dist/client/assets/triangle-Ck0u8HKk.js +0 -1
- package/dist/client/assets/triangle-alert-D5Ss6xU5.js +0 -1
- package/dist/client/assets/triangle-dashed-BemS2L3b.js +0 -1
- package/dist/client/assets/triangle-right-B-vtJJCX.js +0 -1
- package/dist/client/assets/trophy-DZGQ6u_s.js +0 -1
- package/dist/client/assets/truck-BaSTaK_M.js +0 -1
- package/dist/client/assets/truck-electric-B1lsjUHq.js +0 -1
- package/dist/client/assets/turkish-lira-D1QZ4neu.js +0 -1
- package/dist/client/assets/turntable-DVHUxSBh.js +0 -1
- package/dist/client/assets/turtle-B30EnPlV.js +0 -1
- package/dist/client/assets/tv-C4ClFeTT.js +0 -1
- package/dist/client/assets/tv-minimal-C-hsbsNh.js +0 -1
- package/dist/client/assets/tv-minimal-play-OQqHfLG7.js +0 -1
- package/dist/client/assets/type-Sabyhoxe.js +0 -1
- package/dist/client/assets/type-outline-BT-zSx7W.js +0 -1
- package/dist/client/assets/umbrella-MltK6RxT.js +0 -1
- package/dist/client/assets/umbrella-off-C9fywBYu.js +0 -1
- package/dist/client/assets/underline-KY3bVEfQ.js +0 -1
- package/dist/client/assets/undo-2-CFPf4IAP.js +0 -1
- package/dist/client/assets/undo-CqcxSOGW.js +0 -1
- package/dist/client/assets/undo-dot-CCeIjgGr.js +0 -1
- package/dist/client/assets/unfold-horizontal-CKMcQA2J.js +0 -1
- package/dist/client/assets/unfold-vertical-DX5ClJGf.js +0 -1
- package/dist/client/assets/ungroup-BxCF7z37.js +0 -1
- package/dist/client/assets/university-fRETNpZ6.js +0 -1
- package/dist/client/assets/unlink-2-FULXx2U9.js +0 -1
- package/dist/client/assets/unlink-parI45pG.js +0 -1
- package/dist/client/assets/unplug-DCyhEpG_.js +0 -1
- package/dist/client/assets/upload-BM668a58.js +0 -1
- package/dist/client/assets/usb-D0jeUIOr.js +0 -1
- package/dist/client/assets/use-gesture-react.esm-DZzh7s3A.js +0 -1
- package/dist/client/assets/use-gesture-react.esm-DZzh7s3A.js.br +0 -0
- package/dist/client/assets/use-gesture-react.esm-DZzh7s3A.js.gz +0 -0
- package/dist/client/assets/user-BXKqT6kD.js +0 -1
- package/dist/client/assets/user-check-xx3qUVm5.js +0 -1
- package/dist/client/assets/user-cog-C9GjKIpV.js +0 -1
- package/dist/client/assets/user-key-BIYVuok7.js +0 -1
- package/dist/client/assets/user-lock-Ct49ZY4X.js +0 -1
- package/dist/client/assets/user-minus-BNohEHV5.js +0 -1
- package/dist/client/assets/user-pen-BeNSW8Ua.js +0 -1
- package/dist/client/assets/user-plus-B_5YRcQr.js +0 -1
- package/dist/client/assets/user-round-check-DeSo4_Pi.js +0 -1
- package/dist/client/assets/user-round-cog-Dc75Ny71.js +0 -1
- package/dist/client/assets/user-round-key-ChfjDCjj.js +0 -1
- package/dist/client/assets/user-round-minus-Baz2v4fe.js +0 -1
- package/dist/client/assets/user-round-pen-BPbZ_BAI.js +0 -1
- package/dist/client/assets/user-round-plus-CYogJswI.js +0 -1
- package/dist/client/assets/user-round-search-BK5N6KMg.js +0 -1
- package/dist/client/assets/user-round-wcspdSzz.js +0 -1
- package/dist/client/assets/user-round-x-CxhhKkNX.js +0 -1
- package/dist/client/assets/user-search-BKjnVozO.js +0 -1
- package/dist/client/assets/user-star-C1m8obEl.js +0 -1
- package/dist/client/assets/user-x-BKVxKqlA.js +0 -1
- package/dist/client/assets/users-JGkKgs-L.js +0 -1
- package/dist/client/assets/users-round-D6vob9vq.js +0 -1
- package/dist/client/assets/utensils-BCwnhb8h.js +0 -1
- package/dist/client/assets/utensils-crossed-fa8MH7Gg.js +0 -1
- package/dist/client/assets/utility-pole-CcBI25_c.js +0 -1
- package/dist/client/assets/van-f3ObptlH.js +0 -1
- package/dist/client/assets/variable-BIizZ_xo.js +0 -1
- package/dist/client/assets/vault-CCaCqTm6.js +0 -1
- package/dist/client/assets/vector-square-T8KNtF5X.js +0 -1
- package/dist/client/assets/vegan-C3OCPQAN.js +0 -1
- package/dist/client/assets/venetian-mask-McLs0bSJ.js +0 -1
- package/dist/client/assets/vennDiagram-4TSXK5OY-aT2SK099.js +0 -34
- package/dist/client/assets/vennDiagram-4TSXK5OY-aT2SK099.js.br +0 -0
- package/dist/client/assets/vennDiagram-4TSXK5OY-aT2SK099.js.gz +0 -0
- package/dist/client/assets/venus-BlJl5kxc.js +0 -1
- package/dist/client/assets/venus-and-mars-BvbOlPli.js +0 -1
- package/dist/client/assets/vibrate-CxSIiG5U.js +0 -1
- package/dist/client/assets/vibrate-off-DoQTGsBJ.js +0 -1
- package/dist/client/assets/video-off-jNUV-7qp.js +0 -1
- package/dist/client/assets/videoCompression-D6Uc9zHk.js +0 -3
- package/dist/client/assets/videoCompression-D6Uc9zHk.js.br +0 -0
- package/dist/client/assets/videoCompression-D6Uc9zHk.js.gz +0 -0
- package/dist/client/assets/videotape-DBnWylQP.js +0 -1
- package/dist/client/assets/view-DxeCGOmC.js +0 -1
- package/dist/client/assets/voicemail-CNyVRpUw.js +0 -1
- package/dist/client/assets/volleyball-BXttZ5uj.js +0 -1
- package/dist/client/assets/volume-1-VpVwjqzR.js +0 -1
- package/dist/client/assets/volume-2-Dskdfz2t.js +0 -1
- package/dist/client/assets/volume-DcKN_-HM.js +0 -1
- package/dist/client/assets/volume-off-elkOUGzo.js +0 -1
- package/dist/client/assets/volume-x-BnMLD-vY.js +0 -1
- package/dist/client/assets/vote-D2pVhpRF.js +0 -1
- package/dist/client/assets/wallet-7scrdJtO.js +0 -1
- package/dist/client/assets/wallet-cards-DJM5JiqE.js +0 -1
- package/dist/client/assets/wallet-minimal-B3zf34XD.js +0 -1
- package/dist/client/assets/wallpaper-Drwa_0Rg.js +0 -1
- package/dist/client/assets/wand-BDIeppn4.js +0 -1
- package/dist/client/assets/wand-sparkles-B_2_UsyJ.js +0 -1
- package/dist/client/assets/wardleyDiagram-VM6X3IG4-C29juKVy.js +0 -78
- package/dist/client/assets/wardleyDiagram-VM6X3IG4-C29juKVy.js.br +0 -0
- package/dist/client/assets/wardleyDiagram-VM6X3IG4-C29juKVy.js.gz +0 -0
- package/dist/client/assets/warehouse-tgX2AJGy.js +0 -1
- package/dist/client/assets/washing-machine-BMXG7LUf.js +0 -1
- package/dist/client/assets/watch-f6K6iHpj.js +0 -1
- package/dist/client/assets/waves-arrow-down-CZg0-Yli.js +0 -1
- package/dist/client/assets/waves-arrow-up-DuyaWCMj.js +0 -1
- package/dist/client/assets/waves-horizontal-ymXLPtLG.js +0 -1
- package/dist/client/assets/waves-ladder-B-IiOTPe.js +0 -1
- package/dist/client/assets/waves-vertical-ms75TPBW.js +0 -1
- package/dist/client/assets/waypoints-4hEpbA0x.js +0 -1
- package/dist/client/assets/webcam-ClWWeN_K.js +0 -1
- package/dist/client/assets/webhook-BsO2qt-A.js +0 -1
- package/dist/client/assets/webhook-off-0hCkbYEx.js +0 -1
- package/dist/client/assets/weight-BDMhKvI-.js +0 -1
- package/dist/client/assets/weight-tilde-BVhcb7sp.js +0 -1
- package/dist/client/assets/wheat-Bdec2N8u.js +0 -1
- package/dist/client/assets/wheat-off-fkLRW9HX.js +0 -1
- package/dist/client/assets/whole-word-ChcLPeDm.js +0 -1
- package/dist/client/assets/wifi-BwKiRppO.js +0 -1
- package/dist/client/assets/wifi-cog-Dv8QIPJ_.js +0 -1
- package/dist/client/assets/wifi-high-C3epAEpa.js +0 -1
- package/dist/client/assets/wifi-low-Bv06IOCg.js +0 -1
- package/dist/client/assets/wifi-pen-CgO1NfDE.js +0 -1
- package/dist/client/assets/wifi-sync-D36O139F.js +0 -1
- package/dist/client/assets/wifi-zero-BZJOCCui.js +0 -1
- package/dist/client/assets/wind-3deh8244.js +0 -1
- package/dist/client/assets/wind-arrow-down-DDn5GlJK.js +0 -1
- package/dist/client/assets/wine-DmU-NjyI.js +0 -1
- package/dist/client/assets/wine-off-CO-sbK8Y.js +0 -1
- package/dist/client/assets/workflow-CagTlZo7.js +0 -1
- package/dist/client/assets/worm-D-1OMvqk.js +0 -1
- package/dist/client/assets/wrench-CqwGygfH.js +0 -1
- package/dist/client/assets/x-line-top-B8Dl4qL4.js +0 -1
- package/dist/client/assets/xychartDiagram-S5SC5T6Z-CTMfJFOl.js +0 -7
- package/dist/client/assets/xychartDiagram-S5SC5T6Z-CTMfJFOl.js.br +0 -0
- package/dist/client/assets/xychartDiagram-S5SC5T6Z-CTMfJFOl.js.gz +0 -0
- package/dist/client/assets/zap-B0ZzwMGW.js +0 -1
- package/dist/client/assets/zap-off-CwkVFQTB.js +0 -1
- package/dist/client/assets/zodiac-aquarius-DAfKUwTn.js +0 -1
- package/dist/client/assets/zodiac-aries-BdMZN853.js +0 -1
- package/dist/client/assets/zodiac-cancer-D4mpuRNf.js +0 -1
- package/dist/client/assets/zodiac-capricorn-CU-ZEBmp.js +0 -1
- package/dist/client/assets/zodiac-gemini-LKOw7HHF.js +0 -1
- package/dist/client/assets/zodiac-leo-C3hCn3qf.js +0 -1
- package/dist/client/assets/zodiac-libra-CPHfLkYD.js +0 -1
- package/dist/client/assets/zodiac-ophiuchus-DR9CKJyt.js +0 -1
- package/dist/client/assets/zodiac-pisces-DCAZzqyU.js +0 -1
- package/dist/client/assets/zodiac-sagittarius-1MdXxRUW.js +0 -1
- package/dist/client/assets/zodiac-scorpio-Co3m13os.js +0 -1
- package/dist/client/assets/zodiac-taurus-h7XfuLJH.js +0 -1
- package/dist/client/assets/zodiac-virgo-MSjt0Es3.js +0 -1
- package/dist/client/assets/zoom-in-Ali_pykk.js +0 -1
- package/dist/client/assets/zoom-out-DiCkL-lV.js +0 -1
|
@@ -1,1729 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ModelPreview-BNxu0pPx.js","assets/app-B_OmylJz.js","assets/dnd-CYu7YLJF.js","assets/terminal-DaiFCKy_.js","assets/index-CoINj2FB.css","assets/search-BGARRzJD.js","assets/eye-off-CSudqZ29.js","assets/eye-B57fQBXJ.js","assets/focus-D-yx2ysa.js","assets/undo-2-CFPf4IAP.js","assets/sun-BpIFEHwf.js","assets/moon-QF8GQCjD.js","assets/list-tree-DMDNAXBP.js","assets/layers-Czymb29T.js","assets/tag-DwTX4sOc.js","assets/scissors-Dm6G-udb.js","assets/minimize-C_OHMVa2.js","assets/maximize-pFyHksGp.js","assets/house-DLR9wTSW.js","assets/arrow-left-right-DffsT_SY.js","assets/quote-BWvUOnnV.js","assets/GitLoadingSkeleton-tccvfNb3.js","assets/panel-left-close-Btxh1v0x.js","assets/panel-left-open-BRIMimDI.js","assets/panel-right-close-BWf61nPB.js","assets/panel-right-open-mXti_QOp.js","assets/swiper-BKOoQ1wE.js","assets/swiper-C2J0D0kV.css","assets/MarkdownPreview-Csfa6Hf3.js","assets/Markdown-S7xL5nmy.js","assets/use-gesture-react.esm-DZzh7s3A.js","assets/referenceSelection-BwPYpkxM.js","assets/Markdown-DKQhs57e.css","assets/RecordingSaveDialog-C2TikK3E.js","assets/gestureArbiter-DszagC-d.js","assets/folder-tree-BE4FQau0.js","assets/funnel--jqowlwk.js","assets/DiffReview-4xvL0XxY.js","assets/list-CgcnoAd3.js","assets/DiffViewer-DD0BgVcO.js","assets/git-compare-DX93AND2.js","assets/link-PsE2B1x7.js","assets/DiffViewer-T3uj2-aP.css","assets/triangle-alert-D5Ss6xU5.js","assets/ChangeWalkthroughPanel-IIspo-kA.js","assets/chevron-left-BkvbCFBX.js","assets/minimize-2-G3GQQDbn.js","assets/maximize-2-BsdNAS61.js","assets/git-branch-DKw6uAID.js","assets/rotate-cw-1WPpuGIr.js","assets/pen-line-DQxZ3xR8.js","assets/send-DqsywP3v.js","assets/corner-down-left-BT0AMthg.js","assets/AndroidMirrorView-D3bN-zap.js","assets/v4-EwEgHOG0.js","assets/grip-vertical-CybJHhxF.js","assets/unplug-DCyhEpG_.js","assets/plug-Cr6cWsG5.js","assets/camera-BsjPxBYc.js","assets/square-BW93eCn3.js","assets/circle-D0SE5JRh.js","assets/monitor-smartphone-Bqlzv3Tl.js","assets/bell-CPYaFhhf.js","assets/volume-1-VpVwjqzR.js","assets/volume-2-Dskdfz2t.js","assets/power-ivt53AOK.js","assets/keyboard-3WVa2O9N.js","assets/minus-WIXRLSsO.js","assets/VideoPreviewPlayer-yh-Twjgl.js","assets/pause-HVW_U4sw.js","assets/play-Ck70BqdA.js","assets/scan-B6sbme2U.js","assets/arrow-down-B_vWM7IZ.js","assets/pencil-line-DViXYquK.js","assets/network-COQHQU4w.js","assets/upload-BM668a58.js","assets/image-plus-BGL6v5Sv.js","assets/sliders-horizontal-DtlYlBYp.js","assets/case-sensitive-Cavvy9st.js","assets/whole-word-ChcLPeDm.js","assets/regex-Bfnbcpgr.js","assets/archive-BPWURuEE.js","assets/ArchitecturePanel-CPoUC6V9.js","assets/link-D4yDVdfg.js","assets/history-DaJlHg1R.js","assets/purify.es-4eNOHKSq.js","assets/expand-vCWwfAkB.js","assets/arrow-down-left-D1OZUPIG.js","assets/ArchitecturePanel-B_BDrrfR.css","assets/ComputerControlView-BDo7UUGT.js","assets/zoom-out-DiCkL-lV.js","assets/zoom-in-Ali_pykk.js","assets/clipboard-bahKoMIa.js","assets/settings-2-DzB-wPdg.js","assets/mouse-pointer-2-C0OKFD6m.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{g4 as Qt,di as t,s as ma,d6 as nh,dK as eu,el as sh,g1 as ah,J as Qe,x as tu,F as oh,h as Es,ah as Jt,gi as _,eL as ih,a3 as ga,gs as Et,e5 as rt,c as ba,cD as ru,H as sd,C as Ts,g as xa,a9 as vo,fU as ua,fV as qi,aa as ad,ez as Ki,L as va,W as il,cZ as lh,aP as sa,c7 as ch,g5 as nu,q as Vi,o as su,r as au,g3 as dh,g8 as ou,d9 as uh,db as fh,dc as hh,dd as ph,da as aa,cm as mh,E as gh,N as bh,d3 as xh,e9 as vh,ec as yh,ed as wh,cQ as kh,ea as od,aO as wt,aG as iu,aI as Sh,v as Yi,K as Pi,aH as jh,f$ as Ei,cP as id,cg as ld,cd as Rh,cq as Ai,cr as cd,gt as ha,c0 as js,cs as Ch,dO as Nh,fC as dd,cj as Ph,fS as Eh,aQ as Ti,eS as Ah,gj as Cr,ef as Th,eE as on,aJ as Mh,aK as ud,cv as Lh,b3 as fd,b2 as Ih,ce as hd,ci as $h,co as pd,eV as Fh,ar as md,l as gd,U as Dh,T as bd,b as Bh,z as xd,P as vd,a2 as yd,w as wd,aL as Uh,gu as _h,ai as ll,eG as Oh,dV as Hh,gp as zh,dx as Wh,V as Gh}from"./app-B_OmylJz.js";import{S as qh,C as Kh,G as Vh}from"./GitLoadingSkeleton-tccvfNb3.js";import{u as cl,S as Yh,a as kd}from"./swiper-BKOoQ1wE.js";import{MarkdownPreview as lu}from"./MarkdownPreview-Csfa6Hf3.js";import{f as s,r as zn}from"./dnd-CYu7YLJF.js";import{u as Xh,F as cu,S as Jh}from"./RecordingSaveDialog-C2TikK3E.js";import Qh from"./funnel--jqowlwk.js";import{D as Xi,C as pa,f as Zh,n as ep}from"./DiffReview-4xvL0XxY.js";import dl from"./triangle-alert-D5Ss6xU5.js";import{C as du}from"./ChangeWalkthroughPanel-IIspo-kA.js";import tp from"./rotate-cw-1WPpuGIr.js";import{u as rp}from"./DiffViewer-DD0BgVcO.js";import{r as np,s as sp,l as ap,a as Sd,g as Ji,b as op,h as ip}from"./referenceSelection-BwPYpkxM.js";import lp from"./pen-line-DQxZ3xR8.js";import jd from"./send-DqsywP3v.js";import cp from"./corner-down-left-BT0AMthg.js";import{A as Mi,u as dp,d as up,i as Rd,b as fp}from"./AndroidMirrorView-D3bN-zap.js";import{V as hp}from"./VideoPreviewPlayer-yh-Twjgl.js";import pp from"./scan-B6sbme2U.js";import uu from"./minimize-2-G3GQQDbn.js";import ul from"./maximize-2-BsdNAS61.js";import ln from"./search-BGARRzJD.js";import{j as Li,Z as mp,F as gp,b as bp,_ as xp,c as vp,d as yp,e as wp,g as kp,f as Sp,h as jp,r as Rp,s as Cp}from"./Markdown-S7xL5nmy.js";import{A as Np}from"./use-gesture-react.esm-DZzh7s3A.js";import Pp from"./arrow-down-B_vWM7IZ.js";import Ep from"./list-tree-DMDNAXBP.js";import Qi from"./eye-B57fQBXJ.js";import Ap from"./eye-off-CSudqZ29.js";import Tp from"./house-DLR9wTSW.js";import Nr from"./git-branch-DKw6uAID.js";import Mp from"./pencil-line-DViXYquK.js";import Cd from"./network-COQHQU4w.js";import Lp from"./upload-BM668a58.js";import Ip from"./image-plus-BGL6v5Sv.js";import $p from"./sliders-horizontal-DtlYlBYp.js";import Fp from"./case-sensitive-Cavvy9st.js";import Dp from"./whole-word-ChcLPeDm.js";import Bp from"./regex-Bfnbcpgr.js";import fu from"./git-compare-DX93AND2.js";import Up from"./archive-BPWURuEE.js";function Nd({children:r,actions:a}){const{t:i}=Qt(),[c,h]=s.useState(!1),m=s.useId(),d=s.useRef(null),y=s.useRef(null),g=()=>{h(!1),d.current?.focus({preventScroll:!0})};return s.useLayoutEffect(()=>{if(!c)return;const k=d.current,w=y.current;if(!k||!w)return;const S=window.visualViewport,v=()=>{const N=k.getBoundingClientRect(),B=(S?.offsetLeft??0)+8,F=(S?.offsetTop??0)+8,Z=Math.max(0,(S?.width??window.innerWidth)-16),L=F+(S?.height??window.innerHeight)-16,q=Math.min(240,Z),ie=Math.max(0,N.top-F-6),Y=Math.max(0,L-N.bottom-6),ge=w.scrollHeight>Y&&ie>Y;Object.assign(w.style,{width:`${q}px`,left:`${Math.max(B,Math.min(N.right-q,B+Z-q))}px`,top:`${ge?N.top-6:N.bottom+6}px`,maxHeight:`${ge?ie:Y}px`,transform:ge?"translateY(-100%)":"none"})};v();const A=typeof ResizeObserver>"u"?null:new ResizeObserver(v);return A?.observe(k),A?.observe(w),window.addEventListener("resize",v),window.addEventListener("scroll",v,!0),S?.addEventListener("resize",v),S?.addEventListener("scroll",v),()=>{A?.disconnect(),window.removeEventListener("resize",v),window.removeEventListener("scroll",v,!0),S?.removeEventListener("resize",v),S?.removeEventListener("scroll",v)}},[c]),s.useEffect(()=>{if(!c)return;y.current?.querySelector("button:not(:disabled)")?.focus({preventScroll:!0});const k=w=>{w.target instanceof Node&&!d.current?.contains(w.target)&&!y.current?.contains(w.target)&&h(!1)};return document.addEventListener("pointerdown",k),()=>document.removeEventListener("pointerdown",k)},[c]),t.jsxs("div",{className:"mt-2",children:[t.jsxs("div",{className:"flex min-w-0 flex-wrap items-center gap-1.5",children:[r,t.jsxs("button",{ref:d,type:"button","aria-haspopup":"menu","aria-expanded":c,"aria-controls":c?m:void 0,onClick:()=>h(k=>!k),onKeyDown:k=>{(k.key==="ArrowDown"||k.key==="ArrowUp")&&(k.preventDefault(),h(!0))},className:`ml-auto inline-flex h-8 shrink-0 items-center gap-1.5 whitespace-nowrap rounded-md px-2 text-[11px] font-medium transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-primary ${c?"bg-surface-2 text-foreground":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,children:[t.jsx(ma,{size:14}),i("sidebar.moreActions")]})]}),typeof document<"u"&&zn.createPortal(t.jsx("div",{ref:y,id:m,hidden:!c,role:"menu","data-sidebar-gesture-ignore":!0,"aria-label":i("sidebar.moreActions"),className:"fixed z-menu-panel overflow-y-auto overscroll-contain rounded-lg border border-border/30 bg-surface p-1 shadow-[0_8px_24px_var(--app-shadow-soft)]",onKeyDown:k=>{if(!k.currentTarget.contains(k.target))return;const w=[...k.currentTarget.querySelectorAll("button:not(:disabled)")],S=w.indexOf(document.activeElement);let v;if(k.key==="Escape"){k.preventDefault(),k.stopPropagation(),g();return}if(k.key==="Tab"){g();return}if(k.key==="ArrowDown")v=(S+1)%w.length;else if(k.key==="ArrowUp")v=(S-1+w.length)%w.length;else if(k.key==="Home")v=0;else if(k.key==="End")v=w.length-1;else return;k.preventDefault(),w[v]?.focus({preventScroll:!0})},children:a(g)}),document.body)]})}const Ii="a[href],button,input,select,textarea,[tabindex],[contenteditable],iframe,summary,audio[controls],video[controls]",Rs=s.memo(function({active:a,mounted:i=!0,fallback:c=null,children:h}){const m=s.useRef(null);return s.useLayoutEffect(()=>{const d=m.current;if(!d||a)return;const y=new Map,g=S=>{y.has(S)||(y.set(S,S.inert),S.inert=!0)},k=S=>{S instanceof HTMLElement&&S.matches(Ii)&&g(S),S.querySelectorAll(Ii).forEach(g)};k(d);const w=new MutationObserver(S=>{for(const v of S)v.type==="attributes"?v.target instanceof HTMLElement&&v.target.matches(Ii)&&g(v.target):v.addedNodes.forEach(A=>{A instanceof Element&&k(A)})});return w.observe(d,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabindex","href","contenteditable","controls"]}),()=>{w.disconnect();for(const[S,v]of y)S.inert=v}},[a,i]),t.jsx("div",{ref:m,className:"absolute inset-0 min-h-0 overflow-hidden bg-surface text-foreground",style:a?void 0:{clipPath:"inset(100%)"},"aria-hidden":!a,children:i?typeof h=="function"?h():h:c})},(r,a)=>!r.active&&!a.active&&r.mounted===a.mounted);async function _p(r){let a;try{await Promise.race([r(),new Promise(i=>{a=setTimeout(i,3e3)})])}catch{}finally{clearTimeout(a)}}function Op({active:r,rootPath:a,loading:i,delay:c,lastStartedRoot:h,load:m}){s.useEffect(()=>{if(!r||!a||i||h.current===a)return;const d=window.setTimeout(()=>{h.current=a,m(a)},c);return()=>window.clearTimeout(d)},[r,a,i,c,h,m])}function Hp(r,a,i,c){if(!a||r.defaultPrevented||r.nativeEvent.isComposing||r.altKey||r.ctrlKey||r.metaKey||r.shiftKey||r.key!=="ArrowUp"&&r.key!=="ArrowDown")return;const h=r.target;if(!(h instanceof HTMLElement)||!r.currentTarget.contains(h)||!nh(h))return;const m=h.closest('button, a, input, textarea, select, [contenteditable]:not([contenteditable="false"]), [role="button"], [role="textbox"], [role="menu"], [role="listbox"], [role="slider"], [role="dialog"]');if(m&&!m.matches("[data-file-tree-path]")||window.getSelection()?.isCollapsed===!1)return;const d=Array.from(a.querySelectorAll("[data-file-tree-path]")).filter(S=>!S.closest('[hidden], [inert], [aria-hidden="true"]'));if(!d.some(S=>S.dataset.fileTreeType==="file"))return;const y=h.closest("[data-file-tree-path]"),g=d.findIndex(S=>y?S===y:S.dataset.fileTreePath===i),k=r.key==="ArrowDown"?1:-1;let w=g<0?k===1?0:d.length-1:g+k;for(r.preventDefault(),r.stopPropagation();w>=0&&w<d.length;w+=k){const S=d[w];if(S.dataset.fileTreeType==="file"){c(S.dataset.fileTreePath),a.contains(h)&&S.focus({preventScroll:!0}),S.scrollIntoView({block:"nearest",inline:"nearest"});return}}}function zp({rootPath:r,paths:a,disabled:i,onChange:c}){const{t:h}=Qt(),m=eu(r),d=Xh(m,m),y=d.path,g=sh(y,m)??"",{result:k,error:w,reload:S}=ah({path:y,showHidden:!0,action:"pick_git_ignore_exception"}),v=!!w,A=!!k,[N,B]=s.useState(!1),F=L=>d.navigate(L?`${m==="/"?"":m}/${L}`:m),Z=L=>{if(L.length>200){B(!0);return}B(!1),c(L)};return t.jsxs("div",{className:"flex flex-col gap-3",children:[t.jsxs("div",{className:"overflow-hidden rounded-lg border border-border/30 bg-surface-2",children:[t.jsxs("div",{className:"flex items-center gap-2 border-b border-border/20 p-2",children:[t.jsx(cu,{buttonClassName:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-muted-foreground hover:bg-surface-elevated hover:text-foreground disabled:opacity-30",parent:{disabled:i||!d.canGoParent,onClick:d.goParent},root:{disabled:i||!g,onClick:d.goRoot}}),t.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",title:y,children:g||"./"})]}),t.jsxs("div",{className:"h-56 overflow-y-auto overscroll-contain p-1",role:"group","aria-label":h("rightSidebar.gitIgnoreExceptionsPaths"),"aria-busy":!A&&!v,children:[v?t.jsxs("div",{className:"flex flex-col items-center gap-2 p-4 text-center text-xs",children:[t.jsx("p",{role:"alert",className:"text-destructive",children:h("rightSidebar.gitIgnoreExceptionsLoadFailed")}),t.jsx("button",{type:"button",disabled:i,onClick:S,className:"rounded-md px-3 py-2 text-primary hover:bg-surface-elevated disabled:opacity-40",children:h("common.retry")})]}):k?k.entries.length===0?t.jsx("p",{className:"p-4 text-center text-xs text-muted-foreground",children:h("rightSidebar.gitIgnoreExceptionsEmptyDirectory")}):k.entries.map(L=>{const q=g?`${g}/${L.name}`:L.name,ie=q+(L.type==="directory"?"/":""),Y=a.includes(ie)||a.includes(q),ge=a.some(K=>K.endsWith("/")&&q.startsWith(K)),o=L.type==="directory"?tu:oh;return t.jsxs("div",{className:"flex items-center gap-1 rounded-md hover:bg-surface-elevated",children:[t.jsxs("label",{className:"flex min-h-10 min-w-0 flex-1 cursor-pointer items-center gap-2 px-2 text-xs",children:[t.jsx("input",{type:"checkbox",checked:Y||ge,disabled:i||ge,onChange:()=>Z(Y?a.filter(K=>K!==ie&&K!==q):[...a,ie]),className:"h-4 w-4 shrink-0 accent-[var(--primary)] disabled:opacity-40"}),t.jsx(o,{size:14,className:"shrink-0 text-muted-foreground"}),t.jsx("span",{className:"truncate",title:L.name,children:L.name})]}),L.type==="directory"&&t.jsx("button",{type:"button",disabled:i,onClick:()=>F(q),"aria-label":h("rightSidebar.gitIgnoreExceptionsOpenDirectory",{name:L.name}),className:"inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-md text-muted-foreground hover:bg-surface hover:text-foreground disabled:opacity-40",children:t.jsx(Es,{size:15})})]},L.name)}):t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Qe,{size:18})}),k?.truncated&&t.jsx("p",{className:"px-2 py-3 text-xs text-muted-foreground",children:h("rightSidebar.gitIgnoreExceptionsTruncated")})]})]}),t.jsxs("div",{className:"flex items-center justify-between gap-2 text-xs",children:[t.jsx("span",{className:"font-medium",children:h("rightSidebar.gitIgnoreExceptionsSelected",{count:a.length})}),t.jsx("button",{type:"button",disabled:i||a.length===0,onClick:()=>Z([]),className:"rounded-md px-2 py-1 text-muted-foreground hover:bg-surface-2 hover:text-foreground disabled:opacity-40",children:h("rightSidebar.gitIgnoreExceptionsClear")})]}),a.length>0&&t.jsx("ul",{className:"max-h-24 overflow-y-auto overscroll-contain",children:a.map(L=>t.jsxs("li",{className:"flex items-center gap-2 rounded-md pl-2 text-xs hover:bg-surface-2",children:[t.jsx("span",{className:"min-w-0 flex-1 truncate font-mono",title:L,children:L}),t.jsx("button",{type:"button",disabled:i,onClick:()=>Z(a.filter(q=>q!==L)),"aria-label":h("rightSidebar.gitIgnoreExceptionsRemove",{path:L}),className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-muted-foreground hover:bg-surface-elevated hover:text-foreground disabled:opacity-40",children:t.jsx(Jt,{size:13})})]},L))}),N&&t.jsx("p",{role:"alert",className:"text-xs text-destructive",children:h("rightSidebar.gitIgnoreExceptionsInvalid")})]})}function Wp({rootPath:r,disabled:a,pressed:i,saving:c,onToggle:h}){const{t:m}=Qt(),d=s.useId(),y=s.useRef(null),g=s.useRef(null),k=s.useRef(null),w=s.useRef(null),S=s.useRef(!1),[v,A]=s.useState(!1),[N,B]=s.useState([]),[F,Z]=s.useState(!1),[L,q]=s.useState(null),ie=_(T=>T.setGitIgnoreExceptions),Y=()=>{k.current!==null&&clearTimeout(k.current),k.current=null,w.current=null},ge=()=>{Y(),!(a||F||!r)&&(B([..._.getState().gitIgnoreExceptions[r]??[]]),q(null),A(!0))},o=()=>{F||A(!1)},K=T=>{Y(),S.current=!1,!(T.button!==0||!T.isPrimary||a)&&(T.currentTarget.setPointerCapture(T.pointerId),w.current={x:T.clientX,y:T.clientY},k.current=setTimeout(()=>{S.current=!0,ge()},450))};s.useEffect(()=>(A(!1),Y(),Y),[r]),s.useEffect(()=>{if(v)return g.current?.focus(),()=>ih(y.current,g.current)},[v]);const te=m(i?"rightSidebar.showGitIgnoredFiles":"rightSidebar.hideGitIgnoredFiles");return t.jsxs(t.Fragment,{children:[t.jsx("button",{ref:y,type:"button",disabled:a||F,"aria-pressed":i,"aria-label":te,"aria-description":m("rightSidebar.gitIgnoreConfigureHint"),title:`${te} · ${m("rightSidebar.gitIgnoreConfigureHint")}`,onClick:T=>{if(S.current&&T.detail!==0){S.current=!1,T.preventDefault();return}h()},onContextMenu:T=>{T.preventDefault(),S.current=!0,v||ge()},onPointerDown:K,onPointerMove:T=>{const re=w.current;re&&Math.hypot(T.clientX-re.x,T.clientY-re.y)>10&&Y()},onPointerUp:Y,onPointerCancel:Y,onLostPointerCapture:Y,className:`inline-flex h-7 w-7 shrink-0 select-none items-center justify-center rounded-md transition active:scale-95 disabled:cursor-not-allowed disabled:opacity-35 [-webkit-touch-callout:none] ${i?"bg-surface-2 text-primary hover:bg-surface-elevated":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,children:c?t.jsx(Qe,{size:14}):t.jsx(Qh,{size:14})}),v&&zn.createPortal(t.jsx("div",{className:"fixed inset-0 z-modal-backdrop flex items-center justify-center bg-[var(--app-backdrop)] p-3 backdrop-blur-sm",onClick:o,children:t.jsxs("form",{ref:g,role:"dialog",tabIndex:-1,"aria-modal":"true","aria-labelledby":`${d}-title`,"aria-describedby":`${d}-hint`,className:"relative z-modal-panel flex max-h-[80dvh] w-full max-w-lg flex-col gap-3 overflow-y-auto rounded-xl border border-border/20 bg-surface p-4 text-foreground shadow-2xl",onClick:T=>T.stopPropagation(),onKeyDown:T=>{if(T.key==="Escape"&&(T.preventDefault(),T.stopPropagation(),o()),T.key==="Tab"){const re=Array.from(g.current?.querySelectorAll("button:not(:disabled), input:not(:disabled)")??[]);if(!re.length){T.preventDefault(),g.current?.focus();return}const ye=re[0],C=re[re.length-1];T.shiftKey&&document.activeElement===ye&&(T.preventDefault(),C?.focus()),document.activeElement===g.current?(T.preventDefault(),(T.shiftKey?C:ye)?.focus()):!T.shiftKey&&document.activeElement===C&&(T.preventDefault(),ye?.focus())}},onSubmit:T=>{if(T.preventDefault(),!(!r||F)){if(N.length>200){q(m("rightSidebar.gitIgnoreExceptionsInvalid"));return}Z(!0),q(null),ie(r,N).then(()=>A(!1)).catch(()=>q(m("rightSidebar.gitIgnoreExceptionsSaveFailed"))).finally(()=>Z(!1))}},children:[t.jsxs("div",{className:"flex items-center justify-between gap-3",children:[t.jsx("h2",{id:`${d}-title`,className:"text-sm font-medium",children:m("rightSidebar.gitIgnoreExceptionsTitle")}),t.jsx("button",{type:"button",disabled:F,onClick:o,"aria-label":m("common.close"),className:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground hover:bg-surface-2 hover:text-foreground disabled:opacity-40",children:t.jsx(Jt,{size:16})})]}),t.jsx("p",{className:"truncate text-xs text-muted-foreground",title:r??void 0,children:r}),t.jsx("p",{id:`${d}-hint`,className:"text-xs leading-relaxed text-muted-foreground",children:m("rightSidebar.gitIgnoreExceptionsHint")}),t.jsx("p",{className:"text-xs font-medium",children:m("rightSidebar.gitIgnoreExceptionsPaths")}),r&&t.jsx(zp,{rootPath:r,paths:N,onChange:B,disabled:F}),L&&t.jsx("p",{role:"alert",className:"text-xs text-destructive",children:L}),t.jsxs("div",{className:"flex justify-end gap-2",children:[t.jsx("button",{type:"button",disabled:F,onClick:o,className:"rounded-lg px-3 py-2 text-xs text-muted-foreground hover:bg-surface-2 disabled:opacity-40",children:m("common.cancel")}),t.jsxs("button",{type:"submit",disabled:F,className:"inline-flex items-center gap-2 rounded-lg bg-primary px-3 py-2 text-xs font-medium text-primary-foreground disabled:opacity-50",children:[F&&t.jsx(Qe,{size:13}),m("common.save")]})]})]})}),document.body)]})}function Gp(r,a,i){try{const c=r instanceof HTMLImageElement?r.naturalWidth:r.width,h=r instanceof HTMLImageElement?r.naturalHeight:r.height;if(!c||!h)return Promise.resolve(null);const m=r instanceof HTMLImageElement?1400/Math.max(c,h):Math.min(1,1400/Math.max(c,h)),d=document.createElement("canvas");d.width=Math.max(1,Math.round(c*m)),d.height=Math.max(1,Math.round(h*m));const y=d.getContext("2d");if(!y)return Promise.resolve(null);const g=getComputedStyle(document.documentElement);if(y.fillStyle=g.getPropertyValue("--surface").trim()||"white",y.fillRect(0,0,d.width,d.height),y.drawImage(r,0,0,d.width,d.height),i){const k=Math.max(10,Math.min(16,d.width/35));y.font=`${k}px sans-serif`;const w=[];let S="";for(const v of i.split(" "))S&&y.measureText(`${S} ${v}`).width>d.width-20?(w.push(S),S=v):S=S?`${S} ${v}`:v;S&&w.push(S),y.fillStyle=g.getPropertyValue("--surface").trim()||"white",y.fillRect(0,0,d.width,w.length*(k+4)+12),y.fillStyle=g.getPropertyValue("--foreground").trim()||"black",w.forEach((v,A)=>y.fillText(v,10,8+k+A*(k+4)))}if(a){const k=a.xPercent*d.width/100,w=a.yPercent*d.height/100,S=Math.max(4,Math.min(12,Math.min(d.width,d.height)*.015)),v=S*1.6;y.strokeStyle=g.getPropertyValue("--primary").trim()||"black",y.lineWidth=Math.max(1,S/3),y.beginPath(),y.arc(k,w,S,0,Math.PI*2),y.stroke(),y.beginPath(),y.moveTo(k-v,w),y.lineTo(k+v,w),y.moveTo(k,w-v),y.lineTo(k,w+v),y.stroke()}return new Promise(k=>d.toBlob(k,"image/png"))}catch{return Promise.resolve(null)}}function qp(r,a,i,c){return[r.trim(),a.trim(),c?`截图:${c}`:""].filter(Boolean).join(`
|
|
3
|
-
`)}function Ub(r,a,i){const c=a*Math.PI/360,h=Math.min(c,Math.atan(Math.tan(c)*Math.max(i,.05)));return Math.max(r,1e-6)/Math.sin(h)*1.15}async function Kp(r,a,i,c){if(!i?.snapshot)return c.isCurrent()?await c.insert(r,a):!1;const h=new Date().toISOString(),m=new AbortController;let d,y;try{y=await Promise.race([(async()=>{const g=await i.snapshot;if(!(!g||m.signal.aborted||!c.isCurrent()))return c.upload(new File([g],`termdock-review-${crypto.randomUUID()}.png`,{type:"image/png"}),m.signal)})(),new Promise(g=>{d=setTimeout(()=>{m.abort(),g(void 0)},3e3)})])}catch{}finally{clearTimeout(d),m.abort()}return c.isCurrent()?await c.insert(y?qp(r,"",h,y):r,a):!1}function Vp(r,a){return r===a||a.endsWith(`/${r}`)||r.endsWith(`/${a}`)}function Pd(r,a){return`${r??""}\0${a}`}function Yp(r,a,i){if(!r||r.length===0||!i)return{explained:0,stale:0};const c=Pd(a,i);let h=0,m=0;for(const d of r){const y=[d.filePath,d.newPath,d.oldPath].filter(k=>typeof k=="string"&&k.length>0);(y.some(k=>Pd(d.repoRoot,k)===c)||y.some(k=>Vp(k,i)))&&(h+=1)}return{explained:h,stale:m}}function Xp({status:r}){if(!r)return null;const a=r.stale>0&&r.explained===0;if(!(r.explained>0||r.stale>0))return null;const c=a?"AI audit explanation is stale":"AI audit explanation available";return t.jsx("span",{className:`inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full ${a?"bg-[color:var(--warning)]/15 text-[color:var(--warning)]":"bg-accent/10 text-accent"}`,title:c,"aria-label":c,children:a?t.jsx(dl,{size:10}):t.jsx(ga,{size:10})})}function Zi({changeStatus:r,auditStatus:a,renderChangeBadge:i}){return t.jsxs("span",{className:"inline-flex items-center gap-1",children:[i(r),t.jsx(Xp,{status:a})]})}const hu="termdock:right-sidebar:diff-change-list-mode:v1";function Jp(r){return r==="list"||r==="tree"}function Qp(){return rt(hu,Jp)??"tree"}function Zp(r){for(const a of r){const i=a.hunk;if(i.oldPath&&i.newPath&&i.oldPath!==i.newPath)return"renamed";if(i.oldPath===null&&i.newPath)return"added";if(i.oldPath&&i.newPath===null)return"deleted"}return"modified"}function em(r){const a=new Map;for(const c of r){const h=a.get(c.hunk.filePath)??{key:c.hunk.filePath,filePath:c.hunk.filePath,items:[],additions:0,deletions:0,explained:0,stale:0,changeType:"modified"};h.items.push(c),h.additions+=c.hunk.additions,h.deletions+=c.hunk.deletions,c.current&&(h.explained+=1),c.stale&&(h.stale+=1),a.set(c.hunk.filePath,h)}const i=Array.from(a.values()).sort((c,h)=>c.filePath.localeCompare(h.filePath));for(const c of i)c.changeType=Zp(c.items);return i}function tm(r){const a=r.filePath.split("/").pop()??r.filePath;return{key:r.key,path:r.filePath,displayName:a,displayDir:r.filePath.includes("/")?r.filePath.slice(0,-a.length-1):"",status:r.changeType,title:r.filePath}}function rm(r,a){const i=r.filter(m=>m.trim().length>0);if(i.length<=1)return i[0]??"";const c=[],h=new Set;for(const[m,d]of i.entries()){const y=d.split(`
|
|
4
|
-
`),g=y.findIndex(S=>S.startsWith("@@ "));if(g<0){c.push(...y);continue}m===0&&c.push(...y.slice(0,g));const k=a[m];let w=g;for(;w>=0&&w<y.length;){const S=y.findIndex((Z,L)=>L>w&&Z.startsWith("@@ ")),v=S>=0?S:y.length,A=y.slice(w,v),N=A[0]??"",B=k?N===k:!0,F=N||k||A.join(`
|
|
5
|
-
`);B&&!h.has(F)&&(c.push(...A),h.add(F)),w=S}}return c.join(`
|
|
6
|
-
`)}function nm({groups:r,onInsertDiffReference:a}){return r.map(i=>{const c=rm(i.items.map(g=>g.hunk.diff||g.current?.diff||g.stale?.diff||""),i.items.map(g=>g.hunk.hunkHeader)),h=i.items.map(g=>g.current??g.stale).filter(g=>!!g).map(g=>({id:g.id,repoRoot:g.repoRoot,filePath:g.filePath,oldPath:g.oldPath,newPath:g.newPath,hunkHeader:g.hunkHeader,hunkIndex:g.hunkIndex,fingerprint:g.fingerprint,diff:g.diff,explanation:g.explanation,summary:g.summary,workspaceRoot:g.workspaceRoot,generatedBy:g.generatedBy,injectedAt:g.injectedAt})),m=i.filePath.split("/").pop()??i.filePath,d=i.filePath.includes("/")?i.filePath.slice(0,-m.length-1):"",y=i.items[0]?.repoRoot??h[0]?.repoRoot??null;return{key:i.key,path:i.filePath,oldPath:i.items[0]?.hunk.oldPath??void 0,absolutePath:y?`${y}/${i.items[0]?.repositoryPath??i.filePath}`:i.filePath,status:i.changeType,repoRoot:y,displayName:m,displayDir:d,diffOverride:c,oldSourceRef:i.items[0]?.current?.headRef?`${i.items[0].current.baseRef}...${i.items[0].current.headRef}`:i.items[0]?.stale?.headRef?`${i.items[0].stale.baseRef}...${i.items[0].stale.headRef}`:void 0,previewReverts:Object.fromEntries(i.items.flatMap(g=>g.hunk.previewRevert?[[g.hunk.hunkHeader,g.hunk.previewRevert]]:[])),auditRecords:h,onInsertDiffReference:a}})}function sm(r,a,i){const c=Array.from(r.querySelectorAll("[data-diff-stream-item]"));if(c.length===0)return null;const m=r.getBoundingClientRect().top+48;let d=null,y=Number.POSITIVE_INFINITY;for(const k of c){const w=k.getBoundingClientRect();if(w.bottom<m)continue;const S=Math.abs(w.top-m);S<y&&(d=k,y=S)}const g=d?.dataset.diffSelectionPath??d?.dataset.diffStreamItem??null;return!g||g===a||i(g),g}function Ed({items:r,selectedKey:a,onSelect:i,emptyText:c,mobile:h=!1,backLabel:m="Back",headerTitle:d,headerMeta:y,onClose:g,closeLabel:k="Back",wrap:w=!0,diffViewType:S,inlineMode:v,viewControls:A,onToggleWrap:N,wrapTitle:B,wrapOnLabel:F="Wrap on",wrapOffLabel:Z="Wrap off",desktopLayout:L="split",onInsertDiffReference:q,onReferenceCopied:ie,renderPathReference:Y,insertedReferenceKey:ge,copiedReferenceKey:o,onClearAuditRecord:K,onRefresh:te,localOptions:T,onHunkGitAction:re,error:ye,refreshing:C,actionsBusy:he,refreshLabel:O,refreshTitle:ne,walkthroughs:se=[],onWalkthroughNavigate:E,initialDetailScrollTop:P,onDetailScrollPositionChange:J,scrollToKey:j,scrollToKeyNonce:de,externalSwiperRef:be,onMobileSlideChange:$}){const{t:ve}=Qt(),ke=s.useMemo(()=>em(r),[r]),Se=s.useMemo(()=>new Map(ke.map(H=>[H.key,H])),[ke]),[nt,st]=s.useState(()=>Qp()),[Ae,I]=s.useState(()=>new Set),[le,je]=s.useState({key:null,nonce:0}),X=ke.find(H=>H.explained>0||H.stale>0)?.key??ke[0]?.key??null,kt=a&&ke.some(H=>H.key===a)?a:X,Ne=s.useMemo(()=>[{key:"branch-audit",label:"Branch audit",files:ke.map(tm)}],[ke]),dr=s.useMemo(()=>nm({groups:ke,onInsertDiffReference:q}),[ke,q]),_e=s.useRef(X),Ar=s.useRef(i);_e.current=X,Ar.current=i,s.useEffect(()=>{!a&&_e.current&&Ar.current(_e.current)},[a]);const Wn=N?t.jsxs("button",{type:"button",onClick:N,"aria-pressed":w,title:B,className:`inline-flex h-7 shrink-0 items-center gap-1 rounded-full px-2.5 text-[11px] font-medium transition active:scale-95 ${w?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:text-foreground"}`,children:[t.jsx("span",{className:"font-mono text-[12px] leading-none",children:"Aa"}),t.jsx("span",{children:w?F:Z})]}):null,cn=T?.map(H=>t.jsxs("label",{title:H.disabled?ve("rightSidebar.includeUncommittedCurrentBranchOnly"):H.key,className:"inline-flex min-w-0 items-center gap-1.5 text-[11px] text-muted-foreground",children:[t.jsx("input",{type:"checkbox",checked:H.checked,disabled:C||he||H.disabled&&!H.checked,onChange:Oe=>H.onChange(Oe.target.checked),className:"accent-primary"}),t.jsxs("span",{children:[H.label," · ",ve("rightSidebar.includeUncommitted"),H.disabled&&t.jsx("span",{className:"block text-[10px]",children:ve("rightSidebar.includeUncommittedCurrentBranchOnly")})]})]},H.key)),pe=ye?t.jsx("div",{role:"alert",className:"w-full text-xs text-destructive",children:ye}):null,At=te?t.jsxs("button",{type:"button",onClick:te,disabled:C||he,title:ne??O,"aria-label":ne??O,className:"inline-flex h-7 shrink-0 items-center gap-1 rounded-full bg-surface-2 px-2.5 text-[11px] font-medium text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95 disabled:cursor-not-allowed disabled:opacity-60",children:[t.jsx(tp,{size:12,className:C?"animate-spin":""}),O&&t.jsx("span",{children:O})]}):null,dn=H=>t.jsxs("div",{className:"px-0 py-0",children:[t.jsxs("div",{className:"flex items-center justify-between gap-2",children:[t.jsxs("div",{className:"min-w-0",children:[d&&t.jsx("div",{className:"truncate text-[12px] font-semibold text-foreground",children:d}),y&&t.jsx("div",{className:"mt-0.5 truncate text-[10px] text-muted-foreground",children:y})]}),g&&t.jsxs("button",{type:"button",onClick:g,className:"inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full bg-surface-2 px-3 text-xs font-semibold text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95",children:[t.jsx(ba,{size:14}),k]})]}),t.jsxs("div",{className:"mt-2 flex min-w-0 flex-wrap items-center gap-1.5",children:[H,cn,At,A,Wn,pe]})]});if(r.length===0){const H=t.jsx("div",{className:"rounded-lg bg-surface-2 px-3 py-6 text-center text-xs text-muted-foreground",children:c});return!d&&!g?H:t.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-2",children:[dn(null),H]})}const Gr=N||te?({slideToList:H})=>t.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[t.jsxs("button",{type:"button",className:"inline-flex h-9 shrink-0 items-center gap-1.5 rounded-full bg-surface-2 px-3 text-xs font-semibold text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95",onClick:H,children:[t.jsx(ba,{size:14}),m]}),t.jsxs("div",{className:"flex min-w-0 flex-wrap items-center gap-2",children:[cn,At,A,N&&t.jsxs("button",{type:"button",onClick:N,"aria-pressed":w,title:B,className:`inline-flex h-9 shrink-0 items-center gap-1 rounded-full px-3 text-[11px] font-medium transition active:scale-95 ${w?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:text-foreground"}`,children:[t.jsx("span",{className:"font-mono text-[12px] leading-none",children:"Aa"}),t.jsx("span",{children:w?F:Z})]})]}),pe]}):void 0;return t.jsx(Xi,{mobile:h,preserveScrollOnUpdate:!!T?.length,desktopLayout:L,backLabel:m,groups:Ne,selectedKey:kt,mode:nt,onModeChange:H=>{st(H),H!=="ai"&&Et(hu,H)},compact:h,collapsedDirectoryKeys:Ae,onToggleDirectory:H=>{I(Oe=>{const Ie=new Set(Oe);return Ie.has(H)?Ie.delete(H):Ie.add(H),Ie})},onSelectFile:H=>{i(H.key),je(Oe=>({key:H.key,nonce:Oe.nonce+1}))},renderLeading:H=>{const Oe=Se.get(H.key);return t.jsx(Zi,{changeStatus:H.status,auditStatus:Oe,renderChangeBadge:Ie=>t.jsx(pa,{status:Ie})})},renderTrailing:H=>{const Oe=Se.get(H.key);return t.jsxs("span",{className:"flex shrink-0 items-center gap-1",children:[Oe&&t.jsxs("span",{className:"shrink-0 text-[10px] text-muted-foreground",children:["+",Oe.additions," -",Oe.deletions]}),Y?.(H.path,"file")]})},renderDirectoryTrailing:H=>Y?.(H,"directory"),renderListHeader:dn,aiContent:({slideToDetail:H,fullscreen:Oe,toggleFullscreen:Ie})=>se.length>0&&E?t.jsx(du,{walkthroughs:se,repoRoot:se[0]?.repoRoot,fullscreen:Oe,onToggleFullscreen:Ie,onNavigate:ur=>{h&&window.requestAnimationFrame(H),E(ur)}}):t.jsx("div",{className:"rounded-lg border border-border/15 bg-surface px-3 py-6 text-center text-xs text-muted-foreground",children:ve("rightSidebar.changeWalkthroughEmpty")}),renderMobileDetailHeader:Gr,externalSwiperRef:be,onMobileSlideChange:$,detailContainerClassName:h?"termdock-native-select termdock-diff-stream-scroller min-h-0":void 0,initialDetailScrollTop:P,scrollToKey:j??le.key,scrollToKeyNonce:j==null?le.nonce:de,onDetailScroll:H=>{sm(H,kt,i),J?.(H.scrollTop)},files:dr,activePane:!0,wrap:w,diffViewType:S,inlineMode:v,renderStreamBadge:(H,Oe)=>{const Ie=Se.get(Oe.key);return t.jsx(Zi,{changeStatus:H,auditStatus:Ie,renderChangeBadge:ur=>t.jsx(pa,{status:ur})})},onInsertDiffReference:q,onReferenceCopied:ie,insertedReferenceKey:ge,copiedReferenceKey:o,onClearAuditRecord:K,onHunkGitAction:C?void 0:re,emptyContent:t.jsx("div",{className:"rounded-lg bg-surface-2 px-3 py-6 text-center text-xs text-muted-foreground",children:c})})}function am(r){return r.replace(/\/+$/,"")||"/"}function om(r){return[...new Set(Array.from(r,am))].sort((a,i)=>a.localeCompare(i))}function im(r){return r==="event-storm"||r==="reconnected"||r==="directory-rescan"||r==="polling-fallback"}function lm(r){let a=null;return{applicableEvents:r.filter(c=>{const h=c.type==="rescan-required"&&!im(c.reason);return h&&c.reason&&!a&&(a=c.reason),!h}),unavailableReason:a}}const cm=1400,dm=1200,pu=44,um=.7;function $i(){return typeof window.matchMedia=="function"&&window.matchMedia("(pointer: coarse)").matches?"mobile":"desktop"}function el(r){return`termdock:right-sidebar:context-draft-height:${r}:v1`}function fm(r){try{const a=window.localStorage.getItem(el(r)),i=a===null?NaN:Number(a);return Number.isFinite(i)&&i>=pu?i:null}catch{return null}}function Ad(r,a){try{a===null?window.localStorage.removeItem(el(r)):window.localStorage.setItem(el(r),String(a))}catch{}}function po(){return typeof window.matchMedia=="function"&&window.matchMedia("(pointer: coarse)").matches}function hm({value:r,collapsed:a,labels:i,focusRequest:c,insertError:h,autoCollapseAfterSend:m,onChange:d,onCollapsedChange:y,onAutoCollapseAfterSendChange:g,onDisable:k,onClear:w,onInsert:S,onInsertAndSend:v}){const[A,N]=s.useState(null),[B,F]=s.useState(!1),Z=s.useRef(!1),L=s.useRef(!0),[q,ie]=s.useState(!1),[Y,ge]=s.useState(()=>fm($i())),o=s.useRef(Y),K=s.useRef(null),te=s.useRef(null),T=s.useRef(r),re=s.useRef(null),ye=s.useRef(null),C=!!r.trim(),he=r.trim().split(`
|
|
7
|
-
`)[0]??"",O=/Mac|iPhone|iPad/.test(window.navigator?.platform??"")?"⌘↵":"Ctrl+↵";s.useEffect(()=>(L.current=!0,()=>{L.current=!1,K.current!==null&&window.clearTimeout(K.current),te.current!==null&&window.clearTimeout(te.current)}),[]),s.useEffect(()=>{let I=!1;const le=$i();return ru().then(je=>{if(I)return;const X=je.contextDraftHeight?.[le]??null;Ad(le,X),o.current=X,ge(X)}).catch(()=>{}),()=>{I=!0}},[]),s.useEffect(()=>{if(c!==void 0&&c>0){const I=re.current;if(!I)return;po()||I.focus(),I.setSelectionRange(I.value.length,I.value.length),I.scrollTop=I.scrollHeight}},[c]),s.useEffect(()=>{const I=T.current;T.current=r,!(!a||r.length<=I.length)&&(ie(!0),te.current!==null&&window.clearTimeout(te.current),te.current=window.setTimeout(()=>{te.current=null,ie(!1)},dm))},[r,a]),s.useEffect(()=>{if(a)return;const I=re.current;I&&(I.style.height=Y!==null?`${Y}px`:"")},[r,a,Y]),s.useEffect(()=>{if(a)return;const I=re.current;!I||document.activeElement===I||(I.scrollTop=I.scrollHeight)},[r,a]),s.useEffect(()=>{if(a||po())return;const I=re.current;!I||document.activeElement===I||(I.focus(),I.setSelectionRange(I.value.length,I.value.length))},[a]);const ne=s.useRef(null);s.useLayoutEffect(()=>{if(!po())return;const I=window.visualViewport;if(!I)return;const le=()=>{const je=ne.current;if(!je)return;if(I.height>=window.innerHeight*.75){je.style.transform="";return}const X=je.getBoundingClientRect(),kt=Math.round(I.height-X.bottom);je.style.transform=kt!==0?`translateY(${kt}px)`:""};return le(),I.addEventListener("resize",le),I.addEventListener("scroll",le),()=>{I.removeEventListener("resize",le),I.removeEventListener("scroll",le),ne.current&&(ne.current.style.transform="")}},[a]);const se=I=>{N(I),K.current!==null&&window.clearTimeout(K.current),K.current=window.setTimeout(()=>{K.current=null,N(null)},cm)},E=I=>{y(!1),po()&&window.requestAnimationFrame(()=>{const le=re.current;if(!le)return;le.focus();const je=le.value.length;le.setSelectionRange(je,je),window.requestAnimationFrame(()=>{le.setSelectionRange(je,je)})})},P=async(I,le)=>{if(!(!C||Z.current)){Z.current=!0,F(!0),N(null);try{await(I==="sent"?v(le):S(le))&&L.current&&se(I)}catch{}finally{Z.current=!1,L.current&&F(!1)}}},J=I=>{P("inserted",I.currentTarget)},j=I=>{P("sent",I.currentTarget)},de=I=>{if(I.key==="Escape"){I.preventDefault(),y(!0);return}I.nativeEvent.isComposing||I.keyCode===229||I.key!=="Enter"||!I.metaKey&&!I.ctrlKey||(I.preventDefault(),j(I))},be=I=>{I.preventDefault()},$=cl(()=>{ye.current&&(ye.current=null)}),ve=I=>{I.preventDefault();const le=re.current;le&&($(I),ye.current={startY:I.clientY,startHeight:le.getBoundingClientRect().height},I.currentTarget.setPointerCapture?.(I.pointerId))},ke=I=>{const le=ye.current;if(!le)return;const je=window.visualViewport?.height??window.innerHeight,X=Math.round(Math.min(Math.max(le.startHeight+(le.startY-I.clientY),pu),je*um));o.current=X,ge(X)},Se=I=>{const le=$i();Ad(le,I),ua({contextDraftHeight:{[le]:I}}).catch(()=>{})},nt=()=>{ye.current&&(ye.current=null,o.current!==null&&Se(o.current))},st=()=>{o.current=null,ge(null),Se(null)},Ae=r.length>0&&t.jsx("span",{className:"shrink-0 font-mono text-[10px] tabular-nums text-muted-foreground/50",children:i.characterCount(r.length)});return a?t.jsx("section",{ref:ne,className:"shrink-0 border-t border-border/15 text-foreground","data-context-draft-dock":!0,children:t.jsxs("div",{className:"flex h-8 items-center gap-1 px-2",children:[t.jsxs("button",{type:"button",onClick:()=>E(),className:"group flex min-w-0 flex-1 items-center gap-1.5 rounded-md px-1 py-1 text-left transition-colors hover:bg-surface/70","aria-expanded":!1,"aria-label":i.expand,title:i.expand,children:[t.jsx(lp,{size:11,className:"shrink-0 text-muted-foreground/55 transition-colors group-hover:text-muted-foreground","aria-hidden":"true"}),t.jsx("span",{className:`truncate text-[11px] ${h?"text-destructive":q?"text-primary":C?"text-foreground/80":"text-muted-foreground/50"}`,children:h??(q?i.appended:C?he:i.title)})]}),Ae,t.jsx("button",{type:"button",onClick:j,disabled:!C,"aria-busy":B,className:`inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-full transition active:scale-95 disabled:opacity-30 ${C?"bg-primary text-primary-foreground hover:bg-primary/90":"text-muted-foreground"}`,"aria-label":i.send,title:i.send,children:B?t.jsx(sd,{size:12,className:"animate-spin"}):A==="sent"?t.jsx(Ts,{size:12}):t.jsx(jd,{size:12})})]})}):t.jsxs("section",{ref:ne,className:"relative shrink-0 border-t border-border/15 text-foreground","data-context-draft-dock":!0,children:[t.jsx("div",{className:"group absolute left-1/2 top-0 z-10 flex h-3 w-16 -translate-x-1/2 -translate-y-1/2 cursor-ns-resize touch-none items-center justify-center",onPointerDown:ve,onPointerMove:ke,onPointerUp:nt,onPointerCancel:nt,onDoubleClick:st,title:i.resize,"aria-hidden":"true",children:t.jsx("span",{className:"h-1 w-8 rounded-full bg-border/50 transition group-hover:bg-border"})}),t.jsxs("div",{className:"flex h-7 items-center gap-0.5 px-2",children:[t.jsxs("button",{type:"button",onPointerDown:be,onClick:()=>y(!0),className:"group flex min-w-0 flex-1 items-center gap-1.5 rounded-md px-1 py-1 text-left transition-colors hover:bg-surface/70","aria-expanded":!0,"aria-label":i.collapse,title:i.collapse,children:[t.jsx(xa,{size:11,className:"shrink-0 text-muted-foreground/55 transition-colors group-hover:text-muted-foreground","aria-hidden":"true"}),t.jsx("span",{className:"truncate text-[10px] font-medium text-foreground/75",children:i.title}),Ae]}),t.jsx("button",{type:"button",role:"switch","aria-checked":m,onPointerDown:be,onClick:()=>g(!m),className:"inline-flex h-6 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground/70 transition-colors hover:bg-surface/70 hover:text-foreground","aria-label":i.autoCollapseAfterSend,title:i.autoCollapseAfterSend,children:t.jsx("span",{"aria-hidden":"true",className:`relative h-3 w-5 rounded-full transition-colors ${m?"bg-primary":"bg-surface-elevated"}`,children:t.jsx("span",{className:`absolute top-0.5 h-2 w-2 rounded-full bg-primary-foreground transition-transform ${m?"translate-x-2.5":"translate-x-0.5"}`})})}),t.jsx("button",{type:"button",onPointerDown:be,onClick:k,className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground/50 transition hover:bg-surface/70 hover:text-foreground active:scale-95","aria-label":i.disable,title:i.disable,children:t.jsx(Jt,{size:11})})]}),t.jsx("div",{className:"px-2 pb-2",children:t.jsxs("div",{className:"overflow-hidden rounded-lg bg-surface/80 ring-1 ring-border/10 transition focus-within:ring-primary/35",children:[t.jsx("textarea",{ref:re,value:r,onChange:I=>d(I.target.value),onKeyDown:de,placeholder:i.title,rows:1,className:"block min-h-11 w-full resize-none bg-transparent px-2.5 py-2 font-mono text-[12px] leading-relaxed text-foreground placeholder:text-muted-foreground/30 focus:outline-none",autoCapitalize:"sentences",spellCheck:!0,"data-context-draft-input":!0}),t.jsxs("div",{className:"flex items-center gap-0.5 border-t border-border/10 px-1 py-1",children:[t.jsx("button",{type:"button",onPointerDown:be,onClick:w,disabled:!C,className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground/65 transition hover:bg-surface-2 hover:text-foreground active:scale-95 disabled:opacity-30","aria-label":i.clear,title:i.clear,children:t.jsx(vo,{size:11})}),h?t.jsx("span",{className:"min-w-0 flex-1 truncate px-1 text-[10px] text-destructive",role:"alert",children:h}):t.jsx("span",{className:"flex-1"}),t.jsxs("button",{type:"button",onPointerDown:be,onClick:J,disabled:!C,"aria-busy":B,className:"inline-flex h-6 shrink-0 items-center justify-center gap-1 rounded-md px-2 text-[10px] font-medium text-foreground/75 transition hover:bg-surface-2 hover:text-foreground active:scale-[0.98] disabled:opacity-30",children:[t.jsx(cp,{size:11}),t.jsx("span",{children:B?i.pending??i.insert:A==="inserted"?i.inserted:i.insert})]}),t.jsxs("button",{type:"button",onPointerDown:be,onClick:j,disabled:!C,"aria-busy":B,className:"inline-flex h-6 shrink-0 items-center justify-center gap-1 rounded-md bg-primary px-2 text-[10px] font-semibold text-primary-foreground transition hover:bg-primary/90 active:scale-[0.98] disabled:opacity-30",title:`${i.insertAndSend} · ${O}`,children:[B?t.jsx(sd,{size:11,className:"animate-spin"}):A==="sent"?t.jsx(Ts,{size:11}):t.jsx(jd,{size:11}),t.jsx("span",{children:A==="sent"?i.sent:i.send})]})]})]})})]})}function pm(r,a){const i=a.trim();if(!i)return r;if(!r.trim())return i;const c=r.endsWith(`
|
|
8
|
-
|
|
9
|
-
`)?"":r.endsWith(`
|
|
10
|
-
`)?`
|
|
11
|
-
`:`
|
|
12
|
-
|
|
13
|
-
`;return`${r}${c}${i}`}function mm(r,a){const i=r.trim();return i?a?`${i}\r`:/\s$/.test(r)?r:`${i} `:""}function gm(r,a){return{text:mm(r,a),options:{paste:/[\r\n]/.test(r),submitAfterPaste:a}}}function bm(r){const[a,i]=s.useState(null),c=s.useRef(null),h=s.useRef(null),m=s.useRef(!0),d=s.useRef(r);d.current=r,s.useEffect(()=>(m.current=!0,()=>{m.current=!1,c.current?.controller.abort()}),[]);const y=s.useCallback(async v=>{if(c.current)return!1;c.current=v,h.current=v;const A=N=>{v.task={...v.task,...N},m.current&&c.current===v&&i(v.task)};A({status:v.task.retryFiles.length?"uploading":"inserting",error:void 0});try{if(v.task.retryFiles.length){const N=await qi(v.task.directory,v.task.retryFiles,v.controller.signal);if(A({uploaded:[...v.task.uploaded,...N.files]}),d.current(v.task.directory),N.files.length!==v.task.retryFiles.length){const B=new Set(N.results?.filter(F=>F.status==="uploaded").map(F=>F.index)??[]);throw A({retryFiles:N.results?v.task.retryFiles.filter((F,Z)=>!B.has(Z)):[]}),new Error("Incomplete upload result. Check the saved paths before retrying.")}A({retryFiles:[]})}if(v.controller.signal.aborted)throw new DOMException("Upload canceled","AbortError");if(v.insert){A({status:"inserting"});const N=v.task.uploaded[0]?.path;if(!N||!v.isCurrent?.()||!await v.insert(N)||!v.isCurrent?.()||v.controller.signal.aborted)return A({status:"error",error:"reference"}),!1}return A({status:"done"}),!0}catch(N){if(N instanceof ad&&N.result?.files.length){const B=new Set(N.result.results?.filter(F=>F.status==="uploaded").map(F=>F.index)??[]);A({uploaded:[...v.task.uploaded,...N.result.files],retryFiles:N.result.results?v.task.retryFiles.filter((F,Z)=>!B.has(Z)):[]}),d.current(v.task.directory)}return A({status:v.controller.signal.aborted?"canceled":"error",error:N instanceof ad&&N.code==="UPLOAD_LIMIT"?"UPLOAD_LIMIT":N instanceof Error?N.message:String(N)}),!1}finally{c.current===v&&(c.current=null)}},[]),g=s.useCallback((v,A,N,B)=>A.length?y({task:{kind:N?"image":"files",directory:v,files:A,retryFiles:A,uploaded:[],status:"uploading"},controller:new AbortController,insert:N,isCurrent:B}):Promise.resolve(!1),[y]),k=s.useCallback(()=>{const v=h.current;if(!v||c.current||!v.insert&&!v.task.retryFiles.length)return Promise.resolve(!1);const A={...v,controller:new AbortController,task:{...v.task}};return y(A)},[y]),w=s.useCallback(()=>{const v=c.current;!v||v.task.status!=="uploading"||v.controller.abort()},[]),S=s.useCallback(()=>{c.current||(h.current=null,i(null))},[]);return{task:a,start:g,retry:k,cancel:w,dismiss:S,busy:a?.status==="uploading"||a?.status==="inserting"}}function xm({task:r,labels:a,onCancel:i,onRetry:c,onDismiss:h}){const m=r.status==="uploading"||r.status==="inserting",d=r.error==="reference"?a.referenceRejected:r.error==="UPLOAD_LIMIT"?a.limit:r.status==="error"?`${a.failed}: ${r.error??""}`:a[r.status],y=r.status==="error"&&(r.kind==="image"&&r.uploaded.length>0||r.retryFiles.length>0&&r.retryFiles.length<=50);return t.jsxs("section",{className:"shrink-0 border-t border-border/20 bg-surface/80 px-3 py-2 text-xs","data-sidebar-upload-status":!0,"aria-busy":m,children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("span",{className:`min-w-0 flex-1 break-words ${r.status==="error"?"text-destructive":"text-foreground"}`,role:r.status==="error"?"alert":"status",children:d}),r.status==="uploading"&&t.jsx("button",{type:"button",className:"shrink-0 rounded bg-surface-2 px-2 py-1 hover:bg-surface-elevated",onClick:i,children:a.cancel}),y&&t.jsx("button",{type:"button",className:"shrink-0 rounded bg-surface-2 px-2 py-1 hover:bg-surface-elevated",onClick:c,children:a.retry}),!m&&t.jsx("button",{type:"button",className:"shrink-0 rounded px-2 py-1 text-muted-foreground hover:bg-surface-2",onClick:h,"aria-label":a.dismiss,children:"×"})]}),t.jsx("div",{className:"mt-1 truncate text-muted-foreground",title:r.directory,children:r.directory}),t.jsxs("details",{className:"mt-1 min-w-0 text-muted-foreground",children:[t.jsxs("summary",{className:"cursor-pointer truncate",children:[a.files," · ",r.files[0]?.name]}),t.jsxs("ul",{className:"mt-1 max-h-24 overflow-y-auto font-mono text-[10px]",children:[r.files.map((g,k)=>t.jsx("li",{className:"break-all",children:g.name},`${k}:${g.name}`)),r.uploaded.map(g=>t.jsx("li",{className:"break-all text-foreground",children:g.path},g.path))]})]})]})}function vm(r){const a=s.useRef(r),i=s.useRef(0);(a.current.text!==r.text||a.current.sessionId!==r.sessionId||a.current.active!==r.active)&&(i.current+=1),a.current=r;const c=s.useRef(!0),h=s.useRef(!1);return s.useEffect(()=>(c.current=!0,()=>{c.current=!1,i.current+=1}),[]),s.useCallback(async(m,d)=>{if(h.current||!a.current.active)return!1;const y=a.current,g=i.current,{text:k,options:w}=gm(y.text,m);if(!k)return!1;h.current=!0;try{const S=await Ki(k,y.sessionId,()=>c.current&&a.current.active&&a.current.sessionId===y.sessionId,d,w),v=c.current&&g===i.current;return v&&(S?a.current.onAccepted():a.current.onRejected()),S&&v}finally{h.current=!1}},[])}const tl="termdock:right-sidebar:html-view-mode-by-file:v1";function ym(r){return r==="preview"||r==="source"}function mu(r){return!r||typeof r!="object"||Array.isArray(r)?!1:Object.values(r).every(ym)}function gu(r,a){if(!a)return null;const i=r&&!a.startsWith("/")?`${r}/${a}`:a;return r?`${r}::${i}`:i}function Td(r,a){const i=gu(r,a);return i?rt(tl,mu)?.[i]??"source":"source"}function wm(r,a,i){const c=gu(r,a);if(!c)return;const h=rt(tl,mu)??{};Et(tl,{...h,[c]:i})}function km(r){const a=Math.max(0,Math.min(100,r.xPercent)),i=Math.max(0,Math.min(100,r.yPercent));return{...a<=50?{left:`calc(${a}% + 8px)`}:{right:`calc(${100-a}% + 8px)`},...i<=50?{top:`calc(${i}% + 8px)`}:{bottom:`calc(${100-i}% + 8px)`}}}function Ro({anchor:r,children:a,disabled:i=!1,onClick:c,title:h}){return t.jsxs("button",{type:"button","data-floating-annotation-button":!0,disabled:i,onClick:m=>{m.stopPropagation(),c(m.currentTarget)},title:h,style:km(r),className:"absolute z-30 inline-flex h-7 items-center gap-1 rounded-full bg-primary px-3 text-[11px] font-semibold text-primary-foreground shadow-lg ring-1 ring-primary/30 transition hover:bg-primary/90 active:scale-95 disabled:cursor-wait disabled:opacity-50",children:[t.jsx(va,{size:11}),a]})}function Sm(r,a,i,c){if(i.width<=0||i.height<=0||c.width<=0||c.height<=0)return null;const h=Math.min(i.width/c.width,i.height/c.height);if(!Number.isFinite(h)||h<=0)return null;const m=c.width*h,d=c.height*h,y=i.left+(i.width-m)/2,g=i.top+(i.height-d)/2,k=r-y,w=a-g;if(k<0||w<0||k>m||w>d)return null;const S=k/m*100,v=w/d*100;return{x:c.x+c.width*S/100,y:c.y+c.height*v/100,xPercent:S,yPercent:v}}function jm(r,a,i){const c=[`SVG标注: ${r}`,`视图: ${a}`,`SVG坐标: (${i.x.toFixed(2)},${i.y.toFixed(2)}) [viewBox坐标]`,`图片位置: (${i.xPercent.toFixed(1)}%,${i.yPercent.toFixed(1)}%) [相对内容边界左上角]`];return i.nearestText&&c.push(`最近文字: ${i.nearestText}`),`"${c.join(" / ")}"`}function Rm(r){const a=new DOMParser().parseFromString(r,"image/svg+xml"),i=a.documentElement;if(i.nodeName.toLowerCase()!=="svg"||a.querySelector("parsererror"))throw new Error("Invalid SVG document");return a.querySelectorAll("script,foreignObject,iframe,object,embed").forEach(c=>c.remove()),a.querySelectorAll("*").forEach(c=>{for(const h of Array.from(c.attributes)){const m=h.name.toLowerCase(),d=h.value.trim();(m.startsWith("on")||(m==="href"||m.endsWith(":href"))&&d&&!d.startsWith("#"))&&c.removeAttribute(h.name)}}),i.removeAttribute("width"),i.removeAttribute("height"),i.setAttribute("preserveAspectRatio","xMidYMid meet"),new XMLSerializer().serializeToString(i)}function Cm(r,a,i){let c=null;for(const h of Array.from(r.querySelectorAll("text"))){const m=(h.textContent??"").replace(/\s+/g," ").trim();if(!m)continue;const d=Number(h.getAttribute("x")),y=Number(h.getAttribute("y"));if(!Number.isFinite(d)||!Number.isFinite(y))continue;const g=Math.hypot(d-a,y-i);(!c||g<c.distance)&&(c={text:m,distance:g})}return c?.text.slice(0,120)}function bu({blobUrl:r,filePath:a,viewLabel:i,onInsertAnnotation:c}){const h=s.useRef(null),m=s.useRef(null),[d,y]=s.useState(null),[g,k]=s.useState(null),[w,S]=s.useState(1),[v,A]=s.useState(!1),[N,B]=s.useState(null),F=s.useRef(new Map),Z=s.useRef(null),L=s.useRef(!1),q=s.useRef(null),ie=s.useRef(w);ie.current=w,s.useEffect(()=>{const E=new AbortController;return y(null),k(null),B(null),S(1),fetch(r,{signal:E.signal}).then(P=>P.text()).then(P=>y(Rm(P))).catch(P=>{E.signal.aborted||k(P instanceof Error?P.message:"SVG preview failed")}),()=>E.abort()},[r]),s.useEffect(()=>{if(!v)return;const E=P=>{P.key==="Escape"&&A(!1)};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[v]),s.useLayoutEffect(()=>{const E=m.current,P=E?.querySelector("[data-svg-document] > svg");if(!E||!P)return;let J;try{J=P.getBBox()}catch{return}if(!J.width||!J.height)return;const j=Math.max(2,Math.min(J.width,J.height)*.025);P.setAttribute("viewBox",`${J.x-j} ${J.y-j} ${J.width+2*j} ${J.height+2*j}`),P.style.width=`${w*100}%`,P.style.height=`${w*100}%`,P.style.minWidth=`${w*100}%`,P.style.minHeight=`${w*100}%`,P.style.display="block"},[d,w]);const Y=s.useMemo(()=>N?jm(a,i,N):null,[a,N,i]),ge=E=>{if(L.current){L.current=!1;return}const P=m.current,J=P?.querySelector("[data-svg-document] > svg"),j=h.current;if(!P||!J||!j)return;const de=J.viewBox.baseVal,be=Sm(E.clientX,E.clientY,J.getBoundingClientRect(),de);if(!be)return;const $=j.getBoundingClientRect();B({...be,nearestText:Cm(J,be.x,be.y),stageX:E.clientX-$.left,stageY:E.clientY-$.top,stageXPercent:(E.clientX-$.left)/$.width*100,stageYPercent:(E.clientY-$.top)/$.height*100})},o=E=>Math.max(1,Math.min(12,E)),K=(E,P)=>{const J=o(P),j=E.querySelector("[data-svg-document] > svg");if(!j)return J;const de=`${J*100}%`;return j.style.width=de,j.style.height=de,j.style.minWidth=de,j.style.minHeight=de,ie.current=J,J},te=(E,P,J,j)=>{const de=ie.current,be=E.getBoundingClientRect(),$=J-be.left,ve=j-be.top,ke=(E.scrollLeft+$)/de,Se=(E.scrollTop+ve)/de,nt=K(E,P);return E.scrollLeft=ke*nt-$,E.scrollTop=Se*nt-ve,nt},T=()=>{const E=Array.from(F.current.values());return E.length>=2?Math.hypot(E[0].x-E[1].x,E[0].y-E[1].y):0},re=cl((E,P)=>{F.current.delete(P)&&(Z.current=null,L.current=!0)},!0),ye=E=>{if(E.pointerType==="mouse"&&E.button!==0)return;const P=m.current;P&&(re(E),F.current.set(E.pointerId,{x:E.clientX,y:E.clientY}),P.setPointerCapture?.(E.pointerId),F.current.size>=2?(Z.current={kind:"pinch",startX:E.clientX,startY:E.clientY,startScrollLeft:P.scrollLeft,startScrollTop:P.scrollTop,startDistance:T(),startZoom:ie.current,moved:!1},L.current=!0):ie.current>1&&(Z.current={kind:"pan",startX:E.clientX,startY:E.clientY,startScrollLeft:P.scrollLeft,startScrollTop:P.scrollTop,startZoom:ie.current,moved:!1}))},C=E=>{if(!F.current.has(E.pointerId))return;F.current.set(E.pointerId,{x:E.clientX,y:E.clientY});const P=m.current,J=Z.current;if(!(!P||!J)){if(F.current.size>=2&&J.kind==="pinch"){const j=T();if(!J.startDistance||!j)return;const de=o(J.startZoom*j/J.startDistance);if(Math.abs(de-ie.current)<.01)return;const be=Array.from(F.current.values()),$=(be[0].x+be[1].x)/2,ve=(be[0].y+be[1].y)/2;J.moved=!0,L.current=!0,te(P,de,$,ve),E.preventDefault();return}if(J.kind==="pan"&&F.current.size===1){const j=E.clientX-J.startX,de=E.clientY-J.startY;if(!J.moved&&Math.hypot(j,de)<6)return;J.moved=!0,L.current=!0,P.scrollLeft=J.startScrollLeft-j,P.scrollTop=J.startScrollTop-de,E.preventDefault()}}},he=E=>{const P=m.current,J=Z.current,j=F.current.size===1&&!J?.moved;F.current.delete(E.pointerId);try{P?.releasePointerCapture?.(E.pointerId)}catch{}if(F.current.size===1&&J?.kind==="pinch"){const $=Array.from(F.current.values())[0];Z.current=P?{kind:"pan",startX:$.x,startY:$.y,startScrollLeft:P.scrollLeft,startScrollTop:P.scrollTop,startZoom:ie.current,moved:!1}:null;return}if(F.current.size>0||(Z.current=null,J?.kind==="pinch"&&S(ie.current),!j||L.current))return;const de=Date.now(),be=q.current;be&&de-be.time<350&&Math.hypot(E.clientX-be.x,E.clientY-be.y)<24?(q.current=null,L.current=!0,S($=>$>1?1:2.5)):q.current={time:de,x:E.clientX,y:E.clientY}},O=E=>{if(!E.ctrlKey&&!E.metaKey)return;const P=m.current;if(!P)return;E.preventDefault();const J=te(P,ie.current*Math.exp(-E.deltaY*.01),E.clientX,E.clientY);S(J)},ne=()=>{S(1),ie.current=1,m.current&&(m.current.scrollLeft=0,m.current.scrollTop=0)},se=t.jsxs("div",{className:v?"fixed inset-0 z-modal-panel flex min-h-0 flex-col bg-surface pt-[env(safe-area-inset-top,0px)]":"flex h-full min-h-0 flex-col bg-surface",children:[t.jsxs("div",{ref:h,className:"relative min-h-0 flex-1",children:[t.jsx("div",{ref:m,role:"button",tabIndex:0,onClick:ge,onDoubleClick:E=>{E.preventDefault(),S(P=>P>1?1:2.5)},onPointerDown:ye,onPointerMove:C,onPointerUp:he,onPointerCancel:he,onWheel:O,onScroll:()=>B(null),className:"h-full touch-none cursor-crosshair overflow-auto bg-white p-3 text-slate-900",children:g?t.jsx("div",{className:"p-4 text-sm text-destructive",children:g}):d?t.jsx("div",{"data-svg-document":!0,className:"h-full min-h-[240px] w-full",dangerouslySetInnerHTML:{__html:d}}):t.jsx("div",{className:"p-4 text-sm text-muted-foreground",children:"Loading SVG…"})}),N&&t.jsx("span",{"data-svg-pick-marker":!0,className:"pointer-events-none absolute z-10 h-4 w-4 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-primary bg-white shadow-sm",style:{left:N.stageX,top:N.stageY}}),N&&Y&&t.jsx(Ro,{anchor:{xPercent:N.stageXPercent,yPercent:N.stageYPercent},title:"引用 SVG 标注",onClick:async E=>{await c?.(Y,`svg:${N.x.toFixed(2)}:${N.y.toFixed(2)}`,void 0,E)!==!1&&B(null)},children:"引用 SVG 标注"}),t.jsxs("div",{"data-svg-toolbar":!0,className:"absolute right-2 top-2 z-20 flex gap-1",children:[w>1.001&&t.jsx("button",{type:"button","aria-label":"适合窗口",title:"适合窗口",onClick:E=>{E.stopPropagation(),ne()},className:"inline-flex h-9 w-9 items-center justify-center rounded-full border border-slate-200 bg-white/95 text-slate-600 shadow-sm backdrop-blur transition active:scale-95",children:t.jsx(pp,{size:14})}),t.jsx("button",{type:"button","aria-label":v?"退出全屏 SVG":"全屏 SVG",title:v?"退出全屏 SVG":"全屏 SVG",onClick:E=>{E.stopPropagation(),A(P=>!P)},className:"inline-flex h-9 w-9 items-center justify-center rounded-full border border-slate-200 bg-white/95 text-slate-600 shadow-sm backdrop-blur transition active:scale-95",children:v?t.jsx(uu,{size:14}):t.jsx(ul,{size:14})})]})]}),t.jsx("div",{className:"flex shrink-0 items-center justify-between gap-3 border-t border-border/15 px-3 py-2",children:t.jsx("span",{className:"min-w-0 truncate text-[11px] text-muted-foreground",children:N?`SVG (${N.x.toFixed(2)}, ${N.y.toFixed(2)}) · ${N.nearestText??"附近无文字"}`:"点击 SVG 的问题位置生成精确引用"})})]});return v?zn.createPortal(se,document.body):se}function yo(r){switch(r){case"schematic":return"原理图第1页";case"pcb-front":return"PCB正面";case"pcb-back":return"PCB背面(镜像)";case"pcb-3d":return"PCB 3D正面"}}function Nm(r,a,i,c){const h=[`电子标注: ${r}`,`视图: ${yo(a)}`,`图片位置: (${i.xPercent.toFixed(1)}%,${i.yPercent.toFixed(1)}%) [相对渲染图左上角]`];if(c?.available&&c.xMm!==void 0&&c.yMm!==void 0&&(h.push(`PCB坐标: (${c.xMm.toFixed(2)},${c.yMm.toFixed(2)})mm [KiCad板坐标]`),c.layer&&h.push(`显示层: ${c.layer}`),c.nearest)){const m=[c.nearest.net?`网络 ${c.nearest.net}`:null,`对象层 ${c.nearest.layer}`,`距离 ${c.nearest.distanceMm.toFixed(2)}mm`].filter(Boolean).join(",");h.push(`最近对象: ${c.nearest.label}${m?`(${m})`:""}`)}return`"${h.join(" / ")}"`}function Pm({blobUrl:r,filePath:a,view:i,board:c,onViewChange:h,onInsertAnnotation:m,onRefresh:d,interactive3d:y}){const{t:g}=Qt(),k=s.useRef(null),w=s.useRef(null),S=s.useRef(null),[v,A]=s.useState(null),[N,B]=s.useState(!1);s.useEffect(()=>(S.current?.abort(),A(null),B(!1),()=>S.current?.abort()),[r,i]);const F=s.useMemo(()=>v?Nm(a,i,v,v.inspection):null,[a,v,i]),Z=q=>{const ie=k.current,Y=w.current;if(!ie||!Y||!Y.naturalWidth||!Y.naturalHeight)return;const ge=ie.getBoundingClientRect(),o=Y.getBoundingClientRect(),K=Math.min(o.width/Y.naturalWidth,o.height/Y.naturalHeight),te=Y.naturalWidth*K,T=Y.naturalHeight*K,re=o.left+(o.width-te)/2,ye=o.top+(o.height-T)/2,C=q.clientX-re,he=q.clientY-ye;if(C<0||he<0||C>te||he>T)return;const O={xPercent:Math.max(0,Math.min(100,C/te*100)),yPercent:Math.max(0,Math.min(100,he/T*100)),stageXPercent:(q.clientX-ge.left)/ge.width*100,stageYPercent:(q.clientY-ge.top)/ge.height*100,inspecting:c&&i!=="pcb-3d"};if(A(O),S.current?.abort(),!O.inspecting)return;const ne=new AbortController;S.current=ne,lh(a,i,O.xPercent,O.yPercent,ne.signal).then(se=>A(E=>E===O?{...E,inspection:se,inspecting:!1}:E)).catch(()=>{ne.signal.aborted||A(se=>se===O?{...se,inspection:{available:!1},inspecting:!1}:se)})},L=c?["pcb-front","pcb-back","pcb-3d"]:["schematic"];return t.jsxs("div",{className:"flex h-full min-h-0 flex-col bg-surface",children:[t.jsxs("div",{className:"flex shrink-0 items-center gap-1 border-b border-border/15 px-3 py-2",children:[t.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:L.map(q=>t.jsx("button",{type:"button",onClick:()=>h(q),className:`h-8 shrink-0 rounded-full px-3 text-xs font-semibold transition active:scale-95 ${q===i?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,children:yo(q)},q))}),t.jsx("button",{type:"button",onClick:d,className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95",title:g("rightSidebar.edaRefresh"),"aria-label":g("rightSidebar.edaRefresh"),children:t.jsx(il,{size:13})})]}),c&&y?t.jsx("div",{className:i==="pcb-3d"?"flex min-h-0 flex-1 flex-col overflow-hidden":"hidden",children:y}):null,c?i==="pcb-3d"?y?null:t.jsx("div",{className:"min-h-0 flex-1"}):t.jsxs(t.Fragment,{children:[t.jsxs("div",{ref:k,role:"button",tabIndex:0,onClick:Z,onKeyDown:q=>{q.key!=="Enter"&&q.key!==" "||(q.preventDefault(),A({xPercent:50,yPercent:50,stageXPercent:50,stageYPercent:50}))},className:"relative min-h-0 flex-1 cursor-crosshair overflow-hidden bg-surface p-3 outline-none",title:g("rightSidebar.edaPickHint"),children:[t.jsx("img",{ref:w,src:r,alt:`${a} ${yo(i)}`,onLoad:()=>B(!0),className:`pointer-events-none h-full w-full object-contain transition-opacity ${N?"opacity-100":"opacity-0"}`}),v&&t.jsx("span",{className:"pointer-events-none absolute h-4 w-4 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-primary bg-surface shadow-sm",style:{left:`${v.stageXPercent}%`,top:`${v.stageYPercent}%`}}),v&&F&&t.jsx(Ro,{anchor:{xPercent:v.stageXPercent,yPercent:v.stageYPercent},disabled:v.inspecting,title:g("rightSidebar.edaInsertAnnotation"),onClick:async q=>{await m?.(F,`eda:${i}:${v.xPercent.toFixed(1)}:${v.yPercent.toFixed(1)}`,{snapshot:w.current?Gp(w.current,v):Promise.resolve(null)},q)!==!1&&A(null)},children:g("rightSidebar.edaInsertAnnotation")})]}),t.jsx("div",{className:"flex shrink-0 items-center justify-between gap-3 border-t border-border/15 px-3 py-2",children:t.jsx("span",{className:"min-w-0 truncate text-[11px] text-muted-foreground",children:v?v.inspecting?g("rightSidebar.edaInspecting"):v.inspection?.available?g("rightSidebar.edaPickedBoardPosition",{x:v.inspection.xMm?.toFixed(2)??"—",y:v.inspection.yMm?.toFixed(2)??"—",object:v.inspection.nearest?.label??g("rightSidebar.edaNoNearbyObject")}):g("rightSidebar.edaPickedPosition",{x:v.xPercent.toFixed(1),y:v.yPercent.toFixed(1)}):g("rightSidebar.edaPickHint")})})]}):t.jsx("div",{className:"min-h-0 flex-1 overflow-hidden",children:t.jsx(bu,{blobUrl:r,filePath:a,viewLabel:yo(i),onInsertAnnotation:m})})]})}function Em(r){const a=[];let i=[],c="",h=!1;for(let m=0;m<r.length;m+=1){const d=r[m];h?d==='"'&&r[m+1]==='"'?(c+='"',m+=1):d==='"'?h=!1:c+=d:d==='"'?h=!0:d===","?(i.push(c),c=""):d===`
|
|
14
|
-
`?(i.push(c.replace(/\r$/,"")),a.push(i),i=[],c=""):c+=d}return(c||i.length>0)&&(i.push(c.replace(/\r$/,"")),a.push(i)),a}function Am(r,a,i,c,h){const m=a[h]||`第${h+1}列`,d=i[h]??"",y=a.map((g,k)=>`${g||`第${k+1}列`}=${i[k]??""}`).join(";");return`"表格标注: ${r} / 数据行: ${c+1} / 列: ${m} / 值: ${d} / 记录: ${y}"`}function Tm({content:r,filePath:a,onInsertAnnotation:i}){const{t:c}=Qt(),h=s.useMemo(()=>Em(r),[r]),m=h[0]??[],d=h.slice(1),y=s.useRef(null),[g,k]=s.useState(null),w=g?d[g.row]:null,S=g&&w?Am(a,m,w,g.row+1,g.column):null;return t.jsxs("div",{className:"flex min-h-0 flex-1 flex-col bg-surface",children:[t.jsxs("div",{ref:y,className:"relative min-h-0 flex-1",children:[t.jsx("div",{className:"h-full overflow-auto",children:t.jsxs("table",{className:"min-w-full border-separate border-spacing-0 text-left text-xs",children:[t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{className:"sticky left-0 top-0 z-20 border-b border-r border-border/20 bg-surface-elevated px-2 py-2 text-[10px] font-semibold text-muted-foreground",children:"#"}),m.map((v,A)=>t.jsx("th",{className:"sticky top-0 z-10 min-w-28 border-b border-r border-border/20 bg-surface-elevated px-3 py-2 font-semibold text-foreground",children:v||c("rightSidebar.csvUnnamedColumn",{index:A+1})},`${v}:${A}`))]})}),t.jsx("tbody",{children:d.map((v,A)=>t.jsxs("tr",{className:"hover:bg-surface-2",children:[t.jsx("th",{className:"sticky left-0 z-10 border-b border-r border-border/15 bg-surface px-2 py-2 text-right text-[10px] font-normal text-muted-foreground",children:A+1}),m.map((N,B)=>{const F=g?.row===A&&g.column===B;return t.jsx("td",{className:`border-b border-r border-border/15 p-0 ${F?"bg-primary/15":""}`,children:t.jsx("button",{type:"button",onClick:Z=>{const L=y.current?.getBoundingClientRect(),q=Z.currentTarget.getBoundingClientRect();if(!L?.width||!L.height)return;const ie=Z.clientX||q.left+q.width/2,Y=Z.clientY||q.top+q.height/2;k({row:A,column:B,xPercent:(ie-L.left)/L.width*100,yPercent:(Y-L.top)/L.height*100})},className:"block h-full min-h-9 w-full whitespace-pre-wrap px-3 py-2 text-left text-foreground outline-none hover:bg-primary/10 focus-visible:bg-primary/10",children:v[B]||" "})},`cell:${A}:${B}`)})]},`row:${A}`))})]})}),g&&S&&t.jsx(Ro,{anchor:{xPercent:g.xPercent,yPercent:g.yPercent},title:c("rightSidebar.csvInsertAnnotation"),onClick:async v=>{await i?.(S,`csv:${a}:${g.row+1}:${g.column+1}`,void 0,v)!==!1&&k(null)},children:c("rightSidebar.csvInsertAnnotation")})]}),t.jsx("div",{className:"flex shrink-0 items-center justify-between gap-3 border-t border-border/15 px-3 py-2",children:t.jsx("span",{className:"min-w-0 truncate text-[11px] text-muted-foreground",children:g&&w?c("rightSidebar.csvSelectedCell",{row:g.row+1,column:m[g.column]||g.column+1}):c("rightSidebar.csvPickHint",{rows:d.length,columns:m.length})})})]})}function Cs(r,a){let i=r;for(const c of a){if(!i||typeof i!="object")return;i=i[c]}return i}function Mm(r,a){const i=JSON.parse(r),c=Cs(i,["meta","version"]);if(a)return[{label:"文件性质",value:"KiCad 本机界面状态,不属于电气设计源文件"},{label:"格式版本",value:String(c??"未知")},{label:"活动层编号",value:String(Cs(i,["board","active_layer"])??"未知")},{label:"可见层掩码",value:String(Cs(i,["board","visible_layers"])??"未知")},{label:"Git 集成",value:Cs(i,["git","integration_disabled"])===!0?"已禁用":"未禁用"}];const h=Cs(i,["net_settings","classes"]),m=Array.isArray(h)?h.find(y=>y&&typeof y=="object"&&y.name==="Default"):void 0,d=Cs(i,["board","design_settings","drc_exclusions"]);return[{label:"文件性质",value:"KiCad 工程配置"},{label:"格式版本",value:String(c??"未知")},{label:"网络类数量",value:String(Array.isArray(h)?h.length:0)},{label:"默认间距",value:m?.clearance!==void 0?`${m.clearance} mm`:"未设置"},{label:"默认线宽",value:m?.track_width!==void 0?`${m.track_width} mm`:"未设置"},{label:"默认过孔",value:m?.via_diameter!==void 0?`${m.via_diameter} / ${m.via_drill??"—"} mm(外径/钻孔)`:"未设置"},{label:"DRC 排除项",value:String(Array.isArray(d)?d.length:0)}]}function Lm(r,a){return`"KiCad项目标注: ${r} / 项: ${a.label} / 值: ${a.value}"`}function Im({content:r,filePath:a,localState:i,onInsertAnnotation:c}){const{t:h}=Qt(),m=s.useRef(null),[d,y]=s.useState(null),g=s.useMemo(()=>{try{return{items:Mm(r,i),error:null}}catch(w){return{items:[],error:w instanceof Error?w.message:String(w)}}},[r,i]),k=d===null?null:g.items[d.index];return g.error?t.jsx("pre",{className:"min-h-0 flex-1 overflow-auto whitespace-pre-wrap p-3 font-mono text-xs text-foreground",children:r}):t.jsxs("div",{className:"flex min-h-0 flex-1 flex-col bg-surface",children:[i&&t.jsx("div",{className:"border-b border-[color:var(--warning)]/20 bg-[color:var(--warning)]/5 px-3 py-2 text-xs text-[color:var(--warning)]",children:h("rightSidebar.kicadLocalStateNotice")}),t.jsxs("div",{ref:m,className:"relative min-h-0 flex-1",children:[t.jsxs("div",{className:"h-full overflow-auto px-3 py-2",children:[t.jsx("div",{className:"divide-y divide-border/15",children:g.items.map((w,S)=>t.jsxs("button",{type:"button",onClick:v=>{const A=m.current?.getBoundingClientRect(),N=v.currentTarget.getBoundingClientRect();if(!A?.width||!A.height)return;const B=v.clientX||N.left+N.width/2,F=v.clientY||N.top+N.height/2;y({index:S,xPercent:(B-A.left)/A.width*100,yPercent:(F-A.top)/A.height*100})},className:`grid w-full grid-cols-[minmax(7rem,0.8fr)_minmax(0,1.4fr)] gap-3 px-2 py-3 text-left transition hover:bg-surface-2 ${d?.index===S?"bg-primary/10":""}`,children:[t.jsx("span",{className:"text-xs font-semibold text-muted-foreground",children:w.label}),t.jsx("span",{className:"break-words text-xs text-foreground",children:w.value})]},w.label))}),t.jsxs("details",{className:"mt-3 border-t border-border/15 pt-3",children:[t.jsx("summary",{className:"cursor-pointer text-xs font-semibold text-muted-foreground",children:h("rightSidebar.kicadShowRawJson")}),t.jsx("pre",{className:"mt-2 overflow-auto whitespace-pre p-2 font-mono text-[10px] leading-relaxed text-foreground",children:r})]})]}),k&&d&&t.jsx(Ro,{anchor:{xPercent:d.xPercent,yPercent:d.yPercent},title:h("rightSidebar.kicadInsertSetting"),onClick:async w=>{await c?.(Lm(a,k),`kicad-project:${a}:${k.label}`,void 0,w)!==!1&&y(null)},children:h("rightSidebar.kicadInsertSetting")})]}),t.jsx("div",{className:"flex shrink-0 items-center justify-between gap-3 border-t border-border/15 px-3 py-2",children:t.jsx("span",{className:"min-w-0 truncate text-[11px] text-muted-foreground",children:k?`${k.label}: ${k.value}`:h("rightSidebar.kicadProjectPickHint")})})]})}const $m=`/** ES Module Shims Wasm @version 2.8.4 */
|
|
15
|
-
(function () {
|
|
16
|
-
|
|
17
|
-
const self_ = typeof globalThis !== 'undefined' ? globalThis : self;
|
|
18
|
-
|
|
19
|
-
let invalidate;
|
|
20
|
-
const hotReload$1 = url => invalidate(new URL(url, baseUrl).href);
|
|
21
|
-
const initHotReload = (topLevelLoad, importShim) => {
|
|
22
|
-
let _importHook = importHook,
|
|
23
|
-
_resolveHook = resolveHook,
|
|
24
|
-
_metaHook = metaHook;
|
|
25
|
-
|
|
26
|
-
let defaultResolve;
|
|
27
|
-
let hotResolveHook = (id, parent, _defaultResolve) => {
|
|
28
|
-
if (!defaultResolve) defaultResolve = _defaultResolve;
|
|
29
|
-
const originalParent = stripVersion(parent);
|
|
30
|
-
const url = stripVersion(defaultResolve(id, originalParent));
|
|
31
|
-
const hotState = getHotState(url);
|
|
32
|
-
const parents = hotState.p;
|
|
33
|
-
if (!parents.includes(originalParent)) parents.push(originalParent);
|
|
34
|
-
return toVersioned(url, hotState);
|
|
35
|
-
};
|
|
36
|
-
const hotImportHook = (url, _, __, source, sourceType) => {
|
|
37
|
-
const hotState = getHotState(url);
|
|
38
|
-
hotState.e = typeof source === 'string' ? source : true;
|
|
39
|
-
hotState.t = sourceType;
|
|
40
|
-
};
|
|
41
|
-
const hotMetaHook = (metaObj, url) => (metaObj.hot = new Hot(url));
|
|
42
|
-
|
|
43
|
-
const Hot = class Hot {
|
|
44
|
-
constructor(url) {
|
|
45
|
-
this.data = getHotState((this.url = stripVersion(url))).d;
|
|
46
|
-
}
|
|
47
|
-
accept(deps, cb) {
|
|
48
|
-
if (typeof deps === 'function') {
|
|
49
|
-
cb = deps;
|
|
50
|
-
deps = null;
|
|
51
|
-
}
|
|
52
|
-
const hotState = getHotState(this.url);
|
|
53
|
-
if (!hotState.A) return;
|
|
54
|
-
(hotState.a = hotState.a || []).push([
|
|
55
|
-
typeof deps === 'string' ? defaultResolve(deps, this.url)
|
|
56
|
-
: deps ? deps.map(d => defaultResolve(d, this.url))
|
|
57
|
-
: null,
|
|
58
|
-
cb
|
|
59
|
-
]);
|
|
60
|
-
}
|
|
61
|
-
dispose(cb) {
|
|
62
|
-
getHotState(this.url).u = cb;
|
|
63
|
-
}
|
|
64
|
-
invalidate() {
|
|
65
|
-
const hotState = getHotState(this.url);
|
|
66
|
-
hotState.a = hotState.A = null;
|
|
67
|
-
const seen = [this.url];
|
|
68
|
-
hotState.p.forEach(p => invalidate(p, this.url, seen));
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
const versionedRegEx = /\\?v=\\d+$/;
|
|
73
|
-
const stripVersion = url => {
|
|
74
|
-
const versionMatch = url.match(versionedRegEx);
|
|
75
|
-
return versionMatch ? url.slice(0, -versionMatch[0].length) : url;
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
const toVersioned = (url, hotState) => {
|
|
79
|
-
const { v } = hotState;
|
|
80
|
-
return url + (v ? '?v=' + v : '');
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
let hotRegistry = {},
|
|
84
|
-
curInvalidationRoots = new Set(),
|
|
85
|
-
curInvalidationInterval;
|
|
86
|
-
const getHotState = url =>
|
|
87
|
-
hotRegistry[url] ||
|
|
88
|
-
(hotRegistry[url] = {
|
|
89
|
-
// version
|
|
90
|
-
v: 0,
|
|
91
|
-
// accept list ([deps, cb] pairs)
|
|
92
|
-
a: null,
|
|
93
|
-
// accepting acceptors
|
|
94
|
-
A: true,
|
|
95
|
-
// unload callback
|
|
96
|
-
u: null,
|
|
97
|
-
// entry point or inline script source
|
|
98
|
-
e: false,
|
|
99
|
-
// hot data
|
|
100
|
-
d: {},
|
|
101
|
-
// parents
|
|
102
|
-
p: [],
|
|
103
|
-
// source type
|
|
104
|
-
t: undefined
|
|
105
|
-
});
|
|
106
|
-
|
|
107
|
-
invalidate = (url, fromUrl, seen = []) => {
|
|
108
|
-
const hotState = hotRegistry[url];
|
|
109
|
-
if (!hotState || seen.includes(url)) return false;
|
|
110
|
-
seen.push(url);
|
|
111
|
-
hotState.A = false;
|
|
112
|
-
if (
|
|
113
|
-
fromUrl &&
|
|
114
|
-
hotState.a &&
|
|
115
|
-
hotState.a.some(([d]) => d && (typeof d === 'string' ? d === fromUrl : d.includes(fromUrl)))
|
|
116
|
-
) {
|
|
117
|
-
curInvalidationRoots.add(fromUrl);
|
|
118
|
-
} else {
|
|
119
|
-
if (hotState.e || hotState.a) curInvalidationRoots.add(url);
|
|
120
|
-
hotState.v++;
|
|
121
|
-
if (!hotState.a) hotState.p.forEach(p => invalidate(p, url, seen));
|
|
122
|
-
}
|
|
123
|
-
if (!curInvalidationInterval) curInvalidationInterval = setTimeout(handleInvalidations, hotReloadInterval);
|
|
124
|
-
return true;
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
const handleInvalidations = () => {
|
|
128
|
-
curInvalidationInterval = null;
|
|
129
|
-
const earlyRoots = new Set();
|
|
130
|
-
for (const root of curInvalidationRoots) {
|
|
131
|
-
const hotState = hotRegistry[root];
|
|
132
|
-
topLevelLoad(
|
|
133
|
-
toVersioned(root, hotState),
|
|
134
|
-
baseUrl,
|
|
135
|
-
defaultFetchOpts,
|
|
136
|
-
typeof hotState.e === 'string' ? hotState.e : undefined,
|
|
137
|
-
false,
|
|
138
|
-
undefined,
|
|
139
|
-
hotState.t
|
|
140
|
-
).then(m => {
|
|
141
|
-
if (hotState.a) {
|
|
142
|
-
hotState.a.forEach(([d, c]) => d === null && !earlyRoots.has(c) && c(m));
|
|
143
|
-
// unload should be the latest unload handler from the just loaded module
|
|
144
|
-
if (hotState.u) {
|
|
145
|
-
hotState.u(hotState.d);
|
|
146
|
-
hotState.u = null;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
hotState.p.forEach(p => {
|
|
150
|
-
const hotState = hotRegistry[p];
|
|
151
|
-
if (hotState && hotState.a)
|
|
152
|
-
hotState.a.forEach(
|
|
153
|
-
async ([d, c]) =>
|
|
154
|
-
d &&
|
|
155
|
-
!earlyRoots.has(c) &&
|
|
156
|
-
(typeof d === 'string' ?
|
|
157
|
-
d === root && c(m)
|
|
158
|
-
: c(await Promise.all(d.map(d => (earlyRoots.add(c), importShim(toVersioned(d, getHotState(d))))))))
|
|
159
|
-
);
|
|
160
|
-
});
|
|
161
|
-
}, throwError);
|
|
162
|
-
}
|
|
163
|
-
curInvalidationRoots = new Set();
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
setHooks(
|
|
167
|
-
_importHook ? chain(_importHook, hotImportHook) : hotImportHook,
|
|
168
|
-
_resolveHook ?
|
|
169
|
-
(id, parent, defaultResolve) =>
|
|
170
|
-
hotResolveHook(id, parent, (id, parent) => _resolveHook(id, parent, defaultResolve))
|
|
171
|
-
: hotResolveHook,
|
|
172
|
-
_metaHook ? chain(_metaHook, hotMetaHook) : hotMetaHook
|
|
173
|
-
);
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
const hasDocument = typeof document !== 'undefined';
|
|
177
|
-
|
|
178
|
-
const noop = () => {};
|
|
179
|
-
|
|
180
|
-
const chain = (a, b) =>
|
|
181
|
-
function () {
|
|
182
|
-
a.apply(this, arguments);
|
|
183
|
-
b.apply(this, arguments);
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
const dynamicImport = (u, _errUrl) => import(u);
|
|
187
|
-
|
|
188
|
-
const defineValue = (obj, prop, value) =>
|
|
189
|
-
Object.defineProperty(obj, prop, { writable: false, configurable: false, value });
|
|
190
|
-
|
|
191
|
-
const optionsScript = hasDocument ? document.querySelector('script[type=esms-options]') : undefined;
|
|
192
|
-
|
|
193
|
-
const esmsInitOptions = optionsScript ? JSON.parse(optionsScript.innerHTML) : {};
|
|
194
|
-
Object.assign(esmsInitOptions, self_.esmsInitOptions || {});
|
|
195
|
-
|
|
196
|
-
const version = "2.8.4";
|
|
197
|
-
|
|
198
|
-
const r$1 = esmsInitOptions.version;
|
|
199
|
-
if (self_.importShim || (r$1 && r$1 !== version)) {
|
|
200
|
-
return;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
// shim mode is determined on initialization, no late shim mode
|
|
204
|
-
const shimMode =
|
|
205
|
-
esmsInitOptions.shimMode ||
|
|
206
|
-
(hasDocument ?
|
|
207
|
-
document.querySelectorAll('script[type=module-shim],script[type=importmap-shim],link[rel=modulepreload-shim]')
|
|
208
|
-
.length > 0
|
|
209
|
-
// Without a document, shim mode is always true as we cannot polyfill
|
|
210
|
-
: true);
|
|
211
|
-
|
|
212
|
-
let importHook,
|
|
213
|
-
resolveHook,
|
|
214
|
-
fetchHook = fetch,
|
|
215
|
-
sourceHook,
|
|
216
|
-
metaHook,
|
|
217
|
-
tsTransform =
|
|
218
|
-
esmsInitOptions.tsTransform ||
|
|
219
|
-
(hasDocument && document.currentScript && document.currentScript.src.replace(/(\\.\\w+)?\\.js$/, '-typescript.js')) ||
|
|
220
|
-
'./es-module-shims-typescript.js';
|
|
221
|
-
|
|
222
|
-
const defaultFetchOpts = { credentials: 'same-origin' };
|
|
223
|
-
|
|
224
|
-
const globalHook = name => (typeof name === 'string' ? self_[name] : name);
|
|
225
|
-
|
|
226
|
-
if (esmsInitOptions.onimport) importHook = globalHook(esmsInitOptions.onimport);
|
|
227
|
-
if (esmsInitOptions.resolve) resolveHook = globalHook(esmsInitOptions.resolve);
|
|
228
|
-
if (esmsInitOptions.fetch) fetchHook = globalHook(esmsInitOptions.fetch);
|
|
229
|
-
if (esmsInitOptions.source) sourceHook = globalHook(esmsInitOptions.source);
|
|
230
|
-
if (esmsInitOptions.meta) metaHook = globalHook(esmsInitOptions.meta);
|
|
231
|
-
|
|
232
|
-
const hasCustomizationHooks = importHook || resolveHook || fetchHook !== fetch || sourceHook || metaHook;
|
|
233
|
-
|
|
234
|
-
const {
|
|
235
|
-
noLoadEventRetriggers,
|
|
236
|
-
enforceIntegrity,
|
|
237
|
-
hotReload,
|
|
238
|
-
hotReloadInterval = 100,
|
|
239
|
-
nativePassthrough = !hasCustomizationHooks && !hotReload
|
|
240
|
-
} = esmsInitOptions;
|
|
241
|
-
|
|
242
|
-
const setHooks = (importHook_, resolveHook_, metaHook_) => (
|
|
243
|
-
(importHook = importHook_),
|
|
244
|
-
(resolveHook = resolveHook_),
|
|
245
|
-
(metaHook = metaHook_)
|
|
246
|
-
);
|
|
247
|
-
|
|
248
|
-
const mapOverrides = esmsInitOptions.mapOverrides;
|
|
249
|
-
|
|
250
|
-
let nonce = esmsInitOptions.nonce;
|
|
251
|
-
if (!nonce && hasDocument) {
|
|
252
|
-
const nonceElement = document.querySelector('script[nonce]');
|
|
253
|
-
if (nonceElement) nonce = nonceElement.nonce || nonceElement.getAttribute('nonce');
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
const onerror = globalHook(esmsInitOptions.onerror || console.error.bind(console));
|
|
257
|
-
|
|
258
|
-
const enable = Array.isArray(esmsInitOptions.polyfillEnable) ? esmsInitOptions.polyfillEnable : [];
|
|
259
|
-
const disable = Array.isArray(esmsInitOptions.polyfillDisable) ? esmsInitOptions.polyfillDisable : [];
|
|
260
|
-
|
|
261
|
-
const enableAll = esmsInitOptions.polyfillEnable === 'all' || enable.includes('all');
|
|
262
|
-
const wasmInstancePhaseEnabled =
|
|
263
|
-
enable.includes('wasm-modules') || enable.includes('wasm-module-instances') || enableAll;
|
|
264
|
-
const wasmSourcePhaseEnabled =
|
|
265
|
-
enable.includes('wasm-modules') || enable.includes('wasm-module-sources') || enableAll;
|
|
266
|
-
const deferPhaseEnabled = enable.includes('import-defer') || enableAll;
|
|
267
|
-
const cssModulesEnabled = !disable.includes('css-modules');
|
|
268
|
-
const jsonModulesEnabled = !disable.includes('json-modules');
|
|
269
|
-
|
|
270
|
-
const onpolyfill =
|
|
271
|
-
esmsInitOptions.onpolyfill ?
|
|
272
|
-
globalHook(esmsInitOptions.onpolyfill)
|
|
273
|
-
: () => {
|
|
274
|
-
console.log(\`%c^^ Module error above is polyfilled and can be ignored ^^\`, 'font-weight:900;color:#391');
|
|
275
|
-
};
|
|
276
|
-
|
|
277
|
-
const baseUrl =
|
|
278
|
-
hasDocument ? document.baseURI
|
|
279
|
-
: typeof location !== 'undefined' ?
|
|
280
|
-
\`\${location.protocol}//\${location.host}\${
|
|
281
|
-
location.pathname.includes('/') ?
|
|
282
|
-
location.pathname.slice(0, location.pathname.lastIndexOf('/') + 1)
|
|
283
|
-
: location.pathname
|
|
284
|
-
}\`
|
|
285
|
-
: 'about:blank';
|
|
286
|
-
|
|
287
|
-
const createBlob = (source, type = 'text/javascript') => URL.createObjectURL(new Blob([source], { type }));
|
|
288
|
-
let { skip } = esmsInitOptions;
|
|
289
|
-
if (Array.isArray(skip)) {
|
|
290
|
-
const l = skip.map(s => new URL(s, baseUrl).href);
|
|
291
|
-
skip = s => l.some(i => (i[i.length - 1] === '/' && s.startsWith(i)) || s === i);
|
|
292
|
-
} else if (typeof skip === 'string') {
|
|
293
|
-
const r = new RegExp(skip);
|
|
294
|
-
skip = s => r.test(s);
|
|
295
|
-
} else if (skip instanceof RegExp) {
|
|
296
|
-
skip = s => skip.test(s);
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
const dispatchError = error => self_.dispatchEvent(Object.assign(new Event('error'), { error }));
|
|
300
|
-
|
|
301
|
-
const throwError = err => {
|
|
302
|
-
(self_.reportError || dispatchError)(err);
|
|
303
|
-
onerror(err);
|
|
304
|
-
};
|
|
305
|
-
|
|
306
|
-
const fromParent = parent => (parent ? \` imported from \${parent}\` : '');
|
|
307
|
-
|
|
308
|
-
const backslashRegEx = /\\\\/g;
|
|
309
|
-
|
|
310
|
-
const asURL = url => {
|
|
311
|
-
try {
|
|
312
|
-
if (url.indexOf(':') !== -1) return new URL(url).href;
|
|
313
|
-
} catch (_) {}
|
|
314
|
-
};
|
|
315
|
-
|
|
316
|
-
const resolveUrl = (relUrl, parentUrl) =>
|
|
317
|
-
resolveIfNotPlainOrUrl(relUrl, parentUrl) || asURL(relUrl) || resolveIfNotPlainOrUrl('./' + relUrl, parentUrl);
|
|
318
|
-
|
|
319
|
-
const resolveIfNotPlainOrUrl = (relUrl, parentUrl) => {
|
|
320
|
-
const hIdx = parentUrl.indexOf('#'),
|
|
321
|
-
qIdx = parentUrl.indexOf('?');
|
|
322
|
-
if (hIdx + qIdx > -2)
|
|
323
|
-
parentUrl = parentUrl.slice(
|
|
324
|
-
0,
|
|
325
|
-
hIdx === -1 ? qIdx
|
|
326
|
-
: qIdx === -1 || qIdx > hIdx ? hIdx
|
|
327
|
-
: qIdx
|
|
328
|
-
);
|
|
329
|
-
if (relUrl.indexOf('\\\\') !== -1) relUrl = relUrl.replace(backslashRegEx, '/');
|
|
330
|
-
// protocol-relative
|
|
331
|
-
if (relUrl[0] === '/' && relUrl[1] === '/') {
|
|
332
|
-
return parentUrl.slice(0, parentUrl.indexOf(':') + 1) + relUrl;
|
|
333
|
-
}
|
|
334
|
-
// relative-url
|
|
335
|
-
else if (
|
|
336
|
-
(relUrl[0] === '.' &&
|
|
337
|
-
(relUrl[1] === '/' ||
|
|
338
|
-
(relUrl[1] === '.' && (relUrl[2] === '/' || (relUrl.length === 2 && (relUrl += '/')))) ||
|
|
339
|
-
(relUrl.length === 1 && (relUrl += '/')))) ||
|
|
340
|
-
relUrl[0] === '/'
|
|
341
|
-
) {
|
|
342
|
-
const parentProtocol = parentUrl.slice(0, parentUrl.indexOf(':') + 1);
|
|
343
|
-
if (parentProtocol === 'blob:') {
|
|
344
|
-
throw new TypeError(
|
|
345
|
-
\`Failed to resolve module specifier "\${relUrl}". Invalid relative url or base scheme isn't hierarchical.\`
|
|
346
|
-
);
|
|
347
|
-
}
|
|
348
|
-
// Disabled, but these cases will give inconsistent results for deep backtracking
|
|
349
|
-
//if (parentUrl[parentProtocol.length] !== '/')
|
|
350
|
-
// throw new Error('Cannot resolve');
|
|
351
|
-
// read pathname from parent URL
|
|
352
|
-
// pathname taken to be part after leading "/"
|
|
353
|
-
let pathname;
|
|
354
|
-
if (parentUrl[parentProtocol.length + 1] === '/') {
|
|
355
|
-
// resolving to a :// so we need to read out the auth and host
|
|
356
|
-
if (parentProtocol !== 'file:') {
|
|
357
|
-
pathname = parentUrl.slice(parentProtocol.length + 2);
|
|
358
|
-
pathname = pathname.slice(pathname.indexOf('/') + 1);
|
|
359
|
-
} else {
|
|
360
|
-
pathname = parentUrl.slice(8);
|
|
361
|
-
}
|
|
362
|
-
} else {
|
|
363
|
-
// resolving to :/ so pathname is the /... part
|
|
364
|
-
pathname = parentUrl.slice(parentProtocol.length + (parentUrl[parentProtocol.length] === '/'));
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
if (relUrl[0] === '/') return parentUrl.slice(0, parentUrl.length - pathname.length - 1) + relUrl;
|
|
368
|
-
|
|
369
|
-
// join together and split for removal of .. and . segments
|
|
370
|
-
// looping the string instead of anything fancy for perf reasons
|
|
371
|
-
// '../../../../../z' resolved to 'x/y' is just 'z'
|
|
372
|
-
const segmented = pathname.slice(0, pathname.lastIndexOf('/') + 1) + relUrl;
|
|
373
|
-
|
|
374
|
-
const output = [];
|
|
375
|
-
let segmentIndex = -1;
|
|
376
|
-
for (let i = 0; i < segmented.length; i++) {
|
|
377
|
-
// busy reading a segment - only terminate on '/'
|
|
378
|
-
if (segmentIndex !== -1) {
|
|
379
|
-
if (segmented[i] === '/') {
|
|
380
|
-
output.push(segmented.slice(segmentIndex, i + 1));
|
|
381
|
-
segmentIndex = -1;
|
|
382
|
-
}
|
|
383
|
-
continue;
|
|
384
|
-
}
|
|
385
|
-
// new segment - check if it is relative
|
|
386
|
-
else if (segmented[i] === '.') {
|
|
387
|
-
// ../ segment
|
|
388
|
-
if (segmented[i + 1] === '.' && (segmented[i + 2] === '/' || i + 2 === segmented.length)) {
|
|
389
|
-
output.pop();
|
|
390
|
-
i += 2;
|
|
391
|
-
continue;
|
|
392
|
-
}
|
|
393
|
-
// ./ segment
|
|
394
|
-
else if (segmented[i + 1] === '/' || i + 1 === segmented.length) {
|
|
395
|
-
i += 1;
|
|
396
|
-
continue;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
// it is the start of a new segment
|
|
400
|
-
while (segmented[i] === '/') i++;
|
|
401
|
-
segmentIndex = i;
|
|
402
|
-
}
|
|
403
|
-
// finish reading out the last segment
|
|
404
|
-
if (segmentIndex !== -1) output.push(segmented.slice(segmentIndex));
|
|
405
|
-
return parentUrl.slice(0, parentUrl.length - pathname.length) + output.join('');
|
|
406
|
-
}
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
const resolveAndComposeImportMap = (json, baseUrl, parentMap) => {
|
|
410
|
-
const outMap = {
|
|
411
|
-
imports: { ...parentMap.imports },
|
|
412
|
-
scopes: { ...parentMap.scopes },
|
|
413
|
-
integrity: { ...parentMap.integrity }
|
|
414
|
-
};
|
|
415
|
-
|
|
416
|
-
if (json.imports) resolveAndComposePackages(json.imports, outMap.imports, baseUrl, parentMap);
|
|
417
|
-
|
|
418
|
-
if (json.scopes)
|
|
419
|
-
for (let s in json.scopes) {
|
|
420
|
-
const resolvedScope = resolveUrl(s, baseUrl);
|
|
421
|
-
resolveAndComposePackages(
|
|
422
|
-
json.scopes[s],
|
|
423
|
-
outMap.scopes[resolvedScope] || (outMap.scopes[resolvedScope] = {}),
|
|
424
|
-
baseUrl,
|
|
425
|
-
parentMap
|
|
426
|
-
);
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
if (json.integrity) resolveAndComposeIntegrity(json.integrity, outMap.integrity, baseUrl);
|
|
430
|
-
|
|
431
|
-
return outMap;
|
|
432
|
-
};
|
|
433
|
-
|
|
434
|
-
const getMatch = (path, matchObj) => {
|
|
435
|
-
if (matchObj[path]) return path;
|
|
436
|
-
let sepIndex = path.length;
|
|
437
|
-
do {
|
|
438
|
-
const segment = path.slice(0, sepIndex + 1);
|
|
439
|
-
if (segment in matchObj) return segment;
|
|
440
|
-
} while ((sepIndex = path.lastIndexOf('/', sepIndex - 1)) !== -1);
|
|
441
|
-
};
|
|
442
|
-
|
|
443
|
-
const applyPackages = (id, packages) => {
|
|
444
|
-
const pkgName = getMatch(id, packages);
|
|
445
|
-
if (pkgName) {
|
|
446
|
-
const pkg = packages[pkgName];
|
|
447
|
-
if (pkg === null) return;
|
|
448
|
-
return pkg + id.slice(pkgName.length);
|
|
449
|
-
}
|
|
450
|
-
};
|
|
451
|
-
|
|
452
|
-
const resolveImportMap = (importMap, resolvedOrPlain, parentUrl) => {
|
|
453
|
-
let scopeUrl = parentUrl && getMatch(parentUrl, importMap.scopes);
|
|
454
|
-
while (scopeUrl) {
|
|
455
|
-
const packageResolution = applyPackages(resolvedOrPlain, importMap.scopes[scopeUrl]);
|
|
456
|
-
if (packageResolution) return packageResolution;
|
|
457
|
-
scopeUrl = getMatch(scopeUrl.slice(0, scopeUrl.lastIndexOf('/')), importMap.scopes);
|
|
458
|
-
}
|
|
459
|
-
return applyPackages(resolvedOrPlain, importMap.imports) || (resolvedOrPlain.indexOf(':') !== -1 && resolvedOrPlain);
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
const resolveAndComposePackages = (packages, outPackages, baseUrl, parentMap) => {
|
|
463
|
-
for (let p in packages) {
|
|
464
|
-
const resolvedLhs = resolveIfNotPlainOrUrl(p, baseUrl) || p;
|
|
465
|
-
if (
|
|
466
|
-
(!shimMode || !mapOverrides) &&
|
|
467
|
-
outPackages[resolvedLhs] &&
|
|
468
|
-
outPackages[resolvedLhs] !== packages[resolvedLhs]
|
|
469
|
-
) {
|
|
470
|
-
console.warn(
|
|
471
|
-
\`es-module-shims: Rejected map override "\${resolvedLhs}" from \${outPackages[resolvedLhs]} to \${packages[resolvedLhs]}.\`
|
|
472
|
-
);
|
|
473
|
-
continue;
|
|
474
|
-
}
|
|
475
|
-
let target = packages[p];
|
|
476
|
-
if (typeof target !== 'string') continue;
|
|
477
|
-
const mapped = resolveImportMap(parentMap, resolveIfNotPlainOrUrl(target, baseUrl) || target, baseUrl);
|
|
478
|
-
if (mapped) {
|
|
479
|
-
outPackages[resolvedLhs] = mapped;
|
|
480
|
-
continue;
|
|
481
|
-
}
|
|
482
|
-
console.warn(\`es-module-shims: Mapping "\${p}" -> "\${packages[p]}" does not resolve\`);
|
|
483
|
-
}
|
|
484
|
-
};
|
|
485
|
-
|
|
486
|
-
const resolveAndComposeIntegrity = (integrity, outIntegrity, baseUrl) => {
|
|
487
|
-
for (let p in integrity) {
|
|
488
|
-
const resolvedLhs = resolveIfNotPlainOrUrl(p, baseUrl) || p;
|
|
489
|
-
if (
|
|
490
|
-
(!shimMode || !mapOverrides) &&
|
|
491
|
-
outIntegrity[resolvedLhs] &&
|
|
492
|
-
outIntegrity[resolvedLhs] !== integrity[resolvedLhs]
|
|
493
|
-
) {
|
|
494
|
-
console.warn(
|
|
495
|
-
\`es-module-shims: Rejected map integrity override "\${resolvedLhs}" from \${outIntegrity[resolvedLhs]} to \${integrity[resolvedLhs]}.\`
|
|
496
|
-
);
|
|
497
|
-
}
|
|
498
|
-
outIntegrity[resolvedLhs] = integrity[p];
|
|
499
|
-
}
|
|
500
|
-
};
|
|
501
|
-
|
|
502
|
-
let policy;
|
|
503
|
-
if (
|
|
504
|
-
typeof self !== 'undefined' &&
|
|
505
|
-
(typeof self.trustedTypes !== 'undefined' || typeof self.TrustedTypes !== 'undefined')
|
|
506
|
-
) {
|
|
507
|
-
try {
|
|
508
|
-
policy = (self.trustedTypes || self.TrustedTypes).createPolicy('es-module-shims', {
|
|
509
|
-
createHTML: html => html,
|
|
510
|
-
createScript: script => script
|
|
511
|
-
});
|
|
512
|
-
} catch {}
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
function maybeTrustedInnerHTML(html) {
|
|
516
|
-
return policy ? policy.createHTML(html) : html;
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
function maybeTrustedScript(script) {
|
|
520
|
-
return policy ? policy.createScript(script) : script;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
// support browsers without dynamic import support (eg Firefox 6x)
|
|
524
|
-
let supportsJsonType = false;
|
|
525
|
-
let supportsCssType = false;
|
|
526
|
-
|
|
527
|
-
const supports = hasDocument && HTMLScriptElement.supports;
|
|
528
|
-
|
|
529
|
-
let supportsImportMaps = supports && supports.name === 'supports' && supports('importmap');
|
|
530
|
-
let supportsWasmInstancePhase = false;
|
|
531
|
-
let supportsWasmSourcePhase = false;
|
|
532
|
-
let supportsMultipleImportMaps = false;
|
|
533
|
-
|
|
534
|
-
const wasmBytes = [0, 97, 115, 109, 1, 0, 0, 0];
|
|
535
|
-
|
|
536
|
-
let featureDetectionPromise = (async function () {
|
|
537
|
-
// In shim mode, feature detection results are unused — skip the iframe overhead
|
|
538
|
-
if (shimMode) return;
|
|
539
|
-
if (!hasDocument)
|
|
540
|
-
return Promise.all([
|
|
541
|
-
import(createBlob(\`import"\${createBlob('{}', 'text/json')}"with{type:"json"}\`)).then(
|
|
542
|
-
() => (
|
|
543
|
-
(supportsJsonType = true),
|
|
544
|
-
import(createBlob(\`import"\${createBlob('', 'text/css')}"with{type:"css"}\`)).then(
|
|
545
|
-
() => (supportsCssType = true),
|
|
546
|
-
noop
|
|
547
|
-
)
|
|
548
|
-
),
|
|
549
|
-
noop
|
|
550
|
-
),
|
|
551
|
-
wasmInstancePhaseEnabled &&
|
|
552
|
-
import(createBlob(\`import"\${createBlob(new Uint8Array(wasmBytes), 'application/wasm')}"\`)).then(
|
|
553
|
-
() => (supportsWasmInstancePhase = true),
|
|
554
|
-
noop
|
|
555
|
-
),
|
|
556
|
-
wasmSourcePhaseEnabled &&
|
|
557
|
-
import(createBlob(\`import source x from"\${createBlob(new Uint8Array(wasmBytes), 'application/wasm')}"\`)).then(
|
|
558
|
-
() => (supportsWasmSourcePhase = true),
|
|
559
|
-
noop
|
|
560
|
-
)
|
|
561
|
-
]);
|
|
562
|
-
|
|
563
|
-
const msgTag = \`s\${version}\`;
|
|
564
|
-
return new Promise(resolve => {
|
|
565
|
-
const iframe = document.createElement('iframe');
|
|
566
|
-
iframe.style.display = 'none';
|
|
567
|
-
iframe.setAttribute('nonce', nonce);
|
|
568
|
-
function cb({ data }) {
|
|
569
|
-
const isFeatureDetectionMessage = Array.isArray(data) && data[0] === msgTag;
|
|
570
|
-
if (!isFeatureDetectionMessage) return;
|
|
571
|
-
[
|
|
572
|
-
,
|
|
573
|
-
supportsImportMaps,
|
|
574
|
-
supportsMultipleImportMaps,
|
|
575
|
-
supportsJsonType,
|
|
576
|
-
supportsCssType,
|
|
577
|
-
supportsWasmSourcePhase,
|
|
578
|
-
supportsWasmInstancePhase
|
|
579
|
-
] = data;
|
|
580
|
-
resolve();
|
|
581
|
-
document.head.removeChild(iframe);
|
|
582
|
-
window.removeEventListener('message', cb, false);
|
|
583
|
-
}
|
|
584
|
-
window.addEventListener('message', cb, false);
|
|
585
|
-
// Feature checking with careful avoidance of unnecessary work - all gated on initial import map supports check. CSS gates on JSON feature check, Wasm instance phase gates on wasm source phase check.
|
|
586
|
-
const importMapTest = \`<script nonce=\${nonce || ''}>\${
|
|
587
|
-
policy ? 't=(window.trustedTypes||window.TrustedTypes).createPolicy("es-module-shims",{createScript:s=>s});' : ''
|
|
588
|
-
}b=(s,type='text/javascript')=>URL.createObjectURL(new Blob([s],{type}));c=u=>import(u).then(()=>true,()=>false);i=innerText=>document.head.appendChild(Object.assign(document.createElement('script'),{type:'importmap',nonce:"\${nonce}",text:\${
|
|
589
|
-
policy ? 't.createScript(innerText)' : 'innerText'
|
|
590
|
-
}}));i(\\\`{"imports":{"x":"\\\${b('')}"}}\\\`);i(\\\`{"imports":{"y":"\\\${b('')}"}}\\\`);cm=\${
|
|
591
|
-
supportsImportMaps && jsonModulesEnabled ? \`c(b(\\\`import"\\\${b('{}','text/json')}"with{type:"json"}\\\`))\` : 'false'
|
|
592
|
-
};sp=\${
|
|
593
|
-
supportsImportMaps && wasmSourcePhaseEnabled ?
|
|
594
|
-
\`c(b(\\\`import source x from "\\\${b(new Uint8Array(\${JSON.stringify(wasmBytes)}),'application/wasm')\\}"\\\`))\`
|
|
595
|
-
: 'false'
|
|
596
|
-
};Promise.all([\${supportsImportMaps ? 'true' : "c('x')"},\${supportsImportMaps ? "c('y')" : false},cm,\${
|
|
597
|
-
supportsImportMaps && cssModulesEnabled ?
|
|
598
|
-
\`cm.then(s=>s?c(b(\\\`import"\\\${b('','text/css')\\}"with{type:"css"}\\\`)):false)\`
|
|
599
|
-
: 'false'
|
|
600
|
-
},sp,\${
|
|
601
|
-
supportsImportMaps && wasmInstancePhaseEnabled ?
|
|
602
|
-
\`\${wasmSourcePhaseEnabled ? 'sp.then(s=>s?' : ''}c(b(\\\`import"\\\${b(new Uint8Array(\${JSON.stringify(wasmBytes)}),'application/wasm')\\}"\\\`))\${wasmSourcePhaseEnabled ? ':false)' : ''}\`
|
|
603
|
-
: 'false'
|
|
604
|
-
}]).then(a=>parent.postMessage(['\${msgTag}'].concat(a),'*'))<\${''}/script>\`;
|
|
605
|
-
|
|
606
|
-
// Safari will call onload eagerly on head injection, but we don't want the Wechat
|
|
607
|
-
// path to trigger before setting srcdoc, therefore we track the timing
|
|
608
|
-
let readyForOnload = false,
|
|
609
|
-
onloadCalledWhileNotReady = false;
|
|
610
|
-
function doOnload() {
|
|
611
|
-
if (!readyForOnload) {
|
|
612
|
-
onloadCalledWhileNotReady = true;
|
|
613
|
-
return;
|
|
614
|
-
}
|
|
615
|
-
// WeChat browser doesn't support setting srcdoc scripts
|
|
616
|
-
// But iframe sandboxes don't support contentDocument so we do this as a fallback
|
|
617
|
-
const doc = iframe.contentDocument;
|
|
618
|
-
if (doc && doc.head.childNodes.length === 0) {
|
|
619
|
-
const s = doc.createElement('script');
|
|
620
|
-
if (nonce) s.setAttribute('nonce', nonce);
|
|
621
|
-
s.innerText = maybeTrustedScript(importMapTest.slice(15 + (nonce ? nonce.length : 0), -9));
|
|
622
|
-
doc.head.appendChild(s);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
iframe.onload = doOnload;
|
|
627
|
-
// WeChat browser requires append before setting srcdoc
|
|
628
|
-
document.head.appendChild(iframe);
|
|
629
|
-
|
|
630
|
-
// setting srcdoc is not supported in React native webviews on iOS
|
|
631
|
-
// setting src to a blob URL results in a navigation event in webviews
|
|
632
|
-
// document.write gives usability warnings
|
|
633
|
-
readyForOnload = true;
|
|
634
|
-
if ('srcdoc' in iframe) iframe.srcdoc = maybeTrustedInnerHTML(importMapTest);
|
|
635
|
-
else iframe.contentDocument.write(importMapTest);
|
|
636
|
-
// retrigger onload for Safari only if necessary
|
|
637
|
-
if (onloadCalledWhileNotReady) doOnload();
|
|
638
|
-
});
|
|
639
|
-
})();
|
|
640
|
-
|
|
641
|
-
/* es-module-lexer (minimal) 2.3.1 */
|
|
642
|
-
let e,a,r,i=2<<19;const s=1===new Uint8Array(new Uint16Array([1]).buffer)[0]?function(e,a){const r=e.length;let i=0;for(;i<r;)a[i]=e.charCodeAt(i++);}:function(e,a){const r=e.length;let i=0;for(;i<r;){const r=e.charCodeAt(i);a[i++]=(255&r)<<8|r>>>8;}},f="etaourceeferromsyncunctionlassvoyiedelecontininstantybreareturdebuggeawaithrwhileforifcatcfinallelsxportport";let c$1,t,n;function parse(k,l="@"){c$1=k,t=l;const u=2*c$1.length+(2<<18);if(u>i||!e){for(;u>i;)i*=2;a=new ArrayBuffer(i),s(f,new Uint16Array(a,16,108)),e=function(e,a,r){"use asm";var i=new e.Int8Array(r),s=new e.Int16Array(r),f=new e.Int32Array(r),c=new e.Uint8Array(r),t=new e.Uint16Array(r),n=1040;function b(e){e=e|0;var a=0,r=0,c=0,t=0,n=0,b=0,k=0,o=0,w=0,g=0,p=0,y=0,m=0,O=0,T=0;y=s[398]|0;a=f[71]|0;f[68]=a;k=a;p=a;o=y;g=0;e:while(1){r=f[72]|0;t=o<<16>>16==y<<16>>16;c=g&e;b=a;while(1){n=b+2|0;if(b>>>0>=r>>>0){a=0;w=100;break e}a=s[n>>1]|0;if(!(M(a)|0)){if(t){switch(a<<16>>16){case 125:case 93:case 41:case 59:case 44:{w=100;break e}default:{}}if(c?se(a)|0:0){w=100;break e}}if(!(se(a)|0))break}b=n;}f[71]=n;a:do{switch(a<<16>>16){case 101:{if((o<<16>>16==0?Q(n)|0:0)?(S(b+4|0,214,10)|0)==0:0){u();w=89;}else w=89;break}case 105:{if(((s[b+4>>1]|0)==109?Q(n)|0:0)?(S(b+6|0,224,8)|0)==0:0){l();w=89;}else w=89;break}case 99:{if((((s[b+4>>1]|0)==108?Q(n)|0:0)?(S(b+6|0,70,6)|0)==0:0)?L(s[b+12>>1]|0)|0:0){i[800]=1;w=89;}else w=89;break}case 40:{b=f[69]|0;w=o&65535;f[b+(w<<3)>>2]=1;s[398]=o+1<<16>>16;f[b+(w<<3)+4>>2]=k;w=89;break}case 91:{b=f[69]|0;w=o&65535;f[b+(w<<3)>>2]=8;s[398]=o+1<<16>>16;f[b+(w<<3)+4>>2]=k;w=89;break}case 93:if(!(o<<16>>16)){ee();break a}else {s[398]=o+-1<<16>>16;w=89;break a}case 44:{r=s[397]|0;if((!(o<<16>>16==0|r<<16>>16==0)?(f[(f[69]|0)+((o&65535)+-1<<3)>>2]|0)==5:0)?(m=f[(f[70]|0)+((r&65535)+-1<<2)>>2]|0,(f[m+4>>2]|0)==0):0){f[m+4>>2]=p+2;f[71]=b+4;v(1)|0;w=f[71]|0;f[m+16>>2]=w;f[71]=w+-2;w=89;}else w=89;break}case 41:{if(!(o<<16>>16)){ee();break a}w=o+-1<<16>>16;s[398]=w;r=s[397]|0;if(r<<16>>16!=0?(f[(f[69]|0)+((w&65535)<<3)>>2]|0)==5:0){c=f[(f[70]|0)+((r&65535)+-1<<2)>>2]|0;if(!(f[c+4>>2]|0))f[c+4>>2]=p+2;f[c+12>>2]=b+4;s[397]=r+-1<<16>>16;w=89;}else w=89;break}case 123:{w=f[62]|0;do{if((s[p>>1]|0)==41&(w|0)!=0?(f[w+12>>2]|0)==(p+2|0):0){r=f[63]|0;f[62]=r;if(!r){f[58]=0;break}else {f[r+32>>2]=0;break}}}while(0);b=f[69]|0;w=o&65535;f[b+(w<<3)>>2]=(i[800]|0)==0?2:6;s[398]=o+1<<16>>16;f[b+(w<<3)+4>>2]=k;i[800]=0;w=89;break}case 125:{if(!(o<<16>>16)){ee();break a}k=f[69]|0;w=o+-1<<16>>16;s[398]=w;if((f[k+((w&65535)<<3)>>2]|0)==4){d();w=89;}else w=89;break}case 34:case 39:{A(a);w=89;break}case 47:switch(s[b+4>>1]|0){case 47:{F();break a}case 42:{x(1);break a}default:{c=s[p>>1]|0;r:do{if(!($(c)|0)){if(!(c<<16>>16==41?K(f[(f[69]|0)+((o&65535)<<3)+4>>2]|0)|0:0))w=62;}else switch(c<<16>>16){case 46:if(((s[p+-2>>1]|0)+-48&65535)<10){w=62;break r}else break r;case 43:if((s[p+-2>>1]|0)==43){w=62;break r}else break r;case 45:if((s[p+-2>>1]|0)==45){w=62;break r}else break r;default:break r}}while(0);r:do{if((w|0)==62){w=0;if(o<<16>>16!=0?(O=f[69]|0,T=(o&65535)+-1|0,c<<16>>16==102?(f[O+(T<<3)>>2]|0)==1:0):0){if(((s[p+-2>>1]|0)==111?C(p+-4|0)|0:0)?B(f[O+(T<<3)+4>>2]|0,178,3)|0:0)break}else w=67;if((w|0)==67?(0,c<<16>>16==125):0){t=f[69]|0;r=o&65535;if(U(f[t+(r<<3)+4>>2]|0)|0)break;if((f[t+(r<<3)>>2]|0)==6)break}if(!(h(p)|0)){switch(c<<16>>16){case 0:break r;case 47:{if(i[799]|0)break r;break}default:{}}w=f[64]|0;if((w|0?p>>>0>=(f[w>>2]|0)>>>0:0)?p>>>0<=(f[w+4>>2]|0)>>>0:0){I();i[799]=0;w=89;break a}t=f[3]|0;r=p;do{if(r>>>0<=t>>>0)break;r=r+-2|0;f[68]=r;c=s[r>>1]|0;}while(!(D(c)|0));if(M(c)|0){do{if(r>>>0<=t>>>0)break;r=r+-2|0;f[68]=r;}while(M(s[r>>1]|0)|0);if(q(r)|0){I();i[799]=0;w=89;break a}}i[799]=1;w=89;break a}}}while(0);I();i[799]=0;w=89;break a}}case 96:{b=f[69]|0;w=o&65535;f[b+(w<<3)+4>>2]=k;s[398]=o+1<<16>>16;f[b+(w<<3)>>2]=3;d();w=89;break}default:w=89;}}while(0);if((w|0)==89){w=0;f[68]=f[71];}if(i[798]|0){a=0;break}r=f[68]|0;a:do{if((r|0)==(p|0))if(g&((s[398]|0)==y<<16>>16&e)){a=s[f[71]>>1]|0;if(se(a)|0)break e;else a=1;}else a=g;else {if(a<<16>>16==47){a=(i[799]|0)==0;break}if(G(a)|0)a=1;else {switch(a<<16>>16){case 96:case 34:case 39:case 41:case 93:case 125:{a=1;break a}default:{}}a=0;}}}while(0);k=r;p=r;o=s[398]|0;g=a;a=f[71]|0;}if((w|0)==100)f[71]=n;return a|0}function k(){var e=0,a=0,r=0,c=0,t=0,b=0,k=0,o=0,w=0;w=n;n=n+10240|0;s[397]=0;s[398]=0;f[68]=f[2];i[799]=0;f[67]=0;i[798]=0;f[69]=w+2048;f[70]=w;i[800]=0;r=(f[3]|0)+-2|0;f[71]=r;e=r+(f[65]<<1)|0;f[72]=e;e:while(1){a=r+2|0;f[71]=a;if(r>>>0>=e>>>0){c=85;break}e=s[a>>1]|0;a:do{switch(e<<16>>16){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{if(((s[398]|0)==0?Q(a)|0:0)?(S(r+4|0,214,10)|0)==0:0){u();c=84;}else c=84;break}case 105:{if(((s[r+4>>1]|0)==109?Q(a)|0:0)?(S(r+6|0,224,8)|0)==0:0){l();c=84;}else c=84;break}case 99:{if((((s[r+4>>1]|0)==108?Q(a)|0:0)?(S(r+6|0,70,6)|0)==0:0)?L(s[r+12>>1]|0)|0:0){i[800]=1;c=84;}else c=84;break}case 40:{r=f[69]|0;c=s[398]|0;f[r+((c&65535)<<3)>>2]=1;a=f[68]|0;s[398]=c+1<<16>>16;f[r+((c&65535)<<3)+4>>2]=a;c=84;break}case 91:{r=f[69]|0;c=s[398]|0;f[r+((c&65535)<<3)>>2]=8;a=f[68]|0;s[398]=c+1<<16>>16;f[r+((c&65535)<<3)+4>>2]=a;c=84;break}case 93:{e=s[398]|0;if(!(e<<16>>16)){c=21;break e}s[398]=e+-1<<16>>16;c=84;break}case 44:{e=s[397]|0;if(((e<<16>>16!=0?(t=s[398]|0,t<<16>>16!=0):0)?(f[(f[69]|0)+((t&65535)+-1<<3)>>2]|0)==5:0)?(b=f[(f[70]|0)+((e&65535)+-1<<2)>>2]|0,(f[b+4>>2]|0)==0):0){f[b+4>>2]=(f[68]|0)+2;f[71]=r+4;v(1)|0;c=f[71]|0;f[b+16>>2]=c;f[71]=c+-2;c=84;}else c=84;break}case 41:{e=s[398]|0;if(!(e<<16>>16)){c=29;break e}s[398]=e+-1<<16>>16;a=s[397]|0;if(a<<16>>16!=0?(f[(f[69]|0)+((e+-1&65535)<<3)>>2]|0)==5:0){e=f[(f[70]|0)+((a&65535)+-1<<2)>>2]|0;if(!(f[e+4>>2]|0))f[e+4>>2]=(f[68]|0)+2;f[e+12>>2]=r+4;s[397]=a+-1<<16>>16;c=84;}else c=84;break}case 123:{e=f[68]|0;c=f[62]|0;do{if((s[e>>1]|0)==41&(c|0)!=0?(f[c+12>>2]|0)==(e+2|0):0){a=f[63]|0;f[62]=a;if(!a){f[58]=0;break}else {f[a+32>>2]=0;break}}}while(0);r=f[69]|0;c=s[398]|0;f[r+((c&65535)<<3)>>2]=(i[800]|0)==0?2:6;s[398]=c+1<<16>>16;f[r+((c&65535)<<3)+4>>2]=e;i[800]=0;c=84;break}case 125:{e=s[398]|0;if(!(e<<16>>16)){c=42;break e}c=f[69]|0;s[398]=e+-1<<16>>16;if((f[c+((e+-1&65535)<<3)>>2]|0)==4){d();c=84;}else c=84;break}case 34:case 39:{A(e);c=84;break}case 47:switch(s[r+4>>1]|0){case 47:{F();break a}case 42:{x(1);break a}default:{e=f[68]|0;a=s[e>>1]|0;r:do{if(!($(a)|0))if(a<<16>>16==41){r=s[398]|0;if(!(K(f[(f[69]|0)+((r&65535)<<3)+4>>2]|0)|0))c=57;}else c=56;else switch(a<<16>>16){case 46:if(((s[e+-2>>1]|0)+-48&65535)<10){c=56;break r}else break r;case 43:if((s[e+-2>>1]|0)==43){c=56;break r}else break r;case 45:if((s[e+-2>>1]|0)==45){c=56;break r}else break r;default:break r}}while(0);if((c|0)==56){r=s[398]|0;c=57;}r:do{if((c|0)==57){c=0;if(r<<16>>16!=0?(k=f[69]|0,o=(r&65535)+-1|0,a<<16>>16==102?(f[k+(o<<3)>>2]|0)==1:0):0){if(((s[e+-2>>1]|0)==111?C(e+-4|0)|0:0)?B(f[k+(o<<3)+4>>2]|0,178,3)|0:0)break}else c=62;if((c|0)==62?(0,a<<16>>16==125):0){c=f[69]|0;r=r&65535;if(U(f[c+(r<<3)+4>>2]|0)|0)break;if((f[c+(r<<3)>>2]|0)==6)break}if(!(h(e)|0)){switch(a<<16>>16){case 0:break r;case 47:{if(i[799]|0)break r;break}default:{}}c=f[64]|0;if((c|0?e>>>0>=(f[c>>2]|0)>>>0:0)?e>>>0<=(f[c+4>>2]|0)>>>0:0){I();i[799]=0;c=84;break a}r=f[3]|0;do{if(e>>>0<=r>>>0)break;e=e+-2|0;f[68]=e;a=s[e>>1]|0;}while(!(D(a)|0));if(M(a)|0){do{if(e>>>0<=r>>>0)break;e=e+-2|0;f[68]=e;}while(M(s[e>>1]|0)|0);if(q(e)|0){I();i[799]=0;c=84;break a}}i[799]=1;c=84;break a}}}while(0);I();i[799]=0;c=84;break a}}case 96:{r=f[69]|0;c=s[398]|0;f[r+((c&65535)<<3)+4>>2]=f[68];s[398]=c+1<<16>>16;f[r+((c&65535)<<3)>>2]=3;d();c=84;break}default:c=84;}}while(0);if((c|0)==84){c=0;f[68]=f[71];}r=f[71]|0;e=f[72]|0;}if((c|0)==21){ee();e=0;}else if((c|0)==29){ee();e=0;}else if((c|0)==42){ee();e=0;}else if((c|0)==85)e=(i[798]|0)==0?(s[397]|s[398])<<16>>16==0:0;n=w;return e|0}function l(){var e=0,a=0,r=0,c=0,t=0,n=0;n=f[71]|0;f[71]=n+12;e=v(1)|0;r=f[71]|0;e:do{if(e<<16>>16!=46){if(!(e<<16>>16==115&r>>>0>(n+12|0)>>>0)){if(!(e<<16>>16==100&r>>>0>(n+10|0)>>>0)){r=0;t=28;break}if(S(r+2|0,32,8)|0){a=r;e=100;r=0;t=60;break}if(!(L(s[r+10>>1]|0)|0)){a=r;e=100;r=0;t=60;break}f[71]=r+10;e=v(1)|0;if(e<<16>>16==42){e=42;c=2;t=62;break}f[71]=r;r=0;t=28;break}if((S(r+2|0,22,10)|0)==0?L(s[r+12>>1]|0)|0:0){f[71]=r+12;e=v(1)|0;a=f[71]|0;if((a|0)!=(r+12|0)){if(e<<16>>16!=102){r=1;t=28;break}if(S(a+2|0,40,6)|0){e=102;r=1;t=60;break}if(!(D(s[a+8>>1]|0)|0)){e=102;r=1;t=60;break}}f[71]=r;r=0;t=28;}else {a=r;e=115;r=0;t=60;}}else {f[71]=r+2;switch((v(1)|0)<<16>>16){case 109:{e=f[71]|0;if(S(e+2|0,16,6)|0)break e;a=f[68]|0;if(!(N(a)|0)?(s[a>>1]|0)==46:0)break e;g(n,n,e+8|0,2);break e}case 115:{e=f[71]|0;if(S(e+2|0,22,10)|0)break e;a=f[68]|0;if(!(N(a)|0)?(s[a>>1]|0)==46:0)break e;f[71]=e+12;e=v(1)|0;r=1;t=28;break e}case 100:{e=f[71]|0;if(S(e+2|0,32,8)|0)break e;a=f[68]|0;if(!(N(a)|0)?(s[a>>1]|0)==46:0)break e;f[71]=e+10;e=v(1)|0;r=2;t=28;break e}default:break e}}}while(0);e:do{if((t|0)==28){if(e<<16>>16==40){a=f[69]|0;c=s[398]|0;f[a+((c&65535)<<3)>>2]=5;e=f[71]|0;s[398]=c+1<<16>>16;f[a+((c&65535)<<3)+4>>2]=e;if((s[f[68]>>1]|0)==46)break;f[71]=e+2;a=v(1)|0;g(n,f[71]|0,0,e);if(!r)e=f[62]|0;else {e=f[62]|0;f[e+28>>2]=(r|0)==1?5:7;}c=f[70]|0;n=s[397]|0;s[397]=n+1<<16>>16;f[c+((n&65535)<<2)>>2]=e;switch(a<<16>>16){case 39:{A(39);break}case 34:{A(34);break}case 96:{if(!(y()|0))t=37;break}default:t=37;}if((t|0)==37){f[71]=(f[71]|0)+-2;break}e=(f[71]|0)+2|0;f[71]=e;switch((v(1)|0)<<16>>16){case 44:{f[71]=(f[71]|0)+2;v(1)|0;c=f[62]|0;f[c+4>>2]=e;n=f[71]|0;f[c+16>>2]=n;i[c+24>>0]=1;f[71]=n+-2;break e}case 41:{s[398]=(s[398]|0)+-1<<16>>16;n=f[62]|0;f[n+4>>2]=e;f[n+12>>2]=(f[71]|0)+2;i[n+24>>0]=1;s[397]=(s[397]|0)+-1<<16>>16;break e}default:{f[71]=(f[71]|0)+-2;break e}}}if(!((r|0)==0&e<<16>>16==123)){switch(e<<16>>16){case 42:case 39:case 34:{c=r;t=62;break e}default:{}}a=f[71]|0;t=60;break}e=f[71]|0;if(s[398]|0){f[71]=e+-2;break}while(1){if(e>>>0>=(f[72]|0)>>>0)break;e=v(1)|0;if(!(ae(e)|0)){if(e<<16>>16==125){t=50;break}}else A(e);e=(f[71]|0)+2|0;f[71]=e;}if((t|0)==50)f[71]=(f[71]|0)+2;c=(v(1)|0)<<16>>16==102;e=f[71]|0;if(c?S(e+2|0,40,6)|0:0){ee();break}f[71]=e+8;e=v(1)|0;if(ae(e)|0){w(n,e,0);break}else {ee();break}}}while(0);if((t|0)==60)if((a|0)==(n+12|0))f[71]=n+10;else {c=r;t=62;}do{if((t|0)==62){if(!((e<<16>>16==42|(c|0)!=2)&(s[398]|0)==0)){f[71]=(f[71]|0)+-2;break}e=f[72]|0;a=f[71]|0;while(1){if(a>>>0>=e>>>0){t=69;break}r=s[a>>1]|0;if(ae(r)|0){t=67;break}t=a+2|0;f[71]=t;a=t;}if((t|0)==67){w(n,r,c);break}else if((t|0)==69){ee();break}}}while(0);return}function u(){var e=0,a=0,r=0,i=0,c=0,t=0,n=0,k=0,l=0,u=0;k=f[71]|0;l=f[64]|0;f[71]=k+12;a=v(1)|0;e=f[71]|0;if(!((e|0)==(k+12|0)?!(O(a)|0):0))u=3;e:do{if((u|0)==3){a:do{switch(a<<16>>16){case 123:{f[71]=e+2;e=v(1)|0;r=f[71]|0;while(1){if(ae(e)|0){A(e);e=(f[71]|0)+2|0;f[71]=e;}else {H(e)|0;e=f[71]|0;}v(1)|0;e=p(r,e)|0;if(e<<16>>16==44){f[71]=(f[71]|0)+2;e=v(1)|0;}a=r;r=f[71]|0;if(e<<16>>16==125){u=15;break}if((r|0)==(a|0)){u=12;break}if(r>>>0>(f[72]|0)>>>0){u=14;break}}if((u|0)==12){ee();break e}else if((u|0)==14){ee();break e}else if((u|0)==15){f[71]=r+2;u=49;break a}break}case 42:{f[71]=e+2;v(1)|0;u=f[71]|0;p(u,u)|0;u=49;break}case 100:{f[71]=e+14;switch((v(1)|0)<<16>>16){case 97:{a=f[71]|0;if((S(a+2|0,46,8)|0)==0?M(s[a+10>>1]|0)|0:0){f[71]=a+10;v(0)|0;u=21;}break}case 102:{u=21;break}case 99:{a=f[71]|0;if(((S(a+2|0,68,8)|0)==0?(l=s[a+10>>1]|0,L(l)|0|l<<16>>16==123):0)?(f[71]=a+10,r=v(1)|0,r<<16>>16!=123):0){n=r;u=30;}break}default:{}}r:do{if((u|0)==21?(i=f[71]|0,(S(i+2|0,54,14)|0)==0):0){a=s[i+16>>1]|0;if(!(L(a)|0))switch(a<<16>>16){case 40:case 42:break;default:break r}f[71]=i+16;a=v(1)|0;if(a<<16>>16==42){f[71]=(f[71]|0)+2;a=v(1)|0;}if(a<<16>>16!=40){n=a;u=30;}}}while(0);if((u|0)==30?(c=f[71]|0,H(n)|0,t=f[71]|0,t>>>0>c>>>0):0){E(e,e+14|0,c,t);f[71]=(f[71]|0)+-2;break e}E(e,e+14|0,0,0);f[71]=e+12;break e}case 97:{f[71]=e+10;v(0)|0;e=f[71]|0;u=34;break}case 102:{u=34;break}case 99:{if((S(e+2|0,68,8)|0)==0?D(s[e+10>>1]|0)|0:0){f[71]=e+10;u=v(1)|0;l=f[71]|0;H(u)|0;u=f[71]|0;E(l,u,l,u);f[71]=(f[71]|0)+-2;break e}f[71]=e+4;e=e+4|0;u=41;break}case 108:case 118:{u=41;break}default:break e}}while(0);if((u|0)==34){f[71]=e+16;e=v(1)|0;if(e<<16>>16==42){f[71]=(f[71]|0)+2;e=v(1)|0;}l=f[71]|0;H(e)|0;u=f[71]|0;E(l,u,l,u);f[71]=(f[71]|0)+-2;break}else if((u|0)==41){f[71]=e+6;while(1){a=v(1)|0;e=f[71]|0;if(e>>>0>(f[72]|0)>>>0)break;a=P(a)|0;if((f[71]|0)==(e|0))break;if(a<<16>>16==61)a=b(1)|0;e=f[71]|0;if(a<<16>>16!=44)break;f[71]=e+2;}f[71]=e+-2;break}else if((u|0)==49){u=(v(1)|0)<<16>>16==102;e=f[71]|0;if(u?(S(e+2|0,40,6)|0)==0:0){f[71]=e+8;w(k,v(1)|0,0);e=(l|0)==0?236:l+16|0;while(1){e=f[e>>2]|0;if(!e)break e;f[e+12>>2]=0;f[e+8>>2]=0;e=e+16|0;}}f[71]=e+-2;break}}}while(0);return}function o(){var e=0,a=0,r=0,i=0,c=0,t=0,n=0;e=f[71]|0;c=(s[e>>1]|0)==123;f[71]=e+2;e=v(1)|0;t=c?125:93;e:while(1){if((t|0)==(e&65535|0))break;i=f[71]|0;if(i>>>0>(f[72]|0)>>>0)break;if((e<<16>>16==46?(s[i+2>>1]|0)==46:0)?(s[i+4>>1]|0)==46:0){f[71]=i+6;e=P(v(1)|0)|0;}else n=9;a:do{if((n|0)==9){n=0;do{if(c){do{if(e<<16>>16==91){b(0)|0;f[71]=(f[71]|0)+2;a=i;}else {if(ae(e)|0){A(e);f[71]=(f[71]|0)+2;a=i;break}if((e+-48&65535)>=10){H(e)|0;a=f[71]|0;break}e=i;r:while(1){r=e+2|0;a=s[r>>1]|0;i:do{if((a+-48&65535)>=10){switch(a<<16>>16){case 67:case 68:case 70:case 97:case 65:case 99:case 100:case 102:case 46:case 66:case 69:case 79:case 88:case 95:case 98:case 101:case 110:case 111:case 120:break i;case 43:case 45:break;default:break r}switch(s[e>>1]|0){case 69:case 101:break;default:break r}}}while(0);e=r;}f[71]=r;a=i;}}while(0);e=v(1)|0;if(e<<16>>16==58){f[71]=(f[71]|0)+2;e=P(v(1)|0)|0;break}if(a>>>0>i>>>0)E(i,a,i,a);}else if(e<<16>>16==44){f[71]=i+2;e=v(1)|0;break a}else {e=P(e)|0;break}}while(0);if(e<<16>>16==61)e=b(0)|0;if(e<<16>>16!=44)break e;f[71]=(f[71]|0)+2;e=v(1)|0;}}while(0)}return}function h(e){e=e|0;e:do{switch(s[e>>1]|0){case 100:switch(s[e+-2>>1]|0){case 105:{e=B(e+-4|0,76,2)|0;break e}case 108:{e=B(e+-4|0,80,3)|0;break e}default:{e=0;break e}}case 101:switch(s[e+-2>>1]|0){case 115:switch(s[e+-4>>1]|0){case 108:{e=z(e+-6|0,101)|0;break e}case 97:{e=z(e+-6|0,99)|0;break e}default:{e=0;break e}}case 116:{e=B(e+-4|0,86,4)|0;break e}case 117:{e=B(e+-4|0,94,6)|0;break e}default:{e=0;break e}}case 102:{if((s[e+-2>>1]|0)==111?(s[e+-4>>1]|0)==101:0)switch(s[e+-6>>1]|0){case 99:{e=B(e+-8|0,106,6)|0;break e}case 112:{e=B(e+-8|0,118,2)|0;break e}default:{e=0;break e}}else e=0;break}case 107:{e=B(e+-2|0,122,4)|0;break}case 110:{if(z(e+-2|0,105)|0)e=1;else e=B(e+-2|0,130,5)|0;break}case 111:{e=z(e+-2|0,100)|0;break}case 114:{e=B(e+-2|0,140,7)|0;break}case 116:{e=B(e+-2|0,154,4)|0;break}case 119:switch(s[e+-2>>1]|0){case 101:{e=z(e+-4|0,110)|0;break e}case 111:{e=B(e+-4|0,162,3)|0;break e}default:{e=0;break e}}default:e=0;}}while(0);return e|0}function w(e,a,r){e=e|0;a=a|0;r=r|0;var i=0,c=0;i=(f[71]|0)+2|0;switch(a<<16>>16){case 39:{A(39);c=5;break}case 34:{A(34);c=5;break}default:ee();}do{if((c|0)==5){g(e,i,f[71]|0,1);if((r|0)>0)f[(f[62]|0)+28>>2]=(r|0)==1?4:6;f[71]=(f[71]|0)+2;c=(v(0)|0)<<16>>16==119;a=f[71]|0;if(((c?(s[a+2>>1]|0)==105:0)?(s[a+4>>1]|0)==116:0)?(s[a+6>>1]|0)==104:0){f[71]=a+8;if((v(1)|0)<<16>>16!=123){f[71]=a;break}r=f[71]|0;i=r;e:while(1){f[71]=i+2;i=v(1)|0;switch(i<<16>>16){case 39:{A(39);f[71]=(f[71]|0)+2;i=v(1)|0;break}case 34:{A(34);f[71]=(f[71]|0)+2;i=v(1)|0;break}default:i=H(i)|0;}if(i<<16>>16!=58){c=20;break}f[71]=(f[71]|0)+2;switch((v(1)|0)<<16>>16){case 39:{A(39);break}case 34:{A(34);break}default:{c=24;break e}}f[71]=(f[71]|0)+2;switch((v(1)|0)<<16>>16){case 125:{c=28;break e}case 44:break;default:{c=26;break e}}i=(f[71]|0)+2|0;f[71]=i;}if((c|0)==20){f[71]=a;break}else if((c|0)==24){f[71]=a;break}else if((c|0)==26){f[71]=a;break}else if((c|0)==28){c=f[62]|0;f[c+16>>2]=r;f[c+12>>2]=(f[71]|0)+2;break}}f[71]=a+-2;}}while(0);return}function d(){var e=0,a=0,r=0;a=f[72]|0;r=f[71]|0;e:while(1){e=r+2|0;if(r>>>0>=a>>>0){a=10;break}switch(s[e>>1]|0){case 96:{a=7;break e}case 36:{if((s[r+4>>1]|0)==123){a=6;break e}break}case 92:{e=r+4|0;break}default:{}}r=e;}if((a|0)==6){e=r+4|0;f[71]=e;a=f[69]|0;r=s[398]|0;f[a+((r&65535)<<3)>>2]=4;s[398]=r+1<<16>>16;f[a+((r&65535)<<3)+4>>2]=e;}else if((a|0)==7){f[71]=e;a=f[69]|0;r=(s[398]|0)+-1<<16>>16;s[398]=r;if((f[a+((r&65535)<<3)>>2]|0)!=3)ee();}else if((a|0)==10){f[71]=e;ee();}return}function v(e){e=e|0;var a=0,r=0,i=0;r=f[71]|0;e:do{a=s[r>>1]|0;a:do{if(a<<16>>16!=47)if(e)if(L(a)|0)break;else break e;else if(M(a)|0)break;else break e;else switch(s[r+2>>1]|0){case 47:{F();break a}case 42:{x(e);break a}default:{a=47;break e}}}while(0);i=f[71]|0;r=i+2|0;f[71]=r;}while(i>>>0<(f[72]|0)>>>0);return a|0}function A(e){e=e|0;var a=0,r=0,i=0,c=0;c=f[72]|0;a=f[71]|0;while(1){i=a+2|0;if(a>>>0>=c>>>0){a=9;break}r=s[i>>1]|0;if(r<<16>>16==e<<16>>16){a=10;break}if(r<<16>>16==92){r=a+4|0;if((s[r>>1]|0)==13){a=a+6|0;a=(s[a>>1]|0)==10?a:r;}else a=r;}else if(se(r)|0){a=9;break}else a=i;}if((a|0)==9){f[71]=i;ee();}else if((a|0)==10)f[71]=i;return}function C(e){e=e|0;var a=0,r=0;a=s[e>>1]|0;if(L(a)|0)r=3;else switch(a<<16>>16){case 41:case 125:case 93:{r=3;break}default:e=0;}e:do{if((r|0)==3){r=f[3]|0;while(1){if(e>>>0<=r>>>0)break;e=e+-2|0;if(!(L(a)|0))break;a=s[e>>1]|0;}switch(a<<16>>16){case 41:case 125:case 93:{e=1;break e}default:{}}e=(O(a)|0)^1;}}while(0);return e|0}function g(e,a,r,s){e=e|0;a=a|0;r=r|0;s=s|0;var c=0,t=0;t=f[66]|0;f[66]=t+36;c=f[62]|0;f[((c|0)==0?232:c+32|0)>>2]=t;f[63]=c;f[62]=t;f[t+8>>2]=e;if(2==(s|0)){e=3;c=r;}else {e=1==(s|0)?1:2;c=1==(s|0)?r+2|0:0;}f[t+12>>2]=c;f[t+28>>2]=e;f[t>>2]=a;f[t+4>>2]=r;f[t+16>>2]=0;f[t+20>>2]=s;i[t+24>>0]=1==(s|0)&1;f[t+32>>2]=0;return}function p(e,a){e=e|0;a=a|0;var r=0,i=0,c=0,t=0;r=f[71]|0;i=s[r>>1]|0;c=(e|0)==(a|0)?0:e;t=(e|0)==(a|0)?0:a;if(i<<16>>16==97){f[71]=r+4;r=v(1)|0;e=f[71]|0;if(ae(r)|0){A(r);a=(f[71]|0)+2|0;f[71]=a;}else {H(r)|0;a=f[71]|0;}i=v(1)|0;r=f[71]|0;}if((r|0)!=(e|0))E(e,a,c,t);return i|0}function y(){var e=0,a=0,r=0,i=0;i=f[71]|0;r=f[72]|0;a=i;e:while(1){e=a+2|0;if(a>>>0>=r>>>0){a=7;break}switch(s[e>>1]|0){case 96:{a=8;break e}case 92:{e=a+4|0;break}case 36:{if((s[a+4>>1]|0)==123){a=7;break e}break}default:{}}a=e;}if((a|0)==7){f[71]=i;e=0;}else if((a|0)==8){f[71]=e;e=1;}return e|0}function m(){var e=0,a=0,r=0;r=f[72]|0;a=f[71]|0;e:while(1){e=a+2|0;if(a>>>0>=r>>>0){a=6;break}switch(s[e>>1]|0){case 13:case 10:{a=6;break e}case 93:{a=7;break e}case 92:{e=a+4|0;break}default:{}}a=e;}if((a|0)==6){f[71]=e;ee();e=0;}else if((a|0)==7){f[71]=e;e=93;}return e|0}function I(){var e=0,a=0;e:while(1){e=f[71]|0;f[71]=e+2;if(e>>>0>=(f[72]|0)>>>0){a=7;break}switch(s[e+2>>1]|0){case 13:case 10:{a=7;break e}case 47:break e;case 91:{m()|0;break}case 92:{f[71]=e+4;break}default:{}}}if((a|0)==7)ee();return}function U(e){e=e|0;switch(s[e>>1]|0){case 62:{e=(s[e+-2>>1]|0)==61;break}case 41:case 59:{e=1;break}case 104:{e=B(e+-2|0,188,4)|0;break}case 121:{e=B(e+-2|0,196,6)|0;break}case 101:{e=B(e+-2|0,208,3)|0;break}default:e=0;}return e|0}function x(e){e=e|0;var a=0,r=0,i=0,c=0,t=0;c=(f[71]|0)+2|0;f[71]=c;r=f[72]|0;while(1){a=c+2|0;if(c>>>0>=r>>>0)break;i=s[a>>1]|0;if(!e?se(i)|0:0)break;if(i<<16>>16==42?(s[c+4>>1]|0)==47:0){t=8;break}c=a;}if((t|0)==8){f[71]=a;a=c+4|0;}f[71]=a;return}function S(e,a,r){e=e|0;a=a|0;r=r|0;var s=0,f=0;e:do{if(!r)e=0;else {while(1){s=i[e>>0]|0;f=i[a>>0]|0;if(s<<24>>24!=f<<24>>24)break;r=r+-1|0;if(!r){e=0;break e}else {e=e+1|0;a=a+1|0;}}e=(s&255)-(f&255)|0;}}while(0);return e|0}function O(e){e=e|0;e:do{switch(e<<16>>16){case 38:case 37:case 33:{e=1;break}default:if((e&-8)<<16>>16==40|(e+-58&65535)<6)e=1;else {switch(e<<16>>16){case 91:case 93:case 94:{e=1;break e}default:{}}e=(e+-123&65535)<4;}}}while(0);return e|0}function $(e){e=e|0;e:do{switch(e<<16>>16){case 38:case 37:case 33:break;default:if(!((e+-58&65535)<6|(e+-40&65535)<7&e<<16>>16!=41)){switch(e<<16>>16){case 91:case 94:break e;default:{}}return e<<16>>16!=125&(e+-123&65535)<4|0}}}while(0);return 1}function T(e){e=e|0;var a=0;a=s[e>>1]|0;e:do{if((a+-9&65535)>=5){switch(a<<16>>16){case 160:case 32:{a=1;break e}default:{}}if(O(a)|0)return a<<16>>16!=46|(N(e)|0)|0;else a=0;}else a=1;}while(0);return a|0}function j(e){e=e|0;var a=0,r=0;r=n;n=n+16|0;f[r>>2]=0;f[65]=e;a=f[3]|0;s[a+(e<<1)>>1]=0;f[r>>2]=a+(e<<1)+2;f[66]=a+(e<<1)+2;f[58]=0;f[62]=0;f[60]=0;f[59]=0;f[64]=0;f[61]=0;n=r;return a|0}function B(e,a,r){e=e|0;a=a|0;r=r|0;var i=0,s=0;s=e+(0-r<<1)+2|0;i=f[3]|0;if(s>>>0>=i>>>0?(S(s,a,r<<1)|0)==0:0)if((s|0)==(i|0))i=1;else i=T(e+(0-r<<1)|0)|0;else i=0;return i|0}function E(e,a,r,i){e=e|0;a=a|0;r=r|0;i=i|0;var s=0,c=0;s=f[66]|0;f[66]=s+20;c=f[64]|0;f[((c|0)==0?236:c+16|0)>>2]=s;f[64]=s;f[s>>2]=e;f[s+4>>2]=a;f[s+8>>2]=r;f[s+12>>2]=i;f[s+16>>2]=0;return}function P(e){e=e|0;var a=0;switch(e<<16>>16){case 91:case 123:{o();f[71]=(f[71]|0)+2;break}default:{a=f[71]|0;H(e)|0;e=f[71]|0;if(e>>>0>a>>>0)E(a,e,a,e);}}return v(1)|0}function q(e){e=e|0;switch(s[e>>1]|0){case 107:{e=B(e+-2|0,122,4)|0;break}case 101:{if((s[e+-2>>1]|0)==117)e=B(e+-4|0,94,6)|0;else e=0;break}default:e=0;}return e|0}function z(e,a){e=e|0;a=a|0;var r=0;r=f[3]|0;if(r>>>0<=e>>>0?(s[e>>1]|0)==a<<16>>16:0)if((r|0)==(e|0))r=1;else r=D(s[e+-2>>1]|0)|0;else r=0;return r|0}function D(e){e=e|0;e:do{if((e+-9&65535)<5)e=1;else {switch(e<<16>>16){case 32:case 160:{e=1;break e}default:{}}e=e<<16>>16!=46&(O(e)|0);}}while(0);return e|0}function F(){var e=0,a=0,r=0;e=f[72]|0;r=f[71]|0;e:while(1){a=r+2|0;if(r>>>0>=e>>>0)break;switch(s[a>>1]|0){case 13:case 10:break e;default:r=a;}}f[71]=a;return}function G(e){e=e|0;e:do{if(((e&-33)+-65&65535)<26|(e+-48&65535)<10)e=1;else {switch(e<<16>>16){case 36:case 95:{e=1;break e}default:{}}e=(e&65535)>127;}}while(0);return e|0}function H(e){e=e|0;while(1){if(L(e)|0)break;if(O(e)|0)break;e=(f[71]|0)+2|0;f[71]=e;e=s[e>>1]|0;if(!(e<<16>>16)){e=0;break}}return e|0}function J(){var e=0;e=f[(f[60]|0)+20>>2]|0;switch(e|0){case 1:{e=-1;break}case 2:{e=-2;break}default:e=e-(f[3]|0)>>1;}return e|0}function K(e){e=e|0;if(!(B(e,168,5)|0)?!(B(e,178,3)|0):0)e=B(e,184,2)|0;else e=1;return e|0}function L(e){e=e|0;switch(e<<16>>16){case 160:case 9:case 10:case 11:case 12:case 13:case 32:{e=1;break}default:e=0;}return e|0}function M(e){e=e|0;switch(e<<16>>16){case 160:case 32:case 12:case 11:case 9:{e=1;break}default:e=0;}return e|0}function N(e){e=e|0;if((s[e>>1]|0)==46?(s[e+-2>>1]|0)==46:0)e=(s[e+-4>>1]|0)==46;else e=0;return e|0}function Q(e){e=e|0;if((f[3]|0)==(e|0))e=1;else e=T(e+-2|0)|0;return e|0}function R(){var e=0;e=f[(f[61]|0)+12>>2]|0;if(!e)e=-1;else e=e-(f[3]|0)>>1;return e|0}function V(){var e=0;e=f[(f[60]|0)+12>>2]|0;if(!e)e=-1;else e=e-(f[3]|0)>>1;return e|0}function W(){var e=0;e=f[(f[61]|0)+8>>2]|0;if(!e)e=-1;else e=e-(f[3]|0)>>1;return e|0}function X(){var e=0;e=f[(f[60]|0)+16>>2]|0;if(!e)e=-1;else e=e-(f[3]|0)>>1;return e|0}function Y(){var e=0;e=f[(f[60]|0)+4>>2]|0;if(!e)e=-1;else e=e-(f[3]|0)>>1;return e|0}function Z(){var e=0;e=f[60]|0;e=f[((e|0)==0?232:e+32|0)>>2]|0;f[60]=e;return (e|0)!=0|0}function _(){var e=0;e=f[61]|0;e=f[((e|0)==0?236:e+16|0)>>2]|0;f[61]=e;return (e|0)!=0|0}function ee(){i[798]=1;f[67]=(f[71]|0)-(f[3]|0)>>1;f[71]=(f[72]|0)+2;return}function ae(e){e=e|0;return e<<16>>16==39|e<<16>>16==34|0}function re(){return (f[(f[60]|0)+8>>2]|0)-(f[3]|0)>>1|0}function ie(){return (f[(f[61]|0)+4>>2]|0)-(f[3]|0)>>1|0}function se(e){e=e|0;return e<<16>>16==13|e<<16>>16==10|0}function fe(){return (f[f[60]>>2]|0)-(f[3]|0)>>1|0}function ce(){return (f[f[61]>>2]|0)-(f[3]|0)>>1|0}function te(){return c[(f[60]|0)+24>>0]|0|0}function ne(e){e=e|0;f[3]=e;return}function be(){return f[(f[60]|0)+28>>2]|0}function ke(){return f[67]|0}function le(e,a){e=e|0;a=a|0;n=e+a+15&-16;return a}return {su:le,ai:X,e:ke,ee:ie,ele:R,els:W,es:ce,id:J,ie:Y,ip:te,is:fe,it:be,p:k,re:_,ri:Z,sa:j,se:V,ses:ne,ss:re}}("undefined"!=typeof globalThis?globalThis:self,{},a),r=e.su(i-(2<<17),1040);}const h=c$1.length+1;e.ses(r),e.sa(h-1),s(c$1,new Uint16Array(a,r,h)),e.p()||(n=e.e(),o());const w=[],d=[];for(;e.ri();){const a=e.is(),r=e.ie(),i=e.ai(),s=e.id(),f=e.ss(),t=e.se(),n=e.it();let k;e.ip()&&(k=b(-1===s?a:a+1,c$1.charCodeAt(-1===s?a-1:a)));let l=null;w.push({t:n,n:k,s:a,e:r,ss:f,se:t,d:s,a:i,at:l});}for(;e.re();){const a=e.es(),r=e.ee(),i=e.els(),s=e.ele(),f=i<0?void 0:v(i,s),c=v(a,r);d.push({s:a,e:r,ls:i,le:s,n:c,ln:f});}return [w,d];function v(e,a){const r=c$1.charCodeAt(e);return 34===r||39===r?b(e+1,r):c$1.slice(e,a)}}function b(e,a){n=e;let r="",i=n;for(;;){n>=c$1.length&&o();const e=c$1.charCodeAt(n);if(e===a)break;92===e?(r+=c$1.slice(i,n),r+=k(),i=n):(8232===e||8233===e||u(e)&&96!==a&&o(),++n);}return r+=c$1.slice(i,n++),r}function k(){let e=c$1.charCodeAt(++n);switch(++n,e){case 110:return "\\n";case 114:return "\\r";case 120:return String.fromCharCode(l(2));case 117:return function(){const e=c$1.charCodeAt(n);let a;123===e?(++n,a=l(c$1.indexOf("}",n)-n),++n,a>1114111&&o()):a=l(4);return a<=65535?String.fromCharCode(a):(a-=65536,String.fromCharCode(55296+(a>>10),56320+(1023&a)))}();case 116:return "\\t";case 98:return "\\b";case 118:return "\\v";case 102:return "\\f";case 13:10===c$1.charCodeAt(n)&&++n;case 10:return "";case 56:case 57:o();default:if(e>=48&&e<=55){let a=c$1.substr(n-1,3).match(/^[0-7]+/)[0],r=parseInt(a,8);return r>255&&(a=a.slice(0,-1),r=parseInt(a,8)),n+=a.length-1,e=c$1.charCodeAt(n),"0"===a&&56!==e&&57!==e||o(),String.fromCharCode(r)}return u(e)?"":String.fromCharCode(e)}}function l(e){const a=n;let r=0,i=0;for(let a=0;a<e;++a,++n){let e,s=c$1.charCodeAt(n);if(95!==s){if(s>=97)e=s-97+10;else if(s>=65)e=s-65+10;else {if(!(s>=48&&s<=57))break;e=s-48;}if(e>=16)break;i=s,r=16*r+e;}else 95!==i&&0!==a||o(),i=s;}return 95!==i&&n-a===e||o(),r}function u(e){return 13===e||10===e}function o(){throw Object.assign(Error(\`Parse error \${t}:\${c$1.slice(0,n).split("\\n").length}:\${n-c$1.lastIndexOf("\\n",n-1)}\`),{idx:n})}
|
|
643
|
-
|
|
644
|
-
const _resolve = (id, parentUrl = baseUrl) => {
|
|
645
|
-
const urlResolved = resolveIfNotPlainOrUrl(id, parentUrl) || asURL(id);
|
|
646
|
-
const firstResolved = firstImportMap && resolveImportMap(firstImportMap, urlResolved || id, parentUrl);
|
|
647
|
-
const composedResolved =
|
|
648
|
-
composedImportMap === firstImportMap ? firstResolved : (
|
|
649
|
-
resolveImportMap(composedImportMap, urlResolved || id, parentUrl)
|
|
650
|
-
);
|
|
651
|
-
const resolved = composedResolved || firstResolved || throwUnresolved(id, parentUrl);
|
|
652
|
-
// needsShim, shouldShim per load record to set on parent
|
|
653
|
-
let n = false,
|
|
654
|
-
N = false;
|
|
655
|
-
if (!supportsImportMaps) {
|
|
656
|
-
// bare specifier -> needs shim
|
|
657
|
-
if (!urlResolved) n = true;
|
|
658
|
-
// url mapping -> should shim
|
|
659
|
-
else if (urlResolved !== resolved) N = true;
|
|
660
|
-
} else if (!supportsMultipleImportMaps) {
|
|
661
|
-
// bare specifier and not resolved by first import map -> needs shim
|
|
662
|
-
if (!urlResolved && !firstResolved) n = true;
|
|
663
|
-
// resolution doesn't match first import map -> should shim
|
|
664
|
-
if (firstResolved && resolved !== firstResolved) N = true;
|
|
665
|
-
}
|
|
666
|
-
return { r: resolved, n, N };
|
|
667
|
-
};
|
|
668
|
-
|
|
669
|
-
const resolve = (id, parentUrl) => {
|
|
670
|
-
if (!resolveHook) return _resolve(id, parentUrl);
|
|
671
|
-
const result = resolveHook(id, parentUrl, defaultResolve);
|
|
672
|
-
|
|
673
|
-
return result ? { r: result, n: true, N: true } : _resolve(id, parentUrl);
|
|
674
|
-
};
|
|
675
|
-
|
|
676
|
-
// import()
|
|
677
|
-
async function importShim(id, opts, parentUrl) {
|
|
678
|
-
if (typeof opts === 'string') {
|
|
679
|
-
parentUrl = opts;
|
|
680
|
-
opts = undefined;
|
|
681
|
-
}
|
|
682
|
-
await initPromise; // needed for shim check
|
|
683
|
-
if (shimMode || !baselineSupport) {
|
|
684
|
-
if (hasDocument) processScriptsAndPreloads();
|
|
685
|
-
legacyAcceptingImportMaps = false;
|
|
686
|
-
}
|
|
687
|
-
let sourceType = undefined;
|
|
688
|
-
if (typeof opts === 'object') {
|
|
689
|
-
if (opts.lang === 'ts') sourceType = 'ts';
|
|
690
|
-
if (typeof opts.with === 'object' && typeof opts.with.type === 'string') {
|
|
691
|
-
sourceType = opts.with.type;
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
return topLevelLoad(id, parentUrl || baseUrl, defaultFetchOpts, undefined, undefined, undefined, sourceType);
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
// import.source()
|
|
698
|
-
// (opts not currently supported as no use cases yet)
|
|
699
|
-
if (shimMode || wasmSourcePhaseEnabled)
|
|
700
|
-
importShim.source = async (id, opts, parentUrl) => {
|
|
701
|
-
if (typeof opts === 'string') {
|
|
702
|
-
parentUrl = opts;
|
|
703
|
-
opts = undefined;
|
|
704
|
-
}
|
|
705
|
-
await initPromise; // needed for shim check
|
|
706
|
-
if (shimMode || !baselineSupport) {
|
|
707
|
-
if (hasDocument) processScriptsAndPreloads();
|
|
708
|
-
legacyAcceptingImportMaps = false;
|
|
709
|
-
}
|
|
710
|
-
await importMapPromise;
|
|
711
|
-
const url = resolve(id, parentUrl || baseUrl).r;
|
|
712
|
-
const load = getOrCreateLoad(url, defaultFetchOpts, undefined, undefined);
|
|
713
|
-
await load.f;
|
|
714
|
-
return importShim._s[load.r];
|
|
715
|
-
};
|
|
716
|
-
|
|
717
|
-
// import.defer() is just a proxy for import(), since we can't actually defer
|
|
718
|
-
if (shimMode || deferPhaseEnabled) importShim.defer = importShim;
|
|
719
|
-
|
|
720
|
-
if (hotReload) {
|
|
721
|
-
initHotReload(topLevelLoad, importShim);
|
|
722
|
-
importShim.hotReload = hotReload$1;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
const defaultResolve = (id, parentUrl) => {
|
|
726
|
-
return (
|
|
727
|
-
resolveImportMap(composedImportMap, resolveIfNotPlainOrUrl(id, parentUrl) || id, parentUrl) ||
|
|
728
|
-
throwUnresolved(id, parentUrl)
|
|
729
|
-
);
|
|
730
|
-
};
|
|
731
|
-
|
|
732
|
-
const throwUnresolved = (id, parentUrl) => {
|
|
733
|
-
throw Error(\`Unable to resolve specifier '\${id}'\${fromParent(parentUrl)}\`);
|
|
734
|
-
};
|
|
735
|
-
|
|
736
|
-
const metaResolve = function (id, parentUrl = this.url) {
|
|
737
|
-
return resolve(id, \`\${parentUrl}\`).r;
|
|
738
|
-
};
|
|
739
|
-
|
|
740
|
-
importShim.resolve = (id, parentUrl) => resolve(id, parentUrl).r;
|
|
741
|
-
importShim.getImportMap = () => JSON.parse(JSON.stringify(composedImportMap));
|
|
742
|
-
importShim.addImportMap = importMapIn => {
|
|
743
|
-
if (!shimMode) throw new Error('Unsupported in polyfill mode.');
|
|
744
|
-
composedImportMap = resolveAndComposeImportMap(importMapIn, baseUrl, composedImportMap);
|
|
745
|
-
};
|
|
746
|
-
importShim.version = version;
|
|
747
|
-
|
|
748
|
-
const registry = (importShim._r = {});
|
|
749
|
-
// Wasm caches
|
|
750
|
-
const sourceCache = (importShim._s = {});
|
|
751
|
-
/* const instanceCache = */ importShim._i = new WeakMap();
|
|
752
|
-
|
|
753
|
-
// Ensure this version is the only version
|
|
754
|
-
defineValue(self_, 'importShim', Object.freeze(importShim));
|
|
755
|
-
const shimModeOptions = { ...esmsInitOptions, shimMode: true };
|
|
756
|
-
if (optionsScript) optionsScript.innerText = maybeTrustedScript(JSON.stringify(shimModeOptions));
|
|
757
|
-
self_.esmsInitOptions = shimModeOptions;
|
|
758
|
-
|
|
759
|
-
const loadAll = async (load, seen) => {
|
|
760
|
-
seen[load.u] = 1;
|
|
761
|
-
await load.L;
|
|
762
|
-
await Promise.all(
|
|
763
|
-
load.d.map(({ l: dep, s: sourcePhase }) => {
|
|
764
|
-
if (dep.b || seen[dep.u]) return;
|
|
765
|
-
if (sourcePhase) return dep.f;
|
|
766
|
-
return loadAll(dep, seen);
|
|
767
|
-
})
|
|
768
|
-
);
|
|
769
|
-
};
|
|
770
|
-
|
|
771
|
-
let importMapSrc = false;
|
|
772
|
-
let multipleImportMaps = false;
|
|
773
|
-
let firstImportMap = null;
|
|
774
|
-
// To support polyfilling multiple import maps, we separately track the composed import map from the first import map
|
|
775
|
-
let composedImportMap = { imports: {}, scopes: {}, integrity: {} };
|
|
776
|
-
let baselineSupport;
|
|
777
|
-
|
|
778
|
-
const initPromise = featureDetectionPromise.then(() => {
|
|
779
|
-
baselineSupport =
|
|
780
|
-
supportsImportMaps &&
|
|
781
|
-
(!jsonModulesEnabled || supportsJsonType) &&
|
|
782
|
-
(!cssModulesEnabled || supportsCssType) &&
|
|
783
|
-
(!wasmInstancePhaseEnabled || supportsWasmInstancePhase) &&
|
|
784
|
-
(!wasmSourcePhaseEnabled || supportsWasmSourcePhase) &&
|
|
785
|
-
!deferPhaseEnabled &&
|
|
786
|
-
(!multipleImportMaps || supportsMultipleImportMaps) &&
|
|
787
|
-
!importMapSrc &&
|
|
788
|
-
!hasCustomizationHooks;
|
|
789
|
-
if (!shimMode && typeof WebAssembly !== 'undefined') {
|
|
790
|
-
if (wasmSourcePhaseEnabled && !Object.getPrototypeOf(WebAssembly.Module).name) {
|
|
791
|
-
const s = Symbol();
|
|
792
|
-
const brand = m => defineValue(m, s, 'WebAssembly.Module');
|
|
793
|
-
class AbstractModuleSource {
|
|
794
|
-
get [Symbol.toStringTag]() {
|
|
795
|
-
if (this[s]) return this[s];
|
|
796
|
-
throw new TypeError('Not an AbstractModuleSource');
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
const { Module: wasmModule, compile: wasmCompile, compileStreaming: wasmCompileStreaming } = WebAssembly;
|
|
800
|
-
WebAssembly.Module = Object.setPrototypeOf(
|
|
801
|
-
Object.assign(function Module(...args) {
|
|
802
|
-
return brand(new wasmModule(...args));
|
|
803
|
-
}, wasmModule),
|
|
804
|
-
AbstractModuleSource
|
|
805
|
-
);
|
|
806
|
-
WebAssembly.Module.prototype = Object.setPrototypeOf(wasmModule.prototype, AbstractModuleSource.prototype);
|
|
807
|
-
WebAssembly.compile = function compile(...args) {
|
|
808
|
-
return wasmCompile(...args).then(brand);
|
|
809
|
-
};
|
|
810
|
-
WebAssembly.compileStreaming = function compileStreaming(...args) {
|
|
811
|
-
return wasmCompileStreaming(...args).then(brand);
|
|
812
|
-
};
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
if (hasDocument) {
|
|
816
|
-
if (!supportsImportMaps) {
|
|
817
|
-
const supports = HTMLScriptElement.supports || (type => type === 'classic' || type === 'module');
|
|
818
|
-
HTMLScriptElement.supports = type => type === 'importmap' || supports(type);
|
|
819
|
-
}
|
|
820
|
-
if (shimMode || !baselineSupport) {
|
|
821
|
-
attachMutationObserver();
|
|
822
|
-
if (document.readyState === 'complete') {
|
|
823
|
-
readyStateCompleteCheck();
|
|
824
|
-
} else {
|
|
825
|
-
document.addEventListener('readystatechange', readyListener);
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
processScriptsAndPreloads();
|
|
829
|
-
}
|
|
830
|
-
return undefined;
|
|
831
|
-
});
|
|
832
|
-
|
|
833
|
-
const attachMutationObserver = () => {
|
|
834
|
-
const observer = new MutationObserver(mutations => {
|
|
835
|
-
for (const mutation of mutations) {
|
|
836
|
-
if (mutation.type !== 'childList') continue;
|
|
837
|
-
for (const node of mutation.addedNodes) {
|
|
838
|
-
if (node.tagName === 'SCRIPT') {
|
|
839
|
-
if (node.type === (shimMode ? 'module-shim' : 'module') && !node.ep) processScript(node, true);
|
|
840
|
-
if (node.type === (shimMode ? 'importmap-shim' : 'importmap') && !node.ep) processImportMap(node, true);
|
|
841
|
-
} else if (
|
|
842
|
-
node.tagName === 'LINK' &&
|
|
843
|
-
node.rel === (shimMode ? 'modulepreload-shim' : 'modulepreload') &&
|
|
844
|
-
!node.ep
|
|
845
|
-
) {
|
|
846
|
-
processPreload(node);
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
});
|
|
851
|
-
observer.observe(document, { childList: true });
|
|
852
|
-
observer.observe(document.head, { childList: true });
|
|
853
|
-
processScriptsAndPreloads();
|
|
854
|
-
};
|
|
855
|
-
|
|
856
|
-
let importMapPromise = initPromise;
|
|
857
|
-
let firstPolyfillLoad = true;
|
|
858
|
-
let legacyAcceptingImportMaps = true;
|
|
859
|
-
|
|
860
|
-
async function topLevelLoad(
|
|
861
|
-
url,
|
|
862
|
-
parentUrl,
|
|
863
|
-
fetchOpts,
|
|
864
|
-
source,
|
|
865
|
-
nativelyLoaded,
|
|
866
|
-
lastStaticLoadPromise,
|
|
867
|
-
sourceType
|
|
868
|
-
) {
|
|
869
|
-
await initPromise;
|
|
870
|
-
await importMapPromise;
|
|
871
|
-
url = (await resolve(url, parentUrl)).r;
|
|
872
|
-
|
|
873
|
-
// we mock import('./x.css', { with: { type: 'css' }}) support via an inline static reexport
|
|
874
|
-
// because we can't syntactically pass through to dynamic import with a second argument
|
|
875
|
-
if (sourceType === 'css' || sourceType === 'json') {
|
|
876
|
-
// Direct reexport for hot reloading skipped due to Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=1965620
|
|
877
|
-
source = \`import m from'\${url}'with{type:"\${sourceType}"};export default m;\`;
|
|
878
|
-
url += '?entry';
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
if (importHook) await importHook(url, typeof fetchOpts !== 'string' ? fetchOpts : {}, parentUrl, source, sourceType);
|
|
882
|
-
// early analysis opt-out - no need to even fetch if we have feature support
|
|
883
|
-
if (!shimMode && baselineSupport && nativePassthrough && sourceType !== 'ts') {
|
|
884
|
-
// for polyfill case, only dynamic import needs a return value here, and dynamic import will never pass nativelyLoaded
|
|
885
|
-
if (nativelyLoaded) return null;
|
|
886
|
-
await lastStaticLoadPromise;
|
|
887
|
-
return dynamicImport(source ? createBlob(source) : url);
|
|
888
|
-
}
|
|
889
|
-
const load = getOrCreateLoad(url, fetchOpts, undefined, source);
|
|
890
|
-
linkLoad(load, fetchOpts);
|
|
891
|
-
const seen = {};
|
|
892
|
-
await loadAll(load, seen);
|
|
893
|
-
resolveDeps(load, seen);
|
|
894
|
-
await lastStaticLoadPromise;
|
|
895
|
-
if (!shimMode && !load.n) {
|
|
896
|
-
if (nativelyLoaded) {
|
|
897
|
-
return;
|
|
898
|
-
}
|
|
899
|
-
if (source) {
|
|
900
|
-
return await dynamicImport(createBlob(source));
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
if (firstPolyfillLoad && !shimMode && load.n && nativelyLoaded) {
|
|
904
|
-
onpolyfill();
|
|
905
|
-
firstPolyfillLoad = false;
|
|
906
|
-
}
|
|
907
|
-
const module = await (shimMode || load.n || load.N || !nativePassthrough || (!nativelyLoaded && source) ?
|
|
908
|
-
dynamicImport(load.b, load.u)
|
|
909
|
-
: import(load.u));
|
|
910
|
-
// if the top-level load is a shell, run its update function
|
|
911
|
-
if (load.s) (await dynamicImport(load.s, load.u)).u$_(module);
|
|
912
|
-
revokeObjectURLs(Object.keys(seen));
|
|
913
|
-
return module;
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
const revokeObjectURLs = registryKeys => {
|
|
917
|
-
let curIdx = 0;
|
|
918
|
-
const handler = self_.requestIdleCallback || self_.requestAnimationFrame || (fn => setTimeout(fn, 0));
|
|
919
|
-
handler(cleanup);
|
|
920
|
-
function cleanup() {
|
|
921
|
-
for (const key of registryKeys.slice(curIdx, (curIdx += 100))) {
|
|
922
|
-
const load = registry[key];
|
|
923
|
-
if (load && load.b && load.b !== load.u) URL.revokeObjectURL(load.b);
|
|
924
|
-
}
|
|
925
|
-
if (curIdx < registryKeys.length) handler(cleanup);
|
|
926
|
-
}
|
|
927
|
-
};
|
|
928
|
-
|
|
929
|
-
const urlJsString = url => \`'\${url.replace(/'/g, "\\\\'")}'\`;
|
|
930
|
-
|
|
931
|
-
let resolvedSource, lastIndex;
|
|
932
|
-
const pushStringTo = (load, originalIndex, dynamicImportEndStack) => {
|
|
933
|
-
while (dynamicImportEndStack[dynamicImportEndStack.length - 1] < originalIndex) {
|
|
934
|
-
const dynamicImportEnd = dynamicImportEndStack.pop();
|
|
935
|
-
resolvedSource += \`\${load.S.slice(lastIndex, dynamicImportEnd)}, \${urlJsString(load.r)}\`;
|
|
936
|
-
lastIndex = dynamicImportEnd;
|
|
937
|
-
}
|
|
938
|
-
resolvedSource += load.S.slice(lastIndex, originalIndex);
|
|
939
|
-
lastIndex = originalIndex;
|
|
940
|
-
};
|
|
941
|
-
|
|
942
|
-
const pushSourceURL = (load, commentPrefix, commentStart, dynamicImportEndStack) => {
|
|
943
|
-
const urlStart = commentStart + commentPrefix.length;
|
|
944
|
-
const commentEnd = load.S.indexOf('\\n', urlStart);
|
|
945
|
-
const urlEnd = commentEnd !== -1 ? commentEnd : load.S.length;
|
|
946
|
-
let sourceUrl = load.S.slice(urlStart, urlEnd);
|
|
947
|
-
try {
|
|
948
|
-
sourceUrl = new URL(sourceUrl, load.r).href;
|
|
949
|
-
} catch (e) {}
|
|
950
|
-
pushStringTo(load, urlStart, dynamicImportEndStack);
|
|
951
|
-
resolvedSource += sourceUrl;
|
|
952
|
-
lastIndex = urlEnd;
|
|
953
|
-
};
|
|
954
|
-
|
|
955
|
-
const resolveDeps = (load, seen) => {
|
|
956
|
-
if (load.b || !seen[load.u]) return;
|
|
957
|
-
seen[load.u] = 0;
|
|
958
|
-
|
|
959
|
-
for (const { l: dep, s: sourcePhase } of load.d) {
|
|
960
|
-
if (!sourcePhase) resolveDeps(dep, seen);
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
if (!load.n) load.n = load.d.some(dep => dep.l.n);
|
|
964
|
-
if (!load.N) load.N = load.d.some(dep => dep.l.N);
|
|
965
|
-
|
|
966
|
-
// use native loader whenever possible (n = needs shim) via executable subgraph passthrough
|
|
967
|
-
// so long as the module doesn't use dynamic import or unsupported URL mappings (N = should shim)
|
|
968
|
-
if (nativePassthrough && !shimMode && !load.n && !load.N) {
|
|
969
|
-
load.b = load.u;
|
|
970
|
-
load.S = undefined;
|
|
971
|
-
return;
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
const [imports, exports] = load.a;
|
|
975
|
-
|
|
976
|
-
// "execution"
|
|
977
|
-
let source = load.S,
|
|
978
|
-
depIndex = 0,
|
|
979
|
-
dynamicImportEndStack = [];
|
|
980
|
-
|
|
981
|
-
// once all deps have loaded we can inline the dependency resolution blobs
|
|
982
|
-
// and define this blob
|
|
983
|
-
resolvedSource = '';
|
|
984
|
-
lastIndex = 0;
|
|
985
|
-
|
|
986
|
-
for (const { s: start, e: end, ss: statementStart, se: statementEnd, d: dynamicImportIndex, t, a, at } of imports) {
|
|
987
|
-
// source phase
|
|
988
|
-
if (t === 4) {
|
|
989
|
-
let { l: depLoad } = load.d[depIndex++];
|
|
990
|
-
pushStringTo(load, statementStart, dynamicImportEndStack);
|
|
991
|
-
resolvedSource += \`\${source.slice(statementStart, start - 1).replace('source', '')}/*\${source.slice(start - 1, end + 1)}*/'\${createBlob(\`export default importShim._s[\${urlJsString(depLoad.r)}]\`)}'\`;
|
|
992
|
-
lastIndex = end + 1;
|
|
993
|
-
}
|
|
994
|
-
// dependency source replacements
|
|
995
|
-
else if (dynamicImportIndex === -1) {
|
|
996
|
-
let keepAssertion = false;
|
|
997
|
-
if (a > 0 && !shimMode) {
|
|
998
|
-
// strip assertions only when unsupported in polyfill mode
|
|
999
|
-
// minimal lexer builds do not provide parsed attributes, so sniff the assertion source directly
|
|
1000
|
-
const assertion = source.slice(a, statementEnd - 1);
|
|
1001
|
-
keepAssertion =
|
|
1002
|
-
nativePassthrough &&
|
|
1003
|
-
((supportsJsonType && assertion.includes('json')) || (supportsCssType && assertion.includes('css')));
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
// defer phase stripping
|
|
1007
|
-
if (t === 6) {
|
|
1008
|
-
pushStringTo(load, statementStart, dynamicImportEndStack);
|
|
1009
|
-
resolvedSource += source.slice(statementStart, start - 1).replace('defer', '');
|
|
1010
|
-
lastIndex = start;
|
|
1011
|
-
}
|
|
1012
|
-
let { l: depLoad } = load.d[depIndex++],
|
|
1013
|
-
blobUrl = depLoad.b,
|
|
1014
|
-
cycleShell = !blobUrl;
|
|
1015
|
-
if (cycleShell) {
|
|
1016
|
-
// circular shell creation
|
|
1017
|
-
if (!(blobUrl = depLoad.s)) {
|
|
1018
|
-
blobUrl = depLoad.s = createBlob(
|
|
1019
|
-
\`export function u$_(m){\${depLoad.a[1]
|
|
1020
|
-
.map(({ s, e }, i) => {
|
|
1021
|
-
const q = depLoad.S[s] === '"' || depLoad.S[s] === "'";
|
|
1022
|
-
return \`e$_\${i}=m\${q ? \`[\` : '.'}\${depLoad.S.slice(s, e)}\${q ? \`]\` : ''}\`;
|
|
1023
|
-
})
|
|
1024
|
-
.join(',')}}\${
|
|
1025
|
-
depLoad.a[1].length ? \`let \${depLoad.a[1].map((_, i) => \`e$_\${i}\`).join(',')};\` : ''
|
|
1026
|
-
}export {\${depLoad.a[1]
|
|
1027
|
-
.map(({ s, e }, i) => \`e$_\${i} as \${depLoad.S.slice(s, e)}\`)
|
|
1028
|
-
.join(',')}}\\n//# sourceURL=\${depLoad.r}?cycle\`
|
|
1029
|
-
);
|
|
1030
|
-
}
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
pushStringTo(load, start - 1, dynamicImportEndStack);
|
|
1034
|
-
resolvedSource += \`/*\${source.slice(start - 1, end + 1)}*/'\${blobUrl}'\`;
|
|
1035
|
-
|
|
1036
|
-
// circular shell execution
|
|
1037
|
-
if (!cycleShell && depLoad.s) {
|
|
1038
|
-
resolvedSource += \`;import*as m$_\${depIndex} from'\${depLoad.b}';import{u$_ as u$_\${depIndex}}from'\${depLoad.s}';u$_\${depIndex}(m$_\${depIndex})\`;
|
|
1039
|
-
depLoad.s = undefined;
|
|
1040
|
-
}
|
|
1041
|
-
lastIndex = keepAssertion ? end + 1 : statementEnd;
|
|
1042
|
-
}
|
|
1043
|
-
// import.meta
|
|
1044
|
-
else if (dynamicImportIndex === -2) {
|
|
1045
|
-
load.m = { url: load.r, resolve: metaResolve };
|
|
1046
|
-
if (metaHook) metaHook(load.m, load.u);
|
|
1047
|
-
pushStringTo(load, start, dynamicImportEndStack);
|
|
1048
|
-
resolvedSource += \`importShim._r[\${urlJsString(load.u)}].m\`;
|
|
1049
|
-
lastIndex = statementEnd;
|
|
1050
|
-
}
|
|
1051
|
-
// dynamic import
|
|
1052
|
-
else {
|
|
1053
|
-
pushStringTo(load, statementStart + 6, dynamicImportEndStack);
|
|
1054
|
-
resolvedSource += \`Shim\${t === 5 ? '.source' : ''}(\`;
|
|
1055
|
-
dynamicImportEndStack.push(statementEnd - 1);
|
|
1056
|
-
lastIndex = start;
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
// support progressive cycle binding updates (try statement avoids tdz errors)
|
|
1061
|
-
if (load.s && (imports.length === 0 || imports[imports.length - 1].d === -1))
|
|
1062
|
-
resolvedSource += \`\\n;import{u$_}from'\${load.s}';try{u$_({\${exports
|
|
1063
|
-
.filter(e => e.ln)
|
|
1064
|
-
.map(({ s, e, ln }) => \`\${source.slice(s, e)}:\${ln}\`)
|
|
1065
|
-
.join(',')}})}catch(_){};\\n\`;
|
|
1066
|
-
|
|
1067
|
-
let sourceURLCommentStart = source.lastIndexOf(sourceURLCommentPrefix);
|
|
1068
|
-
let sourceMapURLCommentStart = source.lastIndexOf(sourceMapURLCommentPrefix);
|
|
1069
|
-
|
|
1070
|
-
// ignore sourceMap comments before already spliced code
|
|
1071
|
-
if (sourceURLCommentStart < lastIndex) sourceURLCommentStart = -1;
|
|
1072
|
-
if (sourceMapURLCommentStart < lastIndex) sourceMapURLCommentStart = -1;
|
|
1073
|
-
|
|
1074
|
-
// sourceURL first / only
|
|
1075
|
-
if (
|
|
1076
|
-
sourceURLCommentStart !== -1 &&
|
|
1077
|
-
(sourceMapURLCommentStart === -1 || sourceMapURLCommentStart > sourceURLCommentStart)
|
|
1078
|
-
) {
|
|
1079
|
-
pushSourceURL(load, sourceURLCommentPrefix, sourceURLCommentStart, dynamicImportEndStack);
|
|
1080
|
-
}
|
|
1081
|
-
// sourceMappingURL
|
|
1082
|
-
if (sourceMapURLCommentStart !== -1) {
|
|
1083
|
-
pushSourceURL(load, sourceMapURLCommentPrefix, sourceMapURLCommentStart, dynamicImportEndStack);
|
|
1084
|
-
// sourceURL last
|
|
1085
|
-
if (sourceURLCommentStart !== -1 && sourceURLCommentStart > sourceMapURLCommentStart)
|
|
1086
|
-
pushSourceURL(load, sourceURLCommentPrefix, sourceURLCommentStart, dynamicImportEndStack);
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
pushStringTo(load, source.length, dynamicImportEndStack);
|
|
1090
|
-
|
|
1091
|
-
if (sourceURLCommentStart === -1) resolvedSource += sourceURLCommentPrefix + load.r;
|
|
1092
|
-
|
|
1093
|
-
load.b = createBlob(resolvedSource);
|
|
1094
|
-
load.S = resolvedSource = undefined;
|
|
1095
|
-
};
|
|
1096
|
-
|
|
1097
|
-
const sourceURLCommentPrefix = '\\n//# sourceURL=';
|
|
1098
|
-
const sourceMapURLCommentPrefix = '\\n//# sourceMappingURL=';
|
|
1099
|
-
const cssUrlRegEx = /url\\(\\s*(?:(["'])((?:\\\\.|[^\\n\\\\"'])+)\\1|((?:\\\\.|[^\\s,"'()\\\\])+))\\s*\\)/g;
|
|
1100
|
-
|
|
1101
|
-
// restrict in-flight fetches to a pool of 100
|
|
1102
|
-
let p = [];
|
|
1103
|
-
let c = 0;
|
|
1104
|
-
const pushFetchPool = () => {
|
|
1105
|
-
if (++c > 100) return new Promise(r => p.push(r));
|
|
1106
|
-
};
|
|
1107
|
-
const popFetchPool = () => {
|
|
1108
|
-
c--;
|
|
1109
|
-
if (p.length) p.shift()();
|
|
1110
|
-
};
|
|
1111
|
-
|
|
1112
|
-
const doFetch = async (url, fetchOpts, parent) => {
|
|
1113
|
-
if (enforceIntegrity && !fetchOpts.integrity) throw Error(\`No integrity for \${url}\${fromParent(parent)}.\`);
|
|
1114
|
-
let res,
|
|
1115
|
-
poolQueue = pushFetchPool();
|
|
1116
|
-
if (poolQueue) await poolQueue;
|
|
1117
|
-
try {
|
|
1118
|
-
res = await fetchHook(url, fetchOpts);
|
|
1119
|
-
} catch (e) {
|
|
1120
|
-
e.message = \`Unable to fetch \${url}\${fromParent(parent)} - see network log for details.\\n\` + e.message;
|
|
1121
|
-
throw e;
|
|
1122
|
-
} finally {
|
|
1123
|
-
popFetchPool();
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
if (!res.ok) {
|
|
1127
|
-
const error = new TypeError(\`\${res.status} \${res.statusText} \${res.url}\${fromParent(parent)}\`);
|
|
1128
|
-
error.response = res;
|
|
1129
|
-
throw error;
|
|
1130
|
-
}
|
|
1131
|
-
return res;
|
|
1132
|
-
};
|
|
1133
|
-
|
|
1134
|
-
let esmsTsTransform;
|
|
1135
|
-
const initTs = async () => {
|
|
1136
|
-
const m = await import(tsTransform);
|
|
1137
|
-
if (!esmsTsTransform) esmsTsTransform = m.transform;
|
|
1138
|
-
};
|
|
1139
|
-
|
|
1140
|
-
async function defaultSourceHook(url, fetchOpts, parent) {
|
|
1141
|
-
let res = await doFetch(url, fetchOpts, parent),
|
|
1142
|
-
contentType,
|
|
1143
|
-
[, json, type, jsts] =
|
|
1144
|
-
(contentType = res.headers.get('content-type') || '').match(
|
|
1145
|
-
/^(?:[^/;]+\\/(?:[^/+;]+\\+)?(json)|(?:text|application)\\/(?:x-)?((java|type)script|wasm|css))(?:;|$)/
|
|
1146
|
-
) || [];
|
|
1147
|
-
if (!(type = json || (jsts ? jsts[0] + 's' : type || (/\\.m?ts(\\?|#|$)/.test(url) && 'ts')))) {
|
|
1148
|
-
throw Error(
|
|
1149
|
-
\`Unsupported Content-Type "\${contentType}" loading \${url}\${fromParent(parent)}. Modules must be served with a valid MIME type like application/javascript.\`
|
|
1150
|
-
);
|
|
1151
|
-
}
|
|
1152
|
-
return {
|
|
1153
|
-
url: res.url,
|
|
1154
|
-
source: await (type > 'v' ? WebAssembly.compileStreaming(res) : res.text()),
|
|
1155
|
-
type
|
|
1156
|
-
};
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
const hotPrefix = 'var h=import.meta.hot,';
|
|
1160
|
-
const fetchModule = async (reqUrl, fetchOpts, parent) => {
|
|
1161
|
-
const mapIntegrity = composedImportMap.integrity[reqUrl];
|
|
1162
|
-
fetchOpts = mapIntegrity && !fetchOpts.integrity ? { ...fetchOpts, integrity: mapIntegrity } : fetchOpts;
|
|
1163
|
-
let {
|
|
1164
|
-
url = reqUrl,
|
|
1165
|
-
source,
|
|
1166
|
-
type
|
|
1167
|
-
} = (await (sourceHook || defaultSourceHook)(reqUrl, fetchOpts, parent, defaultSourceHook)) || {};
|
|
1168
|
-
if (type === 'wasm') {
|
|
1169
|
-
const exports = WebAssembly.Module.exports((sourceCache[url] = source));
|
|
1170
|
-
const imports = WebAssembly.Module.imports(source);
|
|
1171
|
-
const rStr = urlJsString(url);
|
|
1172
|
-
source = \`import*as $_ns from\${rStr};\`;
|
|
1173
|
-
let i = 0,
|
|
1174
|
-
obj = '';
|
|
1175
|
-
for (const { module, kind } of imports) {
|
|
1176
|
-
const specifier = urlJsString(module);
|
|
1177
|
-
source += \`import*as impt\${i} from\${specifier};\\n\`;
|
|
1178
|
-
obj += \`\${specifier}:\${kind === 'global' ? \`importShim._i.get(impt\${i})||impt\${i++}\` : \`impt\${i++}\`},\`;
|
|
1179
|
-
}
|
|
1180
|
-
source += \`\${hotPrefix}i=await WebAssembly.instantiate(importShim._s[\${rStr}],{\${obj}});importShim._i.set($_ns,i);\`;
|
|
1181
|
-
obj = '';
|
|
1182
|
-
for (const { name, kind } of exports) {
|
|
1183
|
-
source += \`export let \${name}=i.exports['\${name}'];\`;
|
|
1184
|
-
if (kind === 'global') source += \`try{\${name}=\${name}.value}catch(_){\${name}=undefined}\`;
|
|
1185
|
-
obj += \`\${name},\`;
|
|
1186
|
-
}
|
|
1187
|
-
source += \`if(h)h.accept(m=>({\${obj}}=m))\`;
|
|
1188
|
-
} else if (type === 'json') {
|
|
1189
|
-
source = \`\${hotPrefix}j=JSON.parse(\${JSON.stringify(source)});export{j as default};if(h)h.accept(m=>j=m.default)\`;
|
|
1190
|
-
} else if (type === 'css') {
|
|
1191
|
-
source = \`\${hotPrefix}s=h&&h.data.s||new CSSStyleSheet();s.replaceSync(\${JSON.stringify(
|
|
1192
|
-
source.replace(
|
|
1193
|
-
cssUrlRegEx,
|
|
1194
|
-
(_match, quotes = '', relUrl1, relUrl2) => \`url(\${quotes}\${resolveUrl(relUrl1 || relUrl2, url)}\${quotes})\`
|
|
1195
|
-
)
|
|
1196
|
-
)});if(h){h.data.s=s;h.accept(()=>{})}export default s\`;
|
|
1197
|
-
} else if (type === 'ts') {
|
|
1198
|
-
if (!esmsTsTransform) await initTs();
|
|
1199
|
-
const transformed = esmsTsTransform(source, url);
|
|
1200
|
-
// even if the TypeScript is valid JavaScript, unless it was a top-level inline source, it wasn't served with
|
|
1201
|
-
// a valid JS MIME here, so we must still polyfill it
|
|
1202
|
-
source = transformed === undefined ? source : transformed;
|
|
1203
|
-
}
|
|
1204
|
-
return { url, source, type };
|
|
1205
|
-
};
|
|
1206
|
-
|
|
1207
|
-
const getOrCreateLoad = (url, fetchOpts, parent, source) => {
|
|
1208
|
-
if (source && registry[url]) {
|
|
1209
|
-
let i = 0;
|
|
1210
|
-
while (registry[url + '#' + ++i]);
|
|
1211
|
-
url += '#' + i;
|
|
1212
|
-
}
|
|
1213
|
-
let load = registry[url];
|
|
1214
|
-
if (load) return load;
|
|
1215
|
-
registry[url] = load = {
|
|
1216
|
-
// url
|
|
1217
|
-
u: url,
|
|
1218
|
-
// response url
|
|
1219
|
-
r: source ? url : undefined,
|
|
1220
|
-
// fetchPromise
|
|
1221
|
-
f: undefined,
|
|
1222
|
-
// source
|
|
1223
|
-
S: source,
|
|
1224
|
-
// linkPromise
|
|
1225
|
-
L: undefined,
|
|
1226
|
-
// analysis
|
|
1227
|
-
a: undefined,
|
|
1228
|
-
// deps
|
|
1229
|
-
d: undefined,
|
|
1230
|
-
// blobUrl
|
|
1231
|
-
b: undefined,
|
|
1232
|
-
// shellUrl
|
|
1233
|
-
s: undefined,
|
|
1234
|
-
// needsShim: does it fail execution in the current native loader?
|
|
1235
|
-
n: false,
|
|
1236
|
-
// shouldShim: does it need to be loaded by the polyfill loader?
|
|
1237
|
-
N: false,
|
|
1238
|
-
// type
|
|
1239
|
-
t: null,
|
|
1240
|
-
// meta
|
|
1241
|
-
m: null
|
|
1242
|
-
};
|
|
1243
|
-
load.f = (async () => {
|
|
1244
|
-
if (load.S === undefined) {
|
|
1245
|
-
// preload fetch options override fetch options (race)
|
|
1246
|
-
({ url: load.r, source: load.S, type: load.t } = await (fetchCache[url] || fetchModule(url, fetchOpts, parent)));
|
|
1247
|
-
if (
|
|
1248
|
-
!load.n &&
|
|
1249
|
-
load.t !== 'js' &&
|
|
1250
|
-
!shimMode &&
|
|
1251
|
-
((load.t === 'css' && !supportsCssType) ||
|
|
1252
|
-
(load.t === 'json' && !supportsJsonType) ||
|
|
1253
|
-
(load.t === 'wasm' && !supportsWasmInstancePhase && !supportsWasmSourcePhase) ||
|
|
1254
|
-
load.t === 'ts')
|
|
1255
|
-
) {
|
|
1256
|
-
load.n = true;
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
try {
|
|
1260
|
-
load.a = parse(load.S, load.u);
|
|
1261
|
-
} catch (e) {
|
|
1262
|
-
throwError(e);
|
|
1263
|
-
load.a = [[], [], false];
|
|
1264
|
-
}
|
|
1265
|
-
return load;
|
|
1266
|
-
})();
|
|
1267
|
-
return load;
|
|
1268
|
-
};
|
|
1269
|
-
|
|
1270
|
-
const featErr = feat =>
|
|
1271
|
-
Error(
|
|
1272
|
-
\`\${feat} feature must be enabled via <script type="esms-options">{ "polyfillEnable": ["\${feat}"] }<\${''}/script>\`
|
|
1273
|
-
);
|
|
1274
|
-
|
|
1275
|
-
const linkLoad = (load, fetchOpts) => {
|
|
1276
|
-
if (load.L) return;
|
|
1277
|
-
load.L = load.f.then(() => {
|
|
1278
|
-
let childFetchOpts = fetchOpts;
|
|
1279
|
-
load.d = load.a[0]
|
|
1280
|
-
.map(({ n, d, t, a, se }) => {
|
|
1281
|
-
const phaseImport = t >= 4;
|
|
1282
|
-
const sourcePhase = phaseImport && t < 6;
|
|
1283
|
-
if (phaseImport) {
|
|
1284
|
-
if (!shimMode && (sourcePhase ? !wasmSourcePhaseEnabled : !deferPhaseEnabled))
|
|
1285
|
-
throw featErr(sourcePhase ? 'wasm-module-sources' : 'import-defer');
|
|
1286
|
-
if (!sourcePhase || !supportsWasmSourcePhase) load.n = true;
|
|
1287
|
-
}
|
|
1288
|
-
let source = undefined;
|
|
1289
|
-
if (a > 0 && !shimMode && nativePassthrough) {
|
|
1290
|
-
const assertion = load.S.slice(a, se - 1);
|
|
1291
|
-
// no need to fetch JSON/CSS if supported, since it's a leaf node, we'll just strip the assertion syntax
|
|
1292
|
-
if (assertion.includes('json')) {
|
|
1293
|
-
if (supportsJsonType) source = '';
|
|
1294
|
-
else load.n = true;
|
|
1295
|
-
} else if (assertion.includes('css')) {
|
|
1296
|
-
if (supportsCssType) source = '';
|
|
1297
|
-
else load.n = true;
|
|
1298
|
-
}
|
|
1299
|
-
}
|
|
1300
|
-
if (d !== -1 || !n) return;
|
|
1301
|
-
const resolved = resolve(n, load.r || load.u);
|
|
1302
|
-
if (resolved.n || hasCustomizationHooks) load.n = true;
|
|
1303
|
-
if (d >= 0 || resolved.N) load.N = true;
|
|
1304
|
-
if (d !== -1) return;
|
|
1305
|
-
if (skip && skip(resolved.r) && !sourcePhase) return { l: { b: resolved.r }, s: false };
|
|
1306
|
-
if (childFetchOpts.integrity) childFetchOpts = { ...childFetchOpts, integrity: undefined };
|
|
1307
|
-
const child = { l: getOrCreateLoad(resolved.r, childFetchOpts, load.r, source), s: sourcePhase };
|
|
1308
|
-
// assertion case -> inline the CSS / JSON URL directly
|
|
1309
|
-
if (source === '') child.l.b = child.l.u;
|
|
1310
|
-
if (!child.s) linkLoad(child.l, fetchOpts);
|
|
1311
|
-
// load, sourcePhase
|
|
1312
|
-
return child;
|
|
1313
|
-
})
|
|
1314
|
-
.filter(l => l);
|
|
1315
|
-
});
|
|
1316
|
-
};
|
|
1317
|
-
|
|
1318
|
-
const processScriptsAndPreloads = () => {
|
|
1319
|
-
for (const link of document.querySelectorAll(shimMode ? 'link[rel=modulepreload-shim]' : 'link[rel=modulepreload]')) {
|
|
1320
|
-
if (!link.ep) processPreload(link);
|
|
1321
|
-
}
|
|
1322
|
-
for (const script of document.querySelectorAll('script[type]')) {
|
|
1323
|
-
if (script.type === 'importmap' + (shimMode ? '-shim' : '')) {
|
|
1324
|
-
if (!script.ep) processImportMap(script);
|
|
1325
|
-
} else if (script.type === 'module' + (shimMode ? '-shim' : '')) {
|
|
1326
|
-
legacyAcceptingImportMaps = false;
|
|
1327
|
-
if (!script.ep) processScript(script);
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
|
-
};
|
|
1331
|
-
|
|
1332
|
-
const getFetchOpts = script => {
|
|
1333
|
-
const fetchOpts = {};
|
|
1334
|
-
if (script.integrity) fetchOpts.integrity = script.integrity;
|
|
1335
|
-
if (script.referrerPolicy) fetchOpts.referrerPolicy = script.referrerPolicy;
|
|
1336
|
-
if (script.fetchPriority) fetchOpts.priority = script.fetchPriority;
|
|
1337
|
-
if (script.crossOrigin === 'use-credentials') fetchOpts.credentials = 'include';
|
|
1338
|
-
else if (script.crossOrigin === 'anonymous') fetchOpts.credentials = 'omit';
|
|
1339
|
-
else fetchOpts.credentials = 'same-origin';
|
|
1340
|
-
return fetchOpts;
|
|
1341
|
-
};
|
|
1342
|
-
|
|
1343
|
-
let lastStaticLoadPromise = Promise.resolve();
|
|
1344
|
-
|
|
1345
|
-
let domContentLoaded = false;
|
|
1346
|
-
let domContentLoadedCnt = 1;
|
|
1347
|
-
const domContentLoadedCheck = m => {
|
|
1348
|
-
if (m === undefined) {
|
|
1349
|
-
if (domContentLoaded) return;
|
|
1350
|
-
domContentLoaded = true;
|
|
1351
|
-
domContentLoadedCnt--;
|
|
1352
|
-
}
|
|
1353
|
-
if (--domContentLoadedCnt === 0 && !noLoadEventRetriggers && (shimMode || !baselineSupport)) {
|
|
1354
|
-
document.removeEventListener('DOMContentLoaded', domContentLoadedEvent);
|
|
1355
|
-
document.dispatchEvent(new Event('DOMContentLoaded'));
|
|
1356
|
-
}
|
|
1357
|
-
};
|
|
1358
|
-
let loadCnt = 1;
|
|
1359
|
-
const loadCheck = () => {
|
|
1360
|
-
if (--loadCnt === 0 && !noLoadEventRetriggers && (shimMode || !baselineSupport)) {
|
|
1361
|
-
window.removeEventListener('load', loadEvent);
|
|
1362
|
-
window.dispatchEvent(new Event('load'));
|
|
1363
|
-
}
|
|
1364
|
-
};
|
|
1365
|
-
|
|
1366
|
-
const domContentLoadedEvent = async () => {
|
|
1367
|
-
await initPromise;
|
|
1368
|
-
domContentLoadedCheck();
|
|
1369
|
-
};
|
|
1370
|
-
const loadEvent = async () => {
|
|
1371
|
-
await initPromise;
|
|
1372
|
-
domContentLoadedCheck();
|
|
1373
|
-
loadCheck();
|
|
1374
|
-
};
|
|
1375
|
-
|
|
1376
|
-
// this should always trigger because we assume es-module-shims is itself a domcontentloaded requirement
|
|
1377
|
-
if (hasDocument) {
|
|
1378
|
-
document.addEventListener('DOMContentLoaded', domContentLoadedEvent);
|
|
1379
|
-
window.addEventListener('load', loadEvent);
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
|
-
const readyListener = async () => {
|
|
1383
|
-
await initPromise;
|
|
1384
|
-
processScriptsAndPreloads();
|
|
1385
|
-
if (document.readyState === 'complete') {
|
|
1386
|
-
readyStateCompleteCheck();
|
|
1387
|
-
}
|
|
1388
|
-
};
|
|
1389
|
-
|
|
1390
|
-
let readyStateCompleteCnt = 1;
|
|
1391
|
-
const readyStateCompleteCheck = () => {
|
|
1392
|
-
if (--readyStateCompleteCnt === 0) {
|
|
1393
|
-
domContentLoadedCheck();
|
|
1394
|
-
if (!noLoadEventRetriggers && (shimMode || !baselineSupport)) {
|
|
1395
|
-
document.removeEventListener('readystatechange', readyListener);
|
|
1396
|
-
document.dispatchEvent(new Event('readystatechange'));
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1399
|
-
};
|
|
1400
|
-
|
|
1401
|
-
const hasNext = script => script.nextSibling || (script.parentNode && hasNext(script.parentNode));
|
|
1402
|
-
const epCheck = (script, ready) =>
|
|
1403
|
-
script.ep ||
|
|
1404
|
-
(!ready && ((!script.src && !script.innerHTML) || !hasNext(script))) ||
|
|
1405
|
-
script.getAttribute('noshim') !== null ||
|
|
1406
|
-
!(script.ep = true);
|
|
1407
|
-
|
|
1408
|
-
const processImportMap = (script, ready = readyStateCompleteCnt > 0) => {
|
|
1409
|
-
if (epCheck(script, ready)) return;
|
|
1410
|
-
// we dont currently support external import maps in polyfill mode to match native
|
|
1411
|
-
if (script.src) {
|
|
1412
|
-
if (!shimMode) return;
|
|
1413
|
-
importMapSrc = true;
|
|
1414
|
-
}
|
|
1415
|
-
importMapPromise = importMapPromise
|
|
1416
|
-
.then(async () => {
|
|
1417
|
-
composedImportMap = resolveAndComposeImportMap(
|
|
1418
|
-
script.src ? await (await doFetch(script.src, getFetchOpts(script))).json() : JSON.parse(script.innerHTML),
|
|
1419
|
-
script.src || baseUrl,
|
|
1420
|
-
composedImportMap
|
|
1421
|
-
);
|
|
1422
|
-
})
|
|
1423
|
-
.catch(e => {
|
|
1424
|
-
if (e instanceof SyntaxError)
|
|
1425
|
-
e = new Error(\`Unable to parse import map \${e.message} in: \${script.src || script.innerHTML}\`);
|
|
1426
|
-
throwError(e);
|
|
1427
|
-
});
|
|
1428
|
-
if (!firstImportMap && legacyAcceptingImportMaps) importMapPromise.then(() => (firstImportMap = composedImportMap));
|
|
1429
|
-
if (!legacyAcceptingImportMaps && !multipleImportMaps) {
|
|
1430
|
-
multipleImportMaps = true;
|
|
1431
|
-
if (!shimMode && baselineSupport && !supportsMultipleImportMaps) {
|
|
1432
|
-
baselineSupport = false;
|
|
1433
|
-
if (hasDocument) attachMutationObserver();
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
legacyAcceptingImportMaps = false;
|
|
1437
|
-
};
|
|
1438
|
-
|
|
1439
|
-
const processScript = (script, ready = readyStateCompleteCnt > 0) => {
|
|
1440
|
-
if (epCheck(script, ready)) return;
|
|
1441
|
-
// does this load block readystate complete
|
|
1442
|
-
const isBlockingReadyScript = script.getAttribute('async') === null && readyStateCompleteCnt > 0;
|
|
1443
|
-
// does this load block DOMContentLoaded
|
|
1444
|
-
const isDomContentLoadedScript = domContentLoadedCnt > 0;
|
|
1445
|
-
const isLoadScript = loadCnt > 0;
|
|
1446
|
-
if (isLoadScript) loadCnt++;
|
|
1447
|
-
if (isBlockingReadyScript) readyStateCompleteCnt++;
|
|
1448
|
-
if (isDomContentLoadedScript) domContentLoadedCnt++;
|
|
1449
|
-
let loadPromise;
|
|
1450
|
-
const ts = script.lang === 'ts';
|
|
1451
|
-
if (ts && !script.src) {
|
|
1452
|
-
loadPromise = Promise.resolve(esmsTsTransform || initTs())
|
|
1453
|
-
.then(() => {
|
|
1454
|
-
const transformed = esmsTsTransform(script.innerHTML, baseUrl);
|
|
1455
|
-
if (transformed !== undefined) {
|
|
1456
|
-
onpolyfill();
|
|
1457
|
-
firstPolyfillLoad = false;
|
|
1458
|
-
}
|
|
1459
|
-
return topLevelLoad(
|
|
1460
|
-
script.src || baseUrl,
|
|
1461
|
-
baseUrl,
|
|
1462
|
-
getFetchOpts(script),
|
|
1463
|
-
transformed === undefined ? script.innerHTML : transformed,
|
|
1464
|
-
!shimMode && transformed === undefined,
|
|
1465
|
-
isBlockingReadyScript && lastStaticLoadPromise,
|
|
1466
|
-
'ts'
|
|
1467
|
-
);
|
|
1468
|
-
})
|
|
1469
|
-
.catch(throwError);
|
|
1470
|
-
} else {
|
|
1471
|
-
loadPromise = topLevelLoad(
|
|
1472
|
-
script.src || baseUrl,
|
|
1473
|
-
baseUrl,
|
|
1474
|
-
getFetchOpts(script),
|
|
1475
|
-
!script.src ? script.innerHTML : undefined,
|
|
1476
|
-
!shimMode,
|
|
1477
|
-
isBlockingReadyScript && lastStaticLoadPromise,
|
|
1478
|
-
ts ? 'ts' : undefined
|
|
1479
|
-
).catch(throwError);
|
|
1480
|
-
}
|
|
1481
|
-
if (!noLoadEventRetriggers) loadPromise.then(() => script.dispatchEvent(new Event('load')));
|
|
1482
|
-
if (isBlockingReadyScript && !ts) {
|
|
1483
|
-
lastStaticLoadPromise = loadPromise.then(readyStateCompleteCheck);
|
|
1484
|
-
}
|
|
1485
|
-
if (isDomContentLoadedScript) loadPromise.then(domContentLoadedCheck);
|
|
1486
|
-
if (isLoadScript) loadPromise.then(loadCheck);
|
|
1487
|
-
};
|
|
1488
|
-
|
|
1489
|
-
const fetchCache = {};
|
|
1490
|
-
const processPreload = link => {
|
|
1491
|
-
link.ep = true;
|
|
1492
|
-
initPromise.then(() => {
|
|
1493
|
-
if (baselineSupport && !shimMode) return;
|
|
1494
|
-
if (fetchCache[link.href]) return;
|
|
1495
|
-
fetchCache[link.href] = fetchModule(link.href, getFetchOpts(link));
|
|
1496
|
-
});
|
|
1497
|
-
};
|
|
1498
|
-
|
|
1499
|
-
})();
|
|
1500
|
-
`,Fm=`/* Runs only in the opaque preview frame. All local reads use its directory capability. */
|
|
1501
|
-
function installPreviewRuntime(capability, base, externalOrigins, shimUrl) {
|
|
1502
|
-
// The desktop proxy can enforce base-uri 'self'. A real <base> pointing to
|
|
1503
|
-
// our virtual origin would be blocked there. Keep resolution in this opaque
|
|
1504
|
-
// runtime instead; the module shim and user scripts read the virtual base,
|
|
1505
|
-
// while native requests still cannot leave the directory-scoped bridge.
|
|
1506
|
-
Object.defineProperty(document, 'baseURI', { value: base });
|
|
1507
|
-
const NativeRequest = window.Request;
|
|
1508
|
-
Object.defineProperty(window, 'Request', { configurable: false, writable: false, value: class extends NativeRequest {
|
|
1509
|
-
constructor(input, init) {
|
|
1510
|
-
super(typeof input === 'string' || input instanceof URL ? new URL(input, base).href : input, init);
|
|
1511
|
-
}
|
|
1512
|
-
} });
|
|
1513
|
-
const external = new Set(externalOrigins);
|
|
1514
|
-
const report = event => {
|
|
1515
|
-
let message = '部分动态内容无法运行';
|
|
1516
|
-
if (event?.type === 'securitypolicyviolation') {
|
|
1517
|
-
const directive = event.effectiveDirective || event.violatedDirective || '';
|
|
1518
|
-
message = directive.startsWith('base-uri') ? '页面尝试更改链接的解析地址,已阻止。'
|
|
1519
|
-
: directive.startsWith('img-src') ? '部分图片未能加载。'
|
|
1520
|
-
: directive.startsWith('style-src') ? '部分样式未能加载,显示可能不完整。'
|
|
1521
|
-
: directive.startsWith('script-src') ? '部分脚本未能运行,交互可能受影响。'
|
|
1522
|
-
: directive.startsWith('font-src') ? '部分字体未能加载,已使用默认字体。'
|
|
1523
|
-
: directive.startsWith('connect-src') ? '部分数据未能读取,内容可能不完整。'
|
|
1524
|
-
: directive.startsWith('frame-src') ? '页面中的嵌入内容无法预览。'
|
|
1525
|
-
: '部分内容受预览限制,未能加载。';
|
|
1526
|
-
}
|
|
1527
|
-
else if (event?.message) message = '页面脚本运行失败:' + event.message;
|
|
1528
|
-
else if (event?.reason) message = '页面脚本运行失败:' + String(event.reason?.message || event.reason);
|
|
1529
|
-
else if (event?.target?.tagName && event.target !== window) message = '页面资源加载失败:' + event.target.tagName.toLowerCase();
|
|
1530
|
-
parent.postMessage({ type: 'preview-error', capability, message: message.slice(0, 240) }, '*');
|
|
1531
|
-
};
|
|
1532
|
-
// Opaque frames cannot access browser storage. Reports commonly read it
|
|
1533
|
-
// during startup, so supply disposable, per-document storage instead. This
|
|
1534
|
-
// never reads the service page's storage or persists a preview's data.
|
|
1535
|
-
for (const name of ['localStorage', 'sessionStorage']) {
|
|
1536
|
-
const values = new Map();
|
|
1537
|
-
const storage = {
|
|
1538
|
-
get length() { return values.size; },
|
|
1539
|
-
key(index) { return [...values.keys()][Number(index)] ?? null; },
|
|
1540
|
-
getItem(key) { return values.get(String(key)) ?? null; },
|
|
1541
|
-
setItem(key, value) { values.set(String(key), String(value)); },
|
|
1542
|
-
removeItem(key) { values.delete(String(key)); },
|
|
1543
|
-
clear() { values.clear(); },
|
|
1544
|
-
};
|
|
1545
|
-
Object.defineProperty(window, name, { configurable: false, value: new Proxy(storage, {
|
|
1546
|
-
get(target, key) { return key in target ? Reflect.get(target, key) : values.get(String(key)); },
|
|
1547
|
-
set(_target, key, value) { values.set(String(key), String(value)); return true; },
|
|
1548
|
-
deleteProperty(_target, key) { values.delete(String(key)); return true; },
|
|
1549
|
-
ownKeys() { return [...values.keys()]; },
|
|
1550
|
-
getOwnPropertyDescriptor(target, key) { return values.has(String(key)) ? { configurable: true, enumerable: true, writable: true, value: values.get(String(key)) } : Reflect.getOwnPropertyDescriptor(target, key); },
|
|
1551
|
-
}) });
|
|
1552
|
-
}
|
|
1553
|
-
const nativeFetch = window.fetch.bind(window);
|
|
1554
|
-
const nativeWorker = window.Worker;
|
|
1555
|
-
const externalUrl = value => {
|
|
1556
|
-
const url = new URL(value, base);
|
|
1557
|
-
const origin = url.protocol === 'wss:' ? 'https://' + url.host : url.origin;
|
|
1558
|
-
if (!external.has(origin)) throw new Error('Outside preview network scope');
|
|
1559
|
-
return url;
|
|
1560
|
-
};
|
|
1561
|
-
const bridgeFetch = async (input, init = {}) => {
|
|
1562
|
-
const url = new URL(typeof input === 'string' ? input : input.url || String(input), base);
|
|
1563
|
-
const method = String(init.method || (input && input.method) || 'GET').toUpperCase();
|
|
1564
|
-
if (url.protocol === 'blob:' || url.protocol === 'data:') return nativeFetch(input, init);
|
|
1565
|
-
if (url.origin !== new URL(base).origin) {
|
|
1566
|
-
externalUrl(url.href);
|
|
1567
|
-
return nativeFetch(url.href, { ...init, method, credentials: 'omit', referrerPolicy: 'no-referrer' });
|
|
1568
|
-
}
|
|
1569
|
-
if (!['GET', 'HEAD'].includes(method) || !url.pathname.startsWith(new URL(base).pathname)) throw new Error('Outside preview directory');
|
|
1570
|
-
return new Promise((resolve, reject) => {
|
|
1571
|
-
if (init.signal?.aborted) { reject(init.signal.reason); return; }
|
|
1572
|
-
const channel = new MessageChannel();
|
|
1573
|
-
const finish = () => { clearTimeout(timer); channel.port1.close(); init.signal?.removeEventListener('abort', abort); };
|
|
1574
|
-
const abort = () => { finish(); reject(init.signal.reason); };
|
|
1575
|
-
const timer = setTimeout(() => { finish(); report(); reject(new Error('Preview resource timeout')); }, 15000);
|
|
1576
|
-
init.signal?.addEventListener('abort', abort, { once: true });
|
|
1577
|
-
channel.port1.onmessage = event => {
|
|
1578
|
-
finish();
|
|
1579
|
-
if (event.data.error) { reject(new Error(event.data.error)); return; }
|
|
1580
|
-
const response = new Response(method === 'HEAD' ? null : event.data.data, { status: event.data.status, headers: event.data.headers });
|
|
1581
|
-
Object.defineProperty(response, 'url', { value: url.href }); resolve(response);
|
|
1582
|
-
};
|
|
1583
|
-
parent.postMessage({ type: 'preview-fetch', capability, url: url.href, method }, '*', [channel.port2]);
|
|
1584
|
-
});
|
|
1585
|
-
};
|
|
1586
|
-
Object.defineProperty(window, 'fetch', { configurable: false, writable: false, value: bridgeFetch });
|
|
1587
|
-
window.esmsInitOptions = { shimMode: true, nativePassthrough: false, fetch: bridgeFetch, onerror: report };
|
|
1588
|
-
class PreviewXHR extends EventTarget {
|
|
1589
|
-
readyState = 0; status = 0; statusText = ''; response = null; responseText = ''; responseURL = ''; responseType = ''; timeout = 0;
|
|
1590
|
-
upload = new EventTarget(); withCredentials = false;
|
|
1591
|
-
open(method, url, async = true) {
|
|
1592
|
-
if (!async) throw new Error('Synchronous preview requests are unavailable');
|
|
1593
|
-
this.abort(); this.method = method; this.url = new URL(url, base).href; this.headers = {}; this.readyState = 1; this.emit('readystatechange');
|
|
1594
|
-
}
|
|
1595
|
-
setRequestHeader(name, value) { this.headers[name] = value; }
|
|
1596
|
-
getAllResponseHeaders() { return this.responseHeaders ? [...this.responseHeaders].map(([key, value]) => key + ': ' + value + '\\r\\n').join('') : ''; }
|
|
1597
|
-
getResponseHeader(name) { return this.responseHeaders?.get(name) ?? null; }
|
|
1598
|
-
overrideMimeType(value) { this.mime = value; }
|
|
1599
|
-
emit(type, event = new Event(type)) { this.dispatchEvent(event); this['on' + type]?.call(this, event); }
|
|
1600
|
-
abort() { if (this.controller) { this.controller.abort(); this.controller = null; this.readyState = 0; this.emit('abort'); this.emit('loadend'); } }
|
|
1601
|
-
send(body = null) {
|
|
1602
|
-
const controller = new AbortController(); this.controller = controller;
|
|
1603
|
-
const timer = this.timeout > 0 ? setTimeout(() => { if (this.controller !== controller) return; controller.abort(); this.controller = null; this.emit('timeout'); this.emit('loadend'); }, this.timeout) : null;
|
|
1604
|
-
this.emit('loadstart');
|
|
1605
|
-
bridgeFetch(this.url, { method: this.method, headers: this.headers, body, signal: controller.signal }).then(async response => {
|
|
1606
|
-
this.status = response.status; this.statusText = response.statusText; this.responseURL = response.url; this.responseHeaders = response.headers;
|
|
1607
|
-
this.readyState = 2; this.emit('readystatechange'); this.readyState = 3; this.emit('readystatechange');
|
|
1608
|
-
const bytes = await response.arrayBuffer();
|
|
1609
|
-
if (this.controller !== controller) return;
|
|
1610
|
-
this.responseText = new TextDecoder().decode(bytes);
|
|
1611
|
-
this.response = this.responseType === 'arraybuffer' ? bytes : this.responseType === 'blob' ? new Blob([bytes], { type: this.mime || response.headers.get('content-type') || '' }) : this.responseType === 'json' ? (() => { try { return JSON.parse(this.responseText); } catch { return null; } })() : this.responseType === 'document' ? new DOMParser().parseFromString(this.responseText, 'text/html') : this.responseText;
|
|
1612
|
-
this.readyState = 4; this.emit('readystatechange'); this.emit('progress', new ProgressEvent('progress', { lengthComputable: true, loaded: bytes.byteLength, total: bytes.byteLength })); this.emit('load'); this.emit('loadend'); this.controller = null;
|
|
1613
|
-
}).catch(() => { if (this.controller !== controller) return; this.controller = null; this.status = 0; this.readyState = 4; this.emit('readystatechange'); this.emit('error'); this.emit('loadend'); }).finally(() => clearTimeout(timer));
|
|
1614
|
-
}
|
|
1615
|
-
}
|
|
1616
|
-
for (const [key, value] of Object.entries({ UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 })) { PreviewXHR[key] = value; PreviewXHR.prototype[key] = value; }
|
|
1617
|
-
Object.defineProperty(window, 'XMLHttpRequest', { configurable: false, writable: false, value: PreviewXHR });
|
|
1618
|
-
for (const name of ['WebSocket', 'EventSource']) {
|
|
1619
|
-
const Native = window[name];
|
|
1620
|
-
if (Native) Object.defineProperty(window, name, { configurable: false, writable: false, value: class extends Native {
|
|
1621
|
-
constructor(url, options) { super(externalUrl(url).href, name === 'EventSource' ? { withCredentials: false } : options); }
|
|
1622
|
-
} });
|
|
1623
|
-
}
|
|
1624
|
-
// A worker receives the same read-only bridge over a private MessagePort. Its
|
|
1625
|
-
// module graph is loaded by the same shim, including computed dynamic imports.
|
|
1626
|
-
class PreviewWorker extends EventTarget {
|
|
1627
|
-
constructor(url, options = {}) {
|
|
1628
|
-
super();
|
|
1629
|
-
const entry = new URL(url, base).href;
|
|
1630
|
-
const workerSource = \`(\${workerBootstrap.toString()})(\${JSON.stringify(entry)},\${JSON.stringify(options.type || 'classic')},\${JSON.stringify(shimUrl)});\`;
|
|
1631
|
-
this.objectUrl = URL.createObjectURL(new Blob([workerSource], { type: 'text/javascript' }));
|
|
1632
|
-
this.worker = new nativeWorker(this.objectUrl, { name: options.name });
|
|
1633
|
-
const channel = new MessageChannel(); this.port = channel.port1;
|
|
1634
|
-
this.port.onmessage = async event => {
|
|
1635
|
-
const { id, url, init } = event.data;
|
|
1636
|
-
try { const response = await bridgeFetch(url, init); const data = await response.arrayBuffer(); this.port.postMessage({ id, status: response.status, headers: [...response.headers], data }, [data]); }
|
|
1637
|
-
catch (error) { this.port.postMessage({ id, error: String(error) }); }
|
|
1638
|
-
};
|
|
1639
|
-
this.worker.postMessage({ previewInit: true, base: entry, importMap: window.importShim?.getImportMap?.() }, [channel.port2]);
|
|
1640
|
-
for (const type of ['message', 'messageerror', 'error']) this.worker.addEventListener(type, event => {
|
|
1641
|
-
const forwarded = type === 'error' ? new ErrorEvent(type, { message: event.message }) : new MessageEvent(type, { data: event.data, ports: event.ports });
|
|
1642
|
-
this.dispatchEvent(forwarded); this['on' + type]?.call(this, forwarded);
|
|
1643
|
-
});
|
|
1644
|
-
}
|
|
1645
|
-
postMessage(value, transfer) { this.worker.postMessage(value, transfer); }
|
|
1646
|
-
terminate() { this.worker.terminate(); this.port.close(); URL.revokeObjectURL(this.objectUrl); }
|
|
1647
|
-
}
|
|
1648
|
-
function workerBootstrap(entry, type, shim) {
|
|
1649
|
-
const queued = []; let initialized = false, ready = false;
|
|
1650
|
-
const receive = event => {
|
|
1651
|
-
if (!event.data?.previewInit || initialized) { if (!ready) { event.stopImmediatePropagation(); queued.push(event); } return; }
|
|
1652
|
-
initialized = true; event.stopImmediatePropagation();
|
|
1653
|
-
const port = event.ports[0]; const pending = new Map(); let next = 0;
|
|
1654
|
-
port.onmessage = message => { const done = pending.get(message.data.id); if (!done) return; pending.delete(message.data.id); message.data.error ? done.reject(new Error(message.data.error)) : done.resolve(new Response(message.data.data, { status: message.data.status, headers: message.data.headers })); };
|
|
1655
|
-
self.fetch = (url, init = {}) => new Promise((resolve, reject) => { const id = ++next; pending.set(id, { resolve, reject }); port.postMessage({ id, url: new URL(typeof url === 'string' ? url : url.url || String(url), entry).href, init: { method: init.method || 'GET', headers: init.headers } }); });
|
|
1656
|
-
self.esmsInitOptions = { shimMode: true, nativePassthrough: false, fetch: self.fetch };
|
|
1657
|
-
const nativeImport = self.importScripts.bind(self);
|
|
1658
|
-
nativeImport(shim);
|
|
1659
|
-
if (event.data.importMap) self.importShim.addImportMap(event.data.importMap);
|
|
1660
|
-
const load = type === 'module' ? self.importShim(entry) : self.fetch(entry).then(r => r.text()).then(source => { const blob = URL.createObjectURL(new Blob([source], { type: 'text/javascript' })); nativeImport(blob); URL.revokeObjectURL(blob); });
|
|
1661
|
-
load.then(() => { ready = true; removeEventListener('message', receive); for (const message of queued) dispatchEvent(new MessageEvent('message', { data: message.data, ports: message.ports })); }).catch(error => setTimeout(() => { throw error; }));
|
|
1662
|
-
};
|
|
1663
|
-
addEventListener('message', receive);
|
|
1664
|
-
}
|
|
1665
|
-
Object.defineProperty(window, 'Worker', { configurable: false, writable: false, value: PreviewWorker });
|
|
1666
|
-
const navigate = value => {
|
|
1667
|
-
const url = new URL(value, base);
|
|
1668
|
-
if (url.origin === new URL(base).origin && url.pathname.startsWith(new URL(base).pathname)) parent.postMessage({ type: 'preview-navigate', capability, url: url.href }, '*');
|
|
1669
|
-
else { externalUrl(url.href); parent.postMessage({ type: 'preview-external', capability, url: url.href }, '*'); }
|
|
1670
|
-
};
|
|
1671
|
-
Object.defineProperty(window, 'open', { configurable: false, writable: false, value: value => { navigate(value); return null; } });
|
|
1672
|
-
document.addEventListener('click', event => {
|
|
1673
|
-
const anchor = event.target.closest?.('a,area'); const href = anchor?.getAttribute('href');
|
|
1674
|
-
if (!href) return;
|
|
1675
|
-
event.preventDefault();
|
|
1676
|
-
// Resolve anchors inside the current report without changing the shell's
|
|
1677
|
-
// capability fragment or navigating to a virtual resource address.
|
|
1678
|
-
if (href.startsWith('#')) {
|
|
1679
|
-
let id; try { id = decodeURIComponent(href.slice(1)); } catch { return; }
|
|
1680
|
-
const target = document.getElementById(id) || document.getElementsByName(id)[0];
|
|
1681
|
-
for (let node = target?.parentElement; node; node = node.parentElement) if (node.tagName === 'DETAILS') node.open = true;
|
|
1682
|
-
if (target) target.scrollIntoView();
|
|
1683
|
-
else if (!id) window.scrollTo(0, 0);
|
|
1684
|
-
return;
|
|
1685
|
-
}
|
|
1686
|
-
navigate(href);
|
|
1687
|
-
}, true);
|
|
1688
|
-
document.addEventListener('keydown', event => {
|
|
1689
|
-
if (event.key === 'Escape' && !event.defaultPrevented && !event.isComposing) parent.postMessage({ type: 'preview-escape', capability }, '*');
|
|
1690
|
-
});
|
|
1691
|
-
document.addEventListener('submit', event => {
|
|
1692
|
-
event.preventDefault(); const form = event.target;
|
|
1693
|
-
const url = new URL(form.getAttribute('action') || base, base);
|
|
1694
|
-
if ((form.getAttribute('method') || 'get').toLowerCase() !== 'get') { report(); return; }
|
|
1695
|
-
for (const [key, value] of new FormData(form)) if (typeof value === 'string') url.searchParams.append(key, value);
|
|
1696
|
-
navigate(url.href);
|
|
1697
|
-
}, true);
|
|
1698
|
-
window.addEventListener('securitypolicyviolation', report);
|
|
1699
|
-
window.addEventListener('error', report, true);
|
|
1700
|
-
window.addEventListener('unhandledrejection', report);
|
|
1701
|
-
}
|
|
1702
|
-
`,mo="/api/terminal/fs/preview/",Dm=8*1024*1024,Bm=32*1024*1024,Um=128,_m="data:,";function Pt(r){throw new Error(r)}function Om(r){return JSON.stringify(r).replace(/</g,"\\u003c")}async function Md(r,a,i){let c="",h=0;for(const m of r.matchAll(a))c+=r.slice(h,m.index)+await i(m),h=m.index+m[0].length;return c+r.slice(h)}async function xu(r,a){const i=a.origin??location.origin,c=new URL(r,i);(c.origin!==i||!sa(c.pathname)?.startsWith(mo))&&Pt("预览地址不是有效的本地文件入口");const h=crypto.randomUUID(),m=`https://termdock-preview.invalid/${h}/`,d=[],y=O=>{!d.includes(O)&&d.length<20&&d.push(O)},g=new Set,k=[],w=new Set,S=new Map,v=new Map;let A=0,N=!1;const B=new Set,F=()=>{N=!0;for(const O of[...B])O();g.clear(),k.length=0};async function Z(O){O.ok||Pt(`预览资源读取失败(${O.status})`);const ne=O.body?.getReader(),se=[];let E=0;try{if(ne)for(;;){const j=await ne.read();if(j.done)break;E+=j.value.byteLength,A+=j.value.byteLength,(E>Dm||A>Bm)&&Pt("预览资源超出大小限制"),se.push(j.value)}}catch(j){throw await ne?.cancel().catch(()=>{}),j}finally{ne?.releaseLock()}const P=new Uint8Array(E);let J=0;for(const j of se)P.set(j,J),J+=j.length;return{bytes:P,type:O.headers.get("content-type")??"application/octet-stream",status:O.status}}let L=c,q;for(let O=0;O<4;O++){const ne=await a.fetch(L.pathname+L.search,{signal:a.signal,redirect:"manual"});if(![301,302,303,307,308].includes(ne.status)){q=ne;break}const se=ne.headers.get("location");await ne.body?.cancel(),se||Pt("预览重定向缺少目标");const E=new URL(se,L);(E.origin!==i||!sa(E.pathname)?.startsWith(mo))&&Pt("预览重定向越出文件范围"),L=E}q||Pt("预览重定向次数过多");const ie=sa(L.pathname),Y=ie.slice(mo.length).split("/");/^[a-f0-9]{32}$/.test(Y[0])||Pt("服务未提供有效的预览资源授权");const ge=sa(c.pathname).slice(mo.length).split("/");/^[a-f0-9]{32}$/.test(ge[0])&&ge.shift(),ge.join("/").replace(/\/$/,"")!==Y.slice(1).join("/").replace(/\/$/,"")&&Pt("预览重定向改变了文件范围");const o=ie.endsWith("/")?ie:ie.slice(0,ie.lastIndexOf("/")+1),K=new URL(L.pathname.endsWith("/")?L.pathname:L.pathname.slice(0,L.pathname.lastIndexOf("/")+1),i);function te(O,ne){const se=new URL(O,ne);return se.origin!==i?null:(sa(se.pathname)?.startsWith(o)||Pt("已阻止预览访问目录之外的资源"),se)}function T(O){const ne=new URL(O,m);(ne.origin!==new URL(m).origin||!ne.pathname.startsWith(new URL(m).pathname))&&Pt("已阻止预览访问服务接口或目录之外的资源");const se=ne.pathname.slice(new URL(m).pathname.length)+ne.search;return te(se,K)??Pt("预览资源无效")}function re(O){const ne=O.pathname+O.search,se=S.get(ne);if(se)return se;if(N||a.signal?.aborted)return Promise.reject(new Error("预览已关闭"));if(S.size>=Um)return Promise.reject(new Error("预览资源数量超出限制"));const E=a.fetch(ne,{signal:a.signal,redirect:"manual"}).then(Z);return S.set(ne,E),E}function ye(O,ne){N&&Pt("预览已关闭");const se=`termdock-resource-${h}-${k.length}`;return k.push({token:se,data:O,type:ne}),g.add(se),se}async function C(O,ne,se,E=new Set){if(!O||O.startsWith("#")||/^data:(?:image|font)\//i.test(O)&&se==="resource")return O;try{const P=te(O,ne);if(!P){const $=new URL(O,ne);return($.protocol!=="https:"||$.username||$.password||$.origin===new URL(m).origin)&&Pt("已阻止不安全的外部资源"),w.add($.origin),$.href}const J=`${se}:${P.href}`;(E.has(J)||E.size>=8)&&Pt("预览资源存在循环或过深引用");const j=v.get(J);if(j)return j;const de=new Set(E);de.add(J);const be=(async()=>{const $=await re(P);return se==="css"?ye(await he(new TextDecoder().decode($.bytes),P,de),"text/css"):se==="script"?ye($.bytes,"text/javascript"):ye($.bytes,$.type)})();return v.set(J,be),await be}catch(P){return y(P instanceof Error?P.message:"部分预览资源未能加载"),_m}}async function he(O,ne,se){return O=await Md(O,/@import\s+(?:url\(\s*)?["']([^"']+)["']\s*\)?([^;]*);/gi,async E=>`@import url("${await C(E[1],ne,"css",se)}")${E[2]};`),Md(O,/url\(\s*(?:"([^"]*)"|'([^']*)'|([^)]*))\s*\)/gi,async E=>{const P=(E[1]??E[2]??E[3]).trim();return g.has(P)?E[0]:`url("${await C(P,ne,"resource",se)}")`})}try{const O=await Z(q),ne=ye($m,"text/javascript"),se=new DOMParser().parseFromString(new TextDecoder().decode(O.bytes),"text/html");se.querySelectorAll("base,meta[http-equiv],iframe,frame,object,embed").forEach($=>$.remove());for(const $ of se.querySelectorAll("*")){if($.removeAttribute("ping"),$.removeAttribute("srcdoc"),$.hasAttribute("style")&&$.setAttribute("style",await he($.getAttribute("style"),L,new Set)),$.tagName==="STYLE"&&($.textContent=await he($.textContent??"",L,new Set)),$.tagName==="A"||$.tagName==="AREA"){const ve=$.getAttribute("href");try{if(ve&&!ve.startsWith("#")){const ke=te(ve,L);if(ke)$.setAttribute("href",new URL(ke.pathname.slice(K.pathname.length)+ke.search+ke.hash,m).href);else{const Se=new URL(ve,L);if(Se.protocol!=="https:"){$.removeAttribute("href");continue}w.add(Se.origin),$.setAttribute("href",Se.href)}}}catch(ke){$.removeAttribute("href"),y(ke instanceof Error?ke.message:"预览链接无法加载")}}for(const ve of["data","manifest"])$.removeAttribute(ve);if($.tagName==="SCRIPT"&&$.getAttribute("type")==="module"){$.setAttribute("type","module-shim");const ve=$.getAttribute("src");if(ve){const ke=te(ve,L);if(ke)$.setAttribute("src",new URL(ke.pathname.slice(K.pathname.length)+ke.search,m).href);else{const Se=new URL(ve,L);if(Se.protocol!=="https:"){$.remove();continue}w.add(Se.origin),$.setAttribute("src",Se.href)}}continue}if($.tagName==="SCRIPT"&&$.getAttribute("type")==="importmap"){$.setAttribute("type","importmap-shim");continue}if($.tagName==="LINK"){const ve=($.getAttribute("rel")??"").toLowerCase();if(!["stylesheet","icon"].includes(ve)){$.remove();continue}const ke=$.getAttribute("href");ke&&$.setAttribute("href",await C(ke,L,ve==="stylesheet"?"css":"resource"))}if($.hasAttribute("src")&&$.setAttribute("src",await C($.getAttribute("src"),L,$.tagName==="SCRIPT"?"script":"resource")),$.hasAttribute("poster")&&$.setAttribute("poster",await C($.getAttribute("poster"),L,"resource")),$.hasAttribute("srcset")){const ve=$.getAttribute("srcset");/data:/i.test(ve)?($.removeAttribute("srcset"),y("混合内嵌图片候选暂不支持安全预览")):$.setAttribute("srcset",(await Promise.all(ve.split(",").map(async ke=>{const[Se,...nt]=ke.trim().split(/\s+/);return`${await C(Se,L,"resource")} ${nt.join(" ")}`}))).join(", "))}$.setAttribute("referrerpolicy","no-referrer"),$.removeAttribute("integrity"),$.removeAttribute("crossorigin")}const E=[...w].join(" "),P=se.createElement("meta");P.httpEquiv="Content-Security-Policy",P.content=`default-src 'none'; script-src 'unsafe-inline' 'wasm-unsafe-eval' blob: ${E}; style-src 'unsafe-inline' blob: ${E}; img-src blob: data: ${E}; font-src blob: data: ${E}; media-src blob: data: ${E}; connect-src blob: ${E} ${[...w].map($=>$.replace(/^https:/,"wss:")).join(" ")}; worker-src blob:; frame-src 'none'; object-src 'none'; base-uri https://termdock-preview.invalid; form-action 'none'`;const J=se.createElement("meta");J.name="referrer",J.content="no-referrer";const j=se.createElement("script");j.textContent=Fm+`
|
|
1703
|
-
installPreviewRuntime(`+[h,m,[...w],ne].map(Om).join(",")+");";const de=se.createElement("script");de.src=ne,se.head.prepend(P,J,j,de);const be=`<!doctype html>
|
|
1704
|
-
`+se.documentElement.outerHTML;return{html:be,shellUrl:`/preview-shell.html#${h}`,errors:d,attach($,ve,ke){const Se=new Set,nt=Ae=>{if(Ae.source!==$.contentWindow||Ae.data?.capability!==h)return;if(Ae.data.type==="preview-ready"){$.contentWindow?.postMessage({type:"preview-init",capability:h,html:be,resources:k},"*");return}if(Ae.data.type==="preview-error"){ve(typeof Ae.data.message=="string"?Ae.data.message.slice(0,240):"部分动态内容无法运行");return}if(Ae.data.type==="preview-escape"){ke?.();return}if(Ae.data.type==="preview-navigate"){(async()=>{const le=T(String(Ae.data.url)),je=await xu(le.pathname+le.search,a);if(N){je.dispose();return}const X=je.attach($,ve,ke);B.add(()=>{X(),je.dispose()}),$.src=je.shellUrl.replace("#","?navigation="+crypto.randomUUID()+"#")})().catch(le=>ve(le instanceof Error?le.message:"无法打开预览页面"));return}if(Ae.data.type==="preview-external"){try{const le=new URL(String(Ae.data.url));le.protocol==="https:"&&w.has(le.origin)&&window.open(le.href,"_blank","noopener,noreferrer")}catch{}return}if(Ae.data.type!=="preview-fetch"||Ae.ports.length!==1)return;const I=Ae.ports[0];if(Se.size>=8||!["GET","HEAD"].includes(Ae.data.method)){I.postMessage({error:"预览仅允许读取已授权目录资源"}),I.close();return}Se.add(I),(async()=>{const le=T(String(Ae.data.url)),je=await re(le);if(!Se.has(I)||N)return;const X=Ae.data.method==="HEAD"?new Uint8Array:je.bytes.slice();I.postMessage({status:je.status,headers:{"content-type":je.type},data:X.buffer},[X.buffer])})().catch(()=>{I.postMessage({error:"预览资源不在授权范围或无法加载"}),ve("部分动态资源不可用或超出预览目录")}).finally(()=>{Se.delete(I),I.close()})};window.addEventListener("message",nt);const st=()=>{window.removeEventListener("message",nt);for(const Ae of Se)Ae.close();Se.clear(),B.delete(st)};return B.add(st),st},dispose:F}}catch(O){throw F(),O}}const Hm=s.forwardRef(function({src:a,title:i,exitFullscreenLabel:c,onFullscreenChange:h,onWarningsChange:m,showInlineWarnings:d=!0},y){const g=s.useRef(null),[k,w]=s.useState(null),[S,v]=s.useState(),[A,N]=s.useState(""),[B,F]=s.useState([]),[Z,L]=s.useState(0);s.useEffect(()=>{const T=new AbortController;let re;return v(void 0),N(""),F([]),(async()=>{const ye=await ch();if(re=await xu(a,{fetch:(C,he)=>ye.fetch(C,he),signal:T.signal}),T.signal.aborted){re.dispose();return}v(re),F(re.errors)})().catch(ye=>{T.signal.aborted||N(ye instanceof Error?ye.message:"安全预览加载失败")}),()=>{T.abort(),re?.dispose()}},[a,Z]),s.useEffect(()=>{if(!(!S||!k))return S.attach(k,T=>F(re=>re.includes(T)?re:[...re,T].slice(-20)),()=>{document.activeElement===k&&(document.fullscreenElement===g.current?document.exitFullscreen():document.dispatchEvent(new KeyboardEvent("keydown",{key:"Escape",bubbles:!0})))})},[S,k]);const[q,ie]=s.useState(!1),[Y,ge]=s.useState(!1),o=q||Y;s.useEffect(()=>{m?.(B)},[B,m]),s.useEffect(()=>{h?.(o)},[o,h]),s.useEffect(()=>{const T=()=>{ie(document.fullscreenElement===g.current)};return document.addEventListener("fullscreenchange",T),()=>document.removeEventListener("fullscreenchange",T)},[]),s.useLayoutEffect(()=>{const T=g.current;if(!(!Y||!T?.showPopover)){T.setAttribute("popover","manual");try{T.showPopover()}catch{T.removeAttribute("popover");return}return()=>{T.hidePopover(),T.removeAttribute("popover")}}},[Y]),nu(g,Y,()=>ge(!1));const K=s.useCallback(async()=>{const T=g.current;if(T){if(Y){ge(!1);return}if(document.fullscreenElement===T){await document.exitFullscreen();return}if(T.requestFullscreen&&document.fullscreenEnabled!==!1)try{await T.requestFullscreen();return}catch{}ge(!0)}},[Y]);return s.useImperativeHandle(y,()=>({toggleFullscreen:K}),[K]),t.jsxs("div",{ref:g,"data-html-preview-frame":!0,className:o?"fixed inset-0 z-modal-panel m-0 flex h-full max-h-none min-h-0 w-full max-w-none flex-col overflow-hidden border-0 bg-surface p-0 preview-safe-area text-foreground":"flex h-full min-h-0 flex-col overflow-hidden bg-surface",children:[o&&t.jsxs("div",{className:"relative z-20 flex h-12 shrink-0 items-center justify-between gap-2 border-b border-border/15 bg-[var(--chrome-bg)] px-2 sm:h-10",children:[t.jsx("span",{className:"min-w-0 truncate text-[12px] font-semibold",children:i}),t.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[!d&&B.length>0&&t.jsxs("details",{children:[t.jsx("summary",{"aria-label":"预览提示",title:"预览提示",className:"flex h-11 w-11 cursor-pointer list-none items-center justify-center rounded-lg text-[color:var(--warning)] hover:bg-surface-2 sm:h-8 sm:w-8 [&::-webkit-details-marker]:hidden",children:t.jsx(dl,{size:15})}),t.jsx("ul",{className:"absolute right-2 top-full z-30 mt-1 max-h-[50dvh] w-72 max-w-[calc(100vw-2rem)] space-y-2 overflow-auto break-words rounded-xl border border-border bg-surface-elevated p-3 text-xs text-muted-foreground shadow-xl",children:B.map(T=>t.jsx("li",{children:T},T))})]}),t.jsx("button",{type:"button",onClick:()=>{K()},"aria-label":c,title:`${c} (Esc)`,className:"inline-flex h-11 w-11 shrink-0 items-center justify-center rounded-lg text-muted-foreground transition hover:bg-surface-2 hover:text-foreground sm:h-8 sm:w-8",children:t.jsx(uu,{size:15})})]})]}),d&&B.length>0&&t.jsxs("details",{className:"shrink-0 border-b border-border px-3 text-xs text-muted-foreground",children:[t.jsx("summary",{className:"cursor-pointer py-2",children:"部分内容未能显示 · 查看原因"}),t.jsx("ul",{className:"max-h-24 list-disc space-y-1 overflow-auto break-words pb-2 pl-4",children:B.map(T=>t.jsx("li",{children:T},T))})]}),A&&t.jsxs("div",{role:"alert",className:"flex min-h-0 flex-1 flex-col items-center justify-center gap-3 p-4 text-center text-sm",children:[t.jsx("p",{className:"font-medium",children:"HTML 未能打开"}),t.jsx("p",{className:"max-w-lg break-words text-xs text-muted-foreground",children:A}),t.jsx("button",{type:"button",className:"min-h-11 rounded-xl bg-surface-2 px-4 hover:bg-surface-elevated",onClick:()=>L(T=>T+1),children:"重新加载"})]}),!S&&!A&&t.jsx("div",{role:"status",className:"flex flex-1 items-center justify-center p-3 text-sm text-muted-foreground",children:"正在加载 HTML…"}),S&&t.jsx("iframe",{ref:w,src:S?.shellUrl,referrerPolicy:"no-referrer",title:i,sandbox:"allow-scripts",className:"block min-h-0 w-full flex-1 border-0 bg-white"})]})});function zm({name:r,path:a,sizeLabel:i,isMobile:c,back:h,view:m,fullscreen:d,reference:y,search:g,searchPanel:k,warnings:w,copied:S,copyError:v,onCopy:A,onRefresh:N,onClose:B,download:F}){const[Z,L]=s.useState(!1),q=s.useRef(null),ie=s.useRef(null),Y=s.useRef(null),ge=s.useId();nu(ie,Z,()=>L(!1),()=>Y.current),s.useEffect(()=>{if(!Z)return;const te=T=>{T.target instanceof Node&&!q.current?.contains(T.target)&&L(!1)};return document.addEventListener("pointerdown",te,!0),()=>document.removeEventListener("pointerdown",te,!0)},[Z]),s.useEffect(()=>{L(!1)},[a]);const o=`inline-flex shrink-0 items-center justify-center gap-1 rounded-lg text-xs text-muted-foreground transition hover:bg-surface-2 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${c?"h-11 min-w-11":"h-8 min-w-8"}`,K="flex min-h-11 w-full items-center gap-3 rounded-lg px-3 text-left text-sm text-foreground hover:bg-surface-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-40";return t.jsxs("div",{"data-file-preview-toolbar":!0,className:"relative z-20 shrink-0 border-b border-border/30 bg-surface",children:[t.jsxs("div",{className:`flex items-center gap-1 px-2 ${c?"h-12":"h-10"}`,children:[h&&t.jsx("button",{type:"button",className:o,onClick:h.go,title:h.label,"aria-label":h.label,children:t.jsx(ba,{size:16})}),t.jsx("span",{className:"min-w-0 flex-1 truncate pr-2 text-[13px] font-medium",title:a,children:r}),!c&&g&&t.jsx("button",{type:"button",className:o,title:g.label,"aria-label":g.label,onClick:g.toggle,children:t.jsx(ln,{size:15})}),m&&t.jsx("button",{type:"button",className:`${o} px-2`,onClick:m.toggle,title:m.label,"aria-label":m.label,children:m.label}),d&&t.jsx("button",{type:"button",className:o,onClick:d.toggle,title:d.label,"aria-label":d.label,children:t.jsx(ul,{size:16})}),y&&t.jsx("button",{type:"button",className:`${o} text-primary`,title:y.label,"aria-label":y.label,onClick:te=>y.insert(te.currentTarget),children:t.jsx(va,{size:16})}),t.jsxs("div",{ref:q,className:"shrink-0",children:[t.jsxs("button",{ref:Y,type:"button",className:`${o} relative`,"aria-label":"更多文件操作",title:w.length?"更多文件操作 · 有预览提示":"更多文件操作","aria-expanded":Z,"aria-controls":Z?ge:void 0,onClick:()=>L(te=>!te),children:[F.status==="pending"?t.jsx(Vi,{size:16,className:"animate-pulse"}):t.jsx(ma,{size:18}),w.length>0&&t.jsx("span",{"aria-label":"有预览提示",className:"absolute right-1 top-1 h-1.5 w-1.5 rounded-full bg-[var(--warning)]"})]}),Z&&t.jsxs("div",{ref:ie,id:ge,role:"dialog","aria-label":"文件信息与操作",tabIndex:-1,className:"absolute right-2 top-full z-30 mt-1 max-h-[min(24rem,60dvh)] w-72 max-w-[calc(100vw-2rem)] overflow-y-auto overscroll-contain rounded-xl border border-border bg-surface p-1.5 shadow-xl",children:[t.jsxs("div",{className:"border-b border-border/40 px-3 pb-3 pt-2",children:[t.jsx("p",{className:"text-xs font-medium text-foreground",children:"文件信息"}),t.jsx("p",{className:"mt-1 break-all text-[11px] text-muted-foreground",children:a}),i&&t.jsx("p",{className:"mt-1 text-[11px] text-muted-foreground",children:i})]}),w.length>0&&t.jsxs("div",{className:"border-b border-border/40 px-3 py-3",children:[t.jsxs("p",{className:"flex items-center gap-2 text-xs text-[color:var(--warning)]",children:[t.jsx(dl,{size:13}),"预览提示"]}),t.jsx("ul",{className:"mt-2 space-y-2 break-words text-[11px] text-muted-foreground",children:w.map(te=>t.jsx("li",{children:te},te))})]}),c&&g&&t.jsxs("button",{type:"button",className:K,onClick:()=>{L(!1),g.toggle()},children:[t.jsx(ln,{size:16}),g.label]}),t.jsxs("button",{type:"button",className:K,onClick:A,children:[S?t.jsx(Ts,{size:16}):t.jsx(su,{size:16}),S?"已复制文件引用":"复制文件引用"]}),v&&t.jsx("p",{role:"alert",className:"px-3 pb-2 text-xs text-destructive",children:v}),t.jsxs("button",{type:"button",className:K,disabled:F.disabled&&F.status!=="pending",onClick:F.status==="pending"?F.cancel:F.start,children:[t.jsx(Vi,{size:16}),F.status==="pending"?"取消下载":"下载文件"]}),t.jsx(au,{status:F.status,error:F.error,className:"px-3 pb-2 text-xs"}),t.jsxs("button",{type:"button",className:K,onClick:()=>{L(!1),N()},children:[t.jsx(il,{size:16}),"重新加载文件"]})]})]}),t.jsx("button",{type:"button",className:o,onClick:B,"aria-label":"关闭文件预览",title:"关闭文件预览 (Esc)",children:t.jsx(Jt,{size:17})})]}),k&&t.jsx("div",{className:"px-2 pb-2",children:k})]})}const vu="termdock-file-search-match",rl="termdock-file-search-current";function Wm(r,a,i){return!!(a&&r?.isConnected&&!i.defaultPrevented&&!r.closest('[inert], [aria-hidden="true"], [hidden]')&&i.target instanceof Node&&r.contains(i.target))}function Gm(r){const a=r.metaKey||r.ctrlKey,i=r.key.toLocaleLowerCase();return a&&i==="f"?"open":a&&i==="g"||r.key==="F3"?r.shiftKey?"previous":"next":r.key==="Escape"?"close":null}function qm(r){return r.parentElement?.closest("[data-markdown-preview-block-start], [data-file-preview-line]")??null}function Km(r,a){const i=a.trim().toLocaleLowerCase();if(!i)return[];const c=[];let h="",m=null;const d=document.createTreeWalker(r,NodeFilter.SHOW_TEXT);for(let w=d.nextNode();w;w=d.nextNode()){if(!(w instanceof Text)||!w.data)continue;const S=qm(w);if(!S)continue;m&&m!==S&&(h+=`
|
|
1705
|
-
`);const v=h.length;h+=w.data,c.push({node:w,start:v,end:h.length,group:S}),m=S}const y=h.toLocaleLowerCase(),g=[];let k=0;for(;k<=y.length-i.length;){const w=y.indexOf(i,k);if(w<0)break;const S=w+i.length,v=c.find(N=>N.start<=w&&N.end>w),A=c.find(N=>N.start<S&&N.end>=S);if(v&&A&&v.group===A.group){const N=document.createRange();N.setStart(v.node,w-v.start),N.setEnd(A.node,S-A.start),g.push(N)}k=w+Math.max(i.length,1)}return g}function yu(){return typeof CSS<"u"&&CSS.highlights?CSS.highlights:null}let ko;function Ld(r){return ko===r}function go(r){if(r&&ko!==r)return;const a=yu();a?.delete(vu),a?.delete(rl),ko=void 0}function Fi(r,a,i){const c=yu();if(!c||typeof Highlight>"u")return;ko=i,c.set(vu,new Highlight(...r));const h=r[a];h?c.set(rl,new Highlight(h)):c.delete(rl)}function Id(r){r?.startContainer.parentElement?.scrollIntoView({block:"center",inline:"nearest",behavior:"smooth"})}function Vm(r){return Array.from(new Set(r.split(/[\n,]/).map(a=>a.trim().replace(/^!+/,"")).filter(Boolean))).slice(0,24)}function Ym(r,a){const i=a.trim();return!i||i==="."?r:/^(?:[/\\]|[A-Za-z]:[/\\])/.test(i)?i.replace(/[\\/]+$/,""):`${r.replace(/[\\/]+$/,"")}/${i.replace(/^\.?[\\/]+/,"").replace(/[\\/]+$/,"")}`}function Xm(r,a){if(a===r)return".";const i=`${r.replace(/[\\/]+$/,"")}/`;return a.startsWith(i)?a.slice(i.length):a}function wu(r,a,i){return a?r:zn.createPortal(r,i)}const fl="termdock:right-sidebar:file-tree-scroll:v1",hl="termdock:right-sidebar:file-preview-reading-state:v1",Ps="termdock:right-sidebar:file-tree-width:v1",ku="termdock:right-sidebar:markdown-view-mode:v1",Su="termdock:right-sidebar:diff-change-list-mode:v1",ju="termdock:right-sidebar:diff-wrap:v1",Ru="termdock:diff-viewer:view-type:v1",Cu="termdock:right-sidebar:file-search-mode:v1",Di="termdock:right-sidebar:collapsed-git-repo-groups:v1",$d="termdock:right-sidebar:collapsed-diff-directories:v1",Bi="termdock:right-sidebar:branch-audit-module-open:v1",Nu="termdock:right-sidebar:branch-audit-module:v1",Jm=150,Fd="termdock:right-sidebar:context-draft-enabled:v1",Dd="termdock:right-sidebar:context-draft-collapsed:v1",Bd="termdock:right-sidebar:context-draft-auto-collapse:v1",Ui="termdock:right-sidebar:context-draft-text:v1",Qm=300,Zm=20,eg=120,tg=250,rg=250,ng=120,sg=700,_i=600,ag=6e4;function oa(r){return!!(r&&_.getState().nestedGitScanRoots[r])}const Ud=[2e3,5e3,15e3,3e4],og=320,ig=500,lg=20,cg=12e3,nl=300,_d=240,dg=560,Od=s.lazy(()=>ll(()=>import("./ModelPreview-BNxu0pPx.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81]))),ug=s.lazy(()=>ll(()=>import("./ArchitecturePanel-CPoUC6V9.js"),__vite__mapDeps([82,1,2,3,4,83,84,75,41,26,27,85,29,30,31,12,32,67,71,86,33,34,18,35,87,74,88])).then(r=>({default:r.ArchitecturePanel}))),fg=s.lazy(()=>ll(()=>import("./ComputerControlView-BDo7UUGT.js").then(r=>r.a),__vite__mapDeps([89,1,2,3,4,90,91,45,56,66,92,47,93,94])));function Pu(r,a,i){return r&&!a?"unified":i}const hg=new Set([".md",".markdown",".mdown",".mkdn",".mkd"]);function pg(r){return r==="preview"||r==="source"}function mg(r){return r==="list"||r==="tree"||r==="ai"}function Hd(){return rt(ku,pg)??"preview"}function gg(){return rt(Su,mg)??"tree"}function fa(r){return typeof r=="boolean"}function bg(r){return typeof r=="string"}function xg(){return rt(ju,fa)??!0}function vg(r){return r==="unified"||r==="split"}function yg(){return rt(Ru,vg)??"unified"}function wg(r){return r==="name"||r==="content"||r==="regex"}function kg(){return rt(Cu,wg)??"name"}function Eu(r){return r.repositories??(r.context?.root?[{id:r.context.root,root:r.context.root,relativeRoot:".",name:ut(r.context.root)||r.context.root,depth:0,nested:!1,available:r.available,files:r.files,context:r.context,error:r.error}]:[])}function Sg(r,a){if(!a)return null;const i=new Set((r.repoFilters??[]).map(c=>c.root));return i.has(a)?a:i.size>0?null:(r.repositories??[]).some(c=>c.root===a)?a:null}function sl(r){return!r.activeGitRepoRoot&&(r.groupCount>1||r.label!==r.rootName)}function Au(...r){const a=new Set;for(const i of r)for(const c of i)a.add(c.root);return a}function al(r){return Array.isArray(r)&&r.every(a=>typeof a=="string")}function zd(r){const a=rt(r,al);return a?new Set(a):new Set}function Oi(r,a){Et(r,[...a])}function jg(r){if(!r||typeof r!="object"||Array.isArray(r))return!1;const a=r;return typeof a.filePath=="string"&&typeof a.hunkHeader=="string"&&typeof a.hunkIndex=="number"&&typeof a.fingerprint=="string"&&typeof a.additions=="number"&&typeof a.deletions=="number"&&typeof a.diff=="string"&&(a.oldPath===void 0||a.oldPath===null||typeof a.oldPath=="string")&&(a.newPath===void 0||a.newPath===null||typeof a.newPath=="string")&&(a.source===void 0||a.source==="committed"||a.source==="uncommitted"||a.source==="unknown")&&(a.commit===void 0||a.commit===null||typeof a.commit=="string")}function Rg(r){if(!r||typeof r!="object"||Array.isArray(r))return!1;const a=r;return typeof a.available=="boolean"&&(a.repoRoot===void 0||typeof a.repoRoot=="string")&&(a.workspaceRoot===void 0||typeof a.workspaceRoot=="string")&&(a.baseRef===void 0||typeof a.baseRef=="string")&&(a.baseBranch===void 0||typeof a.baseBranch=="string")&&(a.currentBranch===void 0||a.currentBranch===null||typeof a.currentBranch=="string")&&(a.headRef===void 0||a.headRef===null||typeof a.headRef=="string")&&(a.diffFingerprint===void 0||typeof a.diffFingerprint=="string")&&(a.stat===void 0||typeof a.stat=="string")&&(a.files===void 0||al(a.files))&&(a.hunks===void 0||Array.isArray(a.hunks)&&a.hunks.every(jg))&&(a.commits===void 0||al(a.commits))&&(a.commitCount===void 0||typeof a.commitCount=="number")&&(a.diff===void 0||typeof a.diff=="string")&&(a.truncated===void 0||typeof a.truncated=="boolean")&&(a.error===void 0||typeof a.error=="string")}function Cg(r){if(!r||typeof r!="object"||Array.isArray(r))return!1;const a=r;return typeof a.key=="string"&&Rg(a.diff)&&typeof a.repoLabel=="string"&&typeof a.createdAt=="number"}function Ng(r){return!r||typeof r!="object"||Array.isArray(r)?!1:Object.values(r).every(a=>{if(!a||typeof a!="object"||Array.isArray(a))return!1;const i=a;return Array.isArray(i.selectedRepoRoots)&&i.selectedRepoRoots.every(c=>typeof c=="string")&&!!i.repoTargetBranches&&typeof i.repoTargetBranches=="object"&&!Array.isArray(i.repoTargetBranches)&&Object.values(i.repoTargetBranches).every(c=>typeof c=="string")&&(i.repoBaseBranches===void 0||!!i.repoBaseBranches&&typeof i.repoBaseBranches=="object"&&!Array.isArray(i.repoBaseBranches)&&Object.values(i.repoBaseBranches).every(c=>typeof c=="string"))&&(i.previewEntries===void 0||Array.isArray(i.previewEntries)&&i.previewEntries.every(Cg))&&(i.selectedPreviewKey===void 0||i.selectedPreviewKey===null||typeof i.selectedPreviewKey=="string")&&(i.selectedPreviewFileKey===void 0||i.selectedPreviewFileKey===null||typeof i.selectedPreviewFileKey=="string")&&(i.previewDetailOpen===void 0||typeof i.previewDetailOpen=="boolean")&&(i.previewScrollTops===void 0||!!i.previewScrollTops&&typeof i.previewScrollTops=="object"&&!Array.isArray(i.previewScrollTops)&&Object.values(i.previewScrollTops).every(c=>typeof c=="number"))&&(i.previewMobileSlideIndex===void 0||typeof i.previewMobileSlideIndex=="number")&&(i.repoIncludeUncommitted===void 0||!!i.repoIncludeUncommitted&&typeof i.repoIncludeUncommitted=="object"&&!Array.isArray(i.repoIncludeUncommitted)&&Object.values(i.repoIncludeUncommitted).every(c=>typeof c=="boolean"))&&(i.includeUncommitted===void 0||typeof i.includeUncommitted=="boolean")&&typeof i.updatedAt=="number"})}function Wd(){return rt(Nu,Ng)??{}}function Gd(r){return[r.repoRoot,r.baseRef,r.branchName??"",r.headRef??"",r.diffFingerprint??""].join("\0")}function qd(r){const a=r?.trim()??"",i=a.indexOf("/");return i>=0?a.slice(i+1):a}function Tu(r,a){const i=r?.trim(),c=a?.trim();return!i||!c?!1:i===c||qd(i)===qd(c)}function Kd(r){const a=r?.branch??null;return[r?.upstream,...r?.remoteBranches??[],...r?.branches??[]].find(c=>c&&!Tu(c,a))??""}function ol(r,a){const i=Math.max(_d,a-320),c=Math.min(dg,i);return Math.min(c,Math.max(_d,r))}function Pg(r){return typeof r=="number"&&Number.isFinite(r)}function Eg(r){return ol(rt(Ps,Pg)??nl,r)}function Mu(r){const a=r.split(/[\\/]/).pop()??r,i=a.lastIndexOf(".");return i>=0?a.slice(i).toLowerCase():""}function ia(r){return hg.has(Mu(r))}function Ns({label:r,value:a,options:i,placeholder:c,searchPlaceholder:h,emptyText:m,disabled:d,onChange:y}){const{t:g}=Qt(),[k,w]=s.useState(!1),[S,v]=s.useState(""),[A,N]=s.useState(null),B=s.useRef(null),F=s.useRef(null),Z=S.trim().toLowerCase(),L=s.useMemo(()=>Z?i.filter(o=>`${o.label} ${o.meta??""}`.toLowerCase().includes(Z)):i,[Z,i]),q=i.find(o=>o.value===a),ie=()=>{const o=S.trim();o&&(y(o),w(!1),v(""))},Y=s.useCallback(()=>{const o=B.current?.getBoundingClientRect();if(!o)return!1;const K=12,te=Math.max(220,Math.min(o.width,window.innerWidth-K*2)),T=Math.min(Math.max(K,o.left),window.innerWidth-te-K),re=window.innerHeight-o.bottom-K,ye=o.top-K,C=re>=180||re>=ye,he=Math.max(96,(C?re:ye)-4),O=Math.min(320,he);return N({left:T,top:C?o.bottom+4:Math.max(K,o.top-O-4),width:te,maxHeight:O}),!0},[]),ge=()=>{Y(),w(!0)};return s.useEffect(()=>{if(!k)return;let o=0;const K=()=>{o||(o=window.requestAnimationFrame(()=>{o=0,Y()}))},te=T=>{const re=T.target;re instanceof Node&&(B.current?.contains(re)||F.current?.contains(re)||(w(!1),v("")))};return window.addEventListener("resize",K),window.addEventListener("scroll",K,!0),document.addEventListener("pointerdown",te,!0),()=>{o&&window.cancelAnimationFrame(o),window.removeEventListener("resize",K),window.removeEventListener("scroll",K,!0),document.removeEventListener("pointerdown",te,!0)}},[k,Y]),t.jsxs("div",{className:"relative min-w-0",children:[t.jsxs("button",{ref:B,type:"button",disabled:d,onClick:()=>{if(!d){if(v(""),k){w(!1);return}ge()}},className:"group flex w-full items-center justify-between gap-2 min-h-10 rounded-md border border-transparent bg-surface-2 px-3 py-2 text-left transition hover:bg-surface-elevated focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",children:[t.jsxs("span",{className:"flex min-w-0 flex-1 items-center gap-3",children:[t.jsx("span",{className:"shrink-0 text-[11px] text-muted-foreground",children:r}),t.jsx("span",{className:`min-w-0 flex-1 truncate text-[13px] ${a?"text-foreground":"text-muted-foreground/70"}`,children:q?.label??(a||c)})]}),t.jsx(xa,{size:13,className:`shrink-0 text-muted-foreground transition group-hover:text-foreground ${k?"rotate-180":""}`})]}),k&&!d&&typeof document<"u"&&zn.createPortal(t.jsxs("div",{ref:F,className:"fixed z-popover overflow-hidden rounded-lg border border-border/15 bg-surface shadow-lg",onClick:o=>o.stopPropagation(),style:{left:A?.left??12,top:A?.top??12,width:A?.width??260,maxHeight:A?.maxHeight??320},children:[t.jsx("div",{className:"border-b border-border/10 p-1.5",children:t.jsxs("div",{className:"flex items-center gap-1.5 rounded-md bg-surface-2 px-2 py-1.5",children:[t.jsx(ln,{size:12,className:"shrink-0 text-muted-foreground"}),t.jsx("input",{autoFocus:!0,value:S,onChange:o=>v(o.target.value),onKeyDown:o=>{if(o.key==="Escape"){o.preventDefault(),w(!1),v("");return}o.key==="Enter"&&(o.preventDefault(),ie())},onBlur:()=>{S.trim()&&L.length===0&&ie()},placeholder:h,className:"min-w-0 flex-1 bg-transparent text-[12px] text-foreground outline-none placeholder:text-muted-foreground/70"})]})}),t.jsxs("div",{className:"overflow-y-auto p-1",style:{maxHeight:Math.max(96,(A?.maxHeight??320)-46)},children:[S.trim()&&!i.some(o=>o.value===S.trim())&&t.jsxs("button",{type:"button",onMouseDown:o=>o.preventDefault(),onClick:ie,className:"mb-1 flex w-full items-center justify-between gap-2 rounded-md bg-primary/10 px-2 py-1.5 text-left text-[12px] font-medium text-primary transition hover:bg-primary/15",children:[t.jsx("span",{className:"min-w-0 truncate",children:S.trim()}),t.jsx("span",{className:"shrink-0 text-[10px] text-primary/75",children:g("common.use")})]}),L.length>0?L.map(o=>t.jsxs("button",{type:"button",onClick:()=>{y(o.value),w(!1),v("")},className:`flex w-full items-center justify-between gap-2 rounded-md px-2 py-1.5 text-left text-[12px] transition hover:bg-surface-2 ${o.value===a?"bg-accent/10 text-accent":"text-foreground"}`,children:[t.jsx("span",{className:"min-w-0 truncate font-medium",children:o.label}),o.meta&&t.jsx("span",{className:"shrink-0 text-[10px] text-muted-foreground",children:o.meta})]},o.value)):t.jsx("div",{className:"px-2 py-2 text-[11px] text-muted-foreground",children:m})]})]}),document.body)]})}function Vd({open:r,onOpenChange:a,showScopePicker:i,selectedAll:c,repos:h,selectedRoots:m,onToggleRepo:d,onGenerate:y,onSecondaryAction:g,disabled:k,generateDisabled:w,secondaryDisabled:S,inserted:v,buttonLabel:A,insertedLabel:N,title:B,ariaLabel:F,scopeTitle:Z,scopeLabel:L,allLabel:q,generateLabel:ie,secondaryLabel:Y,secondaryTitle:ge,secondaryLoading:o,loading:K,error:te,statusTitle:T,extraContent:re,renderRepoExtra:ye,menuItem:C=!1}){return t.jsxs("div",{className:C?"relative w-full":"relative inline-flex shrink-0",children:[t.jsxs("button",{type:"button",role:C?"menuitem":void 0,tabIndex:C?-1:void 0,onClick:he=>{i?a(!r):w||y(he.currentTarget)},disabled:k,className:`relative flex items-center rounded-md transition disabled:cursor-not-allowed disabled:opacity-50 ${C?"min-h-10 w-full gap-2.5 px-2.5 text-left text-[12px] focus:bg-surface-2 focus:outline-none [@media(pointer:coarse)]:min-h-11":"h-7 shrink-0 justify-center gap-1 px-2 text-[11px] font-medium active:scale-95"} ${te?"text-destructive hover:bg-destructive/5":v?"bg-surface-elevated text-foreground":C?"text-foreground hover:bg-surface-2":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,"aria-label":F,title:T??(i?`${Z}: ${L}`:B),children:[K?t.jsx(Qe,{size:C?15:13,className:"shrink-0 animate-spin"}):t.jsx(ga,{size:C?15:13,className:C?"shrink-0 text-muted-foreground":void 0}),t.jsx("span",{className:C?"min-w-0 flex-1":void 0,children:v?N:A}),i&&(C?t.jsx(Es,{size:13,className:"shrink-0 text-muted-foreground"}):t.jsx(xa,{size:11,className:`shrink-0 transition ${r?"rotate-180":""}`})),te&&t.jsx("span",{className:"absolute right-0.5 top-0.5 size-1.5 rounded-full bg-destructive"})]}),i&&r&&typeof document<"u"&&zn.createPortal(t.jsx("div",{className:"fixed inset-0 z-modal-backdrop bg-[var(--app-backdrop)] px-3 py-6 backdrop-blur-sm animate-fade-in",onClick:()=>a(!1),children:t.jsxs("div",{className:"fixed left-1/2 top-1/2 z-modal-panel flex max-h-[min(82vh,36rem)] w-[calc(100vw-1.5rem)] max-w-[42rem] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-xl border border-border/20 bg-surface text-[11px] shadow-2xl",onClick:he=>he.stopPropagation(),children:[t.jsxs("div",{className:"flex items-center justify-between gap-3 border-b border-border/15 px-3 py-2",children:[t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-[12px] font-semibold text-foreground",children:Z}),t.jsx("div",{className:"mt-0.5 truncate text-[10px] text-muted-foreground",children:L})]}),t.jsx("button",{type:"button",onClick:()=>a(!1),className:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95","aria-label":"Close",children:t.jsx(Jt,{size:14})})]}),t.jsxs("div",{className:"min-h-0 flex-1 overflow-y-auto p-2",children:[re,t.jsxs("button",{type:"button",onClick:()=>d(null),className:`flex w-full items-center justify-between gap-2 rounded-md px-2 py-1.5 text-left font-medium transition ${c?"bg-primary/15 text-primary":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,children:[t.jsx("span",{className:"truncate",children:q}),c&&t.jsx("span",{className:"text-[10px]",children:"✓"})]}),h.map(he=>{const O=m.includes(he.root);return t.jsxs("div",{className:`mt-1 rounded-md transition ${O?"bg-primary/15 text-primary":""}`,children:[t.jsxs("button",{type:"button",onClick:()=>d(he.root),className:`flex w-full items-center justify-between gap-2 rounded-md px-2 py-1.5 text-left font-medium transition ${O?"text-primary":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,title:he.root,children:[t.jsxs("span",{className:"min-w-0",children:[t.jsx("span",{className:"block truncate",children:he.label}),he.branch&&t.jsx("span",{className:"block truncate text-[9px] opacity-70",children:he.branch})]}),O&&t.jsx("span",{className:"text-[10px]",children:"✓"})]}),ye&&(c||O)&&t.jsx("div",{className:"px-2 pb-2",children:ye(he)})]},he.root)})]}),t.jsxs("div",{className:`grid grid-cols-1 gap-1.5 border-t border-border/15 p-2 ${g&&Y?"sm:grid-cols-2":""}`,children:[g&&Y&&t.jsxs("button",{type:"button",onClick:()=>{S||(a(!1),g())},disabled:S,className:"flex h-7 w-full items-center justify-center gap-1 rounded-md bg-surface-2 px-2 text-[11px] font-semibold text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 active:scale-95",title:ge,children:[o?t.jsx(Qe,{size:12,className:"animate-spin"}):t.jsx(fu,{size:12}),Y]}),t.jsxs("button",{type:"button",onClick:async he=>{if(w)return;await y(he.currentTarget)!==!1&&a(!1)},disabled:w,className:"flex h-7 w-full items-center justify-center gap-1 rounded-md bg-primary/15 px-2 text-[11px] font-semibold text-primary transition hover:bg-primary/25 disabled:cursor-not-allowed disabled:opacity-50 active:scale-95",title:B,children:[t.jsx(ga,{size:12}),ie]})]})]})}),document.body)]})}function Ag(r){if(!r||typeof r!="object"||Array.isArray(r))return!1;for(const a of Object.values(r)){if(!a||typeof a!="object"||Array.isArray(a))return!1;const i=a;if(typeof i.top!="number"||!Number.isFinite(i.top)||typeof i.updatedAt!="number"||!Number.isFinite(i.updatedAt))return!1}return!0}function Lu(){return rt(fl,Ag)??{}}function Tg(r,a){const i=Lu(),c=Object.entries({...i,[r]:{top:a,updatedAt:Date.now()}}).sort(([,h],[,m])=>m.updatedAt-h.updatedAt).slice(0,Zm);ha(fl,Object.fromEntries(c),tg)}function Mg(r){if(!r||typeof r!="object"||Array.isArray(r))return!1;const a=r;return typeof a.start=="number"&&Number.isFinite(a.start)&&typeof a.end=="number"&&Number.isFinite(a.end)&&a.start>=1&&a.end>=a.start}function Lg(r){if(!r||typeof r!="object"||Array.isArray(r))return!1;for(const a of Object.values(r)){if(!a||typeof a!="object"||Array.isArray(a))return!1;const i=a;if(typeof i.top!="number"||!Number.isFinite(i.top)||i.left!==void 0&&(typeof i.left!="number"||!Number.isFinite(i.left))||i.markdownTop!==void 0&&(typeof i.markdownTop!="number"||!Number.isFinite(i.markdownTop))||i.lineRange!==void 0&&i.lineRange!==null&&!Mg(i.lineRange)||typeof i.updatedAt!="number"||!Number.isFinite(i.updatedAt))return!1}return!0}function pl(r,a){if(!a)return null;const i=r&&!a.startsWith("/")?`${r}/${a}`:a;return r?`${r}::${i}`:i}function Iu(){return rt(hl,Lg)??{}}function Yd(r,a){const i=pl(r,a);return i?Iu()[i]??null:null}function Hi(r,a,i){const c=pl(r,a);if(!c)return;const h=Iu(),m=h[c]??{top:0,left:0,markdownTop:0,lineRange:null,updatedAt:Date.now()},d=Object.entries({...h,[c]:{...m,...i,updatedAt:Date.now()}}).sort(([,y],[,g])=>g.updatedAt-y.updatedAt).slice(0,eg);ha(hl,Object.fromEntries(d),rg)}function zi({slow:r}){return t.jsx(Vh,{slow:r})}function bo({message:r,onRetry:a}){const{t:i}=Qt();return t.jsxs("div",{className:"mx-3 mt-3 overflow-hidden rounded-xl border border-destructive/20 bg-destructive/5 px-4 py-5 text-center text-sm text-destructive",children:[t.jsx("div",{className:"font-medium",children:i("rightSidebar.gitChangesLoadFailed")}),t.jsx("div",{className:"mt-1 break-words text-xs opacity-85",children:r}),t.jsx("button",{type:"button",onClick:a,className:"mt-3 rounded-full bg-destructive/10 px-3 py-1.5 text-xs font-semibold text-destructive transition hover:bg-destructive/15 active:scale-95",children:i("rightSidebar.retryGitChanges")})]})}function wo(r,a){const i=a&&r.startsWith(`${a}/`)?r.slice(a.length+1):r,c=i.split("/").filter(Boolean);return{name:c.pop()||i,dir:c.join("/")}}function ut(r){if(!r)return"";const a=r.replace(/\/+$/,"");return a.split("/").pop()||a||"/"}function xo(r){if(!r)return null;const a=eu(r);return a==="/"?null:Hh(a)}function Ig(r,a,i){return Ji(r,a,i)}function $u(r){const a=new Map;for(const i of r)a.set(ml(i),i);return a}function Fu(r,a){const i=new Map(r);for(const c of a)i.set(ml(c),c);return i}function Xd(r,a){let i=0;for(const c of r){const h=at(c,a);h&&a&&h!==a&&(i+=1)}return i}function $g(r){return r.reduce((a,i)=>a+(i.staged?1:0),0)}function Fg(r,a){return Array.from(Fu($u(r),a).values()).sort((i,c)=>i.path.localeCompare(c.path))}function Dg(r,a){const i=r.relativeRoot==="."?ut(a??r.root)||r.name||r.root:r.relativeRoot||r.name||ut(r.root)||r.root;return{root:r.root,label:i,branch:r.context?.branch??null,count:r.files.length,staged:$g(r.files)}}function Du(r,a){const i=ut(a??"")||a||"";return r.map(c=>Dg(c,a)).sort((c,h)=>i&&c.label===i?-1:i&&h.label===i?1:c.label.localeCompare(h.label))}function Bu(r,a,i,c,h){const m=Eu(i),d=m.find(B=>B.root===c)??m[0]??null,y=a.find(B=>B.root===c)??null,g=y?.relativeRoot??d?.relativeRoot??".",k=y?.name??d?.name??(ut(c)||c),w=(d?.files??i.files).map(B=>({...B,repoRoot:c,repoRelativeRoot:g,repoName:k})),S=d?.context??i.context,v={...y??d??{id:c,root:c,relativeRoot:g,name:k,depth:0,nested:!!(h&&c!==h),available:i.available,files:[],context:null},...d??{},id:y?.id??d?.id??c,root:c,displayRoot:y?.displayRoot??d?.displayRoot,relativeRoot:g,name:k,depth:y?.depth??d?.depth??0,nested:y?.nested??d?.nested??!!(h&&c!==h),available:d?.available??i.available,deferred:d?.deferred??!1,files:w,context:S?{...S,root:c,changedFiles:w.map(B=>({path:B.path,absolutePath:B.absolutePath,status:B.status}))}:null,untrackedDeferred:d?.untrackedDeferred??i.untrackedDeferred,error:d?.error??i.error},A=y?a.map(B=>B.root===c?v:B):[...a,v];return{files:Array.from(r).filter(B=>at(B,h)!==c).concat(w),repositories:A,repoFilters:Du(A,h)}}function at(r,a){return r.repoRoot??a}function ml(r){return`${r.repoRoot??""}\0${r.path}`}function Pr(r){return r.absolutePath||r.path}function Wi(r){return ml(r)}function Bg(r){return r.repoRelativeRoot&&r.repoRelativeRoot!=="."?r.repoRelativeRoot:r.repoName??""}function Jd(r){return r.reduce((a,i)=>a+(i.staged?1:0),0)}function Qd(r){const a={added:0,modified:0,deleted:0,renamed:0,copied:0,untracked:0,conflicted:0,staged:0,other:0};for(const i of r)i.status==="added"?a.added+=1:i.status==="modified"?a.modified+=1:i.status==="deleted"?a.deleted+=1:i.status==="renamed"?a.renamed+=1:i.status==="copied"?a.copied+=1:i.status==="untracked"?a.untracked+=1:i.status==="conflicted"?a.conflicted+=1:a.other+=1,i.staged&&(a.staged+=1);return a}function la(r){let a=0;const i=r??"root";for(let c=0;c<i.length;c+=1)a=Math.imul(a^i.charCodeAt(c),16777619);return`right-sidebar-git-bundle:${(a>>>0).toString(36)}`}function ca(r,a){return typeof r!="number"||!Number.isFinite(r)||r<=0?null:new Intl.DateTimeFormat(a==="zh"?"zh-CN":"en",{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"}).format(new Date(r))}function Er(r){return r instanceof DOMException&&r.name==="AbortError"}function Ug(r){const a=r.error??r.context?.error??"";return a.includes("request was cancelled")||a.includes("IO_REQUEST_CANCELLED")}function Zd(r){return r?.available===!1&&r.code==="NOT_GIT_REPOSITORY"}function _g({actions:r,running:a,completed:i}){const{t:c}=Qt(),[h,m]=s.useState(!1),d=s.useRef(null),y=r.find(k=>a?.action===k.key),g=r.find(k=>i?.action===k.key);return r.length===0?null:(s.useEffect(()=>{if(!h)return;const k=S=>{const v=S.target;v instanceof Node&&d.current?.contains(v)||m(!1)},w=S=>{S.key==="Escape"&&m(!1)};return document.addEventListener("pointerdown",k),document.addEventListener("keydown",w),()=>{document.removeEventListener("pointerdown",k),document.removeEventListener("keydown",w)}},[h]),t.jsxs("div",{ref:d,className:"relative shrink-0",children:[t.jsx("button",{type:"button",onClick:k=>{k.stopPropagation(),m(w=>!w)},disabled:r.every(k=>k.disabled)&&!a&&!i,className:`inline-flex h-6 min-w-6 shrink-0 items-center justify-center rounded-md transition active:scale-95 disabled:opacity-50 ${h?"bg-surface-elevated text-foreground":g?"bg-accent/10 text-accent":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,title:y?.label??g?.label??c("rightSidebar.gitQuickActions"),children:y?t.jsx(Qe,{size:13,className:"animate-spin"}):g?t.jsx("span",{className:"text-[12px] font-semibold",children:"✓"}):t.jsx(ma,{size:14})}),h&&t.jsx("div",{className:"absolute right-0 top-[calc(100%+2px)] z-30 w-44 overflow-hidden rounded-xl border border-border/15 bg-surface/98 p-1 text-[12px] shadow-xl shadow-[0_18px_48px_var(--app-shadow-soft)] backdrop-blur animate-fade-in",children:r.map(k=>{const w=a?.action===k.key,S=i?.action===k.key;return t.jsxs("button",{type:"button",onClick:v=>{v.stopPropagation(),k.onClick(),m(!1)},disabled:k.disabled||!!a,className:`flex w-full items-center gap-2 rounded-lg px-2.5 py-1.5 text-left font-medium transition active:scale-[0.99] disabled:opacity-50 ${S?"bg-accent/10 text-accent":k.destructive?"text-destructive hover:bg-destructive/10":"text-foreground hover:bg-surface-2"}`,children:[t.jsx("span",{className:"flex h-4 w-4 shrink-0 items-center justify-center",children:w?t.jsx(Qe,{size:13,className:"animate-spin"}):S?"✓":null}),t.jsx("span",{className:"min-w-0 flex-1 truncate",children:k.label})]},k.key)})})]}))}function Og(r){const a=window.getComputedStyle(r).overflowY;return(a==="auto"||a==="scroll")&&r.scrollHeight>r.clientHeight+1}function Uu(r){let a=r;for(;a;){if(a.classList.contains("termdock-diff-stream-scroller")&&Og(a))return a;a=a.parentElement}return r.closest(".termdock-diff-stream-scroller")}function As(r){return r.getClientRects().length>0&&window.getComputedStyle(r).visibility!=="hidden"}const Gi=new WeakMap;function So(r){const a=Gi.get(r);a!==void 0&&window.clearTimeout(a),r.classList.remove("diff-walkthrough-target"),r.offsetWidth,r.classList.add("diff-walkthrough-target");const i=window.setTimeout(()=>{r.classList.remove("diff-walkthrough-target"),Gi.delete(r)},1700);Gi.set(r,i)}function Hg(r){const a=CSS.escape(r),i=[`[data-diff-stream-item="${a}"]`,`[data-diff-selection-path="${a}"]`,`[data-diff-absolute-path="${a}"]`].join(","),c=Array.from(document.querySelectorAll(".termdock-diff-stream-scroller"));let h=null;for(const y of c){if(!As(y))continue;const g=y.querySelector(i);if(g&&As(g)){h=g;break}}if(h??=Array.from(document.querySelectorAll(i)).find(As)??null,!h)return;const m=Uu(h);if(!m){h.scrollIntoView({block:"start",behavior:"smooth"}),So(h);return}const d=h.getBoundingClientRect().top-m.getBoundingClientRect().top+m.scrollTop;m.scrollTo({top:Math.max(0,d),behavior:"instant"}),So(h)}function Hn(r){const a=CSS.escape(r.filePath),i=typeof r.sectionIndex=="number"?String(r.sectionIndex):null,c=typeof r.hunkIndex=="number"?String(r.hunkIndex):null,h=r.sectionFingerprint?CSS.escape(r.sectionFingerprint):null,m=r.hunkFingerprint?CSS.escape(r.hunkFingerprint):null,d=[i!==null&&h?`[data-diff-section-audit="${a}"][data-diff-section-index="${i}"][data-diff-section-fingerprint="${h}"]`:null,i!==null&&h?`[data-diff-section-anchor="${a}"][data-diff-section-index="${i}"][data-diff-section-fingerprint="${h}"]`:null,i!==null?`[data-diff-section-audit="${a}"][data-diff-section-index="${i}"]`:null,i!==null?`[data-diff-section-anchor="${a}"][data-diff-section-index="${i}"]`:null,c!==null&&m?`[data-diff-hunk-anchor="${a}"][data-diff-hunk-index="${c}"][data-diff-hunk-fingerprint="${m}"]`:null,c!==null?`[data-diff-hunk-anchor="${a}"][data-diff-hunk-index="${c}"]`:null,`[data-diff-file-path="${a}"]`].filter(N=>!!N),y=Array.from(document.querySelectorAll(".termdock-diff-stream-scroller"));let g=null;for(const N of y)if(As(N)){for(const B of d){const F=N.querySelector(B);if(F&&As(F)){g=F;break}}if(g)break}if(g??=d.flatMap(N=>Array.from(document.querySelectorAll(N))).find(As)??null,!g){Hg(r.filePath);return}const k=Uu(g);if(!k){g.scrollIntoView({block:"center",behavior:"smooth"}),So(g);return}const w=g.getBoundingClientRect(),S=k.getBoundingClientRect(),A=w.top-S.top+k.scrollTop-Math.max(24,(k.clientHeight-w.height)/2);k.scrollTo({top:Math.max(0,A),behavior:"instant"}),So(g)}let zg=0,Wg=0,Gg=0,qg=0,Kg=0;function Je(r,a={}){if(typeof window>"u")return;const i=JSON.stringify({level:r==="error"||r==="empty_bundle"?"warn":"info",message:`GIT_BUNDLE ${r}`,data:{seq:++Wg,ts:Date.now(),...a}});fetch("/api/client-log",{method:"POST",headers:{"Content-Type":"application/json"},body:i,keepalive:!0}).catch(()=>{})}function da(r,a={}){if(typeof window>"u")return;const i=JSON.stringify({level:"info",message:`DIFF_INTERACTION ${r}`,data:{seq:++qg,ts:Date.now(),...a}});fetch("/api/client-log",{method:"POST",headers:{"Content-Type":"application/json"},body:i,keepalive:!0}).catch(()=>{})}function Vg(){return`diff-ui-${Date.now().toString(36)}-${(++Kg).toString(36)}`}function Yg(r){return r instanceof Element?r.closest("[data-diff-selection-path]"):null}function Xg(r){const a=r.target instanceof HTMLElement?r.target:null;return{eventType:r.type,button:r.button,pointerType:r instanceof globalThis.PointerEvent?r.pointerType:void 0,targetTag:a?.tagName,targetClass:a?.className,targetText:a?.textContent?.slice(0,80)}}function jo({presentation:r="sidebar",canInsertReference:a=!0,rootPath:i,onFileSelect:c,initialMarkdownFragment:h=null,onReviewReference:m,filePath:d,active:y=!0,onInsertReference:g,onInsertText:k,onInsertFeature:w,onReferenceCopied:S,onClose:v,onDirectoryLinkOpen:A,isMobile:N,markdownOutlineOpen:B,markdownOutlineCloseSignal:F,onOpenMarkdownOutline:Z,onCloseMarkdownOutline:L,markdownImageLightboxOpen:q,markdownImageLightboxCloseSignal:ie,onOpenMarkdownImageLightbox:Y,onCloseMarkdownImageLightbox:ge,lineRange:o,onLineRangeChange:K,insertedReferenceKey:te,copiedReferenceKey:T,scrollToLine:re,onScrollToLineHandled:ye}){const{t:C}=Qt(),he=s.useRef(null),O=s.useRef({}),ne=s.useRef(y);ne.current=y,s.useEffect(()=>{y||he.current?.querySelectorAll("video").forEach(R=>R.pause())},[y]);const se=_(R=>R.rootPath),E=_(R=>R.selectFile),P=i===void 0?se:i,J=c??E,[j,de]=s.useState({kind:"idle"}),[be,$]=s.useState("schematic"),[ve,ke]=s.useState(null),Se=s.useRef(null),[nt,st]=s.useState(null),Ae=s.useRef(new Map),I=s.useRef(null),[le,je]=s.useState(null),[X,kt]=s.useState(()=>Hd()),[Ne,dr]=s.useState(()=>r==="dialog"?"preview":Td(P,d)),_e=s.useRef(null),[Ar,Wn]=s.useState(!1),[cn,pe]=s.useState([]),[At,dn]=s.useState(null),[Gr,H]=s.useState(0),[Oe,Ie]=s.useState([]),[ur,Gn]=s.useState(h),Zt=s.useRef(null),qe=s.useRef(d),[qr,fr]=s.useState(null),Ze=dh(P&&d&&!d.startsWith("/")?`${P}/${d}`:d,y),[ot,Ms]=s.useState(!1),[it,hr]=s.useState(""),[St,Ls]=s.useState([]),[er,_t]=s.useState(0),Tr=s.useRef(null),Ot=ou(S),[qn,Kn]=s.useState(""),un=r==="dialog",Mr=pl(P,d);s.useEffect(()=>{if(qe.current===d)return;qe.current=d,pe([]),Kn("");const R=d&&P&&!d.startsWith("/")?`${P}/${d}`:d;if(Zt.current===R){Zt.current=null;return}Zt.current=null,Ie([]),Gn(null),Ms(!1),hr("")},[d,P]);const pr=d?P&&!d.startsWith("/")?`${P}/${d}`:d:null,ft=_(R=>pr?(R.fileChangeVersions.get(pr)??0)+R.fileWatchEpoch:R.fileWatchEpoch),Vn=s.useRef(null),mr=s.useRef(null),[fn,ya]=s.useState(0),hn=s.useCallback(()=>ya(R=>R+1),[]);s.useEffect(()=>{const R=Se.current;return Se.current=null,ke(null),R&&URL.revokeObjectURL(R.objectUrl),()=>{const M=Se.current;Se.current=null,M&&URL.revokeObjectURL(M.objectUrl)}},[pr,ft,fn]),s.useEffect(()=>{if(!d){Vn.current=null,de({kind:"idle"});return}const R=P&&!d.startsWith("/")?`${P}/${d}`:d,M=new AbortController,ae=++zg,me=`right-sidebar-file-preview:${ae}`,He=performance.now();let Ee=!1;const Be=(W,Fe={})=>{Ee||(Ee=!0,Li("end",{loadingId:ae,reason:W,durationMs:Math.round(performance.now()-He),filePath:d,fullPath:R,rootPath:P,...Fe}))};let Te=null;const We=uh(R),lt=We?R.toLowerCase().endsWith(".kicad_pcb")?be==="schematic"?"pcb-front":be:"schematic":be,nr=!We&&fh(R),xr=!We&&!nr&&hh(R),Dr=!We&&!nr&&!xr&&ph(R),Us=ia(R),en=aa(R),tn=We?"eda":nr?"image":xr?"model3d":Dr?"video":"text",vr=Vn.current!==R;if(Vn.current=R,vr){Li("start",{loadingId:ae,filePath:d,fullPath:R,rootPath:P,mode:tn,externalVersion:ft}),de({kind:"loading",mode:tn}),mr.current=null;const W=Yd(P,d);K(W?.lineRange??null),kt(Us?Hd():"source"),dr(en?r==="dialog"?"preview":Td(P,d):"source"),We&&$(mh(R))}vr||de(W=>W.kind==="error"?{kind:"loading",mode:tn}:W);const Ht=window.setTimeout(()=>{Ee||M.signal.aborted||Li("still_active",{loadingId:ae,filePath:d,fullPath:R,rootPath:P,mode:tn,durationMs:Math.round(performance.now()-He),isPathChange:vr})},3e3),yr=window.setTimeout(()=>{if(Ee||M.signal.aborted)return;const W=We?C("rightSidebar.edaTimeout"):xr?C("rightSidebar.model3dTimeout"):"File preview timed out. Try the file again or refresh the directory.";M.abort(new DOMException(W,"TimeoutError")),de({kind:"error",message:W}),Be("stuck_timeout",{error:W})},We?gh+5e3:xr?bh+5e3:xh(R)?35e3:cg);if(We){const W=lt==="pcb-3d"?Se.current:null;W?(de(W),Be("eda_3d_client_cache_hit",{bytes:W.meta.size,view:W.view,mimeType:W.meta.mimeType})):vh(R,lt,M.signal,"view_file",me).then(Fe=>{if(M.signal.aborted)return;Te=URL.createObjectURL(Fe.blob);const zt={kind:"eda",sourcePath:Fe.path||R,objectUrl:Te,view:Fe.view,meta:{size:Fe.size,mimeType:Fe.mimeType,modified:Fe.modified}};if(Fe.view==="pcb-3d"){const Br=Se.current;Br&&Br.objectUrl!==Te&&URL.revokeObjectURL(Br.objectUrl),Se.current=zt,ke(zt),Te=null}de(zt),Be("eda_loaded",{bytes:Fe.size,view:Fe.view,mimeType:Fe.mimeType})}).catch(Fe=>{M.signal.aborted||(de({kind:"error",message:Fe instanceof Error&&/timed out/i.test(Fe.message)?C("rightSidebar.edaTimeout"):Fe instanceof Error?Fe.message:C("rightSidebar.edaLoadFailed")}),Be("error",{error:Fe instanceof Error?Fe.message:String(Fe)}))})}else if(nr)yh(R,M.signal,"view_file",me).then(W=>{Te=URL.createObjectURL(W.blob),de({kind:"image",objectUrl:Te,meta:{size:W.size,mimeType:W.mimeType,modified:W.modified}}),Be("image_loaded",{bytes:W.size,mimeType:W.mimeType})}).catch(W=>{M.signal.aborted||(de({kind:"error",message:W instanceof Error?W.message:C("rightSidebar.imageLoadFailed")}),Be("error",{error:W instanceof Error?W.message:String(W)}))});else if(xr)wh(R,M.signal,"view_file",me).then(W=>{M.signal.aborted||(Te=URL.createObjectURL(W.blob),de({kind:"model3d",sourcePath:W.path||R,objectUrl:Te,ext:W.ext,meta:{size:W.size,mimeType:W.mimeType,modified:W.modified}}),Be("model3d_loaded",{bytes:W.size,ext:W.ext}))}).catch(W=>{M.signal.aborted||(de({kind:"error",message:W instanceof Error&&(W.name==="TimeoutError"||/timed out/i.test(W.message))?C("rightSidebar.model3dTimeout"):W instanceof Error?W.message:C("rightSidebar.model3dLoadFailed")}),Be("error",{error:W instanceof Error?W.message:String(W)}))});else if(Dr){const W=kh(R)??"",Fe=Uh(R);de(zt=>zt.kind==="video"&&zt.url===Fe?zt:{kind:"video",url:Fe,meta:{size:null,mimeType:W,modified:null}}),Be("video_ready",{mimeType:W})}else od(R,M.signal,"view_file",me).then(W=>{if(!M.signal.aborted){if(W.binary){de({kind:"binary"});return}de({kind:"text",content:W.content,sourcePath:W.path||R,meta:{size:W.size,truncated:W.truncated}}),Be("text_loaded",{bytes:W.size,truncated:!!W.truncated})}}).catch(W=>{M.signal.aborted||(de({kind:"error",message:W instanceof Error?W.message:"Failed to read file"}),Be("error",{error:W instanceof Error?W.message:String(W)}))});return()=>{M.abort(),wt(me),window.clearTimeout(Ht),window.clearTimeout(yr),Te&&URL.revokeObjectURL(Te),Be("cleanup")}},[d,P,ft,fn,K,C,be,r]),s.useEffect(()=>{if(j.kind!=="model3d"||!d){st(null);return}let R=!1;const M=d.lastIndexOf("/"),ae=M>=0?d.slice(M+1):d,me=M>=0?d.slice(0,M):"",He=me.lastIndexOf("/"),Ee=He>=0?me.slice(0,He):"",Be=ae.replace(/\.(stl|glb|gltf)$/i,""),Te=`${Ee?`${Ee}/`:""}features/${Be}.json`;return od(Te).then(We=>{if(!R)try{const lt=JSON.parse(We.content);st(lt.version===1&&Array.isArray(lt.features)&<.features.length>0?lt.features:null)}catch{st(null)}}).catch(()=>{R||st(null)}),()=>{R=!0}},[j,d]),s.useEffect(()=>{if(j.kind!=="text"){fr(null);return}const R=P&&d&&!d.startsWith("/")?`${P}/${d}`:d,M=np(R),ae=j.content,me=ia(R??"")&&X==="preview",He=aa(R??"")&&Ne==="preview";if(!M||me||He||!sp(ae)){fr(null);return}let Ee=!1;const Be=Te=>{if(Ee||!Te.registered(M)){Ee||fr(null);return}try{fr(op(Te,ae,M))}catch{fr(null)}};return At?Be(At):(fr(null),ap().then(Te=>{Ee||(dn(Te),Be(Te))}).catch(()=>{})),()=>{Ee=!0}},[j,At,d,P,X,Ne]),s.useLayoutEffect(()=>{if(!Mr||j.kind!=="text")return;const R=`${Mr}:${X}:${Ne}`;if(mr.current===R)return;const M=Yd(P,d);if(mr.current=R,!M)return;const ae=requestAnimationFrame(()=>{const me=I.current;if(!me)return;const He=X==="preview"?M.markdownTop??M.top:M.top;me.scrollTo({top:Math.max(0,He??0),left:Math.max(0,M.left??0)}),H(X==="preview"?Math.max(0,He??0):0)});return()=>cancelAnimationFrame(ae)},[d,X,Ne,j.kind,Mr,P]),s.useEffect(()=>{Mr&&Hi(P,d,{lineRange:o})},[d,o,Mr,P]),s.useEffect(()=>{if(re==null||j.kind!=="text")return;je(null),K({start:re,end:re});const R=re,M=requestAnimationFrame(()=>{const ae=Ae.current.get(R);ae&&ae.scrollIntoView({block:"center"}),ye?.()});return()=>cancelAnimationFrame(M)},[re,j,K,ye]);const Is=s.useCallback(R=>{const M=I.current;if(!M)return!1;const ae=typeof CSS<"u"&&typeof CSS.escape=="function"?CSS.escape(R):R.replace(/[^a-zA-Z0-9_-]/g,"\\$&"),me=M.querySelector(`#${ae}`);return me?(me.scrollIntoView({block:"start"}),!0):!1},[]);s.useEffect(()=>{const R=P&&d&&!d.startsWith("/")?`${P}/${d}`:d,M=j.kind==="text"&&ia(R??"")&&X==="preview";if(!ur||!M)return;const ae=requestAnimationFrame(()=>{Is(ur)&&Gn(null)});return()=>cancelAnimationFrame(ae)},[d,Is,X,ur,j,P]),s.useLayoutEffect(()=>{const R=I.current;if(!R||!o){je(null);return}if(le)return;const M=j.kind==="image"||j.kind==="loading"&&j.mode==="image",ae=P&&d&&!d.startsWith("/")?`${P}/${d}`:d,me=j.kind==="text"&&ia(ae??"")&&X==="preview",He=j.kind==="text"&&aa(ae??"")&&Ne==="preview";if(j.kind!=="text"||M||me||He){je(null);return}const Ee=()=>{const Te=Ae.current.get(o.end);if(!Te||!R){je(null);return}const We=Te.offsetTop+Te.offsetHeight/2,lt=R.scrollLeft+Math.max(8,R.clientWidth-120);je({top:We,left:lt})};Ee();const Be=new ResizeObserver(()=>Ee());return Be.observe(R),()=>Be.disconnect()},[o,le,j,X,Ne,d,P,qr]);const jt=j.kind==="text"&&!(aa(pr??"")&&Ne==="preview")&&!pr?.toLowerCase().endsWith(".csv")&&!pr?.toLowerCase().endsWith(".kicad_pro")&&!pr?.toLowerCase().endsWith(".kicad_prl"),pn=s.useCallback(()=>{Ms(!1),hr(""),Ls([]),_t(0),go(O.current)},[]),ht=s.useCallback(()=>{!y||!jt||(Ms(!0),requestAnimationFrame(()=>{const R=he.current;!ne.current||!R?.isConnected||R.closest('[inert], [aria-hidden="true"], [hidden]')||R.getClientRects().length===0||getComputedStyle(R).visibility==="hidden"||!R.contains(document.activeElement)||(Tr.current?.focus(),Tr.current?.select())}))},[y,jt]),mn=s.useCallback(R=>{_t(M=>St.length===0?0:(M+R+St.length)%St.length)},[St.length]),Kr=s.useCallback(R=>{if(R.nativeEvent.isComposing||!Wm(he.current,y,R))return;const M=Gm(R);if(M==="open"&&jt){R.preventDefault(),ht();return}ot&&(M==="close"?(R.preventDefault(),pn()):(M==="next"||M==="previous")&&(R.preventDefault(),mn(M==="previous"?-1:1)))},[y,pn,ot,mn,ht,jt]);if(s.useLayoutEffect(()=>{if(go(O.current),!y||!ot||!it.trim()||!I.current){Ls([]),_t(0);return}const R=Km(I.current,it);return Ls(R),_t(0),(he.current?.contains(document.activeElement)||Ld(O.current))&&(Fi(R,0,O.current),Id(R[0])),()=>go(O.current)},[y,ot,it,qr,X,j]),s.useEffect(()=>{!y||!ot||!it.trim()||!he.current?.contains(document.activeElement)&&!Ld(O.current)||(Fi(St,er,O.current),Id(St[er]))},[y,er,St,ot,it]),s.useEffect(()=>()=>go(O.current),[]),!d)return t.jsx("div",{className:"mx-3 mt-3 overflow-hidden rounded-xl border border-border/15 bg-surface-2 px-4 py-8 text-center text-sm text-muted-foreground",children:C("rightSidebar.selectFilePrompt")});const $e=P&&!d.startsWith("/")?`${P}/${d}`:d,Tt=wo($e,P),Vr=iu($e,P),Yr=j.kind==="text"&&j.content?j.content.split(`
|
|
1706
|
-
`):[],pt=Math.max(2,String(Yr.length).length)+1,et=j.kind==="text"||j.kind==="image"||j.kind==="model3d"||j.kind==="video"||j.kind==="eda"?j.meta:null,gn=ia($e),Yn=$e.toLowerCase().endsWith(".csv"),Xn=$e.toLowerCase().endsWith(".kicad_pro"),bn=$e.toLowerCase().endsWith(".kicad_prl"),Xr=j.kind==="text"&&gn&&X==="preview",tr=aa($e),mt=j.kind==="text"&&tr&&Ne==="preview",$s=j.kind==="image"||j.kind==="loading"&&j.mode==="image",Co=j.kind==="model3d"||j.kind==="loading"&&j.mode==="model3d",Jn=j.kind==="video"||j.kind==="loading"&&j.mode==="video",Jr=j.kind==="eda"||j.kind==="loading"&&j.mode==="eda",xn=j.kind==="text"?j.sourcePath:$e,vn=Sh(xn,P,o),Lr=(()=>{if(!o||j.kind!=="text"||Yr.length===0)return vn;const R=[];for(let me=o.start;me<=o.end;me+=1)R.push(`${me} ${Yr[me-1]??""}`);const M=Mu($e).replace(/^\./,""),ae="```";return`${vn}
|
|
1707
|
-
${ae}${M}
|
|
1708
|
-
${R.join(`
|
|
1709
|
-
`)}
|
|
1710
|
-
${ae}
|
|
1711
|
-
`})(),gt=`path:${$e}`,bt=o?`path:${$e}:${o.start}-${o.end}`:gt,ue=te===gt,Mt=te===bt,gr=T===gt,Qr=T===bt,Qn=Mt||Qr,Ir=o?o.start===o.end?`L${o.start}`:`L${o.start}-${o.end}`:null,xt=R=>{const M=I.current;if(!M)return;const ae=M.getBoundingClientRect(),me=R.currentTarget.getBoundingClientRect(),He=R.clientX||me.left+me.width/2,Be=(R.clientY||me.top+me.height/2)-ae.top+M.scrollTop,Te=N?116:132,We=M.scrollLeft+Math.max(8,M.clientWidth-Te),lt=Math.min(Math.max(8,He-ae.left+M.scrollLeft+10),We);je({top:Be,left:lt})},wa=(R,M)=>{ip()||(xt(R),K(ae=>{const me=Ji(ae,M,M);return me||je(null),me}))},Zn=(R,M,ae)=>{xt(R),K(me=>{const He=Ji(me,M,ae);return He||je(null),He})},Fs=(R,M,ae,me)=>{me==="end"&&xt(R),K({start:M,end:ae})},br=R=>{const{scrollTop:M,scrollLeft:ae}=R.currentTarget;H(M),Hi(P,d,{top:M,left:ae,markdownTop:M})},Ds=R=>{if(R.directory){A?.(R.path);return}if(R.path===$e||j.kind==="text"&&R.path===j.sourcePath){R.fragment&&Is(R.fragment);return}Ie(M=>[...M,$e]),Zt.current=R.path,Gn(R.fragment),K(null),J(R.path)},Lt=()=>{const R=Oe[Oe.length-1];R&&(Ie(M=>M.slice(0,-1)),Zt.current=R,Gn(null),K(null),J(R))},rr=R=>{const{scrollTop:M,scrollLeft:ae}=R.currentTarget;Hi(P,d,{top:M,left:ae})},$r=R=>{const M={kind:"code",path:on(xn,P),text:Lr,...o?{lines:{...o}}:{}};if(m){m(Lr,bt,{reference:M},R.currentTarget);return}o&&k(Lr,bt,R.currentTarget,M)},ka=()=>{if(!(j.kind==="loading"||j.kind==="error"))return Ze.start()},Fr=()=>{tr?dr(R=>{const M=R==="preview"?"source":"preview";return wm(P,d,M),M}):(B&&L?.(),kt(R=>{const M=R==="preview"?"source":"preview";return Et(ku,M),M})),K(null)},Bs=()=>{Kn(""),(async()=>{try{if(!await _h(Vr))throw new Error("Clipboard unavailable");S(gt)}catch{Kn("复制失败,请检查剪贴板权限后重试。")}})()},Zr=ot&&jt&&t.jsxs("div",{className:"mt-2 flex min-w-0 items-center gap-1.5","data-file-preview-search":!0,children:[t.jsxs("div",{className:"flex min-w-0 flex-1 items-center rounded-lg bg-surface-2 px-2 focus-within:bg-surface-elevated",children:[t.jsx(ln,{size:13,className:"shrink-0 text-muted-foreground","aria-hidden":"true"}),t.jsx("input",{ref:Tr,type:"search",value:it,onChange:R=>hr(R.target.value),onKeyDown:R=>{R.key==="Enter"&&(R.preventDefault(),mn(R.shiftKey?-1:1))},className:"h-8 min-w-0 flex-1 bg-transparent px-2 text-xs text-foreground outline-none placeholder:text-muted-foreground/70",placeholder:C("rightSidebar.findInFilePlaceholder"),"aria-label":C("rightSidebar.findInFile")}),t.jsx("span",{className:"shrink-0 text-[10px] tabular-nums text-muted-foreground","aria-live":"polite",children:St.length>0?`${er+1}/${St.length}`:"0/0"})]}),t.jsx("button",{type:"button",onClick:()=>mn(-1),disabled:St.length===0,className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground disabled:opacity-35","aria-label":C("rightSidebar.previousSearchMatch"),title:`${C("rightSidebar.previousSearchMatch")} (Shift+Enter)`,children:t.jsx(Np,{size:13})}),t.jsx("button",{type:"button",onClick:()=>mn(1),disabled:St.length===0,className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground disabled:opacity-35","aria-label":C("rightSidebar.nextSearchMatch"),title:`${C("rightSidebar.nextSearchMatch")} (Enter)`,children:t.jsx(Pp,{size:13})}),t.jsx("button",{type:"button",onClick:pn,className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground","aria-label":C("rightSidebar.closeFileSearch"),title:`${C("rightSidebar.closeFileSearch")} (Esc)`,children:t.jsx(Jt,{size:13})})]});return t.jsxs("div",{ref:he,tabIndex:-1,onKeyDown:Kr,onFocusCapture:()=>{y&&ot&&it.trim()&&Fi(St,er,O.current)},onPointerDownCapture:R=>{R.target instanceof Element&&!R.target.closest('button, input, textarea, select, a, [tabindex]:not([tabindex="-1"])')&&R.currentTarget.focus({preventScroll:!0})},className:"flex h-full min-h-0 flex-col bg-surface text-foreground",children:[Ot.popoverNode,un?t.jsx(zm,{name:Tt.name,path:$e,isMobile:N,back:Oe.length>0?{label:C("rightSidebar.backToPreviousPreview"),go:Lt}:void 0,sizeLabel:et?.size!=null?C("rightSidebar.byteCount",{count:et.size.toLocaleString()}):void 0,view:(tr||gn)&&j.kind==="text"?{label:C(tr?Ne==="preview"?"rightSidebar.htmlSource":"rightSidebar.htmlPreview":X==="preview"?"rightSidebar.markdownSource":"rightSidebar.markdownPreview"),toggle:Fr}:void 0,fullscreen:mt?{label:C("rightSidebar.htmlFullscreenEnter"),toggle:()=>{_e.current?.toggleFullscreen()}}:void 0,reference:a?{label:C("rightSidebar.insertFileRef"),insert:R=>g($e,gt,R)}:void 0,search:jt?{label:C("rightSidebar.findInFile"),toggle:ot?pn:ht}:void 0,searchPanel:Zr,warnings:[...mt?cn:[],...et&&"truncated"in et&&et.truncated&&!mt?[C("rightSidebar.previewTruncated")]:[]],copied:gr,copyError:qn,onCopy:Bs,onClose:v,onRefresh:hn,download:{status:Ze.status,error:Ze.error,disabled:j.kind==="loading"||j.kind==="error",start:()=>{ka()},cancel:Ze.cancel}}):t.jsxs("div",{"data-file-preview-toolbar":!0,className:`shrink-0 border-b border-border/15 px-3 ${N&&(Xr||mt)?"py-1.5":"py-2"}`,children:[t.jsxs("div",{className:"flex items-center justify-between gap-2",children:[t.jsxs("div",{className:"flex min-w-0 items-center gap-1.5",children:[N&&v&&t.jsx("button",{type:"button",onClick:v,className:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95","aria-label":C("rightSidebar.backToFileList"),title:C("rightSidebar.backToFileList"),children:t.jsx(Ep,{size:16})}),Oe.length>0&&t.jsxs("button",{type:"button",onClick:Lt,className:`inline-flex h-9 shrink-0 items-center justify-center gap-1 rounded-full bg-primary/10 text-primary transition hover:bg-primary/15 active:scale-95 ${N?"w-9":"px-2.5"}`,"aria-label":C("rightSidebar.backToPreviousPreview"),title:C("rightSidebar.backToPreviousPreview"),children:[t.jsx(ba,{size:15}),!N&&t.jsx("span",{className:"text-[11px] font-medium",children:C("rightSidebar.backToPreviousPreview")})]}),t.jsxs("div",{className:"min-w-0",title:$e,children:[t.jsx("div",{className:"truncate text-sm font-medium text-foreground",children:Tt.name}),Tt.dir&&t.jsx("div",{className:"mt-0.5 truncate text-[11px] text-muted-foreground",children:Tt.dir})]})]}),t.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[jt&&t.jsx("button",{type:"button",onClick:ot?pn:ht,className:`inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95 ${ot?"bg-surface-elevated text-foreground":"bg-surface-2"}`,"aria-label":C("rightSidebar.findInFile"),title:`${C("rightSidebar.findInFile")} (⌘/Ctrl+F)`,children:t.jsx(ln,{size:14})}),gn&&j.kind==="text"&&t.jsx("button",{type:"button",onClick:Fr,className:`inline-flex h-9 shrink-0 items-center justify-center gap-1 rounded-full bg-surface-2 text-xs font-semibold text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95 ${N?"w-9 px-0":"px-3"}`,"aria-label":C(X==="preview"?"rightSidebar.markdownSource":"rightSidebar.markdownPreview"),title:C(X==="preview"?"rightSidebar.markdownSource":"rightSidebar.markdownPreview"),children:N?X==="preview"?t.jsx(Yi,{size:14}):t.jsx(Qi,{size:14}):C(X==="preview"?"rightSidebar.markdownSource":"rightSidebar.markdownPreview")}),tr&&j.kind==="text"&&t.jsx("button",{type:"button",onClick:Fr,className:`inline-flex h-9 shrink-0 items-center justify-center gap-1 rounded-full bg-surface-2 text-xs font-semibold text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95 ${N?"w-9 px-0":"px-3"}`,"aria-label":C(Ne==="preview"?"rightSidebar.htmlSource":"rightSidebar.htmlPreview"),title:C(Ne==="preview"?"rightSidebar.htmlSource":"rightSidebar.htmlPreview"),children:N?Ne==="preview"?t.jsx(Yi,{size:14}):t.jsx(Qi,{size:14}):C(Ne==="preview"?"rightSidebar.htmlSource":"rightSidebar.htmlPreview")}),mt&&t.jsx("button",{type:"button",onClick:()=>{_e.current?.toggleFullscreen()},className:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95","aria-label":C(Ar?"rightSidebar.htmlFullscreenExit":"rightSidebar.htmlFullscreenEnter"),title:C(Ar?"rightSidebar.htmlFullscreenExit":"rightSidebar.htmlFullscreenEnter"),children:t.jsx(ul,{size:15})}),a&&!N&&t.jsx("button",{type:"button",onClick:R=>g($e,gt,R.currentTarget),...Ot(Vr,gt),className:`inline-flex h-9 items-center gap-1 rounded-full px-3 text-xs font-semibold transition active:scale-95 ${ue||gr?"bg-surface-elevated text-foreground":"bg-primary/15 text-primary hover:bg-primary/25"}`,title:C("rightSidebar.insertReference",{reference:Vr}),"aria-label":C("rightSidebar.insertFileRef"),children:C(gr?"rightSidebar.copied":ue?"rightSidebar.inserted":"rightSidebar.insertFileRef")}),t.jsx("button",{type:"button",onClick:Bs,className:"inline-flex h-9 w-9 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95",title:C("rightSidebar.copyReference",{reference:Vr}),"aria-label":C("rightSidebar.copyFileRef"),children:gr?t.jsx(Ts,{size:13}):t.jsx(su,{size:13})}),t.jsx("button",{type:"button",onClick:()=>{ka()},disabled:Ze.status==="pending"||j.kind==="loading"||j.kind==="error",className:"inline-flex h-9 w-9 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95 disabled:opacity-50 disabled:active:scale-100",title:Ze.status==="error"?Ze.error??C("rightSidebar.downloadFailed"):C("rightSidebar.downloadFile"),"aria-label":C("rightSidebar.downloadFile"),children:Ze.status==="pending"?t.jsx(Qe,{size:13,className:"animate-spin"}):t.jsx(Vi,{size:14})}),Ze.status==="pending"&&t.jsx("button",{type:"button",onClick:Ze.cancel,className:"inline-flex h-9 shrink-0 items-center rounded-full bg-surface-2 px-2 text-xs text-foreground hover:bg-surface-elevated",children:C("common.cancel")})]})]}),qn&&t.jsx("p",{role:"alert",className:"py-1 text-xs text-destructive",children:qn}),t.jsx(au,{status:Ze.status,error:Ze.error}),Zr,!un&&et&&!(N&&(Xr||mt))&&t.jsxs("div",{className:"mt-1 flex items-center gap-2 text-[10px] text-muted-foreground",children:[et.size!==null&&t.jsx("span",{children:C("rightSidebar.byteCount",{count:et.size.toLocaleString()})}),"truncated"in et&&et.truncated&&t.jsx("span",{className:"text-[color:var(--warning)]",children:C("rightSidebar.previewTruncated")}),"mimeType"in et&&t.jsx("span",{children:et.mimeType}),"dimensions"in j&&j.dimensions&&t.jsxs("span",{children:[j.dimensions.width," × ",j.dimensions.height]})]}),!un&&!(N&&(Xr||mt))&&!Co&&j.kind!=="binary"&&t.jsx("div",{className:"mt-1 flex h-4 items-center gap-2 text-[10px] text-muted-foreground/75",children:t.jsx("span",{className:"truncate",children:Jr?C("rightSidebar.edaPickHint"):Yn?C("rightSidebar.csvTablePreview"):Xn||bn?C("rightSidebar.kicadProjectPickHint"):Jn?C("rightSidebar.videoPreviewHint"):$s?C("rightSidebar.imagePreviewHint"):Xr?o?C("rightSidebar.selectedLineHint",{lineLabel:Ir??""}):C("rightSidebar.markdownPreviewHint"):mt?C("rightSidebar.htmlPreviewHint"):o?C("rightSidebar.selectedLineHint",{lineLabel:Ir??""}):C("rightSidebar.multiLineHint")})})]}),!y&&(j.kind==="video"||j.kind==="model3d"||j.kind==="eda"||mt)?null:j.kind==="loading"?t.jsx("div",{className:"min-h-0 flex-1 overflow-auto px-3 py-8",children:t.jsx(Pi,{label:j.mode==="eda"?C("rightSidebar.edaLoading"):j.mode==="image"?C("rightSidebar.loadingImage"):j.mode==="model3d"?C("rightSidebar.model3dLoading"):j.mode==="video"?C("rightSidebar.loadingVideo"):C("common.loading")})}):j.kind==="error"?t.jsxs("div",{className:"min-h-0 flex-1 overflow-auto",children:[t.jsx("div",{className:"mx-3 mt-3 border border-destructive/20 bg-destructive/5 px-4 py-4 text-sm text-destructive",children:j.message}),t.jsx("button",{type:"button",onClick:hn,className:"mx-3 mt-3 rounded-lg bg-surface-2 px-4 py-2 text-sm text-foreground hover:bg-surface-3",children:C("common.retry")})]}):j.kind==="binary"?t.jsx("div",{className:"min-h-0 flex-1 overflow-auto",children:t.jsx("div",{className:"mx-3 mt-3 rounded-xl border border-border/15 bg-surface-2 px-4 py-6 text-center text-sm text-muted-foreground",children:C("rightSidebar.binaryPreviewHint")})}):j.kind==="image"?t.jsx("div",{className:"min-h-0 flex-1 overflow-hidden bg-surface p-3",children:j.meta.mimeType==="image/svg+xml"?t.jsx(bu,{blobUrl:j.objectUrl,filePath:$e,viewLabel:"SVG 文件",onInsertAnnotation:m??w}):t.jsx(mp,{src:j.objectUrl,alt:Tt.name,vector:!1,onLoad:R=>{const M=R.currentTarget;de(ae=>ae.kind==="image"?{...ae,dimensions:{width:M.naturalWidth,height:M.naturalHeight}}:ae)},onError:()=>de({kind:"error",message:C("rightSidebar.imageLoadFailed")})})}):j.kind==="video"?t.jsx("div",{className:"min-h-0 flex-1 overflow-hidden bg-surface p-3",children:t.jsx(hp,{url:j.url,onLoadError:()=>de({kind:"error",message:C("rightSidebar.videoLoadFailed")})})}):j.kind==="eda"?t.jsx("div",{className:"min-h-0 flex-1 overflow-hidden bg-surface",children:t.jsx(Pm,{blobUrl:j.objectUrl,filePath:j.sourcePath,view:j.view,board:$e.toLowerCase().endsWith(".kicad_pcb"),onViewChange:$,onInsertAnnotation:m??w,onRefresh:hn,interactive3d:ve?t.jsx(s.Suspense,{fallback:t.jsx(Pi,{label:C("rightSidebar.model3dLoading"),className:"min-h-0 flex-1 px-3 py-8"}),children:t.jsx(Od,{blobUrl:ve.objectUrl,ext:".glb",fileName:Tt.name,filePath:ve.sourcePath,features:null,onInsertFeature:m??w,unitScale:1e3,dimensionUnit:"mm",coordinateSystemLabel:"KiCad 3D 导出坐标 Y-up",annotationPrefix:"PCB三维标注",normalizePickedPartName:R=>/^[A-Za-z]{1,5}\d+[A-Za-z0-9._-]*$/.test(R)?R:"PCB板体/铜箔/丝印",active:j.view==="pcb-3d"})}):void 0})}):j.kind==="model3d"?t.jsx("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden bg-surface",children:t.jsx(s.Suspense,{fallback:t.jsx(Pi,{label:C("rightSidebar.model3dLoading"),className:"min-h-0 flex-1 px-3 py-8"}),children:t.jsx(Od,{blobUrl:j.objectUrl,ext:j.ext,fileName:Tt.name,filePath:j.sourcePath,features:nt,onInsertFeature:m??w,onRefresh:hn})})}):j.kind==="text"&&Yn?t.jsx(Tm,{content:j.content,filePath:$e,onInsertAnnotation:m??w},$e):j.kind==="text"&&(Xn||bn)?t.jsx(Im,{content:j.content,filePath:$e,localState:bn,onInsertAnnotation:m??w},$e):Xr?t.jsxs("div",{ref:I,className:"termdock-native-select relative min-h-0 flex-1 overflow-auto bg-surface","data-markdown-preview-scroller":!0,onScroll:br,style:{touchAction:"pan-x pan-y"},children:[t.jsx(lu,{content:j.content,filePath:j.sourcePath,rootPath:P,lineRange:o,onLineRangeClick:Zn,onLineRangeDrag:Fs,scrollTop:Gr,outlineOpen:B,outlineCloseSignal:F,onOutlineOpen:Z,onOutlineClose:L,lightboxOpen:q,lightboxCloseSignal:ie,onLightboxOpen:Y,onLightboxClose:ge,onLocalLinkOpen:Ds}),a&&o&&le&&t.jsxs("button",{type:"button",onClick:$r,...Ot(Lr,bt),style:{top:le.top,left:le.left,transform:"translateY(-50%)"},className:Sd(N,Qn),title:`Insert markdown reference: ${vn}`,children:[t.jsx(va,{size:N?13:11}),Qr?C("rightSidebar.copied"):Mt?C("rightSidebar.inserted"):C("rightSidebar.insertLineRef",{lineLabel:Ir??""})]})]}):mt?t.jsx("div",{className:"min-h-0 flex-1 overflow-hidden bg-surface",children:t.jsx(Hm,{ref:_e,src:jh($e),title:`${Tt.name} preview`,exitFullscreenLabel:C("rightSidebar.htmlFullscreenExit"),onFullscreenChange:Wn,onWarningsChange:un?pe:void 0,showInlineWarnings:!un},`${$e}:${ft}:${fn}`)}):j.kind==="text"?t.jsxs("div",{ref:I,onScroll:rr,className:`${gp} termdock-native-select termdock-code relative min-h-0 flex-1 overflow-auto rounded-none bg-surface p-2 font-mono text-[11px] leading-relaxed text-foreground`,children:[Yr.length>0?t.jsx("div",{className:"min-w-full",children:Yr.map((R,M)=>{const ae=M+1,me=!!(o&&ae>=o.start&&ae<=o.end),He=qr&&qr.length===Yr.length?qr[M]:null;return t.jsxs("div",{ref:Ee=>{Ee?Ae.current.set(ae,Ee):Ae.current.delete(ae)},role:"button","data-file-preview-line":ae,tabIndex:0,onClick:Ee=>wa(Ee,ae),onKeyDown:Ee=>{Ee.key!=="Enter"&&Ee.key!==" "||(Ee.preventDefault(),wa(Ee,ae))},style:{gridTemplateColumns:`${pt}ch 1fr`},className:`group grid w-max min-w-full cursor-text gap-2 rounded-md pr-1 text-left transition ${me?"bg-[var(--surface-2)] text-foreground":"hover:bg-surface-2"}`,title:`Tap to reference ${Vr}:${ae}`,children:[t.jsx("span",{className:`select-none rounded text-right text-[10px] transition ${me?"bg-[var(--surface-elevated)] text-muted-foreground":"text-muted-foreground/55"}`,children:ae}),t.jsx("span",{className:"whitespace-pre select-text","data-sidebar-selectable":!0,children:He??(R||" ")})]},M)})}):"Empty file.",a&&o&&le&&t.jsxs("button",{type:"button",onClick:$r,...Ot(Lr,bt),style:{top:le.top,left:le.left,transform:"translateY(-50%)"},className:Sd(N,Qn),title:`Insert code reference: ${vn}`,children:[t.jsx(va,{size:N?13:11}),Qr?C("rightSidebar.copied"):Mt?C("rightSidebar.inserted"):C("rightSidebar.insertLineRef",{lineLabel:Ir??""})]})]}):null]})}function Jg({rootPath:r,file:a,active:i,...c}){const[h,m]=s.useState(null),[d,y]=s.useState(a.line??1),g=s.useCallback(()=>y(null),[]);return t.jsx("div",{"data-architecture-source":!0,className:"h-full min-h-0",children:t.jsx(jo,{...c,filePath:`${r.replace(/\/+$/,"")}/${a.path}`,active:i,lineRange:h,onLineRangeChange:m,scrollToLine:d,onScrollToLineHandled:g,markdownOutlineOpen:!1,markdownImageLightboxOpen:!1})})}function Qg({isOpen:r,sessionId:a,drawerWidthPx:i,onClose:c,onOpen:h,push:m,pinned:d=!1,rightSidebarFilePreviewOpen:y=!1,rightSidebarFilePreviewCloseSignal:g,onOpenRightSidebarFilePreview:k,onCloseRightSidebarFilePreview:w,rightSidebarRepoPickerOpen:S=!1,rightSidebarRepoPickerCloseSignal:v,onOpenRightSidebarRepoPicker:A,onCloseRightSidebarRepoPicker:N,markdownOutlineOpen:B=!1,markdownOutlineCloseSignal:F,onOpenMarkdownOutline:Z,onCloseMarkdownOutline:L,markdownImageLightboxOpen:q=!1,markdownImageLightboxCloseSignal:ie,onOpenMarkdownImageLightbox:Y,onCloseMarkdownImageLightbox:ge}){const{t:o,locale:K}=Qt(),[te,T]=s.useState(""),re=_(e=>e.pendingTerminalPath),[ye,C]=s.useState(null),he=s.useRef(0),O=_(e=>e.rightSearchOpen),ne=_(e=>e.setRightSearchOpen),se=_(e=>e.rightSidebarLayoutPreference),E=_(e=>e.setRightSidebarLayoutPreference),[P,J]=s.useState(()=>kg()),[j,de]=s.useState("."),[be,$]=s.useState(""),[ve,ke]=s.useState(!1),[Se,nt]=s.useState(!1),[st,Ae]=s.useState(!1),[I,le]=s.useState(!1),je=s.useDeferredValue(te),[X,kt]=s.useState(null),[Ne,dr]=s.useState([]),[_e,Ar]=s.useState([]),[Wn,cn]=s.useState(null),pe=_(e=>e.contextKey?e.activeGitRepos[e.contextKey]??null:null),At=_(e=>e.setActiveGitRepo),[dn,Gr]=s.useState(null),[H,Oe]=s.useState(null),[Ie,ur]=s.useState(null),[Gn,Zt]=s.useState(!1),[qe,qr]=s.useState(()=>rt(Fd,fa)??!1),[fr,Ze]=s.useState(()=>rt(Dd,fa)??!1),[ot,Ms]=s.useState(()=>rt(Bd,fa)??!1),[it,hr]=s.useState(()=>rt(Ui,bg)??""),[St,Ls]=s.useState(0),[er,_t]=s.useState(!1),[Tr,Ot]=s.useState(!1),qn=s.useRef(null),Kn=s.useRef(null),[un,Mr]=s.useState(!1),[pr,ft]=s.useState(null),[Vn,mr]=s.useState(null),[fn,ya]=s.useState(()=>zd(Di)),[hn,Is]=s.useState(()=>zd($d)),[jt,pn]=s.useState(()=>gg()),[ht,mn]=s.useState(()=>xg()),[Kr,$e]=s.useState(()=>yg()),Tt="words",[Vr,Yr]=s.useState(0),[pt,et]=s.useState([]),[gn,Yn]=s.useState([]),[Xn,bn]=s.useState(!1),[Xr,tr]=s.useState(null),[mt,$s]=s.useState([]),[Co,Jn]=s.useState(!1),[Jr,xn]=s.useState([]),[vn,Lr]=s.useState([]),[gt,bt]=s.useState(!1),[ue,Mt]=s.useState(null),[gr,Qr]=s.useState([]),[Qn,Ir]=s.useState({}),xt=s.useRef(0),[wa,Zn]=s.useState(0),[Fs,br]=s.useState(!1),[Ds,Lt]=s.useState(null),[rr,$r]=s.useState(null),[ka,Fr]=s.useState(null),[Bs,Zr]=s.useState(null),[R,M]=s.useState(!1),[ae,me]=s.useState(""),He=s.useDeferredValue(ae),[Ee,Be]=s.useState({}),[Te,We]=s.useState([]),[lt,nr]=s.useState(!1),[xr,Dr]=s.useState(!1),[Us,en]=s.useState(null),[tn,vr]=s.useState(!1),Ht=s.useRef(null),yr=s.useRef(0),W=s.useRef({count:0,loading:!1,loadingMore:!1,hasMore:!1}),[Fe,zt]=s.useState(null),[Br,gl]=s.useState(()=>rt(Bi,fa)??!1),[No,Po]=s.useState(!1),[Sa,Eo]=s.useState([]),[sr,ja]=s.useState({}),[Rt,Ra]=s.useState({}),[yn,Ao]=s.useState({}),[bl,xl]=s.useState(()=>new Set),[De,wn]=s.useState(null),[To,kn]=s.useState(null),[_u,Ur]=s.useState(!1),[Mo,_r]=s.useState(0),[,Lo]=s.useState(0),[Io,Ca]=s.useState(!1),[Ou,Hu]=s.useState(()=>_.getState().rightTab==="files"),[ar,$o]=s.useState(!1),[zu,vl]=s.useState(()=>_.getState().rightTab==="diff"),[Fo,yl]=s.useState(()=>_.getState().rightTab==="android"),[rn,wl]=s.useState(!1),[or,kl]=s.useState({architecture:!1,computer:!1}),_s=s.useRef(new Set),Na=Ei(e=>e.docks[Mi]),Wu=!!Na,[Me,Os]=s.useState(null),[es,Hs]=s.useState(null),[ct,Sn]=s.useState(null),[Sl,Wt]=s.useState(null),[ts,jl]=s.useState(null),[Do,Gu]=s.useState(()=>Date.now()),[qu,Ku]=s.useState(!1),[jn,Pa]=s.useState(!1),[Ea,Rl]=s.useState(""),[rs,Aa]=s.useState(""),[Rn,Ta]=s.useState(""),[Cn,Ma]=s.useState(""),[Cl,ns]=s.useState(null),[Nl,Bo]=s.useState(!1),[Pl,El]=s.useState(!1),[La,Vu]=s.useState({key:null,nonce:0}),Al=s.useRef(null),Tl=s.useRef(null),V=Oh(i,d,se),Uo=Pu(V,d,Kr),[_o,Oo]=s.useState(()=>Eg(i)),Ho=_(e=>e.rightTab),It=_(e=>e.setRightTab),f=_(e=>e.rootPath),ss=Wn!==null&&Wn===f,as=_(e=>e.explorerRoot),Ml=_(e=>e.pinnedExplorerRootsCache),Ll=_(e=>e.hydratePinnedExplorerRoots),Il=_(e=>e.syncPinnedExplorerRoots),$t=_(e=>e.setExplorerRoot),$l=_(e=>e.resetExplorerToProject),os=_(e=>e.pinExplorerRoot),Nn=_(e=>e.unpinExplorerRoot),ze=_(e=>e.selectedFilePath),Ke=_(e=>e.selectFile),zo=_(e=>e.showHiddenFiles),Yu=_(e=>e.toggleShowHiddenFiles),Ia=_(e=>!!(f&&e.nestedGitScanRoots[f])),Pe=_(e=>e.changedFiles),$a=_(e=>e.setChangedFiles),zs=_(e=>e.invalidateDirectoryCache),Xu=_(e=>e.setDirectorySortMode),Fl=_(e=>e.applyFileWatchEvents),Dl=_(e=>e.reconcileDirectoryCache),Bl=_(e=>e.bumpFileWatchEpoch),wr=_(e=>e.gitBundleLoading),Ul=_(e=>e.gitBundleSlow),Pn=_(e=>e.gitBundleError),is=_(e=>e.gitBundleLastLoadedAt),_l=_(e=>e.beginGitBundleLoading),Ol=_(e=>e.setGitBundleSlowFor),Wo=_(e=>e.finishGitBundleLoading),Fa=_(e=>e.resetGitBundleLoading),Go=_(e=>e.setGitBundleError),Hl=_(e=>e.markGitBundleLoaded),Q=as??f,Da=_(e=>!!(Q&&e.hideGitIgnoredRoots[Q])),Ju=_(e=>e.hideGitIgnoredRootsHydrated),Qu=_(e=>e.setHideGitIgnoredRoot),[qo,zl]=s.useState(!1),[Wl,Ko]=s.useState(null);s.useEffect(()=>{Ko(null)},[Q]);const Gl=s.useMemo(()=>Q?Ym(Q,j):"",[Q,j]),Ws=s.useMemo(()=>Vm(be),[be]),ql=s.useMemo(()=>({excludePatterns:Ws,caseSensitive:Se,wholeWord:st,regex:I}),[Se,Ws,I,st]),Ba=_(e=>Q?e.fileSortModes[Q]??"name":"name"),Kl=_(e=>!!(Q&&e.directoryCache.has(Q))),En=s.useRef(null),vt=s.useRef(0),[Vl]=s.useState(()=>++Gg),Or=s.useRef(null),Yl=s.useRef(!1),nn=s.useRef(null),Ua=s.useRef(0),Gt=s.useRef(new Map),qt=s.useRef(new Map),kr=s.useRef(new Set),An=s.useRef(new Set),Tn=s.useRef(0),sn=s.useRef(null),ls=s.useRef(0),cs=s.useRef(null),ds=s.useRef(0),an=s.useRef(null),Vo=s.useRef(new Set),Yo=s.useRef(null),Xo=s.useRef(null),_a=s.useRef(null),Jo=s.useRef(null),Qo=s.useRef(null),Gs=s.useRef(new Set);s.useEffect(()=>{if(ts===null)return;const e=Math.max(0,Date.now()-ts),n=e<6e4?1e3:e<36e5?6e4:e<864e5?36e5:864e5,l=Math.max(50,n-e%n),p=window.setTimeout(()=>Gu(Date.now()),l);return()=>window.clearTimeout(p)},[Do,ts]);const us=s.useRef(null),Hr=s.useRef(null),Zo=s.useRef(null),Xl=s.useRef(null),qs=s.useRef(null),xe=s.useCallback(e=>_.getState().rootPath===e,[]);s.useEffect(()=>{if(!r||typeof window>"u")return;const e=n=>{const l=Yg(n.target);l&&da("global_change_row_event",{...Xg(n),selectionPath:l.dataset.diffSelectionPath,filePath:l.dataset.diffFilePath,absolutePath:l.dataset.diffAbsolutePath,repoRoot:l.dataset.diffRepoRoot,status:l.dataset.diffStatus,selectedFilePath:_.getState().selectedFilePath,rightTab:_.getState().rightTab,activeGitRepoRoot:pe,changedFiles:_.getState().changedFiles.size})};return window.addEventListener("pointerdown",e,{capture:!0}),window.addEventListener("click",e,{capture:!0}),()=>{window.removeEventListener("pointerdown",e,{capture:!0}),window.removeEventListener("click",e,{capture:!0})}},[pe,r]);const Jl=s.useCallback(async(e=f??void 0)=>{if(!e)return null;if(kr.current.has(e)||An.current.has(e))return Je("untracked_skip_cached",{cwd:e,rootPath:f,completed:kr.current.has(e),running:An.current.has(e)}),null;const n=f,l=Ua.current+1;Ua.current=l,Gt.current.set(e,l);const p=`right-sidebar-git-untracked:${e}`,u=new AbortController;qt.current.set(e,u),An.current.add(e),Je("untracked_start",{requestId:l,cwd:e,rootPath:f});try{let b=await id(e,u.signal,p),x=0;for(;b.status==="running"&&x<120;){if(Gt.current.get(e)!==l||u.signal.aborted)return Je("untracked_stale_result",{requestId:l,activeRequestId:Gt.current.get(e),cwd:e,status:b.status}),null;if(!xe(n))return Je("untracked_root_changed",{requestId:l,cwd:e,expectedRootPath:n,currentRootPath:_.getState().rootPath}),null;await new Promise(G=>window.setTimeout(G,x<10?1e3:3e3)),x+=1,b=await id(e,u.signal,p)}if(Gt.current.get(e)!==l||!xe(n))return Je("untracked_stale_result",{requestId:l,activeRequestId:Gt.current.get(e),cwd:e,expectedRootPath:n,currentRootPath:_.getState().rootPath,files:b.files.length,status:b.status}),null;if(b.status==="done")return $a(Fu(_.getState().changedFiles,b.files)),b.files.length>0&&dr(G=>{const we=new Map(G.map(oe=>[oe.root,oe])).get(e);if(!we)return G;const Xe=Fg(we.files,b.files),D=G.map(oe=>oe.root===e?{...oe,files:Xe,context:oe.context?{...oe.context,changedFiles:Xe.map(Ce=>({path:Ce.path,absolutePath:Ce.absolutePath,status:Ce.status})),truncated:!1}:oe.context,untrackedDeferred:!1}:oe);Ar(Du(D,f));const U=D.find(oe=>oe.root===f);return U?.context&&kt(oe=>oe?.root===U.root?{...oe,...U.context}:oe),D}),kr.current.add(e),Je("untracked_apply",{requestId:l,cwd:e,files:b.files.length}),b;const z=b.error||(b.status==="running"?"Untracked file scan is still running.":"Failed to scan untracked files");return kr.current.add(e),Je("untracked_error",{requestId:l,cwd:e,message:z,code:b.code,status:b.status}),null}catch(b){if(Gt.current.get(e)!==l||!xe(n)||Er(b))return Je("untracked_aborted",{requestId:l,activeRequestId:Gt.current.get(e),cwd:e,expectedRootPath:n,currentRootPath:_.getState().rootPath,message:b instanceof Error?b.message:String(b)}),null;const x=b instanceof Error?b.message:"Failed to scan untracked files";return kr.current.add(e),Je("untracked_error",{requestId:l,cwd:e,message:x}),null}finally{qt.current.get(e)===u&&qt.current.delete(e),Gt.current.get(e)===l&&Gt.current.delete(e),An.current.delete(e)}},[X,xe,f,$a]),ir=s.useMemo(()=>{const e=new Set(_e.map(l=>l.root)),n=mt.filter(l=>e.has(l));return n.length>0?n:pe?[pe]:[]},[pe,mt,_e]),Ql=ir.length===0,Mn=s.useMemo(()=>ir.map(e=>Ne.find(n=>n.root===e)).filter(e=>!!e),[ir,Ne]),Zu=s.useMemo(()=>_e.map(e=>({root:e.root,label:e.label,branch:e.branch??null})),[_e]),Sr=s.useCallback(async()=>{if(!f){et([]),Yn([]);return}const e=f,n=ls.current+1;ls.current=n,cs.current?.abort();const l=new AbortController;cs.current=l,bn(pt.length===0),tr(null);try{const p=ir.length>0?await Promise.all(ir.map(u=>ld({workspaceRoot:f,repoRoot:u},l.signal))).then(u=>({records:u.flatMap(b=>b.records),walkthroughs:u.flatMap(b=>b.walkthroughs??[])})):await ld({workspaceRoot:f},l.signal);if(ls.current!==n||!xe(e))return;et(p.records),Yn(p.walkthroughs??[])}catch(p){if(ls.current!==n||!xe(e)||Er(p))return;tr(p instanceof Error?p.message:"Failed to load change audit explanations")}finally{cs.current===l&&(cs.current=null),ls.current===n&&xe(e)&&bn(!1)}},[pt.length,ir,xe,f]),Oa=s.useCallback(async(e,n,l)=>{if(!e&&!f){xn([]),Lr([]);return}const p=f,u=ds.current+1;ds.current=u,an.current?.abort();const b=new AbortController;an.current=b;try{const x=e?[e]:Array.from(new Set([f,...Ne.map(G=>G.root)].filter(G=>!!G))),z=await Promise.all(x.map(G=>Rh({repoRoot:G,baseRef:n,branchName:l},b.signal))).then(G=>{const ce=new Map,we=new Map;for(const Xe of G){for(const D of Xe.records)ce.set(D.id,D);for(const D of Xe.walkthroughs??[])we.set(D.id,D)}return{records:Array.from(ce.values()),walkthroughs:Array.from(we.values())}});if(ds.current!==u||!xe(p))return;xn(z.records),Lr(z.walkthroughs??[])}catch(x){if(ds.current!==u||!xe(p)||Er(x))return;console.warn("[RightSidebar] Failed to load branch explanations",x)}finally{an.current===b&&(an.current=null)}},[Ne,xe,f]),fs=s.useCallback((e,n={})=>{if(!xe(f)){Je("apply_skipped_root_changed",{expectedRootPath:f,currentRootPath:_.getState().rootPath,bundleRoot:e.context?.root,files:e.files.length});return}Je(e.files.length===0?"empty_bundle":"apply",{rootPath:f,available:e.available,files:e.files.length,repositories:e.repositories?.map(U=>({root:U.root,relativeRoot:U.relativeRoot,files:U.files.length,available:U.available,error:U.error})),repoFilters:e.repoFilters?.map(U=>({root:U.root,label:U.label,count:U.count})),cached:e.cached,stale:e.stale,cacheAgeMs:e.cacheAgeMs,untrackedDeferred:e.untrackedDeferred,error:e.error});let l=Eu(e),p=e.repoFilters??[],u=e.files;const b=_.getState().changedFiles;if(!!(n.cacheOnly&&!e.cached&&e.files.length===0&&l.length===0)&&(b.size>0||Ne.length>0||X)){Je("cache_only_apply_skipped_empty_backend_cache",{rootPath:f,currentFiles:b.size,currentRepositories:Ne.length});return}const z=l.some(U=>U.deferred);if(z&&!n.replaceWorkspace){const U=new Set(l.map(Re=>Re.root)),oe=new Set(l.filter(Re=>!Re.deferred||Re.root===f).map(Re=>Re.root));u=[...Array.from(b.values()).filter(Re=>{const Ut=at(Re,f)??"";return U.has(Ut)&&!oe.has(Ut)}),...e.files]}const G=Xd(b.values(),f),ce=Xd(e.files,f),we=l.some(U=>U.root!==f);if(!!(n.background&&!z&&!n.replaceWorkspace&&b.size>0&&(e.files.length===0&&!e.error||G>0&&ce===0&&!we))){Je("background_apply_skipped_degraded_bundle",{rootPath:f,currentFiles:b.size,nextFiles:e.files.length,currentNestedCount:G,nextNestedCount:ce,nextRepositories:l.map(U=>({root:U.root,relativeRoot:U.relativeRoot,files:U.files.length})),cached:e.cached,stale:e.stale,error:e.error});return}if(n.replaceRepoRoot){const U=Bu(b.values(),Ne,e,n.replaceRepoRoot,f);u=U.files,l=U.repositories,p=U.repoFilters}if($a($u(u)),dr(U=>{if(!z||n.replaceWorkspace)return l;const oe=new Map(U.map(Ce=>[Ce.root,Ce]));return l.map(Ce=>{const Re=oe.get(Ce.root);return!Ce.deferred||!Re?Ce:{...Ce,available:Re.available,files:Re.files,context:Re.context,deferred:Re.deferred,untrackedDeferred:Re.untrackedDeferred,error:Re.error}})}),Ar(p),Qo.current=f,n.syncActiveRepo!==!1){const{contextKey:U,activeGitRepos:oe}=_.getState(),Ce=U?oe[U]??null:null,Re=n.activeRepoRoot!==void 0?n.activeRepoRoot:Ce,Ut=Sg({...e,repositories:l,repoFilters:p},Re);At(Ut)}typeof e.cacheUpdatedAt=="number"&&jl(e.cacheUpdatedAt),kt(U=>{if(n.replaceRepoRoot&&n.replaceRepoRoot!==f)return U;if(!e.context)return null;const oe=U?.root??f;return!U?.available||oe!==(e.context.root??f)?e.context:{...U,...e.context}}),n.reloadDiff&&Yr(U=>U+1);const D=_.getState().selectedFilePath;if(D&&!D.startsWith("/")&&!u.some(U=>U.path===D||U.absolutePath===D)&&Ke(null),ya(U=>{const oe=new Set(u.map(Re=>at(Re,f)).filter(Boolean)),Ce=new Set;for(const Re of U)oe.has(Re)&&Ce.add(Re);return Oi(Di,Ce),Ce}),n.loadDeferred!==!1){const U=l.filter(oe=>oe.untrackedDeferred&&oe.root).map(oe=>oe.root);for(const oe of U)Jl(oe)}n.loadAudit!==!1&&Sr()},[xe,Sr,Jl,f,Ke,At,$a]);s.useEffect(()=>{Fa(),Yo.current=null,Xo.current=f;const e=[],n=[];vt.current+=1,Tn.current+=1,Ua.current+=1,Or.current?.abort(),wt(la(nn.current?.cwd??f??void 0)),nn.current=null,Or.current=null,sn.current?.abort(),wt("right-sidebar-git-details"),sn.current=null;for(const x of qt.current.values())x.abort();for(const x of qt.current.keys())wt(`right-sidebar-git-untracked:${x}`);qt.current.clear(),Gt.current.clear(),ls.current+=1,cs.current?.abort(),cs.current=null,ds.current+=1,an.current?.abort(),an.current=null,yr.current+=1,Ht.current?.abort(),wt("right-sidebar-recent-commits"),Ht.current=null,et([]),Yn([]),bn(!1),tr(null),$s([]),Jn(!1),xn([]),Lr([]),bt(!1),Mt(null),br(!1),Lt(null),$r(null),Fr(null),Zr(null),M(!1),me(""),We([]),nr(!1),Dr(!1),en(null),vr(!1),zt(null),wn(null),kn(null),gl(!1),Et(Bi,!1),Po(!1);const l=f?Wd()[f]:null,p=l?.previewEntries??[],u=l?.selectedPreviewKey??null,b=u?p.find(x=>x.key===u)??null:null;++xt.current,br(!1),Eo(l?.selectedRepoRoots??[]),ja(l?.repoTargetBranches??{}),Ra(l?.repoBaseBranches??{}),Qr(p),Ir(l?.previewScrollTops??{}),b&&l?.previewDetailOpen&&(b.diff.hunks?.length??0)>0&&(Mt(b.diff),wn(b.key),kn(l.selectedPreviewFileKey??(b.diff.hunks?.[0]?`${b.diff.hunks[0].filePath}\0${b.diff.hunks[0].hunkHeader}\0${b.diff.hunks[0].hunkIndex}`:null)),bt(!0)),Ao(l?.repoIncludeUncommitted??Object.fromEntries(Object.keys(l?.repoTargetBranches??{}).map(x=>[x,l?.includeUncommitted??!0]))),Yo.current=f,Pa(!1),kr.current.clear(),An.current.clear(),Os(null),Hs(null),Sn(null),Wt(null),jl(null),dr(e),Ar(n),kt(null),Jo.current=null,Qo.current=null,Gs.current.clear()},[Fa,f]);const yt=s.useCallback(async(e=f??void 0,n={})=>{if(!e)return null;const l=f,p=vt.current;if(await _p(()=>Promise.all([_.getState().hydrateNestedGitScanRoots(),_.getState().hydrateActiveGitRepos()]).then(()=>{})),vt.current!==p||!xe(l))return null;const u=e===f&&oa(f),b=n.includeNested??u,x=n.refresh??n.reloadDiff??!1,z=n.cacheOnly??!1,G=n.background??!1,ce=b&&(n.discoverOnly??!1),we=n.rescan;x&&kr.current.clear();const Xe=nn.current;if(Xe&&Xe.cwd===e&&Xe.includeNested===b&&Xe.refresh===x&&Xe.cacheOnly===z&&Xe.discoverOnly===ce&&Xe.rescan===we)return Je("reuse_pending",{cwd:e,includeNested:b,refresh:x,cacheOnly:z,discoverOnly:ce}),Xe.promise;const D=vt.current+1;vt.current=D;const U=`right-sidebar:${Vl}:${D}`;Or.current?.abort();const oe=la(e);wt(oe);const Ce=new AbortController;Or.current=Ce;let Re=null;G||_l(U),Go(null),Je("start",{requestId:D,cwd:e,rootPath:f,requestSlotId:oe,includeNested:b,refresh:x,cacheOnly:z,background:G,existingChanges:Pe.size,lastLoadedAt:is}),!G&&typeof window<"u"&&(Re=window.setTimeout(()=>{vt.current===D&&Ol(U,!0)},sg));const Ut=(async()=>{const Le=await Ai(e,Ce.signal,{includeNested:b,refresh:x,cacheOnly:z,discoverOnly:ce,rescan:we,action:we===!0?"rescan_git_repositories":x?"manual_git_refresh":"open_sidebar_git_refresh",requestSlotId:oe,requestTimeoutMs:x?null:void 0});if(Ug(Le)){if(Je("cancelled_result_ignored",{requestId:D,activeRequestId:vt.current,cwd:e,error:Le.error??Le.context?.error}),Ce.signal.aborted)return null;throw new Error(Le.error??Le.context?.error??"Failed to load Git changes")}return vt.current!==D||!xe(l)?(Je("stale_result",{requestId:D,activeRequestId:vt.current,cwd:e,expectedRootPath:l,currentRootPath:_.getState().rootPath,files:Le.files.length,repositories:Le.repositories?.length??0}),null):(fs(Le,{reloadDiff:n.reloadDiff,syncActiveRepo:n.replaceWorkspace?!0:b,background:G,cacheOnly:z,replaceRepoRoot:n.replaceRepoRoot,replaceWorkspace:n.replaceWorkspace}),Le)})();nn.current={cwd:e,includeNested:b,refresh:x,cacheOnly:z,discoverOnly:ce,rescan:we,promise:Ut};try{const Le=await Ut;return vt.current===D&&Le&&xe(l)?Hl({cached:Le.cached,stale:Le.stale,cacheAgeMs:Le.cacheAgeMs,nestedDeferred:!b||Le.nestedDeferred,untrackedDeferred:Le.untrackedDeferred}):vt.current===D&&xe(l)&&Wo(U),Le}catch(Le){return vt.current!==D||!xe(l)||Ce.signal.aborted?(Je("aborted",{requestId:D,activeRequestId:vt.current,cwd:e,expectedRootPath:l,currentRootPath:_.getState().rootPath,message:Le instanceof Error?Le.message:String(Le)}),null):(Je("error",{requestId:D,cwd:e,includeNested:b,refresh:x,background:G,message:Le instanceof Error?Le.message:String(Le)}),G||(Yl.current=we===!0,kt(null),Go(Le instanceof Error?Le.message:"Failed to load Git changes")),null)}finally{Re!==null&&window.clearTimeout(Re),Or.current===Ce&&(Or.current=null),nn.current?.promise===Ut&&(nn.current=null),!G&&vt.current===D&&xe(l)&&Wo(U)}},[fs,_l,Pe.size,Wo,Vl,is,xe,Hl,f,Go,Ol]),Ha=s.useCallback(async()=>{f&&await yt(f,{reloadDiff:!0,refresh:!0,rescan:!1})},[yt,f]),ei=s.useCallback(async()=>{const e=f;if(e){cn(e);try{await yt(e,{includeNested:!0,refresh:!0,discoverOnly:!0,rescan:!0})}finally{cn(n=>n===e?null:n)}}},[yt,f]),ti=s.useCallback(()=>Yl.current?ei():Ha(),[Ha,ei]),ri=s.useCallback(async(e=f??void 0)=>{if(!e)return null;const n=f,l=Tn.current+1;Tn.current=l,sn.current?.abort(),wt("right-sidebar-git-details");const p=new AbortController;sn.current=p,Pa(!0);try{const u=await cd(e,p.signal,"load_git_details","right-sidebar-git-details");return Tn.current!==l||!xe(n)?null:(dr(b=>b.map(x=>x.root===u.root?{...x,available:u.available,context:u,error:u.error}:x)),kt(b=>b?.root&&u.root&&b.root!==u.root?b:!b?.available||!u.available?u:{...b,...u}),u)}catch(u){return Er(u)||!xe(n)||Tn.current===l&&Wt(u instanceof Error?u.message:"Failed to load Git details"),null}finally{sn.current===p&&(sn.current=null),Tn.current===l&&xe(n)&&Pa(!1)}},[xe,f]);s.useEffect(()=>{if(!r){vt.current+=1,Fa(),Jo.current=null,Tn.current+=1,Ua.current+=1,Or.current?.abort(),wt(la(nn.current?.cwd??f??void 0)),nn.current=null,Or.current=null,sn.current?.abort(),wt("right-sidebar-git-details"),sn.current=null;for(const e of qt.current.values())e.abort();for(const e of qt.current.keys())wt(`right-sidebar-git-untracked:${e}`);if(qt.current.clear(),Gt.current.clear(),ds.current+=1,an.current?.abort(),an.current=null,yr.current+=1,Ht.current?.abort(),wt("right-sidebar-recent-commits"),Ht.current=null,Pa(!1),br(!1),Fr(null),nr(!1),Dr(!1),d)return;Lt(null),$r(null),Fr(null),Zr(null),M(!1),me(""),We([]),nr(!1),Dr(!1),en(null),vr(!1),T(""),ne(!1),ft(null),$o(!1),V&&vl(!1)}},[V,r,d,Fa,ne]),s.useEffect(()=>{if(!O||!r)return;const e=setTimeout(()=>{document.querySelector("input[data-right-search]")?.focus()},50);return()=>clearTimeout(e)},[O,r]),s.useEffect(()=>{V||Ur(!1)},[V]);const Zl=s.useCallback(e=>{Lo(e);const n=Zo.current;n&&(n.update(),n.slideTo(e,0),window.requestAnimationFrame(()=>{n.update(),n.slideTo(e,0)}))},[]);s.useEffect(()=>{if(V)if(Ur(y),y&&ze){_r(1);const e=Hr.current;e&&(e.update(),e.activeIndex!==1&&(qs.current=1,e.slideTo(1,0)))}else{_r(0);const e=Hr.current;e&&e.activeIndex!==0&&(qs.current=0,e.slideTo(0,0)),ft(null)}},[V,y,f,ze]),s.useEffect(()=>{if(g!==void 0&&!y){_r(0);const e=Hr.current;e&&e.activeIndex!==0&&(qs.current=0,e.slideTo(0,0)),Ur(!1),ft(null)}},[g,y]),s.useEffect(()=>{v!==void 0&&Gr(null)},[v]),s.useEffect(()=>{!V&&y&&w?.()},[V,w,y]),s.useEffect(()=>{Oo(e=>ol(e,i))},[i]);const ec=cl(()=>{us.current&&(us.current=null,js(Ps))}),ef=s.useCallback(e=>{V||(e.preventDefault(),ec(e),us.current={startX:e.clientX,startWidth:_o,pointerId:e.pointerId},e.currentTarget.setPointerCapture(e.pointerId))},[_o,V,ec]),tf=s.useCallback(e=>{const n=us.current;if(!n||n.pointerId!==e.pointerId)return;const l=ol(n.startWidth+e.clientX-n.startX,i);Oo(l),ha(Ps,l,ng)},[i]),tc=s.useCallback(e=>{const n=us.current;if(!(!n||n.pointerId!==e.pointerId)){us.current=null,js(Ps);try{e.currentTarget.releasePointerCapture(e.pointerId)}catch{}}},[]),hs=!!(f&&is!==null&&Zd(X)),ni=!!(f&&!Pn&&Pe.size===0&&is===null),Ct=(()=>{let e=Ho;return e==="android"&&!rn&&(e="files"),(e==="architecture"||e==="computer")&&!or[e]&&(e="files"),hs&&(e==="git"||e==="diff")&&(e="files"),e})(),Ye=Ct==="git",lr=Ct==="files",Nt=Ct==="diff",ps=Ct==="android",ms=Ct==="computer",Ln=Ct==="architecture",[rf,nf]=s.useState(!1);s.useEffect(()=>{r&&ms&&nf(!0)},[r,ms]);const[sf,af]=s.useState(!1);s.useEffect(()=>{r&&Ln&&af(!0)},[r,Ln]);const si=s.useRef(null),gs=s.useCallback((e,n)=>{const l=_.getState().rightTab;if(l===e)return;const p=performance.now(),u=p-n.timeStamp;si.current={from:l,to:e,startedAt:p,inputDelayMs:u>=0&&u<6e4?Math.round(u):null},It(e)},[It]);s.useEffect(()=>{const e=si.current;if(!e||e.to!==Ct)return;si.current=null;const n=Math.round(performance.now()-e.startedAt);let l=window.requestAnimationFrame(()=>{l=window.requestAnimationFrame(()=>{da("tab_switch_presented",{from:e.from,to:e.to,inputDelayMs:e.inputDelayMs,commitMs:n,frameMs:Math.round(performance.now()-e.startedAt)})})});return()=>window.cancelAnimationFrame(l)},[Ct]);const of=dp(e=>e.overlay==="sidebar")&&ps;s.useEffect(()=>{if(!V){Ca(!0);return}if(!r){const n=window.setTimeout(()=>{Ca(!1)},ig);return()=>window.clearTimeout(n)}Ca(!1);const e=window.setTimeout(()=>{Ca(!0)},og);return()=>window.clearTimeout(e)},[V,r]),s.useEffect(()=>{if(!V||!Nt)return;const e=Zo.current;if(!e)return;const n=window.requestAnimationFrame(()=>{e.update()});return()=>window.cancelAnimationFrame(n)},[Nt,V]),s.useEffect(()=>{if(!hs||!f||wr)return;const e=window.setTimeout(()=>{yt(f,{background:!0})},3e3);return()=>window.clearTimeout(e)},[hs,f,wr,yt]);const lf=s.useCallback(e=>{yt(e,{discoverOnly:!0})},[yt]);Op({active:r&&(Ye||Nt),rootPath:f,loading:wr,delay:Ye&&!V?0:_i,lastStartedRoot:Jo,load:lf}),s.useEffect(()=>{!r||!Ye||(!V||Io)&&$o(!0)},[Ye,V,r,Io]),s.useEffect(()=>{if(!r||Ye)return;const e=window.setTimeout(()=>{$o(!0)},_i);return()=>window.clearTimeout(e)},[Ye,r]),s.useEffect(()=>{lr&&Hu(!0)},[lr]),s.useEffect(()=>{Nt&&vl(!0)},[Nt]),s.useEffect(()=>{!r||!ps||(a&&Na&&Na.sessionId!==a&&(Ei.getState().setDock(Mi,null),ua({androidPanel:{docked:null}}).catch(()=>{})),yl(!0))},[ps,r,a,Na]),s.useEffect(()=>{if(r&&ps||!Fo)return;const e=window.setTimeout(()=>yl(!1),ag);return()=>window.clearTimeout(e)},[r,ps,Fo]),s.useEffect(()=>{let e=!1;return ru().then(n=>{e||(_s.current.has("android")||wl(n.androidPanel?.enabled===!0),kl(l=>({architecture:_s.current.has("architecture")?l.architecture:n.rightSidebarTabs?.architecture===!0,computer:_s.current.has("computer")?l.computer:n.rightSidebarTabs?.computer===!0})))}).catch(()=>{}),()=>{e=!0}},[]);const rc=s.useCallback(e=>{_s.current.add("android"),wl(e),e?It("android"):_.getState().rightTab==="android"&&It("files"),ua({androidPanel:{enabled:e}}).catch(()=>{})},[It]),cf=s.useCallback((e,n)=>{_s.current.add(e),kl(l=>({...l,[e]:n})),n?It(e):_.getState().rightTab===e&&It("files"),ua({rightSidebarTabs:{[e]:n}}).catch(()=>{})},[It]),nc=s.useCallback(e=>{Q&&Tg(Q,e.currentTarget.scrollTop)},[Q]);s.useEffect(()=>()=>{Or.current?.abort(),js(fl),js(hl),js(Ps),js(Ui)},[]),s.useEffect(()=>{if(!Q||!Kl)return;const e=Lu()[Q]?.top;if(typeof e!="number")return;let n=window.requestAnimationFrame(()=>{En.current&&(En.current.scrollTop=e),n=window.requestAnimationFrame(()=>{En.current&&(En.current.scrollTop=e)})});return()=>window.cancelAnimationFrame(n)},[Q,Kl]),s.useEffect(()=>{if(!r)return;const e=new AbortController;return Ch(e.signal).then(n=>El(!!n.available)).catch(()=>El(!1)),()=>e.abort()},[r]);const In=s.useCallback(e=>{if(C(null),Ke(e),ft(null),V){Ur(!0),_r(1),Hr.current?.slideTo(1),k?.();return}},[V,k,Ke]),sc=s.useCallback(e=>{!r||!lr||Hp(e,En.current,ze,n=>{mr(null),In(n)})},[lr,In,r,ze]),ai=s.useCallback((e,n)=>{if(C(null),Ke(e),mr(n),V){Ur(!0),_r(1),Hr.current?.slideTo(1),k?.();return}},[V,k,Ke]),Ft=bm(e=>zs(e,!1)),za=Ft.busy,Ks=s.useCallback(async(e,n)=>{const l=n||as||f;!l||!e.length||await Ft.start(l,e)},[as,f,Ft.start]),ac=s.useCallback(async e=>{try{await Nh(e)}catch(n){Wt(n instanceof Error?n.message:o("fileTree.openInFileBrowserFailed")),window.setTimeout(()=>Wt(null),4e3)}},[o]),Wa=s.useCallback(e=>{e.preventDefault(),e.stopPropagation(),e.dataTransfer.types.includes("Files")&&Bo(!0)},[]),oc=s.useCallback(e=>{e.preventDefault(),e.stopPropagation(),Bo(!1)},[]),ic=s.useCallback(e=>{e.preventDefault(),e.stopPropagation(),Bo(!1);const n=e.dataTransfer.files;n.length>0&&Ks(Array.from(n))},[Ks]),oi=s.useCallback(e=>{Oe(e),window.setTimeout(()=>Oe(n=>n===e?null:n),1400)},[]),jr=s.useCallback(e=>{ur(e),window.setTimeout(()=>ur(n=>n===e?null:n),1400)},[]);s.useEffect(()=>{Et(Fd,qe)},[qe]),s.useEffect(()=>{Et(Dd,fr)},[fr]),s.useEffect(()=>{Et(Bd,ot)},[ot]),s.useEffect(()=>{ha(Ui,it,Qm)},[it]),s.useEffect(()=>(Ll().catch(()=>{}),dd(e=>{e.type==="pinned-explorer-roots"&&Il(e.pinnedExplorerRoots)})),[Ll,Il]);const lc=s.useRef(crypto.randomUUID?.()??`draft-${Math.random().toString(36).slice(2)}`),Ga=s.useRef(null),$n=s.useRef(null),[cc,ii]=s.useState(!1);s.useEffect(()=>{if(!r)return;ii(!1);let e=!1;Ph().then(l=>{e||(Ga.current=l.text,hr(p=>l.text&&l.text!==p?l.text:p),ii(!0))}).catch(()=>{e||ii(!0)});const n=dd(l=>{l.type==="context-draft"&&l.origin!==lc.current&&(Ga.current=l.text,hr(l.text))});return()=>{e=!0,n(),$n.current!==null&&(window.clearTimeout($n.current),$n.current=null)}},[r]),s.useEffect(()=>{if(!cc||Ga.current===it)return;$n.current!==null&&window.clearTimeout($n.current);const e=it;$n.current=window.setTimeout(()=>{$n.current=null,Eh(e,lc.current).then(()=>{Ga.current=e}).catch(()=>{})},500)},[it,cc]);const bs=s.useCallback(async(e,n,l,p,u)=>{if(!e)return!1;if(Zt(!1),p&&!Ti(p)())return Zt(!0),!1;if(Ah(l?e+l:e))return oi(n),!0;const b=a??Cr.getState().activeSessionId;if(u&&b&&Th(b)==="chat"){if(!await Ki(l?e+l:e,b,()=>vs.current&&b===Cr.getState().activeSessionId,p,{reference:u}))return Zt(!0),!1}else if(qe)hr(x=>pm(x,e)+(l??"")),window.matchMedia("(pointer: coarse)").matches||(Ze(!1),Ls(x=>x+1));else{const x=a??Cr.getState().activeSessionId;if(!await Ki(l?e+l:e,x,()=>vs.current&&x===Cr.getState().activeSessionId,p,{reference:u}))return Zt(!0),!1}return oi(n),!0},[qe,oi,a]),qa=s.useCallback(e=>{const n=on(e,f);return Mh(n,f)},[f]),li=ou(jr),Kt=s.useCallback((e,n,l,p)=>{const u=on(e,f),b=ud(u,f),x={kind:p??(l?.closest("[data-file-tree-type]")?.dataset.fileTreeType==="directory"?"directory":"file"),path:u,text:b};return bs(b,n??`path:${u}`,void 0,l,x)},[f,bs]),xs=s.useRef({sessionId:a,contextDraftEnabled:qe,isOpen:r});xs.current={sessionId:a,contextDraftEnabled:qe,isOpen:r};const df=s.useCallback(async(e,n)=>{const l=a??Cr.getState().activeSessionId,p=()=>vs.current&&xs.current.isOpen&&(xs.current.sessionId??Cr.getState().activeSessionId)===l&&Cr.getState().activeSessionId===l&&xs.current.contextDraftEnabled===qe;await Ft.start("/tmp",[e],b=>Kt(b,`path:${b}`,n),p)&&p()&&V&&!qe&&c()},[qe,Kt,V,c,a,Ft.start]),Vs=s.useRef(!0),Ka=s.useRef(a);Ka.current=a,s.useEffect(()=>(Vs.current=!0,()=>{Vs.current=!1}),[]);const uf=s.useCallback(e=>{up.getState().enqueue(e,a??null,f||"/",async(n,l)=>{if(xs.current.contextDraftEnabled&&Vs.current&&Ka.current===a){if(!await ci.current(ud(n,null),`path:${n}`,l))throw new Error(o("rightSidebar.uploadReferenceRejected"))}else return Rd(n,a,l)})},[a,f,qe,Kt,o]),ff=s.useCallback(async(e,n)=>{const l=Ti(n),u=(await qi("/tmp",[e])).files[0]?.path;if(!u)throw new Error("截图上传未返回文件路径");if(!l()||!Vs.current||Ka.current!==a||xs.current.contextDraftEnabled!==qe)throw new Error(o("rightSidebar.uploadReferenceRejected"));if(qe&&Vs.current&&Ka.current===a){if(!await Kt(u,void 0,n))throw new Error(o("rightSidebar.uploadReferenceRejected"))}else await Rd(u,a,n)},[qe,Kt,a,o]),zr=s.useCallback((e,n,l,p)=>{if(!e)return Promise.resolve(!1);const u=e.includes(`
|
|
1712
|
-
`)?`
|
|
1713
|
-
`:void 0;return bs(e.endsWith(`
|
|
1714
|
-
`)||e.endsWith(" ")?e:`${e} `,n,u,l,p)},[bs]),ci=s.useRef(zr);ci.current=zr;const vs=s.useRef(!0);s.useEffect(()=>(vs.current=!0,()=>{vs.current=!1}),[]);const di=s.useRef(new Set),Va=s.useCallback((e,n,l,p)=>{if(di.current.has(n))return!1;const u=Ti(p);if(!u())return!1;const b=a??Cr.getState().activeSessionId;return di.current.add(n),Kp(e,n,l,{insert:(x,z)=>zr(x,z,p,l?.reference),upload:async(x,z)=>(await qi("/tmp",[x],z)).files[0]?.path,isCurrent:()=>u()&&vs.current&&ci.current===zr&&b===Cr.getState().activeSessionId}).catch(()=>(Zt(!0),!1)).finally(()=>di.current.delete(n))},[zr,a]),Wr=s.useCallback((e,n,l,p)=>n?bs(n.endsWith(" ")?n:`${n} `,l??`context:${e}`,`
|
|
1715
|
-
`,p):Promise.resolve(!1),[bs]),dc=vm({text:it,sessionId:a??Cr.getState().activeSessionId,active:r&&qe,onAccepted:()=>{Mr(!1),hr(""),ot&&Ze(!0)},onRejected:()=>{Mr(!0),Ze(!1)}}),Ge=s.useMemo(()=>f?ut(f):o("rightSidebar.workspace"),[f,o]),hf=s.useMemo(()=>ut(Q)||Ge,[Q,Ge]),Ya=s.useMemo(()=>xo(Q),[Q]),Xa=s.useMemo(()=>f?Ml[f]??[]:[],[Ml,f]),Fn=s.useMemo(()=>new Set(Xa.map(e=>e.path)),[Xa]),Ys=!!(Q&&Fn.has(Q)),ui=!!(f&&Q&&Q!==f),pf=!!(f&&as&&as!==f),Dt=Q?`path:${Q}`:null,uc="context:change-audit",mf=s.useCallback(()=>{Ya&&$t(Ya)},[Ya,$t]),fc=s.useCallback(()=>{$l()},[$l]),gf=s.useCallback(()=>{Q&&(zs(Q,!0),Bl())},[Bl,Q,zs]),bf=s.useCallback(()=>{!Q||!ui||(Ys?Nn(Q):os(Q,"directory"))},[ui,Q,Ys,os,Nn]),hc=s.useCallback(e=>{$t(e),T("")},[$t]),pc=s.useCallback(e=>{Q&&(de(Xm(Q,e)),ne(!0),window.requestAnimationFrame(()=>{document.querySelector("[data-right-search]")?.focus()}))},[Q,ne]),mc=s.useCallback(e=>{!f||e===f||(Fn.has(e)?Nn(e):os(e,"directory"))},[os,Fn,f,Nn]),gc=s.useCallback(e=>{!f||!e||(Fn.has(e)?Nn(e):os(e,"file"))},[os,Fn,f,Nn]),bc=_(e=>e.expandedPaths),fi=s.useMemo(()=>{const e=new Set;if(lr&&Q){e.add(Q);const n=`${Q.replace(/\/+$/,"")}/`;for(const l of bc)l.startsWith(n)&&e.add(l)}if(lr&&f&&ze){const n=ze.startsWith("/")?ze:`${f}/${ze}`,l=xo(n);l&&e.add(l)}return om(e).join(`
|
|
1716
|
-
`)},[bc,lr,Q,f,ze]),Dn=s.useRef(new Map);s.useEffect(()=>{const e=fi?fi.split(`
|
|
1717
|
-
`):[];if(!r||e.length===0){ns(null);return}const n=new AbortController;let l=!1,p=0,u=0;ns(null);const b=async()=>{let x=0;for(;!l&&!n.signal.aborted;){let z=null;try{ns(null),await zh(e,ce=>{const{applicableEvents:we,unavailableReason:Xe}=lm(ce);we.length>0&&Fl(we);const D=new Set(we.filter(U=>U.type==="rescan-required").map(U=>U.path));if(Da)for(const U of we){if(U.type==="created"||U.type==="updated"){const oe=xo(U.path);oe&&D.add(oe)}U.path.endsWith("/.gitignore")&&Q&&zs(Q,!0)}for(const U of D){const oe={path:U},Ce=_.getState();if(!Ce.directoryCache.has(oe.path))continue;Dn.current.get(oe.path)?.abort();const Ut=new AbortController;Dn.current.set(oe.path,Ut);const Le=`file-watch-rescan:${oe.path}`;wt(Le),Wh(oe.path,Ut.signal,Ce.showHiddenFiles,"watch_rescan",Le,Ce.fileSortModes[oe.path]??"name",Q??void 0).then(na=>{Dn.current.get(oe.path)===Ut&&Dl(oe.path,na.entries)}).catch(na=>{Er(na)||ns(na instanceof Error?na.message:"File refresh unavailable")}).finally(()=>{Dn.current.get(oe.path)===Ut&&Dn.current.delete(oe.path)})}Xe&&ns(Xe)},n.signal),z=new Error("File watch stream ended")}catch(ce){z=ce}if(l||n.signal.aborted||Er(z))return;ns(z instanceof Error?z.message:"File watching unavailable");const G=Ud[Math.min(x,Ud.length-1)];x+=1,await new Promise(ce=>{u=window.setTimeout(ce,G)})}};return p=window.setTimeout(()=>{l||b()},_i),()=>{l=!0,window.clearTimeout(p),window.clearTimeout(u),n.abort();for(const x of Dn.current.values())x.abort();Dn.current.clear()}},[Fl,r,Dl,fi,Q,Da,zs]),s.useEffect(()=>{if(!f||Yo.current!==f)return;if(Xo.current===f){Xo.current=null;return}const e=Wd();ha(Nu,{...e,[f]:{selectedRepoRoots:Sa,repoTargetBranches:sr,repoBaseBranches:Rt,previewEntries:gr,selectedPreviewKey:ue&>?De:null,selectedPreviewFileKey:ue&>?To:null,previewDetailOpen:!!(ue&>),previewScrollTops:Qn,previewMobileSlideIndex:1,repoIncludeUncommitted:yn,updatedAt:Date.now()}},Jm)},[gt,yn,ue,gr,Qn,Rt,sr,Sa,f,To,De]);const tt=s.useMemo(()=>Qd(Pe.values()),[Pe]),Ve=s.useMemo(()=>{const e=new Map;for(const n of Ne)e.set(n.root,n);return e},[Ne]),Xs=s.useMemo(()=>{const e=new Map;for(const n of Ne)n.deferred||e.set(n.root,n.files.length);return e},[Ne]),Ja=s.useCallback(e=>{if(e){if(!e.deferred){Gs.current.delete(e.root);return}Xs.has(e.root)||Gs.current.has(e.root)||(Gs.current.add(e.root),yt(e.root,{includeNested:!1,background:!0,replaceRepoRoot:e.root}).then(n=>{n||Gs.current.delete(e.root)}))}},[yt,Xs]),cr=s.useMemo(()=>pe?_e.find(e=>e.root===pe)??null:null,[pe,_e]),Vt=s.useMemo(()=>ze?Array.from(Pe.values()).find(e=>e.path===ze||e.absolutePath===ze)??null:null,[Pe,ze]),Bt=s.useMemo(()=>{const e=new Map;for(const n of Ne)n.available&&n.context?.available&&e.set(n.root,n);return e.size===0&&X?.available&&X.root&&e.set(X.root,{id:X.root,root:X.root,relativeRoot:".",name:Ge,depth:0,nested:!1,available:!0,files:Array.from(Pe.values()).filter(n=>at(n,f)===X.root),context:X}),Array.from(e.values()).sort((n,l)=>n.root===f?-1:l.root===f?1:(n.relativeRoot||n.name).localeCompare(l.relativeRoot||l.name)).map(n=>{const l=n.relativeRoot==="."?Ge:n.relativeRoot||n.name||ut(n.root),p=Jd(n.files),u=n.files.length;return{value:n.root,label:l,meta:[n.context?.branch,u>0?o("rightSidebar.repoChangedCount",{count:u}):null,p>0?o("rightSidebar.repoStagedCount",{count:p}):null].filter(Boolean).join(" · ")}})},[Pe,X,Ne,Ge,f,o]),fe=s.useMemo(()=>pe&&Bt.some(e=>e.value===pe)?pe:Vt?.repoRoot&&Bt.some(e=>e.value===Vt.repoRoot)?Vt.repoRoot:Bt.length===1||Bt.length>1?Bt[0].value:null,[pe,Bt,Vt?.repoRoot]),xc=fe?Ve.get(fe)??null:null,ee=xc?.context?.available?xc.context:fe===X?.root?X:null,Ue=Bt.length>0&&!fe,vc=s.useMemo(()=>Ue?[]:fe?Array.from(Pe.values()).filter(e=>at(e,f)===fe):Array.from(Pe.values()),[fe,Pe,Ue,f]),Bn=s.useMemo(()=>Qd(vc),[vc]),hi=!!(ee?.available&&ee.root&&fe&&ee.root===fe),xf=fe?Bt.find(e=>e.value===fe)?.label??ut(fe):o("rightSidebar.gitRepositoryPlaceholder"),yc=hi?ee?.branch??"HEAD":Ue?o("rightSidebar.selectRepositoryForGitActions"):jn?o("rightSidebar.gitActionRunning"):"HEAD",Un=!!(ee?.available&&ee.root===fe&&ee.status);s.useEffect(()=>{W.current={count:Te.length,loading:lt,loadingMore:xr,hasMore:tn}},[Te.length,tn,lt,xr]),s.useEffect(()=>{yr.current+=1,Ht.current?.abort(),wt("right-sidebar-recent-commits"),Ht.current=null,me(""),We([]),nr(!1),Dr(!1),en(null),vr(!1)},[fe]);const Js=s.useCallback(async(e={})=>{if(!f||!fe||Ue)return;const n=e.reset??!1,l=W.current,p=n?0:l.count;if(!n&&(l.loading||l.loadingMore||!l.hasMore))return;const u=yr.current+1;yr.current=u,Ht.current?.abort(),wt("right-sidebar-recent-commits");const b=new AbortController;Ht.current=b,n?nr(!0):Dr(!0),en(null);try{const x=await Lh({cwd:f,repoRoot:fe,limit:lg,skip:p,query:He.trim(),requestSlotId:"right-sidebar-recent-commits"},b.signal);if(yr.current!==u)return;if(!x.available){en(x.error??"Recent commits are unavailable"),n&&We([]),vr(!1);return}Be(z=>n?x.commitSyncStatus??{}:{...z,...x.commitSyncStatus}),We(z=>n?x.commits:[...z,...x.commits]),vr(x.hasMore)}catch(x){if(yr.current!==u||Er(x))return;en(x instanceof Error?x.message:"Failed to load recent commits"),n&&We([]),vr(!1)}finally{Ht.current===b&&(Ht.current=null),yr.current===u&&(nr(!1),Dr(!1))}},[fe,He,Ue,f]);s.useEffect(()=>{R&&Js({reset:!0})},[He,Js,R,ee?.ahead,ee?.behind,ee?.upstream]);const vf=s.useCallback(e=>{const n=e.currentTarget;n.scrollTop+n.clientHeight<n.scrollHeight-48||Js({reset:!1})},[Js]);s.useEffect(()=>{!fe||!X?.available||!Ye||!ar||Un||jn||Ue||ri(fe)},[fe,X?.available,Un,jn,Ye,ar,ri,Ue]);const wc=r&&(Nt||Ye);s.useEffect(()=>{!wc||!f||Sr()},[wc,Sr,f]),s.useEffect(()=>{!r||!Ye||!ar||!Br||!f||Oa(null)},[Br,Ye,ar,r,Oa,f]);const yf=s.useMemo(()=>{if(!pe)return 0;const e=_e.findIndex(n=>n.root===pe);return e>=0?e+1:0},[pe,_e]),kc=s.useCallback(e=>{if(!e)return null;const n=Array.from(Pe.values()).filter(l=>at(l,f)===e).sort((l,p)=>l.path.localeCompare(p.path))[0];return n?Pr(n):null},[Pe,f]),_n=_e.length>1,Qa=s.useMemo(()=>[{root:null,label:o("rightSidebar.allRepositories"),count:Pe.size,branch:null,deferred:!1},..._e.map(e=>({root:e.root,label:e.label,count:e.deferred?Xs.get(e.root)??0:e.count,branch:e.branch??null,deferred:!!e.deferred&&!Xs.has(e.root)}))],[Pe.size,_e,Xs,o]),ys=Qa[yf]??Qa[0],Za=!!pe,Sc=s.useMemo(()=>Au(_e,Ne),[_e,Ne]);s.useEffect(()=>{Qo.current===f&&pe&&!Sc.has(pe)&&At(null),$s(e=>e.filter(n=>_e.some(l=>l.root===n)))},[pe,_e,Sc,f,At]),s.useEffect(()=>{pe&&Ja(Ve.get(pe))},[pe,Ja,Ve]);const wf=s.useMemo(()=>{const e=new Set;ee?.branch&&e.add(ee.branch);for(const n of ee?.branches??[])e.add(n);return Array.from(e).map(n=>({value:n,label:n,meta:n===ee?.branch?o("rightSidebar.pushCurrentBranchBadge"):void 0}))},[ee?.branch,ee?.branches,o]),jc=s.useMemo(()=>{const e=new Set;ee?.upstreamRemote&&e.add(ee.upstreamRemote);for(const n of ee?.remotes??[])e.add(n);return Array.from(e).map(n=>({value:n,label:n,meta:n===ee?.upstreamRemote?o("rightSidebar.pushUpstreamBadge"):void 0}))},[ee?.remotes,ee?.upstreamRemote,o]),Rc=jc.length>1,kf=s.useMemo(()=>{const e=[],n=new Set,l=(u,b)=>{!u||n.has(u)||(n.add(u),e.push({value:u,label:u,meta:b}))};l(ee?.upstreamBranch,ee?.upstreamBranch?o("rightSidebar.pushUpstreamBadge"):void 0),l(ee?.branch,ee?.branch?o("rightSidebar.pushCurrentBranchBadge"):void 0);for(const u of ee?.branches??[])l(u,u===ee?.branch?o("rightSidebar.pushCurrentBranchBadge"):"local");const p=ee?.upstreamRemote;for(const u of ee?.remoteBranches??[]){const b=u.indexOf("/"),x=b>=0?u.slice(0,b):null,z=b>=0?u.slice(b+1):u;(!p||x===p)&&l(z,"remote")}return e},[ee?.branch,ee?.branches,ee?.remoteBranches,ee?.upstreamBranch,ee?.upstreamRemote,o]),Yt=s.useMemo(()=>Bt.map(e=>{const n=Ve.get(e.value);return{root:e.value,label:e.label,branch:n?.context?.branch??null}}),[Bt,Ve]);s.useEffect(()=>{Yt.length!==0&&(ja(e=>{let n=!1;const l={...e},p=new Set(Yt.map(u=>u.root));for(const u of Object.keys(l))p.has(u)||(delete l[u],n=!0);for(const u of Yt)!l[u.root]&&u.branch&&(l[u.root]=u.branch,n=!0);return n?l:e}),Ra(e=>{let n=!1;const l={...e},p=new Set(Yt.map(u=>u.root));for(const u of Object.keys(l))p.has(u)||(delete l[u],n=!0);for(const u of Yt){const b=Ve.get(u.root)?.context;if(l[u.root]&&Tu(l[u.root],b?.branch)&&(delete l[u.root],n=!0),l[u.root])continue;const x=Kd(b);x&&(l[u.root]=x,n=!0)}return n?l:e}))},[Yt,Ve]);const eo=s.useMemo(()=>{const e=new Set(Yt.map(n=>n.root));return Sa.filter(n=>e.has(n))},[Sa,Yt]),to=eo.length===0,Rr=s.useMemo(()=>to?Yt:Yt.filter(e=>eo.includes(e.root)),[Yt,eo,to]),Qs=s.useMemo(()=>Rr.filter(e=>!!Rt[e.root]?.trim()),[Rt,Rr]),ws=s.useCallback((e,n)=>{const l=Ve.get(e)?.context?.branch;return!!(l&&n&&n.replace(/^refs\/heads\//,"")===l)},[Ve]),Cc=s.useMemo(()=>Rr.filter(e=>!Rt[e.root]?.trim()),[Rt,Rr]),Nc=s.useCallback(async e=>{if(!e||Vo.current.has(e))return;const n=Ve.get(e)?.context;if((n?.branches?.length??0)>0||(n?.remoteBranches?.length??0)>0||n?.upstream)return;const l=f;Vo.current.add(e),xl(p=>new Set(p).add(e));try{const p=await cd(e,void 0,"load_branch_audit_repo_details",`right-sidebar-branch-audit-details:${e}`);if(!p.available||!xe(l))return;dr(u=>u.map(b=>b.root===e?{...b,available:!0,context:{...b.context,...p},error:void 0}:b)),ja(u=>u[e]||!p.branch?u:{...u,[e]:p.branch}),Ra(u=>{if(u[e])return u;const b=Kd(p);return b?{...u,[e]:b}:u})}catch(p){Er(p)||console.warn("[RightSidebar] Failed to load branch audit repo details",e,p)}finally{Vo.current.delete(e),xl(p=>{const u=new Set(p);return u.delete(e),u})}},[Ve,xe,f]);s.useEffect(()=>{if(No)for(const e of Rr)Nc(e.root)},[No,Rr,Nc]),s.useEffect(()=>{!hi||!ee||(Aa(ee.branch||(ee.branches?.[0]??"")),Ta(ee.upstreamRemote||(ee.remotes?.includes("origin")?"origin":ee.remotes?.[0]??"")),Ma(ee.upstreamBranch||ee.branch||(ee.branches?.[0]??"")))},[ee,hi]);const Pc=s.useMemo(()=>{if(Ue)return{text:o("rightSidebar.selectRepositoryForGitActions"),className:"bg-[rgb(var(--warning-rgb)_/_0.12)] text-[color:var(--warning)]"};if(!Un||jn)return{text:o("common.loading"),className:"bg-surface-2 text-muted-foreground"};if(!ee?.upstream)return{text:o("rightSidebar.pushNoUpstream"),className:"bg-surface-2 text-muted-foreground"};const e=ee.ahead??0,n=ee.behind??0;return e>0&&n>0?{text:o("rightSidebar.pushDivergedCount",{ahead:e,behind:n}),className:"bg-destructive/10 text-destructive"}:e>0?{text:o("rightSidebar.pushAheadCount",{count:e}),className:"bg-accent/10 text-accent"}:n>0?{text:o("rightSidebar.pushBehindCount",{count:n}),className:"bg-surface-2 text-[color:var(--diff-hunk-accent)]"}:{text:o("rightSidebar.pushUpToDate"),className:"bg-surface-2 text-muted-foreground"}},[ee?.ahead,ee?.behind,ee?.upstream,Un,jn,Ue,o]),Sf=s.useCallback(e=>{if(e&&!V){const n=e.currentTarget.getBoundingClientRect();Gr({x:Math.min(n.left,window.innerWidth-352),y:Math.min(n.bottom+6,window.innerHeight-64)})}else Gr(null);A?.()},[V,A]),pi=s.useCallback(()=>{Gr(null),N?.()},[N]);function Ec(){if(!_n)return null;const e=ys?.label??o("rightSidebar.allRepositories"),n=ys?.count??Pe.size,l=ut(e)||e;return t.jsxs("button",{type:"button",onClick:Sf,className:`inline-flex h-7 min-w-0 max-w-[13rem] shrink-0 items-center gap-1.5 rounded-md border px-2 text-[11px] font-medium transition active:scale-95 ${S?"border-primary/25 bg-primary/10 text-primary":"border-border/10 bg-surface-2 text-muted-foreground hover:border-border/25 hover:bg-surface-elevated hover:text-foreground"}`,"aria-haspopup":"listbox","aria-expanded":S,title:e,children:[t.jsx(Nr,{size:12,className:"shrink-0"}),t.jsx("span",{className:"min-w-0 truncate",children:l}),t.jsx("span",{className:`shrink-0 rounded px-1.5 py-0.5 text-[10px] ${n>0?"bg-accent/10 text-accent":"bg-surface text-muted-foreground"}`,children:n}),t.jsx(xa,{size:12,className:"shrink-0"})]})}function jf(){if(!S||!_n||typeof document>"u")return null;const e=typeof window>"u"?1024:window.innerWidth,n=typeof window>"u"?768:window.innerHeight,l=Math.max(12,Math.min(dn?.x??e-368,e-352)),p=Math.max(12,Math.min(dn?.y??80,n-420)),u=V?void 0:{left:l,top:p},b=t.jsx("div",{className:`fixed inset-0 z-drawer-backdrop ${V?"bg-[var(--app-backdrop)]":"bg-transparent"}`,onClick:pi,children:t.jsxs("div",{className:V?"fixed inset-x-0 bottom-0 z-drawer-panel max-h-[72vh] overflow-hidden rounded-t-2xl border-t border-border/20 bg-surface-elevated shadow-2xl":"fixed z-drawer-panel w-[21rem] max-w-[calc(100vw-1.5rem)] max-h-[min(26rem,calc(100vh-1.5rem))] overflow-hidden rounded-lg border border-border/20 bg-surface-elevated shadow-xl ring-1 ring-black/5",style:u,onClick:x=>x.stopPropagation(),children:[t.jsxs("div",{className:V?"flex items-center justify-between border-b border-border/15 px-4 py-3":"flex items-center justify-between border-b border-border/12 px-3 py-2",children:[t.jsxs("div",{children:[t.jsx("div",{className:V?"text-sm font-semibold text-foreground":"text-xs font-semibold text-foreground",children:o("rightSidebar.repositories")}),!V&&t.jsxs("div",{className:"mt-1 flex items-center gap-1.5",children:[t.jsx("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-[10px] text-muted-foreground",children:Qa.length}),t.jsx("span",{className:`rounded px-1.5 py-0.5 text-[10px] ${Pe.size>0?"bg-accent/10 text-accent":"bg-surface-2 text-muted-foreground"}`,children:Pe.size})]})]}),t.jsx("button",{type:"button",onClick:pi,className:V?"rounded-full bg-surface-2 p-1.5 text-muted-foreground hover:bg-surface hover:text-foreground":"inline-flex h-6 w-6 items-center justify-center rounded-md text-muted-foreground hover:bg-surface-2 hover:text-foreground","aria-label":o("rightSidebar.close"),children:t.jsx(Jt,{size:V?16:14})})]}),t.jsx("div",{className:V?"max-h-[calc(72vh-3.25rem)] overflow-y-auto overscroll-contain px-3 py-2 pb-[calc(env(safe-area-inset-bottom)+5.5rem)]":"max-h-[calc(min(26rem,100vh-1.5rem)-3.5rem)] overflow-y-auto overscroll-contain p-1.5",children:Qa.map(x=>{const z=(x.root??null)===pe,G=ut(x.label)||x.label;return t.jsxs("button",{type:"button",onClick:()=>{Yc(x.root),pi()},className:`group mb-0.5 flex w-full items-center gap-2 rounded-md text-left transition active:scale-[0.99] ${V?"px-3 py-2":"px-2 py-1.5"} ${z?"bg-primary/10 text-primary":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,title:x.label,role:"option","aria-selected":z,children:[t.jsx("span",{className:`h-7 w-1 shrink-0 rounded-full ${z?"bg-primary":"bg-transparent group-hover:bg-border/40"}`}),t.jsx("span",{className:`flex h-7 w-7 shrink-0 items-center justify-center rounded-md ${z?"bg-primary/10 text-primary":"bg-surface-2 text-muted-foreground group-hover:text-foreground"}`,children:t.jsx(Nr,{size:13})}),t.jsxs("span",{className:"min-w-0 flex-1",children:[t.jsx("span",{className:`${V?"text-[13px]":"text-[12px]"} block truncate font-semibold leading-snug`,children:G}),t.jsx("span",{className:"block truncate text-[10px] leading-snug text-muted-foreground/70",children:x.root===null?o("rightSidebar.allRepositories"):x.label})]}),x.branch&&t.jsx("span",{className:"hidden max-w-[5.5rem] shrink min-w-0 truncate rounded bg-surface-2 px-1.5 py-0.5 text-[10px] text-muted-foreground sm:inline",children:x.branch}),x.deferred?t.jsx("span",{className:"shrink-0 rounded bg-surface-2 px-1.5 py-0.5 text-[10px] text-muted-foreground/70",children:o("rightSidebar.repoNotLoaded")}):t.jsx("span",{className:`shrink-0 rounded px-1.5 py-0.5 text-[10px] ${x.count>0?"bg-accent/10 text-accent":"bg-surface-2 text-muted-foreground"}`,children:x.count})]},x.root??"all")})})]})});return wu(b,V,document.body)}function Rf(){return jf()}function Ac(e){const n=at(e,f),l=e.absolutePath||(n?`${n}/${e.path}`:e.path),p=wo(l,n??f);return{key:Pr(e),path:e.path,absolutePath:l,displayName:p.name,displayDir:p.dir,oldPath:e.oldPath,status:e.status,title:l}}function Tc(e){return e.oldPath?t.jsx("span",{className:"block truncate text-[10px] text-muted-foreground/60",children:o("rightSidebar.changedFromPath",{path:e.oldPath})}):null}function ro(e,n,l="file"){const p=on(e,f),u=`path:${p}`,b=H===u,x=Ie===u,z=b||x;return t.jsx("button",{type:"button",onClick:G=>{G.stopPropagation(),Kt(p,u,G.currentTarget,l)},...li(qa(p),u),className:`inline-flex h-6 shrink-0 items-center justify-center overflow-hidden rounded-md text-[11px] font-semibold opacity-100 transition-[max-width,padding,opacity,transform,background-color,color] active:scale-95 ${z?"max-w-20 px-2":"max-w-20 px-2 md:max-w-0 md:px-0 md:opacity-0 md:group-hover:max-w-20 md:group-hover:px-2 md:group-hover:opacity-100"} ${z?"bg-surface-elevated text-foreground":"bg-primary/10 text-primary"}`,title:n,children:t.jsx("span",{className:"whitespace-nowrap",children:o(x?"rightSidebar.copied":b?"rightSidebar.inserted":"rightSidebar.insertFileRef")})})}function Mc(e){const n=at(e,f),l=e.absolutePath||(n?`${n}/${e.path}`:e.path),p=Zf(e),u=Wi(e);return t.jsxs("span",{className:"flex shrink-0 items-center gap-1",children:[t.jsx(_g,{actions:p,running:Me,completed:es?.path===u?es:null}),ro(l,o("rightSidebar.insertThisFile"))]})}function Lc(e,n){const l=n.root??f;if(!l)return null;const p=on(e,l);return ro(p,o("fileTree.insertRefTitle"),"directory")}function Zs(){return t.jsxs("div",{className:"inline-flex h-7 shrink-0 overflow-hidden rounded-full bg-surface-2 p-0.5","aria-label":o("diffViewer.view"),children:[t.jsx("button",{type:"button",onClick:()=>zc("unified"),"aria-pressed":Kr==="unified",title:o("diffViewer.unifiedMode"),className:`inline-flex h-6 items-center rounded-full px-2 text-[10px] font-semibold transition active:scale-95 ${Kr==="unified"?"bg-surface-elevated text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"}`,children:o("diffViewer.unified")}),t.jsx("button",{type:"button",onClick:()=>zc("split"),"aria-pressed":Kr==="split",title:o("diffViewer.splitMode"),className:`inline-flex h-6 items-center rounded-full px-2 text-[10px] font-semibold transition active:scale-95 ${Kr==="split"?"bg-surface-elevated text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"}`,children:o("diffViewer.split")})]})}function Ic(){return ea.map(e=>{const n=Jd(e.files.map(([,b])=>b)),l=sl({activeGitRepoRoot:pe,groupCount:ea.length,label:e.label,rootName:Ge}),p=!!(l&&e.root&&fn.has(e.root));return{key:e.root??e.label,root:e.root,label:e.label,branch:e.branch,collapsed:p,files:e.files.map(([,b])=>Ac(b)),header:l?t.jsxs("div",{className:`flex w-full items-center gap-1.5 px-2 py-1.5 transition hover:bg-surface-2 ${p?"rounded-lg":"rounded-t-lg border-b border-border/10"}`,children:[t.jsxs("button",{type:"button",onClick:()=>zf(e.root),"aria-expanded":!p,className:"flex min-w-0 flex-1 items-center gap-2 text-left active:scale-[0.99]",children:[t.jsx("span",{className:"shrink-0 text-muted-foreground",children:p?t.jsx(Es,{size:13}):t.jsx(xa,{size:13})}),t.jsx(Nr,{size:12,className:"shrink-0 text-muted-foreground"}),t.jsxs("span",{className:"min-w-0 flex-1",children:[t.jsx("span",{className:"block truncate text-[11px] font-semibold text-foreground",children:e.label}),e.branch&&t.jsx("span",{className:"block truncate text-[10px] text-muted-foreground",children:e.branch})]}),t.jsx("span",{className:"shrink-0 rounded bg-surface-2 px-1.5 py-0.5 text-[10px] text-muted-foreground",children:e.files.length}),n>0&&t.jsx("span",{className:"shrink-0 rounded bg-accent/10 px-1.5 py-0.5 text-[10px] text-accent",children:n})]}),e.root&&t.jsxs(t.Fragment,{children:[t.jsx("button",{type:"button",onClick:b=>{b.stopPropagation(),co("stage-all",e.root,e.label)},disabled:!!Me,className:"rounded-full bg-accent/10 px-2 py-0.5 text-[10px] font-medium text-accent hover:bg-accent/20 disabled:opacity-50",title:o("rightSidebar.stageAll"),children:o("rightSidebar.stageAll")}),t.jsx("button",{type:"button",onClick:b=>{b.stopPropagation(),co("stash-all",e.root,e.label)},disabled:!!Me,className:"rounded-full bg-surface-2 px-2 py-0.5 text-[10px] font-medium text-foreground hover:bg-surface-elevated disabled:opacity-50",title:o("rightSidebar.stashAll"),children:o("rightSidebar.stashAll")})]})]}):null}})}const On=s.useMemo(()=>new Map(Array.from(Pe.values(),e=>[Pr(e),e])),[Pe]);function $c(e){const n=On.get(e.key),l=n?at(n,f):null,p=Yp(pt,l,n?.path??e.path);return t.jsx(Zi,{changeStatus:e.status,auditStatus:p,renderChangeBadge:u=>t.jsx(pa,{status:u})})}const no=s.useCallback(e=>{if(V)return null;const n=Array.from(e.querySelectorAll("[data-diff-stream-item]"));if(n.length===0)return null;const p=e.getBoundingClientRect().top+48;let u=null,b=Number.POSITIVE_INFINITY;for(const z of n){const G=z.getBoundingClientRect();if(G.bottom<p)continue;const ce=Math.abs(G.top-p);ce<b&&(u=z,b=ce)}const x=u?.dataset.diffSelectionPath??u?.dataset.diffStreamItem??null;return x?(_a.current===x&&_.getState().selectedFilePath===x||(_a.current=x,Ke(x)),x):null},[V,Ke]),Cf=!!(!Me&&fe&&!Ue&&(ee?.upstream||Rn.trim()&&Cn.trim())),Nf=!!(!Me&&fe&&!Ue&&(ee?.upstream||Rn.trim()&&Cn.trim())),Pf=!!(!Me&&fe&&!Ue&&rs.trim()&&rs.trim()!==ee?.branch),Xt=s.useMemo(()=>{const e=je.trim().toLowerCase(),n=Array.from(Pe.entries()).filter(([,l])=>!pe||at(l,f)===pe).sort(([l],[p])=>l.localeCompare(p));return e?n.filter(([l,p])=>`${l} ${p.path} ${p.status} ${p.repoRelativeRoot??""} ${p.repoName??""}`.toLowerCase().includes(e)):n},[pe,Pe,je,f]);s.useEffect(()=>{da("selected_file_state",{selectedFilePath:ze,selectedChangedFilePath:Vt?.path??null,selectedChangedFileAbsolutePath:Vt?.absolutePath??null,selectedChangedFileRepoRoot:Vt?.repoRoot??null,rootPath:f,activeGitRepoRoot:pe,rightTab:Ho,effectiveRightTab:Ct,diffPaneActive:Nt,changedFiles:Pe.size,filteredChangedFiles:Xt.length,gitBundleLoading:wr,gitBundleLastLoadedAt:is})},[pe,Pe.size,Nt,Ct,Xt.length,is,wr,Ho,f,Vt?.absolutePath,Vt?.path,Vt?.repoRoot,ze]);const ea=s.useMemo(()=>{const e=new Map;for(const n of Xt){const[,l]=n,p=at(l,f),u=Bg(l)||Ge,b=p??u,x=p?Ve.get(p):void 0,z=e.get(b)??{root:p,label:u,branch:x?.context?.branch,files:[]};z.files.push(n),e.set(b,z)}return Array.from(e.values()).sort((n,l)=>n.label===Ge?-1:l.label===Ge?1:n.label.localeCompare(l.label))},[Xt,Ve,Ge,f]),ta=s.useMemo(()=>{const e=[],n=new Map;for(const l of Xt)n.set(Pr(l[1]),l);for(const l of ea){if(!!(l.root&&sl({activeGitRepoRoot:pe,groupCount:ea.length,label:l.label,rootName:Ge})&&fn.has(l.root)))continue;if(jt!=="tree"){e.push(...l.files);continue}const u=l.files.map(([,b])=>Ac(b));for(const b of Zh(u)){const x=n.get(b.key);x&&e.push(x)}}return e},[pe,fn,jt,ea,Xt,Ge]),Fc=s.useMemo(()=>Pe.size===0?[{key:"empty",path:"",status:"unknown",repoRoot:null,displayName:o("rightSidebar.noChanges"),diffOverride:"",auditRecords:[]}]:ta.map(([,e])=>{const n=at(e,f),l=e.absolutePath||(n?`${n}/${e.path}`:e.path);return{key:Pr(e),path:e.path,absolutePath:l,status:e.status,repoRoot:n,displayName:wo(l,n).name,displayDir:wo(l,n).dir,auditRecords:pt}}),[pt,Pe.size,ta,f,o]);s.useEffect(()=>{if(!Nt||ta.length===0||V)return;const e=[],n=()=>{const l=document.querySelector(".termdock-diff-stream-scroller");if(l&&no(l))return;const p=document.querySelector("[data-diff-stream-item]"),u=p?.dataset.diffSelectionPath??p?.dataset.diffStreamItem??null;if(u){_a.current=u,Ke(u);return}const b=ta[0]?.[1];if(!b)return;const x=Pr(b);_a.current=x,Ke(x)};for(const l of[80,240,600,1200])e.push(window.setTimeout(n,l));return()=>e.forEach(l=>window.clearTimeout(l))},[Nt,V,ta,Ke,no]);const mi=s.useMemo(()=>{const e=x=>`'${x.replace(/'/g,"'\\''")}'`,n=ir.length>0?Mn:Ne.filter(x=>x.files.length>0),l=n.length>0?n:f?[{root:f,relativeRoot:".",name:Ge}]:[],p=l.length>0?l.map(x=>`- ${x.relativeRoot==="."?".":x.relativeRoot} (${x.root})`).join(`
|
|
1718
|
-
`):`- ${f?".":""}`,u=l.length>0?l.map(x=>` td audit-export ${e(x.root)}`).join(`
|
|
1719
|
-
`):" td audit-export",b=l.length>0?" td audit ~/.termdock/change-audit/payload-<repo>.json":" td audit ~/.termdock/change-audit/payload.json";return["任务:为目标仓库的 Git diff hunk 生成自包含审计解释,并通过 Termdock CLI 注入。","",`当前工作区:${f??""}`,"目标仓库:",p,"","执行步骤:","1. 仅对“目标仓库”逐个执行 audit-export。嵌套子仓使用括号内 repo 绝对路径作为命令参数。",u,"2. 先检查 audit-export 输出的 coverage[]:确认 untrackedFiles 是否为空、未跟踪文件是否已经出现在 hunks[].filePath 中;如果 coverage 显示存在未跟踪文件但 hunks[] 未包含对应文件,必须汇报导出异常,不要假装已解释。","3. 读取 audit-export 输出的全部 hunks[].diff,包含 tracked 与 untracked hunks;先理解整批改动的业务目标、行为变化、文件分工和跨 hunk 依赖。","4. 以 audit-export 内置 diff 为分析依据。仅在单个 hunk 信息不足时执行:td audit-show <hunkId> <对应仓库绝对路径>","5. 在 ~/.termdock/change-audit/ 生成批量 payload JSON。"," mkdir -p ~/.termdock/change-audit","6. payload 顶层字段:workspaceRoot、repoRoot、generatedBy、walkthrough、records[]。","7. walkthrough 必须先生成,用三层结构说明整批改动:highlights[] 面向不了解代码的人讲“改了什么/带来什么效果”;nodes[]/edges[] 表达关键链路;risks[]/checks[] 写真实风险和验证。节点可带 anchor,点击后会跳到对应 diff。","8. records[] 必须覆盖每个 hunk 内的多个 section,而不是只写 hunk 总结;从 audit-export hunk 原样复制 filePath、oldPath、newPath、hunkHeader、hunkIndex、fingerprint;如果解释的是 section,额外填写 sectionIndex 和 sectionFingerprint;补充 summary、explanation。","9. 写入 payload 后批量注入:",b,'10. 少量 hunk 或临时补单条时使用:printf "%s\\n" "这里写该 hunk 的改动意义" | td audit-explain <hunkId> <对应仓库绝对路径>',"11. 注入成功后清理本次 payload:rm -f ~/.termdock/change-audit/payload*.json","","payload.walkthrough 示例字段:","{",' "title": "一句话标题",',' "summary": "整批改动的目的和结果",',' "highlights": [{ "what": "改了什么", "effect": "用户或系统得到什么", "tag": "体验" }],',' "nodes": [{ "id": "n1", "title": "节点标题", "kind": "ui", "business": "零上下文业务解释", "anchor": { "repoRoot": "<repoRoot>", "filePath": "<filePath>", "hunkIndex": 0, "hunkFingerprint": "<fingerprint>", "sectionIndex": 0, "sectionFingerprint": "<sectionFingerprint>" } }],',' "edges": [{ "from": "n1", "to": "n2", "label": "调用/传递/消费", "desc": "这条关系的业务含义" }],',' "risks": [{ "title": "真实风险或口径疑问", "anchor": { "filePath": "<filePath>" } }],',' "checks": ["可执行验证动作"]',"}","","写作标准:","- summary:一句话概括该 hunk 在整批改动中的职责。","- explanation:自包含说明业务链路、该 hunk 的作用、解决的问题、与其它 hunk 的关系。","- walkthrough.highlights 必须大白话,不要堆文件名/函数名;只看 highlights 应该知道这次改动干嘛。","- walkthrough.nodes 优先对应方法、关键业务步骤或关键 section;每个有 anchor 的节点必须能跳回真实 diff。","- 面向不了解本轮对话的 AI 编写,补足必要上下文。","- 输出高信息量结论;避免铺垫、套话、流程复述、泛泛风险、逐行翻译 diff。","","完成条件:汇报每个目标仓库已注入的 hunk 数和总数。"].join(`
|
|
1720
|
-
`)},[ir.length,Mn,Ne,Ge,f]),Ef=s.useCallback(async(e="generate",n)=>{if(_n&&mt.length===0&&!pe){Jn(!0);return}const l=e==="generate"?mi:[e==="regenerate"?"模式:重新生成。基于当前 audit-export 为全部 hunk 重新生成解释并覆盖写回。":"模式:补充失效。基于当前 audit-export 补充新增、变更或已失效的 hunk 解释;保留仍有效的解释。","",mi].join(`
|
|
1721
|
-
`);return Je("insert_change_audit_prompt",{rootPath:f,activeGitRepoRoots:ir,mode:e,hasAuditListCommand:l.includes("td audit-list"),promptLength:l.length}),await Wr(o("rightSidebar.insertChangeAuditPrompt"),l,`${uc}:${e}`,n)?(Sr(),m||c(),!0):!1},[pe,mi,mt.length,ir,Wr,Sr,c,m,f,_n,o]),so=s.useCallback(async e=>{try{await fd({ids:[e]}),et(n=>n.filter(l=>l.id!==e))}catch{Sr()}},[Sr]),Af=s.useCallback(async()=>{if(pt.length===0)return;const e=pt.map(n=>n.id);try{await fd({ids:e}),et(n=>n.filter(l=>!e.includes(l.id))),tr(null)}catch(n){const l=n instanceof Error?n.message:"Failed to clear change audit explanations";tr(o("rightSidebar.changeAuditClearFailed",{message:l})),Sr()}},[pt,Sr,o]),Tf=s.useCallback(async e=>{if(e.records.length===0)return;const n=e.records.map(l=>l.id);try{await Ih({ids:n}),xn(l=>l.filter(p=>!n.includes(p.id))),De===e.key&&(wn(null),bt(!1))}catch(l){Wt(o("rightSidebar.branchAuditClearFailed",{message:l instanceof Error?l.message:"Failed to clear branch explanation"})),Oa(null)}},[Oa,De,o]),Mf=s.useCallback(e=>{$s(n=>e===null?(Jn(!1),[]):n.includes(e)?n.filter(l=>l!==e):[...n,e])},[]),Lf=s.useCallback(e=>{Eo(n=>e===null?(Po(!1),[]):n.includes(e)?n.filter(l=>l!==e):[...n,e])},[]),gi=s.useMemo(()=>{if(!ar)return[];const e=n=>{const l=n.diff??"";let p=0,u=0;for(const b of l.split(`
|
|
1722
|
-
`))b.startsWith("+++")||b.startsWith("---")||(b.startsWith("+")&&(p+=1),b.startsWith("-")&&(u+=1));return{filePath:n.filePath,oldPath:n.oldPath,newPath:n.newPath,hunkHeader:n.hunkHeader,hunkIndex:n.hunkIndex??0,fingerprint:n.fingerprint,additions:p,deletions:u,diff:l}};return ue?(ue.hunks??[]).map(n=>{const l=ue.comparisonRepos&&ue.comparisonRepos.length>1?[...ue.comparisonRepos].sort((u,b)=>b.label.length-u.label.length).find(u=>n.filePath.startsWith(`${u.label}/`)):void 0,p=Jr.find(u=>u.repoRoot===ue.repoRoot&&u.baseRef===ue.baseRef&&(u.branchName??null)===(ue.currentBranch??null)&&u.filePath===n.filePath&&u.hunkHeader===n.hunkHeader&&(u.hunkIndex??0)===n.hunkIndex&&u.fingerprint===n.fingerprint)??null;return{key:`${n.filePath}\0${n.hunkHeader}\0${n.hunkIndex}`,repoRoot:l?.repoRoot??ue.repoRoot,repositoryPath:l?n.filePath.slice(l.label.length+1):n.filePath,hunk:n.previewRevert&&!ws(n.previewRevert.cwd,n.previewRevert.comparisonBranch)?{...n,previewRevert:void 0}:n,current:p,stale:null}}):De?Jr.filter(n=>Gd(n)===De).map(n=>{const l=e(n);return{key:`${n.filePath}\0${n.hunkHeader}\0${n.hunkIndex??0}`,hunk:l,current:n,stale:null}}):[]},[ue,Jr,ws,ar,De]),bi=Jr.length>0,ks=s.useMemo(()=>{if(!ar)return[];const e=new Map;for(const n of Jr){const l=n.repoRoot,p=Ve.get(l),u=p?.relativeRoot==="."?Ge:p?.relativeRoot||p?.name||ut(l),b=Gd(n),x=e.get(b)??{key:b,repoRoot:l,repoLabel:u,baseRef:n.baseRef,branchName:n.branchName??null,headRef:n.headRef??null,diffFingerprint:n.diffFingerprint??null,records:[],latestInjectedAt:0};x.records.push(n),x.latestInjectedAt=Math.max(x.latestInjectedAt,n.injectedAt??0),e.set(b,x)}return Array.from(e.values()).sort((n,l)=>l.latestInjectedAt-n.latestInjectedAt)},[Jr,Ve,ar,Ge]),xi=s.useMemo(()=>De?ks.find(e=>e.key===De)??null:null,[ks,De]),ra=ue?{repoRoot:ue.repoRoot??"",repoLabel:ue.repoRoot?Ve.get(ue.repoRoot)?.relativeRoot==="."?Ge:Ve.get(ue.repoRoot)?.relativeRoot||Ve.get(ue.repoRoot)?.name||ut(ue.repoRoot):Ge,baseRef:ue.baseRef??ue.baseBranch??"",branchName:ue.currentBranch??null,headRef:ue.headRef??null,diffFingerprint:ue.diffFingerprint??null}:xi,If=s.useMemo(()=>(rr?.hunks??[]).map(e=>({key:`${e.filePath}\0${e.hunkHeader}\0${e.hunkIndex}`,repoRoot:rr?.repoRoot,hunk:e,current:null,stale:null})),[rr?.hunks,rr?.repoRoot]),$f=s.useMemo(()=>{if(ue)return[];const e=xi;return e?vn.filter(n=>n.repoRoot===e.repoRoot&&n.baseRef===e.baseRef&&(n.branchName??null)===e.branchName&&(!e.diffFingerprint||n.diffFingerprint===e.diffFingerprint)):[]},[ue,vn,xi]),Ff=s.useCallback(e=>{const n=gi.find(l=>l.hunk.filePath===e.filePath||(e.repoRoot?`${e.repoRoot}/${l.hunk.filePath}`===e.filePath:!1));n&&(kn(n.key),window.setTimeout(()=>Hn(e),90),window.setTimeout(()=>Hn(e),320),window.setTimeout(()=>Hn(e),760))},[gi]),vi=s.useMemo(()=>{const e=u=>`'${u.replace(/'/g,"'\\''")}'`,n=Qs,l=n.length>0?n.map(u=>`- ${u.label} (${u.root}),目标分支:${sr[u.root]||u.branch||"(current branch)"},基线分支:${Rt[u.root]||"(not set)"},包含本地未提交更改:${ws(u.root,sr[u.root]||u.branch)&&(yn[u.root]??!0)?"是":"否"}`).join(`
|
|
1723
|
-
`):`- ${f?".":""}`,p=n.length>0?n.map(u=>{const b=sr[u.root]||u.branch||"",x=Rt[u.root]||"",z=u.label.replace(/[^A-Za-z0-9_-]+/g,"_")||"repo";return[b?` git -C ${e(u.root)} switch ${e(b)}`:` # ${u.label}: keep current branch`," mkdir -p ~/.termdock/branch-audit",` td branch-audit-export ${e(x)} ${e(u.root)} > ~/.termdock/branch-audit/branch-audit-export-${z}.json`].join(`
|
|
1724
|
-
`)}).join(`
|
|
1725
|
-
`):" td branch-audit-export <base-branch>";return["解释目标仓库当前分支相对于基线分支的改动,并把解释写回 Termdock。","",`当前工作区:${f??""}`,"每个仓库分别遵循下面列出的本地未提交更改选项。","目标仓库:",l,"","操作指令:","1. 只针对上面列出的目标仓库导出分支 hunk,按各仓库所选目标分支与基线对比。本地未提交更改标记为是的仓库纳入 staged/unstaged/untracked 改动;标记为否的仓库只解释提交改动,忽略导出中混入的本地改动。嵌套子仓或软链接子仓使用括号内的仓库绝对路径。示例:",p,"2. 读取导出的 ~/.termdock/branch-audit/branch-audit-export*.json 中的 hunks[],不要把临时 JSON 放到业务仓目录,也不要把整份 JSON 粘贴回输入框。导出工具使用 base...HEAD(三点)生成 diff,只表示当前分支独有改动;提交列表使用 base..HEAD(两点)。","3. 先生成 walkthrough,用 highlights[] 说明整批分支改动目的和影响,用 nodes[]/edges[] 画出主链路、分支链路和验证链路;节点可带 anchor,点击后会跳到对应 diff。","4. 逐个 hunk 写解释。解释要说明该 hunk 的意图、解决的问题、影响、风险,以及它和其它 hunk 的关系;不要逐行复述 diff。","5. 每个仓库分别生成 ~/.termdock/branch-audit/payload-<repo>.json,payload 必须包含 workspaceRoot、repoRoot、baseRef、branchName、headRef、diffFingerprint、walkthrough 和 records[];records[] 每条 record 对应一个 hunk,diff 字段必须从 hunk.diff 原样复制。","6. 把解释写入 payload 后执行:td branch-audit ~/.termdock/branch-audit/payload-<repo>.json","7. 注入成功后删除本次生成的临时 JSON:rm -f ~/.termdock/branch-audit/branch-audit-export-*.json ~/.termdock/branch-audit/payload-*.json","","payload 示例:","```json",JSON.stringify({workspaceRoot:f??null,repoRoot:"<target repo root>",baseRef:"<target repo base branch>",branchName:"<from export currentBranch>",headRef:"<from export headRef>",diffFingerprint:"<from export diffFingerprint>",generatedBy:"termdock-branch-audit",walkthrough:{title:"<one-line branch change title>",summary:"<branch change goal and effect>",highlights:[{what:"<what changed>",effect:"<user/system effect>",tag:"<category>"}],nodes:[{id:"n1",title:"<node title>",kind:"process",business:"<zero-context business explanation>",anchor:{repoRoot:"<target repo root>",filePath:"<from hunk.filePath>",hunkIndex:0,hunkFingerprint:"<from hunk.fingerprint>"}}],edges:[{from:"n1",to:"n2",label:"<relationship>",desc:"<business meaning>"}],risks:[{title:"<real risk or validation gap>"}],checks:["<executable validation step>"]},records:[{filePath:"<from hunk.filePath>",oldPath:"<from hunk.oldPath or null>",newPath:"<from hunk.newPath or null>",hunkHeader:"<from hunk.hunkHeader>",hunkIndex:0,fingerprint:"<from hunk.fingerprint>",diff:"<copy from hunk.diff exactly>",explanation:"<replace with hunk explanation>",summary:""}]},null,2),"```"].join(`
|
|
1726
|
-
`)},[yn,ws,Qs,Rt,sr,f]),Df=s.useCallback(async(e="generate",n)=>{const l=e==="generate"?vi:[e==="regenerate"?"模式:重新生成。请基于当前分支导出结果重新生成全部 hunk 解释并覆盖写回。":"模式:补充失效。请基于当前分支导出结果只补充新增、变更或已失效的 hunk 解释,仍有效的解释不要重复写回。","",vi].join(`
|
|
1727
|
-
`);return await Wr(o("rightSidebar.branchAuditShort"),l,`context:branch-audit-scope:${e}`,n)?(m||c(),!0):!1},[vi,Wr,c,m,o]),yi=s.useCallback(async(e={})=>{const n=e.refresh===!0,l=n&&ue?.comparisonRepos?ue.comparisonRepos:Qs.map(x=>{const z=(sr[x.root]||x.branch||"").trim();return{repoRoot:x.root,label:x.label,base:Rt[x.root]?.trim()??"",head:z||null,includeUncommitted:yn[x.root]??!0}});if(!f||l.length===0)return;const p=++xt.current,u=f,b=()=>xe(u)&&p===xt.current;br(!0),Lt(null),n||(Mt(null),$r(null));try{const x=await Promise.all(l.map(async D=>{if(!D.base)throw new Error(o("rightSidebar.branchAuditMissingBase",{repo:D.label}));return hd({cwd:f,repoRoot:D.repoRoot,base:D.base,head:D.head,includeUncommitted:e.repoRoot===D.repoRoot?e.includeUncommitted??!1:D.includeUncommitted??ue?.includeUncommitted??!0,requestSlotId:`right-sidebar-branch-preview:${D.repoRoot}`})}));if(!b())return;const z=x.find(D=>!D.available);if(z){Lt(z.error??"Branch diff is unavailable");return}const G=x.length===1?x[0]:{available:!0,workspaceRoot:f,repoRoot:f,baseRef:x.map(D=>D.baseRef??D.baseBranch).filter(Boolean).join(", "),currentBranch:x.map(D=>D.currentBranch??"HEAD").filter(Boolean).join(", "),headRef:x.map(D=>D.headRef).filter(Boolean).join(", "),diffFingerprint:x.map(D=>D.diffFingerprint).filter(Boolean).join("+"),stat:x.map(D=>D.stat).filter(Boolean).join(`
|
|
1728
|
-
`),files:x.flatMap((D,U)=>{const oe=l[U];return(D.files??[]).map(Ce=>`${oe?.label??D.repoRoot??"repo"}/${Ce}`)}),hunks:x.flatMap((D,U)=>{const Ce=l[U]?.label??D.repoRoot??"repo";return(D.hunks??[]).map(Re=>({...Re,filePath:`${Ce}/${Re.filePath}`,oldPath:Re.oldPath?`${Ce}/${Re.oldPath}`:Re.oldPath,newPath:Re.newPath?`${Ce}/${Re.newPath}`:Re.newPath}))}),commits:x.flatMap(D=>D.commits??[]),commitCount:x.reduce((D,U)=>D+(U.commitCount??U.commits?.length??0),0),diff:x.map(D=>D.diff).filter(Boolean).join(`
|
|
1729
|
-
`),truncated:x.some(D=>D.truncated)};if(G.comparisonRepos=l.map((D,U)=>({...D,head:D.head??x[U].currentBranch??null,includeUncommitted:x[U].includeUncommitted===!0,canIncludeUncommitted:x[U].canIncludeUncommitted})),G.canIncludeUncommitted=x.every(D=>D.canIncludeUncommitted===!0),G.includeUncommitted=x.some(D=>D.includeUncommitted===!0),Ao(D=>({...D,...Object.fromEntries(G.comparisonRepos.map(U=>[U.repoRoot,U.includeUncommitted??!1]))})),!n&&(G.hunks??[]).length===0){Lt(o("rightSidebar.branchAuditDiffEmpty"));return}const ce=Date.now(),we=(n?De:null)??["preview",G.repoRoot??f,G.baseRef??G.baseBranch??"",G.currentBranch??"",G.headRef??"",G.diffFingerprint??ce].join("\0"),Xe=l.length===1?l[0].label:`${l.length} repos`;Mt(G),Qr(D=>[{key:we,diff:G,repoLabel:Xe,createdAt:ce},...D.filter(U=>U.key!==we)].slice(0,8)),n||Ir(D=>D[we]===void 0?D:{...D,[we]:0}),wn(we),kn(D=>{const U=G.hunks?.[0],oe=U?`${U.filePath}\0${U.hunkHeader}\0${U.hunkIndex}`:null;return n&&D&&(G.hunks??[]).some(Ce=>Ce.filePath===D.split("\0")[0])?D:oe}),bt(!0)}catch(x){if(!b()||Er(x))return;Lt(x instanceof Error?x.message:"Failed to load branch diff")}finally{b()&&br(!1)}},[yn,ue,De,Qs,Rt,sr,xe,f,o]),Bf=s.useCallback(e=>{++xt.current,br(!1),Mt(e.diff),Lt(null),wn(e.key),kn(e.diff.hunks?.[0]?`${e.diff.hunks[0].filePath}\0${e.diff.hunks[0].hunkHeader}\0${e.diff.hunks[0].hunkIndex}`:null),bt(!0)},[]),Uf=s.useCallback(e=>{Qr(n=>n.filter(l=>l.key!==e)),Ir(n=>{if(!(e in n))return n;const l={...n};return delete l[e],l}),De===e&&(wn(null),Mt(null),bt(!1))},[De]),_f=s.useCallback(e=>{++xt.current,br(!1);const n=ks.find(l=>l.key===e);n&&(Mt(null),Lt(null),wn(e),kn(n.records[0]?.filePath??null),bt(!0))},[ks]),Of=s.useCallback(async e=>{if(!f||!fe)return;const[n]=e.split(/\s+/);if(n){Fr(n),Zr(null),$r(null);try{const l=await $h({cwd:f,repoRoot:fe,commit:n,requestSlotId:"right-sidebar-commit-diff"});if(!l.available){Zr(l.error??"Commit diff is unavailable");return}$r(l);const p=l.hunks?.[0];zt(p?`${p.filePath}\0${p.hunkHeader}\0${p.hunkIndex}`:null)}catch(l){Zr(l instanceof Error?l.message:"Failed to load commit diff")}finally{Fr(null)}}},[fe,f]),Hf=s.useCallback(e=>{if(!ue||!De)return;const n=Math.max(0,Math.round(e));Ir(l=>Math.abs((l[De]??0)-n)<24?l:{...l,[De]:n})},[ue,De]);s.useEffect(()=>{!ue||!De||Qr(e=>e.map(n=>n.key===De&&n.diff!==ue?{...n,diff:ue}:n))},[ue,De]);const Dc=!!ue;s.useEffect(()=>{if(!V||!gt||!Dc)return;const e=Xl.current;if(!e||e.destroyed)return;e.update(),e.slideTo(1,0);const n=window.requestAnimationFrame(()=>{e.destroyed||(e.update(),e.slideTo(1,0))});return()=>window.cancelAnimationFrame(n)},[gt,Dc,V]);const Bc=s.useCallback(e=>{e&&Vu(n=>ep(n,e))},[]),Uc=La.key===ze?La.key:null,ao=s.useCallback(e=>{const n=_.getState(),l=Vg();da("select_diff_file",{interactionId:l,path:e,previousSelectedFilePath:n.selectedFilePath,rootPath:n.rootPath,activeGitRepoRoot:pe,changedFiles:n.changedFiles.size,gitBundleLoading:n.gitBundleLoading,gitBundleLastLoadedAt:n.gitBundleLastLoadedAt,rightTab:n.rightTab}),Ke(e),It("diff"),V&&e&&Zl(1),Bc(e),queueMicrotask(()=>{const p=_.getState();da("select_diff_file_after",{interactionId:l,requestedPath:e,selectedFilePath:p.selectedFilePath,rootPath:p.rootPath,rightTab:p.rightTab,changedFiles:p.changedFiles.size,activeGitRepoRoot:pe})})},[pe,V,Bc,Ke,It,Zl]),_c=s.useCallback(e=>{const n=Array.from(Pe.values()).find(l=>{const p=at(l,f),u=Pr(l);return l.path===e.filePath||u===e.filePath||l.absolutePath===e.filePath||(p?`${p}/${l.path}`===e.filePath:!1)||e.repoRoot&&p===e.repoRoot&&l.path===e.filePath});if(n){ao(Pr(n)),window.setTimeout(()=>Hn(e),90),window.setTimeout(()=>Hn(e),320),window.setTimeout(()=>Hn(e),760);return}Hn(e)},[Pe,f,ao]),Oc=s.useCallback(({slideToDetail:e,fullscreen:n,toggleFullscreen:l}={})=>gn.length>0?t.jsx(du,{walkthroughs:gn,repoRoot:pe,fullscreen:n,onToggleFullscreen:l,onNavigate:p=>{V&&window.requestAnimationFrame(()=>e?.()),_c(p)}}):t.jsxs("div",{className:"rounded-lg border border-border/15 bg-surface px-3 py-6 text-center text-xs text-muted-foreground",children:[t.jsx(ga,{size:18,className:"mx-auto mb-2 text-muted-foreground/80"}),o("rightSidebar.changeWalkthroughEmpty")]}),[pe,gn,_c,V,o]),zf=s.useCallback(e=>{e&&ya(n=>{const l=new Set(n);return l.has(e)?l.delete(e):l.add(e),Oi(Di,l),l})},[]),Hc=s.useCallback(e=>{Is(n=>{const l=new Set(n);return l.has(e)?l.delete(e):l.add(e),Oi($d,l),l})},[]),oo=s.useCallback(e=>{pn(e),Et(Su,e)},[]);s.useEffect(()=>{Za||jt!=="ai"||oo("tree")},[jt,oo,Za]);const io=s.useCallback(()=>{mn(e=>{const n=!e;return Et(ju,n),n})},[]),zc=s.useCallback(e=>{$e(e),Et(Ru,e)},[]),{whitespace:Wc,context:Gc}=rp(),qc=s.useMemo(()=>({algorithm:"histogram",whitespace:Wc,context:Gc}),[Wc,Gc]),Kc=s.useCallback(e=>{J(e),Et(Cu,e)},[]),lo=s.useCallback(async(e,n,l,p)=>{let u=e;for(;u.ok&&u.status==="running";)await new Promise(x=>window.setTimeout(x,1500)),u=await pd({jobId:u.jobId,cwd:n.cwd,action:n.action});if(!u.ok)throw new Error("Git action status is unavailable");if(u.status==="error")throw new Error(u.error||u.message||"Git action failed");const b={action:n.action,path:p,label:l};return Hs(b),window.setTimeout(()=>Hs(x=>x?.action===b.action&&x.path===b.path?null:x),1400),u},[]),dt=s.useCallback(async(e,n,l)=>{const p=f;f&&kr.current.delete(f),Wt(null),Hs(null),Os({action:e.action,path:l});try{const u=await Fh({...e,includeNested:oa(f)}),b=await lo(u,e,n,l);if(!xe(p))return!1;const x=f?await Ai(f,void 0,{includeNested:oa(f),cacheOnly:!0,action:"git_action_cache_sync",requestSlotId:la(f)}).catch(()=>b.bundle):b.bundle;return xe(p)?(x&&fs(x,{reloadDiff:!0,cacheOnly:!0}),Sn(null),!0):!1}catch(u){return Hs(null),Wt(o("rightSidebar.gitActionFailed",{message:u instanceof Error?u.message:"Unknown error"})),!1}finally{xe(p)&&Os(null)}},[fs,xe,f,o,lo]),Vc=s.useCallback(async e=>{const n=f;await md({...e,includeNested:oa(f)}),xe(n)&&yt(f??void 0,{refresh:!0,background:!0})},[xe,yt,f]),Wf=s.useCallback(async e=>{const n=ue,l=xt.current,p=n?.hunks?.find(b=>b.previewRevert?.cwd===e.cwd&&b.previewRevert.path===e.path);if(!n||!p||!e.comparisonBase)throw new Error(o("diffViewer.hunkActionUnavailable"));Zn(b=>b+1),Lt(null);try{await md(e)}catch(b){throw Zn(x=>x-1),b}if(l!==xt.current||!xe(f)){Zn(b=>b-1);return}const u=b=>{Mt(x=>{if(!x||l!==xt.current)return x;const z=x.hunks??[],G=b===void 0?z.filter(we=>!(we.previewRevert?.cwd===e.cwd&&we.previewRevert.patch===e.patch)):[...z.filter(we=>we.filePath!==p.filePath),...b];return{...x,hunks:G}})};u(),hd({cwd:e.cwd,repoRoot:e.cwd,base:e.comparisonBase,comparisonBase:e.comparisonBase,filePath:e.path,requestSlotId:`branch-preview-file:${e.cwd}:${e.path}`}).then(b=>{if(l!==xt.current||!xe(f))return;if(!b.available||b.truncated)throw new Error(b.error??o("diffViewer.hunkActionUnavailable"));const x=e.path.slice(e.cwd.length+1),z=p.filePath.slice(0,p.filePath.length-x.length);u((b.hunks??[]).map(G=>({...G,filePath:`${z}${G.filePath}`,oldPath:G.oldPath?`${z}${G.oldPath}`:G.oldPath,newPath:G.newPath?`${z}${G.newPath}`:G.newPath})))}).catch(b=>{l===xt.current&&xe(f)&&!Er(b)&&Lt(`${o("diffViewer.hunkActionReverted")} · ${b instanceof Error?b.message:String(b)}`)}).finally(()=>Zn(b=>b-1))},[ue,xe,f,o]),co=s.useCallback((e,n,l)=>{if(n){if(e==="stage-all"){dt({action:"stage-all",cwd:n},o("rightSidebar.stageAll"),`repo:${n}`);return}Sn({kind:"stash-all",repoRoot:n,repoLabel:l})}},[dt,o]),Yc=s.useCallback(e=>{At(e),Aa(""),Ta(""),Ma(""),Ke(kc(e)),Ye||It("diff"),e&&Ja(Ve.get(e))},[Ja,kc,Ye,Ve,Ke,At,It]),Xc=s.useCallback(e=>{const n=new Set([...qt.current.keys(),...An.current,...kr.current]);for(const l of n)l!==e&&(Gt.current.delete(l),qt.current.get(l)?.abort(),qt.current.delete(l),wt(`right-sidebar-git-untracked:${l}`),An.current.delete(l),kr.current.delete(l))},[]),Gf=s.useCallback(async e=>{const n=f;if(!n||(await _.getState().setNestedGitScanRoot(n,e),!xe(n)))return;if(e){await yt(n,{includeNested:!0,discoverOnly:!0,replaceWorkspace:!0,background:!0,reloadDiff:!0});return}Xc(n),Aa(""),Ta(""),Ma(""),Eo(p=>p.filter(u=>u===n));const l=Vt;l&&at(l,n)!==n&&Ke(null),await yt(n,{includeNested:!1,replaceWorkspace:!0,background:!0,reloadDiff:!0})},[Xc,xe,yt,f,Ke,Vt]),qf=s.useCallback(async()=>{if(!fe||Ue){Wt(o("rightSidebar.selectRepositoryForGitActions"));return}const e=rs.trim();!e||e===ee?.branch||await dt({action:"switch-branch",cwd:fe,branch:e},o("rightSidebar.switchBranch"))},[ee?.branch,fe,Ue,dt,rs,o]),Jc=s.useCallback(async()=>{if(!fe||Ue){Wt(o("rightSidebar.selectRepositoryForGitActions"));return}const e=Ea.trim();if(!e)return;await dt({action:"commit",cwd:fe,message:e},o("rightSidebar.commitChanges"))&&Rl("")},[fe,Ea,Ue,dt,o]),Kf=s.useCallback(async()=>{if(!fe||Ue){Wt(o("rightSidebar.selectRepositoryForGitActions"));return}const e=Rn.trim(),n=Cn.trim();await dt({action:"push",cwd:fe,...e?{remote:e}:{},...n?{branch:n}:{}},o("rightSidebar.pushChanges"))},[fe,Cn,Rn,Ue,dt,o]),Vf=s.useCallback(async()=>{if(!fe||Ue){Wt(o("rightSidebar.selectRepositoryForGitActions"));return}const e=Rn.trim(),n=Cn.trim();await dt({action:"pull",cwd:fe,...e?{remote:e}:{},...n?{branch:n}:{}},o("rightSidebar.pullChanges"))},[fe,Cn,Rn,Ue,dt,o]);s.useEffect(()=>{if(!Ye||!fe||Me)return;let e=!1;const n={push:o("rightSidebar.pushChanges"),pull:o("rightSidebar.pullChanges"),commit:o("rightSidebar.commitChanges"),"switch-branch":o("rightSidebar.switchBranch"),"stage-all":o("rightSidebar.stageAll"),"stash-all":o("rightSidebar.stashAll")};return(async()=>{for(const l of["push","pull","commit","switch-branch","stage-all","stash-all"]){if(e)return;const p=await pd({cwd:fe,action:l}).catch(()=>null);if(!p?.ok||p.status!=="running")continue;const u={action:l,cwd:fe},b=n[l]??l;Os({action:l});try{const x=await lo(p,u,b);if(e||!xe(f))return;const z=f?await Ai(f,void 0,{includeNested:oa(f),cacheOnly:!0,action:"git_action_cache_sync",requestSlotId:la(f)}).catch(()=>x.bundle):x.bundle;z&&fs(z,{reloadDiff:!0,cacheOnly:!0})}catch(x){e||Wt(o("rightSidebar.gitActionFailed",{message:x instanceof Error?x.message:"Unknown error"}))}finally{e||Os(null)}return}})(),()=>{e=!0}},[fe,fs,Ye,xe,f,Me,o,lo]);const wi=es?.action==="commit",ki=es?.action==="switch-branch",Si=es?.action==="pull",ji=es?.action==="push",uo=Ye||qu,Ri=to?o("rightSidebar.changeAuditScopeAll"):Rr.length===1?Rr[0].label:`${Rr.length} repos`,Yf=Rr.length>0,Qc=Qs.length>0,Xf=f?t.jsx(Vd,{open:No,onOpenChange:Po,showScopePicker:!0,selectedAll:to,repos:Yt,selectedRoots:eo,onToggleRepo:Lf,onGenerate:e=>Df(bi?"regenerate":"generate",e),disabled:!Yf,generateDisabled:!Qc,inserted:H?.startsWith("context:branch-audit-scope:")??!1,buttonLabel:o(bi?"rightSidebar.branchAuditRegenerate":"rightSidebar.branchAuditGenerate"),insertedLabel:o("rightSidebar.inserted"),title:o("rightSidebar.branchAuditGenerateTitle"),ariaLabel:o("rightSidebar.branchAuditShort"),scopeTitle:o("rightSidebar.changeAuditScopeLabel"),scopeLabel:Ri,allLabel:o("rightSidebar.changeAuditScopeAll"),generateLabel:o(bi?"rightSidebar.branchAuditRegenerate":"rightSidebar.branchAuditGenerate"),onSecondaryAction:()=>{yi()},secondaryDisabled:!Qc||Fs,secondaryLabel:o("rightSidebar.branchAuditViewDiff"),secondaryTitle:o("rightSidebar.branchAuditViewDiffTitle"),secondaryLoading:Fs,loading:bl.size>0,statusTitle:bl.size>0?o("rightSidebar.branchCandidatesLoading"):void 0,extraContent:t.jsx("div",{className:"mb-2 space-y-1.5",children:Cc.length>0&&t.jsx("div",{className:"rounded-md bg-[rgb(var(--warning-rgb)_/_0.12)] px-2 py-1.5 text-[10px] text-[color:var(--warning)]",children:o("rightSidebar.missingBaseReposSkipped",{repositories:Cc.map(e=>e.label).join(K==="zh"?"、":", ")})})}),renderRepoExtra:e=>{const n=Ve.get(e.root),l=ws(e.root,sr[e.root]||n?.context?.branch),p=[],u=new Set,b=(ce,we)=>{!ce||u.has(ce)||(u.add(ce),p.push({value:ce,label:ce,meta:we}))};b(sr[e.root]||n?.context?.branch,o("rightSidebar.pushCurrentBranchBadge"));for(const ce of n?.context?.branches??[])b(ce,ce===n?.context?.branch?o("rightSidebar.pushCurrentBranchBadge"):o("rightSidebar.localBranch"));for(const ce of n?.context?.remoteBranches??[])b(ce,o("rightSidebar.remoteBranch"));const x=[],z=new Set,G=(ce,we)=>{!ce||z.has(ce)||(z.add(ce),x.push({value:ce,label:ce,meta:we}))};G(Rt[e.root],Rt[e.root]?o("rightSidebar.pushUpstreamBadge"):void 0),G(n?.context?.upstream,n?.context?.upstream?o("rightSidebar.pushUpstreamBadge"):void 0);for(const ce of n?.context?.remoteBranches??[])G(ce,"remote");for(const ce of n?.context?.branches??[])G(ce,ce===n?.context?.branch?o("rightSidebar.pushCurrentBranchBadge"):"local");return t.jsxs("div",{className:"grid grid-cols-1 gap-1.5 sm:grid-cols-2",children:[t.jsx(Ns,{label:o("rightSidebar.currentBranchLabel"),value:sr[e.root]||n?.context?.branch||"",options:p,placeholder:o("rightSidebar.switchBranchPlaceholder"),searchPlaceholder:o("rightSidebar.switchBranchSearchPlaceholder"),emptyText:o("rightSidebar.switchNoBranches"),onChange:ce=>{ja(we=>({...we,[e.root]:ce}))}}),t.jsx(Ns,{label:o("rightSidebar.branchAuditBaseLabel"),value:Rt[e.root]||"",options:x,placeholder:o("rightSidebar.branchAuditBasePlaceholder"),searchPlaceholder:o("rightSidebar.branchAuditBaseSearchPlaceholder"),emptyText:o("rightSidebar.branchAuditBaseEmpty"),onChange:ce=>{Ra(we=>({...we,[e.root]:ce}))}}),t.jsxs("label",{className:"sm:col-span-2 flex cursor-pointer items-center justify-between gap-3 rounded-md bg-surface-2 px-2 py-1.5 text-[11px] text-foreground",children:[t.jsxs("span",{className:"min-w-0",children:[t.jsx("span",{className:"block font-medium",children:o("rightSidebar.includeUncommitted")}),t.jsx("span",{className:"block truncate text-[10px] text-muted-foreground",children:o(l?"rightSidebar.includeUncommittedHint":"rightSidebar.includeUncommittedCurrentBranchOnly")})]}),t.jsx("input",{type:"checkbox",checked:l&&(yn[e.root]??!0),disabled:!l,onChange:ce=>Ao(we=>({...we,[e.root]:ce.target.checked})),className:"h-4 w-4 shrink-0 accent-[rgb(var(--primary-rgb))]"})]})]})}}):null,Zc=ca(pt.reduce((e,n)=>Math.max(e,n.injectedAt??0),0),K),Jf=()=>f?t.jsxs("div",{className:"border-b border-border/40 px-1 py-4 last:border-b-0",children:[t.jsxs("button",{type:"button",onClick:()=>gl(e=>{const n=!e;return Et(Bi,n),n}),className:"group flex w-full items-center gap-2 rounded-lg px-1 py-1.5 text-left transition hover:bg-surface-2 active:scale-[0.99]","aria-expanded":Br,children:[t.jsx("span",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-md bg-surface-2 text-muted-foreground group-hover:text-foreground",children:t.jsx(ga,{size:14})}),t.jsxs("span",{className:"min-w-0 flex-1",children:[t.jsx("span",{className:"block truncate text-[12px] font-semibold text-foreground",children:o("rightSidebar.branchAuditTitle")}),t.jsx("span",{className:"block truncate text-[11px] text-muted-foreground",children:Ri})]}),t.jsx("span",{className:`flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground transition group-hover:bg-surface-elevated group-hover:text-foreground ${Br?"rotate-90":""}`,children:t.jsx(Es,{size:13})})]}),Br&&t.jsxs("div",{className:"mt-2 rounded-lg border border-border/10 bg-surface/60 p-2",children:[t.jsxs("div",{className:"mb-2 flex items-center justify-between gap-2",children:[t.jsxs("div",{className:"min-w-0 text-[11px] text-muted-foreground",children:[o("rightSidebar.changeAuditScopeLabel"),": ",Ri]}),Xf]}),Ds&&t.jsx("div",{className:"mb-2 rounded-md bg-surface-2 px-2 py-1.5 text-[11px] text-destructive",children:Ds}),t.jsxs("div",{className:"mt-2 space-y-1.5",children:[gr.map(e=>t.jsxs("div",{className:`flex min-w-0 items-start gap-1 rounded-md transition ${De===e.key?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,children:[t.jsxs("button",{type:"button",onClick:()=>Bf(e),className:"min-w-0 flex-1 px-2 py-1.5 text-left active:scale-[0.99]",children:[t.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[t.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] font-medium text-foreground",children:e.repoLabel}),t.jsxs("span",{className:"shrink-0 rounded bg-surface px-1.5 py-0.5 text-[11px] text-muted-foreground",children:[e.diff.hunks?.length??0," hunk"]})]}),t.jsxs("div",{className:"mt-1 flex min-w-0 flex-wrap items-center gap-1 text-[11px] text-muted-foreground",children:[t.jsx("span",{className:"rounded bg-surface px-1.5 py-0.5",children:e.diff.currentBranch??"HEAD"}),t.jsx("span",{className:"text-muted-foreground/60",children:"→"}),t.jsx("span",{className:"rounded bg-surface px-1.5 py-0.5",children:e.diff.baseRef??e.diff.baseBranch}),t.jsx("span",{className:"rounded bg-surface px-1.5 py-0.5",children:o("rightSidebar.branchAuditViewDiff")})]}),ca(e.createdAt,K)&&t.jsx("div",{className:"mt-1 truncate text-[11px] text-muted-foreground/70",children:ca(e.createdAt,K)})]}),t.jsx("button",{type:"button",onClick:()=>Uf(e.key),className:"mr-1 mt-1 inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:bg-surface hover:text-foreground active:scale-95",title:o("common.delete"),"aria-label":o("common.delete"),children:t.jsx(vo,{size:12})})]},e.key)),ks.length>0?ks.slice(0,Math.max(0,8-gr.length)).map(e=>t.jsxs("div",{className:`flex min-w-0 items-start gap-1 rounded-md transition ${De===e.key?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,children:[t.jsxs("button",{type:"button",onClick:()=>_f(e.key),className:"min-w-0 flex-1 px-2 py-1.5 text-left active:scale-[0.99]",children:[t.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[t.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] font-medium text-foreground",children:e.repoLabel}),t.jsxs("span",{className:"shrink-0 rounded bg-surface px-1.5 py-0.5 text-[11px] text-muted-foreground",children:[e.records.length," hunk"]})]}),t.jsxs("div",{className:"mt-1 flex min-w-0 flex-wrap items-center gap-1 text-[11px] text-muted-foreground",children:[t.jsx("span",{className:"rounded bg-surface px-1.5 py-0.5",children:e.branchName??"HEAD"}),t.jsx("span",{className:"text-muted-foreground/60",children:"→"}),t.jsx("span",{className:"rounded bg-surface px-1.5 py-0.5",children:e.baseRef}),e.diffFingerprint&&t.jsx("span",{className:"rounded bg-surface px-1.5 py-0.5",children:e.diffFingerprint})]}),ca(e.latestInjectedAt,K)&&t.jsx("div",{className:"mt-1 truncate text-[11px] text-muted-foreground/70",children:o("rightSidebar.branchAuditGeneratedAt",{time:ca(e.latestInjectedAt,K)??""})})]}),t.jsx("button",{type:"button",onClick:()=>{Tf(e)},className:"mr-1 mt-1 inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:bg-surface hover:text-foreground active:scale-95",title:o("rightSidebar.branchAuditClearTitle"),"aria-label":o("rightSidebar.branchAuditClearTitle"),children:t.jsx(vo,{size:12})})]},e.key)):gr.length===0?t.jsx("div",{className:"rounded-md bg-surface-2 px-2 py-1.5 text-[11px] text-muted-foreground",children:o("rightSidebar.branchAuditEmpty")}):null]})]})]}):null,Qf=()=>ar&&f&&Un?t.jsxs("div",{className:uo?"overflow-visible":"overflow-hidden",children:[Jf(),t.jsxs("button",{type:"button",onClick:()=>{Ye||Ku(e=>{const n=!e;return n&&fe&&!Un&&!jn&&ri(fe),n})},"aria-expanded":uo,className:`group flex w-full items-center gap-2 px-1 pb-1 pt-4 text-left transition ${Ye?"cursor-default":"rounded-lg hover:bg-surface-2 active:scale-[0.99]"}`,children:[t.jsx("span",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-md bg-surface-2 text-muted-foreground group-hover:text-foreground",children:t.jsx(Nr,{size:14})}),t.jsx("span",{className:"min-w-0 flex-1 truncate text-[12px] font-semibold text-foreground",children:o("rightSidebar.gitQuickActions")}),t.jsxs("span",{className:"flex shrink-0 items-center gap-1",children:[t.jsxs("span",{className:`inline-flex items-center justify-center gap-1 rounded-full px-2 py-0.5 text-[10px] font-medium ${Bn.staged>0?"bg-accent/10 text-accent":"bg-surface-2 text-muted-foreground"}`,children:[jn&&t.jsx(Qe,{size:10,className:"animate-spin"}),Bn.staged>0?o("rightSidebar.stagedCount",{count:Bn.staged}):o("rightSidebar.noStagedChangesShort")]}),!Ye&&t.jsx("span",{className:`flex h-6 w-6 items-center justify-center rounded-md text-muted-foreground transition group-hover:bg-surface-elevated group-hover:text-foreground ${uo?"rotate-90":""}`,children:t.jsx(Es,{size:13})})]})]}),uo&&t.jsxs("div",{className:"space-y-0",children:[Bt.length>1&&t.jsxs("div",{className:"border-b border-border/40 px-1 py-4 last:border-b-0",children:[t.jsx("div",{className:"mb-2 flex items-center justify-between gap-2",children:t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-[12px] font-medium text-foreground",children:o("rightSidebar.gitRepositorySectionTitle")}),t.jsx("div",{className:"mt-0.5 truncate text-[11px] text-muted-foreground",children:xf})]})}),t.jsx(Ns,{label:o("rightSidebar.gitRepositoryLabel"),value:fe??"",options:Bt,placeholder:o("rightSidebar.gitRepositoryPlaceholder"),searchPlaceholder:o("rightSidebar.gitRepositorySearchPlaceholder"),emptyText:o("rightSidebar.gitRepositoryEmpty"),disabled:!!Me,onChange:e=>{Yc(e||null)}}),Ue&&t.jsx("div",{className:"mt-2 rounded-md bg-[rgb(var(--warning-rgb)_/_0.12)] px-2 py-1.5 text-[11px] text-[color:var(--warning)]",children:o("rightSidebar.selectRepositoryForGitActions")})]}),t.jsxs("div",{className:"border-b border-border/40 px-1 py-4 last:border-b-0",children:[t.jsxs("div",{className:"mb-2 flex items-center justify-between gap-2",children:[t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-[12px] font-medium text-foreground",children:o("rightSidebar.branchSectionTitle")}),t.jsx("div",{className:"mt-0.5 h-4 truncate text-[11px] leading-4 text-muted-foreground",children:rs!==yc?yc:null})]}),t.jsxs("button",{type:"button",onClick:()=>{qf()},disabled:!Pf,className:`relative inline-flex h-8 shrink-0 items-center justify-center rounded-md px-3 text-[12px] font-medium transition disabled:cursor-not-allowed disabled:opacity-50 active:scale-95 ${ki?"bg-accent/10 text-accent hover:bg-accent/15":"bg-surface-2 text-foreground hover:bg-surface-elevated"}`,title:o("rightSidebar.switchBranch"),children:[t.jsx("span",{className:Me?.action==="switch-branch"||ki?"opacity-0":"",children:o("rightSidebar.switchBranch")}),Me?.action==="switch-branch"&&t.jsx(Qe,{size:12,className:"absolute animate-spin"}),ki&&Me?.action!=="switch-branch"&&t.jsx("span",{className:"absolute",children:"✓"})]})]}),t.jsx(Ns,{label:o("rightSidebar.currentBranchLabel"),value:rs,options:wf,placeholder:o("rightSidebar.switchBranchPlaceholder"),searchPlaceholder:o("rightSidebar.switchBranchSearchPlaceholder"),emptyText:o("rightSidebar.switchNoBranches"),disabled:!!Me,onChange:Aa})]}),t.jsxs("div",{className:"border-b border-border/40 px-1 py-4 last:border-b-0",children:[t.jsxs("div",{className:"mb-2 flex items-center justify-between gap-2",children:[t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-[12px] font-medium text-foreground",children:o("rightSidebar.commitSectionTitle")}),t.jsx("div",{className:"mt-0.5 truncate text-[11px] text-muted-foreground",children:Ue?o("rightSidebar.selectRepositoryForGitActions"):Bn.staged>0?o("rightSidebar.commitReadyHint",{count:Bn.staged}):o("rightSidebar.commitNeedsStaged")})]}),t.jsxs("button",{type:"button",onClick:()=>{Jc()},disabled:!!Me||Ue||Bn.staged===0||!Ea.trim(),className:`relative inline-flex h-8 shrink-0 items-center justify-center rounded-md px-3 text-[12px] font-medium transition active:scale-95 ${wi?"bg-accent/10 text-accent disabled:bg-accent/10 disabled:text-accent":"bg-primary text-primary-foreground hover:bg-primary/90 disabled:bg-surface-2 disabled:text-muted-foreground"} disabled:cursor-not-allowed`,title:Ue?o("rightSidebar.selectRepositoryForGitActions"):Bn.staged===0?o("rightSidebar.commitNeedsStaged"):o("rightSidebar.commitChanges"),children:[t.jsx("span",{className:Me?.action==="commit"||wi?"opacity-0":"",children:o("rightSidebar.commitChanges")}),Me?.action==="commit"&&t.jsx(Qe,{size:12,className:"absolute animate-spin"}),wi&&Me?.action!=="commit"&&t.jsx("span",{className:"absolute",children:"✓"})]})]}),t.jsx("input",{value:Ea,onChange:e=>Rl(e.target.value),onKeyDown:e=>{(e.metaKey||e.ctrlKey)&&e.key==="Enter"&&(e.preventDefault(),Jc())},placeholder:o("rightSidebar.commitMessagePlaceholder"),disabled:!!Me,className:"w-full min-h-10 rounded-md border border-transparent bg-surface-2 px-3 py-2 text-[13px] placeholder:text-[13px] text-foreground outline-none transition placeholder:text-muted-foreground/70 focus:border-primary focus:ring-1 focus:ring-primary disabled:cursor-not-allowed disabled:opacity-60",maxLength:300})]}),t.jsxs("div",{className:"border-b border-border/40 px-1 py-4 last:border-b-0",children:[t.jsxs("button",{type:"button",onClick:()=>M(e=>!e),className:"group flex w-full items-center justify-between gap-2 rounded-lg px-1 py-1.5 text-left transition hover:bg-surface-2 active:scale-[0.99]","aria-expanded":R,children:[t.jsx("span",{className:"min-w-0 text-[12px] font-medium text-foreground",children:o("rightSidebar.recentCommitsTitle")}),t.jsxs("span",{className:"flex shrink-0 items-center gap-1.5",children:[lt&&t.jsx(Qe,{size:12,className:"animate-spin text-muted-foreground"}),t.jsx("span",{className:`flex h-6 w-6 items-center justify-center rounded-md text-muted-foreground transition group-hover:bg-surface-elevated group-hover:text-foreground ${R?"rotate-90":""}`,children:t.jsx(Es,{size:13})})]})]}),R&&t.jsxs("div",{className:"mt-2 space-y-2",children:[t.jsxs("div",{className:"flex items-center gap-2 rounded-md bg-surface-2 px-2 py-1.5 text-muted-foreground focus-within:bg-surface-elevated",children:[t.jsx(ln,{size:12,className:"shrink-0"}),t.jsx("input",{value:ae,onChange:e=>me(e.target.value),placeholder:o("rightSidebar.recentCommitsSearchPlaceholder"),className:"min-w-0 flex-1 bg-transparent text-[12px] text-foreground placeholder:text-muted-foreground",autoCapitalize:"off",autoCorrect:"off",autoComplete:"off",spellCheck:!1}),ae&&t.jsx("button",{type:"button",onClick:()=>me(""),className:"rounded-full p-0.5 text-muted-foreground hover:bg-surface hover:text-foreground","aria-label":o("rightSidebar.clearSearch"),children:t.jsx(Jt,{size:12})})]}),t.jsxs("div",{className:"max-h-56 space-y-1 overflow-y-auto overscroll-contain pr-1",onScroll:vf,children:[Te.length>0?Te.map(e=>{const[n,...l]=e.split(/\s+/),p=l.join(" ")||e;return t.jsxs("button",{type:"button",onClick:()=>{Of(e)},className:"flex w-full min-w-0 items-start gap-2 rounded-md bg-surface-2 px-2 py-1.5 text-left font-mono text-[10px] transition hover:bg-surface-elevated active:scale-[0.99]",title:p,children:[t.jsx("span",{className:"shrink-0 text-[color:var(--diff-hunk-accent)]",children:n}),t.jsx("span",{className:"min-w-0 flex-1 truncate text-muted-foreground",title:p,children:p}),Ee[n]&&t.jsx("span",{className:`shrink-0 rounded px-1 font-sans text-[10px] ${Ee[n]==="ahead"?"bg-accent/10 text-accent":Ee[n]==="behind"?"bg-surface-2 text-[color:var(--warning)]":"text-muted-foreground"}`,children:o(Ee[n]==="ahead"?"rightSidebar.commitAhead":Ee[n]==="behind"?"rightSidebar.commitBehind":"rightSidebar.commitSynced")}),ka===n&&t.jsx(Qe,{size:11,className:"shrink-0 animate-spin text-muted-foreground"})]},e)}):lt?t.jsx("div",{className:"rounded-md bg-surface-2 px-2 py-2 text-center text-[11px] text-muted-foreground",children:o("common.loading")}):Us?null:t.jsx("div",{className:"rounded-md bg-surface-2 px-2 py-1.5 text-[11px] text-muted-foreground",children:o("rightSidebar.recentCommitsEmpty")}),xr&&t.jsx("div",{className:"flex justify-center rounded-md bg-surface-2 px-2 py-2 text-muted-foreground",children:t.jsx(Qe,{size:12,className:"animate-spin"})}),tn&&!xr&&Te.length>0&&t.jsx("button",{type:"button",onClick:()=>{Js({reset:!1})},className:"w-full rounded-md bg-surface-2 px-2 py-1.5 text-[11px] font-medium text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground",children:o("rightSidebar.recentCommitsLoadMore")})]})]}),Bs&&t.jsx("div",{className:"mt-2 rounded-md bg-destructive/10 px-2 py-1.5 text-[11px] text-destructive",children:Bs}),Us&&t.jsx("div",{className:"mt-2 rounded-md bg-destructive/10 px-2 py-1.5 text-[11px] text-destructive",children:Us})]}),t.jsxs("div",{className:"border-b border-border/40 px-1 py-4 last:border-b-0",children:[t.jsxs("div",{className:"mb-2 flex items-center justify-between gap-2",children:[t.jsx("div",{className:"text-[12px] font-medium text-foreground",children:o("rightSidebar.pushSectionTitle")}),t.jsxs("div",{className:"flex shrink-0 items-center gap-1.5",children:[t.jsxs("button",{type:"button",onClick:()=>{Vf()},disabled:!Cf,className:`relative inline-flex h-8 min-w-[3.25rem] items-center justify-center rounded-md px-3 text-[12px] font-medium transition disabled:cursor-not-allowed disabled:opacity-50 active:scale-95 ${Si?"bg-accent/10 text-accent hover:bg-accent/15":"bg-surface-2 text-foreground hover:bg-surface-elevated"}`,title:o("rightSidebar.pullChanges"),children:[t.jsx("span",{className:Me?.action==="pull"||Si?"opacity-0":"",children:o("rightSidebar.pullChanges")}),Me?.action==="pull"&&t.jsx(Qe,{size:12,className:"absolute animate-spin"}),Si&&Me?.action!=="pull"&&t.jsx("span",{className:"absolute",children:"✓"})]}),t.jsxs("button",{type:"button",onClick:()=>{Kf()},disabled:!Nf,className:`relative inline-flex h-8 min-w-[3.25rem] items-center justify-center rounded-md px-3 text-[12px] font-medium transition disabled:cursor-not-allowed disabled:opacity-50 active:scale-95 ${ji?"bg-accent/10 text-accent hover:bg-accent/15":"bg-surface-2 text-foreground hover:bg-surface-elevated"}`,title:o("rightSidebar.pushChanges"),children:[t.jsx("span",{className:Me?.action==="push"||ji?"opacity-0":"",children:o("rightSidebar.pushChanges")}),Me?.action==="push"&&t.jsx(Qe,{size:12,className:"absolute animate-spin"}),ji&&Me?.action!=="push"&&t.jsx("span",{className:"absolute",children:"✓"})]})]})]}),t.jsxs("div",{className:`mb-2 flex min-w-0 items-center justify-between gap-2 rounded-md px-2 py-1.5 text-[11px] ${Pc.className}`,title:ee?.upstream??void 0,children:[t.jsx("span",{className:"truncate font-medium",children:Pc.text}),t.jsx("span",{className:"w-[6.5rem] shrink-0 truncate text-right text-[10px] opacity-75",children:ee?.upstream??""})]}),t.jsxs("div",{className:`grid gap-1.5 ${Rc?"grid-cols-2":"grid-cols-1"}`,children:[Rc&&t.jsx(Ns,{label:o("rightSidebar.pushRemoteLabel"),value:Rn,options:jc,placeholder:o("rightSidebar.pushRemotePlaceholder"),searchPlaceholder:o("rightSidebar.pushRemoteSearchPlaceholder"),emptyText:o("rightSidebar.pushNoRemotes"),disabled:!!Me,onChange:Ta}),t.jsx(Ns,{label:o("rightSidebar.pushBranchLabel"),value:Cn,options:kf,placeholder:o("rightSidebar.pushBranchPlaceholder",{branch:ee?.branch??"HEAD"}),searchPlaceholder:o("rightSidebar.pushBranchSearchPlaceholder"),emptyText:o("rightSidebar.pushNoBranches"),disabled:!!Me,onChange:Ma})]})]})]})]}):null,Zf=s.useCallback(e=>{const n=at(e,f);if(!n)return[];const l=Wi(e),p=[];return e.canStage&&p.push({key:"stage-file",label:o("rightSidebar.stageFile"),onClick:()=>{dt({action:"stage-file",cwd:n,paths:[e.path]},o("rightSidebar.stageFile"),l)}}),e.canUnstage&&p.push({key:"unstage-file",label:o("rightSidebar.unstageFile"),onClick:()=>{dt({action:"unstage-file",cwd:n,paths:[e.path]},o("rightSidebar.unstageFile"),l)}}),e.canStash&&p.push({key:"stash-file",label:o("rightSidebar.stashFile"),onClick:()=>{dt({action:"stash-file",cwd:n,paths:[e.path]},o("rightSidebar.stashFile"),l)}}),e.canRestoreWorktree&&p.push({key:"restore-worktree-file",label:o("rightSidebar.restoreFile"),destructive:!0,onClick:()=>Sn({kind:"restore",file:e,phrase:""})}),p},[f,dt,o]),eh=s.useCallback(()=>{if(y){w?.();return}_r(0),Hr.current?.slideTo(0),Ur(!1),ft(null)},[w,y]),ed=s.useCallback(e=>{if(T(""),$t(e),Ke(null),ft(null),C(null),V){y&&w?.(),_r(0),Hr.current?.slideTo(0),Ur(!1);return}},[V,w,y,Ke,$t]);s.useEffect(()=>{if(!re||_.getState().pendingTerminalPath!==re)return;_.setState({pendingTerminalPath:null}),(()=>{const n=re,l=n.path;if(!l.startsWith("/"))return;T(""),ft(null),mr(null);const p=!!(f&&(l===f||l.startsWith(`${f}/`)));if(n.kind==="file"){const u=xo(l);In(l),typeof n.line=="number"&&Number.isSafeInteger(n.line)&&n.line>0&&mr(n.line),$t(p?null:u),C({path:l,nonce:++he.current});return}Ke(null),p?($t(null),C({path:l,nonce:++he.current})):(C(null),$t(l)),V&&(y&&w?.(),_r(0),Hr.current?.slideTo(0),Ur(!1))})()},[re,In,V,w,y,f,Ke,$t]),s.useEffect(()=>{r||(_t(!1),Ot(!1))},[r]),s.useEffect(()=>{if(!er&&!Tr)return;const e=n=>{n instanceof globalThis.KeyboardEvent&&n.key!=="Escape"||n instanceof globalThis.MouseEvent&&n.target instanceof Node&&(qn.current?.contains(n.target)||Kn.current?.contains(n.target))||(_t(!1),Ot(!1))};return window.addEventListener("mousedown",e),window.addEventListener("keydown",e),()=>{window.removeEventListener("mousedown",e),window.removeEventListener("keydown",e)}},[Tr,er]);const td=t.jsxs("div",{"data-local-layer":"file-explorer-menu-host",className:"sticky top-0 z-20 bg-surface/95 px-2.5 py-1.5 backdrop-blur",children:[t.jsxs("div",{className:"flex min-h-9 min-w-0 items-center gap-1.5",children:[t.jsx(cu,{buttonClassName:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:bg-surface-2 hover:text-foreground disabled:cursor-not-allowed disabled:opacity-35 active:scale-95",parent:{onClick:mf,disabled:!Ya},root:{onClick:fc,disabled:!f||as===f},refresh:{onClick:gf,disabled:!Q,title:Cl?o("rightSidebar.fileWatchUnavailable",{message:Cl}):void 0}}),t.jsx("div",{className:"min-w-0 flex-1 px-1",title:Q??void 0,children:t.jsxs("div",{className:"flex min-w-0 items-center gap-1 text-[12px] font-medium text-foreground",children:[t.jsx("span",{className:"truncate",children:hf}),Ba==="modified"&&t.jsx("span",{className:"inline-flex shrink-0 text-primary",title:o("fileTree.sortedByModified"),"aria-label":o("fileTree.sortedByModified"),children:t.jsx(gd,{size:11})})]})}),t.jsx("button",{type:"button",onClick:e=>Q&&Kt(Q,Dt??void 0,e.currentTarget,"directory"),disabled:!Q,...Q&&Dt?li(qa(Q),Dt):{},className:`inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md transition disabled:cursor-not-allowed disabled:opacity-35 active:scale-95 ${Dt&&(H===Dt||Ie===Dt)?"bg-surface-elevated text-foreground":"bg-primary/10 text-primary hover:bg-primary/20"}`,"aria-label":o(Dt&&Ie===Dt?"rightSidebar.copied":Dt&&H===Dt?"rightSidebar.inserted":"rightSidebar.insertCurrentFolder"),title:o("rightSidebar.insertCurrentFolder"),children:Dt&&(H===Dt||Ie===Dt)?t.jsx(Ts,{size:13}):t.jsx(va,{size:13})}),t.jsx(Wp,{rootPath:Q,disabled:!Q||!Ju||qo,pressed:Da,saving:qo,onToggle:()=>{if(!Q||qo)return;const e=Q;zl(!0),Ko(null),Qu(e,!Da).catch(()=>{const n=_.getState();(n.explorerRoot??n.rootPath)===e&&Ko(o("rightSidebar.gitIgnoreSaveFailed"))}).finally(()=>zl(!1))}}),t.jsxs("div",{ref:Kn,className:"relative shrink-0",children:[t.jsx("button",{type:"button",onClick:()=>{_t(!1),Ot(e=>!e)},className:`inline-flex h-7 w-7 items-center justify-center rounded-md transition active:scale-95 ${Tr?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,"aria-expanded":Tr,"aria-haspopup":"menu","aria-label":o("sidebar.moreActions"),title:o("sidebar.moreActions"),children:t.jsx(ma,{size:14})}),Tr&&t.jsxs("div",{role:"menu","data-local-layer":"file-explorer-menu",className:"absolute right-0 top-[calc(100%+4px)] z-30 w-48 overflow-hidden rounded-xl border border-border/15 bg-surface p-1 text-[12px] shadow-xl shadow-[0_18px_48px_var(--app-shadow-soft)] animate-fade-in",children:[t.jsxs("button",{type:"button",role:"menuitem",onClick:()=>{Ot(!1),bf()},disabled:!ui,className:`flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left transition disabled:opacity-40 ${Ys?"text-primary hover:bg-primary/10":"text-foreground hover:bg-surface-2"}`,children:[Ys?t.jsx(Dh,{size:14}):t.jsx(bd,{size:14,className:"text-muted-foreground"}),t.jsx("span",{children:o(Ys?"rightSidebar.unpinCurrentFolder":"rightSidebar.pinCurrentFolder")})]}),t.jsxs("button",{type:"button",role:"menuitem",onClick:()=>{Ot(!1),Yu()},className:`flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left transition ${zo?"text-primary hover:bg-primary/10":"text-foreground hover:bg-surface-2"}`,children:[zo?t.jsx(Ap,{size:14}):t.jsx(Qi,{size:14,className:"text-muted-foreground"}),t.jsx("span",{children:o(zo?"rightSidebar.hideHiddenFiles":"rightSidebar.showHiddenFiles")})]}),t.jsxs("button",{type:"button",role:"menuitem",disabled:!Q,onClick:()=>{Q&&(Ot(!1),Xu(Q,Ba==="modified"?"name":"modified"))},className:"flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left text-foreground transition hover:bg-surface-2 disabled:opacity-40",children:[Ba==="modified"?t.jsx(Bh,{size:14}):t.jsx(gd,{size:14,className:"text-muted-foreground"}),t.jsx("span",{children:o(Ba==="modified"?"fileTree.sortByName":"fileTree.sortByModified")})]})]})]})]}),Wl&&t.jsx("p",{role:"alert",className:"px-1 py-1 text-[11px] text-destructive",children:Wl}),f&&(Xa.length>0||pf)&&t.jsxs("div",{className:"mt-1 flex flex-wrap items-center gap-1 pb-0.5 text-[11px]",children:[t.jsx("span",{className:"shrink-0 px-1 text-[10px] font-medium uppercase tracking-[0.14em] text-muted-foreground",children:o("rightSidebar.pinnedFolders")}),t.jsxs("button",{type:"button",onClick:fc,className:`inline-flex max-w-[9rem] shrink-0 items-center gap-1 rounded-md px-2 py-0.5 font-medium transition active:scale-95 ${Q===f?"bg-surface-elevated text-foreground":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,title:f,children:[t.jsx(Tp,{size:10,className:"shrink-0"}),t.jsx("span",{className:"truncate",children:Ge})]}),Xa.map(e=>{const n=e.path,l=e.kind==="file",p=l?ze===n:Q===n;return t.jsxs("span",{className:`group inline-flex max-w-[12rem] shrink-0 items-center rounded-md transition ${p?"bg-primary/15 text-primary":"bg-surface-2 text-foreground hover:bg-surface-elevated"}`,title:n,children:[t.jsxs("button",{type:"button",onClick:()=>l?In(n):$t(n),className:"inline-flex min-w-0 items-center gap-1 px-2 py-0.5 font-medium active:scale-95",children:[l?t.jsx(Yi,{size:10,className:"shrink-0"}):t.jsx(bd,{size:10,className:"shrink-0"}),t.jsx("span",{className:"truncate",children:ut(n)})]}),t.jsx("button",{type:"button",onClick:()=>Nn(n),className:"mr-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground","aria-label":o("rightSidebar.unpinFolder",{name:ut(n)}),title:o("rightSidebar.unpinFolder",{name:ut(n)}),children:t.jsx(Jt,{size:9})})]},n)})]}),t.jsx("span",{"data-local-layer":"file-explorer-divider",className:"pointer-events-none absolute inset-x-0 bottom-0 z-10 h-px bg-border/15","aria-hidden":"true"})]}),Ci=s.useMemo(()=>{if(ts===null)return null;const e=typeof navigator>"u"?void 0:navigator.language,n=Math.max(0,Math.floor((Do-ts)/1e3)),l=new Intl.RelativeTimeFormat(e,{numeric:"auto"}),[p,u]=n<60?[-n,"second"]:n<3600?[-Math.floor(n/60),"minute"]:n<86400?[-Math.floor(n/3600),"hour"]:[-Math.floor(n/86400),"day"];return l.format(p,u)},[Do,ts]),fo="flex min-h-10 w-full items-center gap-2.5 rounded-md px-2.5 text-left text-[12px] text-foreground transition hover:bg-surface-2 focus:bg-surface-2 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 [@media(pointer:coarse)]:min-h-11",rd=f&&!hs?t.jsxs("button",{type:"button",role:"menuitemcheckbox",tabIndex:-1,onClick:()=>{Gf(!Ia)},"aria-checked":Ia,title:o("rightSidebar.multiRepoScanTitle"),className:fo,children:[t.jsx(Nr,{size:15,className:"shrink-0 text-muted-foreground"}),t.jsx("span",{className:"min-w-0 flex-1",children:o("rightSidebar.multiRepoScan")}),Ia&&t.jsx(Ts,{size:14,className:"shrink-0 text-primary"})]}):null,Ni=f?t.jsxs("div",{className:"inline-flex shrink-0 items-center gap-1.5",children:[Ci?t.jsx("span",{className:"whitespace-nowrap text-[10px] text-muted-foreground",title:o("rightSidebar.gitLastUpdated",{time:Ci}),children:Ci}):null,t.jsxs("button",{type:"button",onClick:()=>{Ha()},disabled:wr||ss,"aria-busy":wr&&!ss,className:"inline-flex h-8 shrink-0 items-center justify-center gap-1 rounded-md px-2 text-[11px] text-muted-foreground transition hover:bg-surface-2 hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 active:scale-95 [@media(pointer:coarse)]:min-h-11","aria-label":o("rightSidebar.refreshGit"),title:o("rightSidebar.refreshGit"),children:[t.jsx(il,{size:13,className:wr&&!ss?"animate-spin":""}),t.jsx("span",{children:o("rightSidebar.refreshGitShort")})]}),Ia&&t.jsxs("button",{type:"button",onClick:()=>{ei()},disabled:wr||ss,"aria-busy":ss,className:"inline-flex h-8 shrink-0 items-center justify-center gap-1 rounded-md px-2 text-[11px] text-muted-foreground transition hover:bg-surface-2 hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 active:scale-95 [@media(pointer:coarse)]:min-h-11","aria-label":o("rightSidebar.rescanGit"),title:o("rightSidebar.rescanGit"),children:[ss?t.jsx(Qe,{size:13,className:"animate-spin"}):t.jsx(xd,{size:13}),t.jsx("span",{children:o("rightSidebar.rescanGitShort")})]})]}):null,th=Ql?o("rightSidebar.changeAuditScopeAll"):Mn.length===1?Mn[0].relativeRoot==="."?Ge:Mn[0].relativeRoot||Mn[0].name:`${Mn.length} repos`,rh=e=>f?t.jsxs("div",{role:"none",children:[t.jsx(Vd,{menuItem:!0,open:Co,onOpenChange:n=>{Jn(n),n&&e()},showScopePicker:_n,selectedAll:Ql,repos:Zu,selectedRoots:ir,onToggleRepo:Mf,onGenerate:async n=>{const l=await Ef("generate",n);return l!==!1&&e(),l},disabled:!f,inserted:H===uc,buttonLabel:o("rightSidebar.changeAuditShort"),insertedLabel:o("rightSidebar.inserted"),title:o("rightSidebar.insertChangeAuditPromptTitle"),ariaLabel:o("rightSidebar.insertChangeAuditPrompt"),scopeTitle:o("rightSidebar.changeAuditScopeLabel"),scopeLabel:th,allLabel:o("rightSidebar.changeAuditScopeAll"),generateLabel:o("rightSidebar.changeAuditShort"),loading:Xn,error:!!Xr,statusTitle:Xr??(Xn?o("rightSidebar.changeAuditLoading"):pt.length>0?`${o("rightSidebar.changeAuditLoaded",{count:pt.length})}${Zc?` · ${o("rightSidebar.changeAuditLoadedAt",{time:Zc})}`:""}`:void 0)}),pt.length>0&&t.jsxs("button",{type:"button",role:"menuitem",tabIndex:-1,onClick:()=>{e(),Af()},disabled:Xn||pt.length===0,className:fo,title:o("rightSidebar.clearChangeAuditTitle"),"aria-label":o("rightSidebar.clearChangeAudit"),children:[t.jsx(vo,{size:15,className:"shrink-0 text-muted-foreground"}),t.jsx("span",{children:o("rightSidebar.clearChangeAudit")})]})]}):null,Ss=cr??(X?.available&&f&&Pe.size>0&&Ne.length<=1?{root:f,label:Ge}:null),nd=e=>t.jsxs(t.Fragment,{children:[Ss&&t.jsxs("div",{role:"group","aria-label":o("rightSidebar.gitQuickActions"),children:[t.jsxs("button",{type:"button",role:"menuitem",tabIndex:-1,onClick:()=>{e(),co("stage-all",Ss.root,Ss.label)},disabled:!!Me,className:fo,children:[t.jsx(Gh,{size:15,className:"shrink-0 text-muted-foreground"}),o("rightSidebar.stageAll")]}),t.jsxs("button",{type:"button",role:"menuitem",tabIndex:-1,onClick:()=>{e(),co("stash-all",Ss.root,Ss.label)},disabled:!!Me,className:fo,children:[t.jsx(Up,{size:15,className:"shrink-0 text-muted-foreground"}),o("rightSidebar.stashAll")]})]}),Ss&&t.jsx("div",{role:"separator",className:"mx-2 my-1 h-px bg-border/30"}),rh(e),rd&&t.jsx("div",{role:"separator",className:"mx-2 my-1 h-px bg-border/30"}),rd]}),ho=t.jsxs("div",{className:"flex h-5 flex-nowrap items-center gap-1 overflow-x-auto whitespace-nowrap text-[10px] font-medium [scrollbar-width:none] [&::-webkit-scrollbar]:hidden [&>*]:shrink-0",children:[X?.available&&X.branch&&t.jsxs("span",{className:"inline-flex min-w-0 max-w-[8rem] items-center gap-0.5 truncate rounded bg-surface-2 px-1.5 py-0.5 text-muted-foreground",title:X.branch,children:[t.jsx(Nr,{size:10,className:"shrink-0"}),t.jsx("span",{className:"truncate",children:X.branch})]}),tt.modified>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-[color:var(--diff-hunk-accent)]",children:[tt.modified,"M"]}),tt.added>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-[color:var(--diff-insert-strong)]",children:["+",tt.added]}),tt.deleted>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-[color:var(--diff-delete-strong)]",children:["-",tt.deleted]}),tt.renamed>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-muted-foreground",children:[tt.renamed,"R"]}),tt.copied>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-[color:var(--diff-insert-strong)]",children:[tt.copied,"C"]}),tt.untracked>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-[color:var(--diff-insert-strong)]",children:[tt.untracked,"U"]}),tt.conflicted>0&&t.jsxs("span",{className:"rounded bg-destructive/10 px-1.5 py-0.5 text-destructive",children:[tt.conflicted,"!"]}),tt.other>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-muted-foreground",children:[tt.other,"?"]}),tt.staged>0&&t.jsx("span",{className:"rounded bg-accent/10 px-1.5 py-0.5 text-accent",children:o("rightSidebar.stagedCountShort",{count:tt.staged})})]});return t.jsxs(Jh,{side:"right",isOpen:r,drawerWidthPx:i,onClose:c,onOpen:h,push:m,pinned:d,children:[li.popoverNode,t.jsxs("div",{className:`relative shrink-0 border-b border-border/15 bg-surface px-2 pt-2 ${of?"hidden":""}`,children:[t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx("div",{className:"min-w-0 flex-1 px-1",children:t.jsxs("div",{className:"flex min-h-[1.25rem] items-baseline gap-1.5",children:[t.jsx("span",{className:"truncate text-[13px] font-semibold text-foreground",title:f??void 0,children:Ge}),(!V||Io)&&X?.available&&X.branch&&t.jsxs("span",{className:"inline-flex min-w-0 items-center gap-0.5 truncate text-[11px] text-muted-foreground",title:X.branch,children:[t.jsx(Nr,{size:10,className:"shrink-0"}),t.jsx("span",{className:"max-w-[7rem] truncate",children:X.branch})]})]})}),t.jsx("button",{type:"button",onClick:()=>{const e=!O;ne(e),e?window.requestAnimationFrame(()=>document.querySelector("[data-right-search]")?.focus()):T("")},className:`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full transition active:scale-95 ${O?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,"aria-label":o("rightSidebar.toggleSearch"),title:o("common.search"),children:t.jsx(ln,{size:14})}),t.jsxs("button",{type:"button",role:"switch","aria-checked":qe,onClick:()=>{qr(e=>!e),Ze(!1)},className:`relative inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full transition active:scale-95 ${qe?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,"aria-label":o("rightSidebar.toggleContextDraft"),title:o("rightSidebar.contextDraftTitle"),children:[t.jsx(Mp,{size:14}),!qe&&it.trim()&&t.jsx("span",{className:"absolute right-0.5 top-0.5 h-1.5 w-1.5 rounded-full bg-primary","aria-hidden":"true"})]}),t.jsx("input",{ref:Al,type:"file",multiple:!0,className:"hidden",onChange:e=>{const n=e.target.files;!n||n.length===0||(Ks(Array.from(n)),e.target.value="")}}),t.jsx("input",{ref:Tl,type:"file",accept:"image/*",className:"hidden",onChange:e=>{const n=e.target.files?.[0];e.target.value="",n&&df(n,e.currentTarget.closest("[data-sidebar]")??void 0)}}),t.jsxs("div",{ref:qn,className:"relative shrink-0",children:[t.jsx("button",{type:"button",onClick:()=>{Ot(!1),_t(e=>!e)},className:`relative inline-flex h-8 w-8 items-center justify-center rounded-full transition active:scale-95 ${er?"bg-surface-elevated text-foreground":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,"aria-expanded":er,"aria-haspopup":"menu","aria-label":o("sidebar.moreActions"),title:o("sidebar.moreActions"),children:t.jsx(ma,{size:15})}),er&&t.jsxs("div",{role:"menu",className:"absolute right-0 top-[calc(100%+4px)] z-30 w-56 overflow-hidden rounded-xl border border-border/15 bg-surface/98 p-1 text-[12px] shadow-xl shadow-[0_18px_48px_var(--app-shadow-soft)] backdrop-blur animate-fade-in",children:[["architecture","computer"].map(e=>t.jsxs("button",{type:"button",role:"menuitemcheckbox","aria-checked":or[e],onClick:()=>cf(e,!or[e]),className:"flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left text-foreground transition hover:bg-surface-2",children:[e==="architecture"?t.jsx(Cd,{size:14,className:"text-muted-foreground"}):t.jsx(vd,{size:14,className:"text-muted-foreground"}),t.jsx("span",{className:"flex-1",children:o(e==="architecture"?"rightSidebar.showArchitectureTab":"rightSidebar.showComputerTab")}),t.jsx("span",{"aria-hidden":"true",className:`relative inline-flex h-4 w-7 shrink-0 items-center rounded-full transition ${or[e]?"bg-primary":"bg-surface-elevated"}`,children:t.jsx("span",{className:`absolute h-3 w-3 rounded-full bg-background transition-all ${or[e]?"left-3.5":"left-0.5"}`})})]},e)),t.jsxs("button",{type:"button",role:"menuitemcheckbox","aria-checked":rn,onClick:()=>rc(!rn),className:"flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left text-foreground transition hover:bg-surface-2",children:[t.jsx(yd,{size:14,className:"text-muted-foreground"}),t.jsx("span",{className:"flex-1",children:o("rightSidebar.showAndroidTab")}),t.jsx("span",{"aria-hidden":"true",className:`relative inline-flex h-4 w-7 shrink-0 items-center rounded-full transition ${rn?"bg-primary":"bg-surface-elevated"}`,children:t.jsx("span",{className:`absolute h-3 w-3 rounded-full bg-background transition-all ${rn?"left-3.5":"left-0.5"}`})})]}),t.jsx("div",{className:"my-1 h-px bg-border/15",role:"separator"}),t.jsxs("button",{type:"button",role:"menuitem",onClick:()=>{_t(!1),Al.current?.click()},disabled:za,className:"flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left text-foreground transition hover:bg-surface-2 disabled:opacity-50",children:[za?t.jsx(Qe,{size:14,className:"animate-spin text-muted-foreground"}):t.jsx(Lp,{size:14,className:"text-muted-foreground"}),t.jsx("span",{children:o("rightSidebar.uploadFiles")})]}),t.jsxs("button",{type:"button",role:"menuitem",onClick:()=>{_t(!1),Tl.current?.click()},disabled:za,className:"flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left text-foreground transition hover:bg-surface-2 disabled:opacity-50",children:[za?t.jsx(Qe,{size:14,className:"animate-spin text-muted-foreground"}):t.jsx(Ip,{size:14,className:"text-muted-foreground"}),t.jsx("span",{children:o("rightSidebar.insertLocalImage")})]}),d&&t.jsxs("div",{className:"mt-1 flex items-center gap-2 border-t border-border/15 px-1.5 pt-1.5",role:"group","aria-label":o("rightSidebar.layoutMode"),children:[t.jsx("div",{className:"shrink-0 pl-1 text-[10px] font-medium uppercase tracking-wide text-muted-foreground",children:o("rightSidebar.layoutMode")}),t.jsx("div",{className:"grid min-w-0 flex-1 grid-cols-3 gap-0.5 rounded-lg bg-surface-2 p-0.5",children:[["auto",o("rightSidebar.layoutModeAuto")],["narrow",o("rightSidebar.layoutModeNarrow")],["wide",o("rightSidebar.layoutModeWide")]].map(([e,n])=>{const l=se===e;return t.jsx("button",{type:"button",role:"menuitemradio","aria-checked":l,onClick:()=>{E(e),_t(!1)},className:`rounded-md px-1 py-1.5 text-center text-[11px] font-medium transition active:scale-95 ${l?"bg-primary/15 text-primary":"text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,children:n},e)})})]})]})]}),t.jsx(qh,{side:"right",expanded:!0,onClick:c,className:"h-8 w-8 active:scale-95"})]}),O&&t.jsxs("div",{className:"mt-2 space-y-1.5 pb-0.5",children:[t.jsxs("div",{className:"flex items-center gap-2 rounded-xl bg-surface-2 px-3 py-1.5 text-muted-foreground transition focus-within:bg-surface-elevated",children:[t.jsx(ln,{size:12,className:"shrink-0"}),t.jsx("input",{"data-right-search":!0,type:"search",value:te,onChange:e=>T(e.target.value),placeholder:o(P==="content"?"rightSidebar.searchPlaceholderContent":"rightSidebar.filterChanges"),className:"min-w-0 flex-1 bg-transparent text-[13px] text-foreground placeholder:text-muted-foreground",autoCapitalize:"off",autoCorrect:"off",autoComplete:"off",enterKeyHint:"search",spellCheck:!1}),t.jsxs("div",{className:`flex shrink-0 items-center gap-0.5 rounded-full bg-surface/70 p-0.5 font-medium ${V?"text-[11px]":"text-[10px]"}`,children:[t.jsx("button",{type:"button",onClick:()=>Kc("name"),"aria-pressed":P==="name",className:`rounded-full px-2 transition active:scale-95 ${V?"py-1":"py-0.5"} ${P==="name"?"bg-primary/15 text-primary":"text-muted-foreground/80 hover:text-foreground"}`,children:o("rightSidebar.searchModeName")}),t.jsx("button",{type:"button",onClick:()=>Kc("content"),"aria-pressed":P==="content",className:`rounded-full px-2 transition active:scale-95 ${V?"py-1":"py-0.5"} ${P==="content"?"bg-primary/15 text-primary":"text-muted-foreground/80 hover:text-foreground"}`,children:o("rightSidebar.searchModeContent")})]}),te&&t.jsx("button",{type:"button",onClick:()=>T(""),className:"rounded-full p-0.5 text-muted-foreground hover:bg-surface hover:text-foreground","aria-label":o("rightSidebar.clearSearch"),children:t.jsx(Jt,{size:12})})]}),t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsxs("label",{className:"flex min-w-0 flex-1 items-center gap-2 rounded-lg bg-surface-2 px-2.5 py-1.5 text-muted-foreground transition focus-within:bg-surface-elevated",children:[t.jsx(xd,{size:12,className:"shrink-0 text-primary"}),t.jsx("span",{className:"shrink-0 text-[10px] font-medium",children:o("rightSidebar.searchScope")}),t.jsx("input",{"data-search-scope":!0,value:j,onChange:e=>de(e.target.value),onKeyDown:e=>{e.key==="Enter"&&document.querySelector("[data-right-search]")?.focus()},className:"min-w-0 flex-1 bg-transparent font-mono text-[11px] text-foreground placeholder:text-muted-foreground",placeholder:o("rightSidebar.searchScopePlaceholder"),"aria-label":o("rightSidebar.searchScope"),autoCapitalize:"off",autoCorrect:"off",spellCheck:!1}),j!=="."&&t.jsx("button",{type:"button",onClick:()=>de("."),className:"shrink-0 rounded p-0.5 text-muted-foreground hover:bg-surface hover:text-foreground","aria-label":o("rightSidebar.resetSearchScope"),children:t.jsx(Jt,{size:11})})]}),t.jsxs("button",{type:"button",onClick:()=>ke(e=>!e),"aria-expanded":ve,className:`relative inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg transition active:scale-95 ${ve||Ws.length>0||Se||st||I?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,title:o("rightSidebar.searchOptions"),"aria-label":o("rightSidebar.searchOptions"),children:[t.jsx($p,{size:13}),Ws.length>0&&t.jsx("span",{className:"absolute -right-1 -top-1 min-w-4 rounded-full bg-primary px-1 text-[8px] font-bold leading-4 text-primary-foreground",children:Ws.length})]})]}),ve&&t.jsxs("div",{className:"animate-fade-in rounded-xl bg-surface-2 p-2",children:[t.jsxs("label",{className:"flex items-center gap-2 rounded-lg bg-surface px-2.5 py-1.5 text-muted-foreground focus-within:bg-surface-elevated",children:[t.jsx("span",{className:"shrink-0 text-[10px] font-medium",children:o("rightSidebar.searchExclude")}),t.jsx("input",{"data-search-exclude":!0,value:be,onChange:e=>$(e.target.value),className:"min-w-0 flex-1 bg-transparent font-mono text-[11px] text-foreground placeholder:text-muted-foreground",placeholder:o("rightSidebar.searchExcludePlaceholder"),"aria-label":o("rightSidebar.searchExclude"),autoCapitalize:"off",autoCorrect:"off",spellCheck:!1}),be&&t.jsx("button",{type:"button",onClick:()=>$(""),className:"rounded p-0.5 hover:bg-surface-2 hover:text-foreground","aria-label":o("rightSidebar.clearSearchExclude"),children:t.jsx(Jt,{size:11})})]}),P==="content"&&t.jsx("div",{className:"mt-1.5 flex flex-wrap items-center gap-1",role:"group","aria-label":o("rightSidebar.contentSearchOptions"),children:[[Se,()=>nt(e=>!e),Fp,o("rightSidebar.matchCase")],[st,()=>Ae(e=>!e),Dp,o("rightSidebar.matchWholeWord")],[I,()=>le(e=>!e),Bp,o("rightSidebar.useRegex")]].map(([e,n,l,p])=>t.jsxs("button",{type:"button",onClick:n,"aria-pressed":e,className:`inline-flex items-center gap-1 rounded-lg px-2 py-1 text-[10px] transition ${e?"bg-primary/15 text-primary":"bg-surface text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,children:[t.jsx(l,{size:12}),p]},p))})]})]}),t.jsxs("div",{className:"mt-2 grid gap-0.5 rounded-md bg-surface-2 p-0.5",style:{gridTemplateColumns:`repeat(${(hs?1:3)+Number(or.architecture)+Number(or.computer)+Number(rn)}, minmax(0, 1fr))`},children:[!hs&&t.jsxs(t.Fragment,{children:[t.jsxs("button",{type:"button",onClick:e=>gs("git",e),className:`flex items-center justify-center gap-1 rounded px-2 py-1.5 text-[11px] font-medium transition active:scale-[0.98] ${Ct==="git"?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2"}`,children:[t.jsx(Nr,{size:12}),o("rightSidebar.tabGit")]}),t.jsxs("button",{type:"button",onClick:e=>gs("diff",e),className:`flex items-center justify-center gap-1 rounded px-2 py-1.5 text-[11px] font-medium transition active:scale-[0.98] ${Ct==="diff"?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2"}`,children:[t.jsx(fu,{size:12}),o("rightSidebar.tabChanges"),ys.count>0?t.jsx("span",{className:"text-[10px] text-accent",children:ys.count}):null]})]}),t.jsxs("button",{type:"button",onClick:e=>gs("files",e),className:`flex items-center justify-center gap-1 rounded px-2 py-1.5 text-[11px] font-medium transition active:scale-[0.98] ${Ct==="files"?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2"}`,children:[t.jsx(tu,{size:12}),o("rightSidebar.tabFiles")]}),or.architecture&&t.jsxs("button",{type:"button",onClick:e=>gs("architecture",e),className:`flex items-center justify-center gap-1 rounded px-1 py-1.5 text-[11px] font-medium transition active:scale-[0.98] ${Ln?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2"}`,children:[t.jsx(Cd,{size:12}),o("architecture.tab")]}),or.computer&&t.jsxs("button",{type:"button",onClick:e=>gs("computer",e),className:`flex items-center justify-center gap-1 rounded px-2 py-1.5 text-[11px] font-medium transition active:scale-[0.98] ${ms?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2"}`,children:[t.jsx(vd,{size:12}),o("rightSidebar.tabComputer")]}),rn&&t.jsxs("button",{type:"button",onClick:e=>gs("android",e),className:`flex items-center justify-center gap-1 rounded px-2 py-1.5 text-[11px] font-medium transition active:scale-[0.98] ${Ct==="android"?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2"}`,children:[t.jsx(yd,{size:12}),o("rightSidebar.tabAndroid")]})]}),t.jsx("div",{className:"h-2"}),Sl&&t.jsx("div",{className:"pointer-events-none absolute right-3 top-10 z-20 max-w-[72%] rounded-lg bg-destructive/95 px-3 py-2 text-[11px] font-medium text-destructive-foreground shadow-md animate-fade-in",children:Sl})]}),t.jsxs("div",{className:"relative min-h-0 flex-1 overflow-hidden bg-surface",children:[t.jsx(Rs,{active:Ye,mounted:ar,fallback:t.jsx(zi,{slow:!1}),children:()=>rr?t.jsx("div",{className:"flex h-full min-h-0 flex-col overflow-hidden",children:t.jsx(Ed,{items:If,diffViewType:Uo,inlineMode:Tt,viewControls:d?Zs():void 0,renderPathReference:(e,n)=>ro(on(e,rr.repoRoot??f),o(n==="file"?"rightSidebar.insertThisFile":"fileTree.insertRefTitle")),selectedKey:Fe,onSelect:zt,emptyText:o("rightSidebar.noChanges"),mobile:V,backLabel:o("rightSidebar.backToChangeList"),headerTitle:o("rightSidebar.recentCommitsTitle"),headerMeta:`${rr.headRef??""}${rr.commits?.[0]?` · ${rr.commits[0]}`:""}`,onClose:()=>{$r(null),zt(null)},closeLabel:o("common.back"),wrap:ht,onToggleWrap:io,wrapTitle:o("rightSidebar.wrapLongLines"),wrapOnLabel:o("rightSidebar.wrapOn"),wrapOffLabel:o("rightSidebar.wrapOff"),desktopLayout:V?"stacked":"split",onInsertDiffReference:Wr,onReferenceCopied:jr,insertedReferenceKey:H,copiedReferenceKey:Ie,onClearAuditRecord:so})}):gt?t.jsx("div",{className:"flex h-full min-h-0 flex-col overflow-hidden",children:t.jsx(Ed,{items:gi,diffViewType:Uo,inlineMode:Tt,viewControls:d?Zs():void 0,renderPathReference:(e,n)=>{const l=ue?.comparisonRepos,p=l&&l.length>1?[...l].sort((b,x)=>x.label.length-b.label.length).find(b=>e===b.label||e.startsWith(`${b.label}/`)):void 0,u=p?e===p.label?p.repoRoot:on(e.slice(p.label.length+1),p.repoRoot):on(e,ra?.repoRoot||f);return ro(u,o(n==="file"?"rightSidebar.insertThisFile":"fileTree.insertRefTitle"))},selectedKey:To,onSelect:kn,emptyText:o(ue?"rightSidebar.branchAuditDiffEmpty":"rightSidebar.branchAuditEmpty"),mobile:V,backLabel:o("rightSidebar.backToChangeList"),headerTitle:o(ue?"rightSidebar.branchAuditViewDiff":"rightSidebar.branchAuditTitle"),headerMeta:ra?`${ra.repoLabel} · ${ra.branchName??"HEAD"} → ${ra.baseRef}`:void 0,onClose:()=>{++xt.current,br(!1),bt(!1),Mt(null)},closeLabel:o("common.back"),wrap:ht,onToggleWrap:io,wrapTitle:o("rightSidebar.wrapLongLines"),wrapOnLabel:o("rightSidebar.wrapOn"),wrapOffLabel:o("rightSidebar.wrapOff"),desktopLayout:V?"stacked":"split",onInsertDiffReference:Wr,onReferenceCopied:jr,insertedReferenceKey:H,copiedReferenceKey:Ie,onClearAuditRecord:so,localOptions:ue?.comparisonRepos?.map(e=>({key:e.repoRoot,label:e.label,checked:e.includeUncommitted??ue.includeUncommitted??!1,disabled:!(e.canIncludeUncommitted??ws(e.repoRoot,e.head)),onChange:n=>{yi({refresh:!0,repoRoot:e.repoRoot,includeUncommitted:n})}})),onHunkGitAction:ue?.includeUncommitted?Wf:void 0,error:Ds,actionsBusy:wa>0,onRefresh:()=>{yi({refresh:!0})},refreshing:Fs,refreshLabel:o("rightSidebar.branchAuditRefreshDiff"),refreshTitle:o("rightSidebar.branchAuditRefreshDiff"),walkthroughs:$f,onWalkthroughNavigate:Ff,initialDetailScrollTop:ue&&De?Qn[De]:void 0,onDetailScrollPositionChange:Hf,externalSwiperRef:V?Xl:void 0,onMobileSlideChange:V?Lo:void 0})}):t.jsx("div",{className:"h-full overflow-y-auto overscroll-contain bg-surface pb-6",children:ar&&f&&Un?t.jsx("div",{className:"px-3",children:Qf()}):wr?t.jsx(zi,{slow:Ul}):Pn?t.jsx(bo,{message:Pn,onRetry:()=>{ti()}}):Zd(X)?t.jsx("div",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:o(f?"rightSidebar.gitUnavailable":"fileTree.noWorkingDir")}):X?.available===!1?t.jsx(bo,{message:X.error??o("rightSidebar.gitChangesLoadFailed"),onRetry:()=>{Ha()}}):f?t.jsx(zi,{slow:Ul}):t.jsx("div",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:o(f?"rightSidebar.gitUnavailable":"fileTree.noWorkingDir")})})}),t.jsx(Rs,{active:lr,mounted:Ou||lr,children:()=>V?t.jsxs(Yh,{className:"h-full min-h-0 w-full","data-file-browser-keyboard":!0,tabIndex:-1,onKeyDown:sc,slidesPerView:1,resistanceRatio:.45,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:".swiper-no-swiping",allowTouchMove:!1,touchAngle:75,touchStartPreventDefault:!1,onSwiper:e=>{Hr.current=e,e.slideTo(Mo,0)},onSlideChange:e=>{if(_r(e.activeIndex),qs.current===e.activeIndex){qs.current=null;return}e.activeIndex===0&&(Ur(!1),ft(null),w?.())},children:[t.jsx(kd,{className:"h-full min-h-0",children:t.jsxs("div",{ref:En,onScroll:nc,onDragOver:Wa,onDragEnter:Wa,onDragLeave:oc,onDrop:ic,className:"h-full overflow-auto overscroll-contain bg-surface relative",children:[Nl&&t.jsx("div",{className:"pointer-events-none absolute left-3 right-3 top-3 z-10 flex justify-center",children:t.jsx("div",{className:"rounded-xl bg-surface-elevated px-4 py-2 text-sm font-semibold text-foreground shadow-lg",children:o("rightSidebar.dropToUpload")})}),!te.trim()&&td,t.jsx(wd,{rootPath:Q??"",onFileSelect:In,onPathReference:Kt,getReferenceText:qa,onReferenceCopied:jr,insertedReferenceKey:H,copiedReferenceKey:Ie,onDirectoryRoot:hc,onSearchFromDirectory:pc,onDirectoryPinToggle:mc,onFilePinToggle:gc,pinnedPaths:Fn,selectedFilePath:ze,query:te,searchRootPath:Gl,searchOptions:ql,searchMode:P,onContentMatchSelect:ai,onDirectoryDropFiles:(e,n)=>Ks(n,e),revealDirectory:ye,canOpenInFileBrowser:Pl,onOpenInFileBrowser:ac})]})}),t.jsx(kd,{className:"h-full min-h-0",children:t.jsx("div",{className:"h-full overflow-hidden bg-surface",children:t.jsx(jo,{filePath:_u||Mo===1?ze:null,active:r&&lr&&Mo===1,onInsertReference:Kt,onInsertText:zr,onInsertFeature:Va,onReviewReference:Va,onReferenceCopied:jr,onClose:eh,onDirectoryLinkOpen:ed,isMobile:!0,lineRange:pr,onLineRangeChange:ft,insertedReferenceKey:H,copiedReferenceKey:Ie,scrollToLine:Vn,onScrollToLineHandled:()=>mr(null),markdownOutlineOpen:B,markdownOutlineCloseSignal:F,onOpenMarkdownOutline:Z,onCloseMarkdownOutline:L,markdownImageLightboxOpen:q,markdownImageLightboxCloseSignal:ie,onOpenMarkdownImageLightbox:Y,onCloseMarkdownImageLightbox:ge})})})]}):t.jsxs("div",{"data-file-browser-keyboard":!0,className:"flex h-full min-h-0",tabIndex:-1,onKeyDown:sc,children:[t.jsxs("div",{ref:En,onScroll:nc,onDragOver:Wa,onDragEnter:Wa,onDragLeave:oc,onDrop:ic,className:"shrink-0 overflow-auto overscroll-contain bg-surface relative",style:{width:_o},children:[Nl&&t.jsx("div",{className:"pointer-events-none absolute left-3 right-3 top-3 z-10 flex justify-center",children:t.jsx("div",{className:"rounded-xl bg-surface-elevated px-4 py-2 text-sm font-semibold text-foreground shadow-lg",children:o("rightSidebar.dropToUpload")})}),!te.trim()&&td,t.jsx(wd,{rootPath:Q??"",onFileSelect:In,onPathReference:Kt,getReferenceText:qa,onReferenceCopied:jr,insertedReferenceKey:H,copiedReferenceKey:Ie,onDirectoryRoot:hc,onSearchFromDirectory:pc,onDirectoryPinToggle:mc,onFilePinToggle:gc,pinnedPaths:Fn,selectedFilePath:ze,query:te,searchRootPath:Gl,searchOptions:ql,searchMode:P,onContentMatchSelect:ai,onDirectoryDropFiles:(e,n)=>Ks(n,e),revealDirectory:ye,canOpenInFileBrowser:Pl,onOpenInFileBrowser:ac})]}),t.jsx("div",{role:"separator","aria-orientation":"vertical","aria-label":o("rightSidebar.resizeFileTree"),title:o("rightSidebar.resizeFileTree"),"data-local-layer":"file-preview-separator",className:"group relative z-10 w-2 shrink-0 cursor-col-resize touch-none border-l border-border/15 bg-surface",onPointerDown:ef,onPointerMove:tf,onPointerUp:tc,onPointerCancel:tc,onDoubleClick:()=>{Oo(nl),Et(Ps,nl)},children:t.jsx("span",{className:"absolute left-1/2 top-0 h-full w-px -translate-x-1/2 bg-border/20 transition group-hover:bg-primary/45"})}),t.jsx("div",{className:"min-w-0 flex-1 overflow-hidden bg-surface",children:t.jsx(jo,{filePath:ze,active:r&&lr,onInsertReference:Kt,onInsertText:zr,onInsertFeature:Va,onReviewReference:Va,onReferenceCopied:jr,onDirectoryLinkOpen:ed,isMobile:!1,lineRange:pr,onLineRangeChange:ft,insertedReferenceKey:H,copiedReferenceKey:Ie,scrollToLine:Vn,onScrollToLineHandled:()=>mr(null),markdownOutlineOpen:B,markdownOutlineCloseSignal:F,onOpenMarkdownOutline:Z,onCloseMarkdownOutline:L,markdownImageLightboxOpen:q,markdownImageLightboxCloseSignal:ie,onOpenMarkdownImageLightbox:Y,onCloseMarkdownImageLightbox:ge})})]})}),t.jsx(Rs,{active:Nt,mounted:zu||Nt,children:()=>ni?t.jsx(Kh,{}):V?t.jsx(Xi,{mobile:!0,backLabel:o("rightSidebar.backToChangeList"),externalSwiperRef:Zo,onMobileSlideChange:Lo,groups:Xt.length>0?Ic():[],mode:jt,onModeChange:oo,selectedKey:ze,scrollToKey:Uc,scrollToKeyNonce:La.nonce,compact:!1,collapsedDirectoryKeys:hn,onToggleDirectory:Hc,onSelectFile:e=>{const n=On.get(e.key);n&&ao(Pr(n))},renderLeading:$c,renderTrailing:e=>{const n=On.get(e.key);return n?Mc(n):null},renderDirectoryTrailing:Lc,renderSubtitle:e=>{const n=On.get(e.key);return n?Tc(n):null},listContainerClassName:"termdock-native-select min-h-0 px-2 pb-[calc(env(safe-area-inset-bottom)+4.5rem)]",renderListHeader:e=>f&&t.jsxs("div",{className:"px-0 py-0",children:[ho&&t.jsx("div",{className:"mb-2",children:ho}),t.jsxs("div",{className:"flex items-center justify-between gap-2",children:[t.jsx("div",{className:"min-w-0",children:t.jsx("div",{className:"text-[10px] font-medium uppercase tracking-[0.14em] text-muted-foreground",children:o("rightSidebar.allChanges")})}),t.jsxs("span",{className:"shrink-0 text-[10px] text-muted-foreground",children:[Xt.length,"/",ys.count]})]}),t.jsxs(Nd,{actions:nd,children:[Ec(),e,d&&Zs(),Ni]},f),cr&&t.jsxs("div",{className:"mt-2 flex items-center gap-1.5",children:[t.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] font-medium text-foreground",children:cr.label}),cr.branch&&t.jsx("span",{className:"max-w-[7rem] truncate rounded bg-surface-2 px-1.5 py-0.5 text-[10px] text-muted-foreground",children:cr.branch})]}),!cr&&_n&&t.jsxs("div",{className:"mt-2 flex items-center gap-1.5 rounded-md bg-surface-2 px-2 py-1.5 text-[11px] text-muted-foreground",children:[t.jsx(Nr,{size:12,className:"shrink-0"}),t.jsx("span",{className:"min-w-0 flex-1 truncate",children:o("rightSidebar.selectRepositoryForDiff")})]})]}),aiContent:Za?(e=>Oc(e)):void 0,emptyContent:ni?null:Pn&&Pe.size===0?t.jsx(bo,{message:Pn,onRetry:()=>{ti()}}):Pe.size===0?t.jsx("div",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:o("rightSidebar.noChanges")}):Xt.length===0?t.jsx("div",{className:"bg-surface-2 px-3 py-4 text-center text-xs text-muted-foreground",children:o("rightSidebar.noMatchingChanges")}):null,renderMobileDetailHeader:({slideToList:e})=>t.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[t.jsxs("button",{type:"button",onClick:e,className:"inline-flex h-9 shrink-0 items-center gap-1.5 rounded-full bg-surface-2 px-3 text-xs font-semibold text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95",title:o("rightSidebar.backToChangeList"),children:[t.jsx(ba,{size:14}),o("rightSidebar.backToChangeList")]}),t.jsxs("div",{className:"ml-auto flex min-w-0 flex-wrap items-center justify-end gap-1.5",children:[d&&Zs(),t.jsxs("button",{type:"button",onClick:io,"aria-pressed":ht,title:o("rightSidebar.wrapLongLines"),className:`inline-flex h-9 shrink-0 items-center gap-1 rounded-full px-3 text-[11px] font-medium transition active:scale-95 ${ht?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:text-foreground"}`,children:[t.jsx("span",{className:"font-mono text-[12px] leading-none",children:"Aa"}),t.jsx("span",{children:o(ht?"rightSidebar.wrapOn":"rightSidebar.wrapOff")})]}),Ni]})]}),detailContainerClassName:"termdock-native-select termdock-diff-stream-scroller min-h-0",files:Fc,activePane:Nt,wrap:ht,diffViewType:Uo,inlineMode:Tt,diffOptions:qc,reloadKey:Vr,renderStreamBadge:e=>t.jsx(pa,{status:e}),onHunkGitAction:Vc,onInsertDiffReference:Wr,onReferenceCopied:jr,insertedReferenceKey:H,copiedReferenceKey:Ie,onClearAuditRecord:so,onDetailScroll:no}):t.jsx(Xi,{mobile:!1,desktopLayout:"split",desktopSidePanel:null,desktopListClassName:"w-[320px] min-w-[260px] shrink-0 overflow-y-auto overscroll-contain border-r border-border/15 bg-surface",backLabel:o("rightSidebar.backToChangeList"),groups:Xt.length>0?Ic():[],mode:jt,onModeChange:oo,selectedKey:ze,scrollToKey:Uc,scrollToKeyNonce:La.nonce,compact:!0,collapsedDirectoryKeys:hn,onToggleDirectory:Hc,onSelectFile:e=>{const n=On.get(e.key);n&&ao(Pr(n))},renderLeading:$c,renderTrailing:e=>{const n=On.get(e.key);return n?Mc(n):null},renderDirectoryTrailing:Lc,renderSubtitle:e=>{const n=On.get(e.key);return n?Tc(n):null},aiContent:Za?(e=>Oc(e)):void 0,emptyContent:ni?null:Pn&&Pe.size===0?t.jsx(bo,{message:Pn,onRetry:()=>{ti()}}):Pe.size===0?t.jsx("div",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:o("rightSidebar.noChanges")}):Xt.length===0?t.jsx("div",{className:"bg-surface-2 px-3 py-4 text-center text-xs text-muted-foreground",children:o("rightSidebar.noMatchingChanges")}):null,renderListHeader:e=>f&&t.jsxs("div",{className:"px-0 py-0",children:[ho&&t.jsx("div",{className:"mb-2",children:ho}),t.jsxs("div",{className:"flex items-center justify-between gap-2",children:[t.jsx("span",{className:"px-1 text-[10px] font-medium uppercase tracking-[0.14em] text-muted-foreground",children:o("rightSidebar.allChanges")}),t.jsx("div",{className:"flex items-center gap-1.5",children:t.jsxs("span",{className:"text-[10px] text-muted-foreground",children:[Xt.length,"/",ys.count]})})]}),t.jsxs(Nd,{actions:nd,children:[Ec(),e,Zs(),t.jsxs("button",{type:"button",onClick:io,"aria-pressed":ht,title:o("rightSidebar.wrapLongLines"),className:`inline-flex h-7 shrink-0 items-center gap-1 rounded-full px-2 text-[10px] font-semibold transition active:scale-95 ${ht?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:text-foreground"}`,children:[t.jsx("span",{className:"font-mono text-[12px] leading-none",children:"Aa"}),t.jsx("span",{children:o(ht?"rightSidebar.wrapOn":"rightSidebar.wrapOff")})]}),Ni]},f),cr&&t.jsxs("div",{className:"mt-2 flex items-center gap-1.5",children:[t.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] font-medium text-foreground",children:cr.label}),cr.branch&&t.jsx("span",{className:"max-w-[7rem] truncate rounded bg-surface-2 px-1.5 py-0.5 text-[10px] text-muted-foreground",children:cr.branch})]}),!cr&&_n&&t.jsxs("div",{className:"mt-2 flex items-center gap-1.5 rounded-md bg-surface-2 px-2 py-1.5 text-[11px] text-muted-foreground",children:[t.jsx(Nr,{size:12,className:"shrink-0"}),t.jsx("span",{className:"min-w-0 flex-1 truncate",children:o("rightSidebar.selectRepositoryForDiff")})]})]}),files:Fc,activePane:Nt,wrap:ht,diffViewType:Kr,inlineMode:Tt,diffOptions:qc,reloadKey:Vr,renderStreamBadge:e=>t.jsx(pa,{status:e}),onHunkGitAction:Vc,onInsertDiffReference:Wr,onReferenceCopied:jr,insertedReferenceKey:H,copiedReferenceKey:Ie,onClearAuditRecord:so,onDetailScroll:no})}),t.jsx(Rs,{active:Ln,mounted:or.architecture&&(sf||r&&Ln),children:t.jsx(s.Suspense,{fallback:t.jsx("p",{role:"status",className:"p-4 text-sm text-muted-foreground",children:o("architecture.loading")}),children:t.jsx(ug,{rootPath:f,active:r&&Ln,onInsertPrompt:(e,n)=>zr(e,`architecture:${f}`,n),renderSource:e=>f&&t.jsx(Jg,{rootPath:f,file:e,active:r&&Ln,isMobile:V,onInsertReference:Kt,onInsertText:zr,onReferenceCopied:jr,insertedReferenceKey:H,copiedReferenceKey:Ie},`${e.path}:${e.line??1}`),onOpenFile:e=>{f&&(It("files"),$t(null),ai(`${f.replace(/\/+$/,"")}/${e.path}`,e.line??1))}},f)})}),t.jsx(Rs,{active:r&&ms,mounted:or.computer&&(rf||r&&ms),children:t.jsx(s.Suspense,{fallback:t.jsx("div",{className:"p-3 text-xs text-muted-foreground",children:o("computer.loading")}),children:t.jsx(fg,{active:r&&ms})})}),t.jsx(Rs,{active:ps,mounted:Fo&&rn,children:Wu?t.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-2 p-4 text-center text-[11px] text-muted-foreground",children:[t.jsx("span",{children:o("android.splitDockedHint")}),t.jsx("button",{type:"button",onClick:()=>{Ei.getState().setDock(Mi,null),ua({androidPanel:{docked:null}}).catch(()=>{})},className:"rounded bg-surface-2 px-2 py-1 text-foreground",children:o("android.splitClose")})]}):t.jsx(fp,{sessionId:a??null,onCloseTab:()=>rc(!1),onInsertPrompt:async(e,n)=>{if(!await Wr("android-deps",e,void 0,n))throw new Error(o("rightSidebar.uploadReferenceRejected"))},onInsertFile:ff,onRecordingComplete:uf})})]}),r&&Gn&&t.jsx("div",{role:"alert",className:"shrink-0 border-t border-border/15 px-3 py-2 text-xs text-destructive",children:o("rightSidebar.referenceInsertFailed")}),r&&Ft.task&&t.jsx(xm,{task:Ft.task,onCancel:Ft.cancel,onRetry:()=>{Ft.retry()},onDismiss:Ft.dismiss,labels:{uploading:o("rightSidebar.uploadPending"),inserting:o("rightSidebar.uploadInserting"),done:o(Ft.task.kind==="image"?"rightSidebar.uploadReferenceDone":"rightSidebar.uploadDone",{count:Ft.task.uploaded.length}),failed:o("rightSidebar.uploadFailed"),canceled:o("rightSidebar.uploadCanceled"),referenceRejected:o("rightSidebar.uploadReferenceRejected"),limit:o("rightSidebar.uploadLimit"),cancel:o("common.cancel"),retry:o("common.retry"),dismiss:o("common.close"),files:o("rightSidebar.uploadFileCount",{count:Ft.task.files.length})}}),r&&qe&&t.jsx(hm,{value:it,collapsed:fr,autoCollapseAfterSend:ot,focusRequest:St,insertError:un?o("rightSidebar.contextDraftInsertFailed"):null,onChange:e=>{Mr(!1),hr(e)},onCollapsedChange:Ze,onAutoCollapseAfterSendChange:Ms,onDisable:()=>qr(!1),onClear:()=>hr(""),onInsert:e=>dc(!1,e),onInsertAndSend:e=>dc(!0,e),labels:{title:o("rightSidebar.contextDraftTitle"),hint:o("rightSidebar.contextDraftHint"),placeholder:o("rightSidebar.contextDraftPlaceholder"),collapse:o("rightSidebar.contextDraftCollapse"),expand:o("rightSidebar.contextDraftExpand"),disable:o("rightSidebar.contextDraftDisable"),clear:o("rightSidebar.contextDraftClear"),insert:o("rightSidebar.contextDraftInsert"),insertAndSend:o("rightSidebar.contextDraftInsertAndSend"),inserted:o("rightSidebar.contextDraftInserted"),sent:o("rightSidebar.contextDraftSent"),pending:o("rightSidebar.contextDraftPending"),send:o("rightSidebar.contextDraftSend"),appended:o("rightSidebar.contextDraftAppended"),resize:o("rightSidebar.contextDraftResize"),autoCollapseAfterSend:o("rightSidebar.contextDraftAutoCollapseAfterSend"),characterCount:e=>o("rightSidebar.contextDraftCharacterCount",{count:e})}}),Rf(),ct&&typeof document<"u"&&zn.createPortal(t.jsx("div",{className:"fixed inset-0 z-modal-backdrop bg-[var(--app-backdrop)] backdrop-blur-sm",onClick:()=>Sn(null),children:t.jsxs("div",{className:"fixed inset-x-3 bottom-[max(1.5rem,env(safe-area-inset-bottom,0px))] z-modal-panel mx-auto max-w-md rounded-2xl border border-border/20 bg-surface-elevated p-4 shadow-2xl",onClick:e=>e.stopPropagation(),children:[t.jsx("div",{className:"text-sm font-semibold text-foreground",children:ct.kind==="restore"?o("rightSidebar.confirmRestoreTitle"):o("rightSidebar.confirmStashAllTitle")}),t.jsx("div",{className:"mt-2 text-xs leading-relaxed text-muted-foreground",children:ct.kind==="restore"?o("rightSidebar.confirmRestoreDescription",{path:iu(ct.file.absolutePath,f)}):o("rightSidebar.confirmStashAllDescription")}),ct.kind==="restore"&&t.jsx("input",{value:ct.phrase,onChange:e=>Sn({...ct,phrase:e.target.value}),placeholder:o("rightSidebar.confirmRestorePlaceholder"),className:"mt-3 w-full rounded-xl border border-border/20 bg-surface-2 px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground",autoFocus:!0}),t.jsxs("div",{className:"mt-4 flex justify-end gap-2",children:[t.jsx("button",{type:"button",onClick:()=>Sn(null),className:"rounded-full bg-surface-2 px-3 py-1.5 text-xs font-medium text-muted-foreground hover:bg-surface-elevated hover:text-foreground",children:o("common.cancel")}),t.jsx("button",{type:"button",disabled:!!Me||ct.kind==="restore"&&ct.phrase.trim()!==o("rightSidebar.confirmRestorePhrase"),onClick:()=>{if(ct.kind==="restore"){const e=at(ct.file,f);if(!e)return;dt({action:"restore-worktree-file",cwd:e,paths:[ct.file.path],confirm:{acknowledged:!0,phrase:ct.phrase}},o("rightSidebar.restoreFile"),Wi(ct.file))}else{const e=ct.repoRoot??f;if(!e)return;dt({action:"stash-all",cwd:e},o("rightSidebar.stashAll"),`repo:${e}`)}},className:`rounded-full px-3 py-1.5 text-xs font-semibold disabled:opacity-50 ${ct.kind==="restore"?"bg-destructive text-destructive-foreground hover:bg-destructive/90":"bg-primary text-primary-foreground hover:bg-primary/90"}`,children:o(Me?"rightSidebar.gitActionRunning":"rightSidebar.confirmAction")})]})]})}),document.body)]})}const _b=Object.freeze(Object.defineProperty({__proto__:null,FilePreview:jo,MarkdownImageLightbox:bp,MarkdownPreview:lu,RightSidebar:Qg,__testParseMarkdownListBlock:xp,buildMarkdownPreviewBlocks:vp,buildMarkdownPreviewRenderResult:yp,collectKnownGitRepoRoots:Au,computeMarkdownImageDisplayBox:wp,getMarkdownHeadingOutline:kp,getMarkdownHeadingPathAtLine:Sp,getNextMarkdownPreviewLineRange:Ig,isSvgImageSrc:jp,mountRightSidebarRepoPickerOverlay:wu,replaceGitRepositorySnapshot:Bu,resolveMarkdownLocalLinkTarget:Rp,resolveRightSidebarDiffViewType:Pu,shouldCloseMarkdownImageLightboxDrag:Cp,showsGitRepoGroupHeader:sl},Symbol.toStringTag,{value:"Module"}));export{_b as R,Gp as c,Ub as m};
|