@cardstack/boxel-cli 0.13.0-unstable.4 → 0.13.0-unstable.5
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/bundled-realms/pretui/components/doc-report.gts +2 -2
- package/bundled-realms/pretui/components/doc-report.usage.gts +3 -3
- package/bundled-realms/pretui/components/form-field.md +1 -1
- package/bundled-realms/pretui/components/icon-button.md +1 -1
- package/bundled-realms/pretui/components/popup.md +1 -1
- package/bundled-realms/pretui/components/switch.gts +13 -0
- package/bundled-realms/pretui/components/switch.md +5 -3
- package/bundled-realms/pretui/components/theme-frame.gts +49 -22
- package/bundled-realms/pretui/components/tooltip.gts +141 -42
- package/bundled-realms/pretui/components/tooltip.md +10 -12
- package/bundled-realms/pretui/components/tooltip.usage.gts +3 -5
- package/bundled-realms/pretui/docs/structure.md +1 -1
- package/bundled-realms/pretui/internal/overlay.gts +4 -2
- package/bundled-realms/pretui/pretui-css.gts +6 -2
- package/bundled-realms/pretui/theme-scoped-css.gts +262 -0
- package/bundled-test-harness/assets/account-switch-failed-test-DwAZq6Sc.js +45 -0
- package/bundled-test-harness/assets/adapter-C_6pnsx1.js +2 -0
- package/bundled-test-harness/assets/add-field-to-card-definition-tool-test-zMYtJWBv.js +112 -0
- package/bundled-test-harness/assets/ai-assistant-create-workspace-test-CwhAV-Ow.js +130 -0
- package/bundled-test-harness/assets/ai-assistant-panel-relogin-test-DNgclkGJ.js +46 -0
- package/bundled-test-harness/assets/ai-assistant-test-DGYFiRTb.js +2223 -0
- package/bundled-test-harness/assets/ai-function-generation-test-Dj6WzKkh.js +1176 -0
- package/bundled-test-harness/assets/ai-module-creation-test-EsOoJpQ1.js +151 -0
- package/bundled-test-harness/assets/aibot-message-uGaCPn5o.js +1312 -0
- package/bundled-test-harness/assets/app-pIzBYfiZ.js +14146 -0
- package/bundled-test-harness/assets/apply-markdown-edit-test-CPhfeg1i.js +230 -0
- package/bundled-test-harness/assets/ask-user-picker-NVRkhKwt.js +370 -0
- package/bundled-test-harness/assets/ask-user-picker-test-SsZqFm9W.js +39 -0
- package/bundled-test-harness/assets/assistant-transcript-test-DesuBCIB.js +57 -0
- package/bundled-test-harness/assets/audio-metadata-extractor-test-8JM6oZXG.js +1176 -0
- package/bundled-test-harness/assets/authed-fetch-test-yPTMe-9V.js +73 -0
- package/bundled-test-harness/assets/avif-image-def-test-Kyknj908.js +187 -0
- package/bundled-test-harness/assets/basic-test-D9OrrMaq.js +139 -0
- package/bundled-test-harness/assets/binary-upload-dedupe-test-Dnxlbbu6.js +308 -0
- package/bundled-test-harness/assets/bot-registration-test-Bk2lTaCW.js +97 -0
- package/bundled-test-harness/assets/box-test-BbV9sMyU.js +50 -0
- package/bundled-test-harness/assets/brand-guide-attachments-test-z4wTsKbI.js +84 -0
- package/bundled-test-harness/assets/brand-guide-custom-css-test-BlSJE8xo.js +196 -0
- package/bundled-test-harness/assets/brand-guide-edit-test-DJ1OQ6IB.js +140 -0
- package/bundled-test-harness/assets/brand-logo-mark-field-test-ux7eetkO.js +86 -0
- package/bundled-test-harness/assets/broken-link-template-test-CqB3MWyw.js +192 -0
- package/bundled-test-harness/assets/bundled-base-modules-test-B2oNLZSJ.js +54 -0
- package/bundled-test-harness/assets/bundled-base-oracle-test-DelPfFjn.js +37 -0
- package/bundled-test-harness/assets/buried-stack-item-scroll-test-Ixsl1tS0.js +236 -0
- package/bundled-test-harness/assets/button-BvYQm_A1.js +141 -0
- package/bundled-test-harness/assets/bxl-cyclic-graph-test-p23WCLRW.js +47 -0
- package/bundled-test-harness/assets/bxl-expression-test-CVTQYT_C.js +250 -0
- package/bundled-test-harness/assets/bxl-indexing-test-D_A7X2sr.js +212 -0
- package/bundled-test-harness/assets/bxl-platform-module-test-Cltfyybp.js +71 -0
- package/bundled-test-harness/assets/can-invoke-test-DJi7jMaU.js +455 -0
- package/bundled-test-harness/assets/can-read-realm-test-CIz6WX_K.js +56 -0
- package/bundled-test-harness/assets/cancel-indexing-job-test-0LlrOgYK.js +69 -0
- package/bundled-test-harness/assets/capture-test-diHIWmh0.js +360 -0
- package/bundled-test-harness/assets/card-api-test-Ci9b0ghP.js +198 -0
- package/bundled-test-harness/assets/card-basics-test-RKQoQWZD.js +5364 -0
- package/bundled-test-harness/assets/card-chooser-paging-test-BoUyFMEw.js +235 -0
- package/bundled-test-harness/assets/card-chooser-test-7ZwhxxkH.js +393 -0
- package/bundled-test-harness/assets/card-context-search-results-KmkXJbmC.js +30 -0
- package/bundled-test-harness/assets/card-context-search-results-test-CpMr8OlX.js +184 -0
- package/bundled-test-harness/assets/card-def-field-def-relationships-test-ByPl5n55.js +562 -0
- package/bundled-test-harness/assets/card-def-menu-items-test-ohuHc0b4.js +228 -0
- package/bundled-test-harness/assets/card-delete-test-Be971b-V.js +466 -0
- package/bundled-test-harness/assets/card-error-3q1o3i0e.js +72 -0
- package/bundled-test-harness/assets/card-error-awaiting-index-test-DPgYKfbF.js +53 -0
- package/bundled-test-harness/assets/card-info-thumbnail-picker-test-CVfeJyjt.js +219 -0
- package/bundled-test-harness/assets/card-playground-test-D-7bi4PQ.js +1491 -0
- package/bundled-test-harness/assets/card-prerender-DemTfK_a.js +12939 -0
- package/bundled-test-harness/assets/card-thunk-error-test-DCBh1vRT.js +48 -0
- package/bundled-test-harness/assets/card-type-service-test-DXPrfVYk.js +161 -0
- package/bundled-test-harness/assets/check-correctness-test-DjE7r1X2.js +1093 -0
- package/bundled-test-harness/assets/check-domain-availability-test-U10xSKbY.js +98 -0
- package/bundled-test-harness/assets/chip-0r_r9SC8.js +44 -0
- package/bundled-test-harness/assets/choreo-Ci5dG5fv.js +2 -0
- package/bundled-test-harness/assets/choreo-D1K9RyjM.js +1031 -0
- package/bundled-test-harness/assets/choreo-feature-reel-test-vzmW-SFd.js +155 -0
- package/bundled-test-harness/assets/choreo-gallery-build-order-test-J6n0_PKm.js +436 -0
- package/bundled-test-harness/assets/choreo-gallery-compositor-test-DSi1N9bi.js +399 -0
- package/bundled-test-harness/assets/choreo-gallery-cover-test-BT05gNKC.js +214 -0
- package/bundled-test-harness/assets/choreo-gallery-crossing-stage-test-BIuLOZH6.js +133 -0
- package/bundled-test-harness/assets/choreo-gallery-demos-alive-test-ClGjpnj6.js +42 -0
- package/bundled-test-harness/assets/choreo-gallery-drift-test-OjxMXV0Y.js +620 -0
- package/bundled-test-harness/assets/choreo-gallery-escort-test-D6VL4FfT.js +187 -0
- package/bundled-test-harness/assets/choreo-gallery-films-test-DBcDHGx8.js +140 -0
- package/bundled-test-harness/assets/choreo-gallery-filter-test-BUghtJZe.js +46 -0
- package/bundled-test-harness/assets/choreo-gallery-fold-test-0D9-_h_I.js +180 -0
- package/bundled-test-harness/assets/choreo-gallery-guide-pages-test-DS41eNNV.js +114 -0
- package/bundled-test-harness/assets/choreo-gallery-guides-test-CZnaxUNJ.js +321 -0
- package/bundled-test-harness/assets/choreo-gallery-hang-test-WFvsJ-MJ.js +426 -0
- package/bundled-test-harness/assets/choreo-gallery-highlight-test-Dn0hYPLC.js +60 -0
- package/bundled-test-harness/assets/choreo-gallery-inline-edit-test-C5WvS67s.js +370 -0
- package/bundled-test-harness/assets/choreo-gallery-interruption-test-CgT9RKTe.js +176 -0
- package/bundled-test-harness/assets/choreo-gallery-lone-stack-test-BZgqbTJd.js +104 -0
- package/bundled-test-harness/assets/choreo-gallery-navigation-test-CWzXkvbW.js +193 -0
- package/bundled-test-harness/assets/choreo-gallery-playhead-transport-test-Dt71t4CU.js +111 -0
- package/bundled-test-harness/assets/choreo-gallery-poplayout-subtree-test-B_rDq4em.js +127 -0
- package/bundled-test-harness/assets/choreo-gallery-presence-modes-test-j_cZ9cAM.js +100 -0
- package/bundled-test-harness/assets/choreo-gallery-presentation-test-CIFKR65J.js +157 -0
- package/bundled-test-harness/assets/choreo-gallery-reduced-motion-test-BvRCiCvB.js +145 -0
- package/bundled-test-harness/assets/choreo-gallery-sheet-standalone-test-DgO2MBzU.js +89 -0
- package/bundled-test-harness/assets/choreo-gallery-sheet-test-BntUKT_P.js +48 -0
- package/bundled-test-harness/assets/choreo-gallery-site-test-CvSE6Jyq.js +237 -0
- package/bundled-test-harness/assets/choreo-gallery-stage-Dj6tFzon.js +256 -0
- package/bundled-test-harness/assets/choreo-gallery-stage-keyboard-test-CkDrAPA8.js +102 -0
- package/bundled-test-harness/assets/choreo-gallery-stages-test-DHUmzoRW.js +35 -0
- package/bundled-test-harness/assets/choreo-gallery-subdivision-test-BZ9-cDFh.js +138 -0
- package/bundled-test-harness/assets/choreo-gallery-table-plan-test-7uP6mZpo.js +144 -0
- package/bundled-test-harness/assets/choreo-gallery-theater-test-DgEue9FD.js +252 -0
- package/bundled-test-harness/assets/choreo-gallery-tuning-test-CfPx5iCp.js +95 -0
- package/bundled-test-harness/assets/choreo-gallery-widget-room-test-o9T2EFKq.js +88 -0
- package/bundled-test-harness/assets/choreo-gallery-wires-test-73JLkxn6.js +148 -0
- package/bundled-test-harness/assets/client-telemetry-test-DFM4mML2.js +340 -0
- package/bundled-test-harness/assets/clip-CsRtHZiN.js +92 -0
- package/bundled-test-harness/assets/clip-CycGr0Lf.js +2 -0
- package/bundled-test-harness/assets/code-block-DRE8KQZQ.js +502 -0
- package/bundled-test-harness/assets/code-ref-test-CDcqE8_C.js +163 -0
- package/bundled-test-harness/assets/code-submode-availability-test-DPTqZYYm.js +198 -0
- package/bundled-test-harness/assets/code-submode-test-AHV4mzJ4.js +1839 -0
- package/bundled-test-harness/assets/codeblocks-test-D9pbJMK8.js +418 -0
- package/bundled-test-harness/assets/codemirror-editor-test-BeAMVivu.js +1512 -0
- package/bundled-test-harness/assets/codemirror-embed-toolbar-test-Bnb7_KUT.js +366 -0
- package/bundled-test-harness/assets/color-field-test-CR6gGEqE.js +212 -0
- package/bundled-test-harness/assets/compaction-test-BSqAGv4g.js +150 -0
- package/bundled-test-harness/assets/computed-test-DtyZGgdc.js +1320 -0
- package/bundled-test-harness/assets/container-CEslVSTe.js +10884 -0
- package/bundled-test-harness/assets/content-preview-components-test-BztI4fz-.js +462 -0
- package/bundled-test-harness/assets/copy-and-edit-test-Cqw7kcur.js +292 -0
- package/bundled-test-harness/assets/copy-card-test-D5m3eVEH.js +218 -0
- package/bundled-test-harness/assets/copy-file-to-realm-test-FPY-6Ddm.js +148 -0
- package/bundled-test-harness/assets/copy-source-test-9pJD-qey.js +56 -0
- package/bundled-test-harness/assets/create-file-test-DjMf88u_.js +1086 -0
- package/bundled-test-harness/assets/create-file-test-XbgOqg38.js +464 -0
- package/bundled-test-harness/assets/create-listing-modal-test-DyGlGMWu.js +273 -0
- package/bundled-test-harness/assets/create-listing-pr-request-test-CBtIV0Z8.js +117 -0
- package/bundled-test-harness/assets/create-spec-test-4xR0gM7E.js +256 -0
- package/bundled-test-harness/assets/create-submission-workflow-test-DQpWrpGT.js +132 -0
- package/bundled-test-harness/assets/create-workspace-test-BQAudgpS.js +104 -0
- package/bundled-test-harness/assets/credential-fields-test-DXKBdbZD.js +200 -0
- package/bundled-test-harness/assets/csv-file-def-test-Cnp4y834.js +102 -0
- package/bundled-test-harness/assets/dashboard-CmuOhIYC.js +3628 -0
- package/bundled-test-harness/assets/dashboard-CzN49x74.css +2400 -0
- package/bundled-test-harness/assets/dashboard-add-workspace-test-T32hWB-g.js +50 -0
- package/bundled-test-harness/assets/dashboard-agents-test-BN5maCgQ.js +334 -0
- package/bundled-test-harness/assets/dashboard-archive-test-BzwUte_Z.js +128 -0
- package/bundled-test-harness/assets/dashboard-delete-test-D2Gcp81V.js +163 -0
- package/bundled-test-harness/assets/dashboard-duplicate-offer-test-BgKNIr35.js +71 -0
- package/bundled-test-harness/assets/dashboard-duplicate-test-D7JEWylc.js +222 -0
- package/bundled-test-harness/assets/dashboard-get-started-test-DOGPzGoA.js +374 -0
- package/bundled-test-harness/assets/dashboard-ir2bakJS.js +142 -0
- package/bundled-test-harness/assets/dashboard-pinned-cards-test-Bn_P9xJU.js +220 -0
- package/bundled-test-harness/assets/dashboard-publish-test-64sGQ0nG.js +70 -0
- package/bundled-test-harness/assets/dashboard-reindex-test-DJjYq1ct.js +115 -0
- package/bundled-test-harness/assets/dashboard-section-rail-test-ZkAhWu5V.js +169 -0
- package/bundled-test-harness/assets/dashboard-state-test-BbkpPB5L.js +162 -0
- package/bundled-test-harness/assets/dashboard-test-CBLdPrSt.js +545 -0
- package/bundled-test-harness/assets/dashboard-unreachable-notice-test-DFT3R1Zx.js +62 -0
- package/bundled-test-harness/assets/dashboard-workspace-test-DqBdCFo2.js +537 -0
- package/bundled-test-harness/assets/dashboard-workspaces-section-test-CH1HDfxR.js +410 -0
- package/bundled-test-harness/assets/data-file-def-preview-test-CNsZwQEJ.js +155 -0
- package/bundled-test-harness/assets/date-time-fields-test-CEFaZTnF.js +359 -0
- package/bundled-test-harness/assets/debug-message-test-0hv0RwE_.js +117 -0
- package/bundled-test-harness/assets/declared-captures-test-C-0yPRU7.js +879 -0
- package/bundled-test-harness/assets/delete-workspace-test-CZOwGy78.js +102 -0
- package/bundled-test-harness/assets/diffing-test-BEKI905O.js +210 -0
- package/bundled-test-harness/assets/download-file-to-realm-test-C1kAGDll.js +119 -0
- package/bundled-test-harness/assets/editor-test-C9x5ZY6g.js +688 -0
- package/bundled-test-harness/assets/edits-D76-aanh.js +651 -0
- package/bundled-test-harness/assets/email-field-test-LGkrB_2B.js +75 -0
- package/bundled-test-harness/assets/enum-field-test-CPyV1J-m.js +935 -0
- package/bundled-test-harness/assets/error-display-test-bWuUtfIG.js +343 -0
- package/bundled-test-harness/assets/evaluate-module-test-CbS5h8t3.js +91 -0
- package/bundled-test-harness/assets/execute-atomic-operations-test-B4Kfco0k.js +113 -0
- package/bundled-test-harness/assets/externals-CDQm-Lm7.js +4393 -0
- package/bundled-test-harness/assets/fallback-banner-live-delete-test-DQSiTzvj.js +207 -0
- package/bundled-test-harness/assets/fallback-banner-test-CJFKLpOy.js +225 -0
- package/bundled-test-harness/assets/fallback-banner-test-DQkrFE4-.js +53 -0
- package/bundled-test-harness/assets/fallback-models-test-CiWfmxaB.js +161 -0
- package/bundled-test-harness/assets/fetch-card-json-test-DULUqUEu.js +61 -0
- package/bundled-test-harness/assets/field-configuration-test-BXZq28xa.js +551 -0
- package/bundled-test-harness/assets/field-markdown-domain-test-DdXCifs6.js +616 -0
- package/bundled-test-harness/assets/field-markdown-oversize-test-DouPPTHX.js +88 -0
- package/bundled-test-harness/assets/field-markdown-primitives-test-DSRGJeyl.js +365 -0
- package/bundled-test-harness/assets/field-markdown-specialized-test-DlTYLl_s.js +534 -0
- package/bundled-test-harness/assets/field-playground-test-NhS4VvoN.js +894 -0
- package/bundled-test-harness/assets/field-support-predicates-test-DWpyT1Qf.js +167 -0
- package/bundled-test-harness/assets/file-attachment-test-m72-VerW.js +796 -0
- package/bundled-test-harness/assets/file-chooser-panel-test-DuAqD9bn.js +153 -0
- package/bundled-test-harness/assets/file-chooser-test-CjaXXwpT.js +504 -0
- package/bundled-test-harness/assets/file-def-format-templates-test-BDs4OmHq.js +380 -0
- package/bundled-test-harness/assets/file-def-live-reload-test-BqTdnq-W.js +124 -0
- package/bundled-test-harness/assets/file-def-menu-items-test-DqdINXsD.js +138 -0
- package/bundled-test-harness/assets/file-def-navigation-test-BPGr0SQy.js +109 -0
- package/bundled-test-harness/assets/file-def-serialization-test-CvjW-FlC.js +89 -0
- package/bundled-test-harness/assets/file-def-test-C-Yv_NjS.js +216 -0
- package/bundled-test-harness/assets/file-preview-live-reload-test-MzwGwasU.js +310 -0
- package/bundled-test-harness/assets/file-resource-primitives-test-D3GmfqNs.js +255 -0
- package/bundled-test-harness/assets/file-tree-from-index-test-CfldnUgm.js +96 -0
- package/bundled-test-harness/assets/file-tree-test--0ZCPRe9.js +851 -0
- package/bundled-test-harness/assets/file-view-model-test-BDIAeBV8.js +346 -0
- package/bundled-test-harness/assets/filedef-export-shape-test-B2tgU404.js +61 -0
- package/bundled-test-harness/assets/film-D1E-odYG.js +13 -0
- package/bundled-test-harness/assets/film-D25Y0ED6.js +2 -0
- package/bundled-test-harness/assets/film-D97U-ydx.js +4074 -0
- package/bundled-test-harness/assets/flac-audio-def-test-ByoXMoQ1.js +143 -0
- package/bundled-test-harness/assets/font-metadata-extractor-test-hawLTDTG.js +415 -0
- package/bundled-test-harness/assets/formatted-aibot-message-test-Bdx_-Ktn.js +109 -0
- package/bundled-test-harness/assets/formatted-user-message-test-CodbrU3t.js +43 -0
- package/bundled-test-harness/assets/freestyle-test-faQhSciz.js +17 -0
- package/bundled-test-harness/assets/full-reindex-realm-test-CE5RJTIC.js +101 -0
- package/bundled-test-harness/assets/garbage-collection-test-v-3sev77.js +403 -0
- package/bundled-test-harness/assets/general-test-DQuxDvXK.js +923 -0
- package/bundled-test-harness/assets/generate-example-cards-one-shot-test-CucWyrkH.js +65 -0
- package/bundled-test-harness/assets/generic-file-def-preview-test-_EDRsebi.js +71 -0
- package/bundled-test-harness/assets/get-available-realm-identifiers-test-CV023yek.js +47 -0
- package/bundled-test-harness/assets/get-catalog-realm-identifiers-test--DOu3DyV.js +47 -0
- package/bundled-test-harness/assets/get-default-writable-realm-test-Bic8jl6R.js +54 -0
- package/bundled-test-harness/assets/get-published-realms-test-DrA5YcFN.js +71 -0
- package/bundled-test-harness/assets/get-realm-of-resource-identifier-test-jfU6SIWn.js +54 -0
- package/bundled-test-harness/assets/get-relationship-membership-state-test-Ccy2Z7MN.js +1308 -0
- package/bundled-test-harness/assets/get-user-system-card-test-Bmq2lmWv.js +67 -0
- package/bundled-test-harness/assets/gif-image-def-test-N1mMQC-X.js +188 -0
- package/bundled-test-harness/assets/glimmer-motion-and-choreo-in-cards-test-DzPKH76g.js +160 -0
- package/bundled-test-harness/assets/glimmer-motion-and-choreo-test-D9mlcQuN.js +74 -0
- package/bundled-test-harness/assets/gts-file-def-test-BL1jpQ9J.js +100 -0
- package/bundled-test-harness/assets/head-format-preview-test-BVCaPQqc.js +158 -0
- package/bundled-test-harness/assets/helpers-Ds68JxHe.js +5 -0
- package/bundled-test-harness/assets/host-mode-service-B4bisRdR.js +262 -0
- package/bundled-test-harness/assets/host-mode-test-BmkN2PCJ.js +831 -0
- package/bundled-test-harness/assets/host-submode-test-C6SxQ796.js +1392 -0
- package/bundled-test-harness/assets/html-component-test-CNQ9wF0Q.js +65 -0
- package/bundled-test-harness/assets/html-def-test-BcaCVVQq.js +160 -0
- package/bundled-test-harness/assets/html-meta-extractor-test-BU1hjkTp.js +60 -0
- package/bundled-test-harness/assets/hydratable-card-test-CX6MWiti.js +426 -0
- package/bundled-test-harness/assets/icon-button-C1zH38Nc.js +67 -0
- package/bundled-test-harness/assets/image-metadata-extractor-test-CakSBPZ_.js +1109 -0
- package/bundled-test-harness/assets/index-changes-test-D8RtgfyG.js +367 -0
- package/bundled-test-harness/assets/index-query-engine-test-BOvxkx07.js +2593 -0
- package/bundled-test-harness/assets/index-writer-test-B_bR2fjw.js +3040 -0
- package/bundled-test-harness/assets/inspector-test-BwPXJj1S.js +2058 -0
- package/bundled-test-harness/assets/instance-filter-matcher-test-COAlkUed.js +788 -0
- package/bundled-test-harness/assets/instantiate-card-test-BVQhZjpq.js +164 -0
- package/bundled-test-harness/assets/interact-submode-creation-and-permissions-test-DzQLG41H.js +475 -0
- package/bundled-test-harness/assets/interact-submode-setup-C5bKXq73.js +566 -0
- package/bundled-test-harness/assets/invalidate-realm-identifiers-test-Cd3dpjhB.js +99 -0
- package/bundled-test-harness/assets/invite-user-to-room-test-Brabz1tt.js +142 -0
- package/bundled-test-harness/assets/invoke-card-operation-test-C1Q1FUf4.js +333 -0
- package/bundled-test-harness/assets/isolated-render-test-BLJfS7BU.js +51 -0
- package/bundled-test-harness/assets/job-scoped-doc-cache-test-Bgv5woaB.js +181 -0
- package/bundled-test-harness/assets/job-scoped-instance-residency-test-C_bB6KpR.js +103 -0
- package/bundled-test-harness/assets/jpg-image-def-test-gdLIKocD.js +697 -0
- package/bundled-test-harness/assets/json-file-def-test-CPYMRBY-.js +95 -0
- package/bundled-test-harness/assets/key-notices-badge-test-DemslfLw.js +155 -0
- package/bundled-test-harness/assets/key-readiness-test-5tq5JycL.js +190 -0
- package/bundled-test-harness/assets/linksto-broken-link-placeholder-test-BbhDZ2PH.js +398 -0
- package/bundled-test-harness/assets/linksto-error-sentinel-test-C2t7fFPi.js +238 -0
- package/bundled-test-harness/assets/linksto-many-broken-link-placeholder-test--U_UvUty.js +354 -0
- package/bundled-test-harness/assets/linksto-many-per-slot-access-test-Dj3Xy0ZF.js +303 -0
- package/bundled-test-harness/assets/linksto-sentinel-reload-test-D0dK4Jjs.js +197 -0
- package/bundled-test-harness/assets/linksto-sentinel-roundtrip-test---IYiXok.js +260 -0
- package/bundled-test-harness/assets/linksto-singular-js-access-contract-test-CT04MhES.js +196 -0
- package/bundled-test-harness/assets/lint-and-fix-test-aadgx7rX.js +51 -0
- package/bundled-test-harness/assets/live-test-BGij_vuc.js +100 -0
- package/bundled-test-harness/assets/live-test-CppvValf.js +2 -0
- package/bundled-test-harness/assets/load-default-skills-test-Cp2m_ebp.js +74 -0
- package/bundled-test-harness/assets/loader-parallel-prefetch-test-vU_26Jqu.js +257 -0
- package/bundled-test-harness/assets/loader-test-CTaw8K_B.js +482 -0
- package/bundled-test-harness/assets/loading-test-DGGt4qZZ.js +63 -0
- package/bundled-test-harness/assets/m4a-audio-def-test-DAiReOXH.js +190 -0
- package/bundled-test-harness/assets/main-DUKPWRts.js +5 -0
- package/bundled-test-harness/assets/markdown-embed-chooser-modal-test-CIXq9FqR.js +470 -0
- package/bundled-test-harness/assets/markdown-embed-chooser-test-zFGh9WfP.js +334 -0
- package/bundled-test-harness/assets/markdown-embed-preview-pane-test-Byn_WFwY.js +447 -0
- package/bundled-test-harness/assets/markdown-embed-preview-test-Y3iFMttg.js +368 -0
- package/bundled-test-harness/assets/markdown-fallback-test-Br1TPkLZ.js +316 -0
- package/bundled-test-harness/assets/markdown-file-def-test-Crm2MAnq.js +380 -0
- package/bundled-test-harness/assets/markdown-helpers-test-CZ9Vvywc.js +188 -0
- package/bundled-test-harness/assets/markdown-highlighting-test-CFMkoVDl.js +244 -0
- package/bundled-test-harness/assets/markdown-preview-Df5fp1SY.js +72 -0
- package/bundled-test-harness/assets/markdown-preview-test-DDaPzsVs.js +238 -0
- package/bundled-test-harness/assets/markdown-skill-frontmatter-test-aH6HQly1.js +146 -0
- package/bundled-test-harness/assets/markdown-skill-search-test-CiNLQs-5.js +80 -0
- package/bundled-test-harness/assets/matrix-service-account-switch-sessions-test-DaA8w1Jj.js +63 -0
- package/bundled-test-harness/assets/matrix-service-boot-assembly-test-21GIlf55.js +300 -0
- package/bundled-test-harness/assets/matrix-service-personal-realm-test-jn9DUENm.js +125 -0
- package/bundled-test-harness/assets/matrix-service-realm-servers-test-eNZVJakl.js +55 -0
- package/bundled-test-harness/assets/matrix-service-realms-list-updated-test-Cabm8_dY.js +132 -0
- package/bundled-test-harness/assets/matrix-service-relogin-test-C77EFgjc.js +59 -0
- package/bundled-test-harness/assets/matrix-service-sliding-sync-test-BgM0fPiO.js +35 -0
- package/bundled-test-harness/assets/menu-Cl50TSFe.js +3561 -0
- package/bundled-test-harness/assets/message-service-subscription-test-CfEqH2jP.js +110 -0
- package/bundled-test-harness/assets/message-service-test-DsTzH1In.js +144 -0
- package/bundled-test-harness/assets/message-tool-test-C5xVfTtj.js +33 -0
- package/bundled-test-harness/assets/midi-audio-def-test-goLRCNCZ.js +182 -0
- package/bundled-test-harness/assets/migrate-skill-test-yPCbVfxG.js +161 -0
- package/bundled-test-harness/assets/mini-YXjrY_tH.js +1404 -0
- package/bundled-test-harness/assets/mini-card-chooser-test-DrllikHB.js +272 -0
- package/bundled-test-harness/assets/mini-file-chooser-test-BfqayhmI.js +201 -0
- package/bundled-test-harness/assets/mock-matrix-C7BrPS6S.js +2 -0
- package/bundled-test-harness/assets/mock-matrix-FjsXmU7-.js +15107 -0
- package/bundled-test-harness/assets/modal-BgaZavcs.js +322 -0
- package/bundled-test-harness/assets/model-cost-tier-test-CZlu1zww.js +174 -0
- package/bundled-test-harness/assets/model-file-extract-test-CjEBupY5.js +206 -0
- package/bundled-test-harness/assets/module-transpile-cache-test-XW6DDsmz.js +67 -0
- package/bundled-test-harness/assets/monaco-test-DkoRuFiQ.js +100 -0
- package/bundled-test-harness/assets/mp3-audio-def-test-v369NNsQ.js +133 -0
- package/bundled-test-harness/assets/multiple-stacks-test-CJpYPWdM.js +208 -0
- package/bundled-test-harness/assets/nested-query-field-render-test-CfDrBcUN.js +249 -0
- package/bundled-test-harness/assets/no-stacks-test-MmsJeLpz.js +48 -0
- package/bundled-test-harness/assets/number-field-test-A7B2r0M5.js +184 -0
- package/bundled-test-harness/assets/office-file-def-test-BNRvFmCB.js +263 -0
- package/bundled-test-harness/assets/office-metadata-extractor-test-zlDoEIEp.js +218 -0
- package/bundled-test-harness/assets/office-poster-capture-test-DdFEaOxR.js +203 -0
- package/bundled-test-harness/assets/ogg-audio-def-test-kk91BzQY.js +196 -0
- package/bundled-test-harness/assets/open-create-listing-modal-test-D1Dl1pov.js +131 -0
- package/bundled-test-harness/assets/open-image-in-new-tab-test-DyCmdMyO.js +52 -0
- package/bundled-test-harness/assets/open-secure-window-test-dz1vPudF.js +253 -0
- package/bundled-test-harness/assets/open-workspace-test-BvTcskzP.js +46 -0
- package/bundled-test-harness/assets/operation-lowering-test-CKkamOQt.js +2957 -0
- package/bundled-test-harness/assets/operations-invocation-test-BMj42rQe.js +523 -0
- package/bundled-test-harness/assets/operations-optimistic-test-KJLyzT8v.js +203 -0
- package/bundled-test-harness/assets/operations-query-test-J3HcnaoK.js +459 -0
- package/bundled-test-harness/assets/operations-store-reconciliation-test-CkbGBMBQ.js +406 -0
- package/bundled-test-harness/assets/operations-test-C7zXXpRW.js +2518 -0
- package/bundled-test-harness/assets/operator-mode-acceptance-test-BPolI_RD.js +1195 -0
- package/bundled-test-harness/assets/operator-mode-card-chooser-test-CQ1v8med.js +1036 -0
- package/bundled-test-harness/assets/operator-mode-links-test-BMHEauS3.js +797 -0
- package/bundled-test-harness/assets/operator-mode-test-blL_JVF8.js +696 -0
- package/bundled-test-harness/assets/operator-mode-ui-test-BG6I7-Hc.js +1045 -0
- package/bundled-test-harness/assets/overlay-D2rQi8lJ.js +427 -0
- package/bundled-test-harness/assets/overlay-menu-items-test-D-zmRQQ0.js +331 -0
- package/bundled-test-harness/assets/overlays-COinwHCP.js +2 -0
- package/bundled-test-harness/assets/overlays-detached-element-test-C73nMXes.js +56 -0
- package/bundled-test-harness/assets/overlays-nTqcu69K.js +75 -0
- package/bundled-test-harness/assets/panel-D9SEMehG.js +15124 -0
- package/bundled-test-harness/assets/past-sessions-test-De9N4wVX.js +321 -0
- package/bundled-test-harness/assets/patch-fields-test-Bp2IE0Jw.js +1014 -0
- package/bundled-test-harness/assets/patch-instance-test-DssuRGKP.js +348 -0
- package/bundled-test-harness/assets/pdf-file-def-test-Barj9ffD.js +111 -0
- package/bundled-test-harness/assets/pdf-metadata-extractor-test-B7KnXcIm.js +130 -0
- package/bundled-test-harness/assets/permission-checking-realm-test-OBzvhDB_.js +306 -0
- package/bundled-test-harness/assets/persist-module-inspector-view-test-BIdbkdPr.js +60 -0
- package/bundled-test-harness/assets/persist-scroll-position-test-Bhb7wJiy.js +254 -0
- package/bundled-test-harness/assets/phone-number-field-test-C2yuCrXY.js +73 -0
- package/bundled-test-harness/assets/pill-menu-test-BIp91YXi.js +60 -0
- package/bundled-test-harness/assets/plate-DAr_pvwC.js +41 -0
- package/bundled-test-harness/assets/plate-DeoQd99m.js +2 -0
- package/bundled-test-harness/assets/player-BvXGBItd.js +2 -0
- package/bundled-test-harness/assets/player-CAVQUyKk.js +82 -0
- package/bundled-test-harness/assets/playground-B02e8uqB.js +58 -0
- package/bundled-test-harness/assets/plural-field-components-test-C1acuN-A.js +198 -0
- package/bundled-test-harness/assets/png-image-def-test-B9QeVo1f.js +266 -0
- package/bundled-test-harness/assets/policy-audit-confirmation-test-CeVquvc_.js +155 -0
- package/bundled-test-harness/assets/policy-scoped-search-test-SFPiIqR3.js +339 -0
- package/bundled-test-harness/assets/prerender-file-extract-test-HSJKAHyO.js +346 -0
- package/bundled-test-harness/assets/prerender-html-test-BTAcFCme.js +670 -0
- package/bundled-test-harness/assets/prerender-meta-test-Csyz2b21.js +614 -0
- package/bundled-test-harness/assets/prerender-module-test-DpTYAbmI.js +409 -0
- package/bundled-test-harness/assets/prerender-persistence-block-test-BhIt-7kK.js +124 -0
- package/bundled-test-harness/assets/prerender-pre-model-error-test-DxKPQKqx.js +61 -0
- package/bundled-test-harness/assets/prerender-serialize-cycle-test-C8V5YWQO.js +134 -0
- package/bundled-test-harness/assets/prerendered-html-read-test-Cq7JVGwg.js +191 -0
- package/bundled-test-harness/assets/pretui-components-test-Ducr9fLT.css +743 -0
- package/bundled-test-harness/assets/pretui-components-test-Hs0uyIUQ.js +992 -0
- package/bundled-test-harness/assets/pretui-primitives-CRs8NRm0.js +69 -0
- package/bundled-test-harness/assets/preview-format-test-cCqLrfdY.js +103 -0
- package/bundled-test-harness/assets/preview-test-BMqJSoR1.js +474 -0
- package/bundled-test-harness/assets/process-card-test-578tfDvr.js +94 -0
- package/bundled-test-harness/assets/profile-settings-modal-CVnNl7Yu.js +990 -0
- package/bundled-test-harness/assets/publish-realm-COoeWexp.js +82 -0
- package/bundled-test-harness/assets/publish-realm-test-a5nkx0Ov.js +210 -0
- package/bundled-test-harness/assets/query-field-barrier-test-qX3xVPfk.js +113 -0
- package/bundled-test-harness/assets/query-field-error-sentinel-test-V6JDPFLX.js +201 -0
- package/bundled-test-harness/assets/query-field-membership-status-test-CK7eDf-K.js +323 -0
- package/bundled-test-harness/assets/query-field-page-optin-test-B5YBHUvU.js +126 -0
- package/bundled-test-harness/assets/query-field-schema-test-D4SjOGlK.js +231 -0
- package/bundled-test-harness/assets/query-field-search-throttle-test-BVkm1-D8.js +154 -0
- package/bundled-test-harness/assets/query-field-stale-prerender-test-9g7hcD91.js +152 -0
- package/bundled-test-harness/assets/query-fields-test-CQYqhzpN.js +535 -0
- package/bundled-test-harness/assets/quick-look-test-icQwb1NJ.js +139 -0
- package/bundled-test-harness/assets/read-card-for-ai-assistant-test-D0mJorwH.js +91 -0
- package/bundled-test-harness/assets/read-file-for-ai-assistant-test-B_F_2GEB.js +45 -0
- package/bundled-test-harness/assets/read-source-test-BgJV4B4F.js +67 -0
- package/bundled-test-harness/assets/read-text-file-test-DaeLzg4u.js +124 -0
- package/bundled-test-harness/assets/realm-C_a9su1j.js +2858 -0
- package/bundled-test-harness/assets/realm-api-keys-D5USFOoS.js +2 -0
- package/bundled-test-harness/assets/realm-api-keys-m_VOcixC.js +578 -0
- package/bundled-test-harness/assets/realm-api-keys-test-C_uZnTmq.js +588 -0
- package/bundled-test-harness/assets/realm-api-keys-test-gtJ8XZCE.js +109 -0
- package/bundled-test-harness/assets/realm-config-m5eccPW8.js +833 -0
- package/bundled-test-harness/assets/realm-config-policy-standing-test-CXJ4ZMde.js +290 -0
- package/bundled-test-harness/assets/realm-config-routing-rule-edit-test-DoEunShH.js +274 -0
- package/bundled-test-harness/assets/realm-config-settings-test-BYi9i4O6.js +187 -0
- package/bundled-test-harness/assets/realm-field-test-B_PUoqnk.js +100 -0
- package/bundled-test-harness/assets/realm-indexing-test-8iLjeV_e.js +4380 -0
- package/bundled-test-harness/assets/realm-policy-fitted-test-Bptvra0U.js +206 -0
- package/bundled-test-harness/assets/realm-policy-test-DwG0qqXE.js +1141 -0
- package/bundled-test-harness/assets/realm-querying-test-Dvw26A6Q.js +1067 -0
- package/bundled-test-harness/assets/realm-server-form-agnostic-test-DrXQH0UP.js +96 -0
- package/bundled-test-harness/assets/realm-server-subscriber-test-Dkj23vQK.js +46 -0
- package/bundled-test-harness/assets/realm-service-info-test-CdRlDhj-.js +67 -0
- package/bundled-test-harness/assets/realm-test-DGYN48Qx.js +2364 -0
- package/bundled-test-harness/assets/realm-token-refresh-test-CEWATL9h.js +153 -0
- package/bundled-test-harness/assets/realm-url-tooltip-test-8ZjTNPuy.js +78 -0
- package/bundled-test-harness/assets/reasoning-test-WUx-4agu.js +221 -0
- package/bundled-test-harness/assets/recent-files-test-Dc6L6Dm4.js +450 -0
- package/bundled-test-harness/assets/reindex-realm-test-CFRSt39u.js +117 -0
- package/bundled-test-harness/assets/relationship-loading-state-test-FKbtOFUr.js +290 -0
- package/bundled-test-harness/assets/remix-card-test-CKGC_Sgq.js +58 -0
- package/bundled-test-harness/assets/rendered-markdown-B_jWmDrK.js +292 -0
- package/bundled-test-harness/assets/rendered-markdown-test-sdWhU0NA.js +587 -0
- package/bundled-test-harness/assets/resident-instance-reuse-test-BjdhE6CM.js +82 -0
- package/bundled-test-harness/assets/result-tile-o6dtjgX4.js +144 -0
- package/bundled-test-harness/assets/rich-markdown-field-test-VXr6l20h.js +1647 -0
- package/bundled-test-harness/assets/room-message-test-BYNhZ39n.js +484 -0
- package/bundled-test-harness/assets/run-FzaqmBEl.js +3959 -0
- package/bundled-test-harness/assets/run-realm-code-DsBUf1si.js +2964 -0
- package/bundled-test-harness/assets/run-realm-code-test-cS0DzaKo.js +3844 -0
- package/bundled-test-harness/assets/sanitize-module-list-test-CvuOOiUY.js +85 -0
- package/bundled-test-harness/assets/save-card-skip-index-wait-test-fpJ1eq32.js +89 -0
- package/bundled-test-harness/assets/schema-editor-test-NkKjCgyf.js +785 -0
- package/bundled-test-harness/assets/schema-generation-test-Dmg3lWl7.js +28 -0
- package/bundled-test-harness/assets/scrolling-test-Dd4gv_fj.js +412 -0
- package/bundled-test-harness/assets/search-adorn-test-CZebk7_y.js +136 -0
- package/bundled-test-harness/assets/search-and-choose-test-Bd4NZUup.js +154 -0
- package/bundled-test-harness/assets/search-correlation-id-test-DXKlEO55.js +139 -0
- package/bundled-test-harness/assets/search-entries-result-test-QQawA8Fm.js +234 -0
- package/bundled-test-harness/assets/search-entries-test-3DlqGPQq.js +1486 -0
- package/bundled-test-harness/assets/search-entries-tool-test-D1TvDE9D.js +504 -0
- package/bundled-test-harness/assets/search-google-images-test-DqsoQGr1.js +166 -0
- package/bundled-test-harness/assets/search-results-DGrNaPxh.js +266 -0
- package/bundled-test-harness/assets/search-results-test-CqVHYNRt.js +578 -0
- package/bundled-test-harness/assets/search-selection-menu-test-D6bIjKiH.js +108 -0
- package/bundled-test-harness/assets/search-sheet-files-test-Bf37TQXo.js +126 -0
- package/bundled-test-harness/assets/search-sheet-persistence-test-CV4_XdxR.js +131 -0
- package/bundled-test-harness/assets/search-test-Dlb-wg3a.js +2249 -0
- package/bundled-test-harness/assets/search-tool-test-BJLgVMoL.js +156 -0
- package/bundled-test-harness/assets/searchable-option-test-eJaIPH_L.js +322 -0
- package/bundled-test-harness/assets/searchable-search-doc-test-yH9fLGNS.js +1271 -0
- package/bundled-test-harness/assets/section-rail-CNFCebtT.js +113 -0
- package/bundled-test-harness/assets/section-rail-test-KNJAWWl6.js +256 -0
- package/bundled-test-harness/assets/secure-sign-in-Dyljp0Th.js +174 -0
- package/bundled-test-harness/assets/secure-sign-in-test-QnqNuTP3.js +373 -0
- package/bundled-test-harness/assets/segmented-control-DxJdoJ4Z.js +173 -0
- package/bundled-test-harness/assets/select-BiQTg2ts.js +175 -0
- package/bundled-test-harness/assets/send-ai-assistant-message-test-CAn7M2dZ.js +52 -0
- package/bundled-test-harness/assets/send-bot-trigger-event-test-qBu5E_jy.js +56 -0
- package/bundled-test-harness/assets/send-request-via-proxy-test-CLuwLBq_.js +380 -0
- package/bundled-test-harness/assets/sending-test-Dt9Dh2wW.js +659 -0
- package/bundled-test-harness/assets/serialization-rri-form-audit-test-hMJukiKt.js +136 -0
- package/bundled-test-harness/assets/serialization-test-W5e3wKbz.js +8758 -0
- package/bundled-test-harness/assets/set-user-system-card-test-CjgWLkNV.js +59 -0
- package/bundled-test-harness/assets/setup-CssMNvui.js +772 -0
- package/bundled-test-harness/assets/setup-D8YXvK-p.js +2 -0
- package/bundled-test-harness/assets/shared-link-target-reuse-test-D42UO8DC.js +207 -0
- package/bundled-test-harness/assets/show-card-test-CHEaS514.js +365 -0
- package/bundled-test-harness/assets/signed-capture-link-test-BgEu0F-S.js +132 -0
- package/bundled-test-harness/assets/single-stack-test-DYcu_v7Z.js +652 -0
- package/bundled-test-harness/assets/skills-test-BP8QNesE.js +648 -0
- package/bundled-test-harness/assets/skip-boot-index-guard-test-BzRIncDN.js +46 -0
- package/bundled-test-harness/assets/spec-test-BYvFR6Xb.js +1077 -0
- package/bundled-test-harness/assets/spinner-Bx9x55NA.js +49 -0
- package/bundled-test-harness/assets/src-LqENIikj.js +5 -0
- package/bundled-test-harness/assets/src-a4d10Hra.js +216 -0
- package/bundled-test-harness/assets/stick-to-bottom-resize-test-BBLiCR3X.js +56 -0
- package/bundled-test-harness/assets/store-add-test-D_9IHQjZ.js +50 -0
- package/bundled-test-harness/assets/store-module-rebuild-test-BRGZoLRV.js +454 -0
- package/bundled-test-harness/assets/store-search-test-3G8JHuj2.js +175 -0
- package/bundled-test-harness/assets/store-test-Dd4WQp7L.js +3672 -0
- package/bundled-test-harness/assets/structured-theme-test-11TNsgUW.js +377 -0
- package/bundled-test-harness/assets/summarize-session-test-CwzD_ZbD.js +172 -0
- package/bundled-test-harness/assets/svg-image-def-test-zV6aMK9q.js +167 -0
- package/bundled-test-harness/assets/switch-submode-test-DQU2cP5_.js +168 -0
- package/bundled-test-harness/assets/sync-openrouter-models-test-xrXVaC2H.js +97 -0
- package/bundled-test-harness/assets/test-support-QTh6wGxu.js +3 -0
- package/bundled-test-harness/assets/test-support-Tr-PYFgc.js +99 -0
- package/bundled-test-harness/assets/tests-zLlwPutr.js +3598 -0
- package/bundled-test-harness/assets/text-file-def-test-Cyq78UFY.js +94 -0
- package/bundled-test-harness/assets/text-input-validator-test-C1uDVZU7.js +156 -0
- package/bundled-test-harness/assets/text-suggestion-test-C4XAqWqY.js +340 -0
- package/bundled-test-harness/assets/theme-card-test-dVNz4tgU.js +621 -0
- package/bundled-test-harness/assets/theme-dashboard-nav-test-DYSn5pqo.js +196 -0
- package/bundled-test-harness/assets/theme-scheme-island-test-C1WpkfEP.js +264 -0
- package/bundled-test-harness/assets/theme-scoped-css-parity-test-BVluppsE.js +176 -0
- package/bundled-test-harness/assets/titles-0a1luoTq.js +52 -0
- package/bundled-test-harness/assets/titles-DKHNLVwC.js +2 -0
- package/bundled-test-harness/assets/to-device-streaming-test-3A6jI0_r.js +163 -0
- package/bundled-test-harness/assets/token-usage-test-33ovcqPk.js +160 -0
- package/bundled-test-harness/assets/tools-J_Knr_W6.js +774 -0
- package/bundled-test-harness/assets/tools-calling-test-CfqZX0Ed.js +200 -0
- package/bundled-test-harness/assets/tools-test-B4x58ZmI.js +1624 -0
- package/bundled-test-harness/assets/tools-test-DtUQp5ez.js +3204 -0
- package/bundled-test-harness/assets/tooltip-B0rEgyMW.css +66 -0
- package/bundled-test-harness/assets/tooltip-DvUMUgVX.js +195 -0
- package/bundled-test-harness/assets/transform-cards-test-CYQbZeD9.js +341 -0
- package/bundled-test-harness/assets/ts-file-def-preview-test-m39f8Zio.js +95 -0
- package/bundled-test-harness/assets/ts-file-def-test-xIcL5xWe.js +92 -0
- package/bundled-test-harness/assets/ttf-font-def-test-ClQ2SzFF.js +206 -0
- package/bundled-test-harness/assets/turn-settling-test-DqYk312r.js +160 -0
- package/bundled-test-harness/assets/turn-summary-Bmt7ZxTS.js +1039 -0
- package/bundled-test-harness/assets/unpublish-realm-test-0ToTJczx.js +102 -0
- package/bundled-test-harness/assets/update-room-skills-test-o_j8NOUV.js +240 -0
- package/bundled-test-harness/assets/use-ai-assistant-test-D7HFpxKJ.js +384 -0
- package/bundled-test-harness/assets/user-message-BAOt1hS3.js +262 -0
- package/bundled-test-harness/assets/validate-realm-test-e3xIbNLB.js +67 -0
- package/bundled-test-harness/assets/video-metadata-extractor-test-D8naLSlg.js +520 -0
- package/bundled-test-harness/assets/view-visually-test-BuhGau5E.js +335 -0
- package/bundled-test-harness/assets/virtual-network-reset-test-CgaFNGPi.js +96 -0
- package/bundled-test-harness/assets/wav-audio-def-test-CWG_UdCh.js +160 -0
- package/bundled-test-harness/assets/webp-image-def-test-sN4yw8Zu.js +226 -0
- package/bundled-test-harness/assets/workspace-0LfPqbYB.js +445 -0
- package/bundled-test-harness/assets/workspace-a11y-test-DQxYDRAP.js +197 -0
- package/bundled-test-harness/assets/workspace-actions-jGJSfl8M.js +588 -0
- package/bundled-test-harness/assets/workspace-behavior-test-BnF-bmBN.js +338 -0
- package/bundled-test-harness/assets/workspace-delete-multiple-test-D-rxPDuT.js +212 -0
- package/bundled-test-harness/assets/workspace-delete-summary-test-C2-Mve5R.js +63 -0
- package/bundled-test-harness/assets/workspace-hosting-test-BvDKdlOb.js +138 -0
- package/bundled-test-harness/assets/workspace-indexing-test-B34T3kqD.js +71 -0
- package/bundled-test-harness/assets/workspace-test-CJivgv-m.js +51 -0
- package/bundled-test-harness/assets/workspace-test-CuSRpPnQ.js +385 -0
- package/bundled-test-harness/assets/workspace-timestamp-labels-test-aWgjdbCp.js +68 -0
- package/bundled-test-harness/assets/workspace-unit-test-DHMUf2KT.js +122 -0
- package/bundled-test-harness/assets/write-binary-file-test-P-hVQuin.js +124 -0
- package/bundled-test-harness/assets/write-text-file-test-fXvJueDd.js +191 -0
- package/bundled-test-harness/assets/zip-archive-test-C2P5CUSR.js +285 -0
- package/bundled-test-harness/assets/zip-file-def-test-BfJZAmGt.js +164 -0
- package/bundled-test-harness/boxel-ui-checksum.txt +1 -1
- package/bundled-test-harness/index.html +47 -47
- package/bundled-test-harness/tests/index.html +49 -49
- package/bundled-types/boxel-ui/helpers/theme-scoped-css.ts +4 -0
- package/bundled-types/choreo/choreo.gts +13 -1
- package/bundled-types/choreo/run.ts +19 -0
- package/bundled-types/host-app/components/operator-mode/dashboard/get-started.gts +152 -7
- package/bundled-types/host-app/components/operator-mode/dashboard/index.gts +2 -0
- package/bundled-types/host-app/components/operator-mode/dashboard/workspace.gts +5 -3
- package/bundled-types/host-app/components/operator-mode/dashboard-modals/workspace-modals.gts +5 -22
- package/bundled-types/host-app/components/operator-mode/host-submode/publishing-realm-popover.gts +1 -1
- package/bundled-types/host-app/components/operator-mode/host-submode.gts +111 -37
- package/bundled-types/host-app/components/operator-mode/publish-realm-modal.gts +1 -0
- package/bundled-types/host-app/lib/modal-focus-trap.ts +33 -0
- package/bundled-types/host-app/lib/workspace-actions.ts +21 -0
- package/bundled-types/host-app/services/host-mode-service.ts +39 -0
- package/bundled-types/host-app/services/realm.ts +14 -0
- package/bundled-types/host-tests/helpers/dashboard.ts +67 -0
- package/package.json +1 -1
- package/bundled-test-harness/assets/account-switch-failed-test-FytUFiPO.js +0 -45
- package/bundled-test-harness/assets/adapter-DvmPwSZv.js +0 -2
- package/bundled-test-harness/assets/add-field-to-card-definition-tool-test-DN525jiY.js +0 -112
- package/bundled-test-harness/assets/ai-assistant-create-workspace-test-q3tKqVJQ.js +0 -130
- package/bundled-test-harness/assets/ai-assistant-panel-relogin-test-DgeXcCyi.js +0 -46
- package/bundled-test-harness/assets/ai-assistant-test-lDIGPKFP.js +0 -2223
- package/bundled-test-harness/assets/ai-function-generation-test-D5GbLyvL.js +0 -1176
- package/bundled-test-harness/assets/ai-module-creation-test-I3-j2beD.js +0 -151
- package/bundled-test-harness/assets/aibot-message-Dmsjifs6.js +0 -1312
- package/bundled-test-harness/assets/app-BS9_-DhN.js +0 -14146
- package/bundled-test-harness/assets/apply-markdown-edit-test-4zlwt0Db.js +0 -230
- package/bundled-test-harness/assets/ask-user-picker-Dr-0qpNr.js +0 -370
- package/bundled-test-harness/assets/ask-user-picker-test-633AFdmS.js +0 -39
- package/bundled-test-harness/assets/assistant-transcript-test-BgRnLvMg.js +0 -57
- package/bundled-test-harness/assets/audio-metadata-extractor-test-4xsQqL-0.js +0 -1176
- package/bundled-test-harness/assets/authed-fetch-test-663mT5_N.js +0 -73
- package/bundled-test-harness/assets/avif-image-def-test-h01BPIJy.js +0 -187
- package/bundled-test-harness/assets/basic-test-DiD6T-8Q.js +0 -139
- package/bundled-test-harness/assets/binary-upload-dedupe-test-CkjMPO_e.js +0 -308
- package/bundled-test-harness/assets/bot-registration-test-CFZHpwdj.js +0 -97
- package/bundled-test-harness/assets/box-test-C3pSy5ED.js +0 -50
- package/bundled-test-harness/assets/brand-guide-attachments-test-EoC_u7Vc.js +0 -84
- package/bundled-test-harness/assets/brand-guide-custom-css-test-Dn3fvblr.js +0 -196
- package/bundled-test-harness/assets/brand-guide-edit-test-NeiT3MyK.js +0 -140
- package/bundled-test-harness/assets/brand-logo-mark-field-test-C2A1EnBB.js +0 -86
- package/bundled-test-harness/assets/broken-link-template-test-CWn6V5zZ.js +0 -192
- package/bundled-test-harness/assets/bundled-base-modules-test-D7mLzpsw.js +0 -54
- package/bundled-test-harness/assets/bundled-base-oracle-test-I7xCId_k.js +0 -37
- package/bundled-test-harness/assets/buried-stack-item-scroll-test-DFBev0h-.js +0 -236
- package/bundled-test-harness/assets/button-BeSuhveJ.js +0 -207
- package/bundled-test-harness/assets/bxl-cyclic-graph-test-DPykwvvx.js +0 -47
- package/bundled-test-harness/assets/bxl-expression-test-LBWJiFb9.js +0 -250
- package/bundled-test-harness/assets/bxl-indexing-test-BuZmLk7y.js +0 -212
- package/bundled-test-harness/assets/bxl-platform-module-test-BNIvlkCM.js +0 -71
- package/bundled-test-harness/assets/can-invoke-test-t-bFIIeX.js +0 -455
- package/bundled-test-harness/assets/can-read-realm-test-2Q_MzRT9.js +0 -56
- package/bundled-test-harness/assets/cancel-indexing-job-test-QeYxEukn.js +0 -69
- package/bundled-test-harness/assets/capture-test-CJmJG8YR.js +0 -360
- package/bundled-test-harness/assets/card-api-test-B43I510H.js +0 -198
- package/bundled-test-harness/assets/card-basics-test-CBClzP2y.js +0 -5364
- package/bundled-test-harness/assets/card-chooser-paging-test-HEVzf6pR.js +0 -235
- package/bundled-test-harness/assets/card-chooser-test-GfjBRPFI.js +0 -393
- package/bundled-test-harness/assets/card-context-search-results-CoSr4EdS.js +0 -30
- package/bundled-test-harness/assets/card-context-search-results-test-BLMlZu9t.js +0 -184
- package/bundled-test-harness/assets/card-def-field-def-relationships-test-DEBOzKan.js +0 -562
- package/bundled-test-harness/assets/card-def-menu-items-test-88_h8o0D.js +0 -228
- package/bundled-test-harness/assets/card-delete-test-DKom1phy.js +0 -466
- package/bundled-test-harness/assets/card-error-awaiting-index-test-DEwgFZMP.js +0 -53
- package/bundled-test-harness/assets/card-error-r6_cXst9.js +0 -72
- package/bundled-test-harness/assets/card-info-thumbnail-picker-test-B7LiY15e.js +0 -219
- package/bundled-test-harness/assets/card-playground-test-CgyIJHui.js +0 -1491
- package/bundled-test-harness/assets/card-prerender-rPfzpIOU.js +0 -12939
- package/bundled-test-harness/assets/card-thunk-error-test-L0pvg4Ce.js +0 -48
- package/bundled-test-harness/assets/card-type-service-test-B2dhqxSD.js +0 -161
- package/bundled-test-harness/assets/check-correctness-test-DgqaLlCW.js +0 -1093
- package/bundled-test-harness/assets/check-domain-availability-test-B0hJHY5l.js +0 -98
- package/bundled-test-harness/assets/chip-D01NW3WH.js +0 -44
- package/bundled-test-harness/assets/choreo-D2Jl79RU.js +0 -1019
- package/bundled-test-harness/assets/choreo-_E8SOEe-.js +0 -2
- package/bundled-test-harness/assets/choreo-feature-reel-test-WLjsZDmS.js +0 -155
- package/bundled-test-harness/assets/choreo-gallery-build-order-test-6jnS8PsS.js +0 -436
- package/bundled-test-harness/assets/choreo-gallery-compositor-test-CbUZsVB6.js +0 -399
- package/bundled-test-harness/assets/choreo-gallery-cover-test-CbvAStgk.js +0 -214
- package/bundled-test-harness/assets/choreo-gallery-crossing-stage-test-tdjvUSa6.js +0 -133
- package/bundled-test-harness/assets/choreo-gallery-demos-alive-test-CsnM3hQK.js +0 -42
- package/bundled-test-harness/assets/choreo-gallery-drift-test-DG2LQTa7.js +0 -620
- package/bundled-test-harness/assets/choreo-gallery-escort-test-mn3-qXP1.js +0 -187
- package/bundled-test-harness/assets/choreo-gallery-films-test-BuktaC0D.js +0 -140
- package/bundled-test-harness/assets/choreo-gallery-filter-test-Dd-zpps0.js +0 -46
- package/bundled-test-harness/assets/choreo-gallery-fold-test-CWc1ijGc.js +0 -180
- package/bundled-test-harness/assets/choreo-gallery-guide-pages-test-tk2QmYPU.js +0 -114
- package/bundled-test-harness/assets/choreo-gallery-guides-test-DVbf1zM4.js +0 -321
- package/bundled-test-harness/assets/choreo-gallery-hang-test-B7EFp2dx.js +0 -426
- package/bundled-test-harness/assets/choreo-gallery-highlight-test-BFgbdesP.js +0 -60
- package/bundled-test-harness/assets/choreo-gallery-inline-edit-test-DJb8FC5R.js +0 -370
- package/bundled-test-harness/assets/choreo-gallery-interruption-test-DWyMXo5D.js +0 -176
- package/bundled-test-harness/assets/choreo-gallery-lone-stack-test-D3b8LsJ6.js +0 -104
- package/bundled-test-harness/assets/choreo-gallery-navigation-test-CjjU6Rvn.js +0 -193
- package/bundled-test-harness/assets/choreo-gallery-playhead-transport-test-Le_h3QWU.js +0 -111
- package/bundled-test-harness/assets/choreo-gallery-poplayout-subtree-test-Cp-DlWj4.js +0 -127
- package/bundled-test-harness/assets/choreo-gallery-presence-modes-test-DayS4GCJ.js +0 -100
- package/bundled-test-harness/assets/choreo-gallery-presentation-test-DeAfuFS7.js +0 -157
- package/bundled-test-harness/assets/choreo-gallery-reduced-motion-test-BgPWpggq.js +0 -145
- package/bundled-test-harness/assets/choreo-gallery-sheet-standalone-test-PzyoMNYv.js +0 -89
- package/bundled-test-harness/assets/choreo-gallery-sheet-test-CxaiNBkL.js +0 -48
- package/bundled-test-harness/assets/choreo-gallery-site-test-6xtSntS5.js +0 -237
- package/bundled-test-harness/assets/choreo-gallery-stage-E6Q5r-zU.js +0 -256
- package/bundled-test-harness/assets/choreo-gallery-stage-keyboard-test-C7aWMr9a.js +0 -102
- package/bundled-test-harness/assets/choreo-gallery-stages-test-CDWWgC61.js +0 -35
- package/bundled-test-harness/assets/choreo-gallery-subdivision-test-Bkp15XJv.js +0 -138
- package/bundled-test-harness/assets/choreo-gallery-table-plan-test-CcGRi_3O.js +0 -144
- package/bundled-test-harness/assets/choreo-gallery-theater-test-Qph5pLT_.js +0 -252
- package/bundled-test-harness/assets/choreo-gallery-tuning-test-C4DhFLVA.js +0 -95
- package/bundled-test-harness/assets/choreo-gallery-widget-room-test-LK493r1M.js +0 -88
- package/bundled-test-harness/assets/choreo-gallery-wires-test-B7SeUCc8.js +0 -148
- package/bundled-test-harness/assets/client-telemetry-test-DGmHzAFx.js +0 -340
- package/bundled-test-harness/assets/clip-BpYQPVz_.js +0 -2
- package/bundled-test-harness/assets/clip-CNaYbIwL.js +0 -92
- package/bundled-test-harness/assets/code-block-Cp2CJo5-.js +0 -502
- package/bundled-test-harness/assets/code-ref-test-C8JBHDb-.js +0 -163
- package/bundled-test-harness/assets/code-submode-availability-test-CzG1Tv6L.js +0 -198
- package/bundled-test-harness/assets/code-submode-test-BclVWjm5.js +0 -1839
- package/bundled-test-harness/assets/codeblocks-test-CmQlyxN7.js +0 -418
- package/bundled-test-harness/assets/codemirror-editor-test-B74H_yn8.js +0 -1512
- package/bundled-test-harness/assets/codemirror-embed-toolbar-test-Bz6VEysU.js +0 -366
- package/bundled-test-harness/assets/color-field-test-DMCPQKIP.js +0 -212
- package/bundled-test-harness/assets/compaction-test-saQCLBrQ.js +0 -150
- package/bundled-test-harness/assets/computed-test-C05HliJC.js +0 -1320
- package/bundled-test-harness/assets/container-Cqcwrd-m.js +0 -10857
- package/bundled-test-harness/assets/content-preview-components-test-DZPj4_CU.js +0 -462
- package/bundled-test-harness/assets/copy-and-edit-test-DiXTQNTF.js +0 -292
- package/bundled-test-harness/assets/copy-card-test-ys7GquUY.js +0 -218
- package/bundled-test-harness/assets/copy-file-to-realm-test-Gn0Wn4vT.js +0 -148
- package/bundled-test-harness/assets/copy-source-test-BTLrOmPm.js +0 -56
- package/bundled-test-harness/assets/create-file-test-BCeIW-Rt.js +0 -464
- package/bundled-test-harness/assets/create-file-test-DbHQ5JsS.js +0 -1086
- package/bundled-test-harness/assets/create-listing-modal-test-CeHc4ter.js +0 -273
- package/bundled-test-harness/assets/create-listing-pr-request-test-DXbJNfMh.js +0 -117
- package/bundled-test-harness/assets/create-spec-test-BDIZoyHT.js +0 -256
- package/bundled-test-harness/assets/create-submission-workflow-test-Bix5J-3A.js +0 -132
- package/bundled-test-harness/assets/create-workspace-test-BmNnLHwC.js +0 -104
- package/bundled-test-harness/assets/credential-fields-test-NK1F4QWn.js +0 -200
- package/bundled-test-harness/assets/csv-file-def-test-BSfs4TTP.js +0 -102
- package/bundled-test-harness/assets/dashboard-C4T7ffKY.js +0 -3576
- package/bundled-test-harness/assets/dashboard-CFeHuP5-.js +0 -81
- package/bundled-test-harness/assets/dashboard-DQlpW-ux.css +0 -2392
- package/bundled-test-harness/assets/dashboard-add-workspace-test--rr6objf.js +0 -50
- package/bundled-test-harness/assets/dashboard-agents-test-D1y8H4xH.js +0 -334
- package/bundled-test-harness/assets/dashboard-archive-test-bN4EQaXv.js +0 -128
- package/bundled-test-harness/assets/dashboard-delete-test-BvsASb8B.js +0 -163
- package/bundled-test-harness/assets/dashboard-duplicate-offer-test-DEsd5ZzZ.js +0 -71
- package/bundled-test-harness/assets/dashboard-duplicate-test-BnR0sTgB.js +0 -222
- package/bundled-test-harness/assets/dashboard-get-started-test-DG4uUXLv.js +0 -246
- package/bundled-test-harness/assets/dashboard-pinned-cards-test-AoGGVRAS.js +0 -220
- package/bundled-test-harness/assets/dashboard-reindex-test-BN9a96Xp.js +0 -115
- package/bundled-test-harness/assets/dashboard-section-rail-test-B3OT9V2T.js +0 -169
- package/bundled-test-harness/assets/dashboard-state-test-BY0Zqrmj.js +0 -162
- package/bundled-test-harness/assets/dashboard-test-C13oNpWt.js +0 -545
- package/bundled-test-harness/assets/dashboard-unreachable-notice-test-DZIV4x5j.js +0 -62
- package/bundled-test-harness/assets/dashboard-workspace-test-CBnOQViI.js +0 -537
- package/bundled-test-harness/assets/dashboard-workspaces-section-test-KU8ZVOYp.js +0 -396
- package/bundled-test-harness/assets/data-file-def-preview-test-CI5gcdtK.js +0 -155
- package/bundled-test-harness/assets/date-time-fields-test-D2CpR_Pb.js +0 -359
- package/bundled-test-harness/assets/debug-message-test-Df1kHesw.js +0 -117
- package/bundled-test-harness/assets/declared-captures-test-hQ43zuox.js +0 -879
- package/bundled-test-harness/assets/delete-workspace-test-BhfMKsix.js +0 -102
- package/bundled-test-harness/assets/diffing-test-CHRh55mC.js +0 -210
- package/bundled-test-harness/assets/download-file-to-realm-test-CC1HURCi.js +0 -119
- package/bundled-test-harness/assets/editor-test-DkeCv28f.js +0 -688
- package/bundled-test-harness/assets/edits-BSJqtUXM.js +0 -651
- package/bundled-test-harness/assets/email-field-test-DihK0suO.js +0 -75
- package/bundled-test-harness/assets/enum-field-test-Gja3bzt5.js +0 -935
- package/bundled-test-harness/assets/error-display-test-GhYZu7cp.js +0 -343
- package/bundled-test-harness/assets/evaluate-module-test-D_t4CiUq.js +0 -91
- package/bundled-test-harness/assets/execute-atomic-operations-test-xtou8Zeg.js +0 -113
- package/bundled-test-harness/assets/externals-B02-sD_L.js +0 -4393
- package/bundled-test-harness/assets/fallback-banner-live-delete-test-DtxzNXdE.js +0 -207
- package/bundled-test-harness/assets/fallback-banner-test-BfmiQ_68.js +0 -53
- package/bundled-test-harness/assets/fallback-banner-test-DLtTdmvn.js +0 -225
- package/bundled-test-harness/assets/fallback-models-test-BxNJxhfd.js +0 -161
- package/bundled-test-harness/assets/fetch-card-json-test-DofKbzvC.js +0 -61
- package/bundled-test-harness/assets/field-configuration-test-SUoPaXWy.js +0 -551
- package/bundled-test-harness/assets/field-markdown-domain-test-BwtR0dPP.js +0 -616
- package/bundled-test-harness/assets/field-markdown-oversize-test-D8UJcBc3.js +0 -88
- package/bundled-test-harness/assets/field-markdown-primitives-test-D5_ZdoDO.js +0 -365
- package/bundled-test-harness/assets/field-markdown-specialized-test-Dpd5hs04.js +0 -534
- package/bundled-test-harness/assets/field-playground-test-CzhYzKGv.js +0 -894
- package/bundled-test-harness/assets/field-support-predicates-test-BSvVOFth.js +0 -167
- package/bundled-test-harness/assets/file-attachment-test-fM-yFedm.js +0 -796
- package/bundled-test-harness/assets/file-chooser-panel-test-CKj8YTdY.js +0 -153
- package/bundled-test-harness/assets/file-chooser-test-Bs8jFXqa.js +0 -504
- package/bundled-test-harness/assets/file-def-format-templates-test-CxrRoWoD.js +0 -380
- package/bundled-test-harness/assets/file-def-live-reload-test-X_8YEkve.js +0 -124
- package/bundled-test-harness/assets/file-def-menu-items-test-Dx879o_o.js +0 -138
- package/bundled-test-harness/assets/file-def-navigation-test-MMI_EEO1.js +0 -109
- package/bundled-test-harness/assets/file-def-serialization-test-B5lguBQD.js +0 -89
- package/bundled-test-harness/assets/file-def-test-Di9QWcrj.js +0 -216
- package/bundled-test-harness/assets/file-preview-live-reload-test-aqx93A7c.js +0 -310
- package/bundled-test-harness/assets/file-resource-primitives-test-a5abpcSB.js +0 -255
- package/bundled-test-harness/assets/file-tree-from-index-test-CnruGxJ8.js +0 -96
- package/bundled-test-harness/assets/file-tree-test-BCyWDdSE.js +0 -851
- package/bundled-test-harness/assets/file-view-model-test-BfpLa01Y.js +0 -346
- package/bundled-test-harness/assets/filedef-export-shape-test-CQ9XbrzS.js +0 -61
- package/bundled-test-harness/assets/film-CL1zj_bJ.js +0 -2
- package/bundled-test-harness/assets/film-Dq_quZ31.js +0 -13
- package/bundled-test-harness/assets/film-xbkQa060.js +0 -4074
- package/bundled-test-harness/assets/flac-audio-def-test-BmVp9dMx.js +0 -143
- package/bundled-test-harness/assets/focus-Dm4wkM72.js +0 -306
- package/bundled-test-harness/assets/font-metadata-extractor-test-OWEh9_MS.js +0 -415
- package/bundled-test-harness/assets/formatted-aibot-message-test-BpHsWpuV.js +0 -109
- package/bundled-test-harness/assets/formatted-user-message-test-DZW5TAr0.js +0 -43
- package/bundled-test-harness/assets/freestyle-test-D_uaPU_3.js +0 -17
- package/bundled-test-harness/assets/full-reindex-realm-test-C6vHL5kC.js +0 -101
- package/bundled-test-harness/assets/garbage-collection-test-D-Ao4t2n.js +0 -403
- package/bundled-test-harness/assets/general-test-PSGI8W0z.js +0 -923
- package/bundled-test-harness/assets/generate-example-cards-one-shot-test-J-m-0E6W.js +0 -65
- package/bundled-test-harness/assets/generic-file-def-preview-test-BAsOhTYU.js +0 -71
- package/bundled-test-harness/assets/get-available-realm-identifiers-test-D5PBOr97.js +0 -47
- package/bundled-test-harness/assets/get-catalog-realm-identifiers-test-NM9UURHE.js +0 -47
- package/bundled-test-harness/assets/get-default-writable-realm-test-BxXc9a3J.js +0 -54
- package/bundled-test-harness/assets/get-published-realms-test-C8TJEc4-.js +0 -71
- package/bundled-test-harness/assets/get-realm-of-resource-identifier-test-Dt8CB6lS.js +0 -54
- package/bundled-test-harness/assets/get-relationship-membership-state-test-9_8x3myJ.js +0 -1308
- package/bundled-test-harness/assets/get-user-system-card-test-k0UO-uba.js +0 -67
- package/bundled-test-harness/assets/gif-image-def-test-BWrqPGDX.js +0 -188
- package/bundled-test-harness/assets/glimmer-motion-and-choreo-in-cards-test-BgG8QI9E.js +0 -160
- package/bundled-test-harness/assets/glimmer-motion-and-choreo-test-BKOvNyCN.js +0 -74
- package/bundled-test-harness/assets/gts-file-def-test-BCRHwDeZ.js +0 -100
- package/bundled-test-harness/assets/head-format-preview-test-DnfUhniI.js +0 -158
- package/bundled-test-harness/assets/helpers-DklkegO_.js +0 -5
- package/bundled-test-harness/assets/host-mode-service-vOfN0smp.js +0 -232
- package/bundled-test-harness/assets/host-mode-test-CCCJFz6_.js +0 -831
- package/bundled-test-harness/assets/host-submode-test-CtCfbuPA.js +0 -1342
- package/bundled-test-harness/assets/html-component-test-CWyhb5ZX.js +0 -65
- package/bundled-test-harness/assets/html-def-test-Cb8C2lUx.js +0 -160
- package/bundled-test-harness/assets/html-meta-extractor-test-BHT9Rtir.js +0 -60
- package/bundled-test-harness/assets/hydratable-card-test-DpgpdesD.js +0 -426
- package/bundled-test-harness/assets/icon-button-ABCGVF3C.js +0 -67
- package/bundled-test-harness/assets/image-metadata-extractor-test-ClhPTouq.js +0 -1109
- package/bundled-test-harness/assets/index-changes-test-CgnVr3LH.js +0 -367
- package/bundled-test-harness/assets/index-query-engine-test-CQTwju5_.js +0 -2593
- package/bundled-test-harness/assets/index-writer-test-IoVOoZT2.js +0 -3040
- package/bundled-test-harness/assets/inspector-test-BN2Ieb77.js +0 -2058
- package/bundled-test-harness/assets/instance-filter-matcher-test-Bq-_Sy89.js +0 -788
- package/bundled-test-harness/assets/instantiate-card-test-DEeDTzFV.js +0 -164
- package/bundled-test-harness/assets/interact-submode-creation-and-permissions-test-DP6kOyJS.js +0 -475
- package/bundled-test-harness/assets/interact-submode-setup-B0_cHqH-.js +0 -566
- package/bundled-test-harness/assets/invalidate-realm-identifiers-test-9uUD91Pw.js +0 -99
- package/bundled-test-harness/assets/invite-user-to-room-test-CcDA45Ac.js +0 -142
- package/bundled-test-harness/assets/invoke-card-operation-test-DmUtgueM.js +0 -333
- package/bundled-test-harness/assets/isolated-render-test-B2eXNHu6.js +0 -51
- package/bundled-test-harness/assets/job-scoped-doc-cache-test-DF9D7cOc.js +0 -181
- package/bundled-test-harness/assets/job-scoped-instance-residency-test-CSS8xUU5.js +0 -103
- package/bundled-test-harness/assets/jpg-image-def-test-voECMTht.js +0 -697
- package/bundled-test-harness/assets/json-file-def-test-8Y4KLjUC.js +0 -95
- package/bundled-test-harness/assets/key-notices-badge-test-d1mYqx0e.js +0 -155
- package/bundled-test-harness/assets/key-readiness-test-BtCg7PCk.js +0 -190
- package/bundled-test-harness/assets/linksto-broken-link-placeholder-test-CyCMbJnN.js +0 -398
- package/bundled-test-harness/assets/linksto-error-sentinel-test-BDW572-v.js +0 -238
- package/bundled-test-harness/assets/linksto-many-broken-link-placeholder-test-B4wM97hD.js +0 -354
- package/bundled-test-harness/assets/linksto-many-per-slot-access-test-BhJmtJ0_.js +0 -303
- package/bundled-test-harness/assets/linksto-sentinel-reload-test-BpBQ5V_i.js +0 -197
- package/bundled-test-harness/assets/linksto-sentinel-roundtrip-test-pkBBl4e9.js +0 -260
- package/bundled-test-harness/assets/linksto-singular-js-access-contract-test-Bb6wjUdD.js +0 -196
- package/bundled-test-harness/assets/lint-and-fix-test-CcMLn-co.js +0 -51
- package/bundled-test-harness/assets/live-test-AyBnq7BX.js +0 -2
- package/bundled-test-harness/assets/live-test-CgnAcIDw.js +0 -100
- package/bundled-test-harness/assets/load-default-skills-test-BIOwtx0Y.js +0 -74
- package/bundled-test-harness/assets/loader-parallel-prefetch-test-D5_oRSER.js +0 -257
- package/bundled-test-harness/assets/loader-test-DSc_jR1c.js +0 -482
- package/bundled-test-harness/assets/loading-test-8pldx7S-.js +0 -63
- package/bundled-test-harness/assets/m4a-audio-def-test-BDI5apzM.js +0 -190
- package/bundled-test-harness/assets/main-5kHyCkdm.js +0 -5
- package/bundled-test-harness/assets/markdown-embed-chooser-modal-test-Wud0s7WZ.js +0 -470
- package/bundled-test-harness/assets/markdown-embed-chooser-test-DVzzS-0C.js +0 -334
- package/bundled-test-harness/assets/markdown-embed-preview-pane-test-B5W_iqsi.js +0 -447
- package/bundled-test-harness/assets/markdown-embed-preview-test-CZF_s0fB.js +0 -368
- package/bundled-test-harness/assets/markdown-fallback-test-fT6BS4W7.js +0 -316
- package/bundled-test-harness/assets/markdown-file-def-test-B1aTzazR.js +0 -380
- package/bundled-test-harness/assets/markdown-helpers-test-gNKZf7Mw.js +0 -188
- package/bundled-test-harness/assets/markdown-highlighting-test-Du5_CQmD.js +0 -244
- package/bundled-test-harness/assets/markdown-preview-h-_aJhRc.js +0 -72
- package/bundled-test-harness/assets/markdown-preview-test-DJvoVsXw.js +0 -238
- package/bundled-test-harness/assets/markdown-skill-frontmatter-test-VwJi3Paj.js +0 -146
- package/bundled-test-harness/assets/markdown-skill-search-test-ysCdf0xM.js +0 -80
- package/bundled-test-harness/assets/matrix-service-account-switch-sessions-test-K2JuMy36.js +0 -63
- package/bundled-test-harness/assets/matrix-service-boot-assembly-test-CkdL_-os.js +0 -300
- package/bundled-test-harness/assets/matrix-service-personal-realm-test-Dy1DultK.js +0 -125
- package/bundled-test-harness/assets/matrix-service-realm-servers-test-DHDDKuEg.js +0 -55
- package/bundled-test-harness/assets/matrix-service-realms-list-updated-test-DcTbZpMl.js +0 -132
- package/bundled-test-harness/assets/matrix-service-relogin-test-D3NQktoa.js +0 -59
- package/bundled-test-harness/assets/matrix-service-sliding-sync-test-6CAflWOA.js +0 -35
- package/bundled-test-harness/assets/menu-kUSaJIPq.js +0 -3562
- package/bundled-test-harness/assets/message-service-subscription-test-DaQdgDWi.js +0 -110
- package/bundled-test-harness/assets/message-service-test-BsGEgM_m.js +0 -144
- package/bundled-test-harness/assets/message-tool-test-BB_4kw1V.js +0 -33
- package/bundled-test-harness/assets/midi-audio-def-test-BbbkFjqf.js +0 -182
- package/bundled-test-harness/assets/migrate-skill-test-X9xImDuq.js +0 -161
- package/bundled-test-harness/assets/mini-AwF31elJ.js +0 -1404
- package/bundled-test-harness/assets/mini-card-chooser-test-BZtrEiWu.js +0 -272
- package/bundled-test-harness/assets/mini-file-chooser-test-MIHW3kCI.js +0 -201
- package/bundled-test-harness/assets/mock-matrix-Dd8k0DNa.js +0 -15107
- package/bundled-test-harness/assets/mock-matrix-DhPN_34j.js +0 -2
- package/bundled-test-harness/assets/modal-LTh3_oHK.js +0 -322
- package/bundled-test-harness/assets/model-cost-tier-test-h1IkU9mp.js +0 -174
- package/bundled-test-harness/assets/model-file-extract-test-ntSo0wZF.js +0 -206
- package/bundled-test-harness/assets/module-transpile-cache-test-CDeRaaeP.js +0 -67
- package/bundled-test-harness/assets/monaco-test-C0Fa744D.js +0 -100
- package/bundled-test-harness/assets/mp3-audio-def-test-B4j4qR9H.js +0 -133
- package/bundled-test-harness/assets/multiple-stacks-test-BhA25ywL.js +0 -208
- package/bundled-test-harness/assets/nested-query-field-render-test-S9Y8YNKB.js +0 -249
- package/bundled-test-harness/assets/no-stacks-test-B7VciWyg.js +0 -48
- package/bundled-test-harness/assets/number-field-test-CS74lDPN.js +0 -184
- package/bundled-test-harness/assets/office-file-def-test-2cKc1pmd.js +0 -263
- package/bundled-test-harness/assets/office-metadata-extractor-test-DC8Fo-OW.js +0 -218
- package/bundled-test-harness/assets/office-poster-capture-test-Ba0_5UrT.js +0 -203
- package/bundled-test-harness/assets/ogg-audio-def-test-CIPQ1d4w.js +0 -196
- package/bundled-test-harness/assets/open-create-listing-modal-test-bmQkY5Zl.js +0 -131
- package/bundled-test-harness/assets/open-image-in-new-tab-test-DBD7_vMH.js +0 -52
- package/bundled-test-harness/assets/open-secure-window-test-BgeuYAqz.js +0 -253
- package/bundled-test-harness/assets/open-workspace-test-DRHGljV0.js +0 -46
- package/bundled-test-harness/assets/operation-lowering-test-CH1c0pSH.js +0 -2957
- package/bundled-test-harness/assets/operations-invocation-test-B1YkCLrv.js +0 -523
- package/bundled-test-harness/assets/operations-optimistic-test-DAbtOwsC.js +0 -203
- package/bundled-test-harness/assets/operations-query-test-9p1ZIDe-.js +0 -459
- package/bundled-test-harness/assets/operations-store-reconciliation-test-D0EQh3w2.js +0 -406
- package/bundled-test-harness/assets/operations-test-BQhlrfe3.js +0 -2518
- package/bundled-test-harness/assets/operator-mode-acceptance-test-DtHnonEb.js +0 -1195
- package/bundled-test-harness/assets/operator-mode-card-chooser-test-DQUxZxaq.js +0 -1036
- package/bundled-test-harness/assets/operator-mode-links-test-BJ26HllS.js +0 -797
- package/bundled-test-harness/assets/operator-mode-test-DIPDI0qt.js +0 -696
- package/bundled-test-harness/assets/operator-mode-ui-test-CfA-fAh4.js +0 -1045
- package/bundled-test-harness/assets/overlay-DecPh3nt.js +0 -123
- package/bundled-test-harness/assets/overlay-menu-items-test-C6XqjLtu.js +0 -331
- package/bundled-test-harness/assets/overlays-Ctp8ePzZ.js +0 -75
- package/bundled-test-harness/assets/overlays-CzWpSg5T.js +0 -2
- package/bundled-test-harness/assets/overlays-detached-element-test-DvL_8Bb5.js +0 -56
- package/bundled-test-harness/assets/panel-CImumikB.js +0 -15124
- package/bundled-test-harness/assets/past-sessions-test-N6riGN_I.js +0 -321
- package/bundled-test-harness/assets/patch-fields-test-D30_-KwQ.js +0 -1014
- package/bundled-test-harness/assets/patch-instance-test-C5rGscZq.js +0 -348
- package/bundled-test-harness/assets/pdf-file-def-test-DtiqGRvZ.js +0 -111
- package/bundled-test-harness/assets/pdf-metadata-extractor-test-FU02KmdV.js +0 -130
- package/bundled-test-harness/assets/permission-checking-realm-test-DqdNJDwU.js +0 -306
- package/bundled-test-harness/assets/persist-module-inspector-view-test-BHOAgPVy.js +0 -60
- package/bundled-test-harness/assets/persist-scroll-position-test-qtmS518r.js +0 -254
- package/bundled-test-harness/assets/phone-number-field-test-DhdaM7uL.js +0 -73
- package/bundled-test-harness/assets/pill-menu-test-C9Mrrepl.js +0 -60
- package/bundled-test-harness/assets/plate-9n-sXyCw.js +0 -41
- package/bundled-test-harness/assets/plate-BnZcAk-_.js +0 -2
- package/bundled-test-harness/assets/player-Cu5b4LEJ.js +0 -82
- package/bundled-test-harness/assets/player-unk2mkxV.js +0 -2
- package/bundled-test-harness/assets/playground-BwA8wFGK.js +0 -58
- package/bundled-test-harness/assets/plural-field-components-test-CFNQKETg.js +0 -198
- package/bundled-test-harness/assets/png-image-def-test-DG5Vhlqb.js +0 -266
- package/bundled-test-harness/assets/policy-audit-confirmation-test-yfKU47LR.js +0 -155
- package/bundled-test-harness/assets/policy-scoped-search-test-BjQRDYqR.js +0 -339
- package/bundled-test-harness/assets/prerender-file-extract-test-CEU4SaAZ.js +0 -346
- package/bundled-test-harness/assets/prerender-html-test-CGB3ClCS.js +0 -670
- package/bundled-test-harness/assets/prerender-meta-test-xqc4fW_0.js +0 -614
- package/bundled-test-harness/assets/prerender-module-test-CI1TmZw-.js +0 -409
- package/bundled-test-harness/assets/prerender-persistence-block-test-Da0dJO_N.js +0 -124
- package/bundled-test-harness/assets/prerender-pre-model-error-test-BVLyhk8R.js +0 -61
- package/bundled-test-harness/assets/prerender-serialize-cycle-test-glJFfxHU.js +0 -134
- package/bundled-test-harness/assets/prerendered-html-read-test-Mp4L0VHQ.js +0 -191
- package/bundled-test-harness/assets/pretui-components-test-BBpA9UnA.js +0 -991
- package/bundled-test-harness/assets/pretui-components-test-BqFq7rw_.css +0 -730
- package/bundled-test-harness/assets/preview-format-test-C55Bwcur.js +0 -103
- package/bundled-test-harness/assets/preview-test-CTAhRGU8.js +0 -474
- package/bundled-test-harness/assets/process-card-test-UjqpuxB7.js +0 -94
- package/bundled-test-harness/assets/profile-settings-modal-C8bCgTMK.js +0 -989
- package/bundled-test-harness/assets/publish-realm-ixUB4FPK.js +0 -82
- package/bundled-test-harness/assets/publish-realm-test-CrrsdL4W.js +0 -210
- package/bundled-test-harness/assets/query-field-barrier-test-DjivFE93.js +0 -113
- package/bundled-test-harness/assets/query-field-error-sentinel-test-0HwnV4Mw.js +0 -201
- package/bundled-test-harness/assets/query-field-membership-status-test-C8yTTBkc.js +0 -323
- package/bundled-test-harness/assets/query-field-page-optin-test-D4l_GcII.js +0 -126
- package/bundled-test-harness/assets/query-field-schema-test-DDbcNNm5.js +0 -231
- package/bundled-test-harness/assets/query-field-search-throttle-test-CXp50Ax0.js +0 -154
- package/bundled-test-harness/assets/query-field-stale-prerender-test-DErzt-Cv.js +0 -152
- package/bundled-test-harness/assets/query-fields-test-Dz67fdSl.js +0 -535
- package/bundled-test-harness/assets/quick-look-test-B1ijDsh_.js +0 -139
- package/bundled-test-harness/assets/read-card-for-ai-assistant-test-DJxZ16H_.js +0 -91
- package/bundled-test-harness/assets/read-file-for-ai-assistant-test-BoRQkZ8c.js +0 -45
- package/bundled-test-harness/assets/read-source-test-Bl-NjchO.js +0 -67
- package/bundled-test-harness/assets/read-text-file-test-CP37CZoo.js +0 -124
- package/bundled-test-harness/assets/realm-CaK5mkT-.js +0 -2852
- package/bundled-test-harness/assets/realm-api-keys-BNUFWbGR.js +0 -579
- package/bundled-test-harness/assets/realm-api-keys-CkshxhXC.js +0 -2
- package/bundled-test-harness/assets/realm-api-keys-test-BP8xifjn.js +0 -109
- package/bundled-test-harness/assets/realm-api-keys-test-CwdK9YXp.js +0 -588
- package/bundled-test-harness/assets/realm-config-iKwE3Htp.js +0 -833
- package/bundled-test-harness/assets/realm-config-policy-standing-test-BgVEIDnB.js +0 -290
- package/bundled-test-harness/assets/realm-config-routing-rule-edit-test-BoJoKzmX.js +0 -274
- package/bundled-test-harness/assets/realm-config-settings-test-Kxw-GHye.js +0 -187
- package/bundled-test-harness/assets/realm-field-test-CdGOxrFb.js +0 -100
- package/bundled-test-harness/assets/realm-indexing-test-CHtsBV2b.js +0 -4380
- package/bundled-test-harness/assets/realm-policy-fitted-test--DhNZSdC.js +0 -206
- package/bundled-test-harness/assets/realm-policy-test-D7714iVa.js +0 -1141
- package/bundled-test-harness/assets/realm-querying-test-Cj1ekZ0H.js +0 -1067
- package/bundled-test-harness/assets/realm-server-form-agnostic-test-CZFPNJfD.js +0 -96
- package/bundled-test-harness/assets/realm-server-subscriber-test-C86WmBp0.js +0 -46
- package/bundled-test-harness/assets/realm-service-info-test-CdgcwKDR.js +0 -67
- package/bundled-test-harness/assets/realm-test-DPoLsvKz.js +0 -2364
- package/bundled-test-harness/assets/realm-token-refresh-test-Ch35Siwi.js +0 -153
- package/bundled-test-harness/assets/realm-url-tooltip-test-x8xWOENK.js +0 -78
- package/bundled-test-harness/assets/reasoning-test-BxpE8Jvf.js +0 -221
- package/bundled-test-harness/assets/recent-files-test-DTmEzPLq.js +0 -450
- package/bundled-test-harness/assets/reindex-realm-test-BQ8KULn4.js +0 -117
- package/bundled-test-harness/assets/relationship-loading-state-test-BJoArPWf.js +0 -290
- package/bundled-test-harness/assets/remix-card-test-DsTA1KoG.js +0 -58
- package/bundled-test-harness/assets/rendered-markdown-DvukulDO.js +0 -292
- package/bundled-test-harness/assets/rendered-markdown-test-DxGptXSV.js +0 -587
- package/bundled-test-harness/assets/resident-instance-reuse-test-ZWnVu8uj.js +0 -82
- package/bundled-test-harness/assets/result-tile-CPyI6Vmv.js +0 -144
- package/bundled-test-harness/assets/rich-markdown-field-test-CdygoXIO.js +0 -1647
- package/bundled-test-harness/assets/room-message-test-D3NfMqH0.js +0 -484
- package/bundled-test-harness/assets/run-D_Px28eF.js +0 -3956
- package/bundled-test-harness/assets/run-realm-code-qWCZxmJ7.js +0 -2964
- package/bundled-test-harness/assets/run-realm-code-test-UzyeEJq6.js +0 -3844
- package/bundled-test-harness/assets/sanitize-module-list-test-Babq44bP.js +0 -85
- package/bundled-test-harness/assets/save-card-skip-index-wait-test-BcELXlQ_.js +0 -89
- package/bundled-test-harness/assets/schema-editor-test-CEvruZbt.js +0 -785
- package/bundled-test-harness/assets/schema-generation-test-hYAMdCrn.js +0 -28
- package/bundled-test-harness/assets/scrolling-test-DVIsh-_1.js +0 -412
- package/bundled-test-harness/assets/search-adorn-test-CkVhqFd0.js +0 -136
- package/bundled-test-harness/assets/search-and-choose-test-DUhOB3FV.js +0 -154
- package/bundled-test-harness/assets/search-correlation-id-test-Drn4r26N.js +0 -139
- package/bundled-test-harness/assets/search-entries-result-test-DTCRJ_wc.js +0 -234
- package/bundled-test-harness/assets/search-entries-test-CE0B47pw.js +0 -1486
- package/bundled-test-harness/assets/search-entries-tool-test-C4aG0ckM.js +0 -504
- package/bundled-test-harness/assets/search-google-images-test-LyhcB2f3.js +0 -166
- package/bundled-test-harness/assets/search-results-D4pSne0x.js +0 -266
- package/bundled-test-harness/assets/search-results-test-CRZHhqhn.js +0 -578
- package/bundled-test-harness/assets/search-selection-menu-test-B7Y3E_nj.js +0 -108
- package/bundled-test-harness/assets/search-sheet-files-test-C2y534g8.js +0 -126
- package/bundled-test-harness/assets/search-sheet-persistence-test-DePC59Bk.js +0 -131
- package/bundled-test-harness/assets/search-test-Dy8NxFkU.js +0 -2249
- package/bundled-test-harness/assets/search-tool-test-lctDaMH3.js +0 -156
- package/bundled-test-harness/assets/searchable-option-test-CE64M8oM.js +0 -322
- package/bundled-test-harness/assets/searchable-search-doc-test-C6u3mVvT.js +0 -1271
- package/bundled-test-harness/assets/section-rail-B_UQX00B.js +0 -113
- package/bundled-test-harness/assets/section-rail-test-DIda7MIw.js +0 -256
- package/bundled-test-harness/assets/secure-sign-in-CqqqfQG8.js +0 -174
- package/bundled-test-harness/assets/secure-sign-in-test-DimbVr_W.js +0 -373
- package/bundled-test-harness/assets/segmented-control-iePxSdTS.js +0 -173
- package/bundled-test-harness/assets/select-tNs6_xwW.js +0 -175
- package/bundled-test-harness/assets/send-ai-assistant-message-test-2GVrMF9Z.js +0 -52
- package/bundled-test-harness/assets/send-bot-trigger-event-test-B_3dKfGN.js +0 -56
- package/bundled-test-harness/assets/send-request-via-proxy-test-_clNWyYc.js +0 -380
- package/bundled-test-harness/assets/sending-test-DCPFXUVg.js +0 -659
- package/bundled-test-harness/assets/serialization-rri-form-audit-test-BI0zCs8Y.js +0 -136
- package/bundled-test-harness/assets/serialization-test-bjdtVlZL.js +0 -8758
- package/bundled-test-harness/assets/set-user-system-card-test-BUv1vL08.js +0 -59
- package/bundled-test-harness/assets/setup-BW1mmC7C.js +0 -772
- package/bundled-test-harness/assets/setup-DsIcFT-T.js +0 -2
- package/bundled-test-harness/assets/shared-link-target-reuse-test-9NeJEjkb.js +0 -207
- package/bundled-test-harness/assets/show-card-test-mfyLwusD.js +0 -365
- package/bundled-test-harness/assets/signed-capture-link-test-BOtKNCAM.js +0 -132
- package/bundled-test-harness/assets/single-stack-test-B4MGjaLk.js +0 -652
- package/bundled-test-harness/assets/skills-test-BuP-Yzk1.js +0 -648
- package/bundled-test-harness/assets/skip-boot-index-guard-test-Cmrx2-K7.js +0 -46
- package/bundled-test-harness/assets/spec-test-BhZDdhVQ.js +0 -1077
- package/bundled-test-harness/assets/spinner-CpIBUG9m.js +0 -49
- package/bundled-test-harness/assets/src-DGHttmW-.js +0 -216
- package/bundled-test-harness/assets/src-DaNDSbp7.js +0 -5
- package/bundled-test-harness/assets/stick-to-bottom-resize-test-Dpy3OVum.js +0 -56
- package/bundled-test-harness/assets/store-add-test-_IYS8o74.js +0 -50
- package/bundled-test-harness/assets/store-module-rebuild-test-B5VMaICy.js +0 -454
- package/bundled-test-harness/assets/store-search-test-C2VZabrH.js +0 -175
- package/bundled-test-harness/assets/store-test-D6PObxoD.js +0 -3672
- package/bundled-test-harness/assets/structured-theme-test-BHjVeMf-.js +0 -377
- package/bundled-test-harness/assets/summarize-session-test-BFtTuhe0.js +0 -172
- package/bundled-test-harness/assets/svg-image-def-test-BL6lkWUX.js +0 -167
- package/bundled-test-harness/assets/switch-submode-test-6Uv3bZMl.js +0 -168
- package/bundled-test-harness/assets/sync-openrouter-models-test-Dp9E05tL.js +0 -97
- package/bundled-test-harness/assets/test-support-DYm8XZ0E.js +0 -3
- package/bundled-test-harness/assets/test-support-DfnhiIMV.js +0 -99
- package/bundled-test-harness/assets/tests-CZk0Iag2.js +0 -3596
- package/bundled-test-harness/assets/text-file-def-test-CHdC0yIU.js +0 -94
- package/bundled-test-harness/assets/text-input-validator-test-B9ZR8XPU.js +0 -156
- package/bundled-test-harness/assets/text-suggestion-test-CGLspKFQ.js +0 -340
- package/bundled-test-harness/assets/theme-card-test-CXZvSEvG.js +0 -621
- package/bundled-test-harness/assets/theme-dashboard-nav-test-CkEE0ILk.js +0 -196
- package/bundled-test-harness/assets/theme-scheme-island-test-URXTjipF.js +0 -264
- package/bundled-test-harness/assets/titles-C6enAdIv.js +0 -2
- package/bundled-test-harness/assets/titles-Dft1HoUT.js +0 -52
- package/bundled-test-harness/assets/to-device-streaming-test-D33ZOc9o.js +0 -163
- package/bundled-test-harness/assets/token-usage-test-BHQlU4J4.js +0 -160
- package/bundled-test-harness/assets/tools-CrudqfS3.js +0 -774
- package/bundled-test-harness/assets/tools-calling-test-jo7IREau.js +0 -200
- package/bundled-test-harness/assets/tools-test-D1wMfUa0.js +0 -1624
- package/bundled-test-harness/assets/tools-test-Dn1LYsXp.js +0 -3204
- package/bundled-test-harness/assets/tooltip-8Wyz4IIn.css +0 -68
- package/bundled-test-harness/assets/tooltip-CqwLzRz5.js +0 -134
- package/bundled-test-harness/assets/transform-cards-test-BPhwPFtp.js +0 -341
- package/bundled-test-harness/assets/ts-file-def-preview-test-Bq3zTgw8.js +0 -95
- package/bundled-test-harness/assets/ts-file-def-test-GLswMl7O.js +0 -92
- package/bundled-test-harness/assets/ttf-font-def-test-DQulvUWs.js +0 -206
- package/bundled-test-harness/assets/turn-settling-test-BspmOUQP.js +0 -160
- package/bundled-test-harness/assets/turn-summary-9A8nvC0-.js +0 -1039
- package/bundled-test-harness/assets/unpublish-realm-test-SkYPEhDz.js +0 -102
- package/bundled-test-harness/assets/update-room-skills-test-cTxb-WU6.js +0 -240
- package/bundled-test-harness/assets/use-ai-assistant-test-uaqW1T_A.js +0 -384
- package/bundled-test-harness/assets/user-message-BudkIP-3.js +0 -262
- package/bundled-test-harness/assets/validate-realm-test-DxrGgH9n.js +0 -67
- package/bundled-test-harness/assets/video-metadata-extractor-test-B2pe-Iqa.js +0 -520
- package/bundled-test-harness/assets/view-visually-test-PNon6fUo.js +0 -335
- package/bundled-test-harness/assets/virtual-network-reset-test-uYJLaQHf.js +0 -96
- package/bundled-test-harness/assets/wav-audio-def-test-F4OrFFR4.js +0 -160
- package/bundled-test-harness/assets/webp-image-def-test-B0a_-Vya.js +0 -226
- package/bundled-test-harness/assets/workspace-Cyftysy9.js +0 -440
- package/bundled-test-harness/assets/workspace-a11y-test-sKiPDcbl.js +0 -197
- package/bundled-test-harness/assets/workspace-actions-BuawjFmZ.js +0 -561
- package/bundled-test-harness/assets/workspace-behavior-test-CKa-pb3T.js +0 -338
- package/bundled-test-harness/assets/workspace-delete-multiple-test-Dt2weG5R.js +0 -212
- package/bundled-test-harness/assets/workspace-delete-summary-test-CkqgFqZ8.js +0 -63
- package/bundled-test-harness/assets/workspace-hosting-test-Ci7EEtHP.js +0 -138
- package/bundled-test-harness/assets/workspace-indexing-test-BPVxxY6W.js +0 -71
- package/bundled-test-harness/assets/workspace-test-CWr7vFbg.js +0 -385
- package/bundled-test-harness/assets/workspace-test-INNpQovc.js +0 -51
- package/bundled-test-harness/assets/workspace-timestamp-labels-test-CigQb5wr.js +0 -68
- package/bundled-test-harness/assets/workspace-unit-test-BwVKpuXT.js +0 -122
- package/bundled-test-harness/assets/write-binary-file-test-BKP3gv1k.js +0 -124
- package/bundled-test-harness/assets/write-text-file-test-B6ijTKTa.js +0 -191
- package/bundled-test-harness/assets/zip-archive-test-C-PBzkTn.js +0 -285
- package/bundled-test-harness/assets/zip-file-def-test-FyCzJT-9.js +0 -164
|
@@ -0,0 +1,4393 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[(globalThis.__boxelAssetsURL||"/")+"assets/src-CF8jhG38.js",(globalThis.__boxelAssetsURL||"/")+"assets/native-1qc0_0op.js",(globalThis.__boxelAssetsURL||"/")+"assets/chunk-Rp0pCe6z.js",(globalThis.__boxelAssetsURL||"/")+"assets/preload-helper-CKDH5-7N.js",(globalThis.__boxelAssetsURL||"/")+"assets/validation-manifest-DCy3vpRF.js",(globalThis.__boxelAssetsURL||"/")+"assets/common-CEvPgPYE.js",(globalThis.__boxelAssetsURL||"/")+"assets/dateSerial-BN3LbIto.js",(globalThis.__boxelAssetsURL||"/")+"assets/nativeFilter-bBeaFw3F.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-DMlCi9TD.js",(globalThis.__boxelAssetsURL||"/")+"assets/mutation-Dt2VvgTF.js",(globalThis.__boxelAssetsURL||"/")+"assets/test-support-CgWmpebE.js",(globalThis.__boxelAssetsURL||"/")+"assets/test-support-BOFeeYuE.js",(globalThis.__boxelAssetsURL||"/")+"assets/dist-CSQ-y1Ft.js",(globalThis.__boxelAssetsURL||"/")+"assets/debug-Dg0TiPYl.js",(globalThis.__boxelAssetsURL||"/")+"assets/es-compat2-CZCbH4TS.js",(globalThis.__boxelAssetsURL||"/")+"assets/es-B1dO8RuH.js",(globalThis.__boxelAssetsURL||"/")+"assets/service-LFpJ8EEP.js",(globalThis.__boxelAssetsURL||"/")+"assets/cache-DtDz7X5V-Wn8jRDfL.js",(globalThis.__boxelAssetsURL||"/")+"assets/owner-CP0__uFm.js",(globalThis.__boxelAssetsURL||"/")+"assets/validator-T25d_ucg.js",(globalThis.__boxelAssetsURL||"/")+"assets/computed_cache-DmYKevAP-DyWE_fcK.js",(globalThis.__boxelAssetsURL||"/")+"assets/index-DaCZcoCY-CgzbilMy.js",(globalThis.__boxelAssetsURL||"/")+"assets/owner-BT6cj890.js",(globalThis.__boxelAssetsURL||"/")+"assets/alias-CPqbuwcg-B1_trmq0.js",(globalThis.__boxelAssetsURL||"/")+"assets/application-VoCE-EjL.js",(globalThis.__boxelAssetsURL||"/")+"assets/proxy-Br6ueHyJ.js",(globalThis.__boxelAssetsURL||"/")+"assets/destroyable-mdLYRn_o.js",(globalThis.__boxelAssetsURL||"/")+"assets/template-factory-ds9s0u8l.js",(globalThis.__boxelAssetsURL||"/")+"assets/is-equal-CgIVjIN-.js",(globalThis.__boxelAssetsURL||"/")+"assets/managers-CbMgnSoo-yzoWKLy4.js",(globalThis.__boxelAssetsURL||"/")+"assets/layout-group-BS0gklZp.js",(globalThis.__boxelAssetsURL||"/")+"assets/dist-CkA1rgqO.js",(globalThis.__boxelAssetsURL||"/")+"assets/component-BJO47HTh.js",(globalThis.__boxelAssetsURL||"/")+"assets/runtime--fcdnjmJ-BoCBNIsz.js",(globalThis.__boxelAssetsURL||"/")+"assets/dist-nMt-N14r.js",(globalThis.__boxelAssetsURL||"/")+"assets/modifier-D0EP-FQ7.js",(globalThis.__boxelAssetsURL||"/")+"assets/tracking-CNiq91Pk.js",(globalThis.__boxelAssetsURL||"/")+"assets/resolve-transition-CVjf7YAq.js",(globalThis.__boxelAssetsURL||"/")+"assets/memory-B73-H_Rp.js",(globalThis.__boxelAssetsURL||"/")+"assets/speed-bIo0tyrM.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-LqENIikj.js",(globalThis.__boxelAssetsURL||"/")+"assets/steps-D0xobKkB.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-a4d10Hra.js",(globalThis.__boxelAssetsURL||"/")+"assets/run-FzaqmBEl.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-CbBcj3xm.js",(globalThis.__boxelAssetsURL||"/")+"assets/node-BWOLCOMI.js",(globalThis.__boxelAssetsURL||"/")+"assets/motion-config-BbHByW3a.js",(globalThis.__boxelAssetsURL||"/")+"assets/item-CBEoTOyj.js",(globalThis.__boxelAssetsURL||"/")+"assets/motion-BiMvMS08.js",(globalThis.__boxelAssetsURL||"/")+"assets/presence-BKkR2au7.js",(globalThis.__boxelAssetsURL||"/")+"assets/group-DL-b_Hzj.js",(globalThis.__boxelAssetsURL||"/")+"assets/choreo-D1K9RyjM.js",(globalThis.__boxelAssetsURL||"/")+"assets/choreo-Ci5dG5fv.js",(globalThis.__boxelAssetsURL||"/")+"assets/steps-aNa4m6PJ.js",(globalThis.__boxelAssetsURL||"/")+"assets/test-support-QTh6wGxu.js",(globalThis.__boxelAssetsURL||"/")+"assets/test-support-Tr-PYFgc.js",(globalThis.__boxelAssetsURL||"/")+"assets/film-D1E-odYG.js",(globalThis.__boxelAssetsURL||"/")+"assets/clip-CsRtHZiN.js",(globalThis.__boxelAssetsURL||"/")+"assets/helper-BHX0HLF2.js",(globalThis.__boxelAssetsURL||"/")+"assets/film-D97U-ydx.js",(globalThis.__boxelAssetsURL||"/")+"assets/host-KVk6VIHI.js",(globalThis.__boxelAssetsURL||"/")+"assets/adjust--n_OTVbP.js",(globalThis.__boxelAssetsURL||"/")+"assets/nodes-BH4FGkKK.js",(globalThis.__boxelAssetsURL||"/")+"assets/joins-D_xzMJAJ.js",(globalThis.__boxelAssetsURL||"/")+"assets/overlays-nTqcu69K.js",(globalThis.__boxelAssetsURL||"/")+"assets/plate-DAr_pvwC.js",(globalThis.__boxelAssetsURL||"/")+"assets/player-CAVQUyKk.js",(globalThis.__boxelAssetsURL||"/")+"assets/rail-CQ53Dakr.js",(globalThis.__boxelAssetsURL||"/")+"assets/titles-0a1luoTq.js",(globalThis.__boxelAssetsURL||"/")+"assets/picture-DbNWRbtX.js",(globalThis.__boxelAssetsURL||"/")+"assets/clip-CycGr0Lf.js",(globalThis.__boxelAssetsURL||"/")+"assets/film-D25Y0ED6.js",(globalThis.__boxelAssetsURL||"/")+"assets/adjust-tbcBqG-n.js",(globalThis.__boxelAssetsURL||"/")+"assets/host-DMN-E78f.js",(globalThis.__boxelAssetsURL||"/")+"assets/nodes-Cb9jGNmV.js",(globalThis.__boxelAssetsURL||"/")+"assets/joins-CFhtaZ7U.js",(globalThis.__boxelAssetsURL||"/")+"assets/overlays-COinwHCP.js",(globalThis.__boxelAssetsURL||"/")+"assets/picture-CPj4Wgsy.js",(globalThis.__boxelAssetsURL||"/")+"assets/plate-DeoQd99m.js",(globalThis.__boxelAssetsURL||"/")+"assets/player-BvXGBItd.js",(globalThis.__boxelAssetsURL||"/")+"assets/rail-CFPU0tFe.js",(globalThis.__boxelAssetsURL||"/")+"assets/titles-DKHNLVwC.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-DOKnNfG8.js",(globalThis.__boxelAssetsURL||"/")+"assets/store-tDubGN_j.js",(globalThis.__boxelAssetsURL||"/")+"assets/vanilla-BA1BUPFM.js",(globalThis.__boxelAssetsURL||"/")+"assets/layout-DVAINTLP.js",(globalThis.__boxelAssetsURL||"/")+"assets/lib.esm-CdDCG-7Y.js",(globalThis.__boxelAssetsURL||"/")+"assets/lib.esm-k4KIhRQO.js",(globalThis.__boxelAssetsURL||"/")+"assets/pdfjs-tq21NQBp.js",(globalThis.__boxelAssetsURL||"/")+"assets/esm-browser-ByMIQXWT.js",(globalThis.__boxelAssetsURL||"/")+"assets/esm-browser-CIYLo70w.js",(globalThis.__boxelAssetsURL||"/")+"assets/browser-ZN0_uldJ.js",(globalThis.__boxelAssetsURL||"/")+"assets/browser-B_4zqvM9.js",(globalThis.__boxelAssetsURL||"/")+"assets/browser-BpGk2ZmZ.js",(globalThis.__boxelAssetsURL||"/")+"assets/browser-CKBrcCxN.js",(globalThis.__boxelAssetsURL||"/")+"assets/constants-WFA0gSYM.js",(globalThis.__boxelAssetsURL||"/")+"assets/constants-Icc0nFW-.js",(globalThis.__boxelAssetsURL||"/")+"assets/paths-C9-NYXnM.js",(globalThis.__boxelAssetsURL||"/")+"assets/marked-sync-BCLGl4e-.js",(globalThis.__boxelAssetsURL||"/")+"assets/marked-sync-B1trqB6L.js",(globalThis.__boxelAssetsURL||"/")+"assets/bfm-card-references-Cjos2rOp.js",(globalThis.__boxelAssetsURL||"/")+"assets/dompurify-runtime-BResfr4t.js",(globalThis.__boxelAssetsURL||"/")+"assets/purify.es-CdJGJvFA.js",(globalThis.__boxelAssetsURL||"/")+"assets/bfm-card-references-DiydFUNR.js",(globalThis.__boxelAssetsURL||"/")+"assets/ai-Cs1uTbhS.js",(globalThis.__boxelAssetsURL||"/")+"assets/ai-BFUROO-8.js",(globalThis.__boxelAssetsURL||"/")+"assets/card-directory-name-BwTPYMCb.js",(globalThis.__boxelAssetsURL||"/")+"assets/runtime-common-BTaLJEw-.js",(globalThis.__boxelAssetsURL||"/")+"assets/index-esm-CUymiD6S.js",(globalThis.__boxelAssetsURL||"/")+"assets/defineProperty-BzbzoKfB.js",(globalThis.__boxelAssetsURL||"/")+"assets/amd-transpile-DPkNHMXs.js",(globalThis.__boxelAssetsURL||"/")+"assets/browser-DBC8B1Th.js",(globalThis.__boxelAssetsURL||"/")+"assets/lodash-DHx1coJM.js",(globalThis.__boxelAssetsURL||"/")+"assets/loglevel-xo4L-Std.js",(globalThis.__boxelAssetsURL||"/")+"assets/realm-permission-checker-6Ap9zqtc.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { i as __name, r as __exportAll, s as __toESM, t as __commonJSMin } from "./chunk-Rp0pCe6z.js";
|
|
3
|
+
import { n as decorateMethodV2, r as initializeDeferredDecorator, t as decorateFieldV2 } from "./runtime--fcdnjmJ-BoCBNIsz.js";
|
|
4
|
+
import { bc as md5_esm_bundler_exports, eo as PACKAGES_FAKE_ORIGIN, f as runtime_common_exports, tn as esm_exports, to as fallbackShim, vc as init_md5_esm_bundler } from "./runtime-common-BTaLJEw-.js";
|
|
5
|
+
import { t as lodash_exports } from "./lodash-DHx1coJM.js";
|
|
6
|
+
import { t as __vitePreload } from "./preload-helper-CKDH5-7N.js";
|
|
7
|
+
import { n as index_esm_exports } from "./index-esm-CUymiD6S.js";
|
|
8
|
+
import { c as warn } from "./debug-Dg0TiPYl.js";
|
|
9
|
+
import { Vn as guidFor, Z as setClassicDecorator, _ as addObserver, j as get, wt as setComponentTemplate, x as computed } from "./cache-DtDz7X5V-Wn8jRDfL.js";
|
|
10
|
+
import { _t as schedule, d as action, dt as join, f as object_exports, gt as runloop_exports, i as service_exports, lt as cancel, n as inject, r as service$4, vt as scheduleOnce } from "./service-LFpJ8EEP.js";
|
|
11
|
+
import { N as validator_exports, S as tagFor, h as dirtyTagFor, u as consumeTag } from "./validator-T25d_ucg.js";
|
|
12
|
+
import { a as set } from "./computed_cache-DmYKevAP-DyWE_fcK.js";
|
|
13
|
+
import { Ft as getViewBounds$1, H as templateFactory, ct as A, t as Component } from "./index-DaCZcoCY-CgzbilMy.js";
|
|
14
|
+
import { t as alias } from "./alias-CPqbuwcg-B1_trmq0.js";
|
|
15
|
+
import { t as destroyable_exports } from "./destroyable-mdLYRn_o.js";
|
|
16
|
+
import { n as macroCondition, t as isTesting } from "./runtime-9O0mNd7j.js";
|
|
17
|
+
import { t as async_arrow_runtime_exports } from "./async-arrow-runtime-STsj7E8Y.js";
|
|
18
|
+
import { t as rsvp_exports } from "./rsvp-BUQYrGTG.js";
|
|
19
|
+
import { t as dist_exports$2 } from "./dist-qkBOmIQy.js";
|
|
20
|
+
import { s as helper_exports } from "./helper-BHX0HLF2.js";
|
|
21
|
+
import { t as dist_exports$3 } from "./dist-CLbqnmnm.js";
|
|
22
|
+
import { t as dist_exports$4 } from "./dist-B9tGPKZz.js";
|
|
23
|
+
import { t as modifier_exports } from "./modifier-D0EP-FQ7.js";
|
|
24
|
+
import { t as component_exports } from "./component-BJO47HTh.js";
|
|
25
|
+
import { n as dist_exports$5, t as Component$1 } from "./dist-CkA1rgqO.js";
|
|
26
|
+
import "./metal-3rHwUpzF.js";
|
|
27
|
+
import { r as tracking_exports } from "./tracking-800VJb8b.js";
|
|
28
|
+
import { t as template_factory_exports } from "./template-factory-ds9s0u8l.js";
|
|
29
|
+
import { n as template_only_exports } from "./template-only-6nVzLWF-.js";
|
|
30
|
+
import { t as helpers_exports } from "./helpers-U4_dLjnS.js";
|
|
31
|
+
import { Z as ElementHelper, t as components_exports, u as modifiers_exports } from "./components-Ck24ubaT.js";
|
|
32
|
+
import { t as icons_exports } from "./icons-Ctk-4xDe.js";
|
|
33
|
+
import { t as template_exports } from "./template-C81fYDrq.js";
|
|
34
|
+
import { n as dist_exports$6, r as modifier } from "./dist-nMt-N14r.js";
|
|
35
|
+
import { n as dist_exports$7 } from "./dist-D2_TiMFf.js";
|
|
36
|
+
import { t as internals_exports } from "./internals-BTorg710.js";
|
|
37
|
+
import { i as floating_ui_dom_exports } from "./dist-CAIttNZm.js";
|
|
38
|
+
import { t as dist_exports$8 } from "./dist-DEVZvbin.js";
|
|
39
|
+
import { a as hasContext, i as getContextValue, n as dist_exports$9, s as setContextMetadataOnContextProviderInstance } from "./dist-Ble0L9o7.js";
|
|
40
|
+
import { t as browser_index_exports } from "./browser-index-WJHA2DY5.js";
|
|
41
|
+
import { t as dist_exports$10 } from "./dist-BOAdzfkP.js";
|
|
42
|
+
import "./views-B3PJv4Qn.js";
|
|
43
|
+
import { i as layout_group_exports } from "./layout-group-BS0gklZp.js";
|
|
44
|
+
import { t as src_exports } from "./src-CbBcj3xm.js";
|
|
45
|
+
import { n as item_exports } from "./item-CBEoTOyj.js";
|
|
46
|
+
import { r as motion_config_exports } from "./motion-config-BbHByW3a.js";
|
|
47
|
+
import { n as presence_exports } from "./presence-BKkR2au7.js";
|
|
48
|
+
import { n as group_exports } from "./group-DL-b_Hzj.js";
|
|
49
|
+
import { n as pdfjs_loader_exports } from "./pdfjs-loader-ELvIpnbZ.js";
|
|
50
|
+
import { n as signed_capture_exports } from "./signed-capture-wuvq_Aok.js";
|
|
51
|
+
import { n as three_loader_exports } from "./three-loader-DNsH2465.js";
|
|
52
|
+
import { n as shimHostTools } from "./tools-J_Knr_W6.js";
|
|
53
|
+
//#region ../../node_modules/.pnpm/@cardstack+view-transitions@0.2.0_@babel+core@7.29.7_supports-color@8.1.1__ember-modifi_83ee960449b91cd91d58780597434c5f/node_modules/@cardstack/view-transitions/dist/index.js
|
|
54
|
+
var dist_exports$1 = /* @__PURE__ */ __exportAll({
|
|
55
|
+
animatable: () => animatable,
|
|
56
|
+
viewTransitionName: () => viewTransitionName
|
|
57
|
+
});
|
|
58
|
+
function animatable(initialValue, opts) {
|
|
59
|
+
return new AnimatableImpl(initialValue, opts?.equals ?? Object.is);
|
|
60
|
+
}
|
|
61
|
+
var viewTransitionName = modifier(function(element, parts) {
|
|
62
|
+
element.style.viewTransitionName = parts.map((p) => String(p)).join("");
|
|
63
|
+
});
|
|
64
|
+
function waitForRender() {
|
|
65
|
+
return new Promise((resolve) => {
|
|
66
|
+
schedule("afterRender", () => {
|
|
67
|
+
resolve();
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
var AnimatableImpl = class {
|
|
72
|
+
#current;
|
|
73
|
+
#equals;
|
|
74
|
+
constructor(initial, equals) {
|
|
75
|
+
this.#current = initial;
|
|
76
|
+
this.#equals = equals;
|
|
77
|
+
}
|
|
78
|
+
get current() {
|
|
79
|
+
consumeTag(tagFor(this, "current"));
|
|
80
|
+
return this.#current;
|
|
81
|
+
}
|
|
82
|
+
#set(newValue) {
|
|
83
|
+
dirtyTagFor(this, "current");
|
|
84
|
+
this.#current = newValue;
|
|
85
|
+
}
|
|
86
|
+
set = (newValue) => {
|
|
87
|
+
if (this.#equals(this.#current, newValue)) return;
|
|
88
|
+
if (!document.startViewTransition) {
|
|
89
|
+
this.#set(newValue);
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
document.startViewTransition(async () => {
|
|
93
|
+
this.#set(newValue);
|
|
94
|
+
await waitForRender();
|
|
95
|
+
});
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/singleton.js
|
|
100
|
+
window.emberAnimatedSingleton = window.emberAnimatedSingleton || {};
|
|
101
|
+
function getOrCreate$3(key, construct) {
|
|
102
|
+
const symbol = Symbol.for(key);
|
|
103
|
+
if (!(Object.getOwnPropertySymbols(window.emberAnimatedSingleton).indexOf(symbol) > -1)) window.emberAnimatedSingleton[symbol] = construct();
|
|
104
|
+
return window.emberAnimatedSingleton[symbol];
|
|
105
|
+
}
|
|
106
|
+
__name(getOrCreate$3, "getOrCreate");
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/concurrency-helpers.js
|
|
109
|
+
function getOrCreate$2(key, construct) {
|
|
110
|
+
return getOrCreate$3(`concurrency-helpers.${key}`, construct);
|
|
111
|
+
}
|
|
112
|
+
__name(getOrCreate$2, "getOrCreate");
|
|
113
|
+
var frameState = getOrCreate$2("frameState", () => ({
|
|
114
|
+
nextFrame: null,
|
|
115
|
+
nextFrameWaiters: [],
|
|
116
|
+
currentFrameClock: -Infinity
|
|
117
|
+
}));
|
|
118
|
+
var cancellation = getOrCreate$2("cancellation", () => /* @__PURE__ */ new WeakMap());
|
|
119
|
+
function registerCancellation(promise, handler) {
|
|
120
|
+
cancellation.set(promise, handler);
|
|
121
|
+
}
|
|
122
|
+
function fireCancellation(promise) {
|
|
123
|
+
let fn = cancellation.get(promise);
|
|
124
|
+
if (fn) fn(promise);
|
|
125
|
+
}
|
|
126
|
+
function rAF() {
|
|
127
|
+
if (!frameState.nextFrame) frameState.nextFrame = requestAnimationFrame(rAFDidFire);
|
|
128
|
+
let resolve;
|
|
129
|
+
let promise = new Promise((r) => {
|
|
130
|
+
resolve = r;
|
|
131
|
+
});
|
|
132
|
+
frameState.nextFrameWaiters.push({
|
|
133
|
+
resolve,
|
|
134
|
+
promise
|
|
135
|
+
});
|
|
136
|
+
registerCancellation(promise, removeWaiter);
|
|
137
|
+
return promise;
|
|
138
|
+
}
|
|
139
|
+
function rAFDidFire(clock) {
|
|
140
|
+
frameState.nextFrame = null;
|
|
141
|
+
frameState.currentFrameClock = clock;
|
|
142
|
+
let waiters = frameState.nextFrameWaiters;
|
|
143
|
+
frameState.nextFrameWaiters = [];
|
|
144
|
+
for (const waiter of waiters) waiter.resolve();
|
|
145
|
+
}
|
|
146
|
+
function removeWaiter(promise) {
|
|
147
|
+
let pair = frameState.nextFrameWaiters.find((pair) => pair.promise === promise);
|
|
148
|
+
if (pair) {
|
|
149
|
+
let index = frameState.nextFrameWaiters.indexOf(pair);
|
|
150
|
+
if (index > -1) frameState.nextFrameWaiters.splice(index, 1);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
function microwait() {
|
|
154
|
+
return new Promise((resolve) => resolve());
|
|
155
|
+
}
|
|
156
|
+
function wait(ms = 0) {
|
|
157
|
+
if (clock.now === originalClock) {
|
|
158
|
+
let ticket;
|
|
159
|
+
let promise = new Promise((resolve) => {
|
|
160
|
+
ticket = window.setTimeout(resolve, ms);
|
|
161
|
+
});
|
|
162
|
+
registerCancellation(promise, () => {
|
|
163
|
+
clearTimeout(ticket);
|
|
164
|
+
});
|
|
165
|
+
return promise;
|
|
166
|
+
} else {
|
|
167
|
+
let canceled = false;
|
|
168
|
+
let started = clock.now();
|
|
169
|
+
let promise = new Promise((resolve) => {
|
|
170
|
+
function checkIt() {
|
|
171
|
+
if (!canceled) {
|
|
172
|
+
if (clock.now() - started > ms) resolve();
|
|
173
|
+
rAF().then(checkIt);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
checkIt();
|
|
177
|
+
});
|
|
178
|
+
registerCancellation(promise, () => {
|
|
179
|
+
canceled = true;
|
|
180
|
+
});
|
|
181
|
+
return promise;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
function afterRender() {
|
|
185
|
+
let ticket;
|
|
186
|
+
let promise = new Promise((resolve) => {
|
|
187
|
+
ticket = schedule("afterRender", () => resolve());
|
|
188
|
+
});
|
|
189
|
+
registerCancellation(promise, () => {
|
|
190
|
+
cancel(ticket);
|
|
191
|
+
});
|
|
192
|
+
return promise;
|
|
193
|
+
}
|
|
194
|
+
var clock = getOrCreate$2("clock", () => ({ now() {
|
|
195
|
+
return (/* @__PURE__ */ new Date()).getTime();
|
|
196
|
+
} }));
|
|
197
|
+
var originalClock = getOrCreate$2("originalClock", () => clock.now);
|
|
198
|
+
function allSettled(promises) {
|
|
199
|
+
return Promise.all(promises.map((p) => {
|
|
200
|
+
if (p) return p.catch(() => null);
|
|
201
|
+
}));
|
|
202
|
+
}
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/scheduler.js
|
|
205
|
+
function getOrCreate$1(key, construct) {
|
|
206
|
+
return getOrCreate$3(`scheduler.${key}`, construct);
|
|
207
|
+
}
|
|
208
|
+
__name(getOrCreate$1, "getOrCreate");
|
|
209
|
+
function spawn(genFn) {
|
|
210
|
+
return new MicroRoutine(genFn, false).promise;
|
|
211
|
+
}
|
|
212
|
+
function spawnChild(genFn) {
|
|
213
|
+
return new MicroRoutine(genFn, true).promise;
|
|
214
|
+
}
|
|
215
|
+
function stop(microRoutinePromise) {
|
|
216
|
+
if (microRoutinePromise === current()) {
|
|
217
|
+
let e = /* @__PURE__ */ new Error("TaskCancelation");
|
|
218
|
+
e.message = "TaskCancelation";
|
|
219
|
+
throw e;
|
|
220
|
+
}
|
|
221
|
+
let microRoutine = microRoutines.get(microRoutinePromise);
|
|
222
|
+
if (microRoutine) microRoutine.stop();
|
|
223
|
+
}
|
|
224
|
+
function logErrors(fn) {
|
|
225
|
+
ensureCurrent("logErrors").errorLogger = fn;
|
|
226
|
+
}
|
|
227
|
+
function current() {
|
|
228
|
+
let cur = getCurrent();
|
|
229
|
+
if (cur) return cur.promise;
|
|
230
|
+
}
|
|
231
|
+
async function childrenSettled() {
|
|
232
|
+
return Promise.all(ensureCurrent("childrenSettled").linked.map((child) => child.promise.catch(() => null)));
|
|
233
|
+
}
|
|
234
|
+
function isTaskCancelationError(x) {
|
|
235
|
+
return x.message === "TaskCancelation";
|
|
236
|
+
}
|
|
237
|
+
var withCurrent;
|
|
238
|
+
var getCurrent;
|
|
239
|
+
var onStack;
|
|
240
|
+
{
|
|
241
|
+
const routines = getOrCreate$1("routines", () => ({
|
|
242
|
+
cur: void 0,
|
|
243
|
+
prior: []
|
|
244
|
+
}));
|
|
245
|
+
withCurrent = function(routine, fn) {
|
|
246
|
+
routines.prior.unshift({
|
|
247
|
+
microroutine: routines.cur,
|
|
248
|
+
throw: void 0
|
|
249
|
+
});
|
|
250
|
+
routines.cur = routine;
|
|
251
|
+
try {
|
|
252
|
+
return fn();
|
|
253
|
+
} finally {
|
|
254
|
+
let restore = routines.prior.shift();
|
|
255
|
+
routines.cur = restore.microroutine;
|
|
256
|
+
if (restore.throw) throw restore.throw;
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
getCurrent = function() {
|
|
260
|
+
return routines.cur;
|
|
261
|
+
};
|
|
262
|
+
onStack = function(microroutine) {
|
|
263
|
+
return routines.prior.find((entry) => entry.microroutine === microroutine);
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
function ensureCurrent(label) {
|
|
267
|
+
let cur = getCurrent();
|
|
268
|
+
if (!cur) throw new Error(`${label}: only works inside a running microroutine`);
|
|
269
|
+
return cur;
|
|
270
|
+
}
|
|
271
|
+
var loggedErrors = getOrCreate$1("loggedErrors", () => /* @__PURE__ */ new WeakSet());
|
|
272
|
+
var microRoutines = getOrCreate$1("microRoutines", () => /* @__PURE__ */ new WeakMap());
|
|
273
|
+
var MicroRoutine = class {
|
|
274
|
+
generator;
|
|
275
|
+
resolve;
|
|
276
|
+
reject;
|
|
277
|
+
stopped = false;
|
|
278
|
+
state;
|
|
279
|
+
linked = [];
|
|
280
|
+
errorLogger;
|
|
281
|
+
promise;
|
|
282
|
+
constructor(genFn, linkToParent) {
|
|
283
|
+
this.generator = genFn();
|
|
284
|
+
this.promise = new Promise((res, rej) => {
|
|
285
|
+
this.resolve = res;
|
|
286
|
+
this.reject = rej;
|
|
287
|
+
});
|
|
288
|
+
microRoutines.set(this.promise, this);
|
|
289
|
+
registerCancellation(this.promise, this.stop.bind(this));
|
|
290
|
+
if (linkToParent) {
|
|
291
|
+
let parent = ensureCurrent("spawnChild");
|
|
292
|
+
parent.linked.push(this);
|
|
293
|
+
this.errorLogger = parent.errorLogger;
|
|
294
|
+
}
|
|
295
|
+
this.wake("fulfilled", void 0);
|
|
296
|
+
}
|
|
297
|
+
wake(state, value) {
|
|
298
|
+
if (this.stopped) return;
|
|
299
|
+
withCurrent(this, () => {
|
|
300
|
+
try {
|
|
301
|
+
if (state === "fulfilled") this.state = this.generator.next(value);
|
|
302
|
+
else this.state = this.generator.throw(value);
|
|
303
|
+
if (this.state.done) this.resolve(this.state.value);
|
|
304
|
+
else Promise.resolve(this.state.value).then((value) => this.wake("fulfilled", value), (reason) => this.wake("rejected", reason));
|
|
305
|
+
} catch (err) {
|
|
306
|
+
this.state = {
|
|
307
|
+
done: true,
|
|
308
|
+
value: void 0
|
|
309
|
+
};
|
|
310
|
+
this.linked.forEach((microRoutine) => {
|
|
311
|
+
microRoutine.stop();
|
|
312
|
+
});
|
|
313
|
+
if (!isTaskCancelationError(err)) {
|
|
314
|
+
this.reject(err);
|
|
315
|
+
if (this.errorLogger) {
|
|
316
|
+
if (!loggedErrors.has(err)) {
|
|
317
|
+
loggedErrors.add(err);
|
|
318
|
+
this.errorLogger.call(null, err);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
stop() {
|
|
326
|
+
this.stopped = true;
|
|
327
|
+
if (this.state && isPromise(this.state.value)) fireCancellation(this.state.value);
|
|
328
|
+
this.linked.forEach((microRoutine) => {
|
|
329
|
+
microRoutine.stop();
|
|
330
|
+
});
|
|
331
|
+
let e = /* @__PURE__ */ new Error("TaskCancelation");
|
|
332
|
+
e.message = "TaskCancelation";
|
|
333
|
+
if (getCurrent() === this) throw e;
|
|
334
|
+
let s = onStack(this);
|
|
335
|
+
if (s) s.throw = e;
|
|
336
|
+
else withCurrent(this, () => cancelGenerator(this.generator));
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
function cancelGenerator(generator) {
|
|
340
|
+
let e = /* @__PURE__ */ new Error("TaskCancelation");
|
|
341
|
+
e.message = "TaskCancelation";
|
|
342
|
+
try {
|
|
343
|
+
generator.throw(e);
|
|
344
|
+
} catch (err) {
|
|
345
|
+
if (!isTaskCancelationError(err)) throw err;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
function isPromise(thing) {
|
|
349
|
+
return thing && typeof thing.then === "function";
|
|
350
|
+
}
|
|
351
|
+
function parallel(...functions) {
|
|
352
|
+
return function(...args) {
|
|
353
|
+
return Promise.all(functions.map((f) => f.apply(null, args)));
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
function serial(...functions) {
|
|
357
|
+
return function(...args) {
|
|
358
|
+
return spawnChild(function* () {
|
|
359
|
+
for (let fn of functions) yield fn.apply(null, args);
|
|
360
|
+
});
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
//#endregion
|
|
364
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/ember-scheduler.js
|
|
365
|
+
function getOrCreate(key, construct) {
|
|
366
|
+
return getOrCreate$3(`ember-scheduler.${key}`, construct);
|
|
367
|
+
}
|
|
368
|
+
function task(taskFn) {
|
|
369
|
+
let tp = _computed(function(propertyName) {
|
|
370
|
+
return new Task(this, taskFn, tp, propertyName);
|
|
371
|
+
});
|
|
372
|
+
Object.setPrototypeOf(tp, TaskProperty.prototype);
|
|
373
|
+
return tp;
|
|
374
|
+
}
|
|
375
|
+
function _computed(fn) {
|
|
376
|
+
let cp = function(proto, key) {
|
|
377
|
+
if (cp.setup !== void 0) cp.setup(proto, key);
|
|
378
|
+
return computed(fn)(...arguments);
|
|
379
|
+
};
|
|
380
|
+
setClassicDecorator(cp);
|
|
381
|
+
return cp;
|
|
382
|
+
}
|
|
383
|
+
var handlerCounter = 0;
|
|
384
|
+
var BaseTaskProperty = class {};
|
|
385
|
+
var TaskProperty = class extends BaseTaskProperty {
|
|
386
|
+
_bufferPolicy;
|
|
387
|
+
_observes;
|
|
388
|
+
restartable() {
|
|
389
|
+
this._bufferPolicy = cancelAllButLast;
|
|
390
|
+
return this;
|
|
391
|
+
}
|
|
392
|
+
drop() {
|
|
393
|
+
this._bufferPolicy = drop;
|
|
394
|
+
return this;
|
|
395
|
+
}
|
|
396
|
+
observes(...deps) {
|
|
397
|
+
this._observes = deps;
|
|
398
|
+
return this;
|
|
399
|
+
}
|
|
400
|
+
setup(proto, taskName) {
|
|
401
|
+
if (super.setup) super.setup(...arguments);
|
|
402
|
+
if (this._observes) {
|
|
403
|
+
let handlerName = `_ember_animated_handler_${handlerCounter++}`;
|
|
404
|
+
proto[handlerName] = function() {
|
|
405
|
+
let task = this[taskName];
|
|
406
|
+
scheduleOnce("actions", task, "_safePerform");
|
|
407
|
+
};
|
|
408
|
+
for (let i = 0; i < this._observes.length; ++i) {
|
|
409
|
+
let name = this._observes[i];
|
|
410
|
+
addObserver(proto, name, null, handlerName);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
};
|
|
415
|
+
var priv = getOrCreate("priv", () => /* @__PURE__ */ new WeakMap());
|
|
416
|
+
function getPriv(task) {
|
|
417
|
+
return priv.get(task);
|
|
418
|
+
}
|
|
419
|
+
var Task = class {
|
|
420
|
+
concurrency = 0;
|
|
421
|
+
isRunning = false;
|
|
422
|
+
constructor(context, implementation, taskProperty, name) {
|
|
423
|
+
priv.set(this, {
|
|
424
|
+
context,
|
|
425
|
+
implementation,
|
|
426
|
+
instances: [],
|
|
427
|
+
taskProperty,
|
|
428
|
+
name
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
perform(...args) {
|
|
432
|
+
let self = this;
|
|
433
|
+
let privSelf = getPriv(this);
|
|
434
|
+
let context = privSelf.context;
|
|
435
|
+
let implementation = privSelf.implementation;
|
|
436
|
+
let policy = privSelf.taskProperty._bufferPolicy;
|
|
437
|
+
if (context.isDestroyed) throw new Error(`Tried to perform task ${privSelf.name} on an already destroyed object`);
|
|
438
|
+
cleanupOnDestroy(context, this);
|
|
439
|
+
return spawn(function* () {
|
|
440
|
+
logErrors((error) => {
|
|
441
|
+
microwait().then(() => {
|
|
442
|
+
throw error;
|
|
443
|
+
});
|
|
444
|
+
});
|
|
445
|
+
try {
|
|
446
|
+
self._addInstance(current());
|
|
447
|
+
if (policy) {
|
|
448
|
+
let maybeWait = policy(self, privSelf);
|
|
449
|
+
if (maybeWait) yield maybeWait;
|
|
450
|
+
}
|
|
451
|
+
return yield* withRunLoop(implementation.call(context, ...args));
|
|
452
|
+
} finally {
|
|
453
|
+
join(() => {
|
|
454
|
+
self._removeInstance(current());
|
|
455
|
+
});
|
|
456
|
+
}
|
|
457
|
+
});
|
|
458
|
+
}
|
|
459
|
+
cancelAll() {
|
|
460
|
+
getPriv(this).instances.forEach((i) => stop(i));
|
|
461
|
+
}
|
|
462
|
+
_addInstance(i) {
|
|
463
|
+
getPriv(this).instances.push(i);
|
|
464
|
+
set(this, "isRunning", true);
|
|
465
|
+
set(this, "concurrency", this.concurrency + 1);
|
|
466
|
+
}
|
|
467
|
+
_removeInstance(i) {
|
|
468
|
+
let instances = getPriv(this).instances;
|
|
469
|
+
instances.splice(instances.indexOf(i), 1);
|
|
470
|
+
set(this, "concurrency", this.concurrency - 1);
|
|
471
|
+
set(this, "isRunning", this.concurrency > 0);
|
|
472
|
+
}
|
|
473
|
+
_safePerform() {
|
|
474
|
+
let { context } = getPriv(this);
|
|
475
|
+
if (!context.isDestroyed) this.perform();
|
|
476
|
+
}
|
|
477
|
+
};
|
|
478
|
+
function cleanupOnDestroy(owner, object) {
|
|
479
|
+
if (!owner.willDestroy) return;
|
|
480
|
+
if (!owner.willDestroy.__ember_processes_destroyers__) {
|
|
481
|
+
let oldWillDestroy = owner.willDestroy;
|
|
482
|
+
let disposers = [];
|
|
483
|
+
owner.willDestroy = function() {
|
|
484
|
+
for (const disposer of disposers) disposer();
|
|
485
|
+
oldWillDestroy.apply(owner, arguments);
|
|
486
|
+
};
|
|
487
|
+
owner.willDestroy.__ember_processes_destroyers__ = disposers;
|
|
488
|
+
}
|
|
489
|
+
owner.willDestroy.__ember_processes_destroyers__.push(() => {
|
|
490
|
+
try {
|
|
491
|
+
object.cancelAll();
|
|
492
|
+
} catch (err) {
|
|
493
|
+
if (err.message !== "TaskCancelation") throw err;
|
|
494
|
+
}
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
function cancelAllButLast(_task, privTask) {
|
|
498
|
+
const instances = privTask.instances;
|
|
499
|
+
for (const instance of instances.slice(0, -1)) stop(instance);
|
|
500
|
+
}
|
|
501
|
+
function drop(_task, privTask) {
|
|
502
|
+
let instances = privTask.instances;
|
|
503
|
+
for (let i = 1; i < instances.length; i++) stop(instances[i]);
|
|
504
|
+
}
|
|
505
|
+
function* withRunLoop(generator) {
|
|
506
|
+
let state;
|
|
507
|
+
let threw;
|
|
508
|
+
let nextValue;
|
|
509
|
+
let fulfilled = true;
|
|
510
|
+
while (true) {
|
|
511
|
+
join(() => {
|
|
512
|
+
try {
|
|
513
|
+
if (fulfilled) state = generator.next(nextValue);
|
|
514
|
+
else state = generator.throw(nextValue);
|
|
515
|
+
} catch (err) {
|
|
516
|
+
threw = err;
|
|
517
|
+
}
|
|
518
|
+
});
|
|
519
|
+
if (threw) throw threw;
|
|
520
|
+
if (state.done) return state.value;
|
|
521
|
+
try {
|
|
522
|
+
nextValue = yield state.value;
|
|
523
|
+
fulfilled = true;
|
|
524
|
+
} catch (err) {
|
|
525
|
+
nextValue = err;
|
|
526
|
+
fulfilled = false;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
//#endregion
|
|
531
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/debug.js
|
|
532
|
+
var printSprites = function printSprites(context, label) {
|
|
533
|
+
let isOrphan = null;
|
|
534
|
+
let prefix = label ? label + " " : "";
|
|
535
|
+
let spriteSummary = [
|
|
536
|
+
"inserted",
|
|
537
|
+
"kept",
|
|
538
|
+
"removed",
|
|
539
|
+
"sent",
|
|
540
|
+
"received"
|
|
541
|
+
].map((type) => {
|
|
542
|
+
return type + "=" + context[`_${type}Sprites`].map((s) => {
|
|
543
|
+
if (isOrphan == null) isOrphan = !s.element.parentElement || s.element.parentElement.classList.contains("animated-orphans");
|
|
544
|
+
return s.owner.id;
|
|
545
|
+
}).join(",");
|
|
546
|
+
}).join(" | ");
|
|
547
|
+
console.log(prefix + spriteSummary + (isOrphan ? " | (orphan)" : ""));
|
|
548
|
+
};
|
|
549
|
+
//#endregion
|
|
550
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/motion-bridge.js
|
|
551
|
+
var bridges = getOrCreate$3("motion-bridges", () => /* @__PURE__ */ new WeakMap());
|
|
552
|
+
function continueMotions(oldElement, newElement) {
|
|
553
|
+
bridges.set(newElement, oldElement);
|
|
554
|
+
rAF().then(() => {
|
|
555
|
+
if (bridges.get(newElement) === oldElement) bridges.delete(newElement);
|
|
556
|
+
});
|
|
557
|
+
}
|
|
558
|
+
function continuedFromElement(newElement) {
|
|
559
|
+
return bridges.get(newElement);
|
|
560
|
+
}
|
|
561
|
+
//#endregion
|
|
562
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/transition-context.js
|
|
563
|
+
var spriteContext = getOrCreate$3("transition-context", () => /* @__PURE__ */ new WeakMap());
|
|
564
|
+
function* runToCompletion(context, transition) {
|
|
565
|
+
yield* transition(context);
|
|
566
|
+
yield childrenSettled();
|
|
567
|
+
}
|
|
568
|
+
var TransitionContext = class {
|
|
569
|
+
static forSprite(sprite) {
|
|
570
|
+
return spriteContext.get(sprite);
|
|
571
|
+
}
|
|
572
|
+
_prepared = /* @__PURE__ */ new Set();
|
|
573
|
+
prepareSprite;
|
|
574
|
+
constructor(_duration, _insertedSprites, _keptSprites, _removedSprites, _sentSprites, _receivedSprites, _beacons, onMotionStart, onMotionEnd) {
|
|
575
|
+
this._duration = _duration;
|
|
576
|
+
this._insertedSprites = _insertedSprites;
|
|
577
|
+
this._keptSprites = _keptSprites;
|
|
578
|
+
this._removedSprites = _removedSprites;
|
|
579
|
+
this._sentSprites = _sentSprites;
|
|
580
|
+
this._receivedSprites = _receivedSprites;
|
|
581
|
+
this._beacons = _beacons;
|
|
582
|
+
this.onMotionStart = onMotionStart;
|
|
583
|
+
this.onMotionEnd = onMotionEnd;
|
|
584
|
+
}
|
|
585
|
+
get duration() {
|
|
586
|
+
return this._duration;
|
|
587
|
+
}
|
|
588
|
+
get insertedSprites() {
|
|
589
|
+
return this._prepareSprites(this._insertedSprites);
|
|
590
|
+
}
|
|
591
|
+
get keptSprites() {
|
|
592
|
+
return this._prepareSprites(this._keptSprites);
|
|
593
|
+
}
|
|
594
|
+
get removedSprites() {
|
|
595
|
+
return this._prepareSprites(this._removedSprites);
|
|
596
|
+
}
|
|
597
|
+
get sentSprites() {
|
|
598
|
+
return this._prepareSprites(this._sentSprites);
|
|
599
|
+
}
|
|
600
|
+
get receivedSprites() {
|
|
601
|
+
return this._prepareSprites(this._receivedSprites);
|
|
602
|
+
}
|
|
603
|
+
get beacons() {
|
|
604
|
+
return this._beacons;
|
|
605
|
+
}
|
|
606
|
+
_prepareSprites(sprites) {
|
|
607
|
+
sprites.forEach((sprite) => {
|
|
608
|
+
spriteContext.set(sprite, this);
|
|
609
|
+
});
|
|
610
|
+
if (!this.prepareSprite) return sprites;
|
|
611
|
+
return sprites.map((sprite) => {
|
|
612
|
+
if (!this._prepared.has(sprite)) {
|
|
613
|
+
this._prepared.add(sprite);
|
|
614
|
+
sprite = this.prepareSprite(sprite);
|
|
615
|
+
}
|
|
616
|
+
return sprite;
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
};
|
|
620
|
+
//#endregion
|
|
621
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/motion.js
|
|
622
|
+
var motions = getOrCreate$3("motion", () => /* @__PURE__ */ new WeakMap());
|
|
623
|
+
var Motion = class {
|
|
624
|
+
_motionList;
|
|
625
|
+
_inheritedMotionList;
|
|
626
|
+
constructor(sprite, opts = {}) {
|
|
627
|
+
this.sprite = sprite;
|
|
628
|
+
this.opts = opts;
|
|
629
|
+
this.sprite = sprite;
|
|
630
|
+
this.opts = opts;
|
|
631
|
+
this._setupMotionList();
|
|
632
|
+
}
|
|
633
|
+
get duration() {
|
|
634
|
+
if (this.opts.duration != null) return this.opts.duration;
|
|
635
|
+
return TransitionContext.forSprite(this.sprite).duration;
|
|
636
|
+
}
|
|
637
|
+
run() {
|
|
638
|
+
let context = TransitionContext.forSprite(this.sprite);
|
|
639
|
+
let self = this;
|
|
640
|
+
return spawnChild(function* () {
|
|
641
|
+
context.onMotionStart(self.sprite);
|
|
642
|
+
try {
|
|
643
|
+
yield* self._run();
|
|
644
|
+
} finally {
|
|
645
|
+
context.onMotionEnd(self.sprite);
|
|
646
|
+
}
|
|
647
|
+
});
|
|
648
|
+
}
|
|
649
|
+
interrupted(_otherMotions) {}
|
|
650
|
+
*animate() {}
|
|
651
|
+
*_run() {
|
|
652
|
+
try {
|
|
653
|
+
let others = this._motionList.filter((m) => m !== this);
|
|
654
|
+
if (this._inheritedMotionList) others = others.concat(this._inheritedMotionList);
|
|
655
|
+
if (others.length > 0) this.interrupted(others);
|
|
656
|
+
yield* this.animate();
|
|
657
|
+
} finally {
|
|
658
|
+
rAF().then(() => this._clearMotionList());
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
_setupMotionList() {
|
|
662
|
+
let element = this.sprite.element;
|
|
663
|
+
let motionList = motions.get(element);
|
|
664
|
+
if (!motionList) motions.set(element, motionList = []);
|
|
665
|
+
this._motionList = motionList;
|
|
666
|
+
microwait().then(() => {
|
|
667
|
+
if (this._motionList) this._motionList.unshift(this);
|
|
668
|
+
});
|
|
669
|
+
let oldElement = continuedFromElement(element);
|
|
670
|
+
if (oldElement) {
|
|
671
|
+
let inheritedMotions = motions.get(oldElement);
|
|
672
|
+
if (inheritedMotions) this._inheritedMotionList = inheritedMotions;
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
_clearMotionList() {
|
|
676
|
+
if (this._motionList) {
|
|
677
|
+
let index = this._motionList.indexOf(this);
|
|
678
|
+
this._motionList.splice(index, 1);
|
|
679
|
+
if (this._motionList.length === 0) motions.delete(this.sprite.element);
|
|
680
|
+
this._motionList = void 0;
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
};
|
|
684
|
+
//#endregion
|
|
685
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/easings/cosine.js
|
|
686
|
+
var cosine_exports = /* @__PURE__ */ __exportAll({
|
|
687
|
+
easeIn: () => easeIn,
|
|
688
|
+
easeInAndOut: () => easeInAndOut,
|
|
689
|
+
easeOut: () => easeOut
|
|
690
|
+
});
|
|
691
|
+
function easeInAndOut(t) {
|
|
692
|
+
return .5 - Math.cos(t * Math.PI) / 2;
|
|
693
|
+
}
|
|
694
|
+
var adjust = 1 / 2 + 1 / Math.PI;
|
|
695
|
+
var cutover = 1 / (2 * adjust);
|
|
696
|
+
var b = (2 - Math.PI) / 4;
|
|
697
|
+
var m = Math.PI / 2 * adjust;
|
|
698
|
+
function easeIn(t) {
|
|
699
|
+
if (t < cutover) return easeInAndOut(t * adjust);
|
|
700
|
+
else return m * t + b;
|
|
701
|
+
}
|
|
702
|
+
function easeOut(t) {
|
|
703
|
+
return 1 - easeIn(1 - t);
|
|
704
|
+
}
|
|
705
|
+
//#endregion
|
|
706
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/tween.js
|
|
707
|
+
var currentCurves = getOrCreate$3("tween", () => []);
|
|
708
|
+
var Tween = class {
|
|
709
|
+
curve;
|
|
710
|
+
diff;
|
|
711
|
+
constructor(initialValue, finalValue, duration, easing = easeInAndOut) {
|
|
712
|
+
this.initialValue = initialValue;
|
|
713
|
+
this.finalValue = finalValue;
|
|
714
|
+
if (typeof easing !== "function") throw new Error("Tried to make a Tween with an invalid easing function");
|
|
715
|
+
this.curve = MotionCurve.findOrCreate(duration, easing);
|
|
716
|
+
this.diff = finalValue - initialValue;
|
|
717
|
+
}
|
|
718
|
+
get currentValue() {
|
|
719
|
+
return this.initialValue + this.diff * this.curve.spaceProgress;
|
|
720
|
+
}
|
|
721
|
+
get done() {
|
|
722
|
+
return this.curve.done;
|
|
723
|
+
}
|
|
724
|
+
plus(otherTween) {
|
|
725
|
+
return new DerivedTween([this, otherTween], (a, b) => a.currentValue + b.currentValue);
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
var DerivedTween = class {
|
|
729
|
+
_finalValue = null;
|
|
730
|
+
inputs;
|
|
731
|
+
constructor(inputs, combinator) {
|
|
732
|
+
this.combinator = combinator;
|
|
733
|
+
this._finalValue = null;
|
|
734
|
+
this.inputs = inputs.map((t) => {
|
|
735
|
+
if (t.done) return new Tween(t.currentValue, t.currentValue, 0);
|
|
736
|
+
else return t;
|
|
737
|
+
});
|
|
738
|
+
}
|
|
739
|
+
get finalValue() {
|
|
740
|
+
if (this._finalValue == null) {
|
|
741
|
+
let accum = 0;
|
|
742
|
+
for (const input of this.inputs) accum += input.finalValue;
|
|
743
|
+
this._finalValue = accum;
|
|
744
|
+
}
|
|
745
|
+
return this._finalValue;
|
|
746
|
+
}
|
|
747
|
+
get currentValue() {
|
|
748
|
+
return this.combinator(...this.inputs);
|
|
749
|
+
}
|
|
750
|
+
get done() {
|
|
751
|
+
return !this.inputs.find((t) => !t.done);
|
|
752
|
+
}
|
|
753
|
+
};
|
|
754
|
+
var MotionCurve = class {
|
|
755
|
+
static findOrCreate(duration, easing) {
|
|
756
|
+
let shared = currentCurves.find((c) => c.duration === duration && c.easing === easing);
|
|
757
|
+
if (shared) return shared;
|
|
758
|
+
let created = new this(duration, easing);
|
|
759
|
+
currentCurves.push(created);
|
|
760
|
+
rAF().then(() => {
|
|
761
|
+
currentCurves.splice(currentCurves.indexOf(created), 1);
|
|
762
|
+
});
|
|
763
|
+
return created;
|
|
764
|
+
}
|
|
765
|
+
startTime;
|
|
766
|
+
_doneFrames = 0;
|
|
767
|
+
_lastTick;
|
|
768
|
+
_runTime;
|
|
769
|
+
_timeProgress;
|
|
770
|
+
_spaceProgress;
|
|
771
|
+
constructor(duration, easing) {
|
|
772
|
+
this.duration = duration;
|
|
773
|
+
this.easing = easing;
|
|
774
|
+
this.startTime = clock.now();
|
|
775
|
+
this._tick();
|
|
776
|
+
}
|
|
777
|
+
_tick() {
|
|
778
|
+
if (this._lastTick !== frameState.currentFrameClock) {
|
|
779
|
+
this._lastTick = frameState.currentFrameClock;
|
|
780
|
+
this._runTime = clock.now() - this.startTime;
|
|
781
|
+
this._timeProgress = this.duration === 0 ? 1 : Math.min(this._runTime / this.duration, 1);
|
|
782
|
+
this._spaceProgress = this.easing(this._timeProgress);
|
|
783
|
+
if (this._timeProgress >= 1) this._doneFrames++;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
get runTime() {
|
|
787
|
+
this._tick();
|
|
788
|
+
return this._runTime;
|
|
789
|
+
}
|
|
790
|
+
get timeProgress() {
|
|
791
|
+
this._tick();
|
|
792
|
+
return this._timeProgress;
|
|
793
|
+
}
|
|
794
|
+
get spaceProgress() {
|
|
795
|
+
this._tick();
|
|
796
|
+
return this._spaceProgress;
|
|
797
|
+
}
|
|
798
|
+
get done() {
|
|
799
|
+
this._tick();
|
|
800
|
+
return this._doneFrames > 1;
|
|
801
|
+
}
|
|
802
|
+
};
|
|
803
|
+
//#endregion
|
|
804
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/ember-internals.js
|
|
805
|
+
var getViewBounds = getViewBounds$1;
|
|
806
|
+
function componentNodes(view) {
|
|
807
|
+
let bounds = getViewBounds(view);
|
|
808
|
+
return {
|
|
809
|
+
firstNode: bounds.firstNode,
|
|
810
|
+
lastNode: bounds.lastNode
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
function keyForArray(keyPath) {
|
|
814
|
+
switch (keyPath) {
|
|
815
|
+
case "@index": return index;
|
|
816
|
+
case "@identity":
|
|
817
|
+
case void 0:
|
|
818
|
+
case null: return identity$1;
|
|
819
|
+
default: return (item) => get(item, keyPath);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
function index(_item, index) {
|
|
823
|
+
return String(index);
|
|
824
|
+
}
|
|
825
|
+
function identity$1(item) {
|
|
826
|
+
switch (typeof item) {
|
|
827
|
+
case "string":
|
|
828
|
+
case "number": return String(item);
|
|
829
|
+
default: return guidFor(item);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
__name(identity$1, "identity");
|
|
833
|
+
//#endregion
|
|
834
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/transform.js
|
|
835
|
+
var Transform = class Transform {
|
|
836
|
+
constructor(a, b, c, d, tx, ty) {
|
|
837
|
+
this.a = a;
|
|
838
|
+
this.b = b;
|
|
839
|
+
this.c = c;
|
|
840
|
+
this.d = d;
|
|
841
|
+
this.tx = tx;
|
|
842
|
+
this.ty = ty;
|
|
843
|
+
}
|
|
844
|
+
serialize() {
|
|
845
|
+
return `matrix(${this.a}, ${this.b}, ${this.c}, ${this.d}, ${this.tx}, ${this.ty})`;
|
|
846
|
+
}
|
|
847
|
+
isIdentity() {
|
|
848
|
+
return this === identity || this.a === 1 && this.b === 0 && this.c === 0 && this.d === 1 && this.tx === 0 && this.ty === 0;
|
|
849
|
+
}
|
|
850
|
+
mult(other) {
|
|
851
|
+
if (this === identity) return other;
|
|
852
|
+
if (other === identity) return this;
|
|
853
|
+
return new Transform(this.a * other.a + this.c * other.b, this.b * other.a + this.d * other.b, this.a * other.c + this.c * other.d, this.b * other.c + this.d * other.d, this.a * other.tx + this.c * other.ty + this.tx, this.b * other.tx + this.d * other.ty + this.ty);
|
|
854
|
+
}
|
|
855
|
+
};
|
|
856
|
+
var identity = new Transform(1, 0, 0, 1, 0, 0);
|
|
857
|
+
var matrixPattern = /matrix\((.*)\)/;
|
|
858
|
+
function parseTransform(matrixString) {
|
|
859
|
+
const match = matrixPattern.exec(matrixString);
|
|
860
|
+
if (!match || !match[1]) return identity;
|
|
861
|
+
const [a, b, c, d, tx, ty] = match[1].split(",").map(parseFloat);
|
|
862
|
+
return new Transform(a, b, c, d, tx, ty);
|
|
863
|
+
}
|
|
864
|
+
function parseOrigin(originString) {
|
|
865
|
+
return originString.split(" ").map(parseFloat);
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
Returns a Transform instance representing the cumulative CSS
|
|
869
|
+
transform of this element and all its ancestors.
|
|
870
|
+
|
|
871
|
+
@function cumulativeTransform
|
|
872
|
+
@hide
|
|
873
|
+
@param {HTMLElement} elt
|
|
874
|
+
@return {Transform}
|
|
875
|
+
*/
|
|
876
|
+
function cumulativeTransform(elt) {
|
|
877
|
+
let accumulator = null;
|
|
878
|
+
let current = elt;
|
|
879
|
+
while (current && current.nodeType === 1) {
|
|
880
|
+
let transform = ownTransform(current);
|
|
881
|
+
if (transform !== identity && !transform.isIdentity()) if (accumulator) accumulator = transform.mult(accumulator);
|
|
882
|
+
else accumulator = transform;
|
|
883
|
+
current = current.parentElement;
|
|
884
|
+
}
|
|
885
|
+
return accumulator || identity;
|
|
886
|
+
}
|
|
887
|
+
/**
|
|
888
|
+
Returns a Transform instance representing the CSS transform of this
|
|
889
|
+
element.
|
|
890
|
+
|
|
891
|
+
* @function ownTransform
|
|
892
|
+
* @param {HTMLElement} elt
|
|
893
|
+
* @return {Transform} instance representing this element's css transform property.
|
|
894
|
+
*/
|
|
895
|
+
function ownTransform(elt) {
|
|
896
|
+
let eltStyles = window.getComputedStyle(elt);
|
|
897
|
+
let t = eltStyles.transform !== "" ? eltStyles.transform : elt.style.transform;
|
|
898
|
+
if (t === "none") return identity;
|
|
899
|
+
let matrix = parseTransform(t);
|
|
900
|
+
if (matrix.a !== 1 || matrix.b !== 0 || matrix.c !== 0 || matrix.d !== 1) {
|
|
901
|
+
let [originX, originY] = parseOrigin(eltStyles.getPropertyValue("transform-origin") !== "" ? eltStyles.getPropertyValue("transform-origin") : elt.style.getPropertyValue("transform-origin"));
|
|
902
|
+
if (originX === 0 && originY === 0) return matrix;
|
|
903
|
+
return new Transform(1, 0, 0, 1, originX, originY).mult(matrix).mult(new Transform(1, 0, 0, 1, -originX, -originY));
|
|
904
|
+
} else return matrix;
|
|
905
|
+
}
|
|
906
|
+
//#endregion
|
|
907
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/margin-collapse.js
|
|
908
|
+
function collapsedChildren(element, cs, which, children = []) {
|
|
909
|
+
if (isBlock(cs) && cs.getPropertyValue(`border-${which}-width`) === "0px" && cs.getPropertyValue(`padding-${which}`) === "0px") {
|
|
910
|
+
let block;
|
|
911
|
+
if (which === "top") block = firstChildBlock(element);
|
|
912
|
+
else block = lastChildBlock(element);
|
|
913
|
+
if (block) {
|
|
914
|
+
let [child, childCS] = block;
|
|
915
|
+
children.push(child);
|
|
916
|
+
collapsedChildren(child, childCS, which, children);
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
return children;
|
|
920
|
+
}
|
|
921
|
+
function firstChildBlock(element) {
|
|
922
|
+
for (let i = 0; i < element.children.length; i++) {
|
|
923
|
+
let child = element.children[i];
|
|
924
|
+
let childCS = getComputedStyle(child);
|
|
925
|
+
if (childCS.clear !== "none") return;
|
|
926
|
+
if (isBlock(childCS)) return [child, childCS];
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
function lastChildBlock(element) {
|
|
930
|
+
for (let i = element.children.length - 1; i >= 0; i--) {
|
|
931
|
+
let child = element.children[i];
|
|
932
|
+
let childCS = getComputedStyle(child);
|
|
933
|
+
if (childCS.clear !== "none") return;
|
|
934
|
+
if (isBlock(childCS)) return [child, childCS];
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
function isBlock(cs) {
|
|
938
|
+
return cs.display === "block" && (cs.position === "static" || cs.position === "relative") && cs.getPropertyValue("float") === "none" && cs.overflow === "visible";
|
|
939
|
+
}
|
|
940
|
+
//#endregion
|
|
941
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/bounds.js
|
|
942
|
+
function nonEnumerable(target, propertyKey) {
|
|
943
|
+
let descriptor = Object.getOwnPropertyDescriptor(target, propertyKey) || {};
|
|
944
|
+
if (descriptor.enumerable != false) {
|
|
945
|
+
descriptor.enumerable = false;
|
|
946
|
+
Object.defineProperty(target, propertyKey, descriptor);
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
var DOMRectPolyfill = class {
|
|
950
|
+
static fromRect(rect = {}) {
|
|
951
|
+
return new DOMRect(rect.x ?? 0, rect.y ?? 0, rect.width ?? 0, rect.height ?? 0);
|
|
952
|
+
}
|
|
953
|
+
constructor(x, y, width, height) {
|
|
954
|
+
if (x != null) this.x = x;
|
|
955
|
+
if (y != null) this.y = y;
|
|
956
|
+
if (width != null) this.width = width;
|
|
957
|
+
if (height != null) this.height = height;
|
|
958
|
+
}
|
|
959
|
+
static {
|
|
960
|
+
decorateFieldV2(this.prototype, "x", [nonEnumerable], function() {
|
|
961
|
+
return 0;
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
#x = (initializeDeferredDecorator(this, "x"), void 0);
|
|
965
|
+
static {
|
|
966
|
+
decorateFieldV2(this.prototype, "y", [nonEnumerable], function() {
|
|
967
|
+
return 0;
|
|
968
|
+
});
|
|
969
|
+
}
|
|
970
|
+
#y = (initializeDeferredDecorator(this, "y"), void 0);
|
|
971
|
+
static {
|
|
972
|
+
decorateFieldV2(this.prototype, "width", [nonEnumerable], function() {
|
|
973
|
+
return 0;
|
|
974
|
+
});
|
|
975
|
+
}
|
|
976
|
+
#width = (initializeDeferredDecorator(this, "width"), void 0);
|
|
977
|
+
static {
|
|
978
|
+
decorateFieldV2(this.prototype, "height", [nonEnumerable], function() {
|
|
979
|
+
return 0;
|
|
980
|
+
});
|
|
981
|
+
}
|
|
982
|
+
#height = (initializeDeferredDecorator(this, "height"), void 0);
|
|
983
|
+
get top() {
|
|
984
|
+
return this.y;
|
|
985
|
+
}
|
|
986
|
+
get right() {
|
|
987
|
+
return this.x + this.width;
|
|
988
|
+
}
|
|
989
|
+
get bottom() {
|
|
990
|
+
return this.y + this.height;
|
|
991
|
+
}
|
|
992
|
+
get left() {
|
|
993
|
+
return this.x;
|
|
994
|
+
}
|
|
995
|
+
toJSON() {
|
|
996
|
+
return {
|
|
997
|
+
x: this.x,
|
|
998
|
+
y: this.y,
|
|
999
|
+
width: this.width,
|
|
1000
|
+
height: this.height,
|
|
1001
|
+
top: this.top,
|
|
1002
|
+
right: this.right,
|
|
1003
|
+
bottom: this.bottom,
|
|
1004
|
+
left: this.left
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
1007
|
+
};
|
|
1008
|
+
if (typeof window !== "undefined" && !window.DOMRect) window.DOMRect = DOMRectPolyfill;
|
|
1009
|
+
/**
|
|
1010
|
+
Shifts the coordinates of the given bounds using the provided
|
|
1011
|
+
x and y axis offset.
|
|
1012
|
+
|
|
1013
|
+
@private
|
|
1014
|
+
@function shiftedBounds
|
|
1015
|
+
@hide
|
|
1016
|
+
@param {Object} bounds The original bounds.
|
|
1017
|
+
@param {number} dx X axis offset.
|
|
1018
|
+
@param {number} dy Y axis offset.
|
|
1019
|
+
@return {Object} The newly calculated bounds.
|
|
1020
|
+
*/
|
|
1021
|
+
function shiftedBounds(bounds, dx, dy) {
|
|
1022
|
+
return new DOMRect(bounds.x + dx, bounds.y + dy, bounds.width, bounds.height);
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
Resizes the coordinates of the given bounds using the provided
|
|
1026
|
+
width and height.
|
|
1027
|
+
|
|
1028
|
+
@private
|
|
1029
|
+
@function resizedBounds
|
|
1030
|
+
@hide
|
|
1031
|
+
@param {Object} bounds The original bounds.
|
|
1032
|
+
@param {number} width The target width.
|
|
1033
|
+
@param {number} height The target height.
|
|
1034
|
+
@return {Object} The newly calculated bounds.
|
|
1035
|
+
*/
|
|
1036
|
+
function resizedBounds(bounds, width, height) {
|
|
1037
|
+
return new DOMRect(bounds.x, bounds.y, width, height);
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
Shifts the coordinates of the given bounds so they are relative to
|
|
1041
|
+
the offset.
|
|
1042
|
+
|
|
1043
|
+
@private
|
|
1044
|
+
@function relativeBounds
|
|
1045
|
+
@hide
|
|
1046
|
+
@param {Object} bounds The original bounds.
|
|
1047
|
+
@param {Object} offset The offset.
|
|
1048
|
+
@return {Object} The newly calculated bounds.
|
|
1049
|
+
*/
|
|
1050
|
+
function relativeBounds(bounds, offset) {
|
|
1051
|
+
return shiftedBounds(bounds, -offset.left, -offset.top);
|
|
1052
|
+
}
|
|
1053
|
+
/**
|
|
1054
|
+
An empty bounds object.
|
|
1055
|
+
|
|
1056
|
+
@private
|
|
1057
|
+
@hide
|
|
1058
|
+
@constant {Object} emptyBounds
|
|
1059
|
+
*/
|
|
1060
|
+
var emptyBounds = Object.freeze(new DOMRect(0, 0, 0, 0));
|
|
1061
|
+
//#endregion
|
|
1062
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/sprite.js
|
|
1063
|
+
var inFlight = getOrCreate$3("sprite", () => /* @__PURE__ */ new WeakMap());
|
|
1064
|
+
/**
|
|
1065
|
+
A Sprite is our handle to a DOM element that we want to animate.
|
|
1066
|
+
|
|
1067
|
+
It manages locking and unlocking the element (which means taking it
|
|
1068
|
+
in and out of static document flow so it's readily animatable).
|
|
1069
|
+
|
|
1070
|
+
It tracks the sprite's current transform.
|
|
1071
|
+
|
|
1072
|
+
It tracks the sprite's initial and/or final bounds, as measured
|
|
1073
|
+
from the actual pre- and/or post-animation DOM.
|
|
1074
|
+
|
|
1075
|
+
@class Sprite
|
|
1076
|
+
*/
|
|
1077
|
+
var Sprite = class {
|
|
1078
|
+
static offsetParentStartingAt(element) {
|
|
1079
|
+
let parent = getEffectiveOffsetParent(element);
|
|
1080
|
+
if (!parent) parent = document.getElementsByTagName("body")[0];
|
|
1081
|
+
return new this(parent, true, null, null);
|
|
1082
|
+
}
|
|
1083
|
+
static offsetParentEndingAt(element) {
|
|
1084
|
+
let parent = getEffectiveOffsetParent(element);
|
|
1085
|
+
if (!parent) parent = document.getElementsByTagName("body")[0];
|
|
1086
|
+
return new this(parent, false, null, null);
|
|
1087
|
+
}
|
|
1088
|
+
static positionedStartingAt(element, offsetSprite) {
|
|
1089
|
+
if (!offsetSprite.initialBounds) throw new Error("offset sprite must have initial bounds");
|
|
1090
|
+
return new this(element, true, "position", offsetSprite);
|
|
1091
|
+
}
|
|
1092
|
+
static positionedEndingAt(element, offsetSprite) {
|
|
1093
|
+
if (!offsetSprite.finalBounds) throw new Error("offset sprite must have final bounds");
|
|
1094
|
+
return new this(element, false, "position", offsetSprite);
|
|
1095
|
+
}
|
|
1096
|
+
static sizedStartingAt(element) {
|
|
1097
|
+
return new this(element, true, "size", null);
|
|
1098
|
+
}
|
|
1099
|
+
static sizedEndingAt(element) {
|
|
1100
|
+
let sprite = new this(element, false, "size", null);
|
|
1101
|
+
sprite._initialBounds = emptyBounds;
|
|
1102
|
+
sprite._initialComputedStyle = sprite._finalComputedStyle;
|
|
1103
|
+
sprite._initialPosition = sprite._finalPosition;
|
|
1104
|
+
sprite._originalInitialBounds = sprite._initialBounds;
|
|
1105
|
+
sprite._initialCumulativeTransform = sprite._finalCumulativeTransform;
|
|
1106
|
+
return sprite;
|
|
1107
|
+
}
|
|
1108
|
+
__element;
|
|
1109
|
+
owner = null;
|
|
1110
|
+
_transform = null;
|
|
1111
|
+
_cumulativeTransform = null;
|
|
1112
|
+
_offsetSprite;
|
|
1113
|
+
_lockedToInitialPosition;
|
|
1114
|
+
_finalComputedStyle = null;
|
|
1115
|
+
_finalBounds = null;
|
|
1116
|
+
_originalFinalBounds = null;
|
|
1117
|
+
_finalPosition = null;
|
|
1118
|
+
_finalCumulativeTransform = null;
|
|
1119
|
+
_initialComputedStyle = null;
|
|
1120
|
+
_initialBounds = null;
|
|
1121
|
+
_originalInitialBounds = null;
|
|
1122
|
+
_initialPosition = null;
|
|
1123
|
+
_initialCumulativeTransform = null;
|
|
1124
|
+
_revealed;
|
|
1125
|
+
_imposedStyle = null;
|
|
1126
|
+
_styleCache = null;
|
|
1127
|
+
_collapsingChildren = null;
|
|
1128
|
+
_lockMode;
|
|
1129
|
+
_inInitialPosition = false;
|
|
1130
|
+
constructor(element, inInitialPosition, lockMode, offsetSprite) {
|
|
1131
|
+
this.element = element;
|
|
1132
|
+
this._offsetSprite = offsetSprite;
|
|
1133
|
+
this._lockedToInitialPosition = inInitialPosition;
|
|
1134
|
+
if (inInitialPosition) this.measureInitialBounds();
|
|
1135
|
+
else this.measureFinalBounds();
|
|
1136
|
+
let predecessor = inFlight.get(element);
|
|
1137
|
+
if (predecessor && lockMode) {
|
|
1138
|
+
this._styleCache = predecessor._styleCache;
|
|
1139
|
+
this._revealed = predecessor._revealed;
|
|
1140
|
+
this._imposedStyle = predecessor._imposedStyle;
|
|
1141
|
+
this._collapsingChildren = predecessor._collapsingChildren;
|
|
1142
|
+
this._lockMode = predecessor._lockMode;
|
|
1143
|
+
if (lockMode !== predecessor._lockMode) throw new Error(`probable bug in ember-animated: can't change lock mode from ${predecessor._lockMode} to ${lockMode}`);
|
|
1144
|
+
} else {
|
|
1145
|
+
this._styleCache = null;
|
|
1146
|
+
this._revealed = null;
|
|
1147
|
+
this._lockMode = lockMode;
|
|
1148
|
+
if (lockMode === "position") {
|
|
1149
|
+
this._rememberPosition();
|
|
1150
|
+
this._cacheOriginalStyles();
|
|
1151
|
+
} else if (this._lockMode === "size") {
|
|
1152
|
+
this._rememberSize();
|
|
1153
|
+
this._cacheOriginalStyles();
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
if (macroCondition(isTesting())) Object.seal(this);
|
|
1157
|
+
}
|
|
1158
|
+
/**
|
|
1159
|
+
A DOMRect representing the place where this sprite will start the
|
|
1160
|
+
transition.
|
|
1161
|
+
```js
|
|
1162
|
+
sprite.initialBounds;
|
|
1163
|
+
// { top: 0, bottom: 230, left: 0, right: 256, width: 256 }
|
|
1164
|
+
```
|
|
1165
|
+
Not every sprite has initialBounds (a newly inserted
|
|
1166
|
+
sprite will not -- it will only have finalBounds).
|
|
1167
|
+
The position is measured *relative* to our offsetParent, if we
|
|
1168
|
+
have one. Most of the time we want motions to act in relative
|
|
1169
|
+
terms, so that if we're inside another animator things still work
|
|
1170
|
+
out correctly.
|
|
1171
|
+
You can manipulate initialBounds using methods like startAtPixel.
|
|
1172
|
+
Motions should look at initialBounds and finalBounds to decide
|
|
1173
|
+
what to do.
|
|
1174
|
+
@accessor initialBounds
|
|
1175
|
+
@type {DOMRect}
|
|
1176
|
+
*/
|
|
1177
|
+
get initialBounds() {
|
|
1178
|
+
return this._initialBounds;
|
|
1179
|
+
}
|
|
1180
|
+
/**
|
|
1181
|
+
Like initialBounds, but relative to the screen, not the offset
|
|
1182
|
+
parent. Most of the time you *don't* want this one, because your
|
|
1183
|
+
motion will be more robust to ancestor motion if you do
|
|
1184
|
+
everything in relative terms.
|
|
1185
|
+
@accessor absoluteInitialBounds
|
|
1186
|
+
@type {DOMRect}
|
|
1187
|
+
*/
|
|
1188
|
+
get absoluteInitialBounds() {
|
|
1189
|
+
if (this._offsetSprite) return shiftedBounds(this._initialBounds, this._offsetSprite.initialBounds.left, this._offsetSprite.initialBounds.top);
|
|
1190
|
+
else return this._initialBounds;
|
|
1191
|
+
}
|
|
1192
|
+
/**
|
|
1193
|
+
A DOMRect representing the place where this sprite will end the
|
|
1194
|
+
transition. Not every sprite has finalBounds (a sprite that is
|
|
1195
|
+
about to be destroyed will not -- it will only have
|
|
1196
|
+
initialBounds).
|
|
1197
|
+
The position is measured *relative* to our offsetParent, if we
|
|
1198
|
+
have one. Most of the time we want motions to act in relative
|
|
1199
|
+
terms, so that if we're inside another animator things still work
|
|
1200
|
+
out correctly.
|
|
1201
|
+
You can manipulate finalBounds using methods like endAtPixel.
|
|
1202
|
+
@accessor finalBounds
|
|
1203
|
+
@type {DOMRect}
|
|
1204
|
+
*/
|
|
1205
|
+
get finalBounds() {
|
|
1206
|
+
return this._finalBounds;
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
Like initialBounds, but relative to the screen, not the offset
|
|
1210
|
+
parent. Most of the time you *don't* want this one, because your
|
|
1211
|
+
motion will be more robust to ancestor motion if you do
|
|
1212
|
+
everything in relative terms.
|
|
1213
|
+
@accessor absoluteFinalBounds
|
|
1214
|
+
@type {DOMRect}
|
|
1215
|
+
*/
|
|
1216
|
+
get absoluteFinalBounds() {
|
|
1217
|
+
if (this._offsetSprite) return shiftedBounds(this._finalBounds, this._offsetSprite.finalBounds.left, this._offsetSprite.finalBounds.top);
|
|
1218
|
+
else return this._finalBounds;
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
A snapshot of the sprite's computed style at the start of the
|
|
1222
|
+
transition. We don't copy every possible property, see
|
|
1223
|
+
CopiedCSS.
|
|
1224
|
+
This is powered by getComputedStyle, so the property names and
|
|
1225
|
+
values will follow those semantics.
|
|
1226
|
+
Not every sprite will have an initialComputedStyle
|
|
1227
|
+
(`insertedSprites` do not).
|
|
1228
|
+
@accessor initialComputedStyle
|
|
1229
|
+
@type {CSSStyleDeclaration}
|
|
1230
|
+
*/
|
|
1231
|
+
get initialComputedStyle() {
|
|
1232
|
+
return this._initialComputedStyle;
|
|
1233
|
+
}
|
|
1234
|
+
/**
|
|
1235
|
+
A snapshot of the sprite's computed style at the end of the
|
|
1236
|
+
transition. We don't copy every possible property, see
|
|
1237
|
+
CopiedCSS.
|
|
1238
|
+
This is powered by getComputedStyle, so the property names and
|
|
1239
|
+
values will follow those semantics.
|
|
1240
|
+
Not every sprite will have a finalComputedStyle
|
|
1241
|
+
(`removedSprites` do not).
|
|
1242
|
+
@accessor finalComputedStyle
|
|
1243
|
+
@type {CSSStyleDeclaration}
|
|
1244
|
+
*/
|
|
1245
|
+
get finalComputedStyle() {
|
|
1246
|
+
return this._finalComputedStyle;
|
|
1247
|
+
}
|
|
1248
|
+
/**
|
|
1249
|
+
Returns the attribute value from the initial position object with the
|
|
1250
|
+
given `name`.
|
|
1251
|
+
_This is mostly intended for use with SVG, where you can say things
|
|
1252
|
+
like `getInitialDimension('x')`._
|
|
1253
|
+
@method getInitialDimension
|
|
1254
|
+
@param {string} name The desired attribute name.
|
|
1255
|
+
@return {number|string}
|
|
1256
|
+
*/
|
|
1257
|
+
getInitialDimension(name) {
|
|
1258
|
+
return this._initialPosition[name];
|
|
1259
|
+
}
|
|
1260
|
+
/**
|
|
1261
|
+
Returns the attribute value from the final position object with the
|
|
1262
|
+
given `name`.
|
|
1263
|
+
_This is mostly intended for use with SVG, where you can say things
|
|
1264
|
+
like `getFinalDimension('x')`._
|
|
1265
|
+
@method getFinalDimension
|
|
1266
|
+
@param {string} name The desired attribute name.
|
|
1267
|
+
@return {number|string}
|
|
1268
|
+
*/
|
|
1269
|
+
getFinalDimension(name) {
|
|
1270
|
+
return this._finalPosition[name];
|
|
1271
|
+
}
|
|
1272
|
+
/**
|
|
1273
|
+
Analogous to initialBounds, this is a snapshot of the cumulative
|
|
1274
|
+
effect of all transforms on this sprite at the start of
|
|
1275
|
+
animation.
|
|
1276
|
+
@method initialCumulativeTransform
|
|
1277
|
+
@return {Transform}
|
|
1278
|
+
*/
|
|
1279
|
+
get initialCumulativeTransform() {
|
|
1280
|
+
return this._initialCumulativeTransform;
|
|
1281
|
+
}
|
|
1282
|
+
/**
|
|
1283
|
+
Analogous to finalBounds, this is a snapshot of the cumulative
|
|
1284
|
+
effect of all transforms on this sprite at the end of animation.
|
|
1285
|
+
@method finalCumulativeTransform
|
|
1286
|
+
@return {Transform}
|
|
1287
|
+
*/
|
|
1288
|
+
get finalCumulativeTransform() {
|
|
1289
|
+
return this._finalCumulativeTransform;
|
|
1290
|
+
}
|
|
1291
|
+
/**
|
|
1292
|
+
Some things methods (like startAtSprite, startAtPixel, etc) can
|
|
1293
|
+
set or alter the initialBounds. This gives you access to the
|
|
1294
|
+
original value (which may be undefined if this sprite didn't have
|
|
1295
|
+
any initial bounds, which is the case for newly inserted
|
|
1296
|
+
sprites).
|
|
1297
|
+
@method originalInitialBounds
|
|
1298
|
+
@return {DOMRect}
|
|
1299
|
+
*/
|
|
1300
|
+
get originalInitialBounds() {
|
|
1301
|
+
return this._originalInitialBounds;
|
|
1302
|
+
}
|
|
1303
|
+
/**
|
|
1304
|
+
Some things (like endAtSprite) can alter the finalBounds. This
|
|
1305
|
+
gives you access to the original value (which may be undefined if
|
|
1306
|
+
the sprite didn't have any final bounds, which is the case for
|
|
1307
|
+
removedSprites).
|
|
1308
|
+
@method originalFinalBounds
|
|
1309
|
+
@return {DOMRect}
|
|
1310
|
+
*/
|
|
1311
|
+
get originalFinalBounds() {
|
|
1312
|
+
return this._originalFinalBounds;
|
|
1313
|
+
}
|
|
1314
|
+
getCurrentBounds() {
|
|
1315
|
+
if (this._offsetSprite) return relativeBounds(this.element.getBoundingClientRect(), this._offsetSprite.getCurrentBounds());
|
|
1316
|
+
else return this.element.getBoundingClientRect();
|
|
1317
|
+
}
|
|
1318
|
+
/**
|
|
1319
|
+
Returns the current position of the element as an object.
|
|
1320
|
+
_This deliberately only tracks inline styles, because it's only
|
|
1321
|
+
important when the user is manipulating inline styles._
|
|
1322
|
+
@private
|
|
1323
|
+
@hide
|
|
1324
|
+
@method _getCurrentPosition
|
|
1325
|
+
@return {Object}
|
|
1326
|
+
*/
|
|
1327
|
+
_getCurrentPosition() {
|
|
1328
|
+
let { element } = this;
|
|
1329
|
+
if (isSVG(element)) return {
|
|
1330
|
+
x: getSVGLength(element, "x"),
|
|
1331
|
+
y: getSVGLength(element, "y"),
|
|
1332
|
+
cx: getSVGLength(element, "cx"),
|
|
1333
|
+
cy: getSVGLength(element, "cy"),
|
|
1334
|
+
r: getSVGLength(element, "r"),
|
|
1335
|
+
width: getSVGLength(element, "width"),
|
|
1336
|
+
height: getSVGLength(element, "height"),
|
|
1337
|
+
transform: element.getAttribute("transform")
|
|
1338
|
+
};
|
|
1339
|
+
else {
|
|
1340
|
+
let style = this.element.style;
|
|
1341
|
+
return {
|
|
1342
|
+
top: style.top,
|
|
1343
|
+
left: style.left,
|
|
1344
|
+
bottom: style.bottom,
|
|
1345
|
+
right: style.right,
|
|
1346
|
+
transform: style.transform,
|
|
1347
|
+
classList: Array.from(this.element.classList)
|
|
1348
|
+
};
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
/**
|
|
1352
|
+
Sets the position of the element.
|
|
1353
|
+
@private
|
|
1354
|
+
@method _reapplyPosition
|
|
1355
|
+
@hide
|
|
1356
|
+
@param {Object} pos The position to apply.
|
|
1357
|
+
@return {void}
|
|
1358
|
+
*/
|
|
1359
|
+
_reapplyPosition(pos) {
|
|
1360
|
+
if (!pos) return;
|
|
1361
|
+
if (isSVG(this.element)) {
|
|
1362
|
+
let { element } = this;
|
|
1363
|
+
setSVGLength(element, "x", pos);
|
|
1364
|
+
setSVGLength(element, "y", pos);
|
|
1365
|
+
setSVGLength(element, "cx", pos);
|
|
1366
|
+
setSVGLength(element, "cy", pos);
|
|
1367
|
+
setSVGLength(element, "r", pos);
|
|
1368
|
+
setSVGLength(element, "width", pos);
|
|
1369
|
+
setSVGLength(element, "height", pos);
|
|
1370
|
+
setAttribute(element, "transform", pos);
|
|
1371
|
+
} else {
|
|
1372
|
+
let style = this.element.style;
|
|
1373
|
+
let p = pos;
|
|
1374
|
+
style.top = p.top ?? "";
|
|
1375
|
+
style.left = p.left ?? "";
|
|
1376
|
+
style.right = p.right ?? "";
|
|
1377
|
+
style.bottom = p.bottom ?? "";
|
|
1378
|
+
style.transform = p.transform ?? "";
|
|
1379
|
+
for (let cls of p.classList) this.element.classList.add(cls);
|
|
1380
|
+
for (let cls of Array.from(this.element.classList)) if (!p.classList.includes(cls)) this.element.classList.remove(cls);
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
measureInitialBounds() {
|
|
1384
|
+
if (this._initialBounds) throw new Error("Sprite already has initial bounds");
|
|
1385
|
+
this._inInitialPosition = true;
|
|
1386
|
+
if (this._offsetSprite) this._initialBounds = relativeBounds(this.element.getBoundingClientRect(), this._offsetSprite.initialBounds);
|
|
1387
|
+
else this._initialBounds = this.element.getBoundingClientRect();
|
|
1388
|
+
this._initialComputedStyle = copyComputedStyle(this.element);
|
|
1389
|
+
this._initialPosition = this._getCurrentPosition();
|
|
1390
|
+
this._originalInitialBounds = this._initialBounds;
|
|
1391
|
+
this._initialCumulativeTransform = cumulativeTransform(this.element);
|
|
1392
|
+
}
|
|
1393
|
+
assertHasInitialBounds() {
|
|
1394
|
+
if (!this._initialBounds) throw new Error(`sprite does not have initialBounds`);
|
|
1395
|
+
}
|
|
1396
|
+
assertHasOwner() {
|
|
1397
|
+
if (!this.owner) throw new Error(`sprite does not have owner`);
|
|
1398
|
+
}
|
|
1399
|
+
measureFinalBounds() {
|
|
1400
|
+
if (this._finalBounds) throw new Error("Sprite already has final bounds");
|
|
1401
|
+
this._inInitialPosition = false;
|
|
1402
|
+
if (this._offsetSprite) this._finalBounds = relativeBounds(this.element.getBoundingClientRect(), this._offsetSprite.finalBounds);
|
|
1403
|
+
else this._finalBounds = this.element.getBoundingClientRect();
|
|
1404
|
+
this._finalComputedStyle = copyComputedStyle(this.element);
|
|
1405
|
+
this._finalPosition = this._getCurrentPosition();
|
|
1406
|
+
this._originalFinalBounds = this._finalBounds;
|
|
1407
|
+
this._finalCumulativeTransform = cumulativeTransform(this.element);
|
|
1408
|
+
}
|
|
1409
|
+
assertHasFinalBounds() {
|
|
1410
|
+
if (!this._finalBounds) throw new Error(`sprite does not have finalBounds`);
|
|
1411
|
+
}
|
|
1412
|
+
/**
|
|
1413
|
+
Returns the difference between two sprites, represented as x and y
|
|
1414
|
+
coordinates.
|
|
1415
|
+
_`this.difference('initialBounds', other, 'finalBounds')` is
|
|
1416
|
+
interpreted as "the difference between this sprite's initial bounds
|
|
1417
|
+
and the other sprite's final bounds"._
|
|
1418
|
+
_It works this way because each sprite has its own local coordinate
|
|
1419
|
+
system._
|
|
1420
|
+
@method difference
|
|
1421
|
+
@param {string} which The current sprite's comparison attribute.
|
|
1422
|
+
@param {Sprite} otherSprite The other sprite.
|
|
1423
|
+
@param {string} otherWhich The other sprite's comparison attribute.
|
|
1424
|
+
@return {Object}
|
|
1425
|
+
*/
|
|
1426
|
+
difference(which, otherSprite, otherWhich) {
|
|
1427
|
+
let x = this[which].left;
|
|
1428
|
+
let y = this[which].top;
|
|
1429
|
+
if (this._offsetSprite) {
|
|
1430
|
+
x += this._offsetSprite[which].left;
|
|
1431
|
+
y += this._offsetSprite[which].top;
|
|
1432
|
+
}
|
|
1433
|
+
if (otherSprite._offsetSprite) {
|
|
1434
|
+
x -= otherSprite._offsetSprite[otherWhich].left;
|
|
1435
|
+
y -= otherSprite._offsetSprite[otherWhich].top;
|
|
1436
|
+
}
|
|
1437
|
+
return {
|
|
1438
|
+
dx: x - otherSprite[otherWhich].left,
|
|
1439
|
+
dy: y - otherSprite[otherWhich].top
|
|
1440
|
+
};
|
|
1441
|
+
}
|
|
1442
|
+
set element(value) {
|
|
1443
|
+
this.__element = value;
|
|
1444
|
+
}
|
|
1445
|
+
get element() {
|
|
1446
|
+
return this.__element;
|
|
1447
|
+
}
|
|
1448
|
+
/**
|
|
1449
|
+
Returns the sprite's current transform, with appropriate caching
|
|
1450
|
+
so that you don't trigger reflows.
|
|
1451
|
+
@accessor transform
|
|
1452
|
+
@type {Transform}
|
|
1453
|
+
*/
|
|
1454
|
+
get transform() {
|
|
1455
|
+
if (!this._transform) this._transform = ownTransform(this.element);
|
|
1456
|
+
return this._transform;
|
|
1457
|
+
}
|
|
1458
|
+
/**
|
|
1459
|
+
This is different from `this.transform` because it's the product
|
|
1460
|
+
of our own transform and all ancestor transforms. It's what you
|
|
1461
|
+
need if you want to understand how many real screen pixels there
|
|
1462
|
+
are to every local pixel in the sprite.
|
|
1463
|
+
@accessor cumulativeTransform
|
|
1464
|
+
@type {Object}
|
|
1465
|
+
*/
|
|
1466
|
+
get cumulativeTransform() {
|
|
1467
|
+
if (!this._cumulativeTransform) this._cumulativeTransform = cumulativeTransform(this.element);
|
|
1468
|
+
return this._cumulativeTransform;
|
|
1469
|
+
}
|
|
1470
|
+
/**
|
|
1471
|
+
Returns wether the sprite is revealed or not.
|
|
1472
|
+
@accessor revealed
|
|
1473
|
+
@type {boolean}
|
|
1474
|
+
*/
|
|
1475
|
+
get revealed() {
|
|
1476
|
+
if (this._revealed == null) this._revealed = !this.__element.classList.contains("ember-animated-hidden");
|
|
1477
|
+
return this._revealed;
|
|
1478
|
+
}
|
|
1479
|
+
_rememberSize() {
|
|
1480
|
+
let transform = this.initialCumulativeTransform || this.finalCumulativeTransform;
|
|
1481
|
+
let bounds = this.initialBounds || this.finalBounds;
|
|
1482
|
+
this._imposedStyle = {};
|
|
1483
|
+
if (isSVG(this.element)) return;
|
|
1484
|
+
if (this.element.style.width === "") {
|
|
1485
|
+
this._imposedStyle["width"] = `${bounds.width / transform.a}px`;
|
|
1486
|
+
this._imposedStyle["box-sizing"] = "border-box";
|
|
1487
|
+
}
|
|
1488
|
+
if (this.element.style.height === "") {
|
|
1489
|
+
this._imposedStyle["height"] = `${bounds.height / transform.d}px`;
|
|
1490
|
+
this._imposedStyle["box-sizing"] = "border-box";
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
_lazyOffsets(computedStyle) {
|
|
1494
|
+
let offsets;
|
|
1495
|
+
return () => {
|
|
1496
|
+
if (!offsets) offsets = findOffsets(this.element, computedStyle, this.transform, this._offsetSprite);
|
|
1497
|
+
return offsets;
|
|
1498
|
+
};
|
|
1499
|
+
}
|
|
1500
|
+
_rememberPosition() {
|
|
1501
|
+
let computedStyle = getComputedStyle(this.element);
|
|
1502
|
+
let style = this.element.style;
|
|
1503
|
+
let offsets = this._lazyOffsets(computedStyle);
|
|
1504
|
+
let tx = 0;
|
|
1505
|
+
let ty = 0;
|
|
1506
|
+
this._rememberSize();
|
|
1507
|
+
if (isSVG(this.element)) return;
|
|
1508
|
+
if (computedStyle.position !== "absolute" && computedStyle.position !== "fixed") this._imposedStyle["position"] = "absolute";
|
|
1509
|
+
if (style.top === "" && style.bottom === "") {
|
|
1510
|
+
this._imposedStyle["top"] = `${offsets().top}px`;
|
|
1511
|
+
this._imposedStyle["margin-top"] = "0px";
|
|
1512
|
+
} else if (this._imposedStyle["position"]) ty = offsets().top - parseFloat(computedStyle.top || "0");
|
|
1513
|
+
if (style.left === "" && style.bottom === "") {
|
|
1514
|
+
this._imposedStyle["left"] = `${offsets().left}px`;
|
|
1515
|
+
this._imposedStyle["margin-left"] = `0px`;
|
|
1516
|
+
} else if (this._imposedStyle["position"]) tx = offsets().left - parseFloat(computedStyle.left || "0");
|
|
1517
|
+
if (tx || ty) {
|
|
1518
|
+
this._transform = this.transform.mult(new Transform(1, 0, 0, 1, tx, ty));
|
|
1519
|
+
this._imposedStyle["transform"] = this.transform.serialize();
|
|
1520
|
+
}
|
|
1521
|
+
this._collapsingChildren = collapsedChildren(this.element, computedStyle, "top");
|
|
1522
|
+
}
|
|
1523
|
+
_cacheOriginalStyles() {
|
|
1524
|
+
let cache = {};
|
|
1525
|
+
let style = this.element.style;
|
|
1526
|
+
Object.keys(this._imposedStyle).forEach((property) => {
|
|
1527
|
+
cache[property] = style[property];
|
|
1528
|
+
});
|
|
1529
|
+
this._styleCache = cache;
|
|
1530
|
+
}
|
|
1531
|
+
lock() {
|
|
1532
|
+
this._reapplyPosition(this._initialPosition);
|
|
1533
|
+
this.applyStyles(this._imposedStyle);
|
|
1534
|
+
this._handleMarginCollapse();
|
|
1535
|
+
inFlight.set(this.element, this);
|
|
1536
|
+
this._inInitialPosition = this._lockedToInitialPosition;
|
|
1537
|
+
}
|
|
1538
|
+
unlock() {
|
|
1539
|
+
warn(`Probable bug in ember-animated: an interrupted sprite tried to unlock itself.
|
|
1540
|
+
This is usually caused by a direct child of an animated component also being an
|
|
1541
|
+
animated component. To fix it, wrap the child in another DOM element.
|
|
1542
|
+
https://github.com/ember-animation/ember-animated/issues/178`, this.stillInFlight(), { id: "ember-animated-sprite-unlock" });
|
|
1543
|
+
inFlight.delete(this.element);
|
|
1544
|
+
let cache = this._styleCache;
|
|
1545
|
+
Object.keys(cache).forEach((property) => {
|
|
1546
|
+
setStyle(this.element, property, cache[property]);
|
|
1547
|
+
});
|
|
1548
|
+
this._reapplyPosition(this._finalPosition);
|
|
1549
|
+
this._clearMarginCollapse();
|
|
1550
|
+
}
|
|
1551
|
+
/**
|
|
1552
|
+
This is your general purpose hook for changing CSS properties of
|
|
1553
|
+
the sprite's element. Use this when there's not a more specific
|
|
1554
|
+
method like `translate()`, `scale()`, `hide()`, or `reveal()`.
|
|
1555
|
+
```js
|
|
1556
|
+
sprite.applyStyles({
|
|
1557
|
+
'opacity': '0',
|
|
1558
|
+
'z-index': '1'
|
|
1559
|
+
});
|
|
1560
|
+
```
|
|
1561
|
+
Nothing you do to the sprite will persist after the transition is
|
|
1562
|
+
finished – we clean things up when it ends.
|
|
1563
|
+
@method applyStyles
|
|
1564
|
+
@param {Object} styles The styles to apply to the sprite.
|
|
1565
|
+
@return {void}
|
|
1566
|
+
*/
|
|
1567
|
+
applyStyles(styles) {
|
|
1568
|
+
if (!this._lockMode) throw new Error("can't apply styles to non-lockable sprite");
|
|
1569
|
+
if (styles !== this._imposedStyle) Object.keys(styles).forEach((property) => {
|
|
1570
|
+
if (this._imposedStyle[property] == null) this._styleCache[property] = this.element.style.getPropertyValue(property);
|
|
1571
|
+
this._imposedStyle[property] = styles[property];
|
|
1572
|
+
});
|
|
1573
|
+
Object.keys(styles).forEach((property) => {
|
|
1574
|
+
let val = styles[property];
|
|
1575
|
+
if (typeof val !== "string") throw new Error(`Sprite#applyStyles only accepts string values. Convert any numeric values to strings (with appropriate units) before calling. You passed ${property}=${val}`);
|
|
1576
|
+
else setStyle(this.element, property, styles[property]);
|
|
1577
|
+
});
|
|
1578
|
+
}
|
|
1579
|
+
stillInFlight() {
|
|
1580
|
+
return inFlight.get(this.element) === this;
|
|
1581
|
+
}
|
|
1582
|
+
/**
|
|
1583
|
+
Hides the sprite using CSS visibility property.
|
|
1584
|
+
@method hide
|
|
1585
|
+
@return {void}
|
|
1586
|
+
*/
|
|
1587
|
+
hide() {
|
|
1588
|
+
this._revealed = false;
|
|
1589
|
+
this.__element.classList.add("ember-animated-hidden");
|
|
1590
|
+
}
|
|
1591
|
+
/**
|
|
1592
|
+
Reveals the sprite using CSS visibility property.
|
|
1593
|
+
_Newly inserted sprites start hidden, and are revealed when you
|
|
1594
|
+
start animating them. You can manually reveal them with this if
|
|
1595
|
+
you want them to appear right away and you're not animating them._
|
|
1596
|
+
@method reveal
|
|
1597
|
+
@return {void}
|
|
1598
|
+
*/
|
|
1599
|
+
reveal() {
|
|
1600
|
+
if (!this.revealed) {
|
|
1601
|
+
this._revealed = true;
|
|
1602
|
+
this.__element.classList.remove("ember-animated-hidden");
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
/**
|
|
1606
|
+
Manages the application of the `ember-animated-none` CSS class on
|
|
1607
|
+
the element.
|
|
1608
|
+
When the flag is truthy, the class is removed and the element is
|
|
1609
|
+
therefore visible.
|
|
1610
|
+
When the flag is falsy, the class is applied and the element is
|
|
1611
|
+
therefore hidden.
|
|
1612
|
+
@method display
|
|
1613
|
+
@param {boolean} flag
|
|
1614
|
+
@return {void}
|
|
1615
|
+
*/
|
|
1616
|
+
display(flag) {
|
|
1617
|
+
if (flag) this.__element.classList.remove("ember-animated-none");
|
|
1618
|
+
else this.__element.classList.add("ember-animated-none");
|
|
1619
|
+
}
|
|
1620
|
+
/**
|
|
1621
|
+
Translates the sprite by the given number of screen pixels.
|
|
1622
|
+
_Disregards any pre-existing transforms._
|
|
1623
|
+
@method translate
|
|
1624
|
+
@param {number} dx The number of screen pixels on the x axis.
|
|
1625
|
+
@param {number} dy The number of screen pixels on the y axis.
|
|
1626
|
+
@return {void}
|
|
1627
|
+
*/
|
|
1628
|
+
translate(dx, dy) {
|
|
1629
|
+
let t = this.transform;
|
|
1630
|
+
t = t.mult(new Transform(1, 0, 0, 1, dx / t.a, dy / t.d));
|
|
1631
|
+
this._transform = t;
|
|
1632
|
+
this.applyStyles({
|
|
1633
|
+
transform: t.serialize(),
|
|
1634
|
+
"transform-origin": "0 0"
|
|
1635
|
+
});
|
|
1636
|
+
}
|
|
1637
|
+
/**
|
|
1638
|
+
Adjusts the sprite's scale by the given scaling factors.
|
|
1639
|
+
@method scale
|
|
1640
|
+
@param {number} scaleX The scaling factor to apply to the x axis.
|
|
1641
|
+
@param {number} scaleY The scaling factor to apply to the y axis.
|
|
1642
|
+
@return {void}
|
|
1643
|
+
*/
|
|
1644
|
+
scale(scaleX, scaleY) {
|
|
1645
|
+
let t = this.transform.mult(new Transform(scaleX, 0, 0, scaleY, 0, 0));
|
|
1646
|
+
this._transform = t;
|
|
1647
|
+
this.applyStyles({
|
|
1648
|
+
transform: t.serialize(),
|
|
1649
|
+
"transform-origin": "0 0"
|
|
1650
|
+
});
|
|
1651
|
+
}
|
|
1652
|
+
/**
|
|
1653
|
+
Adjusts the sprite so it will still be in the same visual position
|
|
1654
|
+
despite being moved into a new offset parent.
|
|
1655
|
+
@method rehome
|
|
1656
|
+
@param {Sprite} newOffsetSprite
|
|
1657
|
+
@return {void}
|
|
1658
|
+
*/
|
|
1659
|
+
rehome(newOffsetSprite) {
|
|
1660
|
+
let screenBounds = this.absoluteInitialBounds;
|
|
1661
|
+
let newRelativeBounds = shiftedBounds(screenBounds, -newOffsetSprite.initialBounds.left, -newOffsetSprite.initialBounds.top);
|
|
1662
|
+
let initialAmbientTransform = this._offsetSprite.cumulativeTransform;
|
|
1663
|
+
let finalAmbientTransform = newOffsetSprite.cumulativeTransform;
|
|
1664
|
+
let t = this.transform;
|
|
1665
|
+
t = t.mult(new Transform(initialAmbientTransform.a / finalAmbientTransform.a, 0, 0, initialAmbientTransform.d / finalAmbientTransform.d, (newRelativeBounds.left - t.tx) / t.a, (newRelativeBounds.top - t.ty) / t.d));
|
|
1666
|
+
this._transform = t;
|
|
1667
|
+
this._imposedStyle["transform"] = t.serialize();
|
|
1668
|
+
this._imposedStyle["transform-origin"] = "0 0";
|
|
1669
|
+
this._imposedStyle["top"] = `0px`;
|
|
1670
|
+
this._imposedStyle["left"] = `0px`;
|
|
1671
|
+
this._offsetSprite = newOffsetSprite;
|
|
1672
|
+
this._initialBounds = newRelativeBounds;
|
|
1673
|
+
this._inInitialPosition = true;
|
|
1674
|
+
}
|
|
1675
|
+
_handleMarginCollapse() {
|
|
1676
|
+
if (this._collapsingChildren) {
|
|
1677
|
+
const children = this._collapsingChildren;
|
|
1678
|
+
for (const child of children) child.classList.add("ember-animated-top-collapse");
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
_clearMarginCollapse() {
|
|
1682
|
+
if (this._collapsingChildren) {
|
|
1683
|
+
const children = this._collapsingChildren;
|
|
1684
|
+
for (const child of children) child.classList.remove("ember-animated-top-collapse");
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
/**
|
|
1688
|
+
Sets the sprite's `initialBounds` relative to the provided `otherSprite`.
|
|
1689
|
+
@method startAtSprite
|
|
1690
|
+
@param {Sprite} otherSprite
|
|
1691
|
+
@return {void}
|
|
1692
|
+
*/
|
|
1693
|
+
startAtSprite(otherSprite) {
|
|
1694
|
+
continueMotions(otherSprite.element, this.element);
|
|
1695
|
+
let diff = this.difference("finalBounds", otherSprite, "initialBounds");
|
|
1696
|
+
this.startTranslatedBy(-diff.dx, -diff.dy);
|
|
1697
|
+
this._initialBounds = resizedBounds(this._initialBounds, otherSprite.initialBounds.width, otherSprite.initialBounds.height);
|
|
1698
|
+
this._initialComputedStyle = otherSprite.initialComputedStyle;
|
|
1699
|
+
this._initialCumulativeTransform = otherSprite.initialCumulativeTransform;
|
|
1700
|
+
}
|
|
1701
|
+
/**
|
|
1702
|
+
Sets the sprite's `initialBounds` using the provided
|
|
1703
|
+
x and y coordinates.
|
|
1704
|
+
```js
|
|
1705
|
+
sprite.startAtPixel({ x: 0, y: 0 });
|
|
1706
|
+
```
|
|
1707
|
+
@method startAtPixel
|
|
1708
|
+
@param {Object} point The x and y coordinates.
|
|
1709
|
+
@return {void}
|
|
1710
|
+
*/
|
|
1711
|
+
startAtPixel({ x, y }) {
|
|
1712
|
+
let dx = 0;
|
|
1713
|
+
let dy = 0;
|
|
1714
|
+
if (x != null) {
|
|
1715
|
+
dx = x - this._finalBounds.left;
|
|
1716
|
+
if (this._offsetSprite) dx -= this._offsetSprite.finalBounds.left;
|
|
1717
|
+
}
|
|
1718
|
+
if (y != null) {
|
|
1719
|
+
dy = y - this._finalBounds.top;
|
|
1720
|
+
if (this._offsetSprite) dy -= this._offsetSprite.finalBounds.top;
|
|
1721
|
+
}
|
|
1722
|
+
this.startTranslatedBy(dx, dy);
|
|
1723
|
+
}
|
|
1724
|
+
/**
|
|
1725
|
+
Sets the sprite's `initialBounds` relative to its `finalBounds`.
|
|
1726
|
+
@method startTranslatedBy
|
|
1727
|
+
@param {number} dx
|
|
1728
|
+
@param {number} dy
|
|
1729
|
+
@return {void}
|
|
1730
|
+
*/
|
|
1731
|
+
startTranslatedBy(dx, dy) {
|
|
1732
|
+
let priorInitialBounds = this._initialBounds;
|
|
1733
|
+
let offsetX = 0;
|
|
1734
|
+
let offsetY = 0;
|
|
1735
|
+
if (this._offsetSprite) {
|
|
1736
|
+
offsetX = this._offsetSprite.finalBounds.left - this._offsetSprite.initialBounds.left;
|
|
1737
|
+
offsetY = this._offsetSprite.finalBounds.top - this._offsetSprite.initialBounds.top;
|
|
1738
|
+
}
|
|
1739
|
+
this._initialBounds = shiftedBounds(this._finalBounds, dx - offsetX, dy - offsetY);
|
|
1740
|
+
if (this._inInitialPosition) this.translate(this._initialBounds.left - priorInitialBounds.left, this._initialBounds.top - priorInitialBounds.top);
|
|
1741
|
+
else {
|
|
1742
|
+
this.translate(this._initialBounds.left - this._finalBounds.left, this._initialBounds.top - this._finalBounds.top);
|
|
1743
|
+
this._inInitialPosition = true;
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
/**
|
|
1747
|
+
Moves the sprite to its final position (`finalBounds`).
|
|
1748
|
+
@method moveToFinalPosition
|
|
1749
|
+
@return {void}
|
|
1750
|
+
*/
|
|
1751
|
+
moveToFinalPosition() {
|
|
1752
|
+
if (this._inInitialPosition) {
|
|
1753
|
+
let initial = this._initialBounds;
|
|
1754
|
+
let final = this._finalBounds;
|
|
1755
|
+
let dx = final.left - initial.left;
|
|
1756
|
+
let dy = final.top - initial.top;
|
|
1757
|
+
this.translate(dx, dy);
|
|
1758
|
+
this._inInitialPosition = false;
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
/**
|
|
1762
|
+
Sets the sprite's `finalBounds` using the provided `otherSprite`.
|
|
1763
|
+
@method endAtSprite
|
|
1764
|
+
@param {Sprite} otherSprite
|
|
1765
|
+
@return {void}
|
|
1766
|
+
*/
|
|
1767
|
+
endAtSprite(otherSprite) {
|
|
1768
|
+
let diff = otherSprite.difference("finalBounds", this, "initialBounds");
|
|
1769
|
+
this.endTranslatedBy(diff.dx, diff.dy);
|
|
1770
|
+
this._finalBounds = resizedBounds(this._finalBounds, otherSprite.finalBounds.width, otherSprite.finalBounds.height);
|
|
1771
|
+
this._finalComputedStyle = otherSprite.finalComputedStyle;
|
|
1772
|
+
this._finalCumulativeTransform = otherSprite.finalCumulativeTransform;
|
|
1773
|
+
}
|
|
1774
|
+
/**
|
|
1775
|
+
Sets the sprite's `finalBounds` using the provided point `{ x, y }`.
|
|
1776
|
+
```js
|
|
1777
|
+
sprite.endAtPixel({ x: window.innerWidth });
|
|
1778
|
+
```
|
|
1779
|
+
@method endAtPixel
|
|
1780
|
+
@param {Object} point The x and y coordinates.
|
|
1781
|
+
@return {void}
|
|
1782
|
+
*/
|
|
1783
|
+
endAtPixel({ x, y }) {
|
|
1784
|
+
let dx = 0;
|
|
1785
|
+
let dy = 0;
|
|
1786
|
+
if (x != null) {
|
|
1787
|
+
dx = x - this._initialBounds.left;
|
|
1788
|
+
if (this._offsetSprite) dx -= this._offsetSprite.initialBounds.left;
|
|
1789
|
+
}
|
|
1790
|
+
if (y != null) {
|
|
1791
|
+
dy = y - this._initialBounds.top;
|
|
1792
|
+
if (this._offsetSprite) dy -= this._offsetSprite.initialBounds.top;
|
|
1793
|
+
}
|
|
1794
|
+
this.endTranslatedBy(dx, dy);
|
|
1795
|
+
}
|
|
1796
|
+
/**
|
|
1797
|
+
Sets the sprite's `finalBounds` using its `initialBounds` and
|
|
1798
|
+
the provided x and y axis offset.
|
|
1799
|
+
@method endTranslatedBy
|
|
1800
|
+
@param {number} dx The x axis offset.
|
|
1801
|
+
@param {number} dy The y axis offset.
|
|
1802
|
+
@return {void}
|
|
1803
|
+
*/
|
|
1804
|
+
endTranslatedBy(dx, dy) {
|
|
1805
|
+
this._finalBounds = shiftedBounds(this._initialBounds, dx, dy);
|
|
1806
|
+
}
|
|
1807
|
+
/**
|
|
1808
|
+
Sets this sprite's `finalBounds` so that its position relative
|
|
1809
|
+
to the `otherSprite` remains constant through the transition.
|
|
1810
|
+
@method endRelativeTo
|
|
1811
|
+
@param {Sprite} otherSprite Note: must have initial and final bounds
|
|
1812
|
+
@return {void}
|
|
1813
|
+
*/
|
|
1814
|
+
endRelativeTo(otherSprite) {
|
|
1815
|
+
this.endTranslatedBy(otherSprite.finalBounds.left - otherSprite.initialBounds.left, otherSprite.finalBounds.top - otherSprite.initialBounds.top);
|
|
1816
|
+
}
|
|
1817
|
+
};
|
|
1818
|
+
function findOffsets(element, computedStyle, transform, offsetSprite) {
|
|
1819
|
+
let ownBounds = element.getBoundingClientRect();
|
|
1820
|
+
let left = ownBounds.left;
|
|
1821
|
+
let top = ownBounds.top;
|
|
1822
|
+
let effectiveOffsetParent;
|
|
1823
|
+
if (computedStyle.position !== "fixed") effectiveOffsetParent = offsetSprite.element;
|
|
1824
|
+
if (effectiveOffsetParent) {
|
|
1825
|
+
if (effectiveOffsetParent.tagName === "BODY") {
|
|
1826
|
+
left += window.scrollX;
|
|
1827
|
+
top += window.scrollY;
|
|
1828
|
+
} else {
|
|
1829
|
+
left += effectiveOffsetParent.scrollLeft;
|
|
1830
|
+
top += effectiveOffsetParent.scrollTop;
|
|
1831
|
+
}
|
|
1832
|
+
let eopComputedStyle = getComputedStyle(effectiveOffsetParent);
|
|
1833
|
+
if (eopComputedStyle.position !== "static" || eopComputedStyle.transform !== "none") {
|
|
1834
|
+
let eopBounds = effectiveOffsetParent.getBoundingClientRect();
|
|
1835
|
+
left -= eopBounds.left + parseFloat(eopComputedStyle.borderLeftWidth || "0");
|
|
1836
|
+
top -= eopBounds.top + parseFloat(eopComputedStyle.borderTopWidth || "0");
|
|
1837
|
+
let eopTransform = cumulativeTransform(effectiveOffsetParent);
|
|
1838
|
+
left /= eopTransform.a;
|
|
1839
|
+
top /= eopTransform.d;
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
left -= transform.tx;
|
|
1843
|
+
top -= transform.ty;
|
|
1844
|
+
return {
|
|
1845
|
+
top,
|
|
1846
|
+
left
|
|
1847
|
+
};
|
|
1848
|
+
}
|
|
1849
|
+
var SVGNamespace = "http://www.w3.org/2000/svg";
|
|
1850
|
+
function isSVG(element) {
|
|
1851
|
+
return element.namespaceURI === SVGNamespace && (element.parentElement || false) && element.parentElement.namespaceURI === SVGNamespace;
|
|
1852
|
+
}
|
|
1853
|
+
function getEffectiveOffsetParent(element) {
|
|
1854
|
+
if (isSVG(element)) {
|
|
1855
|
+
let cursor = element.parentElement;
|
|
1856
|
+
while (cursor && cursor.namespaceURI === SVGNamespace) {
|
|
1857
|
+
if (cursor.tagName === "svg") return cursor;
|
|
1858
|
+
cursor = cursor.parentElement;
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
let offsetParent = element.offsetParent;
|
|
1862
|
+
let cursor = element.parentElement;
|
|
1863
|
+
while (cursor && offsetParent && cursor !== offsetParent) {
|
|
1864
|
+
let styles = window.getComputedStyle(cursor);
|
|
1865
|
+
if ((styles.transform !== "" ? styles.transform : cursor.style.transform) !== "none") return cursor;
|
|
1866
|
+
cursor = cursor.parentElement;
|
|
1867
|
+
}
|
|
1868
|
+
return offsetParent;
|
|
1869
|
+
}
|
|
1870
|
+
function getSVGLength(element, property) {
|
|
1871
|
+
if (element[property]) return element[property].baseVal.value;
|
|
1872
|
+
return null;
|
|
1873
|
+
}
|
|
1874
|
+
function setSVGLength(element, property, values) {
|
|
1875
|
+
if (typeof values[property] === "number") element[property].baseVal.value = values[property];
|
|
1876
|
+
}
|
|
1877
|
+
function setAttribute(element, attrName, values) {
|
|
1878
|
+
let value = values[attrName];
|
|
1879
|
+
if (value) element.setAttribute(attrName, value);
|
|
1880
|
+
else element.removeAttribute(attrName);
|
|
1881
|
+
}
|
|
1882
|
+
function setStyle(element, property, value) {
|
|
1883
|
+
if (/[A-Z]/.test(property)) throw new Error(`applyStyles expects all CSS property names to be formatted as in CSS. Not camelcased. You passed ${property}.`);
|
|
1884
|
+
element.style.setProperty(property, value);
|
|
1885
|
+
}
|
|
1886
|
+
function copyComputedStyle(element) {
|
|
1887
|
+
let computed = getComputedStyle(element);
|
|
1888
|
+
let output = new CopiedCSS();
|
|
1889
|
+
for (let property of COPIED_CSS_PROPERTIES) output[property] = computed.getPropertyValue(property);
|
|
1890
|
+
return output;
|
|
1891
|
+
}
|
|
1892
|
+
var CopiedCSS = class {
|
|
1893
|
+
"opacity";
|
|
1894
|
+
"font-size";
|
|
1895
|
+
"font-family";
|
|
1896
|
+
"font-weight";
|
|
1897
|
+
"color";
|
|
1898
|
+
"background-color";
|
|
1899
|
+
"border-color";
|
|
1900
|
+
"letter-spacing";
|
|
1901
|
+
"line-height";
|
|
1902
|
+
"text-align";
|
|
1903
|
+
"text-transform";
|
|
1904
|
+
"padding";
|
|
1905
|
+
"padding-top";
|
|
1906
|
+
"padding-bottom";
|
|
1907
|
+
"padding-left";
|
|
1908
|
+
"padding-right";
|
|
1909
|
+
"border-radius";
|
|
1910
|
+
"border-top-left-radius";
|
|
1911
|
+
"border-top-right-radius";
|
|
1912
|
+
"border-bottom-left-radius";
|
|
1913
|
+
"border-bottom-right-radius";
|
|
1914
|
+
"box-shadow";
|
|
1915
|
+
};
|
|
1916
|
+
var COPIED_CSS_PROPERTIES = [
|
|
1917
|
+
"opacity",
|
|
1918
|
+
"font-size",
|
|
1919
|
+
"font-family",
|
|
1920
|
+
"font-weight",
|
|
1921
|
+
"color",
|
|
1922
|
+
"background-color",
|
|
1923
|
+
"border-color",
|
|
1924
|
+
"letter-spacing",
|
|
1925
|
+
"line-height",
|
|
1926
|
+
"text-align",
|
|
1927
|
+
"text-transform",
|
|
1928
|
+
"padding",
|
|
1929
|
+
"padding-top",
|
|
1930
|
+
"padding-bottom",
|
|
1931
|
+
"padding-left",
|
|
1932
|
+
"padding-right",
|
|
1933
|
+
"border-radius",
|
|
1934
|
+
"border-top-left-radius",
|
|
1935
|
+
"border-top-right-radius",
|
|
1936
|
+
"border-bottom-left-radius",
|
|
1937
|
+
"border-bottom-right-radius",
|
|
1938
|
+
"box-shadow"
|
|
1939
|
+
];
|
|
1940
|
+
//#endregion
|
|
1941
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-beacon.js
|
|
1942
|
+
var service$3 = service$4 ?? inject;
|
|
1943
|
+
/**
|
|
1944
|
+
A component that marks a region of the page that
|
|
1945
|
+
can serve as a source or destination for sprites to animate to and from.
|
|
1946
|
+
|
|
1947
|
+
```hbs
|
|
1948
|
+
{{#animated-beacon name="one"}}
|
|
1949
|
+
<button {{action "launch"}}>Launch</button>
|
|
1950
|
+
{{/animated-beacon}}
|
|
1951
|
+
|
|
1952
|
+
{{#animated-if showThing use=transition}}
|
|
1953
|
+
<div class="message" {{action "dismiss"}}>
|
|
1954
|
+
Hello
|
|
1955
|
+
</div>
|
|
1956
|
+
{{/animated-if}}
|
|
1957
|
+
```
|
|
1958
|
+
|
|
1959
|
+
```js
|
|
1960
|
+
import Component from '@ember/component';
|
|
1961
|
+
import move from 'ember-animated/motions/move';
|
|
1962
|
+
import scale from 'ember-animated/motions/scale';
|
|
1963
|
+
|
|
1964
|
+
export default Component.extend({
|
|
1965
|
+
showThing: false,
|
|
1966
|
+
|
|
1967
|
+
transition: function *({ insertedSprites, keptSprites, removedSprites, beacons }) {
|
|
1968
|
+
for (let sprite of insertedSprites) {
|
|
1969
|
+
sprite.startAtSprite(beacons.one);
|
|
1970
|
+
move(sprite);
|
|
1971
|
+
scale(sprite);
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
for (let sprite of keptSprites) {
|
|
1975
|
+
move(sprite);
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
for (let sprite of removedSprites) {
|
|
1979
|
+
sprite.endAtSprite(beacons.one);
|
|
1980
|
+
move(sprite);
|
|
1981
|
+
scale(sprite);
|
|
1982
|
+
}
|
|
1983
|
+
});
|
|
1984
|
+
},
|
|
1985
|
+
|
|
1986
|
+
actions: {
|
|
1987
|
+
launch() {
|
|
1988
|
+
this.set('showThing', true);
|
|
1989
|
+
},
|
|
1990
|
+
dismiss() {
|
|
1991
|
+
this.set('showThing', false);
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
});
|
|
1995
|
+
```
|
|
1996
|
+
@class animated-beacon
|
|
1997
|
+
@public
|
|
1998
|
+
*/
|
|
1999
|
+
var AnimatedBeacon = class extends Component {
|
|
2000
|
+
name;
|
|
2001
|
+
tagName = "";
|
|
2002
|
+
_inserted = false;
|
|
2003
|
+
static {
|
|
2004
|
+
decorateFieldV2(this.prototype, "motionService", [service$3("-ea-motion")]);
|
|
2005
|
+
}
|
|
2006
|
+
#motionService = (initializeDeferredDecorator(this, "motionService"), void 0);
|
|
2007
|
+
didInsertElement() {
|
|
2008
|
+
super.didInsertElement();
|
|
2009
|
+
this._inserted = true;
|
|
2010
|
+
this.animationStarting = this.animationStarting.bind(this);
|
|
2011
|
+
this.motionService.observeAnimations(this.animationStarting);
|
|
2012
|
+
}
|
|
2013
|
+
willDestroyElement() {
|
|
2014
|
+
super.willDestroyElement();
|
|
2015
|
+
this.motionService.unobserveAnimations(this.animationStarting);
|
|
2016
|
+
}
|
|
2017
|
+
animationStarting() {
|
|
2018
|
+
this.participate.perform();
|
|
2019
|
+
}
|
|
2020
|
+
_firstChildElement() {
|
|
2021
|
+
if (this._inserted) {
|
|
2022
|
+
let { firstNode, lastNode } = componentNodes(this);
|
|
2023
|
+
let node = firstNode;
|
|
2024
|
+
while (node) {
|
|
2025
|
+
if (node.nodeType === Node.ELEMENT_NODE) return node;
|
|
2026
|
+
if (node === lastNode) break;
|
|
2027
|
+
node = node.nextSibling;
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
static {
|
|
2032
|
+
decorateFieldV2(this.prototype, "participate", [task(function* () {
|
|
2033
|
+
if (!this.name) throw new Error("Beacons must have a name.");
|
|
2034
|
+
if (this.motionService.hasBeacon(this.name)) return;
|
|
2035
|
+
let element = this._firstChildElement();
|
|
2036
|
+
if (!element) return;
|
|
2037
|
+
let offsetParent = Sprite.offsetParentStartingAt(element);
|
|
2038
|
+
let sprite = Sprite.positionedStartingAt(element, offsetParent);
|
|
2039
|
+
yield afterRender();
|
|
2040
|
+
yield microwait();
|
|
2041
|
+
yield* this.motionService.staticMeasurement(() => {
|
|
2042
|
+
offsetParent.measureFinalBounds();
|
|
2043
|
+
sprite.measureFinalBounds();
|
|
2044
|
+
});
|
|
2045
|
+
yield this.motionService.addBeacon.perform(this.name, sprite);
|
|
2046
|
+
})]);
|
|
2047
|
+
}
|
|
2048
|
+
#participate = (initializeDeferredDecorator(this, "participate"), void 0);
|
|
2049
|
+
static {
|
|
2050
|
+
setComponentTemplate(templateFactory({
|
|
2051
|
+
"id": "+EPWNCZI",
|
|
2052
|
+
"block": "[[[1,\"\\n\"],[1,\" \"],[18,1,null],[1,\"\\n \"]],[\"&default\"],[\"yield\"]]",
|
|
2053
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-beacon.js",
|
|
2054
|
+
"isStrictMode": true
|
|
2055
|
+
}), this);
|
|
2056
|
+
}
|
|
2057
|
+
};
|
|
2058
|
+
//#endregion
|
|
2059
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/resize.js
|
|
2060
|
+
var resize_exports = /* @__PURE__ */ __exportAll({
|
|
2061
|
+
Resize: () => Resize,
|
|
2062
|
+
default: () => resize
|
|
2063
|
+
});
|
|
2064
|
+
/**
|
|
2065
|
+
Smoothly resizes _sprite_ from its the initial size to its final size.
|
|
2066
|
+
|
|
2067
|
+
_sprite_ must have both `initialBounds` and `finalBounds` set.
|
|
2068
|
+
|
|
2069
|
+
Consider using `scale` instead because scale uses CSS transforms and will not trigger reflow.
|
|
2070
|
+
|
|
2071
|
+
```js
|
|
2072
|
+
for (let sprite of insertedSprites) {
|
|
2073
|
+
sprite.startAtSprite(beacons['source']);
|
|
2074
|
+
resize(sprite)
|
|
2075
|
+
}
|
|
2076
|
+
```
|
|
2077
|
+
|
|
2078
|
+
@function resize
|
|
2079
|
+
@export default
|
|
2080
|
+
@param {Sprite} sprite
|
|
2081
|
+
@return {Motion}
|
|
2082
|
+
*/
|
|
2083
|
+
function resize(sprite, opts = {}) {
|
|
2084
|
+
return new Resize(sprite, opts).run();
|
|
2085
|
+
}
|
|
2086
|
+
var Resize = class extends Motion {
|
|
2087
|
+
prior = null;
|
|
2088
|
+
widthTween = null;
|
|
2089
|
+
heightTween = null;
|
|
2090
|
+
interrupted(motions) {
|
|
2091
|
+
let prior = motions.find((m) => m instanceof this.constructor);
|
|
2092
|
+
if (prior) this.prior = prior;
|
|
2093
|
+
}
|
|
2094
|
+
*animate() {
|
|
2095
|
+
let sprite = this.sprite;
|
|
2096
|
+
let duration = this.duration;
|
|
2097
|
+
let widthTween;
|
|
2098
|
+
let heightTween;
|
|
2099
|
+
sprite.assertHasInitialBounds();
|
|
2100
|
+
sprite.assertHasFinalBounds();
|
|
2101
|
+
if (!this.prior) {
|
|
2102
|
+
widthTween = this.widthTween = new Tween(sprite.initialBounds.width / sprite.initialCumulativeTransform.a, sprite.finalBounds.width / sprite.finalCumulativeTransform.a, duration, this.opts.easing);
|
|
2103
|
+
heightTween = this.heightTween = new Tween(sprite.initialBounds.height / sprite.initialCumulativeTransform.d, sprite.finalBounds.height / sprite.finalCumulativeTransform.d, duration, this.opts.easing);
|
|
2104
|
+
} else {
|
|
2105
|
+
widthTween = this.widthTween = new Tween(0, sprite.finalBounds.width / sprite.finalCumulativeTransform.a - this.prior.sprite.finalBounds.width, duration, this.opts.easing).plus(this.prior.widthTween);
|
|
2106
|
+
heightTween = this.heightTween = new Tween(0, sprite.finalBounds.height / sprite.finalCumulativeTransform.d - this.prior.sprite.finalBounds.height, duration, this.opts.easing).plus(this.prior.heightTween);
|
|
2107
|
+
}
|
|
2108
|
+
while (!widthTween.done || !heightTween.done) {
|
|
2109
|
+
sprite.applyStyles({
|
|
2110
|
+
width: `${widthTween.currentValue}px`,
|
|
2111
|
+
height: `${heightTween.currentValue}px`
|
|
2112
|
+
});
|
|
2113
|
+
yield rAF();
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
};
|
|
2117
|
+
//#endregion
|
|
2118
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-container.js
|
|
2119
|
+
var service$2 = service$4 ?? inject;
|
|
2120
|
+
/**
|
|
2121
|
+
Provides a boundary between animator components and the surrounding document
|
|
2122
|
+
which smoothly resizes as animators change. Use animated-container whenever you
|
|
2123
|
+
need to "hold a place for" some animated content while that content is animating.
|
|
2124
|
+
```hbs
|
|
2125
|
+
<button {{on "click" this.toggleThing}}>Toggle</button>
|
|
2126
|
+
<AnimatedContainer>
|
|
2127
|
+
{{#animated-if this.showThing use=this.transition }}
|
|
2128
|
+
<div class="message" {{on "click" this.toggleThing}}>
|
|
2129
|
+
Hello!
|
|
2130
|
+
</div>
|
|
2131
|
+
{{/animated-if}}
|
|
2132
|
+
</AnimatedContainer>
|
|
2133
|
+
<p>
|
|
2134
|
+
This is outside of the container.
|
|
2135
|
+
</p>
|
|
2136
|
+
```
|
|
2137
|
+
```js
|
|
2138
|
+
import Component from '@ember/component';
|
|
2139
|
+
import { action } from '@ember/object';
|
|
2140
|
+
import { tracked } from '@glimmer/tracking';
|
|
2141
|
+
import move from 'ember-animated/motions/move';
|
|
2142
|
+
import { easeOut, easeIn } from 'ember-animated/easings/cosine';
|
|
2143
|
+
|
|
2144
|
+
export default class AnimatedContainerComponentExample extends Component {
|
|
2145
|
+
@tracked showThing = false;
|
|
2146
|
+
|
|
2147
|
+
@action
|
|
2148
|
+
toggleThing() {
|
|
2149
|
+
this.showThing = !this.showThing;
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
*transition({ insertedSprites, keptSprites, removedSprites }) {
|
|
2153
|
+
for (let sprite of insertedSprites) {
|
|
2154
|
+
sprite.startAtPixel({ x: window.innerWidth });
|
|
2155
|
+
yield move(sprite, { easing: easeOut });
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
for (let sprite of keptSprites) {
|
|
2159
|
+
yield move(sprite);
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
for (let sprite of removedSprites) {
|
|
2163
|
+
sprite.endAtPixel({ x: window.innerWidth });
|
|
2164
|
+
yield move(sprite, { easing: easeIn });
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
```
|
|
2169
|
+
@class animated-container
|
|
2170
|
+
@public
|
|
2171
|
+
*/
|
|
2172
|
+
var AnimatedContainerComponent = class extends Component {
|
|
2173
|
+
tagName = "";
|
|
2174
|
+
static {
|
|
2175
|
+
decorateFieldV2(this.prototype, "motionService", [service$2("-ea-motion")]);
|
|
2176
|
+
}
|
|
2177
|
+
#motionService = (initializeDeferredDecorator(this, "motionService"), void 0);
|
|
2178
|
+
/**
|
|
2179
|
+
* Use a custom tag for the container. Defaults to div.
|
|
2180
|
+
@argument tag
|
|
2181
|
+
@type String
|
|
2182
|
+
*/
|
|
2183
|
+
tag = "div";
|
|
2184
|
+
/**
|
|
2185
|
+
* Whether to animate the initial render. You will probably also need to set
|
|
2186
|
+
* initialInsertion=true on a child component of animated-container.
|
|
2187
|
+
* Defaults to false.
|
|
2188
|
+
@argument onInitialRender
|
|
2189
|
+
@type Boolean
|
|
2190
|
+
*/
|
|
2191
|
+
onInitialRender = false;
|
|
2192
|
+
/**
|
|
2193
|
+
* Use a custom motion to resize the container. Defaults to `Resize`.
|
|
2194
|
+
@argument motion
|
|
2195
|
+
@type String
|
|
2196
|
+
*/
|
|
2197
|
+
motion = Resize;
|
|
2198
|
+
_inserted = false;
|
|
2199
|
+
_startingUp = false;
|
|
2200
|
+
sprite = null;
|
|
2201
|
+
constructor(properties) {
|
|
2202
|
+
super(properties);
|
|
2203
|
+
this.motionService.register(this).observeDescendantAnimations(this, this.maybeAnimate);
|
|
2204
|
+
}
|
|
2205
|
+
didInsertElement() {
|
|
2206
|
+
super.didInsertElement();
|
|
2207
|
+
this._inserted = true;
|
|
2208
|
+
}
|
|
2209
|
+
_ownElement() {
|
|
2210
|
+
if (!this._inserted) return;
|
|
2211
|
+
let { firstNode, lastNode } = componentNodes(this);
|
|
2212
|
+
let node = firstNode;
|
|
2213
|
+
while (node) {
|
|
2214
|
+
if (node.nodeType === Node.ELEMENT_NODE) return node;
|
|
2215
|
+
if (node === lastNode) break;
|
|
2216
|
+
node = node.nextSibling;
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
willDestroyElement() {
|
|
2220
|
+
super.willDestroyElement();
|
|
2221
|
+
this.motionService.unregister(this).unobserveDescendantAnimations(this, this.maybeAnimate);
|
|
2222
|
+
}
|
|
2223
|
+
static {
|
|
2224
|
+
decorateFieldV2(this.prototype, "isAnimating", [alias("animated.isRunning")]);
|
|
2225
|
+
}
|
|
2226
|
+
#isAnimating = (initializeDeferredDecorator(this, "isAnimating"), void 0);
|
|
2227
|
+
maybeAnimate({ duration, task }) {
|
|
2228
|
+
if (!this._startingUp) this.animate.perform(duration, task);
|
|
2229
|
+
}
|
|
2230
|
+
static {
|
|
2231
|
+
decorateMethodV2(this.prototype, "maybeAnimate", [action]);
|
|
2232
|
+
}
|
|
2233
|
+
beginStaticMeasurement() {
|
|
2234
|
+
if (this.sprite) this.sprite.unlock();
|
|
2235
|
+
}
|
|
2236
|
+
endStaticMeasurement() {
|
|
2237
|
+
if (this.sprite) this.sprite.lock();
|
|
2238
|
+
}
|
|
2239
|
+
static {
|
|
2240
|
+
decorateFieldV2(this.prototype, "animate", [task(function* (duration, animationTask) {
|
|
2241
|
+
this._startingUp = true;
|
|
2242
|
+
let service = this.motionService;
|
|
2243
|
+
let sprite;
|
|
2244
|
+
let useMotion;
|
|
2245
|
+
let element = this._ownElement();
|
|
2246
|
+
if (element) {
|
|
2247
|
+
sprite = Sprite.sizedStartingAt(element);
|
|
2248
|
+
this.sprite = sprite;
|
|
2249
|
+
sprite.lock();
|
|
2250
|
+
useMotion = true;
|
|
2251
|
+
} else useMotion = this.onInitialRender;
|
|
2252
|
+
try {
|
|
2253
|
+
yield afterRender();
|
|
2254
|
+
yield microwait();
|
|
2255
|
+
} finally {
|
|
2256
|
+
this._startingUp = false;
|
|
2257
|
+
}
|
|
2258
|
+
yield* service.staticMeasurement(() => {
|
|
2259
|
+
if (!sprite) {
|
|
2260
|
+
sprite = Sprite.sizedEndingAt(this._ownElement());
|
|
2261
|
+
this.sprite = sprite;
|
|
2262
|
+
} else sprite.measureFinalBounds();
|
|
2263
|
+
});
|
|
2264
|
+
if (useMotion) yield* new this.motion(this.sprite, { duration })._run();
|
|
2265
|
+
yield animationTask;
|
|
2266
|
+
this.sprite.unlock();
|
|
2267
|
+
this.sprite = null;
|
|
2268
|
+
}).restartable()]);
|
|
2269
|
+
}
|
|
2270
|
+
#animate = (initializeDeferredDecorator(this, "animate"), void 0);
|
|
2271
|
+
static {
|
|
2272
|
+
setComponentTemplate(templateFactory({
|
|
2273
|
+
"id": "1Srm6ICt",
|
|
2274
|
+
"block": "[[[1,\"\\n\"],[44,[[28,[32,0],[[30,0,[\"tag\"]]],null]],[[[1,\" \"],[8,[30,1],[[16,0,[29,[\"animated-container \",[30,2]]]],[17,3]],null,[[\"default\"],[[[[1,\"\\n \"],[18,4,null],[1,\"\\n \"]],[]]]]],[1,\"\\n\"]],[1]]],[1,\" \"]],[\"Tag\",\"@class\",\"&attrs\",\"&default\"],[\"let\",\"yield\"]]",
|
|
2275
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-container.js",
|
|
2276
|
+
"scope": () => [ElementHelper],
|
|
2277
|
+
"isStrictMode": true
|
|
2278
|
+
}), this);
|
|
2279
|
+
}
|
|
2280
|
+
};
|
|
2281
|
+
//#endregion
|
|
2282
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/partition.js
|
|
2283
|
+
var import_assert_never = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2284
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2285
|
+
exports.assertNever = assertNever;
|
|
2286
|
+
/**
|
|
2287
|
+
* Helper function for exhaustive checks of discriminated unions.
|
|
2288
|
+
* https://basarat.gitbooks.io/typescript/docs/types/discriminated-unions.html
|
|
2289
|
+
*
|
|
2290
|
+
* @example
|
|
2291
|
+
*
|
|
2292
|
+
* type A = {type: 'a'};
|
|
2293
|
+
* type B = {type: 'b'};
|
|
2294
|
+
* type Union = A | B;
|
|
2295
|
+
*
|
|
2296
|
+
* function doSomething(arg: Union) {
|
|
2297
|
+
* if (arg.type === 'a') {
|
|
2298
|
+
* return something;
|
|
2299
|
+
* }
|
|
2300
|
+
*
|
|
2301
|
+
* if (arg.type === 'b') {
|
|
2302
|
+
* return somethingElse;
|
|
2303
|
+
* }
|
|
2304
|
+
*
|
|
2305
|
+
* // TS will error if there are other types in the union
|
|
2306
|
+
* // Will throw an Error when called at runtime.
|
|
2307
|
+
* // Use `assertNever(arg, true)` instead to fail silently.
|
|
2308
|
+
* return assertNever(arg);
|
|
2309
|
+
* }
|
|
2310
|
+
*/
|
|
2311
|
+
function assertNever(value, errorMessageOrNoThrow) {
|
|
2312
|
+
if (typeof errorMessageOrNoThrow === "string") throw new Error(errorMessageOrNoThrow);
|
|
2313
|
+
if (typeof errorMessageOrNoThrow === "function") throw new Error(errorMessageOrNoThrow(value));
|
|
2314
|
+
if (errorMessageOrNoThrow) return value;
|
|
2315
|
+
throw new Error("Unhandled discriminated union member: ".concat(JSON.stringify(value)));
|
|
2316
|
+
}
|
|
2317
|
+
exports.default = assertNever;
|
|
2318
|
+
})))());
|
|
2319
|
+
function partition(iterator, predicate) {
|
|
2320
|
+
let truthy = [];
|
|
2321
|
+
let falsy = [];
|
|
2322
|
+
for (let item of iterator) if (predicate(item)) truthy.push(item);
|
|
2323
|
+
else falsy.push(item);
|
|
2324
|
+
return [truthy, falsy];
|
|
2325
|
+
}
|
|
2326
|
+
//#endregion
|
|
2327
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/child.js
|
|
2328
|
+
var Child = class Child {
|
|
2329
|
+
state = "new";
|
|
2330
|
+
removalBlockers = 0;
|
|
2331
|
+
removalCycle = null;
|
|
2332
|
+
constructor(group, id, value, index) {
|
|
2333
|
+
this.group = group;
|
|
2334
|
+
this.id = id;
|
|
2335
|
+
this.value = value;
|
|
2336
|
+
this.index = index;
|
|
2337
|
+
this.removalBlockers = 0;
|
|
2338
|
+
this.removalCycle = null;
|
|
2339
|
+
}
|
|
2340
|
+
block(cycle) {
|
|
2341
|
+
if (this.removalCycle == null || this.removalCycle === cycle) {
|
|
2342
|
+
this.removalCycle = cycle;
|
|
2343
|
+
this.removalBlockers++;
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
unblock(cycle) {
|
|
2347
|
+
if (this.removalCycle === cycle) this.removalBlockers--;
|
|
2348
|
+
}
|
|
2349
|
+
flagForRemoval() {
|
|
2350
|
+
this.removalCycle = null;
|
|
2351
|
+
this.removalBlockers = 0;
|
|
2352
|
+
this.state = "removing";
|
|
2353
|
+
}
|
|
2354
|
+
get shouldRemove() {
|
|
2355
|
+
return this.state === "removing" && this.removalBlockers < 1;
|
|
2356
|
+
}
|
|
2357
|
+
clone() {
|
|
2358
|
+
return new Child(this.group, this.id, this.value, this.index);
|
|
2359
|
+
}
|
|
2360
|
+
};
|
|
2361
|
+
//#endregion
|
|
2362
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/ea-list-element.js
|
|
2363
|
+
var EaListElement = class extends Component {
|
|
2364
|
+
tagName = "";
|
|
2365
|
+
isEmberAnimatedListElement = true;
|
|
2366
|
+
child;
|
|
2367
|
+
elementToChild;
|
|
2368
|
+
didRender() {
|
|
2369
|
+
super.didRender();
|
|
2370
|
+
let mapping = this.elementToChild;
|
|
2371
|
+
let child = this.child;
|
|
2372
|
+
this._forEachElement((elt) => {
|
|
2373
|
+
mapping.set(elt, child);
|
|
2374
|
+
});
|
|
2375
|
+
}
|
|
2376
|
+
_forEachElement(fn) {
|
|
2377
|
+
let { firstNode, lastNode } = componentNodes(this);
|
|
2378
|
+
let node = firstNode;
|
|
2379
|
+
while (node) {
|
|
2380
|
+
if (node.nodeType === Node.ELEMENT_NODE) fn(node);
|
|
2381
|
+
else if (!/^\s*$/.test(node.textContent)) warn("Found bare text content inside an animator", false, { id: "ember-animated-bare-text" });
|
|
2382
|
+
if (node === lastNode) break;
|
|
2383
|
+
node = node.nextSibling;
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2386
|
+
};
|
|
2387
|
+
//#endregion
|
|
2388
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-each.js
|
|
2389
|
+
var service$1 = service$4 ?? inject;
|
|
2390
|
+
/**
|
|
2391
|
+
A drop in replacement for `{{#each}}` that animates changes to a list.
|
|
2392
|
+
|
|
2393
|
+
```hbs
|
|
2394
|
+
{{#animated-each items use=transition duration=2000 as |item|}}
|
|
2395
|
+
<div data-test-item={{item}} onclick={{action removeItem item}}>
|
|
2396
|
+
{{item}}
|
|
2397
|
+
</div>
|
|
2398
|
+
{{/animated-each}}
|
|
2399
|
+
```
|
|
2400
|
+
|
|
2401
|
+
```js
|
|
2402
|
+
import Component from '@ember/component';
|
|
2403
|
+
import move from 'ember-animated/motions/move';
|
|
2404
|
+
import { fadeOut } from 'ember-animated/motions/opacity';
|
|
2405
|
+
|
|
2406
|
+
export default Component.extend({
|
|
2407
|
+
init() {
|
|
2408
|
+
this._super();
|
|
2409
|
+
this.items = ['A', 'B', 'C', 'D', 'E'];
|
|
2410
|
+
},
|
|
2411
|
+
|
|
2412
|
+
* transition({ keptSprites, removedSprites }) {
|
|
2413
|
+
for (let sprite of keptSprites) {
|
|
2414
|
+
move(sprite);
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
for (let sprite of removedSprites) {
|
|
2418
|
+
fadeOut(sprite);
|
|
2419
|
+
}
|
|
2420
|
+
},
|
|
2421
|
+
|
|
2422
|
+
removeItem(item){
|
|
2423
|
+
this.set('items', this.items.filter(i => i !== item));
|
|
2424
|
+
}
|
|
2425
|
+
});
|
|
2426
|
+
```
|
|
2427
|
+
@class animated-each
|
|
2428
|
+
@public
|
|
2429
|
+
*/
|
|
2430
|
+
var AnimatedEach = class extends Component {
|
|
2431
|
+
tagName = "";
|
|
2432
|
+
static positionalParams = ["items"];
|
|
2433
|
+
static {
|
|
2434
|
+
decorateFieldV2(this.prototype, "motionService", [service$1("-ea-motion")]);
|
|
2435
|
+
}
|
|
2436
|
+
#motionService = (initializeDeferredDecorator(this, "motionService"), void 0);
|
|
2437
|
+
/**
|
|
2438
|
+
* The list of data you are trying to render.
|
|
2439
|
+
@argument items
|
|
2440
|
+
@type Array
|
|
2441
|
+
*/
|
|
2442
|
+
items;
|
|
2443
|
+
/**
|
|
2444
|
+
* If set, this animator will only [match](../../between) other animators that have the same group value.
|
|
2445
|
+
@argument group
|
|
2446
|
+
@type String
|
|
2447
|
+
*/
|
|
2448
|
+
group;
|
|
2449
|
+
/**
|
|
2450
|
+
* Represents the amount of time an animation takes in miliseconds.
|
|
2451
|
+
@argument duration
|
|
2452
|
+
@type Number
|
|
2453
|
+
*/
|
|
2454
|
+
duration;
|
|
2455
|
+
/**
|
|
2456
|
+
* Specifies the [Transition](../../transitions)
|
|
2457
|
+
* to run when the list changes.
|
|
2458
|
+
@argument use
|
|
2459
|
+
@type Transition
|
|
2460
|
+
*/
|
|
2461
|
+
use;
|
|
2462
|
+
/**
|
|
2463
|
+
* Specifies data-dependent [Rules](../../rules) that choose which [Transition](../../transitions)
|
|
2464
|
+
* to run when the list changes. This takes precedence over `use`.
|
|
2465
|
+
@argument rules
|
|
2466
|
+
@type Rules
|
|
2467
|
+
*/
|
|
2468
|
+
rules;
|
|
2469
|
+
/**
|
|
2470
|
+
* When true, all the items in the list will animate as [`insertedSprites`](../../sprites) when the `{{#animated-each}}` is first rendered. Defaults to false.
|
|
2471
|
+
@argument initialInsertion
|
|
2472
|
+
@type Boolean
|
|
2473
|
+
*/
|
|
2474
|
+
initialInsertion = false;
|
|
2475
|
+
/**
|
|
2476
|
+
When true, all the items in the list will animate as [`removedSprites`](../../sprites) when the `{{#animated-each}}` is destroyed. Defaults to false.
|
|
2477
|
+
Note that an `<AnimatedOrphans/>` component must be actively rendered when this animator is removed for this option to have any effect.
|
|
2478
|
+
@argument finalRemoval
|
|
2479
|
+
@type Boolean
|
|
2480
|
+
*/
|
|
2481
|
+
finalRemoval = false;
|
|
2482
|
+
/**
|
|
2483
|
+
Serves the same purpose as the `key` in ember `{{#each}}`, and it's
|
|
2484
|
+
also used to compare values when [animating between components](../../between).
|
|
2485
|
+
@argument key
|
|
2486
|
+
@type String
|
|
2487
|
+
*/
|
|
2488
|
+
key;
|
|
2489
|
+
/**
|
|
2490
|
+
An optional comma-separated list of properties to observe on each of the
|
|
2491
|
+
objects in the items list. If any of those properties change, we will
|
|
2492
|
+
trigger an animated transition. Without this, we only animate when the list
|
|
2493
|
+
contents change, not when any deeper properties change.
|
|
2494
|
+
@argument watch
|
|
2495
|
+
@type String
|
|
2496
|
+
*/
|
|
2497
|
+
watch;
|
|
2498
|
+
_elementToChild = /* @__PURE__ */ new WeakMap();
|
|
2499
|
+
_prevItems = [];
|
|
2500
|
+
_prevSignature = [];
|
|
2501
|
+
_firstTime = true;
|
|
2502
|
+
_inserted = false;
|
|
2503
|
+
_renderedChildren = [];
|
|
2504
|
+
_renderedChildrenStartedMoving = false;
|
|
2505
|
+
_cycleCounter = 0;
|
|
2506
|
+
_keptSprites = null;
|
|
2507
|
+
_insertedSprites = null;
|
|
2508
|
+
_removedSprites = null;
|
|
2509
|
+
_lastTransition = null;
|
|
2510
|
+
_ancestorWillDestroyUs = false;
|
|
2511
|
+
init() {
|
|
2512
|
+
super.init();
|
|
2513
|
+
this.motionService.register(this).observeDescendantAnimations(this, this.maybeReanimate).observeAncestorAnimations(this, this.ancestorIsAnimating);
|
|
2514
|
+
this._installObservers();
|
|
2515
|
+
}
|
|
2516
|
+
_installObservers() {
|
|
2517
|
+
let key = this.key;
|
|
2518
|
+
if (key != null && key !== "@index" && key !== "@identity") this.addObserver(`items.@each.${key}`, this, this._invalidateRenderedChildren);
|
|
2519
|
+
let deps = this._deps;
|
|
2520
|
+
if (deps) for (let dep of deps) this.addObserver(`items.@each.${dep}`, this, this._invalidateRenderedChildren);
|
|
2521
|
+
}
|
|
2522
|
+
get _deps() {
|
|
2523
|
+
let w = this.watch;
|
|
2524
|
+
if (typeof w === "string") return w.split(/\s*,\s*/);
|
|
2525
|
+
}
|
|
2526
|
+
static {
|
|
2527
|
+
decorateMethodV2(this.prototype, "_deps", [computed("watch")]);
|
|
2528
|
+
}
|
|
2529
|
+
get durationWithDefault() {
|
|
2530
|
+
let d = this.duration;
|
|
2531
|
+
if (d == null) return 500;
|
|
2532
|
+
else return d;
|
|
2533
|
+
}
|
|
2534
|
+
static {
|
|
2535
|
+
decorateMethodV2(this.prototype, "durationWithDefault", [computed("duration")]);
|
|
2536
|
+
}
|
|
2537
|
+
_invalidateRenderedChildren() {
|
|
2538
|
+
this.notifyPropertyChange("renderedChildren");
|
|
2539
|
+
}
|
|
2540
|
+
_identitySignature(items, getKey) {
|
|
2541
|
+
if (!items) return [];
|
|
2542
|
+
let deps = this._deps;
|
|
2543
|
+
let signature = [];
|
|
2544
|
+
for (let i = 0; i < items.length; i++) {
|
|
2545
|
+
let item = items[i];
|
|
2546
|
+
signature.push(getKey(item, i));
|
|
2547
|
+
if (deps) for (const dep of deps) signature.push(get(item, dep));
|
|
2548
|
+
}
|
|
2549
|
+
return signature;
|
|
2550
|
+
}
|
|
2551
|
+
get renderedChildren() {
|
|
2552
|
+
let firstTime = this._firstTime;
|
|
2553
|
+
this._firstTime = false;
|
|
2554
|
+
let getKey = this.keyGetter;
|
|
2555
|
+
let oldChildren = this._renderedChildren;
|
|
2556
|
+
let oldItems = this._prevItems;
|
|
2557
|
+
let oldSignature = this._prevSignature;
|
|
2558
|
+
let newItems = this.items;
|
|
2559
|
+
let newSignature = this._identitySignature(newItems, getKey);
|
|
2560
|
+
let group = this.group || "__default__";
|
|
2561
|
+
this._prevItems = newItems ? newItems.slice() : [];
|
|
2562
|
+
this._prevSignature = newSignature;
|
|
2563
|
+
if (!newItems) newItems = [];
|
|
2564
|
+
let oldIndices = /* @__PURE__ */ new Map();
|
|
2565
|
+
oldChildren.forEach((child, index) => {
|
|
2566
|
+
oldIndices.set(child.id, index);
|
|
2567
|
+
});
|
|
2568
|
+
let newIndices = /* @__PURE__ */ new Map();
|
|
2569
|
+
newItems.forEach((item, index) => {
|
|
2570
|
+
newIndices.set(getKey(item, index), index);
|
|
2571
|
+
});
|
|
2572
|
+
let newChildren = newItems.map((value, listIndex) => {
|
|
2573
|
+
let id = getKey(value, listIndex);
|
|
2574
|
+
if (oldIndices.get(id) != null) {
|
|
2575
|
+
let child = new Child(group, id, value, listIndex);
|
|
2576
|
+
child.state = "kept";
|
|
2577
|
+
return child;
|
|
2578
|
+
} else return new Child(group, id, value, listIndex);
|
|
2579
|
+
}).concat(oldChildren.filter((child) => (!child.shouldRemove || !this._renderedChildrenStartedMoving) && newIndices.get(child.id) == null).map((child) => {
|
|
2580
|
+
child.flagForRemoval();
|
|
2581
|
+
return child;
|
|
2582
|
+
}));
|
|
2583
|
+
this._renderedChildren = newChildren;
|
|
2584
|
+
this._renderedChildrenStartedMoving = false;
|
|
2585
|
+
if (typeof FastBoot === "undefined" && !isStable(oldSignature, newSignature)) {
|
|
2586
|
+
let transition = this._transitionFor(firstTime, oldItems, newItems);
|
|
2587
|
+
this.animate.perform(transition, firstTime);
|
|
2588
|
+
}
|
|
2589
|
+
return newChildren;
|
|
2590
|
+
}
|
|
2591
|
+
static {
|
|
2592
|
+
decorateMethodV2(this.prototype, "renderedChildren", [computed("items.[]", "group")]);
|
|
2593
|
+
}
|
|
2594
|
+
static {
|
|
2595
|
+
decorateFieldV2(this.prototype, "isAnimating", [alias("animate.isRunning")]);
|
|
2596
|
+
}
|
|
2597
|
+
#isAnimating = (initializeDeferredDecorator(this, "isAnimating"), void 0);
|
|
2598
|
+
get keyGetter() {
|
|
2599
|
+
return keyForArray(this.key);
|
|
2600
|
+
}
|
|
2601
|
+
static {
|
|
2602
|
+
decorateMethodV2(this.prototype, "keyGetter", [computed("key")]);
|
|
2603
|
+
}
|
|
2604
|
+
didInsertElement() {
|
|
2605
|
+
super.didInsertElement();
|
|
2606
|
+
this._inserted = true;
|
|
2607
|
+
}
|
|
2608
|
+
*_ownElements() {
|
|
2609
|
+
if (!this._inserted) return;
|
|
2610
|
+
let { firstNode, lastNode } = componentNodes(this);
|
|
2611
|
+
let node = firstNode;
|
|
2612
|
+
while (node) {
|
|
2613
|
+
if (node.nodeType === Node.ELEMENT_NODE) yield node;
|
|
2614
|
+
if (node === lastNode) break;
|
|
2615
|
+
node = node.nextSibling;
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
maybeReanimate() {
|
|
2619
|
+
if (this.animate.isRunning && !this.startAnimation.isRunning) this.animate.perform(this._lastTransition);
|
|
2620
|
+
}
|
|
2621
|
+
static {
|
|
2622
|
+
decorateMethodV2(this.prototype, "maybeReanimate", [action]);
|
|
2623
|
+
}
|
|
2624
|
+
ancestorIsAnimating(ourState) {
|
|
2625
|
+
if (ourState === "removing" && !this._ancestorWillDestroyUs) {
|
|
2626
|
+
this._ancestorWillDestroyUs = true;
|
|
2627
|
+
this._letSpritesEscape();
|
|
2628
|
+
} else if (ourState !== "removing" && this._ancestorWillDestroyUs) {
|
|
2629
|
+
this._ancestorWillDestroyUs = false;
|
|
2630
|
+
let transition = this._transitionFor(this._firstTime, [], this._prevItems);
|
|
2631
|
+
this.animate.perform(transition);
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
static {
|
|
2635
|
+
decorateMethodV2(this.prototype, "ancestorIsAnimating", [action]);
|
|
2636
|
+
}
|
|
2637
|
+
_letSpritesEscape() {
|
|
2638
|
+
let transition = this._transitionFor(this._firstTime, this._prevItems, []);
|
|
2639
|
+
let removedSprites = [];
|
|
2640
|
+
let parent;
|
|
2641
|
+
for (let element of this._ownElements()) {
|
|
2642
|
+
if (!parent) parent = Sprite.offsetParentStartingAt(element);
|
|
2643
|
+
let sprite = Sprite.positionedStartingAt(element, parent);
|
|
2644
|
+
sprite.owner = this._elementToChild.get(element);
|
|
2645
|
+
removedSprites.push(sprite);
|
|
2646
|
+
}
|
|
2647
|
+
this.motionService.matchDestroyed(removedSprites, transition, this.durationWithDefault, this.finalRemoval);
|
|
2648
|
+
}
|
|
2649
|
+
willDestroyElement() {
|
|
2650
|
+
super.willDestroyElement();
|
|
2651
|
+
if (!this._ancestorWillDestroyUs) this._letSpritesEscape();
|
|
2652
|
+
this.motionService.unregister(this).unobserveDescendantAnimations(this, this.maybeReanimate).unobserveAncestorAnimations(this, this.ancestorIsAnimating);
|
|
2653
|
+
}
|
|
2654
|
+
beginStaticMeasurement() {
|
|
2655
|
+
if (this._keptSprites) {
|
|
2656
|
+
this._keptSprites.forEach((sprite) => sprite.unlock());
|
|
2657
|
+
this._insertedSprites.forEach((sprite) => sprite.unlock());
|
|
2658
|
+
this._removedSprites.forEach((sprite) => sprite.display(false));
|
|
2659
|
+
}
|
|
2660
|
+
}
|
|
2661
|
+
endStaticMeasurement() {
|
|
2662
|
+
if (this._keptSprites) {
|
|
2663
|
+
this._keptSprites.forEach((sprite) => sprite.lock());
|
|
2664
|
+
this._insertedSprites.forEach((sprite) => sprite.lock());
|
|
2665
|
+
this._removedSprites.forEach((sprite) => sprite.display(true));
|
|
2666
|
+
}
|
|
2667
|
+
}
|
|
2668
|
+
_findCurrentSprites() {
|
|
2669
|
+
let currentSprites = [];
|
|
2670
|
+
let parent;
|
|
2671
|
+
for (let element of this._ownElements()) {
|
|
2672
|
+
if (!parent) parent = Sprite.offsetParentStartingAt(element);
|
|
2673
|
+
let sprite = Sprite.positionedStartingAt(element, parent);
|
|
2674
|
+
currentSprites.push(sprite);
|
|
2675
|
+
}
|
|
2676
|
+
return {
|
|
2677
|
+
currentSprites,
|
|
2678
|
+
parent
|
|
2679
|
+
};
|
|
2680
|
+
}
|
|
2681
|
+
_partitionKeptAndRemovedSprites(currentSprites) {
|
|
2682
|
+
currentSprites.forEach((sprite) => {
|
|
2683
|
+
if (!sprite.element.parentElement) return;
|
|
2684
|
+
let child = this._elementToChild.get(sprite.element);
|
|
2685
|
+
sprite.owner = child;
|
|
2686
|
+
if (this._ancestorWillDestroyUs) this._removedSprites.push(sprite);
|
|
2687
|
+
else switch (child.state) {
|
|
2688
|
+
case "kept":
|
|
2689
|
+
this._keptSprites.push(sprite);
|
|
2690
|
+
break;
|
|
2691
|
+
case "removing":
|
|
2692
|
+
this._removedSprites.push(sprite);
|
|
2693
|
+
break;
|
|
2694
|
+
case "new":
|
|
2695
|
+
this._keptSprites.push(sprite);
|
|
2696
|
+
break;
|
|
2697
|
+
default: throw (0, import_assert_never.default)(child.state);
|
|
2698
|
+
}
|
|
2699
|
+
});
|
|
2700
|
+
}
|
|
2701
|
+
static {
|
|
2702
|
+
decorateFieldV2(this.prototype, "animate", [task(function* (transition, firstTime) {
|
|
2703
|
+
let { parent, currentSprites, insertedSprites, keptSprites, removedSprites } = yield this.startAnimation.perform(transition, current());
|
|
2704
|
+
let { matchingAnimatorsFinished } = yield this.runAnimation.perform(transition, parent, currentSprites, insertedSprites, keptSprites, removedSprites, firstTime);
|
|
2705
|
+
yield this.finalizeAnimation.perform(insertedSprites, keptSprites, removedSprites, matchingAnimatorsFinished);
|
|
2706
|
+
}).restartable()]);
|
|
2707
|
+
}
|
|
2708
|
+
#animate = (initializeDeferredDecorator(this, "animate"), void 0);
|
|
2709
|
+
static {
|
|
2710
|
+
decorateFieldV2(this.prototype, "startAnimation", [task(function* (transition, animateTask) {
|
|
2711
|
+
this._lastTransition = transition;
|
|
2712
|
+
let keptSprites = this._keptSprites = [];
|
|
2713
|
+
let removedSprites = this._removedSprites = [];
|
|
2714
|
+
let insertedSprites = this._insertedSprites = [];
|
|
2715
|
+
let { currentSprites, parent } = this._findCurrentSprites();
|
|
2716
|
+
this.motionService.willAnimate({
|
|
2717
|
+
task: animateTask,
|
|
2718
|
+
duration: this.durationWithDefault,
|
|
2719
|
+
component: this,
|
|
2720
|
+
children: this._renderedChildren
|
|
2721
|
+
});
|
|
2722
|
+
currentSprites.forEach((sprite) => sprite.lock());
|
|
2723
|
+
yield afterRender();
|
|
2724
|
+
return {
|
|
2725
|
+
parent,
|
|
2726
|
+
currentSprites,
|
|
2727
|
+
insertedSprites,
|
|
2728
|
+
keptSprites,
|
|
2729
|
+
removedSprites
|
|
2730
|
+
};
|
|
2731
|
+
})]);
|
|
2732
|
+
}
|
|
2733
|
+
#startAnimation = (initializeDeferredDecorator(this, "startAnimation"), void 0);
|
|
2734
|
+
static {
|
|
2735
|
+
decorateFieldV2(this.prototype, "runAnimation", [task(function* (transition, parent, currentSprites, insertedSprites, keptSprites, removedSprites, firstTime) {
|
|
2736
|
+
this._partitionKeptAndRemovedSprites(currentSprites);
|
|
2737
|
+
yield* this.motionService.staticMeasurement(() => {
|
|
2738
|
+
if (parent && !parent.finalBounds) parent.measureFinalBounds();
|
|
2739
|
+
for (let element of this._ownElements()) if (!currentSprites.find((sprite) => sprite.element === element)) {
|
|
2740
|
+
if (!parent) parent = Sprite.offsetParentEndingAt(element);
|
|
2741
|
+
let sprite = Sprite.positionedEndingAt(element, parent);
|
|
2742
|
+
sprite.owner = this._elementToChild.get(element);
|
|
2743
|
+
sprite.hide();
|
|
2744
|
+
insertedSprites.push(sprite);
|
|
2745
|
+
}
|
|
2746
|
+
keptSprites.forEach((sprite) => sprite.measureFinalBounds());
|
|
2747
|
+
});
|
|
2748
|
+
let { farMatches, matchingAnimatorsFinished, beacons } = yield this.motionService.get("farMatch").perform(current(), insertedSprites, keptSprites, removedSprites);
|
|
2749
|
+
if (parent && !parent.initialBounds) parent.measureInitialBounds();
|
|
2750
|
+
let [sentSprites, unmatchedRemovedSprites] = partition(removedSprites, (sprite) => {
|
|
2751
|
+
let other = farMatches.get(sprite);
|
|
2752
|
+
if (other) {
|
|
2753
|
+
sprite.endAtSprite(other);
|
|
2754
|
+
if (other.revealed && !sprite.revealed) sprite.startAtSprite(other);
|
|
2755
|
+
return true;
|
|
2756
|
+
}
|
|
2757
|
+
return false;
|
|
2758
|
+
});
|
|
2759
|
+
let [receivedSprites, unmatchedInsertedSprites] = partition(insertedSprites, (sprite) => {
|
|
2760
|
+
let other = farMatches.get(sprite);
|
|
2761
|
+
if (other) {
|
|
2762
|
+
sprite.startAtSprite(other);
|
|
2763
|
+
return true;
|
|
2764
|
+
}
|
|
2765
|
+
return false;
|
|
2766
|
+
});
|
|
2767
|
+
let [matchedKeptSprites, unmatchedKeptSprites] = partition(keptSprites, (sprite) => {
|
|
2768
|
+
let other = farMatches.get(sprite);
|
|
2769
|
+
if (other) {
|
|
2770
|
+
if (other.revealed && !sprite.revealed) sprite.startAtSprite(other);
|
|
2771
|
+
return true;
|
|
2772
|
+
}
|
|
2773
|
+
return false;
|
|
2774
|
+
});
|
|
2775
|
+
yield microwait();
|
|
2776
|
+
matchedKeptSprites.forEach((s) => s.hide());
|
|
2777
|
+
sentSprites.forEach((s) => s.hide());
|
|
2778
|
+
if (firstTime && !this.initialInsertion) {
|
|
2779
|
+
unmatchedInsertedSprites.forEach((s) => s.reveal());
|
|
2780
|
+
unmatchedInsertedSprites = [];
|
|
2781
|
+
}
|
|
2782
|
+
this._renderedChildrenStartedMoving = true;
|
|
2783
|
+
if (!transition || unmatchedInsertedSprites.length === 0 && unmatchedKeptSprites.length === 0 && unmatchedRemovedSprites.length === 0 && sentSprites.length === 0 && receivedSprites.length === 0 && matchedKeptSprites.length === 0) return { matchingAnimatorsFinished };
|
|
2784
|
+
let context = new TransitionContext(this.durationWithDefault, unmatchedInsertedSprites, unmatchedKeptSprites, unmatchedRemovedSprites, sentSprites, receivedSprites.concat(matchedKeptSprites), beacons, (sprite) => this._motionStarted(sprite, cycle), (sprite) => this._motionEnded(sprite, cycle));
|
|
2785
|
+
let cycle = this._cycleCounter++;
|
|
2786
|
+
yield* runToCompletion(context, transition);
|
|
2787
|
+
return { matchingAnimatorsFinished };
|
|
2788
|
+
})]);
|
|
2789
|
+
}
|
|
2790
|
+
#runAnimation = (initializeDeferredDecorator(this, "runAnimation"), void 0);
|
|
2791
|
+
static {
|
|
2792
|
+
decorateFieldV2(this.prototype, "finalizeAnimation", [task(function* (insertedSprites, keptSprites, removedSprites, matchingAnimatorsFinished) {
|
|
2793
|
+
yield matchingAnimatorsFinished;
|
|
2794
|
+
keptSprites.forEach((sprite) => {
|
|
2795
|
+
sprite.unlock();
|
|
2796
|
+
sprite.reveal();
|
|
2797
|
+
});
|
|
2798
|
+
insertedSprites.forEach((sprite) => {
|
|
2799
|
+
sprite.unlock();
|
|
2800
|
+
sprite.reveal();
|
|
2801
|
+
});
|
|
2802
|
+
this._keptSprites = null;
|
|
2803
|
+
this._removedSprites = null;
|
|
2804
|
+
this._insertedSprites = null;
|
|
2805
|
+
if (removedSprites.length > 0) {
|
|
2806
|
+
this.notifyPropertyChange("renderedChildren");
|
|
2807
|
+
yield afterRender();
|
|
2808
|
+
}
|
|
2809
|
+
})]);
|
|
2810
|
+
}
|
|
2811
|
+
#finalizeAnimation = (initializeDeferredDecorator(this, "finalizeAnimation"), void 0);
|
|
2812
|
+
_motionStarted(sprite, cycle) {
|
|
2813
|
+
sprite.reveal();
|
|
2814
|
+
sprite.owner.block(cycle);
|
|
2815
|
+
}
|
|
2816
|
+
_motionEnded(sprite, cycle) {
|
|
2817
|
+
sprite.owner.unblock(cycle);
|
|
2818
|
+
}
|
|
2819
|
+
_transitionFor(firstTime, oldItems, newItems) {
|
|
2820
|
+
let rules = this.rules;
|
|
2821
|
+
if (rules) return rules({
|
|
2822
|
+
firstTime,
|
|
2823
|
+
oldItems,
|
|
2824
|
+
newItems
|
|
2825
|
+
});
|
|
2826
|
+
else return this.use;
|
|
2827
|
+
}
|
|
2828
|
+
static {
|
|
2829
|
+
setComponentTemplate(templateFactory({
|
|
2830
|
+
"id": "TB4qeXUr",
|
|
2831
|
+
"block": "[[[42,[28,[31,1],[[28,[31,1],[[30,0,[\"renderedChildren\"]]],null]],null],\"id\",[[[8,[32,0],null,[[\"@child\",\"@elementToChild\"],[[30,1],[30,0,[\"_elementToChild\"]]]],[[\"default\"],[[[[18,2,[[30,1,[\"value\"]],[30,1,[\"index\"]]]]],[]]]]]],[1]],[[[18,3,null]],[]]],[1,\" \"]],[\"child\",\"&default\",\"&else\"],[\"each\",\"-track-array\",\"yield\"]]",
|
|
2832
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-each.js",
|
|
2833
|
+
"scope": () => [EaListElement],
|
|
2834
|
+
"isStrictMode": true
|
|
2835
|
+
}), this);
|
|
2836
|
+
}
|
|
2837
|
+
};
|
|
2838
|
+
function isStable(before, after) {
|
|
2839
|
+
if (before.length !== after.length) return false;
|
|
2840
|
+
for (let i = 0; i < before.length; i++) if (before[i] !== after[i]) return false;
|
|
2841
|
+
return true;
|
|
2842
|
+
}
|
|
2843
|
+
//#endregion
|
|
2844
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-value.js
|
|
2845
|
+
/**
|
|
2846
|
+
A component that animates when a single value changes.
|
|
2847
|
+
Animated-value uses the same arguments as animated-each.
|
|
2848
|
+
|
|
2849
|
+
```hbs
|
|
2850
|
+
<AnimatedContainer>
|
|
2851
|
+
{{#animated-value this.counter rules=this.rules duration=100 as |v|}}
|
|
2852
|
+
<span class="numbers">{{v}}</span>
|
|
2853
|
+
{{/animated-value}}
|
|
2854
|
+
</AnimatedContainer>
|
|
2855
|
+
|
|
2856
|
+
<button {{action "increment"}}>+</button>
|
|
2857
|
+
<button {{action "decrement"}}>-</button>
|
|
2858
|
+
```
|
|
2859
|
+
|
|
2860
|
+
```js
|
|
2861
|
+
import Component from '@ember/component';
|
|
2862
|
+
import { toLeft, toRight } from 'ember-animated/transitions/move-over';
|
|
2863
|
+
|
|
2864
|
+
export default Component.extend({
|
|
2865
|
+
rules({ oldItems, newItems }) {
|
|
2866
|
+
if (oldItems[0] < newItems[0]) {
|
|
2867
|
+
return toLeft;
|
|
2868
|
+
} else {
|
|
2869
|
+
return toRight;
|
|
2870
|
+
}
|
|
2871
|
+
},
|
|
2872
|
+
|
|
2873
|
+
counter: 10,
|
|
2874
|
+
|
|
2875
|
+
actions: {
|
|
2876
|
+
increment() {
|
|
2877
|
+
this.set('counter', this.get('counter') + 1);
|
|
2878
|
+
},
|
|
2879
|
+
decrement() {
|
|
2880
|
+
this.set('counter', this.get('counter') - 1);
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
});
|
|
2884
|
+
```
|
|
2885
|
+
@class animated-value
|
|
2886
|
+
@public
|
|
2887
|
+
*/
|
|
2888
|
+
var AnimatedValueComponent = class extends Component {
|
|
2889
|
+
/**
|
|
2890
|
+
* The data you are trying to render.
|
|
2891
|
+
@argument items
|
|
2892
|
+
@type unknown
|
|
2893
|
+
*/
|
|
2894
|
+
value;
|
|
2895
|
+
tagName = "";
|
|
2896
|
+
finalRemoval;
|
|
2897
|
+
initialInsertion;
|
|
2898
|
+
watch;
|
|
2899
|
+
key;
|
|
2900
|
+
group;
|
|
2901
|
+
rules;
|
|
2902
|
+
use;
|
|
2903
|
+
duration;
|
|
2904
|
+
static positionalParams = ["value"];
|
|
2905
|
+
get items() {
|
|
2906
|
+
return A([this.value]);
|
|
2907
|
+
}
|
|
2908
|
+
static {
|
|
2909
|
+
decorateMethodV2(this.prototype, "items", [computed("value")]);
|
|
2910
|
+
}
|
|
2911
|
+
static {
|
|
2912
|
+
setComponentTemplate(templateFactory({
|
|
2913
|
+
"id": "bfeQqXYb",
|
|
2914
|
+
"block": "[[[1,\"\\n\"],[6,[32,0],[[30,0,[\"items\"]]],[[\"key\",\"rules\",\"use\",\"duration\",\"group\",\"watch\",\"initialInsertion\",\"finalRemoval\"],[[30,0,[\"key\"]],[30,0,[\"rules\"]],[30,0,[\"use\"]],[30,0,[\"duration\"]],[30,0,[\"group\"]],[30,0,[\"watch\"]],[30,0,[\"initialInsertion\"]],[30,0,[\"finalRemoval\"]]]],[[\"default\"],[[[[1,\" \"],[18,2,[[30,1]]],[1,\"\\n\"]],[1]]]]],[1,\" \"]],[\"item\",\"&default\"],[\"yield\"]]",
|
|
2915
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-value.js",
|
|
2916
|
+
"scope": () => [AnimatedEach],
|
|
2917
|
+
"isStrictMode": true
|
|
2918
|
+
}), this);
|
|
2919
|
+
}
|
|
2920
|
+
};
|
|
2921
|
+
//#endregion
|
|
2922
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-if.js
|
|
2923
|
+
/**
|
|
2924
|
+
A drop in replacement for `{{#if}}` that animates changes when the predicate changes.
|
|
2925
|
+
Animated-if uses the same arguments as animated-each.
|
|
2926
|
+
|
|
2927
|
+
```hbs
|
|
2928
|
+
<button {{on 'click' this.toggleThing}}>Toggle</button>
|
|
2929
|
+
|
|
2930
|
+
{{#animated-if showThing use=transition}}
|
|
2931
|
+
<div class="message" {{on 'click' this.toggleThing}} role="button">
|
|
2932
|
+
myContent
|
|
2933
|
+
</div>
|
|
2934
|
+
{{/animated-if}}
|
|
2935
|
+
```
|
|
2936
|
+
|
|
2937
|
+
```js
|
|
2938
|
+
import Component from '@glimmer/component';
|
|
2939
|
+
import move from 'ember-animated/motions/move';
|
|
2940
|
+
import { easeOut, easeIn } from 'ember-animated/easings/cosine';
|
|
2941
|
+
import { tracked } from '@glimmer/tracking';
|
|
2942
|
+
|
|
2943
|
+
export default class FooComponent extends Component {
|
|
2944
|
+
@tracked showThing = false;
|
|
2945
|
+
|
|
2946
|
+
toggleThing() {
|
|
2947
|
+
this.showThing = !this.showThing;
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2950
|
+
// eslint-disable-next-line require-yield
|
|
2951
|
+
*transition({ insertedSprites, keptSprites, removedSprites }) {
|
|
2952
|
+
for (let sprite of insertedSprites) {
|
|
2953
|
+
sprite.startAtPixel({ x: window.innerWidth });
|
|
2954
|
+
move(sprite, { easing: easeOut });
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
for (let sprite of keptSprites) {
|
|
2958
|
+
move(sprite);
|
|
2959
|
+
}
|
|
2960
|
+
|
|
2961
|
+
for (let sprite of removedSprites) {
|
|
2962
|
+
sprite.endAtPixel({ x: window.innerWidth });
|
|
2963
|
+
move(sprite, { easing: easeIn });
|
|
2964
|
+
}
|
|
2965
|
+
}
|
|
2966
|
+
};
|
|
2967
|
+
```
|
|
2968
|
+
@class animated-if
|
|
2969
|
+
@public
|
|
2970
|
+
*/
|
|
2971
|
+
var AnimatedIfComponent = class extends Component {
|
|
2972
|
+
tagName = "";
|
|
2973
|
+
static positionalParams = ["predicate"];
|
|
2974
|
+
predicate;
|
|
2975
|
+
group;
|
|
2976
|
+
finalRemoval;
|
|
2977
|
+
initialInsertion;
|
|
2978
|
+
key;
|
|
2979
|
+
rules;
|
|
2980
|
+
use;
|
|
2981
|
+
duration;
|
|
2982
|
+
get realGroup() {
|
|
2983
|
+
return this.group || `animated_if_${Math.floor(Math.random() * 1e6)}`;
|
|
2984
|
+
}
|
|
2985
|
+
static {
|
|
2986
|
+
decorateMethodV2(this.prototype, "realGroup", [computed("group")]);
|
|
2987
|
+
}
|
|
2988
|
+
static {
|
|
2989
|
+
setComponentTemplate(templateFactory({
|
|
2990
|
+
"id": "ZsGP7Nvw",
|
|
2991
|
+
"block": "[[[1,\"\\n \"],[8,[32,0],null,[[\"@value\",\"@key\",\"@rules\",\"@use\",\"@duration\",\"@group\",\"@initialInsertion\",\"@finalRemoval\"],[[30,0,[\"predicate\"]],[30,0,[\"key\"]],[30,0,[\"rules\"]],[30,0,[\"use\"]],[30,0,[\"duration\"]],[30,0,[\"realGroup\"]],[30,0,[\"initialInsertion\"]],[30,0,[\"finalRemoval\"]]]],[[\"default\"],[[[[1,\"\\n\"],[41,[30,1],[[[1,\" \"],[18,2,null],[1,\"\\n\"]],[]],[[[1,\" \"],[18,3,null],[1,\"\\n\"]],[]]],[1,\" \"]],[1]]]]],[1,\"\\n \"]],[\"currentPredicate\",\"&default\",\"&else\"],[\"if\",\"yield\"]]",
|
|
2992
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-if.js",
|
|
2993
|
+
"scope": () => [AnimatedValueComponent],
|
|
2994
|
+
"isStrictMode": true
|
|
2995
|
+
}), this);
|
|
2996
|
+
}
|
|
2997
|
+
};
|
|
2998
|
+
//#endregion
|
|
2999
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/element-remove-8rRE7jKB.js
|
|
3000
|
+
(function(arr) {
|
|
3001
|
+
arr.forEach(function(item) {
|
|
3002
|
+
if (Object.prototype.hasOwnProperty.call(item, "remove")) return;
|
|
3003
|
+
Object.defineProperty(item, "remove", {
|
|
3004
|
+
configurable: true,
|
|
3005
|
+
enumerable: true,
|
|
3006
|
+
writable: true,
|
|
3007
|
+
value: function remove() {
|
|
3008
|
+
this.parentNode.removeChild(this);
|
|
3009
|
+
}
|
|
3010
|
+
});
|
|
3011
|
+
});
|
|
3012
|
+
})([
|
|
3013
|
+
window.Element,
|
|
3014
|
+
window.CharacterData,
|
|
3015
|
+
window.DocumentType
|
|
3016
|
+
].filter((klass) => klass).map((klass) => klass.prototype));
|
|
3017
|
+
//#endregion
|
|
3018
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-orphans.js
|
|
3019
|
+
var service = service$4 ?? inject;
|
|
3020
|
+
/**
|
|
3021
|
+
A component that adopts any orphaned sprites so they can continue animating even
|
|
3022
|
+
after their original parent component has been destroyed. This relies on cloning
|
|
3023
|
+
DOM nodes, and the cloned nodes will be inserted as children of animated-orphans.
|
|
3024
|
+
|
|
3025
|
+
```hbs
|
|
3026
|
+
<AnimatedOrphans/>
|
|
3027
|
+
```
|
|
3028
|
+
@class animated-orphans
|
|
3029
|
+
@public
|
|
3030
|
+
*/
|
|
3031
|
+
var AnimatedOrphans = class extends Component {
|
|
3032
|
+
init(...args) {
|
|
3033
|
+
super.init(...args);
|
|
3034
|
+
this.classNames = this.classNames.concat(["animated-orphans"]);
|
|
3035
|
+
}
|
|
3036
|
+
static {
|
|
3037
|
+
decorateFieldV2(this.prototype, "motionService", [service("-ea-motion")]);
|
|
3038
|
+
}
|
|
3039
|
+
#motionService = (initializeDeferredDecorator(this, "motionService"), void 0);
|
|
3040
|
+
_newOrphanTransitions = [];
|
|
3041
|
+
_elementToChild = /* @__PURE__ */ new WeakMap();
|
|
3042
|
+
_childToTransition = /* @__PURE__ */ new WeakMap();
|
|
3043
|
+
_inserted = false;
|
|
3044
|
+
_cycleCounter = 0;
|
|
3045
|
+
didInsertElement() {
|
|
3046
|
+
super.didInsertElement();
|
|
3047
|
+
this._inserted = true;
|
|
3048
|
+
this.motionService.register(this).observeOrphans(this.animateOrphans).observeAnimations(this.reanimate);
|
|
3049
|
+
}
|
|
3050
|
+
willDestroyElement() {
|
|
3051
|
+
super.willDestroyElement();
|
|
3052
|
+
this.motionService.unregister(this).unobserveOrphans(this.animateOrphans).unobserveAnimations(this.reanimate);
|
|
3053
|
+
}
|
|
3054
|
+
animateOrphans(removedSprites, transition, duration, shouldAnimateRemoved) {
|
|
3055
|
+
this._newOrphanTransitions.push({
|
|
3056
|
+
removedSprites: removedSprites.map((sprite) => {
|
|
3057
|
+
sprite.assertHasOwner();
|
|
3058
|
+
sprite.owner = sprite.owner.clone();
|
|
3059
|
+
sprite.owner.flagForRemoval();
|
|
3060
|
+
return sprite;
|
|
3061
|
+
}),
|
|
3062
|
+
transition,
|
|
3063
|
+
duration,
|
|
3064
|
+
shouldAnimateRemoved
|
|
3065
|
+
});
|
|
3066
|
+
this.reanimate();
|
|
3067
|
+
}
|
|
3068
|
+
static {
|
|
3069
|
+
decorateMethodV2(this.prototype, "animateOrphans", [action]);
|
|
3070
|
+
}
|
|
3071
|
+
reanimate() {
|
|
3072
|
+
if (!this.get("startAnimation.isRunning")) {
|
|
3073
|
+
let ownSprite = new Sprite(this.element, true, null, null);
|
|
3074
|
+
let activeSprites = this._findActiveSprites(ownSprite);
|
|
3075
|
+
this.animate.perform({
|
|
3076
|
+
ownSprite,
|
|
3077
|
+
activeSprites
|
|
3078
|
+
});
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
static {
|
|
3082
|
+
decorateMethodV2(this.prototype, "reanimate", [action]);
|
|
3083
|
+
}
|
|
3084
|
+
beginStaticMeasurement() {}
|
|
3085
|
+
endStaticMeasurement() {}
|
|
3086
|
+
static {
|
|
3087
|
+
decorateFieldV2(this.prototype, "isAnimating", [alias("animate.isRunning")]);
|
|
3088
|
+
}
|
|
3089
|
+
#isAnimating = (initializeDeferredDecorator(this, "isAnimating"), void 0);
|
|
3090
|
+
static {
|
|
3091
|
+
decorateFieldV2(this.prototype, "animate", [task(function* ({ ownSprite, activeSprites }) {
|
|
3092
|
+
yield this.startAnimation.perform(ownSprite);
|
|
3093
|
+
let { matchingAnimatorsFinished } = yield this.runAnimation.perform(activeSprites, ownSprite);
|
|
3094
|
+
yield this.finalizeAnimation.perform(activeSprites, matchingAnimatorsFinished);
|
|
3095
|
+
}).restartable()]);
|
|
3096
|
+
}
|
|
3097
|
+
#animate = (initializeDeferredDecorator(this, "animate"), void 0);
|
|
3098
|
+
static {
|
|
3099
|
+
decorateFieldV2(this.prototype, "startAnimation", [task(function* (ownSprite) {
|
|
3100
|
+
yield afterRender();
|
|
3101
|
+
ownSprite.measureFinalBounds();
|
|
3102
|
+
})]);
|
|
3103
|
+
}
|
|
3104
|
+
#startAnimation = (initializeDeferredDecorator(this, "startAnimation"), void 0);
|
|
3105
|
+
static {
|
|
3106
|
+
decorateFieldV2(this.prototype, "runAnimation", [task(function* (activeSprites, ownSprite) {
|
|
3107
|
+
yield* this.motionService.staticMeasurement(() => {});
|
|
3108
|
+
{
|
|
3109
|
+
let activeIds = Object.create(null);
|
|
3110
|
+
for (let sprite of activeSprites) activeIds[`${sprite.owner.group}/${sprite.owner.id}`] = true;
|
|
3111
|
+
for (let entry of this._newOrphanTransitions) entry.removedSprites = entry.removedSprites.filter((s) => {
|
|
3112
|
+
s.assertHasOwner();
|
|
3113
|
+
return !activeIds[`${s.owner.group}/${s.owner.id}`];
|
|
3114
|
+
});
|
|
3115
|
+
}
|
|
3116
|
+
let { farMatches, matchingAnimatorsFinished } = yield this.motionService.get("farMatch").perform(current(), [], [], activeSprites.concat(...this._newOrphanTransitions.map((t) => t.removedSprites)));
|
|
3117
|
+
let cycle = this._cycleCounter++;
|
|
3118
|
+
for (let { transition, duration, sprites } of this._groupActiveSprites(activeSprites)) {
|
|
3119
|
+
let [sentSprites, removedSprites] = partition(sprites, (sprite) => {
|
|
3120
|
+
let other = farMatches.get(sprite);
|
|
3121
|
+
if (other) {
|
|
3122
|
+
sprite.endAtSprite(other);
|
|
3123
|
+
if (other.revealed && !sprite.revealed) sprite.startAtSprite(other);
|
|
3124
|
+
return true;
|
|
3125
|
+
}
|
|
3126
|
+
return false;
|
|
3127
|
+
});
|
|
3128
|
+
let context = new TransitionContext(duration, [], [], removedSprites, sentSprites, [], {}, this._onMotionStart.bind(this, cycle), this._onMotionEnd.bind(this, cycle));
|
|
3129
|
+
spawnChild(function* () {
|
|
3130
|
+
yield microwait();
|
|
3131
|
+
sentSprites.forEach((s) => s.hide());
|
|
3132
|
+
yield* runToCompletion(context, transition);
|
|
3133
|
+
});
|
|
3134
|
+
}
|
|
3135
|
+
while (this._newOrphanTransitions.length > 0) {
|
|
3136
|
+
let entry = this._newOrphanTransitions.pop();
|
|
3137
|
+
let { transition, duration, removedSprites, shouldAnimateRemoved } = entry;
|
|
3138
|
+
if (removedSprites.length === 0) continue;
|
|
3139
|
+
for (let _sprite of removedSprites) {
|
|
3140
|
+
let sprite = _sprite;
|
|
3141
|
+
sprite.assertHasOwner();
|
|
3142
|
+
sprite.rehome(ownSprite);
|
|
3143
|
+
this._childToTransition.set(sprite.owner, entry);
|
|
3144
|
+
}
|
|
3145
|
+
let [sentSprites, unmatchedRemovedSprites] = partition(removedSprites, (sprite) => {
|
|
3146
|
+
let other = farMatches.get(sprite);
|
|
3147
|
+
if (other) {
|
|
3148
|
+
sprite.endAtSprite(other);
|
|
3149
|
+
if (other.revealed && !sprite.revealed) sprite.startAtSprite(other);
|
|
3150
|
+
return true;
|
|
3151
|
+
}
|
|
3152
|
+
return false;
|
|
3153
|
+
});
|
|
3154
|
+
let self = this;
|
|
3155
|
+
spawnChild(function* () {
|
|
3156
|
+
yield microwait();
|
|
3157
|
+
sentSprites.forEach((s) => s.hide());
|
|
3158
|
+
if (!transition) return;
|
|
3159
|
+
let removedSprites;
|
|
3160
|
+
if (shouldAnimateRemoved) removedSprites = unmatchedRemovedSprites;
|
|
3161
|
+
else removedSprites = [];
|
|
3162
|
+
if (removedSprites.length === 0 && sentSprites.length === 0) return;
|
|
3163
|
+
let context = new TransitionContext(duration, [], [], removedSprites, sentSprites, [], {}, self._onFirstMotionStart.bind(self, activeSprites, cycle), self._onMotionEnd.bind(self, cycle));
|
|
3164
|
+
context.prepareSprite = self._prepareSprite.bind(self);
|
|
3165
|
+
yield* runToCompletion(context, transition);
|
|
3166
|
+
});
|
|
3167
|
+
}
|
|
3168
|
+
yield childrenSettled();
|
|
3169
|
+
return { matchingAnimatorsFinished };
|
|
3170
|
+
})]);
|
|
3171
|
+
}
|
|
3172
|
+
#runAnimation = (initializeDeferredDecorator(this, "runAnimation"), void 0);
|
|
3173
|
+
static {
|
|
3174
|
+
decorateFieldV2(this.prototype, "finalizeAnimation", [task(function* (activeSprites, matchingAnimatorsFinished) {
|
|
3175
|
+
yield matchingAnimatorsFinished;
|
|
3176
|
+
for (let sprite of activeSprites) sprite.element.remove();
|
|
3177
|
+
})]);
|
|
3178
|
+
}
|
|
3179
|
+
#finalizeAnimation = (initializeDeferredDecorator(this, "finalizeAnimation"), void 0);
|
|
3180
|
+
_findActiveSprites(ownSprite) {
|
|
3181
|
+
if (!this._inserted) return [];
|
|
3182
|
+
return Array.from(this.element.children).map((element) => {
|
|
3183
|
+
let child = this._elementToChild.get(element);
|
|
3184
|
+
if (child.shouldRemove) {
|
|
3185
|
+
element.remove();
|
|
3186
|
+
return;
|
|
3187
|
+
} else {
|
|
3188
|
+
let sprite = Sprite.positionedStartingAt(element, ownSprite);
|
|
3189
|
+
sprite.owner = child;
|
|
3190
|
+
child.flagForRemoval();
|
|
3191
|
+
return sprite;
|
|
3192
|
+
}
|
|
3193
|
+
}).filter(Boolean);
|
|
3194
|
+
}
|
|
3195
|
+
_groupActiveSprites(activeSprites) {
|
|
3196
|
+
let groups = [];
|
|
3197
|
+
for (let _sprite of activeSprites) {
|
|
3198
|
+
let sprite = _sprite;
|
|
3199
|
+
sprite.assertHasOwner();
|
|
3200
|
+
let { transition, duration } = this._childToTransition.get(sprite.owner);
|
|
3201
|
+
let group = groups.find((g) => g.transition === transition);
|
|
3202
|
+
if (!group) {
|
|
3203
|
+
group = {
|
|
3204
|
+
transition,
|
|
3205
|
+
duration,
|
|
3206
|
+
sprites: []
|
|
3207
|
+
};
|
|
3208
|
+
groups.push(group);
|
|
3209
|
+
}
|
|
3210
|
+
group.sprites.push(sprite);
|
|
3211
|
+
}
|
|
3212
|
+
return groups;
|
|
3213
|
+
}
|
|
3214
|
+
_prepareSprite(sprite) {
|
|
3215
|
+
sprite.hide();
|
|
3216
|
+
let newElement = sprite.element.cloneNode(true);
|
|
3217
|
+
continueMotions(sprite.element, newElement);
|
|
3218
|
+
sprite.element = newElement;
|
|
3219
|
+
return sprite;
|
|
3220
|
+
}
|
|
3221
|
+
_onFirstMotionStart(activeSprites, cycle, sprite) {
|
|
3222
|
+
if (activeSprites.indexOf(sprite) === -1) {
|
|
3223
|
+
let s = Object.assign({}, sprite.initialComputedStyle);
|
|
3224
|
+
delete s["line-height"];
|
|
3225
|
+
sprite.applyStyles(s);
|
|
3226
|
+
this.element.appendChild(sprite.element);
|
|
3227
|
+
sprite.lock();
|
|
3228
|
+
sprite.reveal();
|
|
3229
|
+
activeSprites.push(sprite);
|
|
3230
|
+
this._elementToChild.set(sprite.element, sprite.owner);
|
|
3231
|
+
}
|
|
3232
|
+
sprite.assertHasOwner();
|
|
3233
|
+
sprite.owner.block(cycle);
|
|
3234
|
+
}
|
|
3235
|
+
_onMotionStart(cycle, sprite) {
|
|
3236
|
+
sprite.assertHasOwner();
|
|
3237
|
+
sprite.reveal();
|
|
3238
|
+
sprite.owner.block(cycle);
|
|
3239
|
+
}
|
|
3240
|
+
_onMotionEnd(cycle, sprite) {
|
|
3241
|
+
sprite.assertHasOwner();
|
|
3242
|
+
sprite.owner.unblock(cycle);
|
|
3243
|
+
}
|
|
3244
|
+
static {
|
|
3245
|
+
setComponentTemplate(templateFactory({
|
|
3246
|
+
"id": "r32EN1l0",
|
|
3247
|
+
"block": "[[[1,\"\\n\"],[1,\" \"],[18,1,null],[1,\"\\n \"]],[\"&default\"],[\"yield\"]]",
|
|
3248
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-orphans.js",
|
|
3249
|
+
"isStrictMode": true
|
|
3250
|
+
}), this);
|
|
3251
|
+
}
|
|
3252
|
+
};
|
|
3253
|
+
//#endregion
|
|
3254
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/index.js
|
|
3255
|
+
var dist_exports = /* @__PURE__ */ __exportAll({
|
|
3256
|
+
AnimatedBeacon: () => AnimatedBeacon,
|
|
3257
|
+
AnimatedContainer: () => AnimatedContainerComponent,
|
|
3258
|
+
AnimatedOrphans: () => AnimatedOrphans,
|
|
3259
|
+
Motion: () => Motion,
|
|
3260
|
+
Tween: () => Tween,
|
|
3261
|
+
afterRender: () => afterRender,
|
|
3262
|
+
allSettled: () => allSettled,
|
|
3263
|
+
animatedEach: () => AnimatedEach,
|
|
3264
|
+
animatedIf: () => AnimatedIfComponent,
|
|
3265
|
+
animatedValue: () => AnimatedValueComponent,
|
|
3266
|
+
childrenSettled: () => childrenSettled,
|
|
3267
|
+
clock: () => clock,
|
|
3268
|
+
continueMotions: () => continueMotions,
|
|
3269
|
+
current: () => current,
|
|
3270
|
+
microwait: () => microwait,
|
|
3271
|
+
parallel: () => parallel,
|
|
3272
|
+
printSprites: () => printSprites,
|
|
3273
|
+
rAF: () => rAF,
|
|
3274
|
+
serial: () => serial,
|
|
3275
|
+
spawn: () => spawn,
|
|
3276
|
+
spawnChild: () => spawnChild,
|
|
3277
|
+
stop: () => stop,
|
|
3278
|
+
task: () => task,
|
|
3279
|
+
wait: () => wait
|
|
3280
|
+
});
|
|
3281
|
+
//#endregion
|
|
3282
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/easings/linear.js
|
|
3283
|
+
var linear_exports = /* @__PURE__ */ __exportAll({ default: () => linear });
|
|
3284
|
+
function linear(t) {
|
|
3285
|
+
return t;
|
|
3286
|
+
}
|
|
3287
|
+
//#endregion
|
|
3288
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/color-DWpDqA22.js
|
|
3289
|
+
var Color = class Color {
|
|
3290
|
+
static fromComputedStyle(colorString) {
|
|
3291
|
+
let channels = parseComputedColor(colorString);
|
|
3292
|
+
return new Color(channels, channels.m[0]);
|
|
3293
|
+
}
|
|
3294
|
+
static fromUserProvidedColor(colorString) {
|
|
3295
|
+
return new Color(parseUserProvidedColor(colorString), colorString);
|
|
3296
|
+
}
|
|
3297
|
+
toString() {
|
|
3298
|
+
return `rgba(${this.r}, ${this.g}, ${this.b}, ${this.a})`;
|
|
3299
|
+
}
|
|
3300
|
+
r;
|
|
3301
|
+
g;
|
|
3302
|
+
b;
|
|
3303
|
+
a;
|
|
3304
|
+
constructor({ r, g, b, a }, sourceString) {
|
|
3305
|
+
this.sourceString = sourceString;
|
|
3306
|
+
this.r = r;
|
|
3307
|
+
this.g = g;
|
|
3308
|
+
this.b = b;
|
|
3309
|
+
this.a = a;
|
|
3310
|
+
}
|
|
3311
|
+
};
|
|
3312
|
+
var ColorTween = class {
|
|
3313
|
+
rTween;
|
|
3314
|
+
gTween;
|
|
3315
|
+
bTween;
|
|
3316
|
+
aTween;
|
|
3317
|
+
constructor(initialColor, finalColor, duration, easing = linear) {
|
|
3318
|
+
this.rTween = new Tween(initialColor.r * initialColor.a, finalColor.r * finalColor.a, duration, easing);
|
|
3319
|
+
this.gTween = new Tween(initialColor.g * initialColor.a, finalColor.g * finalColor.a, duration, easing);
|
|
3320
|
+
this.bTween = new Tween(initialColor.b * initialColor.a, finalColor.b * finalColor.a, duration, easing);
|
|
3321
|
+
this.aTween = new Tween(initialColor.a, finalColor.a, duration, easing);
|
|
3322
|
+
}
|
|
3323
|
+
get currentValue() {
|
|
3324
|
+
let nonZeroAlpha = this.aTween.currentValue || 1;
|
|
3325
|
+
return new Color({
|
|
3326
|
+
r: Math.floor(this.rTween.currentValue / nonZeroAlpha),
|
|
3327
|
+
g: Math.floor(this.gTween.currentValue / nonZeroAlpha),
|
|
3328
|
+
b: Math.floor(this.bTween.currentValue / nonZeroAlpha),
|
|
3329
|
+
a: this.aTween.currentValue
|
|
3330
|
+
}, "");
|
|
3331
|
+
}
|
|
3332
|
+
get done() {
|
|
3333
|
+
return [
|
|
3334
|
+
this.rTween,
|
|
3335
|
+
this.gTween,
|
|
3336
|
+
this.bTween,
|
|
3337
|
+
this.aTween
|
|
3338
|
+
].every((tween) => tween.done);
|
|
3339
|
+
}
|
|
3340
|
+
};
|
|
3341
|
+
function parseComputedColor(c) {
|
|
3342
|
+
let m = /^rgb\((\d+), (\d+), (\d+)\)/.exec(c);
|
|
3343
|
+
if (m) return {
|
|
3344
|
+
r: parseInt(m[1]),
|
|
3345
|
+
g: parseInt(m[2]),
|
|
3346
|
+
b: parseInt(m[3]),
|
|
3347
|
+
a: 1,
|
|
3348
|
+
m
|
|
3349
|
+
};
|
|
3350
|
+
m = /^rgba\((\d+), (\d+), (\d+), (\d+(?:\.\d+)?)\)/.exec(c);
|
|
3351
|
+
if (m) return {
|
|
3352
|
+
r: parseInt(m[1]),
|
|
3353
|
+
g: parseInt(m[2]),
|
|
3354
|
+
b: parseInt(m[3]),
|
|
3355
|
+
a: parseFloat(m[4]),
|
|
3356
|
+
m
|
|
3357
|
+
};
|
|
3358
|
+
throw new Error(`unable to parse color ${c}`);
|
|
3359
|
+
}
|
|
3360
|
+
function parseUserProvidedColor(c) {
|
|
3361
|
+
let testElement = document.createElement("div");
|
|
3362
|
+
testElement.style.display = "none";
|
|
3363
|
+
testElement.style.color = c;
|
|
3364
|
+
document.body.appendChild(testElement);
|
|
3365
|
+
let result = parseComputedColor(getComputedStyle(testElement).color);
|
|
3366
|
+
testElement.remove();
|
|
3367
|
+
return result;
|
|
3368
|
+
}
|
|
3369
|
+
//#endregion
|
|
3370
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/adjust-color.js
|
|
3371
|
+
var adjust_color_exports = /* @__PURE__ */ __exportAll({
|
|
3372
|
+
AdjustColor: () => AdjustColor,
|
|
3373
|
+
default: () => adjustColor
|
|
3374
|
+
});
|
|
3375
|
+
function adjustColor(propertyName, sprite, opts = {}) {
|
|
3376
|
+
return new AdjustColor(propertyName, sprite, opts).run();
|
|
3377
|
+
}
|
|
3378
|
+
adjustColor.property = function(propertyName) {
|
|
3379
|
+
return this.bind(null, propertyName);
|
|
3380
|
+
};
|
|
3381
|
+
var AdjustColor = class extends Motion {
|
|
3382
|
+
colorTween = null;
|
|
3383
|
+
constructor(propertyName, sprite, opts = {}) {
|
|
3384
|
+
super(sprite, opts);
|
|
3385
|
+
this.propertyName = propertyName;
|
|
3386
|
+
}
|
|
3387
|
+
*animate() {
|
|
3388
|
+
let from;
|
|
3389
|
+
let to;
|
|
3390
|
+
if (this.opts.from != null) from = Color.fromUserProvidedColor(this.opts.from);
|
|
3391
|
+
else if (this.sprite.initialComputedStyle) from = Color.fromComputedStyle(this.sprite.initialComputedStyle[this.propertyName]);
|
|
3392
|
+
else {
|
|
3393
|
+
this.sprite.assertHasFinalBounds();
|
|
3394
|
+
from = Color.fromComputedStyle(this.sprite.finalComputedStyle[this.propertyName]);
|
|
3395
|
+
}
|
|
3396
|
+
if (this.opts.to != null) to = Color.fromUserProvidedColor(this.opts.to);
|
|
3397
|
+
else if (this.sprite.finalComputedStyle) to = Color.fromComputedStyle(this.sprite.finalComputedStyle[this.propertyName]);
|
|
3398
|
+
else {
|
|
3399
|
+
this.sprite.assertHasInitialBounds();
|
|
3400
|
+
to = Color.fromComputedStyle(this.sprite.initialComputedStyle[this.propertyName]);
|
|
3401
|
+
}
|
|
3402
|
+
this.colorTween = new ColorTween(from, to, this.duration, this.opts.easing);
|
|
3403
|
+
while (!this.colorTween.done) {
|
|
3404
|
+
this.sprite.applyStyles({ [this.propertyName]: this.colorTween.currentValue.toString() });
|
|
3405
|
+
yield rAF();
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
};
|
|
3409
|
+
//#endregion
|
|
3410
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/adjust-css.js
|
|
3411
|
+
var adjust_css_exports = /* @__PURE__ */ __exportAll({
|
|
3412
|
+
AdjustCSS: () => AdjustCSS,
|
|
3413
|
+
default: () => adjustCSS
|
|
3414
|
+
});
|
|
3415
|
+
/**
|
|
3416
|
+
Animates the change in style of a Sprite. Applies to CSS properties that are a unit and a number (font-size, letter spacing, etc.).
|
|
3417
|
+
|
|
3418
|
+
@function adjustCSS
|
|
3419
|
+
@export default
|
|
3420
|
+
@param {String} propertyName The CSS property to adjust
|
|
3421
|
+
@param {Sprite} sprite The sprite we're adjusting
|
|
3422
|
+
@param {Object} options
|
|
3423
|
+
@return {Motion}
|
|
3424
|
+
*/
|
|
3425
|
+
function adjustCSS(propertyName, sprite, opts = {}) {
|
|
3426
|
+
return new AdjustCSS(propertyName, sprite, opts).run();
|
|
3427
|
+
}
|
|
3428
|
+
adjustCSS.property = function(propertyName) {
|
|
3429
|
+
return this.bind(null, propertyName);
|
|
3430
|
+
};
|
|
3431
|
+
var AdjustCSS = class AdjustCSS extends Motion {
|
|
3432
|
+
prior = null;
|
|
3433
|
+
tween = null;
|
|
3434
|
+
constructor(propertyName, sprite, opts = {}) {
|
|
3435
|
+
super(sprite, opts);
|
|
3436
|
+
this.propertyName = propertyName;
|
|
3437
|
+
}
|
|
3438
|
+
interrupted(motions) {
|
|
3439
|
+
this.prior = motions.find((m) => m instanceof AdjustCSS && m.propertyName === this.propertyName);
|
|
3440
|
+
}
|
|
3441
|
+
*animate() {
|
|
3442
|
+
let { value: finalValue, unit } = this._splitUnit(this.sprite.finalComputedStyle[this.propertyName]);
|
|
3443
|
+
if (this.prior) {
|
|
3444
|
+
let prior = this.prior;
|
|
3445
|
+
prior.assertHasTween();
|
|
3446
|
+
this.tween = new Tween(0, finalValue - prior.tween.finalValue, this.duration, this.opts.easing).plus(prior.tween);
|
|
3447
|
+
} else {
|
|
3448
|
+
this.sprite.assertHasInitialBounds();
|
|
3449
|
+
this.tween = new Tween(this._splitUnit(this.sprite.initialComputedStyle[this.propertyName]).value, finalValue, this.duration, this.opts.easing);
|
|
3450
|
+
}
|
|
3451
|
+
while (!this.tween.done) {
|
|
3452
|
+
this.sprite.applyStyles({ [this.propertyName]: `${this.tween.currentValue}${unit}` });
|
|
3453
|
+
yield rAF();
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
_splitUnit(s) {
|
|
3457
|
+
if (this.propertyName === "letter-spacing" && s === "normal") return {
|
|
3458
|
+
value: 0,
|
|
3459
|
+
unit: "px"
|
|
3460
|
+
};
|
|
3461
|
+
let m = /(\d+(?:\.\d+)?)(\w+)/.exec(s);
|
|
3462
|
+
if (!m) throw new Error(`Unable to use adjustCSS for property ${this.propertyName} which has value ${s}`);
|
|
3463
|
+
return {
|
|
3464
|
+
value: parseFloat(m[1]),
|
|
3465
|
+
unit: m[2] || ""
|
|
3466
|
+
};
|
|
3467
|
+
}
|
|
3468
|
+
assertHasTween() {
|
|
3469
|
+
if (!this.tween) throw new Error(`motion does not have tween`);
|
|
3470
|
+
}
|
|
3471
|
+
};
|
|
3472
|
+
//#endregion
|
|
3473
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/box-shadow.js
|
|
3474
|
+
var innerPattern = /^ (\d+)px (\d+)px(?: (\d+)px)?(?: (\d+)px)?( inset)?(?:, )?/;
|
|
3475
|
+
var BoxShadow = class BoxShadow {
|
|
3476
|
+
static fromComputedStyle(string) {
|
|
3477
|
+
let originalString = string;
|
|
3478
|
+
let shadows = [];
|
|
3479
|
+
if (!string || string === "none") return shadows;
|
|
3480
|
+
while (string.length > 0) {
|
|
3481
|
+
let color = Color.fromComputedStyle(string);
|
|
3482
|
+
string = string.slice(color.sourceString.length);
|
|
3483
|
+
let m = innerPattern.exec(string);
|
|
3484
|
+
if (!m) throw new Error(`failed to parse computed shadow ${originalString}`);
|
|
3485
|
+
let x = parseInt(m[1]);
|
|
3486
|
+
let y = parseInt(m[2]);
|
|
3487
|
+
let blur = m[3] == null ? 0 : parseInt(m[3]);
|
|
3488
|
+
let spread = m[4] == null ? 0 : parseInt(m[4]);
|
|
3489
|
+
let inset = m[5] != null;
|
|
3490
|
+
shadows.push(new BoxShadow({
|
|
3491
|
+
color,
|
|
3492
|
+
x,
|
|
3493
|
+
y,
|
|
3494
|
+
blur,
|
|
3495
|
+
spread,
|
|
3496
|
+
inset
|
|
3497
|
+
}));
|
|
3498
|
+
string = string.slice(m[0].length);
|
|
3499
|
+
}
|
|
3500
|
+
return shadows;
|
|
3501
|
+
}
|
|
3502
|
+
static fromUserProvidedShadow(string) {
|
|
3503
|
+
let testElement = document.createElement("div");
|
|
3504
|
+
testElement.style.display = "none";
|
|
3505
|
+
testElement.style.boxShadow = string;
|
|
3506
|
+
document.body.appendChild(testElement);
|
|
3507
|
+
let result = this.fromComputedStyle(getComputedStyle(testElement).boxShadow);
|
|
3508
|
+
testElement.remove();
|
|
3509
|
+
return result;
|
|
3510
|
+
}
|
|
3511
|
+
color;
|
|
3512
|
+
x;
|
|
3513
|
+
y;
|
|
3514
|
+
blur;
|
|
3515
|
+
spread;
|
|
3516
|
+
inset;
|
|
3517
|
+
constructor({ color, x, y, blur, spread, inset }) {
|
|
3518
|
+
this.color = color;
|
|
3519
|
+
this.x = x;
|
|
3520
|
+
this.y = y;
|
|
3521
|
+
this.blur = blur;
|
|
3522
|
+
this.spread = spread;
|
|
3523
|
+
this.inset = inset;
|
|
3524
|
+
}
|
|
3525
|
+
toString() {
|
|
3526
|
+
return `${this.inset ? "inset " : ""}${this.x}px ${this.y}px ${this.blur}px ${this.spread}px ${this.color.toString()}`;
|
|
3527
|
+
}
|
|
3528
|
+
};
|
|
3529
|
+
function emptyShadowOfType(otherShadow) {
|
|
3530
|
+
return new BoxShadow({
|
|
3531
|
+
color: Color.fromComputedStyle("rgba(0, 0, 0, 0)"),
|
|
3532
|
+
blur: 0,
|
|
3533
|
+
spread: 0,
|
|
3534
|
+
x: 0,
|
|
3535
|
+
y: 0,
|
|
3536
|
+
inset: otherShadow.inset
|
|
3537
|
+
});
|
|
3538
|
+
}
|
|
3539
|
+
var BoxShadowTween = class {
|
|
3540
|
+
shadowTweens;
|
|
3541
|
+
constructor(fromShadows, toShadows, duration, easing = linear) {
|
|
3542
|
+
let shadowCount = Math.max(fromShadows.length, toShadows.length);
|
|
3543
|
+
if (fromShadows.length < shadowCount) {
|
|
3544
|
+
fromShadows = fromShadows.slice();
|
|
3545
|
+
while (fromShadows.length < shadowCount) fromShadows.push(emptyShadowOfType(toShadows[fromShadows.length]));
|
|
3546
|
+
}
|
|
3547
|
+
if (toShadows.length < shadowCount) {
|
|
3548
|
+
toShadows = toShadows.slice();
|
|
3549
|
+
while (toShadows.length < shadowCount) toShadows.push(emptyShadowOfType(fromShadows[toShadows.length]));
|
|
3550
|
+
}
|
|
3551
|
+
this.shadowTweens = fromShadows.map((fromShadow, index) => new OneShadowTween(fromShadow, toShadows[index], duration, easing));
|
|
3552
|
+
}
|
|
3553
|
+
get currentValue() {
|
|
3554
|
+
return this.shadowTweens.map((tween) => tween.currentValue);
|
|
3555
|
+
}
|
|
3556
|
+
get done() {
|
|
3557
|
+
return this.shadowTweens.every((tween) => tween.done);
|
|
3558
|
+
}
|
|
3559
|
+
};
|
|
3560
|
+
var OneShadowTween = class {
|
|
3561
|
+
colorTween;
|
|
3562
|
+
xTween;
|
|
3563
|
+
yTween;
|
|
3564
|
+
blurTween;
|
|
3565
|
+
spreadTween;
|
|
3566
|
+
inset;
|
|
3567
|
+
constructor(fromShadow, toShadow, duration, easing) {
|
|
3568
|
+
this.colorTween = new ColorTween(fromShadow.color, toShadow.color, duration, easing);
|
|
3569
|
+
this.xTween = new Tween(fromShadow.x, toShadow.x, duration, easing);
|
|
3570
|
+
this.yTween = new Tween(fromShadow.y, toShadow.y, duration, easing);
|
|
3571
|
+
this.blurTween = new Tween(fromShadow.blur, toShadow.blur, duration, easing);
|
|
3572
|
+
this.spreadTween = new Tween(fromShadow.spread, toShadow.spread, duration, easing);
|
|
3573
|
+
this.inset = fromShadow.inset;
|
|
3574
|
+
}
|
|
3575
|
+
get currentValue() {
|
|
3576
|
+
return new BoxShadow({
|
|
3577
|
+
x: this.xTween.currentValue,
|
|
3578
|
+
y: this.yTween.currentValue,
|
|
3579
|
+
blur: this.blurTween.currentValue,
|
|
3580
|
+
spread: this.spreadTween.currentValue,
|
|
3581
|
+
inset: this.inset,
|
|
3582
|
+
color: this.colorTween.currentValue
|
|
3583
|
+
});
|
|
3584
|
+
}
|
|
3585
|
+
get done() {
|
|
3586
|
+
return [
|
|
3587
|
+
this.colorTween,
|
|
3588
|
+
this.xTween,
|
|
3589
|
+
this.yTween,
|
|
3590
|
+
this.blurTween,
|
|
3591
|
+
this.spreadTween
|
|
3592
|
+
].every((tween) => tween.done);
|
|
3593
|
+
}
|
|
3594
|
+
};
|
|
3595
|
+
//#endregion
|
|
3596
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/box-shadow.js
|
|
3597
|
+
var box_shadow_exports = /* @__PURE__ */ __exportAll({
|
|
3598
|
+
BoxShadowMotion: () => BoxShadowMotion,
|
|
3599
|
+
default: () => boxShadow
|
|
3600
|
+
});
|
|
3601
|
+
function boxShadow(sprite, opts = {}) {
|
|
3602
|
+
return new BoxShadowMotion(sprite, opts).run();
|
|
3603
|
+
}
|
|
3604
|
+
var BoxShadowMotion = class extends Motion {
|
|
3605
|
+
*animate() {
|
|
3606
|
+
let from;
|
|
3607
|
+
if (this.opts.from) from = BoxShadow.fromUserProvidedShadow(this.opts.from);
|
|
3608
|
+
else {
|
|
3609
|
+
this.sprite.assertHasInitialBounds();
|
|
3610
|
+
from = BoxShadow.fromComputedStyle(this.sprite.initialComputedStyle["box-shadow"]);
|
|
3611
|
+
}
|
|
3612
|
+
let to;
|
|
3613
|
+
if (this.opts.to) to = BoxShadow.fromUserProvidedShadow(this.opts.to);
|
|
3614
|
+
else {
|
|
3615
|
+
this.sprite.assertHasFinalBounds();
|
|
3616
|
+
to = BoxShadow.fromComputedStyle(this.sprite.finalComputedStyle["box-shadow"]);
|
|
3617
|
+
}
|
|
3618
|
+
let shadowTween = new BoxShadowTween(from, to, this.duration, this.opts.easing);
|
|
3619
|
+
while (!shadowTween.done) {
|
|
3620
|
+
this.sprite.applyStyles({ "box-shadow": shadowTween.currentValue.map((shadow) => shadow.toString()).join(",") });
|
|
3621
|
+
yield rAF();
|
|
3622
|
+
}
|
|
3623
|
+
}
|
|
3624
|
+
};
|
|
3625
|
+
//#endregion
|
|
3626
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/compensate-for-scale.js
|
|
3627
|
+
var compensate_for_scale_exports = /* @__PURE__ */ __exportAll({
|
|
3628
|
+
CompensateForScale: () => CompensateForScale,
|
|
3629
|
+
default: () => compensateForScale
|
|
3630
|
+
});
|
|
3631
|
+
function compensateForScale(sprite, opts = {}) {
|
|
3632
|
+
return new CompensateForScale(sprite, opts).run();
|
|
3633
|
+
}
|
|
3634
|
+
var CompensateForScale = class extends Motion {
|
|
3635
|
+
widthTween = null;
|
|
3636
|
+
heightTween = null;
|
|
3637
|
+
*animate() {
|
|
3638
|
+
let duration = this.duration;
|
|
3639
|
+
this.sprite.assertHasInitialBounds();
|
|
3640
|
+
this.sprite.assertHasFinalBounds();
|
|
3641
|
+
let sprite = this.sprite;
|
|
3642
|
+
let widthFactor = sprite.finalCumulativeTransform.a / sprite.initialCumulativeTransform.a;
|
|
3643
|
+
let heightFactor = sprite.finalCumulativeTransform.d / sprite.initialCumulativeTransform.d;
|
|
3644
|
+
this.widthTween = new Tween(sprite.transform.a, sprite.transform.a * widthFactor, duration);
|
|
3645
|
+
this.heightTween = new Tween(sprite.transform.d, sprite.transform.d * heightFactor, duration);
|
|
3646
|
+
while (!this.widthTween.done || !this.heightTween.done) {
|
|
3647
|
+
sprite.scale(this.widthTween.currentValue / sprite.transform.a, this.heightTween.currentValue / sprite.transform.d);
|
|
3648
|
+
yield rAF();
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
};
|
|
3652
|
+
//#endregion
|
|
3653
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/move.js
|
|
3654
|
+
var move_exports = /* @__PURE__ */ __exportAll({
|
|
3655
|
+
ContinuePrior: () => ContinuePrior,
|
|
3656
|
+
Move: () => Move,
|
|
3657
|
+
continuePrior: () => continuePrior,
|
|
3658
|
+
default: () => move
|
|
3659
|
+
});
|
|
3660
|
+
/**
|
|
3661
|
+
Animates _sprite_ from its initial position to its final position.
|
|
3662
|
+
|
|
3663
|
+
_sprite_ must have both `initialBounds` and `finalBounds` set.
|
|
3664
|
+
|
|
3665
|
+
```js
|
|
3666
|
+
for (let sprite of keptSprites) {
|
|
3667
|
+
move(sprite)
|
|
3668
|
+
}
|
|
3669
|
+
```
|
|
3670
|
+
|
|
3671
|
+
@function move
|
|
3672
|
+
@export default
|
|
3673
|
+
@param {Sprite} sprite
|
|
3674
|
+
@return {Motion}
|
|
3675
|
+
*/
|
|
3676
|
+
function move(sprite, opts = {}) {
|
|
3677
|
+
return new Move(sprite, opts).run();
|
|
3678
|
+
}
|
|
3679
|
+
var Move = class Move extends Motion {
|
|
3680
|
+
prior = null;
|
|
3681
|
+
xTween = null;
|
|
3682
|
+
yTween = null;
|
|
3683
|
+
interrupted(motions) {
|
|
3684
|
+
this.prior = motions.find((m) => m instanceof Move);
|
|
3685
|
+
}
|
|
3686
|
+
*animate() {
|
|
3687
|
+
let duration = this.duration;
|
|
3688
|
+
this.sprite.assertHasInitialBounds();
|
|
3689
|
+
this.sprite.assertHasFinalBounds();
|
|
3690
|
+
let sprite = this.sprite;
|
|
3691
|
+
let dx;
|
|
3692
|
+
let dy;
|
|
3693
|
+
{
|
|
3694
|
+
let initial = sprite.initialBounds;
|
|
3695
|
+
let final = sprite.finalBounds;
|
|
3696
|
+
dx = final.left - initial.left;
|
|
3697
|
+
dy = final.top - initial.top;
|
|
3698
|
+
}
|
|
3699
|
+
if (!this.prior) {
|
|
3700
|
+
this.xTween = new Tween(sprite.transform.tx, sprite.transform.tx + dx, fuzzyZero(dx) ? 0 : duration, this.opts.easing);
|
|
3701
|
+
this.yTween = new Tween(sprite.transform.ty, sprite.transform.ty + dy, fuzzyZero(dy) ? 0 : duration, this.opts.easing);
|
|
3702
|
+
} else {
|
|
3703
|
+
let prior = this.prior;
|
|
3704
|
+
prior.assertHasTweens();
|
|
3705
|
+
let priorXTween = prior.xTween;
|
|
3706
|
+
let priorYTween = prior.yTween;
|
|
3707
|
+
let transformDiffX = sprite.transform.tx - priorXTween.currentValue;
|
|
3708
|
+
let transformDiffY = sprite.transform.ty - priorYTween.currentValue;
|
|
3709
|
+
dx -= priorXTween.finalValue - priorXTween.currentValue;
|
|
3710
|
+
dy -= priorYTween.finalValue - priorYTween.currentValue;
|
|
3711
|
+
let durationX = fuzzyZero(dx) ? 0 : duration;
|
|
3712
|
+
let durationY = fuzzyZero(dy) ? 0 : duration;
|
|
3713
|
+
this.xTween = new Tween(transformDiffX, transformDiffX + dx, durationX, this.opts.easing).plus(prior.xTween);
|
|
3714
|
+
this.yTween = new Tween(transformDiffY, transformDiffY + dy, durationY, this.opts.easing).plus(prior.yTween);
|
|
3715
|
+
}
|
|
3716
|
+
yield* this._moveIt();
|
|
3717
|
+
}
|
|
3718
|
+
*_moveIt() {
|
|
3719
|
+
this.assertHasTweens();
|
|
3720
|
+
let sprite = this.sprite;
|
|
3721
|
+
while (!this.xTween.done || !this.yTween.done) {
|
|
3722
|
+
sprite.translate(this.xTween.currentValue - sprite.transform.tx, this.yTween.currentValue - sprite.transform.ty);
|
|
3723
|
+
yield rAF();
|
|
3724
|
+
}
|
|
3725
|
+
}
|
|
3726
|
+
assertHasTweens() {
|
|
3727
|
+
if (!this.xTween) throw new Error(`motion does not have xTween`);
|
|
3728
|
+
if (!this.yTween) throw new Error(`motion does not have yTween`);
|
|
3729
|
+
}
|
|
3730
|
+
};
|
|
3731
|
+
function fuzzyZero(number) {
|
|
3732
|
+
return Math.abs(number) < 1e-5;
|
|
3733
|
+
}
|
|
3734
|
+
function continuePrior(sprite, opts = {}) {
|
|
3735
|
+
return new ContinuePrior(sprite, opts).run();
|
|
3736
|
+
}
|
|
3737
|
+
var ContinuePrior = class extends Move {
|
|
3738
|
+
*animate() {
|
|
3739
|
+
if (!this.prior) return;
|
|
3740
|
+
this.xTween = this.prior.xTween;
|
|
3741
|
+
this.yTween = this.prior.yTween;
|
|
3742
|
+
yield* this._moveIt();
|
|
3743
|
+
}
|
|
3744
|
+
};
|
|
3745
|
+
//#endregion
|
|
3746
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/follow.js
|
|
3747
|
+
var follow_exports = /* @__PURE__ */ __exportAll({
|
|
3748
|
+
Follow: () => Follow,
|
|
3749
|
+
default: () => follow
|
|
3750
|
+
});
|
|
3751
|
+
function follow(sprite, opts = {}) {
|
|
3752
|
+
return new Follow(sprite, opts).run();
|
|
3753
|
+
}
|
|
3754
|
+
var Follow = class extends Move {
|
|
3755
|
+
source;
|
|
3756
|
+
constructor(sprite, opts = {}) {
|
|
3757
|
+
super(sprite, opts);
|
|
3758
|
+
if (!(this.opts.source instanceof Move)) throw new Error("Follow requires a `source` Move to follow");
|
|
3759
|
+
this.source = this.opts.source;
|
|
3760
|
+
}
|
|
3761
|
+
*animate() {
|
|
3762
|
+
this.source.assertHasTweens();
|
|
3763
|
+
let source = this.source;
|
|
3764
|
+
let sprite = this.sprite;
|
|
3765
|
+
let transformOffsetX = sprite.transform.tx - source.sprite.transform.tx;
|
|
3766
|
+
let transformOffsetY = sprite.transform.ty - source.sprite.transform.ty;
|
|
3767
|
+
this.xTween = new Tween(transformOffsetX, transformOffsetX, 0).plus(source.xTween);
|
|
3768
|
+
this.yTween = new Tween(transformOffsetY, transformOffsetY, 0).plus(source.yTween);
|
|
3769
|
+
this.sprite.endRelativeTo(source.sprite);
|
|
3770
|
+
while (!this.xTween.done || !this.yTween.done) {
|
|
3771
|
+
sprite.translate(this.xTween.currentValue - sprite.transform.tx, this.yTween.currentValue - sprite.transform.ty);
|
|
3772
|
+
yield rAF();
|
|
3773
|
+
}
|
|
3774
|
+
}
|
|
3775
|
+
};
|
|
3776
|
+
//#endregion
|
|
3777
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/move-svg.js
|
|
3778
|
+
var move_svg_exports = /* @__PURE__ */ __exportAll({
|
|
3779
|
+
MoveSVG: () => MoveSVG,
|
|
3780
|
+
default: () => moveSVG
|
|
3781
|
+
});
|
|
3782
|
+
function moveSVG(dimension, sprite, opts = {}) {
|
|
3783
|
+
return new MoveSVG(dimension, sprite, opts).run();
|
|
3784
|
+
}
|
|
3785
|
+
moveSVG.property = function(propertyName) {
|
|
3786
|
+
return this.bind(null, propertyName);
|
|
3787
|
+
};
|
|
3788
|
+
var MoveSVG = class MoveSVG extends Motion {
|
|
3789
|
+
prior = null;
|
|
3790
|
+
tween = null;
|
|
3791
|
+
constructor(dimension, sprite, opts = {}) {
|
|
3792
|
+
super(sprite, opts);
|
|
3793
|
+
this.dimension = dimension;
|
|
3794
|
+
}
|
|
3795
|
+
interrupted(motions) {
|
|
3796
|
+
this.prior = motions.find((m) => m instanceof MoveSVG && m.dimension === this.dimension);
|
|
3797
|
+
}
|
|
3798
|
+
*animate() {
|
|
3799
|
+
if (this.prior) {
|
|
3800
|
+
let prior = this.prior;
|
|
3801
|
+
prior.assertHasTween();
|
|
3802
|
+
this.tween = new Tween(0, Number(this.sprite.getFinalDimension(this.dimension)) - prior.tween.finalValue, this.duration, this.opts.easing).plus(prior.tween);
|
|
3803
|
+
} else this.tween = new Tween(Number(this.sprite.getInitialDimension(this.dimension)), Number(this.sprite.getFinalDimension(this.dimension)), this.duration, this.opts.easing);
|
|
3804
|
+
while (!this.tween.done) {
|
|
3805
|
+
this.sprite.element[this.dimension].baseVal.value = this.tween.currentValue;
|
|
3806
|
+
yield rAF();
|
|
3807
|
+
}
|
|
3808
|
+
}
|
|
3809
|
+
assertHasTween() {
|
|
3810
|
+
if (!this.tween) throw new Error(`motion does not have tween`);
|
|
3811
|
+
}
|
|
3812
|
+
};
|
|
3813
|
+
//#endregion
|
|
3814
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/opacity.js
|
|
3815
|
+
var opacity_exports = /* @__PURE__ */ __exportAll({
|
|
3816
|
+
Opacity: () => Opacity,
|
|
3817
|
+
default: () => opacity,
|
|
3818
|
+
fadeIn: () => fadeIn,
|
|
3819
|
+
fadeOut: () => fadeOut
|
|
3820
|
+
});
|
|
3821
|
+
function opacity(sprite, opts = {}) {
|
|
3822
|
+
return new Opacity(sprite, opts).run();
|
|
3823
|
+
}
|
|
3824
|
+
/**
|
|
3825
|
+
Animates in a sprite from 0% to 100% opacity.
|
|
3826
|
+
|
|
3827
|
+
```js
|
|
3828
|
+
for (let sprite of insertedSprites) {
|
|
3829
|
+
fadeIn(sprite)
|
|
3830
|
+
}
|
|
3831
|
+
```
|
|
3832
|
+
|
|
3833
|
+
@function fadeIn
|
|
3834
|
+
@param {Sprite} sprite
|
|
3835
|
+
@return {Motion}
|
|
3836
|
+
*/
|
|
3837
|
+
function fadeIn(sprite, opts = {}) {
|
|
3838
|
+
return opacity(sprite, Object.assign({ to: 1 }, opts));
|
|
3839
|
+
}
|
|
3840
|
+
/**
|
|
3841
|
+
Animates out a sprite from 100% to 0% opacity.
|
|
3842
|
+
|
|
3843
|
+
```js
|
|
3844
|
+
for (let sprite of removedSprites) {
|
|
3845
|
+
fadeOut(sprite)
|
|
3846
|
+
}
|
|
3847
|
+
```
|
|
3848
|
+
|
|
3849
|
+
@function fadeOut
|
|
3850
|
+
@param {Sprite} sprite
|
|
3851
|
+
@return {Motion}
|
|
3852
|
+
*/
|
|
3853
|
+
function fadeOut(sprite, opts = {}) {
|
|
3854
|
+
return opacity(sprite, Object.assign({ to: 0 }, opts));
|
|
3855
|
+
}
|
|
3856
|
+
var Opacity = class extends Motion {
|
|
3857
|
+
prior = null;
|
|
3858
|
+
tween = null;
|
|
3859
|
+
interrupted(motions) {
|
|
3860
|
+
this.prior = motions.find((m) => m instanceof this.constructor);
|
|
3861
|
+
}
|
|
3862
|
+
*animate() {
|
|
3863
|
+
let { sprite, duration, opts } = this;
|
|
3864
|
+
let to = opts.to != null ? opts.to : sprite.finalComputedStyle != null ? parseFloat(sprite.finalComputedStyle.opacity) : 1;
|
|
3865
|
+
let from;
|
|
3866
|
+
if (this.prior) {
|
|
3867
|
+
let prior = this.prior;
|
|
3868
|
+
prior.assertHasTween();
|
|
3869
|
+
from = prior.tween.currentValue;
|
|
3870
|
+
} else from = opts.from != null ? opts.from : sprite.initialComputedStyle != null ? parseFloat(sprite.initialComputedStyle.opacity) : 0;
|
|
3871
|
+
let proportionalDuration = Math.abs(from - to) * duration;
|
|
3872
|
+
this.tween = new Tween(from, to, proportionalDuration, this.opts.easing !== void 0 ? this.opts.easing : linear);
|
|
3873
|
+
while (!this.tween.done) {
|
|
3874
|
+
sprite.applyStyles({ opacity: `${this.tween.currentValue}` });
|
|
3875
|
+
yield rAF();
|
|
3876
|
+
}
|
|
3877
|
+
}
|
|
3878
|
+
assertHasTween() {
|
|
3879
|
+
if (!this.tween) throw new Error(`motion does not have tween`);
|
|
3880
|
+
}
|
|
3881
|
+
};
|
|
3882
|
+
//#endregion
|
|
3883
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/scale.js
|
|
3884
|
+
var scale_exports = /* @__PURE__ */ __exportAll({
|
|
3885
|
+
Scale: () => Scale,
|
|
3886
|
+
default: () => scale
|
|
3887
|
+
});
|
|
3888
|
+
/**
|
|
3889
|
+
Smoothly scales _sprite_ from its the initial size to its final size.
|
|
3890
|
+
|
|
3891
|
+
_sprite_ must have both `initialBounds` and `finalBounds` set.
|
|
3892
|
+
|
|
3893
|
+
```js
|
|
3894
|
+
for (let sprite of insertedSprites) {
|
|
3895
|
+
sprite.startAtSprite(beacons['source']);
|
|
3896
|
+
scale(sprite)
|
|
3897
|
+
}
|
|
3898
|
+
```
|
|
3899
|
+
|
|
3900
|
+
@function scale
|
|
3901
|
+
@export default
|
|
3902
|
+
@param {Sprite} sprite
|
|
3903
|
+
@return {Motion}
|
|
3904
|
+
*/
|
|
3905
|
+
function scale(sprite, opts = {}) {
|
|
3906
|
+
return new Scale(sprite, opts).run();
|
|
3907
|
+
}
|
|
3908
|
+
var Scale = class extends Motion {
|
|
3909
|
+
widthTween = null;
|
|
3910
|
+
heightTween = null;
|
|
3911
|
+
*animate() {
|
|
3912
|
+
this.sprite.assertHasInitialBounds();
|
|
3913
|
+
this.sprite.assertHasFinalBounds();
|
|
3914
|
+
let sprite = this.sprite;
|
|
3915
|
+
let duration = this.duration;
|
|
3916
|
+
let initialWidthFactor;
|
|
3917
|
+
let initialHeightFactor;
|
|
3918
|
+
if (sprite.originalInitialBounds) {
|
|
3919
|
+
initialWidthFactor = sprite.initialBounds.width / sprite.originalInitialBounds.width;
|
|
3920
|
+
initialHeightFactor = sprite.initialBounds.height / sprite.originalInitialBounds.height;
|
|
3921
|
+
} else {
|
|
3922
|
+
initialWidthFactor = sprite.initialBounds.width / sprite.originalFinalBounds.width;
|
|
3923
|
+
initialHeightFactor = sprite.initialBounds.height / sprite.originalFinalBounds.height;
|
|
3924
|
+
}
|
|
3925
|
+
let widthFactor = sprite.finalBounds.width / sprite.initialBounds.width;
|
|
3926
|
+
let heightFactor = sprite.finalBounds.height / sprite.initialBounds.height;
|
|
3927
|
+
this.widthTween = new Tween(sprite.transform.a * initialWidthFactor, sprite.transform.a * initialWidthFactor * widthFactor, duration, this.opts.easing);
|
|
3928
|
+
this.heightTween = new Tween(sprite.transform.d * initialHeightFactor, sprite.transform.d * initialHeightFactor * heightFactor, duration, this.opts.easing);
|
|
3929
|
+
while (!this.widthTween.done || !this.heightTween.done) {
|
|
3930
|
+
sprite.scale(this.widthTween.currentValue / sprite.transform.a, this.heightTween.currentValue / sprite.transform.d);
|
|
3931
|
+
yield rAF();
|
|
3932
|
+
}
|
|
3933
|
+
}
|
|
3934
|
+
};
|
|
3935
|
+
//#endregion
|
|
3936
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/transitions/fade.js
|
|
3937
|
+
var fade_exports = /* @__PURE__ */ __exportAll({ default: () => fade });
|
|
3938
|
+
/**
|
|
3939
|
+
Fades inserted, removed, and kept sprites.
|
|
3940
|
+
|
|
3941
|
+
```js
|
|
3942
|
+
import fade from 'ember-animated/transitions/fade';
|
|
3943
|
+
|
|
3944
|
+
export default Component.extend({
|
|
3945
|
+
transition: fade
|
|
3946
|
+
});
|
|
3947
|
+
```
|
|
3948
|
+
|
|
3949
|
+
```hbs
|
|
3950
|
+
{{#animated-if use=transition}}
|
|
3951
|
+
...
|
|
3952
|
+
{{/animated-if}}
|
|
3953
|
+
```
|
|
3954
|
+
|
|
3955
|
+
@function fade
|
|
3956
|
+
@export default
|
|
3957
|
+
*/
|
|
3958
|
+
function* fade({ removedSprites, insertedSprites, keptSprites, duration }) {
|
|
3959
|
+
yield Promise.all(removedSprites.map((s) => {
|
|
3960
|
+
if (s.revealed) return opacity(s, {
|
|
3961
|
+
to: 0,
|
|
3962
|
+
duration: duration / 2
|
|
3963
|
+
});
|
|
3964
|
+
}));
|
|
3965
|
+
insertedSprites.concat(keptSprites).map((s) => opacity(s, {
|
|
3966
|
+
to: 1,
|
|
3967
|
+
duration: duration / 2
|
|
3968
|
+
}));
|
|
3969
|
+
}
|
|
3970
|
+
//#endregion
|
|
3971
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/transitions/move-over.js
|
|
3972
|
+
var move_over_exports = /* @__PURE__ */ __exportAll({
|
|
3973
|
+
default: () => moveOver,
|
|
3974
|
+
toDown: () => toDown,
|
|
3975
|
+
toLeft: () => toLeft,
|
|
3976
|
+
toRight: () => toRight,
|
|
3977
|
+
toUp: () => toUp
|
|
3978
|
+
});
|
|
3979
|
+
var toLeft = moveOver.bind(null, "x", -1);
|
|
3980
|
+
var toRight = moveOver.bind(null, "x", 1);
|
|
3981
|
+
var toUp = moveOver.bind(null, "y", -1);
|
|
3982
|
+
var toDown = moveOver.bind(null, "y", 1);
|
|
3983
|
+
function normalize(dimension, direction) {
|
|
3984
|
+
let position;
|
|
3985
|
+
let size;
|
|
3986
|
+
let startTranslatedBy;
|
|
3987
|
+
let endTranslatedBy;
|
|
3988
|
+
if (dimension.toLowerCase() === "x") {
|
|
3989
|
+
size = (bounds) => bounds.width;
|
|
3990
|
+
if (direction > 0) {
|
|
3991
|
+
position = (bounds) => bounds.left;
|
|
3992
|
+
startTranslatedBy = (sprite, distance) => sprite.startTranslatedBy(distance, 0);
|
|
3993
|
+
endTranslatedBy = (sprite, distance) => sprite.endTranslatedBy(distance, 0);
|
|
3994
|
+
} else {
|
|
3995
|
+
position = (bounds) => -bounds.right;
|
|
3996
|
+
startTranslatedBy = (sprite, distance) => sprite.startTranslatedBy(-distance, 0);
|
|
3997
|
+
endTranslatedBy = (sprite, distance) => sprite.endTranslatedBy(-distance, 0);
|
|
3998
|
+
}
|
|
3999
|
+
} else {
|
|
4000
|
+
size = (bounds) => bounds.height;
|
|
4001
|
+
if (direction > 0) {
|
|
4002
|
+
position = (bounds) => bounds.top;
|
|
4003
|
+
startTranslatedBy = (sprite, distance) => sprite.startTranslatedBy(0, distance);
|
|
4004
|
+
endTranslatedBy = (sprite, distance) => sprite.endTranslatedBy(0, distance);
|
|
4005
|
+
} else {
|
|
4006
|
+
position = (bounds) => -bounds.bottom;
|
|
4007
|
+
startTranslatedBy = (sprite, distance) => sprite.startTranslatedBy(0, -distance);
|
|
4008
|
+
endTranslatedBy = (sprite, distance) => sprite.endTranslatedBy(0, -distance);
|
|
4009
|
+
}
|
|
4010
|
+
}
|
|
4011
|
+
return {
|
|
4012
|
+
position,
|
|
4013
|
+
size,
|
|
4014
|
+
startTranslatedBy,
|
|
4015
|
+
endTranslatedBy
|
|
4016
|
+
};
|
|
4017
|
+
}
|
|
4018
|
+
function* moveOver(dimension, direction, context) {
|
|
4019
|
+
let { position, size, startTranslatedBy, endTranslatedBy } = normalize(dimension, direction);
|
|
4020
|
+
let viewport;
|
|
4021
|
+
if (context.insertedSprites[0]) viewport = context.insertedSprites[0].finalBounds;
|
|
4022
|
+
else if (context.keptSprites[0]) viewport = context.keptSprites[0].finalBounds;
|
|
4023
|
+
else throw new Error("Unimplemented");
|
|
4024
|
+
if (context.insertedSprites[0]) {
|
|
4025
|
+
let offset = 0;
|
|
4026
|
+
context.removedSprites.forEach((sprite) => {
|
|
4027
|
+
sprite.assertHasInitialBounds();
|
|
4028
|
+
let o = position(viewport) - position(sprite.initialBounds);
|
|
4029
|
+
if (o > offset) offset = o;
|
|
4030
|
+
});
|
|
4031
|
+
let firstInserted = context.insertedSprites[0];
|
|
4032
|
+
firstInserted.assertHasFinalBounds();
|
|
4033
|
+
offset += size(firstInserted.finalBounds);
|
|
4034
|
+
startTranslatedBy(firstInserted, -offset);
|
|
4035
|
+
if (context.removedSprites[0]) {
|
|
4036
|
+
endTranslatedBy(context.removedSprites[0], offset);
|
|
4037
|
+
let move = new Move(context.removedSprites[0]);
|
|
4038
|
+
move.run();
|
|
4039
|
+
for (const removedSprite of context.removedSprites) follow(removedSprite, { source: move });
|
|
4040
|
+
follow(firstInserted, { source: move });
|
|
4041
|
+
} else new Move(firstInserted).run();
|
|
4042
|
+
} else if (context.keptSprites[0]) {
|
|
4043
|
+
const move = new Move(context.keptSprites[0]);
|
|
4044
|
+
move.run();
|
|
4045
|
+
context.removedSprites.forEach((sprite) => {
|
|
4046
|
+
follow(sprite, { source: move });
|
|
4047
|
+
});
|
|
4048
|
+
} else throw new Error("Unimplemented2");
|
|
4049
|
+
}
|
|
4050
|
+
//#endregion
|
|
4051
|
+
//#region ../../node_modules/.pnpm/ember-provide-consume-context@0.8.0_@ember+test-helpers@5.4.3_@babel+core@7.29.7_suppor_c983a8f2d92056376342a828259aeed4/node_modules/ember-provide-consume-context/dist/components/context-consumer.js
|
|
4052
|
+
var context_consumer_exports = /* @__PURE__ */ __exportAll({ default: () => ContextConsumer });
|
|
4053
|
+
var TEMPLATE = templateFactory({
|
|
4054
|
+
"id": "+KWon0be",
|
|
4055
|
+
"block": "[[[18,1,[[30,0,[\"contextValue\"]]]]],[\"&default\"],[\"yield\"]]",
|
|
4056
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-provide-consume-context@0.8.0_@ember+test-helpers@5.4.3_@babel+core@7.29.7_suppor_c983a8f2d92056376342a828259aeed4/node_modules/ember-provide-consume-context/dist/components/context-consumer.js",
|
|
4057
|
+
"isStrictMode": false
|
|
4058
|
+
});
|
|
4059
|
+
var ContextConsumer = class extends Component$1 {
|
|
4060
|
+
get contextValue() {
|
|
4061
|
+
if (hasContext(this, this.args.key)) return getContextValue(this, this.args.key);
|
|
4062
|
+
return this.args.defaultValue;
|
|
4063
|
+
}
|
|
4064
|
+
};
|
|
4065
|
+
setComponentTemplate(TEMPLATE, ContextConsumer);
|
|
4066
|
+
//#endregion
|
|
4067
|
+
//#region ../../node_modules/.pnpm/ember-provide-consume-context@0.8.0_@ember+test-helpers@5.4.3_@babel+core@7.29.7_suppor_c983a8f2d92056376342a828259aeed4/node_modules/ember-provide-consume-context/dist/components/context-provider.js
|
|
4068
|
+
var context_provider_exports = /* @__PURE__ */ __exportAll({ default: () => ContextProvider });
|
|
4069
|
+
var ContextProvider = class extends Component$1 {
|
|
4070
|
+
constructor(owner, args) {
|
|
4071
|
+
super(owner, args);
|
|
4072
|
+
setContextMetadataOnContextProviderInstance(this, [[args.key, "value"]]);
|
|
4073
|
+
}
|
|
4074
|
+
get value() {
|
|
4075
|
+
return this.args.value;
|
|
4076
|
+
}
|
|
4077
|
+
};
|
|
4078
|
+
//#endregion
|
|
4079
|
+
//#region app/lib/externals.ts
|
|
4080
|
+
var import_flat = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4081
|
+
module.exports = flatten;
|
|
4082
|
+
flatten.flatten = flatten;
|
|
4083
|
+
flatten.unflatten = unflatten;
|
|
4084
|
+
function isBuffer(obj) {
|
|
4085
|
+
return obj && obj.constructor && typeof obj.constructor.isBuffer === "function" && obj.constructor.isBuffer(obj);
|
|
4086
|
+
}
|
|
4087
|
+
function keyIdentity(key) {
|
|
4088
|
+
return key;
|
|
4089
|
+
}
|
|
4090
|
+
function flatten(target, opts) {
|
|
4091
|
+
opts = opts || {};
|
|
4092
|
+
const delimiter = opts.delimiter || ".";
|
|
4093
|
+
const maxDepth = opts.maxDepth;
|
|
4094
|
+
const transformKey = opts.transformKey || keyIdentity;
|
|
4095
|
+
const output = {};
|
|
4096
|
+
function step(object, prev, currentDepth) {
|
|
4097
|
+
currentDepth = currentDepth || 1;
|
|
4098
|
+
Object.keys(object).forEach(function(key) {
|
|
4099
|
+
const value = object[key];
|
|
4100
|
+
const isarray = opts.safe && Array.isArray(value);
|
|
4101
|
+
const type = Object.prototype.toString.call(value);
|
|
4102
|
+
const isbuffer = isBuffer(value);
|
|
4103
|
+
const isobject = type === "[object Object]" || type === "[object Array]";
|
|
4104
|
+
const newKey = prev ? prev + delimiter + transformKey(key) : transformKey(key);
|
|
4105
|
+
if (!isarray && !isbuffer && isobject && Object.keys(value).length && (!opts.maxDepth || currentDepth < maxDepth)) return step(value, newKey, currentDepth + 1);
|
|
4106
|
+
output[newKey] = value;
|
|
4107
|
+
});
|
|
4108
|
+
}
|
|
4109
|
+
step(target);
|
|
4110
|
+
return output;
|
|
4111
|
+
}
|
|
4112
|
+
function unflatten(target, opts) {
|
|
4113
|
+
opts = opts || {};
|
|
4114
|
+
const delimiter = opts.delimiter || ".";
|
|
4115
|
+
const overwrite = opts.overwrite || false;
|
|
4116
|
+
const transformKey = opts.transformKey || keyIdentity;
|
|
4117
|
+
const result = {};
|
|
4118
|
+
if (isBuffer(target) || Object.prototype.toString.call(target) !== "[object Object]") return target;
|
|
4119
|
+
function getkey(key) {
|
|
4120
|
+
const parsedKey = Number(key);
|
|
4121
|
+
return isNaN(parsedKey) || key.indexOf(".") !== -1 || opts.object ? key : parsedKey;
|
|
4122
|
+
}
|
|
4123
|
+
function addKeys(keyPrefix, recipient, target) {
|
|
4124
|
+
return Object.keys(target).reduce(function(result, key) {
|
|
4125
|
+
result[keyPrefix + delimiter + key] = target[key];
|
|
4126
|
+
return result;
|
|
4127
|
+
}, recipient);
|
|
4128
|
+
}
|
|
4129
|
+
function isEmpty(val) {
|
|
4130
|
+
const type = Object.prototype.toString.call(val);
|
|
4131
|
+
const isArray = type === "[object Array]";
|
|
4132
|
+
const isObject = type === "[object Object]";
|
|
4133
|
+
if (!val) return true;
|
|
4134
|
+
else if (isArray) return !val.length;
|
|
4135
|
+
else if (isObject) return !Object.keys(val).length;
|
|
4136
|
+
}
|
|
4137
|
+
target = Object.keys(target).reduce(function(result, key) {
|
|
4138
|
+
const type = Object.prototype.toString.call(target[key]);
|
|
4139
|
+
if (!(type === "[object Object]" || type === "[object Array]") || isEmpty(target[key])) {
|
|
4140
|
+
result[key] = target[key];
|
|
4141
|
+
return result;
|
|
4142
|
+
} else return addKeys(key, result, flatten(target[key], opts));
|
|
4143
|
+
}, {});
|
|
4144
|
+
Object.keys(target).forEach(function(key) {
|
|
4145
|
+
const split = key.split(delimiter).map(transformKey);
|
|
4146
|
+
let key1 = getkey(split.shift());
|
|
4147
|
+
let key2 = getkey(split[0]);
|
|
4148
|
+
let recipient = result;
|
|
4149
|
+
while (key2 !== void 0) {
|
|
4150
|
+
if (key1 === "__proto__") return;
|
|
4151
|
+
const type = Object.prototype.toString.call(recipient[key1]);
|
|
4152
|
+
const isobject = type === "[object Object]" || type === "[object Array]";
|
|
4153
|
+
if (!overwrite && !isobject && typeof recipient[key1] !== "undefined") return;
|
|
4154
|
+
if (overwrite && !isobject || !overwrite && recipient[key1] == null) recipient[key1] = typeof key2 === "number" && !opts.object ? [] : {};
|
|
4155
|
+
recipient = recipient[key1];
|
|
4156
|
+
if (split.length > 0) {
|
|
4157
|
+
key1 = getkey(split.shift());
|
|
4158
|
+
key2 = getkey(split[0]);
|
|
4159
|
+
}
|
|
4160
|
+
}
|
|
4161
|
+
recipient[key1] = unflatten(target[key], opts);
|
|
4162
|
+
});
|
|
4163
|
+
return result;
|
|
4164
|
+
}
|
|
4165
|
+
})))());
|
|
4166
|
+
init_md5_esm_bundler();
|
|
4167
|
+
function shimExternals(virtualNetwork) {
|
|
4168
|
+
const windowQUnit = globalThis.QUnit;
|
|
4169
|
+
virtualNetwork.shimModule("qunit", windowQUnit || {
|
|
4170
|
+
module: () => {},
|
|
4171
|
+
test: () => {},
|
|
4172
|
+
config: {}
|
|
4173
|
+
});
|
|
4174
|
+
virtualNetwork.shimModule("@cardstack/runtime-common", runtime_common_exports);
|
|
4175
|
+
virtualNetwork.shimModule("@cardstack/boxel-ui/components", components_exports);
|
|
4176
|
+
virtualNetwork.shimModule("@cardstack/boxel-ui/helpers", helpers_exports);
|
|
4177
|
+
virtualNetwork.shimModule("@cardstack/boxel-ui/icons", icons_exports);
|
|
4178
|
+
virtualNetwork.shimModule("@cardstack/boxel-ui/modifiers", modifiers_exports);
|
|
4179
|
+
virtualNetwork.addPackageMapping("@cardstack/boxel-ui/", `${PACKAGES_FAKE_ORIGIN}@cardstack/boxel-ui/`);
|
|
4180
|
+
virtualNetwork.shimModule("@glimmer/component", dist_exports$5);
|
|
4181
|
+
virtualNetwork.shimModule("@glimmer/tracking", tracking_exports);
|
|
4182
|
+
virtualNetwork.shimModule("@glimmer/validator", validator_exports);
|
|
4183
|
+
virtualNetwork.shimModule("@ember/component", component_exports);
|
|
4184
|
+
virtualNetwork.shimModule("@ember/component/template-only", template_only_exports);
|
|
4185
|
+
virtualNetwork.shimModule("@ember/destroyable", destroyable_exports);
|
|
4186
|
+
virtualNetwork.shimModule("@ember/helper", helper_exports);
|
|
4187
|
+
virtualNetwork.shimModule("@ember/modifier", modifier_exports);
|
|
4188
|
+
virtualNetwork.shimModule("@ember/object", object_exports);
|
|
4189
|
+
virtualNetwork.shimModule("@ember/object/internals", internals_exports);
|
|
4190
|
+
virtualNetwork.shimModule("@ember/runloop", runloop_exports);
|
|
4191
|
+
virtualNetwork.shimModule("@ember/service", service_exports);
|
|
4192
|
+
virtualNetwork.shimModule("@ember/template", template_exports);
|
|
4193
|
+
virtualNetwork.shimModule("@ember/template-factory", template_factory_exports);
|
|
4194
|
+
virtualNetwork.shimModule("@cardstack/view-transitions", dist_exports$1);
|
|
4195
|
+
virtualNetwork.shimModule("awesome-phonenumber", index_esm_exports);
|
|
4196
|
+
virtualNetwork.shimModule("date-fns", esm_exports);
|
|
4197
|
+
virtualNetwork.shimModule("ember-animated", dist_exports);
|
|
4198
|
+
virtualNetwork.shimModule("ember-animated/easings/cosine", cosine_exports);
|
|
4199
|
+
virtualNetwork.shimModule("ember-animated/easings/linear", linear_exports);
|
|
4200
|
+
virtualNetwork.shimModule("ember-animated/motions/adjust-color", adjust_color_exports);
|
|
4201
|
+
virtualNetwork.shimModule("ember-animated/motions/adjust-css", adjust_css_exports);
|
|
4202
|
+
virtualNetwork.shimModule("ember-animated/motions/box-shadow", box_shadow_exports);
|
|
4203
|
+
virtualNetwork.shimModule("ember-animated/motions/compensate-for-scale", compensate_for_scale_exports);
|
|
4204
|
+
virtualNetwork.shimModule("ember-animated/motions/follow", follow_exports);
|
|
4205
|
+
virtualNetwork.shimModule("ember-animated/motions/move", move_exports);
|
|
4206
|
+
virtualNetwork.shimModule("ember-animated/motions/move-svg", move_svg_exports);
|
|
4207
|
+
virtualNetwork.shimModule("ember-animated/motions/opacity", opacity_exports);
|
|
4208
|
+
virtualNetwork.shimModule("ember-animated/motions/resize", resize_exports);
|
|
4209
|
+
virtualNetwork.shimModule("ember-animated/motions/scale", scale_exports);
|
|
4210
|
+
virtualNetwork.shimModule("ember-animated/transitions/fade", fade_exports);
|
|
4211
|
+
virtualNetwork.shimModule("ember-animated/transitions/move-over", move_over_exports);
|
|
4212
|
+
virtualNetwork.shimModule("ember-concurrency", dist_exports$8);
|
|
4213
|
+
virtualNetwork.shimModule("ember-concurrency/-private/async-arrow-runtime", async_arrow_runtime_exports);
|
|
4214
|
+
virtualNetwork.shimModule("ember-css-url", dist_exports$7);
|
|
4215
|
+
virtualNetwork.shimModule("ember-modifier", dist_exports$6);
|
|
4216
|
+
virtualNetwork.shimModule("ember-modify-based-class-resource", dist_exports$3);
|
|
4217
|
+
virtualNetwork.shimModule("ember-provide-consume-context", dist_exports$9);
|
|
4218
|
+
virtualNetwork.shimModule("ember-provide-consume-context/components/context-consumer", context_consumer_exports);
|
|
4219
|
+
virtualNetwork.shimModule("ember-provide-consume-context/components/context-provider", context_provider_exports);
|
|
4220
|
+
virtualNetwork.shimModule("ember-resources", dist_exports$2);
|
|
4221
|
+
virtualNetwork.shimModule("ember-source/types", { default: class {} });
|
|
4222
|
+
virtualNetwork.shimModule("ember-source/types/preview", { default: class {} });
|
|
4223
|
+
virtualNetwork.shimModule("flat", import_flat);
|
|
4224
|
+
virtualNetwork.shimModule("@floating-ui/dom", floating_ui_dom_exports);
|
|
4225
|
+
virtualNetwork.shimModule("lodash", lodash_exports);
|
|
4226
|
+
virtualNetwork.shimModule("lodash-es", lodash_exports);
|
|
4227
|
+
virtualNetwork.shimModule("matrix-js-sdk", browser_index_exports);
|
|
4228
|
+
virtualNetwork.shimModule("rsvp", rsvp_exports);
|
|
4229
|
+
virtualNetwork.shimModule("super-fast-md5", md5_esm_bundler_exports);
|
|
4230
|
+
virtualNetwork.shimModule("tracked-built-ins", dist_exports$4);
|
|
4231
|
+
virtualNetwork.shimAsyncModule({
|
|
4232
|
+
id: "@cardstack/bxl",
|
|
4233
|
+
resolve: async () => {
|
|
4234
|
+
let bxl = await __vitePreload(() => import("./src-CF8jhG38.js"), __vite__mapDeps([0,1,2,3,4,5,6,7,8,9]), import.meta.url);
|
|
4235
|
+
await bxl.loadAllFormulaExtensions();
|
|
4236
|
+
return bxl;
|
|
4237
|
+
}
|
|
4238
|
+
});
|
|
4239
|
+
virtualNetwork.shimModule("glimmer-motion", src_exports);
|
|
4240
|
+
virtualNetwork.shimModule("glimmer-motion/layout-group", layout_group_exports);
|
|
4241
|
+
virtualNetwork.shimModule("glimmer-motion/motion-config", motion_config_exports);
|
|
4242
|
+
virtualNetwork.shimModule("glimmer-motion/presence", presence_exports);
|
|
4243
|
+
virtualNetwork.shimModule("glimmer-motion/reorder/group", group_exports);
|
|
4244
|
+
virtualNetwork.shimModule("glimmer-motion/reorder/item", item_exports);
|
|
4245
|
+
virtualNetwork.shimAsyncModule({
|
|
4246
|
+
id: "glimmer-motion/test-support",
|
|
4247
|
+
resolve: () => __vitePreload(() => import("./test-support-CgWmpebE.js"), __vite__mapDeps([10,11,2,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39]), import.meta.url)
|
|
4248
|
+
});
|
|
4249
|
+
virtualNetwork.shimAsyncModule({
|
|
4250
|
+
id: "@cardstack/choreo",
|
|
4251
|
+
resolve: () => __vitePreload(() => import("./src-LqENIikj.js"), __vite__mapDeps([40,41,2,31,16,17,18,13,19,20,32,21,22,23,29,26,34,24,35,27,42,33,36,43,44,45,30,37,46,39,47,48,38,49,50,51]), import.meta.url)
|
|
4252
|
+
});
|
|
4253
|
+
virtualNetwork.shimAsyncModule({
|
|
4254
|
+
id: "@cardstack/choreo/choreo",
|
|
4255
|
+
resolve: () => __vitePreload(() => import("./choreo-Ci5dG5fv.js"), __vite__mapDeps([52,51,2,31,16,17,18,13,19,20,32,21,22,23,29,26,33,34,24,35,27,36,44,45,30,37,46,39,47,48,38,49,50,41,43]), import.meta.url)
|
|
4256
|
+
});
|
|
4257
|
+
virtualNetwork.shimAsyncModule({
|
|
4258
|
+
id: "@cardstack/choreo/steps",
|
|
4259
|
+
resolve: () => __vitePreload(() => import("./steps-aNa4m6PJ.js"), __vite__mapDeps([53,41,2,31,16,17,18,13,19,20,32,21,22,23,29,26,34,24,35,27]), import.meta.url)
|
|
4260
|
+
});
|
|
4261
|
+
virtualNetwork.shimAsyncModule({
|
|
4262
|
+
id: "@cardstack/choreo/test-support",
|
|
4263
|
+
resolve: () => __vitePreload(() => import("./test-support-QTh6wGxu.js"), __vite__mapDeps([54,11,2,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,55,45,46,43,44,47,48,49,50]), import.meta.url)
|
|
4264
|
+
});
|
|
4265
|
+
virtualNetwork.shimAsyncModule({
|
|
4266
|
+
id: "@cardstack/choreo/film",
|
|
4267
|
+
resolve: () => __vitePreload(() => import("./film-D1E-odYG.js"), __vite__mapDeps([56,57,2,31,16,17,18,13,19,20,32,21,22,23,29,26,58,27,44,33,34,24,35,36,45,30,37,46,39,47,48,38,49,50,51,41,43,59,60,61,62,63,64,65,66,67,68,69]), import.meta.url)
|
|
4268
|
+
});
|
|
4269
|
+
virtualNetwork.shimAsyncModule({
|
|
4270
|
+
id: "@cardstack/choreo/film/clip",
|
|
4271
|
+
resolve: () => __vitePreload(() => import("./clip-CycGr0Lf.js"), __vite__mapDeps([70,57,2,31,16,17,18,13,19,20,32,21,22,23,29,26,58,27,44,33,34,24,35,36,45,30,37,46,39,47,48,38,49,50,51,41,43]), import.meta.url)
|
|
4272
|
+
});
|
|
4273
|
+
virtualNetwork.shimAsyncModule({
|
|
4274
|
+
id: "@cardstack/choreo/film/film",
|
|
4275
|
+
resolve: () => __vitePreload(() => import("./film-D25Y0ED6.js"), __vite__mapDeps([71,59,2,31,16,17,18,13,19,20,32,21,22,23,29,26,33,34,24,35,27,36,44,45,30,37,46,39,47,48,38,49,50,41,51,43,57,58,60,61,62,63,64,65,66,67,68]), import.meta.url)
|
|
4276
|
+
});
|
|
4277
|
+
virtualNetwork.shimAsyncModule({
|
|
4278
|
+
id: "@cardstack/choreo/film/graph/adjust",
|
|
4279
|
+
resolve: () => __vitePreload(() => import("./adjust-tbcBqG-n.js"), __vite__mapDeps([72,61,2,62,31,16,17,18,13,19,20,32,21,22,23,29,26,34,24,35,27]), import.meta.url)
|
|
4280
|
+
});
|
|
4281
|
+
virtualNetwork.shimAsyncModule({
|
|
4282
|
+
id: "@cardstack/choreo/film/graph/host",
|
|
4283
|
+
resolve: () => __vitePreload(() => import("./host-DMN-E78f.js"), __vite__mapDeps([73,60,2,31,16,17,18,13,19,20,32,21,22,23,29,26,34,24,35,27,61,62]), import.meta.url)
|
|
4284
|
+
});
|
|
4285
|
+
virtualNetwork.shimAsyncModule({
|
|
4286
|
+
id: "@cardstack/choreo/film/graph/nodes",
|
|
4287
|
+
resolve: () => __vitePreload(() => import("./nodes-Cb9jGNmV.js"), __vite__mapDeps([74,62,2,31,16,17,18,13,19,20,32,21,22,23,29,26,34,24,35,27]), import.meta.url)
|
|
4288
|
+
});
|
|
4289
|
+
virtualNetwork.shimAsyncModule({
|
|
4290
|
+
id: "@cardstack/choreo/film/joins",
|
|
4291
|
+
resolve: () => __vitePreload(() => import("./joins-CFhtaZ7U.js"), __vite__mapDeps([75,63,2,31,16,17,18,13,19,20,32,21,22,23,29,26,34,24,35,27]), import.meta.url)
|
|
4292
|
+
});
|
|
4293
|
+
virtualNetwork.shimAsyncModule({
|
|
4294
|
+
id: "@cardstack/choreo/film/overlays",
|
|
4295
|
+
resolve: () => __vitePreload(() => import("./overlays-COinwHCP.js"), __vite__mapDeps([76,64,2,31,16,17,18,13,19,20,32,21,22,23,29,26,35,27,44,33,34,24,36,45,30,37,46,39,47,48,38,49,50,51,41,43]), import.meta.url)
|
|
4296
|
+
});
|
|
4297
|
+
virtualNetwork.shimAsyncModule({
|
|
4298
|
+
id: "@cardstack/choreo/film/picture",
|
|
4299
|
+
resolve: () => __vitePreload(() => import("./picture-CPj4Wgsy.js"), __vite__mapDeps([77,69,2,31,16,17,18,13,19,20,32,21,22,23,29,26,34,24,35,27,61,62]), import.meta.url)
|
|
4300
|
+
});
|
|
4301
|
+
virtualNetwork.shimAsyncModule({
|
|
4302
|
+
id: "@cardstack/choreo/film/plate",
|
|
4303
|
+
resolve: () => __vitePreload(() => import("./plate-DeoQd99m.js"), __vite__mapDeps([78,65,2,31,16,17,18,13,19,20,32,21,22,23,29,26,58,27,44,33,34,24,35,36,45,30,37,46,39,47,48,38,49,50,51,41,43]), import.meta.url)
|
|
4304
|
+
});
|
|
4305
|
+
virtualNetwork.shimAsyncModule({
|
|
4306
|
+
id: "@cardstack/choreo/film/player",
|
|
4307
|
+
resolve: () => __vitePreload(() => import("./player-BvXGBItd.js"), __vite__mapDeps([79,66,2,31,16,17,18,13,19,20,32,21,22,23,29,26,58,35,27,44,33,34,24,36,45,30,37,46,39,47,48,38,49,50,51,41,43]), import.meta.url)
|
|
4308
|
+
});
|
|
4309
|
+
virtualNetwork.shimAsyncModule({
|
|
4310
|
+
id: "@cardstack/choreo/film/rail",
|
|
4311
|
+
resolve: () => __vitePreload(() => import("./rail-CFPU0tFe.js"), __vite__mapDeps([80,67,2,31,16,17,18,13,19,20,32,21,22,23,29,26,58,35,27]), import.meta.url)
|
|
4312
|
+
});
|
|
4313
|
+
virtualNetwork.shimAsyncModule({
|
|
4314
|
+
id: "@cardstack/choreo/film/titles",
|
|
4315
|
+
resolve: () => __vitePreload(() => import("./titles-DKHNLVwC.js"), __vite__mapDeps([81,68,2,31,16,17,18,13,19,20,32,21,22,23,29,26,27,44,33,34,24,35,36,45,30,37,46,39,47,48,38,49,50,51,41,43]), import.meta.url)
|
|
4316
|
+
});
|
|
4317
|
+
virtualNetwork.shimAsyncModule({
|
|
4318
|
+
id: "@cardstack/choreo-player",
|
|
4319
|
+
resolve: () => __vitePreload(() => import("./src-DOKnNfG8.js"), __vite__mapDeps([82,2]), import.meta.url)
|
|
4320
|
+
});
|
|
4321
|
+
virtualNetwork.shimAsyncModule({
|
|
4322
|
+
id: "dialkit/store",
|
|
4323
|
+
resolve: () => __vitePreload(() => import("./store-tDubGN_j.js"), __vite__mapDeps([83,2]), import.meta.url)
|
|
4324
|
+
});
|
|
4325
|
+
virtualNetwork.shimAsyncModule({
|
|
4326
|
+
id: "dialkit/vanilla",
|
|
4327
|
+
resolve: () => __vitePreload(() => import("./vanilla-BA1BUPFM.js"), __vite__mapDeps([84,2]), import.meta.url)
|
|
4328
|
+
});
|
|
4329
|
+
virtualNetwork.shimAsyncModule({
|
|
4330
|
+
id: "@chenglou/pretext",
|
|
4331
|
+
resolve: () => __vitePreload(() => import("./layout-DVAINTLP.js"), __vite__mapDeps([85,2]), import.meta.url)
|
|
4332
|
+
});
|
|
4333
|
+
virtualNetwork.shimAsyncModule({
|
|
4334
|
+
id: "ethers",
|
|
4335
|
+
resolve: () => __vitePreload(() => import("./lib.esm-CdDCG-7Y.js"), __vite__mapDeps([86,87,2]), import.meta.url)
|
|
4336
|
+
});
|
|
4337
|
+
virtualNetwork.shimAsyncModule({
|
|
4338
|
+
id: "pdfjs-dist",
|
|
4339
|
+
resolve: () => __vitePreload(() => import("./pdfjs-tq21NQBp.js"), __vite__mapDeps([88,2,3]), import.meta.url)
|
|
4340
|
+
});
|
|
4341
|
+
virtualNetwork.shimModule("@cardstack/boxel-host/lib/pdfjs-loader", pdfjs_loader_exports);
|
|
4342
|
+
virtualNetwork.shimModule("@cardstack/boxel-host/lib/signed-capture", signed_capture_exports);
|
|
4343
|
+
virtualNetwork.shimModule("@cardstack/boxel-host/lib/three-loader", three_loader_exports);
|
|
4344
|
+
virtualNetwork.shimAsyncModule({
|
|
4345
|
+
id: "uuid",
|
|
4346
|
+
resolve: () => __vitePreload(() => import("./esm-browser-ByMIQXWT.js"), __vite__mapDeps([89,90,2]), import.meta.url)
|
|
4347
|
+
});
|
|
4348
|
+
virtualNetwork.shimAsyncModule({
|
|
4349
|
+
id: "yaml",
|
|
4350
|
+
resolve: () => __vitePreload(() => import("./browser-ZN0_uldJ.js"), __vite__mapDeps([91,92,2]), import.meta.url)
|
|
4351
|
+
});
|
|
4352
|
+
virtualNetwork.shimAsyncModule({
|
|
4353
|
+
id: "fflate",
|
|
4354
|
+
resolve: () => __vitePreload(() => import("./browser-BpGk2ZmZ.js"), __vite__mapDeps([93,94,2]), import.meta.url)
|
|
4355
|
+
});
|
|
4356
|
+
virtualNetwork.shimAsyncModule({
|
|
4357
|
+
id: "@cardstack/runtime-common/constants",
|
|
4358
|
+
resolve: () => __vitePreload(() => import("./constants-WFA0gSYM.js"), __vite__mapDeps([95,96,2,97]), import.meta.url)
|
|
4359
|
+
});
|
|
4360
|
+
virtualNetwork.shimAsyncModule({
|
|
4361
|
+
id: "@cardstack/runtime-common/marked-sync",
|
|
4362
|
+
resolve: () => __vitePreload(() => import("./marked-sync-BCLGl4e-.js"), __vite__mapDeps([98,99,2,3,100,97,96,101,102]), import.meta.url)
|
|
4363
|
+
});
|
|
4364
|
+
virtualNetwork.shimAsyncModule({
|
|
4365
|
+
id: "@cardstack/runtime-common/bfm-card-references",
|
|
4366
|
+
resolve: () => __vitePreload(() => import("./bfm-card-references-DiydFUNR.js"), __vite__mapDeps([103,100,2,97]), import.meta.url)
|
|
4367
|
+
});
|
|
4368
|
+
virtualNetwork.shimAsyncModule({
|
|
4369
|
+
id: "@cardstack/runtime-common/helpers/ai",
|
|
4370
|
+
resolve: () => __vitePreload(() => import("./ai-Cs1uTbhS.js"), __vite__mapDeps([104,105,2,96,97]), import.meta.url)
|
|
4371
|
+
});
|
|
4372
|
+
virtualNetwork.shimAsyncModule({
|
|
4373
|
+
id: "@cardstack/runtime-common/helpers/card-directory-name",
|
|
4374
|
+
resolve: () => __vitePreload(() => import("./card-directory-name-BwTPYMCb.js"), __vite__mapDeps([106,107,2,3,87,108,109,110,111,112,113,90,92,100,97,96,101,102,105,114]), import.meta.url)
|
|
4375
|
+
});
|
|
4376
|
+
shimModulesForLiveTests(virtualNetwork);
|
|
4377
|
+
virtualNetwork.shimModule("@cardstack/host/services/store", fallbackShim({ default: class {} }));
|
|
4378
|
+
shimHostTools(virtualNetwork);
|
|
4379
|
+
}
|
|
4380
|
+
function shimModulesForLiveTests(virtualNetwork) {
|
|
4381
|
+
virtualNetwork.shimModule("@ember/test-helpers", dist_exports$10);
|
|
4382
|
+
virtualNetwork.shimModule("@cardstack/host/tests/helpers", fallbackShim());
|
|
4383
|
+
virtualNetwork.shimModule("@cardstack/host/tests/helpers/mock-matrix", fallbackShim());
|
|
4384
|
+
virtualNetwork.shimModule("@cardstack/host/tests/helpers/setup", fallbackShim());
|
|
4385
|
+
virtualNetwork.shimModule("@cardstack/host/tests/helpers/adapter", fallbackShim());
|
|
4386
|
+
virtualNetwork.shimModule("@cardstack/host/tests/helpers/render-component", fallbackShim());
|
|
4387
|
+
virtualNetwork.shimModule("@cardstack/host/tests/helpers/base-realm", fallbackShim());
|
|
4388
|
+
virtualNetwork.shimModule("@universal-ember/test-support", fallbackShim());
|
|
4389
|
+
virtualNetwork.shimModule("@ember/owner", fallbackShim());
|
|
4390
|
+
virtualNetwork.shimModule("@cardstack/host/config/environment", fallbackShim());
|
|
4391
|
+
}
|
|
4392
|
+
//#endregion
|
|
4393
|
+
export { microwait as a, allSettled as i, task as n, rAF as o, afterRender as r, shimExternals as t };
|