@baasix/baasix 0.1.0
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/LICENSE.MD +85 -0
- package/README.md +526 -0
- package/assets/banner.jpg +0 -0
- package/assets/banner_small.jpg +0 -0
- package/assets/logo_icon.svg +20 -0
- package/assets/logo_icon_rounded.svg +20 -0
- package/dist/LICENSE.MD +85 -0
- package/dist/README.md +526 -0
- package/dist/app/404/index.html +1 -0
- package/dist/app/404.html +1 -0
- package/dist/app/_next/static/chunks/041e1f03-56ae8a902a7f2fe6.js +24 -0
- package/dist/app/_next/static/chunks/1117-05479929a8da73e3.js +1 -0
- package/dist/app/_next/static/chunks/1299.77cc7b7b76b75cba.js +1 -0
- package/dist/app/_next/static/chunks/1303-35a96e9c9cdeab9d.js +1 -0
- package/dist/app/_next/static/chunks/1509-56ac00cdaaecdf53.js +1 -0
- package/dist/app/_next/static/chunks/1668-e3eabd0f6753c780.js +1 -0
- package/dist/app/_next/static/chunks/1783-d9fb550fd324300c.js +1 -0
- package/dist/app/_next/static/chunks/2117-29b5fa47421595ad.js +2 -0
- package/dist/app/_next/static/chunks/2344.35b46d2179a765b5.js +1 -0
- package/dist/app/_next/static/chunks/257.990da16794a31292.js +1 -0
- package/dist/app/_next/static/chunks/2676-73b0ee7c80073a84.js +1 -0
- package/dist/app/_next/static/chunks/3563-b8842744384391fe.js +1 -0
- package/dist/app/_next/static/chunks/363642f4-933b579ed3c85f60.js +1 -0
- package/dist/app/_next/static/chunks/3817-e20c8f0a0810fc95.js +1 -0
- package/dist/app/_next/static/chunks/3834.84944e390d902509.js +2 -0
- package/dist/app/_next/static/chunks/4043-3a30c8a75896f241.js +1 -0
- package/dist/app/_next/static/chunks/4225-14090c7c0cd9dec6.js +1 -0
- package/dist/app/_next/static/chunks/4438-c9a12ca15b6e9160.js +1 -0
- package/dist/app/_next/static/chunks/4458-679fd0c6884f456a.js +1 -0
- package/dist/app/_next/static/chunks/4475-8bdfbd536fba8c48.js +1 -0
- package/dist/app/_next/static/chunks/4883-8a924721bb21b3b0.js +1 -0
- package/dist/app/_next/static/chunks/489-683ab07188f9df2b.js +1 -0
- package/dist/app/_next/static/chunks/4952-1b97320cf61f3f21.js +1 -0
- package/dist/app/_next/static/chunks/5094-8d53e403235d4ca6.js +1 -0
- package/dist/app/_next/static/chunks/5101-3a146e0625747ad1.js +1 -0
- package/dist/app/_next/static/chunks/54a60aa6-d9747982e0a81f58.js +79 -0
- package/dist/app/_next/static/chunks/5650-f096291df402bfc2.js +1 -0
- package/dist/app/_next/static/chunks/600-539045311240f579.js +1 -0
- package/dist/app/_next/static/chunks/6170-803b82e19d3ade6d.js +89 -0
- package/dist/app/_next/static/chunks/6241-30d7169d1010e5a4.js +1 -0
- package/dist/app/_next/static/chunks/6530-a91e10cffa4200c4.js +1 -0
- package/dist/app/_next/static/chunks/6547-4bbbdb5c399aef1e.js +1 -0
- package/dist/app/_next/static/chunks/6712-781937c53a2c49da.js +1 -0
- package/dist/app/_next/static/chunks/6fcbdc68-90be1a5480b8d353.js +1 -0
- package/dist/app/_next/static/chunks/70e0d97a-aeaf0cdc26ba1a58.js +1 -0
- package/dist/app/_next/static/chunks/7214-5154a89d08d24dde.js +1 -0
- package/dist/app/_next/static/chunks/7324-b53229c59a640880.js +10 -0
- package/dist/app/_next/static/chunks/7636-66424f0b51d350e9.js +1 -0
- package/dist/app/_next/static/chunks/7874-39a3f2541165a675.js +1 -0
- package/dist/app/_next/static/chunks/7982-9da12b83f11e3f5f.js +1 -0
- package/dist/app/_next/static/chunks/8213a2eb-da25a3b3c5521b2b.js +1 -0
- package/dist/app/_next/static/chunks/8473-6598318371eca31b.js +1 -0
- package/dist/app/_next/static/chunks/8640fa6b-72e43370f68e5587.js +1 -0
- package/dist/app/_next/static/chunks/9090-3ef676f29c95f1c7.js +1 -0
- package/dist/app/_next/static/chunks/9124-a02f9e209e6e3cce.js +1 -0
- package/dist/app/_next/static/chunks/926-156f32067d111d6b.js +1 -0
- package/dist/app/_next/static/chunks/9487-b17481605e513b83.js +1 -0
- package/dist/app/_next/static/chunks/9599-a7e572bb88c3392b.js +1 -0
- package/dist/app/_next/static/chunks/9881-419697138376e755.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/activity-log/all-activity/page-8917930b4d663405.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/activity-log/email-log/page-b27a6ee32782d7df.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/activity-log/notifications/page-b7eda523ede2702c.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/activity-log/page-1cfa62d1caedaed0.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/activity-log/sessions/page-3e21e20db90aeff7.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/activity-log/workflow-executions/page-27bcc26b747fb29b.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/activity-log/workflow-logs/page-9f9e9e952aef436e.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/change-password/page-8d61aa499eabb127.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/dashboard/page-1ceeac9e72997a8a.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/data-browser/page-8cda2b57759dd670.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/file-manager/page-8c6f1b1da66ad7e4.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/layout-f70d225b2759c998.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/settings/migrations/page-aacec8f7cfb40ab2.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/settings/permissions/page-828110cfcde429c6.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/settings/project/page-420e794bb76bd204.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/settings/roles/page-9001d02b28f70708.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/settings/schema/page-899574f35091dd58.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/settings/tasks/page-ad7ab3e27c83f44f.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/settings/templates/edit/page-bd83414cb8c4cb04.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/settings/templates/page-3181447f8772b1d3.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/settings/tenants/page-ef9bfbacef5a1d73.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/users/invites/page-480306b7b2bbac7e.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/users/list/page-74da51254c2606b3.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/users/page-e99c6f0b915001b2.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/users/preferences/page-1a935630ce8f2b12.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/users/user-roles/page-901dfb8ea1f39ca8.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/workflows/detail/page-9a6b839aea688ca4.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/workflows/edit/page-11774efbc2fecae2.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/workflows/execution/page-8ec1aea90412c03d.js +1 -0
- package/dist/app/_next/static/chunks/app/(authenticated)/workflows/page-88bc5b36ccb0a1f7.js +1 -0
- package/dist/app/_next/static/chunks/app/(public)/forgot-password/page-ed263fd46ef81c20.js +1 -0
- package/dist/app/_next/static/chunks/app/(public)/layout-f538977545844af8.js +1 -0
- package/dist/app/_next/static/chunks/app/(public)/login/page-c0a10b137f346096.js +1 -0
- package/dist/app/_next/static/chunks/app/(public)/register/page-4cb7644893efd9b3.js +1 -0
- package/dist/app/_next/static/chunks/app/_not-found/page-653f8815b78256cc.js +1 -0
- package/dist/app/_next/static/chunks/app/layout-591ca7a3e16528a1.js +1 -0
- package/dist/app/_next/static/chunks/app/page-dd19d124b5fa2577.js +1 -0
- package/dist/app/_next/static/chunks/c37d3baf.c2ff165f5b02c692.js +1 -0
- package/dist/app/_next/static/chunks/d0deef33.0379166a4ec23470.js +1 -0
- package/dist/app/_next/static/chunks/fd9d1056-54169f07cd680d6c.js +1 -0
- package/dist/app/_next/static/chunks/framework-8e0e0f4a6b83a956.js +1 -0
- package/dist/app/_next/static/chunks/main-324e91f5a430cddf.js +1 -0
- package/dist/app/_next/static/chunks/main-app-55bcae20c77aaf0e.js +1 -0
- package/dist/app/_next/static/chunks/pages/_app-3c9ca398d360b709.js +1 -0
- package/dist/app/_next/static/chunks/pages/_error-cf5ca766ac8f493f.js +1 -0
- package/dist/app/_next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- package/dist/app/_next/static/chunks/webpack-2c306566f7ee1b63.js +1 -0
- package/dist/app/_next/static/css/6c4002bae4e236b2.css +3 -0
- package/dist/app/_next/static/css/a275cc2b185e04f8.css +1 -0
- package/dist/app/_next/static/eCWhKA8XHqmB1zgFcEtN2/_buildManifest.js +1 -0
- package/dist/app/_next/static/eCWhKA8XHqmB1zgFcEtN2/_ssgManifest.js +1 -0
- package/dist/app/activity-log/all-activity/index.html +1 -0
- package/dist/app/activity-log/all-activity/index.txt +14 -0
- package/dist/app/activity-log/email-log/index.html +1 -0
- package/dist/app/activity-log/email-log/index.txt +14 -0
- package/dist/app/activity-log/index.html +1 -0
- package/dist/app/activity-log/index.txt +14 -0
- package/dist/app/activity-log/notifications/index.html +1 -0
- package/dist/app/activity-log/notifications/index.txt +14 -0
- package/dist/app/activity-log/sessions/index.html +1 -0
- package/dist/app/activity-log/sessions/index.txt +14 -0
- package/dist/app/activity-log/workflow-executions/index.html +1 -0
- package/dist/app/activity-log/workflow-executions/index.txt +14 -0
- package/dist/app/activity-log/workflow-logs/index.html +1 -0
- package/dist/app/activity-log/workflow-logs/index.txt +14 -0
- package/dist/app/change-password/index.html +1 -0
- package/dist/app/change-password/index.txt +14 -0
- package/dist/app/dashboard/index.html +1 -0
- package/dist/app/dashboard/index.txt +14 -0
- package/dist/app/data-browser/index.html +1 -0
- package/dist/app/data-browser/index.txt +14 -0
- package/dist/app/file-manager/index.html +1 -0
- package/dist/app/file-manager/index.txt +14 -0
- package/dist/app/forgot-password/index.html +1 -0
- package/dist/app/forgot-password/index.txt +13 -0
- package/dist/app/index.html +1 -0
- package/dist/app/index.txt +9 -0
- package/dist/app/login/index.html +1 -0
- package/dist/app/login/index.txt +13 -0
- package/dist/app/logo-dark.png +0 -0
- package/dist/app/logo-icon.svg +81 -0
- package/dist/app/logo-light.png +0 -0
- package/dist/app/register/index.html +1 -0
- package/dist/app/register/index.txt +13 -0
- package/dist/app/settings/migrations/index.html +1 -0
- package/dist/app/settings/migrations/index.txt +14 -0
- package/dist/app/settings/permissions/index.html +1 -0
- package/dist/app/settings/permissions/index.txt +14 -0
- package/dist/app/settings/project/index.html +1 -0
- package/dist/app/settings/project/index.txt +14 -0
- package/dist/app/settings/roles/index.html +1 -0
- package/dist/app/settings/roles/index.txt +14 -0
- package/dist/app/settings/schema/index.html +1 -0
- package/dist/app/settings/schema/index.txt +14 -0
- package/dist/app/settings/tasks/index.html +1 -0
- package/dist/app/settings/tasks/index.txt +14 -0
- package/dist/app/settings/templates/edit/index.html +1 -0
- package/dist/app/settings/templates/edit/index.txt +14 -0
- package/dist/app/settings/templates/index.html +1 -0
- package/dist/app/settings/templates/index.txt +14 -0
- package/dist/app/settings/tenants/index.html +1 -0
- package/dist/app/settings/tenants/index.txt +14 -0
- package/dist/app/users/index.html +1 -0
- package/dist/app/users/index.txt +14 -0
- package/dist/app/users/invites/index.html +1 -0
- package/dist/app/users/invites/index.txt +14 -0
- package/dist/app/users/list/index.html +1 -0
- package/dist/app/users/list/index.txt +14 -0
- package/dist/app/users/preferences/index.html +1 -0
- package/dist/app/users/preferences/index.txt +14 -0
- package/dist/app/users/user-roles/index.html +1 -0
- package/dist/app/users/user-roles/index.txt +14 -0
- package/dist/app/workflows/detail/index.html +1 -0
- package/dist/app/workflows/detail/index.txt +14 -0
- package/dist/app/workflows/edit/index.html +1 -0
- package/dist/app/workflows/edit/index.txt +14 -0
- package/dist/app/workflows/execution/index.html +1 -0
- package/dist/app/workflows/execution/index.txt +14 -0
- package/dist/app/workflows/index.html +1 -0
- package/dist/app/workflows/index.txt +14 -0
- package/dist/app.d.ts +36 -0
- package/dist/app.d.ts.map +1 -0
- package/dist/app.js +546 -0
- package/dist/app.js.map +1 -0
- package/dist/auth/adapters/baasix-adapter.d.ts +12 -0
- package/dist/auth/adapters/baasix-adapter.d.ts.map +1 -0
- package/dist/auth/adapters/baasix-adapter.js +318 -0
- package/dist/auth/adapters/baasix-adapter.js.map +1 -0
- package/dist/auth/adapters/index.d.ts +6 -0
- package/dist/auth/adapters/index.d.ts.map +1 -0
- package/dist/auth/adapters/index.js +5 -0
- package/dist/auth/adapters/index.js.map +1 -0
- package/dist/auth/core.d.ts +73 -0
- package/dist/auth/core.d.ts.map +1 -0
- package/dist/auth/core.js +528 -0
- package/dist/auth/core.js.map +1 -0
- package/dist/auth/index.d.ts +56 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +58 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/oauth2/index.d.ts +5 -0
- package/dist/auth/oauth2/index.d.ts.map +1 -0
- package/dist/auth/oauth2/index.js +5 -0
- package/dist/auth/oauth2/index.js.map +1 -0
- package/dist/auth/oauth2/utils.d.ts +90 -0
- package/dist/auth/oauth2/utils.d.ts.map +1 -0
- package/dist/auth/oauth2/utils.js +167 -0
- package/dist/auth/oauth2/utils.js.map +1 -0
- package/dist/auth/providers/apple.d.ts +28 -0
- package/dist/auth/providers/apple.d.ts.map +1 -0
- package/dist/auth/providers/apple.js +192 -0
- package/dist/auth/providers/apple.js.map +1 -0
- package/dist/auth/providers/credential.d.ts +87 -0
- package/dist/auth/providers/credential.d.ts.map +1 -0
- package/dist/auth/providers/credential.js +162 -0
- package/dist/auth/providers/credential.js.map +1 -0
- package/dist/auth/providers/facebook.d.ts +26 -0
- package/dist/auth/providers/facebook.d.ts.map +1 -0
- package/dist/auth/providers/facebook.js +112 -0
- package/dist/auth/providers/facebook.js.map +1 -0
- package/dist/auth/providers/github.d.ts +29 -0
- package/dist/auth/providers/github.d.ts.map +1 -0
- package/dist/auth/providers/github.js +144 -0
- package/dist/auth/providers/github.js.map +1 -0
- package/dist/auth/providers/google.d.ts +32 -0
- package/dist/auth/providers/google.d.ts.map +1 -0
- package/dist/auth/providers/google.js +145 -0
- package/dist/auth/providers/google.js.map +1 -0
- package/dist/auth/providers/index.d.ts +22 -0
- package/dist/auth/providers/index.d.ts.map +1 -0
- package/dist/auth/providers/index.js +17 -0
- package/dist/auth/providers/index.js.map +1 -0
- package/dist/auth/routes.d.ts +63 -0
- package/dist/auth/routes.d.ts.map +1 -0
- package/dist/auth/routes.js +827 -0
- package/dist/auth/routes.js.map +1 -0
- package/dist/auth/services/index.d.ts +10 -0
- package/dist/auth/services/index.d.ts.map +1 -0
- package/dist/auth/services/index.js +7 -0
- package/dist/auth/services/index.js.map +1 -0
- package/dist/auth/services/session.d.ts +81 -0
- package/dist/auth/services/session.d.ts.map +1 -0
- package/dist/auth/services/session.js +186 -0
- package/dist/auth/services/session.js.map +1 -0
- package/dist/auth/services/token.d.ts +41 -0
- package/dist/auth/services/token.d.ts.map +1 -0
- package/dist/auth/services/token.js +44 -0
- package/dist/auth/services/token.js.map +1 -0
- package/dist/auth/services/verification.d.ts +77 -0
- package/dist/auth/services/verification.d.ts.map +1 -0
- package/dist/auth/services/verification.js +143 -0
- package/dist/auth/services/verification.js.map +1 -0
- package/dist/auth/types.d.ts +318 -0
- package/dist/auth/types.d.ts.map +1 -0
- package/dist/auth/types.js +6 -0
- package/dist/auth/types.js.map +1 -0
- package/dist/customTypes/arrays.d.ts +200 -0
- package/dist/customTypes/arrays.d.ts.map +1 -0
- package/dist/customTypes/arrays.js +309 -0
- package/dist/customTypes/arrays.js.map +1 -0
- package/dist/customTypes/index.d.ts +8 -0
- package/dist/customTypes/index.d.ts.map +1 -0
- package/dist/customTypes/index.js +11 -0
- package/dist/customTypes/index.js.map +1 -0
- package/dist/customTypes/postgis.d.ts +146 -0
- package/dist/customTypes/postgis.d.ts.map +1 -0
- package/dist/customTypes/postgis.js +315 -0
- package/dist/customTypes/postgis.js.map +1 -0
- package/dist/customTypes/ranges.d.ts +128 -0
- package/dist/customTypes/ranges.d.ts.map +1 -0
- package/dist/customTypes/ranges.js +257 -0
- package/dist/customTypes/ranges.js.map +1 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +42 -0
- package/dist/index.js.map +1 -0
- package/dist/migrations/0.1.0-alpha.0_initial_setup.d.ts +29 -0
- package/dist/migrations/0.1.0-alpha.0_initial_setup.d.ts.map +1 -0
- package/dist/migrations/0.1.0-alpha.0_initial_setup.js +72 -0
- package/dist/migrations/0.1.0-alpha.0_initial_setup.js.map +1 -0
- package/dist/migrations/_example_migration.d.ts +31 -0
- package/dist/migrations/_example_migration.d.ts.map +1 -0
- package/dist/migrations/_example_migration.js +75 -0
- package/dist/migrations/_example_migration.js.map +1 -0
- package/dist/plugins/definePlugin.d.ts +49 -0
- package/dist/plugins/definePlugin.d.ts.map +1 -0
- package/dist/plugins/definePlugin.js +131 -0
- package/dist/plugins/definePlugin.js.map +1 -0
- package/dist/plugins/softDelete.d.ts +179 -0
- package/dist/plugins/softDelete.d.ts.map +1 -0
- package/dist/plugins/softDelete.js +235 -0
- package/dist/plugins/softDelete.js.map +1 -0
- package/dist/routes/auth.route.d.ts +14 -0
- package/dist/routes/auth.route.d.ts.map +1 -0
- package/dist/routes/auth.route.js +421 -0
- package/dist/routes/auth.route.js.map +1 -0
- package/dist/routes/file.route.d.ts +7 -0
- package/dist/routes/file.route.d.ts.map +1 -0
- package/dist/routes/file.route.js +274 -0
- package/dist/routes/file.route.js.map +1 -0
- package/dist/routes/items.route.d.ts +7 -0
- package/dist/routes/items.route.d.ts.map +1 -0
- package/dist/routes/items.route.js +369 -0
- package/dist/routes/items.route.js.map +1 -0
- package/dist/routes/migration.route.d.ts +7 -0
- package/dist/routes/migration.route.d.ts.map +1 -0
- package/dist/routes/migration.route.js +225 -0
- package/dist/routes/migration.route.js.map +1 -0
- package/dist/routes/notification.route.d.ts +7 -0
- package/dist/routes/notification.route.d.ts.map +1 -0
- package/dist/routes/notification.route.js +124 -0
- package/dist/routes/notification.route.js.map +1 -0
- package/dist/routes/openapi.route.d.ts +7 -0
- package/dist/routes/openapi.route.d.ts.map +1 -0
- package/dist/routes/openapi.route.js +2169 -0
- package/dist/routes/openapi.route.js.map +1 -0
- package/dist/routes/permission.route.d.ts +7 -0
- package/dist/routes/permission.route.d.ts.map +1 -0
- package/dist/routes/permission.route.js +158 -0
- package/dist/routes/permission.route.js.map +1 -0
- package/dist/routes/realtime.route.d.ts +21 -0
- package/dist/routes/realtime.route.d.ts.map +1 -0
- package/dist/routes/realtime.route.js +243 -0
- package/dist/routes/realtime.route.js.map +1 -0
- package/dist/routes/reports.route.d.ts +7 -0
- package/dist/routes/reports.route.d.ts.map +1 -0
- package/dist/routes/reports.route.js +95 -0
- package/dist/routes/reports.route.js.map +1 -0
- package/dist/routes/schema.route.d.ts +7 -0
- package/dist/routes/schema.route.d.ts.map +1 -0
- package/dist/routes/schema.route.js +1780 -0
- package/dist/routes/schema.route.js.map +1 -0
- package/dist/routes/settings.route.d.ts +7 -0
- package/dist/routes/settings.route.d.ts.map +1 -0
- package/dist/routes/settings.route.js +154 -0
- package/dist/routes/settings.route.js.map +1 -0
- package/dist/routes/templates.route.d.ts +7 -0
- package/dist/routes/templates.route.d.ts.map +1 -0
- package/dist/routes/templates.route.js +91 -0
- package/dist/routes/templates.route.js.map +1 -0
- package/dist/routes/utils.route.d.ts +7 -0
- package/dist/routes/utils.route.d.ts.map +1 -0
- package/dist/routes/utils.route.js +33 -0
- package/dist/routes/utils.route.js.map +1 -0
- package/dist/routes/workflow.route.d.ts +7 -0
- package/dist/routes/workflow.route.d.ts.map +1 -0
- package/dist/routes/workflow.route.js +787 -0
- package/dist/routes/workflow.route.js.map +1 -0
- package/dist/services/AssetsService.d.ts +39 -0
- package/dist/services/AssetsService.d.ts.map +1 -0
- package/dist/services/AssetsService.js +255 -0
- package/dist/services/AssetsService.js.map +1 -0
- package/dist/services/CacheService.d.ts +169 -0
- package/dist/services/CacheService.d.ts.map +1 -0
- package/dist/services/CacheService.js +722 -0
- package/dist/services/CacheService.js.map +1 -0
- package/dist/services/FilesService.d.ts +30 -0
- package/dist/services/FilesService.d.ts.map +1 -0
- package/dist/services/FilesService.js +268 -0
- package/dist/services/FilesService.js.map +1 -0
- package/dist/services/HooksManager.d.ts +38 -0
- package/dist/services/HooksManager.d.ts.map +1 -0
- package/dist/services/HooksManager.js +165 -0
- package/dist/services/HooksManager.js.map +1 -0
- package/dist/services/ItemsService.d.ts +273 -0
- package/dist/services/ItemsService.d.ts.map +1 -0
- package/dist/services/ItemsService.js +2458 -0
- package/dist/services/ItemsService.js.map +1 -0
- package/dist/services/MailService.d.ts +76 -0
- package/dist/services/MailService.d.ts.map +1 -0
- package/dist/services/MailService.js +585 -0
- package/dist/services/MailService.js.map +1 -0
- package/dist/services/MigrationService.d.ts +243 -0
- package/dist/services/MigrationService.d.ts.map +1 -0
- package/dist/services/MigrationService.js +914 -0
- package/dist/services/MigrationService.js.map +1 -0
- package/dist/services/NotificationService.d.ts +35 -0
- package/dist/services/NotificationService.d.ts.map +1 -0
- package/dist/services/NotificationService.js +159 -0
- package/dist/services/NotificationService.js.map +1 -0
- package/dist/services/PermissionService.d.ts +128 -0
- package/dist/services/PermissionService.d.ts.map +1 -0
- package/dist/services/PermissionService.js +373 -0
- package/dist/services/PermissionService.js.map +1 -0
- package/dist/services/PluginManager.d.ts +138 -0
- package/dist/services/PluginManager.d.ts.map +1 -0
- package/dist/services/PluginManager.js +463 -0
- package/dist/services/PluginManager.js.map +1 -0
- package/dist/services/RealtimeService.d.ts +209 -0
- package/dist/services/RealtimeService.d.ts.map +1 -0
- package/dist/services/RealtimeService.js +978 -0
- package/dist/services/RealtimeService.js.map +1 -0
- package/dist/services/ReportService.d.ts +13 -0
- package/dist/services/ReportService.d.ts.map +1 -0
- package/dist/services/ReportService.js +91 -0
- package/dist/services/ReportService.js.map +1 -0
- package/dist/services/SettingsService.d.ts +60 -0
- package/dist/services/SettingsService.d.ts.map +1 -0
- package/dist/services/SettingsService.js +474 -0
- package/dist/services/SettingsService.js.map +1 -0
- package/dist/services/SocketService.d.ts +129 -0
- package/dist/services/SocketService.d.ts.map +1 -0
- package/dist/services/SocketService.js +600 -0
- package/dist/services/SocketService.js.map +1 -0
- package/dist/services/StatsService.d.ts +10 -0
- package/dist/services/StatsService.d.ts.map +1 -0
- package/dist/services/StatsService.js +40 -0
- package/dist/services/StatsService.js.map +1 -0
- package/dist/services/StorageService.d.ts +20 -0
- package/dist/services/StorageService.d.ts.map +1 -0
- package/dist/services/StorageService.js +164 -0
- package/dist/services/StorageService.js.map +1 -0
- package/dist/services/TasksService.d.ts +74 -0
- package/dist/services/TasksService.d.ts.map +1 -0
- package/dist/services/TasksService.js +404 -0
- package/dist/services/TasksService.js.map +1 -0
- package/dist/services/WorkflowService.d.ts +305 -0
- package/dist/services/WorkflowService.d.ts.map +1 -0
- package/dist/services/WorkflowService.js +1811 -0
- package/dist/services/WorkflowService.js.map +1 -0
- package/dist/templates/logo/logo.png +0 -0
- package/dist/templates/mails/default.liquid +23 -0
- package/dist/types/aggregation.d.ts +40 -0
- package/dist/types/aggregation.d.ts.map +1 -0
- package/dist/types/aggregation.js +6 -0
- package/dist/types/aggregation.js.map +1 -0
- package/dist/types/assets.d.ts +32 -0
- package/dist/types/assets.d.ts.map +1 -0
- package/dist/types/assets.js +6 -0
- package/dist/types/assets.js.map +1 -0
- package/dist/types/auth.d.ts +50 -0
- package/dist/types/auth.d.ts.map +1 -0
- package/dist/types/auth.js +6 -0
- package/dist/types/auth.js.map +1 -0
- package/dist/types/cache.d.ts +47 -0
- package/dist/types/cache.d.ts.map +1 -0
- package/dist/types/cache.js +6 -0
- package/dist/types/cache.js.map +1 -0
- package/dist/types/database.d.ts +16 -0
- package/dist/types/database.d.ts.map +1 -0
- package/dist/types/database.js +6 -0
- package/dist/types/database.js.map +1 -0
- package/dist/types/fields.d.ts +71 -0
- package/dist/types/fields.d.ts.map +1 -0
- package/dist/types/fields.js +6 -0
- package/dist/types/fields.js.map +1 -0
- package/dist/types/files.d.ts +33 -0
- package/dist/types/files.d.ts.map +1 -0
- package/dist/types/files.js +6 -0
- package/dist/types/files.js.map +1 -0
- package/dist/types/hooks.d.ts +29 -0
- package/dist/types/hooks.d.ts.map +1 -0
- package/dist/types/hooks.js +6 -0
- package/dist/types/hooks.js.map +1 -0
- package/dist/types/import-export.d.ts +62 -0
- package/dist/types/import-export.d.ts.map +1 -0
- package/dist/types/import-export.js +6 -0
- package/dist/types/import-export.js.map +1 -0
- package/dist/types/index.d.ts +31 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +58 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/mail.d.ts +34 -0
- package/dist/types/mail.d.ts.map +1 -0
- package/dist/types/mail.js +6 -0
- package/dist/types/mail.js.map +1 -0
- package/dist/types/notifications.d.ts +16 -0
- package/dist/types/notifications.d.ts.map +1 -0
- package/dist/types/notifications.js +6 -0
- package/dist/types/notifications.js.map +1 -0
- package/dist/types/plugin.d.ts +351 -0
- package/dist/types/plugin.d.ts.map +1 -0
- package/dist/types/plugin.js +8 -0
- package/dist/types/plugin.js.map +1 -0
- package/dist/types/query.d.ts +71 -0
- package/dist/types/query.d.ts.map +1 -0
- package/dist/types/query.js +6 -0
- package/dist/types/query.js.map +1 -0
- package/dist/types/relations.d.ts +111 -0
- package/dist/types/relations.d.ts.map +1 -0
- package/dist/types/relations.js +6 -0
- package/dist/types/relations.js.map +1 -0
- package/dist/types/reports.d.ts +17 -0
- package/dist/types/reports.d.ts.map +1 -0
- package/dist/types/reports.js +6 -0
- package/dist/types/reports.js.map +1 -0
- package/dist/types/schema.d.ts +26 -0
- package/dist/types/schema.d.ts.map +1 -0
- package/dist/types/schema.js +6 -0
- package/dist/types/schema.js.map +1 -0
- package/dist/types/seed.d.ts +27 -0
- package/dist/types/seed.d.ts.map +1 -0
- package/dist/types/seed.js +6 -0
- package/dist/types/seed.js.map +1 -0
- package/dist/types/services.d.ts +68 -0
- package/dist/types/services.d.ts.map +1 -0
- package/dist/types/services.js +6 -0
- package/dist/types/services.js.map +1 -0
- package/dist/types/settings.d.ts +36 -0
- package/dist/types/settings.d.ts.map +1 -0
- package/dist/types/settings.js +6 -0
- package/dist/types/settings.js.map +1 -0
- package/dist/types/sockets.d.ts +26 -0
- package/dist/types/sockets.d.ts.map +1 -0
- package/dist/types/sockets.js +6 -0
- package/dist/types/sockets.js.map +1 -0
- package/dist/types/sort.d.ts +25 -0
- package/dist/types/sort.d.ts.map +1 -0
- package/dist/types/sort.js +6 -0
- package/dist/types/sort.js.map +1 -0
- package/dist/types/spatial.d.ts +19 -0
- package/dist/types/spatial.d.ts.map +1 -0
- package/dist/types/spatial.js +6 -0
- package/dist/types/spatial.js.map +1 -0
- package/dist/types/stats.d.ts +21 -0
- package/dist/types/stats.d.ts.map +1 -0
- package/dist/types/stats.js +6 -0
- package/dist/types/stats.js.map +1 -0
- package/dist/types/storage.d.ts +19 -0
- package/dist/types/storage.d.ts.map +1 -0
- package/dist/types/storage.js +6 -0
- package/dist/types/storage.js.map +1 -0
- package/dist/types/tasks.d.ts +14 -0
- package/dist/types/tasks.d.ts.map +1 -0
- package/dist/types/tasks.js +6 -0
- package/dist/types/tasks.js.map +1 -0
- package/dist/types/utils.d.ts +54 -0
- package/dist/types/utils.d.ts.map +1 -0
- package/dist/types/utils.js +6 -0
- package/dist/types/utils.js.map +1 -0
- package/dist/types/workflow.d.ts +17 -0
- package/dist/types/workflow.d.ts.map +1 -0
- package/dist/types/workflow.js +6 -0
- package/dist/types/workflow.js.map +1 -0
- package/dist/utils/aggregationUtils.d.ts +192 -0
- package/dist/utils/aggregationUtils.d.ts.map +1 -0
- package/dist/utils/aggregationUtils.js +450 -0
- package/dist/utils/aggregationUtils.js.map +1 -0
- package/dist/utils/auth.d.ts +93 -0
- package/dist/utils/auth.d.ts.map +1 -0
- package/dist/utils/auth.js +557 -0
- package/dist/utils/auth.js.map +1 -0
- package/dist/utils/cache.d.ts +64 -0
- package/dist/utils/cache.d.ts.map +1 -0
- package/dist/utils/cache.js +464 -0
- package/dist/utils/cache.js.map +1 -0
- package/dist/utils/common.d.ts +53 -0
- package/dist/utils/common.d.ts.map +1 -0
- package/dist/utils/common.js +162 -0
- package/dist/utils/common.js.map +1 -0
- package/dist/utils/db.d.ts +101 -0
- package/dist/utils/db.d.ts.map +1 -0
- package/dist/utils/db.js +413 -0
- package/dist/utils/db.js.map +1 -0
- package/dist/utils/dirname.d.ts +30 -0
- package/dist/utils/dirname.d.ts.map +1 -0
- package/dist/utils/dirname.js +95 -0
- package/dist/utils/dirname.js.map +1 -0
- package/dist/utils/dynamicVariableResolver.d.ts +17 -0
- package/dist/utils/dynamicVariableResolver.d.ts.map +1 -0
- package/dist/utils/dynamicVariableResolver.js +262 -0
- package/dist/utils/dynamicVariableResolver.js.map +1 -0
- package/dist/utils/env.d.ts +38 -0
- package/dist/utils/env.d.ts.map +1 -0
- package/dist/utils/env.js +80 -0
- package/dist/utils/env.js.map +1 -0
- package/dist/utils/errorHandler.d.ts +14 -0
- package/dist/utils/errorHandler.d.ts.map +1 -0
- package/dist/utils/errorHandler.js +79 -0
- package/dist/utils/errorHandler.js.map +1 -0
- package/dist/utils/fieldExpansion.d.ts +30 -0
- package/dist/utils/fieldExpansion.d.ts.map +1 -0
- package/dist/utils/fieldExpansion.js +145 -0
- package/dist/utils/fieldExpansion.js.map +1 -0
- package/dist/utils/fieldUtils.d.ts +179 -0
- package/dist/utils/fieldUtils.d.ts.map +1 -0
- package/dist/utils/fieldUtils.js +424 -0
- package/dist/utils/fieldUtils.js.map +1 -0
- package/dist/utils/filterOperators.d.ts +472 -0
- package/dist/utils/filterOperators.d.ts.map +1 -0
- package/dist/utils/filterOperators.js +1229 -0
- package/dist/utils/filterOperators.js.map +1 -0
- package/dist/utils/importUtils.d.ts +127 -0
- package/dist/utils/importUtils.d.ts.map +1 -0
- package/dist/utils/importUtils.js +437 -0
- package/dist/utils/importUtils.js.map +1 -0
- package/dist/utils/index.d.ts +75 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +101 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/logger.d.ts +41 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +217 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/orderUtils.d.ts +117 -0
- package/dist/utils/orderUtils.d.ts.map +1 -0
- package/dist/utils/orderUtils.js +249 -0
- package/dist/utils/orderUtils.js.map +1 -0
- package/dist/utils/queryBuilder.d.ts +118 -0
- package/dist/utils/queryBuilder.d.ts.map +1 -0
- package/dist/utils/queryBuilder.js +489 -0
- package/dist/utils/queryBuilder.js.map +1 -0
- package/dist/utils/relationLoader.d.ts +65 -0
- package/dist/utils/relationLoader.d.ts.map +1 -0
- package/dist/utils/relationLoader.js +1081 -0
- package/dist/utils/relationLoader.js.map +1 -0
- package/dist/utils/relationPathResolver.d.ts +30 -0
- package/dist/utils/relationPathResolver.d.ts.map +1 -0
- package/dist/utils/relationPathResolver.js +173 -0
- package/dist/utils/relationPathResolver.js.map +1 -0
- package/dist/utils/relationUtils.d.ts +139 -0
- package/dist/utils/relationUtils.d.ts.map +1 -0
- package/dist/utils/relationUtils.js +711 -0
- package/dist/utils/relationUtils.js.map +1 -0
- package/dist/utils/router.d.ts +6 -0
- package/dist/utils/router.d.ts.map +1 -0
- package/dist/utils/router.js +95 -0
- package/dist/utils/router.js.map +1 -0
- package/dist/utils/schema.d.ts +88 -0
- package/dist/utils/schema.d.ts.map +1 -0
- package/dist/utils/schema.js +24 -0
- package/dist/utils/schema.js.map +1 -0
- package/dist/utils/schemaManager.d.ts +238 -0
- package/dist/utils/schemaManager.d.ts.map +1 -0
- package/dist/utils/schemaManager.js +1992 -0
- package/dist/utils/schemaManager.js.map +1 -0
- package/dist/utils/schemaValidator.d.ts +83 -0
- package/dist/utils/schemaValidator.d.ts.map +1 -0
- package/dist/utils/schemaValidator.js +491 -0
- package/dist/utils/schemaValidator.js.map +1 -0
- package/dist/utils/seed.d.ts +45 -0
- package/dist/utils/seed.d.ts.map +1 -0
- package/dist/utils/seed.js +248 -0
- package/dist/utils/seed.js.map +1 -0
- package/dist/utils/sessionCleanup.d.ts +10 -0
- package/dist/utils/sessionCleanup.d.ts.map +1 -0
- package/dist/utils/sessionCleanup.js +49 -0
- package/dist/utils/sessionCleanup.js.map +1 -0
- package/dist/utils/sortUtils.d.ts +117 -0
- package/dist/utils/sortUtils.d.ts.map +1 -0
- package/dist/utils/sortUtils.js +232 -0
- package/dist/utils/sortUtils.js.map +1 -0
- package/dist/utils/spatialUtils.d.ts +244 -0
- package/dist/utils/spatialUtils.d.ts.map +1 -0
- package/dist/utils/spatialUtils.js +359 -0
- package/dist/utils/spatialUtils.js.map +1 -0
- package/dist/utils/systemschema.d.ts +11040 -0
- package/dist/utils/systemschema.d.ts.map +1 -0
- package/dist/utils/systemschema.js +1777 -0
- package/dist/utils/systemschema.js.map +1 -0
- package/dist/utils/tenantUtils.d.ts +34 -0
- package/dist/utils/tenantUtils.d.ts.map +1 -0
- package/dist/utils/tenantUtils.js +124 -0
- package/dist/utils/tenantUtils.js.map +1 -0
- package/dist/utils/typeMapper.d.ts +25 -0
- package/dist/utils/typeMapper.d.ts.map +1 -0
- package/dist/utils/typeMapper.js +282 -0
- package/dist/utils/typeMapper.js.map +1 -0
- package/dist/utils/valueValidator.d.ts +60 -0
- package/dist/utils/valueValidator.d.ts.map +1 -0
- package/dist/utils/valueValidator.js +303 -0
- package/dist/utils/valueValidator.js.map +1 -0
- package/dist/utils/workflow.d.ts +87 -0
- package/dist/utils/workflow.d.ts.map +1 -0
- package/dist/utils/workflow.js +205 -0
- package/dist/utils/workflow.js.map +1 -0
- package/package.json +115 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8021],{39164:function(e,t,r){let n,a;r.r(t),r.d(t,{default:function(){return m},languages:function(){return ns},options:function(){return nl},parsers:function(){return nc},printers:function(){return nB}});var i,s=Object.defineProperty,o=e=>{throw TypeError(e)},l=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})},u=(e,t,r)=>l(e,"symbol"!=typeof t?t+"":t,r),p=(e,t,r)=>t.has(e)||o("Cannot "+r),h=(e,t,r)=>(p(e,t,"read from private field"),r?r.call(e):t.get(e)),d=(e,t,r)=>t.has(e)?o("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),m={};c(m,{languages:()=>ns,options:()=>nl,parsers:()=>nc,printers:()=>nB});var g=(e,t)=>(r,n,...a)=>null==n?void 0:(t.call(n)??n[e]).apply(n,a),f=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},_=g("replaceAll",function(){if("string"==typeof this)return f});function v(e){return this[e<0?this.length+e:e]}var S=g("at",function(){if(Array.isArray(this)||"string"==typeof this)return v}),T=()=>{},E="string",k="array",C="cursor",b="indent",w="align",y="trim",N="group",x="fill",L="if-break",A="indent-if-break",O="line-suffix",P="line-suffix-boundary",I="line",D="label",R="break-parent",M=new Set([C,b,w,y,N,x,L,A,O,P,I,D,R]),q=function(e){if("string"==typeof e)return E;if(Array.isArray(e))return k;if(!e)return;let{type:t}=e;if(M.has(t))return t},B=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),H=class extends Error{name="InvalidDocError";constructor(e){super(function(e){let t=null===e?"null":typeof e;if("string"!==t&&"object"!==t)return`Unexpected doc '${t}',
|
|
2
|
+
Expected it to be 'string' or 'object'.`;if(q(e))throw Error("doc is valid.");let r=Object.prototype.toString.call(e);if("[object Object]"!==r)return`Unexpected doc '${r}'.`;let n=B([...M].map(e=>`'${e}'`));return`Unexpected doc.type '${e.type}'.
|
|
3
|
+
Expected it to be ${n}.`}(e)),this.doc=e}};function V(e,t){if("string"==typeof e)return t(e);let r=new Map;return function e(n){if(r.has(n))return r.get(n);let a=function(r){switch(q(r)){case k:return t(r.map(e));case x:return t({...r,parts:r.parts.map(e)});case L:return t({...r,breakContents:e(r.breakContents),flatContents:e(r.flatContents)});case N:{let{expandedStates:n,contents:a}=r;return a=n?(n=n.map(e))[0]:e(a),t({...r,contents:a,expandedStates:n})}case w:case b:case A:case D:case O:return t({...r,contents:e(r.contents)});case E:case C:case y:case P:case I:case R:return t(r);default:throw new H(r)}}(n);return r.set(n,a),a}(e)}function F(e,t=J){return V(e,e=>"string"==typeof e?X(t,e.split(`
|
|
4
|
+
`)):e)}function U(e){return T(e),{type:b,contents:e}}var W={type:R};function z(e){return T(e),{type:x,parts:e}}function $(e,t={}){return T(e),T(t.expandedStates,!0),{type:N,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function j(e,t="",r={}){return T(e),""!==t&&T(t),{type:L,breakContents:e,flatContents:t,groupId:r.groupId}}function X(e,t){T(e),T(t);let r=[];for(let n=0;n<t.length;n++)0!==n&&r.push(e),r.push(t[n]);return r}var G={type:I},K={type:I,soft:!0},Y=[{type:I,hard:!0},W],J=[{type:I,hard:!0,literal:!0},W],Q=Object.freeze({character:"'",codePoint:39}),Z=Object.freeze({character:'"',codePoint:34}),ee=Object.freeze({preferred:Q,alternate:Z}),et=Object.freeze({preferred:Z,alternate:Q}),er=function(e,t){let{preferred:r,alternate:n}=!0===t||"'"===t?ee:et,{length:a}=e,i=0,s=0;for(let t=0;t<a;t++){let a=e.charCodeAt(t);a===r.codePoint?i++:a===n.codePoint&&s++}return(i>s?n:r).character},en=new class{#e;constructor(e){this.#e=new Set(e)}getLeadingWhitespaceCount(e){let t=this.#e,r=0;for(let n=0;n<e.length&&t.has(e.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(e){let t=this.#e,r=0;for(let n=e.length-1;n>=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return this.#e.has(e.charAt(0))}hasTrailingWhitespace(e){return this.#e.has(S(0,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}([...this.#e].join(""))}]+`,n=RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,e=>t.has(e))}hasNonWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,e=>!t.has(e))}isWhitespaceOnly(e){let t=this.#e;return Array.prototype.every.call(e,e=>t.has(e))}#t(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(`
|
|
5
|
+
`)){if(0===r.length)continue;let e=this.getLeadingWhitespaceCount(r);if(0===e)return 0;r.length!==e&&e<t&&(t=e)}return t===Number.POSITIVE_INFINITY?0:t}dedentString(e){let t=this.#t(e);return 0===t?e:e.split(`
|
|
6
|
+
`).map(e=>e.slice(t)).join(`
|
|
7
|
+
`)}}([" ",`
|
|
8
|
+
`,"\f","\r"," "]),ea=class extends Error{name="UnexpectedNodeError";constructor(e,t,r="type"){super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},ei=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),es=new Set(["if","else if","for","switch","case"]);function eo(e,t,r){if("text"===e.kind||"comment"===e.kind)return null;if("yaml"===e.kind&&delete t.value,"attribute"===e.kind){let{fullName:n,value:a}=e;"style"===n||"class"===n||"srcset"===n&&("img"===r.fullName||"source"===r.fullName)||"allow"===n&&"iframe"===r.fullName||n.startsWith("on")||n.startsWith("@")||n.startsWith(":")||n.startsWith(".")||n.startsWith("#")||n.startsWith("v-")||"vars"===n&&"style"===r.fullName||("setup"===n||"generic"===n)&&"script"===r.fullName||"slot-scope"===n||n.startsWith("(")||n.startsWith("[")||n.startsWith("*")||n.startsWith("bind")||n.startsWith("i18n")||n.startsWith("on-")||n.startsWith("ng-")||a?.includes("{{")?delete t.value:a&&(t.value=_(0,a,/'|"|'/gu,'"'))}if("docType"===e.kind&&(t.value=_(0,e.value.toLowerCase(),/\s+/gu," ")),"angularControlFlowBlock"===e.kind&&e.parameters?.children)for(let r of t.parameters.children)es.has(e.name)?delete r.expression:r.expression=r.expression.trim();"angularIcuExpression"===e.kind&&(t.switchValue=e.switchValue.trim()),"angularLetDeclarationInitializer"===e.kind&&delete t.value,"element"===e.kind&&e.isVoid&&!e.isSelfClosing&&(t.isSelfClosing=!0)}function el(e,t=!0){return[U([K,e]),t?K:""]}function ec(e,t){let r="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;return r&&("ObjectExpression"===r.type||"ArrayExpression"===r.type||("__vue_expression"===t.parser||"__vue_ts_expression"===t.parser)&&("TemplateLiteral"===r.type||"StringLiteral"===r.type))}async function eu(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(e,t)=>{a=n(e,t)});let i=await t(e,r,t);return a?$(i):el(i)}eo.ignoredProperties=ei;var ep=function(e,t,r,n){let{node:a}=r,i=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(i)?"":eu(i,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},ec)},eh=Array.prototype.toReversed??function(){return[...this].reverse()},ed=g("toReversed",function(){if(Array.isArray(this))return eh}),em=(n=globalThis,"string"==typeof(a=n.Deno?.build?.os)?"windows"===a:n.navigator?.platform?.startsWith("Win")??n.process?.platform?.startsWith("win")??!1);function eg(e){if("file:"!==(e=e instanceof URL?e:new URL(e)).protocol)throw TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}var ef=e=>String(e).split(/[/\\]/u).pop(),e_=e=>String(e).startsWith("file:"),ev=function(e){return Array.isArray(e)&&e.length>0};function eS(e,t){if(!t)return;let r=ef(t).toLowerCase();return e.find(({filenames:e})=>e?.some(e=>e.toLowerCase()===r))??e.find(({extensions:e})=>e?.some(e=>r.endsWith(e)))}var eT=void 0;function eE(e,t){if(t){if(e_(t))try{var r,n;let e;r=t,t=em?(e=decodeURIComponent((n=eg(n=r)).pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\"),""!==n.hostname&&(e=`\\\\${n.hostname}${e}`),e):decodeURIComponent(eg(r).pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}catch{return}if("string"==typeof t)return e.find(({isSupported:e})=>e?.({filepath:t}))}}var ek=function(e,t){let r=ed(0,e.plugins).flatMap(e=>e.languages??[]);return(function(e,t){if(t)return e.find(({name:e})=>e.toLowerCase()===t)??e.find(({aliases:e})=>e?.includes(t))??e.find(({extensions:e})=>e?.includes(`.${t}`))}(r,t.language)??eS(r,t.physicalFile)??eS(r,t.file)??eE(r,t.physicalFile)??eE(r,t.file)??eT?.(r,t.physicalFile))?.parsers[0]},eC=Symbol.for("PRETTIER_IS_FRONT_MATTER"),eb=function(e){return!!e?.[eC]},ew=function(e){let t=function(e){let t=e.slice(0,3);if("---"!==t&&"+++"!==t)return;let r=e.indexOf(`
|
|
9
|
+
`,3);if(-1===r)return;let n=e.slice(3,r).trim(),a=e.indexOf(`
|
|
10
|
+
${t}`,r),i=n;if(i||(i="+++"===t?"toml":"yaml"),-1===a&&"---"===t&&"yaml"===i&&(a=e.indexOf(`
|
|
11
|
+
...`,r)),-1===a)return;let s=a+1+3,o=e.charAt(s+1);if(!/\s?/u.test(o))return;let l=e.slice(0,s),c;return{language:i,explicitLanguage:n||null,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:l.slice(-3),raw:l,start:{line:1,column:0,index:0},end:{index:l.length,get line(){return c??(c=l.split(`
|
|
12
|
+
`)),c.length},get column(){return c??(c=l.split(`
|
|
13
|
+
`)),S(0,c,-1).length}},[eC]:!0}}(e);return t?{frontMatter:t,get content(){let{raw:r}=t;return _(0,r,/[^\n]/gu," ")+e.slice(r.length)}}:{content:e}},ey={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",details:"block",summary:"block",marquee:"inline-block",select:"inline-block",source:"block",track:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",option:"block",optgroup:"block"},eN={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},ex=function(e){return"element"===e.kind&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)},eL=e=>_(0,e,/^[\t\f\r ]*\n/gu,""),eA=e=>eL(en.trimEnd(e)),eO=e=>{let t=e,r=en.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=en.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}};function eP(e,t){return!!("ieConditionalComment"===e.kind&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.kind&&!e.complete||eX(e)&&e.children.some(e=>"text"!==e.kind&&"interpolation"!==e.kind)||e0(e,t)&&!eR(e,t)&&"interpolation"!==e.kind)}function eI(e){var t;return"attribute"!==e.kind&&!!e.parent&&!!e.prev&&"comment"===(t=e.prev).kind&&"prettier-ignore"===t.value.trim()}function eD(e){return"text"===e.kind||"comment"===e.kind}function eR(e,t){return"element"===e.kind&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||"svg:script"===e.fullName||"mj-style"===e.fullName&&"mjml"===t.parser||ex(e)&&("script"===e.name||"style"===e.name))}function eM(e){return eG(e).startsWith("pre")}function eq(e){return eb(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function eB(e){return"element"===e.kind&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function eH(e){var t,r;return eU(e)||e.prev&&(eU(t=e.prev)||"element"===t.kind&&"br"===t.fullName||eV(r=t)&&eF(r))||eV(e)&&eF(e)}function eV(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.kind||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function eF(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.kind||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function eU(e){switch(e.kind){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function eW(e){return e.lastChild?eW(e.lastChild):e}function ez(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"text/jsx":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||"speculationrules"===e)return"json"}}function e$(e,t){return function(e,t){let{name:r,attrMap:n}=e;if("script"!==r||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:i}=e.attrMap;return i||a?ek(t,{language:i})??ez(a):"babel"}(e,t)??function(e,t){if("style"===e.name){let{lang:r}=e.attrMap;return r?ek(t,{language:r}):"css"}if("mj-style"===e.name&&"mjml"===t.parser)return"css"}(e,t)??function(e,t){if(!e0(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return ek(t,{language:a})??ez(n)}(e,t)}function ej(e){return"block"===e||"list-item"===e||e.startsWith("table")}function eX(e){return eG(e).startsWith("pre")}function eG(e){return"element"===e.kind&&(!e.namespace||ex(e))&&Object.prototype.hasOwnProperty.call(eN,e.name)?eN[e.name]:"normal"}function eK(e){return _(0,_(0,e,"'","'"),""",'"')}function eY(e){return eK(e.value)}var eJ=new Set(["template","style","script"]);function eQ(e,t){return eZ(e,t)&&!eJ.has(e.fullName)}function eZ(e,t){return"vue"===t.parser&&"element"===e.kind&&"root"===e.parent.kind&&"html"!==e.fullName.toLowerCase()}function e0(e,t){return eZ(e,t)&&(eQ(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}function e1(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?F(t):F(en.dedentString(eA(t)),Y):X(G,en.split(t))}function e2(e,t){return eZ(e,t)&&"script"===e.name}function e4(e,t){if(function(e){let{valueSpan:t,value:r}=e;return t.end.offset-t.start.offset===r.length+2}(e))return!1;let{value:r}=e;return/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(r)||"lwc"===t.parser&&r.startsWith("{")&&r.endsWith("}")}var e3=/\{\{(.+?)\}\}/su;async function e6(e,t,r){let n=eY(r.node),a=[];for(let[t,r]of n.split(e3).entries())if(t%2==0)a.push(F(r));else try{a.push($(["{{",U([G,await eu(r,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),G,"}}"]))}catch{a.push("{{",F(r),"}}")}return a}var e5=e=>(t,r,n)=>eu(eY(n.node),t,{parser:e},ec),e9=[{test(e){let t=e.node.fullName;return t.startsWith("(")&&t.endsWith(")")||t.startsWith("on-")},print:e5("__ng_action")},{test(e){let t=e.node.fullName;return t.startsWith("[")&&t.endsWith("]")||/^bind(?:on)?-/u.test(t)||/^ng-(?:if|show|hide|class|style)$/u.test(t)},print:e5("__ng_binding")},{test:e=>e.node.fullName.startsWith("*"),print:e5("__ng_directive")},{test:e=>/^i18n(?:-.+)?$/u.test(e.node.fullName),print:function(e,t,{node:r}){let n=eY(r);return el(z(e1(r,n.trim())),!n.includes("@@"))}},{test:({node:{value:e}})=>e3.test(e),print:e6}].map(({test:e,print:t})=>({test:(t,r)=>"angular"===r.parser&&e(t),print:t})),e8=new Set(["onabort","onafterprint","onauxclick","onbeforeinput","onbeforematch","onbeforeprint","onbeforetoggle","onbeforeunload","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncommand","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpagereveal","onpageshow","onpageswap","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onrejectionhandled","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"]),e7=function(e){let t=[];for(let r of e.split(";")){if(!(r=en.trim(r)))continue;let[e,...n]=en.split(r);t.push({name:e,value:n})}return t};function te(e){return" "===e||e===`
|
|
14
|
+
`||"\f"===e||"\r"===e||" "===e}var tt=/^[ \t\n\r\u000c]+/,tr=/^[, \t\n\r\u000c]+/,tn=/^[^ \t\n\r\u000c]+/,ta=/[,]+$/,ti=/^\d+$/,ts=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,to=function(e){let t=e.length,r,n,a,i,s,o=0,l;function c(t){let r,n=t.exec(e.substring(o));if(n)return[r]=n,o+=r.length,r}let u=[];for(;;){if(c(tr),o>=t){if(0===u.length)throw Error("Must contain one or more image candidate strings.");return u}l=o,r=c(tn),n=[],","===r.slice(-1)?(r=r.replace(ta,""),p()):function(){for(c(tt),a="",i="in descriptor";;){if(s=e.charAt(o),"in descriptor"===i){if(te(s))a&&(n.push(a),a="",i="after descriptor");else if(","===s){o+=1,a&&n.push(a),p();return}else if("("===s)a+=s,i="in parens";else if(""===s){a&&n.push(a),p();return}else a+=s}else if("in parens"===i){if(")"===s)a+=s,i="in descriptor";else if(""===s){n.push(a),p();return}else a+=s}else if("after descriptor"===i&&!te(s)){if(""===s){p();return}i="in descriptor",o-=1}o+=1}}()}function p(){let t=!1,a,i,s,o,c={},p,h,d,m,g;for(o=0;o<n.length;o++)h=(p=n[o])[p.length-1],m=parseInt(d=p.substring(0,p.length-1),10),g=parseFloat(d),ti.test(d)&&"w"===h?((a||i)&&(t=!0),0===m?t=!0:a=m):ts.test(d)&&"x"===h?((a||i||s)&&(t=!0),g<0?t=!0:i=g):ti.test(d)&&"h"===h?((s||i)&&(t=!0),0===m?t=!0:s=m):t=!0;if(t)throw Error(`Invalid srcset descriptor found in "${e}" at "${p}".`);c.source={value:r,startOffset:l},a&&(c.width={value:a}),i&&(c.density={value:i}),s&&(c.height={value:s}),u.push(c)}},tl={width:"w",height:"h",density:"x"},tc=Object.keys(tl),tu=async(e,t,r)=>el(await e(eY(r.node),{parser:"css",__isHTMLStyleAttribute:!0})),tp=new WeakMap,th=function(e,t){let{root:r}=e;return tp.has(r)||tp.set(r,r.children.some(e=>e2(e,t)&&["ts","typescript"].includes(e.attrMap.lang))),tp.get(r)};function td(e,t,r,n){return eu(eY(r.node),e,{parser:th(r,n)?"__ts_expression":"__js_expression"},ec)}var tm=[{test:e=>"srcset"===e.node.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName),print:function(e,t,r){let n=to(eY(r.node)),a=tc.filter(e=>n.some(t=>Object.prototype.hasOwnProperty.call(t,e)));if(a.length>1)throw Error("Mixed descriptor in srcset is not supported");let[i]=a,s=tl[i],o=n.map(e=>e.source.value),l=Math.max(...o.map(e=>e.length)),c=n.map(e=>e[i]?String(e[i].value):""),u=c.map(e=>{let t=e.indexOf(".");return -1===t?e.length:t}),p=Math.max(...u);return el(X([",",G],o.map((e,t)=>{let r=[e],n=c[t];if(n){let a=l-e.length+1,i=p-u[t],o=" ".repeat(a+i);r.push(j(o," "),n+s)}return r})))}},{test:({node:e},t)=>"style"===e.fullName&&!t.parentParser&&!e.value.includes("{{"),print:tu},{test:({node:e},t)=>e8.has(e.fullName)&&!t.parentParser&&!e.value.includes("{{"),print:(e,t,r)=>eu(eY(r.node),e,{parser:"babel",__isHtmlInlineEventHandler:!0},()=>!1)},{test:({node:e},t)=>!t.parentParser&&"class"===e.fullName&&!e.value.includes("{{"),print:(e,t,r)=>eY(r.node).trim().split(/\s+/u).join(" ")},{test:({node:e},t)=>"allow"===e.fullName&&!t.parentParser&&"iframe"===e.parent.fullName&&!e.value.includes("{{"),print:function(e,t,r){let{node:n}=r,a=e7(eY(n));return 0===a.length?[""]:el(a.map(({name:e,value:t},r)=>[[e,...t].join(" "),r===a.length-1?j(";"):[";",G]]))}},...[{test:e=>"v-for"===e.node.fullName,print:async function(e,t,r,n){let{left:a,operator:i,right:s}=function(e){let t=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,r=e.match(/(.*?)\s+(in|of)\s+(.*)/su);if(!r)return;let n={for:r[3].trim()};if(!n.for)return;let a=_(0,r[1].trim(),/^\(|\)$/gu,""),i=a.match(t);i?(n.alias=a.replace(t,""),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=a;let s=[n.alias,n.iterator1,n.iterator2];if(!s.some((e,t)=>!e&&(0===t||s.slice(t+1).some(Boolean))))return{left:s.filter(Boolean).join(","),operator:r[2],right:n.for}}(eY(r.node)),o=th(r,n);return[$(await eu(`function _(${a}) {}`,e,{parser:o?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await eu(s,e,{parser:o?"__ts_expression":"__js_expression"})]}},{test:(e,t)=>"generic"===e.node.fullName&&e2(e.parent,t),print:function(e,t,r){let n=eY(r.node);return eu(`type T<${n}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},ec)}},{test:({node:e},t)=>{let r;return"#"===(r=e.fullName).charAt(0)||"slot-scope"===r||"v-slot"===r||r.startsWith("v-slot:")||function(e,t){let r=e.parent;if(!eZ(r,t))return!1;let n=r.fullName,a=e.fullName;return"script"===n&&"setup"===a||"style"===n&&"vars"===a}(e,t)},print:function(e,t,r,n){let a=eY(r.node);return eu(`function _(${a}) {}`,e,{parser:th(r,n)?"babel-ts":"babel",__isVueBindings:!0})}},{test(e){let t=e.node.fullName;return t.startsWith("@")||t.startsWith("v-on:")},print:async function(e,t,r,n){try{return await td(e,t,r,n)}catch(e){if(e.cause?.code!=="BABEL_PARSER_SYNTAX_ERROR")throw e}return eu(eY(r.node),e,{parser:th(r,n)?"__vue_ts_event_binding":"__vue_event_binding"},ec)}},{test(e){let t=e.node.fullName;return t.startsWith(":")||t.startsWith(".")||t.startsWith("v-bind:")},print:function(e,t,r,n){return eu(eY(r.node),e,{parser:th(r,n)?"__vue_ts_expression":"__vue_expression"},ec)}},{test:e=>e.node.fullName.startsWith("v-"),print:td}].map(({test:e,print:t})=>({test:(t,r)=>"vue"===r.parser&&e(t,r),print:t})),...e9].map(({test:e,print:t})=>({test:e,print:async(e,r,n,a)=>{let i=await t(e,r,n,a);if(i)return i=V(i,e=>"string"==typeof e?_(0,e,'"',"""):e),[n.node.rawName,'="',$(i),'"']}})),tg=function(e,t){let{node:r}=e,{value:n}=r;if(n)return e4(r,t)?[r.rawName,"=",n]:tm.find(({test:r})=>r(e,t))?.print},tf=e=>e.sourceSpan.start.offset,t_=e=>e.sourceSpan.end.offset;function tv(e,t){return[e.isSelfClosing?"":e.lastChild&&ty(e.lastChild)?"":[tw(e)?tk(e.lastChild,t):"",tE(e,t)],tS(e,t)]}function tS(e,t){return(e.next?tb(e.next):tw(e.parent))?"":[tk(e,t),tT(e,t)]}function tT(e,t){return ty(e)?tE(e.parent,t):tN(e)?tI(e.next,t):""}function tE(e,t){if(tC(e,t))return"";switch(e.kind){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function tk(e,t){if(tC(e,t))return"";switch(e.kind){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function tC(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(eI(e)||eP(e.parent,t))}function tb(e){return e.prev&&"docType"!==e.prev.kind&&"angularControlFlowBlock"!==e.kind&&!eD(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function tw(e){return e.lastChild?.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!eD(eW(e.lastChild))&&!eX(e)}function ty(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&eD(eW(e))}function tN(e){return e.next&&!eD(e.next)&&eD(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function tx(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function tL(e,t,r){let{node:n}=e;return[tA(n,t),function(e,t,r){let n,{node:a}=e;if(!ev(a.attrs))return a.isSelfClosing?" ":"";let i=a.prev?.kind==="comment"&&!!(n=a.prev.value.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su))&&(!n[1]||n[1].split(/\s+/u)),s="boolean"==typeof i?()=>i:Array.isArray(i)?e=>i.includes(e.rawName):()=>!1,o=e.map(({node:e})=>s(e)?F(t.originalText.slice(tf(e),t_(e))):r(),"attrs"),l="element"===a.kind&&"script"===a.fullName&&1===a.attrs.length&&"src"===a.attrs[0].fullName&&0===a.children.length,c=t.singleAttributePerLine&&a.attrs.length>1&&!eZ(a,t)?Y:G,u=[U([l?" ":G,X(c,o)])];return a.firstChild&&tx(a.firstChild)||a.isSelfClosing&&tw(a.parent)||l?u.push(a.isSelfClosing?" ":""):u.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?G:K),u}(e,t,r),n.isSelfClosing?"":n.firstChild&&tx(n.firstChild)?"":tD(n)]}function tA(e,t){return e.prev&&tN(e.prev)?"":[tO(e,t),tI(e,t)]}function tO(e,t){return tx(e)?tD(e.parent):tb(e)?tk(e.prev,t):""}var tP="<!doctype";function tI(e,t){switch(e.kind){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${e.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":{if("html"===e.value){let{filepath:e}=t;if(e&&/\.html?$/u.test(e))return tP}let r=tf(e);return t.originalText.slice(r,r+tP.length)}case"angularIcuExpression":return"{";case"element":if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function tD(e){switch(e.kind){case"ieConditionalComment":return"]>";case"element":if(e.condition)return"><!--<![endif]-->";default:return">"}}var tR=function(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&tx(e.firstChild)&&(r-=tD(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&ty(e.lastChild)?n+=tE(e,t).length:tw(e)&&(n-=tk(e.lastChild,t).length),t.originalText.slice(r,n)},tM=new Set(["if","else if","for","switch","case"]),tq=null;function tB(e){if(null!==tq&&(tq.property,1)){let e=tq;return tq=tB.prototype=null,e}return tq=tB.prototype=e??Object.create(null),new tB}for(let e=0;e<=10;e++)tB();var tH=[["children"],[]],tV=function(e,t="type"){return tB(e),function(r){let n=r[t],a=e[n];if(!Array.isArray(a))throw Object.assign(Error(`Missing visitor keys for '${n}'.`),{node:r});return a}}({root:tH[0],element:["attrs","children"],ieConditionalComment:tH[0],ieConditionalStartComment:tH[1],ieConditionalEndComment:tH[1],interpolation:tH[0],text:tH[0],docType:tH[1],comment:tH[1],attribute:tH[1],cdata:tH[1],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:tH[0],angularControlFlowBlockParameter:tH[1],angularLetDeclaration:["init"],angularLetDeclarationInitializer:tH[1],angularIcuExpression:["cases"],angularIcuCase:["expression"]},"kind"),tF=/^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u,tU=/^\s*<!--\s*@(?:format|prettier)\s*-->/u,tW=e=>tU.test(e),tz=e=>tF.test(e),t$=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]);function tj(e,t,r){let n=e.node;if(eI(n)){let e=function e(t){let r=t_(t);return"element"===t.kind&&!t.endSourceSpan&&ev(t.children)?Math.max(r,e(S(0,t.children,-1))):r}(n);return[tO(n,t),F(en.trimEnd(t.originalText.slice(tf(n)+(n.prev&&tN(n.prev)?tI(n).length:0),e-(n.next&&tb(n.next)?tk(n,t).length:0)))),tT(n,t)]}return r()}function tX(e,t){return eD(e)&&eD(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?eH(t)?Y:G:"":eH(t)?Y:K:tN(e)&&(eI(t)||t.firstChild||t.isSelfClosing||"element"===t.kind&&t.attrs.length>0)||"element"===e.kind&&e.isSelfClosing&&tb(t)?"":!t.isLeadingSpaceSensitive||eH(t)||tb(t)&&e.lastChild&&ty(e.lastChild)&&e.lastChild.lastChild&&ty(e.lastChild.lastChild)?Y:t.hasLeadingSpaces?G:K}function tG(e,t,r){let{node:n}=e;if(eB(n))return[W,...e.map(()=>{let n=e.node,a=n.prev?tX(n.prev,n):"";return[a?[a,eq(n.prev)?Y:""]:"",tj(e,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map(({node:n,index:i})=>{if(eD(n)){if(n.prev&&eD(n.prev)){let a=tX(n.prev,n);if(a)return eq(n.prev)?[Y,Y,tj(e,t,r)]:[a,tj(e,t,r)]}return tj(e,t,r)}let s=[],o=[],l=[],c=[],u=n.prev?tX(n.prev,n):"",p=n.next?tX(n,n.next):"";return u&&(eq(n.prev)?s.push(Y,Y):u===Y?s.push(Y):eD(n.prev)?o.push(u):o.push(j("",K,{groupId:a[i-1]}))),p&&(eq(n)?eD(n.next)&&c.push(Y,Y):p===Y?eD(n.next)&&c.push(Y):l.push(p)),[...s,$([...o,$([tj(e,t,r),...l],{id:a[i]})]),...c]},"children")}function tK(e){return!(e.next?.kind==="angularControlFlowBlock"&&t$.get(e.name)?.has(e.next.name))}var tY=((t8={})[t8.RAW_TEXT=0]="RAW_TEXT",t8[t8.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t8[t8.PARSABLE_DATA=2]="PARSABLE_DATA",t8);function tJ(e,t=!0){if(":"!=e[0])return[null,e];let r=e.indexOf(":",1);if(-1===r){if(t)throw Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,r),e.slice(r+1)]}function tQ(e){return"ng-container"===tJ(e)[1]}function tZ(e){return"ng-content"===tJ(e)[1]}function t0(e){return null===e?null:tJ(e)[0]}function t1(e,t){return e?`:${e}:${t}`:t}var t2={name:"custom-elements"},t4="no-errors-schema",t3=((t7={})[t7.NONE=0]="NONE",t7[t7.HTML=1]="HTML",t7[t7.STYLE=2]="STYLE",t7[t7.SCRIPT=3]="SCRIPT",t7[t7.URL=4]="URL",t7[t7.RESOURCE_URL=5]="RESOURCE_URL",t7),t6=/-+([a-z0-9])/g;function t5(){return re||(re={},t9(t3.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),t9(t3.STYLE,["*|style"]),t9(t3.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),t9(t3.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),re}function t9(e,t){for(let r of t)re[r.toLowerCase()]=e}var t8,t7,re,rt,rr,rn=class{},ra=["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","selectedcontent^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","search^[HTMLELement]|","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],ri=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex","aria-activedescendant":"ariaActiveDescendantElement","aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colindextext":"ariaColIndexText","aria-colspan":"ariaColSpan","aria-controls":"ariaControlsElements","aria-current":"ariaCurrent","aria-describedby":"ariaDescribedByElements","aria-description":"ariaDescription","aria-details":"ariaDetailsElements","aria-disabled":"ariaDisabled","aria-errormessage":"ariaErrorMessageElements","aria-expanded":"ariaExpanded","aria-flowto":"ariaFlowToElements","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-labelledby":"ariaLabelledByElements","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-owns":"ariaOwnsElements","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowindextext":"ariaRowIndexText","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText"})),rs=Array.from(ri).reduce((e,[t,r])=>(e.set(t,r),e),new Map),ro=class extends rn{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,ra.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),i=a.split(","),[s,o]=n.split("^");s.split(",").forEach(e=>{this._schema.set(e.toLowerCase(),t),this._eventSchema.set(e.toLowerCase(),r)});let l=o&&this._schema.get(o.toLowerCase());if(l){for(let[e,r]of l)t.set(e,r);for(let e of this._eventSchema.get(o.toLowerCase()))r.add(e)}i.forEach(e=>{if(e.length>0)switch(e[0]){case"*":r.add(e.substring(1));break;case"!":t.set(e.substring(1),"boolean");break;case"#":t.set(e.substring(1),"number");break;case"%":t.set(e.substring(1),"object");break;default:t.set(e,"string")}})})}hasProperty(e,t,r){if(r.some(e=>e.name===t4))return!0;if(e.indexOf("-")>-1){if(tQ(e)||tZ(e))return!1;if(r.some(e=>e.name===t2.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return!!(t.some(e=>e.name===t4)||e.indexOf("-")>-1&&(tQ(e)||tZ(e)||t.some(e=>e.name===t2.name)))||this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=t5()[e+"|"+t];return n||(n=t5()["*|"+t])||t3.NONE}getMappedPropName(e){return ri.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...
|
|
15
|
+
If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){return Array.from((this._schema.get(e.toLowerCase())||this._schema.get("unknown")).keys()).map(e=>rs.get(e)??e)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return e.replace(t6,(...e)=>e[1].toUpperCase())}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),i=null;if(function(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(e)&&0!==r&&"0"!==r){if("number"==typeof r)n="px";else{let e=r.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&(i=`Please provide a CSS unit value for ${t}:${r}`)}}return{error:i,value:a+n}}},rl=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=tY.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:i=!1,preventNamespaceInheritance:s=!1,canSelfClose:o=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(e=>this.closedByChildren[e]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=i,this.preventNamespaceInheritance=s,this.canSelfClose=o??a}isClosedByChild(e){return this.isVoid||e.toLowerCase() in this.closedByChildren}getContentType(e){return"object"==typeof this.contentType?(void 0===e?void 0:this.contentType[e])??this.contentType.default:this.contentType}};function rc(e){return rr||(rt=new rl({canSelfClose:!0}),rr=Object.assign(Object.create(null),{base:new rl({isVoid:!0}),meta:new rl({isVoid:!0}),area:new rl({isVoid:!0}),embed:new rl({isVoid:!0}),link:new rl({isVoid:!0}),img:new rl({isVoid:!0}),input:new rl({isVoid:!0}),param:new rl({isVoid:!0}),hr:new rl({isVoid:!0}),br:new rl({isVoid:!0}),source:new rl({isVoid:!0}),track:new rl({isVoid:!0}),wbr:new rl({isVoid:!0}),p:new rl({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new rl({closedByChildren:["tbody","tfoot"]}),tbody:new rl({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new rl({closedByChildren:["tbody"],closedByParent:!0}),tr:new rl({closedByChildren:["tr"],closedByParent:!0}),td:new rl({closedByChildren:["td","th"],closedByParent:!0}),th:new rl({closedByChildren:["td","th"],closedByParent:!0}),col:new rl({isVoid:!0}),svg:new rl({implicitNamespacePrefix:"svg"}),foreignObject:new rl({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new rl({implicitNamespacePrefix:"math"}),li:new rl({closedByChildren:["li"],closedByParent:!0}),dt:new rl({closedByChildren:["dt","dd"]}),dd:new rl({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new rl({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new rl({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new rl({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new rl({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new rl({closedByChildren:["optgroup"],closedByParent:!0}),option:new rl({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new rl({ignoreFirstLf:!0}),listing:new rl({ignoreFirstLf:!0}),style:new rl({contentType:tY.RAW_TEXT}),script:new rl({contentType:tY.RAW_TEXT}),title:new rl({contentType:{default:tY.ESCAPABLE_RAW_TEXT,svg:tY.PARSABLE_DATA}}),textarea:new rl({contentType:tY.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new ro().allKnownElementNames().forEach(e=>{rr[e]||null!==t0(e)||(rr[e]=new rl({canSelfClose:!1}))})),rr[e]??rt}function ru(e){return e>=9&&e<=32||160==e}function rp(e){return 48<=e&&e<=57}function rh(e){return e>=97&&e<=122||e>=65&&e<=90}function rd(e){return 10===e||13===e}function rm(e){return 48<=e&&e<=55}function rg(e){return 39===e||34===e||96===e}var rf=class e{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let r=this.file.content,n=r.length,a=this.offset,i=this.line,s=this.col;for(;a>0&&t<0;)if(a--,t++,10==r.charCodeAt(a)){i--;let e=r.substring(0,a-1).lastIndexOf("\n");s=e>0?a-e:a}else s--;for(;a<n&&t>0;){let e=r.charCodeAt(a);a++,t--,10==e?(i++,s=0):s++}return new e(this.file,a,i,s)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let a=n,i=0,s=0;for(;i<e&&n>0&&(n--,i++,!(r[n]==`
|
|
16
|
+
`&&++s==t)););for(i=0,s=0;i<e&&a<r.length-1&&(a++,i++,!(r[a]==`
|
|
17
|
+
`&&++s==t)););return{before:r.substring(n,this.offset),after:r.substring(this.offset,a+1)}}return null}},r_=class{constructor(e,t){this.content=e,this.url=t}},rv=class{constructor(e,t,r=e,n=null){this.start=e,this.end=t,this.fullStart=r,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},rS=((nh={})[nh.WARNING=0]="WARNING",nh[nh.ERROR=1]="ERROR",nh),rT=class extends Error{constructor(e,t,r=rS.ERROR,n){super(t),this.span=e,this.msg=t,this.level=r,this.relatedError=n,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${rS[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},rE=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},rk=class extends rE{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.kind="text"}visit(e,t){return e.visitText(this,t)}},rC=class extends rE{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.kind="cdata"}visit(e,t){return e.visitCdata(this,t)}},rb=class extends rE{constructor(e,t,r,n,a,i){super(n,i),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a,this.kind="expansion"}visit(e,t){return e.visitExpansion(this,t)}},rw=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.kind="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},ry=class extends rE{constructor(e,t,r,n,a,i,s){super(r,s),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=i,this.kind="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},rN=class extends rE{constructor(e,t,r,n,a,i,s,o=null,l=null,c,u){super(i,u),this.name=e,this.attrs=t,this.directives=r,this.children=n,this.isSelfClosing=a,this.startSourceSpan=s,this.endSourceSpan=o,this.nameSpan=l,this.isVoid=c,this.kind="element"}visit(e,t){return e.visitElement(this,t)}},rx=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.kind="comment"}visit(e,t){return e.visitComment(this,t)}},rL=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.kind="docType"}visit(e,t){return e.visitDocType(this,t)}},rA=class extends rE{constructor(e,t,r,n,a,i,s=null,o){super(n,o),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=i,this.endSourceSpan=s,this.kind="block"}visit(e,t){return e.visitBlock(this,t)}},rO=class extends rE{constructor(e,t,r,n,a,i,s,o,l,c=null,u){super(o,u),this.componentName=e,this.tagName=t,this.fullName=r,this.attrs=n,this.directives=a,this.children=i,this.isSelfClosing=s,this.startSourceSpan=l,this.endSourceSpan=c,this.kind="component"}visit(e,t){return e.visitComponent(this,t)}},rP=class{constructor(e,t,r,n,a=null){this.name=e,this.attrs=t,this.sourceSpan=r,this.startSourceSpan=n,this.endSourceSpan=a,this.kind="directive"}visit(e,t){return e.visitDirective(this,t)}},rI=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.kind="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},rD=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.kind="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}};function rR(e,t,r=null){let n=[],a=e.visit?t=>e.visit(t,r)||t.visit(e,r):t=>t.visit(e,r);return t.forEach(e=>{let t=a(e);t&&n.push(t)}),n}var rM=class{constructor(){}visitElement(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.directives),t(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,t=>{t(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,t=>{t(e.parameters),t(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitComponent(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.children)})}visitDirective(e,t){this.visitChildren(t,t=>{t(e.attrs)})}visitChildren(e,t){let r=[],n=this;return t(function(t){t&&r.push(rR(n,t,e))}),Array.prototype.concat.apply([],r)}},rq={AElig:"\xc6",AMP:"&",amp:"&",Aacute:"\xc1",Abreve:"Ă",Acirc:"\xc2",Acy:"А",Afr:"\uD835\uDD04",Agrave:"\xc0",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"\uD835\uDD38",ApplyFunction:"",af:"",Aring:"\xc5",angst:"\xc5",Ascr:"\uD835\uDC9C",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"\xc3",Auml:"\xc4",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"\uD835\uDD05",Bopf:"\uD835\uDD39",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"\xa9",copy:"\xa9",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"\xc7",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"\xb8",cedil:"\xb8",CenterDot:"\xb7",centerdot:"\xb7",middot:"\xb7",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"\uD835\uDC9E",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"\uD835\uDD07",DiacriticalAcute:"\xb4",acute:"\xb4",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"\uD835\uDD3B",Dot:"\xa8",DoubleDot:"\xa8",die:"\xa8",uml:"\xa8",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"\uD835\uDC9F",Dstrok:"Đ",ENG:"Ŋ",ETH:"\xd0",Eacute:"\xc9",Ecaron:"Ě",Ecirc:"\xca",Ecy:"Э",Edot:"Ė",Efr:"\uD835\uDD08",Egrave:"\xc8",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"\uD835\uDD3C",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"\xcb",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"\uD835\uDD09",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"\uD835\uDD3D",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"\uD835\uDD0A",Gg:"⋙",ggg:"⋙",Gopf:"\uD835\uDD3E",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"\uD835\uDCA2",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"\xcd",Icirc:"\xce",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"\xcc",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"",ic:"",InvisibleTimes:"",it:"",Iogon:"Į",Iopf:"\uD835\uDD40",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"\xcf",Jcirc:"Ĵ",Jcy:"Й",Jfr:"\uD835\uDD0D",Jopf:"\uD835\uDD41",Jscr:"\uD835\uDCA5",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"\uD835\uDD0E",Kopf:"\uD835\uDD42",Kscr:"\uD835\uDCA6",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"\uD835\uDD0F",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"\uD835\uDD43",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"\uD835\uDD10",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"\uD835\uDD44",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",ZeroWidthSpace:"",NewLine:`
|
|
18
|
+
`,Nfr:"\uD835\uDD11",NoBreak:"",NonBreakingSpace:"\xa0",nbsp:"\xa0",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"\uD835\uDCA9",Ntilde:"\xd1",Nu:"Ν",OElig:"Œ",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"О",Odblac:"Ő",Ofr:"\uD835\uDD12",Ograve:"\xd2",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"\uD835\uDD46",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"\uD835\uDCAA",Oslash:"\xd8",Otilde:"\xd5",Otimes:"⨷",Ouml:"\xd6",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"\uD835\uDD13",Phi:"Φ",Pi:"Π",PlusMinus:"\xb1",plusmn:"\xb1",pm:"\xb1",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"\uD835\uDCAB",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"\uD835\uDD14",Qopf:"ℚ",rationals:"ℚ",Qscr:"\uD835\uDCAC",RBarr:"⤐",drbkarow:"⤐",REG:"\xae",circledR:"\xae",reg:"\xae",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"\uD835\uDD16",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"\uD835\uDD4A",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"\uD835\uDCAE",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"\xde",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"\uD835\uDD17",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"\uD835\uDD4B",TripleDot:"⃛",tdot:"⃛",Tscr:"\uD835\uDCAF",Tstrok:"Ŧ",Uacute:"\xda",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"\xdb",Ucy:"У",Udblac:"Ű",Ufr:"\uD835\uDD18",Ugrave:"\xd9",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"\uD835\uDD4C",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"\uD835\uDCB0",Utilde:"Ũ",Uuml:"\xdc",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"\uD835\uDD19",Vopf:"\uD835\uDD4D",Vscr:"\uD835\uDCB1",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"\uD835\uDD1A",Wopf:"\uD835\uDD4E",Wscr:"\uD835\uDCB2",Xfr:"\uD835\uDD1B",Xi:"Ξ",Xopf:"\uD835\uDD4F",Xscr:"\uD835\uDCB3",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"\xdd",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"\uD835\uDD1C",Yopf:"\uD835\uDD50",Yscr:"\uD835\uDCB4",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"\uD835\uDCB5",aacute:"\xe1",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"\xe2",acy:"а",aelig:"\xe6",afr:"\uD835\uDD1E",agrave:"\xe0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"\uD835\uDD52",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"\xe5",ascr:"\uD835\uDCB6",ast:"*",midast:"*",atilde:"\xe3",auml:"\xe4",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"\uD835\uDD1F",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"\uD835\uDD53",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"\xa6",bscr:"\uD835\uDCB7",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"\xe7",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"\xa2",cfr:"\uD835\uDD20",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"\uD835\uDD54",copysr:"℗",crarr:"↵",cross:"✗",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"\xa4",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"\xb0",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"\xe9",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"\xea",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"\uD835\uDD22",eg:"⪚",egrave:"\xe8",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"\xf0",euml:"\xeb",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"\xbd",half:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"\uD835\uDCBB",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"\uD835\uDD58",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"\uD835\uDD25",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"\uD835\uDD59",horbar:"―",hscr:"\uD835\uDCBD",hstrok:"ħ",hybull:"⁃",iacute:"\xed",icirc:"\xee",icy:"и",iecy:"е",iexcl:"\xa1",ifr:"\uD835\uDD26",igrave:"\xec",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"\uD835\uDD5A",iota:"ι",iquest:"\xbf",iscr:"\uD835\uDCBE",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"\xef",jcirc:"ĵ",jcy:"й",jfr:"\uD835\uDD27",jmath:"ȷ",jopf:"\uD835\uDD5B",jscr:"\uD835\uDCBF",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"\uD835\uDD28",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"\uD835\uDD5C",kscr:"\uD835\uDCC0",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"\xab",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"\uD835\uDD29",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"\xaf",strns:"\xaf",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"\uD835\uDD2A",mho:"℧",micro:"\xb5",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"\uD835\uDD5E",mscr:"\uD835\uDCC2",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"\uD835\uDD2B",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"\uD835\uDD5F",not:"\xac",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"\uD835\uDCC3",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"\xf1",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"\xf3",ocirc:"\xf4",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"\uD835\uDD2C",ogon:"˛",ograve:"\xf2",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"\uD835\uDD60",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"\xf8",osol:"⊘",otilde:"\xf5",otimesas:"⨶",ouml:"\xf6",ovbar:"⌽",para:"\xb6",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"\uD835\uDD2D",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"\uD835\uDD61",pound:"\xa3",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"\uD835\uDCC5",psi:"ψ",puncsp:" ",qfr:"\uD835\uDD2E",qopf:"\uD835\uDD62",qprime:"⁗",qscr:"\uD835\uDCC6",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"\xbb",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"\uD835\uDD2F",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"\uD835\uDCC7",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"\xa7",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"\uD835\uDD30",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"\xad",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"\uD835\uDCC8",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"\xdf",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"\uD835\uDD31",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"\xfe",times:"\xd7",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"\xfa",ubrcy:"ў",ubreve:"ŭ",ucirc:"\xfb",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"\uD835\uDD32",ugrave:"\xf9",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"\uD835\uDD66",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"\uD835\uDCCA",utdot:"⋰",utilde:"ũ",uuml:"\xfc",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"\uD835\uDD33",vopf:"\uD835\uDD67",vscr:"\uD835\uDCCB",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"\uD835\uDD34",wopf:"\uD835\uDD68",wscr:"\uD835\uDCCC",xfr:"\uD835\uDD35",xi:"ξ",xnis:"⋻",xopf:"\uD835\uDD69",xscr:"\uD835\uDCCD",yacute:"\xfd",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"\xa5",yfr:"\uD835\uDD36",yicy:"ї",yopf:"\uD835\uDD6A",yscr:"\uD835\uDCCE",yucy:"ю",yuml:"\xff",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"\uD835\uDD37",zhcy:"ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",zscr:"\uD835\uDCCF",zwj:"",zwnj:""};rq.ngsp="";var rB=((nd={})[nd.TAG_OPEN_START=0]="TAG_OPEN_START",nd[nd.TAG_OPEN_END=1]="TAG_OPEN_END",nd[nd.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",nd[nd.TAG_CLOSE=3]="TAG_CLOSE",nd[nd.INCOMPLETE_TAG_OPEN=4]="INCOMPLETE_TAG_OPEN",nd[nd.TEXT=5]="TEXT",nd[nd.ESCAPABLE_RAW_TEXT=6]="ESCAPABLE_RAW_TEXT",nd[nd.RAW_TEXT=7]="RAW_TEXT",nd[nd.INTERPOLATION=8]="INTERPOLATION",nd[nd.ENCODED_ENTITY=9]="ENCODED_ENTITY",nd[nd.COMMENT_START=10]="COMMENT_START",nd[nd.COMMENT_END=11]="COMMENT_END",nd[nd.CDATA_START=12]="CDATA_START",nd[nd.CDATA_END=13]="CDATA_END",nd[nd.ATTR_NAME=14]="ATTR_NAME",nd[nd.ATTR_QUOTE=15]="ATTR_QUOTE",nd[nd.ATTR_VALUE_TEXT=16]="ATTR_VALUE_TEXT",nd[nd.ATTR_VALUE_INTERPOLATION=17]="ATTR_VALUE_INTERPOLATION",nd[nd.DOC_TYPE_START=18]="DOC_TYPE_START",nd[nd.DOC_TYPE_END=19]="DOC_TYPE_END",nd[nd.EXPANSION_FORM_START=20]="EXPANSION_FORM_START",nd[nd.EXPANSION_CASE_VALUE=21]="EXPANSION_CASE_VALUE",nd[nd.EXPANSION_CASE_EXP_START=22]="EXPANSION_CASE_EXP_START",nd[nd.EXPANSION_CASE_EXP_END=23]="EXPANSION_CASE_EXP_END",nd[nd.EXPANSION_FORM_END=24]="EXPANSION_FORM_END",nd[nd.BLOCK_OPEN_START=25]="BLOCK_OPEN_START",nd[nd.BLOCK_OPEN_END=26]="BLOCK_OPEN_END",nd[nd.BLOCK_CLOSE=27]="BLOCK_CLOSE",nd[nd.BLOCK_PARAMETER=28]="BLOCK_PARAMETER",nd[nd.INCOMPLETE_BLOCK_OPEN=29]="INCOMPLETE_BLOCK_OPEN",nd[nd.LET_START=30]="LET_START",nd[nd.LET_VALUE=31]="LET_VALUE",nd[nd.LET_END=32]="LET_END",nd[nd.INCOMPLETE_LET=33]="INCOMPLETE_LET",nd[nd.COMPONENT_OPEN_START=34]="COMPONENT_OPEN_START",nd[nd.COMPONENT_OPEN_END=35]="COMPONENT_OPEN_END",nd[nd.COMPONENT_OPEN_END_VOID=36]="COMPONENT_OPEN_END_VOID",nd[nd.COMPONENT_CLOSE=37]="COMPONENT_CLOSE",nd[nd.INCOMPLETE_COMPONENT_OPEN=38]="INCOMPLETE_COMPONENT_OPEN",nd[nd.DIRECTIVE_NAME=39]="DIRECTIVE_NAME",nd[nd.DIRECTIVE_OPEN=40]="DIRECTIVE_OPEN",nd[nd.DIRECTIVE_CLOSE=41]="DIRECTIVE_CLOSE",nd[nd.EOF=42]="EOF",nd),rH=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},rV=/\r\n?/g;function rF(e){return`Unexpected character "${0===e?"EOF":String.fromCharCode(e)}"`}function rU(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var rW=((nm=rW||{}).HEX="hexadecimal",nm.DEC="decimal",nm),rz=["@if","@else","@for","@switch","@case","@default","@empty","@defer","@placeholder","@loading","@error"],r$={start:"{{",end:"}}"},rj=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._openDirectiveCount=0,this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(e=>e.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new r4(e,n):new r2(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0,this._selectorlessEnabled=r.selectorlessEnabled??!1;try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(rV,`
|
|
19
|
+
`)}tokenize(){for(;0!==this._cursor.peek();){let e=this._cursor.clone();try{if(this._attemptCharCode(60)){if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}}else this._tokenizeLet&&64===this._cursor.peek()&&!this._inInterpolation&&this._isLetStart()?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._isBlockStart()?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(rB.TEXT,rB.INTERPOLATION,()=>this._isTextEnd(),()=>this._isTagStart())}catch(e){this.handleError(e)}}this._beginToken(rB.EOF),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(t=>ru(t)?!e:!(rh(t)||rp(t)||95===t)||(e=!0,!1)),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._requireCharCode(64),this._beginToken(rB.BLOCK_OPEN_START,e);let t=this._endToken([this._getBlockName()]);if(40===this._cursor.peek()){if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(rX),this._attemptCharCode(41))this._attemptCharCodeUntilFn(rX);else{t.type=rB.INCOMPLETE_BLOCK_OPEN;return}}this._attemptCharCode(123)?(this._beginToken(rB.BLOCK_OPEN_END),this._endToken([])):t.type=rB.INCOMPLETE_BLOCK_OPEN}_consumeBlockEnd(e){this._beginToken(rB.BLOCK_CLOSE,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(rQ);41!==this._cursor.peek()&&0!==this._cursor.peek();){this._beginToken(rB.BLOCK_PARAMETER);let e=this._cursor.clone(),t=null,r=0;for(;59!==this._cursor.peek()&&0!==this._cursor.peek()||null!==t;){let e=this._cursor.peek();if(92===e)this._cursor.advance();else if(e===t)t=null;else if(null===t&&rg(e))t=e;else if(40===e&&null===t)r++;else if(41===e&&null===t){if(0===r)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(rQ)}}_consumeLetDeclaration(e){if(this._requireStr("@let"),this._beginToken(rB.LET_START,e),ru(this._cursor.peek()))this._attemptCharCodeUntilFn(rX);else{this._endToken([this._cursor.getChars(e)]).type=rB.INCOMPLETE_LET;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(rX),!this._attemptCharCode(61)){t.type=rB.INCOMPLETE_LET;return}this._attemptCharCodeUntilFn(e=>rX(e)&&!rd(e)),this._consumeLetDeclarationValue(),59===this._cursor.peek()?(this._beginToken(rB.LET_END),this._endToken([]),this._cursor.advance()):(t.type=rB.INCOMPLETE_LET,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(e=>!(rh(e)||36===e||95===e||t&&rp(e))||(t=!0,!1)),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(rB.LET_VALUE,e);0!==this._cursor.peek();){let e=this._cursor.peek();if(59===e)break;rg(e)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(t=>92===t?(this._cursor.advance(),!1):t===e)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(125!==this._cursor.peek()&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(125===this._cursor.peek()){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(null===this._currentTokenStart)throw new rT(this._cursor.getSpan(t),"Programming error - attempted to end a token when there was no start to the token");if(null===this._currentTokenType)throw new rT(this._cursor.getSpan(this._currentTokenStart),"Programming error - attempted to end a token which has no token type");let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');let r=new rT(t,e);return this._currentTokenStart=null,this._currentTokenType=null,r}handleError(e){if(e instanceof r3&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof rT)this.errors.push(e);else throw e}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return rJ(this._cursor.peek())===rJ(e)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(rF(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._cursor=r,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(rF(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(rF(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(r)<t)throw this._createError(rF(this._cursor.peek()),this._cursor.getSpan(r))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(){let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_peekStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++){if(r.peek()!==e.charCodeAt(n))return!1;r.advance()}return!0}_isBlockStart(){return 64===this._cursor.peek()&&rz.some(e=>this._peekStr(e))}_isLetStart(){return 64===this._cursor.peek()&&this._peekStr("@let")}_consumeEntity(e){this._beginToken(rB.ENCODED_ENTITY);let t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let e=this._attemptCharCode(120)||this._attemptCharCode(88),n=this._cursor.clone();if(this._attemptCharCodeUntilFn(rK),59!=this._cursor.peek()){var r;this._cursor.advance();let n=e?rW.HEX:rW.DEC;throw this._createError((r=this._cursor.getChars(t),`Unable to parse entity "${r}" - ${n} character reference entities must end with ";"`),this._cursor.getSpan())}let a=this._cursor.getChars(n);this._cursor.advance();try{let r=parseInt(a,e?16:10);this._endToken([String.fromCodePoint(r),this._cursor.getChars(t)])}catch{throw this._createError(rU(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(rY),59!=this._cursor.peek())this._beginToken(e,t),this._cursor=r,this._endToken(["&"]);else{let e=this._cursor.getChars(r);this._cursor.advance();let n=rq.hasOwnProperty(e)&&rq[e];if(!n)throw this._createError(rU(e),this._cursor.getSpan(t));this._endToken([n,`&${e};`])}}}_consumeRawText(e,t){this._beginToken(e?rB.ESCAPABLE_RAW_TEXT:rB.RAW_TEXT);let r=[];for(;;){let n=this._cursor.clone(),a=t();if(this._cursor=n,a)break;e&&38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(r.join(""))]),r.length=0,this._consumeEntity(rB.ESCAPABLE_RAW_TEXT),this._beginToken(rB.ESCAPABLE_RAW_TEXT)):r.push(this._readChar())}this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(rB.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(rB.COMMENT_END),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(rB.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>62===this._cursor.peek()),this._beginToken(rB.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(rB.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(rB.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(rB.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,()=>62===this._cursor.peek()),this._beginToken(rB.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(e){var t;let r,n=this._cursor.clone(),a="";for(;58!==this._cursor.peek()&&!(((t=this._cursor.peek())<97||122<t)&&(t<65||90<t)&&(t<48||t>57));)this._cursor.advance();return 58===this._cursor.peek()?(a=this._cursor.getChars(n),this._cursor.advance(),r=this._cursor.clone()):r=n,this._requireCharCodeUntilFn(e,""===a?0:1),[a,this._cursor.getChars(r)]}_consumeTagOpen(e){let t,r,n,a,i=[];try{if(this._selectorlessEnabled&&rZ(this._cursor.peek()))a=this._consumeComponentOpenStart(e),[n,r,t]=a.parts,r&&(n+=`:${r}`),t&&(n+=`:${t}`),this._attemptCharCodeUntilFn(rX);else{if(!rh(this._cursor.peek()))throw this._createError(rF(this._cursor.peek()),this._cursor.getSpan(e));r=(a=this._consumeTagOpenStart(e)).parts[0],t=n=a.parts[1],this._attemptCharCodeUntilFn(rX)}for(;!r1(this._cursor.peek());)if(this._selectorlessEnabled&&64===this._cursor.peek()){let e=this._cursor.clone(),t=e.clone();t.advance(),rZ(t.peek())&&this._consumeDirective(e,t)}else{let e=this._consumeAttribute();i.push(e)}a.type===rB.COMPONENT_OPEN_START?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(t){if(t instanceof rT){a?a.type=a.type===rB.COMPONENT_OPEN_START?rB.INCOMPLETE_COMPONENT_OPEN:rB.INCOMPLETE_TAG_OPEN:(this._beginToken(rB.TEXT,e),this._endToken(["<"]));return}throw t}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===rB.TAG_OPEN_END_VOID)return;let s=this._getTagContentType(t,r,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(r,t),s===tY.RAW_TEXT?this._consumeRawTextWithTagClose(r,a,n,!1):s===tY.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,a,n,!0)}_consumeRawTextWithTagClose(e,t,r,n){this._consumeRawText(n,()=>!!(this._attemptCharCode(60)&&this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(rX),this._attemptStrCaseInsensitive(e&&t.type!==rB.COMPONENT_OPEN_START?`${e}:${r}`:r)))&&(this._attemptCharCodeUntilFn(rX),this._attemptCharCode(62))),this._beginToken(t.type===rB.COMPONENT_OPEN_START?rB.COMPONENT_CLOSE:rB.TAG_CLOSE),this._requireCharCodeUntilFn(e=>62===e,3),this._cursor.advance(),this._endToken(t.parts),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(rB.TAG_OPEN_START,e);let t=this._consumePrefixAndName(rG);return this._endToken(t)}_consumeComponentOpenStart(e){this._beginToken(rB.COMPONENT_OPEN_START,e);let t=this._consumeComponentName();return this._endToken(t)}_consumeComponentName(){let e=this._cursor.clone();for(;r0(this._cursor.peek());)this._cursor.advance();let t=this._cursor.getChars(e),r="",n="";return 58===this._cursor.peek()&&(this._cursor.advance(),[r,n]=this._consumePrefixAndName(rG)),[t,r,n]}_consumeAttribute(){let[e,t]=this._consumeAttributeName(),r;return this._attemptCharCodeUntilFn(rX),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(rX),r=this._consumeAttributeValue()),this._attemptCharCodeUntilFn(rX),{prefix:e,name:t,value:r}}_consumeAttributeName(){let e,t=this._cursor.peek();if(39===t||34===t)throw this._createError(rF(t),this._cursor.getSpan());if(this._beginToken(rB.ATTR_NAME),this._openDirectiveCount>0){let t=0;e=e=>{if(this._openDirectiveCount>0){if(40===e)t++;else if(41===e){if(0===t)return!0;t--}}return rG(e)}}else if(91===t){let t=0;e=e=>(91===e?t++:93===e&&t--,t<=0?rG(e):rd(e))}else e=rG;let r=this._consumePrefixAndName(e);return this._endToken(r),r}_consumeAttributeValue(){let e;if(39===this._cursor.peek()||34===this._cursor.peek()){let t=this._cursor.peek();this._consumeQuote(t);let r=()=>this._cursor.peek()===t;e=this._consumeWithInterpolation(rB.ATTR_VALUE_TEXT,rB.ATTR_VALUE_INTERPOLATION,r,r),this._consumeQuote(t)}else{let t=()=>rG(this._cursor.peek());e=this._consumeWithInterpolation(rB.ATTR_VALUE_TEXT,rB.ATTR_VALUE_INTERPOLATION,t,t)}return e}_consumeQuote(e){this._beginToken(rB.ATTR_QUOTE),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?rB.TAG_OPEN_END_VOID:rB.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeComponentOpenEnd(){let e=this._attemptCharCode(47)?rB.COMPONENT_OPEN_END_VOID:rB.COMPONENT_OPEN_END;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._selectorlessEnabled){let t=e.clone();for(;62!==t.peek()&&!rZ(t.peek());)t.advance();if(rZ(t.peek())){this._beginToken(rB.COMPONENT_CLOSE,e);let t=this._consumeComponentName();this._attemptCharCodeUntilFn(rX),this._requireCharCode(62),this._endToken(t);return}}if(this._beginToken(rB.TAG_CLOSE,e),this._attemptCharCodeUntilFn(rX),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(rX),this._requireCharCode(62),this._endToken([]);else{let[e,t]=this._consumePrefixAndName(rG);this._attemptCharCodeUntilFn(rX),this._requireCharCode(62),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_consumeExpansionFormStart(){this._beginToken(rB.EXPANSION_FORM_START),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(rB.EXPANSION_FORM_START),this._beginToken(rB.RAW_TEXT);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let r=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(r)}this._requireCharCode(44),this._attemptCharCodeUntilFn(rX),this._beginToken(rB.RAW_TEXT);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(rX)}_consumeExpansionCaseStart(){this._beginToken(rB.EXPANSION_CASE_VALUE);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(rX),this._beginToken(rB.EXPANSION_CASE_EXP_START),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(rX),this._expansionCaseStack.push(rB.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(rB.EXPANSION_CASE_EXP_END),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(rX),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(rB.EXPANSION_FORM_END),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let r=this._cursor.clone();this._attemptStr(r$.start)?(this._endToken([this._processCarriageReturns(a.join(""))],r),a.length=0,this._consumeInterpolation(t,r,n),this._beginToken(e)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let i=this._processCarriageReturns(a.join(""));return this._endToken([i]),i}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(r$.start);let a=this._cursor.clone(),i=null,s=!1;for(;0!==this._cursor.peek()&&(null===r||!r());){let e=this._cursor.clone();if(this._isTagStart()){this._cursor=e,n.push(this._getProcessedChars(a,e)),this._endToken(n);return}if(null===i){if(this._attemptStr(r$.end)){n.push(this._getProcessedChars(a,e)),n.push(r$.end),this._endToken(n);return}this._attemptStr("//")&&(s=!0)}let t=this._cursor.peek();this._cursor.advance(),92===t?this._cursor.advance():t===i?i=null:!s&&null===i&&rg(t)&&(i=t)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();r0(this._cursor.peek());)this._cursor.advance();this._beginToken(rB.DIRECTIVE_NAME,e);let r=this._cursor.getChars(t);if(this._endToken([r]),this._attemptCharCodeUntilFn(rX),40===this._cursor.peek()){for(this._openDirectiveCount++,this._beginToken(rB.DIRECTIVE_OPEN),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(rX);!r1(this._cursor.peek())&&41!==this._cursor.peek();)this._consumeAttribute();if(this._attemptCharCodeUntilFn(rX),this._openDirectiveCount--,41!==this._cursor.peek()){if(62===this._cursor.peek()||47===this._cursor.peek())return;throw this._createError(rF(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(rB.DIRECTIVE_CLOSE),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(rX)}}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||0===this._cursor.peek()||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||125===this._cursor.peek()&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._isLetStart()||125===this._cursor.peek()))}_isTagStart(){if(60===this._cursor.peek()){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||47===t||33===t)return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===rB.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===rB.EXPANSION_FORM_START}isExpansionFormStart(){if(123!==this._cursor.peek())return!1;let e=this._cursor.clone(),t=this._attemptStr(r$.start);return this._cursor=e,!t}_handleFullNameStackForTagOpen(e,t){let r=t1(e,t);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=t1(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function rX(e){return!ru(e)||0===e}function rG(e){return ru(e)||62===e||60===e||47===e||39===e||34===e||61===e||0===e}function rK(e){return 59===e||0===e||!(e>=97&&e<=102||e>=65&&e<=70||rp(e))}function rY(e){return 59===e||0===e||!rh(e)}function rJ(e){return e>=97&&e<=122?e-97+65:e}function rQ(e){return 59!==e&&rX(e)}function rZ(e){return 95===e||e>=65&&e<=90}function r0(e){return rh(e)||rp(e)||95===e}function r1(e){return 47===e||62===e||60===e||0===e}var r2=class e{constructor(t,r){if(t instanceof e){this.file=t.file,this.input=t.input,this.end=t.end;let e=t.state;this.state={peek:e.peek,offset:e.offset,line:e.line,column:e.column}}else{if(!r)throw Error("Programming error: the range argument must be provided with a file argument.");this.file=t,this.input=t.content,this.end=r.endPos,this.state={peek:-1,offset:r.startPos,line:r.startLine,column:r.startCol}}}clone(){return new e(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){let r=e=e||this;if(t)for(;this.diff(e)>0&&-1!==t.indexOf(e.peek());)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e);return new rv(n,this.locationFromCursor(this),r!==e?this.locationFromCursor(r):n)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new r3('Unexpected character "EOF"',this);let t=this.charAt(e.offset);10===t?(e.line++,e.column=0):rd(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new rf(e.file,e.state.offset,e.state.line,e.state.column)}},r4=class e extends r2{constructor(t,r){t instanceof e?(super(t),this.internalState={...t.internalState}):(super(t,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new e(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offset<this.internalState.offset;)r+=String.fromCodePoint(t.peek()),t.advance();return r}processEscapeSequence(){let e=()=>this.internalState.peek;if(92===e()){if(this.internalState={...this.state},this.advanceState(this.internalState),110===e())this.state.peek=10;else if(114===e())this.state.peek=13;else if(118===e())this.state.peek=11;else if(116===e())this.state.peek=9;else if(98===e())this.state.peek=8;else if(102===e())this.state.peek=12;else if(117===e()){if(this.advanceState(this.internalState),123===e()){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;125!==e();)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}}else if(120===e()){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(rm(e())){let t="",r=0,n=this.clone();for(;rm(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else rd(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}}decodeHexDigits(e,t){let r=parseInt(this.input.slice(e.internalState.offset,e.internalState.offset+t),16);if(isNaN(r))throw e.state=e.internalState,new r3("Invalid hexadecimal escape sequence",e);return r}},r3=class extends Error{constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}},r6=class e extends rT{static create(t,r,n){return new e(t,r,n)}constructor(e,t,r){super(t,r),this.elementName=e}},r5=class{constructor(e,t){this.rootNodes=e,this.errors=t}},r9=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let i=e=>(t,...r)=>e(t.toLowerCase(),...r),s=n?this.getTagDefinition:i(this.getTagDefinition),o=e=>s(e).getContentType(),l=n?a:i(a),c=function(e,t,r,n={}){let a=new rj(new r_(e,t),r,n);return a.tokenize(),new rH(function(e){let t=[],r;for(let n=0;n<e.length;n++){let a=e[n];r&&r.type===rB.TEXT&&a.type===rB.TEXT||r&&r.type===rB.ATTR_VALUE_TEXT&&a.type===rB.ATTR_VALUE_TEXT?(r.parts[0]+=a.parts[0],r.sourceSpan.end=a.sourceSpan.end):(r=a,t.push(r))}return t}(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}(e,t,a?(e,t,r,n)=>{let a=l(e,t,r,n);return void 0!==a?a:o(e)}:o,r),u=r&&r.canSelfClose||!1,p=r&&r.allowHtmComponentClosingTags||!1,h=new r8(c.tokens,s,u,p,n);return h.build(),new r5(h.rootNodes,[...c.errors,...h.errors])}},r8=class e{constructor(e,t,r,n,a){this.tokens=e,this.tagDefinitionResolver=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==rB.EOF;)this._peek.type===rB.TAG_OPEN_START||this._peek.type===rB.INCOMPLETE_TAG_OPEN?this._consumeElementStartTag(this._advance()):this._peek.type===rB.TAG_CLOSE?(this._closeVoidElement(),this._consumeElementEndTag(this._advance())):this._peek.type===rB.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===rB.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===rB.TEXT||this._peek.type===rB.RAW_TEXT||this._peek.type===rB.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===rB.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===rB.BLOCK_OPEN_START?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===rB.BLOCK_CLOSE?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===rB.INCOMPLETE_BLOCK_OPEN?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===rB.LET_START?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===rB.DOC_TYPE_START?this._consumeDocType(this._advance()):this._peek.type===rB.INCOMPLETE_LET?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._peek.type===rB.COMPONENT_OPEN_START||this._peek.type===rB.INCOMPLETE_COMPONENT_OPEN?this._consumeComponentStartTag(this._advance()):this._peek.type===rB.COMPONENT_CLOSE?this._consumeComponentEndTag(this._advance()):this._advance();for(let e of this._containerStack)e instanceof rA&&this.errors.push(r6.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){let t=this._advance(),r=this._getText(t),n=this._advanceIf(rB.CDATA_END);this._addToParent(new rC(r,new rv(e.sourceSpan.start,(n||t).sourceSpan.end),[t]))}_consumeComment(e){let t=this._advanceIf(rB.RAW_TEXT),r=this._advanceIf(rB.COMMENT_END),n=null!=t?t.parts[0].trim():null,a=null==r?e.sourceSpan:new rv(e.sourceSpan.start,r.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new rx(n,a))}_consumeDocType(e){let t=this._advanceIf(rB.RAW_TEXT),r=this._advanceIf(rB.DOC_TYPE_END),n=null!=t?t.parts[0].trim():null,a=new rv(e.sourceSpan.start,(r||t||e).sourceSpan.end);this._addToParent(new rL(n,a))}_consumeExpansion(e){let t=this._advance(),r=this._advance(),n=[];for(;this._peek.type===rB.EXPANSION_CASE_VALUE;){let e=this._parseExpansionCase();if(!e)return;n.push(e)}if(this._peek.type!==rB.EXPANSION_FORM_END){this.errors.push(r6.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let a=new rv(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new rb(t.parts[0],r.parts[0],n,a,t.sourceSpan)),this._advance()}_parseExpansionCase(){let t=this._advance();if(this._peek.type!==rB.EXPANSION_CASE_EXP_START)return this.errors.push(r6.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let r=this._advance(),n=this._collectExpansionExpTokens(r);if(!n)return null;let a=this._advance();n.push({type:rB.EOF,parts:[],sourceSpan:a.sourceSpan});let i=new e(n,this.tagDefinitionResolver,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(i.build(),i.errors.length>0)return this.errors=this.errors.concat(i.errors),null;let s=new rv(t.sourceSpan.start,a.sourceSpan.end,t.sourceSpan.fullStart),o=new rv(r.sourceSpan.start,a.sourceSpan.end,r.sourceSpan.fullStart);return new rw(t.parts[0],i.rootNodes,s,t.sourceSpan,o)}_collectExpansionExpTokens(e){let t=[],r=[rB.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===rB.EXPANSION_FORM_START||this._peek.type===rB.EXPANSION_CASE_EXP_START)&&r.push(this._peek.type),this._peek.type===rB.EXPANSION_CASE_EXP_END){if(!r7(r,rB.EXPANSION_CASE_EXP_START))return this.errors.push(r6.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(r.pop(),0===r.length)return t}if(this._peek.type===rB.EXPANSION_FORM_END){if(!r7(r,rB.EXPANSION_FORM_START))return this.errors.push(r6.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.pop()}if(this._peek.type===rB.EOF)return this.errors.push(r6.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==`
|
|
20
|
+
`){var r;let e=this._getClosestElementLikeParent();null!=e&&0==e.children.length&&!(null===(r=this._getTagDefinition(e))||void 0===r)&&r.ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===`
|
|
21
|
+
`){var a;let r=this._getContainer();null!=r&&0===r.children.length&&!(null===(a=this._getTagDefinition(r))||void 0===a)&&a.ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===rB.INTERPOLATION||this._peek.type===rB.TEXT||this._peek.type===rB.ENCODED_ENTITY;)e=this._advance(),t.push(e),e.type===rB.INTERPOLATION?n+=e.parts.join("").replace(/&([^;]+);/g,ne):e.type===rB.ENCODED_ENTITY?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new rk(n,new rv(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){var e;let t=this._getContainer();null!==t&&!(null===(e=this._getTagDefinition(t))||void 0===e)&&e.isVoid&&this._containerStack.pop()}_consumeElementStartTag(e){var t;let r=[],n=[];this._consumeAttributesAndDirectives(r,n);let a=this._getElementFullName(e,this._getClosestElementLikeParent()),i=this._getTagDefinition(a),s=!1;if(this._peek.type===rB.TAG_OPEN_END_VOID){this._advance(),s=!0;let t=this._getTagDefinition(a);this.canSelfClose||t?.canSelfClose||null!==t0(a)||t?.isVoid||this.errors.push(r6.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===rB.TAG_OPEN_END&&(this._advance(),s=!1);let o=this._peek.sourceSpan.fullStart,l=new rv(e.sourceSpan.start,o,e.sourceSpan.fullStart),c=new rN(a,r,n,[],s,l,new rv(e.sourceSpan.start,o,e.sourceSpan.fullStart),void 0,new rv(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),i?.isVoid??!1),u=this._getContainer(),p=null!==u&&!!(!(null===(t=this._getTagDefinition(u))||void 0===t)&&t.isClosedByChild(c.name));this._pushContainer(c,p),s?this._popContainer(a,rN,l):e.type===rB.INCOMPLETE_TAG_OPEN&&(this._popContainer(a,rN,null),this.errors.push(r6.create(a,l,`Opening tag "${a}" not terminated.`)))}_consumeComponentStartTag(e){var t;let r=e.parts[0],n=[],a=[];this._consumeAttributesAndDirectives(n,a);let i=this._getClosestElementLikeParent(),s=this._getComponentTagName(e,i),o=this._getComponentFullName(e,i),l=this._peek.type===rB.COMPONENT_OPEN_END_VOID;this._advance();let c=this._peek.sourceSpan.fullStart,u=new rv(e.sourceSpan.start,c,e.sourceSpan.fullStart),p=new rO(r,s,o,n,a,[],l,u,new rv(e.sourceSpan.start,c,e.sourceSpan.fullStart),void 0),h=this._getContainer(),d=null!==h&&null!==p.tagName&&!!(!(null===(t=this._getTagDefinition(h))||void 0===t)&&t.isClosedByChild(p.tagName));this._pushContainer(p,d),l?this._popContainer(o,rO,u):e.type===rB.INCOMPLETE_COMPONENT_OPEN&&(this._popContainer(o,rO,null),this.errors.push(r6.create(o,u,`Opening tag "${o}" not terminated.`)))}_consumeAttributesAndDirectives(e,t){for(;this._peek.type===rB.ATTR_NAME||this._peek.type===rB.DIRECTIVE_NAME;)this._peek.type===rB.DIRECTIVE_NAME?t.push(this._consumeDirective(this._peek)):e.push(this._consumeAttr(this._advance()))}_consumeComponentEndTag(e){let t=this._getComponentFullName(e,this._getClosestElementLikeParent());if(!this._popContainer(t,rO,e.sourceSpan)){let r=this._containerStack[this._containerStack.length-1],n;n=r instanceof rO&&r.componentName===e.parts[0]?`, did you mean "${r.fullName}"?`:". It may happen when the tag has already been closed by another tag.";let a=`Unexpected closing tag "${t}"${n}`;this.errors.push(r6.create(t,e.sourceSpan,a))}}_getTagDefinition(e){return"string"==typeof e?this.tagDefinitionResolver(e):e instanceof rN?this.tagDefinitionResolver(e.name):e instanceof rO&&null!==e.tagName?this.tagDefinitionResolver(e.tagName):null}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeElementEndTag(e){var t;let r=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e,this._getClosestElementLikeParent());if(r&&!(null===(t=this._getTagDefinition(r))||void 0===t)&&t.isVoid)this.errors.push(r6.create(r,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(r,rN,e.sourceSpan)){let t=`Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(r6.create(r,e.sourceSpan,t))}}_popContainer(e,t,r){let n=!1;for(let i=this._containerStack.length-1;i>=0;i--){var a;let s=this._containerStack[i],o=s instanceof rO?s.fullName:s.name;if(t0(o)?o===e:(o===e||null===e)&&s instanceof t)return s.endSourceSpan=r,s.sourceSpan.end=null!==r?r.end:s.sourceSpan.end,this._containerStack.splice(i,this._containerStack.length-i),!n;(s instanceof rA||!(!(null===(a=this._getTagDefinition(s))||void 0===a)&&a.closedByParent))&&(n=!0)}return!1}_consumeAttr(e){let t=t1(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===rB.ATTR_QUOTE&&(n=this._advance());let a="",i=[],s,o;if(this._peek.type===rB.ATTR_VALUE_TEXT)for(s=this._peek.sourceSpan,o=this._peek.sourceSpan.end;this._peek.type===rB.ATTR_VALUE_TEXT||this._peek.type===rB.ATTR_VALUE_INTERPOLATION||this._peek.type===rB.ENCODED_ENTITY;){let e=this._advance();i.push(e),e.type===rB.ATTR_VALUE_INTERPOLATION?a+=e.parts.join("").replace(/&([^;]+);/g,ne):e.type===rB.ENCODED_ENTITY?a+=e.parts[0]:a+=e.parts.join(""),o=r=e.sourceSpan.end}this._peek.type===rB.ATTR_QUOTE&&(o=r=this._advance().sourceSpan.end);let l=s&&o&&new rv(n?.sourceSpan.start??s.start,o,n?.sourceSpan.fullStart??s.fullStart);return new ry(t,a,new rv(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,l,i.length>0?i:void 0,void 0)}_consumeDirective(e){let t=[],r=e.sourceSpan.end,n=null;if(this._advance(),this._peek.type===rB.DIRECTIVE_OPEN){for(r=this._peek.sourceSpan.end,this._advance();this._peek.type===rB.ATTR_NAME;)t.push(this._consumeAttr(this._advance()));this._peek.type===rB.DIRECTIVE_CLOSE?(n=this._peek.sourceSpan,this._advance()):this.errors.push(r6.create(null,e.sourceSpan,"Unterminated directive definition"))}let a=new rv(e.sourceSpan.start,r,e.sourceSpan.fullStart),i=new rv(a.start,null===n?e.sourceSpan.end:n.end,a.fullStart);return new rP(e.parts[0],t,i,a,n)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===rB.BLOCK_PARAMETER;){let e=this._advance();t.push(new rI(e.parts[0],e.sourceSpan))}this._peek.type===rB.BLOCK_OPEN_END&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new rv(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new rv(e.sourceSpan.start,r,e.sourceSpan.fullStart),i=new rA(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(i,!1)}_consumeBlockClose(e){this._popContainer(null,rA,e.sourceSpan)||this.errors.push(r6.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===rB.BLOCK_PARAMETER;){let e=this._advance();t.push(new rI(e.parts[0],e.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new rv(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new rv(e.sourceSpan.start,r,e.sourceSpan.fullStart),i=new rA(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(i,!1),this._popContainer(null,rA,null),this.errors.push(r6.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r;if(this._peek.type!==rB.LET_VALUE){this.errors.push(r6.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}if(r=this._advance(),this._peek.type!==rB.LET_END){this.errors.push(r6.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}let n=this._advance().sourceSpan.fullStart,a=new rv(e.sourceSpan.start,n,e.sourceSpan.fullStart),i=e.sourceSpan.toString().lastIndexOf(t),s=new rv(e.sourceSpan.start.moveBy(i),e.sourceSpan.end),o=new rD(t,r.parts[0],a,s,r.sourceSpan);this._addToParent(o)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let r=e.sourceSpan.toString().lastIndexOf(t),n=new rv(e.sourceSpan.start.moveBy(r),e.sourceSpan.end),a=new rv(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),i=new rD(t,"",e.sourceSpan,n,a);this._addToParent(i)}this.errors.push(r6.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestElementLikeParent(){for(let e=this._containerStack.length-1;e>-1;e--){let t=this._containerStack[e];if(t instanceof rN||t instanceof rO)return t}return null}_addToParent(e){let t=this._getContainer();null===t?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t){return t1(this._getPrefix(e,t),e.parts[1])}_getComponentFullName(e,t){let r=e.parts[0],n=this._getComponentTagName(e,t);return null===n?r:n.startsWith(":")?r+n:`${r}:${n}`}_getComponentTagName(e,t){let r=this._getPrefix(e,t),n=e.parts[2];return r||n?!r&&n?n:t1(r,n||"ng-component"):null}_getPrefix(e,t){var r;let n,a;if(e.type===rB.COMPONENT_OPEN_START||e.type===rB.INCOMPLETE_COMPONENT_OPEN||e.type===rB.COMPONENT_CLOSE?(n=e.parts[1],a=e.parts[2]):(n=e.parts[0],a=e.parts[1]),!(n=n||(null===(r=this._getTagDefinition(a))||void 0===r?void 0:r.implicitNamespacePrefix)||"")&&t){let e=t instanceof rN?t.name:t.tagName;if(null!==e){let t=tJ(e)[1],r=this._getTagDefinition(t);null===r||r.preventNamespaceInheritance||(n=t0(e))}}return n}};function r7(e,t){return e.length>0&&e[e.length-1]===t}function ne(e,t){return void 0!==rq[t]?rq[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}var nt=class extends r9{constructor(){super(rc)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},nr=null,nn=()=>(nr||(nr=new nt),nr);function na(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:i,tokenizeAngularBlocks:s=!1,tokenizeAngularLetDeclaration:o=!1,enableAngularSelectorlessSyntax:l=!1}=t;return nn().parse(e,"angular-html-parser",{tokenizeExpansionForms:s,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:s,tokenizeLet:o,selectorlessEnabled:l},a,i)}var ni=[function(e){e.walk(e=>{if("element"===e.kind&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].kind&&e.children[0].value[0]===`
|
|
22
|
+
`){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}})},function(e){let t=e=>"element"===e.kind&&e.prev?.kind==="ieConditionalStartComment"&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild?.kind==="ieConditionalEndComment"&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk(e=>{if(e.children)for(let r=0;r<e.children.length;r++){let n=e.children[r];if(!t(n))continue;let a=n.prev,i=n.firstChild;e.removeChild(a),r--;let s=new rv(a.sourceSpan.start,i.sourceSpan.end),o=new rv(s.start,n.sourceSpan.end);n.condition=a.condition,n.sourceSpan=o,n.startSourceSpan=s,n.removeChild(i)}})},function(e){return function(e,t,r){e.walk(e=>{if(e.children)for(let n=0;n<e.children.length;n++){let a=e.children[n];if("text"!==a.kind&&!t(a))continue;"text"!==a.kind&&(a.kind="text",a.value=r(a));let i=a.prev;!i||"text"!==i.kind||(i.value+=a.value,i.sourceSpan=new rv(i.sourceSpan.start,a.sourceSpan.end),e.removeChild(a),n--)}})}(e,e=>"cdata"===e.kind,e=>`<![CDATA[${e.value}]]>`)},function(e,t){if("html"===t.parser)return;let r=/\{\{(.+?)\}\}/su;e.walk(e=>{if(e.children&&!eR(e,t))for(let t of e.children){if("text"!==t.kind)continue;let n=t.sourceSpan.start,a=null,i=t.value.split(r);for(let r=0;r<i.length;r++,n=a){let s=i[r];if(r%2==0){a=n.moveBy(s.length),s.length>0&&e.insertChildBefore(t,{kind:"text",value:s,sourceSpan:new rv(n,a)});continue}a=n.moveBy(s.length+4),e.insertChildBefore(t,{kind:"interpolation",sourceSpan:new rv(n,a),children:0===s.length?[]:[{kind:"text",value:s,sourceSpan:new rv(n.moveBy(2),a.moveBy(-2))}]})}e.removeChild(t)}})},function(e,t){e.walk(e=>{let r=e.$children;if(!r)return;if(0===r.length||1===r.length&&"text"===r[0].kind&&0===en.trim(r[0].value).length){e.hasDanglingSpaces=r.length>0,e.$children=[];return}let n=eR(e,t)||"interpolation"===e.kind||eM(e),a=eM(e);if(!n)for(let t=0;t<r.length;t++){let n=r[t];if("text"!==n.kind)continue;let{leadingWhitespace:a,text:i,trailingWhitespace:s}=eO(n.value),o=n.prev,l=n.next;i?(n.value=i,n.sourceSpan=new rv(n.sourceSpan.start.moveBy(a.length),n.sourceSpan.end.moveBy(-s.length)),a&&(o&&(o.hasTrailingSpaces=!0),n.hasLeadingSpaces=!0),s&&(n.hasTrailingSpaces=!0,l&&(l.hasLeadingSpaces=!0))):(e.removeChild(n),t--,(a||s)&&(o&&(o.hasTrailingSpaces=!0),l&&(l.hasLeadingSpaces=!0)))}e.isWhitespaceSensitive=n,e.isIndentationSensitive=a})},function(e,t){e.walk(e=>{e.cssDisplay=function(e,t){if(eZ(e,t))return"block";if(e.prev?.kind==="comment"){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(t)return t[1]}let r=!1;if("element"===e.kind&&"svg"===e.namespace){if(!function(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}(e,e=>"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";r=!0}switch(t.htmlWhitespaceSensitivity){case"strict":break;case"ignore":return"block";default:if("element"===e.kind&&(!e.namespace||r||ex(e))&&Object.prototype.hasOwnProperty.call(ey,e.name))return ey[e.name]}return"inline"}(e,t)})},function(e){e.walk(e=>{e.isSelfClosing=!e.children||"element"===e.kind&&(e.tagDefinition.isVoid||e.endSourceSpan&&e.startSourceSpan.start===e.endSourceSpan.start&&e.startSourceSpan.end===e.endSourceSpan.end)})},function(e,t){e.walk(e=>{"element"===e.kind&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))})},function(e,t){e.walk(e=>{let{children:r}=e;if(r){var n,a;if(0===r.length){e.isDanglingSpaceSensitive=!ej(n=e.cssDisplay)&&"inline-block"!==n&&!eR(e,t);return}for(let e of r)e.isLeadingSpaceSensitive=function(e,t){let r=function(){var r;return!eb(e)&&"angularControlFlowBlock"!==e.kind&&(("text"===e.kind||"interpolation"===e.kind)&&!!e.prev&&("text"===e.prev.kind||"interpolation"===e.prev.kind)||!!e.parent&&"none"!==e.parent.cssDisplay&&(!!eX(e.parent)||!(!e.prev&&("root"===e.parent.kind||eX(e)&&e.parent||eR(e.parent,t)||eQ(e.parent,t)||!(!ej(r=e.parent.cssDisplay)&&"inline-block"!==r))||e.prev&&ej(e.prev.cssDisplay))))}();return r&&!e.prev&&e.parent?.tagDefinition?.ignoreFirstLf?"interpolation"===e.kind:r}(e,t),e.isTrailingSpaceSensitive=!eb(e)&&"angularControlFlowBlock"!==e.kind&&(("text"===e.kind||"interpolation"===e.kind)&&!!e.next&&("text"===e.next.kind||"interpolation"===e.next.kind)||!!e.parent&&"none"!==e.parent.cssDisplay&&(!!eX(e.parent)||!(!e.next&&("root"===e.parent.kind||eX(e)&&e.parent||eR(e.parent,t)||eQ(e.parent,t)||!(!ej(a=e.parent.cssDisplay)&&"inline-block"!==a))||e.next&&ej(e.next.cssDisplay))));for(let e=0;e<r.length;e++){let t=r[e];t.isLeadingSpaceSensitive=(0===e||t.prev.isTrailingSpaceSensitive)&&t.isLeadingSpaceSensitive,t.isTrailingSpaceSensitive=(e===r.length-1||t.next.isLeadingSpaceSensitive)&&t.isTrailingSpaceSensitive}}})},function(e){let t=e=>"element"===e.kind&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.kind&&!en.hasWhitespaceCharacter(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev?.kind==="text"&&e.next?.kind==="text";e.walk(e=>{if(e.children)for(let r=0;r<e.children.length;r++){let n=e.children[r];if(!t(n))continue;let a=n.prev,i=n.next;a.value+=`<${n.rawName}>`+n.firstChild.value+`</${n.rawName}>`+i.value,a.sourceSpan=new rv(a.sourceSpan.start,i.sourceSpan.end),a.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,a.hasTrailingSpaces=i.hasTrailingSpaces,e.removeChild(n),r--,e.removeChild(i)}})}],ns=[{name:"Angular",type:"markup",aceMode:"html",extensions:[".component.html"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["angular"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"HTML",type:"markup",aceMode:"html",extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["html"],vscodeLanguageIds:["html"],linguistLanguageId:146},{name:"Lightning Web Components",type:"markup",aceMode:"html",extensions:[],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"MJML",type:"markup",aceMode:"html",extensions:[".mjml"],tmScope:"text.mjml.basic",aliases:["MJML","mjml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["mjml"],filenames:[],vscodeLanguageIds:["mjml"],linguistLanguageId:146},{name:"Vue",type:"markup",aceMode:"vue",extensions:[".vue"],tmScope:"source.vue",codemirrorMode:"vue",codemirrorMimeType:"text/x-vue",parsers:["vue"],vscodeLanguageIds:["vue"],linguistLanguageId:391}],no="HTML",nl={bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},htmlWhitespaceSensitivity:{category:no,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."},vueIndentScriptAndStyle:{category:no,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},nc={};c(nc,{angular:()=>nR,html:()=>nP,lwc:()=>nq,mjml:()=>nD,vue:()=>nM});var nu={canSelfClose:!0,normalizeTagName:!1,normalizeAttributeName:!1,allowHtmComponentClosingTags:!1,isTagNameCaseSensitive:!1,shouldParseFrontMatter:!0};function np(e){let{canSelfClose:t,allowHtmComponentClosingTags:r,isTagNameCaseSensitive:n,shouldParseAsRawText:a,tokenizeAngularBlocks:i,tokenizeAngularLetDeclaration:s}=e;return{canSelfClose:t,allowHtmComponentClosingTags:r,isTagNameCaseSensitive:n,getTagContentType:a?(...e)=>a(...e)?tY.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:i,tokenizeAngularLetDeclaration:s}}var nh,nd,nm,ng,nf,n_,nv=new Map([["*",new Set(["accesskey","autocapitalize","autocorrect","autofocus","class","contenteditable","dir","draggable","enterkeyhint","exportparts","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["command","commandfor","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["closedby","open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alpha","alt","autocomplete","checked","colorspace","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootmode","shadowrootserializable"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),nS=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","em","embed","fencedframe","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","selectedcontent","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),nT={attrs:!0,children:!0,cases:!0,expression:!0},nE=new Set(["parent"]),nk=class e{constructor(e={}){for(let t of(d(this,ng),u(this,"kind"),u(this,"parent"),new Set([...nE,...Object.keys(e)])))this.setProperty(t,e[t]);if(eb(e))for(let t of Object.getOwnPropertySymbols(e))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in nT&&(t=t.map(e=>this.createChild(e))),!nE.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in nT){let a=this[n];if(a){let i=function(e,t){let r=e.map(t);return r.some((t,r)=>t!==e[r])?r:e}(a,e=>e.map(t));r!==a&&(r||(r=new e({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let e in this)e in nT||(r[e]=this[e]);return t(r||this)}walk(e){for(let t in nT){let r=this[t];if(r)for(let t=0;t<r.length;t++)r[t].walk(e)}e(this)}createChild(t){let r=t instanceof e?t.clone():new e(t);return r.setProperty("parent",this),r}insertChildBefore(e,t){let r=this.$children;r.splice(r.indexOf(e),0,this.createChild(t))}removeChild(e){let t=this.$children;t.splice(t.indexOf(e),1)}replaceChild(e,t){let r=this.$children;r[r.indexOf(e)]=this.createChild(t)}clone(){return new e(this)}get $children(){return this[h(this,ng,nf)]}set $children(e){this[h(this,ng,nf)]=e}get firstChild(){return this.$children?.[0]}get lastChild(){return S(1,this.$children,-1)}get prev(){let e=h(this,ng,n_);return e[e.indexOf(this)-1]}get next(){let e=h(this,ng,n_);return e[e.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(e=>[e.fullName,e.value]))}};ng=new WeakSet,nf=function(){return"angularIcuCase"===this.kind?"expression":"angularIcuExpression"===this.kind?"cases":"children"},n_=function(){return this.parent?.$children??[]};var nC=[{regex:/^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/su,parse:function(e,t,r){let{openingTagSuffix:n,condition:a,data:i}=t.groups,s=4+n.length,o=e.sourceSpan.start.moveBy(s),l=o.moveBy(i.length),[c,u]=(()=>{try{return[!0,r(i,o).children]}catch{return[!1,[{kind:"text",value:i,sourceSpan:new rv(o,l)}]]}})();return{kind:"ieConditionalComment",complete:c,children:u,condition:_(0,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new rv(e.sourceSpan.start,o),endSourceSpan:new rv(l,e.sourceSpan.end)}}},{regex:/^\[if(?<condition>[^\]]*)\]><!$/u,parse:function(e,t){let{condition:r}=t.groups;return{kind:"ieConditionalStartComment",condition:_(0,r.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}},{regex:/^<!\s*\[endif\]$/u,parse:function(e){return{kind:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}}],nb=class extends rM{visitExpansionCase(e,t){"angular"===t.parseOptions.name&&this.visitChildren(t,t=>{t(e.expression)})}visit(e,{parseOptions:t}){(function(e){switch(e.kind){case"element":for(let t of(ny(e),e.attrs))ny(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/u.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case"comment":e.value=e.sourceSpan.toString().slice(4,-3);break;case"text":e.value=e.sourceSpan.toString()}})(e),function(e,t){if("element"===e.kind){let r=rc(t.isTagNameCaseSensitive?e.name:e.name.toLowerCase());!e.namespace||e.namespace===r.implicitNamespacePrefix||ex(e)?e.tagDefinition=r:e.tagDefinition=rc("")}}(e,t),function(e,t){if("element"===e.kind&&(t.normalizeTagName&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||ex(e))&&(e.name=nw(e.name,e=>nS.has(e))),t.normalizeAttributeName))for(let t of e.attrs)t.namespace||(t.name=nw(t.name,t=>nv.has(e.name)&&(nv.get("*").has(t)||nv.get(e.name).has(t))))}(e,t),e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new rv(e.sourceSpan.start,e.endSourceSpan.end))}};function nw(e,t){let r=e.toLowerCase();return t(r)?r:e}function ny(e){let t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan.toString(),n=null!==t&&r.startsWith(`${t}:`),a=n?r.slice(t.length+1):r;e.name=a,e.namespace=t,e.hasExplicitNamespace=n}function nN(e,t){let{rootNodes:r,errors:n}=na(e,np(t));return n.length>0&&nL(n[0]),{parseOptions:t,rootNodes:r}}function nx(e,t){let r=np(t),{rootNodes:n,errors:a}=na(e,r);if(n.some(e=>"docType"===e.kind&&"html"===e.value||"element"===e.kind&&"html"===e.name.toLowerCase()))return nN(e,nA);let i,s=()=>i??(i=na(e,{...r,getTagContentType:void 0})),o=e=>{let{offset:t}=e.startSourceSpan.start;return s().rootNodes.find(e=>"element"===e.kind&&e.startSourceSpan.start.offset===t)??e};for(let[e,t]of n.entries())if("element"===t.kind){if(t.isVoid)a=s().errors,n[e]=o(t);else if(function(e){if("element"!==e.kind||"template"!==e.name)return!1;let t=e.attrs.find(e=>"lang"===e.name)?.value;return!t||"html"===t}(t)){let{endSourceSpan:r,startSourceSpan:a}=t,i=s().errors.find(e=>e.span.start.offset>a.start.offset&&e.span.start.offset<r.end.offset);i&&nL(i),n[e]=o(t)}}return a.length>0&&nL(a[0]),{parseOptions:t,rootNodes:n}}function nL(e){var t;let{msg:r,span:{start:n,end:a}}=e;throw Object.assign(SyntaxError(r+" ("+(t={loc:{start:{line:n.line+1,column:n.col+1},end:{line:a.line+1,column:a.col+1}},cause:e}).loc.start.line+":"+t.loc.start.column+")"),t)}var nA=(i={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},{...nu,...i});function nO(e){let t={...nu,...e},r="vue"===t.name?nx:nN;return{parse:(e,n)=>(function e(t,r,n,a={}){var i,s;let o,{frontMatter:l,content:c}=n.shouldParseFrontMatter?ew(t):{content:t},u=new r_(t,a.filepath),p=new rf(u,0,0,0),h=p.moveBy(t.length),{parseOptions:d,rootNodes:m}=r(c,n),g={kind:"root",sourceSpan:new rv(p,h),children:m},f;if(l){let[e,t]=[l.start,l.end].map(e=>new rf(u,e.index,e.line-1,e.column));f={...l,kind:"frontMatter",sourceSpan:new rv(e,t)}}return i=f,s=(n,i)=>(function(t,r,n,a,i,s){let{offset:o}=a,l=e(_(0,r.slice(0,o),/[^\n]/gu," ")+n,t,{...i,shouldParseFrontMatter:!1},s);l.sourceSpan=new rv(a,S(0,l.children,-1).sourceSpan.end);let c=l.children[0];return c.length===o?l.children.shift():(c.sourceSpan=new rv(c.sourceSpan.start.moveBy(o),c.sourceSpan.end),c.value=c.value.slice(o)),l})(r,t,n,i,d,a),rR(new nb,g.children,{parseOptions:d}),i&&g.children.unshift(i),(o=new nk(g)).walk(e=>{if("comment"===e.kind){let t=function(e,t){if(e.value)for(let{regex:r,parse:n}of nC){let a=e.value.match(r);if(a)return n(e,a,t)}return null}(e,s);t&&e.parent.replaceChild(e,t)}(function(e){if("block"===e.kind){if(e.name=_(0,e.name.toLowerCase(),/\s+/gu," ").trim(),e.kind="angularControlFlowBlock",!ev(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.kind="angularControlFlowBlockParameter";e.parameters={kind:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new rv(e.parameters[0].sourceSpan.start,S(0,e.parameters,-1).sourceSpan.end)}}})(e),"letDeclaration"===e.kind&&(e.kind="angularLetDeclaration",e.id=e.name,e.init={kind:"angularLetDeclarationInitializer",sourceSpan:new rv(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value),"expansion"===e.kind&&(e.kind="angularIcuExpression"),"expansionCase"===e.kind&&(e.kind="angularIcuCase")}),o})(e,r,t,n),hasPragma:tW,hasIgnorePragma:tz,astFormat:"html",locStart:tf,locEnd:t_}}var nP=nO(nA),nI=new Set(["mj-style","mj-raw"]),nD=nO({...nA,name:"mjml",shouldParseAsRawText:e=>nI.has(e)}),nR=nO({name:"angular",tokenizeAngularBlocks:!0,tokenizeAngularLetDeclaration:!0}),nM=nO({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText:(e,t,r,n)=>"html"!==e.toLowerCase()&&!r&&("template"!==e||n.some(({name:e,value:t})=>"lang"===e&&"html"!==t&&""!==t&&void 0!==t))}),nq=nO({name:"lwc",canSelfClose:!1}),nB={html:{features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:function(e,t){for(let r of ni)r(e,t);return e},print:function(e,t,r){let{node:n}=e;switch(n.kind){case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[$(tG(e,t,r)),Y];case"element":case"ieConditionalComment":return function(e,t,r){var n,a,i;let s;let{node:o}=e;if(eP(o,t))return[tO(o,t),$(tL(e,t,r)),F(tR(o,t)),...tv(o,t),tT(o,t)];let l=1===o.children.length&&("interpolation"===o.firstChild.kind||"angularIcuExpression"===o.firstChild.kind)&&o.firstChild.isLeadingSpaceSensitive&&!o.firstChild.hasLeadingSpaces&&o.lastChild.isTrailingSpaceSensitive&&!o.lastChild.hasTrailingSpaces,c=Symbol("element-attr-group-id");return s=0===o.children.length?o.hasDanglingSpaces&&o.isDanglingSpaceSensitive?G:"":[eB(o)||"element"===o.kind&&o.children.length>0&&(["body","script","style"].includes(o.name)||o.children.some(e=>e.children?.some(e=>"text"!==e.kind)))||o.firstChild&&o.firstChild===o.lastChild&&"text"!==o.firstChild.kind&&eV(o.firstChild)&&(!o.lastChild.isTrailingSpaceSensitive||eF(o.lastChild))?W:"",(a=[l?j(K,"",{groupId:c}):o.firstChild.hasLeadingSpaces&&o.firstChild.isLeadingSpaceSensitive?G:"text"===o.firstChild.kind&&o.isWhitespaceSensitive&&o.isIndentationSensitive?(T(n=Number.NEGATIVE_INFINITY),T(K),{type:w,contents:K,n:n}):K,tG(e,t,r)],l?(i={groupId:c},T(a),{type:A,contents:a,groupId:i.groupId,negate:i.negate}):(eR(o,t)||eQ(o,t))&&"root"===o.parent.kind&&"vue"===t.parser&&!t.vueIndentScriptAndStyle?a:U(a)),(o.next?tb(o.next):tw(o.parent))?o.lastChild.hasTrailingSpaces&&o.lastChild.isTrailingSpaceSensitive?" ":"":l?j(K,"",{groupId:c}):o.lastChild.hasTrailingSpaces&&o.lastChild.isTrailingSpaceSensitive?G:("comment"===o.lastChild.kind||"text"===o.lastChild.kind&&o.isWhitespaceSensitive&&o.isIndentationSensitive)&&RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(o.lastChild.value)?"":K],$([$(tL(e,t,r),{id:c}),s,tv(o,t)])}(e,t,r);case"angularControlFlowBlock":return function(e,t,r){let{node:n}=e,a=[];(function(e){let{previous:t}=e;return t?.kind==="angularControlFlowBlock"&&!eI(t)&&!tK(t)})(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",$(r("parameters")),")"),a.push(" {");let i=tK(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(U([Y,tG(e,t,r)])),i&&a.push(Y,"}")):i&&a.push("}"),$(a,{shouldBreak:!0})}(e,t,r);case"angularControlFlowBlockParameters":return[U([K,X([";",G],e.map(r,"children"))]),K];case"angularControlFlowBlockParameter":return en.trim(n.expression);case"angularLetDeclaration":return $(["@let ",$([n.id," =",$(U([G,r("init")]))]),";"]);case"angularLetDeclarationInitializer":return n.value;case"angularIcuExpression":return function(e,t,r){let{node:n}=e;return[tA(n,t),$([n.switchValue.trim(),", ",n.type,n.cases.length>0?[",",U([G,X(G,e.map(r,"cases"))])]:"",K]),tS(n,t)]}(e,t,r);case"angularIcuCase":return function(e,t,r){let{node:n}=e;return[n.value," {",$([U([K,e.map(({node:e,isLast:t})=>{let n=[r()];return"text"===e.kind&&(e.hasLeadingSpaces&&n.unshift(G),e.hasTrailingSpaces&&!t&&n.push(G)),n},"expression")]),K]),"}"]}(e,0,r);case"ieConditionalStartComment":case"ieConditionalEndComment":return[tA(n),tS(n)];case"interpolation":return[tA(n,t),...e.map(r,"children"),tS(n,t)];case"text":{if("interpolation"===n.parent.kind){let e=/\n[^\S\n]*$/u,t=e.test(n.value);return[F(t?n.value.replace(e,""):n.value),t?Y:""]}let e=tO(n,t),r=e1(n),a=tT(n,t);return r[0]=[e,r[0]],r.push([r.pop(),a]),z(r)}case"docType":return[$([tA(n,t)," ",_(0,n.value.replace(/^html\b/iu,"html"),/\s+/gu," ")]),tS(n,t)];case"comment":return[tO(n,t),F(t.originalText.slice(tf(n),t_(n))),tT(n,t)];case"attribute":{if(null===n.value)return n.rawName;let e=eK(n.value),r=e4(n,t)?"":er(e,'"');return[n.rawName,"=",r,F('"'===r?_(0,e,'"',"""):_(0,e,"'","'")),r]}default:throw new ea(n,"HTML")}},insertPragma:e=>`<!-- @format -->
|
|
23
|
+
|
|
24
|
+
${e}`,massageAstNode:eo,embed:function(e,t){let{node:r}=e;switch(r.kind){case"element":if(eR(r,t)||"interpolation"===r.kind)return;if(!r.isSelfClosing&&e0(r,t)){let n=e$(r,t);return n?async(a,i)=>{let s=tR(r,t),o=/^\s*$/u.test(s),l="";return o||(o=""===(l=await a(eA(s),{parser:n,__embeddedInHtml:!0}))),[tO(r,t),$(tL(e,t,i)),o?"":Y,l,o?"":Y,tv(r,t),tT(r,t)]}:void 0}break;case"text":if(eR(r.parent,t)){let e=e$(r.parent,t);if(e)return async n=>{let a="markdown"===e?en.dedentString(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,i={parser:e,__embeddedInHtml:!0};if("html"===t.parser&&"babel"===e){let e="script",{attrMap:t}=r.parent;t&&("module"===t.type||("text/babel"===t.type||"text/jsx"===t.type)&&"module"===t["data-type"])&&(e="module"),i.__babelSourceType=e}return[W,tO(r,t),await n(a,i),tT(r,t)]}}else if("interpolation"===r.parent.kind)return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===t.parser?a.parser="__ng_interpolation":"vue"===t.parser?a.parser=th(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[U([G,await n(r.value,a)]),r.parent.next&&tb(r.parent.next)?" ":G]};break;case"attribute":return tg(e,t);case"angularControlFlowBlockParameters":return tM.has(e.parent.name)?ep:void 0;case"angularLetDeclarationInitializer":return e=>eu(r.value,e,{parser:"__ng_binding",__isInHtmlAttribute:!1})}},getVisitorKeys:tV}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1117],{79205:function(e,n,t){t.d(n,{Z:function(){return a}});var r=t(2265);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter((e,n,t)=>!!e&&t.indexOf(e)===n).join(" ")};var u={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,r.forwardRef)((e,n)=>{let{color:t="currentColor",size:o=24,strokeWidth:l=2,absoluteStrokeWidth:a,className:c="",children:s,iconNode:f,...d}=e;return(0,r.createElement)("svg",{ref:n,...u,width:o,height:o,stroke:t,strokeWidth:a?24*Number(l)/Number(o):l,className:i("lucide",c),...d},[...f.map(e=>{let[n,t]=e;return(0,r.createElement)(n,t)}),...Array.isArray(s)?s:[s]])}),a=(e,n)=>{let t=(0,r.forwardRef)((t,u)=>{let{className:a,...c}=t;return(0,r.createElement)(l,{ref:u,iconNode:n,className:i("lucide-".concat(o(e)),a),...c})});return t.displayName="".concat(e),t}},32660:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(79205).Z)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},41671:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(79205).Z)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},99388:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(79205).Z)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},91723:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(79205).Z)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},51817:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(79205).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},76865:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(79205).Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},99376:function(e,n,t){var r=t(35475);t.o(r,"usePathname")&&t.d(n,{usePathname:function(){return r.usePathname}}),t.o(r,"useRouter")&&t.d(n,{useRouter:function(){return r.useRouter}}),t.o(r,"useSearchParams")&&t.d(n,{useSearchParams:function(){return r.useSearchParams}})},62484:function(e,n,t){t.d(n,{u:function(){return r}});function r(e,[n,t]){return Math.min(t,Math.max(n,e))}},6741:function(e,n,t){function r(e,n,{checkForDefaultPrevented:t=!0}={}){return function(r){if(e?.(r),!1===t||!r.defaultPrevented)return n?.(r)}}t.d(n,{Mj:function(){return r}}),"undefined"!=typeof window&&window.document&&window.document.createElement},98575:function(e,n,t){t.d(n,{F:function(){return i},e:function(){return u}});var r=t(2265);function o(e,n){if("function"==typeof e)return e(n);null!=e&&(e.current=n)}function i(...e){return n=>{let t=!1,r=e.map(e=>{let r=o(e,n);return t||"function"!=typeof r||(t=!0),r});if(t)return()=>{for(let n=0;n<r.length;n++){let t=r[n];"function"==typeof t?t():o(e[n],null)}}}}function u(...e){return r.useCallback(i(...e),e)}},73966:function(e,n,t){t.d(n,{b:function(){return u},k:function(){return i}});var r=t(2265),o=t(57437);function i(e,n){let t=r.createContext(n),i=e=>{let{children:n,...i}=e,u=r.useMemo(()=>i,Object.values(i));return(0,o.jsx)(t.Provider,{value:u,children:n})};return i.displayName=e+"Provider",[i,function(o){let i=r.useContext(t);if(i)return i;if(void 0!==n)return n;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function u(e,n=[]){let t=[],i=()=>{let n=t.map(e=>r.createContext(e));return function(t){let o=t?.[e]||n;return r.useMemo(()=>({[`__scope${e}`]:{...t,[e]:o}}),[t,o])}};return i.scopeName=e,[function(n,i){let u=r.createContext(i),l=t.length;t=[...t,i];let a=n=>{let{scope:t,children:i,...a}=n,c=t?.[e]?.[l]||u,s=r.useMemo(()=>a,Object.values(a));return(0,o.jsx)(c.Provider,{value:s,children:i})};return a.displayName=n+"Provider",[a,function(t,o){let a=o?.[e]?.[l]||u,c=r.useContext(a);if(c)return c;if(void 0!==i)return i;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=t.reduce((n,{useScope:t,scopeName:r})=>{let o=t(e)[`__scope${r}`];return{...n,...o}},{});return r.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return t.scopeName=n.scopeName,t}(i,...n)]}},29114:function(e,n,t){t.d(n,{gm:function(){return i}});var r=t(2265);t(57437);var o=r.createContext(void 0);function i(e){let n=r.useContext(o);return e||n||"ltr"}},71599:function(e,n,t){t.d(n,{z:function(){return u}});var r=t(2265),o=t(98575),i=t(61188),u=e=>{var n,t;let u,a;let{present:c,children:s}=e,f=function(e){var n,t;let[o,u]=r.useState(),a=r.useRef(null),c=r.useRef(e),s=r.useRef("none"),[f,d]=(n=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},n));return r.useEffect(()=>{let e=l(a.current);s.current="mounted"===f?e:"none"},[f]),(0,i.b)(()=>{let n=a.current,t=c.current;if(t!==e){let r=s.current,o=l(n);e?d("MOUNT"):"none"===o||(null==n?void 0:n.display)==="none"?d("UNMOUNT"):t&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),c.current=e}},[e,d]),(0,i.b)(()=>{if(o){var e;let n;let t=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(a.current).includes(CSS.escape(e.animationName));if(e.target===o&&r&&(d("ANIMATION_END"),!c.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",n=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(s.current=l(a.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{t.clearTimeout(n),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:r.useCallback(e=>{a.current=e?getComputedStyle(e):null,u(e)},[])}}(c),d="function"==typeof s?s({present:f.isPresent}):r.Children.only(s),p=(0,o.e)(f.ref,(u=null===(n=Object.getOwnPropertyDescriptor(d.props,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in u&&u.isReactWarning?d.ref:(u=null===(t=Object.getOwnPropertyDescriptor(d,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in u&&u.isReactWarning?d.props.ref:d.props.ref||d.ref);return"function"==typeof s||f.isPresent?r.cloneElement(d,{ref:p}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}u.displayName="Presence"},82912:function(e,n,t){t.d(n,{WV:function(){return c},jH:function(){return s}});var r=t(2265),o=t(54887),i=t(98575),u=t(57437),l=Symbol("radix.slottable");function a(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}var c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let t=function(e){let n=function(e){let n=r.forwardRef((e,n)=>{let{children:t,...o}=e;if(r.isValidElement(t)){let e,u;let l=(e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.props.ref:t.props.ref||t.ref,a=function(e,n){let t={...n};for(let r in n){let o=e[r],i=n[r];/^on[A-Z]/.test(r)?o&&i?t[r]=(...e)=>{let n=i(...e);return o(...e),n}:o&&(t[r]=o):"style"===r?t[r]={...o,...i}:"className"===r&&(t[r]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props);return t.type!==r.Fragment&&(a.ref=n?(0,i.F)(n,l):l),r.cloneElement(t,a)}return r.Children.count(t)>1?r.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}(e),t=r.forwardRef((e,t)=>{let{children:o,...i}=e,l=r.Children.toArray(o),c=l.find(a);if(c){let e=c.props.children,o=l.map(n=>n!==c?n:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,u.jsx)(n,{...i,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,u.jsx)(n,{...i,ref:t,children:o})});return t.displayName=`${e}.Slot`,t}(`Primitive.${n}`),o=r.forwardRef((e,r)=>{let{asChild:o,...i}=e,l=o?t:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(l,{...i,ref:r})});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{});function s(e,n){e&&o.flushSync(()=>e.dispatchEvent(n))}},37053:function(e,n,t){t.d(n,{Z8:function(){return s},g7:function(){return f}});var r,o=t(2265),i=t(98575),u=t(57437),l=Symbol.for("react.lazy"),a=(r||(r=t.t(o,2)))[" use ".trim().toString()];function c(e){var n;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===l&&"_payload"in e&&"object"==typeof(n=e._payload)&&null!==n&&"then"in n}function s(e){let n=function(e){let n=o.forwardRef((e,n)=>{let{children:t,...r}=e;if(c(t)&&"function"==typeof a&&(t=a(t._payload)),o.isValidElement(t)){var u;let e,l;let a=(u=t,(e=Object.getOwnPropertyDescriptor(u.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?u.ref:(e=Object.getOwnPropertyDescriptor(u,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?u.props.ref:u.props.ref||u.ref),c=function(e,n){let t={...n};for(let r in n){let o=e[r],i=n[r];/^on[A-Z]/.test(r)?o&&i?t[r]=(...e)=>{let n=i(...e);return o(...e),n}:o&&(t[r]=o):"style"===r?t[r]={...o,...i}:"className"===r&&(t[r]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(r,t.props);return t.type!==o.Fragment&&(c.ref=n?(0,i.F)(n,a):a),o.cloneElement(t,c)}return o.Children.count(t)>1?o.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}(e),t=o.forwardRef((e,t)=>{let{children:r,...i}=e;c(r)&&"function"==typeof a&&(r=a(r._payload));let l=o.Children.toArray(r),s=l.find(p);if(s){let e=s.props.children,r=l.map(n=>n!==s?n:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,u.jsx)(n,{...i,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,r):null})}return(0,u.jsx)(n,{...i,ref:t,children:r})});return t.displayName=`${e}.Slot`,t}var f=s("Slot"),d=Symbol("radix.slottable");function p(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}},26606:function(e,n,t){t.d(n,{W:function(){return o}});var r=t(2265);function o(e){let n=r.useRef(e);return r.useEffect(()=>{n.current=e}),r.useMemo(()=>(...e)=>n.current?.(...e),[])}},61188:function(e,n,t){t.d(n,{b:function(){return o}});var r=t(2265),o=globalThis?.document?r.useLayoutEffect:()=>{}},90535:function(e,n,t){t.d(n,{j:function(){return u}});var r=t(61994);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=r.W,u=(e,n)=>t=>{var r;if((null==n?void 0:n.variants)==null)return i(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:u,defaultVariants:l}=n,a=Object.keys(u).map(e=>{let n=null==t?void 0:t[e],r=null==l?void 0:l[e];if(null===n)return null;let i=o(n)||o(r);return u[e][i]}),c=t&&Object.entries(t).reduce((e,n)=>{let[t,r]=n;return void 0===r||(e[t]=r),e},{});return i(e,a,null==n?void 0:null===(r=n.compoundVariants)||void 0===r?void 0:r.reduce((e,n)=>{let{class:t,className:r,...o}=n;return Object.entries(o).every(e=>{let[n,t]=e;return Array.isArray(t)?t.includes({...l,...c}[n]):({...l,...c})[n]===t})?[...e,t,r]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}}}]);
|