@inkeep/open-knowledge 0.24.0-beta.6 → 0.24.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/skills/discovery/SKILL.md +1 -1
- package/dist/assets/skills/project/SKILL.md +1 -1
- package/dist/cli.mjs +6 -6
- package/dist/constants-HKiSpW-s.mjs +2 -0
- package/dist/{dist-CPWuFcMi.mjs → dist-9ODGY1sr.mjs} +8 -8
- package/dist/{dist-B4UWLjxL.mjs → dist-CP_B5QnK.mjs} +1 -1
- package/dist/{gh-detect-DR8F3B_q.mjs → gh-detect-B4gJX6Zo.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{init-CZ_nELEP.mjs → init-B6djgC_T.mjs} +4 -4
- package/dist/init-BlcimW-B.mjs +1 -0
- package/dist/{loader-DzDqBeq5.mjs → loader-C9WOVMzr.mjs} +2 -2
- package/dist/loader-D0nhnzVn.mjs +1 -0
- package/dist/{preview-B-Wfn8l6.mjs → preview-DIZpvl3x.mjs} +2 -2
- package/dist/preview-DKHez_w3.mjs +1 -0
- package/dist/public/assets/{ActivityModeContent-DEiciTSd.js → ActivityModeContent-B64TMVp3.js} +2 -2
- package/dist/public/assets/{ConsentDialogBody-BLdl7bD4.js → ConsentDialogBody-DOBtAIqx.js} +1 -1
- package/dist/public/assets/{DocumentContext-C-wDVnFV.js → DocumentContext-BlziVobJ.js} +20 -20
- package/dist/public/assets/{GraphPanel-B7rLBrzx.js → GraphPanel-BOzNAXNR.js} +1 -1
- package/dist/public/assets/{ManagedArtifactProperties-gE2PmAzV.js → ManagedArtifactProperties-CYtk8Bqt.js} +1 -1
- package/dist/public/assets/{PropertyPanel-DeDmWUyq.js → PropertyPanel-DUcQoy8A.js} +2 -2
- package/dist/public/assets/{SettingsDialogBody-B1Ey0zo3.js → SettingsDialogBody-CehseGeW.js} +2 -2
- package/dist/public/assets/{SkillEditorActions-CMgQx71p.js → SkillEditorActions-SkSo8rGK.js} +1 -1
- package/dist/public/assets/{SourceEditor-Baen8H9p.js → SourceEditor-Cd7sWXXb.js} +1 -1
- package/dist/public/assets/{TerminalPanel-DBiCU03J.js → TerminalPanel-bFmiuK8M.js} +1 -1
- package/dist/public/assets/{_baseFor-D54ddCgV.js → _baseFor-BdRc24ye.js} +1 -1
- package/dist/public/assets/{arc-CX8VzsKv.js → arc-BXOQr9sa.js} +1 -1
- package/dist/public/assets/architecture-YZFGNWBL-BJ8obmp9.js +1 -0
- package/dist/public/assets/{architectureDiagram-Q4EWVU46-COjsIxjs.js → architectureDiagram-Q4EWVU46-CAr0uulM.js} +1 -1
- package/dist/public/assets/{blockDiagram-DXYQGD6D-DGJUDn9H.js → blockDiagram-DXYQGD6D-BYOlkUWt.js} +1 -1
- package/dist/public/assets/{c4Diagram-AHTNJAMY-CRV9SgJm.js → c4Diagram-AHTNJAMY-DkEx1qz7.js} +1 -1
- package/dist/public/assets/{calendar-BOfR9Wel.js → calendar-BeE_jjq6.js} +1 -1
- package/dist/public/assets/channel-CxQamJ0l.js +1 -0
- package/dist/public/assets/{chunk-2KRD3SAO-BADJbdsA.js → chunk-2KRD3SAO-D2DjUFaZ.js} +1 -1
- package/dist/public/assets/{chunk-336JU56O-QSmC96Rs.js → chunk-336JU56O-QhK--V8_.js} +2 -2
- package/dist/public/assets/chunk-426QAEUC-B26VGV3k.js +1 -0
- package/dist/public/assets/{chunk-4BX2VUAB-CHAo1-t1.js → chunk-4BX2VUAB-BBac1hvY.js} +1 -1
- package/dist/public/assets/{chunk-4TB4RGXK-_pOPhRB4.js → chunk-4TB4RGXK-lxCQIdxu.js} +1 -1
- package/dist/public/assets/chunk-55IACEB6-DcXoATYF.js +1 -0
- package/dist/public/assets/{chunk-5FUZZQ4R-D6HYk55Z.js → chunk-5FUZZQ4R-CCcKUfaC.js} +1 -1
- package/dist/public/assets/{chunk-5PVQY5BW-DIn4cbvq.js → chunk-5PVQY5BW-CfzGIIMQ.js} +1 -1
- package/dist/public/assets/{chunk-67CJDMHE-C14F5sRw.js → chunk-67CJDMHE-CoCng_Yx.js} +1 -1
- package/dist/public/assets/{chunk-7N4EOEYR-Dw-Bq2eG.js → chunk-7N4EOEYR-D48AE8ry.js} +1 -1
- package/dist/public/assets/{chunk-AA7GKIK3-C8uhEWlv.js → chunk-AA7GKIK3-Bd86vz18.js} +1 -1
- package/dist/public/assets/{chunk-BSJP7CBP-BW2v_2o9.js → chunk-BSJP7CBP-A609rNf0.js} +1 -1
- package/dist/public/assets/{chunk-CIAEETIT-BRhCdt9D.js → chunk-CIAEETIT-BHgTMk7X.js} +1 -1
- package/dist/public/assets/{chunk-EDXVE4YY-UzWuBV_O.js → chunk-EDXVE4YY-YecRV9dI.js} +1 -1
- package/dist/public/assets/{chunk-ENJZ2VHE-CJjgYRyL.js → chunk-ENJZ2VHE-c4WaVxtk.js} +1 -1
- package/dist/public/assets/{chunk-FMBD7UC4-BpjuUpyo.js → chunk-FMBD7UC4-DCtEx_G1.js} +1 -1
- package/dist/public/assets/{chunk-FOC6F5B3-UKBey2zk.js → chunk-FOC6F5B3-C2AAsQu5.js} +1 -1
- package/dist/public/assets/{chunk-ICPOFSXX-DY9nFxrX.js → chunk-ICPOFSXX-CftHrrY2.js} +1 -1
- package/dist/public/assets/{chunk-K5T4RW27-CpMfAm3b.js → chunk-K5T4RW27-B9KmYG05.js} +1 -1
- package/dist/public/assets/{chunk-KGLVRYIC-rrqQGbOL.js → chunk-KGLVRYIC-D8pwR97r.js} +1 -1
- package/dist/public/assets/{chunk-LIHQZDEY-yFR0cKbH.js → chunk-LIHQZDEY-DZ-tw06m.js} +1 -1
- package/dist/public/assets/{chunk-ORNJ4GCN-BtPodknv.js → chunk-ORNJ4GCN-Z1vFtWE_.js} +1 -1
- package/dist/public/assets/{chunk-OYMX7WX6-CnSRtGDg.js → chunk-OYMX7WX6-BFBDZA6g.js} +1 -1
- package/dist/public/assets/chunk-QZHKN3VN-n_LvQn_A.js +1 -0
- package/dist/public/assets/{chunk-U2HBQHQK-DdsCe4K6.js → chunk-U2HBQHQK-SrN05XGk.js} +1 -1
- package/dist/public/assets/{chunk-X2U36JSP-DHnVr_BK.js → chunk-X2U36JSP-BGXL8B6X.js} +1 -1
- package/dist/public/assets/{chunk-XPW4576I-BwkqUpw2.js → chunk-XPW4576I-c40lI9bz.js} +1 -1
- package/dist/public/assets/{chunk-YZCP3GAM-BJ-fc2Rg.js → chunk-YZCP3GAM-vhP5bjDK.js} +1 -1
- package/dist/public/assets/{chunk-ZZ45TVLE-BCp9ngvG.js → chunk-ZZ45TVLE-BQhO4ko8.js} +1 -1
- package/dist/public/assets/classDiagram-6PBFFD2Q-B6v0dNtf.js +1 -0
- package/dist/public/assets/classDiagram-v2-HSJHXN6E-8p8EVfHS.js +1 -0
- package/dist/public/assets/clone-BgLDPfzN.js +1 -0
- package/dist/public/assets/{config-validation-events-QwSBoIEm.js → config-validation-events-VKG3DgLl.js} +4 -4
- package/dist/public/assets/{cose-bilkent-S5V4N54A-fa7N9UIg.js → cose-bilkent-S5V4N54A-DLAlQ7cr.js} +1 -1
- package/dist/public/assets/{dagre-COqttKg6.js → dagre-BZchHpC5.js} +1 -1
- package/dist/public/assets/{dagre-KV5264BT-D-MCTUUw.js → dagre-KV5264BT-CfKzqtdQ.js} +1 -1
- package/dist/public/assets/{diagram-5BDNPKRD-DQc8ouPM.js → diagram-5BDNPKRD-DwexIECp.js} +1 -1
- package/dist/public/assets/{diagram-G4DWMVQ6-kua0kYmN.js → diagram-G4DWMVQ6-COh3Z9VA.js} +1 -1
- package/dist/public/assets/{diagram-MMDJMWI5-UabkDa4C.js → diagram-MMDJMWI5-DgU0Oq8X.js} +1 -1
- package/dist/public/assets/{diagram-TYMM5635-BHqAOmX9.js → diagram-TYMM5635-WAxbluNj.js} +1 -1
- package/dist/public/assets/{dist-Bvyh5TDV.js → dist-7FuH8GMo.js} +1 -1
- package/dist/public/assets/{dist-CZ8juU19.js → dist-BC_IrM4F.js} +1 -1
- package/dist/public/assets/{dist-B-_AIBU7.js → dist-BPuPEdb6.js} +1 -1
- package/dist/public/assets/{dist-Cmfs-Ydn.js → dist-Bjtzzcz_.js} +51 -51
- package/dist/public/assets/{dist-BfNYKL0c2.js → dist-Bz14RHFY.js} +1 -1
- package/dist/public/assets/{dist-H4xHjwbu.js → dist-CEE3i3A0.js} +1 -1
- package/dist/public/assets/{dist-5njPzycn.js → dist-CikH4tpl.js} +1 -1
- package/dist/public/assets/{dist-BGwzEJ7I.js → dist-Det3ErjQ.js} +1 -1
- package/dist/public/assets/dist-HZjJQtoL2.js +1 -0
- package/dist/public/assets/{dist-FGpiMDYQ.js → dist-m9JR0snv.js} +1 -1
- package/dist/public/assets/{dist-CtqWzamV2.js → dist-pXD8nsnR.js} +1 -1
- package/dist/public/assets/{documents-events-BZ-NuT20.js → documents-events-B7iSYQul.js} +1 -1
- package/dist/public/assets/{erDiagram-SMLLAGMA-BJ6mJb4X.js → erDiagram-SMLLAGMA-DklQoopT.js} +1 -1
- package/dist/public/assets/{file-tree-adapter-k_pkZ3zh.js → file-tree-adapter-CxLAzSjb.js} +1 -1
- package/dist/public/assets/{flatten-_XsqzTi6.js → flatten-TtWU5i3V.js} +1 -1
- package/dist/public/assets/{flowDiagram-DWJPFMVM-CqNbEdTQ.js → flowDiagram-DWJPFMVM-DGx4vFD2.js} +1 -1
- package/dist/public/assets/{ganttDiagram-T4ZO3ILL-C0OJIv4u.js → ganttDiagram-T4ZO3ILL-CXbzel3t.js} +1 -1
- package/dist/public/assets/gitGraph-7Q5UKJZL-DejY_JNY.js +1 -0
- package/dist/public/assets/{gitGraphDiagram-UUTBAWPF-BIvRakNL.js → gitGraphDiagram-UUTBAWPF-CrUE86w0.js} +1 -1
- package/dist/public/assets/{graphlib-Ndup9edl.js → graphlib-DDlNZh2M.js} +1 -1
- package/dist/public/assets/index-BWeiEFt2.js +2004 -0
- package/dist/public/assets/info-OMHHGYJF-9xiK2noM.js +1 -0
- package/dist/public/assets/{infoDiagram-42DDH7IO-BZDO7AiE.js → infoDiagram-42DDH7IO-D1AIW9Gs.js} +1 -1
- package/dist/public/assets/{isEmpty-aix63sna.js → isEmpty-DnmseQjK.js} +1 -1
- package/dist/public/assets/isSymbol-C5HN6O5S.js +1 -0
- package/dist/public/assets/{ishikawaDiagram-UXIWVN3A-1ASGrOot.js → ishikawaDiagram-UXIWVN3A-DvnqrddQ.js} +1 -1
- package/dist/public/assets/{journeyDiagram-VCZTEJTY-kiFyWa4j.js → journeyDiagram-VCZTEJTY-C11zoBxw.js} +1 -1
- package/dist/public/assets/{kanban-definition-6JOO6SKY-DK89HltM.js → kanban-definition-6JOO6SKY-f2UJfIU3.js} +1 -1
- package/dist/public/assets/{keyboard-shortcuts-DdtsPkF4.js → keyboard-shortcuts-BanMswAs.js} +1 -1
- package/dist/public/assets/{line-BntNoGZG.js → line-B2wHuvNM.js} +1 -1
- package/dist/public/assets/{linear-N_t9yEQX.js → linear-B3Scki2z.js} +1 -1
- package/dist/public/assets/{mermaid-parser.core-Bt_9ZpQF.js → mermaid-parser.core-D7whD4cl.js} +2 -2
- package/dist/public/assets/{mermaid.core-CMx0_yN5.js → mermaid.core-BWYus9rU.js} +3 -3
- package/dist/public/assets/{mindmap-definition-QFDTVHPH-CmIKuiAN.js → mindmap-definition-QFDTVHPH-CR9IgpV7.js} +1 -1
- package/dist/public/assets/{navigation-targets-DosY_GDn.js → navigation-targets-BBvp-Gxt.js} +1 -1
- package/dist/public/assets/{now-BcKw8pEx.js → now-jv_Sei15.js} +1 -1
- package/dist/public/assets/{open-managed-artifact-tab-HL4UJ8d1.js → open-managed-artifact-tab-BbQDONrv.js} +1 -1
- package/dist/public/assets/{ordinal-BAx3IfMd.js → ordinal-BRkB4leE.js} +1 -1
- package/dist/public/assets/packet-4T2RLAQJ-YinPAYtq.js +1 -0
- package/dist/public/assets/pie-ZZUOXDRM-k77NcUcY.js +1 -0
- package/dist/public/assets/{pieDiagram-DEJITSTG-DACrQaif.js → pieDiagram-DEJITSTG-CnAZNYeq.js} +1 -1
- package/dist/public/assets/prop-types-DXyNHDSH.js +1 -0
- package/dist/public/assets/{quadrantDiagram-34T5L4WZ-DoxwJYr7.js → quadrantDiagram-34T5L4WZ-Bqtrcr8D.js} +1 -1
- package/dist/public/assets/radar-PYXPWWZC-Q5ezA6us.js +1 -0
- package/dist/public/assets/{reduce-UKQOnjSn.js → reduce-CpEDzY8w.js} +1 -1
- package/dist/public/assets/{requirementDiagram-MS252O5E-0wPfI6QY.js → requirementDiagram-MS252O5E-BkvuaXG4.js} +1 -1
- package/dist/public/assets/{sankeyDiagram-XADWPNL6-LAE0chGZ.js → sankeyDiagram-XADWPNL6-DGDsUSOp.js} +1 -1
- package/dist/public/assets/{selection-context-ud0S7IiG.js → selection-context-3bzSsUeV.js} +1 -1
- package/dist/public/assets/{sequenceDiagram-FGHM5R23-Chc9csZX.js → sequenceDiagram-FGHM5R23-iuzPRWKE.js} +1 -1
- package/dist/public/assets/{skill-actions-DMtg_juC.js → skill-actions-8oZwtKvr.js} +1 -1
- package/dist/public/assets/{skills-api-C9-REwRl.js → skills-api-C8yxC-Y8.js} +1 -1
- package/dist/public/assets/{src-BdihqH02.js → src-DA6t3wJi.js} +1 -1
- package/dist/public/assets/startup-marks-DX3HfdcU.js +1 -0
- package/dist/public/assets/{stateDiagram-FHFEXIEX-QcyLuGMN.js → stateDiagram-FHFEXIEX-DSWHCLx5.js} +1 -1
- package/dist/public/assets/stateDiagram-v2-QKLJ7IA2-BtqbzLrh.js +1 -0
- package/dist/public/assets/{target-navigation-intent-CdbY7hfn.js → target-navigation-intent-nE1R65kM.js} +1 -1
- package/dist/public/assets/{telemetry-impl-BvXatK9v.js → telemetry-impl-BxLbJWUi.js} +2 -2
- package/dist/public/assets/telemetry-startup-mmkCxwyh.js +1 -0
- package/dist/public/assets/{timeline-definition-GMOUNBTQ-Cu9O4nWX.js → timeline-definition-GMOUNBTQ-CfC-S2A3.js} +1 -1
- package/dist/public/assets/treeView-SZITEDCU-AyOVdphu.js +1 -0
- package/dist/public/assets/treemap-W4RFUUIX-F1M1iZu-.js +1 -0
- package/dist/public/assets/{typing-burst-detector-D1mkuIxr.js → typing-burst-detector-CiXPtnXN.js} +3 -3
- package/dist/public/assets/{vennDiagram-DHZGUBPP-eH5Exbd9.js → vennDiagram-DHZGUBPP-DMf7SEn4.js} +1 -1
- package/dist/public/assets/wardley-RL74JXVD-DmCS8ltQ.js +1 -0
- package/dist/public/assets/{wardleyDiagram-NUSXRM2D-DW41OqxK.js → wardleyDiagram-NUSXRM2D-D0Euwoae.js} +1 -1
- package/dist/public/assets/{xychartDiagram-5P7HB3ND-BT6ib8xM.js → xychartDiagram-5P7HB3ND-BIV5DX58.js} +1 -1
- package/dist/public/index.html +30 -29
- package/dist/{repair-launch-json-CbcG9uNW.mjs → repair-launch-json-BtaA-DD2.mjs} +2 -2
- package/dist/{repair-mcp-configs-CZUV_jeZ.mjs → repair-mcp-configs-Dbwzmujk.mjs} +2 -2
- package/dist/repair-skills-CkAZUSQR.mjs +1 -0
- package/dist/{repair-skills-D1PQNact.mjs → repair-skills-XRt-TSi_.mjs} +2 -2
- package/dist/server-lock-8Lv6A-Xa-Cxe-7wxJ.mjs +1 -0
- package/dist/{server-lock-CN2YHwpP-DiysUpvV.mjs → server-lock-CN2YHwpP-DwE4XXIS.mjs} +28 -28
- package/dist/{src-CWhVS7Hy.mjs → src-B6UP4nPX.mjs} +2 -2
- package/dist/start-lnUM3lAJ.mjs +1 -0
- package/dist/{start-CwS12j1b.mjs → start-tfH94om9.mjs} +2 -2
- package/dist/{write-project-skill-CkUa0amf.mjs → write-project-skill-B72gtwrZ.mjs} +2 -2
- package/package.json +1 -1
- package/dist/constants-BLhahSKo.mjs +0 -2
- package/dist/init-DtY7Wnrh.mjs +0 -1
- package/dist/loader-2rz27wbd.mjs +0 -1
- package/dist/preview-LkqS-SVl.mjs +0 -1
- package/dist/public/assets/architecture-YZFGNWBL-LCAJUs2E.js +0 -1
- package/dist/public/assets/channel-D5KDsooX.js +0 -1
- package/dist/public/assets/chunk-426QAEUC-DLJUx4YH.js +0 -1
- package/dist/public/assets/chunk-55IACEB6--4MoDq_6.js +0 -1
- package/dist/public/assets/chunk-QZHKN3VN-CmNIolyF.js +0 -1
- package/dist/public/assets/classDiagram-6PBFFD2Q-CcsZam4p.js +0 -1
- package/dist/public/assets/classDiagram-v2-HSJHXN6E-DETyEa0B.js +0 -1
- package/dist/public/assets/clone-BbgQKnGZ.js +0 -1
- package/dist/public/assets/dist-GsKSyQg-.js +0 -1
- package/dist/public/assets/gitGraph-7Q5UKJZL-B7OVJvX8.js +0 -1
- package/dist/public/assets/index-R2qGh526.js +0 -2004
- package/dist/public/assets/info-OMHHGYJF-1noYtGam.js +0 -1
- package/dist/public/assets/isSymbol-DNCAG2i9.js +0 -1
- package/dist/public/assets/packet-4T2RLAQJ-D3fc6s9_.js +0 -1
- package/dist/public/assets/pie-ZZUOXDRM-DaAgDyo7.js +0 -1
- package/dist/public/assets/prop-types-BpxMt5L_.js +0 -1
- package/dist/public/assets/radar-PYXPWWZC-DspSpQh4.js +0 -1
- package/dist/public/assets/stateDiagram-v2-QKLJ7IA2-CwmZULOI.js +0 -1
- package/dist/public/assets/treeView-SZITEDCU-fP9uY0On.js +0 -1
- package/dist/public/assets/treemap-W4RFUUIX-BXJeI_YU.js +0 -1
- package/dist/public/assets/wardley-RL74JXVD-EnPRi_dh.js +0 -1
- package/dist/repair-skills-C9v77qTm.mjs +0 -1
- package/dist/server-lock-8Lv6A-Xa-DCBoMd9v.mjs +0 -1
- package/dist/start-DdUrp1l4.mjs +0 -1
- /package/dist/public/assets/{ActivityPanelDiffView-D4MHJpV0.js → ActivityPanelDiffView-BO8reo7p.js} +0 -0
- /package/dist/public/assets/{McpConsentDialogBody-CIYpdlED.js → McpConsentDialogBody-BmNZ4WyJ.js} +0 -0
- /package/dist/public/assets/{__vite-browser-external-MOMtgHYZ.js → __vite-browser-external-DvGgCmb2.js} +0 -0
- /package/dist/public/assets/{array-CBLp81Ex.js → array-DfQsubZQ.js} +0 -0
- /package/dist/public/assets/{clike-B_I7LHuO.js → clike-Xzxb8Sz1.js} +0 -0
- /package/dist/public/assets/{colors-DzdyOq8I.js → colors-C23yJeS9.js} +0 -0
- /package/dist/public/assets/{cytoscape.esm-SCoi-wuq.js → cytoscape.esm-M6FYTizt.js} +0 -0
- /package/dist/public/assets/{defaultLocale-BrXSu2JC.js → defaultLocale-BRK3HZbx.js} +0 -0
- /package/dist/public/assets/{diff-Crh7dhXT.js → diff-Cm_P-pnl.js} +0 -0
- /package/dist/public/assets/{dist-oXbGii4W.js → dist-BS8GtzO9.js} +0 -0
- /package/dist/public/assets/{dist-ctJT8lVd.js → dist-CjXkcarO.js} +0 -0
- /package/dist/public/assets/{file-tree-rename-validation-OmIq2tUW.js → file-tree-rename-validation-B9K2lxjE.js} +0 -0
- /package/dist/public/assets/{format-CFMm5Ng-.js → format-C-cvY9tz.js} +0 -0
- /package/dist/public/assets/{go-Z3wE98-I.js → go-C95e_bXR.js} +0 -0
- /package/dist/public/assets/{init-BgBNAjap.js → init-CLIhTc-7.js} +0 -0
- /package/dist/public/assets/{isObjectLike-BdoalOjb.js → isObjectLike-B6rhnmNR.js} +0 -0
- /package/dist/public/assets/{lua-Cqdgy56L.js → lua-B7j7H7NW.js} +0 -0
- /package/dist/public/assets/{min-NHChNRX9.js → min-DX8PS56Y.js} +0 -0
- /package/dist/public/assets/{path-p9xFZuMn.js → path-C86-B4H2.js} +0 -0
- /package/dist/public/assets/{pdf-BIhr1Krc.js → pdf-DMjKf--X.js} +0 -0
- /package/dist/public/assets/{pdf.worker-BO0LPxWN.js → pdf.worker-CNyNLvYe.js} +0 -0
- /package/dist/public/assets/{perl-CE2S8U7m.js → perl-Cyvq88MC.js} +0 -0
- /package/dist/public/assets/{properties-BbIafFRL.js → properties-DtD2wIuP.js} +0 -0
- /package/dist/public/assets/{r-DxZPApDG.js → r-B7LmzBuW.js} +0 -0
- /package/dist/public/assets/{rough.esm-5Tjchx1D.js → rough.esm-BVW8jYRk.js} +0 -0
- /package/dist/public/assets/{ruby-BgDu4VVp.js → ruby-uptP8xi-.js} +0 -0
- /package/dist/public/assets/{shell-C7sKG-gh.js → shell-ClHxB-gB.js} +0 -0
- /package/dist/public/assets/{sql-Bm8-ThVq.js → sql-DQPLTNW_.js} +0 -0
- /package/dist/public/assets/{src-CldOY_w0.js → src-D_6tSLtQ.js} +0 -0
- /package/dist/public/assets/{stex-C863jojy.js → stex-C5SatQxm.js} +0 -0
- /package/dist/public/assets/{swift-BMkXMkx2.js → swift-CLNexkWh.js} +0 -0
- /package/dist/public/assets/{textarea-D3MecMx5.js → textarea-BVfCks43.js} +0 -0
- /package/dist/public/assets/{toml-Bt_dL0dK.js → toml-DoE1CXtR.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{o as e}from"./chunk-CFjPhJqf.js";import{n,r,t as i}from"./compiler-runtime-CVnuRdak.js";import{n as a,r as o}from"./dist-CQw2y-s3.js";import{a as s,c,i as l,n as u,o as d,r as f,s as p,t as m}from"./panel-BbrtnF__.js";import{Gi as h,Gn as g,L as _,U as v,X as y,Y as b,rt as x}from"./dist-Cmfs-Ydn.js";import{l as S,t as C,u as w}from"./button-DGf25ccp.js";import{i as T,n as E,t as ee}from"./toggle-group-Bwdb9pNj.js";import{c as te,i as D,l as O,t as k,u as ne}from"./prop-types-BpxMt5L_.js";import{o as re,u as A}from"./documents-events-BZ-NuT20.js";import{n as ie}from"./external-link-CJXR-UFu.js";import{i as ae,n as oe,t as se}from"./tooltip-D-omjYEX.js";import{C as ce}from"./navigation-targets-DosY_GDn.js";import{t as le}from"./target-navigation-intent-CdbY7hfn.js";import{n as ue}from"./isObjectLike-BdoalOjb.js";import{t as de}from"./ordinal-BAx3IfMd.js";import{n as fe,t as pe}from"./min-NHChNRX9.js";import{C as j,S as me,_ as he,b as M,g as ge,n as N,r as _e,t as ve,v as ye,w as be,x as xe,y as Se}from"./src-CldOY_w0.js";import{t as Ce}from"./colors-DzdyOq8I.js";import{n as we,t as P}from"./now-BcKw8pEx.js";var Te=w(`maximize-2`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]),Ee=w(`minimize-2`,[[`path`,{d:`m14 10 7-7`,key:`oa77jy`}],[`path`,{d:`M20 10h-6V4`,key:`mjg0md`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M4 14h6v6`,key:`rmj7iw`}]]);function F(e,n){let r=0;if(n===void 0)for(let n of e)(n=+n)&&(r+=n);else{let i=-1;for(let a of e)(a=+n(a,++i,e))&&(r+=a)}return r}var De=e=>()=>e;function Oe(e,{sourceEvent:n,subject:r,target:i,identifier:a,active:o,x:s,y:c,dx:l,dy:u,dispatch:d}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:r,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},identifier:{value:a,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:s,enumerable:!0,configurable:!0},y:{value:c,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:d}})}Oe.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function ke(e){return!e.ctrlKey&&!e.button}function Ae(){return this.parentNode}function je(e,n){return n??{x:e.x,y:e.y}}function Me(){return navigator.maxTouchPoints||`ontouchstart`in this}function Ne(){var e=ke,n=Ae,r=je,i=Me,a={},o=be(`start`,`drag`,`end`),s=0,c,l,u,d,f=0;function p(e){e.on(`mousedown.drag`,m).filter(i).on(`touchstart.drag`,_).on(`touchmove.drag`,v,Se).on(`touchend.drag touchcancel.drag`,y).style(`touch-action`,`none`).style(`-webkit-tap-highlight-color`,`rgba(0,0,0,0)`)}function m(r,i){if(!(d||!e.call(this,r,i))){var a=b(this,n.call(this,r,i),r,i,`mouse`);a&&(j(r.view).on(`mousemove.drag`,h,M).on(`mouseup.drag`,g,M),ge(r.view),xe(r),u=!1,c=r.clientX,l=r.clientY,a(`start`,r))}}function h(e){if(ye(e),!u){var n=e.clientX-c,r=e.clientY-l;u=n*n+r*r>f}a.mouse(`drag`,e)}function g(e){j(e.view).on(`mousemove.drag mouseup.drag`,null),he(e.view,u),ye(e),a.mouse(`end`,e)}function _(r,i){if(e.call(this,r,i)){var a=r.changedTouches,o=n.call(this,r,i),s=a.length,c,l;for(c=0;c<s;++c)(l=b(this,o,r,i,a[c].identifier,a[c]))&&(xe(r),l(`start`,r,a[c]))}}function v(e){var n=e.changedTouches,r=n.length,i,o;for(i=0;i<r;++i)(o=a[n[i].identifier])&&(ye(e),o(`drag`,e,n[i]))}function y(e){var n=e.changedTouches,r=n.length,i,o;for(d&&clearTimeout(d),d=setTimeout(function(){d=null},500),i=0;i<r;++i)(o=a[n[i].identifier])&&(xe(e),o(`end`,e,n[i]))}function b(e,n,i,c,l,u){var d=o.copy(),f=me(u||i,n),m,h,g;if((g=r.call(e,new Oe(`beforestart`,{sourceEvent:i,target:p,identifier:l,active:s,x:f[0],y:f[1],dx:0,dy:0,dispatch:d}),c))!=null)return m=g.x-f[0]||0,h=g.y-f[1]||0,function r(i,o,u){var _=f,v;switch(i){case`start`:a[l]=r,v=s++;break;case`end`:delete a[l],--s;case`drag`:f=me(u||o,n),v=s;break}d.call(i,e,new Oe(i,{sourceEvent:o,subject:g,target:p,identifier:l,active:v,x:f[0]+m,y:f[1]+h,dx:f[0]-_[0],dy:f[1]-_[1],dispatch:d}),c)}}return p.filter=function(n){return arguments.length?(e=typeof n==`function`?n:De(!!n),p):e},p.container=function(e){return arguments.length?(n=typeof e==`function`?e:De(e),p):n},p.subject=function(e){return arguments.length?(r=typeof e==`function`?e:De(e),p):r},p.touchable=function(e){return arguments.length?(i=typeof e==`function`?e:De(!!e),p):i},p.on=function(){var e=o.on.apply(o,arguments);return e===o?p:e},p.clickDistance=function(e){return arguments.length?(f=(e=+e)*e,p):Math.sqrt(f)},p}function Pe(e){let n=+this._x.call(null,e),r=+this._y.call(null,e);return Fe(this.cover(n,r),n,r,e)}function Fe(e,n,r,i){if(isNaN(n)||isNaN(r))return e;var a,o=e._root,s={data:i},c=e._x0,l=e._y0,u=e._x1,d=e._y1,f,p,m,h,g,_,v,y;if(!o)return e._root=s,e;for(;o.length;)if((g=n>=(f=(c+u)/2))?c=f:u=f,(_=r>=(p=(l+d)/2))?l=p:d=p,a=o,!(o=o[v=_<<1|g]))return a[v]=s,e;if(m=+e._x.call(null,o.data),h=+e._y.call(null,o.data),n===m&&r===h)return s.next=o,a?a[v]=s:e._root=s,e;do a=a?a[v]=[,,,,]:e._root=[,,,,],(g=n>=(f=(c+u)/2))?c=f:u=f,(_=r>=(p=(l+d)/2))?l=p:d=p;while((v=_<<1|g)==(y=(h>=p)<<1|m>=f));return a[y]=o,a[v]=s,e}function Ie(e){var n,r,i=e.length,a,o,s=Array(i),c=Array(i),l=1/0,u=1/0,d=-1/0,f=-1/0;for(r=0;r<i;++r)isNaN(a=+this._x.call(null,n=e[r]))||isNaN(o=+this._y.call(null,n))||(s[r]=a,c[r]=o,a<l&&(l=a),a>d&&(d=a),o<u&&(u=o),o>f&&(f=o));if(l>d||u>f)return this;for(this.cover(l,u).cover(d,f),r=0;r<i;++r)Fe(this,s[r],c[r],e[r]);return this}function Le(e,n){if(isNaN(e=+e)||isNaN(n=+n))return this;var r=this._x0,i=this._y0,a=this._x1,o=this._y1;if(isNaN(r))a=(r=Math.floor(e))+1,o=(i=Math.floor(n))+1;else{for(var s=a-r||1,c=this._root,l,u;r>e||e>=a||i>n||n>=o;)switch(u=(n<i)<<1|e<r,l=[,,,,],l[u]=c,c=l,s*=2,u){case 0:a=r+s,o=i+s;break;case 1:r=a-s,o=i+s;break;case 2:a=r+s,i=o-s;break;case 3:r=a-s,i=o-s;break}this._root&&this._root.length&&(this._root=c)}return this._x0=r,this._y0=i,this._x1=a,this._y1=o,this}function Re(){var e=[];return this.visit(function(n){if(!n.length)do e.push(n.data);while(n=n.next)}),e}function ze(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function I(e,n,r,i,a){this.node=e,this.x0=n,this.y0=r,this.x1=i,this.y1=a}function L(e,n,r){var i,a=this._x0,o=this._y0,s,c,l,u,d=this._x1,f=this._y1,p=[],m=this._root,h,g;for(m&&p.push(new I(m,a,o,d,f)),r==null?r=1/0:(a=e-r,o=n-r,d=e+r,f=n+r,r*=r);h=p.pop();)if(!(!(m=h.node)||(s=h.x0)>d||(c=h.y0)>f||(l=h.x1)<a||(u=h.y1)<o))if(m.length){var _=(s+l)/2,v=(c+u)/2;p.push(new I(m[3],_,v,l,u),new I(m[2],s,v,_,u),new I(m[1],_,c,l,v),new I(m[0],s,c,_,v)),(g=(n>=v)<<1|e>=_)&&(h=p[p.length-1],p[p.length-1]=p[p.length-1-g],p[p.length-1-g]=h)}else{var y=e-+this._x.call(null,m.data),b=n-+this._y.call(null,m.data),x=y*y+b*b;if(x<r){var S=Math.sqrt(r=x);a=e-S,o=n-S,d=e+S,f=n+S,i=m.data}}return i}function Be(e){if(isNaN(d=+this._x.call(null,e))||isNaN(f=+this._y.call(null,e)))return this;var n,r=this._root,i,a,o,s=this._x0,c=this._y0,l=this._x1,u=this._y1,d,f,p,m,h,g,_,v;if(!r)return this;if(r.length)for(;;){if((h=d>=(p=(s+l)/2))?s=p:l=p,(g=f>=(m=(c+u)/2))?c=m:u=m,n=r,!(r=r[_=g<<1|h]))return this;if(!r.length)break;(n[_+1&3]||n[_+2&3]||n[_+3&3])&&(i=n,v=_)}for(;r.data!==e;)if(a=r,!(r=r.next))return this;return(o=r.next)&&delete r.next,a?(o?a.next=o:delete a.next,this):n?(o?n[_]=o:delete n[_],(r=n[0]||n[1]||n[2]||n[3])&&r===(n[3]||n[2]||n[1]||n[0])&&!r.length&&(i?i[v]=r:this._root=r),this):(this._root=o,this)}function Ve(e){for(var n=0,r=e.length;n<r;++n)this.remove(e[n]);return this}function He(){return this._root}function R(){var e=0;return this.visit(function(n){if(!n.length)do++e;while(n=n.next)}),e}function Ue(e){var n=[],r,i=this._root,a,o,s,c,l;for(i&&n.push(new I(i,this._x0,this._y0,this._x1,this._y1));r=n.pop();)if(!e(i=r.node,o=r.x0,s=r.y0,c=r.x1,l=r.y1)&&i.length){var u=(o+c)/2,d=(s+l)/2;(a=i[3])&&n.push(new I(a,u,d,c,l)),(a=i[2])&&n.push(new I(a,o,d,u,l)),(a=i[1])&&n.push(new I(a,u,s,c,d)),(a=i[0])&&n.push(new I(a,o,s,u,d))}return this}function We(e){var n=[],r=[],i;for(this._root&&n.push(new I(this._root,this._x0,this._y0,this._x1,this._y1));i=n.pop();){var a=i.node;if(a.length){var o,s=i.x0,c=i.y0,l=i.x1,u=i.y1,d=(s+l)/2,f=(c+u)/2;(o=a[0])&&n.push(new I(o,s,c,d,f)),(o=a[1])&&n.push(new I(o,d,c,l,f)),(o=a[2])&&n.push(new I(o,s,f,d,u)),(o=a[3])&&n.push(new I(o,d,f,l,u))}r.push(i)}for(;i=r.pop();)e(i.node,i.x0,i.y0,i.x1,i.y1);return this}function Ge(e){return e[0]}function Ke(e){return arguments.length?(this._x=e,this):this._x}function qe(e){return e[1]}function Je(e){return arguments.length?(this._y=e,this):this._y}function z(e,n,r){var i=new Ye(n??Ge,r??qe,NaN,NaN,NaN,NaN);return e==null?i:i.addAll(e)}function Ye(e,n,r,i,a,o){this._x=e,this._y=n,this._x0=r,this._y0=i,this._x1=a,this._y1=o,this._root=void 0}function Xe(e){for(var n={data:e.data},r=n;e=e.next;)r=r.next={data:e.data};return n}var B=z.prototype=Ye.prototype;B.copy=function(){var e=new Ye(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root,r,i;if(!n)return e;if(!n.length)return e._root=Xe(n),e;for(r=[{source:n,target:e._root=[,,,,]}];n=r.pop();)for(var a=0;a<4;++a)(i=n.source[a])&&(i.length?r.push({source:i,target:n.target[a]=[,,,,]}):n.target[a]=Xe(i));return e},B.add=Pe,B.addAll=Ie,B.cover=Le,B.data=Re,B.extent=ze,B.find=L,B.remove=Be,B.removeAll=Ve,B.root=He,B.size=R,B.visit=Ue,B.visitAfter=We,B.x=Ke,B.y=Je;var Ze=Ce(`a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928`),V=r(),H=e(n(),1),Qe=i(),$e=`Expected a function`,et=Math.max,tt=Math.min;function nt(e,n,r){var i,a,o,s,c,l,u=0,d=!1,f=!1,p=!0;if(typeof e!=`function`)throw TypeError($e);n=we(n)||0,ue(r)&&(d=!!r.leading,f=`maxWait`in r,o=f?et(we(r.maxWait)||0,n):o,p=`trailing`in r?!!r.trailing:p);function m(n){var r=i,o=a;return i=a=void 0,u=n,s=e.apply(o,r),s}function h(e){return u=e,c=setTimeout(v,n),d?m(e):s}function g(e){var r=e-l,i=e-u,a=n-r;return f?tt(a,o-i):a}function _(e){var r=e-l,i=e-u;return l===void 0||r>=n||r<0||f&&i>=o}function v(){var e=P();if(_(e))return y(e);c=setTimeout(v,g(e))}function y(e){return c=void 0,p&&i?m(e):(i=a=void 0,s)}function b(){c!==void 0&&clearTimeout(c),u=0,i=l=a=c=void 0}function x(){return c===void 0?s:y(P())}function S(){var e=P(),r=_(e);if(i=arguments,a=this,l=e,r){if(c===void 0)return h(l);if(f)return clearTimeout(c),c=setTimeout(v,n),m(l)}return c===void 0&&(c=setTimeout(v,n)),s}return S.cancel=b,S.flush=x,S}var rt=`Expected a function`;function it(e,n,r){var i=!0,a=!0;if(typeof e!=`function`)throw TypeError(rt);return ue(r)&&(i=`leading`in r?!!r.leading:i,a=`trailing`in r?!!r.trailing:a),nt(e,n,{leading:i,maxWait:n,trailing:a})}var at=[`#60a5fa`,`#a78bfa`,`#34d399`,`#f472b6`,`#fb923c`,`#22d3ee`,`#c084fc`,`#4ade80`,`#f87171`,`#eab308`,`#ec4899`,`#06b67f`,`#8b5cf6`,`#f43f5e`,`#0ea5e9`,`#a855f7`],ot=[`#1e40af`,`#6b21a8`,`#166534`,`#9f1239`,`#9a3412`,`#164e63`,`#581c87`,`#166534`,`#991b1b`,`#854d0e`,`#831843`,`#0f766e`,`#312e81`,`#9f1239`,`#0c4a6e`,`#6b21a8`];function st(e){let n=2;for(let r=0;r<e.length;r++)n=Math.imul(n^e.charCodeAt(r),1540483477),n^=n>>>13,n=Math.imul(n,1540483477),n^=n>>>15;return n>>>0}function ct(e,n){let r=n?at:ot;return r[st(e)%r.length]}var lt={fullscreen:{maxEntries:10,containerClassName:`bottom-3 left-3 gap-1 rounded-lg px-3 py-2 text-xs`,titleClassName:`mb-1.5`,rowClassName:`gap-2`,swatchClassName:`size-2.5`,labelClassName:`max-w-[140px]`,overflowClassName:`pl-[18px]`},docked:{maxEntries:6,containerClassName:`bottom-2 left-2 gap-0.5 rounded-md px-2 py-1.5 text-[11px]`,titleClassName:`mb-1`,rowClassName:`gap-1.5`,swatchClassName:`size-2`,labelClassName:`max-w-[112px]`,overflowClassName:`pl-[14px]`}};function ut(e){return lt[e]}function dt(e){let n=(0,Qe.c)(6),{clusters:r,variant:i}=e,o=i===void 0?`fullscreen`:i,{resolvedTheme:s}=h(),c=s===`dark`,l,u;if(n[0]!==r||n[1]!==c||n[2]!==o){u=Symbol.for(`react.early_return_sentinel`);bb0:{let e=ut(o);if(r.length===0){u=null;break bb0}let i=r.slice(0,e.maxEntries),s=r.length-i.length,d;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,V.jsx)(a,{id:`kmKqZg`}),n[5]=d):d=n[5],l=(0,V.jsxs)(`div`,{className:S(`pointer-events-none absolute z-10 flex flex-col backdrop-blur-sm`,e.containerClassName,c?`bg-black/70 text-gray-200`:`bg-white/80 text-gray-800 ring-1 ring-black/5`),children:[(0,V.jsx)(`div`,{className:S(`font-medium`,e.titleClassName,c?`text-slate-300`:`text-slate-700`),children:d}),i.map(n=>(0,V.jsxs)(`div`,{className:S(`flex items-center`,e.rowClassName),children:[(0,V.jsx)(`span`,{className:S(`inline-block shrink-0 rounded-full`,e.swatchClassName),style:{backgroundColor:ct(n,c)}}),(0,V.jsx)(`span`,{className:S(`truncate`,e.labelClassName),children:n})]},n)),s>0&&(0,V.jsx)(`div`,{className:S(`text-muted-foreground`,e.overflowClassName),children:(0,V.jsx)(a,{id:`lrhetp`,values:{overflow:s}})})]})}n[0]=r,n[1]=c,n[2]=o,n[3]=l,n[4]=u}else l=n[3],u=n[4];return u===Symbol.for(`react.early_return_sentinel`)?l:u}function ft(e,n){var r=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(r!=null){var i,a,o,s,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,n===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=o.call(r)).done)&&(c.push(i.value),c.length!==n);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return c}}function pt(e,n,r){return n=wt(n),n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function mt(e,n){return _t(e)||ft(e,n)||yt(e,n)||St()}function ht(e){return gt(e)||vt(e)||yt(e)||xt()}function gt(e){if(Array.isArray(e))return bt(e)}function _t(e){if(Array.isArray(e))return e}function vt(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function yt(e,n){if(e){if(typeof e==`string`)return bt(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if(r===`Object`&&e.constructor&&(r=e.constructor.name),r===`Map`||r===`Set`)return Array.from(e);if(r===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bt(e,n)}}function bt(e,n){(n==null||n>e.length)&&(n=e.length);for(var r=0,i=Array(n);r<n;r++)i[r]=e[r];return i}function xt(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1
|
+
import{o as e}from"./chunk-CFjPhJqf.js";import{n,r,t as i}from"./compiler-runtime-CVnuRdak.js";import{n as a,r as o}from"./dist-CQw2y-s3.js";import{a as s,c,i as l,n as u,o as d,r as f,s as p,t as m}from"./panel-BbrtnF__.js";import{Gi as h,Gn as g,L as _,U as v,X as y,Y as b,rt as x}from"./dist-Bjtzzcz_.js";import{l as S,t as C,u as w}from"./button-DGf25ccp.js";import{i as T,n as E,t as ee}from"./toggle-group-Bwdb9pNj.js";import{c as te,i as D,l as O,t as k,u as ne}from"./prop-types-DXyNHDSH.js";import{o as re,u as A}from"./documents-events-B7iSYQul.js";import{n as ie}from"./external-link-CJXR-UFu.js";import{i as ae,n as oe,t as se}from"./tooltip-D-omjYEX.js";import{C as ce}from"./navigation-targets-BBvp-Gxt.js";import{t as le}from"./target-navigation-intent-nE1R65kM.js";import{n as ue}from"./isObjectLike-B6rhnmNR.js";import{t as de}from"./ordinal-BRkB4leE.js";import{n as fe,t as pe}from"./min-DX8PS56Y.js";import{C as j,S as me,_ as he,b as M,g as ge,n as N,r as _e,t as ve,v as ye,w as be,x as xe,y as Se}from"./src-D_6tSLtQ.js";import{t as Ce}from"./colors-C23yJeS9.js";import{n as we,t as P}from"./now-jv_Sei15.js";var Te=w(`maximize-2`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]),Ee=w(`minimize-2`,[[`path`,{d:`m14 10 7-7`,key:`oa77jy`}],[`path`,{d:`M20 10h-6V4`,key:`mjg0md`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M4 14h6v6`,key:`rmj7iw`}]]);function F(e,n){let r=0;if(n===void 0)for(let n of e)(n=+n)&&(r+=n);else{let i=-1;for(let a of e)(a=+n(a,++i,e))&&(r+=a)}return r}var De=e=>()=>e;function Oe(e,{sourceEvent:n,subject:r,target:i,identifier:a,active:o,x:s,y:c,dx:l,dy:u,dispatch:d}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:r,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},identifier:{value:a,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:s,enumerable:!0,configurable:!0},y:{value:c,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:d}})}Oe.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function ke(e){return!e.ctrlKey&&!e.button}function Ae(){return this.parentNode}function je(e,n){return n??{x:e.x,y:e.y}}function Me(){return navigator.maxTouchPoints||`ontouchstart`in this}function Ne(){var e=ke,n=Ae,r=je,i=Me,a={},o=be(`start`,`drag`,`end`),s=0,c,l,u,d,f=0;function p(e){e.on(`mousedown.drag`,m).filter(i).on(`touchstart.drag`,_).on(`touchmove.drag`,v,Se).on(`touchend.drag touchcancel.drag`,y).style(`touch-action`,`none`).style(`-webkit-tap-highlight-color`,`rgba(0,0,0,0)`)}function m(r,i){if(!(d||!e.call(this,r,i))){var a=b(this,n.call(this,r,i),r,i,`mouse`);a&&(j(r.view).on(`mousemove.drag`,h,M).on(`mouseup.drag`,g,M),ge(r.view),xe(r),u=!1,c=r.clientX,l=r.clientY,a(`start`,r))}}function h(e){if(ye(e),!u){var n=e.clientX-c,r=e.clientY-l;u=n*n+r*r>f}a.mouse(`drag`,e)}function g(e){j(e.view).on(`mousemove.drag mouseup.drag`,null),he(e.view,u),ye(e),a.mouse(`end`,e)}function _(r,i){if(e.call(this,r,i)){var a=r.changedTouches,o=n.call(this,r,i),s=a.length,c,l;for(c=0;c<s;++c)(l=b(this,o,r,i,a[c].identifier,a[c]))&&(xe(r),l(`start`,r,a[c]))}}function v(e){var n=e.changedTouches,r=n.length,i,o;for(i=0;i<r;++i)(o=a[n[i].identifier])&&(ye(e),o(`drag`,e,n[i]))}function y(e){var n=e.changedTouches,r=n.length,i,o;for(d&&clearTimeout(d),d=setTimeout(function(){d=null},500),i=0;i<r;++i)(o=a[n[i].identifier])&&(xe(e),o(`end`,e,n[i]))}function b(e,n,i,c,l,u){var d=o.copy(),f=me(u||i,n),m,h,g;if((g=r.call(e,new Oe(`beforestart`,{sourceEvent:i,target:p,identifier:l,active:s,x:f[0],y:f[1],dx:0,dy:0,dispatch:d}),c))!=null)return m=g.x-f[0]||0,h=g.y-f[1]||0,function r(i,o,u){var _=f,v;switch(i){case`start`:a[l]=r,v=s++;break;case`end`:delete a[l],--s;case`drag`:f=me(u||o,n),v=s;break}d.call(i,e,new Oe(i,{sourceEvent:o,subject:g,target:p,identifier:l,active:v,x:f[0]+m,y:f[1]+h,dx:f[0]-_[0],dy:f[1]-_[1],dispatch:d}),c)}}return p.filter=function(n){return arguments.length?(e=typeof n==`function`?n:De(!!n),p):e},p.container=function(e){return arguments.length?(n=typeof e==`function`?e:De(e),p):n},p.subject=function(e){return arguments.length?(r=typeof e==`function`?e:De(e),p):r},p.touchable=function(e){return arguments.length?(i=typeof e==`function`?e:De(!!e),p):i},p.on=function(){var e=o.on.apply(o,arguments);return e===o?p:e},p.clickDistance=function(e){return arguments.length?(f=(e=+e)*e,p):Math.sqrt(f)},p}function Pe(e){let n=+this._x.call(null,e),r=+this._y.call(null,e);return Fe(this.cover(n,r),n,r,e)}function Fe(e,n,r,i){if(isNaN(n)||isNaN(r))return e;var a,o=e._root,s={data:i},c=e._x0,l=e._y0,u=e._x1,d=e._y1,f,p,m,h,g,_,v,y;if(!o)return e._root=s,e;for(;o.length;)if((g=n>=(f=(c+u)/2))?c=f:u=f,(_=r>=(p=(l+d)/2))?l=p:d=p,a=o,!(o=o[v=_<<1|g]))return a[v]=s,e;if(m=+e._x.call(null,o.data),h=+e._y.call(null,o.data),n===m&&r===h)return s.next=o,a?a[v]=s:e._root=s,e;do a=a?a[v]=[,,,,]:e._root=[,,,,],(g=n>=(f=(c+u)/2))?c=f:u=f,(_=r>=(p=(l+d)/2))?l=p:d=p;while((v=_<<1|g)==(y=(h>=p)<<1|m>=f));return a[y]=o,a[v]=s,e}function Ie(e){var n,r,i=e.length,a,o,s=Array(i),c=Array(i),l=1/0,u=1/0,d=-1/0,f=-1/0;for(r=0;r<i;++r)isNaN(a=+this._x.call(null,n=e[r]))||isNaN(o=+this._y.call(null,n))||(s[r]=a,c[r]=o,a<l&&(l=a),a>d&&(d=a),o<u&&(u=o),o>f&&(f=o));if(l>d||u>f)return this;for(this.cover(l,u).cover(d,f),r=0;r<i;++r)Fe(this,s[r],c[r],e[r]);return this}function Le(e,n){if(isNaN(e=+e)||isNaN(n=+n))return this;var r=this._x0,i=this._y0,a=this._x1,o=this._y1;if(isNaN(r))a=(r=Math.floor(e))+1,o=(i=Math.floor(n))+1;else{for(var s=a-r||1,c=this._root,l,u;r>e||e>=a||i>n||n>=o;)switch(u=(n<i)<<1|e<r,l=[,,,,],l[u]=c,c=l,s*=2,u){case 0:a=r+s,o=i+s;break;case 1:r=a-s,o=i+s;break;case 2:a=r+s,i=o-s;break;case 3:r=a-s,i=o-s;break}this._root&&this._root.length&&(this._root=c)}return this._x0=r,this._y0=i,this._x1=a,this._y1=o,this}function Re(){var e=[];return this.visit(function(n){if(!n.length)do e.push(n.data);while(n=n.next)}),e}function ze(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function I(e,n,r,i,a){this.node=e,this.x0=n,this.y0=r,this.x1=i,this.y1=a}function L(e,n,r){var i,a=this._x0,o=this._y0,s,c,l,u,d=this._x1,f=this._y1,p=[],m=this._root,h,g;for(m&&p.push(new I(m,a,o,d,f)),r==null?r=1/0:(a=e-r,o=n-r,d=e+r,f=n+r,r*=r);h=p.pop();)if(!(!(m=h.node)||(s=h.x0)>d||(c=h.y0)>f||(l=h.x1)<a||(u=h.y1)<o))if(m.length){var _=(s+l)/2,v=(c+u)/2;p.push(new I(m[3],_,v,l,u),new I(m[2],s,v,_,u),new I(m[1],_,c,l,v),new I(m[0],s,c,_,v)),(g=(n>=v)<<1|e>=_)&&(h=p[p.length-1],p[p.length-1]=p[p.length-1-g],p[p.length-1-g]=h)}else{var y=e-+this._x.call(null,m.data),b=n-+this._y.call(null,m.data),x=y*y+b*b;if(x<r){var S=Math.sqrt(r=x);a=e-S,o=n-S,d=e+S,f=n+S,i=m.data}}return i}function Be(e){if(isNaN(d=+this._x.call(null,e))||isNaN(f=+this._y.call(null,e)))return this;var n,r=this._root,i,a,o,s=this._x0,c=this._y0,l=this._x1,u=this._y1,d,f,p,m,h,g,_,v;if(!r)return this;if(r.length)for(;;){if((h=d>=(p=(s+l)/2))?s=p:l=p,(g=f>=(m=(c+u)/2))?c=m:u=m,n=r,!(r=r[_=g<<1|h]))return this;if(!r.length)break;(n[_+1&3]||n[_+2&3]||n[_+3&3])&&(i=n,v=_)}for(;r.data!==e;)if(a=r,!(r=r.next))return this;return(o=r.next)&&delete r.next,a?(o?a.next=o:delete a.next,this):n?(o?n[_]=o:delete n[_],(r=n[0]||n[1]||n[2]||n[3])&&r===(n[3]||n[2]||n[1]||n[0])&&!r.length&&(i?i[v]=r:this._root=r),this):(this._root=o,this)}function Ve(e){for(var n=0,r=e.length;n<r;++n)this.remove(e[n]);return this}function He(){return this._root}function R(){var e=0;return this.visit(function(n){if(!n.length)do++e;while(n=n.next)}),e}function Ue(e){var n=[],r,i=this._root,a,o,s,c,l;for(i&&n.push(new I(i,this._x0,this._y0,this._x1,this._y1));r=n.pop();)if(!e(i=r.node,o=r.x0,s=r.y0,c=r.x1,l=r.y1)&&i.length){var u=(o+c)/2,d=(s+l)/2;(a=i[3])&&n.push(new I(a,u,d,c,l)),(a=i[2])&&n.push(new I(a,o,d,u,l)),(a=i[1])&&n.push(new I(a,u,s,c,d)),(a=i[0])&&n.push(new I(a,o,s,u,d))}return this}function We(e){var n=[],r=[],i;for(this._root&&n.push(new I(this._root,this._x0,this._y0,this._x1,this._y1));i=n.pop();){var a=i.node;if(a.length){var o,s=i.x0,c=i.y0,l=i.x1,u=i.y1,d=(s+l)/2,f=(c+u)/2;(o=a[0])&&n.push(new I(o,s,c,d,f)),(o=a[1])&&n.push(new I(o,d,c,l,f)),(o=a[2])&&n.push(new I(o,s,f,d,u)),(o=a[3])&&n.push(new I(o,d,f,l,u))}r.push(i)}for(;i=r.pop();)e(i.node,i.x0,i.y0,i.x1,i.y1);return this}function Ge(e){return e[0]}function Ke(e){return arguments.length?(this._x=e,this):this._x}function qe(e){return e[1]}function Je(e){return arguments.length?(this._y=e,this):this._y}function z(e,n,r){var i=new Ye(n??Ge,r??qe,NaN,NaN,NaN,NaN);return e==null?i:i.addAll(e)}function Ye(e,n,r,i,a,o){this._x=e,this._y=n,this._x0=r,this._y0=i,this._x1=a,this._y1=o,this._root=void 0}function Xe(e){for(var n={data:e.data},r=n;e=e.next;)r=r.next={data:e.data};return n}var B=z.prototype=Ye.prototype;B.copy=function(){var e=new Ye(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root,r,i;if(!n)return e;if(!n.length)return e._root=Xe(n),e;for(r=[{source:n,target:e._root=[,,,,]}];n=r.pop();)for(var a=0;a<4;++a)(i=n.source[a])&&(i.length?r.push({source:i,target:n.target[a]=[,,,,]}):n.target[a]=Xe(i));return e},B.add=Pe,B.addAll=Ie,B.cover=Le,B.data=Re,B.extent=ze,B.find=L,B.remove=Be,B.removeAll=Ve,B.root=He,B.size=R,B.visit=Ue,B.visitAfter=We,B.x=Ke,B.y=Je;var Ze=Ce(`a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928`),V=r(),H=e(n(),1),Qe=i(),$e=`Expected a function`,et=Math.max,tt=Math.min;function nt(e,n,r){var i,a,o,s,c,l,u=0,d=!1,f=!1,p=!0;if(typeof e!=`function`)throw TypeError($e);n=we(n)||0,ue(r)&&(d=!!r.leading,f=`maxWait`in r,o=f?et(we(r.maxWait)||0,n):o,p=`trailing`in r?!!r.trailing:p);function m(n){var r=i,o=a;return i=a=void 0,u=n,s=e.apply(o,r),s}function h(e){return u=e,c=setTimeout(v,n),d?m(e):s}function g(e){var r=e-l,i=e-u,a=n-r;return f?tt(a,o-i):a}function _(e){var r=e-l,i=e-u;return l===void 0||r>=n||r<0||f&&i>=o}function v(){var e=P();if(_(e))return y(e);c=setTimeout(v,g(e))}function y(e){return c=void 0,p&&i?m(e):(i=a=void 0,s)}function b(){c!==void 0&&clearTimeout(c),u=0,i=l=a=c=void 0}function x(){return c===void 0?s:y(P())}function S(){var e=P(),r=_(e);if(i=arguments,a=this,l=e,r){if(c===void 0)return h(l);if(f)return clearTimeout(c),c=setTimeout(v,n),m(l)}return c===void 0&&(c=setTimeout(v,n)),s}return S.cancel=b,S.flush=x,S}var rt=`Expected a function`;function it(e,n,r){var i=!0,a=!0;if(typeof e!=`function`)throw TypeError(rt);return ue(r)&&(i=`leading`in r?!!r.leading:i,a=`trailing`in r?!!r.trailing:a),nt(e,n,{leading:i,maxWait:n,trailing:a})}var at=[`#60a5fa`,`#a78bfa`,`#34d399`,`#f472b6`,`#fb923c`,`#22d3ee`,`#c084fc`,`#4ade80`,`#f87171`,`#eab308`,`#ec4899`,`#06b67f`,`#8b5cf6`,`#f43f5e`,`#0ea5e9`,`#a855f7`],ot=[`#1e40af`,`#6b21a8`,`#166534`,`#9f1239`,`#9a3412`,`#164e63`,`#581c87`,`#166534`,`#991b1b`,`#854d0e`,`#831843`,`#0f766e`,`#312e81`,`#9f1239`,`#0c4a6e`,`#6b21a8`];function st(e){let n=2;for(let r=0;r<e.length;r++)n=Math.imul(n^e.charCodeAt(r),1540483477),n^=n>>>13,n=Math.imul(n,1540483477),n^=n>>>15;return n>>>0}function ct(e,n){let r=n?at:ot;return r[st(e)%r.length]}var lt={fullscreen:{maxEntries:10,containerClassName:`bottom-3 left-3 gap-1 rounded-lg px-3 py-2 text-xs`,titleClassName:`mb-1.5`,rowClassName:`gap-2`,swatchClassName:`size-2.5`,labelClassName:`max-w-[140px]`,overflowClassName:`pl-[18px]`},docked:{maxEntries:6,containerClassName:`bottom-2 left-2 gap-0.5 rounded-md px-2 py-1.5 text-[11px]`,titleClassName:`mb-1`,rowClassName:`gap-1.5`,swatchClassName:`size-2`,labelClassName:`max-w-[112px]`,overflowClassName:`pl-[14px]`}};function ut(e){return lt[e]}function dt(e){let n=(0,Qe.c)(6),{clusters:r,variant:i}=e,o=i===void 0?`fullscreen`:i,{resolvedTheme:s}=h(),c=s===`dark`,l,u;if(n[0]!==r||n[1]!==c||n[2]!==o){u=Symbol.for(`react.early_return_sentinel`);bb0:{let e=ut(o);if(r.length===0){u=null;break bb0}let i=r.slice(0,e.maxEntries),s=r.length-i.length,d;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,V.jsx)(a,{id:`kmKqZg`}),n[5]=d):d=n[5],l=(0,V.jsxs)(`div`,{className:S(`pointer-events-none absolute z-10 flex flex-col backdrop-blur-sm`,e.containerClassName,c?`bg-black/70 text-gray-200`:`bg-white/80 text-gray-800 ring-1 ring-black/5`),children:[(0,V.jsx)(`div`,{className:S(`font-medium`,e.titleClassName,c?`text-slate-300`:`text-slate-700`),children:d}),i.map(n=>(0,V.jsxs)(`div`,{className:S(`flex items-center`,e.rowClassName),children:[(0,V.jsx)(`span`,{className:S(`inline-block shrink-0 rounded-full`,e.swatchClassName),style:{backgroundColor:ct(n,c)}}),(0,V.jsx)(`span`,{className:S(`truncate`,e.labelClassName),children:n})]},n)),s>0&&(0,V.jsx)(`div`,{className:S(`text-muted-foreground`,e.overflowClassName),children:(0,V.jsx)(a,{id:`lrhetp`,values:{overflow:s}})})]})}n[0]=r,n[1]=c,n[2]=o,n[3]=l,n[4]=u}else l=n[3],u=n[4];return u===Symbol.for(`react.early_return_sentinel`)?l:u}function ft(e,n){var r=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(r!=null){var i,a,o,s,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,n===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=o.call(r)).done)&&(c.push(i.value),c.length!==n);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return c}}function pt(e,n,r){return n=wt(n),n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function mt(e,n){return _t(e)||ft(e,n)||yt(e,n)||St()}function ht(e){return gt(e)||vt(e)||yt(e)||xt()}function gt(e){if(Array.isArray(e))return bt(e)}function _t(e){if(Array.isArray(e))return e}function vt(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function yt(e,n){if(e){if(typeof e==`string`)return bt(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if(r===`Object`&&e.constructor&&(r=e.constructor.name),r===`Map`||r===`Set`)return Array.from(e);if(r===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bt(e,n)}}function bt(e,n){(n==null||n>e.length)&&(n=e.length);for(var r=0,i=Array(n);r<n;r++)i[r]=e[r];return i}function xt(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function St(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ct(e,n){if(typeof e!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,n||`default`);if(typeof i!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(e)}function wt(e){var n=Ct(e,`string`);return typeof n==`symbol`?n:String(n)}var Tt=function(e,n){var r=new Set(n);return Object.assign.apply(Object,[{}].concat(ht(Object.entries(e).filter(function(e){var n=mt(e,1)[0];return!r.has(n)}).map(function(e){var n=mt(e,2),r=n[0],i=n[1];return pt({},r,i)}))))};function Et(e,n){(n==null||n>e.length)&&(n=e.length);for(var r=0,i=Array(n);r<n;r++)i[r]=e[r];return i}function Dt(e){if(Array.isArray(e))return e}function Ot(e){if(Array.isArray(e))return Et(e)}function kt(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function At(e,n){var r=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(r!=null){var i,a,o,s,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,n!==0)for(;!(l=(i=o.call(r)).done)&&(c.push(i.value),c.length!==n);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return c}}function jt(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
4
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mt(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./chunk-CFjPhJqf.js";import{n as t,r as n,t as r}from"./compiler-runtime-CVnuRdak.js";import{Et as i,Ot as a,n as o}from"./DocumentContext-C-wDVnFV.js";import{n as s,r as c}from"./dist-CQw2y-s3.js";import{Ft as l,St as u,br as d,dr as f,ft as p,or as m}from"./dist-Cmfs-Ydn.js";import{l as h,t as g,u as _}from"./button-DGf25ccp.js";import{f as v,n as y,t as b}from"./PropertyPanel-DeDmWUyq.js";import{o as x,r as S,s as C}from"./config-context-DhhN0rlf.js";import{r as w,t as T}from"./open-managed-artifact-tab-HL4UJ8d1.js";import{n as E}from"./dist-BLu8fLv5.js";import{c as D,s as O}from"./skills-api-C9-REwRl.js";import{t as ee}from"./input-CFm7DcvJ.js";import{t as te}from"./textarea-D3MecMx5.js";var ne=_(`folder-git-2`,[[`path`,{d:`M18 19a5 5 0 0 1-5-5v8`,key:`sz5oeg`}],[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5`,key:`1w6njk`}],[`circle`,{cx:`13`,cy:`12`,r:`2`,key:`1j92g6`}],[`circle`,{cx:`20`,cy:`19`,r:`2`,key:`1obnsp`}]]),k=r(),A=e(t(),1),j=n(),re=[`name`];function M(e){let t=(0,k.c)(46),{provider:n,name:r,scopeControl:i,onRename:a,nameError:o,onNameDraftChange:l,nameEditable:u}=e,d=u===void 0?!0:u,{_:f}=c(),m=(0,A.useId)(),_=(0,A.useId)(),y=C(),[x,w]=(0,A.useState)(r),T,E;t[0]===r?(T=t[1],E=t[2]):(T=()=>w(r),E=[r],t[0]=r,t[1]=T,t[2]=E),(0,A.useEffect)(T,E);let D,O;t[3]===x?(D=t[4],O=t[5]):(O=x.trim(),D=O!==``&&!p.test(O),t[3]=x,t[4]=D,t[5]=O);let te=D,M;t[6]!==r||t[7]!==te||t[8]!==a||t[9]!==O?(M=function(){a&&(te||O===``||O===r||a(O))},t[6]=r,t[7]=te,t[8]=a,t[9]=O,t[10]=M):M=t[10];let P=M,F=te||!!o,I;t[11]!==f||t[12]!==i||t[13]!==_||t[14]!==y?(I=i?(0,j.jsx)(ie,{icon:(0,j.jsx)(ne,{className:`size-3.5`}),label:f({id:`oCHfGC`}),htmlFor:_,children:(0,j.jsxs)(`fieldset`,{id:_,className:`m-0 inline-flex items-center gap-1 rounded-full border-0 bg-muted/60 p-0.5`,children:[(0,j.jsx)(`legend`,{className:`sr-only`,children:f({id:`KszKI_`})}),S.map(e=>{let t=i.scope===e;return(0,j.jsx)(g,{type:`button`,"aria-pressed":t,variant:`ghost`,size:`sm`,onClick:()=>{t||i.onScopeChange(e)},className:h(`h-6 rounded-full px-3 text-xs font-medium`,t?e===`global`?`bg-violet-700 text-white hover:bg-violet-700 hover:text-white`:`bg-sky-700 text-white hover:bg-sky-700 hover:text-white`:`text-muted-foreground hover:bg-transparent hover:text-foreground`),children:y[e]},e)})]})}):null,t[11]=f,t[12]=i,t[13]=_,t[14]=y,t[15]=I):I=t[15];let L;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,j.jsx)(v,{className:`size-3.5`}),t[16]=L):L=t[16];let R;t[17]===f?R=t[18]:(R=f({id:`XmJfZT`}),t[17]=f,t[18]=R);let z=!d,B;t[19]===l?B=t[20]:(B=e=>{let t=e.target.value;w(t),l?.(t)},t[19]=l,t[20]=B);let V=F?`${m}-error`:void 0,H;t[21]!==P||t[22]!==x||t[23]!==m||t[24]!==F||t[25]!==B||t[26]!==V||t[27]!==z?(H=(0,j.jsx)(ee,{id:m,"data-testid":`skill-name-input`,value:x,readOnly:z,onChange:B,onBlur:P,onKeyDown:N,"aria-invalid":F,"aria-describedby":V,className:`h-7 rounded-sm border-transparent bg-transparent px-2 font-mono text-sm shadow-none focus-visible:border-transparent focus-visible:bg-muted focus-visible:ring-0 dark:bg-transparent`}),t[21]=P,t[22]=x,t[23]=m,t[24]=F,t[25]=B,t[26]=V,t[27]=z,t[28]=H):H=t[28];let U;t[29]!==o||t[30]!==m||t[31]!==F?(U=F?(0,j.jsx)(`p`,{id:`${m}-error`,className:`px-1 pt-0.5 text-[11px] text-destructive`,children:o||(0,j.jsx)(s,{id:`A50vr3`,components:{0:(0,j.jsx)(`code`,{className:`font-mono`})}})}):(0,j.jsx)(`p`,{className:`px-1 pt-0.5 text-[11px] text-muted-foreground`,children:(0,j.jsx)(s,{id:`1hvhf0`})}),t[29]=o,t[30]=m,t[31]=F,t[32]=U):U=t[32];let W;t[33]!==m||t[34]!==H||t[35]!==U||t[36]!==R?(W=(0,j.jsxs)(ie,{icon:L,label:R,htmlFor:m,children:[H,U]}),t[33]=m,t[34]=H,t[35]=U,t[36]=R,t[37]=W):W=t[37];let G;t[38]!==W||t[39]!==I?(G=(0,j.jsxs)(`div`,{className:`editor-content-aligned gap-0.5 pt-4`,children:[I,W]}),t[38]=W,t[39]=I,t[40]=G):G=t[40];let K;t[41]===n?K=t[42]:(K=(0,j.jsx)(b,{provider:n,reservedKeys:re}),t[41]=n,t[42]=K);let q;return t[43]!==G||t[44]!==K?(q=(0,j.jsxs)(`div`,{className:`flex flex-col`,children:[G,K]}),t[43]=G,t[44]=K,t[45]=q):q=t[45],q}function N(e){e.key===`Enter`&&e.currentTarget.blur()}function ie(e){let t=(0,k.c)(14),{icon:n,label:r,htmlFor:i,children:a}=e,o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,j.jsx)(`span`,{"aria-hidden":!0,className:`h-7 w-4 shrink-0`}),t[0]=o):o=t[0];let s;t[1]===n?s=t[2]:(s=(0,j.jsx)(`span`,{className:`flex size-7 shrink-0 items-center justify-center text-muted-foreground`,children:n}),t[1]=n,t[2]=s);let c;t[3]!==i||t[4]!==r?(c=(0,j.jsx)(`label`,{htmlFor:i,className:`flex h-7 w-32 shrink-0 items-center truncate px-2 text-sm text-muted-foreground`,children:r}),t[3]=i,t[4]=r,t[5]=c):c=t[5];let l;t[6]!==s||t[7]!==c?(l=(0,j.jsxs)(`div`,{className:`flex items-center gap-1`,children:[s,c]}),t[6]=s,t[7]=c,t[8]=l):l=t[8];let u;t[9]===a?u=t[10]:(u=(0,j.jsx)(`div`,{className:`min-w-0 flex-1`,children:a}),t[9]=a,t[10]=u);let d;return t[11]!==l||t[12]!==u?(d=(0,j.jsxs)(`div`,{className:`flex items-start gap-1 py-0.5`,children:[o,l,u]}),t[11]=l,t[12]=u,t[13]=d):d=t[13],d}function P(e,t){let n=e.current().map[t];return typeof n==`string`?n:``}function F(e,t){let n=(0,k.c)(15),[r,i]=(0,A.useState)(null),a;n[0]!==t||n[1]!==e?(a=()=>{let n=l(e),r=P(n,t);return n.dispose(),r},n[0]=t,n[1]=e,n[2]=a):a=n[2];let[o,s]=(0,A.useState)(a),c=(0,A.useRef)(!1),u,d;n[3]!==t||n[4]!==e?(u=()=>{let n=l(e);i(n),s(P(n,t));let r=n.subscribe(()=>{c.current||s(P(n,t))});return()=>{r(),n.dispose(),i(e=>e===n?null:e)}},d=[e,t],n[3]=t,n[4]=e,n[5]=u,n[6]=d):(u=n[5],d=n[6]),(0,A.useEffect)(u,d);let f;n[7]===Symbol.for(`react.memo_cache_sentinel`)?(f=()=>{c.current=!0},n[7]=f):f=n[7];let p;n[8]!==r||n[9]!==t||n[10]!==o?(p=()=>{c.current=!1,r&&o!==P(r,t)&&r.patch({[t]:o})},n[8]=r,n[9]=t,n[10]=o,n[11]=p):p=n[11];let m;return n[12]!==p||n[13]!==o?(m={value:o,setValue:s,onFocus:f,onBlur:p},n[12]=p,n[13]=o,n[14]=m):m=n[14],m}function I(e){let t=(0,k.c)(76),{provider:n,name:r,folder:i,onRename:a,nameError:o}=e,{_:l}=c(),d=(0,A.useId)(),f=(0,A.useId)(),p=(0,A.useId)(),m=(0,A.useId)(),h=F(n,`title`),g=F(n,`description`),[_,b]=(0,A.useState)(r),x,S;t[0]===r?(x=t[1],S=t[2]):(x=()=>b(r),S=[r],t[0]=r,t[1]=x,t[2]=S),(0,A.useEffect)(x,S);let C,w;t[3]===_?(C=t[4],w=t[5]):(w=_.trim(),C=w!==``&&!u.test(w),t[3]=_,t[4]=C,t[5]=w);let T=C,E;t[6]!==r||t[7]!==T||t[8]!==a||t[9]!==w?(E=function(){a&&(T||w===``||w===r||a(w))},t[6]=r,t[7]=T,t[8]=a,t[9]=w,t[10]=E):E=t[10];let D=E,O=T||!!o,re;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(re=(0,j.jsx)(s,{id:`l_UFPv`}),t[11]=re):re=t[11];let M;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,j.jsx)(ne,{className:`size-3.5`}),t[12]=M):M=t[12];let N;t[13]===l?N=t[14]:(N=l({id:`ugoTXs`}),t[13]=l,t[14]=N);let ie=i||`/`,P;t[15]!==m||t[16]!==ie?(P=(0,j.jsx)(ee,{id:m,value:ie,readOnly:!0,className:`h-8 border-input bg-transparent px-2 font-mono text-muted-foreground shadow-none`}),t[15]=m,t[16]=ie,t[17]=P):P=t[17];let I;t[18]!==m||t[19]!==N||t[20]!==P?(I=(0,j.jsx)(R,{icon:M,label:N,htmlFor:m,children:P}),t[18]=m,t[19]=N,t[20]=P,t[21]=I):I=t[21];let z;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,j.jsx)(v,{className:`size-3.5`}),t[22]=z):z=t[22];let B;t[23]===l?B=t[24]:(B=l({id:`XmJfZT`}),t[23]=l,t[24]=B);let V;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(V=e=>b(e.target.value),t[25]=V):V=t[25];let H;t[26]!==D||t[27]!==_||t[28]!==d||t[29]!==O?(H=(0,j.jsx)(ee,{id:d,"data-testid":`template-name-input`,value:_,onChange:V,onBlur:D,onKeyDown:L,"aria-invalid":O,className:`h-8 border-input bg-transparent px-2 font-mono shadow-none focus-visible:bg-muted/30`}),t[26]=D,t[27]=_,t[28]=d,t[29]=O,t[30]=H):H=t[30];let U;t[31]!==o||t[32]!==O?(U=O?(0,j.jsx)(`p`,{className:`px-1 pt-0.5 text-[11px] text-destructive`,children:o||(0,j.jsx)(s,{id:`lI0Td2`,components:{0:(0,j.jsx)(`code`,{className:`font-mono`}),1:(0,j.jsx)(`code`,{className:`font-mono`})}})}):(0,j.jsx)(`p`,{className:`px-1 pt-0.5 text-[11px] text-muted-foreground`,children:(0,j.jsx)(s,{id:`QfFBdJ`})}),t[31]=o,t[32]=O,t[33]=U):U=t[33];let W;t[34]!==d||t[35]!==B||t[36]!==H||t[37]!==U?(W=(0,j.jsxs)(R,{icon:z,label:B,htmlFor:d,children:[H,U]}),t[34]=d,t[35]=B,t[36]=H,t[37]=U,t[38]=W):W=t[38];let G;t[39]===Symbol.for(`react.memo_cache_sentinel`)?(G=(0,j.jsx)(v,{className:`size-3.5`}),t[39]=G):G=t[39];let K;t[40]===l?K=t[41]:(K=l({id:`q7F5am`}),t[40]=l,t[41]=K);let q;t[42]===h?q=t[43]:(q=e=>h.setValue(e.target.value),t[42]=h,t[43]=q);let J;t[44]!==q||t[45]!==h.onBlur||t[46]!==h.onFocus||t[47]!==h.value||t[48]!==f?(J=(0,j.jsx)(ee,{id:f,"data-testid":`template-title-input`,value:h.value,onChange:q,onFocus:h.onFocus,onBlur:h.onBlur,className:`h-8 border-input bg-transparent px-2 shadow-none focus-visible:bg-muted/30`}),t[44]=q,t[45]=h.onBlur,t[46]=h.onFocus,t[47]=h.value,t[48]=f,t[49]=J):J=t[49];let ae;t[50]===Symbol.for(`react.memo_cache_sentinel`)?(ae=(0,j.jsx)(`p`,{className:`px-1 pt-0.5 text-[11px] text-muted-foreground`,children:(0,j.jsx)(s,{id:`5e1Dri`})}),t[50]=ae):ae=t[50];let Y;t[51]!==K||t[52]!==J||t[53]!==f?(Y=(0,j.jsxs)(R,{icon:G,label:K,htmlFor:f,children:[J,ae]}),t[51]=K,t[52]=J,t[53]=f,t[54]=Y):Y=t[54];let oe;t[55]===Symbol.for(`react.memo_cache_sentinel`)?(oe=(0,j.jsx)(v,{className:`size-3.5`}),t[55]=oe):oe=t[55];let X;t[56]===l?X=t[57]:(X=l({id:`eTsJYJ`}),t[56]=l,t[57]=X);let Z;t[58]===g?Z=t[59]:(Z=e=>g.setValue(e.target.value),t[58]=g,t[59]=Z);let Q;t[60]!==g.onBlur||t[61]!==g.onFocus||t[62]!==g.value||t[63]!==p||t[64]!==Z?(Q=(0,j.jsx)(te,{id:p,"data-testid":`template-description-input`,value:g.value,onChange:Z,onFocus:g.onFocus,onBlur:g.onBlur,className:`min-h-16 resize-none border-input bg-transparent px-2 py-1.5 shadow-none focus-visible:bg-muted/30`}),t[60]=g.onBlur,t[61]=g.onFocus,t[62]=g.value,t[63]=p,t[64]=Z,t[65]=Q):Q=t[65];let se;t[66]===Symbol.for(`react.memo_cache_sentinel`)?(se=(0,j.jsx)(`p`,{className:`px-1 pt-0.5 text-[11px] text-muted-foreground`,children:(0,j.jsx)(s,{id:`sFhaTJ`})}),t[66]=se):se=t[66];let $;t[67]!==p||t[68]!==X||t[69]!==Q?($=(0,j.jsxs)(R,{icon:oe,label:X,htmlFor:p,children:[Q,se]}),t[67]=p,t[68]=X,t[69]=Q,t[70]=$):$=t[70];let ce;return t[71]!==I||t[72]!==W||t[73]!==Y||t[74]!==$?(ce=(0,j.jsxs)(y,{title:re,className:`pt-4 pb-2`,children:[I,W,Y,$]}),t[71]=I,t[72]=W,t[73]=Y,t[74]=$,t[75]=ce):ce=t[75],ce}function L(e){e.key===`Enter`&&e.currentTarget.blur()}function R(e){let t=(0,k.c)(13),{icon:n,label:r,htmlFor:i,children:a}=e,o;t[0]===n?o=t[1]:(o=(0,j.jsx)(`span`,{className:`text-muted-foreground`,children:n}),t[0]=n,t[1]=o);let s;t[2]===r?s=t[3]:(s=(0,j.jsx)(`span`,{className:`truncate text-muted-foreground`,children:r}),t[2]=r,t[3]=s);let c;t[4]!==i||t[5]!==o||t[6]!==s?(c=(0,j.jsxs)(`label`,{htmlFor:i,className:`flex w-32 shrink-0 items-center gap-1 pt-1.5`,children:[o,s]}),t[4]=i,t[5]=o,t[6]=s,t[7]=c):c=t[7];let l;t[8]===a?l=t[9]:(l=(0,j.jsx)(`div`,{className:`min-w-0 flex-1`,children:a}),t[8]=a,t[9]=l);let u;return t[10]!==c||t[11]!==l?(u=(0,j.jsxs)(`div`,{className:`flex items-start gap-1 py-0.5`,children:[c,l]}),t[10]=c,t[11]=l,t[12]=u):u=t[12],u}function z(e){let t=(0,k.c)(18),{docName:n,provider:r}=e,a;t[0]===n?a=t[1]:(a=m(n),t[0]=n,t[1]=a);let o=a;if(o?.kind===`skill`){let e;return t[2]!==n||t[3]!==o.name||t[4]!==o.scope||t[5]!==r?(e=(0,j.jsx)(V,{provider:r,docName:n,scope:o.scope,name:o.name}),t[2]=n,t[3]=o.name,t[4]=o.scope,t[5]=r,t[6]=e):e=t[6],e}if(o?.kind===`template`){let e;return t[7]!==n||t[8]!==o.folder||t[9]!==o.name||t[10]!==r?(e=(0,j.jsx)(U,{provider:r,docName:n,folder:o.folder,name:o.name}),t[7]=n,t[8]=o.folder,t[9]=o.name,t[10]=r,t[11]=e):e=t[11],e}let s;t[12]===n?s=t[13]:(s=i(n),t[12]=n,t[13]=s);let c=s;if(c){let e;return t[14]!==n||t[15]!==c||t[16]!==r?(e=(0,j.jsx)(H,{provider:r,docName:n,name:c}),t[14]=n,t[15]=c,t[16]=r,t[17]=e):e=t[17],e}return null}function B(){let e=(0,k.c)(2),{closeDocument:t}=o(),n;return e[0]===t?n=e[1]:(n=(e,n)=>{e!==n&&(T(n),t(e))},e[0]=t,e[1]=n),n}function V(e){let t=(0,k.c)(24),{provider:n,docName:r,scope:i,name:a}=e,{_:o}=c(),s=x(),l=B(),[u,f]=(0,A.useState)(null),[p,m]=(0,A.useState)(!1),h;t[0]!==o||t[1]!==r||t[2]!==a||t[3]!==l||t[4]!==i?(h=async function(e){f(null);let t=await O({scope:i,fromName:a,toName:e});if(!t.ok){f(t.error),E.error(o({id:`sHrqDx`,values:{0:t.error}}));return}E.success(o({id:`_hPpdX`})),l(r,d(i,e))},t[0]=o,t[1]=r,t[2]=a,t[3]=l,t[4]=i,t[5]=h):h=t[5];let g=h,_;t[6]!==o||t[7]!==r||t[8]!==p||t[9]!==a||t[10]!==l||t[11]!==i||t[12]!==s?(_=async function(e){if(e===i||p)return;m(!0);let t=await D({name:a,fromScope:i,toScope:e});if(m(!1),!t.ok){E.error(o({id:`07eGJB`,values:{0:t.error}}));return}let n=t.skippedBinaryFiles?.length??0;n>0?E.warning(o({id:`DhK_hZ`,values:{0:s[e],name:a,skipped:n}})):E.success(o({id:`UQMMvx`,values:{0:s[e],name:a}})),l(r,d(e,a))},t[6]=o,t[7]=r,t[8]=p,t[9]=a,t[10]=l,t[11]=i,t[12]=s,t[13]=_):_=t[13];let v=_,y=!p,b;t[14]!==v||t[15]!==i?(b={scope:i,onScopeChange:v},t[14]=v,t[15]=i,t[16]=b):b=t[16];let S;return t[17]!==g||t[18]!==a||t[19]!==n||t[20]!==u||t[21]!==y||t[22]!==b?(S=(0,j.jsx)(M,{provider:n,name:a,onRename:g,nameError:u,nameEditable:y,scopeControl:b}),t[17]=g,t[18]=a,t[19]=n,t[20]=u,t[21]=y,t[22]=b,t[23]=S):S=t[23],S}function H(e){let t=(0,k.c)(21),{provider:n,docName:r,name:i}=e,{_:a}=c(),o=x(),s=B(),[l,u]=(0,A.useState)(null),[p,m]=(0,A.useState)(!1),h;t[0]!==a||t[1]!==r||t[2]!==i||t[3]!==s?(h=async function(e){u(null);let t=await O({scope:`project`,fromName:i,toName:e});if(!t.ok){u(t.error),E.error(a({id:`sHrqDx`,values:{0:t.error}}));return}E.success(a({id:`_hPpdX`})),s(r,f(e))},t[0]=a,t[1]=r,t[2]=i,t[3]=s,t[4]=h):h=t[4];let g=h,_;t[5]!==a||t[6]!==r||t[7]!==p||t[8]!==i||t[9]!==s||t[10]!==o?(_=async function(e){if(e===`project`||p)return;m(!0);let t=await D({name:i,fromScope:`project`,toScope:e});if(m(!1),!t.ok){E.error(a({id:`07eGJB`,values:{0:t.error}}));return}let n=t.skippedBinaryFiles?.length??0;n>0?E.warning(a({id:`DhK_hZ`,values:{0:o[e],name:i,skipped:n}})):E.success(a({id:`UQMMvx`,values:{0:o[e],name:i}})),s(r,d(e,i))},t[5]=a,t[6]=r,t[7]=p,t[8]=i,t[9]=s,t[10]=o,t[11]=_):_=t[11];let v=_,y=!p,b;t[12]===v?b=t[13]:(b={scope:`project`,onScopeChange:v},t[12]=v,t[13]=b);let S;return t[14]!==g||t[15]!==i||t[16]!==n||t[17]!==l||t[18]!==y||t[19]!==b?(S=(0,j.jsx)(M,{provider:n,name:i,onRename:g,nameError:l,nameEditable:y,scopeControl:b}),t[14]=g,t[15]=i,t[16]=n,t[17]=l,t[18]=y,t[19]=b,t[20]=S):S=t[20],S}function U(e){let t=(0,k.c)(12),{provider:n,docName:r,folder:i,name:o}=e,{_:s}=c(),l=B(),[u,d]=(0,A.useState)(null),f;t[0]!==s||t[1]!==r||t[2]!==i||t[3]!==o||t[4]!==l?(f=async function(e){d(null);let t=await w({fromFolder:i,fromName:o,toFolder:i,toName:e});if(!t.ok){d(t.error),E.error(s({id:`gk_-qj`,values:{0:t.error}}));return}E.success(s({id:`YKLP_-`})),l(r,a(i,e))},t[0]=s,t[1]=r,t[2]=i,t[3]=o,t[4]=l,t[5]=f):f=t[5];let p=f,m;return t[6]!==i||t[7]!==p||t[8]!==o||t[9]!==n||t[10]!==u?(m=(0,j.jsx)(I,{provider:n,name:o,folder:i,onRename:p,nameError:u}),t[6]=i,t[7]=p,t[8]=o,t[9]=n,t[10]=u,t[11]=m):m=t[11],m}export{z as ManagedArtifactProperties};
|
|
1
|
+
import{o as e}from"./chunk-CFjPhJqf.js";import{n as t,r as n,t as r}from"./compiler-runtime-CVnuRdak.js";import{Et as i,Ot as a,n as o}from"./DocumentContext-BlziVobJ.js";import{n as s,r as c}from"./dist-CQw2y-s3.js";import{Ft as l,St as u,br as d,dr as f,ft as p,or as m}from"./dist-Bjtzzcz_.js";import{l as h,t as g,u as _}from"./button-DGf25ccp.js";import{f as v,n as y,t as b}from"./PropertyPanel-DUcQoy8A.js";import{o as x,r as S,s as C}from"./config-context-DhhN0rlf.js";import{r as w,t as T}from"./open-managed-artifact-tab-BbQDONrv.js";import{n as E}from"./dist-BLu8fLv5.js";import{c as D,s as O}from"./skills-api-C8yxC-Y8.js";import{t as ee}from"./input-CFm7DcvJ.js";import{t as te}from"./textarea-BVfCks43.js";var ne=_(`folder-git-2`,[[`path`,{d:`M18 19a5 5 0 0 1-5-5v8`,key:`sz5oeg`}],[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5`,key:`1w6njk`}],[`circle`,{cx:`13`,cy:`12`,r:`2`,key:`1j92g6`}],[`circle`,{cx:`20`,cy:`19`,r:`2`,key:`1obnsp`}]]),k=r(),A=e(t(),1),j=n(),re=[`name`];function M(e){let t=(0,k.c)(46),{provider:n,name:r,scopeControl:i,onRename:a,nameError:o,onNameDraftChange:l,nameEditable:u}=e,d=u===void 0?!0:u,{_:f}=c(),m=(0,A.useId)(),_=(0,A.useId)(),y=C(),[x,w]=(0,A.useState)(r),T,E;t[0]===r?(T=t[1],E=t[2]):(T=()=>w(r),E=[r],t[0]=r,t[1]=T,t[2]=E),(0,A.useEffect)(T,E);let D,O;t[3]===x?(D=t[4],O=t[5]):(O=x.trim(),D=O!==``&&!p.test(O),t[3]=x,t[4]=D,t[5]=O);let te=D,M;t[6]!==r||t[7]!==te||t[8]!==a||t[9]!==O?(M=function(){a&&(te||O===``||O===r||a(O))},t[6]=r,t[7]=te,t[8]=a,t[9]=O,t[10]=M):M=t[10];let P=M,F=te||!!o,I;t[11]!==f||t[12]!==i||t[13]!==_||t[14]!==y?(I=i?(0,j.jsx)(ie,{icon:(0,j.jsx)(ne,{className:`size-3.5`}),label:f({id:`oCHfGC`}),htmlFor:_,children:(0,j.jsxs)(`fieldset`,{id:_,className:`m-0 inline-flex items-center gap-1 rounded-full border-0 bg-muted/60 p-0.5`,children:[(0,j.jsx)(`legend`,{className:`sr-only`,children:f({id:`KszKI_`})}),S.map(e=>{let t=i.scope===e;return(0,j.jsx)(g,{type:`button`,"aria-pressed":t,variant:`ghost`,size:`sm`,onClick:()=>{t||i.onScopeChange(e)},className:h(`h-6 rounded-full px-3 text-xs font-medium`,t?e===`global`?`bg-violet-700 text-white hover:bg-violet-700 hover:text-white`:`bg-sky-700 text-white hover:bg-sky-700 hover:text-white`:`text-muted-foreground hover:bg-transparent hover:text-foreground`),children:y[e]},e)})]})}):null,t[11]=f,t[12]=i,t[13]=_,t[14]=y,t[15]=I):I=t[15];let L;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,j.jsx)(v,{className:`size-3.5`}),t[16]=L):L=t[16];let R;t[17]===f?R=t[18]:(R=f({id:`XmJfZT`}),t[17]=f,t[18]=R);let z=!d,B;t[19]===l?B=t[20]:(B=e=>{let t=e.target.value;w(t),l?.(t)},t[19]=l,t[20]=B);let V=F?`${m}-error`:void 0,H;t[21]!==P||t[22]!==x||t[23]!==m||t[24]!==F||t[25]!==B||t[26]!==V||t[27]!==z?(H=(0,j.jsx)(ee,{id:m,"data-testid":`skill-name-input`,value:x,readOnly:z,onChange:B,onBlur:P,onKeyDown:N,"aria-invalid":F,"aria-describedby":V,className:`h-7 rounded-sm border-transparent bg-transparent px-2 font-mono text-sm shadow-none focus-visible:border-transparent focus-visible:bg-muted focus-visible:ring-0 dark:bg-transparent`}),t[21]=P,t[22]=x,t[23]=m,t[24]=F,t[25]=B,t[26]=V,t[27]=z,t[28]=H):H=t[28];let U;t[29]!==o||t[30]!==m||t[31]!==F?(U=F?(0,j.jsx)(`p`,{id:`${m}-error`,className:`px-1 pt-0.5 text-[11px] text-destructive`,children:o||(0,j.jsx)(s,{id:`A50vr3`,components:{0:(0,j.jsx)(`code`,{className:`font-mono`})}})}):(0,j.jsx)(`p`,{className:`px-1 pt-0.5 text-[11px] text-muted-foreground`,children:(0,j.jsx)(s,{id:`1hvhf0`})}),t[29]=o,t[30]=m,t[31]=F,t[32]=U):U=t[32];let W;t[33]!==m||t[34]!==H||t[35]!==U||t[36]!==R?(W=(0,j.jsxs)(ie,{icon:L,label:R,htmlFor:m,children:[H,U]}),t[33]=m,t[34]=H,t[35]=U,t[36]=R,t[37]=W):W=t[37];let G;t[38]!==W||t[39]!==I?(G=(0,j.jsxs)(`div`,{className:`editor-content-aligned gap-0.5 pt-4`,children:[I,W]}),t[38]=W,t[39]=I,t[40]=G):G=t[40];let K;t[41]===n?K=t[42]:(K=(0,j.jsx)(b,{provider:n,reservedKeys:re}),t[41]=n,t[42]=K);let q;return t[43]!==G||t[44]!==K?(q=(0,j.jsxs)(`div`,{className:`flex flex-col`,children:[G,K]}),t[43]=G,t[44]=K,t[45]=q):q=t[45],q}function N(e){e.key===`Enter`&&e.currentTarget.blur()}function ie(e){let t=(0,k.c)(14),{icon:n,label:r,htmlFor:i,children:a}=e,o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,j.jsx)(`span`,{"aria-hidden":!0,className:`h-7 w-4 shrink-0`}),t[0]=o):o=t[0];let s;t[1]===n?s=t[2]:(s=(0,j.jsx)(`span`,{className:`flex size-7 shrink-0 items-center justify-center text-muted-foreground`,children:n}),t[1]=n,t[2]=s);let c;t[3]!==i||t[4]!==r?(c=(0,j.jsx)(`label`,{htmlFor:i,className:`flex h-7 w-32 shrink-0 items-center truncate px-2 text-sm text-muted-foreground`,children:r}),t[3]=i,t[4]=r,t[5]=c):c=t[5];let l;t[6]!==s||t[7]!==c?(l=(0,j.jsxs)(`div`,{className:`flex items-center gap-1`,children:[s,c]}),t[6]=s,t[7]=c,t[8]=l):l=t[8];let u;t[9]===a?u=t[10]:(u=(0,j.jsx)(`div`,{className:`min-w-0 flex-1`,children:a}),t[9]=a,t[10]=u);let d;return t[11]!==l||t[12]!==u?(d=(0,j.jsxs)(`div`,{className:`flex items-start gap-1 py-0.5`,children:[o,l,u]}),t[11]=l,t[12]=u,t[13]=d):d=t[13],d}function P(e,t){let n=e.current().map[t];return typeof n==`string`?n:``}function F(e,t){let n=(0,k.c)(15),[r,i]=(0,A.useState)(null),a;n[0]!==t||n[1]!==e?(a=()=>{let n=l(e),r=P(n,t);return n.dispose(),r},n[0]=t,n[1]=e,n[2]=a):a=n[2];let[o,s]=(0,A.useState)(a),c=(0,A.useRef)(!1),u,d;n[3]!==t||n[4]!==e?(u=()=>{let n=l(e);i(n),s(P(n,t));let r=n.subscribe(()=>{c.current||s(P(n,t))});return()=>{r(),n.dispose(),i(e=>e===n?null:e)}},d=[e,t],n[3]=t,n[4]=e,n[5]=u,n[6]=d):(u=n[5],d=n[6]),(0,A.useEffect)(u,d);let f;n[7]===Symbol.for(`react.memo_cache_sentinel`)?(f=()=>{c.current=!0},n[7]=f):f=n[7];let p;n[8]!==r||n[9]!==t||n[10]!==o?(p=()=>{c.current=!1,r&&o!==P(r,t)&&r.patch({[t]:o})},n[8]=r,n[9]=t,n[10]=o,n[11]=p):p=n[11];let m;return n[12]!==p||n[13]!==o?(m={value:o,setValue:s,onFocus:f,onBlur:p},n[12]=p,n[13]=o,n[14]=m):m=n[14],m}function I(e){let t=(0,k.c)(76),{provider:n,name:r,folder:i,onRename:a,nameError:o}=e,{_:l}=c(),d=(0,A.useId)(),f=(0,A.useId)(),p=(0,A.useId)(),m=(0,A.useId)(),h=F(n,`title`),g=F(n,`description`),[_,b]=(0,A.useState)(r),x,S;t[0]===r?(x=t[1],S=t[2]):(x=()=>b(r),S=[r],t[0]=r,t[1]=x,t[2]=S),(0,A.useEffect)(x,S);let C,w;t[3]===_?(C=t[4],w=t[5]):(w=_.trim(),C=w!==``&&!u.test(w),t[3]=_,t[4]=C,t[5]=w);let T=C,E;t[6]!==r||t[7]!==T||t[8]!==a||t[9]!==w?(E=function(){a&&(T||w===``||w===r||a(w))},t[6]=r,t[7]=T,t[8]=a,t[9]=w,t[10]=E):E=t[10];let D=E,O=T||!!o,re;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(re=(0,j.jsx)(s,{id:`l_UFPv`}),t[11]=re):re=t[11];let M;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,j.jsx)(ne,{className:`size-3.5`}),t[12]=M):M=t[12];let N;t[13]===l?N=t[14]:(N=l({id:`ugoTXs`}),t[13]=l,t[14]=N);let ie=i||`/`,P;t[15]!==m||t[16]!==ie?(P=(0,j.jsx)(ee,{id:m,value:ie,readOnly:!0,className:`h-8 border-input bg-transparent px-2 font-mono text-muted-foreground shadow-none`}),t[15]=m,t[16]=ie,t[17]=P):P=t[17];let I;t[18]!==m||t[19]!==N||t[20]!==P?(I=(0,j.jsx)(R,{icon:M,label:N,htmlFor:m,children:P}),t[18]=m,t[19]=N,t[20]=P,t[21]=I):I=t[21];let z;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,j.jsx)(v,{className:`size-3.5`}),t[22]=z):z=t[22];let B;t[23]===l?B=t[24]:(B=l({id:`XmJfZT`}),t[23]=l,t[24]=B);let V;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(V=e=>b(e.target.value),t[25]=V):V=t[25];let H;t[26]!==D||t[27]!==_||t[28]!==d||t[29]!==O?(H=(0,j.jsx)(ee,{id:d,"data-testid":`template-name-input`,value:_,onChange:V,onBlur:D,onKeyDown:L,"aria-invalid":O,className:`h-8 border-input bg-transparent px-2 font-mono shadow-none focus-visible:bg-muted/30`}),t[26]=D,t[27]=_,t[28]=d,t[29]=O,t[30]=H):H=t[30];let U;t[31]!==o||t[32]!==O?(U=O?(0,j.jsx)(`p`,{className:`px-1 pt-0.5 text-[11px] text-destructive`,children:o||(0,j.jsx)(s,{id:`lI0Td2`,components:{0:(0,j.jsx)(`code`,{className:`font-mono`}),1:(0,j.jsx)(`code`,{className:`font-mono`})}})}):(0,j.jsx)(`p`,{className:`px-1 pt-0.5 text-[11px] text-muted-foreground`,children:(0,j.jsx)(s,{id:`QfFBdJ`})}),t[31]=o,t[32]=O,t[33]=U):U=t[33];let W;t[34]!==d||t[35]!==B||t[36]!==H||t[37]!==U?(W=(0,j.jsxs)(R,{icon:z,label:B,htmlFor:d,children:[H,U]}),t[34]=d,t[35]=B,t[36]=H,t[37]=U,t[38]=W):W=t[38];let G;t[39]===Symbol.for(`react.memo_cache_sentinel`)?(G=(0,j.jsx)(v,{className:`size-3.5`}),t[39]=G):G=t[39];let K;t[40]===l?K=t[41]:(K=l({id:`q7F5am`}),t[40]=l,t[41]=K);let q;t[42]===h?q=t[43]:(q=e=>h.setValue(e.target.value),t[42]=h,t[43]=q);let J;t[44]!==q||t[45]!==h.onBlur||t[46]!==h.onFocus||t[47]!==h.value||t[48]!==f?(J=(0,j.jsx)(ee,{id:f,"data-testid":`template-title-input`,value:h.value,onChange:q,onFocus:h.onFocus,onBlur:h.onBlur,className:`h-8 border-input bg-transparent px-2 shadow-none focus-visible:bg-muted/30`}),t[44]=q,t[45]=h.onBlur,t[46]=h.onFocus,t[47]=h.value,t[48]=f,t[49]=J):J=t[49];let ae;t[50]===Symbol.for(`react.memo_cache_sentinel`)?(ae=(0,j.jsx)(`p`,{className:`px-1 pt-0.5 text-[11px] text-muted-foreground`,children:(0,j.jsx)(s,{id:`5e1Dri`})}),t[50]=ae):ae=t[50];let Y;t[51]!==K||t[52]!==J||t[53]!==f?(Y=(0,j.jsxs)(R,{icon:G,label:K,htmlFor:f,children:[J,ae]}),t[51]=K,t[52]=J,t[53]=f,t[54]=Y):Y=t[54];let oe;t[55]===Symbol.for(`react.memo_cache_sentinel`)?(oe=(0,j.jsx)(v,{className:`size-3.5`}),t[55]=oe):oe=t[55];let X;t[56]===l?X=t[57]:(X=l({id:`eTsJYJ`}),t[56]=l,t[57]=X);let Z;t[58]===g?Z=t[59]:(Z=e=>g.setValue(e.target.value),t[58]=g,t[59]=Z);let Q;t[60]!==g.onBlur||t[61]!==g.onFocus||t[62]!==g.value||t[63]!==p||t[64]!==Z?(Q=(0,j.jsx)(te,{id:p,"data-testid":`template-description-input`,value:g.value,onChange:Z,onFocus:g.onFocus,onBlur:g.onBlur,className:`min-h-16 resize-none border-input bg-transparent px-2 py-1.5 shadow-none focus-visible:bg-muted/30`}),t[60]=g.onBlur,t[61]=g.onFocus,t[62]=g.value,t[63]=p,t[64]=Z,t[65]=Q):Q=t[65];let se;t[66]===Symbol.for(`react.memo_cache_sentinel`)?(se=(0,j.jsx)(`p`,{className:`px-1 pt-0.5 text-[11px] text-muted-foreground`,children:(0,j.jsx)(s,{id:`sFhaTJ`})}),t[66]=se):se=t[66];let $;t[67]!==p||t[68]!==X||t[69]!==Q?($=(0,j.jsxs)(R,{icon:oe,label:X,htmlFor:p,children:[Q,se]}),t[67]=p,t[68]=X,t[69]=Q,t[70]=$):$=t[70];let ce;return t[71]!==I||t[72]!==W||t[73]!==Y||t[74]!==$?(ce=(0,j.jsxs)(y,{title:re,className:`pt-4 pb-2`,children:[I,W,Y,$]}),t[71]=I,t[72]=W,t[73]=Y,t[74]=$,t[75]=ce):ce=t[75],ce}function L(e){e.key===`Enter`&&e.currentTarget.blur()}function R(e){let t=(0,k.c)(13),{icon:n,label:r,htmlFor:i,children:a}=e,o;t[0]===n?o=t[1]:(o=(0,j.jsx)(`span`,{className:`text-muted-foreground`,children:n}),t[0]=n,t[1]=o);let s;t[2]===r?s=t[3]:(s=(0,j.jsx)(`span`,{className:`truncate text-muted-foreground`,children:r}),t[2]=r,t[3]=s);let c;t[4]!==i||t[5]!==o||t[6]!==s?(c=(0,j.jsxs)(`label`,{htmlFor:i,className:`flex w-32 shrink-0 items-center gap-1 pt-1.5`,children:[o,s]}),t[4]=i,t[5]=o,t[6]=s,t[7]=c):c=t[7];let l;t[8]===a?l=t[9]:(l=(0,j.jsx)(`div`,{className:`min-w-0 flex-1`,children:a}),t[8]=a,t[9]=l);let u;return t[10]!==c||t[11]!==l?(u=(0,j.jsxs)(`div`,{className:`flex items-start gap-1 py-0.5`,children:[c,l]}),t[10]=c,t[11]=l,t[12]=u):u=t[12],u}function z(e){let t=(0,k.c)(18),{docName:n,provider:r}=e,a;t[0]===n?a=t[1]:(a=m(n),t[0]=n,t[1]=a);let o=a;if(o?.kind===`skill`){let e;return t[2]!==n||t[3]!==o.name||t[4]!==o.scope||t[5]!==r?(e=(0,j.jsx)(V,{provider:r,docName:n,scope:o.scope,name:o.name}),t[2]=n,t[3]=o.name,t[4]=o.scope,t[5]=r,t[6]=e):e=t[6],e}if(o?.kind===`template`){let e;return t[7]!==n||t[8]!==o.folder||t[9]!==o.name||t[10]!==r?(e=(0,j.jsx)(U,{provider:r,docName:n,folder:o.folder,name:o.name}),t[7]=n,t[8]=o.folder,t[9]=o.name,t[10]=r,t[11]=e):e=t[11],e}let s;t[12]===n?s=t[13]:(s=i(n),t[12]=n,t[13]=s);let c=s;if(c){let e;return t[14]!==n||t[15]!==c||t[16]!==r?(e=(0,j.jsx)(H,{provider:r,docName:n,name:c}),t[14]=n,t[15]=c,t[16]=r,t[17]=e):e=t[17],e}return null}function B(){let e=(0,k.c)(2),{closeDocument:t}=o(),n;return e[0]===t?n=e[1]:(n=(e,n)=>{e!==n&&(T(n),t(e))},e[0]=t,e[1]=n),n}function V(e){let t=(0,k.c)(24),{provider:n,docName:r,scope:i,name:a}=e,{_:o}=c(),s=x(),l=B(),[u,f]=(0,A.useState)(null),[p,m]=(0,A.useState)(!1),h;t[0]!==o||t[1]!==r||t[2]!==a||t[3]!==l||t[4]!==i?(h=async function(e){f(null);let t=await O({scope:i,fromName:a,toName:e});if(!t.ok){f(t.error),E.error(o({id:`sHrqDx`,values:{0:t.error}}));return}E.success(o({id:`_hPpdX`})),l(r,d(i,e))},t[0]=o,t[1]=r,t[2]=a,t[3]=l,t[4]=i,t[5]=h):h=t[5];let g=h,_;t[6]!==o||t[7]!==r||t[8]!==p||t[9]!==a||t[10]!==l||t[11]!==i||t[12]!==s?(_=async function(e){if(e===i||p)return;m(!0);let t=await D({name:a,fromScope:i,toScope:e});if(m(!1),!t.ok){E.error(o({id:`07eGJB`,values:{0:t.error}}));return}let n=t.skippedBinaryFiles?.length??0;n>0?E.warning(o({id:`DhK_hZ`,values:{0:s[e],name:a,skipped:n}})):E.success(o({id:`UQMMvx`,values:{0:s[e],name:a}})),l(r,d(e,a))},t[6]=o,t[7]=r,t[8]=p,t[9]=a,t[10]=l,t[11]=i,t[12]=s,t[13]=_):_=t[13];let v=_,y=!p,b;t[14]!==v||t[15]!==i?(b={scope:i,onScopeChange:v},t[14]=v,t[15]=i,t[16]=b):b=t[16];let S;return t[17]!==g||t[18]!==a||t[19]!==n||t[20]!==u||t[21]!==y||t[22]!==b?(S=(0,j.jsx)(M,{provider:n,name:a,onRename:g,nameError:u,nameEditable:y,scopeControl:b}),t[17]=g,t[18]=a,t[19]=n,t[20]=u,t[21]=y,t[22]=b,t[23]=S):S=t[23],S}function H(e){let t=(0,k.c)(21),{provider:n,docName:r,name:i}=e,{_:a}=c(),o=x(),s=B(),[l,u]=(0,A.useState)(null),[p,m]=(0,A.useState)(!1),h;t[0]!==a||t[1]!==r||t[2]!==i||t[3]!==s?(h=async function(e){u(null);let t=await O({scope:`project`,fromName:i,toName:e});if(!t.ok){u(t.error),E.error(a({id:`sHrqDx`,values:{0:t.error}}));return}E.success(a({id:`_hPpdX`})),s(r,f(e))},t[0]=a,t[1]=r,t[2]=i,t[3]=s,t[4]=h):h=t[4];let g=h,_;t[5]!==a||t[6]!==r||t[7]!==p||t[8]!==i||t[9]!==s||t[10]!==o?(_=async function(e){if(e===`project`||p)return;m(!0);let t=await D({name:i,fromScope:`project`,toScope:e});if(m(!1),!t.ok){E.error(a({id:`07eGJB`,values:{0:t.error}}));return}let n=t.skippedBinaryFiles?.length??0;n>0?E.warning(a({id:`DhK_hZ`,values:{0:o[e],name:i,skipped:n}})):E.success(a({id:`UQMMvx`,values:{0:o[e],name:i}})),s(r,d(e,i))},t[5]=a,t[6]=r,t[7]=p,t[8]=i,t[9]=s,t[10]=o,t[11]=_):_=t[11];let v=_,y=!p,b;t[12]===v?b=t[13]:(b={scope:`project`,onScopeChange:v},t[12]=v,t[13]=b);let S;return t[14]!==g||t[15]!==i||t[16]!==n||t[17]!==l||t[18]!==y||t[19]!==b?(S=(0,j.jsx)(M,{provider:n,name:i,onRename:g,nameError:l,nameEditable:y,scopeControl:b}),t[14]=g,t[15]=i,t[16]=n,t[17]=l,t[18]=y,t[19]=b,t[20]=S):S=t[20],S}function U(e){let t=(0,k.c)(12),{provider:n,docName:r,folder:i,name:o}=e,{_:s}=c(),l=B(),[u,d]=(0,A.useState)(null),f;t[0]!==s||t[1]!==r||t[2]!==i||t[3]!==o||t[4]!==l?(f=async function(e){d(null);let t=await w({fromFolder:i,fromName:o,toFolder:i,toName:e});if(!t.ok){d(t.error),E.error(s({id:`gk_-qj`,values:{0:t.error}}));return}E.success(s({id:`YKLP_-`})),l(r,a(i,e))},t[0]=s,t[1]=r,t[2]=i,t[3]=o,t[4]=l,t[5]=f):f=t[5];let p=f,m;return t[6]!==i||t[7]!==p||t[8]!==o||t[9]!==n||t[10]!==u?(m=(0,j.jsx)(I,{provider:n,name:o,folder:i,onRename:p,nameError:u}),t[6]=i,t[7]=p,t[8]=o,t[9]=n,t[10]=u,t[11]=m):m=t[11],m}export{z as ManagedArtifactProperties};
|