@vc-shell/framework 1.1.99-alpha.1 → 1.2.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/core/api/platform.ts +9883 -9883
- package/core/composables/useDynamicProperties/index.ts +16 -10
- package/core/composables/useNotifications/index.ts +1 -32
- package/core/composables/useSettings/index.ts +3 -8
- package/core/composables/useUser/index.ts +171 -74
- package/core/composables/useUserManagement/index.ts +25 -67
- package/core/interceptors/index.ts +56 -19
- package/core/plugins/signalR/index.ts +1 -27
- package/core/types/index.ts +0 -2
- package/dist/core/api/platform.d.ts +1 -1
- package/dist/core/api/platform.d.ts.map +1 -1
- package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/composables/useSettings/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +9 -18
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/composables/useUserManagement/index.d.ts +7 -7
- package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
- package/dist/core/interceptors/index.d.ts +1 -2
- package/dist/core/interceptors/index.d.ts.map +1 -1
- package/dist/core/plugins/signalR/index.d.ts +0 -2
- package/dist/core/plugins/signalR/index.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +1 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/injection-keys.d.ts +1 -2
- package/dist/injection-keys.d.ts.map +1 -1
- package/dist/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts.map +1 -1
- package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +10 -10
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/sign-in/useExternalProvider.d.ts +1 -1
- package/dist/shared/components/sign-in/useExternalProvider.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/index.d.ts +1 -0
- package/dist/ui/components/molecules/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts +34 -0
- package/dist/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-accordion/index.d.ts +7 -0
- package/dist/ui/components/molecules/vc-accordion/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts +42 -0
- package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.backupsb.d.ts +3 -3
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +5 -5
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +1 -1
- package/package.json +5 -7
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +2 -2
- package/shared/components/app-switcher/composables/useAppSwitcher/index.ts +1 -15
- package/shared/components/sign-in/useExternalProvider.ts +1 -11
- package/shared/modules/dynamic/helpers/nodeBuilder.ts +3 -11
- package/ui/components/atoms/vc-badge/vc-badge.stories.ts +1 -1
- package/ui/components/atoms/vc-button/vc-button.stories.ts +1 -1
- package/ui/components/atoms/vc-card/vc-card.stories.ts +1 -1
- package/ui/components/atoms/vc-col/vc-col.stories.ts +1 -1
- package/ui/components/atoms/vc-container/vc-container.stories.ts +1 -1
- package/ui/components/atoms/vc-hint/vc-hint.stories.ts +1 -1
- package/ui/components/atoms/vc-icon/vc-icon.stories.ts +1 -1
- package/ui/components/atoms/vc-image/vc-image.stories.ts +1 -1
- package/ui/components/atoms/vc-label/vc-label.stories.ts +1 -1
- package/ui/components/atoms/vc-link/vc-link.stories.ts +1 -1
- package/ui/components/atoms/vc-progress/vc-progress.stories.ts +1 -1
- package/ui/components/atoms/vc-row/vc-row.stories.ts +1 -1
- package/ui/components/atoms/vc-skeleton/vc-skeleton.stories.ts +1 -1
- package/ui/components/atoms/vc-status/vc-status.stories.ts +1 -1
- package/ui/components/atoms/vc-status-icon/vc-status-icon.stories.ts +1 -1
- package/ui/components/atoms/vc-tooltip/vc-tooltip.stories.ts +1 -1
- package/ui/components/atoms/vc-video/vc-video.stories.ts +1 -1
- package/ui/components/atoms/vc-widget/vc-widget.stories.ts +1 -1
- package/ui/components/molecules/index.ts +1 -0
- package/ui/components/molecules/vc-accordion/_internal/vc-accordion-item/vc-accordion-item.vue +251 -0
- package/ui/components/molecules/vc-accordion/index.ts +11 -0
- package/ui/components/molecules/vc-accordion/vc-accordion.stories.ts +526 -0
- package/ui/components/molecules/vc-accordion/vc-accordion.vue +176 -0
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts +1 -1
- package/ui/components/molecules/vc-checkbox/vc-checkbox.stories.ts +1 -1
- package/ui/components/molecules/vc-editor/vc-editor.stories.ts +1 -1
- package/ui/components/molecules/vc-field/vc-field.stories.ts +1 -1
- package/ui/components/molecules/vc-file-upload/vc-file-upload.stories.ts +1 -1
- package/ui/components/molecules/vc-form/vc-form.stories.ts +1 -1
- package/ui/components/molecules/vc-input/vc-input.stories.ts +1 -1
- package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +1 -1
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.stories.ts +1 -1
- package/ui/components/molecules/vc-multivalue/vc-multivalue.stories.ts +1 -1
- package/ui/components/molecules/vc-pagination/vc-pagination.stories.ts +1 -1
- package/ui/components/molecules/vc-radio-button/vc-radio-button.stories.ts +1 -1
- package/ui/components/molecules/vc-rating/vc-rating.stories.ts +1 -1
- package/ui/components/molecules/vc-select/vc-select.stories.ts +1 -1
- package/ui/components/molecules/vc-slider/vc-slider.stories.ts +1 -1
- package/ui/components/molecules/vc-switch/vc-switch.stories.ts +1 -1
- package/ui/components/molecules/vc-textarea/vc-textarea.stories.ts +1 -1
- package/ui/components/molecules/vc-toast/vc-toast.stories.ts +1 -1
- package/ui/components/organisms/vc-app/vc-app.vue +2 -20
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +4 -0
- package/ui/components/organisms/vc-gallery/vc-gallery.stories.ts +1 -1
- package/ui/components/organisms/vc-popup/vc-popup.stories.ts +1 -1
- package/core/providers/README.md +0 -176
- package/core/providers/auth-provider-manager.ts +0 -74
- package/core/providers/auth-provider-utils.ts +0 -26
- package/core/providers/example-custom-auth-provider.ts +0 -162
- package/core/providers/index.ts +0 -3
- package/core/providers/platform-auth-provider.ts +0 -207
- package/core/types/auth-provider.ts +0 -40
- package/dist/assets/042c75b764bc78a7.svg +0 -1
- package/dist/assets/0ba156439a339f2a.svg +0 -1
- package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
- package/dist/assets/0f590f8a94577092.svg +0 -1
- package/dist/assets/0fc5820f8be53a1b.svg +0 -1
- package/dist/assets/105efd028edc1dfe.woff +0 -0
- package/dist/assets/10768e2cc79fc60b.svg +0 -1
- package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
- package/dist/assets/154365acf3010d96.woff2 +0 -0
- package/dist/assets/157b8721e0600ea8.svg +0 -1
- package/dist/assets/15e91cdd649cde9a.svg +0 -1
- package/dist/assets/19275e398ae57130.woff2 +0 -0
- package/dist/assets/1a3e84b2457f709a.woff +0 -0
- package/dist/assets/1de63eb118636cce.svg +0 -1
- package/dist/assets/1ea01de36eb5491b.svg +0 -1
- package/dist/assets/204eaf512fde2023.svg +0 -1
- package/dist/assets/2088983edf42e153.svg +0 -1
- package/dist/assets/208f810a9321a327.svg +0 -1
- package/dist/assets/21220a9d10e6c558.svg +0 -1
- package/dist/assets/220db345a102045d.woff2 +0 -0
- package/dist/assets/225da11d23968333.svg +0 -1
- package/dist/assets/226f862dd81bdc13.woff2 +0 -0
- package/dist/assets/23a2d53395ddb14f.woff +0 -0
- package/dist/assets/259e6ad461a52ad7.svg +0 -1
- package/dist/assets/261e6dec4d53b9ac.woff +0 -0
- package/dist/assets/262f46a0b6d94bb6.svg +0 -1
- package/dist/assets/2857c513073467da.svg +0 -1
- package/dist/assets/2b3be7889467d98f.woff +0 -0
- package/dist/assets/2d4e6190eec72737.svg +0 -1
- package/dist/assets/2eba973185078bc8.woff +0 -0
- package/dist/assets/334d3f6bc766c516.woff +0 -0
- package/dist/assets/34ff7dd0c2285956.svg +0 -1
- package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
- package/dist/assets/3d892965ab4f1cbb.woff2 +0 -0
- package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
- package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
- package/dist/assets/41275bcb979cb650.svg +0 -1
- package/dist/assets/434f7982590e462f.woff +0 -0
- package/dist/assets/475937116ee3314a.woff2 +0 -0
- package/dist/assets/489710fb710e73f0.woff +0 -0
- package/dist/assets/49791943b3872376.woff2 +0 -0
- package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
- package/dist/assets/4d7a77b0e5373992.svg +0 -1
- package/dist/assets/4e43c74354534fb3.svg +0 -1
- package/dist/assets/4fe75f5117100705.svg +0 -1
- package/dist/assets/52e261a005074e1b.woff +0 -0
- package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
- package/dist/assets/54cda5482c6c9218.woff +0 -0
- package/dist/assets/550f52072e8ccafe.woff2 +0 -0
- package/dist/assets/572bb1bb4156a9c1.svg +0 -1
- package/dist/assets/6075995d7e74da46.woff2 +0 -0
- package/dist/assets/617c4736236e199e.woff +0 -0
- package/dist/assets/67230f05dc94a265.svg +0 -1
- package/dist/assets/6798e4dd4add9b48.svg +0 -1
- package/dist/assets/686d4077c1e26876.woff2 +0 -0
- package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
- package/dist/assets/6a3e73faf406cf33.svg +0 -1
- package/dist/assets/72de3a63bc0b70dd.svg +0 -1
- package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
- package/dist/assets/74ed5f8a78e71106.svg +0 -1
- package/dist/assets/7a5aa5abd625137f.ttf +0 -0
- package/dist/assets/7ce0c166fd6a1204.woff +0 -0
- package/dist/assets/7d55399c2a7bc985.svg +0 -1
- package/dist/assets/7d970675c69fca1d.woff +0 -0
- package/dist/assets/7eda727273fd98d3.svg +0 -1
- package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
- package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
- package/dist/assets/861e6b7192b3b6c7.woff +0 -0
- package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
- package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
- package/dist/assets/910b0d99b9e26568.svg +0 -1
- package/dist/assets/91fe94e424323d61.woff +0 -0
- package/dist/assets/92508f8707159b51.svg +0 -1
- package/dist/assets/9392bf1d591e1abb.svg +0 -1
- package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
- package/dist/assets/9cb83236f6bb7ab1.svg +0 -1
- package/dist/assets/9d37314695c0b68d.woff +0 -0
- package/dist/assets/a03cdcd8da5bb987.woff +0 -0
- package/dist/assets/a18404194e3f9047.svg +0 -1
- package/dist/assets/a2017fe7f0a26510.svg +0 -1
- package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
- package/dist/assets/abf88f301a0730f4.svg +0 -1
- package/dist/assets/ac1a99b3d05d8232.woff +0 -0
- package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
- package/dist/assets/b1a596e31ad1185a.svg +0 -1
- package/dist/assets/b27767411c8427be.woff +0 -0
- package/dist/assets/b325adcae33bbe7a.svg +0 -1
- package/dist/assets/b372390551ca2fa1.svg +0 -1
- package/dist/assets/b5bb1e8fc975decd.svg +0 -1
- package/dist/assets/b645a4a2181b9dc1.svg +0 -1
- package/dist/assets/b6499ddce0a4ef7d.svg +0 -1
- package/dist/assets/b94421fadd23b0f2.svg +0 -1
- package/dist/assets/bb28fb0f27f1c11b.svg +0 -1
- package/dist/assets/c9191b638a10f67b.woff2 +0 -0
- package/dist/assets/ca791c5ca5848a03.svg +0 -1
- package/dist/assets/cb32840ce330103f.woff +0 -0
- package/dist/assets/ccc878931d74181b.woff2 +0 -0
- package/dist/assets/d084bda16abe8a56.svg +0 -1
- package/dist/assets/d32b129cae2fffd6.svg +0 -1
- package/dist/assets/d35a4c7113315758.woff2 +0 -0
- package/dist/assets/d3f792f54ae4c307.svg +0 -1
- package/dist/assets/d5a5b8630120073d.svg +0 -1
- package/dist/assets/d5f9664ebbfb104b.svg +0 -1
- package/dist/assets/d84247b59449dd88.woff2 +0 -0
- package/dist/assets/dceaf3b39091e6a4.woff +0 -0
- package/dist/assets/dd05d43ff0df2fc7.svg +0 -1
- package/dist/assets/e2ad5b3428289141.woff +0 -0
- package/dist/assets/e38acaa1757232e0.svg +0 -1
- package/dist/assets/e4a8550f1c7ffe36.svg +0 -1
- package/dist/assets/e5adb5ae3a3698f6.svg +0 -1
- package/dist/assets/e61a1889bac955f4.woff2 +0 -0
- package/dist/assets/e72bb11356af94c7.svg +0 -1
- package/dist/assets/e98196a9f8dcb2f0.svg +0 -1
- package/dist/assets/ebec912a42ad49ff.woff +0 -0
- package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
- package/dist/assets/f09d89268e4c0317.svg +0 -1
- package/dist/assets/f239394367fcf005.woff2 +0 -0
- package/dist/assets/f5722262b6e7214e.woff2 +0 -0
- package/dist/assets/f7fc8bf46089d8b2.svg +0 -1
- package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
- package/dist/assets/fe141d99763f5d2b.woff +0 -0
- package/dist/assets/fed13b0d59903483.svg +0 -1
- package/dist/assets/fed757d2c2344ead.woff2 +0 -0
- package/dist/assets/ffc438f20e79ce73.woff +0 -0
- package/dist/core/providers/auth-provider-manager.d.ts +0 -34
- package/dist/core/providers/auth-provider-manager.d.ts.map +0 -1
- package/dist/core/providers/auth-provider-utils.d.ts +0 -17
- package/dist/core/providers/auth-provider-utils.d.ts.map +0 -1
- package/dist/core/providers/example-custom-auth-provider.d.ts +0 -45
- package/dist/core/providers/example-custom-auth-provider.d.ts.map +0 -1
- package/dist/core/providers/index.d.ts +0 -3
- package/dist/core/providers/index.d.ts.map +0 -1
- package/dist/core/providers/platform-auth-provider.d.ts +0 -34
- package/dist/core/providers/platform-auth-provider.d.ts.map +0 -1
- package/dist/core/types/auth-provider.d.ts +0 -27
- package/dist/core/types/auth-provider.d.ts.map +0 -1
- package/dist/framework.js +0 -25048
- package/dist/index.css +0 -9
- package/dist/vendor-boolbase-A_-Pp38P.js +0 -23
- package/dist/vendor-cheerio-C46iBpCu.js +0 -1053
- package/dist/vendor-cheerio-select-C8emRZsx.js +0 -191
- package/dist/vendor-core-js-DDuR6YMQ.js +0 -1206
- package/dist/vendor-css-select-DR9bp36p.js +0 -622
- package/dist/vendor-css-what-CZZaquJM.js +0 -267
- package/dist/vendor-cypress-signalr-mock-DjBxJHA6.js +0 -769
- package/dist/vendor-date-fns-sZ1zMzTH.js +0 -3008
- package/dist/vendor-dom-serializer-Sk3xHhQk.js +0 -213
- package/dist/vendor-domelementtype-B3sFIGaC.js +0 -21
- package/dist/vendor-domhandler-CL40eeX9.js +0 -311
- package/dist/vendor-dompurify-BuxjWxA2.js +0 -553
- package/dist/vendor-domutils-BiVCXO8c.js +0 -386
- package/dist/vendor-entities-CCReaWqU.js +0 -364
- package/dist/vendor-floating-ui-core-Cl9nBI4j.js +0 -349
- package/dist/vendor-floating-ui-dom-3z44E4mf.js +0 -395
- package/dist/vendor-floating-ui-utils-D2sT7feD.js +0 -259
- package/dist/vendor-floating-ui-vue-ClrgkeO5.js +0 -107
- package/dist/vendor-headlessui-vue-D7tzx4PC.js +0 -961
- package/dist/vendor-htmlparser2-CpQu33io.js +0 -735
- package/dist/vendor-intlify-core-base-Da62SG4M.js +0 -1130
- package/dist/vendor-intlify-message-compiler-CHvGSH2u.js +0 -952
- package/dist/vendor-intlify-shared-jWBPd9WB.js +0 -144
- package/dist/vendor-iso-639-1-BJO6WZAt.js +0 -781
- package/dist/vendor-linkify-it-LzoUhj6C.js +0 -199
- package/dist/vendor-linkifyjs-dCH9UYes.js +0 -701
- package/dist/vendor-lodash-es-BqkGj3Jl.js +0 -4816
- package/dist/vendor-lucide-vue-next-m0L4DzUL.js +0 -29780
- package/dist/vendor-markdown-it-Czg9qJTh.js +0 -2263
- package/dist/vendor-markdown-it-task-lists-BxLwscWK.js +0 -69
- package/dist/vendor-mdurl-DZFDNdqC.js +0 -192
- package/dist/vendor-microsoft-applicationinsights-analytics-js-C1Yxuzwg.js +0 -1207
- package/dist/vendor-microsoft-applicationinsights-cfgsync-js-DArHD4Dn.js +0 -261
- package/dist/vendor-microsoft-applicationinsights-channel-js-Dbs0XRes.js +0 -1822
- package/dist/vendor-microsoft-applicationinsights-common-OjU3Zs6r.js +0 -1921
- package/dist/vendor-microsoft-applicationinsights-core-js-DWRvqBek.js +0 -4276
- package/dist/vendor-microsoft-applicationinsights-dependencies-js-BxTNw-Sk.js +0 -1407
- package/dist/vendor-microsoft-applicationinsights-properties-js-Gfhpu-At.js +0 -572
- package/dist/vendor-microsoft-applicationinsights-shims-CxtPYiwp.js +0 -43
- package/dist/vendor-microsoft-applicationinsights-web-9yeJ0EZv.js +0 -487
- package/dist/vendor-microsoft-dynamicproto-js-DSkQkH3T.js +0 -147
- package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +0 -1761
- package/dist/vendor-moment-DMLRxgRE.js +0 -2589
- package/dist/vendor-nevware21-ts-async-CdMc_sGt.js +0 -261
- package/dist/vendor-nevware21-ts-utils-Dy41wRhA.js +0 -853
- package/dist/vendor-nth-check-CS1D-zr5.js +0 -45
- package/dist/vendor-orderedmap-B3SOk52B.js +0 -103
- package/dist/vendor-parse5-htmlparser2-tree-adapter-BWywtwol.js +0 -143
- package/dist/vendor-parse5-zq5Hn0y9.js +0 -5749
- package/dist/vendor-prettier-cZc5sCiS.js +0 -4875
- package/dist/vendor-prosemirror-commands-Cu1q5ZDk.js +0 -385
- package/dist/vendor-prosemirror-dropcursor-BuGmFgFS.js +0 -86
- package/dist/vendor-prosemirror-gapcursor-CyYcCWVK.js +0 -203
- package/dist/vendor-prosemirror-history-DzRcbrCw.js +0 -248
- package/dist/vendor-prosemirror-keymap-KfbdOEJw.js +0 -62
- package/dist/vendor-prosemirror-markdown-OyxRuawK.js +0 -650
- package/dist/vendor-prosemirror-model-DFp4ML7B.js +0 -2730
- package/dist/vendor-prosemirror-schema-list-CwCUArvx.js +0 -87
- package/dist/vendor-prosemirror-state-DHaVEu5h.js +0 -821
- package/dist/vendor-prosemirror-tables-mYok4vGT.js +0 -1711
- package/dist/vendor-prosemirror-transform-CAHmg-qG.js +0 -1508
- package/dist/vendor-prosemirror-view-CspJa44O.js +0 -3751
- package/dist/vendor-punycode-js-CgGegfA_.js +0 -133
- package/dist/vendor-rope-sequence-BWC2FSrq.js +0 -100
- package/dist/vendor-semver-Dar8oU3V.js +0 -1023
- package/dist/vendor-swiper-1bp0oJwt.js +0 -3387
- package/dist/vendor-tanstack-virtual-core-l0sNRNKZ.js +0 -1
- package/dist/vendor-tanstack-vue-virtual-CD9yLWd7.js +0 -1
- package/dist/vendor-tiptap-core-ClsTgaMv.js +0 -3699
- package/dist/vendor-tiptap-extension-blockquote-r1MBx4hD.js +0 -54
- package/dist/vendor-tiptap-extension-bold-BjLI4i8b.js +0 -74
- package/dist/vendor-tiptap-extension-code-D5-kDnMW.js +0 -52
- package/dist/vendor-tiptap-extension-code-block-RjEb0zPA.js +0 -215
- package/dist/vendor-tiptap-extension-document--PLOxIdq.js +0 -12
- package/dist/vendor-tiptap-extension-hard-break-9cxC2YOS.js +0 -59
- package/dist/vendor-tiptap-extension-heading-2w0TutHn.js +0 -63
- package/dist/vendor-tiptap-extension-horizontal-rule-CFowa_lc.js +0 -56
- package/dist/vendor-tiptap-extension-image-aWn-na6j.js +0 -127
- package/dist/vendor-tiptap-extension-italic-Bn-6saY0.js +0 -73
- package/dist/vendor-tiptap-extension-link-BmcG1_k-.js +0 -298
- package/dist/vendor-tiptap-extension-list-BrNBJ45n.js +0 -707
- package/dist/vendor-tiptap-extension-paragraph-DAiYhwUB.js +0 -41
- package/dist/vendor-tiptap-extension-placeholder-9tURDKy-.js +0 -1
- package/dist/vendor-tiptap-extension-strike-DqbXPfos.js +0 -64
- package/dist/vendor-tiptap-extension-table-DQwPaR7v.js +0 -374
- package/dist/vendor-tiptap-extension-table-cell-C0tEP_0i.js +0 -1
- package/dist/vendor-tiptap-extension-table-header-C0tEP_0i.js +0 -1
- package/dist/vendor-tiptap-extension-table-row-C0tEP_0i.js +0 -1
- package/dist/vendor-tiptap-extension-text-BFnfj70b.js +0 -13
- package/dist/vendor-tiptap-extension-text-style-Darua3qr.js +0 -235
- package/dist/vendor-tiptap-extension-underline-QyVnBqQZ.js +0 -65
- package/dist/vendor-tiptap-extensions-CU-D7bfm.js +0 -290
- package/dist/vendor-tiptap-markdown-BwATYN5A.js +0 -826
- package/dist/vendor-tiptap-pm-d91nGny8.js +0 -1
- package/dist/vendor-tiptap-starter-kit-5luf7zzS.js +0 -28
- package/dist/vendor-tiptap-vue-3-CFBErZGb.js +0 -157
- package/dist/vendor-truncate-html-DYC0Lj9o.js +0 -145
- package/dist/vendor-uc-micro-4lbSaZOs.js +0 -17
- package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +0 -93
- package/dist/vendor-vee-validate-rules-4oWUZPpG.js +0 -316
- package/dist/vendor-vue-currency-input-BqaYAdhD.js +0 -317
- package/dist/vendor-vue-demi-CD9yLWd7.js +0 -1
- package/dist/vendor-vue-devtools-api-aVYGocXp.js +0 -93
- package/dist/vendor-vue-i18n-CO5LWKE0.js +0 -1370
- package/dist/vendor-vue3-application-insights-BKiiWnf2.js +0 -69
- package/dist/vendor-vue3-touch-events-DqysuuWh.js +0 -169
- package/dist/vendor-vuepic-vue-datepicker-CaY_xSnG.js +0 -4998
- package/dist/vendor-vueuse-components-sgKpNzof.js +0 -542
- package/dist/vendor-vueuse-core-D0cN7FqY.js +0 -5130
- package/dist/vendor-vueuse-shared-Pt0UEStA.js +0 -1169
- package/dist/vendor-w3c-keyname-CLxH8j-f.js +0 -92
|
@@ -1,1053 +0,0 @@
|
|
|
1
|
-
import { t as ot, i as jt, u as U, n as ct, p as ut, g as wt, a as Ot, r as ft } from "./vendor-domutils-BiVCXO8c.js";
|
|
2
|
-
import { c as Y, D as lt, i as a, a as $, h as b, T as St } from "./vendor-domhandler-CL40eeX9.js";
|
|
3
|
-
import { i as at, f as ht, s as $t, a as Mt } from "./vendor-cheerio-select-C8emRZsx.js";
|
|
4
|
-
import { s as Tt, p as Lt, a as Et } from "./vendor-parse5-zq5Hn0y9.js";
|
|
5
|
-
import { a as dt } from "./vendor-parse5-htmlparser2-tree-adapter-BWywtwol.js";
|
|
6
|
-
import { r as Pt } from "./vendor-dom-serializer-Sk3xHhQk.js";
|
|
7
|
-
import { p as Ut } from "./vendor-htmlparser2-CpQu33io.js";
|
|
8
|
-
const q = {
|
|
9
|
-
xml: !1,
|
|
10
|
-
decodeEntities: !0
|
|
11
|
-
}, H = {
|
|
12
|
-
_useHtmlParser2: !0,
|
|
13
|
-
xmlMode: !0
|
|
14
|
-
};
|
|
15
|
-
function I(t) {
|
|
16
|
-
return t?.xml ? typeof t.xml == "boolean" ? H : { ...H, ...t.xml } : t ?? void 0;
|
|
17
|
-
}
|
|
18
|
-
function pt(t, n, e) {
|
|
19
|
-
return t ? t(n ?? t._root.children, null, void 0, e).toString() : "";
|
|
20
|
-
}
|
|
21
|
-
function Dt(t, n) {
|
|
22
|
-
return typeof t == "object" && t != null && !("length" in t) && !("type" in t);
|
|
23
|
-
}
|
|
24
|
-
function Nt(t, n) {
|
|
25
|
-
const e = Dt(t) ? (n = t, void 0) : t, r = {
|
|
26
|
-
...q,
|
|
27
|
-
...this === null || this === void 0 ? void 0 : this._options,
|
|
28
|
-
...I(n ?? {})
|
|
29
|
-
};
|
|
30
|
-
return pt(this, e, r);
|
|
31
|
-
}
|
|
32
|
-
function Ct(t) {
|
|
33
|
-
const n = { ...this._options, xmlMode: !0 };
|
|
34
|
-
return pt(this, t, n);
|
|
35
|
-
}
|
|
36
|
-
function O(t) {
|
|
37
|
-
const n = t || (this ? this.root() : []);
|
|
38
|
-
let e = "";
|
|
39
|
-
for (let r = 0; r < n.length; r++)
|
|
40
|
-
e += ot(n[r]);
|
|
41
|
-
return e;
|
|
42
|
-
}
|
|
43
|
-
function zt(t, n, e = typeof n == "boolean" ? n : !1) {
|
|
44
|
-
if (!t || typeof t != "string")
|
|
45
|
-
return null;
|
|
46
|
-
typeof n == "boolean" && (e = n);
|
|
47
|
-
const r = this.load(t, q, !1);
|
|
48
|
-
return e || r("script").remove(), r.root()[0].children.slice();
|
|
49
|
-
}
|
|
50
|
-
function It() {
|
|
51
|
-
return this(this._root);
|
|
52
|
-
}
|
|
53
|
-
function gt(t, n) {
|
|
54
|
-
if (n === t)
|
|
55
|
-
return !1;
|
|
56
|
-
let e = n;
|
|
57
|
-
for (; e && e !== e.parent; )
|
|
58
|
-
if (e = e.parent, e === t)
|
|
59
|
-
return !0;
|
|
60
|
-
return !1;
|
|
61
|
-
}
|
|
62
|
-
function Rt(t, n) {
|
|
63
|
-
if (!V(t) || !V(n))
|
|
64
|
-
return;
|
|
65
|
-
let e = t.length;
|
|
66
|
-
const r = +n.length;
|
|
67
|
-
for (let i = 0; i < r; i++)
|
|
68
|
-
t[e++] = n[i];
|
|
69
|
-
return t.length = e, t;
|
|
70
|
-
}
|
|
71
|
-
function V(t) {
|
|
72
|
-
if (Array.isArray(t))
|
|
73
|
-
return !0;
|
|
74
|
-
if (typeof t != "object" || !Object.prototype.hasOwnProperty.call(t, "length") || typeof t.length != "number" || t.length < 0)
|
|
75
|
-
return !1;
|
|
76
|
-
for (let n = 0; n < t.length; n++)
|
|
77
|
-
if (!(n in t))
|
|
78
|
-
return !1;
|
|
79
|
-
return !0;
|
|
80
|
-
}
|
|
81
|
-
const Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
82
|
-
__proto__: null,
|
|
83
|
-
contains: gt,
|
|
84
|
-
html: Nt,
|
|
85
|
-
merge: Rt,
|
|
86
|
-
parseHTML: zt,
|
|
87
|
-
root: It,
|
|
88
|
-
text: O,
|
|
89
|
-
xml: Ct
|
|
90
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
91
|
-
function y(t) {
|
|
92
|
-
return t.cheerio != null;
|
|
93
|
-
}
|
|
94
|
-
function qt(t) {
|
|
95
|
-
return t.replace(/[_.-](\w|$)/g, (n, e) => e.toUpperCase());
|
|
96
|
-
}
|
|
97
|
-
function Ft(t) {
|
|
98
|
-
return t.replace(/[A-Z]/g, "-$&").toLowerCase();
|
|
99
|
-
}
|
|
100
|
-
function h(t, n) {
|
|
101
|
-
const e = t.length;
|
|
102
|
-
for (let r = 0; r < e; r++)
|
|
103
|
-
n(t[r], r);
|
|
104
|
-
return t;
|
|
105
|
-
}
|
|
106
|
-
function R(t) {
|
|
107
|
-
const n = "length" in t ? Array.prototype.map.call(t, (r) => Y(r, !0)) : [Y(t, !0)], e = new lt(n);
|
|
108
|
-
return n.forEach((r) => {
|
|
109
|
-
r.parent = e;
|
|
110
|
-
}), n;
|
|
111
|
-
}
|
|
112
|
-
var A;
|
|
113
|
-
(function(t) {
|
|
114
|
-
t[t.LowerA = 97] = "LowerA", t[t.LowerZ = 122] = "LowerZ", t[t.UpperA = 65] = "UpperA", t[t.UpperZ = 90] = "UpperZ", t[t.Exclamation = 33] = "Exclamation";
|
|
115
|
-
})(A || (A = {}));
|
|
116
|
-
function B(t) {
|
|
117
|
-
const n = t.indexOf("<");
|
|
118
|
-
if (n < 0 || n > t.length - 3)
|
|
119
|
-
return !1;
|
|
120
|
-
const e = t.charCodeAt(n + 1);
|
|
121
|
-
return (e >= A.LowerA && e <= A.LowerZ || e >= A.UpperA && e <= A.UpperZ || e === A.Exclamation) && t.includes(">", n + 2);
|
|
122
|
-
}
|
|
123
|
-
const k = Object.prototype.hasOwnProperty, S = /\s+/, C = "data-", tt = {
|
|
124
|
-
null: null,
|
|
125
|
-
true: !0,
|
|
126
|
-
false: !1
|
|
127
|
-
}, F = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, Zt = /^{[^]*}$|^\[[^]*]$/;
|
|
128
|
-
function E(t, n, e) {
|
|
129
|
-
var r;
|
|
130
|
-
if (!(!t || !a(t))) {
|
|
131
|
-
if ((r = t.attribs) !== null && r !== void 0 || (t.attribs = {}), !n)
|
|
132
|
-
return t.attribs;
|
|
133
|
-
if (k.call(t.attribs, n))
|
|
134
|
-
return !e && F.test(n) ? n : t.attribs[n];
|
|
135
|
-
if (t.name === "option" && n === "value")
|
|
136
|
-
return O(t.children);
|
|
137
|
-
if (t.name === "input" && (t.attribs.type === "radio" || t.attribs.type === "checkbox") && n === "value")
|
|
138
|
-
return "on";
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
function j(t, n, e) {
|
|
142
|
-
e === null ? yt(t, n) : t.attribs[n] = `${e}`;
|
|
143
|
-
}
|
|
144
|
-
function Wt(t, n) {
|
|
145
|
-
if (typeof t == "object" || n !== void 0) {
|
|
146
|
-
if (typeof n == "function") {
|
|
147
|
-
if (typeof t != "string")
|
|
148
|
-
throw new Error("Bad combination of arguments.");
|
|
149
|
-
return h(this, (e, r) => {
|
|
150
|
-
a(e) && j(e, t, n.call(e, r, e.attribs[t]));
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
return h(this, (e) => {
|
|
154
|
-
a(e) && (typeof t == "object" ? Object.keys(t).forEach((r) => {
|
|
155
|
-
const i = t[r];
|
|
156
|
-
j(e, r, i);
|
|
157
|
-
}) : j(e, t, n));
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
return arguments.length > 1 ? this : E(this[0], t, this.options.xmlMode);
|
|
161
|
-
}
|
|
162
|
-
function nt(t, n, e) {
|
|
163
|
-
return n in t ? (
|
|
164
|
-
// @ts-expect-error TS doesn't like us accessing the value directly here.
|
|
165
|
-
t[n]
|
|
166
|
-
) : !e && F.test(n) ? E(t, n, !1) !== void 0 : E(t, n, e);
|
|
167
|
-
}
|
|
168
|
-
function z(t, n, e, r) {
|
|
169
|
-
n in t ? t[n] = e : j(t, n, !r && F.test(n) ? e ? "" : null : `${e}`);
|
|
170
|
-
}
|
|
171
|
-
function Jt(t, n) {
|
|
172
|
-
var e;
|
|
173
|
-
if (typeof t == "string" && n === void 0) {
|
|
174
|
-
const r = this[0];
|
|
175
|
-
if (!r || !a(r))
|
|
176
|
-
return;
|
|
177
|
-
switch (t) {
|
|
178
|
-
case "style": {
|
|
179
|
-
const i = this.css(), s = Object.keys(i);
|
|
180
|
-
return s.forEach((o, c) => {
|
|
181
|
-
i[c] = o;
|
|
182
|
-
}), i.length = s.length, i;
|
|
183
|
-
}
|
|
184
|
-
case "tagName":
|
|
185
|
-
case "nodeName":
|
|
186
|
-
return r.name.toUpperCase();
|
|
187
|
-
case "href":
|
|
188
|
-
case "src": {
|
|
189
|
-
const i = (e = r.attribs) === null || e === void 0 ? void 0 : e[t];
|
|
190
|
-
return typeof URL < "u" && (t === "href" && (r.tagName === "a" || r.name === "link") || t === "src" && (r.tagName === "img" || r.tagName === "iframe" || r.tagName === "audio" || r.tagName === "video" || r.tagName === "source")) && i !== void 0 && this.options.baseURI ? new URL(i, this.options.baseURI).href : i;
|
|
191
|
-
}
|
|
192
|
-
case "innerText":
|
|
193
|
-
return jt(r);
|
|
194
|
-
case "textContent":
|
|
195
|
-
return ot(r);
|
|
196
|
-
case "outerHTML":
|
|
197
|
-
return this.clone().wrap("<container />").parent().html();
|
|
198
|
-
case "innerHTML":
|
|
199
|
-
return this.html();
|
|
200
|
-
default:
|
|
201
|
-
return nt(r, t, this.options.xmlMode);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
if (typeof t == "object" || n !== void 0) {
|
|
205
|
-
if (typeof n == "function") {
|
|
206
|
-
if (typeof t == "object")
|
|
207
|
-
throw new Error("Bad combination of arguments.");
|
|
208
|
-
return h(this, (r, i) => {
|
|
209
|
-
a(r) && z(r, t, n.call(r, i, nt(r, t, this.options.xmlMode)), this.options.xmlMode);
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
return h(this, (r) => {
|
|
213
|
-
a(r) && (typeof t == "object" ? Object.keys(t).forEach((i) => {
|
|
214
|
-
const s = t[i];
|
|
215
|
-
z(r, i, s, this.options.xmlMode);
|
|
216
|
-
}) : z(r, t, n, this.options.xmlMode));
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
function et(t, n, e) {
|
|
221
|
-
var r;
|
|
222
|
-
const i = t;
|
|
223
|
-
(r = i.data) !== null && r !== void 0 || (i.data = {}), typeof n == "object" ? Object.assign(i.data, n) : typeof n == "string" && e !== void 0 && (i.data[n] = e);
|
|
224
|
-
}
|
|
225
|
-
function rt(t, n) {
|
|
226
|
-
let e, r, i;
|
|
227
|
-
n == null ? (e = Object.keys(t.attribs).filter((s) => s.startsWith(C)), r = e.map((s) => qt(s.slice(C.length)))) : (e = [C + Ft(n)], r = [n]);
|
|
228
|
-
for (let s = 0; s < e.length; ++s) {
|
|
229
|
-
const o = e[s], c = r[s];
|
|
230
|
-
if (k.call(t.attribs, o) && !k.call(t.data, c)) {
|
|
231
|
-
if (i = t.attribs[o], k.call(tt, i))
|
|
232
|
-
i = tt[i];
|
|
233
|
-
else if (i === String(Number(i)))
|
|
234
|
-
i = Number(i);
|
|
235
|
-
else if (Zt.test(i))
|
|
236
|
-
try {
|
|
237
|
-
i = JSON.parse(i);
|
|
238
|
-
} catch {
|
|
239
|
-
}
|
|
240
|
-
t.data[c] = i;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
return n == null ? t.data : i;
|
|
244
|
-
}
|
|
245
|
-
function Gt(t, n) {
|
|
246
|
-
var e;
|
|
247
|
-
const r = this[0];
|
|
248
|
-
if (!r || !a(r))
|
|
249
|
-
return;
|
|
250
|
-
const i = r;
|
|
251
|
-
return (e = i.data) !== null && e !== void 0 || (i.data = {}), t ? typeof t == "object" || n !== void 0 ? (h(this, (s) => {
|
|
252
|
-
a(s) && (typeof t == "object" ? et(s, t) : et(s, t, n));
|
|
253
|
-
}), this) : k.call(i.data, t) ? i.data[t] : rt(i, t) : rt(i);
|
|
254
|
-
}
|
|
255
|
-
function Kt(t) {
|
|
256
|
-
const n = arguments.length === 0, e = this[0];
|
|
257
|
-
if (!e || !a(e))
|
|
258
|
-
return n ? void 0 : this;
|
|
259
|
-
switch (e.name) {
|
|
260
|
-
case "textarea":
|
|
261
|
-
return this.text(t);
|
|
262
|
-
case "select": {
|
|
263
|
-
const r = this.find("option:selected");
|
|
264
|
-
if (!n) {
|
|
265
|
-
if (this.attr("multiple") == null && typeof t == "object")
|
|
266
|
-
return this;
|
|
267
|
-
this.find("option").removeAttr("selected");
|
|
268
|
-
const i = typeof t != "object" ? [t] : t;
|
|
269
|
-
for (let s = 0; s < i.length; s++)
|
|
270
|
-
this.find(`option[value="${i[s]}"]`).attr("selected", "");
|
|
271
|
-
return this;
|
|
272
|
-
}
|
|
273
|
-
return this.attr("multiple") ? r.toArray().map((i) => O(i.children)) : r.attr("value");
|
|
274
|
-
}
|
|
275
|
-
case "input":
|
|
276
|
-
case "option":
|
|
277
|
-
return n ? this.attr("value") : this.attr("value", t);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
function yt(t, n) {
|
|
281
|
-
!t.attribs || !k.call(t.attribs, n) || delete t.attribs[n];
|
|
282
|
-
}
|
|
283
|
-
function P(t) {
|
|
284
|
-
return t ? t.trim().split(S) : [];
|
|
285
|
-
}
|
|
286
|
-
function Qt(t) {
|
|
287
|
-
const n = P(t);
|
|
288
|
-
for (let e = 0; e < n.length; e++)
|
|
289
|
-
h(this, (r) => {
|
|
290
|
-
a(r) && yt(r, n[e]);
|
|
291
|
-
});
|
|
292
|
-
return this;
|
|
293
|
-
}
|
|
294
|
-
function Xt(t) {
|
|
295
|
-
return this.toArray().some((n) => {
|
|
296
|
-
const e = a(n) && n.attribs.class;
|
|
297
|
-
let r = -1;
|
|
298
|
-
if (e && t.length)
|
|
299
|
-
for (; (r = e.indexOf(t, r + 1)) > -1; ) {
|
|
300
|
-
const i = r + t.length;
|
|
301
|
-
if ((r === 0 || S.test(e[r - 1])) && (i === e.length || S.test(e[i])))
|
|
302
|
-
return !0;
|
|
303
|
-
}
|
|
304
|
-
return !1;
|
|
305
|
-
});
|
|
306
|
-
}
|
|
307
|
-
function bt(t) {
|
|
308
|
-
if (typeof t == "function")
|
|
309
|
-
return h(this, (r, i) => {
|
|
310
|
-
if (a(r)) {
|
|
311
|
-
const s = r.attribs.class || "";
|
|
312
|
-
bt.call([r], t.call(r, i, s));
|
|
313
|
-
}
|
|
314
|
-
});
|
|
315
|
-
if (!t || typeof t != "string")
|
|
316
|
-
return this;
|
|
317
|
-
const n = t.split(S), e = this.length;
|
|
318
|
-
for (let r = 0; r < e; r++) {
|
|
319
|
-
const i = this[r];
|
|
320
|
-
if (!a(i))
|
|
321
|
-
continue;
|
|
322
|
-
const s = E(i, "class", !1);
|
|
323
|
-
if (!s)
|
|
324
|
-
j(i, "class", n.join(" ").trim());
|
|
325
|
-
else {
|
|
326
|
-
let o = ` ${s} `;
|
|
327
|
-
for (let c = 0; c < n.length; c++) {
|
|
328
|
-
const u = `${n[c]} `;
|
|
329
|
-
o.includes(` ${u}`) || (o += u);
|
|
330
|
-
}
|
|
331
|
-
j(i, "class", o.trim());
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
return this;
|
|
335
|
-
}
|
|
336
|
-
function _t(t) {
|
|
337
|
-
if (typeof t == "function")
|
|
338
|
-
return h(this, (i, s) => {
|
|
339
|
-
a(i) && _t.call([i], t.call(i, s, i.attribs.class || ""));
|
|
340
|
-
});
|
|
341
|
-
const n = P(t), e = n.length, r = arguments.length === 0;
|
|
342
|
-
return h(this, (i) => {
|
|
343
|
-
if (a(i))
|
|
344
|
-
if (r)
|
|
345
|
-
i.attribs.class = "";
|
|
346
|
-
else {
|
|
347
|
-
const s = P(i.attribs.class);
|
|
348
|
-
let o = !1;
|
|
349
|
-
for (let c = 0; c < e; c++) {
|
|
350
|
-
const u = s.indexOf(n[c]);
|
|
351
|
-
u >= 0 && (s.splice(u, 1), o = !0, c--);
|
|
352
|
-
}
|
|
353
|
-
o && (i.attribs.class = s.join(" "));
|
|
354
|
-
}
|
|
355
|
-
});
|
|
356
|
-
}
|
|
357
|
-
function mt(t, n) {
|
|
358
|
-
if (typeof t == "function")
|
|
359
|
-
return h(this, (o, c) => {
|
|
360
|
-
a(o) && mt.call([o], t.call(o, c, o.attribs.class || "", n), n);
|
|
361
|
-
});
|
|
362
|
-
if (!t || typeof t != "string")
|
|
363
|
-
return this;
|
|
364
|
-
const e = t.split(S), r = e.length, i = typeof n == "boolean" ? n ? 1 : -1 : 0, s = this.length;
|
|
365
|
-
for (let o = 0; o < s; o++) {
|
|
366
|
-
const c = this[o];
|
|
367
|
-
if (!a(c))
|
|
368
|
-
continue;
|
|
369
|
-
const u = P(c.attribs.class);
|
|
370
|
-
for (let d = 0; d < r; d++) {
|
|
371
|
-
const f = u.indexOf(e[d]);
|
|
372
|
-
i >= 0 && f < 0 ? u.push(e[d]) : i <= 0 && f >= 0 && u.splice(f, 1);
|
|
373
|
-
}
|
|
374
|
-
c.attribs.class = u.join(" ");
|
|
375
|
-
}
|
|
376
|
-
return this;
|
|
377
|
-
}
|
|
378
|
-
const Yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
379
|
-
__proto__: null,
|
|
380
|
-
addClass: bt,
|
|
381
|
-
attr: Wt,
|
|
382
|
-
data: Gt,
|
|
383
|
-
hasClass: Xt,
|
|
384
|
-
prop: Jt,
|
|
385
|
-
removeAttr: Qt,
|
|
386
|
-
removeClass: _t,
|
|
387
|
-
toggleClass: mt,
|
|
388
|
-
val: Kt
|
|
389
|
-
}, Symbol.toStringTag, { value: "Module" })), Ht = /^\s*[~+]/;
|
|
390
|
-
function Vt(t) {
|
|
391
|
-
var n;
|
|
392
|
-
if (!t)
|
|
393
|
-
return this._make([]);
|
|
394
|
-
const e = this.toArray();
|
|
395
|
-
if (typeof t != "string") {
|
|
396
|
-
const s = y(t) ? t.toArray() : [t];
|
|
397
|
-
return this._make(s.filter((o) => e.some((c) => gt(c, o))));
|
|
398
|
-
}
|
|
399
|
-
const r = Ht.test(t) ? e : this.children().toArray(), i = {
|
|
400
|
-
context: e,
|
|
401
|
-
root: (n = this._root) === null || n === void 0 ? void 0 : n[0],
|
|
402
|
-
// Pass options that are recognized by `cheerio-select`
|
|
403
|
-
xmlMode: this.options.xmlMode,
|
|
404
|
-
lowerCaseTags: this.options.lowerCaseTags,
|
|
405
|
-
lowerCaseAttributeNames: this.options.lowerCaseAttributeNames,
|
|
406
|
-
pseudos: this.options.pseudos,
|
|
407
|
-
quirksMode: this.options.quirksMode
|
|
408
|
-
};
|
|
409
|
-
return this._make($t(t, r, i));
|
|
410
|
-
}
|
|
411
|
-
function Z(t) {
|
|
412
|
-
return function(n, ...e) {
|
|
413
|
-
return function(r) {
|
|
414
|
-
var i;
|
|
415
|
-
let s = t(n, this);
|
|
416
|
-
return r && (s = G(s, r, this.options.xmlMode, (i = this._root) === null || i === void 0 ? void 0 : i[0])), this._make(
|
|
417
|
-
// Post processing is only necessary if there is more than one element.
|
|
418
|
-
this.length > 1 && s.length > 1 ? e.reduce((o, c) => c(o), s) : s
|
|
419
|
-
);
|
|
420
|
-
};
|
|
421
|
-
};
|
|
422
|
-
}
|
|
423
|
-
const M = Z((t, n) => {
|
|
424
|
-
const e = [];
|
|
425
|
-
for (let r = 0; r < n.length; r++) {
|
|
426
|
-
const i = t(n[r]);
|
|
427
|
-
e.push(i);
|
|
428
|
-
}
|
|
429
|
-
return new Array().concat(...e);
|
|
430
|
-
}), W = Z((t, n) => {
|
|
431
|
-
const e = [];
|
|
432
|
-
for (let r = 0; r < n.length; r++) {
|
|
433
|
-
const i = t(n[r]);
|
|
434
|
-
i !== null && e.push(i);
|
|
435
|
-
}
|
|
436
|
-
return e;
|
|
437
|
-
});
|
|
438
|
-
function J(t, ...n) {
|
|
439
|
-
let e = null;
|
|
440
|
-
const r = Z((i, s) => {
|
|
441
|
-
const o = [];
|
|
442
|
-
return h(s, (c) => {
|
|
443
|
-
for (let u; (u = i(c)) && !e?.(u, o.length); c = u)
|
|
444
|
-
o.push(u);
|
|
445
|
-
}), o;
|
|
446
|
-
})(t, ...n);
|
|
447
|
-
return function(i, s) {
|
|
448
|
-
e = typeof i == "string" ? (c) => at(c, i, this.options) : i ? T(i) : null;
|
|
449
|
-
const o = r.call(this, s);
|
|
450
|
-
return e = null, o;
|
|
451
|
-
};
|
|
452
|
-
}
|
|
453
|
-
function w(t) {
|
|
454
|
-
return Array.from(new Set(t));
|
|
455
|
-
}
|
|
456
|
-
const tn = W(({ parent: t }) => t && !$(t) ? t : null, w), nn = M((t) => {
|
|
457
|
-
const n = [];
|
|
458
|
-
for (; t.parent && !$(t.parent); )
|
|
459
|
-
n.push(t.parent), t = t.parent;
|
|
460
|
-
return n;
|
|
461
|
-
}, U, (t) => t.reverse()), en = J(({ parent: t }) => t && !$(t) ? t : null, U, (t) => t.reverse());
|
|
462
|
-
function rn(t) {
|
|
463
|
-
var n;
|
|
464
|
-
const e = [];
|
|
465
|
-
if (!t)
|
|
466
|
-
return this._make(e);
|
|
467
|
-
const r = {
|
|
468
|
-
xmlMode: this.options.xmlMode,
|
|
469
|
-
root: (n = this._root) === null || n === void 0 ? void 0 : n[0]
|
|
470
|
-
}, i = typeof t == "string" ? (s) => at(s, t, r) : T(t);
|
|
471
|
-
return h(this, (s) => {
|
|
472
|
-
for (; s && a(s); ) {
|
|
473
|
-
if (i(s, 0)) {
|
|
474
|
-
e.includes(s) || e.push(s);
|
|
475
|
-
break;
|
|
476
|
-
}
|
|
477
|
-
s = s.parent;
|
|
478
|
-
}
|
|
479
|
-
}), this._make(e);
|
|
480
|
-
}
|
|
481
|
-
const sn = W((t) => ct(t)), on = M((t) => {
|
|
482
|
-
const n = [];
|
|
483
|
-
for (; t.next; )
|
|
484
|
-
t = t.next, a(t) && n.push(t);
|
|
485
|
-
return n;
|
|
486
|
-
}, w), cn = J((t) => ct(t), w), un = W((t) => ut(t)), fn = M((t) => {
|
|
487
|
-
const n = [];
|
|
488
|
-
for (; t.prev; )
|
|
489
|
-
t = t.prev, a(t) && n.push(t);
|
|
490
|
-
return n;
|
|
491
|
-
}, w), ln = J((t) => ut(t), w), an = M((t) => wt(t).filter((n) => a(n) && n !== t), U), hn = M((t) => Ot(t).filter(a), w);
|
|
492
|
-
function dn() {
|
|
493
|
-
const t = this.toArray().reduce((n, e) => b(e) ? n.concat(e.children) : n, []);
|
|
494
|
-
return this._make(t);
|
|
495
|
-
}
|
|
496
|
-
function pn(t) {
|
|
497
|
-
let n = 0;
|
|
498
|
-
const e = this.length;
|
|
499
|
-
for (; n < e && t.call(this[n], n, this[n]) !== !1; )
|
|
500
|
-
++n;
|
|
501
|
-
return this;
|
|
502
|
-
}
|
|
503
|
-
function gn(t) {
|
|
504
|
-
let n = [];
|
|
505
|
-
for (let e = 0; e < this.length; e++) {
|
|
506
|
-
const r = this[e], i = t.call(r, e, r);
|
|
507
|
-
i != null && (n = n.concat(i));
|
|
508
|
-
}
|
|
509
|
-
return this._make(n);
|
|
510
|
-
}
|
|
511
|
-
function T(t) {
|
|
512
|
-
return typeof t == "function" ? (n, e) => t.call(n, e, n) : y(t) ? (n) => Array.prototype.includes.call(t, n) : function(n) {
|
|
513
|
-
return t === n;
|
|
514
|
-
};
|
|
515
|
-
}
|
|
516
|
-
function yn(t) {
|
|
517
|
-
var n;
|
|
518
|
-
return this._make(G(this.toArray(), t, this.options.xmlMode, (n = this._root) === null || n === void 0 ? void 0 : n[0]));
|
|
519
|
-
}
|
|
520
|
-
function G(t, n, e, r) {
|
|
521
|
-
return typeof n == "string" ? ht(n, t, { xmlMode: e, root: r }) : t.filter(T(n));
|
|
522
|
-
}
|
|
523
|
-
function bn(t) {
|
|
524
|
-
const n = this.toArray();
|
|
525
|
-
return typeof t == "string" ? Mt(n.filter(a), t, this.options) : t ? n.some(T(t)) : !1;
|
|
526
|
-
}
|
|
527
|
-
function _n(t) {
|
|
528
|
-
let n = this.toArray();
|
|
529
|
-
if (typeof t == "string") {
|
|
530
|
-
const e = new Set(ht(t, n, this.options));
|
|
531
|
-
n = n.filter((r) => !e.has(r));
|
|
532
|
-
} else {
|
|
533
|
-
const e = T(t);
|
|
534
|
-
n = n.filter((r, i) => !e(r, i));
|
|
535
|
-
}
|
|
536
|
-
return this._make(n);
|
|
537
|
-
}
|
|
538
|
-
function mn(t) {
|
|
539
|
-
return this.filter(typeof t == "string" ? (
|
|
540
|
-
// Using the `:has` selector here short-circuits searches.
|
|
541
|
-
`:has(${t})`
|
|
542
|
-
) : (n, e) => this._make(e).find(t).length > 0);
|
|
543
|
-
}
|
|
544
|
-
function xn() {
|
|
545
|
-
return this.length > 1 ? this._make(this[0]) : this;
|
|
546
|
-
}
|
|
547
|
-
function An() {
|
|
548
|
-
return this.length > 0 ? this._make(this[this.length - 1]) : this;
|
|
549
|
-
}
|
|
550
|
-
function vn(t) {
|
|
551
|
-
var n;
|
|
552
|
-
return t = +t, t === 0 && this.length <= 1 ? this : (t < 0 && (t = this.length + t), this._make((n = this[t]) !== null && n !== void 0 ? n : []));
|
|
553
|
-
}
|
|
554
|
-
function kn(t) {
|
|
555
|
-
return t == null ? this.toArray() : this[t < 0 ? this.length + t : t];
|
|
556
|
-
}
|
|
557
|
-
function jn() {
|
|
558
|
-
return Array.prototype.slice.call(this);
|
|
559
|
-
}
|
|
560
|
-
function wn(t) {
|
|
561
|
-
let n, e;
|
|
562
|
-
return t == null ? (n = this.parent().children(), e = this[0]) : typeof t == "string" ? (n = this._make(t), e = this[0]) : (n = this, e = y(t) ? t[0] : t), Array.prototype.indexOf.call(n, e);
|
|
563
|
-
}
|
|
564
|
-
function On(t, n) {
|
|
565
|
-
return this._make(Array.prototype.slice.call(this, t, n));
|
|
566
|
-
}
|
|
567
|
-
function Sn() {
|
|
568
|
-
var t;
|
|
569
|
-
return (t = this.prevObject) !== null && t !== void 0 ? t : this._make([]);
|
|
570
|
-
}
|
|
571
|
-
function $n(t, n) {
|
|
572
|
-
const e = this._make(t, n), r = U([...this.get(), ...e.get()]);
|
|
573
|
-
return this._make(r);
|
|
574
|
-
}
|
|
575
|
-
function Mn(t) {
|
|
576
|
-
return this.prevObject ? this.add(t ? this.prevObject.filter(t) : this.prevObject) : this;
|
|
577
|
-
}
|
|
578
|
-
const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
579
|
-
__proto__: null,
|
|
580
|
-
add: $n,
|
|
581
|
-
addBack: Mn,
|
|
582
|
-
children: hn,
|
|
583
|
-
closest: rn,
|
|
584
|
-
contents: dn,
|
|
585
|
-
each: pn,
|
|
586
|
-
end: Sn,
|
|
587
|
-
eq: vn,
|
|
588
|
-
filter: yn,
|
|
589
|
-
filterArray: G,
|
|
590
|
-
find: Vt,
|
|
591
|
-
first: xn,
|
|
592
|
-
get: kn,
|
|
593
|
-
has: mn,
|
|
594
|
-
index: wn,
|
|
595
|
-
is: bn,
|
|
596
|
-
last: An,
|
|
597
|
-
map: gn,
|
|
598
|
-
next: sn,
|
|
599
|
-
nextAll: on,
|
|
600
|
-
nextUntil: cn,
|
|
601
|
-
not: _n,
|
|
602
|
-
parent: tn,
|
|
603
|
-
parents: nn,
|
|
604
|
-
parentsUntil: en,
|
|
605
|
-
prev: un,
|
|
606
|
-
prevAll: fn,
|
|
607
|
-
prevUntil: ln,
|
|
608
|
-
siblings: an,
|
|
609
|
-
slice: On,
|
|
610
|
-
toArray: jn
|
|
611
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
612
|
-
function Ln(t) {
|
|
613
|
-
return function(e, r, i, s) {
|
|
614
|
-
if (typeof Buffer < "u" && Buffer.isBuffer(e) && (e = e.toString()), typeof e == "string")
|
|
615
|
-
return t(e, r, i, s);
|
|
616
|
-
const o = e;
|
|
617
|
-
if (!Array.isArray(o) && $(o))
|
|
618
|
-
return o;
|
|
619
|
-
const c = new lt([]);
|
|
620
|
-
return v(o, c), c;
|
|
621
|
-
};
|
|
622
|
-
}
|
|
623
|
-
function v(t, n) {
|
|
624
|
-
const e = Array.isArray(t) ? t : [t];
|
|
625
|
-
n ? n.children = e : n = null;
|
|
626
|
-
for (let r = 0; r < e.length; r++) {
|
|
627
|
-
const i = e[r];
|
|
628
|
-
i.parent && i.parent.children !== e && ft(i), n ? (i.prev = e[r - 1] || null, i.next = e[r + 1] || null) : i.prev = i.next = null, i.parent = n;
|
|
629
|
-
}
|
|
630
|
-
return n;
|
|
631
|
-
}
|
|
632
|
-
function En(t, n) {
|
|
633
|
-
return t == null ? [] : y(t) ? n ? R(t.get()) : t.get() : Array.isArray(t) ? t.reduce((e, r) => e.concat(this._makeDomArray(r, n)), []) : typeof t == "string" ? this._parse(t, this.options, !1, null).children : n ? R([t]) : [t];
|
|
634
|
-
}
|
|
635
|
-
function xt(t) {
|
|
636
|
-
return function(...n) {
|
|
637
|
-
const e = this.length - 1;
|
|
638
|
-
return h(this, (r, i) => {
|
|
639
|
-
if (!b(r))
|
|
640
|
-
return;
|
|
641
|
-
const s = typeof n[0] == "function" ? n[0].call(r, i, this._render(r.children)) : n, o = this._makeDomArray(s, i < e);
|
|
642
|
-
t(o, r.children, r);
|
|
643
|
-
});
|
|
644
|
-
};
|
|
645
|
-
}
|
|
646
|
-
function m(t, n, e, r, i) {
|
|
647
|
-
var s, o;
|
|
648
|
-
const c = [
|
|
649
|
-
n,
|
|
650
|
-
e,
|
|
651
|
-
...r
|
|
652
|
-
], u = n === 0 ? null : t[n - 1], d = n + e >= t.length ? null : t[n + e];
|
|
653
|
-
for (let f = 0; f < r.length; ++f) {
|
|
654
|
-
const l = r[f], p = l.parent;
|
|
655
|
-
if (p) {
|
|
656
|
-
const g = p.children.indexOf(l);
|
|
657
|
-
g > -1 && (p.children.splice(g, 1), i === p && n > g && c[0]--);
|
|
658
|
-
}
|
|
659
|
-
l.parent = i, l.prev && (l.prev.next = (s = l.next) !== null && s !== void 0 ? s : null), l.next && (l.next.prev = (o = l.prev) !== null && o !== void 0 ? o : null), l.prev = f === 0 ? u : r[f - 1], l.next = f === r.length - 1 ? d : r[f + 1];
|
|
660
|
-
}
|
|
661
|
-
return u && (u.next = r[0]), d && (d.prev = r[r.length - 1]), t.splice(...c);
|
|
662
|
-
}
|
|
663
|
-
function Pn(t) {
|
|
664
|
-
return (y(t) ? t : this._make(t)).append(this), this;
|
|
665
|
-
}
|
|
666
|
-
function Un(t) {
|
|
667
|
-
return (y(t) ? t : this._make(t)).prepend(this), this;
|
|
668
|
-
}
|
|
669
|
-
const Dn = xt((t, n, e) => {
|
|
670
|
-
m(n, n.length, 0, t, e);
|
|
671
|
-
}), Nn = xt((t, n, e) => {
|
|
672
|
-
m(n, 0, 0, t, e);
|
|
673
|
-
});
|
|
674
|
-
function At(t) {
|
|
675
|
-
return function(n) {
|
|
676
|
-
const e = this.length - 1, r = this.parents().last();
|
|
677
|
-
for (let i = 0; i < this.length; i++) {
|
|
678
|
-
const s = this[i], o = typeof n == "function" ? n.call(s, i, s) : typeof n == "string" && !B(n) ? r.find(n).clone() : n, [c] = this._makeDomArray(o, i < e);
|
|
679
|
-
if (!c || !b(c))
|
|
680
|
-
continue;
|
|
681
|
-
let u = c, d = 0;
|
|
682
|
-
for (; d < u.children.length; ) {
|
|
683
|
-
const f = u.children[d];
|
|
684
|
-
a(f) ? (u = f, d = 0) : d++;
|
|
685
|
-
}
|
|
686
|
-
t(s, u, [c]);
|
|
687
|
-
}
|
|
688
|
-
return this;
|
|
689
|
-
};
|
|
690
|
-
}
|
|
691
|
-
const Cn = At((t, n, e) => {
|
|
692
|
-
const { parent: r } = t;
|
|
693
|
-
if (!r)
|
|
694
|
-
return;
|
|
695
|
-
const i = r.children, s = i.indexOf(t);
|
|
696
|
-
v([t], n), m(i, s, 0, e, r);
|
|
697
|
-
}), zn = At((t, n, e) => {
|
|
698
|
-
b(t) && (v(t.children, n), v(e, t));
|
|
699
|
-
});
|
|
700
|
-
function In(t) {
|
|
701
|
-
return this.parent(t).not("body").each((n, e) => {
|
|
702
|
-
this._make(e).replaceWith(e.children);
|
|
703
|
-
}), this;
|
|
704
|
-
}
|
|
705
|
-
function Rn(t) {
|
|
706
|
-
const n = this[0];
|
|
707
|
-
if (n) {
|
|
708
|
-
const e = this._make(typeof t == "function" ? t.call(n, 0, n) : t).insertBefore(n);
|
|
709
|
-
let r;
|
|
710
|
-
for (let s = 0; s < e.length; s++)
|
|
711
|
-
e[s].type === "tag" && (r = e[s]);
|
|
712
|
-
let i = 0;
|
|
713
|
-
for (; r && i < r.children.length; ) {
|
|
714
|
-
const s = r.children[i];
|
|
715
|
-
s.type === "tag" ? (r = s, i = 0) : i++;
|
|
716
|
-
}
|
|
717
|
-
r && this._make(r).append(this);
|
|
718
|
-
}
|
|
719
|
-
return this;
|
|
720
|
-
}
|
|
721
|
-
function Bn(...t) {
|
|
722
|
-
const n = this.length - 1;
|
|
723
|
-
return h(this, (e, r) => {
|
|
724
|
-
const { parent: i } = e;
|
|
725
|
-
if (!b(e) || !i)
|
|
726
|
-
return;
|
|
727
|
-
const s = i.children, o = s.indexOf(e);
|
|
728
|
-
if (o < 0)
|
|
729
|
-
return;
|
|
730
|
-
const c = typeof t[0] == "function" ? t[0].call(e, r, this._render(e.children)) : t, u = this._makeDomArray(c, r < n);
|
|
731
|
-
m(s, o + 1, 0, u, i);
|
|
732
|
-
});
|
|
733
|
-
}
|
|
734
|
-
function qn(t) {
|
|
735
|
-
typeof t == "string" && (t = this._make(t)), this.remove();
|
|
736
|
-
const n = [];
|
|
737
|
-
return this._makeDomArray(t).forEach((e) => {
|
|
738
|
-
const r = this.clone().toArray(), { parent: i } = e;
|
|
739
|
-
if (!i)
|
|
740
|
-
return;
|
|
741
|
-
const s = i.children, o = s.indexOf(e);
|
|
742
|
-
o < 0 || (m(s, o + 1, 0, r, i), n.push(...r));
|
|
743
|
-
}), this._make(n);
|
|
744
|
-
}
|
|
745
|
-
function Fn(...t) {
|
|
746
|
-
const n = this.length - 1;
|
|
747
|
-
return h(this, (e, r) => {
|
|
748
|
-
const { parent: i } = e;
|
|
749
|
-
if (!b(e) || !i)
|
|
750
|
-
return;
|
|
751
|
-
const s = i.children, o = s.indexOf(e);
|
|
752
|
-
if (o < 0)
|
|
753
|
-
return;
|
|
754
|
-
const c = typeof t[0] == "function" ? t[0].call(e, r, this._render(e.children)) : t, u = this._makeDomArray(c, r < n);
|
|
755
|
-
m(s, o, 0, u, i);
|
|
756
|
-
});
|
|
757
|
-
}
|
|
758
|
-
function Zn(t) {
|
|
759
|
-
const n = this._make(t);
|
|
760
|
-
this.remove();
|
|
761
|
-
const e = [];
|
|
762
|
-
return h(n, (r) => {
|
|
763
|
-
const i = this.clone().toArray(), { parent: s } = r;
|
|
764
|
-
if (!s)
|
|
765
|
-
return;
|
|
766
|
-
const o = s.children, c = o.indexOf(r);
|
|
767
|
-
c < 0 || (m(o, c, 0, i, s), e.push(...i));
|
|
768
|
-
}), this._make(e);
|
|
769
|
-
}
|
|
770
|
-
function Wn(t) {
|
|
771
|
-
const n = t ? this.filter(t) : this;
|
|
772
|
-
return h(n, (e) => {
|
|
773
|
-
ft(e), e.prev = e.next = e.parent = null;
|
|
774
|
-
}), this;
|
|
775
|
-
}
|
|
776
|
-
function Jn(t) {
|
|
777
|
-
return h(this, (n, e) => {
|
|
778
|
-
const { parent: r } = n;
|
|
779
|
-
if (!r)
|
|
780
|
-
return;
|
|
781
|
-
const i = r.children, s = typeof t == "function" ? t.call(n, e, n) : t, o = this._makeDomArray(s);
|
|
782
|
-
v(o, null);
|
|
783
|
-
const c = i.indexOf(n);
|
|
784
|
-
m(i, c, 1, o, r), o.includes(n) || (n.parent = n.prev = n.next = null);
|
|
785
|
-
});
|
|
786
|
-
}
|
|
787
|
-
function Gn() {
|
|
788
|
-
return h(this, (t) => {
|
|
789
|
-
b(t) && (t.children.forEach((n) => {
|
|
790
|
-
n.next = n.prev = n.parent = null;
|
|
791
|
-
}), t.children.length = 0);
|
|
792
|
-
});
|
|
793
|
-
}
|
|
794
|
-
function Kn(t) {
|
|
795
|
-
if (t === void 0) {
|
|
796
|
-
const n = this[0];
|
|
797
|
-
return !n || !b(n) ? null : this._render(n.children);
|
|
798
|
-
}
|
|
799
|
-
return h(this, (n) => {
|
|
800
|
-
if (!b(n))
|
|
801
|
-
return;
|
|
802
|
-
n.children.forEach((r) => {
|
|
803
|
-
r.next = r.prev = r.parent = null;
|
|
804
|
-
});
|
|
805
|
-
const e = y(t) ? t.toArray() : this._parse(`${t}`, this.options, !1, n).children;
|
|
806
|
-
v(e, n);
|
|
807
|
-
});
|
|
808
|
-
}
|
|
809
|
-
function Qn() {
|
|
810
|
-
return this._render(this);
|
|
811
|
-
}
|
|
812
|
-
function Xn(t) {
|
|
813
|
-
return t === void 0 ? O(this) : typeof t == "function" ? h(this, (n, e) => this._make(n).text(t.call(n, e, O([n])))) : h(this, (n) => {
|
|
814
|
-
if (!b(n))
|
|
815
|
-
return;
|
|
816
|
-
n.children.forEach((r) => {
|
|
817
|
-
r.next = r.prev = r.parent = null;
|
|
818
|
-
});
|
|
819
|
-
const e = new St(`${t}`);
|
|
820
|
-
v(e, n);
|
|
821
|
-
});
|
|
822
|
-
}
|
|
823
|
-
function Yn() {
|
|
824
|
-
return this._make(R(this.get()));
|
|
825
|
-
}
|
|
826
|
-
const Hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
827
|
-
__proto__: null,
|
|
828
|
-
_makeDomArray: En,
|
|
829
|
-
after: Bn,
|
|
830
|
-
append: Dn,
|
|
831
|
-
appendTo: Pn,
|
|
832
|
-
before: Fn,
|
|
833
|
-
clone: Yn,
|
|
834
|
-
empty: Gn,
|
|
835
|
-
html: Kn,
|
|
836
|
-
insertAfter: qn,
|
|
837
|
-
insertBefore: Zn,
|
|
838
|
-
prepend: Nn,
|
|
839
|
-
prependTo: Un,
|
|
840
|
-
remove: Wn,
|
|
841
|
-
replaceWith: Jn,
|
|
842
|
-
text: Xn,
|
|
843
|
-
toString: Qn,
|
|
844
|
-
unwrap: In,
|
|
845
|
-
wrap: Cn,
|
|
846
|
-
wrapAll: Rn,
|
|
847
|
-
wrapInner: zn
|
|
848
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
849
|
-
function Vn(t, n) {
|
|
850
|
-
if (t != null && n != null || // When `prop` is a "plain" object
|
|
851
|
-
typeof t == "object" && !Array.isArray(t))
|
|
852
|
-
return h(this, (e, r) => {
|
|
853
|
-
a(e) && vt(e, t, n, r);
|
|
854
|
-
});
|
|
855
|
-
if (this.length !== 0)
|
|
856
|
-
return kt(this[0], t);
|
|
857
|
-
}
|
|
858
|
-
function vt(t, n, e, r) {
|
|
859
|
-
if (typeof n == "string") {
|
|
860
|
-
const i = kt(t), s = typeof e == "function" ? e.call(t, r, i[n]) : e;
|
|
861
|
-
s === "" ? delete i[n] : s != null && (i[n] = s), t.attribs.style = te(i);
|
|
862
|
-
} else typeof n == "object" && Object.keys(n).forEach((i, s) => {
|
|
863
|
-
vt(t, i, n[i], s);
|
|
864
|
-
});
|
|
865
|
-
}
|
|
866
|
-
function kt(t, n) {
|
|
867
|
-
if (!t || !a(t))
|
|
868
|
-
return;
|
|
869
|
-
const e = ne(t.attribs.style);
|
|
870
|
-
if (typeof n == "string")
|
|
871
|
-
return e[n];
|
|
872
|
-
if (Array.isArray(n)) {
|
|
873
|
-
const r = {};
|
|
874
|
-
return n.forEach((i) => {
|
|
875
|
-
e[i] != null && (r[i] = e[i]);
|
|
876
|
-
}), r;
|
|
877
|
-
}
|
|
878
|
-
return e;
|
|
879
|
-
}
|
|
880
|
-
function te(t) {
|
|
881
|
-
return Object.keys(t).reduce((n, e) => `${n}${n ? " " : ""}${e}: ${t[e]};`, "");
|
|
882
|
-
}
|
|
883
|
-
function ne(t) {
|
|
884
|
-
if (t = (t || "").trim(), !t)
|
|
885
|
-
return {};
|
|
886
|
-
const n = {};
|
|
887
|
-
let e;
|
|
888
|
-
for (const r of t.split(";")) {
|
|
889
|
-
const i = r.indexOf(":");
|
|
890
|
-
if (i < 1 || i === r.length - 1) {
|
|
891
|
-
const s = r.trimEnd();
|
|
892
|
-
s.length > 0 && e !== void 0 && (n[e] += `;${s}`);
|
|
893
|
-
} else
|
|
894
|
-
e = r.slice(0, i).trim(), n[e] = r.slice(i + 1).trim();
|
|
895
|
-
}
|
|
896
|
-
return n;
|
|
897
|
-
}
|
|
898
|
-
const ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
899
|
-
__proto__: null,
|
|
900
|
-
css: Vn
|
|
901
|
-
}, Symbol.toStringTag, { value: "Module" })), it = "input,select,textarea,keygen", re = /%20/g, st = /\r?\n/g;
|
|
902
|
-
function ie() {
|
|
903
|
-
return this.serializeArray().map((e) => `${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("&").replace(re, "+");
|
|
904
|
-
}
|
|
905
|
-
function se() {
|
|
906
|
-
return this.map((t, n) => {
|
|
907
|
-
const e = this._make(n);
|
|
908
|
-
return a(n) && n.name === "form" ? e.find(it).toArray() : e.filter(it).toArray();
|
|
909
|
-
}).filter(
|
|
910
|
-
// Verify elements have a name (`attr.name`) and are not disabled (`:enabled`)
|
|
911
|
-
'[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))'
|
|
912
|
-
// Convert each of the elements to its value(s)
|
|
913
|
-
).map((t, n) => {
|
|
914
|
-
var e;
|
|
915
|
-
const r = this._make(n), i = r.attr("name"), s = (e = r.val()) !== null && e !== void 0 ? e : "";
|
|
916
|
-
return Array.isArray(s) ? s.map((o) => (
|
|
917
|
-
/*
|
|
918
|
-
* We trim replace any line endings (e.g. `\r` or `\r\n` with `\r\n`) to guarantee consistency across platforms
|
|
919
|
-
* These can occur inside of `<textarea>'s`
|
|
920
|
-
*/
|
|
921
|
-
{ name: i, value: o.replace(st, `\r
|
|
922
|
-
`) }
|
|
923
|
-
)) : { name: i, value: s.replace(st, `\r
|
|
924
|
-
`) };
|
|
925
|
-
}).toArray();
|
|
926
|
-
}
|
|
927
|
-
const oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
928
|
-
__proto__: null,
|
|
929
|
-
serialize: ie,
|
|
930
|
-
serializeArray: se
|
|
931
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
932
|
-
class L {
|
|
933
|
-
/**
|
|
934
|
-
* Instance of cheerio. Methods are specified in the modules. Usage of this
|
|
935
|
-
* constructor is not recommended. Please use `$.load` instead.
|
|
936
|
-
*
|
|
937
|
-
* @private
|
|
938
|
-
* @param elements - The new selection.
|
|
939
|
-
* @param root - Sets the root node.
|
|
940
|
-
* @param options - Options for the instance.
|
|
941
|
-
*/
|
|
942
|
-
constructor(n, e, r) {
|
|
943
|
-
if (this.length = 0, this.options = r, this._root = e, n) {
|
|
944
|
-
for (let i = 0; i < n.length; i++)
|
|
945
|
-
this[i] = n[i];
|
|
946
|
-
this.length = n.length;
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
L.prototype.cheerio = "[cheerio object]";
|
|
951
|
-
L.prototype.splice = Array.prototype.splice;
|
|
952
|
-
L.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator];
|
|
953
|
-
Object.assign(L.prototype, Yt, Tn, Hn, ee, oe);
|
|
954
|
-
function ce(t, n) {
|
|
955
|
-
return function e(r, i, s = !0) {
|
|
956
|
-
if (r == null)
|
|
957
|
-
throw new Error("cheerio.load() expects a string");
|
|
958
|
-
const o = { ...q, ...I(i) }, c = t(r, o, s, null);
|
|
959
|
-
class u extends L {
|
|
960
|
-
_make(l, p) {
|
|
961
|
-
const x = d(l, p);
|
|
962
|
-
return x.prevObject = this, x;
|
|
963
|
-
}
|
|
964
|
-
_parse(l, p, x, g) {
|
|
965
|
-
return t(l, p, x, g);
|
|
966
|
-
}
|
|
967
|
-
_render(l) {
|
|
968
|
-
return n(l, this.options);
|
|
969
|
-
}
|
|
970
|
-
}
|
|
971
|
-
function d(f, l, p = c, x) {
|
|
972
|
-
if (f && y(f))
|
|
973
|
-
return f;
|
|
974
|
-
const g = {
|
|
975
|
-
...o,
|
|
976
|
-
...I(x)
|
|
977
|
-
}, D = typeof p == "string" ? [t(p, g, !1, null)] : "length" in p ? p : [p], _ = y(D) ? D : new u(D, null, g);
|
|
978
|
-
if (_._root = _, !f)
|
|
979
|
-
return new u(void 0, _, g);
|
|
980
|
-
const K = typeof f == "string" && B(f) ? (
|
|
981
|
-
// $(<html>)
|
|
982
|
-
t(f, g, !1, null).children
|
|
983
|
-
) : ue(f) ? (
|
|
984
|
-
// $(dom)
|
|
985
|
-
[f]
|
|
986
|
-
) : Array.isArray(f) ? (
|
|
987
|
-
// $([dom])
|
|
988
|
-
f
|
|
989
|
-
) : void 0, Q = new u(K, _, g);
|
|
990
|
-
if (K)
|
|
991
|
-
return Q;
|
|
992
|
-
if (typeof f != "string")
|
|
993
|
-
throw new Error("Unexpected type of selector");
|
|
994
|
-
let N = f;
|
|
995
|
-
const X = l ? typeof l == "string" ? B(l) ? (
|
|
996
|
-
// $('li', '<ul>...</ul>')
|
|
997
|
-
new u([t(l, g, !1, null)], _, g)
|
|
998
|
-
) : (
|
|
999
|
-
// $('li', 'ul')
|
|
1000
|
-
(N = `${l} ${N}`, _)
|
|
1001
|
-
) : y(l) ? (
|
|
1002
|
-
// $('li', $)
|
|
1003
|
-
l
|
|
1004
|
-
) : (
|
|
1005
|
-
// $('li', node), $('li', [nodes])
|
|
1006
|
-
new u(Array.isArray(l) ? l : [l], _, g)
|
|
1007
|
-
) : (
|
|
1008
|
-
// If we don't have a context, maybe we have a root, from loading
|
|
1009
|
-
_
|
|
1010
|
-
);
|
|
1011
|
-
return X ? X.find(N) : Q;
|
|
1012
|
-
}
|
|
1013
|
-
return Object.assign(d, Bt, {
|
|
1014
|
-
load: e,
|
|
1015
|
-
// `_root` and `_options` are used in static methods.
|
|
1016
|
-
_root: c,
|
|
1017
|
-
_options: o,
|
|
1018
|
-
// Add `fn` for plugins
|
|
1019
|
-
fn: u.prototype,
|
|
1020
|
-
// Add the prototype here to maintain `instanceof` behavior.
|
|
1021
|
-
prototype: u.prototype
|
|
1022
|
-
}), d;
|
|
1023
|
-
};
|
|
1024
|
-
}
|
|
1025
|
-
function ue(t) {
|
|
1026
|
-
return !!t.name || t.type === "root" || t.type === "text" || t.type === "comment";
|
|
1027
|
-
}
|
|
1028
|
-
function fe(t, n, e, r) {
|
|
1029
|
-
const i = {
|
|
1030
|
-
scriptingEnabled: typeof n.scriptingEnabled == "boolean" ? n.scriptingEnabled : !0,
|
|
1031
|
-
treeAdapter: dt,
|
|
1032
|
-
sourceCodeLocationInfo: n.sourceCodeLocationInfo
|
|
1033
|
-
};
|
|
1034
|
-
return e ? Lt(t, i) : Et(r, t, i);
|
|
1035
|
-
}
|
|
1036
|
-
const le = { treeAdapter: dt };
|
|
1037
|
-
function ae(t) {
|
|
1038
|
-
const n = "length" in t ? t : [t];
|
|
1039
|
-
for (let r = 0; r < n.length; r += 1) {
|
|
1040
|
-
const i = n[r];
|
|
1041
|
-
$(i) && Array.prototype.splice.call(n, r, 1, ...i.children);
|
|
1042
|
-
}
|
|
1043
|
-
let e = "";
|
|
1044
|
-
for (let r = 0; r < n.length; r += 1) {
|
|
1045
|
-
const i = n[r];
|
|
1046
|
-
e += Tt(i, le);
|
|
1047
|
-
}
|
|
1048
|
-
return e;
|
|
1049
|
-
}
|
|
1050
|
-
const he = Ln((t, n, e, r) => n.xmlMode || n._useHtmlParser2 ? Ut(t, n) : fe(t, n, e, r)), de = ce(he, (t, n) => n.xmlMode || n._useHtmlParser2 ? Pt(t, n) : ae(t)), Ae = de([]);
|
|
1051
|
-
export {
|
|
1052
|
-
Ae as c
|
|
1053
|
-
};
|