@umbraco-cms/backoffice 14.0.0-d542ed7d → 14.0.0-e72b5840
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cms/custom-elements.json +15 -14
- package/dist-cms/external/backend-api/index.js +1 -1
- package/dist-cms/external/monaco-editor/{abap-42d5eca7.js → abap-7ad4f8f0.js} +1 -1
- package/dist-cms/external/monaco-editor/{apex-051da044.js → apex-30597c49.js} +1 -1
- package/dist-cms/external/monaco-editor/{bundle.css → assets/bundle-a4f90d1d.css} +593 -279
- package/dist-cms/external/monaco-editor/{azcli-ad3d7346.js → azcli-67c34a04.js} +1 -1
- package/dist-cms/external/monaco-editor/{bat-0217c0bc.js → bat-b8f4738b.js} +1 -1
- package/dist-cms/external/monaco-editor/{bicep-0cadb30a.js → bicep-b104b38b.js} +1 -1
- package/dist-cms/external/monaco-editor/{cameligo-ac55f854.js → cameligo-001d1ded.js} +1 -1
- package/dist-cms/external/monaco-editor/{clojure-388a0d58.js → clojure-fa9652a1.js} +1 -1
- package/dist-cms/external/monaco-editor/{coffee-7e7a2971.js → coffee-b69a8315.js} +1 -1
- package/dist-cms/external/monaco-editor/{cpp-840d082a.js → cpp-8053752f.js} +1 -1
- package/dist-cms/external/monaco-editor/{csharp-b3429875.js → csharp-886041a3.js} +1 -1
- package/dist-cms/external/monaco-editor/{csp-83442b86.js → csp-e846bce6.js} +1 -1
- package/dist-cms/external/monaco-editor/{css-7a34b8c3.js → css-50032e5e.js} +1 -1
- package/dist-cms/external/monaco-editor/{cssMode-98237bd7.js → cssMode-c0406684.js} +3 -3
- package/dist-cms/external/monaco-editor/{cypher-cc9c23cc.js → cypher-6f93a845.js} +1 -1
- package/dist-cms/external/monaco-editor/{dart-00a58d1c.js → dart-14284236.js} +1 -1
- package/dist-cms/external/monaco-editor/{dockerfile-668ee825.js → dockerfile-e9935eb4.js} +1 -1
- package/dist-cms/external/monaco-editor/{ecl-b42ffd48.js → ecl-9c89f204.js} +1 -1
- package/dist-cms/external/monaco-editor/{elixir-b9ceca92.js → elixir-ca8bf661.js} +1 -1
- package/dist-cms/external/monaco-editor/{flow9-7e9b2e50.js → flow9-ac147227.js} +1 -1
- package/dist-cms/external/monaco-editor/{freemarker2-b9eee947.js → freemarker2-793b7402.js} +2 -2
- package/dist-cms/external/monaco-editor/{fsharp-cdc5b8f1.js → fsharp-8eaad024.js} +1 -1
- package/dist-cms/external/monaco-editor/{go-4c92fa5c.js → go-05529e2e.js} +1 -1
- package/dist-cms/external/monaco-editor/{graphql-67842079.js → graphql-8f5b3fdd.js} +1 -1
- package/dist-cms/external/monaco-editor/{handlebars-36a3f04f.js → handlebars-aaa2fd96.js} +2 -2
- package/dist-cms/external/monaco-editor/{hcl-59febf1c.js → hcl-9e201a51.js} +1 -1
- package/dist-cms/external/monaco-editor/{html-b0d38e59.js → html-1194c0aa.js} +2 -2
- package/dist-cms/external/monaco-editor/{htmlMode-b85c3f7d.js → htmlMode-36df69c6.js} +3 -3
- package/dist-cms/external/monaco-editor/{index-534fb84c.js → index-7368f3e3.js} +418 -409
- package/dist-cms/external/monaco-editor/index.js +1 -1
- package/dist-cms/external/monaco-editor/{ini-1cf2ce67.js → ini-31a5619d.js} +1 -1
- package/dist-cms/external/monaco-editor/{java-e4fb14c6.js → java-8c6e1ae8.js} +1 -1
- package/dist-cms/external/monaco-editor/javascript-86205709.js +6 -0
- package/dist-cms/external/monaco-editor/{jsonMode-fa2b41c8.js → jsonMode-f663e935.js} +6 -6
- package/dist-cms/external/monaco-editor/{julia-9b6c6458.js → julia-fbb2af47.js} +1 -1
- package/dist-cms/external/monaco-editor/{kotlin-b66c14ff.js → kotlin-bfa96180.js} +1 -1
- package/dist-cms/external/monaco-editor/{less-8dc8685d.js → less-0b6a8ff1.js} +1 -1
- package/dist-cms/external/monaco-editor/{lexon-59c0b911.js → lexon-585e5248.js} +1 -1
- package/dist-cms/external/monaco-editor/{liquid-be38812f.js → liquid-37adc07a.js} +2 -2
- package/dist-cms/external/monaco-editor/{lua-3f4d9098.js → lua-f6c17885.js} +1 -1
- package/dist-cms/external/monaco-editor/{m3-82a8c502.js → m3-1b6456c5.js} +1 -1
- package/dist-cms/external/monaco-editor/{markdown-07c3fa1e.js → markdown-7bc251f9.js} +1 -1
- package/dist-cms/external/monaco-editor/{mips-59ddf2f4.js → mips-2df76781.js} +1 -1
- package/dist-cms/external/monaco-editor/{msdax-12ec689c.js → msdax-8c38e8b4.js} +1 -1
- package/dist-cms/external/monaco-editor/{mysql-2958efa4.js → mysql-abbb9ca3.js} +1 -1
- package/dist-cms/external/monaco-editor/{objective-c-08d94025.js → objective-c-efbfd08b.js} +1 -1
- package/dist-cms/external/monaco-editor/{pascal-b686b438.js → pascal-08abee72.js} +1 -1
- package/dist-cms/external/monaco-editor/{pascaligo-96457e5f.js → pascaligo-200db0cf.js} +1 -1
- package/dist-cms/external/monaco-editor/{perl-b938bdad.js → perl-079789ee.js} +1 -1
- package/dist-cms/external/monaco-editor/{pgsql-42970e97.js → pgsql-efd093d4.js} +1 -1
- package/dist-cms/external/monaco-editor/{php-7476401f.js → php-75c530f2.js} +1 -1
- package/dist-cms/external/monaco-editor/{pla-aaf0caa2.js → pla-a55a2765.js} +1 -1
- package/dist-cms/external/monaco-editor/{postiats-759ff404.js → postiats-6098f37b.js} +1 -1
- package/dist-cms/external/monaco-editor/{powerquery-a33a8de4.js → powerquery-949bb7fe.js} +1 -1
- package/dist-cms/external/monaco-editor/{powershell-ec154f36.js → powershell-7e550b21.js} +1 -1
- package/dist-cms/external/monaco-editor/{protobuf-e42d83dc.js → protobuf-25a4d695.js} +1 -1
- package/dist-cms/external/monaco-editor/{pug-04b2d67c.js → pug-f8c9f493.js} +1 -1
- package/dist-cms/external/monaco-editor/{python-b3b058ea.js → python-78a47148.js} +2 -2
- package/dist-cms/external/monaco-editor/{qsharp-5376e9d1.js → qsharp-c4b94317.js} +1 -1
- package/dist-cms/external/monaco-editor/{r-d212ba98.js → r-614353db.js} +1 -1
- package/dist-cms/external/monaco-editor/{razor-911a705a.js → razor-5de9ce12.js} +2 -2
- package/dist-cms/external/monaco-editor/{redis-51e44009.js → redis-fb089f4d.js} +1 -1
- package/dist-cms/external/monaco-editor/{redshift-8de2cfdc.js → redshift-a620fcb0.js} +1 -1
- package/dist-cms/external/monaco-editor/{restructuredtext-3f99254a.js → restructuredtext-7ab09fcf.js} +1 -1
- package/dist-cms/external/monaco-editor/{ruby-64a73e64.js → ruby-922be722.js} +1 -1
- package/dist-cms/external/monaco-editor/{rust-2a0390f1.js → rust-23e08578.js} +1 -1
- package/dist-cms/external/monaco-editor/{sb-4d8fa557.js → sb-ccceec0f.js} +1 -1
- package/dist-cms/external/monaco-editor/{scala-00d62260.js → scala-0535664d.js} +1 -1
- package/dist-cms/external/monaco-editor/{scheme-a0903f29.js → scheme-dba621eb.js} +1 -1
- package/dist-cms/external/monaco-editor/{scss-3e25f7ad.js → scss-28539a11.js} +1 -1
- package/dist-cms/external/monaco-editor/{shell-9c442847.js → shell-5b92a834.js} +1 -1
- package/dist-cms/external/monaco-editor/{solidity-6b3049ed.js → solidity-f63d6049.js} +1 -1
- package/dist-cms/external/monaco-editor/{sophia-f4a2b303.js → sophia-12e9ad90.js} +1 -1
- package/dist-cms/external/monaco-editor/{sparql-1d37a384.js → sparql-dedb74aa.js} +1 -1
- package/dist-cms/external/monaco-editor/{sql-946641be.js → sql-975a69d7.js} +1 -1
- package/dist-cms/external/monaco-editor/{st-9220dec1.js → st-1904ae33.js} +1 -1
- package/dist-cms/external/monaco-editor/{swift-06592b81.js → swift-e180a143.js} +1 -1
- package/dist-cms/external/monaco-editor/{systemverilog-b5ba493c.js → systemverilog-c5592fac.js} +1 -1
- package/dist-cms/external/monaco-editor/{tcl-3fe51e69.js → tcl-996f4ac7.js} +1 -1
- package/dist-cms/external/monaco-editor/tsMode-f4618e87.js +16 -0
- package/dist-cms/external/monaco-editor/{twig-ee0f3b03.js → twig-4859b551.js} +1 -1
- package/dist-cms/external/monaco-editor/{typescript-4d577e09.js → typescript-efea739f.js} +3 -3
- package/dist-cms/external/monaco-editor/{vb-e7e59935.js → vb-ad68fa9a.js} +1 -1
- package/dist-cms/external/monaco-editor/wgsl-5ee7b1ca.js +303 -0
- package/dist-cms/external/monaco-editor/{xml-b05159d9.js → xml-12b9ace3.js} +2 -2
- package/dist-cms/external/monaco-editor/{yaml-b4ec85f0.js → yaml-65e08cff.js} +3 -3
- package/dist-cms/external/rxjs/index.js +2 -2
- package/dist-cms/external/tinymce/index.js +16 -16
- package/dist-cms/mocks/data/partial-views.data.d.ts +19 -3
- package/dist-cms/mocks/data/partial-views.data.js +277 -10
- package/dist-cms/mocks/data/utils.d.ts +2 -1
- package/dist-cms/mocks/data/utils.js +5 -0
- package/dist-cms/mocks/handlers/partial-views.handlers.d.ts +2 -1
- package/dist-cms/mocks/handlers/partial-views.handlers.js +37 -5
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.handlers.js +1 -1
- package/dist-cms/packages/core/entity-action/common/create-folder/create-folder.action.d.ts +8 -0
- package/dist-cms/packages/core/entity-action/common/create-folder/create-folder.action.js +21 -0
- package/dist-cms/packages/core/entity-action/common/index.d.ts +1 -0
- package/dist-cms/packages/core/entity-action/common/index.js +1 -0
- package/dist-cms/packages/core/modal/common/folder/folder-modal.element.js +4 -1
- package/dist-cms/packages/core/modal/token/embedded-media-modal.token.js +0 -1
- package/dist-cms/packages/core/modal/token/folder-modal.token.d.ts +1 -0
- package/dist-cms/packages/{templating/components → core/tree}/file-system-tree-item/file-system-tree-item.context.d.ts +9 -1
- package/dist-cms/packages/core/tree/file-system-tree-item/file-system-tree-item.context.js +28 -0
- package/dist-cms/packages/{templating/components → core/tree}/file-system-tree-item/file-system-tree-item.element.d.ts +10 -2
- package/dist-cms/packages/{templating/components → core/tree}/file-system-tree-item/file-system-tree-item.element.js +10 -1
- package/dist-cms/packages/core/tree/file-system-tree-item/index.d.ts +2 -0
- package/dist-cms/packages/core/tree/file-system-tree-item/index.js +2 -0
- package/dist-cms/packages/core/tree/index.d.ts +1 -0
- package/dist-cms/packages/core/tree/index.js +1 -0
- package/dist-cms/packages/core/workspace/workspace-action/workspace-action.element.js +12 -4
- package/dist-cms/packages/templating/components/index.d.ts +0 -1
- package/dist-cms/packages/templating/components/index.js +0 -1
- package/dist-cms/packages/templating/manifests.d.ts +6 -1
- package/dist-cms/packages/templating/partial-views/config.d.ts +5 -5
- package/dist-cms/packages/templating/partial-views/config.js +3 -1
- package/dist-cms/packages/templating/partial-views/entity-actions/create/create-empty.action.js +1 -1
- package/dist-cms/packages/templating/partial-views/entity-actions/create/create-from-snippet.action.d.ts +10 -1
- package/dist-cms/packages/templating/partial-views/entity-actions/create/create-from-snippet.action.js +16 -1
- package/dist-cms/packages/templating/partial-views/entity-actions/create/create-from-snippet.modal.d.ts +16 -0
- package/dist-cms/packages/templating/partial-views/entity-actions/create/create-from-snippet.modal.js +73 -0
- package/dist-cms/packages/templating/partial-views/entity-actions/manifests.d.ts +6 -1
- package/dist-cms/packages/templating/partial-views/entity-actions/manifests.js +43 -5
- package/dist-cms/packages/templating/partial-views/manifests.d.ts +6 -1
- package/dist-cms/packages/templating/partial-views/repository/manifests.js +2 -2
- package/dist-cms/packages/templating/partial-views/repository/partial-views.repository.d.ts +47 -26
- package/dist-cms/packages/templating/partial-views/repository/partial-views.repository.js +81 -24
- package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.detail.server.data.d.ts +48 -13
- package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.detail.server.data.js +56 -17
- package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.folder.server.data.d.ts +17 -0
- package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.folder.server.data.js +23 -0
- package/dist-cms/packages/templating/partial-views/tree/manifests.js +3 -2
- package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace-edit.element.d.ts +6 -1
- package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace-edit.element.js +123 -27
- package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.context.d.ts +9 -7
- package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.context.js +49 -8
- package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.element.d.ts +1 -0
- package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.element.js +7 -3
- package/dist-cms/packages/templating/templates/modals/query-builder/query-builder-filter.element.js +2 -2
- package/dist-cms/packages/templating/templates/modals/query-builder/query-builder.element.d.ts +1 -0
- package/dist-cms/packages/templating/templates/modals/query-builder/query-builder.element.js +1 -0
- package/dist-cms/shared/repository/data-source/data-source.interface.d.ts +2 -2
- package/dist-cms/shared/repository/detail-repository.interface.d.ts +2 -2
- package/dist-cms/shared/utils/media-helper.service.d.ts +1 -1
- package/dist-cms/shared/utils/media-helper.service.js +1 -1
- package/dist-cms/tinymce/CHANGELOG.md +22 -0
- package/dist-cms/tinymce/composer.json +1 -1
- package/dist-cms/tinymce/icons/default/icons.js +3 -0
- package/dist-cms/tinymce/icons/default/icons.min.js +1 -1
- package/dist-cms/tinymce/langs/ar.js +1 -1
- package/dist-cms/tinymce/langs/bg_BG.js +56 -56
- package/dist-cms/tinymce/langs/fr_FR.js +1 -1
- package/dist-cms/tinymce/langs/ka_GE.js +406 -0
- package/dist-cms/tinymce/langs/nb_NO.js +15 -15
- package/dist-cms/tinymce/models/dom/model.js +1 -1
- package/dist-cms/tinymce/models/dom/model.min.js +1 -1
- package/dist-cms/tinymce/package.json +1 -1
- package/dist-cms/tinymce/plugins/accordion/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/accordion/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/advlist/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/advlist/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/anchor/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/anchor/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/autolink/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/autolink/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/autoresize/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/autoresize/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/autosave/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/autosave/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/charmap/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/charmap/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/code/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/code/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/codesample/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/codesample/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/directionality/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/directionality/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/emoticons/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/emoticons/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/fullscreen/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/fullscreen/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/help/plugin.js +6 -1
- package/dist-cms/tinymce/plugins/help/plugin.min.js +2 -2
- package/dist-cms/tinymce/plugins/image/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/image/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/importcss/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/importcss/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/insertdatetime/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/link/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/link/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/lists/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/lists/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/media/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/media/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/nonbreaking/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/pagebreak/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/pagebreak/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/preview/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/preview/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/quickbars/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/quickbars/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/save/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/save/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/searchreplace/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/table/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/table/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/template/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/template/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/visualblocks/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/visualblocks/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/visualchars/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/visualchars/plugin.min.js +1 -1
- package/dist-cms/tinymce/plugins/wordcount/plugin.js +1 -1
- package/dist-cms/tinymce/plugins/wordcount/plugin.min.js +1 -1
- package/dist-cms/tinymce/skins/ui/oxide/skin.css +18 -0
- package/dist-cms/tinymce/skins/ui/oxide/skin.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/oxide-dark/skin.css +18 -0
- package/dist-cms/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5/skin.css +18 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.css +18 -0
- package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
- package/dist-cms/tinymce/themes/silver/theme.js +279 -85
- package/dist-cms/tinymce/themes/silver/theme.min.js +2 -2
- package/dist-cms/tinymce/tinymce.d.ts +7 -2
- package/dist-cms/tinymce/tinymce.js +3 -3
- package/dist-cms/tinymce/tinymce.min.js +2 -2
- package/dist-cms/tsconfig.tsbuildinfo +1 -1
- package/dist-cms/umbraco-package-schema.json +40 -120
- package/dist-cms/vscode-html-custom-data.json +6 -6
- package/package.json +24 -25
- package/dist-cms/external/monaco-editor/javascript-53ce59fc.js +0 -6
- package/dist-cms/external/monaco-editor/tsMode-3f4e7f54.js +0 -16
- package/dist-cms/packages/templating/components/file-system-tree-item/file-system-tree-item.context.js +0 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{m as a}from"./index-
|
|
1
|
+
import{m as a}from"./index-7368f3e3.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.40.0(83b3cf23ca80c94cccca7c5b3e48351b220f8e35)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,p=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,s=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of g(e))!l.call(t,n)&&n!==o&&c(t,n,{get:()=>e[n],enumerable:!(i=p(e,n))||i.enumerable});return t},d=(t,e,o)=>(s(t,e,"default"),o&&s(o,e,"default")),r={};d(r,a);var m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:r.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:r.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:r.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:r.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},x={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","satisfies","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[
|
|
6
|
+
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,p=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,s=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of g(e))!l.call(t,n)&&n!==o&&c(t,n,{get:()=>e[n],enumerable:!(i=p(e,n))||i.enumerable});return t},d=(t,e,o)=>(s(t,e,"default"),o&&s(o,e,"default")),r={};d(r,a);var m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:r.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:r.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:r.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:r.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},x={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","satisfies","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/#?[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}};export{m as conf,x as language};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.40.0(83b3cf23ca80c94cccca7c5b3e48351b220f8e35)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},n={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=><!~?;\.,:&|+\-*\/\^%]+/,integersuffix:/U?[DI%L&S@]?/,floatsuffix:/[R#F!]?/,tokenizer:{root:[{include:"@whitespace"},[/next(?!\w)/,{token:"keyword.tag-for"}],[/loop(?!\w)/,{token:"keyword.tag-do"}],[/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,{token:"keyword.tag-$1"}],[/[a-zA-Z_]\w*/,{cases:{"@tagwords":{token:"keyword.tag-$0"},"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\w+/,"keyword"],[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/,"number.float"],[/&H[0-9a-f]+(@integersuffix)/,"number.hex"],[/&0[0-7]+(@integersuffix)/,"number.octal"],[/\d+(@integersuffix)/,"number"],[/#.*#/,"number"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/["\u201c\u201d]/,{token:"string.quote",next:"@string"}]],whitespace:[[/[ \t\r\n]+/,""],[/(\'|REM(?!\w)).*$/,"comment"]],string:[[/[^"\u201c\u201d]+/,"string"],[/["\u201c\u201d]{2}/,"string.escape"],[/["\u201c\u201d]C?/,{token:"string.quote",next:"@pop"}]]}};export{e as conf,n as language};
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.40.0(83b3cf23ca80c94cccca7c5b3e48351b220f8e35)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/var s={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]};function e(i){let o=[];const a=i.split(/\t+|\r+|\n+| +/);for(let r=0;r<a.length;++r)a[r].length>0&&o.push(a[r]);return o}var c=e("true false"),m=e(`
|
|
7
|
+
alias
|
|
8
|
+
break
|
|
9
|
+
case
|
|
10
|
+
const
|
|
11
|
+
const_assert
|
|
12
|
+
continue
|
|
13
|
+
continuing
|
|
14
|
+
default
|
|
15
|
+
diagnostic
|
|
16
|
+
discard
|
|
17
|
+
else
|
|
18
|
+
enable
|
|
19
|
+
fn
|
|
20
|
+
for
|
|
21
|
+
if
|
|
22
|
+
let
|
|
23
|
+
loop
|
|
24
|
+
override
|
|
25
|
+
requires
|
|
26
|
+
return
|
|
27
|
+
struct
|
|
28
|
+
switch
|
|
29
|
+
var
|
|
30
|
+
while
|
|
31
|
+
`),l=e(`
|
|
32
|
+
NULL
|
|
33
|
+
Self
|
|
34
|
+
abstract
|
|
35
|
+
active
|
|
36
|
+
alignas
|
|
37
|
+
alignof
|
|
38
|
+
as
|
|
39
|
+
asm
|
|
40
|
+
asm_fragment
|
|
41
|
+
async
|
|
42
|
+
attribute
|
|
43
|
+
auto
|
|
44
|
+
await
|
|
45
|
+
become
|
|
46
|
+
binding_array
|
|
47
|
+
cast
|
|
48
|
+
catch
|
|
49
|
+
class
|
|
50
|
+
co_await
|
|
51
|
+
co_return
|
|
52
|
+
co_yield
|
|
53
|
+
coherent
|
|
54
|
+
column_major
|
|
55
|
+
common
|
|
56
|
+
compile
|
|
57
|
+
compile_fragment
|
|
58
|
+
concept
|
|
59
|
+
const_cast
|
|
60
|
+
consteval
|
|
61
|
+
constexpr
|
|
62
|
+
constinit
|
|
63
|
+
crate
|
|
64
|
+
debugger
|
|
65
|
+
decltype
|
|
66
|
+
delete
|
|
67
|
+
demote
|
|
68
|
+
demote_to_helper
|
|
69
|
+
do
|
|
70
|
+
dynamic_cast
|
|
71
|
+
enum
|
|
72
|
+
explicit
|
|
73
|
+
export
|
|
74
|
+
extends
|
|
75
|
+
extern
|
|
76
|
+
external
|
|
77
|
+
fallthrough
|
|
78
|
+
filter
|
|
79
|
+
final
|
|
80
|
+
finally
|
|
81
|
+
friend
|
|
82
|
+
from
|
|
83
|
+
fxgroup
|
|
84
|
+
get
|
|
85
|
+
goto
|
|
86
|
+
groupshared
|
|
87
|
+
highp
|
|
88
|
+
impl
|
|
89
|
+
implements
|
|
90
|
+
import
|
|
91
|
+
inline
|
|
92
|
+
instanceof
|
|
93
|
+
interface
|
|
94
|
+
layout
|
|
95
|
+
lowp
|
|
96
|
+
macro
|
|
97
|
+
macro_rules
|
|
98
|
+
match
|
|
99
|
+
mediump
|
|
100
|
+
meta
|
|
101
|
+
mod
|
|
102
|
+
module
|
|
103
|
+
move
|
|
104
|
+
mut
|
|
105
|
+
mutable
|
|
106
|
+
namespace
|
|
107
|
+
new
|
|
108
|
+
nil
|
|
109
|
+
noexcept
|
|
110
|
+
noinline
|
|
111
|
+
nointerpolation
|
|
112
|
+
noperspective
|
|
113
|
+
null
|
|
114
|
+
nullptr
|
|
115
|
+
of
|
|
116
|
+
operator
|
|
117
|
+
package
|
|
118
|
+
packoffset
|
|
119
|
+
partition
|
|
120
|
+
pass
|
|
121
|
+
patch
|
|
122
|
+
pixelfragment
|
|
123
|
+
precise
|
|
124
|
+
precision
|
|
125
|
+
premerge
|
|
126
|
+
priv
|
|
127
|
+
protected
|
|
128
|
+
pub
|
|
129
|
+
public
|
|
130
|
+
readonly
|
|
131
|
+
ref
|
|
132
|
+
regardless
|
|
133
|
+
register
|
|
134
|
+
reinterpret_cast
|
|
135
|
+
require
|
|
136
|
+
resource
|
|
137
|
+
restrict
|
|
138
|
+
self
|
|
139
|
+
set
|
|
140
|
+
shared
|
|
141
|
+
sizeof
|
|
142
|
+
smooth
|
|
143
|
+
snorm
|
|
144
|
+
static
|
|
145
|
+
static_assert
|
|
146
|
+
static_cast
|
|
147
|
+
std
|
|
148
|
+
subroutine
|
|
149
|
+
super
|
|
150
|
+
target
|
|
151
|
+
template
|
|
152
|
+
this
|
|
153
|
+
thread_local
|
|
154
|
+
throw
|
|
155
|
+
trait
|
|
156
|
+
try
|
|
157
|
+
type
|
|
158
|
+
typedef
|
|
159
|
+
typeid
|
|
160
|
+
typename
|
|
161
|
+
typeof
|
|
162
|
+
union
|
|
163
|
+
unless
|
|
164
|
+
unorm
|
|
165
|
+
unsafe
|
|
166
|
+
unsized
|
|
167
|
+
use
|
|
168
|
+
using
|
|
169
|
+
varying
|
|
170
|
+
virtual
|
|
171
|
+
volatile
|
|
172
|
+
wgsl
|
|
173
|
+
where
|
|
174
|
+
with
|
|
175
|
+
writeonly
|
|
176
|
+
yield
|
|
177
|
+
`),u=e(`
|
|
178
|
+
read write read_write
|
|
179
|
+
function private workgroup uniform storage
|
|
180
|
+
perspective linear flat
|
|
181
|
+
center centroid sample
|
|
182
|
+
vertex_index instance_index position front_facing frag_depth
|
|
183
|
+
local_invocation_id local_invocation_index
|
|
184
|
+
global_invocation_id workgroup_id num_workgroups
|
|
185
|
+
sample_index sample_mask
|
|
186
|
+
rgba8unorm
|
|
187
|
+
rgba8snorm
|
|
188
|
+
rgba8uint
|
|
189
|
+
rgba8sint
|
|
190
|
+
rgba16uint
|
|
191
|
+
rgba16sint
|
|
192
|
+
rgba16float
|
|
193
|
+
r32uint
|
|
194
|
+
r32sint
|
|
195
|
+
r32float
|
|
196
|
+
rg32uint
|
|
197
|
+
rg32sint
|
|
198
|
+
rg32float
|
|
199
|
+
rgba32uint
|
|
200
|
+
rgba32sint
|
|
201
|
+
rgba32float
|
|
202
|
+
bgra8unorm
|
|
203
|
+
`),p=e(`
|
|
204
|
+
bool
|
|
205
|
+
f16
|
|
206
|
+
f32
|
|
207
|
+
i32
|
|
208
|
+
sampler sampler_comparison
|
|
209
|
+
texture_depth_2d
|
|
210
|
+
texture_depth_2d_array
|
|
211
|
+
texture_depth_cube
|
|
212
|
+
texture_depth_cube_array
|
|
213
|
+
texture_depth_multisampled_2d
|
|
214
|
+
texture_external
|
|
215
|
+
texture_external
|
|
216
|
+
u32
|
|
217
|
+
`),d=e(`
|
|
218
|
+
array
|
|
219
|
+
atomic
|
|
220
|
+
mat2x2
|
|
221
|
+
mat2x3
|
|
222
|
+
mat2x4
|
|
223
|
+
mat3x2
|
|
224
|
+
mat3x3
|
|
225
|
+
mat3x4
|
|
226
|
+
mat4x2
|
|
227
|
+
mat4x3
|
|
228
|
+
mat4x4
|
|
229
|
+
ptr
|
|
230
|
+
texture_1d
|
|
231
|
+
texture_2d
|
|
232
|
+
texture_2d_array
|
|
233
|
+
texture_3d
|
|
234
|
+
texture_cube
|
|
235
|
+
texture_cube_array
|
|
236
|
+
texture_multisampled_2d
|
|
237
|
+
texture_storage_1d
|
|
238
|
+
texture_storage_2d
|
|
239
|
+
texture_storage_2d_array
|
|
240
|
+
texture_storage_3d
|
|
241
|
+
vec2
|
|
242
|
+
vec3
|
|
243
|
+
vec4
|
|
244
|
+
`),x=e(`
|
|
245
|
+
vec2i vec3i vec4i
|
|
246
|
+
vec2u vec3u vec4u
|
|
247
|
+
vec2f vec3f vec4f
|
|
248
|
+
vec2h vec3h vec4h
|
|
249
|
+
mat2x2f mat2x3f mat2x4f
|
|
250
|
+
mat3x2f mat3x3f mat3x4f
|
|
251
|
+
mat4x2f mat4x3f mat4x4f
|
|
252
|
+
mat2x2h mat2x3h mat2x4h
|
|
253
|
+
mat3x2h mat3x3h mat3x4h
|
|
254
|
+
mat4x2h mat4x3h mat4x4h
|
|
255
|
+
`),f=e(`
|
|
256
|
+
bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2
|
|
257
|
+
ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross
|
|
258
|
+
degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit
|
|
259
|
+
firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length
|
|
260
|
+
log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract
|
|
261
|
+
reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose
|
|
262
|
+
trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine
|
|
263
|
+
textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers
|
|
264
|
+
textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare
|
|
265
|
+
textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge
|
|
266
|
+
textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin
|
|
267
|
+
atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm
|
|
268
|
+
pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm
|
|
269
|
+
unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier
|
|
270
|
+
workgroupUniformLoad
|
|
271
|
+
`),_=e(`
|
|
272
|
+
&
|
|
273
|
+
&&
|
|
274
|
+
->
|
|
275
|
+
/
|
|
276
|
+
=
|
|
277
|
+
==
|
|
278
|
+
!=
|
|
279
|
+
>
|
|
280
|
+
>=
|
|
281
|
+
<
|
|
282
|
+
<=
|
|
283
|
+
%
|
|
284
|
+
-
|
|
285
|
+
--
|
|
286
|
+
+
|
|
287
|
+
++
|
|
288
|
+
|
|
|
289
|
+
||
|
|
290
|
+
*
|
|
291
|
+
<<
|
|
292
|
+
>>
|
|
293
|
+
+=
|
|
294
|
+
-=
|
|
295
|
+
*=
|
|
296
|
+
/=
|
|
297
|
+
%=
|
|
298
|
+
&=
|
|
299
|
+
|=
|
|
300
|
+
^=
|
|
301
|
+
>>=
|
|
302
|
+
<<=
|
|
303
|
+
`),g=/enable|requires|diagnostic/,n=/[_\p{XID_Start}]\p{XID_Continue}*/u,t="variable.predefined",h={tokenPostfix:".wgsl",defaultToken:"invalid",unicode:!0,atoms:c,keywords:m,reserved:l,predeclared_enums:u,predeclared_types:p,predeclared_type_generators:d,predeclared_type_aliases:x,predeclared_intrinsics:f,operators:_,symbols:/[!%&*+\-\.\/:;<=>^|_~,]+/,tokenizer:{root:[[g,"keyword","@directive"],[n,{cases:{"@atoms":t,"@keywords":"keyword","@reserved":"invalid","@predeclared_enums":t,"@predeclared_types":t,"@predeclared_type_generators":t,"@predeclared_type_aliases":t,"@predeclared_intrinsics":t,"@default":"identifier"}}],{include:"@commentOrSpace"},{include:"@numbers"},[/[{}()\[\]]/,"@brackets"],["@","annotation","@attribute"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/./,"invalid"]],commentOrSpace:[[/\s+/,"white"],[/\/\*/,"comment","@blockComment"],[/\/\/.*$/,"comment"]],blockComment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],attribute:[{include:"@commentOrSpace"},[/\w+/,"annotation","@pop"]],directive:[{include:"@commentOrSpace"},[/[()]/,"@brackets"],[/,/,"delimiter"],[n,"meta.content"],[/;/,"delimiter","@pop"]],numbers:[[/0[fh]/,"number.float"],[/[1-9][0-9]*[fh]/,"number.float"],[/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+[eE][+-]?[0-9]+[fh]?/,"number.float"],[/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/,"number.hex"],[/0[xX][0-9a-fA-F]+[iu]?/,"number.hex"],[/[1-9][0-9]*[iu]?/,"number"],[/0[iu]?/,"number"]]}};export{s as conf,h as language};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{m}from"./index-
|
|
1
|
+
import{m}from"./index-7368f3e3.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.40.0(83b3cf23ca80c94cccca7c5b3e48351b220f8e35)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,r=(t,e,a,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of d(e))!p.call(t,n)&&n!==a&&c(t,n,{get:()=>e[n],enumerable:!(i=l(e,n))||i.enumerable});return t},s=(t,e,a)=>(r(t,e,"default"),a&&r(a,e,"default")),o={};s(o,m);var u={comments:{blockComment:["<!--","-->"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:o.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:o.languages.IndentAction.Indent}}]},g={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}};export{u as conf,g as language};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{m as i}from"./index-
|
|
1
|
+
import{m as i}from"./index-7368f3e3.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.40.0(83b3cf23ca80c94cccca7c5b3e48351b220f8e35)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,a=(n,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of s(e))!d.call(n,t)&&t!==r&&c(n,t,{get:()=>e[t],enumerable:!(o=u(e,t))||o.enumerable});return n},m=(n,e,r)=>(a(n,e,"default"),r&&a(r,e,"default")),l={};m(l,i);var b={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:l.languages.IndentAction.Indent}}]},p={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'
|
|
6
|
+
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,a=(n,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of s(e))!d.call(n,t)&&t!==r&&c(n,t,{get:()=>e[t],enumerable:!(o=u(e,t))||o.enumerable});return n},m=(n,e,r)=>(a(n,e,"default"),r&&a(r,e,"default")),l={};m(l,i);var b={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:l.languages.IndentAction.Indent}}]},p={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}};export{b as conf,p as language};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var M=function(t,r){return M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])},M(t,r)};function m(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");M(t,r);function e(){this.constructor=t}t.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}function At(t,r,e,n){function i(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function c(
|
|
1
|
+
var M=function(t,r){return M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])},M(t,r)};function m(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");M(t,r);function e(){this.constructor=t}t.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}function At(t,r,e,n){function i(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function c(f){try{s(n.next(f))}catch(v){u(v)}}function a(f){try{s(n.throw(f))}catch(v){u(v)}}function s(f){f.done?o(f.value):i(f.value).then(c,a)}s((n=n.apply(t,r||[])).next())})}function Q(t,r){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,u;return u={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(s){return function(f){return a([s,f])}}function a(s){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,s[0]&&(e=0)),e;)try{if(n=1,i&&(o=s[0]&2?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[s[0]&2,o.value]),s[0]){case 0:case 1:o=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,i=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(o=e.trys,!(o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){e.label=s[1];break}if(s[0]===6&&e.label<o[1]){e.label=o[1],o=s;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(s);break}o[2]&&e.ops.pop(),e.trys.pop();continue}s=r.call(t,e)}catch(f){s=[6,f],i=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function g(t){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&t[r],n=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function x(t,r){var e=typeof Symbol=="function"&&t[Symbol.iterator];if(!e)return t;var n=e.call(t),i,o=[],u;try{for(;(r===void 0||r-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(c){u={error:c}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(u)throw u.error}}return o}function E(t,r,e){if(e||arguments.length===2)for(var n=0,i=r.length,o;n<i;n++)(o||!(n in r))&&(o||(o=Array.prototype.slice.call(r,0,n)),o[n]=r[n]);return t.concat(o||Array.prototype.slice.call(r))}function I(t){return this instanceof I?(this.v=t,this):new I(t)}function Ot(t,r,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(t,r||[]),i,o=[];return i={},u("next"),u("throw"),u("return"),i[Symbol.asyncIterator]=function(){return this},i;function u(l){n[l]&&(i[l]=function(d){return new Promise(function(b,p){o.push([l,d,b,p])>1||c(l,d)})})}function c(l,d){try{a(n[l](d))}catch(b){v(o[0][3],b)}}function a(l){l.value instanceof I?Promise.resolve(l.value.v).then(s,f):v(o[0][2],l)}function s(l){c("next",l)}function f(l){c("throw",l)}function v(l,d){l(d),o.shift(),o.length&&c(o[0][0],o[0][1])}}function Pt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t[Symbol.asyncIterator],e;return r?r.call(t):(t=typeof g=="function"?g(t):t[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(o){e[o]=t[o]&&function(u){return new Promise(function(c,a){u=t[o](u),i(c,a,u.done,u.value)})}}function i(o,u,c,a){Promise.resolve(a).then(function(s){o({value:s,done:c})},u)}}typeof SuppressedError=="function"&&SuppressedError;function h(t){return typeof t=="function"}function Y(t){var r=function(n){Error.call(n),n.stack=new Error().stack},e=t(r);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var q=Y(function(t){return function(e){t(this),this.message=e?e.length+` errors occurred during unsubscription:
|
|
2
2
|
`+e.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
3
|
-
`):"",this.name="UnsubscriptionError",this.errors=e}});function F(t,r){if(t){var e=t.indexOf(r);0<=e&&t.splice(e,1)}}var A=function(){function t(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var r,e,n,i,o;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var c=g(u),s=c.next();!s.done;s=c.next()){var a=s.value;a.remove(this)}}catch(p){r={error:p}}finally{try{s&&!s.done&&(e=c.return)&&e.call(c)}finally{if(r)throw r.error}}else u.remove(this);var l=this.initialTeardown;if(h(l))try{l()}catch(p){o=p instanceof q?p.errors:[p]}var v=this._finalizers;if(v){this._finalizers=null;try{for(var f=g(v),d=f.next();!d.done;d=f.next()){var b=d.value;try{N(b)}catch(p){o=o??[],p instanceof q?o=I(I([],x(o)),x(p.errors)):o.push(p)}}}catch(p){n={error:p}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}if(o)throw new q(o)}},t.prototype.add=function(r){var e;if(r&&r!==this)if(this.closed)N(r);else{if(r instanceof t){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(r)}},t.prototype._hasParent=function(r){var e=this._parentage;return e===r||Array.isArray(e)&&e.includes(r)},t.prototype._addParent=function(r){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(r),e):e?[e,r]:r},t.prototype._removeParent=function(r){var e=this._parentage;e===r?this._parentage=null:Array.isArray(e)&&F(e,r)},t.prototype.remove=function(r){var e=this._finalizers;e&&F(e,r),r instanceof t&&r._removeParent(this)},t.EMPTY=function(){var r=new t;return r.closed=!0,r}(),t}(),X=A.EMPTY;function z(t){return t instanceof A||t&&"closed"in t&&h(t.remove)&&h(t.add)&&h(t.unsubscribe)}function N(t){h(t)?t():t.unsubscribe()}var tt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Tt={setTimeout:function(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return setTimeout.apply(void 0,I([t,r],x(e)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function et(t){Tt.setTimeout(function(){throw t})}function D(){}function V(t){t()}var G=function(t){m(r,t);function r(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,z(e)&&e.add(n)):n.destination=Rt,n}return r.create=function(e,n,i){return new O(e,n,i)},r.prototype.next=function(e){this.isStopped||this._next(e)},r.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(A),jt=Function.prototype.bind;function K(t,r){return jt.call(t,r)}var Ct=function(){function t(r){this.partialObserver=r}return t.prototype.next=function(r){var e=this.partialObserver;if(e.next)try{e.next(r)}catch(n){L(n)}},t.prototype.error=function(r){var e=this.partialObserver;if(e.error)try{e.error(r)}catch(n){L(n)}else L(r)},t.prototype.complete=function(){var r=this.partialObserver;if(r.complete)try{r.complete()}catch(e){L(e)}},t}(),O=function(t){m(r,t);function r(e,n,i){var o=t.call(this)||this,u;if(h(e)||!e)u={next:e??void 0,error:n??void 0,complete:i??void 0};else{var c;o&&tt.useDeprecatedNextContext?(c=Object.create(e),c.unsubscribe=function(){return o.unsubscribe()},u={next:e.next&&K(e.next,c),error:e.error&&K(e.error,c),complete:e.complete&&K(e.complete,c)}):u=e}return o.destination=new Ct(u),o}return r}(G);function L(t){et(t)}function kt(t){throw t}var Rt={closed:!0,next:D,error:kt,complete:D},Z=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function j(t){return t}function Ut(t){return t.length===0?j:t.length===1?t[0]:function(e){return t.reduce(function(n,i){return i(n)},e)}}var y=function(){function t(r){r&&(this._subscribe=r)}return t.prototype.lift=function(r){var e=new t;return e.source=this,e.operator=r,e},t.prototype.subscribe=function(r,e,n){var i=this,o=Vt(r)?r:new O(r,e,n);return V(function(){var u=i,c=u.operator,s=u.source;o.add(c?c.call(o,s):s?i._subscribe(o):i._trySubscribe(o))}),o},t.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(e){r.error(e)}},t.prototype.forEach=function(r,e){var n=this;return e=rt(e),new e(function(i,o){var u=new O({next:function(c){try{r(c)}catch(s){o(s),u.unsubscribe()}},error:o,complete:i});n.subscribe(u)})},t.prototype._subscribe=function(r){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(r)},t.prototype[Z]=function(){return this},t.prototype.pipe=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return Ut(r)(this)},t.prototype.toPromise=function(r){var e=this;return r=rt(r),new r(function(n,i){var o;e.subscribe(function(u){return o=u},function(u){return i(u)},function(){return n(o)})})},t.create=function(r){return new t(r)},t}();function rt(t){var r;return(r=t??tt.Promise)!==null&&r!==void 0?r:Promise}function Ft(t){return t&&h(t.next)&&h(t.error)&&h(t.complete)}function Vt(t){return t&&t instanceof G||Ft(t)&&z(t)}function Lt(t){return h(t?.lift)}function w(t){return function(r){if(Lt(r))return r.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function _(t,r,e,n,i){return new Wt(t,r,e,n,i)}var Wt=function(t){m(r,t);function r(e,n,i,o,u,c){var s=t.call(this,e)||this;return s.onFinalize=u,s.shouldUnsubscribe=c,s._next=n?function(a){try{n(a)}catch(l){e.error(l)}}:t.prototype._next,s._error=o?function(a){try{o(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:t.prototype._error,s._complete=i?function(){try{i()}catch(a){e.error(a)}finally{this.unsubscribe()}}:t.prototype._complete,s}return r.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}},r}(G),Mt=Y(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),C=function(t){m(r,t);function r(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.prototype.lift=function(e){var n=new nt(this,this);return n.operator=e,n},r.prototype._throwIfClosed=function(){if(this.closed)throw new Mt},r.prototype.next=function(e){var n=this;V(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var u=g(n.currentObservers),c=u.next();!c.done;c=u.next()){var s=c.value;s.next(e)}}catch(a){i={error:a}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}})},r.prototype.error=function(e){var n=this;V(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var i=n.observers;i.length;)i.shift().error(e)}})},r.prototype.complete=function(){var e=this;V(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var n=e.observers;n.length;)n.shift().complete()}})},r.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(r.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},r.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},r.prototype._innerSubscribe=function(e){var n=this,i=this,o=i.hasError,u=i.isStopped,c=i.observers;return o||u?X:(this.currentObservers=null,c.push(e),new A(function(){n.currentObservers=null,F(c,e)}))},r.prototype._checkFinalizedStatuses=function(e){var n=this,i=n.hasError,o=n.thrownError,u=n.isStopped;i?e.error(o):u&&e.complete()},r.prototype.asObservable=function(){var e=new y;return e.source=this,e},r.create=function(e,n){return new nt(e,n)},r}(y),nt=function(t){m(r,t);function r(e,n){var i=t.call(this)||this;return i.destination=e,i.source=n,i}return r.prototype.next=function(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,e)},r.prototype.error=function(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,e)},r.prototype.complete=function(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)},r.prototype._subscribe=function(e){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&i!==void 0?i:X},r}(C),Yt=function(t){m(r,t);function r(e){var n=t.call(this)||this;return n._value=e,n}return Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),r.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return!n.closed&&e.next(this._value),n},r.prototype.getValue=function(){var e=this,n=e.hasError,i=e.thrownError,o=e._value;if(n)throw i;return this._throwIfClosed(),o},r.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},r}(C),H={now:function(){return(H.delegate||Date).now()},delegate:void 0},it=function(t){m(r,t);function r(e,n,i){e===void 0&&(e=1/0),n===void 0&&(n=1/0),i===void 0&&(i=H);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,n),o}return r.prototype.next=function(e){var n=this,i=n.isStopped,o=n._buffer,u=n._infiniteTimeWindow,c=n._timestampProvider,s=n._windowTime;i||(o.push(e),!u&&o.push(c.now()+s)),this._trimBuffer(),t.prototype.next.call(this,e)},r.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(e),i=this,o=i._infiniteTimeWindow,u=i._buffer,c=u.slice(),s=0;s<c.length&&!e.closed;s+=o?1:2)e.next(c[s]);return this._checkFinalizedStatuses(e),n},r.prototype._trimBuffer=function(){var e=this,n=e._bufferSize,i=e._timestampProvider,o=e._buffer,u=e._infiniteTimeWindow,c=(u?1:2)*n;if(n<1/0&&c<o.length&&o.splice(0,o.length-c),!u){for(var s=i.now(),a=0,l=1;l<o.length&&o[l]<=s;l+=2)a=l;a&&o.splice(0,a+1)}},r}(C),qt=function(t){m(r,t);function r(e,n){return t.call(this)||this}return r.prototype.schedule=function(e,n){return this},r}(A),ot={setInterval:function(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return setInterval.apply(void 0,I([t,r],x(e)))},clearInterval:function(t){return clearInterval(t)},delegate:void 0},Dt=function(t){m(r,t);function r(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return r.prototype.schedule=function(e,n){var i;if(n===void 0&&(n=0),this.closed)return this;this.state=e;var o=this.id,u=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(u,o,n)),this.pending=!0,this.delay=n,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(u,this.id,n),this},r.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),ot.setInterval(e.flush.bind(e,this),i)},r.prototype.recycleAsyncId=function(e,n,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return n;n!=null&&ot.clearInterval(n)},r.prototype.execute=function(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(e,n);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(e,n){var i=!1,o;try{this.work(e)}catch(u){i=!0,o=u||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o},r.prototype.unsubscribe=function(){if(!this.closed){var e=this,n=e.id,i=e.scheduler,o=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,F(o,this),n!=null&&(this.id=this.recycleAsyncId(i,n,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},r}(qt),ut=function(){function t(r,e){e===void 0&&(e=t.now),this.schedulerActionCtor=r,this.now=e}return t.prototype.schedule=function(r,e,n){return e===void 0&&(e=0),new this.schedulerActionCtor(this,r).schedule(n,e)},t.now=H.now,t}(),Gt=function(t){m(r,t);function r(e,n){n===void 0&&(n=ut.now);var i=t.call(this,e,n)||this;return i.actions=[],i._active=!1,i}return r.prototype.flush=function(e){var n=this.actions;if(this._active){n.push(e);return}var i;this._active=!0;do if(i=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,i){for(;e=n.shift();)e.unsubscribe();throw i}},r}(ut),Kt=new Gt(Dt);function Zt(t){return t&&h(t.schedule)}function ct(t){return t[t.length-1]}function Ht(t){return h(ct(t))?t.pop():void 0}function at(t){return Zt(ct(t))?t.pop():void 0}var st=function(t){return t&&typeof t.length=="number"&&typeof t!="function"};function lt(t){return h(t?.then)}function ft(t){return h(t[Z])}function ht(t){return Symbol.asyncIterator&&h(t?.[Symbol.asyncIterator])}function vt(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function $t(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var dt=$t();function pt(t){return h(t?.[dt])}function yt(t){return Ot(this,arguments,function(){var e,n,i,o;return Q(this,function(u){switch(u.label){case 0:e=t.getReader(),u.label=1;case 1:u.trys.push([1,,9,10]),u.label=2;case 2:return[4,E(e.read())];case 3:return n=u.sent(),i=n.value,o=n.done,o?[4,E(void 0)]:[3,5];case 4:return[2,u.sent()];case 5:return[4,E(i)];case 6:return[4,u.sent()];case 7:return u.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}})})}function bt(t){return h(t?.getReader)}function P(t){if(t instanceof y)return t;if(t!=null){if(ft(t))return Jt(t);if(st(t))return Bt(t);if(lt(t))return Qt(t);if(ht(t))return mt(t);if(pt(t))return Xt(t);if(bt(t))return zt(t)}throw vt(t)}function Jt(t){return new y(function(r){var e=t[Z]();if(h(e.subscribe))return e.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Bt(t){return new y(function(r){for(var e=0;e<t.length&&!r.closed;e++)r.next(t[e]);r.complete()})}function Qt(t){return new y(function(r){t.then(function(e){r.closed||(r.next(e),r.complete())},function(e){return r.error(e)}).then(null,et)})}function Xt(t){return new y(function(r){var e,n;try{for(var i=g(t),o=i.next();!o.done;o=i.next()){var u=o.value;if(r.next(u),r.closed)return}}catch(c){e={error:c}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}r.complete()})}function mt(t){return new y(function(r){Nt(t,r).catch(function(e){return r.error(e)})})}function zt(t){return mt(yt(t))}function Nt(t,r){var e,n,i,o;return At(this,void 0,void 0,function(){var u,c;return Q(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),e=Pt(t),s.label=1;case 1:return[4,e.next()];case 2:if(n=s.sent(),!!n.done)return[3,4];if(u=n.value,r.next(u),r.closed)return[2];s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=s.sent(),i={error:c},[3,11];case 6:return s.trys.push([6,,9,10]),n&&!n.done&&(o=e.return)?[4,o.call(e)]:[3,8];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return r.complete(),[2]}})})}function S(t,r,e,n,i){n===void 0&&(n=0),i===void 0&&(i=!1);var o=r.schedule(function(){e(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function wt(t,r){return r===void 0&&(r=0),w(function(e,n){e.subscribe(_(n,function(i){return S(n,t,function(){return n.next(i)},r)},function(){return S(n,t,function(){return n.complete()},r)},function(i){return S(n,t,function(){return n.error(i)},r)}))})}function St(t,r){return r===void 0&&(r=0),w(function(e,n){n.add(t.schedule(function(){return e.subscribe(n)},r))})}function te(t,r){return P(t).pipe(St(r),wt(r))}function ee(t,r){return P(t).pipe(St(r),wt(r))}function re(t,r){return new y(function(e){var n=0;return r.schedule(function(){n===t.length?e.complete():(e.next(t[n++]),e.closed||this.schedule())})})}function ne(t,r){return new y(function(e){var n;return S(e,r,function(){n=t[dt](),S(e,r,function(){var i,o,u;try{i=n.next(),o=i.value,u=i.done}catch(c){e.error(c);return}u?e.complete():e.next(o)},0,!0)}),function(){return h(n?.return)&&n.return()}})}function _t(t,r){if(!t)throw new Error("Iterable cannot be null");return new y(function(e){S(e,r,function(){var n=t[Symbol.asyncIterator]();S(e,r,function(){n.next().then(function(i){i.done?e.complete():e.next(i.value)})},0,!0)})})}function ie(t,r){return _t(yt(t),r)}function oe(t,r){if(t!=null){if(ft(t))return te(t,r);if(st(t))return re(t,r);if(lt(t))return ee(t,r);if(ht(t))return _t(t,r);if(pt(t))return ne(t,r);if(bt(t))return ie(t,r)}throw vt(t)}function $(t,r){return r?oe(t,r):P(t)}function ue(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=at(t);return $(t,e)}var gt=Y(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}});function ce(t,r){var e=typeof r=="object";return new Promise(function(n,i){var o=!1,u;t.subscribe({next:function(c){u=c,o=!0},error:i,complete:function(){o?n(u):e?n(r.defaultValue):i(new gt)}})})}function ae(t,r){var e=typeof r=="object";return new Promise(function(n,i){var o=new O({next:function(u){n(u),o.unsubscribe()},error:i,complete:function(){e?n(r.defaultValue):i(new gt)}});t.subscribe(o)})}function xt(t,r){return w(function(e,n){var i=0;e.subscribe(_(n,function(o){n.next(t.call(r,o,i++))}))})}var se=Array.isArray;function le(t,r){return se(r)?t.apply(void 0,I([],x(r))):t(r)}function fe(t){return xt(function(r){return le(t,r)})}var he=Array.isArray,ve=Object.getPrototypeOf,de=Object.prototype,pe=Object.keys;function ye(t){if(t.length===1){var r=t[0];if(he(r))return{args:r,keys:null};if(be(r)){var e=pe(r);return{args:e.map(function(n){return r[n]}),keys:e}}}return{args:t,keys:null}}function be(t){return t&&typeof t=="object"&&ve(t)===de}function me(t,r){return t.reduce(function(e,n,i){return e[n]=r[i],e},{})}function we(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=at(t),n=Ht(t),i=ye(t),o=i.args,u=i.keys;if(o.length===0)return $([],e);var c=new y(Se(o,e,u?function(s){return me(u,s)}:j));return n?c.pipe(fe(n)):c}function Se(t,r,e){return e===void 0&&(e=j),function(n){It(r,function(){for(var i=t.length,o=new Array(i),u=i,c=i,s=function(l){It(r,function(){var v=$(t[l],r),f=!1;v.subscribe(_(n,function(d){o[l]=d,f||(f=!0,c--),c||n.next(e(o.slice()))},function(){--u||n.complete()}))},n)},a=0;a<i;a++)s(a)},n)}}function It(t,r,e){t?S(e,t,r):r()}function _e(t,r){return r===void 0&&(r=Kt),w(function(e,n){var i=null,o=null,u=null,c=function(){if(i){i.unsubscribe(),i=null;var a=o;o=null,n.next(a)}};function s(){var a=u+t,l=r.now();if(l<a){i=this.schedule(void 0,a-l),n.add(i);return}c()}e.subscribe(_(n,function(a){o=a,u=r.now(),i||(i=r.schedule(s,t),n.add(i))},function(){c(),n.complete()},void 0,function(){o=i=null}))})}function ge(t,r){return r===void 0&&(r=j),t=t??xe,w(function(e,n){var i,o=!0;e.subscribe(_(n,function(u){var c=r(u);(o||!t(i,c))&&(o=!1,i=c,n.next(u))}))})}function xe(t,r){return t===r}function Ie(t){t===void 0&&(t={});var r=t.connector,e=r===void 0?function(){return new C}:r,n=t.resetOnError,i=n===void 0?!0:n,o=t.resetOnComplete,u=o===void 0?!0:o,c=t.resetOnRefCountZero,s=c===void 0?!0:c;return function(a){var l,v,f,d=0,b=!1,p=!1,k=function(){v?.unsubscribe(),v=void 0},W=function(){k(),l=f=void 0,b=p=!1},Et=function(){var T=l;W(),T?.unsubscribe()};return w(function(T,B){d++,!p&&!b&&k();var R=f=f??e();B.add(function(){d--,d===0&&!p&&!b&&(v=J(Et,s))}),R.subscribe(B),!l&&d>0&&(l=new O({next:function(U){return R.next(U)},error:function(U){p=!0,k(),v=J(W,i,U),R.error(U)},complete:function(){b=!0,k(),v=J(W,u),R.complete()}}),P(T).subscribe(l))})(a)}}function J(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];if(r===!0){t();return}if(r!==!1){var i=new O({next:function(){i.unsubscribe(),t()}});return P(r.apply(void 0,I([],x(e)))).subscribe(i)}}function Ee(t,r,e){var n,i,o,u,c=!1;return t&&typeof t=="object"?(n=t.bufferSize,u=n===void 0?1/0:n,i=t.windowTime,r=i===void 0?1/0:i,o=t.refCount,c=o===void 0?!1:o,e=t.scheduler):u=t??1/0,Ie({connector:function(){return new it(u,r,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})}function Ae(t){return w(function(r,e){P(t).subscribe(_(e,function(){return e.complete()},D)),!e.closed&&r.subscribe(e)})}function Oe(t,r,e){var n=h(t)||r||e?{next:t,error:r,complete:e}:t;return n?w(function(i,o){var u;(u=n.subscribe)===null||u===void 0||u.call(n);var c=!0;i.subscribe(_(o,function(s){var a;(a=n.next)===null||a===void 0||a.call(n,s),o.next(s)},function(){var s;c=!1,(s=n.complete)===null||s===void 0||s.call(n),o.complete()},function(s){var a;c=!1,(a=n.error)===null||a===void 0||a.call(n,s),o.error(s)},function(){var s,a;c&&((s=n.unsubscribe)===null||s===void 0||s.call(n)),(a=n.finalize)===null||a===void 0||a.call(n)}))}):j}export{Yt as BehaviorSubject,y as Observable,it as ReplaySubject,C as Subject,A as Subscription,we as combineLatest,_e as debounceTime,ge as distinctUntilChanged,ae as firstValueFrom,ce as lastValueFrom,xt as map,ue as of,Ee as shareReplay,Ae as takeUntil,Oe as tap};
|
|
3
|
+
`):"",this.name="UnsubscriptionError",this.errors=e}});function F(t,r){if(t){var e=t.indexOf(r);0<=e&&t.splice(e,1)}}var A=function(){function t(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var r,e,n,i,o;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var c=g(u),a=c.next();!a.done;a=c.next()){var s=a.value;s.remove(this)}}catch(p){r={error:p}}finally{try{a&&!a.done&&(e=c.return)&&e.call(c)}finally{if(r)throw r.error}}else u.remove(this);var f=this.initialTeardown;if(h(f))try{f()}catch(p){o=p instanceof q?p.errors:[p]}var v=this._finalizers;if(v){this._finalizers=null;try{for(var l=g(v),d=l.next();!d.done;d=l.next()){var b=d.value;try{N(b)}catch(p){o=o??[],p instanceof q?o=E(E([],x(o)),x(p.errors)):o.push(p)}}}catch(p){n={error:p}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(o)throw new q(o)}},t.prototype.add=function(r){var e;if(r&&r!==this)if(this.closed)N(r);else{if(r instanceof t){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(r)}},t.prototype._hasParent=function(r){var e=this._parentage;return e===r||Array.isArray(e)&&e.includes(r)},t.prototype._addParent=function(r){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(r),e):e?[e,r]:r},t.prototype._removeParent=function(r){var e=this._parentage;e===r?this._parentage=null:Array.isArray(e)&&F(e,r)},t.prototype.remove=function(r){var e=this._finalizers;e&&F(e,r),r instanceof t&&r._removeParent(this)},t.EMPTY=function(){var r=new t;return r.closed=!0,r}(),t}(),X=A.EMPTY;function z(t){return t instanceof A||t&&"closed"in t&&h(t.remove)&&h(t.add)&&h(t.unsubscribe)}function N(t){h(t)?t():t.unsubscribe()}var tt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Tt={setTimeout:function(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return setTimeout.apply(void 0,E([t,r],x(e)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function et(t){Tt.setTimeout(function(){throw t})}function D(){}function V(t){t()}var G=function(t){m(r,t);function r(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,z(e)&&e.add(n)):n.destination=Rt,n}return r.create=function(e,n,i){return new O(e,n,i)},r.prototype.next=function(e){this.isStopped||this._next(e)},r.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(A),jt=Function.prototype.bind;function K(t,r){return jt.call(t,r)}var Ct=function(){function t(r){this.partialObserver=r}return t.prototype.next=function(r){var e=this.partialObserver;if(e.next)try{e.next(r)}catch(n){L(n)}},t.prototype.error=function(r){var e=this.partialObserver;if(e.error)try{e.error(r)}catch(n){L(n)}else L(r)},t.prototype.complete=function(){var r=this.partialObserver;if(r.complete)try{r.complete()}catch(e){L(e)}},t}(),O=function(t){m(r,t);function r(e,n,i){var o=t.call(this)||this,u;if(h(e)||!e)u={next:e??void 0,error:n??void 0,complete:i??void 0};else{var c;o&&tt.useDeprecatedNextContext?(c=Object.create(e),c.unsubscribe=function(){return o.unsubscribe()},u={next:e.next&&K(e.next,c),error:e.error&&K(e.error,c),complete:e.complete&&K(e.complete,c)}):u=e}return o.destination=new Ct(u),o}return r}(G);function L(t){et(t)}function kt(t){throw t}var Rt={closed:!0,next:D,error:kt,complete:D},Z=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function j(t){return t}function Ut(t){return t.length===0?j:t.length===1?t[0]:function(e){return t.reduce(function(n,i){return i(n)},e)}}var y=function(){function t(r){r&&(this._subscribe=r)}return t.prototype.lift=function(r){var e=new t;return e.source=this,e.operator=r,e},t.prototype.subscribe=function(r,e,n){var i=this,o=Vt(r)?r:new O(r,e,n);return V(function(){var u=i,c=u.operator,a=u.source;o.add(c?c.call(o,a):a?i._subscribe(o):i._trySubscribe(o))}),o},t.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(e){r.error(e)}},t.prototype.forEach=function(r,e){var n=this;return e=rt(e),new e(function(i,o){var u=new O({next:function(c){try{r(c)}catch(a){o(a),u.unsubscribe()}},error:o,complete:i});n.subscribe(u)})},t.prototype._subscribe=function(r){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(r)},t.prototype[Z]=function(){return this},t.prototype.pipe=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return Ut(r)(this)},t.prototype.toPromise=function(r){var e=this;return r=rt(r),new r(function(n,i){var o;e.subscribe(function(u){return o=u},function(u){return i(u)},function(){return n(o)})})},t.create=function(r){return new t(r)},t}();function rt(t){var r;return(r=t??tt.Promise)!==null&&r!==void 0?r:Promise}function Ft(t){return t&&h(t.next)&&h(t.error)&&h(t.complete)}function Vt(t){return t&&t instanceof G||Ft(t)&&z(t)}function Lt(t){return h(t?.lift)}function w(t){return function(r){if(Lt(r))return r.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function _(t,r,e,n,i){return new Wt(t,r,e,n,i)}var Wt=function(t){m(r,t);function r(e,n,i,o,u,c){var a=t.call(this,e)||this;return a.onFinalize=u,a.shouldUnsubscribe=c,a._next=n?function(s){try{n(s)}catch(f){e.error(f)}}:t.prototype._next,a._error=o?function(s){try{o(s)}catch(f){e.error(f)}finally{this.unsubscribe()}}:t.prototype._error,a._complete=i?function(){try{i()}catch(s){e.error(s)}finally{this.unsubscribe()}}:t.prototype._complete,a}return r.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}},r}(G),Mt=Y(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),C=function(t){m(r,t);function r(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.prototype.lift=function(e){var n=new nt(this,this);return n.operator=e,n},r.prototype._throwIfClosed=function(){if(this.closed)throw new Mt},r.prototype.next=function(e){var n=this;V(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var u=g(n.currentObservers),c=u.next();!c.done;c=u.next()){var a=c.value;a.next(e)}}catch(s){i={error:s}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}})},r.prototype.error=function(e){var n=this;V(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var i=n.observers;i.length;)i.shift().error(e)}})},r.prototype.complete=function(){var e=this;V(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var n=e.observers;n.length;)n.shift().complete()}})},r.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(r.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},r.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},r.prototype._innerSubscribe=function(e){var n=this,i=this,o=i.hasError,u=i.isStopped,c=i.observers;return o||u?X:(this.currentObservers=null,c.push(e),new A(function(){n.currentObservers=null,F(c,e)}))},r.prototype._checkFinalizedStatuses=function(e){var n=this,i=n.hasError,o=n.thrownError,u=n.isStopped;i?e.error(o):u&&e.complete()},r.prototype.asObservable=function(){var e=new y;return e.source=this,e},r.create=function(e,n){return new nt(e,n)},r}(y),nt=function(t){m(r,t);function r(e,n){var i=t.call(this)||this;return i.destination=e,i.source=n,i}return r.prototype.next=function(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,e)},r.prototype.error=function(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,e)},r.prototype.complete=function(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)},r.prototype._subscribe=function(e){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&i!==void 0?i:X},r}(C),Yt=function(t){m(r,t);function r(e){var n=t.call(this)||this;return n._value=e,n}return Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),r.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return!n.closed&&e.next(this._value),n},r.prototype.getValue=function(){var e=this,n=e.hasError,i=e.thrownError,o=e._value;if(n)throw i;return this._throwIfClosed(),o},r.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},r}(C),H={now:function(){return(H.delegate||Date).now()},delegate:void 0},it=function(t){m(r,t);function r(e,n,i){e===void 0&&(e=1/0),n===void 0&&(n=1/0),i===void 0&&(i=H);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,n),o}return r.prototype.next=function(e){var n=this,i=n.isStopped,o=n._buffer,u=n._infiniteTimeWindow,c=n._timestampProvider,a=n._windowTime;i||(o.push(e),!u&&o.push(c.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},r.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(e),i=this,o=i._infiniteTimeWindow,u=i._buffer,c=u.slice(),a=0;a<c.length&&!e.closed;a+=o?1:2)e.next(c[a]);return this._checkFinalizedStatuses(e),n},r.prototype._trimBuffer=function(){var e=this,n=e._bufferSize,i=e._timestampProvider,o=e._buffer,u=e._infiniteTimeWindow,c=(u?1:2)*n;if(n<1/0&&c<o.length&&o.splice(0,o.length-c),!u){for(var a=i.now(),s=0,f=1;f<o.length&&o[f]<=a;f+=2)s=f;s&&o.splice(0,s+1)}},r}(C),qt=function(t){m(r,t);function r(e,n){return t.call(this)||this}return r.prototype.schedule=function(e,n){return this},r}(A),ot={setInterval:function(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return setInterval.apply(void 0,E([t,r],x(e)))},clearInterval:function(t){return clearInterval(t)},delegate:void 0},Dt=function(t){m(r,t);function r(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return r.prototype.schedule=function(e,n){var i;if(n===void 0&&(n=0),this.closed)return this;this.state=e;var o=this.id,u=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(u,o,n)),this.pending=!0,this.delay=n,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(u,this.id,n),this},r.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),ot.setInterval(e.flush.bind(e,this),i)},r.prototype.recycleAsyncId=function(e,n,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return n;n!=null&&ot.clearInterval(n)},r.prototype.execute=function(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(e,n);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(e,n){var i=!1,o;try{this.work(e)}catch(u){i=!0,o=u||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o},r.prototype.unsubscribe=function(){if(!this.closed){var e=this,n=e.id,i=e.scheduler,o=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,F(o,this),n!=null&&(this.id=this.recycleAsyncId(i,n,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},r}(qt),ut=function(){function t(r,e){e===void 0&&(e=t.now),this.schedulerActionCtor=r,this.now=e}return t.prototype.schedule=function(r,e,n){return e===void 0&&(e=0),new this.schedulerActionCtor(this,r).schedule(n,e)},t.now=H.now,t}(),Gt=function(t){m(r,t);function r(e,n){n===void 0&&(n=ut.now);var i=t.call(this,e,n)||this;return i.actions=[],i._active=!1,i}return r.prototype.flush=function(e){var n=this.actions;if(this._active){n.push(e);return}var i;this._active=!0;do if(i=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,i){for(;e=n.shift();)e.unsubscribe();throw i}},r}(ut),Kt=new Gt(Dt);function Zt(t){return t&&h(t.schedule)}function ct(t){return t[t.length-1]}function Ht(t){return h(ct(t))?t.pop():void 0}function st(t){return Zt(ct(t))?t.pop():void 0}var at=function(t){return t&&typeof t.length=="number"&&typeof t!="function"};function ft(t){return h(t?.then)}function lt(t){return h(t[Z])}function ht(t){return Symbol.asyncIterator&&h(t?.[Symbol.asyncIterator])}function vt(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function $t(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var dt=$t();function pt(t){return h(t?.[dt])}function yt(t){return Ot(this,arguments,function(){var e,n,i,o;return Q(this,function(u){switch(u.label){case 0:e=t.getReader(),u.label=1;case 1:u.trys.push([1,,9,10]),u.label=2;case 2:return[4,I(e.read())];case 3:return n=u.sent(),i=n.value,o=n.done,o?[4,I(void 0)]:[3,5];case 4:return[2,u.sent()];case 5:return[4,I(i)];case 6:return[4,u.sent()];case 7:return u.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}})})}function bt(t){return h(t?.getReader)}function P(t){if(t instanceof y)return t;if(t!=null){if(lt(t))return Jt(t);if(at(t))return Bt(t);if(ft(t))return Qt(t);if(ht(t))return mt(t);if(pt(t))return Xt(t);if(bt(t))return zt(t)}throw vt(t)}function Jt(t){return new y(function(r){var e=t[Z]();if(h(e.subscribe))return e.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Bt(t){return new y(function(r){for(var e=0;e<t.length&&!r.closed;e++)r.next(t[e]);r.complete()})}function Qt(t){return new y(function(r){t.then(function(e){r.closed||(r.next(e),r.complete())},function(e){return r.error(e)}).then(null,et)})}function Xt(t){return new y(function(r){var e,n;try{for(var i=g(t),o=i.next();!o.done;o=i.next()){var u=o.value;if(r.next(u),r.closed)return}}catch(c){e={error:c}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}r.complete()})}function mt(t){return new y(function(r){Nt(t,r).catch(function(e){return r.error(e)})})}function zt(t){return mt(yt(t))}function Nt(t,r){var e,n,i,o;return At(this,void 0,void 0,function(){var u,c;return Q(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),e=Pt(t),a.label=1;case 1:return[4,e.next()];case 2:if(n=a.sent(),!!n.done)return[3,4];if(u=n.value,r.next(u),r.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=a.sent(),i={error:c},[3,11];case 6:return a.trys.push([6,,9,10]),n&&!n.done&&(o=e.return)?[4,o.call(e)]:[3,8];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return r.complete(),[2]}})})}function S(t,r,e,n,i){n===void 0&&(n=0),i===void 0&&(i=!1);var o=r.schedule(function(){e(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function wt(t,r){return r===void 0&&(r=0),w(function(e,n){e.subscribe(_(n,function(i){return S(n,t,function(){return n.next(i)},r)},function(){return S(n,t,function(){return n.complete()},r)},function(i){return S(n,t,function(){return n.error(i)},r)}))})}function St(t,r){return r===void 0&&(r=0),w(function(e,n){n.add(t.schedule(function(){return e.subscribe(n)},r))})}function te(t,r){return P(t).pipe(St(r),wt(r))}function ee(t,r){return P(t).pipe(St(r),wt(r))}function re(t,r){return new y(function(e){var n=0;return r.schedule(function(){n===t.length?e.complete():(e.next(t[n++]),e.closed||this.schedule())})})}function ne(t,r){return new y(function(e){var n;return S(e,r,function(){n=t[dt](),S(e,r,function(){var i,o,u;try{i=n.next(),o=i.value,u=i.done}catch(c){e.error(c);return}u?e.complete():e.next(o)},0,!0)}),function(){return h(n?.return)&&n.return()}})}function _t(t,r){if(!t)throw new Error("Iterable cannot be null");return new y(function(e){S(e,r,function(){var n=t[Symbol.asyncIterator]();S(e,r,function(){n.next().then(function(i){i.done?e.complete():e.next(i.value)})},0,!0)})})}function ie(t,r){return _t(yt(t),r)}function oe(t,r){if(t!=null){if(lt(t))return te(t,r);if(at(t))return re(t,r);if(ft(t))return ee(t,r);if(ht(t))return _t(t,r);if(pt(t))return ne(t,r);if(bt(t))return ie(t,r)}throw vt(t)}function $(t,r){return r?oe(t,r):P(t)}function ue(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=st(t);return $(t,e)}var gt=Y(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}});function ce(t,r){var e=typeof r=="object";return new Promise(function(n,i){var o=!1,u;t.subscribe({next:function(c){u=c,o=!0},error:i,complete:function(){o?n(u):e?n(r.defaultValue):i(new gt)}})})}function se(t,r){var e=typeof r=="object";return new Promise(function(n,i){var o=new O({next:function(u){n(u),o.unsubscribe()},error:i,complete:function(){e?n(r.defaultValue):i(new gt)}});t.subscribe(o)})}function xt(t,r){return w(function(e,n){var i=0;e.subscribe(_(n,function(o){n.next(t.call(r,o,i++))}))})}var ae=Array.isArray;function fe(t,r){return ae(r)?t.apply(void 0,E([],x(r))):t(r)}function le(t){return xt(function(r){return fe(t,r)})}var he=Array.isArray,ve=Object.getPrototypeOf,de=Object.prototype,pe=Object.keys;function ye(t){if(t.length===1){var r=t[0];if(he(r))return{args:r,keys:null};if(be(r)){var e=pe(r);return{args:e.map(function(n){return r[n]}),keys:e}}}return{args:t,keys:null}}function be(t){return t&&typeof t=="object"&&ve(t)===de}function me(t,r){return t.reduce(function(e,n,i){return e[n]=r[i],e},{})}function we(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=st(t),n=Ht(t),i=ye(t),o=i.args,u=i.keys;if(o.length===0)return $([],e);var c=new y(Se(o,e,u?function(a){return me(u,a)}:j));return n?c.pipe(le(n)):c}function Se(t,r,e){return e===void 0&&(e=j),function(n){Et(r,function(){for(var i=t.length,o=new Array(i),u=i,c=i,a=function(f){Et(r,function(){var v=$(t[f],r),l=!1;v.subscribe(_(n,function(d){o[f]=d,l||(l=!0,c--),c||n.next(e(o.slice()))},function(){--u||n.complete()}))},n)},s=0;s<i;s++)a(s)},n)}}function Et(t,r,e){t?S(e,t,r):r()}function _e(t,r){return r===void 0&&(r=Kt),w(function(e,n){var i=null,o=null,u=null,c=function(){if(i){i.unsubscribe(),i=null;var s=o;o=null,n.next(s)}};function a(){var s=u+t,f=r.now();if(f<s){i=this.schedule(void 0,s-f),n.add(i);return}c()}e.subscribe(_(n,function(s){o=s,u=r.now(),i||(i=r.schedule(a,t),n.add(i))},function(){c(),n.complete()},void 0,function(){o=i=null}))})}function ge(t,r){return r===void 0&&(r=j),t=t??xe,w(function(e,n){var i,o=!0;e.subscribe(_(n,function(u){var c=r(u);(o||!t(i,c))&&(o=!1,i=c,n.next(u))}))})}function xe(t,r){return t===r}function Ee(t){t===void 0&&(t={});var r=t.connector,e=r===void 0?function(){return new C}:r,n=t.resetOnError,i=n===void 0?!0:n,o=t.resetOnComplete,u=o===void 0?!0:o,c=t.resetOnRefCountZero,a=c===void 0?!0:c;return function(s){var f,v,l,d=0,b=!1,p=!1,k=function(){v?.unsubscribe(),v=void 0},W=function(){k(),f=l=void 0,b=p=!1},It=function(){var T=f;W(),T?.unsubscribe()};return w(function(T,B){d++,!p&&!b&&k();var R=l=l??e();B.add(function(){d--,d===0&&!p&&!b&&(v=J(It,a))}),R.subscribe(B),!f&&d>0&&(f=new O({next:function(U){return R.next(U)},error:function(U){p=!0,k(),v=J(W,i,U),R.error(U)},complete:function(){b=!0,k(),v=J(W,u),R.complete()}}),P(T).subscribe(f))})(s)}}function J(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];if(r===!0){t();return}if(r!==!1){var i=new O({next:function(){i.unsubscribe(),t()}});return P(r.apply(void 0,E([],x(e)))).subscribe(i)}}function Ie(t,r,e){var n,i,o,u,c=!1;return t&&typeof t=="object"?(n=t.bufferSize,u=n===void 0?1/0:n,i=t.windowTime,r=i===void 0?1/0:i,o=t.refCount,c=o===void 0?!1:o,e=t.scheduler):u=t??1/0,Ee({connector:function(){return new it(u,r,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})}function Ae(t){return w(function(r,e){P(t).subscribe(_(e,function(){return e.complete()},D)),!e.closed&&r.subscribe(e)})}function Oe(t,r,e){var n=h(t)||r||e?{next:t,error:r,complete:e}:t;return n?w(function(i,o){var u;(u=n.subscribe)===null||u===void 0||u.call(n);var c=!0;i.subscribe(_(o,function(a){var s;(s=n.next)===null||s===void 0||s.call(n,a),o.next(a)},function(){var a;c=!1,(a=n.complete)===null||a===void 0||a.call(n),o.complete()},function(a){var s;c=!1,(s=n.error)===null||s===void 0||s.call(n,a),o.error(a)},function(){var a,s;c&&((a=n.unsubscribe)===null||a===void 0||a.call(n)),(s=n.finalize)===null||s===void 0||s.call(n)}))}):j}export{Yt as BehaviorSubject,y as Observable,it as ReplaySubject,C as Subject,A as Subscription,we as combineLatest,_e as debounceTime,ge as distinctUntilChanged,se as firstValueFrom,ce as lastValueFrom,xt as map,ue as of,Ie as shareReplay,Ae as takeUntil,Oe as tap};
|