uigraph 0.0.1 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +252 -0
- package/dist/agents.md +28 -0
- package/dist/bin.mjs +4583 -0
- package/dist/plan-prompt.md +56 -0
- package/dist/prompt.md +44 -0
- package/dist/schema/actor.graphqls +8 -0
- package/dist/schema/assets.graphqls +18 -0
- package/dist/schema/auth.graphqls +25 -0
- package/dist/schema/catalog.graphqls +451 -0
- package/dist/schema/comments.graphqls +32 -0
- package/dist/schema/component.graphqls +62 -0
- package/dist/schema/dependency.graphqls +63 -0
- package/dist/schema/diagram.graphqls +137 -0
- package/dist/schema/docs.graphqls +53 -0
- package/dist/schema/features.graphqls +10 -0
- package/dist/schema/github_diagram.graphqls +32 -0
- package/dist/schema/github_onboarding.graphqls +77 -0
- package/dist/schema/org.graphqls +48 -0
- package/dist/schema/saved_query.graphqls +75 -0
- package/dist/schema/schema.graphqls +5 -0
- package/dist/schema/testpack.graphqls +13 -0
- package/dist/schema/uimap.graphqls +403 -0
- package/dist/uigraph-mark.png +0 -0
- package/dist/viewer/animated-nodes/Authentication.gif +0 -0
- package/dist/viewer/animated-nodes/Data-Analysis.gif +0 -0
- package/dist/viewer/animated-nodes/Document.gif +0 -0
- package/dist/viewer/animated-nodes/Laptop.gif +0 -0
- package/dist/viewer/animated-nodes/Loading.gif +0 -0
- package/dist/viewer/animated-nodes/Message.gif +0 -0
- package/dist/viewer/animated-nodes/Mobile-Analytics.gif +0 -0
- package/dist/viewer/animated-nodes/Notification.gif +0 -0
- package/dist/viewer/animated-nodes/Security.gif +0 -0
- package/dist/viewer/animated-nodes/Send-Message.gif +0 -0
- package/dist/viewer/animated-nodes/Server.gif +0 -0
- package/dist/viewer/animated-nodes/Settings.gif +0 -0
- package/dist/viewer/animated-nodes/Stats.gif +0 -0
- package/dist/viewer/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/viewer/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/viewer/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/viewer/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/viewer/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/viewer/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/viewer/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/viewer/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/viewer/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/viewer/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/viewer/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/viewer/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/viewer/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/viewer/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/viewer/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/viewer/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/viewer/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/viewer/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/viewer/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/viewer/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/viewer/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/viewer/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/viewer/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/viewer/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/viewer/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/viewer/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/viewer/assets/__animated-nodes.DI0XYTuw-C-Pp0d4E.js +1 -0
- package/dist/viewer/assets/__aws-icons.agWBtDk7-CePtapr2.js +1 -0
- package/dist/viewer/assets/__azure-icons.DgR1F6C6-DcLey4UX.js +1 -0
- package/dist/viewer/assets/abap-BdImnpbu.js +1 -0
- package/dist/viewer/assets/abnfDiagram-VCTEODGH-D7zWJuPJ.js +1 -0
- package/dist/viewer/assets/actionscript-3-B3316cI-.js +1 -0
- package/dist/viewer/assets/actor-avatar-Bu-mKKXB.js +1 -0
- package/dist/viewer/assets/ada-BIOnG6TC.js +1 -0
- package/dist/viewer/assets/ahk-BrbAagtO.js +1 -0
- package/dist/viewer/assets/ahk2-8Zs4aa1G.js +1 -0
- package/dist/viewer/assets/andromeeda-C4gqWexZ.js +1 -0
- package/dist/viewer/assets/angular-html-D_SYSyRt.js +1 -0
- package/dist/viewer/assets/angular-ts-DGq0tZX5.js +1 -0
- package/dist/viewer/assets/apache-Pmp26Uib.js +1 -0
- package/dist/viewer/assets/apex-DhZFqWV2.js +1 -0
- package/dist/viewer/assets/api-adapters-tfr51BsS.js +3 -0
- package/dist/viewer/assets/api-endpoints-D-Whnnwd.js +172 -0
- package/dist/viewer/assets/api-group-endpoints-page-B9R1EI4i.js +107 -0
- package/dist/viewer/assets/api-r74Oi8H6.js +1 -0
- package/dist/viewer/assets/apl-ChzvTHjC.js +1 -0
- package/dist/viewer/assets/applescript-Co6uUVPk.js +1 -0
- package/dist/viewer/assets/ara-BRHolxvo.js +1 -0
- package/dist/viewer/assets/arc-DauzQXFu.js +1 -0
- package/dist/viewer/assets/architectureDiagram-5GKGNRK7-CXzgHd-c.js +36 -0
- package/dist/viewer/assets/arrow-left-DpQqmf17.js +6 -0
- package/dist/viewer/assets/asciidoc-CSVQ5wI8.js +1 -0
- package/dist/viewer/assets/asm-D_Q5rh1f.js +1 -0
- package/dist/viewer/assets/astro-DTjqU0_L.js +1 -0
- package/dist/viewer/assets/aurora-x-D-2ljcwZ.js +1 -0
- package/dist/viewer/assets/avatar-DAFUyk1i.js +43 -0
- package/dist/viewer/assets/awk-DMzUqQB5.js +1 -0
- package/dist/viewer/assets/ayu-dark-DYE7WIF3.js +1 -0
- package/dist/viewer/assets/ayu-light-BA47KaF1.js +1 -0
- package/dist/viewer/assets/ayu-mirage-32ctXXKs.js +1 -0
- package/dist/viewer/assets/badge-hR3QvPWv.js +1 -0
- package/dist/viewer/assets/ballerina-BFfxhgS-.js +1 -0
- package/dist/viewer/assets/bat-CickPsom.js +1 -0
- package/dist/viewer/assets/beancount-BgSHGh8x.js +1 -0
- package/dist/viewer/assets/berry-uYugtg8r.js +1 -0
- package/dist/viewer/assets/better-delete-confirmation-modal-CGEQ5O4X.js +1 -0
- package/dist/viewer/assets/better-dialog-B58_5-Gn.css +1 -0
- package/dist/viewer/assets/better-dialog-DcIxFWwk.js +1 -0
- package/dist/viewer/assets/bibtex-CHM0blh-.js +1 -0
- package/dist/viewer/assets/bicep-Bmn6On1c.js +1 -0
- package/dist/viewer/assets/bird2-Bx8U0n9b.js +1 -0
- package/dist/viewer/assets/blade-k33SngOZ.js +1 -0
- package/dist/viewer/assets/blockDiagram-I7D4REHJ-CFHWUw4z.js +129 -0
- package/dist/viewer/assets/brands-DtmA1AhP.js +1 -0
- package/dist/viewer/assets/bsl-DlhNcFeZ.js +1 -0
- package/dist/viewer/assets/button-DZj74qS7.js +1 -0
- package/dist/viewer/assets/c-BIGW1oBm.js +1 -0
- package/dist/viewer/assets/c3-Dp5svz6Z.js +1 -0
- package/dist/viewer/assets/c4Diagram-7LVT6UL2-BHSggPKI.js +38 -0
- package/dist/viewer/assets/cadence-Bv_4Rxtq.js +1 -0
- package/dist/viewer/assets/cairo-KRGpt6FW.js +1 -0
- package/dist/viewer/assets/calendar-Bolgc8E5.js +6 -0
- package/dist/viewer/assets/catppuccin-frappe-CZL1YF0i.js +1 -0
- package/dist/viewer/assets/catppuccin-latte-DH-8KZSZ.js +1 -0
- package/dist/viewer/assets/catppuccin-macchiato-B7yYVSCf.js +1 -0
- package/dist/viewer/assets/catppuccin-mocha-Ct7hS0mc.js +1 -0
- package/dist/viewer/assets/channel-CNRSofFP.js +1 -0
- package/dist/viewer/assets/chapel-DTp_pixX.js +1 -0
- package/dist/viewer/assets/check-BpmCQNbj.js +6 -0
- package/dist/viewer/assets/checkbox-CFJfXL6R.js +1 -0
- package/dist/viewer/assets/chevron-down-DDsUE_xz.js +6 -0
- package/dist/viewer/assets/chevron-up-DVznKMGv.js +6 -0
- package/dist/viewer/assets/chunk-2Q5K7J3B-CNfz5YDQ.js +1 -0
- package/dist/viewer/assets/chunk-5VM5RSS4-CwIhjvMe.js +15 -0
- package/dist/viewer/assets/chunk-F27PBJKO-YFexFJof.js +1 -0
- package/dist/viewer/assets/chunk-IMKFNOWR-GY2yrvuo.js +231 -0
- package/dist/viewer/assets/chunk-JWPE2WC7-xd0JGvne.js +1 -0
- package/dist/viewer/assets/chunk-OB3PAWPO-DJIP1M4r.js +12 -0
- package/dist/viewer/assets/chunk-POPQ4Y6H-Bh6rizEy.js +1 -0
- package/dist/viewer/assets/chunk-SVP7TREG-DtNrjvpq.js +88 -0
- package/dist/viewer/assets/chunk-TICWLB2K-DrERwtw8.js +206 -0
- package/dist/viewer/assets/chunk-XXDRQBXY-fYo04iwY.js +1 -0
- package/dist/viewer/assets/circle-alert-Bl7DXYD_.js +6 -0
- package/dist/viewer/assets/clarity-Dn5IMItf.js +1 -0
- package/dist/viewer/assets/classDiagram-ZZMXUADV-D7PO-ME9.js +1 -0
- package/dist/viewer/assets/classDiagram-v2-VYDZK3BY-D7PO-ME9.js +1 -0
- package/dist/viewer/assets/clojure-P80f7IUj.js +1 -0
- package/dist/viewer/assets/cmake-D1j8_8rp.js +1 -0
- package/dist/viewer/assets/cobol-BBKr1ja6.js +1 -0
- package/dist/viewer/assets/codeowners-Bp6g37R7.js +1 -0
- package/dist/viewer/assets/codeql-DsOJ9woJ.js +1 -0
- package/dist/viewer/assets/coffee-Ch7k5sss.js +1 -0
- package/dist/viewer/assets/color-input-ClkkG_kZ.js +11 -0
- package/dist/viewer/assets/common-DLCsGQ-t.js +1 -0
- package/dist/viewer/assets/common-lisp-Cg-RD9OK.js +1 -0
- package/dist/viewer/assets/component-icons-BD8MpcyB.css +1 -0
- package/dist/viewer/assets/component-icons-MJ61E9nt.js +6 -0
- package/dist/viewer/assets/copy-DMJJonQF.js +6 -0
- package/dist/viewer/assets/coq-BqXF5kFF.js +1 -0
- package/dist/viewer/assets/cose-bilkent-JH36ORCC-Dplz8nVT.js +1 -0
- package/dist/viewer/assets/cpp-BMRokrvK.js +1 -0
- package/dist/viewer/assets/cross-button-D5qst1tj.js +1 -0
- package/dist/viewer/assets/crystal-LUwhHfY5.js +1 -0
- package/dist/viewer/assets/csharp-B_TYUkTI.js +1 -0
- package/dist/viewer/assets/css-Z72CF80r.js +1 -0
- package/dist/viewer/assets/csv-fuZLfV_i.js +1 -0
- package/dist/viewer/assets/cue-D82EKSYY.js +1 -0
- package/dist/viewer/assets/cynefin-OW5HDTMX-DiBs4CI8.js +178 -0
- package/dist/viewer/assets/cynefinDiagram-5FMLGOSQ-COXS8-dI.js +62 -0
- package/dist/viewer/assets/cypher-COkxafJQ.js +1 -0
- package/dist/viewer/assets/cytoscape.esm-CtNdOvlO.js +331 -0
- package/dist/viewer/assets/d-85-TOEBH.js +1 -0
- package/dist/viewer/assets/dagre-GXQ25YYZ-K8qvfG8D.js +4 -0
- package/dist/viewer/assets/dark-plus-C3mMm8J8.js +1 -0
- package/dist/viewer/assets/dart-CtKP3W-j.js +1 -0
- package/dist/viewer/assets/dashboard-diagrams-page-Cb0xNr4W.js +2 -0
- package/dist/viewer/assets/dashboard-diagrams-page-inner-CD--zr5q.js +1 -0
- package/dist/viewer/assets/dashboard-docs-page-BfWR9Ai9.js +2 -0
- package/dist/viewer/assets/dashboard-docs-page-inner-BLbX-YwF.js +67 -0
- package/dist/viewer/assets/dashboard-layout-sTeeHNsZ.js +1 -0
- package/dist/viewer/assets/dashboard-lens-layout-D-tu_4kn.js +1 -0
- package/dist/viewer/assets/dashboard-map-frame-page-7pDmbTSe.js +1 -0
- package/dist/viewer/assets/dashboard-plans-page-CfwOZ34A.js +1 -0
- package/dist/viewer/assets/dashboard-service-apis-k93fjW51.js +1 -0
- package/dist/viewer/assets/dashboard-service-diagrams-BIWUxX-Y.js +50 -0
- package/dist/viewer/assets/dashboard-service-docs-CnniTD6Q.js +1 -0
- package/dist/viewer/assets/dashboard-service-overview-CGBu4omY.js +83 -0
- package/dist/viewer/assets/dashboard-services-DEscIO2O.js +1 -0
- package/dist/viewer/assets/dax-CEL-wOlO.js +1 -0
- package/dist/viewer/assets/db-type-badge-UbPgpwQf.js +6 -0
- package/dist/viewer/assets/debounce-Cp8eREM4-D7o-Pzb-.js +2 -0
- package/dist/viewer/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/dist/viewer/assets/dependencies-DK2GDlhQ.js +111 -0
- package/dist/viewer/assets/dependency-graph-xBEnCS0J.js +22 -0
- package/dist/viewer/assets/desktop-BmXAJ9_W.js +1 -0
- package/dist/viewer/assets/diagram-S7CK7UJ4-D-liadVe.js +30 -0
- package/dist/viewer/assets/diagram-UQ7AKVKN-CnA8mgXp.js +41 -0
- package/dist/viewer/assets/diagram-VSXAHHWV-Ck7dgRFR.js +3 -0
- package/dist/viewer/assets/diagram-VX7I27RA-Cm1LHbu3.js +24 -0
- package/dist/viewer/assets/diagram-Z3DM3KII-DV3yBUCB.js +24 -0
- package/dist/viewer/assets/diagram-live-preview-DzJ7Nxp1.js +2 -0
- package/dist/viewer/assets/diagram-portal-page-1e3ypafd.css +1 -0
- package/dist/viewer/assets/diagram-portal-page-gguGLULH.js +231 -0
- package/dist/viewer/assets/diagrams-BqBSv2eb.js +68 -0
- package/dist/viewer/assets/dialog-D7wzTt0L.js +6 -0
- package/dist/viewer/assets/diff-D97Zzqfu.js +1 -0
- package/dist/viewer/assets/doc-file-content-Be0au9Vo.js +101 -0
- package/dist/viewer/assets/doc-file-content-Cp579UoJ.css +1 -0
- package/dist/viewer/assets/docker-BcOcwvcX.js +1 -0
- package/dist/viewer/assets/dotenv-De0Btta0.js +1 -0
- package/dist/viewer/assets/download-DhyZ3g4F.js +6 -0
- package/dist/viewer/assets/dracula-BzJJZx-M.js +1 -0
- package/dist/viewer/assets/dracula-soft-BXkSAIEj.js +1 -0
- package/dist/viewer/assets/dream-maker-BtqSS_iP.js +1 -0
- package/dist/viewer/assets/ebnfDiagram-PWID7BFC-BXbHVQvG.js +1 -0
- package/dist/viewer/assets/edge-CJaD-t2L.js +1 -0
- package/dist/viewer/assets/editor-F9o4zoeB.js +10 -0
- package/dist/viewer/assets/editor-njNjsRVH.css +7 -0
- package/dist/viewer/assets/elixir-DkJLSxtU.js +1 -0
- package/dist/viewer/assets/elm-DbKCFpqz.js +1 -0
- package/dist/viewer/assets/emacs-lisp-DaIrSCgJ.js +1 -0
- package/dist/viewer/assets/en-US-B1Lg1a1H.js +1 -0
- package/dist/viewer/assets/endOfMonth-CMPv5yN4.js +1 -0
- package/dist/viewer/assets/erDiagram-RLTQ6QDP-DMfiWput.js +99 -0
- package/dist/viewer/assets/erb-CSMaCouu.js +1 -0
- package/dist/viewer/assets/erlang-DsQrWhSR.js +1 -0
- package/dist/viewer/assets/everforest-dark-BgDCqdQA.js +1 -0
- package/dist/viewer/assets/everforest-light-C8M2exoo.js +1 -0
- package/dist/viewer/assets/fennel-BYunw83y.js +1 -0
- package/dist/viewer/assets/file-text-BFqJQ67P.js +6 -0
- package/dist/viewer/assets/fira-code-cyrillic-400-normal-UC0NFL4U.woff2 +0 -0
- package/dist/viewer/assets/fira-code-cyrillic-400-normal-dc1q3VD7.woff +0 -0
- package/dist/viewer/assets/fira-code-cyrillic-500-normal-Bu7VCL72.woff +0 -0
- package/dist/viewer/assets/fira-code-cyrillic-500-normal-CX35h3Mg.woff2 +0 -0
- package/dist/viewer/assets/fira-code-cyrillic-ext-400-normal-Buh61xzB.woff +0 -0
- package/dist/viewer/assets/fira-code-cyrillic-ext-400-normal-txZ9Fk_1.woff2 +0 -0
- package/dist/viewer/assets/fira-code-cyrillic-ext-500-normal-CYRspHgm.woff2 +0 -0
- package/dist/viewer/assets/fira-code-cyrillic-ext-500-normal-CwtLmSFD.woff +0 -0
- package/dist/viewer/assets/fira-code-greek-400-normal-B2Gh_Y8s.woff2 +0 -0
- package/dist/viewer/assets/fira-code-greek-400-normal-DobhaxvF.woff +0 -0
- package/dist/viewer/assets/fira-code-greek-500-normal-CVO0IRNt.woff2 +0 -0
- package/dist/viewer/assets/fira-code-greek-500-normal-DEXIWiey.woff +0 -0
- package/dist/viewer/assets/fira-code-greek-ext-400-normal-DR7mBgIM.woff2 +0 -0
- package/dist/viewer/assets/fira-code-greek-ext-400-normal-DSPUheWg.woff +0 -0
- package/dist/viewer/assets/fira-code-greek-ext-500-normal-BO3iq16n.woff2 +0 -0
- package/dist/viewer/assets/fira-code-greek-ext-500-normal-CMiNLXER.woff +0 -0
- package/dist/viewer/assets/fira-code-latin-400-normal-C-QZfXAs.woff +0 -0
- package/dist/viewer/assets/fira-code-latin-400-normal-DGosTW8U.woff2 +0 -0
- package/dist/viewer/assets/fira-code-latin-500-normal-B6gioGu8.woff2 +0 -0
- package/dist/viewer/assets/fira-code-latin-500-normal-aMLC2AMm.woff +0 -0
- package/dist/viewer/assets/fira-code-latin-ext-400-normal-DG73JjOf.woff +0 -0
- package/dist/viewer/assets/fira-code-latin-ext-400-normal-KSMg0QLl.woff2 +0 -0
- package/dist/viewer/assets/fira-code-latin-ext-500-normal-CaANqXjI.woff +0 -0
- package/dist/viewer/assets/fira-code-latin-ext-500-normal-Crd9e_oI.woff2 +0 -0
- package/dist/viewer/assets/fira-code-symbols2-400-normal-_QEZCEwe.woff +0 -0
- package/dist/viewer/assets/fira-code-symbols2-500-normal-DwsgbIjQ.woff +0 -0
- package/dist/viewer/assets/fish-BvzEVeQv.js +1 -0
- package/dist/viewer/assets/flow-diagram-preview-B83UU1n_.js +1 -0
- package/dist/viewer/assets/flowDiagram-HODETNUW-BNFS2Mkr.js +168 -0
- package/dist/viewer/assets/fluent-C4IJs8-o.js +1 -0
- package/dist/viewer/assets/format-BquKoU4D.js +1 -0
- package/dist/viewer/assets/formatDistanceToNow-DdN6W2RC.js +1 -0
- package/dist/viewer/assets/fortran-fixed-form-CkoXwp7k.js +1 -0
- package/dist/viewer/assets/fortran-free-form-BxgE0vQu.js +1 -0
- package/dist/viewer/assets/fsharp-CXgrBDvD.js +1 -0
- package/dist/viewer/assets/ganttDiagram-EL5Y4UJY-DFDsYJNp.js +292 -0
- package/dist/viewer/assets/gdresource-TyuKm33G.js +1 -0
- package/dist/viewer/assets/gdscript-DqcFQ5yU.js +1 -0
- package/dist/viewer/assets/gdshader-DkwncUOv.js +1 -0
- package/dist/viewer/assets/genie-D0YGMca9.js +1 -0
- package/dist/viewer/assets/getRoundingMethod-DC1wW3rl.js +1 -0
- package/dist/viewer/assets/gherkin-DyxjwDmM.js +1 -0
- package/dist/viewer/assets/git-BilAlIQ8.js +1 -0
- package/dist/viewer/assets/git-commit-F4YmCXRG.js +1 -0
- package/dist/viewer/assets/git-rebase-r7XF79zn.js +1 -0
- package/dist/viewer/assets/gitGraphDiagram-WWUBYQGX-BVHabPDp.js +106 -0
- package/dist/viewer/assets/github-dark-DHJKELXO.js +1 -0
- package/dist/viewer/assets/github-dark-default-Cuk6v7N8.js +1 -0
- package/dist/viewer/assets/github-dark-dimmed-DH5Ifo-i.js +1 -0
- package/dist/viewer/assets/github-dark-high-contrast-E3gJ1_iC.js +1 -0
- package/dist/viewer/assets/github-light-DAi9KRSo.js +1 -0
- package/dist/viewer/assets/github-light-default-D7oLnXFd.js +1 -0
- package/dist/viewer/assets/github-light-high-contrast-BfjtVDDH.js +1 -0
- package/dist/viewer/assets/gleam-BspZqrRM.js +1 -0
- package/dist/viewer/assets/glimmer-js-Drrc9bTt.js +1 -0
- package/dist/viewer/assets/glimmer-ts-zeybXsvi.js +1 -0
- package/dist/viewer/assets/global-loader-XJO9_e0l.js +1 -0
- package/dist/viewer/assets/globe-CJ35KsQW.js +6 -0
- package/dist/viewer/assets/glsl-DplSGwfg.js +1 -0
- package/dist/viewer/assets/gn-8iBmfbXw.js +1 -0
- package/dist/viewer/assets/gnuplot-DdkO51Og.js +1 -0
- package/dist/viewer/assets/go-C27-OAKa.js +1 -0
- package/dist/viewer/assets/gql-FFIj8zdp.js +1 -0
- package/dist/viewer/assets/graphql-ChdNCCLP.js +1 -0
- package/dist/viewer/assets/grid-scroll-body-DC5pYDPJ.js +15 -0
- package/dist/viewer/assets/groovy-gcz8RCvz.js +1 -0
- package/dist/viewer/assets/gruvbox-dark-hard-CFHQjOhq.js +1 -0
- package/dist/viewer/assets/gruvbox-dark-medium-GsRaNv29.js +1 -0
- package/dist/viewer/assets/gruvbox-dark-soft-CVdnzihN.js +1 -0
- package/dist/viewer/assets/gruvbox-light-hard-CH1njM8p.js +1 -0
- package/dist/viewer/assets/gruvbox-light-medium-DRw_LuNl.js +1 -0
- package/dist/viewer/assets/gruvbox-light-soft-hJgmCMqR.js +1 -0
- package/dist/viewer/assets/hack-Ck6-gGSS.js +1 -0
- package/dist/viewer/assets/haml-GN_XdMnF.js +1 -0
- package/dist/viewer/assets/handlebars-DPT5vKgj.js +1 -0
- package/dist/viewer/assets/haskell-Df6bDoY_.js +1 -0
- package/dist/viewer/assets/haxe-CfZj7gIn.js +1 -0
- package/dist/viewer/assets/hcl-BWvSN4gD.js +1 -0
- package/dist/viewer/assets/hjson-D5-asLiD.js +1 -0
- package/dist/viewer/assets/hlsl-D3lLCCz7.js +1 -0
- package/dist/viewer/assets/horizon-BUw7H-hv.js +1 -0
- package/dist/viewer/assets/horizon-bright-CUuTKBJd.js +1 -0
- package/dist/viewer/assets/houston-DnULxvSX.js +1 -0
- package/dist/viewer/assets/html-BlS82ilI.js +1 -0
- package/dist/viewer/assets/html-derivative-DZhk3IEZ.js +1 -0
- package/dist/viewer/assets/http-jrhK8wxY.js +1 -0
- package/dist/viewer/assets/hurl-irOxFIW8.js +1 -0
- package/dist/viewer/assets/hxml-2-FPmUDs.js +1 -0
- package/dist/viewer/assets/hy-DFXneXwc.js +1 -0
- package/dist/viewer/assets/iconBase-DtqdW2XR.js +1 -0
- package/dist/viewer/assets/imba-DGztddWO.js +1 -0
- package/dist/viewer/assets/index-B6MxYIzs.js +1 -0
- package/dist/viewer/assets/index-BC5xdBQU.js +48 -0
- package/dist/viewer/assets/index-BIrx3oY4.js +1 -0
- package/dist/viewer/assets/index-BZGsDmUx.js +12 -0
- package/dist/viewer/assets/index-BZXhpoWr.js +50 -0
- package/dist/viewer/assets/index-Bn2bqqMd.js +1 -0
- package/dist/viewer/assets/index-BpCVYTvP.js +77 -0
- package/dist/viewer/assets/index-CBOYhBKJ.js +1 -0
- package/dist/viewer/assets/index-CH7cEAxj.js +17 -0
- package/dist/viewer/assets/index-CIf0GId3.js +74 -0
- package/dist/viewer/assets/index-Ck66Ic_p.js +22 -0
- package/dist/viewer/assets/index-Cp9mIQ8F.js +1 -0
- package/dist/viewer/assets/index-DDmBuMKI.js +1 -0
- package/dist/viewer/assets/index-DY3BFyb6.js +1 -0
- package/dist/viewer/assets/index-Dj_05fqk.js +1 -0
- package/dist/viewer/assets/index-DkzZ-ZvR.js +1 -0
- package/dist/viewer/assets/index-PglMbhys.js +1 -0
- package/dist/viewer/assets/index-m8s6_jQi.css +1 -0
- package/dist/viewer/assets/infoDiagram-27XIBGKW-CG-wwxBf.js +2 -0
- package/dist/viewer/assets/ini-BEwlwnbL.js +1 -0
- package/dist/viewer/assets/init-Gi6I4Gst.js +1 -0
- package/dist/viewer/assets/input--C59pq6j.js +1 -0
- package/dist/viewer/assets/inter-cyrillic-400-normal-HOLc17fK.woff +0 -0
- package/dist/viewer/assets/inter-cyrillic-400-normal-obahsSVq.woff2 +0 -0
- package/dist/viewer/assets/inter-cyrillic-500-normal-BasfLYem.woff2 +0 -0
- package/dist/viewer/assets/inter-cyrillic-500-normal-CxZf_p3X.woff +0 -0
- package/dist/viewer/assets/inter-cyrillic-600-normal-4D_pXhcN.woff +0 -0
- package/dist/viewer/assets/inter-cyrillic-600-normal-CWCymEST.woff2 +0 -0
- package/dist/viewer/assets/inter-cyrillic-700-normal-CjBOestx.woff2 +0 -0
- package/dist/viewer/assets/inter-cyrillic-700-normal-DrXBdSj3.woff +0 -0
- package/dist/viewer/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2 +0 -0
- package/dist/viewer/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff +0 -0
- package/dist/viewer/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2 +0 -0
- package/dist/viewer/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff +0 -0
- package/dist/viewer/assets/inter-cyrillic-ext-600-normal-Bcila6Z-.woff +0 -0
- package/dist/viewer/assets/inter-cyrillic-ext-600-normal-Dfes3d0z.woff2 +0 -0
- package/dist/viewer/assets/inter-cyrillic-ext-700-normal-BjwYoWNd.woff2 +0 -0
- package/dist/viewer/assets/inter-cyrillic-ext-700-normal-LO58E6JB.woff +0 -0
- package/dist/viewer/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4-BOeWTOD4.woff2 +0 -0
- package/dist/viewer/assets/inter-cyrillic-wght-normal-DqGufNeO-DqGufNeO.woff2 +0 -0
- package/dist/viewer/assets/inter-greek-400-normal-B4URO6DV.woff2 +0 -0
- package/dist/viewer/assets/inter-greek-400-normal-q2sYcFCs.woff +0 -0
- package/dist/viewer/assets/inter-greek-500-normal-BIZE56-Y.woff2 +0 -0
- package/dist/viewer/assets/inter-greek-500-normal-Xzm54t5V.woff +0 -0
- package/dist/viewer/assets/inter-greek-600-normal-BZpKdvQh.woff +0 -0
- package/dist/viewer/assets/inter-greek-600-normal-plRanbMR.woff2 +0 -0
- package/dist/viewer/assets/inter-greek-700-normal-BUv2fZ6O.woff +0 -0
- package/dist/viewer/assets/inter-greek-700-normal-C3JjAnD8.woff2 +0 -0
- package/dist/viewer/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2 +0 -0
- package/dist/viewer/assets/inter-greek-ext-400-normal-KugGGMne.woff +0 -0
- package/dist/viewer/assets/inter-greek-ext-500-normal-2j5mBUwD.woff +0 -0
- package/dist/viewer/assets/inter-greek-ext-500-normal-C4iEst2y.woff2 +0 -0
- package/dist/viewer/assets/inter-greek-ext-600-normal-B8X0CLgF.woff +0 -0
- package/dist/viewer/assets/inter-greek-ext-600-normal-DRtmH8MT.woff2 +0 -0
- package/dist/viewer/assets/inter-greek-ext-700-normal-BoQ6DsYi.woff +0 -0
- package/dist/viewer/assets/inter-greek-ext-700-normal-qfdV9bQt.woff2 +0 -0
- package/dist/viewer/assets/inter-greek-ext-wght-normal-DlzME5K_-DlzME5K_.woff2 +0 -0
- package/dist/viewer/assets/inter-greek-wght-normal-CkhJZR-_-CkhJZR-_.woff2 +0 -0
- package/dist/viewer/assets/inter-latin-400-normal-C38fXH4l.woff2 +0 -0
- package/dist/viewer/assets/inter-latin-400-normal-CyCys3Eg.woff +0 -0
- package/dist/viewer/assets/inter-latin-500-normal-BL9OpVg8.woff +0 -0
- package/dist/viewer/assets/inter-latin-500-normal-Cerq10X2.woff2 +0 -0
- package/dist/viewer/assets/inter-latin-600-normal-CiBQ2DWP.woff +0 -0
- package/dist/viewer/assets/inter-latin-600-normal-LgqL8muc.woff2 +0 -0
- package/dist/viewer/assets/inter-latin-700-normal-BLAVimhd.woff +0 -0
- package/dist/viewer/assets/inter-latin-700-normal-Yt3aPRUw.woff2 +0 -0
- package/dist/viewer/assets/inter-latin-ext-400-normal-77YHD8bZ.woff +0 -0
- package/dist/viewer/assets/inter-latin-ext-400-normal-C1nco2VV.woff2 +0 -0
- package/dist/viewer/assets/inter-latin-ext-500-normal-BxGbmqWO.woff +0 -0
- package/dist/viewer/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2 +0 -0
- package/dist/viewer/assets/inter-latin-ext-600-normal-CIVaiw4L.woff +0 -0
- package/dist/viewer/assets/inter-latin-ext-600-normal-D2bJ5OIk.woff2 +0 -0
- package/dist/viewer/assets/inter-latin-ext-700-normal-Ca8adRJv.woff2 +0 -0
- package/dist/viewer/assets/inter-latin-ext-700-normal-TidjK2hL.woff +0 -0
- package/dist/viewer/assets/inter-latin-ext-wght-normal-DO1Apj_S-DO1Apj_S.woff2 +0 -0
- package/dist/viewer/assets/inter-latin-wght-normal-Dx4kXJAl-Dx4kXJAl.woff2 +0 -0
- package/dist/viewer/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff +0 -0
- package/dist/viewer/assets/inter-vietnamese-400-normal-DMkecbls.woff2 +0 -0
- package/dist/viewer/assets/inter-vietnamese-500-normal-DOriooB6.woff2 +0 -0
- package/dist/viewer/assets/inter-vietnamese-500-normal-mJboJaSs.woff +0 -0
- package/dist/viewer/assets/inter-vietnamese-600-normal-BuLX-rYi.woff +0 -0
- package/dist/viewer/assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2 +0 -0
- package/dist/viewer/assets/inter-vietnamese-700-normal-BZaoP0fm.woff +0 -0
- package/dist/viewer/assets/inter-vietnamese-700-normal-DlLaEgI2.woff2 +0 -0
- package/dist/viewer/assets/inter-vietnamese-wght-normal-CBcvBZtf-CBcvBZtf.woff2 +0 -0
- package/dist/viewer/assets/ishikawaDiagram-5VMMS53U-BlgV7ceJ.js +70 -0
- package/dist/viewer/assets/java-CylS5w8V.js +1 -0
- package/dist/viewer/assets/javascript-wDzz0qaB.js +1 -0
- package/dist/viewer/assets/jetbrains-mono-latin-400-normal-6-qcROiO-6-qcROiO.woff +0 -0
- package/dist/viewer/assets/jetbrains-mono-latin-400-normal-V6pRDFza-V6pRDFza.woff2 +0 -0
- package/dist/viewer/assets/jetbrains-mono-latin-500-normal-BWZEU5yA-BWZEU5yA.woff2 +0 -0
- package/dist/viewer/assets/jetbrains-mono-latin-500-normal-CJOVTJB7-CJOVTJB7.woff +0 -0
- package/dist/viewer/assets/jinja-DFQZVq3b.js +1 -0
- package/dist/viewer/assets/jison-wvAkD_A8.js +1 -0
- package/dist/viewer/assets/journeyDiagram-3NMN7TZE-Cn03_Xl6.js +139 -0
- package/dist/viewer/assets/js-yaml-3VEnDAEN.js +32 -0
- package/dist/viewer/assets/json-Cp-IABpG.js +1 -0
- package/dist/viewer/assets/json5-C9tS-k6U.js +1 -0
- package/dist/viewer/assets/jsonc-Des-eS-w.js +1 -0
- package/dist/viewer/assets/jsonl-DcaNXYhu.js +1 -0
- package/dist/viewer/assets/jsonnet-DFQXde-d.js +1 -0
- package/dist/viewer/assets/jssm-C2t-YnRu.js +1 -0
- package/dist/viewer/assets/jsx-g9-lgVsj.js +1 -0
- package/dist/viewer/assets/julia-Cu79e8SL.js +1 -0
- package/dist/viewer/assets/just-CMxyWJJc.js +1 -0
- package/dist/viewer/assets/kanagawa-dragon-BuwD2xS4.js +1 -0
- package/dist/viewer/assets/kanagawa-lotus-C3DzagqV.js +1 -0
- package/dist/viewer/assets/kanagawa-wave-DFGoQZhC.js +1 -0
- package/dist/viewer/assets/kanban-definition-UXKFOSKX-CJogvDPY.js +89 -0
- package/dist/viewer/assets/katex-HP8lGamR.js +257 -0
- package/dist/viewer/assets/kdl-DV7GczEv.js +1 -0
- package/dist/viewer/assets/kotlin-BdnUsdx6.js +1 -0
- package/dist/viewer/assets/kusto-wEQ09or8.js +1 -0
- package/dist/viewer/assets/laserwave-DUszq2jm.js +1 -0
- package/dist/viewer/assets/last-DXTTfs9a.js +1 -0
- package/dist/viewer/assets/latex-DJVikpzR.js +1 -0
- package/dist/viewer/assets/layout-B26eC4yQ.js +1 -0
- package/dist/viewer/assets/lean-BZvkOJ9d.js +1 -0
- package/dist/viewer/assets/lens-run-page-Ba1ppzJt.js +356 -0
- package/dist/viewer/assets/lens-runs-page-BnUS57LM.js +1 -0
- package/dist/viewer/assets/less-B1dDrJ26.js +1 -0
- package/dist/viewer/assets/lg-B0dIV2BS.svg +54 -0
- package/dist/viewer/assets/lg-CosQH4Cu.woff +0 -0
- package/dist/viewer/assets/lg-oyjwlqP2.ttf +0 -0
- package/dist/viewer/assets/light-plus-B7mTdjB0.js +1 -0
- package/dist/viewer/assets/linear-BT-xgETh.js +1 -0
- package/dist/viewer/assets/link-2-D1e0xznG.js +6 -0
- package/dist/viewer/assets/linked-project-dot-BY1gEES9.js +543 -0
- package/dist/viewer/assets/linked-project-dot-DLrQ6umA.css +1 -0
- package/dist/viewer/assets/liquid-B-duXHXw.js +1 -0
- package/dist/viewer/assets/llvm-BZoOZj88.js +1 -0
- package/dist/viewer/assets/loader-circle-CiqyoJF7.js +6 -0
- package/dist/viewer/assets/loading-BZOHaeKn.gif +0 -0
- package/dist/viewer/assets/log-2UxHyX5q.js +1 -0
- package/dist/viewer/assets/logo-BtOb2qkB.js +1 -0
- package/dist/viewer/assets/lua-BaeVxFsk.js +1 -0
- package/dist/viewer/assets/luau-nOZpfvQi.js +1 -0
- package/dist/viewer/assets/make-CHLpvVh8.js +1 -0
- package/dist/viewer/assets/markdown-Cvjx9yec.js +1 -0
- package/dist/viewer/assets/marko-BYgDmDgU.js +1 -0
- package/dist/viewer/assets/material-theme-D5KoaKCx.js +1 -0
- package/dist/viewer/assets/material-theme-darker-BfHTSMKl.js +1 -0
- package/dist/viewer/assets/material-theme-lighter-B0m2ddpp.js +1 -0
- package/dist/viewer/assets/material-theme-ocean-CyktbL80.js +1 -0
- package/dist/viewer/assets/material-theme-palenight-Csfq5Kiy.js +1 -0
- package/dist/viewer/assets/matlab-D7o27uSR.js +1 -0
- package/dist/viewer/assets/mdc-DF4WjDMn.js +1 -0
- package/dist/viewer/assets/mdx-Cmh6b_Ma.js +1 -0
- package/dist/viewer/assets/merge-BhOMvhW1.js +1 -0
- package/dist/viewer/assets/mermaid-CQcHuHx7.js +1 -0
- package/dist/viewer/assets/mermaid.core-BDgZg3kW.js +312 -0
- package/dist/viewer/assets/method-badge-DErZP7y5.js +1 -0
- package/dist/viewer/assets/min-dark-CafNBF8u.js +1 -0
- package/dist/viewer/assets/min-light-CTRr51gU.js +1 -0
- package/dist/viewer/assets/mindmap-definition-YA3MSWOX-DFkLu0ac.js +96 -0
- package/dist/viewer/assets/mipsasm-CKIfxQSi.js +1 -0
- package/dist/viewer/assets/mojo-DJz3ZmWd.js +1 -0
- package/dist/viewer/assets/monokai-CR4piiQ-.js +1 -0
- package/dist/viewer/assets/moonbit-Bag4Rp_g.js +1 -0
- package/dist/viewer/assets/move-el3G9tDJ.js +1 -0
- package/dist/viewer/assets/narrat-DRg8JJMk.js +1 -0
- package/dist/viewer/assets/nav-links-DZWMpwMR.js +61 -0
- package/dist/viewer/assets/network-B1apzT1s.js +6 -0
- package/dist/viewer/assets/nextflow-BCxp2Aob.js +1 -0
- package/dist/viewer/assets/nextflow-groovy-CedDknKX.js +1 -0
- package/dist/viewer/assets/nginx-BpAMiNFr.js +1 -0
- package/dist/viewer/assets/night-owl-C39BiMTA.js +1 -0
- package/dist/viewer/assets/night-owl-light-CMTm3GFP.js +1 -0
- package/dist/viewer/assets/nim-nV83PyhX.js +1 -0
- package/dist/viewer/assets/nix-CwoSXNpI.js +1 -0
- package/dist/viewer/assets/nord-Ddv68eIx.js +1 -0
- package/dist/viewer/assets/nosql-editor-modal-CvH0SWAi.js +21 -0
- package/dist/viewer/assets/not-found-page-C-fn8QeM.js +1 -0
- package/dist/viewer/assets/nsis-BlV79W_Q.js +1 -0
- package/dist/viewer/assets/nushell-BXD5iret.js +1 -0
- package/dist/viewer/assets/objective-c-DXmwc3jG.js +1 -0
- package/dist/viewer/assets/objective-cpp-CLxacb5B.js +1 -0
- package/dist/viewer/assets/ocaml-C0hk2d4L.js +1 -0
- package/dist/viewer/assets/odin-BBf5iR-q.js +1 -0
- package/dist/viewer/assets/one-dark-pro-CxGP3dtY.js +1 -0
- package/dist/viewer/assets/one-light-C3Wv6jpd.js +1 -0
- package/dist/viewer/assets/openscad-C4EeE6gA.js +1 -0
- package/dist/viewer/assets/ordinal-Cboi1Yqb.js +1 -0
- package/dist/viewer/assets/org-6a7ccXN_.js +1 -0
- package/dist/viewer/assets/organization-dependency-graph-page-BryP-iJL.js +1 -0
- package/dist/viewer/assets/pascal-D93ZcfNL.js +1 -0
- package/dist/viewer/assets/pegDiagram-XKGWAZYB-g1cM14-L.js +1 -0
- package/dist/viewer/assets/perl-5klg-GXX.js +1 -0
- package/dist/viewer/assets/php-DoruYMF0.js +1 -0
- package/dist/viewer/assets/pieDiagram-E7YTZNPT-WEnDsMY3.js +39 -0
- package/dist/viewer/assets/pierre-dark-CyvmCCZW.js +1 -0
- package/dist/viewer/assets/pierre-dark-protanopia-deuteranopia-Rgc0TwpF.js +1 -0
- package/dist/viewer/assets/pierre-dark-soft-BHGpRqa4.js +1 -0
- package/dist/viewer/assets/pierre-dark-tritanopia-Beq2gCRQ.js +1 -0
- package/dist/viewer/assets/pierre-dark-vibrant-BWBVywrn.js +1 -0
- package/dist/viewer/assets/pierre-light-480U9XYS.js +1 -0
- package/dist/viewer/assets/pierre-light-protanopia-deuteranopia-CaVOBURG.js +1 -0
- package/dist/viewer/assets/pierre-light-soft-CVdyfjmI.js +1 -0
- package/dist/viewer/assets/pierre-light-tritanopia-B4_gpKOM.js +1 -0
- package/dist/viewer/assets/pierre-light-vibrant-DdTDNdfJ.js +1 -0
- package/dist/viewer/assets/pkl-u5AG7uiY.js +1 -0
- package/dist/viewer/assets/plastic-3e1v2bzS.js +1 -0
- package/dist/viewer/assets/plsql-ChMvpjG-.js +1 -0
- package/dist/viewer/assets/plus-DbyuOgKB.js +6 -0
- package/dist/viewer/assets/po-BTJTHyun.js +1 -0
- package/dist/viewer/assets/poimandres-CS3Unz2-.js +1 -0
- package/dist/viewer/assets/polar-C0HS_06l.js +1 -0
- package/dist/viewer/assets/popover-476u3TN0.js +1 -0
- package/dist/viewer/assets/poppins-devanagari-400-normal-CJDn6rn8.woff2 +0 -0
- package/dist/viewer/assets/poppins-devanagari-400-normal-CqVvlrh5.woff +0 -0
- package/dist/viewer/assets/poppins-devanagari-500-normal-BIdkeU1p.woff2 +0 -0
- package/dist/viewer/assets/poppins-devanagari-500-normal-DMPDjHtT.woff +0 -0
- package/dist/viewer/assets/poppins-devanagari-600-normal-ClASKHrr.woff +0 -0
- package/dist/viewer/assets/poppins-devanagari-600-normal-STEjXBNN.woff2 +0 -0
- package/dist/viewer/assets/poppins-devanagari-700-normal-O-jipLrW.woff2 +0 -0
- package/dist/viewer/assets/poppins-devanagari-700-normal-fHs-vx92.woff +0 -0
- package/dist/viewer/assets/poppins-latin-400-normal-BOb3E3N0.woff +0 -0
- package/dist/viewer/assets/poppins-latin-400-normal-cpxAROuN.woff2 +0 -0
- package/dist/viewer/assets/poppins-latin-500-normal-C8OXljZJ.woff2 +0 -0
- package/dist/viewer/assets/poppins-latin-500-normal-DGXqpDMm.woff +0 -0
- package/dist/viewer/assets/poppins-latin-600-normal-BJdTmd5m.woff +0 -0
- package/dist/viewer/assets/poppins-latin-600-normal-zEkxB9Mr.woff2 +0 -0
- package/dist/viewer/assets/poppins-latin-700-normal-BVuQR_eA.woff +0 -0
- package/dist/viewer/assets/poppins-latin-700-normal-Qrb0O0WB.woff2 +0 -0
- package/dist/viewer/assets/poppins-latin-ext-400-normal-DaBSavcJ.woff +0 -0
- package/dist/viewer/assets/poppins-latin-ext-400-normal-by3JarPu.woff2 +0 -0
- package/dist/viewer/assets/poppins-latin-ext-500-normal-CK-6C4Hw.woff2 +0 -0
- package/dist/viewer/assets/poppins-latin-ext-500-normal-CgAe2rWW.woff +0 -0
- package/dist/viewer/assets/poppins-latin-ext-600-normal-CAhIAdZj.woff2 +0 -0
- package/dist/viewer/assets/poppins-latin-ext-600-normal-Df5ffKXP.woff +0 -0
- package/dist/viewer/assets/poppins-latin-ext-700-normal-DctTR6Tg.woff +0 -0
- package/dist/viewer/assets/poppins-latin-ext-700-normal-cby-RkWa.woff2 +0 -0
- package/dist/viewer/assets/postcss-CXtECtnM.js +1 -0
- package/dist/viewer/assets/powerquery-CEu0bR-o.js +1 -0
- package/dist/viewer/assets/powershell-Dd0kTxKP.js +1 -0
- package/dist/viewer/assets/preload-helper-BlTxHScW.js +1 -0
- package/dist/viewer/assets/prisma-Vru482bI.js +1 -0
- package/dist/viewer/assets/prolog-CbFg5uaA.js +1 -0
- package/dist/viewer/assets/proto-C7zT0LnQ.js +1 -0
- package/dist/viewer/assets/pug-BtYPkAgq.js +1 -0
- package/dist/viewer/assets/puppet-BMWR74SV.js +1 -0
- package/dist/viewer/assets/purescript-CklMAg4u.js +1 -0
- package/dist/viewer/assets/python-B6aJPvgy.js +1 -0
- package/dist/viewer/assets/qml-3beO22l8.js +1 -0
- package/dist/viewer/assets/qmldir-C8lEn-DE.js +1 -0
- package/dist/viewer/assets/qss-IeuSbFQv.js +1 -0
- package/dist/viewer/assets/quadrantDiagram-AXDQQJYC-NdfQCpzF.js +7 -0
- package/dist/viewer/assets/query-D9oj6LGx.js +50 -0
- package/dist/viewer/assets/quill-Cde5JMRD.js +49 -0
- package/dist/viewer/assets/r-Cf5RLm7j.js +1 -0
- package/dist/viewer/assets/racket-BqYA7rlc.js +1 -0
- package/dist/viewer/assets/railroadDiagram-O6MQD6OU-BYhlXlMY.js +1 -0
- package/dist/viewer/assets/raku-DXvB9xmW.js +1 -0
- package/dist/viewer/assets/razor-CyjPwjZj.js +1 -0
- package/dist/viewer/assets/rbs-CpoqiR4B.js +1 -0
- package/dist/viewer/assets/react-Bx48XWN4.js +1 -0
- package/dist/viewer/assets/react-flow-wrapper-BcbvHgxz.js +277 -0
- package/dist/viewer/assets/react-flow-wrapper-ClwlSOam.css +1 -0
- package/dist/viewer/assets/red-DMbB5_pp.js +1 -0
- package/dist/viewer/assets/reg-C-SQnVFl.js +1 -0
- package/dist/viewer/assets/regexp-CDVJQ6XC.js +1 -0
- package/dist/viewer/assets/rel-C3B-1QV4.js +1 -0
- package/dist/viewer/assets/requirementDiagram-BXWQKSXE-C25Bcm2L.js +84 -0
- package/dist/viewer/assets/riscv-BM1_JUlF.js +1 -0
- package/dist/viewer/assets/ron-D8l8udqQ.js +1 -0
- package/dist/viewer/assets/rose-pine-5qJOZa0Y.js +1 -0
- package/dist/viewer/assets/rose-pine-dawn-zx0QlTCp.js +1 -0
- package/dist/viewer/assets/rose-pine-moon-C9pEdX9L.js +1 -0
- package/dist/viewer/assets/rosmsg-BJDFO7_C.js +1 -0
- package/dist/viewer/assets/rst-CVOjT0e7.js +1 -0
- package/dist/viewer/assets/ruby-C8rp0wew.js +1 -0
- package/dist/viewer/assets/rust-DPvrY3IQ.js +1 -0
- package/dist/viewer/assets/sankeyDiagram-P5KCCOFB-h8LiCsgk.js +40 -0
- package/dist/viewer/assets/sas-BGn39htG.js +1 -0
- package/dist/viewer/assets/sass-Cj5Yp3dK.js +1 -0
- package/dist/viewer/assets/scala-CqE71os6.js +1 -0
- package/dist/viewer/assets/scheme-C98Dy4si.js +1 -0
- package/dist/viewer/assets/scroll-area-RagrStGj.js +6 -0
- package/dist/viewer/assets/scss-Cw6XMfVs.js +1 -0
- package/dist/viewer/assets/sdbl-DVxCFoDh.js +1 -0
- package/dist/viewer/assets/search-vw7ucoOs.js +6 -0
- package/dist/viewer/assets/section-loader-C4hOfhQS.js +1 -0
- package/dist/viewer/assets/section-not-found-BnrXiPog.js +1 -0
- package/dist/viewer/assets/select-D9fbrr7O.js +1 -0
- package/dist/viewer/assets/sequenceDiagram-WJ2MYXX4-CDRVvD30.js +162 -0
- package/dist/viewer/assets/service-context-D5nBtU18.js +1 -0
- package/dist/viewer/assets/service-database-list-page-DBjaDLVy.js +6 -0
- package/dist/viewer/assets/service-database-page-CenNCgwf.js +2 -0
- package/dist/viewer/assets/service-database-page-inner-gS51TQTZ.js +85 -0
- package/dist/viewer/assets/service-doc-C-jHqT1U.js +40 -0
- package/dist/viewer/assets/service-doc-preview-modal-5sX6FOu1.js +6 -0
- package/dist/viewer/assets/service-layout-Bf0vZBCH.js +1 -0
- package/dist/viewer/assets/service-pages-CFikvX4t.js +1 -0
- package/dist/viewer/assets/services-Ivav34WC.js +102 -0
- package/dist/viewer/assets/shaderlab-Dg9Lc6iA.js +1 -0
- package/dist/viewer/assets/share-2-CQEaWbfH.js +6 -0
- package/dist/viewer/assets/shellscript-Yzrsuije.js +1 -0
- package/dist/viewer/assets/shellsession-BADoaaVG.js +1 -0
- package/dist/viewer/assets/sizeCapture-INFHLROL-BJ6ndnPM.js +1 -0
- package/dist/viewer/assets/slack-dark-BthQWCQV.js +1 -0
- package/dist/viewer/assets/slack-ochin-DqwNpetd.js +1 -0
- package/dist/viewer/assets/smalltalk-BOQMe2GC.js +1 -0
- package/dist/viewer/assets/smithy-cds9vsN8.js +1 -0
- package/dist/viewer/assets/snazzy-light-Bw305WKR.js +1 -0
- package/dist/viewer/assets/solarized-dark-UcubFVte.js +1 -0
- package/dist/viewer/assets/solarized-light-DCG28T6R.js +1 -0
- package/dist/viewer/assets/solidity-DijEV5ha.js +1 -0
- package/dist/viewer/assets/soy-zscZBeg6.js +1 -0
- package/dist/viewer/assets/sparql-rVzFXLq3.js +1 -0
- package/dist/viewer/assets/splunk-BtCnVYZw.js +1 -0
- package/dist/viewer/assets/sql-DkvoVjww.js +1 -0
- package/dist/viewer/assets/ssh-config-_ykCGR6B.js +1 -0
- package/dist/viewer/assets/stata-DACIj5bg.js +1 -0
- package/dist/viewer/assets/stateDiagram-D77RDMKH-B_tNCX3o.js +1 -0
- package/dist/viewer/assets/stateDiagram-v2-MP3YSRHH-Dl9wqdli.js +1 -0
- package/dist/viewer/assets/style-BPesJvJr.js +153 -0
- package/dist/viewer/assets/style-BnuhLJ6X.css +1 -0
- package/dist/viewer/assets/stylus-BEDo0Tqx.js +1 -0
- package/dist/viewer/assets/super-circle-loader-DSkos6uP.js +1 -0
- package/dist/viewer/assets/super-logo-loader-Cxlbn6MB.js +1 -0
- package/dist/viewer/assets/surrealql-Cjom0U5J.js +1 -0
- package/dist/viewer/assets/svelte-D84K1R2Q.js +1 -0
- package/dist/viewer/assets/swift-C2oV4EkX.js +1 -0
- package/dist/viewer/assets/swimlanes-42K2YHIH-CzURzYwf.js +1 -0
- package/dist/viewer/assets/swimlanesDiagram-VR7AAH4N-DrIlwFtk.js +8 -0
- package/dist/viewer/assets/synthwave-84-CbfX1IO0.js +1 -0
- package/dist/viewer/assets/system-verilog-0hqHdDBg.js +1 -0
- package/dist/viewer/assets/systemd-4A_iFExJ.js +1 -0
- package/dist/viewer/assets/table-B4pFND-o.js +1 -0
- package/dist/viewer/assets/talonscript-CkByrt1z.js +1 -0
- package/dist/viewer/assets/tasl-QIJgUcNo.js +1 -0
- package/dist/viewer/assets/tcl-dwOrl1Do.js +1 -0
- package/dist/viewer/assets/templ-Vpw5XpSW.js +1 -0
- package/dist/viewer/assets/terraform-BETggiCN.js +1 -0
- package/dist/viewer/assets/tex-D96PA37w.js +1 -0
- package/dist/viewer/assets/textarea-Clgdv3Oi.js +1 -0
- package/dist/viewer/assets/timeline-definition-24CTP7MA-D0YXQE1U.js +120 -0
- package/dist/viewer/assets/tokyo-night-hegEt444.js +1 -0
- package/dist/viewer/assets/toml-vGWfd6FD.js +1 -0
- package/dist/viewer/assets/transform-BqqRT-Iy.js +1 -0
- package/dist/viewer/assets/ts-tags-Ls60c9xG.js +1 -0
- package/dist/viewer/assets/tsv-B_m7g4N7.js +1 -0
- package/dist/viewer/assets/tsx-COt5Ahok.js +1 -0
- package/dist/viewer/assets/turtle-BsS91CYL.js +1 -0
- package/dist/viewer/assets/twig-D9-LOF2p.js +1 -0
- package/dist/viewer/assets/typescript-BPQ3VLAy.js +1 -0
- package/dist/viewer/assets/typespec-ClX509-Q.js +1 -0
- package/dist/viewer/assets/typst-DamkJZ1Q.js +1 -0
- package/dist/viewer/assets/ui-graph-logo-gHowu5gP.js +1 -0
- package/dist/viewer/assets/upload-CYb3nN_5.js +6 -0
- package/dist/viewer/assets/uploads-CX2kdXbM.js +26 -0
- package/dist/viewer/assets/use-debounced-value-BpNFJd3C.js +1 -0
- package/dist/viewer/assets/use-localstorage-D233xVb0.js +1 -0
- package/dist/viewer/assets/use-permissions-BvmxJJ5r.js +1 -0
- package/dist/viewer/assets/use-scoped-storage-DL1XVp1j.js +6 -0
- package/dist/viewer/assets/useMutation-D5ZHwHsx.js +1 -0
- package/dist/viewer/assets/useQuery-Dhe6uxrL.js +1 -0
- package/dist/viewer/assets/v-BGw2Nkan.js +1 -0
- package/dist/viewer/assets/vala-CsfeWuGM.js +1 -0
- package/dist/viewer/assets/value-wA6veExk.js +1 -0
- package/dist/viewer/assets/vb-Cu-pLBUe.js +1 -0
- package/dist/viewer/assets/vennDiagram-4TSXK5OY-SSjHlqCQ.js +34 -0
- package/dist/viewer/assets/verilog-nZwndyjY.js +1 -0
- package/dist/viewer/assets/vesper-DRje8inN.js +1 -0
- package/dist/viewer/assets/vhdl-CeAyd5Ju.js +1 -0
- package/dist/viewer/assets/viml-CJc9bBzg.js +1 -0
- package/dist/viewer/assets/vitesse-black-Bkuqu6BP.js +1 -0
- package/dist/viewer/assets/vitesse-dark-D0r3Knsf.js +1 -0
- package/dist/viewer/assets/vitesse-light-CVO1_9PV.js +1 -0
- package/dist/viewer/assets/vue-DSqPwMUe.js +1 -0
- package/dist/viewer/assets/vue-html-AaS7Mt5G.js +1 -0
- package/dist/viewer/assets/vue-vine-C0RcJ6UU.js +1 -0
- package/dist/viewer/assets/vyper-CDx5xZoG.js +1 -0
- package/dist/viewer/assets/wardleyDiagram-VM6X3IG4-CZWNdQxH.js +78 -0
- package/dist/viewer/assets/wasm-CG6Dc4jp.js +1 -0
- package/dist/viewer/assets/wasm-MzD3tlZU.js +1 -0
- package/dist/viewer/assets/wenyan-BV7otONQ.js +1 -0
- package/dist/viewer/assets/wgsl-Dx-B1_4e.js +1 -0
- package/dist/viewer/assets/wikitext-BhOHFoWU.js +1 -0
- package/dist/viewer/assets/wit-5i3qLPDT.js +1 -0
- package/dist/viewer/assets/wolfram-lXgVvXCa.js +1 -0
- package/dist/viewer/assets/xml-sdJ4AIDG.js +1 -0
- package/dist/viewer/assets/xsl-CtQFsRM5.js +1 -0
- package/dist/viewer/assets/xychartDiagram-S5SC5T6Z-B2qAGeb0.js +7 -0
- package/dist/viewer/assets/yaml-Buea-lGh.js +1 -0
- package/dist/viewer/assets/zenscript-DVFEvuxE.js +1 -0
- package/dist/viewer/assets/zig-VOosw3JB.js +1 -0
- package/dist/viewer/assets/zod-BMU4UTQt.js +1 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_AWS-Clean-Rooms_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_AWS-Data-Exchange_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_AWS-Entity-Resolution_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_AWS-Glue-DataBrew_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_AWS-Glue_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_AWS-Lake-Formation_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-Athena_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-CloudSearch_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-Data-Firehose_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-DataZone_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-EMR_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-FinSpace_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-Kinesis-Data-Streams_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-Kinesis-Video-Streams_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-Kinesis_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-Managed-Service-for-Apache-Flink_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-Managed-Streaming-for-Apache-Kafka_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-OpenSearch-Service_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-QuickSight_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-Redshift_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Analytics/64/Arch_Amazon-SageMaker_64.svg +4 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_App-Integration/64/Arch_AWS-AppSync_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_App-Integration/64/Arch_AWS-B2B-Data-Interchange_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_App-Integration/64/Arch_AWS-Express-Workflows_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_App-Integration/64/Arch_AWS-Step-Functions_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_App-Integration/64/Arch_Amazon-AppFlow_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_App-Integration/64/Arch_Amazon-EventBridge_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_App-Integration/64/Arch_Amazon-MQ_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_App-Integration/64/Arch_Amazon-Managed-Workflows-for-Apache-Airflow_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_App-Integration/64/Arch_Amazon-Simple-Notification-Service_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_App-Integration/64/Arch_Amazon-Simple-Queue-Service_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_AWS-App-Studio_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_AWS-Deep-Learning-AMIs_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_AWS-Deep-Learning-Containers_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_AWS-DeepComposer_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_AWS-DeepRacer_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_AWS-HealthImaging_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_AWS-HealthLake_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_AWS-HealthOmics_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_AWS-HealthScribe_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_AWS-Neuron_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_AWS-Panorama_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Augmented-AI-A2I_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Bedrock_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-CodeGuru_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-CodeWhisperer_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Comprehend-Medical_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Comprehend_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-DevOps-Guru_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Elastic-Inference_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Forecast_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Fraud-Detector_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Kendra_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Lex_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Lookout-for-Equipment_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Lookout-for-Metrics_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Lookout-for-Vision_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Monitron_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Nova_64.svg +4 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Personalize_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Polly_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Q_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Rekognition_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-SageMaker-AI_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-SageMaker-Ground-Truth_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-SageMaker-Studio-Lab_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Textract_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Transcribe_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Amazon-Translate_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_Apache-MXNet-on-AWS_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_PyTorch-on-AWS_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Artificial-Intelligence/64/Arch_TensorFlow-on-AWS_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Blockchain/64/Arch_Amazon-Managed-Blockchain_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Blockchain/64/Arch_Amazon-Quantum-Ledger-Database_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_AWS-AppFabric_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_AWS-End-User-Messaging_64.svg +11 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_AWS-Supply-Chain_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_AWS-Wickr_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_Alexa-For-Business_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_Amazon-Chime-SDK_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_Amazon-Chime_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_Amazon-Connect_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_Amazon-Pinpoint-APIs_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_Amazon-Pinpoint_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_Amazon-Simple-Email-Service_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_Amazon-WorkDocs-SDK_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_Amazon-WorkDocs_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Business-Applications/64/Arch_Amazon-WorkMail_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Cloud-Financial-Management/64/Arch_AWS-Billing-Conductor_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Cloud-Financial-Management/64/Arch_AWS-Budgets_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Cloud-Financial-Management/64/Arch_AWS-Cost-Explorer_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Cloud-Financial-Management/64/Arch_AWS-Cost-and-Usage-Report_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Cloud-Financial-Management/64/Arch_Reserved-Instance-Reporting_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Cloud-Financial-Management/64/Arch_Savings-Plans_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-App-Runner_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Batch_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Compute-Optimizer_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Elastic-Beanstalk_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Lambda_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Local-Zones_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Nitro-Enclaves_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Outposts-family_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Outposts-rack_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Outposts-servers_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Parallel-Cluster_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Parallel-Computing-Service_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Serverless-Application-Repository_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-SimSpace-Weaver_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_AWS-Wavelength_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_Amazon-DCV_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_Amazon-EC2-Auto-Scaling_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_Amazon-EC2-Image-Builder_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_Amazon-EC2_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_Amazon-Elastic-VMware-Service_64.svg +4 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_Amazon-Lightsail-for-Research_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_Amazon-Lightsail_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_Bottlerocket_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_Elastic-Fabric-Adapter_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Compute/64/Arch_NICE-EnginFrame_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Containers/64/Arch_AWS-Fargate_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Containers/64/Arch_Amazon-ECS-Anywhere_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Containers/64/Arch_Amazon-EKS-Anywhere_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Containers/64/Arch_Amazon-EKS-Cloud_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Containers/64/Arch_Amazon-EKS-Distro_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Containers/64/Arch_Amazon-Elastic-Container-Registry_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Containers/64/Arch_Amazon-Elastic-Container-Service_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Containers/64/Arch_Amazon-Elastic-Kubernetes-Service_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Containers/64/Arch_Red-Hat-OpenShift-Service-on-AWS_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Customer-Enablement/64/Arch_AWS-Activate_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Customer-Enablement/64/Arch_AWS-IQ_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Customer-Enablement/64/Arch_AWS-Managed-Services_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Customer-Enablement/64/Arch_AWS-Professional-Services_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Customer-Enablement/64/Arch_AWS-Support_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Customer-Enablement/64/Arch_AWS-Training-Certification_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Customer-Enablement/64/Arch_AWS-rePost-Private_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Customer-Enablement/64/Arch_AWS-rePost_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Database/64/Arch_AWS-Database-Migration-Service_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Database/64/Arch_Amazon-Aurora_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Database/64/Arch_Amazon-DocumentDB_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Database/64/Arch_Amazon-DynamoDB_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Database/64/Arch_Amazon-ElastiCache_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Database/64/Arch_Amazon-Keyspaces_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Database/64/Arch_Amazon-MemoryDB_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Database/64/Arch_Amazon-Neptune_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Database/64/Arch_Amazon-RDS_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Database/64/Arch_Amazon-Timestream_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Database/64/Arch_Oracle-Database-at-AWS_64.svg +4 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-Cloud-Control-API_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-Cloud-Development-Kit_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-Cloud9_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-CloudShell_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-CodeArtifact_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-CodeBuild_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-CodeCommit_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-CodeDeploy_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-CodePipeline_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-Command-Line-Interface_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-Fault-Injection-Service_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-Infrastructure-Composer_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-Tools-and-SDKs_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_AWS-X-Ray_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_Amazon-CodeCatalyst_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Developer-Tools/64/Arch_Amazon-Corretto_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_End-User-Computing/64/Arch_Amazon-AppStream-2_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_End-User-Computing/64/Arch_Amazon-WorkSpaces-Family_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Front-End-Web-Mobile/64/Arch_AWS-Amplify_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Front-End-Web-Mobile/64/Arch_AWS-Device-Farm_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Front-End-Web-Mobile/64/Arch_Amazon-Location-Service_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Games/64/Arch_Amazon-GameLift-Servers_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Games/64/Arch_Amazon-GameLift-Streams_64.svg +4 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Games/64/Arch_Open-3D-Engine_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_General-Icons/64/Arch_AWS-Marketplace_Dark_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_General-Icons/64/Arch_AWS-Marketplace_Light_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Internet-of-Things/64/Arch_AWS-IoT-Analytics_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Internet-of-Things/64/Arch_AWS-IoT-Button_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Internet-of-Things/64/Arch_AWS-IoT-Core_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Internet-of-Things/64/Arch_AWS-IoT-Device-Defender_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Internet-of-Things/64/Arch_AWS-IoT-Device-Management_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Internet-of-Things/64/Arch_AWS-IoT-Events_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Internet-of-Things/64/Arch_AWS-IoT-ExpressLink_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Internet-of-Things/64/Arch_AWS-IoT-FleetWise_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Internet-of-Things/64/Arch_AWS-IoT-Greengrass_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Internet-of-Things/64/Arch_AWS-IoT-SiteWise_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Internet-of-Things/64/Arch_AWS-IoT-TwinMaker_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Internet-of-Things/64/Arch_FreeRTOS_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-AppConfig_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Application-Auto-Scaling_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Auto-Scaling_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Backint-Agent_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Chatbot_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-CloudFormation_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-CloudTrail_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Compute-Optimizer_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Config_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Console-Mobile-Application_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Control-Tower_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Distro-for-OpenTelemetry_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Health-Dashboard_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Launch-Wizard_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-License-Manager_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Management-Console_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Organizations_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Proton_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Resilience-Hub_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Resource-Explorer_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Service-Catalog_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Service-Management-Connector_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Systems-Manager_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Telco-Network-Builder_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Trusted-Advisor_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-User-Notifications_64.svg +4 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_AWS-Well-Architected-Tool_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_Amazon-CloudWatch_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_Amazon-Managed-Grafana_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Management-Governance/64/Arch_Amazon-Managed-Service-for-Prometheus_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Deadline-Cloud_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Elemental-Appliances-&-Software_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Elemental-Conductor_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Elemental-Delta_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Elemental-Link_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Elemental-Live_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Elemental-MediaConnect_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Elemental-MediaConvert_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Elemental-MediaLive_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Elemental-MediaPackage_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Elemental-MediaStore_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Elemental-MediaTailor_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Elemental-Server_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Thinkbox-Deadline_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Thinkbox-Frost_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Thinkbox-Krakatoa_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Thinkbox-Sequoia_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Thinkbox-Stoke_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_AWS-Thinkbox-XMesh_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_Amazon-Elastic-Transcoder_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_Amazon-Interactive-Video-Service_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Media-Services/64/Arch_Amazon-Kinesis-Video-Streams_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Migration-Modernization/64/Arch_AWS-Application-Discovery-Service_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Migration-Modernization/64/Arch_AWS-Application-Migration-Service_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Migration-Modernization/64/Arch_AWS-Data-Transfer-Terminal_64.svg +11 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Migration-Modernization/64/Arch_AWS-DataSync_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Migration-Modernization/64/Arch_AWS-Mainframe-Modernization_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Migration-Modernization/64/Arch_AWS-Migration-Evaluator_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Migration-Modernization/64/Arch_AWS-Migration-Hub_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Migration-Modernization/64/Arch_AWS-Transfer-Family_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Migration-Modernization/64/Arch_AWS-Transform_64.svg +11 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_AWS-App-Mesh_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_AWS-Client-VPN_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_AWS-Cloud-Map_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_AWS-Cloud-WAN_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_AWS-Direct-Connect_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_AWS-Global-Accelerator_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_AWS-Private-5G_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_AWS-PrivateLink_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_AWS-Site-to-Site-VPN_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_AWS-Transit-Gateway_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_AWS-Verified-Access_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_Amazon-API-Gateway_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_Amazon-Application-Recovery-Controller_64.svg +11 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_Amazon-CloudFront_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_Amazon-Route-53_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_Amazon-VPC-Lattice_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_Amazon-Virtual-Private-Cloud_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Networking-Content-Delivery/64/Arch_Elastic-Load-Balancing_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Quantum-Technologies/64/Arch_Amazon-Braket_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Satellite/64/Arch_AWS-Ground-Station_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Artifact_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Audit-Manager_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Certificate-Manager_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-CloudHSM_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Directory-Service_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Firewall-Manager_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-IAM-Identity-Center_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Identity-and-Access-Management_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Key-Management-Service_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Network-Firewall_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Payment-Cryptography_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Private-Certificate-Authority_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Resource-Access-Manager_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Secrets-Manager_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Security-Hub_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Security-Incident-Response_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Shield_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-Signer_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_AWS-WAF_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_Amazon-Cloud-Directory_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_Amazon-Cognito_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_Amazon-Detective_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_Amazon-GuardDuty_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_Amazon-Inspector_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_Amazon-Macie_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_Amazon-Security-Lake_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Security-Identity-Compliance/64/Arch_Amazon-Verified-Permissions_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_AWS-Backup_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_AWS-Elastic-Disaster-Recovery_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_AWS-Snowball-Edge_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_AWS-Snowball_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_AWS-Storage-Gateway_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_Amazon-EFS_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_Amazon-Elastic-Block-Store_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_Amazon-FSx-for-Lustre_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_Amazon-FSx-for-NetApp-ONTAP_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_Amazon-FSx-for-OpenZFS_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_Amazon-FSx-for-WFS_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_Amazon-FSx_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_Amazon-File-Cache_64.svg +10 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_Amazon-S3-on-Outposts_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_Amazon-Simple-Storage-Service-Glacier_64.svg +12 -0
- package/dist/viewer/aws-icons/Architecture-Service-Icons_07312025/Arch_Storage/64/Arch_Amazon-Simple-Storage-Service_64.svg +12 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_AWS-Data-Exchange-for-APIs_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_AWS-Glue_AWS-Glue-for-Ray_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_AWS-Glue_Crawler_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_AWS-Glue_Data-Catalog_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_AWS-Glue_Data-Quality_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_AWS-Lake-Formation_Data-Lake_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-Athena_Data-Source-Connectors_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-CloudSearch_Search-Documents_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-DataZone_Business-Data-Catalog_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-DataZone_Data-Portal_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-DataZone_Data-Projects_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-EMR_Cluster_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-EMR_EMR-Engine_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-EMR_HDFS-Cluster_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-MSK_Amazon-MSK-Connect_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-OpenSearch-Service_Cluster-Administrator-Node_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-OpenSearch-Service_Data-Node_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-OpenSearch-Service_Index_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-OpenSearch-Service_Observability_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-OpenSearch-Service_OpenSearch-Dashboards_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-OpenSearch-Service_OpenSearch-Ingestion_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-OpenSearch-Service_Traces_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-OpenSearch-Service_UltraWarm-Node_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-Quicksight_Paginated-Reports_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-Redshift_Auto-copy_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-Redshift_Data-Sharing-Governance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-Redshift_Dense-Compute-Node_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-Redshift_Dense-Storage-Node_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-Redshift_ML_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-Redshift_Query-Editor-v2.0_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-Redshift_RA3_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Analytics/Res_Amazon-Redshift_Streaming-Ingestion_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-EventBridge-Event_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-EventBridge_Custom-Event-Bus_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-EventBridge_Default-Event-Bus_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-EventBridge_Pipes_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-EventBridge_Rule_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-EventBridge_Saas-Partner-Event_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-EventBridge_Scheduler_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-EventBridge_Schema-Registry_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-EventBridge_Schema_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-MQ_Broker_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-Simple-Notification-Service_Email-Notification_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-Simple-Notification-Service_HTTP-Notification_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-Simple-Notification-Service_Topic_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-Simple-Queue-Service_Message_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Application-Integration/Res_Amazon-Simple-Queue-Service_Queue_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Artificial-Intelligence/Res_Amazon-DevOps-Guru_Insights_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Artificial-Intelligence/Res_Amazon-Rekognition_Image_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Artificial-Intelligence/Res_Amazon-Rekognition_Video_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Artificial-Intelligence/Res_Amazon-SageMaker-AI_Canvas_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Artificial-Intelligence/Res_Amazon-SageMaker-AI_Geospatial-ML_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Artificial-Intelligence/Res_Amazon-SageMaker-AI_Model_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Artificial-Intelligence/Res_Amazon-SageMaker-AI_Notebook_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Artificial-Intelligence/Res_Amazon-SageMaker-AI_Shadow-Testing_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Artificial-Intelligence/Res_Amazon-SageMaker-AI_Train_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Artificial-Intelligence/Res_Amazon-Textract_Analyze-Lending_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Blockchain/Res_Amazon-Managed-Blockchain_Blockchain_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Business-Applications/Res_Amazon-Pinpoint_Journey_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Business-Applications/Res_Amazon-Simple-Email-Service_Email_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_AWS-Elastic-Beanstalk_Application_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_AWS-Elastic-Beanstalk_Deployment_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_AWS-Lambda_Lambda-Function_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_Amazon-EC2_AMI_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_Amazon-EC2_AWS-Microservice-Extractor-for-.NET_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_Amazon-EC2_Auto-Scaling_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_Amazon-EC2_DB-Instance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_Amazon-EC2_Elastic-IP-Address_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_Amazon-EC2_Instance-with-CloudWatch_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_Amazon-EC2_Instance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_Amazon-EC2_Instances_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_Amazon-EC2_Rescue_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Compute/Res_Amazon-EC2_Spot-Instance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Containers/Res_Amazon-Elastic-Container-Registry_Image_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Containers/Res_Amazon-Elastic-Container-Registry_Registry_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Containers/Res_Amazon-Elastic-Container-Service_Container-1_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Containers/Res_Amazon-Elastic-Container-Service_Container-2_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Containers/Res_Amazon-Elastic-Container-Service_Container-3_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Containers/Res_Amazon-Elastic-Container-Service_CopiIoT-CLI_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Containers/Res_Amazon-Elastic-Container-Service_ECS-Service-Connect_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Containers/Res_Amazon-Elastic-Container-Service_Service_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Containers/Res_Amazon-Elastic-Container-Service_Task_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Containers/Res_Amazon-Elastic-Kubernetes-Service_EKS-on-Outposts_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_AWS-Database-Migration-Service_Database-migration-workflow-or-job_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora-Instance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora-MariaDB-Instance-Alternate_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora-MariaDB-Instance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora-MySQL-Instance-Alternate_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora-MySQL-Instance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora-Oracle-Instance-Alternate_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora-Oracle-Instance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora-PIOPS-Instance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora-PostgreSQL-Instance-Alternate_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora-PostgreSQL-Instance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora-SQL-Server-Instance-Alternate_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora-SQL-Server-Instance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora_Amazon-Aurora-Instance-alternate_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora_Amazon-RDS-Instance-Aternate_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora_Amazon-RDS-Instance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-Aurora_Trusted-Language-Extensions-for-PostgreSQL_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-DocumentDB_Elastic-Clusters_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-DynamoDB_Amazon-DynamoDB-Accelerator_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-DynamoDB_Attribute_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-DynamoDB_Attributes_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-DynamoDB_Global-secondary-index_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-DynamoDB_Item_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-DynamoDB_Items_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-DynamoDB_Standard-Access-Table-Class_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-DynamoDB_Standard-Infrequent-Access-Table-Class_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-DynamoDB_Stream_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-DynamoDB_Table_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-ElastiCache_Cache-Node_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-ElastiCache_ElastiCache-for-Memcached_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-ElastiCache_ElastiCache-for-Redis_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-ElastiCache_ElastiCache-for-Valkey_48.svg +3 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-RDS-Proxy-Instance-Alternate_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-RDS-Proxy-Instance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-RDS_Blue-Green-Deployments_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-RDS_Multi-AZ-DB-Cluster_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-RDS_Multi-AZ_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-RDS_Optimized-Writes_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Database/Res_Amazon-RDS_Trusted-Language-Extensions-for-PostgreSQL_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Developer-Tools/Res_AWS-Cloud9_Cloud9_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_End-User-Computing/Res_Amazon-WorkSpaces-Family_Amazon-WorkSpaces-Core_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_End-User-Computing/Res_Amazon-WorkSpaces-Family_Amazon-WorkSpaces-Secure-Browser_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_End-User-Computing/Res_Amazon-WorkSpaces-Family_Amazon-WorkSpaces_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Front-End-Web-Mobile/Res_AWS-Amplify_AWS-Amplify-Studio_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Front-End-Web-Mobile/Res_Amazon-Location-Service_Geofence_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Front-End-Web-Mobile/Res_Amazon-Location-Service_Map _48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Front-End-Web-Mobile/Res_Amazon-Location-Service_Place_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Front-End-Web-Mobile/Res_Amazon-Location-Service_Routes_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Front-End-Web-Mobile/Res_Amazon-Location-Service_Track _48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Analytics_Channel_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Analytics_Data-Store_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Analytics_Dataset_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Analytics_Notebook_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Analytics_Pipeline_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Core_Device-Advisor_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Core_Device-Location_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Device-Defender_IoT-Device-Jobs_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Device-Management_Fleet-Hub_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Device-Tester_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Greengrass_Artifact_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Greengrass_Component-Machine-Learning_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Greengrass_Component-Nucleus_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Greengrass_Component-Private_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Greengrass_Component-Public_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Greengrass_Component_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Greengrass_Connector_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Greengrass_Interprocess-Communication_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Greengrass_Protocol_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Greengrass_Recipe_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Greengrass_Stream-Manager_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Hardware-Board_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-Rule_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-SiteWise_Asset-Hierarchy_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-SiteWise_Asset-Model_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-SiteWise_Asset-Properties_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-SiteWise_Asset_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT-SiteWise_Data-Streams_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Action_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Actuator_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Alexa_Enabled-Device_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Alexa_Skill_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Alexa_Voice-Service_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Certificate_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Desired-State_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Device-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Echo_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Fire-TV_Stick_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Fire_TV_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_HTTP2-Protocol_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_HTTP_Protocol_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Lambda_Function_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_LoRaWAN-Protocol_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_MQTT_Protocol_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Over-Air-Update_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Policy_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Reported-State_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Sailboat_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Sensor_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Servo_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Shadow_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Simulator_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Bank_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Bicycle_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Camera_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Car_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Cart_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Coffee-Pot_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Door-Lock_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Factory_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_FreeRTOS-Device_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Generic_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_House_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Humidity-Sensor_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Industrial-PC_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Lightbulb_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Medical-Emergency_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_PLC_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Police-Emergency_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Relay_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Stacklight_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Temperature-Humidity-Sensor_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Temperature-Sensor_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Temperature-Vibration-Sensor_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Thermostat_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Travel_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Utility_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Vibration-Sensor_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Thing_Windfarm_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_IoT/Res_AWS-IoT_Topic_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-CloudFormation_Change-Set_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-CloudFormation_Stack_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-CloudFormation_Template_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-CloudTrail_CloudTrail-Lake_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-License-Manager_Application-Discovery_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-License-Manager_License-Blending_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Organizations_Account_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Organizations_Management-Account_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Organizations_Organizational-Unit_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Application-Manager_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Automation_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Change-Calendar_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Change-Manager_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Compliance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Distributor_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Documents_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Incident-Manager_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Inventory_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Maintenance-Windows_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_OpsCenter_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Parameter-Store_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Patch-Manager_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Run-Command_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_Session-Manager_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Systems-Manager_State-Manager_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Trusted-Advisor_Checklist-Cost_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Trusted-Advisor_Checklist-Fault-Tolerant_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Trusted-Advisor_Checklist-Performance_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Trusted-Advisor_Checklist-Security_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_AWS-Trusted-Advisor_Checklist_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_Amazon-CloudWatch_Alarm_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_Amazon-CloudWatch_Cross-account-Observability_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_Amazon-CloudWatch_Data-Protection_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_Amazon-CloudWatch_Event-Event-Based_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_Amazon-CloudWatch_Event-Time-Based_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_Amazon-CloudWatch_Evidently_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_Amazon-CloudWatch_Logs_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_Amazon-CloudWatch_Metrics-Insights_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_Amazon-CloudWatch_RUM_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_Amazon-CloudWatch_Rule_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Management-Governance/Res_Amazon-CloudWatch_Synthetics_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Media-Services/Res_AWS-Cloud-Digital-Interface_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Media-Services/Res_AWS-Elemental-MediaConnect_MediaConnect-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Application-Discovery-Service_AWS-Agentless-Collector_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Application-Discovery-Service_AWS-Discovery-Agent_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Application-Discovery-Service_Migration-Evaluator-Collector_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-DataSync_Discovery_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Datasync_Agent_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Mainframe-Modernization_Analyzer_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Mainframe-Modernization_Compiler_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Mainframe-Modernization_Converter_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Mainframe-Modernization_Developer_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Mainframe-Modernization_Runtime_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Migration-Hub_Refactor-Spaces-Applications_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Migration-Hub_Refactor-Spaces-Environments_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Migration-Hub_Refactor-Spaces-Services_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Transfer-Family_AWS-AS2_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Transfer-Family_AWS-FTPS_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Transfer-Family_AWS-FTP_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Migration-Modernization/Res_AWS-Transfer-Family_AWS-SFTP_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-App-Mesh_Mesh_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-App-Mesh_Virtual-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-App-Mesh_Virtual-Node_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-App-Mesh_Virtual-Router_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-App-Mesh_Virtual-Service_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-Cloud-Map_Namespace_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-Cloud-Map_Resource_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-Cloud-Map_Service_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-Cloud-WAN_Core-Network-Edge_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-Cloud-WAN_Segment-Network_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-Cloud-WAN_Transit-Gateway-Route-Table-Attachment_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-Direct-Connect_Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_AWS-Transit-Gateway_Attachment_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-API-Gateway_Endpoint_48.svg +5 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-CloudFront_Download-Distribution_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-CloudFront_Edge-Location_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-CloudFront_Functions_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-CloudFront_Streaming-Distribution_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-Route-53-Hosted-Zone_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-Route-53_Readiness-Checks_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-Route-53_Resolver-DNS-Firewall_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-Route-53_Resolver-Query-Logging_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-Route-53_Resolver_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-Route-53_Route-Table_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-Route-53_Routing-Controls_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Carrier-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Customer-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Elastic-Network-Adapter_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Elastic-Network-Interface_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Endpoints_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Flow-Logs_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Internet-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_NAT-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Network-Access-Analyzer_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Network-Access-Control-List_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Peering-Connection_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Reachability-Analyzer_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Router_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Traffic-Mirroring_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_VPN-Connection_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_VPN-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Amazon-VPC_Virtual-private-cloud-VPC_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Elastic-Load-Balancing_Application-Load-Balancer_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Elastic-Load-Balancing_Classic-Load-Balancer_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Elastic-Load-Balancing_Gateway-Load-Balancer_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Networking-Content-Delivery/Res_Elastic-Load-Balancing_Network-Load-Balancer_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_Chandelier_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_Chip_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_Embedded-Simulator_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_Managed-Simulator_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_Noise-Simulator_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_QPU_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_Simulator-1_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_Simulator-2_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_Simulator-3_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_Simulator-4_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_Simulator_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_State-Vector_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Quantum-Technologies/Res_Amazon-Braket_Tensor-Network_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Certificate-Manager_Certificate-Authority_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Directory-Service_AD-Connector_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Directory-Service_AWS-Managed-Microsoft-AD_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Directory-Service_Simple-AD_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Identity-Access-Management_AWS-STS-Alternate_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Identity-Access-Management_AWS-STS_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Identity-Access-Management_Add-on_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Identity-Access-Management_Data-Encryption-Key_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Identity-Access-Management_Encrypted-Data_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Identity-Access-Management_IAM-Access-Analyzer_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Identity-Access-Management_IAM-Roles-Anywhere_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Identity-Access-Management_Long-Term-Security-Credential_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Identity-Access-Management_MFA-Token_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Identity-Access-Management_Permissions_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Identity-Access-Management_Role_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Identity-Access-Management_Temporary-Security-Credential_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Key-Management-Service_External-Key-Store_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Network-Firewall_Endpoints_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Security-Hub_Finding_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-Shield_AWS-Shield-Advanced_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-WAF_Bad-Bot_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-WAF_Bot-Control_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-WAF_Bot_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-WAF_Filtering-Rule_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-WAF_Labels_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-WAF_Managed-Rule_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_AWS-WAF_Rule_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Security-Identity-Compliance/Res_Amazon-Inspector_Agent_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_AWS-Backup-Support-for-VMware-Workloads_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_AWS-Backup-for-AWS-CloudFormation_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_AWS-Backup-support-for-Amazon-FSx-for-NetApp-ONTAP_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_AWS-Backup-support-for-Amazon-S3_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Audit-Manager_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Backup-Plan_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Backup-Restore_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Backup-Vault_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Compliance-Reporting_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Compute_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Database_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Legal-Hold_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Recovery-Point-Objective_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Recovery-Time-Objective_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Storage_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Vault-Lock_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Virtual-Machine-Monitor_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Backup_Virtual-Machine_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Snowball_Snowball-Import-Export_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Storage-Gateway_Amazon-FSx-File-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Storage-Gateway_Amazon-S3-File-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Storage-Gateway_Cached-Volume_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Storage-Gateway_File-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Storage-Gateway_Noncached-Volume_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Storage-Gateway_Tape-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Storage-Gateway_Virtual-Tape-Library_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_AWS-Storage-Gateway_Volume-Gateway_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Elastic-Block-Store_Amazon-Data-Lifecycle-Manager_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Elastic-Block-Store_Multiple-Volumes_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Elastic-Block-Store_Snapshot_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Elastic-Block-Store_Volume-gp3_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Elastic-Block-Store_Volume_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Elastic-File-System_EFS-Intelligent-Tiering_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Elastic-File-System_EFS-One-Zone-Infrequent-Access_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Elastic-File-System_EFS-One-Zone_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Elastic-File-System_EFS-Standard-Infrequent-Access_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Elastic-File-System_EFS-Standard_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Elastic-File-System_Elastic-Throughput_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Elastic-File-System_File-System_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-File-Cache_Hybrid-NFS-linked-datasets_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-File-Cache_On-premises-NFS-linked-datasets_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-File-Cache_S3-linked-datasets_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service-Glacier_Archive_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service-Glacier_Vault_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_Bucket-With-Objects_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_Bucket_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_Directory-bucket_48.svg +3 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_General-Access-Points_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_Object_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Batch-Operations_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Express-One-Zone_48.svg +10 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Glacier-Deep-Archive_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Glacier-Flexible-Retrieval_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Glacier-Instant-Retrieval_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Intelligent-Tiering_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Multi-Region-Access-Points_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Object-Lambda-Access-Points_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Object-Lambda_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Object-Lock_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-On-Outposts_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-One-Zone-IA_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Replication-Time-Control_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Replication_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Select_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Standard-IA_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Standard_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Storage-Lens_48.svg +7 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Tables_48.svg +3 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_S3-Vectors_48.svg +3 -0
- package/dist/viewer/aws-icons/Resource-Icons_07312025/Res_Storage/Res_Amazon-Simple-Storage-Service_VPC-Access-Points_48.svg +7 -0
- package/dist/viewer/aws-icons.json +5914 -0
- package/dist/viewer/azure-icons/ai + machine learning/00028-icon-service-Batch-AI.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00030-icon-service-Machine-Learning-Studio-(Classic)-Web-Services.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00031-icon-service-Genomics.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00792-icon-service-Computer-Vision.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00793-icon-service-Custom-Vision.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00794-icon-service-Face-APIs.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00795-icon-service-Content-Moderators.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00796-icon-service-Personalizers.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00797-icon-service-Speech-Services.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00799-icon-service-QnA-Makers.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00800-icon-service-Translator-Text.svg +2 -0
- package/dist/viewer/azure-icons/ai + machine learning/00801-icon-service-Language-Understanding.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00812-icon-service-Immersive-Readers.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00814-icon-service-Anomaly-Detector.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/00819-icon-service-Form-Recognizers.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/01239-icon-service-Azure-Experimentation-Studio.svg +2 -0
- package/dist/viewer/azure-icons/ai + machine learning/01688-icon-service-Azure-Object-Understanding.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/02409-icon-service-Metrics-Advisor.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/02749-icon-service-Azure-Applied-AI-Services.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/02876-icon-service-Language.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/03173-icon-service-Cognitive-Services-Decisions.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/03321-icon-service-Serverless-Search.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/03337-icon-service-Bonsai.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/03390-icon-service-Content-Safety.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/03438-icon-service-Azure-OpenAI.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/03513-icon-service-AI-Studio.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/10044-icon-service-Cognitive-Search.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/10162-icon-service-Cognitive-Services.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/10164-icon-service-Genomics-Accounts.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/10165-icon-service-Bot-Services.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/10166-icon-service-Machine-Learning.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/10167-icon-service-Machine-Learning-Studio-Workspaces.svg +1 -0
- package/dist/viewer/azure-icons/ai + machine learning/10168-icon-service-Machine-Learning-Studio-Web-Service-Plans.svg +1 -0
- package/dist/viewer/azure-icons/analytics/00009-icon-service-Log-Analytics-Workspaces.svg +1 -0
- package/dist/viewer/azure-icons/analytics/00039-icon-service-Event-Hubs.svg +1 -0
- package/dist/viewer/azure-icons/analytics/00042-icon-service-Stream-Analytics-Jobs.svg +1 -0
- package/dist/viewer/azure-icons/analytics/00562-icon-service-Endpoint-Analytics.svg +2 -0
- package/dist/viewer/azure-icons/analytics/00606-icon-service-Azure-Synapse-Analytics.svg +1 -0
- package/dist/viewer/azure-icons/analytics/02189-icon-service-Azure-Workbooks.svg +1 -0
- package/dist/viewer/azure-icons/analytics/02209-icon-service-Private-Link-Services.svg +1 -0
- package/dist/viewer/azure-icons/analytics/03332-icon-service-Power-BI-Embedded.svg +1 -0
- package/dist/viewer/azure-icons/analytics/03335-icon-service-Power-Platform.svg +1 -0
- package/dist/viewer/azure-icons/analytics/10126-icon-service-Data-Factories.svg +1 -0
- package/dist/viewer/azure-icons/analytics/10142-icon-service-HD-Insight-Clusters.svg +1 -0
- package/dist/viewer/azure-icons/analytics/10143-icon-service-Data-Lake-Analytics.svg +1 -0
- package/dist/viewer/azure-icons/analytics/10145-icon-service-Azure-Data-Explorer-Clusters.svg +1 -0
- package/dist/viewer/azure-icons/analytics/10148-icon-service-Analysis-Services.svg +1 -0
- package/dist/viewer/azure-icons/analytics/10149-icon-service-Event-Hub-Clusters.svg +1 -0
- package/dist/viewer/azure-icons/analytics/10150-icon-service-Data-Lake-Store-Gen1.svg +1 -0
- package/dist/viewer/azure-icons/analytics/10787-icon-service-Azure-Databricks.svg +1 -0
- package/dist/viewer/azure-icons/app services/00046-icon-service-App-Service-Plans.svg +1 -0
- package/dist/viewer/azure-icons/app services/00049-icon-service-App-Service-Certificates.svg +1 -0
- package/dist/viewer/azure-icons/app services/00050-icon-service-App-Service-Domains.svg +1 -0
- package/dist/viewer/azure-icons/app services/00056-icon-service-CDN-Profiles.svg +1 -0
- package/dist/viewer/azure-icons/app services/10035-icon-service-App-Services.svg +1 -0
- package/dist/viewer/azure-icons/app services/10044-icon-service-Cognitive-Search.svg +1 -0
- package/dist/viewer/azure-icons/app services/10045-icon-service-Notification-Hubs.svg +1 -0
- package/dist/viewer/azure-icons/app services/10047-icon-service-App-Service-Environments.svg +1 -0
- package/dist/viewer/azure-icons/azure ecosystem/01038-icon-service-Collaborative-Service.svg +2 -0
- package/dist/viewer/azure-icons/azure ecosystem/02354-icon-service-Applens.svg +1 -0
- package/dist/viewer/azure-icons/azure ecosystem/02573-icon-service-Azure-Hybrid-Center.svg +1 -0
- package/dist/viewer/azure-icons/azure stack/00965-icon-service-Multi-Tenancy.svg +1 -0
- package/dist/viewer/azure-icons/azure stack/10108-icon-service-Infrastructure-Backup.svg +1 -0
- package/dist/viewer/azure-icons/azure stack/10109-icon-service-Capacity.svg +1 -0
- package/dist/viewer/azure-icons/azure stack/10110-icon-service-Offers.svg +1 -0
- package/dist/viewer/azure-icons/azure stack/10111-icon-service-User-Subscriptions.svg +1 -0
- package/dist/viewer/azure-icons/azure stack/10113-icon-service-Plans.svg +1 -0
- package/dist/viewer/azure-icons/azure stack/10115-icon-service-Updates.svg +1 -0
- package/dist/viewer/azure-icons/blockchain/10210-icon-service-Blockchain-Applications.svg +1 -0
- package/dist/viewer/azure-icons/blockchain/10364-icon-service-Outbound-Connection.svg +1 -0
- package/dist/viewer/azure-icons/blockchain/10366-icon-service-Azure-Blockchain-Service.svg +1 -0
- package/dist/viewer/azure-icons/blockchain/10367-icon-service-Azure-Token-Service.svg +1 -0
- package/dist/viewer/azure-icons/blockchain/10374-icon-service-ABS-Member.svg +1 -0
- package/dist/viewer/azure-icons/blockchain/10375-icon-service-Consortium.svg +1 -0
- package/dist/viewer/azure-icons/compute/00195-icon-service-Maintenance-Configuration.svg +1 -0
- package/dist/viewer/azure-icons/compute/00328-icon-service-Host-Pools.svg +1 -0
- package/dist/viewer/azure-icons/compute/00329-icon-service-Application-Group.svg +1 -0
- package/dist/viewer/azure-icons/compute/00330-icon-service-Workspaces.svg +1 -0
- package/dist/viewer/azure-icons/compute/00398-icon-service-Disk-Encryption-Sets.svg +1 -0
- package/dist/viewer/azure-icons/compute/00400-icon-service-Workspaces.svg +1 -0
- package/dist/viewer/azure-icons/compute/02112-icon-service-Automanaged-VM.svg +2 -0
- package/dist/viewer/azure-icons/compute/02370-icon-service-Managed-Service-Fabric.svg +1 -0
- package/dist/viewer/azure-icons/compute/02409-icon-service-Metrics-Advisor.svg +1 -0
- package/dist/viewer/azure-icons/compute/02634-icon-service-Image-Templates.svg +1 -0
- package/dist/viewer/azure-icons/compute/02817-icon-service-Restore-Points.svg +1 -0
- package/dist/viewer/azure-icons/compute/02818-icon-service-Restore-Points-Collections.svg +1 -0
- package/dist/viewer/azure-icons/compute/02864-icon-service-Azure-Compute-Galleries.svg +1 -0
- package/dist/viewer/azure-icons/compute/03487-icon-service-Compute-Fleet.svg +1 -0
- package/dist/viewer/azure-icons/compute/03543-icon-service-AKS-Automatic.svg +1 -0
- package/dist/viewer/azure-icons/compute/10021-icon-service-Virtual-Machine.svg +1 -0
- package/dist/viewer/azure-icons/compute/10023-icon-service-Kubernetes-Services.svg +1 -0
- package/dist/viewer/azure-icons/compute/10024-icon-service-Mesh-Applications.svg +1 -0
- package/dist/viewer/azure-icons/compute/10025-icon-service-Availability-Sets.svg +1 -0
- package/dist/viewer/azure-icons/compute/10026-icon-service-Disks-Snapshots.svg +1 -0
- package/dist/viewer/azure-icons/compute/10027-icon-service-OS-Images-(Classic).svg +1 -0
- package/dist/viewer/azure-icons/compute/10028-icon-service-Virtual-Machines-(Classic).svg +1 -0
- package/dist/viewer/azure-icons/compute/10029-icon-service-Function-Apps.svg +1 -0
- package/dist/viewer/azure-icons/compute/10030-icon-service-Cloud-Services-(Classic).svg +1 -0
- package/dist/viewer/azure-icons/compute/10031-icon-service-Batch-Accounts.svg +1 -0
- package/dist/viewer/azure-icons/compute/10032-icon-service-Disks.svg +1 -0
- package/dist/viewer/azure-icons/compute/10033-icon-service-Images.svg +1 -0
- package/dist/viewer/azure-icons/compute/10034-icon-service-VM-Scale-Sets.svg +1 -0
- package/dist/viewer/azure-icons/compute/10035-icon-service-App-Services.svg +1 -0
- package/dist/viewer/azure-icons/compute/10036-icon-service-Service-Fabric-Clusters.svg +1 -0
- package/dist/viewer/azure-icons/compute/10037-icon-service-Image-Definitions.svg +1 -0
- package/dist/viewer/azure-icons/compute/10038-icon-service-Image-Versions.svg +1 -0
- package/dist/viewer/azure-icons/compute/10039-icon-service-Shared-Image-Galleries.svg +1 -0
- package/dist/viewer/azure-icons/compute/10040-icon-service-VM-Images-(Classic).svg +1 -0
- package/dist/viewer/azure-icons/compute/10041-icon-service-Disks-(Classic).svg +1 -0
- package/dist/viewer/azure-icons/compute/10049-icon-service-Container-Services-(Deprecated).svg +1 -0
- package/dist/viewer/azure-icons/compute/10104-icon-service-Container-Instances.svg +1 -0
- package/dist/viewer/azure-icons/compute/10346-icon-service-Host-Groups.svg +1 -0
- package/dist/viewer/azure-icons/compute/10347-icon-service-Hosts.svg +1 -0
- package/dist/viewer/azure-icons/compute/10370-icon-service-Azure-Spring-Apps.svg +1 -0
- package/dist/viewer/azure-icons/containers/03331-icon-service-Azure-Red-Hat-OpenShift.svg +1 -0
- package/dist/viewer/azure-icons/containers/10023-icon-service-Kubernetes-Services.svg +1 -0
- package/dist/viewer/azure-icons/containers/10031-icon-service-Batch-Accounts.svg +1 -0
- package/dist/viewer/azure-icons/containers/10035-icon-service-App-Services.svg +1 -0
- package/dist/viewer/azure-icons/containers/10036-icon-service-Service-Fabric-Clusters.svg +1 -0
- package/dist/viewer/azure-icons/containers/10104-icon-service-Container-Instances.svg +1 -0
- package/dist/viewer/azure-icons/containers/10105-icon-service-Container-Registries.svg +1 -0
- package/dist/viewer/azure-icons/copy-summary.json +8 -0
- package/dist/viewer/azure-icons/databases/00036-icon-service-SQL-Data-Warehouses.svg +1 -0
- package/dist/viewer/azure-icons/databases/00606-icon-service-Azure-Synapse-Analytics.svg +1 -0
- package/dist/viewer/azure-icons/databases/02390-icon-service-Azure-SQL.svg +2 -0
- package/dist/viewer/azure-icons/databases/02392-icon-service-SSIS-Lift-And-Shift-IR.svg +2 -0
- package/dist/viewer/azure-icons/databases/02517-icon-service-Azure-Purview-Accounts.svg +1 -0
- package/dist/viewer/azure-icons/databases/02750-icon-service-Azure-SQL-Edge.svg +1 -0
- package/dist/viewer/azure-icons/databases/02827-icon-service-Azure-Database-PostgreSQL-Server-Group.svg +1 -0
- package/dist/viewer/azure-icons/databases/03490-icon-service-Oracle-Database.svg +1 -0
- package/dist/viewer/azure-icons/databases/10121-icon-service-Azure-Cosmos-DB.svg +1 -0
- package/dist/viewer/azure-icons/databases/10122-icon-service-Azure-Database-MySQL-Server.svg +1 -0
- package/dist/viewer/azure-icons/databases/10123-icon-service-Azure-Database-MariaDB-Server.svg +1 -0
- package/dist/viewer/azure-icons/databases/10124-icon-service-Azure-SQL-VM.svg +1 -0
- package/dist/viewer/azure-icons/databases/10126-icon-service-Data-Factories.svg +1 -0
- package/dist/viewer/azure-icons/databases/10127-icon-service-Virtual-Clusters.svg +1 -0
- package/dist/viewer/azure-icons/databases/10128-icon-service-Elastic-Job-Agents.svg +1 -0
- package/dist/viewer/azure-icons/databases/10130-icon-service-SQL-Database.svg +1 -0
- package/dist/viewer/azure-icons/databases/10131-icon-service-Azure-Database-PostgreSQL-Server.svg +1 -0
- package/dist/viewer/azure-icons/databases/10132-icon-service-SQL-Server.svg +1 -0
- package/dist/viewer/azure-icons/databases/10133-icon-service-Azure-Database-Migration-Services.svg +1 -0
- package/dist/viewer/azure-icons/databases/10134-icon-service-SQL-Elastic-Pools.svg +1 -0
- package/dist/viewer/azure-icons/databases/10135-icon-service-Managed-Database.svg +1 -0
- package/dist/viewer/azure-icons/databases/10136-icon-service-SQL-Managed-Instance.svg +1 -0
- package/dist/viewer/azure-icons/databases/10137-icon-service-Azure-SQL-Server-Stretch-Databases.svg +1 -0
- package/dist/viewer/azure-icons/databases/10137-icon-service-Cache-Redis.svg +1 -0
- package/dist/viewer/azure-icons/databases/10139-icon-service-Instance-Pools.svg +1 -0
- package/dist/viewer/azure-icons/databases/10145-icon-service-Azure-Data-Explorer-Clusters.svg +1 -0
- package/dist/viewer/azure-icons/databases/10351-icon-service-SQL-Server-Registries.svg +1 -0
- package/dist/viewer/azure-icons/devops/00012-icon-service-Application-Insights.svg +1 -0
- package/dist/viewer/azure-icons/devops/00563-icon-service-Change-Analysis.svg +1 -0
- package/dist/viewer/azure-icons/devops/02373-icon-service-CloudTest.svg +2 -0
- package/dist/viewer/azure-icons/devops/02423-icon-service-Load-Testing.svg +1 -0
- package/dist/viewer/azure-icons/devops/02761-icon-service-Lab-Accounts.svg +1 -0
- package/dist/viewer/azure-icons/devops/03339-icon-service-DevOps-Starter.svg +1 -0
- package/dist/viewer/azure-icons/devops/03393-icon-service-Managed-DevOps-Pools.svg +1 -0
- package/dist/viewer/azure-icons/devops/03455-icon-service-Code-Optimization.svg +1 -0
- package/dist/viewer/azure-icons/devops/03623-icon-service-Workspace-Gateway.svg +1 -0
- package/dist/viewer/azure-icons/devops/10042-icon-service-API-Management-Services.svg +1 -0
- package/dist/viewer/azure-icons/devops/10048-icon-service-API-Connections.svg +1 -0
- package/dist/viewer/azure-icons/devops/10261-icon-service-Azure-DevOps.svg +1 -0
- package/dist/viewer/azure-icons/devops/10264-icon-service-DevTest-Labs.svg +1 -0
- package/dist/viewer/azure-icons/devops/10265-icon-service-Lab-Services.svg +1 -0
- package/dist/viewer/azure-icons/general/00004-icon-service-Cost-Management-and-Billing.svg +1 -0
- package/dist/viewer/azure-icons/general/00456-icon-service-Preview-Features.svg +1 -0
- package/dist/viewer/azure-icons/general/10001-icon-service-All-Resources.svg +1 -0
- package/dist/viewer/azure-icons/general/10002-icon-service-Subscriptions.svg +1 -0
- package/dist/viewer/azure-icons/general/10003-icon-service-Reservations.svg +1 -0
- package/dist/viewer/azure-icons/general/10004-icon-service-Service-Health.svg +1 -0
- package/dist/viewer/azure-icons/general/10005-icon-service-Information.svg +1 -0
- package/dist/viewer/azure-icons/general/10006-icon-service-Recent.svg +1 -0
- package/dist/viewer/azure-icons/general/10007-icon-service-Resource-Groups.svg +1 -0
- package/dist/viewer/azure-icons/general/10008-icon-service-Marketplace.svg +1 -0
- package/dist/viewer/azure-icons/general/10009-icon-service-Templates.svg +1 -0
- package/dist/viewer/azure-icons/general/10010-icon-service-Quickstart-Center.svg +1 -0
- package/dist/viewer/azure-icons/general/10011-icon-service-Management-Groups.svg +1 -0
- package/dist/viewer/azure-icons/general/10013-icon-service-Help-and-Support.svg +1 -0
- package/dist/viewer/azure-icons/general/10014-icon-service-Tag.svg +1 -0
- package/dist/viewer/azure-icons/general/10015-icon-service-Dashboard.svg +2 -0
- package/dist/viewer/azure-icons/general/10016-icon-service-Free-Services.svg +1 -0
- package/dist/viewer/azure-icons/general/10019-icon-service-Cost-Management.svg +1 -0
- package/dist/viewer/azure-icons/general/10112-icon-service-Marketplace-Management.svg +1 -0
- package/dist/viewer/azure-icons/general/10116-icon-service-Region-Management.svg +1 -0
- package/dist/viewer/azure-icons/general/10341-icon-service-Troubleshoot.svg +1 -0
- package/dist/viewer/azure-icons/general/10349-icon-service-Resource-Explorer.svg +1 -0
- package/dist/viewer/azure-icons/general/10779-icon-service-Biz-Talk.svg +1 -0
- package/dist/viewer/azure-icons/general/10780-icon-service-Blob-Block.svg +1 -0
- package/dist/viewer/azure-icons/general/10781-icon-service-Blob-Page.svg +1 -0
- package/dist/viewer/azure-icons/general/10782-icon-service-Branch.svg +1 -0
- package/dist/viewer/azure-icons/general/10783-icon-service-Browser.svg +1 -0
- package/dist/viewer/azure-icons/general/10784-icon-service-Bug.svg +1 -0
- package/dist/viewer/azure-icons/general/10785-icon-service-Builds.svg +1 -0
- package/dist/viewer/azure-icons/general/10786-icon-service-Cache.svg +1 -0
- package/dist/viewer/azure-icons/general/10787-icon-service-Code.svg +1 -0
- package/dist/viewer/azure-icons/general/10788-icon-service-Commit.svg +1 -0
- package/dist/viewer/azure-icons/general/10789-icon-service-Controls.svg +1 -0
- package/dist/viewer/azure-icons/general/10790-icon-service-Controls-Horizontal.svg +1 -0
- package/dist/viewer/azure-icons/general/10791-icon-service-Cost-Alerts.svg +1 -0
- package/dist/viewer/azure-icons/general/10792-icon-service-Cost-Analysis.svg +1 -0
- package/dist/viewer/azure-icons/general/10793-icon-service-Cost-Budgets.svg +1 -0
- package/dist/viewer/azure-icons/general/10794-icon-service-Counter.svg +1 -0
- package/dist/viewer/azure-icons/general/10795-icon-service-Cubes.svg +1 -0
- package/dist/viewer/azure-icons/general/10796-icon-service-Dev-Console.svg +1 -0
- package/dist/viewer/azure-icons/general/10797-icon-service-Download.svg +1 -0
- package/dist/viewer/azure-icons/general/10798-icon-service-Error.svg +1 -0
- package/dist/viewer/azure-icons/general/10799-icon-service-Extensions.svg +1 -0
- package/dist/viewer/azure-icons/general/10800-icon-service-File.svg +1 -0
- package/dist/viewer/azure-icons/general/10801-icon-service-Files.svg +1 -0
- package/dist/viewer/azure-icons/general/10802-icon-service-Folder-Blank.svg +1 -0
- package/dist/viewer/azure-icons/general/10803-icon-service-Folder-Website.svg +1 -0
- package/dist/viewer/azure-icons/general/10804-icon-service-FTP.svg +1 -0
- package/dist/viewer/azure-icons/general/10805-icon-service-Gear.svg +1 -0
- package/dist/viewer/azure-icons/general/10807-icon-service-Globe-Error.svg +1 -0
- package/dist/viewer/azure-icons/general/10808-icon-service-Globe-Success.svg +1 -0
- package/dist/viewer/azure-icons/general/10809-icon-service-Globe-Warning.svg +1 -0
- package/dist/viewer/azure-icons/general/10810-icon-service-Guide.svg +1 -0
- package/dist/viewer/azure-icons/general/10811-icon-service-Heart.svg +1 -0
- package/dist/viewer/azure-icons/general/10812-icon-service-Image.svg +1 -0
- package/dist/viewer/azure-icons/general/10813-icon-service-Input-Output.svg +1 -0
- package/dist/viewer/azure-icons/general/10814-icon-service-Journey-Hub.svg +1 -0
- package/dist/viewer/azure-icons/general/10815-icon-service-Launch-Portal.svg +1 -0
- package/dist/viewer/azure-icons/general/10816-icon-service-Learn.svg +1 -0
- package/dist/viewer/azure-icons/general/10817-icon-service-Load-Test.svg +1 -0
- package/dist/viewer/azure-icons/general/10818-icon-service-Location.svg +1 -0
- package/dist/viewer/azure-icons/general/10819-icon-service-Log-Streaming.svg +1 -0
- package/dist/viewer/azure-icons/general/10820-icon-service-Management-Portal.svg +1 -0
- package/dist/viewer/azure-icons/general/10821-icon-service-Media-File.svg +1 -0
- package/dist/viewer/azure-icons/general/10822-icon-service-Mobile.svg +1 -0
- package/dist/viewer/azure-icons/general/10823-icon-service-Mobile-Engagement.svg +1 -0
- package/dist/viewer/azure-icons/general/10824-icon-service-Power.svg +1 -0
- package/dist/viewer/azure-icons/general/10825-icon-service-Powershell.svg +1 -0
- package/dist/viewer/azure-icons/general/10826-icon-service-Power-Up.svg +1 -0
- package/dist/viewer/azure-icons/general/10827-icon-service-Feature-Previews.svg +1 -0
- package/dist/viewer/azure-icons/general/10828-icon-service-Process-Explorer.svg +1 -0
- package/dist/viewer/azure-icons/general/10829-icon-service-Production-Ready-Database.svg +1 -0
- package/dist/viewer/azure-icons/general/10830-icon-service-Resource-Group-List.svg +1 -0
- package/dist/viewer/azure-icons/general/10831-icon-service-Resource-Linked.svg +1 -0
- package/dist/viewer/azure-icons/general/10833-icon-service-Scheduler.svg +1 -0
- package/dist/viewer/azure-icons/general/10834-icon-service-Search.svg +1 -0
- package/dist/viewer/azure-icons/general/10835-icon-service-Server-Farm.svg +1 -0
- package/dist/viewer/azure-icons/general/10837-icon-service-SSD.svg +1 -0
- package/dist/viewer/azure-icons/general/10838-icon-service-Storage-Azure-Files.svg +1 -0
- package/dist/viewer/azure-icons/general/10839-icon-service-Storage-Container.svg +1 -0
- package/dist/viewer/azure-icons/general/10840-icon-service-Storage-Queue.svg +1 -0
- package/dist/viewer/azure-icons/general/10841-icon-service-Table.svg +1 -0
- package/dist/viewer/azure-icons/general/10842-icon-service-Tags.svg +1 -0
- package/dist/viewer/azure-icons/general/10843-icon-service-TFS-VC-Repository.svg +1 -0
- package/dist/viewer/azure-icons/general/10844-icon-service-Toolbox.svg +1 -0
- package/dist/viewer/azure-icons/general/10845-icon-service-Versions.svg +1 -0
- package/dist/viewer/azure-icons/general/10847-icon-service-Website-Power.svg +1 -0
- package/dist/viewer/azure-icons/general/10848-icon-service-Website-Staging.svg +1 -0
- package/dist/viewer/azure-icons/general/10849-icon-service-Web-Slots.svg +1 -0
- package/dist/viewer/azure-icons/general/10850-icon-service-Web-Test.svg +1 -0
- package/dist/viewer/azure-icons/general/10851-icon-service-Workbooks.svg +1 -0
- package/dist/viewer/azure-icons/general/10852-icon-service-Workflow.svg +1 -0
- package/dist/viewer/azure-icons/general/10853-icon-service-Backlog.svg +1 -0
- package/dist/viewer/azure-icons/general/10854-icon-service-Media.svg +1 -0
- package/dist/viewer/azure-icons/general/10855-icon-service-Module.svg +1 -0
- package/dist/viewer/azure-icons/general/10856-icon-service-Search-Grid.svg +1 -0
- package/dist/viewer/azure-icons/hybrid + multicloud/03248-icon-service-Azure-Operator-5G-Core.svg +1 -0
- package/dist/viewer/azure-icons/hybrid + multicloud/03324-icon-service-Azure-Operator-Nexus.svg +1 -0
- package/dist/viewer/azure-icons/hybrid + multicloud/03333-icon-service-Azure-Operator-Insights.svg +1 -0
- package/dist/viewer/azure-icons/hybrid + multicloud/03334-icon-service-Azure-Operator-Service-Manager.svg +1 -0
- package/dist/viewer/azure-icons/hybrid + multicloud/03347-icon-service-Azure-Programmable-Connectivity.svg +1 -0
- package/dist/viewer/azure-icons/hybrid + multicloud/03585-icon-service-Azure-Monitor-Pipeline.svg +1 -0
- package/dist/viewer/azure-icons/identity/00321-icon-service-Security.svg +1 -0
- package/dist/viewer/azure-icons/identity/00919-icon-service-Administrative-Units.svg +1 -0
- package/dist/viewer/azure-icons/identity/01084-icon-service-Verifiable-Credentials.svg +1 -0
- package/dist/viewer/azure-icons/identity/02251-icon-service-Entra-Privleged-Identity-Management.svg +1 -0
- package/dist/viewer/azure-icons/identity/02386-icon-service-API-Proxy.svg +2 -0
- package/dist/viewer/azure-icons/identity/02679-icon-service-Tenant-Properties.svg +1 -0
- package/dist/viewer/azure-icons/identity/02680-icon-service-Entra-Identity-Custom-Roles.svg +1 -0
- package/dist/viewer/azure-icons/identity/02681-icon-service-Entra-Identity-Licenses.svg +1 -0
- package/dist/viewer/azure-icons/identity/02854-icon-service-Entra-Connect.svg +1 -0
- package/dist/viewer/azure-icons/identity/03143-icon-service-Entra-Verified-ID.svg +1 -0
- package/dist/viewer/azure-icons/identity/03225-icon-service-Verification-As-A-Service.svg +1 -0
- package/dist/viewer/azure-icons/identity/03256-icon-service-Multi-Factor-Authentication.svg +1 -0
- package/dist/viewer/azure-icons/identity/03309-icon-service-Entra-Global-Secure-Access.svg +1 -0
- package/dist/viewer/azure-icons/identity/03338-icon-service-External-Identities.svg +1 -0
- package/dist/viewer/azure-icons/identity/03382-icon-service-Entra-Private-Access.svg +1 -0
- package/dist/viewer/azure-icons/identity/03383-icon-service-Entra-Internet-Access.svg +1 -0
- package/dist/viewer/azure-icons/identity/03533-icon-service-Entra-Connect-Sync.svg +1 -0
- package/dist/viewer/azure-icons/identity/10222-icon-service-Entra-Domain-Services.svg +1 -0
- package/dist/viewer/azure-icons/identity/10223-icon-service-Groups.svg +1 -0
- package/dist/viewer/azure-icons/identity/10224-icon-service-Active-Directory-Connect-Health.svg +1 -0
- package/dist/viewer/azure-icons/identity/10224-icon-service-Entra-Connect-Health.svg +1 -0
- package/dist/viewer/azure-icons/identity/10225-icon-service-Enterprise-Applications.svg +1 -0
- package/dist/viewer/azure-icons/identity/10227-icon-service-Entra-Managed-Identities.svg +1 -0
- package/dist/viewer/azure-icons/identity/10227-icon-service-Managed-Identities.svg +1 -0
- package/dist/viewer/azure-icons/identity/10228-icon-service-Azure-AD-B2C.svg +1 -0
- package/dist/viewer/azure-icons/identity/10229-icon-service-Azure-Information-Protection.svg +1 -0
- package/dist/viewer/azure-icons/identity/10230-icon-service-Users.svg +1 -0
- package/dist/viewer/azure-icons/identity/10231-icon-service-Entra-ID-Protection.svg +1 -0
- package/dist/viewer/azure-icons/identity/10232-icon-service-App-Registrations.svg +1 -0
- package/dist/viewer/azure-icons/identity/10235-icon-service-Identity-Governance.svg +1 -0
- package/dist/viewer/azure-icons/identity/10340-icon-service-Entra-Identity-Roles-and-Administrators.svg +1 -0
- package/dist/viewer/azure-icons/identity/10433-icon-service-User-Settings.svg +1 -0
- package/dist/viewer/azure-icons/integration/00036-icon-service-SQL-Data-Warehouses.svg +1 -0
- package/dist/viewer/azure-icons/integration/00555-icon-service-Integration-Service-Environments.svg +1 -0
- package/dist/viewer/azure-icons/integration/00691-icon-service-Azure-Databox-Gateway.svg +1 -0
- package/dist/viewer/azure-icons/integration/02072-icon-service-Partner-Topic.svg +2 -0
- package/dist/viewer/azure-icons/integration/02073-icon-service-System-Topic.svg +2 -0
- package/dist/viewer/azure-icons/integration/02265-icon-service-Partner-Registration.svg +2 -0
- package/dist/viewer/azure-icons/integration/02266-icon-service-Partner-Namespace.svg +2 -0
- package/dist/viewer/azure-icons/integration/02631-icon-service-Logic-Apps.svg +1 -0
- package/dist/viewer/azure-icons/integration/03335-icon-service-Power-Platform.svg +1 -0
- package/dist/viewer/azure-icons/integration/03345-icon-service-Integration-Environments.svg +1 -0
- package/dist/viewer/azure-icons/integration/03637-icon-service-Business-Process-Tracking.svg +1 -0
- package/dist/viewer/azure-icons/integration/10042-icon-service-API-Management-Services.svg +1 -0
- package/dist/viewer/azure-icons/integration/10048-icon-service-API-Connections.svg +1 -0
- package/dist/viewer/azure-icons/integration/10089-icon-service-StorSimple-Device-Managers.svg +1 -0
- package/dist/viewer/azure-icons/integration/10095-icon-service-Azure-Stack-Edge.svg +1 -0
- package/dist/viewer/azure-icons/integration/10126-icon-service-Data-Factories.svg +1 -0
- package/dist/viewer/azure-icons/integration/10137-icon-service-Azure-SQL-Server-Stretch-Databases.svg +1 -0
- package/dist/viewer/azure-icons/integration/10206-icon-service-Event-Grid-Topics.svg +1 -0
- package/dist/viewer/azure-icons/integration/10209-icon-service-Relays.svg +1 -0
- package/dist/viewer/azure-icons/integration/10212-icon-service-Azure-API-for-FHIR.svg +1 -0
- package/dist/viewer/azure-icons/integration/10213-icon-service-Software-as-a-Service.svg +1 -0
- package/dist/viewer/azure-icons/integration/10215-icon-service-Event-Grid-Domains.svg +1 -0
- package/dist/viewer/azure-icons/integration/10216-icon-service-Azure-Data-Catalog.svg +1 -0
- package/dist/viewer/azure-icons/integration/10218-icon-service-Integration-Accounts.svg +1 -0
- package/dist/viewer/azure-icons/integration/10219-icon-service-App-Configuration.svg +1 -0
- package/dist/viewer/azure-icons/integration/10220-icon-service-SendGrid-Accounts.svg +1 -0
- package/dist/viewer/azure-icons/integration/10221-icon-service-Event-Grid-Subscriptions.svg +1 -0
- package/dist/viewer/azure-icons/integration/10363-icon-service-Logic-Apps-Custom-Connector.svg +1 -0
- package/dist/viewer/azure-icons/integration/10836-icon-service-Azure-Service-Bus.svg +1 -0
- package/dist/viewer/azure-icons/intune/00399-icon-service-Device-Security-Apple.svg +1 -0
- package/dist/viewer/azure-icons/intune/00399-icon-service-Device-Security-Google.svg +1 -0
- package/dist/viewer/azure-icons/intune/00399-icon-service-Device-Security-Windows.svg +1 -0
- package/dist/viewer/azure-icons/intune/10329-icon-service-Intune.svg +1 -0
- package/dist/viewer/azure-icons/intune/10330-icon-service-eBooks.svg +1 -0
- package/dist/viewer/azure-icons/intune/10331-icon-service-Client-Apps.svg +1 -0
- package/dist/viewer/azure-icons/intune/10332-icon-service-Devices.svg +1 -0
- package/dist/viewer/azure-icons/intune/10333-icon-service-Device-Compliance.svg +1 -0
- package/dist/viewer/azure-icons/intune/10335-icon-service-Software-Updates.svg +1 -0
- package/dist/viewer/azure-icons/intune/10336-icon-service-Security-Baselines.svg +1 -0
- package/dist/viewer/azure-icons/intune/10337-icon-service-Device-Enrollment.svg +1 -0
- package/dist/viewer/azure-icons/intune/10338-icon-service-Device-Configuration.svg +1 -0
- package/dist/viewer/azure-icons/intune/10339-icon-service-Exchange-Access.svg +1 -0
- package/dist/viewer/azure-icons/intune/10340-icon-service-Entra-Identity-Roles-and-Administrators.svg +1 -0
- package/dist/viewer/azure-icons/intune/10342-icon-service-Tenant-Status.svg +1 -0
- package/dist/viewer/azure-icons/intune/10343-icon-service-Intune-For-Education.svg +1 -0
- package/dist/viewer/azure-icons/intune/10344-icon-service-Intune-App-Protection.svg +1 -0
- package/dist/viewer/azure-icons/intune/10350-icon-service-Mindaro.svg +1 -0
- package/dist/viewer/azure-icons/iot/00030-icon-service-Machine-Learning-Studio-(Classic)-Web-Services.svg +1 -0
- package/dist/viewer/azure-icons/iot/00039-icon-service-Event-Hubs.svg +1 -0
- package/dist/viewer/azure-icons/iot/00042-icon-service-Stream-Analytics-Jobs.svg +1 -0
- package/dist/viewer/azure-icons/iot/00691-icon-service-Azure-Databox-Gateway.svg +1 -0
- package/dist/viewer/azure-icons/iot/01030-icon-service-Digital-Twins.svg +2 -0
- package/dist/viewer/azure-icons/iot/02359-icon-service-Industrial-IoT.svg +2 -0
- package/dist/viewer/azure-icons/iot/02631-icon-service-Logic-Apps.svg +1 -0
- package/dist/viewer/azure-icons/iot/03293-icon-service-Azure-Stack-HCI-Sizer.svg +1 -0
- package/dist/viewer/azure-icons/iot/03466-icon-service-Stack-HCI-Premium.svg +1 -0
- package/dist/viewer/azure-icons/iot/03485-icon-service-Azure-IoT-Operations.svg +1 -0
- package/dist/viewer/azure-icons/iot/10029-icon-service-Function-Apps.svg +1 -0
- package/dist/viewer/azure-icons/iot/10045-icon-service-Notification-Hubs.svg +1 -0
- package/dist/viewer/azure-icons/iot/10053-icon-service-Notification-Hub-Namespaces.svg +1 -0
- package/dist/viewer/azure-icons/iot/10114-icon-service-Azure-Stack.svg +1 -0
- package/dist/viewer/azure-icons/iot/10121-icon-service-Azure-Cosmos-DB.svg +1 -0
- package/dist/viewer/azure-icons/iot/10149-icon-service-Event-Hub-Clusters.svg +1 -0
- package/dist/viewer/azure-icons/iot/10167-icon-service-Machine-Learning-Studio-Workspaces.svg +1 -0
- package/dist/viewer/azure-icons/iot/10168-icon-service-Machine-Learning-Studio-Web-Service-Plans.svg +1 -0
- package/dist/viewer/azure-icons/iot/10181-icon-service-Time-Series-Insights-Environments.svg +1 -0
- package/dist/viewer/azure-icons/iot/10182-icon-service-IoT-Hub.svg +1 -0
- package/dist/viewer/azure-icons/iot/10184-icon-service-IoT-Central-Applications.svg +1 -0
- package/dist/viewer/azure-icons/iot/10185-icon-service-Azure-Maps-Accounts.svg +1 -0
- package/dist/viewer/azure-icons/iot/10186-icon-service-IoT-Edge.svg +1 -0
- package/dist/viewer/azure-icons/iot/10188-icon-service-Time-Series-Insights-Event-Sources.svg +1 -0
- package/dist/viewer/azure-icons/iot/10192-icon-service-Time-Series-Insights-Access-Policies.svg +2 -0
- package/dist/viewer/azure-icons/iot/10198-icon-service-Time-Series-Data-Sets.svg +1 -0
- package/dist/viewer/azure-icons/iot/10203-icon-service-Windows10-Core-Services.svg +1 -0
- package/dist/viewer/azure-icons/iot/10221-icon-service-Event-Grid-Subscriptions.svg +1 -0
- package/dist/viewer/azure-icons/iot/10369-icon-service-Device-Provisioning-Services.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00001-icon-service-Monitor.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00002-icon-service-Alerts.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00003-icon-service-Advisor.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00004-icon-service-Cost-Management-and-Billing.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00006-icon-service-Blueprints.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00007-icon-service-Activity-Log.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00008-icon-service-Diagnostics-Settings.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00009-icon-service-Log-Analytics-Workspaces.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00010-icon-service-Scheduler-Job-Collections.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00011-icon-service-Compliance.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00012-icon-service-Application-Insights.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00014-icon-service-My-Customers.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00017-icon-service-Recovery-Services-Vaults.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00020-icon-service-Metrics.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00021-icon-service-Solutions.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00022-icon-service-Automation-Accounts.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00024-icon-service-Operation-Log-(Classic).svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00025-icon-service-Service-Providers.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00026-icon-service-Education.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00027-icon-service-Service-Catalog-MAD.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00408-icon-service-Intune-Trends.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00471-icon-service-Azure-Lighthouse.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00571-icon-service-Universal-Print.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/00756-icon-service-Azure-Arc.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/01710-icon-service-Arc-Machines.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/03366-icon-service-Resources-Provider.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/10303-icon-service-User-Privacy.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/10311-icon-service-Managed-Desktop.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/10313-icon-service-Managed-Applications-Center.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/10314-icon-service-Customer-Lockbox-for-Microsoft-Azure.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/10316-icon-service-Policy.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/10318-icon-service-Resource-Graph-Explorer.svg +1 -0
- package/dist/viewer/azure-icons/management + governance/10450-icon-service-MachinesAzureArc.svg +1 -0
- package/dist/viewer/azure-icons/menu/00787-icon-service-Keys.svg +2 -0
- package/dist/viewer/azure-icons/migrate/00004-icon-service-Cost-Management-and-Billing.svg +1 -0
- package/dist/viewer/azure-icons/migrate/00017-icon-service-Recovery-Services-Vaults.svg +1 -0
- package/dist/viewer/azure-icons/migrate/00691-icon-service-Azure-Databox-Gateway.svg +1 -0
- package/dist/viewer/azure-icons/migrate/10094-icon-service-Data-Box.svg +1 -0
- package/dist/viewer/azure-icons/migrate/10095-icon-service-Azure-Stack-Edge.svg +1 -0
- package/dist/viewer/azure-icons/migrate/10281-icon-service-Azure-Migrate.svg +1 -0
- package/dist/viewer/azure-icons/migration/10133-icon-service-Azure-Database-Migration-Services.svg +1 -0
- package/dist/viewer/azure-icons/mixed reality/00698-icon-service-Remote-Rendering.svg +1 -0
- package/dist/viewer/azure-icons/mixed reality/10352-icon-service-Spatial-Anchor-Accounts.svg +1 -0
- package/dist/viewer/azure-icons/mobile/03335-icon-service-Power-Platform.svg +1 -0
- package/dist/viewer/azure-icons/mobile/10035-icon-service-App-Services.svg +1 -0
- package/dist/viewer/azure-icons/mobile/10045-icon-service-Notification-Hubs.svg +1 -0
- package/dist/viewer/azure-icons/monitor/00001-icon-service-Monitor.svg +1 -0
- package/dist/viewer/azure-icons/monitor/00007-icon-service-Activity-Log.svg +1 -0
- package/dist/viewer/azure-icons/monitor/00008-icon-service-Diagnostics-Settings.svg +1 -0
- package/dist/viewer/azure-icons/monitor/00009-icon-service-Log-Analytics-Workspaces.svg +1 -0
- package/dist/viewer/azure-icons/monitor/00012-icon-service-Application-Insights.svg +1 -0
- package/dist/viewer/azure-icons/monitor/00020-icon-service-Metrics.svg +1 -0
- package/dist/viewer/azure-icons/monitor/00438-icon-service-Azure-Monitors-for-SAP-Solutions.svg +1 -0
- package/dist/viewer/azure-icons/monitor/00563-icon-service-Change-Analysis.svg +1 -0
- package/dist/viewer/azure-icons/monitor/02189-icon-service-Azure-Workbooks.svg +1 -0
- package/dist/viewer/azure-icons/monitor/10066-icon-service-Network-Watcher.svg +1 -0
- package/dist/viewer/azure-icons/monitor/10832-icon-service-Auto-Scale.svg +1 -0
- package/dist/viewer/azure-icons/networking/00056-icon-service-CDN-Profiles.svg +1 -0
- package/dist/viewer/azure-icons/networking/00271-icon-service-Azure-Firewall-Manager.svg +1 -0
- package/dist/viewer/azure-icons/networking/00272-icon-service-Azure-Firewall-Policy.svg +1 -0
- package/dist/viewer/azure-icons/networking/00427-icon-service-Private-Link.svg +1 -0
- package/dist/viewer/azure-icons/networking/00701-icon-service-IP-Groups.svg +1 -0
- package/dist/viewer/azure-icons/networking/00860-icon-service-Virtual-WAN-Hub.svg +1 -0
- package/dist/viewer/azure-icons/networking/01105-icon-service-Private-Link-Service.svg +1 -0
- package/dist/viewer/azure-icons/networking/02145-icon-service-Resource-Management-Private-Link.svg +2 -0
- package/dist/viewer/azure-icons/networking/02209-icon-service-Private-Link-Services.svg +1 -0
- package/dist/viewer/azure-icons/networking/02302-icon-service-Load-Balancer-Hub.svg +1 -0
- package/dist/viewer/azure-icons/networking/02422-icon-service-Bastions.svg +1 -0
- package/dist/viewer/azure-icons/networking/02496-icon-service-Virtual-Router.svg +1 -0
- package/dist/viewer/azure-icons/networking/02509-icon-service-Connected-Cache.svg +1 -0
- package/dist/viewer/azure-icons/networking/02692-icon-service-Spot-VMSS.svg +1 -0
- package/dist/viewer/azure-icons/networking/02695-icon-service-Spot-VM.svg +1 -0
- package/dist/viewer/azure-icons/networking/02742-icon-service-Subnet.svg +1 -0
- package/dist/viewer/azure-icons/networking/02882-icon-service-DNS-Private-Resolver.svg +1 -0
- package/dist/viewer/azure-icons/networking/03311-icon-service-Azure-Communications-Gateway.svg +1 -0
- package/dist/viewer/azure-icons/networking/03328-icon-service-Application-Gateway-Containers.svg +1 -0
- package/dist/viewer/azure-icons/networking/03368-icon-service-DNS-Security-Policy.svg +1 -0
- package/dist/viewer/azure-icons/networking/03459-icon-service-DNS-Multistack.svg +1 -0
- package/dist/viewer/azure-icons/networking/03460-icon-service-ATM-Multistack.svg +1 -0
- package/dist/viewer/azure-icons/networking/03461-icon-service-IP-Address-manager.svg +1 -0
- package/dist/viewer/azure-icons/networking/10061-icon-service-Virtual-Networks.svg +1 -0
- package/dist/viewer/azure-icons/networking/10062-icon-service-Load-Balancers.svg +1 -0
- package/dist/viewer/azure-icons/networking/10063-icon-service-Virtual-Network-Gateways.svg +1 -0
- package/dist/viewer/azure-icons/networking/10064-icon-service-DNS-Zones.svg +1 -0
- package/dist/viewer/azure-icons/networking/10065-icon-service-Traffic-Manager-Profiles.svg +1 -0
- package/dist/viewer/azure-icons/networking/10066-icon-service-Network-Watcher.svg +1 -0
- package/dist/viewer/azure-icons/networking/10067-icon-service-Network-Security-Groups.svg +1 -0
- package/dist/viewer/azure-icons/networking/10068-icon-service-Public-IP-Addresses-(Classic).svg +1 -0
- package/dist/viewer/azure-icons/networking/10069-icon-service-Public-IP-Addresses.svg +1 -0
- package/dist/viewer/azure-icons/networking/10070-icon-service-On-Premises-Data-Gateways.svg +1 -0
- package/dist/viewer/azure-icons/networking/10071-icon-service-Route-Filters.svg +1 -0
- package/dist/viewer/azure-icons/networking/10072-icon-service-DDoS-Protection-Plans.svg +1 -0
- package/dist/viewer/azure-icons/networking/10073-icon-service-Front-Door-and-CDN-Profiles.svg +1 -0
- package/dist/viewer/azure-icons/networking/10075-icon-service-Virtual-Networks-(Classic).svg +1 -0
- package/dist/viewer/azure-icons/networking/10076-icon-service-Application-Gateways.svg +1 -0
- package/dist/viewer/azure-icons/networking/10077-icon-service-Local-Network-Gateways.svg +1 -0
- package/dist/viewer/azure-icons/networking/10079-icon-service-ExpressRoute-Circuits.svg +1 -0
- package/dist/viewer/azure-icons/networking/10080-icon-service-Network-Interfaces.svg +1 -0
- package/dist/viewer/azure-icons/networking/10081-icon-service-Connections.svg +1 -0
- package/dist/viewer/azure-icons/networking/10082-icon-service-Route-Tables.svg +1 -0
- package/dist/viewer/azure-icons/networking/10084-icon-service-Firewalls.svg +1 -0
- package/dist/viewer/azure-icons/networking/10085-icon-service-Service-Endpoint-Policies.svg +1 -0
- package/dist/viewer/azure-icons/networking/10310-icon-service-NAT.svg +1 -0
- package/dist/viewer/azure-icons/networking/10353-icon-service-Virtual-WANs.svg +1 -0
- package/dist/viewer/azure-icons/networking/10362-icon-service-Web-Application-Firewall-Policies(WAF).svg +1 -0
- package/dist/viewer/azure-icons/networking/10365-icon-service-Proximity-Placement-Groups.svg +1 -0
- package/dist/viewer/azure-icons/networking/10371-icon-service-Reserved-IP-Addresses-(Classic).svg +1 -0
- package/dist/viewer/azure-icons/networking/10372-icon-service-Public-IP-Prefixes.svg +1 -0
- package/dist/viewer/azure-icons/new icons/029029174-icon-service-Load-Balancer-Hub.svg +1 -0
- package/dist/viewer/azure-icons/new icons/029109619-icon-service-Toolchain-Orchestrator.svg +1 -0
- package/dist/viewer/azure-icons/new icons/029109619-icon-service-Workload-Orchestration.svg +1 -0
- package/dist/viewer/azure-icons/new icons/029203566-icon-service-Data-Virtualization.svg +1 -0
- package/dist/viewer/azure-icons/new icons/029273094-icon-service-Edge-Actions.svg +1 -0
- package/dist/viewer/azure-icons/new icons/029455661-icon-service-FRD-QA.svg +1 -0
- package/dist/viewer/azure-icons/new icons/029636048-icon-service-Landing-Zone.svg +1 -0
- package/dist/viewer/azure-icons/new icons/029637767-icon-service-Service-Groups.svg +1 -0
- package/dist/viewer/azure-icons/new icons/029797391-icon-service-Engage-Center-Connect.svg +1 -0
- package/dist/viewer/azure-icons/new icons/030486388-icon-service-Storage-Hubs.svg +1 -0
- package/dist/viewer/azure-icons/new icons/030777508 -icon-service-Service-Group-Relationships.svg +1 -0
- package/dist/viewer/azure-icons/new icons/032130874-icon-service-Logic-Apps-Template.svg +1 -0
- package/dist/viewer/azure-icons/new icons/033112809-icon-service-promethus.svg +1 -0
- package/dist/viewer/azure-icons/new icons/03425-icon-service-external-id.svg +1 -0
- package/dist/viewer/azure-icons/new icons/034251-icon-service-external-id-modified.svg +1 -0
- package/dist/viewer/azure-icons/new icons/03495-icon-service-Azure-Consumption-Commitment.svg +1 -0
- package/dist/viewer/azure-icons/new icons/03521-icon-service-Edge-Storage-Accelerator.svg +1 -0
- package/dist/viewer/azure-icons/new icons/03565-icon-service-SQL-Database-Fleet-Manager.svg +1 -0
- package/dist/viewer/azure-icons/new icons/03633-icon-service-Breeze.svg +1 -0
- package/dist/viewer/azure-icons/new icons/03643-icon-service-Network-Foundation-Hub.svg +1 -0
- package/dist/viewer/azure-icons/new icons/03650-icon-service-Network-Security-Hub.svg +1 -0
- package/dist/viewer/azure-icons/new icons/03656-icon-service-Hybrid-Connectivity-Hub.svg +1 -0
- package/dist/viewer/azure-icons/new icons/03675-icon-service-Azure-Managed-Redis.svg +1 -0
- package/dist/viewer/azure-icons/new icons/03687-icon-service-AI-at-Edge.svg +1 -0
- package/dist/viewer/azure-icons/new icons/03694-icon-service-VPNClientWindows.svg +1 -0
- package/dist/viewer/azure-icons/new icons/03755-icon-service-Planetary-Computer-Pro.svg +1 -0
- package/dist/viewer/azure-icons/other/00327-icon-service-Azure-Virtual-Desktop.svg +1 -0
- package/dist/viewer/azure-icons/other/00412-icon-service-SSH-Keys.svg +1 -0
- package/dist/viewer/azure-icons/other/00469-icon-service-Internet-Analyzer-Profiles.svg +1 -0
- package/dist/viewer/azure-icons/other/00559-icon-service-Azure-Cloud-Shell.svg +1 -0
- package/dist/viewer/azure-icons/other/00712-icon-service-Video-Analyzers.svg +1 -0
- package/dist/viewer/azure-icons/other/00903-icon-service-ExpressRoute-Direct.svg +2 -0
- package/dist/viewer/azure-icons/other/00913-icon-service-Cost-Export.svg +1 -0
- package/dist/viewer/azure-icons/other/00968-icon-service-Azure-Communication-Services.svg +2 -0
- package/dist/viewer/azure-icons/other/00970-icon-service-Peering-Service.svg +1 -0
- package/dist/viewer/azure-icons/other/01001-icon-service-Azure-Network-Function-Manager-Functions.svg +1 -0
- package/dist/viewer/azure-icons/other/01085-icon-service-Log-Analytics-Query-Pack.svg +1 -0
- package/dist/viewer/azure-icons/other/01088-icon-service-Arc-Kubernetes.svg +1 -0
- package/dist/viewer/azure-icons/other/01219-icon-service-Azure-VMware-Solution.svg +1 -0
- package/dist/viewer/azure-icons/other/01285-icon-service-Peerings.svg +1 -0
- package/dist/viewer/azure-icons/other/01757-icon-service-Dashboard-Hub.svg +2 -0
- package/dist/viewer/azure-icons/other/01800-icon-service-Azure-Video-Indexer.svg +1 -0
- package/dist/viewer/azure-icons/other/01846-icon-service-AVS-VM.svg +1 -0
- package/dist/viewer/azure-icons/other/01848-icon-service-Arc-PostgreSQL .svg +1 -0
- package/dist/viewer/azure-icons/other/01849-icon-service-Arc-SQL-Managed-Instance.svg +1 -0
- package/dist/viewer/azure-icons/other/01850-icon-service-Arc-SQL-Server.svg +1 -0
- package/dist/viewer/azure-icons/other/01857-icon-service-Data-Collection-Rules.svg +2 -0
- package/dist/viewer/azure-icons/other/02200-icon-service-Resource-Mover.svg +2 -0
- package/dist/viewer/azure-icons/other/02223-icon-service-Azure-Chaos-Studio.svg +1 -0
- package/dist/viewer/azure-icons/other/02237-icon-service-Network-Managers.svg +2 -0
- package/dist/viewer/azure-icons/other/02322-icon-service-Dedicated-HSM.svg +1 -0
- package/dist/viewer/azure-icons/other/02323-icon-service-Modular-Data-Center.svg +2 -0
- package/dist/viewer/azure-icons/other/02340-icon-service-Template-Specs.svg +2 -0
- package/dist/viewer/azure-icons/other/02356-icon-service-Arc-Data-services.svg +2 -0
- package/dist/viewer/azure-icons/other/02360-icon-service-Azure-Backup-Center.svg +1 -0
- package/dist/viewer/azure-icons/other/02361-icon-service-Backup-Vault.svg +1 -0
- package/dist/viewer/azure-icons/other/02475-icon-service-Device-Update-IoT-Hub.svg +1 -0
- package/dist/viewer/azure-icons/other/02486-icon-service-Fiji.svg +1 -0
- package/dist/viewer/azure-icons/other/02488-icon-service-Azure-Monitor-Dashboard.svg +1 -0
- package/dist/viewer/azure-icons/other/02503-icon-service-SCVMM-Management-Servers.svg +1 -0
- package/dist/viewer/azure-icons/other/02505-icon-service-Cloud-Services-(extended-support).svg +2 -0
- package/dist/viewer/azure-icons/other/02507-icon-service-Azure-Support-Center-Blue.svg +1 -0
- package/dist/viewer/azure-icons/other/02515-icon-service-Web-App-+-Database.svg +1 -0
- package/dist/viewer/azure-icons/other/02518-icon-service-Azure-HPC-Workbenches.svg +1 -0
- package/dist/viewer/azure-icons/other/02560-icon-service-Disk-Pool.svg +1 -0
- package/dist/viewer/azure-icons/other/02561-icon-service-Bare-Metal-Infrastructure.svg +1 -0
- package/dist/viewer/azure-icons/other/02573-icon-service-Connected-Vehicle-Platform.svg +1 -0
- package/dist/viewer/azure-icons/other/02579-icon-service-Private-Endpoints.svg +1 -0
- package/dist/viewer/azure-icons/other/02602-icon-service-Open-Supply-Chain-Platform.svg +1 -0
- package/dist/viewer/azure-icons/other/02625-icon-service-Aquila.svg +1 -0
- package/dist/viewer/azure-icons/other/02638-icon-service-Reserved-Capacity.svg +1 -0
- package/dist/viewer/azure-icons/other/02654-icon-service-Custom-IP-Prefix.svg +1 -0
- package/dist/viewer/azure-icons/other/02658-icon-service-FHIR-Service.svg +1 -0
- package/dist/viewer/azure-icons/other/02660-icon-service-MedTech-Service.svg +1 -0
- package/dist/viewer/azure-icons/other/02663-icon-service-Managed-Instance-Apache-Cassandra.svg +1 -0
- package/dist/viewer/azure-icons/other/02668-icon-service-Confidential-Ledgers.svg +1 -0
- package/dist/viewer/azure-icons/other/02681-icon-service-Entra-Identity-Licenses.svg +1 -0
- package/dist/viewer/azure-icons/other/02691-icon-service-Test-Base.svg +1 -0
- package/dist/viewer/azure-icons/other/02697-icon-service-Azure-Orbital.svg +1 -0
- package/dist/viewer/azure-icons/other/02732-icon-service-Capacity-Reservation-Groups.svg +1 -0
- package/dist/viewer/azure-icons/other/02733-icon-service-Windows-Notification-Services.svg +1 -0
- package/dist/viewer/azure-icons/other/02740-icon-service-Azure-Network-Function-Manager.svg +1 -0
- package/dist/viewer/azure-icons/other/02793-icon-service-Mission-Landing-Zone.svg +1 -0
- package/dist/viewer/azure-icons/other/02794-icon-service-Mobile-Networks.svg +1 -0
- package/dist/viewer/azure-icons/other/02805-icon-service-VM-App-Definitions.svg +1 -0
- package/dist/viewer/azure-icons/other/02806-icon-service-VM-App-Versions.svg +1 -0
- package/dist/viewer/azure-icons/other/02810-icon-service-Azure-Edge-Hardware-Center.svg +1 -0
- package/dist/viewer/azure-icons/other/02819-icon-service-Resource-Guard.svg +1 -0
- package/dist/viewer/azure-icons/other/02828-icon-service-Ceres.svg +1 -0
- package/dist/viewer/azure-icons/other/02842-icon-service-Azurite.svg +1 -0
- package/dist/viewer/azure-icons/other/02846-icon-service-Update-Management-Center.svg +1 -0
- package/dist/viewer/azure-icons/other/02864-icon-service-Azure-Compute-Galleries.svg +1 -0
- package/dist/viewer/azure-icons/other/02865-icon-service-Community-Images.svg +1 -0
- package/dist/viewer/azure-icons/other/02866-icon-service-VM-Image-Version.svg +1 -0
- package/dist/viewer/azure-icons/other/02880-icon-service-Savings-Plans.svg +1 -0
- package/dist/viewer/azure-icons/other/02884-icon-service-Worker-Container-App.svg +1 -0
- package/dist/viewer/azure-icons/other/02905-icon-service-Azure-Managed-Grafana.svg +1 -0
- package/dist/viewer/azure-icons/other/02908-icon-service-Targets-Management.svg +1 -0
- package/dist/viewer/azure-icons/other/02909-icon-service-Storage-Functions.svg +1 -0
- package/dist/viewer/azure-icons/other/02922-icon-service-Sonic-Dash.svg +1 -0
- package/dist/viewer/azure-icons/other/02931-icon-service-Compliance-Center.svg +1 -0
- package/dist/viewer/azure-icons/other/02939-icon-service-Network-Security-Perimeters.svg +1 -0
- package/dist/viewer/azure-icons/other/02944-icon-service-Azure-Load-Testing.svg +1 -0
- package/dist/viewer/azure-icons/other/02949-icon-service-Virtual-Visits-Builder.svg +1 -0
- package/dist/viewer/azure-icons/other/02951-icon-service-Azure-Quotas.svg +1 -0
- package/dist/viewer/azure-icons/other/02989-icon-service-Container-Apps-Environments.svg +1 -0
- package/dist/viewer/azure-icons/other/03071-icon-service-App-Compliance-Automation.svg +1 -0
- package/dist/viewer/azure-icons/other/03089-icon-service-Virtual-Instance-for-SAP.svg +1 -0
- package/dist/viewer/azure-icons/other/03090-icon-service-Azure-Center-for-SAP.svg +1 -0
- package/dist/viewer/azure-icons/other/03091-icon-service-Azure-Storage-Mover.svg +1 -0
- package/dist/viewer/azure-icons/other/03092-icon-service-Central-Service-Instance-For-SAP.svg +1 -0
- package/dist/viewer/azure-icons/other/03134-icon-service-Kubernetes-Fleet-Manager.svg +1 -0
- package/dist/viewer/azure-icons/other/03137-icon-service-Express-Route-Traffic-Collector.svg +1 -0
- package/dist/viewer/azure-icons/other/03175-icon-service-Database-Instance-For-SAP.svg +1 -0
- package/dist/viewer/azure-icons/other/03190-icon-service-Elastic-SAN.svg +1 -0
- package/dist/viewer/azure-icons/other/03250-icon-service-Microsoft-Dev-Box.svg +1 -0
- package/dist/viewer/azure-icons/other/03251-icon-service-Azure-Deployment-Environments.svg +1 -0
- package/dist/viewer/azure-icons/other/03308-icon-service-Azure-Dev-Tunnels.svg +1 -0
- package/dist/viewer/azure-icons/other/03314-icon-service-Azure-Sustainability.svg +1 -0
- package/dist/viewer/azure-icons/other/03361-icon-service-IcM-Troubleshooting.svg +1 -0
- package/dist/viewer/azure-icons/other/03365-icon-service-OSConfig.svg +1 -0
- package/dist/viewer/azure-icons/other/03394-icon-service-Virtual-Enclaves.svg +1 -0
- package/dist/viewer/azure-icons/other/03399-icon-service-AKS-Istio.svg +1 -0
- package/dist/viewer/azure-icons/other/03402-icon-service-Defender-CM-Local-Manager.svg +1 -0
- package/dist/viewer/azure-icons/other/03403-icon-service-Defender-External-Management.svg +1 -0
- package/dist/viewer/azure-icons/other/03404-icon-service-Defender-Freezer-Monitor.svg +1 -0
- package/dist/viewer/azure-icons/other/03405-icon-service-Defender-Historian.svg +1 -0
- package/dist/viewer/azure-icons/other/03406-icon-service-Defender-HMI.svg +1 -0
- package/dist/viewer/azure-icons/other/03407-icon-service-Defender-Marquee.svg +1 -0
- package/dist/viewer/azure-icons/other/03408-icon-service-Defender-Robot-Controller.svg +1 -0
- package/dist/viewer/azure-icons/other/03409-icon-service-Defender-Sensor.svg +1 -0
- package/dist/viewer/azure-icons/other/03410-icon-service-Defender-Slot.svg +1 -0
- package/dist/viewer/azure-icons/other/03411-icon-service-Defender-Web-Guiding-System.svg +1 -0
- package/dist/viewer/azure-icons/other/03412-icon-service-Defender-DCS-Controller.svg +1 -0
- package/dist/viewer/azure-icons/other/03413-icon-service-Defender-Distributer-Control-System.svg +1 -0
- package/dist/viewer/azure-icons/other/03414-icon-service-Defender-Engineering-Station.svg +1 -0
- package/dist/viewer/azure-icons/other/03415-icon-service-Defender-Industrial-Packaging-System.svg +1 -0
- package/dist/viewer/azure-icons/other/03416-icon-service-Defender-Industrial-Printer.svg +1 -0
- package/dist/viewer/azure-icons/other/03417-icon-service-Defender-Industrial-Scale-System.svg +1 -0
- package/dist/viewer/azure-icons/other/03418-icon-service-Defender-Industrial-Robot.svg +1 -0
- package/dist/viewer/azure-icons/other/03419-icon-service-Defender-Meter.svg +1 -0
- package/dist/viewer/azure-icons/other/03420-icon-service-Defender-PLC.svg +1 -0
- package/dist/viewer/azure-icons/other/03421-icon-service-Defender-Pneumatic-Device.svg +1 -0
- package/dist/viewer/azure-icons/other/03422-icon-service-Defender-Programable-Board.svg +1 -0
- package/dist/viewer/azure-icons/other/03423-icon-service-Defender-Relay.svg +1 -0
- package/dist/viewer/azure-icons/other/03424-icon-service-Defender-RTU.svg +1 -0
- package/dist/viewer/azure-icons/other/03468-icon-service-HDI-AKS-Cluster.svg +1 -0
- package/dist/viewer/azure-icons/other/03528-icon-service-Monitor-Health-Models.svg +1 -0
- package/dist/viewer/azure-icons/other/03563-icon-service-WAC-Installer.svg +1 -0
- package/dist/viewer/azure-icons/other/10018-icon-service-Azure-A.svg +1 -0
- package/dist/viewer/azure-icons/other/10077-icon-service-Local-Network-Gateways.svg +1 -0
- package/dist/viewer/azure-icons/other/10117-icon-service-Edge-Management.svg +1 -0
- package/dist/viewer/azure-icons/other/10139-icon-service-Instance-Pools.svg +1 -0
- package/dist/viewer/azure-icons/other/10190-icon-service-Azure-Sphere.svg +1 -0
- package/dist/viewer/azure-icons/other/10232-icon-service-App-Registrations.svg +1 -0
- package/dist/viewer/azure-icons/other/10334-icon-service-Exchange-On-Premises-Access.svg +1 -0
- package/dist/viewer/azure-icons/other/10355-icon-service-WAC.svg +1 -0
- package/dist/viewer/azure-icons/other/10422-icon-service-AzureAttestation.svg +1 -0
- package/dist/viewer/azure-icons/other/10778-icon-service-RTOS.svg +1 -0
- package/dist/viewer/azure-icons/other/10846-icon-service-Web-Jobs.svg +1 -0
- package/dist/viewer/azure-icons/security/00378-icon-service-Detonation.svg +1 -0
- package/dist/viewer/azure-icons/security/02247-icon-service-Microsoft-Defender-for-IoT.svg +2 -0
- package/dist/viewer/azure-icons/security/03336-icon-service-Microsoft-Defender-EASM.svg +1 -0
- package/dist/viewer/azure-icons/security/03340-icon-service-Identity-Secure-Score.svg +1 -0
- package/dist/viewer/azure-icons/security/03341-icon-service-Entra-Identity-Risky-Signins.svg +1 -0
- package/dist/viewer/azure-icons/security/03342-icon-service-Entra-Identity-Risky-Users.svg +1 -0
- package/dist/viewer/azure-icons/security/03344-icon-service-Multifactor-Authentication.svg +1 -0
- package/dist/viewer/azure-icons/security/10229-icon-service-Azure-Information-Protection.svg +1 -0
- package/dist/viewer/azure-icons/security/10233-icon-service-Conditional-Access.svg +1 -0
- package/dist/viewer/azure-icons/security/10241-icon-service-Microsoft-Defender-for-Cloud.svg +1 -0
- package/dist/viewer/azure-icons/security/10244-icon-service-Application-Security-Groups.svg +1 -0
- package/dist/viewer/azure-icons/security/10245-icon-service-Key-Vaults.svg +1 -0
- package/dist/viewer/azure-icons/security/10248-icon-service-Azure-Sentinel.svg +1 -0
- package/dist/viewer/azure-icons/security/10433-icon-service-User-Settings.svg +1 -0
- package/dist/viewer/azure-icons/security/10572-icon-service-ExtendedSecurityUpdates.svg +1 -0
- package/dist/viewer/azure-icons/storage/00017-icon-service-Recovery-Services-Vaults.svg +1 -0
- package/dist/viewer/azure-icons/storage/00691-icon-service-Azure-Databox-Gateway.svg +1 -0
- package/dist/viewer/azure-icons/storage/00776-icon-service-Azure-HCP-Cache.svg +1 -0
- package/dist/viewer/azure-icons/storage/03502-icon-service-Storage-Actions.svg +1 -0
- package/dist/viewer/azure-icons/storage/03549-icon-service-Managed-File-Shares.svg +1 -0
- package/dist/viewer/azure-icons/storage/10086-icon-service-Storage-Accounts.svg +1 -0
- package/dist/viewer/azure-icons/storage/10087-icon-service-Storage-Accounts-(Classic).svg +1 -0
- package/dist/viewer/azure-icons/storage/10089-icon-service-StorSimple-Device-Managers.svg +1 -0
- package/dist/viewer/azure-icons/storage/10090-icon-service-Data-Lake-Storage-Gen1.svg +1 -0
- package/dist/viewer/azure-icons/storage/10091-icon-service-Storage-Explorer.svg +1 -0
- package/dist/viewer/azure-icons/storage/10092-icon-service-StorSimple-Data-Managers.svg +1 -0
- package/dist/viewer/azure-icons/storage/10093-icon-service-Storage-Sync-Services.svg +1 -0
- package/dist/viewer/azure-icons/storage/10094-icon-service-Data-Box.svg +1 -0
- package/dist/viewer/azure-icons/storage/10095-icon-service-Azure-Stack-Edge.svg +1 -0
- package/dist/viewer/azure-icons/storage/10096-icon-service-Azure-NetApp-Files.svg +1 -0
- package/dist/viewer/azure-icons/storage/10097-icon-service-Data-Share-Invitations.svg +1 -0
- package/dist/viewer/azure-icons/storage/10098-icon-service-Data-Shares.svg +1 -0
- package/dist/viewer/azure-icons/storage/10100-icon-service-Import-Export-Jobs.svg +1 -0
- package/dist/viewer/azure-icons/storage/10400-icon-service-Azure-Fileshares.svg +1 -0
- package/dist/viewer/azure-icons/web/00046-icon-service-App-Service-Plans.svg +1 -0
- package/dist/viewer/azure-icons/web/00049-icon-service-App-Service-Certificates.svg +1 -0
- package/dist/viewer/azure-icons/web/00050-icon-service-App-Service-Domains.svg +1 -0
- package/dist/viewer/azure-icons/web/01007-icon-service-Static-Apps.svg +1 -0
- package/dist/viewer/azure-icons/web/03291-icon-service-API-Center.svg +1 -0
- package/dist/viewer/azure-icons/web/03335-icon-service-Power-Platform.svg +1 -0
- package/dist/viewer/azure-icons/web/03397-icon-service-App-Space.svg +1 -0
- package/dist/viewer/azure-icons/web/03595-icon-service-App-Space-Component.svg +1 -0
- package/dist/viewer/azure-icons/web/10035-icon-service-App-Services.svg +1 -0
- package/dist/viewer/azure-icons/web/10042-icon-service-API-Management-Services.svg +1 -0
- package/dist/viewer/azure-icons/web/10044-icon-service-Cognitive-Search.svg +1 -0
- package/dist/viewer/azure-icons/web/10047-icon-service-App-Service-Environments.svg +1 -0
- package/dist/viewer/azure-icons/web/10048-icon-service-API-Connections.svg +1 -0
- package/dist/viewer/azure-icons/web/10052-icon-service-SignalR.svg +1 -0
- package/dist/viewer/azure-icons/web/10053-icon-service-Notification-Hub-Namespaces.svg +1 -0
- package/dist/viewer/azure-icons/web/10073-icon-service-Front-Door-and-CDN-Profiles.svg +1 -0
- package/dist/viewer/azure-icons/web/10162-icon-service-Cognitive-Services.svg +1 -0
- package/dist/viewer/azure-icons/web/10309-icon-service-Azure-Media-Service.svg +1 -0
- package/dist/viewer/azure-icons/web/10370-icon-service-Azure-Spring-Apps.svg +1 -0
- package/dist/viewer/azure-icons.json +5546 -0
- package/dist/viewer/gcp-icons/cloud-functions.svg +4 -0
- package/dist/viewer/gcp-icons/cloud-sql.svg +6 -0
- package/dist/viewer/gcp-icons/cloud-storage.svg +6 -0
- package/dist/viewer/gcp-icons/compute-engine.svg +8 -0
- package/dist/viewer/gcp-icons/gke.svg +6 -0
- package/dist/viewer/gcp-icons/google-cloud.svg +6 -0
- package/dist/viewer/gcp-icons/load-balancing.svg +7 -0
- package/dist/viewer/gcp-icons/memorystore.svg +4 -0
- package/dist/viewer/gcp-icons/pubsub.svg +8 -0
- package/dist/viewer/gcp-icons/services/SOURCE.md +14 -0
- package/dist/viewer/gcp-icons/services/access_context_manager/access_context_manager.svg +1 -0
- package/dist/viewer/gcp-icons/services/administration/administration.svg +21 -0
- package/dist/viewer/gcp-icons/services/advanced_agent_modeling/advanced_agent_modeling.svg +12 -0
- package/dist/viewer/gcp-icons/services/advanced_solutions_lab/advanced_solutions_lab.svg +1 -0
- package/dist/viewer/gcp-icons/services/agent_assist/agent_assist.svg +1 -0
- package/dist/viewer/gcp-icons/services/ai_hub/ai_hub.svg +1 -0
- package/dist/viewer/gcp-icons/services/ai_platform/ai_platform.svg +1 -0
- package/dist/viewer/gcp-icons/services/ai_platform_unified/ai_platform_unified.svg +1 -0
- package/dist/viewer/gcp-icons/services/analytics_hub/analytics_hub.svg +1 -0
- package/dist/viewer/gcp-icons/services/anthos/anthos.svg +17 -0
- package/dist/viewer/gcp-icons/services/anthos_config_management/anthos_config_management.svg +1 -0
- package/dist/viewer/gcp-icons/services/anthos_service_mesh/anthos_service_mesh.svg +5 -0
- package/dist/viewer/gcp-icons/services/api/api.svg +17 -0
- package/dist/viewer/gcp-icons/services/api_analytics/api_analytics.svg +1 -0
- package/dist/viewer/gcp-icons/services/api_monetization/api_monetization.svg +1 -0
- package/dist/viewer/gcp-icons/services/apigee_api_platform/apigee_api_platform.svg +1 -0
- package/dist/viewer/gcp-icons/services/apigee_sense/apigee_sense.svg +1 -0
- package/dist/viewer/gcp-icons/services/app_engine/app_engine.svg +1 -0
- package/dist/viewer/gcp-icons/services/artifact_registry/artifact_registry.svg +30 -0
- package/dist/viewer/gcp-icons/services/asset_inventory/asset_inventory.svg +1 -0
- package/dist/viewer/gcp-icons/services/assured_workloads/assured_workloads.svg +1 -0
- package/dist/viewer/gcp-icons/services/automl/automl.svg +1 -0
- package/dist/viewer/gcp-icons/services/automl_natural_language/automl_natural_language.svg +11 -0
- package/dist/viewer/gcp-icons/services/automl_tables/automl_tables.svg +1 -0
- package/dist/viewer/gcp-icons/services/automl_translation/automl_translation.svg +1 -0
- package/dist/viewer/gcp-icons/services/automl_video_intelligence/automl_video_intelligence.svg +1 -0
- package/dist/viewer/gcp-icons/services/automl_vision/automl_vision.svg +1 -0
- package/dist/viewer/gcp-icons/services/bare_metal_solutions/bare_metal_solutions.svg +1 -0
- package/dist/viewer/gcp-icons/services/batch/batch.svg +3 -0
- package/dist/viewer/gcp-icons/services/beyondcorp/beyondcorp.svg +1 -0
- package/dist/viewer/gcp-icons/services/bigquery/bigquery.svg +1 -0
- package/dist/viewer/gcp-icons/services/bigtable/bigtable.svg +1 -0
- package/dist/viewer/gcp-icons/services/billing/billing.svg +19 -0
- package/dist/viewer/gcp-icons/services/binary_authorization/binary_authorization.svg +1 -0
- package/dist/viewer/gcp-icons/services/catalog/catalog.svg +14 -0
- package/dist/viewer/gcp-icons/services/certificate_authority_service/certificate_authority_service.svg +13 -0
- package/dist/viewer/gcp-icons/services/certificate_manager/certificate_manager.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_api_gateway/cloud_api_gateway.svg +7 -0
- package/dist/viewer/gcp-icons/services/cloud_apis/cloud_apis.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_armor/cloud_armor.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_asset_inventory/cloud_asset_inventory.svg +9 -0
- package/dist/viewer/gcp-icons/services/cloud_audit_logs/cloud_audit_logs.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_build/cloud_build.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_cdn/cloud_cdn.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_code/cloud_code.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_composer/cloud_composer.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_data_fusion/cloud_data_fusion.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_deploy/cloud_deploy.svg +5 -0
- package/dist/viewer/gcp-icons/services/cloud_deployment_manager/cloud_deployment_manager.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_dns/cloud_dns.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_domains/cloud_domains.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_ekm/cloud_ekm.svg +5 -0
- package/dist/viewer/gcp-icons/services/cloud_endpoints/cloud_endpoints.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_external_ip_addresses/cloud_external_ip_addresses.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_firewall_rules/cloud_firewall_rules.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_for_marketing/cloud_for_marketing.svg +5 -0
- package/dist/viewer/gcp-icons/services/cloud_functions/cloud_functions.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_generic/cloud_generic.svg +5 -0
- package/dist/viewer/gcp-icons/services/cloud_gpu/cloud_gpu.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_healthcare_api/cloud_healthcare_api.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_healthcare_marketplace/cloud_healthcare_marketplace.svg +11 -0
- package/dist/viewer/gcp-icons/services/cloud_hsm/cloud_hsm.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_ids/cloud_ids.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_inference_api/cloud_inference_api.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_interconnect/cloud_interconnect.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_jobs_api/cloud_jobs_api.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_load_balancing/cloud_load_balancing.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_logging/cloud_logging.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_media_edge/cloud_media_edge.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_monitoring/cloud_monitoring.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_nat/cloud_nat.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_natural_language_api/cloud_natural_language_api.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_network/cloud_network.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_ops/cloud_ops.svg +17 -0
- package/dist/viewer/gcp-icons/services/cloud_optimization_ai/cloud_optimization_ai.svg +24 -0
- package/dist/viewer/gcp-icons/services/cloud_optimization_ai_-_fleet_routing_api/cloud_optimization_ai_-_fleet_routing_api.svg +32 -0
- package/dist/viewer/gcp-icons/services/cloud_router/cloud_router.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_routes/cloud_routes.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_run/cloud_run.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_run_for_anthos/cloud_run_for_anthos.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_scheduler/cloud_scheduler.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_security_scanner/cloud_security_scanner.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_shell/cloud_shell.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_spanner/cloud_spanner.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_sql/cloud_sql.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_storage/cloud_storage.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_tasks/cloud_tasks.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_test_lab/cloud_test_lab.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_tpu/cloud_tpu.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_translation_api/cloud_translation_api.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_vision_api/cloud_vision_api.svg +1 -0
- package/dist/viewer/gcp-icons/services/cloud_vpn/cloud_vpn.svg +1 -0
- package/dist/viewer/gcp-icons/services/compute_engine/compute_engine.svg +1 -0
- package/dist/viewer/gcp-icons/services/configuration_management/configuration_management.svg +1 -0
- package/dist/viewer/gcp-icons/services/connectivity_test/connectivity_test.svg +6 -0
- package/dist/viewer/gcp-icons/services/connectors/connectors.svg +1 -0
- package/dist/viewer/gcp-icons/services/contact_center_ai/contact_center_ai.svg +1 -0
- package/dist/viewer/gcp-icons/services/container_optimized_os/container_optimized_os.svg +1 -0
- package/dist/viewer/gcp-icons/services/container_registry/container_registry.svg +1 -0
- package/dist/viewer/gcp-icons/services/data_catalog/data_catalog.svg +1 -0
- package/dist/viewer/gcp-icons/services/data_labeling/data_labeling.svg +1 -0
- package/dist/viewer/gcp-icons/services/data_layers/data_layers.svg +1 -0
- package/dist/viewer/gcp-icons/services/data_loss_prevention_api/data_loss_prevention_api.svg +1 -0
- package/dist/viewer/gcp-icons/services/data_qna/data_qna.svg +1 -0
- package/dist/viewer/gcp-icons/services/data_studio/data_studio.svg +1 -0
- package/dist/viewer/gcp-icons/services/data_transfer/data_transfer.svg +1 -0
- package/dist/viewer/gcp-icons/services/database_migration_service/database_migration_service.svg +1 -0
- package/dist/viewer/gcp-icons/services/dataflow/dataflow.svg +1 -0
- package/dist/viewer/gcp-icons/services/datalab/datalab.svg +5 -0
- package/dist/viewer/gcp-icons/services/dataplex/dataplex.svg +8 -0
- package/dist/viewer/gcp-icons/services/datapol/datapol.svg +1 -0
- package/dist/viewer/gcp-icons/services/dataprep/dataprep.svg +1 -0
- package/dist/viewer/gcp-icons/services/dataproc/dataproc.svg +1 -0
- package/dist/viewer/gcp-icons/services/dataproc_metastore/dataproc_metastore.svg +1 -0
- package/dist/viewer/gcp-icons/services/datashare/datashare.svg +9 -0
- package/dist/viewer/gcp-icons/services/datastore/datastore.svg +1 -0
- package/dist/viewer/gcp-icons/services/datastream/datastream.svg +16 -0
- package/dist/viewer/gcp-icons/services/debugger/debugger.svg +21 -0
- package/dist/viewer/gcp-icons/services/developer_portal/developer_portal.svg +1 -0
- package/dist/viewer/gcp-icons/services/dialogflow/dialogflow.svg +1 -0
- package/dist/viewer/gcp-icons/services/dialogflow_cx/dialogflow_cx.svg +1 -0
- package/dist/viewer/gcp-icons/services/dialogflow_insights/dialogflow_insights.svg +1 -0
- package/dist/viewer/gcp-icons/services/document_ai/document_ai.svg +1 -0
- package/dist/viewer/gcp-icons/services/early_access_center/early_access_center.svg +1 -0
- package/dist/viewer/gcp-icons/services/error_reporting/error_reporting.svg +1 -0
- package/dist/viewer/gcp-icons/services/eventarc/eventarc.svg +1 -0
- package/dist/viewer/gcp-icons/services/filestore/filestore.svg +1 -0
- package/dist/viewer/gcp-icons/services/financial_services_marketplace/financial_services_marketplace.svg +11 -0
- package/dist/viewer/gcp-icons/services/firestore/firestore.svg +1 -0
- package/dist/viewer/gcp-icons/services/fleet_engine/fleet_engine.svg +1 -0
- package/dist/viewer/gcp-icons/services/free_trial/free_trial.svg +18 -0
- package/dist/viewer/gcp-icons/services/game_servers/game_servers.svg +27 -0
- package/dist/viewer/gcp-icons/services/gce_systems_management/gce_systems_management.svg +5 -0
- package/dist/viewer/gcp-icons/services/genomics/genomics.svg +1 -0
- package/dist/viewer/gcp-icons/services/gke_on-prem/gke_on-prem.svg +1 -0
- package/dist/viewer/gcp-icons/services/google_cloud_marketplace/google_cloud_marketplace.svg +25 -0
- package/dist/viewer/gcp-icons/services/google_kubernetes_engine/google_kubernetes_engine.svg +1 -0
- package/dist/viewer/gcp-icons/services/google_maps_platform/google_maps_platform.svg +12 -0
- package/dist/viewer/gcp-icons/services/healthcare_nlp_api/healthcare_nlp_api.svg +1 -0
- package/dist/viewer/gcp-icons/services/home/home.svg +13 -0
- package/dist/viewer/gcp-icons/services/identity-aware_proxy/identity-aware_proxy.svg +1 -0
- package/dist/viewer/gcp-icons/services/identity_and_access_management/identity_and_access_management.svg +1 -0
- package/dist/viewer/gcp-icons/services/identity_platform/identity_platform.svg +1 -0
- package/dist/viewer/gcp-icons/services/iot_core/iot_core.svg +1 -0
- package/dist/viewer/gcp-icons/services/iot_edge/iot_edge.svg +1 -0
- package/dist/viewer/gcp-icons/services/key_access_justifications/key_access_justifications.svg +1 -0
- package/dist/viewer/gcp-icons/services/key_management_service/key_management_service.svg +1 -0
- package/dist/viewer/gcp-icons/services/kuberun/kuberun.svg +13 -0
- package/dist/viewer/gcp-icons/services/launcher/launcher.svg +18 -0
- package/dist/viewer/gcp-icons/services/local_ssd/local_ssd.svg +5 -0
- package/dist/viewer/gcp-icons/services/looker/looker.svg +15 -0
- package/dist/viewer/gcp-icons/services/managed_service_for_microsoft_active_directory/managed_service_for_microsoft_active_directory.svg +1 -0
- package/dist/viewer/gcp-icons/services/media_translation_api/media_translation_api.svg +1 -0
- package/dist/viewer/gcp-icons/services/memorystore/memorystore.svg +1 -0
- package/dist/viewer/gcp-icons/services/migrate_for_anthos/migrate_for_anthos.svg +5 -0
- package/dist/viewer/gcp-icons/services/migrate_for_compute_engine/migrate_for_compute_engine.svg +5 -0
- package/dist/viewer/gcp-icons/services/my_cloud/my_cloud.svg +26 -0
- package/dist/viewer/gcp-icons/services/network_connectivity_center/network_connectivity_center.svg +1 -0
- package/dist/viewer/gcp-icons/services/network_intelligence_center/network_intelligence_center.svg +5 -0
- package/dist/viewer/gcp-icons/services/network_security/network_security.svg +1 -0
- package/dist/viewer/gcp-icons/services/network_tiers/network_tiers.svg +1 -0
- package/dist/viewer/gcp-icons/services/network_topology/network_topology.svg +5 -0
- package/dist/viewer/gcp-icons/services/onboarding/onboarding.svg +17 -0
- package/dist/viewer/gcp-icons/services/os_configuration_management/os_configuration_management.svg +5 -0
- package/dist/viewer/gcp-icons/services/os_inventory_management/os_inventory_management.svg +11 -0
- package/dist/viewer/gcp-icons/services/os_patch_management/os_patch_management.svg +5 -0
- package/dist/viewer/gcp-icons/services/partner_interconnect/partner_interconnect.svg +1 -0
- package/dist/viewer/gcp-icons/services/partner_portal/partner_portal.svg +21 -0
- package/dist/viewer/gcp-icons/services/performance_dashboard/performance_dashboard.svg +5 -0
- package/dist/viewer/gcp-icons/services/permissions/permissions.svg +14 -0
- package/dist/viewer/gcp-icons/services/persistent_disk/persistent_disk.svg +1 -0
- package/dist/viewer/gcp-icons/services/phishing_protection/phishing_protection.svg +1 -0
- package/dist/viewer/gcp-icons/services/policy_analyzer/policy_analyzer.svg +5 -0
- package/dist/viewer/gcp-icons/services/premium_network_tier/premium_network_tier.svg +1 -0
- package/dist/viewer/gcp-icons/services/private_connectivity/private_connectivity.svg +1 -0
- package/dist/viewer/gcp-icons/services/private_service_connect/private_service_connect.svg +1 -0
- package/dist/viewer/gcp-icons/services/producer_portal/producer_portal.svg +13 -0
- package/dist/viewer/gcp-icons/services/profiler/profiler.svg +1 -0
- package/dist/viewer/gcp-icons/services/project/project.svg +20 -0
- package/dist/viewer/gcp-icons/services/pubsub/pubsub.svg +1 -0
- package/dist/viewer/gcp-icons/services/quantum_engine/quantum_engine.svg +1 -0
- package/dist/viewer/gcp-icons/services/quotas/quotas.svg +1 -0
- package/dist/viewer/gcp-icons/services/real-world_insights/real-world_insights.svg +11 -0
- package/dist/viewer/gcp-icons/services/recommendations_ai/recommendations_ai.svg +1 -0
- package/dist/viewer/gcp-icons/services/release_notes/release_notes.svg +1 -0
- package/dist/viewer/gcp-icons/services/retail_api/retail_api.svg +1 -0
- package/dist/viewer/gcp-icons/services/risk_manager/risk_manager.svg +1 -0
- package/dist/viewer/gcp-icons/services/runtime_config/runtime_config.svg +1 -0
- package/dist/viewer/gcp-icons/services/secret_manager/secret_manager.svg +7 -0
- package/dist/viewer/gcp-icons/services/security/security.svg +12 -0
- package/dist/viewer/gcp-icons/services/security_command_center/security_command_center.svg +1 -0
- package/dist/viewer/gcp-icons/services/security_health_advisor/security_health_advisor.svg +39 -0
- package/dist/viewer/gcp-icons/services/security_key_enforcement/security_key_enforcement.svg +1 -0
- package/dist/viewer/gcp-icons/services/service_discovery/service_discovery.svg +1 -0
- package/dist/viewer/gcp-icons/services/speech-to-text/speech-to-text.svg +1 -0
- package/dist/viewer/gcp-icons/services/stackdriver/stackdriver.svg +1 -0
- package/dist/viewer/gcp-icons/services/standard_network_tier/standard_network_tier.svg +5 -0
- package/dist/viewer/gcp-icons/services/stream_suite/stream_suite.svg +11 -0
- package/dist/viewer/gcp-icons/services/support/support.svg +12 -0
- package/dist/viewer/gcp-icons/services/tensorflow_enterprise/tensorflow_enterprise.svg +5 -0
- package/dist/viewer/gcp-icons/services/text-to-speech/text-to-speech.svg +1 -0
- package/dist/viewer/gcp-icons/services/tools_for_powershell/tools_for_powershell.svg +1 -0
- package/dist/viewer/gcp-icons/services/trace/trace.svg +1 -0
- package/dist/viewer/gcp-icons/services/traffic_director/traffic_director.svg +1 -0
- package/dist/viewer/gcp-icons/services/transfer/transfer.svg +7 -0
- package/dist/viewer/gcp-icons/services/transfer_appliance/transfer_appliance.svg +1 -0
- package/dist/viewer/gcp-icons/services/user_preferences/user_preferences.svg +19 -0
- package/dist/viewer/gcp-icons/services/vertexai/vertexai.svg +1 -0
- package/dist/viewer/gcp-icons/services/video_intelligence_api/video_intelligence_api.svg +1 -0
- package/dist/viewer/gcp-icons/services/virtual_private_cloud/virtual_private_cloud.svg +1 -0
- package/dist/viewer/gcp-icons/services/visual_inspection/visual_inspection.svg +1 -0
- package/dist/viewer/gcp-icons/services/vmware_engine/vmware_engine.svg +1 -0
- package/dist/viewer/gcp-icons/services/web_risk/web_risk.svg +1 -0
- package/dist/viewer/gcp-icons/services/web_security_scanner/web_security_scanner.svg +1 -0
- package/dist/viewer/gcp-icons/services/workflows/workflows.svg +1 -0
- package/dist/viewer/gcp-icons/services/workload_identity_pool/workload_identity_pool.svg +1 -0
- package/dist/viewer/gcp-icons/vpc-network.svg +10 -0
- package/dist/viewer/gcp-icons.json +1730 -0
- package/dist/viewer/icons/icon-black-256.png +0 -0
- package/dist/viewer/icons/icon-black-512.png +0 -0
- package/dist/viewer/icons/icon-blue-128.png +0 -0
- package/dist/viewer/icons/icon-blue-256.png +0 -0
- package/dist/viewer/icons/icon-blue-512.png +0 -0
- package/dist/viewer/icons/icon-dark-128.png +0 -0
- package/dist/viewer/icons/icon-dark-256.png +0 -0
- package/dist/viewer/icons/icon-dark-32.png +0 -0
- package/dist/viewer/icons/icon-dark-512.png +0 -0
- package/dist/viewer/icons/icon-dark-64.png +0 -0
- package/dist/viewer/icons/icon-white-128.png +0 -0
- package/dist/viewer/icons/icon-white-256.png +0 -0
- package/dist/viewer/icons/icon-white-512.png +0 -0
- package/dist/viewer/icons/logo-dark@2x.png +0 -0
- package/dist/viewer/icons/logo-light@2x.png +0 -0
- package/dist/viewer/icons/logo-stacked-dark@2x.png +0 -0
- package/dist/viewer/icons/mark-mono-black-256.png +0 -0
- package/dist/viewer/icons/mark-mono-white-256.png +0 -0
- package/dist/viewer/icons/mark-on-dark-256.png +0 -0
- package/dist/viewer/icons/mark-on-light-256.png +0 -0
- package/dist/viewer/icons/og-card-1200x630.png +0 -0
- package/dist/viewer/index.html +56 -0
- package/dist/viewer/kubernetes-icons/NOTICE.md +16 -0
- package/dist/viewer/kubernetes-icons/control-plane/api.svg +97 -0
- package/dist/viewer/kubernetes-icons/control-plane/c-c-m.svg +97 -0
- package/dist/viewer/kubernetes-icons/control-plane/c-m.svg +97 -0
- package/dist/viewer/kubernetes-icons/control-plane/k-proxy.svg +97 -0
- package/dist/viewer/kubernetes-icons/control-plane/kubelet.svg +97 -0
- package/dist/viewer/kubernetes-icons/control-plane/sched.svg +97 -0
- package/dist/viewer/kubernetes-icons/infrastructure/control-plane.svg +109 -0
- package/dist/viewer/kubernetes-icons/infrastructure/etcd.svg +102 -0
- package/dist/viewer/kubernetes-icons/infrastructure/node.svg +97 -0
- package/dist/viewer/kubernetes-icons/resources/c-role.svg +114 -0
- package/dist/viewer/kubernetes-icons/resources/cm.svg +154 -0
- package/dist/viewer/kubernetes-icons/resources/crb.svg +96 -0
- package/dist/viewer/kubernetes-icons/resources/crd.svg +96 -0
- package/dist/viewer/kubernetes-icons/resources/cronjob.svg +106 -0
- package/dist/viewer/kubernetes-icons/resources/deploy.svg +105 -0
- package/dist/viewer/kubernetes-icons/resources/ds.svg +120 -0
- package/dist/viewer/kubernetes-icons/resources/ep.svg +202 -0
- package/dist/viewer/kubernetes-icons/resources/group.svg +96 -0
- package/dist/viewer/kubernetes-icons/resources/hpa.svg +116 -0
- package/dist/viewer/kubernetes-icons/resources/ing.svg +97 -0
- package/dist/viewer/kubernetes-icons/resources/job.svg +144 -0
- package/dist/viewer/kubernetes-icons/resources/limits.svg +109 -0
- package/dist/viewer/kubernetes-icons/resources/netpol.svg +97 -0
- package/dist/viewer/kubernetes-icons/resources/ns.svg +98 -0
- package/dist/viewer/kubernetes-icons/resources/pod.svg +116 -0
- package/dist/viewer/kubernetes-icons/resources/psp.svg +121 -0
- package/dist/viewer/kubernetes-icons/resources/pv.svg +110 -0
- package/dist/viewer/kubernetes-icons/resources/pvc.svg +96 -0
- package/dist/viewer/kubernetes-icons/resources/quota.svg +107 -0
- package/dist/viewer/kubernetes-icons/resources/rb.svg +137 -0
- package/dist/viewer/kubernetes-icons/resources/role.svg +122 -0
- package/dist/viewer/kubernetes-icons/resources/rs.svg +115 -0
- package/dist/viewer/kubernetes-icons/resources/sa.svg +97 -0
- package/dist/viewer/kubernetes-icons/resources/sc.svg +140 -0
- package/dist/viewer/kubernetes-icons/resources/secret.svg +141 -0
- package/dist/viewer/kubernetes-icons/resources/sts.svg +133 -0
- package/dist/viewer/kubernetes-icons/resources/svc.svg +130 -0
- package/dist/viewer/kubernetes-icons/resources/user.svg +96 -0
- package/dist/viewer/kubernetes-icons/resources/vol.svg +110 -0
- package/dist/viewer/kubernetes-icons.json +314 -0
- package/dist/viewer/placeholder.svg +1 -0
- package/package.json +173 -1
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-D_SYSyRt.js","assets/html-BlS82ilI.js","assets/javascript-wDzz0qaB.js","assets/css-Z72CF80r.js","assets/angular-ts-DGq0tZX5.js","assets/scss-Cw6XMfVs.js","assets/apl-ChzvTHjC.js","assets/xml-sdJ4AIDG.js","assets/java-CylS5w8V.js","assets/json-Cp-IABpG.js","assets/astro-DTjqU0_L.js","assets/typescript-BPQ3VLAy.js","assets/postcss-CXtECtnM.js","assets/tsx-COt5Ahok.js","assets/blade-k33SngOZ.js","assets/html-derivative-DZhk3IEZ.js","assets/sql-DkvoVjww.js","assets/bsl-DlhNcFeZ.js","assets/sdbl-DVxCFoDh.js","assets/cairo-KRGpt6FW.js","assets/python-B6aJPvgy.js","assets/chapel-DTp_pixX.js","assets/c-BIGW1oBm.js","assets/cobol-BBKr1ja6.js","assets/coffee-Ch7k5sss.js","assets/cpp-BMRokrvK.js","assets/regexp-CDVJQ6XC.js","assets/glsl-DplSGwfg.js","assets/crystal-LUwhHfY5.js","assets/shellscript-Yzrsuije.js","assets/edge-CJaD-t2L.js","assets/elixir-DkJLSxtU.js","assets/elm-DbKCFpqz.js","assets/erb-CSMaCouu.js","assets/ruby-C8rp0wew.js","assets/haml-GN_XdMnF.js","assets/graphql-ChdNCCLP.js","assets/jsx-g9-lgVsj.js","assets/lua-BaeVxFsk.js","assets/yaml-Buea-lGh.js","assets/erlang-DsQrWhSR.js","assets/markdown-Cvjx9yec.js","assets/fortran-fixed-form-CkoXwp7k.js","assets/fortran-free-form-BxgE0vQu.js","assets/fsharp-CXgrBDvD.js","assets/gdresource-TyuKm33G.js","assets/gdshader-DkwncUOv.js","assets/gdscript-DqcFQ5yU.js","assets/git-commit-F4YmCXRG.js","assets/diff-D97Zzqfu.js","assets/git-rebase-r7XF79zn.js","assets/glimmer-js-Drrc9bTt.js","assets/glimmer-ts-zeybXsvi.js","assets/hack-Ck6-gGSS.js","assets/handlebars-DPT5vKgj.js","assets/http-jrhK8wxY.js","assets/hurl-irOxFIW8.js","assets/csv-fuZLfV_i.js","assets/hxml-2-FPmUDs.js","assets/haxe-CfZj7gIn.js","assets/jinja-DFQZVq3b.js","assets/jison-wvAkD_A8.js","assets/julia-Cu79e8SL.js","assets/r-Cf5RLm7j.js","assets/just-CMxyWJJc.js","assets/perl-5klg-GXX.js","assets/latex-DJVikpzR.js","assets/tex-D96PA37w.js","assets/liquid-B-duXHXw.js","assets/marko-BYgDmDgU.js","assets/less-B1dDrJ26.js","assets/mdc-DF4WjDMn.js","assets/nextflow-BCxp2Aob.js","assets/nextflow-groovy-CedDknKX.js","assets/nginx-BpAMiNFr.js","assets/nim-nV83PyhX.js","assets/org-6a7ccXN_.js","assets/ini-BEwlwnbL.js","assets/make-CHLpvVh8.js","assets/php-DoruYMF0.js","assets/vb-Cu-pLBUe.js","assets/clojure-P80f7IUj.js","assets/objective-c-DXmwc3jG.js","assets/docker-BcOcwvcX.js","assets/go-C27-OAKa.js","assets/groovy-gcz8RCvz.js","assets/raku-DXvB9xmW.js","assets/rust-DPvrY3IQ.js","assets/scala-CqE71os6.js","assets/csharp-B_TYUkTI.js","assets/dart-CtKP3W-j.js","assets/ocaml-C0hk2d4L.js","assets/zig-VOosw3JB.js","assets/xsl-CtQFsRM5.js","assets/pug-BtYPkAgq.js","assets/qml-3beO22l8.js","assets/razor-CyjPwjZj.js","assets/rst-CVOjT0e7.js","assets/cmake-D1j8_8rp.js","assets/sas-BGn39htG.js","assets/shaderlab-Dg9Lc6iA.js","assets/hlsl-D3lLCCz7.js","assets/shellsession-BADoaaVG.js","assets/soy-zscZBeg6.js","assets/sparql-rVzFXLq3.js","assets/turtle-BsS91CYL.js","assets/stata-DACIj5bg.js","assets/surrealql-Cjom0U5J.js","assets/svelte-D84K1R2Q.js","assets/templ-Vpw5XpSW.js","assets/ts-tags-Ls60c9xG.js","assets/twig-D9-LOF2p.js","assets/typst-DamkJZ1Q.js","assets/bat-CickPsom.js","assets/bibtex-CHM0blh-.js","assets/jsonc-Des-eS-w.js","assets/log-2UxHyX5q.js","assets/powershell-Dd0kTxKP.js","assets/swift-C2oV4EkX.js","assets/verilog-nZwndyjY.js","assets/system-verilog-0hqHdDBg.js","assets/vue-DSqPwMUe.js","assets/vue-html-AaS7Mt5G.js","assets/vue-vine-C0RcJ6UU.js","assets/stylus-BEDo0Tqx.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as A,j as l}from"./index-CH7cEAxj.js";import{B as Ga,a as za,b as Fc}from"./better-dialog-DcIxFWwk.js";import{S as qa}from"./section-loader-C4hOfhQS.js";import{S as $s}from"./section-not-found-BnrXiPog.js";import{B as ti}from"./button-DZj74qS7.js";import{C as Hc}from"./checkbox-CFJfXL6R.js";import{o as $c,b as Vc,d as Bc,e as Wc,f as Uc}from"./dialog-D7wzTt0L.js";import{u as Ka,P as Vs,a8 as Gc}from"./nav-links-DZWMpwMR.js";import{c as Za,a as zc,u as qc,b as Kc}from"./chunk-OB3PAWPO-DJIP1M4r.js";import{u as Zc,a8 as Xa}from"./query-D9oj6LGx.js";import{_ as g}from"./preload-helper-BlTxHScW.js";import{c as Xc,w as bs,s as Ja,f as Jc,a as Qc,b as Yc,h as eu,d as tu,H as P,M as nu,r as iu}from"./index-BZGsDmUx.js";import{J as Bs,z as ru,o as N,s as S,c as K,n as et,d as H,b as ye,B as Fe,K as su}from"./index-CIf0GId3.js";import{f as ou,g as au,h as lu}from"./index-DY3BFyb6.js";import{t as vs}from"./index-B6MxYIzs.js";import{s as du,a as cu,b as uu,c as hu,d as fu,e as pu}from"./api-r74Oi8H6.js";import{O as mu,d as gu}from"./dependencies-DK2GDlhQ.js";import{D as bu}from"./dependency-graph-xBEnCS0J.js";import{u as vu}from"./useQuery-Dhe6uxrL.js";import{L as Ws}from"./loader-circle-CiqyoJF7.js";import"./super-logo-loader-Cxlbn6MB.js";import"./iconBase-DtqdW2XR.js";import"./check-BpmCQNbj.js";import"./index-Ck66Ic_p.js";import"./api-endpoints-D-Whnnwd.js";import"./gql-FFIj8zdp.js";import"./style-BPesJvJr.js";import"./index-BIrx3oY4.js";import"./transform-BqqRT-Iy.js";import"./value-wA6veExk.js";import"./index-Dj_05fqk.js";import"./globe-CJ35KsQW.js";import"./share-2-CQEaWbfH.js";import"./link-2-D1e0xznG.js";import"./circle-alert-Bl7DXYD_.js";const Cn=[["path",{d:"M13.9248 21H10.0752C5.44476 21 3.12955 21 2.27636 19.4939C1.42317 17.9879 2.60736 15.9914 4.97574 11.9985L6.90057 8.75333C9.17559 4.91778 10.3131 3 12 3C13.6869 3 14.8244 4.91777 17.0994 8.75332L19.0243 11.9985C21.3926 15.9914 22.5768 17.9879 21.7236 19.4939C20.8704 21 18.5552 21 13.9248 21Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 9V13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 16.75H12M12.25 16.75C12.25 16.8881 12.1381 17 12 17C11.8619 17 11.75 16.8881 11.75 16.75C11.75 16.6119 11.8619 16.5 12 16.5C12.1381 16.5 12.25 16.6119 12.25 16.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],yu=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 15.75H12M12.25 15.75C12.25 15.8881 12.1381 16 12 16C11.8619 16 11.75 15.8881 11.75 15.75C11.75 15.6119 11.8619 15.5 12 15.5C12.1381 15.5 12.25 15.6119 12.25 15.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],ku=[["path",{d:"M5.92089 5.92089C8.15836 3.68342 9.2771 2.56468 10.5857 2.19562C11.5105 1.93479 12.4895 1.93479 13.4143 2.19562C14.7229 2.56468 15.8416 3.68342 18.0791 5.92089C20.3166 8.15836 21.4353 9.2771 21.8044 10.5857C22.0652 11.5105 22.0652 12.4895 21.8044 13.4143C21.4353 14.7229 20.3166 15.8416 18.0791 18.0791C15.8416 20.3166 14.7229 21.4353 13.4143 21.8044C12.4895 22.0652 11.5105 22.0652 10.5857 21.8044C9.2771 21.4353 8.15836 20.3166 5.92089 18.0791C3.68342 15.8416 2.56468 14.7229 2.19562 13.4143C1.93479 12.4895 1.93479 11.5105 2.19562 10.5857C2.56468 9.2771 3.68342 8.15836 5.92089 5.92089Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 15.75H12M12.25 15.75C12.25 15.8881 12.1381 16 12 16C11.8619 16 11.75 15.8881 11.75 15.75C11.75 15.6119 11.8619 15.5 12 15.5C12.1381 15.5 12.25 15.6119 12.25 15.75Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Qa=[["path",{d:"M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M6 13.5L7.5 9L9.375 13.5M6 13.5L5.5 15M6 13.5H9.375M9.375 13.5L10 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.5 12V9.7C12.5 9.51387 12.5 9.42081 12.5245 9.34549C12.5739 9.19327 12.6933 9.07393 12.8455 9.02447C12.9208 9 13.0139 9 13.2 9H14.5C15.3284 9 16 9.67157 16 10.5C16 11.3284 15.3284 12 14.5 12H12.5ZM12.5 12V15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M18.5 9V15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],xu=[["path",{d:"M19 9H6.65856C5.65277 9 5.14987 9 5.02472 8.69134C4.89957 8.38268 5.25517 8.01942 5.96637 7.29289L8.21091 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M5 15H17.3414C18.3472 15 18.8501 15 18.9753 15.3087C19.1004 15.6173 18.7448 15.9806 18.0336 16.7071L15.7891 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],_u=[["path",{d:"M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],mt=[["path",{d:"M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Cu=[["path",{d:"M18.5 12L4.99997 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 18C13 18 19 13.5811 19 12C19 10.4188 13 6 13 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],wu=[["path",{d:"M7.99978 3.5H6.60021C4.43183 3.5 3.34764 3.5 2.67399 4.17362C2.00034 4.84724 2.00029 5.93144 2.00021 8.09982L2 13.3998C1.99992 15.5684 1.99987 16.6526 2.67353 17.3263C3.34719 18 4.43146 18 6.6 18H8.95042C10.4329 18 11.7092 19.0464 11.9999 20.5V5.5C11.0556 4.24097 9.99989 3.5 7.99978 3.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.0001 3.5H17.3997C19.5681 3.5 20.6523 3.5 21.3259 4.17362C21.9996 4.84724 21.9996 5.93144 21.9997 8.09982L21.9999 13.3998C22 15.5684 22 16.6526 21.3264 17.3263C20.6527 18 19.5684 18 17.3999 18H15.0495C13.567 18 12.2907 19.0464 12 20.5V5.5C12.9443 4.24097 14 3.5 16.0001 3.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Lu=[["path",{d:"M8 3C7.5355 3 7.30325 3 7.10891 3.03078C6.03918 3.20021 5.20021 4.03918 5.03078 5.10891C5 5.30325 5 5.5355 5 6L5 10C5 11.1046 4.10457 12 3 12C4.10406 11.9982 5 12.8928 5 13.9968V18C5 18.4645 5 18.6968 5.03078 18.8911C5.20021 19.9608 6.03918 20.7998 7.10891 20.9692C7.30325 21 7.5355 21 8 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16 3C16.4645 3 16.6968 3 16.8911 3.03078C17.9608 3.20021 18.7998 4.03918 18.9692 5.10891C19 5.30325 19 5.5355 19 6L19 10C19 11.1046 19.8954 12 21 12C19.8959 11.9982 19 12.8928 19 13.9968V18C19 18.4645 19 18.6968 18.9692 18.8911C18.7998 19.9608 17.9608 20.7998 16.8911 20.9692C16.6968 21 16.4645 21 16 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Ti=[["path",{d:"M18 6L6.00081 17.9992M17.9992 18L6 6.00085",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Xe=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.9994 15L9 9M9.00064 15L15 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Su=[["path",{d:"M11 6L21 6",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11 12L21 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M11 18L21 18",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 7.39286C3 7.39286 4 8.04466 4.5 9C4.5 9 6 5.25 8 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M3 18.3929C3 18.3929 4 19.0447 4.5 20C4.5 20 6 16.25 8 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]],ji=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 12.5L10.5 15L16 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Ir=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Eu=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V12L14 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Ru=[["path",{d:"M14 21H16M14 21C13.1716 21 12.5 20.3284 12.5 19.5V17L12 17M14 21H10M10 21H8M10 21C10.8284 21 11.5 20.3284 11.5 19.5V17L12 17M12 17V21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16 3H8C5.17157 3 3.75736 3 2.87868 3.87868C2 4.75736 2 6.17157 2 9V11C2 13.8284 2 15.2426 2.87868 16.1213C3.75736 17 5.17157 17 8 17H16C18.8284 17 20.2426 17 21.1213 16.1213C22 15.2426 22 13.8284 22 11V9C22 6.17157 22 4.75736 21.1213 3.87868C20.2426 3 18.8284 3 16 3Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Au=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 22V2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 7L20.5 7",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12 17L20.5 17",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M12 12H22",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}]],Iu=[["path",{d:"M7.5 14.5C7.5 11.2002 7.5 9.55025 8.52513 8.52513C9.55025 7.5 11.2002 7.5 14.5 7.5C17.7998 7.5 19.4497 7.5 20.4749 8.52513C21.5 9.55025 21.5 11.2002 21.5 14.5C21.5 17.7998 21.5 19.4497 20.4749 20.4749C19.4497 21.5 17.7998 21.5 14.5 21.5C11.2002 21.5 9.55025 21.5 8.52513 20.4749C7.5 19.4497 7.5 17.7998 7.5 14.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.5 16.5C6.10355 16.5 5.40533 16.5 4.84402 16.3036C3.83866 15.9518 3.0482 15.1613 2.69641 14.156C2.5 13.5947 2.5 12.8964 2.5 11.5V9.5C2.5 6.20017 2.5 4.55025 3.52513 3.52513C4.55025 2.5 6.20017 2.5 9.5 2.5H11.5C12.8964 2.5 13.5947 2.5 14.156 2.69641C15.1613 3.0482 15.9518 3.83866 16.3036 4.84402C16.5 5.40533 16.5 6.10355 16.5 7.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Tu=[["path",{d:"M2.79289 21.2071C3.08579 21.5 3.55719 21.5 4.5 21.5H14.5C15.4428 21.5 15.9142 21.5 16.2071 21.2071M2.79289 21.2071C2.5 20.9142 2.5 20.4428 2.5 19.5V9.5C2.5 8.55719 2.5 8.08579 2.79289 7.79289M2.79289 21.2071L8.79289 15.2071M16.2071 21.2071C16.5 20.9142 16.5 20.4428 16.5 19.5V9.5C16.5 8.55719 16.5 8.08579 16.2071 7.79289M16.2071 21.2071L21.2071 16.2071C21.5 15.9142 21.5 15.4428 21.5 14.5V4.5C21.5 3.55719 21.5 3.08579 21.2071 2.79289M16.2071 7.79289C15.9142 7.5 15.4428 7.5 14.5 7.5H4.5C3.55719 7.5 3.08579 7.5 2.79289 7.79289M16.2071 7.79289L21.2071 2.79289M2.79289 7.79289L7.79289 2.79289C8.08579 2.5 8.55719 2.5 9.5 2.5H19.5C20.4428 2.5 20.9142 2.5 21.2071 2.79289M8.79289 15.2071C9.08579 15.5 9.55719 15.5 10.5 15.5H14M8.79289 15.2071C8.5 14.9142 8.5 14.4428 8.5 13.5V10.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],ys=[["path",{d:"M3 12C3 7.75736 3 5.63604 4.31802 4.31802C5.63604 3 7.75736 3 12 3C16.2426 3 18.364 3 19.682 4.31802C21 5.63604 21 7.75736 21 12C21 16.2426 21 18.364 19.682 19.682C18.364 21 16.2426 21 12 21C7.75736 21 5.63604 21 4.31802 19.682C3 18.364 3 16.2426 3 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 12H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M11 7.5L17 7.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M7.125 7.5H7M7.25 7.5C7.25 7.63807 7.13807 7.75 7 7.75C6.86193 7.75 6.75 7.63807 6.75 7.5C6.75 7.36193 6.86193 7.25 7 7.25C7.13807 7.25 7.25 7.36193 7.25 7.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M11 16.5L17 16.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M7.125 16.5H7M7.25 16.5C7.25 16.6381 7.13807 16.75 7 16.75C6.86193 16.75 6.75 16.6381 6.75 16.5C6.75 16.3619 6.86193 16.25 7 16.25C7.13807 16.25 7.25 16.3619 7.25 16.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]],ju=[["path",{d:"M20 14V10.6569C20 9.83935 20 9.4306 19.8478 9.06306C19.6955 8.69552 19.4065 8.40649 18.8284 7.82843L14.0919 3.09188C13.593 2.593 13.3436 2.34355 13.0345 2.19575C12.9702 2.165 12.9044 2.13772 12.8372 2.11401C12.5141 2 12.1614 2 11.4558 2C8.21082 2 6.58831 2 5.48933 2.88607C5.26731 3.06508 5.06508 3.26731 4.88607 3.48933C4 4.58831 4 6.21082 4 9.45584V14C4 17.7712 4 19.6569 5.17157 20.8284C6.34315 22 8.22876 22 12 22M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 22C17.6068 21.4102 20 19.8403 20 19C20 18.1597 17.6068 16.5898 17 16M19 19H12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Nu=[["path",{d:"M2 2L22 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19.8478 14.9369C20 14.5694 20 14.1606 20 13.3431V10C20 6.22876 20 4.34315 18.8284 3.17157C17.6569 2 15.7712 2 12 2C9.33333 2 7.60948 2 6.41421 2.41421M4.41421 4.41421C4 5.60948 4 7.33333 4 10L4 14.5442C4 17.7892 4 19.4117 4.88607 20.5107C5.06508 20.7327 5.26731 20.9349 5.48933 21.1139C6.58831 22 8.21082 22 11.4558 22C12.1614 22 12.5141 22 12.8372 21.886C12.9044 21.8623 12.9702 21.835 13.0345 21.8043C13.3436 21.6564 13.593 21.407 14.0919 20.9081L17.5 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M13 21.5L13 20.7487C13 17.9203 13 16.5061 13.8787 15.6274C14.1785 15.3276 14.5406 15.1301 15 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Pu=[["path",{d:"M5.22576 11.3294L12.224 2.34651C12.7713 1.64397 13.7972 2.08124 13.7972 3.01707V9.96994C13.7972 10.5305 14.1995 10.985 14.6958 10.985H18.0996C18.8729 10.985 19.2851 12.0149 18.7742 12.6706L11.776 21.6535C11.2287 22.356 10.2028 21.9188 10.2028 20.9829V14.0301C10.2028 13.4695 9.80048 13.015 9.3042 13.015H5.90035C5.12711 13.015 4.71494 11.9851 5.22576 11.3294Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Du=[["path",{d:"M8 7H16.75C18.8567 7 19.91 7 20.6667 7.50559C20.9943 7.72447 21.2755 8.00572 21.4944 8.33329C22 9.08996 22 10.1433 22 12.25C22 15.7612 22 17.5167 21.1573 18.7779C20.7926 19.3238 20.3238 19.7926 19.7779 20.1573C18.5167 21 16.7612 21 13.25 21H12C7.28595 21 4.92893 21 3.46447 19.5355C2 18.0711 2 15.714 2 11V7.94427C2 6.1278 2 5.21956 2.38032 4.53806C2.65142 4.05227 3.05227 3.65142 3.53806 3.38032C4.21956 3 5.1278 3 6.94427 3C8.10802 3 8.6899 3 9.19926 3.19101C10.3622 3.62712 10.8418 4.68358 11.3666 5.73313L12 7",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}]],Mu=[["path",{d:"M5 19C5.26413 19.9564 5.79671 21 7.18729 21C9.59365 21 10.1952 19 12 12C13.8048 5 14.4064 3 16.8127 3C18.2033 3 18.7359 4.04358 19 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9 10H17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Ou=[["path",{d:"M12 3L12 8.5M12 21L12 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"12",cy:"12",r:"3",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],Fu=[["path",{d:"M7 20C8.10457 20 9 19.1046 9 18C9 16.8954 8.10457 16 7 16C5.89543 16 5 16.8954 5 18C5 19.1046 5.89543 20 7 20Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 8C8.10457 8 9 7.10457 9 6C9 4.89543 8.10457 4 7 4C5.89543 4 5 4.89543 5 6C5 7.10457 5.89543 8 7 8Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M17 14C18.1046 14 19 13.1046 19 12C19 10.8954 18.1046 10 17 10C15.8954 10 15 10.8954 15 12C15 13.1046 15.8954 14 17 14Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M7.02116 8.2793V15.4073M14.4113 12.0047L10.0193 12.0048C8.92158 12.0048 6.86182 11.1254 7.01818 8.78001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],Hu=[["path",{d:"M6 8L6 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 11L18 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"6",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["circle",{cx:"6",cy:"6",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["circle",{cx:"18",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"4"}],["path",{d:"M20 4L18 6M18 6L16 8M18 6L20 8M18 6L16 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]],$u=[["path",{d:"M6 8L6 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 16V12C18 9.17156 18 7.75735 17.1213 6.87867C16.2426 5.99999 14.8284 5.99999 12 5.99999L11 5.99999M11 5.99999C11 5.29976 12.9943 3.99152 13.5 3.49999M11 5.99999C11 6.70022 12.9943 8.00846 13.5 8.49999",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["circle",{cx:"6",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["circle",{cx:"6",cy:"6",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["circle",{cx:"18",cy:"18",r:"2",stroke:"currentColor",strokeWidth:"1.5",key:"4"}]],Vu=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 12C8 18 12 22 12 22C12 22 16 18 16 12C16 6 12 2 12 2C12 2 8 6 8 12Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21 15H3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M21 9H3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],Bu=[["path",{d:"M4 3H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M5.5 3V5.03039C5.5 6.27227 6.07682 7.4437 7.06116 8.20089L12 12L16.9388 8.20089C17.9232 7.44371 18.5 6.27227 18.5 5.03039V3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M5.5 21V18.9696C5.5 17.7277 6.07682 16.5563 7.06116 15.7991L12 12L16.9388 15.7991C17.9232 16.5563 18.5 17.7277 18.5 18.9696V21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M4 21H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],Ya=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 16V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.125 8.25H12M12.25 8.25C12.25 8.11193 12.1381 8 12 8C11.8619 8 11.75 8.11193 11.75 8.25C11.75 8.38807 11.8619 8.5 12 8.5C12.1381 8.5 12.25 8.38807 12.25 8.25Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],zt=[["path",{d:"M11.0991 3.00012C7.45013 3.00669 5.53932 3.09629 4.31817 4.31764C3.00034 5.63568 3.00034 7.75704 3.00034 11.9997C3.00034 16.2424 3.00034 18.3638 4.31817 19.6818C5.63599 20.9999 7.75701 20.9999 11.9991 20.9999C16.241 20.9999 18.3621 20.9999 19.6799 19.6818C20.901 18.4605 20.9906 16.5493 20.9972 12.8998",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20.556 3.49612L11.0487 13.0586M20.556 3.49612C20.062 3.00151 16.7343 3.04761 16.0308 3.05762M20.556 3.49612C21.05 3.99074 21.0039 7.32273 20.9939 8.02714",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Wu=[["path",{d:"M5.25345 4.19584L4.02558 4.90813C3.03739 5.48137 2.54329 5.768 2.27164 6.24483C2 6.72165 2 7.30233 2 8.46368V16.6283C2 18.1542 2 18.9172 2.34226 19.3418C2.57001 19.6244 2.88916 19.8143 3.242 19.8773C3.77226 19.9719 4.42148 19.5953 5.71987 18.8421C6.60156 18.3306 7.45011 17.7994 8.50487 17.9435C8.98466 18.009 9.44231 18.2366 10.3576 18.6917L14.1715 20.588C14.9964 20.9982 15.004 21 15.9214 21H18C19.8856 21 20.8284 21 21.4142 20.4013C22 19.8026 22 18.8389 22 16.9117V10.1715C22 8.24423 22 7.2806 21.4142 6.68188C20.8284 6.08316 19.8856 6.08316 18 6.08316H15.9214C15.004 6.08316 14.9964 6.08139 14.1715 5.6712L10.8399 4.01463C9.44884 3.32297 8.75332 2.97714 8.01238 3.00117C7.27143 3.02521 6.59877 3.41542 5.25345 4.19584Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 3L8 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15 6.5L15 20.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],wn=[["path",{d:"M16 12H8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],Uu=[["path",{d:"M20 12L4 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Gu=[["path",{d:"M15.9351 12.6258C15.6807 13.8374 14.327 14.7077 11.6198 16.4481C8.67528 18.3411 7.20303 19.2876 6.01052 18.9229C5.60662 18.7994 5.23463 18.5823 4.92227 18.2876C4 17.4178 4 15.6118 4 12C4 8.38816 4 6.58224 4.92227 5.71235C5.23463 5.41773 5.60662 5.20057 6.01052 5.07707C7.20304 4.71243 8.67528 5.6589 11.6198 7.55186C14.327 9.29233 15.6807 10.1626 15.9351 11.3742C16.0216 11.7865 16.0216 12.2135 15.9351 12.6258Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20 5V19",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],zu=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],qu=[["path",{d:"M21 14C21 15.4001 21 16.1002 20.7275 16.635C20.4878 17.1054 20.1054 17.4878 19.635 17.7275C19.1002 18 18.4001 18 17 18H7C5.59987 18 4.8998 18 4.36502 17.7275C3.89462 17.4878 3.51217 17.1054 3.27248 16.635C3 16.1002 3 15.4001 3 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M6 14H18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M6 10H18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M6 6H18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],Ku=[["path",{d:"M16.3884 3L17.3913 3.97574C17.8393 4.41165 18.0633 4.62961 17.9844 4.81481C17.9056 5 17.5888 5 16.9552 5H9.19422C5.22096 5 2 8.13401 2 12C2 13.4872 2.47668 14.8662 3.2895 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.61156 21L6.60875 20.0243C6.16074 19.5883 5.93673 19.3704 6.01557 19.1852C6.09441 19 6.4112 19 7.04478 19H14.8058C18.779 19 22 15.866 22 12C22 10.5128 21.5233 9.13383 20.7105 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Zu=[["path",{d:"M6.21875 11.618L3.31189 11.2378C2.71644 11.1606 2.31883 10.5841 2.58348 10.0458C3.42523 8.33365 5.6195 6.35437 9.73988 6.68079M6.21875 11.618C7.27445 9.85426 8.57175 8.00435 9.73988 6.68079M6.21875 11.618L11.882 17.2812M9.73988 6.68079C13.4105 2.58986 17.1745 1.728 19.5937 2.06685C20.5508 2.2009 21.2991 2.94917 21.4332 3.90626C21.772 6.32551 20.9101 10.0895 16.8192 13.7601M11.882 17.2812L12.2622 20.1881C12.3394 20.7836 12.9159 21.1812 13.4542 20.9165C15.1664 20.0748 17.1456 17.8805 16.8192 13.7601M11.882 17.2812C13.6457 16.2255 15.4956 14.9282 16.8192 13.7601",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.5 8C17.5 6.89543 16.6046 6 15.5 6C14.3954 6 13.5 6.89543 13.5 8C13.5 9.10457 14.3954 10 15.5 10C16.6046 10 17.5 9.10457 17.5 8Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M4 22L8 18M4 17L5.5 15.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],el=[["circle",{cx:"18",cy:"5",r:"3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"6",cy:"19",r:"3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 5H8.5C6.567 5 5 6.567 5 8.5C5 10.433 6.567 12 8.5 12H15.5C17.433 12 19 13.567 19 15.5C19 17.433 17.433 19 15.5 19H12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Xu=[["path",{d:"M17 17L21 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Ju=[["path",{d:"M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M20.4697 21.5303C20.7626 21.8232 21.2374 21.8232 21.5303 21.5303C21.8232 21.2374 21.8232 20.7626 21.5303 20.4697L21 21L20.4697 21.5303ZM15 15L14.4697 15.5303L20.4697 21.5303L21 21L21.5303 20.4697L15.5303 14.4697L15 15Z",fill:"currentColor",key:"1"}]],Qu=[["path",{d:"M9.49811 15L16.9981 7.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8.00634 7.67888L15.327 4.21881C18.3688 2.78111 19.8897 2.06226 20.8598 2.78341C21.8299 3.50455 21.5527 5.14799 20.9984 8.43486L20.0435 14.0968C19.6811 16.246 19.4998 17.3205 18.6989 17.7891C17.8979 18.2577 16.8574 17.8978 14.7765 17.178L8.41077 14.9762C4.51917 13.6301 2.57337 12.9571 2.50019 11.6365C2.427 10.3159 4.28678 9.43692 8.00634 7.67888Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M9.49811 15.5V17.7274C9.49811 20.101 9.49811 21.2878 10.2083 21.4771C10.9185 21.6663 11.6664 20.6789 13.1622 18.7039L13.9981 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],tl=[["path",{d:"M19 4H5C4.06812 4 3.60218 4 3.23463 4.15224C2.74458 4.35523 2.35523 4.74458 2.15224 5.23463C2 5.60218 2 6.06812 2 7C2 7.93188 2 8.39782 2.15224 8.76537C2.35523 9.25542 2.74458 9.64477 3.23463 9.84776C3.60218 10 4.06812 10 5 10H19C19.9319 10 20.3978 10 20.7654 9.84776C21.2554 9.64477 21.6448 9.25542 21.8478 8.76537C22 8.39782 22 7.93188 22 7C22 6.06812 22 5.60218 21.8478 5.23463C21.6448 4.74458 21.2554 4.35523 20.7654 4.15224C20.3978 4 19.9319 4 19 4Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19 14H5C4.06812 14 3.60218 14 3.23463 14.1522C2.74458 14.3552 2.35523 14.7446 2.15224 15.2346C2 15.6022 2 16.0681 2 17C2 17.9319 2 18.3978 2.15224 18.7654C2.35523 19.2554 2.74458 19.6448 3.23463 19.8478C3.60218 20 4.06812 20 5 20H19C19.9319 20 20.3978 20 20.7654 19.8478C21.2554 19.6448 21.6448 19.2554 21.8478 18.7654C22 18.3978 22 17.9319 22 17C22 16.0681 22 15.6022 21.8478 15.2346C21.6448 14.7446 21.2554 14.3552 20.7654 14.1522C20.3978 14 19.9319 14 19 14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M6.125 7H6M6.25 7C6.25 7.13807 6.13807 7.25 6 7.25C5.86193 7.25 5.75 7.13807 5.75 7C5.75 6.86193 5.86193 6.75 6 6.75C6.13807 6.75 6.25 6.86193 6.25 7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M10.125 7H10M10.25 7C10.25 7.13807 10.1381 7.25 10 7.25C9.86193 7.25 9.75 7.13807 9.75 7C9.75 6.86193 9.86193 6.75 10 6.75C10.1381 6.75 10.25 6.86193 10.25 7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M6.125 17H6M6.25 17C6.25 17.1381 6.13807 17.25 6 17.25C5.86193 17.25 5.75 17.1381 5.75 17C5.75 16.8619 5.86193 16.75 6 16.75C6.13807 16.75 6.25 16.8619 6.25 17Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M10.125 17H10M10.25 17C10.25 17.1381 10.1381 17.25 10 17.25C9.86193 17.25 9.75 17.1381 9.75 17C9.75 16.8619 9.86193 16.75 10 16.75C10.1381 16.75 10.25 16.8619 10.25 17Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]],nl=[["path",{d:"M15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.5 13.933 8.5 12C8.5 10.067 10.067 8.5 12 8.5C13.933 8.5 15.5 10.067 15.5 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M21.011 14.0965C21.5329 13.9558 21.7939 13.8854 21.8969 13.7508C22 13.6163 22 13.3998 22 12.9669V11.0332C22 10.6003 22 10.3838 21.8969 10.2493C21.7938 10.1147 21.5329 10.0443 21.011 9.90358C19.0606 9.37759 17.8399 7.33851 18.3433 5.40087C18.4817 4.86799 18.5509 4.60156 18.4848 4.44529C18.4187 4.28902 18.2291 4.18134 17.8497 3.96596L16.125 2.98673C15.7528 2.77539 15.5667 2.66972 15.3997 2.69222C15.2326 2.71472 15.0442 2.90273 14.6672 3.27873C13.208 4.73448 10.7936 4.73442 9.33434 3.27864C8.95743 2.90263 8.76898 2.71463 8.60193 2.69212C8.43489 2.66962 8.24877 2.77529 7.87653 2.98663L6.15184 3.96587C5.77253 4.18123 5.58287 4.28891 5.51678 4.44515C5.45068 4.6014 5.51987 4.86787 5.65825 5.4008C6.16137 7.3385 4.93972 9.37763 2.98902 9.9036C2.46712 10.0443 2.20617 10.1147 2.10308 10.2492C2 10.3838 2 10.6003 2 11.0332V12.9669C2 13.3998 2 13.6163 2.10308 13.7508C2.20615 13.8854 2.46711 13.9558 2.98902 14.0965C4.9394 14.6225 6.16008 16.6616 5.65672 18.5992C5.51829 19.1321 5.44907 19.3985 5.51516 19.5548C5.58126 19.7111 5.77092 19.8188 6.15025 20.0341L7.87495 21.0134C8.24721 21.2247 8.43334 21.3304 8.6004 21.3079C8.76746 21.2854 8.95588 21.0973 9.33271 20.7213C10.7927 19.2644 13.2088 19.2643 14.6689 20.7212C15.0457 21.0973 15.2341 21.2853 15.4012 21.3078C15.5682 21.3303 15.7544 21.2246 16.1266 21.0133L17.8513 20.034C18.2307 19.8187 18.4204 19.711 18.4864 19.5547C18.5525 19.3984 18.4833 19.132 18.3448 18.5991C17.8412 16.6616 19.0609 14.6226 21.011 14.0965Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],Yu=[["path",{d:"M18.7088 3.49534C16.8165 2.55382 14.5009 2 12 2C9.4991 2 7.1835 2.55382 5.29116 3.49534C4.36318 3.95706 3.89919 4.18792 3.4496 4.91378C3 5.63965 3 6.34248 3 7.74814V11.2371C3 16.9205 7.54236 20.0804 10.173 21.4338C10.9067 21.8113 11.2735 22 12 22C12.7265 22 13.0933 21.8113 13.8269 21.4338C16.4576 20.0804 21 16.9205 21 11.2371L21 7.74814C21 6.34249 21 5.63966 20.5504 4.91378C20.1008 4.18791 19.6368 3.95706 18.7088 3.49534Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],il=[["path",{d:"M3.99963 5.00055L9.99963 5.00031",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.9996 5.00031L19.9996 5.00031",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15.9996 9.00031L15.9996 15.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M9.99963 2.00031L9.99963 8.00031",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M11.9996 16.0003L11.9996 22.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M15.9996 12.0001L19.9996 12.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M3.99963 12.0005L12.9996 12.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}],["path",{d:"M11.9996 19.0003L19.9996 19.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"7"}],["path",{d:"M3.99963 19.0005L8.99963 19.0003",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"8"}]],eh=[["path",{d:"M17 8L18.8398 9.85008C19.6133 10.6279 20 11.0168 20 11.5C20 11.9832 19.6133 12.3721 18.8398 13.1499L17 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 8L5.16019 9.85008C4.38673 10.6279 4 11.0168 4 11.5C4 11.9832 4.38673 12.3721 5.16019 13.1499L7 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.5 4L9.5 20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],th=[["path",{d:"M8 2H16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.2187 13.0044L15.9921 13.6151C15.5219 14.65 14.1115 15.7439 11.7609 14.3182C10.2471 13.4001 8.93663 12.6631 7.9997 13.16L7.21891 13.5412",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.5323 2V8.56602C14.5323 9.27829 14.5323 9.63442 14.6304 9.97222C14.7285 10.31 14.9197 10.612 15.3021 11.216L17.2861 14.35C19.4275 17.7326 20.4982 19.4238 19.7751 20.7119C19.0519 22 17.0317 22 12.9914 22H11.0086C6.96825 22 4.94807 22 4.22495 20.7119C3.50182 19.4238 4.57251 17.7326 6.71389 14.35L8.69792 11.216C9.08029 10.612 9.27148 10.31 9.36961 9.97222C9.46773 9.63442 9.46773 9.27829 9.46773 8.56602V2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M15.125 19H15M15.25 19C15.25 19.1381 15.1381 19.25 15 19.25C14.8619 19.25 14.75 19.1381 14.75 19C14.75 18.8619 14.8619 18.75 15 18.75C15.1381 18.75 15.25 18.8619 15.25 19Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M10.125 17H10M10.25 17C10.25 17.1381 10.1381 17.25 10 17.25C9.86193 17.25 9.75 17.1381 9.75 17C9.75 16.8619 9.86193 16.75 10 16.75C10.1381 16.75 10.25 16.8619 10.25 17Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]],Ct=[["path",{d:"M5 14L8.5 17.5L19 6.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],nh=[["path",{d:"M2.46433 9.34375C2.21579 9.34375 1.98899 9.14229 2.00041 8.87895C2.06733 7.33687 2.25481 6.33298 2.78008 5.53884C3.08228 5.08196 3.45765 4.68459 3.88923 4.36468C5.05575 3.5 6.70139 3.5 9.99266 3.5H14.0074C17.2986 3.5 18.9443 3.5 20.1108 4.36468C20.5424 4.68459 20.9177 5.08196 21.2199 5.53884C21.7452 6.33289 21.9327 7.33665 21.9996 8.87843C22.011 9.14208 21.7839 9.34375 21.5351 9.34375C20.1493 9.34375 19.0259 10.533 19.0259 12C19.0259 13.467 20.1493 14.6562 21.5351 14.6562C21.7839 14.6562 22.011 14.8579 21.9996 15.1216C21.9327 16.6634 21.7452 17.6671 21.2199 18.4612C20.9177 18.918 20.5424 19.3154 20.1108 19.6353C18.9443 20.5 17.2986 20.5 14.0074 20.5H9.99266C6.70139 20.5 5.05575 20.5 3.88923 19.6353C3.45765 19.3154 3.08228 18.918 2.78008 18.4612C2.25481 17.667 2.06733 16.6631 2.00041 15.1211C1.98899 14.8577 2.21579 14.6562 2.46433 14.6562C3.85012 14.6562 4.97352 13.467 4.97352 12C4.97352 10.533 3.85012 9.34375 2.46433 9.34375Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9 3.5L9 20.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],ih=[["path",{d:"M2.5 20.4998C2.78417 16.8055 5.8 13.719 9.50082 13.5376C9.81335 13.5222 10.1446 13.5094 10.5 13.4996L11.495 13.566C11.8368 13.5888 12.1723 13.6342 12.5 13.7008",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"10.5",cy:"6.49963",r:"4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M17.5141 21.4754H17.5016M15.5 15.9996C15.5 14.8951 16.3954 13.9996 17.5 13.9996C18.6046 13.9996 19.5 14.8951 19.5 15.9996C19.5 16.7567 19.0793 17.4156 18.459 17.7552C17.9745 18.0204 17.5 18.4473 17.5 18.9996M17.5266 21.4754C17.5266 21.4892 17.5154 21.5004 17.5016 21.5004C17.4878 21.5004 17.4766 21.4892 17.4766 21.4754C17.4766 21.4616 17.4878 21.4504 17.5016 21.4504C17.5154 21.4504 17.5266 21.4616 17.5266 21.4754Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]];function Tn(e){const t=A.useRef(e);return A.useInsertionEffect(()=>void(t.current=e)),A.useCallback((...n)=>t.current(...n),[])}const rh=A.createContext(void 0);function sh(){return A.useContext(rh)}const oh={position:"absolute",top:0,bottom:0,textAlign:"center",whiteSpace:"normal",touchAction:"none"},ah={display:"contents"};function Us(){return null}const rl="diffs-container";(()=>{try{return!1}catch{return!1}})();const lh=/(?=^From [a-f0-9]+ .+$)/m,sl=/(?=^diff --git)/gm,dh=/(?<=\n)/,ch=/^(---|\+\+\+)\s+([^\t\r\n]+)/,uh=/^index ([0-9a-f]+)\.\.([0-9a-f]+)(?: (\d+))?$/i,ol="header-prefix",al="header-filename-suffix",ll="header-metadata",ks="header-custom",De={dark:"pierre-dark",light:"pierre-light"},hh="data-theme-css",fh="data-unsafe-css",ph="data-diffs-scrollbar-measure",dl="--diffs-scrollbar-gutter-measured",mh=1e5,gh={hunkLineCount:50,lineHeight:20,diffHeaderHeight:44,spacing:8},bh=Object.freeze({fromStart:0,fromEnd:0}),Gs={startingLine:0,totalLines:1/0,bufferBefore:0,bufferAfter:0},vh={startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:0};function wt(e){return`annotation-${"side"in e?`${e.side}-`:""}${e.lineNumber}`}function yh({hunkIndex:e,lineIndex:t,conflictIndex:n}){return`merge-conflict-action-${e}-${t}-${n}`}function _e(e,t){return e-(t===0?0:1)}function pe(e,t){return _e(e,t)+t}function kh(e,t){const n=t.hunks[e.hunkIndex];if(n!=null)return{hunkIndex:e.hunkIndex,lineIndex:xh(n,e.startContentIndex)}}function xh(e,t){let n=e.unifiedLineStart;for(let i=0;i<t;i++){const r=e.hunkContent[i];n+=r.type==="context"?r.lines:r.deletions+r.additions}return n}function _h({fileDiff:e,actions:t,renderCustomHeader:n,renderHeaderPrefix:i,renderHeaderFilenameSuffix:r,renderHeaderMetadata:s,renderAnnotation:o,renderGutterUtility:a,renderMergeConflictUtility:d,lineAnnotations:c,getHoveredLine:u,getInstance:h,getAnnotationSlotName:f=wt}){const p=n?.(e),m=i?.(e),v=r?.(e),k=s?.(e);return l.jsxs(l.Fragment,{children:[p!=null?l.jsx("div",{slot:ks,children:p}):l.jsxs(l.Fragment,{children:[m!=null&&l.jsx("div",{slot:"header-prefix",children:m}),v!=null&&l.jsx("div",{slot:"header-filename-suffix",children:v}),k!=null&&l.jsx("div",{slot:"header-metadata",children:k})]}),o!=null&&c?.map((b,y)=>l.jsx("div",{slot:f(b),children:o(b)},y)),t!=null&&d!=null&&h!=null&&t.map(b=>{if(b==null)return;const y=Ch(b,e);return l.jsx("div",{slot:y,style:ah,children:d(b,h)},y)}),a!=null&&l.jsx("div",{slot:"gutter-utility-slot",style:oh,children:a(u)})]})}function Ch(e,t){const n=kh(e,t);return n!=null?yh({hunkIndex:n.hunkIndex,lineIndex:n.lineIndex,conflictIndex:e.conflictIndex}):void 0}const hn=new Map,Zi=new Map,wh=new Map,Tr=new Set;function jr(e){for(const t of Array.isArray(e)?e:[e])if(!(t==="text"||t==="ansi")&&!Tr.has(t))return!1;return!0}function xs(e=De){const t=[];return typeof e=="string"?t.push(e):(t.push(e.dark),t.push(e.light)),t}const Nr=new Set;function fn(e){const t=[],n=new Set;for(const h of Lh(e.themes)){const f=cl(h)?h.getThemes():[h];for(const p of f){if(n.has(p.name))throw new Error(`Theme collection already contains theme "${p.name}"`);n.add(p.name),t.push(p)}}const i=Object.freeze([...t]),r=Object.freeze(i.filter(h=>h.colorScheme==="light")),s=Object.freeze(i.filter(h=>h.colorScheme==="dark")),o=new Map(i.map(h=>[h.name,h])),a=Object.freeze(i.map(h=>h.name)),d=Object.freeze(r.map(h=>h.name)),c=Object.freeze(s.map(h=>h.name));function u(h){if(h==null)return i;const{colorScheme:f,collection:p}=h;return p==null?f==="light"?r:f==="dark"?s:i:i.filter(m=>m.collection!==p?!1:f==null||m.colorScheme===f)}return{getTheme(h){return o.get(h)},getThemes(h){return u(h)},getThemeNames(h){return h?.collection==null?h?.colorScheme==="light"?d:h?.colorScheme==="dark"?c:a:u(h).map(f=>f.name)},hasTheme(h){return o.has(h)},orderBy(h){return fn({themes:i.map((f,p)=>({descriptor:f,index:p})).sort((f,p)=>{const m=h(f.descriptor,p.descriptor);return m!==0?m:f.index-p.index}).map(f=>f.descriptor)})},pick(h){const f=[],p=new Set;for(const m of h){if(p.has(m))throw new Error(`Theme collection pick already includes theme "${m}"`);p.add(m);const v=o.get(m);if(v==null)throw new Error(`Theme collection does not contain theme "${m}"`);f.push(v)}return fn({themes:f})},registerInto(h){for(const f of i)h.registerThemeIfAbsent(f.name,f.load)}}}function Lh(e){return Sh(e)?[e]:e}function Sh(e){return cl(e)||Eh(e)}function Eh(e){return typeof e.name=="string"&&typeof e.load=="function"}function cl(e){return typeof e.getThemes=="function"}function ul(e){return e!==null&&typeof e=="object"&&"default"in e?e.default:e}var Rh=class extends Error{constructor(e){super(`Theme "${e}" is already registered`),this.name="DuplicateThemeError"}},Ah=class extends Error{constructor(e){super(`No loader registered for theme "${e}"`),this.name="UnregisteredThemeError"}},Ih=class extends Error{constructor(e){super(`Theme "${e}" has not been resolved`),this.name="UnresolvedThemeError"}};function Th(){const e=new Map,t=new Map,n=new Map;let i=0;function r(b,y){if(e.has(b))throw new Rh(b);e.set(b,y)}function s(b,y){return e.has(b)?!1:(e.set(b,y),!0)}function o(b){return e.has(b)}function a(b){const y=t.get(b);if(y!==void 0)return Promise.resolve(y);const x=n.get(b);if(x!==void 0)return x;const C=e.get(b);if(C===void 0)return Promise.reject(new Ah(b));const _=i,w=C().then(L=>{const I=ul(L);return _===i&&t.set(b,I),n.get(b)===w&&n.delete(b),I}).catch(L=>{throw n.get(b)===w&&n.delete(b),L});return n.set(b,w),w}function d(b){return Promise.all(b.map(y=>a(y)))}function c(b,y){t.set(b,y)}function u(b){for(const[y,x]of b)c(y,x)}function h(b){return t.get(b)}function f(b){const y=[];for(const x of b){const C=t.get(x);if(C===void 0)throw new Ih(x);y.push(C)}return y}function p(b){return t.has(b)}function m(b){for(const y of b)if(!t.has(y))return!1;return!0}function v(b){const y=t.get(b);return y!==void 0?y:a(b)}function k(){i++,t.clear(),n.clear()}return{clearResolvedThemes:k,getResolvedOrResolveTheme:v,getResolvedTheme:h,getResolvedThemes:f,hasRegisteredTheme:o,hasResolvedTheme:p,hasResolvedThemes:m,registerTheme:r,registerThemeIfAbsent:s,resolveTheme:a,resolveThemes:d,seedResolvedTheme:c,seedResolvedThemes:u}}const ut=Th();function zs(e,t){e=Array.isArray(e)?e:[e];for(let n of e){let i;if(typeof n=="string"){if(i=ut.getResolvedTheme(n),i==null)throw new Error(`loadResolvedThemes: ${n} is not resolved, you must resolve it before calling loadResolvedThemes`)}else i=n,n=n.name,ut.getResolvedTheme(n)==null&&ut.seedResolvedTheme(n,i);Nr.has(n)||(Nr.add(n),t.loadThemeSync(i))}}function qs(e,t){e=Array.isArray(e)?e:[e];for(const n of e){if(Tr.has(n.name))continue;let i=hn.get(n.name);i==null&&(i=n,hn.set(n.name,i));const r=i.data.find(s=>s.name===i.name||s.aliases?.includes(i.name)===!0);if(r==null)throw new Error(`attachResolvedLanguages: No returned grammar declares "${i.name}" as its name or an alias.`);t.loadLanguageSync(i.data);try{t.getLanguage(i.name)}catch{throw new Error(`attachResolvedLanguages: "${r.name}" is already loaded without alias "${i.name}". Load the alias first or give the grammar a unique name.`)}Tr.add(i.name)}}function hl(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}var Pr=Object.defineProperty,jh=Object.getOwnPropertyDescriptor,Nh=Object.getOwnPropertyNames,Ph=Object.prototype.hasOwnProperty,Dh=(e,t)=>{let n={};for(var i in e)Pr(n,i,{get:e[i],enumerable:!0});return Pr(n,Symbol.toStringTag,{value:"Module"}),n},Mh=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(var r=Nh(t),s=0,o=r.length,a;s<o;s++)a=r[s],!Ph.call(e,a)&&a!==n&&Pr(e,a,{get:(d=>t[d]).bind(null,a),enumerable:!(i=jh(t,a))||i.enumerable});return e},Oh=(e,t,n)=>(Mh(e,t,"default"),n);const fl=[{id:"abap",name:"ABAP",import:(()=>g(()=>import("./abap-BdImnpbu.js"),[]))},{id:"actionscript-3",name:"ActionScript",aliases:["actionscript","as3"],import:(()=>g(()=>import("./actionscript-3-B3316cI-.js"),[]))},{id:"ada",name:"Ada",import:(()=>g(()=>import("./ada-BIOnG6TC.js"),[]))},{id:"ahk",name:"AutoHotkey",aliases:["ahk1"],import:(()=>g(()=>import("./ahk-BrbAagtO.js"),[]))},{id:"ahk2",name:"AutoHotkey2",import:(()=>g(()=>import("./ahk2-8Zs4aa1G.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>g(()=>import("./angular-html-D_SYSyRt.js").then(e=>e.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>g(()=>import("./angular-ts-DGq0tZX5.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>g(()=>import("./apache-Pmp26Uib.js"),[]))},{id:"apex",name:"Apex",import:(()=>g(()=>import("./apex-DhZFqWV2.js"),[]))},{id:"apl",name:"APL",import:(()=>g(()=>import("./apl-ChzvTHjC.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>g(()=>import("./applescript-Co6uUVPk.js"),[]))},{id:"ara",name:"Ara",import:(()=>g(()=>import("./ara-BRHolxvo.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>g(()=>import("./asciidoc-CSVQ5wI8.js"),[]))},{id:"asm",name:"Assembly",import:(()=>g(()=>import("./asm-D_Q5rh1f.js"),[]))},{id:"astro",name:"Astro",import:(()=>g(()=>import("./astro-DTjqU0_L.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>g(()=>import("./awk-DMzUqQB5.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>g(()=>import("./ballerina-BFfxhgS-.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch","cmd"],import:(()=>g(()=>import("./bat-CickPsom.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>g(()=>import("./beancount-BgSHGh8x.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>g(()=>import("./berry-uYugtg8r.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>g(()=>import("./bibtex-CHM0blh-.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>g(()=>import("./bicep-Bmn6On1c.js"),[]))},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:(()=>g(()=>import("./bird2-Bx8U0n9b.js"),[]))},{id:"blade",name:"Blade",import:(()=>g(()=>import("./blade-k33SngOZ.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>g(()=>import("./bsl-DlhNcFeZ.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>g(()=>import("./c-BIGW1oBm.js"),[]))},{id:"c3",name:"C3",import:(()=>g(()=>import("./c3-Dp5svz6Z.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>g(()=>import("./cadence-Bv_4Rxtq.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>g(()=>import("./cairo-KRGpt6FW.js"),__vite__mapDeps([19,20])))},{id:"chapel",name:"Chapel",aliases:["chpl"],import:(()=>g(()=>import("./chapel-DTp_pixX.js"),__vite__mapDeps([21,22])))},{id:"clarity",name:"Clarity",import:(()=>g(()=>import("./clarity-Dn5IMItf.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>g(()=>import("./clojure-P80f7IUj.js"),[]))},{id:"cmake",name:"CMake",import:(()=>g(()=>import("./cmake-D1j8_8rp.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>g(()=>import("./cobol-BBKr1ja6.js"),__vite__mapDeps([23,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>g(()=>import("./codeowners-Bp6g37R7.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>g(()=>import("./codeql-DsOJ9woJ.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>g(()=>import("./coffee-Ch7k5sss.js"),__vite__mapDeps([24,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>g(()=>import("./common-lisp-Cg-RD9OK.js"),[]))},{id:"coq",name:"Rocq",import:(()=>g(()=>import("./coq-BqXF5kFF.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>g(()=>import("./cpp-BMRokrvK.js"),__vite__mapDeps([25,26,27,22])))},{id:"crystal",name:"Crystal",import:(()=>g(()=>import("./crystal-LUwhHfY5.js"),__vite__mapDeps([28,1,2,3,16,22,29])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>g(()=>import("./csharp-B_TYUkTI.js"),[]))},{id:"css",name:"CSS",import:(()=>g(()=>import("./css-Z72CF80r.js"),[]))},{id:"csv",name:"CSV",import:(()=>g(()=>import("./csv-fuZLfV_i.js"),[]))},{id:"cue",name:"CUE",import:(()=>g(()=>import("./cue-D82EKSYY.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>g(()=>import("./cypher-COkxafJQ.js"),[]))},{id:"d",name:"D",import:(()=>g(()=>import("./d-85-TOEBH.js"),[]))},{id:"dart",name:"Dart",import:(()=>g(()=>import("./dart-CtKP3W-j.js"),[]))},{id:"dax",name:"DAX",import:(()=>g(()=>import("./dax-CEL-wOlO.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>g(()=>import("./desktop-BmXAJ9_W.js"),[]))},{id:"diff",name:"Diff",import:(()=>g(()=>import("./diff-D97Zzqfu.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>g(()=>import("./docker-BcOcwvcX.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>g(()=>import("./dotenv-De0Btta0.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>g(()=>import("./dream-maker-BtqSS_iP.js"),[]))},{id:"edge",name:"Edge",import:(()=>g(()=>import("./edge-CJaD-t2L.js"),__vite__mapDeps([30,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>g(()=>import("./elixir-DkJLSxtU.js"),__vite__mapDeps([31,1,2,3])))},{id:"elm",name:"Elm",import:(()=>g(()=>import("./elm-DbKCFpqz.js"),__vite__mapDeps([32,27,22])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>g(()=>import("./emacs-lisp-DaIrSCgJ.js"),[]))},{id:"erb",name:"ERB",import:(()=>g(()=>import("./erb-CSMaCouu.js"),__vite__mapDeps([33,1,2,3,34,35,7,8,16,36,11,37,13,25,26,27,22,29,38,39])))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>g(()=>import("./erlang-DsQrWhSR.js"),__vite__mapDeps([40,41])))},{id:"fennel",name:"Fennel",import:(()=>g(()=>import("./fennel-BYunw83y.js"),[]))},{id:"fish",name:"Fish",import:(()=>g(()=>import("./fish-BvzEVeQv.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>g(()=>import("./fluent-C4IJs8-o.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>g(()=>import("./fortran-fixed-form-CkoXwp7k.js"),__vite__mapDeps([42,43])))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>g(()=>import("./fortran-free-form-BxgE0vQu.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>g(()=>import("./fsharp-CXgrBDvD.js"),__vite__mapDeps([44,41])))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:(()=>g(()=>import("./gdresource-TyuKm33G.js"),__vite__mapDeps([45,46,47])))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:(()=>g(()=>import("./gdscript-DqcFQ5yU.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>g(()=>import("./gdshader-DkwncUOv.js"),[]))},{id:"genie",name:"Genie",import:(()=>g(()=>import("./genie-D0YGMca9.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>g(()=>import("./gherkin-DyxjwDmM.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>g(()=>import("./git-commit-F4YmCXRG.js"),__vite__mapDeps([48,49])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>g(()=>import("./git-rebase-r7XF79zn.js"),__vite__mapDeps([50,29])))},{id:"gleam",name:"Gleam",import:(()=>g(()=>import("./gleam-BspZqrRM.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>g(()=>import("./glimmer-js-Drrc9bTt.js"),__vite__mapDeps([51,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>g(()=>import("./glimmer-ts-zeybXsvi.js"),__vite__mapDeps([52,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>g(()=>import("./glsl-DplSGwfg.js"),__vite__mapDeps([27,22])))},{id:"gn",name:"GN",import:(()=>g(()=>import("./gn-8iBmfbXw.js"),[]))},{id:"gnuplot",name:"Gnuplot",import:(()=>g(()=>import("./gnuplot-DdkO51Og.js"),[]))},{id:"go",name:"Go",import:(()=>g(()=>import("./go-C27-OAKa.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>g(()=>import("./graphql-ChdNCCLP.js"),__vite__mapDeps([36,2,11,37,13])))},{id:"groovy",name:"Groovy",import:(()=>g(()=>import("./groovy-gcz8RCvz.js"),[]))},{id:"hack",name:"Hack",import:(()=>g(()=>import("./hack-Ck6-gGSS.js"),__vite__mapDeps([53,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>g(()=>import("./haml-GN_XdMnF.js"),__vite__mapDeps([35,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>g(()=>import("./handlebars-DPT5vKgj.js"),__vite__mapDeps([54,1,2,3,39])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>g(()=>import("./haskell-Df6bDoY_.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>g(()=>import("./haxe-CfZj7gIn.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>g(()=>import("./hcl-BWvSN4gD.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>g(()=>import("./hjson-D5-asLiD.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>g(()=>import("./hlsl-D3lLCCz7.js"),[]))},{id:"html",name:"HTML",import:(()=>g(()=>import("./html-BlS82ilI.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>g(()=>import("./html-derivative-DZhk3IEZ.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>g(()=>import("./http-jrhK8wxY.js"),__vite__mapDeps([55,29,9,7,8,36,2,11,37,13])))},{id:"hurl",name:"Hurl",import:(()=>g(()=>import("./hurl-irOxFIW8.js"),__vite__mapDeps([56,36,2,11,37,13,7,8,57])))},{id:"hxml",name:"HXML",import:(()=>g(()=>import("./hxml-2-FPmUDs.js"),__vite__mapDeps([58,59])))},{id:"hy",name:"Hy",import:(()=>g(()=>import("./hy-DFXneXwc.js"),[]))},{id:"imba",name:"Imba",import:(()=>g(()=>import("./imba-DGztddWO.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>g(()=>import("./ini-BEwlwnbL.js"),[]))},{id:"java",name:"Java",import:(()=>g(()=>import("./java-CylS5w8V.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>g(()=>import("./javascript-wDzz0qaB.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>g(()=>import("./jinja-DFQZVq3b.js"),__vite__mapDeps([60,1,2,3])))},{id:"jison",name:"Jison",import:(()=>g(()=>import("./jison-wvAkD_A8.js"),__vite__mapDeps([61,2])))},{id:"json",name:"JSON",import:(()=>g(()=>import("./json-Cp-IABpG.js"),[]))},{id:"json5",name:"JSON5",import:(()=>g(()=>import("./json5-C9tS-k6U.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>g(()=>import("./jsonc-Des-eS-w.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>g(()=>import("./jsonl-DcaNXYhu.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>g(()=>import("./jsonnet-DFQXde-d.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>g(()=>import("./jssm-C2t-YnRu.js"),[]))},{id:"jsx",name:"JSX",import:(()=>g(()=>import("./jsx-g9-lgVsj.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>g(()=>import("./julia-Cu79e8SL.js"),__vite__mapDeps([62,25,26,27,22,20,2,63,16])))},{id:"just",name:"Just",aliases:["justfile"],import:(()=>g(()=>import("./just-CMxyWJJc.js"),__vite__mapDeps([64,29,2,11,65,1,3,7,8,16,20,34,35,36,37,13,25,26,27,22,38,39])))},{id:"kdl",name:"KDL",import:(()=>g(()=>import("./kdl-DV7GczEv.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>g(()=>import("./kotlin-BdnUsdx6.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>g(()=>import("./kusto-wEQ09or8.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>g(()=>import("./latex-DJVikpzR.js"),__vite__mapDeps([66,67,63])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>g(()=>import("./lean-BZvkOJ9d.js"),[]))},{id:"less",name:"Less",import:(()=>g(()=>import("./less-B1dDrJ26.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>g(()=>import("./liquid-B-duXHXw.js"),__vite__mapDeps([68,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>g(()=>import("./llvm-BZoOZj88.js"),[]))},{id:"log",name:"Log file",import:(()=>g(()=>import("./log-2UxHyX5q.js"),[]))},{id:"logo",name:"Logo",import:(()=>g(()=>import("./logo-BtOb2qkB.js"),[]))},{id:"lua",name:"Lua",import:(()=>g(()=>import("./lua-BaeVxFsk.js"),__vite__mapDeps([38,22])))},{id:"luau",name:"Luau",import:(()=>g(()=>import("./luau-nOZpfvQi.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>g(()=>import("./make-CHLpvVh8.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>g(()=>import("./markdown-Cvjx9yec.js"),[]))},{id:"marko",name:"Marko",import:(()=>g(()=>import("./marko-BYgDmDgU.js"),__vite__mapDeps([69,3,70,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>g(()=>import("./matlab-D7o27uSR.js"),[]))},{id:"mdc",name:"MDC",import:(()=>g(()=>import("./mdc-DF4WjDMn.js"),__vite__mapDeps([71,41,39,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>g(()=>import("./mdx-Cmh6b_Ma.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>g(()=>import("./mermaid-CQcHuHx7.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>g(()=>import("./mipsasm-CKIfxQSi.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>g(()=>import("./mojo-DJz3ZmWd.js"),[]))},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:(()=>g(()=>import("./moonbit-Bag4Rp_g.js"),[]))},{id:"move",name:"Move",import:(()=>g(()=>import("./move-el3G9tDJ.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>g(()=>import("./narrat-DRg8JJMk.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>g(()=>import("./nextflow-BCxp2Aob.js"),__vite__mapDeps([72,73])))},{id:"nextflow-groovy",name:"Nextflow Groovy",import:(()=>g(()=>import("./nextflow-groovy-CedDknKX.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>g(()=>import("./nginx-BpAMiNFr.js"),__vite__mapDeps([74,38,22])))},{id:"nim",name:"Nim",import:(()=>g(()=>import("./nim-nV83PyhX.js"),__vite__mapDeps([75,22,1,2,3,7,8,27,41])))},{id:"nix",name:"Nix",import:(()=>g(()=>import("./nix-CwoSXNpI.js"),[]))},{id:"nsis",name:"NSIS",import:(()=>g(()=>import("./nsis-BlV79W_Q.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>g(()=>import("./nushell-BXD5iret.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>g(()=>import("./objective-c-DXmwc3jG.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>g(()=>import("./objective-cpp-CLxacb5B.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>g(()=>import("./ocaml-C0hk2d4L.js"),[]))},{id:"odin",name:"Odin",import:(()=>g(()=>import("./odin-BBf5iR-q.js"),[]))},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:(()=>g(()=>import("./openscad-C4EeE6gA.js"),[]))},{id:"org",name:"Org Markup",import:(()=>g(()=>import("./org-6a7ccXN_.js"),__vite__mapDeps([76,2,11,13,8,20,26,3,38,22,77,78,65,1,7,16,63,34,35,36,37,25,27,29,39,79,9,80,81,24,82,49,83,84,85,70,5,86,87,88,89,90,75,41,31,40,91,92,93,48,50,66,67])))},{id:"pascal",name:"Pascal",import:(()=>g(()=>import("./pascal-D93ZcfNL.js"),[]))},{id:"perl",name:"Perl",import:(()=>g(()=>import("./perl-5klg-GXX.js"),__vite__mapDeps([65,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>g(()=>import("./php-DoruYMF0.js"),__vite__mapDeps([79,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>g(()=>import("./pkl-u5AG7uiY.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>g(()=>import("./plsql-ChMvpjG-.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>g(()=>import("./po-BTJTHyun.js"),[]))},{id:"polar",name:"Polar",import:(()=>g(()=>import("./polar-C0HS_06l.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>g(()=>import("./postcss-CXtECtnM.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>g(()=>import("./powerquery-CEu0bR-o.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1","pwsh"],import:(()=>g(()=>import("./powershell-Dd0kTxKP.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>g(()=>import("./prisma-Vru482bI.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>g(()=>import("./prolog-CbFg5uaA.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>g(()=>import("./proto-C7zT0LnQ.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>g(()=>import("./pug-BtYPkAgq.js"),__vite__mapDeps([94,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>g(()=>import("./puppet-BMWR74SV.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>g(()=>import("./purescript-CklMAg4u.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>g(()=>import("./python-B6aJPvgy.js"),[]))},{id:"qml",name:"QML",import:(()=>g(()=>import("./qml-3beO22l8.js"),__vite__mapDeps([95,2])))},{id:"qmldir",name:"QML Directory",import:(()=>g(()=>import("./qmldir-C8lEn-DE.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>g(()=>import("./qss-IeuSbFQv.js"),[]))},{id:"r",name:"R",import:(()=>g(()=>import("./r-Cf5RLm7j.js"),[]))},{id:"racket",name:"Racket",import:(()=>g(()=>import("./racket-BqYA7rlc.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>g(()=>import("./raku-DXvB9xmW.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>g(()=>import("./razor-CyjPwjZj.js"),__vite__mapDeps([96,1,2,3,89])))},{id:"rbs",name:"RBS",aliases:["ruby-signature"],import:(()=>g(()=>import("./rbs-CpoqiR4B.js"),[]))},{id:"reg",name:"Windows Registry Script",import:(()=>g(()=>import("./reg-C-SQnVFl.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>g(()=>import("./regexp-CDVJQ6XC.js"),[]))},{id:"rel",name:"Rel",import:(()=>g(()=>import("./rel-C3B-1QV4.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>g(()=>import("./riscv-BM1_JUlF.js"),[]))},{id:"ron",name:"RON",import:(()=>g(()=>import("./ron-D8l8udqQ.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>g(()=>import("./rosmsg-BJDFO7_C.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>g(()=>import("./rst-CVOjT0e7.js"),__vite__mapDeps([97,15,1,2,3,25,26,27,22,20,29,39,98,34,35,7,8,16,36,11,37,13,38])))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>g(()=>import("./ruby-C8rp0wew.js"),__vite__mapDeps([34,1,2,3,35,7,8,16,36,11,37,13,25,26,27,22,29,38,39])))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>g(()=>import("./rust-DPvrY3IQ.js"),[]))},{id:"sas",name:"SAS",import:(()=>g(()=>import("./sas-BGn39htG.js"),__vite__mapDeps([99,16])))},{id:"sass",name:"Sass",import:(()=>g(()=>import("./sass-Cj5Yp3dK.js"),[]))},{id:"scala",name:"Scala",import:(()=>g(()=>import("./scala-CqE71os6.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>g(()=>import("./scheme-C98Dy4si.js"),[]))},{id:"scss",name:"SCSS",import:(()=>g(()=>import("./scss-Cw6XMfVs.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>g(()=>import("./sdbl-DVxCFoDh.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>g(()=>import("./shaderlab-Dg9Lc6iA.js"),__vite__mapDeps([100,101])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>g(()=>import("./shellscript-Yzrsuije.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>g(()=>import("./shellsession-BADoaaVG.js"),__vite__mapDeps([102,29])))},{id:"smalltalk",name:"GNU Smalltalk",import:(()=>g(()=>import("./smalltalk-BOQMe2GC.js"),[]))},{id:"smithy",name:"Smithy",import:(()=>g(()=>import("./smithy-cds9vsN8.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>g(()=>import("./solidity-DijEV5ha.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>g(()=>import("./soy-zscZBeg6.js"),__vite__mapDeps([103,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>g(()=>import("./sparql-rVzFXLq3.js"),__vite__mapDeps([104,105])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>g(()=>import("./splunk-BtCnVYZw.js"),[]))},{id:"sql",name:"SQL",import:(()=>g(()=>import("./sql-DkvoVjww.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>g(()=>import("./ssh-config-_ykCGR6B.js"),[]))},{id:"stata",name:"Stata",import:(()=>g(()=>import("./stata-DACIj5bg.js"),__vite__mapDeps([106,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>g(()=>import("./stylus-BEDo0Tqx.js"),[]))},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:(()=>g(()=>import("./surrealql-Cjom0U5J.js"),__vite__mapDeps([107,2])))},{id:"svelte",name:"Svelte",import:(()=>g(()=>import("./svelte-D84K1R2Q.js"),__vite__mapDeps([108,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>g(()=>import("./swift-C2oV4EkX.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>g(()=>import("./system-verilog-0hqHdDBg.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>g(()=>import("./systemd-4A_iFExJ.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>g(()=>import("./talonscript-CkByrt1z.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>g(()=>import("./tasl-QIJgUcNo.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>g(()=>import("./tcl-dwOrl1Do.js"),[]))},{id:"templ",name:"Templ",import:(()=>g(()=>import("./templ-Vpw5XpSW.js"),__vite__mapDeps([109,84,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>g(()=>import("./terraform-BETggiCN.js"),[]))},{id:"tex",name:"TeX",import:(()=>g(()=>import("./tex-D96PA37w.js"),__vite__mapDeps([67,63])))},{id:"toml",name:"TOML",import:(()=>g(()=>import("./toml-vGWfd6FD.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>g(()=>import("./ts-tags-Ls60c9xG.js"),__vite__mapDeps([110,11,3,2,27,22,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>g(()=>import("./tsv-B_m7g4N7.js"),[]))},{id:"tsx",name:"TSX",import:(()=>g(()=>import("./tsx-COt5Ahok.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>g(()=>import("./turtle-BsS91CYL.js"),[]))},{id:"twig",name:"Twig",import:(()=>g(()=>import("./twig-D9-LOF2p.js"),__vite__mapDeps([111,2,3,5,79,1,7,8,16,9,20,34,35,36,11,37,13,25,26,27,22,29,38,39])))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:(()=>g(()=>import("./typescript-BPQ3VLAy.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>g(()=>import("./typespec-ClX509-Q.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>g(()=>import("./typst-DamkJZ1Q.js"),__vite__mapDeps([112,113,114,22,81,24,2,25,26,27,3,89,90,49,83,31,1,40,41,44,48,50,29,84,85,54,39,77,8,115,9,62,20,63,16,66,67,70,116,38,78,82,65,7,86,79,117,94,34,35,36,11,37,13,5,118,93,87,88,111,119,120,80])))},{id:"v",name:"V",import:(()=>g(()=>import("./v-BGw2Nkan.js"),[]))},{id:"vala",name:"Vala",import:(()=>g(()=>import("./vala-CsfeWuGM.js"),[]))},{id:"vb",name:"Visual Basic",import:(()=>g(()=>import("./vb-Cu-pLBUe.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>g(()=>import("./verilog-nZwndyjY.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>g(()=>import("./vhdl-CeAyd5Ju.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>g(()=>import("./viml-CJc9bBzg.js"),[]))},{id:"vue",name:"Vue",import:(()=>g(()=>import("./vue-DSqPwMUe.js"),__vite__mapDeps([121,3,2,11,9,1,15])))},{id:"vue-html",name:"Vue HTML",import:(()=>g(()=>import("./vue-html-AaS7Mt5G.js"),__vite__mapDeps([122,2])))},{id:"vue-vine",name:"Vue Vine",import:(()=>g(()=>import("./vue-vine-C0RcJ6UU.js"),__vite__mapDeps([123,3,5,70,124,12,2])))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>g(()=>import("./vyper-CDx5xZoG.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>g(()=>import("./wasm-MzD3tlZU.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>g(()=>import("./wenyan-BV7otONQ.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>g(()=>import("./wgsl-Dx-B1_4e.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>g(()=>import("./wikitext-BhOHFoWU.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>g(()=>import("./wit-5i3qLPDT.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>g(()=>import("./wolfram-lXgVvXCa.js"),[]))},{id:"xml",name:"XML",import:(()=>g(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>g(()=>import("./xsl-CtQFsRM5.js"),__vite__mapDeps([93,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>g(()=>import("./yaml-Buea-lGh.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>g(()=>import("./zenscript-DVFEvuxE.js"),[]))},{id:"zig",name:"Zig",import:(()=>g(()=>import("./zig-VOosw3JB.js"),[]))}],Fh=Object.fromEntries(fl.map(e=>[e.id,e.import])),Hh=Object.fromEntries(fl.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),Dr={...Fh,...Hh},$h=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>g(()=>import("./andromeeda-C4gqWexZ.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>g(()=>import("./aurora-x-D-2ljcwZ.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>g(()=>import("./ayu-dark-DYE7WIF3.js"),[]))},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:(()=>g(()=>import("./ayu-light-BA47KaF1.js"),[]))},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:(()=>g(()=>import("./ayu-mirage-32ctXXKs.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>g(()=>import("./catppuccin-frappe-CZL1YF0i.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>g(()=>import("./catppuccin-latte-DH-8KZSZ.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>g(()=>import("./catppuccin-macchiato-B7yYVSCf.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>g(()=>import("./catppuccin-mocha-Ct7hS0mc.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>g(()=>import("./dark-plus-C3mMm8J8.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>g(()=>import("./dracula-BzJJZx-M.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>g(()=>import("./dracula-soft-BXkSAIEj.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>g(()=>import("./everforest-dark-BgDCqdQA.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>g(()=>import("./everforest-light-C8M2exoo.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>g(()=>import("./github-dark-DHJKELXO.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>g(()=>import("./github-dark-default-Cuk6v7N8.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>g(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>g(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>g(()=>import("./github-light-DAi9KRSo.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>g(()=>import("./github-light-default-D7oLnXFd.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>g(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>g(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>g(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>g(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>g(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>g(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>g(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]))},{id:"horizon",displayName:"Horizon",type:"dark",import:(()=>g(()=>import("./horizon-BUw7H-hv.js"),[]))},{id:"horizon-bright",displayName:"Horizon Bright",type:"light",import:(()=>g(()=>import("./horizon-bright-CUuTKBJd.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>g(()=>import("./houston-DnULxvSX.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>g(()=>import("./kanagawa-dragon-BuwD2xS4.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>g(()=>import("./kanagawa-lotus-C3DzagqV.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>g(()=>import("./kanagawa-wave-DFGoQZhC.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>g(()=>import("./laserwave-DUszq2jm.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>g(()=>import("./light-plus-B7mTdjB0.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>g(()=>import("./material-theme-D5KoaKCx.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>g(()=>import("./material-theme-darker-BfHTSMKl.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>g(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>g(()=>import("./material-theme-ocean-CyktbL80.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>g(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>g(()=>import("./min-dark-CafNBF8u.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>g(()=>import("./min-light-CTRr51gU.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>g(()=>import("./monokai-CR4piiQ-.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>g(()=>import("./night-owl-C39BiMTA.js"),[]))},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:(()=>g(()=>import("./night-owl-light-CMTm3GFP.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>g(()=>import("./nord-Ddv68eIx.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>g(()=>import("./one-dark-pro-CxGP3dtY.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>g(()=>import("./one-light-C3Wv6jpd.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>g(()=>import("./plastic-3e1v2bzS.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>g(()=>import("./poimandres-CS3Unz2-.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>g(()=>import("./red-DMbB5_pp.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>g(()=>import("./rose-pine-5qJOZa0Y.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>g(()=>import("./rose-pine-dawn-zx0QlTCp.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>g(()=>import("./rose-pine-moon-C9pEdX9L.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>g(()=>import("./slack-dark-BthQWCQV.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>g(()=>import("./slack-ochin-DqwNpetd.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>g(()=>import("./snazzy-light-Bw305WKR.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>g(()=>import("./solarized-dark-UcubFVte.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>g(()=>import("./solarized-light-DCG28T6R.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>g(()=>import("./synthwave-84-CbfX1IO0.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>g(()=>import("./tokyo-night-hegEt444.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>g(()=>import("./vesper-DRje8inN.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>g(()=>import("./vitesse-black-Bkuqu6BP.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>g(()=>import("./vitesse-dark-D0r3Knsf.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>g(()=>import("./vitesse-light-CVO1_9PV.js"),[]))}],Vh=Object.fromEntries($h.map(e=>[e.id,e.import]));var _s=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Bh(){return 2147483648}function Wh(){return typeof performance<"u"?performance.now():Date.now()}const Uh=(e,t)=>e+(t-e%t)%t;async function Gh(e){let t,n;const i={};function r(p){n=p,i.HEAPU8=new Uint8Array(p),i.HEAPU32=new Uint32Array(p)}function s(p,m,v){i.HEAPU8.copyWithin(p,m,m+v)}function o(p){try{return t.grow(p-n.byteLength+65535>>>16),r(t.buffer),1}catch{}}function a(p){const m=i.HEAPU8.length;p=p>>>0;const v=Bh();if(p>v)return!1;for(let k=1;k<=4;k*=2){let b=m*(1+.2/k);b=Math.min(b,p+100663296);const y=Math.min(v,Uh(Math.max(p,b),65536));if(o(y))return!0}return!1}const d=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(p,m,v=1024){const k=m+v;let b=m;for(;p[b]&&!(b>=k);)++b;if(b-m>16&&p.buffer&&d)return d.decode(p.subarray(m,b));let y="";for(;m<b;){let x=p[m++];if(!(x&128)){y+=String.fromCharCode(x);continue}const C=p[m++]&63;if((x&224)===192){y+=String.fromCharCode((x&31)<<6|C);continue}const _=p[m++]&63;if((x&240)===224?x=(x&15)<<12|C<<6|_:x=(x&7)<<18|C<<12|_<<6|p[m++]&63,x<65536)y+=String.fromCharCode(x);else{const w=x-65536;y+=String.fromCharCode(55296|w>>10,56320|w&1023)}}return y}function u(p,m){return p?c(i.HEAPU8,p,m):""}const h={emscripten_get_now:Wh,emscripten_memcpy_big:s,emscripten_resize_heap:a,fd_write:()=>0};async function f(){const m=await e({env:h,wasi_snapshot_preview1:h});t=m.memory,r(t.buffer),Object.assign(i,m),i.UTF8ToString=u}return await f(),i}var zh=Object.defineProperty,qh=(e,t,n)=>t in e?zh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ne=(e,t,n)=>qh(e,typeof t!="symbol"?t+"":t,n);let se=null;function Kh(e){throw new _s(e.UTF8ToString(e.getLastOnigError()))}class Ni{constructor(t){ne(this,"utf16Length"),ne(this,"utf8Length"),ne(this,"utf16Value"),ne(this,"utf8Value"),ne(this,"utf16OffsetToUtf8"),ne(this,"utf8OffsetToUtf16");const n=t.length,i=Ni._utf8ByteLength(t),r=i!==n,s=r?new Uint32Array(n+1):null;r&&(s[n]=i);const o=r?new Uint32Array(i+1):null;r&&(o[i]=n);const a=new Uint8Array(i);let d=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let h=u,f=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(h=(u-55296<<10)+65536|p-56320,f=!0)}r&&(s[c]=d,f&&(s[c+1]=d),h<=127?o[d+0]=c:h<=2047?(o[d+0]=c,o[d+1]=c):h<=65535?(o[d+0]=c,o[d+1]=c,o[d+2]=c):(o[d+0]=c,o[d+1]=c,o[d+2]=c,o[d+3]=c)),h<=127?a[d++]=h:h<=2047?(a[d++]=192|(h&1984)>>>6,a[d++]=128|(h&63)>>>0):h<=65535?(a[d++]=224|(h&61440)>>>12,a[d++]=128|(h&4032)>>>6,a[d++]=128|(h&63)>>>0):(a[d++]=240|(h&1835008)>>>18,a[d++]=128|(h&258048)>>>12,a[d++]=128|(h&4032)>>>6,a[d++]=128|(h&63)>>>0),f&&c++}this.utf16Length=n,this.utf8Length=i,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=o}static _utf8ByteLength(t){let n=0;for(let i=0,r=t.length;i<r;i++){const s=t.charCodeAt(i);let o=s,a=!1;if(s>=55296&&s<=56319&&i+1<r){const d=t.charCodeAt(i+1);d>=56320&&d<=57343&&(o=(s-55296<<10)+65536|d-56320,a=!0)}o<=127?n+=1:o<=2047?n+=2:o<=65535?n+=3:n+=4,a&&i++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Pi=class Te{constructor(t){if(ne(this,"id",++Te.LAST_ID),ne(this,"_onigBinding"),ne(this,"content"),ne(this,"utf16Length"),ne(this,"utf8Length"),ne(this,"utf16OffsetToUtf8"),ne(this,"utf8OffsetToUtf16"),ne(this,"ptr"),!se)throw new _s("Must invoke loadWasm first.");this._onigBinding=se,this.content=t;const n=new Ni(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Te._sharedPtrInUse?(Te._sharedPtr||(Te._sharedPtr=se.omalloc(1e4)),Te._sharedPtrInUse=!0,se.HEAPU8.set(n.utf8Value,Te._sharedPtr),this.ptr=Te._sharedPtr):this.ptr=n.createString(se)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Te._sharedPtr?Te._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};ne(Pi,"LAST_ID",0);ne(Pi,"_sharedPtr",0);ne(Pi,"_sharedPtrInUse",!1);let pl=Pi;class Zh{constructor(t){if(ne(this,"_onigBinding"),ne(this,"_ptr"),!se)throw new _s("Must invoke loadWasm first.");const n=[],i=[];for(let a=0,d=t.length;a<d;a++){const c=new Ni(t[a]);n[a]=c.createString(se),i[a]=c.utf8Length}const r=se.omalloc(4*t.length);se.HEAPU32.set(n,r/4);const s=se.omalloc(4*t.length);se.HEAPU32.set(i,s/4);const o=se.createOnigScanner(r,s,t.length);for(let a=0,d=t.length;a<d;a++)se.ofree(n[a]);se.ofree(s),se.ofree(r),o===0&&Kh(se),this._onigBinding=se,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,i){let r=0;if(typeof i=="number"&&(r=i),typeof t=="string"){t=new pl(t);const s=this._findNextMatchSync(t,n,!1,r);return t.dispose(),s}return this._findNextMatchSync(t,n,!1,r)}_findNextMatchSync(t,n,i,r){const s=this._onigBinding,o=s.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),r);if(o===0)return null;const a=s.HEAPU32;let d=o/4;const c=a[d++],u=a[d++],h=[];for(let f=0;f<u;f++){const p=t.convertUtf8OffsetToUtf16(a[d++]),m=t.convertUtf8OffsetToUtf16(a[d++]);h[f]={start:p,end:m,length:m-p}}return{index:c,captureIndices:h}}}function Xh(e){return typeof e.instantiator=="function"}function Jh(e){return typeof e.default=="function"}function Qh(e){return typeof e.data<"u"}function Yh(e){return typeof Response<"u"&&e instanceof Response}function ef(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let jn;function ml(e){if(jn)return jn;async function t(){se=await Gh(async n=>{let i=e;return i=await i,typeof i=="function"&&(i=await i(n)),typeof i=="function"&&(i=await i(n)),Xh(i)?i=await i.instantiator(n):Jh(i)?i=await i.default(n):(Qh(i)&&(i=i.data),Yh(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await tf(i)(n):i=await nf(i)(n):ef(i)?i=await Xi(i)(n):i instanceof WebAssembly.Module?i=await Xi(i)(n):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await Xi(i.default)(n))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return jn=t(),jn}function Xi(e){return t=>WebAssembly.instantiate(e,t)}function tf(e){return t=>WebAssembly.instantiateStreaming(e,t)}function nf(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}let gl;function rf(e){gl=e}function sf(){return gl}async function bl(e){return e&&await ml(e),{createScanner(t){return new Zh(t.map(n=>typeof n=="string"?n:n.source))},createString(t){return new pl(t)}}}const of=Object.freeze(Object.defineProperty({__proto__:null,createOnigurumaEngine:bl,getDefaultWasmLoader:sf,loadWasm:ml,setDefaultWasmLoader:rf},Symbol.toStringTag,{value:"Module"}));var vl=Dh({});Oh(vl,of);var X=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function af(e){return Cs(e)}function Cs(e){return Array.isArray(e)?lf(e):e instanceof RegExp?e:typeof e=="object"?df(e):e}function lf(e){let t=[];for(let n=0,i=e.length;n<i;n++)t[n]=Cs(e[n]);return t}function df(e){let t={};for(let n in e)t[n]=Cs(e[n]);return t}function yl(e,...t){return t.forEach(n=>{for(let i in n)e[i]=n[i]}),e}function kl(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?kl(e.substring(0,e.length-1)):e.substr(~t+1)}var Ji=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Nn=class{static hasCaptures(e){return e===null?!1:(Ji.lastIndex=0,Ji.test(e))}static replaceCaptures(e,t,n){return e.replace(Ji,(i,r,s,o)=>{let a=n[parseInt(r||s,10)];if(a){let d=t.substring(a.start,a.end);for(;d[0]===".";)d=d.substring(1);switch(o){case"downcase":return d.toLowerCase();case"upcase":return d.toUpperCase();default:return d}}else return i})}};function xl(e,t){return e<t?-1:e>t?1:0}function _l(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,i=t.length;if(n===i){for(let r=0;r<n;r++){let s=xl(e[r],t[r]);if(s!==0)return s}return 0}return n-i}function Ks(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Cl(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var wl=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},ci=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(hf(e),t)}static createFromParsedTheme(e,t){return pf(e,t)}_cachedMatchRoot=new wl(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,i=this._cachedMatchRoot.get(t).find(r=>cf(e.parent,r.parentScopes));return i?new Ll(i.fontStyle,i.foreground,i.background):null}},Qi=class ni{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const i of n)t=new ni(t,i);return t}static from(...t){let n=null;for(let i=0;i<t.length;i++)n=new ni(n,t[i]);return n}push(t){return new ni(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let i=this;for(;i&&i!==t;)n.push(i.scopeName),i=i.parent;return i===t?n.reverse():void 0}};function cf(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let i=t[n],r=!1;if(i===">"){if(n===t.length-1)return!1;i=t[++n],r=!0}for(;e&&!uf(e.scopeName,i);){if(r)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function uf(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var Ll=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function hf(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],i=0;for(let r=0,s=t.length;r<s;r++){let o=t[r];if(!o.settings)continue;let a;if(typeof o.scope=="string"){let h=o.scope;h=h.replace(/^[,]+/,""),h=h.replace(/[,]+$/,""),a=h.split(",")}else Array.isArray(o.scope)?a=o.scope:a=[""];let d=-1;if(typeof o.settings.fontStyle=="string"){d=0;let h=o.settings.fontStyle.split(" ");for(let f=0,p=h.length;f<p;f++)switch(h[f]){case"italic":d=d|1;break;case"bold":d=d|2;break;case"underline":d=d|4;break;case"strikethrough":d=d|8;break}}let c=null;typeof o.settings.foreground=="string"&&Ks(o.settings.foreground)&&(c=o.settings.foreground);let u=null;typeof o.settings.background=="string"&&Ks(o.settings.background)&&(u=o.settings.background);for(let h=0,f=a.length;h<f;h++){let m=a[h].trim().split(" "),v=m[m.length-1],k=null;m.length>1&&(k=m.slice(0,m.length-1),k.reverse()),n[i++]=new ff(v,k,r,d,c,u)}}return n}var ff=class{constructor(e,t,n,i,r,s){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=i,this.foreground=r,this.background=s}},ue=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(ue||{});function pf(e,t){e.sort((d,c)=>{let u=xl(d.scope,c.scope);return u!==0||(u=_l(d.parentScopes,c.parentScopes),u!==0)?u:d.index-c.index});let n=0,i="#000000",r="#ffffff";for(;e.length>=1&&e[0].scope==="";){let d=e.shift();d.fontStyle!==-1&&(n=d.fontStyle),d.foreground!==null&&(i=d.foreground),d.background!==null&&(r=d.background)}let s=new mf(t),o=new Ll(n,s.getId(i),s.getId(r)),a=new bf(new Mr(0,null,-1,0,0),[]);for(let d=0,c=e.length;d<c;d++){let u=e[d];a.insert(0,u.scope,u.parentScopes,u.fontStyle,s.getId(u.foreground),s.getId(u.background))}return new ci(s,o,a)}var mf=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},gf=Object.freeze([]),Mr=class Sl{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,i,r,s){this.scopeDepth=t,this.parentScopes=n||gf,this.fontStyle=i,this.foreground=r,this.background=s}clone(){return new Sl(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let i=0,r=t.length;i<r;i++)n[i]=t[i].clone();return n}acceptOverwrite(t,n,i,r){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),i!==0&&(this.foreground=i),r!==0&&(this.background=r)}},bf=class Or{constructor(t,n=[],i={}){this._mainRule=t,this._children=i,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let i=0,r=0;for(;t.parentScopes[i]===">"&&i++,n.parentScopes[r]===">"&&r++,!(i>=t.parentScopes.length||r>=n.parentScopes.length);){const s=n.parentScopes[r].length-t.parentScopes[i].length;if(s!==0)return s;i++,r++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let i=t.indexOf("."),r,s;if(i===-1?(r=t,s=""):(r=t.substring(0,i),s=t.substring(i+1)),this._children.hasOwnProperty(r))return this._children[r].match(s)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(Or._cmpBySpecificity),n}insert(t,n,i,r,s,o){if(n===""){this._doInsertHere(t,i,r,s,o);return}let a=n.indexOf("."),d,c;a===-1?(d=n,c=""):(d=n.substring(0,a),c=n.substring(a+1));let u;this._children.hasOwnProperty(d)?u=this._children[d]:(u=new Or(this._mainRule.clone(),Mr.cloneArr(this._rulesWithParentScopes)),this._children[d]=u),u.insert(t+1,c,i,r,s,o)}_doInsertHere(t,n,i,r,s){if(n===null){this._mainRule.acceptOverwrite(t,i,r,s);return}for(let o=0,a=this._rulesWithParentScopes.length;o<a;o++){let d=this._rulesWithParentScopes[o];if(_l(d.parentScopes,n)===0){d.acceptOverwrite(t,i,r,s);return}}i===-1&&(i=this._mainRule.fontStyle),r===0&&(r=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Mr(t,n,i,r,s))}},Et=class ve{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=ve.getLanguageId(t),i=ve.getTokenType(t),r=ve.getFontStyle(t),s=ve.getForeground(t),o=ve.getBackground(t);console.log({languageId:n,tokenType:i,fontStyle:r,foreground:s,background:o})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,i,r,s,o,a){let d=ve.getLanguageId(t),c=ve.getTokenType(t),u=ve.containsBalancedBrackets(t)?1:0,h=ve.getFontStyle(t),f=ve.getForeground(t),p=ve.getBackground(t);return n!==0&&(d=n),i!==8&&(c=i),r!==null&&(u=r?1:0),s!==-1&&(h=s),o!==0&&(f=o),a!==0&&(p=a),(d<<0|c<<8|u<<10|h<<11|f<<15|p<<24)>>>0}};function ui(e,t){const n=[],i=vf(e);let r=i.next();for(;r!==null;){let d=0;if(r.length===2&&r.charAt(1)===":"){switch(r.charAt(0)){case"R":d=1;break;case"L":d=-1;break;default:console.log(`Unknown priority ${r} in scope selector`)}r=i.next()}let c=o();if(n.push({matcher:c,priority:d}),r!==",")break;r=i.next()}return n;function s(){if(r==="-"){r=i.next();const d=s();return c=>!!d&&!d(c)}if(r==="("){r=i.next();const d=a();return r===")"&&(r=i.next()),d}if(Zs(r)){const d=[];do d.push(r),r=i.next();while(Zs(r));return c=>t(d,c)}return null}function o(){const d=[];let c=s();for(;c;)d.push(c),c=s();return u=>d.every(h=>h(u))}function a(){const d=[];let c=o();for(;c&&(d.push(c),r==="|"||r===",");){do r=i.next();while(r==="|"||r===",");c=o()}return u=>d.some(h=>h(u))}}function Zs(e){return!!e&&!!e.match(/[\w\.:]+/)}function vf(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const i=n[0];return n=t.exec(e),i}}}function El(e){typeof e.dispose=="function"&&e.dispose()}var pn=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},yf=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},kf=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},xf=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new pn(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new kf;for(const n of e)_f(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof pn){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function _f(e,t,n,i){const r=n.lookup(e.scopeName);if(!r){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=n.lookup(t);e instanceof pn?ii({baseGrammar:s,selfGrammar:r},i):Fr(e.ruleName,{baseGrammar:s,selfGrammar:r,repository:r.repository},i);const o=n.injections(e.scopeName);if(o)for(const a of o)i.add(new pn(a))}function Fr(e,t,n){if(t.repository&&t.repository[e]){const i=t.repository[e];hi([i],t,n)}}function ii(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&hi(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&hi(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function hi(e,t,n){for(const i of e){if(n.visitedRule.has(i))continue;n.visitedRule.add(i);const r=i.repository?yl({},t.repository,i.repository):t.repository;Array.isArray(i.patterns)&&hi(i.patterns,{...t,repository:r},n);const s=i.include;if(!s)continue;const o=Rl(s);switch(o.kind){case 0:ii({...t,selfGrammar:t.baseGrammar},n);break;case 1:ii(t,n);break;case 2:Fr(o.ruleName,{...t,repository:r},n);break;case 3:case 4:const a=o.scopeName===t.selfGrammar.scopeName?t.selfGrammar:o.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const d={baseGrammar:t.baseGrammar,selfGrammar:a,repository:r};o.kind===4?Fr(o.ruleName,d,n):ii(d,n)}else o.kind===4?n.add(new yf(o.scopeName,o.ruleName)):n.add(new pn(o.scopeName));break}}}var Cf=class{kind=0},wf=class{kind=1},Lf=class{constructor(e){this.ruleName=e}kind=2},Sf=class{constructor(e){this.scopeName=e}kind=3},Ef=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function Rl(e){if(e==="$base")return new Cf;if(e==="$self")return new wf;const t=e.indexOf("#");if(t===-1)return new Sf(e);if(t===0)return new Lf(e.substring(1));{const n=e.substring(0,t),i=e.substring(t+1);return new Ef(n,i)}}var Rf=/\\(\d+)/,Xs=/\\(\d+)/g,Af=-1,Al=-2;var Ln=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,i){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Nn.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Nn.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${kl(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Nn.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Nn.replaceCaptures(this._contentName,e,t)}},If=class extends Ln{retokenizeCapturedWithRuleId;constructor(e,t,n,i,r){super(e,t,n,i),this.retokenizeCapturedWithRuleId=r}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,i){throw new Error("Not supported!")}},Tf=class extends Ln{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,i,r){super(e,t,n,null),this._match=new mn(i,this.id),this.captures=r,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e).compileAG(e,n,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new gn,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Js=class extends Ln{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,i,r){super(e,t,n,i),this.patterns=r.patterns,this.hasMissingPatterns=r.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e).compileAG(e,n,i)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new gn,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Hr=class extends Ln{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,i,r,s,o,a,d,c){super(e,t,n,i),this._begin=new mn(r,this.id),this.beginCaptures=s,this._end=new mn(o||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=d||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,i)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new gn;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},fi=class extends Ln{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,i,r,s,o,a,d){super(e,t,n,i),this._begin=new mn(r,this.id),this.beginCaptures=s,this.whileCaptures=a,this._while=new mn(o,Al),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=d.patterns,this.hasMissingPatterns=d.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,i){return this._getCachedCompiledPatterns(e).compileAG(e,n,i)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new gn;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,i){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,i)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new gn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},Il=class ce{static createCaptureRule(t,n,i,r,s){return t.registerRule(o=>new If(n,o,i,r,s))}static getCompiledRuleId(t,n,i){return t.id||n.registerRule(r=>{if(t.id=r,t.match)return new Tf(t.$vscodeTextmateLocation,t.id,t.name,t.match,ce._compileCaptures(t.captures,n,i));if(typeof t.begin>"u"){t.repository&&(i=yl({},i,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new Js(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,ce._compilePatterns(s,n,i))}return t.while?new fi(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ce._compileCaptures(t.beginCaptures||t.captures,n,i),t.while,ce._compileCaptures(t.whileCaptures||t.captures,n,i),ce._compilePatterns(t.patterns,n,i)):new Hr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ce._compileCaptures(t.beginCaptures||t.captures,n,i),t.end,ce._compileCaptures(t.endCaptures||t.captures,n,i),t.applyEndPatternLast,ce._compilePatterns(t.patterns,n,i))}),t.id}static _compileCaptures(t,n,i){let r=[];if(t){let s=0;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);a>s&&(s=a)}for(let o=0;o<=s;o++)r[o]=null;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);let d=0;t[o].patterns&&(d=ce.getCompiledRuleId(t[o],n,i)),r[a]=ce.createCaptureRule(n,t[o].$vscodeTextmateLocation,t[o].name,t[o].contentName,d)}}return r}static _compilePatterns(t,n,i){let r=[];if(t)for(let s=0,o=t.length;s<o;s++){const a=t[s];let d=-1;if(a.include){const c=Rl(a.include);switch(c.kind){case 0:case 1:d=ce.getCompiledRuleId(i[a.include],n,i);break;case 2:let u=i[c.ruleName];u&&(d=ce.getCompiledRuleId(u,n,i));break;case 3:case 4:const h=c.scopeName,f=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(h,i);if(p)if(f){let m=p.repository[f];m&&(d=ce.getCompiledRuleId(m,n,p.repository))}else d=ce.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else d=ce.getCompiledRuleId(a,n,i);if(d!==-1){const c=n.getRule(d);let u=!1;if((c instanceof Js||c instanceof Hr||c instanceof fi)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;r.push(d)}}return{patterns:r,hasMissingPatterns:(t?t.length:0)!==r.length}}},mn=class Tl{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const i=t.length;let r=0,s=[],o=!1;for(let a=0;a<i;a++)if(t.charAt(a)==="\\"&&a+1<i){const c=t.charAt(a+1);c==="z"?(s.push(t.substring(r,a)),s.push("$(?!\\n)(?<!\\n)"),r=a+2):(c==="A"||c==="G")&&(o=!0),a++}this.hasAnchor=o,r===0?this.source=t:(s.push(t.substring(r,i)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=Rf.test(this.source):this.hasBackReferences=!1}clone(){return new Tl(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let i=n.map(r=>t.substring(r.start,r.end));return Xs.lastIndex=0,this.source.replace(Xs,(r,s)=>Cl(i[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],i=[],r=[],s,o,a,d;for(s=0,o=this.source.length;s<o;s++)a=this.source.charAt(s),t[s]=a,n[s]=a,i[s]=a,r[s]=a,a==="\\"&&s+1<o&&(d=this.source.charAt(s+1),d==="A"?(t[s+1]="",n[s+1]="",i[s+1]="A",r[s+1]="A"):d==="G"?(t[s+1]="",n[s+1]="G",i[s+1]="",r[s+1]="G"):(t[s+1]=d,n[s+1]=d,i[s+1]=d,r[s+1]=d),s++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:i.join(""),A1_G1:r.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},gn=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new Qs(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let i=this._items.map(r=>r.resolveAnchors(t,n));return new Qs(e,i,this._items.map(r=>r.ruleId))}},Qs=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
|
|
3
|
+
`)}findNextMatchSync(e,t,n){const i=this.scanner.findNextMatchSync(e,t,n);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}},Yi=class{constructor(e,t){this.languageId=e,this.tokenType=t}},jf=class $r{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new Yi(t,8),this._embeddedLanguagesMatcher=new Nf(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?$r._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Yi(0,0);_getBasicScopeAttributes=new wl(t=>{const n=this._scopeToLanguage(t),i=this._toStandardTokenType(t);return new Yi(n,i)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match($r.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},Nf=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,i])=>Cl(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},Ys=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function jl(e,t,n,i,r,s,o,a){const d=t.content.length;let c=!1,u=-1;if(o){const p=Pf(e,t,n,i,r,s);r=p.stack,i=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const h=Date.now();for(;!c;){if(a!==0&&Date.now()-h>a)return new Ys(r,!0);f()}return new Ys(r,!1);function f(){const p=Df(e,t,n,i,r,u);if(!p){s.produce(r,d),c=!0;return}const m=p.captureIndices,v=p.matchedRuleId,k=m&&m.length>0?m[0].end>i:!1;if(v===Af){const b=r.getRule(e);s.produce(r,m[0].start),r=r.withContentNameScopesList(r.nameScopesList),rn(e,t,n,r,s,b.endCaptures,m),s.produce(r,m[0].end);const y=r;if(r=r.parent,u=y.getAnchorPos(),!k&&y.getEnterPos()===i){r=y,s.produce(r,d),c=!0;return}}else{const b=e.getRule(v);s.produce(r,m[0].start);const y=r,x=b.getName(t.content,m),C=r.contentNameScopesList.pushAttributed(x,e);if(r=r.push(v,i,u,m[0].end===d,null,C,C),b instanceof Hr){const _=b;rn(e,t,n,r,s,_.beginCaptures,m),s.produce(r,m[0].end),u=m[0].end;const w=_.getContentName(t.content,m),L=C.pushAttributed(w,e);if(r=r.withContentNameScopesList(L),_.endHasBackReferences&&(r=r.withEndRule(_.getEndWithResolvedBackReferences(t.content,m))),!k&&y.hasSameRuleAs(r)){r=r.pop(),s.produce(r,d),c=!0;return}}else if(b instanceof fi){const _=b;rn(e,t,n,r,s,_.beginCaptures,m),s.produce(r,m[0].end),u=m[0].end;const w=_.getContentName(t.content,m),L=C.pushAttributed(w,e);if(r=r.withContentNameScopesList(L),_.whileHasBackReferences&&(r=r.withEndRule(_.getWhileWithResolvedBackReferences(t.content,m))),!k&&y.hasSameRuleAs(r)){r=r.pop(),s.produce(r,d),c=!0;return}}else if(rn(e,t,n,r,s,b.captures,m),s.produce(r,m[0].end),r=r.pop(),!k){r=r.safePop(),s.produce(r,d),c=!0;return}}m[0].end>i&&(i=m[0].end,n=!1)}}function Pf(e,t,n,i,r,s){let o=r.beginRuleCapturedEOL?0:-1;const a=[];for(let d=r;d;d=d.pop()){const c=d.getRule(e);c instanceof fi&&a.push({rule:c,stack:d})}for(let d=a.pop();d;d=a.pop()){const{ruleScanner:c,findOptions:u}=Ff(d.rule,e,d.stack.endRule,n,i===o),h=c.findNextMatchSync(t,i,u);if(h){if(h.ruleId!==Al){r=d.stack.pop();break}h.captureIndices&&h.captureIndices.length&&(s.produce(d.stack,h.captureIndices[0].start),rn(e,t,n,d.stack,s,d.rule.whileCaptures,h.captureIndices),s.produce(d.stack,h.captureIndices[0].end),o=h.captureIndices[0].end,h.captureIndices[0].end>i&&(i=h.captureIndices[0].end,n=!1))}else{r=d.stack.pop();break}}return{stack:r,linePos:i,anchorPosition:o,isFirstLine:n}}function Df(e,t,n,i,r,s){const o=Mf(e,t,n,i,r,s),a=e.getInjections();if(a.length===0)return o;const d=Of(a,e,t,n,i,r,s);if(!d)return o;if(!o)return d;const c=o.captureIndices[0].start,u=d.captureIndices[0].start;return u<c||d.priorityMatch&&u===c?d:o}function Mf(e,t,n,i,r,s){const o=r.getRule(e),{ruleScanner:a,findOptions:d}=Nl(o,e,r.endRule,n,i===s),c=a.findNextMatchSync(t,i,d);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Of(e,t,n,i,r,s,o){let a=Number.MAX_VALUE,d=null,c,u=0;const h=s.contentNameScopesList.getScopeNames();for(let f=0,p=e.length;f<p;f++){const m=e[f];if(!m.matcher(h))continue;const v=t.getRule(m.ruleId),{ruleScanner:k,findOptions:b}=Nl(v,t,null,i,r===o),y=k.findNextMatchSync(n,r,b);if(!y)continue;const x=y.captureIndices[0].start;if(!(x>=a)&&(a=x,d=y.captureIndices,c=y.ruleId,u=m.priority,a===r))break}return d?{priorityMatch:u===-1,captureIndices:d,matchedRuleId:c}:null}function Nl(e,t,n,i,r){return{ruleScanner:e.compileAG(t,n,i,r),findOptions:0}}function Ff(e,t,n,i,r){return{ruleScanner:e.compileWhileAG(t,n,i,r),findOptions:0}}function rn(e,t,n,i,r,s,o){if(s.length===0)return;const a=t.content,d=Math.min(s.length,o.length),c=[],u=o[0].end;for(let h=0;h<d;h++){const f=s[h];if(f===null)continue;const p=o[h];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.start;)r.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?r.produceFromScopes(c[c.length-1].scopes,p.start):r.produce(i,p.start),f.retokenizeCapturedWithRuleId){const v=f.getName(a,o),k=i.contentNameScopesList.pushAttributed(v,e),b=f.getContentName(a,o),y=k.pushAttributed(b,e),x=i.push(f.retokenizeCapturedWithRuleId,p.start,-1,!1,null,k,y),C=e.createOnigString(a.substring(0,p.end));jl(e,C,n&&p.start===0,p.start,x,r,!1,0),El(C);continue}const m=f.getName(a,o);if(m!==null){const k=(c.length>0?c[c.length-1].scopes:i.contentNameScopesList).pushAttributed(m,e);c.push(new Hf(k,p.end))}}for(;c.length>0;)r.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var Hf=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function $f(e,t,n,i,r,s,o,a){return new Bf(e,t,n,i,r,s,o,a)}function eo(e,t,n,i,r){const s=ui(t,pi),o=Il.getCompiledRuleId(n,i,r.repository);for(const a of s)e.push({debugSelector:t,matcher:a.matcher,ruleId:o,grammar:r,priority:a.priority})}function pi(e,t){if(t.length<e.length)return!1;let n=0;return e.every(i=>{for(let r=n;r<t.length;r++)if(Vf(t[r],i))return n=r+1,!0;return!1})}function Vf(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}var Bf=class{constructor(e,t,n,i,r,s,o,a){if(this._rootScopeName=e,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new jf(n,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=to(t,null),this._injections=null,this._tokenTypeMatchers=[],r)for(const d of Object.keys(r)){const c=ui(d,pi);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:r[d]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:r=>r===this._rootScopeName?this._grammar:this.getExternalGrammar(r),injections:r=>this._grammarRepository.injections(r)},t=[],n=this._rootScopeName,i=e.lookup(n);if(i){const r=i.injections;if(r)for(let o in r)eo(t,o,r[o],this,i);const s=this._grammarRepository.injections(n);s&&s.forEach(o=>{const a=this.getExternalGrammar(o);if(a){const d=a.injectionSelector;d&&eo(t,d,a,this,a)}})}return t.sort((r,s)=>r.priority-s.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=to(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const i=this._tokenize(e,t,!1,n);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(e,t,n=0){const i=this._tokenize(e,t,!0,n);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(e,t,n,i){this._rootId===-1&&(this._rootId=Il.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let r;if(!t||t===Vr.NULL){r=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),h=Et.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),f=this.getRule(this._rootId).getName(null,null);let p;f?p=dn.createRootAndLookUpScopeName(f,h,this):p=dn.createRoot("unknown",h),t=new Vr(null,this._rootId,-1,-1,!1,null,p,p)}else r=!1,t.reset();e=e+`
|
|
4
|
+
`;const s=this.createOnigString(e),o=s.content.length,a=new Uf(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),d=jl(this,s,r,0,t,a,!0,i);return El(s),{lineLength:o,lineTokens:a,ruleStack:d.stack,stoppedEarly:d.stoppedEarly}}};function to(e,t){return e=af(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var dn=class je{constructor(t,n,i){this.parent=t,this.scopePath=n,this.tokenAttributes=i}static fromExtension(t,n){let i=t,r=t?.scopePath??null;for(const s of n)r=Qi.push(r,s.scopeNames),i=new je(i,r,s.encodedTokenAttributes);return i}static createRoot(t,n){return new je(null,new Qi(null,t),n)}static createRootAndLookUpScopeName(t,n,i){const r=i.getMetadataForScope(t),s=new Qi(null,t),o=i.themeProvider.themeMatch(s),a=je.mergeAttributes(n,r,o);return new je(null,s,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return je.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,i){let r=-1,s=0,o=0;return i!==null&&(r=i.fontStyle,s=i.foregroundId,o=i.backgroundId),Et.set(t,n.languageId,n.tokenType,null,r,s,o)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return je._pushAttributed(this,t,n);const i=t.split(/ /g);let r=this;for(const s of i)r=je._pushAttributed(r,s,n);return r}static _pushAttributed(t,n,i){const r=i.getMetadataForScope(n),s=t.scopePath.push(n),o=i.themeProvider.themeMatch(s),a=je.mergeAttributes(t.tokenAttributes,r,o);return new je(t,s,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let i=this;for(;i&&i!==t;)n.push({encodedTokenAttributes:i.tokenAttributes,scopeNames:i.scopePath.getExtensionIfDefined(i.parent?.scopePath??null)}),i=i.parent;return i===t?n.reverse():void 0}},Vr=class kt{constructor(t,n,i,r,s,o,a,d){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=o,this.nameScopesList=a,this.contentNameScopesList=d,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=i,this._anchorPos=r}_stackElementBrand=void 0;static NULL=new kt(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:kt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?dn.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){kt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,i,r,s,o,a){return new kt(this,t,n,i,r,s,o,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new kt(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const i=dn.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new kt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,i,dn.fromExtension(i,n.contentNameScopesList))}},Wf=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):ui(n,pi).map(i=>i.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>ui(n,pi).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},Uf=class{constructor(e,t,n,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let i=e?.tokenAttributes??0,r=!1;if(this.balancedBracketSelectors?.matchesAlways&&(r=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const s=e?.getScopeNames()??[];for(const o of this._tokenTypeOverrides)o.matcher(s)&&(i=Et.set(i,0,o.type,null,-1,0,0));this.balancedBracketSelectors&&(r=this.balancedBracketSelectors.match(s))}if(r&&(i=Et.set(i,0,8,r,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=t;return}const n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let i=0,r=this._binaryTokens.length;i<r;i++)n[i]=this._binaryTokens[i];return n}},Gf=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,i,r){if(!this._grammars.has(e)){let s=this._rawGrammars.get(e);if(!s)return null;this._grammars.set(e,$f(e,s,t,n,i,r,this,this._onigLib))}return this._grammars.get(e)}},zf=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new Gf(ci.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(ci.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,i){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:i})}loadGrammarWithConfiguration(t,n,i){return this._loadGrammar(t,n,i.embeddedLanguages,i.tokenTypes,new Wf(i.balancedBracketSelectors||[],i.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,i,r,s){const o=new xf(this._syncRegistry,t);for(;o.Q.length>0;)o.Q.map(a=>this._loadSingleGrammar(a.scopeName)),o.processQueue();return this._grammarForScopeName(t,n,i,r,s)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const i=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,i)}}addGrammar(t,n=[],i=0,r=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,i,r)}_grammarForScopeName(t,n=0,i=null,r=null,s=null){return this._syncRegistry.grammarForScopeName(t,n,i,r,s)}},Br=Vr.NULL;function mi(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},i=typeof e=="string"?e:e.name;for(const[r,s]of Object.entries(t?.colorReplacements||{}))typeof s=="string"?n[r]=s:r===i&&Object.assign(n,s);return n}function ht(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function qf(e){return Array.isArray(e)?e:[e]}async function Pl(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function Di(e){return!e||["plaintext","txt","text","plain"].includes(e)}function Dl(e){return e==="ansi"||Di(e)}function Mi(e){return e==="none"}function Ml(e){return Mi(e)}const Kf=/(\r?\n)/g;function Oi(e,t=!1){if(e.length===0)return[["",0]];const n=e.split(Kf);let i=0;const r=[];for(let s=0;s<n.length;s+=2){const o=t?n[s]+(n[s+1]||""):n[s];r.push([o,i]),i+=n[s].length,i+=n[s+1]?.length||0}return r}const no={light:"#333333",dark:"#bbbbbb"},io={light:"#fffffe",dark:"#1e1e1e"},ro="__shiki_resolved";function Fi(e){if(e?.[ro])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:i}=t;if(!n||!i){const a=t.settings?t.settings.find(d=>!d.name&&!d.scope):void 0;a?.settings?.foreground&&(i=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!i&&t?.colors?.["editor.foreground"]&&(i=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),i||(i=t.type==="light"?no.light:no.dark),n||(n=t.type==="light"?io.light:io.dark),t.fg=i,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let r=0;const s=new Map;function o(a){if(s.has(a))return s.get(a);r+=1;const d=`#${r.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${d}`]?o(a):(s.set(a,d),d)}t.settings=t.settings.map(a=>{const d=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),c=a.settings?.background&&!a.settings.background.startsWith("#");if(!d&&!c)return a;const u={...a,settings:{...a.settings}};if(d){const h=o(a.settings.foreground);t.colorReplacements[h]=a.settings.foreground,u.settings.foreground=h}if(c){const h=o(a.settings.background);t.colorReplacements[h]=a.settings.background,u.settings.background=h}return u});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const d=o(t.colors[a]);t.colorReplacements[d]=t.colors[a],t.colors[a]=d}return Object.defineProperty(t,ro,{enumerable:!1,writable:!1,value:!0}),t}async function Ol(e){return[...new Set((await Promise.all(e.filter(t=>!Dl(t)).map(async t=>await Pl(t).then(n=>Array.isArray(n)?n:[n])))).flat())]}async function Fl(e){return(await Promise.all(e.map(async t=>Ml(t)?null:Fi(await Pl(t))))).filter(t=>!!t)}function Hl(e,t){if(!t)return e;if(t[e]){const n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new X(`Circular alias \`${[...n].join(" -> ")} -> ${e}\``);n.add(e)}}return e}var Zf=class extends zf{_resolver;_themes;_langs;_alias;_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(e,t,n,i={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=i,this._themes.map(r=>this.loadTheme(r)),this.loadLanguages(this._langs)}getTheme(e){return typeof e=="string"?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){const t=Fi(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=ci.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=Hl(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;const t=new Set([...this._langMap.values()].filter(r=>r.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);const n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const i=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(i.name=e.name,this._resolvedGrammars.set(e.name,i),e.aliases&&e.aliases.forEach(r=>{this._alias[r]=e.name}),this._loadedLanguagesCache=null,t.size)for(const r of t)this._syncRegistry?._grammars?.get(r.scopeName)?.dispose(),this._resolvedGrammars.delete(r.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(r.scopeName),this._syncRegistry?._grammars?.delete(r.scopeName),this.loadLanguage(this._langMap.get(r.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const i of e)this.resolveEmbeddedLanguages(i);const t=[...this._langGraph.entries()],n=t.filter(([i,r])=>!r);if(n.length){const i=t.filter(([r,s])=>s?(s.embeddedLanguages||s.embeddedLangs)?.some(o=>n.map(([a])=>a).includes(o)):!1).filter(r=>!n.includes(r));throw new X(`Missing languages ${n.map(([r])=>`\`${r}\``).join(", ")}, required by ${i.map(([r])=>`\`${r}\``).join(", ")}`)}for(const[i,r]of t)this._resolver.addLanguage(r);for(const[i,r]of t)this.loadLanguage(r)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);const t=e.embeddedLanguages??e.embeddedLangs;if(t)for(const n of t)this._langGraph.set(n,this._langMap.get(n))}},Xf=class{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:n=>e.createScanner(n),createOnigString:n=>e.createString(n)},t.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).includes(e.scopeName)||this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let n=[];for(let i=1;i<=t.length;i++){const r=t.slice(0,i).join(".");n=[...n,...this._injections.get(r)||[]]}return n}};let Jt=0;function Jf(e){Jt+=1,e.warnings!==!1&&Jt>=10&&Jt%10===0&&console.warn(`[Shiki] ${Jt} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new X("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),i=(e.themes||[]).flat(1).map(Fi),r=new Zf(new Xf(e.engine,n),i,n,e.langAlias);let s;function o(y){return Hl(y,e.langAlias)}function a(y){k();const x=r.getGrammar(typeof y=="string"?y:y.name);if(!x)throw new X(`Language \`${y}\` not found, you may need to load it first`);return x}function d(y){if(y==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};k();const x=r.getTheme(y);if(!x)throw new X(`Theme \`${y}\` not found, you may need to load it first`);return x}function c(y){k();const x=d(y);return s!==y&&(r.setTheme(x),s=y),{theme:x,colorMap:r.getColorMap()}}function u(){return k(),r.getLoadedThemes()}function h(){return k(),r.getLoadedLanguages()}function f(...y){k(),r.loadLanguages(y.flat(1))}async function p(...y){return f(await Ol(y))}function m(...y){k();for(const x of y.flat(1))r.loadTheme(x)}async function v(...y){return k(),m(await Fl(y))}function k(){if(t)throw new X("Shiki instance has been disposed")}function b(){t||(t=!0,r.dispose(),Jt-=1)}return{setTheme:c,getTheme:d,getLanguage:a,getLoadedThemes:u,getLoadedLanguages:h,resolveLangAlias:o,loadLanguage:p,loadLanguageSync:f,loadTheme:v,loadThemeSync:m,dispose:b,[Symbol.dispose]:b}}async function Qf(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,i]=await Promise.all([Fl(e.themes||[]),Ol(e.langs||[]),e.engine]);return Jf({...e,themes:t,langs:n,engine:i})}const $l=new WeakMap;function Hi(e,t){$l.set(e,t)}function bn(e){return $l.get(e)}var $i=class Vl{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new Vl(Object.fromEntries(qf(n).map(i=>[i,Br])),t)}constructor(...t){if(t.length===2){const[n,i]=t;this.lang=i,this._stacks=n}else{const[n,i,r]=t;this.lang=i,this._stacks={[r]:n}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return Yf(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function Yf(e){const t=[],n=new Set;function i(r){if(n.has(r))return;n.add(r);const s=r?.nameScopesList?.scopeName;s&&t.push(s),r.parent&&i(r.parent)}return i(e),t}function ep(e,t){if(!(e instanceof $i))throw new X("Invalid grammar state");return e.getInternalStack(t)}const tp=/,/,np=/ /;function Bl(e,t,n={}){const{theme:i=e.getLoadedThemes()[0]}=n;if(Di(e.resolveLangAlias(n.lang||"text"))||Mi(i))return Oi(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:r,colorMap:s}=e.setTheme(i),o=e.getLanguage(n.lang||"text");if(n.grammarState){if(n.grammarState.lang!==o.name)throw new X(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(r.name))throw new X(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${r.name}"`)}return rp(t,o,r,s,n)}function ip(...e){if(e.length===2)return bn(e[1]);const[t,n,i={}]=e,{lang:r="text",theme:s=t.getLoadedThemes()[0]}=i;if(Di(r)||Mi(s))throw new X("Plain language does not have grammar state");if(r==="ansi")throw new X("ANSI language does not have grammar state");const{theme:o,colorMap:a}=t.setTheme(s),d=t.getLanguage(r);return new $i(ws(n,d,o,a,i).stateStack,d.name,o.name)}function rp(e,t,n,i,r){const s=ws(e,t,n,i,r),o=new $i(s.stateStack,t.name,n.name);return Hi(s.tokens,o),s.tokens}function ws(e,t,n,i,r){const s=mi(n,r),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:a=500,includeExplanation:d=!1}=r,c=Oi(e);let u=r.grammarState?ep(r.grammarState,n.name)??Br:r.grammarContextCode!=null?ws(r.grammarContextCode,t,n,i,{...r,grammarState:void 0,grammarContextCode:void 0}).stateStack:Br,h=[];const f=[];for(let p=0,m=c.length;p<m;p++){const[v,k]=c[p];if(v===""){h=[],f.push([]);continue}if(o>0&&v.length>=o){h=[],f.push([{content:v,offset:k,color:"",fontStyle:0}]);continue}let b,y,x;d&&d!=="tokenType"&&(b=t.tokenizeLine(v,u,a),y=b.tokens,x=0);const C=t.tokenizeLine2(v,u,a),_=C.tokens.length/2;for(let w=0;w<_;w++){const L=C.tokens[2*w],I=w+1<_?C.tokens[2*w+2]:v.length;if(L===I)continue;const E=C.tokens[2*w+1],T=ht(i[Et.getForeground(E)],s),O=Et.getFontStyle(E),R={content:v.substring(L,I),offset:k+L,color:T,fontStyle:O};if(d==="tokenType")R.type=Et.getTokenType(E);else if(d){const j=[];if(d!=="scopeName")for(const G of n.settings){let D;switch(typeof G.scope){case"string":D=G.scope.split(tp).map(B=>B.trim());break;case"object":D=G.scope;break;default:continue}j.push({settings:G,selectors:D.map(B=>B.split(np))})}R.explanation=[];let F=0;for(;L+F<I;){const G=y[x],D=v.substring(G.startIndex,G.endIndex);F+=D.length,R.explanation.push({content:D,scopes:d==="scopeName"?sp(G.scopes):op(j,G.scopes)}),x+=1}}h.push(R)}f.push(h),h=[],u=C.ruleStack}return{tokens:f,stateStack:u}}function sp(e){return e.map(t=>({scopeName:t}))}function op(e,t){const n=[];for(let i=0,r=t.length;i<r;i++){const s=t[i];n[i]={scopeName:s,themeMatches:lp(e,s,t.slice(0,i))}}return n}function so(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function ap(e,t,n){if(!so(e.at(-1),t))return!1;let i=e.length-2,r=n.length-1;for(;i>=0&&r>=0;)so(e[i],n[r])&&(i-=1),r-=1;return i===-1}function lp(e,t,n){const i=[];for(const{selectors:r,settings:s}of e)for(const o of r)if(ap(o,t,n)){i.push(s);break}return i}function Wl(e,t,n,i=Bl){const r=Object.entries(n.themes).filter(c=>c[1]).map(c=>({color:c[0],theme:c[1]})),s=r.map(c=>{const u=i(e,t,{...n,theme:c.theme});return{tokens:u,state:bn(u),theme:typeof c.theme=="string"?c.theme:c.theme.name}}),o=dp(...s.map(c=>c.tokens)),a=o[0].map((c,u)=>c.map((h,f)=>{const p={content:h.content,variants:{},offset:h.offset};return"includeExplanation"in n&&n.includeExplanation&&(p.explanation=h.explanation),o.forEach((m,v)=>{const{content:k,explanation:b,offset:y,...x}=m[u][f];p.variants[r[v].color]=x}),p})),d=s[0].state?new $i(Object.fromEntries(s.map(c=>[c.theme,c.state?.getInternalStack(c.theme)])),s[0].state.lang):void 0;return d&&Hi(a,d),a}function dp(...e){const t=e.map(()=>[]),n=e.length;for(let i=0;i<e[0].length;i++){const r=e.map(d=>d[i]),s=t.map(()=>[]);t.forEach((d,c)=>d.push(s[c]));const o=r.map(()=>0),a=r.map(d=>d[0]);for(;a.every(d=>d);){const d=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const u=a[c];u.content.length===d?(s[c].push(u),o[c]+=1,a[c]=r[c][o[c]]):(s[c].push({...u,content:u.content.slice(0,d)}),a[c]={...u,content:u.content.slice(d),offset:u.offset+d})}}}return t}const cp=/["&'<>`]/g,up=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hp=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,fp=/[|\\{}()[\]^$+*?.]/g,oo=new WeakMap;function pp(e,t){if(e=e.replace(t.subset?mp(t.subset):cp,i),t.subset||t.escapeOnly)return e;return e.replace(up,n).replace(hp,i);function n(r,s,o){return t.format((r.charCodeAt(0)-55296)*1024+r.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),t)}function i(r,s,o){return t.format(r.charCodeAt(0),o.charCodeAt(s+1),t)}}function mp(e){let t=oo.get(e);return t||(t=gp(e),oo.set(e,t)),t}function gp(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(fp,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const bp=/[\dA-Fa-f]/;function vp(e,t,n){const i="&#x"+e.toString(16).toUpperCase();return n&&t&&!bp.test(String.fromCharCode(t))?i:i+";"}const yp=/\d/;function kp(e,t,n){const i="&#"+String(e);return n&&t&&!yp.test(String.fromCharCode(t))?i:i+";"}const er={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},xp=["cent","copy","divide","gt","lt","not","para","times"],Ul={}.hasOwnProperty,Wr={};let Pn;for(Pn in er)Ul.call(er,Pn)&&(Wr[er[Pn]]=Pn);const _p=/[^\dA-Za-z]/;function Cp(e,t,n,i){const r=String.fromCharCode(e);if(Ul.call(Wr,r)){const s=Wr[r],o="&"+s;return n&&Xc.includes(s)&&!xp.includes(s)&&(!i||t&&t!==61&&_p.test(String.fromCharCode(t)))?o:o+";"}return""}function wp(e,t,n){let i=vp(e,t,n.omitOptionalSemicolons),r;if((n.useNamedReferences||n.useShortestReferences)&&(r=Cp(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const s=kp(e,t,n.omitOptionalSemicolons);s.length<i.length&&(i=s)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function Wt(e,t){return pp(e,Object.assign({format:wp},t))}const Lp=/^>|^->|<!--|-->|--!>|<!-$/g,Sp=[">"],Ep=["<",">"];function Rp(e,t,n,i){return i.settings.bogusComments?"<?"+Wt(e.value,Object.assign({},i.settings.characterReferences,{subset:Sp}))+">":"<!--"+e.value.replace(Lp,r)+"-->";function r(s){return Wt(s,Object.assign({},i.settings.characterReferences,{subset:Ep}))}}function Ap(e,t,n,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}const re=zl(1),Gl=zl(-1),Ip=[];function zl(e){return t;function t(n,i,r){const s=n?n.children:Ip;let o=(i||0)+e,a=s[o];if(!r)for(;a&&bs(a);)o+=e,a=s[o];return a}}const Tp={}.hasOwnProperty;function ql(e){return t;function t(n,i,r){return Tp.call(e,n.tagName)&&e[n.tagName](n,i,r)}}const Ls=ql({body:Np,caption:tr,colgroup:tr,dd:Op,dt:Mp,head:tr,html:jp,li:Dp,optgroup:Fp,option:Hp,p:Pp,rp:ao,rt:ao,tbody:Vp,td:lo,tfoot:Bp,th:lo,thead:$p,tr:Wp});function tr(e,t,n){const i=re(n,t,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&bs(i.value.charAt(0)))}function jp(e,t,n){const i=re(n,t);return!i||i.type!=="comment"}function Np(e,t,n){const i=re(n,t);return!i||i.type!=="comment"}function Pp(e,t,n){const i=re(n,t);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function Dp(e,t,n){const i=re(n,t);return!i||i.type==="element"&&i.tagName==="li"}function Mp(e,t,n){const i=re(n,t);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function Op(e,t,n){const i=re(n,t);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function ao(e,t,n){const i=re(n,t);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function Fp(e,t,n){const i=re(n,t);return!i||i.type==="element"&&i.tagName==="optgroup"}function Hp(e,t,n){const i=re(n,t);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function $p(e,t,n){const i=re(n,t);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function Vp(e,t,n){const i=re(n,t);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function Bp(e,t,n){return!re(n,t)}function Wp(e,t,n){const i=re(n,t);return!i||i.type==="element"&&i.tagName==="tr"}function lo(e,t,n){const i=re(n,t);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const Up=ql({body:qp,colgroup:Kp,head:zp,html:Gp,tbody:Zp});function Gp(e){const t=re(e,-1);return!t||t.type!=="comment"}function zp(e){const t=new Set;for(const i of e.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(t.has(i.tagName))return!1;t.add(i.tagName)}const n=e.children[0];return!n||n.type==="element"}function qp(e){const t=re(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&bs(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Kp(e,t,n){const i=Gl(n,t),r=re(e,-1,!0);return n&&i&&i.type==="element"&&i.tagName==="colgroup"&&Ls(i,n.children.indexOf(i),n)?!1:!!(r&&r.type==="element"&&r.tagName==="col")}function Zp(e,t,n){const i=Gl(n,t),r=re(e,-1);return n&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&Ls(i,n.children.indexOf(i),n)?!1:!!(r&&r.type==="element"&&r.tagName==="tr")}const Dn={name:[[`
|
|
5
|
+
\f\r &/=>`.split(""),`
|
|
6
|
+
\f\r "&'/=>\``.split("")],[`\0
|
|
7
|
+
\f\r "&'/<=>`.split(""),`\0
|
|
8
|
+
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
9
|
+
\f\r &>`.split(""),`\0
|
|
10
|
+
\f\r "&'<=>\``.split("")],[`\0
|
|
11
|
+
\f\r "&'<=>\``.split(""),`\0
|
|
12
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Xp(e,t,n,i){const r=i.schema,s=r.space==="svg"?!1:i.settings.omitOptionalTags;let o=r.space==="svg"?i.settings.closeEmptyElements:i.settings.voids.includes(e.tagName.toLowerCase());const a=[];let d;r.space==="html"&&e.tagName==="svg"&&(i.schema=Ja);const c=Jp(i,e.properties),u=i.all(r.space==="html"&&e.tagName==="template"?e.content:e);return i.schema=r,u&&(o=!1),(c||!s||!Up(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),o&&(r.space==="svg"||i.settings.closeSelfClosing)&&(d=c.charAt(c.length-1),(!i.settings.tightSelfClosing||d==="/"||d&&d!=='"'&&d!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!o&&(!s||!Ls(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function Jp(e,t){const n=[];let i=-1,r;if(t){for(r in t)if(t[r]!==null&&t[r]!==void 0){const s=Qp(e,r,t[r]);s&&n.push(s)}}for(;++i<n.length;){const s=e.settings.tightAttributes?n[i].charAt(n[i].length-1):void 0;i!==n.length-1&&s!=='"'&&s!=="'"&&(n[i]+=" ")}return n.join("")}function Qp(e,t,n){const i=Jc(e.schema,t),r=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let o=e.quote,a;if(i.overloadedBoolean&&(n===i.attribute||n==="")?n=!0:(i.boolean||i.overloadedBoolean)&&(typeof n!="string"||n===i.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const d=Wt(i.attribute,Object.assign({},e.settings.characterReferences,{subset:Dn.name[r][s]}));return n===!0||(n=Array.isArray(n)?(i.commaSeparated?Qc:Yc)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?d:(e.settings.preferUnquoted&&(a=Wt(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Dn.unquoted[r][s]}))),a!==n&&(e.settings.quoteSmart&&Bs(n,o)>Bs(n,e.alternative)&&(o=e.alternative),a=o+Wt(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?Dn.single:Dn.double)[r][s],attribute:!0}))+o),d+(a&&"="+a))}const Yp=["<","&"];function Kl(e,t,n,i){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Wt(e.value,Object.assign({},i.settings.characterReferences,{subset:Yp}))}function em(e,t,n,i){return i.settings.allowDangerousHtml?e.value:Kl(e,t,n,i)}function tm(e,t,n,i){return i.all(e)}const nm=ru("type",{invalid:im,unknown:rm,handlers:{comment:Rp,doctype:Ap,element:Xp,raw:em,root:tm,text:Kl}});function im(e){throw new Error("Expected node, not `"+e+"`")}function rm(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const sm={},om={},am=[];function Je(e,t){const n=t||sm,i=n.quote||'"',r=i==='"'?"'":'"';if(i!=='"'&&i!=="'")throw new Error("Invalid quote `"+i+"`, expected `'` or `\"`");return{one:lm,all:dm,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||tu,characterReferences:n.characterReferences||om,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Ja:eu,quote:i,alternative:r}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function lm(e,t,n){return nm(e,t,n,this)}function dm(e){const t=[],n=e&&e.children||am;let i=-1;for(;++i<n.length;)t[i]=this.one(n[i],i,e);return t.join("")}const co=/\s+/g;function Zl(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(co)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(co);for(const i of n)i&&!e.properties.class.includes(i)&&e.properties.class.push(i);return e}function cm(e){const t=Oi(e,!0).map(([r])=>r);function n(r){if(r===e.length)return{line:t.length-1,character:t.at(-1).length};let s=r,o=0;for(const a of t){if(s<a.length)break;s-=a.length,o++}return{line:o,character:s}}function i(r,s){let o=0;for(let a=0;a<r;a++)o+=t[a].length;return o+=s,o}return{lines:t,indexToPos:n,posToIndex:i}}const um=["color","background-color"];function hm(e,t){let n=0;const i=[];for(const r of t)r>n&&i.push({...e,content:e.content.slice(n,r),offset:e.offset+n}),n=r;return n<e.content.length&&i.push({...e,content:e.content.slice(n),offset:e.offset+n}),i}function fm(e,t){let n=0,i=e.length;for(;n<i;){const r=n+(i-n>>1);e[r]<=t?n=r+1:i=r}return n}function pm(e,t){const n=[...t instanceof Set?t:new Set(t)].sort((i,r)=>i-r);return n.length?e.map(i=>i.flatMap(r=>{const s=r.offset+r.content.length,o=fm(n,r.offset);let a=o;for(;a<n.length&&n[a]<s;)a++;if(o===a)return r;const d=n.slice(o,a);for(let c=0;c<d.length;c++)d[c]-=r.offset;return hm(r,d)})):e}function mm(e,t,n,i,r="css-vars"){const s={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(u=>gi(e.variants[u])),a=new Set(o.flatMap(u=>Object.keys(u))),d={},c=(u,h)=>{const f=h==="color"?"":h==="background-color"?"-bg":`-${h}`;return n+t[u]+(h==="color"?"":f)};return o.forEach((u,h)=>{for(const f of a){const p=u[f]||"inherit";if(h===0&&i&&um.includes(f))if(i==="light-dark()"&&o.length>1){const m=t.findIndex(y=>y==="light"),v=t.findIndex(y=>y==="dark");if(m===-1||v===-1)throw new X('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const k=o[m][f]||"inherit",b=o[v][f]||"inherit";d[f]=`light-dark(${k}, ${b})`,r==="css-vars"&&(d[c(h,f)]=p)}else d[f]=p;else r==="css-vars"&&(d[c(h,f)]=p)}}),s.htmlStyle=d,s}function gi(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&ue.Italic&&(t["font-style"]="italic"),e.fontStyle&ue.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&ue.Underline&&n.push("underline"),e.fontStyle&ue.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function Ur(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function gm(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(o){if(typeof o=="number"){if(o<0||o>n.source.length)throw new X(`Invalid decoration offset: ${o}. Code length: ${n.source.length}`);return{...i.indexToPos(o),offset:o}}else{const a=i.lines[o.line];if(a===void 0)throw new X(`Invalid decoration position ${JSON.stringify(o)}. Lines length: ${i.lines.length}`);let d=o.character;if(d<0&&(d=a.length+d),d<0||d>a.length)throw new X(`Invalid decoration position ${JSON.stringify(o)}. Line ${o.line} length: ${a.length}`);return{...o,character:d,offset:i.posToIndex(o.line,d)}}};const i=cm(n.source),s=(n.options.decorations||[]).map(o=>({...o,start:r(o.start),end:r(o.end)}));bm(s),e.set(n.meta,{decorations:s,converter:i,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(this.options.decorations?.length)return pm(n,t(this).decorations.flatMap(i=>[i.start.offset,i.end.offset]))},code(n){if(!this.options.decorations?.length)return;const i=t(this),r=[...n.children].filter(u=>u.type==="element"&&u.tagName==="span");if(r.length!==i.converter.lines.length)throw new X(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${i.converter.lines.length}). Failed to apply decorations.`);function s(u,h,f,p){const m=r[u];let v="",k=-1,b=-1;if(h===0&&(k=0),f===0&&(b=0),f===Number.POSITIVE_INFINITY&&(b=m.children.length),k===-1||b===-1)for(let x=0;x<m.children.length;x++)v+=Xl(m.children[x]),k===-1&&v.length===h&&(k=x+1),b===-1&&v.length===f&&(b=x+1);if(k===-1)throw new X(`Failed to find start index for decoration ${JSON.stringify(p.start)}`);if(b===-1)throw new X(`Failed to find end index for decoration ${JSON.stringify(p.end)}`);const y=m.children.slice(k,b);if(!p.alwaysWrap&&y.length===m.children.length)a(m,p,"line");else if(!p.alwaysWrap&&y.length===1&&y[0].type==="element")a(y[0],p,"token");else{const x={type:"element",tagName:"span",properties:{},children:y};a(x,p,"wrapper"),m.children.splice(k,y.length,x)}}function o(u,h){r[u]=a(r[u],h,"line")}function a(u,h,f){const p=h.properties||{},m=h.transform||(v=>v);return u.tagName=h.tagName||"span",u.properties={...u.properties,...p,class:u.properties.class},h.properties?.class&&Zl(u,h.properties.class),u=m(u,f)||u,u}const d=[],c=i.decorations.sort((u,h)=>h.start.offset-u.start.offset||u.end.offset-h.end.offset);for(const u of c){const{start:h,end:f}=u;if(h.line===f.line)s(h.line,h.character,f.character,u);else if(h.line<f.line){s(h.line,h.character,Number.POSITIVE_INFINITY,u);for(let p=h.line+1;p<f.line;p++)d.unshift(()=>o(p,u));s(f.line,0,f.character,u)}}d.forEach(u=>u())}}}function bm(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new X(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let i=t+1;i<e.length;i++){const r=e[i],s=n.start.offset<=r.start.offset&&r.start.offset<n.end.offset,o=n.start.offset<r.end.offset&&r.end.offset<=n.end.offset,a=r.start.offset<=n.start.offset&&n.start.offset<r.end.offset,d=r.start.offset<n.end.offset&&n.end.offset<=r.end.offset;if(s||o||a||d){if(s&&o||a&&d||a&&n.start.offset===n.end.offset||o&&r.start.offset===r.end.offset)continue;throw new X(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(r.start)} intersect.`)}}}}function Xl(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(Xl).join(""):""}const vm=[gm()];function bi(e){const t=ym(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...vm]}function ym(e){const t=[],n=[],i=[];for(const r of e)switch(r.enforce){case"pre":t.push(r);break;case"post":n.push(r);break;default:i.push(r)}return{pre:t,post:n,normal:i}}var Lt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],nr={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function km(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const i=e.indexOf("m",n);if(i!==-1)return{sequence:e.substring(n+2,i).split(";"),startPosition:n,position:i+1}}return{position:e.length}}function uo(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(i=>Number.parseInt(i));return n.length!==3||n.some(i=>Number.isNaN(i))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function xm(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const i=Number.parseInt(n);if(!Number.isNaN(i))if(i===0)t.push({type:"resetAll"});else if(i<=9)nr[i]&&t.push({type:"setDecoration",value:nr[i]});else if(i<=29){const r=nr[i-20];r&&(t.push({type:"resetDecoration",value:r}),r==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(i<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Lt[i-30]}});else if(i===38){const r=uo(e);r&&t.push({type:"setForegroundColor",value:r})}else if(i===39)t.push({type:"resetForegroundColor"});else if(i<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Lt[i-40]}});else if(i===48){const r=uo(e);r&&t.push({type:"setBackgroundColor",value:r})}else i===49?t.push({type:"resetBackgroundColor"}):i===53?t.push({type:"setDecoration",value:"overline"}):i===55?t.push({type:"resetDecoration",value:"overline"}):i>=90&&i<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Lt[i-90+8]}}):i>=100&&i<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Lt[i-100+8]}})}return t}function _m(){let e=null,t=null,n=new Set;return{parse(i){const r=[];let s=0;do{const o=km(i,s),a=o.sequence?i.substring(s,o.startPosition):i.substring(s);if(a.length>0&&r.push({value:a,foreground:e,background:t,decorations:new Set(n)}),o.sequence){const d=xm(o.sequence);for(const c of d)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of d)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}s=o.position}while(s<i.length);return r}}}var Cm={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function wm(e=Cm){function t(a){return e[a]}function n(a){return`#${a.map(d=>Math.max(0,Math.min(d,255)).toString(16).padStart(2,"0")).join("")}`}let i;function r(){if(i)return i;i=[];for(let c=0;c<Lt.length;c++)i.push(t(Lt[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let h=0;h<6;h++)i.push(n([a[c],a[u],a[h]]));let d=8;for(let c=0;c<24;c++,d+=10)i.push(n([d,d,d]));return i}function s(a){return r()[a]}function o(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return s(a.index)}}return{value:o}}const Lm=/#([0-9a-f]{3,8})/i,Sm=/var\((--[\w-]+-ansi-[\w-]+)\)/,Em={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function Rm(e,t,n){const i=mi(e,n),r=Oi(t),s=wm(Object.fromEntries(Lt.map(a=>{const d=`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`;return[a,e.colors?.[d]||Em[a]]}))),o=_m();return r.map(a=>o.parse(a[0]).map(d=>{let c,u;d.decorations.has("reverse")?(c=d.background?s.value(d.background):e.bg,u=d.foreground?s.value(d.foreground):e.fg):(c=d.foreground?s.value(d.foreground):e.fg,u=d.background?s.value(d.background):void 0),c=ht(c,i),u=ht(u,i),d.decorations.has("dim")&&(c=Am(c));let h=ue.None;return d.decorations.has("bold")&&(h|=ue.Bold),d.decorations.has("italic")&&(h|=ue.Italic),d.decorations.has("underline")&&(h|=ue.Underline),d.decorations.has("strikethrough")&&(h|=ue.Strikethrough),{content:d.value,offset:a[1],color:c,bgColor:u,fontStyle:h}}))}function Am(e){const t=e.match(Lm);if(t){const i=t[1];if(i.length===8){const r=Math.round(Number.parseInt(i.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${i.slice(0,6)}${r}`}else{if(i.length===6)return`#${i}80`;if(i.length===4){const r=i[0],s=i[1],o=i[2],a=i[3];return`#${r}${r}${s}${s}${o}${o}${Math.round(Number.parseInt(`${a}${a}`,16)/2).toString(16).padStart(2,"0")}`}else if(i.length===3){const r=i[0],s=i[1],o=i[2];return`#${r}${r}${s}${s}${o}${o}80`}}}const n=e.match(Sm);return n?`var(${n[1]}-dim)`:e}function Gr(e,t,n={}){const i=e.resolveLangAlias(n.lang||"text"),{theme:r=e.getLoadedThemes()[0]}=n;if(!Di(i)&&!Mi(r)&&i==="ansi"){const{theme:s}=e.setTheme(r);return Rm(s,t,n)}return Bl(e,t,n)}function vi(e,t,n){let i,r,s,o,a,d;if("themes"in n){const{defaultColor:c="light",cssVariablePrefix:u="--shiki-",colorsRendering:h="css-vars"}=n,f=Object.entries(n.themes).filter(b=>b[1]).map(b=>({color:b[0],theme:b[1]})).sort((b,y)=>b.color===c?-1:y.color===c?1:0);if(f.length===0)throw new X("`themes` option must not be empty");const p=Wl(e,t,n,Gr);if(d=bn(p),c&&c!=="light-dark()"&&!f.some(b=>b.color===c))throw new X(`\`themes\` option must contain the defaultColor key \`${c}\``);const m=f.map(b=>e.getTheme(b.theme)),v=f.map(b=>b.color);s=p.map(b=>b.map(y=>mm(y,v,u,c,h))),d&&Hi(s,d);const k=f.map(b=>mi(b.theme,n));r=ho(f,m,k,u,c,"fg",h),i=ho(f,m,k,u,c,"bg",h),o=`shiki-themes ${m.map(b=>b.name).join(" ")}`,a=c?void 0:[r,i].join(";")}else if("theme"in n){const c=mi(n.theme,n);s=Gr(e,t,n);const u=e.getTheme(n.theme);i=ht(u.bg,c),r=ht(u.fg,c),o=u.name,d=bn(s)}else throw new X("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:r,bg:i,themeName:o,rootStyle:a,grammarState:d}}function ho(e,t,n,i,r,s,o){return e.map((a,d)=>{const c=ht(t[d][s],n[d])||"inherit",u=`${i+a.color}${s==="bg"?"-bg":""}:${c}`;if(d===0&&r){if(r==="light-dark()"&&e.length>1){const h=e.findIndex(p=>p.color==="light"),f=e.findIndex(p=>p.color==="dark");if(h===-1||f===-1)throw new X('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${ht(t[h][s],n[h])||"inherit"}, ${ht(t[f][s],n[f])||"inherit"});${u}`}return c}return o==="css-vars"?u:null}).filter(a=>!!a).join(";")}const Jl=/^\s+$/,Im=/^(\s*)(.*?)(\s*)$/;function yi(e,t,n,i={meta:{},options:n,codeToHast:(r,s)=>yi(e,r,s),codeToTokens:(r,s)=>vi(e,r,s)}){let r=t;for(const m of bi(n))r=m.preprocess?.call(i,r,n)||r;let{tokens:s,fg:o,bg:a,themeName:d,rootStyle:c,grammarState:u}=vi(e,r,n);const{mergeWhitespaces:h=!0,mergeSameStyleTokens:f=!1}=n;h===!0?s=jm(s):h==="never"&&(s=Nm(s)),f&&(s=Pm(s));const p={...i,get source(){return r}};for(const m of bi(n))s=m.tokens?.call(p,s)||s;return Tm(s,{...n,fg:o,bg:a,themeName:d,rootStyle:n.rootStyle===!1?!1:n.rootStyle??c},p,u)}function Tm(e,t,n,i=bn(e)){const r=bi(t),s=[],o={type:"root",children:[]},{structure:a="classic",tabindex:d="0"}=t,c={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?c.style=t.rootStyle:c.style=`background-color:${t.bg};color:${t.fg}`),d!==!1&&d!=null&&(c.tabindex=d.toString());for(const[v,k]of Object.entries(t.meta||{}))v.startsWith("_")||(c[v]=k);let u={type:"element",tagName:"pre",properties:c,children:[],data:t.data},h={type:"element",tagName:"code",properties:{},children:s};const f=[],p={...n,structure:a,addClassToHast:Zl,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return u},get code(){return h},get lines(){return f}};if(e.forEach((v,k)=>{k&&(a==="inline"?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&s.push({type:"text",value:`
|
|
13
|
+
`}));let b={type:"element",tagName:"span",properties:{class:"line"},children:[]},y=0;for(const x of v){let C={type:"element",tagName:"span",properties:{...x.htmlAttrs},children:[{type:"text",value:x.content}]};const _=Ur(x.htmlStyle||gi(x));_&&(C.properties.style=_);for(const w of r)C=w?.span?.call(p,C,k+1,y,b,x)||C;a==="inline"?o.children.push(C):a==="classic"&&b.children.push(C),y+=x.content.length}if(a==="classic"){for(const x of r)b=x?.line?.call(p,b,k+1)||b;f.push(b),s.push(b)}else a==="inline"&&f.push(b)}),a==="classic"){for(const v of r)h=v?.code?.call(p,h)||h;u.children.push(h);for(const v of r)u=v?.pre?.call(p,u)||u;o.children.push(u)}else if(a==="inline"){const v=[];let k={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const y of o.children)y.type==="element"&&y.tagName==="br"?(v.push(k),k={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(y.type==="element"||y.type==="text")&&k.children.push(y);v.push(k);let b={type:"element",tagName:"code",properties:{},children:v};for(const y of r)b=y?.code?.call(p,b)||b;o.children=[];for(let y=0;y<b.children.length;y++){y>0&&o.children.push({type:"element",tagName:"br",properties:{},children:[]});const x=b.children[y];x.type==="element"&&o.children.push(...x.children)}}let m=o;for(const v of r)m=v?.root?.call(p,m)||m;return i&&Hi(m,i),m}function jm(e){return e.map(t=>{const n=[];let i="",r;return t.forEach((s,o)=>{const a=!(s.fontStyle&&(s.fontStyle&ue.Underline||s.fontStyle&ue.Strikethrough));a&&Jl.test(s.content)&&t[o+1]?(r===void 0&&(r=s.offset),i+=s.content):i?(a?n.push({...s,offset:r,content:i+s.content}):n.push({content:i,offset:r},s),r=void 0,i=""):n.push(s)}),n})}function Nm(e){return e.map(t=>t.flatMap(n=>{if(Jl.test(n.content))return n;const i=n.content.match(Im);if(!i)return n;const[,r,s,o]=i;if(!r&&!o)return n;const a=[{...n,offset:n.offset+r.length,content:s}];return r&&a.unshift({content:r,offset:n.offset}),o&&a.push({content:o,offset:n.offset+r.length+s.length}),a}))}function Pm(e){return e.map(t=>{const n=[];for(const i of t){if(n.length===0){n.push({...i});continue}const r=n.at(-1),s=Ur(r.htmlStyle||gi(r)),o=Ur(i.htmlStyle||gi(i)),a=r.fontStyle&&(r.fontStyle&ue.Underline||r.fontStyle&ue.Strikethrough),d=i.fontStyle&&(i.fontStyle&ue.Underline||i.fontStyle&ue.Strikethrough);!a&&!d&&s===o?r.content+=i.content:n.push({...i})}return n})}const Dm=Je;function Mm(e,t,n){const i={meta:{},options:n,codeToHast:(s,o)=>yi(e,s,o),codeToTokens:(s,o)=>vi(e,s,o)};let r=Dm(yi(e,t,n,i));for(const s of bi(n))r=s.postprocess?.call(i,r,n)||r;return r}async function Om(e){const t=await Qf(e);return{getLastGrammarState:(...n)=>ip(t,...n),codeToTokensBase:(n,i)=>Gr(t,n,i),codeToTokensWithThemes:(n,i)=>Wl(t,n,i),codeToTokens:(n,i)=>vi(t,n,i),codeToHast:(n,i)=>yi(t,n,i),codeToHtml:(n,i)=>Mm(t,n,i),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function Fm(e){const t=e.langs,n=e.themes,i=e.engine;async function r(s){function o(h){if(typeof h=="string"){if(h=s.langAlias?.[h]||h,Dl(h))return[];const f=t[h];if(!f)throw new X(`Language \`${h}\` is not included in this bundle. You may want to load it from external source.`);return f}return h}function a(h){if(Ml(h))return"none";if(typeof h=="string"){const f=n[h];if(!f)throw new X(`Theme \`${h}\` is not included in this bundle. You may want to load it from external source.`);return f}return h}const d=(s.themes??[]).map(h=>a(h)),c=(s.langs??[]).map(h=>o(h)),u=await Om({engine:s.engine??i(),...s,themes:d,langs:c});return{...u,loadLanguage(...h){return u.loadLanguage(...h.map(o))},loadTheme(...h){return u.loadTheme(...h.map(a))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return r}const Hm=Fm({langs:Dr,themes:Vh,engine:()=>(0,vl.createOnigurumaEngine)(g(()=>import("./wasm-CG6Dc4jp.js"),[]))}),fo=4294967295;function $m(e){return!e.sticky&&!e.rawOptions?.strategy}function po(e,t){return{index:e,captureIndices:t.map(n=>n==null?{start:fo,end:fo,length:0}:{start:n[0],end:n[1],length:n[1]-n[0]})}}var Vm=class{patterns;options;regexps;lastSearches;constructor(e,t={}){this.patterns=e,this.options=t;const{forgiving:n=!1,cache:i,regexConstructor:r}=t;if(!r)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(s=>{if(typeof s!="string")return s;const o=i?.get(s);if(o){if(o instanceof RegExp)return o;if(n)return null;throw o}try{const a=r(s);return i?.set(s,a),a}catch(a){if(i?.set(s,a),n)return null;throw a}}),this.lastSearches=this.regexps.map(s=>s&&$m(s)?{strId:0,searchedFrom:0,matchIndex:-1,indices:null}:null)}findNextMatchSync(e,t,n){const i=typeof e=="string"?e:e.content,r=typeof e=="string"?0:e.id||0;let s=-1,o=0,a=null;for(let d=0;d<this.regexps.length;d++){const c=this.regexps[d];if(c)try{const u=r?this.lastSearches[d]:null;let h,f;if(u&&u.strId===r&&u.searchedFrom<=t&&(u.matchIndex===-1||u.matchIndex>=t))h=u.matchIndex,f=u.indices;else{c.lastIndex=t;const p=c.exec(i);h=p?p.index:-1,f=p?p.indices:null,u&&(u.strId=r,u.searchedFrom=t,u.matchIndex=h,u.indices=f)}if(h===-1)continue;if(h===t)return po(d,f);(s===-1||h<o)&&(s=d,o=h,a=f)}catch(u){if(this.options.forgiving)continue;throw u}}return s===-1?null:po(s,a)}};let Bm=0;function Wm(e){return{content:e,id:++Bm}}function qt(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function Um(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}const Ss=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),oe=String.raw;function Kt(e,t){if(e==null)throw new Error(t??"Value expected");return e}const Ql=oe`\[\^?`,Yl=`c.? | C(?:-.?)?|${oe`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${oe`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${oe`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${oe`o\{[^\}]*\}?`}|${oe`\d{1,3}`}`,Es=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Mn=new RegExp(oe`
|
|
14
|
+
\\ (?:
|
|
15
|
+
${Yl}
|
|
16
|
+
| [gk]<[^>]*>?
|
|
17
|
+
| [gk]'[^']*'?
|
|
18
|
+
| .
|
|
19
|
+
)
|
|
20
|
+
| \( (?:
|
|
21
|
+
\? (?:
|
|
22
|
+
[:=!>({]
|
|
23
|
+
| <[=!]
|
|
24
|
+
| <[^>]*>
|
|
25
|
+
| '[^']*'
|
|
26
|
+
| ~\|?
|
|
27
|
+
| #(?:[^)\\]|\\.?)*
|
|
28
|
+
| [^:)]*[:)]
|
|
29
|
+
)?
|
|
30
|
+
| \*[^\)]*\)?
|
|
31
|
+
)?
|
|
32
|
+
| (?:${Es.source})+
|
|
33
|
+
| ${Ql}
|
|
34
|
+
| .
|
|
35
|
+
`.replace(/\s+/g,""),"gsu"),ir=new RegExp(oe`
|
|
36
|
+
\\ (?:
|
|
37
|
+
${Yl}
|
|
38
|
+
| .
|
|
39
|
+
)
|
|
40
|
+
| \[:(?:\^?\p{Alpha}+|\^):\]
|
|
41
|
+
| ${Ql}
|
|
42
|
+
| &&
|
|
43
|
+
| .
|
|
44
|
+
`.replace(/\s+/g,""),"gsu");function Gm(e,t={}){const n={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const i=cg(n.flags),r=[i.extended],s={captureGroup:n.rules.captureGroup,getCurrentModX(){return r.at(-1)},numOpenGroups:0,popModX(){r.pop()},pushModX(h){r.push(h)},replaceCurrentModX(h){r[r.length-1]=h},singleline:n.rules.singleline};let o=[],a;for(Mn.lastIndex=0;a=Mn.exec(e);){const h=zm(s,e,a[0],Mn.lastIndex);h.tokens?o.push(...h.tokens):h.token&&o.push(h.token),h.lastIndex!==void 0&&(Mn.lastIndex=h.lastIndex)}const d=[];let c=0;o.filter(h=>h.type==="GroupOpen").forEach(h=>{h.kind==="capturing"?h.number=++c:h.raw==="("&&d.push(h)}),c||d.forEach((h,f)=>{h.kind="capturing",h.number=f+1});const u=c||d.length;return{tokens:o.map(h=>h.type==="EscapedNumber"?hg(h,u):h).flat(),flags:i}}function zm(e,t,n,i){const[r,s]=n;if(n==="["||n==="[^"){const o=qm(t,n,i);return{tokens:o.tokens,lastIndex:o.lastIndex}}if(r==="\\"){if("AbBGyYzZ".includes(s))return{token:mo(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:ig(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:td(n)}}if(s==="K")return{token:nd("keep",n)};if(s==="N"||s==="R")return{token:St("newline",n,{negate:s==="N"})};if(s==="O")return{token:St("any",n)};if(s==="X")return{token:St("text_segment",n)};const o=ed(n,{inCharClass:!1});return Array.isArray(o)?{tokens:o}:{token:o}}if(r==="("){if(s==="*")return{token:ag(n)};if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(t[i]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:i+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:og(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:Ft("group",n)};if(n==="(?>")return{token:Ft("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:Ft(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:Ft("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:Ft("absence_repeater",n)}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:eg(n)}}if(e.getCurrentModX()){if(n==="#"){const o=t.indexOf(`
|
|
45
|
+
`,i);return{lastIndex:o===-1?t.length:o}}if(/^\s$/.test(n)){const o=/\s+/y;return o.lastIndex=i,{lastIndex:o.exec(t)?o.lastIndex:i}}}if(n===".")return{token:St("dot",n)};if(n==="^"||n==="$"){const o=e.singleline?{"^":oe`\A`,$:oe`\Z`}[n]:n;return{token:mo(o,n)}}return n==="|"?{token:Zm(n)}:Es.test(n)?{tokens:fg(n)}:{token:Qe(qt(n),n)}}function qm(e,t,n){const i=[go(t[1]==="^",t)];let r=1,s;for(ir.lastIndex=n;s=ir.exec(e);){const o=s[0];if(o[0]==="["&&o[1]!==":")r++,i.push(go(o[1]==="^",o));else if(o==="]"){if(i.at(-1).type==="CharacterClassOpen")i.push(Qe(93,o));else if(r--,i.push(Xm(o)),!r)break}else{const a=Km(o);Array.isArray(a)?i.push(...a):i.push(a)}}return{tokens:i,lastIndex:ir.lastIndex||e.length}}function Km(e){if(e[0]==="\\")return ed(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!Ss.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return St("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?Jm(e):e==="&&"?Qm(e):Qe(qt(e),e)}function ed(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return sg(e);if("dDhHsSwW".includes(n))return lg(e);if(e.startsWith(oe`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return dg(e)}if(/^\\x[89A-Fa-f]\p{AHex}/u.test(e))try{const i=e.split(/\\x/).slice(1).map(o=>parseInt(o,16)),r=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(i)),s=new TextEncoder;return[...r].map(o=>{const a=[...s.encode(o)].map(d=>`\\x${d.toString(16)}`).join("");return Qe(qt(o),a)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return Qe(ug(e),e);if(bo.has(n))return Qe(bo.get(n),e);if(/\d/.test(n))return Ym(t,e);if(e==="\\")throw new Error(oe`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return Qe(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function Zm(e){return{type:"Alternator",raw:e}}function mo(e,t){return{type:"Assertion",kind:e,raw:t}}function td(e){return{type:"Backreference",raw:e}}function Qe(e,t){return{type:"Character",value:e,raw:t}}function Xm(e){return{type:"CharacterClassClose",raw:e}}function Jm(e){return{type:"CharacterClassHyphen",raw:e}}function Qm(e){return{type:"CharacterClassIntersector",raw:e}}function go(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function St(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}function nd(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:Kt(n.flags),raw:t}}function Ym(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function eg(e){return{type:"GroupClose",raw:e}}function Ft(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}function tg(e,t,n,i){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:i}}function ng(e,t,n,i){return{type:"Quantifier",kind:e,min:t,max:n,raw:i}}function ig(e){return{type:"Subroutine",raw:e}}const rg=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),bo=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function sg(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return Qe(qt(t.toUpperCase())-64,e)}function og(e,t){let{on:n,off:i}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;i??="";const r=(t.getCurrentModX()||n.includes("x"))&&!i.includes("x"),s=yo(n),o=yo(i),a={};if(s&&(a.enable=s),o&&(a.disable=o),e.endsWith(")"))return t.replaceCurrentModX(r),nd("flags",e,{flags:a});if(e.endsWith(":"))return t.pushModX(r),t.numOpenGroups++,Ft("group",e,{...(s||o)&&{flags:a}});throw new Error(`Unexpected flag modifier "${e}"`)}function ag(e){const t=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:n,tag:i,args:r}=t.groups;if(!n)throw new Error(`Invalid named callout "${e}"`);if(i==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const s=r?r.split(",").filter(u=>u!=="").map(u=>/^[+-]?\d+$/.test(u)?+u:u):[],[o,a,d]=s,c=rg.has(n)?n.toLowerCase():"custom";switch(c){case"fail":case"mismatch":case"skip":if(s.length>0)throw new Error(`Named callout arguments not allowed "${s}"`);break;case"error":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(typeof o=="string")throw new Error(`Named callout argument must be a number "${o}"`);break;case"max":if(!s.length||s.length>2)throw new Error(`Named callout must have one or two arguments "${s}"`);if(typeof o=="string"&&!/^[A-Za-z_]\w*$/.test(o))throw new Error(`Named callout argument one must be a tag or number "${o}"`);if(s.length===2&&(typeof a=="number"||!/^[<>X]$/.test(a)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${a}"`);break;case"count":case"total_count":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(s.length===1&&(typeof o=="number"||!/^[<>X]$/.test(o)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${o}"`);break;case"cmp":if(s.length!==3)throw new Error(`Named callout must have three arguments "${s}"`);if(typeof o=="string"&&!/^[A-Za-z_]\w*$/.test(o))throw new Error(`Named callout argument one must be a tag or number "${o}"`);if(typeof a=="number"||!/^(?:[<>!=]=|[<>])$/.test(a))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${a}"`);if(typeof d=="string"&&!/^[A-Za-z_]\w*$/.test(d))throw new Error(`Named callout argument three must be a tag or number "${d}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${c}"`)}return tg(c,i??null,r?.split(",")??null,e)}function vo(e){let t=null,n,i;if(e[0]==="{"){const{minStr:r,maxStr:s}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,o=1e5;if(+r>o||s&&+s>o)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+r,i=s===void 0?+r:s===""?1/0:+s,n>i&&(t="possessive",[n,i]=[i,n]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else n=e[0]==="+"?1:0,i=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return ng(t,n,i,e)}function lg(e){const t=e[1].toLowerCase();return St({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function dg(e){const{p:t,neg:n,value:i}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return St("property",e,{value:i,negate:t==="P"&&!n||t==="p"&&!!n})}function yo(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function cg(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n<e.length;n++){const i=e[n];if(!"imxDPSWy".includes(i))throw new Error(`Invalid flag "${i}"`);if(i==="y"){if(!/^y{[gw]}/.test(e.slice(n)))throw new Error('Invalid or unspecified flag "y" mode');t.textSegmentMode=e[n+2]==="g"?"grapheme":"word",n+=3;continue}t[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[i]]=!0}return t}function ug(e){if(/^(?:\\u(?!\p{AHex}{4})|\\x(?!\p{AHex}{1,2}|\{\p{AHex}{1,8}\}))/u.test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?/^\\x\{\s*(?<hex>\p{AHex}+)/u.exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function hg(e,t){const{raw:n,inCharClass:i}=e,r=n.slice(1);if(!i&&(r!=="0"&&r.length===1||r[0]!=="0"&&+r<=t))return[td(n)];const s=[],o=r.match(/^[0-7]+|\d/g);for(let a=0;a<o.length;a++){const d=o[a];let c;if(a===0&&d!=="8"&&d!=="9"){if(c=parseInt(d,8),c>127)throw new Error(oe`Octal encoded byte above 177 unsupported "${n}"`)}else c=qt(d);s.push(Qe(c,(a===0?"\\":"")+d))}return s}function fg(e){const t=[],n=new RegExp(Es,"gy");let i;for(;i=n.exec(e);){const r=i[0];if(r[0]==="{"){const s=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(r);if(s){const{min:o,max:a}=s.groups;if(+o>+a&&r.endsWith("?")){n.lastIndex--,t.push(vo(r.slice(0,-1)));continue}}}t.push(vo(r))}return t}function id(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const n=e.body[0];return!t||Object.keys(t).every(i=>t[i]===n[i])}function pg(e){return mg.has(e.type)}const mg=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function rd(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},i=Gm(e,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),r=(f,p)=>{const m=i.tokens[s.nextIndex];switch(s.parent=f,s.nextIndex++,m.type){case"Alternator":return At();case"Assertion":return gg(m);case"Backreference":return bg(m,s);case"Character":return Vi(m.value,{useLastValid:!!p.isCheckingRangeEnd});case"CharacterClassHyphen":return vg(m,s,p);case"CharacterClassOpen":return yg(m,s,p);case"CharacterSet":return kg(m,s);case"Directive":return Sg(m.kind,{flags:m.flags});case"GroupOpen":return xg(m,s,p);case"NamedCallout":return Rg(m.kind,m.tag,m.arguments);case"Quantifier":return _g(m,s);case"Subroutine":return Cg(m,s);default:throw new Error(`Unexpected token type "${m.type}"`)}},s={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:i.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:r},o=Ig(Eg(i.flags));let a=o.body[0];for(;s.nextIndex<i.tokens.length;){const f=r(a,{});f.type==="Alternative"?(o.body.push(f),a=f):a.body.push(f)}const{capturingGroups:d,hasNumberedRef:c,namedGroupsByName:u,subroutines:h}=s;if(c&&u.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:f}of h)if(typeof f=="number"){if(f>d.length)throw new Error("Subroutine uses a group number that's not defined");f&&(d[f-1].isSubroutined=!0)}else if(u.has(f)){if(u.get(f).length>1)throw new Error(oe`Subroutine uses a duplicate group name "\g<${f}>"`);u.get(f)[0].isSubroutined=!0}else throw new Error(oe`Subroutine uses a group name that's not defined "\g<${f}>"`);return o}function gg({kind:e}){return zr(Kt({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===oe`\B`||e===oe`\Y`})}function bg({raw:e},t){const n=/^\\k[<']/.test(e),i=n?e.slice(3,-1):e.slice(1),r=(s,o=!1)=>{const a=t.capturingGroups.length;let d=!1;if(s>a)if(t.skipBackrefValidation)d=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,qr(o?a+1-s:s,{orphan:d})};if(n){const s=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(i);if(s)return r(+s.groups.num,!!s.groups.sign);if(/[-+]/.test(i))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(i))throw new Error(`Group name not defined to the left "${e}"`);return qr(i)}return r(+i)}function vg(e,t,n){const{tokens:i,walk:r}=t,s=t.parent,o=s.body.at(-1),a=i[t.nextIndex];if(!n.isCheckingRangeEnd&&o&&o.type!=="CharacterClass"&&o.type!=="CharacterClassRange"&&a&&a.type!=="CharacterClassOpen"&&a.type!=="CharacterClassClose"&&a.type!=="CharacterClassIntersector"){const d=r(s,{...n,isCheckingRangeEnd:!0});if(o.type==="Character"&&d.type==="Character")return s.body.pop(),Lg(o,d);throw new Error("Invalid character class range")}return Vi(qt("-"))}function yg({negate:e},t,n){const{tokens:i,walk:r}=t,s=[ri()],o=i[t.nextIndex];let a=_o(o);for(;a.type!=="CharacterClassClose";){if(a.type==="CharacterClassIntersector")s.push(ri()),t.nextIndex++;else{const c=s.at(-1);c.body.push(r(c,n))}a=_o(i[t.nextIndex],o)}const d=ri({negate:e});return s.length===1?d.body=s[0].body:(d.kind="intersection",d.body=s.map(c=>c.body.length===1?c.body[0]:c)),t.nextIndex++,d}function kg({kind:e,negate:t,value:n},i){const{normalizeUnknownPropertyNames:r,skipPropertyNameValidation:s,unicodePropertyMap:o}=i;if(e==="property"){const a=Bi(n);if(Ss.has(a)&&!o?.has(a))e="posix",n=a;else return Ht(n,{negate:t,normalizeUnknownPropertyNames:r,skipPropertyNameValidation:s,unicodePropertyMap:o})}return e==="posix"?Ag(n,{negate:t}):Kr(e,{negate:t})}function xg(e,t,n){const{tokens:i,capturingGroups:r,namedGroupsByName:s,skipLookbehindValidation:o,walk:a}=t,d=Tg(e),c=d.type==="AbsenceFunction",u=xo(d),h=u&&d.negate;if(d.type==="CapturingGroup"&&(r.push(d),d.name&&Um(s,d.name,[]).push(d)),c&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let f=Co(i[t.nextIndex]);for(;f.type!=="GroupClose";){if(f.type==="Alternator")d.body.push(At()),t.nextIndex++;else{const p=d.body.at(-1),m=a(p,{...n,isInAbsenceFunction:n.isInAbsenceFunction||c,isInLookbehind:n.isInLookbehind||u,isInNegLookbehind:n.isInNegLookbehind||h});if(p.body.push(m),(u||n.isInLookbehind)&&!o){const v="Lookbehind includes a pattern not allowed by Oniguruma";if(h||n.isInNegLookbehind){if(ko(m)||m.type==="CapturingGroup")throw new Error(v)}else if(ko(m)||xo(m)&&m.negate)throw new Error(v)}}f=Co(i[t.nextIndex])}return t.nextIndex++,d}function _g({kind:e,min:t,max:n},i){const r=i.parent,s=r.body.at(-1);if(!s||!pg(s))throw new Error("Quantifier requires a repeatable token");const o=od(e,t,n,s);return r.body.pop(),o}function Cg({raw:e},t){const{capturingGroups:n,subroutines:i}=t;let r=e.slice(3,-1);const s=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(r);if(s){const a=+s.groups.num,d=n.length;if(t.hasNumberedRef=!0,r={"":a,"+":d+a,"-":d+1-a}[s.groups.sign],r<1)throw new Error("Invalid subroutine number")}else r==="0"&&(r=0);const o=ad(r);return i.push(o),o}function wg(e,t){return{type:"AbsenceFunction",kind:e,body:Sn(t?.body)}}function At(e){return{type:"Alternative",body:ld(e?.body)}}function zr(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!t?.negate),n}function qr(e,t){const n=!!t?.orphan;return{type:"Backreference",ref:e,...n&&{orphan:n}}}function sd(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!jg(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:Sn(t?.body)}}function Vi(e,t){const n={useLastValid:!1,...t};if(e>1114111){const i=e.toString(16);if(n.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${i}}"`):new Error(`Invalid code point out of range in JS "\\x{${i}}"`)}return{type:"Character",value:e}}function ri(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:ld(e?.body)}}function Lg(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function Kr(e,t){const n=!!t?.negate,i={type:"CharacterSet",kind:e};return(e==="digit"||e==="hex"||e==="newline"||e==="space"||e==="word")&&(i.negate=n),(e==="text_segment"||e==="newline"&&!n)&&(i.variableLength=!0),i}function Sg(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:Kt(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function Eg(e){return{type:"Flags",...e}}function Ee(e){const t=e?.atomic,n=e?.flags;if(t&&n)throw new Error("Atomic group cannot have flags");return{type:"Group",...t&&{atomic:t},...n&&{flags:n},body:Sn(e?.body)}}function xt(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:Sn(e?.body)}}function Rg(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}function Ag(e,t){const n=!!t?.negate;if(!Ss.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}function od(e,t,n,i){if(t>n)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:n,body:i}}function Ig(e,t){return{type:"Regex",body:Sn(t?.body),flags:e}}function ad(e){return{type:"Subroutine",ref:e}}function Ht(e,t){const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let i=n.unicodePropertyMap?.get(Bi(e));if(!i){if(n.normalizeUnknownPropertyNames)i=Ng(e);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(oe`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:i??e,negate:n.negate}}function Tg({flags:e,kind:t,name:n,negate:i,number:r}){switch(t){case"absence_repeater":return wg("repeater");case"atomic":return Ee({atomic:!0});case"capturing":return sd(r,{name:n});case"group":return Ee({flags:e});case"lookahead":case"lookbehind":return xt({behind:t==="lookbehind",negate:i});default:throw new Error(`Unexpected group kind "${t}"`)}}function Sn(e){if(e===void 0)e=[At()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}function ld(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}function ko(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function xo(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function jg(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function Ng(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}function Bi(e){return e.replace(/[- _]+/g,"").toLowerCase()}function _o(e,t){const n=t;return Kt(e,`Unclosed character class${n?.type==="Character"&&n.value===93&&n.raw==="]"?' (started with "]")':""}`)}function Co(e){return Kt(e,"Unclosed group")}function cn(e,t,n=null){function i(s,o){for(let a=0;a<s.length;a++){const d=r(s[a],o,a,s);a=Math.max(-1,a+d)}}function r(s,o=null,a=null,d=null){let c=0,u=!1;const h={node:s,parent:o,key:a,container:d,root:e,remove(){On(d).splice(Math.max(0,Nt(a)+c),1),c--,u=!0},removeAllNextSiblings(){return On(d).splice(Nt(a)+1)},removeAllPrevSiblings(){const b=Nt(a)+c;return c-=b,On(d).splice(0,Math.max(0,b))},replaceWith(b,y={}){const x=!!y.traverse;d?d[Math.max(0,Nt(a)+c)]=b:Kt(o,"Can't replace root node")[a]=b,x&&r(b,o,a,d),u=!0},replaceWithMultiple(b,y={}){const x=!!y.traverse;if(On(d).splice(Math.max(0,Nt(a)+c),1,...b),c+=b.length-1,x){let C=0;for(let _=0;_<b.length;_++)C+=r(b[_],o,Nt(a)+_+C,d)}u=!0},skip(){u=!0}},{type:f}=s,p=t["*"],m=t[f],v=typeof p=="function"?p:p?.enter,k=typeof m=="function"?m:m?.enter;if(v?.(h,n),k?.(h,n),!u)switch(f){case"AbsenceFunction":case"Alternative":case"CapturingGroup":case"CharacterClass":case"Group":case"LookaroundAssertion":i(s.body,s);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":r(s.min,s,"min"),r(s.max,s,"max");break;case"Quantifier":r(s.body,s,"body");break;case"Regex":i(s.body,s),r(s.flags,s,"flags");break;default:throw new Error(`Unexpected node type "${f}"`)}return m?.exit?.(h,n),p?.exit?.(h,n),c}return r(e),e}function On(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function Nt(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const Pg=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function Dg(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function Mg(e,t,n,i){return e.slice(0,t)+i+e.slice(t+n.length)}const xe=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function Rs(e,t,n,i){const r=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),s=[!1];let o=0,a="";for(const d of e.matchAll(r)){const{0:c,groups:{$skip:u}}=d;if(!u&&(!i||i===xe.DEFAULT==!o)){n instanceof Function?a+=n(d,{context:o?xe.CHAR_CLASS:xe.DEFAULT,negated:s[s.length-1]}):a+=n;continue}c[0]==="["?(o++,s.push(c[1]==="^")):c==="]"&&o&&(o--,s.pop()),a+=c}return a}function dd(e,t,n,i){Rs(e,t,n,i)}function Og(e,t,n=0,i){if(!new RegExp(t,"su").test(e))return null;const r=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");r.lastIndex=n;let s=0,o;for(;o=r.exec(e);){const{0:a,groups:{$skip:d}}=o;if(!d&&(!i||i===xe.DEFAULT==!s))return o;a==="["?s++:a==="]"&&s&&s--,r.lastIndex==o.index&&r.lastIndex++}return null}function Fn(e,t,n){return!!Og(e,t,0,n)}function Fg(e,t){const n=/\\?./gsu;n.lastIndex=t;let i=e.length,r=0,s=1,o;for(;o=n.exec(e);){const[a]=o;if(a==="[")r++;else if(r)a==="]"&&r--;else if(a==="(")s++;else if(a===")"&&(s--,!s)){i=o.index;break}}return e.slice(t,i)}const wo=new RegExp(String.raw`(?<noncapturingStart>${Pg})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function Hg(e,t){const n=t?.hiddenCaptures??[];let i=t?.captureTransfers??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:i,hiddenCaptures:n};const r="(?>",s="(?:(?=(",o=[0],a=[];let d=0,c=0,u=NaN,h;do{h=!1;let f=0,p=0,m=!1,v;for(wo.lastIndex=Number.isNaN(u)?0:u+s.length;v=wo.exec(e);){const{0:k,index:b,groups:{capturingStart:y,noncapturingStart:x}}=v;if(k==="[")f++;else if(f)k==="]"&&f--;else if(k===r&&!m)u=b,m=!0;else if(m&&x)p++;else if(y)m?p++:(d++,o.push(d+c));else if(k===")"&&m){if(!p){c++;const C=d+c;if(e=`${e.slice(0,u)}${s}${e.slice(u+r.length,b)}))<$$${C}>)${e.slice(b+1)}`,h=!0,a.push(C),Dg(n,C),i.size){const _=new Map;i.forEach((w,L)=>{_.set(L>=C?L+1:L,w.map(I=>I>=C?I+1:I))}),i=_}break}p--}}}while(h);return n.push(...a),e=Rs(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:f,groups:{backrefNum:p,wrappedBackrefNum:m}})=>{if(p){const v=+p;if(v>o.length-1)throw new Error(`Backref "${f}" greater than number of captures`);return`\\${o[v]}`}return`\\${m}`},xe.DEFAULT),{pattern:e,captureTransfers:i,hiddenCaptures:n}}const cd=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,rr=new RegExp(String.raw`
|
|
46
|
+
\\(?: \d+
|
|
47
|
+
| c[A-Za-z]
|
|
48
|
+
| [gk]<[^>]+>
|
|
49
|
+
| [pPu]\{[^\}]+\}
|
|
50
|
+
| u[A-Fa-f\d]{4}
|
|
51
|
+
| x[A-Fa-f\d]{2}
|
|
52
|
+
)
|
|
53
|
+
| \((?: \? (?: [:=!>]
|
|
54
|
+
| <(?:[=!]|[^>]+>)
|
|
55
|
+
| [A-Za-z\-]+:
|
|
56
|
+
| \(DEFINE\)
|
|
57
|
+
))?
|
|
58
|
+
| (?<qBase>${cd})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
|
|
59
|
+
| \\?.
|
|
60
|
+
`.replace(/\s+/g,""),"gsu");function $g(e){if(!new RegExp(`${cd}\\+`).test(e))return{pattern:e};const t=[];let n=null,i=null,r="",s=0,o;for(rr.lastIndex=0;o=rr.exec(e);){const{0:a,index:d,groups:{qBase:c,qMod:u,invalidQ:h}}=o;if(a==="[")s||(i=d),s++;else if(a==="]")s?s--:i=null;else if(!s)if(u==="+"&&r&&!r.startsWith("(")){if(h)throw new Error(`Invalid quantifier "${a}"`);let f=-1;if(/^\{\d+\}$/.test(c))e=Mg(e,d+c.length,u,"");else{if(r===")"||r==="]"){const p=r===")"?n:i;if(p===null)throw new Error(`Invalid unmatched "${r}"`);e=`${e.slice(0,p)}(?>${e.slice(p,d)}${c})${e.slice(d+a.length)}`}else e=`${e.slice(0,d-r.length)}(?>${r}${c})${e.slice(d+a.length)}`;f+=4}rr.lastIndex+=f}else a[0]==="("?t.push(d):a===")"&&(n=t.length?t.pop():null);r=a}return{pattern:e}}const ke=String.raw,Vg=ke`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,Zr=ke`\(\?R=(?<rDepth>[^\)]+)\)|${Vg}`,Wi=ke`\(\?<(?![=!])(?<captureName>[^>]+)>`,ud=ke`${Wi}|(?<unnamed>\()(?!\?)`,vt=new RegExp(ke`${Wi}|${Zr}|\(\?|\\?.`,"gsu"),sr="Cannot use multiple overlapping recursions";function Bg(e,t){const{hiddenCaptures:n,mode:i}={hiddenCaptures:[],mode:"plugin",...t};let r=t?.captureTransfers??new Map;if(!new RegExp(Zr,"su").test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};if(i==="plugin"&&Fn(e,ke`\(\?\(DEFINE\)`,xe.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const s=[],o=Fn(e,ke`\\[1-9]`,xe.DEFAULT),a=new Map,d=[];let c=!1,u=0,h=0,f;for(vt.lastIndex=0;f=vt.exec(e);){const{0:p,groups:{captureName:m,rDepth:v,gRNameOrNum:k,gRDepth:b}}=f;if(p==="[")u++;else if(u)p==="]"&&u--;else if(v){if(Lo(v),c)throw new Error(sr);if(o)throw new Error(`${i==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const y=e.slice(0,f.index),x=e.slice(vt.lastIndex);if(Fn(x,Zr,xe.DEFAULT))throw new Error(sr);const C=+v-1;e=So(y,x,C,!1,n,s,h),r=Ro(r,y,C,s.length,0,h);break}else if(k){Lo(b);let y=!1;for(const R of d)if(R.name===k||R.num===+k){if(y=!0,R.hasRecursedWithin)throw new Error(sr);break}if(!y)throw new Error(ke`Recursive \g cannot be used outside the referenced group "${i==="external"?k:ke`\g<${k}&R=${b}>`}"`);const x=a.get(k),C=Fg(e,x);if(o&&Fn(C,ke`${Wi}|\((?!\?)`,xe.DEFAULT))throw new Error(`${i==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const _=e.slice(x,f.index),w=C.slice(_.length+p.length),L=s.length,I=+b-1,E=So(_,w,I,!0,n,s,h);r=Ro(r,_,I,s.length-L,L,h);const T=e.slice(0,x),O=e.slice(x+C.length);e=`${T}${E}${O}`,vt.lastIndex+=E.length-p.length-_.length-w.length,d.forEach(R=>R.hasRecursedWithin=!0),c=!0}else if(m)h++,a.set(String(h),vt.lastIndex),a.set(m,vt.lastIndex),d.push({num:h,name:m});else if(p[0]==="("){const y=p==="(";y&&(h++,a.set(String(h),vt.lastIndex)),d.push(y?{num:h}:{})}else p===")"&&d.pop()}return n.push(...s),{pattern:e,captureTransfers:r,hiddenCaptures:n}}function Lo(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function So(e,t,n,i,r,s,o){const a=new Set;i&&dd(e+t,Wi,({groups:{captureName:c}})=>{a.add(c)},xe.DEFAULT);const d=[n,i?a:null,r,s,o];return`${e}${Eo(`(?:${e}`,"forward",...d)}(?:)${Eo(`${t})`,"backward",...d)}${t}`}function Eo(e,t,n,i,r,s,o){const d=u=>t==="forward"?u+2:n-u+2-1;let c="";for(let u=0;u<n;u++){const h=d(u);c+=Rs(e,ke`${ud}|\\k<(?<backref>[^>]+)>`,({0:f,groups:{captureName:p,unnamed:m,backref:v}})=>{if(v&&i&&!i.has(v))return f;const k=`_$${h}`;if(m||p){const b=o+s.length+1;return s.push(b),Wg(r,b),m?f:`(?<${p}${k}>`}return ke`\k<${v}${k}>`},xe.DEFAULT)}return c}function Wg(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function Ro(e,t,n,i,r,s){if(e.size&&i){let o=0;dd(t,ud,()=>o++,xe.DEFAULT);const a=s-o+r,d=new Map;return e.forEach((c,u)=>{const h=(i-o*n)/n,f=o*n,p=u>a+o?u+i:u,m=[];for(const v of c)if(v<=a)m.push(v);else if(v>a+o+h)m.push(v+i);else if(v<=a+o)for(let k=0;k<=n;k++)m.push(v+o*k);else for(let k=0;k<=n;k++)m.push(v+f+h*k);d.set(p,m)}),d}return e}var ie=String.fromCodePoint,V=String.raw,Re={},Ui=globalThis.RegExp;Re.flagGroups=(()=>{try{new Ui("(?i:)")}catch{return!1}return!0})();Re.unicodeSets=(()=>{try{new Ui("[[]]","v")}catch{return!1}return!0})();Re.bugFlagVLiteralHyphenIsRange=Re.unicodeSets?(()=>{try{new Ui(V`[\d\-a]`,"v")}catch{return!0}return!1})():!1;Re.bugNestedClassIgnoresNegation=Re.unicodeSets&&new Ui("[[^a]]","v").test("a");function ki(e,{enable:t,disable:n}){return{dotAll:!n?.dotAll&&!!(t?.dotAll||e.dotAll),ignoreCase:!n?.ignoreCase&&!!(t?.ignoreCase||e.ignoreCase)}}function vn(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function Xr(e,t){return Ao[e]>=Ao[t]}function Ug(e,t){if(e==null)throw new Error(t??"Value expected");return e}var Ao={ES2025:2025,ES2024:2024,ES2018:2018},Gg={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function hd(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!Gg[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=Re.flagGroups?"ES2025":Re.unicodeSets?"ES2024":"ES2018"),t}var zg="[ -\r ]",qg=new Set([ie(304),ie(305)]),Be=V`[\p{L}\p{M}\p{N}\p{Pc}]`;function fd(e){if(qg.has(e))return[e];const t=new Set,n=e.toLowerCase(),i=n.toUpperCase(),r=Xg.get(n),s=Kg.get(n),o=Zg.get(n);return[...i].length===1&&t.add(i),o&&t.add(o),r&&t.add(r),t.add(n),s&&t.add(s),[...t]}var As=new Map(`C Other
|
|
61
|
+
Cc Control cntrl
|
|
62
|
+
Cf Format
|
|
63
|
+
Cn Unassigned
|
|
64
|
+
Co Private_Use
|
|
65
|
+
Cs Surrogate
|
|
66
|
+
L Letter
|
|
67
|
+
LC Cased_Letter
|
|
68
|
+
Ll Lowercase_Letter
|
|
69
|
+
Lm Modifier_Letter
|
|
70
|
+
Lo Other_Letter
|
|
71
|
+
Lt Titlecase_Letter
|
|
72
|
+
Lu Uppercase_Letter
|
|
73
|
+
M Mark Combining_Mark
|
|
74
|
+
Mc Spacing_Mark
|
|
75
|
+
Me Enclosing_Mark
|
|
76
|
+
Mn Nonspacing_Mark
|
|
77
|
+
N Number
|
|
78
|
+
Nd Decimal_Number digit
|
|
79
|
+
Nl Letter_Number
|
|
80
|
+
No Other_Number
|
|
81
|
+
P Punctuation punct
|
|
82
|
+
Pc Connector_Punctuation
|
|
83
|
+
Pd Dash_Punctuation
|
|
84
|
+
Pe Close_Punctuation
|
|
85
|
+
Pf Final_Punctuation
|
|
86
|
+
Pi Initial_Punctuation
|
|
87
|
+
Po Other_Punctuation
|
|
88
|
+
Ps Open_Punctuation
|
|
89
|
+
S Symbol
|
|
90
|
+
Sc Currency_Symbol
|
|
91
|
+
Sk Modifier_Symbol
|
|
92
|
+
Sm Math_Symbol
|
|
93
|
+
So Other_Symbol
|
|
94
|
+
Z Separator
|
|
95
|
+
Zl Line_Separator
|
|
96
|
+
Zp Paragraph_Separator
|
|
97
|
+
Zs Space_Separator
|
|
98
|
+
ASCII
|
|
99
|
+
ASCII_Hex_Digit AHex
|
|
100
|
+
Alphabetic Alpha
|
|
101
|
+
Any
|
|
102
|
+
Assigned
|
|
103
|
+
Bidi_Control Bidi_C
|
|
104
|
+
Bidi_Mirrored Bidi_M
|
|
105
|
+
Case_Ignorable CI
|
|
106
|
+
Cased
|
|
107
|
+
Changes_When_Casefolded CWCF
|
|
108
|
+
Changes_When_Casemapped CWCM
|
|
109
|
+
Changes_When_Lowercased CWL
|
|
110
|
+
Changes_When_NFKC_Casefolded CWKCF
|
|
111
|
+
Changes_When_Titlecased CWT
|
|
112
|
+
Changes_When_Uppercased CWU
|
|
113
|
+
Dash
|
|
114
|
+
Default_Ignorable_Code_Point DI
|
|
115
|
+
Deprecated Dep
|
|
116
|
+
Diacritic Dia
|
|
117
|
+
Emoji
|
|
118
|
+
Emoji_Component EComp
|
|
119
|
+
Emoji_Modifier EMod
|
|
120
|
+
Emoji_Modifier_Base EBase
|
|
121
|
+
Emoji_Presentation EPres
|
|
122
|
+
Extended_Pictographic ExtPict
|
|
123
|
+
Extender Ext
|
|
124
|
+
Grapheme_Base Gr_Base
|
|
125
|
+
Grapheme_Extend Gr_Ext
|
|
126
|
+
Hex_Digit Hex
|
|
127
|
+
IDS_Binary_Operator IDSB
|
|
128
|
+
IDS_Trinary_Operator IDST
|
|
129
|
+
ID_Continue IDC
|
|
130
|
+
ID_Start IDS
|
|
131
|
+
Ideographic Ideo
|
|
132
|
+
Join_Control Join_C
|
|
133
|
+
Logical_Order_Exception LOE
|
|
134
|
+
Lowercase Lower
|
|
135
|
+
Math
|
|
136
|
+
Noncharacter_Code_Point NChar
|
|
137
|
+
Pattern_Syntax Pat_Syn
|
|
138
|
+
Pattern_White_Space Pat_WS
|
|
139
|
+
Quotation_Mark QMark
|
|
140
|
+
Radical
|
|
141
|
+
Regional_Indicator RI
|
|
142
|
+
Sentence_Terminal STerm
|
|
143
|
+
Soft_Dotted SD
|
|
144
|
+
Terminal_Punctuation Term
|
|
145
|
+
Unified_Ideograph UIdeo
|
|
146
|
+
Uppercase Upper
|
|
147
|
+
Variation_Selector VS
|
|
148
|
+
White_Space space
|
|
149
|
+
XID_Continue XIDC
|
|
150
|
+
XID_Start XIDS`.split(/\s/).map(e=>[Bi(e),e])),Kg=new Map([["s",ie(383)],[ie(383),"s"]]),Zg=new Map([[ie(223),ie(7838)],[ie(107),ie(8490)],[ie(229),ie(8491)],[ie(969),ie(8486)]]),Xg=new Map([dt(453),dt(456),dt(459),dt(498),...or(8072,8079),...or(8088,8095),...or(8104,8111),dt(8124),dt(8140),dt(8188)]),Jg=new Map([["alnum",V`[\p{Alpha}\p{Nd}]`],["alpha",V`\p{Alpha}`],["ascii",V`\p{ASCII}`],["blank",V`[\p{Zs}\t]`],["cntrl",V`\p{Cc}`],["digit",V`\p{Nd}`],["graph",V`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",V`\p{Lower}`],["print",V`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",V`[\p{P}\p{S}]`],["space",V`\p{space}`],["upper",V`\p{Upper}`],["word",V`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",V`\p{AHex}`]]);function Qg(e,t){const n=[];for(let i=e;i<=t;i++)n.push(i);return n}function dt(e){const t=ie(e);return[t.toLowerCase(),t]}function or(e,t){return Qg(e,t).map(n=>dt(n))}var pd=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function Yg(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};md(e);const i={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:Xr(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};cn(e,e1,i);const r={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},s={currentFlags:r,prevFlags:null,globalFlags:r,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:i.subroutineRefMap};cn(e,t1,s);const o={groupsByName:s.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:s.reffedNodesByReferencer};return cn(e,n1,o),e._originMap=s.groupOriginByCopy,e._strategy=i.strategy,e}var e1={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:i,kind:r}=e;if(r==="repeater"){const s=Ee();s.body[0].body.push(xt({negate:!0,body:i}),Ht("Any"));const o=Ee();o.body[0].body.push(od("greedy",0,1/0,s)),n(ee(o,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:i}){const r=e.body.filter(s=>s.kind==="flags");for(let s=n+1;s<t.body.length;s++){const o=t.body[s];vn(i,o,[]).push(...r)}},exit({node:e},{flagDirectivesByAlt:t}){if(t.get(e)?.length){const n=bd(t.get(e));if(n){const i=Ee({flags:n});i.body[0].body=e.body,e.body=[ee(i,e)]}}}},Assertion({node:e,parent:t,key:n,container:i,root:r,remove:s,replaceWith:o},a){const{kind:d,negate:c}=e,{asciiWordBoundaries:u,avoidSubclass:h,supportedGNodes:f,wordIsAscii:p}=a;if(d==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${c?"Y":"y"}"`);if(d==="line_end")o(ee(xt({body:[At({body:[zr("string_end")]}),At({body:[Vi(10)]})]}),t));else if(d==="line_start")o(ee(We(V`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(d==="search_start")if(f.has(e))r.flags.sticky=!0,s();else{const m=i[n-1];if(m&&l1(m))o(ee(xt({negate:!0}),t));else{if(h)throw new Error(V`Uses "\G" in a way that requires a subclass`);o(ct(zr("string_start"),t)),a.strategy="clip_search"}}else if(!(d==="string_end"||d==="string_start"))if(d==="string_end_newline")o(ee(We(V`(?=\n?\z)`),t));else if(d==="word_boundary"){if(!p&&!u){const m=`(?:(?<=${Be})(?!${Be})|(?<!${Be})(?=${Be}))`,v=`(?:(?<=${Be})(?=${Be})|(?<!${Be})(?!${Be}))`;o(ee(We(c?v:m),t))}}else throw new Error(`Unexpected assertion kind "${d}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!lr(n)&&(n=ar(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:i}=e;i&&!lr(i)&&(i=ar(i,t),e.name=i),n.set(e.number,e),i&&n.set(i,e)},CharacterClassRange({node:e,parent:t,replaceWith:n}){if(t.kind==="intersection"){const i=ri({body:[e]});n(ee(i,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:i,minTargetEs2024:r,digitIsAscii:s,spaceIsAscii:o,wordIsAscii:a}){const{kind:d,negate:c,value:u}=e;if(s&&(d==="digit"||u==="digit")){n(ct(Kr("digit",{negate:c}),t));return}if(o&&(d==="space"||u==="space")){n(ee(dr(We(zg),c),t));return}if(a&&(d==="word"||u==="word")){n(ct(Kr("word",{negate:c}),t));return}if(d==="any")n(ct(Ht("Any"),t));else if(d==="digit")n(ct(Ht("Nd",{negate:c}),t));else if(d!=="dot")if(d==="text_segment"){if(i==="strict")throw new Error(V`Use of "\X" requires non-strict accuracy`);const h="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",f=V`\p{RI}{2}|${h}(?:\u200D${h})*`;n(ee(We(V`(?>\r\n|${r?V`\p{RGI_Emoji}`:f}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(d==="hex")n(ct(Ht("AHex",{negate:c}),t));else if(d==="newline")n(ee(We(c?`[^
|
|
151
|
+
]`:`(?>\r
|
|
152
|
+
?|[
|
|
153
|
+
\v\f
\u2028\u2029])`),t));else if(d==="posix")if(!r&&(u==="graph"||u==="print")){if(i==="strict")throw new Error(`POSIX class "${u}" requires min target ES2024 or non-strict accuracy`);let h={graph:"!-~",print:" -~"}[u];c&&(h=`\0-${ie(h.codePointAt(0)-1)}${ie(h.codePointAt(2)+1)}-`),n(ee(We(`[${h}]`),t))}else n(ee(dr(We(Jg.get(u)),c),t));else if(d==="property")As.has(Bi(u))||(e.key="sc");else if(d==="space")n(ct(Ht("space",{negate:c}),t));else if(d==="word")n(ee(dr(We(Be),c),t));else throw new Error(`Unexpected character set kind "${d}"`)},Directive({node:e,parent:t,root:n,remove:i,replaceWith:r,removeAllPrevSiblings:s,removeAllNextSiblings:o}){const{kind:a,flags:d}=e;if(a==="flags")if(!d.enable&&!d.disable)i();else{const c=Ee({flags:d});c.body[0].body=o(),r(ee(c,t),{traverse:!0})}else if(a==="keep"){const c=n.body[0],h=n.body.length===1&&id(c,{type:"Group"})&&c.body[0].body.length===1?c.body[0]:n;if(t.parent!==h||h.body.length>1)throw new Error(V`Uses "\K" in a way that's unsupported`);const f=xt({behind:!0});f.body[0].body=s(),r(ee(f,t))}else throw new Error(`Unexpected directive kind "${a}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:n}=e.flags;t?.extended&&delete t.extended,n?.extended&&delete n.extended,t?.dotAll&&n?.dotAll&&delete t.dotAll,t?.ignoreCase&&n?.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:n}=e;n==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:n}){const{kind:i}=e;if(i==="fail")n(ee(xt({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${i.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=Ee();t.body[0].body.push(e.body),e.body=ee(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const n=[];let i=!1,r=!1;for(const s of e.body)if(s.body.length===1&&s.body[0].kind==="search_start")s.body.pop();else{const o=yd(s.body);o?(i=!0,Array.isArray(o)?n.push(...o):n.push(o)):r=!0}i&&!r&&n.forEach(s=>t.add(s))},exit(e,{accuracy:t,passedLookbehind:n,strategy:i}){if(t==="strict"&&n&&i)throw new Error(V`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!lr(n)&&(n=ar(n,t),e.ref=n)}},t1={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:i,ref:r}=e;i||n.set(e,[...t.get(r).map(({node:s})=>s)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:n,skip:i},{groupOriginByCopy:r,groupsByName:s,multiplexCapturesToLeftByRef:o,openRefs:a,reffedNodesByReferencer:d}){const c=r.get(e);if(c&&a.has(e.number)){const h=ct(Io(e.number),t);d.set(h,a.get(e.number)),n(h);return}a.set(e.number,e),o.set(e.number,[]),e.name&&vn(o,e.name,[]);const u=o.get(e.name??e.number);for(let h=0;h<u.length;h++){const f=u[h];if(c===f.node||c&&c===f.origin||e===f.origin){u.splice(h,1);break}}if(o.get(e.number).push({node:e,origin:c}),e.name&&o.get(e.name).push({node:e,origin:c}),e.name){const h=vn(s,e.name,new Map);let f=!1;if(c)f=!0;else for(const p of h.values())if(!p.hasDuplicateNameToRemove){f=!0;break}s.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:f})}},exit({node:e},{openRefs:t}){t.get(e.number)===e&&t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=ki(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},i){const{isRecursive:r,ref:s}=e;if(r){let u=t;for(;(u=u.parent)&&!(u.type==="CapturingGroup"&&(u.name===s||u.number===s)););i.reffedNodesByReferencer.set(e,u);return}const o=i.subroutineRefMap.get(s),a=s===0,d=a?Io(0):gd(o,i.groupOriginByCopy,null);let c=d;if(!a){const u=bd(s1(o,f=>f.type==="Group"&&!!f.flags)),h=u?ki(i.globalFlags,u):i.globalFlags;i1(h,i.currentFlags)||(c=Ee({flags:o1(h)}),c.body[0].body.push(d))}n(ee(c,t),{traverse:!a})}},n1={Backreference({node:e,parent:t,replaceWith:n},i){if(e.orphan){i.highestOrphanBackref=Math.max(i.highestOrphanBackref,e.ref);return}const s=i.reffedNodesByReferencer.get(e).filter(o=>r1(o,e));if(!s.length)n(ee(xt({negate:!0}),t));else if(s.length>1){const o=Ee({atomic:!0,body:s.reverse().map(a=>At({body:[qr(a.number)]}))});n(ee(o,t))}else e.ref=s[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let i=0;i<n;i++){const r=sd();e.body.at(-1).body.push(r)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function md(e){cn(e,{"*"({node:t,parent:n}){t.parent=n}})}function i1(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function r1(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const i=vd(n.parent);for(const r of i){if(r===n)break;if(r===e||kd(r,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function gd(e,t,n,i){const r=Array.isArray(e)?[]:{};for(const[s,o]of Object.entries(e))s==="parent"?r.parent=Array.isArray(n)?i:n:o&&typeof o=="object"?r[s]=gd(o,t,r,n):(s==="type"&&o==="CapturingGroup"&&t.set(r,t.get(e)??e),r[s]=o);return r}function Io(e){const t=ad(e);return t.isRecursive=!0,t}function s1(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function ar(e,t){if(t.has(e))return t.get(e);const n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,n),n}function bd(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:i})=>{t.forEach(r=>{i.enable?.[r]&&(delete n.disable[r],n.enable[r]=!0),i.disable?.[r]&&(n.disable[r]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function o1({dotAll:e,ignoreCase:t}){const n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}function vd(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function yd(e){const t=e.find(n=>n.kind==="search_start"||d1(n,{negate:!1})||!a1(n));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const n=[];for(const i of t.body){const r=yd(i.body);if(!r)return null;Array.isArray(r)?n.push(...r):n.push(r)}return n}return null}function kd(e,t){const n=vd(e)??[];for(const i of n)if(i===t||kd(i,t))return!0;return!1}function a1({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function l1(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function d1(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&id(e.body[0],{type:"Assertion",kind:"search_start"})}function lr(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function We(e,t){const i=rd(e,{...t,unicodePropertyMap:As}).body;return i.length>1||i[0].body.length>1?Ee({body:i}):i[0].body[0]}function dr(e,t){return e.negate=t,e}function ct(e,t){return e.parent=t,e}function ee(e,t){return md(e),e.parent=t,e}function c1(e,t){const n=hd(t),i=Xr(n.target,"ES2024"),r=Xr(n.target,"ES2025"),s=n.rules.recursionLimit;if(!Number.isInteger(s)||s<2||s>20)throw new Error("Invalid recursionLimit; use 2-20");let o=null,a=null;if(!r){const p=[e.flags.ignoreCase];cn(e,u1,{getCurrentModI:()=>p.at(-1),popModI(){p.pop()},pushModI(m){p.push(m)},setHasCasedChar(){p.at(-1)?o=!0:a=!0}})}const d={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||o)&&!a)};let c=e;const u={accuracy:n.accuracy,appliedGlobalFlags:d,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:c,originMap:e._originMap,recursionLimit:s,useAppliedIgnoreCase:!!(!r&&o&&a),useFlagMods:r,useFlagV:i,verbose:n.verbose};function h(p){return u.lastNode=c,c=p,Ug(h1[p.type],`Unexpected node type "${p.type}"`)(p,u,h)}const f={pattern:e.body.map(h).join("|"),flags:h(e.flags),options:{...e.options}};return i||(delete f.options.force.v,f.options.disable.v=!0,f.options.unicodeSetsPlugin=null),f._captureTransfers=new Map,f._hiddenCaptures=[],u.captureMap.forEach((p,m)=>{p.hidden&&f._hiddenCaptures.push(m),p.transferTo&&vn(f._captureTransfers,p.transferTo,[]).push(m)}),f}var u1={"*":{enter({node:e},t){if(jo(e)){const n=t.getCurrentModI();t.pushModI(e.flags?ki({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){jo(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){Is(ie(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),xd(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&pd.has(e.value)&&t.setHasCasedChar()}},h1={Alternative({body:e},t,n){return e.map(n).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?V`\B`:V`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,t,n){const{body:i,name:r,number:s}=e,o={ignoreCase:t.currentFlags.ignoreCase},a=t.originMap.get(e);return a&&(o.hidden=!0,s>a.number&&(o.transferTo=a.number)),t.captureMap.set(s,o),`(${r?`?<${r}>`:""}${i.map(n).join("|")})`},Character({value:e},t){const n=ie(e),i=Pt(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(i!==n)return i;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&Is(n)){const r=fd(n);return t.inCharClass?r.join(""):r.length>1?`[${r.join("")}]`:r[0]}return n},CharacterClass(e,t,n){const{kind:i,negate:r,parent:s}=e;let{body:o}=e;if(i==="intersection"&&!t.useFlagV)throw new Error("Use of character class intersection requires min target ES2024");Re.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&o.some(No)&&(o=[Vi(45),...o.filter(c=>!No(c))]);const a=()=>`[${r?"^":""}${o.map(n).join(i==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||Re.bugNestedClassIgnoresNegation)&&!r){const u=o.filter(h=>h.type==="CharacterClass"&&h.kind==="union"&&h.negate);if(u.length){const h=Ee(),f=h.body[0];return h.parent=s,f.parent=h,o=o.filter(p=>!u.includes(p)),e.body=o,o.length?(e.parent=f,f.body.push(e)):h.body.pop(),u.forEach(p=>{const m=At({body:[p]});p.parent=m,m.parent=h,h.body.push(m)}),n(h)}}t.inCharClass=!0;const c=a();return t.inCharClass=!1,c}const d=o[0];if(i==="union"&&!r&&d&&((!t.useFlagV||!t.verbose)&&s.kind==="union"&&!(Re.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&s.kind==="intersection"&&o.length===1&&d.type!=="CharacterClassRange"))return o.map(n).join("");if(!t.useFlagV&&s.type==="CharacterClass")throw new Error("Uses nested character class in a way that requires min target ES2024");return a()},CharacterClassRange(e,t){const n=e.min.value,i=e.max.value,r={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},s=Pt(n,r),o=Pt(i,r),a=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const d=xd(e);b1(d).forEach(u=>{a.add(Array.isArray(u)?`${Pt(u[0],r)}-${Pt(u[1],r)}`:Pt(u,r))})}return`${s}-${o}${[...a].join("")}`},CharacterSet({kind:e,negate:t,value:n,key:i},r){if(e==="dot")return r.currentFlags.dotAll?r.appliedGlobalFlags.dotAll||r.useFlagMods?".":"[^]":V`[^\n]`;if(e==="digit")return t?V`\D`:V`\d`;if(e==="property"){if(r.useAppliedIgnoreCase&&r.currentFlags.ignoreCase&&pd.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?V`\P`:V`\p`}{${i?`${i}=`:""}${n}}`}if(e==="word")return t?V`\W`:V`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:n,parent:i},r,s){const o=r.currentFlags;n&&(r.currentFlags=ki(o,n));const a=t.map(s).join("|"),d=!r.verbose&&t.length===1&&i.type!=="Quantifier"&&!e&&(!r.useFlagMods||!n)?a:`(?${v1(e,n,r.useFlagMods)}${a})`;return r.currentFlags=o,d},LookaroundAssertion({body:e,kind:t,negate:n},i,r){return`(?${`${t==="lookahead"?"":"<"}${n?"!":"="}`}${e.map(r).join("|")})`},Quantifier(e,t,n){return n(e.body)+y1(e)},Subroutine({isRecursive:e,ref:t},n){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const i=n.recursionLimit;return t===0?`(?R=${i})`:V`\g<${t}&R=${i}>`}},f1=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),p1=new Set(["-","\\","]","^","["]),m1=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),To=new Map([[9,V`\t`],[10,V`\n`],[11,V`\v`],[12,V`\f`],[13,V`\r`],[8232,V`\u2028`],[8233,V`\u2029`],[65279,V`\uFEFF`]]),g1=/^\p{Cased}$/u;function Is(e){return g1.test(e)}function xd(e,t){const n=!!t?.firstOnly,i=e.min.value,r=e.max.value,s=[];if(i<65&&(r===65535||r>=131071)||i===65536&&r>=131071)return s;for(let o=i;o<=r;o++){const a=ie(o);if(!Is(a))continue;const d=fd(a).filter(c=>{const u=c.codePointAt(0);return u<i||u>r});if(d.length&&(s.push(...d),n))break}return s}function Pt(e,{escDigit:t,inCharClass:n,useFlagV:i}){if(To.has(e))return To.get(e);if(e<32||e>126&&e<160||e>262143||t&&k1(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const r=n?i?m1:p1:f1,s=ie(e);return(r.has(s)?"\\":"")+s}function b1(e){const t=e.map(r=>r.codePointAt(0)).sort((r,s)=>r-s),n=[];let i=null;for(let r=0;r<t.length;r++)t[r+1]===t[r]+1?i??=t[r]:i===null?n.push(t[r]):(n.push([i,t[r]]),i=null);return n}function v1(e,t,n){if(e)return">";let i="";if(t&&n){const{enable:r,disable:s}=t;i=(r?.ignoreCase?"i":"")+(r?.dotAll?"s":"")+(s?"-":"")+(s?.ignoreCase?"i":"")+(s?.dotAll?"s":"")}return`${i}:`}function y1({kind:e,max:t,min:n}){let i;return!n&&t===1?i="?":!n&&t===1/0?i="*":n===1&&t===1/0?i="+":n===t?i=`{${n}}`:i=`{${n},${t===1/0?"":t}}`,i+{greedy:"",lazy:"?",possessive:"+"}[e]}function jo({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function k1(e){return e>47&&e<58}function No({type:e,value:t}){return e==="Character"&&t===45}var x1=class Jr extends RegExp{#t=new Map;#e=null;#i;#n=null;#r=null;rawOptions={};get source(){return this.#i||"(?:)"}constructor(t,n,i){const r=!!i?.lazyCompile;if(t instanceof RegExp){if(i)throw new Error("Cannot provide options when copying a regexp");const s=t;super(s,n),this.#i=s.source,s instanceof Jr&&(this.#t=s.#t,this.#n=s.#n,this.#r=s.#r,this.rawOptions=s.rawOptions)}else{const s={hiddenCaptures:[],strategy:null,transfers:[],...i};super(r?"":t,n),this.#i=t,this.#t=C1(s.hiddenCaptures,s.transfers),this.#r=s.strategy,this.rawOptions=i??{}}r||(this.#e=this)}exec(t){if(!this.#e){const{lazyCompile:r,...s}=this.rawOptions;this.#e=new Jr(this.#i,this.flags,s)}const n=this.global||this.sticky,i=this.lastIndex;if(this.#r==="clip_search"&&n&&i){this.lastIndex=0;const r=this.#s(t.slice(i));return r&&(_1(r,i,t,this.hasIndices),this.lastIndex+=i),r}return this.#s(t)}#s(t){this.#e.lastIndex=this.lastIndex;const n=super.exec.call(this.#e,t);if(this.lastIndex=this.#e.lastIndex,!n||!this.#t.size)return n;const i=[...n];n.length=1;let r;this.hasIndices&&(r=[...n.indices],n.indices.length=1);const s=[0];for(let o=1;o<i.length;o++){const{hidden:a,transferTo:d}=this.#t.get(o)??{};if(a?s.push(null):(s.push(n.length),n.push(i[o]),this.hasIndices&&n.indices.push(r[o])),d&&i[o]!==void 0){const c=s[d];if(!c)throw new Error(`Invalid capture transfer to "${c}"`);if(n[c]=i[o],this.hasIndices&&(n.indices[c]=r[o]),n.groups){this.#n||(this.#n=w1(this.source));const u=this.#n.get(d);u&&(n.groups[u]=i[o],this.hasIndices&&(n.indices.groups[u]=r[o]))}}}return n}};function _1(e,t,n,i){if(e.index+=t,e.input=n,i){const r=e.indices;for(let o=0;o<r.length;o++){const a=r[o];a&&(r[o]=[a[0]+t,a[1]+t])}const s=r.groups;s&&Object.keys(s).forEach(o=>{const a=s[o];a&&(s[o]=[a[0]+t,a[1]+t])})}}function C1(e,t){const n=new Map;for(const i of e)n.set(i,{hidden:!0});for(const[i,r]of t)for(const s of r)vn(n,s,{}).transferTo=i;return n}function w1(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let i=0,r=0,s;for(;s=t.exec(e);){const{0:o,groups:{capture:a,name:d}}=s;o==="["?i++:i?o==="]"&&i--:a&&(r++,d&&n.set(r,d))}return n}function L1(e,t){const n=S1(e,t);return n.options?new x1(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function S1(e,t){const n=hd(t),i=rd(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:As}),r=Yg(i,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),s=c1(r,n),o=Bg(s.pattern,{captureTransfers:s._captureTransfers,hiddenCaptures:s._hiddenCaptures,mode:"external"}),a=$g(o.pattern),d=Hg(a.pattern,{captureTransfers:o.captureTransfers,hiddenCaptures:o.hiddenCaptures}),c={pattern:d.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${s.flags}${s.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const u=d.hiddenCaptures.sort((m,v)=>m-v),h=Array.from(d.captureTransfers),f=r._strategy,p=c.pattern.length>=n.lazyCompileLength;(u.length||h.length||f||p)&&(c.options={...u.length&&{hiddenCaptures:u},...h.length&&{transfers:h},...f&&{strategy:f},...p&&{lazyCompile:p}})}return c}function E1(e,t){return L1(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function R1(e={}){const t={target:"auto",cache:new Map,...e};return t.regexConstructor||=n=>E1(n,{target:t.target}),{createScanner(n){return new Vm(n,t)},createString:Wm}}async function A1(e){if(hl())throw new Error(`resolveLanguage("${e}") cannot be called from a worker context. Languages must be pre-resolved on the main thread and passed to the worker via the resolvedLanguages parameter.`);const t=Zi.get(e);if(t!=null)return t;try{let n=wh.get(e);if(n==null&&Object.prototype.hasOwnProperty.call(Dr,e)&&(n=Dr[e]),n==null)throw new Error(`resolveLanguage: "${e}" not found in bundled or custom languages`);const i=n().then(({default:r})=>{const s={name:e,data:r};return hn.has(e)||hn.set(e,s),s});return Zi.set(e,i),await i}finally{Zi.delete(e)}}function I1(e){return hn.get(e)??A1(e)}function $t(e){for(const t of xs(e))if(!Nr.has(t))return!1;return!0}function _d({name:e,load:t,colorScheme:n,collection:i,displayName:r}){return{name:e,colorScheme:n,collection:i,displayName:r,load:T1(t)}}function T1(e){return async()=>Fi(ul(await e()))}const j1="pierre",N1=["pierre-dark","pierre-dark-soft","pierre-dark-vibrant","pierre-dark-protanopia-deuteranopia","pierre-dark-tritanopia"],Cd=["pierre-light","pierre-light-soft","pierre-light-vibrant","pierre-light-protanopia-deuteranopia","pierre-light-tritanopia"],P1=[...Cd,...N1],D1=new Set(Cd);function M1(e){return D1.has(e)?"light":"dark"}const O1={"pierre-dark":"Pierre Dark","pierre-dark-soft":"Pierre Dark Soft","pierre-dark-vibrant":"Pierre Dark Vibrant","pierre-dark-protanopia-deuteranopia":"Pierre Dark Protanopia & Deuteranopia","pierre-dark-tritanopia":"Pierre Dark Tritanopia","pierre-light":"Pierre Light","pierre-light-soft":"Pierre Light Soft","pierre-light-vibrant":"Pierre Light Vibrant","pierre-light-protanopia-deuteranopia":"Pierre Light Protanopia & Deuteranopia","pierre-light-tritanopia":"Pierre Light Tritanopia"},F1={"pierre-dark":()=>g(()=>import("./pierre-dark-CyvmCCZW.js"),[]),"pierre-dark-soft":()=>g(()=>import("./pierre-dark-soft-BHGpRqa4.js"),[]),"pierre-dark-vibrant":()=>g(()=>import("./pierre-dark-vibrant-BWBVywrn.js"),[]),"pierre-dark-protanopia-deuteranopia":()=>g(()=>import("./pierre-dark-protanopia-deuteranopia-Rgc0TwpF.js"),[]),"pierre-dark-tritanopia":()=>g(()=>import("./pierre-dark-tritanopia-Beq2gCRQ.js"),[]),"pierre-light":()=>g(()=>import("./pierre-light-480U9XYS.js"),[]),"pierre-light-soft":()=>g(()=>import("./pierre-light-soft-CVdyfjmI.js"),[]),"pierre-light-vibrant":()=>g(()=>import("./pierre-light-vibrant-DdTDNdfJ.js"),[]),"pierre-light-protanopia-deuteranopia":()=>g(()=>import("./pierre-light-protanopia-deuteranopia-CaVOBURG.js"),[]),"pierre-light-tritanopia":()=>g(()=>import("./pierre-light-tritanopia-B4_gpKOM.js"),[])};function H1(e){return _d({name:e,collection:j1,colorScheme:M1(e),displayName:O1[e],load:F1[e]})}const wd=fn({themes:P1.map(e=>H1(e))}),$1="shiki",Ld=["ayu-light","catppuccin-latte","everforest-light","github-light","github-light-default","github-light-high-contrast","gruvbox-light-hard","gruvbox-light-medium","gruvbox-light-soft","horizon-bright","kanagawa-lotus","light-plus","material-theme-lighter","min-light","night-owl-light","one-light","rose-pine-dawn","slack-ochin","snazzy-light","solarized-light","vitesse-light"],V1=["andromeeda","aurora-x","ayu-dark","ayu-mirage","catppuccin-frappe","catppuccin-macchiato","catppuccin-mocha","dark-plus","dracula","dracula-soft","everforest-dark","github-dark","github-dark-default","github-dark-dimmed","github-dark-high-contrast","gruvbox-dark-hard","gruvbox-dark-medium","gruvbox-dark-soft","horizon","houston","kanagawa-dragon","kanagawa-wave","laserwave","material-theme","material-theme-darker","material-theme-ocean","material-theme-palenight","min-dark","monokai","night-owl","nord","one-dark-pro","plastic","poimandres","red","rose-pine","rose-pine-moon","slack-dark","solarized-dark","synthwave-84","tokyo-night","vesper","vitesse-black","vitesse-dark"],B1=new Set(Ld);function W1(e){return B1.has(e)?"light":"dark"}const U1={andromeeda:()=>g(()=>import("./andromeeda-C4gqWexZ.js"),[]),"aurora-x":()=>g(()=>import("./aurora-x-D-2ljcwZ.js"),[]),"ayu-dark":()=>g(()=>import("./ayu-dark-DYE7WIF3.js"),[]),"ayu-light":()=>g(()=>import("./ayu-light-BA47KaF1.js"),[]),"ayu-mirage":()=>g(()=>import("./ayu-mirage-32ctXXKs.js"),[]),"catppuccin-frappe":()=>g(()=>import("./catppuccin-frappe-CZL1YF0i.js"),[]),"catppuccin-latte":()=>g(()=>import("./catppuccin-latte-DH-8KZSZ.js"),[]),"catppuccin-macchiato":()=>g(()=>import("./catppuccin-macchiato-B7yYVSCf.js"),[]),"catppuccin-mocha":()=>g(()=>import("./catppuccin-mocha-Ct7hS0mc.js"),[]),"dark-plus":()=>g(()=>import("./dark-plus-C3mMm8J8.js"),[]),dracula:()=>g(()=>import("./dracula-BzJJZx-M.js"),[]),"dracula-soft":()=>g(()=>import("./dracula-soft-BXkSAIEj.js"),[]),"everforest-dark":()=>g(()=>import("./everforest-dark-BgDCqdQA.js"),[]),"everforest-light":()=>g(()=>import("./everforest-light-C8M2exoo.js"),[]),"github-dark":()=>g(()=>import("./github-dark-DHJKELXO.js"),[]),"github-dark-default":()=>g(()=>import("./github-dark-default-Cuk6v7N8.js"),[]),"github-dark-dimmed":()=>g(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]),"github-dark-high-contrast":()=>g(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]),"github-light":()=>g(()=>import("./github-light-DAi9KRSo.js"),[]),"github-light-default":()=>g(()=>import("./github-light-default-D7oLnXFd.js"),[]),"github-light-high-contrast":()=>g(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]),"gruvbox-dark-hard":()=>g(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]),"gruvbox-dark-medium":()=>g(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]),"gruvbox-dark-soft":()=>g(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]),"gruvbox-light-hard":()=>g(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]),"gruvbox-light-medium":()=>g(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]),"gruvbox-light-soft":()=>g(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]),horizon:()=>g(()=>import("./horizon-BUw7H-hv.js"),[]),"horizon-bright":()=>g(()=>import("./horizon-bright-CUuTKBJd.js"),[]),houston:()=>g(()=>import("./houston-DnULxvSX.js"),[]),"kanagawa-dragon":()=>g(()=>import("./kanagawa-dragon-BuwD2xS4.js"),[]),"kanagawa-lotus":()=>g(()=>import("./kanagawa-lotus-C3DzagqV.js"),[]),"kanagawa-wave":()=>g(()=>import("./kanagawa-wave-DFGoQZhC.js"),[]),laserwave:()=>g(()=>import("./laserwave-DUszq2jm.js"),[]),"light-plus":()=>g(()=>import("./light-plus-B7mTdjB0.js"),[]),"material-theme":()=>g(()=>import("./material-theme-D5KoaKCx.js"),[]),"material-theme-darker":()=>g(()=>import("./material-theme-darker-BfHTSMKl.js"),[]),"material-theme-lighter":()=>g(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]),"material-theme-ocean":()=>g(()=>import("./material-theme-ocean-CyktbL80.js"),[]),"material-theme-palenight":()=>g(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]),"min-dark":()=>g(()=>import("./min-dark-CafNBF8u.js"),[]),"min-light":()=>g(()=>import("./min-light-CTRr51gU.js"),[]),monokai:()=>g(()=>import("./monokai-CR4piiQ-.js"),[]),"night-owl":()=>g(()=>import("./night-owl-C39BiMTA.js"),[]),"night-owl-light":()=>g(()=>import("./night-owl-light-CMTm3GFP.js"),[]),nord:()=>g(()=>import("./nord-Ddv68eIx.js"),[]),"one-dark-pro":()=>g(()=>import("./one-dark-pro-CxGP3dtY.js"),[]),"one-light":()=>g(()=>import("./one-light-C3Wv6jpd.js"),[]),plastic:()=>g(()=>import("./plastic-3e1v2bzS.js"),[]),poimandres:()=>g(()=>import("./poimandres-CS3Unz2-.js"),[]),red:()=>g(()=>import("./red-DMbB5_pp.js"),[]),"rose-pine":()=>g(()=>import("./rose-pine-5qJOZa0Y.js"),[]),"rose-pine-dawn":()=>g(()=>import("./rose-pine-dawn-zx0QlTCp.js"),[]),"rose-pine-moon":()=>g(()=>import("./rose-pine-moon-C9pEdX9L.js"),[]),"slack-dark":()=>g(()=>import("./slack-dark-BthQWCQV.js"),[]),"slack-ochin":()=>g(()=>import("./slack-ochin-DqwNpetd.js"),[]),"snazzy-light":()=>g(()=>import("./snazzy-light-Bw305WKR.js"),[]),"solarized-dark":()=>g(()=>import("./solarized-dark-UcubFVte.js"),[]),"solarized-light":()=>g(()=>import("./solarized-light-DCG28T6R.js"),[]),"synthwave-84":()=>g(()=>import("./synthwave-84-CbfX1IO0.js"),[]),"tokyo-night":()=>g(()=>import("./tokyo-night-hegEt444.js"),[]),vesper:()=>g(()=>import("./vesper-DRje8inN.js"),[]),"vitesse-black":()=>g(()=>import("./vitesse-black-Bkuqu6BP.js"),[]),"vitesse-dark":()=>g(()=>import("./vitesse-dark-D0r3Knsf.js"),[]),"vitesse-light":()=>g(()=>import("./vitesse-light-CVO1_9PV.js"),[])};function Po(e){return _d({name:e,collection:$1,colorScheme:W1(e),load:U1[e]})}const Sd=fn({themes:Object.freeze([...Ld.map(e=>Po(e)),...V1.map(e=>Po(e))])});fn({themes:[wd,Sd]});function G1(e){if(hl())throw new Error(`Theme "${e}" cannot be resolved from a worker context. Themes must be pre-resolved on the main thread and passed to the worker via the resolvedLanguages parameter.`);if(ut.hasRegisteredTheme(e))return;const t=Sd.getTheme(e);if(t!=null){ut.registerThemeIfAbsent(t.name,t.load);return}throw new Error(`No valid theme loader registered for "${e}"`)}function z1(e,t){if(t.name!==e)throw new Error(`resolvedTheme: themeName: ${e} does not match theme.name: ${t.name}`)}async function q1(e){G1(e);const t=await ut.resolveTheme(e);return z1(e,t),t}function K1(e){return ut.getResolvedTheme(e)??q1(e)}let Ne;async function Ed({themes:e,langs:t,preferredHighlighter:n="shiki-js"}){Ne??=Hm({themes:[],langs:["text"],engine:n==="shiki-wasm"?bl(g(()=>import("./wasm-CG6Dc4jp.js"),[])):R1()});const i=Z1(Ne)?await Ne:Ne;Ne=i;const r=[];for(const o of Array.from(new Set(t))){if(o==="text"||o==="ansi")continue;const a=I1(o);"then"in a?r.push(a):qs(a,i)}const s=[];for(const o of e){const a=K1(o);"then"in a?s.push(a):zs(a,Ne)}return(r.length>0||s.length>0)&&await Promise.all([Promise.all(r).then(o=>{qs(o,i)}),Promise.all(s).then(o=>{zs(o,i)})]),i}function Qr(e){if(!(Ne==null||"then"in Ne)&&!(e!=null&&(!$t(e.theme)||!jr(e.lang))))return Ne}function Z1(e=Ne){return e!=null&&"then"in e}for(const e of wd.getThemes())ut.registerThemeIfAbsent(e.name,e.load);function Ts(e,t){return e==null||t==null||typeof e=="string"||typeof t=="string"?e===t:e.dark===t.dark&&e.light===t.light}const Dt=new Map,Mt={"1c":"1c",abap:"abap",as:"actionscript-3",ada:"ada",adb:"ada",ads:"ada",adoc:"asciidoc",asciidoc:"asciidoc","component.html":"angular-html","component.ts":"angular-ts",conf:"nginx",htaccess:"apache",cls:"tex",trigger:"apex",apl:"apl",applescript:"applescript",scpt:"applescript",ara:"ara",asm:"asm",s:"riscv",astro:"astro",awk:"awk",bal:"ballerina",sh:"zsh",bash:"zsh",bat:"cmd",cmd:"cmd",be:"berry",beancount:"beancount",bib:"bibtex",bicep:"bicep","blade.php":"blade",bsl:"bsl",c:"c",h:"objective-cpp",cs:"csharp",cpp:"cpp",hpp:"cpp",cc:"cpp",cxx:"cpp",hh:"cpp",cdc:"cdc",cairo:"cairo",clar:"clarity",clj:"clojure",cljs:"clojure",cljc:"clojure",soy:"soy",cmake:"cmake","CMakeLists.txt":"cmake",cob:"cobol",cbl:"cobol",cobol:"cobol",CODEOWNERS:"codeowners",ql:"ql",coffee:"coffeescript",lisp:"lisp",cl:"lisp",lsp:"lisp",log:"log",v:"verilog",cql:"cql",cr:"crystal",css:"css",csv:"csv",cue:"cue",cypher:"cypher",cyp:"cypher",d:"d",dart:"dart",dax:"dax",desktop:"desktop",diff:"diff",patch:"diff",Dockerfile:"dockerfile",dockerfile:"dockerfile",env:"dotenv",dm:"dream-maker",edge:"edge",el:"emacs-lisp",ex:"elixir",exs:"elixir",elm:"elm",erb:"erb",erl:"erlang",hrl:"erlang",f:"fortran-fixed-form",for:"fortran-fixed-form",fs:"fsharp",fsi:"fsharp",fsx:"fsharp",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"fortran-free-form",f95:"fortran-free-form",fnl:"fennel",fish:"fish",ftl:"ftl",tres:"gdresource",res:"gdresource",gd:"gdscript",gdshader:"gdshader",gs:"genie",feature:"gherkin",COMMIT_EDITMSG:"git-commit","git-rebase-todo":"git-rebase",gjs:"glimmer-js",gleam:"gleam",gts:"glimmer-ts",glsl:"glsl",vert:"glsl",frag:"glsl",shader:"shaderlab",gp:"gnuplot",plt:"gnuplot",gnuplot:"gnuplot",go:"go",graphql:"graphql",gql:"graphql",groovy:"groovy",gvy:"groovy",hack:"hack",haml:"haml",hbs:"handlebars",handlebars:"handlebars",hs:"haskell",lhs:"haskell",hx:"haxe",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",fx:"hlsl",html:"html",htm:"html",http:"http",rest:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",cfg:"ini",jade:"pug",pug:"pug",java:"java",js:"javascript",mjs:"javascript",cjs:"javascript",jinja:"jinja",jinja2:"jinja",j2:"jinja",jison:"jison",jl:"julia",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",libsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",kt:"kotlin",kts:"kts",kql:"kusto",tex:"tex",ltx:"tex",lean:"lean4",less:"less",liquid:"liquid",lit:"lit",ll:"llvm",logo:"logo",lua:"lua",luau:"luau",Makefile:"makefile",mk:"makefile",makefile:"makefile",md:"markdown",markdown:"markdown",marko:"marko",m:"wolfram",mat:"matlab",mdc:"mdc",mdx:"mdx",wiki:"wikitext",mediawiki:"wikitext",mmd:"mermaid",mermaid:"mermaid",mips:"mipsasm",mojo:"mojo","🔥":"mojo",move:"move",nar:"narrat",nf:"nextflow",nim:"nim",nims:"nim",nimble:"nim",nix:"nix",nu:"nushell",mm:"objective-cpp",ml:"ocaml",mli:"ocaml",mll:"ocaml",mly:"ocaml",odin:"odin",pas:"pascal",p:"pascal",pl:"prolog",pm:"perl",t:"perl",raku:"raku",p6:"raku",pl6:"raku",php:"php",phtml:"php",pls:"plsql",sql:"sql",po:"po",polar:"polar",pcss:"postcss",pot:"pot",potx:"potx",pq:"powerquery",pqm:"powerquery",ps1:"powershell",psm1:"powershell",psd1:"powershell",prisma:"prisma",pro:"prolog",P:"prolog",properties:"properties",proto:"protobuf",pp:"puppet",purs:"purescript",py:"python",pyw:"python",pyi:"python",BUCK:"python",BUILD:"python",PACKAGE:"python",WORKSPACE:"python",Tiltfile:"python",bazel:"python",bxl:"python",bzl:"python",bzlmod:"python",star:"python",sky:"python",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",R:"r",rkt:"racket",rktl:"racket",razor:"razor",cshtml:"razor",rb:"ruby",rbw:"ruby",reg:"reg",regex:"regexp",rel:"rel",rs:"rust",rst:"rst",rake:"ruby",gemspec:"ruby",jbuilder:"ruby",builder:"ruby",rabl:"ruby",arb:"ruby",ru:"ruby",podspec:"ruby",Gemfile:"ruby",Rakefile:"ruby",Guardfile:"ruby",Capfile:"ruby",Berksfile:"ruby",Brewfile:"ruby",Vagrantfile:"ruby",Thorfile:"ruby",Appraisals:"ruby",Dangerfile:"ruby",sas:"sas",sass:"sass",scala:"scala",sc:"scala",scm:"scheme",ss:"scheme",sld:"scheme",scss:"scss",sdbl:"sdbl",shadergraph:"shader",st:"smalltalk",sol:"solidity",sparql:"sparql",rq:"sparql",spl:"splunk",config:"ssh-config",do:"stata",ado:"stata",dta:"stata",styl:"stylus",stylus:"stylus",svelte:"svelte",swift:"swift",sv:"system-verilog",svh:"system-verilog",service:"systemd",socket:"systemd",device:"systemd",timer:"systemd",talon:"talonscript",tasl:"tasl",tcl:"tcl",templ:"templ",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"typescript",mts:"typescript",cts:"typescript",tsp:"typespec",tsv:"tsv",tsx:"tsx",ttl:"turtle",twig:"twig",typ:"typst",vv:"v",vala:"vala",vapi:"vala",vb:"vb",vbs:"vb",bas:"vb",vh:"verilog",vhd:"vhdl",vhdl:"vhdl",vim:"vimscript",vue:"vue","vine.ts":"vue-vine",vy:"vyper",wasm:"wasm",wat:"wasm",wy:"文言",wgsl:"wgsl",wit:"wit",wl:"wolfram",nb:"wolfram",xml:"xml",xsl:"xsl",xslt:"xsl",yaml:"yaml",yml:"yml",zs:"zenscript",zig:"zig",zsh:"zsh",sty:"tex"};function tt(e){const t=Do(e);if(t!=null)return t;const n=e.split(/[/\\]/).pop()??e;return n===e?"text":Do(n)??"text"}function Do(e){if(Dt.has(e))return Dt.get(e)??"text";if(Object.hasOwn(Mt,e))return Mt[e]??null;const t=e.match(/\.([^/\\]+\.[^/\\]+)$/);if(t!=null){if(Dt.has(t[1]))return Dt.get(t[1])??"text";if(Object.hasOwn(Mt,t[1]))return Mt[t[1]]??"text"}const n=e.match(/\.([^.]+)$/)?.[1]??"";return Dt.has(n)?Dt.get(n)??"text":Object.hasOwn(Mt,n)?Mt[n]??"text":null}function Mo(e,t){for(const n of t)e.push(n)}function Me(e){return{type:"text",value:e}}function W({tagName:e,children:t=[],properties:n={}}){return{type:"element",tagName:e,properties:n,children:t}}function xi({name:e,width:t=16,height:n=16,properties:i}){return W({tagName:"svg",properties:{width:t,height:n,viewBox:"0 0 16 16",...i},children:[W({tagName:"use",properties:{href:`#${e.replace(/^#/,"")}`}})]})}function X1(e){let t=e.children[0];for(;t!=null;){if(t.type==="element"&&t.tagName==="code")return t;"children"in t?t=t.children[0]:t=null}}function Hn(e){return W({tagName:"div",properties:{"data-gutter":""},children:e})}function J1(e,t,n,i={}){return W({tagName:"div",properties:{"data-line-type":e,"data-column-number":t,"data-line-index":n,...i},children:t!=null?[W({tagName:"span",properties:{"data-line-number-content":""},children:[Me(`${t}`)]})]:void 0})}function Le(e,t,n){return W({tagName:"div",properties:{"data-gutter-buffer":t,"data-buffer-size":n,"data-line-type":t==="annotation"?void 0:e,style:t==="annotation"?`grid-row: span ${n};`:`grid-row: span ${n};min-height:calc(${n} * 1lh);`}})}function Q1(e,t,n){const i=typeof n.lineInfo=="function"?n.lineInfo(t):n.lineInfo[t-1];if(i==null){const r=`processLine: line ${t}, contains no state.lineInfo`;throw console.error(r,{node:e,line:t,state:n}),new Error(r)}return e.tagName="div",e.properties["data-line"]=i.lineNumber,e.properties["data-alt-line"]=i.altLineNumber,e.properties["data-line-type"]=i.type,e.properties["data-line-index"]=i.lineIndex,e.children.length===0&&e.children.push(Me(`
|
|
154
|
+
`)),e}const $n=Symbol("no-token"),cr=Symbol("multiple-tokens");function Rd(e){const t=Y1(e);if(t!=null)return t;let n=$n;const i=[];let r=[],s;const o=()=>{if(r.length===0||s==null){r=[],s=void 0;return}if(r.length===1){const d=r[0];if(d?.type==="element"){e0(d,s);for(const c of d.children)si(c)}else si(d);i.push(d),r=[],s=void 0;return}for(const d of r)si(d);i.push(W({tagName:"span",properties:{"data-char":s},children:r})),r=[],s=void 0},a=d=>{if(d!==$n){if(d===cr){n=cr;return}if(n===$n){n=d;return}n!==d&&(n=cr)}};for(const d of e.children){const c=d.type==="element"?Rd(d):$n;if(a(c),typeof c!="number"){o(),i.push(d);continue}s!=null&&s!==c&&o(),s??=c,r.push(d)}return o(),e.children=i,n}function Y1(e){const t=e.properties["data-char"];if(typeof t=="number")return t}function si(e){if(e.type==="element"){e.properties["data-char"]=void 0;for(const t of e.children)si(t)}}function e0(e,t){e.properties["data-char"]=t}function t0(e={}){const{classPrefix:t="__shiki_",classSuffix:n="",classReplacer:i=a=>a}=e,r=new Map;function s(a){return Object.entries(a).map(([d,c])=>`${d}:${c}`).join(";")}function o(a){const d=typeof a=="string"?a:s(a);let c=t+n0(d)+n;return c=i(c),r.has(c)||r.set(c,typeof a=="string"?a:{...a}),c}return{name:"@shikijs/transformers:style-to-class",pre(a){if(!a.properties.style)return;const d=o(a.properties.style);delete a.properties.style,this.addClassToHast(a,d)},tokens(a){for(const d of a)for(const c of d){if(!c.htmlStyle)continue;const u=o(c.htmlStyle);c.htmlStyle={},c.htmlAttrs||={},c.htmlAttrs.class?c.htmlAttrs.class+=` ${u}`:c.htmlAttrs.class=u}},getClassRegistry(){return r},getCSS(){let a="";for(const[d,c]of r.entries())a+=`.${d}{${typeof c=="string"?c:s(c)}}`;return a},clearRegistry(){r.clear()}}}function n0(e,t=0){let n=3735928559^t,i=1103547991^t;for(let r=0,s;r<e.length;r++)s=e.charCodeAt(r),n=Math.imul(n^s,2654435761),i=Math.imul(i^s,1597334677);return n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(i^i>>>13,3266489909),i=Math.imul(i^i>>>16,2246822507),i^=Math.imul(n^n>>>13,3266489909),(4294967296*(2097151&i)+(n>>>0)).toString(36).slice(0,6)}function i0(e=!1,t=!1){const n={lineInfo:[]},i=[{line(r){return delete r.properties.class,r},pre(r){const s=X1(r),o=[];if(s!=null){let a=1;for(const d of s.children)d.type==="element"&&(e&&Rd(d),o.push(Q1(d,a,n)),a++);s.children=o}return r},...e?{tokens(r){for(const s of r){let o=0;for(const a of s){const d=a;d.__lineChar??=o,o+=a.content.length}}},preprocess(r,s){s.mergeWhitespaces="never"},span(r,s,o,a,d){if(d?.offset!=null&&d.content!=null){const c=d.__lineChar;return c!=null&&(r.properties["data-char"]=c),r}return r}}:null}];return t&&i.push(r0,Oo),e&&i.push({line:r=>(r.type==="element"&&r.children.length===0&&r.children.push({type:"element",tagName:"br",properties:{},children:[]}),r)}),{state:n,transformers:i,toClass:Oo}}const Oo=t0({classPrefix:"hl-"}),r0={name:"token-style-normalizer",tokens(e){for(const t of e)for(const n of t){if(n.htmlStyle!=null)continue;const i={};n.color!=null&&(i.color=n.color),n.bgColor!=null&&(i["background-color"]=n.bgColor),n.fontStyle!=null&&n.fontStyle!==0&&((n.fontStyle&1)!==0&&(i["font-style"]="italic"),(n.fontStyle&2)!==0&&(i["font-weight"]="bold"),(n.fontStyle&4)!==0&&(i["text-decoration"]="underline")),Object.keys(i).length>0&&(n.htmlStyle=i)}}};function Se(e){return`--${e==="token"?"diffs-token":"diffs"}-`}const s0=/^#(?:[0-9a-f]{3}0|[0-9a-f]{6}00)$/i,o0=/^0(?:\.0+)?%?$/;function a0(e){const t=e.indexOf("(");if(t<=0||!e.endsWith(")"))return;const n=e.slice(0,t).trim();if(!/^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color)$/i.test(n))return;const i=e.slice(t+1,-1).trim();if(i.length===0)return;const r=i.lastIndexOf("/");if(r!==-1)return i.slice(r+1).trim();if(/^(?:rgba|hsla)$/i.test(n)){const s=i.split(",");if(s.length===4)return s[3]?.trim()}}function l0(e){const t=/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})\b/i.exec(e.trim());if(t==null)return null;const n=t[1];let i,r=1;return n.length===3?i=n.split("").map(s=>s+s).join(""):n.length===6?i=n:(i=n.slice(0,6),r=parseInt(n.slice(6,8),16)/255),[parseInt(i.slice(0,2),16),parseInt(i.slice(2,4),16),parseInt(i.slice(4,6),16),r]}function ur(e){if(e==null)return null;const t=l0(e);if(t==null)return null;const n=t[0]/255,i=t[1]/255,r=t[2]/255,s=o=>o<=.03928?o/12.92:((o+.055)/1.055)**2.4;return .2126*s(n)+.7152*s(i)+.0722*s(r)}function Fo(e){if(e==null)return!1;const t=e.trim().toLowerCase();if(t==="transparent"||s0.test(t))return!0;const n=a0(t);return n!=null&&o0.test(n)}function d0(e,t,n){if(t==null||n==null)return!1;const i=ur(e),r=ur(t),s=ur(n);return i==null||r==null||s==null?!1:Math.abs(i-s)<Math.abs(i-r)}const Ho=new WeakMap;function hr(e){const t=Ho.get(e);if(t!=null)return t;const n=e.colors??{},i={...n},r=n["editor.background"]??e.bg,s=n["editor.foreground"]??e.fg,o=n["sideBar.background"]??r,a=n["sideBar.foreground"]??s;Ie(i,"editor.background",r),Ie(i,"editor.foreground",s),Ie(i,"sideBar.background",o),Ie(i,"sideBar.foreground",a),Ie(i,"input.background",n["input.background"]??o),Ie(i,"sideBarSectionHeader.foreground",n["sideBarSectionHeader.foreground"]??a),Ie(i,"list.activeSelectionForeground",n["list.activeSelectionForeground"]??a),Ie(i,"gitDecoration.addedResourceForeground",fr(n["gitDecoration.addedResourceForeground"],n["terminal.ansiGreen"],n["editorGutter.addedBackground"])),Ie(i,"gitDecoration.modifiedResourceForeground",fr(n["gitDecoration.modifiedResourceForeground"],n["terminal.ansiBlue"],n["editorGutter.modifiedBackground"])),Ie(i,"gitDecoration.deletedResourceForeground",fr(n["gitDecoration.deletedResourceForeground"],n["terminal.ansiRed"],n["editorGutter.deletedBackground"]));const d=(Fo(n["list.focusOutline"])?void 0:n["list.focusOutline"])??(Fo(n.focusBorder)?void 0:n.focusBorder);d!=null?i["list.focusOutline"]=d:delete i["list.focusOutline"];const c=n["list.hoverBackground"];c!=null&&(c0(c,o)||d0(c,o,a))&&delete i["list.hoverBackground"];const u=Object.freeze({...e,colors:Object.freeze(i)});return Ho.set(e,u),u}function Ie(e,t,n){n!=null&&n!==""&&(e[t]=n)}function fr(...e){for(const t of e)if(t!=null&&t!=="")return t}function c0(e,t){return t!=null&&e.toLowerCase()===t.toLowerCase()}function u0({theme:e=De,highlighter:t,prefix:n}){let i="";if(typeof e=="string"){const r=t.getTheme(e),s=hr(r);i+=`color:${s.fg};`,i+=`background-color:${s.bg};`,i+=`${Se("global")}fg:${s.fg};`,i+=`${Se("global")}bg:${s.bg};`,i+=pr(r,n)}else{let r=t.getTheme(e.dark),s=hr(r);i+=`${Se("global")}dark:${s.fg};`,i+=`${Se("global")}dark-bg:${s.bg};`,i+=pr(r,"dark"),r=t.getTheme(e.light),s=hr(r),i+=`${Se("global")}light:${s.fg};`,i+=`${Se("global")}light-bg:${s.bg};`,i+=pr(r,"light")}return i}function pr(e,t){t=t!=null?`${t}-`:"";let n="";const i=e.colors?.["gitDecoration.addedResourceForeground"]??e.colors?.["terminal.ansiGreen"];i!=null&&(n+=`${Se("global")}${t}addition-color:${i};`);const r=e.colors?.["gitDecoration.deletedResourceForeground"]??e.colors?.["terminal.ansiRed"];r!=null&&(n+=`${Se("global")}${t}deletion-color:${r};`);const s=e.colors?.["gitDecoration.modifiedResourceForeground"]??e.colors?.["terminal.ansiBlue"];return s!=null&&(n+=`${Se("global")}${t}modified-color:${s};`),n}function $o(e){let t=e.children[0];for(;t!=null;){if(t.type==="element"&&t.tagName==="code")return t.children;"children"in t?t=t.children[0]:t=null}throw console.error(e),new Error("getLineNodes: Unable to find children")}var h0=class extends Error{constructor(){super("WorkerPoolManager: operation canceled because the pool terminated"),this.name="WorkerPoolTerminatedError"}},f0=class extends Error{constructor(){super("WorkerPoolManager: operation canceled before the task completed"),this.name="WorkerPoolTaskCanceledError"}},p0=class extends Error{constructor(e,t){super(e,t),this.name="WorkerPoolWorkerError"}};const m0=new WeakSet;function g0(e){return e instanceof h0||e instanceof f0}function b0(e){return g0(e)||e instanceof p0&&m0.has(e)}function Q(e,t){return e?.cacheKey!=null||t?.cacheKey!=null?e?.cacheKey===t?.cacheKey:e===t}function Ad(e,t){return e?.cacheKey===t?.cacheKey&&e?.contents===t?.contents&&e?.name===t?.name&&e?.lang===t?.lang}function Ue(e,t){return Ts(e.theme,t.theme)&&e.useTokenTransformer===t.useTokenTransformer&&e.tokenizeMaxLineLength===t.tokenizeMaxLineLength&&e.lineDiffType===t.lineDiffType&&e.maxLineDiffLength===t.maxLineDiffLength}function sn(e){const t=e.lang??tt(e.name),n=e.lang??(e.prevName!=null?tt(e.prevName):"text");return t==="text"&&n==="text"}function mr(e){return{...gh,...e}}function on(e,t){return Yr(e,t)+v0(e,t)}function Yr(e,t){return t?0:e.diffHeaderHeight}function v0(e,t){return e.paddingTop??(t?e.spacing:0)}function Id(e){return e.paddingBottom??e.spacing}function y0(e){switch(e){case"simple":return 4;case"metadata":case"line-info":case"line-info-basic":case"custom":return 32}}function yn(e){return[_e(e.additionStart,e.additionCount)+1,pe(e.additionStart,e.additionCount)+1]}function nt({isPartial:e,rangeSize:t,expandedHunks:n,hunkIndex:i,collapsedContextThreshold:r}){const s=Math.max(t,0);if(s===0||e)return{fromStart:0,fromEnd:0,rangeSize:s,collapsedLines:s,renderAll:!1};if(n===!0||s<=r)return{fromStart:s,fromEnd:0,rangeSize:s,collapsedLines:0,renderAll:!0};const o=n?.get(i),a=Math.min(Math.max(o?.fromStart??0,0),s),d=Math.min(Math.max(o?.fromEnd??0,0),s),c=a+d,u=c>=s;return{fromStart:u?s:a,fromEnd:u?0:d,rangeSize:s,collapsedLines:Math.max(s-c,0),renderAll:u}}function k0(e){const t=e.hunks[e.hunks.length-1];if(t==null||e.isPartial||e.additionLines.length===0||e.deletionLines.length===0)return!1;const n=e.additionLines.length-pe(t.additionStart,t.additionCount),i=e.deletionLines.length-pe(t.deletionStart,t.deletionCount);return n<=0&&i<=0?!1:n!==i}function Td({fileDiff:e,errorPrefix:t}){const n=e.hunks[e.hunks.length-1];if(n==null||e.isPartial||e.additionLines.length===0||e.deletionLines.length===0)return 0;const i=e.additionLines.length-pe(n.additionStart,n.additionCount),r=e.deletionLines.length-pe(n.deletionStart,n.deletionCount);if(i<=0&&r<=0)return 0;if(i!==r)throw new Error(`${t}: trailing context mismatch (additions=${i}, deletions=${r}) for ${e.name}`);return Math.min(i,r)}function it({fileDiff:e,hunkIndex:t,expandedHunks:n,collapsedContextThreshold:i,errorPrefix:r}){if(t!==e.hunks.length-1)return;const s=Td({fileDiff:e,errorPrefix:r});if(s<=0)return;if(n===!0||s<=i)return{fromStart:s,fromEnd:0,rangeSize:s,collapsedLines:0,renderAll:!0};const o=n?.get(e.hunks.length),a=Math.min(Math.max(o?.fromStart??0,0),s);return{fromStart:a,fromEnd:0,rangeSize:s,collapsedLines:s-a,renderAll:a>=s}}function jd({fileDiff:e,lineNumber:t,expandedHunks:n,collapsedContextThreshold:i}){if(n===!0||e.isPartial)return!0;for(const[a,d]of e.hunks.entries()){const[c,u]=yn(d);if(t<c){const h=nt({isPartial:e.isPartial,rangeSize:d.collapsedBefore,expandedHunks:n,hunkIndex:a,collapsedContextThreshold:i}),f=c-h.rangeSize;return h.renderAll||t<f+h.fromStart||t>=c-h.fromEnd}if(t<u)return!0}const r=it({fileDiff:e,hunkIndex:e.hunks.length-1,expandedHunks:n,collapsedContextThreshold:i,errorPrefix:"isAdditionLineRenderable"});if(r==null||r.renderAll)return!0;const s=e.hunks[e.hunks.length-1],[,o]=yn(s);return t<o+r.fromStart||t>=o+r.rangeSize}function x0({fileDiff:e,lineNumber:t,direction:n,expandedHunks:i,collapsedContextThreshold:r}){if(i===!0||e.isPartial)return t;const s=[];let o=1;for(const[d,c]of e.hunks.entries()){const[u,h]=yn(c),f=nt({isPartial:e.isPartial,rangeSize:c.collapsedBefore,expandedHunks:i,hunkIndex:d,collapsedContextThreshold:r}),p=u-f.rangeSize;f.renderAll?s.push([p,u]):(f.fromStart>0&&s.push([p,p+f.fromStart]),f.fromEnd>0&&s.push([u-f.fromEnd,u])),s.push([u,h]),o=h}const a=it({fileDiff:e,hunkIndex:e.hunks.length-1,expandedHunks:i,collapsedContextThreshold:r,errorPrefix:"getNearestRenderableAdditionLine"});if(a!=null){const d=o;o=d+a.rangeSize,a.renderAll?s.push([d,o]):a.fromStart>0&&s.push([d,d+a.fromStart])}if(t>=o)return t;if(n==="down"){for(const[d,c]of s)if(c>t)return Math.max(d,t);return}for(let d=s.length-1;d>=0;d--){const[c,u]=s[d];if(c<=t)return Math.min(u-1,t)}}function Nd({type:e,metrics:t}){return t.hunkSeparatorHeight??y0(e)}function Pd({type:e,metrics:t}){return e==="simple"||e==="metadata"||e==="line-info-basic"?0:t.spacing}function _0({type:e,hunkIndex:t,hunkSpecs:n}){switch(e){case"simple":return t>0;case"metadata":return n!=null;case"line-info":case"line-info-basic":case"custom":return!0}}function C0(e){return e!=="simple"&&e!=="metadata"}function an({type:e,metrics:t,hunkIndex:n,hunkSpecs:i}){if(!_0({type:e,hunkIndex:n,hunkSpecs:i}))return;const r=Nd({type:e,metrics:t}),s=Pd({type:e,metrics:t}),o=n>0?s:0,a=s;return{height:r,gapBefore:o,gapAfter:a,totalHeight:o+r+a}}function _t({type:e,metrics:t}){if(!C0(e))return;const n=Nd({type:e,metrics:t}),i=Pd({type:e,metrics:t});return{height:n,gapBefore:i,gapAfter:0,totalHeight:i+n}}function Rt({diff:e,diffStyle:t,startingLine:n=0,totalLines:i=1/0,expandedHunks:r,collapsedContextThreshold:s=1,callback:o}){const a=w0({diff:e,diffStyle:t,startingLine:n,expandedHunks:r,collapsedContextThreshold:s}),d={viewportStart:n,viewportEnd:n+i,isWindowedHighlight:n>0||i<1/0,splitCount:a.splitCount,unifiedCount:a.unifiedCount,finalHunkIndex:e.hunks.length-1,shouldBreak(){if(!d.isWindowedHighlight)return!1;const c=d.unifiedCount>=n+i,u=d.splitCount>=n+i;return t==="unified"?c:(t==="split"||c)&&u},shouldSkip(c,u){if(!d.isWindowedHighlight)return!1;const h=c>0&&d.unifiedCount+c<=n,f=u>0&&d.splitCount+u<=n;return t==="unified"?h:(t==="split"||h)&&f},incrementCounts(c,u){(t==="unified"||t==="both")&&(d.unifiedCount+=c),(t==="split"||t==="both")&&(d.splitCount+=u)},isInWindow(c,u){if(!d.isWindowedHighlight)return!0;const h=d.isInUnifiedWindow(c),f=d.isInSplitWindow(u);return t==="unified"?h:t==="split"?f:h||f},isInUnifiedWindow(c){return!d.isWindowedHighlight||d.unifiedCount>=n-c&&d.unifiedCount<n+i},isInSplitWindow(c){return!d.isWindowedHighlight||d.splitCount>=n-c&&d.splitCount<n+i},emit(c,u=!1){return u||(t==="unified"?d.incrementCounts(1,0):t==="split"?d.incrementCounts(0,1):d.incrementCounts(1,1)),o(c)??!1}};e:for(let c=a.hunkIndex;c<e.hunks.length;c++){let y=function(R,j){return k==null||k.collapsedLines<=0||k.fromStart+k.fromEnd>0?0:t==="unified"?R===u.unifiedLineStart+u.unifiedLineCount-1?k.collapsedLines:0:j===u.splitLineStart+u.splitLineCount-1?k.collapsedLines:0},C=function(){return x?0:(x=!0,v.collapsedLines)};const u=e.hunks[c];if(u==null)throw new Error("iterateOverDiff: invalid hunk index");if(d.shouldBreak())break;const h=_e(u.deletionStart,u.deletionCount),f=_e(u.additionStart,u.additionCount),p=!e.isPartial&&u.deletionCount===0?h:u.deletionLineIndex,m=!e.isPartial&&u.additionCount===0?f:u.additionLineIndex,v=nt({isPartial:e.isPartial,rangeSize:u.collapsedBefore,expandedHunks:r,hunkIndex:c,collapsedContextThreshold:s}),k=c===d.finalHunkIndex?it({fileDiff:e,hunkIndex:c,expandedHunks:r,collapsedContextThreshold:s,errorPrefix:"iterateOverDiff"}):void 0,b=v.fromStart+v.fromEnd;let x=v.collapsedLines===0;if(d.shouldSkip(b,b))d.incrementCounts(b,b),C();else{let R=u.unifiedLineStart-v.rangeSize,j=u.splitLineStart-v.rangeSize,F=p-v.rangeSize,G=m-v.rangeSize,D=h+1-v.rangeSize,B=f+1-v.rangeSize;if(Vn(d,v.fromStart,t,q=>d.emit({hunkIndex:c,hunk:u,collapsedBefore:0,collapsedAfter:0,type:"context-expanded",deletionLine:{lineNumber:D+q,lineIndex:F+q,noEOFCR:!1,unifiedLineIndex:R+q,splitLineIndex:j+q},additionLine:{unifiedLineIndex:R+q,splitLineIndex:j+q,lineIndex:G+q,lineNumber:B+q,noEOFCR:!1}}))||(R=u.unifiedLineStart-v.fromEnd,j=u.splitLineStart-v.fromEnd,F=p-v.fromEnd,G=m-v.fromEnd,D=h+1-v.fromEnd,B=f+1-v.fromEnd,Vn(d,v.fromEnd,t,q=>d.emit({hunkIndex:c,hunk:u,collapsedBefore:C(),collapsedAfter:0,type:"context-expanded",deletionLine:{lineNumber:D+q,lineIndex:F+q,noEOFCR:!1,unifiedLineIndex:R+q,splitLineIndex:j+q},additionLine:{unifiedLineIndex:R+q,splitLineIndex:j+q,lineIndex:G+q,lineNumber:B+q,noEOFCR:!1}}),()=>{C()})))break e}let _=u.unifiedLineStart,w=u.splitLineStart,L=p,I=m,E=h+1,T=f+1;const O=u.hunkContent.at(-1);for(const R of u.hunkContent){if(d.shouldBreak())break e;const j=R===O;if(R.type==="context"){if(d.shouldSkip(R.lines,R.lines))d.incrementCounts(R.lines,R.lines),C();else if(Vn(d,R.lines,t,F=>{const G=j&&F===R.lines-1,D=_+F,B=w+F;return d.emit({hunkIndex:c,hunk:u,collapsedBefore:C(),collapsedAfter:y(D,B),type:"context",deletionLine:{lineNumber:E+F,lineIndex:L+F,noEOFCR:G&&u.noEOFCRDeletions,unifiedLineIndex:D,splitLineIndex:B},additionLine:{unifiedLineIndex:D,splitLineIndex:B,lineIndex:I+F,lineNumber:T+F,noEOFCR:G&&u.noEOFCRAdditions}})},()=>{C()}))break e;_+=R.lines,w+=R.lines,L+=R.lines,I+=R.lines,E+=R.lines,T+=R.lines}else{const F=Math.max(R.deletions,R.additions),G=R.deletions+R.additions;if(!d.shouldSkip(G,F)){const D=E0(d,R,t);(D[0]?.[0]??0)>0&&C();for(const[B,q]of D)for(let $=B;$<q;$++){const U=y(_+$,t==="unified"?w+($<R.deletions?$:$-R.deletions):w+$);if(d.emit(R0({hunkIndex:c,hunk:u,collapsedBefore:C(),collapsedAfter:U,diffStyle:t,index:$,unifiedLineIndex:_,splitLineIndex:w,additionLineIndex:I,deletionLineIndex:L,additionLineNumber:T,deletionLineNumber:E,content:R,isLastContent:j,unifiedCount:G,splitCount:F}),!0))break e}}C(),d.incrementCounts(G,F),_+=G,w+=F,L+=R.deletions,I+=R.additions,E+=R.deletions,T+=R.additions}}if(k!=null){const{collapsedLines:R,fromStart:j,fromEnd:F}=k,G=j+F;if(Vn(d,G,t,D=>{const B=D===G-1;return d.emit({hunkIndex:e.hunks.length,hunk:void 0,collapsedBefore:0,collapsedAfter:B?R:0,type:"context-expanded",deletionLine:{lineNumber:E+D,lineIndex:L+D,noEOFCR:!1,unifiedLineIndex:_+D,splitLineIndex:w+D},additionLine:{unifiedLineIndex:_+D,splitLineIndex:w+D,lineIndex:I+D,lineNumber:T+D,noEOFCR:!1}})},void 0,()=>d.shouldBreak()))break e}}}function w0({diff:e,diffStyle:t,startingLine:n,expandedHunks:i,collapsedContextThreshold:r}){if(n<=0||t==="both")return{hunkIndex:0,splitCount:0,unifiedCount:0};const s=L0({diff:e,expandedHunks:i,collapsedContextThreshold:r});let o=0,a=e.hunks.length-1,d=e.hunks.length;for(;o<=a;){const u=o+a>>1,h=s[u+1];if(h==null)throw new Error("iterateOverDiff: invalid hunk prefix index");(t==="unified"?h.unifiedCount:h.splitCount)>n?(d=u,a=u-1):o=u+1}if(d>=e.hunks.length){const u=s[e.hunks.length];if(u==null)throw new Error("iterateOverDiff: invalid terminal hunk prefix index");return{hunkIndex:e.hunks.length,splitCount:u.splitCount,unifiedCount:u.unifiedCount}}const c=s[d];if(c==null)throw new Error("iterateOverDiff: invalid selected hunk prefix index");return{hunkIndex:d,splitCount:c.splitCount,unifiedCount:c.unifiedCount}}function L0({diff:e,expandedHunks:t,collapsedContextThreshold:n}){let i=0,r=0;const s=e.hunks.length-1,o=[{splitCount:0,unifiedCount:0}];for(let a=0;a<e.hunks.length;a++){const d=e.hunks[a];if(d==null)throw new Error("iterateOverDiff: invalid hunk summary index");const c=nt({isPartial:e.isPartial,rangeSize:d.collapsedBefore,expandedHunks:t,hunkIndex:a,collapsedContextThreshold:n}),u=c.fromStart+c.fromEnd;i+=u+d.splitLineCount,r+=u+d.unifiedLineCount;const h=a===s?it({fileDiff:e,hunkIndex:a,expandedHunks:t,collapsedContextThreshold:n,errorPrefix:"iterateOverDiff"}):void 0;if(h!=null){const f=h.fromStart+h.fromEnd;i+=f,r+=f}o.push({splitCount:i,unifiedCount:r})}return o}function S0(e,t,n){if(!e.isWindowedHighlight||t<=0)return[0,t];const i=[];function r(a){const d=Math.max(0,e.viewportStart-a),c=Math.min(t,e.viewportEnd-a);c>d&&i.push([d,c])}if(n!=="split"&&r(e.unifiedCount),n!=="unified"&&r(e.splitCount),i.length===0)return[0,0];let s=i[0][0],o=i[0][1];for(let a=1;a<i.length;a++){const d=i[a];s=Math.min(s,d[0]),o=Math.max(o,d[1])}return[s,o]}function Vn(e,t,n,i,r,s){const[o,a]=S0(e,t,n);o>0&&(e.incrementCounts(o,o),r?.());let d=o;for(;d<t;){if(s?.()===!0)return!0;if(d>=a){e.incrementCounts(t-d,t-d);break}if(e.isInWindow(0,0)){if(i(d)===!0)return!0}else e.incrementCounts(1,1);d++}return!1}function E0(e,t,n){if(!e.isWindowedHighlight)return[[0,n==="unified"?t.deletions+t.additions:Math.max(t.deletions,t.additions)]];const i=n!=="split",r=n!=="unified",s=n==="unified"?"unified":"split",o=[];function a(h,f){if(h+f<=e.viewportStart||h>=e.viewportEnd)return;const p=Math.max(0,e.viewportStart-h),m=Math.min(f,e.viewportEnd-h);return m>p?[p,m]:void 0}function d(h,f){return s==="split"?h:f==="additions"?[h[0]+t.deletions,h[1]+t.deletions]:h}function c(h,f){if(h==null)return;const[p,m]=d(h,f);m>p&&o.push([p,m])}if(i&&(c(a(e.unifiedCount,t.deletions),"deletions"),c(a(e.unifiedCount+t.deletions,t.additions),"additions")),r&&(c(a(e.splitCount,t.deletions),"deletions"),c(a(e.splitCount,t.additions),"additions")),o.length===0)return o;o.sort((h,f)=>h[0]-f[0]);const u=[o[0]];for(const[h,f]of o.slice(1)){const p=u[u.length-1];h<=p[1]?p[1]=Math.max(p[1],f):u.push([h,f])}return u}function R0({hunkIndex:e,hunk:t,collapsedAfter:n,collapsedBefore:i,diffStyle:r,index:s,unifiedLineIndex:o,splitLineIndex:a,additionLineIndex:d,deletionLineIndex:c,additionLineNumber:u,deletionLineNumber:h,content:f,isLastContent:p,unifiedCount:m,splitCount:v}){const k=s<f.deletions?o+s:void 0,b=r==="unified"?s>=f.deletions?o+s:void 0:s<f.additions?o+f.deletions+s:void 0,y=r==="unified"?a+(s<f.deletions?s:s-f.deletions):a+s,x=s<f.deletions?c+s:void 0,C=s<f.deletions?h+s:void 0,_=r==="unified"?s>=f.deletions?d+(s-f.deletions):void 0:s<f.additions?d+s:void 0,w=r==="unified"?s>=f.deletions?u+(s-f.deletions):void 0:s<f.additions?u+s:void 0,L=r==="unified"?p&&s===f.deletions-1&&t.noEOFCRDeletions:p&&s===v-1&&t.noEOFCRDeletions,I=r==="unified"?p&&s===m-1&&t.noEOFCRAdditions:p&&s===v-1&&t.noEOFCRAdditions,E=x!=null&&C!=null&&k!=null?{lineNumber:C,lineIndex:x,noEOFCR:L,unifiedLineIndex:k,splitLineIndex:y}:void 0,T=_!=null&&w!=null&&b!=null?{unifiedLineIndex:b,splitLineIndex:y,lineIndex:_,lineNumber:w,noEOFCR:I}:void 0;if(E==null&&T!=null)return{type:"change",hunkIndex:e,hunk:t,collapsedAfter:n,collapsedBefore:i,deletionLine:void 0,additionLine:T};if(E!=null&&T==null)return{type:"change",hunkIndex:e,hunk:t,collapsedAfter:n,collapsedBefore:i,deletionLine:E,additionLine:void 0};if(E==null||T==null)throw new Error("iterateOverDiff: missing change line data");return{type:"change",hunkIndex:e,hunk:t,collapsedAfter:n,collapsedBefore:i,deletionLine:E,additionLine:T}}function Oe(e){let t=e.length;return e.charCodeAt(t-1)===10&&(t--,e.charCodeAt(t-1)===13&&t--),e.slice(0,t)}class js{diff(t,n,i={}){let r;typeof i=="function"?(r=i,i={}):"callback"in i&&(r=i.callback);const s=this.castInput(t,i),o=this.castInput(n,i),a=this.removeEmpty(this.tokenize(s,i)),d=this.removeEmpty(this.tokenize(o,i));return this.diffWithOptionsObj(a,d,i,r)}diffWithOptionsObj(t,n,i,r){var s;const o=y=>{if(y=this.postProcess(y,i),r){setTimeout(function(){r(y)},0);return}else return y},a=n.length,d=t.length;let c=1,u=a+d;i.maxEditLength!=null&&(u=Math.min(u,i.maxEditLength));const h=(s=i.timeout)!==null&&s!==void 0?s:1/0,f=Date.now()+h,p=[{oldPos:-1,lastComponent:void 0}];let m=this.extractCommon(p[0],n,t,0,i);if(p[0].oldPos+1>=d&&m+1>=a)return o(this.buildValues(p[0].lastComponent,n,t));let v=-1/0,k=1/0;const b=()=>{for(let y=Math.max(v,-c);y<=Math.min(k,c);y+=2){let x;const C=p[y-1],_=p[y+1];C&&(p[y-1]=void 0);let w=!1;if(_){const I=_.oldPos-y;w=_&&0<=I&&I<a}const L=C&&C.oldPos+1<d;if(!w&&!L){p[y]=void 0;continue}if(!L||w&&C.oldPos<_.oldPos?x=this.addToPath(_,!0,!1,0,i):x=this.addToPath(C,!1,!0,1,i),m=this.extractCommon(x,n,t,y,i),x.oldPos+1>=d&&m+1>=a)return o(this.buildValues(x.lastComponent,n,t))||!0;p[y]=x,x.oldPos+1>=d&&(k=Math.min(k,y-1)),m+1>=a&&(v=Math.max(v,y+1))}c++};if(r)(function y(){setTimeout(function(){if(c>u||Date.now()>f)return r(void 0);b()||y()},0)})();else for(;c<=u&&Date.now()<=f;){const y=b();if(y)return y}}addToPath(t,n,i,r,s){const o=t.lastComponent;return o&&!s.oneChangePerToken&&o.added===n&&o.removed===i?{oldPos:t.oldPos+r,lastComponent:{count:o.count+1,added:n,removed:i,previousComponent:o.previousComponent}}:{oldPos:t.oldPos+r,lastComponent:{count:1,added:n,removed:i,previousComponent:o}}}extractCommon(t,n,i,r,s){const o=n.length,a=i.length;let d=t.oldPos,c=d-r,u=0;for(;c+1<o&&d+1<a&&this.equals(i[d+1],n[c+1],s);)c++,d++,u++,s.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return u&&!s.oneChangePerToken&&(t.lastComponent={count:u,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=d,c}equals(t,n,i){return i.comparator?i.comparator(t,n):t===n||!!i.ignoreCase&&t.toLowerCase()===n.toLowerCase()}removeEmpty(t){const n=[];for(let i=0;i<t.length;i++)t[i]&&n.push(t[i]);return n}castInput(t,n){return t}tokenize(t,n){return Array.from(t)}join(t){return t.join("")}postProcess(t,n){return t}get useLongestToken(){return!1}buildValues(t,n,i){const r=[];let s;for(;t;)r.push(t),s=t.previousComponent,delete t.previousComponent,t=s;r.reverse();const o=r.length;let a=0,d=0,c=0;for(;a<o;a++){const u=r[a];if(u.removed)u.value=this.join(i.slice(c,c+u.count)),c+=u.count;else{if(!u.added&&this.useLongestToken){let h=n.slice(d,d+u.count);h=h.map(function(f,p){const m=i[c+p];return m.length>f.length?m:f}),u.value=this.join(h)}else u.value=this.join(n.slice(d,d+u.count));d+=u.count,u.added||(c+=u.count)}}return r}}class A0 extends js{}const I0=new A0;function T0(e,t,n){return I0.diff(e,t,n)}const Vo="a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}";class j0 extends js{tokenize(t){const n=new RegExp(`(\\r?\\n)|[${Vo}]+|[^\\S\\n\\r]+|[^${Vo}]`,"ug");return t.match(n)||[]}}const N0=new j0;function P0(e,t,n){return N0.diff(e,t,n)}class D0 extends js{constructor(){super(...arguments),this.tokenize=O0}equals(t,n,i){return i.ignoreWhitespace?((!i.newlineIsToken||!t.includes(`
|
|
155
|
+
`))&&(t=t.trim()),(!i.newlineIsToken||!n.includes(`
|
|
156
|
+
`))&&(n=n.trim())):i.ignoreNewlineAtEof&&!i.newlineIsToken&&(t.endsWith(`
|
|
157
|
+
`)&&(t=t.slice(0,-1)),n.endsWith(`
|
|
158
|
+
`)&&(n=n.slice(0,-1))),super.equals(t,n,i)}}const M0=new D0;function Bo(e,t,n){return M0.diff(e,t,n)}function O0(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
|
|
159
|
+
`));const n=[],i=e.split(/(\n|\r\n)/);i[i.length-1]||i.pop();for(let r=0;r<i.length;r++){const s=i[r];r%2&&!t.newlineIsToken?n[n.length-1]+=s:n.push(s)}return n}function F0(e){for(let t=0;t<e.length;t++)if(e[t]<" "||e[t]>"~"||e[t]==='"'||e[t]==="\\")return!0;return!1}function at(e){if(!F0(e))return e;let t='"';const n=new TextEncoder().encode(e);let i=0;for(;i<n.length;){const r=n[i];r===7?t+="\\a":r===8?t+="\\b":r===9?t+="\\t":r===10?t+="\\n":r===11?t+="\\v":r===12?t+="\\f":r===13?t+="\\r":r===34?t+='\\"':r===92?t+="\\\\":r>=32&&r<=126?t+=String.fromCharCode(r):t+="\\"+r.toString(8).padStart(3,"0"),i++}return t+='"',t}const Wo={includeIndex:!0,includeUnderline:!0,includeFileHeaders:!0};function Uo(e,t,n,i,r,s,o){let a;o?typeof o=="function"?a={callback:o}:a=o:a={},typeof a.context>"u"&&(a.context=4);const d=a.context;if(a.newlineIsToken)throw new Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(a.callback){const{callback:u}=a;Bo(n,i,Object.assign(Object.assign({},a),{callback:h=>{const f=c(h);u(f)}}))}else return c(Bo(n,i,a));function c(u){if(!u)return;u.push({value:"",lines:[]});function h(y){return y.map(function(x){return" "+x})}const f=[];let p=0,m=0,v=[],k=1,b=1;for(let y=0;y<u.length;y++){const x=u[y],C=x.lines||$0(x.value);if(x.lines=C,x.added||x.removed){if(!p){const _=u[y-1];p=k,m=b,_&&(v=d>0?h(_.lines.slice(-d)):[],p-=v.length,m-=v.length)}for(const _ of C)v.push((x.added?"+":"-")+_);x.added?b+=C.length:k+=C.length}else{if(p)if(C.length<=d*2&&y<u.length-2)for(const _ of h(C))v.push(_);else{const _=Math.min(C.length,d);for(const L of h(C.slice(0,_)))v.push(L);const w={oldStart:p,oldLines:k-p+_,newStart:m,newLines:b-m+_,lines:v};f.push(w),p=0,m=0,v=[]}k+=C.length,b+=C.length}}for(const y of f)for(let x=0;x<y.lines.length;x++)y.lines[x].endsWith(`
|
|
160
|
+
`)?y.lines[x]=y.lines[x].slice(0,-1):(y.lines.splice(x+1,0,"\"),x++);return{oldFileName:e,newFileName:t,oldHeader:r,newHeader:s,hunks:f}}}function es(e,t){var n,i,r,s,o,a;if(t||(t=Wo),Array.isArray(e)){if(e.length>1&&!t.includeFileHeaders&&!e.every(u=>u.isGit))throw new Error("Cannot omit file headers on a multi-file patch. (The result would be unparseable; how would a tool trying to apply the patch know which changes are to which file?)");return e.map(u=>es(u,t)).join(`
|
|
161
|
+
`)}const d=[];if(e.isGit){if(t=Wo,!e.oldFileName)throw new Error("oldFileName must be specified for Git patches");if(!e.newFileName)throw new Error("newFileName must be specified for Git patches");let u=e.oldFileName,h=e.newFileName;e.isCreate&&u==="/dev/null"?u=h.replace(/^b\//,"a/"):e.isDelete&&h==="/dev/null"&&(h=u.replace(/^a\//,"b/")),d.push("diff --git "+at(u)+" "+at(h)),e.isDelete&&d.push("deleted file mode "+((n=e.oldMode)!==null&&n!==void 0?n:"100644")),e.isCreate&&d.push("new file mode "+((i=e.newMode)!==null&&i!==void 0?i:"100644")),e.oldMode&&e.newMode&&!e.isDelete&&!e.isCreate&&(d.push("old mode "+e.oldMode),d.push("new mode "+e.newMode)),e.isRename&&(d.push("rename from "+at(((r=e.oldFileName)!==null&&r!==void 0?r:"").replace(/^a\//,""))),d.push("rename to "+at(((s=e.newFileName)!==null&&s!==void 0?s:"").replace(/^b\//,"")))),e.isCopy&&(d.push("copy from "+at(((o=e.oldFileName)!==null&&o!==void 0?o:"").replace(/^a\//,""))),d.push("copy to "+at(((a=e.newFileName)!==null&&a!==void 0?a:"").replace(/^b\//,""))))}else t.includeIndex&&e.oldFileName==e.newFileName&&e.oldFileName!==void 0&&d.push("Index: "+e.oldFileName),t.includeUnderline&&d.push("===================================================================");const c=e.hunks.length>0;t.includeFileHeaders&&e.oldFileName!==void 0&&e.newFileName!==void 0&&(!e.isGit||c)&&(d.push("--- "+at(e.oldFileName)+(e.oldHeader?" "+e.oldHeader:"")),d.push("+++ "+at(e.newFileName)+(e.newHeader?" "+e.newHeader:"")));for(let u=0;u<e.hunks.length;u++){const h=e.hunks[u],f=h.oldLines===0?h.oldStart-1:h.oldStart,p=h.newLines===0?h.newStart-1:h.newStart;d.push("@@ -"+f+","+h.oldLines+" +"+p+","+h.newLines+" @@");for(const m of h.lines)d.push(m)}return d.join(`
|
|
162
|
+
`)+`
|
|
163
|
+
`}function H0(e,t,n,i,r,s,o){if(typeof o=="function"&&(o={callback:o}),o?.callback){const{callback:a}=o;Uo(e,t,n,i,r,s,Object.assign(Object.assign({},o),{callback:d=>{a(d?es(d,o.headerOptions):void 0)}}))}else{const a=Uo(e,t,n,i,r,s,o);return a?es(a,o?.headerOptions):void 0}}function $0(e){const t=e.endsWith(`
|
|
164
|
+
`),n=e.split(`
|
|
165
|
+
`).map(i=>i+`
|
|
166
|
+
`);return t?n.pop():n.push(n.pop().slice(0,-1)),n}function _i({line:e,spanStart:t,spanLength:n}){return{start:{line:e,character:t},end:{line:e,character:t+n},properties:{"data-diff-span":""},alwaysWrap:!0}}function Bn({item:e,arr:t,enableJoin:n,isNeutral:i=!1,isLastItem:r=!1}){const s=t[t.length-1];if(s==null||r||!n){t.push([i?0:1,e.value]);return}const o=s[0]===0;if(i===o||i&&e.value.length===1&&!o){s[1]+=e.value;return}t.push([i?0:1,e.value])}const V0={forcePlainText:!1};function B0(e,t,n,{forcePlainText:i,startingLine:r,totalLines:s,expandedHunks:o,collapsedContextThreshold:a=1}=V0){i?(r??=0,s??=1/0):(r=0,s=1/0);const d=r>0||s<1/0,c=typeof n.theme=="string"?t.getTheme(n.theme).type:void 0,u=u0({theme:n.theme,highlighter:t}),h=i&&!d&&(e.unifiedLineCount>1e3||e.splitLineCount>1e3)?"none":n.lineDiffType,f={deletionLines:[],additionLines:[]},{maxLineDiffLength:p}=n,m=!i&&!e.isPartial,v=i?o:void 0,k=new Map;function b(x){const C=m?0:x,_=k.get(C)??G0();return k.set(C,_),_}function y(x,C,_,w){if(d){let L=_.at(-1);(L==null||L.targetIndex+L.count!==C)&&(L={targetIndex:C,originalOffset:w.length,count:0},_.push(L)),L.count++}w.push(x)}Rt({diff:e,diffStyle:"both",startingLine:r,totalLines:s,expandedHunks:d?v:!0,collapsedContextThreshold:a,callback:({hunkIndex:x,additionLine:C,deletionLine:_,type:w})=>{const L=b(x),I=C!=null?C.splitLineIndex:_.splitLineIndex;w==="change"&&C!=null&&_!=null&&U0({additionLine:e.additionLines[C.lineIndex],deletionLine:e.deletionLines[_.lineIndex],deletionLineIndex:L.deletionContent.length,additionLineIndex:L.additionContent.length,deletionDecorations:L.deletionDecorations,additionDecorations:L.additionDecorations,lineDiffType:h,maxLineDiffLength:p}),_!=null&&(y(e.deletionLines[_.lineIndex],_.lineIndex,L.deletionSegments,L.deletionContent),L.deletionInfo.push({type:w==="change"?"change-deletion":w,lineNumber:_.lineNumber,altLineNumber:w==="change"?void 0:C.lineNumber??void 0,lineIndex:`${_.unifiedLineIndex},${I}`})),C!=null&&(y(e.additionLines[C.lineIndex],C.lineIndex,L.additionSegments,L.additionContent),L.additionInfo.push({type:w==="change"?"change-addition":w,lineNumber:C.lineNumber,altLineNumber:w==="change"?void 0:_.lineNumber??void 0,lineIndex:`${C.unifiedLineIndex},${I}`}))}});for(const x of k.values()){if(x.deletionContent.length===0&&x.additionContent.length===0)continue;const C={name:e.prevName??e.name,contents:x.deletionContent.value},_={name:e.name,contents:x.additionContent.value},{deletionLines:w,additionLines:L}=z0({deletionFile:C,deletionInfo:x.deletionInfo,deletionDecorations:x.deletionDecorations,additionFile:_,additionInfo:x.additionInfo,additionDecorations:x.additionDecorations,highlighter:t,options:n,languageOverride:i?"text":e.lang});if(m){f.deletionLines=w,f.additionLines=L;continue}if(x.deletionSegments.length>0)for(const I of x.deletionSegments)for(let E=0;E<I.count;E++)f.deletionLines[I.targetIndex+E]=w[I.originalOffset+E];else Mo(f.deletionLines,w);if(x.additionSegments.length>0)for(const I of x.additionSegments)for(let E=0;E<I.count;E++)f.additionLines[I.targetIndex+E]=L[I.originalOffset+E];else Mo(f.additionLines,L)}return{code:f,themeStyles:u,baseThemeType:c}}function W0(e,{deletionLineIndex:t,additionLineIndex:n,deletionDecorations:i,additionDecorations:r}){let s=0,o=0,a=-1,d=0,c=-1,u=0;for(const{value:h,added:f,removed:p}of e)p?(a===-1&&(a=s),s+=h.length,d=s):f?(c===-1&&(c=o),o+=h.length,u=o):(s+=h.length,o+=h.length);a!==-1&&i.push(_i({line:t,spanStart:a,spanLength:d-a})),c!==-1&&r.push(_i({line:n,spanStart:c,spanLength:u-c}))}function U0({deletionLine:e,additionLine:t,deletionLineIndex:n,additionLineIndex:i,deletionDecorations:r,additionDecorations:s,lineDiffType:o,maxLineDiffLength:a}){if(e==null||t==null||o==="none"||(e=Oe(e),t=Oe(t),e.length>a||t.length>a))return;const d=o==="char"?T0(e,t):P0(e,t);if(o==="word-line"){W0(d,{deletionLineIndex:n,additionLineIndex:i,deletionDecorations:r,additionDecorations:s});return}const c=[],u=[],h=o==="word-alt",f=d.at(-1);for(const m of d){const v=m===f;!m.added&&!m.removed?(Bn({item:m,arr:c,enableJoin:h,isNeutral:!0,isLastItem:v}),Bn({item:m,arr:u,enableJoin:h,isNeutral:!0,isLastItem:v})):m.removed?Bn({item:m,arr:c,enableJoin:h,isLastItem:v}):Bn({item:m,arr:u,enableJoin:h,isLastItem:v})}let p=0;for(const m of c)m[0]===1&&r.push(_i({line:n,spanStart:p,spanLength:m[1].length})),p+=m[1].length;p=0;for(const m of u)m[0]===1&&s.push(_i({line:i,spanStart:p,spanLength:m[1].length})),p+=m[1].length}function G0(){return{deletionContent:{push(e){this.value+=e,this.length++},value:"",length:0},additionContent:{push(e){this.value+=e,this.length++},value:"",length:0},deletionInfo:[],additionInfo:[],deletionDecorations:[],additionDecorations:[],deletionSegments:[],additionSegments:[]}}function z0({deletionFile:e,additionFile:t,deletionInfo:n,additionInfo:i,highlighter:r,deletionDecorations:s,additionDecorations:o,languageOverride:a,options:{theme:d,...c}}){const u=a??tt(e.name),h=a??tt(t.name),{state:f,transformers:p}=i0(c.useTokenTransformer),m=typeof d=="string"?{...c,lang:"text",theme:d,transformers:p,decorations:void 0,defaultColor:!1,cssVariablePrefix:Se("token"),tokenizeTimeLimit:0}:{...c,lang:"text",themes:d,transformers:p,decorations:void 0,defaultColor:!1,cssVariablePrefix:Se("token"),tokenizeTimeLimit:0};return{deletionLines:e.contents===""?[]:(m.lang=u,f.lineInfo=n,m.decorations=s,$o(r.codeToHast(Oe(e.contents),m))),additionLines:t.contents===""?[]:(m.lang=h,m.decorations=o,f.lineInfo=i,$o(r.codeToHast(Oe(t.contents),m)))}}const q0=A.createContext(void 0);function ts(e,t,n){if(e===t||e==null||t==null)return e===t;const i=new Set(n),r=Object.keys(e),s=new Set(Object.keys(t));for(const o of r)if(s.delete(o),!i.has(o)&&(!(o in t)||e[o]!==t[o]))return!1;for(const o of Array.from(s))if(!i.has(o))return!1;return!0}function Dd(e,t){const n=e?.theme??De,i=t?.theme??De,r=Go(e),s=Go(t);return Ts(n,i)&&ts(e,t,["theme","parseDiffOptions"])&&ts(r,s)}function Go(e){if(e!=null&&"parseDiffOptions"in e)return e.parseDiffOptions}const Ut=new Set;let Gt=null;function Md(e){Ut.add(e),Gt??=requestAnimationFrame(Od)}function ns(e){Ut.delete(e)&&Ut.size===0&&Gt!=null&&(cancelAnimationFrame(Gt),Gt=null)}function Od(e){const t=new Set(Ut);Ut.clear();for(const n of t)try{n(e)}catch(i){console.error(i)}Ut.size>0?Gt=requestAnimationFrame(Od):Gt=null}function is(e,t){return e?.start===t?.start&&e?.end===t?.end&&e?.side===t?.side&&e?.endSide===t?.endSide}function zo(e){if(typeof HTMLStyleElement<"u"&&e instanceof HTMLStyleElement)return!0;const t=e.tagName??e.nodeName;return typeof t=="string"&&t.toLowerCase()==="style"}let K0;function Z0(){return K0??="safari"in window&&"pushNotification"in window.safari||/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function qo(e,t){return e?.cacheKey!=null||t?.cacheKey!=null?e?.cacheKey===t?.cacheKey:e?.contents===t?.contents&&e?.name===t?.name&&e?.lang===t?.lang}const X0="-1,-1";function J0(e){return e?.some(t=>t.lineNumber===0)??!1}function Ko(e){const t=e[0];return t!=null&&t.length>0?t:void 0}function Fd(e){return e.startingLine===0&&e.totalLines>0}function Q0(e,t){return e.lineNumber===t.lineNumber&&e.side===t.side}function Y0(){return W({tagName:"button",properties:{"data-utility-button":"",type:"button"},children:[xi({name:"diffs-icon-plus",properties:{"data-icon":""}})]})}function Wn(e){for(const t of e)if(t instanceof HTMLElement&&(t.hasAttribute("data-utility-button")||t.hasAttribute("data-gutter-utility-slot")||t.getAttribute("slot")==="gutter-utility-slot"||t.getAttribute("name")==="gutter-utility-slot"))return!0;return!1}var eb=class{mode;options;hoveredLine;hoveredToken;pre;gutterUtilityLine;gutterUtilityContainer;gutterUtilityButton;gutterUtilitySlot;interactiveLinesAttr=!1;interactiveLineNumbersAttr=!1;hasPointerListeners=!1;hasDocumentPointerListeners=!1;selectedRange=null;selectedRangeHighlightSide;selectedRangeLineNumberOnly=!1;editorActiveLine=null;editorActiveLineSide;editorLineNumberOnly=!1;proposedSelectedRange;renderedSelectedLinesState;renderedEditorActiveLineState;selectionAnchor;pointerSession={mode:"idle"};constructor(e,t){this.mode=e,this.options=t}setOptions(e){this.options=e}cleanUp(){this.pre?.removeEventListener("click",this.handlePointerClick),this.pre?.removeEventListener("pointerdown",this.handlePointerDown),this.pre?.removeEventListener("pointermove",this.handlePointerMove),this.pre?.removeEventListener("pointerleave",this.handlePointerLeave),this.pre?.removeAttribute("data-interactive-lines"),this.pre?.removeAttribute("data-interactive-line-numbers"),this.pre=void 0,this.gutterUtilityContainer?.remove(),this.gutterUtilityLine=void 0,this.gutterUtilityContainer=void 0,this.gutterUtilityButton=void 0,this.gutterUtilitySlot=void 0,this.clearHoveredLine(),this.clearHoveredToken(),this.detachDocumentPointerListeners(),this.clearPointerSession(),ns(this.renderSelection),this.interactiveLinesAttr=!1,this.interactiveLineNumbersAttr=!1,this.hasPointerListeners=!1,this.setSelectionDirty()}setup(e){this.setSelectionDirty();const{usesCustomGutterUtility:t=!1,enableGutterUtility:n=!1}=this.options;this.pre!==e&&(this.cleanUp(),this.pre=e),n?this.ensureGutterUtilityNode(t):this.gutterUtilityContainer!=null&&(this.gutterUtilityContainer.remove(),this.gutterUtilityLine=void 0,this.gutterUtilityContainer=void 0,this.gutterUtilityButton=void 0,this.gutterUtilitySlot=void 0,this.pointerSession.mode==="gutterSelecting"&&(this.clearPointerSession(),this.detachDocumentPointerListeners())),this.syncPointerListeners(e),this.updateInteractiveLineAttributes(),this.renderSelection(),this.placeUtility()}setSelectionDirty(){this.renderedSelectedLinesState=void 0,this.renderedEditorActiveLineState=void 0}isSelectionDirty(){return this.renderedSelectedLinesState===void 0||this.renderedEditorActiveLineState===void 0}setSelection(e,t){const n=!(e===this.selectedRange||is(e??void 0,this.selectedRange??void 0)),i=t?.lineNumberOnly??!1,r=t?.activeLineSide!==this.selectedRangeHighlightSide||i!==this.selectedRangeLineNumberOnly;!this.isSelectionDirty()&&!n&&!r||(this.proposedSelectedRange=void 0,this.selectedRange=e,this.selectedRangeHighlightSide=t?.activeLineSide,this.selectedRangeLineNumberOnly=i,this.renderSelection(),this.placeUtility(),n&&t?.notify!==!1&&this.notifySelectionCommitted(e))}setEditorActiveLine(e,{lineNumberOnly:t=!1,side:n}={}){const i=e!==this.editorActiveLine,r=n!==this.editorActiveLineSide||t!==this.editorLineNumberOnly;!this.isSelectionDirty()&&!i&&!r||(this.editorActiveLine=e,this.editorActiveLineSide=n,this.editorLineNumberOnly=t,this.renderSelection())}getSelection(){return this.selectedRange}getHoveredLine=()=>{const e=this.gutterUtilityLine??this.hoveredLine;if(e!=null){if(this.mode==="diff"&&e.type==="diff-line")return{lineNumber:e.lineNumber,side:e.annotationSide};if(this.mode==="file"&&e.type==="line")return{lineNumber:e.lineNumber}}};handlePointerClick=e=>{const{onHunkExpand:t,onLineClick:n,onLineNumberClick:i,onTokenClick:r,onMergeConflictActionClick:s}=this.options;t==null&&n==null&&i==null&&s==null&&r==null||this.options.onGutterUtilityClick!=null&&Wn(e.composedPath())||(Ge(this.options.__debugPointerEvents,"click","FileDiff.DEBUG.handlePointerClick:",e),this.handlePointerEvent({eventType:"click",event:e}))};handlePointerMove=e=>{if(e.pointerType!=="mouse")return;const{lineHoverHighlight:t="disabled",onLineEnter:n,onLineLeave:i,onTokenEnter:r,onTokenLeave:s,enableGutterUtility:o=!1}=this.options;t==="disabled"&&!o&&n==null&&i==null&&r==null&&s==null||(Ge(this.options.__debugPointerEvents,"move","FileDiff.DEBUG.handlePointerMove:",e),this.handlePointerEvent({eventType:"move",event:e}))};handlePointerLeave=e=>{const{__debugPointerEvents:t}=this.options;if(Ge(t,"move","FileDiff.DEBUG.handlePointerLeave: no event"),this.hoveredLine==null&&this.hoveredToken==null){Ge(t,"move","FileDiff.DEBUG.handlePointerLeave: returned early, no hovered line or token");return}this.hoveredToken!=null&&(this.options.onTokenLeave?.(this.hoveredToken,e),this.clearHoveredToken()),this.hoveredLine!=null&&(this.options.onLineLeave?.({...this.hoveredLine,event:e}),this.clearHoveredLine()),this.placeUtility()};handlePointerEvent({eventType:e,event:t}){const{__debugPointerEvents:n}=this.options,i=t.composedPath();Ge(n,e,"FileDiff.DEBUG.handlePointerEvent:",{eventType:e,composedPath:i});const r=this.resolvePointerTarget(i);Ge(n,e,"FileDiff.DEBUG.handlePointerEvent: resolvePointerTarget result:",r);const{onLineClick:s,onLineNumberClick:o,onLineEnter:a,onLineLeave:d,onTokenClick:c,onTokenEnter:u,onTokenLeave:h,onHunkExpand:f,onMergeConflictActionClick:p}=this.options;switch(e){case"move":{const m=gr(r)&&this.hoveredLine?.lineElement===r.lineElement;oi(r)&&this.hoveredToken?.tokenElement===r.tokenElement||(this.hoveredToken!=null&&(h?.(this.hoveredToken,t),this.clearHoveredToken()),oi(r)&&(this.setHoveredToken(this.toTokenEventBaseProps(r)),u?.(this.hoveredToken,t))),m||(this.hoveredLine!=null&&(d?.({...this.hoveredLine,event:t}),this.clearHoveredLine()),gr(r)?(this.setHoveredLine(this.toEventBaseProps(r)),this.placeUtility(),a?.({...this.hoveredLine,event:t})):this.placeUtility());break}case"click":{if(r==null)break;if(ib(r)&&p!=null){p(r);break}if(nb(r)&&f!=null){f(r.hunkIndex,r.all||t.shiftKey?"both":r.direction,r.all||t.shiftKey?Number.POSITIVE_INFINITY:void 0);break}if(!gr(r))break;oi(r)&&c!=null&&c(this.toTokenEventBaseProps(r),t);const m=this.toEventBaseProps(r);o!=null&&r.numberColumn?o({...m,event:t}):s?.({...m,event:t});break}}}syncPointerListeners(e){const{__debugPointerEvents:t,lineHoverHighlight:n="disabled",onLineClick:i,onLineNumberClick:r,onLineEnter:s,onLineLeave:o,onTokenClick:a,onTokenEnter:d,onTokenLeave:c,onHunkExpand:u,onMergeConflictActionClick:h,enableGutterUtility:f=!1,enableLineSelection:p=!1,onGutterUtilityClick:m}=this.options,v=m!=null,k=n!=="disabled"||i!=null||r!=null||s!=null||o!=null||a!=null||d!=null||c!=null||u!=null||h!=null||f||p||v;k&&!this.hasPointerListeners?(e.addEventListener("click",this.handlePointerClick),e.addEventListener("pointerdown",this.handlePointerDown),e.addEventListener("pointermove",this.handlePointerMove),e.addEventListener("pointerleave",this.handlePointerLeave),this.hasPointerListeners=!0,Ge(t,"click","FileDiff.DEBUG.attachEventListeners: Attaching click events for:",(()=>{const x=[];return(t==="both"||t==="click")&&(i!=null&&x.push("onLineClick"),r!=null&&x.push("onLineNumberClick"),u!=null&&x.push("expandable hunk separators"),h!=null&&x.push("merge conflict actions")),x})()),Ge(t,"move","FileDiff.DEBUG.attachEventListeners: Attaching pointer move event"),Ge(t,"move","FileDiff.DEBUG.attachEventListeners: Attaching pointer leave event")):!k&&this.hasPointerListeners&&(e.removeEventListener("click",this.handlePointerClick),e.removeEventListener("pointerdown",this.handlePointerDown),e.removeEventListener("pointermove",this.handlePointerMove),e.removeEventListener("pointerleave",this.handlePointerLeave),this.hasPointerListeners=!1);const b=this.pointerSession.mode==="selecting"||this.pointerSession.mode==="pendingSingleLineUnselect",y=this.pointerSession.mode==="gutterSelecting";(!p&&b||!v&&y)&&(this.clearPointerSession(),this.detachDocumentPointerListeners(),this.selectionAnchor=void 0,this.clearPendingSingleLineState())}updateInteractiveLineAttributes(){if(this.pre==null)return;const{onLineClick:e,onLineNumberClick:t,enableLineSelection:n=!1}=this.options,i=e!=null,r=t!=null||n;i&&!this.interactiveLinesAttr?(this.pre.setAttribute("data-interactive-lines",""),this.interactiveLinesAttr=!0):!i&&this.interactiveLinesAttr&&(this.pre.removeAttribute("data-interactive-lines"),this.interactiveLinesAttr=!1),r&&!this.interactiveLineNumbersAttr?(this.pre.setAttribute("data-interactive-line-numbers",""),this.interactiveLineNumbersAttr=!0):!r&&this.interactiveLineNumbersAttr&&(this.pre.removeAttribute("data-interactive-line-numbers"),this.interactiveLineNumbersAttr=!1)}handlePointerDown=e=>{if(e.pointerType==="mouse"&&e.button!==0||this.pre==null||this.pointerSession.mode!=="idle")return;const t=e.composedPath();Wn(t)&&this.options.onGutterUtilityClick!=null?this.startGutterSelectionFromPointerDown(e):(e.pointerType!=="mouse"&&this.revealUtilityFromGutterPath(t),this.startLineSelectionFromPointerDown(e))};startLineSelectionFromPointerDown(e){const{enableLineSelection:t=!1}=this.options;if(!t)return;const n=this.resolveSelectionInfo(e,{source:"event-path",requireNumberColumn:!0});if(n==null)return;const{pre:i}=this;if(i==null)return;const{lineNumber:r,eventSide:s,lineIndex:o}=n;if(e.shiftKey&&this.selectedRange!=null){const a=this.getIndexesFromSelection(this.selectedRange,i.getAttribute("data-diff-type")==="split");if(a==null)return;const d=a.start<=a.end?o>=a.start:o<=a.end;this.selectionAnchor={lineNumber:d?this.selectedRange.start:this.selectedRange.end,side:d?this.selectedRange.side:this.selectedRange.endSide??this.selectedRange.side},this.updateSelection(r,s,!1),this.notifySelectionStart(this.getCurrentSelectionRange()),this.pointerSession={mode:"selecting",pointerId:e.pointerId},this.attachDocumentPointerListeners();return}if(this.selectedRange?.start===r&&this.selectedRange?.end===r){const a={lineNumber:r,side:s};this.selectionAnchor=a,this.pointerSession={mode:"pendingSingleLineUnselect",pointerId:e.pointerId,anchor:a,pending:a},this.attachDocumentPointerListeners();return}this.options.controlledSelection===!0?this.proposedSelectedRange=null:this.selectedRange=null,this.placeUtility(),this.selectionAnchor={lineNumber:r,side:s},this.updateSelection(r,s,!1),this.notifySelectionStart(this.getCurrentSelectionRange()),this.pointerSession={mode:"selecting",pointerId:e.pointerId},this.attachDocumentPointerListeners()}startGutterSelectionFromPointerDown(e){const{onGutterUtilityClick:t}=this.options;if(t==null)return;const n=this.currentSelectionEnds(),i=n?.bottom??this.resolveSelectionPoint(e,{source:"event-path",excludeUtility:!1}),r=n?.top??i;i==null||r==null||(e.preventDefault(),e.stopPropagation(),this.pointerSession={mode:"gutterSelecting",pointerId:e.pointerId,anchor:r,current:i},this.selectionAnchor={lineNumber:r.lineNumber,side:r.side},this.updateSelection(i.lineNumber,i.side,!1),this.notifySelectionStart(this.getCurrentSelectionRange()),this.attachDocumentPointerListeners())}handleDocumentPointerMove=e=>{switch(this.pointerSession.mode){case"idle":return;case"gutterSelecting":{if(e.pointerId!==this.pointerSession.pointerId)return;e.preventDefault();const t=this.resolveSelectionPoint(e,{source:"coordinates-first"});if(t==null)return;this.pointerSession.current=t,this.updateSelection(t.lineNumber,t.side);return}case"selecting":{if(e.pointerId!==this.pointerSession.pointerId)return;e.preventDefault();const t=this.resolveSelectionInfo(e,{source:"coordinates-first",requireNumberColumn:!1});if(t==null||this.selectionAnchor==null)return;this.updateSelection(t.lineNumber,t.eventSide);return}case"pendingSingleLineUnselect":{if(e.pointerId!==this.pointerSession.pointerId)return;e.preventDefault();const t=this.resolveSelectionInfo(e,{source:"coordinates-first",requireNumberColumn:!1});if(t==null||this.selectionAnchor==null)return;const n={lineNumber:t.lineNumber,side:t.eventSide};if(Q0(this.pointerSession.pending,n))return;this.updateSelection(t.lineNumber,t.eventSide,!1),this.notifySelectionStart(this.getCurrentSelectionRange()),this.notifySelectionChangeDelta(),this.pointerSession={mode:"selecting",pointerId:e.pointerId};return}}};handleDocumentPointerUp=e=>{const{onGutterUtilityClick:t}=this.options;switch(this.pointerSession.mode){case"idle":return;case"gutterSelecting":{const{pointerSession:n}=this;if(e.pointerId!==n.pointerId)return;e.preventDefault();const i=this.resolveSelectionPoint(e,{source:"coordinates-first"});i!=null&&(n.current=i,this.updateSelection(i.lineNumber,i.side));const r=this.buildSelectedLineRange(n.anchor,n.current);t?.({...r}),this.selectionAnchor=void 0,this.notifySelectionEnd(r),this.notifySelectionCommitted(r),this.clearProposedSelection(),this.clearPointerSession(),this.detachDocumentPointerListeners();return}case"pendingSingleLineUnselect":if(e.pointerId!==this.pointerSession.pointerId)return;e.preventDefault(),this.updateSelection(null,void 0,!1),this.selectionAnchor=void 0,this.clearPendingSingleLineState(),this.detachDocumentPointerListeners(),this.notifySelectionEnd(this.getCurrentSelectionRange()),this.notifySelectionCommitted(this.getCurrentSelectionRange()),this.clearProposedSelection();return;case"selecting":if(e.pointerId!==this.pointerSession.pointerId)return;e.preventDefault(),this.selectionAnchor=void 0,this.detachDocumentPointerListeners(),this.clearPointerSession(),this.notifySelectionEnd(this.getCurrentSelectionRange()),this.notifySelectionCommitted(this.getCurrentSelectionRange()),this.clearProposedSelection()}};handleDocumentPointerCancel=e=>{switch(this.pointerSession.mode){case"idle":return;case"gutterSelecting":case"selecting":case"pendingSingleLineUnselect":if("pointerId"in this.pointerSession&&e.pointerId!==this.pointerSession.pointerId)return;this.selectionAnchor=void 0,this.clearProposedSelection(),this.clearPendingSingleLineState(),this.clearPointerSession(),this.detachDocumentPointerListeners()}};clearHoveredLine(){this.hoveredLine!=null&&(this.hoveredLine.lineElement.removeAttribute("data-hovered"),this.hoveredLine.numberElement.removeAttribute("data-hovered"),this.hoveredLine=void 0)}setHoveredLine(e){const{lineHoverHighlight:t="disabled"}=this.options;this.hoveredLine!=null&&this.clearHoveredLine(),this.hoveredLine=e,t!=="disabled"&&((t==="both"||t==="line")&&this.hoveredLine.lineElement.setAttribute("data-hovered",""),(t==="both"||t==="number")&&this.hoveredLine.numberElement.setAttribute("data-hovered",""))}clearHoveredToken(){this.hoveredToken!=null&&(this.hoveredToken=void 0)}setHoveredToken(e){this.hoveredToken!=null&&this.clearHoveredToken(),this.hoveredToken=e}ensureGutterUtilityNode(e){if(this.gutterUtilityContainer==null&&(this.gutterUtilityContainer=document.createElement("div"),this.gutterUtilityContainer.setAttribute("data-gutter-utility-slot","")),e)this.gutterUtilityButton!=null&&(this.gutterUtilityButton.remove(),this.gutterUtilityButton=void 0),this.gutterUtilitySlot==null&&(this.gutterUtilitySlot=document.createElement("slot"),this.gutterUtilitySlot.name="gutter-utility-slot"),this.gutterUtilitySlot.parentNode!==this.gutterUtilityContainer&&this.gutterUtilityContainer.replaceChildren(this.gutterUtilitySlot);else{if(this.gutterUtilitySlot?.remove(),this.gutterUtilitySlot=void 0,this.gutterUtilityButton==null){const t=document.createElement("div");t.innerHTML=Je(Y0());const n=t.firstElementChild;if(!(n instanceof HTMLButtonElement))throw new Error("InteractionManager.ensureGutterUtilityNode: Node element should be a button");n.remove(),this.gutterUtilityButton=n}this.gutterUtilityButton.parentNode!==this.gutterUtilityContainer&&this.gutterUtilityContainer.replaceChildren(this.gutterUtilityButton)}}revealUtilityFromGutterPath(e){if(this.placeUtilityFromSelection())return;const t=this.resolvePointerTarget(e);ln(t)&&t.numberColumn&&this.showUtilityOnLine(this.toEventBaseProps(t))}placeUtility(){if(!this.placeUtilityFromSelection()){if(this.hoveredLine!=null){this.showUtilityOnLine(this.hoveredLine);return}this.hideUtility()}}placeUtilityFromSelection(){const e=this.currentSelectionEnds();if(e==null)return!1;const t=this.targetForSelectionPoint(e.bottom);return t==null?this.hideUtility():this.showUtilityOnLine(this.toEventBaseProps(t)),!0}showUtilityOnLine(e){this.gutterUtilityContainer!=null&&(this.gutterUtilityLine=e,e.numberElement.appendChild(this.gutterUtilityContainer))}hideUtility(){this.gutterUtilityContainer?.remove(),this.gutterUtilityLine=void 0}currentSelectionEnds(){const e=this.getCurrentSelectionRange();return e==null?void 0:this.selectionEnds(e)}selectionEnds(e){const t={lineNumber:e.start,side:e.side},n={lineNumber:e.end,side:e.endSide??e.side},i=this.selectionPointRowIndex(t),r=this.selectionPointRowIndex(n);if(!(i==null||r==null))return i>r?{top:n,bottom:t}:{top:t,bottom:n}}selectionPointRowIndex(e){const t=this.getLineIndex(e.lineNumber,e.side);if(t!=null)return this.isSplitDiff()?t[1]:t[0]}targetForSelectionPoint(e){if(this.pre==null)return;const t=this.getLineIndex(e.lineNumber,e.side);if(t==null)return;const n=this.mode==="diff"?`${t[0]},${t[1]}`:`${t[0]}`,i=this.pre.querySelectorAll(`[data-column-number="${e.lineNumber}"][data-line-index="${n}"]`);for(const r of i){if(!(r instanceof HTMLElement))continue;const s=this.resolvePointerTarget(Qt(r));if(ln(s)&&!(this.mode==="diff"&&e.side!=null&&s.side!==e.side))return s}}attachDocumentPointerListeners(){this.hasDocumentPointerListeners||(document.addEventListener("pointermove",this.handleDocumentPointerMove),document.addEventListener("pointerup",this.handleDocumentPointerUp),document.addEventListener("pointercancel",this.handleDocumentPointerCancel),this.hasDocumentPointerListeners=!0)}detachDocumentPointerListeners(){this.hasDocumentPointerListeners&&(document.removeEventListener("pointermove",this.handleDocumentPointerMove),document.removeEventListener("pointerup",this.handleDocumentPointerUp),document.removeEventListener("pointercancel",this.handleDocumentPointerCancel),this.hasDocumentPointerListeners=!1)}clearPointerSession(){this.pointerSession={mode:"idle"}}clearPendingSingleLineState(){this.pointerSession.mode==="pendingSingleLineUnselect"&&(this.pointerSession={mode:"idle"})}selectionInfoFromPath(e,t){const n=this.resolvePointerTarget(e);if(ln(n)&&!(t&&!n.numberColumn)&&n.splitLineIndex!=null)return{lineIndex:n.splitLineIndex,lineNumber:n.lineNumber,eventSide:this.mode==="diff"?n.side:void 0}}resolveSelectionInfo(e,t){const n=this.resolveSelectionPath(e,t);return n!=null?this.selectionInfoFromPath(n,t.requireNumberColumn):void 0}selectionPointFromPath(e){const t=this.resolvePointerTarget(e);if(ln(t))return{lineNumber:t.lineNumber,side:this.mode==="diff"?t.side:void 0}}resolveSelectionPoint(e,t){const n=this.resolveSelectionPath(e,t);return n!=null?this.selectionPointFromPath(n):void 0}resolveSelectionPath(e,t){const n=t.excludeUtility!==!1;switch(t.source){case"event-path":return this.pathFromEventPath(e.composedPath(),n);case"coordinates-first":{const i=this.pathFromCoordinates(e,n);return i!==void 0?i??void 0:this.pathFromEventPath(e.composedPath(),n)}}}pathFromCoordinates(e,t){const n=this.hitTest(e);if(n!==void 0)return n===null?null:this.pathFromElement(n,t)??null}pathFromEventPath(e,t){if(!(t&&Wn(e))){for(const n of e)if(n instanceof Element)return this.pathFromElement(n,t)}}pathFromElement(e,t){const n=Qt(e);if(t&&Wn(n))return;const i=sb(e);return i!=null?Qt(i):this.pathFromAnnotationSlot(e)}pathFromAnnotationSlot(e){const t=ob(e)?.previousElementSibling;if(t instanceof HTMLElement&&(t.hasAttribute("data-line")||t.hasAttribute("data-column-number")))return Qt(t);const n=lb(ab(e));if(n==null)return;const i=this.targetForSelectionPoint(n);return i!=null?Qt(i.lineElement):void 0}hitTest(e){if(!Number.isFinite(e.clientX)||!Number.isFinite(e.clientY))return;const t=this.pre?.getRootNode(),n=Jo(t)?t:Jo(document)?document:void 0;if(n!=null)return n.elementFromPoint(e.clientX,e.clientY)}getLineIndex(e,t){const{getLineIndex:n}=this.options;return n!=null?n(e,t):[e-1,e-1]}getCurrentSelectionRange(){return this.proposedSelectedRange!==void 0?this.proposedSelectedRange:this.selectedRange}clearProposedSelection(){this.proposedSelectedRange=void 0}updateSelection(e,t,n=!0){const i=this.getCurrentSelectionRange();let r;if(e==null)r=null;else{const s=this.selectionAnchor?.side??t,o=this.selectionAnchor?.lineNumber??e;r=this.buildSelectionRange(o,e,s,t)}is(i??void 0,r??void 0)||(this.selectedRangeHighlightSide=void 0,this.selectedRangeLineNumberOnly=!1,this.options.controlledSelection===!0?this.proposedSelectedRange=r:(this.selectedRange=r,Md(this.renderSelection)),this.placeUtility(),n&&this.notifySelectionChangeDelta())}getIndexesFromSelection(e,t){if(this.pre==null)return;const n=this.getLineIndex(e.start,e.side),i=this.getLineIndex(e.end,e.endSide??e.side);return n!=null&&i!=null?{start:t?n[1]:n[0],end:t?i[1]:i[0]}:void 0}getSelectionRenderState(){return{selectedLines:{range:this.selectedRange,highlightSide:this.selectedRangeHighlightSide,lineNumberOnly:this.selectedRangeLineNumberOnly},editorActiveLine:{range:this.editorActiveLine==null?null:{start:this.editorActiveLine,end:this.editorActiveLine,side:this.editorActiveLineSide},highlightSide:this.editorActiveLineSide,lineNumberOnly:this.editorLineNumberOnly}}}resolveLineRenderRange(e,t,n){if(e.range==null)return;const i=this.getIndexesFromSelection(e.range,t);if(i==null)throw console.error({rowRange:i,range:e.range}),new Error(`InteractionManager.renderSelection: No valid ${n} rowRange`);return i}getLineRenderColumns(e,t,n,i){if(this.pre==null||t==null&&i==null)return[];const{children:r}=this.pre;if(r.length>2)throw console.error(r),new Error("InteractionManager.renderSelection: Somehow there are more than 2 code elements...");const s=[];for(const o of r){const a=o.hasAttribute("data-deletions")?"deletions":o.hasAttribute("data-additions")?"additions":void 0,d=e!=null&&t!=null&&(e.highlightSide==null||a==null||e.highlightSide===a),c=n!=null&&i!=null&&(n.highlightSide==null||a==null||n.highlightSide===a);if(!d&&!c)continue;const[u,h]=o.children;if(!(u instanceof HTMLElement)||!(h instanceof HTMLElement))throw new Error("InteractionManager.renderSelection: missing gutter or content element");if(h.children.length!==u.children.length)throw new Error("InteractionManager.renderSelection: gutter and content children dont match, something is wrong");s.push({content:h,gutter:u,renderEditorActiveLine:c,renderSelectedLines:d})}return s}renderSelection=()=>{ns(this.renderSelection);const e=this.getSelectionRenderState();if(this.pre==null)return;const{editorActiveLine:t,selectedLines:n}=e,i=!Qo(this.renderedSelectedLinesState,n),r=!Qo(this.renderedEditorActiveLineState,t);if(!i&&!r)return;i&&(this.renderedSelectedLinesState=void 0),r&&(this.renderedEditorActiveLineState=void 0);const s=this.pre.getAttribute("data-diff-type")==="split",o=i?this.resolveLineRenderRange(n,s,"selected-lines"):void 0,a=r?this.resolveLineRenderRange(t,s,"editor-active-line"):void 0,d=this.getLineRenderColumns(i?n:void 0,o,r?t:void 0,a),c=n.range==null||d.some(v=>v.renderSelectedLines),u=t.range==null||d.some(v=>v.renderEditorActiveLine);if(i)for(const v of this.pre.querySelectorAll("[data-selected-line]"))v.removeAttribute("data-selected-line");if(r)for(const v of this.pre.querySelectorAll("[data-editor-active-line]"))v.removeAttribute("data-editor-active-line");const h=o==null?void 0:Math.min(o.start,o.end),f=o==null?void 0:Math.max(o.start,o.end),p=h===f,m=a?.start;for(const v of d){const{content:k,gutter:b,renderEditorActiveLine:y,renderSelectedLines:x}=v,C=Math.max(x?f??-1/0:-1/0,y?m??-1/0:-1/0),_=k.children.length;for(let w=0;w<_;w++){const L=k.children[w],I=b.children[w];if(!(L instanceof HTMLElement)||!(I instanceof HTMLElement))continue;const E=this.parseLineIndex(L,s);if((E??0)>C)break;if(E!=null){if(x&&h!=null&&f!=null&&E>=h&&E<=f){let T=p?"single":E===h?"first":E===f?"last":"";I.setAttribute("data-selected-line",T),n.lineNumberOnly||(L.setAttribute("data-selected-line",T),I.nextSibling instanceof HTMLElement&&L.nextSibling instanceof HTMLElement&&(L.nextSibling.hasAttribute("data-line-annotation")||L.nextSibling.hasAttribute("data-merge-conflict-actions"))&&(p?(T="last",L.setAttribute("data-selected-line","first")):E===h?T="":E===f&&L.setAttribute("data-selected-line",""),L.nextSibling.setAttribute("data-selected-line",T),I.nextSibling.setAttribute("data-selected-line",T)))}y&&E===m&&(I.setAttribute("data-editor-active-line",""),t.lineNumberOnly||L.setAttribute("data-editor-active-line",""))}}}i&&c&&(this.renderedSelectedLinesState=n),r&&u&&(this.renderedEditorActiveLineState=t)};notifySelectionCommitted(e){this.options.onLineSelected?.(e)}notifySelectionChangeDelta(){this.options.onLineSelectionChange?.(this.getCurrentSelectionRange()??null)}notifySelectionStart(e){this.options.onLineSelectionStart?.(e)}notifySelectionEnd(e){this.options.onLineSelectionEnd?.(e)}toEventBaseProps(e){return this.mode==="file"?{type:"line",lineElement:e.lineElement,lineNumber:e.lineNumber,numberColumn:e.numberColumn,numberElement:e.numberElement}:{type:"diff-line",annotationSide:e.side,lineType:e.lineType,lineElement:e.lineElement,numberElement:e.numberElement,lineNumber:e.lineNumber,numberColumn:e.numberColumn}}toTokenEventBaseProps({lineCharEnd:e,lineCharStart:t,lineNumber:n,side:i,tokenElement:r,tokenText:s}){return this.mode==="file"?{type:"token",lineCharEnd:e,lineCharStart:t,lineNumber:n,tokenElement:r,tokenText:s}:{type:"token",lineCharEnd:e,lineCharStart:t,lineNumber:n,side:i,tokenElement:r,tokenText:s}}buildSelectedLineRange(e,t){return this.buildSelectionRange(e.lineNumber,t.lineNumber,e.side,t.side)}buildSelectionRange(e,t,n,i){return{start:e,end:t,...n!=null?{side:n}:{},...n!==i&&i!=null?{endSide:i}:{}}}resolvePointerTarget(e){let t=!1,n,i,r,s,o,a,d,c,u,h;for(const p of e){if(!(p instanceof HTMLElement))continue;if(h==null&&p.hasAttribute("data-merge-conflict-action")){const b=p.getAttribute("data-merge-conflict-action")??void 0,y=p.getAttribute("data-merge-conflict-conflict-index")??void 0,x=y!=null?Number.parseInt(y,10):NaN;rb(b)&&Number.isFinite(x)&&(h={kind:"merge-conflict-action",resolution:b,conflictIndex:x})}if(a==null&&p.hasAttribute("data-char")){a=p;const b=p.getAttribute("data-char");if(b!=null){const y=Number.parseInt(b,10);if(!Number.isNaN(y)){const x=p.textContent??"",C=y+x.length;(x.trim()!==""||this.options.enableTokenInteractionsOnWhitespace===!0)&&(d={tokenElement:a,lineCharStart:y,lineCharEnd:C,tokenText:x});continue}}}const m=o==null?p.getAttribute("data-column-number")??void 0:void 0;if(m!=null){o=p,u=Number.parseInt(m,10),t=!0,n=ea(p),s=p.getAttribute("data-line-index")??void 0;continue}const v=r==null?p.getAttribute("data-line")??void 0:void 0;if(v!=null){r=p,u=Number.parseInt(v,10),n=ea(p),s=p.getAttribute("data-line-index")??void 0;continue}if(c==null&&(p.hasAttribute("data-expand-button")||p.hasAttribute("data-unmodified-lines"))){c={hunkIndex:void 0,direction:p.hasAttribute("data-expand-up")?"up":p.hasAttribute("data-expand-down")?"down":"both",all:p.hasAttribute("data-expand-all-button")};continue}const k=c!=null?p.getAttribute("data-expand-index")??void 0:void 0;if(c!=null&&k!=null){const b=Number.parseInt(k,10);Number.isNaN(b)||(c.hunkIndex=b);continue}if(i==null&&p.hasAttribute("data-code")){i=p;break}}if(h!=null)return h;if(c?.hunkIndex!=null)return{type:"line-info",hunkIndex:c.hunkIndex,direction:c.direction,all:c.all};if(r??=s!=null?Xo(i,`[data-line][data-line-index="${s}"]`):void 0,o??=s!=null?Xo(i,`[data-column-number][data-line-index="${s}"]`):void 0,i==null||r==null||o==null||n==null||u==null||Number.isNaN(u))return;const f=this.parseLineIndex(r,this.isSplitDiff());return d!=null?this.mode==="file"?{kind:"token",lineType:n,lineElement:r,lineNumber:u,numberColumn:t,numberElement:o,side:void 0,splitLineIndex:f,...d}:{kind:"token",lineType:n,lineElement:r,lineNumber:u,numberColumn:t,numberElement:o,side:Yo(n,i),splitLineIndex:f,...d}:this.mode==="file"?{kind:"line",lineType:n,lineElement:r,lineNumber:u,numberColumn:t,numberElement:o,side:void 0,splitLineIndex:f}:{kind:"line",lineType:n,lineElement:r,lineNumber:u,numberColumn:t,numberElement:o,side:Yo(n,i),splitLineIndex:f}}isSplitDiff(){return this.pre?.getAttribute("data-diff-type")==="split"}parseLineIndex(e,t){const n=(e.getAttribute("data-line-index")??"").split(",").map(i=>Number.parseInt(i,10)).filter(i=>!Number.isNaN(i));if(t&&n.length===2)return n[1];if(!t)return n[0]}};function Zo({enableTokenInteractionsOnWhitespace:e,enableGutterUtility:t,lineHoverHighlight:n,onGutterUtilityClick:i,onLineClick:r,onLineEnter:s,onLineLeave:o,onLineNumberClick:a,onTokenClick:d,onTokenEnter:c,onTokenLeave:u,renderGutterUtility:h,__debugPointerEvents:f,enableLineSelection:p,controlledSelection:m,onLineSelected:v,onLineSelectionStart:k,onLineSelectionChange:b,onLineSelectionEnd:y},x,C,_){return{enableTokenInteractionsOnWhitespace:e,enableGutterUtility:tb({enableGutterUtility:t,renderGutterUtility:h,onGutterUtilityClick:i}),usesCustomGutterUtility:h!=null,lineHoverHighlight:n,onGutterUtilityClick:i,onHunkExpand:x,onMergeConflictActionClick:_,onLineClick:r,onLineEnter:s,onLineLeave:o,onLineNumberClick:a,onTokenClick:d,onTokenEnter:c,onTokenLeave:u,__debugPointerEvents:f,enableLineSelection:p,controlledSelection:m,onLineSelected:v,onLineSelectionStart:k,onLineSelectionChange:b,onLineSelectionEnd:y,getLineIndex:C}}function tb({enableGutterUtility:e,renderGutterUtility:t,onGutterUtilityClick:n}){if(n!=null&&t!=null)throw new Error("Cannot use both 'onGutterUtilityClick' and 'renderGutterUtility'. Use only one gutter utility API.");return e??!1}function ln(e){return e!=null&&"kind"in e&&e.kind==="line"}function oi(e){return e!=null&&"kind"in e&&e.kind==="token"}function gr(e){return ln(e)||oi(e)}function nb(e){return"type"in e&&e.type==="line-info"}function ib(e){return"kind"in e&&e.kind==="merge-conflict-action"}function rb(e){return e==="current"||e==="incoming"||e==="both"}function Xo(e,t){const n=e?.querySelector(t);return n instanceof HTMLElement?n:void 0}function Qt(e){const t=[];let n=e;for(;n!=null;)t.push(n),n=n.parentNode;return t}function sb(e){const t=e.closest("[data-line], [data-column-number]");if(t instanceof HTMLElement)return t;const n=e.closest('[data-line-annotation], [data-gutter-buffer="annotation"]');if(!(n instanceof HTMLElement))return;const i=n.previousElementSibling;return i instanceof HTMLElement&&(i.hasAttribute("data-line")||i.hasAttribute("data-column-number"))?i:void 0}function ob(e){const t=e.closest('[slot^="annotation-"]'),n=(t instanceof HTMLElement&&t.assignedSlot!=null?t.assignedSlot:e.tagName==="SLOT"?e:void 0)?.closest("[data-line-annotation]");return n instanceof HTMLElement?n:void 0}function ab(e){const t=e.closest('[slot^="annotation-"]');if(t instanceof HTMLElement)return t.getAttribute("slot")??void 0;if(e instanceof HTMLElement){const n=e.getAttribute("name")??void 0;return n!=null&&n.startsWith("annotation-")?n:void 0}}function lb(e){if(e==null)return;const t=/^annotation-(?:(additions|deletions)-)?(\d+)$/.exec(e);if(t==null)return;const n=Number.parseInt(t[2],10);if(!(!Number.isFinite(n)||n<=0))return{lineNumber:n,side:t[1]}}function Jo(e){return e!=null&&typeof e.elementFromPoint=="function"}function db(e,t){return e===t||is(e??void 0,t??void 0)}function Qo(e,t){return e?.highlightSide===t.highlightSide&&e?.lineNumberOnly===t.lineNumberOnly&&db(e?.range??null,t.range)}function Yo(e,t){switch(e){case"change-deletion":return"deletions";case"change-addition":return"additions";default:return t.hasAttribute("data-deletions")?"deletions":"additions"}}function ea(e){const t=e.getAttribute("data-line-type");if(t!=null)switch(t){case"change-deletion":case"change-addition":case"context":case"context-expanded":return t;default:return}}function Ge(e="none",t,...n){switch(e){case"none":return;case"both":break;case"click":if(t!=="click")return;break;case"move":if(t!=="move")return}console.log(...n)}var cb=class qe{static resizeObserver;static managersByElement=new Map;static getResizeObserver(){const t=qe.resizeObserver??new ResizeObserver(qe.handleSharedResizeEntries);return qe.resizeObserver=t,t}static handleSharedResizeEntries(t){const n=new Map;for(const i of t){const r=qe.managersByElement.get(i.target);if(r==null)continue;const s=n.get(r);s==null?n.set(r,[i]):s.push(i)}for(const[i,r]of n)i.handleResizeEntries(r)}observedNodes=new Map;setup(t,{disableAnnotations:n,columnVariables:i="apply"}){const r=new Set,s=i==="apply";let o=0;const a=new Map(this.observedNodes);this.observedNodes.clear();for(const d of t.children){if(o===2)break;const c=(()=>{if(d instanceof HTMLElement&&d.tagName==="CODE")return d})();if(c==null)continue;o++;let u=a.get(c);if(u!=null&&u.type!=="code")throw new Error("ResizeManager.setup: somehow a code node is being used for an annotation, should be impossible");let h=c.firstElementChild;h instanceof HTMLElement||(h=null),u!=null?(this.observedNodes.set(c,u),a.delete(c),u.numberElement!==h?(u.numberElement!=null&&(this.unobserve(u.numberElement),a.delete(u.numberElement)),h!=null&&(this.observe(h),a.delete(h),this.observedNodes.set(h,u)),u.numberElement=h,u.numberWidth=0):u.numberElement!=null?(a.delete(u.numberElement),this.observedNodes.set(u.numberElement,u)):u.numberWidth=0,fb(u,s)):(u={type:"code",codeElement:c,numberElement:h,codeWidth:"auto",numberWidth:0,applyColumnVariables:s},this.observedNodes.set(c,u),this.observe(c),h!=null&&(this.observedNodes.set(h,u),this.observe(h)))}if(o>1&&!n){const d=t.querySelectorAll('[data-line-annotation*=","]'),c=new Map;for(const u of d){if(!(u instanceof HTMLElement))continue;const h=u.getAttribute("data-line-annotation")??"";if(!/^-?\d+,-?\d+$/.test(h)){console.error("DiffFileRenderer.setupResizeObserver: Invalid element or annotation",{lineAnnotation:h,element:u});continue}let f=c.get(h);f==null&&(f=[],c.set(h,f)),f.push(u)}for(const[u,h]of c){if(h.length!==2){console.error("DiffFileRenderer.setupResizeObserver: Bad Pair",u,h);continue}const[f,p]=h,m=f.firstElementChild,v=p.firstElementChild;if(!(f instanceof HTMLElement)||!(p instanceof HTMLElement)||!(m instanceof HTMLElement)||!(v instanceof HTMLElement))continue;let k=a.get(m);if(k!=null){this.observedNodes.set(m,k),this.observedNodes.set(v,k),a.delete(m),a.delete(v);continue}const b=m.getBoundingClientRect().height,y=v.getBoundingClientRect().height;k={type:"annotations",column1:{container:f,child:m,childHeight:b},column2:{container:p,child:v,childHeight:y},currentHeight:"auto"},r.add({child1:m,child2:v,item:k,newHeight:Math.max(b,y)})}for(const u of r)this.applyNewHeight(u.item,u.newHeight),this.observedNodes.set(u.child1,u.item),this.observedNodes.set(u.child2,u.item),this.observe(u.child1),this.observe(u.child2);r.clear()}for(const[d,c]of a)this.unobserve(d),c.type==="code"?pb(c):mb(c);a.clear()}cleanUp(){for(const t of this.observedNodes.keys())this.unobserve(t);this.observedNodes.clear()}observe(t){const{managersByElement:n}=qe,i=n.get(t);if(i!==this){if(i!=null&&i!==this)throw new Error("ResizeManager.observe: element is already owned by another ResizeManager");n.set(t,this),qe.getResizeObserver().observe(t)}}unobserve(t){const{managersByElement:n,resizeObserver:i}=qe,r=n.get(t);if(r!=null){if(r!==this)throw new Error("ResizeManager.unobserve: element is owned by another ResizeManager");n.delete(t),i?.unobserve(t),i!=null&&n.size===0&&(i.disconnect(),qe.resizeObserver=void 0)}}handleResizeEntries(t){const n=new Map,i=new Set;for(const r of t){const{target:s,borderBoxSize:o,contentBoxSize:a}=r;if(!(s instanceof HTMLElement)){console.error("ResizeManager.handleResizeEntries: Invalid element for ResizeObserver",r);continue}const d=this.observedNodes.get(s);if(d==null){console.error("ResizeManager.handleResizeEntries: Not a valid observed node",r);continue}if(d.type==="annotations"){const c=(()=>{if(s===d.column1.child)return d.column1;if(s===d.column2.child)return d.column2})();if(c==null){console.error("ResizeManager.handleResizeEntries: Couldn't find a column for",{item:d,target:s});continue}c.childHeight=o[0].blockSize,i.add(d)}else if(d.type==="code"){const c=n.get(d)??{},u=a[0].inlineSize;s===d.codeElement?c.codeInlineSize=u:s===d.numberElement&&(c.numberInlineSize=u),n.set(d,c)}}this.applyAnnotationUpdates(i),i.clear(),this.applyColumnUpdates(n),n.clear()}applyAnnotationUpdates(t){for(const n of t)this.applyNewHeight(n,Math.max(n.column1.childHeight,n.column2.childHeight))}applyColumnUpdates=t=>{for(const[n,i]of t){const r=i.codeInlineSize!=null?ub(i.codeInlineSize):n.codeWidth,s=i.numberInlineSize!=null?hb(i.numberInlineSize):n.numberWidth,o=r!==n.codeWidth,a=s!==n.numberWidth;!o&&!a||(n.codeWidth=r,n.numberWidth=s,n.applyColumnVariables&&Hd(n,{codeWidthChanged:o,numberWidthChanged:a}))}};applyNewHeight(t,n){n!==t.currentHeight&&(t.currentHeight=Math.max(n,0),t.column1.container.style.setProperty("--diffs-annotation-min-height",`${t.currentHeight}px`),t.column2.container.style.setProperty("--diffs-annotation-min-height",`${t.currentHeight}px`))}};function ub(e){const t=Math.max(Math.floor(e),0);return t===0?"auto":t}function hb(e){return Math.max(Math.ceil(e),0)}function fb(e,t){e.applyColumnVariables!==t&&(e.applyColumnVariables=t,t?Hd(e,{codeWidthChanged:!0,numberWidthChanged:!0}):$d(e))}function Hd(e,{codeWidthChanged:t,numberWidthChanged:n}){const{codeElement:i,codeWidth:r,numberWidth:s}=e;if(t&&i.style.setProperty("--diffs-column-width",`${typeof r=="number"?`${r}px`:"auto"}`),n&&i.style.setProperty("--diffs-column-number-width",`${s===0?"auto":`${s}px`}`),t||n&&r!=="auto"){const o=typeof r=="number"?Math.max(r-s,0):0;i.style.setProperty("--diffs-column-content-width",`${o>0?`${o}px`:"auto"}`)}}function $d(e){e.codeElement.style.removeProperty("--diffs-column-content-width"),e.codeElement.style.removeProperty("--diffs-column-number-width"),e.codeElement.style.removeProperty("--diffs-column-width")}function pb(e){e.codeElement.isConnected&&$d(e)}function mb(e){e.column1.container.isConnected&&e.column1.container.style.removeProperty("--diffs-annotation-min-height"),e.column2.container.isConnected&&e.column2.container.style.removeProperty("--diffs-annotation-min-height")}function Vd(e,t){return e==null||t==null?e===t:e.startingLine===t.startingLine&&e.totalLines===t.totalLines&&e.bufferBefore===t.bufferBefore&&e.bufferAfter===t.bufferAfter}function gb(e,t){return e.endsWith(`\r
|
|
167
|
+
`)?t+`\r
|
|
168
|
+
`:e.endsWith("\r")?t+"\r":e.endsWith(`
|
|
169
|
+
`)?t+`
|
|
170
|
+
`:t}function bb(e){return W({tagName:"div",children:[W({tagName:"div",children:e.annotations?.map(t=>W({tagName:"slot",properties:{name:t}})),properties:{"data-annotation-content":""}})],properties:{"data-line-annotation":`${e.hunkIndex},${e.lineIndex}`}})}function vb(e,t){return W({tagName:"div",children:e,properties:{"data-content":"",style:`grid-row: span ${t}`}})}function yb(e){switch(e){case"file":return"diffs-icon-file-code";case"change":return"diffs-icon-symbol-modified";case"new":return"diffs-icon-symbol-added";case"deleted":return"diffs-icon-symbol-deleted";case"rename-pure":case"rename-changed":return"diffs-icon-symbol-moved"}}function kb({fileOrDiff:e,mode:t,stickyHeader:n}){const i="type"in e?e:void 0,r={"data-diffs-header":t,"data-change-type":i?.type,"data-sticky":n?"":void 0};return W({tagName:"div",children:[t==="custom"?W({tagName:"slot",properties:{name:ks}}):xb({name:e.name,prevName:"prevName"in e?e.prevName:void 0,iconType:i?.type??"file"}),...t==="custom"?[]:[_b(i)]],properties:r})}function xb({name:e,prevName:t,iconType:n}){const i=[W({tagName:"slot",properties:{name:ol}}),xi({name:yb(n),properties:{"data-change-icon":n}})];return t!=null&&(i.push(W({tagName:"div",children:[W({tagName:"bdi",children:[Me(t)]})],properties:{"data-prev-name":""}})),i.push(xi({name:"diffs-icon-arrow-right-short",properties:{"data-rename-icon":""}}))),i.push(W({tagName:"div",children:[W({tagName:"bdi",children:[Me(e)]})],properties:{"data-title":""}})),i.push(W({tagName:"slot",properties:{name:al}})),W({tagName:"div",children:i,properties:{"data-header-content":""}})}function _b(e){const t=[];if(e!=null){let n=0,i=0;for(const r of e.hunks)n+=r.additionLines,i+=r.deletionLines;(i>0||n===0)&&t.push(W({tagName:"span",children:[Me(`-${i}`)],properties:{"data-deletions-count":""}})),(n>0||i===0)&&t.push(W({tagName:"span",children:[Me(`+${n}`)],properties:{"data-additions-count":""}}))}return t.push(W({tagName:"slot",properties:{name:ll}})),W({tagName:"div",children:t,properties:{"data-metadata":""}})}function Cb(e){return W({tagName:"pre",properties:wb(e)})}function wb({diffIndicators:e,disableBackground:t,disableLineNumbers:n,overflow:i,split:r,totalLines:s,type:o,customProperties:a}){return{...a,"data-diff":o==="diff"?"":void 0,"data-file":o==="file"?"":void 0,"data-diff-type":o==="diff"?r?"split":"single":void 0,"data-overflow":i,"data-disable-line-numbers":n?"":void 0,"data-background":t?void 0:"","data-indicators":e==="bars"||e==="classic"?e:void 0,style:`--diffs-min-number-column-width-default:${`${s}`.length}ch;`}}function Lb(e,{theme:t,preferredHighlighter:n="shiki-js"}){return{langs:Array.isArray(e)?e:[e??"text"],themes:xs(t),preferredHighlighter:n}}function rs(e){return e.startingLine===0&&e.totalLines===1/0&&e.bufferBefore===0&&e.bufferAfter===0}const Sb=`<svg data-icon-sprite aria-hidden="true" width="0" height="0">
|
|
171
|
+
<symbol id="diffs-icon-arrow-right-short" viewBox="0 0 16 16">
|
|
172
|
+
<path d="M8.47 4.22a.75.75 0 0 0 0 1.06l1.97 1.97H3.75a.75.75 0 0 0 0 1.5h6.69l-1.97 1.97a.75.75 0 1 0 1.06 1.06l3.25-3.25a.75.75 0 0 0 0-1.06L9.53 4.22a.75.75 0 0 0-1.06 0"/>
|
|
173
|
+
</symbol>
|
|
174
|
+
<symbol id="diffs-icon-brand-github" viewBox="0 0 16 16">
|
|
175
|
+
<path d="M8 0c4.42 0 8 3.58 8 8a8.01 8.01 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27s-1.36.09-2 .27c-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8"/>
|
|
176
|
+
</symbol>
|
|
177
|
+
<symbol id="diffs-icon-chevron" viewBox="0 0 16 16">
|
|
178
|
+
<path d="M1.47 4.47a.75.75 0 0 1 1.06 0L8 9.94l5.47-5.47a.75.75 0 1 1 1.06 1.06l-6 6a.75.75 0 0 1-1.06 0l-6-6a.75.75 0 0 1 0-1.06"/>
|
|
179
|
+
</symbol>
|
|
180
|
+
<symbol id="diffs-icon-chevrons-narrow" viewBox="0 0 10 16">
|
|
181
|
+
<path d="M4.47 2.22a.75.75 0 0 1 1.06 0l3.25 3.25a.75.75 0 0 1-1.06 1.06L5 3.81 2.28 6.53a.75.75 0 0 1-1.06-1.06zM1.22 9.47a.75.75 0 0 1 1.06 0L5 12.19l2.72-2.72a.75.75 0 0 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0l-3.25-3.25a.75.75 0 0 1 0-1.06"/>
|
|
182
|
+
</symbol>
|
|
183
|
+
<symbol id="diffs-icon-diff-split" viewBox="0 0 16 16">
|
|
184
|
+
<path d="M14 0H8.5v16H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2m-1.5 6.5v1h1a.5.5 0 0 1 0 1h-1v1a.5.5 0 0 1-1 0v-1h-1a.5.5 0 0 1 0-1h1v-1a.5.5 0 0 1 1 0"/><path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h5.5V0zm.5 7.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1" opacity=".3"/>
|
|
185
|
+
</symbol>
|
|
186
|
+
<symbol id="diffs-icon-diff-unified" viewBox="0 0 16 16">
|
|
187
|
+
<path fill-rule="evenodd" d="M16 14a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V8.5h16zm-8-4a.5.5 0 0 0-.5.5v1h-1a.5.5 0 0 0 0 1h1v1a.5.5 0 0 0 1 0v-1h1a.5.5 0 0 0 0-1h-1v-1A.5.5 0 0 0 8 10" clip-rule="evenodd"/><path fill-rule="evenodd" d="M14 0a2 2 0 0 1 2 2v5.5H0V2a2 2 0 0 1 2-2zM6.5 3.5a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1z" clip-rule="evenodd" opacity=".4"/>
|
|
188
|
+
</symbol>
|
|
189
|
+
<symbol id="diffs-icon-expand" viewBox="0 0 16 16">
|
|
190
|
+
<path d="M3.47 5.47a.75.75 0 0 1 1.06 0L8 8.94l3.47-3.47a.75.75 0 1 1 1.06 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 0 1 0-1.06"/>
|
|
191
|
+
</symbol>
|
|
192
|
+
<symbol id="diffs-icon-expand-all" viewBox="0 0 16 16">
|
|
193
|
+
<path d="M11.47 9.47a.75.75 0 1 1 1.06 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 1 1 1.06-1.06L8 12.94zM7.526 1.418a.75.75 0 0 1 1.004.052l4 4a.75.75 0 1 1-1.06 1.06L8 3.06 4.53 6.53a.75.75 0 1 1-1.06-1.06l4-4z"/>
|
|
194
|
+
</symbol>
|
|
195
|
+
<symbol id="diffs-icon-eye-slash" viewBox="0 0 16 16">
|
|
196
|
+
<path d="m13.47 1.47-12 12 1.06 1.06 12-12zM8 14c-.92 0-1.802-.208-2.624-.547l1.173-1.174c.476.142.963.221 1.451.221 1.66 0 3.307-.949 4.626-2.196a10.4 10.4 0 0 0 1.494-1.751A5 5 0 0 0 14.443 8a5 5 0 0 0-.323-.553 10 10 0 0 0-1.238-1.5l1.061-1.062C15.222 6.173 16 7.511 16 8c0 1.05-3.582 6-8 6"/><path d="M8 11q-.084 0-.167-.005l3.162-3.162q.006.083.005.167a3 3 0 0 1-3 3M5.005 8.167l3.162-3.162a3 3 0 0 0-3.162 3.162"/><path d="M8 3.5c.485 0 .97.081 1.445.227l1.168-1.169C9.794 2.212 8.915 2 8 2 3.582 2 0 6.8 0 8c0 .555.766 1.88 2.027 3.144l1.06-1.06a9.5 9.5 0 0 1-1.203-1.461 4.3 4.3 0 0 1-.345-.617L1.536 8l.003-.006c.064-.149.176-.359.345-.617a9.8 9.8 0 0 1 1.482-1.73C4.675 4.427 6.326 3.5 8 3.5"/>
|
|
197
|
+
</symbol>
|
|
198
|
+
<symbol id="diffs-icon-file-code" viewBox="0 0 16 16">
|
|
199
|
+
<path d="M10.75 0c.199 0 .39.08.53.22l3.5 3.5c.14.14.22.331.22.53v9A2.75 2.75 0 0 1 12.25 16h-8.5A2.75 2.75 0 0 1 1 13.25V2.75A2.75 2.75 0 0 1 3.75 0zm-7 1.5c-.69 0-1.25.56-1.25 1.25v10.5c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25V5h-1.25A2.25 2.25 0 0 1 10 2.75V1.5z"/><path d="M7.248 6.19a.75.75 0 0 1 .063 1.058L5.753 9l1.558 1.752a.75.75 0 0 1-1.122.996l-2-2.25a.75.75 0 0 1 0-.996l2-2.25a.75.75 0 0 1 1.06-.063M8.69 7.248a.75.75 0 1 1 1.12-.996l2 2.25a.75.75 0 0 1 0 .996l-2 2.25a.75.75 0 1 1-1.12-.996L10.245 9z"/>
|
|
200
|
+
</symbol>
|
|
201
|
+
<symbol id="diffs-icon-plus" viewBox="0 0 16 16">
|
|
202
|
+
<path d="M8 3a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 8 3"/>
|
|
203
|
+
</symbol>
|
|
204
|
+
<symbol id="diffs-icon-symbol-added" viewBox="0 0 16 16">
|
|
205
|
+
<path d="M8 4a.75.75 0 0 1 .75.75v2.5h2.5a.75.75 0 0 1 0 1.5h-2.5v2.5a.75.75 0 0 1-1.5 0v-2.5h-2.5a.75.75 0 0 1 0-1.5h2.5v-2.5A.75.75 0 0 1 8 4"/><path d="M1.788 4.296c.196-.88.478-1.381.802-1.706s.826-.606 1.706-.802C5.194 1.588 6.387 1.5 8 1.5s2.806.088 3.704.288c.88.196 1.381.478 1.706.802s.607.826.802 1.706c.2.898.288 2.091.288 3.704s-.088 2.806-.288 3.704c-.195.88-.478 1.381-.802 1.706s-.826.607-1.706.802c-.898.2-2.091.288-3.704.288s-2.806-.088-3.704-.288c-.88-.195-1.381-.478-1.706-.802s-.606-.826-.802-1.706C1.588 10.806 1.5 9.613 1.5 8s.088-2.806.288-3.704M8 0C1.412 0 0 1.412 0 8s1.412 8 8 8 8-1.412 8-8-1.412-8-8-8"/>
|
|
206
|
+
</symbol>
|
|
207
|
+
<symbol id="diffs-icon-symbol-added-duo" viewBox="0 0 16 16">
|
|
208
|
+
<path d="M8 0C1.412 0 0 1.412 0 8s1.412 8 8 8 8-1.412 8-8-1.412-8-8-8" opacity=".2"/><path d="M8 4a.75.75 0 0 1 .75.75v2.5h2.5a.75.75 0 0 1 0 1.5h-2.5v2.5a.75.75 0 0 1-1.5 0v-2.5h-2.5a.75.75 0 0 1 0-1.5h2.5v-2.5A.75.75 0 0 1 8 4"/>
|
|
209
|
+
</symbol>
|
|
210
|
+
<symbol id="diffs-icon-symbol-added-fill" viewBox="0 0 16 16">
|
|
211
|
+
<path fill-rule="evenodd" d="M8 0c6.588 0 8 1.412 8 8s-1.412 8-8 8-8-1.412-8-8 1.412-8 8-8m0 4a.75.75 0 0 0-.75.75v2.5h-2.5a.75.75 0 0 0 0 1.5h2.5v2.5a.75.75 0 0 0 1.5 0v-2.5h2.5a.75.75 0 0 0 0-1.5h-2.5v-2.5A.75.75 0 0 0 8 4" clip-rule="evenodd"/>
|
|
212
|
+
</symbol>
|
|
213
|
+
<symbol id="diffs-icon-symbol-deleted" viewBox="0 0 16 16">
|
|
214
|
+
<path d="M4 8a.75.75 0 0 1 .75-.75h6.5a.75.75 0 0 1 0 1.5h-6.5A.75.75 0 0 1 4 8"/><path d="M1.788 4.296c.196-.88.478-1.381.802-1.706s.826-.606 1.706-.802C5.194 1.588 6.387 1.5 8 1.5s2.806.088 3.704.288c.88.196 1.381.478 1.706.802s.607.826.802 1.706c.2.898.288 2.091.288 3.704s-.088 2.806-.288 3.704c-.195.88-.478 1.381-.802 1.706s-.826.607-1.706.802c-.898.2-2.091.288-3.704.288s-2.806-.088-3.704-.288c-.88-.195-1.381-.478-1.706-.802s-.606-.826-.802-1.706C1.588 10.806 1.5 9.613 1.5 8s.088-2.806.288-3.704M8 0C1.412 0 0 1.412 0 8s1.412 8 8 8 8-1.412 8-8-1.412-8-8-8"/>
|
|
215
|
+
</symbol>
|
|
216
|
+
<symbol id="diffs-icon-symbol-deleted-duo" viewBox="0 0 16 16">
|
|
217
|
+
<path d="M8 0C1.412 0 0 1.412 0 8s1.412 8 8 8 8-1.412 8-8-1.412-8-8-8" opacity=".2"/><path d="M4 8a.75.75 0 0 1 .75-.75h6.5a.75.75 0 0 1 0 1.5h-6.5A.75.75 0 0 1 4 8"/>
|
|
218
|
+
</symbol>
|
|
219
|
+
<symbol id="diffs-icon-symbol-deleted-fill" viewBox="0 0 16 16">
|
|
220
|
+
<path fill-rule="evenodd" d="M8 0c6.588 0 8 1.412 8 8s-1.412 8-8 8-8-1.412-8-8 1.412-8 8-8M4.75 7.25a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5z" clip-rule="evenodd"/>
|
|
221
|
+
</symbol>
|
|
222
|
+
<symbol id="diffs-icon-symbol-diffstat" viewBox="0 0 16 16">
|
|
223
|
+
<path d="M1.788 4.296c.196-.88.478-1.381.802-1.706s.826-.606 1.706-.802C5.194 1.588 6.387 1.5 8 1.5s2.806.088 3.704.288c.88.196 1.381.478 1.706.802s.607.826.802 1.706c.2.898.288 2.091.288 3.704s-.088 2.806-.288 3.704c-.195.88-.478 1.381-.802 1.706s-.826.607-1.706.802c-.898.2-2.091.288-3.704.288s-2.806-.088-3.704-.288c-.88-.195-1.381-.478-1.706-.802s-.606-.826-.802-1.706C1.588 10.806 1.5 9.613 1.5 8s.088-2.806.288-3.704M8 0C1.412 0 0 1.412 0 8s1.412 8 8 8 8-1.412 8-8-1.412-8-8-8"/><path d="M8.75 4.296a.75.75 0 0 0-1.5 0V6.25h-2a.75.75 0 0 0 0 1.5h2v1.5h1.5v-1.5h2a.75.75 0 0 0 0-1.5h-2zM5.25 10a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5z"/>
|
|
224
|
+
</symbol>
|
|
225
|
+
<symbol id="diffs-icon-symbol-diffstat-duo" viewBox="0 0 16 16">
|
|
226
|
+
<path d="M8 0C1.412 0 0 1.412 0 8s1.412 8 8 8 8-1.412 8-8-1.412-8-8-8" opacity=".2"/><path d="M8.75 4.296a.75.75 0 0 0-1.5 0V6.25h-2a.75.75 0 0 0 0 1.5h2v1.5h1.5v-1.5h2a.75.75 0 0 0 0-1.5h-2zM5.25 10a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5z"/>
|
|
227
|
+
</symbol>
|
|
228
|
+
<symbol id="diffs-icon-symbol-diffstat-fill" viewBox="0 0 16 16">
|
|
229
|
+
<path fill-rule="evenodd" d="M8 0c6.588 0 8 1.412 8 8s-1.412 8-8 8-8-1.412-8-8 1.412-8 8-8M5.25 10a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zM8 3.546a.75.75 0 0 0-.75.75V6.25h-2a.75.75 0 0 0 0 1.5h2v1.5h1.5v-1.5h2a.75.75 0 0 0 0-1.5h-2V4.296a.75.75 0 0 0-.75-.75" clip-rule="evenodd"/>
|
|
230
|
+
</symbol>
|
|
231
|
+
<symbol id="diffs-icon-symbol-extracted" viewBox="0 0 16 16">
|
|
232
|
+
<path d="M8.25 4.25a.75.75 0 0 1 0 1.5H6.81l3.302 3.302a1.5 1.5 0 1 1-1.06 1.06L5.75 6.811V8.25a.75.75 0 0 1-1.5 0V5A.75.75 0 0 1 5 4.25z"/><path fill-rule="evenodd" d="M8 0c6.588 0 8 1.412 8 8s-1.412 8-8 8-8-1.412-8-8 1.412-8 8-8m0 1.5c-1.613 0-2.807.089-3.704.288-.88.196-1.382.477-1.706.802-.325.324-.606.826-.802 1.706C1.588 5.193 1.5 6.387 1.5 8s.089 2.807.288 3.704c.196.88.477 1.382.802 1.706.324.325.826.606 1.706.802.897.2 2.091.288 3.704.288s2.807-.089 3.704-.288c.88-.196 1.382-.477 1.706-.802.325-.324.606-.826.802-1.706.2-.897.288-2.091.288-3.704s-.089-2.807-.288-3.704c-.196-.88-.477-1.382-.802-1.706-.324-.325-.826-.606-1.706-.802C10.807 1.588 9.613 1.5 8 1.5" clip-rule="evenodd"/>
|
|
233
|
+
</symbol>
|
|
234
|
+
<symbol id="diffs-icon-symbol-extracted-duo" viewBox="0 0 16 16">
|
|
235
|
+
<path fill-rule="evenodd" d="M8 0c6.588 0 8 1.412 8 8s-1.412 8-8 8-8-1.412-8-8 1.412-8 8-8" clip-rule="evenodd" opacity=".2"/><path d="M8.25 4.25a.75.75 0 0 1 0 1.5H6.81l3.302 3.302a1.5 1.5 0 1 1-1.06 1.06L5.75 6.811V8.25a.75.75 0 0 1-1.5 0V5A.75.75 0 0 1 5 4.25z"/>
|
|
236
|
+
</symbol>
|
|
237
|
+
<symbol id="diffs-icon-symbol-extracted-fill" viewBox="0 0 16 16">
|
|
238
|
+
<path fill-rule="evenodd" d="M8 0c6.588 0 8 1.412 8 8s-1.412 8-8 8-8-1.412-8-8 1.412-8 8-8M5 4.25a.75.75 0 0 0-.75.75v3.25a.75.75 0 0 0 1.5 0V6.81l3.302 3.302a1.5 1.5 0 1 0 1.06-1.06L6.811 5.75H8.25a.75.75 0 0 0 0-1.5z" clip-rule="evenodd"/>
|
|
239
|
+
</symbol>
|
|
240
|
+
<symbol id="diffs-icon-symbol-ignored" viewBox="0 0 16 16">
|
|
241
|
+
<path d="M1.5 8c0 1.613.088 2.806.288 3.704.196.88.478 1.381.802 1.706s.826.607 1.706.802c.898.2 2.091.288 3.704.288s2.806-.088 3.704-.288c.88-.195 1.381-.478 1.706-.802s.607-.826.802-1.706c.2-.898.288-2.091.288-3.704s-.088-2.806-.288-3.704c-.195-.88-.478-1.381-.802-1.706s-.826-.606-1.706-.802C10.806 1.588 9.613 1.5 8 1.5s-2.806.088-3.704.288c-.88.196-1.381.478-1.706.802s-.606.826-.802 1.706C1.588 5.194 1.5 6.387 1.5 8M0 8c0-6.588 1.412-8 8-8s8 1.412 8 8-1.412 8-8 8-8-1.412-8-8m11.53-2.47a.75.75 0 0 0-1.06-1.06l-6 6a.75.75 0 1 0 1.06 1.06z"/>
|
|
242
|
+
</symbol>
|
|
243
|
+
<symbol id="diffs-icon-symbol-ignored-duo" viewBox="0 0 16 16">
|
|
244
|
+
<path d="M8 0C1.412 0 0 1.412 0 8s1.412 8 8 8 8-1.412 8-8-1.412-8-8-8" opacity=".2"/><path d="M11.53 4.47a.75.75 0 0 1 0 1.06l-6 6a.75.75 0 0 1-1.06-1.06l6-6a.75.75 0 0 1 1.06 0"/>
|
|
245
|
+
</symbol>
|
|
246
|
+
<symbol id="diffs-icon-symbol-ignored-fill" viewBox="0 0 16 16">
|
|
247
|
+
<path fill-rule="evenodd" d="M8 0c6.588 0 8 1.412 8 8s-1.412 8-8 8-8-1.412-8-8 1.412-8 8-8m3.53 4.47a.75.75 0 0 0-1.06 0l-6 6a.75.75 0 1 0 1.06 1.06l6-6a.75.75 0 0 0 0-1.06" clip-rule="evenodd"/>
|
|
248
|
+
</symbol>
|
|
249
|
+
<symbol id="diffs-icon-symbol-inlined" viewBox="0 0 16 16">
|
|
250
|
+
<path d="M7.75 11.75a.75.75 0 0 1 0-1.5h1.44L5.887 6.948a1.5 1.5 0 1 1 1.06-1.06l3.302 3.301V7.75a.75.75 0 0 1 1.5 0V11a.75.75 0 0 1-.75.75z"/><path fill-rule="evenodd" d="M8 16c-6.588 0-8-1.412-8-8s1.412-8 8-8 8 1.412 8 8-1.412 8-8 8m0-1.5c1.613 0 2.807-.089 3.704-.288.88-.196 1.382-.477 1.706-.802.325-.324.606-.826.802-1.706.2-.897.288-2.091.288-3.704s-.089-2.807-.288-3.704c-.196-.88-.477-1.382-.802-1.706-.324-.325-.826-.606-1.706-.802C10.807 1.588 9.613 1.5 8 1.5s-2.807.089-3.704.288c-.88.196-1.382.477-1.706.802-.325.324-.606.826-.802 1.706C1.588 5.193 1.5 6.387 1.5 8s.089 2.807.288 3.704c.196.88.477 1.382.802 1.706.324.325.826.606 1.706.802.897.2 2.091.288 3.704.288" clip-rule="evenodd"/>
|
|
251
|
+
</symbol>
|
|
252
|
+
<symbol id="diffs-icon-symbol-inlined-duo" viewBox="0 0 16 16">
|
|
253
|
+
<path fill-rule="evenodd" d="M8 16c-6.588 0-8-1.412-8-8s1.412-8 8-8 8 1.412 8 8-1.412 8-8 8" clip-rule="evenodd" opacity=".2"/><path d="M7.75 11.75a.75.75 0 0 1 0-1.5h1.44L5.887 6.948a1.5 1.5 0 1 1 1.06-1.06l3.302 3.301V7.75a.75.75 0 0 1 1.5 0V11a.75.75 0 0 1-.75.75z"/>
|
|
254
|
+
</symbol>
|
|
255
|
+
<symbol id="diffs-icon-symbol-inlined-fill" viewBox="0 0 16 16">
|
|
256
|
+
<path fill-rule="evenodd" d="M8 0c6.588 0 8 1.412 8 8s-1.412 8-8 8-8-1.412-8-8 1.412-8 8-8M5.5 4a1.5 1.5 0 1 0 .388 2.948l3.301 3.302H7.75a.75.75 0 0 0 0 1.5H11a.75.75 0 0 0 .75-.75V7.75a.75.75 0 0 0-1.5 0v1.44L6.948 5.887A1.5 1.5 0 0 0 5.5 4" clip-rule="evenodd"/>
|
|
257
|
+
</symbol>
|
|
258
|
+
<symbol id="diffs-icon-symbol-modified" viewBox="0 0 16 16">
|
|
259
|
+
<path d="M1.5 8c0 1.613.088 2.806.288 3.704.196.88.478 1.381.802 1.706s.826.607 1.706.802c.898.2 2.091.288 3.704.288s2.806-.088 3.704-.288c.88-.195 1.381-.478 1.706-.802s.607-.826.802-1.706c.2-.898.288-2.091.288-3.704s-.088-2.806-.288-3.704c-.195-.88-.478-1.381-.802-1.706s-.826-.606-1.706-.802C10.806 1.588 9.613 1.5 8 1.5s-2.806.088-3.704.288c-.88.196-1.381.478-1.706.802s-.606.826-.802 1.706C1.588 5.194 1.5 6.387 1.5 8M0 8c0-6.588 1.412-8 8-8s8 1.412 8 8-1.412 8-8 8-8-1.412-8-8m8 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6"/>
|
|
260
|
+
</symbol>
|
|
261
|
+
<symbol id="diffs-icon-symbol-modified-duo" viewBox="0 0 16 16">
|
|
262
|
+
<path d="M8 0C1.412 0 0 1.412 0 8s1.412 8 8 8 8-1.412 8-8-1.412-8-8-8" opacity=".2"/><path d="M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0"/>
|
|
263
|
+
</symbol>
|
|
264
|
+
<symbol id="diffs-icon-symbol-modified-fill" viewBox="0 0 16 16">
|
|
265
|
+
<path fill-rule="evenodd" d="M8 0c6.588 0 8 1.412 8 8s-1.412 8-8 8-8-1.412-8-8 1.412-8 8-8m0 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6" clip-rule="evenodd"/>
|
|
266
|
+
</symbol>
|
|
267
|
+
<symbol id="diffs-icon-symbol-moved" viewBox="0 0 16 16">
|
|
268
|
+
<path d="M1.788 4.296c.196-.88.478-1.381.802-1.706s.826-.606 1.706-.802C5.194 1.588 6.387 1.5 8 1.5s2.806.088 3.704.288c.88.196 1.381.478 1.706.802s.607.826.802 1.706c.2.898.288 2.091.288 3.704s-.088 2.806-.288 3.704c-.195.88-.478 1.381-.802 1.706s-.826.607-1.706.802c-.898.2-2.091.288-3.704.288s-2.806-.088-3.704-.288c-.88-.195-1.381-.478-1.706-.802s-.606-.826-.802-1.706C1.588 10.806 1.5 9.613 1.5 8s.088-2.806.288-3.704M8 0C1.412 0 0 1.412 0 8s1.412 8 8 8 8-1.412 8-8-1.412-8-8-8"/><path d="M8.495 4.695a.75.75 0 0 0-.05 1.06L10.486 8l-2.041 2.246a.75.75 0 0 0 1.11 1.008l2.5-2.75a.75.75 0 0 0 0-1.008l-2.5-2.75a.75.75 0 0 0-1.06-.051m-4 0a.75.75 0 0 0-.05 1.06l2.044 2.248-1.796 1.995a.75.75 0 0 0 1.114 1.004l2.25-2.5a.75.75 0 0 0-.002-1.007l-2.5-2.75a.75.75 0 0 0-1.06-.05"/>
|
|
269
|
+
</symbol>
|
|
270
|
+
<symbol id="diffs-icon-symbol-moved-duo" viewBox="0 0 16 16">
|
|
271
|
+
<path d="M8 0C1.412 0 0 1.412 0 8s1.412 8 8 8 8-1.412 8-8-1.412-8-8-8" opacity=".2"/><path d="M8.496 4.695a.75.75 0 0 0-.051 1.06L10.486 8l-2.041 2.246a.75.75 0 0 0 1.11 1.008l2.5-2.75a.75.75 0 0 0 0-1.008l-2.5-2.75a.75.75 0 0 0-1.06-.051m-4 0a.75.75 0 0 0-.051 1.06L6.49 8.003 4.693 9.998a.75.75 0 0 0 1.114 1.004l2.25-2.5a.75.75 0 0 0-.002-1.007l-2.5-2.75a.75.75 0 0 0-1.06-.05"/>
|
|
272
|
+
</symbol>
|
|
273
|
+
<symbol id="diffs-icon-symbol-moved-fill" viewBox="0 0 16 16">
|
|
274
|
+
<path fill-rule="evenodd" d="M8 0c6.588 0 8 1.412 8 8s-1.412 8-8 8-8-1.412-8-8 1.412-8 8-8m1.555 4.745a.75.75 0 0 0-1.11 1.01L10.486 8l-2.04 2.245a.75.75 0 0 0 1.109 1.01l2.5-2.75a.75.75 0 0 0 0-1.01zm-4 0a.75.75 0 0 0-1.11 1.01l2.043 2.248-1.796 1.995a.75.75 0 0 0 1.116 1.004l2.25-2.5a.75.75 0 0 0-.003-1.007z" clip-rule="evenodd"/>
|
|
275
|
+
</symbol>
|
|
276
|
+
<symbol id="diffs-icon-symbol-ref" viewBox="0 0 16 16">
|
|
277
|
+
<path d="M1.5 8c0 1.613.088 2.806.288 3.704.196.88.478 1.381.802 1.706.286.286.71.54 1.41.73V1.86c-.7.19-1.124.444-1.41.73-.324.325-.606.826-.802 1.706C1.588 5.194 1.5 6.387 1.5 8m4 6.397c.697.07 1.522.103 2.5.103 1.613 0 2.806-.088 3.704-.288.88-.195 1.381-.478 1.706-.802s.607-.826.802-1.706c.2-.898.288-2.091.288-3.704s-.088-2.806-.288-3.704c-.195-.88-.478-1.381-.802-1.706s-.826-.606-1.706-.802C10.806 1.588 9.613 1.5 8 1.5c-.978 0-1.803.033-2.5.103zM0 8c0-6.588 1.412-8 8-8s8 1.412 8 8-1.412 8-8 8-8-1.412-8-8m7-2a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1z"/>
|
|
278
|
+
</symbol>
|
|
279
|
+
</svg>`;function Eb(e,t){return e==null||t==null?e===t:Rb(e.customProperties,t.customProperties)&&e.type===t.type&&e.diffIndicators===t.diffIndicators&&e.disableBackground===t.disableBackground&&e.disableLineNumbers===t.disableLineNumbers&&e.overflow===t.overflow&&e.split===t.split&&e.totalLines===t.totalLines}const ta={};function Rb(e=ta,t=ta){if(e===t)return!0;const n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(const r of n)if(e[r]!==t[r])return!1;return!0}function Ab(e){const t=document.createElement("div");return t.dataset.annotationSlot="",t.slot=e,t.style.whiteSpace="normal",t}function Ib(){const e=document.createElement("div");return e.slot="gutter-utility-slot",e.style.position="absolute",e.style.top="0",e.style.bottom="0",e.style.textAlign="center",e.style.whiteSpace="normal",e.style.touchAction="none",e}function Tb(){const e=document.createElement("style");return e.setAttribute(fh,""),e}let Un;function ss(e){if(Un!=null)return Un;const t=e.host;if(typeof HTMLElement<"u"&&t instanceof HTMLElement&&!t.isConnected)return;const n=document.createElement("div");n.setAttribute("data-code",""),n.setAttribute(ph,"true");const i=document.createElement("div");return i.style.position="relative",i.style.width="200%",i.style.height="200%",n.appendChild(i),e.appendChild(n),Un=Math.max(n.offsetHeight-n.clientHeight,0),n.remove(),Un}function Bd(e){const t=e==null?"var(--diffs-scrollbar-gutter-fallback)":`${e}px`;return`${dl}: ${t};`}var jb=`@layer base,theme,rendered,unsafe;@layer base{:host{--diffs-font-fallback:"SF Mono", Monaco, Consolas, "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;--diffs-header-font-fallback:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;--diffs-mixer:light-dark(#000,#fff);--diffs-gap-fallback:8px;--diffs-scrollbar-gutter-fallback:6px;--diffs-scrollbar-gutter:var(--diffs-scrollbar-gutter-override,var(--diffs-scrollbar-gutter-measured,var(--diffs-scrollbar-gutter-fallback)));--diffs-added-light:#0dbe4e;--diffs-added-dark:#5ecc71;--diffs-modified-light:#009fff;--diffs-modified-dark:#69b1ff;--diffs-deleted-light:#ff2e3f;--diffs-deleted-dark:#ff6762;--diffs-warning-light:#d5a910;--diffs-warning-dark:#ffd452;color-scheme:light dark;font-family:var(--diffs-header-font-family,var(--diffs-header-font-fallback));font-size:var(--diffs-font-size,13px);line-height:var(--diffs-line-height,20px);font-feature-settings:var(--diffs-font-features);--diffs-bg:light-dark(var(--diffs-light-bg,#fff),var(--diffs-dark-bg,#000));--diffs-bg-buffer:var(--diffs-bg-buffer-override,light-dark(color-mix(in lab, var(--diffs-bg) 92%, var(--diffs-mixer)),color-mix(in lab, var(--diffs-bg) 92%, var(--diffs-mixer))));--diffs-bg-context:var(--diffs-bg-context-override,light-dark(color-mix(in lab, var(--diffs-bg) 98.5%, var(--diffs-mixer)),color-mix(in lab, var(--diffs-bg) 92.5%, var(--diffs-mixer))));--diffs-bg-context-gutter:var(--diffs-bg-context-gutter-override,light-dark(color-mix(in lab, var(--diffs-bg-context) 90%, var(--diffs-bg)),color-mix(in lab, var(--diffs-bg-context) 45%, var(--diffs-bg))));--diffs-bg-separator:var(--diffs-bg-separator-override,light-dark(color-mix(in lab, var(--diffs-bg) 96%, var(--diffs-mixer)),color-mix(in lab, var(--diffs-bg) 85%, var(--diffs-mixer))));--diffs-fg:light-dark(var(--diffs-light,#000),var(--diffs-dark,#fff));--diffs-fg-number:var(--diffs-fg-number-override,light-dark(color-mix(in lab, var(--diffs-fg) 65%, var(--diffs-bg)),color-mix(in lab, var(--diffs-fg) 65%, var(--diffs-bg))));--diffs-fg-conflict-marker:var(--diffs-fg-conflict-marker-override,var(--diffs-fg-number));--diffs-deletion-base:var(--diffs-deletion-color-override,light-dark(var(--diffs-light-deletion-color,var(--diffs-deletion-color,var(--diffs-deleted-light))),var(--diffs-dark-deletion-color,var(--diffs-deletion-color,var(--diffs-deleted-dark)))));--diffs-addition-base:var(--diffs-addition-color-override,light-dark(var(--diffs-light-addition-color,var(--diffs-addition-color,var(--diffs-added-light))),var(--diffs-dark-addition-color,var(--diffs-addition-color,var(--diffs-added-dark)))));--diffs-modified-base:var(--diffs-modified-color-override,light-dark(var(--diffs-light-modified-color,var(--diffs-modified-color,var(--diffs-modified-light))),var(--diffs-dark-modified-color,var(--diffs-modified-color,var(--diffs-modified-dark)))));--diffs-bg-deletion:var(--diffs-bg-deletion-override,light-dark(color-mix(in lab, var(--diffs-bg) 88%, var(--diffs-deletion-base)),color-mix(in lab, var(--diffs-bg) 80%, var(--diffs-deletion-base))));--diffs-bg-deletion-emphasis:var(--diffs-bg-deletion-emphasis-override,light-dark(rgb(from var(--diffs-deletion-base) r g b / .15),rgb(from var(--diffs-deletion-base) r g b / .2)));--diffs-bg-addition:var(--diffs-bg-addition-override,light-dark(color-mix(in lab, var(--diffs-bg) 88%, var(--diffs-addition-base)),color-mix(in lab, var(--diffs-bg) 80%, var(--diffs-addition-base))));--diffs-bg-addition-emphasis:var(--diffs-bg-addition-emphasis-override,light-dark(rgb(from var(--diffs-addition-base) r g b / .15),rgb(from var(--diffs-addition-base) r g b / .2)));--diffs-selection-base:var(--diffs-modified-base);--diffs-selection-number-fg:light-dark(color-mix(in lab, var(--diffs-selection-base) 65%, var(--diffs-mixer)),color-mix(in lab, var(--diffs-selection-base) 75%, var(--diffs-mixer)));background-color:var(--diffs-bg);color:var(--diffs-fg);display:block}pre,code,[data-error-wrapper]{isolation:isolate;font-family:var(--diffs-font-family,var(--diffs-font-fallback));outline:none;margin:0;padding:0;display:block}pre,code{background-color:var(--diffs-bg)}code{contain:content}input,button{font-family:inherit;font-size:inherit;line-height:inherit}*,:before,:after{box-sizing:border-box}[data-icon-sprite]{display:none}[data-diffs-header],[data-separator]{font-family:var(--diffs-header-font-family,var(--diffs-header-font-fallback))}[data-diffs-header][data-sticky]{z-index:1;background-color:var(--diffs-bg);position:sticky;top:0}[data-file-info]{color:var(--fg);background-color:color-mix(in lab, var(--bg) 98%, var(--fg));border-block:1px solid color-mix(in lab, var(--bg) 95%, var(--fg));padding:10px;font-weight:700}[data-diff],[data-file]{--diffs-grid-number-column-width:minmax(min-content, max-content);--diffs-code-grid:var(--diffs-grid-number-column-width) 1fr;&[data-dehydrated]{--diffs-code-grid:var(--diffs-grid-number-column-width) minmax(0, 1fr)}&:hover [data-code]::-webkit-scrollbar-thumb{background-color:var(--diffs-bg-context)}}@supports (-webkit-touch-callout:none){:host{--diffs-scrollbar-gutter-fallback:0px}}[data-line] span,[data-edit-prediction-suffix] span{color:light-dark(var(--diffs-token-light,var(--diffs-light)),var(--diffs-token-dark,var(--diffs-dark)));background-color:light-dark(var(--diffs-token-light-bg,inherit),var(--diffs-token-dark-bg,inherit));font-weight:light-dark(var(--diffs-token-light-font-weight,inherit),var(--diffs-token-dark-font-weight,inherit));font-style:light-dark(var(--diffs-token-light-font-style,inherit),var(--diffs-token-dark-font-style,inherit));text-decoration:light-dark(var(--diffs-token-light-text-decoration,inherit),var(--diffs-token-dark-text-decoration,inherit))}[data-line],[data-gutter-buffer],[data-column-number],[data-line-annotation],[data-no-newline],[data-merge-conflict],[data-merge-conflict-actions],[data-editor-overlay]{--diffs-computed-decoration-bg:var(--diffs-bg);--diffs-computed-diff-line-bg:var(--diffs-computed-decoration-bg);--diffs-computed-selected-line-bg:var(--diffs-computed-diff-line-bg);--diffs-computed-editor-active-line-bg:var(--diffs-computed-selected-line-bg);--diffs-computed-hovered-line-bg:var(--diffs-computed-editor-active-line-bg);--diffs-hover-mix-target:var(--diffs-bg-hover-override,var(--diffs-mixer));--diffs-line-bg:var(--diffs-computed-hovered-line-bg);color:var(--diffs-fg);background-color:var(--diffs-line-bg,var(--diffs-bg))}[data-line],[data-no-newline]{&[data-decoration-bg]{--mix-deco-light:92%;--mix-deco-dark:85%;&[data-decoration-bg-depth="2"]{--mix-deco-light:88%;--mix-deco-dark:80%}&[data-decoration-bg-depth="3"]{--mix-deco-light:85%;--mix-deco-dark:78%}--diffs-hover-mix-target:var(--diffs-decoration-bg);--diffs-computed-decoration-bg:light-dark(color-mix(in lab, var(--diffs-bg) var(--mix-deco-light), var(--diffs-decoration-bg)),color-mix(in lab, var(--diffs-bg) var(--mix-deco-dark), var(--diffs-decoration-bg)))}}[data-line-annotation],[data-gutter-buffer=annotation]{--diffs-annotation-bg:var(--diffs-bg-context);--diffs-computed-decoration-bg:var(--diffs-annotation-bg);--diffs-hover-mix-target:var(--diffs-computed-editor-active-line-bg)}[data-merge-conflict-actions],[data-gutter-buffer=merge-conflict-action],[data-gutter-buffer=merge-conflict-marker-base],[data-gutter-buffer=merge-conflict-marker-separator],[data-merge-conflict=marker-base],[data-merge-conflict=marker-separator]{--diffs-computed-decoration-bg:var(--diffs-bg-context);--diffs-hover-mix-target:var(--diffs-computed-editor-active-line-bg)}[data-gutter-buffer=merge-conflict-marker-start],[data-merge-conflict=marker-start]{--diffs-computed-decoration-bg:light-dark(color-mix(in lab, var(--diffs-bg) 78%, var(--conflict-bg-current-header-override,var(--diffs-addition-base))),color-mix(in lab, var(--diffs-bg) 68%, var(--conflict-bg-current-header-override,var(--diffs-addition-base))));--diffs-hover-mix-target:var(--diffs-computed-editor-active-line-bg)}[data-gutter-buffer=merge-conflict-marker-end],[data-merge-conflict=marker-end]{--diffs-computed-decoration-bg:light-dark(color-mix(in lab, var(--diffs-bg) 78%, var(--conflict-bg-incoming-header-override,var(--diffs-modified-base))),color-mix(in lab, var(--diffs-bg) 68%, var(--conflict-bg-incoming-header-override,var(--diffs-modified-base))));--diffs-hover-mix-target:var(--diffs-computed-editor-active-line-bg)}[data-has-merge-conflict] [data-line-annotation],[data-has-merge-conflict] [data-gutter-buffer=annotation]{--diffs-computed-decoration-bg:var(--diffs-bg);--diffs-hover-mix-target:var(--diffs-computed-editor-active-line-bg)}:where([data-background]){& [data-gutter-buffer],& [data-column-number]{--mix-light:91%;--mix-dark:85%}& [data-line],& [data-no-newline]{--mix-light:88%;--mix-dark:80%}& [data-gutter-buffer],& [data-column-number],& [data-line],& [data-no-newline]{--diffs-diff-line-mix-target:var(--diffs-bg);&[data-line-type=change-deletion]{--diffs-diff-line-mix-target:var(--diffs-bg-deletion-override,var(--diffs-deletion-base));--diffs-hover-mix-target:var(--diffs-diff-line-mix-target);&:where([data-gutter-buffer],[data-column-number]){color:var(--diffs-fg-number-deletion-override,var(--diffs-deletion-base));--diffs-diff-line-mix-target:var(--diffs-bg-deletion-number-override,var(--diffs-deletion-base))}--diffs-computed-diff-line-bg:light-dark(color-mix(in lab, var(--diffs-computed-decoration-bg) var(--mix-light), var(--diffs-diff-line-mix-target)),color-mix(in lab, var(--diffs-computed-decoration-bg) var(--mix-dark), var(--diffs-diff-line-mix-target)))}&[data-line-type=change-addition]{--diffs-diff-line-mix-target:var(--diffs-bg-addition-override,var(--diffs-addition-base));--diffs-hover-mix-target:var(--diffs-diff-line-mix-target);&:where([data-gutter-buffer],[data-column-number]){color:var(--diffs-fg-number-addition-override,var(--diffs-addition-base));--diffs-diff-line-mix-target:var(--diffs-bg-addition-number-override,var(--diffs-addition-base))}--diffs-computed-diff-line-bg:light-dark(color-mix(in lab, var(--diffs-computed-decoration-bg) var(--mix-light), var(--diffs-diff-line-mix-target)),color-mix(in lab, var(--diffs-computed-decoration-bg) var(--mix-dark), var(--diffs-diff-line-mix-target)))}&[data-merge-conflict=current]{--diffs-diff-line-mix-target:var(--conflict-bg-current-override,var(--diffs-addition-base));--diffs-hover-mix-target:var(--diffs-diff-line-mix-target);&:where([data-gutter-buffer],[data-column-number]){color:var(--diffs-fg-number-addition-override,var(--diffs-addition-base));--diffs-diff-line-mix-target:var(--conflict-bg-current-number-override,var(--diffs-addition-base))}--diffs-computed-diff-line-bg:light-dark(color-mix(in lab, var(--diffs-computed-decoration-bg) var(--mix-light), var(--diffs-diff-line-mix-target)),color-mix(in lab, var(--diffs-computed-decoration-bg) var(--mix-dark), var(--diffs-diff-line-mix-target)))}&[data-merge-conflict=incoming]{--diffs-diff-line-mix-target:var(--conflict-bg-incoming-override,var(--diffs-modified-base));--diffs-hover-mix-target:var(--diffs-diff-line-mix-target);&:where([data-gutter-buffer],[data-column-number]){color:var(--diffs-modified-base);--diffs-diff-line-mix-target:var(--conflict-bg-incoming-number-override,var(--diffs-modified-base))}--diffs-computed-diff-line-bg:light-dark(color-mix(in lab, var(--diffs-computed-decoration-bg) var(--mix-light), var(--diffs-diff-line-mix-target)),color-mix(in lab, var(--diffs-computed-decoration-bg) var(--mix-dark), var(--diffs-diff-line-mix-target)))}}}[data-gutter-buffer],[data-column-number],[data-line],[data-line-annotation],[data-merge-conflict],[data-merge-conflict-actions],[data-no-newline],[data-editor-overlay]{--diffs-selection-mix-target:var(--diffs-bg-selection-override,var(--diffs-selection-base));--diffs-selection-emphasis-mix-target:var(--diffs-selection-mix-target);&:where([data-editor-overlay]),&:where([data-line],[data-line-annotation],[data-merge-conflict],[data-merge-conflict-actions],[data-no-newline])[data-selected-line]{--mix-selection-light:82%;--mix-selection-dark:75%;--diffs-hover-mix-target:var(--diffs-selection-mix-target)}&:where([data-gutter-buffer][data-selected-line],[data-column-number]:is([data-selected-line],[data-editor-active-line])){--mix-selection-light:75%;--mix-selection-dark:60%;--diffs-selection-mix-target:var(--diffs-bg-selection-number-override,var(--diffs-selection-base));--diffs-hover-mix-target:var(--diffs-selection-mix-target)}&:where([data-line][data-selected-line]):is([data-line-type=change-addition],[data-line-type=change-deletion]){--diffs-selection-emphasis-mix-target:light-dark(color-mix(in lab, var(--diffs-diff-line-mix-target,var(--diffs-selection-mix-target)) var(--mix-selection-light), var(--diffs-selection-mix-target)),var(--diffs-selection-mix-target))}&:where([data-editor-overlay]),&[data-selected-line]{--diffs-computed-selected-line-bg:light-dark(color-mix(in lab, var(--diffs-computed-diff-line-bg) var(--mix-selection-light), var(--diffs-selection-mix-target)),color-mix(in lab, var(--diffs-computed-diff-line-bg) var(--mix-selection-dark), var(--diffs-selection-mix-target)))}}[data-line][data-editor-active-line],[data-column-number][data-editor-active-line]{--diffs-computed-editor-active-line-bg:color-mix(in lab, var(--diffs-computed-selected-line-bg) var(--diffs-editor-active-line-source-mix,100%), var(--diffs-selection-emphasis-mix-target))}@media (pointer:fine){[data-line][data-hovered],[data-gutter-buffer][data-hovered],[data-column-number][data-hovered],[data-line-annotation][data-hovered],[data-no-newline][data-hovered],[data-merge-conflict][data-hovered],[data-merge-conflict-actions][data-hovered],[data-editor-overlay][data-hovered]{--diffs-computed-hovered-line-bg:light-dark(color-mix(in lab, var(--diffs-computed-editor-active-line-bg) 97%, var(--diffs-hover-mix-target)),color-mix(in lab, var(--diffs-computed-editor-active-line-bg) 91%, var(--diffs-hover-mix-target)))}}[data-gutter-buffer][data-selected-line],[data-column-number]:is([data-selected-line],[data-editor-active-line]){color:var(--diffs-selection-number-fg)}[data-no-newline]{user-select:none;& span{opacity:.6}}[data-diff-type=split][data-overflow=scroll]{grid-template-columns:1fr 1fr;display:grid;& [data-additions]{border-left:1px solid var(--diffs-bg)}& [data-deletions]{border-right:1px solid var(--diffs-bg)}}[data-code]{grid-auto-flow:dense;grid-template-columns:var(--diffs-code-grid);overflow:var(--diffs-overflow-override,scroll) clip;overscroll-behavior-x:none;tab-size:var(--diffs-tab-size,2);padding-top:var(--diffs-gap-block,var(--diffs-gap-fallback));padding-bottom:max(0px, calc(var(--diffs-gap-block,var(--diffs-gap-fallback)) - var(--diffs-scrollbar-gutter)));scrollbar-gutter:stable;align-self:flex-start;display:grid}[data-diffs-scrollbar-measure]{opacity:0;pointer-events:none;scrollbar-gutter:auto;grid-template-columns:none;width:100px;height:100px;padding:0;position:absolute;top:-200px;left:-200px}[data-container-size]{container-type:inline-size}[data-code]::-webkit-scrollbar{width:0;height:var(--diffs-scrollbar-gutter)}[data-code]::-webkit-scrollbar-track{background:0 0}[data-code]::-webkit-scrollbar-thumb{background-color:#0000;background-clip:content-box;border:1px solid #0000;border-radius:3px}[data-code]::-webkit-scrollbar-corner{background-color:#0000}@supports ((-moz-appearance:none)){[data-code]{scrollbar-width:thin;scrollbar-color:var(--diffs-bg-context) transparent;padding-bottom:var(--diffs-gap-block,var(--diffs-gap-fallback))}}[data-diffs-header]~[data-diff],[data-diffs-header]~[data-file]{& [data-code],&[data-overflow=wrap],&[data-dehydrated][data-diff-type=split][data-overflow=scroll]{padding-top:0}}[data-gutter]{grid-template-rows:subgrid;grid-template-columns:subgrid;z-index:3;background-color:var(--diffs-bg);grid-column:1;display:grid;position:relative;& [data-gutter-buffer],& [data-column-number]{border-right:var(--diffs-gap-style,2px solid var(--diffs-bg))}}[data-content]{grid-template-rows:subgrid;grid-template-columns:subgrid;background-color:var(--diffs-bg);grid-column:2;min-width:0;display:grid}[data-diff-type=split][data-overflow=wrap],[data-dehydrated][data-diff-type=split][data-overflow=scroll]{grid-auto-flow:dense;grid-template-columns:repeat(2, var(--diffs-code-grid));padding-block:var(--diffs-gap-block,var(--diffs-gap-fallback));display:grid;& [data-code]{display:contents}& [data-deletions]{& [data-gutter]{grid-column:1}& [data-content]{border-right:1px solid var(--diffs-bg);grid-column:2}}& [data-additions]{& [data-gutter]{border-left:1px solid var(--diffs-bg);grid-column:3}& [data-content]{grid-column:4}}}[data-dehydrated][data-diff-type=split][data-overflow=scroll] [data-content]{overflow:clip}[data-overflow=scroll] [data-gutter]{position:sticky;left:0}[data-interactive-lines] [data-line]{cursor:pointer}[data-interactive-line-numbers] [data-column-number]{cursor:pointer;touch-action:none}[data-content-buffer],[data-gutter-buffer]{user-select:none;min-height:1lh;position:relative}[data-gutter-buffer]{padding-left:2ch;padding-right:1ch;&:before{content:"";min-width:var(--diffs-min-number-column-width,var(--diffs-min-number-column-width-default,3ch));display:block}}[data-gutter-buffer=annotation]{--diffs-annotation-bg:var(--diffs-bg-context-gutter);min-height:0}[data-gutter-buffer=buffer]{--diffs-line-bg:var(--diffs-bg-context-gutter)}[data-content-buffer]{background-position:5px 0;background-size:8px 8px;background-origin:border-box;background-image:repeating-linear-gradient(-45deg, transparent, transparent calc(3px * 1.414), var(--diffs-bg-buffer) calc(3px * 1.414), var(--diffs-bg-buffer) calc(4px * 1.414));grid-column:1}[data-separator]{box-sizing:content-box;background-color:var(--diffs-bg)}[data-separator=simple]{min-height:4px}[data-separator=line-info],[data-separator=line-info-basic],[data-separator=metadata],[data-separator=simple]{background-color:var(--diffs-bg-separator)}[data-separator=line-info],[data-separator=line-info-basic],[data-separator=metadata]{height:32px;position:relative}[data-separator-wrapper]{user-select:none;fill:currentColor;background-color:var(--diffs-bg);align-items:center;height:100%;display:flex;position:absolute;inset-inline:0}[data-content] [data-separator-wrapper]{display:none}[data-separator=metadata] [data-separator-wrapper]{background-color:var(--diffs-bg-separator);height:100%;color:var(--diffs-fg-number);white-space:nowrap;text-overflow:ellipsis;min-width:min-content;padding-inline:1ch;inset-inline:100% auto;overflow:hidden}[data-separator=line-info]{margin-block:var(--diffs-gap-block,var(--diffs-gap-fallback));& [data-separator-wrapper]{min-width:16px}}[data-separator=line-info-basic],[data-separator=metadata]{margin-block:0}[data-separator=line-info][data-separator-first]{margin-top:0}[data-separator=line-info][data-separator-last]{margin-bottom:0}[data-expand-index] [data-separator-wrapper]{grid-template-columns:32px auto;display:grid}[data-expand-index] [data-separator-wrapper][data-separator-multi-button]{grid-template-columns:32px 32px auto}[data-expand-button],[data-separator-content]{background-color:var(--diffs-bg-separator);flex:none;align-items:center;display:flex}[data-expand-index] [data-separator-content]:hover{cursor:pointer;text-decoration:underline}[data-expand-button]{cursor:pointer;min-width:32px;color:var(--diffs-fg-number);border-right:2px solid var(--diffs-bg);flex-shrink:0;justify-content:center;align-self:stretch;&:hover{color:var(--diffs-fg)}&[data-expand-all-button]{display:none}}[data-expand-down] [data-icon]{transform:scaleY(-1)}[data-separator-content]{height:100%;color:var(--diffs-fg-number);flex:auto;justify-content:flex-start;padding:0 1ch;overflow:hidden}[data-separator=line-info],[data-separator=line-info-basic]{& [data-separator-content]{user-select:none;height:100%;overflow:clip}}[data-unmodified-lines]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;display:block;overflow:hidden}@supports (width:1cqi){[data-unified]{& [data-separator=line-info] [data-separator-wrapper]{padding-inline:var(--diffs-gap-inline,var(--diffs-gap-fallback));width:100cqi;& [data-separator-content]{border-radius:6px}}& [data-separator=line-info][data-expand-index] [data-separator-wrapper] [data-separator-content]{border-top-left-radius:unset;border-bottom-left-radius:unset}}[data-gutter]{& [data-separator=line-info] [data-separator-wrapper]{padding-left:var(--diffs-gap-inline,var(--diffs-gap-fallback))}& [data-separator=line-info] [data-separator-content]{border-top-left-radius:6px;border-bottom-left-radius:6px}& [data-separator=line-info][data-expand-index] [data-separator-content]{border-top-left-radius:unset;border-bottom-left-radius:unset}}[data-additions]{& [data-content] [data-separator=line-info]{background-color:var(--diffs-bg);& [data-separator-wrapper]{display:none}}& [data-gutter] [data-separator=line-info] [data-separator-wrapper]{background-color:var(--diffs-bg-separator);border-top-right-radius:6px;border-bottom-right-radius:6px;height:100%;display:block;& [data-separator-content],& [data-expand-button]{display:none}}}[data-overflow=scroll] [data-additions] [data-gutter] [data-separator=line-info] [data-separator-wrapper]{width:calc(100cqi - var(--diffs-gap-inline,var(--diffs-gap-fallback)))}[data-overflow=wrap] [data-additions] [data-content] [data-separator=line-info] [data-separator-wrapper]{background-color:var(--diffs-bg-separator);height:100%;margin-right:var(--diffs-gap-inline,var(--diffs-gap-fallback));border-top-right-radius:6px;border-bottom-right-radius:6px;display:block;& [data-separator-content],& [data-expand-button]{display:none}}[data-separator=line-info] [data-separator-wrapper]{& [data-expand-both],& [data-expand-down],& [data-expand-up]{border-top-left-radius:6px;border-bottom-left-radius:6px}}@media (pointer:fine){[data-separator=line-info] [data-separator-wrapper]{&[data-separator-multi-button]{& [data-expand-up]{border-top-left-radius:6px;border-bottom-left-radius:unset}& [data-expand-down]{border-bottom-left-radius:6px;border-top-left-radius:unset}}}}}@media (pointer:coarse){[data-separator=line-info-basic] [data-separator-wrapper][data-separator-multi-button]{grid-template-columns:34px 34px auto;& [data-separator-content]{grid-column:unset;grid-row:unset}}@supports (width:1cqi){[data-separator=line-info] [data-separator-wrapper]{& [data-expand-both],& [data-expand-down],& [data-expand-up]{border-top-left-radius:6px;border-bottom-left-radius:6px}&[data-separator-multi-button]{& [data-expand-up]{border-top-left-radius:6px;border-bottom-left-radius:6px}& [data-expand-down]{border-bottom-left-radius:unset;border-top-left-radius:unset}}}}}@media (pointer:fine){[data-separator-wrapper][data-separator-multi-button]{grid-template-rows:50% 50%;display:grid;& [data-separator-content]{grid-area:1/2/-1;min-width:min-content}& [data-expand-button]{grid-column:1}}[data-separator=line-info] [data-separator-wrapper],[data-separator=line-info] [data-separator-wrapper][data-separator-multi-button]{grid-template-columns:34px auto}[data-separator=line-info-basic][data-expand-index] [data-separator-wrapper]{grid-template-columns:100% auto}[data-separator=line-info],[data-separator=line-info-basic]{& [data-separator-multi-button]{& [data-expand-up]{border-bottom:1px solid var(--diffs-bg);border-right:2px solid var(--diffs-bg)}& [data-expand-down]{border-top:1px solid var(--diffs-bg);border-right:2px solid var(--diffs-bg)}}}}[data-additions] [data-gutter] [data-separator-wrapper],[data-additions] [data-separator=line-info-basic] [data-separator-wrapper],[data-content] [data-separator-wrapper]{display:none}[data-line-annotation]{min-height:var(--diffs-annotation-min-height,0);z-index:2}[data-merge-conflict-actions]{z-index:2}[data-separator=custom]{grid-template-columns:subgrid;display:grid}[data-line],[data-column-number],[data-no-newline]{padding-inline:1ch;position:relative}[data-indicators=classic] [data-line]{padding-inline-start:2ch}[data-indicators=classic]{& [data-line-type=change-addition],& [data-line-type=change-deletion]{&[data-no-newline],&[data-line]{&:before{user-select:none;width:1ch;height:1lh;display:inline-block;position:absolute;top:0;left:0}}}& [data-line-type=change-addition]{&[data-line],&[data-no-newline]{&:before{content:"+";color:var(--diffs-addition-base)}}}& [data-line-type=change-deletion]{&[data-line],&[data-no-newline]{&:before{content:"-";color:var(--diffs-deletion-base)}}}}[data-indicators=bars]{& [data-line-type=change-deletion],& [data-line-type=change-addition]{&[data-column-number]{&:before{content:"";user-select:none;contain:strict;width:4px;height:100%;display:block;position:absolute;top:0;left:0}}}& [data-line-type=change-deletion]{&[data-column-number]{&:before{background-image:linear-gradient(0deg, var(--diffs-bg-deletion) 50%, var(--diffs-deletion-base) 50%);background-repeat:repeat;background-size:2px 2px;background-size:calc(1lh / round(1lh / 2px)) calc(1lh / round(1lh / 2px))}}}& [data-line-type=change-addition]{&[data-column-number]{&:before{background-color:var(--diffs-addition-base)}}}}[data-overflow=wrap]{& [data-line]{white-space:pre-wrap;word-break:break-word}& [data-annotation-content]{word-break:break-word}}[data-overflow=scroll] [data-line]{white-space:pre;min-height:1lh}[data-column-number]{box-sizing:content-box;text-align:right;user-select:none;color:var(--diffs-fg-number);padding-left:2ch}[data-line-number-content]{min-width:var(--diffs-min-number-column-width,var(--diffs-min-number-column-width-default,3ch));z-index:1;display:inline-block;position:relative}[data-disable-line-numbers]{& [data-gutter-buffer],& [data-column-number]{min-width:4px;padding:0;&:before{min-width:0}}& [data-line-number-content]{display:none}& [data-gutter-utility-slot]{right:unset;justify-content:flex-start;left:0}&[data-indicators=bars] [data-gutter-utility-slot]{left:6px}}[data-file][data-disable-line-numbers]{& [data-gutter-buffer],& [data-column-number]{border-right:0;min-width:0}}[data-diff-span]{box-decoration-break:clone;border-radius:3px}[data-line-type=change-addition] [data-diff-span]{background-color:var(--diffs-bg-addition-emphasis)}[data-line-type=change-deletion] [data-diff-span]{background-color:var(--diffs-bg-deletion-emphasis)}[data-merge-conflict=marker-start],[data-merge-conflict=marker-base],[data-merge-conflict=marker-separator],[data-merge-conflict=marker-end]{color:var(--diffs-fg);padding-left:1ch}[data-merge-conflict=marker-start],[data-merge-conflict=marker-end]{align-items:center;display:flex;&:after{color:var(--diffs-fg-conflict-marker);font-size:.75rem;font-style:normal;line-height:1.25rem;font-family:var(--diffs-header-font-family,var(--diffs-header-font-fallback));padding-left:1ch}}[data-merge-conflict=marker-start]:after{content:"(Current Change)"}[data-merge-conflict=marker-end]:after{content:"(Incoming Change)"}[data-merge-conflict-actions-content]{min-height:1.75rem;font-family:var(--diffs-header-font-family,var(--diffs-header-font-fallback));color:var(--diffs-fg);align-items:center;gap:.25rem;padding-inline:.5rem;font-size:.75rem;line-height:1.2;display:flex}[data-merge-conflict-action]{appearance:none;color:var(--diffs-fg-number);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-style:normal}[data-merge-conflict-action]:hover{color:var(--diffs-fg)}[data-merge-conflict-action=current]:hover{color:var(--diffs-addition-base)}[data-merge-conflict-action=incoming]:hover{color:var(--diffs-modified-base)}[data-merge-conflict-action-separator]{color:var(--diffs-fg-number);opacity:.6;user-select:none}[data-diffs-header=default]{background-color:var(--diffs-bg);justify-content:space-between;align-items:center;gap:var(--diffs-gap-inline,var(--diffs-gap-fallback));min-height:calc(1lh + (var(--diffs-gap-block,var(--diffs-gap-fallback)) * 3));z-index:2;flex-direction:row;padding-inline:16px;display:flex;position:relative;top:0}[data-header-content]{align-items:center;gap:var(--diffs-gap-inline,var(--diffs-gap-fallback));white-space:nowrap;flex-direction:row;min-width:0;display:flex}[data-header-content] [data-prev-name],[data-header-content] [data-title]{text-overflow:ellipsis;white-space:nowrap;direction:rtl;min-width:0;overflow:hidden}[data-prev-name]{opacity:.7}[data-rename-icon]{fill:currentColor;flex-grow:0;flex-shrink:0}[data-diffs-header=default] [data-metadata]{white-space:nowrap;align-items:center;gap:1ch;display:flex}[data-diffs-header=default] [data-additions-count]{font-family:var(--diffs-font-family,var(--diffs-font-fallback));color:var(--diffs-addition-base)}[data-diffs-header=default] [data-deletions-count]{font-family:var(--diffs-font-family,var(--diffs-font-fallback));color:var(--diffs-deletion-base)}[data-change-icon]{fill:currentColor;flex-shrink:0}[data-change-icon=change],[data-change-icon=rename-pure],[data-change-icon=rename-changed]{color:var(--diffs-modified-base)}[data-change-icon=new]{color:var(--diffs-addition-base)}[data-change-icon=deleted]{color:var(--diffs-deletion-base)}[data-change-icon=file]{opacity:.6}[data-annotation-content]{z-index:2;isolation:isolate;white-space:normal;align-self:flex-start;min-width:0;display:flow-root;position:relative}[data-overflow=scroll] [data-annotation-content],[data-overflow=scroll] [data-merge-conflict-actions-content]{width:var(--diffs-column-content-width,auto);left:var(--diffs-column-number-width,0);position:sticky}[data-annotation-slot]{text-wrap-mode:wrap;word-break:normal;white-space-collapse:collapse}[data-gutter-utility-slot]{touch-action:none;justify-content:flex-end;display:flex;position:absolute;top:0;bottom:0;right:0}[data-utility-button]{appearance:none;cursor:pointer;width:1lh;height:1lh;font-size:var(--diffs-font-size,13px);line-height:var(--diffs-line-height,20px);background-color:var(--diffs-modified-base);color:var(--diffs-bg);fill:currentColor;z-index:4;touch-action:none;border:none;border-radius:4px;justify-content:center;align-items:center;margin-right:calc(-1lh + 1ch);padding:0;display:flex;position:relative;&:before{content:"";display:block;position:absolute;inset:0 0 0 -4px}}[data-decoration-bar-stack]{pointer-events:none;isolation:isolate;z-index:1;background-color:var(--diffs-decoration-bar-color,transparent);box-sizing:content-box;border-left:2px solid var(--diffs-bg);border-right:2px solid var(--diffs-bg);width:6px;position:absolute;top:0;bottom:0;right:-2px;[data-decoration-bar-depth="1"] &{background-color:color-mix(in lab, var(--diffs-bg) 20%, var(--diffs-decoration-bar-color,transparent))}[data-decoration-bar-depth="2"] &{background-color:color-mix(in lab, var(--diffs-bg) 45%, var(--diffs-decoration-bar-color,transparent))}[data-decoration-bar-depth="3"] &{background-color:color-mix(in lab, var(--diffs-bg) 65%, var(--diffs-decoration-bar-color,transparent))}[data-decoration-bar-start] &{border-top-left-radius:5px;border-top-right-radius:5px}[data-decoration-bar-end] &{z-index:3;border-bottom-right-radius:5px;border-bottom-left-radius:5px}}[data-placeholder]{contain:strict}[data-error-wrapper]{padding:var(--diffs-gap-block,var(--diffs-gap-fallback)) var(--diffs-gap-inline,var(--diffs-gap-fallback));scrollbar-width:none;max-height:400px;overflow:auto;& [data-error-message]{color:var(--diffs-deletion-base);font-size:18px;font-weight:700}& [data-error-stack]{color:var(--diffs-fg-number)}}}@layer theme,rendered,unsafe;
|
|
280
|
+
`;const Wd="@layer base, theme, rendered, unsafe;",Nb=new RegExp(`${Ob(dl)}\\s*:\\s*[^;]+;`);function Pb(e){return`${Wd}
|
|
281
|
+
@layer unsafe {
|
|
282
|
+
${e}
|
|
283
|
+
}`}function Db(e,t="system",n){const i=t==="system"?"":`
|
|
284
|
+
color-scheme: ${t};`,r=Bd(n);return`${Wd}
|
|
285
|
+
@layer rendered {
|
|
286
|
+
:host {${i}
|
|
287
|
+
${r}
|
|
288
|
+
${e}
|
|
289
|
+
}
|
|
290
|
+
}`}function Mb(e,t){const n=Bd(t);return e.replace(Nb,n)}function Ob(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const Fb=new WeakMap;function Ns(e){const t=Fb.get(e);return t??e}function na(e,t,n){const i=new Map;for(const r of e){const s=Ns(r);i.set(s,n?.slotNames.get(s)??t(r))}return{provided:e,current:e,slotNames:i}}function Hb(e,t,n){for(const i of t){const r=Ns(i);e.slotNames.has(r)||e.slotNames.set(r,n(i))}e.provided=t,e.current=t}function $b(e,t,n){if(e==null)return n(t);const i=Ns(t);let r=e.slotNames.get(i);return r==null&&(r=n(t),e.slotNames.set(i,r)),r}function Vb(e){return e?.useTokenTransformer===!0||e?.onTokenClick!=null||e?.onTokenEnter!=null||e?.onTokenLeave!=null}function br({code:e,pre:t,columnType:n,rowSpan:i,containerSize:r=!1}={}){return e==null&&(e=document.createElement("code"),e.setAttribute("data-code",""),n!=null&&e.setAttribute(`data-${n}`,""),t?.appendChild(e)),i!=null?e.style.setProperty("grid-row",`span ${i}`):e.style.removeProperty("grid-row"),r?e.setAttribute("data-container-size",""):e.removeAttribute("data-container-size"),e}function ia(e,t){const n=e?.offsetHeight??0;if(e==null||n===0){t();return}e.style.minHeight=`${n}px`;try{t(),e.offsetHeight}finally{e.style.minHeight=""}}function Bb({shadowRoot:e,currentNode:t,themeCSS:n}){if(n.trim()===""){t?.remove();return}return t??=Wb(),t.textContent=n,t.parentNode!==e&&e.appendChild(t),t}function Wb(){const e=document.createElement("style");return e.setAttribute(hh,""),e}function Ub(e,t){if(t==null)return;const n=e.shadowRoot??e.attachShadow({mode:"open"});n.innerHTML===""&&(n.innerHTML=t)}function Gb(e,{type:t,diffIndicators:n,disableBackground:i,disableLineNumbers:r,overflow:s,split:o,totalLines:a,customProperties:d}){if(d!=null)for(const c in d){const u=d[c];u!=null&&e.setAttribute(c,`${u}`)}switch(t==="diff"?(e.setAttribute("data-diff",""),e.removeAttribute("data-file")):(e.setAttribute("data-file",""),e.removeAttribute("data-diff")),n){case"bars":case"classic":e.setAttribute("data-indicators",n);break;case"none":e.removeAttribute("data-indicators")}return r?e.setAttribute("data-disable-line-numbers",""):e.removeAttribute("data-disable-line-numbers"),i?e.removeAttribute("data-background"):e.setAttribute("data-background",""),t==="diff"?e.setAttribute("data-diff-type",o?"split":"single"):e.removeAttribute("data-diff-type"),e.setAttribute("data-overflow",s),e.style.setProperty("--diffs-min-number-column-width-default",`${`${a}`.length}ch`),e}if(typeof HTMLElement<"u"&&customElements.get("diffs-container")==null){let e;class t extends HTMLElement{constructor(){if(super(),this.shadowRoot!=null)return;const i=this.attachShadow({mode:"open"});e==null&&(e=new CSSStyleSheet,e.replaceSync(jb)),i.adoptedStyleSheets=[e]}connectedCallback(){const i=this.shadowRoot??this.attachShadow({mode:"open"});ss(i)}}customElements.define(rl,t)}async function os(e,t=300){let n;try{await Promise.race([e(),new Promise(i=>{n=setTimeout(i,t)})])}finally{n!=null&&clearTimeout(n)}}function zb({fileDiff:e,metrics:t,disableFileHeader:n,hunkSeparators:i,expandUnchanged:r,expandedHunks:s,collapsedContextThreshold:o,canHydratePartialDiff:a}){let d=on(t,n),c=d;const u=r?!0:s,h=e.hunks.length-1;for(let f=0;f<e.hunks.length;f++){const p=e.hunks[f];if(p==null)throw new Error("computeEstimatedDiffHeights: invalid hunk index");const m=nt({isPartial:e.isPartial,rangeSize:p.collapsedBefore,expandedHunks:u,hunkIndex:f,collapsedContextThreshold:o}),v=(m.fromStart+m.fromEnd)*t.lineHeight;if(d+=v,c+=v,m.collapsedLines>0){const y=an({type:i,metrics:t,hunkIndex:f,hunkSpecs:p.hunkSpecs})?.totalHeight??0;d+=y,c+=y}d+=p.splitLineCount*t.lineHeight,c+=p.unifiedLineCount*t.lineHeight;const k=qb(p);d+=k.split*t.lineHeight,c+=k.unified*t.lineHeight;const b=f===h?it({fileDiff:e,hunkIndex:f,expandedHunks:u,collapsedContextThreshold:o,errorPrefix:"computeEstimatedDiffHeights"}):void 0;if(b!=null){const y=(b.fromStart+b.fromEnd)*t.lineHeight;if(d+=y,c+=y,b.collapsedLines>0){const x=_t({type:i,metrics:t})?.totalHeight??0;d+=x,c+=x}}else if(f===h&&e.isPartial&&a){const y=_t({type:i,metrics:t})?.totalHeight??0;d+=y,c+=y}}if(e.hunks.length>0){const f=Id(t);d+=f,c+=f}return{splitHeight:d,unifiedHeight:c}}function qb(e){if(!e.noEOFCRAdditions&&!e.noEOFCRDeletions)return{split:0,unified:0};const t=e.hunkContent.at(-1);if(t==null)return{split:0,unified:0};if(t.type==="context"){const n=t.lines>0?1:0;return{split:n,unified:n}}return Kb(e,t)}function Kb(e,t){const n=(t.deletions>0&&e.noEOFCRDeletions?1:0)+(t.additions>0&&e.noEOFCRAdditions?1:0),i=t.deletions>0&&e.noEOFCRDeletions,r=t.additions>0&&e.noEOFCRAdditions;return{split:i||r?1:0,unified:n}}function as({oldFile:e,newFile:t},n){if(!(e===void 0&&t===void 0)){if(e===void 0||t===void 0)throw new Error(`${n}: Pass null for an intentionally missing oldFile or newFile side`);if(e===null){if(t===null)throw new Error(`${n}: You must pass oldFile, newFile, or both`);return{oldFile:e,newFile:t}}return t===null?{oldFile:e,newFile:t}:{oldFile:e,newFile:t}}}function Ud(e){return e.map(t=>({...t,hunkContent:t.hunkContent.map(n=>({...n}))}))}function Gd(e){return{...e,hunks:Ud(e.hunks),deletionLines:[...e.deletionLines],additionLines:[...e.additionLines]}}const Zb=1;function zd(e,...t){return`ck${Zb}:${JSON.stringify([e,...t])}`}function Ci(e){return e!==""?e.split(dh):[]}function ls(e,t,n){const i=e==="clone"?Gd(t):t;if(!i.isPartial)throw new Error("hydratePartialDiff: fileDiff must be partial");switch(i.type){case"change":case"rename-changed":return Xb(i,Qb(i,n),ra(i,n));case"rename-pure":{const r=ra(i,n);Yb(i,n);const s=Ci(r.contents);return i.isPartial=!1,i.deletionLines=s,i.additionLines=s,qd(i,null,r),i}}throw new Error(`hydratePartialDiff: ${i.type} diffs cannot be hydrated from loaded files`)}function Xb(e,t,n){const i=Ci(t.contents),r=Ci(n.contents),{hunks:s,splitLineCount:o,unifiedLineCount:a}=Jb(e.hunks,r.length);return e.hunks=s,e.splitLineCount=o,e.unifiedLineCount=a,e.isPartial=!1,e.deletionLines=i,e.additionLines=r,qd(e,t,n),e}function Jb(e,t){let n=0,i=0,r=0;const s=[];for(const o of e){const a=Math.max(o.additionStart-1,0),d=Math.max(o.deletionStart-1,0);let c=a,u=d,h=0,f=0,p=0,m=0;const v=[];for(const b of o.hunkContent){if(b.type==="context"){v.push({...b,additionLineIndex:c,deletionLineIndex:u}),c+=b.lines,u+=b.lines,p+=b.lines,m+=b.lines;continue}v.push({...b,additionLineIndex:c,deletionLineIndex:u}),c+=b.additions,u+=b.deletions,h+=b.additions,f+=b.deletions,p+=Math.max(b.additions,b.deletions),m+=b.additions+b.deletions}const k=Math.max(_e(o.additionStart,o.additionCount)-r,0);s.push({...o,collapsedBefore:k,additionLineIndex:a,deletionLineIndex:d,additionLines:h,deletionLines:f,hunkContent:v,splitLineStart:n+k,unifiedLineStart:i+k,splitLineCount:p,unifiedLineCount:m}),n+=k+p,i+=k+m,r=pe(o.additionStart,o.additionCount)}if(s.length>0){const o=s[s.length-1],a=pe(o.additionStart,o.additionCount),d=Math.max(t-a,0);n+=d,i+=d}return{hunks:s,splitLineCount:n,unifiedLineCount:i}}function Qb(e,t){if(t.oldFile==null)throw new Error(`hydratePartialDiff: ${e.type} diff for ${e.name} requires oldFile`);return t.oldFile}function ra(e,t){if(t.newFile==null)throw new Error(`hydratePartialDiff: ${e.type} diff for ${e.name} requires newFile`);return t.newFile}function Yb(e,t){if(t.oldFile!==null)throw new Error(`hydratePartialDiff: ${e.type} diff for ${e.name} requires oldFile to be null`)}function ev(e,t,n){return e.cacheKey!=null?`${e.cacheKey}:hydrated`:tv(t,n)}function qd(e,t,n){const i=ev(e,t,n);if(i==null){delete e.cacheKey;return}e.cacheKey=i}function tv(e,t){return e!=null&&t!=null?e.cacheKey!=null&&t.cacheKey!=null?zd("hydrated-files",e.cacheKey,t.cacheKey):void 0:e?.cacheKey??t?.cacheKey}const nv=new TextEncoder,iv=new TextDecoder("utf-8",{ignoreBOM:!0}),rv=/[\uD800-\uDFFF]/,ds=1024;let Vt=new Uint8Array(ds);function Kd(){Vt.length!==ds&&(Vt=new Uint8Array(ds))}function te(e){if(e.length===0)return e;if(rv.test(e))return JSON.parse(JSON.stringify(e));const t=e.length*3;Vt.length<t&&(Vt=new Uint8Array(t));const{written:n}=nv.encodeInto(e,Vt);return iv.decode(Vt.subarray(0,n))}const sv=new TextDecoder("utf-8",{ignoreBOM:!0}),ov={'"':'"',"\\":"\\",a:"\x07",b:"\b",t:" ",n:`
|
|
291
|
+
`,v:"\v",f:"\f",r:"\r"};function av(e){if(e[0]!=='"')return;let t="",n=1;for(;n<e.length;){const i=e[n];if(i==='"')return{fileName:t,rawLength:n+1};if(i!=="\\"){t+=i,n++;continue}const r=ov[e[n+1]];if(r!=null){t+=r,n+=2;continue}const s=[];do{const o=lv(e,n+1);if(o==null)return;s.push(o),n+=4}while(e[n]==="\\"&&e[n+1]>="0"&&e[n+1]<="7");t+=sv.decode(new Uint8Array(s))}}function lv(e,t){const n=e.charCodeAt(t)-48,i=e.charCodeAt(t+1)-48,r=e.charCodeAt(t+2)-48;if(n>=0&&n<=3&&i>=0&&i<=7&&r>=0&&r<=7)return n*64+i*8+r}const dv=4096,cv=.5;function uv(e){for(const t of e.hunks)for(let n=0;n<t.hunkContent.length;n++){const i=t.hunkContent[n];if(i.type!=="change")continue;const r=fv(e,i);r!=null&&(t.hunkContent.splice(n,1,...r),n+=r.length-1)}}function hv(e,t,n){const{hunkContent:i}=e;for(let r=1;r<i.length;r++){const s=i[r],o=i[r-1];if(s.type!=="change"||s.additions>0&&s.deletions>0||o.type!=="context")continue;const a=s.additions>0,d=a?t.additionLines:t.deletionLines,c=a?s.additionLineIndex:s.deletionLineIndex,u=a?s.additions:s.deletions,h=d[c]??"";if(h.trim()!=="")continue;let f=!0;for(let b=1;b<u;b++)if(d[c+b]!==h){f=!1;break}if(!f)continue;let p=0;for(;p<o.lines&&t.additionLines[o.additionLineIndex+o.lines-1-p]===h;)p++;if(p===0||r===1&&p===o.lines||n!=null&&(p=n(s,p),p===0))continue;s.additionLineIndex-=p,s.deletionLineIndex-=p;const m=s.additionLineIndex+s.additions,v=s.deletionLineIndex+s.deletions,k=i[r+1];k?.type==="context"?(k.lines+=p,k.additionLineIndex=m,k.deletionLineIndex=v):i.splice(r+1,0,{type:"context",lines:p,additionLineIndex:m,deletionLineIndex:v}),o.lines-=p,o.lines===0&&(i.splice(r-1,1),r--)}}function fv(e,t){const{deletions:n,additions:i,deletionLineIndex:r,additionLineIndex:s}=t,o=Math.min(n,i),a=Math.abs(i-n);if(o===0||a===0||o*(a+1)>dv)return null;const d=[];for(let v=0;v<n;v++)d.push(sa(e.deletionLines[r+v]??""));const c=[];for(let v=0;v<i;v++)c.push(sa(e.additionLines[s+v]??""));const u=i>n;let h=0,f=-1;for(let v=0;v<=a;v++){let k=0;for(let b=0;b<o;b++)k+=mv(d[b+(u?0:v)],c[b+(u?v:0)]);v===0?f=k+o*cv:k>f&&(f=k,h=v)}if(h===0)return null;const p=[],m=(v,k,b,y)=>{(v>0||k>0)&&p.push({type:"change",deletions:v,additions:k,deletionLineIndex:b,additionLineIndex:y})};return u?(m(0,h,r,s),m(o,o,r,s+h),m(0,i-o-h,r+o,s+h+o)):(m(h,0,r,s),m(o,o,r+h,s),m(n-o-h,0,r+h+o,s+o)),p}const pv=/\s+/g;function sa(e){return e.replace(pv,"")}function mv(e,t){if(e===t)return 1;const n=Math.max(e.length,t.length),i=Math.min(e.length,t.length);if(i===0)return 0;let r=0;for(;r<i&&e[r]===t[r];)r++;let s=0;for(;s<i-r&&e[e.length-1-s]===t[t.length-1-s];)s++;return(r+s)/n}const gv=/^diff --git ("a\/(?:[^"\\]|\\.)*"|a\/.+?) ("b\/(?:[^"\\]|\\.)*"|b\/.+?)$/;function bv(e,t,n=!1,i){const r=Ev(e),s=r?xv(e):_v(e);let o;const a=[];for(const d of s){if(r&&!sl.test(d)){if(o==null)o=te(d);else{if(n)throw Error("parsePatchContent: unknown file blob");console.error("parsePatchContent: unknown file blob:",d)}continue}else if(!r&&!Cv(d)){if(o==null)o=te(d);else{if(n)throw Error("parsePatchContent: unknown file blob");console.error("parsePatchContent: unknown file blob:",d)}continue}const c=Zd(d,{cacheKey:void 0,isGitDiff:r,throwOnError:n});c!=null&&a.push(c)}return{patchMetadata:o,files:a}}function vv(e,t){try{return Zd(e,t)}finally{Kd()}}function Zd(e,{cacheKey:t,isGitDiff:n=sl.test(e),oldFile:i,newFile:r,throwOnError:s=!1}={}){let o=0;const a=Yd(e,"@@ ");let d;const c=i==null||r==null;let u=0,h=0;for(const f of a){const p=Xd(f),m=p[0];if(m==null){if(s)throw Error("parsePatchContent: invalid hunk");console.error("parsePatchContent: invalid hunk",f);continue}const v=Qd(m);let k=0,b=0;if(v==null||d==null){if(d!=null){if(s)throw Error("parsePatchContent: Invalid hunk");console.error("parsePatchContent: Invalid hunk",f);continue}d={name:"",type:"change",hunks:[],splitLineCount:0,unifiedLineCount:0,isPartial:c,additionLines:!c&&i!=null&&r!=null?oa(r.contents):[],deletionLines:!c&&i!=null&&r!=null?oa(i.contents):[],cacheKey:da(t)},d.additionLines.length===1&&r?.contents===""&&(d.additionLines.length=0),d.deletionLines.length===1&&i?.contents===""&&(d.deletionLines.length=0);for(const E of p){if(E.startsWith("diff --git")){const O=E.trim().match(gv);if(O==null){if(s)throw Error("parsePatchContent: invalid git diff header");console.error("parsePatchContent: invalid git diff header",E);continue}const R=Yt(O[1],!0),j=Yt(O[2],!0);d.name=te(j),R!==j&&(d.prevName=te(R));continue}const T=E.startsWith("---")||E.startsWith("+++")?E.match(ch):null;if(T!=null){const[,O,R]=T,j=Yt(R,n);if(O==="---"&&j!=="/dev/null"){const F=te(j);d.prevName=F,d.name=F}else O==="+++"&&j!=="/dev/null"&&(d.name=te(j))}else if(n){if(E.startsWith("new mode ")&&(d.mode=te(E.slice(8).trim())),E.startsWith("old mode ")&&(d.prevMode=te(E.slice(8).trim())),E.startsWith("new file mode")&&(d.type="new",d.mode=te(E.slice(13).trim())),E.startsWith("deleted file mode")&&(d.type="deleted",d.mode=te(E.slice(17).trim())),E.startsWith("similarity index")&&(E.startsWith("similarity index 100%")?d.type="rename-pure":d.type="rename-changed"),E.startsWith("index ")){const[,O,R,j]=E.trim().match(uh)??[];O!=null&&(d.prevObjectId=te(O)),R!=null&&(d.newObjectId=te(R)),j!=null&&(d.mode=te(j))}(E.startsWith("rename from ")||E.startsWith("copy from "))&&(d.prevName=te(Yt(E.slice(E.startsWith("rename")?12:10)))),(E.startsWith("rename to ")||E.startsWith("copy to "))&&(d.name=te(Yt(E.slice(E.startsWith("rename")?10:8))))}}continue}let y,x;for(;p.length>0&&(p[p.length-1]===`
|
|
292
|
+
`||p[p.length-1]==="\r"||p[p.length-1]===`\r
|
|
293
|
+
`||p[p.length-1]==="");)p.pop();const{additionStart:C,deletionStart:_}=v;u=c?u:_-1,h=c?h:C-1;const w={collapsedBefore:0,splitLineCount:0,splitLineStart:0,unifiedLineCount:0,unifiedLineStart:0,additionCount:v.additionCount,additionStart:C,additionLines:k,deletionCount:v.deletionCount,deletionStart:_,deletionLines:b,deletionLineIndex:u,additionLineIndex:h,hunkContent:[],hunkContext:da(v.hunkContext),hunkSpecs:te(m),noEOFCRAdditions:!1,noEOFCRDeletions:!1};let L=0,I=0;for(let E=1;E<p.length;E++){const T=p[E];if(L>=w.additionCount&&I>=w.deletionCount&&!T.startsWith("\\")){if(!(wv(T)&&!Lv(T)))break;if(s)throw Error("parsePatchContent: hunk has more lines than expected")}const O=T[0];if(O!=="+"&&O!=="-"&&O!==" "&&O!=="\\"){if(s)throw Error("parsePatchContent: invalid hunk line");console.error(`parseLineType: Invalid firstChar: "${O}", full line: "${T}"`),console.error("processFile: invalid rawLine:",T);continue}const R=Rv(O);if(R==="addition"){if(s&&L>=w.additionCount)throw Error("parsePatchContent: hunk has too many addition lines");const j=vr(T);(y==null||y.type!=="change")&&(y=yr("change",u,h),w.hunkContent.push(y)),h++,L++,c&&d.additionLines.push(j),y.additions++,k++,x="addition"}else if(R==="deletion"){if(s&&I>=w.deletionCount)throw Error("parsePatchContent: hunk has too many deletion lines");const j=vr(T);(y==null||y.type!=="change")&&(y=yr("change",u,h),w.hunkContent.push(y)),u++,I++,c&&d.deletionLines.push(j),y.deletions++,b++,x="deletion"}else if(R==="context"){if(s&&(I>=w.deletionCount||L>=w.additionCount))throw Error("parsePatchContent: hunk has too many context lines");const j=vr(T);(y==null||y.type!=="context")&&(y=yr("context",u,h),w.hunkContent.push(y)),h++,u++,L++,I++,c&&(d.deletionLines.push(j),d.additionLines.push(j)),y.lines++,x="context"}else if(R==="metadata"&&y!=null){if(y.type==="context"?(w.noEOFCRAdditions=!0,w.noEOFCRDeletions=!0):x==="deletion"?w.noEOFCRDeletions=!0:x==="addition"&&(w.noEOFCRAdditions=!0),c&&(x==="addition"||x==="context")){const j=d.additionLines.length-1;j>=0&&(d.additionLines[j]=Oe(d.additionLines[j]))}if(c&&(x==="deletion"||x==="context")){const j=d.deletionLines.length-1;j>=0&&(d.deletionLines[j]=Oe(d.deletionLines[j]))}}}if(L!==w.additionCount||I!==w.deletionCount){if(s)throw Error("parsePatchContent: hunk line count mismatch");console.error(`parsePatchContent: hunk line count mismatch: "${m.trimEnd()}", declared old/new ${w.deletionCount}/${w.additionCount}, parsed old/new ${I}/${L}`);const E=_e(w.additionStart,w.additionCount)+(L===0?0:1),T=_e(w.deletionStart,w.deletionCount)+(I===0?0:1);if(!c){const O=E-w.additionStart,R=T-w.deletionStart;w.additionLineIndex+=O,w.deletionLineIndex+=R;for(const j of w.hunkContent)j.additionLineIndex+=O,j.deletionLineIndex+=R}w.additionStart=E,w.deletionStart=T,w.additionCount=L,w.deletionCount=I}w.additionLines=k,w.deletionLines=b,w.collapsedBefore=Math.max(_e(w.additionStart,w.additionCount)-o,0),d.hunks.push(w),o=pe(w.additionStart,w.additionCount);for(const E of w.hunkContent)E.type==="context"?(w.splitLineCount+=E.lines,w.unifiedLineCount+=E.lines):(w.splitLineCount+=Math.max(E.additions,E.deletions),w.unifiedLineCount+=E.deletions+E.additions);w.splitLineStart=d.splitLineCount+w.collapsedBefore,w.unifiedLineStart=d.unifiedLineCount+w.collapsedBefore,d.splitLineCount+=w.collapsedBefore+w.splitLineCount,d.unifiedLineCount+=w.collapsedBefore+w.unifiedLineCount}if(d!=null){if(s&&c&&!n&&d.hunks.length===0)throw Error("parsePatchContent: unified file has no hunks");if(d.hunks.length>0&&!c&&d.additionLines.length>0&&d.deletionLines.length>0){const f=d.hunks[d.hunks.length-1],p=pe(f.additionStart,f.additionCount),m=d.additionLines.length,v=Math.max(m-p,0);d.splitLineCount+=v,d.unifiedLineCount+=v}return n||(d.prevName!=null&&d.name!==d.prevName?d.hunks.length>0?d.type="rename-changed":d.type="rename-pure":(i==null||i.contents==="")&&r!=null&&r.contents!==""?d.type="new":i!=null&&i.contents!==""&&(r==null||r.contents==="")&&(d.type="deleted")),d.type!=="rename-pure"&&d.type!=="rename-changed"&&(d.prevName=void 0),uv(d),d}}function yv(e,t,n=!1){const i=[],r=kv(e)?e.split(lh):[e];for(const s of r)try{i.push(bv(s,t,n,t!=null?i.length:void 0))}catch(o){if(n)throw o;console.error(o)}finally{Kd()}return i}function Yt(e,t=!1){const n=e.trim(),i=n.startsWith('"')?av(n)?.fileName??n:n;return t&&(i.startsWith("a/")||i.startsWith("b/"))?i.slice(2):i}function kv(e){return e.startsWith("From ")||e.includes(`
|
|
294
|
+
From `)}function oa(e){const t=Xd(e);for(let n=0;n<t.length;n++)t[n]=te(t[n]);return t}function Xd(e){if(e.length===0)return[""];const t=[];let n=0;for(;;){const i=e.indexOf(`
|
|
295
|
+
`,n);if(i===-1)break;t.push(e.slice(n,i+1)),n=i+1}return n<e.length&&t.push(e.slice(n)),t}function xv(e){return Yd(e,"diff --git")}function _v(e){if(e.length===0)return[""];const t=[];let n=0,i=0,r=0,s=0,o=!1;for(;i<e.length;){const a=cs(e,i);if(r<=0&&s<=0){if(Jd(e,i)){i>n&&t.push(e.slice(n,i)),n=i,o=!0,i=cs(e,a);continue}if(o&&e.startsWith("@@ -",i)){const c=Qd(e.slice(i,a));c!=null&&(r=c.deletionCount,s=c.additionCount)}i=a;continue}const d=e[i];if(d==="\\"){i=a;continue}d===" "?(r=Math.max(r-1,0),s=Math.max(s-1,0)):d==="-"?r=Math.max(r-1,0):d==="+"&&(s=Math.max(s-1,0)),i=a}return t.push(e.slice(n)),t}function Cv(e){return Jd(e,0)}function Jd(e,t){const n=cs(e,t);return aa(e,t,"---")&&aa(e,n,"+++")}function aa(e,t,n){if(!e.startsWith(n,t))return!1;const i=e[t+n.length];if(i!==" "&&i!==" ")return!1;for(let r=t+n.length+1;r<e.length;r++){const s=e[r];if(s===`
|
|
296
|
+
`||s==="\r")break;if(s!==" "&&s!==" ")return!0}return!1}function cs(e,t){const n=e.indexOf(`
|
|
297
|
+
`,t);return n===-1?e.length:n+1}function wv(e){const t=e[0];return t==="+"||t==="-"||t===" "}function Lv(e){if(!e.startsWith("--"))return!1;for(let t=2;t<e.length;t++){const n=e[t];if(n!==" "&&n!==" "&&n!==`
|
|
298
|
+
`&&n!=="\r")return!1}return!0}function Qd(e){if(!e.startsWith("@@ -"))return;let t=4;const n=Gn(e,t);if(n==null)return;const i=n.value;t=n.endIndex;let r=1;if(e[t]===","){const u=Gn(e,t+1);if(u==null)return;r=u.value,t=u.endIndex}if(e[t]!==" "||e[t+1]!=="+")return;t+=2;const s=Gn(e,t);if(s==null)return;const o=s.value;t=s.endIndex;let a=1;if(e[t]===","){const u=Gn(e,t+1);if(u==null)return;a=u.value,t=u.endIndex}if(e[t]!==" "||e[t+1]!=="@"||e[t+2]!=="@")return;let d;const c=t+3;return e[c]===" "&&(d=Sv(e.slice(c+1))),{additionCount:a,additionStart:o,deletionCount:r,deletionStart:i,hunkContext:d}}function Gn(e,t){let n=t,i=0;for(;n<e.length;n++){const r=e.charCodeAt(n)-48;if(r<0||r>9)break;i=i*10+r}if(n!==t)return{value:i,endIndex:n}}function Sv(e){return e.endsWith(`\r
|
|
299
|
+
`)?e.slice(0,-2):e.endsWith(`
|
|
300
|
+
`)?e.slice(0,-1):e}function Ev(e){return e.startsWith("diff --git")||e.includes(`
|
|
301
|
+
diff --git`)}function Yd(e,t){if(e.length===0)return[""];const n=`
|
|
302
|
+
${t}`,i=e.startsWith(t)?0:la(e,n,0);if(i===-1)return[e];const r=[];i>0&&r.push(e.slice(0,i));let s=i;for(;;){const o=la(e,n,s+1);if(o===-1)break;r.push(e.slice(s,o)),s=o}return r.push(e.slice(s)),r}function la(e,t,n){const i=e.indexOf(t,n);return i===-1?-1:i+1}function da(e){return e==null?e:te(e)}function Rv(e){return e===" "?"context":e==="\\"?"metadata":e==="+"?"addition":"deletion"}function vr(e){const t=e.slice(1);return te(t===""?`
|
|
303
|
+
`:t)}function yr(e,t,n){return e==="change"?{type:"change",additions:0,deletions:0,additionLineIndex:n,deletionLineIndex:t}:{type:"context",lines:0,additionLineIndex:n,deletionLineIndex:t}}const Av="/dev/null";function ft(e,t,n,i=!1){if(e===null&&t===null)throw new Error("parseDiffFromFile: You must pass oldFile, newFile, or both");const r=e??ca(),s=t??ca(),o=H0(r.name,s.name,r.contents,s.contents,r.header,s.header,n),a=vv(o,{cacheKey:(()=>{const c=e?.cacheKey,u=t?.cacheKey;return c!=null&&u!=null?zd("diff",c,u):void 0})(),oldFile:r,newFile:s,throwOnError:i});if(a==null)throw new Error("parseDiffFrom: FileInvalid diff -- probably need to fix something -- if the files are the same maybe?");e===null?(a.type="new",a.prevName=void 0):t===null&&(a.type="deleted",a.prevName=void 0);const d=t?.lang??(t===null?e?.lang:void 0);return d!=null&&(a.lang=d),a}function ca(){return{name:Av,contents:""}}var Iv=class{isDeletionsScrolling=!1;isAdditionsScrolling=!1;timeoutId=-1;codeDeletions;codeAdditions;enabled=!1;cleanUp(){this.enabled&&(this.codeDeletions?.removeEventListener("scroll",this.handleDeletionsScroll),this.codeAdditions?.removeEventListener("scroll",this.handleAdditionsScroll),clearTimeout(this.timeoutId),this.codeDeletions=void 0,this.codeAdditions=void 0,this.enabled=!1)}setup(e,t,n){if(t==null||n==null)for(const i of e.children??[])i instanceof HTMLElement&&("deletions"in i.dataset?t=i:"additions"in i.dataset&&(n=i));if(n==null||t==null){this.cleanUp();return}this.codeDeletions!==t&&(this.codeDeletions?.removeEventListener("scroll",this.handleDeletionsScroll),this.codeDeletions=t,t.addEventListener("scroll",this.handleDeletionsScroll,{passive:!0})),this.codeAdditions!==n&&(this.codeAdditions?.removeEventListener("scroll",this.handleAdditionsScroll),this.codeAdditions=n,n.addEventListener("scroll",this.handleAdditionsScroll,{passive:!0})),this.enabled=!0}handleDeletionsScroll=()=>{this.isAdditionsScrolling||(this.isDeletionsScrolling=!0,clearTimeout(this.timeoutId),this.timeoutId=setTimeout(()=>{this.isDeletionsScrolling=!1},300),this.codeAdditions?.scrollTo({left:this.codeDeletions?.scrollLeft}))};handleAdditionsScroll=()=>{this.isDeletionsScrolling||(this.isAdditionsScrolling=!0,clearTimeout(this.timeoutId),this.timeoutId=setTimeout(()=>{this.isAdditionsScrolling=!1},300),this.codeDeletions?.scrollTo({left:this.codeAdditions?.scrollLeft}))}};function Ze(e,t){const n=ft({name:e.prevName??e.name,contents:e.deletionLines.join("")},{name:e.name,contents:e.additionLines.join(""),lang:e.lang},t);return{hunks:n.hunks,splitLineCount:n.splitLineCount,unifiedLineCount:n.unifiedLineCount,additionLines:n.additionLines,deletionLines:n.deletionLines,type:n.type}}function Tv(e,t){const n=Math.max(e,1);let i=Array.from({length:n},(r,s)=>`${" ".repeat(s+1)}
|
|
304
|
+
`).join("");return i===t&&(i=Array.from({length:n},(r,s)=>`\0${" ".repeat(s)}
|
|
305
|
+
`).join("")),i}function jv(e){for(const t of e)if(t.trim().length>0)return!1;return!0}function us(e,t){return t.length>0&&t.length<e.deletionLines.length&&jv(t)}function wi(e,t,n){const i=e.deletionLines.join(""),r=Tv(t.length,i),s=ft({name:e.prevName??e.name,contents:i},{name:e.name,contents:r,lang:e.lang},n);return{hunks:s.hunks,splitLineCount:s.splitLineCount,unifiedLineCount:s.unifiedLineCount,additionLines:t,deletionLines:s.deletionLines,type:s.type}}function ai(e,t){return wi(e,[""],t)}function ec(e,t){if(e.additionLines.length===0)return ai(e,t);if(us(e,e.additionLines))return wi(e,e.additionLines,t);const n=e.additionLines,i=Ze(e,t);return tc(i,n),i}function Nv(e){return e.length>1&&e.at(-1)===""}function tc(e,t){if(!Nv(t))return;const n=t.length-e.additionLines.length;if(n<=0)return;const i=e.additionLines.length,r=e.hunks.at(-1);if(r!=null&&pe(r.additionStart,r.additionCount)===i){for(const s of r.hunkContent)if(s.type==="change"&&s.additions<s.deletions&&s.additionLineIndex+s.additions===i){e.additionLines=t,s.additions+=n,r.additionCount+=n,r.additionLines+=n,Gi(e);return}}}function Pv(e,t,n){if(e.isPartial||e.deletionLines.length!==e.additionLines.length)return ze(e,Ze(e,n));const i=Array.from(t);if(i.length===0)return ze(e,{hunks:e.hunks,splitLineCount:e.splitLineCount,unifiedLineCount:e.unifiedLineCount,type:e.type});for(const s of i){const o=e.additionLines[s],a=e.deletionLines[s];if(o==null||a==null||Oe(o)===Oe(a))return ze(e,Ze(e,n))}const r=Dv(e,i);if(r.size===0)return ze(e,Ze(e,n));for(const s of r)if(!Ov(e,s,n))return ze(e,Ze(e,n));return Gi(e),k0(e)?ze(e,Ze(e,n)):ze(e,{hunks:e.hunks,splitLineCount:e.splitLineCount,unifiedLineCount:e.unifiedLineCount,type:e.type})}function ze(e,t){return Object.assign(e,t),t}function Dv(e,t){const n=new Set;for(const i of t){const r=Mv(e,i);if(r==null)return new Set;n.add(r)}return n}function Mv(e,t){for(const[n,i]of e.hunks.entries()){const r=i.additionLineIndex+i.additionCount;if(t>=i.additionLineIndex&&t<r)return n}}function Ov(e,t,n){const i=e.hunks[t];if(i==null)return!1;const r=e.deletionLines.slice(i.deletionLineIndex,i.deletionLineIndex+i.deletionCount),s=e.additionLines.slice(i.additionLineIndex,i.additionLineIndex+i.additionCount),o=ft({name:e.prevName??e.name,contents:r.join("")},{name:e.name,contents:s.join(""),lang:e.lang},{...n,context:0}),a=o.hunks[0];return a==null||o.hunks.length!==1?!1:(Fv(i,a),nc(e,t),!0)}function nc(e,t){const n=e.hunks[t];if(n==null)return;if(t!==e.hunks.length-1){n.noEOFCRAdditions=!1,n.noEOFCRDeletions=!1;return}const i=e.additionLines.at(-1),r=e.deletionLines.at(-1);n.noEOFCRAdditions=i!=null&&i!==""&&!i.endsWith(`
|
|
306
|
+
`),n.noEOFCRDeletions=r!=null&&r!==""&&!r.endsWith(`
|
|
307
|
+
`)}function Fv(e,t){const n=e.additionLineIndex,i=e.deletionLineIndex;e.hunkContent=t.hunkContent.map(r=>ic(r,n,i)),e.additionLineIndex=n+t.additionLineIndex,e.additionStart=e.additionStart+t.additionLineIndex,e.additionCount=t.additionCount,e.additionLines=t.additionLines,t.deletionLineIndex>=0&&(e.deletionLineIndex=i+t.deletionLineIndex,e.deletionStart=e.deletionStart+t.deletionLineIndex),e.deletionCount=t.deletionCount,e.deletionLines=t.deletionLines,e.noEOFCRAdditions=t.noEOFCRAdditions,e.noEOFCRDeletions=t.noEOFCRDeletions,Ps(e)}function ic(e,t,n){return{...e,additionLineIndex:e.additionLineIndex+t,deletionLineIndex:e.deletionLineIndex+n}}function Ps(e){let t=0,n=0;for(const i of e.hunkContent)i.type==="context"?(t+=i.lines,n+=i.lines):(t+=Math.max(i.additions,i.deletions),n+=i.additions+i.deletions);e.splitLineCount=t,e.unifiedLineCount=n}function Gi(e){let t=0,n=0,i=0;for(const r of e.hunks)r.collapsedBefore=Math.max(_e(r.additionStart,r.additionCount)-i,0),r.splitLineStart=t+r.collapsedBefore,r.unifiedLineStart=n+r.collapsedBefore,Ps(r),t+=r.collapsedBefore+r.splitLineCount,n+=r.collapsedBefore+r.unifiedLineCount,i=pe(r.additionStart,r.additionCount);if(e.hunks.length>0){const r=e.hunks[e.hunks.length-1],s=Math.max(e.additionLines.length-pe(r.additionStart,r.additionCount),0);t+=s,n+=s}e.splitLineCount=t,e.unifiedLineCount=n}const ua=new WeakMap;function Hv(e){return e.length>1&&e[e.length-1]===""?e.slice(0,-1):e}function $v(e,t){const n=Math.min(e.length,t.length);let i=0;for(;i<n&&e[i]===t[i];)i++;let r=e.length,s=t.length;for(;r>i&&s>i&&e[r-1]===t[s-1];)r--,s--;if(!(i===r&&i===s))return{start:i,deletionEnd:r,additionEnd:s}}function hs(e,t,n){const i=e.hunks,r=e.additionLines,s=Hv(r),o=s===r?e:{...e,additionLines:s},a=Xv(i,Kv(o,t,n),e.deletionLines.length),d=Yv(o,a);if(e.additionLines=s,e.hunks=d,e.editSessionDirty=!0,i2(e),tc(e,r),!!t2(i,e.hunks))return{regions:a.map(c=>c.previousSpan)}}function Vv(e,t,n,i){const r=new Set(t),s=Array.from(r).filter(u=>u>=0&&u<e.additionLines.length).sort((u,h)=>u-h);if(s.length===0)return;const o=u=>r.has(u)?i?.get(u):e.additionLines[u],{hunks:a}=e;let d,c=0;for(const u of s){for(;c<a.length;){const p=a[c];if(u<Li(p)+p.additionCount)break;c++}const h=a[c],f=h==null?void 0:Li(h);if(f==null||u<f||d!=null&&d!==c)return hs(e,n,o);d=c}if(d!=null){if(Bv(e,s,d,i,n)){e.editSessionDirty=!0;return}return hs(e,n,o)}}function Bv(e,t,n,i,r){if(i==null||r?.ignoreWhitespace===!0||r?.stripTrailingCr===!0)return!1;const s=Wv(e),o=e.hunks[n];if(o.hunkContent.some(Uv))return!1;for(const a of t){const d=i.get(a),c=e.additionLines[a];if(d==null||c==null||s.has(d)||s.has(c))return!1;let u=!1;for(const h of o.hunkContent)if(h.type==="change"&&h.additions===h.deletions&&a>=h.additionLineIndex&&a<h.additionLineIndex+h.additions){u=!0;break}if(!u)return!1}return!0}function Wv(e){const t=ua.get(e);if(t?.lines===e.deletionLines)return t.set;const n=new Set(e.deletionLines);return ua.set(e,{lines:e.deletionLines,set:n}),n}function Uv(e){return e?.type==="change"&&(e.additions===0||e.deletions===0)}function Gv(e,t){const n=new Map,{regions:i}=t;for(let r=0;r<=i.length;r++){const s=i[r-1],o=i[r],a=r===0?e.get(0):s==null?void 0:e.get(s.lastIndex+1),d=o==null?void 0:e.get(o.firstIndex),c=a?.fromStart??0,u=d?.fromEnd??0;(c>0||u>0)&&n.set(r,{fromStart:c,fromEnd:u})}return n}function zv(e,t,n){const i=[];if(e.isPartial)return i;for(const[s,o]of e.hunks.entries()){const a=nt({isPartial:e.isPartial,rangeSize:o.collapsedBefore,expandedHunks:t,hunkIndex:s,collapsedContextThreshold:n});if(a.rangeSize<=n)continue;const d=It(o),c=d-a.rangeSize;a.fromStart>0&&i.push([c,c+a.fromStart]),a.fromEnd>0&&i.push([d-a.fromEnd,d])}const r=it({fileDiff:e,hunkIndex:e.hunks.length-1,expandedHunks:t,collapsedContextThreshold:n,errorPrefix:"captureExpansionAnchors"});if(r!=null&&r.fromStart>0&&r.rangeSize>n){const s=e.hunks[e.hunks.length-1],o=It(s)+s.deletionCount;i.push([o,o+r.fromStart])}return i}function qv(e,t){const n=new Map;if(t.length===0)return n;const i=(s,o,a)=>{if(a<=o)return;let d=0,c=0;for(const[u,h]of t)h<=o||u>=a||(u<=o&&(d=Math.max(d,Math.min(h,a)-o)),h>=a&&(c=Math.max(c,a-Math.max(u,o))));(d>0||c>0)&&n.set(s,{fromStart:d,fromEnd:c})};for(const[s,o]of e.hunks.entries()){const a=It(o);i(s,a-Math.max(o.collapsedBefore,0),a)}const r=e.hunks[e.hunks.length-1];return r!=null&&!e.isPartial&&e.deletionLines.length>0&&i(e.hunks.length,It(r)+r.deletionCount,e.deletionLines.length),n}function ha(e,t){return e.editSessionDirty!==!0?!1:(delete e.editSessionDirty,Object.assign(e,e.additionLines.length<=1&&e.additionLines.join("")===""?Ze(e,t):ec(e,t)),!0)}function Kv(e,t,n){if($v(e.deletionLines,e.additionLines)==null)return[];const i=ft({name:e.prevName??e.name,contents:e.deletionLines.join("")},{name:e.name,contents:e.additionLines.join(""),lang:e.lang},t);let r;const s=(c,u)=>{r??=Zv(e.hunks);for(let h=0;h<=u;h++){const f=r.get(c.deletionLineIndex-h);if(!(f==null||f.additions!==c.additions||f.deletions!==c.deletions)){if(c.additions>0&&n!=null){for(let p=0;p<c.additions;p++)if(n(f.additionLineIndex+p)!==i.additionLines[c.additionLineIndex+p])return u}return h}}return u},o=[];let a=0,d=0;for(const c of i.hunks){hv(c,i,s);const u=c.additionCount>0?c.additionLineIndex-a:c.deletionLineIndex-d;a+=u,d+=u;for(const h of c.hunkContent){if(h.type==="context"){a+=h.lines,d+=h.lines;continue}const f=ic(h,0,0);f.additions===0&&(f.additionLineIndex=a),f.deletions===0&&(f.deletionLineIndex=d),o.push(f),a+=f.additions,d+=f.deletions}}return o}function Zv(e){const t=new Map;for(const n of e)for(const i of n.hunkContent)i.type==="change"&&(i.additions===0||i.deletions===0)&&t.set(i.deletionLineIndex,i);return t}function Xv(e,t,n){const i=e.map((o,a)=>{const d=It(o);return{deletionStart:d,deletionEnd:d+o.deletionCount,blocks:[],previousSpan:{firstIndex:a,lastIndex:a}}}),r=[];let s=0;for(const o of t){const a=o.deletionLineIndex,d=a+o.deletions;for(;s<i.length&&i[s].deletionEnd<a;)r.push(i[s]),s++;let c=r.length>0&&Jv(a,d,r[r.length-1])?r.pop():void 0;for(;s<i.length&&i[s].deletionStart<=d;)c=Qv(c,i[s]),s++;if(c==null){let u=a,h=d;if((o.deletions===0||o.additions===0)&&n>o.deletions){const f=r[r.length-1]?.deletionEnd??0,p=i[s]?.deletionStart??n;a>f?u--:d<p&&h++}c={deletionStart:u,deletionEnd:h,blocks:[],previousSpan:void 0}}c.deletionStart=Math.min(c.deletionStart,a),c.deletionEnd=Math.max(c.deletionEnd,d),c.blocks.push(o),r.push(c)}for(;s<i.length;)r.push(i[s]),s++;return r}function Jv(e,t,n){return e<=n.deletionEnd&&t>=n.deletionStart}function Qv(e,t){return e==null?t:(e.deletionStart=Math.min(e.deletionStart,t.deletionStart),e.deletionEnd=Math.max(e.deletionEnd,t.deletionEnd),e.blocks.push(...t.blocks),t.previousSpan!=null&&(e.previousSpan??={...t.previousSpan},e.previousSpan.firstIndex=Math.min(e.previousSpan.firstIndex,t.previousSpan.firstIndex),e.previousSpan.lastIndex=Math.max(e.previousSpan.lastIndex,t.previousSpan.lastIndex)),e)}function Yv(e,t){const n=[];let i=0,r=0;for(const s of t){const o=s.deletionStart-i;if(o<0)throw new Error("buildRegionHunks: overlapping old-side regions");i+=o,r+=o;const a=r,d=[];for(const u of s.blocks){const h=u.deletionLineIndex-i,f=u.additionLineIndex-r;if(h<0||h!==f)throw new Error("buildRegionHunks: canonical block context mismatch");fa(d,h,r,i),i+=h,r+=f,d.push({...u}),i+=u.deletions,r+=u.additions}const c=s.deletionEnd-i;if(c<0)throw new Error("buildRegionHunks: block exceeds its old-side region");fa(d,c,r,i),i+=c,r+=c,n.push(e2(e,{additionStart:a,additionEnd:r,deletionStart:s.deletionStart,deletionEnd:s.deletionEnd},d))}if(e.deletionLines.length-i!==e.additionLines.length-r)throw new Error("buildRegionHunks: trailing context mismatch");return n}function e2(e,t,n){const i=t.additionEnd-t.additionStart,r=t.deletionEnd-t.deletionStart;let s=0,o=0;for(const d of n)d.type==="change"&&(s+=d.additions,o+=d.deletions);const a={collapsedBefore:0,additionStart:zn(t.additionStart,i),additionCount:i,additionLines:s,additionLineIndex:ma(t.additionStart,i),deletionStart:zn(t.deletionStart,r),deletionCount:r,deletionLines:o,deletionLineIndex:ma(t.deletionStart,r),hunkContent:n,hunkSpecs:`@@ -${zn(t.deletionStart,r)},${r} +${zn(t.additionStart,i)},${i} @@`,splitLineStart:0,splitLineCount:0,unifiedLineStart:0,unifiedLineCount:0,noEOFCRAdditions:!1,noEOFCRDeletions:!1};return Ps(a),a}function fa(e,t,n,i){t>0&&e.push({type:"context",lines:t,additionLineIndex:n,deletionLineIndex:i})}function t2(e,t){if(e.length!==t.length)return!0;for(let n=0;n<e.length;n++){const i=e[n],r=t[n];if(It(i)!==It(r)||i.deletionCount!==r.deletionCount||Li(i)!==Li(r)||i.additionCount!==r.additionCount||i.splitLineCount!==r.splitLineCount||!n2(i,r))return!0}return!1}function n2(e,t){const n=pa(e),i=pa(t);for(;;){const r=n.next(),s=i.next();if(r.done===!0||s.done===!0)return r.done===s.done;if(r.value[0]!==s.value[0]||r.value[1]!==s.value[1])return!1}}function*pa(e){for(const t of e.hunkContent){if(t.type==="context"){for(let i=0;i<t.lines;i++)yield[t.deletionLineIndex+i,t.additionLineIndex+i];continue}const n=Math.max(t.deletions,t.additions);for(let i=0;i<n;i++)yield[i<t.deletions?t.deletionLineIndex+i:void 0,i<t.additions?t.additionLineIndex+i:void 0]}}function Li(e){return _e(e.additionStart,e.additionCount)}function It(e){return _e(e.deletionStart,e.deletionCount)}function zn(e,t){return t===0?e:e+1}function ma(e,t){return t===0?e-1:e}function i2(e){Gi(e);for(let t=0;t<e.hunks.length;t++)nc(e,t)}function qn(e){return W({tagName:"div",properties:{"data-content-buffer":"","data-buffer-size":e,style:`grid-row: span ${e};min-height:calc(${e} * 1lh)`}})}function Kn(e){return W({tagName:"div",children:[W({tagName:"span",children:[Me("No newline at end of file")]})],properties:{"data-no-newline":"","data-line-type":e,"data-column-content":""}})}function kr(e){return W({tagName:"div",children:[xi({name:e==="both"?"diffs-icon-expand-all":"diffs-icon-expand",properties:{"data-icon":""}})],properties:{role:"button","data-expand-button":"","data-expand-both":e==="both"?"":void 0,"data-expand-up":e==="up"?"":void 0,"data-expand-down":e==="down"?"":void 0}})}function Ot({type:e,content:t,expandIndex:n,chunked:i=!1,slotName:r,isFirstHunk:s,isLastHunk:o}){let a=0;const d=[];if(e==="metadata"&&t!=null&&d.push(W({tagName:"div",children:[Me(t)],properties:{"data-separator-wrapper":""}})),(e==="line-info"||e==="line-info-basic")&&t!=null){const c=[];n!=null&&(i?(s||(c.push(kr("up")),a++),o||(c.push(kr("down")),a++)):(c.push(kr(!s&&!o?"both":s?"down":"up")),a++)),c.push(W({tagName:"div",children:[W({tagName:"span",children:[Me(t)],properties:{"data-unmodified-lines":""}})],properties:{"data-separator-content":""}})),i&&n!=null&&c.push(W({tagName:"div",children:[Me("Expand all")],properties:{role:"button","data-expand-button":"","data-expand-all-button":""}})),d.push(W({tagName:"div",children:c,properties:{"data-separator-wrapper":"","data-separator-multi-button":a>1?"":void 0}}))}return e==="custom"&&r!=null&&d.push(W({tagName:"slot",properties:{name:r}})),W({tagName:"div",children:d,properties:{"data-separator":d.length===0?"simple":e,"data-expand-index":n,"data-separator-first":s?"":void 0,"data-separator-last":o?"":void 0}})}function r2(e,t){return`hunk-separator-${e}-${t}`}function s2(e){const t=e.at(-1);return t==null?0:Math.max(pe(t.additionStart,t.additionCount),pe(t.deletionStart,t.deletionCount))}let o2=-1;var a2=class{options;annotationSlotName;onRenderUpdate;workerManager;__id=`diff-hunks-renderer:${++o2}`;highlighter;diff;expandedHunks=new Map;deletionAnnotations={};additionAnnotations={};computedLangs=["text"];renderCache;pendingHighlightResult;pendingStructuralRows;editSessionActive=!1;constructor(e={theme:De},t=wt,n,i){this.options=e,this.annotationSlotName=t,this.onRenderUpdate=n,this.workerManager=i,i?.isWorkingPool()!==!0&&(this.highlighter=$t(e.theme??De)?Qr():void 0)}cleanUp(){this.endEditSession(),this.recycle(),this.expandedHunks.clear(),this.workerManager=void 0,this.onRenderUpdate=void 0}recycle(){this.highlighter=void 0,this.diff=void 0,this.editSessionActive?(this.renderCache!=null&&(this.renderCache.renderRange=void 0),this.pendingHighlightResult=void 0,this.pendingStructuralRows=void 0):this.clearRenderCache(),this.additionAnnotations={},this.deletionAnnotations={},this.workerManager?.cleanUpTasks(this)}beginEditSession(e,t){const{editSessionActive:n}=this;this.editSessionActive=!0,n||(this.pendingHighlightResult=void 0),this.diff=e,n&&this.renderCache!=null&&this.renderCache.diff!==e&&this.clearRenderCache();const{renderCache:i}=this;if(!e.isPartial&&e.additionLines.length===0){Object.assign(e,ai(e,this.options.parseDiffOptions)),this.markEditSessionPass(e),this.clearRenderCache();return}if(i==null||n&&i.diff===e)return;const{options:r}=this.getRenderOptions(e),s=i.diff===e,o=t!=null&&Q(i.diff,t),{result:a}=i;if(!i.highlighted||a==null||!Ue(i.options,r)||!s&&!o){this.clearRenderCache();return}s||(this.renderCache={diff:e,options:r,highlighted:!0,result:{...a,code:{...a.code,additionLines:[...a.code.additionLines]}},renderRange:i.renderRange})}endEditSession(){this.editSessionActive=!1,this.pendingHighlightResult=void 0,this.diff==null&&this.clearRenderCache()}editorRenderReady(){return this.renderCache?.options.useTokenTransformer===!0&&this.renderCache.highlighted&&this.renderCache.result!=null}refreshHighlightedResult(){const{diff:e,renderCache:t,workerManager:n}=this;return e==null||t==null||!Q(t.diff,e)||sn(e)||en(e,this.getTokenizeMaxLength())?Promise.resolve():!this.editSessionActive&&n?.isWorkingPool()===!0&&e.cacheKey!=null?(n.evictDiffFromCache(e.cacheKey),n.primeDiffHighlightCache(e).then(()=>{this.applyRefreshedResult(e,n.getDiffResultCache(e))}).catch(i=>this.onHighlightError(i))):this.asyncHighlight(e).then(i=>this.applyRefreshedResult(e,i)).catch(i=>this.onHighlightError(i))}applyRefreshedResult(e,t){const{diff:n,renderCache:i}=this;if(t==null||n==null||i==null||!Q(n,e)||!Q(i.diff,e)||this.editSessionActive)return;const{options:r}=this.getRenderOptions(n);Ue(r,t.options)&&(this.pendingHighlightResult={diff:n,options:t.options,highlighted:!0,result:t.result},this.onRenderUpdate?.())}get diffCache(){return this.renderCache?.diff??this.diff}clearRenderCache(){this.renderCache=void 0,this.pendingHighlightResult=void 0,this.pendingStructuralRows=void 0}setOptions(e){this.options=e}mergeOptions(e){this.options={...this.options,...e}}expandHunk(e,t,n=this.getOptionsWithDefaults().expansionLineCount){const i={...this.expandedHunks.get(e)??{fromStart:0,fromEnd:0}};(t==="up"||t==="both")&&(i.fromStart+=n),(t==="down"||t==="both")&&(i.fromEnd+=n),this.renderCache?.highlighted!==!0&&this.clearRenderCache(),this.expandedHunks.set(e,i)}getExpandedHunk(e){return this.expandedHunks.get(e)??bh}getExpandedHunksMap(){return this.expandedHunks}setExpandedHunksMap(e){this.expandedHunks=e}setLineAnnotations(e){this.additionAnnotations={},this.deletionAnnotations={};for(const t of e){const n=(()=>{switch(t.side){case"deletions":return this.deletionAnnotations;case"additions":return this.additionAnnotations}})(),i=n[t.lineNumber]??[];n[t.lineNumber]=i,i.push(t)}}updateRenderCache(e,t,n=!1,i,r){this.pendingStructuralRows=void 0;const{renderCache:s}=this;if(s==null)return!1;const{result:o,diff:a}=s;if(o==null)return!1;if(a.isPartial)throw new Error("Could not update render cache for partial diff");const d=o.code.additionLines,c=this.pendingStructuralRows=n?new Map:void 0,u=[],h=new Map;if(c==null&&i!=null){const p=a.additionLines.length,m=u2(a.additionLines,r);for(const[v,k]of i){if(v<0||v>p||v===p&&(k===""||!m))continue;const b=a.additionLines[v]??"";b!==k&&(a.additionLines[v]=k,u.push(v),h.set(v,b),e.has(v)||(d[v]=li(v,Oe(k))))}}for(const[p,m]of e){const v=d[p]?.properties??{},k=m.map(_=>_[2]).join(""),b=p<a.additionLines.length,y=b?a.additionLines[p]??"":"",x=Oe(y);c==null&&b&&i?.has(p)!==!0&&(a.additionLines[p]=gb(y,k),x!==k&&(u.push(p),h.set(p,y)));const C={type:"element",tagName:"div",properties:{"data-line":v["data-line"]??p+1,"data-line-index":v["data-line-index"]??p,"data-line-type":v["data-line-type"]??"context"},children:m.map(([_,w,L])=>_===0&&w===""?L===""?{type:"element",tagName:"br",properties:{},children:[]}:{type:"text",value:L}:{type:"element",tagName:"span",properties:{"data-char":_,style:`color:${w};`},children:[{type:"text",value:L}]})};c!=null?c.set(p,C):d[p]=C}let f=!1;if(u.length>0)if(this.editSessionActive)if(a.additionLines.length<=1&&a.additionLines.join("")==="")this.applyRecomputePreservingSessionType(a,ai(a,this.options.parseDiffOptions)),f=!0;else if(us(a,a.additionLines))this.applyRecomputePreservingSessionType(a,wi(a,a.additionLines,this.options.parseDiffOptions)),f=!0;else{const p=Vv(a,u,this.options.parseDiffOptions,h);this.applyExpansionRemap(p),f=p!=null}else Object.assign(a,Pv(a,u,this.options.parseDiffOptions));return o.baseThemeType=t,s.isDirty=!0,f}applyExpansionRemap(e){e!=null&&(this.expandedHunks=Gv(this.expandedHunks,e))}applyDocumentChange(e){const{pendingStructuralRows:t,renderCache:n}=this;this.pendingStructuralRows=void 0;const i=this.diff??n?.diff;if(i==null)return;const r=n?.result;if(i.isPartial)throw new Error("Could not apply document change for partial diff");const{additionLines:s}=i;if(i.additionLines=h2(e),r!=null&&(r.code.additionLines=c2(s,i.additionLines,r.code.additionLines,e)),i.additionLines.length<=1&&i.additionLines.join("")===""?(this.applyRecomputePreservingSessionType(i,ai(i,this.options.parseDiffOptions)),r!=null&&(r.code.additionLines[0]=li(0,e.getLineText(0)))):this.editSessionActive?this.applySessionDocumentChange(i,s):Object.assign(i,ec(i,this.options.parseDiffOptions)),t!=null&&r!=null)for(const[o,a]of t)o<r.code.additionLines.length&&(r.code.additionLines[o]=a);n!=null&&(n.isDirty=!0)}applySessionDocumentChange(e,t){const{parseDiffOptions:n}=this.options,i=e.additionLines;if(us(e,i)){this.applyRecomputePreservingSessionType(e,wi(e,i,n));return}this.applyExpansionRemap(hs(e,n,r=>t[r]))}applyRecomputePreservingSessionType(e,t){const n=this.editSessionActive?e.type:void 0;Object.assign(e,t),n!=null&&(e.type=n),this.markEditSessionPass(e)}markEditSessionPass(e){this.editSessionActive&&(e.editSessionDirty=!0)}getUnifiedLineDecoration({lineType:e}){return{gutterLineType:e,contentProperties:{"data-line-type":e}}}getSplitLineDecoration({side:e,type:t}){const n=t==="change"?e==="deletions"?"change-deletion":"change-addition":t;return{gutterLineType:n,contentProperties:{"data-line-type":n}}}createAnnotationElement=e=>bb(e);getOptionsWithDefaults(){const{diffIndicators:e="bars",diffStyle:t="split",disableBackground:n=!1,disableFileHeader:i=!1,disableLineNumbers:r=!1,disableVirtualizationBuffers:s=!1,collapsed:o=!1,expandUnchanged:a=!1,collapsedContextThreshold:d=1,expansionLineCount:c=100,hunkSeparators:u="line-info",lineDiffType:h="word-alt",maxLineDiffLength:f=1e3,overflow:p="scroll",stickyHeader:m=!1,theme:v=De,headerRenderMode:k="default",tokenizeMaxLineLength:b=1e3,tokenizeMaxLength:y=mh,useTokenTransformer:x=!1,useCSSClasses:C=!1}=this.options;return{diffIndicators:e,diffStyle:t,disableBackground:n,disableFileHeader:i,disableLineNumbers:r,disableVirtualizationBuffers:s,collapsed:o,expandUnchanged:a,collapsedContextThreshold:d,expansionLineCount:c,hunkSeparators:u,lineDiffType:h,maxLineDiffLength:f,overflow:p,stickyHeader:m,theme:this.workerManager?.getDiffRenderOptions().theme??v,headerRenderMode:k,tokenizeMaxLineLength:b,tokenizeMaxLength:y,useTokenTransformer:x,useCSSClasses:C}}async initializeHighlighter(){return this.highlighter=await Ed(Lb(this.computedLangs,{theme:this.getLocalHighlightTheme(),preferredHighlighter:this.workerManager?.getPreferredHighlighter()??this.options.preferredHighlighter})),this.highlighter}hydrate(e){if(e==null)return;this.diff=e;const{options:t}=this.getRenderOptions(e),n=en(e,this.getTokenizeMaxLength());let i=this.workerManager?.getDiffResultCache(e);i!=null&&!Ue(t,i.options)&&(i=void 0),this.renderCache??={diff:e,hydrated:!0,highlighted:!n&&!sn(e),options:t,result:n?void 0:i?.result,renderRange:void 0},!this.editSessionActive&&this.workerManager?.isWorkingPool()===!0?this.renderCache.result==null&&!n&&this.workerManager.highlightDiffAST(this,this.diff):this.highlighter==null&&(this.computedLangs=_r(e),this.initializeHighlighter())}getLocalHighlightTheme(){return this.workerManager?.getDiffRenderOptions().theme??this.options.theme??De}getEffectiveCodeOptions(){const e=this.workerManager?.isWorkingPool()===!0?this.workerManager.getDiffRenderOptions():void 0;return{theme:this.getLocalHighlightTheme(),tokenizeMaxLineLength:e?.tokenizeMaxLineLength??this.options.tokenizeMaxLineLength}}getRenderOptions(e){const t=(()=>{if(this.workerManager?.isWorkingPool()===!0){const a=this.workerManager.getDiffRenderOptions();return this.editSessionActive&&a.useTokenTransformer!==!0?{...a,useTokenTransformer:!0}:a}const{theme:i,tokenizeMaxLineLength:r,lineDiffType:s,maxLineDiffLength:o}=this.getOptionsWithDefaults();return{theme:i,useTokenTransformer:this.editSessionActive||this.options.useTokenTransformer===!0,tokenizeMaxLineLength:r,lineDiffType:s,maxLineDiffLength:o}})();this.getOptionsWithDefaults();const{renderCache:n}=this;return n?.result==null?{options:t,forceHighlight:!0}:!Q(e,n.diff)||!Ue(t,n.options)?{options:t,forceHighlight:!0}:{options:t,forceHighlight:!1}}getDiffForNextRender(e){const{options:t}=this.getRenderOptions(e);if(this.getReadyRenderResult(e,t)!=null||this.renderCache==null)return e;if(Q(this.renderCache.diff,e))return this.renderCache.diff;const n=!(e.additionLines.length>0||e.deletionLines.length>0)||sn(e)||en(e,this.getTokenizeMaxLength());return this.canRenderDiff(e,t,n)?e:this.renderCache.diff}canRenderDiff(e,t,n){const{renderCache:i}=this;return i==null||Q(i.diff,e)?!0:n?i.result==null&&i.hydrated!==!0||this.workerManager?.isWorkingPool()===!0||this.highlighter!=null&&$t(t.theme):i.result==null&&i.hydrated!==!0?!0:!this.editSessionActive&&this.workerManager?.isWorkingPool()===!0?!i.highlighted:this.highlighter!=null&&$t(t.theme)}renderDiff(e=this.diff,t=Gs){if(this.diff=e,e==null){this.pendingHighlightResult=void 0;return}const{expandUnchanged:n,collapsedContextThreshold:i}=this.getOptionsWithDefaults();let{options:r,forceHighlight:s}=this.getRenderOptions(e);const o=this.getReadyRenderResult(e,r);this.pendingHighlightResult=void 0,o!=null&&(this.renderCache={...o,diff:e,renderRange:void 0},s=!1),this.renderCache??={diff:e,highlighted:!1,options:r,result:void 0,renderRange:void 0};const a=e.additionLines.length>0||e.deletionLines.length>0,d=!a||sn(e)||en(e,this.getTokenizeMaxLength()),c=this.canRenderDiff(e,r,d),u=!Q(e,this.renderCache.diff),h=!Vd(this.renderCache.renderRange,t);if(!this.editSessionActive&&this.workerManager?.isWorkingPool()===!0){const f=this.renderCache.result==null&&this.renderCache.highlighted&&!d&&!u&&rs(t);c&&!f&&(d||this.renderCache.result==null||!this.renderCache.highlighted&&(u||h))&&(this.renderCache.diff=e,this.renderCache.options=r,this.renderCache.highlighted=!1,(this.renderCache.result==null||u||h||s)&&(this.renderCache.result=this.workerManager.getPlainDiffAST(e,t.startingLine,t.totalLines,rs(t)||n?!0:this.expandedHunks,i)),this.renderCache.renderRange=t),!d&&a&&(!this.renderCache.highlighted||s)&&this.workerManager.highlightDiffAST(this,e)}else{this.computedLangs=_r(e),this.highlighter??=Qr();const f=this.highlighter!=null&&$t(r.theme),p=this.highlighter!=null&&jr(this.computedLangs),m=!d&&p;if(c&&this.highlighter!=null&&f&&(s||d||!this.renderCache.highlighted&&m||this.renderCache.result==null)){const{result:v,options:k}=this.renderDiffWithHighlighter(e,this.highlighter,d||!p);this.renderCache={diff:e,options:k,highlighted:m,result:v,renderRange:void 0}}(!f||!d&&!p)&&this.asyncHighlight(e).then(({result:v,options:k})=>{this.applyHighlightResult(e,v,k,!d)})}return this.renderCache.result!=null?this.processDiffResult(this.renderCache.diff,t,this.renderCache.result):void 0}async asyncRender(e,t=Gs){this.diff=e;const{result:n}=await this.asyncHighlight(e);return this.processDiffResult(e,t,n)}createPreElement(e,t,n){const{diffIndicators:i,disableBackground:r,disableLineNumbers:s,overflow:o}=this.getOptionsWithDefaults();return Cb({type:"diff",diffIndicators:i,disableBackground:r,disableLineNumbers:s,overflow:o,split:e,totalLines:t,customProperties:n})}async asyncHighlight(e){const t=en(e,this.getTokenizeMaxLength());this.computedLangs=t?["text"]:_r(e);const n=this.highlighter!=null&&$t(this.getLocalHighlightTheme()),i=t||this.highlighter!=null&&jr(this.computedLangs);return(this.highlighter==null||!n||!i)&&(this.highlighter=await this.initializeHighlighter()),this.renderDiffWithHighlighter(e,this.highlighter,t)}renderDiffWithHighlighter(e,t,n=!1){const{options:i}=this.getRenderOptions(e),{collapsedContextThreshold:r}=this.getOptionsWithDefaults(),s=B0(e,t,i,{forcePlainText:n,expandedHunks:n?!0:void 0,collapsedContextThreshold:r});if(this.editSessionActive&&e.additionLines.length===1&&e.additionLines[0]===""&&s.code.additionLines[0]==null){let o;if(Rt({diff:e,diffStyle:"both",expandedHunks:n?!0:void 0,collapsedContextThreshold:r,callback:({additionLine:a})=>{if(a?.lineIndex===0)return o=a,!0}}),o==null)throw new Error("DiffHunksRenderer: missing empty addition line");s.code.additionLines[0]=li(0,"",o.unifiedLineIndex,o.splitLineIndex)}return{result:s,options:i}}onHighlightSuccess(e,t,n,i=!0){this.editSessionActive||this.applyHighlightResult(e,t,n,i)}applyHighlightResult(e,t,n,i=!0){const{diff:r,renderCache:s}=this;r==null||s==null||!Q(r,e)||!Ue(n,this.getRenderOptions(r).options)||(s.result==null||!s.highlighted||!Ue(s.options,n)||!Q(s.diff,r))&&(this.pendingHighlightResult={diff:r,options:n,highlighted:i,result:t},this.onRenderUpdate?.())}getMatchingWorkerResultCache(e,t){if(this.editSessionActive)return;const n=this.workerManager?.getDiffResultCache(e);if(!(n==null||!Ue(t,n.options)))return n}getReadyRenderResult(e,t){const{pendingHighlightResult:n}=this;if(n!=null&&Q(n.diff,e)&&Ue(n.options,t))return n;const i=this.getMatchingWorkerResultCache(e,t);if(!(i==null||this.hasHighlightedRenderCache(e,t)))return{diff:e,highlighted:!0,...i}}hasHighlightedRenderCache(e,t){const{renderCache:n}=this;return n?.result!=null&&n.highlighted&&Q(e,n.diff)&&Ue(t,n.options)}onHighlightError(e){console.error(e)}getTokenizeMaxLength(){return this.options.tokenizeMaxLength??1e5}processDiffResult(e,t,{code:n,themeStyles:i,baseThemeType:r}){const{diffStyle:s,disableFileHeader:o,expandUnchanged:a,expansionLineCount:d,collapsedContextThreshold:c,hunkSeparators:u}=this.getOptionsWithDefaults(),h=this.renderCache?.isDirty??!1,f=s==="unified",p=f2(e,this.options.loadDiffFiles!=null),m=!e.isPartial||p;let v=[],k=[],b=[];const y=[],{additionLines:x,deletionLines:C}=n,_={rowCount:0,hunkSeparators:u,additionsContentAST:v,deletionsContentAST:k,unifiedContentAST:b,unifiedGutterAST:Hn(),deletionsGutterAST:Hn(),additionsGutterAST:Hn(),expansionLineCount:d,hunkData:y,incrementRowCount(D=1){_.rowCount+=D},pushToGutter(D,B){switch(D){case"unified":_.unifiedGutterAST.children.push(B);break;case"deletions":_.deletionsGutterAST.children.push(B);break;case"additions":_.additionsGutterAST.children.push(B)}}},w=Td({fileDiff:e,errorPrefix:"DiffHunksRenderer.processDiffResult"}),L={size:0,side:void 0,increment(){this.size+=1},flush(){if(s!=="unified"){if(this.size<=0||this.side==null){this.side=void 0,this.size=0;return}this.side==="additions"?(_.pushToGutter("additions",Le(void 0,"buffer",this.size)),v?.push(qn(this.size))):(_.pushToGutter("deletions",Le(void 0,"buffer",this.size)),k?.push(qn(this.size))),this.size=0,this.side=void 0}}},I=(D,B,q,$,U)=>{_.pushToGutter(D,J1(B,q,$,U))};function E(D){L.flush(),s==="unified"?xr("unified",D,_):(xr("deletions",D,_),xr("additions",D,_))}this.pushFileLevelAnnotations(e,s,t,_),Rt({diff:e,diffStyle:s,startingLine:t.startingLine,totalLines:t.totalLines,expandedHunks:a?!0:this.expandedHunks,collapsedContextThreshold:c,callback:({hunkIndex:D,hunk:B,collapsedBefore:q,collapsedAfter:$,additionLine:U,deletionLine:Z,type:J})=>{const de=Z!=null?Z.splitLineIndex:U.splitLineIndex,me=U!=null?U.unifiedLineIndex:Z.unifiedLineIndex;s==="split"&&J!=="change"&&L.flush(),q>0&&E({hunkIndex:D,collapsedLines:q,rangeSize:Math.max(B?.collapsedBefore??0,0),hunkSpecs:B?.hunkSpecs,isFirstHunk:D===0,isLastHunk:!1,isExpandable:m});const Ae=s==="unified"?me:de,st={type:J,hunkIndex:D,lineIndex:Ae,unifiedLineIndex:me,splitLineIndex:de,deletionLine:Z,additionLine:U};if(s==="unified"){const Y=this.getUnifiedInjectedRowsForLine?.(st);Y?.before!=null&&ga(Y.before,_);let he=Z!=null?C[Z.lineIndex]:void 0,ge=U!=null?x[U.lineIndex]:void 0;if(he==null&&ge==null){const we="DiffHunksRenderer.processDiffResult: deletionLine and additionLine are null, something is wrong";throw console.error(we,{file:e.name}),new Error(we)}const bt=J==="change"?U!=null?"change-addition":"change-deletion":J,Ce=this.getUnifiedLineDecoration({type:J,lineType:bt,additionLineIndex:U?.lineIndex,deletionLineIndex:Z?.lineIndex});I("unified",Ce.gutterLineType,U!=null?U.lineNumber:Z.lineNumber,`${me},${de}`,Ce.gutterProperties),ge!=null?ge=Xn(ge,Ce.contentProperties,h&&U!=null?{"data-line":U.lineNumber,"data-line-index":`${me},${de}`}:void 0):he!=null&&(he=Xn(he,Ce.contentProperties,h&&Z!=null?{"data-line":Z.lineNumber,"data-line-index":`${me},${de}`}:void 0)),Zn({diffStyle:"unified",type:J,deletionLine:he,additionLine:ge,unifiedSpan:this.getAnnotations("unified",Z?.lineNumber,U?.lineNumber,D,Ae),createAnnotationElement:we=>this.createAnnotationElement(we),context:_}),Y?.after!=null&&ga(Y.after,_)}else{const Y=this.getSplitInjectedRowsForLine?.(st);Y?.before!=null&&ba(Y.before,_,L);let he=Z!=null?C[Z.lineIndex]:void 0,ge=U!=null?x[U.lineIndex]:void 0;const bt=this.getSplitLineDecoration({side:"deletions",type:J,lineIndex:Z?.lineIndex}),Ce=this.getSplitLineDecoration({side:"additions",type:J,lineIndex:U?.lineIndex});if(he==null&&ge==null){const fe="DiffHunksRenderer.processDiffResult: deletionLine and additionLine are null, something is wrong";throw console.error(fe,{file:e.name}),new Error(fe)}const we=(()=>{if(J==="change"){if(ge==null)return"additions";if(he==null)return"deletions"}})();we!=null?(L.side!=null&&L.side!==we&&L.flush(),L.side=we,L.increment()):J==="change"&&L.flush();const ot=this.getAnnotations("split",Z?.lineNumber,U?.lineNumber,D,Ae);if(ot!=null&&L.size>0&&L.flush(),Z!=null){const fe=Xn(he,bt.contentProperties,h?{"data-line":Z.lineNumber,"data-line-index":`${Z.unifiedLineIndex},${de}`}:void 0);I("deletions",bt.gutterLineType,Z.lineNumber,`${Z.unifiedLineIndex},${de}`,bt.gutterProperties),fe!=null&&(he=fe)}if(U!=null){const fe=Xn(ge,Ce.contentProperties,h?{"data-line":U.lineNumber,"data-line-index":`${U.unifiedLineIndex},${de}`}:void 0);I("additions",Ce.gutterLineType,U.lineNumber,`${U.unifiedLineIndex},${de}`,Ce.gutterProperties),fe!=null&&(ge=fe)}Zn({diffStyle:"split",type:J,additionLine:ge,deletionLine:he,...ot,createAnnotationElement:fe=>this.createAnnotationElement(fe),context:_}),Y?.after!=null&&ba(Y.after,_,L)}const Xt=s==="split"&&B!=null&&de===B.splitLineStart+B.splitLineCount-1,$e=D===e.hunks.length-1&&B!=null&&(s==="split"?de===B.splitLineStart+B.splitLineCount-1:me===B.unifiedLineStart+B.unifiedLineCount-1),qi=Xt?B.noEOFCRDeletions:!1,Ki=Xt?B.noEOFCRAdditions:!1,gt=(Z?.noEOFCR??!1)||qi,Ve=(U?.noEOFCR??!1)||Ki;if(Ve||gt){if(s==="split"&&L.flush(),gt){const Y=J==="context"||J==="context-expanded"?J:"change-deletion";s==="unified"?(_.unifiedContentAST.push(Kn(Y)),_.pushToGutter("unified",Le(Y,"metadata",1))):(_.deletionsContentAST.push(Kn(Y)),_.pushToGutter("deletions",Le(Y,"metadata",1)),Ve||(_.pushToGutter("additions",Le(void 0,"buffer",1)),_.additionsContentAST.push(qn(1))))}if(Ve){const Y=J==="context"||J==="context-expanded"?J:"change-addition";s==="unified"?(_.unifiedContentAST.push(Kn(Y)),_.pushToGutter("unified",Le(Y,"metadata",1))):(_.additionsContentAST.push(Kn(Y)),_.pushToGutter("additions",Le(Y,"metadata",1)),gt||(_.pushToGutter("deletions",Le(void 0,"buffer",1)),_.deletionsContentAST.push(qn(1))))}_.incrementRowCount(1)}u!=="simple"&&u!=="metadata"&&($>0||$e&&p)&&E({hunkIndex:J==="context-expanded"?D:D+1,collapsedLines:$e&&p?"unknown":$,rangeSize:w,hunkSpecs:void 0,isFirstHunk:!1,isLastHunk:!0,isExpandable:m}),_.incrementRowCount(1)}}),s==="split"&&L.flush();const T=Math.max(s2(e.hunks),e.additionLines.length??0,e.deletionLines.length??0),O=t.bufferBefore>0||t.bufferAfter>0,R=!f&&e.type!=="deleted",j=!f&&e.type!=="new",F=_.rowCount>0||O;v=R&&F?v:void 0,k=j&&F?k:void 0,b=f&&F?b:void 0;const G=this.createPreElement(k!=null&&v!=null,T);return{fileDiff:e,unifiedGutterAST:f&&F?_.unifiedGutterAST.children:void 0,unifiedContentAST:b,deletionsGutterAST:j&&F?_.deletionsGutterAST.children:void 0,deletionsContentAST:k,additionsGutterAST:R&&F?_.additionsGutterAST.children:void 0,additionsContentAST:v,hunkData:y,preNode:G,themeStyles:i,baseThemeType:r,headerElement:o?void 0:this.renderHeader(e),totalLines:T,rowCount:_.rowCount,bufferBefore:t.bufferBefore,bufferAfter:t.bufferAfter,css:""}}renderCodeAST(e,t){const n=e==="unified"?t.unifiedGutterAST:e==="deletions"?t.deletionsGutterAST:t.additionsGutterAST,i=e==="unified"?t.unifiedContentAST:e==="deletions"?t.deletionsContentAST:t.additionsContentAST;if(n==null||i==null)return;const r=Hn(n);return r.properties.style=`grid-row: span ${t.rowCount}`,[r,vb(i,t.rowCount)]}renderFullAST(e,t=[]){const n=this.getOptionsWithDefaults().hunkSeparators==="line-info",i=this.renderCodeAST("unified",e);if(i!=null)return t.push(W({tagName:"code",children:i,properties:{"data-code":"","data-container-size":n?"":void 0,"data-unified":""}})),{...e.preNode,children:t};const r=this.renderCodeAST("deletions",e);r!=null&&t.push(W({tagName:"code",children:r,properties:{"data-code":"","data-container-size":n?"":void 0,"data-deletions":""}}));const s=this.renderCodeAST("additions",e);return s!=null&&t.push(W({tagName:"code",children:s,properties:{"data-code":"","data-container-size":n?"":void 0,"data-additions":""}})),{...e.preNode,children:t}}renderFullHTML(e,t=[]){return Je(this.renderFullAST(e,t))}renderPartialHTML(e,t){return t==null?Je(e):Je(W({tagName:"code",children:e,properties:{"data-code":"","data-container-size":this.getOptionsWithDefaults().hunkSeparators==="line-info"?"":void 0,[`data-${t}`]:""}}))}pushFileLevelAnnotations(e,t,n,i){if(!Fd(n))return;const r=e.type!=="new"?this.getAnnotationNames(Ko(this.deletionAnnotations)):[],s=e.type!=="deleted"?this.getAnnotationNames(Ko(this.additionAnnotations)):[];if(r.length===0&&s.length===0)return;const o=-1,a=-1,{createAnnotationElement:d}=this;if(t==="unified"){Zn({diffStyle:t,type:"context",unifiedSpan:{type:"annotation",hunkIndex:o,lineIndex:a,annotations:r.concat(s)},createAnnotationElement:d,context:i});return}Zn({diffStyle:t,type:"context",deletionSpan:{type:"annotation",hunkIndex:o,lineIndex:a,annotations:r},additionSpan:{type:"annotation",hunkIndex:o,lineIndex:a,annotations:s},createAnnotationElement:d,context:i})}getAnnotations(e,t,n,i,r){const s={type:"annotation",hunkIndex:i,lineIndex:r,annotations:[]};if(t!=null)for(const a of this.deletionAnnotations[t]??[])s.annotations.push(this.annotationSlotName(a));const o={type:"annotation",hunkIndex:i,lineIndex:r,annotations:[]};if(n!=null)for(const a of this.additionAnnotations[n]??[])(e==="unified"?s:o).annotations.push(this.annotationSlotName(a));if(e==="unified")return s.annotations.length>0?s:void 0;if(!(o.annotations.length===0&&s.annotations.length===0))return{deletionSpan:s,additionSpan:o}}getAnnotationNames(e){return e?.map(t=>this.annotationSlotName(t))??[]}renderHeader(e){const{headerRenderMode:t,stickyHeader:n}=this.getOptionsWithDefaults();return kb({fileOrDiff:e,mode:t,stickyHeader:n})}};const l2=new Intl.PluralRules("en-US");function d2(e){return`${e} unmodified line${l2.select(e)==="one"?"":"s"}`}function ga(e,t){for(const n of e)t.unifiedContentAST.push(n.content),t.pushToGutter("unified",n.gutter),t.incrementRowCount(1)}function ba(e,t,n){for(const{deletion:i,addition:r}of e){if(i==null&&r==null)continue;const s=i!=null&&r!=null?void 0:i==null?"deletions":"additions";(s==null||n.side!==s)&&n.flush(),i!=null&&(t.deletionsContentAST.push(i.content),t.pushToGutter("deletions",i.gutter)),r!=null&&(t.additionsContentAST.push(r.content),t.pushToGutter("additions",r.gutter)),s!=null&&(n.side=s,n.increment()),t.incrementRowCount(1)}}function Zn({diffStyle:e,type:t,deletionLine:n,additionLine:i,unifiedSpan:r,deletionSpan:s,additionSpan:o,createAnnotationElement:a,context:d}){let c=!1;if(e==="unified"){if(i!=null?d.unifiedContentAST.push(i):n!=null&&d.unifiedContentAST.push(n),r!=null){const u=t==="change"?n!=null?"change-deletion":"change-addition":t;d.unifiedContentAST.push(a(r)),d.pushToGutter("unified",Le(u,"annotation",1)),c=!0}}else if(e==="split"){if(n!=null&&d.deletionsContentAST.push(n),i!=null&&d.additionsContentAST.push(i),s!=null){const u=t==="change"?n!=null?"change-deletion":"context":t;d.deletionsContentAST.push(a(s)),d.pushToGutter("deletions",Le(u,"annotation",1)),c=!0}if(o!=null){const u=t==="change"?i!=null?"change-addition":"context":t;d.additionsContentAST.push(a(o)),d.pushToGutter("additions",Le(u,"annotation",1)),c=!0}}c&&d.incrementRowCount(1)}function xr(e,{hunkIndex:t,collapsedLines:n,rangeSize:i,hunkSpecs:r,isFirstHunk:s,isLastHunk:o,isExpandable:a},d){if(typeof n=="number"&&n<=0)return;const c=e==="unified"?d.unifiedContentAST:e==="deletions"?d.deletionsContentAST:d.additionsContentAST;if(d.hunkSeparators==="metadata"){r!=null&&(d.pushToGutter(e,Ot({type:"metadata",content:r,isFirstHunk:s,isLastHunk:o})),c.push(Ot({type:"metadata",content:r,isFirstHunk:s,isLastHunk:o})),e!=="additions"&&d.incrementRowCount(1));return}if(d.hunkSeparators==="simple"){t>0&&(d.pushToGutter(e,Ot({type:"simple",isFirstHunk:s,isLastHunk:!1})),c.push(Ot({type:"simple",isFirstHunk:s,isLastHunk:!1})),e!=="additions"&&d.incrementRowCount(1));return}const u=r2(e,t),h=i>d.expansionLineCount,f=a?t:void 0,p=typeof n=="number"?d2(n):"More unchanged context may be available";d.pushToGutter(e,Ot({type:d.hunkSeparators,content:p,expandIndex:f,chunked:h,slotName:u,isFirstHunk:s,isLastHunk:o})),c.push(Ot({type:d.hunkSeparators,content:p,expandIndex:f,chunked:h,slotName:u,isFirstHunk:s,isLastHunk:o})),e!=="additions"&&d.incrementRowCount(1),d.hunkData.push({slotName:u,hunkIndex:t,lines:typeof n=="number"?n:0,lineCountKnown:typeof n=="number",type:e,expandable:a?{up:!s,down:!o,chunked:h}:void 0})}function Xn(e,t,n){return e==null||e.type!=="element"||t==null&&n==null?e:{...e,properties:{...e.properties,...t,...n}}}function va(e){return e.length>0&&e[e.length-1]===""?e.length-1:e.length}function c2(e,t,n,i){const r=va(e),s=va(t),o=Math.min(r,s);let a=0;for(;a<o&&e[a]===t[a];)a++;let d=0;for(;d<o-a&&e[r-1-d]===t[s-1-d];)d++;const c=new Array(t.length);for(let u=0;u<a;u++)c[u]=n[u];for(let u=0;u<d;u++)c[s-1-u]=n[r-1-u];r<e.length&&s<t.length&&(c[t.length-1]=n[e.length-1]);for(let u=a;u<t.length;u++)c[u]??=li(u,i.getLineText(u));return c}function u2(e,t){return t===e.length+1&&e.at(-1)?.endsWith(`
|
|
308
|
+
`)===!0}function li(e,t,n=e,i=e){return{type:"element",tagName:"div",properties:{"data-line":e+1,"data-line-index":`${n},${i}`,"data-line-type":"context"},children:[{type:"element",tagName:"span",properties:{"data-char":0},children:[{type:"text",value:t}]}]}}function h2(e){const t=[];for(let n=0;n<e.lineCount;n++)t.push(e.getLineText(n,!0));return t}function _r(e){if(e.lang!=null)return[e.lang];const t=tt(e.prevName??e.name),n=tt(e.name);return t===n?[n]:[t,n]}function en(e,t){return Math.max(e.additionLines.length,e.deletionLines.length)>t}function f2(e,t){return e.isPartial&&t&&(e.type==="change"||e.type==="rename-changed")}function p2(e,t){return e.lineNumber===t.lineNumber&&e.side===t.side&&e.metadata===t.metadata}function m2(e,t){return e.slotName===t.slotName&&e.hunkIndex===t.hunkIndex&&e.lines===t.lines&&e.lineCountKnown===t.lineCountKnown&&e.type===t.type&&e.expandable?.chunked===t.expandable?.chunked&&e.expandable?.up===t.expandable?.up&&e.expandable?.down===t.expandable?.down}function g2(e){return{theme:e?.theme,disableLineNumbers:e?.disableLineNumbers,overflow:e?.overflow,collapsed:e?.collapsed,disableFileHeader:e?.disableFileHeader,disableVirtualizationBuffers:e?.disableVirtualizationBuffers,stickyHeader:e?.stickyHeader,preferredHighlighter:e?.preferredHighlighter,useCSSClasses:e?.useCSSClasses,useTokenTransformer:Vb(e),tokenizeMaxLineLength:e?.tokenizeMaxLineLength,tokenizeMaxLength:e?.tokenizeMaxLength,diffStyle:e?.diffStyle,diffIndicators:e?.diffIndicators,disableBackground:e?.disableBackground,hunkSeparators:typeof e?.hunkSeparators=="function"?"custom":e?.hunkSeparators,expandUnchanged:e?.expandUnchanged,loadDiffFiles:e?.loadDiffFiles,parseDiffOptions:e?.parseDiffOptions,collapsedContextThreshold:e?.collapsedContextThreshold,lineDiffType:e?.lineDiffType,maxLineDiffLength:e?.maxLineDiffLength,expansionLineCount:e?.expansionLineCount,headerRenderMode:e?.renderCustomHeader!=null?"custom":"default"}}function Cr(e){return e.isPartial&&(e.type==="change"||e.type==="rename-changed"||e.type==="rename-pure")}function b2(e){const t={...e};return delete t.cacheKey,t}function ya(e,t){if(e.isPartial||t.isPartial)throw new Error("FileDiff.shouldResetEditorForExternalDiff: diffs must be fully hydrated");const n=e.lang??tt(e.name),i=t.lang??tt(t.name),r=e.type!=="new",s=t.type!=="new";return e.name!==t.name||n!==i||r!==s||e.deletionLines.length!==t.deletionLines.length?!0:e.deletionLines.some((o,a)=>o!==t.deletionLines[a])}function v2(e,t){return e.length===t.length&&e.every((n,i)=>n===t[i])}function y2(e,t){const{oldFile:n}=e;return n==null?t.type==="new":t.type!=="new"&&n.name===(t.prevName??t.name)&&v2(n.lines,t.deletionLines)}let k2=-1;var rc=class{options;workerManager;isContainerManaged;static LoadedCustomComponent=!0;__id=`file-diff:${++k2}`;type="file-diff";fileContainer;spriteSVG;pre;codeUnified;codeDeletions;codeAdditions;bufferBefore;bufferAfter;themeCSSStyle;appliedThemeCSS;hasAdoptedThemeCSS=!1;unsafeCSSStyle;appliedUnsafeCSS;gutterUtilityContent;headerElement;headerPrefix;headerFilenameSuffix;headerMetadata;headerCustom;separatorCache=new Map;errorWrapper;placeHolder;hunksRenderer;resizeManager;scrollSyncManager;interactionManager;annotationCache=new Map;lineAnnotations=[];managersDirty=!1;deletionFile;additionFile;fileDiff;editSession;renderedDiff;renderRange;pendingFiles;appliedPreAttributes;headerCache={lastRenderedHTML:void 0,html:void 0,fileDiff:void 0};lastRowCount;mounted=!1;enabled=!0;editor;refreshViewTimeout;lineStateRefreshPending=!1;deferredSelectedLines;deferredEditorActiveLine;constructor(e={theme:De},t,n=!1){this.options=e,this.workerManager=t,this.isContainerManaged=n,this.hunksRenderer=this.createHunksRenderer(e),this.resizeManager=new cb,this.scrollSyncManager=new Iv,this.interactionManager=new eb("diff",Zo(e,typeof e.hunkSeparators=="function"||(e.hunkSeparators??"line-info")==="line-info"||e.hunkSeparators==="line-info-basic"?this.handleExpandHunk:void 0,this.getLineIndex)),this.workerManager?.subscribeToThemeChanges(this),this.enabled=!0}handleHighlightRender=()=>{this.rerender()};getTheme(){return this.workerManager?.getDiffRenderOptions().theme??this.options.theme??De}getHunksRendererOptions(e){return g2(e)}createHunksRenderer(e){return new a2(this.getHunksRendererOptions(e),this.getAnnotationSlotName,this.handleHighlightRender,this.workerManager)}getLineIndex=(e,t="additions")=>this.getLineIndexForDiff(this.getDiffForLineIndex(),e,t);getDiffForLineIndex(){return this.getRenderedDiff()}getLineIndexForDiff(e,t,n){if(e==null)return;const i=e.hunks.at(-1);let r,s;e:for(const o of e.hunks){const a=n==="deletions"?o.deletionStart:o.additionStart,d=n==="deletions"?o.deletionCount:o.additionCount;let c=_e(a,d)+1,u=o.splitLineStart,h=o.unifiedLineStart;if(t<c){const f=c-t;r=Math.max(h-f,0),s=Math.max(u-f,0);break e}if(t>=c+d){if(o===i){const f=t-(c+d);r=h+o.unifiedLineCount+f,s=u+o.splitLineCount+f;break e}continue}for(const f of o.hunkContent)if(f.type==="context")if(t<c+f.lines){const p=t-c;s=u+p,r=h+p;break e}else c+=f.lines,u+=f.lines,h+=f.lines;else{const p=n==="deletions"?f.deletions:f.additions;if(t<c+p){const m=t-c;r=h+(n==="additions"?f.deletions:0)+m,s=u+m;break e}else c+=p,u+=Math.max(f.deletions,f.additions),h+=f.deletions+f.additions}break e}if(!(r==null||s==null))return[r,s]}setOptions(e){e!=null&&(this.options=e,this.clearReusableHeader(),this.hunksRenderer.setOptions(this.getHunksRendererOptions(e)),this.syncInteractionOptions())}syncInteractionOptions(){this.interactionManager.setOptions(Zo(this.options,typeof this.options.hunkSeparators=="function"||(this.options.hunkSeparators??"line-info")==="line-info"||this.options.hunkSeparators==="line-info-basic"?this.handleExpandHunk:void 0,this.getLineIndex))}mergeOptions(e){this.options={...this.options,...e}}setThemeType(e){(this.options.themeType??"system")!==e&&(this.mergeOptions({themeType:e}),this.applyCachedThemeState(e))}applyCachedThemeState(e){if(typeof this.options.theme=="string"||this.fileContainer==null||this.appliedThemeCSS==null)return!1;const t=this.appliedThemeCSS.baseThemeType??e;return this.appliedThemeCSS.themeType===t?!1:(this.applyThemeState(this.fileContainer,this.appliedThemeCSS.themeStyles,e,this.appliedThemeCSS.baseThemeType),!0)}hasThemeChanged(){return this.appliedThemeCSS!=null&&!Ts(this.appliedThemeCSS.theme,this.getTheme())}getHoveredLine=()=>this.interactionManager.getHoveredLine();getAnnotationSlotName=e=>$b(this.editSession?.annotations,e,wt);getLatestAnnotations(){return this.editSession?.annotations?.current??this.lineAnnotations}isNewAnnotations(e){const t=this.editSession?.annotations;return e===this.lineAnnotations?!1:t==null||e!==t.provided&&e!==t.current}setLineAnnotations(e){const t=this.editSession?.annotations;if(t==null){this.lineAnnotations=e;return}this.isNewAnnotations(e)&&(this.lineAnnotations=e,Hb(t,e,wt))}syncEditSessionAnnotationsFromEditor(e){const t=this.editSession?.annotations;return t==null||e===t.current?!1:(t.current=e,this.hunksRenderer.setLineAnnotations(e),this.renderAnnotations(),!0)}canPartiallyRender(e,t,n){return!(e||t||n||typeof this.options.hunkSeparators=="function")}setSelectedLines(e,t){this.lineStateRefreshPending?this.deferredSelectedLines=[e,t]:this.interactionManager.setSelection(e,t)}setEditorActiveLine(e,t){this.lineStateRefreshPending?this.deferredEditorActiveLine=[e,t]:this.interactionManager.setEditorActiveLine(e,{lineNumberOnly:t?.lineNumberOnly,side:t?.side??"additions"})}flushDeferredLineState(){const{deferredEditorActiveLine:e,deferredSelectedLines:t}=this;this.lineStateRefreshPending=!1,this.deferredEditorActiveLine=void 0,this.deferredSelectedLines=void 0,e!=null&&this.setEditorActiveLine(...e),t!=null&&this.interactionManager.setSelection(...t)}flushManagers(){if(!this.managersDirty||this.pre==null){this.managersDirty=!1;return}const{diffStyle:e="split",overflow:t="scroll"}=this.options;this.interactionManager.setup(this.pre),this.resizeManager.setup(this.pre,{disableAnnotations:t==="wrap",columnVariables:this.shouldApplyColumnVariables(t)?"apply":"measure"}),t==="scroll"&&e==="split"?this.scrollSyncManager.setup(this.pre,this.codeDeletions,this.codeAdditions):this.scrollSyncManager.cleanUp(),this.managersDirty=!1}shouldApplyColumnVariables(e){return typeof this.options.hunkSeparators=="function"?!0:e==="scroll"&&(this.getLatestAnnotations().length>0||this.pre?.hasAttribute("data-has-merge-conflict")===!0)}getCodeScrollLeft(){return Math.max(this.codeUnified?.scrollLeft??0,this.codeDeletions?.scrollLeft??0,this.codeAdditions?.scrollLeft??0)}setCodeScrollLeft(e){this.codeUnified!=null&&(this.codeUnified.scrollLeft=e),this.codeAdditions!=null&&(this.codeAdditions.scrollLeft=e),this.codeDeletions!=null&&(this.codeDeletions.scrollLeft=e)}__getEffectiveCodeOptions(){return{...this.options,...this.hunksRenderer.getEffectiveCodeOptions()}}cleanUp(e=!1){const{editor:t}=this;ns(this.handleEditSessionRender),this.emitPostRender(!0),t?.cleanUp(e?"recycle":"discard"),e||(this.editor=void 0),this.resizeManager.cleanUp(),this.interactionManager.cleanUp(),this.scrollSyncManager.cleanUp(),this.managersDirty=!1,this.workerManager?.unsubscribeToThemeChanges(this),this.renderRange=void 0,e||(this.pendingFiles=void 0),this.isContainerManaged||this.fileContainer?.remove(),this.fileContainer=void 0,this.mounted=!1,e||(this.lineAnnotations=[]),this.clearAuxiliaryNodes(),this.annotationCache.clear(),this.pre=void 0,this.codeUnified=void 0,this.codeDeletions=void 0,this.codeAdditions=void 0,this.bufferBefore?.remove(),this.bufferBefore=void 0,this.bufferAfter?.remove(),this.bufferAfter=void 0,this.appliedPreAttributes=void 0,this.headerElement=void 0,this.headerPrefix=void 0,this.headerFilenameSuffix=void 0,this.headerMetadata=void 0,this.headerCustom=void 0,this.placeHolder?.remove(),this.placeHolder=void 0,this.headerCache.lastRenderedHTML=void 0,e||this.clearReusableHeader(),this.errorWrapper?.remove(),this.errorWrapper=void 0,this.spriteSVG=void 0,this.lastRowCount=void 0,this.themeCSSStyle=void 0,this.appliedThemeCSS=void 0,this.hasAdoptedThemeCSS=!1,this.unsafeCSSStyle=void 0,this.appliedUnsafeCSS=void 0,e?this.hunksRenderer.recycle():(this.hunksRenderer.cleanUp(),this.workerManager=void 0,this.fileDiff=void 0,this.editSession=void 0,this.renderedDiff=void 0,this.deletionFile=void 0,this.additionFile=void 0),this.refreshViewTimeout!=null&&(clearTimeout(this.refreshViewTimeout),this.refreshViewTimeout=void 0),this.lineStateRefreshPending=!1,this.deferredEditorActiveLine=void 0,this.deferredSelectedLines=void 0,this.enabled=!1}virtualizedSetup(){this.enabled=!0,this.workerManager?.subscribeToThemeChanges(this)}hydrate({fileContainer:e,prerenderedHTML:t,preventEmit:n=!1,lineAnnotations:i,fileDiff:r,...s}){if(!this.enabled)throw new Error("FileDiff.hydrate: attempting to call hydrate after cleaned up");if(this.fileContainer!=null)throw new Error("FileDiff.hydrate: hydrate can only be called before the instance has rendered or hydrated");const o=as(s,"FileDiff.hydrate"),a=o?.oldFile,d=o?.newFile;this.hydrateElements(e,t);const c=this.editor!=null;c||w2(this.pre,_2({fileDiff:r,oldFile:a,newFile:d}),this.options.collapsed)||L2(this.headerElement,C2({fileDiff:r,oldFile:a,newFile:d}),this.options.disableFileHeader)?this.render({...s,fileContainer:e,lineAnnotations:i,fileDiff:r,forceRender:c||s.forceRender,preventEmit:!0}):this.hydrationSetup({fileDiff:r,lineAnnotations:i,...o}),n||this.emitPostRender()}hydrateElements(e,t){this.fileContainer!==e&&this.emitPostRender(!0),Ub(e,t);for(const n of e.shadowRoot?.children??[]){if(n instanceof SVGElement){this.spriteSVG=n;continue}if(n instanceof HTMLElement){if(n instanceof HTMLPreElement){this.pre=n;for(const i of n.children)!(i instanceof HTMLElement)||i.tagName.toLowerCase()!=="code"||("deletions"in i.dataset&&(this.codeDeletions=i),"additions"in i.dataset&&(this.codeAdditions=i),"unified"in i.dataset&&(this.codeUnified=i));continue}if("diffsHeader"in n.dataset){this.headerElement=n;continue}if(n instanceof HTMLStyleElement&&n.hasAttribute("data-theme-css")){this.themeCSSStyle=n;continue}if(n instanceof HTMLStyleElement&&n.hasAttribute("data-unsafe-css")){this.unsafeCSSStyle=n,this.appliedUnsafeCSS=n.textContent;continue}}}this.pre!=null&&(this.syncCodeNodesFromPre(this.pre),this.pre.removeAttribute("data-dehydrated")),this.fileContainer=e,this.hydrateMeasuredScrollbar()}hydrationSetup({fileDiff:e,oldFile:t,newFile:n,lineAnnotations:i}){this.lineAnnotations=i??this.lineAnnotations,this.additionFile=n,this.deletionFile=t,this.fileDiff=e??(t!==void 0&&n!==void 0?ft(t,n,this.options.parseDiffOptions):void 0),this.pre!=null&&(this.syncInteractionOptions(),this.hunksRenderer.hydrate(this.fileDiff),this.renderedDiff=this.fileDiff,this.renderAnnotations(),this.renderGutterUtility(),this.injectUnsafeCSS(),this.managersDirty=!0,this.flushManagers())}rerender(){!this.enabled||this.fileDiff==null&&this.additionFile==null&&this.deletionFile==null||this.render({forceRender:!0,renderRange:this.renderRange})}onThemeChange(){this.hunksRenderer.clearRenderCache(),this.rerender()}handleExpandHunk=(e,t,n)=>{this.expandHunk(e,t,n)};expandHunk=(e,t,n)=>{this.loadFilesIfNecessary(),this.hunksRenderer.expandHunk(e,t,n),this.rerender()};loadFilesIfNecessary(){const{fileDiff:e,options:{loadDiffFiles:t}}=this;if(e==null||!Cr(e)||this.pendingFiles?.fileDiff===e)return;if(t==null)throw new Error("FileDiff: loadDiffFiles is required to load full files for a partial diff");const n=this.loadFilesForDiff(e,t),i=this.pendingFiles={fileDiff:e,promise:n},r=()=>{this.pendingFiles===i&&(this.pendingFiles=void 0)};i.promise=n.finally(r)}__canAttachEditor(){return this.fileDiff!=null&&!this.fileDiff.isPartial}async prepareForEditing(){if(this.__canAttachEditor())return;const e=this.__prepareForEditing();if(e==null)throw this.fileDiff?.isPartial===!0&&!Cr(this.fileDiff)?new Error("FileDiff.prepareForEditing: this partial diff cannot be hydrated; provide a complete diff"):new Error("FileDiff.prepareForEditing: a partial diff requires loadDiffFiles");if(await e,!this.__canAttachEditor())throw new Error("FileDiff.prepareForEditing: the diff did not finish loading")}__prepareForEditing(){if(!this.__canAttachEditor()){if(this.fileDiff?.isPartial===!0&&!Cr(this.fileDiff))throw new Error("FileDiff: this partial diff cannot be hydrated; provide a complete diff to edit");return this.loadFilesIfNecessary(),this.pendingFiles?.promise}}async loadFilesForDiff(e,t){try{const n=await t(e);if(this.fileDiff!==e)return;await this.handleFilesLoaded(e,n)}catch(n){if(this.options.disableErrorHandling===!0)throw n;console.error(n)}}async handleFilesLoaded(e,t){if(!(this.fileDiff!==e||!e.isPartial)){if(ls("merge",e,t),this.setHydratedState(t),this.installHydratedSessionDiff(e)){this.rerender();return}await os(()=>this.primeHighlightCache(e)),!(!this.enabled||this.fileDiff!==e)&&this.rerender()}}installHydratedSessionDiff(e){if(e.isPartial)throw new Error("FileDiff.installHydratedSessionDiff: diffs cannot be partial for editing");return this.fileDiff!==e?!1:this.editSession?.outgoingDiff!=null?(this.installEditSession(e),!0):!1}updateExternalDiff(e,t){if(Q(this.fileDiff,e))return!1;const n=this.editSession?.outgoingDiff??this.editSession?.diff;return this.fileDiff=e,n!=null&&(e.isPartial?this.loadFilesIfNecessary():this.installEditSession(e),this.editSession!=null&&(this.editSession.outgoingDiff=n)),this.editSession?.annotations!=null&&t!=null&&(this.lineAnnotations=t,this.editSession.annotations=na(t,wt,this.editSession.annotations)),!0}installEditSession(e,t,n){const i=e.additionLines.join(""),r=t!=null?Ci(t.contents):void 0,s=n!=null&&y2(n,e);if(n!=null&&!s)throw new Error("FileDiff: retained session cannot resume against a different old file");if(t!=null&&t.contents!==i&&!s)throw new Error("FileDiff: retained edits are missing their diff session state");const o=t==null||t.name===e.name&&t.lang===e.lang&&t.contents===i,a=b2(e);t!=null&&r!=null&&!o&&(a.name=t.name,a.lang=t.lang),s&&n!=null&&r!=null&&(a.additionLines=r,a.type=n.type,a.hunks=n.hunks,a.editSessionDirty=!0,Gi(a)),this.editSession={diff:a,annotations:this.editSession?.annotations??na(this.lineAnnotations,wt),outgoingDiff:this.editSession?.outgoingDiff},this.hunksRenderer.beginEditSession(a,o&&!s?e:void 0)}setHydratedState(e){this.deletionFile=e.oldFile,this.additionFile=e.newFile,this.workerManager?.cleanUpTasks(this.hunksRenderer),this.hunksRenderer.clearRenderCache()}render({fileDiff:e,deferManagers:t=!1,forceRender:n=!1,preventEmit:i=!1,lineAnnotations:r,fileContainer:s,containerWrapper:o,renderRange:a,...d}){if(!this.enabled)throw new Error("FileDiff.render: attempting to call render after cleaned up");const c=as(d,"FileDiff.render"),u=c?.oldFile,h=c?.newFile;this.editor?.__postponeBgTokenizeToNextFrame();const{collapsed:f=!1,themeType:p="system",expandUnchanged:m=!1}=this.options,v=f?void 0:a,k=this.hasThemeChanged(),b=c!=null,y=b&&(!ka(u,this.deletionFile)||!ka(h,this.additionFile));let x=e!=null&&!Q(e,this.fileDiff);const C=r!=null&&(r.length>0||this.getLatestAnnotations().length>0)?this.isNewAnnotations(r):!1;if(!f&&Vd(v,this.renderRange)&&!n&&!C&&!k&&(e!=null&&!x||e==null&&!y)){const T=this.applyCachedThemeState(p);return T&&this.finalizeRender(),T}let _;e==null&&b&&(y||this.fileDiff==null)&&(_=ft(c.oldFile,c.newFile,this.options.parseDiffOptions));const{renderRange:w}=this;this.renderRange=v,b?(this.deletionFile=u,this.additionFile=h):e!=null&&(this.deletionFile=void 0,this.additionFile=void 0),e!=null&&x?this.updateExternalDiff(e,r):_!=null&&(x=!0,this.updateExternalDiff(_,r)),x&&this.clearReusableHeader(),r!=null&&this.setLineAnnotations(r);const L=this.getLatestDiff();if(L==null)return!1;L.editSessionDirty===!0&&this.shouldSelfHealEditSession()&&(ha(L,this.options.parseDiffOptions),this.hunksRenderer.refreshHighlightedResult()),m&&this.loadFilesIfNecessary(),this.hunksRenderer.setOptions(this.getHunksRendererOptions(this.options)),this.syncInteractionOptions(),this.hunksRenderer.setLineAnnotations(this.getLatestAnnotations());const{disableErrorHandling:I=!1,disableFileHeader:E=!1}=this.options;if(E&&(this.headerElement!=null&&(this.headerElement.remove(),this.headerElement=void 0,this.headerCache.lastRenderedHTML=void 0),this.clearHeaderSlots()),s=this.getOrCreateFileContainer(s,o),this.applyCachedThemeState(p),f){this.removeRenderedCode(),this.clearAuxiliaryNodes();try{const T=this.hunksRenderer.renderDiff(L,vh);T!=null&&this.applyThemeState(s,T.themeStyles,p,T.baseThemeType),T?.headerElement!=null&&this.applyHeaderToDOM(T.headerElement,s,T.fileDiff),this.renderSeparators([]),this.renderedDiff=T?.fileDiff??L,this.injectUnsafeCSS()}catch(T){if(I)throw T;console.error(T),T instanceof Error&&this.applyErrorToDOM(T,s)}return this.finalizeRender(),i||this.emitPostRender(),!0}try{const T=this.getOrCreatePreNode(s);if(!(this.canPartiallyRender(n,C,y||x||k||!Q(this.renderedDiff,L))&&this.applyPartialRender({fileDiff:L,previousRenderRange:w,renderRange:v}))){const O=this.hunksRenderer.renderDiff(L,v);if(O==null)return this.workerManager?.isInitialized()===!1&&this.workerManager.isWorkingPool()&&this.workerManager.initialize().catch(()=>{}).then(()=>this.rerender()),!1;this.applyThemeState(s,O.themeStyles,p,O.baseThemeType),O.headerElement!=null&&this.applyHeaderToDOM(O.headerElement,s,O.fileDiff),O.additionsContentAST!=null||O.deletionsContentAST!=null||O.unifiedContentAST!=null?this.applyHunksToDOM(T,O):this.pre!=null&&(this.pre.remove(),this.pre=void 0),this.renderSeparators(O.hunkData),this.renderedDiff=O.fileDiff}this.applyBuffers(T,v),this.injectUnsafeCSS(),this.renderAnnotations(),this.renderGutterUtility(),this.managersDirty=!0,t||this.flushManagers(),this.finalizeRender(),this.editor!=null&&this.syncRenderViewToEditor()}catch(T){if(I)throw T;console.error(T),T instanceof Error&&this.applyErrorToDOM(T,s)}return i||this.emitPostRender(),!0}finalizeRender(){}emitPostRender(e=!1){const{fileContainer:t,options:{onPostRender:n}}=this;if(e){if(!this.mounted||(this.mounted=!1,t==null))return;this.options.onPostRender?.(t,this,"unmount");return}if(t==null)return;const i=this.mounted?"update":"mount";this.mounted=!0,n?.(t,this,i)}getLatestDiff(e=this.fileDiff){return this.editSession?.diff??e}getRenderedDiff(){return this.renderedDiff}syncRenderViewToEditor(){const{editor:e,fileContainer:t}=this,n=this.getLatestAnnotations(),i=this.computeEditorRenderRange(this.renderRange),r=this.getLatestDiff();if(e==null||t==null||r==null||r.isPartial)return;const s=c=>{if(!this.enabled||this.editor!==e||this.fileContainer!==t||this.getLatestDiff()!==r)return;const u=this.editSession?.outgoingDiff,{fileDiff:h}=this,f=u!=null&&h!=null&&u!==r,p=f&&u!=null&&h!=null?ya(u,h):!1;e.__syncRenderView({highlighter:c,fileContainer:t,fileDiff:r,lineAnnotations:n,renderRange:i,externalDocument:f,resetHistory:p})},o=this.getTheme(),a=r.lang??tt(r.name),d=Qr({theme:o,lang:a});d!=null?s(d):Ed({themes:xs(o),langs:["text",a],preferredHighlighter:this.workerManager?.getPreferredHighlighter()??this.options.preferredHighlighter}).then(s)}computeEditorRenderRange(e){const t=this.getLatestDiff();if(e==null||t==null||rs(e))return e;const{diffStyle:n="split",expandUnchanged:i=!1,collapsedContextThreshold:r=1}=this.options;let s,o;return Rt({diff:t,diffStyle:n,startingLine:e.startingLine,totalLines:e.totalLines,expandedHunks:i?!0:this.hunksRenderer.getExpandedHunksMap(),collapsedContextThreshold:r,callback:({additionLine:a})=>{a!=null&&(s??=a.lineNumber,o=a.lineNumber)}}),s==null||o==null?{...e,startingLine:0,totalLines:0}:{...e,startingLine:s-1,totalLines:o-s+1}}__acknowledgeDocumentUpdate(){this.editSession!=null&&(this.editSession.outgoingDiff=void 0)}__acceptEditorChange(e){const{lineAnnotations:t}=e;t!=null&&this.syncEditSessionAnnotationsFromEditor(t)}emitEditChange(e){const{onEditChange:t}=this.options;t?.(e)}__captureDocumentSessionState(e=!0){let{fileDiff:t,editSession:{diff:n,outgoingDiff:i}={}}=this;if(i!=null&&t!=null){if(!t.isPartial&&ya(i,t))return;n=i}if(!(n==null||n.isPartial))return{diffSession:{oldFile:n.type!=="new"?{name:n.prevName??n.name,lines:e?[...n.deletionLines]:n.deletionLines}:null,type:n.type,hunks:e?Ud(n.hunks):n.hunks},hasChanges:n.editSessionDirty===!0}}__attachEditor(e){if(this.type!=="file-diff")throw new Error(`FileDiff.__attachEditor: cannot attach an editor to a "${this.type}" diff`);if(this.editor!=null)throw new Error("FileDiff.__attachEditor: an editor is already attached");if(!this.__canAttachEditor())throw new Error("FileDiff.__attachEditor: a complete diff is required before editing");const t=()=>{this.editor=void 0,this.finishEditSession()};try{return this.resumeEditorRendering(e),t}catch(n){throw t(),n}}__resumeEditor(e){if(this.editor!==e)throw new Error("FileDiff.__resumeEditor: editor association changed");this.resumeEditorRendering(e)}resumeEditorRendering(e){const{fileDiff:t}=this,n=this.editSession?.outgoingDiff;n!=null&&t!=null&&!t.isPartial&&this.editSession?.diff===n&&this.installEditSession(t);const i=this.editSession==null&&t!=null&&!t.isPartial?t:void 0;i!=null?this.installEditSession(i,e.__getDocumentContents(x2(i)),e.__getDocumentSessionState()):this.editSession!=null&&this.hunksRenderer.beginEditSession(this.editSession.diff),this.editor=e,this.fileDiff?.isPartial===!0&&this.loadFilesIfNecessary();const r=this.editSession?.diff;this.hunksRenderer.editorRenderReady()?(r!=null&&this.hunksRenderer.diffCache===r&&(this.renderedDiff=r),this.syncRenderViewToEditor()):this.rerender()}finishEditSession(){this.hunksRenderer.endEditSession(),this.finalizeEditSessionHunks()}__completeEditSession(e,t){this.settleEditSession(t==="install",e)}settleEditSession(e,t){const{editSession:n,fileDiff:i,lineAnnotations:r}=this;if(n==null||i==null)return;const{diff:s,annotations:o}=n;if(this.editor!=null)throw new Error("FileDiff.__completeEditSession: detach the editor before completing the session");this.hunksRenderer.endEditSession(),this.finalizeEditSessionHunks();const a=o?.current;let d,c=null,u=null,h=!1,f;if(t==null)throw new Error("FileDiff.__completeEditSession: editor is required for completion");const p=Gd(s),m={name:p.name,contents:p.additionLines.join("")};p.lang!=null&&(m.lang=p.lang);const v={fileDiff:p,editor:t,originalFileDiff:i,oldFile:p.type==="new"?null:{name:p.prevName??p.name,contents:p.deletionLines.join("")},newFile:m,lineAnnotations:a,originalLineAnnotations:r};Object.freeze(v);try{if(t.__emitEditComplete(v),this.options.onEditComplete?.(v)==="accept"){if(p.cacheKey!=null&&p.cacheKey===i.cacheKey)throw new Error("FileDiff.__completeEditSession: an accepted diff must not reuse the replaced diff cacheKey");d=p,c=v.oldFile,u=v.newFile}}catch(k){h=!0,f=k}if(e&&d!=null&&(this.fileDiff=d,this.additionFile!=null&&(this.deletionFile=c,this.additionFile=u),a!=null&&(this.lineAnnotations=a)),this.editSession=void 0,e&&this.fileContainer!=null&&this.rerender(),h)throw f}finalizeEditSessionHunks(){const e=this.getLatestDiff();if(e==null||e.editSessionDirty!==!0)return!1;const{collapsedContextThreshold:t=1}=this.options,n=zv(e,this.hunksRenderer.getExpandedHunksMap(),t);return ha(e,this.options.parseDiffOptions),this.hunksRenderer.setExpandedHunksMap(qv(e,n)),this.hunksRenderer.refreshHighlightedResult(),this.escalateEditSessionRender(),!0}applyDocumentChange(e,t){const n=this.editSession?.diff;if(n==null)throw new Error("FileDiff.applyDocumentChange: requires an active edit session");this.detachAdditionLines(),this.hunksRenderer.beginEditSession(n),this.hunksRenderer.applyDocumentChange(e),t!=null&&this.syncEditSessionAnnotationsFromEditor(t),this.rerender(),this.interactionManager.setSelectionDirty()}applySuspendedDocumentChange(e,t){this.applyDocumentChange(e,t),this.hunksRenderer.clearRenderCache()}updateRenderCache(e,t,n={}){const i=this.editSession?.diff;if(i==null)throw new Error("FileDiff.updateRenderCache: requires an active edit session");this.detachAdditionLines(),this.hunksRenderer.beginEditSession(i);const{shouldRefreshDiffsView:r,lineCountChangeInFlight:s}=n;if(this.hunksRenderer.updateRenderCache(e,t,s,n.changedDocumentLines,n.documentLineCount)){this.refreshViewTimeout!=null&&(clearTimeout(this.refreshViewTimeout),this.refreshViewTimeout=void 0),this.lineStateRefreshPending=!0,this.escalateEditSessionRender();return}r===!0&&(this.refreshViewTimeout!=null&&clearTimeout(this.refreshViewTimeout),this.lineStateRefreshPending=!0,this.refreshViewTimeout=setTimeout(()=>{this.refreshViewTimeout=void 0,this.options.diffStyle==="split"?this.refreshSplitDiffView():this.refreshUnifiedDiffView(),this.flushDeferredLineState()},150))}detachAdditionLines(){const e=this.editSession?.diff,{fileDiff:t}=this;e!=null&&(e.additionLines===t?.additionLines||e.additionLines===e.deletionLines)&&(e.additionLines=[...e.additionLines])}isLineRenderable(e){const t=this.getRenderedDiff();if(t==null)return!0;const{expandUnchanged:n=!1,collapsedContextThreshold:i=1}=this.options;return jd({fileDiff:t,lineNumber:e,expandedHunks:n?!0:this.hunksRenderer.getExpandedHunksMap(),collapsedContextThreshold:i})}getNearestRenderableLine(e,t){const n=this.getRenderedDiff();if(n==null)return e;const{expandUnchanged:i=!1,collapsedContextThreshold:r=1}=this.options;return x0({fileDiff:n,lineNumber:e,direction:t,expandedHunks:i?!0:this.hunksRenderer.getExpandedHunksMap(),collapsedContextThreshold:r})}revealLine(e){const t=this.getRenderedDiff(),{expandUnchanged:n=!1,collapsedContextThreshold:i=1,expansionLineCount:r=100}=this.options;if(t==null||t.isPartial||n)return!1;const s=this.hunksRenderer.getExpandedHunksMap();for(const[c,u]of t.hunks.entries()){const[h,f]=yn(u);if(e<h){const p=nt({isPartial:t.isPartial,rangeSize:u.collapsedBefore,expandedHunks:s,hunkIndex:c,collapsedContextThreshold:i}),m=h-p.rangeSize;if(p.renderAll||e<m+p.fromStart||e>=h-p.fromEnd)return!1;const v=e-(m+p.fromStart)+1,k=h-p.fromEnd-e;return v<=k?this.expandHunk(c,"up",v+r):this.expandHunk(c,"down",k+r),!0}if(e<f)return!1}const o=it({fileDiff:t,hunkIndex:t.hunks.length-1,expandedHunks:s,collapsedContextThreshold:i,errorPrefix:"FileDiff.revealLine"});if(o==null||o.renderAll)return!1;const a=t.hunks[t.hunks.length-1],[,d]=yn(a);return e<d+o.fromStart||e>=d+o.rangeSize?!1:(this.expandHunk(t.hunks.length,"up",e-(d+o.fromStart)+1+r),!0)}shouldSelfHealEditSession(){return this.editor==null}escalateEditSessionRender(){Md(this.handleEditSessionRender)}handleEditSessionRender=()=>{this.rerender(),this.flushDeferredLineState()};removeRenderedCode(){this.resizeManager.cleanUp(),this.scrollSyncManager.cleanUp(),this.interactionManager.cleanUp(),this.bufferBefore?.remove(),this.bufferBefore=void 0,this.bufferAfter?.remove(),this.bufferAfter=void 0,this.codeUnified?.remove(),this.codeUnified=void 0,this.codeDeletions?.remove(),this.codeDeletions=void 0,this.codeAdditions?.remove(),this.codeAdditions=void 0,this.pre?.remove(),this.pre=void 0,this.appliedPreAttributes=void 0,this.lastRowCount=void 0}clearAuxiliaryNodes(){for(const{element:e}of this.separatorCache.values())e.remove();this.separatorCache.clear();for(const{element:e}of this.annotationCache.values())e.remove();this.annotationCache.clear(),this.gutterUtilityContent?.remove(),this.gutterUtilityContent=void 0}renderPlaceholder(e){if(this.fileContainer==null)return!1;if(this.emitPostRender(!0),this.cleanChildNodes(),this.placeHolder==null){const t=this.fileContainer.shadowRoot??this.fileContainer.attachShadow({mode:"open"});this.placeHolder=document.createElement("div"),this.placeHolder.dataset.placeholder="",t.appendChild(this.placeHolder)}return this.setPlaceholderHeight(e)}setPlaceholderHeight(e){return this.placeHolder==null?!1:(this.placeHolder.style.setProperty("height",`${e}px`),!0)}async primeHighlightCache(e=this.fileDiff){const{workerManager:t}=this;if(e==null||t==null||!t.isWorkingPool()||e.cacheKey==null||sn(e))return;const n=this.options.tokenizeMaxLength??1e5;Math.max(e.additionLines.length,e.deletionLines.length)>n||await t.primeDiffHighlightCache(e).catch(i=>{b0(i)||console.error(i)})}cleanChildNodes(){this.resizeManager.cleanUp(),this.scrollSyncManager.cleanUp(),this.interactionManager.cleanUp(),this.clearAuxiliaryNodes(),this.bufferAfter?.remove(),this.bufferBefore?.remove(),this.codeAdditions?.remove(),this.codeDeletions?.remove(),this.codeUnified?.remove(),this.errorWrapper?.remove(),this.headerElement?.remove(),this.headerPrefix?.remove(),this.headerFilenameSuffix?.remove(),this.headerMetadata?.remove(),this.headerCustom?.remove(),this.pre?.remove(),this.spriteSVG?.remove(),this.themeCSSStyle?.remove(),this.unsafeCSSStyle?.remove(),this.bufferAfter=void 0,this.bufferBefore=void 0,this.codeAdditions=void 0,this.codeDeletions=void 0,this.codeUnified=void 0,this.errorWrapper=void 0,this.headerElement=void 0,this.headerPrefix=void 0,this.headerFilenameSuffix=void 0,this.headerMetadata=void 0,this.headerCustom=void 0,this.pre=void 0,this.spriteSVG=void 0,this.themeCSSStyle=void 0,this.appliedThemeCSS=void 0,this.hasAdoptedThemeCSS=!1,this.unsafeCSSStyle=void 0,this.appliedUnsafeCSS=void 0,this.headerCache.lastRenderedHTML=void 0,this.lastRowCount=void 0,this.mounted=!1}renderSeparators(e){const{hunkSeparators:t}=this.options;if(this.isContainerManaged||this.fileContainer==null||typeof t!="function"){for(const{element:i}of this.separatorCache.values())i.remove();this.separatorCache.clear();return}const n=new Map(this.separatorCache);for(const i of e){const r=i.slotName;let s=this.separatorCache.get(r);if(s==null||!m2(i,s.hunkData)){s?.element.remove();const o=document.createElement("div");o.style.display="contents",o.slot=i.slotName;const a=t(i,this);a!=null&&o.appendChild(a),this.fileContainer.appendChild(o),s={element:o,hunkData:i},this.separatorCache.set(r,s)}n.delete(r)}for(const[i,{element:r}]of n.entries())this.separatorCache.delete(i),r.remove()}renderAnnotations(){if(this.isContainerManaged||this.fileContainer==null){for(const{element:i}of this.annotationCache.values())i.remove();this.annotationCache.clear();return}const e=new Map(this.annotationCache),{renderAnnotation:t}=this.options,n=this.getLatestAnnotations();if(t!=null&&n.length>0)for(const[i,r]of n.entries()){const s=this.getAnnotationSlotName(r),o=`${i}-${s}`;let a=this.annotationCache.get(o);if(a==null||!p2(r,a.annotation)){a?.element.remove();const d=t(r);if(d==null)continue;a={element:Ab(s),annotation:r},a.element.appendChild(d),this.fileContainer.appendChild(a.element),this.annotationCache.set(o,a)}e.delete(o)}for(const[i,{element:r}]of e.entries())this.annotationCache.delete(i),r.remove()}renderGutterUtility(){const{renderGutterUtility:e}=this.options;if(this.fileContainer==null||e==null){this.gutterUtilityContent?.remove(),this.gutterUtilityContent=void 0;return}const t=e(this.interactionManager.getHoveredLine);if(t!=null&&this.gutterUtilityContent!=null)return;if(t==null){this.gutterUtilityContent?.remove(),this.gutterUtilityContent=void 0;return}const n=Ib();n.appendChild(t),this.fileContainer.appendChild(n),this.gutterUtilityContent=n}getOrCreateFileContainer(e,t){const{fileContainer:n}=this,i=e??n??document.createElement("diffs-container"),r=n!==i;return n!=null&&r&&this.editor?.__captureFocusForDOMReplacement(),r&&this.emitPostRender(!0),this.fileContainer=i,n!=null&&r&&(this.headerCache.lastRenderedHTML=void 0,this.headerElement=void 0),t!=null&&this.fileContainer.parentNode!==t&&t.appendChild(this.fileContainer),r&&this.adoptReusableShellElements(this.fileContainer),this.ensureSpriteSVG(this.fileContainer),this.fileContainer}adoptReusableShellElements(e){const{shadowRoot:t}=e;if(t!=null)for(const n of t.children)n instanceof SVGElement?this.spriteSVG??=n:zo(n)&&n.hasAttribute("data-theme-css")?(this.themeCSSStyle??=n,this.hasAdoptedThemeCSS=!0):zo(n)&&n.hasAttribute("data-unsafe-css")&&(this.unsafeCSSStyle??=n,this.appliedUnsafeCSS??=this.options.unsafeCSS??void 0)}ensureSpriteSVG(e){const t=e.shadowRoot??e.attachShadow({mode:"open"});if(this.spriteSVG==null){const n=document.createElement("div");n.innerHTML=Sb;const i=n.firstChild;i instanceof SVGElement&&(this.spriteSVG=i)}this.spriteSVG!=null&&this.spriteSVG.parentNode!==t&&t.appendChild(this.spriteSVG)}getOrCreatePreNode(e){const t=e.shadowRoot??e.attachShadow({mode:"open"});return this.pre==null?(this.pre=document.createElement("pre"),this.appliedPreAttributes=void 0,this.codeUnified=void 0,this.codeDeletions=void 0,this.codeAdditions=void 0,t.appendChild(this.pre)):this.pre.parentNode!==t&&(this.editor?.__captureFocusForDOMReplacement(),t.appendChild(this.pre),this.appliedPreAttributes=void 0),this.placeHolder?.remove(),this.placeHolder=void 0,this.pre}syncCodeNodesFromPre(e){this.codeUnified=void 0,this.codeDeletions=void 0,this.codeAdditions=void 0;for(const t of Array.from(e.children))t instanceof HTMLElement&&(t.hasAttribute("data-unified")?this.codeUnified=t:t.hasAttribute("data-deletions")?this.codeDeletions=t:t.hasAttribute("data-additions")&&(this.codeAdditions=t))}applyHeaderToDOM(e,t,n){this.cleanupErrorWrapper(),this.placeHolder?.remove(),this.placeHolder=void 0;const{headerCache:{fileDiff:i,html:r,lastRenderedHTML:s}}=this,o=(n!==this.editSession?.diff&&Q(i,n)?r:void 0)??Je(e);if(this.headerCache.html=o,this.headerCache.fileDiff=n,o!==s){const m=document.createElement("div");m.innerHTML=o;const v=m.firstElementChild;if(!(v instanceof HTMLElement))return;this.headerElement!=null?t.shadowRoot?.replaceChild(v,this.headerElement):t.shadowRoot?.prepend(v),this.headerElement=v,this.headerCache.lastRenderedHTML=o}if(this.isContainerManaged)return;const{renderCustomHeader:a,renderHeaderPrefix:d,renderHeaderFilenameSuffix:c,renderHeaderMetadata:u}=this.options;if(a!=null){const m=a(n)??void 0;this.headerCustom=this.upsertHeaderSlotElement(t,this.headerCustom,ks,m),this.headerPrefix?.remove(),this.headerFilenameSuffix?.remove(),this.headerMetadata?.remove(),this.headerPrefix=void 0,this.headerFilenameSuffix=void 0,this.headerMetadata=void 0;return}const h=d?.(n)??void 0,f=c?.(n)??void 0,p=u?.(n)??void 0;this.headerPrefix=this.upsertHeaderSlotElement(t,this.headerPrefix,ol,h),this.headerFilenameSuffix=this.upsertHeaderSlotElement(t,this.headerFilenameSuffix,al,f),this.headerMetadata=this.upsertHeaderSlotElement(t,this.headerMetadata,ll,p),this.headerCustom?.remove(),this.headerCustom=void 0}clearReusableHeader(){this.headerCache.html=void 0,this.headerCache.fileDiff=void 0}clearHeaderSlots(){this.headerPrefix?.remove(),this.headerFilenameSuffix?.remove(),this.headerMetadata?.remove(),this.headerCustom?.remove(),this.headerPrefix=void 0,this.headerFilenameSuffix=void 0,this.headerMetadata=void 0,this.headerCustom=void 0}upsertHeaderSlotElement(e,t,n,i){if(i==null){t?.remove();return}const r=t??this.createHeaderSlotElement(n);return t==null&&e.appendChild(r),this.replaceHeaderSlotContent(r,i),r}replaceHeaderSlotContent(e,t){e.replaceChildren(),t instanceof Element?e.appendChild(t):e.innerText=`${t}`}createHeaderSlotElement(e){const t=document.createElement("div");return t.slot=e,t}injectUnsafeCSS(){const{unsafeCSS:e}=this.options,t=this.fileContainer?.shadowRoot;if(t!=null){if(e==null||e===""){this.unsafeCSSStyle!=null&&(this.unsafeCSSStyle.remove(),this.unsafeCSSStyle=void 0),this.appliedUnsafeCSS=void 0;return}this.unsafeCSSStyle?.parentNode===t&&this.appliedUnsafeCSS===e||(this.unsafeCSSStyle??=Tb(),this.unsafeCSSStyle.parentNode!==t&&t.appendChild(this.unsafeCSSStyle),this.unsafeCSSStyle.textContent=Pb(e),this.appliedUnsafeCSS=e)}}applyThemeState(e,t,n,i){const r=e.shadowRoot??e.attachShadow({mode:"open"}),s=i??n,o=this.getTheme(),a=typeof o=="string"?o:{...o},d=ss(r);if(this.themeCSSStyle?.parentNode===r&&this.appliedThemeCSS?.themeStyles===t&&this.appliedThemeCSS.themeType===s&&this.appliedThemeCSS.scrollbarGutter===d){this.appliedThemeCSS.theme=a;return}if(this.hasAdoptedThemeCSS&&this.themeCSSStyle?.parentNode===r){this.hasAdoptedThemeCSS=!1,this.appliedThemeCSS={theme:a,themeStyles:t,themeType:s,baseThemeType:i,scrollbarGutter:d};return}this.themeCSSStyle=Bb({shadowRoot:r,currentNode:this.themeCSSStyle,themeCSS:Db(t,s,d)}),this.appliedThemeCSS=this.themeCSSStyle!=null?{theme:a,themeStyles:t,themeType:s,baseThemeType:i,scrollbarGutter:d}:void 0}hydrateMeasuredScrollbar(){const e=this.fileContainer?.shadowRoot;e==null||this.themeCSSStyle==null||(this.themeCSSStyle.textContent=Mb(this.themeCSSStyle.textContent??"",ss(e)))}shouldGuardRebuildScroll(){return this.editor!=null&&Z0()}applyHunksToDOM(e,t){this.shouldGuardRebuildScroll()?ia(e,()=>this.replaceCodeColumns(e,t)):this.replaceCodeColumns(e,t)}applyCodeColumnsInPlace(e,t,n){const i=this.getColumnPair(e);if(i==null)return!1;const r=lt(t[0]),s=lt(t[1]);return r==null||s==null?!1:(i.gutter.innerHTML=Je(r),i.content.innerHTML=Je(s),n!==this.lastRowCount&&(i.gutter.style.setProperty("grid-row",`span ${n}`),i.content.style.setProperty("grid-row",`span ${n}`)),!0)}replaceCodeColumns(e,t){const{overflow:n="scroll"}=this.options,i=(this.options.hunkSeparators??"line-info")==="line-info",r=n==="wrap"?t.rowCount:void 0;this.cleanupErrorWrapper(),this.applyPreNodeAttributes(e,t);let s=!1;const o=[],a=this.hunksRenderer.renderCodeAST("unified",t),d=this.hunksRenderer.renderCodeAST("deletions",t),c=this.hunksRenderer.renderCodeAST("additions",t);this.editor?.__captureFocusForDOMReplacement(),a!=null?(s=this.codeUnified==null||this.codeAdditions!=null||this.codeDeletions!=null,this.codeDeletions?.remove(),this.codeDeletions=void 0,this.codeAdditions?.remove(),this.codeAdditions=void 0,this.codeUnified=br({code:this.codeUnified,columnType:"unified",rowSpan:r,containerSize:i}),this.applyCodeColumnsInPlace(this.codeUnified,a,t.rowCount)||(this.codeUnified.innerHTML=this.hunksRenderer.renderPartialHTML(a)),o.push(this.codeUnified)):d!=null||c!=null?(d!=null?(s=this.codeDeletions==null||this.codeUnified!=null,this.codeUnified?.remove(),this.codeUnified=void 0,this.codeDeletions=br({code:this.codeDeletions,columnType:"deletions",rowSpan:r,containerSize:i}),this.applyCodeColumnsInPlace(this.codeDeletions,d,t.rowCount)||(this.codeDeletions.innerHTML=this.hunksRenderer.renderPartialHTML(d)),o.push(this.codeDeletions)):(this.codeDeletions?.remove(),this.codeDeletions=void 0),c!=null?(s=s||this.codeAdditions==null||this.codeUnified!=null,this.codeUnified?.remove(),this.codeUnified=void 0,this.codeAdditions=br({code:this.codeAdditions,columnType:"additions",rowSpan:r,containerSize:i}),this.applyCodeColumnsInPlace(this.codeAdditions,c,t.rowCount)||(this.codeAdditions.innerHTML=this.hunksRenderer.renderPartialHTML(c)),o.push(this.codeAdditions)):(this.codeAdditions?.remove(),this.codeAdditions=void 0)):(this.codeUnified?.remove(),this.codeUnified=void 0,this.codeDeletions?.remove(),this.codeDeletions=void 0,this.codeAdditions?.remove(),this.codeAdditions=void 0),o.length===0?e.textContent="":s&&e.replaceChildren(...o),this.lastRowCount=t.rowCount}applyPartialRender({fileDiff:e,previousRenderRange:t,renderRange:n}){const{pre:i,codeUnified:r,codeAdditions:s,codeDeletions:o,options:{diffStyle:a="split"}}=this;if(i==null||t==null||n==null||!Number.isFinite(t.totalLines)||!Number.isFinite(n.totalLines)||this.lastRowCount==null)return!1;const d=this.getCodeColumns(a,r,o,s);if(d==null)return!1;const c=t.startingLine,u=n.startingLine,h=c+t.totalLines,f=u+n.totalLines,p=Math.max(c,u),m=Math.min(h,f);if(m<=p)return!1;const v=Math.max(0,p-c),k=Math.max(0,h-m),b=this.trimColumns({columns:d,trimStart:v,trimEnd:k,previousStart:c,overlapStart:p,overlapEnd:m,diffStyle:a});if(b<0)throw new Error("FileDiff.applyPartialRender: failed to trim to overlap");if(this.lastRowCount<b)throw new Error("FileDiff.applyPartialRender: trimmed beyond DOM row count");let y=this.lastRowCount-b;const x=(L,I)=>{if(!(I<=0))return this.hunksRenderer.renderDiff(e,{startingLine:L,totalLines:I,bufferBefore:0,bufferAfter:0})},C=x(u,Math.max(p-u,0));if(C==null&&u<p)return!1;const _=x(m,Math.max(f-m,0));if(_==null&&f>m)return!1;const w=(L,I)=>{if(L!=null){if(a==="unified"&&!Array.isArray(d))this.insertPartialHTML(a,d,L,I);else if(a==="split"&&Array.isArray(d))this.insertPartialHTML(a,d,L,I);else throw new Error("FileDiff.applyPartialRender.applyChunk: invalid chunk application");y+=L.rowCount,this.renderedDiff=L.fileDiff}};return this.cleanupErrorWrapper(),w(C,"afterbegin"),w(_,"beforeend"),this.lastRowCount!==y&&(this.applyRowSpan(a,d,y),this.lastRowCount=y),!0}insertPartialHTML(e,t,n,i){if(e==="unified"&&!Array.isArray(t)){const r=this.hunksRenderer.renderCodeAST("unified",n);this.renderPartialColumn(t,r,i)}else if(e==="split"&&Array.isArray(t)){const r=this.hunksRenderer.renderCodeAST("deletions",n),s=this.hunksRenderer.renderCodeAST("additions",n);this.renderPartialColumn(t[0],r,i),this.renderPartialColumn(t[1],s,i)}else throw new Error("FileDiff.insertPartialHTML: Invalid argument composition")}refreshSplitDiffView(){const e=this.getLatestDiff();if(this.options.diffStyle!=="split"||e==null)return;const t=this.hunksRenderer.renderDiff(e,this.renderRange);if(t==null)return;const n=this.getCodeColumns("split",this.codeUnified,this.codeDeletions,this.codeAdditions);if(!Array.isArray(n))return;const i=(r,s)=>{if(s==null)return;const o=this.hunksRenderer.renderCodeAST(r,t),a=lt(o?.[0]),d=lt(o?.[1]);for(const[c,u]of[[s.gutter,a],[s.content,d]])if(u!=null&&c.childElementCount===u.length)for(let h=0;h<u.length;h++){const f=c.children[h],p=u[h].properties["data-line-type"];p!=null&&f.dataset.lineType!==p&&(f.dataset.lineType=p)}};i("deletions",n[0]),i("additions",n[1]),this.renderedDiff=t.fileDiff}refreshUnifiedDiffView(){const e=this.getLatestDiff();if(this.options.diffStyle!=="unified"||e==null)return;const t=this.hunksRenderer.renderDiff(e,this.renderRange);if(t==null)return;const n=this.getCodeColumns("unified",this.codeUnified,this.codeDeletions,this.codeAdditions);if(n==null||Array.isArray(n))return;const i=this.hunksRenderer.renderCodeAST("unified",t),r=lt(i?.[0]),s=lt(i?.[1]),o=()=>{for(const[a,d]of[[n.gutter,r],[n.content,s]])d!=null&&(a.innerHTML=Je(d));t.rowCount!==this.lastRowCount&&(this.applyRowSpan("unified",n,t.rowCount),this.lastRowCount=t.rowCount),this.renderedDiff=t.fileDiff};this.shouldGuardRebuildScroll()?ia(this.pre,o):o(),this.renderSeparators(t.hunkData),this.managersDirty=!0,this.flushManagers(),this.syncRenderViewToEditor()}renderPartialColumn(e,t,n){if(e==null||t==null)return;const i=lt(t[0]),r=lt(t[1]);if(i==null||r==null)throw new Error("FileDiff.insertPartialHTML: Unexpected AST structure");const s=r.at(0);n==="beforeend"&&s?.type==="element"&&typeof s.properties["data-buffer-size"]=="number"&&this.mergeBuffersIfNecessary(s.properties["data-buffer-size"],e.content.children[e.content.children.length-1],e.gutter.children[e.gutter.children.length-1],i,r,!0);const o=r.at(-1);n==="afterbegin"&&o?.type==="element"&&typeof o.properties["data-buffer-size"]=="number"&&this.mergeBuffersIfNecessary(o.properties["data-buffer-size"],e.content.children[0],e.gutter.children[0],i,r,!1),e.gutter.insertAdjacentHTML(n,this.hunksRenderer.renderPartialHTML(i)),e.content.insertAdjacentHTML(n,this.hunksRenderer.renderPartialHTML(r))}mergeBuffersIfNecessary(e,t,n,i,r,s){if(!(t instanceof HTMLElement)||!(n instanceof HTMLElement))return;const o=this.getBufferSize(t.dataset);o!=null&&(s?(i.shift(),r.shift()):(i.pop(),r.pop()),this.updateBufferSize(t,o+e),this.updateBufferSize(n,o+e))}applyRowSpan(e,t,n){const i=r=>{r!=null&&(r.gutter.style.setProperty("grid-row",`span ${n}`),r.content.style.setProperty("grid-row",`span ${n}`))};if(e==="unified"&&!Array.isArray(t))i(t);else if(e==="split"&&Array.isArray(t))i(t[0]),i(t[1]);else throw new Error("dun fuuuuked up")}trimColumnRows(e,t,n){let i=0,r=0,s=0,o=!1;const a=n>=0;if(e==null)return 0;const d=Array.from(e.content.children),c=Array.from(e.gutter.children);if(d.length!==c.length)throw new Error("FileDiff.trimColumnRows: columns do not match");for(;s<d.length&&!(t<=0&&!a&&!o);){const u=c[s],h=d[s];if(s++,!(u instanceof HTMLElement)||!(h instanceof HTMLElement))throw console.error({gutterElement:u,contentElement:h}),new Error("FileDiff.trimColumnRows: invalid row elements");if(o&&(o=!1,u.dataset.gutterBuffer==="annotation"&&"lineAnnotation"in h.dataset||u.dataset.gutterBuffer==="metadata"&&"noNewline"in h.dataset)){u.remove(),h.remove(),r++;continue}if("lineIndex"in u.dataset&&"lineIndex"in h.dataset){(t>0||a&&i>=n)&&(u.remove(),h.remove(),t>0&&(t--,t===0&&(o=!0)),r++),i++;continue}if("separator"in u.dataset&&"separator"in h.dataset){(t>0||a&&i>=n)&&(u.remove(),h.remove(),r++);continue}if(u.dataset.gutterBuffer==="annotation"&&"lineAnnotation"in h.dataset){(t>0||a&&i>=n)&&(u.remove(),h.remove(),r++);continue}if(u.dataset.gutterBuffer==="metadata"&&"noNewline"in h.dataset){(t>0||a&&i>=n)&&(u.remove(),h.remove(),r++);continue}if(u.dataset.gutterBuffer==="buffer"&&"contentBuffer"in h.dataset){const f=this.getBufferSize(h.dataset);if(f==null)throw new Error("FileDiff.trimColumnRows: invalid element");if(t>0){const p=Math.min(t,f),m=f-p;m>0?(this.updateBufferSize(u,m),this.updateBufferSize(h,m),r+=p):(u.remove(),h.remove(),r+=f),t-=p,t===0&&m===0&&(o=!0)}else if(a){const p=i,m=i+f-1;if(n<=p)u.remove(),h.remove(),r+=f;else if(n<=m){const v=m-n+1,k=f-v;this.updateBufferSize(u,k),this.updateBufferSize(h,k),r+=v}}i+=f;continue}throw console.error({gutterElement:u,contentElement:h}),new Error("FileDiff.trimColumnRows: unknown row elements")}return r}trimColumns({columns:e,diffStyle:t,overlapEnd:n,overlapStart:i,previousStart:r,trimEnd:s,trimStart:o}){const a=Math.max(0,i-r),d=n-r;if(d<0)throw new Error("FileDiff.trimColumns: overlap ends before previous");const c=o>0,u=s>0;if(!c&&!u)return 0;const h=c?a:0,f=u?d:-1;if(t==="unified"&&!Array.isArray(e))return this.trimColumnRows(e,h,f);if(t==="split"&&Array.isArray(e)){const p=this.trimColumnRows(e[0],h,f),m=this.trimColumnRows(e[1],h,f);if(e[0]!=null&&e[1]!=null&&p!==m)throw new Error("FileDiff.trimColumns: split columns out of sync");return e[0]!=null?p:m}else throw console.error({diffStyle:t,columns:e}),new Error("FileDiff.trimColumns: Invalid columns for diffType")}getBufferSize(e){const t=Number.parseInt(e?.bufferSize??"",10);return Number.isNaN(t)?void 0:t}updateBufferSize(e,t){e.dataset.bufferSize=`${t}`,e.style.setProperty("grid-row",`span ${t}`),e.style.setProperty("min-height",`calc(${t} * 1lh)`)}getColumnPair(e){if(e==null)return;const t=e.children[0],n=e.children[1];if(!(!(t instanceof HTMLElement)||!(n instanceof HTMLElement)||t.dataset.gutter==null||n.dataset.content==null))return{gutter:t,content:n}}getCodeColumns(e,t,n,i){if(e==="unified")return this.getColumnPair(t);{const r=this.getColumnPair(n),s=this.getColumnPair(i);return r!=null||s!=null?[r,s]:void 0}}updateBuffers(e){this.pre!=null&&this.applyBuffers(this.pre,e)}applyBuffers(e,t){if(t==null||this.shouldDisableVirtualizationBuffers()){this.bufferBefore!=null&&(this.bufferBefore.remove(),this.bufferBefore=void 0),this.bufferAfter!=null&&(this.bufferAfter.remove(),this.bufferAfter=void 0);return}t.bufferBefore>0?(this.bufferBefore==null&&(this.bufferBefore=document.createElement("div"),this.bufferBefore.dataset.virtualizerBuffer="before",e.before(this.bufferBefore)),this.bufferBefore.style.setProperty("height",`${t.bufferBefore}px`),this.bufferBefore.style.setProperty("contain","strict")):this.bufferBefore!=null&&(this.bufferBefore.remove(),this.bufferBefore=void 0),t.bufferAfter>0?(this.bufferAfter==null&&(this.bufferAfter=document.createElement("div"),this.bufferAfter.dataset.virtualizerBuffer="after",e.after(this.bufferAfter)),this.bufferAfter.style.setProperty("height",`${t.bufferAfter}px`),this.bufferAfter.style.setProperty("contain","strict")):this.bufferAfter!=null&&(this.bufferAfter.remove(),this.bufferAfter=void 0)}shouldDisableVirtualizationBuffers(){return this.options.disableVirtualizationBuffers??!1}applyPreNodeAttributes(e,{additionsContentAST:t,deletionsContentAST:n,totalLines:i},r){const{diffIndicators:s="bars",disableBackground:o=!1,disableLineNumbers:a=!1,overflow:d="scroll",diffStyle:c="split"}=this.options,u={type:"diff",diffIndicators:s,disableBackground:o,disableLineNumbers:a,overflow:d,split:c==="unified"?!1:t!=null&&n!=null,totalLines:i,customProperties:r};Eb(u,this.appliedPreAttributes)||(Gb(e,u),this.appliedPreAttributes=u)}applyErrorToDOM(e,t){this.cleanupErrorWrapper(),this.pre?.remove(),this.pre=void 0,this.appliedPreAttributes=void 0;const n=t.shadowRoot??t.attachShadow({mode:"open"});this.errorWrapper??=document.createElement("div"),this.errorWrapper.dataset.errorWrapper="",this.errorWrapper.textContent="",n.appendChild(this.errorWrapper);const i=document.createElement("div");i.dataset.errorMessage="",i.innerText=e.message,this.errorWrapper.appendChild(i);const r=document.createElement("pre");r.dataset.errorStack="",r.innerText=e.stack??"No Error Stack",this.errorWrapper.appendChild(r)}cleanupErrorWrapper(){this.errorWrapper?.remove(),this.errorWrapper=void 0}};function x2(e){return{name:e.name,lang:e.lang,contents:e.additionLines.join("")}}function ka(e,t){return e==null||t==null?e==null&&t==null:Ad(e,t)}function _2({fileDiff:e,oldFile:t,newFile:n}){return e!=null&&e.hunks.length>0||t!=null||n!=null}function C2({fileDiff:e,oldFile:t,newFile:n}){return e!=null||t!=null||n!=null}function w2(e,t,n=!1){return!n&&e==null&&t}function L2(e,t,n=!1){return e==null&&t&&!n}function lt(e){if(!(e==null||e.type!=="element"))return e.children??[]}const fs=3e3,Jn=new Map;let S2=-1;var E2=class extends rc{__id=`little-virtualized-file-diff:${++S2}`;renderType="virtualized";top;height=0;metrics;cache={heightDeltas:new Map,measuredHeightDeltaTotal:0,estimatedSplitHeight:void 0,estimatedUnifiedHeight:void 0,checkpoints:[],totalLines:0,fileAnnotationHeight:0,ghostTextRows:Jn,ghostTextRowsByIndex:new Map};isVisible=!1;isSetup=!1;virtualizer;layoutDirty=!0;forceRenderOverride;currentCollapsed;pendingHydratedDiff;pendingExpansions;pendingRender;constructor(e,t,n,i,r=!1){super(e,i,r),this.virtualizer=t,this.metrics=mr(n)}setMetrics(e,t=!1){const n=mr(e);!t&&ts(this.metrics,n)||(this.metrics=n,this.resetLayoutCache({includeEstimatedHeights:!0}))}setLineAnnotations(e){this.syncLineAnnotations(e)&&(this.forceRenderOverride=!0)}syncLineAnnotations(e){return e==null||!this.isNewAnnotations(e)||e.length===0&&this.getLatestAnnotations().length===0?!1:(super.setLineAnnotations(e),!0)}syncEditSessionAnnotationsFromEditor(e){return super.syncEditSessionAnnotationsFromEditor(e)?(this.forceRenderOverride=!0,!0):!1}setFileAnnotationHeight(e){const t=this.cache.fileAnnotationHeight;return e===t?!1:(this.cache.fileAnnotationHeight=e,this.cache.measuredHeightDeltaTotal+=e-t,!0)}hasFileAnnotations(e){const t=this.getLatestAnnotations();return J0(t)?t.some(n=>n.lineNumber!==0?!1:e.type==="new"?n.side==="additions":e.type==="deleted"?n.side==="deletions":!0):!1}getLineHeight(e,t=!1){return this.getEstimatedLineHeight(t)+(this.cache.heightDeltas.get(e)??0)}getEstimatedLineHeight(e=!1){const t=e?2:1;return this.metrics.lineHeight*t}setOptions(e){if(this.isAdvancedMode())throw new Error("VirtualizedFileDiff.setOptions cannot be used inside CodeView. Update CodeView options instead.");if(e==null)return;const{options:t}=this,n=!Dd(t,e),i=n&&N2(t,e);super.setOptions(e),i&&this.resetLayoutCache({forceSimpleRecompute:!0,includeEstimatedHeights:P2(t,e)}),n&&(this.forceRenderOverride=!0),n&&this.isSimpleMode()&&this.virtualizer.instanceChanged(this,i)}setThemeType(e){if(this.isAdvancedMode())throw new Error("VirtualizedFileDiff.setThemeType cannot be used inside CodeView. Update CodeView options instead.");super.setThemeType(e)}resetLayoutCache({forceSimpleRecompute:e=!1,includeEstimatedHeights:t=!1,resetRenderRange:n=!0}={}){this.layoutDirty=!0,this.cache.fileAnnotationHeight=0,this.cache.heightDeltas.clear(),this.cache.measuredHeightDeltaTotal=0,this.cache.ghostTextRows=Jn,this.cache.ghostTextRowsByIndex.size>0&&this.cache.ghostTextRowsByIndex.clear(),this.invalidateDerivedLayoutCache(t,n),e&&this.isSimpleMode()&&this.computeApproximateSize()}invalidateDerivedLayoutCache(e,t=!0){this.layoutDirty=!0,this.cache.checkpoints.length>0&&(this.cache.checkpoints.length=0),this.cache.totalLines!==0&&(this.cache.totalLines=0),e&&(this.cache.estimatedSplitHeight=void 0,this.cache.estimatedUnifiedHeight=void 0),this.renderRange!=null&&t&&(this.renderRange=void 0)}applyGhostTextRows(e,t){const{cache:{heightDeltas:n,ghostTextRows:i,ghostTextRowsByIndex:r},metrics:{lineHeight:s}}=this;if(i===t)return!1;const o=this.getDiffStyle(),a=new Map;for(const[c,u]of t){const h=this.getLineIndexForDiff(e,c+1,"additions");h!=null&&a.set(o==="split"?h[1]:h[0],u)}let d=!1;for(const c of new Set([...r.keys(),...a.keys()])){const u=((a.get(c)??0)-(r.get(c)??0))*s;if(u===0)continue;const h=(n.get(c)??0)+u;h===0?n.delete(c):n.set(c,h),this.cache.measuredHeightDeltaTotal+=u,d=!0}return this.cache.ghostTextRows=t,this.cache.ghostTextRowsByIndex=a,d}reconcileHeights(){let e=!1;const{options:{overflow:t="scroll"},metrics:{lineHeight:n}}=this,i=this.placeHolder!=null?this.getLayoutDiff():this.getRenderedDiff();if(this.fileContainer==null||i==null)return this.height!==0&&(e=!0),this.height=0,e;this.top=this.getVirtualizedTop(),e=this.applyGhostTextRows(i,this.editor?.__getGhostTextRows()??Jn);const{ghostTextRowsByIndex:r}=this.cache,s=t!=="scroll"||this.getLatestAnnotations().length>0||this.isResizeDebuggingEnabled();if(this.placeHolder!=null||!s&&this.cache.heightDeltas.size===0&&this.cache.fileAnnotationHeight===0)return e&&(this.computeApproximateSize(!0),this.setPlaceholderHeight(this.height)),e;const o=this.getDiffStyle(),a=o==="split"?[this.codeDeletions,this.codeAdditions]:[this.codeUnified];if(this.renderRange!=null&&Fd(this.renderRange)){const d=R2(a)??0;this.setFileAnnotationHeight(d)&&(e=!0)}for(const d of a){if(d==null)continue;const c=d.children[1];if(!(c instanceof HTMLElement))continue;const u=o==="split"&&d===this.codeDeletions;for(const h of c.children){if(!(h instanceof HTMLElement))continue;const f=h.dataset.lineIndex;if(f==null)continue;const p=M2(f,o),m=r.get(p)??0;if(u&&m>0)continue;const v=this.cache.heightDeltas.get(p)??0;if(!s&&v===m*n)continue;let k=h.getBoundingClientRect().height+m*n,b=!1;h.nextElementSibling instanceof HTMLElement&&("lineAnnotation"in h.nextElementSibling.dataset||"noNewline"in h.nextElementSibling.dataset)&&("noNewline"in h.nextElementSibling.dataset&&(b=!0),k+=h.nextElementSibling.getBoundingClientRect().height);const y=this.getEstimatedLineHeight(b),x=k-y;x!==v&&(e=!0,this.cache.measuredHeightDeltaTotal+=x-v,x===0?this.cache.heightDeltas.delete(p):this.cache.heightDeltas.set(p,x))}}return(e||this.isResizeDebuggingEnabled())&&this.computeApproximateSize(!0),e}onRender=e=>this.fileContainer==null?!1:(e&&(this.top=this.getVirtualizedTop()),this.render());flushManagers(){super.flushManagers(),this.lineStateRefreshPending&&this.flushDeferredLineState()}updateCodeViewLayout(e,t,n,i){let r=!1,s=!1;const{pendingExpansions:o,pendingHydratedDiff:a,options:{collapsed:d=!1}}=this;if(a!=null&&(this.pendingHydratedDiff=void 0,a.expectedDiff===e&&(Object.assign(e,a.nextDiff),this.setHydratedState(a.files),this.installHydratedSessionDiff(e),this.forceRenderOverride=!0,r=!0,s=!0)),o!=null){this.pendingExpansions=void 0;for(const{hunkIndex:m,direction:v,expansionLineCountOverride:k}of o)this.hunksRenderer.expandHunk(m,v,k),this.forceRenderOverride=!0,s=!0}const c=this.updateExternalDiff(e,i),{pendingRenderDiff:u,layoutDiffChanged:h,renderedDiffChanged:f,annotationsChanged:p}=this.updatePendingRender(e,i);return!this.forceRenderOverride&&(c||f||p)&&(this.forceRenderOverride=!0),(n?.resetDiffLayoutCache===!0||h)&&(r=!0),(h||n?.resetDiffLayoutCache===!0&&n.includeEstimatedDiffHeights)&&(s=!0),n?.metrics!=null&&(this.metrics=mr(n.metrics),r=!0,s=!0),this.currentCollapsed!==d&&(this.currentCollapsed=d,r=!0),r?this.resetLayoutCache({includeEstimatedHeights:s}):s&&this.invalidateDerivedLayoutCache(!0),this.top=t,this.computeApproximateSize(!1,u),this.height}getLinePosition(e,t="additions"){const n=this.getLayoutDiff();if(n==null||e<1)return;const i=this.getLineIndexForDiff(n,e,t);if(i==null)return;const{disableFileHeader:r=!1,expandUnchanged:s=!1,collapsed:o=!1,collapsedContextThreshold:a=1}=this.options,d=this.getDiffStyle(),c=this.getHunkSeparatorType(),u=d==="split"?i[1]:i[0];this.approximateLayoutCheckpoints(n);const h=on(this.metrics,r),f=this.getLayoutCheckpointBeforeLineIndex(u);let p=f?.top??h+this.cache.fileAnnotationHeight;if(o)return{top:Yr(this.metrics,r),height:0};let m;return Rt({diff:n,diffStyle:d,startingLine:f?.renderedLineIndex??0,expandedHunks:s?!0:this.hunksRenderer.getExpandedHunksMap(),collapsedContextThreshold:a,callback:({hunkIndex:v,hunk:k,collapsedBefore:b,collapsedAfter:y,deletionLine:x,additionLine:C})=>{const _=d==="split"?C?.splitLineIndex??x?.splitLineIndex:C?.unifiedLineIndex??x?.unifiedLineIndex;if(_==null)throw new Error("VirtualizedFileDiff.getLinePosition: missing line index data");if(b>0){const L=an({type:c,metrics:this.metrics,hunkIndex:v,hunkSpecs:k?.hunkSpecs});if(L!=null){if(p+=L.gapBefore,u>=_-b&&u<_)return m={top:p,height:L.height},!0;p+=L.height+L.gapAfter}}const w=this.getLineHeight(_,(C?.noEOFCR??!1)||(x?.noEOFCR??!1));if(_===u)return m={top:p,height:w},!0;if(p+=w,y>0){const L=_t({type:c,metrics:this.metrics});if(L!=null){if(u>_&&u<=_+y)return m={top:p+L.gapBefore,height:L.height},!0;p+=L.totalHeight}}return!1}}),m}getEditorViewport(){return this.virtualizer.type==="simple"?this.virtualizer.getRoot():this.virtualizer.getContainerElement()}getNumericScrollAnchor(e){const t=this.getLayoutDiff();if(t==null)return;const{disableFileHeader:n=!1,expandUnchanged:i=!1,collapsed:r=!1,collapsedContextThreshold:s=1}=this.options;if(r)return;const o=this.getDiffStyle(),a=this.getHunkSeparatorType();this.approximateLayoutCheckpoints(t);const d=this.getLayoutCheckpointBeforeTop(e);let c=d?.top??on(this.metrics,n)+this.cache.fileAnnotationHeight,u;return Rt({diff:t,diffStyle:o,startingLine:d?.renderedLineIndex??0,expandedHunks:i?!0:this.hunksRenderer.getExpandedHunksMap(),collapsedContextThreshold:s,callback:({hunkIndex:h,hunk:f,collapsedBefore:p,collapsedAfter:m,deletionLine:v,additionLine:k})=>{const b=o==="split"?k?.splitLineIndex??v?.splitLineIndex:k?.unifiedLineIndex??v?.unifiedLineIndex;if(b==null)throw new Error("VirtualizedFileDiff.getNumericScrollAnchor: missing line index data");if(p>0){const x=an({type:a,metrics:this.metrics,hunkIndex:h,hunkSpecs:f?.hunkSpecs});x!=null&&(c+=x.totalHeight)}if(c>=e&&(v!=null?u={lineNumber:v.lineNumber,side:"deletions",top:c}:k!=null&&(u={lineNumber:k.lineNumber,side:"additions",top:c}),u!=null))return!0;const y=this.getLineHeight(b,(k?.noEOFCR??!1)||(v?.noEOFCR??!1));if(c+=y,m>0){const x=_t({type:a,metrics:this.metrics});x!=null&&(c+=x.totalHeight)}return!1}}),u}getVirtualizedHeight(){return this.height}getAdvancedStickySpecs(e){const t=this.getLayoutDiff();if(this.top==null||t==null)return;if(this.options.collapsed===!0)return{topOffset:this.top,height:this.height};const n=e!=null?this.computeRenderRangeFromWindow(t,this.top,e):this.renderRange;if(n==null)return;const{bufferBefore:i,bufferAfter:r,totalLines:s}=n;let o=0;if(s===0){const a=e??this.virtualizer.getWindowSpecs();this.top<a.top&&(o=r)}return{topOffset:this.top+i+o,height:this.height-(i+r)}}cleanUp(e=!1){const t=this.cache.ghostTextRows.size>0;t&&(this.layoutDirty=!0);const n=e&&this.isAdvancedMode()&&this.fileContainer!=null&&(t||!Q(this.getRenderedDiff(),this.getLatestDiff()));this.fileContainer!=null&&this.isSimpleMode()&&this.getSimpleVirtualizer()?.disconnect(this.fileContainer),e||(this.resetLayoutCache({includeEstimatedHeights:!0}),this.pendingExpansions=void 0,this.pendingHydratedDiff=void 0),this.pendingRender=void 0,this.isSetup=!1,super.cleanUp(e),n&&this.virtualizer.instanceChanged(this,!0)}expandHunk=(e,t,n)=>{this.fileDiff!=null&&(this.loadFilesIfNecessary(),this.isAdvancedMode()?(this.pendingExpansions??=[],this.pendingExpansions.push({hunkIndex:e,direction:t,expansionLineCountOverride:n})):(this.hunksRenderer.expandHunk(e,t,n),this.resetLayoutCache({includeEstimatedHeights:!0}),this.computeApproximateSize()),this.forceRenderOverride=!0,this.virtualizer.instanceChanged(this,!0))};async handleFilesLoaded(e,t){if(!(this.fileDiff!==e||!e.isPartial)){if(this.isAdvancedMode()){const n=ls("clone",e,t);if(await os(()=>this.primeHighlightCache(n)),this.fileDiff!==e)return;this.pendingHydratedDiff={expectedDiff:e,nextDiff:n,files:t}}else{if(ls("merge",e,t),this.setHydratedState(t),!this.installHydratedSessionDiff(e)&&(await os(()=>this.primeHighlightCache(e)),this.fileDiff!==e))return;this.resetLayoutCache({includeEstimatedHeights:!0}),this.computeApproximateSize()}this.forceRenderOverride=!0,this.virtualizer.instanceChanged(this,!0)}}loadFilesIfNecessary(){if(this.pendingHydratedDiff!=null){if(this.pendingHydratedDiff.expectedDiff===this.fileDiff)return;this.pendingHydratedDiff=void 0}super.loadFilesIfNecessary()}isLineRenderable(e){if(super.isLineRenderable(e))return!0;const{pendingExpansions:t}=this,n=this.getRenderedDiff();if(t==null||t.length===0||n==null)return!1;const{expansionLineCount:i=100,collapsedContextThreshold:r=1}=this.options,s=new Map(this.hunksRenderer.getExpandedHunksMap());for(const o of t){const a={...s.get(o.hunkIndex)??{fromStart:0,fromEnd:0}},d=o.expansionLineCountOverride??i;(o.direction==="up"||o.direction==="both")&&(a.fromStart+=d),(o.direction==="down"||o.direction==="both")&&(a.fromEnd+=d),s.set(o.hunkIndex,a)}return jd({fileDiff:n,lineNumber:e,expandedHunks:s,collapsedContextThreshold:r})}invalidateEditSessionLayout(){this.getSimpleVirtualizer()?.markDOMDirty(),this.resetLayoutCache({forceSimpleRecompute:this.isSimpleMode(),includeEstimatedHeights:!0,resetRenderRange:!1}),this.isSimpleMode()||this.computeApproximateSize(!0),this.getSimpleVirtualizer()?.requestHeightReconcile(this)}escalateEditSessionRender(){this.invalidateEditSessionLayout(),!(!this.enabled||this.fileDiff==null)&&(this.forceRenderOverride=!0,this.virtualizer.instanceChanged(this,!0))}shouldSelfHealEditSession(){return!this.isAdvancedMode()&&super.shouldSelfHealEditSession()}setVisibility(e){this.isAdvancedMode()||this.fileContainer==null||(this.renderRange=void 0,e&&!this.isVisible?(this.top=this.getVirtualizedTop(),this.isVisible=!0):!e&&this.isVisible&&(this.isVisible=!1,this.rerender()))}rerender(){if(!this.enabled||this.fileDiff==null&&this.additionFile==null&&this.deletionFile==null)return;const e=this.getLatestDiff(),t=e==null?void 0:this.hunksRenderer.getDiffForNextRender(e);this.isSimpleMode()&&(this.pendingRender=void 0),this.forceRenderOverride=!0,this.virtualizer.instanceChanged(this,!Q(this.getRenderedDiff(),t))}syncGhostTextRows(){const e=this.getAdvancedVirtualizer();e!=null?(e.capturePendingLayoutAnchor(),this.layoutDirty=!0,e.instanceChanged(this,!0)):this.getSimpleVirtualizer()?.requestHeightReconcile(this)}applyDocumentChange(e,t,n=!1){const{renderRange:i}=this;this.getAdvancedVirtualizer()?.capturePendingLayoutAnchor(),super.applyDocumentChange(e,t),this.getSimpleVirtualizer()?.markDOMDirty(),this.resetLayoutCache({forceSimpleRecompute:this.isSimpleMode(),includeEstimatedHeights:!0,resetRenderRange:!1});const r=this.getRenderedDiff();if(!this.isSimpleMode())this.computeApproximateSize(!0);else if(n&&i!=null&&r!=null){const s=this.virtualizer.getWindowSpecs(),o=this.computeRenderRangeFromWindow(r,this.top??0,s);o.bufferAfter!==i.bufferAfter&&this.updateBuffers(o)}this.forceRenderOverride=!0,this.virtualizer.instanceChanged(this,!0)}computeApproximateSize(e=!1,t=this.getLayoutDiff()){const n=this.isResizeDebuggingEnabled();if(!e&&!this.layoutDirty&&!n)return;const i=this.height===0;if(this.height=0,this.cache.checkpoints=[],this.cache.totalLines=0,t==null){this.layoutDirty=!1;return}this.applyGhostTextRows(t,this.editor?.__getGhostTextRows()??Jn);const{disableFileHeader:r=!1,collapsed:s=!1}=this.options;if(s){this.height+=Yr(this.metrics,r),this.layoutDirty=!1;return}this.height=this.getActiveEstimatedHeight(t)+this.cache.measuredHeightDeltaTotal,n&&!i&&this.validateComputedHeight(t),this.layoutDirty=!1}getLayoutDiff(){return this.pendingRender?.diff??this.getRenderedDiff()}getActiveEstimatedHeight(e=this.getLayoutDiff()){this.ensureEstimatedDiffHeights(e);const t=this.getDiffStyle()==="split"?this.cache.estimatedSplitHeight:this.cache.estimatedUnifiedHeight;if(t==null)throw new Error("VirtualizedFileDiff.getActiveEstimatedHeight: missing estimated height");return t}ensureEstimatedDiffHeights(e=this.getLayoutDiff()){if(e==null){this.cache.estimatedSplitHeight=void 0,this.cache.estimatedUnifiedHeight=void 0;return}if(this.cache.estimatedSplitHeight!=null&&this.cache.estimatedUnifiedHeight!=null)return;const{disableFileHeader:t=!1,expandUnchanged:n=!1,collapsedContextThreshold:i=1}=this.options,{splitHeight:r,unifiedHeight:s}=zb({fileDiff:e,metrics:this.metrics,disableFileHeader:t,hunkSeparators:this.getHunkSeparatorType(),expandUnchanged:n,expandedHunks:this.hunksRenderer.getExpandedHunksMap(),collapsedContextThreshold:i,canHydratePartialDiff:wr(e,this.options.loadDiffFiles!=null)});this.cache.estimatedSplitHeight=r,this.cache.estimatedUnifiedHeight=s}validateComputedHeight(e=this.getLayoutDiff()){if(this.fileContainer==null||e==null)return;const t=this.fileContainer.getBoundingClientRect();t.height!==this.height?console.log("VirtualizedFileDiff.computeApproximateSize: computed height doesnt match",{name:e.name,elementHeight:t.height,computedHeight:this.height}):console.log("VirtualizedFileDiff.computeApproximateSize: computed height IS CORRECT")}render({fileContainer:e,fileDiff:t,forceRender:n=!1,lineAnnotations:i,...r}={}){const s=as(r,"VirtualizedFileDiff.render"),o=s!=null,a=s?.oldFile,d=s?.newFile,c=o&&(!Ca(a,this.deletionFile)||!Ca(d,this.additionFile));let u=t??this.fileDiff;t==null&&o&&(c||this.fileDiff==null)&&(u=ft(s.oldFile,s.newFile,this.options.parseDiffOptions));const{forceRenderOverride:h,isSetup:f}=this;this.forceRenderOverride=void 0;const p=u!=null&&!Q(this.fileDiff,u),m=p||c;if(e=this.getOrCreateFileContainer(e),u==null)return console.error("VirtualizedFileDiff.render: attempting to virtually render when we dont have the correct data"),!1;p&&this.updateExternalDiff(u,i);const{pendingRenderDiff:v,layoutDiffChanged:k,renderedDiffChanged:b,annotationsChanged:y}=this.pendingRender!=null&&this.pendingRender.latestDiff===(this.getLatestDiff(u)??u)?{pendingRenderDiff:this.pendingRender.diff,layoutDiffChanged:!1,renderedDiffChanged:!1,annotationsChanged:this.syncLineAnnotations(i)}:this.updatePendingRender(u,i);if(k&&this.resetLayoutCache({includeEstimatedHeights:!0}),f)this.top??=this.getVirtualizedTop(),this.layoutDirty&&this.isSimpleMode()&&(this.getSimpleVirtualizer()?.markDOMDirty(),this.computeApproximateSize(!1,v));else{this.computeApproximateSize(!1,v);const w=this.getSimpleVirtualizer();if(this.top??=this.getVirtualizedTop(),this.isAdvancedMode())this.isVisible=!0;else{if(w==null)throw new Error("VirtualizedFileDiff.render: simple virtualizer is not available");w.connect(e,this),this.isVisible=w.isInstanceVisible(this.top??0,this.height)}this.isSetup=!0}if(!this.isVisible&&this.isSimpleMode()&&(!m||!f))return s!=null&&(this.deletionFile=a,this.additionFile=d),p&&this.clearReusableHeader(),this.renderPlaceholder(this.height);const x=this.virtualizer.getWindowSpecs(),C=this.top??0,_=this.computeRenderRangeFromWindow(v,C,x);return super.render({fileDiff:u,fileContainer:e,renderRange:_,lineAnnotations:i,forceRender:(h??n)||y||b||p,...s,...r})}finalizeRender(){if(!Q(this.getRenderedDiff(),this.pendingRender?.diff))throw new Error("VirtualizedFileDiff.render: rendered a different diff than its prepared layout");this.pendingRender=void 0,this.isSimpleMode()&&this.getSimpleVirtualizer()?.requestHeightReconcile(this)}updatePendingRender(e,t){const n=this.getLatestDiff(e)??e,i=this.getRenderedDiff(),{pendingRender:r}=this,s=r?.diff??i,o=this.hunksRenderer.getDiffForNextRender(n);return this.pendingRender={latestDiff:n,diff:o},{pendingRenderDiff:o,annotationsChanged:this.syncLineAnnotations(t),layoutDiffChanged:!Q(s,o),renderedDiffChanged:!Q(i,o)}}syncVirtualizedTop(){this.top=this.getVirtualizedTop()}shouldDisableVirtualizationBuffers(){return this.isAdvancedMode()||super.shouldDisableVirtualizationBuffers()}shouldGuardRebuildScroll(){return!1}isSimpleMode(){return this.virtualizer.type==="simple"}isAdvancedMode(){return this.virtualizer.type==="advanced"}getVirtualizedTop(){return this.virtualizer.type==="advanced"?this.virtualizer.getLocalTopForInstance(this):this.fileContainer!=null?this.virtualizer.getOffsetInScrollContainer(this.fileContainer):0}getSimpleVirtualizer(){return this.virtualizer.type==="simple"?this.virtualizer:void 0}getAdvancedVirtualizer(){return this.virtualizer.type==="advanced"?this.virtualizer:void 0}isResizeDebuggingEnabled(){return this.getSimpleVirtualizer()?.config.resizeDebugging??!1}getDiffStyle(){return this.options.diffStyle??"split"}getHunkSeparatorType(){return D2(this.options.hunkSeparators)}approximateLayoutCheckpoints(e){if(!this.layoutDirty&&this.cache.checkpoints.length>0||e.hunks.length===0||this.options.collapsed===!0)return;const{disableFileHeader:t=!1,expandUnchanged:n=!1,collapsedContextThreshold:i=1}=this.options,r=e.hunks.length-1,s=wr(e,this.options.loadDiffFiles!=null),o=this.getDiffStyle(),a=this.getHunkSeparatorType(),d=n?!0:this.hunksRenderer.getExpandedHunksMap(),c=A2(this.cache.heightDeltas);let u=on(this.metrics,t)+this.cache.fileAnnotationHeight,h=0;const f=({rowCount:p,startLineIndex:m,preSeparatorHeight:v=0,postSeparatorHeight:k=0,metadataOffsets:b=[]})=>{if(p<=0)return;const y=h,x=h+p;let C=I2(y);for(;C<x;){const _=C-y,w=u+(_>0?v:0)+_*this.metrics.lineHeight+T2(b,_)*this.metrics.lineHeight+xa(c,m,m+_);this.cache.checkpoints.push({renderedLineIndex:C,lineIndex:m+_,top:w}),C+=fs}u+=v+p*this.metrics.lineHeight+b.length*this.metrics.lineHeight+xa(c,m,m+p)+k,h=x};for(let p=0;p<e.hunks.length;p++){const m=e.hunks[p];if(m==null)throw new Error("VirtualizedFileDiff.approximateLayoutCheckpoints: invalid hunk index");const v=nt({isPartial:e.isPartial,rangeSize:m.collapsedBefore,expandedHunks:d,hunkIndex:p,collapsedContextThreshold:i}),k=v.collapsedLines>0?an({type:a,metrics:this.metrics,hunkIndex:p,hunkSpecs:m.hunkSpecs})?.totalHeight??0:0;f({rowCount:v.fromStart,startLineIndex:(o==="split"?m.splitLineStart:m.unifiedLineStart)-v.rangeSize});let b=k;f({rowCount:v.fromEnd,startLineIndex:(o==="split"?m.splitLineStart:m.unifiedLineStart)-v.fromEnd,preSeparatorHeight:b}),v.fromEnd>0&&(b=0);const y=p===r?it({fileDiff:e,hunkIndex:p,expandedHunks:d,collapsedContextThreshold:i,errorPrefix:"VirtualizedFileDiff"}):void 0,x=y!=null&&y.collapsedLines>0?_t({type:a,metrics:this.metrics})?.totalHeight??0:p===r&&s?_t({type:a,metrics:this.metrics})?.totalHeight??0:0,C=y!=null?y.fromStart+y.fromEnd:0,_=o==="split"?m.splitLineCount:m.unifiedLineCount,w=o==="split"?m.splitLineStart:m.unifiedLineStart;f({rowCount:_,startLineIndex:w,preSeparatorHeight:b,postSeparatorHeight:C===0?x:0,metadataOffsets:j2({diffStyle:o,hunk:m,rowCount:_})}),y!=null&&C>0&&f({rowCount:C,startLineIndex:w+_,postSeparatorHeight:x})}this.cache.totalLines=h}getLayoutCheckpointBeforeLineIndex(e){if(e<=0||this.cache.checkpoints.length===0)return;let t=0,n=this.cache.checkpoints.length-1,i;for(;t<=n;){const r=t+n>>1,s=this.cache.checkpoints[r];if(s==null)throw new Error("VirtualizedFileDiff: invalid checkpoint index");s.lineIndex<=e?(i=s,t=r+1):n=r-1}return i}getLayoutCheckpointBeforeTop(e,t){let n=0,i=this.cache.checkpoints.length-1,r=-1;for(;n<=i;){const s=n+i>>1,o=this.cache.checkpoints[s];if(o==null)throw new Error("VirtualizedFileDiff: invalid checkpoint index");o.top<=e?(r=s,n=s+1):i=s-1}if(t==null)return r>=0?this.cache.checkpoints[r]:void 0;for(let s=r;s>=0;s--){const o=this.cache.checkpoints[s];if(o==null)throw new Error("VirtualizedFileDiff: invalid checkpoint index");if(o.renderedLineIndex%t===0)return o}}getExpandedLineCount(e,t){let n=0;if(e.isPartial){for(const a of e.hunks)n+=t==="split"?a.splitLineCount:a.unifiedLineCount;return n}const{expandUnchanged:i=!1,collapsedContextThreshold:r=1}=this.options,s=i?!0:this.hunksRenderer.getExpandedHunksMap();for(const[a,d]of e.hunks.entries()){const c=t==="split"?d.splitLineCount:d.unifiedLineCount;n+=c;const u=Math.max(d.collapsedBefore,0),{fromStart:h,fromEnd:f,renderAll:p}=nt({isPartial:e.isPartial,rangeSize:u,expandedHunks:s,hunkIndex:a,collapsedContextThreshold:r});u>0&&(n+=p?u:h+f)}const o=it({fileDiff:e,hunkIndex:e.hunks.length-1,expandedHunks:s,collapsedContextThreshold:r,errorPrefix:"VirtualizedFileDiff"});return o!=null&&(n+=o.fromStart+o.fromEnd),n}getLayoutLineCount(e,t){const n=this.getExpandedLineCount(e,t),i=t==="split"?e.splitLineCount:e.unifiedLineCount;return Math.max(n,i,e.additionLines.length,e.deletionLines.length,this.cache.totalLines)}computeRenderRangeFromWindow(e,t,{top:n,bottom:i}){const{disableFileHeader:r=!1,expandUnchanged:s=!1,collapsedContextThreshold:o=1}=this.options,{hunkLineCount:a,lineHeight:d}=this.metrics,c=this.getDiffStyle(),u=this.getHunkSeparatorType(),h=wr(e,this.options.loadDiffFiles!=null),f=this.height;let p=this.getLayoutLineCount(e,c);const m=on(this.metrics,r),v=e.hunks.length>0?Id(this.metrics):0,{fileAnnotationHeight:k}=this.cache,b=m+k,y=Math.max(0,f-m-k-v),x=this.hasFileAnnotations(e),C=t+m,_=k>0&&x&&C<i&&C+k>n;if(t<n-f||t>i)return{startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:f-m-v};if(p<=a||e.hunks.length===0)return{startingLine:0,totalLines:a,bufferBefore:0,bufferAfter:0};this.approximateLayoutCheckpoints(e),p=this.getLayoutLineCount(e,c);const w=Math.ceil(Math.max(i-n,0)/d),L=Math.ceil(w/a)*a+a,I=L/a,E=I,T=[],O=(n+i)/2,R=this.getLayoutCheckpointBeforeTop(Math.max(0,n-t-L*d*2),a);let j=t+(R?.top??b),F=R?.renderedLineIndex??0,G,D,B;if(Rt({diff:e,diffStyle:c,startingLine:R?.renderedLineIndex??0,expandedHunks:s?!0:this.hunksRenderer.getExpandedHunksMap(),collapsedContextThreshold:o,callback:({hunkIndex:Xt,hunk:$e,collapsedBefore:qi,collapsedAfter:Ki,deletionLine:gt,additionLine:Ve})=>{const Y=Ve!=null?Ve.splitLineIndex:gt.splitLineIndex,he=Ve!=null?Ve.unifiedLineIndex:gt.unifiedLineIndex,ge=(Ve?.noEOFCR??!1)||(gt?.noEOFCR??!1),bt=Xt===e.hunks.length-1&&$e!=null&&(c==="split"?Y===$e.splitLineStart+$e.splitLineCount-1:he===$e.unifiedLineStart+$e.unifiedLineCount-1),Ce=(qi>0?an({type:u,metrics:this.metrics,hunkIndex:Xt,hunkSpecs:$e?.hunkSpecs}):void 0)?.totalHeight??0;j+=Ce;const we=F%a===0,ot=Math.floor(F/a);if(we&&(T[ot]=j-(t+b+Ce),B!=null)){if(B<=0)return!0;B--}const fe=this.getLineHeight(c==="split"?Y:he,ge);if(j>n-fe&&j<i&&(G??=ot),D==null&&j+fe>O&&(D=ot),B==null&&j>=i&&we&&(B=E),F++,j+=fe,Ki>0||bt&&h){const In=_t({type:u,metrics:this.metrics});In!=null&&(j<i&&j+In.totalHeight>n&&(G??=ot),D==null&&j+In.totalHeight>O&&(D=ot),j+=In.totalHeight)}return!1}}),G==null)if(_)G=0,D=0;else return{startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:f-m-v};D??=G;const q=Math.round(D-I/2),$=Math.max(0,Math.ceil(p/a)-I),U=Math.max(0,Math.min(q,$)),Z=U*a,J=q<0?L+q*a:L,de=T[U]??0,me=Z===0?0:k+de,Ae=U+J/a,st=Ae<T.length?y-T[Ae]:y-(j-t-b);return{startingLine:Z,totalLines:J,bufferBefore:me,bufferAfter:Math.max(0,st)}}};function R2(e){let t;for(const n of e){if(n==null)continue;const i=n.children[1];if(i instanceof HTMLElement)for(const r of i.children)r instanceof HTMLElement&&r.dataset.lineAnnotation===X0&&(t=Math.max(t??0,r.getBoundingClientRect().height))}return t}function A2(e){const t=Array.from(e).sort((s,o)=>s[0]-o[0]),n=[],i=[0];let r=0;for(const[s,o]of t)n.push(s),r+=o,i.push(r);return{lineIndexes:n,prefixTotals:i}}function xa({lineIndexes:e,prefixTotals:t},n,i){if(n>=i||e.length===0)return 0;const r=_a(e,n);return(t[_a(e,i)]??0)-(t[r]??0)}function _a(e,t){let n=0,i=e.length;for(;n<i;){const r=n+i>>1,s=e[r];if(s==null)throw new Error("VirtualizedFileDiff: invalid prefix index");s<t?n=r+1:i=r}return n}function I2(e){return Math.ceil(e/fs)*fs}function T2(e,t){let n=0;for(const i of e)i<t&&n++;return n}function j2({diffStyle:e,hunk:t,rowCount:n}){if(n<=0||!t.noEOFCRAdditions&&!t.noEOFCRDeletions)return[];const i=t.hunkContent.at(-1);if(i==null)return[];if(i.type==="context")return[n-1];const r=Math.max(i.deletions,i.additions),s=i.deletions+i.additions;if(e==="split")return r>0&&(t.noEOFCRAdditions||t.noEOFCRDeletions)?[n-1]:[];const o=[],a=n-s;return i.deletions>0&&t.noEOFCRDeletions&&o.push(a+i.deletions-1),i.additions>0&&t.noEOFCRAdditions&&o.push(n-1),o}function N2(e,t){return(e.diffStyle??"split")!==(t.diffStyle??"split")||(e.overflow??"scroll")!==(t.overflow??"scroll")||(e.collapsed??!1)!==(t.collapsed??!1)||(e.disableLineNumbers??!1)!==(t.disableLineNumbers??!1)||(e.disableFileHeader??!1)!==(t.disableFileHeader??!1)||(e.diffIndicators??"bars")!==(t.diffIndicators??"bars")||(e.hunkSeparators??"line-info")!==(t.hunkSeparators??"line-info")||!!e.loadDiffFiles!=!!t.loadDiffFiles||(e.expandUnchanged??!1)!==(t.expandUnchanged??!1)||(e.collapsedContextThreshold??1)!==(t.collapsedContextThreshold??1)||e.unsafeCSS!==t.unsafeCSS}function P2(e,t){return(e.disableFileHeader??!1)!==(t.disableFileHeader??!1)||(e.hunkSeparators??"line-info")!==(t.hunkSeparators??"line-info")||!!e.loadDiffFiles!=!!t.loadDiffFiles||(e.expandUnchanged??!1)!==(t.expandUnchanged??!1)||(e.collapsedContextThreshold??1)!==(t.collapsedContextThreshold??1)}function wr(e,t){return e.isPartial&&t&&(e.type==="change"||e.type==="rename-changed")}function D2(e){return typeof e=="function"?"custom":e??"line-info"}function Ca(e,t){return e==null||t==null?e==null&&t==null:Ad(e,t)}function M2(e,t){const[n,i]=e.split(",").map(Number);return t==="split"?i:n}function O2(e,t){return typeof window>"u"&&t!=null?l.jsxs(l.Fragment,{children:[l.jsx("template",{shadowrootmode:"open",dangerouslySetInnerHTML:{__html:t}}),e]}):l.jsx(l.Fragment,{children:e})}const F2=A.createContext(void 0);function H2(){return A.useContext(F2)}const $2=typeof window>"u"?A.useEffect:A.useLayoutEffect;function V2({fileDiff:e,oldFile:t,newFile:n,options:i,editorOptions:r,editStateKey:s,lineAnnotations:o,selectedLines:a,prerenderedHTML:d,metrics:c,hasGutterRenderUtility:u,hasCustomHeader:h,disableWorkerPool:f,edit:p,onEditChange:m,onEditComplete:v}){const k=H2(),b=a!==void 0,y=A.useContext(q0),x=sh(),[C,_]=A.useState(),w=Tn($=>m?.($)),L=m!=null?w:void 0,I=A.useRef(null),E=Tn($=>{const U=v?.($)??"reject";return U==="accept"&&(I.current={fileDiff:{installed:$.fileDiff,stale:$.originalFileDiff},filePair:e==null?{fileDiff:$.fileDiff,installed:{oldFile:$.oldFile,newFile:$.newFile},stale:{oldFile:t??null,newFile:n??null}}:null,annotations:{installed:$.lineAnnotations,stale:$.originalLineAnnotations}}),U}),T=v!=null?E:void 0,O=B2({acceptedCache:I,fileDiff:e,newFile:n,oldFile:t,parseDiffOptions:i?.parseDiffOptions}),R=A.useRef(null),j=A.useRef(null),F=A.useRef(null),G=Tn(()=>{if(x==null)throw new Error("FileDiff: EditContext is not attached");return x("file-diff",r??{},s)}),D=Tn($=>{if($!=null){if(R.current!=null)throw new Error("useFileDiffInstance: An instance should not already exist when a node is created");k!=null?R.current=new E2(Lr({controlledSelection:b,hasCustomHeader:h,hasGutterRenderUtility:u,onEditChange:L,onEditComplete:T,options:i}),k,c,f?void 0:y,!0):R.current=new rc(Lr({controlledSelection:b,hasCustomHeader:h,hasGutterRenderUtility:u,onEditChange:L,onEditComplete:T,options:i}),f?void 0:y,!0),R.current.hydrate({fileDiff:O,fileContainer:$,lineAnnotations:o,prerenderedHTML:d})}else{if(R.current==null)throw new Error("useFileDiffInstance: A FileDiff instance should exist when unmounting");F.current=null,R.current.cleanUp(),R.current=null,j.current=null}});$2(()=>{const{current:$}=R;if($==null)return;const U=Lr({controlledSelection:b,hasCustomHeader:h,hasGutterRenderUtility:u,onEditChange:L,onEditComplete:T,options:i}),Z=U!==void 0&&!Dd($.options,U);if($.setOptions(U),!p&&(F.current=null,j.current!=null)){const{current:st}=j;j.current=null,st()}const J=W2(O,o,I);if($.render({forceRender:Z,fileDiff:J.fileDiff,lineAnnotations:J.lineAnnotations}),a!==void 0&&$.setSelectedLines(a),!p||j.current!=null)return;if(x==null)throw new Error("FileDiff: EditContext is not attached");const de=()=>{R.current!==$||j.current!=null||!$.__canAttachEditor()||(j.current=U2($,G))};if($.__canAttachEditor()){F.current=null,de();return}const me=$.__prepareForEditing();if(me==null){F.current=null;return}if(F.current?.promise===me)return;const Ae={promise:me};F.current=Ae,me.then(()=>{F.current===Ae&&(de(),F.current=null)}).catch(st=>{F.current===Ae&&(F.current=null,_(st))})});const B=A.useCallback(()=>R.current?.getHoveredLine(),[]),q=A.useCallback($=>R.current?.getAnnotationSlotName($)??wt($),[]);if(C!=null)throw C;return{fileDiff:O,ref:D,getHoveredLine:B,getAnnotationSlotName:q}}function B2({acceptedCache:e,fileDiff:t,newFile:n,oldFile:i,parseDiffOptions:r}){return A.useMemo(()=>{if(t!=null)return t;const{current:s}=e,o=s?.filePair;if(s!=null&&o!=null){if(wa(i,n,o.stale)||wa(i,n,o.installed))return o.fileDiff;s.filePair=null}return ft(i??null,n??null,r)},[e,t,i,n,r])}function wa(e,t,n){return qo(e??void 0,n.oldFile??void 0)&&qo(t??void 0,n.newFile??void 0)}function W2(e,t,n){const{current:i}=n;if(i==null)return{fileDiff:e,lineAnnotations:t};const{fileDiff:r,annotations:s}=i;let o=e;r!=null&&(Q(e,r.stale)?o=r.installed:i.fileDiff=null);let a=t;return s!=null&&(t===s.stale?a=s.installed:i.annotations=null),i.fileDiff==null&&i.annotations==null&&i.filePair==null&&(n.current=null),{fileDiff:o,lineAnnotations:a}}function Lr({options:e,controlledSelection:t,hasCustomHeader:n,hasGutterRenderUtility:i,onEditChange:r,onEditComplete:s}){return t||i||n||r!=null||s!=null?{...e,controlledSelection:t,renderCustomHeader:n?Us:e?.renderCustomHeader,renderGutterUtility:i?Us:e?.renderGutterUtility,onEditChange:r,onEditComplete:s}:e}function U2(e,t){const n=t();try{return n.edit(e)}catch(i){throw n.cleanUp(),i}}function G2(e){const t=yv(e);if(t.length!==1)throw console.error(t),new Error("PatchDiff: Provided patch must include only 1 patch, with 1 diff");const{files:n}=t[0];if(n.length!==1)throw console.error(n),new Error("FileDiff: Provided patch must contain exactly 1 file diff");return n[0]}function sc({patch:e,options:t,editorOptions:n,editStateKey:i,metrics:r,lineAnnotations:s,selectedLines:o,className:a,style:d,prerenderedHTML:c,renderAnnotation:u,renderCustomHeader:h,renderHeaderPrefix:f,renderHeaderFilenameSuffix:p,renderHeaderMetadata:m,renderGutterUtility:v,disableWorkerPool:k=!1,edit:b=!1,onEditChange:y,onEditComplete:x}){const C=z2(e),{ref:_,getHoveredLine:w,getAnnotationSlotName:L}=V2({fileDiff:C,options:t,editorOptions:n,editStateKey:i,metrics:r,lineAnnotations:s,selectedLines:o,prerenderedHTML:c,hasGutterRenderUtility:v!=null,hasCustomHeader:h!=null,disableWorkerPool:k,edit:b,onEditChange:y,onEditComplete:x}),I=_h({fileDiff:C,renderCustomHeader:h,renderHeaderPrefix:f,renderHeaderFilenameSuffix:p,renderHeaderMetadata:m,renderAnnotation:u,lineAnnotations:s,renderGutterUtility:v,getHoveredLine:w,getAnnotationSlotName:L});return l.jsx(rl,{ref:_,className:a,style:d,children:O2(I,c)})}function z2(e){return A.useMemo(()=>G2(e),[e])}const q2="#F06A6A",K2=A.forwardRef(function({title:t="Asana",color:n="currentColor",size:i=24,...r},s){return n==="default"&&(n=q2),l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:n,viewBox:"0 0 24 24",ref:s,...r,children:[l.jsx("title",{children:t}),l.jsx("path",{d:"M18.78 12.653c-2.882 0-5.22 2.336-5.22 5.22s2.338 5.22 5.22 5.22 5.22-2.34 5.22-5.22-2.336-5.22-5.22-5.22zm-13.56 0c-2.88 0-5.22 2.337-5.22 5.22s2.338 5.22 5.22 5.22 5.22-2.338 5.22-5.22-2.336-5.22-5.22-5.22zm12-6.525c0 2.883-2.337 5.22-5.22 5.22-2.882 0-5.22-2.337-5.22-5.22 0-2.88 2.338-5.22 5.22-5.22 2.883 0 5.22 2.34 5.22 5.22z"})]})}),Z2="#7B68EE",X2=A.forwardRef(function({title:t="ClickUp",color:n="currentColor",size:i=24,...r},s){return n==="default"&&(n=Z2),l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:n,viewBox:"0 0 24 24",ref:s,...r,children:[l.jsx("title",{children:t}),l.jsx("path",{d:"M2 18.439l3.69-2.828c1.961 2.56 4.044 3.739 6.363 3.739 2.307 0 4.33-1.166 6.203-3.704L22 18.405C19.298 22.065 15.941 24 12.053 24 8.178 24 4.788 22.078 2 18.439zM12.04 6.15l-6.568 5.66-3.036-3.52L12.055 0l9.543 8.296-3.05 3.509z"})]})}),J2="#181717",Q2=A.forwardRef(function({title:t="GitHub",color:n="currentColor",size:i=24,...r},s){return n==="default"&&(n=J2),l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:n,viewBox:"0 0 24 24",ref:s,...r,children:[l.jsx("title",{children:t}),l.jsx("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}),Y2="#FC6D26",ey=A.forwardRef(function({title:t="GitLab",color:n="currentColor",size:i=24,...r},s){return n==="default"&&(n=Y2),l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:n,viewBox:"0 0 24 24",ref:s,...r,children:[l.jsx("title",{children:t}),l.jsx("path",{d:"m23.6004 9.5927-.0337-.0862L20.3.9814a.851.851 0 0 0-.3362-.405.8748.8748 0 0 0-.9997.0539.8748.8748 0 0 0-.29.4399l-2.2055 6.748H7.5375l-2.2057-6.748a.8573.8573 0 0 0-.29-.4412.8748.8748 0 0 0-.9997-.0537.8585.8585 0 0 0-.3362.4049L.4332 9.5015l-.0325.0862a6.0657 6.0657 0 0 0 2.0119 7.0105l.0113.0087.03.0213 4.976 3.7264 2.462 1.8633 1.4995 1.1321a1.0085 1.0085 0 0 0 1.2197 0l1.4995-1.1321 2.4619-1.8633 5.006-3.7489.0125-.01a6.0682 6.0682 0 0 0 2.0094-7.003z"})]})}),ty="#0052CC",oc=A.forwardRef(function({title:t="Jira",color:n="currentColor",size:i=24,...r},s){return n==="default"&&(n=ty),l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:n,viewBox:"0 0 24 24",ref:s,...r,children:[l.jsx("title",{children:t}),l.jsx("path",{d:"M11.571 11.513H0a5.218 5.218 0 0 0 5.232 5.215h2.13v2.057A5.215 5.215 0 0 0 12.575 24V12.518a1.005 1.005 0 0 0-1.005-1.005zm5.723-5.756H5.736a5.215 5.215 0 0 0 5.215 5.214h2.129v2.058a5.218 5.218 0 0 0 5.215 5.214V6.758a1.001 1.001 0 0 0-1.001-1.001zM23.013 0H11.455a5.215 5.215 0 0 0 5.215 5.215h2.129v2.057A5.215 5.215 0 0 0 24 12.483V1.005A1.001 1.001 0 0 0 23.013 0Z"})]})}),ny="#5E6AD2",ac=A.forwardRef(function({title:t="Linear",color:n="currentColor",size:i=24,...r},s){return n==="default"&&(n=ny),l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:n,viewBox:"0 0 24 24",ref:s,...r,children:[l.jsx("title",{children:t}),l.jsx("path",{d:"M2.886 4.18A11.982 11.982 0 0 1 11.99 0C18.624 0 24 5.376 24 12.009c0 3.64-1.62 6.903-4.18 9.105L2.887 4.18ZM1.817 5.626l16.556 16.556c-.524.33-1.075.62-1.65.866L.951 7.277c.247-.575.537-1.126.866-1.65ZM.322 9.163l14.515 14.515c-.71.172-1.443.282-2.195.322L0 11.358a12 12 0 0 1 .322-2.195Zm-.17 4.862 9.823 9.824a12.02 12.02 0 0 1-9.824-9.824Z"})]})}),iy="#000000",ry=A.forwardRef(function({title:t="Notion",color:n="currentColor",size:i=24,...r},s){return n==="default"&&(n=iy),l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:n,viewBox:"0 0 24 24",ref:s,...r,children:[l.jsx("title",{children:t}),l.jsx("path",{d:"M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42 0 .84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748 0-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21 19s0 .84-1.168.84l-3.222.186c-.093-.186 0-.653.327-.746l.84-.233V9.854L7.822 9.76c-.094-.42.14-1.026.793-1.073l3.456-.233 4.764 7.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936 1.035l13.31-.98c1.634-.14 2.055-.047 3.082.7l4.249 2.986c.7.513.934.653.934 1.213v16.378c0 1.026-.373 1.634-1.68 1.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54 1.447-1.632z"})]})}),sy="#58B1E4",oy=A.forwardRef(function({title:t="Shortcut",color:n="currentColor",size:i=24,...r},s){return n==="default"&&(n=sy),l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:n,viewBox:"0 0 24 24",ref:s,...r,children:[l.jsx("title",{children:t}),l.jsx("path",{d:"M24 6a6 6 0 0 0-6-6H6a5.975 5.975 0 0 0-4.242 1.758 5.998 5.998 0 0 0 0 8.484l2.137 2.137A6.007 6.007 0 0 0 0 18a6 6 0 0 0 6 6h12a5.975 5.975 0 0 0 4.242-1.758 5.998 5.998 0 0 0 0-8.484l-2.137-2.137A6.002 6.002 0 0 0 24 6zM3.404 20.598c-.694-.694-1.075-1.615-1.075-2.596s.38-1.903 1.075-2.595a3.65 3.65 0 0 1 2.443-1.074l7.34 7.34H6a3.664 3.664 0 0 1-2.596-1.075zm17.192-5.194C21.29 16.1 21.67 17.02 21.67 18s-.38 1.904-1.075 2.596A3.644 3.644 0 0 1 18 21.67a3.64 3.64 0 0 1-2.596-1.075l-12-11.998C2.71 7.904 2.33 6.983 2.33 6.002s.38-1.903 1.075-2.595C4.1 2.712 5.02 2.33 6 2.33s1.904.381 2.596 1.076l12 11.997zm0-6.806a3.65 3.65 0 0 1-2.443 1.073l-7.34-7.342H18a3.64 3.64 0 0 1 2.596 1.075C21.29 4.1 21.67 5.02 21.67 6s-.38 1.904-1.075 2.598z"})]})}),ay="#0052CC",ly=A.forwardRef(function({title:t="Trello",color:n="currentColor",size:i=24,...r},s){return n==="default"&&(n=ay),l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:n,viewBox:"0 0 24 24",ref:s,...r,children:[l.jsx("title",{children:t}),l.jsx("path",{d:"M21.147 0H2.853A2.86 2.86 0 000 2.853v18.294A2.86 2.86 0 002.853 24h18.294A2.86 2.86 0 0024 21.147V2.853A2.86 2.86 0 0021.147 0zM10.34 17.287a.953.953 0 01-.953.953h-4a.954.954 0 01-.954-.953V5.38a.953.953 0 01.954-.953h4a.954.954 0 01.953.953zm9.233-5.467a.944.944 0 01-.953.947h-4a.947.947 0 01-.953-.947V5.38a.953.953 0 01.953-.953h4a.954.954 0 01.953.953z"})]})}),Si={theme:"one-dark-pro",themeType:"dark",diffStyle:"unified",disableFileHeader:!0,hunkSeparators:"line-info",lineDiffType:"word-alt",unsafeCSS:`
|
|
309
|
+
:host {
|
|
310
|
+
--diffs-bg: #141925;
|
|
311
|
+
--diffs-addition-base: #3f9c70;
|
|
312
|
+
--diffs-deletion-base: #c45c60;
|
|
313
|
+
--diffs-modified-base: #5f7fd6;
|
|
314
|
+
--diffs-bg-selection-override: #d2d9e6;
|
|
315
|
+
--diffs-selection-number-fg: #f4f7fc;
|
|
316
|
+
--diffs-bg-separator: #161c29;
|
|
317
|
+
}
|
|
318
|
+
[data-line][data-selected-line],
|
|
319
|
+
[data-line-annotation][data-selected-line] {
|
|
320
|
+
--mix-selection-dark: 93%;
|
|
321
|
+
}
|
|
322
|
+
[data-gutter-buffer][data-selected-line],
|
|
323
|
+
[data-column-number][data-selected-line] {
|
|
324
|
+
--mix-selection-dark: 90%;
|
|
325
|
+
box-shadow: inset 2px 0 0 #d2d9e6;
|
|
326
|
+
}
|
|
327
|
+
[data-separator-content],
|
|
328
|
+
[data-expand-button] {
|
|
329
|
+
color: #586378;
|
|
330
|
+
}
|
|
331
|
+
[data-separator-content]:hover,
|
|
332
|
+
[data-expand-button]:hover {
|
|
333
|
+
color: #d2d9e6;
|
|
334
|
+
}
|
|
335
|
+
`},dy={...Si,unsafeCSS:`${Si.unsafeCSS}
|
|
336
|
+
pre {
|
|
337
|
+
--diffs-bg-addition-override: var(--diffs-bg);
|
|
338
|
+
--diffs-bg-addition-number-override: var(--diffs-bg);
|
|
339
|
+
--diffs-fg-number-addition-override: #586378;
|
|
340
|
+
}
|
|
341
|
+
`},cy={...Si,hunkSeparators:"simple"};function lc(e){if(!e.file.patch&&e.file.status==="renamed"&&e.file.changes===0)return l.jsxs("div",{className:"patch-unavailable",children:[l.jsx(P,{icon:ju,"aria-hidden":"true"}),l.jsx("h3",{children:"Renamed without changes"}),l.jsxs("p",{children:["Moved from ",e.file.previousPath,". The content is the same."]})]});if(!e.file.patch)return l.jsxs("div",{className:"patch-unavailable",children:[l.jsx(P,{icon:Nu,"aria-hidden":"true"}),l.jsx("h3",{children:"Patch unavailable"}),l.jsx("p",{children:"Binary files and some large changes have no inline patch."}),e.file.githubUrl&&l.jsxs("a",{href:e.file.githubUrl,target:"_blank",rel:"noreferrer",children:["Open this file on GitHub",l.jsx(P,{icon:zt,"aria-hidden":"true"})]})]});const t=e.file.status==="added"?"/dev/null":e.file.previousPath??e.file.path,n=e.file.status==="removed"?"/dev/null":e.file.path,i=e.marks.length>0?e.marks[0].location:null;return l.jsx("div",{className:"diff-scroll",tabIndex:0,"aria-label":"File patch",children:l.jsx(sc,{className:"diff-view",patch:`--- ${t}
|
|
342
|
+
+++ ${n}
|
|
343
|
+
${e.file.patch}
|
|
344
|
+
`,options:{...e.file.status==="added"?dy:Si,diffStyle:e.diffStyle,overflow:e.wrap?"wrap":"scroll"},selectedLines:i?{start:i.startLine,end:i.endLine,side:i.side==="head"?"additions":"deletions"}:null,lineAnnotations:e.marks.map(r=>({side:r.location.side==="head"?"additions":"deletions",lineNumber:r.location.endLine,metadata:{content:r.content}})),renderAnnotation:r=>r.metadata.content})})}function uy(e){const t=e.location,n=(e.file?.patch?hy(e.file.patch,t):null)??(e.excerpt?fy(e.excerpt,t.startLine):null);return n?l.jsx("div",{className:"diff-excerpt diff-scroll",tabIndex:0,"aria-label":`${t.path} lines ${t.startLine} to ${t.endLine}`,children:l.jsx(sc,{className:"diff-view",patch:`--- ${t.path}
|
|
345
|
+
+++ ${t.path}
|
|
346
|
+
${n}
|
|
347
|
+
`,options:cy,selectedLines:{start:t.startLine,end:t.endLine,side:t.side==="head"?"additions":"deletions"}})}):null}function hy(e,t){const n=[];let i=null,r=0,s=0;function o(){i&&n.push(`@@ -${i.oldStart},${i.oldCount} +${i.newStart},${i.newCount} @@`,...i.lines),i=null}for(const a of e.split(`
|
|
348
|
+
`)){if(a.startsWith("@@")){o();const h=a.match(/^@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@/);if(!h)throw new Error(`Invalid hunk header: ${a}`);r=Number(h[1]),s=Number(h[2]);continue}if(a.startsWith("\\")){i?.lines.push(a);continue}if(!a)continue;const d=a.startsWith("+"),c=a.startsWith("-"),u=t.side==="head"?c?null:s:d?null:r;u!==null&&(u<t.startLine||u>t.endLine+2)?o():(u!==null||i)&&(i??={oldStart:r,newStart:s,oldCount:0,newCount:0,lines:[]},i.lines.push(a),d||(i.oldCount+=1),c||(i.newCount+=1)),d||(r+=1),c||(s+=1)}return o(),n.length>0?n.join(`
|
|
349
|
+
`):null}function fy(e,t){const n=e.lines.slice(Math.max(t-e.startLine,0)),i=Math.max(t,e.startLine);return[`@@ -${i},${n.length} +${i},${n.length} @@`,...n.map(r=>` ${r}`)].join(`
|
|
350
|
+
`)}const py=["story","map","code","risks"],my=["files","commits","order"],gy=["findings","asked","tests","rollout","decide"],by=["flow","data","api","files","services"];function vy(e){const t=Number(e.get("group"));return{tab:py.find(n=>n===e.get("tab"))??"story",code:my.find(n=>n===e.get("code"))??"files",file:e.get("file"),group:Number.isInteger(t)&&t>=0?t:0,section:gy.find(n=>n===e.get("section"))??"findings",finding:e.get("finding"),lens:by.find(n=>n===e.get("lens"))??null}}function yy(e){const t=new URLSearchParams;return e.tab!=="story"&&t.set("tab",e.tab),e.code!=="files"&&t.set("code",e.code),e.file!==null&&t.set("file",e.file),e.group!==0&&t.set("group",String(e.group)),e.section!=="findings"&&t.set("section",e.section),e.finding!==null&&t.set("finding",e.finding),e.lens!==null&&t.set("lens",e.lens),t}const dc=A.createContext(null);function En(){const e=A.use(dc);if(e===null)throw new Error("useLensLocation must be used inside LensReview");return e}const ky=new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"short"}),xy=new Intl.NumberFormat,_y=new Intl.NumberFormat(void 0,{notation:"compact",maximumFractionDigits:1});function cc(e){return e?ky.format(new Date(e)):"Unknown time"}function Pe(e){return xy.format(e)}function Cy(e){return _y.format(e)}function uc(e,t){if(!e)return null;const n=Math.max(0,new Date(t??Date.now()).getTime()-new Date(e).getTime());return n<6e4?`${Math.round(n/1e3)}s`:n<36e5?`${Math.round(n/6e4)}m`:`${Math.round(n/36e5)}h`}function wy(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Ly=N({repository:S().nullable().describe("Service name from the service graph when the file is in another service. Null for this repository."),path:S().describe("File path relative to the repository root."),side:K(["head","base"]).describe("head is the pull request version, base is the target branch. Use head for other services."),startLine:et().int(),endLine:et().int(),note:S().nullable().describe("What to notice in these lines, in a few words. Shown next to the code.")}),le=H(Ly).describe("The exact lines this claim comes from."),Ei=S().describe("A short sentence that states the effect, in at most 10 words."),un=S().describe("At most two short sentences."),hc=S().describe('How Lens knows this, in a few words, such as "Lens read the diff" or "Lens read ledger-service code".');N({summary:S().describe("What the pull request actually does, in one or two short sentences."),background:S().nullable().describe("Where the changed code sits in the system and what it is for, in at most two short sentences, for a reader who does not know this area. Null when you cannot tell from the code."),terms:H(N({term:S().describe("A domain word the change uses, exactly as the code writes it."),meaning:S().describe("What it means in this codebase, in at most 12 words.")})).describe('At most five domain words a reader new to this area needs, such as "frame" or "focal point". Empty when the change uses none.'),intent:N({source:K(["issue","description","commits","none"]),issues:H(N({key:S().describe("The issue number, such as #12, or the ticket key, such as ABC-123."),title:S(),tracker:S().nullable().describe("Where the ticket lives, such as GitHub, Linear, or Jira. Null when you cannot tell."),url:S().nullable().describe("The link to the ticket. Null when you do not have it.")})).describe("The linked issues the task comes from. Empty when there is none."),guess:ye().describe("True when nobody stated the intent and it was inferred from the code."),statement:S().describe("The task in one short sentence."),criteria:H(N({id:S().describe("Short stable id such as c1."),text:S().describe("At most 10 words."),quote:S().nullable().describe("The words from the issue, description, or commit this criterion comes from.")}))}),groups:H(N({title:S().describe("At most 5 words."),why:S().describe("Why to read this group at this point, in one short sentence."),files:H(N({path:S(),note:S().nullable().describe('A tag of one to three words, such as "new" or "not asked".')}))})).describe("Reading order. Every changed file appears in exactly one group."),contracts:H(N({name:S().describe('The surface exactly as the code names it, such as a table, "POST /frames/:id/versions", or an event.'),kind:K(["api","schema","event","config","type","other"]),change:K(["added","changed","removed"]).describe("added when the surface is new, removed when it is gone, changed otherwise."),summary:S().describe("What is different for someone who uses the surface, in at most 10 words."),items:H(N({name:S().describe("A part of the surface exactly as the code names it: a column, a field, a parameter, a status code."),change:K(["added","changed","removed"]),note:S().nullable().describe('Type, constraint, or what changed, in at most 6 words, such as "uuid, not null" or "now optional".')})).describe("The parts of the surface this pull request adds, changes, or removes. At most eight, most important first. Empty when the surface has no parts."),locations:le})).describe("Surfaces other code can observe that this pull request changes."),behaviors:H(N({id:S().describe("Short stable id such as b1."),kind:K(["new","changed","removed"]).describe("new when the code could not do this before, removed when it no longer does it, changed otherwise."),text:S().describe("One thing the code now does differently, in at most 10 words."),before:S().nullable().describe("What the code did before this pull request, in at most 10 words. Null when the behavior is new."),locations:le}))});N({asked:H(N({criterionId:S(),text:S().describe("At most 10 words."),status:K(["built","partial","missing","different"]),detail:S().describe("One short sentence. For anything not built as asked, say what the code does instead."),locations:le})),unasked:H(N({text:S().describe("At most 10 words."),effect:S().describe('A tag of two to four words, such as "Breaks ledger-service" or "Feature does not use it".'),tone:K(["bad","warn","neutral"]),mentioned:ye().describe("True when the description or commits mention it even though the task does not need it."),locations:le})).describe("Changes in the diff that the main task does not need.")});N({contracts:H(N({change:Ei,surface:S().describe("Where the change is visible, such as a table, endpoint, or event."),effect:K(["breaking","behavior","optional"]),reliedOnBy:un,locations:le})),services:H(N({name:S(),hop:et().int().describe("0 for the service this pull request changes, 1 for direct consumers or dependencies, 2 for the next step out."),direction:K(["self","consumer","dependency"]).describe("self for hop 0. consumer when it calls or reads what this repository provides. dependency when this repository calls or reads it, such as an external API, database, or library."),via:S().nullable().describe("Name of the service this one is reached through. Null for hop 0."),effect:K(["changed","break","inherit","behavior","additive","unknown","none"]),title:Ei.describe("What this pull request does to the service, in at most 8 words."),detail:un,source:hc,locations:le})).describe("The blast radius. Include services checked and found unaffected."),artifacts:H(N({service:S().describe("Service the diagram or doc belongs to."),kind:K(["diagram","doc"]),name:S(),detail:un.describe("What in it no longer matches this pull request.")})).describe("UIGraph diagrams and docs that this pull request makes out of date.")});N({behaviors:H(N({behaviorId:S(),text:S().describe("At most 10 words."),coverage:K(["covered","untested","unknown"]),detail:S().describe("The test name when covered. Otherwise one short sentence on what is missing."),tests:le}))});N({decisions:H(N({topic:S().describe('What was decided, in at most 5 words, such as "Attempts before giving up".'),value:S().describe('The choice the code made, in at most 8 words, such as "1 min, 10 min, 1 hour".'),origin:K(["asked","author","differs"]),locations:le}))});const La=K(["client","service","worker","queue","database","external","stage"]).describe("What the step is. stage is a step inside one service, such as a function or a check."),Sy=K(["call","event","wait"]).describe("How the flow reaches this step from the step before it. call: a request that gets a response. event: a message sent without waiting, such as a queue job, an event, or a webhook. wait: the flow blocks until something happens, such as backpressure, a lock, a timer, or polling. Use call for the first step."),Ey=K(["call","event","wait","retry","fallback","skip","failure"]).describe("What this side path does. call: a request that gets a response. event: a message sent without waiting. wait: the flow blocks until something happens. retry: the flow tries again after a failure. fallback: the flow takes another route that still works, such as a cache miss that reads the database. skip: the flow stops early on purpose, such as a cache hit or work that is already done. failure: the flow ends in an error, such as a throw, a rejection, or a timeout."),Sa=N({steps:H(N({label:S().describe("A service or stage in one to three words."),kind:La,link:Sy,note:S().nullable().describe('A few words shown above the step, such as "status: RETRYING".'),changed:ye().describe("True only when the flow changes at this step: it is new, or what it passes on or where it sends the flow is different. False when only its code changes."),locations:le.describe("The one or two places in the code where this step happens. Use base lines for the before diagram and head lines for the after diagram.")})).describe("The main path, left to right. Two to five steps."),branches:H(N({from:et().int().describe("Index of the main step this branch leaves from."),label:S().describe("One to three words."),kind:La,out:S().describe("What sends the flow into the branch, in one to three words."),back:S().nullable().describe("What returns the flow to the same step, in one to three words. Null when it does not return."),link:Ey,changed:ye().describe("True only when the side path is new or what sends the flow into it or back is different."),locations:le.describe("The place in the code where the flow leaves the main path.")})).describe("At most two side paths, such as a retry loop or an error path."),caption:S().describe("What the flow means for the system, in one sentence.")});N({flows:H(N({subject:S().describe('The behavior whose flow changed, such as "What happens to a declined charge".'),behaviors:H(S()).describe("Ids of the map behaviors this flow shows, such as b1.").optional(),before:Sa.describe("The flow before this pull request. For a flow that did not exist before, give no steps and no branches."),after:Sa})).describe("The changed runtime flows, most changed first.")});const Zt=le.describe("The lines that decide this row."),Ry=N({type:Fe("rules"),title:S().describe("What the table shows, in at most 8 words."),inputLabel:S().describe('Column title for the input, in at most 4 words, such as "color sent".'),resultLabel:S().describe("Column title for the result, in at most 4 words."),rows:H(N({input:S().describe('One input, exactly as a caller sends it, such as "#FF5733". Write "" for an empty string and (not sent) for a missing field.'),result:S().describe("What the code does with it, in at most 8 words. Quote error text from the code."),tone:K(["ok","error","neutral"]),locations:Zt})).describe("Two to six rows. Cover the normal case, the edge cases, and the errors. A row that depends on a limit needs its partner on the other side of the limit.")}),Ay=N({type:Fe("matrix"),title:S().describe("What the matrix shows, in at most 8 words."),rowLabel:S().describe('The condition on the rows, in at most 4 words, such as "screenshot".'),columnLabel:S().describe("The condition on the columns, in at most 4 words."),rows:H(S()).describe('Two or three values of the row condition, such as "same" and "changed".'),columns:H(S()).describe("Two or three values of the column condition."),cells:H(N({row:et().int().describe("Index into rows."),column:et().int().describe("Index into columns."),result:S().describe("What the code does in this case, in at most 6 words."),changed:ye().describe("True when this pull request changes what happens in this case."),locations:Zt})).describe("One cell for every row and column pair.")}),Iy=N({type:Fe("fields"),title:S().describe('The call or object being compared, in at most 8 words, such as "Update with no changes".'),rows:H(N({field:S().describe("A field, status, or side effect, exactly as the code names it."),before:S().describe("The value before this pull request, in at most 5 words."),after:S().describe("The value after, in at most 5 words."),locations:Zt})).describe("Two to six rows. Include unchanged rows only when they help the reader compare.")}),Ea=N({text:S().describe('One line of short pseudo-code with the real names from the code, such as "if hash == stored hash: return 200". Indent with spaces.'),change:K(["same","added","changed"]),note:S().nullable().describe('A tag of at most 4 words shown next to the line, such as "never checked". Use it for risk.'),locations:le.describe("The lines this pseudo-code line stands for.")}),Ty=N({type:Fe("logic"),title:S().describe("The function or decision, in at most 8 words."),before:H(N({text:Ea.shape.text})).describe("The same logic before this pull request, at most 8 lines. It contains every after line marked same, with the same text. Empty when it is new."),after:H(Ea).describe("The logic after this pull request, at most 8 lines. Never leave out a line that carries risk.")}),jy=N({type:Fe("json"),title:S().describe('What the example is, in at most 8 words, such as "POST /versions response, 201".'),json:S().describe("One example as valid JSON. Use the exact keys from the struct tags, type, or schema in the code. Example values are allowed. Show one item of each array."),highlight:H(S()).describe("Keys this pull request adds or changes. They are marked in the example."),note:S().nullable().describe("One short sentence about a case the example does not show, such as the 200 reply."),locations:le.describe("The type, struct, or code that defines these keys.")}),Ny=N({type:Fe("timeline"),title:S().describe("The scenario, in at most 8 words. It must match the events."),events:H(N({action:S().describe("What someone does, in at most 6 words."),outcome:S().describe("What the code does, in at most 6 words."),state:S().nullable().describe('A short label for the resulting state, such as "v2". Null when nothing new is created.'),locations:Zt})).describe("Three to five events in order. Example values are allowed.")}),kn=K(["same","added","changed","removed"]),Py=N({type:Fe("states"),title:S().describe('The status or state field, in at most 8 words, such as "Workflow run status".'),states:H(N({name:S().describe("A state exactly as the code names it, such as the enum value."),change:kn})).describe("Every state the change touches, plus the ones needed to read the transitions. At most eight."),transitions:H(N({from:S().describe("A state name from states."),to:S().describe("A state name from states."),on:S().describe('What moves it, in at most 5 words, such as "child run finishes".'),change:kn,locations:Zt})).describe("At most eight transitions. Include removed transitions so a reader sees what no longer happens.")}),Dy=N({type:Fe("sequence"),title:S().describe("The call, in at most 8 words."),actors:H(S()).describe('Two to five parts that take part, left to right, such as "Client", "API", "Storage", "Database". Only parts the code calls.'),messages:H(N({from:S().describe("An actor name."),to:S().describe("An actor name."),label:S().describe("What is sent, in at most 6 words."),reply:ye().describe("True for a response going back."),change:kn,locations:Zt})).describe("The messages in order. At most eight.")}),My=N({type:Fe("callers"),title:S().describe("What the chain shows, in at most 8 words."),target:S().describe("The changed function or method, exactly as the code names it."),callers:H(N({name:S().describe("A function, handler, or job that calls the target, exactly as the code names it."),via:S().nullable().describe("How a user reaches it, such as a route or a job name. Null when unknown."),change:kn.describe("changed when this pull request changes how this caller uses the target."),locations:le.describe("The line where it calls the target. Required.")})).describe("Every caller you found by search, at most six. Use this when a change reaches code a reviewer would not guess.")}),Oy=N({type:Fe("shape"),title:S().describe('The object, in at most 8 words, such as "Frame version snapshot".'),fields:H(N({path:S().describe('The field path with dots for nesting, exactly as the code names it, such as "focalPoints.color".'),type:S().describe('The type in at most 3 words, such as "string, optional".'),change:kn,note:S().nullable().describe("At most 6 words.")})).describe("The fields that matter, at most twelve. Leave out fields that do not help the reader."),locations:le.describe("The struct, type, or schema that defines the fields.")}),Fy=su("type",[Ry,Ay,Iy,Ty,jy,Ny,Py,Dy,My,Oy]);N({headline:S().describe("What changes for people or the system once this merges, in one sentence of at most 20 words. The outcome, not how the code does it. Never call the change safe, correct, or fixed. No problems here."),summary:S().describe("The problem in a few words when it is known, then how the change works. Plain words, at most 35 words and at most two sentences."),why:H(N({text:S().describe("The problem or need behind the change, in at most 20 words. Never a restatement of what was asked or built."),source:K(["issue","description","commits","code","none"]).describe("Where the reason comes from. none means nobody states it: say what is missing."),locations:le})).describe("At most two reasons, most important first."),chapters:H(N({id:S().describe("Short stable id such as s1."),title:S().describe("What this part of the change does, in at most 6 words."),kind:K(["new","changed","removed"]),caption:S().describe("What a reader must know about this part, in at most 25 words and at most two sentences."),unchanged:S().nullable().describe('What a reader might expect to change but does not, in at most 15 words, such as "Metadata-only edits still save a new row." Null when nothing is worth saying.'),matters:S().nullable().describe('Why this chapter matters to a user or a caller, in at most 20 words, such as "A replayed refund no longer adds a second credit line." Null when the caption already says it.'),behaviors:H(S()).describe("Ids of the map behaviors this chapter covers."),contracts:H(S()).describe("Names of the map contracts this chapter covers, exactly as the map gives them."),files:H(S()).describe("Changed files that belong to this chapter."),visual:Fy.nullable().describe("The one picture that explains this chapter best. Null when the caption is enough.")})).describe("One chapter for each separate thing the pull request does, most important first. One chapter for a small change. At most six.")});N({findings:H(N({id:S().describe("Short stable id such as f1."),kind:K(["break","bug","security","risk","decide","test","scope","unknown"]),severity:K(["high","medium","low"]),title:Ei,body:S().describe("What happens, when it happens, and why, in at most three short sentences."),fix:S().describe('The specific fix as one or two commands, such as "Add a null check to `parseDate`."'),locations:le,source:hc,services:H(S()).describe("Names of blast radius services this finding is about."),group:et().int().nullable().describe("Index of the reading-order group this finding belongs to.")})).describe("At most five problems that matter before merge. Empty when there are none.")});N({reviews:H(N({id:S(),analysis:S().describe("What the code shows, in one or two sentences."),verdict:K(["confirmed","unproven","wrong"])}))});N({steps:H(N({title:Ei,detail:un})).describe("A safe order to ship, worked out from who reads what."),checks:H(N({title:S().describe('At most 4 words, such as "Rollback" or "Feature flag".'),detail:un,state:K(["blocker","warning","ok"])})).describe("Things to confirm before deploying that a diff does not show.")});N({headline:S().describe("Two short sentences: what the pull request does, then the most important problem."),confidence:et().int().min(1).max(5).describe("How safe the pull request is to merge: 1 will break things, 5 is safe to merge as is.")});H(N({key:S().describe("The ticket key, such as ABC-123."),title:S(),tracker:S().nullable().describe("Where the ticket lives, such as Linear or Jira."),url:S().nullable(),reason:S().describe("Why this ticket might be the task, in at most 15 words.")})).min(1);function Ra(e){return`${e.repository??""}|${e.side}|${e.path}|${e.startLine}|${e.endLine}`}const fc=["claude","codex","opencode","pi","cursor"],Aa={claude:"Claude Code",codex:"Codex",opencode:"OpenCode",pi:"Pi",cursor:"Cursor"},Hy={claude:"claude-sonnet-4-5",codex:"gpt-5-codex",opencode:"openrouter/anthropic/claude-haiku-4.5",pi:"anthropic/claude-sonnet-4-5",cursor:"composer-2.5"},pc=N({scope:ye(),impact:ye(),tests:ye(),decisions:ye(),flow:ye(),rollout:ye()}),mc=et().int().min(1).max(10),gc=S().max(2e3),be=S().trim().min(1),$y=N({system:be,map:be,story:be,scope:be,impact:be,tests:be,decisions:be,flow:be,findings:be,verify:be,rollout:be,verdict:be}),Ia=N({agent:K(fc).default("claude"),model:S().trim().max(200).default(""),steps:pc,diagrams:mc,focus:gc});N({steps:pc.partial().strict().optional(),diagrams:mc.optional(),focus:gc.optional(),prompts:$y.partial().strict().optional()}).strict();const Vy=".uigraph.lens.yml";function By(e,t){return t===null?e:{agent:e.agent,model:e.model,steps:{...e.steps,...t.steps},diagrams:t.diagrams??e.diagrams,focus:e.focus}}function Ds(e,t){return JSON.stringify(Ia.parse(e))===JSON.stringify(Ia.parse(t))}const z={high:{label:"High",rank:0,tone:"bad",icon:ku},medium:{label:"Medium",rank:1,tone:"warn",icon:Cn},low:{label:"Low",rank:2,tone:"neutral",icon:yu}},Wy=["workspace","map","story","scope","impact","tests","decisions","flow","rollout","findings","verdict"],Bt={workspace:"Preparing the repository",map:"Mapping the change",story:"Writing the story",scope:"Comparing with the task",impact:"Tracing other services",tests:"Checking tests",decisions:"Finding decisions to confirm",flow:"Tracing the changed flow",findings:"Writing findings",rollout:"Planning the rollout",verdict:"Deciding on a verdict"};function ae(e,t){return e===null||t==="workspace"||t==="map"||t==="story"||t==="findings"||t==="verdict"?!0:By(e.settings,e.repositoryConfig).steps[t]}function rt(e){const t=e.analysis===null?null:e.analysis.stages[e.stage]??null;if(t!==null&&t.status==="done")return e.children();const n=l.jsx(Ye,{id:e.stage,stage:t,quiet:e.quiet});return e.title===void 0?n:l.jsxs("section",{className:"section",children:[l.jsx("div",{className:"section-head",children:l.jsx("h2",{children:e.title})}),n]})}function Ye(e){const t=e.stage,n=t===null?"queued":t.status;switch(n){case"failed":return l.jsxs("div",{className:"stage-progress stage-failed",role:"alert",children:[l.jsx(P,{icon:Cn,"aria-hidden":"true"}),l.jsxs("div",{children:[l.jsxs("strong",{children:[Bt[e.id]," failed"]}),l.jsx("p",{children:t===null?null:t.error})]})]});case"queued":return e.quiet?l.jsxs("p",{className:"stage-note","aria-live":"polite",children:[l.jsx(P,{icon:Ir,"aria-hidden":"true"}),"Not started yet"]}):l.jsxs("div",{className:"stage-progress","aria-live":"polite",children:[l.jsx(P,{icon:Ir,className:"stage-queued-icon","aria-hidden":"true"}),l.jsxs("strong",{children:["Waiting: ",Bt[e.id].toLowerCase()]})]});case"running":return e.quiet?l.jsxs("p",{className:"stage-note","aria-live":"polite",children:[l.jsx("span",{className:"loading-indicator tiny"}),"In progress"]}):l.jsxs("div",{className:"stage-progress","aria-live":"polite",children:[l.jsx("span",{className:"loading-indicator small"}),l.jsxs("div",{children:[l.jsx("strong",{children:Bt[e.id]}),t!==null&&t.activity.length>0&&l.jsx("ul",{className:"stage-activity",children:t.activity.slice(-3).map((i,r)=>l.jsx("li",{children:i},`${r}-${i}`))})]})]});case"skipped":return l.jsxs("div",{className:"stage-progress",role:"status",children:[l.jsx(P,{icon:wn,className:"stage-queued-icon","aria-hidden":"true"}),l.jsxs("div",{children:[l.jsxs("strong",{children:[Bt[e.id]," skipped"]}),t!==null&&t.error!==null&&l.jsx("p",{children:l.jsx(M,{text:t.error})})]})]});case"done":throw new Error(`Stage ${e.id} is done and has nothing to show as progress`);default:throw new Error(`Unknown stage status: ${String(n)}`)}}function Ms(e){const t=Wy.filter(i=>e.analysis.stages[i]!==void 0&&ae(e.analysis,i)),n=t.filter(i=>e.analysis.stages[i].status==="running");return l.jsxs("section",{className:"pipeline","aria-label":"Lens review progress",children:[l.jsx("ol",{className:"pipeline-steps",children:t.map(i=>{const r=e.analysis.stages[i];return l.jsxs("li",{className:`pipeline-step step-${r.status}`,children:[r.status==="done"&&l.jsx(P,{icon:Ct,"aria-hidden":"true"}),r.status==="running"&&l.jsx("span",{className:"loading-indicator tiny"}),r.status==="failed"&&l.jsx(P,{icon:Cn,"aria-hidden":"true"}),r.status==="queued"&&l.jsx(P,{icon:Ir,"aria-hidden":"true"}),r.status==="skipped"&&l.jsx(P,{icon:wn,"aria-hidden":"true"}),l.jsx("span",{children:Bt[i]})]},i)})}),n.length>0&&l.jsx("ul",{className:"pipeline-activity","aria-live":"polite",children:n.map(i=>l.jsxs("li",{children:[l.jsx("span",{children:Bt[i]}),e.analysis.stages[i].activity.at(-1)??"Starting"]},i))})]})}function He(e){const t=e.locations[0];if(!t)return null;const n=yc(t);return l.jsxs("details",{className:"code-evidence",children:[l.jsxs("summary",{children:[l.jsx(P,{icon:mt,"aria-hidden":"true"}),l.jsx("span",{className:"evidence-path",title:n.folder+n.file,children:l.jsx("span",{className:"evidence-file",children:n.file})}),e.locations.length>1&&l.jsxs("span",{children:["and ",e.locations.length-1," more"]})]}),l.jsx("div",{className:"code-excerpts",children:l.jsx(bc,{review:e.review,analysis:e.analysis,locations:e.locations,openFile:e.openFile})})]})}function Uy(e){const t=e.location,n=zy(t);return t.repository===null&&e.review.files.some(i=>i.path===t.path)?l.jsx("button",{type:"button",className:"code-ref",onClick:()=>e.openFile(t.path),children:n}):t.repository!==null||e.review.repository.githubUrl===null?l.jsx("span",{className:"code-ref",children:n}):l.jsxs("a",{className:"code-ref",href:kc(e.review.repository.githubUrl,e.review,t),target:"_blank",rel:"noreferrer",children:[n,l.jsx(P,{icon:zt,"aria-hidden":"true"})]})}function bc(e){return e.locations.map((t,n)=>{const i=t.repository===null?e.review.files.find(r=>r.path===t.path):void 0;return l.jsxs("div",{className:"code-excerpt",children:[l.jsxs("div",{className:"code-excerpt-path",children:[l.jsx(Uy,{review:e.review,location:t,openFile:e.openFile}),l.jsx("span",{children:t.repository?"Other service":i?t.side==="base"?"Before this pull request":"Changed in this pull request":"Not changed in this pull request"})]}),t.note&&l.jsx("p",{className:"code-excerpt-note",children:l.jsx(M,{text:wy(t.note)})}),l.jsx(uy,{file:i,excerpt:e.analysis.excerpts[Ra(t)],location:t})]},`${n}-${Ra(t)}`)})}function jt(e){return e.findings.length===0?null:l.jsx("ul",{className:"finding-refs",children:e.findings.map(t=>l.jsx("li",{children:l.jsx(Rn,{finding:t,openFinding:e.openFinding})},t.id))})}function Rn(e){const t=z[e.finding.severity];return l.jsxs("button",{type:"button",className:`finding-ref tone-${t.tone}`,onClick:()=>e.openFinding(e.finding.id),children:[l.jsx(P,{icon:t.icon,"aria-hidden":"true"}),l.jsx("span",{className:"finding-ref-severity",children:t.label}),l.jsx("span",{className:"sr-only",children:" finding: "}),l.jsx("span",{className:"finding-ref-title",children:l.jsx(M,{text:e.finding.title})})]})}function vc(e,t,n){return e.toSorted((i,r)=>z[i.severity].rank-z[r.severity].rank).flatMap(i=>{const r=i.locations.find(s=>s.repository===null&&s.path===t);return r?[{location:r,content:l.jsx("div",{className:"finding-mark","data-mark":i.id,children:l.jsx(Rn,{finding:i,openFinding:n})})}]:[]})}function Ta(e){let t=0;function n(){const i=document.querySelector(`[data-mark="${CSS.escape(e)}"]`);if(i&&i.getClientRects().length>0){i.scrollIntoView({block:"center",behavior:window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth"});return}t+=1,t<120&&requestAnimationFrame(n)}n()}const Gy=40;function Tt(e,t){return e.filter(n=>n.kind!=="test"&&n.locations.some(i=>i.endLine-i.startLine<=Gy&&t.some(r=>i.repository===r.repository&&i.path===r.path&&i.side===r.side&&i.startLine<=r.endLine&&r.startLine<=i.endLine)))}function M(e){return e.text.split("`").map((t,n)=>n%2===1?l.jsx("code",{className:"inline-code",children:t},n):t)}function zi(e){return l.jsxs("span",{className:`status status-${e.tone}`,children:[e.tone==="bad"&&l.jsx(P,{icon:Xe,"aria-hidden":"true"}),e.tone==="warn"&&l.jsx(P,{icon:Au,"aria-hidden":"true"}),e.tone==="ok"&&l.jsx(P,{icon:ji,"aria-hidden":"true"}),e.tone==="info"&&l.jsx(P,{icon:Ya,"aria-hidden":"true"}),e.tone==="neutral"&&l.jsx(P,{icon:wn,"aria-hidden":"true"}),e.children]})}function An(e){return e.status==="completed"&&e.conclusion!==null&&!["success","neutral","skipped","cancelled"].includes(e.conclusion)}function zy(e){const t=yc(e);return t.folder+t.file}function yc(e){const t=`${e.repository?`${e.repository}/`:""}${e.path}`,n=t.lastIndexOf("/");return{folder:t.slice(0,n+1),file:`${t.slice(n+1)}:${e.startLine}${e.endLine!==e.startLine?`-${e.endLine}`:""}${e.side==="base"?" (base)":""}`}}function qy(e,t){return t.repository!==null||e.repository.githubUrl===null?null:kc(e.repository.githubUrl,e,t)}function ja(e){return`${e.path}:${e.startLine}${e.endLine!==e.startLine?`-${e.endLine}`:""}`}function kc(e,t,n){const i=n.endLine!==n.startLine?`#L${n.startLine}-L${n.endLine}`:`#L${n.startLine}`;return`${e}/blob/${n.side==="head"?t.pullRequest.head.sha:t.pullRequest.base.sha}/${n.path}${i}`}function xc(e){const t=A.useRef(null),n=A.useState({start:!1,end:!1}),i=n[0],r=n[1];A.useEffect(()=>{const o=t.current;if(o===null)return;const a=()=>{const c=o.scrollLeft>1,u=o.scrollLeft+o.clientWidth<o.scrollWidth-1;r(h=>h.start===c&&h.end===u?h:{start:c,end:u})};a();const d=new ResizeObserver(a);return d.observe(o),Array.from(o.children).forEach(c=>d.observe(c)),o.addEventListener("scroll",a,{passive:!0}),()=>{d.disconnect(),o.removeEventListener("scroll",a)}},[r]);function s(o){const a=t.current;if(a===null)return;const d=a.firstElementChild?.firstElementChild,c=d instanceof HTMLElement?d.offsetWidth+12:a.clientWidth*.8;a.scrollBy({left:o*c,behavior:"smooth"})}return l.jsxs("div",{className:`column-scroller${i.start?" can-back":""}${i.end?" can-forward":""}`,"aria-label":e.label,role:"region",children:[l.jsx("div",{className:"column-scroller-track",ref:t,children:e.children}),i.start&&l.jsx("button",{type:"button",className:"column-scroller-arrow back",onClick:()=>s(-1),"aria-label":"Show earlier columns",children:l.jsx(P,{icon:_u})}),i.end&&l.jsx("button",{type:"button",className:"column-scroller-arrow forward",onClick:()=>s(1),"aria-label":"Show more columns",children:l.jsx(P,{icon:mt})})]})}function _c(e){const t=new Map;for(const n of e){const i=n.split("/");let r=1;const s=()=>i.slice(-r).join("/");for(;r<i.length&&e.some(o=>o!==n&&o.split("/").slice(-r).join("/")===s());)r+=1;t.set(n,s())}return t}function Ky(e){const t=En(),n=t.location.finding;return A.useEffect(()=>{n!==null&&Ta(n)},[n]),l.jsx(rt,{analysis:e.analysis,stage:"map",title:"Walkthrough",children:()=>{const i=e.analysis?.results.map?.groups??[],r=t.location.group,s=i[r]??i[0],o=i[r]?r:0;if(!s)return l.jsx("p",{className:"empty-copy",children:"Lens did not group any files."});const a=e.analysis?.results.findings?.findings??[],d=a.filter(h=>h.group===o),c=s.files.map(h=>vc(a,h.path,e.openFinding)),u=c.some(h=>h.length>0);return l.jsxs("div",{className:"reading-layout",children:[l.jsx("nav",{"aria-label":"Walkthrough steps",children:l.jsx("ol",{className:"reading-steps",children:i.map((h,f)=>{const p=h.files.reduce((k,b)=>{const y=e.review.files.find(x=>x.path===b.path);return{additions:k.additions+(y?.additions??0),deletions:k.deletions+(y?.deletions??0)}},{additions:0,deletions:0}),m=a.filter(k=>k.group===f).toSorted((k,b)=>z[k.severity].rank-z[b.severity].rank),v=m[0];return l.jsx("li",{children:l.jsxs("button",{type:"button",className:"reading-step","aria-current":f===o?"step":void 0,onClick:()=>t.go({group:f}),children:[l.jsx("span",{className:"reading-dot",children:f+1}),l.jsxs("span",{children:[l.jsx("b",{children:h.title}),l.jsxs("small",{children:[h.files.length," ",h.files.length===1?"file":"files"," ",l.jsxs("span",{className:"addition",children:["+",p.additions]})," ",l.jsxs("span",{className:"deletion",children:["−",p.deletions]})]}),v&&l.jsxs("small",{className:`reading-step-findings tone-${z[v.severity].tone}`,children:[l.jsx(P,{icon:z[v.severity].icon,"aria-hidden":"true"}),m.length," ",m.length===1?"finding":"findings"]})]})]})},f)})})}),l.jsxs("section",{className:"section reading-group",children:[l.jsxs("div",{className:"section-head",children:[l.jsxs("div",{children:[l.jsxs("p",{className:"eyebrow",children:["Step ",o+1," of ",i.length]}),l.jsx("h2",{children:s.title}),l.jsx("p",{children:l.jsx(M,{text:s.why})})]}),l.jsxs("div",{className:"walk-nav",children:[l.jsx("button",{type:"button",className:"action-button",disabled:o===0,onClick:()=>t.go({group:o-1}),children:"Back"}),l.jsx("button",{type:"button",className:"action-button primary",disabled:o===i.length-1,onClick:()=>t.go({group:o+1}),children:"Next"})]})]}),d.length>0&&l.jsx("ul",{className:"group-findings",children:d.map(h=>l.jsxs("li",{children:[l.jsx(Rn,{finding:h,openFinding:e.openFinding}),c.some(f=>f.some(p=>h.locations.includes(p.location)))&&l.jsx("button",{type:"button",className:"text-button",onClick:()=>Ta(h.id),children:"Show in code"})]},h.id))}),l.jsx("div",{className:"group-files",children:s.files.map((h,f)=>{const p=e.review.files.find(v=>v.path===h.path),m=c[f];return l.jsxs("details",{className:m.length>0?"group-file group-file-finding":"group-file",open:u?m.length>0:f===0,children:[l.jsxs("summary",{children:[l.jsx("span",{className:"group-file-path",children:h.path}),h.note&&l.jsx("span",{className:"tag",children:h.note}),p&&l.jsxs("span",{className:"change-count compact",children:[l.jsxs("span",{className:"addition",children:["+",p.additions]}),l.jsxs("span",{className:"deletion",children:["−",p.deletions]})]})]}),p?l.jsx(lc,{file:p,diffStyle:"unified",wrap:!1,marks:m}):l.jsx("p",{className:"empty-copy",children:"This file is not in the pull request’s changed files."})]},h.path)})})]})]})}})}function pt(e){const t=A.useRef(null),[n,i]=A.useState(null);return A.useLayoutEffect(()=>{const r=t.current,s=r.parentElement;function o(){const c=s.querySelector(e.selector);i(c?{x:c.offsetLeft,width:c.offsetWidth}:null)}o();const a=new ResizeObserver(o);a.observe(s);for(const c of s.children)c!==r&&a.observe(c);const d=new MutationObserver(o);return d.observe(s,{subtree:!0,childList:!0,attributeFilter:["aria-pressed","aria-selected"]}),()=>{a.disconnect(),d.disconnect()}},[e.selector]),l.jsx("span",{ref:t,"aria-hidden":"true",className:e.className,style:n?{transform:`translateX(${n.x}px)`,width:n.width}:{display:"none"}})}const di={break:{label:"Breaks",rank:0,color:"#e5676b"},inherit:{label:"May inherit the break",rank:1,color:"#e5676b"},behavior:{label:"Behavior changes",rank:2,color:"#d9a94e"},unknown:{label:"Cannot tell",rank:3,color:"#828da3"},additive:{label:"Gains something optional",rank:4,color:"#21ad6d"},none:{label:"No effect found",rank:5,color:"#586378"},changed:{label:"Changed here",rank:6,color:"#3b6bff"}},yt=di,Zy={self:"This repository",consumer:"Uses this repository",dependency:"This repository uses it"},Qn={breaking:{label:"Breaking",effect:"break",rank:0},behavior:{label:"Behavior change",effect:"behavior",rank:1},optional:{label:"Optional",effect:"additive",rank:2}},Xy={self:()=>"This repository",consumer:e=>e>=2?"Two hops out":"Direct consumer",dependency:()=>"Dependency"},Jy=["break","inherit","behavior","unknown","additive"];function Qy(e){return l.jsx(rt,{analysis:e.analysis,stage:"impact",title:"Blast radius",children:()=>{const t=e.analysis?.results.impact;return t?l.jsxs("div",{className:"tab-stack",children:[e.analysis&&l.jsx(Yy,{review:e.review,analysis:e.analysis,services:t.services,openFile:e.openFile,openFinding:e.openFinding,renderGraph:e.renderGraph}),l.jsxs("section",{className:"section",children:[l.jsxs("div",{className:"section-head",children:[l.jsx("h2",{children:"Contract changes"}),l.jsx("p",{children:"What other code can see, not lines changed. Breaking first."})]}),t.contracts.length===0?l.jsx("p",{className:"empty-copy",children:"No contract other code relies on changed."}):l.jsx("ul",{className:"checklist",children:t.contracts.toSorted((n,i)=>Qn[n.effect].rank-Qn[i.effect].rank).map((n,i)=>l.jsxs("li",{children:[l.jsx(Ri,{effect:Qn[n.effect].effect}),l.jsxs("div",{children:[l.jsx("strong",{children:l.jsx(M,{text:n.change})}),l.jsx("small",{children:l.jsx(M,{text:n.surface})}),l.jsxs("p",{children:[l.jsxs("b",{children:[Qn[n.effect].label,"."]})," ",l.jsx(M,{text:n.reliedOnBy})]}),e.analysis&&l.jsx(jt,{findings:Tt(e.analysis.results.findings?.findings??[],n.locations),openFinding:e.openFinding}),e.analysis&&l.jsx(He,{review:e.review,analysis:e.analysis,locations:n.locations,openFile:e.openFile})]})]},i))})]}),l.jsxs("section",{className:"section",children:[l.jsxs("div",{className:"section-head",children:[l.jsx("h2",{children:"Diagrams and docs to update"}),l.jsx("p",{children:"UIGraph artifacts that no longer match this pull request."})]}),t.artifacts.length===0?l.jsx("p",{className:"empty-copy",children:"No UIGraph diagram or doc is out of date."}):l.jsx("ul",{className:"checklist",children:t.artifacts.map((n,i)=>l.jsxs("li",{children:[l.jsx(Ri,{effect:"behavior"}),l.jsxs("div",{children:[l.jsx("strong",{children:n.name}),l.jsxs("small",{children:[n.kind==="diagram"?"Diagram":"Doc"," in ",n.service]}),l.jsx("p",{children:l.jsx(M,{text:n.detail})})]})]},i))})]})]}):null}})}function Yy(e){const t=A.useState(!0),n=t[0],i=t[1],r=e.services.toSorted((b,y)=>yt[b.effect].rank-yt[y.effect].rank),s=Jy.map(b=>r.find(y=>y.effect===b)).find(b=>b!==void 0)??r.find(b=>b.hop>0)??r[0],o=A.useState(s?.name??""),a=o[0],d=o[1],c=e.services.find(b=>b.name===a),u=e.services.some(b=>b.hop>=2),h=e.services.filter(b=>n||b.hop<2),f=Object.entries(yt).filter(b=>h.some(y=>y.effect===b[0])),p=e.analysis.results.findings?.findings.filter(b=>b.services.includes(a))??[],m=[];let v=c?.via??null;for(;v&&!m.includes(v);){const b=v;m.push(b),v=e.services.find(y=>y.name===b)?.via??null}const k=h.filter(b=>b.hop>0&&b.effect!=="none").length;return l.jsxs("section",{className:"section",children:[l.jsxs("div",{className:"section-head",children:[l.jsxs("div",{children:[l.jsx("h2",{children:"Blast radius"}),l.jsx("p",{children:k===0?"No other service is affected.":`${k} ${k===1?"service":"services"} affected. Select one for details.`})]}),u&&l.jsxs("div",{className:"segmented",role:"group","aria-label":"How far to look",children:[l.jsx(pt,{className:"segmented-indicator",selector:"[aria-pressed='true']"}),l.jsx("button",{type:"button","aria-pressed":!n,onClick:()=>i(!1),children:"Direct only"}),l.jsx("button",{type:"button","aria-pressed":n,onClick:()=>i(!0),children:"Two hops out"})]})]}),e.renderGraph&&l.jsxs("div",{className:"impact-graph",children:[e.renderGraph({services:h,selected:a,select:d}),l.jsx("div",{className:"impact-legend",children:f.map(b=>l.jsxs("span",{children:[l.jsx("i",{className:`effect-dot effect-${b[0]}`}),b[1].label]},b[0]))})]}),l.jsxs("div",{className:"impact-layout",children:[l.jsx("ul",{className:"impact-list",children:h.toSorted((b,y)=>yt[b.effect].rank-yt[y.effect].rank).map(b=>l.jsx("li",{children:l.jsxs("button",{type:"button","aria-pressed":b.name===a,onClick:()=>d(b.name),children:[l.jsxs("span",{className:"impact-list-name",children:[l.jsx("b",{children:b.name}),l.jsx("small",{children:Xy[b.direction](b.hop)})]}),l.jsxs("span",{className:"effect-label",children:[l.jsx(Ri,{effect:b.effect}),yt[b.effect].label]}),l.jsx("span",{className:"impact-list-title",children:l.jsx(M,{text:b.title})})]})},b.name))}),l.jsx("aside",{className:"impact-detail","aria-live":"polite",children:c?l.jsxs(l.Fragment,{children:[l.jsx("h2",{children:c.name}),l.jsxs("span",{className:"effect-label",children:[l.jsx(Ri,{effect:c.effect}),yt[c.effect].label]}),l.jsx("strong",{children:l.jsx(M,{text:c.title})}),l.jsx("p",{children:l.jsx(M,{text:c.detail})}),l.jsxs("dl",{children:[l.jsx("dt",{children:"Relation"}),l.jsx("dd",{children:Zy[c.direction]}),l.jsx("dt",{children:"How Lens knows"}),l.jsx("dd",{children:c.source}),m.length>0&&l.jsxs(l.Fragment,{children:[l.jsx("dt",{children:"Reaches this pull request through"}),l.jsx("dd",{children:m.join(" then ")})]})]}),l.jsx(He,{review:e.review,analysis:e.analysis,locations:c.locations,openFile:e.openFile}),p.length>0&&l.jsxs("div",{className:"related-findings",children:[l.jsx("h3",{children:"Findings"}),l.jsx(jt,{findings:p,openFinding:e.openFinding})]})]}):l.jsx("p",{className:"empty-copy",children:"Select a service to see what this pull request does to it."})})]})]})}function Ri(e){return l.jsx("i",{className:`effect-dot effect-${e.effect}`,"aria-hidden":"true"})}const Sr={flow:{label:"Flow",about:"The runtime path, before and after",icon:el},data:{label:"Data",about:"Tables and columns this pull request adds, changes, or removes",icon:ys},api:{label:"API",about:"Endpoints, events, config, and types other code can see",icon:Qa},files:{label:"Files",about:"The changed files by layer, in reading order",icon:Du},services:{label:"Services",about:"Other services this change reaches",icon:tl}},ek=["flow","data","api","files","services"],Yn={added:{mark:"+",label:"New"},changed:{mark:"~",label:"Changed"},removed:{mark:"−",label:"Removed"}},tk=[{kind:"schema",label:"Tables",one:"table",icon:ys},{kind:"api",label:"Endpoints",one:"endpoint",icon:Qa},{kind:"event",label:"Events",one:"event",icon:Pu},{kind:"config",label:"Config",one:"setting",icon:nl},{kind:"type",label:"Exported types",one:"type",icon:Lu},{kind:"other",label:"Other surfaces",one:"surface",icon:Tu}],nk=["added","changed"],Ai={added:{mark:"+",label:"Added in this PR"},changed:{mark:"~",label:"Changed in this PR"}},ik={client:Ru,service:tl,worker:nl,queue:qu,database:ys,external:Vu,stage:Mu},Cc={call:{label:"Call",icon:null,speed:1},event:{label:"Event",icon:Qu,speed:2},wait:{label:"Wait",icon:Bu,speed:.5},retry:{label:"Retry",icon:Ku,speed:1},fallback:{label:"Fallback",icon:el,speed:1},skip:{label:"Skip",icon:Gu,speed:1},failure:{label:"Failure",icon:Ti,speed:1}},rk={call:"pass",event:"ripple",wait:"breathe"},sk={call:"pass",event:"ripple",wait:"breathe",retry:"pass",fallback:"pass",skip:"success",failure:"error"},ok=.08,Na=90,ak=700,Ke="0 0 0 0 rgba(0, 0, 0, 0)",lk={pass:{duration:320,shadow:[[0,Ke],[.4,"0 0 0 3px var(--flow-glow)"],[1,Ke]]},breathe:{duration:1200,shadow:[[0,Ke],[.5,"0 0 0 5px var(--flow-glow)"],[1,Ke]]},ripple:{duration:420,shadow:[[0,"0 0 0 0 rgba(147, 180, 255, 0.45)"],[1,"0 0 0 8px rgba(147, 180, 255, 0)"],[1,Ke]]},retry:{duration:420,shadow:[[0,"0 0 0 0 rgba(217, 169, 78, 0.55)"],[1,"0 0 0 8px rgba(217, 169, 78, 0)"],[1,Ke]]},success:{duration:1100,shadow:[[0,"0 0 0 0 rgba(147, 180, 255, 0.5)"],[.7,"0 0 0 14px rgba(147, 180, 255, 0)"],[.7,Ke]]},error:{duration:1100,shadow:[[0,"0 0 0 0 rgba(229, 103, 107, 0.6)"],[.7,"0 0 0 14px rgba(229, 103, 107, 0)"],[.7,Ke]]}};function wc(e){const t=En(),n=e.analysis,i=n.results.map,r=i?.contracts??[],s=r.filter(f=>f.kind==="schema"),o=r.filter(f=>f.kind!=="schema"),a=n.results.flow?.flows??[],d={flow:ae(n,"flow")?a.length:null,data:s.length>0?s.length:null,api:o.length>0?o.length:null,files:i&&i.groups.length>0?e.review.files.length:null,services:ae(n,"impact")?n.results.impact?.services.filter(f=>f.direction!=="self").length??0:null},c=(e.lenses??ek).filter(f=>d[f]!==null);if(c.length===0)return null;const u=t.location.lens,h=u!==null&&c.includes(u)?u:c[0];return l.jsxs("section",{className:"section lenses",id:"lenses",children:[l.jsxs("div",{className:"section-head",children:[l.jsxs("div",{children:[l.jsx("h2",{children:e.title??"See the change"}),l.jsx("p",{children:Sr[h].about})]}),l.jsxs("div",{className:"segmented",role:"group","aria-label":"Choose a lens",children:[l.jsx(pt,{className:"segmented-indicator",selector:"[aria-pressed='true']"}),c.map(f=>l.jsxs("button",{type:"button","aria-pressed":h===f,onClick:()=>t.go({lens:f}),children:[l.jsx(P,{icon:Sr[f].icon,"aria-hidden":"true"}),Sr[f].label,d[f]!==null&&d[f]>0&&l.jsx("span",{className:"segmented-count",children:d[f]})]},f))]})]}),l.jsxs("div",{className:"lens-canvas",children:[h==="flow"&&(n.stages.flow.status==="done"?a.length===0?l.jsx("p",{className:"empty-copy",children:"This pull request does not change a runtime flow."}):l.jsx(Lc,{review:e.review,analysis:n,flows:a,openFile:e.openFile}):l.jsx(Ye,{id:"flow",stage:n.stages.flow})),h==="data"&&l.jsx(ps,{review:e.review,analysis:n,contracts:s,findings:e.findings,openFile:e.openFile,openFinding:e.openFinding}),h==="api"&&l.jsx(ps,{review:e.review,analysis:n,contracts:o,findings:e.findings,openFile:e.openFile,openFinding:e.openFinding}),h==="files"&&i&&l.jsx(fk,{review:e.review,groups:i.groups,findings:e.findings,openFile:e.openFile,openGroup:e.openGroup}),h==="services"&&l.jsx(Qy,{review:e.review,analysis:n,openFile:e.openFile,openFinding:e.openFinding,renderGraph:e.renderImpactGraph})]}),h!=="services"&&l.jsx("p",{className:"lens-source",children:"Lens drew this from the code it read. Open any item to check the lines."}),h==="services"&&n.stages.impact.status==="skipped"&&r.length>0&&l.jsxs("p",{className:"lens-source",children:["Lens still found ",r.length," changed"," ",r.length===1?"surface":"surfaces"," in this repository. See the Data and API lenses."]})]})}function Lc(e){const t=A.useState(null),n=t[0],i=A.useMemo(()=>e.flows.map(r=>({before:gk(r.before),after:bk(r.after,r.before)})),[e.flows]);return e.flows.map((r,s)=>{const o=i[s].before,a=i[s].after,d=nk.filter(k=>[...a.steps,...a.branches].some(b=>b.status===k)),c=o.steps.length>0&&o.steps.map(k=>k.label).join("|")===a.steps.map(k=>k.label).join("|")&&o.branches.map(k=>`${k.from}:${k.label}`).join("|")===a.branches.map(k=>`${k.from}:${k.label}`).join("|"),u=c?a.steps.flatMap((k,b)=>{const y=o.steps[b].note;return y!==k.note?[{label:k.label,before:y,after:k.note}]:[]}):[],h=!c&&o.steps.length>0&&Math.max(o.steps.length,a.steps.length)<=3,f=c?["after"]:["before","after"],p=n!==null&&n.flow===s?n:null,m=p===null?null:p.side==="before"?o:a,v=p===null||m===null?null:p.kind==="step"?m.steps[p.index]:m.branches[p.index];return l.jsxs("div",{className:"flow-compare",children:[l.jsxs("div",{className:"flow-subject",children:[l.jsx("h3",{children:r.subject}),e.flows.length>1&&l.jsxs("span",{children:["Flow ",s+1," of ",e.flows.length]})]}),c&&l.jsxs("p",{className:"flow-before-note",children:[l.jsx("span",{children:"Before"}),u.length===0?"The same steps. Only what happens inside them changed.":u.map(k=>l.jsxs("span",{className:"flow-note-change",children:[l.jsx("b",{children:k.label})," ",l.jsx("s",{children:k.before??"no note"})," → ",k.after??"no note"]},k.label))]}),l.jsx("div",{className:h?"flow-rows flow-rows-side":"flow-rows",children:f.map(k=>k==="before"&&r.before.steps.length===0?l.jsxs("div",{className:"flow-row flow-row-before",children:[l.jsx("span",{className:"flow-row-label",children:"Before"}),l.jsx("p",{className:"flow-none",children:"Did not exist before this pull request."})]},k):l.jsxs("div",{className:`flow-row flow-row-${k}`,children:[l.jsx("span",{className:"flow-row-label",children:k==="before"?"Before":"After"}),l.jsx(dk,{state:k==="before"?o:a,label:`${r.subject}, ${k}`,animate:k==="after",picked:p!==null&&p.side===k?p:null,pick:(b,y)=>t[1](p!==null&&p.side===k&&p.kind===b&&p.index===y?null:{flow:s,side:k,kind:b,index:y})})]},k))}),l.jsxs("div",{className:"flow-foot",children:[l.jsx("p",{className:"flow-caption",children:l.jsx(M,{text:r.after.caption})}),d.length>0&&l.jsx("p",{className:"flow-legend","aria-hidden":"true",children:d.map(k=>l.jsxs("span",{children:[l.jsx("i",{className:`flow-mark flow-mark-${k}`,children:Ai[k].mark}),Ai[k].label]},k))})]}),p!==null&&v&&l.jsx("dialog",{className:"flow-sheet","aria-label":v.label,ref:k=>{k!==null&&!k.open&&k.showModal()},onClose:()=>t[1](null),onClick:k=>{k.target===k.currentTarget&&k.currentTarget.close()},children:l.jsxs("div",{className:"flow-sheet-body",children:[l.jsxs("header",{className:"flow-sheet-head",children:[l.jsxs("p",{className:"flow-detail-title",children:[l.jsx("b",{children:v.label}),l.jsx("span",{children:p.side==="before"?"Before this pull request":"After this pull request"})]}),l.jsx("button",{type:"button",className:"icon-button","aria-label":"Close",onClick:k=>k.currentTarget.closest("dialog").close(),children:l.jsx(P,{icon:Ti,"aria-hidden":"true"})})]}),l.jsx("div",{className:"code-excerpts",children:l.jsx(bc,{review:e.review,analysis:e.analysis,locations:v.locations,openFile:e.openFile})})]})})]},`${s}-${r.subject}`)})}function dk(e){const t=e.state,n=e.animate,i=A.useRef(null);return A.useEffect(()=>{const r=i.current;if(!n||r===null||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;const s=yk(t);let o=[];const a=new ResizeObserver(()=>{o.forEach(c=>c.cancel());const d=Ck(s,_k(r));o=d.tracks.flatMap(c=>{const u=r.querySelector(c.selector);return u===null?[]:[u.animate([{offset:0,[c.property]:c.base??c.frames[0].value},...c.frames.map(h=>({offset:h.time/d.total,[c.property]:h.value})),{offset:1,[c.property]:c.base??c.frames[c.frames.length-1].value}],{duration:d.total,iterations:1/0})]})});return a.observe(r),r.querySelectorAll("[data-flow-step], [data-flow-link]").forEach(d=>a.observe(d)),()=>{a.disconnect(),o.forEach(d=>d.cancel())}},[t,n]),l.jsxs("ol",{className:"flow","aria-label":e.label,ref:i,children:[t.steps.map((r,s)=>{const o=t.branches.map((a,d)=>({branch:a,branchIndex:d})).filter(a=>a.branch.from===s);return l.jsxs("li",{className:"flow-column",children:[l.jsx(Pa,{id:`s${s}`,link:s>0,type:r.link,outcome:null,label:r.label,kind:r.kind,note:r.note,status:r.status,canOpen:r.locations.length>0,open:e.picked?.kind==="step"&&e.picked.index===s,toggle:()=>e.pick("step",s)}),o.length>0&&l.jsx("div",{className:"flow-branches",children:o.map((a,d)=>l.jsxs("div",{className:`flow-branch flow-path-${a.branch.status}`,children:[l.jsxs("span",{className:"flow-out","data-flow-link":`b${s}-${d}-out`,children:[l.jsx(Sc,{type:a.branch.link}),a.branch.out]}),l.jsx(Pa,{id:`b${s}-${d}`,link:!1,type:null,outcome:null,label:a.branch.label,kind:a.branch.kind,note:null,status:a.branch.status,canOpen:a.branch.locations.length>0,open:e.picked?.kind==="branch"&&e.picked.index===a.branchIndex,toggle:()=>e.pick("branch",a.branchIndex)}),a.branch.back&&l.jsxs("span",{className:"flow-back","data-flow-link":`b${s}-${d}-back`,children:[l.jsx("span",{className:"sr-only",children:"Back on "}),a.branch.back]})]},`${a.branchIndex}-${a.branch.label}`))})]},`${s}-${r.label}`)}),n&&l.jsx("li",{className:"flow-dot","aria-hidden":"true"})]})}function Sc(e){if(e.type===null)return null;const t=Cc[e.type];return t.icon===null?null:l.jsxs(l.Fragment,{children:[l.jsx("span",{className:`flow-link-icon flow-link-${e.type}`,title:t.label,"aria-hidden":"true",children:l.jsx(P,{icon:t.icon})}),l.jsxs("span",{className:"sr-only",children:[t.label,": "]})]})}function Pa(e){const t=l.jsxs(l.Fragment,{children:[e.link&&l.jsx(Sc,{type:e.type}),e.outcome&&l.jsx("span",{className:`flow-outcome flow-outcome-${e.outcome}`,"data-flow-outcome":e.id,"aria-hidden":"true",children:l.jsx(P,{icon:e.outcome==="success"?Ct:Ti})}),l.jsxs("span",{children:[e.kind!==null&&l.jsx(P,{className:"flow-kind",icon:ik[e.kind],"aria-hidden":"true"}),e.status!=="same"&&l.jsxs(l.Fragment,{children:[l.jsx("i",{className:`flow-mark flow-mark-${e.status}`,"aria-hidden":"true",children:Ai[e.status].mark}),l.jsxs("span",{className:"sr-only",children:[Ai[e.status].label,": "]})]}),l.jsx("b",{children:e.label})]}),e.note&&l.jsx("small",{children:l.jsx(M,{text:e.note})})]}),n={"data-flow-step":e.id,"data-flow-link":e.link?e.id:void 0};return e.canOpen?l.jsx("button",{type:"button",...n,className:`flow-step flow-step-button flow-${e.status}`,"aria-expanded":e.open,title:"Show the code for this step",onClick:e.toggle,children:t}):l.jsx("div",{className:`flow-step flow-${e.status}`,...n,children:t})}function ck(e){return e.name.split(/(?<=[_./-])/).map((t,n)=>l.jsxs("span",{children:[n>0&&l.jsx("wbr",{}),t]},n))}const uk=/^(GET|POST|PUT|PATCH|DELETE|HEAD|OPTIONS)\s+(.+)$/;function hk(e){const t=uk.exec(e.name);return t?l.jsxs("strong",{className:"surface-route",children:[l.jsx("span",{className:"http-method",children:t[1]}),t[2]]}):l.jsxs("strong",{className:"surface-route",children:[l.jsx("span",{className:"surface-kind",children:l.jsx(P,{icon:e.icon,"aria-hidden":"true"})}),e.name]})}function ps(e){return tk.map(t=>{const n=e.contracts.filter(i=>i.kind===t.kind);return n.length===0?null:l.jsxs("div",{className:"surface-group",children:[l.jsxs("h3",{children:[l.jsx(P,{icon:t.icon,"aria-hidden":"true"}),t.label,l.jsx("span",{children:n.length})]}),l.jsx("ul",{className:"surfaces",children:n.map((i,r)=>{const s=pk(i.change),o=mk(i);return l.jsxs("li",{className:`surface${s?` surface-${s}`:""}`,children:[l.jsxs("div",{className:"surface-head",children:[s&&l.jsxs("span",{className:`change-mark change-${s}`,children:[l.jsx("i",{"aria-hidden":"true",children:Yn[s].mark}),Yn[s].label," ",t.one]}),l.jsx(hk,{name:i.name,icon:t.icon})]}),i.summary&&l.jsx("p",{children:l.jsx(M,{text:i.summary})}),o.length>0&&l.jsx("ul",{className:"surface-items",children:o.map((a,d)=>l.jsxs("li",{className:`change-${a.change}`,children:[l.jsx("i",{"aria-hidden":"true",children:Yn[a.change].mark}),l.jsxs("span",{className:"sr-only",children:[Yn[a.change].label,": "]}),l.jsx("code",{children:l.jsx(ck,{name:a.name})}),a.note&&l.jsx("span",{children:a.note})]},`${d}-${a.name}`))}),l.jsx(jt,{findings:Tt(e.findings,i.locations),openFinding:e.openFinding}),l.jsx(He,{review:e.review,analysis:e.analysis,locations:i.locations,openFile:e.openFile})]},`${r}-${i.name}`)})})]},t.kind)})}function fk(e){const t=e.review.files.map(i=>i.additions+i.deletions),n=Math.max(1,...t);return l.jsx(xc,{label:"Changed files by group",children:l.jsx("ol",{className:"file-map",children:e.groups.map((i,r)=>l.jsxs("li",{children:[l.jsxs("div",{className:"file-map-head",children:[l.jsx("span",{className:"reading-dot",children:r+1}),l.jsxs("div",{children:[l.jsx("b",{children:i.title}),l.jsx("small",{children:l.jsx(M,{text:i.why})})]})]}),l.jsx("ul",{children:i.files.map(s=>{const o=e.review.files.find(c=>c.path===s.path),a=s.path.lastIndexOf("/"),d=e.findings.filter(c=>c.locations.some(u=>u.repository===null&&u.path===s.path)).toSorted((c,u)=>z[c.severity].rank-z[u.severity].rank)[0];return l.jsx("li",{children:l.jsxs("button",{type:"button",className:"file-map-file",title:s.path,disabled:!o,onClick:()=>e.openFile(s.path),children:[l.jsxs("span",{className:"file-map-name",children:[l.jsx("span",{children:s.path.slice(a+1)}),d&&l.jsx(P,{icon:z[d.severity].icon,className:`tone-${z[d.severity].tone}`,"aria-label":`${z[d.severity].label} finding`}),s.note&&l.jsx("span",{className:"tag",children:s.note})]}),l.jsx("span",{className:"file-map-folder",children:s.path.slice(0,a+1)}),o&&l.jsxs("span",{className:"file-map-size",children:[l.jsxs("span",{className:"file-map-bar","aria-hidden":"true",children:[l.jsx("i",{className:"bar-added",style:{width:`${o.additions/n*100}%`}}),l.jsx("i",{className:"bar-removed",style:{width:`${o.deletions/n*100}%`}})]}),l.jsxs("span",{className:"addition",children:["+",o.additions]}),l.jsxs("span",{className:"deletion",children:["−",o.deletions]})]})]})},s.path)})}),l.jsx("button",{type:"button",className:"text-button",onClick:()=>e.openGroup(r),children:"Walk through this group"})]},`${r}-${i.title}`))})})}function pk(e){return e??null}function mk(e){return e.items??[]}function gk(e){return{steps:e.steps.map(t=>({label:t.label,kind:t.kind??null,link:t.link??null,note:t.note,status:"same",locations:Ii(t)})),branches:e.branches.map(t=>({from:t.from,label:t.label,kind:t.kind??null,link:t.link??null,out:t.out,back:t.back,status:"same",locations:Ii(t)}))}}function bk(e,t){return{steps:e.steps.map(n=>({label:n.label,kind:n.kind??null,link:n.link??null,note:n.note,status:Da(n.changed,t.steps.find(i=>i.label===n.label)),locations:Ii(n)})),branches:e.branches.map(n=>({from:n.from,label:n.label,kind:n.kind??null,link:n.link??null,out:n.out,back:n.back,status:Da(n.changed,t.branches.find(i=>Ma(t,i)===Ma(e,n))),locations:Ii(n)}))}}function vk(e){return e.link===null?null:e.link==="failure"?"error":e.back===null||e.link==="skip"?"success":null}function yk(e){const t=e.steps.length-1,n=(r,s,o)=>e.steps.slice(r+1,s+1).flatMap((a,d)=>{const c=r+1+d;return[{link:`s${c}`,type:a.link},{step:`s${c}`,effect:kk(a.link,o&&c===s)}]}),i=[[{step:"s0",effect:t===0?"success":"pass"},...n(0,t,!0)]];return e.steps.forEach((r,s)=>{e.branches.filter(o=>o.from===s).forEach((o,a)=>{const d=`b${s}-${a}`,c=[{step:"s0",effect:"pass"},...n(0,s,!1)];if(o.back===null){c.push({link:`${d}-out`,type:o.link},{step:d,effect:vk(o)??"pass"}),i.push(c);return}const u=o.link==="retry"?2:1;for(let h=1;h<=u;h+=1)c.push({link:`${d}-out`,type:o.link},{step:d,effect:o.link===null?"pass":sk[o.link]},{link:`${d}-back`,type:o.link},{step:`s${s}`,effect:xk(o.link,h===u&&s===t)});c.push(...n(s,t,!0)),i.push(c)})}),i}function kk(e,t){return t?"success":e===null?"pass":rk[e]}function xk(e,t){return t?"success":e==="retry"?"retry":"pass"}function _k(e){const t=e.getBoundingClientRect(),n=(r,s)=>({x:r-t.left+e.scrollLeft,y:s-t.top+e.scrollTop}),i={};return e.querySelectorAll("[data-flow-link]").forEach(r=>{const s=r.getBoundingClientRect(),o=r.dataset.flowLink;if(o.startsWith("s")){const a=s.top+s.height/2;i[o]=[n(s.left-37,a),n(s.left-1,a)]}else if(o.endsWith("-out"))i[o]=[n(s.left+20.5,s.top),n(s.left+20.5,s.bottom)];else if(o.endsWith("-back"))i[o]=[n(s.right-20.5,s.bottom),n(s.right-20.5,s.top)];else throw new Error(`Unknown flow link ${o}`)}),i}function Ck(e,t){const n=new Map,i=(s,o,a)=>{const d=`${s} ${o}`;return n.has(d)||n.set(d,{selector:s,property:o,base:a,frames:[]}),n.get(d).frames};let r=0;for(const s of e){for(const o of s){if("link"in o){const c=t[o.link];if(c===void 0)continue;const[u,h]=c,f=Math.hypot(h.x-u.x,h.y-u.y)/(ok*(o.type===null?1:Cc[o.type].speed)),p=Math.atan2(h.y-u.y,h.x-u.x)*180/Math.PI;i(".flow-dot","transform",null).push({time:r,value:`translate(${u.x}px, ${u.y}px) rotate(${p}deg)`},{time:r+f,value:`translate(${h.x}px, ${h.y}px) rotate(${p}deg)`}),i(".flow-dot","opacity","0").push({time:r,value:"0"},{time:r+Na,value:"1"},{time:r+f-Na,value:"1"},{time:r+f,value:"0"}),r+=f;continue}const a=`[data-flow-step="${o.step}"]`,d=lk[o.effect];if(i(a,"boxShadow",Ke).push(...d.shadow.map(([c,u])=>({time:r+d.duration*c,value:u}))),o.effect==="success"||o.effect==="error"){const c=`[data-flow-outcome="${o.step}"]`;i(c,"opacity","0").push({time:r,value:"0"},{time:r+180,value:"1"},{time:r+d.duration-250,value:"1"},{time:r+d.duration,value:"0"}),i(c,"transform","scale(0.6)").push({time:r,value:"scale(0.6)"},{time:r+180,value:"scale(1)"},{time:r+d.duration,value:"scale(1)"})}o.effect==="error"&&i(a,"transform","translateX(0px)").push({time:r,value:"translateX(0px)"},{time:r+60,value:"translateX(-2px)"},{time:r+120,value:"translateX(2px)"},{time:r+180,value:"translateX(-2px)"},{time:r+240,value:"translateX(0px)"}),r+=d.duration}r+=ak}return{tracks:[...n.values()],total:r}}function Ii(e){return e.locations??[]}function Da(e,t){return t===void 0?"added":e||t.changed?"changed":"same"}function Ma(e,t){return`${e.steps[t.from]?.label}|${t.label}`}const tn={untested:{label:"Not tested",tone:"bad",rank:0},unknown:{label:"Lens cannot tell",tone:"neutral",rank:1},covered:{label:"Covered",tone:"ok",rank:2}},nn={blocker:{label:"Blocker",tone:"bad",icon:Xe,rank:0},warning:{label:"Warning",tone:"warn",icon:Cn,rank:1},ok:{label:"OK",tone:"ok",icon:ji,rank:2}};function wk(e){const t=e.analysis?.results.tests,n=t?.behaviors.filter(i=>i.coverage==="covered").length??0;return l.jsxs("div",{className:"tab-stack",children:[ae(e.analysis,"tests")&&l.jsxs("section",{className:"section",children:[l.jsxs("div",{className:"section-head",children:[l.jsx("h2",{children:"New behavior and its tests"}),l.jsx("p",{children:t?`${n} of ${t.behaviors.length} behaviors have a test.${n<t.behaviors.length?" Gaps first.":""}`:"One row for each thing the code now does"})]}),l.jsx("div",{className:"tests-lead",children:l.jsx(jt,{findings:e.analysis?.results.findings?.findings.filter(i=>i.kind==="test")??[],openFinding:e.openFinding})}),l.jsx(rt,{analysis:e.analysis,stage:"tests",children:()=>{const i=e.analysis;return i?i.results.tests?.behaviors.length===0?l.jsx("p",{className:"empty-copy",children:"This pull request adds no behavior to test."}):l.jsx("ul",{className:"checklist",children:i.results.tests?.behaviors.toSorted((r,s)=>tn[r.coverage].rank-tn[s.coverage].rank).map(r=>l.jsxs("li",{className:r.coverage==="covered"?"covered":void 0,children:[l.jsx(zi,{tone:tn[r.coverage].tone,children:l.jsx("span",{className:"sr-only",children:tn[r.coverage].label})}),l.jsxs("div",{children:[l.jsx("strong",{children:l.jsx(M,{text:r.text})}),r.coverage!=="covered"&&l.jsxs("p",{children:[l.jsxs("b",{children:[tn[r.coverage].label,"."]})," ",l.jsx(M,{text:r.detail})]}),l.jsx(He,{review:e.review,analysis:i,locations:r.tests,openFile:e.openFile})]})]},r.behaviorId))}):null}})]}),e.checks]})}function Lk(e){const t=Sk(e.state);return l.jsx(rt,{analysis:e.analysis,stage:"rollout",title:t.checks,children:()=>{const n=e.analysis?.results.rollout;if(!n)return null;const i=n.checks.some(r=>r.state==="blocker")?" Blockers first.":n.checks.some(r=>r.state==="warning")?" Warnings first.":"";return l.jsxs("div",{className:"tab-stack",children:[l.jsxs("section",{className:"section",children:[l.jsxs("div",{className:"section-head",children:[l.jsx("h2",{children:t.checks}),l.jsxs("p",{children:["Things a diff does not show.",i]})]}),n.checks.length===0?l.jsx("p",{className:"empty-copy",children:"Nothing to check outside the diff."}):l.jsx("ul",{className:"checklist",children:n.checks.toSorted((r,s)=>nn[r.state].rank-nn[s.state].rank).map((r,s)=>l.jsxs("li",{children:[l.jsxs("span",{className:`status tone-${nn[r.state].tone}`,children:[l.jsx(P,{icon:nn[r.state].icon,"aria-hidden":"true"}),r.state==="ok"&&l.jsx("span",{className:"sr-only",children:"OK"})]}),l.jsxs("div",{children:[l.jsx("strong",{children:r.title}),l.jsxs("p",{children:[r.state!=="ok"&&l.jsxs("b",{children:[nn[r.state].label,"."]})," ",l.jsx(M,{text:r.detail})]})]})]},s))})]}),l.jsxs("section",{className:"section",children:[l.jsxs("div",{className:"section-head",children:[l.jsx("h2",{children:t.steps}),l.jsx("p",{children:"Worked out from who reads what"})]}),n.steps.length===0?l.jsx("p",{className:"empty-copy",children:"No special order needed."}):l.jsx("ol",{className:"ship-steps",children:n.steps.map((r,s)=>l.jsxs("li",{children:[l.jsx("strong",{children:l.jsx(M,{text:r.title})}),l.jsx("p",{children:l.jsx(M,{text:r.detail})})]},s))})]})]})}})}function Sk(e){if(e==="open")return{checks:"Before you deploy",steps:"A safe order to ship"};if(e==="merged"||e==="closed")return{checks:"Deploy checks",steps:"Release order"};throw new Error(`Unknown pull request state: ${e}`)}const Oa={break:"Breaking",bug:"Bug",security:"Security",risk:"Risk",decide:"Needs a decision",test:"Not tested",scope:"Not asked for",unknown:"Lens cannot tell"},Ek=["high","medium","low"],Rk={confirmed:"Confirmed in the code",unproven:"Not proven",unchecked:"Not fact-checked"},Ak={bad:Xe,warn:Cn,ok:ji,info:Ya,neutral:wn},Fa=["Will break things or lose data","Likely breaks something","Has problems to fix","Safe after minor fixes","Safe as is"],Ec=38,Er=2*Math.PI*Ec,Ha=7;function Ik(e){const t=En(),n=e.analysis;if(!n)return l.jsx(Ye,{id:"workspace",stage:null});const i=n.stages.verdict.status==="done"||n.stages.verdict.status==="failed",r=n.results.findings?.findings??[],s=i?n.results.verdict?.confidence??null:null,o=i?Pk(e.review,n,r):null,a=n.results.tests?.behaviors.filter(m=>m.coverage==="untested").length??0,d=n.results.rollout?.checks.filter(m=>m.state==="blocker").length??0,c=n.results.scope?.asked.filter(m=>m.status!=="built").length??0,u=n.results.decisions?.decisions.length??0,h=[{id:"findings",label:"Findings",count:r.length,icon:Ju}];ae(n,"scope")&&h.push({id:"asked",label:"Asked vs built",count:c,icon:Su}),h.push({id:"tests",label:"Tests",count:a,icon:th}),ae(n,"rollout")&&h.push({id:"rollout",label:"Rollout",count:d,icon:Zu}),ae(n,"decisions")&&h.push({id:"decide",label:"Decide",count:u,icon:ih});const f=t.location.section,p=h.some(m=>m.id===f)?f:"findings";return l.jsxs("div",{className:"overview",children:[l.jsxs("div",{className:"overview-top",children:[l.jsxs("section",{className:"verdict","aria-label":"Verdict",children:[o?l.jsxs("p",{className:`verdict-status tone-${o.tone}`,children:[l.jsx(P,{icon:Ak[o.tone],"aria-hidden":"true"}),l.jsx("b",{children:o.text})]}):l.jsxs("p",{className:"verdict-status",children:[l.jsx("span",{className:"loading-indicator tiny"}),"Lens is checking the change"]}),n.results.verdict&&l.jsx("h2",{className:"verdict-headline",children:l.jsx(M,{text:n.results.verdict.headline})}),i&&l.jsx(Rc,{analysis:n}),!i&&l.jsx(Ms,{analysis:n}),n.stages.verdict.status==="failed"&&l.jsx(Ye,{id:"verdict",stage:n.stages.verdict})]}),s!==null&&l.jsx(Tk,{confidence:s,details:jk(e.review,n.results,r)})]}),l.jsxs("div",{className:"risks-main",children:[l.jsxs("div",{className:"segmented risks-nav",role:"group","aria-label":"Risk sections",children:[l.jsx(pt,{className:"segmented-indicator",selector:"[aria-pressed='true']"}),h.map(m=>l.jsxs("button",{type:"button","aria-pressed":p===m.id,onClick:()=>t.go({section:m.id}),children:[l.jsx(P,{icon:m.icon,"aria-hidden":"true"}),m.label,m.count>0&&l.jsx("span",{className:"segmented-count",children:m.count})]},m.id))]}),p==="findings"&&l.jsx("section",{className:"section",id:"findings",children:n.stages.findings.status==="done"?l.jsx(Ok,{review:e.review,analysis:n,findings:r,expanded:e.expanded,setExpanded:e.setExpanded,openGroup:e.openGroup,openFile:e.openFile}):l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"section-head",children:l.jsx("h2",{children:"Findings"})}),l.jsx(Ye,{id:"findings",stage:n.stages.findings,quiet:!0})]})}),p==="tests"&&l.jsx(wk,{review:e.review,analysis:n,openFile:e.openFile,openFinding:e.openFinding,checks:e.checks}),p==="rollout"&&l.jsx(Lk,{analysis:n,state:e.review.pullRequest.state}),p==="asked"&&e.asked,p==="decide"&&e.decide]})]})}function Rc(e){const t=e.analysis,n=t.repositoryConfig?.focus?.trim(),i=t.settings.focus.trim(),r=uc(t.stages.workspace.startedAt,t.stages.verdict.completedAt);return l.jsxs("div",{className:"review-facts",children:[n&&l.jsxs("p",{children:[l.jsxs("span",{children:["Focus from ",".uigraph.lens.yml"]}),n]}),i&&l.jsxs("p",{children:[l.jsx("span",{children:"Your focus"}),i]}),r&&l.jsxs("p",{className:"review-usage",children:["Reviewed in ",r,t.tokens!==null&&` · ${Cy(t.tokens)} tokens`]})]})}function Tk(e){const[t,n]=A.useState(!1);return A.useEffect(()=>{if(!t)return;const i=r=>{r.key==="Escape"&&n(!1)};return document.addEventListener("keydown",i),()=>document.removeEventListener("keydown",i)},[t]),l.jsxs("div",{className:"confidence",onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:[l.jsx("div",{className:`confidence-ring tone-${Nk(e.confidence)}`,role:"meter",tabIndex:0,"aria-label":"Confidence that this is safe to merge","aria-valuemin":1,"aria-valuemax":5,"aria-valuenow":e.confidence,"aria-valuetext":`${e.confidence} of 5. ${Fa[e.confidence-1]}`,"aria-describedby":"confidence-details",onFocus:()=>n(!0),onBlur:()=>n(!1),children:l.jsxs("svg",{viewBox:"0 0 96 96","aria-hidden":"true",children:[[1,2,3,4,5].map(i=>l.jsx("circle",{className:i<=e.confidence?"filled":void 0,cx:"48",cy:"48",r:Ec,strokeDasharray:`${Er/5-Ha} ${Er*4/5+Ha}`,strokeDashoffset:-((i-1)*Er)/5,transform:"rotate(-90 48 48)"},i)),l.jsxs("text",{x:"48",y:"50",textAnchor:"middle",children:[e.confidence,"/5"]}),l.jsx("text",{className:"confidence-caption",x:"48",y:"64",textAnchor:"middle",children:"confidence"})]})}),l.jsxs("div",{id:"confidence-details",className:"confidence-popover",role:"tooltip",hidden:!t,children:[l.jsxs("p",{children:[l.jsxs("b",{children:[e.confidence," of 5."]})," ",Fa[e.confidence-1],"."]}),l.jsx("h3",{children:e.details.title}),l.jsx("ul",{children:e.details.reasons.map(i=>l.jsxs("li",{className:`tone-${i.tone}`,children:[l.jsx(P,{icon:i.icon,"aria-hidden":"true"}),l.jsx("span",{children:i.text})]},i.text))})]})]})}function jk(e,t,n){const i=e.checks.items.filter(An).length,r=t.rollout?.checks.filter(c=>c.state==="blocker").length??0,s=t.impact?.services.filter(c=>c.direction!=="self"&&(c.effect==="break"||c.effect==="inherit")).length??0,o=t.impact?.contracts.filter(c=>c.effect==="breaking").length??0,a=[];i>0&&a.push({tone:"bad",icon:Xe,text:`${i} failed CI ${i===1?"check":"checks"}`});for(const c of Ek){const u=n.filter(h=>h.severity===c).length;u>0&&a.push({tone:z[c].tone,icon:z[c].icon,text:`${u} ${z[c].label.toLowerCase()} ${u===1?"finding":"findings"}`})}if(r>0&&a.push({tone:"bad",icon:Xe,text:`${r} rollout ${r===1?"blocker":"blockers"}`}),s>0&&a.push({tone:"bad",icon:Xe,text:`${s} ${s===1?"service":"services"} may break`}),o>0&&a.push({tone:"bad",icon:Xe,text:`${o} breaking ${o===1?"contract change":"contract changes"}`}),a.length>0)return{title:"What pulls it down",reasons:a};const d=[];return t.findings&&d.push({tone:"ok",icon:Ct,text:"No findings"}),e.checks.items.length>0&&d.push({tone:"ok",icon:Ct,text:"No failed CI checks"}),t.impact&&d.push({tone:"ok",icon:Ct,text:"Nothing breaks other services or contracts"}),t.rollout&&d.push({tone:"ok",icon:Ct,text:"No rollout blockers"}),{title:"What supports it",reasons:d}}function Nk(e){if(e===1||e===2)return"bad";if(e===3)return"warn";if(e===4||e===5)return"ok";throw new Error(`Unknown confidence: ${e}`)}function Pk(e,t,n){const i=t.results,r=n.some(c=>c.severity==="high")||e.checks.items.some(An)||(i.rollout?.checks.some(c=>c.state==="blocker")??!1)||(i.impact?.services.some(c=>c.direction!=="self"&&(c.effect==="break"||c.effect==="inherit"))??!1)||(i.impact?.contracts.some(c=>c.effect==="breaking")??!1)||(i.scope?.asked.some(c=>c.status==="missing")??!1),s=!i.findings||!i.scope&&ae(t,"scope")||!i.impact&&t.stages.impact.status!=="skipped"||!i.tests&&ae(t,"tests")||!i.rollout&&ae(t,"rollout"),o=i.rollout?.checks.some(c=>c.state==="warning")??!1,a=r?"bad":n.length>0||s||o?"warn":"ok",d=e.pullRequest.state;if(d==="merged")return{tone:a,text:n.length?`Merged with ${n.length} ${n.length===1?"finding":"findings"} worth a follow-up`:"Merged with no findings"};if(d==="closed")return{tone:"neutral",text:"Closed without merging"};if(d==="open")return r?{tone:a,text:"Not ready to merge"}:n.length>0?{tone:a,text:"Check the findings before you merge"}:s?{tone:a,text:"Lens could not finish every check"}:o?{tone:a,text:"Check the rollout warnings before you merge"}:{tone:a,text:"Ready to merge"};throw new Error(`Unknown pull request state: ${d}`)}function Dk(e,t){const n=t.locations.map(i=>{const r=qy(e,i);return r?`[\`${ja(i)}\`](${r})`:`\`${ja(i)}\``}).join(" · ");return[`**${z[t.severity].label} · ${t.title}**`,"",t.body,"",`**Suggested fix:** ${t.fix}`,n?`
|
|
351
|
+
${n}`:"","","<sub>Found with UIGraph Lens</sub>"].filter((i,r,s)=>!(i===""&&s[r-1]==="")).join(`
|
|
352
|
+
`)}function Mk(e){const t=A.useState("idle"),n=t[0];async function i(){try{await navigator.clipboard.writeText(Dk(e.review,e.finding)),t[1]("copied")}catch{t[1]("failed")}}return l.jsx("button",{type:"button",className:"text-button",onClick:i,children:n==="copied"?"Copied":n==="failed"?"Copy did not work":"Copy as review comment"})}function Ok(e){const t=En().location.finding,n=A.useState("idle"),i=n[0],r=n[1],s=e.review.checks.items.filter(An),o=e.findings.toSorted((h,f)=>z[h.severity].rank-z[f.severity].rank),a=e.expanded===null?o.slice(0,1).map(h=>h.id):e.expanded,d=e.analysis.results.findings?.dropped??[],c=[`Fix these review findings for ${e.review.repository.fullName}${e.review.pullRequest.number===null?"":`#${e.review.pullRequest.number}`} (${e.review.pullRequest.title}) on ${e.review.pullRequest.head.branch}. Keep each fix in its own commit.`,...e.findings.map((h,f)=>[`${f+1}. [${Oa[h.kind]}] ${h.title}`,` ${h.body}`,` Fix: ${h.fix}`,h.locations.length?` Where: ${h.locations.map(p=>`${p.repository?`${p.repository}/`:""}${p.path}:${p.startLine}-${p.endLine}`).join(", ")}`:""].filter(Boolean).join(`
|
|
353
|
+
`))].join(`
|
|
354
|
+
|
|
355
|
+
`);A.useEffect(()=>{t!==null&&document.getElementById(`finding-${t}`)?.scrollIntoView({block:"center"})},[t]);async function u(){try{await navigator.clipboard.writeText(c),r("copied")}catch{r("failed")}}return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:"section-head",children:[l.jsxs("div",{children:[l.jsx("h2",{children:"Findings"}),(e.findings.length>0||s.length>0)&&l.jsxs("p",{children:[e.findings.length," ",e.findings.length===1?"finding":"findings",s.length>0?`, ${s.length} failed CI ${s.length===1?"check":"checks"}`:null,". Most serious first."]})]}),e.findings.length>0&&l.jsxs("button",{type:"button",className:"action-button primary",onClick:u,children:[l.jsx(P,{icon:i==="copied"?Ct:Iu,"aria-hidden":"true"}),i==="copied"?`Copied ${e.findings.length} ${e.findings.length===1?"finding":"findings"}`:"Copy fix prompt"]})]}),i==="failed"&&l.jsxs("div",{className:"fix-prompt-fallback",children:[l.jsx("label",{htmlFor:"fix-prompt",children:"Copying did not work here. Copy the text by hand."}),l.jsx("textarea",{id:"fix-prompt",readOnly:!0,value:c,onFocus:h=>h.target.select()})]}),e.findings.length===0&&s.length===0&&l.jsx("p",{className:"empty-copy",children:"Lens found nothing that needs a change."}),l.jsxs("div",{className:"findings",children:[s.map(h=>l.jsx("article",{className:"finding finding-high",children:l.jsxs("div",{className:"finding-summary",children:[l.jsxs("span",{className:"severity",children:[l.jsx(P,{icon:Xe,"aria-hidden":"true"}),"Failed"]}),h.githubUrl?l.jsx("a",{className:"finding-title",href:h.githubUrl,target:"_blank",rel:"noreferrer",children:h.name}):l.jsx("span",{className:"finding-title",children:h.name}),l.jsx("span",{className:"finding-meta",children:"CI check"})]})},`check-${h.id}`)),o.map(h=>{const f=h.group;return l.jsx("article",{id:`finding-${h.id}`,className:`finding finding-${h.severity}`,children:l.jsxs("details",{open:a.includes(h.id),onToggle:p=>{const m=p.currentTarget.open;m&&!a.includes(h.id)&&e.setExpanded([...a,h.id]),!m&&a.includes(h.id)&&e.setExpanded(a.filter(v=>v!==h.id))},children:[l.jsxs("summary",{className:"finding-summary",children:[l.jsxs("span",{className:"severity",children:[l.jsx(P,{icon:z[h.severity].icon,"aria-hidden":"true"}),z[h.severity].label]}),l.jsx("span",{className:"finding-title",children:l.jsx(M,{text:h.title})}),l.jsxs("span",{className:"finding-meta",children:[Oa[h.kind],". ",Rk[h.check]]}),l.jsx(P,{icon:mt,className:"finding-caret","aria-hidden":"true"})]}),l.jsxs("div",{className:"finding-body",children:[l.jsx("p",{children:l.jsx(M,{text:h.body})}),l.jsxs("p",{className:"finding-fix",children:[l.jsx("b",{children:"Fix"})," ",l.jsx(M,{text:h.fix})]}),l.jsx(He,{review:e.review,analysis:e.analysis,locations:h.locations,openFile:e.openFile}),l.jsxs("div",{className:"finding-footer",children:[l.jsx("span",{className:"finding-source",children:h.source}),l.jsx(Mk,{review:e.review,finding:h}),f!==null&&l.jsx("button",{type:"button",className:"text-button",onClick:()=>e.openGroup(f,h.id),children:"Read it in context"})]})]})]})},h.id)})]}),d.length>0&&l.jsxs("details",{className:"dropped-findings",children:[l.jsxs("summary",{children:["The fact-check removed ",d.length," ",d.length===1?"finding":"findings"," the code contradicts"]}),l.jsx("ul",{children:d.map((h,f)=>l.jsxs("li",{children:[l.jsx("strong",{children:l.jsx(M,{text:h.title})}),l.jsx("span",{children:l.jsx(M,{text:h.reason})})]},f))})]})]})}const $a={asana:K2,clickup:X2,github:Q2,gitlab:ey,jira:oc,linear:ac,notion:ry,shortcut:oy,trello:ly},ms={missing:{label:"Not found",tone:"bad",rank:0},different:{label:"Built differently",tone:"warn",rank:1},partial:{label:"Partly built",tone:"warn",rank:2},built:{label:"Built",tone:"ok",rank:3}},Va={differs:{label:"Differs from the task",tone:"warn"},author:{label:"Author's choice",tone:"info"},asked:{label:"Asked for",tone:"ok"}},Fk=["differs","author","asked"],ei={new:{mark:"+",label:"New",change:"added"},changed:{mark:"~",label:"Changed",change:"changed"},removed:{mark:"−",label:"Removed",change:"removed"}},Ba={covered:{label:"Has a test",tone:"ok"},untested:{label:"No test",tone:"warn"},unknown:{label:"Test unknown",tone:"neutral"}};function Hk(e){const t=e.analysis;if(!t)return l.jsx(Ye,{id:"workspace",stage:null});const n=t.stages.verdict.status==="done"||t.stages.verdict.status==="failed",i=t.results.map,r=t.results.findings?.findings??[],s=i?.terms??[];return l.jsxs("div",{className:"overview understand",children:[l.jsxs("section",{className:"lead","aria-label":"Summary",children:[l.jsx("p",{className:"eyebrow",children:"What this pull request does"}),l.jsx("h2",{className:"lead-summary",children:l.jsx(M,{text:i?.summary??"Lens is reading the pull request and its repository."})}),i?.background&&l.jsxs("p",{className:"lead-background",children:[l.jsx("b",{children:"Where this lives."})," ",l.jsx(M,{text:i.background})]}),s.length>0&&l.jsx("dl",{className:"terms",children:s.map(o=>l.jsxs("div",{children:[l.jsx("dt",{children:o.term}),l.jsx("dd",{children:l.jsx(M,{text:o.meaning})})]},o.term))}),t.stages.map.status==="failed"&&l.jsx(Ye,{id:"map",stage:t.stages.map}),n?l.jsx(Rc,{analysis:t}):l.jsx(Ms,{analysis:t})]}),l.jsxs("div",{className:"overview-main",children:[l.jsxs("section",{className:"section",id:"behaviors",children:[l.jsx("div",{className:"section-head",children:l.jsxs("div",{children:[l.jsx("h2",{children:"What behaves differently"}),l.jsx("p",{children:i?`${i.behaviors.length} ${i.behaviors.length===1?"change":"changes"} at runtime. Most important first.`:"One card for each thing the code now does differently"})]})}),l.jsx(rt,{analysis:t,stage:"map",quiet:!0,children:()=>!i||i.behaviors.length===0?l.jsx("p",{className:"empty-copy",children:"This pull request does not change runtime behavior."}):l.jsx("ul",{className:"behaviors",children:i.behaviors.map(o=>{const a=o.kind,d=t.results.tests?.behaviors.find(c=>c.behaviorId===o.id)?.coverage;return l.jsxs("li",{className:a?`behavior behavior-${ei[a].change}`:"behavior",children:[l.jsxs("div",{className:"behavior-head",children:[a?l.jsxs("span",{className:`change-mark change-${ei[a].change}`,children:[l.jsx("i",{"aria-hidden":"true",children:ei[a].mark}),ei[a].label]}):l.jsx("span",{}),d&&l.jsx("button",{type:"button",className:`coverage-chip tone-${Ba[d].tone}`,onClick:()=>e.openRisks("tests"),children:Ba[d].label})]}),l.jsx("strong",{children:l.jsx(M,{text:o.text})}),o.before&&l.jsxs("p",{className:"behavior-before",children:[l.jsx("span",{children:"Before"}),l.jsx(M,{text:o.before})]}),l.jsx(He,{review:e.review,analysis:t,locations:o.locations,openFile:e.openFile})]},o.id)})})})]}),i&&l.jsx(wc,{review:e.review,analysis:t,findings:r,openFile:e.openFile,openFinding:e.openFinding,openGroup:e.openGroup,renderImpactGraph:e.renderImpactGraph}),ae(t,"scope")&&l.jsx(Ic,{review:e.review,analysis:t,findings:r,openFile:e.openFile,openFinding:e.openFinding}),l.jsx($k,{review:e.review,analysis:t,findings:r,openFinding:e.openFinding,openRisks:e.openRisks}),ae(t,"decisions")&&l.jsx(Ac,{review:e.review,analysis:t,findings:r,openFile:e.openFile,openFinding:e.openFinding})]})]})}function Ac(e){const t=e.analysis.results.decisions?.decisions??[];return l.jsxs("section",{className:"section",children:[l.jsxs("div",{className:"section-head",children:[l.jsx("h2",{children:"Decide"}),l.jsx("p",{children:"Values the code picked. Agree with them before you merge."})]}),l.jsx(rt,{analysis:e.analysis,stage:"decisions",quiet:!0,children:()=>t.length===0?l.jsx("p",{className:"empty-copy",children:"No choices need a second look."}):Fk.map(n=>{const i=t.filter(r=>r.origin===n);return i.length===0?null:l.jsxs("div",{className:"choice-group",children:[l.jsxs("h3",{children:[l.jsx(zi,{tone:Va[n].tone,children:Va[n].label}),l.jsx("span",{children:i.length})]}),l.jsx("dl",{className:"choices",children:i.map((r,s)=>l.jsxs("div",{children:[l.jsx("dt",{children:r.topic}),l.jsxs("dd",{children:[l.jsx("span",{children:l.jsx(M,{text:r.value})}),l.jsx(jt,{findings:Tt(e.findings,r.locations),openFinding:e.openFinding})]}),l.jsx("dd",{className:"choice-evidence",children:l.jsx(He,{review:e.review,analysis:e.analysis,locations:r.locations,openFile:e.openFile})})]},s))})]},n)})})]})}function $k(e){const t=e.analysis,n=t.stages.findings.status==="done",i=e.findings.toSorted((d,c)=>z[d.severity].rank-z[c.severity].rank),r=e.review.checks.items.filter(An).length,s=t.results.tests?.behaviors.filter(d=>d.coverage==="untested").length??0,o=t.results.rollout?.checks.filter(d=>d.state==="blocker").length??0,a=[];return r>0&&a.push({section:"tests",text:`${r} failed CI ${r===1?"check":"checks"}`}),s>0&&a.push({section:"tests",text:`${s} new ${s===1?"behavior has":"behaviors have"} no test`}),o>0&&a.push({section:"rollout",text:`${o} ${o===1?"thing":"things"} to do before you deploy`}),l.jsxs("section",{className:"section",id:"check",children:[l.jsxs("div",{className:"section-head",children:[l.jsxs("div",{children:[l.jsx("h2",{children:"Things to check"}),l.jsx("p",{children:"The few places that need a careful look. Details are in Risks."})]}),l.jsxs("button",{type:"button",className:"action-button",onClick:()=>e.openRisks("findings"),children:["Open Risks",l.jsx(P,{icon:mt,"aria-hidden":"true"})]})]}),!n&&l.jsx(Ye,{id:"findings",stage:t.stages.findings,quiet:!0}),n&&i.length===0&&a.length===0&&l.jsx("p",{className:"empty-copy",children:"Lens found nothing that needs a careful look."}),(i.length>0||a.length>0)&&l.jsxs("ul",{className:"check-rows",children:[i.map(d=>l.jsx("li",{children:l.jsx(Rn,{finding:d,openFinding:e.openFinding})},d.id)),a.map(d=>l.jsx("li",{children:l.jsx("button",{type:"button",className:"check-extra",onClick:()=>e.openRisks(d.section),children:d.text})},d.text))]})]})}function Ic(e){const t=e.analysis.results.map?.intent,n=e.analysis.results.scope,i=n?.unasked??[],r=e.review.pullRequest.body?.trim();return l.jsxs("section",{className:"section",id:"scope",children:[l.jsxs("div",{className:"section-head",children:[l.jsx("h2",{children:t&&t.issues.length>0?`Asked in ${t.issues.map(s=>s.key).join(", ")}, and what was built`:"What was asked, and what was built"}),t&&t.source!=="issue"&&l.jsxs("a",{className:"action-button intent-connect",href:"https://console.uigraph.app",target:"_blank",rel:"noreferrer",title:"Lens then compares the change with the ticket, not only the description",children:[l.jsx(ac,{"aria-hidden":"true"}),l.jsx(oc,{"aria-hidden":"true"}),"Connect Linear or Jira"]}),t&&l.jsx("p",{children:Bk(t)})]}),t&&l.jsxs("div",{className:"intent",children:[t.issues.length>0&&l.jsx("div",{className:"intent-issues",children:t.issues.map(s=>l.jsx(Vk,{issue:s},s.key))}),l.jsx("p",{children:l.jsx(M,{text:t.statement})}),t.guess&&l.jsx("p",{className:"guess-note",children:"Link the issue or describe the task in the pull request for a better comparison."}),r&&l.jsxs("details",{className:"intent-description",children:[l.jsx("summary",{children:"Read the pull request description"}),l.jsx("div",{className:"markdown-body",children:l.jsx(nu,{remarkPlugins:[iu],components:{a:Uk},children:r})})]})]}),l.jsx(rt,{analysis:e.analysis,stage:"scope",quiet:!0,children:()=>{if(!n)return null;const s=n.asked.toSorted((a,d)=>ms[a.status].rank-ms[d.status].rank),o=s.filter(a=>a.status==="built").length;return l.jsxs(l.Fragment,{children:[s.length>0&&l.jsxs(l.Fragment,{children:[l.jsx("p",{className:"asked-count",children:o===s.length?`All ${o} built as asked`:`${o} of ${s.length} built as asked. Gaps first.`}),l.jsx("ul",{className:"checklist",children:s.map(a=>l.jsx(Wk,{review:e.review,analysis:e.analysis,item:a,findings:e.findings,openFile:e.openFile,openFinding:e.openFinding},a.criterionId))})]}),l.jsxs("div",{className:"unasked",children:[l.jsxs("div",{className:"unasked-head",children:[l.jsx("h3",{children:"Done without being asked"}),l.jsx("p",{children:"Changes in the diff that the task does not need"})]}),i.length===0?l.jsx("p",{className:"empty-copy",children:"Nothing in the diff is outside the task."}):l.jsx("ul",{className:"rows",children:i.map((a,d)=>l.jsxs("li",{children:[l.jsxs("div",{className:"row-top",children:[l.jsx("strong",{children:l.jsx(M,{text:a.text})}),l.jsx(zi,{tone:a.tone,children:a.effect})]}),a.mentioned&&l.jsx("small",{children:"The description mentions it, but the task does not need it."}),l.jsx(jt,{findings:Tt(e.findings,a.locations),openFinding:e.openFinding}),l.jsx(He,{review:e.review,analysis:e.analysis,locations:a.locations,openFile:e.openFile})]},d))})]})]})}})]})}function Vk(e){const t=e.issue.tracker,n=t!==null&&Object.hasOwn($a,t.toLowerCase())?$a[t.toLowerCase()]:null,i=l.jsxs(l.Fragment,{children:[n?l.jsx(n,{"aria-hidden":"true"}):l.jsx(P,{icon:nh,"aria-hidden":"true"}),t&&l.jsx("span",{children:t}),l.jsx("span",{className:"intent-issue-key",children:e.issue.key}),l.jsx("span",{className:"intent-issue-title",children:e.issue.title}),e.issue.url&&l.jsx(P,{icon:zt,"aria-hidden":"true"})]});return e.issue.url===null?l.jsx("span",{className:"intent-issue",children:i}):l.jsx("a",{className:"intent-issue",href:e.issue.url,target:"_blank",rel:"noreferrer",children:i})}function Bk(e){if(e.guess)return"Guessed from the code";switch(e.source){case"issue":return e.issues.length>0?`From ${e.issues.map(t=>t.key).join(", ")}`:"From the linked issue";case"description":return"From the pull request description";case"commits":return"From the commit messages";case"none":return"Nobody stated the task";default:throw new Error(`Unknown intent source: ${String(e.source)}`)}}function Wk(e){const t=e.item,n=ms[t.status],i=Tt(e.findings,t.locations);return l.jsxs("li",{children:[l.jsx(zi,{tone:n.tone,children:l.jsx("span",{className:"sr-only",children:n.label})}),l.jsxs("div",{children:[l.jsx("strong",{children:l.jsx(M,{text:t.text})}),t.status!=="built"&&l.jsxs("p",{children:[l.jsxs("b",{children:[n.label,"."]})," ",l.jsx(M,{text:t.detail})]}),l.jsx(jt,{findings:i,openFinding:e.openFinding}),l.jsx(He,{review:e.review,analysis:e.analysis,locations:t.locations,openFile:e.openFile})]})]})}function Uk(e){return l.jsx("a",{...e,target:"_blank",rel:"noreferrer"})}const Gk={rules:"Rule · input to result",matrix:"Every case",fields:"Before and after",logic:"Logic · simplified from the code",json:"Example · keys from the code",timeline:"Example sequence",states:"States and transitions",sequence:"Who calls whom",callers:"Who calls this",shape:"Fields · names from the code"},Wa={same:{mark:"",label:"Unchanged"},added:{mark:"+",label:"Added"},changed:{mark:"~",label:"Changed"},removed:{mark:"−",label:"Removed"}};function xn(e){return e.change==="same"?null:l.jsxs("span",{className:`visual-mark visual-mark-${e.change}`,children:[l.jsx("span",{"aria-hidden":"true",children:Wa[e.change].mark}),l.jsx("span",{className:"sr-only",children:Wa[e.change].label})]})}function zk(e){const t=e.visual;return l.jsxs("figure",{className:`story-visual story-visual-${t.type}`,children:[l.jsxs("figcaption",{children:[l.jsx("span",{className:"story-visual-title",children:l.jsx(M,{text:t.title})}),l.jsx("span",{className:"story-visual-kind",children:Gk[t.type]})]}),l.jsx(qk,{visual:t}),t.type==="json"&&t.note&&l.jsx("p",{className:"story-visual-note",children:l.jsx(M,{text:t.note})}),e.unknownKeys.length>0&&l.jsxs("p",{className:"story-visual-warning",children:["Lens could not find ",e.unknownKeys.length===1?"this name":"these names"," in the code: ",e.unknownKeys.map(n=>`"${n}"`).join(", "),"."]}),l.jsx(He,{review:e.review,analysis:e.analysis,locations:ox(Os(t)),openFile:e.openFile})]})}function qk(e){const t=e.visual;switch(t.type){case"rules":return l.jsx(Kk,{visual:t});case"matrix":return l.jsx(Zk,{visual:t});case"fields":return l.jsx(Xk,{visual:t});case"logic":return l.jsx(Jk,{visual:t});case"json":return l.jsx(Qk,{visual:t});case"timeline":return l.jsx(tx,{visual:t});case"states":return l.jsx(nx,{visual:t});case"sequence":return l.jsx(ix,{visual:t});case"callers":return l.jsx(rx,{visual:t});case"shape":return l.jsx(sx,{visual:t});default:throw new Error(`Unknown visual: ${String(t.type)}`)}}function Kk(e){return l.jsxs("table",{className:"story-table",children:[l.jsx("thead",{children:l.jsxs("tr",{children:[l.jsx("th",{scope:"col",children:e.visual.inputLabel}),l.jsx("th",{scope:"col",children:e.visual.resultLabel})]})}),l.jsx("tbody",{children:e.visual.rows.map((t,n)=>l.jsxs("tr",{children:[l.jsx("td",{children:l.jsx("code",{children:t.input===""?'""':t.input})}),l.jsx("td",{className:`tone-text-${t.tone}`,children:l.jsx(M,{text:t.result})})]},n))})]})}function Zk(e){const t=e.visual;return l.jsxs("table",{className:"story-table story-matrix",children:[l.jsx("thead",{children:l.jsxs("tr",{children:[l.jsxs("th",{scope:"col",children:[l.jsx("span",{className:"matrix-axis",children:t.rowLabel}),l.jsx("span",{className:"matrix-axis-sep","aria-hidden":"true",children:"×"}),l.jsx("span",{className:"matrix-axis",children:t.columnLabel})]}),t.columns.map(n=>l.jsx("th",{scope:"col",children:n},n))]})}),l.jsx("tbody",{children:t.rows.map((n,i)=>l.jsxs("tr",{children:[l.jsx("th",{scope:"row",children:n}),t.columns.map((r,s)=>{const o=t.cells.find(a=>a.row===i&&a.column===s);return l.jsx("td",{className:o?.changed?"matrix-changed":void 0,children:o?l.jsx(M,{text:o.result}):l.jsx("span",{className:"muted-text",children:"Not handled"})},r)})]},n))})]})}function Xk(e){return l.jsxs("table",{className:"story-table",children:[l.jsx("thead",{children:l.jsxs("tr",{children:[l.jsx("th",{scope:"col",children:"Field"}),l.jsx("th",{scope:"col",children:"Before"}),l.jsx("th",{scope:"col",children:"After"})]})}),l.jsx("tbody",{children:e.visual.rows.map((t,n)=>l.jsxs("tr",{children:[l.jsx("th",{scope:"row",children:l.jsx("code",{children:t.field})}),l.jsx("td",{children:l.jsx(M,{text:t.before})}),l.jsx("td",{className:t.before!==t.after?"field-changed":void 0,children:l.jsx(M,{text:t.after})})]},n))})]})}function Jk(e){const t=e.visual,n=t.before.length>0;return l.jsxs("div",{className:n?"logic-diff":"logic-diff logic-new",children:[n&&l.jsxs("div",{className:"logic-side",children:[l.jsx("span",{className:"logic-label",children:"Before"}),l.jsx("pre",{className:"logic-code",children:t.before.map((i,r)=>l.jsx("span",{className:"logic-line",children:l.jsx("span",{children:i.text})},r))})]}),l.jsxs("div",{className:"logic-side",children:[l.jsx("span",{className:"logic-label logic-label-after",children:n?"After":"New logic"}),l.jsx("pre",{className:"logic-code",children:t.after.map((i,r)=>l.jsxs("span",{className:`logic-line logic-${i.change}`,children:[l.jsx("span",{children:i.text}),i.note&&l.jsx("span",{className:"logic-note",children:i.note})]},r))})]})]})}function Qk(e){let t;try{t=JSON.stringify(JSON.parse(e.visual.json),null,2)}catch{t=e.visual.json}const n=new Set(e.visual.highlight);return l.jsx("pre",{className:"json-example",children:t.split(`
|
|
356
|
+
`).map((i,r)=>{const s=/^\s*"([^"]+)":/.exec(i)?.[1],o=s!==void 0&&n.has(s);return l.jsxs("span",{className:o?"json-line json-marked":"json-line",children:[l.jsx("span",{children:l.jsx(ex,{line:i})}),o&&l.jsx("span",{className:"logic-note",children:"new or changed"})]},r)})})}const Yk=/("(?:\\.|[^"\\])*")(\s*:)?|\b(true|false|null)\b|(-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)/g;function ex(e){const t=[];let n=0;for(const i of e.line.matchAll(Yk)){const r=i.index??0;r>n&&t.push(e.line.slice(n,r)),i[1]!==void 0?(t.push(l.jsx("span",{className:i[2]?"json-key":"json-string",children:i[1]},r)),i[2]&&t.push(i[2])):i[3]!==void 0?t.push(l.jsx("span",{className:"json-literal",children:i[3]},r)):t.push(l.jsx("span",{className:"json-number",children:i[4]},r)),n=r+i[0].length}return n<e.line.length&&t.push(e.line.slice(n)),t}function tx(e){return l.jsx("ol",{className:"story-timeline",children:e.visual.events.map((t,n)=>l.jsxs("li",{className:t.state?"timeline-made":"timeline-none",children:[l.jsx("span",{className:"timeline-action",children:l.jsx(M,{text:t.action})}),l.jsx("span",{className:"timeline-node","aria-hidden":t.state===null,children:t.state??"none"}),l.jsx("span",{className:"timeline-outcome",children:l.jsx(M,{text:t.outcome})})]},n))})}function nx(e){const t=e.visual,n=[...t.states,...t.transitions].every(s=>s.change==="added"),i=new Set(t.transitions.flatMap(s=>[s.from,s.to])),r=t.states.some(s=>!i.has(s.name))||!n&&t.states.some(s=>s.change!=="same");return l.jsxs("div",{className:"state-machine",children:[(r||n)&&l.jsxs("ul",{className:"state-list",children:[r&&t.states.map(s=>l.jsxs("li",{className:`state-node state-${s.change}`,children:[!n&&l.jsx(xn,{change:s.change}),l.jsx("code",{children:s.name})]},s.name)),n&&l.jsx("li",{className:"state-all-new",children:"All states and transitions are new in this pull request"})]}),l.jsxs("table",{className:"state-table",children:[l.jsx("thead",{children:l.jsxs("tr",{children:[l.jsx("th",{scope:"col",children:"From"}),l.jsx("th",{scope:"col","aria-label":"becomes"}),l.jsx("th",{scope:"col",children:"To"}),l.jsx("th",{scope:"col",children:"When"})]})}),l.jsx("tbody",{children:t.transitions.map((s,o)=>l.jsxs("tr",{className:`transition-${s.change}`,children:[l.jsxs("td",{children:[!n&&l.jsx(xn,{change:s.change}),l.jsx("code",{className:"state-name",children:s.from})]}),l.jsx("td",{className:"state-arrow","aria-hidden":"true",children:"→"}),l.jsx("td",{children:l.jsx("code",{className:"state-name",children:s.to})}),l.jsx("td",{className:"state-when",children:l.jsx(M,{text:s.on})})]},o))})]})]})}function ix(e){const t=e.visual,n=t.actors.length;return l.jsxs("div",{className:"sequence",style:{gridTemplateColumns:`repeat(${n}, minmax(0, 1fr))`},children:[t.actors.map(i=>l.jsx("span",{className:"sequence-actor",children:i},i)),t.messages.map((i,r)=>{const s=t.actors.indexOf(i.from),o=t.actors.indexOf(i.to);if(s===-1||o===-1)return null;const a=Math.min(s,o),d=Math.max(s,o),c=s===o;return l.jsxs("div",{className:["sequence-message",`message-${i.change}`,i.reply?"message-reply":"",o<s?"message-left":"",c?"message-self":""].filter(Boolean).join(" "),style:{gridColumn:`${a+1} / ${d+2}`,paddingInline:`${50/(d-a+1)}%`},children:[l.jsxs("span",{className:"sequence-label",children:[l.jsx(xn,{change:i.change}),l.jsx(M,{text:i.label})]}),l.jsx("i",{"aria-hidden":"true"})]},r)})]})}function rx(e){return l.jsxs("div",{className:"caller-chain",children:[l.jsx("code",{className:"caller-target",children:e.visual.target}),l.jsx("ul",{children:e.visual.callers.map((t,n)=>l.jsxs("li",{className:`caller caller-${t.change}`,children:[l.jsx("span",{className:"caller-arrow","aria-hidden":"true",children:"←"}),l.jsx("code",{children:t.name}),t.via&&l.jsx("span",{className:"caller-via",children:t.via}),l.jsx(xn,{change:t.change})]},n))})]})}function sx(e){return l.jsx("ul",{className:"data-shape",children:e.visual.fields.map((t,n)=>{const i=t.path.split(".");return l.jsxs("li",{className:`shape-field shape-${t.change}`,style:{paddingLeft:`${12+(i.length-1)*18}px`},children:[l.jsxs("span",{className:"shape-name",children:[l.jsx(xn,{change:t.change}),l.jsx("code",{children:i.at(-1)}),i.length>1&&l.jsxs("span",{className:"shape-parent",children:["in ",i.slice(0,-1).join(".")]})]}),l.jsx("span",{className:"shape-type",children:t.type}),t.note&&l.jsx("span",{className:"shape-note",children:l.jsx(M,{text:t.note})})]},n)})})}function Os(e){switch(e.type){case"rules":case"fields":return e.rows.flatMap(t=>t.locations);case"matrix":return e.cells.flatMap(t=>t.locations);case"logic":return e.after.flatMap(t=>t.locations);case"timeline":return e.events.flatMap(t=>t.locations);case"states":return e.transitions.flatMap(t=>t.locations);case"sequence":return e.messages.flatMap(t=>t.locations);case"callers":return e.callers.flatMap(t=>t.locations);case"json":case"shape":return e.locations;default:return[]}}function ox(e){const t=new Set;return e.filter(n=>{const i=`${n.repository}|${n.side}|${n.path}|${n.startLine}|${n.endLine}`;return t.has(i)?!1:(t.add(i),!0)})}const Fs={new:{mark:"+",label:"New",change:"added"},changed:{mark:"~",label:"Changed",change:"changed"},removed:{mark:"−",label:"Removed",change:"removed"}},ax=180,lx=15;function dx(e){const t=e.analysis,n=t.results.story,i=t.stages.verdict.status==="done"||t.stages.verdict.status==="failed";return l.jsxs("div",{className:"story",children:[!i&&l.jsx(Ms,{analysis:t}),t.stages.map.status==="failed"&&l.jsx(Ye,{id:"map",stage:t.stages.map}),l.jsx(rt,{analysis:t,stage:"story",children:()=>n?l.jsx(cx,{review:e.review,analysis:t,story:n,openFile:e.openFile,openFinding:e.openFinding,openRisks:e.openRisks}):null})]})}function cx(e){const t=e.analysis,n=e.story,i=t.results.map,r=t.stages.findings.status==="done",s=t.results.findings?.findings??[],o=t.results.flow?.flows??[],a=new Map(n.chapters.map(f=>[f.id,Ex(f,i)])),d=Rx(n.chapters,i,s),c=Ax(n.chapters,o),u=Ix(n),h=n.unexplained??[];return l.jsxs(l.Fragment,{children:[l.jsxs("section",{className:"story-lead","aria-label":"Summary",children:[l.jsxs("span",{className:"story-chip",children:[u," min read"]}),l.jsx("h2",{className:"story-headline",children:l.jsx(M,{text:n.headline})}),n.summary&&l.jsx("p",{className:"story-summary",children:l.jsx(M,{text:n.summary})})]}),l.jsxs("div",{className:"story-overview",children:[l.jsx(px,{analysis:t,chapters:n.chapters}),l.jsx(mx,{analysis:t,openFinding:e.openFinding,openRisks:e.openRisks})]}),n.chapters.map((f,p)=>l.jsx(ux,{review:e.review,analysis:t,chapter:f,number:n.chapters.length>1?p+1:null,flows:c.get(f.id)??[],contracts:(i?.contracts??[]).filter(m=>f.contracts.includes(m.name)),findings:d.get(f.id)??[],allFindings:s,findingsDone:r,unknownKeys:n.unknownKeys?.[f.id]??[],locations:a.get(f.id)??[],openFile:e.openFile,openFinding:e.openFinding,openRisks:e.openRisks},f.id)),l.jsx(_x,{review:e.review,chapters:n.chapters,unexplained:h,openFile:e.openFile}),l.jsx(vx,{unexplained:h,openRisks:e.openRisks})]})}function ux(e){const t=e.chapter,n=A.useState(e.flows.length>0?"flow":null),i=n[0],r=Fs[t.kind],s=t.files.filter(a=>e.review.files.some(d=>d.path===a)),o=t.matters??null;return l.jsxs("section",{className:`story-chapter chapter-${r.change}`,id:`story-${t.id}`,children:[l.jsxs("div",{className:"story-chapter-head",children:[e.number!==null&&l.jsx("span",{className:`chapter-number change-${r.change}`,children:e.number}),l.jsx("h3",{children:l.jsx(M,{text:t.title})}),l.jsx("span",{className:`chapter-kind change-${r.change}`,children:r.label}),l.jsx(yx,{analysis:e.analysis,chapter:t,locations:e.locations,openRisks:e.openRisks})]}),l.jsx("p",{className:"story-caption",children:l.jsx(M,{text:t.caption})}),t.visual&&l.jsx(zk,{review:e.review,analysis:e.analysis,visual:t.visual,unknownKeys:e.unknownKeys,openFile:e.openFile}),e.findingsDone&&e.findings.length>0&&l.jsxs("div",{className:"story-watch",children:[l.jsxs("span",{className:"story-watch-label",children:["Watch ",e.findings.length]}),l.jsx("ul",{children:e.findings.map(a=>l.jsx("li",{children:l.jsx(Rn,{finding:a,openFinding:e.openFinding})},a.id))})]}),(e.flows.length>0||e.contracts.length>0)&&l.jsxs("div",{className:"story-more",role:"group","aria-label":"More about this chapter",children:[e.flows.length>0&&l.jsxs("button",{type:"button",className:"story-toggle","aria-pressed":i==="flow",onClick:()=>n[1](i==="flow"?null:"flow"),children:[e.flows.length===1?"Flow":"Flows",e.flows.length>1&&l.jsx("span",{children:e.flows.length})]}),e.contracts.length>0&&l.jsxs("button",{type:"button",className:"story-toggle","aria-pressed":i==="surfaces",onClick:()=>n[1](i==="surfaces"?null:"surfaces"),children:[Sx(e.contracts),l.jsx("span",{children:e.contracts.length})]})]}),i==="flow"&&l.jsx("div",{className:"story-extra",children:l.jsx(Lc,{review:e.review,analysis:e.analysis,flows:e.flows,openFile:e.openFile})}),i==="surfaces"&&l.jsx("div",{className:"story-extra",children:l.jsx(ps,{review:e.review,analysis:e.analysis,contracts:e.contracts,findings:e.allFindings,openFile:e.openFile,openFinding:e.openFinding})}),(o||t.unchanged||s.length>0)&&l.jsxs("dl",{className:"chapter-notes",children:[o&&l.jsxs("div",{children:[l.jsx("dt",{children:"Why it matters"}),l.jsx("dd",{children:l.jsx(M,{text:o})})]}),t.unchanged&&l.jsxs("div",{children:[l.jsx("dt",{children:"Doesn't change"}),l.jsx("dd",{children:l.jsx(M,{text:t.unchanged})})]}),s.length>0&&l.jsxs("div",{children:[l.jsx("dt",{children:"Files"}),l.jsx("dd",{children:l.jsx(Lx,{review:e.review,files:s,openFile:e.openFile})})]})]})]})}const hx={new:zu,changed:xu,removed:Uu},fx={break:"Breaking change",bug:"Possible bug",security:"Security",risk:"Risk",decide:"Needs a decision",test:"No test",scope:"Scope",unknown:"Unclear"},Rr=3;function px(e){return l.jsxs("section",{className:"overview-panel","aria-labelledby":"overview-changes",children:[l.jsxs("div",{className:"overview-head",children:[l.jsx("h3",{id:"overview-changes",children:"What changed"}),l.jsxs("p",{children:[e.chapters.length," ",e.chapters.length===1?"change":"changes",", in reading order."]})]}),l.jsx("ol",{className:"overview-list",children:e.chapters.map((t,n)=>{const i=Fs[t.kind],r=Tc(e.analysis,t);return l.jsx("li",{children:l.jsxs("a",{href:`#story-${t.id}`,className:`overview-row chapter-${i.change}`,children:[l.jsx("span",{className:"overview-icon",title:i.label,children:l.jsx(P,{icon:hx[t.kind],"aria-hidden":"true"})}),l.jsxs("span",{className:"overview-text",children:[l.jsxs("strong",{children:[l.jsxs("span",{className:"sr-only",children:[n+1,". ",i.label,":"," "]}),l.jsx(M,{text:t.title})]}),l.jsx("small",{children:l.jsx(M,{text:gx(t.caption)})})]}),r&&r.tone==="warn"&&l.jsx("span",{className:`evidence-mark evidence-${r.tone}`,title:r.title,children:r.label}),l.jsx(P,{className:"overview-chevron",icon:mt,"aria-hidden":"true"})]})},t.id)})})]})}function mx(e){const t=e.analysis,n=t.results,i=t.stages.findings.status==="done",r=(n.findings?.findings??[]).toSorted((c,u)=>z[c.severity].rank-z[u.severity].rank),s=(n.decisions?.decisions??[]).filter(c=>c.origin!=="asked"),o=(n.rollout?.checks??[]).filter(c=>c.state!=="ok"),a=o.filter(c=>c.state==="blocker").length,d=[...bx(t).filter(c=>c.section!=="rollout").map(c=>({section:c.section,label:c.section==="asked"?`Asked: ${c.value.toLowerCase()}`:`Tests: ${c.value}`,tone:c.tone})),...ae(t,"decisions")&&t.stages.decisions.status==="done"&&s.length>0?[{section:"decide",label:`${s.length} author ${s.length===1?"choice":"choices"}`,tone:"neutral"}]:[],...ae(t,"rollout")&&t.stages.rollout.status==="done"&&o.length>0?[{section:"rollout",label:a>0?`${a} ship ${a===1?"blocker":"blockers"}`:`${o.length} ship ${o.length===1?"note":"notes"}`,tone:a>0?"warn":"neutral"}]:[]];return l.jsxs("section",{className:"overview-panel","aria-labelledby":"overview-confirm",children:[l.jsxs("div",{className:"overview-head",children:[l.jsx("h3",{id:"overview-confirm",children:"Things to confirm"}),l.jsx("p",{children:"For a person to check, not a verdict on the code."})]}),l.jsxs("ul",{className:"confirm-list",children:[!i&&l.jsx("li",{className:"confirm-pending",children:"Checking the change…"}),i&&r.length===0&&l.jsx("li",{className:"confirm-pending",children:"Lens found nothing that needs a closer look."}),r.slice(0,Rr).map(c=>l.jsx("li",{children:l.jsxs("button",{type:"button",className:`confirm-item tone-${z[c.severity].tone}`,onClick:()=>e.openFinding(c.id),children:[l.jsx(P,{icon:z[c.severity].icon,"aria-hidden":"true"}),l.jsxs("span",{children:[l.jsx("strong",{children:l.jsx(M,{text:c.title})}),l.jsxs("small",{children:[fx[c.kind]," · ",z[c.severity].label]})]}),l.jsx(P,{className:"overview-chevron",icon:mt,"aria-hidden":"true"})]})},c.id)),r.length>Rr&&l.jsx("li",{children:l.jsxs("button",{type:"button",className:"text-button confirm-more",onClick:()=>e.openRisks("findings"),children:[r.length-Rr," more in Risks"]})})]}),d.length>0&&l.jsx("div",{className:"overview-foot confirm-foot",children:d.map(c=>l.jsx("button",{type:"button",className:`text-button confirm-check tone-${c.tone}`,onClick:()=>e.openRisks(c.section),children:c.label},c.section))})]})}function gx(e){const t=/^.*?[.!?](?=\s|$)/.exec(e.trim());return t?t[0]:e}function bx(e){const t=e.results,n=[],i="…";if(ae(e,"scope")){const r=t.scope?.asked??[],s=r.filter(a=>a.status==="built").length,o=r.length-s;n.push({section:"asked",label:"Asked",value:t.scope?r.length===0?"Nothing stated":o===0?`All ${r.length} built`:`${o} of ${r.length} not as asked`:i,tone:t.scope&&o>0?"warn":"neutral"})}if(ae(e,"tests")){const r=t.tests?.behaviors.filter(s=>s.coverage==="untested").length??0;n.push({section:"tests",label:"Tests",value:t.tests?r===0?"Behaviors covered":`${r} untested`:i,tone:t.tests&&r>0?"warn":"neutral"})}if(ae(e,"rollout")){const r=t.rollout?.checks??[],s=r.filter(a=>a.state==="blocker").length,o=r.filter(a=>a.state==="warning").length;n.push({section:"rollout",label:"Ship",value:t.rollout?s>0?`${s} ${s===1?"blocker":"blockers"}`:o>0?`${o} to check`:"Nothing special":i,tone:s>0||o>0?"warn":"neutral"})}return n}function vx(e){return l.jsxs("section",{className:"story-end",children:[e.unexplained.length>0&&l.jsxs("p",{className:"story-coverage story-coverage-warn",children:[e.unexplained.length," changed ",e.unexplained.length===1?"file is":"files are"," not explained by any chapter. Check ",e.unexplained.length===1?"it":"them"," by hand."]}),l.jsxs("button",{type:"button",className:"action-button",onClick:()=>e.openRisks("findings"),children:["Review the risks",l.jsx(P,{icon:mt,"aria-hidden":"true"})]})]})}function yx(e){const t=Tc(e.analysis,e.chapter),n=e.locations.length>0?null:{label:"Inferred",tone:"missing",title:"No code lines back this chapter. It is the model reading of the change."};return l.jsxs("span",{className:"evidence-marks",children:[t&&t.tone==="warn"&&l.jsx("button",{type:"button",className:`evidence-mark evidence-${t.tone}`,title:t.title,onClick:()=>e.openRisks("tests"),children:t.label}),n&&l.jsx("span",{className:`evidence-mark evidence-${n.tone}`,title:n.title,children:n.label})]})}function Tc(e,t){if(!ae(e,"tests")||e.stages.tests.status!=="done")return null;const n=(e.results.tests?.behaviors??[]).filter(o=>t.behaviors.includes(o.behaviorId)),i=n.filter(o=>o.coverage==="untested").length,r=n.filter(o=>o.coverage==="covered").length,s=t.files.some(o=>_n.test(o));return n.length>0&&r===n.length?{label:"Tested",tone:"ok",title:"A test asserts every behavior in this chapter."}:i>0?{label:i===n.length?"No test":`${i} of ${n.length} untested`,tone:"warn",title:"Lens looked for a test that asserts this behavior and found none."}:s?{label:"Tests changed",tone:"neutral",title:"This chapter changes test files. Lens could not tie them to a behavior."}:{label:"Test unknown",tone:"neutral",title:"Lens could not tell whether a test covers this."}}const _n=/(^|\/)(spec|specs|test|tests|__tests__|testdata|fixtures)\/|(_spec|_test|\.spec|\.test)\.[a-z]+$/i,kx=26,xx=64;function _x(e){const t=new Map(e.review.files.map(r=>[r.path,r.additions+r.deletions])),n=Math.max(1,...t.values()),i=[...e.chapters.map((r,s)=>({key:r.id,label:`${e.chapters.length>1?`${s+1} `:""}${r.title}`,tone:Fs[r.kind].change,files:r.files.filter(o=>t.has(o))})),...e.unexplained.length>0?[{key:"unexplained",label:"Not in a chapter",tone:"unexplained",files:e.unexplained}]:[]];return l.jsxs("section",{className:"change-map","aria-label":"Where the lines changed",children:[l.jsxs("div",{className:"change-map-head",children:[l.jsx("h3",{children:"Where the lines changed"}),l.jsx("p",{children:e.unexplained.length===0?`All ${e.review.files.length} changed files belong to a chapter. Taller means more lines.`:"Taller means more lines. Files in no chapter need a look by hand."})]}),l.jsx(xc,{label:"Changed files by chapter",children:l.jsx("div",{className:"change-map-columns",children:i.map(r=>{const s=_c(r.files),o=r.files.reduce((a,d)=>a+(t.get(d)??0),0);return l.jsxs("div",{className:`change-map-column map-${r.tone}`,children:[l.jsx("span",{className:"change-map-label",title:r.label,children:r.label}),l.jsxs("span",{className:"change-map-total",children:[o," lines"]}),r.files.toSorted((a,d)=>(t.get(d)??0)-(t.get(a)??0)).map(a=>{const d=t.get(a)??0;return l.jsxs("button",{type:"button",className:_n.test(a)?"change-map-file map-test":"change-map-file",style:{minHeight:`${kx+Math.round(xx*d/n)}px`},onClick:()=>e.openFile(a),title:`${a}, ${d} lines`,children:[l.jsx("span",{className:"change-map-name",children:s.get(a)}),l.jsxs("span",{className:"change-map-lines",children:[_n.test(a)?"test · ":"",d]})]},a)})]},r.key)})})})]})}const Cx=/(^|\/)(\.snapshot[^/]*|[^/]*\.snap|[^/]*-lock\.(json|yaml)|[^/]*\.lock|[^/]*\.min\.(js|css)|[^/]*\.pb\.go|[^/]*_generated\.[a-z]+)$|(^|\/)(generated|__generated__)\//i,wx=3;function Lx(e){const t=A.useState(!1),n=t[0],i=new Map(e.review.files.map(f=>[f.path,f.additions+f.deletions])),r=e.files.toSorted((f,p)=>(i.get(p)??0)-(i.get(f)??0)),s=r.filter(f=>_n.test(f)),o=r.filter(f=>!_n.test(f)&&Cx.test(f)),a=r.filter(f=>!s.includes(f)&&!o.includes(f)),d=n?[...a,...s,...o]:a.slice(0,wx),c=r.length-d.length,u=_c(r),h=[s.length>0?`${s.length} ${s.length===1?"test":"tests"}`:null,o.length>0?`${o.length} generated`:null].filter(f=>f!==null);return l.jsxs("span",{className:"chapter-files",children:[d.map(f=>l.jsx("button",{type:"button",className:"story-file",onClick:()=>e.openFile(f),title:f,children:u.get(f)},f)),c>0&&l.jsxs("button",{type:"button",className:"text-button chapter-files-more",onClick:()=>t[1](!0),children:["+",c," more",h.length>0?` (${h.join(", ")})`:""]})]})}function Sx(e){const t=new Set(e.map(n=>n.kind));return t.size===1&&t.has("schema")?e.length===1?"Table":"Tables":t.size===1&&t.has("api")?e.length===1?"Endpoint":"Endpoints":"Data & API"}function Ex(e,t){const n=(t?.behaviors??[]).filter(r=>e.behaviors.includes(r.id)),i=(t?.contracts??[]).filter(r=>e.contracts.includes(r.name));return[...n.flatMap(r=>r.locations),...i.flatMap(r=>r.locations),...e.visual?Os(e.visual):[]]}function Rx(e,t,n){const i=new Map,r=new Map(e.map(o=>[o.id,{story:[...(t?.behaviors??[]).filter(a=>o.behaviors.includes(a.id)).flatMap(a=>a.locations),...o.visual?Os(o.visual):[]],contracts:(t?.contracts??[]).filter(a=>o.contracts.includes(a.name)).flatMap(a=>a.locations)}])),s=n.filter(o=>o.kind!=="test").toSorted((o,a)=>z[o.severity].rank-z[a.severity].rank);for(const o of s){const a=(c,u)=>{if(u.repository!==null)return 0;const h=[{...o,locations:[u]}],f=r.get(c.id);return f&&Tt(h,f.story).length>0?3:f&&Tt(h,f.contracts).length>0?2:c.files.includes(u.path)?1:0};let d=null;for(const c of e){const u=o.locations.reduce((h,f)=>h+a(c,f),0);u>0&&(d===null||u>d.score)&&(d={chapter:c,score:u})}d&&i.set(d.chapter.id,[...i.get(d.chapter.id)??[],o])}return i}function Ax(e,t){const n=new Map;for(const i of t){const r=(i.behaviors??[]).map(s=>e.find(o=>o.behaviors.includes(s))).find(s=>s!==void 0)??e[0];r&&n.set(r.id,[...n.get(r.id)??[],i])}return n}function Ix(e){const t=[e.headline,...e.why.map(r=>r.text),...e.chapters.flatMap(r=>[r.title,r.caption])].join(" ").split(/\s+/).filter(Boolean).length,n=e.chapters.filter(r=>r.visual!==null).length,i=t/ax*60+n*lx;return Math.max(1,Math.round(i/60))}const Tx=[{id:"flow",label:"Changed flows",description:"Before and after diagrams of the runtime flow"},{id:"scope",label:"What was asked",description:"Compare the change with its issue, description, or commits"},{id:"decisions",label:"Choices to confirm",description:"Values the code picked, such as limits and timeouts"},{id:"impact",label:"Impact",description:"Other services the change affects"},{id:"tests",label:"Test coverage",description:"Which new behavior has a test"},{id:"rollout",label:"Rollout",description:"A safe order to ship and checks before you deploy"}],jx=[1,2,4,6,10];function Nx(e){const t=A.useRef(null),n=A.useState(e.settings),i=n[0],r=n[1],s=A.useState(!1),o=s[0],a=s[1],d=A.useState(null),c=d[0],u=d[1],h=!Ds(e.settings,i);async function f(){a(!0),u(null);try{await e.saveSettings(i),t.current?.close()}catch(p){u(p instanceof Error?p.message:"Lens could not save the settings.")}finally{a(!1)}}return l.jsxs(l.Fragment,{children:[l.jsxs("button",{type:"button",className:"action-button",onClick:()=>{r(e.settings),u(null),t.current?.showModal()},children:[l.jsx(P,{icon:il,"aria-hidden":"true"}),"Customize"]}),l.jsx("dialog",{className:"customize",ref:t,"aria-labelledby":"customize-title",children:l.jsxs("form",{method:"dialog",onSubmit:p=>{p.preventDefault(),f()},children:[l.jsxs("header",{className:"customize-head",children:[l.jsxs("div",{children:[l.jsx("h2",{id:"customize-title",children:"Customize Lens"}),l.jsx("p",{children:"Your settings apply to every review on this machine."})]}),l.jsx("button",{type:"button",className:"icon-button","aria-label":"Close",onClick:()=>t.current?.close(),children:l.jsx(P,{icon:Ti,"aria-hidden":"true"})})]}),l.jsx("div",{className:"customize-body",children:l.jsx(jc,{value:i,onChange:r,repositoryConfig:e.repositoryConfig})}),l.jsxs("footer",{className:"customize-foot",children:[l.jsx("p",{role:c?"alert":void 0,className:c?"customize-error":void 0,children:c??(h?"Saving starts a new review. It takes a few minutes.":"The review does not need to run again.")}),l.jsx("button",{type:"button",className:"action-button",onClick:()=>t.current?.close(),children:"Cancel"}),l.jsx("button",{type:"submit",className:"action-button primary",disabled:o,children:o?"Saving":h?"Save and run again":"Save"})]})]})})]})}function jc(e){const t=e.value,n=e.onChange,i=e.repositoryConfig;return l.jsxs("div",{className:"customize-fields",children:[l.jsxs("fieldset",{children:[l.jsx("legend",{children:"Agent"}),l.jsx("p",{className:"customize-hint",children:"The coding agent that runs the review. It uses your own login for that agent."}),l.jsxs("div",{className:"segmented",role:"group","aria-label":"Agent",children:[l.jsx(pt,{className:"segmented-indicator",selector:"[aria-pressed='true']"}),fc.map(r=>l.jsx("button",{type:"button","aria-pressed":t.agent===r,onClick:()=>n({...t,agent:r,model:r===t.agent?t.model:""}),children:Aa[r]},r))]})]}),l.jsxs("fieldset",{children:[l.jsx("legend",{children:"Model"}),l.jsxs("p",{className:"customize-hint",children:["Leave empty to use the default model of ",Aa[t.agent],"."]}),l.jsx("input",{type:"text","aria-label":"Model",value:t.model,maxLength:200,spellCheck:!1,placeholder:`For example: ${Hy[t.agent]}`,onChange:r=>n({...t,model:r.target.value})})]}),l.jsxs("fieldset",{children:[l.jsx("legend",{children:"Focus"}),i?.focus&&l.jsxs("div",{className:"customize-repository-focus",children:[l.jsxs("span",{children:["From ",".uigraph.lens.yml"]}),l.jsx("p",{children:i.focus})]}),l.jsx("textarea",{"aria-label":"Review focus",value:t.focus,maxLength:2e3,rows:3,placeholder:"For example: focus on security and data loss. Ignore style.",onChange:r=>n({...t,focus:r.target.value})})]}),l.jsxs("fieldset",{children:[l.jsx("legend",{children:"Sections"}),l.jsx("p",{className:"customize-hint",children:"Lens skips a section that is off."}),l.jsx("div",{className:"customize-rows",children:Tx.map(r=>{const s=i?.steps?.[r.id],o=s??t.steps[r.id];return l.jsxs(A.Fragment,{children:[l.jsxs("label",{className:"customize-row",children:[l.jsxs("span",{children:[l.jsx("b",{children:r.label}),l.jsx("small",{children:s===void 0?r.description:`Set by ${Vy}`})]}),l.jsx("input",{type:"checkbox",role:"switch",checked:o,disabled:s!==void 0,onChange:a=>n({...t,steps:{...t.steps,[r.id]:a.target.checked}})})]}),r.id==="flow"&&o&&l.jsxs("div",{className:"customize-row customize-subrow",children:[l.jsxs("span",{children:[l.jsx("b",{children:"Flow diagrams, up to"}),l.jsx("small",{children:i?.diagrams===void 0?"At most this many. One for each changed flow, fewer when fewer change.":"Set by .uigraph.lens.yml"})]}),l.jsxs("div",{className:"segmented",role:"group","aria-label":"Flow diagrams",children:[l.jsx(pt,{className:"segmented-indicator",selector:"[aria-pressed='true']"}),jx.map(a=>l.jsx("button",{type:"button","aria-pressed":(i?.diagrams??t.diagrams)===a,disabled:i?.diagrams!==void 0,onClick:()=>n({...t,diagrams:a}),children:a},a))]})]})]},r.id)})})]})]})}function Px(e){const t=e.size??34;return l.jsxs("svg",{width:t,height:t,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"UIGraph",className:"brand-mark",children:[l.jsx("rect",{width:"64",height:"64",rx:"16",fill:"#0B0E16"}),l.jsxs("g",{stroke:"#3B6BFF",strokeWidth:"4",strokeLinecap:"round",children:[l.jsx("line",{x1:"20",y1:"20",x2:"44",y2:"20"}),l.jsx("line",{x1:"44",y1:"20",x2:"44",y2:"44"}),l.jsx("line",{x1:"44",y1:"44",x2:"20",y2:"44"}),l.jsx("line",{x1:"20",y1:"44",x2:"20",y2:"20"})]}),l.jsx("circle",{cx:"44",cy:"20",r:"6",fill:"#3B6BFF"}),l.jsx("circle",{cx:"44",cy:"44",r:"6",fill:"#3B6BFF"}),l.jsx("circle",{cx:"20",cy:"44",r:"6",fill:"#3B6BFF"}),l.jsx("circle",{cx:"20",cy:"20",r:"6.5",fill:"#FFFFFF"})]})}const Nc="uigraph-lens.diff-style",Pc="uigraph-lens.wrap-lines",Dx=[{id:"story",label:"Story",icon:wu},{id:"map",label:"Map",icon:Wu},{id:"code",label:"Code",icon:eh},{id:"risks",label:"Risks",icon:Yu}];function Mx(e){const t=e.location,n=t.tab,i=A.useState(t.finding===null?null:[t.finding]),r=i[0],s=i[1],o=A.useRef(null),a=e.analysis,d=a!==null,c=Dx;A.useEffect(()=>{const y=o.current;if(y===null||!d)return;const x=Ox(y),C=sessionStorage.getItem(Ar());C!==null&&(sessionStorage.removeItem(Ar()),requestAnimationFrame(()=>x.scrollTo({top:Number(C)})));function _(){sessionStorage.setItem(Ar(),String(x.scrollTop))}return window.addEventListener("pagehide",_),()=>window.removeEventListener("pagehide",_)},[d]);function u(y){const x={...t,...y};JSON.stringify(x)!==JSON.stringify(t)&&e.onLocationChange(x)}function h(y){u({tab:y,finding:null})}function f(y){u({tab:"code",finding:null,file:y,code:"files"})}function p(y){u({tab:"risks",finding:null,section:y}),window.scrollTo({top:0})}function m(y){u({tab:"risks",finding:y,section:"findings"}),r===null?s([y]):r.includes(y)||s([...r,y])}function v(y,x=t.finding){u({tab:"code",finding:x,group:y,code:"order"}),window.scrollTo({top:0})}function k(y){const x=c.findIndex(_=>_.id===n),C=y.key==="ArrowRight"?c[(x+1)%c.length]:y.key==="ArrowLeft"?c[(x-1+c.length)%c.length]:y.key==="Home"?c[0]:y.key==="End"?c[c.length-1]:null;C&&(y.preventDefault(),h(C.id),document.getElementById(`tab-${C.id}`)?.focus())}const b=e.review;return l.jsx(dc,{value:{location:t,go:u},children:l.jsx("div",{className:"uigraph-lens",ref:o,children:l.jsxs("div",{className:e.hideHeader?"app-shell no-header":"app-shell",children:[!e.hideHeader&&l.jsxs("header",{className:"app-header",children:[l.jsxs("div",{className:"brand",children:[l.jsx(Px,{size:32}),l.jsx("span",{children:"UIGraph"}),l.jsx("strong",{children:"Lens"})]}),b.repository.githubUrl===null||b.pullRequest.githubUrl===null?l.jsx("div",{className:"repository-context",children:l.jsx("span",{children:b.repository.fullName})}):l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:"repository-context",children:[l.jsx("a",{href:b.repository.githubUrl,target:"_blank",rel:"noreferrer",children:b.repository.fullName}),l.jsx("span",{children:"/"}),l.jsxs("a",{href:b.pullRequest.githubUrl,target:"_blank",rel:"noreferrer",children:["pull/",b.pullRequest.number]})]}),l.jsxs("a",{className:"github-link",href:b.pullRequest.githubUrl,target:"_blank",rel:"noreferrer",children:["Open on GitHub",l.jsx(P,{icon:zt,"aria-hidden":"true"})]})]})]}),l.jsxs("main",{children:[l.jsxs("section",{className:"pr-summary",children:[l.jsxs("div",{className:"pr-title",children:[l.jsx("h1",{children:b.pullRequest.title}),e.customize,e.customize===void 0&&e.settings&&e.saveSettings&&l.jsx(Nx,{settings:e.settings,repositoryConfig:a?.repositoryConfig??null,saveSettings:e.saveSettings})]}),l.jsxs("div",{className:"pr-meta",children:[l.jsx($x,{review:b}),b.pullRequest.author&&l.jsxs("a",{className:"author-link",href:b.pullRequest.author.githubUrl,target:"_blank",rel:"noreferrer",children:[l.jsx("img",{src:b.pullRequest.author.avatarUrl,alt:"",width:"18",height:"18"}),b.pullRequest.author.login]}),l.jsxs("span",{className:"branch-comparison",children:[l.jsx("span",{children:b.pullRequest.head.label}),l.jsx(P,{icon:Cu,"aria-label":"into"}),l.jsx("span",{children:b.pullRequest.base.branch})]}),l.jsxs("span",{children:[Pe(b.pullRequest.changedFiles)," ",b.pullRequest.changedFiles===1?"file":"files"," ",l.jsxs("span",{className:"addition",children:["+",Pe(b.pullRequest.additions)]})," ",l.jsxs("span",{className:"deletion",children:["−",Pe(b.pullRequest.deletions)]})]}),l.jsxs("span",{children:["Updated ",cc(b.pullRequest.updatedAt)]}),b.pullRequest.behindBy!==null&&b.pullRequest.behindBy>0&&l.jsxs("span",{className:"behind",children:[Pe(b.pullRequest.behindBy)," behind"," ",b.pullRequest.base.branch]})]})]}),l.jsxs("div",{className:"review-tabs",role:"tablist","aria-label":"Pull request sections",onKeyDown:k,children:[l.jsx(pt,{className:"review-tabs-indicator",selector:"[aria-selected='true']"}),c.map(y=>{const x=Zx(y.id,b,a);return l.jsxs("button",{type:"button",role:"tab",id:`tab-${y.id}`,"aria-selected":n===y.id,"aria-controls":"review-panel",tabIndex:n===y.id?0:-1,onClick:C=>{h(y.id),C.currentTarget.scrollIntoView({block:"nearest",inline:"nearest"})},children:[l.jsx(P,{icon:y.icon,"aria-hidden":"true"}),y.label,x&&l.jsxs(l.Fragment,{children:[l.jsx("span",{className:`tab-note tone-${x.tone}`,title:x.label,"aria-hidden":"true",children:x.text}),l.jsxs("span",{className:"sr-only",children:[", ",x.label]})]})]},y.id)})]}),l.jsxs("div",{className:"review-content",id:"review-panel",role:"tabpanel","aria-labelledby":`tab-${n}`,children:[n==="story"&&(a!==null&&a.stages.story!==void 0?l.jsx(dx,{review:b,analysis:a,openFile:f,openFinding:m,openRisks:p}):l.jsx(Hk,{review:b,analysis:a,openFile:f,openFinding:m,openRisks:p,openGroup:v,renderImpactGraph:e.renderImpactGraph})),n==="map"&&l.jsx(rt,{analysis:a,stage:"map",title:"What this change touches",children:()=>a===null?null:l.jsx(wc,{review:b,analysis:a,findings:a.results.findings?.findings??[],openFile:f,openFinding:m,openGroup:v,renderImpactGraph:e.renderImpactGraph,lenses:["data","api","services","files"],title:"What this change touches"})}),n==="code"&&l.jsxs("div",{className:"code-tab",children:[l.jsxs("div",{className:"segmented",role:"group","aria-label":"Code view",children:[l.jsx(pt,{className:"segmented-indicator",selector:"[aria-pressed='true']"}),a?.results.map&&l.jsxs("button",{type:"button","aria-pressed":t.code==="order",onClick:()=>u({code:"order"}),children:["Guided Review",l.jsx("span",{className:"segmented-count",children:a.results.map.groups.length})]}),l.jsxs("button",{type:"button","aria-pressed":t.code==="files",onClick:()=>u({code:"files"}),children:["Files",l.jsx("span",{className:"segmented-count",children:Pe(b.pullRequest.changedFiles)})]}),l.jsxs("button",{type:"button","aria-pressed":t.code==="commits",onClick:()=>u({code:"commits"}),children:["Commits",l.jsx("span",{className:"segmented-count",children:Pe(b.pullRequest.commits)})]})]}),t.code==="files"&&l.jsx(Vx,{review:b,findings:a?.results.findings?.findings??[],selectFile:f,openFinding:m}),t.code==="commits"&&l.jsx(Wx,{review:b}),t.code==="order"&&l.jsx(Ky,{review:b,analysis:a,openFinding:m})]}),n==="risks"&&l.jsx(Ik,{review:b,analysis:a,expanded:r,setExpanded:s,openFile:f,openFinding:m,openGroup:v,checks:l.jsx(Ux,{review:b}),asked:a&&l.jsx(Ic,{review:b,analysis:a,findings:a.results.findings?.findings??[],openFile:f,openFinding:m}),decide:a&&l.jsx(Ac,{review:b,analysis:a,findings:a.results.findings?.findings??[],openFile:f,openFinding:m})})]})]})]})})})}function Ox(e){let t=e.parentElement;for(;t!==null;){const n=getComputedStyle(t).overflowY;if((n==="auto"||n==="scroll")&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return document.documentElement}function Ar(){return`uigraph-lens.scroll:${window.location.pathname}${window.location.search}`}function Fx(){const e=localStorage.getItem(Nc);return e==="unified"||e==="split"?e:window.matchMedia("(max-width: 720px)").matches?"unified":"split"}function Hx(){const e=localStorage.getItem(Pc);return e==="true"?!0:e!=="false"}function $x(e){const t=e.review.pullRequest.state,n=e.review.pullRequest.number===null?"Local":e.review.pullRequest.draft?"Draft":t==="merged"?"Merged":t==="open"?"Open":"Closed";return l.jsxs("span",{className:`state-label state-${t}`,children:[l.jsx(P,{icon:t==="merged"?Fu:t==="closed"?Hu:$u,"aria-hidden":"true"}),n]})}function Vx(e){const t=En().location.file,n=A.useState(Fx),i=n[0],r=A.useState(Hx),s=r[0],o=A.useState(""),a=o[0],d=o[1],c=A.useMemo(()=>{const b=a.trim().toLowerCase();return b?e.review.files.filter(y=>y.path.toLowerCase().includes(b)):e.review.files},[e.review.files,a]),u=A.useMemo(()=>Bx(c),[c]),h=A.useState([]),f=h[0],p=h[1],m=e.review.files.find(b=>b.path===t)??e.review.files[0];function v(b){n[1](b),localStorage.setItem(Nc,b)}function k(b){r[1](b),localStorage.setItem(Pc,String(b))}return m?l.jsxs("div",{className:"changes-workspace",children:[l.jsxs("aside",{className:"file-browser",children:[l.jsxs("label",{className:"file-search",children:[l.jsx(P,{icon:Xu,"aria-hidden":"true"}),l.jsx("span",{className:"sr-only",children:"Filter changed files"}),l.jsx("input",{type:"search",value:a,onChange:b=>d(b.target.value),placeholder:"Filter files"})]}),l.jsxs("div",{className:"file-browser-count",children:[c.length," ",c.length===1?"file":"files"]}),l.jsxs("div",{className:"file-list",children:[c.length>0&&l.jsx(Mc,{nodes:u,depth:0,findings:e.findings,selectedPath:m.path,selectFile:e.selectFile,collapsed:a.trim()?[]:f,toggleFolder:b=>p(f.includes(b)?f.filter(y=>y!==b):[...f,b])}),c.length===0&&l.jsxs("p",{className:"file-search-empty",children:["No changed files match “",a,"”."]})]})]}),l.jsxs("section",{className:"file-diff",children:[l.jsxs("header",{className:"file-diff-header",children:[l.jsxs("div",{children:[l.jsxs("div",{className:"file-title-row",children:[l.jsx(Gx,{status:m.status}),l.jsx("h2",{children:m.path})]}),m.previousPath&&l.jsxs("p",{children:["Renamed from ",m.previousPath]})]}),l.jsxs("div",{className:"file-actions",children:[l.jsx(Oc,{file:m}),l.jsxs("div",{className:"segmented",role:"group","aria-label":"Diff layout",children:[l.jsx(pt,{className:"segmented-indicator",selector:"[aria-pressed='true']"}),l.jsx("button",{type:"button","aria-pressed":i==="split",onClick:()=>v("split"),children:"Split"}),l.jsx("button",{type:"button","aria-pressed":i==="unified",onClick:()=>v("unified"),children:"Unified"})]}),l.jsxs("label",{className:"file-wrap",children:[l.jsx("input",{type:"checkbox",checked:s,onChange:b=>k(b.target.checked)}),"Wrap lines"]}),m.githubUrl&&l.jsxs("a",{href:m.githubUrl,target:"_blank",rel:"noreferrer",children:["GitHub",l.jsx(P,{icon:zt,"aria-hidden":"true"})]})]})]}),l.jsx(lc,{file:m,diffStyle:i,wrap:s,marks:vc(e.findings,m.path,e.openFinding)})]})]}):l.jsx("p",{className:"empty-copy",children:"This pull request has no changed files."})}function Bx(e){const t={path:"",children:[]};for(const n of e){const i=n.path.split("/");let r=t;for(const s of i.slice(0,-1)){const o=r.path?`${r.path}/${s}`:s,a=r.children.find(d=>d.kind==="folder"&&d.name===s);if(a?.kind==="folder")r=a;else{const d={kind:"folder",name:s,path:o,children:[]};r.children.push(d),r=d}}r.children.push({kind:"file",name:i[i.length-1],file:n})}return Dc(t.children.map(n=>n.kind==="folder"?gs(n):n))}function gs(e){const t=e.children[0];return e.children.length===1&&t.kind==="folder"?gs({kind:"folder",name:`${e.name}/${t.name}`,path:t.path,children:t.children}):{...e,children:Dc(e.children.map(n=>n.kind==="folder"?gs(n):n))}}function Dc(e){return e.toSorted((t,n)=>t.kind!==n.kind?t.kind==="folder"?-1:1:t.name.localeCompare(n.name,"en",{numeric:!0}))}function Mc(e){const t=12+e.depth*16;return l.jsx("ul",{className:"file-tree",children:e.nodes.map(n=>{if(n.kind==="folder"){const s=!e.collapsed.includes(n.path);return l.jsxs("li",{children:[l.jsxs("button",{type:"button",className:"file-tree-folder","aria-expanded":s,title:n.path,style:{paddingLeft:t},onClick:()=>e.toggleFolder(n.path),children:[l.jsx(P,{icon:mt,className:"file-tree-chevron","aria-hidden":"true"}),l.jsx("img",{className:"file-tree-icon",src:`/api/lens/file-icon?kind=${s?"folder-open":"folder"}&name=${encodeURIComponent(n.name.split("/").at(-1))}`,alt:""}),l.jsx("span",{children:n.name})]}),s&&l.jsx(Mc,{nodes:n.children,depth:e.depth+1,findings:e.findings,selectedPath:e.selectedPath,selectFile:e.selectFile,collapsed:e.collapsed,toggleFolder:e.toggleFolder})]},n.path)}const i=n.file,r=e.findings.filter(s=>s.locations.some(o=>o.repository===null&&o.path===i.path)).toSorted((s,o)=>z[s.severity].rank-z[o.severity].rank)[0];return l.jsx("li",{children:l.jsxs("button",{type:"button",className:"file-tree-file","aria-current":e.selectedPath===i.path?"true":void 0,title:i.previousPath?`${i.path}, renamed from ${i.previousPath}`:i.path,style:{paddingLeft:t},onClick:()=>e.selectFile(i.path),children:[l.jsx("img",{className:"file-tree-icon",src:`/api/lens/file-icon?kind=file&name=${encodeURIComponent(n.name)}`,alt:""}),l.jsx("span",{className:"file-tree-name",children:n.name}),l.jsx("span",{className:r?`file-finding tone-${z[r.severity].tone}`:"file-finding",children:r&&l.jsxs(l.Fragment,{children:[l.jsx(P,{icon:z[r.severity].icon,"aria-hidden":"true"}),l.jsxs("span",{className:"sr-only",children:["Has a ",z[r.severity].label.toLowerCase()," finding"]})]})}),l.jsx(Oc,{file:i,compact:!0})]})},i.path)})})}function Wx(e){return l.jsxs("section",{className:"section",children:[l.jsxs("div",{className:"section-head",children:[l.jsx("h2",{children:"Commits"}),l.jsx("p",{children:"Oldest first"})]}),l.jsx("ol",{className:"commit-list",children:e.review.commits.map(t=>l.jsxs("li",{children:[l.jsx("div",{className:"commit-marker",children:t.authorAvatarUrl?l.jsx("img",{src:t.authorAvatarUrl,width:"30",height:"30",alt:""}):l.jsx(P,{icon:Ou,"aria-hidden":"true"})}),l.jsxs("div",{className:"commit-content",children:[t.githubUrl?l.jsx("a",{href:t.githubUrl,target:"_blank",rel:"noreferrer",children:t.title}):l.jsx("strong",{children:t.title}),t.message&&l.jsx("p",{children:t.message}),l.jsxs("span",{children:[t.authorName," · ",cc(t.authoredAt)]})]}),t.githubUrl?l.jsx("a",{className:"commit-sha",href:t.githubUrl,target:"_blank",rel:"noreferrer",children:t.sha.slice(0,7)}):l.jsx("span",{className:"commit-sha",children:t.sha.slice(0,7)})]},t.sha))}),e.review.commitsTruncated&&l.jsxs("p",{className:"data-warning",children:["GitHub returned ",e.review.commits.length," of"," ",e.review.pullRequest.commits," commits."]})]})}function Ux(e){const t=e.review.checks,n=t.items.toSorted((i,r)=>Ua(i)-Ua(r));return l.jsxs("section",{className:"section",children:[l.jsxs("div",{className:"section-head",children:[l.jsx("h2",{children:"CI checks"}),l.jsxs("p",{children:["For commit ",e.review.pullRequest.head.sha.slice(0,7)]})]}),!t.available&&l.jsx("p",{className:"empty-copy",children:t.reason}),t.available&&n.length===0&&l.jsx("p",{className:"empty-copy",children:"No CI checks ran for this commit, so nothing confirms the build or the tests pass."}),n.length>0&&l.jsx("div",{className:"check-list",children:n.map(i=>l.jsxs("div",{className:"check-row",children:[l.jsx(qx,{check:i}),l.jsxs("div",{children:[l.jsx("strong",{children:i.name}),l.jsx("span",{children:i.provider})]}),l.jsx("span",{className:"check-result",children:Kx(i)}),l.jsx("span",{className:"check-duration",children:uc(i.startedAt,i.completedAt)}),i.githubUrl?l.jsxs("a",{href:i.githubUrl,target:"_blank",rel:"noreferrer",children:["Details",l.jsx(P,{icon:zt,"aria-hidden":"true"})]}):l.jsx("span",{})]},i.id))})]})}function Oc(e){return l.jsxs("span",{className:e.compact?"change-count compact":"change-count",children:[e.file.status!=="removed"&&l.jsxs("span",{className:"addition",children:["+",Pe(e.file.additions)]}),e.file.status!=="added"&&l.jsxs("span",{className:"deletion",children:["−",Pe(e.file.deletions)]})]})}function Gx(e){const t=zx(e.status);return l.jsx("span",{className:`file-status file-status-${e.status}`,title:e.status,children:t})}function zx(e){if(e==="added")return"A";if(e==="removed")return"D";if(e==="modified"||e==="changed")return"M";if(e==="renamed")return"R";if(e==="copied")return"C";if(e==="unchanged")return"U";throw new Error(`Unknown file status: ${e}`)}function qx(e){const t=Hs(e.check);return t==="success"?l.jsx(P,{icon:ji,className:"check-icon success","aria-label":"Passed"}):t==="failure"?l.jsx(P,{icon:Xe,className:"check-icon failure","aria-label":"Failed"}):t==="neutral"?l.jsx(P,{icon:wn,className:"check-icon neutral","aria-label":"Skipped"}):l.jsx(P,{icon:Eu,className:"check-icon pending","aria-label":"In progress"})}function Hs(e){return e.status!=="completed"?"pending":e.conclusion==="success"?"success":e.conclusion==="neutral"||e.conclusion==="skipped"||e.conclusion==="cancelled"?"neutral":"failure"}function Kx(e){const t=Hs(e);return t==="success"?"Passed":t==="failure"?"Failed":t==="neutral"?e.conclusion==="cancelled"?"Cancelled":"Skipped":e.status==="queued"?"Queued":"Running"}function Ua(e){const t=Hs(e);return t==="failure"?0:t==="pending"?1:t==="success"?2:3}function Zx(e,t,n){const i=n?.results;if(e==="story"){const r=i?.story?.chapters.length??0;return r>1?{text:String(r),label:`${r} changes`,tone:"neutral"}:null}if(e==="map"){const r=i?.map?.contracts.length??0;return r>0?{text:String(r),label:`${r} ${r===1?"table or endpoint":"tables and endpoints"}`,tone:"neutral"}:null}if(e==="code")return{text:Pe(t.pullRequest.changedFiles),label:`${Pe(t.pullRequest.changedFiles)} changed ${t.pullRequest.changedFiles===1?"file":"files"}`,tone:"neutral"};if(e==="risks"){const r=i?.findings?.findings??[],s=i?.rollout?.checks.filter(d=>d.state==="blocker").length??0,o=t.checks.items.filter(An).length,a=r.length+s+o;return a===0?null:{text:String(a),label:`${a} ${a===1?"thing":"things"} to check`,tone:o>0||s>0||r.some(d=>d.severity==="high")?"bad":"warn"}}throw new Error(`Unknown tab: ${e}`)}function Xx(e){const t=Zc().id,{data:n,loading:i}=vu(mu,{variables:{orgId:t},skip:!t});if(i||!n)return l.jsx(qa,{label:"Loading service graph..."});const r=gu(n.dependencyGraph),s=new Set(e.services.map(m=>m.name)),o=r.nodes.filter(m=>s.has(m.name)),a=new Set(o.map(m=>m.id)),d=r.edges.filter(m=>a.has(m.source)&&a.has(m.target)),c=new Map;for(const m of e.services){let v=o.find(k=>k.name===m.name);v===void 0&&(v={id:`impact:${m.name}`,name:m.name,service:null},o.push(v)),c.set(v.id,{color:di[m.effect].color,label:di[m.effect].label})}const u=new Map(o.map(m=>[m.name,m.id])),h=e.services.find(m=>m.direction==="self")?.name,f=h===void 0?void 0:u.get(h),p=new Map;for(const m of e.services){if(m.direction==="self")continue;const v=u.get(m.name),k=m.via!==null&&u.has(m.via)?u.get(m.via):f;if(v===void 0||k===void 0)continue;let b=d.find(y=>y.source===v&&y.target===k||y.source===k&&y.target===v);if(b===void 0){if(m.direction==="dependency")b={id:`impact:${m.name}`,source:k,target:v,direction:"downstream"};else if(m.direction==="consumer")b={id:`impact:${m.name}`,source:v,target:k,direction:"downstream"};else throw new Error(`unknown impact direction: ${m.direction}`);d.push(b)}m.effect!=="none"&&m.effect!=="unknown"&&p.set(b.id,di[m.effect].color)}return l.jsx(bu,{nodes:o,edges:d,focusId:f,marks:c,edgeMarks:p,selectedId:u.get(e.selected),onNodeClick:m=>e.select(m.name)})}function Jx(e){const[t,n]=A.useState(!1),[i,r]=A.useState(e.settings),[s,o]=A.useState(!1),[a,d]=A.useState(null),c=!Ds(e.settings,i);async function u(){o(!0),d(null);try{await e.saveSettings(i),n(!1)}catch(h){d(h instanceof Error?h.message:"Lens could not save the settings.")}finally{o(!1)}}return l.jsx(Ga,{open:t,onOpenChange:h=>{h&&(r(e.settings),d(null)),n(h)},trigger:l.jsx($c,{asChild:!0,children:l.jsxs("button",{type:"button",className:"action-button",children:[l.jsx(P,{icon:il,"aria-hidden":"true"}),"Customize"]})}),children:l.jsxs(za,{title:"Customize Lens",description:"Your settings apply to every review on this machine.",footerCancel:!0,footerSubmit:s?"Saving":c?"Save and run again":"Save",footerSubmitLoading:s,onFooterSubmitClick:()=>void u(),children:[l.jsx("div",{className:"uigraph-lens",children:l.jsx(jc,{value:i,onChange:r,repositoryConfig:e.repositoryConfig})}),l.jsx("p",{role:a?"alert":void 0,className:Za("mt-5 text-xs text-[#828DA3]",a&&"text-red-400"),children:a??(c?"Saving starts a new review. It takes a few minutes.":"The review does not need to run again.")})]})})}function V_(e){const{runId:t}=zc(),n=Qx(t),i=Xa(),r=qc(),s=Kc(),o=Ka({queryKey:["lens-settings"],queryFn:fu});return n.run?l.jsxs(l.Fragment,{children:[n.run.running&&l.jsxs("div",{className:"border-stock flex items-center justify-between gap-4 border-b px-6 py-2 text-sm text-[#828DA3]",children:["Review in progress",l.jsx(e_,{runId:t})]}),n.run.running&&n.analysis?.ticketCandidates&&l.jsx(t_,{runId:t,candidates:n.analysis.ticketCandidates}),l.jsx(Mx,{review:n.run.review,analysis:n.analysis,location:vy(s[0]),onLocationChange:a=>s[1](yy(a)),hideHeader:e.inDashboard,renderImpactGraph:a=>l.jsx(Xx,{...a}),customize:o.data&&l.jsx(Jx,{settings:o.data,repositoryConfig:n.analysis?.repositoryConfig??null,saveSettings:async a=>{const d=await du(a);i.setQueryData(["lens-settings"],d);const c=n.run?.review.pullRequest.githubUrl??null;if(n.analysis===null||Ds(n.analysis.settings,d))return;if(c===null){vs.info("The next review uses these settings.");return}const u=await cu(c);i.invalidateQueries({queryKey:["lens-runs"]}),r(e.inDashboard?Vs.lens.dashboardRun(u):Vs.lens.run(u))}})}),!n.connected&&l.jsx(i_,{})]}):l.jsx(Yx,{state:n.state})}function Qx(e){const t=Xa(),n=Ka({queryKey:["lens-run",e],queryFn:()=>pu(e)}),[i,r]=A.useState(null),[s,o]=A.useState(!0),a=n.data?.running===!0;A.useEffect(()=>{if(!a)return;const c=new EventSource(`/api/lens/runs/${e}/events`);return c.onopen=()=>o(!0),c.onerror=()=>o(!1),c.onmessage=u=>{r({runId:e,analysis:JSON.parse(u.data)})},c.addEventListener("end",()=>{c.close(),o(!0),t.invalidateQueries({queryKey:["lens-run",e]}),t.invalidateQueries({queryKey:["lens-runs"]})}),()=>c.close()},[a,e,t]),A.useEffect(()=>{n.data&&(document.title=`${n.data.review.pullRequest.number===null?"":`#${n.data.review.pullRequest.number} `}${n.data.review.pullRequest.title} · UIGraph Lens`)},[n.data]);const d=n.data??null;return{run:d,analysis:a&&i?.runId===e?i.analysis:d?.analysis??null,connected:!a||s,state:n.isPending?"loading":n.isError?"error":"missing"}}function Yx({state:e}){return e==="loading"?l.jsx(qa,{label:"Loading the review"}):e==="error"?l.jsx($s,{plain:!0,label:"The review could not be loaded."}):l.jsx($s,{plain:!0,label:"This Lens run was not found."})}function e_({runId:e}){const[t,n]=A.useState(!1);return l.jsx(ti,{preset:"outline",disabled:t,onClick:()=>{n(!0),uu(e).catch(i=>{n(!1),vs.error(i instanceof Error?i.message:"Lens could not stop.")})},children:t?"Stopping":"Stop review"})}function t_({runId:e,candidates:t}){const[n,i]=A.useState(!0),[r,s]=A.useState([]),[o,a]=A.useState(null),d=[...new Set(t.flatMap(u=>u.tracker??[]))];function c(u){a(u.length===0?"none":"tickets"),hu(e,u).catch(h=>{a(null),vs.error(h instanceof Error?h.message:"The answer could not be sent.")})}return l.jsxs(l.Fragment,{children:[!n&&l.jsxs("div",{className:"flex items-center justify-between gap-4 border-b border-[#3B6BFF]/30 bg-[#3B6BFF]/10 px-6 py-2 text-sm text-[#C7D3F5]",children:["Lens is paused until you pick the tickets for this change.",l.jsx(ti,{preset:"outline",onClick:()=>i(!0),children:"Pick tickets"})]}),l.jsx(Ga,{open:n,onOpenChange:i,className:"[--width:36rem]",children:l.jsx(za,{_headerContent:l.jsxs(Bc,{className:"flex w-full flex-row items-start justify-between gap-4 border-b border-[#2A3242] px-6 py-5",children:[l.jsxs("div",{className:"flex flex-col gap-1.5",children:[l.jsx(Wc,{className:"text-left text-base font-medium",children:"Which tickets does this change belong to?"}),l.jsx(Uc,{className:"text-left",children:`Lens found ${t.length} ${d.length===1?`${d[0]} tickets`:"tickets"} that could match. Pick every ticket this change works on.`})]}),l.jsx(Fc,{className:"shrink-0"})]}),_footerContent:l.jsxs(Vc,{className:"flex w-full flex-row items-center justify-between gap-3 p-6 pt-3 sm:justify-between",children:[l.jsxs(ti,{preset:"ghost",disabled:o!==null,onClick:()=>c([]),children:[o==="none"&&l.jsx(Ws,{className:"size-4 animate-spin"}),"None of these"]}),l.jsxs(ti,{preset:"primary",disabled:r.length===0||o!==null,onClick:()=>c(r),children:[o==="tickets"&&l.jsx(Ws,{className:"size-4 animate-spin"}),r.length===1?`Use ${r[0]}`:r.length>1?`Use ${r.length} tickets`:"Use tickets"]})]}),children:l.jsx("div",{className:"flex flex-col gap-2",children:t.map(u=>{const h=n_(u.tracker),f=r.includes(u.key);return l.jsxs("label",{className:Za("flex cursor-pointer items-start gap-3 rounded-xl border border-[#2A3242] px-4 py-3 transition-colors hover:border-[#3A4357] hover:bg-white/[0.02]",f&&"border-[#3B6BFF] bg-[#3B6BFF]/10 hover:border-[#3B6BFF] hover:bg-[#3B6BFF]/10"),children:[l.jsx(Hc,{className:"mt-0.5",checked:f,onCheckedChange:p=>s(t.map(m=>m.key).filter(m=>m===u.key?p===!0:r.includes(m)))}),l.jsxs("span",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[l.jsxs("span",{className:"flex items-center gap-2 text-xs text-[#828DA3]",children:[h&&l.jsx(h,{className:"size-3"}),l.jsx("span",{className:"font-mono",children:u.key})]}),l.jsx("span",{className:"text-foreground text-sm font-medium",children:u.title}),l.jsx("span",{className:"text-[13px] text-[#828DA3]",children:u.reason})]}),u.url&&l.jsx("a",{href:u.url,target:"_blank",rel:"noreferrer","aria-label":`Open ${u.key}`,onClick:p=>p.stopPropagation(),className:"hover:text-foreground shrink-0 rounded-md p-1 text-[#828DA3] hover:bg-white/5",children:l.jsx(Gc,{className:"size-4"})})]},u.key)})})})})]})}function n_(e){if(e===null)return null;const t=e.toLowerCase();return t==="linear"?ou:t==="jira"?au:t==="github"?lu:null}function i_(){return l.jsx("div",{className:"uigraph-lens",children:l.jsx("p",{className:"data-warning connection-warning",role:"status",children:"Lost the connection to the Lens process. Reconnecting."})})}export{V_ as LensRunPage};
|