vibe64 0.1.32 → 0.1.34
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/bin/run.js +1717 -1648
- package/bin/server.js +81 -68
- package/bin/upgrade-state.js +5438 -5189
- package/dist/assets/{GithubBrowserTabs-2bEGbRAs.js → GithubBrowserTabs-DO5PHon-.js} +1 -1
- package/dist/assets/GithubMarkdown-BQ6MfCDJ.js +3 -0
- package/dist/assets/GithubMarkdown-U7-j-qNI.css +1 -0
- package/dist/assets/StudioErrorNotice-sQfmeR-z.js +1 -0
- package/dist/assets/VAlert-P256xaE0.js +1 -0
- package/dist/assets/VAutocomplete-BDb95qJX.js +1 -0
- package/dist/assets/VAvatar-9ilDR2r2.css +1 -0
- package/dist/assets/VAvatar-DPzqDH4r.js +1 -0
- package/dist/assets/VBtn-B2MBK2DL.js +1 -0
- package/dist/assets/VCard-mXy0k4aS.js +1 -0
- package/dist/assets/VCheckbox-C7A1ZW4D.js +1 -0
- package/dist/assets/VChip-CcI-Oo2J.js +1 -0
- package/dist/assets/VDialog-Bu3EfKb1.js +1 -0
- package/dist/assets/VDivider-BMEqUoAB.js +1 -0
- package/dist/assets/VExpansionPanels-Dgjrop0V.js +1 -0
- package/dist/assets/VMenu-C_x18lwb.js +1 -0
- package/dist/assets/VOverlay-CeMZurIN.js +1 -0
- package/dist/assets/VRadioGroup-CUu2-KIP.js +1 -0
- package/dist/assets/VRow-Cpw7OHQV.js +1 -0
- package/dist/assets/{VSelect-DY-ZuBJJ.js → VSelect-DL3HaA5m.js} +1 -1
- package/dist/assets/VSheet-DZWsu0kL.js +1 -0
- package/dist/assets/VSkeletonLoader-CttxM1tw.js +1 -0
- package/dist/assets/VSpacer-Dhmsvk4t.js +1 -0
- package/dist/assets/{VSwitch-Bm1bwl2V.js → VSwitch-BRHeDJkH.js} +1 -1
- package/dist/assets/VTextField-BR2eZeFT.js +1 -0
- package/dist/assets/VTextarea-DbqamXJd.js +1 -0
- package/dist/assets/Vibe64AsyncModuleState-Dx7YKRPp.js +1 -0
- package/dist/assets/Vibe64DashboardBackButton-DD9UR77P.css +1 -0
- package/dist/assets/Vibe64DashboardBackButton-yE6cyYg2.js +1 -0
- package/dist/assets/Vibe64DashboardPageHeader-BXQR00HK.js +1 -0
- package/dist/assets/Vibe64DashboardPageHeader-Gm1IvlHx.css +1 -0
- package/dist/assets/Vibe64DashboardShell-CuCVMhOc.js +1 -0
- package/dist/assets/Vibe64DashboardShell-MBkUHjs-.css +1 -0
- package/dist/assets/Vibe64DatabaseWorkspace-BONJdxBS.js +18 -0
- package/dist/assets/{Vibe64DatabaseWorkspace-C39Jvver.css → Vibe64DatabaseWorkspace-CR4pzzcf.css} +1 -1
- package/dist/assets/Vibe64OutputControls-DAAmA09l.js +8 -0
- package/dist/assets/{Vibe64OutputControls-CsZFv12r.css → Vibe64OutputControls-DPBsyDZM.css} +1 -1
- package/dist/assets/{Vibe64RepositoryWorkspace-ebUaYOU4.js → Vibe64RepositoryWorkspace-ByQlZbyO.js} +2 -2
- package/dist/assets/{Vibe64RepositoryWorkspace-Cqm6TOFk.css → Vibe64RepositoryWorkspace-CVHcT93M.css} +1 -1
- package/dist/assets/Vibe64SessionFiles-B0u9HKdF.js +107 -0
- package/dist/assets/Vibe64SessionFiles-NjOMVwPR.css +1 -0
- package/dist/assets/Vibe64TemporaryAiFixAction-BGlcrq4d.js +1 -0
- package/dist/assets/Vibe64UiStoryboardView-3WXph5bz.css +1 -0
- package/dist/assets/Vibe64UiStoryboardView-Brlwdvqi.js +7 -0
- package/dist/assets/Vibe64UnavailableSessions-zwlWlcZD.js +1 -0
- package/dist/assets/_sessionId_-CvOkQbVy.js +1 -0
- package/dist/assets/{_sessionTool_-B39BIzzZ.js → _sessionTool_-Dwod5ns9.js} +1 -1
- package/dist/assets/_slug_-B31c15cc.css +1 -0
- package/dist/assets/_slug_-Dy35qLo1.js +1 -0
- package/dist/assets/access-BVu5XYm2.js +1 -0
- package/dist/assets/app-DRXCcv05.css +1 -0
- package/dist/assets/app-zt7HwQKT.js +1 -0
- package/dist/assets/assistantRouting-CwbwfkwB.js +3 -0
- package/dist/assets/{changes-ByjS7QGx.js → changes-olY8cnFK.js} +1 -1
- package/dist/assets/{client-C-tpoG6F.js → client-BrV4QPwG.js} +1 -1
- package/dist/assets/createSimpleFunctional-CZTGuNuR.js +1 -0
- package/dist/assets/dashboard-BnXD-H4R.js +1 -0
- package/dist/assets/definitions-DaOPIkyB.js +1 -0
- package/dist/assets/env-DJhnLOH7.css +1 -0
- package/dist/assets/env-DN0vW4EI.js +1 -0
- package/dist/assets/{error-DFKtZBJ8.js → error-DgrgRbJJ.js} +1 -1
- package/dist/assets/{error-DE4zo8Lk.js → error-Dug56can.js} +1 -1
- package/dist/assets/health-7oIQODer.css +1 -0
- package/dist/assets/health-Z6m96GDr.js +1 -0
- package/dist/assets/history-BOwbCRQP.css +1 -0
- package/dist/assets/history-BxlpB-YH.js +1 -0
- package/dist/assets/incoming-BOxRVlOM.js +2 -0
- package/dist/assets/incoming-DWDrmxyH.css +1 -0
- package/dist/assets/index-BUq-MczL.js +86 -0
- package/dist/assets/{index-D4MsP3dq.css → index-DtmBqE3h.css} +1 -1
- package/dist/assets/{integrations-B4txOZfY.js → integrations-BFltGDVI.js} +1 -1
- package/dist/assets/issues-1iS5zoed.js +1 -0
- package/dist/assets/issues-XnpGgdmn.css +1 -0
- package/dist/assets/layout-BkWVNT37.js +1 -0
- package/dist/assets/lazy-NHSwD9FS.js +1 -0
- package/dist/assets/mdi-C54lQ0i_.js +1 -0
- package/dist/assets/{pages-BW2l8fNe.js → pages-DuMgH61T.js} +1 -1
- package/dist/assets/{placement-JxzrmUR3.js → placement-CwTqWLQH.js} +1 -1
- package/dist/assets/placement-DLsU3pCW.js +1 -0
- package/dist/assets/pull-requests-BJOwNL4k.js +1 -0
- package/dist/assets/pull-requests-CdbhyFOv.css +1 -0
- package/dist/assets/{repository-BTC3lkrh.js → repository-JWLVST3D.js} +1 -1
- package/dist/assets/{VAvatar-CAFvgSUo.js → ripple-BVltMmyV.js} +2 -2
- package/dist/assets/ripple-DqhAt1Ze.css +1 -0
- package/dist/assets/runtime-core.esm-bundler-DGXg_mpN.js +3 -0
- package/dist/assets/{session-CG-TUCJt.css → session-5qADMzDP.css} +1 -1
- package/dist/assets/session-C5Nj8Dlq.js +1 -0
- package/dist/assets/settings-BopLnpB0.css +1 -0
- package/dist/assets/settings-c273Ikrm.js +1 -0
- package/dist/assets/ssrBoot-Rlh6kLbD.js +1 -0
- package/dist/assets/{studioGateApi-C0GvzVlt.js → studioGateApi-DhA9IJGZ.js} +1 -1
- package/dist/assets/{studioUrls-CIab-Axb.js → studioUrls-Dj8rXeXO.js} +1 -1
- package/dist/assets/{useApi-BPuI6ZR9-Dr8wK_Co.js → useApi-BPuI6ZR9-CFWU1m37.js} +1 -1
- package/dist/assets/useArchivedVibe64Sessions-CVZx2Rtm.js +1 -0
- package/dist/assets/useCommand-DWuxfAV0.js +1 -0
- package/dist/assets/useEndpointResource-MWVNfmMa.js +1 -0
- package/dist/assets/{usePaths-DVTieF_G.js → usePaths-Db88-HOm.js} +1 -1
- package/dist/assets/{useUiFeedback-Tzi-PRlX.js → useUiFeedback-0FqKuZRP.js} +1 -1
- package/dist/assets/useVibe64ConversationLog-8cKh1eDm.js +1 -0
- package/dist/assets/useVibe64DatabaseTools-BcRG1s3i.js +1 -0
- package/dist/assets/useVibe64LearningMode-Bl0dGdCh.js +28 -0
- package/dist/assets/useVibe64LearningMode-C3PcXdVg.css +1 -0
- package/dist/assets/useVibe64ProjectScope-DOEVkBqX.js +1 -0
- package/dist/assets/useVibe64SessionData-DFTyLzci.js +1 -0
- package/dist/assets/useVibe64SessionSelection-j9lsllx4.js +1 -0
- package/dist/assets/useVibe64SystemGraph-tNkIwSBQ.js +1 -0
- package/dist/assets/{useVibe64Terminal-C2XJ9Y1K.js → useVibe64Terminal-BPnN25WH.js} +1 -1
- package/dist/assets/vibe64AssistantHost-DdE_-lZF.js +1 -0
- package/dist/assets/vibe64LessonDashboard-DlKYjisq.js +1 -0
- package/dist/assets/vibe64ProjectScope.local-DqT6e5un.js +1 -0
- package/dist/assets/vibe64RepositoryRealtime-DXk0Jai3.js +1 -0
- package/dist/assets/vibe64SessionFocus-OJ2toBd9.css +1 -0
- package/dist/assets/vibe64SessionFocus-kqPOPaOH.js +1 -0
- package/dist/assets/{vibe64SessionInfo-D8l22MFm.js → vibe64SessionInfo-BHxtTrLX.js} +1 -1
- package/dist/assets/vibe64SessionToolDefinitions-NfLd1HZI.js +1 -0
- package/dist/assets/vue-flow-core-BlVEnES8.js +26 -0
- package/dist/index.html +51 -48
- package/docs/colleague-usage/account-profile-and-appearance.md +29 -0
- package/docs/colleague-usage/ai-accounts-and-routing.md +23 -4
- package/docs/colleague-usage/ai-balance-and-allowance.md +4 -0
- package/docs/colleague-usage/architecture-explanations.md +99 -0
- package/docs/colleague-usage/auto-workflow.md +49 -11
- package/docs/colleague-usage/coding-agent-failures.md +94 -0
- package/docs/colleague-usage/coding-agent-goal-pause.md +110 -0
- package/docs/colleague-usage/coding-agent-goals.md +140 -38
- package/docs/colleague-usage/coding-agent-history.md +20 -2
- package/docs/colleague-usage/coding-agent-recovery.md +136 -0
- package/docs/colleague-usage/coding-agents.md +138 -150
- package/docs/colleague-usage/colleague-recovery.md +28 -5
- package/docs/colleague-usage/colleague-upgrade-recovery.md +4 -0
- package/docs/colleague-usage/colleague-watches.md +84 -0
- package/docs/colleague-usage/colleague.md +18 -34
- package/docs/colleague-usage/connected-contributions.md +196 -0
- package/docs/colleague-usage/connected-projects.md +196 -0
- package/docs/colleague-usage/conversation-context.md +67 -1
- package/docs/colleague-usage/dashboard-navigation.md +79 -5
- package/docs/colleague-usage/database.md +11 -0
- package/docs/colleague-usage/developing-vibe64.md +137 -0
- package/docs/colleague-usage/development-copies.md +20 -0
- package/docs/colleague-usage/development-env.md +34 -0
- package/docs/colleague-usage/file-interfaces.md +156 -0
- package/docs/colleague-usage/github-work.md +88 -1
- package/docs/colleague-usage/health-checks.md +32 -0
- package/docs/colleague-usage/incoming-changes.md +94 -0
- package/docs/colleague-usage/learning-chat-retention.md +11 -2
- package/docs/colleague-usage/learning-code-questions.md +55 -0
- package/docs/colleague-usage/learning-course-catalogue.md +118 -0
- package/docs/colleague-usage/learning-diagrams-and-voice.md +97 -0
- package/docs/colleague-usage/learning-history.md +17 -9
- package/docs/colleague-usage/learning-lesson-watch.md +95 -0
- package/docs/colleague-usage/learning-mode-ui.md +187 -85
- package/docs/colleague-usage/learning-native-session.md +12 -10
- package/docs/colleague-usage/learning-practical-exercises.md +71 -0
- package/docs/colleague-usage/learning-practical-gestures.md +18 -1
- package/docs/colleague-usage/learning-practice-projects.md +55 -4
- package/docs/colleague-usage/learning-session-creation.md +7 -7
- package/docs/colleague-usage/learning-teacher-guide.md +52 -0
- package/docs/colleague-usage/learning-with-colleague.md +59 -80
- package/docs/colleague-usage/lesson-authoring.md +12 -4
- package/docs/colleague-usage/lesson-practical-assessment.md +3 -1
- package/docs/colleague-usage/managed-app-access.md +6 -0
- package/docs/colleague-usage/message-delivery-recovery.md +56 -0
- package/docs/colleague-usage/plans.md +14 -7
- package/docs/colleague-usage/preview-browser-checks.md +61 -0
- package/docs/colleague-usage/preview-lesson-presentation.md +56 -0
- package/docs/colleague-usage/preview-starting-application.md +92 -0
- package/docs/colleague-usage/preview.md +70 -96
- package/docs/colleague-usage/project-architecture.md +229 -0
- package/docs/colleague-usage/project-language-tools.md +31 -0
- package/docs/colleague-usage/project-messages.md +106 -0
- package/docs/colleague-usage/project-settings.md +22 -0
- package/docs/colleague-usage/project-setup.md +29 -2
- package/docs/colleague-usage/session-terminal.md +42 -0
- package/docs/colleague-usage/sessions.md +122 -52
- package/docs/colleague-usage/teaching-content.md +12 -6
- package/docs/colleague-usage/temporary-chat-context.md +29 -0
- package/docs/colleague-usage/temporary-chats.md +95 -2
- package/docs/colleague-usage/voice-chat.md +10 -43
- package/docs/colleague-usage/voice-face-and-speaking-voice.md +73 -0
- package/docs/colleague-usage/workspace-preparation.md +89 -0
- package/docs/training-content.md +208 -7
- package/node_modules/@jskit-ai/assistant-core/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-runtime/README.md +29 -0
- package/node_modules/@jskit-ai/assistant-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/assistant-voice/package.json +1 -1
- package/node_modules/@jskit-ai/connector-google-calendar/package.json +1 -1
- package/node_modules/@jskit-ai/connectors-catalog/package.json +1 -1
- package/node_modules/@jskit-ai/connectors-core/package.json +1 -1
- package/node_modules/@jskit-ai/http-runtime/package.json +1 -1
- package/node_modules/@jskit-ai/kernel/package.json +1 -1
- package/node_modules/@jskit-ai/payments-core/package.json +1 -1
- package/node_modules/@jskit-ai/realtime/package.json +1 -1
- package/node_modules/@jskit-ai/resource-core/package.json +1 -1
- package/node_modules/@jskit-ai/resource-crud-core/package.json +1 -1
- package/node_modules/@jskit-ai/uploads-runtime/package.json +1 -1
- package/node_modules/@local/vibe64-core/package.json +1 -0
- package/node_modules/@local/vibe64-execution/src/host/execHelper.js +280 -272
- package/node_modules/@local/vibe64-genesis/README.md +15 -0
- package/node_modules/@local/vibe64-genesis/bin/vibe64-genesis-host-context +879 -1225
- package/node_modules/@local/vibe64-genesis/package.json +2 -1
- package/node_modules/@local/vibe64-genesis/src/server/index.js +496 -418
- package/node_modules/@local/vibe64-genesis/src/server/promptContext.js +165 -146
- package/node_modules/@local/vibe64-runtime/src/server/agentSessionCommandHook.js +8 -8
- package/node_modules/@local/vibe64-runtime/src/server/codexAppServerProcess.js +128 -129
- package/node_modules/@local/vibe64-system-graph/README.md +136 -6
- package/node_modules/@local/vibe64-terminals/package.json +3 -0
- package/node_modules/@local/vibe64-terminals/src/server/sessionWorkOperationCommand.js +1527 -1326
- package/node_modules/@local/vibe64-training/package.json +6 -1
- package/node_modules/@local/vibe64-voice/package.json +1 -0
- package/package.json +16 -16
- package/server.bundle.mjs +42853 -40268
- package/dist/assets/StudioErrorNotice-Ccjvcn9C.js +0 -1
- package/dist/assets/VAlert-B7ciJKQL.js +0 -1
- package/dist/assets/VAutocomplete-QjMk5d_j.js +0 -1
- package/dist/assets/VAvatar-nHaK192T.css +0 -1
- package/dist/assets/VBtn-Kl_qcBsy.js +0 -1
- package/dist/assets/VCard-nrJPeo91.js +0 -1
- package/dist/assets/VCheckbox-DTRAWOIf.js +0 -1
- package/dist/assets/VChip-Dfs5jX0f.js +0 -1
- package/dist/assets/VDialog-Dt1VjJg1.js +0 -1
- package/dist/assets/VDivider-DFsS0OTx.js +0 -1
- package/dist/assets/VExpansionPanels-CYKU0cAr.js +0 -1
- package/dist/assets/VMenu-BLxobsuU.js +0 -1
- package/dist/assets/VOverlay-BvFVZKNS.js +0 -1
- package/dist/assets/VRadioGroup-DzQzpCfg.js +0 -1
- package/dist/assets/VRow-BR2RMCM1.js +0 -1
- package/dist/assets/VSheet-BA95RNmA.js +0 -1
- package/dist/assets/VSkeletonLoader-hpJqr0HL.js +0 -1
- package/dist/assets/VSpacer-B1l1hVvU.js +0 -1
- package/dist/assets/VTextField-CA_p3N4d.js +0 -1
- package/dist/assets/VTextarea-NyCqY4h5.js +0 -1
- package/dist/assets/Vibe64AsyncModuleState-DEFlqJ97.js +0 -1
- package/dist/assets/Vibe64DashboardShell-BNv2I-P8.js +0 -1
- package/dist/assets/Vibe64DashboardShell-w20wNTGW.css +0 -1
- package/dist/assets/Vibe64DatabaseWorkspace-CuY5lN1o.js +0 -43
- package/dist/assets/Vibe64OutputControls-D2JuYlYU.js +0 -8
- package/dist/assets/Vibe64SessionFiles-C-rWehq_.js +0 -34
- package/dist/assets/Vibe64SessionFiles-Dsr6KQNP.css +0 -1
- package/dist/assets/Vibe64SubsystemsView-BvdU_o6H.css +0 -1
- package/dist/assets/Vibe64SubsystemsView-DJCjSzQM.js +0 -1
- package/dist/assets/Vibe64SystemWorldView-B91ioQaO.js +0 -4312
- package/dist/assets/Vibe64SystemWorldView-BXiQ7_Qb.css +0 -1
- package/dist/assets/Vibe64UnavailableSessions-OvnoD3ZB.js +0 -1
- package/dist/assets/_sessionId_-JTvMh54L.js +0 -1
- package/dist/assets/_slug_-DP_heCDa.js +0 -1
- package/dist/assets/_slug_-DmBZGb0q.css +0 -1
- package/dist/assets/access-C8GQIS19.js +0 -1
- package/dist/assets/app-B83lF61Y.js +0 -1
- package/dist/assets/app-ByLIQ3SB.css +0 -1
- package/dist/assets/assistantRouting-TDtryU6o.js +0 -1
- package/dist/assets/createSimpleFunctional-DPIT6zsT.js +0 -1
- package/dist/assets/dashboard-CWGFPojJ.js +0 -1
- package/dist/assets/definitions-BeLcvOW3.js +0 -1
- package/dist/assets/display-BLmcO-5p.js +0 -1
- package/dist/assets/env-7bqFyF_E.css +0 -1
- package/dist/assets/env-BVwxNL8M.js +0 -1
- package/dist/assets/health-BzNhp7r8.js +0 -1
- package/dist/assets/health-DoHTXTGx.css +0 -1
- package/dist/assets/history-BPeZGofK.js +0 -1
- package/dist/assets/history-iMQxp5AR.css +0 -1
- package/dist/assets/httpClient-BaaZuFvF.js +0 -1
- package/dist/assets/index-5sKwLHOH.js +0 -86
- package/dist/assets/issues-DCEhGlfn.css +0 -1
- package/dist/assets/issues-wby50y9b.js +0 -3
- package/dist/assets/layout-YCn17mK1.js +0 -1
- package/dist/assets/lazy-CvQfXeLg.js +0 -1
- package/dist/assets/mdi-C31_SZp-.js +0 -1
- package/dist/assets/placement-C4R2t6rl.js +0 -1
- package/dist/assets/pull-requests-BNK6mq2u.css +0 -1
- package/dist/assets/pull-requests-lNQAigaC.js +0 -1
- package/dist/assets/runtime-core.esm-bundler-DMrccYS5.js +0 -3
- package/dist/assets/session-D38nzG41.js +0 -1
- package/dist/assets/settings-CFyUJ_kR.js +0 -1
- package/dist/assets/settings-vWsAEoE9.css +0 -1
- package/dist/assets/useArchivedVibe64Sessions-C2DSq2Z4.js +0 -1
- package/dist/assets/useCommand-BzThFLYP.js +0 -1
- package/dist/assets/useEndpointResource-C2KD4Ub_.js +0 -1
- package/dist/assets/useVibe64ConversationLog-CMUlXJtU.js +0 -1
- package/dist/assets/useVibe64DatabaseTools-DBcKhm6B.js +0 -1
- package/dist/assets/useVibe64LearningMode-BPRWM5Rp.js +0 -28
- package/dist/assets/useVibe64LearningMode-PJUv0O25.css +0 -1
- package/dist/assets/useVibe64SessionData-CdtJbAIx.js +0 -1
- package/dist/assets/useVibe64SessionSelection-aR0f6xVT.js +0 -1
- package/dist/assets/useVibe64SystemGraph-DeTPBn0e.js +0 -1
- package/dist/assets/vibe64AssistantHost-Dgyz4TrT.js +0 -1
- package/dist/assets/vibe64ProjectScope.local-GOSMVDRi.js +0 -1
- package/dist/assets/vibe64RepositoryRealtime-t5Al8BlU.js +0 -1
- package/dist/assets/vibe64SessionFocus-CcN6Grgw.js +0 -1
- package/dist/assets/vibe64SessionFocus-ChabllPA.css +0 -1
- package/dist/assets/vibe64SessionToolDefinitions-BaO1DEup.js +0 -1
- /package/dist/assets/{vibe64RepositoryRealtime-D_mq1dFE.css → Vibe64TemporaryAiFixAction-D_mq1dFE.css} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.github-label-name[data-v-9814070c]{text-overflow:ellipsis;overflow:hidden}.new-label__colours[data-v-2ec73f20]{border:0;min-width:0;padding:0}.new-label__palette[data-v-2ec73f20]{grid-template-columns:repeat(4,1fr);justify-items:center;gap:8px;display:grid}.new-label__preview[data-v-2ec73f20]{max-width:100%}.new-label__custom[data-v-2ec73f20]{border:1px solid rgb(var(--v-theme-on-surface), .38);background:rgb(var(--v-theme-surface));cursor:pointer;border-radius:8px;flex:0 0 48px;width:48px;height:48px;padding:4px}.github-markdown[data-v-3636cce2]{overflow-wrap:anywhere;min-width:0;font-size:.88rem;line-height:1.5}.github-markdown[data-v-3636cce2] img{vertical-align:middle;max-width:100%;height:auto}.github-markdown[data-v-3636cce2] p,.github-markdown[data-v-3636cce2] ul,.github-markdown[data-v-3636cce2] ol,.github-markdown[data-v-3636cce2] blockquote,.github-markdown[data-v-3636cce2] pre,.github-markdown[data-v-3636cce2] table{margin-block:.6rem}.github-markdown[data-v-3636cce2] :first-child{margin-top:0}.github-markdown[data-v-3636cce2] :last-child{margin-bottom:0}.github-markdown[data-v-3636cce2] ul,.github-markdown[data-v-3636cce2] ol{padding-inline-start:1.5rem}.github-markdown[data-v-3636cce2] pre{border-radius:8px;padding:.6rem;overflow-x:auto}.github-markdown[data-v-3636cce2] code,.github-markdown[data-v-3636cce2] pre{background:rgba(var(--v-theme-surface-variant), .5)}.github-markdown[data-v-3636cce2] blockquote{border-inline-start:3px solid rgba(var(--v-border-color), var(--v-border-opacity));padding-inline-start:1rem}.github-markdown[data-v-3636cce2] table{border-collapse:collapse;max-width:100%;display:block;overflow-x:auto}.github-markdown[data-v-3636cce2] th,.github-markdown[data-v-3636cce2] td{border:1px solid rgba(var(--v-border-color), var(--v-border-opacity));padding:.4rem .6rem}.issues-panel[data-v-a5cdad48]{width:100%;min-width:0}.issues-panel__select-all[data-v-a5cdad48]{flex:none}.issues-panel__comment-body[data-v-a5cdad48]{flex:1;min-width:0}.issues-panel__search[data-v-a5cdad48]{flex:16rem;min-width:0}.issues-panel__labels[data-v-a5cdad48]{min-width:0}.issues-panel__label-filter[data-v-a5cdad48]{flex:16rem;min-width:0}.issues-panel__item-title[data-v-a5cdad48]{overflow-wrap:anywhere;min-width:0}.issues-panel__issue-link[data-v-a5cdad48]{color:inherit}.issues-panel__title[data-v-a5cdad48],.issues-panel__markdown[data-v-a5cdad48]{overflow-wrap:anywhere}.issues-panel__markdown[data-v-a5cdad48]{min-width:0;overflow-x:auto}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Jn as withKeys,Yn as withModifiers,_ as VIcon,t as VAvatar}from"./VAvatar-CAFvgSUo.js";import{D as createVNode,E as createTextVNode,Ht as watch,On as unref,Pt as useId,St as resolveComponent,_ as createBaseVNode,b as createElementBlock,bt as renderList,et as mergeProps,g as computed,gn as reactive,mt as openBlock,o as Fragment,qt as withCtx,tr as toDisplayString,tt as nextTick,un as isRef,v as createBlock,vn as ref,xn as shallowRef,xt as renderSlot,y as createCommentVNode}from"./runtime-core.esm-bundler-DMrccYS5.js";import{J as useQueryClient,t as useEndpointResource}from"./useEndpointResource-C2KD4Ub_.js";import{_ as useRouter,g as useRoute}from"./useApi-BPuI6ZR9-Dr8wK_Co.js";import{t as VOverlay}from"./VOverlay-BvFVZKNS.js";import{c as VListItemTitle,l as VListItemSubtitle,n as VList,s as VListItem}from"./VMenu-BLxobsuU.js";import{t as VChip}from"./VChip-Dfs5jX0f.js";import{g as VCheckboxBtn,t as VTextField}from"./VTextField-CA_p3N4d.js";import{i as projectSlugFromRoute,r as projectAppPath}from"./vibe64ProjectScope.local-GOSMVDRi.js";import{En as mdiRecordCircleOutline,H as mdiClose,Z as mdiCommentOutline,Zt as mdiLabelOutline,_ as mdiArrowLeft,an as mdiMagnify,hn as mdiOpenInNew,jn as mdiRestore,k as mdiCheck,kn as mdiRefresh,v as mdiArrowRight,wn as mdiPlus,yn as mdiPencilOutline}from"./mdi-C31_SZp-.js";import{i as VBtnToggle,t as VBtn}from"./VBtn-Kl_qcBsy.js";import{t as VAlert}from"./VAlert-B7ciJKQL.js";import{t as VAutocomplete}from"./VAutocomplete-QjMk5d_j.js";import{t as VDivider}from"./VDivider-DFsS0OTx.js";import{t as VSheet}from"./VSheet-BA95RNmA.js";import{t as VDialog}from"./VDialog-Dt1VjJg1.js";import{i as VCardTitle,n as VCardText,o as VCardActions,t as VCard}from"./VCard-nrJPeo91.js";import{t as VSpacer}from"./VSpacer-B1l1hVvU.js";import{t as VSkeletonLoader}from"./VSkeletonLoader-hpJqr0HL.js";import{t as VTextarea}from"./VTextarea-NyCqY4h5.js";import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper-DNW4j-dv.js";import{t as useUiFeedback}from"./useUiFeedback-Tzi-PRlX.js";import{r as scopedDevelopmentApiUrl}from"./studioUrls-CIab-Axb.js";import{n as vibe64RealtimeOriginPayload}from"./vibe64BrowserTabOrigin-SF9E31vi.js";import{nn as LongTextPreviewBlocks_default,rn as parseLongTextReviewBlocks}from"./index-5sKwLHOH.js";import{n as githubProjectRepositoryName,r as invalidateGithubIssueQueries,t as githubProjectAvailable}from"./vibe64GithubProject-CdFrbVHp.js";import{t as _sfc_main$9}from"./GithubBrowserTabs-2bEGbRAs.js";var drafts=reactive(new Map);var submittedComments=reactive(new Map);function useVibe64Issues(context){const route=useRoute();const router=useRouter();const queryClient=useQueryClient();const feedback=useUiFeedback({source:`vibe64.issues`});const projectSlug=computed(()=>projectSlugFromRoute(route));const repository=computed(()=>githubProjectRepositoryName(context.value.projectContext));const available=computed(()=>githubProjectAvailable(context.value.projectContext));const active=computed(()=>available.value&&context.value.active!==false);const basePath=computed(()=>scopedDevelopmentApiUrl(`/api/vibe64/issues`,projectSlug.value));const state=computed(()=>[`open`,`closed`,`all`].includes(route.query.issueState)?route.query.issueState:`open`);const search=computed(()=>typeof route.query.issueSearch===`string`?route.query.issueSearch:``);const searchDraft=ref(search.value);watch(search,value=>{searchDraft.value=value});const selectedLabels=computed(()=>{const labels=route.query.issueLabel;return(Array.isArray(labels)?labels:[labels]).filter(label=>typeof label===`string`&&label.trim())});const number=computed(()=>/^\d+$/u.test(String(route.query.issue||``))?String(route.query.issue):``);const commentCursor=ref(``);watch([basePath,number],()=>{commentCursor.value=``});const listQuery=computed(()=>({state:state.value,search:search.value,labels:selectedLabels.value,...route.query.issueCursor?{cursor:route.query.issueCursor}:{}}));const listKey=computed(()=>[`vibe64.issues`,basePath.value,listQuery.value]);const list=useEndpointResource({path:basePath,readQuery:listQuery,queryKey:listKey,enabled:computed(()=>active.value&&!number.value),queryOptions:{retry:false},requestRecoveryLabel:`GitHub issues`,fallbackLoadError:`Issues could not load.`});const labelsPath=computed(()=>basePath.value.replace(/\/issues$/u,`/issue-labels`));const labelCatalog=useEndpointResource({path:labelsPath,queryKey:computed(()=>[`vibe64.issueLabels`,labelsPath.value]),enabled:computed(()=>active.value&&!number.value),queryOptions:{retry:false},fallbackLoadError:`Labels could not load.`});const detailPath=computed(()=>`${basePath.value}/${number.value}`);const detail=useEndpointResource({path:detailPath,readQuery:computed(()=>commentCursor.value?{cursor:commentCursor.value}:{}),queryKey:computed(()=>[`vibe64.issue`,detailPath.value,commentCursor.value]),enabled:computed(()=>active.value&&Boolean(number.value)),queryOptions:{retry:false},requestRecoveryLabel:`GitHub issue`,fallbackLoadError:`This issue could not load.`});const issue=computed(()=>detail.data.value?.issue||null);const draft=computed({get:()=>drafts.get(detailPath.value)||``,set:value=>value?drafts.set(detailPath.value,value):drafts.delete(detailPath.value)});const stateRequestPath=ref(``);const localComments=computed(()=>submittedComments.get(detailPath.value)||[]);const savedComments=computed(()=>issue.value?.comments?.nodes||[]);const savedCommentIds=computed(()=>new Set(savedComments.value.map(comment=>comment.id)));const comments=computed(()=>[...savedComments.value,...localComments.value.filter(comment=>!savedCommentIds.value.has(comment.id)&&(comment.delivery!==`sent`||!commentCursor.value))]);const commentCount=computed(()=>(issue.value?.comments?.totalCount||0)+comments.value.length-savedComments.value.length);const pending=computed(()=>{if(stateRequestPath.value===detailPath.value)return`state`;return localComments.value.some(comment=>comment.delivery===`sending`)?`comment`:``});watch([detail.data,detailPath,commentCursor],()=>{if(commentCursor.value||issue.value?.number!==Number(number.value))return;const remaining=localComments.value.filter(comment=>comment.delivery!==`sent`||!savedCommentIds.value.has(comment.id));if(remaining.length)submittedComments.set(detailPath.value,remaining);else submittedComments.delete(detailPath.value)},{immediate:true});function navigate(changes){return router.push({query:{...route.query,...changes}})}function filter(nextState=state.value,nextLabels=selectedLabels.value){return navigate({issueState:nextState,issueSearch:String(searchDraft.value||``).trim()||void 0,issueLabel:nextLabels?.length?nextLabels:void 0,issueCursor:void 0,issue:void 0})}function filterLabel(label){searchDraft.value=`label:${/[\s"\\]/u.test(label)?JSON.stringify(label):label}`;return filter(state.value,[])}function issueUpdated({number:issueNumber,basePath:requestBasePath}){return invalidateGithubIssueQueries(queryClient,requestBasePath,`${requestBasePath}/${issueNumber}`)}async function issueSaved({number:issueNumber,basePath:requestBasePath}){await issueUpdated({number:issueNumber,basePath:requestBasePath});if(basePath.value===requestBasePath)await navigate({issue:String(issueNumber)})}async function mutate(kind){if(pending.value||issue.value?.number!==Number(number.value)||!active.value)return;const requestBasePath=basePath.value;const requestPath=detailPath.value;if(kind===`comment`){const submitted=draft.value;if(!submitted.trim()||submitted.length>65536)return;const comment=reactive({id:crypto.randomUUID(),body:submitted,createdAt:new Date().toISOString(),author:{login:`You`},delivery:`sending`,error:``});submittedComments.set(requestPath,[...localComments.value,comment]);drafts.delete(requestPath);commentCursor.value=``;return sendComment(comment,requestBasePath,requestPath)}stateRequestPath.value=requestPath;try{await detail.save({state:issue.value.state===`OPEN`?`closed`:`open`},{path:requestPath,method:`PATCH`});if(detailPath.value===requestPath)commentCursor.value=``;feedback.success(`Issue updated.`);await invalidateGithubIssueQueries(queryClient,requestBasePath,requestPath)}catch(error){feedback.error(error,`Issue could not be updated.`)}finally{stateRequestPath.value=``}}async function sendComment(comment,requestBasePath,requestPath){comment.delivery=`sending`;comment.error=``;try{const result=await detail.save(vibe64RealtimeOriginPayload({body:comment.body}),{path:`${requestPath}/comments`,method:`POST`});Object.assign(comment,result.comment,{delivery:`sent`})}catch(error){comment.delivery=`failed`;feedback.error(error,`Comment could not be confirmed. Refresh before posting again.`);comment.error=feedback.message.value;return}feedback.success(`Comment added.`);try{await invalidateGithubIssueQueries(queryClient,requestBasePath,requestPath)}catch(error){feedback.error(error,`Comment added, but the conversation could not refresh.`)}}function retryComment(id){const comment=localComments.value.find(entry=>entry.id===id);if(pending.value||!active.value||comment?.delivery!==`failed`)return;commentCursor.value=``;return sendComment(comment,basePath.value,detailPath.value)}return{available,repository,projectSlug,basePath,list,detail,labelCatalog,issue,number,state,searchDraft,selectedLabels,draft,pending,comments,commentCount,commentCursor,navigate,filter,filterLabel,mutate,issueSaved,issueUpdated,retryComment}}var _hoisted_1$7={class:`github-label-name`};var _sfc_main$8={__name:`GithubLabelChip`,props:{label:{type:Object,required:true}},setup(__props){const props=__props;const color=computed(()=>/^[a-f\d]{6}$/iu.test(props.label.color||``)?`#${props.label.color}`:void 0);return(_ctx,_cache)=>{return openBlock(),createBlock(VChip,{color:color.value,title:__props.label.description||__props.label.name,"aria-label":__props.label.name,variant:`flat`,size:`small`},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_1$7,toDisplayString(__props.label.name),1)]),_:1},8,[`color`,`title`,`aria-label`])}}};var GithubLabelChip_default=_plugin_vue_export_helper_default(_sfc_main$8,[[`__scopeId`,`data-v-9814070c`]]);var _hoisted_1$6={class:`d-flex align-center justify-space-between ga-3 pa-5 pb-2`};var _hoisted_2$4={class:`new-label__colours`};var _hoisted_3$3={class:`new-label__palette`};var _hoisted_4$2={class:`d-flex align-start ga-3`};var _hoisted_5$2=[`value`,`disabled`];var defaultColor=`0075ca`;var _sfc_main$7={__name:`GithubNewLabelButton`,props:{basePath:{type:String,required:true},labels:{type:Array,required:true},disabled:Boolean},emits:[`created`],setup(__props,{emit:__emit}){const props=__props;const emit=__emit;const palette=[{name:`Red`,color:`d73a4a`},{name:`Orange`,color:`e9963a`},{name:`Yellow`,color:`f9d65c`},{name:`Green`,color:`4c956c`},{name:`Teal`,color:`008672`},{name:`Blue`,color:`0075ca`},{name:`Purple`,color:`8957e5`},{name:`Pink`,color:`db61a2`}];const open=ref(false);const name=ref(``);const color=ref(defaultColor);const pending=ref(false);const trimmedName=computed(()=>name.value.trim());const normalizedColor=computed(()=>color.value.trim().replace(/^#/u,``).toLowerCase());const validColor=computed(()=>/^[a-f\d]{6}$/u.test(normalizedColor.value));const nameError=computed(()=>{if(/\p{Cc}/u.test(name.value)||trimmedName.value.length>50)return`Use up to 50 characters, on one line.`;return props.labels.some(label=>label.name.toLowerCase()===trimmedName.value.toLowerCase())?`A label with this name already exists.`:``});const preview=computed(()=>({name:trimmedName.value||`Your label`,color:validColor.value?normalizedColor.value:defaultColor}));const canSubmit=computed(()=>!props.disabled&&!pending.value&&Boolean(trimmedName.value)&&!nameError.value&&validColor.value);const labelsPath=computed(()=>props.basePath.replace(/\/issues$/u,`/issue-labels`));const resource=useEndpointResource({path:labelsPath,enabled:false,queryKey:computed(()=>[`vibe64.newLabel`,labelsPath.value])});const queryClient=useQueryClient();const feedback=useUiFeedback({source:`vibe64.issues.newLabel`});watch(open,value=>{if(!value)return;name.value=``;color.value=defaultColor});watch(()=>props.basePath,()=>{open.value=false});async function submit(){if(!canSubmit.value)return;const requestPath=labelsPath.value;pending.value=true;let result;try{result=await resource.save({name:trimmedName.value,color:normalizedColor.value},{path:requestPath,method:`POST`})}catch(error){feedback.error(error,`Label could not be created. Your choices have been kept.`);pending.value=false;return}const queryKey=[`vibe64.issueLabels`,requestPath];await queryClient.cancelQueries({queryKey});queryClient.setQueryData(queryKey,catalog=>{if(!catalog)return catalog;const createdName=result.label.name.toLowerCase();const labels=catalog.labels.filter(label=>label.name.toLowerCase()!==createdName);labels.push(result.label);labels.sort((a,b)=>a.name.localeCompare(b.name));return{...catalog,labels}});feedback.success(`Label created.`);if(requestPath===labelsPath.value){open.value=false;emit(`created`,result.label)}pending.value=false}return(_ctx,_cache)=>{return openBlock(),createElementBlock(Fragment,null,[createVNode(VBtn,{"prepend-icon":unref(mdiPlus),color:`primary`,variant:`text`,height:`48`,disabled:__props.disabled||pending.value,onClick:_cache[0]||(_cache[0]=$event=>open.value=true)},{default:withCtx(()=>[..._cache[7]||(_cache[7]=[createTextVNode(`New label`,-1)])]),_:1},8,[`prepend-icon`,`disabled`]),createVNode(VDialog,{modelValue:open.value,"onUpdate:modelValue":_cache[6]||(_cache[6]=$event=>open.value=$event),"max-width":`30rem`,scrollable:``,persistent:pending.value,"aria-label":`New label`},{default:withCtx(()=>[createVNode(VCard,{tag:`form`,rounded:`xl`,onSubmit:withModifiers(submit,[`prevent`,`stop`])},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$6,[_cache[8]||(_cache[8]=createBaseVNode(`h2`,{class:`text-title-large`},`New label`,-1)),createVNode(VBtn,{icon:unref(mdiClose),variant:`text`,size:`48`,"aria-label":`Close new label`,disabled:pending.value,onClick:_cache[1]||(_cache[1]=$event=>open.value=false)},null,8,[`icon`,`disabled`])]),createVNode(VCardText,{class:`d-flex flex-column ga-4`},{default:withCtx(()=>[createVNode(VSheet,{color:`surface-light`,rounded:`lg`,class:`pa-4 d-flex flex-column align-center ga-2`},{default:withCtx(()=>[_cache[9]||(_cache[9]=createBaseVNode(`span`,{class:`text-label-small text-medium-emphasis`},`Preview`,-1)),createVNode(GithubLabelChip_default,{label:preview.value,class:`new-label__preview`},null,8,[`label`])]),_:1}),createVNode(VTextField,{modelValue:name.value,"onUpdate:modelValue":_cache[2]||(_cache[2]=$event=>name.value=$event),label:`Label name`,placeholder:`e.g. Ready for review`,variant:`outlined`,maxlength:`50`,autofocus:``,disabled:pending.value,"error-messages":nameError.value,"hide-details":`auto`},null,8,[`modelValue`,`disabled`,`error-messages`]),createBaseVNode(`fieldset`,_hoisted_2$4,[_cache[10]||(_cache[10]=createBaseVNode(`legend`,{class:`text-label-large mb-2`},`Colour`,-1)),createBaseVNode(`div`,_hoisted_3$3,[(openBlock(),createElementBlock(Fragment,null,renderList(palette,swatch=>{return createVNode(VBtn,{key:swatch.color,color:`#${swatch.color}`,variant:`flat`,icon:``,size:`48`,"aria-label":swatch.name,"aria-pressed":normalizedColor.value===swatch.color,disabled:pending.value,onClick:$event=>color.value=swatch.color},{default:withCtx(()=>[normalizedColor.value===swatch.color?(openBlock(),createBlock(VIcon,{key:0,icon:unref(mdiCheck)},null,8,[`icon`])):createCommentVNode(``,true)]),_:2},1032,[`color`,`aria-label`,`aria-pressed`,`disabled`,`onClick`])}),64))])]),createBaseVNode(`div`,_hoisted_4$2,[createBaseVNode(`input`,{type:`color`,value:`#${preview.value.color}`,class:`new-label__custom`,"aria-label":`Custom colour`,title:`Choose a custom colour`,disabled:pending.value,onInput:_cache[3]||(_cache[3]=$event=>color.value=$event.target.value.slice(1))},null,40,_hoisted_5$2),createVNode(VTextField,{modelValue:color.value,"onUpdate:modelValue":_cache[4]||(_cache[4]=$event=>color.value=$event),label:`Hex colour`,prefix:`#`,variant:`outlined`,density:`compact`,maxlength:`7`,disabled:pending.value,"error-messages":validColor.value?[]:`Use six characters: 0–9 or A–F.`,"hide-details":`auto`,autocomplete:`off`,spellcheck:`false`},null,8,[`modelValue`,`disabled`,`error-messages`])]),_cache[11]||(_cache[11]=createBaseVNode(`p`,{class:`text-body-small text-medium-emphasis ma-0`},`Available to all issues in this repository.`,-1))]),_:1}),createVNode(VCardActions,{class:`pa-5 pt-2`},{default:withCtx(()=>[createVNode(VSpacer),createVNode(VBtn,{variant:`text`,height:`48`,disabled:pending.value,onClick:_cache[5]||(_cache[5]=$event=>open.value=false)},{default:withCtx(()=>[..._cache[12]||(_cache[12]=[createTextVNode(`Cancel`,-1)])]),_:1},8,[`disabled`]),createVNode(VBtn,{type:`submit`,color:`primary`,variant:`flat`,rounded:`pill`,height:`48`,disabled:!canSubmit.value,"aria-busy":pending.value},{default:withCtx(()=>[createTextVNode(toDisplayString(pending.value?`Creating…`:`Create label`),1)]),_:1},8,[`disabled`,`aria-busy`])]),_:1})]),_:1})]),_:1},8,[`modelValue`,`persistent`])],64)}}};var GithubNewLabelButton_default=_plugin_vue_export_helper_default(_sfc_main$7,[[`__scopeId`,`data-v-2ec73f20`]]);var _hoisted_1$5={key:1,class:`text-body-medium pa-3 ma-0`,role:`status`};var _hoisted_2$3={key:2,class:`pa-3 text-body-small`,role:`status`};var _sfc_main$6=Object.assign({inheritAttrs:false},{__name:`GithubMentionTextarea`,props:{modelValue:{type:String,default:``},basePath:{type:String,required:true},issue:{type:Object,default:null},enabled:{type:Boolean,default:true},disabled:Boolean},emits:[`update:modelValue`],setup(__props,{emit:__emit}){const props=__props;const emit=__emit;const field=ref(null);const mention=ref(null);const selected=ref(0);const listId=`github-mentions-${useId()}`;const path=computed(()=>props.basePath.replace(/\/issues$/u,`/issue-mentions`));const number=computed(()=>props.issue?.number||null);const catalog=useEndpointResource({path,readQuery:computed(()=>number.value?{number:number.value}:{}),queryKey:computed(()=>[`vibe64.issueMentions`,path.value,number.value]),enabled:computed(()=>props.enabled),queryOptions:{retry:false,staleTime:6e4},requestRecovery:false,fallbackLoadError:`Mention suggestions could not load. You can still type any @username.`});const people=computed(()=>{const users=new Map;for(const user of[props.issue?.author,...(props.issue?.comments?.nodes||[]).map(comment=>comment.author),...catalog.data.value?.users||[]])if(user?.login)users.set(user.login.toLowerCase(),user);return[...users.values()]});const suggestions=computed(()=>{const query=mention.value?.query.toLowerCase()||``;return people.value.filter(user=>user.login.toLowerCase().includes(query)||user.name?.toLowerCase().includes(query)).sort((a,b)=>{const aStartsWithQuery=a.login.toLowerCase().startsWith(query);const bStartsWithQuery=b.login.toLowerCase().startsWith(query);return Number(bStartsWithQuery)-Number(aStartsWithQuery)||a.login.localeCompare(b.login)}).slice(0,8)});const open=computed(()=>Boolean(mention.value)&&props.enabled&&!props.disabled);const warning=computed(()=>catalog.loadError.value||catalog.data.value?.warning||``);watch([path,number,()=>props.enabled,()=>props.disabled],()=>{mention.value=null});watch(suggestions,()=>{selected.value=0});function updateMention(event){const input=event.target;if(input.tagName!==`TEXTAREA`)return;if(event.isComposing||input.selectionStart!==input.selectionEnd){mention.value=null;return}const end=input.selectionStart;const match=input.value.slice(0,end).match(/(?:^|[\s([{])@([a-z\d-]*)$/iu);mention.value=match?{start:end-match[1].length-1,end,query:match[1]}:null}async function choose(user){if(!mention.value||!user||props.disabled)return;const input=field.value?.$el.querySelector(`textarea`);if(!input)return;const{start,end}=mention.value;const after=input.value.slice(end).replace(/^[a-z\d-]*/iu,``);const insertion=`@${user.login}${/^\s/u.test(after)?``:` `}`;const value=input.value.slice(0,start)+insertion+after;if(input.maxLength>=0&&value.length>input.maxLength)return;const caret=start+insertion.length+(after.startsWith(` `)?1:0);emit(`update:modelValue`,value);mention.value=null;await nextTick();input.focus();input.setSelectionRange(caret,caret)}async function onKeydown(event){if(!open.value||event.isComposing||event.keyCode===229)return;const moveSelection=suggestions.value.length>0&&[`ArrowDown`,`ArrowUp`].includes(event.key);const acceptSelection=suggestions.value.length>0&&(event.key===`Enter`||event.key===`Tab`&&!event.shiftKey);if(event.key!==`Escape`&&!moveSelection&&!acceptSelection)return;event.preventDefault();event.stopPropagation();if(event.key===`Escape`)mention.value=null;else if(moveSelection){selected.value=(selected.value+(event.key===`ArrowDown`?1:-1)+suggestions.value.length)%suggestions.value.length;await nextTick();document.getElementById(`${listId}-${selected.value}`)?.scrollIntoView({block:`nearest`})}else await choose(suggestions.value[selected.value])}return(_ctx,_cache)=>{return openBlock(),createElementBlock(Fragment,null,[createVNode(VTextarea,mergeProps({ref_key:`field`,ref:field},_ctx.$attrs,{"model-value":__props.modelValue,disabled:__props.disabled,hint:`Markdown supported · Type @ to mention someone`,"persistent-hint":``,"aria-autocomplete":`list`,"aria-expanded":open.value,"aria-controls":open.value?listId:void 0,"aria-activedescendant":open.value&&suggestions.value.length?`${listId}-${selected.value}`:void 0,"onUpdate:modelValue":_cache[0]||(_cache[0]=$event=>emit(`update:modelValue`,$event)),onInput:updateMention,onClick:updateMention,onFocus:updateMention,onSelect:updateMention,onCompositionstart:_cache[1]||(_cache[1]=$event=>mention.value=null),onCompositionend:updateMention,onBlur:_cache[2]||(_cache[2]=$event=>mention.value=null),onKeydown,onKeyup:_cache[3]||(_cache[3]=$event=>[`ArrowLeft`,`ArrowRight`,`Home`,`End`].includes($event.key)&&updateMention($event))}),null,16,[`model-value`,`disabled`,`aria-expanded`,`aria-controls`,`aria-activedescendant`]),createVNode(VOverlay,{"model-value":open.value,target:field.value?.$el,"location-strategy":`connected`,location:`top start`,origin:`bottom start`,"scroll-strategy":`reposition`,scrim:false,"close-on-back":false,"capture-focus":false,"retain-focus":false,width:`360`,"max-width":`calc(100vw - 32px)`,"onUpdate:modelValue":_cache[7]||(_cache[7]=$event=>!$event&&(mention.value=null))},{default:withCtx(()=>[createVNode(VSheet,{rounded:`lg`,border:``,elevation:`3`,class:`overflow-y-auto`,"max-height":`320`},{default:withCtx(()=>[createVNode(VList,{id:listId,role:`listbox`,"aria-label":`Mention suggestions`,density:`compact`,class:`pa-1`},{default:withCtx(()=>[(openBlock(true),createElementBlock(Fragment,null,renderList(suggestions.value,(user,index)=>{return openBlock(),createBlock(VListItem,{id:`${listId}-${index}`,key:user.login,tag:`button`,type:`button`,role:`option`,tabindex:`-1`,"aria-selected":index===selected.value,active:index===selected.value,title:`@${user.login}`,subtitle:user.name||void 0,"min-height":`48`,class:`w-100 text-left`,onPointerdown:_cache[4]||(_cache[4]=withModifiers(()=>{},[`prevent`])),onClick:$event=>choose(user)},null,8,[`id`,`aria-selected`,`active`,`title`,`subtitle`,`onClick`])}),128))]),_:1}),unref(catalog).isInitialLoading.value?(openBlock(),createBlock(VSkeletonLoader,{key:0,type:`list-item`,height:`48`,"aria-label":`Loading mention suggestions`,"aria-busy":`true`})):!suggestions.value.length&&!warning.value?(openBlock(),createElementBlock(`p`,_hoisted_1$5,`No matching people`)):createCommentVNode(``,true),warning.value?(openBlock(),createElementBlock(`div`,_hoisted_2$3,[createTextVNode(toDisplayString(warning.value)+` `,1),createVNode(VBtn,{variant:`text`,height:`48`,disabled:unref(catalog).isFetching.value,onPointerdown:_cache[5]||(_cache[5]=withModifiers(()=>{},[`prevent`])),onClick:_cache[6]||(_cache[6]=$event=>unref(catalog).reload())},{default:withCtx(()=>[..._cache[8]||(_cache[8]=[createTextVNode(`Retry`,-1)])]),_:1},8,[`disabled`])])):createCommentVNode(``,true)]),_:1})]),_:1},8,[`model-value`,`target`])],64)}}});var _hoisted_1$4={class:`d-flex align-center justify-space-between ga-3 pa-5 pb-2`};var _hoisted_2$2={class:`d-flex align-center ga-3`};var _hoisted_3$2={class:`text-title-large`};var _hoisted_4$1={key:0,class:`text-body-medium ma-0`};var _hoisted_5$1={class:`d-flex flex-wrap justify-space-between ga-2`};var _sfc_main$5={__name:`GithubIssueEditorDialog`,props:{modelValue:Boolean,basePath:{type:String,required:true},issue:{type:Object,default:null},mode:{type:String,default:`create`}},emits:[`update:modelValue`,`saved`],setup(__props,{emit:__emit}){const props=__props;const emit=__emit;const editing=computed(()=>props.mode!==`create`);const editingLabels=computed(()=>props.mode===`labels`);const heading=computed(()=>editingLabels.value?`Edit labels`:editing.value?`Edit issue`:`New issue`);const title=ref(``);const body=ref(``);const selectedLabels=ref([]);const pending=ref(false);const feedback=useUiFeedback({source:`vibe64.issues.editor`});const labelsPath=computed(()=>props.basePath.replace(/\/issues$/u,`/issue-labels`));const catalog=useEndpointResource({path:labelsPath,queryKey:computed(()=>[`vibe64.issueLabels`,labelsPath.value]),enabled:computed(()=>props.modelValue&&props.mode!==`content`),queryOptions:{retry:false},fallbackLoadError:`Labels could not load.`});const labels=computed(()=>catalog.data.value?.labels||[]);const canSetLabels=computed(()=>{const permission=editing.value?`canEditLabels`:`canCreateWithLabels`;return catalog.data.value?.[permission]===true});const path=computed(()=>editing.value?`${props.basePath}/${props.issue.number}${editingLabels.value?`/labels`:``}`:props.basePath);const resource=useEndpointResource({path,queryKey:computed(()=>[`vibe64.issueEditor`,path.value]),enabled:false});const canSubmit=computed(()=>{if(pending.value||selectedLabels.value.length>100)return false;return editingLabels.value?canSetLabels.value:Boolean(title.value.trim())&&(!editing.value||props.issue.viewerCanUpdate)});const submitLabel=computed(()=>{if(pending.value)return editing.value?`Saving…`:`Creating…`;if(editingLabels.value)return`Save labels`;return editing.value?`Save issue`:`Create issue`});watch(()=>props.modelValue,open=>{if(!open)return;title.value=props.issue?.title||``;body.value=props.issue?.body||``;selectedLabels.value=props.issue?.labels?.nodes?.map(label=>label.name)||[]},{immediate:true});async function submit(){if(!canSubmit.value)return;const wasEditing=editing.value;const requestBasePath=props.basePath;pending.value=true;try{const payload=editingLabels.value?{labels:selectedLabels.value}:{title:title.value.trim(),body:body.value,...!wasEditing?{labels:selectedLabels.value}:{}};const result=await resource.save(payload,{method:wasEditing?`PUT`:`POST`});feedback.success(wasEditing?`Issue updated.`:`Issue created.`);emit(`saved`,{number:result.issue.number,basePath:requestBasePath});emit(`update:modelValue`,false)}catch(error){feedback.error(error,wasEditing?`Issue could not be updated. Your changes have been kept.`:`Issue creation could not be confirmed. Refresh the issue list before trying again.`)}finally{pending.value=false}}return(_ctx,_cache)=>{return openBlock(),createBlock(VDialog,{"model-value":__props.modelValue,"max-width":`42rem`,scrollable:``,persistent:pending.value,"onUpdate:modelValue":_cache[8]||(_cache[8]=$event=>emit(`update:modelValue`,$event))},{default:withCtx(()=>[createVNode(VCard,{tag:`form`,rounded:`xl`,onSubmit:withModifiers(submit,[`prevent`])},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_1$4,[createBaseVNode(`div`,_hoisted_2$2,[createVNode(VIcon,{icon:editingLabels.value?unref(mdiLabelOutline):editing.value?unref(mdiPencilOutline):unref(mdiPlus),color:`primary`},null,8,[`icon`]),createBaseVNode(`h2`,_hoisted_3$2,toDisplayString(heading.value),1)]),createVNode(VBtn,{icon:unref(mdiClose),variant:`text`,size:`48`,"aria-label":`Close issue dialog`,disabled:pending.value,onClick:_cache[0]||(_cache[0]=$event=>emit(`update:modelValue`,false))},null,8,[`icon`,`disabled`])]),createVNode(VCardText,{class:`d-flex flex-column ga-4`},{default:withCtx(()=>[editingLabels.value?(openBlock(),createElementBlock(`p`,_hoisted_4$1,`#`+toDisplayString(__props.issue.number)+` · `+toDisplayString(__props.issue.title),1)):(openBlock(),createElementBlock(Fragment,{key:1},[createVNode(VTextField,{modelValue:title.value,"onUpdate:modelValue":_cache[1]||(_cache[1]=$event=>title.value=$event),label:`Title`,variant:`outlined`,maxlength:`256`,disabled:pending.value,"hide-details":``,autofocus:``},null,8,[`modelValue`,`disabled`]),createVNode(_sfc_main$6,{modelValue:body.value,"onUpdate:modelValue":_cache[2]||(_cache[2]=$event=>body.value=$event),label:`Description`,placeholder:`What needs to happen?`,variant:`outlined`,rows:`5`,"auto-grow":``,maxlength:`65536`,"base-path":__props.basePath,issue:__props.issue,enabled:__props.modelValue,disabled:pending.value},null,8,[`modelValue`,`base-path`,`issue`,`enabled`,`disabled`])],64)),__props.mode!==`content`?(openBlock(),createElementBlock(Fragment,{key:2},[unref(catalog).isInitialLoading.value?(openBlock(),createBlock(VSkeletonLoader,{key:0,type:`list-item-two-line,button`,"min-height":`152`,"aria-label":`Loading labels`,"aria-busy":`true`})):unref(catalog).loadError.value?(openBlock(),createBlock(VAlert,{key:1,type:`error`,variant:`tonal`,rounded:`lg`},{append:withCtx(()=>[createVNode(VBtn,{variant:`text`,height:`48`,onClick:_cache[3]||(_cache[3]=$event=>unref(catalog).reload())},{default:withCtx(()=>[..._cache[9]||(_cache[9]=[createTextVNode(`Retry`,-1)])]),_:1})]),default:withCtx(()=>[createTextVNode(toDisplayString(unref(catalog).loadError.value)+` `,1)]),_:1})):(openBlock(),createElementBlock(Fragment,{key:2},[createVNode(VAutocomplete,{modelValue:selectedLabels.value,"onUpdate:modelValue":_cache[4]||(_cache[4]=$event=>selectedLabels.value=$event),items:labels.value,"item-title":`name`,"item-value":`name`,multiple:``,chips:``,"closable-chips":``,label:`Labels`,variant:`outlined`,disabled:pending.value||!canSetLabels.value,"menu-props":{maxHeight:320},"error-messages":selectedLabels.value.length>100?`Choose up to 100 labels.`:[],hint:canSetLabels.value?`Search and select repository labels.`:editing.value?`Your GitHub account cannot edit labels.`:`GitHub requires write access to set labels on a new issue.`,"persistent-hint":``,"no-data-text":`No matching labels`},{chip:withCtx(({props:chipProps,item})=>[createVNode(GithubLabelChip_default,mergeProps(chipProps,{label:item}),null,16,[`label`])]),item:withCtx(({props:itemProps,item})=>[createVNode(VListItem,mergeProps(itemProps,{"min-height":`48`}),{title:withCtx(()=>[createVNode(GithubLabelChip_default,{label:item},null,8,[`label`])]),subtitle:withCtx(()=>[createTextVNode(toDisplayString(item.description),1)]),_:2},1040)]),_:1},8,[`modelValue`,`items`,`disabled`,`error-messages`,`hint`]),createBaseVNode(`div`,_hoisted_5$1,[unref(catalog).data.value?.canCreateLabels?(openBlock(),createBlock(GithubNewLabelButton_default,{key:0,"base-path":__props.basePath,labels:labels.value,disabled:pending.value,onCreated:_cache[5]||(_cache[5]=$event=>selectedLabels.value=[...selectedLabels.value,$event.name])},null,8,[`base-path`,`labels`,`disabled`])):createCommentVNode(``,true),createVNode(VBtn,{variant:`text`,height:`48`,disabled:pending.value||unref(catalog).isFetching.value,onClick:_cache[6]||(_cache[6]=$event=>unref(catalog).reload())},{default:withCtx(()=>[..._cache[10]||(_cache[10]=[createTextVNode(`Refresh labels`,-1)])]),_:1},8,[`disabled`])])],64))],64)):createCommentVNode(``,true)]),_:1}),createVNode(VCardActions,{class:`pa-5 pt-2`},{default:withCtx(()=>[createVNode(VSpacer),createVNode(VBtn,{variant:`text`,height:`48`,disabled:pending.value,onClick:_cache[7]||(_cache[7]=$event=>emit(`update:modelValue`,false))},{default:withCtx(()=>[..._cache[11]||(_cache[11]=[createTextVNode(`Cancel`,-1)])]),_:1},8,[`disabled`]),createVNode(VBtn,{type:`submit`,color:`primary`,variant:`flat`,rounded:`pill`,height:`48`,disabled:!canSubmit.value,"aria-busy":pending.value},{default:withCtx(()=>[createTextVNode(toDisplayString(submitLabel.value),1)]),_:1},8,[`disabled`,`aria-busy`])]),_:1})]),_:1})]),_:1},8,[`model-value`,`persistent`])}}};var _hoisted_1$3={class:`d-flex flex-wrap justify-end ga-2`};var _sfc_main$4={__name:`GithubCommentEditor`,props:{comment:{type:Object,required:true},issue:{type:Object,required:true},basePath:{type:String,required:true}},emits:[`saved`],setup(__props,{emit:__emit}){const props=__props;const emit=__emit;const editing=ref(false);const body=ref(``);const pending=ref(false);const feedback=useUiFeedback({source:`vibe64.issues.commentEditor`});const path=computed(()=>`${props.basePath}/${props.issue.number}/comments/${encodeURIComponent(props.comment.id)}`);const resource=useEndpointResource({path,enabled:false});const canSubmit=computed(()=>!pending.value&&Boolean(body.value.trim())&&body.value.length<=65536);function edit(){body.value=props.comment.body;editing.value=true}async function submit(){if(!canSubmit.value)return;const savedIssue={number:props.issue.number,basePath:props.basePath};pending.value=true;try{await resource.save({body:body.value},{method:`PATCH`});editing.value=false;feedback.success(`Comment updated.`);emit(`saved`,savedIssue)}catch(error){feedback.error(error,`Comment could not be updated. Your changes have been kept.`)}finally{pending.value=false}}return(_ctx,_cache)=>{return editing.value?(openBlock(),createElementBlock(`form`,{key:0,class:`d-flex flex-column ga-2`,onSubmit:withModifiers(submit,[`prevent`])},[createVNode(_sfc_main$6,{modelValue:body.value,"onUpdate:modelValue":_cache[0]||(_cache[0]=$event=>body.value=$event),label:`Edit comment`,"base-path":__props.basePath,issue:__props.issue,disabled:pending.value,enabled:editing.value,variant:`outlined`,rows:`4`,"auto-grow":``,maxlength:`65536`},null,8,[`modelValue`,`base-path`,`issue`,`disabled`,`enabled`]),createBaseVNode(`div`,_hoisted_1$3,[createVNode(VBtn,{variant:`text`,height:`48`,disabled:pending.value,onClick:_cache[1]||(_cache[1]=$event=>editing.value=false)},{default:withCtx(()=>[..._cache[2]||(_cache[2]=[createTextVNode(`Cancel`,-1)])]),_:1},8,[`disabled`]),createVNode(VBtn,{type:`submit`,color:`primary`,variant:`flat`,height:`48`,disabled:!canSubmit.value},{default:withCtx(()=>[createTextVNode(toDisplayString(pending.value?`Saving…`:`Save comment`),1)]),_:1},8,[`disabled`])])],32)):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot(_ctx.$slots,`default`),__props.comment.viewerCanUpdate?(openBlock(),createBlock(VBtn,{key:0,variant:`text`,height:`48`,onClick:edit},{default:withCtx(()=>[..._cache[3]||(_cache[3]=[createTextVNode(`Edit comment`,-1)])]),_:1})):createCommentVNode(``,true)],64))}}};var _hoisted_1$2={class:`text-body-medium ma-0`};var _hoisted_2$1={key:0,class:`d-flex justify-start`};var _hoisted_3$1={key:1,role:`status`};var _sfc_main$3={__name:`GithubBulkLabelsDialog`,props:{modelValue:Boolean,basePath:{type:String,required:true},numbers:{type:Array,required:true},labels:{type:Array,required:true},canCreateLabels:Boolean},emits:[`update:modelValue`,`applied`],setup(__props,{emit:__emit}){const props=__props;const emit=__emit;const labelMode=ref(`add`);const selectedLabels=ref([]);const remaining=ref([]);const failures=ref([]);const pending=ref(false);const progress=ref(``);const feedback=useUiFeedback({source:`vibe64.issues.bulkLabels`});const queryClient=useQueryClient();const resource=useEndpointResource({path:computed(()=>props.basePath),enabled:false});const canSubmit=computed(()=>!pending.value&&selectedLabels.value.length>0&&selectedLabels.value.length<=100&&remaining.value.length>0);watch(()=>props.modelValue,open=>{if(!open)return;remaining.value=[...props.numbers];selectedLabels.value=[];labelMode.value=`add`;failures.value=[]},{immediate:true});async function submit(){if(!canSubmit.value)return;const requestBasePath=props.basePath;const numbers=[...remaining.value];const payload={labels:[...selectedLabels.value],labelMode:labelMode.value};failures.value=[];pending.value=true;for(const[index,number]of numbers.entries()){progress.value=`Updating ${index+1} of ${numbers.length}…`;const issuePath=`${requestBasePath}/${number}`;try{await resource.save(payload,{path:`${issuePath}/labels`,method:`PUT`})}catch(error){feedback.error(error,`Labels could not be updated for #${number}.`);failures.value.push({number,message:feedback.message.value});continue}remaining.value=remaining.value.filter(value=>value!==number);emit(`applied`,{number,basePath:requestBasePath});try{await invalidateGithubIssueQueries(queryClient,requestBasePath,issuePath)}catch(error){feedback.error(error,`Labels updated for #${number}, but the issue could not refresh.`)}}pending.value=false;if(!remaining.value.length){feedback.success(`Labels updated for ${numbers.length} ${numbers.length===1?`issue`:`issues`}.`);emit(`update:modelValue`,false)}}return(_ctx,_cache)=>{return openBlock(),createBlock(VDialog,{"model-value":__props.modelValue,"max-width":`36rem`,scrollable:``,persistent:pending.value,"onUpdate:modelValue":_cache[4]||(_cache[4]=$event=>emit(`update:modelValue`,$event))},{default:withCtx(()=>[createVNode(VCard,{tag:`form`,rounded:`xl`,onSubmit:withModifiers(submit,[`prevent`])},{default:withCtx(()=>[createVNode(VCardTitle,{class:`pa-5 pb-2`},{default:withCtx(()=>[..._cache[5]||(_cache[5]=[createTextVNode(`Bulk edit labels`,-1)])]),_:1}),createVNode(VCardText,{class:`d-flex flex-column ga-4`},{default:withCtx(()=>[createBaseVNode(`p`,_hoisted_1$2,toDisplayString(remaining.value.length)+` selected. Other labels will stay unchanged.`,1),createVNode(VBtnToggle,{modelValue:labelMode.value,"onUpdate:modelValue":_cache[0]||(_cache[0]=$event=>labelMode.value=$event),mandatory:``,divided:``,rounded:`pill`,disabled:pending.value,"aria-label":`Label action`},{default:withCtx(()=>[createVNode(VBtn,{value:`add`,height:`48`},{default:withCtx(()=>[..._cache[6]||(_cache[6]=[createTextVNode(`Add labels`,-1)])]),_:1}),createVNode(VBtn,{value:`remove`,height:`48`},{default:withCtx(()=>[..._cache[7]||(_cache[7]=[createTextVNode(`Remove labels`,-1)])]),_:1})]),_:1},8,[`modelValue`,`disabled`]),createVNode(VAutocomplete,{modelValue:selectedLabels.value,"onUpdate:modelValue":_cache[1]||(_cache[1]=$event=>selectedLabels.value=$event),items:__props.labels,"item-title":`name`,"item-value":`name`,multiple:``,chips:``,"closable-chips":``,label:`Labels to change`,variant:`outlined`,disabled:pending.value,"menu-props":{maxHeight:320},"error-messages":selectedLabels.value.length>100?`Choose up to 100 labels.`:[],"no-data-text":`No matching labels`},{chip:withCtx(({props:chipProps,item})=>[createVNode(GithubLabelChip_default,mergeProps(chipProps,{label:item}),null,16,[`label`])]),item:withCtx(({props:itemProps,item})=>[createVNode(VListItem,mergeProps(itemProps,{"min-height":`48`}),{title:withCtx(()=>[createVNode(GithubLabelChip_default,{label:item},null,8,[`label`])]),_:2},1040)]),_:1},8,[`modelValue`,`items`,`disabled`,`error-messages`]),__props.canCreateLabels&&labelMode.value===`add`?(openBlock(),createElementBlock(`div`,_hoisted_2$1,[createVNode(GithubNewLabelButton_default,{"base-path":__props.basePath,labels:__props.labels,disabled:pending.value,onCreated:_cache[2]||(_cache[2]=$event=>selectedLabels.value=[...selectedLabels.value,$event.name])},null,8,[`base-path`,`labels`,`disabled`])])):createCommentVNode(``,true),failures.value.length?(openBlock(),createElementBlock(`div`,_hoisted_3$1,[_cache[8]||(_cache[8]=createBaseVNode(`p`,{class:`text-body-medium`},`Some issues could not be updated. Retry applies only to these issues:`,-1)),(openBlock(true),createElementBlock(Fragment,null,renderList(failures.value,failure=>{return openBlock(),createElementBlock(`p`,{key:failure.number,class:`text-body-small text-error`},`#`+toDisplayString(failure.number)+`: `+toDisplayString(failure.message),1)}),128))])):createCommentVNode(``,true)]),_:1}),createVNode(VCardActions,{class:`pa-5 pt-2 d-flex flex-wrap`},{default:withCtx(()=>[createVNode(VSpacer),createVNode(VBtn,{variant:`text`,height:`48`,disabled:pending.value,onClick:_cache[3]||(_cache[3]=$event=>emit(`update:modelValue`,false))},{default:withCtx(()=>[..._cache[9]||(_cache[9]=[createTextVNode(`Cancel`,-1)])]),_:1},8,[`disabled`]),createVNode(VBtn,{type:`submit`,color:`primary`,variant:`flat`,height:`48`,disabled:!canSubmit.value},{default:withCtx(()=>[createTextVNode(toDisplayString(pending.value?progress.value:failures.value.length?`Retry failed issues`:`Apply labels`),1)]),_:1},8,[`disabled`])]),_:1})]),_:1})]),_:1},8,[`model-value`,`persistent`])}}};function _OverloadYield(e,d){this.v=e,this.k=d}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}function _arrayWithHoles(r){if(Array.isArray(r))return r}function _iterableToArrayLimit(r,l){var t=null==r?null:`undefined`!=typeof Symbol&&r[Symbol.iterator]||r[`@@iterator`];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _unsupportedIterableToArray(r,a){if(r){if(`string`==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return`Object`===t&&r.constructor&&(t=r.constructor.name),`Map`===t||`Set`===t?Array.from(r):`Arguments`===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function AsyncGenerator(e){var t,n;function resume(t,n){try{var r=e[t](n),o=r.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(n){if(u){var i=`return`===t&&o.k?t:`next`;if(!o.k||n.done)return resume(i,n);n=e[i](n).value}settle(!!r.done,n)},function(e){resume(`throw`,e)})}catch(e){settle(2,e)}}function settle(e,r){2===e?t.reject(r):t.resolve({value:r,done:e}),(t=t.next)?resume(t.key,t.arg):n=null}this._invoke=function(e,r){return new Promise(function(o,u){var i={key:e,arg:r,resolve:o,reject:u,next:null};n?n=n.next=i:(t=n=i,resume(e,r))})},`function`!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype[`function`==typeof Symbol&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke(`next`,e)},AsyncGenerator.prototype.throw=function(e){return this._invoke(`throw`,e)},AsyncGenerator.prototype.return=function(e){return this._invoke(`return`,e)};var entries=Object.entries;var setPrototypeOf=Object.setPrototypeOf;var isFrozen=Object.isFrozen;var getPrototypeOf=Object.getPrototypeOf;var getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;var freeze=Object.freeze;var seal=Object.seal;var create=Object.create;var _ref=typeof Reflect!==`undefined`&&Reflect;var apply=_ref.apply;var construct=_ref.construct;if(!freeze)freeze=function freeze(x){return x};if(!seal)seal=function seal(x){return x};if(!apply)apply=function apply(func,thisArg){for(var _len=arguments.length,args=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)args[_key-2]=arguments[_key];return func.apply(thisArg,args)};if(!construct)construct=function construct(Func){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];return new Func(...args)};var arrayForEach=unapply(Array.prototype.forEach);Array.prototype.indexOf;var arrayLastIndexOf=unapply(Array.prototype.lastIndexOf);var arrayPop=unapply(Array.prototype.pop);var arrayPush=unapply(Array.prototype.push);Array.prototype.slice;var arraySplice=unapply(Array.prototype.splice);var arrayIsArray=Array.isArray;var stringToLowerCase=unapply(String.prototype.toLowerCase);var stringToString=unapply(String.prototype.toString);var stringMatch=unapply(String.prototype.match);var stringReplace=unapply(String.prototype.replace);var stringIndexOf=unapply(String.prototype.indexOf);var stringTrim=unapply(String.prototype.trim);var numberToString=unapply(Number.prototype.toString);var booleanToString=unapply(Boolean.prototype.toString);var bigintToString=typeof BigInt===`undefined`?null:unapply(BigInt.prototype.toString);var symbolToString=typeof Symbol===`undefined`?null:unapply(Symbol.prototype.toString);var objectHasOwnProperty=unapply(Object.prototype.hasOwnProperty);var objectToString=unapply(Object.prototype.toString);var regExpTest=unapply(RegExp.prototype.test);var typeErrorCreate=unconstruct(TypeError);function unapply(func){return function(thisArg){if(thisArg instanceof RegExp)thisArg.lastIndex=0;for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];return apply(func,thisArg,args)}}function unconstruct(Func){return function(){for(var _len4=arguments.length,args=new Array(_len4),_key4=0;_key4<_len4;_key4++)args[_key4]=arguments[_key4];return construct(Func,args)}}function addToSet(set,array){let transformCaseFunc=arguments.length>2&&arguments[2]!==void 0?arguments[2]:stringToLowerCase;if(setPrototypeOf)setPrototypeOf(set,null);if(!arrayIsArray(array))return set;let l=array.length;while(l--){let element=array[l];if(typeof element===`string`){const lcElement=transformCaseFunc(element);if(lcElement!==element){if(!isFrozen(array))array[l]=lcElement;element=lcElement}}set[element]=true}return set}function cleanArray(array){for(let index=0;index<array.length;index++)if(!objectHasOwnProperty(array,index))array[index]=null;return array}function clone(object){const newObject=create(null);for(const _ref2 of entries(object)){var _ref3=_slicedToArray(_ref2,2);const property=_ref3[0];const value=_ref3[1];if(objectHasOwnProperty(object,property)){if(arrayIsArray(value))newObject[property]=cleanArray(value);else if(value&&typeof value===`object`&&value.constructor===Object)newObject[property]=clone(value);else newObject[property]=value}}return newObject}function stringifyValue(value){switch(typeof value){case`string`:return value;case`number`:return numberToString(value);case`boolean`:return booleanToString(value);case`bigint`:return bigintToString?bigintToString(value):`0`;case`symbol`:return symbolToString?symbolToString(value):`Symbol()`;case`undefined`:return objectToString(value);case`function`:case`object`:{if(value===null)return objectToString(value);const valueAsRecord=value;const valueToString=lookupGetter(valueAsRecord,`toString`);if(typeof valueToString===`function`){const stringified=valueToString(valueAsRecord);return typeof stringified===`string`?stringified:objectToString(stringified)}return objectToString(value)}default:return objectToString(value)}}function lookupGetter(object,prop){while(object!==null){const desc=getOwnPropertyDescriptor(object,prop);if(desc){if(desc.get)return unapply(desc.get);if(typeof desc.value===`function`)return unapply(desc.value)}object=getPrototypeOf(object)}function fallbackValue(){return null}return fallbackValue}function isRegex(value){try{regExpTest(value,``);return true}catch(_unused){return false}}var html$1=freeze([`a`,`abbr`,`acronym`,`address`,`area`,`article`,`aside`,`audio`,`b`,`bdi`,`bdo`,`big`,`blink`,`blockquote`,`body`,`br`,`button`,`canvas`,`caption`,`center`,`cite`,`code`,`col`,`colgroup`,`content`,`data`,`datalist`,`dd`,`decorator`,`del`,`details`,`dfn`,`dialog`,`dir`,`div`,`dl`,`dt`,`element`,`em`,`fieldset`,`figcaption`,`figure`,`font`,`footer`,`form`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`head`,`header`,`hgroup`,`hr`,`html`,`i`,`img`,`input`,`ins`,`kbd`,`label`,`legend`,`li`,`main`,`map`,`mark`,`marquee`,`menu`,`menuitem`,`meter`,`nav`,`nobr`,`ol`,`optgroup`,`option`,`output`,`p`,`picture`,`pre`,`progress`,`q`,`rp`,`rt`,`ruby`,`s`,`samp`,`search`,`section`,`select`,`shadow`,`slot`,`small`,`source`,`spacer`,`span`,`strike`,`strong`,`style`,`sub`,`summary`,`sup`,`table`,`tbody`,`td`,`template`,`textarea`,`tfoot`,`th`,`thead`,`time`,`tr`,`track`,`tt`,`u`,`ul`,`var`,`video`,`wbr`]);var svg$1=freeze([`svg`,`a`,`altglyph`,`altglyphdef`,`altglyphitem`,`animatecolor`,`animatemotion`,`animatetransform`,`circle`,`clippath`,`defs`,`desc`,`ellipse`,`enterkeyhint`,`exportparts`,`filter`,`font`,`g`,`glyph`,`glyphref`,`hkern`,`image`,`inputmode`,`line`,`lineargradient`,`marker`,`mask`,`metadata`,`mpath`,`part`,`path`,`pattern`,`polygon`,`polyline`,`radialgradient`,`rect`,`stop`,`style`,`switch`,`symbol`,`text`,`textpath`,`title`,`tref`,`tspan`,`view`,`vkern`]);var svgFilters=freeze([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]);var svgDisallowed=freeze([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]);var mathMl$1=freeze([`math`,`menclose`,`merror`,`mfenced`,`mfrac`,`mglyph`,`mi`,`mlabeledtr`,`mmultiscripts`,`mn`,`mo`,`mover`,`mpadded`,`mphantom`,`mroot`,`mrow`,`ms`,`mspace`,`msqrt`,`mstyle`,`msub`,`msup`,`msubsup`,`mtable`,`mtd`,`mtext`,`mtr`,`munder`,`munderover`,`mprescripts`]);var mathMlDisallowed=freeze([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]);var text=freeze([`#text`]);var html=freeze([`accept`,`action`,`align`,`alt`,`autocapitalize`,`autocomplete`,`autopictureinpicture`,`autoplay`,`background`,`bgcolor`,`border`,`capture`,`cellpadding`,`cellspacing`,`checked`,`cite`,`class`,`clear`,`color`,`cols`,`colspan`,`command`,`commandfor`,`controls`,`controlslist`,`coords`,`crossorigin`,`datetime`,`decoding`,`default`,`dir`,`disabled`,`disablepictureinpicture`,`disableremoteplayback`,`download`,`draggable`,`enctype`,`enterkeyhint`,`exportparts`,`face`,`for`,`headers`,`height`,`hidden`,`high`,`href`,`hreflang`,`id`,`inert`,`inputmode`,`integrity`,`ismap`,`kind`,`label`,`lang`,`list`,`loading`,`loop`,`low`,`max`,`maxlength`,`media`,`method`,`min`,`minlength`,`multiple`,`muted`,`name`,`nonce`,`noshade`,`novalidate`,`nowrap`,`open`,`optimum`,`part`,`pattern`,`placeholder`,`playsinline`,`popover`,`popovertarget`,`popovertargetaction`,`poster`,`preload`,`pubdate`,`radiogroup`,`readonly`,`rel`,`required`,`rev`,`reversed`,`role`,`rows`,`rowspan`,`spellcheck`,`scope`,`selected`,`shape`,`size`,`sizes`,`slot`,`span`,`srclang`,`start`,`src`,`srcset`,`step`,`style`,`summary`,`tabindex`,`title`,`translate`,`type`,`usemap`,`valign`,`value`,`width`,`wrap`,`xmlns`]);var svg=freeze([`accent-height`,`accumulate`,`additive`,`alignment-baseline`,`amplitude`,`ascent`,`attributename`,`attributetype`,`azimuth`,`basefrequency`,`baseline-shift`,`begin`,`bias`,`by`,`class`,`clip`,`clippathunits`,`clip-path`,`clip-rule`,`color`,`color-interpolation`,`color-interpolation-filters`,`color-profile`,`color-rendering`,`cx`,`cy`,`d`,`dx`,`dy`,`diffuseconstant`,`direction`,`display`,`divisor`,`dominant-baseline`,`dur`,`edgemode`,`elevation`,`end`,`exponent`,`fill`,`fill-opacity`,`fill-rule`,`filter`,`filterunits`,`flood-color`,`flood-opacity`,`font-family`,`font-size`,`font-size-adjust`,`font-stretch`,`font-style`,`font-variant`,`font-weight`,`fx`,`fy`,`g1`,`g2`,`glyph-name`,`glyphref`,`gradientunits`,`gradienttransform`,`height`,`href`,`id`,`image-rendering`,`in`,`in2`,`intercept`,`k`,`k1`,`k2`,`k3`,`k4`,`kerning`,`keypoints`,`keysplines`,`keytimes`,`lang`,`lengthadjust`,`letter-spacing`,`kernelmatrix`,`kernelunitlength`,`lighting-color`,`local`,`marker-end`,`marker-mid`,`marker-start`,`markerheight`,`markerunits`,`markerwidth`,`maskcontentunits`,`maskunits`,`max`,`mask`,`mask-type`,`media`,`method`,`mode`,`min`,`name`,`numoctaves`,`offset`,`operator`,`opacity`,`order`,`orient`,`orientation`,`origin`,`overflow`,`paint-order`,`path`,`pathlength`,`patterncontentunits`,`patterntransform`,`patternunits`,`pointer-events`,`points`,`preservealpha`,`preserveaspectratio`,`primitiveunits`,`r`,`rx`,`ry`,`radius`,`refx`,`refy`,`repeatcount`,`repeatdur`,`restart`,`result`,`rotate`,`scale`,`seed`,`shape-rendering`,`slope`,`specularconstant`,`specularexponent`,`spreadmethod`,`startoffset`,`stddeviation`,`stitchtiles`,`stop-color`,`stop-opacity`,`stroke-dasharray`,`stroke-dashoffset`,`stroke-linecap`,`stroke-linejoin`,`stroke-miterlimit`,`stroke-opacity`,`stroke`,`stroke-width`,`style`,`surfacescale`,`systemlanguage`,`tabindex`,`tablevalues`,`targetx`,`targety`,`transform`,`transform-origin`,`text-anchor`,`text-decoration`,`text-orientation`,`text-rendering`,`textlength`,`type`,`u1`,`u2`,`unicode`,`values`,`vector-effect`,`viewbox`,`visibility`,`version`,`vert-adv-y`,`vert-origin-x`,`vert-origin-y`,`width`,`word-spacing`,`wrap`,`writing-mode`,`xchannelselector`,`ychannelselector`,`x`,`x1`,`x2`,`xmlns`,`y`,`y1`,`y2`,`z`,`zoomandpan`]);var mathMl=freeze([`accent`,`accentunder`,`align`,`bevelled`,`close`,`columnalign`,`columnlines`,`columnspacing`,`columnspan`,`denomalign`,`depth`,`dir`,`display`,`displaystyle`,`encoding`,`fence`,`frame`,`height`,`href`,`id`,`largeop`,`length`,`linethickness`,`lquote`,`lspace`,`mathbackground`,`mathcolor`,`mathsize`,`mathvariant`,`maxsize`,`minsize`,`movablelimits`,`notation`,`numalign`,`open`,`rowalign`,`rowlines`,`rowspacing`,`rowspan`,`rspace`,`rquote`,`scriptlevel`,`scriptminsize`,`scriptsizemultiplier`,`selection`,`separator`,`separators`,`stretchy`,`subscriptshift`,`supscriptshift`,`symmetric`,`voffset`,`width`,`xmlns`]);var xml=freeze([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]);var MUSTACHE_EXPR=seal(/{{[\w\W]*|^[\w\W]*}}/g);var ERB_EXPR=seal(/<%[\w\W]*|^[\w\W]*%>/g);var TMPLIT_EXPR=seal(/\${[\w\W]*/g);var DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);var ARIA_ATTR=seal(/^aria-[\-\w]+$/);var IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);var IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i);var ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);var DOCTYPE_NAME=seal(/^html$/i);var CUSTOM_ELEMENT=seal(/^[a-z][.\w]*(-[.\w]+)+$/i);var ELEMENT_MARKUP_PROBE=seal(/<[/\w!]/g);var COMMENT_MARKUP_PROBE=seal(/<[/\w]/g);var FALLBACK_TAG_CLOSE=seal(/<\/no(script|embed|frames)/i);var SELF_CLOSING_TAG=seal(/\/>/i);var NODE_TYPE={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12};var LITERAL_TEXT_ELEMENT_NAMES=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`];var LITERAL_TEXT_ELEMENTS=freeze(addToSet({},LITERAL_TEXT_ELEMENT_NAMES));var LITERAL_TEXT_CLOSE=function(){const map={};arrayForEach(LITERAL_TEXT_ELEMENT_NAMES,name=>{map[name]=seal(new RegExp(`</`+name+`(?=[\\t\\n\\f\\r />])`,`i`))});return freeze(map)}();var getGlobal=function getGlobal(){return typeof window===`undefined`?null:window};var _createTrustedTypesPolicy=function _createTrustedTypesPolicy(trustedTypes,purifyHostElement){if(typeof trustedTypes!==`object`||typeof trustedTypes.createPolicy!==`function`)return null;let suffix=null;const ATTR_NAME=`data-tt-policy-suffix`;if(purifyHostElement&&purifyHostElement.hasAttribute(ATTR_NAME))suffix=purifyHostElement.getAttribute(ATTR_NAME);const policyName=`dompurify`+(suffix?`#`+suffix:``);try{return trustedTypes.createPolicy(policyName,{createHTML(html){return html},createScriptURL(scriptUrl){return scriptUrl}})}catch(_){console.warn(`TrustedTypes policy `+policyName+` could not be created.`);return null}};var _createHooksMap=function _createHooksMap(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var _resolveSetOption=function _resolveSetOption(cfg,key,fallback,options){return objectHasOwnProperty(cfg,key)&&arrayIsArray(cfg[key])?addToSet(options.base?clone(options.base):{},cfg[key],options.transform):fallback};var _resolveObjectOption=function _resolveObjectOption(cfg,key,makeFallback){const value=objectHasOwnProperty(cfg,key)?cfg[key]:void 0;return value&&typeof value===`object`?clone(value):makeFallback()};function createDOMPurify(){let window=arguments.length>0&&arguments[0]!==void 0?arguments[0]:getGlobal();const DOMPurify=root=>createDOMPurify(root);DOMPurify.version=`3.4.16`;DOMPurify.removed=[];if(!window||!window.document||window.document.nodeType!==NODE_TYPE.document||!window.Element){DOMPurify.isSupported=false;return DOMPurify}let document=window.document;const originalDocument=document;const currentScript=originalDocument.currentScript;window.DocumentFragment;const HTMLTemplateElement=window.HTMLTemplateElement,Node=window.Node,Element=window.Element,NodeFilter=window.NodeFilter;window.NamedNodeMap===void 0&&(window.NamedNodeMap||window.MozNamedAttrMap);window.HTMLFormElement;const DOMParser=window.DOMParser,trustedTypes=window.trustedTypes;const ElementPrototype=Element.prototype;const cloneNode=lookupGetter(ElementPrototype,`cloneNode`);const remove=lookupGetter(ElementPrototype,`remove`);const removeAttributeNode=lookupGetter(ElementPrototype,`removeAttributeNode`);const getNextSibling=lookupGetter(ElementPrototype,`nextSibling`);const getChildNodes=lookupGetter(ElementPrototype,`childNodes`);const getParentNode=lookupGetter(ElementPrototype,`parentNode`);const getShadowRoot=lookupGetter(ElementPrototype,`shadowRoot`);const getAttributes=lookupGetter(ElementPrototype,`attributes`);const getNodeType=Node&&Node.prototype?lookupGetter(Node.prototype,`nodeType`):null;const getNodeName=Node&&Node.prototype?lookupGetter(Node.prototype,`nodeName`):null;const getOwnerDocument=Node&&Node.prototype?lookupGetter(Node.prototype,`ownerDocument`):null;const _readNodeType=function _readNodeType(node){return getNodeType?getNodeType(node):node.nodeType};const _readNodeName=function _readNodeName(node){return getNodeName?getNodeName(node):node.nodeName};if(typeof HTMLTemplateElement===`function`){const template=document.createElement(`template`);if(template.content&&template.content.ownerDocument)document=template.content.ownerDocument}let trustedTypesPolicy;let emptyHTML=``;let defaultTrustedTypesPolicy;let defaultTrustedTypesPolicyResolved=false;let IN_TRUSTED_TYPES_POLICY=0;const _assertNotInTrustedTypesPolicy=function _assertNotInTrustedTypesPolicy(){if(IN_TRUSTED_TYPES_POLICY>0)throw typeErrorCreate(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)};const _createTrustedHTML=function _createTrustedHTML(html){_assertNotInTrustedTypesPolicy();IN_TRUSTED_TYPES_POLICY++;try{return trustedTypesPolicy.createHTML(html)}finally{IN_TRUSTED_TYPES_POLICY--}};const _createTrustedScriptURL=function _createTrustedScriptURL(scriptUrl){_assertNotInTrustedTypesPolicy();IN_TRUSTED_TYPES_POLICY++;try{return trustedTypesPolicy.createScriptURL(scriptUrl)}finally{IN_TRUSTED_TYPES_POLICY--}};const _getDefaultTrustedTypesPolicy=function _getDefaultTrustedTypesPolicy(){if(!defaultTrustedTypesPolicyResolved){defaultTrustedTypesPolicy=_createTrustedTypesPolicy(trustedTypes,currentScript);defaultTrustedTypesPolicyResolved=true}return defaultTrustedTypesPolicy};const _document=document,implementation=_document.implementation,createNodeIterator=_document.createNodeIterator,createDocumentFragment=_document.createDocumentFragment,getElementsByTagName=_document.getElementsByTagName;const importNode=originalDocument.importNode;let hooks=_createHooksMap();DOMPurify.isSupported=typeof entries===`function`&&typeof getParentNode===`function`&&implementation&&implementation.createHTMLDocument!==void 0;const MUSTACHE_EXPR$1=MUSTACHE_EXPR,ERB_EXPR$1=ERB_EXPR,TMPLIT_EXPR$1=TMPLIT_EXPR,DATA_ATTR$1=DATA_ATTR,ARIA_ATTR$1=ARIA_ATTR,IS_SCRIPT_OR_DATA$1=IS_SCRIPT_OR_DATA,ATTR_WHITESPACE$1=ATTR_WHITESPACE,CUSTOM_ELEMENT$1=CUSTOM_ELEMENT;let IS_ALLOWED_URI$1=IS_ALLOWED_URI;let ALLOWED_TAGS=null;const DEFAULT_ALLOWED_TAGS=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text]);let ALLOWED_ATTR=null;const DEFAULT_ALLOWED_ATTR=addToSet({},[...html,...svg,...mathMl,...xml]);let CUSTOM_ELEMENT_HANDLING=Object.seal(create(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));let FORBID_TAGS=null;let FORBID_ATTR=null;const EXTRA_ELEMENT_HANDLING=Object.seal(create(null,{tagCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeCheck:{writable:true,configurable:false,enumerable:true,value:null}}));let ALLOW_ARIA_ATTR=true;let ALLOW_DATA_ATTR=true;let ALLOW_UNKNOWN_PROTOCOLS=false;let ALLOW_SELF_CLOSE_IN_ATTR=true;let SAFE_FOR_TEMPLATES=false;let SAFE_FOR_XML=true;let WHOLE_DOCUMENT=false;let SET_CONFIG=false;let SET_CONFIG_ALLOWED_TAGS=null;let SET_CONFIG_ALLOWED_ATTR=null;let FORCE_BODY=false;let RETURN_DOM=false;let RETURN_DOM_FRAGMENT=false;let RETURN_TRUSTED_TYPE=false;let SANITIZE_DOM=true;let SANITIZE_NAMED_PROPS=false;const SANITIZE_NAMED_PROPS_PREFIX=`user-content-`;let KEEP_CONTENT=true;let IN_PLACE=false;let USE_PROFILES={};let FORBID_CONTENTS=null;const DEFAULT_FORBID_CONTENTS=addToSet({},[`annotation-xml`,`audio`,`colgroup`,`desc`,`foreignobject`,`head`,`iframe`,`math`,`mi`,`mn`,`mo`,`ms`,`mtext`,`noembed`,`noframes`,`noscript`,`plaintext`,`script`,`selectedcontent`,`style`,`svg`,`template`,`thead`,`title`,`video`,`xmp`]);let DATA_URI_TAGS=null;const DEFAULT_DATA_URI_TAGS=addToSet({},[`audio`,`video`,`img`,`source`,`image`,`track`]);let URI_SAFE_ATTRIBUTES=null;const DEFAULT_URI_SAFE_ATTRIBUTES=addToSet({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]);const MATHML_NAMESPACE=`http://www.w3.org/1998/Math/MathML`;const SVG_NAMESPACE=`http://www.w3.org/2000/svg`;const HTML_NAMESPACE=`http://www.w3.org/1999/xhtml`;let NAMESPACE=HTML_NAMESPACE;let IS_EMPTY_INPUT=false;let ALLOWED_NAMESPACES=null;const DEFAULT_ALLOWED_NAMESPACES=addToSet({},[MATHML_NAMESPACE,SVG_NAMESPACE,HTML_NAMESPACE],stringToString);const DEFAULT_MATHML_TEXT_INTEGRATION_POINTS=freeze([`mi`,`mo`,`mn`,`ms`,`mtext`]);let MATHML_TEXT_INTEGRATION_POINTS=addToSet({},DEFAULT_MATHML_TEXT_INTEGRATION_POINTS);const DEFAULT_HTML_INTEGRATION_POINTS=freeze([`annotation-xml`]);let HTML_INTEGRATION_POINTS=addToSet({},DEFAULT_HTML_INTEGRATION_POINTS);const COMMON_SVG_AND_HTML_ELEMENTS=addToSet({},[`title`,`style`,`font`,`a`,`script`]);let PARSER_MEDIA_TYPE=null;const SUPPORTED_PARSER_MEDIA_TYPES=[`application/xhtml+xml`,`text/html`];const DEFAULT_PARSER_MEDIA_TYPE=`text/html`;let transformCaseFunc=null;let CONFIG=null;const formElement=document.createElement(`form`);const isRegexOrFunction=function isRegexOrFunction(testValue){return testValue instanceof RegExp||testValue instanceof Function};const _parseConfig=function _parseConfig(){let cfg=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(CONFIG&&CONFIG===cfg)return;if(!cfg||typeof cfg!==`object`)cfg={};cfg=clone(cfg);PARSER_MEDIA_TYPE=SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE)===-1?DEFAULT_PARSER_MEDIA_TYPE:cfg.PARSER_MEDIA_TYPE;transformCaseFunc=PARSER_MEDIA_TYPE===`application/xhtml+xml`?stringToString:stringToLowerCase;ALLOWED_TAGS=_resolveSetOption(cfg,`ALLOWED_TAGS`,DEFAULT_ALLOWED_TAGS,{transform:transformCaseFunc});ALLOWED_ATTR=_resolveSetOption(cfg,`ALLOWED_ATTR`,DEFAULT_ALLOWED_ATTR,{transform:transformCaseFunc});ALLOWED_NAMESPACES=_resolveSetOption(cfg,`ALLOWED_NAMESPACES`,DEFAULT_ALLOWED_NAMESPACES,{transform:stringToString});URI_SAFE_ATTRIBUTES=_resolveSetOption(cfg,`ADD_URI_SAFE_ATTR`,DEFAULT_URI_SAFE_ATTRIBUTES,{transform:transformCaseFunc,base:DEFAULT_URI_SAFE_ATTRIBUTES});DATA_URI_TAGS=_resolveSetOption(cfg,`ADD_DATA_URI_TAGS`,DEFAULT_DATA_URI_TAGS,{transform:transformCaseFunc,base:DEFAULT_DATA_URI_TAGS});FORBID_CONTENTS=_resolveSetOption(cfg,`FORBID_CONTENTS`,DEFAULT_FORBID_CONTENTS,{transform:transformCaseFunc});FORBID_TAGS=_resolveSetOption(cfg,`FORBID_TAGS`,clone({}),{transform:transformCaseFunc});FORBID_ATTR=_resolveSetOption(cfg,`FORBID_ATTR`,clone({}),{transform:transformCaseFunc});USE_PROFILES=objectHasOwnProperty(cfg,`USE_PROFILES`)?cfg.USE_PROFILES&&typeof cfg.USE_PROFILES===`object`?clone(cfg.USE_PROFILES):cfg.USE_PROFILES:false;ALLOW_ARIA_ATTR=cfg.ALLOW_ARIA_ATTR!==false;ALLOW_DATA_ATTR=cfg.ALLOW_DATA_ATTR!==false;ALLOW_UNKNOWN_PROTOCOLS=cfg.ALLOW_UNKNOWN_PROTOCOLS||false;ALLOW_SELF_CLOSE_IN_ATTR=cfg.ALLOW_SELF_CLOSE_IN_ATTR!==false;SAFE_FOR_TEMPLATES=cfg.SAFE_FOR_TEMPLATES||false;SAFE_FOR_XML=cfg.SAFE_FOR_XML!==false;WHOLE_DOCUMENT=cfg.WHOLE_DOCUMENT||false;RETURN_DOM=cfg.RETURN_DOM||false;RETURN_DOM_FRAGMENT=cfg.RETURN_DOM_FRAGMENT||false;RETURN_TRUSTED_TYPE=cfg.RETURN_TRUSTED_TYPE||false;FORCE_BODY=cfg.FORCE_BODY||false;SANITIZE_DOM=cfg.SANITIZE_DOM!==false;SANITIZE_NAMED_PROPS=cfg.SANITIZE_NAMED_PROPS||false;KEEP_CONTENT=cfg.KEEP_CONTENT!==false;IN_PLACE=cfg.IN_PLACE||false;IS_ALLOWED_URI$1=isRegex(cfg.ALLOWED_URI_REGEXP)?cfg.ALLOWED_URI_REGEXP:IS_ALLOWED_URI;NAMESPACE=typeof cfg.NAMESPACE===`string`?cfg.NAMESPACE:HTML_NAMESPACE;MATHML_TEXT_INTEGRATION_POINTS=_resolveObjectOption(cfg,`MATHML_TEXT_INTEGRATION_POINTS`,()=>addToSet({},DEFAULT_MATHML_TEXT_INTEGRATION_POINTS));HTML_INTEGRATION_POINTS=_resolveObjectOption(cfg,`HTML_INTEGRATION_POINTS`,()=>addToSet({},DEFAULT_HTML_INTEGRATION_POINTS));const customElementHandling=_resolveObjectOption(cfg,`CUSTOM_ELEMENT_HANDLING`,()=>create(null));CUSTOM_ELEMENT_HANDLING=create(null);if(objectHasOwnProperty(customElementHandling,`tagNameCheck`)&&isRegexOrFunction(customElementHandling.tagNameCheck))CUSTOM_ELEMENT_HANDLING.tagNameCheck=customElementHandling.tagNameCheck;if(objectHasOwnProperty(customElementHandling,`attributeNameCheck`)&&isRegexOrFunction(customElementHandling.attributeNameCheck))CUSTOM_ELEMENT_HANDLING.attributeNameCheck=customElementHandling.attributeNameCheck;if(objectHasOwnProperty(customElementHandling,`allowCustomizedBuiltInElements`)&&typeof customElementHandling.allowCustomizedBuiltInElements===`boolean`)CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=customElementHandling.allowCustomizedBuiltInElements;seal(CUSTOM_ELEMENT_HANDLING);if(SAFE_FOR_TEMPLATES)ALLOW_DATA_ATTR=false;if(RETURN_DOM_FRAGMENT)RETURN_DOM=true;if(USE_PROFILES){ALLOWED_TAGS=addToSet({},text);ALLOWED_ATTR=create(null);if(USE_PROFILES.html===true){addToSet(ALLOWED_TAGS,html$1);addToSet(ALLOWED_ATTR,html)}if(USE_PROFILES.svg===true){addToSet(ALLOWED_TAGS,svg$1);addToSet(ALLOWED_ATTR,svg);addToSet(ALLOWED_ATTR,xml)}if(USE_PROFILES.svgFilters===true){addToSet(ALLOWED_TAGS,svgFilters);addToSet(ALLOWED_ATTR,svg);addToSet(ALLOWED_ATTR,xml)}if(USE_PROFILES.mathMl===true){addToSet(ALLOWED_TAGS,mathMl$1);addToSet(ALLOWED_ATTR,mathMl);addToSet(ALLOWED_ATTR,xml)}}EXTRA_ELEMENT_HANDLING.tagCheck=null;EXTRA_ELEMENT_HANDLING.attributeCheck=null;if(objectHasOwnProperty(cfg,`ADD_TAGS`)){if(typeof cfg.ADD_TAGS===`function`)EXTRA_ELEMENT_HANDLING.tagCheck=cfg.ADD_TAGS;else if(arrayIsArray(cfg.ADD_TAGS)){if(ALLOWED_TAGS===DEFAULT_ALLOWED_TAGS)ALLOWED_TAGS=clone(ALLOWED_TAGS);addToSet(ALLOWED_TAGS,cfg.ADD_TAGS,transformCaseFunc)}}if(objectHasOwnProperty(cfg,`ADD_ATTR`)){if(typeof cfg.ADD_ATTR===`function`)EXTRA_ELEMENT_HANDLING.attributeCheck=cfg.ADD_ATTR;else if(arrayIsArray(cfg.ADD_ATTR)){if(ALLOWED_ATTR===DEFAULT_ALLOWED_ATTR)ALLOWED_ATTR=clone(ALLOWED_ATTR);addToSet(ALLOWED_ATTR,cfg.ADD_ATTR,transformCaseFunc)}}if(objectHasOwnProperty(cfg,`ADD_FORBID_CONTENTS`)&&arrayIsArray(cfg.ADD_FORBID_CONTENTS)){if(FORBID_CONTENTS===DEFAULT_FORBID_CONTENTS)FORBID_CONTENTS=clone(FORBID_CONTENTS);addToSet(FORBID_CONTENTS,cfg.ADD_FORBID_CONTENTS,transformCaseFunc)}if(KEEP_CONTENT)ALLOWED_TAGS[`#text`]=true;if(WHOLE_DOCUMENT)addToSet(ALLOWED_TAGS,[`html`,`head`,`body`]);if(ALLOWED_TAGS.table){addToSet(ALLOWED_TAGS,[`tbody`]);delete FORBID_TAGS.tbody}if(cfg.TRUSTED_TYPES_POLICY){if(typeof cfg.TRUSTED_TYPES_POLICY.createHTML!==`function`)throw typeErrorCreate(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL!==`function`)throw typeErrorCreate(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);const previousTrustedTypesPolicy=trustedTypesPolicy;trustedTypesPolicy=cfg.TRUSTED_TYPES_POLICY;try{emptyHTML=_createTrustedHTML(``)}catch(error){trustedTypesPolicy=previousTrustedTypesPolicy;throw error}}else if(cfg.TRUSTED_TYPES_POLICY===null){trustedTypesPolicy=void 0;emptyHTML=``}else{if(trustedTypesPolicy===void 0)trustedTypesPolicy=_getDefaultTrustedTypesPolicy();if(trustedTypesPolicy&&typeof emptyHTML===`string`)emptyHTML=_createTrustedHTML(``)}if(freeze)freeze(cfg);CONFIG=cfg};const ALL_SVG_TAGS=addToSet({},[...svg$1,...svgFilters,...svgDisallowed]);const ALL_MATHML_TAGS=addToSet({},[...mathMl$1,...mathMlDisallowed]);const _checkSvgNamespace=function _checkSvgNamespace(tagName,parent,parentTagName){if(parent.namespaceURI===HTML_NAMESPACE)return tagName===`svg`;if(parent.namespaceURI===MATHML_NAMESPACE)return tagName===`svg`&&(parentTagName===`annotation-xml`||MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);return Boolean(ALL_SVG_TAGS[tagName])};const _checkMathMlNamespace=function _checkMathMlNamespace(tagName,parent,parentTagName){if(parent.namespaceURI===HTML_NAMESPACE)return tagName===`math`;if(parent.namespaceURI===SVG_NAMESPACE)return tagName===`math`&&HTML_INTEGRATION_POINTS[parentTagName];return Boolean(ALL_MATHML_TAGS[tagName])};const _checkHtmlNamespace=function _checkHtmlNamespace(tagName,parent,parentTagName){if(parent.namespaceURI===SVG_NAMESPACE&&!HTML_INTEGRATION_POINTS[parentTagName])return false;if(parent.namespaceURI===MATHML_NAMESPACE&&!MATHML_TEXT_INTEGRATION_POINTS[parentTagName])return false;return!ALL_MATHML_TAGS[tagName]&&(COMMON_SVG_AND_HTML_ELEMENTS[tagName]||!ALL_SVG_TAGS[tagName])};const _checkValidNamespace=function _checkValidNamespace(element){let parent=getParentNode(element);if(!parent||!parent.tagName)parent={namespaceURI:NAMESPACE,tagName:`template`};const tagName=stringToLowerCase(element.tagName);const parentTagName=stringToLowerCase(parent.tagName);if(!ALLOWED_NAMESPACES[element.namespaceURI])return false;if(element.namespaceURI===SVG_NAMESPACE)return _checkSvgNamespace(tagName,parent,parentTagName);if(element.namespaceURI===MATHML_NAMESPACE)return _checkMathMlNamespace(tagName,parent,parentTagName);if(element.namespaceURI===HTML_NAMESPACE)return _checkHtmlNamespace(tagName,parent,parentTagName);if(PARSER_MEDIA_TYPE===`application/xhtml+xml`&&ALLOWED_NAMESPACES[element.namespaceURI])return true;return false};const _forceRemove=function _forceRemove(node){arrayPush(DOMPurify.removed,{element:node});try{getParentNode(node).removeChild(node)}catch(_){remove(node);if(!getParentNode(node))throw typeErrorCreate(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}};const _stripAttributeNode=function _stripAttributeNode(element,attribute,name){try{removeAttributeNode(element,attribute)}catch(_){try{element.removeAttribute(name)}catch(_){}}};const _neutralizeRoot=function _neutralizeRoot(root){_neutralizeSubtree(root);const childNodes=getChildNodes(root);if(childNodes){const snapshot=[];arrayForEach(childNodes,child=>{arrayPush(snapshot,child)});arrayForEach(snapshot,child=>{try{remove(child)}catch(_){}})}const attributes=getAttributes(root);if(attributes)for(let i=attributes.length-1;i>=0;--i){const attribute=attributes[i];const name=attribute&&attribute.name;if(typeof name===`string`)_stripAttributeNode(root,attribute,name)}};const _removeAttribute=function _removeAttribute(name,element,attr){if(!attr)try{attr=element.getAttributeNode(name)}catch(_){attr=null}arrayPush(DOMPurify.removed,{attribute:attr||null,from:element});try{if(attr)removeAttributeNode(element,attr);else element.removeAttribute(name)}catch(_){try{element.removeAttribute(name)}catch(_){}}if(name===`is`){if(RETURN_DOM||RETURN_DOM_FRAGMENT)try{_forceRemove(element)}catch(_){}else try{element.setAttribute(name,``)}catch(_){}}};const _stripDisallowedAttributes=function _stripDisallowedAttributes(element){const attributes=getAttributes(element);if(!attributes)return;for(let i=attributes.length-1;i>=0;--i){const attribute=attributes[i];const name=attribute&&attribute.name;if(typeof name!==`string`||ALLOWED_ATTR[transformCaseFunc(name)])continue;_stripAttributeNode(element,attribute,name)}};const _neutralizeSubtree=function _neutralizeSubtree(root){const stack=[root];while(stack.length>0){const node=stack.pop();if(_readNodeType(node)===NODE_TYPE.element)_stripDisallowedAttributes(node);const childNodes=getChildNodes(node);if(childNodes)for(let i=childNodes.length-1;i>=0;--i)stack.push(childNodes[i])}};const _isPatchLinkageAttribute=function _isPatchLinkageAttribute(lcName,lcTag){if(!SAFE_FOR_XML)return false;if(lcName===`patchsrc`)return true;return lcName===`for`&&lcTag!==`label`&&lcTag!==`output`};const _neutralizePatchLinkage=function _neutralizePatchLinkage(root){if(!SAFE_FOR_XML)return;const stack=[root];while(stack.length>0){const node=stack.pop();const nodeType=_readNodeType(node);if(nodeType===NODE_TYPE.processingInstruction||nodeType===NODE_TYPE.comment&®ExpTest(COMMENT_MARKUP_PROBE,node.data)){try{remove(node)}catch(_){}continue}if(nodeType===NODE_TYPE.element){const element=node;const lcTag=transformCaseFunc(_readNodeName(node));try{if(element.hasAttribute&&element.hasAttribute(`patchsrc`))element.removeAttribute(`patchsrc`);if(element.hasAttribute&&element.hasAttribute(`for`)&&_isPatchLinkageAttribute(`for`,lcTag))element.removeAttribute(`for`)}catch(_){}}const childNodes=getChildNodes(node);if(childNodes)for(let i=childNodes.length-1;i>=0;--i)stack.push(childNodes[i])}};const _initDocument=function _initDocument(dirty){let doc=null;let leadingWhitespace=null;if(FORCE_BODY)dirty=`<remove></remove>`+dirty;else{const matches=stringMatch(dirty,/^[\r\n\t ]+/);leadingWhitespace=matches&&matches[0]}if(PARSER_MEDIA_TYPE===`application/xhtml+xml`&&NAMESPACE===HTML_NAMESPACE)dirty=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+dirty+`</body></html>`;const dirtyPayload=trustedTypesPolicy?_createTrustedHTML(dirty):dirty;if(NAMESPACE===HTML_NAMESPACE)try{doc=new DOMParser().parseFromString(dirtyPayload,PARSER_MEDIA_TYPE)}catch(_){}if(!doc||!doc.documentElement){doc=implementation.createDocument(NAMESPACE,`template`,null);try{doc.documentElement.innerHTML=IS_EMPTY_INPUT?emptyHTML:dirtyPayload}catch(_){}}const body=doc.body||doc.documentElement;if(dirty&&leadingWhitespace)body.insertBefore(document.createTextNode(leadingWhitespace),body.childNodes[0]||null);if(NAMESPACE===HTML_NAMESPACE)return getElementsByTagName.call(doc,WHOLE_DOCUMENT?`html`:`body`)[0];return WHOLE_DOCUMENT?doc.documentElement:body};const _createNodeIterator=function _createNodeIterator(root){const doc=getOwnerDocument?getOwnerDocument(root):root.ownerDocument;return createNodeIterator.call(doc||root,root,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT|NodeFilter.SHOW_TEXT|NodeFilter.SHOW_PROCESSING_INSTRUCTION|NodeFilter.SHOW_CDATA_SECTION,null)};const _stripTemplateExpressions=function _stripTemplateExpressions(value){value=stringReplace(value,MUSTACHE_EXPR$1,` `);value=stringReplace(value,ERB_EXPR$1,` `);value=stringReplace(value,TMPLIT_EXPR$1,` `);return value};const _scrubTemplateExpressions2=function _scrubTemplateExpressions(node){var _node$querySelectorAl;node.normalize();const doc=getOwnerDocument?getOwnerDocument(node):node.ownerDocument;const walker=createNodeIterator.call(doc||node,node,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_COMMENT|NodeFilter.SHOW_CDATA_SECTION|NodeFilter.SHOW_PROCESSING_INSTRUCTION,null);let currentNode=walker.nextNode();while(currentNode){currentNode.data=_stripTemplateExpressions(currentNode.data);currentNode=walker.nextNode()}const templates=(_node$querySelectorAl=node.querySelectorAll)===null||_node$querySelectorAl===void 0?void 0:_node$querySelectorAl.call(node,`template`);if(templates)arrayForEach(templates,tmpl=>{if(_isDocumentFragment(tmpl.content))_scrubTemplateExpressions2(tmpl.content)})};const _isClobbered=function _isClobbered(element){const realTagName=getNodeName?getNodeName(element):null;if(typeof realTagName!==`string`)return false;if(transformCaseFunc(realTagName)!==`form`)return false;return typeof element.nodeName!==`string`||typeof element.textContent!==`string`||typeof element.removeChild!==`function`||element.attributes!==getAttributes(element)||typeof element.removeAttribute!==`function`||typeof element.removeAttributeNode!==`function`||typeof element.getAttributeNode!==`function`||typeof element.setAttribute!==`function`||typeof element.namespaceURI!==`string`||typeof element.insertBefore!==`function`||typeof element.hasChildNodes!==`function`||element.nodeType!==getNodeType(element)||element.childNodes!==getChildNodes(element)};const _isDocumentFragment=function _isDocumentFragment(value){if(!getNodeType||typeof value!==`object`||value===null)return false;try{return getNodeType(value)===NODE_TYPE.documentFragment}catch(_){return false}};const _isNode=function _isNode(value){if(!getNodeType||typeof value!==`object`||value===null)return false;try{return typeof getNodeType(value)===`number`}catch(_){return false}};function _executeHooks(hooks,currentNode,data){if(hooks.length===0)return;arrayForEach(hooks,hook=>{hook.call(DOMPurify,currentNode,data,CONFIG)})}const _isUnsafeNode=function _isUnsafeNode(currentNode,tagName){if(SAFE_FOR_XML&¤tNode.hasChildNodes()&&!_isNode(currentNode.firstElementChild)&®ExpTest(ELEMENT_MARKUP_PROBE,currentNode.textContent)&®ExpTest(ELEMENT_MARKUP_PROBE,currentNode.innerHTML))return true;if(SAFE_FOR_XML&¤tNode.namespaceURI===HTML_NAMESPACE&&LITERAL_TEXT_ELEMENTS[tagName]&&(_isNode(currentNode.firstElementChild)||typeof currentNode.textContent===`string`&®ExpTest(LITERAL_TEXT_CLOSE[tagName],currentNode.textContent)))return true;if(currentNode.nodeType===NODE_TYPE.processingInstruction)return true;if(SAFE_FOR_XML&¤tNode.nodeType===NODE_TYPE.comment&®ExpTest(COMMENT_MARKUP_PROBE,currentNode.data))return true;return false};const _matchesNameCheck=function _matchesNameCheck(check,name){if(check instanceof RegExp)return regExpTest(check,name);if(check instanceof Function){for(var _len=arguments.length,args=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)args[_key-2]=arguments[_key];return Boolean(check(name,...args))}return false};const _sanitizeDisallowedNode=function _sanitizeDisallowedNode(currentNode,tagName,root){if(!FORBID_TAGS[tagName]&&_isBasicCustomElement(tagName)&&_matchesNameCheck(CUSTOM_ELEMENT_HANDLING.tagNameCheck,tagName))return false;if(KEEP_CONTENT&&!FORBID_CONTENTS[tagName]){const parentNode=getParentNode(currentNode);const childNodes=getChildNodes(currentNode);if(childNodes&&parentNode){const childCount=childNodes.length;for(let i=childCount-1;i>=0;--i){const hoisted=currentNode===root?cloneNode(childNodes[i],true):childNodes[i];parentNode.insertBefore(hoisted,getNextSibling(currentNode))}}}_forceRemove(currentNode);return true};const _forkSharedAllowlist=function _forkSharedAllowlist(hookList,set,defaultSet,setConfigSet){if(hookList.length===0)return set;return set===defaultSet||set===setConfigSet?clone(set):set};const _handleHookDetachedNode=function _handleHookDetachedNode(currentNode,root){if(currentNode===root||getParentNode(currentNode)!==null)return false;if(IN_PLACE)_neutralizeSubtree(currentNode);return true};const _sanitizeElements=function _sanitizeElements(currentNode,root){_executeHooks(hooks.beforeSanitizeElements,currentNode,null);if(_handleHookDetachedNode(currentNode,root))return true;if(_isClobbered(currentNode)){_forceRemove(currentNode);return true}const tagName=transformCaseFunc(_readNodeName(currentNode));ALLOWED_TAGS=_forkSharedAllowlist(hooks.uponSanitizeElement,ALLOWED_TAGS,DEFAULT_ALLOWED_TAGS,SET_CONFIG_ALLOWED_TAGS);_executeHooks(hooks.uponSanitizeElement,currentNode,{tagName,allowedTags:ALLOWED_TAGS});if(_handleHookDetachedNode(currentNode,root))return true;if(_isUnsafeNode(currentNode,tagName)){_forceRemove(currentNode);return true}if(FORBID_TAGS[tagName]||!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function&&EXTRA_ELEMENT_HANDLING.tagCheck(tagName))&&!ALLOWED_TAGS[tagName]){const removed=_sanitizeDisallowedNode(currentNode,tagName,root);if(removed===false){_executeHooks(hooks.afterSanitizeElements,currentNode,null);if(_handleHookDetachedNode(currentNode,root))return true}return removed}if(_readNodeType(currentNode)===NODE_TYPE.element&&!_checkValidNamespace(currentNode)){_forceRemove(currentNode);return true}if((tagName===`noscript`||tagName===`noembed`||tagName===`noframes`)&®ExpTest(FALLBACK_TAG_CLOSE,currentNode.innerHTML)){_forceRemove(currentNode);return true}if(SAFE_FOR_TEMPLATES&¤tNode.nodeType===NODE_TYPE.text){const content=_stripTemplateExpressions(currentNode.textContent);if(currentNode.textContent!==content){arrayPush(DOMPurify.removed,{element:currentNode.cloneNode()});currentNode.textContent=content}}_executeHooks(hooks.afterSanitizeElements,currentNode,null);return _handleHookDetachedNode(currentNode,root)};const _isValidAttribute=function _isValidAttribute(lcTag,lcName,value){if(FORBID_ATTR[lcName])return false;if(_isPatchLinkageAttribute(lcName,lcTag))return false;if(SANITIZE_DOM&&(lcName===`id`||lcName===`name`)&&(value in document||value in formElement))return false;const nameIsPermitted=ALLOWED_ATTR[lcName]||EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function&&EXTRA_ELEMENT_HANDLING.attributeCheck(lcName,lcTag);if(ALLOW_DATA_ATTR&®ExpTest(DATA_ATTR$1,lcName))return true;if(ALLOW_ARIA_ATTR&®ExpTest(ARIA_ATTR$1,lcName))return true;if(!nameIsPermitted)return _isBasicCustomElement(lcTag)&&_matchesNameCheck(CUSTOM_ELEMENT_HANDLING.tagNameCheck,lcTag)&&_matchesNameCheck(CUSTOM_ELEMENT_HANDLING.attributeNameCheck,lcName,lcTag)||lcName===`is`&&CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&_matchesNameCheck(CUSTOM_ELEMENT_HANDLING.tagNameCheck,value);if(URI_SAFE_ATTRIBUTES[lcName])return true;if(regExpTest(IS_ALLOWED_URI$1,stringReplace(value,ATTR_WHITESPACE$1,``)))return true;if((lcName===`src`||lcName===`xlink:href`||lcName===`href`)&&lcTag!==`script`&&stringIndexOf(value,`data:`)===0&&DATA_URI_TAGS[lcTag])return true;if(ALLOW_UNKNOWN_PROTOCOLS&&!regExpTest(IS_SCRIPT_OR_DATA$1,stringReplace(value,ATTR_WHITESPACE$1,``)))return true;return!value};const RESERVED_CUSTOM_ELEMENT_NAMES=addToSet({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]);const _isBasicCustomElement=function _isBasicCustomElement(tagName){return!RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)]&®ExpTest(CUSTOM_ELEMENT$1,tagName)};const _applyTrustedTypesToAttribute=function _applyTrustedTypesToAttribute(lcTag,lcName,namespaceURI,value){if(trustedTypesPolicy&&typeof trustedTypes===`object`&&typeof trustedTypes.getAttributeType===`function`&&!namespaceURI)switch(trustedTypes.getAttributeType(lcTag,lcName)){case`TrustedHTML`:return _createTrustedHTML(value);case`TrustedScriptURL`:return _createTrustedScriptURL(value)}return value};const _setAttributeValue=function _setAttributeValue(currentNode,name,namespaceURI,value){try{if(namespaceURI)currentNode.setAttributeNS(namespaceURI,name,value);else currentNode.setAttribute(name,value);if(_isClobbered(currentNode)){_forceRemove(currentNode);return false}return true}catch(_){_removeAttribute(name,currentNode);return false}};const _sanitizeAttributes=function _sanitizeAttributes(currentNode,root){_executeHooks(hooks.beforeSanitizeAttributes,currentNode,null);if(_handleHookDetachedNode(currentNode,root))return;const attributes=currentNode.attributes;if(!attributes||_isClobbered(currentNode))return;ALLOWED_ATTR=_forkSharedAllowlist(hooks.uponSanitizeAttribute,ALLOWED_ATTR,DEFAULT_ALLOWED_ATTR,SET_CONFIG_ALLOWED_ATTR);const hookEvent={attrName:``,attrValue:``,keepAttr:true,allowedAttributes:ALLOWED_ATTR,forceKeepAttr:void 0};let l=attributes.length;const lcTag=transformCaseFunc(currentNode.nodeName);while(l--){const attr=attributes[l];const name=attr.name,namespaceURI=attr.namespaceURI,attrValue=attr.value;const lcName=transformCaseFunc(name);const initValue=attrValue;let value=name===`value`?initValue:stringTrim(initValue);let recreatedNamedProp=false;hookEvent.attrName=lcName;hookEvent.attrValue=value;hookEvent.keepAttr=true;hookEvent.forceKeepAttr=void 0;_executeHooks(hooks.uponSanitizeAttribute,currentNode,hookEvent);value=hookEvent.attrValue;if(SANITIZE_NAMED_PROPS&&(lcName===`id`||lcName===`name`)&&stringIndexOf(value,SANITIZE_NAMED_PROPS_PREFIX)!==0){_removeAttribute(name,currentNode,attr);value=SANITIZE_NAMED_PROPS_PREFIX+value;recreatedNamedProp=true}if(SAFE_FOR_XML&®ExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,value)){_removeAttribute(name,currentNode,attr);continue}if(lcName===`attributename`&&stringMatch(value,`href`)){_removeAttribute(name,currentNode,attr);continue}if(hookEvent.forceKeepAttr)continue;if(!hookEvent.keepAttr){_removeAttribute(name,currentNode,attr);continue}if(!ALLOW_SELF_CLOSE_IN_ATTR&®ExpTest(SELF_CLOSING_TAG,value)){_removeAttribute(name,currentNode,attr);continue}if(SAFE_FOR_TEMPLATES)value=_stripTemplateExpressions(value);if(!_isValidAttribute(lcTag,lcName,value)){_removeAttribute(name,currentNode,attr);continue}value=_applyTrustedTypesToAttribute(lcTag,lcName,namespaceURI,value);if(value!==initValue){if(_setAttributeValue(currentNode,name,namespaceURI,value)&&recreatedNamedProp)arrayPop(DOMPurify.removed)}}_executeHooks(hooks.afterSanitizeAttributes,currentNode,null);_handleHookDetachedNode(currentNode,root)};const _sanitizeShadowDOM2=function _sanitizeShadowDOM(fragment){let shadowNode=null;const shadowIterator=_createNodeIterator(fragment);_executeHooks(hooks.beforeSanitizeShadowDOM,fragment,null);while(shadowNode=shadowIterator.nextNode()){_executeHooks(hooks.uponSanitizeShadowNode,shadowNode,null);_sanitizeElements(shadowNode,fragment);_sanitizeAttributes(shadowNode,fragment);if(_isDocumentFragment(shadowNode.content))_sanitizeShadowDOM2(shadowNode.content);if(_readNodeType(shadowNode)===NODE_TYPE.element){const innerSr=getShadowRoot(shadowNode);if(_isDocumentFragment(innerSr)){_sanitizeAttachedShadowRoots(innerSr);_sanitizeShadowDOM2(innerSr)}}}_executeHooks(hooks.afterSanitizeShadowDOM,fragment,null)};const _sanitizeAttachedShadowRoots=function _sanitizeAttachedShadowRoots(root){const stack=[{node:root,shadow:null}];while(stack.length>0){const item=stack.pop();if(item.shadow){_sanitizeShadowDOM2(item.shadow);continue}const node=item.node;const isElement=_readNodeType(node)===NODE_TYPE.element;const childNodes=getChildNodes(node);if(childNodes)for(let i=childNodes.length-1;i>=0;--i)stack.push({node:childNodes[i],shadow:null});if(isElement){const rootName=getNodeName?getNodeName(node):null;if(typeof rootName===`string`&&transformCaseFunc(rootName)===`template`){const content=node.content;if(_isDocumentFragment(content))stack.push({node:content,shadow:null})}}if(isElement){const sr=getShadowRoot(node);if(_isDocumentFragment(sr))stack.push({node:null,shadow:sr},{node:sr,shadow:null})}}};DOMPurify.sanitize=function(dirty){let cfg=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};let body=null;let importedNode=null;let currentNode=null;let returnNode=null;IS_EMPTY_INPUT=!dirty;if(IS_EMPTY_INPUT)dirty=`<!-->`;if(typeof dirty!==`string`&&!_isNode(dirty)){dirty=stringifyValue(dirty);if(typeof dirty!==`string`)throw typeErrorCreate(`dirty is not a string, aborting`)}if(!DOMPurify.isSupported)return dirty;if(SET_CONFIG){ALLOWED_TAGS=SET_CONFIG_ALLOWED_TAGS;ALLOWED_ATTR=SET_CONFIG_ALLOWED_ATTR}else _parseConfig(cfg);if(hooks.uponSanitizeElement.length>0||hooks.uponSanitizeAttribute.length>0)ALLOWED_TAGS=clone(ALLOWED_TAGS);if(hooks.uponSanitizeAttribute.length>0)ALLOWED_ATTR=clone(ALLOWED_ATTR);DOMPurify.removed=[];const inPlace=IN_PLACE&&typeof dirty!==`string`&&_isNode(dirty);if(inPlace){_neutralizePatchLinkage(dirty);const nn=_readNodeName(dirty);if(typeof nn===`string`){const tagName=transformCaseFunc(nn);if(!ALLOWED_TAGS[tagName]||FORBID_TAGS[tagName]){_neutralizeRoot(dirty);throw typeErrorCreate(`root node is forbidden and cannot be sanitized in-place`)}}if(_isClobbered(dirty)){_neutralizeRoot(dirty);throw typeErrorCreate(`root node is clobbered and cannot be sanitized in-place`)}try{_sanitizeAttachedShadowRoots(dirty)}catch(error){_neutralizeRoot(dirty);throw error}}else if(_isNode(dirty)){body=_initDocument(`<!---->`);importedNode=body.ownerDocument.importNode(dirty,true);if(importedNode.nodeType===NODE_TYPE.element&&importedNode.nodeName===`BODY`)body=importedNode;else if(importedNode.nodeName===`HTML`)body=importedNode;else body.appendChild(importedNode);_sanitizeAttachedShadowRoots(body)}else{if(!RETURN_DOM&&!SAFE_FOR_TEMPLATES&&!WHOLE_DOCUMENT&&dirty.indexOf(`<`)===-1)return trustedTypesPolicy&&RETURN_TRUSTED_TYPE?_createTrustedHTML(dirty):dirty;body=_initDocument(dirty);if(!body)return RETURN_DOM?null:RETURN_TRUSTED_TYPE?emptyHTML:``}if(body&&FORCE_BODY)_forceRemove(body.firstChild);const walkRoot=inPlace?dirty:body;try{const nodeIterator=_createNodeIterator(walkRoot);while(currentNode=nodeIterator.nextNode()){_sanitizeElements(currentNode,walkRoot);_sanitizeAttributes(currentNode,walkRoot);if(_isDocumentFragment(currentNode.content))_sanitizeShadowDOM2(currentNode.content)}}catch(error){if(inPlace){_neutralizeRoot(dirty);arrayForEach(DOMPurify.removed,entry=>{if(entry.element)_neutralizeSubtree(entry.element)})}throw error}if(inPlace){let rootWasRemoved=false;arrayForEach(DOMPurify.removed,entry=>{if(entry.element){if(entry.element===dirty)rootWasRemoved=true;_neutralizeSubtree(entry.element)}});if(rootWasRemoved)throw typeErrorCreate(`a node selected for removal could not be safely returned; refusing to sanitize in place`);if(SAFE_FOR_TEMPLATES)_scrubTemplateExpressions2(dirty);return dirty}if(RETURN_DOM){if(SAFE_FOR_TEMPLATES)_scrubTemplateExpressions2(body);if(RETURN_DOM_FRAGMENT){returnNode=createDocumentFragment.call(body.ownerDocument);while(body.firstChild)returnNode.appendChild(body.firstChild)}else returnNode=body;if(ALLOWED_ATTR.shadowroot||ALLOWED_ATTR.shadowrootmode)returnNode=importNode.call(originalDocument,returnNode,true);return returnNode}let serializedHTML=WHOLE_DOCUMENT?body.outerHTML:body.innerHTML;if(WHOLE_DOCUMENT&&ALLOWED_TAGS[`!doctype`]&&body.ownerDocument&&body.ownerDocument.doctype&&body.ownerDocument.doctype.name&®ExpTest(DOCTYPE_NAME,body.ownerDocument.doctype.name))serializedHTML=`<!DOCTYPE `+body.ownerDocument.doctype.name+`>
|
|
3
|
-
`+serializedHTML;if(SAFE_FOR_TEMPLATES)serializedHTML=_stripTemplateExpressions(serializedHTML);return trustedTypesPolicy&&RETURN_TRUSTED_TYPE?_createTrustedHTML(serializedHTML):serializedHTML};DOMPurify.setConfig=function(){let cfg=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};_parseConfig(cfg);SET_CONFIG=true;SET_CONFIG_ALLOWED_TAGS=ALLOWED_TAGS;SET_CONFIG_ALLOWED_ATTR=ALLOWED_ATTR};DOMPurify.clearConfig=function(){CONFIG=null;SET_CONFIG=false;SET_CONFIG_ALLOWED_TAGS=null;SET_CONFIG_ALLOWED_ATTR=null;trustedTypesPolicy=defaultTrustedTypesPolicy;emptyHTML=``};DOMPurify.isValidAttribute=function(tag,attr,value){if(!CONFIG)_parseConfig({});const lcTag=transformCaseFunc(tag);const lcName=transformCaseFunc(attr);return _isValidAttribute(lcTag,lcName,value)};DOMPurify.addHook=function(entryPoint,hookFunction){if(typeof hookFunction!==`function`)return;if(!objectHasOwnProperty(hooks,entryPoint))return;arrayPush(hooks[entryPoint],hookFunction)};DOMPurify.removeHook=function(entryPoint,hookFunction){if(!objectHasOwnProperty(hooks,entryPoint))return;if(hookFunction!==void 0){const index=arrayLastIndexOf(hooks[entryPoint],hookFunction);return index===-1?void 0:arraySplice(hooks[entryPoint],index,1)[0]}return arrayPop(hooks[entryPoint])};DOMPurify.removeHooks=function(entryPoint){if(!objectHasOwnProperty(hooks,entryPoint))return;hooks[entryPoint]=[]};DOMPurify.removeAllHooks=function(){hooks=_createHooksMap()};return DOMPurify}var purify_default=createDOMPurify();var _hoisted_1$1=[`innerHTML`];var _sfc_main$2={__name:`GithubMarkdown`,props:{html:{type:String,default:``},text:{type:String,default:``}},setup(__props){const props=__props;const sanitizedHtml=computed(()=>purify_default.sanitize(props.html,{ALLOWED_TAGS:[`a`,`b`,`blockquote`,`br`,`code`,`del`,`details`,`div`,`em`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`hr`,`img`,`li`,`ol`,`p`,`pre`,`s`,`span`,`strong`,`sub`,`summary`,`sup`,`table`,`tbody`,`td`,`th`,`thead`,`tr`,`ul`],ALLOWED_ATTR:[`href`,`src`,`alt`,`title`,`width`,`height`,`colspan`,`rowspan`,`start`],ALLOW_DATA_ATTR:false,ALLOW_ARIA_ATTR:false}));const blocks=computed(()=>parseLongTextReviewBlocks(props.text));return(_ctx,_cache)=>{return __props.html?(openBlock(),createElementBlock(`div`,{key:0,class:`github-markdown`,innerHTML:sanitizedHtml.value},null,8,_hoisted_1$1)):(openBlock(),createBlock(unref(LongTextPreviewBlocks_default),{key:1,blocks:blocks.value},null,8,[`blocks`]))}}};var GithubMarkdown_default=_plugin_vue_export_helper_default(_sfc_main$2,[[`__scopeId`,`data-v-3636cce2`]]);var _hoisted_1={class:`issues-panel d-flex flex-column ga-2`};var _hoisted_2={class:`issues-panel__toolbar d-flex align-center ga-2`};var _hoisted_3={class:`issues-panel__labels d-flex flex-wrap align-start ga-2`};var _hoisted_4={key:3,class:`d-flex justify-end`};var _hoisted_5={key:0,class:`text-body-small text-medium-emphasis ma-0`};var _hoisted_6={class:`d-flex align-center justify-space-between px-2 text-label-large text-medium-emphasis`};var _hoisted_7={key:1,class:`d-flex flex-wrap align-center ga-2`};var _hoisted_8={class:`text-label-large`,role:`status`};var _hoisted_9={class:`d-flex align-center`};var _hoisted_10={class:`d-flex flex-wrap align-center ga-1`};var _hoisted_11={key:0,class:`text-label-small`};var _hoisted_12=[`aria-label`];var _hoisted_13={class:`d-flex justify-space-between ga-2`};var _hoisted_14={class:`d-flex align-center flex-wrap ga-2 mb-3`};var _hoisted_15={class:`text-label-large text-medium-emphasis`};var _hoisted_16={class:`text-title-large mb-2 issues-panel__title`};var _hoisted_17={class:`text-body-small text-medium-emphasis mb-0`};var _hoisted_18={class:`d-flex align-center flex-wrap ga-2 mt-3`};var _hoisted_19={key:0,class:`text-body-small text-medium-emphasis`};var _hoisted_20={key:1,class:`text-body-medium text-medium-emphasis ma-0`};var _hoisted_21={class:`d-flex align-center justify-space-between flex-wrap ga-2 px-2`};var _hoisted_22={class:`text-title-medium`};var _hoisted_23={class:`text-medium-emphasis`};var _hoisted_24={class:`d-flex flex-wrap ga-2`};var _hoisted_25={key:1,class:`text-body-medium text-medium-emphasis px-2`};var _hoisted_26={class:`issues-panel__comment-body`};var _hoisted_27={class:`d-flex flex-wrap align-center ga-2 mb-2`};var _hoisted_28={class:`text-label-large`};var _hoisted_29=[`datetime`];var _hoisted_30={key:0,class:`d-flex flex-wrap align-center ga-2 mt-1`,"aria-live":`polite`};var _hoisted_31={key:0,class:`text-body-small text-medium-emphasis`};var _hoisted_32={class:`text-body-small text-error`};var _hoisted_33={key:0,class:`text-body-small text-medium-emphasis ma-0`};var _hoisted_34={class:`d-flex flex-wrap align-center justify-space-between ga-3`};var _sfc_main$1={__name:`GithubIssuesPanel`,props:{dashboardContext:{type:Object,default:()=>({})}},setup(__props){const props=__props;const{available,projectSlug,basePath,list,detail,labelCatalog,issue,number,state,searchDraft,selectedLabels,draft,pending,comments,commentCount,commentCursor,navigate,filter,filterLabel,mutate,issueSaved,issueUpdated,retryComment}=useVibe64Issues(computed(()=>props.dashboardContext));const route=useRoute();const bulkOpen=ref(false);const selectedNumbers=ref([]);const visibleNumbers=computed(()=>(list.data.value?.issues||[]).map(item=>item.number));const allSelected=computed(()=>visibleNumbers.value.length>0&&visibleNumbers.value.every(value=>selectedNumbers.value.includes(value)));watch(()=>[basePath.value,number.value,route.query.issueSearch,route.query.issueState,route.query.issueCursor,route.query.issueLabel],()=>{selectedNumbers.value=[];bulkOpen.value=false},{deep:true});function labelsApplied({number:issueNumber,basePath:requestBasePath}){if(basePath.value===requestBasePath)selectedNumbers.value=selectedNumbers.value.filter(value=>value!==issueNumber)}const editorOpen=ref(false);const editorMode=ref(`create`);const editorIssue=shallowRef(null);watch([basePath,number],()=>{editorOpen.value=false;editorIssue.value=null;editorMode.value=`create`});function openEditor(selectedIssue=null,mode=`create`){editorMode.value=mode;editorIssue.value=selectedIssue;editorOpen.value=true}const resource=computed(()=>number.value?detail:list);const canChangeState=computed(()=>issue.value?.state===`OPEN`?issue.value.viewerCanClose:issue.value?.viewerCanReopen);function date(value){return value?new Date(value).toLocaleDateString(void 0,{month:`short`,day:`numeric`,year:`numeric`}):``}return(_ctx,_cache)=>{const _component_router_link=resolveComponent(`router-link`);return openBlock(),createElementBlock(`section`,_hoisted_1,[createBaseVNode(`div`,_hoisted_2,[createVNode(VBtn,{"prepend-icon":unref(mdiArrowLeft),variant:`tonal`,size:`x-small`,to:unref(available)&&unref(number)?void 0:unref(projectAppPath)(unref(projectSlug),`/dashboard/env`),onClick:_cache[0]||(_cache[0]=$event=>unref(available)&&unref(number)&&unref(navigate)({issue:void 0}))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(available)&&unref(number)?`All issues`:`Back to dashboard`),1)]),_:1},8,[`prepend-icon`,`to`]),createVNode(VSpacer),unref(available)?(openBlock(),createBlock(VBtn,{key:0,"prepend-icon":unref(mdiRefresh),variant:`text`,size:`small`,height:`48`,disabled:resource.value.isFetching.value||Boolean(unref(pending)),onClick:_cache[1]||(_cache[1]=$event=>resource.value.reload())},{default:withCtx(()=>[createTextVNode(toDisplayString(resource.value.isFetching.value?`Refreshing…`:`Refresh`),1)]),_:1},8,[`prepend-icon`,`disabled`])):createCommentVNode(``,true),unref(available)?(openBlock(),createBlock(VBtn,{key:1,"prepend-icon":unref(mdiPlus),color:`primary`,variant:`tonal`,rounded:`pill`,size:`small`,height:`48`,onClick:_cache[2]||(_cache[2]=$event=>openEditor())},{default:withCtx(()=>[..._cache[28]||(_cache[28]=[createTextVNode(`New issue`,-1)])]),_:1},8,[`prepend-icon`])):createCommentVNode(``,true)]),!unref(available)?(openBlock(),createBlock(VAlert,{key:0,variant:`tonal`,type:`info`},{default:withCtx(()=>[..._cache[29]||(_cache[29]=[createTextVNode(`Issues are available only for GitHub projects.`,-1)])]),_:1})):(openBlock(),createElementBlock(Fragment,{key:1},[createVNode(_sfc_main$9),!unref(number)?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode(`form`,{class:`d-flex flex-wrap align-center ga-3`,onSubmit:_cache[8]||(_cache[8]=withModifiers($event=>unref(filter)(),[`prevent`]))},[createVNode(VBtnToggle,{"model-value":unref(state),mandatory:``,divided:``,rounded:`pill`,color:`primary`,variant:`outlined`,"aria-label":`Issue state`,"onUpdate:modelValue":_cache[3]||(_cache[3]=$event=>unref(filter)($event))},{default:withCtx(()=>[createVNode(VBtn,{value:`open`,height:`48`},{default:withCtx(()=>[..._cache[30]||(_cache[30]=[createTextVNode(`Open`,-1)])]),_:1}),createVNode(VBtn,{value:`closed`,height:`48`},{default:withCtx(()=>[..._cache[31]||(_cache[31]=[createTextVNode(`Closed`,-1)])]),_:1}),createVNode(VBtn,{value:`all`,height:`48`},{default:withCtx(()=>[..._cache[32]||(_cache[32]=[createTextVNode(`All`,-1)])]),_:1})]),_:1},8,[`model-value`]),createVNode(VTextField,{modelValue:unref(searchDraft),"onUpdate:modelValue":_cache[5]||(_cache[5]=$event=>isRef(searchDraft)?searchDraft.value=$event:null),class:`issues-panel__search`,label:`Search issues`,placeholder:`Number, text, label:new or label:"some label"`,"prepend-inner-icon":unref(mdiMagnify),variant:`outlined`,rounded:`pill`,"hide-details":``,maxlength:`200`,clearable:``,onKeydown:_cache[6]||(_cache[6]=withKeys(withModifiers($event=>unref(filter)(),[`prevent`]),[`enter`])),"onClick:clear":_cache[7]||(_cache[7]=$event=>{searchDraft.value=``;unref(filter)()})},{"append-inner":withCtx(()=>[createVNode(VBtn,{icon:unref(mdiArrowRight),variant:`text`,size:`48`,"aria-label":`Search issues`,onClick:_cache[4]||(_cache[4]=$event=>unref(filter)())},null,8,[`icon`])]),_:1},8,[`modelValue`,`prepend-inner-icon`])],32),createBaseVNode(`div`,_hoisted_3,[unref(labelCatalog).isInitialLoading.value?(openBlock(),createBlock(VSkeletonLoader,{key:0,class:`issues-panel__label-filter`,type:`list-item`,height:`80`,"aria-label":`Loading label filters`,"aria-busy":`true`})):unref(labelCatalog).loadError.value?(openBlock(),createBlock(VAlert,{key:1,class:`issues-panel__label-filter`,type:`error`,variant:`tonal`,rounded:`lg`},{append:withCtx(()=>[createVNode(VBtn,{variant:`text`,height:`48`,onClick:_cache[9]||(_cache[9]=$event=>unref(labelCatalog).reload())},{default:withCtx(()=>[..._cache[33]||(_cache[33]=[createTextVNode(`Retry labels`,-1)])]),_:1})]),default:withCtx(()=>[createTextVNode(toDisplayString(unref(labelCatalog).loadError.value)+` `,1)]),_:1})):(openBlock(),createBlock(VAutocomplete,{key:2,"model-value":unref(selectedLabels),items:unref(labelCatalog).data.value?.labels||[],class:`issues-panel__label-filter`,"item-title":`name`,"item-value":`name`,multiple:``,chips:``,"closable-chips":``,clearable:``,label:`Filter by labels`,"prepend-inner-icon":unref(mdiLabelOutline),variant:`outlined`,rounded:`lg`,"menu-props":{maxHeight:320},hint:`Match all selected labels.`,"persistent-hint":``,"no-data-text":`No matching labels`,"onUpdate:modelValue":_cache[10]||(_cache[10]=$event=>unref(filter)(unref(state),$event))},{chip:withCtx(({props:chipProps,item})=>[createVNode(GithubLabelChip_default,mergeProps(chipProps,{label:item}),null,16,[`label`])]),item:withCtx(({props:itemProps,item})=>[createVNode(VListItem,mergeProps(itemProps,{"min-height":`48`}),{title:withCtx(()=>[createVNode(GithubLabelChip_default,{label:item},null,8,[`label`])]),subtitle:withCtx(()=>[createTextVNode(toDisplayString(item.description),1)]),_:2},1040)]),_:1},8,[`model-value`,`items`,`prepend-inner-icon`])),unref(labelCatalog).data.value?.canCreateLabels?(openBlock(),createElementBlock(`div`,_hoisted_4,[createVNode(GithubNewLabelButton_default,{"base-path":unref(basePath),labels:unref(labelCatalog).data.value.labels},null,8,[`base-path`,`labels`])])):createCommentVNode(``,true)])],64)):createCommentVNode(``,true),resource.value.isInitialLoading.value?(openBlock(),createBlock(VSheet,{key:1,rounded:`xl`,border:``,class:`pa-4`,"aria-label":`Loading issues`,"aria-busy":`true`},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(4,index=>{return createVNode(VSkeletonLoader,{key:index,type:unref(number)?`paragraph`:`list-item-two-line`},null,8,[`type`])}),64))]),_:1})):resource.value.loadError.value&&(!unref(number)||!unref(issue))?(openBlock(),createBlock(VAlert,{key:2,type:`error`,variant:`tonal`,rounded:`lg`},{append:withCtx(()=>[createVNode(VBtn,{variant:`text`,height:`48`,disabled:resource.value.isFetching.value,onClick:_cache[11]||(_cache[11]=$event=>resource.value.reload())},{default:withCtx(()=>[..._cache[34]||(_cache[34]=[createTextVNode(`Retry`,-1)])]),_:1},8,[`disabled`])]),default:withCtx(()=>[createTextVNode(toDisplayString(resource.value.loadError.value)+` `,1)]),_:1})):!unref(number)?(openBlock(),createElementBlock(Fragment,{key:3},[unref(list).data.value?.searchLimit&&unref(list).data.value.total>unref(list).data.value.searchLimit?(openBlock(),createElementBlock(`p`,_hoisted_5,` GitHub returns up to 1,000 matches for text searches or multiple labels. Narrow the filters to see more specific results. `)):createCommentVNode(``,true),createBaseVNode(`div`,_hoisted_6,[createBaseVNode(`span`,null,toDisplayString(unref(list).data.value?.total||0)+` `+toDisplayString(unref(list).data.value?.total===1?`issue`:`issues`),1),_cache[35]||(_cache[35]=createBaseVNode(`span`,null,`Recently updated`,-1))]),unref(labelCatalog).data.value?.canEditLabels&&visibleNumbers.value.length?(openBlock(),createElementBlock(`div`,_hoisted_7,[createVNode(VCheckboxBtn,{"model-value":allSelected.value,indeterminate:selectedNumbers.value.length>0&&!allSelected.value,label:`Select all on this page`,class:`issues-panel__select-all`,"min-height":`48`,"onUpdate:modelValue":_cache[12]||(_cache[12]=$event=>selectedNumbers.value=$event?[...visibleNumbers.value]:[])},null,8,[`model-value`,`indeterminate`]),createBaseVNode(`span`,_hoisted_8,toDisplayString(selectedNumbers.value.length)+` selected`,1),createVNode(VBtn,{variant:`tonal`,height:`48`,disabled:!selectedNumbers.value.length,onClick:_cache[13]||(_cache[13]=$event=>bulkOpen.value=true)},{default:withCtx(()=>[..._cache[36]||(_cache[36]=[createTextVNode(`Bulk edit labels`,-1)])]),_:1},8,[`disabled`]),selectedNumbers.value.length?(openBlock(),createBlock(VBtn,{key:0,variant:`text`,height:`48`,onClick:_cache[14]||(_cache[14]=$event=>selectedNumbers.value=[])},{default:withCtx(()=>[..._cache[37]||(_cache[37]=[createTextVNode(`Clear selection`,-1)])]),_:1})):createCommentVNode(``,true)])):createCommentVNode(``,true),unref(list).data.value?.issues?.length?(openBlock(),createBlock(VList,{key:2,class:`pa-0`,density:`compact`,lines:`two`,rounded:`xl`,border:``,slim:``,"aria-label":`GitHub issues`},{default:withCtx(()=>[(openBlock(true),createElementBlock(Fragment,null,renderList(unref(list).data.value.issues,(item,index)=>{return openBlock(),createElementBlock(Fragment,{key:item.number},[index?(openBlock(),createBlock(VDivider,{key:0})):createCommentVNode(``,true),createBaseVNode(`div`,_hoisted_9,[unref(labelCatalog).data.value?.canEditLabels?(openBlock(),createBlock(VCheckboxBtn,{key:0,modelValue:selectedNumbers.value,"onUpdate:modelValue":_cache[15]||(_cache[15]=$event=>selectedNumbers.value=$event),value:item.number,"aria-label":`Select issue #${item.number}`,class:`flex-grow-0 ml-2`,"min-width":`48`,"min-height":`48`},null,8,[`modelValue`,`value`,`aria-label`])):createCommentVNode(``,true),createVNode(VListItem,{class:`py-2 flex-grow-1`,active:false},{prepend:withCtx(()=>[createVNode(VIcon,{icon:item.state===`OPEN`?unref(mdiRecordCircleOutline):unref(mdiCheck),color:item.state===`OPEN`?`success`:`primary`,"aria-label":item.state===`OPEN`?`Open`:`Closed`},null,8,[`icon`,`color`,`aria-label`])]),append:withCtx(()=>[createBaseVNode(`span`,{class:`d-flex align-center ga-1 ml-3 text-label-medium text-medium-emphasis`,"aria-label":`${item.comments.totalCount} comments`},[createVNode(VIcon,{icon:unref(mdiCommentOutline),size:`18`},null,8,[`icon`]),createTextVNode(toDisplayString(item.comments.totalCount),1)],8,_hoisted_12)]),default:withCtx(()=>[createBaseVNode(`div`,_hoisted_10,[createVNode(VListItemTitle,{class:`issues-panel__item-title text-title-medium text-wrap`},{default:withCtx(()=>[createVNode(_component_router_link,{class:`issues-panel__issue-link text-decoration-none`,to:{query:{..._ctx.$route.query,issue:String(item.number)}}},{default:withCtx(()=>[createTextVNode(toDisplayString(item.title),1)]),_:2},1032,[`to`])]),_:2},1024),(openBlock(true),createElementBlock(Fragment,null,renderList(item.labels?.nodes||[],label=>{return openBlock(),createBlock(GithubLabelChip_default,{key:label.name,label,tag:`button`,type:`button`,"aria-label":`Filter by label ${label.name}`,onClick:$event=>unref(filterLabel)(label.name)},null,8,[`label`,`aria-label`,`onClick`])}),128)),item.labels?.totalCount>item.labels?.nodes?.length?(openBlock(),createElementBlock(`span`,_hoisted_11,`+`+toDisplayString(item.labels.totalCount-item.labels.nodes.length),1)):createCommentVNode(``,true)]),createVNode(VListItemSubtitle,{class:`text-body-small mt-1`},{default:withCtx(()=>[createTextVNode(` #`+toDisplayString(item.number)+` · `+toDisplayString(item.state===`OPEN`?`Open`:`Closed`)+` · `+toDisplayString(date(item.updatedAt)),1)]),_:2},1024)]),_:2},1024)])],64)}),128))]),_:1})):(openBlock(),createBlock(VSheet,{key:3,rounded:`xl`,color:`surface-light`,class:`pa-8 text-center`},{default:withCtx(()=>[createVNode(VIcon,{icon:unref(mdiRecordCircleOutline),size:`40`,class:`mb-3`},null,8,[`icon`]),_cache[38]||(_cache[38]=createBaseVNode(`p`,{class:`text-title-medium mb-1`},`No issues here`,-1)),_cache[39]||(_cache[39]=createBaseVNode(`p`,{class:`text-body-medium text-medium-emphasis ma-0`},`Try a different filter or search.`,-1))]),_:1})),createBaseVNode(`div`,_hoisted_13,[_ctx.$route.query.issueCursor?(openBlock(),createBlock(VBtn,{key:0,variant:`text`,height:`48`,onClick:_cache[16]||(_cache[16]=$event=>unref(navigate)({issueCursor:void 0}))},{default:withCtx(()=>[..._cache[40]||(_cache[40]=[createTextVNode(`First page`,-1)])]),_:1})):createCommentVNode(``,true),createVNode(VSpacer),unref(list).data.value?.pageInfo?.hasNextPage?(openBlock(),createBlock(VBtn,{key:1,variant:`tonal`,height:`48`,"append-icon":unref(mdiArrowRight),onClick:_cache[17]||(_cache[17]=$event=>unref(navigate)({issueCursor:unref(list).data.value.pageInfo.endCursor}))},{default:withCtx(()=>[..._cache[41]||(_cache[41]=[createTextVNode(` Next page `,-1)])]),_:1},8,[`append-icon`])):createCommentVNode(``,true)])],64)):unref(issue)?(openBlock(),createElementBlock(Fragment,{key:4},[unref(detail).loadError.value?(openBlock(),createBlock(VAlert,{key:0,type:`error`,variant:`tonal`,rounded:`lg`},{append:withCtx(()=>[createVNode(VBtn,{variant:`text`,height:`48`,disabled:unref(detail).isFetching.value,onClick:_cache[18]||(_cache[18]=$event=>unref(detail).reload())},{default:withCtx(()=>[..._cache[42]||(_cache[42]=[createTextVNode(`Refresh`,-1)])]),_:1},8,[`disabled`])]),default:withCtx(()=>[createTextVNode(toDisplayString(unref(detail).loadError.value)+` `,1)]),_:1})):createCommentVNode(``,true),createBaseVNode(`div`,null,[createBaseVNode(`div`,_hoisted_14,[createVNode(VChip,{"prepend-icon":unref(issue).state===`OPEN`?unref(mdiRecordCircleOutline):unref(mdiCheck),color:unref(issue).state===`OPEN`?`success`:`primary`,variant:`tonal`},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(issue).state===`OPEN`?`Open`:`Closed`),1)]),_:1},8,[`prepend-icon`,`color`]),createBaseVNode(`span`,_hoisted_15,`#`+toDisplayString(unref(issue).number),1),createVNode(VSpacer),unref(issue).viewerCanUpdate?(openBlock(),createBlock(VBtn,{key:0,"prepend-icon":unref(mdiPencilOutline),variant:`text`,height:`48`,onClick:_cache[19]||(_cache[19]=$event=>openEditor(unref(issue),`content`))},{default:withCtx(()=>[..._cache[43]||(_cache[43]=[createTextVNode(`Edit issue`,-1)])]),_:1},8,[`prepend-icon`])):createCommentVNode(``,true),createVNode(VBtn,{href:unref(issue).url,target:`_blank`,rel:`noopener noreferrer`,"append-icon":unref(mdiOpenInNew),variant:`text`,height:`48`},{default:withCtx(()=>[..._cache[44]||(_cache[44]=[createTextVNode(`GitHub`,-1)])]),_:1},8,[`href`,`append-icon`])]),createBaseVNode(`h2`,_hoisted_16,toDisplayString(unref(issue).title),1),createBaseVNode(`p`,_hoisted_17,toDisplayString(unref(issue).author?.login||`Deleted user`)+` opened this on `+toDisplayString(date(unref(issue).createdAt)),1),createBaseVNode(`div`,_hoisted_18,[(openBlock(true),createElementBlock(Fragment,null,renderList(unref(issue).labels?.nodes||[],label=>{return openBlock(),createBlock(GithubLabelChip_default,{key:label.name,label,tag:`button`,type:`button`,"aria-label":`Filter by label ${label.name}`,onClick:$event=>unref(filterLabel)(label.name)},null,8,[`label`,`aria-label`,`onClick`])}),128)),!unref(issue).labels?.nodes?.length?(openBlock(),createElementBlock(`span`,_hoisted_19,`No labels`)):createCommentVNode(``,true),unref(issue).canEditLabels?(openBlock(),createBlock(VBtn,{key:1,"prepend-icon":unref(mdiLabelOutline),variant:`text`,height:`48`,onClick:_cache[20]||(_cache[20]=$event=>openEditor(unref(issue),`labels`))},{default:withCtx(()=>[..._cache[45]||(_cache[45]=[createTextVNode(`Edit labels`,-1)])]),_:1},8,[`prepend-icon`])):createCommentVNode(``,true)])]),createVNode(VSheet,{border:``,rounded:`xl`,class:`pa-5 issues-panel__markdown`},{default:withCtx(()=>[unref(issue).body||unref(issue).bodyHTML?(openBlock(),createBlock(GithubMarkdown_default,{key:0,text:unref(issue).body,html:unref(issue).bodyHTML},null,8,[`text`,`html`])):(openBlock(),createElementBlock(`p`,_hoisted_20,`No description provided.`))]),_:1}),createBaseVNode(`div`,_hoisted_21,[createBaseVNode(`h3`,_hoisted_22,[_cache[46]||(_cache[46]=createTextVNode(`Comments `,-1)),createBaseVNode(`span`,_hoisted_23,toDisplayString(unref(commentCount)),1)]),createBaseVNode(`div`,_hoisted_24,[unref(commentCursor)?(openBlock(),createBlock(VBtn,{key:0,height:`48`,variant:`text`,onClick:_cache[21]||(_cache[21]=$event=>commentCursor.value=``)},{default:withCtx(()=>[..._cache[47]||(_cache[47]=[createTextVNode(`Latest comments`,-1)])]),_:1})):createCommentVNode(``,true),unref(issue).comments.pageInfo.hasPreviousPage?(openBlock(),createBlock(VBtn,{key:1,height:`48`,variant:`text`,onClick:_cache[22]||(_cache[22]=$event=>commentCursor.value=unref(issue).comments.pageInfo.startCursor)},{default:withCtx(()=>[..._cache[48]||(_cache[48]=[createTextVNode(` Older comments `,-1)])]),_:1})):createCommentVNode(``,true)])]),!unref(comments).length?(openBlock(),createElementBlock(`p`,_hoisted_25,`No comments yet. Start the conversation.`)):createCommentVNode(``,true),(openBlock(true),createElementBlock(Fragment,null,renderList(unref(comments),comment=>{return openBlock(),createElementBlock(`article`,{key:comment.id,class:`issues-panel__comment d-flex ga-3`},[createVNode(VAvatar,{color:`primary`,variant:`tonal`,size:`36`,class:`mt-1 text-label-large`,"aria-hidden":`true`},{default:withCtx(()=>[createTextVNode(toDisplayString((comment.author?.login||`?`).slice(0,1).toUpperCase()),1)]),_:2},1024),createBaseVNode(`div`,_hoisted_26,[createBaseVNode(`div`,_hoisted_27,[createBaseVNode(`span`,_hoisted_28,toDisplayString(comment.author?.login||`Deleted user`),1),createBaseVNode(`time`,{class:`text-body-small text-medium-emphasis`,datetime:comment.createdAt},toDisplayString(date(comment.createdAt)),9,_hoisted_29)]),(openBlock(),createBlock(_sfc_main$4,{key:`${unref(basePath)}:${unref(issue).number}:${comment.id}`,comment,issue:unref(issue),"base-path":unref(basePath),onSaved:unref(issueUpdated)},{default:withCtx(()=>[createVNode(VSheet,{color:`surface-light`,rounded:`xl`,class:`pa-4 issues-panel__markdown`},{default:withCtx(()=>[createVNode(GithubMarkdown_default,{text:comment.body,html:comment.bodyHTML},null,8,[`text`,`html`])]),_:2},1024)]),_:2},1032,[`comment`,`issue`,`base-path`,`onSaved`])),comment.delivery&&comment.delivery!==`sent`?(openBlock(),createElementBlock(`div`,_hoisted_30,[comment.delivery===`sending`?(openBlock(),createElementBlock(`span`,_hoisted_31,`Posting…`)):(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode(`span`,_hoisted_32,toDisplayString(comment.error),1),createVNode(VBtn,{variant:`text`,height:`48`,disabled:Boolean(unref(pending)),onClick:$event=>unref(retryComment)(comment.id)},{default:withCtx(()=>[..._cache[49]||(_cache[49]=[createTextVNode(`Retry`,-1)])]),_:1},8,[`disabled`,`onClick`])],64))])):createCommentVNode(``,true)])])}),128)),createVNode(VDivider),createBaseVNode(`form`,{class:`d-flex flex-column ga-3`,onSubmit:_cache[25]||(_cache[25]=withModifiers($event=>unref(mutate)(`comment`),[`prevent`]))},[unref(issue).locked?(openBlock(),createElementBlock(`p`,_hoisted_33,`This conversation is locked. GitHub limits comments to permitted collaborators.`)):createCommentVNode(``,true),createVNode(_sfc_main$6,{modelValue:unref(draft),"onUpdate:modelValue":_cache[23]||(_cache[23]=$event=>isRef(draft)?draft.value=$event:null),label:`Add a comment`,placeholder:`Share an update or ask a question…`,variant:`outlined`,rounded:`lg`,rows:`4`,"auto-grow":``,counter:unref(draft).length>65e3?65536:void 0,"error-messages":unref(draft).length>65536?`Keep your comment under 65,536 characters.`:[],"base-path":unref(basePath),issue:unref(issue),enabled:__props.dashboardContext.active!==false},null,8,[`modelValue`,`counter`,`error-messages`,`base-path`,`issue`,`enabled`]),createBaseVNode(`div`,_hoisted_34,[createVNode(VBtn,{variant:`tonal`,height:`48`,"prepend-icon":unref(issue).state===`OPEN`?unref(mdiCheck):unref(mdiRestore),disabled:!canChangeState.value||Boolean(unref(pending)),title:canChangeState.value?``:`Your GitHub account cannot change this issue’s state.`,onClick:_cache[24]||(_cache[24]=$event=>unref(mutate)(`state`))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(pending)===`state`?`Updating…`:unref(issue).state===`OPEN`?`Close issue`:`Reopen issue`),1)]),_:1},8,[`prepend-icon`,`disabled`,`title`]),createVNode(VBtn,{type:`submit`,color:`primary`,variant:`flat`,rounded:`pill`,height:`48`,disabled:!unref(draft).trim()||unref(draft).length>65536||Boolean(unref(pending))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(pending)===`comment`?`Posting…`:`Comment`),1)]),_:1},8,[`disabled`])])],32)],64)):createCommentVNode(``,true)],64)),unref(available)?(openBlock(),createBlock(_sfc_main$3,{key:unref(basePath),modelValue:bulkOpen.value,"onUpdate:modelValue":_cache[26]||(_cache[26]=$event=>bulkOpen.value=$event),"base-path":unref(basePath),numbers:selectedNumbers.value,labels:unref(labelCatalog).data.value?.labels||[],"can-create-labels":unref(labelCatalog).data.value?.canCreateLabels===true,onApplied:labelsApplied},null,8,[`modelValue`,`base-path`,`numbers`,`labels`,`can-create-labels`])):createCommentVNode(``,true),unref(available)?(openBlock(),createBlock(_sfc_main$5,{key:3,modelValue:editorOpen.value,"onUpdate:modelValue":_cache[27]||(_cache[27]=$event=>editorOpen.value=$event),"base-path":unref(basePath),issue:editorIssue.value,mode:editorMode.value,onSaved:unref(issueSaved)},null,8,[`modelValue`,`base-path`,`issue`,`mode`,`onSaved`])):createCommentVNode(``,true)])}}};var GithubIssuesPanel_default=_plugin_vue_export_helper_default(_sfc_main$1,[[`__scopeId`,`data-v-a5cdad48`]]);var _sfc_main={__name:`index`,props:{dashboardContext:{type:Object,default:()=>({})}},setup(__props){return(_ctx,_cache)=>{return openBlock(),createBlock(GithubIssuesPanel_default,{"dashboard-context":__props.dashboardContext},null,8,[`dashboard-context`])}}};export{_sfc_main as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Bt as convertToUnit,J as useResizeObserver,Jt as findChildrenWithProvide,St as propsFactory,Vn as consoleWarn,nn as isPercentage,pn as resolveSize,yt as getCurrentInstance}from"./VAvatar-CAFvgSUo.js";import{Ht as watch,J as inject,Pt as useId,ct as onMounted,g as computed,gn as reactive,gt as provide,it as onBeforeUnmount,nt as onActivated,ot as onDeactivated,pn as onScopeDispose,vn as ref,wn as toRef,xn as shallowRef}from"./runtime-core.esm-bundler-DMrccYS5.js";var VuetifyLayoutKey=Symbol.for(`vuetify:layout`);var VuetifyLayoutItemKey=Symbol.for(`vuetify:layout-item`);var ROOT_ZINDEX=1e3;var makeLayoutProps=propsFactory({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},`layout`);var makeLayoutItemProps=propsFactory({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},`layout-item`);function useLayout(){const layout=inject(VuetifyLayoutKey);if(!layout)throw new Error(`[Vuetify] Could not find injected layout`);return{getLayoutItem:layout.getLayoutItem,mainRect:layout.mainRect,mainStyles:layout.mainStyles,layoutRect:layout.layoutRect}}function useLayoutItem(options){const layout=inject(VuetifyLayoutKey);if(!layout)throw new Error(`[Vuetify] Could not find injected layout`);const id=options.id??`layout-item-${useId()}`;const vm=getCurrentInstance(`useLayoutItem`);provide(VuetifyLayoutItemKey,{id});const isKeptAlive=shallowRef(false);onDeactivated(()=>isKeptAlive.value=true);onActivated(()=>isKeptAlive.value=false);const{layoutItemStyles,layoutItemScrimStyles}=layout.register(vm,{...options,active:computed(()=>isKeptAlive.value?false:options.active.value),id});onBeforeUnmount(()=>layout.unregister(id));return{layoutItemStyles,layoutRect:layout.layoutRect,layoutItemScrimStyles}}var generateLayers=(layout,positions,layoutSizes,activeItems,sizeOf)=>{let previousLayer={top:0,left:0,right:0,bottom:0};const layers=[{id:``,layer:{...previousLayer}}];for(const id of layout){const position=positions.get(id);const amount=layoutSizes.get(id);const active=activeItems.get(id);if(!position||!amount||!active)continue;const layer={...previousLayer,[position.value]:previousLayer[position.value]+(active.value?sizeOf(amount.value,position.value):0)};layers.push({id,layer});previousLayer=layer}return layers};function createLayout(props){const parentLayout=inject(VuetifyLayoutKey,null);const rootZIndex=computed(()=>parentLayout?parentLayout.rootZIndex.value-100:ROOT_ZINDEX);const registered=ref([]);const positions=reactive(new Map);const layoutSizes=reactive(new Map);const priorities=reactive(new Map);const activeItems=reactive(new Map);const disabledTransitions=reactive(new Map);const{resizeRef,contentRect:layoutRect}=useResizeObserver();function sizeOf(value,position){const span=position===`left`||position===`right`?layoutRect.value?.width:layoutRect.value?.height;return resolveSize(value,span??0)}const isResizing=shallowRef(false);let resizeTimeout=-1;watch(()=>[layoutRect.value?.width,layoutRect.value?.height],()=>{isResizing.value=true;window.clearTimeout(resizeTimeout);resizeTimeout=window.setTimeout(()=>isResizing.value=false,100)});onScopeDispose(()=>window.clearTimeout(resizeTimeout));const computedOverlaps=computed(()=>{const map=new Map;const overlaps=props.overlaps??[];for(const overlap of overlaps.filter(item=>item.includes(`:`))){const[top,bottom]=overlap.split(`:`);if(!registered.value.includes(top)||!registered.value.includes(bottom))continue;const topPosition=positions.get(top);const bottomPosition=positions.get(bottom);const topAmount=layoutSizes.get(top);const bottomAmount=layoutSizes.get(bottom);if(!topPosition||!bottomPosition||!topAmount||!bottomAmount)continue;map.set(bottom,{position:topPosition.value,amount:sizeOf(topAmount.value,topPosition.value)});map.set(top,{position:bottomPosition.value,amount:-sizeOf(bottomAmount.value,bottomPosition.value)})}return map});const layers=computed(()=>{const uniquePriorities=[...new Set([...priorities.values()].map(p=>p.value))].sort((a,b)=>a-b);const layout=[];for(const p of uniquePriorities){const items=registered.value.filter(id=>priorities.get(id)?.value===p);layout.push(...items)}return generateLayers(layout,positions,layoutSizes,activeItems,sizeOf)});const transitionsEnabled=computed(()=>{return!isResizing.value&&!Array.from(disabledTransitions.values()).some(ref=>ref.value)});const mainRect=computed(()=>{return layers.value[layers.value.length-1].layer});const mainStyles=toRef(()=>{return{"--v-layout-left":convertToUnit(mainRect.value.left),"--v-layout-right":convertToUnit(mainRect.value.right),"--v-layout-top":convertToUnit(mainRect.value.top),"--v-layout-bottom":convertToUnit(mainRect.value.bottom),...transitionsEnabled.value?void 0:{transition:`none`}}});const items=computed(()=>{return layers.value.slice(1).map(({id},index)=>{const{layer}=layers.value[index];const size=layoutSizes.get(id);const position=positions.get(id);return{id,...layer,size:sizeOf(size.value,position.value),position:position.value}})});const getLayoutItem=id=>{return items.value.find(item=>item.id===id)};const rootVm=getCurrentInstance(`createLayout`);const isMounted=shallowRef(false);onMounted(()=>{isMounted.value=true});provide(VuetifyLayoutKey,{register:(vm,{id,order,position,layoutSize,elementSize,active,disableTransitions,absolute})=>{priorities.set(id,order);positions.set(id,position);layoutSizes.set(id,layoutSize);activeItems.set(id,active);disableTransitions&&disabledTransitions.set(id,disableTransitions);const instanceIndex=findChildrenWithProvide(VuetifyLayoutItemKey,rootVm?.vnode).indexOf(vm);if(instanceIndex>-1)registered.value.splice(instanceIndex,0,id);else registered.value.push(id);const index=computed(()=>items.value.findIndex(i=>i.id===id));const zIndex=computed(()=>rootZIndex.value+layers.value.length*2-index.value*2);return{layoutItemStyles:computed(()=>{const isHorizontal=position.value===`left`||position.value===`right`;const isOppositeHorizontal=position.value===`right`;const isOppositeVertical=position.value===`bottom`;const direction=isOppositeHorizontal||isOppositeVertical?1:-1;const offscreen=`calc(${100*direction}% + ${direction}px)`;const transformFunction=`translate${isHorizontal?`X`:`Y`}`;const styles={[position.value]:0,zIndex:zIndex.value,transform:`${transformFunction}(${active.value?`0px`:offscreen})`,position:absolute.value||rootZIndex.value!==ROOT_ZINDEX?`absolute`:`fixed`,...transitionsEnabled.value?void 0:{transition:`none`}};if(!isMounted.value)return styles;const measuredSize=isPercentage(elementSize.value)&&layoutRect.value?sizeOf(elementSize.value,position.value):elementSize.value;const item=items.value[index.value];if(!item)consoleWarn(`[Vuetify] Could not find layout item "${id}"`);const overlap=computedOverlaps.value.get(id);if(overlap)item[overlap.position]+=overlap.amount;return{...styles,height:isHorizontal?`calc(100% - ${item.top}px - ${item.bottom}px)`:measuredSize?convertToUnit(measuredSize):void 0,left:isOppositeHorizontal?void 0:`${item.left}px`,right:isOppositeHorizontal?`${item.right}px`:void 0,top:position.value!==`bottom`?`${item.top}px`:void 0,bottom:position.value!==`top`?`${item.bottom}px`:void 0,width:!isHorizontal?`calc(100% - ${item.left}px - ${item.right}px)`:measuredSize?convertToUnit(measuredSize):void 0}}),layoutItemScrimStyles:computed(()=>({zIndex:zIndex.value-1})),zIndex}},unregister:id=>{priorities.delete(id);positions.delete(id);layoutSizes.delete(id);activeItems.delete(id);disabledTransitions.delete(id);registered.value=registered.value.filter(v=>v!==id)},mainRect,mainStyles,getLayoutItem,items,layoutRect,rootZIndex});return{layoutClasses:toRef(()=>[`v-layout`,{"v-layout--full-height":props.fullHeight}]),layoutStyles:toRef(()=>({zIndex:parentLayout?rootZIndex.value:void 0,position:parentLayout?`relative`:void 0,overflow:parentLayout?`hidden`:void 0})),getLayoutItem,items,layoutRect,layoutRef:resizeRef}}export{useLayout as a,makeLayoutProps as i,createLayout as n,useLayoutItem as o,makeLayoutItemProps as r,VuetifyLayoutKey as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{St as propsFactory}from"./VAvatar-CAFvgSUo.js";import{Ht as watch,wn as toRef,xn as shallowRef}from"./runtime-core.esm-bundler-DMrccYS5.js";var makeLazyProps=propsFactory({eager:Boolean},`lazy`);function useLazy(props,active){const isBooted=shallowRef(false);const hasContent=toRef(()=>isBooted.value||props.eager||active.value);watch(active,()=>isBooted.value=true);function onAfterLeave(){if(!props.eager)isBooted.value=false}return{isBooted,hasContent,onAfterLeave}}export{useLazy as n,makeLazyProps as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var mdiAccountCircleOutline=`M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7.07,18.28C7.5,17.38 10.12,16.5 12,16.5C13.88,16.5 16.5,17.38 16.93,18.28C15.57,19.36 13.86,20 12,20C10.14,20 8.43,19.36 7.07,18.28M18.36,16.83C16.93,15.09 13.46,14.5 12,14.5C10.54,14.5 7.07,15.09 5.64,16.83C4.62,15.5 4,13.82 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,13.82 19.38,15.5 18.36,16.83M12,6C10.06,6 8.5,7.56 8.5,9.5C8.5,11.44 10.06,13 12,13C13.94,13 15.5,11.44 15.5,9.5C15.5,7.56 13.94,6 12,6M12,11A1.5,1.5 0 0,1 10.5,9.5A1.5,1.5 0 0,1 12,8A1.5,1.5 0 0,1 13.5,9.5A1.5,1.5 0 0,1 12,11Z`;var mdiAccountCogOutline=`M10 4A4 4 0 0 0 6 8A4 4 0 0 0 10 12A4 4 0 0 0 14 8A4 4 0 0 0 10 4M10 6A2 2 0 0 1 12 8A2 2 0 0 1 10 10A2 2 0 0 1 8 8A2 2 0 0 1 10 6M17 12C16.84 12 16.76 12.08 16.76 12.24L16.5 13.5C16.28 13.68 15.96 13.84 15.72 14L14.44 13.5C14.36 13.5 14.2 13.5 14.12 13.6L13.16 15.36C13.08 15.44 13.08 15.6 13.24 15.68L14.28 16.5V17.5L13.24 18.32C13.16 18.4 13.08 18.56 13.16 18.64L14.12 20.4C14.2 20.5 14.36 20.5 14.44 20.5L15.72 20C15.96 20.16 16.28 20.32 16.5 20.5L16.76 21.76C16.76 21.92 16.84 22 17 22H19C19.08 22 19.24 21.92 19.24 21.76L19.4 20.5C19.72 20.32 20.04 20.16 20.28 20L21.5 20.5C21.64 20.5 21.8 20.5 21.8 20.4L22.84 18.64C22.92 18.56 22.84 18.4 22.76 18.32L21.72 17.5V16.5L22.76 15.68C22.84 15.6 22.92 15.44 22.84 15.36L21.8 13.6C21.8 13.5 21.64 13.5 21.5 13.5L20.28 14C20.04 13.84 19.72 13.68 19.4 13.5L19.24 12.24C19.24 12.08 19.08 12 19 12H17M10 13C7.33 13 2 14.33 2 17V20H11.67C11.39 19.41 11.19 18.77 11.09 18.1H3.9V17C3.9 16.36 7.03 14.9 10 14.9C10.43 14.9 10.87 14.94 11.3 15C11.5 14.36 11.77 13.76 12.12 13.21C11.34 13.08 10.6 13 10 13M18.04 15.5C18.84 15.5 19.5 16.16 19.5 17.04C19.5 17.84 18.84 18.5 18.04 18.5C17.16 18.5 16.5 17.84 16.5 17.04C16.5 16.16 17.16 15.5 18.04 15.5Z`;var mdiAccountGroupOutline=`M12,5A3.5,3.5 0 0,0 8.5,8.5A3.5,3.5 0 0,0 12,12A3.5,3.5 0 0,0 15.5,8.5A3.5,3.5 0 0,0 12,5M12,7A1.5,1.5 0 0,1 13.5,8.5A1.5,1.5 0 0,1 12,10A1.5,1.5 0 0,1 10.5,8.5A1.5,1.5 0 0,1 12,7M5.5,8A2.5,2.5 0 0,0 3,10.5C3,11.44 3.53,12.25 4.29,12.68C4.65,12.88 5.06,13 5.5,13C5.94,13 6.35,12.88 6.71,12.68C7.08,12.47 7.39,12.17 7.62,11.81C6.89,10.86 6.5,9.7 6.5,8.5C6.5,8.41 6.5,8.31 6.5,8.22C6.2,8.08 5.86,8 5.5,8M18.5,8C18.14,8 17.8,8.08 17.5,8.22C17.5,8.31 17.5,8.41 17.5,8.5C17.5,9.7 17.11,10.86 16.38,11.81C16.5,12 16.63,12.15 16.78,12.3C16.94,12.45 17.1,12.58 17.29,12.68C17.65,12.88 18.06,13 18.5,13C18.94,13 19.35,12.88 19.71,12.68C20.47,12.25 21,11.44 21,10.5A2.5,2.5 0 0,0 18.5,8M12,14C9.66,14 5,15.17 5,17.5V19H19V17.5C19,15.17 14.34,14 12,14M4.71,14.55C2.78,14.78 0,15.76 0,17.5V19H3V17.07C3,16.06 3.69,15.22 4.71,14.55M19.29,14.55C20.31,15.22 21,16.06 21,17.07V19H24V17.5C24,15.76 21.22,14.78 19.29,14.55M12,16C13.53,16 15.24,16.5 16.23,17H7.77C8.76,16.5 10.47,16 12,16Z`;var mdiAccountKeyOutline=`M5.8 10C5.4 8.8 4.3 8 3 8C1.3 8 0 9.3 0 11S1.3 14 3 14C4.3 14 5.4 13.2 5.8 12H7V14H9V12H11V10H5.8M3 12C2.4 12 2 11.6 2 11S2.4 10 3 10 4 10.4 4 11 3.6 12 3 12M16 4C13.8 4 12 5.8 12 8S13.8 12 16 12 20 10.2 20 8 18.2 4 16 4M16 10.1C14.8 10.1 13.9 9.2 13.9 8C13.9 6.8 14.8 5.9 16 5.9C17.2 5.9 18.1 6.8 18.1 8S17.2 10.1 16 10.1M16 13C13.3 13 8 14.3 8 17V20H24V17C24 14.3 18.7 13 16 13M22.1 18.1H9.9V17C9.9 16.4 13 14.9 16 14.9C19 14.9 22.1 16.4 22.1 17V18.1Z`;var mdiAccountOffOutline=`M2.75,7L4.03,5.75L13.26,15L20,21.72L18.73,23L15.73,20H4V17C4,15.14 6.61,13.92 9.09,13.36L2.75,7M20,17V19.18L18.1,17.28V17C18.1,16.74 17.6,16.35 16.8,16L14,13.18C16.71,13.63 20,14.91 20,17M5.9,17V18.1H13.83L10.72,15C8.19,15.3 5.9,16.45 5.9,17M12,4A4,4 0 0,1 16,8C16,9.95 14.6,11.58 12.75,11.93L8.07,7.25C8.42,5.4 10.05,4 12,4M12,6A2,2 0 0,0 10,8A2,2 0 0,0 12,10A2,2 0 0,0 14,8A2,2 0 0,0 12,6Z`;var mdiAccountOutline=`M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,6A2,2 0 0,0 10,8A2,2 0 0,0 12,10A2,2 0 0,0 14,8A2,2 0 0,0 12,6M12,13C14.67,13 20,14.33 20,17V20H4V17C4,14.33 9.33,13 12,13M12,14.9C9.03,14.9 5.9,16.36 5.9,17V18.1H18.1V17C18.1,16.36 14.97,14.9 12,14.9Z`;var mdiAccountStarOutline=`M15,4A4,4 0 0,1 19,8A4,4 0 0,1 15,12A4,4 0 0,1 11,8A4,4 0 0,1 15,4M15,5.9A2.1,2.1 0 0,0 12.9,8A2.1,2.1 0 0,0 15,10.1C16.16,10.1 17.1,9.16 17.1,8C17.1,6.84 16.16,5.9 15,5.9M15,13C17.67,13 23,14.33 23,17V20H7V17C7,14.33 12.33,13 15,13M15,14.9C12,14.9 8.9,16.36 8.9,17V18.1H21.1V17C21.1,16.36 17.97,14.9 15,14.9M5,13.28L2.5,14.77L3.18,11.96L1,10.08L3.87,9.83L5,7.19L6.11,9.83L9,10.08L6.8,11.96L7.45,14.77L5,13.28Z`;var mdiAccountSwitchOutline=`M16 9C22 9 22 13 22 13V15H16V13C16 13 16 11.31 14.85 9.8C14.68 9.57 14.47 9.35 14.25 9.14C14.77 9.06 15.34 9 16 9M8 11C11.5 11 11.94 12.56 12 13H4C4.06 12.56 4.5 11 8 11M8 9C2 9 2 13 2 13V15H14V13C14 13 14 9 8 9M9 17V19H15V17L18 20L15 23V21H9V23L6 20L9 17M8 3C8.55 3 9 3.45 9 4S8.55 5 8 5 7 4.55 7 4 7.45 3 8 3M8 1C6.34 1 5 2.34 5 4S6.34 7 8 7 11 5.66 11 4 9.66 1 8 1M16 1C14.34 1 13 2.34 13 4S14.34 7 16 7 19 5.66 19 4 17.66 1 16 1Z`;var mdiAlertCircleOutline=`M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z`;var mdiAlertOutline=`M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16`;var mdiArchiveArrowDownOutline=`M20 21H4V10H6V19H18V10H20V21M3 3H21V9H3V3M5 5V7H19V5M10.5 11V14H8L12 18L16 14H13.5V11`;var mdiArchiveCancelOutline=`M14.5 11C14.78 11 15 11.22 15 11.5V13H9V11.5C9 11.22 9.22 11 9.5 11H14.5M18.5 12C19 12 19.5 12.07 20 12.18V10H18V12.03C18.17 12 18.33 12 18.5 12M6 19V10H4V21H12.5C12.24 20.38 12.09 19.7 12.03 19H6M21 9H3V3H21V9M19 5H5V7H19V5M23 18.5C23 21 21 23 18.5 23S14 21 14 18.5 16 14 18.5 14 23 16 23 18.5M20 21.08L15.92 17C15.65 17.42 15.5 17.94 15.5 18.5C15.5 20.16 16.84 21.5 18.5 21.5C19.06 21.5 19.58 21.35 20 21.08M21.5 18.5C21.5 16.84 20.16 15.5 18.5 15.5C17.94 15.5 17.42 15.65 17 15.92L21.08 20C21.35 19.58 21.5 19.06 21.5 18.5Z`;var mdiArchiveCheckOutline=`M21 3H3V9H21V3M19 7H5V5H19V7M14.5 11C14.78 11 15 11.22 15 11.5V13H9V11.5C9 11.22 9.22 11 9.5 11H14.5M18 13.09V10H20V13.09C19.67 13.04 19.34 13 19 13C18.66 13 18.33 13.04 18 13.09M13 19C13 19.7 13.13 20.37 13.35 21H4V10H6V19H13M22.5 17.25L17.75 22L15 19L16.16 17.84L17.75 19.43L21.34 15.84L22.5 17.25Z`;var mdiArchiveClockOutline=`M20 2H2V8H20V2M18 6H4V4H18V6M16 9C14.69 9 13.46 9.37 12.41 10H8.5C8.22 10 8 10.22 8 10.5V12H10.26C9.47 13.13 9 14.5 9 16C9 16.7 9.11 17.37 9.29 18H5V9H3V20H10.26C11.53 21.81 13.62 23 16 23C19.87 23 23 19.87 23 16C23 12.13 19.87 9 16 9M16 21C13.24 21 11 18.76 11 16S13.24 11 16 11 21 13.24 21 16 18.76 21 16 21M16.5 16.25L19.36 17.94L18.61 19.16L15 17V12H16.5V16.25Z`;var mdiArchiveOutline=`M20 21H4V10H6V19H18V10H20V21M3 3H21V9H3V3M9.5 11H14.5C14.78 11 15 11.22 15 11.5V13H9V11.5C9 11.22 9.22 11 9.5 11M5 5V7H19V5H5Z`;var mdiArrowDown=`M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z`;var mdiArrowLeft=`M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z`;var mdiArrowRight=`M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z`;var mdiArrowRightCircleOutline=`M6,13V11H14L10.5,7.5L11.92,6.08L17.84,12L11.92,17.92L10.5,16.5L14,13H6M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12Z`;var mdiArrowTopRight=`M5,17.59L15.59,7H9V5H19V15H17V8.41L6.41,19L5,17.59Z`;var mdiArrowUp=`M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z`;var mdiAutoFix=`M7.5,5.6L5,7L6.4,4.5L5,2L7.5,3.4L10,2L8.6,4.5L10,7L7.5,5.6M19.5,15.4L22,14L20.6,16.5L22,19L19.5,17.6L17,19L18.4,16.5L17,14L19.5,15.4M22,2L20.6,4.5L22,7L19.5,5.6L17,7L18.4,4.5L17,2L19.5,3.4L22,2M13.34,12.78L15.78,10.34L13.66,8.22L11.22,10.66L13.34,12.78M14.37,7.29L16.71,9.63C17.1,10 17.1,10.65 16.71,11.04L5.04,22.71C4.65,23.1 4,23.1 3.63,22.71L1.29,20.37C0.9,20 0.9,19.35 1.29,18.96L12.96,7.29C13.35,6.9 14,6.9 14.37,7.29Z`;var mdiAutorenew=`M12,6V9L16,5L12,1V4A8,8 0 0,0 4,12C4,13.57 4.46,15.03 5.24,16.26L6.7,14.8C6.25,13.97 6,13 6,12A6,6 0 0,1 12,6M18.76,7.74L17.3,9.2C17.74,10.04 18,11 18,12A6,6 0 0,1 12,18V15L8,19L12,23V20A8,8 0 0,0 20,12C20,10.43 19.54,8.97 18.76,7.74Z`;var mdiBookmarkOutline=`M17,18L12,15.82L7,18V5H17M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z`;var mdiBookmarkPlusOutline=`M17,18V5H7V18L12,15.82L17,18M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,7H13V9H15V11H13V13H11V11H9V9H11V7Z`;var mdiBrain=`M21.33,12.91C21.42,14.46 20.71,15.95 19.44,16.86L20.21,18.35C20.44,18.8 20.47,19.33 20.27,19.8C20.08,20.27 19.69,20.64 19.21,20.8L18.42,21.05C18.25,21.11 18.06,21.14 17.88,21.14C17.37,21.14 16.89,20.91 16.56,20.5L14.44,18C13.55,17.85 12.71,17.47 12,16.9C11.5,17.05 11,17.13 10.5,17.13C9.62,17.13 8.74,16.86 8,16.34C7.47,16.5 6.93,16.57 6.38,16.56C5.59,16.57 4.81,16.41 4.08,16.11C2.65,15.47 1.7,14.07 1.65,12.5C1.57,11.78 1.69,11.05 2,10.39C1.71,9.64 1.68,8.82 1.93,8.06C2.3,7.11 3,6.32 3.87,5.82C4.45,4.13 6.08,3 7.87,3.12C9.47,1.62 11.92,1.46 13.7,2.75C14.12,2.64 14.56,2.58 15,2.58C16.36,2.55 17.65,3.15 18.5,4.22C20.54,4.75 22,6.57 22.08,8.69C22.13,9.8 21.83,10.89 21.22,11.82C21.29,12.18 21.33,12.54 21.33,12.91M16.33,11.5C16.9,11.57 17.35,12 17.35,12.57A1,1 0 0,1 16.35,13.57H15.72C15.4,14.47 14.84,15.26 14.1,15.86C14.35,15.95 14.61,16 14.87,16.07C20,16 19.4,12.87 19.4,12.82C19.34,11.39 18.14,10.27 16.71,10.33A1,1 0 0,1 15.71,9.33A1,1 0 0,1 16.71,8.33C17.94,8.36 19.12,8.82 20.04,9.63C20.09,9.34 20.12,9.04 20.12,8.74C20.06,7.5 19.5,6.42 17.25,6.21C16,3.25 12.85,4.89 12.85,5.81V5.81C12.82,6.04 13.06,6.53 13.1,6.56A1,1 0 0,1 14.1,7.56C14.1,8.11 13.65,8.56 13.1,8.56V8.56C12.57,8.54 12.07,8.34 11.67,8C11.19,8.31 10.64,8.5 10.07,8.56V8.56C9.5,8.61 9.03,8.21 9,7.66C8.92,7.1 9.33,6.61 9.88,6.56C10.04,6.54 10.82,6.42 10.82,5.79V5.79C10.82,5.13 11.07,4.5 11.5,4C10.58,3.75 9.59,4.08 8.59,5.29C6.75,5 6,5.25 5.45,7.2C4.5,7.67 4,8 3.78,9C4.86,8.78 5.97,8.87 7,9.25C7.5,9.44 7.78,10 7.59,10.54C7.4,11.06 6.82,11.32 6.3,11.13C5.57,10.81 4.75,10.79 4,11.07C3.68,11.34 3.68,11.9 3.68,12.34C3.68,13.08 4.05,13.77 4.68,14.17C5.21,14.44 5.8,14.58 6.39,14.57C6.24,14.31 6.11,14.04 6,13.76C5.81,13.22 6.1,12.63 6.64,12.44C7.18,12.25 7.77,12.54 7.96,13.08C8.36,14.22 9.38,15 10.58,15.13C11.95,15.06 13.17,14.25 13.77,13C14,11.62 15.11,11.5 16.33,11.5M18.33,18.97L17.71,17.67L17,17.83L18,19.08L18.33,18.97M13.68,10.36C13.7,9.83 13.3,9.38 12.77,9.33C12.06,9.29 11.37,9.53 10.84,10C10.27,10.58 9.97,11.38 10,12.19A1,1 0 0,0 11,13.19C11.57,13.19 12,12.74 12,12.19C12,11.92 12.07,11.65 12.23,11.43C12.35,11.33 12.5,11.28 12.66,11.28C13.21,11.31 13.68,10.9 13.68,10.36Z`;var mdiCalendarClockOutline=`M6 1V3H5C3.89 3 3 3.89 3 5V19C3 20.1 3.89 21 5 21H11.1C12.36 22.24 14.09 23 16 23C19.87 23 23 19.87 23 16C23 14.09 22.24 12.36 21 11.1V5C21 3.9 20.11 3 19 3H18V1H16V3H8V1M5 5H19V7H5M5 9H19V9.67C18.09 9.24 17.07 9 16 9C12.13 9 9 12.13 9 16C9 17.07 9.24 18.09 9.67 19H5M16 11.15C18.68 11.15 20.85 13.32 20.85 16C20.85 18.68 18.68 20.85 16 20.85C13.32 20.85 11.15 18.68 11.15 16C11.15 13.32 13.32 11.15 16 11.15M15 13V16.69L18.19 18.53L18.94 17.23L16.5 15.82V13Z`;var mdiCameraOutline=`M20,4H16.83L15,2H9L7.17,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M20,18H4V6H8.05L9.88,4H14.12L15.95,6H20V18M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15Z`;var mdiCheck=`M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z`;var mdiCheckCircle=`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z`;var mdiCheckCircleOutline=`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12S7.59 4 12 4 20 7.59 20 12 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z`;var mdiChevronDown=`M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z`;var mdiChevronLeft=`M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z`;var mdiChevronRight=`M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z`;var mdiChevronUp=`M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z`;var mdiCircle=`M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z`;var mdiCircleOutline=`M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z`;var mdiCircleSlice4=`M12 2C17.5 2 22 6.5 22 12C22 17.5 17.5 22 12 22C6.5 22 2 17.5 2 12C2 6.5 6.5 2 12 2M12 4C7.58 4 4 7.58 4 12C4 16.42 7.58 20 12 20C16.42 20 20 16.42 20 12C20 7.58 16.42 4 12 4M12 5C15.87 5 19 8.13 19 12C19 15.87 15.87 19 12 19V5Z`;var mdiCityVariantOutline=`M15,23H13V21H15V23M19,21H17V23H19V21M15,17H13V19H15V17M7,21H5V23H7V21M7,17H5V19H7V17M19,17H17V19H19V17M15,13H13V15H15V13M19,13H17V15H19V13M21,9A2,2 0 0,1 23,11V23H21V11H11V23H9V15H3V23H1V15A2,2 0 0,1 3,13H9V11A2,2 0 0,1 11,9V7A2,2 0 0,1 13,5H15V1H17V5H19A2,2 0 0,1 21,7V9M19,9V7H13V9H19Z`;var mdiClipboardListOutline=`M19 3H14.82C14.4 1.84 13.3 1 12 1S9.6 1.84 9.18 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M12 3C12.55 3 13 3.45 13 4S12.55 5 12 5 11 4.55 11 4 11.45 3 12 3M7 7H17V5H19V19H5V5H7V7M12 17V15H17V17H12M12 11V9H17V11H12M8 12V9H7V8H9V12H8M9.25 14C9.66 14 10 14.34 10 14.75C10 14.95 9.92 15.14 9.79 15.27L8.12 17H10V18H7V17.08L9 15H7V14H9.25`;var mdiClockOutline=`M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z`;var mdiClose=`M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z`;var mdiCloseCircleOutline=`M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z`;var mdiCloudDownloadOutline=`M6.5 20Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.68 7.35 7.38 5.73 9.07 4.1 11 4.1 11.83 4.1 12.41 4.69 13 5.28 13 6.1V12.15L14.6 10.6L16 12L12 16L8 12L9.4 10.6L11 12.15V6.1Q9.1 6.45 8.05 7.94 7 9.43 7 11H6.5Q5.05 11 4.03 12.03 3 13.05 3 14.5 3 15.95 4.03 17 5.05 18 6.5 18H18.5Q19.55 18 20.27 17.27 21 16.55 21 15.5 21 14.45 20.27 13.73 19.55 13 18.5 13H17V11Q17 9.8 16.45 8.76 15.9 7.73 15 7V4.68Q16.85 5.55 17.93 7.26 19 9 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20M12 11.05Z`;var mdiCloudRefreshOutline=`M12 18.5C12 19 12.07 19.5 12.18 20H6.5C5 20 3.69 19.5 2.61 18.43C1.54 17.38 1 16.09 1 14.58C1 13.28 1.39 12.12 2.17 11.1S4 9.43 5.25 9.15C5.67 7.62 6.5 6.38 7.75 5.43S10.42 4 12 4C13.95 4 15.6 4.68 16.96 6.04C18.32 7.4 19 9.05 19 11C20.15 11.13 21.1 11.63 21.86 12.5C22.1 12.76 22.29 13.05 22.46 13.36C21.36 12.5 20 12 18.5 12C18 12 17.5 12.07 17 12.18V11C17 9.62 16.5 8.44 15.54 7.46C14.56 6.5 13.38 6 12 6S9.44 6.5 8.46 7.46C7.5 8.44 7 9.62 7 11H6.5C5.53 11 4.71 11.34 4.03 12.03C3.34 12.71 3 13.53 3 14.5S3.34 16.29 4.03 17C4.71 17.66 5.53 18 6.5 18H12.03C12 18.17 12 18.33 12 18.5M18 14.5C15.79 14.5 14 16.29 14 18.5S15.79 22.5 18 22.5C19.68 22.5 21.12 21.47 21.71 20H20C19.54 20.61 18.82 21 18 21C16.62 21 15.5 19.88 15.5 18.5S16.62 16 18 16C18.69 16 19.32 16.28 19.77 16.73L18 18.5H22V14.5L20.83 15.67C20.11 14.95 19.11 14.5 18 14.5Z`;var mdiCodeBraces=`M8,3A2,2 0 0,0 6,5V9A2,2 0 0,1 4,11H3V13H4A2,2 0 0,1 6,15V19A2,2 0 0,0 8,21H10V19H8V14A2,2 0 0,0 6,12A2,2 0 0,0 8,10V5H10V3M16,3A2,2 0 0,1 18,5V9A2,2 0 0,0 20,11H21V13H20A2,2 0 0,0 18,15V19A2,2 0 0,1 16,21H14V19H16V14A2,2 0 0,1 18,12A2,2 0 0,1 16,10V5H14V3H16Z`;var mdiCodeTags=`M14.6,16.6L19.2,12L14.6,7.4L16,6L22,12L16,18L14.6,16.6M9.4,16.6L4.8,12L9.4,7.4L8,6L2,12L8,18L9.4,16.6Z`;var mdiCog=`M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z`;var mdiCogOutline=`M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z`;var mdiCollapseAllOutline=`M4,2A2,2 0 0,0 2,4V14H4V4H14V2H4M8,6A2,2 0 0,0 6,8V18H8V8H18V6H8M20,12V20H12V12H20M20,10H12A2,2 0 0,0 10,12V20A2,2 0 0,0 12,22H20A2,2 0 0,0 22,20V12A2,2 0 0,0 20,10M19,17H13V15H19V17Z`;var mdiCommentOutline=`M9,22A1,1 0 0,1 8,21V18H4A2,2 0 0,1 2,16V4C2,2.89 2.9,2 4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H13.9L10.2,21.71C10,21.9 9.75,22 9.5,22V22H9M10,16V19.08L13.08,16H20V4H4V16H10Z`;var mdiConnection=`M21.4 7.5C22.2 8.3 22.2 9.6 21.4 10.3L18.6 13.1L10.8 5.3L13.6 2.5C14.4 1.7 15.7 1.7 16.4 2.5L18.2 4.3L21.2 1.3L22.6 2.7L19.6 5.7L21.4 7.5M15.6 13.3L14.2 11.9L11.4 14.7L9.3 12.6L12.1 9.8L10.7 8.4L7.9 11.2L6.4 9.8L3.6 12.6C2.8 13.4 2.8 14.7 3.6 15.4L5.4 17.2L1.4 21.2L2.8 22.6L6.8 18.6L8.6 20.4C9.4 21.2 10.7 21.2 11.4 20.4L14.2 17.6L12.8 16.2L15.6 13.3Z`;var mdiConsoleLine=`M13,19V16H21V19H13M8.5,13L2.47,7H6.71L11.67,11.95C12.25,12.54 12.25,13.5 11.67,14.07L6.74,19H2.5L8.5,13Z`;var mdiConsoleNetworkOutline=`M15,20A1,1 0 0,0 14,19H13V17H17A2,2 0 0,0 19,15V5A2,2 0 0,0 17,3H7A2,2 0 0,0 5,5V15A2,2 0 0,0 7,17H11V19H10A1,1 0 0,0 9,20H2V22H9A1,1 0 0,0 10,23H14A1,1 0 0,0 15,22H22V20H15M7,15V5H17V15H7M8,6.89L11.56,10.45L8,14H10.53L13.45,11.08C13.78,10.74 13.78,10.18 13.45,9.82L10.5,6.89H8M16,12.22H13.33V14H16V12.22Z`;var mdiContentCopy=`M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z`;var mdiContentSaveAlertOutline=`M15 3H3C1.9 3 1 3.9 1 5V19C1 20.1 1.9 21 3 21H17C18.1 21 19 20.1 19 19V7L15 3M17 19H3V5H14.2L17 7.8V19M10 12C8.3 12 7 13.3 7 15S8.3 18 10 18 13 16.7 13 15 11.7 12 10 12M4 6H13V10H4V6M23 13H21V7H23V13M23 17H21V15H23V17Z`;var mdiContentSaveOutline=`M17 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V7L17 3M19 19H5V5H16.17L19 7.83V19M12 12C10.34 12 9 13.34 9 15S10.34 18 12 18 15 16.66 15 15 13.66 12 12 12M6 6H15V10H6V6Z`;var mdiCreation=`M19,1L17.74,3.75L15,5L17.74,6.26L19,9L20.25,6.26L23,5L20.25,3.75M9,4L6.5,9.5L1,12L6.5,14.5L9,20L11.5,14.5L17,12L11.5,9.5M19,15L17.74,17.74L15,19L17.74,20.25L19,23L20.25,20.25L23,19L20.25,17.74`;var mdiCreationOutline=`M9 4L11.5 9.5L17 12L11.5 14.5L9 20L6.5 14.5L1 12L6.5 9.5L9 4M9 8.83L8 11L5.83 12L8 13L9 15.17L10 13L12.17 12L10 11L9 8.83M19 9L17.74 6.26L15 5L17.74 3.75L19 1L20.25 3.75L23 5L20.25 6.26L19 9M19 23L17.74 20.26L15 19L17.74 17.75L19 15L20.25 17.75L23 19L20.25 20.26L19 23Z`;var mdiCreditCardOutline=`M20,8H4V6H20M20,18H4V12H20M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z`;var mdiCrosshairsGps=`M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M3.05,13H1V11H3.05C3.5,6.83 6.83,3.5 11,3.05V1H13V3.05C17.17,3.5 20.5,6.83 20.95,11H23V13H20.95C20.5,17.17 17.17,20.5 13,20.95V23H11V20.95C6.83,20.5 3.5,17.17 3.05,13M12,5A7,7 0 0,0 5,12A7,7 0 0,0 12,19A7,7 0 0,0 19,12A7,7 0 0,0 12,5Z`;var mdiDatabaseAlertOutline=`M10 3C5.58 3 2 4.79 2 7V17C2 19.21 5.59 21 10 21S18 19.21 18 17V7C18 4.79 14.42 3 10 3M16 17C16 17.5 13.87 19 10 19S4 17.5 4 17V14.77C5.61 15.55 7.72 16 10 16S14.39 15.55 16 14.77V17M16 12.45C14.7 13.4 12.42 14 10 14S5.3 13.4 4 12.45V9.64C5.47 10.47 7.61 11 10 11S14.53 10.47 16 9.64V12.45M10 9C6.13 9 4 7.5 4 7S6.13 5 10 5 16 6.5 16 7 13.87 9 10 9M22 7V13H20V7H22M20 15H22V17H20V15Z`;var mdiDatabaseOutline=`M12 3C7.58 3 4 4.79 4 7V17C4 19.21 7.59 21 12 21S20 19.21 20 17V7C20 4.79 16.42 3 12 3M18 17C18 17.5 15.87 19 12 19S6 17.5 6 17V14.77C7.61 15.55 9.72 16 12 16S16.39 15.55 18 14.77V17M18 12.45C16.7 13.4 14.42 14 12 14C9.58 14 7.3 13.4 6 12.45V9.64C7.47 10.47 9.61 11 12 11C14.39 11 16.53 10.47 18 9.64V12.45M12 9C8.13 9 6 7.5 6 7S8.13 5 12 5C15.87 5 18 6.5 18 7S15.87 9 12 9Z`;var mdiDeleteOutline=`M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19M8,9H16V19H8V9M15.5,4L14.5,3H9.5L8.5,4H5V6H19V4H15.5Z`;var mdiDotsHorizontal=`M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z`;var mdiDotsHorizontalCircleOutline=`M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M12,10.5A1.5,1.5 0 0,1 13.5,12A1.5,1.5 0 0,1 12,13.5A1.5,1.5 0 0,1 10.5,12A1.5,1.5 0 0,1 12,10.5M7.5,10.5A1.5,1.5 0 0,1 9,12A1.5,1.5 0 0,1 7.5,13.5A1.5,1.5 0 0,1 6,12A1.5,1.5 0 0,1 7.5,10.5M16.5,10.5A1.5,1.5 0 0,1 18,12A1.5,1.5 0 0,1 16.5,13.5A1.5,1.5 0 0,1 15,12A1.5,1.5 0 0,1 16.5,10.5Z`;var mdiDotsVertical=`M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z`;var mdiDownload=`M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z`;var mdiDownloadOutline=`M13,5V11H14.17L12,13.17L9.83,11H11V5H13M15,3H9V9H5L12,16L19,9H15V3M19,18H5V20H19V18Z`;var mdiEyeOffOutline=`M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z`;var mdiEyeOutline=`M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z`;var mdiEyePlusOutline=`M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C12.36,19.5 12.72,19.5 13.08,19.45C13.03,19.13 13,18.82 13,18.5C13,18.14 13.04,17.78 13.1,17.42C12.74,17.46 12.37,17.5 12,17.5C8.24,17.5 4.83,15.36 3.18,12C4.83,8.64 8.24,6.5 12,6.5C15.76,6.5 19.17,8.64 20.82,12C20.7,12.24 20.56,12.45 20.43,12.68C21.09,12.84 21.72,13.11 22.29,13.5C22.56,13 22.8,12.5 23,12C21.27,7.61 17,4.5 12,4.5M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M18,14.5V17.5H15V19.5H18V22.5H20V19.5H23V17.5H20V14.5H18Z`;var mdiFileCodeOutline=`M14 2H6C4.89 2 4 2.9 4 4V20C4 21.11 4.89 22 6 22H18C19.11 22 20 21.11 20 20V8L14 2M18 20H6V4H13V9H18V20M9.54 15.65L11.63 17.74L10.35 19L7 15.65L10.35 12.3L11.63 13.56L9.54 15.65M17 15.65L13.65 19L12.38 17.74L14.47 15.65L12.38 13.56L13.65 12.3L17 15.65Z`;var mdiFileCogOutline=`M6 2C4.89 2 4 2.9 4 4V20C4 21.11 4.89 22 6 22H12V20H6V4H13V9H18V12H20V8L14 2M18 14C17.87 14 17.76 14.09 17.74 14.21L17.55 15.53C17.25 15.66 16.96 15.82 16.7 16L15.46 15.5C15.35 15.5 15.22 15.5 15.15 15.63L14.15 17.36C14.09 17.47 14.11 17.6 14.21 17.68L15.27 18.5C15.25 18.67 15.24 18.83 15.24 19C15.24 19.17 15.25 19.33 15.27 19.5L14.21 20.32C14.12 20.4 14.09 20.53 14.15 20.64L15.15 22.37C15.21 22.5 15.34 22.5 15.46 22.5L16.7 22C16.96 22.18 17.24 22.35 17.55 22.47L17.74 23.79C17.76 23.91 17.86 24 18 24H20C20.11 24 20.22 23.91 20.24 23.79L20.43 22.47C20.73 22.34 21 22.18 21.27 22L22.5 22.5C22.63 22.5 22.76 22.5 22.83 22.37L23.83 20.64C23.89 20.53 23.86 20.4 23.77 20.32L22.7 19.5C22.72 19.33 22.74 19.17 22.74 19C22.74 18.83 22.73 18.67 22.7 18.5L23.76 17.68C23.85 17.6 23.88 17.47 23.82 17.36L22.82 15.63C22.76 15.5 22.63 15.5 22.5 15.5L21.27 16C21 15.82 20.73 15.65 20.42 15.53L20.23 14.21C20.22 14.09 20.11 14 20 14M19 17.5C19.83 17.5 20.5 18.17 20.5 19C20.5 19.83 19.83 20.5 19 20.5C18.16 20.5 17.5 19.83 17.5 19C17.5 18.17 18.17 17.5 19 17.5Z`;var mdiFileCompare=`M10,18H6V16H10V18M10,14H6V12H10V14M10,1V2H6C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H10V23H12V1H10M20,8V20C20,21.11 19.11,22 18,22H14V20H18V11H14V9H18.5L14,4.5V2L20,8M16,14H14V12H16V14M16,18H14V16H16V18Z`;var mdiFileDocumentEditOutline=`M8,12H16V14H8V12M10,20H6V4H13V9H18V12.1L20,10.1V8L14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H10V20M8,18H12.1L13,17.1V16H8V18M20.2,13C20.3,13 20.5,13.1 20.6,13.2L21.9,14.5C22.1,14.7 22.1,15.1 21.9,15.3L20.9,16.3L18.8,14.2L19.8,13.2C19.9,13.1 20,13 20.2,13M20.2,16.9L14.1,23H12V20.9L18.1,14.8L20.2,16.9Z`;var mdiFileDocumentOutline=`M6,2A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6M6,4H13V9H18V20H6V4M8,12V14H16V12H8M8,16V18H13V16H8Z`;var mdiFileOutline=`M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z`;var mdiFilePlusOutline=`M13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H14L20 8V13.09C19.67 13.04 19.34 13 19 13S18.33 13.04 18 13.09V9H13V4H6V20H13.09C13.21 20.72 13.46 21.39 13.81 22M23 18H20V15H18V18H15V20H18V23H20V20H23V18Z`;var mdiFileSearchOutline=`M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H13C12.59,21.75 12.2,21.44 11.86,21.1C11.53,20.77 11.25,20.4 11,20H6V4H13V9H18V10.18C18.71,10.34 19.39,10.61 20,11V8L14,2M20.31,18.9C21.64,16.79 21,14 18.91,12.68C16.8,11.35 14,12 12.69,14.08C11.35,16.19 12,18.97 14.09,20.3C15.55,21.23 17.41,21.23 18.88,20.32L22,23.39L23.39,22L20.31,18.9M16.5,19A2.5,2.5 0 0,1 14,16.5A2.5,2.5 0 0,1 16.5,14A2.5,2.5 0 0,1 19,16.5A2.5,2.5 0 0,1 16.5,19Z`;var mdiFilterPlusOutline=`M15 17H18V14H20V17H23V19H20V22H18V19H15V17M13 19.88C13.04 20.18 12.94 20.5 12.72 20.71C12.32 21.1 11.69 21.1 11.3 20.71L7.29 16.7C7.06 16.47 6.96 16.16 7 15.87V10.75L2.21 4.62C1.87 4.19 1.95 3.56 2.38 3.22C2.57 3.08 2.78 3 3 3V3H17V3C17.22 3 17.43 3.08 17.62 3.22C18.05 3.56 18.13 4.19 17.79 4.62L13 10.75V19.88M5.04 5L9 10.07V15.58L11 17.58V10.05L14.96 5H5.04Z`;var mdiFlashOutline=`M7,2H17L13.5,9H17L10,22V14H7V2M9,4V12H12V14.66L14,11H10.24L13.76,4H9Z`;var mdiFolderHomeOutline=`M20 6H12L10 4H4A2 2 0 0 0 2 6V18A2 2 0 0 0 4 20H20A2 2 0 0 0 22 18V8A2 2 0 0 0 20 6M20 18H4V8H20M13 17V14H15V17H17V13H19L14 9L9 13H11V17Z`;var mdiFolderOutline=`M20,18H4V8H20M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z`;var mdiFolderPlusOutline=`M13 19C13 19.34 13.04 19.67 13.09 20H4C2.9 20 2 19.11 2 18V6C2 4.89 2.89 4 4 4H10L12 6H20C21.1 6 22 6.89 22 8V13.81C21.39 13.46 20.72 13.22 20 13.09V8H4V18H13.09C13.04 18.33 13 18.66 13 19M20 18V15H18V18H15V20H18V23H20V20H23V18H20Z`;var mdiFullscreen=`M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z`;var mdiFullscreenExit=`M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z`;var mdiGestureSwipeHorizontal=`M6,1L3,4L6,7V5H9V7L12,4L9,1V3H6V1M11,8A1,1 0 0,0 10,9V19L6.8,17.28H6.58C6.3,17.28 6.03,17.39 5.84,17.6L5.1,18.37L10,22.57C10.26,22.85 10.62,23 11,23H17.5A1.5,1.5 0 0,0 19,21.5V17.14C19,16.56 18.68,16.03 18.15,15.79L13.21,13.6L12,13.47V9A1,1 0 0,0 11,8Z`;var mdiGiftOutline=`M22,12V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V12A1,1 0 0,1 1,11V8A2,2 0 0,1 3,6H6.17C6.06,5.69 6,5.35 6,5A3,3 0 0,1 9,2C10,2 10.88,2.5 11.43,3.24V3.23L12,4L12.57,3.23V3.24C13.12,2.5 14,2 15,2A3,3 0 0,1 18,5C18,5.35 17.94,5.69 17.83,6H21A2,2 0 0,1 23,8V11A1,1 0 0,1 22,12M4,20H11V12H4V20M20,20V12H13V20H20M9,4A1,1 0 0,0 8,5A1,1 0 0,0 9,6A1,1 0 0,0 10,5A1,1 0 0,0 9,4M15,4A1,1 0 0,0 14,5A1,1 0 0,0 15,6A1,1 0 0,0 16,5A1,1 0 0,0 15,4M3,8V10H11V8H3M13,8V10H21V8H13Z`;var mdiGithub=`M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z`;var mdiGraphOutline=`M19.5 17C19.36 17 19.24 17 19.11 17.04L17.5 13.8C17.95 13.35 18.25 12.71 18.25 12C18.25 10.62 17.13 9.5 15.75 9.5C15.61 9.5 15.5 9.5 15.35 9.54L13.74 6.3C14.21 5.84 14.5 5.21 14.5 4.5C14.5 3.12 13.38 2 12 2S9.5 3.12 9.5 4.5C9.5 5.2 9.79 5.84 10.26 6.29L8.65 9.54C8.5 9.5 8.39 9.5 8.25 9.5C6.87 9.5 5.75 10.62 5.75 12C5.75 12.71 6.04 13.34 6.5 13.79L4.89 17.04C4.76 17 4.64 17 4.5 17C3.12 17 2 18.12 2 19.5C2 20.88 3.12 22 4.5 22S7 20.88 7 19.5C7 18.8 6.71 18.16 6.24 17.71L7.86 14.46C8 14.5 8.12 14.5 8.25 14.5C8.38 14.5 8.5 14.5 8.63 14.46L10.26 17.71C9.79 18.16 9.5 18.8 9.5 19.5C9.5 20.88 10.62 22 12 22S14.5 20.88 14.5 19.5C14.5 18.12 13.38 17 12 17C11.87 17 11.74 17 11.61 17.04L10 13.8C10.45 13.35 10.75 12.71 10.75 12C10.75 11.3 10.46 10.67 10 10.21L11.61 6.96C11.74 7 11.87 7 12 7C12.13 7 12.26 7 12.39 6.96L14 10.21C13.54 10.66 13.25 11.3 13.25 12C13.25 13.38 14.37 14.5 15.75 14.5C15.88 14.5 16 14.5 16.13 14.46L17.76 17.71C17.29 18.16 17 18.8 17 19.5C17 20.88 18.12 22 19.5 22S22 20.88 22 19.5C22 18.12 20.88 17 19.5 17M4.5 20.5C3.95 20.5 3.5 20.05 3.5 19.5S3.95 18.5 4.5 18.5 5.5 18.95 5.5 19.5 5.05 20.5 4.5 20.5M13 19.5C13 20.05 12.55 20.5 12 20.5S11 20.05 11 19.5 11.45 18.5 12 18.5 13 18.95 13 19.5M7.25 12C7.25 11.45 7.7 11 8.25 11S9.25 11.45 9.25 12 8.8 13 8.25 13 7.25 12.55 7.25 12M11 4.5C11 3.95 11.45 3.5 12 3.5S13 3.95 13 4.5 12.55 5.5 12 5.5 11 5.05 11 4.5M14.75 12C14.75 11.45 15.2 11 15.75 11S16.75 11.45 16.75 12 16.3 13 15.75 13 14.75 12.55 14.75 12M19.5 20.5C18.95 20.5 18.5 20.05 18.5 19.5S18.95 18.5 19.5 18.5 20.5 18.95 20.5 19.5 20.05 20.5 19.5 20.5Z`;var mdiHeadset=`M12,1C7,1 3,5 3,10V17A3,3 0 0,0 6,20H9V12H5V10A7,7 0 0,1 12,3A7,7 0 0,1 19,10V12H15V20H19V21H12V23H18A3,3 0 0,0 21,20V10C21,5 16.97,1 12,1Z`;var mdiHeartPulse=`M7.5,4A5.5,5.5 0 0,0 2,9.5C2,10 2.09,10.5 2.22,11H6.3L7.57,7.63C7.87,6.83 9.05,6.75 9.43,7.63L11.5,13L12.09,11.58C12.22,11.25 12.57,11 13,11H21.78C21.91,10.5 22,10 22,9.5A5.5,5.5 0 0,0 16.5,4C14.64,4 13,4.93 12,6.34C11,4.93 9.36,4 7.5,4V4M3,12.5A1,1 0 0,0 2,13.5A1,1 0 0,0 3,14.5H5.44L11,20C12,20.9 12,20.9 13,20L18.56,14.5H21A1,1 0 0,0 22,13.5A1,1 0 0,0 21,12.5H13.4L12.47,14.8C12.07,15.81 10.92,15.67 10.55,14.83L8.5,9.5L7.54,11.83C7.39,12.21 7.05,12.5 6.6,12.5H3Z`;var mdiHelpCircleOutline=`M11,18H13V16H11V18M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,6A4,4 0 0,0 8,10H10A2,2 0 0,1 12,8A2,2 0 0,1 14,10C14,12 11,11.75 11,15H13C13,12.75 16,12.5 16,10A4,4 0 0,0 12,6Z`;var mdiHistory=`M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3`;var mdiHomeVariantOutline=`M9,13H15V19H18V10L12,5.5L6,10V19H9V13M4,21V9L12,3L20,9V21H4Z`;var mdiIdentifier=`M10 7V9H9V15H10V17H6V15H7V9H6V7H10M16 7C17.11 7 18 7.9 18 9V15C18 16.11 17.11 17 16 17H12V7M16 9H14V15H16V9Z`;var mdiImageFilterCenterFocus=`M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M19,19H15V21H19A2,2 0 0,0 21,19V15H19M19,3H15V5H19V9H21V5A2,2 0 0,0 19,3M5,5H9V3H5A2,2 0 0,0 3,5V9H5M5,15H3V19A2,2 0 0,0 5,21H9V19H5V15Z`;var mdiImageOutline=`M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M13.96,12.29L11.21,15.83L9.25,13.47L6.5,17H17.5L13.96,12.29Z`;var mdiIncognito=`M17.06 13C15.2 13 13.64 14.33 13.24 16.1C12.29 15.69 11.42 15.8 10.76 16.09C10.35 14.31 8.79 13 6.94 13C4.77 13 3 14.79 3 17C3 19.21 4.77 21 6.94 21C9 21 10.68 19.38 10.84 17.32C11.18 17.08 12.07 16.63 13.16 17.34C13.34 19.39 15 21 17.06 21C19.23 21 21 19.21 21 17C21 14.79 19.23 13 17.06 13M6.94 19.86C5.38 19.86 4.13 18.58 4.13 17S5.39 14.14 6.94 14.14C8.5 14.14 9.75 15.42 9.75 17S8.5 19.86 6.94 19.86M17.06 19.86C15.5 19.86 14.25 18.58 14.25 17S15.5 14.14 17.06 14.14C18.62 14.14 19.88 15.42 19.88 17S18.61 19.86 17.06 19.86M22 10.5H2V12H22V10.5M15.53 2.63C15.31 2.14 14.75 1.88 14.22 2.05L12 2.79L9.77 2.05L9.72 2.04C9.19 1.89 8.63 2.17 8.43 2.68L6 9H18L15.56 2.68L15.53 2.63Z`;var mdiInformationOutline=`M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z`;var mdiKeyOutline=`M21 18H15V15H13.3C12.2 17.4 9.7 19 7 19C3.1 19 0 15.9 0 12S3.1 5 7 5C9.7 5 12.2 6.6 13.3 9H24V15H21V18M17 16H19V13H22V11H11.9L11.7 10.3C11 8.3 9.1 7 7 7C4.2 7 2 9.2 2 12S4.2 17 7 17C9.1 17 11 15.7 11.7 13.7L11.9 13H17V16M7 15C5.3 15 4 13.7 4 12S5.3 9 7 9 10 10.3 10 12 8.7 15 7 15M7 11C6.4 11 6 11.4 6 12S6.4 13 7 13 8 12.6 8 12 7.6 11 7 11Z`;var mdiKeyVariant=`M22,18V22H18V19H15V16H12L9.74,13.74C9.19,13.91 8.61,14 8,14A6,6 0 0,1 2,8A6,6 0 0,1 8,2A6,6 0 0,1 14,8C14,8.61 13.91,9.19 13.74,9.74L22,18M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5Z`;var mdiKeyboardOutline=`M4,5A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5H4M4,7H20V17H4V7M5,8V10H7V8H5M8,8V10H10V8H8M11,8V10H13V8H11M14,8V10H16V8H14M17,8V10H19V8H17M5,11V13H7V11H5M8,11V13H10V11H8M11,11V13H13V11H11M14,11V13H16V11H14M17,11V13H19V11H17M8,14V16H16V14H8Z`;var mdiLabelOutline=`M16,17H5V7H16L19.55,12M17.63,5.84C17.27,5.33 16.67,5 16,5H5A2,2 0 0,0 3,7V17A2,2 0 0,0 5,19H16C16.67,19 17.27,18.66 17.63,18.15L22,12L17.63,5.84Z`;var mdiLayersTripleOutline=`M12 16.54L19.37 10.8L21 12.07L12 19.07L3 12.07L4.62 10.81L12 16.54M12 14L3 7L12 0L21 7L12 14M12 2.53L6.26 7L12 11.47L17.74 7L12 2.53M12 21.47L19.37 15.73L21 17L12 24L3 17L4.62 15.74L12 21.47`;var mdiLightbulbOnOutline=`M20,11H23V13H20V11M1,11H4V13H1V11M13,1V4H11V1H13M4.92,3.5L7.05,5.64L5.63,7.05L3.5,4.93L4.92,3.5M16.95,5.63L19.07,3.5L20.5,4.93L18.37,7.05L16.95,5.63M12,6A6,6 0 0,1 18,12C18,14.22 16.79,16.16 15,17.2V19A1,1 0 0,1 14,20H10A1,1 0 0,1 9,19V17.2C7.21,16.16 6,14.22 6,12A6,6 0 0,1 12,6M14,21V22A1,1 0 0,1 13,23H11A1,1 0 0,1 10,22V21H14M11,18H13V15.87C14.73,15.43 16,13.86 16,12A4,4 0 0,0 12,8A4,4 0 0,0 8,12C8,13.86 9.27,15.43 11,15.87V18Z`;var mdiLinkVariant=`M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z`;var mdiLinkVariantOff=`M2,5.27L3.28,4L20,20.72L18.73,22L13.9,17.17L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L12.5,15.76L10.88,14.15C10.87,14.39 10.77,14.64 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C8.12,13.77 7.63,12.37 7.72,11L2,5.27M12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.79,8.97L9.38,7.55L12.71,4.22M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.2,10.54 16.61,12.5 16.06,14.23L14.28,12.46C14.23,11.78 13.94,11.11 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z`;var mdiLockOutline=`M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z`;var mdiLogin=`M11 7L9.6 8.4L12.2 11H2V13H12.2L9.6 15.6L11 17L16 12L11 7M20 19H12V21H20C21.1 21 22 20.1 22 19V5C22 3.9 21.1 3 20 3H12V5H20V19Z`;var mdiLogout=`M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z`;var mdiMagnify=`M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z`;var mdiMapMarkerPath=`M18,15A3,3 0 0,1 21,18A3,3 0 0,1 18,21C16.69,21 15.58,20.17 15.17,19H14V17H15.17C15.58,15.83 16.69,15 18,15M18,17A1,1 0 0,0 17,18A1,1 0 0,0 18,19A1,1 0 0,0 19,18A1,1 0 0,0 18,17M18,8A1.43,1.43 0 0,0 19.43,6.57C19.43,5.78 18.79,5.14 18,5.14C17.21,5.14 16.57,5.78 16.57,6.57A1.43,1.43 0 0,0 18,8M18,2.57A4,4 0 0,1 22,6.57C22,9.56 18,14 18,14C18,14 14,9.56 14,6.57A4,4 0 0,1 18,2.57M8.83,17H10V19H8.83C8.42,20.17 7.31,21 6,21A3,3 0 0,1 3,18C3,16.69 3.83,15.58 5,15.17V14H7V15.17C7.85,15.47 8.53,16.15 8.83,17M6,17A1,1 0 0,0 5,18A1,1 0 0,0 6,19A1,1 0 0,0 7,18A1,1 0 0,0 6,17M6,3A3,3 0 0,1 9,6C9,7.31 8.17,8.42 7,8.83V10H5V8.83C3.83,8.42 3,7.31 3,6A3,3 0 0,1 6,3M6,5A1,1 0 0,0 5,6A1,1 0 0,0 6,7A1,1 0 0,0 7,6A1,1 0 0,0 6,5M11,19V17H13V19H11M7,13H5V11H7V13Z`;var mdiMapOutline=`M20.5,3L20.34,3.03L15,5.1L9,3L3.36,4.9C3.15,4.97 3,5.15 3,5.38V20.5A0.5,0.5 0 0,0 3.5,21L3.66,20.97L9,18.9L15,21L20.64,19.1C20.85,19.03 21,18.85 21,18.62V3.5A0.5,0.5 0 0,0 20.5,3M10,5.47L14,6.87V18.53L10,17.13V5.47M5,6.46L8,5.45V17.15L5,18.31V6.46M19,17.54L16,18.55V6.86L19,5.7V17.54Z`;var mdiMessageTextOutline=`M20,2A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H6L2,22V4C2,2.89 2.9,2 4,2H20M4,4V17.17L5.17,16H20V4H4M6,7H18V9H6V7M6,11H15V13H6V11Z`;var mdiMicrophone=`M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z`;var mdiMicrophoneOff=`M19,11C19,12.19 18.66,13.3 18.1,14.28L16.87,13.05C17.14,12.43 17.3,11.74 17.3,11H19M15,11.16L9,5.18V5A3,3 0 0,1 12,2A3,3 0 0,1 15,5V11L15,11.16M4.27,3L21,19.73L19.73,21L15.54,16.81C14.77,17.27 13.91,17.58 13,17.72V21H11V17.72C7.72,17.23 5,14.41 5,11H6.7C6.7,14 9.24,16.1 12,16.1C12.81,16.1 13.6,15.91 14.31,15.58L12.65,13.92L12,14A3,3 0 0,1 9,11V10.28L3,4.27L4.27,3Z`;var mdiMinus=`M19,13H5V11H19V13Z`;var mdiMouse=`M11,1.07C7.05,1.56 4,4.92 4,9H11M4,15A8,8 0 0,0 12,23A8,8 0 0,0 20,15V11H4M13,1.07V9H20C20,4.92 16.94,1.56 13,1.07Z`;var mdiMouseRightClickOutline=`M13 9V1.07C16.94 1.56 20 4.92 20 9H13M11 9V1.07C10.3 1.16 9.63 1.33 9 1.59C6.67 2.53 4.89 4.53 4.25 7C4.09 7.64 4 8.31 4 9H11M6.34 7C6.82 5.65 7.78 4.5 9 3.81V7H6.34M6 15V13H18V15C18 16.59 17.37 18.12 16.24 19.24C15.12 20.37 13.59 21 12 21C10.41 21 8.88 20.37 7.76 19.24C6.63 18.12 6 16.59 6 15M4 15C4 17.12 4.84 19.16 6.34 20.66C7.84 22.16 9.88 23 12 23C14.12 23 16.16 22.16 17.66 20.66C19.16 19.16 20 17.12 20 15V11H4V15Z`;var mdiMouseScrollWheel=`M11 1.07C7.05 1.56 4 4.92 4 9H11V7.73C10.4 7.39 10 6.74 10 6V4C10 3.26 10.4 2.61 11 2.27V1.07M13 9V7.73C13.6 7.39 14 6.74 14 6V4C14 3.26 13.6 2.61 13 2.27V1.07C16.94 1.56 20 4.92 20 9H13M4 15C4 17.12 4.84 19.16 6.34 20.66C7.84 22.16 9.88 23 12 23C14.12 23 16.16 22.16 17.66 20.66C19.16 19.16 20 17.12 20 15V11H4V15M13 6V4C13 3.45 12.55 3 12 3C11.45 3 11 3.45 11 4V6C11 6.55 11.45 7 12 7C12.55 7 13 6.55 13 6Z`;var mdiOpenInNew=`M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z`;var mdiOrbit=`M8.11,1.75C9.3,1.25 10.62,1 12,1C18.08,1 23,5.92 23,12C23,18.08 18.08,23 12,23C5.92,23 1,18.08 1,12C1,10.62 1.25,9.3 1.72,8.08C2.24,8.61 2.83,8.96 3.45,9.18C3.16,10.07 3,11 3,12A9,9 0 0,0 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3C11,3 10.07,3.16 9.18,3.45C8.96,2.83 8.61,2.24 8.11,1.75M4.93,2.93C6.03,2.93 6.93,3.82 6.93,4.93A2,2 0 0,1 4.93,6.93C3.82,6.93 2.93,6.03 2.93,4.93C2.93,3.82 3.82,2.93 4.93,2.93M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7Z`;var mdiPaperclip=`M16.5,6V17.5A4,4 0 0,1 12.5,21.5A4,4 0 0,1 8.5,17.5V5A2.5,2.5 0 0,1 11,2.5A2.5,2.5 0 0,1 13.5,5V15.5A1,1 0 0,1 12.5,16.5A1,1 0 0,1 11.5,15.5V6H10V15.5A2.5,2.5 0 0,0 12.5,18A2.5,2.5 0 0,0 15,15.5V5A4,4 0 0,0 11,1A4,4 0 0,0 7,5V17.5A5.5,5.5 0 0,0 12.5,23A5.5,5.5 0 0,0 18,17.5V6H16.5Z`;var mdiPencil=`M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z`;var mdiPencilOutline=`M14.06,9L15,9.94L5.92,19H5V18.08L14.06,9M17.66,3C17.41,3 17.15,3.1 16.96,3.29L15.13,5.12L18.88,8.87L20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18.17,3.09 17.92,3 17.66,3M14.06,6.19L3,17.25V21H6.75L17.81,9.94L14.06,6.19Z`;var mdiPin=`M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z`;var mdiPinOutline=`M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12M8.8,14L10,12.8V4H14V12.8L15.2,14H8.8Z`;var mdiPlay=`M8,5.14V19.14L19,12.14L8,5.14Z`;var mdiPlayCircleOutline=`M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M10,16.5L16,12L10,7.5V16.5Z`;var mdiPlus=`M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z`;var mdiPowerCycle=`M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M12,19A7,7 0 0,1 5,12A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19M13,17H11V7H13V17Z`;var mdiRecordCircleOutline=`M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z`;var mdiRedo=`M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z`;var mdiRedoVariant=`M10.5,7A6.5,6.5 0 0,0 4,13.5A6.5,6.5 0 0,0 10.5,20H14V18H10.5C8,18 6,16 6,13.5C6,11 8,9 10.5,9H16.17L13.09,12.09L14.5,13.5L20,8L14.5,2.5L13.08,3.91L16.17,7H10.5M18,18H16V20H18V18Z`;var mdiRefresh=`M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z`;var mdiRestart=`M12,4C14.1,4 16.1,4.8 17.6,6.3C20.7,9.4 20.7,14.5 17.6,17.6C15.8,19.5 13.3,20.2 10.9,19.9L11.4,17.9C13.1,18.1 14.9,17.5 16.2,16.2C18.5,13.9 18.5,10.1 16.2,7.7C15.1,6.6 13.5,6 12,6V10.6L7,5.6L12,0.6V4M6.3,17.6C3.7,15 3.3,11 5.1,7.9L6.6,9.4C5.5,11.6 5.9,14.4 7.8,16.2C8.3,16.7 8.9,17.1 9.6,17.4L9,19.4C8,19 7.1,18.4 6.3,17.6Z`;var mdiRestore=`M13,3A9,9 0 0,0 4,12H1L4.89,15.89L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3Z`;var mdiRobotOutline=`M17.5 15.5C17.5 16.61 16.61 17.5 15.5 17.5S13.5 16.61 13.5 15.5 14.4 13.5 15.5 13.5 17.5 14.4 17.5 15.5M8.5 13.5C7.4 13.5 6.5 14.4 6.5 15.5S7.4 17.5 8.5 17.5 10.5 16.61 10.5 15.5 9.61 13.5 8.5 13.5M23 15V18C23 18.55 22.55 19 22 19H21V20C21 21.11 20.11 22 19 22H5C3.9 22 3 21.11 3 20V19H2C1.45 19 1 18.55 1 18V15C1 14.45 1.45 14 2 14H3C3 10.13 6.13 7 10 7H11V5.73C10.4 5.39 10 4.74 10 4C10 2.9 10.9 2 12 2S14 2.9 14 4C14 4.74 13.6 5.39 13 5.73V7H14C17.87 7 21 10.13 21 14H22C22.55 14 23 14.45 23 15M21 16H19V14C19 11.24 16.76 9 14 9H10C7.24 9 5 11.24 5 14V16H3V17H5V20H19V17H21V16Z`;var mdiRotate3dVariant=`M12,5C16.97,5 21,7.69 21,11C21,12.68 19.96,14.2 18.29,15.29C19.36,14.42 20,13.32 20,12.13C20,9.29 16.42,7 12,7V10L8,6L12,2V5M12,19C7.03,19 3,16.31 3,13C3,11.32 4.04,9.8 5.71,8.71C4.64,9.58 4,10.68 4,11.88C4,14.71 7.58,17 12,17V14L16,18L12,22V19Z`;var mdiRotateLeft=`M13,4.07V1L8.45,5.55L13,10V6.09C15.84,6.57 18,9.03 18,12C18,14.97 15.84,17.43 13,17.91V19.93C16.95,19.44 20,16.08 20,12C20,7.92 16.95,4.56 13,4.07M7.1,18.32C8.26,19.22 9.61,19.76 11,19.93V17.9C10.13,17.75 9.29,17.41 8.54,16.87L7.1,18.32M6.09,13H4.07C4.24,14.39 4.79,15.73 5.69,16.89L7.1,15.47C6.58,14.72 6.23,13.88 6.09,13M7.11,8.53L5.7,7.11C4.8,8.27 4.24,9.61 4.07,11H6.09C6.23,10.13 6.58,9.28 7.11,8.53Z`;var mdiRotateRight=`M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z`;var mdiRoutes=`M11,10H5L3,8L5,6H11V3L12,2L13,3V4H19L21,6L19,8H13V10H19L21,12L19,14H13V20A2,2 0 0,1 15,22H9A2,2 0 0,1 11,20V10Z`;var mdiSend=`M2,21L23,12L2,3V10L17,12L2,14V21Z`;var mdiShieldCheckOutline=`M21,11C21,16.55 17.16,21.74 12,23C6.84,21.74 3,16.55 3,11V5L12,1L21,5V11M12,21C15.75,20 19,15.54 19,11.22V6.3L12,3.18L5,6.3V11.22C5,15.54 8.25,20 12,21M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9`;var mdiShieldCrownOutline=`M12 1L21 5V11C21 16.55 17.16 21.74 12 23C6.84 21.74 3 16.55 3 11V5L12 1M12 3.18L5 6.3V11.22C5 15.54 8.25 20 12 21C15.75 20 19 15.54 19 11.22V6.3L12 3.18M16 14V15.5L16 15.59C15.96 15.81 15.78 15.96 15.53 16L15.43 16H8.57L8.47 16C8.22 15.96 8.04 15.81 8 15.59L8 15.5V14H16M17 8L16 13H8L7 8L7 8L9.67 10.67L12 8.34L14.33 10.67L17 8L17 8Z`;var mdiSourceBranch=`M13,14C9.64,14 8.54,15.35 8.18,16.24C9.25,16.7 10,17.76 10,19A3,3 0 0,1 7,22A3,3 0 0,1 4,19C4,17.69 4.83,16.58 6,16.17V7.83C4.83,7.42 4,6.31 4,5A3,3 0 0,1 7,2A3,3 0 0,1 10,5C10,6.31 9.17,7.42 8,7.83V13.12C8.88,12.47 10.16,12 12,12C14.67,12 15.56,10.66 15.85,9.77C14.77,9.32 14,8.25 14,7A3,3 0 0,1 17,4A3,3 0 0,1 20,7C20,8.34 19.12,9.5 17.91,9.86C17.65,11.29 16.68,14 13,14M7,18A1,1 0 0,0 6,19A1,1 0 0,0 7,20A1,1 0 0,0 8,19A1,1 0 0,0 7,18M7,4A1,1 0 0,0 6,5A1,1 0 0,0 7,6A1,1 0 0,0 8,5A1,1 0 0,0 7,4M17,6A1,1 0 0,0 16,7A1,1 0 0,0 17,8A1,1 0 0,0 18,7A1,1 0 0,0 17,6Z`;var mdiSourceBranchSync=`M13 14C9.64 14 8.54 15.35 8.18 16.24C9.25 16.7 10 17.76 10 19C10 20.66 8.66 22 7 22S4 20.66 4 19C4 17.69 4.83 16.58 6 16.17V7.83C4.83 7.42 4 6.31 4 5C4 3.34 5.34 2 7 2S10 3.34 10 5C10 6.31 9.17 7.42 8 7.83V13.12C8.88 12.47 10.16 12 12 12C14.67 12 15.56 10.66 15.85 9.77C14.77 9.32 14 8.25 14 7C14 5.34 15.34 4 17 4S20 5.34 20 7C20 8.34 19.12 9.5 17.91 9.86C17.65 11.29 16.68 14 13 14M7 18C6.45 18 6 18.45 6 19S6.45 20 7 20 8 19.55 8 19 7.55 18 7 18M7 4C6.45 4 6 4.45 6 5S6.45 6 7 6 8 5.55 8 5 7.55 4 7 4M17 6C16.45 6 16 6.45 16 7S16.45 8 17 8 18 7.55 18 7 17.55 6 17 6M18 13V14.5C20.21 14.5 22 16.29 22 18.5C22 19.32 21.75 20.08 21.33 20.71L20.24 19.62C20.41 19.28 20.5 18.9 20.5 18.5C20.5 17.12 19.38 16 18 16V17.5L15.75 15.25L15.72 15.22C15.78 15.17 15.85 15.13 18 13M18 24V22.5C15.79 22.5 14 20.71 14 18.5C14 17.68 14.25 16.92 14.67 16.29L15.76 17.38C15.59 17.72 15.5 18.1 15.5 18.5C15.5 19.88 16.62 21 18 21V19.5L20.25 21.75L20.28 21.78C20.22 21.83 20.15 21.87 18 24`;var mdiSourceCommit=`M17,12C17,14.42 15.28,16.44 13,16.9V21H11V16.9C8.72,16.44 7,14.42 7,12C7,9.58 8.72,7.56 11,7.1V3H13V7.1C15.28,7.56 17,9.58 17,12M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z`;var mdiSourceMerge=`M7,3A3,3 0 0,1 10,6C10,7.29 9.19,8.39 8.04,8.81C8.58,13.81 13.08,14.77 15.19,14.96C15.61,13.81 16.71,13 18,13A3,3 0 0,1 21,16A3,3 0 0,1 18,19C16.69,19 15.57,18.16 15.16,17C10.91,16.8 9.44,15.19 8,13.39V15.17C9.17,15.58 10,16.69 10,18A3,3 0 0,1 7,21A3,3 0 0,1 4,18C4,16.69 4.83,15.58 6,15.17V8.83C4.83,8.42 4,7.31 4,6A3,3 0 0,1 7,3M7,5A1,1 0 0,0 6,6A1,1 0 0,0 7,7A1,1 0 0,0 8,6A1,1 0 0,0 7,5M7,17A1,1 0 0,0 6,18A1,1 0 0,0 7,19A1,1 0 0,0 8,18A1,1 0 0,0 7,17M18,15A1,1 0 0,0 17,16A1,1 0 0,0 18,17A1,1 0 0,0 19,16A1,1 0 0,0 18,15Z`;var mdiSourcePull=`M6,3A3,3 0 0,1 9,6C9,7.31 8.17,8.42 7,8.83V15.17C8.17,15.58 9,16.69 9,18A3,3 0 0,1 6,21A3,3 0 0,1 3,18C3,16.69 3.83,15.58 5,15.17V8.83C3.83,8.42 3,7.31 3,6A3,3 0 0,1 6,3M6,5A1,1 0 0,0 5,6A1,1 0 0,0 6,7A1,1 0 0,0 7,6A1,1 0 0,0 6,5M6,17A1,1 0 0,0 5,18A1,1 0 0,0 6,19A1,1 0 0,0 7,18A1,1 0 0,0 6,17M21,18A3,3 0 0,1 18,21A3,3 0 0,1 15,18C15,16.69 15.83,15.58 17,15.17V7H15V10.25L10.75,6L15,1.75V5H17A2,2 0 0,1 19,7V15.17C20.17,15.58 21,16.69 21,18M18,17A1,1 0 0,0 17,18A1,1 0 0,0 18,19A1,1 0 0,0 19,18A1,1 0 0,0 18,17Z`;var mdiSourceRepository=`M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M12.75,13.5C15.5,13.5 16.24,11.47 16.43,10.4C17.34,10.11 18,9.26 18,8.25C18,7 17,6 15.75,6C14.5,6 13.5,7 13.5,8.25C13.5,9.19 14.07,10 14.89,10.33C14.67,11 14,12 12,12C10.62,12 9.66,12.35 9,12.84V8.87C9.87,8.56 10.5,7.73 10.5,6.75C10.5,5.5 9.5,4.5 8.25,4.5C7,4.5 6,5.5 6,6.75C6,7.73 6.63,8.56 7.5,8.87V15.13C6.63,15.44 6,16.27 6,17.25C6,18.5 7,19.5 8.25,19.5C9.5,19.5 10.5,18.5 10.5,17.25C10.5,16.32 9.94,15.5 9.13,15.18C9.41,14.5 10.23,13.5 12.75,13.5M8.25,16.5A0.75,0.75 0 0,1 9,17.25A0.75,0.75 0 0,1 8.25,18A0.75,0.75 0 0,1 7.5,17.25A0.75,0.75 0 0,1 8.25,16.5M8.25,6A0.75,0.75 0 0,1 9,6.75A0.75,0.75 0 0,1 8.25,7.5A0.75,0.75 0 0,1 7.5,6.75A0.75,0.75 0 0,1 8.25,6M15.75,7.5A0.75,0.75 0 0,1 16.5,8.25A0.75,0.75 0 0,1 15.75,9A0.75,0.75 0 0,1 15,8.25A0.75,0.75 0 0,1 15.75,7.5Z`;var mdiStar=`M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z`;var mdiStarOutline=`M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z`;var mdiStop=`M18,18H6V6H18V18Z`;var mdiStopCircleOutline=`M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4M9,9V15H15V9`;var mdiSwapVertical=`M9,3L5,7H8V14H10V7H13M16,17V10H14V17H11L15,21L19,17H16Z`;var mdiTable=`M5,4H19A2,2 0 0,1 21,6V18A2,2 0 0,1 19,20H5A2,2 0 0,1 3,18V6A2,2 0 0,1 5,4M5,8V12H11V8H5M13,8V12H19V8H13M5,14V18H11V14H5M13,14V18H19V14H13Z`;var mdiTableEye=`M17 16.88C17.56 16.88 18 17.32 18 17.88S17.56 18.88 17 18.88 16 18.43 16 17.88 16.44 16.88 17 16.88M17 13.88C19.73 13.88 22.06 15.54 23 17.88C22.06 20.22 19.73 21.88 17 21.88S11.94 20.22 11 17.88C11.94 15.54 14.27 13.88 17 13.88M17 15.38C15.62 15.38 14.5 16.5 14.5 17.88S15.62 20.38 17 20.38 19.5 19.26 19.5 17.88 18.38 15.38 17 15.38M18 3H4C2.9 3 2 3.9 2 5V17C2 18.1 2.9 19 4 19H9.42C9.26 18.68 9.12 18.34 9 18C9.12 17.66 9.26 17.32 9.42 17H4V13H10V15.97C10.55 15.11 11.23 14.37 12 13.76V13H13.15C14.31 12.36 15.62 12 17 12C18.06 12 19.07 12.21 20 12.59V5C20 3.9 19.1 3 18 3M10 11H4V7H10V11M18 11H12V7H18V11Z`;var mdiTableSearch=`M19.3,17.89C20.62,15.79 20,13 17.89,11.68C15.79,10.36 13,11 11.68,13.09C10.36,15.2 11,18 13.09,19.3C14.56,20.22 16.42,20.22 17.89,19.3L21,22.39L22.39,21L19.3,17.89M17.3,17.27C16.32,18.25 14.74,18.24 13.76,17.27C12.79,16.29 12.79,14.71 13.77,13.73C14.74,12.76 16.32,12.76 17.3,13.73C18.26,14.72 18.25,16.3 17.27,17.27H17.3M19,4H5A2,2 0 0,0 3,6V18A2,2 0 0,0 5,20H10.81C10.25,19.42 9.8,18.74 9.5,18H5V14H9.18C9.34,13.29 9.61,12.61 10,12H5V8H11V10.81C11.58,10.25 12.26,9.8 13,9.5V8H19V10C19.4,10.25 19.77,10.55 20.1,10.88C20.44,11.22 20.74,11.59 21,12V6A2,2 0 0,0 19,4Z`;var mdiTrayArrowUp=`M2 12H4V17H20V12H22V17C22 18.11 21.11 19 20 19H4C2.9 19 2 18.11 2 17V12M12 2L6.46 7.46L7.88 8.88L11 5.75V15H13V5.75L16.13 8.88L17.55 7.45L12 2Z`;var mdiTuneVariant=`M8 13C6.14 13 4.59 14.28 4.14 16H2V18H4.14C4.59 19.72 6.14 21 8 21S11.41 19.72 11.86 18H22V16H11.86C11.41 14.28 9.86 13 8 13M8 19C6.9 19 6 18.1 6 17C6 15.9 6.9 15 8 15S10 15.9 10 17C10 18.1 9.1 19 8 19M19.86 6C19.41 4.28 17.86 3 16 3S12.59 4.28 12.14 6H2V8H12.14C12.59 9.72 14.14 11 16 11S19.41 9.72 19.86 8H22V6H19.86M16 9C14.9 9 14 8.1 14 7C14 5.9 14.9 5 16 5S18 5.9 18 7C18 8.1 17.1 9 16 9Z`;var mdiUndo=`M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z`;var mdiUndoVariant=`M13.5,7A6.5,6.5 0 0,1 20,13.5A6.5,6.5 0 0,1 13.5,20H10V18H13.5C16,18 18,16 18,13.5C18,11 16,9 13.5,9H7.83L10.91,12.09L9.5,13.5L4,8L9.5,2.5L10.92,3.91L7.83,7H13.5M6,18H8V20H6V18Z`;var mdiUpload=`M9,16V10H5L12,3L19,10H15V16H9M5,20V18H19V20H5Z`;var mdiViewDashboardOutline=`M19,5V7H15V5H19M9,5V11H5V5H9M19,13V19H15V13H19M9,17V19H5V17H9M21,3H13V9H21V3M11,3H3V13H11V3M21,11H13V21H21V11M11,15H3V21H11V15Z`;var mdiViewGridOutline=`M3 11H11V3H3M5 5H9V9H5M13 21H21V13H13M15 15H19V19H15M3 21H11V13H3M5 15H9V19H5M13 3V11H21V3M19 9H15V5H19Z`;var mdiViewListOutline=`M3 5V19H20V5H3M7 7V9H5V7H7M5 13V11H7V13H5M5 15H7V17H5V15M18 17H9V15H18V17M18 13H9V11H18V13M18 9H9V7H18V9Z`;var mdiVolumeHigh=`M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z`;var mdiVolumeOff=`M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z`;var mdiWebClock=`M15 12.5V16.5L18 18.5L18.75 17.25L16.5 15.75V12.5H15M22 12.39C22 12.26 22 12.13 22 12C22 6.5 17.5 2 12 2C6.47 2 2 6.5 2 12C2 17.5 6.5 22 12 22C12.13 22 12.24 22 12.37 21.97C13.43 22.62 14.67 23 16 23C19.86 23 23 19.86 23 16C23 14.68 22.62 13.44 22 12.39M19.76 10.11C19.7 10.07 19.65 10.04 19.59 10H19.74C19.75 10.03 19.75 10.07 19.76 10.11M18.92 8H15.97C15.65 6.75 15.19 5.55 14.59 4.44C16.43 5.07 17.96 6.34 18.92 8M12 4.03C12.83 5.23 13.5 6.57 13.91 8H10.09C10.5 6.57 11.17 5.23 12 4.03M9.66 10H12.41C11.16 10.75 10.15 11.88 9.57 13.24C9.53 12.83 9.5 12.42 9.5 12C9.5 11.32 9.56 10.65 9.66 10M9.4 4.44C8.8 5.55 8.35 6.75 8 8H5.08C6.03 6.34 7.57 5.06 9.4 4.44M4.26 14C4.1 13.36 4 12.69 4 12S4.1 10.64 4.26 10H7.64C7.56 10.66 7.5 11.32 7.5 12S7.56 13.34 7.64 14H4.26M5.08 16H8C8.35 17.25 8.8 18.45 9.4 19.56C7.57 18.93 6.03 17.65 5.08 16M16 21C13.24 21 11 18.76 11 16S13.24 11 16 11 21 13.24 21 16 18.76 21 16 21Z`;export{mdiConsoleLine as $,mdiTableSearch as $n,mdiLightbulbOnOutline as $t,mdiCheckCircle as A,mdiRestart as An,mdiFolderOutline as At,mdiClipboardListOutline as B,mdiSourceBranch as Bn,mdiHelpCircleOutline as Bt,mdiAutorenew as C,mdiPlayCircleOutline as Cn,mdiFileDocumentOutline as Ct,mdiCalendarClockOutline as D,mdiRedo as Dn,mdiFilterPlusOutline as Dt,mdiBrain as E,mdiRecordCircleOutline as En,mdiFileSearchOutline as Et,mdiChevronUp as F,mdiRotateRight as Fn,mdiGiftOutline as Ft,mdiCloudRefreshOutline as G,mdiSourceRepository as Gn,mdiImageOutline as Gt,mdiClose as H,mdiSourceCommit as Hn,mdiHomeVariantOutline as Ht,mdiCircle as I,mdiRoutes as In,mdiGithub as It,mdiCog as J,mdiStop as Jn,mdiKeyOutline as Jt,mdiCodeBraces as K,mdiStar as Kn,mdiIncognito as Kt,mdiCircleOutline as L,mdiSend as Ln,mdiGraphOutline as Lt,mdiChevronDown as M,mdiRobotOutline as Mn,mdiFullscreen as Mt,mdiChevronLeft as N,mdiRotate3dVariant as Nn,mdiFullscreenExit as Nt,mdiCameraOutline as O,mdiRedoVariant as On,mdiFlashOutline as Ot,mdiChevronRight as P,mdiRotateLeft as Pn,mdiGestureSwipeHorizontal as Pt,mdiConnection as Q,mdiTableEye as Qn,mdiLayersTripleOutline as Qt,mdiCircleSlice4 as R,mdiShieldCheckOutline as Rn,mdiHeadset as Rt,mdiAutoFix as S,mdiPlay as Sn,mdiFileDocumentEditOutline as St,mdiBookmarkPlusOutline as T,mdiPowerCycle as Tn,mdiFilePlusOutline as Tt,mdiCloseCircleOutline as U,mdiSourceMerge as Un,mdiIdentifier as Ut,mdiClockOutline as V,mdiSourceBranchSync as Vn,mdiHistory as Vt,mdiCloudDownloadOutline as W,mdiSourcePull as Wn,mdiImageFilterCenterFocus as Wt,mdiCollapseAllOutline as X,mdiSwapVertical as Xn,mdiKeyboardOutline as Xt,mdiCogOutline as Y,mdiStopCircleOutline as Yn,mdiKeyVariant as Yt,mdiCommentOutline as Z,mdiTable as Zn,mdiLabelOutline as Zt,mdiArrowLeft as _,mdiPaperclip as _n,mdiEyeOutline as _t,mdiAccountOffOutline as a,mdiMagnify as an,mdiViewDashboardOutline as ar,mdiCreationOutline as at,mdiArrowTopRight as b,mdiPin as bn,mdiFileCogOutline as bt,mdiAccountSwitchOutline as c,mdiMessageTextOutline as cn,mdiVolumeHigh as cr,mdiDatabaseAlertOutline as ct,mdiArchiveArrowDownOutline as d,mdiMinus as dn,mdiDotsHorizontal as dt,mdiLinkVariant as en,mdiTrayArrowUp as er,mdiConsoleNetworkOutline as et,mdiArchiveCancelOutline as f,mdiMouse as fn,mdiDotsHorizontalCircleOutline as ft,mdiArrowDown as g,mdiOrbit as gn,mdiEyeOffOutline as gt,mdiArchiveOutline as h,mdiOpenInNew as hn,mdiDownloadOutline as ht,mdiAccountKeyOutline as i,mdiLogout as in,mdiUpload as ir,mdiCreation as it,mdiCheckCircleOutline as j,mdiRestore as jn,mdiFolderPlusOutline as jt,mdiCheck as k,mdiRefresh as kn,mdiFolderHomeOutline as kt,mdiAlertCircleOutline as l,mdiMicrophone as ln,mdiVolumeOff as lr,mdiDatabaseOutline as lt,mdiArchiveClockOutline as m,mdiMouseScrollWheel as mn,mdiDownload as mt,mdiAccountCogOutline as n,mdiLockOutline as nn,mdiUndo as nr,mdiContentSaveAlertOutline as nt,mdiAccountOutline as o,mdiMapMarkerPath as on,mdiViewGridOutline as or,mdiCreditCardOutline as ot,mdiArchiveCheckOutline as p,mdiMouseRightClickOutline as pn,mdiDotsVertical as pt,mdiCodeTags as q,mdiStarOutline as qn,mdiInformationOutline as qt,mdiAccountGroupOutline as r,mdiLogin as rn,mdiUndoVariant as rr,mdiContentSaveOutline as rt,mdiAccountStarOutline as s,mdiMapOutline as sn,mdiViewListOutline as sr,mdiCrosshairsGps as st,mdiAccountCircleOutline as t,mdiLinkVariantOff as tn,mdiTuneVariant as tr,mdiContentCopy as tt,mdiAlertOutline as u,mdiMicrophoneOff as un,mdiWebClock as ur,mdiDeleteOutline as ut,mdiArrowRight as v,mdiPencil as vn,mdiEyePlusOutline as vt,mdiBookmarkOutline as w,mdiPlus as wn,mdiFileOutline as wt,mdiArrowUp as x,mdiPinOutline as xn,mdiFileCompare as xt,mdiArrowRightCircleOutline as y,mdiPencilOutline as yn,mdiFileCodeOutline as yt,mdiCityVariantOutline as z,mdiShieldCrownOutline as zn,mdiHeartPulse as zt};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Qn as __exportAll}from"./VAvatar-CAFvgSUo.js";import{l as createPlacementRegistry}from"./placement-JxzrmUR3.js";import{It as mdiGithub,Q as mdiConnection,Vt as mdiHistory,Y as mdiCogOutline,bt as mdiFileCogOutline,i as mdiAccountKeyOutline,zt as mdiHeartPulse}from"./mdi-C31_SZp-.js";import{t as githubProjectAvailable}from"./vibe64GithubProject-CdFrbVHp.js";import{i as vibe64SessionToolDashboardSuffix,n as VIBE64_ACTIVE_SESSION_NAV_TARGET,r as VIBE64_SESSION_TOOL_DEFINITIONS,t as VIBE64_ACTIVE_SESSION_NAV_OWNER}from"./vibe64SessionToolDefinitions-BaO1DEup.js";var placement_exports=__exportAll({addPlacement:()=>addPlacement,default:()=>getPlacements,uniqueDashboardSectionPlacements:()=>uniqueDashboardSectionPlacements});var registry=createPlacementRegistry();var{addPlacement}=registry;function getPlacements(){return uniqueDashboardSectionPlacements(registry.build())}function uniqueDashboardSectionPlacements(placements=[]){const winners=new Map;for(const placement of placements){const key=dashboardSectionPlacementKey(placement);if(!key)continue;const current=winners.get(key);if(!current||dashboardSectionPlacementOrder(placement)<dashboardSectionPlacementOrder(current))winners.set(key,placement)}return placements.filter(placement=>{const key=dashboardSectionPlacementKey(placement);return!key||winners.get(key)===placement})}function dashboardSectionPlacementKey(placement={}){if(placement?.kind!==`link`||placement?.owner!==`app-dashboard`||placement?.target!==`page.section-nav`)return``;const destination=dashboardSectionPlacementDestination(placement);return destination?`${placement.owner}:${placement.target}:${destination}`:``}function dashboardSectionPlacementDestination(placement={}){const raw=String(placement?.props?.scopedSuffix||placement?.props?.unscopedSuffix||placement?.props?.to||``).trim();if(!raw)return``;const normalized=raw.replace(/^\/+/u,``).replace(/^project\/\[slug\](?=\/|$)/u,``).replace(/^\[slug\](?=\/|$)/u,``).replace(/^\/+/u,``).replace(/\/+$/u,``);return normalized?`/${normalized}`:`/`}function dashboardSectionPlacementOrder(placement={}){const order=Number(placement?.order);return Number.isFinite(order)?order:Number.MAX_SAFE_INTEGER}addPlacement({id:`realtime.connection.indicator`,target:`shell.status`,kind:`component`,surfaces:[`*`],order:950,componentToken:`realtime.web.connection.indicator`});addPlacement({id:`vibe64.active-session.heading`,target:VIBE64_ACTIVE_SESSION_NAV_TARGET,owner:VIBE64_ACTIVE_SESSION_NAV_OWNER,kind:`link`,surfaces:[`app`],order:100,props:{role:`heading`},when:activeSessionNavPlacementVisible});for(const tool of VIBE64_SESSION_TOOL_DEFINITIONS)addPlacement({id:`vibe64.active-session.${tool.id}`,target:VIBE64_ACTIVE_SESSION_NAV_TARGET,owner:VIBE64_ACTIVE_SESSION_NAV_OWNER,kind:`link`,surfaces:[`app`],order:100+tool.order,props:{icon:tool.icon,label:tool.label,scopedSuffix:`/project/[slug]${vibe64SessionToolDashboardSuffix(tool.id)}`,title:tool.title,toolId:tool.id,unscopedSuffix:`/project/[slug]${vibe64SessionToolDashboardSuffix(tool.id)}`},when:activeSessionNavPlacementVisible});function activeSessionNavPlacementVisible({activeSessionNav}={}){return activeSessionNav?.visible===true}function githubProjectVisible({projectContext={}}={}){return githubProjectAvailable(projectContext)}addPlacement({id:`vibe64.issues.link`,target:`page.section-nav`,owner:`app-dashboard`,kind:`link`,surfaces:[`app`],order:325,props:{label:`Issues/PR`,icon:mdiGithub,surface:`app`,scopedSuffix:`/project/[slug]/dashboard/issues`,unscopedSuffix:`/project/[slug]/dashboard/issues`,visibleWhen:githubProjectVisible},when:githubProjectVisible});addPlacement({id:`vibe64.project-settings.link`,target:`page.section-nav`,owner:`app-dashboard`,kind:`link`,surfaces:[`app`],order:250,props:{label:`Project settings`,icon:mdiCogOutline,surface:`app`,scopedSuffix:`/project/[slug]/dashboard/settings`,unscopedSuffix:`/project/[slug]/dashboard/settings`,to:``}});addPlacement({id:`ui-generator.page.app.dashboard.env.link`,target:`page.section-nav`,owner:`app-dashboard`,kind:`link`,surfaces:[`app`],order:300,props:{label:`Env`,icon:mdiFileCogOutline,surface:`app`,scopedSuffix:`/project/[slug]/dashboard/env`,unscopedSuffix:`/project/[slug]/dashboard/env`,to:``}});addPlacement({id:`vibe64.integrations.link`,target:`page.section-nav`,owner:`app-dashboard`,kind:`link`,surfaces:[`app`],order:350,props:{label:`Integrations`,icon:mdiConnection,surface:`app`,scopedSuffix:`/project/[slug]/dashboard/integrations`,unscopedSuffix:`/project/[slug]/dashboard/integrations`,to:``}});addPlacement({id:`vibe64.preview-identities.link`,target:`page.section-nav`,owner:`app-dashboard`,kind:`link`,surfaces:[`app`],order:400,props:{label:`App access`,icon:mdiAccountKeyOutline,surface:`app`,scopedSuffix:`/project/[slug]/dashboard/access`,unscopedSuffix:`/project/[slug]/dashboard/access`,to:``}});addPlacement({id:`ui-generator.page.app.dashboard.history.link`,target:`page.section-nav`,owner:`app-dashboard`,kind:`link`,surfaces:[`app`],order:600,props:{label:`Session History`,icon:mdiHistory,surface:`app`,scopedSuffix:`/project/[slug]/dashboard/history`,unscopedSuffix:`/project/[slug]/dashboard/history`,to:``}});addPlacement({id:`vibe64.studio-health.link`,target:`page.section-nav`,owner:`app-dashboard`,kind:`link`,surfaces:[`app`],order:700,props:{label:`Health`,icon:mdiHeartPulse,surface:`app`,scopedSuffix:`/project/[slug]/dashboard/health`,unscopedSuffix:`/project/[slug]/dashboard/health`,to:``}});export{placement_exports as n,getPlacements as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pr-actions[data-v-5aa628de],.pr-confirmation[data-v-5aa628de]{overflow-wrap:anywhere}.pull-requests[data-v-64ada9f7]{width:100%;min-width:0;padding-bottom:1rem}.pull-requests__search[data-v-64ada9f7]{flex:16rem;min-width:0}.pull-requests__branch[data-v-64ada9f7],.pull-requests__description[data-v-64ada9f7]{overflow-wrap:anywhere;min-width:0}.pull-requests__description[data-v-64ada9f7]{overflow:auto}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Jn as withKeys,Yn as withModifiers,_ as VIcon}from"./VAvatar-CAFvgSUo.js";import{D as createVNode,E as createTextVNode,Ht as watch,On as unref,_ as createBaseVNode,b as createElementBlock,bt as renderList,g as computed,mt as openBlock,o as Fragment,qt as withCtx,tr as toDisplayString,v as createBlock,vn as ref,y as createCommentVNode}from"./runtime-core.esm-bundler-DMrccYS5.js";import{J as useQueryClient,t as useEndpointResource}from"./useEndpointResource-C2KD4Ub_.js";import{_ as useRouter,g as useRoute}from"./useApi-BPuI6ZR9-Dr8wK_Co.js";import{t as VSelect}from"./VSelect-DY-ZuBJJ.js";import{c as VListItemTitle,n as VList,s as VListItem}from"./VMenu-BLxobsuU.js";import{t as VChip}from"./VChip-Dfs5jX0f.js";import{t as VTextField}from"./VTextField-CA_p3N4d.js";import{i as projectSlugFromRoute,r as projectAppPath}from"./vibe64ProjectScope.local-GOSMVDRi.js";import{Bn as mdiSourceBranch,U as mdiCloseCircleOutline,Un as mdiSourceMerge,Vn as mdiSourceBranchSync,Wn as mdiSourcePull,_ as mdiArrowLeft,an as mdiMagnify,hn as mdiOpenInNew,k as mdiCheck,kn as mdiRefresh,v as mdiArrowRight,wn as mdiPlus}from"./mdi-C31_SZp-.js";import{i as VBtnToggle,t as VBtn}from"./VBtn-Kl_qcBsy.js";import{t as VAlert}from"./VAlert-B7ciJKQL.js";import{t as VDivider}from"./VDivider-DFsS0OTx.js";import{t as VSheet}from"./VSheet-BA95RNmA.js";import{t as VDialog}from"./VDialog-Dt1VjJg1.js";import{i as VCardTitle,n as VCardText,o as VCardActions,t as VCard}from"./VCard-nrJPeo91.js";import{t as VSpacer}from"./VSpacer-B1l1hVvU.js";import{t as VSkeletonLoader}from"./VSkeletonLoader-hpJqr0HL.js";import{t as _plugin_vue_export_helper_default}from"./_plugin-vue_export-helper-DNW4j-dv.js";import{t as useUiFeedback}from"./useUiFeedback-Tzi-PRlX.js";import{r as scopedDevelopmentApiUrl}from"./studioUrls-CIab-Axb.js";import{nn as LongTextPreviewBlocks_default,rn as parseLongTextReviewBlocks}from"./index-5sKwLHOH.js";import{a as vibe64SessionPullRequest}from"./vibe64SessionViewModel-DR4tOlGM.js";import{n as githubProjectRepositoryName,t as githubProjectAvailable}from"./vibe64GithubProject-CdFrbVHp.js";import{i as Vibe64CreatePullRequestDialog_default,n as Vibe64AssistantSessionDialog_default,t as focusCreatedVibe64SessionTab}from"./vibe64SessionFocus-CcN6Grgw.js";import{t as _sfc_main$3}from"./GithubBrowserTabs-2bEGbRAs.js";var _hoisted_1$1={key:0,role:`status`,class:`text-body-medium ma-0`};var _hoisted_2$1={class:`d-flex flex-wrap ga-2 text-body-small`};var _hoisted_3$1={key:0,class:`text-body-medium ma-0`};var _hoisted_4$1={class:`d-flex flex-wrap ga-2`};var _hoisted_5$1={class:`text-wrap`};var _hoisted_6$1={class:`text-wrap`};var _hoisted_7$1={key:1,class:`text-body-small ma-0`};var _hoisted_8$1={key:2,class:`text-body-medium ma-0`};var _hoisted_9$1={key:3,class:`text-body-medium ma-0`};var _hoisted_10$1={class:`text-body-medium ma-0`};var _hoisted_11$1={key:0,class:`text-body-medium ma-0`};var _hoisted_12$1={key:1,class:`text-body-medium ma-0`};var _hoisted_13$1={key:1,class:`text-body-small ma-0`};var _hoisted_14$1=[`href`];var _sfc_main$2={__name:`GithubPullRequestActions`,props:{pullRequest:{type:Object,required:true},apiPath:{type:String,required:true},disabled:Boolean},emits:[`changed`],setup(__props,{emit:__emit}){const props=__props;const emit=__emit;const feedback=useUiFeedback({source:`vibe64.pullRequests.actions`});const confirmation=ref(null);const pending=ref(false);const mergeMethod=ref(``);const notice=ref(``);const updatingHead=ref(``);const failed=ref(false);const methodLabels={merge:`Create a merge commit`,squash:`Squash and merge`,rebase:`Rebase and merge`};const checksLabel=computed(()=>({SUCCESS:`Checks passed`,FAILURE:`Some checks failed`,ERROR:`Checks reported an error`,PENDING:`Checks are running`,EXPECTED:`Waiting for checks`})[props.pullRequest.checksState]||`No checks reported`);const reviewLabel=computed(()=>({APPROVED:`Reviews approved`,CHANGES_REQUESTED:`Changes requested`,REVIEW_REQUIRED:`Reviews required`})[props.pullRequest.reviewDecision]||``);const path=computed(()=>confirmation.value?.path||props.apiPath);const command=useEndpointResource({path,enabled:false,queryKey:computed(()=>[`vibe64.pullRequestAction`,path.value]),mutationOptions:{retry:false}});const actionDisabled=computed(()=>props.disabled||pending.value||!props.pullRequest.review);watch(()=>props.apiPath,()=>{confirmation.value=null;notice.value=``;updatingHead.value=``;failed.value=false});watch(()=>[props.pullRequest.headRefOid,props.pullRequest.state],([head,state])=>{if(state!==`OPEN`){notice.value=``;updatingHead.value=``}else if(updatingHead.value&&head&&head!==updatingHead.value){notice.value=`New commits are available. Update your session to load them.`;updatingHead.value=``}});function open(operation){const pr=props.pullRequest;if(actionDisabled.value||pr.actions?.[operation]!==``)return;mergeMethod.value=pr.mergeMethods[0]||``;const head=`${pr.review.headRepository}:${pr.review.headBranch}`;const base=`${pr.review.repository}:${pr.review.baseBranch}`;confirmation.value={operation,path:`${props.apiPath}/${operation}`,apiPath:props.apiPath,review:{...pr.review},url:pr.url,methods:pr.mergeMethods,from:operation===`update-branch`?base:head,to:operation===`update-branch`?head:base,title:operation===`ready`?`Ready for review?`:operation===`update-branch`?`Update branch from ${pr.baseRefName}?`:`Merge into ${pr.baseRefName}?`};failed.value=false}async function submit(){const reviewed=confirmation.value;if(!reviewed||pending.value||props.disabled)return;pending.value=true;failed.value=false;try{const result=await command.save({review:reviewed.review,...reviewed.operation===`merge`?{mergeMethod:mergeMethod.value}:{}},{method:`POST`,path:reviewed.path});if(props.apiPath===reviewed.apiPath){notice.value=result.pending?result.message:``;updatingHead.value=result.pending?reviewed.review.headCommit:``;confirmation.value=null}feedback.success(`PR #${reviewed.review.number}: ${result.message}`);emit(`changed`,{apiPath:reviewed.apiPath,operation:reviewed.operation})}catch(error){if(props.apiPath===reviewed.apiPath)failed.value=true;feedback.error(error,`The result could not be confirmed. Refresh this pull request before trying again.`)}finally{pending.value=false}}return(_ctx,_cache)=>{return openBlock(),createElementBlock(Fragment,null,[createVNode(VSheet,{rounded:`xl`,border:``,class:`pa-5 d-flex flex-column ga-3 pr-actions`},{default:withCtx(()=>[notice.value?(openBlock(),createElementBlock(`p`,_hoisted_1$1,toDisplayString(notice.value),1)):createCommentVNode(``,true),__props.pullRequest.state===`OPEN`?(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode(`div`,_hoisted_2$1,[createVNode(VChip,{size:`small`,color:[`FAILURE`,`ERROR`].includes(__props.pullRequest.checksState)?`warning`:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString(checksLabel.value),1)]),_:1},8,[`color`]),reviewLabel.value?(openBlock(),createBlock(VChip,{key:0,size:`small`},{default:withCtx(()=>[createTextVNode(toDisplayString(reviewLabel.value),1)]),_:1})):createCommentVNode(``,true)]),__props.pullRequest.actions?.merge?(openBlock(),createElementBlock(`p`,_hoisted_3$1,toDisplayString(__props.pullRequest.actions.merge),1)):createCommentVNode(``,true),createBaseVNode(`div`,_hoisted_4$1,[__props.pullRequest.isDraft?(openBlock(),createBlock(VBtn,{key:0,color:`primary`,variant:`tonal`,"min-height":`48`,height:`auto`,"max-width":`100%`,"prepend-icon":unref(mdiCheck),disabled:actionDisabled.value||Boolean(__props.pullRequest.actions?.ready),onClick:_cache[0]||(_cache[0]=$event=>open(`ready`))},{default:withCtx(()=>[..._cache[6]||(_cache[6]=[createBaseVNode(`span`,{class:`text-wrap`},`Ready for review`,-1)])]),_:1},8,[`prepend-icon`,`disabled`])):createCommentVNode(``,true),__props.pullRequest.actions?.[`update-branch`]===``?(openBlock(),createBlock(VBtn,{key:1,variant:`tonal`,"min-height":`48`,height:`auto`,"max-width":`100%`,"prepend-icon":unref(mdiSourceBranchSync),disabled:actionDisabled.value,onClick:_cache[1]||(_cache[1]=$event=>open(`update-branch`))},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_5$1,`Update branch from `+toDisplayString(__props.pullRequest.baseRefName),1)]),_:1},8,[`prepend-icon`,`disabled`])):createCommentVNode(``,true),!__props.pullRequest.isDraft?(openBlock(),createBlock(VBtn,{key:2,color:`primary`,variant:`flat`,"min-height":`48`,height:`auto`,"max-width":`100%`,"prepend-icon":unref(mdiSourceMerge),disabled:actionDisabled.value||Boolean(__props.pullRequest.actions?.merge),onClick:_cache[2]||(_cache[2]=$event=>open(`merge`))},{default:withCtx(()=>[createBaseVNode(`span`,_hoisted_6$1,`Merge into `+toDisplayString(__props.pullRequest.baseRefName),1)]),_:1},8,[`prepend-icon`,`disabled`])):createCommentVNode(``,true)]),__props.pullRequest.isDraft&&__props.pullRequest.actions?.ready?(openBlock(),createElementBlock(`p`,_hoisted_7$1,toDisplayString(__props.pullRequest.actions.ready),1)):createCommentVNode(``,true)],64)):__props.pullRequest.state===`MERGED`&&!notice.value?(openBlock(),createElementBlock(`p`,_hoisted_8$1,` Merged into `+toDisplayString(__props.pullRequest.baseRefName)+`. Archive your session when you have finished with it. `,1)):!notice.value?(openBlock(),createElementBlock(`p`,_hoisted_9$1,`This pull request is closed.`)):createCommentVNode(``,true)]),_:1}),createVNode(VDialog,{"model-value":Boolean(confirmation.value),"max-width":`36rem`,scrollable:``,persistent:pending.value,"onUpdate:modelValue":_cache[5]||(_cache[5]=$event=>!$event&&!pending.value&&(confirmation.value=null))},{default:withCtx(()=>[confirmation.value?(openBlock(),createBlock(VCard,{key:0,rounded:`xl`},{default:withCtx(()=>[createVNode(VCardTitle,{class:`text-wrap`},{default:withCtx(()=>[createTextVNode(toDisplayString(confirmation.value.title),1)]),_:1}),createVNode(VCardText,{class:`d-flex flex-column ga-3 pr-confirmation`},{default:withCtx(()=>[createBaseVNode(`p`,_hoisted_10$1,toDisplayString(confirmation.value.from)+` → `+toDisplayString(confirmation.value.to),1),confirmation.value.operation===`ready`?(openBlock(),createElementBlock(`p`,_hoisted_11$1,`Mark this draft ready so reviewers can review it.`)):confirmation.value.operation===`update-branch`?(openBlock(),createElementBlock(`p`,_hoisted_12$1,` Merge `+toDisplayString(confirmation.value.review.baseBranch)+` into `+toDisplayString(confirmation.value.review.headBranch)+` on GitHub. Then use Update session to load those changes into your session. `,1)):(openBlock(),createElementBlock(Fragment,{key:2},[_cache[7]||(_cache[7]=createBaseVNode(`p`,{class:`text-body-medium ma-0`},`Merge the commits already on GitHub. Save any session work you want included first.`,-1)),confirmation.value.methods.length>1?(openBlock(),createBlock(VSelect,{key:0,modelValue:mergeMethod.value,"onUpdate:modelValue":_cache[3]||(_cache[3]=$event=>mergeMethod.value=$event),label:`Merge method`,variant:`outlined`,"hide-details":``,items:confirmation.value.methods.map(value=>({title:methodLabels[value],value})),disabled:pending.value},null,8,[`modelValue`,`items`,`disabled`])):(openBlock(),createElementBlock(`p`,_hoisted_13$1,toDisplayString(methodLabels[mergeMethod.value]),1))],64)),failed.value?(openBlock(),createBlock(VAlert,{key:3,type:`warning`,variant:`tonal`},{default:withCtx(()=>[_cache[8]||(_cache[8]=createTextVNode(` This action was not confirmed. Close this dialog and refresh, or view the pull request on GitHub, before trying again. `,-1)),createBaseVNode(`a`,{href:confirmation.value.url,target:`_blank`,rel:`noopener noreferrer`},`View on GitHub`,8,_hoisted_14$1)]),_:1})):createCommentVNode(``,true)]),_:1}),createVNode(VCardActions,{class:`pa-4 flex-wrap`},{default:withCtx(()=>[createVNode(VSpacer),createVNode(VBtn,{disabled:pending.value,height:`48`,onClick:_cache[4]||(_cache[4]=$event=>confirmation.value=null)},{default:withCtx(()=>[..._cache[9]||(_cache[9]=[createTextVNode(`Cancel`,-1)])]),_:1},8,[`disabled`]),createVNode(VBtn,{color:`primary`,variant:`flat`,height:`48`,disabled:pending.value||__props.disabled||failed.value,"aria-busy":pending.value,onClick:submit},{default:withCtx(()=>[createTextVNode(toDisplayString(pending.value?`Working…`:confirmation.value.operation===`ready`?`Ready for review`:confirmation.value.operation===`merge`?`Merge pull request`:`Update branch`),1)]),_:1},8,[`disabled`,`aria-busy`])]),_:1})]),_:1})):createCommentVNode(``,true)]),_:1},8,[`model-value`,`persistent`])],64)}}};var GithubPullRequestActions_default=_plugin_vue_export_helper_default(_sfc_main$2,[[`__scopeId`,`data-v-5aa628de`]]);var _hoisted_1={class:`pull-requests d-flex flex-column ga-2`};var _hoisted_2={class:`d-flex align-center flex-wrap ga-2`};var _hoisted_3={class:`d-flex justify-space-between px-2 text-label-large text-medium-emphasis`};var _hoisted_4={class:`d-flex flex-wrap ga-2 text-body-small text-medium-emphasis mt-1`};var _hoisted_5={class:`pull-requests__branch`};var _hoisted_6={class:`d-flex justify-end ga-2`};var _hoisted_7={class:`px-2`};var _hoisted_8={class:`d-flex align-center flex-wrap ga-2 mb-3`};var _hoisted_9={class:`text-body-medium text-medium-emphasis`};var _hoisted_10={class:`text-headline-small mb-3`};var _hoisted_11={class:`d-flex flex-wrap ga-3 text-body-small text-medium-emphasis`};var _hoisted_12={class:`text-success`};var _hoisted_13={class:`text-error`};var _hoisted_14={class:`d-flex align-start ga-3`};var _hoisted_15={class:`pull-requests__branch`};var _hoisted_16={class:`text-body-medium mt-1`};var _hoisted_17={class:`text-body-small text-medium-emphasis mt-1`};var _hoisted_18={key:0,class:`text-body-medium ma-0`};var _hoisted_19={key:1,class:`text-body-medium ma-0`};var _hoisted_20={key:2,class:`text-body-medium ma-0`};var _hoisted_21={class:`d-flex flex-wrap ga-2`};var _hoisted_22={key:1,class:`text-body-medium text-medium-emphasis ma-0`};var _sfc_main$1={__name:`GithubPullRequestsPanel`,props:{dashboardContext:{type:Object,default:()=>({})}},setup(__props){const props=__props;const route=useRoute();const router=useRouter();const queryClient=useQueryClient();const projectSlug=computed(()=>projectSlugFromRoute(route));const repository=computed(()=>githubProjectRepositoryName(props.dashboardContext.projectContext));const available=computed(()=>githubProjectAvailable(props.dashboardContext.projectContext));const active=computed(()=>available.value&&props.dashboardContext.active!==false);const number=computed(()=>/^\d+$/u.test(String(route.query.pr||``))?String(route.query.pr):``);const state=computed(()=>[`open`,`closed`,`merged`,`all`].includes(route.query.prState)?route.query.prState:`open`);const search=ref(String(route.query.prSearch||``));watch(()=>route.query.prSearch,value=>{search.value=String(value||``)});const basePath=computed(()=>scopedDevelopmentApiUrl(`/api/vibe64/pull-requests`,projectSlug.value));const listQuery=computed(()=>({state:state.value,search:String(route.query.prSearch||``),...route.query.prCursor?{cursor:route.query.prCursor}:{}}));const list=useEndpointResource({path:basePath,readQuery:listQuery,queryKey:computed(()=>[`vibe64.pullRequests`,basePath.value,listQuery.value]),enabled:computed(()=>active.value&&!number.value),queryOptions:{retry:false},fallbackLoadError:`Pull requests could not load.`});const detail=useEndpointResource({path:computed(()=>`${basePath.value}/${number.value}`),queryKey:computed(()=>[`vibe64.pullRequest`,basePath.value,number.value]),enabled:computed(()=>active.value&&Boolean(number.value)),queryOptions:{retry:false},fallbackLoadError:`This pull request could not load.`});const resource=computed(()=>number.value?detail:list);const pr=computed(()=>detail.data.value?.pullRequest);const description=computed(()=>parseLongTextReviewBlocks(pr.value?.body||``));const assistantDialog=ref(false);const createDialog=ref(false);const selectedSource=computed(()=>vibe64SessionPullRequest(props.dashboardContext.session));const createAvailable=computed(()=>Boolean(props.dashboardContext.sessionId)&&!selectedSource.value?.number);const toolbar=computed(()=>({...props.dashboardContext.sessionToolbar,repositoryBranchSelectionDisabled:true,createSession:(selection,options={})=>props.dashboardContext.sessionToolbar?.createSession?.(selection,{...options,pullRequestNumber:Number(number.value)})}));watch(()=>route.query.createPullRequest,value=>{if(value&&createAvailable.value)createDialog.value=true},{immediate:true});function navigate(query){return router.push({query:{...route.query,...query}})}function filter(nextState=state.value){return navigate({prState:nextState,prSearch:String(search.value||``).trim()||void 0,prCursor:void 0,pr:void 0})}function status(item){if(item.state===`MERGED`)return`Merged`;if(item.state===`CLOSED`)return`Closed`;return item.isDraft?`Draft`:`Open`}function color(item){if(item.state===`MERGED`)return`primary`;if(item.state===`CLOSED`)return`error`;return item.isDraft?void 0:`success`}function icon(item){if(item.state===`MERGED`)return mdiSourceMerge;return item.state===`CLOSED`?mdiCloseCircleOutline:mdiSourcePull}function date(value){return value?new Date(value).toLocaleDateString(void 0,{month:`short`,day:`numeric`}):``}async function created(response){if(!response?.sessionId)return;await router.push(projectAppPath(projectSlug.value,`/dashboard/changes`));focusCreatedVibe64SessionTab(response.sessionId)}async function published(source){await list.reload();await navigate({pr:String(source.number),createPullRequest:void 0});await detail.reload()}async function actionFinished({apiPath}){await queryClient.invalidateQueries({queryKey:[`vibe64.pullRequests`,apiPath.replace(/\/\d+$/u,``)]});if(apiPath!==`${basePath.value}/${number.value}`)return;await detail.reload();props.dashboardContext.refreshSessionWork?.()}return(_ctx,_cache)=>{return openBlock(),createElementBlock(`section`,_hoisted_1,[createBaseVNode(`div`,_hoisted_2,[createVNode(VBtn,{"prepend-icon":unref(mdiArrowLeft),variant:`tonal`,size:`x-small`,to:available.value&&number.value?void 0:unref(projectAppPath)(projectSlug.value,`/dashboard/env`),onClick:_cache[0]||(_cache[0]=$event=>available.value&&number.value&&navigate({pr:void 0}))},{default:withCtx(()=>[createTextVNode(toDisplayString(available.value&&number.value?`All pull requests`:`Back to dashboard`),1)]),_:1},8,[`prepend-icon`,`to`]),createVNode(VSpacer),available.value?(openBlock(),createBlock(VBtn,{key:0,"prepend-icon":unref(mdiRefresh),variant:`text`,size:`small`,height:`48`,disabled:resource.value.isFetching.value,onClick:_cache[1]||(_cache[1]=$event=>resource.value.reload())},{default:withCtx(()=>[createTextVNode(toDisplayString(resource.value.isFetching.value?`Refreshing…`:`Refresh`),1)]),_:1},8,[`prepend-icon`,`disabled`])):createCommentVNode(``,true),available.value&&createAvailable.value?(openBlock(),createBlock(VBtn,{key:1,color:`primary`,variant:`tonal`,rounded:`pill`,size:`small`,height:`48`,"prepend-icon":unref(mdiPlus),disabled:__props.dashboardContext.sourceOperationsSuspended,onClick:_cache[2]||(_cache[2]=$event=>createDialog.value=true)},{default:withCtx(()=>[..._cache[15]||(_cache[15]=[createTextVNode(` Create from session `,-1)])]),_:1},8,[`prepend-icon`,`disabled`])):createCommentVNode(``,true)]),!available.value?(openBlock(),createBlock(VAlert,{key:0,type:`info`,variant:`tonal`},{default:withCtx(()=>[..._cache[16]||(_cache[16]=[createTextVNode(`Pull requests are available only for GitHub projects.`,-1)])]),_:1})):(openBlock(),createElementBlock(Fragment,{key:1},[createVNode(_sfc_main$3),!number.value?(openBlock(),createElementBlock(`form`,{key:0,class:`d-flex flex-wrap align-center ga-3`,onSubmit:_cache[8]||(_cache[8]=withModifiers($event=>filter(),[`prevent`]))},[createVNode(VBtnToggle,{"model-value":state.value,mandatory:``,divided:``,rounded:`pill`,color:`primary`,variant:`outlined`,"aria-label":`Pull request state`,"onUpdate:modelValue":_cache[3]||(_cache[3]=$event=>filter($event))},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList([`open`,`closed`,`merged`,`all`],value=>{return createVNode(VBtn,{key:value,value,height:`48`},{default:withCtx(()=>[createTextVNode(toDisplayString(value[0].toUpperCase()+value.slice(1)),1)]),_:2},1032,[`value`])}),64))]),_:1},8,[`model-value`]),createVNode(VTextField,{modelValue:search.value,"onUpdate:modelValue":_cache[5]||(_cache[5]=$event=>search.value=$event),class:`pull-requests__search`,label:`Search pull requests`,"prepend-inner-icon":unref(mdiMagnify),variant:`outlined`,rounded:`pill`,"hide-details":``,maxlength:`200`,clearable:``,onKeydown:_cache[6]||(_cache[6]=withKeys(withModifiers($event=>filter(),[`prevent`]),[`enter`])),"onClick:clear":_cache[7]||(_cache[7]=$event=>{search.value=``;filter()})},{"append-inner":withCtx(()=>[createVNode(VBtn,{icon:unref(mdiArrowRight),variant:`text`,size:`48`,"aria-label":`Search pull requests`,onClick:_cache[4]||(_cache[4]=$event=>filter())},null,8,[`icon`])]),_:1},8,[`modelValue`,`prepend-inner-icon`])],32)):createCommentVNode(``,true),resource.value.isInitialLoading.value?(openBlock(),createBlock(VSheet,{key:1,rounded:`xl`,border:``,class:`pa-4`,"aria-label":`Loading pull requests`,"aria-busy":`true`},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(4,index=>{return createVNode(VSkeletonLoader,{key:index,type:number.value?`paragraph`:`list-item-two-line`},null,8,[`type`])}),64))]),_:1})):resource.value.loadError.value?(openBlock(),createBlock(VAlert,{key:2,type:`error`,variant:`tonal`,rounded:`lg`},{append:withCtx(()=>[createVNode(VBtn,{variant:`text`,height:`48`,onClick:_cache[9]||(_cache[9]=$event=>resource.value.reload())},{default:withCtx(()=>[..._cache[17]||(_cache[17]=[createTextVNode(`Retry`,-1)])]),_:1})]),default:withCtx(()=>[createTextVNode(toDisplayString(resource.value.loadError.value)+` `,1)]),_:1})):!number.value?(openBlock(),createElementBlock(Fragment,{key:3},[createBaseVNode(`div`,_hoisted_3,[createBaseVNode(`span`,null,toDisplayString(unref(list).data.value?.total||0)+` pull requests`,1),_cache[18]||(_cache[18]=createBaseVNode(`span`,null,`Recently updated`,-1))]),unref(list).data.value?.pullRequests?.length?(openBlock(),createBlock(VList,{key:0,class:`pa-0`,density:`compact`,rounded:`xl`,border:``,slim:``,"aria-label":`GitHub pull requests`},{default:withCtx(()=>[(openBlock(true),createElementBlock(Fragment,null,renderList(unref(list).data.value.pullRequests,(item,index)=>{return openBlock(),createElementBlock(Fragment,{key:item.number},[index?(openBlock(),createBlock(VDivider,{key:0})):createCommentVNode(``,true),createVNode(VListItem,{class:`py-2`,active:false,to:{query:{..._ctx.$route.query,pr:String(item.number)}}},{prepend:withCtx(()=>[createVNode(VIcon,{icon:icon(item),color:color(item)},null,8,[`icon`,`color`])]),default:withCtx(()=>[createVNode(VListItemTitle,{class:`text-title-medium text-wrap`},{default:withCtx(()=>[createTextVNode(toDisplayString(item.title),1)]),_:2},1024),createBaseVNode(`div`,_hoisted_4,[createBaseVNode(`span`,null,`#`+toDisplayString(item.number)+` · `+toDisplayString(status(item))+` · `+toDisplayString(item.author?.login)+` · `+toDisplayString(date(item.updatedAt)),1),createBaseVNode(`span`,_hoisted_5,toDisplayString(item.headRefName)+` → `+toDisplayString(item.baseRefName),1)])]),_:2},1032,[`to`])],64)}),128))]),_:1})):(openBlock(),createBlock(VSheet,{key:1,rounded:`xl`,color:`surface-light`,class:`pa-8 text-center`},{default:withCtx(()=>[createVNode(VIcon,{icon:unref(mdiSourcePull),size:`40`,class:`mb-3`},null,8,[`icon`]),_cache[19]||(_cache[19]=createBaseVNode(`h2`,{class:`text-title-large mb-2`},`No pull requests here`,-1)),_cache[20]||(_cache[20]=createBaseVNode(`p`,{class:`text-body-medium text-medium-emphasis`},`Try another filter, or turn your session into a pull request.`,-1))]),_:1})),createBaseVNode(`div`,_hoisted_6,[_ctx.$route.query.prCursor?(openBlock(),createBlock(VBtn,{key:0,variant:`text`,height:`48`,onClick:_cache[10]||(_cache[10]=$event=>navigate({prCursor:void 0}))},{default:withCtx(()=>[..._cache[21]||(_cache[21]=[createTextVNode(`First page`,-1)])]),_:1})):createCommentVNode(``,true),unref(list).data.value?.pageInfo?.hasNextPage?(openBlock(),createBlock(VBtn,{key:1,variant:`tonal`,height:`48`,"append-icon":unref(mdiArrowRight),onClick:_cache[11]||(_cache[11]=$event=>navigate({prCursor:unref(list).data.value.pageInfo.endCursor}))},{default:withCtx(()=>[..._cache[22]||(_cache[22]=[createTextVNode(` Next page `,-1)])]),_:1},8,[`append-icon`])):createCommentVNode(``,true)])],64)):pr.value?(openBlock(),createElementBlock(Fragment,{key:4},[createBaseVNode(`div`,_hoisted_7,[createBaseVNode(`div`,_hoisted_8,[createVNode(VChip,{color:color(pr.value),"prepend-icon":icon(pr.value),variant:`tonal`},{default:withCtx(()=>[createTextVNode(toDisplayString(status(pr.value)),1)]),_:1},8,[`color`,`prepend-icon`]),createBaseVNode(`span`,_hoisted_9,`#`+toDisplayString(pr.value.number)+` · `+toDisplayString(pr.value.author?.login),1)]),createBaseVNode(`h2`,_hoisted_10,toDisplayString(pr.value.title),1),createBaseVNode(`div`,_hoisted_11,[createBaseVNode(`span`,null,toDisplayString(pr.value.changedFiles)+` files changed`,1),createBaseVNode(`span`,_hoisted_12,`+`+toDisplayString(pr.value.additions),1),createBaseVNode(`span`,_hoisted_13,`−`+toDisplayString(pr.value.deletions),1)])]),createVNode(VSheet,{rounded:`xl`,color:`surface-light`,class:`pa-5 d-flex flex-column ga-4`},{default:withCtx(()=>[createBaseVNode(`div`,_hoisted_14,[createVNode(VIcon,{icon:unref(mdiSourceBranch),color:`primary`,class:`mt-1`},null,8,[`icon`]),createBaseVNode(`div`,_hoisted_15,[_cache[23]||(_cache[23]=createBaseVNode(`div`,{class:`text-label-large`},`Session source · Save destination`,-1)),createBaseVNode(`div`,_hoisted_16,toDisplayString(pr.value.headRepository?.nameWithOwner||`Deleted repository`)+`:`+toDisplayString(pr.value.headRefName),1),createBaseVNode(`div`,_hoisted_17,`Proposed into `+toDisplayString(repository.value)+`:`+toDisplayString(pr.value.baseRefName),1)])]),pr.value.state===`OPEN`?(openBlock(),createElementBlock(`p`,_hoisted_18,`Open an isolated session with this PR’s changes and description. Save publishes further work to its source branch.`)):createCommentVNode(``,true),pr.value.state===`OPEN`&&pr.value.unavailableReason?(openBlock(),createElementBlock(`p`,_hoisted_19,toDisplayString(pr.value.unavailableReason),1)):pr.value.state===`OPEN`&&!toolbar.value.canCreateSession?(openBlock(),createElementBlock(`p`,_hoisted_20,toDisplayString(toolbar.value.createSessionTitle),1)):createCommentVNode(``,true),createBaseVNode(`div`,_hoisted_21,[pr.value.state===`OPEN`?(openBlock(),createBlock(VBtn,{key:0,color:`primary`,rounded:`pill`,height:`48`,"prepend-icon":unref(mdiSourcePull),disabled:Boolean(pr.value.unavailableReason)||!toolbar.value.canCreateSession||toolbar.value.createSessionRunning,onClick:_cache[12]||(_cache[12]=$event=>assistantDialog.value=true)},{default:withCtx(()=>[..._cache[24]||(_cache[24]=[createTextVNode(` Open as session `,-1)])]),_:1},8,[`prepend-icon`,`disabled`])):createCommentVNode(``,true),createVNode(VBtn,{href:pr.value.url,target:`_blank`,rel:`noopener noreferrer`,variant:`text`,height:`48`,"append-icon":unref(mdiOpenInNew)},{default:withCtx(()=>[..._cache[25]||(_cache[25]=[createTextVNode(`View on GitHub`,-1)])]),_:1},8,[`href`,`append-icon`])])]),_:1}),createVNode(GithubPullRequestActions_default,{"pull-request":pr.value,"api-path":`${basePath.value}/${number.value}`,disabled:unref(detail).isFetching.value,onChanged:actionFinished},null,8,[`pull-request`,`api-path`,`disabled`]),createVNode(VSheet,{rounded:`xl`,border:``,class:`pa-5 pull-requests__description`},{default:withCtx(()=>[_cache[26]||(_cache[26]=createBaseVNode(`h3`,{class:`text-title-medium mb-4`},`Description`,-1)),pr.value.body?(openBlock(),createBlock(unref(LongTextPreviewBlocks_default),{key:0,blocks:description.value},null,8,[`blocks`])):(openBlock(),createElementBlock(`p`,_hoisted_22,`No description provided.`))]),_:1})],64)):createCommentVNode(``,true)],64)),available.value&&assistantDialog.value?(openBlock(),createBlock(Vibe64AssistantSessionDialog_default,{key:2,modelValue:assistantDialog.value,"onUpdate:modelValue":_cache[13]||(_cache[13]=$event=>assistantDialog.value=$event),toolbar:toolbar.value,onCreated:created},null,8,[`modelValue`,`toolbar`])):createCommentVNode(``,true),available.value?(openBlock(),createBlock(Vibe64CreatePullRequestDialog_default,{key:3,modelValue:createDialog.value,"onUpdate:modelValue":_cache[14]||(_cache[14]=$event=>createDialog.value=$event),"dashboard-context":__props.dashboardContext,onCreated:published},null,8,[`modelValue`,`dashboard-context`])):createCommentVNode(``,true)])}}};var GithubPullRequestsPanel_default=_plugin_vue_export_helper_default(_sfc_main$1,[[`__scopeId`,`data-v-64ada9f7`]]);var _sfc_main={__name:`index`,props:{dashboardContext:{type:Object,default:()=>({})}},setup(__props){return(_ctx,_cache)=>{return openBlock(),createBlock(GithubPullRequestsPanel_default,{"dashboard-context":__props.dashboardContext},null,8,[`dashboard-context`])}}};export{_sfc_main as default};
|