@vellumai/web 0.11.3 → 0.11.4-staging.2
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/README.md +0 -8
- package/dist/assets/AnimatePresence-wQN1d2rQ.js +9 -0
- package/dist/assets/BundleConfirmPage-Blq6GhVG.js +1 -0
- package/dist/assets/Trans-CPcWO-v6.js +1 -0
- package/dist/assets/a2a-invite-BNCOmr8h.js +1 -0
- package/dist/assets/about-page-CTTTxSzr.js +1 -0
- package/dist/assets/access-wabdRUmQ.js +1 -0
- package/dist/assets/account-CtIKBm9p.js +1 -0
- package/dist/assets/account-page-DINYg3Rl.js +1 -0
- package/dist/assets/account-shell-DQFZ4C79.js +1 -0
- package/dist/assets/acp-run-actions-CkYR2vBH.js +1 -0
- package/dist/assets/acp-run-detail-panel-Dt_Dcegh.js +5 -0
- package/dist/assets/acp-run-store-k9Syb04D.js +1 -0
- package/dist/assets/activity-steps-panel-B9N9npP8.js +1 -0
- package/dist/assets/add-credential-modal-Bn2SkYV8.js +1 -0
- package/dist/assets/add-credits-modal-lFCQGz49.js +1 -0
- package/dist/assets/ai-page-DuZ_jor4.js +1 -0
- package/dist/assets/animate-WKjTn2w_.js +1 -0
- package/dist/assets/animated-avatar--_W54iT9.js +1 -0
- package/dist/assets/api-C72Ea0va.js +1 -0
- package/dist/assets/api-Dppu0jIX.js +1 -0
- package/dist/assets/api-key-screen-CbIBGdOH.js +1 -0
- package/dist/assets/app-card-BrtrF2PU.js +1 -0
- package/dist/assets/app-info-DFgKdE7W.js +1 -0
- package/dist/assets/archive-Cp86wmG1.js +1 -0
- package/dist/assets/archive-redirect-page-bx5xRoCl.js +1 -0
- package/dist/assets/arrow-down-to-line-BUIhl9J1.js +1 -0
- package/dist/assets/arrow-left-xVF3p2Qp.js +1 -0
- package/dist/assets/arrow-right-BWL8Hl6K.js +1 -0
- package/dist/assets/arrow-up-BNWtJ6NE.js +1 -0
- package/dist/assets/assistant-feature-flag-store-j3wC3wtf.js +1 -0
- package/dist/assets/assistant-identity-store-DTP7xfNP.js +1 -0
- package/dist/assets/assistant-status-panel-DUB7x8Cv.js +1 -0
- package/dist/assets/auth-store-B9pHhreb.js +2 -0
- package/dist/assets/avatar-random-Ux7JUtwk.js +1 -0
- package/dist/assets/avatar-renderer-Bja-CJEM.js +1 -0
- package/dist/assets/background-task-actions-D3TOUuY8.js +1 -0
- package/dist/assets/background-task-detail-panel-nHViOVhW.js +1 -0
- package/dist/assets/background-task-store-r1LOGfBn.js +1 -0
- package/dist/assets/ban-4FBs8Anm.js +1 -0
- package/dist/assets/bell-CpYZHPGU.js +1 -0
- package/dist/assets/billing-page-BtPUFL3X.js +3 -0
- package/dist/assets/billing-redirect-page-Dp-j37M1.js +1 -0
- package/dist/assets/bookmarks-page-BA7-0dXF.js +1 -0
- package/dist/assets/brain-BkpxPjmn.js +1 -0
- package/dist/assets/browser-DwONNRIj.js +2 -0
- package/dist/assets/bug-DwW8prtd.js +1 -0
- package/dist/assets/build-state-bnyw3m5Y.js +1 -0
- package/dist/assets/button-DSjqKLvM.js +1 -0
- package/dist/assets/calendar-DFz-eSzk.js +1 -0
- package/dist/assets/capture-error-Cdvvw9J5.js +4 -0
- package/dist/assets/channels-C4uOLymq.js +1 -0
- package/dist/assets/channels-page-route-Da6XgpGs.js +9 -0
- package/dist/assets/chart-column-DupTx7Uc.js +1 -0
- package/dist/assets/chat-BfpNzA77.js +1 -0
- package/dist/assets/chat-DRdXDFUk.js +3 -0
- package/dist/assets/chat-avatar-RM6-aunH.js +1 -0
- package/dist/assets/chat-layout-slots-store-Diue1siL.js +1 -0
- package/dist/assets/chat-markdown-message-DWQZLyLI.js +1 -0
- package/dist/assets/check-CNBoUiyR.js +1 -0
- package/dist/assets/checkbox-DyHMOWN6.js +1 -0
- package/dist/assets/checkout-continuation-B34WX6T6.js +1 -0
- package/dist/assets/checkout-page-ZxCMmuwz.js +1 -0
- package/dist/assets/checkout-return-target-CpckAKDY.js +1 -0
- package/dist/assets/chevron-down-B_6pb9kS.js +1 -0
- package/dist/assets/chevron-left-B7yHWg2l.js +1 -0
- package/dist/assets/chevron-right-Dx_5VMo6.js +1 -0
- package/dist/assets/chevron-up-CU46uUqC.js +1 -0
- package/dist/assets/circle-alert-DEIiXMF-.js +1 -0
- package/dist/assets/circle-check-BG2g8udA.js +1 -0
- package/dist/assets/circle-check-big-BRKMTxhd.js +1 -0
- package/dist/assets/circle-minus-CHiR1az9.js +1 -0
- package/dist/assets/circle-x-BQYELb1V.js +1 -0
- package/dist/assets/client-feature-flag-store-B9Bz0uyL.js +1 -0
- package/dist/assets/client-perf-Daz5cYUH.js +1 -0
- package/dist/assets/clipboard-copy-BL49CFI3.js +1 -0
- package/dist/assets/clock-DSx5dIWv.js +1 -0
- package/dist/assets/cloud-BkCUNbc7.js +1 -0
- package/dist/assets/cloud-off-CpFUHEgx.js +1 -0
- package/dist/assets/code-CvwdlCR7.js +1 -0
- package/dist/assets/coins-B6rJlYQ0.js +1 -0
- package/dist/assets/command-palette-C6h4Ip2u.js +1 -0
- package/dist/assets/command-palette-window-page-BKbM5K6f.js +1 -0
- package/dist/assets/common-CPxc0tHz.js +1 -0
- package/dist/assets/community-page-D1uzvBFw.js +1 -0
- package/dist/assets/companion-surface-page-BbU9Hj0z.js +1 -0
- package/dist/assets/composer-settings-DYfbHO-e.js +1 -0
- package/dist/assets/confirm-dialog-DNaRfy4W.js +1 -0
- package/dist/assets/connect-page-DxRMNc2U.js +1 -0
- package/dist/assets/consent-9-XXaxZ9.js +1 -0
- package/dist/assets/consent-controls-Dz0ScMsh.js +1 -0
- package/dist/assets/contacts-gateway-Dp40T_dj.js +1 -0
- package/dist/assets/contacts-page-route-C-7wKpdG.js +1 -0
- package/dist/assets/contacts-pvrehYPe.js +1 -0
- package/dist/assets/conversation-cache-ztu3M4pz.js +1 -0
- package/dist/assets/conversation-list-fetchers-eA7yZMEu.js +1 -0
- package/dist/assets/conversation-navigation-tCTlvwgs.js +1 -0
- package/dist/assets/conversation-queries-DkkuIyRB.js +1 -0
- package/dist/assets/conversation-selection-Da6kgY3F.js +1 -0
- package/dist/assets/conversation-store-BnS0mmz7.js +1 -0
- package/dist/assets/copy-to-clipboard-DRZUoOti.js +1 -0
- package/dist/assets/cpu-BO_MyzHO.js +1 -0
- package/dist/assets/credential-entry-page-DqEK_3ve.js +1 -0
- package/dist/assets/credential-requests-BsmEdX7t.js +1 -0
- package/dist/assets/credentials-page-Nx8MKxw7.js +1 -0
- package/dist/assets/csv-preview-DfyT2oPn.js +4 -0
- package/dist/assets/daily-reset-time-B28vdbVK.js +1 -0
- package/dist/assets/danger-zone-redirect-page-DY3LtITR.js +1 -0
- package/dist/assets/debug-page-F58Vngs5.js +4 -0
- package/dist/assets/deploy-dialogs-Dr5UW72X.js +1 -0
- package/dist/assets/deploy-store-BAIpED5W.js +1 -0
- package/dist/assets/desktop-voice-activity-CHblqyyn.js +1 -0
- package/dist/assets/detail-card-BvBqhvvy.js +1 -0
- package/dist/assets/detail-drawer-zQohjzAF.js +1 -0
- package/dist/assets/detail-shell-6omiDynS.js +1 -0
- package/dist/assets/developer-page-BgkajhCF.js +1 -0
- package/dist/assets/devices-redirect-page-BXqfVWSd.js +1 -0
- package/dist/assets/diagnostics-B6s70M5A.js +1 -0
- package/dist/assets/dictation-overlay-BLLyYBjv.js +1 -0
- package/dist/assets/dictation-overlay-page-DR63_PvH.js +1 -0
- package/dist/assets/diff-rows-ZG9FwscH.js +1 -0
- package/dist/assets/dist-CYFZCv2b.js +1 -0
- package/dist/assets/dist-Df8G739y.js +1 -0
- package/dist/assets/doctor-handoff-store-DbvChP6h.js +1 -0
- package/dist/assets/document-viewer-container-CiSaZjGT.js +2 -0
- package/dist/assets/document-viewer-page-B41ybONf.js +1 -0
- package/dist/assets/download-Bld7ch1X.js +1 -0
- package/dist/assets/edge-swipe-arbiter-store-ChMvF7t2.js +1 -0
- package/dist/assets/effective-timezone-BHJf6K2g.js +1 -0
- package/dist/assets/ellipsis-Dm3PecnW.js +1 -0
- package/dist/assets/ellipsis-vertical-CAYfw0qB.js +1 -0
- package/dist/assets/emails-page-zqESuC5i.js +1 -0
- package/dist/assets/environment-store-DCU3hheH.js +1 -0
- package/dist/assets/esm-BAZfwa77.js +2 -0
- package/dist/assets/esm-Bbh10TA1.js +1 -0
- package/dist/assets/esm-BpO8b4iY.js +2 -0
- package/dist/assets/esm-C-oF6bck.js +2 -0
- package/dist/assets/esm-C0OhtIaa.js +1 -0
- package/dist/assets/esm-CuIRAuen.js +2 -0
- package/dist/assets/esm-CyDcfaYH.js +2 -0
- package/dist/assets/esm-D7eT5n3U.js +2 -0
- package/dist/assets/esm-tXi8GsTV.js +2 -0
- package/dist/assets/external-link-D65yhWAV.js +1 -0
- package/dist/assets/eye-DO1vbwRG.js +1 -0
- package/dist/assets/eye-bbox-BR5NO1BX.js +1 -0
- package/dist/assets/eye-off-DFGH3cWw.js +1 -0
- package/dist/assets/file-7EmuTJEW.js +1 -0
- package/dist/assets/file-code-Cm27jzr0.js +1 -0
- package/dist/assets/file-editor-B2BJsOt0.js +1 -0
- package/dist/assets/file-markdown-EG3aJEi8.js +2 -0
- package/dist/assets/file-plus-D7oOJ8y7.js +1 -0
- package/dist/assets/file-text-Ha6XXdS_.js +1 -0
- package/dist/assets/first-run-scope-mN3YhjgX.js +1 -0
- package/dist/assets/folder-DH-nMTDt.js +1 -0
- package/dist/assets/folder-open-2VkVzSD8.js +1 -0
- package/dist/assets/funnel-events-CH_O9aTg.js +1 -0
- package/dist/assets/general-page-C6eGuDih.js +1 -0
- package/dist/assets/get-memory-stats-Cm70EF9d.js +1 -0
- package/dist/assets/globe-BQ4oUIDW.js +1 -0
- package/dist/assets/haptics-BhuZvnto.js +2 -0
- package/dist/assets/hard-drive-BxeWK7dU.js +1 -0
- package/dist/assets/hatching-screen-Ceyfxgc-.js +1 -0
- package/dist/assets/heart-C4jBeqJF.js +1 -0
- package/dist/assets/home-CoA1W6RA.js +1 -0
- package/dist/assets/home-page-route-DdXLgyeu.js +1 -0
- package/dist/assets/home-tool-permission-card-NAxzVd1l.js +1 -0
- package/dist/assets/hosting-screen-D05jZjLX.js +1 -0
- package/dist/assets/i18n-BR-AyG5b.js +10 -0
- package/dist/assets/identity-CgcUPHQZ.js +1 -0
- package/dist/assets/identity-page-route-BlKLitBM.js +7 -0
- package/dist/assets/image-CwetkbD4.js +1 -0
- package/dist/assets/inbox-BbYgNGwk.js +1 -0
- package/dist/assets/index-CKyw1JVb.js +11 -0
- package/dist/assets/index-DJ5ObIDJ.css +2 -0
- package/dist/assets/info-Bjcv3rf9.js +1 -0
- package/dist/assets/ingest-BwYkhorN.js +1 -0
- package/dist/assets/input-BG94bPcH.js +1 -0
- package/dist/assets/inspect-page-m1poii66.js +9 -0
- package/dist/assets/installed-plugins-query-DeGY29mj.js +1 -0
- package/dist/assets/integration-icon-CsZDnIcJ.js +1 -0
- package/dist/assets/integrations-page-Duhjka1l.js +1 -0
- package/dist/assets/intelligence-Bpz4mQfO.js +5 -0
- package/dist/assets/intelligence-layout-ld1yOf08.js +1 -0
- package/dist/assets/invalidate-memory-queries-YJf2XJ5P.js +1 -0
- package/dist/assets/invalidate-plugin-queries-CySCFK8G.js +1 -0
- package/dist/assets/key-round-BeLlbSFj.js +1 -0
- package/dist/assets/keyboard-shortcuts-redirect-page-BUEUuL5W.js +1 -0
- package/dist/assets/laptop-BX8NMrC1.js +1 -0
- package/dist/assets/latest-assistant-text-CDrxmzc0.js +24 -0
- package/dist/assets/layout-grid-C3zr7IEa.js +1 -0
- package/dist/assets/library-CxAscKuj.js +1 -0
- package/dist/assets/library-detail-page-v5CrGIps.js +1 -0
- package/dist/assets/library-page-BUnsZHzU.js +1 -0
- package/dist/assets/lightbulb-C2QxQWpK.js +1 -0
- package/dist/assets/link-2-CA1w44Gq.js +1 -0
- package/dist/assets/link-BQJduA1e.js +1 -0
- package/dist/assets/list-COQcQTOh.js +1 -0
- package/dist/assets/loader-circle-oY5laABh.js +1 -0
- package/dist/assets/local-mode-DP-5m-kS.js +39 -0
- package/dist/assets/local-runtime-upgrade-Bwp6_dxW.js +1 -0
- package/dist/assets/log-in-BE4abPjq.js +1 -0
- package/dist/assets/log-out-D4mnwX29.js +1 -0
- package/dist/assets/login-flow-imrf1-ub.js +1 -0
- package/dist/assets/login-page-C8owPhpB.js +1 -0
- package/dist/assets/logout-page-DfY78j6S.js +1 -0
- package/dist/assets/logs-BlQUbg5S.js +1 -0
- package/dist/assets/logs-layout-Dox-b2zq.js +1 -0
- package/dist/assets/mail-B0iH8Wii.js +1 -0
- package/dist/assets/media-preview-6mD4wHKW.js +1 -0
- package/dist/assets/memory-page-route-Cen_nGPc.js +2 -0
- package/dist/assets/memory-router-playground-page-BvNM2MJO.js +1 -0
- package/dist/assets/menu-Gu_6PRrL.js +1 -0
- package/dist/assets/message-circle-8fKbbQcs.js +1 -0
- package/dist/assets/message-content-BrFs5fmC.js +1 -0
- package/dist/assets/message-files-panel-CECqngl9.js +1 -0
- package/dist/assets/message-square-UW8LcsnU.js +1 -0
- package/dist/assets/message-square-text-B06iN0sm.js +1 -0
- package/dist/assets/messages-ctx0P03F.js +13 -0
- package/dist/assets/metric-card-CRmU_rxS.js +1 -0
- package/dist/assets/mic-BuTY2uVU.js +1 -0
- package/dist/assets/middleware-uwxeHHVb.js +1 -0
- package/dist/assets/minimize-2-DZa-Yfq6.js +1 -0
- package/dist/assets/modal-Bt1DPFgW.js +1 -0
- package/dist/assets/monitor-4IGIx6Wb.js +1 -0
- package/dist/assets/moon-C8Wjcz8V.js +1 -0
- package/dist/assets/multi-activity-group-DuW4ziR3.js +1 -0
- package/dist/assets/native-anchor-BE-YHt8Q.js +1 -0
- package/dist/assets/native-auth-error-CFWzetfp.js +1 -0
- package/dist/assets/native-deep-link-DliAfHU5.js +2 -0
- package/dist/assets/native-file-B9kJgftd.js +2 -0
- package/dist/assets/navigation-resolver-CDeIpFuD.js +1 -0
- package/dist/assets/not-found-mMT3d6dm.js +1 -0
- package/dist/assets/notice-C9v3KOP3.js +1 -0
- package/dist/assets/notifications-Dx3P9a9Q.js +1 -0
- package/dist/assets/notifications-page-COU3Z3YY.js +1 -0
- package/dist/assets/oauth-complete-page-D5uYsl41.js +105 -0
- package/dist/assets/oauth-connection-utils-SS0qmAK4.js +1 -0
- package/dist/assets/oauth-popup-complete-page-BLw62jns.js +105 -0
- package/dist/assets/onboarding-C-LQqXEa.js +1 -0
- package/dist/assets/onboarding-layout-D8Kv-5kM.js +1 -0
- package/dist/assets/onboarding-navigation-BI2ZIqE9.js +1 -0
- package/dist/assets/onboarding-store-CfEbEnN0.js +1 -0
- package/dist/assets/open-workspace-file-DFo0Oq0o.js +2 -0
- package/dist/assets/operational-status-BsKLhv9Z.js +1 -0
- package/dist/assets/page-shell-DD_mHkHn.js +1 -0
- package/dist/assets/page-surface-store-LM8JrGI5.js +1 -0
- package/dist/assets/pairing-page-CI_qOlWo.js +1 -0
- package/dist/assets/paperclip-BIlwG8TK.js +1 -0
- package/dist/assets/password-reset-page-0k2eeyou.js +1 -0
- package/dist/assets/pdf-file-preview-5NsoLZLI.js +1 -0
- package/dist/assets/pdf-preview-DEWKJD0r.js +2 -0
- package/dist/assets/pencil-kTdx15WT.js +1 -0
- package/dist/assets/personality-page-CI8jnXQp.js +1 -0
- package/dist/assets/plans-page-BlxaE-cv.js +1 -0
- package/dist/assets/platform-detection-D4gxJctC.js +6 -0
- package/dist/assets/platform-login-notice-CM-AbOQ7.js +1 -0
- package/dist/assets/platform-loopback-page-BLNuk6f2.js +1 -0
- package/dist/assets/play-kF4y_ovX.js +1 -0
- package/dist/assets/plug-CQDevvb-.js +1 -0
- package/dist/assets/plugin-detail-page-N3j9G0yc.js +1 -0
- package/dist/assets/plugins-page-BPSPELgG.js +1 -0
- package/dist/assets/plugins-surface-CLpV3JV6.js +1 -0
- package/dist/assets/plus-CwK68LCA.js +1 -0
- package/dist/assets/pointer-DLKG188W.js +1 -0
- package/dist/assets/prefs-Bxlc7g3M.js +1 -0
- package/dist/assets/preview-error-B-1p750d.js +1 -0
- package/dist/assets/preview-skeleton-BreSI6Ln.js +1 -0
- package/dist/assets/privacy-page-0K-bsvKl.js +1 -0
- package/dist/assets/privacy-screen-DgDOXFfw.js +1 -0
- package/dist/assets/profile-metadata-DAXhAdlI.js +1 -0
- package/dist/assets/profile-pickers-DBCSE_FG.js +1 -0
- package/dist/assets/progress-bar-3n-2T7Oy.js +1 -0
- package/dist/assets/provider-callback-page-BN9NQV7v.js +1 -0
- package/dist/assets/provider-key-CR8jz-eM.js +1 -0
- package/dist/assets/provider-signup-page-CTwmzSoF.js +1 -0
- package/dist/assets/provisioning-targets-CFe7Jgy1.js +1 -0
- package/dist/assets/proxy-Do-Khsj0.js +1 -0
- package/dist/assets/push-registration-CIhXf1CF.js +2 -0
- package/dist/assets/puzzle-o8S9l_NJ.js +1 -0
- package/dist/assets/quick-input-page-Mw2f8F3_.js +1 -0
- package/dist/assets/react-query.gen-CqLxrlpP.js +1 -0
- package/dist/assets/react-query.gen-vkBavCkI.js +1 -0
- package/dist/assets/refresh-cw-Cvdm1xeK.js +1 -0
- package/dist/assets/remote-gateway-session-DxuSBHli.js +1 -0
- package/dist/assets/remote-web-Di_UF41i.js +1 -0
- package/dist/assets/remove-from-device-dialog-DSScuMVd.js +1 -0
- package/dist/assets/repeat-PaQ1rsKC.js +1 -0
- package/dist/assets/research-facts-CvoMry5Y.js +1 -0
- package/dist/assets/research-mock-page-bhSrGrBh.js +1 -0
- package/dist/assets/research-onboarding-persistence-D9HRWnHA.js +1 -0
- package/dist/assets/research-onboarding-route-CKyfP6oo.js +50 -0
- package/dist/assets/research-results-view-7psD5IrG.js +3 -0
- package/dist/assets/resolved-assistants-store-BuqctGKE.js +1 -0
- package/dist/assets/retire-confirm-dialog-BD1rkM8j.js +1 -0
- package/dist/assets/review-terms-screen-XIGeusDw.js +1 -0
- package/dist/assets/rotate-ccw-RaucWIHS.js +1 -0
- package/dist/assets/routes-C293MsBG.js +1 -0
- package/dist/assets/routes-lLsbgbrj.js +24 -0
- package/dist/assets/runtime-upgrade-banner-BeO8tW05.js +2 -0
- package/dist/assets/sandbox-bridge-BismgxxG.js +275 -0
- package/dist/assets/schedules-BaUXJBRS.js +1 -0
- package/dist/assets/schedules-DVJx5NG9.js +1 -0
- package/dist/assets/schedules-JL1Laub-.js +1 -0
- package/dist/assets/schedules-page-DRr8EB5D.js +1 -0
- package/dist/assets/sdk.gen-Br55zhZN.js +6 -0
- package/dist/assets/sdk.gen-CMy8CiG0.js +1 -0
- package/dist/assets/sdk.gen-CUWXKhFV.js +6 -0
- package/dist/assets/search-DbyaO8rG.js +1 -0
- package/dist/assets/security-redirect-page-Ce11_hfW.js +1 -0
- package/dist/assets/select-B86W_Hs8.js +1 -0
- package/dist/assets/select-assistant-screen-Cbta9HDV.js +1 -0
- package/dist/assets/self-hosted-servers-omz1yNrQ.js +1 -0
- package/dist/assets/send-CpbQGYQ9.js +1 -0
- package/dist/assets/setting-row-BgrWOMW9.js +1 -0
- package/dist/assets/settings-DKVDS49I.js +1 -0
- package/dist/assets/settings-bHOjP4mt.js +1 -0
- package/dist/assets/settings-divider-HtBTQzlA.js +1 -0
- package/dist/assets/settings-layout-BdUaFkyr.js +1 -0
- package/dist/assets/settings-navigation-vp8wtiyE.js +1 -0
- package/dist/assets/share-feedback-modal-D9fAEU5y.js +2 -0
- package/dist/assets/shield-B-KbNxGy.js +1 -0
- package/dist/assets/shield-check-CchXTN7c.js +1 -0
- package/dist/assets/sidebar-tree-9BVzkS4K.js +1 -0
- package/dist/assets/signup-page-lzOszv4S.js +1 -0
- package/dist/assets/signup-shell-XnqyIHQa.js +1 -0
- package/dist/assets/site-favicon-BvIzxzVw.js +1 -0
- package/dist/assets/skill-detail-page-BdSINra9.js +2 -0
- package/dist/assets/skill-detail-panel-88oHOdSH.js +1 -0
- package/dist/assets/skill-icon-xO9VGnPV.js +1 -0
- package/dist/assets/skills-HuNDpwX2.js +1 -0
- package/dist/assets/skills-page-bnp9x1iR.js +1 -0
- package/dist/assets/sliders-horizontal-DOPSCMHk.js +1 -0
- package/dist/assets/smartphone-PXi_KwFC.js +1 -0
- package/dist/assets/sound-manager-CTd-DV3i.js +1 -0
- package/dist/assets/sounds-page-CeZjxvIu.js +1 -0
- package/dist/assets/sparkles-DB7sSiA2.js +1 -0
- package/dist/assets/square-DD_y88hI.js +1 -0
- package/dist/assets/src-njXJqrpo.js +293 -0
- package/dist/assets/start-screen-B1dP4bbA.js +1 -0
- package/dist/assets/status-badge-pill-BuiIFTz-.js +1 -0
- package/dist/assets/stt-language-picker-modal-BK_1xcYe.js +1 -0
- package/dist/assets/subagent-detail-panel-CkxNHVOv.js +4 -0
- package/dist/assets/subagent-store-B0Ftpguk.js +3 -0
- package/dist/assets/sun-Drx9AZm7.js +1 -0
- package/dist/assets/superpowers-page-B_1_d4LI.js +1 -0
- package/dist/assets/surface-parse-helpers-COefGJYZ.js +1 -0
- package/dist/assets/system-events-page-BBVNKwBJ.js +1 -0
- package/dist/assets/system-events-redirect-page-W8knAadR.js +1 -0
- package/dist/assets/tag-D0oiSRye.js +1 -0
- package/dist/assets/telegram-setup-wizard-D_Vwl3_I.js +1 -0
- package/dist/assets/terminal-B4go-vP8.js +1 -0
- package/dist/assets/terminal-BDxxes3v.js +1 -0
- package/dist/assets/text-preview-BIeJHE0-.js +1 -0
- package/dist/assets/theme-stage-page-gWlI1Nzt.js +1 -0
- package/dist/assets/threshold-presets-Bm9FqtVb.js +1 -0
- package/dist/assets/tiptap-document-editor-BunsgiVU.js +286 -0
- package/dist/assets/toast-BrKo5b4d.js +1 -0
- package/dist/assets/toggle-ibKLySIy.js +1 -0
- package/dist/assets/tool-detail-panel-DhzIzJ1Y.js +12 -0
- package/dist/assets/trash-2-DL_3_16e.js +1 -0
- package/dist/assets/triangle-alert-C5SOfs-q.js +1 -0
- package/dist/assets/trust-rules-api-CEt20Kh9.js +1 -0
- package/dist/assets/upgrade-cancel-page-BiXIXlae.js +1 -0
- package/dist/assets/upgrade-success-page-C3ptzfvo.js +1 -0
- package/dist/assets/upload-Bq5fidDK.js +1 -0
- package/dist/assets/usage-redirect-page-DXcbB81p.js +1 -0
- package/dist/assets/use-active-assistant-id-Btl1-4sB.js +1 -0
- package/dist/assets/use-app-theme-CODorJpK.js +1 -0
- package/dist/assets/use-assistant-avatar--hNHYiPK.js +1 -0
- package/dist/assets/use-assistant-capability-B55Ji4gD.js +1 -0
- package/dist/assets/use-assistant-identity-details-0JMOrf_F.js +1 -0
- package/dist/assets/use-attachment-preview-jmFGN8h6.js +2 -0
- package/dist/assets/use-attachment-squares-BSKsILdv.js +1 -0
- package/dist/assets/use-avatar-accent-var-DzqC3Diq.js +1 -0
- package/dist/assets/use-body-scroll-lock-C7SDkbNZ.js +1 -0
- package/dist/assets/use-bookmarks-gJWrPT2g.js +1 -0
- package/dist/assets/use-bundled-avatar-components-B4YxFEiT.js +2 -0
- package/dist/assets/use-bus-subscription-CBlDL_ew.js +1 -0
- package/dist/assets/use-checkout-dismiss-refresh-vVysV2xK.js +1 -0
- package/dist/assets/use-command-palette-sections-BFV15eUp.js +1 -0
- package/dist/assets/use-copy-to-clipboard-BeG7f_tZ.js +1 -0
- package/dist/assets/use-discord-nudge-FuXIZ_hw.js +1 -0
- package/dist/assets/use-edge-swipe-BxVxJfNS.js +1 -0
- package/dist/assets/use-edge-swipe-back-DpMHlX97.js +2 -0
- package/dist/assets/use-edit-app-BlsO9Zav.js +1 -0
- package/dist/assets/use-effective-timezone-CEgnEQb7.js +1 -0
- package/dist/assets/use-element-size-DeouS2c2.js +1 -0
- package/dist/assets/use-invite-link-dialog-TjRVy1GF.js +1 -0
- package/dist/assets/use-is-mobile-BONxmNg6.js +1 -0
- package/dist/assets/use-is-org-ready-DyYOTCvQ.js +1 -0
- package/dist/assets/use-local-file-info-Dz017Fii.js +1 -0
- package/dist/assets/use-media-query-CtzETH7h.js +1 -0
- package/dist/assets/use-onboarding-login-DMUDDVUi.js +1 -0
- package/dist/assets/use-platform-assistant-id-BE6AIost.js +1 -0
- package/dist/assets/use-platform-gate-zft2-meL.js +1 -0
- package/dist/assets/use-reduced-motion-D2PbFfB8.js +1 -0
- package/dist/assets/use-return-to-short-circuit-LcamIc_k.js +1 -0
- package/dist/assets/use-save-twilio-credentials-COzAERtv.js +1 -0
- package/dist/assets/use-side-list-room-C1msxm__.js +1 -0
- package/dist/assets/use-skill-actions-oBpczwnY.js +1 -0
- package/dist/assets/use-skill-detail-files-Bzwall4_.js +1 -0
- package/dist/assets/use-sticky-profiles-D6xRVCOS.js +1 -0
- package/dist/assets/use-stt-language-selection-D7DxP7Eo.js +1 -0
- package/dist/assets/use-subagent-card-data-DOp8Etmj.js +1 -0
- package/dist/assets/use-supports-bookmarks-SDHU-RBu.js +1 -0
- package/dist/assets/use-supports-credentials-settings-D9oEIOk9.js +1 -0
- package/dist/assets/use-swipe-engine-xGdF8hBv.js +1 -0
- package/dist/assets/use-touch-mobile-CXJ4hTiW.js +1 -0
- package/dist/assets/use-transcript-message-by-id-D5hHvanI.js +1 -0
- package/dist/assets/use-transcript-messages-BL55GFRr.js +3 -0
- package/dist/assets/use-voice-sample-preview-CLWX7j-h.js +1 -0
- package/dist/assets/useTranslation-DxUSOwQs.js +1 -0
- package/dist/assets/user-Bw0w1JwI.js +1 -0
- package/dist/assets/user-plus-Vg2Aibhi.js +1 -0
- package/dist/assets/users-BI74h_lc.js +1 -0
- package/dist/assets/utils-1ZnEn_W1.js +1 -0
- package/dist/assets/viewer-store-DWY4BtGj.js +1 -0
- package/dist/assets/voice-page-C3q84Y4H.js +1 -0
- package/dist/assets/voice-providers-note-CuMBTzti.js +1 -0
- package/dist/assets/volume-2-DgWyCs5f.js +1 -0
- package/dist/assets/weather-forecast-display-BRi0CN73.js +1 -0
- package/dist/assets/web-Bc0yxcTg.js +1 -0
- package/dist/assets/web-DUcCWo6-.js +1 -0
- package/dist/assets/web-DnUU5XRV.js +1 -0
- package/dist/assets/web-DoWs0tX8.js +1 -0
- package/dist/assets/web-DprnafKw.js +1 -0
- package/dist/assets/web-S8v4qZ8W.js +1 -0
- package/dist/assets/web-bVuMezJ9.js +1 -0
- package/dist/assets/web-xXRFVuHp.js +1 -0
- package/dist/assets/web-zM0OZM8V.js +1 -0
- package/dist/assets/welcome-screen-Cy46Bw63.js +1 -0
- package/dist/assets/workflow-Dv9IyYS0.js +1 -0
- package/dist/assets/workflow-detail-panel-CM1Jep4m.js +1 -0
- package/dist/assets/workflow-store-Bpg1fqWU.js +1 -0
- package/dist/assets/workspace-B3DIYRpz.js +1 -0
- package/dist/assets/workspace-page-eCfV4q3_.js +1 -0
- package/dist/assets/workspace-tree-query-BfWSVQB5.js +1 -0
- package/dist/assets/wrench-Bpk2afMn.js +1 -0
- package/dist/assets/x-BY-Np61T.js +1 -0
- package/dist/index.html +333 -292
- package/package.json +1 -1
- package/dist/assets/AnimatePresence-D41IKJOi.js +0 -9
- package/dist/assets/BundleConfirmPage-DSomDpj_.js +0 -1
- package/dist/assets/a2a-invite-DPoues5o.js +0 -1
- package/dist/assets/about-page-XEhyTfeX.js +0 -1
- package/dist/assets/access-RDaLlBt5.js +0 -1
- package/dist/assets/account-page-JyXn859b.js +0 -1
- package/dist/assets/account-shell-DuR-x14B.js +0 -1
- package/dist/assets/acp-run-actions-BtRROeN9.js +0 -1
- package/dist/assets/acp-run-detail-panel-BsGRKgJi.js +0 -5
- package/dist/assets/acp-run-store-DAOLku4B.js +0 -1
- package/dist/assets/activity-steps-panel-DGS78a-e.js +0 -1
- package/dist/assets/add-credential-modal-DKu25tMg.js +0 -1
- package/dist/assets/add-credits-modal-CPXbw5lH.js +0 -1
- package/dist/assets/ai-page-84Y9c_q2.js +0 -1
- package/dist/assets/animate-CEUNjqNk.js +0 -1
- package/dist/assets/animated-avatar-COfAYU4u.js +0 -1
- package/dist/assets/api-DwULK0El.js +0 -1
- package/dist/assets/api-JA_IDAQk.js +0 -1
- package/dist/assets/api-key-screen-vFF5CrFw.js +0 -1
- package/dist/assets/app-card-Df-Gy7pD.js +0 -1
- package/dist/assets/app-info-Du9AiJU5.js +0 -1
- package/dist/assets/archive-VIStcSec.js +0 -1
- package/dist/assets/archive-redirect-page-01RJCSug.js +0 -1
- package/dist/assets/arrow-down-to-line-DmG4pLoU.js +0 -1
- package/dist/assets/arrow-left-BikDV6F2.js +0 -1
- package/dist/assets/arrow-right-UTImTy7b.js +0 -1
- package/dist/assets/arrow-up-C0gtfKEK.js +0 -1
- package/dist/assets/assistant-feature-flag-store-qYfAdlBG.js +0 -1
- package/dist/assets/assistant-identity-store-nE-e8KQw.js +0 -1
- package/dist/assets/assistant-status-panel-C92c678g.js +0 -1
- package/dist/assets/auth-store-BJdkkmzu.js +0 -2
- package/dist/assets/avatar-random-BiLhcs1I.js +0 -1
- package/dist/assets/avatar-renderer-CsRuhhXn.js +0 -1
- package/dist/assets/background-task-actions-NhVu8iWU.js +0 -1
- package/dist/assets/background-task-detail-panel-Dq1DgR5i.js +0 -1
- package/dist/assets/background-task-store-B1MUU_bh.js +0 -1
- package/dist/assets/ban-Dk1OXyCw.js +0 -1
- package/dist/assets/bell-aW0w-ROt.js +0 -1
- package/dist/assets/billing-page-CAFoZYGH.js +0 -3
- package/dist/assets/billing-redirect-page-CXWO9YOz.js +0 -1
- package/dist/assets/bookmarks-page-EeUOpkIO.js +0 -1
- package/dist/assets/brain-ZiC0HCCF.js +0 -1
- package/dist/assets/browser-BP3Xidk_.js +0 -2
- package/dist/assets/bug-CDEs1Scu.js +0 -1
- package/dist/assets/build-state-DJaFMxtL.js +0 -1
- package/dist/assets/button-BENY-yx_.js +0 -1
- package/dist/assets/calendar-CTyC1v1L.js +0 -1
- package/dist/assets/capture-error-Cw5vs0Ef.js +0 -4
- package/dist/assets/channels-page-route-DS9XLjMy.js +0 -9
- package/dist/assets/chart-column-CEHOik7U.js +0 -1
- package/dist/assets/chat-DYLliWTB.js +0 -1
- package/dist/assets/chat-avatar-BPhNOZzd.js +0 -1
- package/dist/assets/chat-layout-slots-store-N_sabTbs.js +0 -1
- package/dist/assets/chat-markdown-message-C6oOqDdl.js +0 -1
- package/dist/assets/check-DSgjgwlo.js +0 -1
- package/dist/assets/checkbox-C4x4HEp4.js +0 -1
- package/dist/assets/checkout-continuation-GOQDBt2E.js +0 -1
- package/dist/assets/checkout-page-BqIlZAum.js +0 -1
- package/dist/assets/checkout-return-target-VIzzqviy.js +0 -1
- package/dist/assets/chevron-down-CrFV6lfm.js +0 -1
- package/dist/assets/chevron-left-D-pnIQax.js +0 -1
- package/dist/assets/chevron-right-DBGgpEiZ.js +0 -1
- package/dist/assets/chevron-up-B84s50b8.js +0 -1
- package/dist/assets/circle-alert-De9q5FVd.js +0 -1
- package/dist/assets/circle-check-big-CpoRGdNz.js +0 -1
- package/dist/assets/circle-check-q8BVdbgw.js +0 -1
- package/dist/assets/circle-minus-Y3lFnfyL.js +0 -1
- package/dist/assets/circle-x-B5rnAOe1.js +0 -1
- package/dist/assets/client-feature-flag-store-C8ieIAKe.js +0 -1
- package/dist/assets/client-perf-C-xVLAvQ.js +0 -1
- package/dist/assets/clipboard-copy-BOU_-XoC.js +0 -1
- package/dist/assets/clock-B8umTTHk.js +0 -1
- package/dist/assets/cloud-DqktQX50.js +0 -1
- package/dist/assets/cloud-off-DyOAnFan.js +0 -1
- package/dist/assets/code-DwZ6Mhdw.js +0 -1
- package/dist/assets/coins-CJ7Ik1IC.js +0 -1
- package/dist/assets/command-palette-D6aRon6x.js +0 -1
- package/dist/assets/command-palette-window-page-B1jt_AiM.js +0 -1
- package/dist/assets/common-wFfOb0rN.js +0 -1
- package/dist/assets/community-page-y8OhCqww.js +0 -1
- package/dist/assets/companion-surface-page-qd2dSp0Y.js +0 -1
- package/dist/assets/composer-settings-Du4kV9LG.js +0 -1
- package/dist/assets/confirm-dialog-zx8L9sUi.js +0 -1
- package/dist/assets/connect-page-D91p52dR.js +0 -1
- package/dist/assets/consent-C4SGGEiM.js +0 -1
- package/dist/assets/consent-controls-SQ8G-LrA.js +0 -1
- package/dist/assets/contacts-gateway-Cz3rbqgT.js +0 -1
- package/dist/assets/contacts-page-route-B4eanbVf.js +0 -1
- package/dist/assets/conversation-cache-BmhpM_P6.js +0 -1
- package/dist/assets/conversation-list-fetchers-D3FmANI4.js +0 -1
- package/dist/assets/conversation-navigation-gR_RLe1J.js +0 -1
- package/dist/assets/conversation-queries-Bx_JApUN.js +0 -1
- package/dist/assets/conversation-selection-DXYpE4U8.js +0 -1
- package/dist/assets/conversation-store-D4pZBwP5.js +0 -1
- package/dist/assets/copy-to-clipboard-DnJHokIa.js +0 -1
- package/dist/assets/cpu-mDttg6J1.js +0 -1
- package/dist/assets/credential-entry-page-FApfdSCG.js +0 -1
- package/dist/assets/credentials-page-BLMs_5u_.js +0 -1
- package/dist/assets/csv-preview-B0xuZwnc.js +0 -4
- package/dist/assets/daily-reset-time-B2-pE2Lv.js +0 -1
- package/dist/assets/danger-zone-redirect-page-BndgqH35.js +0 -1
- package/dist/assets/debug-page-7plKE23B.js +0 -4
- package/dist/assets/deploy-dialogs-Bjz3OS-8.js +0 -1
- package/dist/assets/deploy-store-BGcHwvB5.js +0 -1
- package/dist/assets/desktop-voice-activity-C53ZhMf7.js +0 -1
- package/dist/assets/detail-card-hWrhardR.js +0 -1
- package/dist/assets/detail-drawer-s-zfqqMy.js +0 -1
- package/dist/assets/detail-panel-stop-button-CC6QoK-R.js +0 -1
- package/dist/assets/detail-shell-PCaxY4Tf.js +0 -1
- package/dist/assets/developer-page-CV5m0xk-.js +0 -1
- package/dist/assets/devices-redirect-page-BHCkcGl_.js +0 -1
- package/dist/assets/diagnostics-6dSlxnyU.js +0 -1
- package/dist/assets/dictation-overlay-DQnD0C9N.js +0 -1
- package/dist/assets/dictation-overlay-page-14QkB_bU.js +0 -1
- package/dist/assets/dist-BA9prIz1.js +0 -1
- package/dist/assets/dist-C5_d6Zkz.js +0 -1
- package/dist/assets/dist-DlYszVmN.js +0 -1
- package/dist/assets/doctor-handoff-store-DeQSIF5u.js +0 -1
- package/dist/assets/document-viewer-container-wjJ6ACJv.js +0 -2
- package/dist/assets/document-viewer-page-C8YfZSmS.js +0 -1
- package/dist/assets/download-Byg0fi0d.js +0 -1
- package/dist/assets/edge-swipe-arbiter-store-aOM60mqn.js +0 -1
- package/dist/assets/effective-timezone-CjGPHJlt.js +0 -1
- package/dist/assets/ellipsis-C7C3LPFH.js +0 -1
- package/dist/assets/ellipsis-vertical-eVgdKn9z.js +0 -1
- package/dist/assets/emails-page-BqvrSqnK.js +0 -1
- package/dist/assets/environment-store-CFfbiF-5.js +0 -1
- package/dist/assets/esm-B6_bGmvI.js +0 -2
- package/dist/assets/esm-BbMfqncR.js +0 -2
- package/dist/assets/esm-C-UZ0OO7.js +0 -2
- package/dist/assets/esm-C5lNGXsv.js +0 -2
- package/dist/assets/esm-CJlTYv9E.js +0 -1
- package/dist/assets/esm-CxjtrkZ5.js +0 -1
- package/dist/assets/esm-DUw7nXxb.js +0 -2
- package/dist/assets/esm-RwtNn1Lo.js +0 -2
- package/dist/assets/esm-ozIdE2iD.js +0 -2
- package/dist/assets/external-link-vwewPjbo.js +0 -1
- package/dist/assets/eye-GcssNJdY.js +0 -1
- package/dist/assets/eye-bbox-hZoek1Q5.js +0 -1
- package/dist/assets/eye-off-BwU7XK4M.js +0 -1
- package/dist/assets/file-CTdxLT0k.js +0 -1
- package/dist/assets/file-code-Cw2JhKbm.js +0 -1
- package/dist/assets/file-editor-DOnVeKOG.js +0 -1
- package/dist/assets/file-markdown-CGC6ZrPT.js +0 -2
- package/dist/assets/file-plus-D0O_zjgz.js +0 -1
- package/dist/assets/file-text-DDbRSMUn.js +0 -1
- package/dist/assets/first-run-scope-DKd0ZevK.js +0 -1
- package/dist/assets/folder-DBR-Zigu.js +0 -1
- package/dist/assets/folder-open-BBs1-i8r.js +0 -1
- package/dist/assets/funnel-events-BU99LZEM.js +0 -1
- package/dist/assets/general-page-C7kX0xLP.js +0 -1
- package/dist/assets/get-memory-stats-CgfjHhot.js +0 -1
- package/dist/assets/globe-COk-NH9x.js +0 -1
- package/dist/assets/haptics-Mqend0Ru.js +0 -2
- package/dist/assets/hard-drive-DsHzx0GK.js +0 -1
- package/dist/assets/hatching-screen-Dws0nCOf.js +0 -1
- package/dist/assets/heart-CRsy5qXC.js +0 -1
- package/dist/assets/home-page-route-Qs5WbFPD.js +0 -1
- package/dist/assets/home-tool-permission-card-Do3YeiVC.js +0 -1
- package/dist/assets/hosting-screen-BJB_azfa.js +0 -1
- package/dist/assets/identity-DTcIPrCK.js +0 -1
- package/dist/assets/identity-page-route-uZNXQbMq.js +0 -7
- package/dist/assets/inbox-Zbr4HDc_.js +0 -1
- package/dist/assets/index-DRExgbkb.js +0 -11
- package/dist/assets/index-Q1K0w5kB.css +0 -2
- package/dist/assets/info-CXkwGlN_.js +0 -1
- package/dist/assets/ingest-Cv1Pem27.js +0 -1
- package/dist/assets/input-DmHXRXaB.js +0 -1
- package/dist/assets/inspect-page-C1dITgHA.js +0 -9
- package/dist/assets/installed-plugins-query-CIcohCho.js +0 -1
- package/dist/assets/integration-icon-R8opqT3n.js +0 -1
- package/dist/assets/integrations-page-D4EH9FG0.js +0 -1
- package/dist/assets/intelligence-layout-ByKfD_gm.js +0 -1
- package/dist/assets/invalidate-memory-queries-CdJoJc7n.js +0 -1
- package/dist/assets/invalidate-plugin-queries-zbCn3jP3.js +0 -1
- package/dist/assets/key-round-B-C1Qgxd.js +0 -1
- package/dist/assets/keyboard-shortcuts-redirect-page-C620LY5q.js +0 -1
- package/dist/assets/laptop-BXuIFbVm.js +0 -1
- package/dist/assets/latest-assistant-text-Daw8nrLO.js +0 -24
- package/dist/assets/layout-grid-C3h1DMhl.js +0 -1
- package/dist/assets/library-detail-page-BciW_57s.js +0 -1
- package/dist/assets/library-page-CMO0VZux.js +0 -1
- package/dist/assets/lightbulb-DqvoPoCk.js +0 -1
- package/dist/assets/link-2-Bm55xvLL.js +0 -1
- package/dist/assets/link-DMi999lz.js +0 -1
- package/dist/assets/list-O_53kvwx.js +0 -1
- package/dist/assets/loader-circle-DOtGXcds.js +0 -1
- package/dist/assets/local-mode-BfEgOekp.js +0 -39
- package/dist/assets/local-runtime-upgrade-CXKbgZ4c.js +0 -1
- package/dist/assets/log-in-BkWp0GjS.js +0 -1
- package/dist/assets/log-out-un0hWR_E.js +0 -1
- package/dist/assets/login-flow-CN5J4YsY.js +0 -1
- package/dist/assets/login-page-5jtwkaF1.js +0 -1
- package/dist/assets/logout-page-Bz0x8UvE.js +0 -1
- package/dist/assets/logs-layout-B_GC1zBM.js +0 -1
- package/dist/assets/mail-CYjppw70.js +0 -1
- package/dist/assets/media-preview-DVQJVzX3.js +0 -1
- package/dist/assets/memory-page-route-BtL6zJZb.js +0 -6
- package/dist/assets/memory-router-playground-page-e4uW8QiT.js +0 -3
- package/dist/assets/menu-DKE_-iVc.js +0 -1
- package/dist/assets/message-circle-C6QWfv9m.js +0 -1
- package/dist/assets/message-content-Beh5mR15.js +0 -1
- package/dist/assets/message-files-panel-DxmbSrm8.js +0 -1
- package/dist/assets/message-square-BjBDqFUX.js +0 -1
- package/dist/assets/message-square-text-Crbwae27.js +0 -1
- package/dist/assets/messages-DSdy6Lfi.js +0 -13
- package/dist/assets/metric-card-BSJPacNm.js +0 -1
- package/dist/assets/mic-bZFqVBA_.js +0 -1
- package/dist/assets/middleware-DiHdH8q1.js +0 -1
- package/dist/assets/minimize-2-D5pX5fY1.js +0 -1
- package/dist/assets/mobile-sidebar-drawer-BGHwfePU.js +0 -1
- package/dist/assets/modal-DI63s9MQ.js +0 -1
- package/dist/assets/monitor-CPgcKlQP.js +0 -1
- package/dist/assets/moon-D9N1oSgM.js +0 -1
- package/dist/assets/multi-activity-group-D_OVaru-.js +0 -1
- package/dist/assets/native-anchor-CpFd0dIc.js +0 -1
- package/dist/assets/native-auth-error-B9Iha2zU.js +0 -1
- package/dist/assets/native-deep-link-CiI89I5P.js +0 -1
- package/dist/assets/native-file-BUoRmAbj.js +0 -2
- package/dist/assets/navigation-resolver-DrNVOkMu.js +0 -1
- package/dist/assets/not-found-ClBCK2Sg.js +0 -4
- package/dist/assets/notice-C0ifrvvJ.js +0 -1
- package/dist/assets/notifications-G7qqgf4f.js +0 -1
- package/dist/assets/notifications-page-AW-ftrs5.js +0 -1
- package/dist/assets/oauth-complete-page-CfuABbuw.js +0 -105
- package/dist/assets/oauth-connection-utils-CPrZGY1J.js +0 -1
- package/dist/assets/oauth-popup-complete-page-C4obhyly.js +0 -105
- package/dist/assets/onboarding-layout-C534GRct.js +0 -1
- package/dist/assets/onboarding-store-_SsI8JK5.js +0 -1
- package/dist/assets/open-workspace-file-DViQQLp4.js +0 -2
- package/dist/assets/page-shell-Tpt9AIL2.js +0 -1
- package/dist/assets/page-surface-store-CNB4IeOj.js +0 -1
- package/dist/assets/pairing-page-CGoWIhv7.js +0 -1
- package/dist/assets/paperclip-CQEdxfSq.js +0 -1
- package/dist/assets/password-reset-page-DPLHUy40.js +0 -1
- package/dist/assets/pdf-file-preview-n0uEV6st.js +0 -1
- package/dist/assets/pdf-preview-DNzKWskr.js +0 -2
- package/dist/assets/pencil-DidiUknI.js +0 -1
- package/dist/assets/personality-page-avdvL3Dx.js +0 -1
- package/dist/assets/plans-page-CdNdqHks.js +0 -1
- package/dist/assets/platform-detection-C_TK32Dw.js +0 -6
- package/dist/assets/platform-login-notice-BEDBlins.js +0 -1
- package/dist/assets/platform-loopback-page-DcHVugCF.js +0 -1
- package/dist/assets/play-UYtEUTRg.js +0 -1
- package/dist/assets/plugin-detail-page-CnlqMl6e.js +0 -1
- package/dist/assets/plugins-page-DN9FdRf7.js +0 -1
- package/dist/assets/plugins-surface-C5i913ST.js +0 -1
- package/dist/assets/plus-DnH9Pjq4.js +0 -1
- package/dist/assets/pointer-CmipOtDe.js +0 -1
- package/dist/assets/popover-CAbJ9178.js +0 -1
- package/dist/assets/prefs-CrbuxuNI.js +0 -1
- package/dist/assets/preview-error-CVMngD78.js +0 -1
- package/dist/assets/preview-skeleton-DsTQ51Kh.js +0 -1
- package/dist/assets/privacy-page-CfJXPReU.js +0 -1
- package/dist/assets/privacy-screen-4GElE18b.js +0 -1
- package/dist/assets/profile-metadata-DgH7VoVU.js +0 -1
- package/dist/assets/profile-pickers-ChG4_Gpc.js +0 -1
- package/dist/assets/progress-bar-CrrJKpWm.js +0 -1
- package/dist/assets/provider-callback-page-rNJpxKm4.js +0 -1
- package/dist/assets/provider-key-BZOH9D9k.js +0 -1
- package/dist/assets/provider-signup-page-BG-fVW-J.js +0 -1
- package/dist/assets/provisioning-targets-BQdyCh_j.js +0 -1
- package/dist/assets/proxy-B4sTDdE4.js +0 -1
- package/dist/assets/push-registration-C0GXHrCj.js +0 -2
- package/dist/assets/puzzle-CIWAeBs0.js +0 -1
- package/dist/assets/quick-input-page-BSDKtVff.js +0 -1
- package/dist/assets/react-query.gen-DKb3mEwJ.js +0 -1
- package/dist/assets/react-query.gen-DxjuNs-5.js +0 -1
- package/dist/assets/refresh-cw-DV6tvYxO.js +0 -1
- package/dist/assets/remote-gateway-session-CgDx1fv1.js +0 -1
- package/dist/assets/remove-from-device-dialog-BGqwuQw9.js +0 -1
- package/dist/assets/repeat-BvvxRT2U.js +0 -1
- package/dist/assets/research-facts-xV6xeZTm.js +0 -1
- package/dist/assets/research-mock-page-EswkjK_L.js +0 -1
- package/dist/assets/research-onboarding-persistence-CiHHjoc-.js +0 -1
- package/dist/assets/research-onboarding-route-s_8BLTOQ.js +0 -50
- package/dist/assets/research-results-view-CBP6WMg5.js +0 -3
- package/dist/assets/resolved-assistants-store-BFI9c7ip.js +0 -1
- package/dist/assets/retire-confirm-dialog-Bm7A3sZF.js +0 -1
- package/dist/assets/review-terms-screen-CpWYZlRr.js +0 -1
- package/dist/assets/rotate-ccw-Dcfo4EC8.js +0 -1
- package/dist/assets/routes-DE2XWIds.js +0 -23
- package/dist/assets/routes-iipg2wkc.js +0 -1
- package/dist/assets/runtime-upgrade-banner-DtzsX2m0.js +0 -2
- package/dist/assets/sandbox-bridge-WZhWtkZd.js +0 -266
- package/dist/assets/schedules-CMISpWUM.js +0 -1
- package/dist/assets/schedules-kVuR00ra.js +0 -1
- package/dist/assets/schedules-page-Cfala7Km.js +0 -1
- package/dist/assets/sdk.gen-CAngxL4a.js +0 -6
- package/dist/assets/sdk.gen-CBPZ2IdN.js +0 -6
- package/dist/assets/sdk.gen-DKYWIHI7.js +0 -1
- package/dist/assets/search-D2xMZu1P.js +0 -1
- package/dist/assets/security-redirect-page-B6xNHoo8.js +0 -1
- package/dist/assets/select-B8-i-CZ4.js +0 -1
- package/dist/assets/select-assistant-screen-BqObBI5Z.js +0 -1
- package/dist/assets/self-hosted-servers-DFgP80iG.js +0 -1
- package/dist/assets/send-BlX2px_R.js +0 -1
- package/dist/assets/setting-row-Be421VTJ.js +0 -1
- package/dist/assets/settings-751LDGs_.js +0 -1
- package/dist/assets/settings-divider-Dyvf7Uk6.js +0 -1
- package/dist/assets/settings-layout-DfPO11SQ.js +0 -1
- package/dist/assets/settings-navigation-C1wEuU56.js +0 -1
- package/dist/assets/share-feedback-modal-Ctgazbnj.js +0 -2
- package/dist/assets/shield-CCHFIJHf.js +0 -1
- package/dist/assets/shield-check-zaoUwOKj.js +0 -1
- package/dist/assets/sidebar-tree-VXRWtsy4.js +0 -1
- package/dist/assets/signup-page-CLf-r4oP.js +0 -1
- package/dist/assets/signup-shell-B_xxhiVU.js +0 -1
- package/dist/assets/site-favicon-DfuXzZcN.js +0 -1
- package/dist/assets/skill-detail-page-ChpWru-e.js +0 -2
- package/dist/assets/skill-detail-panel-DU0bdJUl.js +0 -1
- package/dist/assets/skills-B4bfakyU.js +0 -1
- package/dist/assets/skills-page-BIFWyp46.js +0 -1
- package/dist/assets/sliders-horizontal-Dd2oGqSf.js +0 -1
- package/dist/assets/smartphone-BTdDwse2.js +0 -1
- package/dist/assets/sound-manager-jVvPdZzE.js +0 -1
- package/dist/assets/sounds-page-BKelzwyH.js +0 -1
- package/dist/assets/sparkles-B94iNYGJ.js +0 -1
- package/dist/assets/square-CE8V_WXJ.js +0 -1
- package/dist/assets/src-DyqTPMO2.js +0 -293
- package/dist/assets/start-screen-CXUDtHbL.js +0 -1
- package/dist/assets/status-badge-pill---iRVZ8q.js +0 -1
- package/dist/assets/stt-language-picker-modal-BiWHaqFq.js +0 -1
- package/dist/assets/subagent-detail-panel-Gi0UOlsn.js +0 -4
- package/dist/assets/subagent-store-9SqF-NFa.js +0 -3
- package/dist/assets/sun-DnK4LisT.js +0 -1
- package/dist/assets/superpowers-page-nHT_hb33.js +0 -1
- package/dist/assets/surface-parse-helpers-Dpxz8G3q.js +0 -1
- package/dist/assets/system-events-page-Bfpn0HzE.js +0 -1
- package/dist/assets/system-events-redirect-page-D4H-Pi8R.js +0 -1
- package/dist/assets/tag-DeMzQvCo.js +0 -1
- package/dist/assets/telegram-setup-wizard-GetgaQy5.js +0 -1
- package/dist/assets/terminal-CkQ9DSF2.js +0 -1
- package/dist/assets/text-preview-CEL0P-WV.js +0 -1
- package/dist/assets/theme-stage-page-CEBFiy-u.js +0 -1
- package/dist/assets/threshold-presets-DgMnAyqn.js +0 -1
- package/dist/assets/tiptap-document-editor-DPkcv0pe.js +0 -282
- package/dist/assets/toast-BpuLSxyt.js +0 -1
- package/dist/assets/toggle-C-v4x7_A.js +0 -1
- package/dist/assets/tool-detail-panel-84bl2nI3.js +0 -2
- package/dist/assets/trash-2-BKXSi5Tj.js +0 -1
- package/dist/assets/triangle-alert-CB4pJgCL.js +0 -1
- package/dist/assets/trust-rules-api-DvCWJ952.js +0 -1
- package/dist/assets/upgrade-cancel-page-DNteIqqS.js +0 -1
- package/dist/assets/upgrade-success-page-CAeO4QtE.js +0 -1
- package/dist/assets/upload-CZL0kXl9.js +0 -1
- package/dist/assets/usage-redirect-page-B4weibcd.js +0 -1
- package/dist/assets/use-active-assistant-id-BvHP5Ojg.js +0 -1
- package/dist/assets/use-app-theme-CV9AULGm.js +0 -1
- package/dist/assets/use-assistant-avatar-Dd-EU1FC.js +0 -1
- package/dist/assets/use-assistant-capability-y4ML0NOY.js +0 -1
- package/dist/assets/use-assistant-identity-details-DqiKjphK.js +0 -1
- package/dist/assets/use-attachment-preview-B4PALbqs.js +0 -2
- package/dist/assets/use-attachment-squares-C-9Rz-8O.js +0 -1
- package/dist/assets/use-avatar-accent-var-B7jzoU_Q.js +0 -1
- package/dist/assets/use-bookmarks-BWGVUg59.js +0 -1
- package/dist/assets/use-bundled-avatar-components-CJR9zw0E.js +0 -2
- package/dist/assets/use-bus-subscription-0lId9jya.js +0 -1
- package/dist/assets/use-checkout-dismiss-refresh-BGeYbYii.js +0 -1
- package/dist/assets/use-command-palette-sections-D3aj-BzX.js +0 -1
- package/dist/assets/use-copy-to-clipboard-CT4aISCf.js +0 -1
- package/dist/assets/use-discord-nudge-BxJE92fj.js +0 -1
- package/dist/assets/use-edge-swipe-Di2s_nu-.js +0 -1
- package/dist/assets/use-edge-swipe-back-BGq52vVr.js +0 -2
- package/dist/assets/use-edit-app-u-kyfEFX.js +0 -1
- package/dist/assets/use-effective-timezone-BZgsy8ZD.js +0 -1
- package/dist/assets/use-invite-link-dialog-Ccf_XNV3.js +0 -1
- package/dist/assets/use-is-mobile-BP8UePsY.js +0 -1
- package/dist/assets/use-is-org-ready-CQntk0MX.js +0 -1
- package/dist/assets/use-local-file-info-2nORgZPN.js +0 -1
- package/dist/assets/use-onboarding-login-Cw_9Ydsv.js +0 -1
- package/dist/assets/use-platform-assistant-id-DMP9urFb.js +0 -1
- package/dist/assets/use-platform-gate-2lhRAyKS.js +0 -1
- package/dist/assets/use-reduced-motion-CaGZSwLZ.js +0 -1
- package/dist/assets/use-return-to-short-circuit-Dm5PWev2.js +0 -1
- package/dist/assets/use-save-twilio-credentials-D5Zb65WS.js +0 -1
- package/dist/assets/use-skill-actions-BopRxJ9x.js +0 -1
- package/dist/assets/use-skill-detail-files-DUcVEycw.js +0 -1
- package/dist/assets/use-sticky-profiles-5cPu_MUo.js +0 -1
- package/dist/assets/use-subagent-card-data-VnA5x24X.js +0 -1
- package/dist/assets/use-supports-bookmarks-z9pfj1Rm.js +0 -1
- package/dist/assets/use-supports-credentials-settings-CEPArXBW.js +0 -1
- package/dist/assets/use-swipe-engine-DkOpo76V.js +0 -1
- package/dist/assets/use-transcript-message-by-id-DCOlEJjY.js +0 -1
- package/dist/assets/use-transcript-messages-BEpY7uG4.js +0 -3
- package/dist/assets/use-voice-sample-preview-CzqJYPiZ.js +0 -1
- package/dist/assets/user-Djte2CiZ.js +0 -1
- package/dist/assets/user-plus-DAap8I1c.js +0 -1
- package/dist/assets/users-XI0CRYkf.js +0 -1
- package/dist/assets/utils-CVoSWh7U.js +0 -1
- package/dist/assets/video-BS0zvFDX.js +0 -1
- package/dist/assets/viewer-store-CayI6XWh.js +0 -1
- package/dist/assets/voice-list-BS2BNjKN.js +0 -1
- package/dist/assets/voice-page-B7t0g-1X.js +0 -1
- package/dist/assets/voice-providers-note-Cv7vCsDI.js +0 -1
- package/dist/assets/volume-2-CyoXrHNM.js +0 -1
- package/dist/assets/weather-forecast-display-CJR2u0Gd.js +0 -1
- package/dist/assets/web-CXS_l-lJ.js +0 -1
- package/dist/assets/web-CqJa0YiZ.js +0 -1
- package/dist/assets/web-DCPqcuLM.js +0 -1
- package/dist/assets/web-DVqaJeU8.js +0 -1
- package/dist/assets/web-DdnbzgLo.js +0 -1
- package/dist/assets/web-_uNzzGZK.js +0 -1
- package/dist/assets/web-n3kDbr36.js +0 -1
- package/dist/assets/web-wVbU7QGN.js +0 -1
- package/dist/assets/welcome-screen-eqR0DNzE.js +0 -1
- package/dist/assets/workflow-CXyPzVz4.js +0 -1
- package/dist/assets/workflow-detail-panel-Dlj8i7AM.js +0 -1
- package/dist/assets/workflow-store-D0DBQy44.js +0 -1
- package/dist/assets/workspace-page-CAbshSeb.js +0 -1
- package/dist/assets/workspace-tree-query-Djht8L1-.js +0 -1
- package/dist/assets/wrench-BIRk4-Cp.js +0 -1
- package/dist/assets/x-338EsJDP.js +0 -1
- /package/dist/assets/{Combination-BswM2qVy.js → Combination-CZCRM_nS.js} +0 -0
- /package/dist/assets/{android-consumption-only-BkXIkXls.js → android-consumption-only-CwC2kibz.js} +0 -0
- /package/dist/assets/{api-errors-BQX1Pzcm.js → api-errors-BTOPGXDV.js} +0 -0
- /package/dist/assets/{app-types-BvcxXy_T.js → app-types-BY00pXhT.js} +0 -0
- /package/dist/assets/{apple-logo-Dz_HmP0n.js → apple-logo-Biu93CTa.js} +0 -0
- /package/dist/assets/{avatar-bundled-components-BCCi2IoG.js → avatar-bundled-components-OjPlNcdB.js} +0 -0
- /package/dist/assets/{avatar-subagent-CvC1Sf9s.js → avatar-subagent-C1J2pUFc.js} +0 -0
- /package/dist/assets/{avatar-svg-compositor-BOadabHt.js → avatar-svg-compositor-B0_MqIec.js} +0 -0
- /package/dist/assets/{avatar-tone-D1ZiIRxb.js → avatar-tone-CTq4cNAY.js} +0 -0
- /package/dist/assets/{browser-timezone-DM1QmwES.js → browser-timezone-BtQlRGbC.js} +0 -0
- /package/dist/assets/{build.umd-BVsTe_5V.js → build.umd-CKImEzO1.js} +0 -0
- /package/dist/assets/{client.gen-C854VG5x.js → client.gen-Dy7VKLYs.js} +0 -0
- /package/dist/assets/{create-selectors-DBgi9gD3.js → create-selectors-C7uuHryP.js} +0 -0
- /package/dist/assets/{createLucideIcon-C1mdGPB9.js → createLucideIcon-C_IfoPaZ.js} +0 -0
- /package/dist/assets/{definitions-ur8Jy93p.js → definitions-BNyfuzue.js} +0 -0
- /package/dist/assets/{definitions-LdtemAva.js → definitions-DMGv-AVM.js} +0 -0
- /package/dist/assets/{dist-Br0LBu8Y.js → dist-D8V9YSOm.js} +0 -0
- /package/dist/assets/{domains-Cmw6F6mt.js → domains-DUzxnQ3r.js} +0 -0
- /package/dist/assets/{edit-chat-session-DKBzd1lH.js → edit-chat-session-B38z6oPP.js} +0 -0
- /package/dist/assets/{emoji-catalog-data-B4mXD1kH.js → emoji-catalog-data-Dqyvj5Ne.js} +0 -0
- /package/dist/assets/{event-bus-Cy8AzL-G.js → event-bus-CibPCHnD.js} +0 -0
- /package/dist/assets/{external-urls-EO9DXoFH.js → external-urls-Dz7v7Xuw.js} +0 -0
- /package/dist/assets/{feature-flag-catalog-BOqgTYGM.js → feature-flag-catalog-svwKfQY_.js} +0 -0
- /package/dist/assets/{format-date-Bi9Bsv-w.js → format-date-mZFhGVxR.js} +0 -0
- /package/dist/assets/{format-file-size-iBkFVy8w.js → format-file-size-D7QcCVUg.js} +0 -0
- /package/dist/assets/{hard-navigate-BrsAH6PB.js → hard-navigate-CpR5x8Nr.js} +0 -0
- /package/dist/assets/{is-electron-BHXrkjI3.js → is-electron-BSK3AUxG.js} +0 -0
- /package/dist/assets/{link-click-DVtp4tRV.js → link-click-c4p6nI2M.js} +0 -0
- /package/dist/assets/{machine-sizes-B2_svsFw.js → machine-sizes-D5IsW7GE.js} +0 -0
- /package/dist/assets/{misc-Z0jXGGeY.js → misc-wmny7PlA.js} +0 -0
- /package/dist/assets/{oauth-popup-CBMOU7CT.js → oauth-popup-CLa9h8TF.js} +0 -0
- /package/dist/assets/{onboarding-step-layout-Cpow6WLp.js → onboarding-step-layout-Cksqlmsb.js} +0 -0
- /package/dist/assets/{optimistic-lifecycle-y2tCk6TM.js → optimistic-lifecycle-DIWfvuIw.js} +0 -0
- /package/dist/assets/{page-empty-state-DtjiuvvO.js → page-empty-state-Df3EP_DE.js} +0 -0
- /package/dist/assets/{pdf-hM7quiQo.js → pdf-CpDfklza.js} +0 -0
- /package/dist/assets/{plugin-attribution-Cu32SvNF.js → plugin-attribution-TebhIznA.js} +0 -0
- /package/dist/assets/{prechat-CXmfuQt3.js → prechat-CavQeV1_.js} +0 -0
- /package/dist/assets/{public-asset-CZ7NhuGg.js → public-asset-C2ociEGf.js} +0 -0
- /package/dist/assets/{radio-card-nav-B1BF1G_V.js → radio-card-nav-BubfTKOh.js} +0 -0
- /package/dist/assets/{reduced-motion-DiWTepDn.js → reduced-motion-C6t3gGc_.js} +0 -0
- /package/dist/assets/{semver-7PiLMufW.js → semver-CzvoYi37.js} +0 -0
- /package/dist/assets/{shim-DQit20z4.js → shim-KJVQ35XO.js} +0 -0
- /package/dist/assets/{skeleton-CJJwPIil.js → skeleton-CzdJByjE.js} +0 -0
- /package/dist/assets/{theme-preferences-5grl-uOq.js → theme-preferences-eO-_-Yel.js} +0 -0
- /package/dist/assets/{three-dot-indicator-BQxSg8G2.js → three-dot-indicator-BhUevb3V.js} +0 -0
- /package/dist/assets/{typed-storage-lk6_tW16.js → typed-storage-DjhDRFKz.js} +0 -0
- /package/dist/assets/{workspace-path-links-Dal5QJ_L.js → workspace-path-links-ORUgKDWB.js} +0 -0
- /package/dist/assets/{workspace-theme-tokens-D_dTwxiM.js → workspace-theme-tokens-Bod0vp12.js} +0 -0
- /package/dist/assets/{xterm-B3P1jl19.js → xterm-5SK_xX72.js} +0 -0
- /package/dist/assets/{xterm-addon-fit-DrrRJac3.js → xterm-addon-fit-Bov_2YwK.js} +0 -0
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import{o as e,r as t,t as n}from"./chunk-jRWAZmH_.js";import{t as r}from"./react-BFJW0bSv.js";import{B as i,H as a,L as o,N as s,P as c,U as l,V as u,W as d,a as f,c as p,d as m,f as h,l as g,m as _,n as v,o as y,p as b,s as x,t as S,u as C,z as ee}from"./button-DSjqKLvM.js";import{t as w}from"./jsx-runtime-D3ZM-ToX.js";import{i as T,t as te}from"./dist-DHB1G-V6.js";import{t as E}from"./cn-DFWryB3N.js";import{t as ne}from"./typography-BeUa5Fd-.js";import"./card-q0GJX1HZ.js";import{t as re}from"./createLucideIcon-C_IfoPaZ.js";import{t as ie}from"./check-CNBoUiyR.js";import{t as ae}from"./chevron-right-Dx_5VMo6.js";import{C as oe,S as se,_ as ce,a as le,b as ue,c as de,d as fe,f as pe,g as me,h as he,i as ge,l as _e,m as ve,n as ye,o as be,p as xe,r as Se,s as Ce,t as we,u as Te,v as Ee,w as De,x as Oe,y as ke}from"./menu-Gu_6PRrL.js";import{a as Ae,c as je,i as Me,n as Ne,o as Pe,r as Fe,s as Ie}from"./checkbox-DyHMOWN6.js";import"./notice-C9v3KOP3.js";import"./progress-bar-3n-2T7Oy.js";import"./tag-D0oiSRye.js";import{a as Le,c as Re,d as ze,i as Be,l as Ve,n as He,o as Ue,r as We,s as Ge,u as Ke}from"./modal-Bt1DPFgW.js";import{n as qe,t as Je}from"./Combination-CZCRM_nS.js";import{t as Ye}from"./input-BG94bPcH.js";import"./toggle-ibKLySIy.js";import{t as Xe}from"./dist-Df8G739y.js";import{a as Ze,i as Qe,n as $e,r as et,t as tt}from"./dist-CYFZCv2b.js";import"./toast-BrKo5b4d.js";import"./confirm-dialog-DNaRfy4W.js";import"./select-B86W_Hs8.js";import"./skeleton-CzdJByjE.js";var D=e(r(),1),O=w();function nt({className:e,children:t,...n}){return(0,O.jsx)(`span`,{"data-slot":`crossfade-stack`,className:E(`grid shrink-0 place-items-center [&>*]:[grid-area:1/1]`,e),...n,children:t})}var rt=re(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),it=typeof window>`u`?D.useEffect:D.useLayoutEffect,at=16,ot=4;function st(e){if(!e||typeof window>`u`)return null;try{let t=localStorage.getItem(e);if(t==null)return null;let n=Number(t);return Number.isFinite(n)?n:null}catch{return null}}function ct(e,t){if(e)try{localStorage.setItem(e,String(t))}catch{}}function lt({minSize:e,maxSize:t,reserveForRest:n,containerSize:r}){return Math.max(e,Math.min(t??1/0,r>0?r-n:1/0))}function ut(e,t,n){return Number.isFinite(e)?e:Math.max(t,n)}function dt(e,t,n){return Math.max(t,Math.min(e,n))}function ft(e,t){return t===`end`?-e:e}function pt({stored:e,containerSize:t,convert:n,minSize:r,maxSize:i,reserveForRest:a}){let o=Math.round(n(e,t));return Number.isFinite(o)?dt(o,r,lt({minSize:r,maxSize:i,reserveForRest:a,containerSize:t})):null}function mt(e,{shiftKey:t,size:n,side:r,minSize:i,maxSize:a}){let o=t?at*ot:at;switch(e){case`ArrowLeft`:return n+ft(-o,r);case`ArrowRight`:return n+ft(o,r);case`Home`:return i;case`End`:return a;default:return null}}function ht({side:e,defaultSize:t,minSize:n,maxSize:r,reserveForRest:i=0,storageKey:a,legacySize:o,label:s,paneId:c,paneRef:l,onSizeCommit:u}){let d=(0,D.useRef)(o);d.current=o;let f=(0,D.useId)(),p=c??f,m=(0,D.useRef)(null),h=(0,D.useRef)(null),[g,_]=(0,D.useState)(!1),[v,y]=(0,D.useState)(()=>Math.max(n,st(a)??t)),[b,x]=(0,D.useState)(0);(0,D.useEffect)(()=>{let e=m.current;if(!e)return;x(e.offsetWidth);let t=new ResizeObserver(()=>{x(e.offsetWidth)});return t.observe(e),()=>t.disconnect()},[]);let S=lt({minSize:n,maxSize:r,reserveForRest:i,containerSize:b}),C=(0,D.useCallback)(e=>dt(e,n,S),[n,S]),ee=ut(S,n,v),w=o?.key;it(()=>{let e=d.current;if(!e||!a||st(a)!=null)return;let t=st(e.key);if(t==null)return;let o=m.current?.offsetWidth||b;if(o<=0)return;let s=pt({stored:t,containerSize:o,convert:e.convert,minSize:n,maxSize:r,reserveForRest:i});if(s!=null){y(s),ct(a,s);try{localStorage.removeItem(e.key)}catch{}}},[w,a,b,n,r,i]),(0,D.useEffect)(()=>{let e=C(v);e!==v&&(y(e),l?.current&&(l.current.style.width=`${e}px`))},[v,C,l]);let T=(0,D.useCallback)(e=>{if(l?.current){l.current.style.width=`${e}px`;return}y(e)},[l]),te=(0,D.useCallback)(e=>{let t=Math.round(e);y(t),ct(a,t),u?.(t)},[a,u]),E=(0,D.useCallback)(e=>{typeof document>`u`||(document.body.style.cursor=e?`col-resize`:``,document.body.style.userSelect=e?`none`:``)},[]);(0,D.useEffect)(()=>()=>E(!1),[E]);let ne=(0,D.useCallback)(e=>{e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),h.current={startX:e.clientX,startSize:v},_(!0),E(!0)},[v,E]),re=(0,D.useCallback)(t=>{let n=h.current;n&&T(C(n.startSize+ft(t.clientX-n.startX,e)))},[T,C,e]),ie=(0,D.useCallback)(t=>{let n=h.current;n&&(t.currentTarget.releasePointerCapture(t.pointerId),h.current=null,_(!1),E(!1),te(C(n.startSize+ft(t.clientX-n.startX,e))))},[te,C,e,E]),ae=(0,D.useCallback)(t=>{let r=mt(t.key,{shiftKey:t.shiftKey,size:v,side:e,minSize:n,maxSize:ee});r!=null&&(t.preventDefault(),te(C(r)))},[v,e,n,ee,C,te]);return{size:v,containerSize:b,containerRef:m,paneId:p,isResizing:g,handleProps:{role:`separator`,"aria-orientation":`vertical`,"aria-label":s,"aria-controls":p,"aria-valuenow":Math.round(v),"aria-valuemin":Math.round(n),"aria-valuemax":Math.round(ee),tabIndex:0,onPointerDown:ne,onPointerMove:re,onPointerUp:ie,onPointerCancel:ie,onKeyDown:ae}}}function gt({className:e,children:t,...n}){return(0,O.jsx)(`div`,{...n,"data-slot":`pane-resize-handle`,className:E(`cursor-col-resize`,`focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]`,e),children:t})}var _t=8,vt=`.v2`;function yt({left:e,right:t,defaultRightWidth:n=400,minRightWidth:r=300,minLeftWidth:i=300,onWidthChange:a,separatorLabel:o=`Resize panels`,storageKey:s,hideDivider:c=!1,className:l,...u}){let d=(0,D.useRef)(null),{size:f,containerRef:p,paneId:m,handleProps:h,isResizing:g}=ht({side:`end`,defaultSize:n,minSize:r,reserveForRest:i+_t,storageKey:s?`${s}${vt}`:void 0,legacySize:s?{key:s,convert:(e,t)=>t-e-_t}:void 0,label:o,paneRef:d,onSizeCommit:a});return(0,O.jsxs)(`div`,{...u,ref:p,"data-slot":`resizable-panel`,className:E(`flex h-full w-full overflow-hidden`,l),children:[(0,O.jsx)(`div`,{className:`flex h-full min-w-0 flex-1 flex-col overflow-hidden`,children:e}),(0,O.jsxs)(gt,{...h,className:E(`group relative z-10 flex h-full w-2 shrink-0 items-center justify-center`,g&&`select-none`),children:[(0,O.jsx)(`div`,{className:E(`h-full w-px`,c?`bg-transparent`:`bg-[var(--border-base)]`)}),(0,O.jsx)(`div`,{className:E(`absolute h-8 w-1 rounded-full bg-[var(--content-tertiary)] opacity-0 transition-opacity`,`group-hover:opacity-100 group-focus-visible:opacity-100`,g&&`opacity-100`)})]}),(0,O.jsx)(`div`,{id:m,ref:d,className:`h-full shrink-0 overflow-auto`,style:{width:f},children:t})]})}function bt({children:e,orientation:t=`vertical`,size:n=24,offset:r=0,isEnabled:i=!0,hideScrollBar:a=!1,className:o,ref:s}){let c=(0,D.useRef)(null),l=(0,D.useRef)(null),[u,d]=(0,D.useState)({start:!1,end:!1}),f=(0,D.useCallback)(e=>{c.current=e,typeof s==`function`?s(e):s&&(s.current=e)},[s]),p=(0,D.useCallback)(()=>{let e=c.current;if(!e||!i){d(e=>!e.start&&!e.end?e:{start:!1,end:!1});return}let n=t===`vertical`,a=n?e.scrollTop:e.scrollLeft,o=n?e.scrollHeight-e.clientHeight:e.scrollWidth-e.clientWidth,s=a>r,l=a<o-r;d(e=>e.start===s&&e.end===l?e:{start:s,end:l})},[i,t,r]);(0,D.useLayoutEffect)(()=>{p()}),(0,D.useEffect)(()=>{let e=c.current;if(!e)return;e.addEventListener(`scroll`,p,{passive:!0});let t=typeof ResizeObserver<`u`?new ResizeObserver(p):null;return t?.observe(e),l.current&&t?.observe(l.current),()=>{e.removeEventListener(`scroll`,p),t?.disconnect()}},[p]);let m=i?xt(t,n,u):void 0;return(0,O.jsx)(`div`,{ref:f,"data-slot":`scroll-shadow`,"data-orientation":t,className:E(t===`vertical`?`overflow-y-auto`:`overflow-x-auto`,a&&`[scrollbar-width:none] [&::-webkit-scrollbar]:hidden`,o),style:m?{maskImage:m,WebkitMaskImage:m}:void 0,children:(0,O.jsx)(`div`,{ref:l,className:t===`horizontal`?`w-max`:void 0,children:e})})}function xt(e,t,n){return`linear-gradient(${e===`vertical`?`to bottom`:`to right`}, ${n.start?`transparent`:`#000`}, #000 ${t}px, #000 calc(100% - ${t}px), ${n.end?`transparent`:`#000`})`}var St=`Popover`,[Ct,wt]=i(St,[b]),Tt=b(),[Et,Dt]=Ct(St),Ot=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,c=Tt(t),l=D.useRef(null),[u,d]=D.useState(!1),[f,p]=y({prop:r,defaultProp:i??!1,onChange:a,caller:St});return(0,O.jsx)(h,{...c,children:(0,O.jsx)(Et,{scope:t,contentId:s(),triggerRef:l,open:f,onOpenChange:p,onOpenToggle:D.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:u,onCustomAnchorAdd:D.useCallback(()=>d(!0),[]),onCustomAnchorRemove:D.useCallback(()=>d(!1),[]),modal:o,children:n})})};Ot.displayName=St;var kt=`PopoverAnchor`,At=D.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Dt(kt,n),a=Tt(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return D.useEffect(()=>(o(),()=>s()),[o,s]),(0,O.jsx)(g,{...a,...r,ref:t})});At.displayName=kt;var jt=`PopoverTrigger`,Mt=D.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Dt(jt,n),s=Tt(n),c=u(t,i.triggerRef),l=(0,O.jsx)(o.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":qt(i.open),...r,ref:c,onClick:a(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?l:(0,O.jsx)(g,{asChild:!0,...s,children:l})});Mt.displayName=jt;var Nt=`PopoverPortal`,[Pt,Ft]=Ct(Nt,{forceMount:void 0}),It=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=Dt(Nt,t);return(0,O.jsx)(Pt,{scope:t,forceMount:n,children:(0,O.jsx)(x,{present:n||a.open,children:(0,O.jsx)(p,{asChild:!0,container:i,children:r})})})};It.displayName=Nt;var Lt=`PopoverContent`,Rt=D.forwardRef((e,t)=>{let n=Ft(Lt,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=Dt(Lt,e.__scopePopover);return(0,O.jsx)(x,{present:r||a.open,children:a.modal?(0,O.jsx)(Bt,{...i,ref:t}):(0,O.jsx)(Vt,{...i,ref:t})})});Rt.displayName=Lt;var zt=ee(`PopoverContent.RemoveScroll`),Bt=D.forwardRef((e,t)=>{let n=Dt(Lt,e.__scopePopover),r=D.useRef(null),i=u(t,r),o=D.useRef(!1);return D.useEffect(()=>{let e=r.current;if(e)return qe(e)},[]),(0,O.jsx)(Je,{as:zt,allowPinchZoom:!0,children:(0,O.jsx)(Ht,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:a(e.onCloseAutoFocus,e=>{e.preventDefault(),o.current||n.triggerRef.current?.focus()}),onPointerDownOutside:a(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;o.current=t.button===2||n},{checkForDefaultPrevented:!1}),onFocusOutside:a(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),Vt=D.forwardRef((e,t)=>{let n=Dt(Lt,e.__scopePopover),r=D.useRef(!1),i=D.useRef(!1);return(0,O.jsx)(Ht,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),Ht=D.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:d,...f}=e,p=Dt(Lt,n),h=Tt(n);return ze(),(0,O.jsx)(Ke,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,O.jsx)(c,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:d,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,O.jsx)(m,{"data-state":qt(p.open),role:`dialog`,id:p.contentId,...h,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})}),Ut=`PopoverClose`,Wt=D.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Dt(Ut,n);return(0,O.jsx)(o.button,{type:`button`,...r,ref:t,onClick:a(e.onClick,()=>i.onOpenChange(!1))})});Wt.displayName=Ut;var Gt=`PopoverArrow`,Kt=D.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=Tt(n);return(0,O.jsx)(C,{...i,...r,ref:t})});Kt.displayName=Gt;function qt(e){return e?`open`:`closed`}var Jt=Ot,Yt=At,Xt=Mt,Zt=It,Qt=Rt,$t=Wt,en=Jt;function tn(e){return(0,O.jsx)(Xt,{"data-slot":`popover-trigger`,...e})}function nn(e){return(0,O.jsx)($t,{"data-slot":`popover-close`,...e})}function rn(e){return(0,O.jsx)(Yt,{"data-slot":`popover-anchor`,...e})}function an({className:e,children:t,sideOffset:n=6,align:r=`center`,ref:i,...a}){let o=f();return(0,O.jsx)(Zt,{container:o??void 0,children:(0,O.jsx)(Qt,{ref:i,"data-slot":`popover-content`,align:r,sideOffset:n,className:E(`z-50 rounded-lg bg-[var(--surface-lift)] p-2 shadow-[var(--shadow-popover)] outline-none`,`text-[color:var(--content-default)]`,`data-[state=open]:animate-[popoverIn_120ms_ease-out]`,e),...a,children:t})})}var on={Root:en,Trigger:tn,Content:an,Close:nn,Anchor:rn},sn=`Radio`,[cn,ln]=i(sn),[un,dn]=cn(sn);function fn(e){let{__scopeRadio:t,checked:n=!1,children:r,disabled:i,form:a,name:o,onCheck:s,required:c,value:l=`on`,internal_do_not_use_render:u}=e,[d,f]=D.useState(null),[p,m]=D.useState(null),h={checked:n,disabled:i,required:c,name:o,form:a,value:l,control:d,setControl:f,hasConsumerStoppedPropagationRef:D.useRef(!1),isFormControl:d?!!a||!!d.closest(`form`):!0,bubbleInput:p,setBubbleInput:m,onCheck:()=>s?.()};return(0,O.jsx)(un,{scope:t,...h,children:bn(u)?u(h):r})}var pn=`RadioTrigger`,mn=D.forwardRef(({__scopeRadio:e,onClick:t,...n},r)=>{let{checked:i,disabled:s,value:c,setControl:l,onCheck:d,hasConsumerStoppedPropagationRef:f,isFormControl:p,bubbleInput:m}=dn(pn,e),h=u(r,l);return(0,O.jsx)(o.button,{type:`button`,role:`radio`,"aria-checked":i,"data-state":xn(i),"data-disabled":s?``:void 0,disabled:s,value:c,...n,ref:h,onClick:a(t,e=>{i||d(),m&&p&&(f.current=e.isPropagationStopped(),f.current||e.stopPropagation())})})});mn.displayName=pn;var hn=D.forwardRef((e,t)=>{let{__scopeRadio:n,name:r,checked:i,required:a,disabled:o,value:s,onCheck:c,form:l,...u}=e;return(0,O.jsx)(fn,{__scopeRadio:n,checked:i,disabled:o,required:a,onCheck:c,name:r,form:l,value:s,internal_do_not_use_render:({isFormControl:e})=>(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(mn,{...u,ref:t,__scopeRadio:n}),e&&(0,O.jsx)(yn,{__scopeRadio:n})]})})});hn.displayName=sn;var gn=`RadioIndicator`,_n=D.forwardRef((e,t)=>{let{__scopeRadio:n,forceMount:r,...i}=e,a=dn(gn,n);return(0,O.jsx)(x,{present:r||a.checked,children:(0,O.jsx)(o.span,{"data-state":xn(a.checked),"data-disabled":a.disabled?``:void 0,...i,ref:t})})});_n.displayName=gn;var vn=`RadioBubbleInput`,yn=D.forwardRef(({__scopeRadio:e,...t},n)=>{let{control:r,checked:i,required:a,disabled:s,name:c,value:l,form:d,bubbleInput:f,setBubbleInput:p,hasConsumerStoppedPropagationRef:m}=dn(vn,e),h=u(n,p),g=Ze(i),v=_(r);D.useEffect(()=>{let e=f;if(!e)return;let t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,`checked`).set,r=!m.current;if(g!==i&&n){let t=new Event(`click`,{bubbles:r});n.call(e,i),e.dispatchEvent(t)}},[f,g,i,m]);let y=D.useRef(i);return(0,O.jsx)(o.input,{type:`radio`,"aria-hidden":!0,defaultChecked:y.current,required:a,disabled:s,name:c,value:l,form:d,...t,tabIndex:-1,ref:h,style:{...t.style,...v,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0,transform:`translateX(-100%)`}})});yn.displayName=vn;function bn(e){return typeof e==`function`}function xn(e){return e?`checked`:`unchecked`}var Sn=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],Cn=`RadioGroup`,[wn,Tn]=i(Cn,[oe,ln]),En=oe(),Dn=ln(),[On,kn]=wn(Cn),An=D.forwardRef((e,t)=>{let{__scopeRadioGroup:n,name:r,defaultValue:i,value:a,required:s=!1,disabled:c=!1,orientation:l,dir:u,loop:d=!0,onValueChange:f,...p}=e,m=En(n),h=Xe(u),[g,_]=y({prop:a,defaultProp:i??null,onChange:f,caller:Cn});return(0,O.jsx)(On,{scope:n,name:r,required:s,disabled:c,value:g,onValueChange:_,children:(0,O.jsx)(se,{asChild:!0,...m,orientation:l,dir:h,loop:d,children:(0,O.jsx)(o.div,{role:`radiogroup`,"aria-required":s,"aria-orientation":l,"data-disabled":c?``:void 0,dir:h,...p,ref:t})})})});An.displayName=Cn;var jn=`RadioGroupItem`,Mn=`RadioGroupItemProvider`,Nn=`RadioGroupItemTrigger`,Pn=`RadioGroupItemBubbleInput`;function Fn(e){let{__scopeRadioGroup:t,value:n,disabled:r,children:i,internal_do_not_use_render:a}=e,o=kn(Mn,t),s=Dn(t),c=o.disabled||r;return(0,O.jsx)(fn,{...s,checked:o.value===n,disabled:c,required:o.required,name:o.name,value:n,onCheck:()=>o.onValueChange(n),internal_do_not_use_render:a,children:i})}var In=D.forwardRef((e,t)=>{let{__scopeRadioGroup:n,...r}=e,i=En(n),o=Dn(n),{checked:s,disabled:c}=dn(Nn,o.__scopeRadio),l=D.useRef(null),d=u(t,l),f=D.useRef(!1);return D.useEffect(()=>{let e=e=>{Sn.includes(e.key)&&(f.current=!0)},t=()=>f.current=!1;return document.addEventListener(`keydown`,e),document.addEventListener(`keyup`,t),()=>{document.removeEventListener(`keydown`,e),document.removeEventListener(`keyup`,t)}},[]),(0,O.jsx)(Oe,{asChild:!0,...i,focusable:!c,active:s,children:(0,O.jsx)(mn,{...o,...r,ref:d,onKeyDown:a(r.onKeyDown,e=>{e.key===`Enter`&&e.preventDefault()}),onFocus:a(r.onFocus,()=>{f.current&&l.current?.click()})})})});In.displayName=Nn;var Ln=D.forwardRef((e,t)=>{let{__scopeRadioGroup:n,value:r,disabled:i,...a}=e;return(0,O.jsx)(Fn,{__scopeRadioGroup:n,value:r,disabled:i,internal_do_not_use_render:({isFormControl:e})=>(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(In,{...a,ref:t,__scopeRadioGroup:n}),e&&(0,O.jsx)(Rn,{__scopeRadioGroup:n})]})})});Ln.displayName=jn;var Rn=D.forwardRef((e,t)=>{let{__scopeRadioGroup:n,...r}=e;return(0,O.jsx)(yn,{...Dn(n),...r,ref:t})});Rn.displayName=Pn;var zn=`RadioGroupIndicator`,Bn=D.forwardRef((e,t)=>{let{__scopeRadioGroup:n,...r}=e;return(0,O.jsx)(_n,{...Dn(n),...r,ref:t})});Bn.displayName=zn;function Vn({value:e,onValueChange:t,name:n,disabled:r,orientation:i=`vertical`,required:a,className:o,style:s,children:c,"aria-label":l,"aria-labelledby":u}){let d=i===`horizontal`?`flex flex-row flex-wrap items-center gap-4`:`flex flex-col gap-2.5`;return(0,O.jsx)(An,{value:e,onValueChange:e=>t(e),name:n,disabled:r,required:a,orientation:i,className:E(d,o),style:s,"aria-label":l,"aria-labelledby":u,"data-slot":`radio-group`,children:c})}function Hn({value:e,label:t,helperText:n,disabled:r,id:i,className:a,"aria-label":o}){let s=(0,D.useId)(),c=i??`radio-${s}`,l=n?`${c}-helper`:void 0,u=r?`var(--content-disabled)`:`var(--radio-checked-bg, var(--system-positive-strong))`,d=r?`var(--surface-overlay)`:`var(--radio-checked-dot, var(--aux-white))`,f=r?`var(--surface-overlay)`:`transparent`;return(0,O.jsxs)(`div`,{"data-slot":`radio`,className:E(`flex gap-2`,n?`items-start`:`items-center`,a),children:[(0,O.jsx)(Ln,{id:c,value:e,disabled:r,"aria-label":t?void 0:o,"aria-describedby":l,className:E(`relative inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full border transition-colors`,`border-[color:var(--radio-border)]`,`[--radio-border:var(--border-element)]`,`data-[state=checked]:border-transparent`,`disabled:[--radio-border:var(--content-disabled)]`,`disabled:cursor-not-allowed`,`keyboard-focus:outline-none keyboard-focus:ring-2 keyboard-focus:ring-offset-1`,`keyboard-focus:ring-[color-mix(in_srgb,var(--system-positive-strong)_30%,transparent)]`),style:{background:f},children:(0,O.jsx)(Bn,{forceMount:!0,className:`flex h-full w-full items-center justify-center rounded-full data-[state=unchecked]:opacity-0`,style:{background:u},children:(0,O.jsx)(`span`,{"aria-hidden":!0,className:`block h-2 w-2 rounded-full`,style:{background:d}})})}),(t||n)&&(0,O.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-0.5`,children:[t?(0,O.jsx)(ne,{as:`label`,variant:`body-medium-lighter`,htmlFor:c,className:E(r?`cursor-not-allowed`:`cursor-pointer`,r?`text-[color:var(--content-disabled)]`:`text-[color:var(--content-default)]`),children:t}):null,n?(0,O.jsx)(ne,{as:`span`,variant:`body-small-default`,id:l,className:E(`leading-4`,r?`text-[color:var(--content-disabled)]`:`text-[color:var(--content-tertiary)]`),children:n}):null]})]})}function Un(e){let t=e+`CollectionProvider`,[n,r]=je(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=e=>{let{scope:t,children:n}=e,r=D.useRef(null),a=D.useRef(new Map).current;return(0,O.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})};o.displayName=t;let s=e+`CollectionSlot`,c=Fe(s),l=D.forwardRef((e,t)=>{let{scope:n,children:r}=e;return(0,O.jsx)(c,{ref:T(t,a(s,n).collectionRef),children:r})});l.displayName=s;let u=e+`CollectionItemSlot`,d=`data-radix-collection-item`,f=Fe(u),p=D.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=D.useRef(null),s=T(t,o),c=a(u,n);return D.useEffect(()=>(c.itemMap.set(o,{ref:o,...i}),()=>void c.itemMap.delete(o))),(0,O.jsx)(f,{[d]:``,ref:s,children:r})});p.displayName=u;function m(t){let n=a(e+`CollectionConsumer`,t);return D.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return[{Provider:o,Slot:l,ItemSlot:p},m,r]}var Wn=D.useId||(()=>void 0),Gn=0;function Kn(e){let[t,n]=D.useState(Wn());return Pe(()=>{e||n(e=>e??String(Gn++))},[e]),e||(t?`radix-${t}`:``)}function qn(e){let t=D.useRef(e);return D.useEffect(()=>{t.current=e}),D.useMemo(()=>(...e)=>t.current?.(...e),[])}var Jn=D.createContext(void 0);function Yn(e){let t=D.useContext(Jn);return e||t||`ltr`}var Xn=`rovingFocusGroup.onEntryFocus`,Zn={bubbles:!1,cancelable:!0},Qn=`RovingFocusGroup`,[$n,er,tr]=Un(Qn),[nr,rr]=je(Qn,[tr]),[ir,ar]=nr(Qn),or=D.forwardRef((e,t)=>(0,O.jsx)($n.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,O.jsx)($n.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,O.jsx)(sr,{...e,ref:t})})}));or.displayName=Qn;var sr=D.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:l,preventScrollOnEntryFocus:u=!1,...d}=e,f=D.useRef(null),p=T(t,f),m=Yn(a),[h,g]=Ae({prop:o,defaultProp:s??null,onChange:c,caller:Qn}),[_,v]=D.useState(!1),y=qn(l),b=er(n),x=D.useRef(!1),[S,C]=D.useState(0);return D.useEffect(()=>{let e=f.current;if(e)return e.addEventListener(Xn,y),()=>e.removeEventListener(Xn,y)},[y]),(0,O.jsx)(ir,{scope:n,orientation:r,dir:m,loop:i,currentTabStopId:h,onItemFocus:D.useCallback(e=>g(e),[g]),onItemShiftTab:D.useCallback(()=>v(!0),[]),onFocusableItemAdd:D.useCallback(()=>C(e=>e+1),[]),onFocusableItemRemove:D.useCallback(()=>C(e=>e-1),[]),children:(0,O.jsx)(Ne.div,{tabIndex:_||S===0?-1:0,"data-orientation":r,...d,ref:p,style:{outline:`none`,...e.style},onMouseDown:Ie(e.onMouseDown,()=>{x.current=!0}),onFocus:Ie(e.onFocus,e=>{let t=!x.current;if(e.target===e.currentTarget&&t&&!_){let t=new CustomEvent(Xn,Zn);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=b().filter(e=>e.focusable);pr([e.find(e=>e.active),e.find(e=>e.id===h),...e].filter(Boolean).map(e=>e.ref.current),u)}}x.current=!1}),onBlur:Ie(e.onBlur,()=>v(!1))})})}),cr=`RovingFocusGroupItem`,lr=D.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:o,...s}=e,c=Kn(),l=a||c,u=ar(cr,n),d=u.currentTabStopId===l,f=er(n),{onFocusableItemAdd:p,onFocusableItemRemove:m,currentTabStopId:h}=u;return D.useEffect(()=>{if(r)return p(),()=>m()},[r,p,m]),(0,O.jsx)($n.ItemSlot,{scope:n,id:l,focusable:r,active:i,children:(0,O.jsx)(Ne.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:Ie(e.onMouseDown,e=>{r?u.onItemFocus(l):e.preventDefault()}),onFocus:Ie(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:Ie(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){u.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=fr(e,u.orientation,u.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=f().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=u.loop?mr(n,r+1):n.slice(r+1)}setTimeout(()=>pr(n))}}),children:typeof o==`function`?o({isCurrentTabStop:d,hasTabStop:h!=null}):o})})});lr.displayName=cr;var ur={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function dr(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function fr(e,t,n){let r=dr(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return ur[r]}function pr(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function mr(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var hr=or,gr=lr,_r=`Tabs`,[vr,yr]=je(_r,[rr]),br=rr(),[xr,Sr]=vr(_r),Cr=D.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,onValueChange:i,defaultValue:a,orientation:o=`horizontal`,dir:s,activationMode:c=`automatic`,...l}=e,u=Yn(s),[d,f]=Ae({prop:r,onChange:i,defaultProp:a??``,caller:_r});return(0,O.jsx)(xr,{scope:n,baseId:Kn(),value:d,onValueChange:f,orientation:o,dir:u,activationMode:c,children:(0,O.jsx)(Ne.div,{dir:u,"data-orientation":o,...l,ref:t})})});Cr.displayName=_r;var wr=`TabsList`,Tr=D.forwardRef((e,t)=>{let{__scopeTabs:n,loop:r=!0,...i}=e,a=Sr(wr,n),o=br(n);return(0,O.jsx)(hr,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:(0,O.jsx)(Ne.div,{role:`tablist`,"aria-orientation":a.orientation,...i,ref:t})})});Tr.displayName=wr;var Er=`TabsTrigger`,Dr=D.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,disabled:i=!1,...a}=e,o=Sr(Er,n),s=br(n),c=Ar(o.baseId,r),l=jr(o.baseId,r),u=r===o.value;return(0,O.jsx)(gr,{asChild:!0,...s,focusable:!i,active:u,children:(0,O.jsx)(Ne.button,{type:`button`,role:`tab`,"aria-selected":u,"aria-controls":l,"data-state":u?`active`:`inactive`,"data-disabled":i?``:void 0,disabled:i,id:c,...a,ref:t,onMouseDown:Ie(e.onMouseDown,e=>{!i&&e.button===0&&e.ctrlKey===!1?o.onValueChange(r):e.preventDefault()}),onKeyDown:Ie(e.onKeyDown,e=>{[` `,`Enter`].includes(e.key)&&o.onValueChange(r)}),onFocus:Ie(e.onFocus,()=>{let e=o.activationMode!==`manual`;!u&&!i&&e&&o.onValueChange(r)})})})});Dr.displayName=Er;var Or=`TabsContent`,kr=D.forwardRef((e,t)=>{let{__scopeTabs:n,value:r,forceMount:i,children:a,...o}=e,s=Sr(Or,n),c=Ar(s.baseId,r),l=jr(s.baseId,r),u=r===s.value,d=D.useRef(u);return D.useEffect(()=>{let e=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,O.jsx)(Me,{present:i||u,children:({present:n})=>(0,O.jsx)(Ne.div,{"data-state":u?`active`:`inactive`,"data-orientation":s.orientation,role:`tabpanel`,"aria-labelledby":c,hidden:!n,id:l,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:d.current?`0s`:void 0},children:n&&a})})});kr.displayName=Or;function Ar(e,t){return`${e}-trigger-${t}`}function jr(e,t){return`${e}-content-${t}`}var Mr=Cr,Nr=Tr,Pr=Dr,Fr=kr;function Ir({className:e,ref:t,...n}){return(0,O.jsx)(Mr,{ref:t,"data-slot":`tabs`,className:e,...n})}function Lr({className:e,ref:t,...n}){return(0,O.jsx)(Nr,{ref:t,"data-slot":`tabs-list`,className:E(`flex items-center border-b border-[var(--border-base)]`,e),...n})}function Rr({className:e,ref:t,...n}){return(0,O.jsx)(Pr,{ref:t,"data-slot":`tabs-trigger`,className:E(`relative -mb-px inline-flex cursor-pointer items-center gap-1.5 border-b-2 border-transparent bg-transparent px-2.5 py-[7px]`,`text-body-medium-default whitespace-nowrap`,`text-[var(--content-tertiary)] transition-colors`,`outline-none keyboard-focus:ring-2 keyboard-focus:ring-[var(--ring)] keyboard-focus:ring-offset-0`,`hover:bg-[var(--surface-hover)] hover:text-[var(--content-default)]`,`data-[state=active]:border-[var(--primary-base)] data-[state=active]:text-[var(--content-default)]`,`data-[state=active]:hover:bg-transparent`,`disabled:cursor-not-allowed disabled:text-[var(--content-disabled)]`,`disabled:hover:bg-transparent disabled:hover:text-[var(--content-disabled)]`,e),...n})}function zr({className:e,ref:t,...n}){return(0,O.jsx)(Fr,{ref:t,"data-slot":`tabs-panel`,className:E(`outline-none keyboard-focus:ring-2 keyboard-focus:ring-[var(--ring)] keyboard-focus:ring-offset-0`,e),...n})}var Br={Root:Ir,List:Lr,Trigger:Rr,Panel:zr};function Vr(e,t,n){let r=e.find(e=>e.value===n);return!r||r.disabled||r.value===t?null:r.value}function Hr(e,t,n){let r=e.length,i=(t+n+r)%r,a=0;for(;e[i]?.disabled&&a<r;)i=(i+n+r)%r,a++;return i}function Ur({items:e,value:t,onChange:n,ariaLabel:r,iconOnly:i=!1,showTooltips:a=!0,className:o}){let s=(0,D.useRef)(null),c=(0,D.useCallback)(r=>{let i=e.findIndex(e=>e.value===t),a=null;switch(r.key){case`ArrowRight`:case`ArrowDown`:a=Hr(e,i,1);break;case`ArrowLeft`:case`ArrowUp`:a=Hr(e,i===-1?0:i,-1);break;case`Home`:a=Hr(e,e.length-1,1);break;case`End`:a=Hr(e,0,-1);break;default:return}r.preventDefault();let o=e[a];!o||o.disabled||(o.value!==t&&n(o.value),(s.current?.querySelectorAll(`[role="radio"]`))?.[a]?.focus())},[e,t,n]),l=e.findIndex(e=>e.value===t),u=l===-1?e.findIndex(e=>!e.disabled):l,d=!i&&e.some(e=>e.sublabel!=null);return(0,O.jsx)(`div`,{ref:s,role:`radiogroup`,"aria-label":r,"data-slot":`segment-control`,onKeyDown:c,className:E(`inline-flex rounded-md bg-[var(--surface-active)] p-0.5`,!i&&`w-full`,o),children:e.map((r,o)=>{let s=r.value===t,c=!!r.disabled;return(0,O.jsxs)(S,{variant:`ghost`,role:`radio`,"aria-checked":s,"aria-label":i?r.label:void 0,tooltip:i&&a?r.label:void 0,disabled:c,tabIndex:o===u?0:-1,onClick:()=>{let i=Vr(e,t,r.value);i!==null&&n(i)},className:E(`min-w-[30px] cursor-pointer justify-center gap-1.5 rounded-[6px] border-0 text-body-medium-default`,d?`h-auto py-1.5`:`h-7`,i?`px-2 max-md:h-9 max-md:min-w-9 max-md:px-2`:`flex-1 px-3`,s?`bg-[var(--surface-overlay)] text-[var(--content-emphasised)] shadow-sm hover:bg-[var(--surface-overlay)]`:`bg-transparent text-[var(--content-tertiary)] hover:bg-transparent hover:text-[var(--content-emphasised)]`),children:[r.icon,!i&&(r.sublabel==null?r.label:(0,O.jsxs)(`span`,{className:`flex flex-col items-center gap-0.5`,children:[(0,O.jsx)(`span`,{children:r.label}),(0,O.jsx)(`span`,{className:`text-body-small-default text-[var(--content-tertiary)]`,children:r.sublabel})]}))]},r.value)})})}var Wr=l(`-mb-px inline-flex items-center whitespace-nowrap border-b-2 border-transparent pb-2 text-body-medium-default transition-colors`,{variants:{status:{active:`border-[var(--primary-base)] text-[var(--content-strong)]`,completed:`text-[var(--content-default)]`,upcoming:`text-[var(--content-disabled)]`},navigable:{true:`cursor-pointer outline-none hover:text-[var(--content-strong)] keyboard-focus:ring-2 keyboard-focus:ring-[var(--ring)] keyboard-focus:ring-offset-0`,false:`cursor-default`}},defaultVariants:{status:`upcoming`,navigable:!1}});function Gr({steps:e,current:t,onStepSelect:n,disabled:r=!1,className:i,...a}){return(0,O.jsx)(`nav`,{"data-slot":`stepper`,className:E(`flex items-center gap-4 border-b border-[var(--border-base)]`,i),...a,children:e.map((e,i)=>{let a=i===t?`active`:i<t?`completed`:`upcoming`;return a===`completed`&&!r&&n?(0,O.jsx)(`button`,{type:`button`,"data-slot":`stepper-step`,onClick:()=>n?.(i),className:Wr({status:a,navigable:!0}),children:e.label},e.id):(0,O.jsx)(`span`,{"data-slot":`stepper-step`,"aria-current":a===`active`?`step`:void 0,className:Wr({status:a}),children:e.label},e.id)})})}function Kr(e){return Array.isArray(e)}function qr(e){return Kr(e)?[e[0],e[1]]:[e]}function Jr(e,t,n,r){return t?[e[0]??n,e[1]??r]:e[0]??n}function Yr(e){return Kr(e)?`${e[0]} – ${e[1]}`:String(e)}function Xr({value:e,onValueChange:t,min:n=0,max:r=100,step:i=1,disabled:a=!1,label:o,showValue:s=!1,formatValue:c,name:l,id:u,"aria-label":d,className:f}){let p=(0,D.useId)(),m=u??p,h=o?`${m}-label`:void 0,g=Kr(e),_=qr(e),v=e=>{t(Jr(e,g,n,r))},y=c?c(e):Yr(e),b=E(`block h-4 w-4 rounded-full bg-[var(--aux-white)]`,`border-2 border-[var(--system-positive-strong)]`,`shadow-sm transition-colors`,`keyboard-focus:outline-none keyboard-focus:ring-2 keyboard-focus:ring-[var(--ring)] keyboard-focus:ring-offset-0`,a?`cursor-not-allowed border-[var(--border-disabled)]`:`cursor-grab active:cursor-grabbing`);return(0,O.jsxs)(`div`,{"data-slot":`slider`,className:E(`flex flex-col gap-1.5`,f),children:[(o||s)&&(0,O.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[o?(0,O.jsx)(`span`,{id:h,className:E(`text-body-medium-default`,a?`text-[var(--content-disabled)]`:`text-[var(--content-default)]`),children:o}):(0,O.jsx)(`span`,{}),s?(0,O.jsx)(`span`,{className:E(`text-body-medium-lighter tabular-nums`,a?`text-[var(--content-disabled)]`:`text-[var(--content-secondary)]`),children:y}):null]}),(0,O.jsxs)(tt,{id:m,name:l,value:_,onValueChange:v,min:n,max:r,step:i,disabled:a,"aria-label":o?void 0:d,"aria-labelledby":o?h:void 0,className:E(`relative flex w-full touch-none items-center select-none`,`h-5`,a&&`opacity-60`),children:[(0,O.jsx)(Qe,{className:E(`relative h-1 w-full grow overflow-hidden rounded-full`,`bg-[var(--border-disabled)]`),children:(0,O.jsx)($e,{className:E(`absolute h-full rounded-full`,a?`bg-[var(--border-element)]`:`bg-[var(--system-positive-strong)]`)})}),(0,O.jsx)(et,{className:b}),g?(0,O.jsx)(et,{className:b}):null]})]})}var Zr=(0,D.createContext)({});function Qr({onOpenChange:e,...t}){return(0,O.jsx)(Zr,{value:{onOpenChange:e},children:(0,O.jsx)(He,{onOpenChange:e,...t})})}function $r(e){return(0,O.jsx)(Ve,{"data-slot":`bottom-sheet-trigger`,...e})}function ei({overlayClassName:e,className:t,padded:n=!0,children:r,ref:i,...a}){let o=f(),{onOpenChange:s}=(0,D.useContext)(Zr);return(0,O.jsxs)(Ge,{container:o??void 0,children:[(0,O.jsx)(Ue,{"data-slot":`bottom-sheet-overlay`,className:E(`fixed inset-0 z-50 bg-black/50`,e),onClick:()=>s?.(!1)}),(0,O.jsx)(Be,{ref:i,"data-slot":`bottom-sheet-content`,className:E(`fixed inset-x-0 bottom-0 z-50 flex w-full flex-col rounded-t-[24px] border-t bg-[var(--surface-lift)] border-[var(--border-base)] shadow-xl focus:outline-none`,`min-h-[min(280px,45dvh)] max-h-[50dvh]`,`data-[state=open]:animate-[bottomSheetIn_180ms_ease-out]`,t),...a,children:(0,O.jsx)(`div`,{"data-slot":`bottom-sheet-content-inner`,className:E(`flex min-h-0 flex-1 flex-col`,n&&`px-4 pt-4 pb-[calc(16px+var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px)))]`),children:r})})]})}function ti({icon:e,className:t,children:n,ref:r,...i}){return(0,O.jsxs)(Re,{ref:r,"data-slot":`bottom-sheet-title`,className:E(`flex items-center gap-3 text-title-medium text-[var(--content-default)]`,t),...i,children:[e?(0,O.jsx)(`span`,{"aria-hidden":`true`,className:`flex h-10 w-10 shrink-0 items-center justify-center rounded-full`,style:{backgroundColor:`color-mix(in oklab, var(--primary-base) 16%, transparent)`},children:(0,O.jsx)(e,{className:`h-5 w-5 text-[var(--primary-base)]`})}):null,(0,O.jsx)(`span`,{className:`min-w-0 truncate leading-snug`,children:n})]})}function ni({className:e,children:t,ref:n,...r}){return(0,O.jsx)(Le,{ref:n,"data-slot":`bottom-sheet-description`,className:E(`mt-1 whitespace-pre-line text-body-medium-lighter text-[var(--content-secondary)]`,e),...r,children:t})}function ri(e){return(0,O.jsx)(We,{"data-slot":`bottom-sheet-close`,...e})}function ii({className:e,children:t,...n}){return(0,O.jsx)(`div`,{"data-slot":`bottom-sheet-header`,className:E(`flex flex-col gap-1`,e),...n,children:t})}function ai({className:e,children:t,...n}){return(0,O.jsx)(`div`,{"data-slot":`bottom-sheet-body`,className:E(`flex-1 overflow-y-auto pt-4 text-[var(--content-default)]`,e),...n,children:t})}function oi({className:e,children:t,...n}){return(0,O.jsx)(`div`,{"data-slot":`bottom-sheet-footer`,className:E(`flex justify-end gap-2 pt-4`,e),...n,children:t})}var si={Root:Qr,Trigger:$r,Content:ei,Title:ti,Description:ni,Close:ri,Header:ii,Body:ai,Footer:oi},ci=`(width < 48rem) and (pointer: coarse)`;function li(){return(0,D.useSyncExternalStore)((0,D.useCallback)(e=>{let t=window.matchMedia(ci);return t.addEventListener(`change`,e),()=>t.removeEventListener(`change`,e)},[]),(0,D.useCallback)(()=>window.matchMedia(ci).matches,[]),()=>!1)}var ui=[`pointer-events-none opacity-0 transition-opacity`,`[@media(hover:none)]:pointer-events-auto [@media(hover:none)]:opacity-100`,`[@media(hover:hover)]:group-hover:pointer-events-auto`,`[@media(hover:hover)]:group-hover:opacity-100`,`group-focus-within:pointer-events-auto group-focus-within:opacity-100`,`has-[[aria-expanded=true]]:pointer-events-auto`,`has-[[aria-expanded=true]]:opacity-100`].join(` `),di=[`opacity-100 transition-opacity`,`[@media(hover:none)]:opacity-0`,`[@media(hover:hover)]:group-hover:opacity-0`,`group-focus-within:opacity-0`,`group-has-[[aria-expanded=true]]:opacity-0`].join(` `),fi=50,pi=2e3,mi=.8;function hi({children:e,className:t}){let n=(0,D.useRef)(null),r=(0,D.useRef)(null),[i,a]=(0,D.useState)(0);(0,D.useEffect)(()=>{let e=n.current,t=r.current;if(!e||!t)return;let i=()=>{let n=t.scrollWidth-e.clientWidth;a(n>0?n:0)};i();let o=new ResizeObserver(i);return o.observe(e),o.observe(t),()=>o.disconnect()},[e]);let o=i>0,s=Math.max(pi,Math.round(i*2/fi*1e3)),c=Math.round(s/mi),l=o?{"--panelitem-marquee-distance":`${i}px`,"--panelitem-marquee-duration":`${c}ms`}:void 0;return(0,O.jsxs)(`span`,{"data-slot":`marquee-text`,ref:n,className:E(`relative min-w-0 flex-1 overflow-hidden`,t),children:[(0,O.jsx)(`span`,{className:`block truncate motion-safe:group-hover:invisible`,children:e}),(0,O.jsx)(`span`,{ref:r,"aria-hidden":!0,className:E(`absolute top-0 left-0 invisible block whitespace-nowrap`,`motion-safe:group-hover:visible`,o&&`motion-safe:group-hover:animate-panelitem-marquee`),style:l,children:e})]})}var gi=[`group/panel-item group relative`,`flex h-8 max-md:h-auto w-full items-center justify-between`,`rounded-[6px] p-[8px] max-md:py-3 gap-[4px]`,`text-left text-body-medium-lighter max-md:text-body-large-default`,`transition-colors`,`bg-transparent`,`text-[var(--content-secondary)]`,`outline-none`].join(` `),_i=[`keyboard-focus:ring-2 keyboard-focus:ring-[var(--ring)]`,`cursor-pointer select-none`].join(` `),vi=`[@media(hover:hover)]:hover:bg-[var(--panel-item-hover,var(--surface-hover))]`,yi=`[@media(hover:hover)]:hover:bg-[var(--panel-item-hover,var(--surface-active))]`,bi=[`w-fit rounded-full`,`h-[var(--side-menu-tile-size,36px)]`,`bg-[var(--panel-item-bg,var(--surface-lift))]`,`text-[color:var(--panel-item-fg,inherit)]`].join(` `),xi=[`aria-[current=page]:bg-[var(--panel-item-active,var(--panel-item-bg,var(--surface-active)))]`,`aria-[current=page]:text-[var(--content-emphasised)]`].join(` `),Si=[`aria-[current=page]:bg-[color-mix(in_oklab,var(--primary-base)_10%,transparent)]`,`aria-[current=page]:text-[var(--primary-base)]`,`aria-[current=page]:font-medium`].join(` `),Ci=`flex min-w-0 flex-1 items-center gap-[8px]`,wi=[`shrink-0`,`text-[color:var(--panel-item-icon-fg,var(--content-tertiary))]`,`[@media(hover:hover)]:group-hover:text-[color:var(--panel-item-icon-fg,var(--content-secondary))]`].join(` `),Ti=`group-aria-[current=page]:text-[var(--content-default)]`,Ei=`group-aria-[current=page]:text-[var(--primary-base)]`,Di=`min-w-0 flex-1 truncate`,Oi=`shrink-0 text-[var(--content-tertiary)]`,ki=`flex items-center gap-2 shrink-0`,Ai=[`inline-flex items-center justify-center shrink-0`,`text-label-small-default leading-none`,`text-[var(--content-tertiary)]`,`rounded-[4px] bg-[var(--surface-base)] px-[4px] py-[2px]`,`[@media(hover:hover)]:group-hover:bg-transparent [@media(hover:hover)]:group-hover:rounded-none`,`[@media(hover:hover)]:group-hover:px-0 [@media(hover:hover)]:group-hover:py-0`,`group-aria-[current=page]:bg-transparent group-aria-[current=page]:rounded-none`,`group-aria-[current=page]:px-0 group-aria-[current=page]:py-0`].join(` `),ji=`inline-flex items-center justify-center shrink-0`,Mi=`mr-2`,Ni=[`flex items-center shrink-0`,ui,`group-aria-[current=page]:pointer-events-auto`,`group-aria-[current=page]:opacity-100`].join(` `),Pi=[di,`group-aria-[current=page]:opacity-0`].join(` `);function Fi({shape:e,active:t,activeVariant:n,interactive:r,className:i}){return E(gi,r&&_i,r&&(e===`pill`?yi:vi),n===`branded`?Si:xi,e===`pill`&&bi,i)}function Ii(e){return e.asChild===!0?(0,O.jsx)(Li,{...e}):(0,O.jsx)(Ri,{...e})}function Li({asChild:e,shape:t=`row`,active:n=!1,activeVariant:r=`default`,className:i,"aria-label":a,children:o,ref:s,...c}){return(0,O.jsx)(te,{"data-slot":`panel-item`,ref:s,className:Fi({shape:t,active:n,activeVariant:r,interactive:!0,className:i}),"aria-current":n?`page`:void 0,"aria-label":a,...c,children:o})}function Ri({asChild:e,children:t,icon:n,leadingSlot:r,label:i,expandChevron:a,badge:o,badgeBare:s=!1,trailingAction:c,shape:l=`row`,active:u=!1,activeVariant:d=`default`,disabled:f=!1,onSelect:p,marqueeOnHover:m=!1,className:h,"aria-label":g,trigger:_=!1,ref:v,onClick:y,onKeyDown:b,...x}){let S=u?`page`:void 0,C=g??(typeof i==`string`?i:void 0),ee=r===void 0?n?(0,O.jsx)(n,{size:14,"aria-hidden":!0,className:E(`max-md:size-4`,wi,d===`branded`?Ei:Ti)}):null:r,w=m?(0,O.jsx)(hi,{children:i}):(0,O.jsx)(`span`,{className:Di,children:i}),T=a?(0,O.jsx)(a,{size:12,"aria-hidden":!0,className:Oi}):null,te=o!=null&&c!=null,ne=o==null?null:(0,O.jsx)(`span`,{className:E(s?ji:Ai,s&&!c&&Mi,te&&Pi),children:o}),re=c?(0,O.jsx)(`span`,{className:Ni,onClick:e=>{e.stopPropagation(),e.preventDefault()},children:c}):null,ie=(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(`span`,{className:Ci,children:[ee,w,T]}),(0,O.jsx)(`span`,{className:ki,children:te?(0,O.jsxs)(nt,{children:[ne,re]}):(0,O.jsxs)(O.Fragment,{children:[ne,re]})})]}),ae=p!=null||_,oe=Fi({shape:l,active:u,activeVariant:d,interactive:ae,className:h});if(ae){let e=e=>{if(f){e.preventDefault();return}y?.(e),e.defaultPrevented||p?.()},t=e=>{if(!f&&(b?.(e),!e.defaultPrevented&&(e.key===`Enter`||e.key===` `))){if(!p)return;e.preventDefault(),p()}};return(0,O.jsx)(`div`,{...x,"data-slot":`panel-item`,ref:v,role:`button`,tabIndex:f?-1:0,"aria-disabled":f||void 0,className:oe,"aria-current":S,"aria-label":C,onClick:e,onKeyDown:t,children:ie})}return(0,O.jsx)(`div`,{"data-slot":`panel-item`,ref:v,className:oe,"aria-current":S,"aria-label":C,onClick:y,onKeyDown:b,...x,children:ie})}var zi=(0,D.createContext)(null);function Bi(e){let t=(0,D.useContext)(zi);if(!t)throw Error(`ActionMenu.${e} must be rendered inside ActionMenu.Root`);return t}function Vi({open:e,defaultOpen:t=!1,onOpenChange:n,presentation:r,children:i}){let a=li(),[o,s]=(0,D.useState)(t),c=e??o,l=r??(a?`sheet`:`anchored`),u=(0,D.useRef)(c),d=(0,D.useCallback)(t=>{e===void 0&&s(t),u.current!==t&&(u.current=t,n?.(t))},[n,e]);(0,D.useEffect)(()=>{u.current=c},[c]);let f=(0,D.useCallback)(()=>d(!1),[d]),p=l===`sheet`?si.Root:we.Root;return(0,O.jsx)(zi,{value:{presentation:l,close:f},children:(0,O.jsx)(p,{open:c,onOpenChange:d,children:i})})}function Hi({asChild:e=!0,...t}){let{presentation:n}=Bi(`Trigger`);return n===`sheet`?(0,O.jsx)(si.Trigger,{asChild:e,...t}):(0,O.jsx)(we.Trigger,{asChild:e,...t})}function Ui({title:e,showTitle:t=!1,children:n,className:r,side:i,align:a=`end`,sideOffset:o=4}){let{presentation:s}=Bi(`Content`);return s===`sheet`?(0,O.jsxs)(si.Content,{"aria-describedby":void 0,className:r,children:[(0,O.jsx)(si.Header,{className:t?void 0:`sr-only`,children:(0,O.jsx)(si.Title,{children:e})}),(0,O.jsx)(si.Body,{className:t?void 0:`pt-0`,children:n})]}):(0,O.jsx)(we.Content,{"aria-label":e,side:i,align:a,sideOffset:o,className:r,children:n})}var Wi={anchored:`text-[var(--system-negative-strong)] data-[highlighted]:text-[var(--system-negative-hover)] [&_[data-slot=menu-item-icon]]:text-inherit`,sheet:`text-[var(--system-negative-strong)] [--panel-item-icon-fg:var(--system-negative-strong)]`};function Gi({icon:e,label:t,description:n,shortcut:r,tone:i=`default`,disabled:a=!1,onSelect:o,className:s}){let{presentation:c,close:l}=Bi(`Item`),u=i===`destructive`;return c===`sheet`?(0,O.jsx)(Ii,{icon:e,label:n?(0,O.jsxs)(`span`,{className:`flex flex-col gap-0.5 overflow-visible whitespace-normal`,children:[(0,O.jsx)(`span`,{children:t}),(0,O.jsx)(`span`,{className:`text-body-small-default text-[var(--content-tertiary)]`,children:n})]}):t,"aria-label":typeof t==`string`?t:void 0,disabled:a,className:E(u&&Wi.sheet,s),onSelect:()=>{l(),o?.()}}):(0,O.jsx)(we.Item,{leftIcon:e?(0,O.jsx)(e,{size:14}):void 0,shortcut:r,disabled:a,className:E(`whitespace-nowrap`,u&&Wi.anchored,s),onSelect:()=>{l(),o?.()},children:t})}function Ki({className:e}){let{presentation:t}=Bi(`Separator`);return t===`sheet`?(0,O.jsx)(`div`,{"data-slot":`action-menu-separator`,role:`separator`,className:E(`my-1 h-px bg-[var(--border-base)]`,e)}):(0,O.jsx)(we.Separator,{className:e})}function qi({children:e,className:t}){let{presentation:n}=Bi(`Label`);return n===`sheet`?(0,O.jsx)(`div`,{"data-slot":`action-menu-label`,className:E(`px-2 pt-2 pb-1 text-body-small-default uppercase tracking-wide text-[var(--content-tertiary)]`,t),children:e}):(0,O.jsx)(we.Label,{className:t,children:e})}var Ji={Root:Vi,Trigger:Hi,Content:Ui,Item:Gi,Separator:Ki,Label:qi},Yi=`ContextMenu`,[Xi,Zi]=i(Yi,[ue]),Qi=ue(),[$i,ea]=Xi(Yi),ta=e=>{let{__scopeContextMenu:t,children:n,onOpenChange:r,open:i,dir:a,modal:o=!0}=e,s=D.useRef(!1);{let e=D.useRef(!1);D.useEffect(()=>{i===!0&&!s.current&&!e.current&&(e.current=!0,console.warn("ContextMenu: The `open` prop has been set to `true` before the user has interacted with the trigger, so its position is indeterminate. This is likely unintended and will result in the menu being anchored to the top-left corner of the viewport."))},[i])}let[c,l]=y({prop:i,defaultProp:!1,onChange:r,caller:Yi}),u=Qi(t);return(0,O.jsx)($i,{scope:t,open:c,onOpenChange:l,modal:o,hasInteractedRef:s,children:(0,O.jsx)(he,{...u,dir:a,open:c,onOpenChange:l,modal:o,children:n})})};ta.displayName=Yi;var na=`ContextMenuTrigger`,ra=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,disabled:r=!1,...i}=e,s=ea(na,n),c=Qi(n),l=D.useRef({x:0,y:0}),u=D.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...l.current})}),d=D.useRef(0),f=D.useCallback(()=>window.clearTimeout(d.current),[]),p=e=>{s.hasInteractedRef.current=!0,l.current={x:e.clientX,y:e.clientY},s.onOpenChange(!0)};return D.useEffect(()=>f,[f]),D.useEffect(()=>void(r&&f()),[r,f]),(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(ge,{...c,virtualRef:u}),(0,O.jsx)(o.span,{"data-state":s.open?`open`:`closed`,"data-disabled":r?``:void 0,...i,ref:t,style:{WebkitTouchCallout:`none`,...e.style},onContextMenu:r?e.onContextMenu:a(e.onContextMenu,e=>{f(),p(e),e.preventDefault()}),onPointerDown:r?e.onPointerDown:a(e.onPointerDown,Ma(e=>{f(),s.open&&s.onOpenChange(!1),d.current=window.setTimeout(()=>p(e),700)})),onPointerMove:r?e.onPointerMove:a(e.onPointerMove,Ma(f)),onPointerCancel:r?e.onPointerCancel:a(e.onPointerCancel,Ma(f)),onPointerUp:r?e.onPointerUp:a(e.onPointerUp,Ma(f))})]})});ra.displayName=na;var ia=`ContextMenuPortal`,aa=e=>{let{__scopeContextMenu:t,...n}=e,r=Qi(t);return(0,O.jsx)(pe,{...r,...n})};aa.displayName=ia;var oa=`ContextMenuContent`,sa=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,...r}=e,i=ea(oa,n),a=Qi(n),o=D.useRef(!1);return(0,O.jsx)(Ce,{...a,...r,ref:t,side:`right`,sideOffset:2,align:`start`,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),!t.defaultPrevented&&o.current&&t.preventDefault(),o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),!t.defaultPrevented&&!i.modal&&(o.current=!0)},style:{...e.style,"--radix-context-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-context-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-context-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-context-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-context-menu-trigger-height":`var(--radix-popper-anchor-height)`}})});sa.displayName=oa;var ca=`ContextMenuGroup`,la=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,...r}=e,i=Qi(n);return(0,O.jsx)(de,{...i,...r,ref:t})});la.displayName=ca;var ua=`ContextMenuLabel`,da=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,...r}=e,i=Qi(n);return(0,O.jsx)(fe,{...i,...r,ref:t})});da.displayName=ua;var fa=`ContextMenuItem`,pa=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,...r}=e,i=Qi(n);return(0,O.jsx)(_e,{...i,...r,ref:t})});pa.displayName=fa;var ma=`ContextMenuCheckboxItem`,ha=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,...r}=e,i=Qi(n);return(0,O.jsx)(be,{...i,...r,ref:t})});ha.displayName=ma;var ga=`ContextMenuRadioGroup`,_a=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,...r}=e,i=Qi(n);return(0,O.jsx)(xe,{...i,...r,ref:t})});_a.displayName=ga;var va=`ContextMenuRadioItem`,ya=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,...r}=e,i=Qi(n);return(0,O.jsx)(ve,{...i,...r,ref:t})});ya.displayName=va;var ba=`ContextMenuItemIndicator`,xa=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,...r}=e,i=Qi(n);return(0,O.jsx)(Te,{...i,...r,ref:t})});xa.displayName=ba;var Sa=`ContextMenuSeparator`,Ca=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,...r}=e,i=Qi(n);return(0,O.jsx)(me,{...i,...r,ref:t})});Ca.displayName=Sa;var wa=`ContextMenuArrow`,Ta=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,...r}=e,i=Qi(n);return(0,O.jsx)(le,{...i,...r,ref:t})});Ta.displayName=wa;var Ea=`ContextMenuSub`,Da=e=>{let{__scopeContextMenu:t,children:n,onOpenChange:r,open:i,defaultOpen:a}=e,o=Qi(t),[s,c]=y({prop:i,defaultProp:a??!1,onChange:r,caller:Ea});return(0,O.jsx)(ce,{...o,open:s,onOpenChange:c,children:n})};Da.displayName=Ea;var Oa=`ContextMenuSubTrigger`,ka=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,...r}=e,i=Qi(n);return(0,O.jsx)(ke,{...i,...r,ref:t})});ka.displayName=Oa;var Aa=`ContextMenuSubContent`,ja=D.forwardRef((e,t)=>{let{__scopeContextMenu:n,...r}=e,i=Qi(n);return(0,O.jsx)(Ee,{...i,...r,ref:t,style:{...e.style,"--radix-context-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-context-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-context-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-context-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-context-menu-trigger-height":`var(--radix-popper-anchor-height)`}})});ja.displayName=Aa;function Ma(e){return t=>t.pointerType===`mouse`?void 0:e(t)}var Na=ta,Pa=ra,Fa=aa,Ia=sa,La=da,Ra=pa,za=ha,Ba=_a,Va=ya,Ha=xa,Ua=Ca,Wa=Da,Ga=ka,Ka=ja,qa=Na;function Ja({asChild:e=!0,onContextMenu:t,...n}){return(0,O.jsx)(Pa,{"data-slot":`context-menu-trigger`,asChild:e,onContextMenu:e=>{t?.(e),e.stopPropagation()},...n})}function Ya({className:e,collisionPadding:t=8,ref:n,...r}){let i=f();return(0,O.jsx)(Fa,{container:i??void 0,children:(0,O.jsx)(Ia,{ref:n,"data-slot":`context-menu-content`,collisionPadding:t,className:E(ye,e),...r})})}function Xa({className:e,children:t,leftIcon:n,shortcut:r,ref:i,...a}){return(0,O.jsxs)(Ra,{ref:i,"data-slot":`context-menu-item`,className:E(Se,e),...a,children:[n?(0,O.jsx)(`span`,{className:`flex h-4 w-4 shrink-0 items-center justify-center text-[var(--content-tertiary)]`,"aria-hidden":!0,children:n}):null,(0,O.jsx)(`span`,{className:`flex-1 truncate`,children:t}),r?(0,O.jsx)(`span`,{className:`ml-auto pl-4 text-body-small-default tracking-wide text-[var(--content-tertiary)]`,children:r}):null]})}function Za({className:e,children:t,checked:n,shortcut:r,ref:i,...a}){return(0,O.jsxs)(za,{ref:i,checked:n,"data-slot":`context-menu-checkbox-item`,className:E(Se,`pl-7`,e),...a,children:[(0,O.jsx)(`span`,{className:`absolute left-1.5 flex h-4 w-4 items-center justify-center`,children:(0,O.jsx)(Ha,{children:(0,O.jsx)(ie,{className:`h-3.5 w-3.5 text-[var(--content-default)]`,"aria-hidden":!0})})}),(0,O.jsx)(`span`,{className:`flex-1 truncate`,children:t}),r?(0,O.jsx)(`span`,{className:`ml-auto pl-4 text-body-small-default tracking-wide text-[var(--content-tertiary)]`,children:r}):null]})}function Qa({ref:e,...t}){return(0,O.jsx)(Ba,{ref:e,"data-slot":`context-menu-radio-group`,...t})}function $a({className:e,children:t,shortcut:n,ref:r,...i}){return(0,O.jsxs)(Va,{ref:r,"data-slot":`context-menu-radio-item`,className:E(Se,`pl-7`,e),...i,children:[(0,O.jsx)(`span`,{className:`absolute left-1.5 flex h-4 w-4 items-center justify-center`,children:(0,O.jsx)(Ha,{children:(0,O.jsx)(De,{className:`h-2 w-2 fill-current text-[var(--content-default)]`,"aria-hidden":!0})})}),(0,O.jsx)(`span`,{className:`flex-1 truncate`,children:t}),n?(0,O.jsx)(`span`,{className:`ml-auto pl-4 text-body-small-default tracking-wide text-[var(--content-tertiary)]`,children:n}):null]})}function eo({className:e,ref:t,...n}){return(0,O.jsx)(Ua,{ref:t,"data-slot":`context-menu-separator`,className:E(`my-1 h-px bg-[var(--border-base)]`,e),...n})}function to({className:e,ref:t,...n}){return(0,O.jsx)(La,{ref:t,"data-slot":`context-menu-label`,className:E(`px-2 py-1.5 text-body-small-default uppercase tracking-wide`,`text-[var(--content-tertiary)]`,e),...n})}var no=Wa;function ro({className:e,children:t,leftIcon:n,ref:r,...i}){return(0,O.jsxs)(Ga,{ref:r,"data-slot":`context-menu-sub-trigger`,className:E(Se,`data-[state=open]:bg-[var(--surface-hover)]`,`data-[state=open]:text-[var(--content-emphasised)]`,e),...i,children:[n?(0,O.jsx)(`span`,{className:`flex h-4 w-4 shrink-0 items-center justify-center text-[var(--content-tertiary)]`,"aria-hidden":!0,children:n}):null,(0,O.jsx)(`span`,{className:`flex-1 truncate`,children:t}),(0,O.jsx)(ae,{className:`ml-auto h-3.5 w-3.5 text-[var(--content-tertiary)]`,"aria-hidden":!0})]})}function io({className:e,ref:t,...n}){let r=f();return(0,O.jsx)(Fa,{container:r??void 0,children:(0,O.jsx)(Ka,{ref:t,"data-slot":`context-menu-sub-content`,className:E(ye,e),...n})})}var ao={Root:qa,Trigger:Ja,Content:Ya,Item:Xa,CheckboxItem:Za,RadioGroup:Qa,RadioItem:$a,Separator:eo,Label:to,Sub:no,SubTrigger:ro,SubContent:io};function oo(){}function so(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}function co(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var lo=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,uo=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,fo={};function po(e,t){return((t||fo).jsx?uo:lo).test(e)}var mo=/[ \t\n\f\r]/g;function ho(e){return typeof e==`object`?e.type===`text`?go(e.value):!1:go(e)}function go(e){return e.replace(mo,``)===``}var _o=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};_o.prototype.normal={},_o.prototype.property={},_o.prototype.space=void 0;function vo(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new _o(n,r,t)}function yo(e){return e.toLowerCase()}var bo=class{constructor(e,t){this.attribute=t,this.property=e}};bo.prototype.attribute=``,bo.prototype.booleanish=!1,bo.prototype.boolean=!1,bo.prototype.commaOrSpaceSeparated=!1,bo.prototype.commaSeparated=!1,bo.prototype.defined=!1,bo.prototype.mustUseProperty=!1,bo.prototype.number=!1,bo.prototype.overloadedBoolean=!1,bo.prototype.property=``,bo.prototype.spaceSeparated=!1,bo.prototype.space=void 0;var xo=t({boolean:()=>Co,booleanish:()=>wo,commaOrSpaceSeparated:()=>Oo,commaSeparated:()=>Do,number:()=>k,overloadedBoolean:()=>To,spaceSeparated:()=>Eo}),So=0,Co=ko(),wo=ko(),To=ko(),k=ko(),Eo=ko(),Do=ko(),Oo=ko();function ko(){return 2**++So}var Ao=Object.keys(xo),jo=class extends bo{constructor(e,t,n,r){let i=-1;if(super(e,t),Mo(this,`space`,r),typeof n==`number`)for(;++i<Ao.length;){let e=Ao[i];Mo(this,Ao[i],(n&xo[e])===xo[e])}}};jo.prototype.defined=!0;function Mo(e,t,n){n&&(e[t]=n)}function No(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new jo(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[yo(r)]=r,n[yo(a.attribute)]=r}return new _o(t,n,e.space)}var Po=No({properties:{ariaActiveDescendant:null,ariaAtomic:wo,ariaAutoComplete:null,ariaBusy:wo,ariaChecked:wo,ariaColCount:k,ariaColIndex:k,ariaColSpan:k,ariaControls:Eo,ariaCurrent:null,ariaDescribedBy:Eo,ariaDetails:null,ariaDisabled:wo,ariaDropEffect:Eo,ariaErrorMessage:null,ariaExpanded:wo,ariaFlowTo:Eo,ariaGrabbed:wo,ariaHasPopup:null,ariaHidden:wo,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Eo,ariaLevel:k,ariaLive:null,ariaModal:wo,ariaMultiLine:wo,ariaMultiSelectable:wo,ariaOrientation:null,ariaOwns:Eo,ariaPlaceholder:null,ariaPosInSet:k,ariaPressed:wo,ariaReadOnly:wo,ariaRelevant:null,ariaRequired:wo,ariaRoleDescription:Eo,ariaRowCount:k,ariaRowIndex:k,ariaRowSpan:k,ariaSelected:wo,ariaSetSize:k,ariaSort:null,ariaValueMax:k,ariaValueMin:k,ariaValueNow:k,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function Fo(e,t){return t in e?e[t]:t}function Io(e,t){return Fo(e,t.toLowerCase())}var Lo=No({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:Do,acceptCharset:Eo,accessKey:Eo,action:null,allow:null,allowFullScreen:Co,allowPaymentRequest:Co,allowUserMedia:Co,alpha:Co,alt:null,as:null,async:Co,autoCapitalize:null,autoComplete:Eo,autoFocus:Co,autoPlay:Co,blocking:Eo,capture:null,charSet:null,checked:Co,cite:null,className:Eo,closedBy:null,colorSpace:null,cols:k,colSpan:k,command:null,commandFor:null,content:null,contentEditable:wo,controls:Co,controlsList:Eo,coords:k|Do,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Co,defer:Co,dir:null,dirName:null,disabled:Co,download:To,draggable:wo,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Co,formTarget:null,headers:Eo,height:k,hidden:To,high:k,href:null,hrefLang:null,htmlFor:Eo,httpEquiv:Eo,id:null,imageSizes:null,imageSrcSet:null,inert:Co,inputMode:null,integrity:null,is:null,isMap:Co,itemId:null,itemProp:Eo,itemRef:Eo,itemScope:Co,itemType:Eo,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Co,low:k,manifest:null,max:null,maxLength:k,media:null,method:null,min:null,minLength:k,multiple:Co,muted:Co,name:null,nonce:null,noModule:Co,noValidate:Co,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Co,optimum:k,pattern:null,ping:Eo,placeholder:null,playsInline:Co,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Co,referrerPolicy:null,rel:Eo,required:Co,reversed:Co,rows:k,rowSpan:k,sandbox:Eo,scope:null,scoped:Co,seamless:Co,selected:Co,shadowRootClonable:Co,shadowRootCustomElementRegistry:Co,shadowRootDelegatesFocus:Co,shadowRootMode:null,shadowRootSerializable:Co,shape:null,size:k,sizes:null,slot:null,span:k,spellCheck:wo,src:null,srcDoc:null,srcLang:null,srcSet:null,start:k,step:null,style:null,tabIndex:k,target:null,title:null,translate:null,type:null,typeMustMatch:Co,useMap:null,value:wo,width:k,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Eo,axis:null,background:null,bgColor:null,border:k,borderColor:null,bottomMargin:k,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Co,declare:Co,event:null,face:null,frame:null,frameBorder:null,hSpace:k,leftMargin:k,link:null,longDesc:null,lowSrc:null,marginHeight:k,marginWidth:k,noResize:Co,noHref:Co,noShade:Co,noWrap:Co,object:null,profile:null,prompt:null,rev:null,rightMargin:k,rules:null,scheme:null,scrolling:wo,standby:null,summary:null,text:null,topMargin:k,valueType:null,version:null,vAlign:null,vLink:null,vSpace:k,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Co,disablePictureInPicture:Co,disableRemotePlayback:Co,exportParts:Do,part:Eo,prefix:null,property:null,results:k,security:null,unselectable:null},space:`html`,transform:Io}),Ro=No({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,maskType:`mask-type`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:Oo,accentHeight:k,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:k,amplitude:k,arabicForm:null,ascent:k,attributeName:null,attributeType:null,azimuth:k,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:k,by:null,calcMode:null,capHeight:k,className:Eo,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:k,diffuseConstant:k,direction:null,display:null,dur:null,divisor:k,dominantBaseline:null,download:Co,dx:null,dy:null,edgeMode:null,editable:null,elevation:k,enableBackground:null,end:null,event:null,exponent:k,externalResourcesRequired:null,fill:null,fillOpacity:k,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Do,g2:Do,glyphName:Do,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:k,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:k,horizOriginX:k,horizOriginY:k,id:null,ideographic:k,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:k,k,k1:k,k2:k,k3:k,k4:k,kernelMatrix:Oo,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:k,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:k,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:k,overlineThickness:k,paintOrder:null,panose1:null,path:null,pathLength:k,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Eo,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:k,pointsAtY:k,pointsAtZ:k,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Oo,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Oo,rev:Oo,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Oo,requiredFeatures:Oo,requiredFonts:Oo,requiredFormats:Oo,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:k,specularExponent:k,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:k,strikethroughThickness:k,string:null,stroke:null,strokeDashArray:Oo,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:k,strokeOpacity:k,strokeWidth:null,style:null,surfaceScale:k,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Oo,tabIndex:k,tableValues:null,target:null,targetX:k,targetY:k,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Oo,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:k,underlineThickness:k,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:k,values:null,vAlphabetic:k,vMathematical:k,vectorEffect:null,vHanging:k,vIdeographic:k,version:null,vertAdvY:k,vertOriginX:k,vertOriginY:k,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:k,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:Fo}),zo=No({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),Bo=No({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:Io}),Vo=No({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),Ho={classId:`classID`,dataType:`datatype`,itemId:`itemID`,strokeDashArray:`strokeDasharray`,strokeDashOffset:`strokeDashoffset`,strokeLineCap:`strokeLinecap`,strokeLineJoin:`strokeLinejoin`,strokeMiterLimit:`strokeMiterlimit`,typeOf:`typeof`,xLinkActuate:`xlinkActuate`,xLinkArcRole:`xlinkArcrole`,xLinkHref:`xlinkHref`,xLinkRole:`xlinkRole`,xLinkShow:`xlinkShow`,xLinkTitle:`xlinkTitle`,xLinkType:`xlinkType`,xmlnsXLink:`xmlnsXlink`},Uo=/[A-Z]/g,Wo=/-[a-z]/g,Go=/^data[-\w.:]+$/i;function Ko(e,t){let n=yo(t),r=t,i=bo;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&Go.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(Wo,Jo);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!Wo.test(e)){let n=e.replace(Uo,qo);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=jo}return new i(r,t)}function qo(e){return`-`+e.toLowerCase()}function Jo(e){return e.charAt(1).toUpperCase()}var Yo=vo([Po,Lo,zo,Bo,Vo],`html`),Xo=vo([Po,Ro,zo,Bo,Vo],`svg`);function Zo(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Qo(e){return e.join(` `).trim()}var $o=n(((e,t)=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,l=/^\s+|\s+$/g,u=`
|
|
2
|
+
`,d=`/`,f=`*`,p=``,m=`comment`,h=`declaration`;function g(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t||={};var l=1,g=1;function v(e){var t=e.match(r);t&&(l+=t.length);var n=e.lastIndexOf(u);g=~n?e.length-n:g+e.length}function y(){var e={line:l,column:g};return function(t){return t.position=new b(e),C(),t}}function b(e){this.start=e,this.end={line:l,column:g},this.source=t.source}b.prototype.content=e;function x(n){var r=Error(t.source+`:`+l+`:`+g+`: `+n);if(r.reason=n,r.filename=t.source,r.line=l,r.column=g,r.source=e,!t.silent)throw r}function S(t){var n=t.exec(e);if(n){var r=n[0];return v(r),e=e.slice(r.length),n}}function C(){S(i)}function ee(e){var t;for(e||=[];t=w();)t!==!1&&e.push(t);return e}function w(){var t=y();if(!(d!=e.charAt(0)||f!=e.charAt(1))){for(var n=2;p!=e.charAt(n)&&(f!=e.charAt(n)||d!=e.charAt(n+1));)++n;if(n+=2,p===e.charAt(n-1))return x(`End of comment missing`);var r=e.slice(2,n-2);return g+=2,v(r),e=e.slice(n),g+=2,t({type:m,comment:r})}}function T(){var e=y(),t=S(a);if(t){if(w(),!S(o))return x(`property missing ':'`);var r=S(s),i=e({type:h,property:_(t[0].replace(n,p)),value:r?_(r[0].replace(n,p)):p});return S(c),i}}function te(){var e=[];ee(e);for(var t;t=T();)t!==!1&&(e.push(t),ee(e));return e}return C(),te()}function _(e){return e?e.replace(l,p):p}t.exports=g})),es=n((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.default=r;var n=t($o());function r(e,t){let r=null;if(!e||typeof e!=`string`)return r;let i=(0,n.default)(e),a=typeof t==`function`;return i.forEach(e=>{if(e.type!==`declaration`)return;let{property:n,value:i}=e;a?t(n,i,e):i&&(r||={},r[n]=i)}),r}})),ts=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,o=function(e){return!e||r.test(e)||t.test(e)},s=function(e,t){return t.toUpperCase()},c=function(e,t){return`${t}-`};e.camelCase=function(e,t){return t===void 0&&(t={}),o(e)?e:(e=e.toLowerCase(),e=t.reactCompat?e.replace(a,c):e.replace(i,c),e.replace(n,s))}})),ns=n(((e,t)=>{var n=(e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(es()),r=ts();function i(e,t){var i={};return!e||typeof e!=`string`||(0,n.default)(e,function(e,n){e&&n&&(i[(0,r.camelCase)(e,t)]=n)}),i}i.default=i,t.exports=i})),rs=as(`end`),is=as(`start`);function as(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function os(e){let t=is(e),n=rs(e);if(t&&n)return{start:t,end:n}}function ss(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?ls(e.position):`start`in e||`end`in e?ls(e):`line`in e||`column`in e?cs(e):``}function cs(e){return us(e&&e.line)+`:`+us(e&&e.column)}function ls(e){return cs(e&&e.start)+`-`+cs(e&&e.end)}function us(e){return e&&typeof e==`number`?e:1}var ds=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file=``,this.message=r,this.line=o?o.line:void 0,this.name=ss(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};ds.prototype.file=``,ds.prototype.name=``,ds.prototype.reason=``,ds.prototype.message=``,ds.prototype.stack=``,ds.prototype.column=void 0,ds.prototype.line=void 0,ds.prototype.ancestors=void 0,ds.prototype.cause=void 0,ds.prototype.fatal=void 0,ds.prototype.place=void 0,ds.prototype.ruleId=void 0,ds.prototype.source=void 0;var fs=e(ns(),1),ps={}.hasOwnProperty,ms=new Map,hs=/[A-Z]/g,gs=new Set([`table`,`tbody`,`thead`,`tfoot`,`tr`]),_s=new Set([`td`,`th`]),vs=`https://github.com/syntax-tree/hast-util-to-jsx-runtime`;function ys(e,t){if(!t||t.Fragment===void 0)throw TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,r;if(t.development){if(typeof t.jsxDEV!=`function`)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=As(n,t.jsxDEV)}else{if(typeof t.jsx!=`function`)throw TypeError("Expected `jsx` in production options");if(typeof t.jsxs!=`function`)throw TypeError("Expected `jsxs` in production options");r=ks(n,t.jsx,t.jsxs)}let i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||`react`,evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space===`svg`?Xo:Yo,stylePropertyNameCase:t.stylePropertyNameCase||`dom`,tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=bs(i,e,void 0);return a&&typeof a!=`string`?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function bs(e,t,n){if(t.type===`element`)return xs(e,t,n);if(t.type===`mdxFlowExpression`||t.type===`mdxTextExpression`)return Ss(e,t);if(t.type===`mdxJsxFlowElement`||t.type===`mdxJsxTextElement`)return ws(e,t,n);if(t.type===`mdxjsEsm`)return Cs(e,t);if(t.type===`root`)return Ts(e,t,n);if(t.type===`text`)return Es(e,t)}function xs(e,t,n){let r=e.schema,i=r;t.tagName.toLowerCase()===`svg`&&r.space===`html`&&(i=Xo,e.schema=i),e.ancestors.push(t);let a=Is(e,t.tagName,!1),o=js(e,t),s=Ns(e,t);return gs.has(t.tagName)&&(s=s.filter(function(e){return typeof e==`string`?!ho(e):!0})),Ds(e,o,a,t),Os(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function Ss(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}Ls(e,t.position)}function Cs(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ls(e,t.position)}function ws(e,t,n){let r=e.schema,i=r;t.name===`svg`&&r.space===`html`&&(i=Xo,e.schema=i),e.ancestors.push(t);let a=t.name===null?e.Fragment:Is(e,t.name,!0),o=Ms(e,t),s=Ns(e,t);return Ds(e,o,a,t),Os(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function Ts(e,t,n){let r={};return Os(r,Ns(e,t)),e.create(t,e.Fragment,r,n)}function Es(e,t){return t.value}function Ds(e,t,n,r){typeof n!=`string`&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Os(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function ks(e,t,n){return r;function r(e,r,i,a){let o=Array.isArray(i.children)?n:t;return a?o(r,i,a):o(r,i)}}function As(e,t){return n;function n(n,r,i,a){let o=Array.isArray(i.children),s=is(n);return t(r,i,a,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function js(e,t){let n={},r,i;for(i in t.properties)if(i!==`children`&&ps.call(t.properties,i)){let a=Ps(e,i,t.properties[i]);if(a){let[i,o]=a;e.tableCellAlignToStyle&&i===`align`&&typeof o==`string`&&_s.has(t.tagName)?r=o:n[i]=o}}if(r){let t=n.style||={};t[e.stylePropertyNameCase===`css`?`text-align`:`textAlign`]=r}return n}function Ms(e,t){let n={};for(let r of t.attributes)if(r.type===`mdxJsxExpressionAttribute`)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let a=i.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else Ls(e,t.position);else{let i=r.name,a;if(r.value&&typeof r.value==`object`)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,a=e.evaluater.evaluateExpression(t.expression)}else Ls(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function Ns(e,t){let n=[],r=-1,i=e.passKeys?new Map:ms;for(;++r<t.children.length;){let a=t.children[r],o;if(e.passKeys){let e=a.type===`element`?a.tagName:a.type===`mdxJsxFlowElement`||a.type===`mdxJsxTextElement`?a.name:void 0;if(e){let t=i.get(e)||0;o=e+`-`+t,i.set(e,t+1)}}let s=bs(e,a,o);s!==void 0&&n.push(s)}return n}function Ps(e,t,n){let r=Ko(e.schema,t);if(!(n==null||typeof n==`number`&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?co(n):Qo(n)),r.property===`style`){let t=typeof n==`object`?n:Fs(e,String(n));return e.stylePropertyNameCase===`css`&&(t=Rs(t)),[`style`,t]}return[e.elementAttributeNameCase===`react`&&r.space?Ho[r.property]||r.property:r.attribute,n]}}function Fs(e,t){try{return(0,fs.default)(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};let n=t,r=new ds("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:`style`,source:`hast-util-to-jsx-runtime`});throw r.file=e.filePath||void 0,r.url=vs+`#cannot-parse-style-attribute`,r}}function Is(e,t,n){let r;if(!n)r={type:`Literal`,value:t};else if(t.includes(`.`)){let e=t.split(`.`),n=-1,i;for(;++n<e.length;){let t=po(e[n])?{type:`Identifier`,name:e[n]}:{type:`Literal`,value:e[n]};i=i?{type:`MemberExpression`,object:i,property:t,computed:!!(n&&t.type===`Literal`),optional:!1}:t}r=i}else r=po(t)&&!/^[a-z]/.test(t)?{type:`Identifier`,name:t}:{type:`Literal`,value:t};if(r.type===`Literal`){let t=r.value;return ps.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ls(e)}function Ls(e,t){let n=new ds("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:`mdx-estree`,source:`hast-util-to-jsx-runtime`});throw n.file=e.filePath||void 0,n.url=vs+`#cannot-handle-mdx-estrees-without-createevaluater`,n}function Rs(e){let t={},n;for(n in e)ps.call(e,n)&&(t[zs(n)]=e[n]);return t}function zs(e){let t=e.replace(hs,Bs);return t.slice(0,3)===`ms-`&&(t=`-`+t),t}function Bs(e){return`-`+e.toLowerCase()}var Vs={action:[`form`],cite:[`blockquote`,`del`,`ins`,`q`],data:[`object`],formAction:[`button`,`input`],href:[`a`,`area`,`base`,`link`],icon:[`menuitem`],itemId:null,manifest:[`html`],ping:[`a`,`area`],poster:[`video`],src:[`audio`,`embed`,`iframe`,`img`,`input`,`script`,`source`,`track`,`video`]},Hs={};function Us(e,t){let n=t||Hs;return Ws(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function Ws(e,t,n){if(Ks(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return Gs(e.children,t,n)}return Array.isArray(e)?Gs(e,t,n):``}function Gs(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=Ws(e[i],t,n);return r.join(``)}function Ks(e){return!!(e&&typeof e==`object`)}var qs=document.createElement(`i`);function Js(e){let t=`&`+e+`;`;qs.innerHTML=t;let n=qs.textContent;return n.charCodeAt(n.length-1)===59&&e!==`semi`||n===t?!1:n}function Ys(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Xs(e,t){return e.length>0?(Ys(e,e.length,0,t),e):t}var Zs={}.hasOwnProperty;function Qs(e){let t={},n=-1;for(;++n<e.length;)$s(t,e[n]);return t}function $s(e,t){let n;for(n in t){let r=(Zs.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){Zs.call(r,a)||(r[a]=[]);let e=i[a];ec(r[a],Array.isArray(e)?e:e?[e]:[])}}}function ec(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);Ys(e,0,0,r)}function tc(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}function nc(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}var rc=mc(/[A-Za-z]/),ic=mc(/[\dA-Za-z]/),ac=mc(/[#-'*+\--9=?A-Z^-~]/);function oc(e){return e!==null&&(e<32||e===127)}var sc=mc(/\d/),cc=mc(/[\dA-Fa-f]/),lc=mc(/[!-/:-@[-`{-~]/);function A(e){return e!==null&&e<-2}function uc(e){return e!==null&&(e<0||e===32)}function dc(e){return e===-2||e===-1||e===32}var fc=mc(/\p{P}|\p{S}/u),pc=mc(/\s/);function mc(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function hc(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&ic(e.charCodeAt(n+1))&&ic(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}else o=String.fromCharCode(a);o&&=(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,``),i&&=(n+=i,0)}return t.join(``)+e.slice(r)}function gc(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return dc(r)?(e.enter(n),s(r)):t(r)}function s(r){return dc(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var _c={tokenize:vc};function vc(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),gc(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return A(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var yc={tokenize:xc},bc={tokenize:Sc};function xc(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end={...o},s++;return Ys(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(bc,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(bc,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{_tokenizer:i,contentType:`flow`,previous:a}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return A(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end={...c},e++;Ys(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-- >r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Sc(e,t,n){return gc(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}function Cc(e){if(e===null||uc(e)||pc(e))return 1;if(fc(e))return 2}function wc(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var Tc={name:`attention`,resolveAll:Ec,tokenize:Dc};function Ec(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},f={...e[n][1].start};Oc(d,-c),Oc(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:{...e[r][1].end}},s={type:c>1?`strongSequence`:`emphasisSequence`,start:{...e[n][1].start},end:f},a={type:c>1?`strongText`:`emphasisText`,start:{...e[r][1].end},end:{...e[n][1].start}},i={type:c>1?`strong`:`emphasis`,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Xs(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=Xs(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=Xs(l,wc(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Xs(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=Xs(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,Ys(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function Dc(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Cc(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=Cc(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function Oc(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var kc={name:`autolink`,tokenize:Ac};function Ac(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return rc(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||ic(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||ic(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||oc(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):ac(t)?(e.consume(t),l):n(t)}function u(e){return ic(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||ic(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}var jc={partial:!0,tokenize:Mc};function Mc(e,t,n){return r;function r(t){return dc(t)?gc(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||A(e)?t(e):n(e)}}var Nc={continuation:{tokenize:Fc},exit:Ic,name:`blockQuote`,tokenize:Pc};function Pc(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return dc(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function Fc(e,t,n){let r=this;return i;function i(t){return dc(t)?gc(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(Nc,t,n)(r)}}function Ic(e){e.exit(`blockQuote`)}var Lc={name:`characterEscape`,tokenize:Rc};function Rc(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return lc(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var zc={name:`characterReference`,tokenize:Bc};function Bc(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=ic,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=cc,u):(e.enter(`characterReferenceValue`),a=7,o=sc,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===ic&&!Js(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var Vc={partial:!0,tokenize:Wc},Hc={concrete:!0,name:`codeFenced`,tokenize:Uc};function Uc(e,t,n){let r=this,i={partial:!0,tokenize:x},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),dc(t)?gc(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||A(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(Vc,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||A(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):dc(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),gc(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||A(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||A(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&dc(t)?gc(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||A(t)?e.check(Vc,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||A(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function x(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),dc(t)?gc(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),dc(t)?gc(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||A(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function Wc(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var Gc={name:`codeIndented`,tokenize:qc},Kc={partial:!0,tokenize:Jc};function qc(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),gc(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):A(t)?e.attempt(Kc,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||A(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function Jc(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):A(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):gc(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):A(e)?i(e):n(e)}}var Yc={name:`codeText`,previous:Zc,resolve:Xc,tokenize:Qc};function Xc(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Zc(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function Qc(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):A(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||A(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var $c=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&el(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),el(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),el(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);el(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);el(this.left,t.reverse())}}};function el(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function tl(e){let t={},n=-1,r,i,a,o,s,c,l,u=new $c(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,nl(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);else if(!(o[1].type===`linePrefix`||o[1].type===`listItemIndent`))break;i&&(r[1].end={...u.get(i)[1].start},s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return Ys(e,0,1/0,u.slice(0)),!l}function nl(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var rl={resolve:al,tokenize:ol},il={partial:!0,tokenize:sl};function al(e){return tl(e),e}function ol(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):A(t)?e.check(il,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function sl(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),gc(e,a,`linePrefix`)}function a(i){if(i===null||A(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function cl(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||oc(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||A(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||uc(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||oc(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}function ll(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):A(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||A(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!dc(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function ul(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):A(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),gc(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||A(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}function dl(e,t){let n;return r;function r(i){return A(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):dc(i)?gc(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var fl={name:`definition`,tokenize:ml},pl={partial:!0,tokenize:hl};function ml(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return ll.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=nc(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return uc(t)?dl(e,l)(t):l(t)}function l(t){return cl(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(pl,d,d)(t)}function d(t){return dc(t)?gc(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||A(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function hl(e,t,n){return r;function r(t){return uc(t)?dl(e,i)(t):n(t)}function i(t){return ul(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return dc(t)?gc(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||A(e)?t(e):n(e)}}var gl={name:`hardBreakEscape`,tokenize:_l};function _l(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return A(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var vl={name:`headingAtx`,resolve:yl,tokenize:bl};function yl(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},Ys(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function bl(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||uc(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||A(n)?(e.exit(`atxHeading`),t(n)):dc(n)?gc(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||uc(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var xl=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),Sl=[`pre`,`script`,`style`,`textarea`],Cl={concrete:!0,name:`htmlFlow`,resolveTo:El,tokenize:Dl},wl={partial:!0,tokenize:kl},Tl={partial:!0,tokenize:Ol};function El(e){let t=e.length;for(;t--&&!(e[t][0]===`enter`&&e[t][1].type===`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Dl(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:le):rc(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):rc(a)?(e.consume(a),i=4,r.interrupt?t:le):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:le):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:E:m):n(i)}function h(t){return rc(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||uc(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&Sl.includes(l)?(i=1,r.interrupt?t(s):E(s)):xl.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):E(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||ic(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:E):n(i)}function v(t){return dc(t)?(e.consume(t),v):T(t)}function y(t){return t===47?(e.consume(t),T):t===58||t===95||rc(t)?(e.consume(t),b):dc(t)?(e.consume(t),y):T(t)}function b(t){return t===45||t===46||t===58||t===95||ic(t)?(e.consume(t),b):x(t)}function x(t){return t===61?(e.consume(t),S):dc(t)?(e.consume(t),x):y(t)}function S(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,C):dc(t)?(e.consume(t),S):ee(t)}function C(t){return t===c?(e.consume(t),c=null,w):t===null||A(t)?n(t):(e.consume(t),C)}function ee(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||uc(t)?x(t):(e.consume(t),ee)}function w(e){return e===47||e===62||dc(e)?y(e):n(e)}function T(t){return t===62?(e.consume(t),te):n(t)}function te(t){return t===null||A(t)?E(t):dc(t)?(e.consume(t),te):n(t)}function E(t){return t===45&&i===2?(e.consume(t),ae):t===60&&i===1?(e.consume(t),oe):t===62&&i===4?(e.consume(t),ue):t===63&&i===3?(e.consume(t),le):t===93&&i===5?(e.consume(t),ce):A(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(wl,de,ne)(t)):t===null||A(t)?(e.exit(`htmlFlowData`),ne(t)):(e.consume(t),E)}function ne(t){return e.check(Tl,re,de)(t)}function re(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),ie}function ie(t){return t===null||A(t)?ne(t):(e.enter(`htmlFlowData`),E(t))}function ae(t){return t===45?(e.consume(t),le):E(t)}function oe(t){return t===47?(e.consume(t),o=``,se):E(t)}function se(t){if(t===62){let n=o.toLowerCase();return Sl.includes(n)?(e.consume(t),ue):E(t)}return rc(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),se):E(t)}function ce(t){return t===93?(e.consume(t),le):E(t)}function le(t){return t===62?(e.consume(t),ue):t===45&&i===2?(e.consume(t),le):E(t)}function ue(t){return t===null||A(t)?(e.exit(`htmlFlowData`),de(t)):(e.consume(t),ue)}function de(n){return e.exit(`htmlFlow`),t(n)}}function Ol(e,t,n){let r=this;return i;function i(t){return A(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function kl(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(jc,t,n)}}var Al={name:`htmlText`,tokenize:jl};function jl(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),x):t===63?(e.consume(t),y):rc(t)?(e.consume(t),ee):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):rc(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):A(t)?(o=d,oe(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?ae(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):A(t)?(o=h,oe(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?ae(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?ae(t):A(t)?(o=v,oe(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):A(t)?(o=y,oe(t)):(e.consume(t),y)}function b(e){return e===62?ae(e):y(e)}function x(t){return rc(t)?(e.consume(t),S):n(t)}function S(t){return t===45||ic(t)?(e.consume(t),S):C(t)}function C(t){return A(t)?(o=C,oe(t)):dc(t)?(e.consume(t),C):ae(t)}function ee(t){return t===45||ic(t)?(e.consume(t),ee):t===47||t===62||uc(t)?w(t):n(t)}function w(t){return t===47?(e.consume(t),ae):t===58||t===95||rc(t)?(e.consume(t),T):A(t)?(o=w,oe(t)):dc(t)?(e.consume(t),w):ae(t)}function T(t){return t===45||t===46||t===58||t===95||ic(t)?(e.consume(t),T):te(t)}function te(t){return t===61?(e.consume(t),E):A(t)?(o=te,oe(t)):dc(t)?(e.consume(t),te):w(t)}function E(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,ne):A(t)?(o=E,oe(t)):dc(t)?(e.consume(t),E):(e.consume(t),re)}function ne(t){return t===i?(e.consume(t),i=void 0,ie):t===null?n(t):A(t)?(o=ne,oe(t)):(e.consume(t),ne)}function re(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||uc(t)?w(t):(e.consume(t),re)}function ie(e){return e===47||e===62||uc(e)?w(e):n(e)}function ae(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function oe(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),se}function se(t){return dc(t)?gc(e,ce,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):ce(t)}function ce(t){return e.enter(`htmlTextData`),o(t)}}var Ml={name:`labelEnd`,resolveAll:Il,resolveTo:Ll,tokenize:Rl},Nl={tokenize:zl},Pl={tokenize:Bl},Fl={tokenize:Vl};function Il(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),r.type===`labelImage`||r.type===`labelLink`||r.type===`labelEnd`){let e=r.type===`labelImage`?4:2;r.type=`data`,t+=e}}return e.length!==n.length&&Ys(e,0,e.length,n),e}function Ll(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:`label`,start:{...e[a][1].start},end:{...e[o][1].end}},u={type:`labelText`,start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[[`enter`,c,t],[`enter`,l,t]],s=Xs(s,e.slice(a+1,a+r+3)),s=Xs(s,[[`enter`,u,t]]),s=Xs(s,wc(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=Xs(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=Xs(s,e.slice(o+1)),s=Xs(s,[[`exit`,c,t]]),Ys(e,a,e.length,s),e}function Rl(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(nc(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(Nl,u,o?u:d)(t):t===91?e.attempt(Pl,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(Fl,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function zl(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return uc(t)?dl(e,a)(t):a(t)}function a(t){return t===41?u(t):cl(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return uc(t)?dl(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?ul(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return uc(t)?dl(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function Bl(e,t,n){let r=this;return i;function i(t){return ll.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(nc(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function Vl(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var Hl={name:`labelStartImage`,resolveAll:Ml.resolveAll,tokenize:Ul};function Ul(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var Wl={name:`labelStartLink`,resolveAll:Ml.resolveAll,tokenize:Gl};function Gl(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var Kl={name:`lineEnding`,tokenize:ql};function ql(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),gc(e,t,`linePrefix`)}}var Jl={name:`thematicBreak`,tokenize:Yl};function Yl(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||A(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),dc(t)?gc(e,s,`whitespace`)(t):s(t))}}var Xl={continuation:{tokenize:eu},exit:nu,name:`list`,tokenize:$l},Zl={partial:!0,tokenize:ru},Ql={partial:!0,tokenize:tu};function $l(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:sc(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(Jl,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return sc(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(jc,r.interrupt?n:u,e.attempt(Zl,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return dc(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function eu(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(jc,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,gc(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!dc(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ql,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,gc(e,e.attempt(Xl,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function tu(e,t,n){let r=this;return gc(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function nu(e){e.exit(this.containerState.type)}function ru(e,t,n){let r=this;return gc(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!dc(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var iu={name:`setextUnderline`,resolveTo:au,tokenize:ou};function au(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push([`exit`,o,t]),e}function ou(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),dc(t)?gc(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||A(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var su={tokenize:cu};function cu(e){let t=this,n=e.attempt(jc,r,e.attempt(this.parser.constructs.flowInitial,i,gc(e,e.attempt(this.parser.constructs.flow,i,e.attempt(rl,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var lu={resolveAll:pu()},uu=fu(`string`),du=fu(`text`);function fu(e){return{resolveAll:pu(e===`text`?mu:void 0),tokenize:t};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function pu(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function mu(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...i.start},r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}var hu=t({attentionMarkers:()=>Cu,contentInitial:()=>_u,disable:()=>wu,document:()=>gu,flow:()=>yu,flowInitial:()=>vu,insideSpan:()=>Su,string:()=>bu,text:()=>xu}),gu={42:Xl,43:Xl,45:Xl,48:Xl,49:Xl,50:Xl,51:Xl,52:Xl,53:Xl,54:Xl,55:Xl,56:Xl,57:Xl,62:Nc},_u={91:fl},vu={[-2]:Gc,[-1]:Gc,32:Gc},yu={35:vl,42:Jl,45:[iu,Jl],60:Cl,61:iu,95:Jl,96:Hc,126:Hc},bu={38:zc,92:Lc},xu={[-5]:Kl,[-4]:Kl,[-3]:Kl,33:Hl,38:zc,42:Tc,60:[kc,Al],91:Wl,92:[gl,Lc],93:Ml,95:Tc,96:Yc},Su={null:[Tc,lu]},Cu={null:[42,95]},wu={null:[]};function Tu(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],o=[],s=[],c={attempt:C(x),check:C(S),consume:v,enter:y,exit:b,interrupt:C(S,{interrupt:!0})},l={code:null,containerState:{},defineSkip:h,events:[],now:m,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=Xs(o,e),g(),o[o.length-1]===null?(ee(t,0),l.events=wc(a,l.events,l),l.events):[]}function f(e,t){return Du(p(e),t)}function p(e){return Eu(o,e)}function m(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function h(e){i[e.line]=e.column,T()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){A(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,T()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function x(e,t){ee(e,t.from)}function S(e,t){t.restore()}function C(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=w(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function ee(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&Ys(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function w(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{from:i,restore:o};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,T()}}function T(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Eu(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Du(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
|
|
3
|
+
`;break;case-3:o=`\r
|
|
4
|
+
`;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}function Ou(e){let t={constructs:Qs([hu,...(e||{}).extensions||[]]),content:n(_c),defined:[],document:n(yc),flow:n(su),lazy:{},string:n(uu),text:n(du)};return t;function n(e){return n;function n(n){return Tu(t,e,n)}}}function ku(e){for(;!tl(e););return e}var Au=/[\0\t\n\r]/g;function ju(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(Au.lastIndex=u,c=Au.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}var Mu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Nu(e){return e.replace(Mu,Pu)}function Pu(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return tc(n.slice(t?2:1),t?16:10)}return Js(n)||e}var Fu={}.hasOwnProperty;function Iu(e,t,n){return t&&typeof t==`object`&&(n=t,t=void 0),Lu(n)(ku(Ou(n).document().write(ju()(e,t,!0))))}function Lu(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(Oe),autolinkProtocol:w,autolinkEmail:w,atxHeading:a(we),blockQuote:a(ye),characterEscape:w,characterReference:w,codeFenced:a(be),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(be,o),codeText:a(xe,o),codeTextData:w,data:w,codeFlowValue:w,definition:a(Se),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Ce),hardBreakEscape:a(Te),hardBreakTrailing:a(Te),htmlFlow:a(Ee,o),htmlFlowData:w,htmlText:a(Ee,o),htmlTextData:w,image:a(De),label:o,link:a(Oe),listItem:a(Ae),listItemValue:f,listOrdered:a(ke,d),listUnordered:a(ke),paragraph:a(je),reference:fe,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(we),strong:a(Me),thematicBreak:a(Pe)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:ve,autolinkProtocol:_e,blockQuote:c(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:he,characterReference:ge,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:T,codeIndented:c(_),codeText:c(ie),codeTextData:T,data:T,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(E),hardBreakTrailing:c(E),htmlFlow:c(ne),htmlFlowData:T,htmlText:c(re),htmlTextData:T,image:c(oe),label:ce,labelText:se,lineEnding:te,link:c(ae),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:pe,resourceDestinationString:le,resourceTitleString:ue,resource:de,setextHeading:c(ee),setextHeadingLineSequence:C,setextHeadingText:S,strong:c(),thematicBreak:c()}};zu(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];Fu.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||Vu).call(a,void 0,e[0])}for(r.position={start:Ru(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Ru(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:Ru(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Vu).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+ss({start:e.start,end:e.end})+`): it’s not open`);n.position.end=Ru(e.end)}function u(){return Us(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nc(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function S(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function w(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=Ne(),n.position={start:Ru(e.start),end:void 0},t.push(n)),this.stack.push(n)}function T(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=Ru(e.end)}function te(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=Ru(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(w.call(this,e),T.call(this,e))}function E(){this.data.atHardBreak=!0}function ne(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function re(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ie(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ae(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function oe(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function se(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=Nu(t),n.identifier=nc(t).toLowerCase()}function ce(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function le(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function ue(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function de(){this.data.inReference=void 0}function fe(){this.data.referenceType=`collapsed`}function pe(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nc(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function me(e){this.data.characterReferenceType=e.type}function he(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=tc(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=Js(t);let i=this.stack[this.stack.length-1];i.value+=r}function ge(e){let t=this.stack.pop();t.position.end=Ru(e.end)}function _e(e){T.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function ve(e){T.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function ye(){return{type:`blockquote`,children:[]}}function be(){return{type:`code`,lang:null,meta:null,value:``}}function xe(){return{type:`inlineCode`,value:``}}function Se(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function Ce(){return{type:`emphasis`,children:[]}}function we(){return{type:`heading`,depth:0,children:[]}}function Te(){return{type:`break`}}function Ee(){return{type:`html`,value:``}}function De(){return{type:`image`,title:null,url:``,alt:null}}function Oe(){return{type:`link`,title:null,url:``,children:[]}}function ke(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function Ae(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function je(){return{type:`paragraph`,children:[]}}function Me(){return{type:`strong`,children:[]}}function Ne(){return{type:`text`,value:``}}function Pe(){return{type:`thematicBreak`}}}function Ru(e){return{line:e.line,column:e.column,offset:e.offset}}function zu(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?zu(e,r):Bu(e,r)}}function Bu(e,t){let n;for(n in t)if(Fu.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function Vu(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+ss({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ss({start:t.start,end:t.end})+`) is open`:"Cannot close document, a token (`"+t.type+"`, "+ss({start:t.start,end:t.end})+`) is still open`)}function Hu(e){let t=this;t.parser=n;function n(n){return Iu(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function Uu(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Wu(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
|
|
5
|
+
`}]}function Gu(e,t){let n=t.value?t.value+`
|
|
6
|
+
`:``,r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=[`language-`+i[0]]);let a={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:`element`,tagName:`pre`,properties:{},children:[a]},e.patch(t,a),a}function Ku(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function qu(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ju(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=hc(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}function Yu(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Xu(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Zu(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}function Qu(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Zu(e,t);let i={src:hc(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function $u(e,t){let n={src:hc(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function ed(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function td(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Zu(e,t);let i={href:hc(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function nd(e,t){let n={href:hc(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function rd(e,t,n){let r=e.all(t),i=n?id(n):ad(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:`
|
|
7
|
+
`}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:`
|
|
8
|
+
`});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function id(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=ad(n[r])}return t}function ad(e){return e.spread??e.children.length>1}function od(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function sd(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function cd(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function ld(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ud(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=is(t.children[1]),o=rs(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function dd(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}function fd(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var pd=9,md=32;function hd(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(gd(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(gd(t.slice(i),i>0,!1)),a.join(``)}function gd(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===pd||t===md;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===pd||t===md;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}function _d(e,t){let n={type:`text`,value:hd(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function vd(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var yd={blockquote:Uu,break:Wu,code:Gu,delete:Ku,emphasis:qu,footnoteReference:Ju,heading:Yu,html:Xu,imageReference:Qu,image:$u,inlineCode:ed,linkReference:td,link:nd,listItem:rd,list:od,paragraph:sd,root:cd,strong:ld,table:ud,tableCell:fd,tableRow:dd,text:_d,thematicBreak:vd,toml:bd,yaml:bd,definition:bd,footnoteDefinition:bd};function bd(){}var xd=typeof self==`object`?self:globalThis,Sd=(e,t)=>{switch(e){case`Function`:case`SharedWorker`:case`Worker`:case`eval`:case`setInterval`:case`setTimeout`:throw TypeError(`unable to deserialize `+e)}return new xd[e](t)},Cd=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(Sd(e,t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(Sd(a,o),i)};return r},wd=e=>Cd(new Map,e)(0),Td=``,{toString:Ed}={},{keys:Dd}=Object,Od=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=Ed.call(e).slice(8,-1);switch(n){case`Array`:return[1,Td];case`Object`:return[2,Td];case`Date`:return[3,Td];case`RegExp`:return[4,Td];case`Map`:return[5,Td];case`Set`:return[6,Td];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},kd=([e,t])=>e===0&&(t===`function`||t===`symbol`),Ad=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=Od(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return s===`DataView`?e=new Uint8Array(r.buffer):s===`ArrayBuffer`&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of Dd(r))(e||!kd(Od(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,isNaN(r.getTime())?Td:r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(kd(Od(n))||kd(Od(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!kd(Od(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},jd=(e,{json:t,lossy:n}={})=>{let r=[];return Ad(!(t||n),!!t,new Map,r)(e),r},Md=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?wd(jd(e,t)):structuredClone(e):(e,t)=>wd(jd(e,t));function Nd(e,t){let n=[{type:`text`,value:`↩`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function Pd(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function Fd(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||Nd,r=e.options.footnoteBackLabel||Pd,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=hc(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{...Md(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
|
|
9
|
+
`},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
|
|
10
|
+
`}]}}var Id=(function(e){if(e==null)return Vd;if(typeof e==`function`)return Bd(e);if(typeof e==`object`)return Array.isArray(e)?Ld(e):Rd(e);if(typeof e==`string`)return zd(e);throw Error(`Expected function, string, or object as test`)});function Ld(e){let t=[],n=-1;for(;++n<e.length;)t[n]=Id(e[n]);return Bd(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function Rd(e){let t=e;return Bd(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function zd(e){return Bd(t);function t(t){return t&&t.type===e}}function Bd(e){return t;function t(t,n,r){return!!(Hd(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function Vd(){return!0}function Hd(e){return typeof e==`object`&&!!e&&`type`in e}function Ud(e){return e}var Wd=[],Gd=`skip`;function Kd(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=Id(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,`name`,{value:`node (`+Ud(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=Wd,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=qd(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function qd(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?Wd:[e]}function Jd(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),Kd(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var Yd={}.hasOwnProperty,Xd={};function Zd(e,t){let n=t||Xd,r=new Map,i=new Map,a={all:s,applyData:$d,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...yd,...n.handlers},one:o,options:n,patch:Qd,wrap:tf};return Jd(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if(Yd.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=Md(n);return r.children=a.all(e),r}return Md(e)}return(a.options.unknownHandler||ef)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=nf(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=nf(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function Qd(e,t){e.position&&(t.position=os(e))}function $d(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,Md(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function ef(e,t){let n=t.data||{},r=`value`in t&&!(Yd.call(n,`hProperties`)||Yd.call(n,`hChildren`))?{type:`text`,value:t.value}:{type:`element`,tagName:`div`,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function tf(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
|
|
11
|
+
`});++r<e.length;)r&&n.push({type:`text`,value:`
|
|
12
|
+
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
|
|
13
|
+
`}),n}function nf(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function rf(e,t){let n=Zd(e,t),r=n.one(e,void 0),i=Fd(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:`
|
|
14
|
+
`},i)),a}function af(e,t){return e&&`run`in e?async function(n,r){let i=rf(n,{file:r,...t});await e.run(i,r)}:function(n,r){return rf(n,{file:r,...e||t})}}function of(e){if(e)throw e}var sf=e(n(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}))(),1);function cf(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function lf(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?uf(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function uf(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var df={basename:ff,dirname:pf,extname:mf,join:hf,sep:`/`};function ff(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);vf(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function pf(e){if(vf(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function mf(e){vf(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function hf(...e){let t=-1,n;for(;++t<e.length;)vf(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:gf(n)}function gf(e){vf(e);let t=e.codePointAt(0)===47,n=_f(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function _f(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function vf(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var yf={cwd:bf};function bf(){return`/`}function xf(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function Sf(e){if(typeof e==`string`)e=new URL(e);else if(!xf(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code=`ERR_INVALID_ARG_TYPE`,t}if(e.protocol!==`file:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return Cf(e)}function Cf(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var wf=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],Tf=class{constructor(e){let t;t=e?xf(e)?{path:e}:typeof e==`string`||kf(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:yf.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<wf.length;){let e=wf[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)wf.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?df.basename(this.path):void 0}set basename(e){Df(e,`basename`),Ef(e,`basename`),this.path=df.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?df.dirname(this.path):void 0}set dirname(e){Of(this.basename,`dirname`),this.path=df.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?df.extname(this.path):void 0}set extname(e){if(Ef(e,`extname`),Of(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=df.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){xf(e)&&(e=Sf(e)),Df(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?df.basename(this.path,this.extname):void 0}set stem(e){Df(e,`stem`),Ef(e,`stem`),this.path=df.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new ds(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}};function Ef(e,t){if(e&&e.includes(df.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+df.sep+"`")}function Df(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function Of(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function kf(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var Af=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),jf={}.hasOwnProperty,Mf=new class e extends Af{constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=lf()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,sf.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(Ff(`data`,this.frozen),this.namespace[e]=t,this):jf.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Ff(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=Rf(e),n=this.parser||this.Parser;return Nf(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),Nf(`process`,this.parser||this.Parser),Pf(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=Rf(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);Bf(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),Nf(`processSync`,this.parser||this.Parser),Pf(`processSync`,this.compiler||this.Compiler),this.process(e,r),Lf(`processSync`,`process`,t),n;function r(e,r){t=!0,of(e),n=r}}run(e,t,n){If(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=Rf(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),Lf(`runSync`,`run`,n),r;function i(e,t){of(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=Rf(t),r=this.compiler||this.Compiler;return Pf(`stringify`,r),If(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(Ff(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,sf.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];cf(o)&&cf(r)&&(r=(0,sf.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function Nf(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function Pf(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function Ff(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function If(e){if(!cf(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function Lf(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function Rf(e){return zf(e)?e:new Tf(e)}function zf(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function Bf(e){return typeof e==`string`||Vf(e)}function Vf(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var Hf=[],Uf={allowDangerousHtml:!0},Wf=/^(https?|ircs?|mailto|xmpp)$/i,Gf=[{from:`astPlugins`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowDangerousHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`allowNode`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowElement`},{from:`allowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`allowedElements`},{from:`className`,id:`remove-classname`},{from:`disallowedTypes`,id:`replace-allownode-allowedtypes-and-disallowedtypes`,to:`disallowedElements`},{from:`escapeHtml`,id:`remove-buggy-html-in-markdown-parser`},{from:`includeElementIndex`,id:`#remove-includeelementindex`},{from:`includeNodeIndex`,id:`change-includenodeindex-to-includeelementindex`},{from:`linkTarget`,id:`remove-linktarget`},{from:`plugins`,id:`change-plugins-to-remarkplugins`,to:`remarkPlugins`},{from:`rawSourcePos`,id:`#remove-rawsourcepos`},{from:`renderers`,id:`change-renderers-to-components`,to:`components`},{from:`source`,id:`change-source-to-children`,to:`children`},{from:`sourcePos`,id:`#remove-sourcepos`},{from:`transformImageUri`,id:`#add-urltransform`,to:`urlTransform`},{from:`transformLinkUri`,id:`#add-urltransform`,to:`urlTransform`}];function Kf(e){let t=qf(e),n=Jf(e);return Yf(t.runSync(t.parse(n),n),e)}function qf(e){let t=e.rehypePlugins||Hf,n=e.remarkPlugins||Hf,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Uf}:Uf;return Mf().use(Hu).use(n).use(af,r).use(t)}function Jf(e){let t=e.children||``,n=new Tf;return typeof t==`string`?n.value=t:``+t,n}function Yf(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,c=t.urlTransform||Xf;for(let e of Gf)Object.hasOwn(t,e.from)&&``+e.from+(e.to?"use `"+e.to+"` instead":`remove it`)+e.id;return Jd(e,l),ys(e,{Fragment:O.Fragment,components:i,ignoreInvalidStyle:!0,jsx:O.jsx,jsxs:O.jsxs,passKeys:!0,passNode:!0});function l(e,t,i){if(e.type===`raw`&&i&&typeof t==`number`)return o?i.children.splice(t,1):i.children[t]={type:`text`,value:e.value},t;if(e.type===`element`){let t;for(t in Vs)if(Object.hasOwn(Vs,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=Vs[t];(r===null||r.includes(e.tagName))&&(e.properties[t]=c(String(n||``),t,e))}}if(e.type===`element`){let o=n?!n.includes(e.tagName):a?a.includes(e.tagName):!1;if(!o&&r&&typeof t==`number`&&(o=!r(e,t,i)),o&&i&&typeof t==`number`)return s&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}}function Xf(e){let t=e.indexOf(`:`),n=e.indexOf(`?`),r=e.indexOf(`#`),i=e.indexOf(`/`);return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||Wf.test(e.slice(0,t))?e:``}var Zf=/[#.]/g;function Qf(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){Zf.lastIndex=i;let e=Zf.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?a===`#`?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:`element`,tagName:o||t||`div`,properties:r,children:[]}}function $f(e,t,n){let r=n?ap(n):void 0;function i(n,i,...a){let o;if(n==null){o={type:`root`,children:[]};let e=i;a.unshift(e)}else{o=Qf(n,t);let s=o.tagName.toLowerCase(),c=r?r.get(s):void 0;if(o.tagName=c||s,ep(i))a.unshift(i);else for(let[t,n]of Object.entries(i))tp(e,o.properties,t,n)}for(let e of a)np(o.children,e);return o.type===`element`&&o.tagName===`template`&&(o.content={type:`root`,children:o.children},o.children=[]),o}return i}function ep(e){if(typeof e!=`object`||!e||Array.isArray(e))return!0;if(typeof e.type!=`string`)return!1;let t=e,n=Object.keys(e);for(let e of n){let n=t[e];if(n&&typeof n==`object`){if(!Array.isArray(n))return!0;let e=n;for(let t of e)if(typeof t!=`number`&&typeof t!=`string`)return!0}}return!!(`children`in e&&Array.isArray(e.children))}function tp(e,t,n,r){let i=Ko(e,n),a;if(r!=null){if(typeof r==`number`){if(Number.isNaN(r))return;a=r}else a=typeof r==`boolean`?r:typeof r==`string`?i.spaceSeparated?Zo(r):i.commaSeparated?so(r):i.commaOrSpaceSeparated?Zo(so(r).join(` `)):rp(i,i.property,r):Array.isArray(r)?[...r]:i.property===`style`?ip(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(rp(i,i.property,t));a=e}i.property===`className`&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function np(e,t){if(t!=null)if(typeof t==`number`||typeof t==`string`)e.push({type:`text`,value:String(t)});else if(Array.isArray(t))for(let n of t)np(e,n);else if(typeof t==`object`&&`type`in t)t.type===`root`?np(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}function rp(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||yo(n)===yo(t)))return!0}return n}function ip(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(`: `));return t.join(`; `)}function ap(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}var op=`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.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.foreignObject.glyphRef.linearGradient.radialGradient.solidColor.textArea.textPath`.split(`.`),sp=$f(Yo,`div`),cp=$f(Xo,`g`,op),lp={html:`http://www.w3.org/1999/xhtml`,mathml:`http://www.w3.org/1998/Math/MathML`,svg:`http://www.w3.org/2000/svg`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`};function up(e,t){return dp(e,t||{})||{type:`root`,children:[]}}function dp(e,t){let n=fp(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function fp(e,t){switch(e.nodeType){case 1:return _p(e,t);case 3:return hp(e);case 8:return gp(e);case 9:return pp(e,t);case 10:return mp();case 11:return pp(e,t);default:return}}function pp(e,t){return{type:`root`,children:vp(e,t)}}function mp(){return{type:`doctype`}}function hp(e){return{type:`text`,value:e.nodeValue||``}}function gp(e){return{type:`comment`,value:e.nodeValue||``}}function _p(e,t){let n=e.namespaceURI,r=n===lp.svg?cp:sp,i=n===lp.html?e.tagName.toLowerCase():e.tagName,a=n===lp.html&&i===`template`?e.content:e,o=e.getAttributeNames(),s={},c=-1;for(;++c<o.length;)s[o[c]]=e.getAttribute(o[c])||``;return r(i,s,vp(a,t))}function vp(e,t){let n=e.childNodes,r=[],i=-1;for(;++i<n.length;){let e=dp(n[i],t);e!==void 0&&r.push(e)}return r}var yp=new DOMParser;function bp(e,t){return up(t?.fragment?xp(e):yp.parseFromString(e,`text/html`))}function xp(e){let t=document.createElement(`template`);return t.innerHTML=e,t.content}var Sp=(function(e,t,n){let r=Id(n);if(!e||!e.type||!e.children)throw Error(`Expected parent node`);if(typeof t==`number`){if(t<0||t===1/0)throw Error(`Expected positive finite number as index`)}else if(t=e.children.indexOf(t),t<0)throw Error(`Expected child node or index`);for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]}),Cp=(function(e){if(e==null)return Dp;if(typeof e==`string`)return Tp(e);if(typeof e==`object`)return wp(e);if(typeof e==`function`)return Ep(e);throw Error("Expected function, string, or array as `test`")});function wp(e){let t=[],n=-1;for(;++n<e.length;)t[n]=Cp(e[n]);return Ep(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function Tp(e){return Ep(t);function t(t){return t.tagName===e}}function Ep(e){return t;function t(t,n,r){return!!(Op(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function Dp(e){return!!(e&&typeof e==`object`&&`type`in e&&e.type===`element`&&`tagName`in e&&typeof e.tagName==`string`)}function Op(e){return typeof e==`object`&&!!e&&`type`in e&&`tagName`in e}var kp=/\n/g,Ap=/[\t ]+/g,jp=Cp(`br`),Mp=Cp(Gp),Np=Cp(`p`),Pp=Cp(`tr`),Fp=Cp([`datalist`,`head`,`noembed`,`noframes`,`noscript`,`rp`,`script`,`style`,`template`,`title`,Wp,Kp]),Ip=Cp(`address.article.aside.blockquote.body.caption.center.dd.dialog.dir.dl.dt.div.figure.figcaption.footer.form,.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.legend.li.listing.main.menu.nav.ol.p.plaintext.pre.section.ul.xmp`.split(`.`));function Lp(e,t){let n=t||{},r=`children`in e?e.children:[],i=Ip(e),a=Up(e,{whitespace:n.whitespace||`normal`,breakBefore:!1,breakAfter:!1}),o=[];(e.type===`text`||e.type===`comment`)&&o.push(...Bp(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(...Rp(r[s],e,{whitespace:a,breakBefore:s?void 0:i,breakAfter:s<r.length-1?jp(r[s+1]):i}));let c=[],l;for(s=-1;++s<o.length;){let e=o[s];typeof e==`number`?l!==void 0&&e>l&&(l=e):e&&(l!==void 0&&l>-1&&c.push(`
|
|
15
|
+
`.repeat(l)||` `),l=-1,c.push(e))}return c.join(``)}function Rp(e,t,n){return e.type===`element`?zp(e,t,n):e.type===`text`?n.whitespace===`normal`?Bp(e,n):Vp(e):[]}function zp(e,t,n){let r=Up(e,n),i=e.children||[],a=-1,o=[];if(Fp(e))return o;let s,c;for(jp(e)||Pp(e)&&Sp(t,e,Pp)?c=`
|
|
16
|
+
`:Np(e)?(s=2,c=2):Ip(e)&&(s=1,c=1);++a<i.length;)o=o.concat(Rp(i[a],e,{whitespace:r,breakBefore:a?void 0:s,breakAfter:a<i.length-1?jp(i[a+1]):c}));return Mp(e)&&Sp(t,e,Mp)&&o.push(` `),s&&o.unshift(s),c&&o.push(c),o}function Bp(e,t){let n=String(e.value),r=[],i=[],a=0;for(;a<=n.length;){kp.lastIndex=a;let e=kp.exec(n),i=e&&`index`in e?e.index:n.length;r.push(Hp(n.slice(a,i).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,``),a===0?t.breakBefore:!0,i===n.length?t.breakAfter:!0)),a=i+1}let o=-1,s;for(;++o<r.length;)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(i.push(r[o]),s=void 0):r[o]?(typeof s==`number`&&i.push(s),i.push(r[o]),s=0):(o===0||o===r.length-1)&&i.push(0);return i}function Vp(e){return[String(e.value)]}function Hp(e,t,n){let r=[],i=0,a;for(;i<e.length;){Ap.lastIndex=i;let n=Ap.exec(e);a=n?n.index:e.length,!i&&!a&&n&&!t&&r.push(``),i!==a&&r.push(e.slice(i,a)),i=n?a+n[0].length:a}return i!==a&&!n&&r.push(``),r.join(` `)}function Up(e,t){if(e.type===`element`){let n=e.properties||{};switch(e.tagName){case`listing`:case`plaintext`:case`xmp`:return`pre`;case`nobr`:return`nowrap`;case`pre`:return n.wrap?`pre-wrap`:`pre`;case`td`:case`th`:return n.noWrap?`nowrap`:t.whitespace;case`textarea`:return`pre-wrap`;default:}}return t.whitespace}function Wp(e){return!!(e.properties||{}).hidden}function Gp(e){return e.tagName===`td`||e.tagName===`th`}function Kp(e){return e.tagName===`dialog`&&!(e.properties||{}).open}var j=class e extends Error{constructor(t,n){var r=`KaTeX parse error: `+t,i,a,o=n&&n.loc;if(o&&o.start<=o.end){var s=o.lexer.input;i=o.start,a=o.end,i===s.length?r+=` at end of input: `:r+=` at position `+(i+1)+`: `;var c=s.slice(i,a).replace(/[^]/g,`$&̲`),l=i>15?`…`+s.slice(i-15,i):s.slice(0,i),u=a+15<s.length?s.slice(a,a+15)+`…`:s.slice(a);r+=l+c+u}super(r),this.name=`ParseError`,this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,e.prototype),this.position=i,i!=null&&a!=null&&(this.length=a-i),this.rawMessage=t}},qp=/([A-Z])/g,Jp=e=>e.replace(qp,`-$1`).toLowerCase(),Yp={"&":`&`,">":`>`,"<":`<`,'"':`"`,"'":`'`},Xp=/[&><"']/g,Zp=e=>String(e).replace(Xp,e=>Yp[e]),Qp=e=>e.type===`ordgroup`||e.type===`color`?e.body.length===1?Qp(e.body[0]):e:e.type===`font`?Qp(e.body):e,$p=new Set([`mathord`,`textord`,`atom`]),em=e=>$p.has(Qp(e).type),tm=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==`:`||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():`_relative`},nm={displayMode:{type:`boolean`,description:`Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.`,cli:`-d, --display-mode`},output:{type:{enum:[`htmlAndMathml`,`html`,`mathml`]},description:`Determines the markup language of the output.`,cli:`-F, --format <type>`},leqno:{type:`boolean`,description:`Render display math in leqno style (left-justified tags).`},fleqn:{type:`boolean`,description:`Render display math flush left.`},throwOnError:{type:`boolean`,default:!0,cli:`-t, --no-throw-on-error`,cliDescription:`Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error.`},errorColor:{type:`string`,default:`#cc0000`,cli:`-c, --error-color <color>`,cliDescription:`A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.`,cliProcessor:e=>`#`+e},macros:{type:`object`,cli:`-m, --macro <def>`,cliDescription:`Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).`,cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:`number`,description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:`--min-rule-thickness <size>`,cliProcessor:parseFloat},colorIsTextColor:{type:`boolean`,description:`Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.`,cli:`-b, --color-is-text-color`},strict:{type:[{enum:[`warn`,`ignore`,`error`]},`boolean`,`function`],description:`Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.`,cli:`-S, --strict`,cliDefault:!1},trust:{type:[`boolean`,`function`],description:`Trust the input, enabling all HTML features such as \\url.`,cli:`-T, --trust`},maxSize:{type:`number`,default:1/0,description:`If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large`,processor:e=>Math.max(0,e),cli:`-s, --max-size <n>`,cliProcessor:parseInt},maxExpand:{type:`number`,default:1e3,description:`Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.`,processor:e=>Math.max(0,e),cli:`-e, --max-expand <n>`,cliProcessor:e=>e===`Infinity`?1/0:parseInt(e)},globalGroup:{type:`boolean`,cli:!1}};function rm(e){if(typeof e!=`string`)return e.enum[0];switch(e){case`boolean`:return!1;case`string`:return``;case`number`:return 0;case`object`:return{};default:throw Error(`Unexpected schema type; settings must declare an explicit default.`)}}function im(e){return e.default===void 0?rm(Array.isArray(e.type)?e.type[0]:e.type):e.default}function am(e,t,n,r){var i=n[t];e[t]=i===void 0?im(r):r.processor?r.processor(i):i}var om=class{constructor(e){e===void 0&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e||={};for(var t of Object.keys(nm)){var n=nm[t];n&&am(this,t,e,n)}}reportNonstrict(e,t,n){var r=this.strict;if(typeof r==`function`&&(r=r(e,t,n)),!(!r||r===`ignore`)){if(r===!0||r===`error`)throw new j(`LaTeX-incompatible input and strict mode is set to 'error': `+(t+` [`+e+`]`),n);r===`warn`?typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)):typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`))}}useStrictBehavior(e,t,n){var r=this.strict;if(typeof r==`function`)try{r=r(e,t,n)}catch{r=`error`}return!r||r===`ignore`?!1:r===!0||r===`error`?!0:r===`warn`?(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)),!1):(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`)),!1)}isTrusted(e){if(`url`in e&&e.url&&!e.protocol){var t=tm(e.url);if(t==null)return!1;e.protocol=t}return!!(typeof this.trust==`function`?this.trust(e):this.trust)}},sm=class{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return gm[_m[this.id]]}sub(){return gm[vm[this.id]]}fracNum(){return gm[ym[this.id]]}fracDen(){return gm[bm[this.id]]}cramp(){return gm[xm[this.id]]}text(){return gm[Sm[this.id]]}isTight(){return this.size>=2}},cm=0,lm=1,um=2,dm=3,fm=4,pm=5,mm=6,hm=7,gm=[new sm(cm,0,!1),new sm(lm,0,!0),new sm(um,1,!1),new sm(dm,1,!0),new sm(fm,2,!1),new sm(pm,2,!0),new sm(mm,3,!1),new sm(hm,3,!0)],_m=[fm,pm,fm,pm,mm,hm,mm,hm],vm=[pm,pm,pm,pm,hm,hm,hm,hm],ym=[um,dm,fm,pm,mm,hm,mm,hm],bm=[dm,dm,pm,pm,hm,hm,hm,hm],xm=[lm,lm,dm,dm,pm,pm,hm,hm],Sm=[cm,lm,um,dm,um,dm,um,dm],Cm={DISPLAY:gm[cm],TEXT:gm[um],SCRIPT:gm[fm],SCRIPTSCRIPT:gm[mm]},wm=[{name:`latin`,blocks:[[256,591],[768,879]]},{name:`cyrillic`,blocks:[[1024,1279]]},{name:`armenian`,blocks:[[1328,1423]]},{name:`brahmic`,blocks:[[2304,4255]]},{name:`georgian`,blocks:[[4256,4351]]},{name:`cjk`,blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:`hangul`,blocks:[[44032,55215]]}];function Tm(e){for(var t=0;t<wm.length;t++)for(var n=wm[t],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(e>=i[0]&&e<=i[1])return n.name}return null}var Em=[];wm.forEach(e=>e.blocks.forEach(e=>Em.push(...e)));function Dm(e){for(var t=0;t<Em.length;t+=2)if(e>=Em[t]&&e<=Em[t+1])return!0;return!1}var Om=e=>e+` `+e,km=80,Am=function(e,t){return`M95,`+(622+e+t)+`
|
|
17
|
+
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
18
|
+
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
19
|
+
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
20
|
+
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
21
|
+
c69,-144,104.5,-217.7,106.5,-221
|
|
22
|
+
l`+e/2.075+` -`+e+`
|
|
23
|
+
c5.3,-9.3,12,-14,20,-14
|
|
24
|
+
H400000v`+(40+e)+`H845.2724
|
|
25
|
+
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
26
|
+
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
27
|
+
M`+(834+e)+` `+t+`h400000v`+(40+e)+`h-400000z`},jm=function(e,t){return`M263,`+(601+e+t)+`c0.7,0,18,39.7,52,119
|
|
28
|
+
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
29
|
+
c340,-704.7,510.7,-1060.3,512,-1067
|
|
30
|
+
l`+e/2.084+` -`+e+`
|
|
31
|
+
c4.7,-7.3,11,-11,19,-11
|
|
32
|
+
H40000v`+(40+e)+`H1012.3
|
|
33
|
+
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
34
|
+
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
35
|
+
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
36
|
+
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
37
|
+
M`+(1001+e)+` `+t+`h400000v`+(40+e)+`h-400000z`},Mm=function(e,t){return`M983 `+(10+e+t)+`
|
|
38
|
+
l`+e/3.13+` -`+e+`
|
|
39
|
+
c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
|
|
40
|
+
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
41
|
+
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
42
|
+
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
43
|
+
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
44
|
+
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
45
|
+
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
46
|
+
M`+(1001+e)+` `+t+`h400000v`+(40+e)+`h-400000z`},Nm=function(e,t){return`M424,`+(2398+e+t)+`
|
|
47
|
+
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
48
|
+
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
49
|
+
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
50
|
+
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
51
|
+
l`+e/4.223+` -`+e+`c4,-6.7,10,-10,18,-10 H400000
|
|
52
|
+
v`+(40+e)+`H1014.6
|
|
53
|
+
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
54
|
+
c-2,6,-10,9,-24,9
|
|
55
|
+
c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+` `+t+`
|
|
56
|
+
h400000v`+(40+e)+`h-400000z`},Pm=function(e,t){return`M473,`+(2713+e+t)+`
|
|
57
|
+
c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+` -`+e+`
|
|
58
|
+
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
|
|
59
|
+
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
60
|
+
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
61
|
+
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
62
|
+
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
63
|
+
606zM`+(1001+e)+` `+t+`h400000v`+(40+e)+`H1017.7z`},Fm=function(e){var t=e/2;return`M400000 `+e+` H0 L`+t+` 0 l65 45 L145 `+(e-80)+` H400000z`},Im=function(e,t,n){var r=n-54-t-e;return`M702 `+(e+t)+`H400000`+(40+e)+`
|
|
64
|
+
H742v`+r+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
65
|
+
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
66
|
+
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
67
|
+
219 661 l218 661zM702 `+t+`H400000v`+(40+e)+`H742z`},Lm=function(e,t,n){t=1e3*t;var r=``;switch(e){case`sqrtMain`:r=Am(t,km);break;case`sqrtSize1`:r=jm(t,km);break;case`sqrtSize2`:r=Mm(t,km);break;case`sqrtSize3`:r=Nm(t,km);break;case`sqrtSize4`:r=Pm(t,km);break;case`sqrtTall`:r=Im(t,km,n)}return r},Rm=function(e,t){switch(e){case`⎜`:return Om(`M291 0 H417 V`+t+` H291z`);case`∣`:return Om(`M145 0 H188 V`+t+` H145z`);case`∥`:return Om(`M145 0 H188 V`+t+` H145z`)+Om(`M367 0 H410 V`+t+` H367z`);case`⎟`:return Om(`M457 0 H583 V`+t+` H457z`);case`⎢`:return Om(`M319 0 H403 V`+t+` H319z`);case`⎥`:return Om(`M263 0 H347 V`+t+` H263z`);case`⎪`:return Om(`M384 0 H504 V`+t+` H384z`);case`⏐`:return Om(`M312 0 H355 V`+t+` H312z`);case`‖`:return Om(`M257 0 H300 V`+t+` H257z`)+Om(`M478 0 H521 V`+t+` H478z`);default:return``}},zm={doubleleftarrow:`M262 157
|
|
68
|
+
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
69
|
+
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
70
|
+
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
71
|
+
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
72
|
+
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
73
|
+
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
74
|
+
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
75
|
+
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
76
|
+
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
77
|
+
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
78
|
+
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
79
|
+
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
80
|
+
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
81
|
+
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
82
|
+
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
83
|
+
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
84
|
+
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
85
|
+
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
86
|
+
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
87
|
+
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
88
|
+
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
89
|
+
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
90
|
+
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
91
|
+
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
92
|
+
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
93
|
+
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
94
|
+
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
95
|
+
435 0h399565z`,leftgroupunder:`M400000 262
|
|
96
|
+
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
97
|
+
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
98
|
+
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
99
|
+
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
100
|
+
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
101
|
+
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
102
|
+
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
103
|
+
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
104
|
+
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
105
|
+
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
106
|
+
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
107
|
+
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
108
|
+
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
109
|
+
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
110
|
+
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
111
|
+
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
112
|
+
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
113
|
+
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:Om(`M40 281 V428 H0 V94 H40 V241 H400000 v40z`),leftbracketunder:Om(`M0 0 h120 V290 H399995 v120 H0z`),leftbracketover:Om(`M0 440 h120 V150 H399995 v-120 H0z`),leftmapsto:Om(`M40 281 V448H0V74H40V241H400000v40z`),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
114
|
+
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
115
|
+
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
116
|
+
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:Om(`M0 50 h400000 v40H0z m0 194h40000v40H0z`),midbrace:`M200428 334
|
|
117
|
+
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
118
|
+
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
119
|
+
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
120
|
+
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
121
|
+
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
122
|
+
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
123
|
+
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
124
|
+
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
125
|
+
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
126
|
+
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
127
|
+
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
128
|
+
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
129
|
+
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
130
|
+
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
131
|
+
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
132
|
+
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
133
|
+
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
134
|
+
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
135
|
+
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
136
|
+
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
137
|
+
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
138
|
+
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
139
|
+
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
140
|
+
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
141
|
+
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
142
|
+
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
143
|
+
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
144
|
+
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
145
|
+
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
146
|
+
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
147
|
+
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
148
|
+
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
149
|
+
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
150
|
+
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
151
|
+
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
152
|
+
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
153
|
+
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
154
|
+
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
155
|
+
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
156
|
+
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
157
|
+
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
158
|
+
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
159
|
+
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
160
|
+
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
161
|
+
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
162
|
+
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
163
|
+
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
164
|
+
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
165
|
+
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:Om(`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`),rightbracketunder:Om(`M399995 0 h-120 V290 H0 v120 H400000z`),rightbracketover:Om(`M399995 440 h-120 V150 H0 v-120 H399995z`),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
166
|
+
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
167
|
+
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
168
|
+
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
169
|
+
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
170
|
+
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
171
|
+
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
172
|
+
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
173
|
+
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
174
|
+
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
175
|
+
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
176
|
+
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
177
|
+
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
178
|
+
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
179
|
+
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
180
|
+
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
181
|
+
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
182
|
+
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
183
|
+
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
184
|
+
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
185
|
+
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
186
|
+
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
187
|
+
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
188
|
+
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
189
|
+
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
190
|
+
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
191
|
+
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
192
|
+
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
193
|
+
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
194
|
+
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
195
|
+
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
196
|
+
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
197
|
+
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
198
|
+
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
199
|
+
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
200
|
+
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
201
|
+
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
202
|
+
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
203
|
+
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
204
|
+
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
205
|
+
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
206
|
+
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
207
|
+
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
208
|
+
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
209
|
+
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
210
|
+
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
211
|
+
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
212
|
+
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
213
|
+
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
214
|
+
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
215
|
+
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
216
|
+
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
217
|
+
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
218
|
+
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
219
|
+
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
220
|
+
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
221
|
+
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
222
|
+
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
223
|
+
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
224
|
+
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
225
|
+
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
226
|
+
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
227
|
+
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
228
|
+
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
229
|
+
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
230
|
+
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
231
|
+
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
232
|
+
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
233
|
+
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
234
|
+
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
235
|
+
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
236
|
+
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
237
|
+
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
238
|
+
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Bm=function(e,t){switch(e){case`lbrack`:return`M403 1759 V84 H666 V0 H319 V1759 v`+t+` v1759 v84 h347 v-84
|
|
239
|
+
H403z M403 1759 V0 H319 V1759 v`+t+` v1759 v84 h84z`;case`rbrack`:return`M347 1759 V0 H0 V84 H263 V1759 v`+t+` v1759 H0 v84 H347z
|
|
240
|
+
M347 1759 V0 H263 V1759 v`+t+` v1759 h84z`;case`vert`:return`M145 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
|
|
241
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
242
|
+
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z`;case`doublevert`:return`M145 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
|
|
243
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
244
|
+
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z
|
|
245
|
+
M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
|
|
246
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
247
|
+
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+` v585 h43z`;case`lfloor`:return`M319 602 V0 H403 V602 v`+t+` v1715 h263 v84 H319z
|
|
248
|
+
MM319 602 V0 H403 V602 v`+t+` v1715 H319z`;case`rfloor`:return`M319 602 V0 H403 V602 v`+t+` v1799 H0 v-84 H319z
|
|
249
|
+
MM319 602 V0 H403 V602 v`+t+` v1715 H319z`;case`lceil`:return`M403 1759 V84 H666 V0 H319 V1759 v`+t+` v602 h84z
|
|
250
|
+
M403 1759 V0 H319 V1759 v`+t+` v602 h84z`;case`rceil`:return`M347 1759 V0 H0 V84 H263 V1759 v`+t+` v602 h84z
|
|
251
|
+
M347 1759 V0 h-84 V1759 v`+t+` v602 h84z`;case`lparen`:return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
|
|
252
|
+
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
|
|
253
|
+
-36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
254
|
+
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
|
|
255
|
+
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
|
|
256
|
+
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
257
|
+
l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
258
|
+
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case`rparen`:return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
|
|
259
|
+
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
260
|
+
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+`
|
|
261
|
+
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
|
|
262
|
+
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
|
|
263
|
+
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
|
|
264
|
+
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
265
|
+
l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
266
|
+
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw Error(`Unknown stretchy delimiter.`)}};function Vm(e){return`toText`in e}var Hm=class{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return this.classes.includes(e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e=``,t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map(e=>{if(Vm(e))return e.toText();throw Error(`Expected MathDomNode with toText, got `+e.constructor.name)}).join(``)}},Um={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Wm={ex:!0,em:!0,mu:!0},Gm=function(e){return typeof e!=`string`&&(e=e.unit),e in Um||e in Wm||e===`ex`},Km=function(e,t){var n;if(e.unit in Um)n=Um[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit===`mu`)n=t.fontMetrics().cssEmPerMu;else{var r=t.style.isTight()?t.havingStyle(t.style.text()):t;if(e.unit===`ex`)n=r.fontMetrics().xHeight;else if(e.unit===`em`)n=r.fontMetrics().quad;else throw new j(`Invalid unit: '`+e.unit+`'`);r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},M=function(e){return+e.toFixed(4)+`em`},qm=function(e){return e.filter(e=>e).join(` `)},Jm=function(e){var t=``;for(var n of Object.keys(e)){var r=e[n];r!==void 0&&(t+=Jp(n)+`:`+r+`;`)}return t},Ym=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push(`mtight`);var r=t.getColor();r&&(this.style.color=r)}},Xm=function(e){var t=document.createElement(e);t.className=qm(this.classes),Object.assign(t.style,this.style);for(var n of Object.keys(this.attributes))t.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t},Zm=/[\s"'>/=\x00-\x1f]/,Qm=function(e){var t=`<`+e;this.classes.length&&(t+=` class="`+Zp(qm(this.classes))+`"`);var n=Jm(this.style);n&&(t+=` style="`+Zp(n)+`"`);for(var r of Object.keys(this.attributes)){if(Zm.test(r))throw new j(`Invalid attribute name '`+r+`'`);t+=` `+r+`="`+Zp(this.attributes[r])+`"`}t+=`>`;for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+=`</`+e+`>`,t},$m=class{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,Ym.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return Xm.call(this,`span`)}toMarkup(){return Qm.call(this,`span`)}},eh=class{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ym.call(this,t,r),this.children=n||[],this.setAttribute(`href`,e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return Xm.call(this,`a`)}toMarkup(){return Qm.call(this,`a`)}},th=class{constructor(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=[`mord`],this.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement(`img`);return e.src=this.src,e.alt=this.alt,e.className=`mord`,Object.assign(e.style,this.style),e}toMarkup(){var e=`<img src="`+Zp(this.src)+`"`+(` alt="`+Zp(this.alt)+`"`),t=Jm(this.style);return t&&(e+=` style="`+Zp(t)+`"`),e+=`'/>`,e}},nh={î:`ı̂`,ï:`ı̈`,í:`ı́`,ì:`ı̀`},rh=class{constructor(e,t,n,r,i,a,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=n||0,this.italic=r||0,this.skew=i||0,this.width=a||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var c=Tm(this.text.charCodeAt(0));c&&this.classes.push(c+`_fallback`),/[îïíì]/.test(this.text)&&(this.text=nh[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;return this.italic>0&&(t=document.createElement(`span`),t.style.marginRight=M(this.italic)),this.classes.length>0&&(t||=document.createElement(`span`),t.className=qm(this.classes)),Object.keys(this.style).length>0&&(t||=document.createElement(`span`),Object.assign(t.style,this.style)),t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t=`<span`;this.classes.length&&(e=!0,t+=` class="`,t+=Zp(qm(this.classes)),t+=`"`);var n=``;this.italic>0&&(n+=`margin-right:`+M(this.italic)+`;`),n+=Jm(this.style),n&&(e=!0,t+=` style="`+Zp(n)+`"`);var r=Zp(this.text);return e?(t+=`>`,t+=r,t+=`</span>`,t):r}},ih=class{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){var e=`<svg xmlns="http://www.w3.org/2000/svg"`;for(var t of Object.keys(this.attributes))e+=` `+t+`="`+Zp(this.attributes[t])+`"`;e+=`>`;for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+=`</svg>`,e}},ah=class{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);return this.alternate?e.setAttribute(`d`,this.alternate):e.setAttribute(`d`,zm[this.pathName]),e}toMarkup(){return this.alternate?`<path d="`+Zp(this.alternate)+`"/>`:`<path d="`+Zp(zm[this.pathName])+`"/>`}},oh=class{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`line`);for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e=`<line`;for(var t of Object.keys(this.attributes))e+=` `+t+`="`+Zp(this.attributes[t])+`"`;return e+=`/>`,e}};function sh(e){if(e instanceof rh)return e;throw Error(`Expected symbolNode but got `+String(e)+`.`)}function ch(e){if(e instanceof $m)return e;throw Error(`Expected span<HtmlDomNode> but got `+String(e)+`.`)}var lh=e=>e instanceof $m||e instanceof eh||e instanceof Hm,uh={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},dh={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},fh={Å:`A`,Ð:`D`,Þ:`o`,å:`a`,ð:`d`,þ:`o`,А:`A`,Б:`B`,В:`B`,Г:`F`,Д:`A`,Е:`E`,Ж:`K`,З:`3`,И:`N`,Й:`N`,К:`K`,Л:`N`,М:`M`,Н:`H`,О:`O`,П:`N`,Р:`P`,С:`C`,Т:`T`,У:`y`,Ф:`O`,Х:`X`,Ц:`U`,Ч:`h`,Ш:`W`,Щ:`W`,Ъ:`B`,Ы:`X`,Ь:`B`,Э:`3`,Ю:`X`,Я:`R`,а:`a`,б:`b`,в:`a`,г:`r`,д:`y`,е:`e`,ж:`m`,з:`e`,и:`n`,й:`n`,к:`n`,л:`n`,м:`m`,н:`n`,о:`o`,п:`n`,р:`p`,с:`c`,т:`o`,у:`y`,ф:`b`,х:`x`,ц:`n`,ч:`n`,ш:`w`,щ:`w`,ъ:`a`,ы:`m`,ь:`a`,э:`e`,ю:`m`,я:`r`};function ph(e,t){uh[e]=t}function mh(e,t,n){if(!uh[t])throw Error(`Font metrics not found for font: `+t+`.`);var r=e.charCodeAt(0),i=uh[t][r];if(!i&&e[0]in fh&&(r=fh[e[0]].charCodeAt(0),i=uh[t][r]),!i&&n===`text`&&Dm(r)&&(i=uh[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var hh={};function gh(e){var t=e>=5?0:e>=3?1:2;if(!hh[t]){var n=hh[t]={cssEmPerMu:dh.quad[t]/18};for(var r in dh)dh.hasOwnProperty(r)&&(n[r]=dh[r][t])}return hh[t]}var _h={math:{},text:{}};function N(e,t,n,r,i,a){_h[e][i]={font:t,group:n,replace:r},a&&r&&(_h[e][r]=_h[e][i])}var P=`math`,F=`text`,I=`main`,L=`ams`,vh=`accent-token`,R=`bin`,yh=`close`,bh=`inner`,z=`mathord`,xh=`op-token`,Sh=`open`,Ch=`punct`,B=`rel`,wh=`spacing`,V=`textord`;N(P,I,B,`≡`,`\\equiv`,!0),N(P,I,B,`≺`,`\\prec`,!0),N(P,I,B,`≻`,`\\succ`,!0),N(P,I,B,`∼`,`\\sim`,!0),N(P,I,B,`⊥`,`\\perp`),N(P,I,B,`⪯`,`\\preceq`,!0),N(P,I,B,`⪰`,`\\succeq`,!0),N(P,I,B,`≃`,`\\simeq`,!0),N(P,I,B,`∣`,`\\mid`,!0),N(P,I,B,`≪`,`\\ll`,!0),N(P,I,B,`≫`,`\\gg`,!0),N(P,I,B,`≍`,`\\asymp`,!0),N(P,I,B,`∥`,`\\parallel`),N(P,I,B,`⋈`,`\\bowtie`,!0),N(P,I,B,`⌣`,`\\smile`,!0),N(P,I,B,`⊑`,`\\sqsubseteq`,!0),N(P,I,B,`⊒`,`\\sqsupseteq`,!0),N(P,I,B,`≐`,`\\doteq`,!0),N(P,I,B,`⌢`,`\\frown`,!0),N(P,I,B,`∋`,`\\ni`,!0),N(P,I,B,`∝`,`\\propto`,!0),N(P,I,B,`⊢`,`\\vdash`,!0),N(P,I,B,`⊣`,`\\dashv`,!0),N(P,I,B,`∋`,`\\owns`),N(P,I,Ch,`.`,`\\ldotp`),N(P,I,Ch,`⋅`,`\\cdotp`),N(P,I,Ch,`⋅`,`·`),N(F,I,V,`⋅`,`·`),N(P,I,V,`#`,`\\#`),N(F,I,V,`#`,`\\#`),N(P,I,V,`&`,`\\&`),N(F,I,V,`&`,`\\&`),N(P,I,V,`ℵ`,`\\aleph`,!0),N(P,I,V,`∀`,`\\forall`,!0),N(P,I,V,`ℏ`,`\\hbar`,!0),N(P,I,V,`∃`,`\\exists`,!0),N(P,I,V,`∇`,`\\nabla`,!0),N(P,I,V,`♭`,`\\flat`,!0),N(P,I,V,`ℓ`,`\\ell`,!0),N(P,I,V,`♮`,`\\natural`,!0),N(P,I,V,`♣`,`\\clubsuit`,!0),N(P,I,V,`℘`,`\\wp`,!0),N(P,I,V,`♯`,`\\sharp`,!0),N(P,I,V,`♢`,`\\diamondsuit`,!0),N(P,I,V,`ℜ`,`\\Re`,!0),N(P,I,V,`♡`,`\\heartsuit`,!0),N(P,I,V,`ℑ`,`\\Im`,!0),N(P,I,V,`♠`,`\\spadesuit`,!0),N(P,I,V,`§`,`\\S`,!0),N(F,I,V,`§`,`\\S`),N(P,I,V,`¶`,`\\P`,!0),N(F,I,V,`¶`,`\\P`),N(P,I,V,`†`,`\\dag`),N(F,I,V,`†`,`\\dag`),N(F,I,V,`†`,`\\textdagger`),N(P,I,V,`‡`,`\\ddag`),N(F,I,V,`‡`,`\\ddag`),N(F,I,V,`‡`,`\\textdaggerdbl`),N(P,I,yh,`⎱`,`\\rmoustache`,!0),N(P,I,Sh,`⎰`,`\\lmoustache`,!0),N(P,I,yh,`⟯`,`\\rgroup`,!0),N(P,I,Sh,`⟮`,`\\lgroup`,!0),N(P,I,R,`∓`,`\\mp`,!0),N(P,I,R,`⊖`,`\\ominus`,!0),N(P,I,R,`⊎`,`\\uplus`,!0),N(P,I,R,`⊓`,`\\sqcap`,!0),N(P,I,R,`∗`,`\\ast`),N(P,I,R,`⊔`,`\\sqcup`,!0),N(P,I,R,`◯`,`\\bigcirc`,!0),N(P,I,R,`∙`,`\\bullet`,!0),N(P,I,R,`‡`,`\\ddagger`),N(P,I,R,`≀`,`\\wr`,!0),N(P,I,R,`⨿`,`\\amalg`),N(P,I,R,`&`,`\\And`),N(P,I,B,`⟵`,`\\longleftarrow`,!0),N(P,I,B,`⇐`,`\\Leftarrow`,!0),N(P,I,B,`⟸`,`\\Longleftarrow`,!0),N(P,I,B,`⟶`,`\\longrightarrow`,!0),N(P,I,B,`⇒`,`\\Rightarrow`,!0),N(P,I,B,`⟹`,`\\Longrightarrow`,!0),N(P,I,B,`↔`,`\\leftrightarrow`,!0),N(P,I,B,`⟷`,`\\longleftrightarrow`,!0),N(P,I,B,`⇔`,`\\Leftrightarrow`,!0),N(P,I,B,`⟺`,`\\Longleftrightarrow`,!0),N(P,I,B,`↦`,`\\mapsto`,!0),N(P,I,B,`⟼`,`\\longmapsto`,!0),N(P,I,B,`↗`,`\\nearrow`,!0),N(P,I,B,`↩`,`\\hookleftarrow`,!0),N(P,I,B,`↪`,`\\hookrightarrow`,!0),N(P,I,B,`↘`,`\\searrow`,!0),N(P,I,B,`↼`,`\\leftharpoonup`,!0),N(P,I,B,`⇀`,`\\rightharpoonup`,!0),N(P,I,B,`↙`,`\\swarrow`,!0),N(P,I,B,`↽`,`\\leftharpoondown`,!0),N(P,I,B,`⇁`,`\\rightharpoondown`,!0),N(P,I,B,`↖`,`\\nwarrow`,!0),N(P,I,B,`⇌`,`\\rightleftharpoons`,!0),N(P,L,B,`≮`,`\\nless`,!0),N(P,L,B,``,`\\@nleqslant`),N(P,L,B,``,`\\@nleqq`),N(P,L,B,`⪇`,`\\lneq`,!0),N(P,L,B,`≨`,`\\lneqq`,!0),N(P,L,B,``,`\\@lvertneqq`),N(P,L,B,`⋦`,`\\lnsim`,!0),N(P,L,B,`⪉`,`\\lnapprox`,!0),N(P,L,B,`⊀`,`\\nprec`,!0),N(P,L,B,`⋠`,`\\npreceq`,!0),N(P,L,B,`⋨`,`\\precnsim`,!0),N(P,L,B,`⪹`,`\\precnapprox`,!0),N(P,L,B,`≁`,`\\nsim`,!0),N(P,L,B,``,`\\@nshortmid`),N(P,L,B,`∤`,`\\nmid`,!0),N(P,L,B,`⊬`,`\\nvdash`,!0),N(P,L,B,`⊭`,`\\nvDash`,!0),N(P,L,B,`⋪`,`\\ntriangleleft`),N(P,L,B,`⋬`,`\\ntrianglelefteq`,!0),N(P,L,B,`⊊`,`\\subsetneq`,!0),N(P,L,B,``,`\\@varsubsetneq`),N(P,L,B,`⫋`,`\\subsetneqq`,!0),N(P,L,B,``,`\\@varsubsetneqq`),N(P,L,B,`≯`,`\\ngtr`,!0),N(P,L,B,``,`\\@ngeqslant`),N(P,L,B,``,`\\@ngeqq`),N(P,L,B,`⪈`,`\\gneq`,!0),N(P,L,B,`≩`,`\\gneqq`,!0),N(P,L,B,``,`\\@gvertneqq`),N(P,L,B,`⋧`,`\\gnsim`,!0),N(P,L,B,`⪊`,`\\gnapprox`,!0),N(P,L,B,`⊁`,`\\nsucc`,!0),N(P,L,B,`⋡`,`\\nsucceq`,!0),N(P,L,B,`⋩`,`\\succnsim`,!0),N(P,L,B,`⪺`,`\\succnapprox`,!0),N(P,L,B,`≆`,`\\ncong`,!0),N(P,L,B,``,`\\@nshortparallel`),N(P,L,B,`∦`,`\\nparallel`,!0),N(P,L,B,`⊯`,`\\nVDash`,!0),N(P,L,B,`⋫`,`\\ntriangleright`),N(P,L,B,`⋭`,`\\ntrianglerighteq`,!0),N(P,L,B,``,`\\@nsupseteqq`),N(P,L,B,`⊋`,`\\supsetneq`,!0),N(P,L,B,``,`\\@varsupsetneq`),N(P,L,B,`⫌`,`\\supsetneqq`,!0),N(P,L,B,``,`\\@varsupsetneqq`),N(P,L,B,`⊮`,`\\nVdash`,!0),N(P,L,B,`⪵`,`\\precneqq`,!0),N(P,L,B,`⪶`,`\\succneqq`,!0),N(P,L,B,``,`\\@nsubseteqq`),N(P,L,R,`⊴`,`\\unlhd`),N(P,L,R,`⊵`,`\\unrhd`),N(P,L,B,`↚`,`\\nleftarrow`,!0),N(P,L,B,`↛`,`\\nrightarrow`,!0),N(P,L,B,`⇍`,`\\nLeftarrow`,!0),N(P,L,B,`⇏`,`\\nRightarrow`,!0),N(P,L,B,`↮`,`\\nleftrightarrow`,!0),N(P,L,B,`⇎`,`\\nLeftrightarrow`,!0),N(P,L,B,`△`,`\\vartriangle`),N(P,L,V,`ℏ`,`\\hslash`),N(P,L,V,`▽`,`\\triangledown`),N(P,L,V,`◊`,`\\lozenge`),N(P,L,V,`Ⓢ`,`\\circledS`),N(P,L,V,`®`,`\\circledR`),N(F,L,V,`®`,`\\circledR`),N(P,L,V,`∡`,`\\measuredangle`,!0),N(P,L,V,`∄`,`\\nexists`),N(P,L,V,`℧`,`\\mho`),N(P,L,V,`Ⅎ`,`\\Finv`,!0),N(P,L,V,`⅁`,`\\Game`,!0),N(P,L,V,`‵`,`\\backprime`),N(P,L,V,`▲`,`\\blacktriangle`),N(P,L,V,`▼`,`\\blacktriangledown`),N(P,L,V,`■`,`\\blacksquare`),N(P,L,V,`⧫`,`\\blacklozenge`),N(P,L,V,`★`,`\\bigstar`),N(P,L,V,`∢`,`\\sphericalangle`,!0),N(P,L,V,`∁`,`\\complement`,!0),N(P,L,V,`ð`,`\\eth`,!0),N(F,I,V,`ð`,`ð`),N(P,L,V,`╱`,`\\diagup`),N(P,L,V,`╲`,`\\diagdown`),N(P,L,V,`□`,`\\square`),N(P,L,V,`□`,`\\Box`),N(P,L,V,`◊`,`\\Diamond`),N(P,L,V,`¥`,`\\yen`,!0),N(F,L,V,`¥`,`\\yen`,!0),N(P,L,V,`✓`,`\\checkmark`,!0),N(F,L,V,`✓`,`\\checkmark`),N(P,L,V,`ℶ`,`\\beth`,!0),N(P,L,V,`ℸ`,`\\daleth`,!0),N(P,L,V,`ℷ`,`\\gimel`,!0),N(P,L,V,`ϝ`,`\\digamma`,!0),N(P,L,V,`ϰ`,`\\varkappa`),N(P,L,Sh,`┌`,`\\@ulcorner`,!0),N(P,L,yh,`┐`,`\\@urcorner`,!0),N(P,L,Sh,`└`,`\\@llcorner`,!0),N(P,L,yh,`┘`,`\\@lrcorner`,!0),N(P,L,B,`≦`,`\\leqq`,!0),N(P,L,B,`⩽`,`\\leqslant`,!0),N(P,L,B,`⪕`,`\\eqslantless`,!0),N(P,L,B,`≲`,`\\lesssim`,!0),N(P,L,B,`⪅`,`\\lessapprox`,!0),N(P,L,B,`≊`,`\\approxeq`,!0),N(P,L,R,`⋖`,`\\lessdot`),N(P,L,B,`⋘`,`\\lll`,!0),N(P,L,B,`≶`,`\\lessgtr`,!0),N(P,L,B,`⋚`,`\\lesseqgtr`,!0),N(P,L,B,`⪋`,`\\lesseqqgtr`,!0),N(P,L,B,`≑`,`\\doteqdot`),N(P,L,B,`≓`,`\\risingdotseq`,!0),N(P,L,B,`≒`,`\\fallingdotseq`,!0),N(P,L,B,`∽`,`\\backsim`,!0),N(P,L,B,`⋍`,`\\backsimeq`,!0),N(P,L,B,`⫅`,`\\subseteqq`,!0),N(P,L,B,`⋐`,`\\Subset`,!0),N(P,L,B,`⊏`,`\\sqsubset`,!0),N(P,L,B,`≼`,`\\preccurlyeq`,!0),N(P,L,B,`⋞`,`\\curlyeqprec`,!0),N(P,L,B,`≾`,`\\precsim`,!0),N(P,L,B,`⪷`,`\\precapprox`,!0),N(P,L,B,`⊲`,`\\vartriangleleft`),N(P,L,B,`⊴`,`\\trianglelefteq`),N(P,L,B,`⊨`,`\\vDash`,!0),N(P,L,B,`⊪`,`\\Vvdash`,!0),N(P,L,B,`⌣`,`\\smallsmile`),N(P,L,B,`⌢`,`\\smallfrown`),N(P,L,B,`≏`,`\\bumpeq`,!0),N(P,L,B,`≎`,`\\Bumpeq`,!0),N(P,L,B,`≧`,`\\geqq`,!0),N(P,L,B,`⩾`,`\\geqslant`,!0),N(P,L,B,`⪖`,`\\eqslantgtr`,!0),N(P,L,B,`≳`,`\\gtrsim`,!0),N(P,L,B,`⪆`,`\\gtrapprox`,!0),N(P,L,R,`⋗`,`\\gtrdot`),N(P,L,B,`⋙`,`\\ggg`,!0),N(P,L,B,`≷`,`\\gtrless`,!0),N(P,L,B,`⋛`,`\\gtreqless`,!0),N(P,L,B,`⪌`,`\\gtreqqless`,!0),N(P,L,B,`≖`,`\\eqcirc`,!0),N(P,L,B,`≗`,`\\circeq`,!0),N(P,L,B,`≜`,`\\triangleq`,!0),N(P,L,B,`∼`,`\\thicksim`),N(P,L,B,`≈`,`\\thickapprox`),N(P,L,B,`⫆`,`\\supseteqq`,!0),N(P,L,B,`⋑`,`\\Supset`,!0),N(P,L,B,`⊐`,`\\sqsupset`,!0),N(P,L,B,`≽`,`\\succcurlyeq`,!0),N(P,L,B,`⋟`,`\\curlyeqsucc`,!0),N(P,L,B,`≿`,`\\succsim`,!0),N(P,L,B,`⪸`,`\\succapprox`,!0),N(P,L,B,`⊳`,`\\vartriangleright`),N(P,L,B,`⊵`,`\\trianglerighteq`),N(P,L,B,`⊩`,`\\Vdash`,!0),N(P,L,B,`∣`,`\\shortmid`),N(P,L,B,`∥`,`\\shortparallel`),N(P,L,B,`≬`,`\\between`,!0),N(P,L,B,`⋔`,`\\pitchfork`,!0),N(P,L,B,`∝`,`\\varpropto`),N(P,L,B,`◀`,`\\blacktriangleleft`),N(P,L,B,`∴`,`\\therefore`,!0),N(P,L,B,`∍`,`\\backepsilon`),N(P,L,B,`▶`,`\\blacktriangleright`),N(P,L,B,`∵`,`\\because`,!0),N(P,L,B,`⋘`,`\\llless`),N(P,L,B,`⋙`,`\\gggtr`),N(P,L,R,`⊲`,`\\lhd`),N(P,L,R,`⊳`,`\\rhd`),N(P,L,B,`≂`,`\\eqsim`,!0),N(P,I,B,`⋈`,`\\Join`),N(P,L,B,`≑`,`\\Doteq`,!0),N(P,L,R,`∔`,`\\dotplus`,!0),N(P,L,R,`∖`,`\\smallsetminus`),N(P,L,R,`⋒`,`\\Cap`,!0),N(P,L,R,`⋓`,`\\Cup`,!0),N(P,L,R,`⩞`,`\\doublebarwedge`,!0),N(P,L,R,`⊟`,`\\boxminus`,!0),N(P,L,R,`⊞`,`\\boxplus`,!0),N(P,L,R,`⋇`,`\\divideontimes`,!0),N(P,L,R,`⋉`,`\\ltimes`,!0),N(P,L,R,`⋊`,`\\rtimes`,!0),N(P,L,R,`⋋`,`\\leftthreetimes`,!0),N(P,L,R,`⋌`,`\\rightthreetimes`,!0),N(P,L,R,`⋏`,`\\curlywedge`,!0),N(P,L,R,`⋎`,`\\curlyvee`,!0),N(P,L,R,`⊝`,`\\circleddash`,!0),N(P,L,R,`⊛`,`\\circledast`,!0),N(P,L,R,`⋅`,`\\centerdot`),N(P,L,R,`⊺`,`\\intercal`,!0),N(P,L,R,`⋒`,`\\doublecap`),N(P,L,R,`⋓`,`\\doublecup`),N(P,L,R,`⊠`,`\\boxtimes`,!0),N(P,L,B,`⇢`,`\\dashrightarrow`,!0),N(P,L,B,`⇠`,`\\dashleftarrow`,!0),N(P,L,B,`⇇`,`\\leftleftarrows`,!0),N(P,L,B,`⇆`,`\\leftrightarrows`,!0),N(P,L,B,`⇚`,`\\Lleftarrow`,!0),N(P,L,B,`↞`,`\\twoheadleftarrow`,!0),N(P,L,B,`↢`,`\\leftarrowtail`,!0),N(P,L,B,`↫`,`\\looparrowleft`,!0),N(P,L,B,`⇋`,`\\leftrightharpoons`,!0),N(P,L,B,`↶`,`\\curvearrowleft`,!0),N(P,L,B,`↺`,`\\circlearrowleft`,!0),N(P,L,B,`↰`,`\\Lsh`,!0),N(P,L,B,`⇈`,`\\upuparrows`,!0),N(P,L,B,`↿`,`\\upharpoonleft`,!0),N(P,L,B,`⇃`,`\\downharpoonleft`,!0),N(P,I,B,`⊶`,`\\origof`,!0),N(P,I,B,`⊷`,`\\imageof`,!0),N(P,L,B,`⊸`,`\\multimap`,!0),N(P,L,B,`↭`,`\\leftrightsquigarrow`,!0),N(P,L,B,`⇉`,`\\rightrightarrows`,!0),N(P,L,B,`⇄`,`\\rightleftarrows`,!0),N(P,L,B,`↠`,`\\twoheadrightarrow`,!0),N(P,L,B,`↣`,`\\rightarrowtail`,!0),N(P,L,B,`↬`,`\\looparrowright`,!0),N(P,L,B,`↷`,`\\curvearrowright`,!0),N(P,L,B,`↻`,`\\circlearrowright`,!0),N(P,L,B,`↱`,`\\Rsh`,!0),N(P,L,B,`⇊`,`\\downdownarrows`,!0),N(P,L,B,`↾`,`\\upharpoonright`,!0),N(P,L,B,`⇂`,`\\downharpoonright`,!0),N(P,L,B,`⇝`,`\\rightsquigarrow`,!0),N(P,L,B,`⇝`,`\\leadsto`),N(P,L,B,`⇛`,`\\Rrightarrow`,!0),N(P,L,B,`↾`,`\\restriction`),N(P,I,V,`‘`,"`"),N(P,I,V,`$`,`\\$`),N(F,I,V,`$`,`\\$`),N(F,I,V,`$`,`\\textdollar`),N(P,I,V,`%`,`\\%`),N(F,I,V,`%`,`\\%`),N(P,I,V,`_`,`\\_`),N(F,I,V,`_`,`\\_`),N(F,I,V,`_`,`\\textunderscore`),N(P,I,V,`∠`,`\\angle`,!0),N(P,I,V,`∞`,`\\infty`,!0),N(P,I,V,`′`,`\\prime`),N(P,I,V,`△`,`\\triangle`),N(P,I,V,`Γ`,`\\Gamma`,!0),N(P,I,V,`Δ`,`\\Delta`,!0),N(P,I,V,`Θ`,`\\Theta`,!0),N(P,I,V,`Λ`,`\\Lambda`,!0),N(P,I,V,`Ξ`,`\\Xi`,!0),N(P,I,V,`Π`,`\\Pi`,!0),N(P,I,V,`Σ`,`\\Sigma`,!0),N(P,I,V,`Υ`,`\\Upsilon`,!0),N(P,I,V,`Φ`,`\\Phi`,!0),N(P,I,V,`Ψ`,`\\Psi`,!0),N(P,I,V,`Ω`,`\\Omega`,!0),N(P,I,V,`A`,`Α`),N(P,I,V,`B`,`Β`),N(P,I,V,`E`,`Ε`),N(P,I,V,`Z`,`Ζ`),N(P,I,V,`H`,`Η`),N(P,I,V,`I`,`Ι`),N(P,I,V,`K`,`Κ`),N(P,I,V,`M`,`Μ`),N(P,I,V,`N`,`Ν`),N(P,I,V,`O`,`Ο`),N(P,I,V,`P`,`Ρ`),N(P,I,V,`T`,`Τ`),N(P,I,V,`X`,`Χ`),N(P,I,V,`¬`,`\\neg`,!0),N(P,I,V,`¬`,`\\lnot`),N(P,I,V,`⊤`,`\\top`),N(P,I,V,`⊥`,`\\bot`),N(P,I,V,`∅`,`\\emptyset`),N(P,L,V,`∅`,`\\varnothing`),N(P,I,z,`α`,`\\alpha`,!0),N(P,I,z,`β`,`\\beta`,!0),N(P,I,z,`γ`,`\\gamma`,!0),N(P,I,z,`δ`,`\\delta`,!0),N(P,I,z,`ϵ`,`\\epsilon`,!0),N(P,I,z,`ζ`,`\\zeta`,!0),N(P,I,z,`η`,`\\eta`,!0),N(P,I,z,`θ`,`\\theta`,!0),N(P,I,z,`ι`,`\\iota`,!0),N(P,I,z,`κ`,`\\kappa`,!0),N(P,I,z,`λ`,`\\lambda`,!0),N(P,I,z,`μ`,`\\mu`,!0),N(P,I,z,`ν`,`\\nu`,!0),N(P,I,z,`ξ`,`\\xi`,!0),N(P,I,z,`ο`,`\\omicron`,!0),N(P,I,z,`π`,`\\pi`,!0),N(P,I,z,`ρ`,`\\rho`,!0),N(P,I,z,`σ`,`\\sigma`,!0),N(P,I,z,`τ`,`\\tau`,!0),N(P,I,z,`υ`,`\\upsilon`,!0),N(P,I,z,`ϕ`,`\\phi`,!0),N(P,I,z,`χ`,`\\chi`,!0),N(P,I,z,`ψ`,`\\psi`,!0),N(P,I,z,`ω`,`\\omega`,!0),N(P,I,z,`ε`,`\\varepsilon`,!0),N(P,I,z,`ϑ`,`\\vartheta`,!0),N(P,I,z,`ϖ`,`\\varpi`,!0),N(P,I,z,`ϱ`,`\\varrho`,!0),N(P,I,z,`ς`,`\\varsigma`,!0),N(P,I,z,`φ`,`\\varphi`,!0),N(P,I,R,`∗`,`*`,!0),N(P,I,R,`+`,`+`),N(P,I,R,`−`,`-`,!0),N(P,I,R,`⋅`,`\\cdot`,!0),N(P,I,R,`∘`,`\\circ`,!0),N(P,I,R,`÷`,`\\div`,!0),N(P,I,R,`±`,`\\pm`,!0),N(P,I,R,`×`,`\\times`,!0),N(P,I,R,`∩`,`\\cap`,!0),N(P,I,R,`∪`,`\\cup`,!0),N(P,I,R,`∖`,`\\setminus`,!0),N(P,I,R,`∧`,`\\land`),N(P,I,R,`∨`,`\\lor`),N(P,I,R,`∧`,`\\wedge`,!0),N(P,I,R,`∨`,`\\vee`,!0),N(P,I,V,`√`,`\\surd`),N(P,I,Sh,`⟨`,`\\langle`,!0),N(P,I,Sh,`∣`,`\\lvert`),N(P,I,Sh,`∥`,`\\lVert`),N(P,I,yh,`?`,`?`),N(P,I,yh,`!`,`!`),N(P,I,yh,`⟩`,`\\rangle`,!0),N(P,I,yh,`∣`,`\\rvert`),N(P,I,yh,`∥`,`\\rVert`),N(P,I,B,`=`,`=`),N(P,I,B,`:`,`:`),N(P,I,B,`≈`,`\\approx`,!0),N(P,I,B,`≅`,`\\cong`,!0),N(P,I,B,`≥`,`\\ge`),N(P,I,B,`≥`,`\\geq`,!0),N(P,I,B,`←`,`\\gets`),N(P,I,B,`>`,`\\gt`,!0),N(P,I,B,`∈`,`\\in`,!0),N(P,I,B,``,`\\@not`),N(P,I,B,`⊂`,`\\subset`,!0),N(P,I,B,`⊃`,`\\supset`,!0),N(P,I,B,`⊆`,`\\subseteq`,!0),N(P,I,B,`⊇`,`\\supseteq`,!0),N(P,L,B,`⊈`,`\\nsubseteq`,!0),N(P,L,B,`⊉`,`\\nsupseteq`,!0),N(P,I,B,`⊨`,`\\models`),N(P,I,B,`←`,`\\leftarrow`,!0),N(P,I,B,`≤`,`\\le`),N(P,I,B,`≤`,`\\leq`,!0),N(P,I,B,`<`,`\\lt`,!0),N(P,I,B,`→`,`\\rightarrow`,!0),N(P,I,B,`→`,`\\to`),N(P,L,B,`≱`,`\\ngeq`,!0),N(P,L,B,`≰`,`\\nleq`,!0),N(P,I,wh,`\xA0`,`\\ `),N(P,I,wh,`\xA0`,`\\space`),N(P,I,wh,`\xA0`,`\\nobreakspace`),N(F,I,wh,`\xA0`,`\\ `),N(F,I,wh,`\xA0`,` `),N(F,I,wh,`\xA0`,`\\space`),N(F,I,wh,`\xA0`,`\\nobreakspace`),N(P,I,wh,``,`\\nobreak`),N(P,I,wh,``,`\\allowbreak`),N(P,I,Ch,`,`,`,`),N(P,I,Ch,`;`,`;`),N(P,L,R,`⊼`,`\\barwedge`,!0),N(P,L,R,`⊻`,`\\veebar`,!0),N(P,I,R,`⊙`,`\\odot`,!0),N(P,I,R,`⊕`,`\\oplus`,!0),N(P,I,R,`⊗`,`\\otimes`,!0),N(P,I,V,`∂`,`\\partial`,!0),N(P,I,R,`⊘`,`\\oslash`,!0),N(P,L,R,`⊚`,`\\circledcirc`,!0),N(P,L,R,`⊡`,`\\boxdot`,!0),N(P,I,R,`△`,`\\bigtriangleup`),N(P,I,R,`▽`,`\\bigtriangledown`),N(P,I,R,`†`,`\\dagger`),N(P,I,R,`⋄`,`\\diamond`),N(P,I,R,`⋆`,`\\star`),N(P,I,R,`◃`,`\\triangleleft`),N(P,I,R,`▹`,`\\triangleright`),N(P,I,Sh,`{`,`\\{`),N(F,I,V,`{`,`\\{`),N(F,I,V,`{`,`\\textbraceleft`),N(P,I,yh,`}`,`\\}`),N(F,I,V,`}`,`\\}`),N(F,I,V,`}`,`\\textbraceright`),N(P,I,Sh,`{`,`\\lbrace`),N(P,I,yh,`}`,`\\rbrace`),N(P,I,Sh,`[`,`\\lbrack`,!0),N(F,I,V,`[`,`\\lbrack`,!0),N(P,I,yh,`]`,`\\rbrack`,!0),N(F,I,V,`]`,`\\rbrack`,!0),N(P,I,Sh,`(`,`\\lparen`,!0),N(P,I,yh,`)`,`\\rparen`,!0),N(F,I,V,`<`,`\\textless`,!0),N(F,I,V,`>`,`\\textgreater`,!0),N(P,I,Sh,`⌊`,`\\lfloor`,!0),N(P,I,yh,`⌋`,`\\rfloor`,!0),N(P,I,Sh,`⌈`,`\\lceil`,!0),N(P,I,yh,`⌉`,`\\rceil`,!0),N(P,I,V,`\\`,`\\backslash`),N(P,I,V,`∣`,`|`),N(P,I,V,`∣`,`\\vert`),N(F,I,V,`|`,`\\textbar`,!0),N(P,I,V,`∥`,`\\|`),N(P,I,V,`∥`,`\\Vert`),N(F,I,V,`∥`,`\\textbardbl`),N(F,I,V,`~`,`\\textasciitilde`),N(F,I,V,`\\`,`\\textbackslash`),N(F,I,V,`^`,`\\textasciicircum`),N(P,I,B,`↑`,`\\uparrow`,!0),N(P,I,B,`⇑`,`\\Uparrow`,!0),N(P,I,B,`↓`,`\\downarrow`,!0),N(P,I,B,`⇓`,`\\Downarrow`,!0),N(P,I,B,`↕`,`\\updownarrow`,!0),N(P,I,B,`⇕`,`\\Updownarrow`,!0),N(P,I,xh,`∐`,`\\coprod`),N(P,I,xh,`⋁`,`\\bigvee`),N(P,I,xh,`⋀`,`\\bigwedge`),N(P,I,xh,`⨄`,`\\biguplus`),N(P,I,xh,`⋂`,`\\bigcap`),N(P,I,xh,`⋃`,`\\bigcup`),N(P,I,xh,`∫`,`\\int`),N(P,I,xh,`∫`,`\\intop`),N(P,I,xh,`∬`,`\\iint`),N(P,I,xh,`∭`,`\\iiint`),N(P,I,xh,`∏`,`\\prod`),N(P,I,xh,`∑`,`\\sum`),N(P,I,xh,`⨂`,`\\bigotimes`),N(P,I,xh,`⨁`,`\\bigoplus`),N(P,I,xh,`⨀`,`\\bigodot`),N(P,I,xh,`∮`,`\\oint`),N(P,I,xh,`∯`,`\\oiint`),N(P,I,xh,`∰`,`\\oiiint`),N(P,I,xh,`⨆`,`\\bigsqcup`),N(P,I,xh,`∫`,`\\smallint`),N(F,I,bh,`…`,`\\textellipsis`),N(P,I,bh,`…`,`\\mathellipsis`),N(F,I,bh,`…`,`\\ldots`,!0),N(P,I,bh,`…`,`\\ldots`,!0),N(P,I,bh,`⋯`,`\\@cdots`,!0),N(P,I,bh,`⋱`,`\\ddots`,!0),N(P,I,V,`⋮`,`\\varvdots`),N(F,I,V,`⋮`,`\\varvdots`),N(P,I,vh,`ˊ`,`\\acute`),N(P,I,vh,`ˋ`,`\\grave`),N(P,I,vh,`¨`,`\\ddot`),N(P,I,vh,`~`,`\\tilde`),N(P,I,vh,`ˉ`,`\\bar`),N(P,I,vh,`˘`,`\\breve`),N(P,I,vh,`ˇ`,`\\check`),N(P,I,vh,`^`,`\\hat`),N(P,I,vh,`⃗`,`\\vec`),N(P,I,vh,`˙`,`\\dot`),N(P,I,vh,`˚`,`\\mathring`),N(P,I,z,``,`\\@imath`),N(P,I,z,``,`\\@jmath`),N(P,I,V,`ı`,`ı`),N(P,I,V,`ȷ`,`ȷ`),N(F,I,V,`ı`,`\\i`,!0),N(F,I,V,`ȷ`,`\\j`,!0),N(F,I,V,`ß`,`\\ss`,!0),N(F,I,V,`æ`,`\\ae`,!0),N(F,I,V,`œ`,`\\oe`,!0),N(F,I,V,`ø`,`\\o`,!0),N(F,I,V,`Æ`,`\\AE`,!0),N(F,I,V,`Œ`,`\\OE`,!0),N(F,I,V,`Ø`,`\\O`,!0),N(F,I,vh,`ˊ`,`\\'`),N(F,I,vh,`ˋ`,"\\`"),N(F,I,vh,`ˆ`,`\\^`),N(F,I,vh,`˜`,`\\~`),N(F,I,vh,`ˉ`,`\\=`),N(F,I,vh,`˘`,`\\u`),N(F,I,vh,`˙`,`\\.`),N(F,I,vh,`¸`,`\\c`),N(F,I,vh,`˚`,`\\r`),N(F,I,vh,`ˇ`,`\\v`),N(F,I,vh,`¨`,`\\"`),N(F,I,vh,`˝`,`\\H`),N(F,I,vh,`◯`,`\\textcircled`);var Th={"--":!0,"---":!0,"``":!0,"''":!0};N(F,I,V,`–`,`--`,!0),N(F,I,V,`–`,`\\textendash`),N(F,I,V,`—`,`---`,!0),N(F,I,V,`—`,`\\textemdash`),N(F,I,V,`‘`,"`",!0),N(F,I,V,`‘`,`\\textquoteleft`),N(F,I,V,`’`,`'`,!0),N(F,I,V,`’`,`\\textquoteright`),N(F,I,V,`“`,"``",!0),N(F,I,V,`“`,`\\textquotedblleft`),N(F,I,V,`”`,`''`,!0),N(F,I,V,`”`,`\\textquotedblright`),N(P,I,V,`°`,`\\degree`,!0),N(F,I,V,`°`,`\\degree`),N(F,I,V,`°`,`\\textdegree`,!0),N(P,I,V,`£`,`\\pounds`),N(P,I,V,`£`,`\\mathsterling`,!0),N(F,I,V,`£`,`\\pounds`),N(F,I,V,`£`,`\\textsterling`,!0),N(P,L,V,`✠`,`\\maltese`),N(F,L,V,`✠`,`\\maltese`);for(var Eh=`0123456789/@."`,Dh=0;Dh<Eh.length;Dh++){var Oh=Eh.charAt(Dh);N(P,I,V,Oh,Oh)}for(var kh=`0123456789!@*()-=+";:?/.,`,Ah=0;Ah<kh.length;Ah++){var jh=kh.charAt(Ah);N(F,I,V,jh,jh)}for(var Mh=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`,Nh=0;Nh<Mh.length;Nh++){var Ph=Mh.charAt(Nh);N(P,I,z,Ph,Ph),N(F,I,V,Ph,Ph)}N(P,L,V,`C`,`ℂ`),N(F,L,V,`C`,`ℂ`),N(P,L,V,`H`,`ℍ`),N(F,L,V,`H`,`ℍ`),N(P,L,V,`N`,`ℕ`),N(F,L,V,`N`,`ℕ`),N(P,L,V,`P`,`ℙ`),N(F,L,V,`P`,`ℙ`),N(P,L,V,`Q`,`ℚ`),N(F,L,V,`Q`,`ℚ`),N(P,L,V,`R`,`ℝ`),N(F,L,V,`R`,`ℝ`),N(P,L,V,`Z`,`ℤ`),N(F,L,V,`Z`,`ℤ`),N(P,I,z,`h`,`ℎ`),N(F,I,z,`h`,`ℎ`);for(var H,Fh=0;Fh<Mh.length;Fh++){var Ih=Mh.charAt(Fh);H=String.fromCharCode(55349,56320+Fh),N(P,I,z,Ih,H),N(F,I,V,Ih,H),H=String.fromCharCode(55349,56372+Fh),N(P,I,z,Ih,H),N(F,I,V,Ih,H),H=String.fromCharCode(55349,56424+Fh),N(P,I,z,Ih,H),N(F,I,V,Ih,H),H=String.fromCharCode(55349,56580+Fh),N(P,I,z,Ih,H),N(F,I,V,Ih,H),H=String.fromCharCode(55349,56684+Fh),N(P,I,z,Ih,H),N(F,I,V,Ih,H),H=String.fromCharCode(55349,56736+Fh),N(P,I,z,Ih,H),N(F,I,V,Ih,H),H=String.fromCharCode(55349,56788+Fh),N(P,I,z,Ih,H),N(F,I,V,Ih,H),H=String.fromCharCode(55349,56840+Fh),N(P,I,z,Ih,H),N(F,I,V,Ih,H),H=String.fromCharCode(55349,56944+Fh),N(P,I,z,Ih,H),N(F,I,V,Ih,H),Fh<26&&(H=String.fromCharCode(55349,56632+Fh),N(P,I,z,Ih,H),N(F,I,V,Ih,H),H=String.fromCharCode(55349,56476+Fh),N(P,I,z,Ih,H),N(F,I,V,Ih,H))}H=String.fromCharCode(55349,56668),N(P,I,z,`k`,H),N(F,I,V,`k`,H);for(var Lh=0;Lh<10;Lh++){var Rh=Lh.toString();H=String.fromCharCode(55349,57294+Lh),N(P,I,z,Rh,H),N(F,I,V,Rh,H),H=String.fromCharCode(55349,57314+Lh),N(P,I,z,Rh,H),N(F,I,V,Rh,H),H=String.fromCharCode(55349,57324+Lh),N(P,I,z,Rh,H),N(F,I,V,Rh,H),H=String.fromCharCode(55349,57334+Lh),N(P,I,z,Rh,H),N(F,I,V,Rh,H)}for(var zh=`ÐÞþ`,Bh=0;Bh<zh.length;Bh++){var Vh=zh.charAt(Bh);N(P,I,z,Vh,Vh),N(F,I,V,Vh,Vh)}var Hh={mathClass:`mathbf`,textClass:`textbf`,font:`Main-Bold`},Uh={mathClass:`mathnormal`,textClass:`textit`,font:`Math-Italic`},Wh={mathClass:`boldsymbol`,textClass:`boldsymbol`,font:`Main-BoldItalic`},Gh={mathClass:`mathscr`,textClass:`textscr`,font:`Script-Regular`},Kh={mathClass:``,textClass:``,font:``},qh={mathClass:`mathfrak`,textClass:`textfrak`,font:`Fraktur-Regular`},Jh={mathClass:`mathbb`,textClass:`textbb`,font:`AMS-Regular`},Yh={mathClass:`mathboldfrak`,textClass:`textboldfrak`,font:`Fraktur-Regular`},Xh={mathClass:`mathsf`,textClass:`textsf`,font:`SansSerif-Regular`},Zh={mathClass:`mathboldsf`,textClass:`textboldsf`,font:`SansSerif-Bold`},Qh={mathClass:`mathitsf`,textClass:`textitsf`,font:`SansSerif-Italic`},$h={mathClass:`mathtt`,textClass:`texttt`,font:`Typewriter-Regular`},eg=[Hh,Hh,Uh,Uh,Wh,Wh,Gh,Kh,Kh,Kh,qh,qh,Jh,Jh,Yh,Yh,Xh,Xh,Zh,Zh,Qh,Qh,Kh,Kh,$h,$h],tg=[Hh,Kh,Xh,Zh,$h],ng=e=>{var t=e.charCodeAt(0),n=e.charCodeAt(1),r=(t-55296)*1024+(n-56320)+65536;if(119808<=r&&r<120484)return eg[Math.floor((r-119808)/26)];if(120782<=r&&r<=120831)return tg[Math.floor((r-120782)/10)];if(r===120485||r===120486)return eg[0];if(120486<r&&r<120782)return Kh;throw new j(`Unsupported character: `+e)},rg=function(e,t,n){if(_h[n][e]){var r=_h[n][e].replace;r&&(e=r)}return{value:e,metrics:mh(e,t,n)}},ig=function(e,t,n,r,i){var a=rg(e,t,n),o=a.metrics;e=a.value;var s;if(o){var c=o.italic;(n===`text`||r&&r.font===`mathit`)&&(c=0),s=new rh(e,o.height,o.depth,c,o.skew,o.width,i)}else typeof console<`u`&&console.warn(`No character metrics `+(`for '`+e+`' in style '`+t+`' and mode '`+n+`'`)),s=new rh(e,0,0,0,0,0,i);if(r){s.maxFontSize=r.sizeMultiplier,r.style.isTight()&&s.classes.push(`mtight`);var l=r.getColor();l&&(s.style.color=l)}return s},ag=function(e,t,n,r){return r===void 0&&(r=[]),n.font===`boldsymbol`&&rg(e,`Main-Bold`,t).metrics?ig(e,`Main-Bold`,t,n,r.concat([`mathbf`])):e===`\\`||_h[t][e].font===`main`?ig(e,`Main-Regular`,t,n,r):ig(e,`AMS-Regular`,t,n,r.concat([`amsrm`]))},og=function(e,t,n){return n!==`textord`&&rg(e,`Math-BoldItalic`,t).metrics?{fontName:`Math-BoldItalic`,fontClass:`boldsymbol`}:{fontName:`Main-Bold`,fontClass:`mathbf`}},sg=function(e,t,n){var r=e.mode,i=e.text,a=[`mord`],{font:o,fontFamily:s,fontWeight:c,fontShape:l}=t,u=r===`math`||r===`text`&&!!o,d=u?o:s,f=``,p=``;if(i.charCodeAt(0)===55349){var m=ng(i);f=m.font,p=m[r+`Class`]}if(f)return ig(i,f,r,t,a.concat(p));if(d){var h,g;if(d===`boldsymbol`){var _=og(i,r,n);h=_.fontName,g=[_.fontClass]}else u?(h=bg[o].fontName,g=[o]):(h=yg(s,c,l),g=[s,c,l]);if(rg(i,h,r).metrics)return ig(i,h,r,t,a.concat(g));if(Th.hasOwnProperty(i)&&h.slice(0,10)===`Typewriter`){for(var v=[],y=0;y<i.length;y++)v.push(ig(i[y],h,r,t,a.concat(g)));return mg(v)}}if(n===`mathord`)return ig(i,`Math-Italic`,r,t,a.concat([`mathnormal`]));if(n===`textord`){var b=_h[r][i]&&_h[r][i].font;if(b===`ams`)return ig(i,yg(`amsrm`,c,l),r,t,a.concat(`amsrm`,c,l));if(b===`main`||!b)return ig(i,yg(`textrm`,c,l),r,t,a.concat(c,l));var x=yg(b,c,l);return ig(i,x,r,t,a.concat(x,c,l))}else throw Error(`unexpected type: `+n+` in makeOrd`)},cg=(e,t)=>{if(qm(e.classes)!==qm(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass(`mathnormal`))return!1;if(e.classes.length===1){var n=e.classes[0];if(n===`mbin`||n===`mord`)return!1}for(var r of Object.keys(e.style))if(e.style[r]!==t.style[r])return!1;for(var i of Object.keys(t.style))if(e.style[i]!==t.style[i])return!1;return!0},lg=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof rh&&r instanceof rh&&cg(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},ug=function(e){for(var t=0,n=0,r=0,i=0;i<e.children.length;i++){var a=e.children[i];a.height>t&&(t=a.height),a.depth>n&&(n=a.depth),a.maxFontSize>r&&(r=a.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},U=function(e,t,n,r){var i=new $m(e,t,n,r);return ug(i),i},dg=(e,t,n,r)=>new $m(e,t,n,r),fg=function(e,t,n){var r=U([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=M(r.height),r.maxFontSize=1,r},pg=function(e,t,n,r){var i=new eh(e,t,n,r);return ug(i),i},mg=function(e){var t=new Hm(e);return ug(t),t},hg=function(e,t){return e instanceof Hm?U([],[e],t):e},gg=function(e){if(e.positionType===`individualShift`){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,a=1;a<t.length;a++){var o=-t[a].shift-i-t[a].elem.depth,s=o-(t[a-1].elem.height+t[a-1].elem.depth);i+=o,n.push({type:`kern`,size:s}),n.push(t[a])}return{children:n,depth:r}}var c;if(e.positionType===`top`){for(var l=e.positionData,u=0;u<e.children.length;u++){var d=e.children[u];l-=d.type===`kern`?d.size:d.elem.height+d.elem.depth}c=l}else if(e.positionType===`bottom`)c=-e.positionData;else{var f=e.children[0];if(f.type!==`elem`)throw Error(`First child must have type "elem".`);if(e.positionType===`shift`)c=-f.elem.depth-e.positionData;else if(e.positionType===`firstBaseline`)c=-f.elem.depth;else throw Error(`Invalid positionType `+e.positionType+`.`)}return{children:e.children,depth:c}},_g=function(e,t){for(var{children:n,depth:r}=gg(e),i=0,a=0;a<n.length;a++){var o=n[a];if(o.type===`elem`){var s=o.elem;i=Math.max(i,s.maxFontSize,s.height)}}i+=2;var c=U([`pstrut`],[]);c.style.height=M(i);for(var l=[],u=r,d=r,f=r,p=0;p<n.length;p++){var m=n[p];if(m.type===`kern`)f+=m.size;else{var h=m.elem,g=m.wrapperClasses||[],_=m.wrapperStyle||{},v=U(g,[c,h],void 0,_);v.style.top=M(-i-f-h.depth),m.marginLeft&&(v.style.marginLeft=m.marginLeft),m.marginRight&&(v.style.marginRight=m.marginRight),l.push(v),f+=h.height+h.depth}u=Math.min(u,f),d=Math.max(d,f)}var y=U([`vlist`],l);y.style.height=M(d);var b;if(u<0){var x=U([`vlist`],[U([],[])]);x.style.height=M(-u),b=[U([`vlist-r`],[y,U([`vlist-s`],[new rh(``)])]),U([`vlist-r`],[x])]}else b=[U([`vlist-r`],[y])];var S=U([`vlist-t`],b);return b.length===2&&S.classes.push(`vlist-t2`),S.height=d,S.depth=-u,S},vg=(e,t)=>{var n=U([`mspace`],[],t),r=Km(e,t);return n.style.marginRight=M(r),n},yg=(e,t,n)=>{var r,i;switch(e){case`amsrm`:r=`AMS`;break;case`textrm`:r=`Main`;break;case`textsf`:r=`SansSerif`;break;case`texttt`:r=`Typewriter`;break;default:r=e}return i=t===`textbf`&&n===`textit`?`BoldItalic`:t===`textbf`?`Bold`:n===`textit`?`Italic`:`Regular`,r+`-`+i},bg={mathbf:{variant:`bold`,fontName:`Main-Bold`},mathrm:{variant:`normal`,fontName:`Main-Regular`},textit:{variant:`italic`,fontName:`Main-Italic`},mathit:{variant:`italic`,fontName:`Main-Italic`},mathnormal:{variant:`italic`,fontName:`Math-Italic`},mathsfit:{variant:`sans-serif-italic`,fontName:`SansSerif-Italic`},mathbb:{variant:`double-struck`,fontName:`AMS-Regular`},mathcal:{variant:`script`,fontName:`Caligraphic-Regular`},mathfrak:{variant:`fraktur`,fontName:`Fraktur-Regular`},mathscr:{variant:`script`,fontName:`Script-Regular`},mathsf:{variant:`sans-serif`,fontName:`SansSerif-Regular`},mathtt:{variant:`monospace`,fontName:`Typewriter-Regular`}},xg={vec:[`vec`,.471,.714],oiintSize1:[`oiintSize1`,.957,.499],oiintSize2:[`oiintSize2`,1.472,.659],oiiintSize1:[`oiiintSize1`,1.304,.499],oiiintSize2:[`oiiintSize2`,1.98,.659]},Sg=function(e,t){var[n,r,i]=xg[e],a=dg([`overlay`],[new ih([new ah(n)],{width:M(r),height:M(i),style:`width:`+M(r),viewBox:`0 0 `+1e3*r+` `+1e3*i,preserveAspectRatio:`xMinYMin`})],t);return a.height=i,a.style.height=M(i),a.style.width=M(r),a},Cg={number:3,unit:`mu`},wg={number:4,unit:`mu`},Tg={number:5,unit:`mu`},Eg={mord:{mop:Cg,mbin:wg,mrel:Tg,minner:Cg},mop:{mord:Cg,mop:Cg,mrel:Tg,minner:Cg},mbin:{mord:wg,mop:wg,mopen:wg,minner:wg},mrel:{mord:Tg,mop:Tg,mopen:Tg,minner:Tg},mopen:{},mclose:{mop:Cg,mbin:wg,mrel:Tg,minner:Cg},mpunct:{mord:Cg,mop:Cg,mrel:Tg,mopen:Cg,mclose:Cg,mpunct:Cg,minner:Cg},minner:{mord:Cg,mop:Cg,mbin:wg,mrel:Tg,mopen:Cg,mpunct:Cg,minner:Cg}},Dg={mord:{mop:Cg},mop:{mord:Cg,mop:Cg},mbin:{},mrel:{},mopen:{},mclose:{mop:Cg},mpunct:{},minner:{mop:Cg}},Og={},kg={},Ag={};function W(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i},c=0;c<n.length;++c)Og[n[c]]=s;t&&(a&&(kg[t]=a),o&&(Ag[t]=o))}function jg(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;W({type:t,names:[],props:{numArgs:0},handler(){throw Error(`Should never be called.`)},htmlBuilder:n,mathmlBuilder:r})}var Mg=function(e){return e.type===`ordgroup`&&e.body.length===1?e.body[0]:e},Ng=function(e){return e.type===`ordgroup`?e.body:[e]},Pg=new Set([`leftmost`,`mbin`,`mopen`,`mrel`,`mop`,`mpunct`]),Fg=new Set([`rightmost`,`mrel`,`mclose`,`mpunct`]),Ig={display:Cm.DISPLAY,text:Cm.TEXT,script:Cm.SCRIPT,scriptscript:Cm.SCRIPTSCRIPT},Lg={mord:`mord`,mop:`mop`,mbin:`mbin`,mrel:`mrel`,mopen:`mopen`,mclose:`mclose`,mpunct:`mpunct`,minner:`minner`},Rg=function(e,t,n,r){r===void 0&&(r=[null,null]);for(var i=[],a=0;a<e.length;a++){var o=Wg(e[a],t);if(o instanceof Hm){var s=o.children;i.push(...s)}else i.push(o)}if(lg(i),!n)return i;var c=t;if(e.length===1){var l=e[0];l.type===`sizing`?c=t.havingSize(l.size):l.type===`styling`&&(c=t.havingStyle(Ig[l.style]))}var u=U([r[0]||`leftmost`],[],t),d=U([r[1]||`rightmost`],[],t),f=n===`root`;return zg(i,(e,t)=>{var n=t.classes[0],r=e.classes[0];n===`mbin`&&Fg.has(r)?t.classes[0]=`mord`:r===`mbin`&&Pg.has(n)&&(e.classes[0]=`mord`)},{node:u},d,f),zg(i,(e,t)=>{var n=Hg(t),r=Hg(e),i=n&&r?e.hasClass(`mtight`)?Dg[n]?.[r]:Eg[n]?.[r]:null;if(i)return vg(i,c)},{node:u},d,f),i},zg=function(e,t,n,r,i){r&&e.push(r);for(var a=0;a<e.length;a++){var o=e[a],s=Bg(o);if(s){zg(s.children,t,n,null,i);continue}var c=!o.hasClass(`mspace`);if(c){var l=t(o,n.node);l&&(n.insertAfter?n.insertAfter(l):(e.unshift(l),a++))}c?n.node=o:i&&o.hasClass(`newline`)&&(n.node=U([`leftmost`])),n.insertAfter=(t=>n=>{e.splice(t+1,0,n),a++})(a)}r&&e.pop()},Bg=function(e){return e instanceof Hm||e instanceof eh||e instanceof $m&&e.hasClass(`enclosing`)?e:null},Vg=function(e,t){var n=Bg(e);if(n){var r=n.children;if(r.length){if(t===`right`)return Vg(r[r.length-1],`right`);if(t===`left`)return Vg(r[0],`left`)}}return e},Hg=function(e,t){return e?(t&&(e=Vg(e,t)),Lg[e.classes[0]]||null):null},Ug=function(e,t){var n=[`nulldelimiter`].concat(e.baseSizingClasses());return U(t.concat(n))},Wg=function(e,t,n){if(!e)return U();if(kg[e.type]){var r=kg[e.type](e,t);if(n&&t.size!==n.size){r=U(t.sizingClasses(n),[r],t);var i=t.sizeMultiplier/n.sizeMultiplier;r.height*=i,r.depth*=i}return r}else throw new j(`Got group of unknown type: '`+e.type+`'`)};function Gg(e,t){var n=U([`base`],e,t),r=U([`strut`]);return r.style.height=M(n.height+n.depth),n.depth&&(r.style.verticalAlign=M(-n.depth)),n.children.unshift(r),n}function Kg(e,t){var n=null;e.length===1&&e[0].type===`tag`&&(n=e[0].tag,e=e[0].body);var r=Rg(e,t,`root`),i;r.length===2&&r[1].hasClass(`tag`)&&(i=r.pop());for(var a=[],o=[],s=0;s<r.length;s++)if(o.push(r[s]),r[s].hasClass(`mbin`)||r[s].hasClass(`mrel`)||r[s].hasClass(`allowbreak`)){for(var c=!1;s<r.length-1&&r[s+1].hasClass(`mspace`)&&!r[s+1].hasClass(`newline`);)s++,o.push(r[s]),r[s].hasClass(`nobreak`)&&(c=!0);c||(a.push(Gg(o,t)),o=[])}else r[s].hasClass(`newline`)&&(o.pop(),o.length>0&&(a.push(Gg(o,t)),o=[]),a.push(r[s]));o.length>0&&a.push(Gg(o,t));var l;n?(l=Gg(Rg(n,t,!0),t),l.classes=[`tag`],a.push(l)):i&&a.push(i);var u=U([`katex-html`],a);if(u.setAttribute(`aria-hidden`,`true`),l){var d=l.children[0];d.style.height=M(u.height+u.depth),u.depth&&(d.style.verticalAlign=M(-u.depth))}return u}function qg(e){return new Hm(e)}var G=class{constructor(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS(`http://www.w3.org/1998/Math/MathML`,this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=qm(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Jg&&this.children[n+1]instanceof Jg){for(var r=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Jg;)r+=this.children[++n].toText();e.appendChild(new Jg(r).toNode())}else e.appendChild(this.children[n].toNode());return e}toMarkup(){var e=`<`+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=` `+t+`="`,e+=Zp(this.attributes[t]),e+=`"`);this.classes.length>0&&(e+=` class ="`+Zp(qm(this.classes))+`"`),e+=`>`;for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+=`</`+this.type+`>`,e}toText(){return this.children.map(e=>e.toText()).join(``)}},Jg=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return Zp(this.toText())}toText(){return this.text}},Yg=class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character=` `:e>=.1666&&e<=.1667?this.character=` `:e>=.2222&&e<=.2223?this.character=` `:e>=.2777&&e<=.2778?this.character=` `:e>=-.05556&&e<=-.05555?this.character=` `:e>=-.1667&&e<=-.1666?this.character=` `:e>=-.2223&&e<=-.2222?this.character=` `:e>=-.2778&&e<=-.2777?this.character=` `:this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS(`http://www.w3.org/1998/Math/MathML`,`mspace`);return e.setAttribute(`width`,M(this.width)),e}toMarkup(){return this.character?`<mtext>`+this.character+`</mtext>`:`<mspace width="`+M(this.width)+`"/>`}toText(){return this.character?this.character:` `}},Xg=new Set([`\\imath`,`\\jmath`]),Zg=new Set([`mrow`,`mtable`]),Qg=function(e,t,n){return _h[t][e]&&_h[t][e].replace&&e.charCodeAt(0)!==55349&&!(Th.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)===`tt`||n.font&&n.font.slice(4,6)===`tt`))&&(e=_h[t][e].replace),new Jg(e)},$g=function(e){return e.length===1?e[0]:new G(`mrow`,e)},e_={mathit:`italic`,boldsymbol:e=>e.type===`textord`?`bold`:`bold-italic`,mathbf:`bold`,mathbb:`double-struck`,mathsfit:`sans-serif-italic`,mathfrak:`fraktur`,mathscr:`script`,mathcal:`script`,mathsf:`sans-serif`,mathtt:`monospace`},t_=(e,t)=>{if(e.mode===`text`){if(t.fontFamily===`texttt`)return`monospace`;if(t.fontFamily===`textsf`)return t.fontShape===`textit`&&t.fontWeight===`textbf`?`sans-serif-bold-italic`:t.fontShape===`textit`?`sans-serif-italic`:t.fontWeight===`textbf`?`bold-sans-serif`:`sans-serif`;if(t.fontShape===`textit`&&t.fontWeight===`textbf`)return`bold-italic`;if(t.fontShape===`textit`)return`italic`;if(t.fontWeight===`textbf`)return`bold`}var n=t.font;if(!n||n===`mathnormal`)return null;var r=e.mode,i=e_[n];if(i)return typeof i==`function`?i(e):i;var a=e.text;if(Xg.has(a))return null;if(_h[r][a]){var o=_h[r][a].replace;o&&(a=o)}var s=bg[n].fontName;return mh(a,s,r)?bg[n].variant:null};function n_(e){if(!e)return!1;if(e.type===`mi`&&e.children.length===1){var t=e.children[0];return t instanceof Jg&&t.text===`.`}else if(e.type===`mo`&&e.children.length===1&&e.getAttribute(`separator`)===`true`&&e.getAttribute(`lspace`)===`0em`&&e.getAttribute(`rspace`)===`0em`){var n=e.children[0];return n instanceof Jg&&n.text===`,`}else return!1}var r_=function(e,t,n){if(e.length===1){var r=a_(e[0],t);return n&&r instanceof G&&r.type===`mo`&&(r.setAttribute(`lspace`,`0em`),r.setAttribute(`rspace`,`0em`)),[r]}for(var i=[],a,o=0;o<e.length;o++){var s=a_(e[o],t);if(s instanceof G&&a instanceof G){if(s.type===`mtext`&&a.type===`mtext`&&s.getAttribute(`mathvariant`)===a.getAttribute(`mathvariant`)){a.children.push(...s.children);continue}else if(s.type===`mn`&&a.type===`mn`){a.children.push(...s.children);continue}else if(n_(s)&&a.type===`mn`){a.children.push(...s.children);continue}else if(s.type===`mn`&&n_(a))s.children=[...a.children,...s.children],i.pop();else if((s.type===`msup`||s.type===`msub`)&&s.children.length>=1&&(a.type===`mn`||n_(a))){var c=s.children[0];c instanceof G&&c.type===`mn`&&(c.children=[...a.children,...c.children],i.pop())}else if(a.type===`mi`&&a.children.length===1){var l=a.children[0];if(l instanceof Jg&&l.text===`̸`&&(s.type===`mo`||s.type===`mi`||s.type===`mn`)){var u=s.children[0];u instanceof Jg&&u.text.length>0&&(u.text=u.text.slice(0,1)+`̸`+u.text.slice(1),i.pop())}}}i.push(s),a=s}return i},i_=function(e,t,n){return $g(r_(e,t,n))},a_=function(e,t){if(!e)return new G(`mrow`);if(Ag[e.type])return Ag[e.type](e,t);throw new j(`Got group of unknown type: '`+e.type+`'`)};function o_(e,t,n,r,i){var a=r_(e,n),o=a.length===1&&a[0]instanceof G&&Zg.has(a[0].type)?a[0]:new G(`mrow`,a),s=new G(`annotation`,[new Jg(t)]);s.setAttribute(`encoding`,`application/x-tex`);var c=new G(`math`,[new G(`semantics`,[o,s])]);return c.setAttribute(`xmlns`,`http://www.w3.org/1998/Math/MathML`),r&&c.setAttribute(`display`,`block`),U([i?`katex`:`katex-mathml`],[c])}var s_=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],c_=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],l_=function(e,t){return t.size<2?e:s_[e-1][t.size-1]},u_=class e{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||``,this.fontFamily=t.fontFamily||``,this.fontWeight=t.fontWeight||``,this.fontShape=t.fontShape||``,this.sizeMultiplier=c_[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(n,t),new e(n)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:l_(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:c_[e-1]})}havingBaseStyle(t){t||=this.style.text();var n=l_(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:``})}withTextFontWeight(e){return this.extend({fontWeight:e,font:``})}withTextFontShape(e){return this.extend({fontShape:e,font:``})}sizingClasses(e){return e.size===this.size?[]:[`sizing`,`reset-size`+e.size,`size`+this.size]}baseSizingClasses(){return this.size===e.BASESIZE?[]:[`sizing`,`reset-size`+this.size,`size`+e.BASESIZE]}fontMetrics(){return this._fontMetrics||=gh(this.size),this._fontMetrics}getColor(){return this.phantom?`transparent`:this.color}};u_.BASESIZE=6;var d_=function(e){return new u_({style:e.displayMode?Cm.DISPLAY:Cm.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},f_=function(e,t){if(t.displayMode){var n=[`katex-display`];t.leqno&&n.push(`leqno`),t.fleqn&&n.push(`fleqn`),e=U(n,[e])}return e},p_=function(e,t,n){var r=d_(n),i;return n.output===`mathml`?o_(e,t,r,n.displayMode,!0):(i=n.output===`html`?U([`katex`],[Kg(e,r)]):U([`katex`],[o_(e,t,r,n.displayMode,!1),Kg(e,r)]),f_(i,n))},m_=function(e,t,n){return f_(U([`katex`],[Kg(e,d_(n))]),n)},h_={widehat:`^`,widecheck:`ˇ`,widetilde:`~`,utilde:`~`,overleftarrow:`←`,underleftarrow:`←`,xleftarrow:`←`,overrightarrow:`→`,underrightarrow:`→`,xrightarrow:`→`,underbrace:`⏟`,overbrace:`⏞`,underbracket:`⎵`,overbracket:`⎴`,overgroup:`⏠`,undergroup:`⏡`,overleftrightarrow:`↔`,underleftrightarrow:`↔`,xleftrightarrow:`↔`,Overrightarrow:`⇒`,xRightarrow:`⇒`,overleftharpoon:`↼`,xleftharpoonup:`↼`,overrightharpoon:`⇀`,xrightharpoonup:`⇀`,xLeftarrow:`⇐`,xLeftrightarrow:`⇔`,xhookleftarrow:`↩`,xhookrightarrow:`↪`,xmapsto:`↦`,xrightharpoondown:`⇁`,xleftharpoondown:`↽`,xrightleftharpoons:`⇌`,xleftrightharpoons:`⇋`,xtwoheadleftarrow:`↞`,xtwoheadrightarrow:`↠`,xlongequal:`=`,xtofrom:`⇄`,xrightleftarrows:`⇄`,xrightequilibrium:`⇌`,xleftequilibrium:`⇋`,"\\cdrightarrow":`→`,"\\cdleftarrow":`←`,"\\cdlongequal":`=`},g_=function(e){var t=new G(`mo`,[new Jg(h_[e.replace(/^\\/,``)])]);return t.setAttribute(`stretchy`,`true`),t},__={overrightarrow:[[`rightarrow`],.888,522,`xMaxYMin`],overleftarrow:[[`leftarrow`],.888,522,`xMinYMin`],underrightarrow:[[`rightarrow`],.888,522,`xMaxYMin`],underleftarrow:[[`leftarrow`],.888,522,`xMinYMin`],xrightarrow:[[`rightarrow`],1.469,522,`xMaxYMin`],"\\cdrightarrow":[[`rightarrow`],3,522,`xMaxYMin`],xleftarrow:[[`leftarrow`],1.469,522,`xMinYMin`],"\\cdleftarrow":[[`leftarrow`],3,522,`xMinYMin`],Overrightarrow:[[`doublerightarrow`],.888,560,`xMaxYMin`],xRightarrow:[[`doublerightarrow`],1.526,560,`xMaxYMin`],xLeftarrow:[[`doubleleftarrow`],1.526,560,`xMinYMin`],overleftharpoon:[[`leftharpoon`],.888,522,`xMinYMin`],xleftharpoonup:[[`leftharpoon`],.888,522,`xMinYMin`],xleftharpoondown:[[`leftharpoondown`],.888,522,`xMinYMin`],overrightharpoon:[[`rightharpoon`],.888,522,`xMaxYMin`],xrightharpoonup:[[`rightharpoon`],.888,522,`xMaxYMin`],xrightharpoondown:[[`rightharpoondown`],.888,522,`xMaxYMin`],xlongequal:[[`longequal`],.888,334,`xMinYMin`],"\\cdlongequal":[[`longequal`],3,334,`xMinYMin`],xtwoheadleftarrow:[[`twoheadleftarrow`],.888,334,`xMinYMin`],xtwoheadrightarrow:[[`twoheadrightarrow`],.888,334,`xMaxYMin`],overleftrightarrow:[[`leftarrow`,`rightarrow`],.888,522],overbrace:[[`leftbrace`,`midbrace`,`rightbrace`],1.6,548],underbrace:[[`leftbraceunder`,`midbraceunder`,`rightbraceunder`],1.6,548],underleftrightarrow:[[`leftarrow`,`rightarrow`],.888,522],xleftrightarrow:[[`leftarrow`,`rightarrow`],1.75,522],xLeftrightarrow:[[`doubleleftarrow`,`doublerightarrow`],1.75,560],xrightleftharpoons:[[`leftharpoondownplus`,`rightharpoonplus`],1.75,716],xleftrightharpoons:[[`leftharpoonplus`,`rightharpoondownplus`],1.75,716],xhookleftarrow:[[`leftarrow`,`righthook`],1.08,522],xhookrightarrow:[[`lefthook`,`rightarrow`],1.08,522],overlinesegment:[[`leftlinesegment`,`rightlinesegment`],.888,522],underlinesegment:[[`leftlinesegment`,`rightlinesegment`],.888,522],overbracket:[[`leftbracketover`,`rightbracketover`],1.6,440],underbracket:[[`leftbracketunder`,`rightbracketunder`],1.6,410],overgroup:[[`leftgroup`,`rightgroup`],.888,342],undergroup:[[`leftgroupunder`,`rightgroupunder`],.888,342],xmapsto:[[`leftmapsto`,`rightarrow`],1.5,522],xtofrom:[[`leftToFrom`,`rightToFrom`],1.75,528],xrightleftarrows:[[`baraboveleftarrow`,`rightarrowabovebar`],1.75,901],xrightequilibrium:[[`baraboveshortleftharpoon`,`rightharpoonaboveshortbar`],1.75,716],xleftequilibrium:[[`shortbaraboveleftharpoon`,`shortrightharpoonabovebar`],1.75,716]},v_=new Set([`widehat`,`widecheck`,`widetilde`,`utilde`]),y_=function(e,t){function n(){var n=4e5,r=e.label.slice(1);if(v_.has(r)&&`base`in e){var i=e.base.type===`ordgroup`?e.base.body.length:1,a,o,s;if(i>5)r===`widehat`||r===`widecheck`?(a=420,n=2364,s=.42,o=r+`4`):(a=312,n=2340,s=.34,o=`tilde4`);else{var c=[1,1,2,2,3,3][i];r===`widehat`||r===`widecheck`?(n=[0,1062,2364,2364,2364][c],a=[0,239,300,360,420][c],s=[0,.24,.3,.3,.36,.42][c],o=r+c):(n=[0,600,1033,2339,2340][c],a=[0,260,286,306,312][c],s=[0,.26,.286,.3,.306,.34][c],o=`tilde`+c)}return{span:dg([],[new ih([new ah(o)],{width:`100%`,height:M(s),viewBox:`0 0 `+n+` `+a,preserveAspectRatio:`none`})],t),minWidth:0,height:s}}else{var l=[],u=__[r];if(!u)throw Error(`No SVG data for "`+r+`".`);var[d,f,p]=u,m=p/1e3,h=d.length,g,_;if(h===1){if(u.length!==4)throw Error(`Expected 4-tuple for single-path SVG data "`+r+`".`);g=[`hide-tail`],_=[u[3]]}else if(h===2)g=[`halfarrow-left`,`halfarrow-right`],_=[`xMinYMin`,`xMaxYMin`];else if(h===3)g=[`brace-left`,`brace-center`,`brace-right`],_=[`xMinYMin`,`xMidYMin`,`xMaxYMin`];else throw Error(`Correct katexImagesData or update code here to support
|
|
267
|
+
`+h+` children.`);for(var v=0;v<h;v++){var y=new ih([new ah(d[v])],{width:`400em`,height:M(m),viewBox:`0 0 `+n+` `+p,preserveAspectRatio:_[v]+` slice`}),b=dg([g[v]],[y],t);if(h===1)return{span:b,minWidth:f,height:m};b.style.height=M(m),l.push(b)}return{span:U([`stretchy`],l,t),minWidth:f,height:m}}}var{span:r,minWidth:i,height:a}=n();return r.height=a,r.style.height=M(a),i>0&&(r.style.minWidth=M(i)),r},b_=function(e,t,n,r,i){var a,o=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(a=U([`stretchy`,t],[],i),t===`fbox`){var s=i.color&&i.getColor();s&&(a.style.borderColor=s)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new oh({x1:`0`,y1:`0`,x2:`100%`,y2:`100%`,"stroke-width":`0.046em`})),/^x?cancel$/.test(t)&&c.push(new oh({x1:`0`,y1:`100%`,x2:`100%`,y2:`0`,"stroke-width":`0.046em`})),a=dg([],[new ih(c,{width:`100%`,height:M(o)})],i)}return a.height=o,a.style.height=M(o),a},x_={bin:1,close:1,inner:1,open:1,punct:1,rel:1},S_={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function C_(e){return e in x_}function w_(e,t){if(!e||e.type!==t)throw Error(`Expected node of type `+t+`, but got `+(e?`node of type `+e.type:String(e)));return e}function T_(e){var t=E_(e);if(!t)throw Error(`Expected node of symbol group type, but got `+(e?`node of type `+e.type:String(e)));return t}function E_(e){return e&&(e.type===`atom`||S_.hasOwnProperty(e.type))?e:null}var D_=e=>{if(e instanceof rh)return e;if(lh(e)&&e.children.length===1)return D_(e.children[0])},O_=(e,t)=>{var n,r,i;e&&e.type===`supsub`?(r=w_(e.base,`accent`),n=r.base,e.base=n,i=ch(Wg(e,t)),e.base=r):(r=w_(e,`accent`),n=r.base);var a=Wg(n,t.havingCrampedStyle()),o=r.isShifty&&em(n),s=0;o&&(s=D_(a)?.skew??0);var c=r.label===`\\c`,l=c?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),u;if(r.isStretchy)u=y_(r,t),u=_g({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`elem`,elem:u,wrapperClasses:[`svg-align`],wrapperStyle:s>0?{width:`calc(100% - `+M(2*s)+`)`,marginLeft:M(2*s)}:void 0}]});else{var d,f;r.label===`\\vec`?(d=Sg(`vec`,t),f=xg.vec[1]):(d=sg({type:`textord`,mode:r.mode,text:r.label},t,`textord`),d=sh(d),d.italic=0,f=d.width,c&&(l+=d.depth)),u=U([`accent-body`],[d]);var p=r.label===`\\textcircled`;p&&(u.classes.push(`accent-full`),l=a.height);var m=s;p||(m-=f/2),u.style.left=M(m),r.label===`\\textcircled`&&(u.style.top=`.2em`),u=_g({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:-l},{type:`elem`,elem:u}]})}var h=U([`mord`,`accent`],[u],t);return i?(i.children[0]=h,i.height=Math.max(h.height,i.height),i.classes[0]=`mord`,i):h},k_=(e,t)=>{var n=e.isStretchy?g_(e.label):new G(`mo`,[Qg(e.label,e.mode)]),r=new G(`mover`,[a_(e.base,t),n]);return r.setAttribute(`accent`,`true`),r},A_=new RegExp([`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`].map(e=>`\\`+e).join(`|`));W({type:`accent`,names:[`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`,`\\widecheck`,`\\widehat`,`\\widetilde`,`\\overrightarrow`,`\\overleftarrow`,`\\Overrightarrow`,`\\overleftrightarrow`,`\\overgroup`,`\\overlinesegment`,`\\overleftharpoon`,`\\overrightharpoon`],props:{numArgs:1},handler:(e,t)=>{var n=Mg(t[0]),r=!A_.test(e.funcName),i=!r||e.funcName===`\\widehat`||e.funcName===`\\widetilde`||e.funcName===`\\widecheck`;return{type:`accent`,mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:O_,mathmlBuilder:k_}),W({type:`accent`,names:[`\\'`,"\\`",`\\^`,`\\~`,`\\=`,`\\u`,`\\.`,`\\"`,`\\c`,`\\r`,`\\H`,`\\v`,`\\textcircled`],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`primitive`]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r===`math`&&(e.parser.settings.reportNonstrict(`mathVsTextAccents`,`LaTeX's accent `+e.funcName+` works only in text mode`),r=`text`),{type:`accent`,mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:O_,mathmlBuilder:k_}),W({type:`accentUnder`,names:[`\\underleftarrow`,`\\underrightarrow`,`\\underleftrightarrow`,`\\undergroup`,`\\underlinesegment`,`\\utilde`],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`accentUnder`,mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=Wg(e.base,t),r=y_(e,t),i=e.label===`\\utilde`?.12:0;return U([`mord`,`accentunder`],[_g({positionType:`top`,positionData:n.height,children:[{type:`elem`,elem:r,wrapperClasses:[`svg-align`]},{type:`kern`,size:i},{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=g_(e.label),r=new G(`munder`,[a_(e.base,t),n]);return r.setAttribute(`accentunder`,`true`),r}});var j_=e=>{var t=new G(`mpadded`,e?[e]:[]);return t.setAttribute(`width`,`+0.6em`),t.setAttribute(`lspace`,`0.3em`),t};W({type:`xArrow`,names:[`\\xleftarrow`,`\\xrightarrow`,`\\xLeftarrow`,`\\xRightarrow`,`\\xleftrightarrow`,`\\xLeftrightarrow`,`\\xhookleftarrow`,`\\xhookrightarrow`,`\\xmapsto`,`\\xrightharpoondown`,`\\xrightharpoonup`,`\\xleftharpoondown`,`\\xleftharpoonup`,`\\xrightleftharpoons`,`\\xleftrightharpoons`,`\\xlongequal`,`\\xtwoheadrightarrow`,`\\xtwoheadleftarrow`,`\\xtofrom`,`\\xrightleftarrows`,`\\xrightequilibrium`,`\\xleftequilibrium`,`\\\\cdrightarrow`,`\\\\cdleftarrow`,`\\\\cdlongequal`],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:i}=e;return{type:`xArrow`,mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=hg(Wg(e.body,r,t),t),a=e.label.slice(0,2)===`\\x`?`x`:`cd`;i.classes.push(a+`-arrow-pad`);var o;e.below&&(r=t.havingStyle(n.sub()),o=hg(Wg(e.below,r,t),t),o.classes.push(a+`-arrow-pad`));var s=y_(e,t),c=-t.fontMetrics().axisHeight+.5*s.height,l=-t.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||e.label===`\\xleftequilibrium`)&&(l-=i.depth);var u;if(o){var d=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;u=_g({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c,wrapperClasses:[`svg-align`]},{type:`elem`,elem:o,shift:d}]})}else u=_g({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c,wrapperClasses:[`svg-align`]}]});return U([`mrel`,`x-arrow`],[u],t)},mathmlBuilder(e,t){var n=g_(e.label);n.setAttribute(`minsize`,e.label.charAt(0)===`x`?`1.75em`:`3.0em`);var r;if(e.body){var i=j_(a_(e.body,t));r=e.below?new G(`munderover`,[n,j_(a_(e.below,t)),i]):new G(`mover`,[n,i])}else e.below?r=new G(`munder`,[n,j_(a_(e.below,t))]):(r=j_(),r=new G(`mover`,[n,r]));return r}});function M_(e,t){var n=Rg(e.body,t,!0);return U([e.mclass],n,t)}function N_(e,t){var n,r=r_(e.body,t);return e.mclass===`minner`?n=new G(`mpadded`,r):e.mclass===`mord`?e.isCharacterBox?(n=r[0],n.type=`mi`):n=new G(`mi`,r):(e.isCharacterBox?(n=r[0],n.type=`mo`):n=new G(`mo`,r),e.mclass===`mbin`?(n.attributes.lspace=`0.22em`,n.attributes.rspace=`0.22em`):e.mclass===`mpunct`?(n.attributes.lspace=`0em`,n.attributes.rspace=`0.17em`):e.mclass===`mopen`||e.mclass===`mclose`?(n.attributes.lspace=`0em`,n.attributes.rspace=`0em`):e.mclass===`minner`&&(n.attributes.lspace=`0.0556em`,n.attributes.width=`+0.1111em`)),n}W({type:`mclass`,names:[`\\mathord`,`\\mathbin`,`\\mathrel`,`\\mathopen`,`\\mathclose`,`\\mathpunct`,`\\mathinner`],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`mclass`,mode:n.mode,mclass:`m`+r.slice(5),body:Ng(i),isCharacterBox:em(i)}},htmlBuilder:M_,mathmlBuilder:N_});var P_=e=>{var t=e.type===`ordgroup`&&e.body.length?e.body[0]:e;return t.type===`atom`&&(t.family===`bin`||t.family===`rel`)?`m`+t.family:`mord`};W({type:`mclass`,names:[`\\@binrel`],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:`mclass`,mode:n.mode,mclass:P_(t[0]),body:Ng(t[1]),isCharacterBox:em(t[1])}}}),W({type:`mclass`,names:[`\\stackrel`,`\\overset`,`\\underset`],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,i=t[1],a=t[0],o=r===`\\stackrel`?`mrel`:P_(i),s={type:`op`,mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!==`\\stackrel`,body:Ng(i)},c={type:`supsub`,mode:a.mode,base:s,sup:r===`\\underset`?null:a,sub:r===`\\underset`?a:null};return{type:`mclass`,mode:n.mode,mclass:o,body:[c],isCharacterBox:em(c)}},htmlBuilder:M_,mathmlBuilder:N_}),W({type:`pmb`,names:[`\\pmb`],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:`pmb`,mode:n.mode,mclass:P_(t[0]),body:Ng(t[0])}},htmlBuilder(e,t){var n=Rg(e.body,t,!0),r=U([e.mclass],n,t);return r.style.textShadow=`0.02em 0.01em 0.04px`,r},mathmlBuilder(e,t){var n=new G(`mstyle`,r_(e.body,t));return n.setAttribute(`style`,`text-shadow: 0.02em 0.01em 0.04px`),n}});var F_={">":`\\\\cdrightarrow`,"<":`\\\\cdleftarrow`,"=":`\\\\cdlongequal`,A:`\\uparrow`,V:`\\downarrow`,"|":`\\Vert`,".":`no arrow`},I_=()=>({type:`styling`,body:[],mode:`math`,style:`display`,resetFont:!0}),L_=e=>e.type===`textord`&&e.text===`@`,R_=(e,t)=>(e.type===`mathord`||e.type===`atom`)&&e.text===t;function z_(e,t,n){var r=F_[e];switch(r){case`\\\\cdrightarrow`:case`\\\\cdleftarrow`:return n.callFunction(r,[t[0]],[t[1]]);case`\\uparrow`:case`\\downarrow`:var i=n.callFunction(`\\\\cdleft`,[t[0]],[]),a={type:`atom`,text:r,mode:`math`,family:`rel`},o={type:`ordgroup`,mode:`math`,body:[i,n.callFunction(`\\Big`,[a],[]),n.callFunction(`\\\\cdright`,[t[1]],[])]};return n.callFunction(`\\\\cdparent`,[o],[]);case`\\\\cdlongequal`:return n.callFunction(`\\\\cdlongequal`,[],[]);case`\\Vert`:return n.callFunction(`\\Big`,[{type:`textord`,text:`\\Vert`,mode:`math`}],[]);default:return{type:`textord`,text:` `,mode:`math`}}}function B_(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set(`\\cr`,`\\\\\\relax`),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,`\\\\`)),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n===`&`||n===`\\\\`)e.consume();else if(n===`\\end`){t[t.length-1].length===0&&t.pop();break}else throw new j(`Expected \\\\ or \\cr or \\end`,e.nextToken)}for(var r=[],i=[r],a=0;a<t.length;a++){for(var o=t[a],s=I_(),c=0;c<o.length;c++)if(!L_(o[c]))s.body.push(o[c]);else{r.push(s),c+=1;var l=T_(o[c]).text,u=[,,];if(u[0]={type:`ordgroup`,mode:`math`,body:[]},u[1]={type:`ordgroup`,mode:`math`,body:[]},!`=|.`.includes(l))if(`<>AV`.includes(l))for(var d=0;d<2;d++){for(var f=!0,p=c+1;p<o.length;p++){if(R_(o[p],l)){f=!1,c=p;break}if(L_(o[p]))throw new j(`Missing a `+l+` character to complete a CD arrow.`,o[p]);u[d].body.push(o[p])}if(f)throw new j(`Missing a `+l+` character to complete a CD arrow.`,o[c])}else throw new j(`Expected one of "<>AV=|." after @`,o[c]);var m={type:`styling`,body:[z_(l,u,e)],mode:`math`,style:`display`,resetFont:!0};r.push(m),s=I_()}a%2==0?r.push(s):r.shift(),r=[],i.push(r)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:`array`,mode:`math`,body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:Array(i[0].length).fill({type:`align`,align:`c`,pregap:.25,postgap:.25}),colSeparationType:`CD`,hLinesBeforeRow:Array(i.length+1).fill([])}}W({type:`cdlabel`,names:[`\\\\cdleft`,`\\\\cdright`],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:`cdlabel`,mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=hg(Wg(e.label,n,t),t);return r.classes.push(`cd-label-`+e.side),r.style.bottom=M(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new G(`mrow`,[a_(e.label,t)]);return n=new G(`mpadded`,[n]),n.setAttribute(`width`,`0`),e.side===`left`&&n.setAttribute(`lspace`,`-1width`),n.setAttribute(`voffset`,`0.7em`),n=new G(`mstyle`,[n]),n.setAttribute(`displaystyle`,`false`),n.setAttribute(`scriptlevel`,`1`),n}}),W({type:`cdlabelparent`,names:[`\\\\cdparent`],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:`cdlabelparent`,mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=hg(Wg(e.fragment,t),t);return n.classes.push(`cd-vert-arrow`),n},mathmlBuilder(e,t){return new G(`mrow`,[a_(e.fragment,t)])}}),W({type:`textord`,names:[`\\@char`],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=w_(t[0],`ordgroup`).body,i=``,a=0;a<r.length;a++){var o=w_(r[a],`textord`);i+=o.text}var s=parseInt(i),c;if(isNaN(s))throw new j(`\\@char has non-numeric argument `+i);if(s<0||s>=1114111)throw new j(`\\@char with invalid code point `+i);return s<=65535?c=String.fromCharCode(s):(s-=65536,c=String.fromCharCode((s>>10)+55296,(s&1023)+56320)),{type:`textord`,mode:n.mode,text:c}}});var V_=(e,t)=>mg(Rg(e.body,t.withColor(e.color),!1)),H_=(e,t)=>{var n=new G(`mstyle`,r_(e.body,t.withColor(e.color)));return n.setAttribute(`mathcolor`,e.color),n};W({type:`color`,names:[`\\textcolor`],props:{numArgs:2,allowedInText:!0,argTypes:[`color`,`original`]},handler(e,t){var{parser:n}=e,r=w_(t[0],`color-token`).color,i=t[1];return{type:`color`,mode:n.mode,color:r,body:Ng(i)}},htmlBuilder:V_,mathmlBuilder:H_}),W({type:`color`,names:[`\\color`],props:{numArgs:1,allowedInText:!0,argTypes:[`color`]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=w_(t[0],`color-token`).color;n.gullet.macros.set(`\\current@color`,i);var a=n.parseExpression(!0,r);return{type:`color`,mode:n.mode,color:i,body:a}},htmlBuilder:V_,mathmlBuilder:H_}),W({type:`cr`,names:[`\\\\`],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,i=r.gullet.future().text===`[`?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior(`newLineInDisplayMode`,`In LaTeX, \\\\ or \\newline does nothing in display mode`);return{type:`cr`,mode:r.mode,newLine:a,size:i&&w_(i,`size`).value}},htmlBuilder(e,t){var n=U([`mspace`],[],t);return e.newLine&&(n.classes.push(`newline`),e.size&&(n.style.marginTop=M(Km(e.size,t)))),n},mathmlBuilder(e,t){var n=new G(`mspace`);return e.newLine&&(n.setAttribute(`linebreak`,`newline`),e.size&&n.setAttribute(`height`,M(Km(e.size,t)))),n}});var U_={"\\global":`\\global`,"\\long":`\\\\globallong`,"\\\\globallong":`\\\\globallong`,"\\def":`\\gdef`,"\\gdef":`\\gdef`,"\\edef":`\\xdef`,"\\xdef":`\\xdef`,"\\let":`\\\\globallet`,"\\futurelet":`\\\\globalfuture`},W_=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new j(`Expected a control sequence`,e);return t},G_=e=>{var t=e.gullet.popToken();return t.text===`=`&&(t=e.gullet.popToken(),t.text===` `&&(t=e.gullet.popToken())),t},K_=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i??=(n.noexpand=!0,{tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};W({type:`internal`,names:[`\\global`,`\\long`,`\\\\globallong`],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(U_[r.text])return(n===`\\global`||n===`\\\\globallong`)&&(r.text=U_[r.text]),w_(t.parseFunction(),`internal`);throw new j(`Invalid token after macro prefix`,r)}}),W({type:`internal`,names:[`\\def`,`\\gdef`,`\\edef`,`\\xdef`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new j(`Expected a control sequence`,r);for(var a=0,o,s=[[]];t.gullet.future().text!==`{`;)if(r=t.gullet.popToken(),r.text===`#`){if(t.gullet.future().text===`{`){o=t.gullet.future(),s[a].push(`{`);break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new j(`Invalid argument number "`+r.text+`"`);if(parseInt(r.text)!==a+1)throw new j(`Argument number "`+r.text+`" out of order`);a++,s.push([])}else if(r.text===`EOF`)throw new j(`Expected a macro definition`);else s[a].push(r.text);var{tokens:c}=t.gullet.consumeArg();return o&&c.unshift(o),(n===`\\edef`||n===`\\xdef`)&&(c=t.gullet.expandTokens(c),c.reverse()),t.gullet.macros.set(i,{tokens:c,numArgs:a,delimiters:s},n===U_[n]),{type:`internal`,mode:t.mode}}}),W({type:`internal`,names:[`\\let`,`\\\\globallet`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=W_(t.gullet.popToken());return t.gullet.consumeSpaces(),K_(t,r,G_(t),n===`\\\\globallet`),{type:`internal`,mode:t.mode}}}),W({type:`internal`,names:[`\\futurelet`,`\\\\globalfuture`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=W_(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return K_(t,r,a,n===`\\\\globalfuture`),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:`internal`,mode:t.mode}}});var q_=function(e,t,n){var r=mh(_h.math[e]&&_h.math[e].replace||e,t,n);if(!r)throw Error(`Unsupported symbol `+e+` and font size `+t+`.`);return r},J_=function(e,t,n,r){var i=n.havingBaseStyle(t),a=U(r.concat(i.sizingClasses(n)),[e],n),o=i.sizeMultiplier/n.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},Y_=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push(`delimcenter`),e.style.top=M(i),e.height-=i,e.depth+=i},X_=function(e,t,n,r,i,a){var o=J_(ig(e,`Main-Regular`,i,r),t,r,a);return n&&Y_(o,r,t),o},Z_=function(e,t,n,r){return ig(e,`Size`+t+`-Regular`,n,r)},Q_=function(e,t,n,r,i,a){var o=Z_(e,t,i,r),s=J_(U([`delimsizing`,`size`+t],[o],r),Cm.TEXT,r,a);return n&&Y_(s,r,Cm.TEXT),s},$_=function(e,t,n){return{type:`elem`,elem:U([`delimsizinginner`,t===`Size1-Regular`?`delim-size1`:`delim-size4`],[U([],[ig(e,t,n)])])}},ev=function(e,t,n){var r=uh[`Size4-Regular`][e.charCodeAt(0)]?uh[`Size4-Regular`][e.charCodeAt(0)][4]:uh[`Size1-Regular`][e.charCodeAt(0)][4],i=dg([],[new ih([new ah(`inner`,Rm(e,Math.round(1e3*t)))],{width:M(r),height:M(t),style:`width:`+M(r),viewBox:`0 0 `+1e3*r+` `+Math.round(1e3*t),preserveAspectRatio:`xMinYMin`})],n);return i.height=t,i.style.height=M(t),i.style.width=M(r),{type:`elem`,elem:i}},tv=.008,nv={type:`kern`,size:-1*tv},rv=new Set([`|`,`\\lvert`,`\\rvert`,`\\vert`]),iv=new Set([`\\|`,`\\lVert`,`\\rVert`,`\\Vert`]),av=function(e,t,n,r,i,a){var o,s,c,l,u=``,d=0;o=c=l=e,s=null;var f=`Size1-Regular`;e===`\\uparrow`?c=l=`⏐`:e===`\\Uparrow`?c=l=`‖`:e===`\\downarrow`?o=c=`⏐`:e===`\\Downarrow`?o=c=`‖`:e===`\\updownarrow`?(o=`\\uparrow`,c=`⏐`,l=`\\downarrow`):e===`\\Updownarrow`?(o=`\\Uparrow`,c=`‖`,l=`\\Downarrow`):rv.has(e)?(c=`∣`,u=`vert`,d=333):iv.has(e)?(c=`∥`,u=`doublevert`,d=556):e===`[`||e===`\\lbrack`?(o=`⎡`,c=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lbrack`,d=667):e===`]`||e===`\\rbrack`?(o=`⎤`,c=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rbrack`,d=667):e===`\\lfloor`||e===`⌊`?(c=o=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lfloor`,d=667):e===`\\lceil`||e===`⌈`?(o=`⎡`,c=l=`⎢`,f=`Size4-Regular`,u=`lceil`,d=667):e===`\\rfloor`||e===`⌋`?(c=o=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rfloor`,d=667):e===`\\rceil`||e===`⌉`?(o=`⎤`,c=l=`⎥`,f=`Size4-Regular`,u=`rceil`,d=667):e===`(`||e===`\\lparen`?(o=`⎛`,c=`⎜`,l=`⎝`,f=`Size4-Regular`,u=`lparen`,d=875):e===`)`||e===`\\rparen`?(o=`⎞`,c=`⎟`,l=`⎠`,f=`Size4-Regular`,u=`rparen`,d=875):e===`\\{`||e===`\\lbrace`?(o=`⎧`,s=`⎨`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\}`||e===`\\rbrace`?(o=`⎫`,s=`⎬`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lgroup`||e===`⟮`?(o=`⎧`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\rgroup`||e===`⟯`?(o=`⎫`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lmoustache`||e===`⎰`?(o=`⎧`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):(e===`\\rmoustache`||e===`⎱`)&&(o=`⎫`,l=`⎩`,c=`⎪`,f=`Size4-Regular`);var p=q_(o,f,i),m=p.height+p.depth,h=q_(c,f,i),g=h.height+h.depth,_=q_(l,f,i),v=_.height+_.depth,y=0,b=1;if(s!==null){var x=q_(s,f,i);y=x.height+x.depth,b=2}var S=m+v+y,C=S+Math.max(0,Math.ceil((t-S)/(b*g)))*b*g,ee=r.fontMetrics().axisHeight;n&&(ee*=r.sizeMultiplier);var w=C/2-ee,T=[];if(u.length>0){var te=C-m-v,E=Math.round(C*1e3),ne=Bm(u,Math.round(te*1e3)),re=new ah(u,ne),ie=M(d/1e3),ae=M(E/1e3),oe=dg([],[new ih([re],{width:ie,height:ae,viewBox:`0 0 `+d+` `+E})],r);oe.height=E/1e3,oe.style.width=ie,oe.style.height=ae,T.push({type:`elem`,elem:oe})}else{if(T.push($_(l,f,i)),T.push(nv),s===null){var se=C-m-v+2*tv;T.push(ev(c,se,r))}else{var ce=(C-m-v-y)/2+2*tv;T.push(ev(c,ce,r)),T.push(nv),T.push($_(s,f,i)),T.push(nv),T.push(ev(c,ce,r))}T.push(nv),T.push($_(o,f,i))}var le=r.havingBaseStyle(Cm.TEXT);return J_(U([`delimsizing`,`mult`],[_g({positionType:`bottom`,positionData:w,children:T})],le),Cm.TEXT,r,a)},ov=80,sv=.08,cv=function(e,t,n,r,i){return dg([`hide-tail`],[new ih([new ah(e,Lm(e,r,n))],{width:`400em`,height:M(t),viewBox:`0 0 400000 `+n,preserveAspectRatio:`xMinYMin slice`})],i)},lv=function(e,t){var n=t.havingBaseSizing(),r=yv(`\\surd`,e*n.sizeMultiplier,_v,n),i=n.sizeMultiplier,a=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),o,s,c,l,u;return r.type===`small`?(l=1e3+1e3*a+ov,e<1?i=1:e<1.4&&(i=.7),s=(1+a+sv)/i,c=(1+a)/i,o=cv(`sqrtMain`,s,l,a,t),o.style.minWidth=`0.853em`,u=.833/i):r.type===`large`?(l=(1e3+ov)*pv[r.size],c=(pv[r.size]+a)/i,s=(pv[r.size]+a+sv)/i,o=cv(`sqrtSize`+r.size,s,l,a,t),o.style.minWidth=`1.02em`,u=1/i):(s=e+a+sv,c=e+a,l=Math.floor(1e3*e+a)+ov,o=cv(`sqrtTall`,s,l,a,t),o.style.minWidth=`0.742em`,u=1.056),o.height=c,o.style.height=M(s),{span:o,advanceWidth:u,ruleWidth:(t.fontMetrics().sqrtRuleThickness+a)*i}},uv=new Set([`(`,`\\lparen`,`)`,`\\rparen`,`[`,`\\lbrack`,`]`,`\\rbrack`,`\\{`,`\\lbrace`,`\\}`,`\\rbrace`,`\\lfloor`,`\\rfloor`,`⌊`,`⌋`,`\\lceil`,`\\rceil`,`⌈`,`⌉`,`\\surd`]),dv=new Set([`\\uparrow`,`\\downarrow`,`\\updownarrow`,`\\Uparrow`,`\\Downarrow`,`\\Updownarrow`,`|`,`\\|`,`\\vert`,`\\Vert`,`\\lvert`,`\\rvert`,`\\lVert`,`\\rVert`,`\\lgroup`,`\\rgroup`,`⟮`,`⟯`,`\\lmoustache`,`\\rmoustache`,`⎰`,`⎱`]),fv=new Set([`<`,`>`,`\\langle`,`\\rangle`,`/`,`\\backslash`,`\\lt`,`\\gt`]),pv=[0,1.2,1.8,2.4,3],mv=function(e,t,n,r,i){if(e===`<`||e===`\\lt`||e===`⟨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`⟩`)&&(e=`\\rangle`),uv.has(e)||fv.has(e))return Q_(e,t,!1,n,r,i);if(dv.has(e))return av(e,pv[t],!1,n,r,i);throw new j(`Illegal delimiter: '`+e+`'`)},hv=[{type:`small`,style:Cm.SCRIPTSCRIPT},{type:`small`,style:Cm.SCRIPT},{type:`small`,style:Cm.TEXT},{type:`large`,size:1},{type:`large`,size:2},{type:`large`,size:3},{type:`large`,size:4}],gv=[{type:`small`,style:Cm.SCRIPTSCRIPT},{type:`small`,style:Cm.SCRIPT},{type:`small`,style:Cm.TEXT},{type:`stack`}],_v=[{type:`small`,style:Cm.SCRIPTSCRIPT},{type:`small`,style:Cm.SCRIPT},{type:`small`,style:Cm.TEXT},{type:`large`,size:1},{type:`large`,size:2},{type:`large`,size:3},{type:`large`,size:4},{type:`stack`}],vv=function(e){if(e.type===`small`)return`Main-Regular`;if(e.type===`large`)return`Size`+e.size+`-Regular`;if(e.type===`stack`)return`Size4-Regular`;var t=e.type;throw Error(`Add support for delim type '`+t+`' here.`)},yv=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size);i<n.length;i++){var a=n[i];if(a.type===`stack`)break;var o=q_(e,vv(a),`math`),s=o.height+o.depth;if(a.type===`small`){var c=r.havingBaseStyle(a.style);s*=c.sizeMultiplier}if(s>t)return a}return n[n.length-1]},bv=function(e,t,n,r,i,a){e===`<`||e===`\\lt`||e===`⟨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`⟩`)&&(e=`\\rangle`);var o=fv.has(e)?hv:uv.has(e)?_v:gv,s=yv(e,t,o,r);return s.type===`small`?X_(e,s.style,n,r,i,a):s.type===`large`?Q_(e,s.size,n,r,i,a):av(e,t,n,r,i,a)},xv=function(e,t,n,r,i,a){var o=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,c=5/r.fontMetrics().ptPerEm,l=Math.max(t-o,n+o);return bv(e,Math.max(l/500*s,2*l-c),!0,r,i,a)},Sv={"\\bigl":{mclass:`mopen`,size:1},"\\Bigl":{mclass:`mopen`,size:2},"\\biggl":{mclass:`mopen`,size:3},"\\Biggl":{mclass:`mopen`,size:4},"\\bigr":{mclass:`mclose`,size:1},"\\Bigr":{mclass:`mclose`,size:2},"\\biggr":{mclass:`mclose`,size:3},"\\Biggr":{mclass:`mclose`,size:4},"\\bigm":{mclass:`mrel`,size:1},"\\Bigm":{mclass:`mrel`,size:2},"\\biggm":{mclass:`mrel`,size:3},"\\Biggm":{mclass:`mrel`,size:4},"\\big":{mclass:`mord`,size:1},"\\Big":{mclass:`mord`,size:2},"\\bigg":{mclass:`mord`,size:3},"\\Bigg":{mclass:`mord`,size:4}},Cv=new Set(`(,\\lparen,),\\rparen,[,\\lbrack,],\\rbrack,\\{,\\lbrace,\\},\\rbrace,\\lfloor,\\rfloor,⌊,⌋,\\lceil,\\rceil,⌈,⌉,<,>,\\langle,⟨,\\rangle,⟩,\\lt,\\gt,\\lvert,\\rvert,\\lVert,\\rVert,\\lgroup,\\rgroup,⟮,⟯,\\lmoustache,\\rmoustache,⎰,⎱,/,\\backslash,|,\\vert,\\|,\\Vert,\\uparrow,\\Uparrow,\\downarrow,\\Downarrow,\\updownarrow,\\Updownarrow,.`.split(`,`));function wv(e){return`isMiddle`in e}function Tv(e,t){var n=E_(e);if(n&&Cv.has(n.text))return n;throw n?new j(`Invalid delimiter '`+n.text+`' after '`+t.funcName+`'`,e):new j(`Invalid delimiter type '`+e.type+`'`,e)}W({type:`delimsizing`,names:[`\\bigl`,`\\Bigl`,`\\biggl`,`\\Biggl`,`\\bigr`,`\\Bigr`,`\\biggr`,`\\Biggr`,`\\bigm`,`\\Bigm`,`\\biggm`,`\\Biggm`,`\\big`,`\\Big`,`\\bigg`,`\\Bigg`],props:{numArgs:1,argTypes:[`primitive`]},handler:(e,t)=>{var n=Tv(t[0],e);return{type:`delimsizing`,mode:e.parser.mode,size:Sv[e.funcName].size,mclass:Sv[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim===`.`?U([e.mclass]):mv(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!==`.`&&t.push(Qg(e.delim,e.mode));var n=new G(`mo`,t);e.mclass===`mopen`||e.mclass===`mclose`?n.setAttribute(`fence`,`true`):n.setAttribute(`fence`,`false`),n.setAttribute(`stretchy`,`true`);var r=M(pv[e.size]);return n.setAttribute(`minsize`,r),n.setAttribute(`maxsize`,r),n}});function Ev(e){if(!e.body)throw Error(`Bug: The leftright ParseNode wasn't fully parsed.`)}W({type:`leftright-right`,names:[`\\right`],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get(`\\current@color`);if(n&&typeof n!=`string`)throw new j(`\\current@color set to non-string in \\right`);return{type:`leftright-right`,mode:e.parser.mode,delim:Tv(t[0],e).text,color:n}}}),W({type:`leftright`,names:[`\\left`],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Tv(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect(`\\right`,!1);var a=w_(r.parseFunction(),`leftright-right`);return{type:`leftright`,mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Ev(e);for(var n=Rg(e.body,t,!0,[`mopen`,`mclose`]),r=0,i=0,a=!1,o=0;o<n.length;o++){var s=n[o];wv(s)?a=!0:(r=Math.max(n[o].height,r),i=Math.max(n[o].depth,i))}r*=t.sizeMultiplier,i*=t.sizeMultiplier;var c=e.left===`.`?Ug(t,[`mopen`]):xv(e.left,r,i,t,e.mode,[`mopen`]);if(n.unshift(c),a)for(var l=1;l<n.length;l++){var u=n[l];if(wv(u)){var d=u.isMiddle;n[l]=xv(d.delim,r,i,d.options,e.mode,[])}}var f;if(e.right===`.`)f=Ug(t,[`mclose`]);else{var p=e.rightColor?t.withColor(e.rightColor):t;f=xv(e.right,r,i,p,e.mode,[`mclose`])}return n.push(f),U([`minner`],n,t)},mathmlBuilder:(e,t)=>{Ev(e);var n=r_(e.body,t);if(e.left!==`.`){var r=new G(`mo`,[Qg(e.left,e.mode)]);r.setAttribute(`fence`,`true`),n.unshift(r)}if(e.right!==`.`){var i=new G(`mo`,[Qg(e.right,e.mode)]);i.setAttribute(`fence`,`true`),e.rightColor&&i.setAttribute(`mathcolor`,e.rightColor),n.push(i)}return $g(n)}}),W({type:`middle`,names:[`\\middle`],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Tv(t[0],e);if(!e.parser.leftrightDepth)throw new j(`\\middle without preceding \\left`,n);return{type:`middle`,mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;return e.delim===`.`?n=Ug(t,[]):(n=mv(e.delim,1,t,e.mode,[]),n.isMiddle={delim:e.delim,options:t}),n},mathmlBuilder:(e,t)=>{var n=new G(`mo`,[e.delim===`\\vert`||e.delim===`|`?Qg(`|`,`text`):Qg(e.delim,e.mode)]);return n.setAttribute(`fence`,`true`),n.setAttribute(`lspace`,`0.05em`),n.setAttribute(`rspace`,`0.05em`),n}});var Dv=(e,t)=>{var n=hg(Wg(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,o,s=em(e.body);if(r===`sout`)a=U([`stretchy`,`sout`]),a.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r===`phase`){var c=Km({number:.6,unit:`pt`},t),l=Km({number:.35,unit:`ex`},t),u=t.havingBaseSizing();i/=u.sizeMultiplier;var d=n.height+n.depth+c+l;n.style.paddingLeft=M(d/2+c);var f=Math.floor(1e3*d*i);a=dg([`hide-tail`],[new ih([new ah(`phase`,Fm(f))],{width:`400em`,height:M(f/1e3),viewBox:`0 0 400000 `+f,preserveAspectRatio:`xMinYMin slice`})],t),a.style.height=M(d),o=n.depth+c+l}else{/cancel/.test(r)?s||n.classes.push(`cancel-pad`):r===`angl`?n.classes.push(`anglpad`):n.classes.push(`boxpad`);var p,m,h=0;/box/.test(r)?(h=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),p=t.fontMetrics().fboxsep+(r===`colorbox`?0:h),m=p):r===`angl`?(h=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),p=4*h,m=Math.max(0,.25-n.depth)):(p=s?.2:0,m=p),a=b_(n,r,p,m,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle=`solid`,a.style.borderWidth=M(h)):r===`angl`&&h!==.049&&(a.style.borderTopWidth=M(h),a.style.borderRightWidth=M(h)),o=n.depth+m,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var g;if(e.backgroundColor)g=_g({positionType:`individualShift`,children:[{type:`elem`,elem:a,shift:o},{type:`elem`,elem:n,shift:0}]});else{var _=/cancel|phase/.test(r)?[`svg-align`]:[];g=_g({positionType:`individualShift`,children:[{type:`elem`,elem:n,shift:0},{type:`elem`,elem:a,shift:o,wrapperClasses:_}]})}return/cancel/.test(r)&&(g.height=n.height,g.depth=n.depth),/cancel/.test(r)&&!s?U([`mord`,`cancel-lap`],[g],t):U([`mord`],[g],t)},Ov=(e,t)=>{var n,r=new G(e.label.includes(`colorbox`)?`mpadded`:`menclose`,[a_(e.body,t)]);switch(e.label){case`\\cancel`:r.setAttribute(`notation`,`updiagonalstrike`);break;case`\\bcancel`:r.setAttribute(`notation`,`downdiagonalstrike`);break;case`\\phase`:r.setAttribute(`notation`,`phasorangle`);break;case`\\sout`:r.setAttribute(`notation`,`horizontalstrike`);break;case`\\fbox`:r.setAttribute(`notation`,`box`);break;case`\\angl`:r.setAttribute(`notation`,`actuarial`);break;case`\\fcolorbox`:case`\\colorbox`:if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute(`width`,`+`+2*n+`pt`),r.setAttribute(`height`,`+`+2*n+`pt`),r.setAttribute(`lspace`,n+`pt`),r.setAttribute(`voffset`,n+`pt`),e.label===`\\fcolorbox`){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute(`style`,`border: `+M(i)+` solid `+e.borderColor)}break;case`\\xcancel`:r.setAttribute(`notation`,`updiagonalstrike downdiagonalstrike`);break}return e.backgroundColor&&r.setAttribute(`mathbackground`,e.backgroundColor),r};W({type:`enclose`,names:[`\\colorbox`],props:{numArgs:2,allowedInText:!0,argTypes:[`color`,`hbox`]},handler(e,t,n){var{parser:r,funcName:i}=e,a=w_(t[0],`color-token`).color,o=t[1];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:Dv,mathmlBuilder:Ov}),W({type:`enclose`,names:[`\\fcolorbox`],props:{numArgs:3,allowedInText:!0,argTypes:[`color`,`color`,`hbox`]},handler(e,t,n){var{parser:r,funcName:i}=e,a=w_(t[0],`color-token`).color,o=w_(t[1],`color-token`).color,s=t[2];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:Dv,mathmlBuilder:Ov}),W({type:`enclose`,names:[`\\fbox`],props:{numArgs:1,argTypes:[`hbox`],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:`enclose`,mode:n.mode,label:`\\fbox`,body:t[0]}}}),W({type:`enclose`,names:[`\\cancel`,`\\bcancel`,`\\xcancel`,`\\phase`],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}},htmlBuilder:Dv,mathmlBuilder:Ov}),W({type:`enclose`,names:[`\\sout`],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e;n.mode===`math`&&n.settings.reportNonstrict(`mathVsSout`,`LaTeX's \\sout works only in text mode`);var i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}},htmlBuilder:Dv,mathmlBuilder:Ov}),W({type:`enclose`,names:[`\\angl`],props:{numArgs:1,argTypes:[`hbox`],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:`enclose`,mode:n.mode,label:`\\angl`,body:t[0]}}});var kv={};function Av(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},c=0;c<n.length;++c)kv[n[c]]=s;a&&(kg[t]=a),o&&(Ag[t]=o)}var jv={};function K(e,t){jv[e]=t}var Mv=class e{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new e(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}},Nv=class e{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(t,n){return new e(n,Mv.range(this,t))}};function Pv(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n===`\\relax`&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n===`\\hline`||n===`\\hdashline`;)e.consume(),t.push(n===`\\hdashline`),e.consumeSpaces(),n=e.fetch().text;return t}var Fv=e=>{if(!e.parser.settings.displayMode)throw new j(`{`+e.envName+`} can be used only in display mode.`)},Iv=new Set([`gather`,`gather*`]);function Lv(e){if(!e.includes(`ed`))return!e.includes(`*`)}function Rv(e,t,n){var{hskipBeforeAndAfter:r,addJot:i,cols:a,arraystretch:o,colSeparationType:s,autoTag:c,singleRow:l,emptySingleRow:u,maxNumCols:d,leqno:f}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set(`\\cr`,`\\\\\\relax`),!o){var p=e.gullet.expandMacroAsText(`\\arraystretch`);if(p==null)o=1;else if(o=parseFloat(p),!o||o<0)throw new j(`Invalid \\arraystretch: `+p)}e.gullet.beginGroup();var m=[],h=[m],g=[],_=[],v=c==null?void 0:[];function y(){c&&e.gullet.macros.set(`\\@eqnsw`,`1`,!0)}function b(){v&&(e.gullet.macros.get(`\\df@tag`)?(v.push(e.subparse([new Nv(`\\df@tag`)])),e.gullet.macros.set(`\\df@tag`,void 0,!0)):v.push(!!c&&e.gullet.macros.get(`\\@eqnsw`)===`1`))}for(y(),_.push(Pv(e));;){var x=e.parseExpression(!1,l?`\\end`:`\\\\`);e.gullet.endGroup(),e.gullet.beginGroup();var S={type:`ordgroup`,mode:e.mode,body:x};n&&(S={type:`styling`,mode:e.mode,style:n,resetFont:!0,body:[S]}),m.push(S);var C=e.fetch().text;if(C===`&`){if(d&&m.length===d){if(l||s)throw new j(`Too many tab characters: &`,e.nextToken);e.settings.reportNonstrict(`textEnv`,`Too few columns specified in the {array} column argument.`)}e.consume()}else if(C===`\\end`){b(),m.length===1&&S.type===`styling`&&S.body.length===1&&S.body[0].type===`ordgroup`&&S.body[0].body.length===0&&(h.length>1||!u)&&h.pop(),_.length<h.length+1&&_.push([]);break}else if(C===`\\\\`){e.consume();var ee=void 0;e.gullet.future().text!==` `&&(ee=e.parseSizeGroup(!0)),g.push(ee?ee.value:null),b(),_.push(Pv(e)),m=[],h.push(m),y()}else throw new j(`Expected & or \\\\ or \\cr or \\end`,e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:`array`,mode:e.mode,addJot:i,arraystretch:o,body:h,cols:a,rowGaps:g,hskipBeforeAndAfter:r,hLinesBeforeRow:_,colSeparationType:s,tags:v,leqno:f}}function zv(e){return e.slice(0,1)===`d`?`display`:`text`}var Bv=function(e,t){var n,r,i=e.body.length,a=e.hLinesBeforeRow,o=0,s=Array(i),c=[],l=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),u=1/t.fontMetrics().ptPerEm,d=5*u;e.colSeparationType&&e.colSeparationType===`small`&&(d=.2778*(t.havingStyle(Cm.SCRIPT).sizeMultiplier/t.sizeMultiplier));var f=e.colSeparationType===`CD`?Km({number:3,unit:`ex`},t):12*u,p=3*u,m=e.arraystretch*f,h=.7*m,g=.3*m,_=0;function v(e){for(var t=0;t<e.length;++t)t>0&&(_+=.25),c.push({pos:_,isDashed:e[t]})}for(v(a[0]),n=0;n<e.body.length;++n){var y=e.body[n],b=h,x=g;o<y.length&&(o=y.length);var S={cells:Array(y.length),height:0,depth:0,pos:0};for(r=0;r<y.length;++r){var C=Wg(y[r],t);x<C.depth&&(x=C.depth),b<C.height&&(b=C.height),S.cells[r]=C}var ee=e.rowGaps[n],w=0;ee&&(w=Km(ee,t),w>0&&(w+=g,x<w&&(x=w),w=0)),e.addJot&&n<e.body.length-1&&(x+=p),S.height=b,S.depth=x,_+=b,S.pos=_,_+=x+w,s[n]=S,v(a[n+1])}var T=_/2+t.fontMetrics().axisHeight,te=e.cols||[],E=[],ne,re,ie=[];if(e.tags&&e.tags.some(e=>e))for(n=0;n<i;++n){var ae=s[n],oe=ae.pos-T,se=e.tags[n],ce=void 0;ce=se===!0?U([`eqn-num`],[],t):se===!1?U([],[],t):U([],Rg(se,t,!0),t),ce.depth=ae.depth,ce.height=ae.height,ie.push({type:`elem`,elem:ce,shift:oe})}for(r=0,re=0;r<o||re<te.length;++r,++re){for(var le=te[re],ue=!0;(de=le)?.type===`separator`;){var de;if(ue||(ne=U([`arraycolsep`],[]),ne.style.width=M(t.fontMetrics().doubleRuleSep),E.push(ne)),le.separator===`|`||le.separator===`:`){var fe=le.separator===`|`?`solid`:`dashed`,pe=U([`vertical-separator`],[],t);pe.style.height=M(_),pe.style.borderRightWidth=M(l),pe.style.borderRightStyle=fe,pe.style.margin=`0 `+M(-l/2);var me=_-T;me&&(pe.style.verticalAlign=M(-me)),E.push(pe)}else throw new j(`Invalid separator type: `+le.separator);re++,le=te[re],ue=!1}if(!(r>=o)){var he=void 0;(r>0||e.hskipBeforeAndAfter)&&(he=le?.pregap??d,he!==0&&(ne=U([`arraycolsep`],[]),ne.style.width=M(he),E.push(ne)));var ge=[];for(n=0;n<i;++n){var _e=s[n],ve=_e.cells[r];if(ve){var ye=_e.pos-T;ve.depth=_e.depth,ve.height=_e.height,ge.push({type:`elem`,elem:ve,shift:ye})}}var be=_g({positionType:`individualShift`,children:ge}),xe=U([`col-align-`+(le?.align||`c`)],[be]);E.push(xe),(r<o-1||e.hskipBeforeAndAfter)&&(he=le?.postgap??d,he!==0&&(ne=U([`arraycolsep`],[]),ne.style.width=M(he),E.push(ne)))}}var Se=U([`mtable`],E);if(c.length>0){for(var Ce=fg(`hline`,t,l),we=fg(`hdashline`,t,l),Te=[{type:`elem`,elem:Se,shift:0}];c.length>0;){var Ee=c.pop(),De=Ee.pos-T;Ee.isDashed?Te.push({type:`elem`,elem:we,shift:De}):Te.push({type:`elem`,elem:Ce,shift:De})}Se=_g({positionType:`individualShift`,children:Te})}if(ie.length===0)return U([`mord`],[Se],t);var Oe=U([`tag`],[_g({positionType:`individualShift`,children:ie})],t);return mg([Se,Oe])},Vv={c:`center `,l:`left `,r:`right `},Hv=function(e,t){for(var n=[],r=new G(`mtd`,[],[`mtr-glue`]),i=new G(`mtd`,[],[`mml-eqn-num`]),a=0;a<e.body.length;a++){for(var o=e.body[a],s=[],c=0;c<o.length;c++)s.push(new G(`mtd`,[a_(o[c],t)]));e.tags&&e.tags[a]&&(s.unshift(r),s.push(r),e.leqno?s.unshift(i):s.push(i)),n.push(new G(`mtr`,s))}var l=new G(`mtable`,n),u=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);l.setAttribute(`rowspacing`,M(u));var d=``,f=``;if(e.cols&&e.cols.length>0){var p=e.cols,m=``,h=!1,g=0,_=p.length;p[0].type===`separator`&&(d+=`top `,g=1),p[p.length-1].type===`separator`&&(d+=`bottom `,--_);for(var v=g;v<_;v++){var y=p[v];y.type===`align`?(f+=Vv[y.align],h&&(m+=`none `),h=!0):y.type===`separator`&&(h&&=(m+=y.separator===`|`?`solid `:`dashed `,!1))}l.setAttribute(`columnalign`,f.trim()),/[sd]/.test(m)&&l.setAttribute(`columnlines`,m.trim())}if(e.colSeparationType===`align`){for(var b=e.cols||[],x=``,S=1;S<b.length;S++)x+=S%2?`0em `:`1em `;l.setAttribute(`columnspacing`,x.trim())}else e.colSeparationType===`alignat`||e.colSeparationType===`gather`?l.setAttribute(`columnspacing`,`0em`):e.colSeparationType===`small`?l.setAttribute(`columnspacing`,`0.2778em`):e.colSeparationType===`CD`?l.setAttribute(`columnspacing`,`0.5em`):l.setAttribute(`columnspacing`,`1em`);var C=``,ee=e.hLinesBeforeRow;d+=ee[0].length>0?`left `:``,d+=ee[ee.length-1].length>0?`right `:``;for(var w=1;w<ee.length-1;w++)C+=ee[w].length===0?`none `:ee[w][0]?`dashed `:`solid `;return/[sd]/.test(C)&&l.setAttribute(`rowlines`,C.trim()),d!==``&&(l=new G(`menclose`,[l]),l.setAttribute(`notation`,d.trim())),e.arraystretch&&e.arraystretch<1&&(l=new G(`mstyle`,[l]),l.setAttribute(`scriptlevel`,`1`)),l},Uv=function(e,t){e.envName.includes(`ed`)||Fv(e);var n=[],r=e.envName.includes(`at`)?`alignat`:`align`,i=e.envName===`split`,a=Rv(e.parser,{cols:n,addJot:!0,autoTag:i?void 0:Lv(e.envName),emptySingleRow:!0,colSeparationType:r,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},`display`),o=0,s=0,c={type:`ordgroup`,mode:e.mode,body:[]};if(t[0]&&t[0].type===`ordgroup`){for(var l=``,u=0;u<t[0].body.length;u++){var d=w_(t[0].body[u],`textord`);l+=d.text}o=Number(l),s=o*2}var f=!s;a.body.forEach(function(e){for(var t=1;t<e.length;t+=2)w_(w_(e[t],`styling`).body[0],`ordgroup`).body.unshift(c);if(f)s<e.length&&(s=e.length);else{var n=e.length/2;if(o<n)throw new j(`Too many math in a row: `+(`expected `+o+`, but got `+n),e[0])}});for(var p=0;p<s;++p){var m=`r`,h=0;p%2==1?m=`l`:p>0&&f&&(h=1),n[p]={type:`align`,align:m,pregap:h,postgap:0}}return a.colSeparationType=f?`align`:`alignat`,a};Av({type:`array`,names:[`array`,`darray`],props:{numArgs:1},handler(e,t){var n=(E_(t[0])?[t[0]]:w_(t[0],`ordgroup`).body).map(function(e){var t=T_(e).text;if(`lcr`.includes(t))return{type:`align`,align:t};if(t===`|`)return{type:`separator`,separator:`|`};if(t===`:`)return{type:`separator`,separator:`:`};throw new j(`Unknown column alignment: `+t,e)}),r={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Rv(e.parser,r,zv(e.envName))},htmlBuilder:Bv,mathmlBuilder:Hv}),Av({type:`array`,names:[`matrix`,`pmatrix`,`bmatrix`,`Bmatrix`,`vmatrix`,`Vmatrix`,`matrix*`,`pmatrix*`,`bmatrix*`,`Bmatrix*`,`vmatrix*`,`Vmatrix*`],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:[`(`,`)`],bmatrix:[`[`,`]`],Bmatrix:[`\\{`,`\\}`],vmatrix:[`|`,`|`],Vmatrix:[`\\Vert`,`\\Vert`]}[e.envName.replace(`*`,``)],n=`c`,r={hskipBeforeAndAfter:!1,cols:[{type:`align`,align:n}]};if(e.envName.charAt(e.envName.length-1)===`*`){var i=e.parser;if(i.consumeSpaces(),i.fetch().text===`[`){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,!`lcr`.includes(n))throw new j(`Expected l or c or r`,i.nextToken);i.consume(),i.consumeSpaces(),i.expect(`]`),i.consume(),r.cols=[{type:`align`,align:n}]}}var a=Rv(e.parser,r,zv(e.envName)),o=Math.max(0,...a.body.map(e=>e.length));return a.cols=Array(o).fill({type:`align`,align:n}),t?{type:`leftright`,mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Bv,mathmlBuilder:Hv}),Av({type:`array`,names:[`smallmatrix`],props:{numArgs:0},handler(e){var t=Rv(e.parser,{arraystretch:.5},`script`);return t.colSeparationType=`small`,t},htmlBuilder:Bv,mathmlBuilder:Hv}),Av({type:`array`,names:[`subarray`],props:{numArgs:1},handler(e,t){var n=(E_(t[0])?[t[0]]:w_(t[0],`ordgroup`).body).map(function(e){var t=T_(e).text;if(`lc`.includes(t))return{type:`align`,align:t};throw new j(`Unknown column alignment: `+t,e)});if(n.length>1)throw new j(`{subarray} can contain only one column`);var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5},i=Rv(e.parser,r,`script`);if(i.body.length>0&&i.body[0].length>1)throw new j(`{subarray} can contain only one column`);return i},htmlBuilder:Bv,mathmlBuilder:Hv}),Av({type:`array`,names:[`cases`,`dcases`,`rcases`,`drcases`],props:{numArgs:0},handler(e){var t=Rv(e.parser,{arraystretch:1.2,cols:[{type:`align`,align:`l`,pregap:0,postgap:1},{type:`align`,align:`l`,pregap:0,postgap:0}]},zv(e.envName));return{type:`leftright`,mode:e.mode,body:[t],left:e.envName.includes(`r`)?`.`:`\\{`,right:e.envName.includes(`r`)?`\\}`:`.`,rightColor:void 0}},htmlBuilder:Bv,mathmlBuilder:Hv}),Av({type:`array`,names:[`align`,`align*`,`aligned`,`split`],props:{numArgs:0},handler:Uv,htmlBuilder:Bv,mathmlBuilder:Hv}),Av({type:`array`,names:[`gathered`,`gather`,`gather*`],props:{numArgs:0},handler(e){Iv.has(e.envName)&&Fv(e);var t={cols:[{type:`align`,align:`c`}],addJot:!0,colSeparationType:`gather`,autoTag:Lv(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Rv(e.parser,t,`display`)},htmlBuilder:Bv,mathmlBuilder:Hv}),Av({type:`array`,names:[`alignat`,`alignat*`,`alignedat`],props:{numArgs:1},handler:Uv,htmlBuilder:Bv,mathmlBuilder:Hv}),Av({type:`array`,names:[`equation`,`equation*`],props:{numArgs:0},handler(e){Fv(e);var t={autoTag:Lv(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Rv(e.parser,t,`display`)},htmlBuilder:Bv,mathmlBuilder:Hv}),Av({type:`array`,names:[`CD`],props:{numArgs:0},handler(e){return Fv(e),B_(e.parser)},htmlBuilder:Bv,mathmlBuilder:Hv}),K(`\\nonumber`,`\\gdef\\@eqnsw{0}`),K(`\\notag`,`\\nonumber`),W({type:`text`,names:[`\\hline`,`\\hdashline`],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new j(e.funcName+` valid only within array environment`)}});var Wv=kv;W({type:`environment`,names:[`\\begin`,`\\end`],props:{numArgs:1,argTypes:[`text`]},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];if(i.type!==`ordgroup`)throw new j(`Invalid environment name`,i);for(var a=``,o=0;o<i.body.length;++o)a+=w_(i.body[o],`textord`).text;if(r===`\\begin`){if(!Wv.hasOwnProperty(a))throw new j(`No such environment: `+a,i);var s=Wv[a],{args:c,optArgs:l}=n.parseArguments(`\\begin{`+a+`}`,s),u={mode:n.mode,envName:a,parser:n},d=s.handler(u,c,l);n.expect(`\\end`,!1);var f=n.nextToken,p=w_(n.parseFunction(),`environment`);if(p.name!==a)throw new j(`Mismatch: \\begin{`+a+`} matched by \\end{`+p.name+`}`,f);return d}return{type:`environment`,mode:n.mode,name:a,nameGroup:i}}});var Gv=(e,t)=>{var n=e.font,r=t.withFont(n);return Wg(e.body,r)},Kv=(e,t)=>{var n=e.font,r=t.withFont(n);return a_(e.body,r)},qv={"\\Bbb":`\\mathbb`,"\\bold":`\\mathbf`,"\\frak":`\\mathfrak`};W({type:`font`,names:[`\\mathrm`,`\\mathit`,`\\mathbf`,`\\mathnormal`,`\\mathsfit`,`\\mathbb`,`\\mathcal`,`\\mathfrak`,`\\mathscr`,`\\mathsf`,`\\mathtt`,`\\Bbb`,`\\bold`,`\\frak`],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=Mg(t[0]),a=r;return a in qv&&(a=qv[a]),{type:`font`,mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:Gv,mathmlBuilder:Kv}),W({type:`mclass`,names:[`\\boldsymbol`,`\\bm`],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`mclass`,mode:n.mode,mclass:P_(r),body:[{type:`font`,mode:n.mode,font:`boldsymbol`,body:r}],isCharacterBox:em(r)}}}),W({type:`font`,names:[`\\rm`,`\\sf`,`\\tt`,`\\bf`,`\\it`,`\\cal`],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:i}=e,{mode:a}=n,o=n.parseExpression(!0,i);return{type:`font`,mode:a,font:`math`+r.slice(1),body:{type:`ordgroup`,mode:n.mode,body:o}}},htmlBuilder:Gv,mathmlBuilder:Kv});var Jv=(e,t)=>{var n=t.style,r=n.fracNum(),i=n.fracDen(),a=t.havingStyle(r),o=Wg(e.numer,a,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;o.height=o.height<s?s:o.height,o.depth=o.depth<c?c:o.depth}a=t.havingStyle(i);var l=Wg(e.denom,a,t),u,d,f;e.hasBarLine?(e.barSize?(d=Km(e.barSize,t),u=fg(`frac-line`,t,d)):u=fg(`frac-line`,t),d=u.height,f=u.height):(u=null,d=0,f=t.fontMetrics().defaultRuleThickness);var p,m,h;n.size===Cm.DISPLAY.size?(p=t.fontMetrics().num1,m=d>0?3*f:7*f,h=t.fontMetrics().denom1):(d>0?(p=t.fontMetrics().num2,m=f):(p=t.fontMetrics().num3,m=3*f),h=t.fontMetrics().denom2);var g;if(u){var _=t.fontMetrics().axisHeight;p-o.depth-(_+.5*d)<m&&(p+=m-(p-o.depth-(_+.5*d))),_-.5*d-(l.height-h)<m&&(h+=m-(_-.5*d-(l.height-h)));var v=-(_-.5*d);g=_g({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:h},{type:`elem`,elem:u,shift:v},{type:`elem`,elem:o,shift:-p}]})}else{var y=p-o.depth-(l.height-h);y<m&&(p+=.5*(m-y),h+=.5*(m-y)),g=_g({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:h},{type:`elem`,elem:o,shift:-p}]})}a=t.havingStyle(n),g.height*=a.sizeMultiplier/t.sizeMultiplier,g.depth*=a.sizeMultiplier/t.sizeMultiplier;var b=n.size===Cm.DISPLAY.size?t.fontMetrics().delim1:n.size===Cm.SCRIPTSCRIPT.size?t.havingStyle(Cm.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,x=e.leftDelim==null?Ug(t,[`mopen`]):bv(e.leftDelim,b,!0,t.havingStyle(n),e.mode,[`mopen`]),S=e.continued?U([]):e.rightDelim==null?Ug(t,[`mclose`]):bv(e.rightDelim,b,!0,t.havingStyle(n),e.mode,[`mclose`]);return U([`mord`].concat(a.sizingClasses(t)),[x,U([`mfrac`],[g]),S],t)},Yv=(e,t)=>{var n=new G(`mfrac`,[a_(e.numer,t),a_(e.denom,t)]);if(!e.hasBarLine)n.setAttribute(`linethickness`,`0px`);else if(e.barSize){var r=Km(e.barSize,t);n.setAttribute(`linethickness`,M(r))}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var a=new G(`mo`,[new Jg(e.leftDelim.replace(`\\`,``))]);a.setAttribute(`fence`,`true`),i.push(a)}if(i.push(n),e.rightDelim!=null){var o=new G(`mo`,[new Jg(e.rightDelim.replace(`\\`,``))]);o.setAttribute(`fence`,`true`),i.push(o)}return $g(i)}return n},Xv=(e,t)=>t?{type:`styling`,mode:e.mode,style:t,body:[e]}:e;W({type:`genfrac`,names:[`\\cfrac`,`\\dfrac`,`\\frac`,`\\tfrac`,`\\dbinom`,`\\binom`,`\\tbinom`,`\\\\atopfrac`,`\\\\bracefrac`,`\\\\brackfrac`],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1],o,s=null,c=null;switch(r){case`\\cfrac`:case`\\dfrac`:case`\\frac`:case`\\tfrac`:o=!0;break;case`\\\\atopfrac`:o=!1;break;case`\\dbinom`:case`\\binom`:case`\\tbinom`:o=!1,s=`(`,c=`)`;break;case`\\\\bracefrac`:o=!1,s=`\\{`,c=`\\}`;break;case`\\\\brackfrac`:o=!1,s=`[`,c=`]`;break;default:throw Error(`Unrecognized genfrac command`)}var l=r===`\\cfrac`,u=null;return l||r.startsWith(`\\d`)?u=`display`:r.startsWith(`\\t`)&&(u=`text`),Xv({type:`genfrac`,mode:n.mode,numer:i,denom:a,continued:l,hasBarLine:o,leftDelim:s,rightDelim:c,barSize:null},u)},htmlBuilder:Jv,mathmlBuilder:Yv}),W({type:`infix`,names:[`\\over`,`\\choose`,`\\atop`,`\\brace`,`\\brack`],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,i;switch(n){case`\\over`:i=`\\frac`;break;case`\\choose`:i=`\\binom`;break;case`\\atop`:i=`\\\\atopfrac`;break;case`\\brace`:i=`\\\\bracefrac`;break;case`\\brack`:i=`\\\\brackfrac`;break;default:throw Error(`Unrecognized infix genfrac command`)}return{type:`infix`,mode:t.mode,replaceWith:i,token:r}}});var Zv=[`display`,`text`,`script`,`scriptscript`],Qv=function(e){var t=null;return e.length>0&&(t=e,t=t===`.`?null:t),t};W({type:`genfrac`,names:[`\\genfrac`],props:{numArgs:6,allowedInArgument:!0,argTypes:[`math`,`math`,`size`,`text`,`math`,`math`]},handler(e,t){var{parser:n}=e,r=t[4],i=t[5],a=Mg(t[0]),o=a.type===`atom`&&a.family===`open`?Qv(a.text):null,s=Mg(t[1]),c=s.type===`atom`&&s.family===`close`?Qv(s.text):null,l=w_(t[2],`size`),u,d=null;l.isBlank?u=!0:(d=l.value,u=d.number>0);var f=null,p=t[3];if(p.type===`ordgroup`){if(p.body.length>0){var m=w_(p.body[0],`textord`);f=Zv[Number(m.text)]}}else p=w_(p,`textord`),f=Zv[Number(p.text)];return Xv({type:`genfrac`,mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:d,leftDelim:o,rightDelim:c},f)}}),W({type:`infix`,names:[`\\above`],props:{numArgs:1,argTypes:[`size`],infix:!0},handler(e,t){var{parser:n,funcName:r,token:i}=e;return{type:`infix`,mode:n.mode,replaceWith:`\\\\abovefrac`,size:w_(t[0],`size`).value,token:i}}}),W({type:`genfrac`,names:[`\\\\abovefrac`],props:{numArgs:3,argTypes:[`math`,`size`,`math`]},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=w_(t[1],`infix`).size;if(!a)throw Error(`\\\\abovefrac expected size, but got `+String(a));var o=t[2],s=a.number>0;return{type:`genfrac`,mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null}}});var $v=(e,t)=>{var n=t.style,r,i;e.type===`supsub`?(r=e.sup?Wg(e.sup,t.havingStyle(n.sup()),t):Wg(e.sub,t.havingStyle(n.sub()),t),i=w_(e.base,`horizBrace`)):i=w_(e,`horizBrace`);var a=Wg(i.base,t.havingBaseStyle(Cm.DISPLAY)),o=y_(i,t),s=i.isOver?_g({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:.1},{type:`elem`,elem:o,wrapperClasses:[`svg-align`]}]}):_g({positionType:`bottom`,positionData:a.depth+.1+o.height,children:[{type:`elem`,elem:o,wrapperClasses:[`svg-align`]},{type:`kern`,size:.1},{type:`elem`,elem:a}]});if(r){var c=U([`minner`,i.isOver?`mover`:`munder`],[s],t);s=i.isOver?_g({positionType:`firstBaseline`,children:[{type:`elem`,elem:c},{type:`kern`,size:.2},{type:`elem`,elem:r}]}):_g({positionType:`bottom`,positionData:c.depth+.2+r.height+r.depth,children:[{type:`elem`,elem:r},{type:`kern`,size:.2},{type:`elem`,elem:c}]})}return U([`minner`,i.isOver?`mover`:`munder`],[s],t)};W({type:`horizBrace`,names:[`\\overbrace`,`\\underbrace`,`\\overbracket`,`\\underbracket`],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:`horizBrace`,mode:n.mode,label:r,isOver:r.includes(`\\over`),base:t[0]}},htmlBuilder:$v,mathmlBuilder:(e,t)=>{var n=g_(e.label);return new G(e.isOver?`mover`:`munder`,[a_(e.base,t),n])}}),W({type:`href`,names:[`\\href`],props:{numArgs:2,argTypes:[`url`,`original`],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],i=w_(t[0],`url`).url;return n.settings.isTrusted({command:`\\href`,url:i})?{type:`href`,mode:n.mode,href:i,body:Ng(r)}:n.formatUnsupportedCmd(`\\href`)},htmlBuilder:(e,t)=>{var n=Rg(e.body,t,!1);return pg(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=i_(e.body,t);return n instanceof G||(n=new G(`mrow`,[n])),n.setAttribute(`href`,e.href),n}}),W({type:`href`,names:[`\\url`],props:{numArgs:1,argTypes:[`url`],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=w_(t[0],`url`).url;if(!n.settings.isTrusted({command:`\\url`,url:r}))return n.formatUnsupportedCmd(`\\url`);for(var i=[],a=0;a<r.length;a++){var o=r[a];o===`~`&&(o=`\\textasciitilde`),i.push({type:`textord`,mode:`text`,text:o})}var s={type:`text`,mode:n.mode,font:`\\texttt`,body:i};return{type:`href`,mode:n.mode,href:r,body:Ng(s)}}}),W({type:`hbox`,names:[`\\hbox`],props:{numArgs:1,argTypes:[`text`],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:`hbox`,mode:n.mode,body:Ng(t[0])}},htmlBuilder(e,t){return mg(Rg(e.body,t.withFont(``),!1))},mathmlBuilder(e,t){return new G(`mrow`,r_(e.body,t.withFont(``)))}}),W({type:`html`,names:[`\\htmlClass`,`\\htmlId`,`\\htmlStyle`,`\\htmlData`],props:{numArgs:2,argTypes:[`raw`,`original`],allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,token:i}=e,a=w_(t[0],`raw`).string,o=t[1];n.settings.strict&&n.settings.reportNonstrict(`htmlExtension`,`HTML extension is disabled on strict mode`);var s,c={};switch(r){case`\\htmlClass`:c.class=a,s={command:`\\htmlClass`,class:a};break;case`\\htmlId`:c.id=a,s={command:`\\htmlId`,id:a};break;case`\\htmlStyle`:c.style=a,s={command:`\\htmlStyle`,style:a};break;case`\\htmlData`:for(var l=a.split(`,`),u=0;u<l.length;u++){var d=l[u],f=d.indexOf(`=`);if(f<0)throw new j(`\\htmlData key/value '`+d+`' missing equals sign`);var p=d.slice(0,f),m=d.slice(f+1);c[`data-`+p.trim()]=m}s={command:`\\htmlData`,attributes:c};break;default:throw Error(`Unrecognized html command`)}return n.settings.isTrusted(s)?{type:`html`,mode:n.mode,attributes:c,body:Ng(o)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=Rg(e.body,t,!1),r=[`enclosing`];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=U(r,n,t);for(var a in e.attributes)a!==`class`&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>i_(e.body,t)}),W({type:`htmlmathml`,names:[`\\html@mathml`],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:`htmlmathml`,mode:n.mode,html:Ng(t[0]),mathml:Ng(t[1])}},htmlBuilder:(e,t)=>mg(Rg(e.html,t,!1)),mathmlBuilder:(e,t)=>i_(e.mathml,t)});var ey=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:`bp`};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new j(`Invalid size: '`+e+`' in \\includegraphics`);var n={number:+(t[1]+t[2]),unit:t[3]};if(!Gm(n))throw new j(`Invalid unit: '`+n.unit+`' in \\includegraphics.`);return n};W({type:`includegraphics`,names:[`\\includegraphics`],props:{numArgs:1,numOptionalArgs:1,argTypes:[`raw`,`url`],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,i={number:0,unit:`em`},a={number:.9,unit:`em`},o={number:0,unit:`em`},s=``;if(n[0])for(var c=w_(n[0],`raw`).string.split(`,`),l=0;l<c.length;l++){var u=c[l].split(`=`);if(u.length===2){var d=u[1].trim();switch(u[0].trim()){case`alt`:s=d;break;case`width`:i=ey(d);break;case`height`:a=ey(d);break;case`totalheight`:o=ey(d);break;default:throw new j(`Invalid key: '`+u[0]+`' in \\includegraphics.`)}}}var f=w_(t[0],`url`).url;return s===``&&(s=f,s=s.replace(/^.*[\\/]/,``),s=s.substring(0,s.lastIndexOf(`.`))),r.settings.isTrusted({command:`\\includegraphics`,url:f})?{type:`includegraphics`,mode:r.mode,alt:s,width:i,height:a,totalheight:o,src:f}:r.formatUnsupportedCmd(`\\includegraphics`)},htmlBuilder:(e,t)=>{var n=Km(e.height,t),r=0;e.totalheight.number>0&&(r=Km(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=Km(e.width,t));var a={height:M(n+r)};i>0&&(a.width=M(i)),r>0&&(a.verticalAlign=M(-r));var o=new th(e.src,e.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new G(`mglyph`,[]);n.setAttribute(`alt`,e.alt);var r=Km(e.height,t),i=0;if(e.totalheight.number>0&&(i=Km(e.totalheight,t)-r,n.setAttribute(`valign`,M(-i))),n.setAttribute(`height`,M(r+i)),e.width.number>0){var a=Km(e.width,t);n.setAttribute(`width`,M(a))}return n.setAttribute(`src`,e.src),n}}),W({type:`kern`,names:[`\\kern`,`\\mkern`,`\\hskip`,`\\mskip`],props:{numArgs:1,argTypes:[`size`],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=w_(t[0],`size`);if(n.settings.strict){var a=r[1]===`m`,o=i.value.unit===`mu`;a?(o||n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` supports only mu units, `+(`not `+i.value.unit+` units`)),n.mode!==`math`&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` works only in math mode`)):o&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` doesn't support mu units`)}return{type:`kern`,mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return vg(e.dimension,t)},mathmlBuilder(e,t){return new Yg(Km(e.dimension,t))}}),W({type:`lap`,names:[`\\mathllap`,`\\mathrlap`,`\\mathclap`],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`lap`,mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment===`clap`?(n=U([],[Wg(e.body,t)]),n=U([`inner`],[n],t)):n=U([`inner`],[Wg(e.body,t)]);var r=U([`fix`],[]),i=U([e.alignment],[n,r],t),a=U([`strut`]);return a.style.height=M(i.height+i.depth),i.depth&&(a.style.verticalAlign=M(-i.depth)),i.children.unshift(a),i=U([`thinbox`],[i],t),U([`mord`,`vbox`],[i],t)},mathmlBuilder:(e,t)=>{var n=new G(`mpadded`,[a_(e.body,t)]);if(e.alignment!==`rlap`){var r=e.alignment===`llap`?`-1`:`-0.5`;n.setAttribute(`lspace`,r+`width`)}return n.setAttribute(`width`,`0px`),n}}),W({type:`styling`,names:[`\\(`,`$`],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,i=r.mode;r.switchMode(`math`);var a=n===`\\(`?`\\)`:`$`,o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:`styling`,mode:r.mode,style:`text`,resetFont:!0,body:o}}}),W({type:`text`,names:[`\\)`,`\\]`],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new j(`Mismatched `+e.funcName)}});var ty=(e,t)=>{switch(t.style.size){case Cm.DISPLAY.size:return e.display;case Cm.TEXT.size:return e.text;case Cm.SCRIPT.size:return e.script;case Cm.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};W({type:`mathchoice`,names:[`\\mathchoice`],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:`mathchoice`,mode:n.mode,display:Ng(t[0]),text:Ng(t[1]),script:Ng(t[2]),scriptscript:Ng(t[3])}},htmlBuilder:(e,t)=>mg(Rg(ty(e,t),t,!1)),mathmlBuilder:(e,t)=>i_(ty(e,t),t)});var ny=(e,t,n,r,i,a,o)=>{e=U([],[e]);var s=n&&em(n),c,l;if(t){var u=Wg(t,r.havingStyle(i.sup()),r);l={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var d=Wg(n,r.havingStyle(i.sub()),r);c={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-d.height)}}var f;if(l&&c)f=_g({positionType:`bottom`,positionData:r.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+e.depth+o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:c.elem,marginLeft:M(-a)},{type:`kern`,size:c.kern},{type:`elem`,elem:e},{type:`kern`,size:l.kern},{type:`elem`,elem:l.elem,marginLeft:M(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else if(c)f=_g({positionType:`top`,positionData:e.height-o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:c.elem,marginLeft:M(-a)},{type:`kern`,size:c.kern},{type:`elem`,elem:e}]});else if(l)f=_g({positionType:`bottom`,positionData:e.depth+o,children:[{type:`elem`,elem:e},{type:`kern`,size:l.kern},{type:`elem`,elem:l.elem,marginLeft:M(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else return e;var p=[f];if(c&&a!==0&&!s){var m=U([`mspace`],[],r);m.style.marginRight=M(a),p.unshift(m)}return U([`mop`,`op-limits`],p,r)},ry=new Set([`\\smallint`]),iy=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=w_(e.base,`op`),i=!0):a=w_(e,`op`);var o=t.style,s=!1;o.size===Cm.DISPLAY.size&&a.symbol&&!ry.has(a.name)&&(s=!0);var c,l;if(a.symbol){var u=s?`Size2-Regular`:`Size1-Regular`,d=``;if((a.name===`\\oiint`||a.name===`\\oiiint`)&&(d=a.name.slice(1),a.name=d===`oiint`?`\\iint`:`\\iiint`),c=ig(a.name,u,`math`,t,[`mop`,`op-symbol`,s?`large-op`:`small-op`]),l=c.italic,d.length>0){var f=Sg(d+`Size`+(s?`2`:`1`),t);c=_g({positionType:`individualShift`,children:[{type:`elem`,elem:c,shift:0},{type:`elem`,elem:f,shift:s?.08:0}]}),a.name=`\\`+d,c.classes.unshift(`mop`),c.italic=l}}else if(a.body){var p=Rg(a.body,t,!0);p.length===1&&p[0]instanceof rh?(c=p[0],c.classes[0]=`mop`):c=U([`mop`],p,t)}else{for(var m=[],h=1;h<a.name.length;h++)m.push(ag(a.name[h],a.mode,t));c=U([`mop`],m,t)}var g=0,_=0;return(c instanceof rh||a.name===`\\oiint`||a.name===`\\oiiint`)&&!a.suppressBaseShift&&(g=(c.height-c.depth)/2-t.fontMetrics().axisHeight,_=c.italic??0),i?ny(c,n,r,t,o,_,g):(g&&(c.style.position=`relative`,c.style.top=M(g)),c)},ay=(e,t)=>{var n;if(e.symbol)n=new G(`mo`,[Qg(e.name,e.mode)]),ry.has(e.name)&&n.setAttribute(`largeop`,`false`);else if(e.body)n=new G(`mo`,r_(e.body,t));else{n=new G(`mi`,[new Jg(e.name.slice(1))]);var r=new G(`mo`,[Qg(``,`text`)]);n=e.parentIsSupSub?new G(`mrow`,[n,r]):qg([n,r])}return n},oy={"∏":`\\prod`,"∐":`\\coprod`,"∑":`\\sum`,"⋀":`\\bigwedge`,"⋁":`\\bigvee`,"⋂":`\\bigcap`,"⋃":`\\bigcup`,"⨀":`\\bigodot`,"⨁":`\\bigoplus`,"⨂":`\\bigotimes`,"⨄":`\\biguplus`,"⨆":`\\bigsqcup`};W({type:`op`,names:`\\coprod.\\bigvee.\\bigwedge.\\biguplus.\\bigcap.\\bigcup.\\intop.\\prod.\\sum.\\bigotimes.\\bigoplus.\\bigodot.\\bigsqcup.\\smallint.∏.∐.∑.⋀.⋁.⋂.⋃.⨀.⨁.⨂.⨄.⨆`.split(`.`),props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=r;return i.length===1&&(i=oy[i]),{type:`op`,mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:iy,mathmlBuilder:ay}),W({type:`op`,names:[`\\mathop`],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`op`,mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ng(r)}},htmlBuilder:iy,mathmlBuilder:ay});var sy={"∫":`\\int`,"∬":`\\iint`,"∭":`\\iiint`,"∮":`\\oint`,"∯":`\\oiint`,"∰":`\\oiiint`};W({type:`op`,names:`\\arcsin.\\arccos.\\arctan.\\arctg.\\arcctg.\\arg.\\ch.\\cos.\\cosec.\\cosh.\\cot.\\cotg.\\coth.\\csc.\\ctg.\\cth.\\deg.\\dim.\\exp.\\hom.\\ker.\\lg.\\ln.\\log.\\sec.\\sin.\\sinh.\\sh.\\tan.\\tanh.\\tg.\\th`.split(`.`),props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:iy,mathmlBuilder:ay}),W({type:`op`,names:[`\\det`,`\\gcd`,`\\inf`,`\\lim`,`\\max`,`\\min`,`\\Pr`,`\\sup`],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:`op`,mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:iy,mathmlBuilder:ay}),W({type:`op`,names:[`\\int`,`\\iint`,`\\iiint`,`\\oint`,`\\oiint`,`\\oiiint`,`∫`,`∬`,`∭`,`∮`,`∯`,`∰`],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=sy[r]),{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:iy,mathmlBuilder:ay});var cy=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=w_(e.base,`operatorname`),i=!0):a=w_(e,`operatorname`);var o;if(a.body.length>0){for(var s=Rg(a.body.map(e=>{var t=`text`in e?e.text:void 0;return typeof t==`string`?{type:`textord`,mode:e.mode,text:t}:e}),t.withFont(`mathrm`),!0),c=0;c<s.length;c++){var l=s[c];l instanceof rh&&(l.text=l.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`))}o=U([`mop`],s,t)}else o=U([`mop`],[],t);return i?ny(o,n,r,t,t.style,0,0):o};W({type:`operatorname`,names:[`\\operatorname@`,`\\operatornamewithlimits`],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`operatorname`,mode:n.mode,body:Ng(i),alwaysHandleSupSub:r===`\\operatornamewithlimits`,limits:!1,parentIsSupSub:!1}},htmlBuilder:cy,mathmlBuilder:(e,t)=>{for(var n=r_(e.body,t.withFont(`mathrm`)),r=!0,i=0;i<n.length;i++){var a=n[i];if(!(a instanceof Yg))if(a instanceof G)switch(a.type){case`mi`:case`mn`:case`mspace`:case`mtext`:break;case`mo`:var o=a.children[0];a.children.length===1&&o instanceof Jg?o.text=o.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`):r=!1;break;default:r=!1}else r=!1}r&&(n=[new Jg(n.map(e=>e.toText()).join(``))]);var s=new G(`mi`,n);s.setAttribute(`mathvariant`,`normal`);var c=new G(`mo`,[Qg(``,`text`)]);return e.parentIsSupSub?new G(`mrow`,[s,c]):qg([s,c])}}),K(`\\operatorname`,`\\@ifstar\\operatornamewithlimits\\operatorname@`),jg({type:`ordgroup`,htmlBuilder(e,t){return e.semisimple?mg(Rg(e.body,t,!1)):U([`mord`],Rg(e.body,t,!0),t)},mathmlBuilder(e,t){return i_(e.body,t,!0)}}),W({type:`overline`,names:[`\\overline`],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:`overline`,mode:n.mode,body:r}},htmlBuilder(e,t){var n=Wg(e.body,t.havingCrampedStyle()),r=fg(`overline-line`,t),i=t.fontMetrics().defaultRuleThickness;return U([`mord`,`overline`],[_g({positionType:`firstBaseline`,children:[{type:`elem`,elem:n},{type:`kern`,size:3*i},{type:`elem`,elem:r},{type:`kern`,size:i}]})],t)},mathmlBuilder(e,t){var n=new G(`mo`,[new Jg(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new G(`mover`,[a_(e.body,t),n]);return r.setAttribute(`accent`,`true`),r}}),W({type:`phantom`,names:[`\\phantom`],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`phantom`,mode:n.mode,body:Ng(r)}},htmlBuilder:(e,t)=>mg(Rg(e.body,t.withPhantom(),!1)),mathmlBuilder:(e,t)=>new G(`mphantom`,r_(e.body,t))}),K(`\\hphantom`,`\\smash{\\phantom{#1}}`),W({type:`vphantom`,names:[`\\vphantom`],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`vphantom`,mode:n.mode,body:r}},htmlBuilder:(e,t)=>U([`mord`,`rlap`],[U([`inner`],[Wg(e.body,t.withPhantom())]),U([`fix`],[])],t),mathmlBuilder:(e,t)=>{var n=new G(`mpadded`,[new G(`mphantom`,r_(Ng(e.body),t))]);return n.setAttribute(`width`,`0px`),n}}),W({type:`raisebox`,names:[`\\raisebox`],props:{numArgs:2,argTypes:[`size`,`hbox`],allowedInText:!0},handler(e,t){var{parser:n}=e,r=w_(t[0],`size`).value,i=t[1];return{type:`raisebox`,mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=Wg(e.body,t);return _g({positionType:`shift`,positionData:-Km(e.dy,t),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){var n=new G(`mpadded`,[a_(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute(`voffset`,r),n}}),W({type:`internal`,names:[`\\relax`],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:`internal`,mode:t.mode}}}),W({type:`rule`,names:[`\\rule`],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`size`,`size`,`size`]},handler(e,t,n){var{parser:r}=e,i=n[0],a=w_(t[0],`size`),o=w_(t[1],`size`);return{type:`rule`,mode:r.mode,shift:i&&w_(i,`size`).value,width:a.value,height:o.value}},htmlBuilder(e,t){var n=U([`mord`,`rule`],[],t),r=Km(e.width,t),i=Km(e.height,t),a=e.shift?Km(e.shift,t):0;return n.style.borderRightWidth=M(r),n.style.borderTopWidth=M(i),n.style.bottom=M(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=Km(e.width,t),r=Km(e.height,t),i=e.shift?Km(e.shift,t):0,a=t.color&&t.getColor()||`black`,o=new G(`mspace`);o.setAttribute(`mathbackground`,a),o.setAttribute(`width`,M(n)),o.setAttribute(`height`,M(r));var s=new G(`mpadded`,[o]);return i>=0?s.setAttribute(`height`,M(i)):(s.setAttribute(`height`,M(i)),s.setAttribute(`depth`,M(-i))),s.setAttribute(`voffset`,M(i)),s}});function ly(e,t,n){for(var r=Rg(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var o=r[a].classes.indexOf(`sizing`);o<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[o+1]===`reset-size`+t.size&&(r[a].classes[o+1]=`reset-size`+n.size),r[a].height*=i,r[a].depth*=i}return mg(r)}var uy=[`\\tiny`,`\\sixptsize`,`\\scriptsize`,`\\footnotesize`,`\\small`,`\\normalsize`,`\\large`,`\\Large`,`\\LARGE`,`\\huge`,`\\Huge`];W({type:`sizing`,names:uy,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!1,n);return{type:`sizing`,mode:i.mode,size:uy.indexOf(r)+1,body:a}},htmlBuilder:(e,t)=>{var n=t.havingSize(e.size);return ly(e.body,n,t)},mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=new G(`mstyle`,r_(e.body,n));return r.setAttribute(`mathsize`,M(n.sizeMultiplier)),r}}),W({type:`smash`,names:[`\\smash`],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,i=!1,a=!1,o=n[0]&&w_(n[0],`ordgroup`);if(o)for(var s,c=0;c<o.body.length;++c){var l=o.body[c];if(s=T_(l).text,s===`t`)i=!0;else if(s===`b`)a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var u=t[0];return{type:`smash`,mode:r.mode,body:u,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var n=U([],[Wg(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0),e.smashDepth&&(n.depth=0),e.smashHeight&&e.smashDepth)return U([`mord`,`smash`],[n],t);if(n.children)for(var r=0;r<n.children.length;r++)e.smashHeight&&(n.children[r].height=0),e.smashDepth&&(n.children[r].depth=0);return U([`mord`],[_g({positionType:`firstBaseline`,children:[{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=new G(`mpadded`,[a_(e.body,t)]);return e.smashHeight&&n.setAttribute(`height`,`0px`),e.smashDepth&&n.setAttribute(`depth`,`0px`),n}}),W({type:`sqrt`,names:[`\\sqrt`],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,i=n[0],a=t[0];return{type:`sqrt`,mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=Wg(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=hg(n,t);var r=t.fontMetrics().defaultRuleThickness,i=r;t.style.id<Cm.TEXT.id&&(i=t.fontMetrics().xHeight);var a=r+i/4,{span:o,ruleWidth:s,advanceWidth:c}=lv(n.height+n.depth+a+r,t),l=o.height-s;l>n.height+n.depth+a&&(a=(a+l-n.height-n.depth)/2);var u=o.height-n.height-a-s;n.style.paddingLeft=M(c);var d=_g({positionType:`firstBaseline`,children:[{type:`elem`,elem:n,wrapperClasses:[`svg-align`]},{type:`kern`,size:-(n.height+u)},{type:`elem`,elem:o},{type:`kern`,size:s}]});if(e.index){var f=t.havingStyle(Cm.SCRIPTSCRIPT),p=Wg(e.index,f,t);return U([`mord`,`sqrt`],[U([`root`],[_g({positionType:`shift`,positionData:-(.6*(d.height-d.depth)),children:[{type:`elem`,elem:p}]})]),d],t)}else return U([`mord`,`sqrt`],[d],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new G(`mroot`,[a_(n,t),a_(r,t)]):new G(`msqrt`,[a_(n,t)])}});var dy={display:Cm.DISPLAY,text:Cm.TEXT,script:Cm.SCRIPT,scriptscript:Cm.SCRIPTSCRIPT};function fy(e){return e in dy}W({type:`styling`,names:[`\\displaystyle`,`\\textstyle`,`\\scriptstyle`,`\\scriptscriptstyle`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);if(!fy(o))throw Error(`Unknown style: `+o);return{type:`styling`,mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var n=dy[e.style],r=t.havingStyle(n);return e.resetFont&&(r=r.withFont(``)),ly(e.body,r,t)},mathmlBuilder(e,t){var n=dy[e.style],r=t.havingStyle(n);e.resetFont&&(r=r.withFont(``));var i=new G(`mstyle`,r_(e.body,r)),a={display:[`0`,`true`],text:[`0`,`false`],script:[`1`,`false`],scriptscript:[`2`,`false`]}[e.style];return i.setAttribute(`scriptlevel`,a[0]),i.setAttribute(`displaystyle`,a[1]),i}});var py=function(e,t){var n=e.base;return n?n.type===`op`?n.limits&&(t.style.size===Cm.DISPLAY.size||n.alwaysHandleSupSub)?iy:null:n.type===`operatorname`?n.alwaysHandleSupSub&&(t.style.size===Cm.DISPLAY.size||n.limits)?cy:null:n.type===`accent`?em(n.base)?O_:null:n.type===`horizBrace`&&!e.sub===n.isOver?$v:null:null};jg({type:`supsub`,htmlBuilder(e,t){var n=py(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:a}=e,o=Wg(r,t),s,c,l=t.fontMetrics(),u=0,d=0,f=r&&em(r);if(i){var p=t.havingStyle(t.style.sup());s=Wg(i,p,t),f||(u=o.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(a){var m=t.havingStyle(t.style.sub());c=Wg(a,m,t),f||(d=o.depth+m.fontMetrics().subDrop*m.sizeMultiplier/t.sizeMultiplier)}var h=t.style===Cm.DISPLAY?l.sup1:t.style.cramped?l.sup3:l.sup2,g=t.sizeMultiplier,_=M(.5/l.ptPerEm/g),v=null;if(c){var y=e.base&&e.base.type===`op`&&e.base.name&&(e.base.name===`\\oiint`||e.base.name===`\\oiiint`);(o instanceof rh||y)&&(v=M(-(o.italic??0)))}var b;if(s&&c){u=Math.max(u,h,s.depth+.25*l.xHeight),d=Math.max(d,l.sub2);var x=4*l.defaultRuleThickness;if(u-s.depth-(c.height-d)<x){d=x-(u-s.depth)+c.height;var S=.8*l.xHeight-(u-s.depth);S>0&&(u+=S,d-=S)}b=_g({positionType:`individualShift`,children:[{type:`elem`,elem:c,shift:d,marginRight:_,marginLeft:v},{type:`elem`,elem:s,shift:-u,marginRight:_}]})}else if(c)d=Math.max(d,l.sub1,c.height-.8*l.xHeight),b=_g({positionType:`shift`,positionData:d,children:[{type:`elem`,elem:c,marginLeft:v,marginRight:_}]});else if(s)u=Math.max(u,h,s.depth+.25*l.xHeight),b=_g({positionType:`shift`,positionData:-u,children:[{type:`elem`,elem:s,marginRight:_}]});else throw Error(`supsub must have either sup or sub.`);return U([Hg(o,`right`)||`mord`],[o,U([`msupsub`],[b])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type===`horizBrace`&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type===`op`||e.base.type===`operatorname`)&&(e.base.parentIsSupSub=!0);var a=[a_(e.base,t)];e.sub&&a.push(a_(e.sub,t)),e.sup&&a.push(a_(e.sup,t));var o;if(n)o=r?`mover`:`munder`;else if(!e.sub){var s=e.base;o=s&&s.type===`op`&&s.limits&&(t.style===Cm.DISPLAY||s.alwaysHandleSupSub)||s&&s.type===`operatorname`&&s.alwaysHandleSupSub&&(s.limits||t.style===Cm.DISPLAY)?`mover`:`msup`}else if(e.sup){var c=e.base;o=c&&c.type===`op`&&c.limits&&t.style===Cm.DISPLAY||c&&c.type===`operatorname`&&c.alwaysHandleSupSub&&(t.style===Cm.DISPLAY||c.limits)?`munderover`:`msubsup`}else{var l=e.base;o=l&&l.type===`op`&&l.limits&&(t.style===Cm.DISPLAY||l.alwaysHandleSupSub)||l&&l.type===`operatorname`&&l.alwaysHandleSupSub&&(l.limits||t.style===Cm.DISPLAY)?`munder`:`msub`}return new G(o,a)}}),jg({type:`atom`,htmlBuilder(e,t){return ag(e.text,e.mode,t,[`m`+e.family])},mathmlBuilder(e,t){var n=new G(`mo`,[Qg(e.text,e.mode)]);if(e.family===`bin`){var r=t_(e,t);r===`bold-italic`&&n.setAttribute(`mathvariant`,r)}else e.family===`punct`?n.setAttribute(`separator`,`true`):(e.family===`open`||e.family===`close`)&&n.setAttribute(`stretchy`,`false`);return n}});var my={mi:`italic`,mn:`normal`,mtext:`normal`};jg({type:`mathord`,htmlBuilder(e,t){return sg(e,t,`mathord`)},mathmlBuilder(e,t){var n=new G(`mi`,[Qg(e.text,e.mode,t)]),r=t_(e,t)||`italic`;return r!==my[n.type]&&n.setAttribute(`mathvariant`,r),n}}),jg({type:`textord`,htmlBuilder(e,t){return sg(e,t,`textord`)},mathmlBuilder(e,t){var n=Qg(e.text,e.mode,t),r=t_(e,t)||`normal`,i=e.mode===`text`?new G(`mtext`,[n]):/[0-9]/.test(e.text)?new G(`mn`,[n]):e.text===`\\prime`?new G(`mo`,[n]):new G(`mi`,[n]);return r!==my[i.type]&&i.setAttribute(`mathvariant`,r),i}});var hy={"\\nobreak":`nobreak`,"\\allowbreak":`allowbreak`},gy={" ":{},"\\ ":{},"~":{className:`nobreak`},"\\space":{},"\\nobreakspace":{className:`nobreak`}};jg({type:`spacing`,htmlBuilder(e,t){if(gy.hasOwnProperty(e.text)){var n=gy[e.text].className||``;if(e.mode===`text`){var r=sg(e,t,`textord`);return r.classes.push(n),r}else return U([`mspace`,n],[ag(e.text,e.mode,t)],t)}else if(hy.hasOwnProperty(e.text))return U([`mspace`,hy[e.text]],[],t);else throw new j(`Unknown type of space "`+e.text+`"`)},mathmlBuilder(e,t){var n;if(gy.hasOwnProperty(e.text))n=new G(`mtext`,[new Jg(`\xA0`)]);else if(hy.hasOwnProperty(e.text))return new G(`mspace`);else throw new j(`Unknown type of space "`+e.text+`"`);return n}});var _y=()=>{var e=new G(`mtd`,[]);return e.setAttribute(`width`,`50%`),e};jg({type:`tag`,mathmlBuilder(e,t){var n=new G(`mtable`,[new G(`mtr`,[_y(),new G(`mtd`,[i_(e.body,t)]),_y(),new G(`mtd`,[i_(e.tag,t)])])]);return n.setAttribute(`width`,`100%`),n}});var vy={"\\text":void 0,"\\textrm":`textrm`,"\\textsf":`textsf`,"\\texttt":`texttt`,"\\textnormal":`textrm`},yy={"\\textbf":`textbf`,"\\textmd":`textmd`},by={"\\textit":`textit`,"\\textup":`textup`},xy=(e,t)=>{var n=e.font;return n?vy[n]?t.withTextFontFamily(vy[n]):yy[n]?t.withTextFontWeight(yy[n]):n===`\\emph`?t.fontShape===`textit`?t.withTextFontShape(`textup`):t.withTextFontShape(`textit`):t.withTextFontShape(by[n]):t};W({type:`text`,names:[`\\text`,`\\textrm`,`\\textsf`,`\\texttt`,`\\textnormal`,`\\textbf`,`\\textmd`,`\\textit`,`\\textup`,`\\emph`],props:{numArgs:1,argTypes:[`text`],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`text`,mode:n.mode,body:Ng(i),font:r}},htmlBuilder(e,t){var n=xy(e,t);return U([`mord`,`text`],Rg(e.body,n,!0),n)},mathmlBuilder(e,t){var n=xy(e,t);return i_(e.body,n)}}),W({type:`underline`,names:[`\\underline`],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:`underline`,mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Wg(e.body,t),r=fg(`underline-line`,t),i=t.fontMetrics().defaultRuleThickness;return U([`mord`,`underline`],[_g({positionType:`top`,positionData:n.height,children:[{type:`kern`,size:i},{type:`elem`,elem:r},{type:`kern`,size:3*i},{type:`elem`,elem:n}]})],t)},mathmlBuilder(e,t){var n=new G(`mo`,[new Jg(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new G(`munder`,[a_(e.body,t),n]);return r.setAttribute(`accentunder`,`true`),r}}),W({type:`vcenter`,names:[`\\vcenter`],props:{numArgs:1,argTypes:[`original`],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:`vcenter`,mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Wg(e.body,t),r=t.fontMetrics().axisHeight;return _g({positionType:`shift`,positionData:.5*(n.height-r-(n.depth+r)),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){return new G(`mrow`,[new G(`mpadded`,[a_(e.body,t)],[`vcenter`])])}}),W({type:`verb`,names:[`\\verb`],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new j(`\\verb ended by end of line instead of matching delimiter`)},htmlBuilder(e,t){for(var n=Sy(e),r=[],i=t.havingStyle(t.style.text()),a=0;a<n.length;a++){var o=n[a];o===`~`&&(o=`\\textasciitilde`),r.push(ig(o,`Typewriter-Regular`,e.mode,i,[`mord`,`texttt`]))}return U([`mord`,`text`].concat(i.sizingClasses(t)),lg(r),i)},mathmlBuilder(e,t){var n=new G(`mtext`,[new Jg(Sy(e))]);return n.setAttribute(`mathvariant`,`monospace`),n}});var Sy=e=>e.body.replace(/ /g,e.star?`␣`:`\xA0`),Cy=Og,wy=`[ \r
|
|
268
|
+
]`,Ty=`\\\\[a-zA-Z@]+`,Ey=`\\\\[^\ud800-\udfff]`,Dy=`(`+Ty+`)`+wy+`*`,Oy=`\\\\(
|
|
269
|
+
|[ \r ]+
|
|
270
|
+
?)[ \r ]*`,ky=`[̀-ͯ]`,Ay=RegExp(ky+`+$`),jy=`(`+wy+`+)|`+(Oy+`|`)+`([!-\\[\\]-‧-豈-]`+(ky+`*`)+`|[\ud800-\udbff][\udc00-\udfff]`+(ky+`*`)+`|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5`+(`|`+Dy)+(`|`+Ey+`)`),My=class{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(jy,`g`),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new Nv(`EOF`,new Mv(this,t,t));var n=this.tokenRegex.exec(e);if(n===null||n.index!==t)throw new j(`Unexpected character: '`+e[t]+`'`,new Nv(e[t],new Mv(this,t,t+1)));var r=n[6]||n[3]||(n[2]?`\\ `:` `);if(this.catcodes[r]===14){var i=e.indexOf(`
|
|
271
|
+
`,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict(`commentAtEnd`,`% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)`)):this.tokenRegex.lastIndex=i+1,this.lex()}return new Nv(r,new Mv(this,t,this.tokenRegex.lastIndex))}},Ny=class{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new j(`Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug`);var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(e[t]==null?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(n===void 0&&(n=!1),n){for(var r=0;r<this.undefStack.length;r++)delete this.undefStack[r][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}},Py=jv;K(`\\noexpand`,function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),K(`\\expandafter`,function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),K(`\\@firstoftwo`,function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),K(`\\@secondoftwo`,function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),K(`\\@ifnextchar`,function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),K(`\\@ifstar`,`\\@ifnextchar *{\\@firstoftwo{#1}}`),K(`\\TextOrMath`,function(e){var t=e.consumeArgs(2);return e.mode===`text`?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Fy={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};K(`\\char`,function(e){var t=e.popToken(),n,r=0;if(t.text===`'`)n=8,t=e.popToken();else if(t.text===`"`)n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]===`\\`)r=t.text.charCodeAt(1);else if(t.text===`EOF`)throw new j("\\char` missing argument");else r=t.text.charCodeAt(0);else n=10;if(n){if(r=Fy[t.text],r==null||r>=n)throw new j(`Invalid base-`+n+` digit `+t.text);for(var i;(i=Fy[e.future().text])!=null&&i<n;)r*=n,r+=i,e.popToken()}return`\\@char{`+r+`}`});var Iy=(e,t,n,r)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new j(`\\newcommand's first argument must be a macro name`);var a=i[0].text,o=e.isDefined(a);if(o&&!t)throw new j(`\\newcommand{`+a+`} attempting to redefine `+(a+`; use \\renewcommand`));if(!o&&!n)throw new j(`\\renewcommand{`+a+`} when command `+a+` does not yet exist; use \\newcommand`);var s=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text===`[`){for(var c=``,l=e.expandNextToken();l.text!==`]`&&l.text!==`EOF`;)c+=l.text,l=e.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new j(`Invalid number of arguments: `+c);s=parseInt(c),i=e.consumeArg().tokens}return o&&r||e.macros.set(a,{tokens:i,numArgs:s}),``};K(`\\newcommand`,e=>Iy(e,!1,!0,!1)),K(`\\renewcommand`,e=>Iy(e,!0,!1,!1)),K(`\\providecommand`,e=>Iy(e,!0,!0,!0)),K(`\\message`,e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join(``)),``}),K(`\\errmessage`,e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join(``)),``}),K(`\\show`,e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Cy[n],_h.math[n],_h.text[n]),``}),K(`\\bgroup`,`{`),K(`\\egroup`,`}`),K(`~`,`\\nobreakspace`),K(`\\lq`,"`"),K(`\\rq`,`'`),K(`\\aa`,`\\r a`),K(`\\AA`,`\\r A`),K(`\\textcopyright`,"\\html@mathml{\\textcircled{c}}{\\char`©}"),K(`\\copyright`,`\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}`),K(`\\textregistered`,"\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),K(`ℬ`,`\\mathscr{B}`),K(`ℰ`,`\\mathscr{E}`),K(`ℱ`,`\\mathscr{F}`),K(`ℋ`,`\\mathscr{H}`),K(`ℐ`,`\\mathscr{I}`),K(`ℒ`,`\\mathscr{L}`),K(`ℳ`,`\\mathscr{M}`),K(`ℛ`,`\\mathscr{R}`),K(`ℭ`,`\\mathfrak{C}`),K(`ℌ`,`\\mathfrak{H}`),K(`ℨ`,`\\mathfrak{Z}`),K(`\\Bbbk`,`\\Bbb{k}`),K(`\\llap`,`\\mathllap{\\textrm{#1}}`),K(`\\rlap`,`\\mathrlap{\\textrm{#1}}`),K(`\\clap`,`\\mathclap{\\textrm{#1}}`),K(`\\mathstrut`,`\\vphantom{(}`),K(`\\underbar`,`\\underline{\\text{#1}}`),K(`\\not`,`\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}`),K(`\\neq`,"\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),K(`\\ne`,`\\neq`),K(`≠`,`\\neq`),K(`\\notin`,"\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),K(`∉`,`\\notin`),K(`≘`,"\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),K(`≙`,"\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),K(`≚`,"\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),K(`≛`,"\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),K(`≝`,"\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),K(`≞`,"\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),K(`≟`,"\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),K(`⟂`,`\\perp`),K(`‼`,`\\mathclose{!\\mkern-0.8mu!}`),K(`∌`,`\\notni`),K(`⌜`,`\\ulcorner`),K(`⌝`,`\\urcorner`),K(`⌞`,`\\llcorner`),K(`⌟`,`\\lrcorner`),K(`©`,`\\copyright`),K(`®`,`\\textregistered`),K(`\\ulcorner`,`\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}`),K(`\\urcorner`,`\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}`),K(`\\llcorner`,`\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}`),K(`\\lrcorner`,`\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}`),K(`\\vdots`,`{\\varvdots\\rule{0pt}{15pt}}`),K(`⋮`,`\\vdots`),K(`\\varGamma`,`\\mathit{\\Gamma}`),K(`\\varDelta`,`\\mathit{\\Delta}`),K(`\\varTheta`,`\\mathit{\\Theta}`),K(`\\varLambda`,`\\mathit{\\Lambda}`),K(`\\varXi`,`\\mathit{\\Xi}`),K(`\\varPi`,`\\mathit{\\Pi}`),K(`\\varSigma`,`\\mathit{\\Sigma}`),K(`\\varUpsilon`,`\\mathit{\\Upsilon}`),K(`\\varPhi`,`\\mathit{\\Phi}`),K(`\\varPsi`,`\\mathit{\\Psi}`),K(`\\varOmega`,`\\mathit{\\Omega}`),K(`\\substack`,`\\begin{subarray}{c}#1\\end{subarray}`),K(`\\colon`,`\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax`),K(`\\boxed`,`\\fbox{$\\displaystyle{#1}$}`),K(`\\iff`,`\\DOTSB\\;\\Longleftrightarrow\\;`),K(`\\implies`,`\\DOTSB\\;\\Longrightarrow\\;`),K(`\\impliedby`,`\\DOTSB\\;\\Longleftarrow\\;`),K(`\\dddot`,`{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}`),K(`\\ddddot`,`{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}`);var Ly={",":`\\dotsc`,"\\not":`\\dotsb`,"+":`\\dotsb`,"=":`\\dotsb`,"<":`\\dotsb`,">":`\\dotsb`,"-":`\\dotsb`,"*":`\\dotsb`,":":`\\dotsb`,"\\DOTSB":`\\dotsb`,"\\coprod":`\\dotsb`,"\\bigvee":`\\dotsb`,"\\bigwedge":`\\dotsb`,"\\biguplus":`\\dotsb`,"\\bigcap":`\\dotsb`,"\\bigcup":`\\dotsb`,"\\prod":`\\dotsb`,"\\sum":`\\dotsb`,"\\bigotimes":`\\dotsb`,"\\bigoplus":`\\dotsb`,"\\bigodot":`\\dotsb`,"\\bigsqcup":`\\dotsb`,"\\And":`\\dotsb`,"\\longrightarrow":`\\dotsb`,"\\Longrightarrow":`\\dotsb`,"\\longleftarrow":`\\dotsb`,"\\Longleftarrow":`\\dotsb`,"\\longleftrightarrow":`\\dotsb`,"\\Longleftrightarrow":`\\dotsb`,"\\mapsto":`\\dotsb`,"\\longmapsto":`\\dotsb`,"\\hookrightarrow":`\\dotsb`,"\\doteq":`\\dotsb`,"\\mathbin":`\\dotsb`,"\\mathrel":`\\dotsb`,"\\relbar":`\\dotsb`,"\\Relbar":`\\dotsb`,"\\xrightarrow":`\\dotsb`,"\\xleftarrow":`\\dotsb`,"\\DOTSI":`\\dotsi`,"\\int":`\\dotsi`,"\\oint":`\\dotsi`,"\\iint":`\\dotsi`,"\\iiint":`\\dotsi`,"\\iiiint":`\\dotsi`,"\\idotsint":`\\dotsi`,"\\DOTSX":`\\dotsx`},Ry=new Set([`bin`,`rel`]);K(`\\dots`,function(e){var t=`\\dotso`,n=e.expandAfterFuture().text;return n in Ly?t=Ly[n]:(n.slice(0,4)===`\\not`||n in _h.math&&Ry.has(_h.math[n].group))&&(t=`\\dotsb`),t});var zy={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};K(`\\dotso`,function(e){return e.future().text in zy?`\\ldots\\,`:`\\ldots`}),K(`\\dotsc`,function(e){var t=e.future().text;return t in zy&&t!==`,`?`\\ldots\\,`:`\\ldots`}),K(`\\cdots`,function(e){return e.future().text in zy?`\\@cdots\\,`:`\\@cdots`}),K(`\\dotsb`,`\\cdots`),K(`\\dotsm`,`\\cdots`),K(`\\dotsi`,`\\!\\cdots`),K(`\\dotsx`,`\\ldots\\,`),K(`\\DOTSI`,`\\relax`),K(`\\DOTSB`,`\\relax`),K(`\\DOTSX`,`\\relax`),K(`\\tmspace`,`\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax`),K(`\\,`,`\\tmspace+{3mu}{.1667em}`),K(`\\thinspace`,`\\,`),K(`\\>`,`\\mskip{4mu}`),K(`\\:`,`\\tmspace+{4mu}{.2222em}`),K(`\\medspace`,`\\:`),K(`\\;`,`\\tmspace+{5mu}{.2777em}`),K(`\\thickspace`,`\\;`),K(`\\!`,`\\tmspace-{3mu}{.1667em}`),K(`\\negthinspace`,`\\!`),K(`\\negmedspace`,`\\tmspace-{4mu}{.2222em}`),K(`\\negthickspace`,`\\tmspace-{5mu}{.277em}`),K(`\\enspace`,`\\kern.5em `),K(`\\enskip`,`\\hskip.5em\\relax`),K(`\\quad`,`\\hskip1em\\relax`),K(`\\qquad`,`\\hskip2em\\relax`),K(`\\tag`,`\\@ifstar\\tag@literal\\tag@paren`),K(`\\tag@paren`,`\\tag@literal{({#1})}`),K(`\\tag@literal`,e=>{if(e.macros.get(`\\df@tag`))throw new j(`Multiple \\tag`);return`\\gdef\\df@tag{\\text{#1}}`}),K(`\\bmod`,`\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}`),K(`\\pod`,`\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)`),K(`\\pmod`,`\\pod{{\\rm mod}\\mkern6mu#1}`),K(`\\mod`,`\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1`),K(`\\newline`,`\\\\\\relax`),K(`\\TeX`,`\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}`);var By=M(uh[`Main-Regular`][84][1]-.7*uh[`Main-Regular`][65][1]);K(`\\LaTeX`,`\\textrm{\\html@mathml{`+(`L\\kern-.36em\\raisebox{`+By+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{LaTeX}}`),K(`\\KaTeX`,`\\textrm{\\html@mathml{`+(`K\\kern-.17em\\raisebox{`+By+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{KaTeX}}`),K(`\\hspace`,`\\@ifstar\\@hspacer\\@hspace`),K(`\\@hspace`,`\\hskip #1\\relax`),K(`\\@hspacer`,`\\rule{0pt}{0pt}\\hskip #1\\relax`),K(`\\ordinarycolon`,`:`),K(`\\vcentcolon`,`\\mathrel{\\mathop\\ordinarycolon}`),K(`\\dblcolon`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}`),K(`\\coloneqq`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}`),K(`\\Coloneqq`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}`),K(`\\coloneq`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}`),K(`\\Coloneq`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}`),K(`\\eqqcolon`,`\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}`),K(`\\Eqqcolon`,`\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}`),K(`\\eqcolon`,`\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}`),K(`\\Eqcolon`,`\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}`),K(`\\colonapprox`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}`),K(`\\Colonapprox`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}`),K(`\\colonsim`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}`),K(`\\Colonsim`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}`),K(`∷`,`\\dblcolon`),K(`∹`,`\\eqcolon`),K(`≔`,`\\coloneqq`),K(`≕`,`\\eqqcolon`),K(`⩴`,`\\Coloneqq`),K(`\\ratio`,`\\vcentcolon`),K(`\\coloncolon`,`\\dblcolon`),K(`\\colonequals`,`\\coloneqq`),K(`\\coloncolonequals`,`\\Coloneqq`),K(`\\equalscolon`,`\\eqqcolon`),K(`\\equalscoloncolon`,`\\Eqqcolon`),K(`\\colonminus`,`\\coloneq`),K(`\\coloncolonminus`,`\\Coloneq`),K(`\\minuscolon`,`\\eqcolon`),K(`\\minuscoloncolon`,`\\Eqcolon`),K(`\\coloncolonapprox`,`\\Colonapprox`),K(`\\coloncolonsim`,`\\Colonsim`),K(`\\simcolon`,`\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}`),K(`\\simcoloncolon`,`\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}`),K(`\\approxcolon`,`\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}`),K(`\\approxcoloncolon`,`\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}`),K(`\\notni`,"\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),K(`\\limsup`,`\\DOTSB\\operatorname*{lim\\,sup}`),K(`\\liminf`,`\\DOTSB\\operatorname*{lim\\,inf}`),K(`\\injlim`,`\\DOTSB\\operatorname*{inj\\,lim}`),K(`\\projlim`,`\\DOTSB\\operatorname*{proj\\,lim}`),K(`\\varlimsup`,`\\DOTSB\\operatorname*{\\overline{lim}}`),K(`\\varliminf`,`\\DOTSB\\operatorname*{\\underline{lim}}`),K(`\\varinjlim`,`\\DOTSB\\operatorname*{\\underrightarrow{lim}}`),K(`\\varprojlim`,`\\DOTSB\\operatorname*{\\underleftarrow{lim}}`),K(`\\gvertneqq`,`\\html@mathml{\\@gvertneqq}{≩}`),K(`\\lvertneqq`,`\\html@mathml{\\@lvertneqq}{≨}`),K(`\\ngeqq`,`\\html@mathml{\\@ngeqq}{≱}`),K(`\\ngeqslant`,`\\html@mathml{\\@ngeqslant}{≱}`),K(`\\nleqq`,`\\html@mathml{\\@nleqq}{≰}`),K(`\\nleqslant`,`\\html@mathml{\\@nleqslant}{≰}`),K(`\\nshortmid`,`\\html@mathml{\\@nshortmid}{∤}`),K(`\\nshortparallel`,`\\html@mathml{\\@nshortparallel}{∦}`),K(`\\nsubseteqq`,`\\html@mathml{\\@nsubseteqq}{⊈}`),K(`\\nsupseteqq`,`\\html@mathml{\\@nsupseteqq}{⊉}`),K(`\\varsubsetneq`,`\\html@mathml{\\@varsubsetneq}{⊊}`),K(`\\varsubsetneqq`,`\\html@mathml{\\@varsubsetneqq}{⫋}`),K(`\\varsupsetneq`,`\\html@mathml{\\@varsupsetneq}{⊋}`),K(`\\varsupsetneqq`,`\\html@mathml{\\@varsupsetneqq}{⫌}`),K(`\\imath`,`\\html@mathml{\\@imath}{ı}`),K(`\\jmath`,`\\html@mathml{\\@jmath}{ȷ}`),K(`\\llbracket`,"\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),K(`\\rrbracket`,"\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),K(`⟦`,`\\llbracket`),K(`⟧`,`\\rrbracket`),K(`\\lBrace`,"\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),K(`\\rBrace`,"\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),K(`⦃`,`\\lBrace`),K(`⦄`,`\\rBrace`),K(`\\minuso`,"\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),K(`⦵`,`\\minuso`),K(`\\darr`,`\\downarrow`),K(`\\dArr`,`\\Downarrow`),K(`\\Darr`,`\\Downarrow`),K(`\\lang`,`\\langle`),K(`\\rang`,`\\rangle`),K(`\\uarr`,`\\uparrow`),K(`\\uArr`,`\\Uparrow`),K(`\\Uarr`,`\\Uparrow`),K(`\\N`,`\\mathbb{N}`),K(`\\R`,`\\mathbb{R}`),K(`\\Z`,`\\mathbb{Z}`),K(`\\alef`,`\\aleph`),K(`\\alefsym`,`\\aleph`),K(`\\Alpha`,`\\mathrm{A}`),K(`\\Beta`,`\\mathrm{B}`),K(`\\bull`,`\\bullet`),K(`\\Chi`,`\\mathrm{X}`),K(`\\clubs`,`\\clubsuit`),K(`\\cnums`,`\\mathbb{C}`),K(`\\Complex`,`\\mathbb{C}`),K(`\\Dagger`,`\\ddagger`),K(`\\diamonds`,`\\diamondsuit`),K(`\\empty`,`\\emptyset`),K(`\\Epsilon`,`\\mathrm{E}`),K(`\\Eta`,`\\mathrm{H}`),K(`\\exist`,`\\exists`),K(`\\harr`,`\\leftrightarrow`),K(`\\hArr`,`\\Leftrightarrow`),K(`\\Harr`,`\\Leftrightarrow`),K(`\\hearts`,`\\heartsuit`),K(`\\image`,`\\Im`),K(`\\infin`,`\\infty`),K(`\\Iota`,`\\mathrm{I}`),K(`\\isin`,`\\in`),K(`\\Kappa`,`\\mathrm{K}`),K(`\\larr`,`\\leftarrow`),K(`\\lArr`,`\\Leftarrow`),K(`\\Larr`,`\\Leftarrow`),K(`\\lrarr`,`\\leftrightarrow`),K(`\\lrArr`,`\\Leftrightarrow`),K(`\\Lrarr`,`\\Leftrightarrow`),K(`\\Mu`,`\\mathrm{M}`),K(`\\natnums`,`\\mathbb{N}`),K(`\\Nu`,`\\mathrm{N}`),K(`\\Omicron`,`\\mathrm{O}`),K(`\\plusmn`,`\\pm`),K(`\\rarr`,`\\rightarrow`),K(`\\rArr`,`\\Rightarrow`),K(`\\Rarr`,`\\Rightarrow`),K(`\\real`,`\\Re`),K(`\\reals`,`\\mathbb{R}`),K(`\\Reals`,`\\mathbb{R}`),K(`\\Rho`,`\\mathrm{P}`),K(`\\sdot`,`\\cdot`),K(`\\sect`,`\\S`),K(`\\spades`,`\\spadesuit`),K(`\\sub`,`\\subset`),K(`\\sube`,`\\subseteq`),K(`\\supe`,`\\supseteq`),K(`\\Tau`,`\\mathrm{T}`),K(`\\thetasym`,`\\vartheta`),K(`\\weierp`,`\\wp`),K(`\\Zeta`,`\\mathrm{Z}`),K(`\\argmin`,`\\DOTSB\\operatorname*{arg\\,min}`),K(`\\argmax`,`\\DOTSB\\operatorname*{arg\\,max}`),K(`\\plim`,`\\DOTSB\\mathop{\\operatorname{plim}}\\limits`),K(`\\bra`,`\\mathinner{\\langle{#1}|}`),K(`\\ket`,`\\mathinner{|{#1}\\rangle}`),K(`\\braket`,`\\mathinner{\\langle{#1}\\rangle}`),K(`\\Bra`,`\\left\\langle#1\\right|`),K(`\\Ket`,`\\left|#1\\right\\rangle`);var Vy=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get(`|`),s=t.macros.get(`\\|`);t.macros.beginGroup();var c=t=>n=>{e&&(n.macros.set(`|`,o),i.length&&n.macros.set(`\\|`,s));var a=t;return!t&&i.length&&n.future().text===`|`&&(n.popToken(),a=!0),{tokens:a?i:r,numArgs:0}};t.macros.set(`|`,c(!1)),i.length&&t.macros.set(`\\|`,c(!0));var l=t.consumeArg().tokens,u=t.expandTokens([...a,...l,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};K(`\\bra@ket`,Vy(!1)),K(`\\bra@set`,Vy(!0)),K(`\\Braket`,`\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}`),K(`\\Set`,`\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}`),K(`\\set`,`\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}`),K(`\\angln`,`{\\angl n}`),K(`\\blue`,`\\textcolor{##6495ed}{#1}`),K(`\\orange`,`\\textcolor{##ffa500}{#1}`),K(`\\pink`,`\\textcolor{##ff00af}{#1}`),K(`\\red`,`\\textcolor{##df0030}{#1}`),K(`\\green`,`\\textcolor{##28ae7b}{#1}`),K(`\\gray`,`\\textcolor{gray}{#1}`),K(`\\purple`,`\\textcolor{##9d38bd}{#1}`),K(`\\blueA`,`\\textcolor{##ccfaff}{#1}`),K(`\\blueB`,`\\textcolor{##80f6ff}{#1}`),K(`\\blueC`,`\\textcolor{##63d9ea}{#1}`),K(`\\blueD`,`\\textcolor{##11accd}{#1}`),K(`\\blueE`,`\\textcolor{##0c7f99}{#1}`),K(`\\tealA`,`\\textcolor{##94fff5}{#1}`),K(`\\tealB`,`\\textcolor{##26edd5}{#1}`),K(`\\tealC`,`\\textcolor{##01d1c1}{#1}`),K(`\\tealD`,`\\textcolor{##01a995}{#1}`),K(`\\tealE`,`\\textcolor{##208170}{#1}`),K(`\\greenA`,`\\textcolor{##b6ffb0}{#1}`),K(`\\greenB`,`\\textcolor{##8af281}{#1}`),K(`\\greenC`,`\\textcolor{##74cf70}{#1}`),K(`\\greenD`,`\\textcolor{##1fab54}{#1}`),K(`\\greenE`,`\\textcolor{##0d923f}{#1}`),K(`\\goldA`,`\\textcolor{##ffd0a9}{#1}`),K(`\\goldB`,`\\textcolor{##ffbb71}{#1}`),K(`\\goldC`,`\\textcolor{##ff9c39}{#1}`),K(`\\goldD`,`\\textcolor{##e07d10}{#1}`),K(`\\goldE`,`\\textcolor{##a75a05}{#1}`),K(`\\redA`,`\\textcolor{##fca9a9}{#1}`),K(`\\redB`,`\\textcolor{##ff8482}{#1}`),K(`\\redC`,`\\textcolor{##f9685d}{#1}`),K(`\\redD`,`\\textcolor{##e84d39}{#1}`),K(`\\redE`,`\\textcolor{##bc2612}{#1}`),K(`\\maroonA`,`\\textcolor{##ffbde0}{#1}`),K(`\\maroonB`,`\\textcolor{##ff92c6}{#1}`),K(`\\maroonC`,`\\textcolor{##ed5fa6}{#1}`),K(`\\maroonD`,`\\textcolor{##ca337c}{#1}`),K(`\\maroonE`,`\\textcolor{##9e034e}{#1}`),K(`\\purpleA`,`\\textcolor{##ddd7ff}{#1}`),K(`\\purpleB`,`\\textcolor{##c6b9fc}{#1}`),K(`\\purpleC`,`\\textcolor{##aa87ff}{#1}`),K(`\\purpleD`,`\\textcolor{##7854ab}{#1}`),K(`\\purpleE`,`\\textcolor{##543b78}{#1}`),K(`\\mintA`,`\\textcolor{##f5f9e8}{#1}`),K(`\\mintB`,`\\textcolor{##edf2df}{#1}`),K(`\\mintC`,`\\textcolor{##e0e5cc}{#1}`),K(`\\grayA`,`\\textcolor{##f6f7f7}{#1}`),K(`\\grayB`,`\\textcolor{##f0f1f2}{#1}`),K(`\\grayC`,`\\textcolor{##e3e5e6}{#1}`),K(`\\grayD`,`\\textcolor{##d6d8da}{#1}`),K(`\\grayE`,`\\textcolor{##babec2}{#1}`),K(`\\grayF`,`\\textcolor{##888d93}{#1}`),K(`\\grayG`,`\\textcolor{##626569}{#1}`),K(`\\grayH`,`\\textcolor{##3b3e40}{#1}`),K(`\\grayI`,`\\textcolor{##21242c}{#1}`),K(`\\kaBlue`,`\\textcolor{##314453}{#1}`),K(`\\kaGreen`,`\\textcolor{##71B307}{#1}`);var Hy={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Uy=class{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Ny(Py,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new My(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,n,r;if(e){if(this.consumeSpaces(),this.future().text!==`[`)return null;t=this.popToken(),{tokens:r,end:n}=this.consumeArg([`]`])}else ({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new Nv(`EOF`,n.loc)),this.pushTokens(r),new Nv(``,Mv.range(t,n))}consumeSpaces(){for(;this.future().text===` `;)this.stack.pop()}consumeArg(e){var t=[],n=e&&e.length>0;n||this.consumeSpaces();var r=this.future(),i,a=0,o=0;do{if(i=this.popToken(),t.push(i),i.text===`{`)++a;else if(i.text===`}`){if(--a,a===-1)throw new j(`Extra }`,i)}else if(i.text===`EOF`)throw new j(`Unexpected end of input in a macro argument, expected '`+(e&&n?e[o]:`}`)+`'`,i);if(e&&n)if((a===0||a===1&&e[o]===`{`)&&i.text===e[o]){if(++o,o===e.length){t.splice(-o,o);break}}else o=0}while(a!==0||n);return r.text===`{`&&t[t.length-1].text===`}`&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:r,end:i}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new j(`The length of delimiters doesn't match the number of args!`);for(var n=t[0],r=0;r<n.length;r++){var i=this.popToken();if(n[r]!==i.text)throw new j(`Use of the macro doesn't match its definition`,i)}}for(var a=[],o=0;o<e;o++)a.push(this.consumeArg(t&&t[o+1]).tokens);return a}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new j(`Too many expansions: infinite loop or need to increase maxExpand setting`)}expandOnce(e){var t=this.popToken(),n=t.text,r=t.noexpand?null:this._getExpansion(n);if(r==null||e&&r.unexpandable){if(e&&r==null&&n[0]===`\\`&&!this.isDefined(n))throw new j(`Undefined control sequence: `+n);return this.pushToken(t),!1}this.countExpansion(1);var i=r.tokens,a=this.consumeArgs(r.numArgs,r.delimiters);if(r.numArgs){i=i.slice();for(var o=i.length-1;o>=0;--o){var s=i[o];if(s.text===`#`){if(o===0)throw new j(`Incomplete placeholder at end of macro body`,s);if(s=i[--o],s.text===`#`)i.splice(o+1,1);else if(/^[1-9]$/.test(s.text))i.splice(o,2,...a[s.text-1]);else throw new j(`Not a valid argument number`,s)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text=`\\relax`),e}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Nv(e)]):void 0}expandTokens(e){var t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var r=this.stack.pop();r.treatAsRelax&&=(r.noexpand=!1,!1),t.push(r)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(e=>e.text).join(``)}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var r=typeof t==`function`?t(this):t;if(typeof r==`string`){var i=0;if(r.includes(`#`))for(var a=r.replace(/##/g,``);a.includes(`#`+(i+1));)++i;for(var o=new My(r,this.settings),s=[],c=o.lex();c.text!==`EOF`;)s.push(c),c=o.lex();return s.reverse(),{tokens:s,numArgs:i}}return r}isDefined(e){return this.macros.has(e)||Cy.hasOwnProperty(e)||_h.math.hasOwnProperty(e)||_h.text.hasOwnProperty(e)||Hy.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t==null?Cy.hasOwnProperty(e)&&!Cy[e].primitive:typeof t==`string`||typeof t==`function`||!t.unexpandable}},Wy=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Gy=Object.freeze({"₊":`+`,"₋":`-`,"₌":`=`,"₍":`(`,"₎":`)`,"₀":`0`,"₁":`1`,"₂":`2`,"₃":`3`,"₄":`4`,"₅":`5`,"₆":`6`,"₇":`7`,"₈":`8`,"₉":`9`,ₐ:`a`,ₑ:`e`,ₕ:`h`,ᵢ:`i`,ⱼ:`j`,ₖ:`k`,ₗ:`l`,ₘ:`m`,ₙ:`n`,ₒ:`o`,ₚ:`p`,ᵣ:`r`,ₛ:`s`,ₜ:`t`,ᵤ:`u`,ᵥ:`v`,ₓ:`x`,ᵦ:`β`,ᵧ:`γ`,ᵨ:`ρ`,ᵩ:`ϕ`,ᵪ:`χ`,"⁺":`+`,"⁻":`-`,"⁼":`=`,"⁽":`(`,"⁾":`)`,"⁰":`0`,"¹":`1`,"²":`2`,"³":`3`,"⁴":`4`,"⁵":`5`,"⁶":`6`,"⁷":`7`,"⁸":`8`,"⁹":`9`,ᴬ:`A`,ᴮ:`B`,ᴰ:`D`,ᴱ:`E`,ᴳ:`G`,ᴴ:`H`,ᴵ:`I`,ᴶ:`J`,ᴷ:`K`,ᴸ:`L`,ᴹ:`M`,ᴺ:`N`,ᴼ:`O`,ᴾ:`P`,ᴿ:`R`,ᵀ:`T`,ᵁ:`U`,ⱽ:`V`,ᵂ:`W`,ᵃ:`a`,ᵇ:`b`,ᶜ:`c`,ᵈ:`d`,ᵉ:`e`,ᶠ:`f`,ᵍ:`g`,ʰ:`h`,ⁱ:`i`,ʲ:`j`,ᵏ:`k`,ˡ:`l`,ᵐ:`m`,ⁿ:`n`,ᵒ:`o`,ᵖ:`p`,ʳ:`r`,ˢ:`s`,ᵗ:`t`,ᵘ:`u`,ᵛ:`v`,ʷ:`w`,ˣ:`x`,ʸ:`y`,ᶻ:`z`,ᵝ:`β`,ᵞ:`γ`,ᵟ:`δ`,ᵠ:`ϕ`,ᵡ:`χ`,ᶿ:`θ`}),Ky={"́":{text:`\\'`,math:`\\acute`},"̀":{text:"\\`",math:`\\grave`},"̈":{text:`\\"`,math:`\\ddot`},"̃":{text:`\\~`,math:`\\tilde`},"̄":{text:`\\=`,math:`\\bar`},"̆":{text:`\\u`,math:`\\breve`},"̌":{text:`\\v`,math:`\\check`},"̂":{text:`\\^`,math:`\\hat`},"̇":{text:`\\.`,math:`\\dot`},"̊":{text:`\\r`,math:`\\mathring`},"̋":{text:`\\H`},"̧":{text:`\\c`}},qy={á:`á`,à:`à`,ä:`ä`,ǟ:`ǟ`,ã:`ã`,ā:`ā`,ă:`ă`,ắ:`ắ`,ằ:`ằ`,ẵ:`ẵ`,ǎ:`ǎ`,â:`â`,ấ:`ấ`,ầ:`ầ`,ẫ:`ẫ`,ȧ:`ȧ`,ǡ:`ǡ`,å:`å`,ǻ:`ǻ`,ḃ:`ḃ`,ć:`ć`,ḉ:`ḉ`,č:`č`,ĉ:`ĉ`,ċ:`ċ`,ç:`ç`,ď:`ď`,ḋ:`ḋ`,ḑ:`ḑ`,é:`é`,è:`è`,ë:`ë`,ẽ:`ẽ`,ē:`ē`,ḗ:`ḗ`,ḕ:`ḕ`,ĕ:`ĕ`,ḝ:`ḝ`,ě:`ě`,ê:`ê`,ế:`ế`,ề:`ề`,ễ:`ễ`,ė:`ė`,ȩ:`ȩ`,ḟ:`ḟ`,ǵ:`ǵ`,ḡ:`ḡ`,ğ:`ğ`,ǧ:`ǧ`,ĝ:`ĝ`,ġ:`ġ`,ģ:`ģ`,ḧ:`ḧ`,ȟ:`ȟ`,ĥ:`ĥ`,ḣ:`ḣ`,ḩ:`ḩ`,í:`í`,ì:`ì`,ï:`ï`,ḯ:`ḯ`,ĩ:`ĩ`,ī:`ī`,ĭ:`ĭ`,ǐ:`ǐ`,î:`î`,ǰ:`ǰ`,ĵ:`ĵ`,ḱ:`ḱ`,ǩ:`ǩ`,ķ:`ķ`,ĺ:`ĺ`,ľ:`ľ`,ļ:`ļ`,ḿ:`ḿ`,ṁ:`ṁ`,ń:`ń`,ǹ:`ǹ`,ñ:`ñ`,ň:`ň`,ṅ:`ṅ`,ņ:`ņ`,ó:`ó`,ò:`ò`,ö:`ö`,ȫ:`ȫ`,õ:`õ`,ṍ:`ṍ`,ṏ:`ṏ`,ȭ:`ȭ`,ō:`ō`,ṓ:`ṓ`,ṑ:`ṑ`,ŏ:`ŏ`,ǒ:`ǒ`,ô:`ô`,ố:`ố`,ồ:`ồ`,ỗ:`ỗ`,ȯ:`ȯ`,ȱ:`ȱ`,ő:`ő`,ṕ:`ṕ`,ṗ:`ṗ`,ŕ:`ŕ`,ř:`ř`,ṙ:`ṙ`,ŗ:`ŗ`,ś:`ś`,ṥ:`ṥ`,š:`š`,ṧ:`ṧ`,ŝ:`ŝ`,ṡ:`ṡ`,ş:`ş`,ẗ:`ẗ`,ť:`ť`,ṫ:`ṫ`,ţ:`ţ`,ú:`ú`,ù:`ù`,ü:`ü`,ǘ:`ǘ`,ǜ:`ǜ`,ǖ:`ǖ`,ǚ:`ǚ`,ũ:`ũ`,ṹ:`ṹ`,ū:`ū`,ṻ:`ṻ`,ŭ:`ŭ`,ǔ:`ǔ`,û:`û`,ů:`ů`,ű:`ű`,ṽ:`ṽ`,ẃ:`ẃ`,ẁ:`ẁ`,ẅ:`ẅ`,ŵ:`ŵ`,ẇ:`ẇ`,ẘ:`ẘ`,ẍ:`ẍ`,ẋ:`ẋ`,ý:`ý`,ỳ:`ỳ`,ÿ:`ÿ`,ỹ:`ỹ`,ȳ:`ȳ`,ŷ:`ŷ`,ẏ:`ẏ`,ẙ:`ẙ`,ź:`ź`,ž:`ž`,ẑ:`ẑ`,ż:`ż`,Á:`Á`,À:`À`,Ä:`Ä`,Ǟ:`Ǟ`,Ã:`Ã`,Ā:`Ā`,Ă:`Ă`,Ắ:`Ắ`,Ằ:`Ằ`,Ẵ:`Ẵ`,Ǎ:`Ǎ`,Â:`Â`,Ấ:`Ấ`,Ầ:`Ầ`,Ẫ:`Ẫ`,Ȧ:`Ȧ`,Ǡ:`Ǡ`,Å:`Å`,Ǻ:`Ǻ`,Ḃ:`Ḃ`,Ć:`Ć`,Ḉ:`Ḉ`,Č:`Č`,Ĉ:`Ĉ`,Ċ:`Ċ`,Ç:`Ç`,Ď:`Ď`,Ḋ:`Ḋ`,Ḑ:`Ḑ`,É:`É`,È:`È`,Ë:`Ë`,Ẽ:`Ẽ`,Ē:`Ē`,Ḗ:`Ḗ`,Ḕ:`Ḕ`,Ĕ:`Ĕ`,Ḝ:`Ḝ`,Ě:`Ě`,Ê:`Ê`,Ế:`Ế`,Ề:`Ề`,Ễ:`Ễ`,Ė:`Ė`,Ȩ:`Ȩ`,Ḟ:`Ḟ`,Ǵ:`Ǵ`,Ḡ:`Ḡ`,Ğ:`Ğ`,Ǧ:`Ǧ`,Ĝ:`Ĝ`,Ġ:`Ġ`,Ģ:`Ģ`,Ḧ:`Ḧ`,Ȟ:`Ȟ`,Ĥ:`Ĥ`,Ḣ:`Ḣ`,Ḩ:`Ḩ`,Í:`Í`,Ì:`Ì`,Ï:`Ï`,Ḯ:`Ḯ`,Ĩ:`Ĩ`,Ī:`Ī`,Ĭ:`Ĭ`,Ǐ:`Ǐ`,Î:`Î`,İ:`İ`,Ĵ:`Ĵ`,Ḱ:`Ḱ`,Ǩ:`Ǩ`,Ķ:`Ķ`,Ĺ:`Ĺ`,Ľ:`Ľ`,Ļ:`Ļ`,Ḿ:`Ḿ`,Ṁ:`Ṁ`,Ń:`Ń`,Ǹ:`Ǹ`,Ñ:`Ñ`,Ň:`Ň`,Ṅ:`Ṅ`,Ņ:`Ņ`,Ó:`Ó`,Ò:`Ò`,Ö:`Ö`,Ȫ:`Ȫ`,Õ:`Õ`,Ṍ:`Ṍ`,Ṏ:`Ṏ`,Ȭ:`Ȭ`,Ō:`Ō`,Ṓ:`Ṓ`,Ṑ:`Ṑ`,Ŏ:`Ŏ`,Ǒ:`Ǒ`,Ô:`Ô`,Ố:`Ố`,Ồ:`Ồ`,Ỗ:`Ỗ`,Ȯ:`Ȯ`,Ȱ:`Ȱ`,Ő:`Ő`,Ṕ:`Ṕ`,Ṗ:`Ṗ`,Ŕ:`Ŕ`,Ř:`Ř`,Ṙ:`Ṙ`,Ŗ:`Ŗ`,Ś:`Ś`,Ṥ:`Ṥ`,Š:`Š`,Ṧ:`Ṧ`,Ŝ:`Ŝ`,Ṡ:`Ṡ`,Ş:`Ş`,Ť:`Ť`,Ṫ:`Ṫ`,Ţ:`Ţ`,Ú:`Ú`,Ù:`Ù`,Ü:`Ü`,Ǘ:`Ǘ`,Ǜ:`Ǜ`,Ǖ:`Ǖ`,Ǚ:`Ǚ`,Ũ:`Ũ`,Ṹ:`Ṹ`,Ū:`Ū`,Ṻ:`Ṻ`,Ŭ:`Ŭ`,Ǔ:`Ǔ`,Û:`Û`,Ů:`Ů`,Ű:`Ű`,Ṽ:`Ṽ`,Ẃ:`Ẃ`,Ẁ:`Ẁ`,Ẅ:`Ẅ`,Ŵ:`Ŵ`,Ẇ:`Ẇ`,Ẍ:`Ẍ`,Ẋ:`Ẋ`,Ý:`Ý`,Ỳ:`Ỳ`,Ÿ:`Ÿ`,Ỹ:`Ỹ`,Ȳ:`Ȳ`,Ŷ:`Ŷ`,Ẏ:`Ẏ`,Ź:`Ź`,Ž:`Ž`,Ẑ:`Ẑ`,Ż:`Ż`,ά:`ά`,ὰ:`ὰ`,ᾱ:`ᾱ`,ᾰ:`ᾰ`,έ:`έ`,ὲ:`ὲ`,ή:`ή`,ὴ:`ὴ`,ί:`ί`,ὶ:`ὶ`,ϊ:`ϊ`,ΐ:`ΐ`,ῒ:`ῒ`,ῑ:`ῑ`,ῐ:`ῐ`,ό:`ό`,ὸ:`ὸ`,ύ:`ύ`,ὺ:`ὺ`,ϋ:`ϋ`,ΰ:`ΰ`,ῢ:`ῢ`,ῡ:`ῡ`,ῠ:`ῠ`,ώ:`ώ`,ὼ:`ὼ`,Ύ:`Ύ`,Ὺ:`Ὺ`,Ϋ:`Ϋ`,Ῡ:`Ῡ`,Ῠ:`Ῠ`,Ώ:`Ώ`,Ὼ:`Ὼ`},Jy=class e{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode=`math`,this.gullet=new Uy(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}expect(e,t){if(t===void 0&&(t=!0),this.fetch().text!==e)throw new j(`Expected '`+e+`', got '`+this.fetch().text+`'`,this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken??=this.gullet.expandNextToken(),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set(`\\color`,`\\textcolor`);try{var e=this.parseExpression(!1);return this.expect(`EOF`),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Nv(`}`)),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect(`}`),this.nextToken=t,n}parseExpression(t,n){for(var r=[];;){this.mode===`math`&&this.consumeSpaces();var i=this.fetch();if(e.endOfExpression.has(i.text)||n&&i.text===n||t&&Cy[i.text]&&Cy[i.text].infix)break;var a=this.parseAtom(n);if(!a)break;a.type!==`internal`&&r.push(a)}return this.mode===`text`&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t=-1,n,r=0;r<e.length;r++){var i=e[r];if(i.type===`infix`){if(t!==-1)throw new j(`only one infix operator per group`,i.token);t=r,n=i.replaceWith}}if(t!==-1&&n){var a,o,s=e.slice(0,t),c=e.slice(t+1);return a=s.length===1&&s[0].type===`ordgroup`?s[0]:{type:`ordgroup`,mode:this.mode,body:s},o=c.length===1&&c[0].type===`ordgroup`?c[0]:{type:`ordgroup`,mode:this.mode,body:c},[n===`\\\\abovefrac`?this.callFunction(n,[a,e[t],o],[]):this.callFunction(n,[a,o],[])]}else return e}handleSupSubscript(e){var t=this.fetch(),n=t.text;this.consume(),this.consumeSpaces();var r;do r=this.parseGroup(e);while(r?.type===`internal`);if(!r)throw new j(`Expected group after '`+n+`'`,t);return r}formatUnsupportedCmd(e){for(var t=[],n=0;n<e.length;n++)t.push({type:`textord`,mode:`text`,text:e[n]});var r={type:`text`,mode:this.mode,body:t};return{type:`color`,mode:this.mode,color:this.settings.errorColor,body:[r]}}parseAtom(e){var t=this.parseGroup(`atom`,e);if(t?.type===`internal`||this.mode===`text`)return t;for(var n,r;;){this.consumeSpaces();var i=this.fetch();if(i.text===`\\limits`||i.text===`\\nolimits`){if(t&&t.type===`op`)t.limits=i.text===`\\limits`,t.alwaysHandleSupSub=!0;else if(t&&t.type===`operatorname`)t.alwaysHandleSupSub&&(t.limits=i.text===`\\limits`);else throw new j(`Limit controls must follow a math operator`,i);this.consume()}else if(i.text===`^`){if(n)throw new j(`Double superscript`,i);n=this.handleSupSubscript(`superscript`)}else if(i.text===`_`){if(r)throw new j(`Double subscript`,i);r=this.handleSupSubscript(`subscript`)}else if(i.text===`'`){if(n)throw new j(`Double superscript`,i);var a={type:`textord`,mode:this.mode,text:`\\prime`},o=[a];for(this.consume();this.fetch().text===`'`;)o.push(a),this.consume();this.fetch().text===`^`&&o.push(this.handleSupSubscript(`superscript`)),n={type:`ordgroup`,mode:this.mode,body:o}}else if(Gy[i.text]){var s=Wy.test(i.text),c=[];for(c.push(new Nv(Gy[i.text])),this.consume();;){var l=this.fetch().text;if(!Gy[l]||Wy.test(l)!==s)break;c.unshift(new Nv(Gy[l])),this.consume()}var u=this.subparse(c);s?r={type:`ordgroup`,mode:`math`,body:u}:n={type:`ordgroup`,mode:`math`,body:u}}else break}return n||r?{type:`supsub`,mode:this.mode,base:t,sup:n,sub:r}:t}parseFunction(e,t){var n=this.fetch(),r=n.text,i=Cy[r];if(!i)return null;if(this.consume(),t&&t!==`atom`&&!i.allowedInArgument)throw new j(`Got function '`+r+`' with no arguments`+(t?` as `+t:``),n);if(this.mode===`text`&&!i.allowedInText)throw new j(`Can't use function '`+r+`' in text mode`,n);if(this.mode===`math`&&i.allowedInMath===!1)throw new j(`Can't use function '`+r+`' in math mode`,n);var{args:a,optArgs:o}=this.parseArguments(r,i);return this.callFunction(r,a,o,n,e)}callFunction(e,t,n,r,i){var a={funcName:e,parser:this,token:r,breakOnTokenText:i},o=Cy[e];if(o&&o.handler)return o.handler(a,t,n);throw new j(`No function handler for `+e)}parseArguments(e,t){var n=t.numArgs+t.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var r=[],i=[],a=0;a<n;a++){var o=t.argTypes&&t.argTypes[a],s=a<t.numOptionalArgs;(`primitive`in t&&t.primitive&&o==null||t.type===`sqrt`&&a===1&&i[0]==null)&&(o=`primitive`);var c=this.parseGroupOfType(`argument to '`+e+`'`,o,s);if(s)i.push(c);else if(c!=null)r.push(c);else throw new j(`Null argument, please report this as a bug`)}return{args:r,optArgs:i}}parseGroupOfType(e,t,n){switch(t){case`color`:return this.parseColorGroup(n);case`size`:return this.parseSizeGroup(n);case`url`:return this.parseUrlGroup(n);case`math`:case`text`:return this.parseArgumentGroup(n,t);case`hbox`:var r=this.parseArgumentGroup(n,`text`);return r==null?null:{type:`styling`,mode:r.mode,body:[r],style:`text`,resetFont:!0};case`raw`:var i=this.parseStringGroup(`raw`,n);return i==null?null:{type:`raw`,mode:`text`,string:i.text};case`primitive`:if(n)throw new j(`A primitive argument cannot be optional`);var a=this.parseGroup(e);if(a==null)throw new j(`Expected group as `+e,this.fetch());return a;case`original`:case null:case void 0:return this.parseArgumentGroup(n);default:throw new j(`Unknown group type as `+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===` `;)this.consume()}parseStringGroup(e,t){var n=this.gullet.scanArgument(t);if(n==null)return null;for(var r=``,i;(i=this.fetch()).text!==`EOF`;)r+=i.text,this.consume();return this.consume(),n.text=r,n}parseRegexGroup(e,t){for(var n=this.fetch(),r=n,i=``,a;(a=this.fetch()).text!==`EOF`&&e.test(i+a.text);)r=a,i+=r.text,this.consume();if(i===``)throw new j(`Invalid `+t+`: '`+n.text+`'`,n);return n.range(r,i)}parseColorGroup(e){var t=this.parseStringGroup(`color`,e);if(t==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new j(`Invalid color: '`+t.text+`'`,t);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r=`#`+r),{type:`color-token`,mode:this.mode,color:r}}parseSizeGroup(e){var t,n=!1;if(this.gullet.consumeSpaces(),t=!e&&this.gullet.future().text!==`{`?this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,`size`):this.parseStringGroup(`size`,e),!t)return null;!e&&t.text.length===0&&(t.text=`0pt`,n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new j(`Invalid size: '`+t.text+`'`,t);var i={number:+(r[1]+r[2]),unit:r[3]};if(!Gm(i))throw new j(`Invalid unit: '`+i.unit+`'`,t);return{type:`size`,mode:this.mode,value:i,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode(`%`,13),this.gullet.lexer.setCatcode(`~`,12);var t=this.parseStringGroup(`url`,e);if(this.gullet.lexer.setCatcode(`%`,14),this.gullet.lexer.setCatcode(`~`,13),t==null)return null;var n=t.text.replace(/\\([#$%&~_^{}])/g,`$1`);return{type:`url`,mode:this.mode,url:n}}parseArgumentGroup(e,t){var n=this.gullet.scanArgument(e);if(n==null)return null;var r=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var i=this.parseExpression(!1,`EOF`);this.expect(`EOF`),this.gullet.endGroup();var a={type:`ordgroup`,mode:this.mode,loc:n.loc,body:i};return t&&this.switchMode(r),a}parseGroup(e,t){var n=this.fetch(),r=n.text,i;if(r===`{`||r===`\\begingroup`){this.consume();var a=r===`{`?`}`:`\\endgroup`;this.gullet.beginGroup();var o=this.parseExpression(!1,a),s=this.fetch();this.expect(a),this.gullet.endGroup(),i={type:`ordgroup`,mode:this.mode,loc:Mv.range(n,s),body:o,semisimple:r===`\\begingroup`||void 0}}else if(i=this.parseFunction(t,e)||this.parseSymbol(),i==null&&r[0]===`\\`&&!Hy.hasOwnProperty(r)){if(this.settings.throwOnError)throw new j(`Undefined control sequence: `+r,n);i=this.formatUnsupportedCmd(r),this.consume()}return i}formLigatures(e){for(var t=e.length-1,n=0;n<t;++n){var r=e[n];if(r.type===`textord`){var i=r.text,a=e[n+1];if(!(!a||a.type!==`textord`)){if(i===`-`&&a.text===`-`){var o=e[n+2];n+1<t&&o&&o.type===`textord`&&o.text===`-`?(e.splice(n,3,{type:`textord`,mode:`text`,loc:Mv.range(r,o),text:`---`}),t-=2):(e.splice(n,2,{type:`textord`,mode:`text`,loc:Mv.range(r,a),text:`--`}),--t)}(i===`'`||i==="`")&&a.text===i&&(e.splice(n,2,{type:`textord`,mode:`text`,loc:Mv.range(r,a),text:i+i}),--t)}}}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),r=n.charAt(0)===`*`;if(r&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new j(`\\verb assertion failed --
|
|
272
|
+
please report what input caused this bug`);return n=n.slice(1,-1),{type:`verb`,mode:`text`,body:n,star:r}}qy.hasOwnProperty(t[0])&&!_h[this.mode][t[0]]&&(this.settings.strict&&this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Accented Unicode text character "`+t[0]+`" used in math mode`,e),t=qy[t[0]]+t.slice(1));var i=Ay.exec(t);i&&(t=t.substring(0,i.index),t===`i`?t=`ı`:t===`j`&&(t=`ȷ`));var a;if(_h[this.mode][t]){this.settings.strict&&this.mode===`math`&&zh.includes(t)&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Latin-1/Unicode text character "`+t[0]+`" used in math mode`,e);var o=_h[this.mode][t].group,s=Mv.range(e);a=C_(o)?{type:`atom`,mode:this.mode,family:o,loc:s,text:t}:{type:o,mode:this.mode,loc:s,text:t}}else if(t.charCodeAt(0)>=128)this.settings.strict&&(Dm(t.charCodeAt(0))?this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Unicode text character "`+t[0]+`" used in math mode`,e):this.settings.reportNonstrict(`unknownSymbol`,`Unrecognized Unicode character "`+t[0]+`"`+(` (`+t.charCodeAt(0)+`)`),e)),a={type:`textord`,mode:`text`,loc:Mv.range(e),text:t};else return null;if(this.consume(),i)for(var c=0;c<i[0].length;c++){var l=i[0][c];if(!Ky[l])throw new j(`Unknown accent ' `+l+`'`,e);var u=Ky[l][this.mode]||Ky[l].text;if(!u)throw new j(`Accent `+l+` unsupported in `+this.mode+` mode`,e);a={type:`accent`,mode:this.mode,loc:Mv.range(e),label:u,isStretchy:!1,isShifty:!0,base:a}}return a}};Jy.endOfExpression=new Set([`}`,`\\endgroup`,`\\end`,`\\right`,`&`]);var Yy=function(e,t){if(!(typeof e==`string`||e instanceof String))throw TypeError(`KaTeX can only parse string typed expression`);var n=new Jy(e,t);delete n.gullet.macros.current[`\\df@tag`];var r=n.parse();if(delete n.gullet.macros.current[`\\current@color`],delete n.gullet.macros.current[`\\color`],n.gullet.macros.get(`\\df@tag`)){if(!t.displayMode)throw new j(`\\tag works only in display equations`);r=[{type:`tag`,mode:`text`,body:r,tag:n.subparse([new Nv(`\\df@tag`)])}]}return r},Xy=function(e,t,n){t.textContent=``;var r=eb(e,n).toNode();t.appendChild(r)};typeof document<`u`&&document.compatMode!==`CSS1Compat`&&(typeof console<`u`&&console.warn(`Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.`),Xy=function(){throw new j(`KaTeX doesn't work in quirks mode.`)});var Zy=function(e,t){return eb(e,t).toMarkup()},Qy=function(e,t){return Yy(e,new om(t))},$y=function(e,t,n){if(n.throwOnError||!(e instanceof j))throw e;var r=U([`katex-error`],[new rh(t)]);return r.setAttribute(`title`,e.toString()),r.setAttribute(`style`,`color:`+n.errorColor),r},eb=function(e,t){var n=new om(t);try{return p_(Yy(e,n),e,n)}catch(t){return $y(t,e,n)}},tb={version:`0.16.47`,render:Xy,renderToString:Zy,ParseError:j,SETTINGS_SCHEMA:nm,__parse:Qy,__renderToDomTree:eb,__renderToHTMLTree:function(e,t){var n=new om(t);try{return m_(Yy(e,n),e,n)}catch(t){return $y(t,e,n)}},__setFontMetrics:ph,__defineSymbol:N,__defineFunction:W,__defineMacro:K,__domTree:{Span:$m,Anchor:eh,SymbolNode:rh,SvgNode:ih,PathNode:ah,LineNode:oh}},nb={},rb=[];function ib(e){let t=e||nb;return function(e,n){Kd(e,`element`,function(e,r){let i=Array.isArray(e.properties.className)?e.properties.className:rb,a=i.includes(`language-math`),o=i.includes(`math-display`),s=i.includes(`math-inline`),c=o;if(!a&&!o&&!s)return;let l=r[r.length-1],u=e;if(e.tagName===`code`&&a&&l&&l.type===`element`&&l.tagName===`pre`&&(u=l,l=r[r.length-2],c=!0),!l)return;let d=Lp(u,{whitespace:`pre`}),f;try{f=tb.renderToString(d,{...t,displayMode:c,throwOnError:!0})}catch(i){let a=i,o=a.name.toLowerCase();n.message(`Could not render math with KaTeX`,{ancestors:[...r,e],cause:a,place:e.position,ruleId:o,source:`rehype-katex`});try{f=tb.renderToString(d,{...t,displayMode:c,strict:`ignore`,throwOnError:!1})}catch{f=[{type:`element`,tagName:`span`,properties:{className:[`katex-error`],style:`color:`+(t.errorColor||`#cc0000`),title:String(i)},children:[{type:`text`,value:d}]}]}}typeof f==`string`&&(f=bp(f,{fragment:!0}).children);let p=l.children.indexOf(u);return l.children.splice(p,1,...f),Gd})}}function ab(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function ob(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function sb(e,t,n){let r=Id((n||{}).ignore||[]),i=cb(t),a=-1;for(;++a<i.length;)Kd(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function cb(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([lb(e[0]),ub(e[1])])}return t}function lb(e){return typeof e==`string`?new RegExp(ob(e),`g`):e}function ub(e){return typeof e==`function`?e:function(){return e}}var db=`phrasing`,fb=[`autolink`,`link`,`image`,`label`];function pb(){return{transforms:[xb],enter:{literalAutolink:hb,literalAutolinkEmail:gb,literalAutolinkHttp:gb,literalAutolinkWww:gb},exit:{literalAutolink:bb,literalAutolinkEmail:yb,literalAutolinkHttp:_b,literalAutolinkWww:vb}}}function mb(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:db,notInConstruct:fb},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:db,notInConstruct:fb},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:db,notInConstruct:fb}]}}function hb(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function gb(e){this.config.enter.autolinkProtocol.call(this,e)}function _b(e){this.config.exit.autolinkProtocol.call(this,e)}function vb(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function yb(e){this.config.exit.autolinkEmail.call(this,e)}function bb(e){this.exit(e)}function xb(e){sb(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Sb],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,Cb]],{ignore:[`link`,`linkReference`]})}function Sb(e,t,n,r,i){let a=``;if(!Eb(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!wb(n)))return!1;let o=Tb(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function Cb(e,t,n,r){return!Eb(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function wb(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Tb(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=ab(e,`(`),a=ab(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function Eb(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||pc(n)||fc(n))&&(!t||n!==47)}Ib.peek=Fb;function Db(){this.buffer()}function Ob(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function kb(){this.buffer()}function Ab(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function jb(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=nc(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Mb(e){this.exit(e)}function Nb(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=nc(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Pb(e){this.exit(e)}function Fb(){return`[`}function Ib(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{after:`]`,before:a})),s(),o(),a+=i.move(`]`),a}function Lb(){return{enter:{gfmFootnoteCallString:Db,gfmFootnoteCall:Ob,gfmFootnoteDefinitionLabelString:kb,gfmFootnoteDefinition:Ab},exit:{gfmFootnoteCallString:jb,gfmFootnoteCall:Mb,gfmFootnoteDefinitionLabelString:Nb,gfmFootnoteDefinition:Pb}}}function Rb(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Ib},unsafe:[{character:`[`,inConstruct:[`label`,`phrasing`,`reference`]}]};function n(e,n,r,i){let a=r.createTracker(i),o=a.move(`[^`),s=r.enter(`footnoteDefinition`),c=r.enter(`label`);return o+=a.move(r.safe(r.associationId(e),{before:o,after:`]`})),c(),o+=a.move(`]:`),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?`
|
|
273
|
+
`:` `)+r.indentLines(r.containerFlow(e,a.current()),t?Bb:zb))),s(),o}}function zb(e,t,n){return t===0?e:Bb(e,t,n)}function Bb(e,t,n){return(n?``:` `)+e}var Vb=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];Kb.peek=qb;function Hb(){return{canContainEols:[`delete`],enter:{strikethrough:Wb},exit:{strikethrough:Gb}}}function Ub(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:Vb}],handlers:{delete:Kb}}}function Wb(e){this.enter({type:`delete`,children:[]},e)}function Gb(e){this.exit(e)}function Kb(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function qb(){return`~`}function Jb(e){return e.length}function Yb(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||Jb,a=[],o=[],s=[],c=[],l=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>l&&(l=e[u].length);++a<e[u].length;){let o=Xb(e[u][a]);if(n.alignDelimiters!==!1){let e=i(o);r[a]=e,(c[a]===void 0||e>c[a])&&(c[a]=e)}t.push(o)}o[u]=t,s[u]=r}let d=-1;if(typeof r==`object`&&`length`in r)for(;++d<l;)a[d]=Zb(r[d]);else{let e=Zb(r);for(;++d<l;)a[d]=e}d=-1;let f=[],p=[];for(;++d<l;){let e=a[d],t=``,r=``;e===99?(t=`:`,r=`:`):e===108?t=`:`:e===114&&(r=`:`);let i=n.alignDelimiters===!1?1:Math.max(1,c[d]-t.length-r.length),o=t+`-`.repeat(i)+r;n.alignDelimiters!==!1&&(i=t.length+i+r.length,i>c[d]&&(c[d]=i),p[d]=i),f[d]=o}o.splice(1,0,f),s.splice(1,0,p),u=-1;let m=[];for(;++u<o.length;){let e=o[u],t=s[u];d=-1;let r=[];for(;++d<l;){let i=e[d]||``,o=``,s=``;if(n.alignDelimiters!==!1){let e=c[d]-(t[d]||0),n=a[d];n===114?o=` `.repeat(e):n===99?e%2?(o=` `.repeat(e/2+.5),s=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),s=o):s=` `.repeat(e)}n.delimiterStart!==!1&&!d&&r.push(`|`),n.padding!==!1&&!(n.alignDelimiters===!1&&i===``)&&(n.delimiterStart!==!1||d)&&r.push(` `),n.alignDelimiters!==!1&&r.push(o),r.push(i),n.alignDelimiters!==!1&&r.push(s),n.padding!==!1&&r.push(` `),(n.delimiterEnd!==!1||d!==l-1)&&r.push(`|`)}m.push(n.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return m.join(`
|
|
274
|
+
`)}function Xb(e){return e==null?``:String(e)}function Zb(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Qb(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),$b);return i(),o}function $b(e,t,n){return`>`+(n?``:` `)+e}function ex(e,t){return tx(e,t.inConstruct,!0)&&!tx(e,t.notInConstruct,!1)}function tx(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function nx(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
275
|
+
`&&ex(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
|
|
276
|
+
`}function rx(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function ix(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function ax(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function ox(e,t,n,r){let i=ax(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(ix(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,sx);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(rx(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
|
|
277
|
+
`,encode:["`"],...s.current()})),t()}return u+=s.move(`
|
|
278
|
+
`),a&&(u+=s.move(a+`
|
|
279
|
+
`)),u+=s.move(c),l(),u}function sx(e,t,n){return(n?``:` `)+e}function cx(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function lx(e,t,n,r){let i=cx(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
|
|
280
|
+
`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function ux(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function dx(e){return`&#x`+e.toString(16).toUpperCase()+`;`}function fx(e,t,n){let r=Cc(e),i=Cc(t);return r===void 0?i===void 0?n===`_`?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}px.peek=mx;function px(e,t,n,r){let i=ux(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=fx(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=dx(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=fx(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+dx(d));let p=o.move(i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function mx(e,t,n){return n.options.emphasis||`*`}function hx(e,t){let n=!1;return Jd(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&Us(e)&&(t.options.setext||n))}function gx(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(hx(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
|
|
281
|
+
`,after:`
|
|
282
|
+
`});return r(),t(),o+`
|
|
283
|
+
`+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
|
|
284
|
+
`))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
|
|
285
|
+
`,...a.current()});return/^[\t ]/.test(l)&&(l=dx(l.charCodeAt(0))+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}_x.peek=vx;function _x(e){return e.value||``}function vx(){return`<`}yx.peek=bx;function yx(e,t,n,r){let i=cx(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function bx(){return`!`}xx.peek=Sx;function xx(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function Sx(){return`!`}Cx.peek=wx;function Cx(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function wx(){return"`"}function Tx(e,t){let n=Us(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===`text`&&(n===e.url||`mailto:`+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Ex.peek=Dx;function Ex(e,t,n,r){let i=cx(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(Tx(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function Dx(e,t,n){return Tx(e,n)?`<`:`[`}Ox.peek=kx;function Ox(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function kx(){return`[`}function Ax(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function jx(e){let t=Ax(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Mx(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Nx(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Px(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?Mx(n):Ax(n),s=e.ordered?o===`.`?`)`:`.`:jx(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),Nx(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function Fx(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Ix(e,t,n,r){let i=Fx(n),a=n.bulletCurrent||Ax(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function Lx(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var Rx=Id([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function zx(e,t,n,r){return(e.children.some(function(e){return Rx(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Bx(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Vx.peek=Hx;function Vx(e,t,n,r){let i=Bx(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i),c=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()})),l=c.charCodeAt(0),u=fx(r.before.charCodeAt(r.before.length-1),l,i);u.inside&&(c=dx(l)+c.slice(1));let d=c.charCodeAt(c.length-1),f=fx(r.after.charCodeAt(0),d,i);f.inside&&(c=c.slice(0,-1)+dx(d));let p=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:f.outside,before:u.outside},s+c+p}function Hx(e,t,n){return n.options.strong||`*`}function Ux(e,t,n,r){return n.safe(e.value,r)}function Wx(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Gx(e,t,n){let r=(Nx(n)+(n.options.ruleSpaces?` `:``)).repeat(Wx(n));return n.options.ruleSpaces?r.slice(0,-1):r}var Kx={blockquote:Qb,break:nx,code:ox,definition:lx,emphasis:px,hardBreak:nx,heading:gx,html:_x,image:yx,imageReference:xx,inlineCode:Cx,link:Ex,linkReference:Ox,list:Px,listItem:Ix,paragraph:Lx,root:zx,strong:Vx,text:Ux,thematicBreak:Gx};function qx(){return{enter:{table:Jx,tableData:Qx,tableHeader:Qx,tableRow:Xx},exit:{codeText:$x,table:Yx,tableData:Zx,tableHeader:Zx,tableRow:Zx}}}function Jx(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function Yx(e){this.exit(e),this.data.inTable=void 0}function Xx(e){this.enter({type:`tableRow`,children:[]},e)}function Zx(e){this.exit(e)}function Qx(e){this.enter({type:`tableCell`,children:[]},e)}function $x(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,eS));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function eS(e,t){return t===`|`?t:e}function tS(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
|
|
286
|
+
`,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
|
|
287
|
+
`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return Yb(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=Kx.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function nS(){return{exit:{taskListCheckValueChecked:iS,taskListCheckValueUnchecked:iS,paragraph:aS}}}function rS(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:oS}}}function iS(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function aS(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function oS(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=Kx.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function sS(){return[pb(),Lb(),Hb(),qx(),nS()]}function cS(e){return{extensions:[mb(),Rb(e),Ub(),tS(e),rS()]}}var lS={tokenize:CS,partial:!0},uS={tokenize:wS,partial:!0},dS={tokenize:TS,partial:!0},fS={tokenize:ES,partial:!0},pS={tokenize:DS,partial:!0},mS={name:`wwwAutolink`,tokenize:xS,previous:OS},hS={name:`protocolAutolink`,tokenize:SS,previous:kS},gS={name:`emailAutolink`,tokenize:bS,previous:AS},_S={};function vS(){return{text:_S}}for(var yS=48;yS<123;)_S[yS]=gS,yS++,yS===58?yS=65:yS===91&&(yS=97);_S[43]=gS,_S[45]=gS,_S[46]=gS,_S[95]=gS,_S[72]=[gS,hS],_S[104]=[gS,hS],_S[87]=[gS,mS],_S[119]=[gS,mS];function bS(e,t,n){let r=this,i,a;return o;function o(t){return!jS(t)||!AS.call(r,r.previous)||MS(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return jS(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(pS,u,l)(t):t===45||t===95||ic(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&rc(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function xS(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!OS.call(r,r.previous)||MS(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(lS,e.attempt(uS,e.attempt(dS,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function SS(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&kS.call(r,r.previous)&&!MS(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(rc(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||oc(t)||uc(t)||pc(t)||fc(t)?n(t):e.attempt(uS,e.attempt(dS,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function CS(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function wS(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(fS,c,s)(t):t===null||uc(t)||pc(t)||t!==45&&fc(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function TS(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(fS,t,a)(o):o===null||uc(o)||pc(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function ES(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||uc(o)||pc(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||uc(e)||pc(e)?t(e):r(e)}function a(e){return rc(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):rc(t)?(e.consume(t),o):n(t)}}function DS(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return ic(e)?n(e):t(e)}}function OS(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||uc(e)}function kS(e){return!rc(e)}function AS(e){return!(e===47||jS(e))}function jS(e){return e===43||e===45||e===46||e===95||ic(e)}function MS(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var NS={tokenize:VS,partial:!0};function PS(){return{document:{91:{name:`gfmFootnoteDefinition`,tokenize:RS,continuation:{tokenize:zS},exit:BS}},text:{91:{name:`gfmFootnoteCall`,tokenize:LS},93:{name:`gfmPotentialFootnoteCall`,add:`after`,tokenize:FS,resolveTo:IS}}}}function FS(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=nc(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function IS(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function LS(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||uc(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(nc(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return uc(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function RS(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||uc(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=nc(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return uc(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),gc(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function zS(e,t,n){return e.check(jc,t,e.attempt(NS,t,n))}function BS(e){e.exit(`gfmFootnoteDefinition`)}function VS(e,t,n){let r=this;return gc(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function HS(e){let t=(e||{}).singleTilde,n={name:`strikethrough`,tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&Ys(o,o.length,0,wc(s,e.slice(r+1,n),t)),Ys(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),Ys(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=Cc(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=Cc(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var US=class{constructor(){this.map=[]}add(e,t,n){WS(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}};function WS(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function GS(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function KS(){return{flow:{null:{name:`table`,tokenize:qS,resolveAll:JS}}}}function qS(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?S:c;return a===S&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):A(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):dc(t)?gc(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||uc(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,dc(t)?gc(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):x(t)}function h(t){return dc(t)?gc(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||A(t)?b(t):x(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):x(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return dc(t)?gc(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||A(n)?!o||i!==a?x(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):x(n)}function x(e){return n(e)}function S(t){return e.enter(`tableRow`),C(t)}function C(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),C):n===null||A(n)?(e.exit(`tableRow`),t(n)):dc(n)?gc(e,C,`whitespace`)(n):(e.enter(`data`),ee(n))}function ee(t){return t===null||t===124||uc(t)?(e.exit(`data`),C(t)):(e.consume(t),t===92?w:ee)}function w(t){return t===92||t===124?(e.consume(t),ee):ee(t)}}function JS(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new US;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(XS(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=YS(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=YS(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=YS(f,t,o,i,n,d)):(o[0]=o[1],d=YS(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&XS(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=GS(t.events,n))}return e}function YS(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},ZS(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=ZS(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=ZS(t.events,n[2]),a=ZS(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},ZS(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function XS(e,t,n,r,i){let a=[],o=ZS(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function ZS(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var QS={name:`tasklistCheck`,tokenize:eC};function $S(){return{text:{91:QS}}}function eC(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return uc(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return A(r)?t(r):dc(r)?e.check({tokenize:tC},t,n)(r):n(r)}}function tC(e,t,n){return gc(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function nC(e){return Qs([vS(),PS(),HS(e),KS(),$S()])}var rC={};function iC(e){let t=this,n=e||rC,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(nC(n)),a.push(sS()),o.push(cS(n))}function aC(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:s,mathText:o,mathTextData:s}};function e(e){this.enter({type:`math`,meta:null,value:``,data:{hName:`pre`,hChildren:[{type:`element`,tagName:`code`,properties:{className:[`language-math`,`math-display`]},children:[]}]}},e)}function t(){this.buffer()}function n(){let e=this.resume(),t=this.stack[this.stack.length-1];t.type,t.meta=e}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(e){let t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t;let r=n.data.hChildren[0];r.type,r.tagName,r.children.push({type:`text`,value:t}),this.data.mathFlowInside=void 0}function a(e){this.enter({type:`inlineMath`,value:``,data:{hName:`code`,hProperties:{className:[`language-math`,`math-inline`]},hChildren:[]}},e),this.buffer()}function o(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t,n.data.hChildren.push({type:`text`,value:t})}function s(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}function oC(e){let t=(e||{}).singleDollarTextMath;return t??=!0,r.peek=i,{unsafe:[{character:`\r`,inConstruct:`mathFlowMeta`},{character:`
|
|
288
|
+
`,inConstruct:`mathFlowMeta`},{character:`$`,after:t?void 0:`\\$`,inConstruct:`phrasing`},{character:`$`,inConstruct:`mathFlowMeta`},{atBreak:!0,character:`$`,after:`\\$`}],handlers:{math:n,inlineMath:r}};function n(e,t,n,r){let i=e.value||``,a=n.createTracker(r),o=`$`.repeat(Math.max(rx(i,`$`)+1,2)),s=n.enter(`mathFlow`),c=a.move(o);if(e.meta){let t=n.enter(`mathFlowMeta`);c+=a.move(n.safe(e.meta,{after:`
|
|
289
|
+
`,before:c,encode:[`$`],...a.current()})),t()}return c+=a.move(`
|
|
290
|
+
`),i&&(c+=a.move(i+`
|
|
291
|
+
`)),c+=a.move(o),s(),c}function r(e,n,r){let i=e.value||``,a=1;for(t||a++;RegExp(`(^|[^$])`+`\\$`.repeat(a)+`([^$]|$)`).test(i);)a++;let o=`$`.repeat(a);/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^\$|\$$/.test(i))&&(i=` `+i+` `);let s=-1;for(;++s<r.unsafe.length;){let e=r.unsafe[s];if(!e.atBreak)continue;let t=r.compilePattern(e),n;for(;n=t.exec(i);){let e=n.index;i.codePointAt(e)===10&&i.codePointAt(e-1)===13&&e--,i=i.slice(0,e)+` `+i.slice(n.index+1)}}return o+i+o}function i(){return`$`}}var sC={tokenize:lC,concrete:!0,name:`mathFlow`},cC={tokenize:uC,partial:!0};function lC(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){return e.enter(`mathFlow`),e.enter(`mathFlowFence`),e.enter(`mathFlowFenceSequence`),c(t)}function c(t){return t===36?(e.consume(t),o++,c):o<2?n(t):(e.exit(`mathFlowFenceSequence`),gc(e,l,`whitespace`)(t))}function l(t){return t===null||A(t)?d(t):(e.enter(`mathFlowFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===null||A(t)?(e.exit(`chunkString`),e.exit(`mathFlowFenceMeta`),d(t)):t===36?n(t):(e.consume(t),u)}function d(n){return e.exit(`mathFlowFence`),r.interrupt?t(n):e.attempt(cC,f,g)(n)}function f(t){return e.attempt({tokenize:_,partial:!0},g,p)(t)}function p(t){return(a?gc(e,m,`linePrefix`,a+1):m)(t)}function m(t){return t===null?g(t):A(t)?e.attempt(cC,f,g)(t):(e.enter(`mathFlowValue`),h(t))}function h(t){return t===null||A(t)?(e.exit(`mathFlowValue`),m(t)):(e.consume(t),h)}function g(n){return e.exit(`mathFlow`),t(n)}function _(e,t,n){let i=0;return gc(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4);function a(t){return e.enter(`mathFlowFence`),e.enter(`mathFlowFenceSequence`),s(t)}function s(t){return t===36?(i++,e.consume(t),s):i<o?n(t):(e.exit(`mathFlowFenceSequence`),gc(e,c,`whitespace`)(t))}function c(r){return r===null||A(r)?(e.exit(`mathFlowFence`),t(r)):n(r)}}}function uC(e,t,n){let r=this;return i;function i(n){return n===null?t(n):(e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function dC(e){let t=(e||{}).singleDollarTextMath;return t??=!0,{tokenize:n,resolve:fC,previous:pC,name:`mathText`};function n(e,n,r){let i=0,a,o;return s;function s(t){return e.enter(`mathText`),e.enter(`mathTextSequence`),c(t)}function c(n){return n===36?(e.consume(n),i++,c):i<2&&!t?r(n):(e.exit(`mathTextSequence`),l(n))}function l(t){return t===null?r(t):t===36?(o=e.enter(`mathTextSequence`),a=0,d(t)):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),l):A(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),l):(e.enter(`mathTextData`),u(t))}function u(t){return t===null||t===32||t===36||A(t)?(e.exit(`mathTextData`),l(t)):(e.consume(t),u)}function d(t){return t===36?(e.consume(t),a++,d):a===i?(e.exit(`mathTextSequence`),e.exit(`mathText`),n(t)):(o.type=`mathTextData`,u(t))}}}function fC(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`mathTextData`){e[t][1].type=`mathTextPadding`,e[n][1].type=`mathTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`mathTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function pC(e){return e!==36||this.events[this.events.length-1][1].type===`characterEscape`}function mC(e){return{flow:{36:sC},text:{36:dC(e)}}}var hC={};function gC(e){let t=this,n=e||hC,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(mC(n)),a.push(aC()),o.push(oC(n))}var _C=400,vC=E(`mx-0 mt-0 mb-3 flex w-full items-center gap-3 rounded-md bg-[var(--surface-sunken)] px-3 py-2.5 text-body-small-lighter text-[var(--content-secondary)] last:mb-0`),yC=`w-0.5 shrink-0 self-stretch rounded-full bg-[var(--content-tertiary)]`,bC=`min-w-0 flex-1 [&_p]:mb-0`,xC=`rounded bg-stone-100 px-1 py-0.5 font-mono text-body-small-lighter dark:bg-moss-800`;function SC({visible:e,onClick:t,copied:n}){return(0,O.jsx)(`button`,{type:`button`,onClick:t,title:n?`Copied!`:`Copy`,className:E(`flex h-6 w-6 cursor-pointer items-center justify-center rounded-md bg-stone-200/80 text-[var(--content-tertiary)] transition-[opacity] duration-150 ease-out hover:bg-stone-300 hover:text-[var(--content-secondary)] [@media(hover:none)]:pointer-events-auto [@media(hover:none)]:opacity-100 dark:bg-moss-600/80 dark:hover:bg-moss-500 dark:hover:text-stone-200`,e?`pointer-events-auto opacity-100`:`pointer-events-none opacity-0`),children:(0,O.jsxs)(`div`,{className:`relative h-3.5 w-3.5`,children:[(0,O.jsx)(ie,{className:E(`absolute inset-0 h-3.5 w-3.5 text-[var(--system-positive-strong)] transition-opacity duration-150 ease-out`,n?`opacity-100`:`opacity-0`)}),(0,O.jsx)(rt,{className:E(`absolute inset-0 h-3.5 w-3.5 transition-opacity duration-150 ease-out`,n?`opacity-0`:`opacity-100`)})]})})}function CC({children:e}){let[t,n]=(0,D.useState)(!1),[r,i]=(0,D.useState)(!1),[a,o]=(0,D.useState)(!1),s=(0,D.useRef)(null),c=(0,D.useRef)(null);(0,D.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]);let l=D.Children.toArray(e).find(e=>(0,D.isValidElement)(e)&&e.props.className?.startsWith(`language-`)),u=(0,D.isValidElement)(l)?l.props.className?.replace(`language-`,``):void 0,d=(0,D.useCallback)(()=>{let e=c.current?.textContent??``;navigator.clipboard.writeText(e).then(()=>{n(!0),s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{n(!1),s.current=null},1500)}).catch(()=>{})},[]),f=r||a;return(0,O.jsxs)(`div`,{className:`group/code relative mb-2 overflow-hidden rounded-md bg-stone-100 last:mb-0 dark:bg-moss-800`,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),onFocus:()=>o(!0),onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||o(!1)},children:[u&&(0,O.jsxs)(`div`,{className:`flex items-center justify-between px-3 pt-2`,children:[(0,O.jsx)(`span`,{className:`font-mono text-xs font-medium uppercase text-[var(--content-tertiary)]`,children:u}),(0,O.jsx)(SC,{visible:f,onClick:d,copied:t})]}),(0,O.jsx)(`pre`,{ref:c,className:`overflow-auto p-3`,style:{maxHeight:_C},children:e}),!u&&(0,O.jsx)(`div`,{className:`absolute right-2 top-2`,children:(0,O.jsx)(SC,{visible:f,onClick:d,copied:t})})]})}function wC({href:e,children:t}){return(0,O.jsx)(`a`,{href:e,target:`_blank`,rel:`noopener noreferrer`,className:`text-forest-600 underline hover:text-forest-700 dark:text-forest-400 dark:hover:text-forest-300`,children:t})}var TC=/\p{Emoji_Presentation}/u,EC=/\p{Extended_Pictographic}/u,DC=`️`,OC=`︎`;function kC(e){return e.includes(DC)?!0:e.includes(OC)?!1:TC.test(e)}var AC=typeof Intl<`u`&&`Segmenter`in Intl?new Intl.Segmenter(void 0,{granularity:`grapheme`}):null;function jC(e){if(!EC.test(e)&&!e.includes(DC)||!AC)return e;let t=[],n=``,r=!1,i=0,a=()=>{n&&=(t.push(r?(0,O.jsx)(`span`,{style:{fontStyle:`normal`},children:n},i++):n),``)};for(let{segment:t}of AC.segment(e)){let e=kC(t);n&&e!==r&&a(),r=e,n+=t}return a(),t.length===1&&typeof t[0]==`string`?t[0]:t}function MC(e){return typeof e==`string`?jC(e):D.Children.map(e,e=>typeof e==`string`?jC(e):e)}function NC(e,t){return{p:({children:e})=>(0,O.jsx)(`p`,{className:`mb-6 last:mb-0`,children:e}),h1:({children:e})=>(0,O.jsx)(`h1`,{className:`mb-2 mt-3 text-title-medium !font-bold first:mt-0`,children:e}),h2:({children:e})=>(0,O.jsx)(`h2`,{className:`mb-2 mt-3 text-title-small !font-bold first:mt-0`,children:e}),h3:({children:e})=>(0,O.jsx)(`h3`,{className:`mb-1 mt-2 text-body-medium-default !font-bold first:mt-0`,children:e}),ul:({children:e})=>(0,O.jsx)(`ul`,{className:`mb-2 list-disc pl-5 last:mb-0`,children:e}),ol:({children:e,start:t})=>(0,O.jsx)(`ol`,{start:t,className:`mb-2 list-decimal pl-5 last:mb-0`,children:e}),h4:({children:e})=>(0,O.jsx)(`h4`,{className:`mb-1 mt-2 text-body-medium-default !font-bold first:mt-0`,children:e}),h5:({children:e})=>(0,O.jsx)(`h5`,{className:`mb-1 mt-2 text-body-small-lighter !font-bold first:mt-0`,children:e}),h6:({children:e})=>(0,O.jsx)(`h6`,{className:`mb-1 mt-2 text-body-small-lighter !font-bold text-[var(--content-secondary)] first:mt-0`,children:e}),li:({children:e,value:t})=>(0,O.jsx)(`li`,{value:t,className:`mb-0.5`,children:e}),a:({href:t,children:n})=>(0,O.jsx)(e,{href:t,children:n}),code:({className:e,children:t,...n})=>e?.startsWith(`language-`)?(0,O.jsx)(`code`,{className:E(`block w-max min-w-full font-mono text-body-small-lighter`,e),...n,children:t}):(0,O.jsx)(`code`,{className:xC,children:t}),pre:({children:e})=>(0,O.jsx)(CC,{children:e}),em:({children:e})=>(0,O.jsx)(`em`,{children:MC(e)}),blockquote:({children:e})=>(0,O.jsxs)(`blockquote`,{className:vC,children:[(0,O.jsx)(`span`,{"aria-hidden":`true`,className:yC}),(0,O.jsx)(`div`,{className:bC,children:e})]}),table:({children:e})=>(0,O.jsx)(`div`,{className:`mb-2 overflow-x-auto last:mb-0`,children:(0,O.jsx)(`table`,{className:`min-w-full border-collapse text-body-small-lighter`,children:e})}),thead:({children:e})=>(0,O.jsx)(`thead`,{className:`bg-[var(--surface-sunken)]`,children:e}),th:({children:e})=>(0,O.jsx)(`th`,{className:`border border-stone-200 px-2 py-1 text-left font-semibold [&_code]:whitespace-pre-wrap [&_code]:break-words [&_code]:box-decoration-clone dark:border-moss-600`,children:e}),td:({children:e})=>(0,O.jsx)(`td`,{className:`border border-stone-200 px-2 py-1 [&_code]:whitespace-pre-wrap [&_code]:break-words [&_code]:box-decoration-clone dark:border-moss-600`,children:e}),hr:()=>(0,O.jsx)(`hr`,{className:`my-3 border-[var(--border-subtle)]`}),img:({src:e,alt:n})=>{let r=typeof e==`string`?e:``,i=typeof n==`string`?n:``;return t?(0,O.jsx)(t,{src:r,alt:i}):!r||r.startsWith(`/`)||r.startsWith(`data:`)||r.startsWith(`blob:`)||r.startsWith(`.`)?(0,O.jsx)(`img`,{src:r,alt:i,className:`my-1 max-w-full rounded`}):(0,O.jsxs)(`span`,{className:`inline-flex items-center gap-1 rounded bg-stone-100 px-1.5 py-0.5 text-body-small-default text-stone-500 dark:bg-moss-800 dark:text-stone-400`,children:[`🔗 External image not rendered (`,i||r,`)`]})}}}var PC=/\$(\d[\d,]*(?:\.\d+)?(?:bn|tn|trn|[KMBT])?\+?)(?=$|[\s).,;:!?%"'’\]}/–—-]|&)/gi,FC=Mf().use(Hu).use(iC),IC=new Set([`text`]),LC=new Set([`inlineCode`,`code`,`html`]);function RC(e,t){let n=[],r=e=>{if(t.has(e.type)){let t=e.position?.start.offset,r=e.position?.end.offset;typeof t==`number`&&typeof r==`number`&&n.push([t,r]);return}if(Array.isArray(e.children))for(let t of e.children)r(t)};return r(e),n}function zC(e){return RC(FC.parse(e),IC)}function BC(e,t,n){let r=``,i=0;for(let[a,o]of t)a<i||(r+=e.slice(i,a),r+=n(e.slice(a,o),a),i=o);return r+=e.slice(i),r}function VC(e){if(!/\$\d/.test(e))return e;let t=zC(e);return t.length===0?e:BC(e,t,(t,n)=>t.replace(PC,(r,i,a)=>{let o=a>0?t[a-1]:n>0?e[n-1]:``;return o===`$`||o===`\\`?r:`\\$${i}`}))}function HC(e){if(!e.includes(`
|
|
292
|
+
`))return e;let t=zC(e);return t.length===0?e:BC(e,t,e=>e.replace(/\n/g,`
|
|
293
|
+
`))}var UC=[{open:`\\[`,close:`\\]`,dollars:`$$`},{open:`\\(`,close:`\\)`,dollars:`$`}];function WC(e,t){let n=0,r=e.length-1;for(;n<=r;){let i=n+r>>1,[a,o]=e[i];if(t<a)r=i-1;else if(t>=o)n=i+1;else return t+2<=o}return!1}function GC(e,t,n,r){for(let i=t;i<e.length;i+=1)if(e[i]===`\\`){if(e.startsWith(n,i)&&r(i))return i;if(UC.some(t=>e.startsWith(t.open,i))&&r(i))return-1;i+=1}return-1}function KC(e){if(!e.includes(`\\[`)&&!e.includes(`\\(`))return e;let t=FC.parse(e),n=RC(t,IC);if(n.length===0)return e;let r=RC(t,LC),i=e=>WC(n,e),a=``,o=0,s=0;for(;s<e.length;){if(e[s]!==`\\`){s+=1;continue}let t=UC.find(t=>e.startsWith(t.open,s));if(!t||!i(s)){s+=2;continue}let n=GC(e,s+t.open.length,t.close,i),c=n===-1?``:e.slice(s+t.open.length,n);if(!c.trim()||/\n[ \t]*\n/.test(c)){s+=2;continue}if(r.some(([e,t])=>e<n&&t>s)){s+=2;continue}a+=e.slice(o,s),a+=`${t.dollars}${c}${t.dollars}`,o=n+t.close.length,s=o}return a+e.slice(o)}function qC(e){return{type:`math`,value:e,data:{hName:`pre`,hChildren:[{type:`element`,tagName:`code`,properties:{className:[`language-math`,`math-display`]},children:[{type:`text`,value:e}]}]}}}function JC(e){return e.type===`break`?!0:e.type===`text`&&(e.value??``).trim()===``}function YC(){return(e,t)=>{let n=String(t),r=e=>{let t=e.position?.start.offset;return e.type===`inlineMath`&&typeof t==`number`&&n.startsWith(`$$`,t)},i=e=>{let t=[],n=[],i=()=>{for(;n.length>0&&JC(n[0]);)n.shift();for(;n.length>0&&JC(n[n.length-1]);)n.pop();n.length>0&&t.push({type:`paragraph`,children:n}),n=[]};for(let a of e.children)r(a)?(i(),t.push(qC(a.value??``))):n.push(a);return i(),t},a=e=>{if(!Array.isArray(e.children))return;let t=[],n=!1;for(let a of e.children){let e=a;e.type===`paragraph`&&Array.isArray(e.children)&&e.children.some(r)?(t.push(...i(e)),n=!0):t.push(a)}n&&(e.children=t);for(let t of e.children)a(t)};a(e)}}var XC=/^\s{0,3}(\d{1,9})[.)]/;function ZC(){return(e,t)=>{let n=String(t),r=e=>{if(e.type===`list`&&e.ordered&&Array.isArray(e.children)){let t=e.start??1;for(let r of e.children){let e=r,i=e.position?.start.offset,a=t;if(typeof i==`number`){let e=XC.exec(n.slice(i,i+16));e&&(a=Number(e[1]))}a!==t&&(e.data??={},e.data.hProperties??={},e.data.hProperties.value=a),t=a+1}}if(Array.isArray(e.children))for(let t of e.children)r(t)};r(e)}}function QC({content:e,className:t,hardLineBreaks:n,linkComponent:r,imageComponent:i,urlTransform:a,extraRehypePlugins:o,extraComponents:s}){let c=(0,D.useMemo)(()=>{let t=VC(e);return KC(n?HC(t):t)},[e,n]),l=r??wC,u=(0,D.useMemo)(()=>({...NC(l,i),...s}),[l,i,s]),d=(0,D.useMemo)(()=>[ib,...o??[]],[o]);return(0,O.jsx)(`div`,{"data-slot":`markdown-message`,className:E(`text-chat text-[var(--content-default)]`,t),children:(0,O.jsx)(Kf,{remarkPlugins:[iC,gC,ZC,YC],rehypePlugins:d,components:u,urlTransform:a,children:c})})}var $C=(0,D.createContext)({collapsed:!1,contentCollapsed:!1,variant:`rail`});function ew(){return(0,D.useContext)($C)}function tw(e){return e.variant===`rail`&&e.contentCollapsed}function nw(e){return e.variant===`rail`&&e.collapsed}function rw(){return tw(ew())}var iw={"--side-menu-tile-size":`36px`,"--side-menu-collapsed-inset":`8px`},aw=[`flex flex-col`,`bg-[var(--surface-overlay)]`,`text-[color:var(--content-default)]`,`overflow-hidden`].join(` `),ow=`border border-[var(--border-base)]`,sw=`pt-4 px-2 pb-2`,cw=[ow,`w-[230px]`,`rounded-[12px]`,sw].join(` `),lw=[ow,`box-content w-[var(--side-menu-tile-size)]`,`rounded-[12px]`,`pt-4 px-[var(--side-menu-collapsed-inset)] pb-2`].join(` `),uw=[ow,`rounded-[12px]`,sw].join(` `),dw=[`w-full`,`rounded-none`,`p-4`].join(` `),fw=150,pw=`transition-[width,padding] duration-[150ms] ease-in-out`;function mw(e,t,n){return e===`overlay`?dw:E(t?lw:n?uw:cw,pw)}function hw({ariaLabel:e,collapsed:t=!1,variant:n=`rail`,width:r,onWidthChange:i,minWidth:a=220,maxWidth:o=400,className:s,children:c,ref:l,style:u,...d}){let f=n===`overlay`?!1:t,p=n===`rail`&&i!=null,m=p&&!f&&r!=null,[h,g]=(0,D.useState)(f);!f&&h&&g(!1),(0,D.useEffect)(()=>{if(!f)return;let e=setTimeout(()=>g(!0),fw);return()=>clearTimeout(e)},[f]);let _=(0,D.useRef)(null),{handleProps:v,isResizing:y,paneId:b}=ht({side:`start`,defaultSize:r??a,minSize:a,maxSize:o,label:`Resize sidebar`,paneId:d.id,paneRef:_,onSizeCommit:i}),x=p&&!f&&r!=null?{...iw,...u,width:r}:{...iw,...u};return(0,O.jsx)($C,{value:{collapsed:f,contentCollapsed:h,variant:n},children:(0,O.jsxs)(`nav`,{ref:e=>{_.current=e,typeof l==`function`?l(e):l&&(l.current=e)},"data-slot":`side-menu`,role:`navigation`,"aria-label":e,className:E(aw,m&&`relative`,mw(n,f,p),y&&`transition-none`,s),style:x,...d,id:b,children:[c,m?(0,O.jsx)(gt,{...v,className:`absolute right-0 top-0 bottom-0 z-10 w-[6px] group/resize`,children:(0,O.jsx)(`div`,{className:`pointer-events-none absolute right-0 top-2 bottom-2 w-[2px] rounded-full bg-[var(--content-tertiary)] opacity-0 transition-opacity group-hover/resize:opacity-100 group-focus-visible/resize:opacity-100`})}):null]})})}function gw({className:e,children:t,ref:n,...r}){return(0,O.jsx)(`div`,{ref:n,"data-slot":`side-menu-header`,className:E(`flex flex-col gap-2`,e),...r,children:t})}function _w({className:e,children:t,ref:n,...r}){return(0,O.jsx)(`div`,{ref:n,"data-slot":`side-menu-body`,className:E(`flex flex-1 flex-col gap-3 overflow-y-auto overflow-x-hidden`,e),...r,children:t})}function vw({className:e,children:t,ref:n,...r}){return(0,O.jsx)(`div`,{ref:n,"data-slot":`side-menu-footer`,className:E(`mt-auto flex flex-col gap-2 pt-2`,e),...r,children:t})}function yw({className:e,ref:t,...n}){return(0,O.jsx)(`hr`,{ref:t,"data-slot":`side-menu-separator`,className:E(`my-1 h-px w-full border-0 bg-[var(--border-base)]`,e),...n})}function bw(e){let t=E(`flex shrink-0 items-center rounded-[6px]`,`h-[var(--side-menu-tile-size)] max-md:h-auto`,e.className);if(e.asChild===!0){let{asChild:n,className:r,children:i,ref:a,...o}=e;return(0,O.jsx)(te,{ref:a,"data-slot":`side-menu-section-header`,className:t,...o,children:i})}let{asChild:n,className:r,ref:i,...a}=e;return(0,O.jsx)(`div`,{ref:i,"data-slot":`side-menu-section-header`,className:t,...a})}function xw({title:e,actions:t,className:n,children:r,ref:i,...a}){let o=tw(ew());return(0,O.jsxs)(`div`,{ref:i,"data-slot":`side-menu-section`,className:E(`flex flex-col gap-2`,n),...a,children:[!o&&(e||t)?(0,O.jsxs)(`div`,{className:`flex h-[30px] items-center justify-between px-[6px]`,children:[e?(0,O.jsx)(ne,{variant:`body-medium-default`,as:`span`,className:`text-[color:var(--content-tertiary)]`,children:e}):(0,O.jsx)(`span`,{}),t?(0,O.jsx)(`div`,{className:`flex items-center gap-[4px]`,children:t}):null]}):null,r]})}function Sw({className:e,children:t,ref:n,...r}){return tw(ew())?null:(0,O.jsx)(`ul`,{ref:n,"data-slot":`side-menu-sub-list`,className:E(`flex flex-col gap-[4px] list-none p-0 m-0`,e),...r,children:t})}function Cw({icon:e,indent:t,active:n,collapsed:r,disabled:i}){return t?(0,O.jsx)(`span`,{"aria-hidden":!0,className:`inline-block h-[14px] w-[14px] shrink-0`}):e?typeof e==`string`?(0,O.jsx)(`span`,{"aria-hidden":!0,className:E(`inline-flex h-[14px] w-[14px] shrink-0 items-center justify-center text-[14px] leading-none`,r?`mx-auto`:void 0),children:e}):(0,O.jsx)(e,{size:14,"aria-hidden":!0,className:E(`shrink-0`,i?`text-[color:var(--content-disabled)]`:n?`text-[color:var(--content-default)]`:`text-[color:var(--content-tertiary)]`,r?`mx-auto`:void 0)}):null}function ww({children:e}){return(0,O.jsx)(`span`,{className:E(`inline-flex items-center justify-center`,`px-[4px] py-[2px] rounded-[4px]`,`bg-[var(--surface-base)]`,`text-label-small-default`,`text-[color:var(--content-tertiary)]`),children:e})}function Tw({icon:e,label:t,showCollapsedTooltip:n=!1,tooltip:r,badge:i,shape:a=`default`,indicator:o,disabled:s=!1,trailingIcon:c,trailingIconClassName:l,indent:u=!1,active:d=!1,emphasized:f=!1,size:p=`default`,onSelect:m,href:h,className:g,tabIndex:_,ref:y,...b}){let x=ew(),S=a===`tile`?nw(x):tw(x),C=S&&a===`tile`,ee=C?`size-[var(--side-menu-tile-size)] mx-auto rounded-full bg-[var(--panel-item-bg,var(--surface-lift))]`:`h-[30px] w-full max-md:h-auto rounded-[6px]`,w=s?`cursor-default text-[color:var(--content-disabled)]`:d?E(`cursor-pointer text-[color:var(--content-emphasised)]`,C?`bg-[var(--panel-item-active,var(--panel-item-bg,var(--surface-active)))]`:`bg-[var(--surface-active)]`):E(`cursor-pointer`,C?`hover:bg-[var(--panel-item-hover,var(--surface-active))]`:`hover:bg-[var(--surface-hover)]`,f?`text-[color:var(--content-emphasised)]`:`text-[color:var(--content-secondary)]`),T=E(`group relative flex items-center`,ee,`outline-none keyboard-focus:ring-2 keyboard-focus:ring-[var(--ring)]`,`select-none`,`transition-colors`,`gap-[6px] p-[6px]`,S?`justify-center`:`justify-start`,p===`compact`?`text-body-small-default max-md:text-body-large-default`:E(`text-body-medium-lighter max-md:text-body-large-default`,!C&&`max-md:py-3`),w,g),te=S?null:(0,O.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-left text-optical-center`,children:t}),ne=S||!i?null:(0,O.jsx)(ww,{children:i}),re=S||!c?null:(0,O.jsx)(c,{size:14,"aria-hidden":!0,className:E(`shrink-0 text-[color:var(--content-tertiary)]`,l)}),ie=(0,O.jsx)(Cw,{icon:e,indent:u,active:d,collapsed:S,disabled:s}),ae=S?o:null,oe=r??(n?t:void 0),se=S&&oe!=null,ce=S&&!se?t:void 0,le=d?`page`:void 0,ue=S?t:void 0,de=e=>se?(0,O.jsx)(v,{content:oe,side:`right`,children:e}):e;if(h){let{onClick:e,...t}=b;return de((0,O.jsxs)(`a`,{ref:y,"data-slot":`side-menu-item`,href:s?void 0:h,title:ce,"aria-current":le,"aria-label":ue,className:T,onClick:t=>{if(s){t.preventDefault();return}e?.(t),t.defaultPrevented||m?.()},...t,"aria-disabled":s||void 0,tabIndex:s?-1:_,children:[ie,te,ne,re,ae]}))}let{onClick:fe,onKeyDown:pe,...me}=b;return de((0,O.jsxs)(`button`,{ref:y,"data-slot":`side-menu-item`,type:`button`,title:ce,"aria-current":le,"aria-label":ue,className:T,onClick:e=>{if(s){e.preventDefault();return}fe?.(e),e.defaultPrevented||m?.()},onKeyDown:pe,...me,"aria-disabled":s||void 0,tabIndex:s?-1:_,children:[ie,te,ne,re,ae]}))}var Ew=hw;Ew.Header=gw,Ew.Body=_w,Ew.Footer=vw,Ew.Section=xw,Ew.SectionHeader=bw,Ew.SubList=Sw,Ew.Item=Tw,Ew.Separator=yw;var Dw=e(d(),1),Ow=0,kw=1,Aw=2,jw=4;function Mw(e){return()=>e}function Nw(e){e()}function Pw(e,t){return n=>e(t(n))}function Fw(e,t){return()=>e(t)}function Iw(e,t){return n=>e(t,n)}function Lw(e){return e!==void 0}function Rw(...e){return()=>{e.map(Nw)}}function zw(){}function Bw(e,t){return t(e),e}function Vw(e,t){return t(e)}function Hw(...e){return e}function Uw(e,t){return e(kw,t)}function Ww(e,t){e(Ow,t)}function Gw(e){e(Aw)}function Kw(e){return e(jw)}function q(e,t){return Uw(e,Iw(t,Ow))}function qw(e,t){let n=e(kw,e=>{n(),t(e)});return n}function Jw(e){let t,n;return r=>i=>{t=i,n&&clearTimeout(n),n=setTimeout(()=>{r(t)},e)}}function Yw(e,t){return e===t}function Xw(e=Yw){let t;return n=>r=>{e(t,r)||(t=r,n(r))}}function J(e){return t=>n=>{e(n)&&t(n)}}function Y(e){return t=>Pw(t,e)}function Zw(e){return t=>()=>{t(e)}}function X(e,...t){let n=nT(...t);return((t,r)=>{switch(t){case Aw:Gw(e);return;case kw:return Uw(e,n(r))}})}function Qw(e,t){return n=>r=>{n(t=e(t,r))}}function $w(e){return t=>n=>{e>0?e--:t(n)}}function eT(e){let t=null,n;return r=>i=>{t=i,!n&&(n=setTimeout(()=>{n=void 0,r(t)},e))}}function tT(...e){let t=Array(e.length),n=0,r=null,i=2**e.length-1;return e.forEach((e,a)=>{let o=2**a;Uw(e,e=>{let s=n;n|=o,t[a]=e,s!==i&&n===i&&r&&(r(),r=null)})}),e=>a=>{let o=()=>{e([a].concat(t))};n===i?o():r=o}}function nT(...e){return t=>e.reduceRight(Vw,t)}function rT(e){let t,n,r=()=>t?.();return function(i,a){switch(i){case kw:return a?n===a?void 0:(r(),n=a,t=Uw(e,a),t):(r(),zw);case Aw:r(),n=null;return}}}function Z(e){let t=e,n=aT();return((e,r)=>{switch(e){case Ow:t=r;break;case kw:r(t);break;case jw:return t}return n(e,r)})}function iT(e,t){return Bw(Z(t),t=>q(e,t))}function aT(){let e=[];return((t,n)=>{switch(t){case Ow:e.slice().forEach(e=>{e(n)});return;case Aw:e.splice(0,e.length);return;case kw:return e.push(n),()=>{let t=e.indexOf(n);t>-1&&e.splice(t,1)}}})}function oT(e){return Bw(aT(),t=>q(e,t))}function sT(e,t=[],{singleton:n}={singleton:!0}){return{constructor:e,dependencies:t,id:cT(),singleton:n}}var cT=()=>Symbol();function lT(e){let t=new Map,n=({constructor:e,dependencies:r,id:i,singleton:a})=>{if(a&&t.has(i))return t.get(i);let o=e(r.map(e=>n(e)));return a&&t.set(i,o),o};return n(e)}function uT(...e){let t=aT(),n=Array(e.length),r=0,i=2**e.length-1;return e.forEach((e,a)=>{let o=2**a;Uw(e,e=>{n[a]=e,r|=o,r===i&&Ww(t,n)})}),function(e,a){switch(e){case Aw:Gw(t);return;case kw:return r===i&&a(n),Uw(t,a)}}}function Q(e,t=Yw){return X(e,Xw(t))}function dT(...e){return function(t,n){switch(t){case Aw:return;case kw:return Rw(...e.map(e=>Uw(e,n)))}}}var fT={DEBUG:0,INFO:1,WARN:2,ERROR:3},pT={[fT.DEBUG]:`debug`,[fT.ERROR]:`error`,[fT.INFO]:`log`,[fT.WARN]:`warn`},mT=()=>typeof globalThis>`u`?window:globalThis,hT=sT(()=>{let e=Z(fT.ERROR);return{log:Z((t,n,r=fT.INFO)=>{r>=(mT().VIRTUOSO_LOG_LEVEL??Kw(e))&&console[pT[r]](`%creact-virtuoso: %c%s %o`,`color: #0253b3; font-weight: bold`,`color: initial`,t,n)}),logLevel:e}},[],{singleton:!0}),gT=new WeakMap;function _T(e){return`self`in e?e.document.documentElement:e}function vT(e){let t=_T(e),n=gT.get(t);if(n!==void 0)return n;let r=t.ownerDocument.defaultView.getComputedStyle(t).direction===`rtl`;return gT.set(t,r),r}function yT(e){gT.delete(_T(e))}function bT(e,t){return vT(e)?-t:t}var xT=bT;function ST(e,t){return bT(e,t)}function CT(e,t,n){return wT(e,t,n).callbackRef}function wT(e,t,n){let r=D.useRef(null),i=e=>{},a=D.useMemo(()=>typeof ResizeObserver<`u`?new ResizeObserver(t=>{let r=()=>{let n=t[0].target;n.offsetParent!==null&&e(n)};n?r():requestAnimationFrame(r)}):null,[e,n]);return i=e=>{e&&t?(a?.observe(e),r.current=e):(r.current&&a?.unobserve(r.current),r.current=null)},{callbackRef:i,ref:r}}function TT(e,t,n,r,i,a,o,s,c){return wT(D.useCallback(n=>{let c=ET(n.children,t,s?`offsetWidth`:`offsetHeight`,i),l=n.parentElement;for(;l.dataset.virtuosoScroller===void 0;)l=l.parentElement;let u=l.lastElementChild.dataset.viewportType===`window`,d;u&&(d=l.ownerDocument.defaultView);let f=o?s?o.scrollWidth:o.scrollHeight:u?s?d.document.documentElement.scrollWidth:d.document.documentElement.scrollHeight:s?l.scrollWidth:l.scrollHeight,p=o?s?o.offsetWidth:o.offsetHeight:u?s?d.innerWidth:d.innerHeight:s?l.offsetWidth:l.offsetHeight,m=o?s?xT(o,o.scrollLeft):o.scrollTop:u?s?xT(d,d.scrollX||d.document.documentElement.scrollLeft):d.scrollY||d.document.documentElement.scrollTop:s?xT(l,l.scrollLeft):l.scrollTop;r({scrollHeight:f,scrollTop:Math.max(m,0),viewportHeight:p}),a?.(s?DT(`column-gap`,getComputedStyle(n).columnGap,i):DT(`row-gap`,getComputedStyle(n).rowGap,i)),c!==null&&e(c)},[e,t,i,a,o,r,s]),n,c)}function ET(e,t,n,r){let i=e.length;if(i===0)return null;let a=[];for(let o=0;o<i;o++){let i=e.item(o);if(i.dataset.index===void 0)continue;let s=parseInt(i.dataset.index),c=parseFloat(i.dataset.knownSize),l=t(i,n);if(l===0&&r(`Zero-sized element, this should not happen`,{child:i},fT.ERROR),l===c)continue;let u=a[a.length-1];a.length===0||u.size!==l||u.endIndex!==s-1?a.push({endIndex:s,size:l,startIndex:s}):a[a.length-1].endIndex++}return a}function DT(e,t,n){return t!==`normal`&&t?.endsWith(`px`)!==!0&&n(`${e} was not resolved to pixel value correctly`,t,fT.WARN),t===`normal`?0:parseInt(t??`0`,10)}function OT(e,t,n){let r=D.useRef(null),i=D.useCallback(n=>{if(!n?.offsetParent)return;let i=n.getBoundingClientRect(),a=i.width,s,c;if(t){let e=t.getBoundingClientRect(),n=i.top-e.top;c=e.height-Math.max(0,n),s=n+t.scrollTop}else{let e=o.current.ownerDocument.defaultView;c=e.innerHeight-Math.max(0,i.top),s=i.top+e.scrollY}r.current={listHeight:i.height,offsetTop:s,visibleHeight:c,visibleWidth:a},e(r.current)},[e,t]),{callbackRef:a,ref:o}=wT(i,!0,n),s=D.useCallback(()=>{i(o.current)},[i,o]);return D.useEffect(()=>{if(t){t.addEventListener(`scroll`,s);let e=new ResizeObserver(()=>{requestAnimationFrame(s)});return e.observe(t),()=>{t.removeEventListener(`scroll`,s),e.unobserve(t)}}let e=o.current?.ownerDocument.defaultView;return e?.addEventListener(`scroll`,s),e?.addEventListener(`resize`,s),()=>{e?.removeEventListener(`scroll`,s),e?.removeEventListener(`resize`,s)}},[s,t,o]),a}var kT=sT(()=>{let e=aT(),t=aT(),n=Z(0),r=aT(),i=Z(0),a=aT(),o=aT(),s=Z(0),c=Z(0),l=Z(0),u=Z(0),d=aT(),f=aT(),p=Z(!1),m=Z(!1),h=Z(!1);return q(X(e,Y(({scrollTop:e})=>e)),t),q(X(e,Y(({scrollHeight:e})=>e)),o),q(t,i),{deviation:n,fixedFooterHeight:l,fixedHeaderHeight:c,footerHeight:u,headerHeight:s,horizontalDirection:m,scrollBy:f,scrollContainerState:e,scrollHeight:o,scrollingInProgress:p,scrollTo:d,scrollTop:t,skipAnimationFrameInResizeObserver:h,smoothScrollTargetReached:r,statefulScrollTop:i,viewportHeight:a}},[],{singleton:!0}),AT={lvl:0};function jT(e,t){let n=e.length;if(n===0)return[];let{index:r,value:i}=t(e[0]),a=[];for(let o=1;o<n;o++){let{index:n,value:s}=t(e[o]);a.push({end:n-1,start:r,value:i}),r=n,i=s}return a.push({end:1/0,start:r,value:i}),a}function MT(e){return e===AT}function NT(e,t){if(!MT(e))return t===e.k?e.v:t<e.k?NT(e.l,t):NT(e.r,t)}function PT(e,t,n=`k`){if(MT(e))return[-1/0,void 0];if(Number(e[n])===t)return[e.k,e.v];if(Number(e[n])<t){let r=PT(e.r,t,n);return r[0]===-1/0?[e.k,e.v]:r}return PT(e.l,t,n)}function FT(e,t,n){return MT(e)?KT(t,n,1):t===e.k?HT(e,{k:t,v:n}):t<e.k?qT(HT(e,{l:FT(e.l,t,n)})):qT(HT(e,{r:FT(e.r,t,n)}))}function IT(){return AT}function LT(e,t,n){if(MT(e))return[];let r=PT(e,t)[0];return XT(BT(e,r,n))}function RT(e,t){if(MT(e))return AT;let{k:n,l:r,r:i}=e;if(t===n){if(MT(r))return i;if(MT(i))return r;let[t,n]=GT(r);return VT(HT(e,{k:t,l:UT(r),v:n}))}return VT(t<n?HT(e,{l:RT(r,t)}):HT(e,{r:RT(i,t)}))}function zT(e){return MT(e)?[]:[...zT(e.l),{k:e.k,v:e.v},...zT(e.r)]}function BT(e,t,n){if(MT(e))return[];let{k:r,l:i,r:a,v:o}=e,s=[];return r>t&&(s=s.concat(BT(i,t,n))),r>=t&&r<=n&&s.push({k:r,v:o}),r<=n&&(s=s.concat(BT(a,t,n))),s}function VT(e){let{l:t,lvl:n,r}=e;if(r.lvl>=n-1&&t.lvl>=n-1)return e;if(n>r.lvl+1){if(WT(t))return JT(HT(e,{lvl:n-1}));if(!MT(t)&&!MT(t.r))return HT(t.r,{l:HT(t,{r:t.r.l}),lvl:n,r:HT(e,{l:t.r.r,lvl:n-1})});throw Error(`Unexpected empty nodes`)}if(WT(e))return YT(HT(e,{lvl:n-1}));if(!MT(r)&&!MT(r.l)){let t=r.l,i=WT(t)?r.lvl-1:r.lvl;return HT(t,{l:HT(e,{lvl:n-1,r:t.l}),lvl:t.lvl+1,r:YT(HT(r,{l:t.r,lvl:i}))})}throw Error(`Unexpected empty nodes`)}function HT(e,t){return KT(t.k===void 0?e.k:t.k,t.v===void 0?e.v:t.v,t.lvl===void 0?e.lvl:t.lvl,t.l===void 0?e.l:t.l,t.r===void 0?e.r:t.r)}function UT(e){return MT(e.r)?e.l:VT(HT(e,{r:UT(e.r)}))}function WT(e){return MT(e)||e.lvl>e.r.lvl}function GT(e){return MT(e.r)?[e.k,e.v]:GT(e.r)}function KT(e,t,n,r=AT,i=AT){return{k:e,l:r,lvl:n,r:i,v:t}}function qT(e){return YT(JT(e))}function JT(e){let{l:t}=e;return!MT(t)&&t.lvl===e.lvl?HT(t,{r:HT(e,{l:t.r})}):e}function YT(e){let{lvl:t,r:n}=e;return!MT(n)&&!MT(n.r)&&n.lvl===t&&n.r.lvl===t?HT(n,{l:HT(e,{r:n.l}),lvl:t+1}):e}function XT(e){return jT(e,({k:e,v:t})=>({index:e,value:t}))}function ZT(e,t){return!!(e&&e.startIndex===t.startIndex&&e.endIndex===t.endIndex)}function QT(e,t){return!!(e&&e[0]===t[0]&&e[1]===t[1])}var $T=sT(()=>({recalcInProgress:Z(!1)}),[],{singleton:!0});function eE(e,t,n){return e[tE(e,t,n)]}function tE(e,t,n,r=0){let i=e.length-1;for(;r<=i;){let a=Math.floor((r+i)/2),o=e[a],s=n(o,t);if(s===0)return a;if(s===-1){if(i-r<2)return a-1;i=a-1}else{if(i===r)return a;r=a+1}}throw Error(`Failed binary finding record in array - ${e.join(`,`)}, searched for ${t}`)}function nE(e,t,n,r){let i=tE(e,t,r),a=tE(e,n,r,i);return e.slice(i,a+1)}function rE(e,t){return Math.round(e.getBoundingClientRect()[t])}function iE(e){return!MT(e.groupOffsetTree)}function aE({index:e},t){return t===e?0:t<e?-1:1}function oE(){return{groupIndices:[],groupOffsetTree:IT(),lastIndex:0,lastOffset:0,lastSize:0,offsetTree:[],sizeTree:IT()}}function sE(e,t){let n=MT(e)?0:1/0;for(let r of t){let{endIndex:t,size:i,startIndex:a}=r;if(n=Math.min(n,a),MT(e)){e=FT(e,0,i);continue}let o=LT(e,a-1,t+1);if(o.some(yE(r)))continue;let s=!1,c=!1;for(let{end:n,start:r,value:a}of o)s?(t>=r||i===a)&&(e=RT(e,r)):(c=a!==i,s=!0),n>t&&t>=r&&a!==i&&(e=FT(e,t+1,a));c&&(e=FT(e,a,i))}return[e,n]}function cE(e){return typeof e.groupIndex<`u`}function lE({offset:e},t){return t===e?0:t<e?-1:1}function uE(e,t,n){if(t.length===0)return 0;let{index:r,offset:i,size:a}=eE(t,e,aE),o=e-r,s=a*o+(o-1)*n+i;return s>0?s+n:s}function dE(e,t){if(!iE(t))return e;let n=0;for(;t.groupIndices[n]<=e+n;)n++;return e+n}function fE(e,t,n){if(cE(e))return t.groupIndices[e.groupIndex]+1;let r=dE(e.index===`LAST`?n:e.index,t);return r=Math.max(0,r,Math.min(n,r)),r}function pE(e,t,n,r=0){return r>0&&(t=Math.max(t,eE(e,r,aE).offset)),jT(nE(e,t,n,lE),vE)}function mE(e,[t,n,r,i]){t.length>0&&r(`received item sizes`,t,fT.DEBUG);let a=e.sizeTree,o=a,s=0;if(n.length>0&&MT(a)&&t.length===2){let e=t[0].size,r=t[1].size;o=n.reduce((t,n)=>FT(FT(t,n,e),n+1,r),o)}else [o,s]=sE(o,t);if(o===a)return e;let{lastIndex:c,lastOffset:l,lastSize:u,offsetTree:d}=_E(e.offsetTree,s,o,i);return{groupIndices:n,groupOffsetTree:n.reduce((e,t)=>FT(e,t,uE(t,d,i)),IT()),lastIndex:c,lastOffset:l,lastSize:u,offsetTree:d,sizeTree:o}}function hE(e){return zT(e).map(({k:e,v:t},n,r)=>{let i=r[n+1];return{endIndex:i===void 0?1/0:i.k-1,size:t,startIndex:e}})}function gE(e,t){let n=0,r=0;for(;n<e;)n+=t[r+1]-t[r]-1,r++;return r-(n===e?0:1)}function _E(e,t,n,r){let i=e,a=0,o=0,s=0,c=0;if(t!==0){c=tE(i,t-1,aE),s=i[c].offset;let e=PT(n,t-1);a=e[0],o=e[1],i.length&&i[c].size===PT(n,t)[1]&&--c,i=i.slice(0,c+1)}else i=[];for(let{start:e,value:c}of LT(n,t,1/0)){let t=e-a,n=t*o+s+t*r;i.push({index:e,offset:n,size:c}),a=e,s=n,o=c}return{lastIndex:a,lastOffset:s,lastSize:o,offsetTree:i}}function vE(e){return{index:e.index,value:e}}function yE(e){let{endIndex:t,size:n,startIndex:r}=e;return e=>e.start===r&&(e.end===t||e.end===1/0)&&e.value===n}var bE={offsetHeight:`height`,offsetWidth:`width`},xE=sT(([{log:e},{recalcInProgress:t}])=>{let n=aT(),r=aT(),i=iT(r,0),a=aT(),o=aT(),s=Z(0),c=Z([]),l=Z(void 0),u=Z(void 0),d=Z(void 0),f=Z(void 0),p=Z((e,t)=>rE(e,bE[t])),m=Z(void 0),h=Z(0),g=oE(),_=iT(X(n,tT(c,e,h),Qw(mE,g),Xw()),g),v=iT(X(c,Xw(),Qw((e,t)=>({current:t,prev:e.current}),{current:[],prev:[]}),Y(({prev:e})=>e)),[]);q(X(c,J(e=>e.length>0),tT(_,h),Y(([e,t,n])=>{let r=e.reduce((e,r,i)=>FT(e,r,uE(r,t.offsetTree,n)||i),IT());return{...t,groupIndices:e,groupOffsetTree:r}})),_),q(X(r,tT(_),J(([e,{lastIndex:t}])=>e<t),Y(([e,{lastIndex:t,lastSize:n}])=>[{endIndex:t,size:n,startIndex:e}])),n),q(l,u);let y=iT(X(l,Y(e=>e===void 0)),!0);q(X(u,J(e=>e!==void 0&&MT(Kw(_).sizeTree)),Y(e=>{let t=Kw(d),n=Kw(c).length>0;return t!==void 0&&t!==0?n?[{endIndex:0,size:t,startIndex:0},{endIndex:1,size:e,startIndex:1}]:[]:[{endIndex:0,size:e,startIndex:0}]})),n),q(X(f,J(e=>e!==void 0&&e.length>0&&MT(Kw(_).sizeTree)),Y(e=>{let t=[],n=e[0],r=0;for(let i=1;i<e.length;i++){let a=e[i];a!==n&&(t.push({endIndex:i-1,size:n,startIndex:r}),n=a,r=i)}return t.push({endIndex:e.length-1,size:n,startIndex:r}),t})),n),q(X(c,tT(d,u),J(([,e,t])=>e!==void 0&&t!==void 0),Y(([e,t,n])=>{let r=[];for(let i=0;i<e.length;i++){let a=e[i],o=e[i+1];r.push({startIndex:a,endIndex:a,size:t}),o!==void 0&&r.push({startIndex:a+1,endIndex:o-1,size:n})}return r})),n);let b=oT(X(n,tT(_),Qw(({sizes:e},[t,n])=>({changed:n!==e,sizes:n}),{changed:!1,sizes:g}),Y(e=>e.changed)));Uw(X(s,Qw((e,t)=>({diff:e.prev-t,prev:t}),{diff:0,prev:0}),Y(e=>e.diff)),e=>{let{groupIndices:n}=Kw(_);if(e>0)Ww(t,!0),Ww(a,e+gE(e,n));else if(e<0){let t=Kw(v);t.length>0&&(e-=gE(-e,t)),Ww(o,e)}}),Uw(X(s,tT(e)),([e,t])=>{e<0&&t("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:s},fT.ERROR)});let x=oT(a);q(X(a,tT(_),Y(([e,t])=>{let n=t.groupIndices.length>0,r=[],i=t.lastSize;if(n){let n=NT(t.sizeTree,0),a=0,o=0;for(;a<e;){let e=t.groupIndices[o],s=t.groupIndices.length===o+1?1/0:t.groupIndices[o+1]-e-1;r.push({endIndex:e,size:n,startIndex:e}),r.push({endIndex:e+1+s-1,size:i,startIndex:e+1}),o++,a+=s+1}let s=zT(t.sizeTree);return a!==e&&s.shift(),s.reduce((t,{k:n,v:r})=>{let i=t.ranges;return t.prevSize!==0&&(i=[...t.ranges,{endIndex:n+e-1,size:t.prevSize,startIndex:t.prevIndex}]),{prevIndex:n+e,prevSize:r,ranges:i}},{prevIndex:e,prevSize:0,ranges:r}).ranges}return zT(t.sizeTree).reduce((t,{k:n,v:r})=>({prevIndex:n+e,prevSize:r,ranges:[...t.ranges,{endIndex:n+e-1,size:t.prevSize,startIndex:t.prevIndex}]}),{prevIndex:0,prevSize:i,ranges:[]}).ranges})),n);let S=oT(X(o,tT(_,h),Y(([e,{offsetTree:t},n])=>uE(-e,t,n))));return q(X(o,tT(_,h),Y(([e,t,n])=>{if(t.groupIndices.length>0){if(MT(t.sizeTree))return t;let r=IT(),i=Kw(v),a=0,o=0,s=0;for(;a<-e;){s=i[o];let e=i[o+1]-s-1;o++,a+=e+1}if(r=zT(t.sizeTree).reduce((t,{k:n,v:r})=>FT(t,Math.max(0,n+e),r),r),a!==-e){let n=NT(t.sizeTree,s);r=FT(r,0,n);let i=PT(t.sizeTree,-e+1)[1];r=FT(r,1,i)}return{...t,sizeTree:r,..._E(t.offsetTree,0,r,n)}}let r=zT(t.sizeTree).reduce((t,{k:n,v:r})=>FT(t,Math.max(0,n+e),r),IT());return{...t,sizeTree:r,..._E(t.offsetTree,0,r,n)}})),_),{beforeUnshiftWith:x,data:m,defaultItemSize:u,firstItemIndex:s,fixedItemSize:l,fixedGroupSize:d,gap:h,groupIndices:c,heightEstimates:f,itemSize:p,listRefresh:b,shiftWith:o,shiftWithOffset:S,sizeRanges:n,sizes:_,statefulTotalCount:i,totalCount:r,trackItemSizes:y,unshiftWith:a}},Hw(hT,$T),{singleton:!0});function SE(e){return e.reduce((e,t)=>(e.groupIndices.push(e.totalCount),e.totalCount+=t+1,e),{groupIndices:[],totalCount:0})}var CE=sT(([{groupIndices:e,sizes:t,totalCount:n},{headerHeight:r,scrollTop:i}])=>{let a=aT(),o=aT(),s=oT(X(a,Y(SE)));return q(X(s,Y(e=>e.totalCount)),n),q(X(s,Y(e=>e.groupIndices)),e),q(X(uT(i,t,r),J(([e,t])=>iE(t)),Y(([e,t,n])=>PT(t.groupOffsetTree,Math.max(e-n,0),`v`)[0]),Xw(),Y(e=>[e])),o),{groupCounts:a,topItemsIndexes:o}},Hw(xE,kT)),wE=sT(([{log:e}])=>{let t=Z(!1),n=oT(X(t,J(e=>e),Xw()));return Uw(t,t=>{t&&Kw(e)(`props updated`,{},fT.DEBUG)}),{didMount:n,propsReady:t}},Hw(hT),{singleton:!0}),TE=typeof document<`u`&&`scrollBehavior`in document.documentElement.style;function EE(e){let t=typeof e==`number`?{index:e}:e;return t.align||=`start`,(!t.behavior||!TE)&&(t.behavior=`auto`),t.offset===void 0&&(t.offset=0),t}var DE=sT(([{gap:e,listRefresh:t,sizes:n,totalCount:r},{fixedFooterHeight:i,fixedHeaderHeight:a,footerHeight:o,headerHeight:s,scrollingInProgress:c,scrollTo:l,smoothScrollTargetReached:u,viewportHeight:d},{log:f}])=>{let p=aT(),m=aT(),h=Z(0),g=null,_=null,v=null;function y(){g!==null&&(g(),g=null),v!==null&&(v(),v=null),_&&=(clearTimeout(_),null),Ww(c,!1)}return q(X(p,tT(n,d,r,h,s,o,f),tT(e,a,i),Y(([[e,n,r,i,a,o,s,l],d,f,h])=>{let b=EE(e),{align:x,behavior:S,offset:C}=b,ee=i-1,w=fE(b,n,ee),T=uE(w,n.offsetTree,d)+o;x===`end`?(T+=f+PT(n.sizeTree,w)[1]-r+h,w===ee&&(T+=s)):x===`center`?T+=(f+PT(n.sizeTree,w)[1]-r+h)/2:T-=a,C!==void 0&&C!==0&&(T+=C);let te=t=>{y(),t?(l(`retrying to scroll to`,{location:e},fT.DEBUG),Ww(p,e)):(Ww(m,!0),l(`list did not change, scroll successful`,{},fT.DEBUG))};if(y(),S===`smooth`){let e=!1;v=Uw(t,t=>{e||=t}),g=qw(u,()=>{te(e)})}else g=qw(X(t,OE(150)),te);return _=setTimeout(()=>{y()},1200),Ww(c,!0),l(`scrolling from index to`,{behavior:S,index:w,top:T},fT.DEBUG),{behavior:S,top:T}})),l),{scrollTargetReached:m,scrollToIndex:p,topListHeight:h}},Hw(xE,kT,hT),{singleton:!0});function OE(e){return t=>{let n=setTimeout(()=>{t(!1)},e);return e=>{e&&(t(!0),clearTimeout(n))}}}function kE(e,t){e===0?t():requestAnimationFrame(()=>{kE(e-1,t)})}function AE(e,t){let n=t-1;return typeof e==`number`?e:e.index===`LAST`?n:e.index}var jE=sT(([{defaultItemSize:e,listRefresh:t,sizes:n},{scrollTop:r},{scrollTargetReached:i,scrollToIndex:a},{didMount:o}])=>{let s=Z(!0),c=Z(0),l=Z(!0);return q(X(o,tT(c),J(([e,t])=>t!==0),Zw(!1)),s),q(X(o,tT(c),J(([e,t])=>t!==0),Zw(!1)),l),Uw(X(uT(t,o),tT(s,n,e,l),J(([[,e],t,{sizeTree:n},r,i])=>e&&(!MT(n)||Lw(r))&&!t&&!i),tT(c)),([,e])=>{qw(i,()=>{Ww(l,!0)}),kE(4,()=>{qw(r,()=>{Ww(s,!0)}),Ww(a,e)})}),{initialItemFinalLocationReached:l,initialTopMostItemIndex:c,scrolledToInitialItem:s}},Hw(xE,kT,DE,wE),{singleton:!0});function ME(e,t){return Math.abs(e-t)<1.01}var NE=`up`,PE=`down`,FE=`none`,IE={atBottom:!1,notAtBottomBecause:`NOT_SHOWING_LAST_ITEM`,state:{offsetBottom:0,scrollHeight:0,scrollTop:0,viewportHeight:0}},LE=0,RE=sT(([{footerHeight:e,headerHeight:t,scrollBy:n,scrollContainerState:r,scrollTop:i,viewportHeight:a}])=>{let o=Z(!1),s=Z(!0),c=aT(),l=aT(),u=Z(4),d=Z(LE),f=iT(X(dT(X(Q(i),$w(1),Zw(!0)),X(Q(i),$w(1),Zw(!1),Jw(100))),Xw()),!1),p=iT(X(dT(X(n,Zw(!0)),X(n,Zw(!1),Jw(200))),Xw()),!1);q(X(uT(Q(i),Q(d)),Y(([e,t])=>e<=t),Xw()),s),q(X(s,eT(50)),l);let m=oT(X(uT(r,Q(a),Q(t),Q(e),Q(u)),Qw((e,[{scrollHeight:t,scrollTop:n},r,i,a,o])=>{let s=n+r-t>-o,c={scrollHeight:t,scrollTop:n,viewportHeight:r};if(s){let t,r;return n>e.state.scrollTop?(t=`SCROLLED_DOWN`,r=e.state.scrollTop-n):(t=`SIZE_DECREASED`,r=e.state.scrollTop-n||e.scrollTopDelta),{atBottom:!0,atBottomBecause:t,scrollTopDelta:r,state:c}}let l;return l=c.scrollHeight>e.state.scrollHeight?`SIZE_INCREASED`:r<e.state.viewportHeight?`VIEWPORT_HEIGHT_DECREASING`:n<e.state.scrollTop?`SCROLLING_UPWARDS`:`NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM`,{atBottom:!1,notAtBottomBecause:l,state:c}},IE),Xw((e,t)=>e!==void 0&&e.atBottom===t.atBottom))),h=iT(X(r,Qw((e,{scrollHeight:t,scrollTop:n,viewportHeight:r})=>{if(!ME(e.scrollHeight,t)){let i=t-(n+r)<1;return e.scrollTop!==n&&i?{changed:!0,jump:e.scrollTop-n,scrollHeight:t,scrollTop:n}:{changed:!0,jump:0,scrollHeight:t,scrollTop:n}}return{changed:!1,jump:0,scrollHeight:t,scrollTop:n}},{changed:!1,jump:0,scrollHeight:0,scrollTop:0}),J(e=>e.changed),Y(e=>e.jump)),0);q(X(m,Y(e=>e.atBottom)),o),q(X(o,eT(50)),c);let g=Z(PE);q(X(r,Y(({scrollTop:e})=>e),Xw(),Qw((e,t)=>Kw(p)?{direction:e.direction,prevScrollTop:t}:{direction:t<e.prevScrollTop?NE:PE,prevScrollTop:t},{direction:PE,prevScrollTop:0}),Y(e=>e.direction)),g),q(X(r,eT(50),Zw(FE)),g);let _=Z(0);return q(X(f,J(e=>!e),Zw(0)),_),q(X(i,eT(100),tT(f),J(([e,t])=>t),Qw(([e,t],[n])=>[t,n],[0,0]),Y(([e,t])=>t-e)),_),{atBottomState:m,atBottomStateChange:c,atBottomThreshold:u,atTopStateChange:l,atTopThreshold:d,isAtBottom:o,isAtTop:s,isScrolling:f,lastJumpDueToItemResize:h,scrollDirection:g,scrollVelocity:_}},Hw(kT)),zE=`top`,BE=`bottom`,VE=`none`;function HE(e,t,n){return typeof e==`number`?n===NE&&t===zE||n===PE&&t===BE?e:0:n===NE?t===zE?e.main:e.reverse:t===BE?e.main:e.reverse}function UE(e,t){return typeof e==`number`?e:e[t]??0}var WE=sT(([{deviation:e,fixedHeaderHeight:t,headerHeight:n,scrollTop:r,viewportHeight:i}])=>{let a=aT(),o=Z(0),s=Z(0),c=Z(0);return{increaseViewportBy:s,listBoundary:a,overscan:c,topListHeight:o,visibleRange:iT(X(uT(Q(r),Q(i),Q(n),Q(a,QT),Q(c),Q(o),Q(t),Q(e),Q(s)),Y(([e,t,n,[r,i],a,o,s,c,l])=>{let u=e-c,d=o+s,f=Math.max(n-u,0),p=VE,m=UE(l,zE),h=UE(l,BE);return r-=c,r+=n+s,i+=n+s,i-=c,r>e+d-m&&(p=NE),i<e-f+t+h&&(p=PE),p===VE?null:[Math.max(u-n-HE(a,zE,p)-m,0),u-f-s+t+HE(a,BE,p)+h]}),J(e=>e!==null),Xw(QT)),[0,0])}},Hw(kT),{singleton:!0});function GE(e,t,n){if(iE(t)){let r=dE(e,t);return[{index:PT(t.groupOffsetTree,r)[0],offset:0,size:0},{data:n?.[0],index:r,offset:0,size:0}]}return[{data:n?.[0],index:e,offset:0,size:0}]}var KE={bottom:0,firstItemIndex:0,items:[],offsetBottom:0,offsetTop:0,top:0,topItems:[],topListHeight:0,totalCount:0};function qE(e,t,n,r,i,a){let{lastIndex:o,lastOffset:s,lastSize:c}=i,l=0,u=0;if(e.length>0){l=e[0].offset;let t=e[e.length-1];u=t.offset+t.size}let d=n-o,f=s+d*c+(d-1)*r,p=l,m=f-u;return{bottom:u,firstItemIndex:a,items:YE(e,i,a),offsetBottom:m,offsetTop:l,top:p,topItems:YE(t,i,a),topListHeight:t.reduce((e,t)=>t.size+e,0),totalCount:n}}function JE(e,t,n,r,i,a){let o=0;if(n.groupIndices.length>0)for(let t of n.groupIndices){if(t-o>=e)break;o++}let s=e+o,c=AE(t,s);return qE(Array.from({length:s}).map((e,t)=>({data:a[t+c],index:t+c,offset:0,size:0})),[],s,i,n,r)}function YE(e,t,n){if(e.length===0)return[];if(!iE(t))return e.map(e=>({...e,index:e.index+n,originalIndex:e.index}));let r=e[0].index,i=e[e.length-1].index,a=[],o=LT(t.groupOffsetTree,r,i),s,c=0;for(let r of e){(!s||s.end<r.index)&&(s=o.shift(),c=t.groupIndices.indexOf(s.start));let e;e=r.index===s.start?{index:c,type:`group`}:{groupIndex:c,index:r.index-(c+1)+n},a.push({...e,data:r.data,offset:r.offset,originalIndex:r.index,size:r.size})}return a}function XE(e,t){return e===void 0?0:typeof e==`number`?e:e[t]??0}var ZE=sT(([{data:e,firstItemIndex:t,gap:n,sizes:r,totalCount:i},a,{listBoundary:o,topListHeight:s,visibleRange:c},{initialTopMostItemIndex:l,scrolledToInitialItem:u},{topListHeight:d},f,{didMount:p},{recalcInProgress:m}])=>{let h=Z([]),g=Z(0),_=aT(),v=Z(0);q(a.topItemsIndexes,h);let y=iT(X(uT(p,m,Q(c,QT),Q(i),Q(r),Q(l),u,Q(h),Q(t),Q(n),Q(v),e),J(([e,t,,n,,,,,,,,r])=>{let i=r!==void 0&&r.length!==n;return e&&!t&&!i}),Y(([,,[e,t],n,r,i,a,o,s,c,l,u])=>{let d=r,{offsetTree:f,sizeTree:p}=d,m=Kw(g);if(n===0)return{...KE,totalCount:n};if(e===0&&t===0)return m===0?{...KE,totalCount:n}:JE(m,i,r,s,c,u||[]);if(MT(p))return m>0?null:qE(GE(AE(i,n),d,u),[],n,c,d,s);let h=[];if(o.length>0){let e=o[0],t=o[o.length-1],n=0;for(let r of LT(p,e,t)){let i=r.value,a=Math.max(r.start,e),o=Math.min(r.end,t);for(let e=a;e<=o;e++)h.push({data:u?.[e],index:e,offset:n,size:i}),n+=i}}if(!a)return qE([],h,n,c,d,s);let _=o.length>0?o[o.length-1]+1:0,v=pE(f,e,t,_);if(v.length===0)return null;let y=n-1,b=Bw([],n=>{for(let r of v){let i=r.value,a=i.offset,o=r.start,s=i.size;if(i.offset<e){o+=Math.floor((e-i.offset+c)/(s+c));let t=o-r.start;a+=t*s+t*c}o<_&&(a+=(_-o)*s,o=_);let l=Math.min(r.end,y);for(let e=o;e<=l&&!(a>=t);e++)n.push({data:u?.[e],index:e,offset:a,size:s}),a+=s+c}}),x=XE(l,zE),S=XE(l,BE);if(b.length>0&&(x>0||S>0)){let e=b[0],t=b[b.length-1];if(x>0&&e.index>_){let t=Math.min(x,e.index-_),n=[],r=e.offset;for(let i=e.index-1;i>=e.index-t;i--){let t=LT(p,i,i)[0]?.value??e.size;r-=t+c,n.unshift({data:u?.[i],index:i,offset:r,size:t})}b.unshift(...n)}if(S>0&&t.index<y){let e=Math.min(S,y-t.index),n=t.offset+t.size+c;for(let r=t.index+1;r<=t.index+e;r++){let e=LT(p,r,r)[0]?.value??t.size;b.push({data:u?.[r],index:r,offset:n,size:e}),n+=e+c}}}return qE(b,h,n,c,d,s)}),J(e=>e!==null),Xw()),KE);q(X(e,J(Lw),Y(e=>e?.length)),i),q(X(y,Y(e=>e.topListHeight)),d),q(d,s),q(X(y,Y(e=>[e.top,e.bottom])),o),q(X(y,Y(e=>e.items)),_);let b=oT(X(y,J(({items:e})=>e.length>0),tT(i,e),J(([{items:e},t])=>e[e.length-1].originalIndex===t-1),Y(([,e,t])=>[e-1,t]),Xw(QT),Y(([e])=>e))),x=oT(X(y,eT(200),J(({items:e,topItems:t})=>e.length>0&&e[0].originalIndex===t.length),Y(({items:e})=>e[0].index),Xw()));return{endReached:b,initialItemCount:g,itemsRendered:_,listState:y,minOverscanItemCount:v,rangeChanged:oT(X(y,J(({items:e})=>e.length>0),Y(({items:e})=>{let t=0,n=e.length-1;for(;e[t].type===`group`&&t<n;)t++;for(;e[n].type===`group`&&n>t;)n--;return{endIndex:e[n].index,startIndex:e[t].index}}),Xw(ZT))),startReached:x,topItemsIndexes:h,...f}},Hw(xE,CE,WE,jE,DE,RE,wE,$T),{singleton:!0}),QE=sT(([{fixedFooterHeight:e,fixedHeaderHeight:t,footerHeight:n,headerHeight:r},{listState:i}])=>{let a=aT(),o=iT(X(uT(n,e,r,t,i),Y(([e,t,n,r,i])=>e+t+n+r+i.offsetBottom+i.bottom)),0);return q(Q(o),a),{totalListHeight:o,totalListHeightChanged:a}},Hw(kT,ZE),{singleton:!0}),$E=sT(([{viewportHeight:e},{totalListHeight:t}])=>{let n=Z(!1);return{alignToBottom:n,paddingTopAddition:iT(X(uT(n,e,t),J(([e])=>e),Y(([,e,t])=>Math.max(0,e-t)),eT(0),Xw()),0)}},Hw(kT,QE),{singleton:!0}),eD=sT(()=>({context:Z(null)})),tD=({itemBottom:e,itemTop:t,locationParams:{align:n,behavior:r,...i},viewportBottom:a,viewportTop:o})=>t<o?{...i,align:n??`start`,...r===void 0?{}:{behavior:r}}:e>a?{...i,align:n??`end`,...r===void 0?{}:{behavior:r}}:null,nD=sT(([{gap:e,sizes:t,totalCount:n},{fixedFooterHeight:r,fixedHeaderHeight:i,headerHeight:a,scrollingInProgress:o,scrollTop:s,viewportHeight:c},{scrollToIndex:l}])=>{let u=aT();return q(X(u,tT(t,c,n,a,i,r,s),tT(e),Y(([[e,t,n,r,i,a,s,c],l])=>{let{calculateViewLocation:u=tD,done:d,...f}=e,p=fE(e,t,r-1),m=uE(p,t.offsetTree,l)+i+a,h=m+PT(t.sizeTree,p)[1],g=c+a,_=u({itemBottom:h,itemTop:m,locationParams:f,viewportBottom:c+n-s,viewportTop:g});return _===null?d?.():d&&qw(X(o,J(e=>!e),$w(Kw(o)?1:2)),d),_}),J(e=>e!==null)),l),{scrollIntoView:u}},Hw(xE,kT,DE,ZE,hT),{singleton:!0});function rD(e){return e===!1?!1:e===`smooth`?`smooth`:`auto`}var iD=(e,t)=>typeof e==`function`?rD(e(t)):t&&rD(e),aD=sT(([{listRefresh:e,totalCount:t,fixedItemSize:n,data:r},{atBottomState:i,isAtBottom:a},{scrollToIndex:o},{scrolledToInitialItem:s},{didMount:c,propsReady:l},{log:u},{scrollingInProgress:d},{context:f},{scrollIntoView:p}])=>{let m=Z(!1),h=aT(),g=null;function _(e){Ww(o,{align:`end`,behavior:e,index:`LAST`})}Uw(X(uT(X(Q(t),$w(1)),c),tT(Q(m),a,s,d),Y(([[e,t],n,r,i,a])=>{let o=t&&i,s=`auto`;return o&&(s=iD(n,r||a),o&&=s!==!1),{followOutputBehavior:s,shouldFollow:o,totalCount:e}}),J(({shouldFollow:e})=>e)),({followOutputBehavior:t,totalCount:r})=>{g!==null&&(g(),g=null),Kw(n)===void 0?g=qw(e,()=>{Kw(u)(`following output to `,{totalCount:r},fT.DEBUG),_(t),g=null}):requestAnimationFrame(()=>{Kw(u)(`following output to `,{totalCount:r},fT.DEBUG),_(t)})});function v(e){let t=qw(i,t=>{e&&!t.atBottom&&t.notAtBottomBecause===`SIZE_INCREASED`&&g===null&&(Kw(u)(`scrolling to bottom due to increased size`,{},fT.DEBUG),_(`auto`))});setTimeout(t,100)}Uw(X(uT(Q(m),t,l),J(([e,,t])=>e!==!1&&t),Qw(({value:e},[,t])=>({refreshed:e===t,value:t}),{refreshed:!1,value:0}),J(({refreshed:e})=>e),tT(m,t)),([,e])=>{Kw(s)&&v(e!==!1)}),Uw(h,()=>{v(Kw(m)!==!1)}),Uw(uT(Q(m),i),([e,t])=>{e!==!1&&!t.atBottom&&t.notAtBottomBecause===`VIEWPORT_HEIGHT_DECREASING`&&_(`auto`)});let y=Z(null),b=aT();return q(dT(X(Q(r),Y(e=>e?.length??0)),X(Q(t))),b),Uw(X(uT(X(b,$w(1)),c),tT(Q(y),s,d,f),Y(([[e,t],n,r,i,a])=>t&&r&&n?.({context:a,totalCount:e,scrollingInProgress:i})),J(e=>!!e),eT(0)),t=>{g!==null&&(g(),g=null),Kw(n)===void 0?g=qw(e,()=>{Kw(u)(`scrolling into view`,{}),Ww(p,t),g=null}):requestAnimationFrame(()=>{Kw(u)(`scrolling into view`,{}),Ww(p,t)})}),{autoscrollToBottom:h,followOutput:m,scrollIntoViewOnChange:y}},Hw(xE,RE,DE,jE,wE,hT,kT,eD,nD)),oD=sT(([{data:e,firstItemIndex:t,gap:n,sizes:r},{initialTopMostItemIndex:i},{initialItemCount:a,listState:o},{didMount:s}])=>(q(X(s,tT(a),J(([,e])=>e!==0),tT(i,r,t,n,e),Y(([[,e],t,n,r,i,a=[]])=>JE(e,t,n,r,i,a))),o),{}),Hw(xE,jE,ZE,wE),{singleton:!0}),sD=sT(([{didMount:e},{scrollTo:t},{listState:n}])=>{let r=Z(0);return Uw(X(e,tT(r),J(([,e])=>e!==0),Y(([,e])=>({top:e}))),e=>{qw(X(n,$w(1),J(e=>e.items.length>1)),()=>{requestAnimationFrame(()=>{Ww(t,e)})})}),{initialScrollTop:r}},Hw(wE,kT,ZE),{singleton:!0}),cD=sT(([{scrollVelocity:e}])=>{let t=Z(!1),n=aT(),r=Z(!1);return q(X(e,tT(r,t,n),J(([e,t])=>t!==!1&&t!==void 0),Y(([e,t,n,r])=>{let{enter:i,exit:a}=t;if(n){if(a(e,r))return!1}else if(i(e,r))return!0;return n}),Xw()),t),Uw(X(uT(t,e,n),tT(r)),([[e,t,n],r])=>{e&&r!==!1&&r!==void 0&&r.change&&r.change(t,n)}),{isSeeking:t,scrollSeekConfiguration:r,scrollSeekRangeChanged:n,scrollVelocity:e}},Hw(RE),{singleton:!0}),lD=sT(([{scrollContainerState:e,scrollTo:t}])=>{let n=aT(),r=aT(),i=aT(),a=Z(!1),o=Z(void 0);return q(X(uT(n,r),Y(([{scrollTop:e,viewportHeight:t},{offsetTop:n,listHeight:r}])=>({scrollHeight:r,scrollTop:Math.max(0,e-n),viewportHeight:t}))),e),q(X(t,tT(r),Y(([e,{offsetTop:t}])=>({...e,top:e.top+t}))),i),{customScrollParent:o,useWindowScroll:a,windowScrollContainerState:n,windowScrollTo:i,windowViewportRect:r}},Hw(kT)),uD=sT(([{sizeRanges:e,sizes:t},{headerHeight:n,scrollTop:r},{initialTopMostItemIndex:i},{didMount:a},{useWindowScroll:o,windowScrollContainerState:s,windowViewportRect:c}])=>{let l=aT(),u=Z(void 0),d=Z(null),f=Z(null);return q(s,d),q(c,f),Uw(X(l,tT(t,r,o,d,f,n)),([e,t,n,r,i,a,o])=>{let s=hE(t.sizeTree);r&&i!==null&&a!==null&&(n=i.scrollTop-a.offsetTop),n-=o,e({ranges:s,scrollTop:n})}),q(X(u,J(Lw),Y(dD)),i),q(X(a,tT(u),J(([,e])=>e!==void 0),Xw(),Y(([,e])=>e.ranges)),e),{getState:l,restoreStateFrom:u}},Hw(xE,kT,jE,wE,lD));function dD(e){return{align:`start`,index:0,offset:e.scrollTop}}var fD=sT(([{topItemsIndexes:e}])=>{let t=Z(0);return q(X(t,J(e=>e>=0),Y(e=>Array.from({length:e}).map((e,t)=>t))),e),{topItemCount:t}},Hw(ZE));function pD(e){let t=!1,n;return(()=>(t||(t=!0,n=e()),n))}var mD=pD(()=>/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)),hD=sT(([{data:e,defaultItemSize:t,firstItemIndex:n,fixedItemSize:r,fixedGroupSize:i,gap:a,groupIndices:o,heightEstimates:s,itemSize:c,sizeRanges:l,sizes:u,statefulTotalCount:d,totalCount:f,trackItemSizes:p},{initialItemFinalLocationReached:m,initialTopMostItemIndex:h,scrolledToInitialItem:g},_,v,y,b,{scrollToIndex:x},S,{topItemCount:C},{groupCounts:ee},w])=>{let{listState:T,minOverscanItemCount:te,topItemsIndexes:E,rangeChanged:ne,...re}=b;return q(ne,w.scrollSeekRangeChanged),q(X(w.windowViewportRect,Y(e=>e.visibleHeight)),_.viewportHeight),{data:e,defaultItemHeight:t,firstItemIndex:n,fixedItemHeight:r,fixedGroupHeight:i,gap:a,groupCounts:ee,heightEstimates:s,initialItemFinalLocationReached:m,initialTopMostItemIndex:h,scrolledToInitialItem:g,sizeRanges:l,topItemCount:C,topItemsIndexes:E,totalCount:f,...y,groupIndices:o,itemSize:c,listState:T,minOverscanItemCount:te,scrollToIndex:x,statefulTotalCount:d,trackItemSizes:p,rangeChanged:ne,...re,...w,..._,sizes:u,...v}},Hw(xE,jE,kT,uD,aD,ZE,DE,sT(([{deviation:e,scrollBy:t,scrollingInProgress:n,scrollTop:r},{isAtBottom:i,isScrolling:a,lastJumpDueToItemResize:o,scrollDirection:s},{listState:c},{beforeUnshiftWith:l,gap:u,shiftWithOffset:d,sizes:f},{log:p},{recalcInProgress:m}])=>{let h=oT(X(c,tT(o),Qw(([,e,t,n],[{bottom:r,items:i,offsetBottom:a,totalCount:o},s])=>{let c=r+a,l=0;return t===o&&e.length>0&&i.length>0&&(i[0].originalIndex===0&&e[0].originalIndex===0||(l=c-n,l!==0&&(l+=s))),[l,i,o,c]},[0,[],0,0]),J(([e])=>e!==0),tT(r,s,n,i,p,m),J(([,e,t,n,,,r])=>!r&&!n&&e!==0&&t===NE),Y(([[e],,,,,t])=>(t(`Upward scrolling compensation`,{amount:e},fT.DEBUG),e))));function g(n){n>0?(Ww(t,{behavior:`auto`,top:-n}),Ww(e,0)):(Ww(e,0),Ww(t,{behavior:`auto`,top:-n}))}return Uw(X(h,tT(e,a)),([t,n,r])=>{r&&mD()?Ww(e,n-t):g(-t)}),Uw(X(uT(iT(a,!1),e,m),J(([e,t,n])=>!e&&!n&&t!==0),Y(([e,t])=>t),eT(1)),g),q(X(d,Y(e=>({top:-e}))),t),Uw(X(l,tT(f,u),Y(([e,{groupIndices:t,lastSize:n,sizeTree:r},i])=>{function a(e){return e*(n+i)}if(t.length===0)return a(e);let o=0,s=NT(r,0),c=0,l=0;for(;c<e;){c++,o+=s;let n=t.length===l+1?1/0:t[l+1]-t[l]-1;c+n>e&&(o-=s,n=e-c+1),c+=n,o+=a(n),l++}return o})),n=>{Ww(e,n),requestAnimationFrame(()=>{Ww(t,{top:n}),requestAnimationFrame(()=>{Ww(e,0),Ww(m,!1)})})}),{deviation:e}},Hw(kT,RE,ZE,xE,hT,$T)),fD,CE,sT(([e,t,n,r,i,a,o,s,c,l,u])=>({...e,...t,...n,...r,...i,...a,...o,...s,...c,...l,...u}),Hw(WE,oD,wE,cD,QE,sD,$E,lD,nD,hT,eD))));function gD(e,t){let n={},r={},i=0,a=e.length;for(;i<a;)r[e[i]]=1,i+=1;for(let e in t)Object.hasOwn(r,e)||(n[e]=t[e]);return n}var _D=typeof document<`u`?D.useLayoutEffect:D.useEffect;function vD(e,t,n){let r=Object.keys(t.required||{}),i=Object.keys(t.optional||{}),a=Object.keys(t.methods||{}),o=Object.keys(t.events||{}),s=D.createContext({});function c(e,n){e.propsReady!==void 0&&Ww(e.propsReady,!1);for(let i of r){let r=e[t.required[i]];Ww(r,n[i])}for(let r of i)if(r in n){let i=e[t.optional[r]];Ww(i,n[r])}e.propsReady!==void 0&&Ww(e.propsReady,!0)}function l(e){return a.reduce((n,r)=>(n[r]=n=>{let i=e[t.methods[r]];Ww(i,n)},n),{})}function u(e){return o.reduce((n,r)=>(n[r]=rT(e[t.events[r]]),n),{})}return{Component:D.forwardRef(function(t,a){let{children:d,...f}=t,[p]=D.useState(()=>Bw(lT(e),e=>{c(e,f)})),[m]=D.useState(Fw(u,p));_D(()=>{for(let e of o)e in f&&Uw(m[e],f[e]);return()=>{Object.values(m).map(Gw)}},[f,m,p]),_D(()=>{c(p,f)}),D.useImperativeHandle(a,Mw(l(p)));let h=n;return(0,O.jsx)(s.Provider,{value:p,children:n===void 0?d:(0,O.jsx)(h,{...gD([...r,...i,...o],f),children:d})})}),useEmitter:(e,t)=>{let n=D.useContext(s)[e];_D(()=>Uw(n,t),[t,n])},useEmitterValue:e=>{let t=D.useContext(s)[e],n=D.useCallback(e=>Uw(t,e),[t]);return D.useSyncExternalStore(n,()=>Kw(t),()=>Kw(t))},usePublisher:e=>{let t=D.useContext(s);return D.useCallback(n=>{Ww(t[e],n)},[t,e])}}}var yD=D.createContext(void 0),bD=D.createContext(void 0),xD=`-webkit-sticky`,SD=`sticky`,CD=pD(()=>{if(typeof document>`u`)return SD;let e=document.createElement(`div`);return e.style.position=xD,e.style.position===xD?xD:SD}),wD=typeof document<`u`?D.useLayoutEffect:D.useEffect;function TD(e){return`self`in e}function ED(e){return`body`in e}function DD(e,t,n,r=zw,i,a){let o=D.useRef(null),s=D.useRef(null),c=D.useRef(null),l=D.useCallback(n=>{let r,i,o,l=n.target;if(ED(l)||TD(l)){let e=TD(l)?l:l.defaultView;o=a===!0?xT(e,e.scrollX):e.scrollY,r=a===!0?e.document.documentElement.scrollWidth:e.document.documentElement.scrollHeight,i=a===!0?e.innerWidth:e.innerHeight}else o=a===!0?xT(l,l.scrollLeft):l.scrollTop,r=a===!0?l.scrollWidth:l.scrollHeight,i=a===!0?l.offsetWidth:l.offsetHeight;let u=()=>{e({scrollHeight:r,scrollTop:Math.max(o,0),viewportHeight:i})};n.suppressFlushSync===!0?u():Dw.flushSync(u),s.current!==null&&(o===s.current||o<=0||o===r-i)&&(s.current=null,t(!0),c.current&&=(clearTimeout(c.current),null))},[e,t,a]);D.useEffect(()=>{let e=i||o.current;return yT(e),r(i||o.current),l({suppressFlushSync:!0,target:e}),e.addEventListener(`scroll`,l,{passive:!0}),()=>{yT(e),r(null),e.removeEventListener(`scroll`,l)}},[o,l,n,r,i]);function u(n){let r=o.current;if(!r||(a===!0?`offsetWidth`in r&&r.offsetWidth===0:`offsetHeight`in r&&r.offsetHeight===0))return;let i=n.behavior===`smooth`,l,u,d;TD(r)?(u=Math.max(rE(r.document.documentElement,a===!0?`width`:`height`),a===!0?r.document.documentElement.scrollWidth:r.document.documentElement.scrollHeight),l=a===!0?r.innerWidth:r.innerHeight,d=a===!0?xT(r,r.scrollX):r.scrollY):(u=r[a===!0?`scrollWidth`:`scrollHeight`],l=rE(r,a===!0?`width`:`height`),d=a===!0?xT(r,r.scrollLeft):r.scrollTop);let f=u-l;if(n.top===void 0){r.scrollTo(n);return}let p=Math.ceil(Math.max(Math.min(f,n.top),0));if(n.top=p,ME(l,u)||p===d){e({scrollHeight:u,scrollTop:d,viewportHeight:l}),i&&t(!0);return}i?(s.current=p,c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{c.current=null,s.current=null,t(!0)},1e3)):s.current=null,a===!0&&(n={...n.behavior===void 0?{}:{behavior:n.behavior},left:ST(r,p)}),r.scrollTo(n)}function d(e){a===!0&&(e={...e.behavior===void 0?{}:{behavior:e.behavior},...e.top===void 0?{}:{left:ST(o.current,e.top)}}),o.current.scrollBy(e)}return{scrollByCallback:d,scrollerRef:o,scrollToCallback:u}}function OD(e){return e}var kD=sT(([e,t])=>({...e,...t}),Hw(hD,sT(()=>{let e=Z(e=>`Item ${e}`),t=Z(e=>`Group ${e}`),n=Z({}),r=Z(OD),i=Z(`div`),a=Z(zw),o=(e,t=null)=>iT(X(n,Y(t=>t[e]),Xw()),t);return{components:n,computeItemKey:r,EmptyPlaceholder:o(`EmptyPlaceholder`),FooterComponent:o(`Footer`),GroupComponent:o(`Group`,`div`),groupContent:t,HeaderComponent:o(`Header`),HeaderFooterTag:i,ItemComponent:o(`Item`,`div`),itemContent:e,ListComponent:o(`List`,`div`),ScrollerComponent:o(`Scroller`,`div`),scrollerRef:a,ScrollSeekPlaceholder:o(`ScrollSeekPlaceholder`),TopItemListComponent:o(`TopItemList`)}}))),AD=({height:e})=>(0,O.jsx)(`div`,{style:{height:e}}),jD={overflowAnchor:`none`,position:CD(),zIndex:1},MD={overflowAnchor:`none`},ND={...MD,display:`inline-block`,height:`100%`},PD=D.memo(function({showTopList:e=!1}){let t=$(`listState`),n=ZD(`sizeRanges`),r=$(`useWindowScroll`),i=$(`customScrollParent`),a=ZD(`windowScrollContainerState`),o=ZD(`scrollContainerState`),s=i||r?a:o,c=$(`itemContent`),l=$(`context`),u=$(`groupContent`),d=$(`trackItemSizes`),f=$(`itemSize`),p=$(`log`),m=ZD(`gap`),h=$(`horizontalDirection`),{callbackRef:g}=TT(n,f,d,e?zw:s,p,m,i,h,$(`skipAnimationFrameInResizeObserver`)),[_,v]=D.useState(0);XD(`deviation`,e=>{_!==e&&v(e)});let y=$(`EmptyPlaceholder`),b=$(`ScrollSeekPlaceholder`)??AD,x=$(`ListComponent`),S=$(`ItemComponent`),C=$(`GroupComponent`),ee=$(`computeItemKey`),w=$(`isSeeking`),T=$(`groupIndices`).length>0,te=$(`alignToBottom`),E=$(`initialItemFinalLocationReached`),ne=e?{}:{boxSizing:`border-box`,...h?{display:`inline-block`,height:`100%`,marginInlineStart:_===0?te?`auto`:0:_,paddingInlineEnd:t.offsetBottom,paddingInlineStart:t.offsetTop,whiteSpace:`nowrap`}:{marginTop:_===0?te?`auto`:0:_,paddingBottom:t.offsetBottom,paddingTop:t.offsetTop},...E?{}:{visibility:`hidden`}};return!e&&t.totalCount===0&&y!=null?(0,O.jsx)(y,{...BD(y,l)}):(0,O.jsx)(x,{...BD(x,l),"data-testid":e?`virtuoso-top-item-list`:`virtuoso-item-list`,ref:g,style:ne,children:(e?t.topItems:t.items).map(e=>{let n=e.originalIndex,r=ee(n+t.firstItemIndex,e.data,l);return w?(0,D.createElement)(b,{...BD(b,l),height:e.size,index:e.index,key:r,type:e.type||`item`,...e.type===`group`?{}:{groupIndex:e.groupIndex}}):e.type===`group`?(0,D.createElement)(C,{...BD(C,l),"data-index":n,"data-item-index":e.index,"data-known-size":e.size,key:r,style:jD},u(e.index,l)):(0,D.createElement)(S,{...BD(S,l),...VD(S,e.data),"data-index":n,"data-item-group-index":e.groupIndex,"data-item-index":e.index,"data-known-size":e.size,key:r,style:h?ND:MD},T?c(e.index,e.groupIndex,e.data,l):c(e.index,e.data,l))})})}),FD={height:`100%`,outline:`none`,overflowY:`auto`,position:`relative`,WebkitOverflowScrolling:`touch`},ID={outline:`none`,overflowX:`auto`,position:`relative`},LD=e=>({height:`100%`,position:`absolute`,top:0,width:`100%`,...e?{display:`flex`,flexDirection:`column`}:void 0}),RD=(e,t,n=0)=>({...LD(e),position:t?`relative`:`absolute`,top:t?-n:0}),zD={position:CD(),top:0,width:`100%`,zIndex:1};function BD(e,t){if(typeof e!=`string`)return{context:t}}function VD(e,t){return{item:typeof e==`string`?void 0:t}}var HD=D.memo(function(){let e=$(`HeaderComponent`),t=ZD(`headerHeight`),n=$(`HeaderFooterTag`),r=CT(D.useMemo(()=>e=>{t(rE(e,`height`))},[t]),!0,$(`skipAnimationFrameInResizeObserver`)),i=$(`context`);return e==null?null:(0,O.jsx)(n,{ref:r,children:(0,O.jsx)(e,{...BD(e,i)})})}),UD=D.memo(function(){let e=$(`FooterComponent`),t=ZD(`footerHeight`),n=$(`HeaderFooterTag`),r=CT(D.useMemo(()=>e=>{t(rE(e,`height`))},[t]),!0,$(`skipAnimationFrameInResizeObserver`)),i=$(`context`);return e==null?null:(0,O.jsx)(n,{ref:r,children:(0,O.jsx)(e,{...BD(e,i)})})});function WD({useEmitter:e,useEmitterValue:t,usePublisher:n}){return D.memo(function({children:r,style:i,context:a,...o}){let s=n(`scrollContainerState`),c=t(`ScrollerComponent`),l=n(`smoothScrollTargetReached`),u=t(`scrollerRef`),d=t(`horizontalDirection`)||!1,{scrollByCallback:f,scrollerRef:p,scrollToCallback:m}=DD(s,l,c,u,void 0,d);return e(`scrollTo`,m),e(`scrollBy`,f),(0,O.jsx)(c,{"data-testid":`virtuoso-scroller`,"data-virtuoso-scroller":!0,ref:p,style:{...d?ID:FD,...i},tabIndex:0,...o,...BD(c,a),children:r})})}function GD({useEmitter:e,useEmitterValue:t,usePublisher:n}){return D.memo(function({children:r,style:i,context:a,...o}){let s=n(`windowScrollContainerState`),c=t(`ScrollerComponent`),l=n(`smoothScrollTargetReached`),u=t(`totalListHeight`),d=t(`deviation`),f=t(`customScrollParent`),p=D.useRef(null),{scrollByCallback:m,scrollerRef:h,scrollToCallback:g}=DD(s,l,c,t(`scrollerRef`),f);return wD(()=>(h.current=f||p.current?.ownerDocument.defaultView,()=>{h.current=null}),[h,f]),e(`windowScrollTo`,g),e(`scrollBy`,m),(0,O.jsx)(c,{ref:p,"data-virtuoso-scroller":!0,style:{position:`relative`,...i,...u===0?void 0:{height:u+d}},...o,...BD(c,a),children:r})})}var KD=({children:e})=>{let t=D.useContext(yD),n=ZD(`viewportHeight`),r=ZD(`fixedItemHeight`),i=$(`alignToBottom`),a=$(`horizontalDirection`),o=CT(D.useMemo(()=>Pw(n,e=>rE(e,a?`width`:`height`)),[n,a]),!0,$(`skipAnimationFrameInResizeObserver`));return D.useEffect(()=>{t&&(n(t.viewportHeight),r(t.itemHeight))},[t,n,r]),(0,O.jsx)(`div`,{"data-viewport-type":`element`,ref:o,style:LD(i),children:e})},qD=({children:e})=>{let t=D.useContext(yD),n=ZD(`windowViewportRect`),r=ZD(`fixedItemHeight`),i=$(`customScrollParent`),a=$(`useWindowScroll`),o=$(`topListHeight`),s=OT(n,i,$(`skipAnimationFrameInResizeObserver`)),c=$(`alignToBottom`);return D.useEffect(()=>{t&&(r(t.itemHeight),n({listHeight:0,offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,n,r]),(0,O.jsx)(`div`,{"data-viewport-type":`window`,ref:s,style:RD(c,a,o),children:e})},JD=({children:e})=>{let t=$(`TopItemListComponent`)??`div`,n=$(`headerHeight`);return(0,O.jsx)(t,{style:{...zD,marginTop:`${n}px`},...BD(t,$(`context`)),children:e})},{Component:YD,useEmitter:XD,useEmitterValue:$,usePublisher:ZD}=vD(kD,{optional:{restoreStateFrom:`restoreStateFrom`,context:`context`,followOutput:`followOutput`,scrollIntoViewOnChange:`scrollIntoViewOnChange`,itemContent:`itemContent`,groupContent:`groupContent`,overscan:`overscan`,increaseViewportBy:`increaseViewportBy`,minOverscanItemCount:`minOverscanItemCount`,totalCount:`totalCount`,groupCounts:`groupCounts`,topItemCount:`topItemCount`,firstItemIndex:`firstItemIndex`,initialTopMostItemIndex:`initialTopMostItemIndex`,components:`components`,atBottomThreshold:`atBottomThreshold`,atTopThreshold:`atTopThreshold`,computeItemKey:`computeItemKey`,defaultItemHeight:`defaultItemHeight`,fixedGroupHeight:`fixedGroupHeight`,fixedItemHeight:`fixedItemHeight`,heightEstimates:`heightEstimates`,itemSize:`itemSize`,scrollSeekConfiguration:`scrollSeekConfiguration`,headerFooterTag:`HeaderFooterTag`,data:`data`,initialItemCount:`initialItemCount`,initialScrollTop:`initialScrollTop`,alignToBottom:`alignToBottom`,useWindowScroll:`useWindowScroll`,customScrollParent:`customScrollParent`,scrollerRef:`scrollerRef`,logLevel:`logLevel`,horizontalDirection:`horizontalDirection`,skipAnimationFrameInResizeObserver:`skipAnimationFrameInResizeObserver`},methods:{scrollToIndex:`scrollToIndex`,scrollIntoView:`scrollIntoView`,scrollTo:`scrollTo`,scrollBy:`scrollBy`,autoscrollToBottom:`autoscrollToBottom`,getState:`getState`},events:{isScrolling:`isScrolling`,endReached:`endReached`,startReached:`startReached`,rangeChanged:`rangeChanged`,atBottomStateChange:`atBottomStateChange`,atTopStateChange:`atTopStateChange`,totalListHeightChanged:`totalListHeightChanged`,itemsRendered:`itemsRendered`,groupIndices:`groupIndices`}},D.memo(function(e){let t=$(`useWindowScroll`),n=$(`topItemsIndexes`).length>0,r=$(`customScrollParent`),i=$(`context`);return(0,O.jsxs)(r||t?$D:QD,{...e,context:i,children:[n&&(0,O.jsx)(JD,{children:(0,O.jsx)(PD,{showTopList:!0})}),(0,O.jsxs)(r||t?qD:KD,{children:[(0,O.jsx)(HD,{}),(0,O.jsx)(PD,{}),(0,O.jsx)(UD,{})]})]})})),QD=WD({useEmitter:XD,useEmitterValue:$,usePublisher:ZD}),$D=GD({useEmitter:XD,useEmitterValue:$,usePublisher:ZD}),eO=YD,tO=sT(([e,t])=>({...e,...t}),Hw(hD,sT(()=>{let e=Z(e=>(0,O.jsxs)(`td`,{children:[`Item $`,e]})),t=Z(null),n=Z(e=>(0,O.jsxs)(`td`,{colSpan:1e3,children:[`Group `,e]})),r=Z(null),i=Z(null),a=Z({}),o=Z(OD),s=Z(zw),c=(e,t=null)=>iT(X(a,Y(t=>t[e]),Xw()),t);return{components:a,computeItemKey:o,context:t,EmptyPlaceholder:c(`EmptyPlaceholder`),FillerRow:c(`FillerRow`),fixedFooterContent:i,fixedHeaderContent:r,itemContent:e,groupContent:n,ScrollerComponent:c(`Scroller`,`div`),scrollerRef:s,ScrollSeekPlaceholder:c(`ScrollSeekPlaceholder`),TableBodyComponent:c(`TableBody`,`tbody`),TableComponent:c(`Table`,`table`),TableFooterComponent:c(`TableFoot`,`tfoot`),TableHeadComponent:c(`TableHead`,`thead`),TableRowComponent:c(`TableRow`,`tr`),GroupComponent:c(`Group`,`tr`)}}))),nO=({height:e})=>(0,O.jsx)(`tr`,{children:(0,O.jsx)(`td`,{style:{height:e}})}),rO=({height:e})=>(0,O.jsx)(`tr`,{children:(0,O.jsx)(`td`,{style:{border:0,height:e,padding:0}})}),iO={overflowAnchor:`none`},aO={position:CD(),zIndex:2,overflowAnchor:`none`},oO=D.memo(function({showTopList:e=!1}){let t=fO(`listState`),n=fO(`computeItemKey`),r=fO(`firstItemIndex`),i=fO(`context`),a=fO(`isSeeking`),o=fO(`fixedHeaderHeight`),s=fO(`groupIndices`).length>0,c=fO(`itemContent`),l=fO(`groupContent`),u=fO(`ScrollSeekPlaceholder`)??nO,d=fO(`GroupComponent`),f=fO(`TableRowComponent`),p=(e?t.topItems:[]).reduce((e,t,n)=>(n===0?e.push(t.size):e.push(e[n-1]+t.size),e),[]);return(e?t.topItems:t.items).map(t=>{let m=t.originalIndex,h=n(m+r,t.data,i),g=e?m===0?0:p[m-1]:0;return a?(0,D.createElement)(u,{...BD(u,i),height:t.size,index:t.index,key:h,type:t.type||`item`}):t.type===`group`?(0,D.createElement)(d,{...BD(d,i),"data-index":m,"data-item-index":t.index,"data-known-size":t.size,key:h,style:{...aO,top:o}},l(t.index,i)):(0,D.createElement)(f,{...BD(f,i),...VD(f,t.data),"data-index":m,"data-item-index":t.index,"data-known-size":t.size,"data-item-group-index":t.groupIndex,key:h,style:e?{...aO,top:o+g}:iO},s?c(t.index,t.groupIndex,t.data,i):c(t.index,t.data,i))})}),sO=D.memo(function(){let e=fO(`listState`),t=fO(`topItemsIndexes`).length>0,n=pO(`sizeRanges`),r=fO(`useWindowScroll`),i=fO(`customScrollParent`),a=pO(`windowScrollContainerState`),o=pO(`scrollContainerState`),s=i||r?a:o,c=fO(`trackItemSizes`),{callbackRef:l,ref:u}=TT(n,fO(`itemSize`),c,s,fO(`log`),void 0,i,!1,fO(`skipAnimationFrameInResizeObserver`)),[d,f]=D.useState(0);dO(`deviation`,e=>{d!==e&&(u.current.style.marginTop=`${e}px`,f(e))});let p=fO(`EmptyPlaceholder`),m=fO(`FillerRow`)??rO,h=fO(`TableBodyComponent`),g=fO(`paddingTopAddition`),_=fO(`statefulTotalCount`),v=fO(`context`);if(_===0&&p!=null)return(0,O.jsx)(p,{...BD(p,v)});let y=(t?e.topItems:[]).reduce((e,t)=>e+t.size,0),b=e.offsetTop+g+d-y,x=e.offsetBottom,S=b>0?(0,O.jsx)(m,{context:v,height:b},`padding-top`):null,C=x>0?(0,O.jsx)(m,{context:v,height:x},`padding-bottom`):null;return(0,O.jsxs)(h,{"data-testid":`virtuoso-item-list`,ref:l,...BD(h,v),children:[S,t&&(0,O.jsx)(oO,{showTopList:!0}),(0,O.jsx)(oO,{}),C]})}),cO=({children:e})=>{let t=D.useContext(yD),n=pO(`viewportHeight`),r=pO(`fixedItemHeight`),i=CT(D.useMemo(()=>Pw(n,e=>rE(e,`height`)),[n]),!0,fO(`skipAnimationFrameInResizeObserver`));return D.useEffect(()=>{t&&(n(t.viewportHeight),r(t.itemHeight))},[t,n,r]),(0,O.jsx)(`div`,{"data-viewport-type":`element`,ref:i,style:LD(!1),children:e})},lO=({children:e})=>{let t=D.useContext(yD),n=pO(`windowViewportRect`),r=pO(`fixedItemHeight`),i=fO(`customScrollParent`),a=fO(`useWindowScroll`),o=OT(n,i,fO(`skipAnimationFrameInResizeObserver`));return D.useEffect(()=>{t&&(r(t.itemHeight),n({listHeight:0,offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,n,r]),(0,O.jsx)(`div`,{"data-viewport-type":`window`,ref:o,style:RD(!1,a),children:e})},{Component:uO,useEmitter:dO,useEmitterValue:fO,usePublisher:pO}=vD(tO,{optional:{restoreStateFrom:`restoreStateFrom`,context:`context`,followOutput:`followOutput`,firstItemIndex:`firstItemIndex`,itemContent:`itemContent`,groupContent:`groupContent`,fixedHeaderContent:`fixedHeaderContent`,fixedFooterContent:`fixedFooterContent`,overscan:`overscan`,increaseViewportBy:`increaseViewportBy`,minOverscanItemCount:`minOverscanItemCount`,totalCount:`totalCount`,topItemCount:`topItemCount`,initialTopMostItemIndex:`initialTopMostItemIndex`,components:`components`,groupCounts:`groupCounts`,atBottomThreshold:`atBottomThreshold`,atTopThreshold:`atTopThreshold`,computeItemKey:`computeItemKey`,defaultItemHeight:`defaultItemHeight`,fixedGroupHeight:`fixedGroupHeight`,fixedItemHeight:`fixedItemHeight`,itemSize:`itemSize`,scrollSeekConfiguration:`scrollSeekConfiguration`,data:`data`,initialItemCount:`initialItemCount`,initialScrollTop:`initialScrollTop`,alignToBottom:`alignToBottom`,useWindowScroll:`useWindowScroll`,customScrollParent:`customScrollParent`,scrollerRef:`scrollerRef`,logLevel:`logLevel`},methods:{scrollToIndex:`scrollToIndex`,scrollIntoView:`scrollIntoView`,scrollTo:`scrollTo`,scrollBy:`scrollBy`,getState:`getState`},events:{isScrolling:`isScrolling`,endReached:`endReached`,startReached:`startReached`,rangeChanged:`rangeChanged`,atBottomStateChange:`atBottomStateChange`,atTopStateChange:`atTopStateChange`,totalListHeightChanged:`totalListHeightChanged`,itemsRendered:`itemsRendered`,groupIndices:`groupIndices`}},D.memo(function(e){let t=fO(`useWindowScroll`),n=fO(`customScrollParent`),r=pO(`fixedHeaderHeight`),i=pO(`fixedFooterHeight`),a=fO(`fixedHeaderContent`),o=fO(`fixedFooterContent`),s=fO(`context`),c=CT(D.useMemo(()=>Pw(r,e=>rE(e,`height`)),[r]),!0,fO(`skipAnimationFrameInResizeObserver`)),l=CT(D.useMemo(()=>Pw(i,e=>rE(e,`height`)),[i]),!0,fO(`skipAnimationFrameInResizeObserver`)),u=n||t?hO:mO,d=n||t?lO:cO,f=fO(`TableComponent`),p=fO(`TableHeadComponent`),m=fO(`TableFooterComponent`),h=a?(0,O.jsx)(p,{ref:c,style:{position:`sticky`,top:0,zIndex:2},...BD(p,s),children:a()},`TableHead`):null,g=o?(0,O.jsx)(m,{ref:l,style:{bottom:0,position:`sticky`,zIndex:1},...BD(m,s),children:o()},`TableFoot`):null;return(0,O.jsx)(u,{...e,...BD(u,s),children:(0,O.jsx)(d,{children:(0,O.jsxs)(f,{style:{borderSpacing:0,overflowAnchor:`none`},...BD(f,s),children:[h,(0,O.jsx)(sO,{},`TableBody`),g]})})})})),mO=WD({useEmitter:dO,useEmitterValue:fO,usePublisher:pO}),hO=GD({useEmitter:dO,useEmitterValue:fO,usePublisher:pO}),gO=uO,_O={bottom:0,itemHeight:0,items:[],itemWidth:0,offsetBottom:0,offsetTop:0,top:0},vO={bottom:0,itemHeight:0,items:[{index:0}],itemWidth:0,offsetBottom:0,offsetTop:0,top:0},{ceil:yO,floor:bO,max:xO,min:SO,round:CO}=Math;function wO(e,t,n){return Array.from({length:t-e+1}).map((t,r)=>({data:n===null?null:n[r+e],index:r+e}))}function TO(e){return{...vO,items:e}}function EO(e,t){return e!==void 0&&e.width===t.width&&e.height===t.height}function DO(e,t){return e!==void 0&&e.column===t.column&&e.row===t.row}var OO=sT(([{increaseViewportBy:e,listBoundary:t,overscan:n,visibleRange:r},{footerHeight:i,headerHeight:a,scrollBy:o,scrollContainerState:s,scrollTo:c,scrollTop:l,smoothScrollTargetReached:u,viewportHeight:d},f,p,{didMount:m,propsReady:h},{customScrollParent:g,useWindowScroll:_,windowScrollContainerState:v,windowScrollTo:y,windowViewportRect:b},x])=>{let S=Z(0),C=Z(0),ee=Z(_O),w=Z({height:0,width:0}),T=Z({height:0,width:0}),te=aT(),E=aT(),ne=Z(0),re=Z(null),ie=Z({column:0,row:0}),ae=aT(),oe=aT(),se=Z(!1),ce=Z(0),le=Z(!0),ue=Z(!1),de=Z(!1);Uw(X(m,tT(ce),J(([e,t])=>t!==0)),()=>{Ww(le,!1)}),Uw(X(uT(m,le,T,w,ce,ue),J(([e,t,n,r,,i])=>e&&!t&&n.height!==0&&r.height!==0&&!i)),([,,,,e])=>{Ww(ue,!0),kE(1,()=>{Ww(te,e)}),qw(X(l),()=>{Ww(t,[0,0]),Ww(le,!0)})}),q(X(oe,J(e=>e!=null&&e.scrollTop>0),Zw(0)),C),Uw(X(m,tT(oe),J(([,e])=>e!=null)),([,e])=>{e&&(Ww(w,e.viewport),Ww(T,e.item),Ww(ie,e.gap),e.scrollTop>0&&(Ww(se,!0),qw(X(l,$w(1)),e=>{Ww(se,!1)}),Ww(c,{top:e.scrollTop})))}),q(X(w,Y(({height:e})=>e)),d),q(X(uT(Q(w,EO),Q(T,EO),Q(ie,(e,t)=>e!==void 0&&e.column===t.column&&e.row===t.row),Q(l)),Y(([e,t,n,r])=>({gap:n,item:t,scrollTop:r,viewport:e}))),ae),q(X(uT(Q(S),r,Q(ie,DO),Q(T,EO),Q(w,EO),Q(re),Q(C),Q(se),Q(le),Q(ce)),J(([,,,,,,,e])=>!e),Y(([e,[t,n],r,i,a,o,s,,c,l])=>{let{column:u,row:d}=r,{height:f,width:p}=i,{width:m}=a;if(s===0&&(e===0||m===0))return _O;if(p===0){let t=AE(l,e);return TO(wO(t,t+Math.max(s-1,0),o))}let h=kO(m,p,u),g,_;c?t===0&&n===0&&s>0?(g=0,_=s-1):(g=h*bO((t+d)/(f+d)),_=h*yO((n+d)/(f+d))-1,_=SO(e-1,xO(_,h-1)),g=SO(_,xO(0,g))):(g=0,_=-1);let v=wO(g,_,o),{bottom:y,top:b}=AO(a,r,i,v),x=yO(e/h);return{bottom:y,itemHeight:f,items:v,itemWidth:p,offsetBottom:x*f+(x-1)*d-y,offsetTop:b,top:b}})),ee),q(X(re,J(e=>e!==null),Y(e=>e.length)),S),q(X(uT(w,T,ee,ie),J(([e,t,{items:n}])=>n.length>0&&t.height!==0&&e.height!==0),Y(([e,t,{items:n},r])=>{let{bottom:i,top:a}=AO(e,r,t,n);return[a,i]}),Xw(QT)),t);let fe=Z(!1);q(X(l,tT(fe),Y(([e,t])=>t||e!==0)),fe);let pe=oT(X(uT(ee,S),J(([{items:e}])=>e.length>0),tT(fe),J(([[e,t],n])=>{let r=e.items[e.items.length-1].index===t-1;return(n||e.bottom>0&&e.itemHeight>0&&e.offsetBottom===0&&e.items.length===t)&&r}),Y(([[,e]])=>e-1),Xw())),me=oT(X(Q(ee),J(({items:e})=>e.length>0&&e[0].index===0),Zw(0),Xw())),he=oT(X(Q(ee),tT(se),J(([{items:e},t])=>e.length>0&&!t),Y(([{items:e}])=>({endIndex:e[e.length-1].index,startIndex:e[0].index})),Xw(ZT),eT(0)));q(he,p.scrollSeekRangeChanged),q(X(te,tT(w,T,S,ie),Y(([e,t,n,r,i])=>{let a=EE(e),{align:o,behavior:s,offset:c}=a,l=a.index;l===`LAST`&&(l=r-1),l=xO(0,l,SO(r-1,l));let u=jO(t,i,n,l);return o===`end`?u=CO(u-t.height+n.height):o===`center`&&(u=CO(u-t.height/2+n.height/2)),c!==void 0&&c!==0&&(u+=c),{behavior:s,top:u}})),c);let ge=iT(X(ee,Y(e=>e.offsetBottom+e.bottom)),0);return q(X(b,Y(e=>({height:e.visibleHeight,width:e.visibleWidth}))),w),{customScrollParent:g,data:re,deviation:ne,footerHeight:i,gap:ie,headerHeight:a,increaseViewportBy:e,initialItemCount:C,itemDimensions:T,overscan:n,restoreStateFrom:oe,scrollBy:o,scrollContainerState:s,scrollHeight:E,scrollTo:c,scrollToIndex:te,scrollTop:l,smoothScrollTargetReached:u,totalCount:S,useWindowScroll:_,viewportDimensions:w,windowScrollContainerState:v,windowScrollTo:y,windowViewportRect:b,...p,gridState:ee,horizontalDirection:de,initialTopMostItemIndex:ce,totalListHeight:ge,...f,endReached:pe,propsReady:h,rangeChanged:he,startReached:me,stateChanged:ae,stateRestoreInProgress:se,...x}},Hw(WE,kT,RE,cD,wE,lD,hT));function kO(e,t,n){return xO(1,bO((e+n)/(bO(t)+n)))}function AO(e,t,n,r){let{height:i}=n;if(i===void 0||r.length===0)return{bottom:0,top:0};let a=jO(e,t,n,r[0].index);return{bottom:jO(e,t,n,r[r.length-1].index)+i,top:a}}function jO(e,t,n,r){let i=bO(r/kO(e.width,n.width,t.column)),a=i*n.height+xO(0,i-1)*t.row;return a>0?a+t.row:a}var MO=sT(([e,t])=>({...e,...t}),Hw(OO,sT(()=>{let e=Z(e=>`Item ${e}`),t=Z({}),n=Z(null),r=Z(`virtuoso-grid-item`),i=Z(`virtuoso-grid-list`),a=Z(OD),o=Z(`div`),s=Z(zw),c=(e,n=null)=>iT(X(t,Y(t=>t[e]),Xw()),n),l=Z(!1),u=Z(!1);return q(Q(u),l),{components:t,computeItemKey:a,context:n,FooterComponent:c(`Footer`),HeaderComponent:c(`Header`),headerFooterTag:o,itemClassName:r,ItemComponent:c(`Item`,`div`),itemContent:e,listClassName:i,ListComponent:c(`List`,`div`),readyStateChanged:l,reportReadyState:u,ScrollerComponent:c(`Scroller`,`div`),scrollerRef:s,ScrollSeekPlaceholder:c(`ScrollSeekPlaceholder`,`div`)}}))),NO=D.memo(function(){let e=BO(`gridState`),t=BO(`listClassName`),n=BO(`itemClassName`),r=BO(`itemContent`),i=BO(`computeItemKey`),a=BO(`isSeeking`),o=VO(`scrollHeight`),s=BO(`ItemComponent`),c=BO(`ListComponent`),l=BO(`ScrollSeekPlaceholder`),u=BO(`context`),d=VO(`itemDimensions`),f=VO(`gap`),p=BO(`log`),m=BO(`stateRestoreInProgress`),h=VO(`reportReadyState`),g=CT(D.useMemo(()=>e=>{let t=e.parentElement.parentElement.scrollHeight;o(t);let n=e.firstChild;if(n!==null){let{height:e,width:t}=n.getBoundingClientRect();d({height:e,width:t})}f({column:WO(`column-gap`,getComputedStyle(e).columnGap,p),row:WO(`row-gap`,getComputedStyle(e).rowGap,p)})},[o,d,f,p]),!0,!1);return wD(()=>{e.itemHeight>0&&e.itemWidth>0&&h(!0)},[e]),m?null:(0,O.jsx)(c,{className:t,ref:g,...BD(c,u),"data-testid":`virtuoso-item-list`,style:{paddingBottom:e.offsetBottom,paddingTop:e.offsetTop},children:e.items.map(t=>{let o=i(t.index,t.data,u);return a?(0,O.jsx)(l,{...BD(l,u),height:e.itemHeight,index:t.index,width:e.itemWidth},o):(0,D.createElement)(s,{...BD(s,u),className:n,"data-index":t.index,key:o},r(t.index,t.data,u))})})}),PO=D.memo(function(){let e=BO(`HeaderComponent`),t=VO(`headerHeight`),n=BO(`headerFooterTag`),r=CT(D.useMemo(()=>e=>{t(rE(e,`height`))},[t]),!0,!1),i=BO(`context`);return e==null?null:(0,O.jsx)(n,{ref:r,children:(0,O.jsx)(e,{...BD(e,i)})})}),FO=D.memo(function(){let e=BO(`FooterComponent`),t=VO(`footerHeight`),n=BO(`headerFooterTag`),r=CT(D.useMemo(()=>e=>{t(rE(e,`height`))},[t]),!0,!1),i=BO(`context`);return e==null?null:(0,O.jsx)(n,{ref:r,children:(0,O.jsx)(e,{...BD(e,i)})})}),IO=({children:e})=>{let t=D.useContext(bD),n=VO(`itemDimensions`),r=VO(`viewportDimensions`),i=CT(D.useMemo(()=>e=>{r(e.getBoundingClientRect())},[r]),!0,!1);return D.useEffect(()=>{t&&(r({height:t.viewportHeight,width:t.viewportWidth}),n({height:t.itemHeight,width:t.itemWidth}))},[t,r,n]),(0,O.jsx)(`div`,{ref:i,style:LD(!1),children:e})},LO=({children:e})=>{let t=D.useContext(bD),n=VO(`windowViewportRect`),r=VO(`itemDimensions`),i=BO(`customScrollParent`),a=BO(`useWindowScroll`),o=OT(n,i,!1);return D.useEffect(()=>{t&&(r({height:t.itemHeight,width:t.itemWidth}),n({listHeight:0,offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))},[t,n,r]),(0,O.jsx)(`div`,{ref:o,style:RD(!1,a),children:e})},{Component:RO,useEmitter:zO,useEmitterValue:BO,usePublisher:VO}=vD(MO,{optional:{context:`context`,totalCount:`totalCount`,overscan:`overscan`,itemContent:`itemContent`,components:`components`,computeItemKey:`computeItemKey`,data:`data`,initialItemCount:`initialItemCount`,scrollSeekConfiguration:`scrollSeekConfiguration`,headerFooterTag:`headerFooterTag`,listClassName:`listClassName`,itemClassName:`itemClassName`,useWindowScroll:`useWindowScroll`,customScrollParent:`customScrollParent`,scrollerRef:`scrollerRef`,logLevel:`logLevel`,restoreStateFrom:`restoreStateFrom`,initialTopMostItemIndex:`initialTopMostItemIndex`,increaseViewportBy:`increaseViewportBy`},methods:{scrollTo:`scrollTo`,scrollBy:`scrollBy`,scrollToIndex:`scrollToIndex`},events:{isScrolling:`isScrolling`,endReached:`endReached`,startReached:`startReached`,rangeChanged:`rangeChanged`,atBottomStateChange:`atBottomStateChange`,atTopStateChange:`atTopStateChange`,stateChanged:`stateChanged`,readyStateChanged:`readyStateChanged`}},D.memo(function({...e}){let t=BO(`useWindowScroll`),n=BO(`customScrollParent`),r=n||t?UO:HO,i=n||t?LO:IO,a=BO(`context`);return(0,O.jsx)(r,{...e,...BD(r,a),children:(0,O.jsxs)(i,{children:[(0,O.jsx)(PO,{}),(0,O.jsx)(NO,{}),(0,O.jsx)(FO,{})]})})})),HO=WD({useEmitter:zO,useEmitterValue:BO,usePublisher:VO}),UO=GD({useEmitter:zO,useEmitterValue:BO,usePublisher:VO});function WO(e,t,n){return t!==`normal`&&t?.endsWith(`px`)!==!0&&n(`${e} was not resolved to pixel value correctly`,t,fT.WARN),t===`normal`?0:parseInt(t??`0`,10)}var GO=64;function KO(e){if(!e)return;let t=e===`smooth`?`smooth`:!0;return e=>e?t:!1}function qO(e){if(e!==void 0)return e===`LAST`?{index:`LAST`,align:`end`}:e}function JO({items:e,itemContent:t,computeItemKey:n,followOutput:r,atBottomStateChange:i,atBottomThreshold:a=GO,firstItemIndex:o,startReached:s,endReached:c,initialTopMostItemIndex:l,customScrollParent:u,overscan:d,increaseViewportBy:f,className:p,ref:m}){let h=(0,D.useRef)(null),g=(0,D.useRef)(null);(0,D.useImperativeHandle)(m,()=>({scrollToIndex({index:e,behavior:t,align:n}){h.current?.scrollToIndex({index:e,behavior:t,align:n})},scrollToBottom(e){h.current?.scrollToIndex({index:`LAST`,align:`end`,behavior:e?.behavior})},getScrollElement(){return g.current}}),[]);let _=(0,D.useMemo)(()=>KO(r),[r]),v=(0,D.useMemo)(()=>qO(l),[l]);return(0,O.jsx)(eO,{ref:h,"data-slot":`virtual-list`,className:E(`bg-[var(--surface-base)]`,p),data:e,itemContent:t,computeItemKey:n,followOutput:_,atBottomStateChange:i,atBottomThreshold:a,startReached:s,endReached:c,scrollerRef:e=>{g.current=e&&`nodeType`in e?e:null},...o===void 0?{}:{firstItemIndex:o},...v===void 0?{}:{initialTopMostItemIndex:v},...u===void 0?{}:{customScrollParent:u},...d===void 0?{}:{overscan:d},...f===void 0?{}:{increaseViewportBy:f}})}var YO=`Collapsible`,[XO,ZO]=je(YO),[QO,$O]=XO(YO),ek=D.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[c,l]=Ae({prop:r,defaultProp:i??!1,onChange:o,caller:YO});return(0,O.jsx)(QO,{scope:n,disabled:a,contentId:Kn(),open:c,onOpenToggle:D.useCallback(()=>l(e=>!e),[l]),children:(0,O.jsx)(Ne.div,{"data-state":ok(c),"data-disabled":a?``:void 0,...s,ref:t})})});ek.displayName=YO;var tk=`CollapsibleTrigger`,nk=D.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=$O(tk,n);return(0,O.jsx)(Ne.button,{type:`button`,"aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":ok(i.open),"data-disabled":i.disabled?``:void 0,disabled:i.disabled,...r,ref:t,onClick:Ie(e.onClick,i.onOpenToggle)})});nk.displayName=tk;var rk=`CollapsibleContent`,ik=D.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=$O(rk,e.__scopeCollapsible);return(0,O.jsx)(Me,{present:n||i.open,children:({present:e})=>(0,O.jsx)(ak,{...r,ref:t,present:e})})});ik.displayName=rk;var ak=D.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:r,children:i,...a}=e,o=$O(rk,n),[s,c]=D.useState(r),l=D.useRef(null),u=T(t,l),d=D.useRef(0),f=d.current,p=D.useRef(0),m=p.current,h=o.open||s,g=D.useRef(h),_=D.useRef(void 0);return D.useEffect(()=>{let e=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(e)},[]),Pe(()=>{let e=l.current;if(e){_.current=_.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();d.current=t.height,p.current=t.width,g.current||(e.style.transitionDuration=_.current.transitionDuration,e.style.animationName=_.current.animationName),c(r)}},[o.open,r]),(0,O.jsx)(Ne.div,{"data-state":ok(o.open),"data-disabled":o.disabled?``:void 0,id:o.contentId,hidden:!h,...a,ref:u,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":m?`${m}px`:void 0,...e.style},children:h&&i})});function ok(e){return e?`open`:`closed`}var sk=ek,ck=nk,lk=ik,uk=`Accordion`,dk=[`Home`,`End`,`ArrowDown`,`ArrowUp`,`ArrowLeft`,`ArrowRight`],[fk,pk,mk]=Un(uk),[hk,gk]=je(uk,[mk,ZO]),_k=ZO(),vk=D.forwardRef((e,t)=>{let{type:n,...r}=e,i=r,a=r;return(0,O.jsx)(fk.Provider,{scope:e.__scopeAccordion,children:n===`multiple`?(0,O.jsx)(wk,{...a,ref:t}):(0,O.jsx)(Ck,{...i,ref:t})})});vk.displayName=uk;var[yk,bk]=hk(uk),[xk,Sk]=hk(uk,{collapsible:!1}),Ck=D.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},collapsible:a=!1,...o}=e,[s,c]=Ae({prop:n,defaultProp:r??``,onChange:i,caller:uk});return(0,O.jsx)(yk,{scope:e.__scopeAccordion,value:D.useMemo(()=>s?[s]:[],[s]),onItemOpen:c,onItemClose:D.useCallback(()=>a&&c(``),[a,c]),children:(0,O.jsx)(xk,{scope:e.__scopeAccordion,collapsible:a,children:(0,O.jsx)(Dk,{...o,ref:t})})})}),wk=D.forwardRef((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=()=>{},...a}=e,[o,s]=Ae({prop:n,defaultProp:r??[],onChange:i,caller:uk}),c=D.useCallback(e=>s((t=[])=>[...t,e]),[s]),l=D.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,O.jsx)(yk,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:l,children:(0,O.jsx)(xk,{scope:e.__scopeAccordion,collapsible:!0,children:(0,O.jsx)(Dk,{...a,ref:t})})})}),[Tk,Ek]=hk(uk),Dk=D.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:r,dir:i,orientation:a=`vertical`,...o}=e,s=T(D.useRef(null),t),c=pk(n),l=Yn(i)===`ltr`,u=Ie(e.onKeyDown,e=>{if(!dk.includes(e.key))return;let t=e.target,n=c().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(r===-1)return;e.preventDefault();let o=r,s=i-1,u=()=>{o=r+1,o>s&&(o=0)},d=()=>{o=r-1,o<0&&(o=s)};switch(e.key){case`Home`:o=0;break;case`End`:o=s;break;case`ArrowRight`:a===`horizontal`&&(l?u():d());break;case`ArrowDown`:a===`vertical`&&u();break;case`ArrowLeft`:a===`horizontal`&&(l?d():u());break;case`ArrowUp`:a===`vertical`&&d();break}n[o%i].ref.current?.focus()});return(0,O.jsx)(Tk,{scope:n,disabled:r,direction:i,orientation:a,children:(0,O.jsx)(fk.Slot,{scope:n,children:(0,O.jsx)(Ne.div,{...o,"data-orientation":a,ref:s,onKeyDown:r?void 0:u})})})}),Ok=`AccordionItem`,[kk,Ak]=hk(Ok),jk=D.forwardRef((e,t)=>{let{__scopeAccordion:n,value:r,...i}=e,a=Ek(Ok,n),o=bk(Ok,n),s=_k(n),c=Kn(),l=r&&o.value.includes(r)||!1,u=a.disabled||e.disabled;return(0,O.jsx)(kk,{scope:n,open:l,disabled:u,triggerId:c,children:(0,O.jsx)(sk,{"data-orientation":a.orientation,"data-state":Rk(l),...s,...i,ref:t,disabled:u,open:l,onOpenChange:e=>{e?o.onItemOpen(r):o.onItemClose(r)}})})});jk.displayName=Ok;var Mk=`AccordionHeader`,Nk=D.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=Ek(uk,n),a=Ak(Mk,n);return(0,O.jsx)(Ne.h3,{"data-orientation":i.orientation,"data-state":Rk(a.open),"data-disabled":a.disabled?``:void 0,...r,ref:t})});Nk.displayName=Mk;var Pk=`AccordionTrigger`,Fk=D.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=Ek(uk,n),a=Ak(Pk,n),o=Sk(Pk,n),s=_k(n);return(0,O.jsx)(fk.ItemSlot,{scope:n,children:(0,O.jsx)(ck,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...r,ref:t})})});Fk.displayName=Pk;var Ik=`AccordionContent`,Lk=D.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=Ek(uk,n),a=Ak(Ik,n),o=_k(n);return(0,O.jsx)(lk,{role:`region`,"aria-labelledby":a.triggerId,"data-orientation":i.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":`var(--radix-collapsible-content-height)`,"--radix-accordion-content-width":`var(--radix-collapsible-content-width)`,...e.style}})});Lk.displayName=Ik;function Rk(e){return e?`open`:`closed`}var zk=vk,Bk=jk,Vk=Nk,Hk=Fk,Uk=Lk;function Wk({className:e,ref:t,...n}){return(0,O.jsx)(zk,{ref:t,"data-slot":`collapsible`,className:E(`flex w-full flex-col`,e),...n})}function Gk({className:e,ref:t,...n}){return(0,O.jsx)(Bk,{ref:t,"data-slot":`collapsible-item`,className:E(`flex flex-col`,e),...n})}function Kk({className:e,ref:t,...n}){return(0,O.jsx)(Vk,{"data-slot":`collapsible-header`,className:`flex`,children:(0,O.jsx)(Hk,{ref:t,"data-slot":`collapsible-trigger`,className:E(`flex min-w-0 flex-1 items-center`,`cursor-pointer select-none`,`outline-none keyboard-focus:ring-2 keyboard-focus:ring-[var(--ring)]`,e),...n})})}function qk({className:e,ref:t,children:n,...r}){return(0,O.jsx)(Uk,{ref:t,"data-slot":`collapsible-content`,className:E(`collapsible-content overflow-hidden`,e),...r,children:n})}var Jk={Root:Wk,Item:Gk,Trigger:Kk,Content:qk},Yk=(0,D.createContext)(null);function Xk(e){let t=(0,D.useContext)(Yk);if(!t)throw Error(`Combobox.${e} must be rendered inside Combobox.Root`);return t}function Zk(e){return`${e===1?`1 result is`:`${e} results are`} available. Use the up and down arrow keys to move through them, Enter to choose one.`}function Qk({options:e,value:t=null,onSelect:n,open:r,onOpenChange:i,autoActivateFirst:a=!1,announceResults:o=Zk,className:s,children:c,...l}){let u=(0,D.useId)(),d=`${u}-listbox`,f=(0,D.useRef)(null),[p,m]=(0,D.useState)(!1),[h,g]=(0,D.useState)(null),_=r===void 0,v=_?p:r,y=(0,D.useMemo)(()=>{let t=new Map;return e.forEach((e,n)=>t.set(e,n)),t},[e]),b=(0,D.useCallback)(e=>y.get(e)??-1,[y]),x=(0,D.useCallback)(e=>{let t=y.get(e);return t===void 0?void 0:`${u}-option-${t}`},[y,u]),S=(0,D.useCallback)(e=>{e||g(null),_&&m(e),i?.(e)},[_,i]),C=(0,D.useRef)(a);(0,D.useEffect)(()=>{let t=C.current&&!a;C.current=a,g(n=>a?e[0]??null:t?null:n!==null&&y.has(n)?n:null)},[e,y,a]);let ee=(0,D.useCallback)(e=>{n(e),S(!1)},[n,S]);(0,D.useEffect)(()=>{if(!_||!v)return;let e=e=>{f.current?.contains(e.target)||S(!1)};return document.addEventListener(`pointerdown`,e),()=>document.removeEventListener(`pointerdown`,e)},[_,v,S]);let[w,T]=(0,D.useState)(``),te=(0,D.useRef)(null);return(0,D.useEffect)(()=>{if(!v){te.current=null,T(``);return}te.current!==e.length&&(te.current=e.length,T(o(e.length)))},[v,e.length,o]),(0,O.jsx)(Yk,{value:(0,D.useMemo)(()=>({options:e,indexOf:b,optionId:x,listboxId:d,value:t,activeValue:h,setActiveValue:g,select:ee,open:v,setOpen:S,ownsOpenState:_}),[e,b,x,d,t,h,ee,v,S,_]),children:(0,O.jsxs)(`div`,{...l,ref:f,"data-slot":`combobox`,className:E(`relative`,s),children:[c,(0,O.jsx)(`div`,{"data-slot":`combobox-status`,role:`status`,"aria-live":`polite`,className:`sr-only`,children:w})]})})}function $k({onKeyDown:e,onFocus:t,onChange:n,...r}){let{options:i,indexOf:a,optionId:o,listboxId:s,activeValue:c,setActiveValue:l,select:u,open:d,setOpen:f,ownsOpenState:p}=Xk(`Input`),m=e=>{let t=i[Math.min(Math.max(e,0),i.length-1)];l(t??null)},h=t=>{if(e?.(t),t.defaultPrevented||t.nativeEvent.isComposing||i.length===0&&t.key!==`Escape`)return;let n=c===null?-1:a(c);switch(t.key){case`ArrowDown`:t.preventDefault(),f(!0),m(n+1);return;case`ArrowUp`:t.preventDefault(),f(!0),m(n<0?i.length-1:n-1);return;case`Enter`:d&&c!==null&&(t.preventDefault(),u(c));return;case`Escape`:p&&d&&(t.preventDefault(),f(!1));return;default:return}};return(0,O.jsx)(Ye,{...r,role:`combobox`,"aria-expanded":d,"aria-controls":d?s:void 0,"aria-autocomplete":`list`,"aria-activedescendant":d&&c!==null?o(c):void 0,autoComplete:`off`,onFocus:e=>{t?.(e),f(!0)},onChange:e=>{n?.(e),f(!0)},onKeyDown:h})}function eA({className:e,children:t,emptyState:n,...r}){let{listboxId:i,open:a,options:o,activeValue:s,value:c,optionId:l}=Xk(`List`),u=s??(a?c:null);return(0,D.useEffect)(()=>{if(u===null)return;let e=l(u);e!==void 0&&document.getElementById(e)?.scrollIntoView?.({block:`nearest`})},[u,l]),a?(0,O.jsx)(`div`,{...r,id:i,role:`listbox`,"data-slot":`combobox-list`,className:E(`flex flex-col overflow-y-auto`,e),children:o.length===0?n:t}):null}function tA({label:e,labelClassName:t,children:n,...r}){let i=(0,D.useId)();return(0,O.jsxs)(`div`,{...r,role:`group`,"aria-labelledby":i,"data-slot":`combobox-group`,children:[(0,O.jsx)(`div`,{id:i,role:`presentation`,className:E(`px-3 pb-1 pt-2 text-label-small-default text-[var(--content-tertiary)]`,t),children:e}),n]})}function nA({value:e,className:t,onClick:n,onMouseDown:r,...i}){let a=Xk(`Option`),o=a.value===e,s=a.activeValue===e;return(0,O.jsx)(`button`,{...i,type:`button`,role:`option`,id:a.optionId(e),"aria-selected":o,"data-slot":`combobox-option`,"data-active":s||void 0,tabIndex:-1,onMouseDown:e=>{r?.(e),e.defaultPrevented||e.preventDefault()},onClick:t=>{n?.(t),t.defaultPrevented||a.select(e)},className:E(`cursor-pointer text-left`,typeof t==`function`?t({isSelected:o,isActive:s}):t)})}var rA={Root:Qk,Input:$k,List:eA,Group:tA,Option:nA},iA={default:`text-[var(--content-default)]`,negative:`text-[var(--system-negative-strong)]`,muted:`text-[var(--content-tertiary)]`};function aA({icon:e,value:t,label:n,tone:r=`default`,className:i,ref:a,...o}){return(0,O.jsxs)(`div`,{...o,ref:a,"data-slot":`stat-square`,className:E(`flex flex-1 items-center gap-3 rounded-xl bg-[var(--surface-base)] p-3`,i),children:[e?(0,O.jsx)(`span`,{"aria-hidden":!0,className:`flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-[var(--surface-lift)] text-[var(--content-emphasised)]`,children:e}):null,(0,O.jsxs)(`div`,{className:`flex min-w-0 flex-col`,children:[(0,O.jsx)(`span`,{className:E(`text-title-small leading-none`,iA[r]),children:t}),(0,O.jsx)(`span`,{className:`mt-1 text-body-small-default text-[var(--content-tertiary)]`,children:n})]})]})}function oA({leading:e,title:t,subtitle:n,trailing:r,trailingInteractive:i,showChevron:a,selected:o,disabled:s,onClick:c,href:l,contentAriaLabel:u,className:d,ref:f,...p}){let m=!!(c||l),h=a??m,g=i?null:r,_=(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col gap-1`,children:[(0,O.jsx)(`span`,{className:`truncate text-body-medium-default text-[var(--content-default)]`,children:t}),n==null?null:(0,O.jsx)(`span`,{className:`min-w-0 text-label-small-default text-[var(--content-tertiary)]`,children:n})]}),g!=null||h?(0,O.jsxs)(`div`,{className:`flex shrink-0 items-center gap-4`,children:[g,h?(0,O.jsx)(ae,{className:`h-4 w-4 text-[var(--content-tertiary)]`}):null]}):null]}),v=`flex min-w-0 flex-1 items-center gap-4 text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]`,y;return y=l&&!s?(0,O.jsx)(`a`,{href:l,"aria-label":u,className:E(v,`cursor-pointer`),children:_}):c?(0,O.jsx)(`button`,{type:`button`,onClick:c,disabled:s,"aria-label":u,className:E(v,`cursor-pointer disabled:cursor-not-allowed`),children:_}):(0,O.jsx)(`div`,{className:v,children:_}),(0,O.jsxs)(`div`,{...p,ref:f,"data-slot":`list-row`,className:E(`flex items-center gap-3 rounded-md px-2 py-3 transition-colors`,`[&+&]:border-t [&+&]:border-[var(--border-base)]`,m&&!o&&!s&&`hover:bg-[var(--surface-hover)]`,o&&`bg-[var(--surface-active)]`,s&&`opacity-60`,d),children:[e,y,i&&r!=null?(0,O.jsx)(`div`,{className:`flex shrink-0 items-center gap-4`,children:r}):null]})}var sA={command:`⌘`,cmd:`⌘`,commandorcontrol:`⌘`,cmdorctrl:`⌘`,super:`⌘`,meta:`⌘`,control:`⌃`,ctrl:`⌃`,alt:`⌥`,option:`⌥`,altgr:`⌥`,shift:`⇧`},cA={up:`↑`,down:`↓`,left:`←`,right:`→`,return:`↩`,enter:`↩`,space:`␣`,backspace:`⌫`,delete:`⌦`,escape:`⎋`,esc:`⎋`,tab:`⇥`,pageup:`⇞`,pagedown:`⇟`,home:`↖`,end:`↘`,plus:`+`},lA=e=>{let t=e.split(`+`),n=[];for(let e=0;e<t.length;e+=1){let r=t[e];r===``&&e===t.length-1&&n.length>0?n.push(`+`):r!==``&&n.push(r)}return n},uA=e=>{let t=e.toLowerCase();return sA[t]??cA[t]??e.toUpperCase()},dA=e=>lA(e).map(uA);function fA({accelerator:e,className:t,ref:n,...r}){let i=dA(e);return(0,O.jsx)(`span`,{...r,ref:n,"data-slot":`shortcut-keys`,className:E(`inline-flex items-center gap-1`,t),children:i.map((e,t)=>(0,O.jsx)(`kbd`,{className:E(`inline-flex items-center justify-center`,`min-w-5 h-5 px-1 rounded-[4px]`,`text-body-small-emphasised leading-none`,`bg-[var(--tag-bg-neutral)] text-[color:var(--content-default)]`),children:e},`${e}-${t}`))})}var pA=!1;function mA(){pA||typeof document>`u`||(pA=!0,document.documentElement.dataset.modality=`keyboard`,document.addEventListener(`pointerdown`,()=>{document.documentElement.dataset.modality=`pointer`},!0),document.addEventListener(`keydown`,e=>{(e.key===`Tab`||e.key===`ArrowUp`||e.key===`ArrowDown`||e.key===`ArrowLeft`||e.key===`ArrowRight`)&&(document.documentElement.dataset.modality=`keyboard`)},!0))}var hA={rest:15,raised:24};function gA(e,{rest:t,raised:n}=hA){let r=`color-mix(in srgb, ${e} ${n}%, var(--surface-lift))`;return{"--panel-item-bg":`color-mix(in srgb, ${e} ${t}%, var(--surface-lift))`,"--panel-item-hover":r,"--panel-item-active":r}}export{ht as $,Qo as A,di as B,Mf as C,rs as D,Hu as E,oo as F,Ur as G,si as H,ao as I,Vn as J,Br as K,Ji as L,Xo as M,Ko as N,is as O,co as P,gt as Q,Ii as R,Xf as S,Md as T,Xr as U,li as V,Gr as W,bt as X,on as Y,yt as Z,iC as _,aA as a,cp as b,JO as c,rw as d,rt as et,xC as f,bC as g,vC as h,oA as i,Yo as j,os as k,gO as l,yC as m,mA as n,rA as o,QC as p,Hn as q,fA as r,Jk as s,gA as t,nt as tt,Ew as u,lp as v,Jd as w,Kf as x,sp as y,ui as z};
|